Cover of SQL antipatterns

SQL antipatterns

by Bill Karwin · first published 2010

43mentions
31recommended by
37HN commenters
2010–2025first – last mentioned

84% recommend14% neutral3% critical

Why HN recommends it

Easy-to-read tour of common database design and query mistakes. Each chapter shows the naive approach, why it fails, and a better one (EAV, trees, polymorphic associations). Suits those past SQL basics.

Summarised by Claude from recommending comments

Affiliate links. As an Amazon Associate I earn from qualifying purchases.

Mentions per year

80 2007: 0 mentions2008: 0 mentions2009: 0 mentions2010: 1 mention2011: 1 mention2012: 1 mention2013: 1 mention2014: 3 mentions2015: 1 mention2016: 4 mentions2017: 3 mentions2018: 4 mentions2019: 1 mention2020: 8 mentions2021: 7 mentions2022: 3 mentions2023: 2 mentions2024: 1 mention2025: 1 mention2026: 0 mentions200720172026

What Hacker News says

Keyboard shortcuts

/
Focus search
j / k
Next / previous book
Enter
Open focused book
Esc
Close / go back
g h
Go to Home
g t
Go to Top all-time
g m
Go to Most recommended
g r
Go to Rising
g f
Go to For You
?
Show this help