在MySQL中,用DISTINCT(去重)关键字去重
select Ssex from Student;
比如在Student表中,查询性别如下
若想要只显示该列的非重复项,则用到distinct
select distinct Ssex from Student;
标签:显示,distinct,Ssex,Student,Mysql,select From: https://www.cnblogs.com/RuoranBG/p/17156961.html
在MySQL中,用DISTINCT(去重)关键字去重
select Ssex from Student;
比如在Student表中,查询性别如下
若想要只显示该列的非重复项,则用到distinct
select distinct Ssex from Student;
标签:显示,distinct,Ssex,Student,Mysql,select From: https://www.cnblogs.com/RuoranBG/p/17156961.html