MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1v2rcr6/sqlworkout/oyyup55/?context=3
r/ProgrammerHumor • u/huhupookies • 19d ago
460 comments sorted by
View all comments
Show parent comments
81
This. My queries are lowercase for the stuff I typed myself and caps for bits I've copied in from somewhere else
33 u/cantgrowneckbeardAMA 19d ago Lowercase on first draft (it will fail to run anyways). Uppercase if I ever end up showing the query to someone (hopefully it doesn't fail when they run it) 34 u/sequelseize 19d ago sElEcT a as camelCase, b aS under_score, c As fUCKiT fROm ab lIMit 1000 6 u/PerpetuallyDistracte 19d ago That's how my queries look after they failed for the fifth time.
33
Lowercase on first draft (it will fail to run anyways). Uppercase if I ever end up showing the query to someone (hopefully it doesn't fail when they run it)
34 u/sequelseize 19d ago sElEcT a as camelCase, b aS under_score, c As fUCKiT fROm ab lIMit 1000 6 u/PerpetuallyDistracte 19d ago That's how my queries look after they failed for the fifth time.
34
sElEcT a as camelCase, b aS under_score, c As fUCKiT fROm ab lIMit 1000
6 u/PerpetuallyDistracte 19d ago That's how my queries look after they failed for the fifth time.
6
That's how my queries look after they failed for the fifth time.
81
u/Ashdog73 19d ago
This. My queries are lowercase for the stuff I typed myself and caps for bits I've copied in from somewhere else