← Deutsche Bank questions

Query Nth highest salary in MySQL and Oracle

Filed under Deutsche Bank

The question

Write an SQL query to retrieve the Nth highest value from a database table, and explain what syntax changes are needed when migrating between MySQL and Oracle.

No write-up yet. Related questions below have one.

Related Deutsche Bank questions

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