Saturday, June 18, 2011

How to get duplicate rows from the table ?

Select empno, count (*) from EMP group by empno having count (*)>1;

No comments:

Post a Comment