write sub query for eliminating duplicate rows using
analytical function?
Answer Posted / korimantu
delete from table name where rowid not in(select max(rowid)
from group by last_name);
or
delete from table name where rowid>(select min(rowid) from
where a.last_name=b.last_name);
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
what is 'mysqldump'? : Sql dba
What is a field in a database?
What is percent sign in sql?
Can we create clustered index without primary key?
Does sql view stored data?
What program will open a mdb file?
What are the datatypes available in pl/sql ?
what is the difference between primary key and unique key? : Sql dba
how to create a new view in mysql? : Sql dba
Does sap use sql?
What is where clause in sql?
What is the difference between pl and sql?
What is bitemporal narrowing?
What is pl/sql table? Why it is used?
What are the ddl commands?