English

Keshav has written the following query to find out the sum of bonus earned by the employees of WEST zone: SELECT zone, TOTAL (bonus) FROM employee HAVING zone = ‘WEST’; But he got an error. - Informatics Practices

Advertisements
Advertisements

Question

Keshav has written the following query to find out the sum of bonus earned by the employees of WEST zone:

SELECT zone, TOTAL (bonus) FROM employee HAVING zone = 'WEST';

But he got an error. Identify the errors and rewrite the query by underlining the correction(s) done. 

One Line Answer

Solution

Select Sum(Bonus) from employee where zone = 'WEST';

shaalaa.com
  Is there an error in this question or solution?
2022-2023 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×