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 particular
fields(columns) in different tables

Answer Posted / satyam kumar

Hi,

I have manipulated Khandu Shinde answer because it will
delete complete row.

delete from emp where rowid not in ( select max(rowid) from
emp group by empno having count(redundantcolumnName) > 1)

Note: work only with Oracle.

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the file extension accdb stand for?

1012


What is pessimistic concurrency control? : Transact sql

1132


How many unique keys can a table have?

1066


What are the most important characteristics of pl/sql?

1224


What is difference between my sql and sql?

1135


What are the different dml commands in sql?

1246


How can I change database name in sql?

1156


What is union and union all keyword in sql?

1109


what are the different type of sql's statements ? : Sql dba

974


Can you inner join the same table?

1036


Why is pl sql used?

1026


Explian rowid, rownum? What are the psoducolumns we have?

1045


What is identity column in sql server?

1100


Why use subqueries instead of joins?

1133


Why is sql better than hql?

1062