Best practices for the order of joined columns in a sql join?

后端 未结 5 541
囚心锁ツ
囚心锁ツ 2020-12-18 00:49

There\'s a big discussion going on at my office on the order of the joined columns in a sql join. I\'m finding it hard explaining it so I\'ll just present the two sql statem

5条回答
  •  一整个雨季
    2020-12-18 01:36

    The best practice here is to choose one and stick with it within the team. Personally, I prefer the FROM a JOIN b ON b.col = a.col because it seems cleaner to me.

提交回复
热议问题