mysql 根据某个字段去掉重复的记录 xiaomogui · 2009-12-01 23:29 · mysql · Markdown 数据格式如图所示. 假如每个年龄我们只取一条记录。 select *, count(distinct age) from person group by age