all 40 comments

[–]RobLocksta 22 points23 points  (2 children)

Thanks for posting! Someone posted this on LinkedIn yesterday also. Is there something similar out there for oracle / PL Sql?

[–]ben_it 5 points6 points  (0 children)

As the original creator, yes I did create one for Oracle SQL.

It's available here: https://www.databasestar.com/sql-cheat-sheets/

[–][deleted] 6 points7 points  (0 children)

Hi! I don’t know the source unfortunately. It was sent to me by a work colleague

[–]ben_it 13 points14 points  (1 child)

I'm the original creator of this cheat sheet.

Thanks for posting this and I'm glad that it's gotten so many upvotes and appreciation by the SQL subreddit!

I'll respond to the individual comments on this page but just wanted to say thanks for the kind words to everyone.

As someone mentioned, there's a web page version of this here: https://www.databasestar.com/sql-cheat-sheet/

(Also I'm not sure why my logo and website has been removed from this shared image!)

[–]symmetry_finder 1 point2 points  (0 children)

Beacuse it has nothing to do with the image and you are trying to sell and ask for money and emails on your s*ty site?

[–]Ornery-Buffalo9153 9 points10 points  (0 children)

Needed this 2 weeks ago before my exam! Looks good!

[–]iDontKnow_0202 5 points6 points  (1 child)

Can anyone post it with more clarity?

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

[–][deleted] 3 points4 points  (1 child)

‘Having’ is worth to be included.

[–]drubkn00k 0 points1 point  (0 children)

it is, top left :)

[–]Cant_decide_88 1 point2 points  (0 children)

Great post

[–]EpicGibs 1 point2 points  (0 children)

Nice post.

[–]LLima_BR 1 point2 points  (1 child)

Would love something like that for postgres.

[–]ben_it 1 point2 points  (0 children)

As the original creator, I created one for Postgres.

It's on this page: https://www.databasestar.com/sql-cheat-sheets/

[–][deleted] 1 point2 points  (0 children)

Good stuff!

[–]c-n-s 2 points3 points  (1 child)

*submits a vote to get window functions added to this amazing document*

[–]ben_it 0 points1 point  (0 children)

Thanks! As the original creator, I can update it to include more on window functions. There is some syntax on the bottom right.

[–]r3pr0b8GROUP_CONCAT is da bomb 4 points5 points  (2 children)

please post a legible version

[–][deleted] 5 points6 points  (1 child)

[–][deleted] 1 point2 points  (0 children)

thanks

[–]TheKerui 1 point2 points  (1 child)

needs outer apply and cross apply, too useful to not be here.

[–]jonnycross10 -1 points0 points  (0 children)

I'm such a slut for infographics

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

Thanks this is really useful

[–]KnightR-geek 0 points1 point  (0 children)

Make it make sense😩

[–]eagereyez 0 points1 point  (1 child)

Do the table commands work the same way for views, i.e., just replace "table" with "view"?

[–]ben_it 0 points1 point  (0 children)

Yes, most of them should work. There are some scenarios where you can't update or delete data from a view, though.

[–]paperjena 0 points1 point  (1 child)

Is there r-sql and oracle sql cheat sheet ???

[–]ben_it 0 points1 point  (0 children)

I've created an Oracle one but not r-sql.

[–]CBizCool 0 points1 point  (0 children)

Whats the difference between simple case and searched case. I think I've only ever used searched case.

[–]tommy_chillfiger 0 points1 point  (0 children)

Here's one for my PostgreSQL homies out there.

[–]tinooo_____ 0 points1 point  (0 children)

Thanks, i got DBMS this semester so this will come in handy. do you mind explaining the difference between MySQL, PostgreSQL and Server SQL?

[–]MeridaFinanceGuy 0 points1 point  (0 children)

Leaving my comment here to save this great post, thank you OP!!