Start learning 50% faster. Sign in now
Explanation: This query groups employee data by the department column and calculates the count of employees for each department using COUNT(employee_id) . The HAVING clause filters groups to include only those with a count greater than 5. The HAVING clause is specifically used for filtering after applying aggregate functions, unlike WHERE , which filters rows before aggregation. This query is commonly used in scenarios like resource allocation, workforce analysis, and performance reporting. Option A: The query does not display individual employee details, only aggregated department data. Option B: HAVING is valid with aggregate functions, provided it follows GROUP BY . Option D: This interpretation mixes individual and aggregated data, which is not possible here. Option E: The HAVING clause explicitly filters results, so this option is incorrect.
RRB came into the existence in the year _______.
Given below are two statements, one is labelled as Assertion A and the other is labelled as Reason R
Maize is generally not grown in
Which pest's larvae, affecting Sorghum crops, cut the growing points and lead to dead-hearts in the plant?
In rodents canines are not found instead a gap is present, what is the gap called?
What causes puffy fruit in tomatoes ?
The initial codons are
According to five kingdom classification, bacteria belong to kingdom
What is a characteristic of terminal markets?