我有一个名为的表格tags
。Column
名字是id,tag_name
。我想group by
通过使用tag_name
。
看起来像这样,
{ beauty,general-health,pregnency } as health
。
什么是sql查询?
做一个子查询
select...
from (
select { beauty,general-health,pregnency } as health
from table) t
group by health
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句