हिंदी

Consider the given SQL Query: SELECT department, COUNT(*) FROM employees HAVING COUNT(*) > 5 GROUP BY department; Saanvi is executing the query but not getting the correct output. Write the correction - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Consider the given SQL Query:

SELECT department, COUNT(*) FROM employees HAVING COUNT(*) > 5 GROUP BY department;

Saanvi is executing the query but not getting the correct output. Write the correction.

अति संक्षिप्त उत्तर
Advertisements

उत्तर

SELECT department, COUNT(*) FROM employees GROUP BY department HAVING COUNT(*) > 5;

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2025-2026 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×