instruction
stringclasses
1 value
input
stringlengths
130
7.08k
output
stringlengths
66
4.67k
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_go_los_cnfg_d01", "description": null, "columns": [{"name": "ci", "type": "string", "description": null}, {"name": "id_tp_cd", "type": "string", "description": null}, {"name": "los_rstct_mony", "type": "double", "description": null}, {"name": "cm_los_mony", "type": "double", "description": null}, {"name": "cnfg_dt", "type": "string", "description": null}, {"name": "lost_dt", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_go_los_cnfg_d01` ( `ci` string COMMENT 'None', `id_tp_cd` string COMMENT 'None', `los_rstct_mony` double COMMENT 'None', `cm_los_mony` double COMMENT 'None', `cnfg_dt` string COMMENT 'None', `lost_dt` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_go_los_cnfg_hist", "description": null, "columns": [{"name": "cnfg_seq", "type": "bigint", "description": null}, {"name": "cnfg_dt", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "id_tp_cd", "type": "string", "description": null}, {"name": "los_rstct_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_go_los_cnfg_hist` ( `cnfg_seq` bigint COMMENT 'None', `cnfg_dt` string COMMENT 'None', `ci` string COMMENT 'None', `id_tp_cd` string COMMENT 'None', `los_rstct_mony` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_go_mony_hist", "description": null, "columns": [{"name": "log_dt", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "mony_cd", "type": "string", "description": null}, {"name": "inflw_chnl_cd", "type": "string", "description": null}, {"name": "out_in_tp_cd", "type": "string", "description": null}, {"name": "chg_mony", "type": "double", "description": null}, {"name": "chg_cnt", "type": "bigint", "description": null}, {"name": "mony_tp_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_go_mony_hist` ( `log_dt` string COMMENT 'None', `userid` string COMMENT 'None', `mony_cd` string COMMENT 'None', `inflw_chnl_cd` string COMMENT 'None', `out_in_tp_cd` string COMMENT 'None', `chg_mony` double COMMENT 'None', `chg_cnt` bigint COMMENT 'None', `mony_tp_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_go_ppoint_get_hist", "description": null, "columns": [{"name": "rgst_dt", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "chnlid", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "get_pnt", "type": "bigint", "description": null}, {"name": "pnt", "type": "bigint", "description": null}, {"name": "achv_lv", "type": "bigint", "description": null}, {"name": "cm_pcnt", "type": "bigint", "description": null}, {"name": "game_grd_nm", "type": "string", "description": null}, {"name": "mssnid", "type": "bigint", "description": null}, {"name": "eva_gift_cd", "type": "bigint", "description": null}, {"name": "gift_id", "type": "bigint", "description": null}, {"name": "tp_cd", "type": "string", "description": null}, {"name": "mony_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_go_ppoint_get_hist` ( `rgst_dt` string COMMENT 'None', `userid` string COMMENT 'None', `game_cd` string COMMENT 'None', `chnlid` string COMMENT 'None', `chnl_cd` string COMMENT 'None', `get_pnt` bigint COMMENT 'None', `pnt` bigint COMMENT 'None', `achv_lv` bigint COMMENT 'None', `cm_pcnt` bigint COMMENT 'None', `game_grd_nm` string COMMENT 'None', `mssnid` bigint COMMENT 'None', `eva_gift_cd` bigint COMMENT 'None', `gift_id` bigint COMMENT 'None', `tp_cd` string COMMENT 'None', `mony_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_go_ppoint_win_hist", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "game_grd_nm", "type": "string", "description": null}, {"name": "eva_evnt_cd", "type": "bigint", "description": null}, {"name": "eva_gift_grp_cd", "type": "bigint", "description": null}, {"name": "eva_gift_cd", "type": "bigint", "description": null}, {"name": "win_cnt", "type": "bigint", "description": null}, {"name": "exchg_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_go_ppoint_win_hist` ( `userid` string COMMENT 'None', `game_grd_nm` string COMMENT 'None', `eva_evnt_cd` bigint COMMENT 'None', `eva_gift_grp_cd` bigint COMMENT 'None', `eva_gift_cd` bigint COMMENT 'None', `win_cnt` bigint COMMENT 'None', `exchg_mony` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_go_rsr_hist", "description": null, "columns": [{"name": "rsr_seq", "type": "bigint", "description": null}, {"name": "rsr_bss_key", "type": "bigint", "description": null}, {"name": "id_tp_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "rsr_dt", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "los_rstct_mony", "type": "double", "description": null}, {"name": "cm_los_mony", "type": "double", "description": null}, {"name": "game_type", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_go_rsr_hist` ( `rsr_seq` bigint COMMENT 'None', `rsr_bss_key` bigint COMMENT 'None', `id_tp_cd` string COMMENT 'None', `userid` string COMMENT 'None', `rsr_dt` string COMMENT 'None', `ci` string COMMENT 'None', `los_rstct_mony` double COMMENT 'None', `cm_los_mony` double COMMENT 'None', `game_type` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_go_user_d01", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "game_grd_nm", "type": "string", "description": null}, {"name": "guildid", "type": "string", "description": null}, {"name": "cm_pcnt", "type": "bigint", "description": null}, {"name": "cm_win_pcnt", "type": "bigint", "description": null}, {"name": "cm_los_pcnt", "type": "bigint", "description": null}, {"name": "cm_drw_pcnt", "type": "bigint", "description": null}, {"name": "gmony", "type": "double", "description": null}, {"name": "cm_insu_mony", "type": "double", "description": null}, {"name": "web_chag_mony", "type": "double", "description": null}, {"name": "lst_chnlid", "type": "string", "description": null}, {"name": "lst_dd_pcnt", "type": "bigint", "description": null}, {"name": "cm_allin_tcnt", "type": "bigint", "description": null}, {"name": "over_mony", "type": "double", "description": null}, {"name": "lst_over_mony_dt", "type": "string", "description": null}, {"name": "lst_re_chag_tp", "type": "string", "description": null}, {"name": "lst_re_chag_dt", "type": "string", "description": null}, {"name": "lst_game_end_dt", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "bet_yn", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_go_user_d01` ( `userid` string COMMENT 'None', `userno` bigint COMMENT 'None', `custno` bigint COMMENT 'None', `join_dt` string COMMENT 'None', `lst_game_dt` string COMMENT 'None', `game_grd_cd` string COMMENT 'None', `game_grd_nm` string COMMENT 'None', `guildid` string COMMENT 'None', `cm_pcnt` bigint COMMENT 'None', `cm_win_pcnt` bigint COMMENT 'None', `cm_los_pcnt` bigint COMMENT 'None', `cm_drw_pcnt` bigint COMMENT 'None', `gmony` double COMMENT 'None', `cm_insu_mony` double COMMENT 'None', `web_chag_mony` double COMMENT 'None', `lst_chnlid` string COMMENT 'None', `lst_dd_pcnt` bigint COMMENT 'None', `cm_allin_tcnt` bigint COMMENT 'None', `over_mony` double COMMENT 'None', `lst_over_mony_dt` string COMMENT 'None', `lst_re_chag_tp` string COMMENT 'None', `lst_re_chag_dt` string COMMENT 'None', `lst_game_end_dt` string COMMENT 'None', `ci` string COMMENT 'None', `bet_yn` string COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_go_user_hist", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "log_dt", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "pcb_cd", "type": "string", "description": null}, {"name": "pcb_grd_cd", "type": "string", "description": null}, {"name": "ptm_ss", "type": "bigint", "description": null}, {"name": "pcb_yn", "type": "string", "description": null}, {"name": "bef_game_grd_cd", "type": "string", "description": null}, {"name": "bef_gmony", "type": "double", "description": null}, {"name": "bef_insu_mony", "type": "double", "description": null}, {"name": "chg_gmony", "type": "double", "description": null}, {"name": "aft_gmony", "type": "double", "description": null}, {"name": "aft_game_grd_cd", "type": "string", "description": null}, {"name": "aft_insu_mony", "type": "double", "description": null}, {"name": "evnt_mony", "type": "double", "description": null}, {"name": "delta_mony", "type": "double", "description": null}, {"name": "ip", "type": "string", "description": null}, {"name": "locl_ip", "type": "string", "description": null}, {"name": "mac", "type": "string", "description": null}, {"name": "scr", "type": "bigint", "description": null}, {"name": "go_tcnt", "type": "bigint", "description": null}, {"name": "kwbak_yn", "type": "string", "description": null}, {"name": "pibak_yn", "type": "string", "description": null}, {"name": "gobak_yn", "type": "string", "description": null}, {"name": "push_dbl", "type": "string", "description": null}, {"name": "jjok_tcnt", "type": "bigint", "description": null}, {"name": "ppok_tcnt", "type": "bigint", "description": null}, {"name": "ddak_tcnt", "type": "bigint", "description": null}, {"name": "fst_trn_dept_yn", "type": "string", "description": null}, {"name": "sspi_yn", "type": "string", "description": null}, {"name": "chnc_use_yn", "type": "string", "description": null}, {"name": "allin_popup_yn", "type": "string", "description": null}, {"name": "multi_conn_yn", "type": "string", "description": null}, {"name": "hkng_yn", "type": "string", "description": null}, {"name": "inflw_chnl_cd", "type": "string", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "bet_pcnt", "type": "bigint", "description": null}, {"name": "bet_chg_mony", "type": "double", "description": null}, {"name": "bet_dealr_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_go_user_hist` ( `seq` bigint COMMENT 'None', `userid` string COMMENT 'None', `log_dt` string COMMENT 'None', `chnl_cd` string COMMENT 'None', `chnl_id` string COMMENT 'None', `pcb_cd` string COMMENT 'None', `pcb_grd_cd` string COMMENT 'None', `ptm_ss` bigint COMMENT 'None', `pcb_yn` string COMMENT 'None', `bef_game_grd_cd` string COMMENT 'None', `bef_gmony` double COMMENT 'None', `bef_insu_mony` double COMMENT 'None', `chg_gmony` double COMMENT 'None', `aft_gmony` double COMMENT 'None', `aft_game_grd_cd` string COMMENT 'None', `aft_insu_mony` double COMMENT 'None', `evnt_mony` double COMMENT 'None', `delta_mony` double COMMENT 'None', `ip` string COMMENT 'None', `locl_ip` string COMMENT 'None', `mac` string COMMENT 'None', `scr` bigint COMMENT 'None', `go_tcnt` bigint COMMENT 'None', `kwbak_yn` string COMMENT 'None', `pibak_yn` string COMMENT 'None', `gobak_yn` string COMMENT 'None', `push_dbl` string COMMENT 'None', `jjok_tcnt` bigint COMMENT 'None', `ppok_tcnt` bigint COMMENT 'None', `ddak_tcnt` bigint COMMENT 'None', `fst_trn_dept_yn` string COMMENT 'None', `sspi_yn` string COMMENT 'None', `chnc_use_yn` string COMMENT 'None', `allin_popup_yn` string COMMENT 'None', `multi_conn_yn` string COMMENT 'None', `hkng_yn` string COMMENT 'None', `inflw_chnl_cd` string COMMENT 'None', `userno` bigint COMMENT 'None', `bet_pcnt` bigint COMMENT 'None', `bet_chg_mony` double COMMENT 'None', `bet_dealr_mony` double COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_go_user_hist_d01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "game_tp_cd", "type": "string", "description": null}, {"name": "room_prop_cd", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "ip", "type": "string", "description": null}, {"name": "inflw_chnl_cd", "type": "string", "description": null}, {"name": "gmony_secn_cd", "type": "string", "description": null}, {"name": "seed_mony", "type": "double", "description": null}, {"name": "plyr_cnt", "type": "bigint", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "win_pcnt", "type": "bigint", "description": null}, {"name": "los_pcnt", "type": "bigint", "description": null}, {"name": "win_mony", "type": "double", "description": null}, {"name": "los_mony", "type": "double", "description": null}, {"name": "allin_tcnt", "type": "bigint", "description": null}, {"name": "ptm_mi", "type": "double", "description": null}, {"name": "win_scr", "type": "bigint", "description": null}, {"name": "scr", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_go_user_hist_d01` ( `game_cd` string COMMENT 'None', `userid` string COMMENT 'None', `chnl_cd` string COMMENT 'None', `game_tp_cd` string COMMENT 'None', `room_prop_cd` string COMMENT 'None', `game_grd_cd` string COMMENT 'None', `ip` string COMMENT 'None', `inflw_chnl_cd` string COMMENT 'None', `gmony_secn_cd` string COMMENT 'None', `seed_mony` double COMMENT 'None', `plyr_cnt` bigint COMMENT 'None', `userno` bigint COMMENT 'None', `custno` bigint COMMENT 'None', `user_pcnt` bigint COMMENT 'None', `win_pcnt` bigint COMMENT 'None', `los_pcnt` bigint COMMENT 'None', `win_mony` double COMMENT 'None', `los_mony` double COMMENT 'None', `allin_tcnt` bigint COMMENT 'None', `ptm_mi` double COMMENT 'None', `win_scr` bigint COMMENT 'None', `scr` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_gotn_game_hist", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "tnmt_no", "type": "bigint", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "chnlid", "type": "string", "description": null}, {"name": "room_id", "type": "bigint", "description": null}, {"name": "rnd_no", "type": "bigint", "description": null}, {"name": "unit_mony", "type": "bigint", "description": null}, {"name": "ptm_ss", "type": "bigint", "description": null}, {"name": "lead_id", "type": "string", "description": null}, {"name": "win_id", "type": "string", "description": null}, {"name": "win_scr", "type": "bigint", "description": null}, {"name": "log_dt", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_gotn_game_hist` ( `seq` bigint COMMENT 'None', `tnmt_no` bigint COMMENT 'None', `chnl_cd` string COMMENT 'None', `chnlid` string COMMENT 'None', `room_id` bigint COMMENT 'None', `rnd_no` bigint COMMENT 'None', `unit_mony` bigint COMMENT 'None', `ptm_ss` bigint COMMENT 'None', `lead_id` string COMMENT 'None', `win_id` string COMMENT 'None', `win_scr` bigint COMMENT 'None', `log_dt` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_gotn_tnmt_user_d01", "description": null, "columns": [{"name": "tnmt_no", "type": "bigint", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "chnlid", "type": "string", "description": null}, {"name": "strt_tnmt_mony", "type": "double", "description": null}, {"name": "end_tnmt_mony", "type": "double", "description": null}, {"name": "prpt_gmony", "type": "double", "description": null}, {"name": "prpt_game_grd_cd", "type": "bigint", "description": null}, {"name": "prpt_dt", "type": "string", "description": null}, {"name": "wpt", "type": "bigint", "description": null}, {"name": "rnk", "type": "bigint", "description": null}, {"name": "wdr_yn", "type": "string", "description": null}, {"name": "enfc_end_yn", "type": "string", "description": null}, {"name": "lst_mod_dt", "type": "string", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "ptm", "type": "double", "description": null}, {"name": "los_mony", "type": "double", "description": null}, {"name": "scr", "type": "bigint", "description": null}, {"name": "prpt_game_grd_nm", "type": "string", "description": null}, {"name": "prpt_item_use_yn", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_gotn_tnmt_user_d01` ( `tnmt_no` bigint COMMENT 'None', `chnl_cd` string COMMENT 'None', `userid` string COMMENT 'None', `chnlid` string COMMENT 'None', `strt_tnmt_mony` double COMMENT 'None', `end_tnmt_mony` double COMMENT 'None', `prpt_gmony` double COMMENT 'None', `prpt_game_grd_cd` bigint COMMENT 'None', `prpt_dt` string COMMENT 'None', `wpt` bigint COMMENT 'None', `rnk` bigint COMMENT 'None', `wdr_yn` string COMMENT 'None', `enfc_end_yn` string COMMENT 'None', `lst_mod_dt` string COMMENT 'None', `user_pcnt` bigint COMMENT 'None', `ptm` double COMMENT 'None', `los_mony` double COMMENT 'None', `scr` bigint COMMENT 'None', `prpt_game_grd_nm` string COMMENT 'None', `prpt_item_use_yn` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_gotn_user_d01", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "cm_wpt", "type": "bigint", "description": null}, {"name": "get_go_cm_mony", "type": "double", "description": null}, {"name": "lst_prpt_chnlid", "type": "string", "description": null}, {"name": "lst_rnk", "type": "bigint", "description": null}, {"name": "rltt_out_tnmt_no", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_gotn_user_d01` ( `userid` string COMMENT 'None', `game_cd` string COMMENT 'None', `userno` bigint COMMENT 'None', `custno` bigint COMMENT 'None', `join_dt` string COMMENT 'None', `lst_game_dt` string COMMENT 'None', `cm_wpt` bigint COMMENT 'None', `get_go_cm_mony` double COMMENT 'None', `lst_prpt_chnlid` string COMMENT 'None', `lst_rnk` bigint COMMENT 'None', `rltt_out_tnmt_no` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_gotn_user_hist", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "tnmt_no", "type": "bigint", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "chnlid", "type": "string", "description": null}, {"name": "rnd_no", "type": "bigint", "description": null}, {"name": "bef_tnmt_mony", "type": "double", "description": null}, {"name": "chg_tnmt_mony", "type": "double", "description": null}, {"name": "aft_tnmt_mony", "type": "double", "description": null}, {"name": "scr", "type": "bigint", "description": null}, {"name": "winr_yn", "type": "string", "description": null}, {"name": "wdr_yn", "type": "string", "description": null}, {"name": "enfc_end_yn", "type": "string", "description": null}, {"name": "ptm_ss", "type": "bigint", "description": null}, {"name": "bak_yn", "type": "string", "description": null}, {"name": "mac", "type": "string", "description": null}, {"name": "pcb_yn", "type": "string", "description": null}, {"name": "jjok_tcnt", "type": "bigint", "description": null}, {"name": "ppok_tcnt", "type": "bigint", "description": null}, {"name": "ddak_tcnt", "type": "bigint", "description": null}, {"name": "sspi_yn", "type": "string", "description": null}, {"name": "fst_trn_dept_yn", "type": "string", "description": null}, {"name": "multi_conn_yn", "type": "string", "description": null}, {"name": "scr_info", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_gotn_user_hist` ( `seq` bigint COMMENT 'None', `userid` string COMMENT 'None', `tnmt_no` bigint COMMENT 'None', `chnl_cd` string COMMENT 'None', `chnlid` string COMMENT 'None', `rnd_no` bigint COMMENT 'None', `bef_tnmt_mony` double COMMENT 'None', `chg_tnmt_mony` double COMMENT 'None', `aft_tnmt_mony` double COMMENT 'None', `scr` bigint COMMENT 'None', `winr_yn` string COMMENT 'None', `wdr_yn` string COMMENT 'None', `enfc_end_yn` string COMMENT 'None', `ptm_ss` bigint COMMENT 'None', `bak_yn` string COMMENT 'None', `mac` string COMMENT 'None', `pcb_yn` string COMMENT 'None', `jjok_tcnt` bigint COMMENT 'None', `ppok_tcnt` bigint COMMENT 'None', `ddak_tcnt` bigint COMMENT 'None', `sspi_yn` string COMMENT 'None', `fst_trn_dept_yn` string COMMENT 'None', `multi_conn_yn` string COMMENT 'None', `scr_info` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_mblg_game_user_d01", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "hg_userid", "type": "string", "description": null}, {"name": "sngl_game_use_yn", "type": "string", "description": null}, {"name": "game_grd_tp_cd", "type": "string", "description": null}, {"name": "rat_join_dt", "type": "string", "description": null}, {"name": "join_prd_cd", "type": "string", "description": null}, {"name": "rat_lst_game_dt", "type": "string", "description": null}, {"name": "lst_game_prd_cd", "type": "string", "description": null}, {"name": "pcnt_secn_cd", "type": "string", "description": null}, {"name": "ptm_secn_cd", "type": "string", "description": null}, {"name": "cm_pcnt", "type": "bigint", "description": null}, {"name": "cm_win_pcnt", "type": "bigint", "description": null}, {"name": "cm_sngl_pcnt", "type": "bigint", "description": null}, {"name": "tdd_pcnt", "type": "bigint", "description": null}, {"name": "tdd_sngl_pcnt", "type": "bigint", "description": null}, {"name": "cm_ptm", "type": "double", "description": null}, {"name": "tdd_ptm", "type": "double", "description": null}, {"name": "mony", "type": "bigint", "description": null}, {"name": "coin", "type": "bigint", "description": null}, {"name": "fchg_mony", "type": "bigint", "description": null}, {"name": "fchg_coin", "type": "bigint", "description": null}, {"name": "invt_inflw_yn", "type": "string", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "ltr_etc2", "type": "string", "description": null}, {"name": "ltr_etc3", "type": "string", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "num_etc2", "type": "bigint", "description": null}, {"name": "num_etc3", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "del_appl_ver", "type": "string", "description": null}, {"name": "del_os_cd", "type": "string", "description": null}, {"name": "del_os_ver", "type": "string", "description": null}, {"name": "del_dev_key", "type": "string", "description": null}, {"name": "del_dev_mdl", "type": "string", "description": null}, {"name": "del_mket_cd", "type": "string", "description": null}, {"name": "del_lst_login_dt", "type": "string", "description": null}, {"name": "del_login_cnt", "type": "bigint", "description": null}, {"name": "ltr_etc4", "type": "string", "description": null}, {"name": "num_etc4", "type": "bigint", "description": null}, {"name": "ltr_etc5", "type": "string", "description": null}, {"name": "ltr_etc6", "type": "string", "description": null}, {"name": "num_etc5", "type": "bigint", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "num_etc6", "type": "bigint", "description": null}, {"name": "num_etc7", "type": "bigint", "description": null}, {"name": "num_etc8", "type": "bigint", "description": null}, {"name": "ltr_etc7", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "ltr_etc8", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_mblg_game_user_d01` ( `userno` string COMMENT 'None', `st_cd` string COMMENT 'None', `hg_userid` string COMMENT 'None', `sngl_game_use_yn` string COMMENT 'None', `game_grd_tp_cd` string COMMENT 'None', `rat_join_dt` string COMMENT 'None', `join_prd_cd` string COMMENT 'None', `rat_lst_game_dt` string COMMENT 'None', `lst_game_prd_cd` string COMMENT 'None', `pcnt_secn_cd` string COMMENT 'None', `ptm_secn_cd` string COMMENT 'None', `cm_pcnt` bigint COMMENT 'None', `cm_win_pcnt` bigint COMMENT 'None', `cm_sngl_pcnt` bigint COMMENT 'None', `tdd_pcnt` bigint COMMENT 'None', `tdd_sngl_pcnt` bigint COMMENT 'None', `cm_ptm` double COMMENT 'None', `tdd_ptm` double COMMENT 'None', `mony` bigint COMMENT 'None', `coin` bigint COMMENT 'None', `fchg_mony` bigint COMMENT 'None', `fchg_coin` bigint COMMENT 'None', `invt_inflw_yn` string COMMENT 'None', `ltr_etc1` string COMMENT 'None', `ltr_etc2` string COMMENT 'None', `ltr_etc3` string COMMENT 'None', `num_etc1` bigint COMMENT 'None', `num_etc2` bigint COMMENT 'None', `num_etc3` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `del_appl_ver` string COMMENT 'None', `del_os_cd` string COMMENT 'None', `del_os_ver` string COMMENT 'None', `del_dev_key` string COMMENT 'None', `del_dev_mdl` string COMMENT 'None', `del_mket_cd` string COMMENT 'None', `del_lst_login_dt` string COMMENT 'None', `del_login_cnt` bigint COMMENT 'None', `ltr_etc4` string COMMENT 'None', `num_etc4` bigint COMMENT 'None', `ltr_etc5` string COMMENT 'None', `ltr_etc6` string COMMENT 'None', `num_etc5` bigint COMMENT 'None', `ci` string COMMENT 'None', `num_etc6` bigint COMMENT 'None', `num_etc7` bigint COMMENT 'None', `num_etc8` bigint COMMENT 'None', `ltr_etc7` string COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None', `ltr_etc8` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_mblg_msduelgo_user_hist", "description": null, "columns": [{"name": "game_seq", "type": "bigint", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "opnt_userno", "type": "string", "description": null}, {"name": "intrm_setl_mony", "type": "bigint", "description": null}, {"name": "dealr_mony", "type": "bigint", "description": null}, {"name": "chg_mony", "type": "bigint", "description": null}, {"name": "bef_mony", "type": "bigint", "description": null}, {"name": "aft_mony", "type": "bigint", "description": null}, {"name": "mssn_id", "type": "int", "description": null}, {"name": "mssn_achv_yn", "type": "int", "description": null}, {"name": "mssn_dbl", "type": "int", "description": null}, {"name": "mssn_pnt", "type": "int", "description": null}, {"name": "go_tcnt", "type": "int", "description": null}, {"name": "game_stat", "type": "int", "description": null}, {"name": "win_yn", "type": "int", "description": null}, {"name": "push_dbl", "type": "int", "description": null}, {"name": "scr", "type": "int", "description": null}, {"name": "log_dt", "type": "string", "description": null}, {"name": "game_end_dt", "type": "string", "description": null}, {"name": "conn_end_dt", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "game_type", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_mblg_msduelgo_user_hist` ( `game_seq` bigint COMMENT 'None', `userno` string COMMENT 'None', `opnt_userno` string COMMENT 'None', `intrm_setl_mony` bigint COMMENT 'None', `dealr_mony` bigint COMMENT 'None', `chg_mony` bigint COMMENT 'None', `bef_mony` bigint COMMENT 'None', `aft_mony` bigint COMMENT 'None', `mssn_id` int COMMENT 'None', `mssn_achv_yn` int COMMENT 'None', `mssn_dbl` int COMMENT 'None', `mssn_pnt` int COMMENT 'None', `go_tcnt` int COMMENT 'None', `game_stat` int COMMENT 'None', `win_yn` int COMMENT 'None', `push_dbl` int COMMENT 'None', `scr` int COMMENT 'None', `log_dt` string COMMENT 'None', `game_end_dt` string COMMENT 'None', `conn_end_dt` string COMMENT 'None', `ci` string COMMENT 'None', `game_type` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_mblg_msduelgo_user_mtr", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "acnt_tp_cd", "type": "int", "description": null}, {"name": "egg", "type": "bigint", "description": null}, {"name": "ball", "type": "bigint", "description": null}, {"name": "gmony", "type": "bigint", "description": null}, {"name": "safe_mony", "type": "bigint", "description": null}, {"name": "cm_pcnt", "type": "int", "description": null}, {"name": "cm_win_pcnt", "type": "int", "description": null}, {"name": "cm_los_pcnt", "type": "int", "description": null}, {"name": "stvic_cnt", "type": "int", "description": null}, {"name": "hdn_shop_tp_cd", "type": "int", "description": null}, {"name": "fre_chag_rst_tcnt", "type": "int", "description": null}, {"name": "lst_mod_dt", "type": "string", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}, {"name": "rstct_user_yn", "type": "string", "description": null}, {"name": "mbrs_prod_cd", "type": "string", "description": null}, {"name": "mbrs_stat_cd", "type": "bigint", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "coin", "type": "bigint", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "los_rstct_mony", "type": "double", "description": null}, {"name": "cm_duel_pcnt", "type": "bigint", "description": null}, {"name": "cm_win_duel_pcnt", "type": "bigint", "description": null}, {"name": "cm_los_duel_pcnt", "type": "bigint", "description": null}, {"name": "stvic_duel_cnt", "type": "bigint", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_mblg_msduelgo_user_mtr` ( `userno` string COMMENT 'None', `acnt_tp_cd` int COMMENT 'None', `egg` bigint COMMENT 'None', `ball` bigint COMMENT 'None', `gmony` bigint COMMENT 'None', `safe_mony` bigint COMMENT 'None', `cm_pcnt` int COMMENT 'None', `cm_win_pcnt` int COMMENT 'None', `cm_los_pcnt` int COMMENT 'None', `stvic_cnt` int COMMENT 'None', `hdn_shop_tp_cd` int COMMENT 'None', `fre_chag_rst_tcnt` int COMMENT 'None', `lst_mod_dt` string COMMENT 'None', `rgst_dt` string COMMENT 'None', `rstct_user_yn` string COMMENT 'None', `mbrs_prod_cd` string COMMENT 'None', `mbrs_stat_cd` bigint COMMENT 'None', `ci` string COMMENT 'None', `coin` bigint COMMENT 'None', `game_grd_cd` string COMMENT 'None', `los_rstct_mony` double COMMENT 'None', `cm_duel_pcnt` bigint COMMENT 'None', `cm_win_duel_pcnt` bigint COMMENT 'None', `cm_los_duel_pcnt` bigint COMMENT 'None', `stvic_duel_cnt` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_mony_cd_mtr", "description": null, "columns": [{"name": "mony_cd", "type": "string", "description": null}, {"name": "mony_nm", "type": "string", "description": null}, {"name": "mony_desc", "type": "string", "description": null}, {"name": "mony_cat_cd", "type": "string", "description": null}, {"name": "mony_cat_nm", "type": "string", "description": null}, {"name": "strt_ymd", "type": "string", "description": null}, {"name": "out_in_tp_cd", "type": "string", "description": null}, {"name": "rep_game_cd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_mony_cd_mtr` ( `mony_cd` string COMMENT 'None', `mony_nm` string COMMENT 'None', `mony_desc` string COMMENT 'None', `mony_cat_cd` string COMMENT 'None', `mony_cat_nm` string COMMENT 'None', `strt_ymd` string COMMENT 'None', `out_in_tp_cd` string COMMENT 'None', `rep_game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "sg_go_hld_mony_sd01", "description": null, "columns": [{"name": "lst_game_prd_cd", "type": "string", "description": null}, {"name": "game_grd_nm", "type": "string", "description": null}, {"name": "game_mony", "type": "double", "description": null}, {"name": "web_chag_mony", "type": "double", "description": null}, {"name": "insu_mony", "type": "double", "description": null}, {"name": "hld_mony", "type": "double", "description": null}, {"name": "stop_mony", "type": "double", "description": null}, {"name": "del_pre_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`sg_go_hld_mony_sd01` ( `lst_game_prd_cd` string COMMENT 'None', `game_grd_nm` string COMMENT 'None', `game_mony` double COMMENT 'None', `web_chag_mony` double COMMENT 'None', `insu_mony` double COMMENT 'None', `hld_mony` double COMMENT 'None', `stop_mony` double COMMENT 'None', `del_pre_mony` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "sg_std_indr_sale_sd01", "description": null, "columns": [{"name": "lcls_cd", "type": "string", "description": null}, {"name": "mcls_cd", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "mcls_nm", "type": "string", "description": null}, {"name": "org_nm", "type": "string", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "pcb_nsamt", "type": "double", "description": null}, {"name": "endp_samt", "type": "double", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "mm_cm_nsamt", "type": "double", "description": null}, {"name": "mm_cm_endp_samt", "type": "double", "description": null}, {"name": "mm_cm_pu", "type": "bigint", "description": null}, {"name": "new_pu", "type": "bigint", "description": null}, {"name": "samt_jpy", "type": "double", "description": null}, {"name": "mm_cm_samt_jpy", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`sg_std_indr_sale_sd01` ( `lcls_cd` string COMMENT 'None', `mcls_cd` string COMMENT 'None', `org_cd` string COMMENT 'None', `lcls_nm` string COMMENT 'None', `mcls_nm` string COMMENT 'None', `org_nm` string COMMENT 'None', `nsamt` double COMMENT 'None', `pcb_nsamt` double COMMENT 'None', `endp_samt` double COMMENT 'None', `pu` bigint COMMENT 'None', `mm_cm_nsamt` double COMMENT 'None', `mm_cm_endp_samt` double COMMENT 'None', `mm_cm_pu` bigint COMMENT 'None', `new_pu` bigint COMMENT 'None', `samt_jpy` double COMMENT 'None', `mm_cm_samt_jpy` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "sg_std_indr_sm01", "description": null, "columns": [{"name": "lcls_cd", "type": "string", "description": null}, {"name": "mcls_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "mcls_nm", "type": "string", "description": null}, {"name": "game_nm", "type": "string", "description": null}, {"name": "mm_ucnt", "type": "bigint", "description": null}, {"name": "cntnu_ucnt", "type": "bigint", "description": null}, {"name": "secd_ucnt", "type": "bigint", "description": null}, {"name": "cmbck_ucnt", "type": "bigint", "description": null}, {"name": "vst_dcnt", "type": "bigint", "description": null}, {"name": "prncp_certi_yn", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`sg_std_indr_sm01` ( `lcls_cd` string COMMENT 'None', `mcls_cd` string COMMENT 'None', `game_cd` string COMMENT 'None', `org_cd` string COMMENT 'None', `lcls_nm` string COMMENT 'None', `mcls_nm` string COMMENT 'None', `game_nm` string COMMENT 'None', `mm_ucnt` bigint COMMENT 'None', `cntnu_ucnt` bigint COMMENT 'None', `secd_ucnt` bigint COMMENT 'None', `cmbck_ucnt` bigint COMMENT 'None', `vst_dcnt` bigint COMMENT 'None', `prncp_certi_yn` string COMMENT 'None', `nat_cd` string COMMENT 'None', `os_cd` string COMMENT 'None', `ltr_etc1` string COMMENT 'None', `work_ym` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dc_eva_evnt_gift_mtr", "description": null, "columns": [{"name": "gift_cd", "type": "bigint", "description": null}, {"name": "evnt_cd", "type": "bigint", "description": null}, {"name": "evnt_no", "type": "bigint", "description": null}, {"name": "gift_nm", "type": "string", "description": null}, {"name": "gift_tp_nm", "type": "string", "description": null}, {"name": "gift_desc", "type": "string", "description": null}, {"name": "gift_grp_cd", "type": "bigint", "description": null}, {"name": "gift_grp_map_cd", "type": "string", "description": null}, {"name": "win_rt", "type": "string", "description": null}, {"name": "enty_cond1", "type": "bigint", "description": null}, {"name": "enty_cond2", "type": "bigint", "description": null}, {"name": "enty_cond3", "type": "bigint", "description": null}, {"name": "rgstr_empno", "type": "string", "description": null}, {"name": "rgstr_nm", "type": "string", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dc_eva_evnt_gift_mtr` ( `gift_cd` bigint COMMENT 'None', `evnt_cd` bigint COMMENT 'None', `evnt_no` bigint COMMENT 'None', `gift_nm` string COMMENT 'None', `gift_tp_nm` string COMMENT 'None', `gift_desc` string COMMENT 'None', `gift_grp_cd` bigint COMMENT 'None', `gift_grp_map_cd` string COMMENT 'None', `win_rt` string COMMENT 'None', `enty_cond1` bigint COMMENT 'None', `enty_cond2` bigint COMMENT 'None', `enty_cond3` bigint COMMENT 'None', `rgstr_empno` string COMMENT 'None', `rgstr_nm` string COMMENT 'None', `rgst_dt` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dc_eva_evnt_mtr", "description": null, "columns": [{"name": "evnt_cd", "type": "bigint", "description": null}, {"name": "evnt_nm", "type": "string", "description": null}, {"name": "stat_cd", "type": "string", "description": null}, {"name": "strt_dt", "type": "string", "description": null}, {"name": "end_dt", "type": "string", "description": null}, {"name": "evnt_no_tp", "type": "bigint", "description": null}, {"name": "rgstr_empno", "type": "string", "description": null}, {"name": "rgstr_nm", "type": "string", "description": null}, {"name": "evnt_grp_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dc_eva_evnt_mtr` ( `evnt_cd` bigint COMMENT 'None', `evnt_nm` string COMMENT 'None', `stat_cd` string COMMENT 'None', `strt_dt` string COMMENT 'None', `end_dt` string COMMENT 'None', `evnt_no_tp` bigint COMMENT 'None', `rgstr_empno` string COMMENT 'None', `rgstr_nm` string COMMENT 'None', `evnt_grp_cd` string COMMENT 'None', `game_cd` string COMMENT 'None', `rgst_dt` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_go_ppoint_use_hist", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "game_grd_nm", "type": "string", "description": null}, {"name": "use_tp_cd", "type": "string", "description": null}, {"name": "eva_evnt_cd", "type": "bigint", "description": null}, {"name": "eva_gift_grp_cd", "type": "bigint", "description": null}, {"name": "eva_gift_cd", "type": "bigint", "description": null}, {"name": "use_pnt", "type": "bigint", "description": null}, {"name": "use_cnt", "type": "bigint", "description": null}, {"name": "exchg_mony", "type": "double", "description": null}, {"name": "mony_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_go_ppoint_use_hist` ( `userid` string COMMENT 'None', `game_grd_nm` string COMMENT 'None', `use_tp_cd` string COMMENT 'None', `eva_evnt_cd` bigint COMMENT 'None', `eva_gift_grp_cd` bigint COMMENT 'None', `eva_gift_cd` bigint COMMENT 'None', `use_pnt` bigint COMMENT 'None', `use_cnt` bigint COMMENT 'None', `exchg_mony` double COMMENT 'None', `mony_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_go_ppoint_user_d01", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "pnt", "type": "bigint", "description": null}, {"name": "use_pnt", "type": "bigint", "description": null}, {"name": "happy_time_dbl", "type": "bigint", "description": null}, {"name": "happy_item_strt_dt", "type": "string", "description": null}, {"name": "pnt_dt", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_dt", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_go_ppoint_user_d01` ( `userid` string COMMENT 'None', `pnt` bigint COMMENT 'None', `use_pnt` bigint COMMENT 'None', `happy_time_dbl` bigint COMMENT 'None', `happy_item_strt_dt` string COMMENT 'None', `pnt_dt` string COMMENT 'None', `join_dt` string COMMENT 'None', `lst_dt` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "db_endp_sale_d01", "description": null, "columns": [{"name": "pay_chnl_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "sale_cd", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "samt_jpy", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`db_endp_sale_d01` ( `pay_chnl_cd` string COMMENT 'None', `userid` string COMMENT 'None', `sale_cd` string COMMENT 'None', `st_cd` string COMMENT 'None', `samt` double COMMENT 'None', `nsamt` double COMMENT 'None', `sale_cnt` bigint COMMENT 'None', `userno` bigint COMMENT 'None', `custno` bigint COMMENT 'None', `samt_jpy` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "db_prod_sale_hist", "description": null, "columns": [{"name": "work_hh", "type": "string", "description": null}, {"name": "pay_chnl_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "prod_seq", "type": "string", "description": null}, {"name": "pay_tp_cd", "type": "string", "description": null}, {"name": "pay_mns_cd", "type": "string", "description": null}, {"name": "atmt_pay_yn", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "noml_amt", "type": "double", "description": null}, {"name": "noml_cnt", "type": "bigint", "description": null}, {"name": "canc_amt", "type": "double", "description": null}, {"name": "canc_cnt", "type": "bigint", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "fre_samt", "type": "double", "description": null}, {"name": "fre_nsamt", "type": "double", "description": null}, {"name": "net_noml_amt", "type": "double", "description": null}, {"name": "net_canc_amt", "type": "double", "description": null}, {"name": "pay_mnsid", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "samt_jpy", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`db_prod_sale_hist` ( `work_hh` string COMMENT 'None', `pay_chnl_cd` string COMMENT 'None', `userid` string COMMENT 'None', `prod_seq` string COMMENT 'None', `pay_tp_cd` string COMMENT 'None', `pay_mns_cd` string COMMENT 'None', `atmt_pay_yn` string COMMENT 'None', `st_cd` string COMMENT 'None', `samt` double COMMENT 'None', `nsamt` double COMMENT 'None', `sale_cnt` bigint COMMENT 'None', `noml_amt` double COMMENT 'None', `noml_cnt` bigint COMMENT 'None', `canc_amt` double COMMENT 'None', `canc_cnt` bigint COMMENT 'None', `userno` bigint COMMENT 'None', `custno` bigint COMMENT 'None', `fre_samt` double COMMENT 'None', `fre_nsamt` double COMMENT 'None', `net_noml_amt` double COMMENT 'None', `net_canc_amt` double COMMENT 'None', `pay_mnsid` string COMMENT 'None', `game_grd_cd` string COMMENT 'None', `nat_cd` string COMMENT 'None', `samt_jpy` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dc_grp_cd_d01", "description": null, "columns": [{"name": "grp_cd", "type": "string", "description": null}, {"name": "grp_nm", "type": "string", "description": null}, {"name": "grp_eng_nm", "type": "string", "description": null}, {"name": "cd_len", "type": "string", "description": null}, {"name": "cd_tp_cd", "type": "string", "description": null}, {"name": "grp_scls_cd", "type": "string", "description": null}, {"name": "grp_mcls_cd", "type": "string", "description": null}, {"name": "grp_desc", "type": "string", "description": null}, {"name": "end_ymd", "type": "string", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}, {"name": "rgstr", "type": "string", "description": null}, {"name": "lst_mod_dt", "type": "string", "description": null}, {"name": "fdw_use_yn", "type": "string", "description": null}, {"name": "modr", "type": "string", "description": null}, {"name": "del_yn", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dc_grp_cd_d01` ( `grp_cd` string COMMENT 'None', `grp_nm` string COMMENT 'None', `grp_eng_nm` string COMMENT 'None', `cd_len` string COMMENT 'None', `cd_tp_cd` string COMMENT 'None', `grp_scls_cd` string COMMENT 'None', `grp_mcls_cd` string COMMENT 'None', `grp_desc` string COMMENT 'None', `end_ymd` string COMMENT 'None', `rgst_dt` string COMMENT 'None', `rgstr` string COMMENT 'None', `lst_mod_dt` string COMMENT 'None', `fdw_use_yn` string COMMENT 'None', `modr` string COMMENT 'None', `del_yn` string COMMENT 'None', `game_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dc_prod_cd_mtr", "description": null, "columns": [{"name": "prod_seq", "type": "string", "description": null}, {"name": "prodid", "type": "string", "description": null}, {"name": "prod_nm", "type": "string", "description": null}, {"name": "sale_cd", "type": "string", "description": null}, {"name": "sale2_cd", "type": "string", "description": null}, {"name": "cpid", "type": "string", "description": null}, {"name": "cp_nm", "type": "string", "description": null}, {"name": "svc_seq", "type": "string", "description": null}, {"name": "svc_nm", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "stat_cd", "type": "string", "description": null}, {"name": "age_rstct_cd", "type": "string", "description": null}, {"name": "rlnm_certi_yn", "type": "string", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}, {"name": "use_prd_tp_cd", "type": "string", "description": null}, {"name": "intnl_dvlp_yn", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dc_prod_cd_mtr` ( `prod_seq` string COMMENT 'None', `prodid` string COMMENT 'None', `prod_nm` string COMMENT 'None', `sale_cd` string COMMENT 'None', `sale2_cd` string COMMENT 'None', `cpid` string COMMENT 'None', `cp_nm` string COMMENT 'None', `svc_seq` string COMMENT 'None', `svc_nm` string COMMENT 'None', `chnl_cd` string COMMENT 'None', `stat_cd` string COMMENT 'None', `age_rstct_cd` string COMMENT 'None', `rlnm_certi_yn` string COMMENT 'None', `rgst_dt` string COMMENT 'None', `use_prd_tp_cd` string COMMENT 'None', `intnl_dvlp_yn` string COMMENT 'None', `org_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "md_tbl_d01", "description": null, "columns": [{"name": "dbname", "type": "string", "description": null}, {"name": "tbl_nm", "type": "string", "description": null}, {"name": "entt_nm", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "tbl_tp_cd", "type": "string", "description": null}, {"name": "tbl_stat_cd", "type": "string", "description": null}, {"name": "work_hh", "type": "string", "description": null}, {"name": "sms_chk_yn", "type": "string", "description": null}, {"name": "strt_ymd", "type": "string", "description": null}, {"name": "tbl_desc", "type": "string", "description": null}, {"name": "log_date", "type": "timestamp", "description": null}, {"name": "stats_yn", "type": "string", "description": null}, {"name": "prttn_col_nm", "type": "string", "description": null}, {"name": "kpg_cyc", "type": "int", "description": null}, {"name": "data_cre_chrgr", "type": "string", "description": null}, {"name": "data_trnsf_chrgr", "type": "string", "description": null}, {"name": "trnsf_mthd", "type": "string", "description": null}, {"name": "svc_tp_cd", "type": "string", "description": null}, {"name": "end_ymd", "type": "string", "description": null}, {"name": "cln_cnt", "type": "bigint", "description": null}, {"name": "data_tp_cd", "type": "string", "description": null}, {"name": "rgst_date", "type": "timestamp", "description": null}, {"name": "rgstr", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`md_tbl_d01` ( `dbname` string COMMENT 'None', `tbl_nm` string COMMENT 'None', `entt_nm` string COMMENT 'None', `game_cd` string COMMENT 'None', `tbl_tp_cd` string COMMENT 'None', `tbl_stat_cd` string COMMENT 'None', `work_hh` string COMMENT 'None', `sms_chk_yn` string COMMENT 'None', `strt_ymd` string COMMENT 'None', `tbl_desc` string COMMENT 'None', `log_date` timestamp COMMENT 'None', `stats_yn` string COMMENT 'None', `prttn_col_nm` string COMMENT 'None', `kpg_cyc` int COMMENT 'None', `data_cre_chrgr` string COMMENT 'None', `data_trnsf_chrgr` string COMMENT 'None', `trnsf_mthd` string COMMENT 'None', `svc_tp_cd` string COMMENT 'None', `end_ymd` string COMMENT 'None', `cln_cnt` bigint COMMENT 'None', `data_tp_cd` string COMMENT 'None', `rgst_date` timestamp COMMENT 'None', `rgstr` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_adid_use_d01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "adid", "type": "string", "description": null}, {"name": "lst_dt", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_adid_use_d01` ( `game_cd` string COMMENT 'None', `adid` string COMMENT 'None', `lst_dt` string COMMENT 'None', `nat_cd` string COMMENT 'None', `os_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_game_adid_d01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "adid", "type": "string", "description": null}, {"name": "inflw_dt", "type": "string", "description": null}, {"name": "lst_dt", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "age_cd", "type": "string", "description": null}, {"name": "d365_samt", "type": "double", "description": null}, {"name": "d365_pu_yn", "type": "string", "description": null}, {"name": "d730_samt", "type": "double", "description": null}, {"name": "d730_pu_yn", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_game_adid_d01` ( `game_cd` string COMMENT 'None', `adid` string COMMENT 'None', `inflw_dt` string COMMENT 'None', `lst_dt` string COMMENT 'None', `nat_cd` string COMMENT 'None', `os_cd` string COMMENT 'None', `idp_cd` string COMMENT 'None', `idp_userno` string COMMENT 'None', `sex_cd` string COMMENT 'None', `age_cd` string COMMENT 'None', `d365_samt` double COMMENT 'None', `d365_pu_yn` string COMMENT 'None', `d730_samt` double COMMENT 'None', `d730_pu_yn` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_user_adid_mapng_d01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "adid", "type": "string", "description": null}, {"name": "log_dt", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "age_cd", "type": "string", "description": null}, {"name": "userid_ord", "type": "bigint", "description": null}, {"name": "idp_userid", "type": "string", "description": null}, {"name": "age_zn_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_user_adid_mapng_d01` ( `game_cd` string COMMENT 'None', `userid` string COMMENT 'None', `adid` string COMMENT 'None', `log_dt` string COMMENT 'None', `idp_cd` string COMMENT 'None', `idp_userno` string COMMENT 'None', `sex_cd` string COMMENT 'None', `age_cd` string COMMENT 'None', `userid_ord` bigint COMMENT 'None', `idp_userid` string COMMENT 'None', `age_zn_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dm_mbr_ci_game_sale_d01", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "fst_pay_ymd", "type": "string", "description": null}, {"name": "lst_pay_ymd", "type": "string", "description": null}, {"name": "cm_pay_amt", "type": "double", "description": null}, {"name": "cm_pay_cnt", "type": "bigint", "description": null}, {"name": "pay_cnt", "type": "bigint", "description": null}, {"name": "pay_amt", "type": "double", "description": null}, {"name": "slp_yn", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dm_mbr_ci_game_sale_d01` ( `rep_game_cd` string COMMENT 'None', `ci` string COMMENT 'None', `fst_pay_ymd` string COMMENT 'None', `lst_pay_ymd` string COMMENT 'None', `cm_pay_amt` double COMMENT 'None', `cm_pay_cnt` bigint COMMENT 'None', `pay_cnt` bigint COMMENT 'None', `pay_amt` double COMMENT 'None', `slp_yn` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "sg_game_adid_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "act_tp_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "age_cd", "type": "string", "description": null}, {"name": "cm_user", "type": "bigint", "description": null}, {"name": "new_ucnt", "type": "bigint", "description": null}, {"name": "d365_pu", "type": "bigint", "description": null}, {"name": "demo_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`sg_game_adid_sd01` ( `game_cd` string COMMENT 'None', `act_tp_cd` string COMMENT 'None', `nat_cd` string COMMENT 'None', `os_cd` string COMMENT 'None', `sex_cd` string COMMENT 'None', `age_cd` string COMMENT 'None', `cm_user` bigint COMMENT 'None', `new_ucnt` bigint COMMENT 'None', `d365_pu` bigint COMMENT 'None', `demo_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_go_regulation_hist", "description": null, "columns": [{"name": "los_rstct_mony", "type": "string", "description": null}, {"name": "rstct_chg_cnt", "type": "bigint", "description": null}, {"name": "tdd_rstct_set_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_go_regulation_hist` ( `los_rstct_mony` string COMMENT 'None', `rstct_chg_cnt` bigint COMMENT 'None', `tdd_rstct_set_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "db_endp_sale_hist", "description": null, "columns": [{"name": "pay_chnl_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "sale_cd", "type": "string", "description": null}, {"name": "prod_seq", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "custno", "type": "string", "description": null}, {"name": "samt_jpy", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`db_endp_sale_hist` ( `pay_chnl_cd` string COMMENT 'None', `userid` string COMMENT 'None', `sale_cd` string COMMENT 'None', `prod_seq` string COMMENT 'None', `st_cd` string COMMENT 'None', `samt` double COMMENT 'None', `nsamt` double COMMENT 'None', `sale_cnt` bigint COMMENT 'None', `userno` string COMMENT 'None', `custno` string COMMENT 'None', `samt_jpy` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_go_game_user_m01", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "use_game_cnt", "type": "bigint", "description": null}, {"name": "main_use_game_grd_cd", "type": "string", "description": null}, {"name": "main_use_game_cd", "type": "string", "description": null}, {"name": "main_use_game_pcnt", "type": "bigint", "description": null}, {"name": "main_use_game_los_mony", "type": "double", "description": null}, {"name": "main_use_game_win_mony", "type": "double", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "vst_dcnt", "type": "bigint", "description": null}, {"name": "win_pcnt", "type": "bigint", "description": null}, {"name": "los_pcnt", "type": "bigint", "description": null}, {"name": "win_mony", "type": "double", "description": null}, {"name": "los_mony", "type": "double", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_go_game_user_m01` ( `userid` string COMMENT 'None', `userno` bigint COMMENT 'None', `custno` bigint COMMENT 'None', `game_grd_cd` string COMMENT 'None', `use_game_cnt` bigint COMMENT 'None', `main_use_game_grd_cd` string COMMENT 'None', `main_use_game_cd` string COMMENT 'None', `main_use_game_pcnt` bigint COMMENT 'None', `main_use_game_los_mony` double COMMENT 'None', `main_use_game_win_mony` double COMMENT 'None', `user_pcnt` bigint COMMENT 'None', `vst_dcnt` bigint COMMENT 'None', `win_pcnt` bigint COMMENT 'None', `los_pcnt` bigint COMMENT 'None', `win_mony` double COMMENT 'None', `los_mony` double COMMENT 'None', `work_ym` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_mblg_certi_d01", "description": null, "columns": [{"name": "certi_sys_cd", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "gbase_app_id", "type": "string", "description": null}, {"name": "idp_certi_dt", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "mbr_stat_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_mblg_certi_d01` ( `certi_sys_cd` string COMMENT 'None', `idp_cd` string COMMENT 'None', `idp_userno` string COMMENT 'None', `gbase_app_id` string COMMENT 'None', `idp_certi_dt` string COMMENT 'None', `userno` string COMMENT 'None', `mbr_stat_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "dg_mblg_user_d01", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "hg_userid", "type": "string", "description": null}, {"name": "hg_userno", "type": "bigint", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "age_cd", "type": "string", "description": null}, {"name": "join_prd_cd", "type": "string", "description": null}, {"name": "lst_login_prd_cd", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_login_dt", "type": "string", "description": null}, {"name": "lst_game_no", "type": "bigint", "description": null}, {"name": "fst_game_no", "type": "bigint", "description": null}, {"name": "cm_use_game_cnt", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "dev_key", "type": "string", "description": null}, {"name": "dev_mdl", "type": "string", "description": null}, {"name": "age_zn_cd", "type": "string", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "os_ver", "type": "string", "description": null}, {"name": "idp_fst_mapng_dt", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`dg_mblg_user_d01` ( `userno` string COMMENT 'None', `hg_userid` string COMMENT 'None', `hg_userno` bigint COMMENT 'None', `sex_cd` string COMMENT 'None', `age_cd` string COMMENT 'None', `join_prd_cd` string COMMENT 'None', `lst_login_prd_cd` string COMMENT 'None', `join_dt` string COMMENT 'None', `lst_login_dt` string COMMENT 'None', `lst_game_no` bigint COMMENT 'None', `fst_game_no` bigint COMMENT 'None', `cm_use_game_cnt` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `dev_key` string COMMENT 'None', `dev_mdl` string COMMENT 'None', `age_zn_cd` string COMMENT 'None', `idp_userno` string COMMENT 'None', `idp_cd` string COMMENT 'None', `os_cd` string COMMENT 'None', `os_ver` string COMMENT 'None', `idp_fst_mapng_dt` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_dw", "table": "ig_game_han_sd03", "description": null, "columns": [{"name": "gamegb", "type": "string", "description": null}, {"name": "usergb", "type": "string", "description": null}, {"name": "agegb", "type": "string", "description": null}, {"name": "sex", "type": "string", "description": null}, {"name": "gradegb", "type": "string", "description": null}, {"name": "pancntgb", "type": "string", "description": null}, {"name": "guildyn", "type": "string", "description": null}, {"name": "plus_svccd", "type": "string", "description": null}, {"name": "plusitem_svccd", "type": "string", "description": null}, {"name": "region", "type": "string", "description": null}, {"name": "pcbyn", "type": "string", "description": null}, {"name": "ag_usercnt", "type": "bigint", "description": null}, {"name": "tg_usercnt", "type": "bigint", "description": null}, {"name": "tg_hnewusercnt", "type": "bigint", "description": null}, {"name": "tg_gnewusercnt", "type": "bigint", "description": null}, {"name": "tg_newusercnt", "type": "bigint", "description": null}, {"name": "tg_nonplay_newusercnt", "type": "bigint", "description": null}, {"name": "tg_activecnt", "type": "bigint", "description": null}, {"name": "ag_pancnt", "type": "bigint", "description": null}, {"name": "tg_pancnt", "type": "bigint", "description": null}, {"name": "ag_staytime", "type": "double", "description": null}, {"name": "tg_staytime", "type": "double", "description": null}, {"name": "ag_gammoney", "type": "double", "description": null}, {"name": "tg_gammoney", "type": "double", "description": null}, {"name": "tg_weekcnt", "type": "bigint", "description": null}, {"name": "tg_nonactuser", "type": "bigint", "description": null}, {"name": "tg_backusercnt", "type": "bigint", "description": null}, {"name": "evtval", "type": "string", "description": null}, {"name": "plusitem_svccd1", "type": "string", "description": null}, {"name": "plusitem_svccd2", "type": "string", "description": null}, {"name": "plusitem_svccd3", "type": "string", "description": null}, {"name": "ssc_chnl_cd", "type": "string", "description": null}, {"name": "lst_inflw_chnl_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "go_mbrs_prodid", "type": "string", "description": null}, {"name": "po_mbrs_prodid", "type": "string", "description": null}, {"name": "tdd_ptm_secn_cd", "type": "string", "description": null}, {"name": "workd", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_dw`.`ig_game_han_sd03` ( `gamegb` string COMMENT 'None', `usergb` string COMMENT 'None', `agegb` string COMMENT 'None', `sex` string COMMENT 'None', `gradegb` string COMMENT 'None', `pancntgb` string COMMENT 'None', `guildyn` string COMMENT 'None', `plus_svccd` string COMMENT 'None', `plusitem_svccd` string COMMENT 'None', `region` string COMMENT 'None', `pcbyn` string COMMENT 'None', `ag_usercnt` bigint COMMENT 'None', `tg_usercnt` bigint COMMENT 'None', `tg_hnewusercnt` bigint COMMENT 'None', `tg_gnewusercnt` bigint COMMENT 'None', `tg_newusercnt` bigint COMMENT 'None', `tg_nonplay_newusercnt` bigint COMMENT 'None', `tg_activecnt` bigint COMMENT 'None', `ag_pancnt` bigint COMMENT 'None', `tg_pancnt` bigint COMMENT 'None', `ag_staytime` double COMMENT 'None', `tg_staytime` double COMMENT 'None', `ag_gammoney` double COMMENT 'None', `tg_gammoney` double COMMENT 'None', `tg_weekcnt` bigint COMMENT 'None', `tg_nonactuser` bigint COMMENT 'None', `tg_backusercnt` bigint COMMENT 'None', `evtval` string COMMENT 'None', `plusitem_svccd1` string COMMENT 'None', `plusitem_svccd2` string COMMENT 'None', `plusitem_svccd3` string COMMENT 'None', `ssc_chnl_cd` string COMMENT 'None', `lst_inflw_chnl_cd` string COMMENT 'None', `game_cd` string COMMENT 'None', `go_mbrs_prodid` string COMMENT 'None', `po_mbrs_prodid` string COMMENT 'None', `tdd_ptm_secn_cd` string COMMENT 'None', `workd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_gostop_mart", "table": "gostop_game_hist", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "hid", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "reg_dt", "type": "string", "description": null}, {"name": "seed", "type": "double", "description": null}, {"name": "loss_mony", "type": "double", "description": null}, {"name": "dealer_mony", "type": "double", "description": null}, {"name": "match_cnt", "type": "bigint", "description": null}, {"name": "win_cnt", "type": "bigint", "description": null}, {"name": "avg_win_scr", "type": "double", "description": null}, {"name": "avg_ptm_ss", "type": "double", "description": null}, {"name": "reg_ymd", "type": "string", "description": null}, {"name": "game_tp_cd", "type": "bigint", "description": null}, {"name": "work_dt", "type": "timestamp", "description": null}, {"name": "game_nm", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game", "type": "string", "description": null}]}
CREATE TABLE `pc_gostop_mart`.`gostop_game_hist` ( `sno` bigint COMMENT 'None', `nickname` string COMMENT 'None', `hid` string COMMENT 'None', `ci` string COMMENT 'None', `reg_dt` string COMMENT 'None', `seed` double COMMENT 'None', `loss_mony` double COMMENT 'None', `dealer_mony` double COMMENT 'None', `match_cnt` bigint COMMENT 'None', `win_cnt` bigint COMMENT 'None', `avg_win_scr` double COMMENT 'None', `avg_ptm_ss` double COMMENT 'None', `reg_ymd` string COMMENT 'None', `game_tp_cd` bigint COMMENT 'None', `work_dt` timestamp COMMENT 'None', `game_nm` string COMMENT 'None', `work_ymd` string COMMENT 'None', `game` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "bigamestct", "description": null, "columns": [{"name": "logdte", "type": "string", "description": null}, {"name": "gameid", "type": "string", "description": null}, {"name": "maxcnt", "type": "bigint", "description": null}, {"name": "maxdate", "type": "string", "description": null}, {"name": "mincnt", "type": "bigint", "description": null}, {"name": "sumcnt", "type": "bigint", "description": null}, {"name": "chccnt", "type": "bigint", "description": null}, {"name": "maxlcnt", "type": "bigint", "description": null}, {"name": "maxldate", "type": "string", "description": null}, {"name": "minlcnt", "type": "bigint", "description": null}, {"name": "sumlcnt", "type": "bigint", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`bigamestct` ( `logdte` string COMMENT 'None', `gameid` string COMMENT 'None', `maxcnt` bigint COMMENT 'None', `maxdate` string COMMENT 'None', `mincnt` bigint COMMENT 'None', `sumcnt` bigint COMMENT 'None', `chccnt` bigint COMMENT 'None', `maxlcnt` bigint COMMENT 'None', `maxldate` string COMMENT 'None', `minlcnt` bigint COMMENT 'None', `sumlcnt` bigint COMMENT 'None', `game_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "db_game_payr_mtr", "description": null, "columns": [{"name": "pay_chnl_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "fst_pay_ymd", "type": "string", "description": null}, {"name": "lst_pay_ymd", "type": "string", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "prod_seq", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "rep_game_cd", "type": "string", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "samt_jpy", "type": "double", "description": null}]}
CREATE TABLE `custom_dw`.`db_game_payr_mtr` ( `pay_chnl_cd` string COMMENT 'None', `userid` string COMMENT 'None', `fst_pay_ymd` string COMMENT 'None', `lst_pay_ymd` string COMMENT 'None', `userno` bigint COMMENT 'None', `custno` bigint COMMENT 'None', `prod_seq` string COMMENT 'None', `game_grd_cd` string COMMENT 'None', `rep_game_cd` string COMMENT 'None', `samt` double COMMENT 'None', `samt_jpy` double COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dc_chnlid_mtr", "description": null, "columns": [{"name": "chnlid", "type": "string", "description": null}, {"name": "chnl_nm", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "gameid", "type": "string", "description": null}, {"name": "subid", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dc_chnlid_mtr` ( `chnlid` string COMMENT 'None', `chnl_nm` string COMMENT 'None', `game_cd` string COMMENT 'None', `chnl_cd` string COMMENT 'None', `gameid` string COMMENT 'None', `subid` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_bdk_ai_blind_bet_hist", "description": null, "columns": [{"name": "gibo_no", "type": "bigint", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "blind_bet_rnd", "type": "bigint", "description": null}, {"name": "blind_bet_rnd_seq", "type": "bigint", "description": null}, {"name": "bet_rnd_seq", "type": "bigint", "description": null}, {"name": "game_grd_cd", "type": "bigint", "description": null}, {"name": "hld_gmony", "type": "double", "description": null}, {"name": "bet_ston_colr", "type": "string", "description": null}, {"name": "bet_mony", "type": "double", "description": null}, {"name": "bet_item_cd", "type": "string", "description": null}, {"name": "bet_item_cd2", "type": "string", "description": null}, {"name": "bet_stat_cd", "type": "bigint", "description": null}, {"name": "bet_incm", "type": "double", "description": null}, {"name": "bet_item_incm", "type": "double", "description": null}, {"name": "bet_item_incm2", "type": "double", "description": null}, {"name": "betbonus", "type": "double", "description": null}, {"name": "bet_dt", "type": "string", "description": null}, {"name": "ip", "type": "string", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "mbrs_prodid", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_bdk_ai_blind_bet_hist` ( `gibo_no` bigint COMMENT 'None', `userid` string COMMENT 'None', `blind_bet_rnd` bigint COMMENT 'None', `blind_bet_rnd_seq` bigint COMMENT 'None', `bet_rnd_seq` bigint COMMENT 'None', `game_grd_cd` bigint COMMENT 'None', `hld_gmony` double COMMENT 'None', `bet_ston_colr` string COMMENT 'None', `bet_mony` double COMMENT 'None', `bet_item_cd` string COMMENT 'None', `bet_item_cd2` string COMMENT 'None', `bet_stat_cd` bigint COMMENT 'None', `bet_incm` double COMMENT 'None', `bet_item_incm` double COMMENT 'None', `bet_item_incm2` double COMMENT 'None', `betbonus` double COMMENT 'None', `bet_dt` string COMMENT 'None', `ip` string COMMENT 'None', `chnl_id` string COMMENT 'None', `idp_cd` string COMMENT 'None', `mbrs_prodid` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_bdk_bet_hist", "description": null, "columns": [{"name": "gibo_no", "type": "bigint", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "bet_rnd", "type": "bigint", "description": null}, {"name": "bet_rnd_seq", "type": "bigint", "description": null}, {"name": "game_grd_cd", "type": "bigint", "description": null}, {"name": "hld_gmony", "type": "double", "description": null}, {"name": "bet_ston_colr", "type": "string", "description": null}, {"name": "bet_mony", "type": "double", "description": null}, {"name": "bet_item_cd", "type": "string", "description": null}, {"name": "bet_stat_cd", "type": "bigint", "description": null}, {"name": "bet_incm", "type": "double", "description": null}, {"name": "bet_item_incm", "type": "double", "description": null}, {"name": "bet_dt", "type": "string", "description": null}, {"name": "ip", "type": "string", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "mbrs_prodid", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_bdk_bet_hist` ( `gibo_no` bigint COMMENT 'None', `userid` string COMMENT 'None', `bet_rnd` bigint COMMENT 'None', `bet_rnd_seq` bigint COMMENT 'None', `game_grd_cd` bigint COMMENT 'None', `hld_gmony` double COMMENT 'None', `bet_ston_colr` string COMMENT 'None', `bet_mony` double COMMENT 'None', `bet_item_cd` string COMMENT 'None', `bet_stat_cd` bigint COMMENT 'None', `bet_incm` double COMMENT 'None', `bet_item_incm` double COMMENT 'None', `bet_dt` string COMMENT 'None', `ip` string COMMENT 'None', `chnl_id` string COMMENT 'None', `idp_cd` string COMMENT 'None', `mbrs_prodid` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_bdk_dtl_user_d01", "description": null, "columns": [{"name": "user_tp_cd", "type": "bigint", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "cm_sccss_cnt", "type": "bigint", "description": null}, {"name": "cm_fail_cnt", "type": "bigint", "description": null}, {"name": "cm_get_mony", "type": "double", "description": null}, {"name": "cm_los_mony", "type": "double", "description": null}, {"name": "fst_dt", "type": "string", "description": null}, {"name": "lst_dt", "type": "string", "description": null}, {"name": "fst_prd_cd", "type": "string", "description": null}, {"name": "lst_prd_cd", "type": "string", "description": null}, {"name": "bdd_fst_prd_cd", "type": "string", "description": null}, {"name": "bdd_lst_prd_cd", "type": "string", "description": null}, {"name": "cm_nine_sccss_pcnt", "type": "bigint", "description": null}, {"name": "cm_nine_fail_pcnt", "type": "bigint", "description": null}, {"name": "nine_lst_dt", "type": "string", "description": null}, {"name": "nine_lst_prd_cd", "type": "string", "description": null}, {"name": "nine_bdd_lst_prd_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_bdk_dtl_user_d01` ( `user_tp_cd` bigint COMMENT 'None', `userid` string COMMENT 'None', `cm_sccss_cnt` bigint COMMENT 'None', `cm_fail_cnt` bigint COMMENT 'None', `cm_get_mony` double COMMENT 'None', `cm_los_mony` double COMMENT 'None', `fst_dt` string COMMENT 'None', `lst_dt` string COMMENT 'None', `fst_prd_cd` string COMMENT 'None', `lst_prd_cd` string COMMENT 'None', `bdd_fst_prd_cd` string COMMENT 'None', `bdd_lst_prd_cd` string COMMENT 'None', `cm_nine_sccss_pcnt` bigint COMMENT 'None', `cm_nine_fail_pcnt` bigint COMMENT 'None', `nine_lst_dt` string COMMENT 'None', `nine_lst_prd_cd` string COMMENT 'None', `nine_bdd_lst_prd_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_bdk_game_hist", "description": null, "columns": [{"name": "gibo_no", "type": "bigint", "description": null}, {"name": "pybd_knd_cd", "type": "bigint", "description": null}, {"name": "pybd_rslt_cd", "type": "bigint", "description": null}, {"name": "cntdn_tm_lmt", "type": "bigint", "description": null}, {"name": "cntdn_tcnt_lmt", "type": "bigint", "description": null}, {"name": "rlft", "type": "bigint", "description": null}, {"name": "hndp", "type": "bigint", "description": null}, {"name": "winr_ston_colr", "type": "string", "description": null}, {"name": "pybd_strt_dt", "type": "string", "description": null}, {"name": "pybd_end_dt", "type": "string", "description": null}, {"name": "ptm_mi", "type": "double", "description": null}, {"name": "gmbl_pybd_yn", "type": "string", "description": null}, {"name": "bet_pybd_yn", "type": "string", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "room_no", "type": "bigint", "description": null}, {"name": "bet_svr_id", "type": "string", "description": null}, {"name": "gmbl_mony", "type": "double", "description": null}, {"name": "bet_mony", "type": "double", "description": null}, {"name": "blck_bet_mony", "type": "double", "description": null}, {"name": "blck_allt_rt", "type": "double", "description": null}, {"name": "blck_bet_prsn", "type": "bigint", "description": null}, {"name": "whte_bet_mony", "type": "double", "description": null}, {"name": "whte_allt_rt", "type": "double", "description": null}, {"name": "whte_bet_prsn", "type": "bigint", "description": null}, {"name": "bet_tret_rslt", "type": "bigint", "description": null}, {"name": "bet_tret_dt", "type": "string", "description": null}, {"name": "tot_ston_cnt", "type": "bigint", "description": null}, {"name": "win_hse_diff", "type": "double", "description": null}, {"name": "item_use_cnt", "type": "bigint", "description": null}, {"name": "dev_tp_cd", "type": "string", "description": null}, {"name": "hint_gibo_yn", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_bdk_game_hist` ( `gibo_no` bigint COMMENT 'None', `pybd_knd_cd` bigint COMMENT 'None', `pybd_rslt_cd` bigint COMMENT 'None', `cntdn_tm_lmt` bigint COMMENT 'None', `cntdn_tcnt_lmt` bigint COMMENT 'None', `rlft` bigint COMMENT 'None', `hndp` bigint COMMENT 'None', `winr_ston_colr` string COMMENT 'None', `pybd_strt_dt` string COMMENT 'None', `pybd_end_dt` string COMMENT 'None', `ptm_mi` double COMMENT 'None', `gmbl_pybd_yn` string COMMENT 'None', `bet_pybd_yn` string COMMENT 'None', `chnl_id` string COMMENT 'None', `room_no` bigint COMMENT 'None', `bet_svr_id` string COMMENT 'None', `gmbl_mony` double COMMENT 'None', `bet_mony` double COMMENT 'None', `blck_bet_mony` double COMMENT 'None', `blck_allt_rt` double COMMENT 'None', `blck_bet_prsn` bigint COMMENT 'None', `whte_bet_mony` double COMMENT 'None', `whte_allt_rt` double COMMENT 'None', `whte_bet_prsn` bigint COMMENT 'None', `bet_tret_rslt` bigint COMMENT 'None', `bet_tret_dt` string COMMENT 'None', `tot_ston_cnt` bigint COMMENT 'None', `win_hse_diff` double COMMENT 'None', `item_use_cnt` bigint COMMENT 'None', `dev_tp_cd` string COMMENT 'None', `hint_gibo_yn` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_bdk_leag_hist", "description": null, "columns": [{"name": "leag_strt_wk", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "leag_grd_cd", "type": "string", "description": null}, {"name": "leag_rat_scr", "type": "bigint", "description": null}, {"name": "nine_chg_pnt", "type": "bigint", "description": null}, {"name": "leag_rnk", "type": "bigint", "description": null}, {"name": "leag_pcnt", "type": "bigint", "description": null}, {"name": "leag_win_pcnt", "type": "bigint", "description": null}, {"name": "leag_drw_pcnt", "type": "bigint", "description": null}, {"name": "leag_los_pcnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_bdk_leag_hist` ( `leag_strt_wk` string COMMENT 'None', `userid` string COMMENT 'None', `leag_grd_cd` string COMMENT 'None', `leag_rat_scr` bigint COMMENT 'None', `nine_chg_pnt` bigint COMMENT 'None', `leag_rnk` bigint COMMENT 'None', `leag_pcnt` bigint COMMENT 'None', `leag_win_pcnt` bigint COMMENT 'None', `leag_drw_pcnt` bigint COMMENT 'None', `leag_los_pcnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_bdk_user_hist", "description": null, "columns": [{"name": "gibo_no", "type": "bigint", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "bigint", "description": null}, {"name": "catch_ston_colr", "type": "string", "description": null}, {"name": "user_ip", "type": "string", "description": null}, {"name": "pybd_end_dt", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "nine_pnt", "type": "bigint", "description": null}, {"name": "nine_rnk", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_bdk_user_hist` ( `gibo_no` bigint COMMENT 'None', `userid` string COMMENT 'None', `game_grd_cd` bigint COMMENT 'None', `catch_ston_colr` string COMMENT 'None', `user_ip` string COMMENT 'None', `pybd_end_dt` string COMMENT 'None', `idp_cd` string COMMENT 'None', `nine_pnt` bigint COMMENT 'None', `nine_rnk` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_bdk_user_m01", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "gradegb_now", "type": "string", "description": null}, {"name": "lastdate", "type": "string", "description": null}, {"name": "mon_activegb", "type": "string", "description": null}, {"name": "mon_match_cnt", "type": "bigint", "description": null}, {"name": "mon_bet_cnt", "type": "bigint", "description": null}, {"name": "mon_vit_cnt", "type": "bigint", "description": null}, {"name": "mon_betmoney", "type": "double", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_bdk_user_m01` ( `userid` string COMMENT 'None', `gradegb_now` string COMMENT 'None', `lastdate` string COMMENT 'None', `mon_activegb` string COMMENT 'None', `mon_match_cnt` bigint COMMENT 'None', `mon_bet_cnt` bigint COMMENT 'None', `mon_vit_cnt` bigint COMMENT 'None', `mon_betmoney` double COMMENT 'None', `game_cd` string COMMENT 'None', `work_ym` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_bdk_user_mtr", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "bigint", "description": null}, {"name": "hld_gmony", "type": "double", "description": null}, {"name": "rnk_pnt", "type": "bigint", "description": null}, {"name": "engy", "type": "bigint", "description": null}, {"name": "cm_pcnt", "type": "bigint", "description": null}, {"name": "cm_win_pcnt", "type": "bigint", "description": null}, {"name": "cm_los_pcnt", "type": "bigint", "description": null}, {"name": "cm_drw_pcnt", "type": "bigint", "description": null}, {"name": "cm_bet_pcnt", "type": "bigint", "description": null}, {"name": "cm_bet_win_pcnt", "type": "bigint", "description": null}, {"name": "cm_bet_los_pcnt", "type": "bigint", "description": null}, {"name": "cm_bet_drw_pcnt", "type": "bigint", "description": null}, {"name": "max_rec_gmony", "type": "double", "description": null}, {"name": "cm_udgrd_win_pcnt", "type": "bigint", "description": null}, {"name": "cm_udgrd_los_pcnt", "type": "bigint", "description": null}, {"name": "cm_udgrd_drw_pcnt", "type": "bigint", "description": null}, {"name": "lst_ugrd_dt", "type": "string", "description": null}, {"name": "lst_dgrd_dt", "type": "string", "description": null}, {"name": "cm_udgrd_stvic_cnt", "type": "bigint", "description": null}, {"name": "cm_udgrd_stlos_cnt", "type": "bigint", "description": null}, {"name": "cm_nn_noml_end_cnt", "type": "bigint", "description": null}, {"name": "grd_recnfg_cd", "type": "string", "description": null}, {"name": "guildid", "type": "string", "description": null}, {"name": "lst_ip", "type": "string", "description": null}, {"name": "pc_logot_dt", "type": "string", "description": null}, {"name": "pc_mbr_sw_dt", "type": "string", "description": null}, {"name": "mbl_lst_game_dt", "type": "string", "description": null}, {"name": "pc_mbl_use_tp_cd", "type": "string", "description": null}, {"name": "mm_cm_pcnt", "type": "bigint", "description": null}, {"name": "cm_nine_pcnt", "type": "bigint", "description": null}, {"name": "cm_nine_win_pcnt", "type": "bigint", "description": null}, {"name": "cm_nine_los_pcnt", "type": "bigint", "description": null}, {"name": "cm_nine_drw_pcnt", "type": "bigint", "description": null}, {"name": "nine_hld_pnt", "type": "bigint", "description": null}, {"name": "lst_leag_prpt_dt", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_bdk_user_mtr` ( `userid` string COMMENT 'None', `userno` bigint COMMENT 'None', `custno` bigint COMMENT 'None', `join_dt` string COMMENT 'None', `lst_game_dt` string COMMENT 'None', `game_grd_cd` bigint COMMENT 'None', `hld_gmony` double COMMENT 'None', `rnk_pnt` bigint COMMENT 'None', `engy` bigint COMMENT 'None', `cm_pcnt` bigint COMMENT 'None', `cm_win_pcnt` bigint COMMENT 'None', `cm_los_pcnt` bigint COMMENT 'None', `cm_drw_pcnt` bigint COMMENT 'None', `cm_bet_pcnt` bigint COMMENT 'None', `cm_bet_win_pcnt` bigint COMMENT 'None', `cm_bet_los_pcnt` bigint COMMENT 'None', `cm_bet_drw_pcnt` bigint COMMENT 'None', `max_rec_gmony` double COMMENT 'None', `cm_udgrd_win_pcnt` bigint COMMENT 'None', `cm_udgrd_los_pcnt` bigint COMMENT 'None', `cm_udgrd_drw_pcnt` bigint COMMENT 'None', `lst_ugrd_dt` string COMMENT 'None', `lst_dgrd_dt` string COMMENT 'None', `cm_udgrd_stvic_cnt` bigint COMMENT 'None', `cm_udgrd_stlos_cnt` bigint COMMENT 'None', `cm_nn_noml_end_cnt` bigint COMMENT 'None', `grd_recnfg_cd` string COMMENT 'None', `guildid` string COMMENT 'None', `lst_ip` string COMMENT 'None', `pc_logot_dt` string COMMENT 'None', `pc_mbr_sw_dt` string COMMENT 'None', `mbl_lst_game_dt` string COMMENT 'None', `pc_mbl_use_tp_cd` string COMMENT 'None', `mm_cm_pcnt` bigint COMMENT 'None', `cm_nine_pcnt` bigint COMMENT 'None', `cm_nine_win_pcnt` bigint COMMENT 'None', `cm_nine_los_pcnt` bigint COMMENT 'None', `cm_nine_drw_pcnt` bigint COMMENT 'None', `nine_hld_pnt` bigint COMMENT 'None', `lst_leag_prpt_dt` string COMMENT 'None', `ci` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_brdg_allin_hist", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "game_userno", "type": "bigint", "description": null}, {"name": "allin_dt", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_brdg_allin_hist` ( `game_cd` string COMMENT 'None', `userid` string COMMENT 'None', `userno` bigint COMMENT 'None', `game_userno` bigint COMMENT 'None', `allin_dt` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_chnl_cd", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "strt_ymd", "type": "string", "description": null}, {"name": "chnl_nm", "type": "string", "description": null}, {"name": "chnl_tp_cd", "type": "string", "description": null}, {"name": "chnl_tp_nm", "type": "string", "description": null}, {"name": "gameid", "type": "string", "description": null}, {"name": "end_ymd", "type": "string", "description": null}, {"name": "bip1_chnl_tp_cd", "type": "string", "description": null}, {"name": "bip1_chnl_cd", "type": "string", "description": null}, {"name": "upr_chnl_yn", "type": "string", "description": null}, {"name": "game_tp_nm", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_chnl_cd` ( `game_cd` string COMMENT 'None', `chnl_cd` string COMMENT 'None', `strt_ymd` string COMMENT 'None', `chnl_nm` string COMMENT 'None', `chnl_tp_cd` string COMMENT 'None', `chnl_tp_nm` string COMMENT 'None', `gameid` string COMMENT 'None', `end_ymd` string COMMENT 'None', `bip1_chnl_tp_cd` string COMMENT 'None', `bip1_chnl_cd` string COMMENT 'None', `upr_chnl_yn` string COMMENT 'None', `game_tp_nm` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_frndpop_mssn_fail_hist", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "stge_tp_cd", "type": "string", "description": null}, {"name": "stge_no", "type": "bigint", "description": null}, {"name": "mssn_tp_cd", "type": "string", "description": null}, {"name": "rst_mssn_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_frndpop_mssn_fail_hist` ( `userno` string COMMENT 'None', `stge_tp_cd` string COMMENT 'None', `stge_no` bigint COMMENT 'None', `mssn_tp_cd` string COMMENT 'None', `rst_mssn_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_frndpop_rtm_mtch_hist", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "mtch_tkt_no", "type": "bigint", "description": null}, {"name": "mode_tp_cd", "type": "string", "description": null}, {"name": "no", "type": "bigint", "description": null}, {"name": "stge_no", "type": "bigint", "description": null}, {"name": "frnd_id", "type": "string", "description": null}, {"name": "ptm_ss", "type": "bigint", "description": null}, {"name": "rl_wld_area_no", "type": "bigint", "description": null}, {"name": "time_wld_area_no", "type": "bigint", "description": null}, {"name": "rl_wld_stge_no", "type": "bigint", "description": null}, {"name": "time_wld_stge_no", "type": "bigint", "description": null}, {"name": "grp_cd", "type": "string", "description": null}, {"name": "rslt_cd", "type": "bigint", "description": null}, {"name": "log_tp_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_frndpop_rtm_mtch_hist` ( `userno` string COMMENT 'None', `mtch_tkt_no` bigint COMMENT 'None', `mode_tp_cd` string COMMENT 'None', `no` bigint COMMENT 'None', `stge_no` bigint COMMENT 'None', `frnd_id` string COMMENT 'None', `ptm_ss` bigint COMMENT 'None', `rl_wld_area_no` bigint COMMENT 'None', `time_wld_area_no` bigint COMMENT 'None', `rl_wld_stge_no` bigint COMMENT 'None', `time_wld_stge_no` bigint COMMENT 'None', `grp_cd` string COMMENT 'None', `rslt_cd` bigint COMMENT 'None', `log_tp_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_frndpop_sc_hist", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "stge_no", "type": "bigint", "description": null}, {"name": "log_tp_cd", "type": "bigint", "description": null}, {"name": "cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_frndpop_sc_hist` ( `userno` string COMMENT 'None', `stge_no` bigint COMMENT 'None', `log_tp_cd` bigint COMMENT 'None', `cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_frndpop_stge_hist", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "stge_tp_cd", "type": "string", "description": null}, {"name": "stge_no", "type": "bigint", "description": null}, {"name": "log_tp_cd", "type": "bigint", "description": null}, {"name": "clr_tp_cd", "type": "bigint", "description": null}, {"name": "rlay_tcnt", "type": "bigint", "description": null}, {"name": "os_cd", "type": "bigint", "description": null}, {"name": "ply_tcnt", "type": "bigint", "description": null}, {"name": "rep_frnd_id", "type": "bigint", "description": null}, {"name": "mv_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_frndpop_stge_hist` ( `userno` string COMMENT 'None', `stge_tp_cd` string COMMENT 'None', `stge_no` bigint COMMENT 'None', `log_tp_cd` bigint COMMENT 'None', `clr_tp_cd` bigint COMMENT 'None', `rlay_tcnt` bigint COMMENT 'None', `os_cd` bigint COMMENT 'None', `ply_tcnt` bigint COMMENT 'None', `rep_frnd_id` bigint COMMENT 'None', `mv_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_frndpop_user_mtr", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "fchg_ruby", "type": "bigint", "description": null}, {"name": "fre_ruby", "type": "bigint", "description": null}, {"name": "fre_coin", "type": "bigint", "description": null}, {"name": "fchg_hrt", "type": "bigint", "description": null}, {"name": "fre_hrt", "type": "bigint", "description": null}, {"name": "max_stge_no", "type": "bigint", "description": null}, {"name": "cm_pcnt", "type": "bigint", "description": null}, {"name": "frnd_cnt", "type": "bigint", "description": null}, {"name": "gold_medal_cnt", "type": "bigint", "description": null}, {"name": "os_cd", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "rcnt_login_dt", "type": "string", "description": null}, {"name": "seasn2_max_stge_no", "type": "bigint", "description": null}, {"name": "seasn2_fchg_hrt", "type": "bigint", "description": null}, {"name": "seasn2_fre_hrt", "type": "bigint", "description": null}]}
CREATE TABLE `custom_dw`.`dg_frndpop_user_mtr` ( `userno` string COMMENT 'None', `fchg_ruby` bigint COMMENT 'None', `fre_ruby` bigint COMMENT 'None', `fre_coin` bigint COMMENT 'None', `fchg_hrt` bigint COMMENT 'None', `fre_hrt` bigint COMMENT 'None', `max_stge_no` bigint COMMENT 'None', `cm_pcnt` bigint COMMENT 'None', `frnd_cnt` bigint COMMENT 'None', `gold_medal_cnt` bigint COMMENT 'None', `os_cd` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `join_dt` string COMMENT 'None', `rcnt_login_dt` string COMMENT 'None', `seasn2_max_stge_no` bigint COMMENT 'None', `seasn2_fchg_hrt` bigint COMMENT 'None', `seasn2_fre_hrt` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_game_mm_user_m01", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "new_join_yn", "type": "string", "description": null}, {"name": "mm_user_pcnt", "type": "bigint", "description": null}, {"name": "mm_vst_dcnt", "type": "bigint", "description": null}, {"name": "mm_ptm", "type": "double", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "work_ym", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_game_mm_user_m01` ( `userno` string COMMENT 'None', `new_join_yn` string COMMENT 'None', `mm_user_pcnt` bigint COMMENT 'None', `mm_vst_dcnt` bigint COMMENT 'None', `mm_ptm` double COMMENT 'None', `ltr_etc1` string COMMENT 'None', `userid` string COMMENT 'None', `work_ym` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_game_user_d01", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "join_prd_cd", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "lst_game_prd_cd", "type": "string", "description": null}, {"name": "bdd_lst_game_prd_cd", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "hld_mony", "type": "double", "description": null}, {"name": "gmony1", "type": "double", "description": null}, {"name": "gmony2", "type": "double", "description": null}, {"name": "gmony3", "type": "double", "description": null}, {"name": "gmony4", "type": "double", "description": null}, {"name": "chg_gmony", "type": "double", "description": null}, {"name": "cm_pcnt", "type": "bigint", "description": null}, {"name": "cm_win_pcnt", "type": "bigint", "description": null}, {"name": "cm_los_pcnt", "type": "bigint", "description": null}, {"name": "cm_drw_pcnt", "type": "bigint", "description": null}, {"name": "tdd_pcnt", "type": "bigint", "description": null}, {"name": "tdd_pcnt_secn_cd", "type": "string", "description": null}, {"name": "tdd_win_pcnt", "type": "bigint", "description": null}, {"name": "tdd_los_pcnt", "type": "bigint", "description": null}, {"name": "tdd_drw_pcnt", "type": "bigint", "description": null}, {"name": "cm_ptm", "type": "double", "description": null}, {"name": "tdd_ptm", "type": "double", "description": null}, {"name": "tdd_ptm_secn_cd", "type": "string", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "ltr_etc2", "type": "string", "description": null}, {"name": "ltr_etc3", "type": "string", "description": null}, {"name": "ltr_etc4", "type": "string", "description": null}, {"name": "ltr_etc5", "type": "string", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "num_etc2", "type": "bigint", "description": null}, {"name": "num_etc3", "type": "bigint", "description": null}, {"name": "num_etc4", "type": "bigint", "description": null}, {"name": "num_etc5", "type": "bigint", "description": null}, {"name": "num_etc6", "type": "bigint", "description": null}, {"name": "num_etc7", "type": "bigint", "description": null}, {"name": "num_etc8", "type": "bigint", "description": null}, {"name": "num_etc9", "type": "bigint", "description": null}, {"name": "num_etc10", "type": "bigint", "description": null}, {"name": "num_etc11", "type": "bigint", "description": null}, {"name": "num_etc12", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_game_user_d01` ( `userno` string COMMENT 'None', `userid` string COMMENT 'None', `st_cd` string COMMENT 'None', `custno` bigint COMMENT 'None', `ci` string COMMENT 'None', `join_dt` string COMMENT 'None', `join_prd_cd` string COMMENT 'None', `lst_game_dt` string COMMENT 'None', `lst_game_prd_cd` string COMMENT 'None', `bdd_lst_game_prd_cd` string COMMENT 'None', `game_grd_cd` string COMMENT 'None', `hld_mony` double COMMENT 'None', `gmony1` double COMMENT 'None', `gmony2` double COMMENT 'None', `gmony3` double COMMENT 'None', `gmony4` double COMMENT 'None', `chg_gmony` double COMMENT 'None', `cm_pcnt` bigint COMMENT 'None', `cm_win_pcnt` bigint COMMENT 'None', `cm_los_pcnt` bigint COMMENT 'None', `cm_drw_pcnt` bigint COMMENT 'None', `tdd_pcnt` bigint COMMENT 'None', `tdd_pcnt_secn_cd` string COMMENT 'None', `tdd_win_pcnt` bigint COMMENT 'None', `tdd_los_pcnt` bigint COMMENT 'None', `tdd_drw_pcnt` bigint COMMENT 'None', `cm_ptm` double COMMENT 'None', `tdd_ptm` double COMMENT 'None', `tdd_ptm_secn_cd` string COMMENT 'None', `ltr_etc1` string COMMENT 'None', `ltr_etc2` string COMMENT 'None', `ltr_etc3` string COMMENT 'None', `ltr_etc4` string COMMENT 'None', `ltr_etc5` string COMMENT 'None', `num_etc1` bigint COMMENT 'None', `num_etc2` bigint COMMENT 'None', `num_etc3` bigint COMMENT 'None', `num_etc4` bigint COMMENT 'None', `num_etc5` bigint COMMENT 'None', `num_etc6` bigint COMMENT 'None', `num_etc7` bigint COMMENT 'None', `num_etc8` bigint COMMENT 'None', `num_etc9` bigint COMMENT 'None', `num_etc10` bigint COMMENT 'None', `num_etc11` bigint COMMENT 'None', `num_etc12` bigint COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_game_user_d01_mblg", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "hg_userid", "type": "string", "description": null}, {"name": "hg_userno", "type": "bigint", "description": null}, {"name": "hgid_mapng_yn", "type": "string", "description": null}, {"name": "age_cd", "type": "string", "description": null}, {"name": "age_zn_cd", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "join_prd_cd", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "lst_game_prd_cd", "type": "string", "description": null}, {"name": "bdd_lst_game_prd_cd", "type": "string", "description": null}, {"name": "lst_gameno", "type": "bigint", "description": null}, {"name": "tdd_ptm", "type": "bigint", "description": null}, {"name": "tdd_conn_tcnt", "type": "bigint", "description": null}, {"name": "mket_cd", "type": "string", "description": null}, {"name": "mket_nm", "type": "string", "description": null}, {"name": "lst_game_dcnt", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "dev_key", "type": "string", "description": null}, {"name": "dev_mdl", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "adid", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "idp_fst_mapng_dt", "type": "string", "description": null}, {"name": "w1_dmnc_cmbck_ymd", "type": "string", "description": null}, {"name": "w4_dmnc_cmbck_ymd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_game_user_d01_mblg` ( `userno` string COMMENT 'None', `hg_userid` string COMMENT 'None', `hg_userno` bigint COMMENT 'None', `hgid_mapng_yn` string COMMENT 'None', `age_cd` string COMMENT 'None', `age_zn_cd` string COMMENT 'None', `sex_cd` string COMMENT 'None', `join_dt` string COMMENT 'None', `join_prd_cd` string COMMENT 'None', `lst_game_dt` string COMMENT 'None', `lst_game_prd_cd` string COMMENT 'None', `bdd_lst_game_prd_cd` string COMMENT 'None', `lst_gameno` bigint COMMENT 'None', `tdd_ptm` bigint COMMENT 'None', `tdd_conn_tcnt` bigint COMMENT 'None', `mket_cd` string COMMENT 'None', `mket_nm` string COMMENT 'None', `lst_game_dcnt` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `dev_key` string COMMENT 'None', `dev_mdl` string COMMENT 'None', `st_cd` string COMMENT 'None', `num_etc1` bigint COMMENT 'None', `idp_userno` string COMMENT 'None', `game_grd_cd` string COMMENT 'None', `idp_cd` string COMMENT 'None', `adid` string COMMENT 'None', `os_cd` string COMMENT 'None', `idp_fst_mapng_dt` string COMMENT 'None', `w1_dmnc_cmbck_ymd` string COMMENT 'None', `w4_dmnc_cmbck_ymd` string COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_mbl_bdk_user_mtr", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "mbr_tp_cd", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "hld_fre_star", "type": "bigint", "description": null}, {"name": "hld_fchg_star", "type": "bigint", "description": null}, {"name": "lst_atnd_dt", "type": "string", "description": null}, {"name": "wkly_atnd_dcnt", "type": "bigint", "description": null}, {"name": "mbrs_tp_cd", "type": "string", "description": null}, {"name": "mbrs_end_ymd", "type": "string", "description": null}, {"name": "fre_chag_tcnt", "type": "bigint", "description": null}, {"name": "pybd_mssn_cmpl_cnt", "type": "bigint", "description": null}, {"name": "bet_mssn_cmpl_cnt", "type": "bigint", "description": null}, {"name": "pc_mbr_sw_dt", "type": "string", "description": null}, {"name": "mbl_user_sct", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_mbl_bdk_user_mtr` ( `userid` string COMMENT 'None', `userno` bigint COMMENT 'None', `mbr_tp_cd` string COMMENT 'None', `join_dt` string COMMENT 'None', `lst_game_dt` string COMMENT 'None', `hld_fre_star` bigint COMMENT 'None', `hld_fchg_star` bigint COMMENT 'None', `lst_atnd_dt` string COMMENT 'None', `wkly_atnd_dcnt` bigint COMMENT 'None', `mbrs_tp_cd` string COMMENT 'None', `mbrs_end_ymd` string COMMENT 'None', `fre_chag_tcnt` bigint COMMENT 'None', `pybd_mssn_cmpl_cnt` bigint COMMENT 'None', `bet_mssn_cmpl_cnt` bigint COMMENT 'None', `pc_mbr_sw_dt` string COMMENT 'None', `mbl_user_sct` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_mblg_game_user_d01", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "hg_userid", "type": "string", "description": null}, {"name": "sngl_game_use_yn", "type": "string", "description": null}, {"name": "game_grd_tp_cd", "type": "string", "description": null}, {"name": "rat_join_dt", "type": "string", "description": null}, {"name": "join_prd_cd", "type": "string", "description": null}, {"name": "rat_lst_game_dt", "type": "string", "description": null}, {"name": "lst_game_prd_cd", "type": "string", "description": null}, {"name": "pcnt_secn_cd", "type": "string", "description": null}, {"name": "ptm_secn_cd", "type": "string", "description": null}, {"name": "cm_pcnt", "type": "bigint", "description": null}, {"name": "cm_win_pcnt", "type": "bigint", "description": null}, {"name": "cm_sngl_pcnt", "type": "bigint", "description": null}, {"name": "tdd_pcnt", "type": "bigint", "description": null}, {"name": "tdd_sngl_pcnt", "type": "bigint", "description": null}, {"name": "cm_ptm", "type": "double", "description": null}, {"name": "tdd_ptm", "type": "double", "description": null}, {"name": "mony", "type": "bigint", "description": null}, {"name": "coin", "type": "bigint", "description": null}, {"name": "fchg_mony", "type": "bigint", "description": null}, {"name": "fchg_coin", "type": "bigint", "description": null}, {"name": "invt_inflw_yn", "type": "string", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "ltr_etc2", "type": "string", "description": null}, {"name": "ltr_etc3", "type": "string", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "num_etc2", "type": "bigint", "description": null}, {"name": "num_etc3", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "del_appl_ver", "type": "string", "description": null}, {"name": "del_os_cd", "type": "string", "description": null}, {"name": "del_os_ver", "type": "string", "description": null}, {"name": "del_dev_key", "type": "string", "description": null}, {"name": "del_dev_mdl", "type": "string", "description": null}, {"name": "del_mket_cd", "type": "string", "description": null}, {"name": "del_lst_login_dt", "type": "string", "description": null}, {"name": "del_login_cnt", "type": "bigint", "description": null}, {"name": "ltr_etc4", "type": "string", "description": null}, {"name": "num_etc4", "type": "bigint", "description": null}, {"name": "ltr_etc5", "type": "string", "description": null}, {"name": "ltr_etc6", "type": "string", "description": null}, {"name": "num_etc5", "type": "bigint", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "num_etc6", "type": "bigint", "description": null}, {"name": "num_etc7", "type": "bigint", "description": null}, {"name": "num_etc8", "type": "bigint", "description": null}, {"name": "ltr_etc7", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "ltr_etc8", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_mblg_game_user_d01` ( `userno` string COMMENT 'None', `st_cd` string COMMENT 'None', `hg_userid` string COMMENT 'None', `sngl_game_use_yn` string COMMENT 'None', `game_grd_tp_cd` string COMMENT 'None', `rat_join_dt` string COMMENT 'None', `join_prd_cd` string COMMENT 'None', `rat_lst_game_dt` string COMMENT 'None', `lst_game_prd_cd` string COMMENT 'None', `pcnt_secn_cd` string COMMENT 'None', `ptm_secn_cd` string COMMENT 'None', `cm_pcnt` bigint COMMENT 'None', `cm_win_pcnt` bigint COMMENT 'None', `cm_sngl_pcnt` bigint COMMENT 'None', `tdd_pcnt` bigint COMMENT 'None', `tdd_sngl_pcnt` bigint COMMENT 'None', `cm_ptm` double COMMENT 'None', `tdd_ptm` double COMMENT 'None', `mony` bigint COMMENT 'None', `coin` bigint COMMENT 'None', `fchg_mony` bigint COMMENT 'None', `fchg_coin` bigint COMMENT 'None', `invt_inflw_yn` string COMMENT 'None', `ltr_etc1` string COMMENT 'None', `ltr_etc2` string COMMENT 'None', `ltr_etc3` string COMMENT 'None', `num_etc1` bigint COMMENT 'None', `num_etc2` bigint COMMENT 'None', `num_etc3` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `del_appl_ver` string COMMENT 'None', `del_os_cd` string COMMENT 'None', `del_os_ver` string COMMENT 'None', `del_dev_key` string COMMENT 'None', `del_dev_mdl` string COMMENT 'None', `del_mket_cd` string COMMENT 'None', `del_lst_login_dt` string COMMENT 'None', `del_login_cnt` bigint COMMENT 'None', `ltr_etc4` string COMMENT 'None', `num_etc4` bigint COMMENT 'None', `ltr_etc5` string COMMENT 'None', `ltr_etc6` string COMMENT 'None', `num_etc5` bigint COMMENT 'None', `ci` string COMMENT 'None', `num_etc6` bigint COMMENT 'None', `num_etc7` bigint COMMENT 'None', `num_etc8` bigint COMMENT 'None', `ltr_etc7` string COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None', `ltr_etc8` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_mblg_item_mtr", "description": null, "columns": [{"name": "item_id", "type": "string", "description": null}, {"name": "item_nm", "type": "string", "description": null}, {"name": "item_tp_cd", "type": "string", "description": null}, {"name": "item_dtl_tp_cd", "type": "string", "description": null}, {"name": "item_add_info", "type": "string", "description": null}, {"name": "sale_prc", "type": "double", "description": null}, {"name": "use_psbl_tcnt", "type": "bigint", "description": null}, {"name": "use_psbl_tm", "type": "bigint", "description": null}, {"name": "actvn_psbl_tm", "type": "bigint", "description": null}, {"name": "max_pay_psbl_tcnt", "type": "bigint", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_mblg_item_mtr` ( `item_id` string COMMENT 'None', `item_nm` string COMMENT 'None', `item_tp_cd` string COMMENT 'None', `item_dtl_tp_cd` string COMMENT 'None', `item_add_info` string COMMENT 'None', `sale_prc` double COMMENT 'None', `use_psbl_tcnt` bigint COMMENT 'None', `use_psbl_tm` bigint COMMENT 'None', `actvn_psbl_tm` bigint COMMENT 'None', `max_pay_psbl_tcnt` bigint COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_mony_cd_mtr", "description": null, "columns": [{"name": "mony_cd", "type": "string", "description": null}, {"name": "mony_nm", "type": "string", "description": null}, {"name": "mony_desc", "type": "string", "description": null}, {"name": "mony_cat_cd", "type": "string", "description": null}, {"name": "mony_cat_nm", "type": "string", "description": null}, {"name": "strt_ymd", "type": "string", "description": null}, {"name": "out_in_tp_cd", "type": "string", "description": null}, {"name": "rep_game_cd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_mony_cd_mtr` ( `mony_cd` string COMMENT 'None', `mony_nm` string COMMENT 'None', `mony_desc` string COMMENT 'None', `mony_cat_cd` string COMMENT 'None', `mony_cat_nm` string COMMENT 'None', `strt_ymd` string COMMENT 'None', `out_in_tp_cd` string COMMENT 'None', `rep_game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "dg_mony_chg_hist", "description": null, "columns": [{"name": "log_dt", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "mony_cd", "type": "string", "description": null}, {"name": "out_in_tp_cd", "type": "string", "description": null}, {"name": "chg_mony", "type": "double", "description": null}, {"name": "chg_cnt", "type": "bigint", "description": null}, {"name": "inflw_chnl_cd", "type": "string", "description": null}, {"name": "game_seq", "type": "bigint", "description": null}, {"name": "gds_tp_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`dg_mony_chg_hist` ( `log_dt` string COMMENT 'None', `userid` string COMMENT 'None', `mony_cd` string COMMENT 'None', `out_in_tp_cd` string COMMENT 'None', `chg_mony` double COMMENT 'None', `chg_cnt` bigint COMMENT 'None', `inflw_chnl_cd` string COMMENT 'None', `game_seq` bigint COMMENT 'None', `gds_tp_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_bdk_bet_sd01", "description": null, "columns": [{"name": "idp_cd", "type": "string", "description": null}, {"name": "bet_cnt", "type": "bigint", "description": null}, {"name": "bet_ucnt", "type": "bigint", "description": null}, {"name": "bet_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_bdk_bet_sd01` ( `idp_cd` string COMMENT 'None', `bet_cnt` bigint COMMENT 'None', `bet_ucnt` bigint COMMENT 'None', `bet_mony` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_bdk_dtl_user_sd01", "description": null, "columns": [{"name": "user_tp_cd", "type": "bigint", "description": null}, {"name": "age_zn_cd", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "mbrs_prodid", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "bigint", "description": null}, {"name": "game_grd_secn_cd", "type": "string", "description": null}, {"name": "hld_mony_grd_cd", "type": "string", "description": null}, {"name": "bet_mony_secn_cd", "type": "string", "description": null}, {"name": "cm_ucnt", "type": "bigint", "description": null}, {"name": "tdd_ucnt", "type": "bigint", "description": null}, {"name": "new_ucnt", "type": "bigint", "description": null}, {"name": "act_ucnt", "type": "bigint", "description": null}, {"name": "wkly_ucnt", "type": "bigint", "description": null}, {"name": "cmbck_ucnt", "type": "bigint", "description": null}, {"name": "pc_mbl_use_tp_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_bdk_dtl_user_sd01` ( `user_tp_cd` bigint COMMENT 'None', `age_zn_cd` string COMMENT 'None', `sex_cd` string COMMENT 'None', `mbrs_prodid` string COMMENT 'None', `game_grd_cd` bigint COMMENT 'None', `game_grd_secn_cd` string COMMENT 'None', `hld_mony_grd_cd` string COMMENT 'None', `bet_mony_secn_cd` string COMMENT 'None', `cm_ucnt` bigint COMMENT 'None', `tdd_ucnt` bigint COMMENT 'None', `new_ucnt` bigint COMMENT 'None', `act_ucnt` bigint COMMENT 'None', `wkly_ucnt` bigint COMMENT 'None', `cmbck_ucnt` bigint COMMENT 'None', `pc_mbl_use_tp_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_bdk_game_sd01", "description": null, "columns": [{"name": "pybd_tp_cd", "type": "bigint", "description": null}, {"name": "pybd_knd_cd", "type": "bigint", "description": null}, {"name": "pybd_rslt_cd", "type": "bigint", "description": null}, {"name": "ptm_secn_cd", "type": "string", "description": null}, {"name": "tot_ston_secn_cd", "type": "bigint", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "game_pcnt", "type": "bigint", "description": null}, {"name": "item_use_tcnt", "type": "bigint", "description": null}, {"name": "bet_pybd_yn", "type": "string", "description": null}, {"name": "bet_pybdr_grd_cd", "type": "string", "description": null}, {"name": "bet_mony_secn_cd", "type": "string", "description": null}, {"name": "bet_tret_rslt", "type": "bigint", "description": null}, {"name": "bet_cnt", "type": "bigint", "description": null}, {"name": "bet_mony", "type": "double", "description": null}, {"name": "bet_cmsn", "type": "double", "description": null}, {"name": "gmbl_pybd_yn", "type": "string", "description": null}, {"name": "gmbl_mony_secn_cd", "type": "string", "description": null}, {"name": "gmbl_pybd_mony", "type": "double", "description": null}, {"name": "gmbl_cmsn", "type": "double", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "dev_tp_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_bdk_game_sd01` ( `pybd_tp_cd` bigint COMMENT 'None', `pybd_knd_cd` bigint COMMENT 'None', `pybd_rslt_cd` bigint COMMENT 'None', `ptm_secn_cd` string COMMENT 'None', `tot_ston_secn_cd` bigint COMMENT 'None', `chnl_id` string COMMENT 'None', `game_pcnt` bigint COMMENT 'None', `item_use_tcnt` bigint COMMENT 'None', `bet_pybd_yn` string COMMENT 'None', `bet_pybdr_grd_cd` string COMMENT 'None', `bet_mony_secn_cd` string COMMENT 'None', `bet_tret_rslt` bigint COMMENT 'None', `bet_cnt` bigint COMMENT 'None', `bet_mony` double COMMENT 'None', `bet_cmsn` double COMMENT 'None', `gmbl_pybd_yn` string COMMENT 'None', `gmbl_mony_secn_cd` string COMMENT 'None', `gmbl_pybd_mony` double COMMENT 'None', `gmbl_cmsn` double COMMENT 'None', `game_cd` string COMMENT 'None', `dev_tp_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_bdk_leag_sw01", "description": null, "columns": [{"name": "leag_strt_wk", "type": "string", "description": null}, {"name": "leag_grd_cd", "type": "string", "description": null}, {"name": "leag_pcnt_secn_cd", "type": "string", "description": null}, {"name": "nine_hld_pnt_secn_cd", "type": "string", "description": null}, {"name": "leag_scr_secn_cd", "type": "string", "description": null}, {"name": "pc_mbl_use_tp_cd", "type": "string", "description": null}, {"name": "alct_ucnt", "type": "bigint", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "pcnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_bdk_leag_sw01` ( `leag_strt_wk` string COMMENT 'None', `leag_grd_cd` string COMMENT 'None', `leag_pcnt_secn_cd` string COMMENT 'None', `nine_hld_pnt_secn_cd` string COMMENT 'None', `leag_scr_secn_cd` string COMMENT 'None', `pc_mbl_use_tp_cd` string COMMENT 'None', `alct_ucnt` bigint COMMENT 'None', `ucnt` bigint COMMENT 'None', `pcnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_bdk_mony_sd01", "description": null, "columns": [{"name": "whle_crncy_amt", "type": "double", "description": null}, {"name": "tdd_crncy_amt", "type": "double", "description": null}, {"name": "dmnc_crncy_amt", "type": "double", "description": null}, {"name": "dmnc_3mm_crncy_amt", "type": "double", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_bdk_mony_sd01` ( `whle_crncy_amt` double COMMENT 'None', `tdd_crncy_amt` double COMMENT 'None', `dmnc_crncy_amt` double COMMENT 'None', `dmnc_3mm_crncy_amt` double COMMENT 'None', `game_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_bdk_pu_sm01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "game_prpns_nm", "type": "string", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "mau", "type": "bigint", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_bdk_pu_sm01` ( `game_cd` string COMMENT 'None', `game_prpns_nm` string COMMENT 'None', `pu` bigint COMMENT 'None', `nsamt` double COMMENT 'None', `mau` bigint COMMENT 'None', `work_ym` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_bdk_user_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "dup_ucnt", "type": "bigint", "description": null}, {"name": "pybd_ucnt", "type": "bigint", "description": null}, {"name": "pybd19_ucnt", "type": "bigint", "description": null}, {"name": "pybd9_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_bdk_user_sd01` ( `game_cd` string COMMENT 'None', `ucnt` bigint COMMENT 'None', `dup_ucnt` bigint COMMENT 'None', `pybd_ucnt` bigint COMMENT 'None', `pybd19_ucnt` bigint COMMENT 'None', `pybd9_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_bdk_user_sm01", "description": null, "columns": [{"name": "pybd_ucnt", "type": "bigint", "description": null}, {"name": "gmbl_pybd_ucnt", "type": "bigint", "description": null}, {"name": "bet_pybd_ucnt", "type": "bigint", "description": null}, {"name": "bet_ucnt", "type": "bigint", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_bdk_user_sm01` ( `pybd_ucnt` bigint COMMENT 'None', `gmbl_pybd_ucnt` bigint COMMENT 'None', `bet_pybd_ucnt` bigint COMMENT 'None', `bet_ucnt` bigint COMMENT 'None', `game_cd` string COMMENT 'None', `work_ym` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_brdg_allin_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "allin_tcnt", "type": "bigint", "description": null}, {"name": "allin_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_brdg_allin_sd01` ( `game_cd` string COMMENT 'None', `allin_tcnt` bigint COMMENT 'None', `allin_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_frndp_item_hld_sd01", "description": null, "columns": [{"name": "item_id", "type": "bigint", "description": null}, {"name": "item_hld_cnt_secn_cd", "type": "bigint", "description": null}, {"name": "item_hld_cnt", "type": "bigint", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_frndp_item_hld_sd01` ( `item_id` bigint COMMENT 'None', `item_hld_cnt_secn_cd` bigint COMMENT 'None', `item_hld_cnt` bigint COMMENT 'None', `ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_frndpop_ad_rwd_sd01", "description": null, "columns": [{"name": "ad_tp_nm", "type": "string", "description": null}, {"name": "rwd_item_id", "type": "bigint", "description": null}, {"name": "wtch_cnt", "type": "bigint", "description": null}, {"name": "wtch_cmpl_cnt", "type": "bigint", "description": null}, {"name": "wtch_ucnt", "type": "bigint", "description": null}, {"name": "wtch_cmpl_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_frndpop_ad_rwd_sd01` ( `ad_tp_nm` string COMMENT 'None', `rwd_item_id` bigint COMMENT 'None', `wtch_cnt` bigint COMMENT 'None', `wtch_cmpl_cnt` bigint COMMENT 'None', `wtch_ucnt` bigint COMMENT 'None', `wtch_cmpl_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_frndpop_ad_stge_sd01", "description": null, "columns": [{"name": "ad_tp_nm", "type": "string", "description": null}, {"name": "wld_tp_cd", "type": "bigint", "description": null}, {"name": "stge_no", "type": "bigint", "description": null}, {"name": "wtch_ucnt", "type": "bigint", "description": null}, {"name": "wtch_cmpl_ucnt", "type": "bigint", "description": null}, {"name": "wtch_iprf_ucnt", "type": "bigint", "description": null}, {"name": "wtch_fail_ucnt", "type": "bigint", "description": null}, {"name": "wtch_pu", "type": "bigint", "description": null}, {"name": "wtch_non_pu", "type": "bigint", "description": null}, {"name": "wtch_cmpl_pu", "type": "bigint", "description": null}, {"name": "wtch_cmpl_non_pu", "type": "bigint", "description": null}, {"name": "wtch_cnt", "type": "bigint", "description": null}, {"name": "wtch_cmpl_cnt", "type": "bigint", "description": null}, {"name": "wtch_iprf_cnt", "type": "bigint", "description": null}, {"name": "wtch_fail_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_frndpop_ad_stge_sd01` ( `ad_tp_nm` string COMMENT 'None', `wld_tp_cd` bigint COMMENT 'None', `stge_no` bigint COMMENT 'None', `wtch_ucnt` bigint COMMENT 'None', `wtch_cmpl_ucnt` bigint COMMENT 'None', `wtch_iprf_ucnt` bigint COMMENT 'None', `wtch_fail_ucnt` bigint COMMENT 'None', `wtch_pu` bigint COMMENT 'None', `wtch_non_pu` bigint COMMENT 'None', `wtch_cmpl_pu` bigint COMMENT 'None', `wtch_cmpl_non_pu` bigint COMMENT 'None', `wtch_cnt` bigint COMMENT 'None', `wtch_cmpl_cnt` bigint COMMENT 'None', `wtch_iprf_cnt` bigint COMMENT 'None', `wtch_fail_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_frndpop_ad_user_sd01", "description": null, "columns": [{"name": "wld_tp_cd", "type": "bigint", "description": null}, {"name": "stge_no", "type": "bigint", "description": null}, {"name": "wtch_cmpl_cnt", "type": "bigint", "description": null}, {"name": "wtch_ucnt", "type": "bigint", "description": null}, {"name": "wtch_cmpl_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_frndpop_ad_user_sd01` ( `wld_tp_cd` bigint COMMENT 'None', `stge_no` bigint COMMENT 'None', `wtch_cmpl_cnt` bigint COMMENT 'None', `wtch_ucnt` bigint COMMENT 'None', `wtch_cmpl_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_frndpop_ad_wtch_sd01", "description": null, "columns": [{"name": "ad_tp_nm", "type": "string", "description": null}, {"name": "wld_tp_cd", "type": "bigint", "description": null}, {"name": "stge_no", "type": "bigint", "description": null}, {"name": "wtch_cnt", "type": "bigint", "description": null}, {"name": "wtch_cmpl_cnt", "type": "bigint", "description": null}, {"name": "wtch_iprf_cnt", "type": "bigint", "description": null}, {"name": "wtch_fail_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_frndpop_ad_wtch_sd01` ( `ad_tp_nm` string COMMENT 'None', `wld_tp_cd` bigint COMMENT 'None', `stge_no` bigint COMMENT 'None', `wtch_cnt` bigint COMMENT 'None', `wtch_cmpl_cnt` bigint COMMENT 'None', `wtch_iprf_cnt` bigint COMMENT 'None', `wtch_fail_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_frndpop_mssn_fail_sd01", "description": null, "columns": [{"name": "stge_tp_cd", "type": "string", "description": null}, {"name": "stge_no", "type": "bigint", "description": null}, {"name": "mssn_tp_cd", "type": "string", "description": null}, {"name": "rst_mssn_cnt", "type": "bigint", "description": null}, {"name": "try_fail_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_frndpop_mssn_fail_sd01` ( `stge_tp_cd` string COMMENT 'None', `stge_no` bigint COMMENT 'None', `mssn_tp_cd` string COMMENT 'None', `rst_mssn_cnt` bigint COMMENT 'None', `try_fail_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_frndpop_rtm_mtch_sd01", "description": null, "columns": [{"name": "mode_tp_cd", "type": "string", "description": null}, {"name": "no", "type": "string", "description": null}, {"name": "stge_no", "type": "bigint", "description": null}, {"name": "frnd_id", "type": "string", "description": null}, {"name": "mtch_cnt", "type": "bigint", "description": null}, {"name": "clr_cnt", "type": "bigint", "description": null}, {"name": "mssn_clr_win_cnt", "type": "bigint", "description": null}, {"name": "mssn_cnt_win_cnt", "type": "bigint", "description": null}, {"name": "tot_win_cnt", "type": "bigint", "description": null}, {"name": "tot_ptm_ss", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_frndpop_rtm_mtch_sd01` ( `mode_tp_cd` string COMMENT 'None', `no` string COMMENT 'None', `stge_no` bigint COMMENT 'None', `frnd_id` string COMMENT 'None', `mtch_cnt` bigint COMMENT 'None', `clr_cnt` bigint COMMENT 'None', `mssn_clr_win_cnt` bigint COMMENT 'None', `mssn_cnt_win_cnt` bigint COMMENT 'None', `tot_win_cnt` bigint COMMENT 'None', `tot_ptm_ss` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_frndpop_rtm_mtch_user_sd01", "description": null, "columns": [{"name": "mode_tp_cd", "type": "string", "description": null}, {"name": "rl_wld_area_no", "type": "bigint", "description": null}, {"name": "time_wld_area_no", "type": "bigint", "description": null}, {"name": "rl_wld_stge_no", "type": "bigint", "description": null}, {"name": "time_wld_stge_no", "type": "bigint", "description": null}, {"name": "grp_cd", "type": "bigint", "description": null}, {"name": "clr_ucnt", "type": "bigint", "description": null}, {"name": "sumry_lv", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_frndpop_rtm_mtch_user_sd01` ( `mode_tp_cd` string COMMENT 'None', `rl_wld_area_no` bigint COMMENT 'None', `time_wld_area_no` bigint COMMENT 'None', `rl_wld_stge_no` bigint COMMENT 'None', `time_wld_stge_no` bigint COMMENT 'None', `grp_cd` bigint COMMENT 'None', `clr_ucnt` bigint COMMENT 'None', `sumry_lv` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_frndpop_sc_sd01", "description": null, "columns": [{"name": "stge_no", "type": "bigint", "description": null}, {"name": "log_tp_cd", "type": "bigint", "description": null}, {"name": "cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_frndpop_sc_sd01` ( `stge_no` bigint COMMENT 'None', `log_tp_cd` bigint COMMENT 'None', `cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_frndpop_stge_sd01", "description": null, "columns": [{"name": "stge_tp_cd", "type": "string", "description": null}, {"name": "stge_no", "type": "bigint", "description": null}, {"name": "rlay_tcnt", "type": "bigint", "description": null}, {"name": "os_cd", "type": "bigint", "description": null}, {"name": "try_tcnt", "type": "bigint", "description": null}, {"name": "sccss_tcnt", "type": "bigint", "description": null}, {"name": "fail_tcnt", "type": "bigint", "description": null}, {"name": "gold_medal_get_cnt", "type": "bigint", "description": null}, {"name": "rep_frnd_id", "type": "bigint", "description": null}, {"name": "unitem_sccss_tcnt", "type": "bigint", "description": null}, {"name": "unitem_sccss_mv_tcnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_frndpop_stge_sd01` ( `stge_tp_cd` string COMMENT 'None', `stge_no` bigint COMMENT 'None', `rlay_tcnt` bigint COMMENT 'None', `os_cd` bigint COMMENT 'None', `try_tcnt` bigint COMMENT 'None', `sccss_tcnt` bigint COMMENT 'None', `fail_tcnt` bigint COMMENT 'None', `gold_medal_get_cnt` bigint COMMENT 'None', `rep_frnd_id` bigint COMMENT 'None', `unitem_sccss_tcnt` bigint COMMENT 'None', `unitem_sccss_mv_tcnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_frndpop_stge_sd02", "description": null, "columns": [{"name": "stge_tp_cd", "type": "string", "description": null}, {"name": "stge_no", "type": "bigint", "description": null}, {"name": "try_ucnt", "type": "bigint", "description": null}, {"name": "sccss_ucnt", "type": "bigint", "description": null}, {"name": "lst_lv_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_frndpop_stge_sd02` ( `stge_tp_cd` string COMMENT 'None', `stge_no` bigint COMMENT 'None', `try_ucnt` bigint COMMENT 'None', `sccss_ucnt` bigint COMMENT 'None', `lst_lv_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_game_cntu_use_sd01", "description": null, "columns": [{"name": "strt_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "dd_use_cyc", "type": "bigint", "description": null}, {"name": "dd_ucnt", "type": "bigint", "description": null}, {"name": "dd_pcnt", "type": "bigint", "description": null}, {"name": "dd_ptm", "type": "double", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_game_cntu_use_sd01` ( `strt_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None', `dd_use_cyc` bigint COMMENT 'None', `dd_ucnt` bigint COMMENT 'None', `dd_pcnt` bigint COMMENT 'None', `dd_ptm` double COMMENT 'None', `ltr_etc1` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_game_mblg_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "age_zn_cd", "type": "string", "description": null}, {"name": "hg_id_yn", "type": "string", "description": null}, {"name": "game_grd_tp_cd", "type": "string", "description": null}, {"name": "pcnt_secn_cd", "type": "string", "description": null}, {"name": "ptm_secn_cd", "type": "string", "description": null}, {"name": "sngl_game_use_yn", "type": "string", "description": null}, {"name": "invt_inflw_yn", "type": "string", "description": null}, {"name": "cm_ucnt", "type": "bigint", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "new_join_cnt", "type": "bigint", "description": null}, {"name": "act_ucnt", "type": "bigint", "description": null}, {"name": "wkly_ucnt", "type": "bigint", "description": null}, {"name": "cmbck_ucnt", "type": "bigint", "description": null}, {"name": "cm_pcnt", "type": "bigint", "description": null}, {"name": "tdd_pcnt", "type": "bigint", "description": null}, {"name": "cm_ptm", "type": "double", "description": null}, {"name": "tdd_ptm", "type": "double", "description": null}, {"name": "mony", "type": "bigint", "description": null}, {"name": "uv_mony", "type": "bigint", "description": null}, {"name": "coin", "type": "bigint", "description": null}, {"name": "uv_coin", "type": "bigint", "description": null}, {"name": "dmnc_sw_ucnt", "type": "bigint", "description": null}, {"name": "mm_ucnt", "type": "bigint", "description": null}, {"name": "tdd_sngl_pcnt", "type": "bigint", "description": null}, {"name": "fchg_coin", "type": "bigint", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "ltr_etc2", "type": "string", "description": null}, {"name": "ltr_etc3", "type": "string", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "num_etc2", "type": "bigint", "description": null}, {"name": "num_etc3", "type": "bigint", "description": null}, {"name": "ltr_etc4", "type": "string", "description": null}, {"name": "num_etc4", "type": "bigint", "description": null}, {"name": "secd_ucnt", "type": "bigint", "description": null}, {"name": "ltr_etc5", "type": "string", "description": null}, {"name": "ltr_etc6", "type": "string", "description": null}, {"name": "num_etc5", "type": "bigint", "description": null}, {"name": "fchg_mony", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "num_etc6", "type": "bigint", "description": null}, {"name": "num_etc7", "type": "bigint", "description": null}, {"name": "num_etc8", "type": "bigint", "description": null}, {"name": "w1_dmnc_cmbck_ucnt", "type": "bigint", "description": null}, {"name": "ltr_etc7", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "ltr_etc8", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_game_mblg_sd01` ( `game_cd` string COMMENT 'None', `st_cd` string COMMENT 'None', `sex_cd` string COMMENT 'None', `age_zn_cd` string COMMENT 'None', `hg_id_yn` string COMMENT 'None', `game_grd_tp_cd` string COMMENT 'None', `pcnt_secn_cd` string COMMENT 'None', `ptm_secn_cd` string COMMENT 'None', `sngl_game_use_yn` string COMMENT 'None', `invt_inflw_yn` string COMMENT 'None', `cm_ucnt` bigint COMMENT 'None', `ucnt` bigint COMMENT 'None', `new_join_cnt` bigint COMMENT 'None', `act_ucnt` bigint COMMENT 'None', `wkly_ucnt` bigint COMMENT 'None', `cmbck_ucnt` bigint COMMENT 'None', `cm_pcnt` bigint COMMENT 'None', `tdd_pcnt` bigint COMMENT 'None', `cm_ptm` double COMMENT 'None', `tdd_ptm` double COMMENT 'None', `mony` bigint COMMENT 'None', `uv_mony` bigint COMMENT 'None', `coin` bigint COMMENT 'None', `uv_coin` bigint COMMENT 'None', `dmnc_sw_ucnt` bigint COMMENT 'None', `mm_ucnt` bigint COMMENT 'None', `tdd_sngl_pcnt` bigint COMMENT 'None', `fchg_coin` bigint COMMENT 'None', `ltr_etc1` string COMMENT 'None', `ltr_etc2` string COMMENT 'None', `ltr_etc3` string COMMENT 'None', `num_etc1` bigint COMMENT 'None', `num_etc2` bigint COMMENT 'None', `num_etc3` bigint COMMENT 'None', `ltr_etc4` string COMMENT 'None', `num_etc4` bigint COMMENT 'None', `secd_ucnt` bigint COMMENT 'None', `ltr_etc5` string COMMENT 'None', `ltr_etc6` string COMMENT 'None', `num_etc5` bigint COMMENT 'None', `fchg_mony` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `os_cd` string COMMENT 'None', `num_etc6` bigint COMMENT 'None', `num_etc7` bigint COMMENT 'None', `num_etc8` bigint COMMENT 'None', `w1_dmnc_cmbck_ucnt` bigint COMMENT 'None', `ltr_etc7` string COMMENT 'None', `work_ymd` string COMMENT 'None', `ltr_etc8` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_game_sumry_sd01", "description": null, "columns": [{"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "mcu", "type": "bigint", "description": null}, {"name": "uv", "type": "bigint", "description": null}, {"name": "new_ucnt", "type": "bigint", "description": null}, {"name": "pu_uv", "type": "bigint", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "new_pu", "type": "bigint", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "mm_cm_uv", "type": "bigint", "description": null}, {"name": "mm_cm_pu", "type": "bigint", "description": null}, {"name": "mm_cm_pu_uv", "type": "bigint", "description": null}, {"name": "mm_cm_nsamt", "type": "double", "description": null}, {"name": "pcb_nsamt", "type": "double", "description": null}, {"name": "mm_cm_pcb_nsamt", "type": "double", "description": null}, {"name": "cm_ucnt", "type": "bigint", "description": null}, {"name": "new_join_ucnt", "type": "bigint", "description": null}, {"name": "new_inflw_ucnt", "type": "bigint", "description": null}, {"name": "acu", "type": "double", "description": null}]}
CREATE TABLE `custom_dw`.`sg_game_sumry_sd01` ( `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None', `mcu` bigint COMMENT 'None', `uv` bigint COMMENT 'None', `new_ucnt` bigint COMMENT 'None', `pu_uv` bigint COMMENT 'None', `pu` bigint COMMENT 'None', `new_pu` bigint COMMENT 'None', `nsamt` double COMMENT 'None', `mm_cm_uv` bigint COMMENT 'None', `mm_cm_pu` bigint COMMENT 'None', `mm_cm_pu_uv` bigint COMMENT 'None', `mm_cm_nsamt` double COMMENT 'None', `pcb_nsamt` double COMMENT 'None', `mm_cm_pcb_nsamt` double COMMENT 'None', `cm_ucnt` bigint COMMENT 'None', `new_join_ucnt` bigint COMMENT 'None', `new_inflw_ucnt` bigint COMMENT 'None', `acu` double COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_game_user_sd01", "description": null, "columns": [{"name": "fullage_secn_cd", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "tdd_pcnt_secn_cd", "type": "string", "description": null}, {"name": "tdd_ptm_secn_cd", "type": "string", "description": null}, {"name": "join_chnl_cd", "type": "string", "description": null}, {"name": "lst_inflw_chnl_cd", "type": "string", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "ltr_etc2", "type": "string", "description": null}, {"name": "ltr_etc3", "type": "string", "description": null}, {"name": "ltr_etc4", "type": "string", "description": null}, {"name": "ltr_etc5", "type": "string", "description": null}, {"name": "cm_ucnt", "type": "bigint", "description": null}, {"name": "tdd_ucnt", "type": "bigint", "description": null}, {"name": "tdd_join_ucnt", "type": "bigint", "description": null}, {"name": "tdd_inflw_ucnt", "type": "bigint", "description": null}, {"name": "new_join_ucnt", "type": "bigint", "description": null}, {"name": "wkly_ucnt", "type": "bigint", "description": null}, {"name": "act_ucnt", "type": "bigint", "description": null}, {"name": "cmbck_ucnt", "type": "bigint", "description": null}, {"name": "cm_pcnt", "type": "bigint", "description": null}, {"name": "tdd_pcnt", "type": "bigint", "description": null}, {"name": "cm_ptm", "type": "double", "description": null}, {"name": "tdd_ptm", "type": "double", "description": null}, {"name": "hld_mony", "type": "double", "description": null}, {"name": "tdd_user_hld_mony", "type": "double", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "num_etc2", "type": "bigint", "description": null}, {"name": "num_etc3", "type": "bigint", "description": null}, {"name": "num_etc4", "type": "bigint", "description": null}, {"name": "num_etc5", "type": "bigint", "description": null}, {"name": "num_etc6", "type": "bigint", "description": null}, {"name": "num_etc7", "type": "bigint", "description": null}, {"name": "num_etc8", "type": "bigint", "description": null}, {"name": "num_etc9", "type": "bigint", "description": null}, {"name": "num_etc10", "type": "bigint", "description": null}, {"name": "num_etc11", "type": "bigint", "description": null}, {"name": "num_etc12", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_game_user_sd01` ( `fullage_secn_cd` string COMMENT 'None', `sex_cd` string COMMENT 'None', `game_grd_cd` string COMMENT 'None', `tdd_pcnt_secn_cd` string COMMENT 'None', `tdd_ptm_secn_cd` string COMMENT 'None', `join_chnl_cd` string COMMENT 'None', `lst_inflw_chnl_cd` string COMMENT 'None', `ltr_etc1` string COMMENT 'None', `ltr_etc2` string COMMENT 'None', `ltr_etc3` string COMMENT 'None', `ltr_etc4` string COMMENT 'None', `ltr_etc5` string COMMENT 'None', `cm_ucnt` bigint COMMENT 'None', `tdd_ucnt` bigint COMMENT 'None', `tdd_join_ucnt` bigint COMMENT 'None', `tdd_inflw_ucnt` bigint COMMENT 'None', `new_join_ucnt` bigint COMMENT 'None', `wkly_ucnt` bigint COMMENT 'None', `act_ucnt` bigint COMMENT 'None', `cmbck_ucnt` bigint COMMENT 'None', `cm_pcnt` bigint COMMENT 'None', `tdd_pcnt` bigint COMMENT 'None', `cm_ptm` double COMMENT 'None', `tdd_ptm` double COMMENT 'None', `hld_mony` double COMMENT 'None', `tdd_user_hld_mony` double COMMENT 'None', `num_etc1` bigint COMMENT 'None', `num_etc2` bigint COMMENT 'None', `num_etc3` bigint COMMENT 'None', `num_etc4` bigint COMMENT 'None', `num_etc5` bigint COMMENT 'None', `num_etc6` bigint COMMENT 'None', `num_etc7` bigint COMMENT 'None', `num_etc8` bigint COMMENT 'None', `num_etc9` bigint COMMENT 'None', `num_etc10` bigint COMMENT 'None', `num_etc11` bigint COMMENT 'None', `num_etc12` bigint COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_mblg_item_hld_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "bigint", "description": null}, {"name": "act_user_yn", "type": "string", "description": null}, {"name": "item_tp_cd", "type": "string", "description": null}, {"name": "item_id", "type": "string", "description": null}, {"name": "hld_cnt", "type": "bigint", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "ltr_etc2", "type": "string", "description": null}, {"name": "num_etc2", "type": "bigint", "description": null}, {"name": "svr_id", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "ltr_etc3", "type": "string", "description": null}, {"name": "ltr_etc4", "type": "string", "description": null}, {"name": "ltr_etc5", "type": "string", "description": null}, {"name": "ltr_etc6", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_mblg_item_hld_sd01` ( `game_cd` string COMMENT 'None', `game_grd_cd` bigint COMMENT 'None', `act_user_yn` string COMMENT 'None', `item_tp_cd` string COMMENT 'None', `item_id` string COMMENT 'None', `hld_cnt` bigint COMMENT 'None', `num_etc1` bigint COMMENT 'None', `ltr_etc1` string COMMENT 'None', `ltr_etc2` string COMMENT 'None', `num_etc2` bigint COMMENT 'None', `svr_id` string COMMENT 'None', `os_cd` string COMMENT 'None', `nat_cd` string COMMENT 'None', `ltr_etc3` string COMMENT 'None', `ltr_etc4` string COMMENT 'None', `ltr_etc5` string COMMENT 'None', `ltr_etc6` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_mblg_mony_sd01", "description": null, "columns": [{"name": "tp_cd", "type": "string", "description": null}, {"name": "pay_tp_cd", "type": "string", "description": null}, {"name": "chg_rsn_cd", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "bigint", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "ltr_etc2", "type": "string", "description": null}, {"name": "ltr_etc3", "type": "string", "description": null}, {"name": "sumry_lv", "type": "bigint", "description": null}, {"name": "chg_cnt", "type": "bigint", "description": null}, {"name": "chg_amt", "type": "bigint", "description": null}, {"name": "chg_fchg_amt", "type": "bigint", "description": null}, {"name": "chg_ucnt", "type": "bigint", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "svr_id", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "mket_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "ltr_etc4", "type": "string", "description": null}, {"name": "ltr_etc5", "type": "string", "description": null}, {"name": "ltr_etc6", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_mblg_mony_sd01` ( `tp_cd` string COMMENT 'None', `pay_tp_cd` string COMMENT 'None', `chg_rsn_cd` string COMMENT 'None', `game_grd_cd` bigint COMMENT 'None', `ltr_etc1` string COMMENT 'None', `ltr_etc2` string COMMENT 'None', `ltr_etc3` string COMMENT 'None', `sumry_lv` bigint COMMENT 'None', `chg_cnt` bigint COMMENT 'None', `chg_amt` bigint COMMENT 'None', `chg_fchg_amt` bigint COMMENT 'None', `chg_ucnt` bigint COMMENT 'None', `num_etc1` bigint COMMENT 'None', `svr_id` string COMMENT 'None', `nat_cd` string COMMENT 'None', `mket_cd` string COMMENT 'None', `os_cd` string COMMENT 'None', `ltr_etc4` string COMMENT 'None', `ltr_etc5` string COMMENT 'None', `ltr_etc6` string COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_mony_chg_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "out_in_tp_cd", "type": "string", "description": null}, {"name": "mony_cd", "type": "string", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "chg_mony", "type": "double", "description": null}, {"name": "chg_cnt", "type": "bigint", "description": null}, {"name": "mm_cm_ucnt", "type": "bigint", "description": null}, {"name": "mm_cm_chg_mony", "type": "double", "description": null}, {"name": "mm_cm_chg_cnt", "type": "bigint", "description": null}, {"name": "sumry_lv", "type": "bigint", "description": null}, {"name": "gds_tp_cd", "type": "string", "description": null}, {"name": "inflw_chnl_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_mony_chg_sd01` ( `game_cd` string COMMENT 'None', `out_in_tp_cd` string COMMENT 'None', `mony_cd` string COMMENT 'None', `ucnt` bigint COMMENT 'None', `chg_mony` double COMMENT 'None', `chg_cnt` bigint COMMENT 'None', `mm_cm_ucnt` bigint COMMENT 'None', `mm_cm_chg_mony` double COMMENT 'None', `mm_cm_chg_cnt` bigint COMMENT 'None', `sumry_lv` bigint COMMENT 'None', `gds_tp_cd` string COMMENT 'None', `inflw_chnl_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_std_bdki_trace_cd_sale_sd01", "description": null, "columns": [{"name": "category", "type": "string", "description": null}, {"name": "trace_cd", "type": "string", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_std_bdki_trace_cd_sale_sd01` ( `category` string COMMENT 'None', `trace_cd` string COMMENT 'None', `samt` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_std_indr_cntu_sw01", "description": null, "columns": [{"name": "strt_ymd", "type": "string", "description": null}, {"name": "end_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "wkly_use_cyc", "type": "string", "description": null}, {"name": "wkly_ucnt", "type": "bigint", "description": null}, {"name": "wkly_pcnt", "type": "bigint", "description": null}, {"name": "wkly_ptm", "type": "double", "description": null}, {"name": "wkly_vst_dcnt", "type": "bigint", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_std_indr_cntu_sw01` ( `strt_ymd` string COMMENT 'None', `end_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None', `wkly_use_cyc` string COMMENT 'None', `wkly_ucnt` bigint COMMENT 'None', `wkly_pcnt` bigint COMMENT 'None', `wkly_ptm` double COMMENT 'None', `wkly_vst_dcnt` bigint COMMENT 'None', `ltr_etc1` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_std_indr_game_pu_sd01", "description": null, "columns": [{"name": "lcls_cd", "type": "string", "description": null}, {"name": "mcls_cd", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "mcls_nm", "type": "string", "description": null}, {"name": "game_nm", "type": "string", "description": null}, {"name": "uv", "type": "bigint", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "pu_uv", "type": "bigint", "description": null}, {"name": "mm_cm_uv", "type": "bigint", "description": null}, {"name": "mm_cm_pu", "type": "bigint", "description": null}, {"name": "mm_cm_pu_uv", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_std_indr_game_pu_sd01` ( `lcls_cd` string COMMENT 'None', `mcls_cd` string COMMENT 'None', `org_cd` string COMMENT 'None', `game_cd` string COMMENT 'None', `lcls_nm` string COMMENT 'None', `mcls_nm` string COMMENT 'None', `game_nm` string COMMENT 'None', `uv` bigint COMMENT 'None', `pu` bigint COMMENT 'None', `pu_uv` bigint COMMENT 'None', `mm_cm_uv` bigint COMMENT 'None', `mm_cm_pu` bigint COMMENT 'None', `mm_cm_pu_uv` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_std_indr_sale_secn_sm01", "description": null, "columns": [{"name": "nat_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "mket_cd", "type": "string", "description": null}, {"name": "pu_tp_cd", "type": "string", "description": null}, {"name": "mm_samt_secn_cd", "type": "string", "description": null}, {"name": "pu_yn", "type": "string", "description": null}, {"name": "lst_lv_cd", "type": "string", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "work_ym", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_std_indr_sale_secn_sm01` ( `nat_cd` string COMMENT 'None', `os_cd` string COMMENT 'None', `mket_cd` string COMMENT 'None', `pu_tp_cd` string COMMENT 'None', `mm_samt_secn_cd` string COMMENT 'None', `pu_yn` string COMMENT 'None', `lst_lv_cd` string COMMENT 'None', `samt` double COMMENT 'None', `sale_cnt` bigint COMMENT 'None', `ucnt` bigint COMMENT 'None', `work_ym` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_std_indr_sd01", "description": null, "columns": [{"name": "lcls_cd", "type": "string", "description": null}, {"name": "mcls_cd", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "mcls_nm", "type": "string", "description": null}, {"name": "game_nm", "type": "string", "description": null}, {"name": "cm_ucnt", "type": "bigint", "description": null}, {"name": "uv_cnt", "type": "bigint", "description": null}, {"name": "wkly_ucnt", "type": "bigint", "description": null}, {"name": "new_ucnt", "type": "bigint", "description": null}, {"name": "tdd_ptm", "type": "double", "description": null}, {"name": "conn_tcnt", "type": "bigint", "description": null}, {"name": "mcu", "type": "bigint", "description": null}, {"name": "mcu_tm", "type": "string", "description": null}, {"name": "act_ucnt", "type": "bigint", "description": null}, {"name": "mm_cm_ucnt", "type": "bigint", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_std_indr_sd01` ( `lcls_cd` string COMMENT 'None', `mcls_cd` string COMMENT 'None', `org_cd` string COMMENT 'None', `lcls_nm` string COMMENT 'None', `mcls_nm` string COMMENT 'None', `game_nm` string COMMENT 'None', `cm_ucnt` bigint COMMENT 'None', `uv_cnt` bigint COMMENT 'None', `wkly_ucnt` bigint COMMENT 'None', `new_ucnt` bigint COMMENT 'None', `tdd_ptm` double COMMENT 'None', `conn_tcnt` bigint COMMENT 'None', `mcu` bigint COMMENT 'None', `mcu_tm` string COMMENT 'None', `act_ucnt` bigint COMMENT 'None', `mm_cm_ucnt` bigint COMMENT 'None', `game_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "custom_dw", "table": "sg_std_indr_sm01", "description": null, "columns": [{"name": "lcls_cd", "type": "string", "description": null}, {"name": "mcls_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "mcls_nm", "type": "string", "description": null}, {"name": "game_nm", "type": "string", "description": null}, {"name": "mm_ucnt", "type": "bigint", "description": null}, {"name": "cntnu_ucnt", "type": "bigint", "description": null}, {"name": "secd_ucnt", "type": "bigint", "description": null}, {"name": "cmbck_ucnt", "type": "bigint", "description": null}, {"name": "vst_dcnt", "type": "bigint", "description": null}, {"name": "prncp_certi_yn", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
CREATE TABLE `custom_dw`.`sg_std_indr_sm01` ( `lcls_cd` string COMMENT 'None', `mcls_cd` string COMMENT 'None', `game_cd` string COMMENT 'None', `org_cd` string COMMENT 'None', `lcls_nm` string COMMENT 'None', `mcls_nm` string COMMENT 'None', `game_nm` string COMMENT 'None', `mm_ucnt` bigint COMMENT 'None', `cntnu_ucnt` bigint COMMENT 'None', `secd_ucnt` bigint COMMENT 'None', `cmbck_ucnt` bigint COMMENT 'None', `vst_dcnt` bigint COMMENT 'None', `prncp_certi_yn` string COMMENT 'None', `nat_cd` string COMMENT 'None', `os_cd` string COMMENT 'None', `ltr_etc1` string COMMENT 'None', `work_ym` string COMMENT 'None' );