r/learnprogramming • u/xao_spaces • May 15 '26
Request: resources for Advanced Databases
Does anyone have resources for advanced databases? I took a course in university but it was subpar or the teaching style didn't match my learning style. Basically, we were given SQL problems but never given the answers or any feedback to the homework so it was hard to figure out what I did wrong specifically.
When I took the prereq. course, the way the professor set up the assignments was to give us the problems sets along with the query output. It didn't always mean that we had the correct SQL query, even if the output was identical, but learning that way really helped me think critically and correct my mistake because I could compare my output and adjust my query accordingly.
If anyone has any resources (websites, courses, books) I'd appreciate it, thanks!
View all comments
2
u/Suspicious_Coat3244 May 15 '26
Honestly that "no feedback on homework" would have drove me nuts too. SQL is a subject where small errors can drastically change your logic, so getting to see the expected output would have really built your intuition.
Some other resources that are actually useful rather than just dumps of theory:
With that said, I'd strongly suggest that while "SQL syntax" is an important part of studying, once you're done with that you need to actually learn about databases themselves. When do databases do weird things? What makes a database fast? Normalization trade-offs? Transactions, locking, isolation, query planning, execution plans. This sort of knowledge is what elevates you from being "someone who can write a query" to someone who actually "knows databases".
Additionally, install Postgres locally and start experimenting with your own queries instead of only using web-based playgrounds. It took me far too long to figure out that experimenting directly in a broken real database taught me a lot faster than web-based exercises did.