1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
#(13)集約結果をさらに絞り込む having句 -- (1)2017 月間ユニークユーザーが630人以上の月 select request_month, count(distinct user_id) from access_logs where request_month>='2017-01-01' and request_month<'2018-01-01' group by request_month having count(distinct user_id)>=630; #データの集約 演習問題 select request_month, count(*) from access_logs where request_month>='2017-01-01' and request_month<'2017-07-01' group by request_month having count(*)>1000; |
The following two tabs change content below.
Keita N
最新記事 by Keita N (全て見る)
- PySimpleGUI のメモ - 2022年12月15日
- dezeroでニューラルネットワーク2 model, optimizer, MSEをフル活用 - 2022年11月27日
- dezeroでニューラルネットワークを使った回帰をやってみる - 2022年11月26日