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.
SQL
SQL Quiz
Start Quiz

or Read more about SQL Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback