Hey HN!<p>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?<p>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.
There are many free resources online for learning SQL. Here are some of them:<p>Khan Academy has a SQL course:<p><a href="https://www.khanacademy.org/computing/computer-programming/sql" rel="nofollow">https://www.khanacademy.org/computing/computer-programming/s...</a><p>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:<p><a href="https://mystery.knightlab.com/walkthrough.html" rel="nofollow">https://mystery.knightlab.com/walkthrough.html</a><p><a href="https://mystery.knightlab.com/" rel="nofollow">https://mystery.knightlab.com/</a><p>The "walkthrough" link above mentions that if you want to learn SQL more deeply to try selectstarsql.com, which looks good:<p><a href="https://selectstarsql.com/" rel="nofollow">https://selectstarsql.com/</a><p>This looks interesting too:<p><a href="https://sqlzoo.net/wiki/SQL_Tutorial" rel="nofollow">https://sqlzoo.net/wiki/SQL_Tutorial</a><p>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).<p>There are also a bunch of (multi-hour) courses on YouTube:<p><a href="https://www.google.com/search?q=site%3Ayoutube.com+sql+course" rel="nofollow">https://www.google.com/search?q=site%3Ayoutube.com+sql+cours...</a><p>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):<p><a href="https://www.google.com/search?online+sql+database" rel="nofollow">https://www.google.com/search?online+sql+database</a><p>I hope you find at least some of the above to be useful. Good luck with it.
W3Schools Online SQL Tutorial: <a href="https://www.w3schools.com/sql/default.asp" rel="nofollow">https://www.w3schools.com/sql/default.asp</a><p>Dunno how far that will get you; certainly seems to cover the basics of syntax and so on. The harder part is the <i>mindset,</i> 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.)<p>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.<p>Hope this helps!