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...

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 do I spool in oracle?

939


Illustrate how to determine the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris).

2246


Differentiate between function and procedure in oracle.

1018


Difference between the “verify” and “feedback” command?

1308


Briefly explain what is literal? Give an example where it can be used?

973


How to join two tables in a single query using oracle?

929


What is analyze command used for?

1009


How to specify default values in insert statement using oracle?

1034


How to assign a table row to a record variable?

966


What happens to the data files if a tablespace is dropped?

994


Explain what are the advantages of views?

1013


What is meant by raw datatype?

1003


How do we get field detail of a table?

1020


Is java required for oracle client?

923


How will you identify oracle database software release?

942