Lurker News
I 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

ing33k1 reply#
Others have posted some really good resources. I paticularly like Periscope Data's blog ( ex : https://www.periscopedata.com/blog/effective-revenue-chart.h... ) , they have covered a wide range of topics. Get a public dataset and start querying for unique insights.

I would also encourage you to learn a bit of Relational Algera if you really want to improve your mental model.

curun1r#
> learn a bit of Relational Algera [sic]

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.