Is the following query logically correct:

SELECT EMP_NAME, SUM(SAL) FROM EMPLOYEE;
Explanation
GROUP BY should be used if we want to calculate aggregate function values.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
SQL quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes