# shawlu95/Beyond-LeetCode-SQL

Analysis of SQL Leetcode and classic interview questions, common pitfalls, anti-patterns and handy tricks. Sample databases.

Repository: https://github.com/shawlu95/Beyond-LeetCode-SQL
Canonical: https://ross.abutalabs.com/products/beyond-leetcode-sql
Language: Jupyter Notebook
License: MIT
License Family: permissive
Last push: 2023-05-22T08:39:29+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2741, "days_push": 1199, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1244, forks 478 (observed 2026-08-28T04:04:06.923900+00:00)

## What it is
A collection of Jupyter Notebook analyses of SQL LeetCode and classic interview questions, covering pitfalls, anti-patterns, optimization tradeoffs, and database design concepts like indexing and joins. It includes curated solutions in MySQL and MS SQL along with sample databases for practice.

## Use cases
- prepare for SQL interview questions
- practice hard LeetCode SQL problems with explanations
- learn window functions and self-joins through worked examples
- understand common SQL anti-patterns and pitfalls
- get sample databases to practice tricky queries
- study SQL performance optimization versus development efficiency

## When to choose
- you are preparing for data or analytics engineering interviews with SQL questions
- you want in-depth explanations beyond LeetCode's official solutions
- you need realistic sample databases to practice advanced SQL concepts

## When to avoid
- you need a beginner tutorial covering basic SQL syntax
- you want an interactive judge or automated grading of solutions
- you need a maintained course with structured lessons rather than notebook collections

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: database, developer-tools
- domain: databases, education, tutorials
- platform: python
- tags: sql, interview-preparation, leetcode, jupyter-notebooks, mysql, sample-databases

## Member repositories
- shawlu95/Beyond-LeetCode-SQL (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:06.923900+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:08:16.862652+00:00, confidence not recorded.
  - readme: https://github.com/shawlu95/Beyond-LeetCode-SQL (fetched 2026-08-28T04:04:06.923900+00:00, sha 16218025297a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
