हिंदी

Consider the following SQL. SELECT ______ FROM Employee WHERE Dept= 'Printing'; Which of the following should be used to find the mean of the salary? -

Advertisements
Advertisements

प्रश्न

Consider the following SQL.

SELECT ______ FROM Employee WHERE Dept= 'Printing';

Which of the following should be used to find the mean of the salary?

विकल्प

  • Mean(Salary) 

  • Avg(Salary)

  • Sum(Salary) 

  • Count(Salary)

MCQ
रिक्त स्थान भरें

उत्तर

Avg(Salary)

Explanation:

The AVG() function returns the average value of a numeric column. AVG() Syntax. SELECT AVG(column_name) FROM table_name. WHERE condition;.

shaalaa.com
SQL for Data Query
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×