write a query to delete similar records in same table
Answer Posted / bcaramu
delete from employee
where (empid, empssn)
not in
( select min(empid), empssn
from employee group by empssn);
| Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
Can we use pl sql in sql server?
Is sql a scripting language?
what are null values? : Sql dba
What is nvarchar max in sql?
What is the difference between a database and a relational database?
What is sql clause?
Is left join faster than inner join?
how to see the create table statement of an existing table? : Sql dba
How do you rename a table in sql?
Can we call a function containing dml statements in a select query?
How can you create an empty table from an existing table?
How do I kill a query in postgresql?
Is null operator in sql?
Is left join inner or outer?
Why use truncate instead of delete?