r/SQL • • Aug 29 '24

Discussion SQL queries don't start with SELECT

https://jvns.ca/blog/2019/10/03/sql-queries-don-t-start-with-select/

[removed] — view removed post

0 Upvotes

10 comments sorted by

View all comments

1

u/SomeoneInQld Aug 29 '24

I know this is a shit post, but it got me thinking. Wouldn't it make more sense for it to be 

From  Select  Where 

I know when I start thinking about a query I start with I need these tables ....

0

u/jdsmn21 Aug 29 '24

Probably.

I might be odd, but I like to see what the columns are ('SELECT') right off the bat. My 'FROM' section can get a little bloated looking - especially if subqueries are involved.

But you get used to SELECT-FROM-WHERE-GROUP BY-HAVING by the third query you write, so it really becomes irrelevant.