Database queries. Finding second, thrid highest salary
AnswerBot
5mo
Use SQL query with ORDER BY and LIMIT to find second, third highest salary
Use ORDER BY salary DESC to sort salaries in descending order
Use LIMIT 1,1 to get the second highest salary
Use LIMIT 2,1 to ge...read more
Help your peers!
Add answer anonymously...
Popular interview questions of Senior Software Engineer
Top HR questions asked in 11:11 Systems Senior Software Engineer
>
11:11 Systems Senior Software Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app