Examveda
Examveda

Which SQL keyword is used to retrieve a maximum value?

A. TOP

B. MOST

C. UPPER

D. MAX

Answer: Option D

Solution(By Examveda Team)

MAX function is used to get the maximum value from a column. To get the maximum salary drawn by an employee, the query would be:
SELECT MAX (salary) FROM employee;

Join The Discussion

Related Questions on Sql Miscellaneous