Delete the emps whose salaries are lowest sals of their own
dept.

Answer Posted / nagendra

delete from emp where sal in (select min(sal) from emp group
by deptno)

Is This Answer Correct ?    7 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between local and global temporary table?

752


How do you update sql?

710


What is the difference between a primary key and a clustered index?

697


Explain two easy sql optimizations.

769


What does 0 mean in sql?

694






Can we commit in trigger?

699


What is recursive join in sql?

752


Differences between Oracle 9i and 10g (Probably in terms of SQL and PL/SQL)?

3308


give the syntax of grant and revoke commands? : Sql dba

800


What is dense_rank?

697


What is a schema sql?

742


What is the starting oracle error number?

753


What is difference between table and view?

706


Why query optimization is needed?

680


What is blind sql injection?

755