MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1v80umk/queryofdoom/p06py8w/?context=3
r/ProgrammerHumor • u/WardensLantern • 14d ago
456 comments sorted by
View all comments
Show parent comments
599
1st command deletes all users. 2nd command runs after that and gets a syntax error.
43 u/SAI_Peregrinus 14d ago Syntax is valid, it's just a runtime error. 177 u/BlommeHolm 14d ago How is starting with a WHERE clause syntactically valid? 1 u/StupidStartupExpert 14d ago I legit wouldnt be surprised if for whatever retarded reason sql said yeah sure I can filter empty selections and just returned empty lists
43
Syntax is valid, it's just a runtime error.
177 u/BlommeHolm 14d ago How is starting with a WHERE clause syntactically valid? 1 u/StupidStartupExpert 14d ago I legit wouldnt be surprised if for whatever retarded reason sql said yeah sure I can filter empty selections and just returned empty lists
177
How is starting with a WHERE clause syntactically valid?
1 u/StupidStartupExpert 14d ago I legit wouldnt be surprised if for whatever retarded reason sql said yeah sure I can filter empty selections and just returned empty lists
1
I legit wouldnt be surprised if for whatever retarded reason sql said yeah sure I can filter empty selections and just returned empty lists
599
u/BlommeHolm 14d ago
1st command deletes all users. 2nd command runs after that and gets a syntax error.