Hacker News Re-Imagined

Ask HN: Best SQL Courses?

Hey HN!

With the recent influx of SQL posts and lots of jobs in my field (tech sales, customer success, product, analyst) listing SQL experience as a bonus or even preferred now, I was wondering if anyone had a go to beginner SQL course?

I have basics programming skills to the extent of someone who has taken CS classes in HS and is familiar with GitHub,terminals,etc, if that helps.

  • 4 points
  • 7 days ago

  • @zbhoy
  • Created a post

Ask HN: Best SQL Courses?

@qohen 7 days

Replying to @zbhoy 🎙

There are many free resources online for learning SQL. Here are some of them:

Khan Academy has a SQL course:


The one in the first link below is interesting in that it then sets you up for the SQL Murder Mystery in the second link:



The "walkthrough" link above mentions that if you want to learn SQL more deeply to try selectstarsql.com, which looks good:


This looks interesting too:


Most of the above have databases available for you to immediately try out what you're learning, which should be helpful (sqlzoo.net also seems to have some more advanced topics covered too).

There are also a bunch of (multi-hour) courses on YouTube:


If you go the video route, there are sites like SqlFiddle.com and freedatabase.com, etc. that let you set up databases so you can practice what you learn from the videos without having to install anything (though you can do that too, of course):


I hope you find at least some of the above to be useful. Good luck with it.


@Tomte 7 days

Replying to @zbhoy 🎙

I liked Mastery with SQL: https://www.masterywithsql.com/


@CRConrad 7 days

Replying to @zbhoy 🎙

W3Schools Online SQL Tutorial: https://www.w3schools.com/sql/default.asp

Dunno how far that will get you; certainly seems to cover the basics of syntax and so on. The harder part is the mindset, thinking in sets and being able to translate what you want to do into SQL. But I guess that's the hardest part of... Well, pretty much everything. And hard to package into lessons; maybe it's something everyone has to grok for themselves, so it can't hurt to try this first -- at least it seems free of charge. (I've looked up stuff, probably including SQL AFAICR, on W3Schools and never paid anything.)

I suppose one of the best things you could do is download some simple SQL client (and possibly server), SQLite or MariaDB or Firebird or something, and an example dataset like Northwind Trading or some such, and just start playing around.

Hope this helps!


About Us

site design / logo © 2022 Box Piper