this post was submitted on 22 Jun 2024
816 points (98.7% liked)

Programmer Humor

32426 readers
1188 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] lowleveldata@programming.dev 59 points 4 months ago (3 children)

I don't think that's how the where clause works

[–] Anafabula@discuss.tchncs.de 76 points 4 months ago

The original didn't have the where clause. Post by Seth Rosen on X/Twitter: Them: Can you just quickly pull this data for me? Me: Sure, let me just: SELECT * FROM some_ideal_clean_and_pristine.table_that_you_think_exists

[–] thefartographer@lemm.ee 24 points 4 months ago (2 children)

Yeah, that's more appropriate for a WHEN clause or possibly even a WHOM

[–] victorz@lemmy.world 19 points 4 months ago (1 children)

There's a WHOM keyword in SQL?

[–] Dendie@lemmy.world 21 points 4 months ago

Hopefully they'll one day allow WHENCE as an alias of FROM

[–] Hupf@feddit.de 15 points 4 months ago

I'm still waiting for the WHY clause

[–] NOT_RICK@lemmy.world 7 points 4 months ago

Just chuck an =1 at the end, bam