this post was submitted on 26 Oct 2023
286 points (96.4% liked)

SQL - any and all

309 readers
1 users here now

For discussion about SQL and databases. All versions welcome.

founded 2 years ago
MODERATORS
286
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

Jesus died at 33, so that can't get returned in the query response lol

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (1 children)

The easiest way to parse the meaning is to reverse the statement order, i.e. "Can't eat your cake and have it too." If you ate it, you wouldn't have it. If you have it, you haven't eaten it. The two states are mutually exclusive.

[–] [email protected] 1 points 1 year ago (1 children)

Okay, that makes sense, just weird choice of words.

[–] [email protected] 3 points 1 year ago

Totally agree. I've never been a fan of the saying and it only clicked properly for me when I heard it explained with the statement reversal.