Try this problem in the playground
The sample tables will be auto-loaded — write a query and run it instantly.
Given an Employee table, write a query to return the second highest salary. If there is no second highest salary, return NULL.
The playground will create these tables and populate them automatically when you click "Open Playground" above:
Multiple approaches — try each and understand the trade-offs.