Delete the emps whose salaries are lowest sals of their own
dept.
Answer Posted / roopesh kumar
delete from emp where (deptno,nvl(comm,0)) in (select
deptno,min(nvl(comm,0)) from emp
group by deptno)
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What is coalesce in sql?
What is sql not null constraint?
What is data manipulation language?
What is procedure function?
Does mysql_real_escape_string prevent sql injection?
What is the unique index?
What are the two types of exceptions in pl/sql?
What is sql and explain its components?
What is a variable in sql?
what is sql profiler? : Sql dba
What is the default isolation level in sql server? : Transact sql
what is the difference between union and union all? : Sql dba
What is cursor in pl sql?
how can I make a script that can be bi-language (supports english, german)? : Sql dba
how tsql statements can be written and submitted to the database engine? : Transact sql