Question
Which of the following query will return the
third-highest salary from an Employee table in SQL?Solution
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.
If f(0) = 3, f(1) = 5, f(3) = 21, then the unique polynomial of degree 2 or less using Newton divided difference interpolation will be:
Find the equation of the plane with intercept 3 on the y-axis and parallel to ZOX plane.
Ina circle with centre O, AD is a diameter and AC is a chord. B is a point on AC, such that OB = 5 cm and ∠ OBA = 600 If ∠ DOC = 60...
PA and PB are two tangents from a point P outside the circle with centre O. If A and B are points on the circle such ∠APB = 128°, then ∠OAB ...
The sides AB and AC of ∆ ABC are produced to points D and E, respectively. The bisectors of ∠ CBD and ∠ BCE meet at P If A = 720 then ...
Given the sides of a triangle as 3.4 cm and 5.2 cm, what can be the length of the third side (x) in cm?
For what value of do the simultaneous equations 2x+3y=1, 4x+6y = λ have infinite solutions?

In a ∆ ABC, the bisectors of ∠ B and ∠ C meet at O. If ∠ BOC = 142°, then the measure of ∠ A is
