尚硅谷大数据项目《在线教育之离线数仓》笔记008

视频地址:尚硅谷大数据项目《在线教育之离线数仓》_哔哩哔哩_bilibili

目录

P123

P124

P125

P126

P127

P128

P129


P123

Apache Superset是一个现代的数据探索和可视化平台。它功能强大且十分易用,可对接各种数据源,包括很多现代的大数据分析引擎,拥有丰富的图表展示形式,并且支持自定义仪表盘。

[atguigu@node001 ~]$ python
Python 2.7.5 (default, Apr 11 2018, 07:36:10) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> quit
Use quit() or Ctrl-D (i.e. EOF) to exit
>>> quit()
[atguigu@node001 ~]$ 
# To activate this environment, use
#
#     $ conda activate superset
#
# To deactivate an active environment, use
#
#     $ conda deactivate(base) [atguigu@node001 miniconda3]$ conda activate superset
(superset) [atguigu@node001 miniconda3]$ python
Python 3.8.16 (default, Jun 12 2023, 18:09:05) 
[GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()
(superset) [atguigu@node001 miniconda3]$ python -V
Python 3.8.16
(superset) [atguigu@node001 miniconda3]$ 

P124

2.2 Superset部署

P125

2.2.6 superset启停脚本

#!/bin/bashsuperset_status() {result=`ps -ef | awk '/gunicorn/ && !/awk/{print $2}' | wc -l`if [[ $result -eq 0 ]]; thenreturn 0elsereturn 1fi
}
superset_start() {source ~/.bashrcsuperset_status >/dev/null 2>&1if [[ $? -eq 0 ]]; thenconda activate superset ; gunicorn --workers 5 --timeout 120 --bind node001:8787 --daemon 'superset.app:create_app()'elseecho "superset正在运行..."fi
}superset_stop() {superset_status >/dev/null 2>&1if [[ $? -eq 0 ]]; thenecho "superset未在运行..."elseps -ef | awk '/gunicorn/ && !/awk/{print $2}' | xargs kill -9fi
}case $1 instart )echo "启动Superset..."superset_start;;stop )echo "停止Superset..."superset_stop;;restart )echo "重启Superset..."superset_stopsuperset_start;;status )superset_status >/dev/null 2>&1if [[ $? -eq 0 ]]; thenecho "superset未在运行..."elseecho "superset正在运行..."fi
esac

P126

