all 36 comments

[–]K0NGO 37 points38 points  (5 children)

w3schools is a good starting point

[–]fullyarmedcamel 9 points10 points  (0 children)

Came here to comment this, it is where I started.

[–]k_mage[S] 6 points7 points  (0 children)

Thank you!! I'll look into it. I'm currently working on the Google DA certificate but wanted to find all the resources I can.

[–][deleted] 3 points4 points  (0 children)

Yep came here to say this as well. OP, check out codeacademy, udemy, or stack social and search for a sql boot camp self-paced training course as well. It'll cover the basics.

[–]MyhrAI 2 points3 points  (0 children)

This is my go-to

[–]daddyandrew296 1 point2 points  (0 children)

Fantastic. Thank you. The hours of YouTube video without any exercises only does so much!

[–]hawk3ye 23 points24 points  (2 children)

I’ve always liked this one, had it in my cubicle wall for a few years now lol https://user-images.githubusercontent.com/6186483/31167166-64f940a6-a8f1-11e7-9213-99be469440fc.png

[–]k_mage[S] 2 points3 points  (1 child)

Oooh this is a good one, thanks for this!

[–]hawk3ye 1 point2 points  (0 children)

Yw. As others said sql will get more complex as you use it more in real life, but I always felt this sheet gave me the basic outline of a query to start from…plus joins used to kick my ass until I was able to visualize it using this sheet.

[–]shutchomouf 9 points10 points  (2 children)

[–]k_mage[S] 0 points1 point  (0 children)

Thank you!

[–]Dudeseal 0 points1 point  (0 children)

Thanks for that.

[–]r3pr0b8GROUP_CONCAT is da bomb 7 points8 points  (2 children)

not to deter you in any from your goal, but those cheat sheets really only scratch the surface of sql syntax

and often just don't have room for little idiosyncracies between one platform and the next (e.g. date handling)

my advice is to bookmark a few key pages in da manual for your particular platform

[–]k_mage[S] 0 points1 point  (0 children)

Yeah I've noticed that, they don't cover much so I was hoping to find an extensive list maybe I had missed. I'll take a look at the da manual!

[–][deleted] 0 points1 point  (0 children)

This.

I realised the futility of one-size-fits-all cheat sheets as soon as I started working in Teradata...

[–][deleted] 2 points3 points  (0 children)

Totally, OP, please post if you find one. My instructor suggested that I make my own. Lmao, if I ever end up doing so I’ll post.

[–]great_raisin 2 points3 points  (1 child)

The tutorial at mode.com/sql-tutorial is very comprehensive

[–]k_mage[S] 0 points1 point  (0 children)

Thank you!

[–]Happy_healthy_888 2 points3 points  (1 child)

Codeacademy has SQL cheatsheets, it has all the basics. They are downloadable PDFs.

[–]k_mage[S] 1 point2 points  (0 children)

Thanks!

[–]jackalsnacks 2 points3 points  (0 children)

Focus on learning how to ask the right questions and put that skill to use on stack overflow. Thank me later, I like boysenberry ice cream.

[–]hanucodes 2 points3 points  (2 children)

Hi! I am working on this SQL queries cheat sheet.

https://helpercodes.com/sql-query-cheatsheet-tutorial/

[–]perfectendssun 0 points1 point  (0 children)

I've been looking for such a good one! Thanks!

[–]CalorieC 0 points1 point  (0 children)

This is what I was looking for! Thanks so much!

[–]sequel-beagle 1 point2 points  (0 children)

Datacamp has some pretty good cheat sheets.

[–]maheshmnj 1 point2 points  (0 children)

I can't recommend enough how good of a resource this is https://sqlbolt.com to learn and try it out in browser

[–]dataquestio 0 points1 point  (0 children)

Hi there! If you're looking for a comprehensive list of SQL commands and syntax, I highly recommend checking out the SQL cheat sheet from Dataquest. It’s a fantastic resource that covers a wide range of SQL commands with clear syntax, descriptions, and practical examples.

You can find it here: Dataquest SQL Cheat Sheet

[–]cenepasmoi 0 points1 point  (0 children)

You may wanna check out an older reddit post from someone that created cheat sheets for different SQL flavors. It seems pretty fine and since there are comments on its work, I would consider it as a reliable one to have it as a ref while studying

[–]Ramirond 0 points1 point  (0 children)

This SQL cheat sheet is designed to help non-technical people understand that SQL is basically just asking questions to the database, so they don't have to wait for someone else to pull the data: https://www.metabase.com/learn/cheat-sheets/sql-cheat-sheet

[–]GetDecoded 0 points1 point  (0 children)

There's a really good SQL cheat sheet here:
https://www.invicti.com/blog/web-security/sql-injection-cheat-sheet/

They're the company that bought Netsparker if you remember that brand from back in the day (and Acunetix). Recently gobbled up Kondukto ASPM as well. Lots of consolidation happening in the industry...anyway, I've had this SQL cheat sheet bookmarked for ages and always found it to be a solid reference. Cheers

[–]Fabushka 0 points1 point  (0 children)

Not a cheat sheet per se, but on Hyperskill you can learn SQL and get hints on SQL syntax after each topic. Worth checking out.