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
What is trigger explain it?
Can you select everything, but 1 or 2 fields, without writer's cramp?
How do I start sql from command line?
What is posting?
What is scalar data type in pl sql?
what is the difference between truncate and drop statements? : Sql dba
Why stored procedures are faster than query?
What is inner join in sql?
What are local and global Indexes and where they are useful.
How many sql commands are there?
What is the execution plan in sql?
What is pl sql in oracle?
What is substitution variable?
what are the security recommendations while using mysql? : Sql dba
What is the sql query to display the current date?