adspace
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
Can we use distinct and group by together?
what are the advantages of sql ? : Sql dba
how to escape special characters in sql statements? : Sql dba
Can delete statement be rollbacked?
what is dbms? : Sql dba
Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me
What is the current version of sql?
what is bcp? When does it used? : Sql dba
define sql insert statement ? : Sql dba
What is the current version of postgresql?
Is primary key clustered index?
What is your daily office routine?
what are aggregate and scalar functions? : Sql dba
what is collation? : Sql dba
how to start mysql server? : Sql dba