Found in 4 comments on Hacker News
tomhallett · 2022-03-08 · Original thread
I highly recommend the book "SQL Performance Explained" by Markus Winand:
mgaffney · 2019-12-02 · Original thread
I haven't read the book but it has 5 stars with 19 reviews on Amazon.
boshomi · 2019-02-15 · Original thread
@MarkusWindand: Thank you for the Websites [1],[2],[3] and the book »SQL Performance Explained«[4].





adamnemecek · 2017-01-19 · Original thread
If this tickles you fancy, you should check out this site or a book by the same author

He goes into great detail to explain how exactly SQL indices work and how to leverage this to write queries.

Fresh book recommendations delivered straight to your inbox every Thursday.