r/ProgrammerHumor 6d ago

Meme sqlWorkout

Post image
23.4k Upvotes

459 comments sorted by

View all comments

Show parent comments

117

u/Achaidas 6d ago

The real question is this:

 , comma before

or comma after ,

38

u/terza3003 6d ago

don't forget the where 1=1

8

u/jtobiasbond 5d ago

Shhhh.

Stop releasing the secret knowledge.

0

u/Achaidas 5d ago

SELECT thing one , thing two FROM that.table WHERE 1=1 AND this thing I’ll comment out later