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 is the largest value that can be stored in a byte data field?

713


how to dump a table to a file with 'mysqldump'? : Sql dba

741


Can a table have no primary key?

776


what are date and time intervals? : Sql dba

767


What is $$ in sql?

728






How is debugging done?

725


What are the parts of a sql statement?

767


What sql database should I use?

790


How does one load ebcdic data? : aql loader

835


Is trigger a stored procedure?

702


What is the usage of when clause in trigger?

761


Why do we use %rowtype & %type in plsql?

786


what is bcp? When does it used? : Sql dba

708


Why having clause is used in sql?

726


Can we insert data into view?

682