Skip to main content

KnowEase.AI · 12 modules

SQL & Databases Interview Prep
Test & Track Your Readiness

SQL from basics to advanced — joins, CTEs, window functions, indexing, query optimization, and database design for real-world systems.. Adaptive checks with dimension-level scoring — not just a quiz, but a readiness signal.

7 engineers have tested this topic on KnowEase.AI

All modules

Joins & Relationships

Beginner

INNER, LEFT, RIGHT, FULL OUTER, SELF joins — and the fan-out trap that catches everyone

inner joinleft joinouter joinself join
~2hTest this →

Aggregations & Grouping

Beginner

GROUP BY, HAVING, COUNT/SUM/AVG with NULLs, and conditional aggregation patterns

group byhavingcountsum
~2hTest this →

Window Functions

Intermediate

ROW_NUMBER, RANK, DENSE_RANK, LAG, LEAD, running totals, and the LAST_VALUE frame gotcha

row_numberrankdense_ranklag
~3h1 tests · avg 78/100

CTEs & Recursive Queries

Intermediate

WITH clause, recursive CTEs for hierarchies, and the PostgreSQL optimization fence trap

ctewithrecursivehierarchy
~2h3 tests · avg 72/100

Subqueries & EXISTS

Intermediate

Correlated vs uncorrelated subqueries, NOT IN with NULLs, EXISTS vs IN performance, LATERAL joins

subqueryexistsinnot in
~2hTest this →

Indexes & Access Patterns

Intermediate

B-tree internals, composite index left-prefix rule, covering indexes, functional indexes, write overhead

b-treeindexcomposite indexcovering index
~3hTest this →

Query Optimization

Intermediate

EXPLAIN ANALYZE, N+1 queries, cursor vs offset pagination, hash join vs nested loop

explainquery plann+1pagination
~3hTest this →

Schema Design & Normalization

Intermediate

1NF–3NF, intentional denormalization, soft deletes with partial indexes, table partitioning

normalizationdenormalization1nf2nf
~2h2 tests · avg 100/100

Transactions & Concurrency

Intermediate

ACID, isolation levels, dirty/phantom reads, deadlock prevention, SELECT FOR UPDATE, optimistic locking

acidtransactionisolationread committed
~3h1 tests · avg 100/100

Set Operations

Beginner

UNION vs UNION ALL performance, INTERSECT for overlap, EXCEPT for difference, ORDER BY rules

unionunion allintersectexcept
~1hTest this →

NULL Handling

Beginner

Three-valued logic, NULL = NULL trap, COALESCE, NULLIF, aggregate functions silently ignoring NULLs

nullis nullcoalescenullif
~1hTest this →

String & Date Functions

Beginner

DATE_TRUNC, index-hostile function wrapping, STRING_AGG, TIMESTAMPTZ vs TIMESTAMP timezone bugs

date_truncextractstring_aggconcat
~2hTest this →

Frequently asked questions

What topics does the SQL & Databases roadmap cover?
The roadmap covers 12 modules including Joins & Relationships, Aggregations & Grouping, Window Functions, CTEs & Recursive Queries, and more. Each module has a scored readiness check with AI feedback.
Is it free to start?
Yes. The first 2 modules are free forever — no credit card needed. Premium unlocks all modules and unlimited checks.
How is this different from reading blog posts or watching videos?
KnowEase measures your readiness rather than just delivering content. You take a check, get scored by dimension, see where you're weak, and get targeted practice — all in one loop.
How long does it take to complete the roadmap?
The SQL & Databases roadmap is designed for 26 hours of focused study. Most engineers complete it in 3–4 weeks of consistent practice.
Do I get a certificate when I finish?
Yes. Completing all modules generates a shareable Certificate of Completion you can add to LinkedIn or share with recruiters.

Ready to test your knowledge?

Free to start. No credit card required.

Start for free →