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 sql in mysql? : Sql dba

1175


Is primary key a clustered index?

958


How delete all records from table in sql?

958


What is partition by in sql?

1048


what are the limitations of identity column? : Transact sql

1087


What is schema in sql example?

1154


What are the different parts of a package?

1099


What is a function in oracle pl sql?

1014


What are all the ddl commands?

1169


What is the difference between pl and sql?

1076


Can we use pl sql in sql server?

1061


Is left join and outer join same?

1043


How can you create an empty table from an existing table?

1057


what are the types of subquery? : Sql dba

1087


Explain the advantages and disadvantages of stored procedure?

1129