标签: mysql sql
如果我有一张类似
我想要
我应该写什么查询
答案 0 :(得分:2)
select id,min(name) from mytable group by id
编辑:
select min(name) from mytable group by id