adspace
Delete the emps whose salaries are lowest sals of their own
dept.
Answer Posted / divya chaudhry
delete from emp where (depno,nvl2(sal,sal,0)) in ( select
depno,min(nvl2(sal,sal,0)) from emp group by depno )
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
what are the advantages of sql ? : Sql dba
Is primary key always clustered index?
Is inner join faster than left join?
what is collation? : Sql dba
Can delete statement be rollbacked?
What is the current version of postgresql?
What is the current version of sql?
what is sql server agent? : Sql dba
What is the best sql course?
how to start mysql server? : Sql dba
what are all the common sql function? : Sql dba
Do we need to rebuild index after truncate?
how to use regular expression in pattern match conditions? : Sql dba
what is dbms? : Sql dba
What is your daily office routine?