去评论
dz插件网

如何用sql语句查询表中某列不重复的所有项 group by

xiao9469
2022/03/04 14:50:25
如果是 选择不重复列.

[SQL]  
  1. select * from table b inner join (select a from table group by a having count(a)=1) as c on b.a=c.a



反向
select distinct a from 表