I'm starting SQL for a database course and looking for a good book, notes, or website. How can I learn the basics without just following tutorials forever?
How can I learn SQL without getting stuck in tutorials?
Answers
CS50 SQL is one option for a structured start. Once you've covered the basics, switch to SQLZoo for drills rather than immediately starting another course. Try writing a query before looking at any hints, then revisit the lessons only when you get stuck.
Reply to this answer
If you prefer learning from a book, take a look at the second edition of Head First SQL. A book can give you a path through the fundamentals without having to keep choosing the next tutorial.
Reply to this answer
After the fundamentals, try SQL Practice Problems from DataDriven as a way to work through actual problems. Give each one a real attempt before checking the solution. If you hit a gap, review that specific concept and then come back to the problem.
Reply to this answer
Check what your database course actually covers, too. SQL queries may be only part of it. Normalization and ER diagrams can come up separately, so a query practice site won't necessarily cover everything you need.
Use your course assignments to see where the gaps are, and work through older ones if they're available to you.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions