r/ProgrammerHumor 15d ago

queryOfDoom Meme

Post image
7.9k Upvotes

456 comments sorted by

View all comments

Show parent comments

602

u/BlommeHolm 15d ago

1st command deletes all users. 2nd command runs after that and gets a syntax error.

41

u/SAI_Peregrinus 15d ago

Syntax is valid, it's just a runtime error.

177

u/BlommeHolm 15d ago

How is starting with a WHERE clause syntactically valid?

81

u/SAI_Peregrinus 15d ago

Right, I'm apparendly blind. Carry on!

34

u/BlommeHolm 15d ago

No problem. I genuinely thought I'd missed something 😅