Q1.all the depts which has more then 10 empls?
Q2.all the dept which does not have any emply?
Q3 all the emp which does not have any dept?
Q4 get all the emply detais with the dept details it dept is
exit otherwise any emp details?
Q5 how to debugg the dynamic sql and packages?











Answer Posted / ajit

ANS - 2
select d.deptno, dname, loc
from emp e, dept d
where e.deptno(+) = d.deptno
and e.deptno is null;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What can sql server reporting services do?

578


What is auto increment?

580


What is rank () in sql?

529


How many functions are there in sql?

535


What is trigger in flip flop?

516






How can we make an if statement within a select statement?

539


What is sp_helptext?

589


What is data type in sql?

554


Why we use triggers in mysql?

557


What is #table in sql?

519


Explain the advantages and disadvantages of stored procedure?

643


What is the difference between distinct and unique in sql?

468


What are functions in sql?

507


what is recursive stored procedure? : Sql dba

524


What is cursor in pl sql with examples?

479