← SAP questions

SQL Join for second highest salary and Selection Sort

Filed under SAP

Write a SQL query to find the employee ID and department name of the person with the second highest salary using a JOIN. Additionally, implement the Selection Sort algorithm to sort an array of…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related SAP questions

Collected from public candidate posts and coding forums. Updated Nov 2026.