Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
わかりましたので、関数ごとのグループ、Group By Y があります。
グループ化できる値は 5 つあります: A、B、C、D、E。同じ値を別の値でグループ化するにはどうすればよいでしょうか。A として返される 2 つのデータ値がある場合、どうすればよいでしょうか。私はそれらをさらにグループ化しますか?
GROUP BY Y GROUP BY X (WHERE column1=column1)?
で区切られた複数の列を追加できます,
,
select a, b, c, avg(d) from mytable group by a, b, c;