Start learning 50% faster. Sign in now
To get the third-highest salary, the query SELECT salary FROM Employee ORDER BY salary DESC LIMIT 1 OFFSET 2; fetches the salary value after skipping the top two highest salaries. The outer query ensures that we only get the third-highest salary. Why Other Options are Wrong: a) Incorrect usage of LIMIT; it should be OFFSET 2 instead of LIMIT 2, 1. b) This would return multiple rows or result in an error. c) DISTINCT is unnecessary and could result in wrong data if multiple employees have the same salary. e) This query would return the first three salaries in ascending order, not the third-highest.
A Punjab farmer wants to grow 4 crops in a year, the most suitable crop rotation is
Which organelle is responsible for the synthesis of glycoproteins and glycolipids
Stenospermocarpy refers to
Among the following irrigation systems, which is most efficient and economical?
Agricultural Education Day is celebrated on
Organic carbon is a measure of!
When two well developed breeds are crossed alternatively is knowns as ?
Major gases in soil are N₂, O₂, and _____.
Who among the following has the power to appoint Food Safety Officer having prescribed qualifications?