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

Can we enter data in a table in design view?

910


Suppose a student column has two columns, name and marks. How to get name and marks of the top three students.

952


How does a self join work?

986


What are the advantages of indexing?

926


explain advantages of myisam over innodb? : Sql dba

1014


What is sqlca in powerbuilder?

953


What is database sql?

976


what are the maximum number of rows that can be constructed by inserting rows directly in value list? : Transact sql

897


What are the key differences between SQL and PL SQL?

1146


What is a unique key and primary key and foreign key?

914


What is trigger in sql? Explain

938


How to call a javascript function from pl sql?

1064


What is sql procedures and functions?

953


I need a function for a train ticket reservation please answer it thanks in advance

957


Explain autonomous transaction.

1091