天天看點

mysql 去重查詢

去重查詢可以查尋某個表中,某個字段的類别數量和種類

select count(DISTINCT field_name from) tb_name 

select DISTINCT field_name from tb_name 

繼續閱讀