← All resources
Resources · SQL · Mid

SQL,
mid level.

For 2–5 years. Every join without thinking, subqueries and CTEs (including recursive), the query classics interviews reuse, an intro to window functions, and views/CASE. Tick a topic once you can write it live.

5Modules
Mid2–5 years
22Questions

1All the joins

0/4

Mid SQL means every join type without thinking, including self-joins and the execution order.

Join fluency

2Subqueries & CTEs

0/4

How you keep a non-trivial query readable under pressure.

Compose queries

3Query classics — likely live

0/6

The queries interviews reuse over and over. Be able to write each without hesitation.

Write these cold

LeetCode #182 — then #196 for delete.

4Window functions (intro)

0/3

The line between junior and mid. "Top N per group" is the signature use.

The essentials

5Views & conditional logic

0/3

Structuring reusable queries and expressing branching cleanly.

Structure & branch

Mid bar = joins, CTEs, the classics, and intro windows · keep it readable under pressure. All links open in a new tab.