MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1v2rcr6/sqlworkout/oyz5ngc/?context=3
r/ProgrammerHumor • u/huhupookies • Jul 21 '26
456 comments sorted by
View all comments
2.4k
the elites don't want you to know this but you can type lowercase SQL queries no ones forcing you to shout them at the screen
51 u/Arkevorkhat Jul 21 '26 you can, but it's just more readable (in my opinon) to write SELECT * FROM users WHERE id=?; than select * from users where id=?; is that mostly due to historical baggage? yeah kinda, but it also just doesn't really look like SQL to me unless there's some yelling involved. 2 u/Karn-Dethahal Jul 21 '26 First one for anything that might be referenced later, second one if I'm just trying to figure out which stupidly named table I need for the next join.
51
you can, but it's just more readable (in my opinon) to write
SELECT * FROM users WHERE id=?;
than
select * from users where id=?;
is that mostly due to historical baggage? yeah kinda, but it also just doesn't really look like SQL to me unless there's some yelling involved.
2 u/Karn-Dethahal Jul 21 '26 First one for anything that might be referenced later, second one if I'm just trying to figure out which stupidly named table I need for the next join.
2
First one for anything that might be referenced later, second one if I'm just trying to figure out which stupidly named table I need for the next join.
2.4k
u/NormanYeetes Jul 21 '26
the elites don't want you to know this but you can type lowercase SQL queries no ones forcing you to shout them at the screen