MCQs > IT & Programming > LAMP > Check the structure of the following tables: Employee --------- Empno Employeename Salary Deptno Department --------- Deptno Departname Mike wants to see the departments that have more than 100 employees. Which querie return the required result?

LAMP MCQs

Check the structure of the following tables:

Employee
---------
Empno
Employeename
Salary
Deptno

Department
---------
Deptno
Departname

Mike wants to see the departments that have more than 100 employees. Which of the following queries returns the required result?

Answer

Correct Answer: Select departname from department where deptno in (select deptnofrom employee group by deptno having count(*) > 100);

Explanation:

Note: This Question is unanswered, help us to find answer for this one

LAMP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

LAMP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it