query to get Highest 2nd salary in the table
AnswerBot
1y
Use a subquery to find the second highest salary in the table.
Use a subquery to select all salaries that are less than the maximum salary in the table.
Then select the maximum salary from the results o...read more
Help your peers!
Add answer anonymously...
Popular interview questions of SQL Developer
Top HR questions asked in Labcorp SQL Developer
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