My answer are select * from T T1 where exists(select A from T where A=T1.A group by A having count(1)>1); or
select * from T T1 where exists(select A from T group by A having count(1)>1 and A=T1.A);
cyt(会飞的鹿)
But what's the difference?
(#261114@0) Last Updated: 2001-11-14 This post has been archived. It cannot be replied.