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 a string to a date in oracle database?

539


What is a table in oracle?

533


How to experiment a data lock in oracle?

590


What are nested tables?

663


How to view existing locks on the database?

539






Is oracle a relational database?

512


How to test null values?

668


How to store pictures on to the database?

520


Explain what are the different type of segments?

572


How to define a variable of a specific record type?

601


Explain the blob datatype?

610


How to use "for" statements in oracle?

585


Does oracle partitioning improve performance?

542


How to define a data source name (dsn) in odbc manager?

521


What is bind variable in oracle 11g?

582