The Querynomicon by “Mad Arab” Abdul Alhazred or Greg Wilson. Your pick.
https://gvwilson.github.io/sql-tutorial/