this post was submitted on 19 Nov 2025
328 points (92.9% liked)
Programmer Humor
27391 readers
1622 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
Every major SQL implementation includes both of those things. Of course, it's rarely needed or desirable if you know how to properly write SQL.
You can alias expressions.
Wtf are you talking about? For one, filtering by the output of an aggregate is what the
HAVINGclause is for. But even if that didn't exist, you could just use a subquery instead. You don't need to make table...Tbh it just sounds like you don't know SQL very well. Which is fine, but doesn't make for a very compelling criticism. SQL does have warts (even though it's great overall), but none of what you described are real problems.