去重查询可以查寻某个表中,某个字段的类别数量和种类 select count(DISTINCT field_name from) tb_name select DISTINCT field_name from tb_name