HACKER Q&A
📣 shreyassood

What's the fastest way to learn SQL?


I recently joined a startup and I didn't realize how much I would need to be able to write off-the-cuff queries to debug stuff. I came from a massive company where running adhoc queries was basically a giant no-no and never really got familiar with SQL. Any tips on the best way to pick it up quickly so I can start being more productive at work?


  👤 PaulHoule Accepted Answer ✓
I like the SQL course at https://www.hackerrank.com/ see also books by https://en.wikipedia.org/wiki/Joe_Celko to learn how to write really advanced queries.

👤 scrlk
https://sqlbolt.com/ is a good place to start.

👤 newprint
This question been asked multiple times here, go through my history and you will find detailed answers.

👤 screenoridesaga
OpenAI is a better SQL query writer than any developer I’ve worked with, and it’s not close.

👤 thecrumb
Make friends with your DBA (assuming you have one)