>
SQL
Programming
Senior SQL Test
Advanced SQL test: 7 query-writing tasks and 3 theory questions on CTEs, RANK with ties, full-coverage queries and percentages by department.
Difficulty
Hard
10
questions
English
About this test
Candidates write seven queries on employee, department and education level tables, and the results are checked automatically. Theory questions cover Common Table Expressions, how RANK handles ties and which queries find departments that cover every education level.
It is the most demanding of the three SQL tests, after Junior SQL Test and Mid-Level SQL Test.
What it measures
How CTEs work
How RANK treats ties
Finding departments that have employees with every education level
Returning departments that employ people from several education levels
Averaging salary per city when several departments share a city
Computing the percentage of employees in a department
Ideal for
Senior data analysts and analytics engineers
Backend developers working with complex reporting queries
Hires who own the data layer
Details
Programming
Difficulty
Hard
SQL
English
10
questions
Average duration:
0
min
20
times completed