Found in 2 comments on Hacker News
macando · 2021-04-14 · Original thread
https://www.amazon.com/Modeling-Essentials-Third-Graeme-Sims...

My favorite. Not an easy read, it took me weeks to complete it.

https://www.amazon.com/Date-Database-Writings-2000-2006-Chri...

Relatively unknown but great book if you want to read the thoughts of a DB heavyweight Christopher Date who collaborated with Edgar Codd.

https://www.amazon.com/NoSQL-Distilled-Emerging-Polyglot-Per...

The best book to start exploring the land outside the relational world. An easy read, can be completed in two to three days.

davidmathers · 2008-07-16 · Original thread
It's tricky because most database writing is about SQL and OLTP and other practical things, but studying those things without first understanding the basic concepts of set theory and predicate logic is kind of like studying C and pointers without first learning about computer hardware. If you learn about pointers first they're confusing, but if you learn about hardware first they're obvious.

Ted Codd's big idea is fairly simple: "we can store data in logical, rather than physical, structures and then use logic statements, rather than algorithms, to retrieve the data."

Wikipedia can often end being more confusing than enlightening but the "informal introduction" on this page is a place to start:

http://en.wikipedia.org/wiki/Relation_(mathematics)

Here's a page I just found about predicate/first-order logic:

http://www.rbjones.com/rbjpub/logic/log019.htm

This book by Chris Date covers a lot of basic relational database ideas, but his writing is a bit tedious:

http://www.amazon.com/dp/159059746X

After that the main mental challenge is just learning to think in sets. Joe Celko has some writings specifically about that in his various books.

After that, the best book I've seen for SQL and practical issues is The Art of SQL:

http://oreilly.com/catalog/9780596008949/

Hope that helps. There's a lot of really bad writing about relational databases out there.

Fresh book recommendations delivered straight to your inbox every Thursday.