There is a big table with "n" of rows and 40 + columns .It
doesn't have primary key.How do you select the primary key.
In other words how do you get the duplicate records.

Answer Posted / nithin

Hi
I could possibly think of only one solution without using
group by clause.

create table emp_bkp as select distinct * from employee
drop table employee
rename emp_bkp to employee

Let me know if there is any other possible answer

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain temporal data types in oracle

814


What is analyze command used for?

802


What is sharded cluster?

715


How do I learn what codesets are available in oracle?

784


In XIR2 if we lost the administration password .How can we regain the password?thanks in advance.

1663


What is a data dictionary and how can it be created?

825


how to code performance tuning of oracle PL/SQL? can any body send me the perfect answer?

5039


How to set a transaction to be read only in oracle?

830


What is materialized view in Oracle?

833


What is rowid and rownum in oracle?

769


What is dynamic proxy?

769


How to add a new column to an existing table with a default value?

771


How do I recompile a procedure in oracle?

716


What is background process in Oracle?

843


What is java oracle used for?

770