Prove your SQL skills
Most people who list SQL can write a SELECT. Fewer can explain why a join duplicated rows or why a query got slow. Lemma records that difference through live query sessions and an adaptive assessment.
Preparing for an interview? SQL interview questions, junior to senior
What SQL competence looks like
A competent SQL practitioner starts by understanding the grain of each table. Before writing a join they ask what one row represents, so they notice when a join will fan out and inflate a total. They handle NULLs deliberately and test a query against cases where the answer is known.
They write queries other people can follow, using CTEs to name intermediate steps and window functions instead of tangled self-joins. When a query is slow, they read the execution plan, check which indexes are used and change the query or the index rather than guessing. They know when a transaction or a constraint should protect the data.
Writing queries on an unfamiliar schema
60 min · Learning · with Noah B.
Noah B. rated the session
Practitioner · after the call
Clear reasoning on joins and table grain. Talked through trade-offs first.
Joins and table grain
Inner, outer and anti joins, and spotting fan-out before it silently inflates results.
Aggregation and grouping
GROUP BY, HAVING and conditional aggregation, with correct handling of NULLs and duplicates.
Window functions
Ranking, running totals and comparisons across rows without self-joins or subquery sprawl.
CTEs and readability
Breaking a long query into named steps that reviewers can check one at a time.
Indexes and query plans
Reading execution plans, choosing indexes and rewriting queries that scan more than they need.
Schema and integrity
Keys, constraints, normalisation trade-offs and transactions that keep data consistent.
What counts as evidence of SQL skills?
In SQL, a polished result can hide a shaky method. Lemma records the evidence behind the method: sessions where someone followed your reasoning, an adaptive test and the repositories you link, notebooks included. Each source is listed below. See the evidence methodology for how each source is weighed.
SQL
Lucia F. · SCI recomputed 9 Oct
Evidence · 4 entries
- Rated 5.0
Writing queries on an unfamiliar schema
Live session · 9 Oct
- Level 7.2
Adaptive SQL scenario questions
Adaptive assessment · 2 Oct
- Verified
Queries and migrations on GitHub
GitHub connector · 24 Sep
- Practice
Window function practice
AI tutor practice · 11 Sep
Writing queries on an unfamiliar schema
A practitioner gives you a schema and a business question. You explore the tables, write the query and explain your assumptions about grain and NULLs while they watch and rate the session.
Adaptive SQL scenario questions
Multiple-choice questions test joins, grouping and window functions. Some show a query, such as a join that double counts, and ask you to pick the correct diagnosis. Harder questions count for more.
Queries and migrations on GitHub
Connect a repository with analytics models, migrations or a reporting project. Lemma checks that the repository exists and that your account has access to it.
Window function practice
AI tutor drills on ranking, partitions and frames build speed before a live session. They count as practice, adding only a small, capped amount to your score.
How is an SQL skills test run on Lemma?
The SQL test asks 15 to 25 questions and moves up or down a level with each answer, focusing on judgement calls such as leakage, skew and bad joins. It feeds your SQL SCI together with sessions and linked work, and the score weighs how fresh that evidence is.
Revenue doubles after joining orders to shipments. What is the most likely cause?
- AOrders with two shipments repeat each row
- BGROUP BY is missing a column
- CLEFT JOIN drops unmatched rows
- DSUM ignores NULL values
Practise with targeted drills
The AI tutor sets SQL exercises that adapt to you, from joins to window frames, and remembers what you covered. Drills prepare you; they contribute only a small, capped amount to your practice score.
Query live with a practitioner
In one-to-one sessions you answer real questions against a schema, explain your logic and tune a slow query. The practitioner's rating is recorded as SQL evidence after the session.
Pass the SQL assessment
Scenario questions get harder or easier based on your answers. Some show a query with a wrong result and ask you to spot why. You cannot revisit answers, and failed attempts slightly lower your proof score.
SQL skills: common questions
How do I prove my SQL skills for a data analyst job?
What does an SQL skills test usually check?
Does it matter which SQL dialect I use?
How do interviewers tell basic SQL from advanced SQL?
Skills related to SQL
Browse the skills directoryData analysis
Evidence of how you frame questions, clean data and reach conclusions a decision-maker can rely on.
Evidence for data analysisData engineering
Evidence that your pipelines are reliable, testable and recoverable, reviewed by practitioners in live sessions.
Evidence for data engineeringPython
Show how you write, debug and structure Python, not just that you once finished a course.
Evidence for PythonStart your SQL evidence record.
Lemma is in early access. Request an invite and we will email you when your place is ready.




