sql问题,请 上次回答的zjcxc(邹建)等入!
http://expert.csdn.net/Expert/topic/2365/2365279.xml?temp=.7292292
如果我的表中还有一个c列,我还要加个限定条件,例如c=1,如何加?
select * from tablea aa
where (select sum(1) from tablea where a=aa.a)>1 and b=1) or (select sum(1) from tablea where a=aa.a)=1