MySQL 查询

去重查询

SELECT DISTINCT(field) AS field FROM table;

只能查询一个字段,多个字段使用 GROUP BY