engineering computer science MCQ #766

What is the result of the SQL query 'SELECT MAX(salary) FROM employees;'?

engineering computer science MCQ #766

  1. Question 1

    Q1. What is the result of the SQL query 'SELECT MAX(salary) FROM employees;'?

    • A) Minimum salary
    • B) Maximum salary
    • C) Average salary
    • D) Total salary

    Answer: Maximum salary

    Explanation: The SQL query uses the MAX() function to retrieve the maximum salary from the employees table.