22,209
社区成员
发帖
与我相关
我的任务
分享
select a,b,count(b) as x from [T] where a='0'
group by a,b
having count(b)>=1
order by count(b)
select a,b,count(b) as x from [T] where a='0'
group by a,b
having count(b)>=1
order by count(b)
select a,b,count(b) as x from [T] where a='0'
group by a,b
having count(b)>=1 order by x
select * from (select a,b,count(b) as x from [T] where a='0'
group by a,b
having count(b)>=1) c order by x