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

What is pl sql and why it is used for?

1099


Does view store data in sql?

947


How to write a single statement that concatenates the words ?hello? And ?world? And assign it in a variable named greeting?

1074


What is nvarchar max in sql?

995


Is primary key is clustered index?

986


What is plpgsql language?

1037


What do you understand by exception handling in pl/sql?

1012


How does pl sql work?

950


Difference between global and parameter variables?

1950


Is sql low level language?

1004


What is the difference between drop and truncate commands?

1046


Can a table have no primary key?

1038


What is t sql used for?

1005


How do I turn a list into a table?

947


What is rowid in sql?

964