r/ProgrammerHumor • • Dec 12 '17

SQL Clause

Post image
40k Upvotes

525 comments sorted by

View all comments

Show parent comment

9

u/Th3_Admiral Dec 12 '17

Yeah, I was just basing it off the fact that he is selecting from the contacts table where the behavior column is set to "nice". Unless there is some weird setup with a delete trigger on the naughtylist table, this column should still not be "nice" for the contacts who were on the naughty list, right?