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

How to convert csv to table in oracle?

526


What is data file?

618


Explain self joins in oracle?

560


What is transport network substrate (tns) in oracle?

587


How to execute a stored procedure in oracle?

618






What is a table index in oracle?

632


What is difference between truncate and delete?

561


What are the extensions used by oracle reports?

571


How do we get field detail of a table?

624


Please explain drop constraint oracle?

627


How to resolve name conflicts between variables and columns?

567


What are the four Oracle system processes that must always be up and running for the database to be useable?

591


What is the difference between a primary key & a unique key?

590


What is the difference between pre-select and pre-query?

621


How to connect to a remote server?

556