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.
At which confluence does the Pindar River meet the Alaknanda River?
To enter Tibet from Uttarakhand for the Kailash Mansarovar pilgrimage, which pass must be crossed?
Which of the following statements are correct regarding Himalayan Mountain range?
1. The Shiwalik formations are absent in Arunachal Himalayas.
Which one of the following pairs of islands is separated from each other by the ‘Ten Degree Channel’?
 Which of the following is/are the features of wet tropical evergreen vegetation?
1. Dense Forest with thick spread of grass.
2. Low vege...
Sink hole is the Phenomenon of which type of topography?
Consider the following statements:
1. The duration of the monsoon decreases from southern India to northern India.
2. The amount of annual...
Consider the following rivers:Â
1. Barak
2. LohitÂ
3. Subansiri
Which of the above flows/flow through Arunachal Pradesh?
It is the largest dam of India by volume. It is also largest artificial lake in India. It is constructed on one of the tributaries of Ganga. The above i...
Which country recently banned gender transitions for minors in 2025?