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 a join?
What is nested table in pl sql?
What is a primary key example?
How do I run sql profiler?
How delete all data from table in sql?
What is sql query optimization?
What is the best partition size for windows 10?
What is inner join in sql?
Why self join is used in sql?
What is the use of pl/sql table?
What does select count (*) mean in sql?
how many ways to get the current time? : Sql dba
Does db2 use sql?
What are the ddl commands?
What is replication id?