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

write a query to delete similar records in same table

Answer Posted / swapna

One way is to rename the original table to something else,
and copy the unique records into the original table.

rename 'Table2', 'Table1'

select distinct * into Table2 from Table1

drop table1

Is This Answer Correct ?    5 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the benefits of pl/sql packages?

1053


What are the disadvantages of not performing database normalization?

1119


what tools available for managing mysql server? : Sql dba

1030


What is bulk compiling in pl/sql.?

1084


What is sql injection vulnerability?

887


How many sql are there?

936


What is nosql vs sql?

1130


What is procedure explain with example?

910


which operator is used in query for pattern matching? : Sql dba

965


How do I kill a query in postgresql?

1030


How do I order columns in sql?

931


Is natural join and inner join same?

878


what are the difference between clustered and a non-clustered index? : Sql dba

995


What are the ddl commands?

972


Can we use loop in sql?

939