Free courses in AI, Data Science & Machine Learning Written lessons · Quizzes · Final exams
Future Data Academy
Log inGet started ↗
← Practice labSQLITE · FREE · RUNS ON YOUR DEVICE

Top two salary bands

Return department and name for top two distinct known salary bands per department, retaining ties. Order by department,name.

Loading the SQL engine…

Queries run locally, with an eight-second execution limit and a 500-row result limit. Signed-in learners can save exercise queries to their academy account. Practice results never change course grades or certificates.