What Is The Significance Of The Statement Having Count Empidgt2 #1102

What is the significance of the statement “HAVING COUNT (emp_id)>2” in the following MySQL statement?</p> <pre><code class="language-sql"> SELECT d.name, count (emp_id) emp_no FROM department d INNER JOIN Employee e ON d.dept_id=e.emp_id GROUP BY d.name HAVING COUNT (emp_id)>2 </code></pre>

Online Quiz This multiple choice question (MCQ) is related to the book/course gs gs113 MySQL. It can also be found in gs gs113 Select Statement - The group by and having Clause - Quiz No.1.

What is the significance of the statement “HAVING COUNT (emp_id)>2” in the following MySQL statement?

 SELECT d.name, count (emp_id) emp_no FROM department d INNER JOIN Employee e ON d.dept_id=e.emp_id GROUP BY d.name HAVING COUNT (emp_id)>2 

Similar question(s) are as followings:



Online Quizzes of gs113 MySQL

Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background