# `edu_report`数据库、`ads_trade_order_by_province`数据表INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '26', '广东', '5', '440000', 'CN-44', 'CN-GD', 11, 11, 2600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '7', '江苏', '2', '320000', 'CN-32', 'CN-JS', 17, 14, 4800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '17', '辽宁', '3', '210000', 'CN-21', 'CN-LN', 90, 71, 19600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '9', '安徽', '2', '340000', 'CN-34', 'CN-AH', 77, 62, 17600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '11', '江西', '2', '360000', 'CN-36', 'CN-JX', 97, 82, 20600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '20', '青海', '7', '630000', 'CN-63', 'CN-QH', 110, 86, 24000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '15', '黑龙江', '3', '230000', 'CN-23', 'CN-HL', 110, 90, 24800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '18', '陕西', '7', '610000', 'CN-61', 'CN-SN', 12, 12, 2600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '29', '香港', '5', '810000', 'CN-91', 'CN-HK', 96, 78, 20800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '10', '福建', '2', '350000', 'CN-35', 'CN-FJ', 11, 11, 2200.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '33', '云南', '6', '530000', 'CN-53', 'CN-YN', 12, 11, 3200.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '21', '宁夏', '7', '640000', 'CN-64', 'CN-NX', 94, 75, 20800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '1', '北京', '1', '110000', 'CN-11', 'CN-BJ', 93, 73, 19600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '28', '海南', '5', '460000', 'CN-46', 'CN-HI', 93, 73, 22000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '8', '浙江', '2', '330000', 'CN-33', 'CN-ZJ', 16, 15, 3800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '34', '西藏', '6', '540000', 'CN-54', 'CN-XZ', 20, 20, 4800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '22', '新疆', '7', '650000', 'CN-65', 'CN-XJ', 18, 18, 3600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '8', '浙江', '2', '330000', 'CN-33', 'CN-ZJ', 86, 76, 19400.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '31', '四川', '6', '510000', 'CN-51', 'CN-SC', 95, 77, 22200.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '33', '云南', '6', '530000', 'CN-53', 'CN-YN', 90, 72, 19800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '2', '天津', '1', '120000', 'CN-12', 'CN-TJ', 13, 12, 3000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '8', '浙江', '2', '330000', 'CN-33', 'CN-ZJ', 86, 76, 19400.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '23', '河南', '4', '410000', 'CN-41', 'CN-HA', 104, 81, 23400.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '27', '广西', '5', '450000', 'CN-45', 'CN-GX', 16, 16, 3600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '28', '海南', '5', '460000', 'CN-46', 'CN-HI', 93, 73, 22000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '23', '河南', '4', '410000', 'CN-41', 'CN-HA', 104, 81, 23400.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '6', '上海', '2', '310000', 'CN-31', 'CN-SH', 92, 76, 20600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '9', '安徽', '2', '340000', 'CN-34', 'CN-AH', 77, 62, 17600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '4', '内蒙古', '1', '150000', 'CN-15', 'CN-NM', 96, 81, 21800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '25', '湖南', '4', '430000', 'CN-43', 'CN-HN', 108, 83, 25400.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '15', '黑龙江', '3', '230000', 'CN-23', 'CN-HL', 110, 90, 24800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '29', '香港', '5', '810000', 'CN-91', 'CN-HK', 19, 19, 4000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '32', '贵州', '6', '520000', 'CN-52', 'CN-GZ', 108, 86, 25400.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '7', '江苏', '2', '320000', 'CN-32', 'CN-JS', 80, 67, 19400.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '32', '贵州', '6', '520000', 'CN-52', 'CN-GZ', 15, 15, 3800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '12', '山东', '2', '370000', 'CN-37', 'CN-SD', 98, 76, 21200.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '24', '湖北', '4', '420000', 'CN-42', 'CN-HB', 97, 82, 24800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '27', '广西', '5', '450000', 'CN-45', 'CN-GX', 93, 74, 21400.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '13', '重庆', '6', '500000', 'CN-50', 'CN-CQ', 17, 16, 3600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '16', '吉林', '3', '220000', 'CN-22', 'CN-JL', 98, 79, 22200.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '22', '新疆', '7', '650000', 'CN-65', 'CN-XJ', 94, 74, 20000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '19', '甘肃', '7', '620000', 'CN-62', 'CN-GS', 107, 82, 25000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '30', '澳门', '5', '820000', 'CN-92', 'CN-MO', 94, 74, 20000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '34', '西藏', '6', '540000', 'CN-54', 'CN-XZ', 106, 81, 24600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '11', '江西', '2', '360000', 'CN-36', 'CN-JX', 14, 13, 3000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '33', '云南', '6', '530000', 'CN-53', 'CN-YN', 90, 72, 19800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '27', '广西', '5', '450000', 'CN-45', 'CN-GX', 93, 74, 21400.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '24', '湖北', '4', '420000', 'CN-42', 'CN-HB', 97, 82, 24800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '24', '湖北', '4', '420000', 'CN-42', 'CN-HB', 21, 21, 5000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '14', '台湾', '2', '710000', 'CN-71', 'CN-TW', 88, 76, 19600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '7', '江苏', '2', '320000', 'CN-32', 'CN-JS', 80, 67, 19400.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '25', '湖南', '4', '430000', 'CN-43', 'CN-HN', 17, 17, 4400.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '6', '上海', '2', '310000', 'CN-31', 'CN-SH', 92, 76, 20600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '2', '天津', '1', '120000', 'CN-12', 'CN-TJ', 80, 63, 17800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '5', '河北', '1', '130000', 'CN-13', 'CN-HE', 101, 75, 23400.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '30', '澳门', '5', '820000', 'CN-92', 'CN-MO', 94, 74, 20000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '23', '河南', '4', '410000', 'CN-41', 'CN-HA', 14, 13, 3000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '14', '台湾', '2', '710000', 'CN-71', 'CN-TW', 14, 13, 3600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '28', '海南', '5', '460000', 'CN-46', 'CN-HI', 10, 10, 2200.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '3', '山西', '1', '140000', 'CN-14', 'CN-SX', 14, 14, 3200.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '18', '陕西', '7', '610000', 'CN-61', 'CN-SN', 87, 73, 18400.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '20', '青海', '7', '630000', 'CN-63', 'CN-QH', 18, 18, 3800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '16', '吉林', '3', '220000', 'CN-22', 'CN-JL', 10, 10, 2200.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '12', '山东', '2', '370000', 'CN-37', 'CN-SD', 98, 76, 21200.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '1', '北京', '1', '110000', 'CN-11', 'CN-BJ', 93, 73, 19600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '10', '福建', '2', '350000', 'CN-35', 'CN-FJ', 90, 68, 21000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '2', '天津', '1', '120000', 'CN-12', 'CN-TJ', 80, 63, 17800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '6', '上海', '2', '310000', 'CN-31', 'CN-SH', 18, 17, 4400.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '34', '西藏', '6', '540000', 'CN-54', 'CN-XZ', 106, 81, 24600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '3', '山西', '1', '140000', 'CN-14', 'CN-SX', 91, 77, 19800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '19', '甘肃', '7', '620000', 'CN-62', 'CN-GS', 107, 82, 25000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '16', '吉林', '3', '220000', 'CN-22', 'CN-JL', 98, 79, 22200.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '32', '贵州', '6', '520000', 'CN-52', 'CN-GZ', 108, 86, 25400.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '25', '湖南', '4', '430000', 'CN-43', 'CN-HN', 108, 83, 25400.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '26', '广东', '5', '440000', 'CN-44', 'CN-GD', 95, 79, 20200.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '30', '澳门', '5', '820000', 'CN-92', 'CN-MO', 19, 19, 4000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '5', '河北', '1', '130000', 'CN-13', 'CN-HE', 15, 14, 3400.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '3', '山西', '1', '140000', 'CN-14', 'CN-SX', 91, 77, 19800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '11', '江西', '2', '360000', 'CN-36', 'CN-JX', 97, 82, 20600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '19', '甘肃', '7', '620000', 'CN-62', 'CN-GS', 19, 19, 4000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '22', '新疆', '7', '650000', 'CN-65', 'CN-XJ', 94, 74, 20000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '17', '辽宁', '3', '210000', 'CN-21', 'CN-LN', 10, 10, 2000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '13', '重庆', '6', '500000', 'CN-50', 'CN-CQ', 85, 72, 18600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '18', '陕西', '7', '610000', 'CN-61', 'CN-SN', 87, 73, 18400.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '31', '四川', '6', '510000', 'CN-51', 'CN-SC', 95, 77, 22200.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '21', '宁夏', '7', '640000', 'CN-64', 'CN-NX', 10, 9, 2200.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '12', '山东', '2', '370000', 'CN-37', 'CN-SD', 20, 20, 4600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '29', '香港', '5', '810000', 'CN-91', 'CN-HK', 96, 78, 20800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '9', '安徽', '2', '340000', 'CN-34', 'CN-AH', 10, 10, 2000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '14', '台湾', '2', '710000', 'CN-71', 'CN-TW', 88, 76, 19600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '31', '四川', '6', '510000', 'CN-51', 'CN-SC', 16, 15, 3600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '1', '北京', '1', '110000', 'CN-11', 'CN-BJ', 20, 19, 4000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '21', '宁夏', '7', '640000', 'CN-64', 'CN-NX', 94, 75, 20800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '4', '内蒙古', '1', '150000', 'CN-15', 'CN-NM', 16, 15, 3800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '20', '青海', '7', '630000', 'CN-63', 'CN-QH', 110, 86, 24000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '10', '福建', '2', '350000', 'CN-35', 'CN-FJ', 90, 68, 21000.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '26', '广东', '5', '440000', 'CN-44', 'CN-GD', 95, 79, 20200.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '17', '辽宁', '3', '210000', 'CN-21', 'CN-LN', 90, 71, 19600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '5', '河北', '1', '130000', 'CN-13', 'CN-HE', 101, 75, 23400.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 30, '13', '重庆', '6', '500000', 'CN-50', 'CN-CQ', 85, 72, 18600.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 7, '4', '内蒙古', '1', '150000', 'CN-15', 'CN-NM', 96, 81, 21800.00);
INSERT INTO ads_trade_order_by_province (dt, recent_days, province_id, province_name, region_id, area_code, iso_code, iso_code_3166_2, order_count, order_user_count, order_total_amount) VALUES ('2022-02-21', 1, '15', '黑龙江', '3', '230000', 'CN-23', 'CN-HL', 16, 16, 3200.00);

P127

# `edu_report`数据库、`ads_traffic_page_path`数据表INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-5:order', 'step-6:payment', 134);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-4:course_detail', 'step-5:course_list', 124);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-4:course_detail', 'step-5:course_list', 124);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-4:chapter_video', 'step-5:chapter_video', 238);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-4:course_detail', 'null', 5);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-5:order', 'step-6:payment', 134);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-5:cart', 'step-6:order', 137);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-5:cart', 'step-6:order', 137);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-6:order', 'step-7:payment', 137);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-2:mine', 'null', 1);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-7:payment', 'null', 137);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-4:course_detail', 'step-5:cart', 141);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-4:exam', 'null', 224);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-3:course_list', 'step-4:course_detail', 531);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-1:exam', 'null', 5);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-5:order', 'null', 127);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-6:course_detail', 'step-7:order', 121);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-6:course_detail', 'null', 3);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-1:chapter_video', 'step-2:chapter_video', 2);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-5:order', 'null', 127);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-4:course_detail', 'step-5:order', 261);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, NULL, 'null', 3640);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, NULL, 'step-2:home', 531);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-7:order', 'null', 121);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-5:course_list', 'step-6:course_detail', 124);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-2:home', 'step-3:course_list', 531);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-5:cart', 'null', 4);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-5:order', 'null', 127);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-5:chapter_video', 'null', 238);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-6:course_detail', 'step-7:order', 121);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-6:payment', 'null', 134);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, NULL, 'step-2:home', 531);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-4:chapter_video', 'step-5:chapter_video', 238);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-6:payment', 'null', 134);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-1:chapter_video', 'step-2:chapter_video', 2);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-2:mine', 'null', 1);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-3:course_detail', 'step-4:chapter_video', 238);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-2:chapter_video', 'null', 2);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-2:chapter_video', 'null', 2);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-4:chapter_video', 'step-5:chapter_video', 238);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-5:chapter_video', 'null', 238);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-2:home', 'step-3:course_list', 531);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-5:chapter_video', 'null', 238);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-4:course_detail', 'null', 5);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-7:payment', 'null', 137);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, NULL, 'null', 3640);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-3:course_detail', 'step-4:chapter_video', 238);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-7:order', 'null', 121);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-3:course_detail', 'null', 6);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, NULL, 'null', 3640);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, NULL, 'step-2:mine', 469);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-6:course_detail', 'null', 3);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-5:cart', 'step-6:order', 137);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-3:course_detail', 'null', 6);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-2:mine', 'step-3:course_detail', 468);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-4:exam', 'null', 224);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-5:cart', 'null', 4);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-6:order', 'step-7:payment', 137);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-1:exam', 'null', 5);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-7:payment', 'null', 137);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-4:course_detail', 'step-5:order', 261);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-3:course_detail', 'step-4:exam', 224);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, NULL, 'step-2:mine', 469);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-2:home', 'step-3:course_list', 531);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-6:order', 'step-7:payment', 137);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-4:course_detail', 'step-5:cart', 141);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-6:course_detail', 'step-7:order', 121);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, NULL, 'step-2:home', 531);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-5:course_list', 'step-6:course_detail', 124);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-7:order', 'null', 121);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, NULL, 'step-2:mine', 469);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-4:course_detail', 'step-5:course_list', 124);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-3:course_detail', 'step-4:exam', 224);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-6:payment', 'null', 134);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-5:order', 'step-6:payment', 134);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-1:exam', 'null', 5);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-1:chapter_video', 'step-2:chapter_video', 2);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-3:course_list', 'step-4:course_detail', 531);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-3:course_detail', 'null', 6);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-2:chapter_video', 'null', 2);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-6:course_detail', 'null', 3);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-3:course_list', 'step-4:course_detail', 531);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-2:mine', 'null', 1);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-5:course_list', 'step-6:course_detail', 124);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-3:course_detail', 'step-4:exam', 224);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-5:cart', 'null', 4);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-2:mine', 'step-3:course_detail', 468);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-4:course_detail', 'step-5:order', 261);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-4:course_detail', 'step-5:cart', 141);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-2:mine', 'step-3:course_detail', 468);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 30, 'step-4:exam', 'null', 224);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 7, 'step-4:course_detail', 'null', 5);
INSERT INTO ads_traffic_page_path (dt, recent_days, source, target, path_count) VALUES ('2022-02-21', 1, 'step-3:course_detail', 'step-4:chapter_video', 238);

P128

# `edu_report`数据库、`ads_trade_stats`数据表INSERT INTO ads_trade_stats (dt, recent_days, order_total_amount, order_count, order_user_count) VALUES ('2022-02-21', 1, 117200.00, 518, 248);
INSERT INTO ads_trade_stats (dt, recent_days, order_total_amount, order_count, order_user_count) VALUES ('2022-02-21', 30, 725200.00, 3223, 299);
INSERT INTO ads_trade_stats (dt, recent_days, order_total_amount, order_count, order_user_count) VALUES ('2022-02-21', 7, 725200.00, 3223, 299);

P129

尚硅谷大数据项目之在线教育离线数仓(3在线教育数据仓库系统)V1.0.docx

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/75166.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

医院空调冷热源设计方案VR元宇宙模拟演练的独特之处

作为一个备受关注的技术-元宇宙,毋庸置疑的是,因为建筑本身契合了时尚、前卫、高端、虚拟、科幻、泛在、协作、互通等元素特征,因此在建筑行业更需要元宇宙,以居民建筑环境冷热源设计来说,元宇宙会打破既定的现实阻碍和…

LVS NAT模式负载均衡群集部署

目录 1 群集(集群) cluster 1.1 群集的类型 2 LVS的工作模式及其工作过程 2.1 NAT模式(VS-NAT) 2.2 直接路由模式(VS-DR) 2.3 IP隧道模式(VS-TUN) 3 LVS-NAt 模式配置步骤 3.1 部署共享存储 3.2 配…

SSL证书验签时要带www吗?

单域名证书:顶级域名如www.abc.com或abc.com 不管你提交订单的时候填写的域名是带www或不带www的域名,签发的证书均支持www和不带www的域名 单域名证书:子域名如mail.abc.com,签发的证书仅支持mail.abc.com 通配符证书&#xff…

MySQL触发器使用指南大全

一、介绍 触发器是与表有关的数据库对象,指在insert/update/delete之前或之后,触发并执行触发器中定义的SQL语句集合。触发器的这种特性可以协助应用在数据库端确保数据的完整性,日志记录,数据校验等操作。 使用别名OLD和NEW来引…

C++之生成key-value键值三种方式(一百九十)

简介: CSDN博客专家,专注Android/Linux系统,分享多mic语音方案、音视频、编解码等技术,与大家一起成长! 优质专栏:Audio工程师进阶系列【原创干货持续更新中……】🚀 人生格言: 人生…

Web server failed to start. Port 8080 was already in use.之解决方法

问题: Web server failed to start. Port 8080 was already in use,这句错误描述意思是当前程序的端口号8080被占用了,需要将占用该端口的程序停止掉才行;错误如图所示: 解决方法: 按住winr,输入…

React 消息文本循环展示

需求 页面上有个小喇叭,循环展示消息内容 逻辑思路 设置定时器,修改translateX属性来实现滚动,判断滚动位置,修改list位置来实现无限滚动 实现效果 代码 /** Author: Do not edit* Date: 2023-09-07 11:11:45* LastEditors: …

android studio的Android Drawable Preview

Android Drawable Preview 应用后,如下图: 再也不用一个一个点开去看了 其他学习资料: 1、付费专栏《Android kotlin入门到进阶系列讲解》:https://blog.csdn.net/qq_35091074/category_11036895.html 2、免费专栏《Android kot…

【大虾送书第九期】速学Linux:系统应用从入门到精通

目录 🍭写在前面 🍭为什么学习Linux系统 🍭Linux系统的应用领域 🍬1.Linux在服务器的应用 🍬2.嵌入式Linux的应用 🍬3.桌面Linux的应用 🍭Linux的版本选择 &a…

使用PHPStudy在本地快速建立网站并实现局域网外访问(无公网IP)

文章目录 使用工具1. 本地搭建web网站1.1 下载phpstudy后解压并安装1.2 打开默认站点,测试1.3 下载静态演示站点1.4 打开站点根目录1.5 复制演示站点到站网根目录1.6 在浏览器中,查看演示效果。 2. 将本地web网站发布到公网2.1 安装cpolar内网穿透2.2 映…

无涯教程-JavaScript - IMPOWER函数

描述 IMPOWER函数以x yi或x yj文本格式返回加到幂的复数。求幂的复数的计算方法如下- $$(x yi)^ n r ^ ne ^ {n \theta} r ^ n \cos n \theta ir ^ n sin n \theta $$ 哪里- $$r \sqrt {x ^ 2 y ^ 2} \:\:和\:\:\theta \tan ^ {-1} \left(\frac {y} {x} \right)\:…

数字 IC 设计职位经典笔/面试题(四)

共100道经典笔试、面试题目(文末可全领) 画出 CMOS 电路的晶体管级电路图,实现 YA*BC(DE).? 画出 YABC 的 CMOS 电路图,画出 YABCD 的 CMOS 电路图。 利用与非门和或非门实现 YABC(DE)((AB’)(CD)’(CE)’)’ 三个两输入与非门&a…

【力扣每日一题】2023.9.10 课程表Ⅱ

目录 题目: 示例: 分析: 代码: 题目: 示例: 分析: 今天的题目和昨天类似,不过今天要我们求出学习所有课程的先后顺序。 昨天只需要我们求出能否学习完所有课程,因此…

JAVASE事件监听

代码: import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Scanner;import javax.swing.JButton; import javax.…

CSS文字居中对齐学习

CSS使用text-align属性设置文字对齐方式&#xff1b;text-align:center&#xff0c;这样就设置了文字居中对齐&#xff1b; <!DOCTYPE html> <html><head><meta charset"UTF-8"><title>css 水平居中</title><style>.box …

ICCV 2023 | SuS-X:仅靠类别名称微调CLIP模型,剑桥大学联合DeepMind出品

论文链接&#xff1a; https://arxiv.org/abs/2211.16198 代码仓库&#xff1a; https://github.com/vishaal27/SuS-X 对比语言图像预训练&#xff08;Contrastive Language-Image Pre-training&#xff0c;CLIP&#xff09; 已成为计算机视觉社区通向自然语言领域的一种常用的…

机器学习入门教学——交叉验证

1、简介 交叉验证是在机器学习建立模型和验证模型参数时常用的办法&#xff0c;一般被用于评估一个机器学习模型的表现。更多的情况下&#xff0c;我们也用交叉验证来进行模型选择。【注】在训练模型时&#xff0c;为了提高模型的质量&#xff0c;我们会将数据集划分为训练集、…

代码随想录Day_60打卡

①、柱状图中最大的矩形 给定 n 个非负整数&#xff0c;用来表示柱状图中各个柱子的高度。每个柱子彼此相邻&#xff0c;且宽度为 1 。 求在该柱状图中&#xff0c;能够勾勒出来的矩形的最大面积。 事例&#xff1a; 输入&#xff1a;heights [2,1,5,6,2,3] 输出&#xff1a;1…

UDP聊天室

1.头文件 /* * 文件名称&#xff1a;UDP.h * 创 建 者&#xff1a;crx * 创建日期&#xff1a;2023年09月3日 * 描 述&#xff1a; */ #ifndef _UDP_H #define _UDP_H#include <stdio.h> #include <sys/types.h> /* See NOTES */ #includ…

Unity 之 Material (材质)渲染3D对象的重要组件

文章目录 介绍一些代码例子 介绍 在Unity中&#xff0c;Material&#xff08;材质&#xff09;是一种用于渲染3D对象的重要组件。Material定义了对象的外观&#xff0c;包括其颜色、纹理、光照属性和反射等。以下是关于Material的详细介绍&#xff1a; 创建Material&#xff1…