sql 查询某字段不重复的全部记录:

select  * from table where fid in(Select min(fid) FROM table group by name)

05-11 14:37