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 / ramya pisharody
Ans-1:
SELECT DEPTNO, COUNT(*) FROM EMP
GROUP BY DEPTNO
HAVING COUNT(*)>10;
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is trigger types in sql?
What is sql table?
What is the difference between alter trigger and drop trigger statements?
What is before trigger?
If the application is running very slow? At what points you need to go about the database in order to improve the performance?
What are all different types of collation sensitivity?
Explain sql data types?
what is normalization? : Sql dba
What is sharding in sql?
What is sql*loader?
how to increment dates by 1 in mysql? : Sql dba
Can we insert in sql function?
What is foreign key in sql with example?
What is the difference between microsoft sql and mysql?
What is nvarchar in sql?