Delete the emps whose salaries are lowest sals of their own
dept.
Answer Posted / raji_4u
DELETE FROM EMP E1
WHERE E1.SAL =
(SELECT MIN(SAL) FROM EMP E2
WHERE E1.DEPTNO = E2.DEPTNO
)
| Is This Answer Correct ? | 15 Yes | 3 No |
Post New Answer View All Answers
Is sql scripting language?
How to write html code in pl sql?
What is scalar and vector?
Explain the uses of database trigger.
What is left join example?
How delete all data from table in sql?
What are all the different normalization?
What is a sql schema used for?
Where the sql database files are stored?
How to get list of all tables from a database?
What are the two types of cursors in pl sql?
How to fetch values from testtable1 that are not in testtable2 without using not keyword?
What is mutating trigger?
What is form and report?
What is the usage of nvl function?