Delete duplicate records in the emp table.
Answer Posted / smriti
delete from tablename a where a.rowid>(select min(rowid)
from tablename b where a.columnname=b.columnname)
Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is query execution plan in sql?
Do triggers have restrictions on the usage of large datatypes, such as long and long raw?
how to shut down the server with 'mysqladmin'? : Sql dba
What is a natural join sql?
what is recursive stored procedure? : Sql dba
What are different types of statements supported by sql?
what are tables and fields? : Sql dba
What does where 1/2 mean in sql?
What is multiple columns?
how to create a new view in mysql? : Sql dba
how to get a list of all tables in a database? : Sql dba
What is data manipulation language?
what is msql? : Sql dba
Sql technical questions
what is the difference between join and union? : Sql dba