mysql を使用すると、このエラーが発生しました。誰か説明してください。次のA、B、Cの違いは何ですか?
A) select * from table where a=a group by(b) // this execute & work fine
B) select * from table where a=a group by b,c // this execute * work fine
c) select * from table where a=a group by (b,c) // this is giving an error - error is operand should contain 1 column.
Aでは、括弧付きのエラーなしで正常に動作しますが、複数のグループ化にCで同じ方法を使用すると、機能せず、言及されたエラーが発生します。
何故ですか?mysqlグループ化のgroup by ()とgroup byの違いは何ですか?
ありがとうございました。