Examine the description of the EMPLOYEES table:
Which two queries return the highest salary in the table?
Examine the description of the EMPLOYEES table:
Which two queries return the highest salary in the table?
To find the highest salary in the EMPLOYEES table, you should use queries that directly target the maximum salary. Option D achieves this by simply selecting the maximum salary from the entire table, which is straightforward and correct. Option E, despite seeming unusual with its use of MAX(MAX(salary)), is also correct because it effectively groups the data first and then applies the MAX function again to ensure the highest value is retrieved from those groups. This method ensures that the absolute highest salary across all departments is returned.
DE is correct
how is it not C & D? E doesn't make sense?
DE tested
DE are correct answers
D and E is correct. A produce an error B and C select highest salary based on department D and E select highest salary in the table
I think DE is correct.
DE is correct answer. Tested
I have tested DE is correct.
DE is the correct answer
E is wrong, you cant have Max(Max) an aggregate of aggregate Maybe B,C,E are correct but A,E are wrong
I mean B,C,D are correct