Ask HN: What is the best online resource to learn advanced SQL?
448 pointsI too often find myself getting stuck when it comes to more advanced SQL queries. I have never actively learnt SQL and realise that I don't have a great mental model of how it works. I would like to improve this as it is killing my productivity from time to time.
Comments (97) 45 threads
Show all comments
Showing thread 30 of 45
I would also encourage you to learn a bit of Relational Algera if you really want to improve your mental model.
This. SQL is just a tool for expressing your thinking and learning it doesn't help you to problem solve. The theory, both relational algebra and set theory, will teach you how to think about the problems, not how to express your thinking. That's what's necessary to solve difficult SQL problems.