this post was submitted on 19 Nov 2025
414 points (93.3% liked)
Programmer Humor
27412 readers
2002 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
SQL enjoyer?
Every time I use it I feels like I'm going back to the 90s. No variables, no functions; Oh but you can do a CTE or subquery.......๐
UNION ALL, UNION ALL, UNION ALL... "There's got to be a better way, surely..."
looks up better way
"Oh, what the fuck?!.... Nope, this will just be quicker..." UNION ALL, UNION ALL, UNION ALL...
Join in a table sharing column names... Everything breaks. You gotta put the new prefixes in front of all the headers you called in now. In every select, in every where, etc... Which is weird because that kinda works like a variable and it's fine...
"When you see this little piece of text, it means all this, got it?"
"Okay. Yep. Easy."
"So why can't you do that with expressions?"
SQL SCREAMS MANICALLY
"Okay, okay, okay!... Jesus..."
And then you try put a MAX in a where and it won't let you because you gotta pull all the maxes out in their own query, make a table, join them in, and use them like a filter...
I hate it. It has speed, when you can finally run the script, but everything up to that is so...ugh.
Personally I feel like SQL syntax is upside down, and things are used before they are defined.
I'd expect it to instead be like