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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / krish
1)select deptno,count(*)
from emp having count(*)=0 group by deptno;
2)select deptno,count(*)
from emp having count(*)>10 group by deptno;
3)select empname from emp where deptno is null;
4)select emp.deptno,emp.ename,dept.deptno,dept.dname
from emp,dept
where emp.deptno=dept.deptno(+);
Is This Answer Correct ? | 2 Yes | 6 No |
What is a nested table in word?
using comand prompt how can import table data and table space with example
Mention what does plvtab enables you to do when you showthe contents of pl/sql tables?
What are the string functions in sql?
Difference between a query and strored procedure?
How do you optimize a query?
What are the different ddl commands in sql?
What are the 3 types of behavioral triggers?
Are dml statements autocommit?
How do I restart sql?
What are Nested Tables? How will u delete 5 rows from Nested Tables
What does count (*) mean?