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 / valli

delete from emp where rowid in(
select rowid from (
select emp_no, sal,rownum() over (emp_no,sal) as
Rownum from emp order_by emp_no,sal
) where rownum > 2
)

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is application trigger?

990


What is sequence in sql?

997


What is the cause of mutating table error and how can we solve it?

1047


What are the conditions an underlying table must satisfy before a cursor can be used by a positioned update or delete statement? : Transact sql

1000


Name the different types of indexes in sql and define them.

1144


how to select unique records from a table? : Sql dba

1109


what are the advantages a stored procedure? : Sql dba

973


Can you have a foreign key without a primary key?

951


Does group by remove duplicates?

1035


What is the difference between subquery and correlated query?

1057


How would you reference column values before and after you have inserted and deleted triggers?

1063


Can I call a procedure inside a function?

1004


define join and explain different type of joins? : Sql dba

948


What are the different parts of a package?

1108


what are properties of a transaction? : Sql dba

1091