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

How to remove duplicate rows from a table?.

Answer Posted / lova raju allumalla

delete from emp where rowid not in (select min(rowid) from
emp group by empno);

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why functions are used in sql?

985


How to revise and re-run the last sql command?

1159


Explain commit, rollback and savepoint.

989


Can a select statement fire a trigger?

1152


Why self join is used in sql?

968


What are the different operators available in sql?

997


How do I delete a trigger?

959


How does postgresql compare to "nosql"?

1028


What is difference between left and right outer join?

981


what is “go” in t-sql? : Transact sql

1102


What are actual parameters and formal parameters?

1101


What is constant in pl sql?

1012


Name three sql operations that perform a sort.

999


How many subqueries can be nested in a statement?

978


What is a record in a database?

1056