Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Need a sql query: retrive all duplicate records in table

Answer Posted / kusum

For duplicate records retrieval::::

Select * from employee a where rrn(employee) > (select
min(rrn(employee)) from employee b where a.empno = b.empno)

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2942


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

1146


What is the difference between iter and do?

1149


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

1985


are there any useful c runtime apis that I can call from rpg iv?

1114


explain sflclr, sflend, sfldlt, and sflcsrrrn?

1297


how do I play {insert rpg system here}?

977


how does the rpg element work?

1132


how can I tell when to replace the array?

1152


what are the key words you must use when using a subfile?

1098


What is ment by record level identifier?

1085


which program rpg or cl is efficent to update a transaction onto a database file and why ?

1192


When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

896


What is the difference between copybooks and subprocedures in as400?

1305


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1653