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...

Delete duplicate records in the emp table.

Answer Posted / ch. nageswar subudhi

For delete the DUPLICATE RECORD from Table by using this
Query:

DELETE FROM EMP E
WHERE E.ROWID <>(SELECT MIN(ROWID) FROM EMP E2 WHERE
E.EMP_NO=E2.EMPNO);

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I debug a stored procedure?

1161


How can I delete duplicate rows?

1061


Why use stored procedures?

1140


what is a database lock ? : Sql dba

1222


What is self-join and what is the requirement of self-join?

1190


How does one use sql*loader to load images, sound clips and documents? : aql loader

1233


How sql query is executed?

1185


Can we rollback truncate?

1049


what is bcp? When does it used? : Sql dba

1028


Can you have more than one key in a database?

988


Can a table contain multiple foreign key’s?

1049


What does the sign mean in sql?

1047


When sql appeared?

1146


Is join and inner join the same?

1039


What does the hierarchical profiler does?

1124