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 to get unique records from a table?

960


What is a sql profiler?

1021


How do you select unique values in sql?

997


Why trigger is used in sql?

966


What are the disadvantages of not performing database normalization?

1158


How do I edit a stored procedure?

989


What is the order of sql select?

1041


What are the operators in sql?

1025


What are different types of tables in sql?

996


How does join work in sql?

1007


what is data control language? : Sql dba

1024


How do I start sql from command line?

1021


what are enums used for in mysql? : Sql dba

1169


What is pl sql quora?

1143


what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba

1032