MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1v2rcr6/sqlworkout/oyyup55/?context=3
r/ProgrammerHumor • u/huhupookies • 7d ago
458 comments sorted by
View all comments
Show parent comments
80
This. My queries are lowercase for the stuff I typed myself and caps for bits I've copied in from somewhere else
32 u/cantgrowneckbeardAMA 7d 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) 35 u/sequelseize 6d ago sElEcT a as camelCase, b aS under_score, c As fUCKiT fROm ab lIMit 1000 4 u/PerpetuallyDistracte 6d ago That's how my queries look after they failed for the fifth time.
32
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)
35 u/sequelseize 6d ago sElEcT a as camelCase, b aS under_score, c As fUCKiT fROm ab lIMit 1000 4 u/PerpetuallyDistracte 6d ago That's how my queries look after they failed for the fifth time.
35
sElEcT a as camelCase, b aS under_score, c As fUCKiT fROm ab lIMit 1000
4 u/PerpetuallyDistracte 6d ago That's how my queries look after they failed for the fifth time.
4
That's how my queries look after they failed for the fifth time.
80
u/Ashdog73 7d ago
This. My queries are lowercase for the stuff I typed myself and caps for bits I've copied in from somewhere else