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
What will you get by the cursor attribute sql%rowcount?
Suppose a student column has two columns, name and marks. How to get name and marks of the top three students.
What is sqlerrd?
How do you modify a trigger?
How to convert comma separated string to array in pl/sql?
What is clause in sql?
What is t-sql? : Transact sql
How do I remove sql developer from windows 10?
What is an oracle stored procedure?
How many triggers can be applied on a table?
What is query optimization in sql?
What is the importance of sqlcode and sqlerrm?
Why stored procedure is better than query?
what is bcp? When does it used? : Sql dba
Does user triggers have entry for trigger with compilation errors?