🖥

SQL | GROUP BY and WHERE order

2019/04/16に公開

Write the WHERE first.

↓ Move.

 SELECT id FROM user WHERE name = 'John' GROUP BY id 

↓ It does not move.

 SELECT id FROM user GROUP BY id WHERE name = 'John' 

Original by

SQL | GROUP BY と WHERE の順番

About

About this translattion

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ

Twitter

https://twitter.com/YumaInaura

公開日時

2019-04-16

Discussion