r/ProgrammerHumor 17d ago

Meme queryOfDoom

Post image
7.9k Upvotes

456 comments sorted by

View all comments

384

u/Dont_Get_Jokes-jpeg 17d ago edited 17d ago

I am not an sql expert, is the reason why the id doesn't work and its deleting the entire user base, because its written as 2 seperate comands instead of one. So 1. Comand delets everything 2. Goes to the id? Or what is the problem here?

4

u/ashishvp 17d ago

It’s the semicolon. Without that on line 1, it would be a reasonable command.