how to delete all duplicate records from a table using
subquery?
Answer Posted / sunil
delete emp where empno not in(select distinct empno from emp);
For example we have duplicates in empno column then write
query like above...whatever column u want u can write..
| Is This Answer Correct ? | 0 Yes | 11 No |
Post New Answer View All Answers
Explain the types of exception?
Explain constraining triggers.
How to check the server version in oracle?
How to start an oracle instance?
What privilege is needed for a user to delete rows from tables in another schema?
what is Single Byte Overhead...?
How to connect asp pages to oracle servers?
How to insert a record into a table?
What is the data type of dual table?
What is meant by joins?
How to write a left outer join with the where clause in oracle?
How to save query output to a local file?
I have some query regarding Report generation from Oracle Apps "PO module". I have to generate a report where table columns are as below: Vendor_name Invoice No PO Number Item_Quantity Value of Goods Date of Shipping Name_of_the_transport Date_of_receipt_issued. Now my questions is :from which table/column I can get the information of "Name_of_the_transport" column. Thanks in advance.
How to view the tablespaces in the current database?
Is oracle a language?