SQL case · Free
Practice SQL interview cases
A SQL interview case starts with a business question and a database schema. You need to decide the output grain, join or filter the right rows, and return the shape the question requests.
AceStack AI · Updated
Who this round is for
Use this round when a Backend, Full-stack, or data-focused interview asks you to reason over tables rather than recite SQL syntax.
Available in Free
What you can do now
AceStack AI provides a SQL case workspace with the published schema, query editor, execution results, and submission review. You can inspect public Free prompts before signing in; running the query requires an account.

What you produce
Your executable query and returned rows are the artifact. Database errors and result shape show what to fix before submitting the final query.
What the review looks for
Check the requested columns and grain, joins, nulls, duplicates, and whether the output matches the question. For larger cases, explain where the query could become expensive.
How the bar changes by level
Junior
Return the requested rows and columns with the right filters.
Middle
Protect the result grain against duplicate and missing data.
Senior+
Explain correctness and performance trade-offs, including how to verify a query at scale.
From the public task catalog
Example: Open backlog by priority
Count currently open tickets by priority using the published schema.
Define what counts as open before grouping. Then check that each priority’s count includes exactly the qualifying tickets.
More practice tasks
Start this practice
Open a case, write down the output grain, run the query, and compare its rows with the task request.
Browse SQL case tasksBrowsing is public. Running and submitting a task requires sign-in.
Continue your preparation
- Compare all interview stages
- Build a path for your role
- Build a preparation plan
- Technical screening
- Algorithm coding
- Platform coding
Interview formats vary by employer. For examples of role-related technical questions, coding, and testing expectations, see Microsoft Careers. For why structured questions use explicit criteria, see Google re:Work.