write a query to delete similar records in same table
Answer Posted / nirmalendu
delete from table_name where rowid not in(select min(rowid)
from table_name group by column_name);
** column_name which having duplicate record
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
what is cursor. write example of it. What are the attributes of cursor.
Can we use having without group by in sql?
What is t sql used for?
What is normalisation in sql?
What does cursor do in sql?
when is the use of update_statistics command? : Sql dba
What language is oracle sql developer?
Is left join faster than inner join?
Which is better join or inner query?
What are the different dml commands in sql?
What is multiple columns?
what is the command line end user interface - mysql? : Sql dba
What is view? Can we update view
how to drop an existing view in mysql? : Sql dba
What are all the ddl commands?