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 / ramkiran

select emp.deptno,emp.ename,dept.deptno,dept.dname from
emp,dept
where emp.deptno(+) = dept.deptno
order by 1

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the primary key?

616


Can we commit inside a trigger?

638


What is a boolean in sql?

617


Which nosql database is best?

590


How do you truncate?

579






How many types of keys are there in sql?

663


What are the different types of triggers?

672


what is meant by urlencode and urldocode? : Sql dba

675


hi,i plan to put experience on PLSQL ,can anyone suggest me for any institutes in bangalore or how to prepare for interviews

1613


When a dml statement is executed, in which cursor attributes, the outcome of the statement is saved?

739


What is the use of partition by in sql?

614


Is sql better than excel?

596


What is the difference between count 1 and count (*) in a sql query?

584


Can %notfound return null after a fetch?

677


Does google use sql?

598