News for hackers. Stuff that matters.
Re:Best practices for writing SQL queries by AdrianB1 on Saturday April 10, 2021 @05:26PM (#26765278)
We are doing something very similar, except we add extra indentation to the joins like you did for the second condition in the WHERE. This is because we strongly separate each block - SELECT, FROM, WHERE, <ORDER>, so everything that is in the FROM block is indented. Same for the SELECT if it so long it goes to a second or third row.

There are no comments on this comment yet.