Start learning 50% faster. Sign in now
This query correctly retrieves the second-highest salary by first finding the maximum salary and then searching for the maximum salary that is less than the first maximum. The subquery (SELECT MAX(Salary) FROM Employee) retrieves the highest salary, and the main query finds the maximum salary that is smaller than that value, effectively returning the second-highest salary. This method ensures that the second-highest salary is retrieved by eliminating the highest salary and then finding the next largest value. Why Other Options Are Incorrect:
Which of the following communities observes the Lai-Haroba festival?
Scheme of Local Area Bank was announced in 1990
The National Payments Corporation of India (NPCI) reported how much revenue from payment services in FY24?
Recently IAF test-fires extended-range BrahMos from _______?
Who had won the Best Actor Award at the 68th NAtional film Awards, 2022 held in New Delhi?
Which bank wins the right to repossess and sell the businessman Vijaya Mallya luxurious house in London?
Where is the Srisailam Dam located in India?
What is the maximum limit for gold investing in a Sovereign Gold Bond Scheme by a trust?
Which is the largest uranium producing country in the world?
Which gland disapear during old age?