I have table-A(1,2,3,4,4,5,6,6,6,7).
how to get all duplicate values?what is sql query?

Answer Posted / a.brahmam

delete from table name
where rowid not in(select max(rowid) from table name group by column name)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to view existing locks on the database?

770


In oracle there is column command, how will you explain that?

724


what happened to the global index when I truncate the data in one of the partition?

1714


Explain the dml?

765


query optmization techniques and quwry analyser+projects+ppts

2142


Is truncate autocommit in oracle?

838


What is define in oracle?

797


What is oracle used for?

748


What is execute immediate in oracle?

725


How to display employee records who gets more salary than the average salary in the department?

804


Is oracle the best database?

705


What are oracle functions?

765


What are the execution control statements?

819


Iam learning oracle developer 2000.. can anyone give me then tutorials sites or PDF related to developer 2000 please send me the details @ mak2786@gmail.com thanks Arun

1867


What is null value in oracle?

830