Ask HN: Good books/resources for learning SQL?

Recommendations from 3 sampled comments out of 3 eligible comments. This page covers the sample, rather than the entire HN thread.

1 book

runjake · Jun 4, 2026
I thought Practical SQL was very good at explaining both the how and the why with practical real-world examples.