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

with [dup_cte] as {
select row_number(partition by eid order by eid) as rn from emp}
go
delete from [dup_cte] where rn>1

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the three pl sql block types?

1005


What is secondary key?

932


What is an ndf file?

987


What is rank () in sql?

933


what are the differences between char and nchar? : Sql dba

1113


What is the purpose of my sql?

943


What do we need to check in database testing?

1015


What is a primary key? Explain

970


what is recursive stored procedure? : Sql dba

982


What is difference between inner join and cross join?

963


which types of join is used in sql widely? : Sql dba

978


Explain the difference between cursor declared in procedures and cursors declared in the package specification?

1145


Is clustered index a primary key?

945


Is pl sql a scripting language?

1026


what are the advantages of sql ? : Sql dba

1054