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": "bip_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}]}
|
CREATE TABLE `bip_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'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_mblg_itm_p_hist", "description": null, "columns": [{"name": "item_id", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "pay_mthd_cd", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "bigint", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "pay_cnt", "type": "bigint", "description": null}, {"name": "pay_coin", "type": "bigint", "description": null}, {"name": "pay_qty", "type": "bigint", "description": null}, {"name": "pay_mony", "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": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_mblg_itm_p_hist` (
`item_id` string COMMENT 'None',
`userno` string COMMENT 'None',
`pay_mthd_cd` string COMMENT 'None',
`game_grd_cd` bigint COMMENT 'None',
`st_cd` string COMMENT 'None',
`pay_cnt` bigint COMMENT 'None',
`pay_coin` bigint COMMENT 'None',
`pay_qty` bigint COMMENT 'None',
`pay_mony` 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',
`work_ymd` string COMMENT 'None',
`game_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_mblg_itm_u_hist", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "item_id", "type": "string", "description": null}, {"name": "rsn_cd", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "bigint", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "use_cnt", "type": "bigint", "description": null}, {"name": "use_qty", "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": "svr_id", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_mblg_itm_u_hist` (
`userno` string COMMENT 'None',
`item_id` string COMMENT 'None',
`rsn_cd` string COMMENT 'None',
`game_grd_cd` bigint COMMENT 'None',
`st_cd` string COMMENT 'None',
`use_cnt` bigint COMMENT 'None',
`use_qty` bigint COMMENT 'None',
`num_etc1` bigint COMMENT 'None',
`ltr_etc1` string COMMENT 'None',
`ltr_etc2` string COMMENT 'None',
`svr_id` 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": "bip_dw", "table": "dg_mblg_login_hist", "description": null, "columns": [{"name": "log_dt", "type": "string", "description": null}, {"name": "zone_cd", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "game_no", "type": "bigint", "description": null}, {"name": "mket_cd", "type": "string", "description": null}, {"name": "dev_key", "type": "string", "description": null}, {"name": "dev_mdl", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "os_ver", "type": "string", "description": null}, {"name": "hsp_ver", "type": "string", "description": null}, {"name": "game_clnt_ver", "type": "string", "description": null}, {"name": "telecom", "type": "string", "description": null}, {"name": "ntwk_tp", "type": "string", "description": null}, {"name": "adid", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "ip", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_mblg_login_hist` (
`log_dt` string COMMENT 'None',
`zone_cd` string COMMENT 'None',
`userno` string COMMENT 'None',
`game_no` bigint COMMENT 'None',
`mket_cd` string COMMENT 'None',
`dev_key` string COMMENT 'None',
`dev_mdl` string COMMENT 'None',
`os_cd` string COMMENT 'None',
`os_ver` string COMMENT 'None',
`hsp_ver` string COMMENT 'None',
`game_clnt_ver` string COMMENT 'None',
`telecom` string COMMENT 'None',
`ntwk_tp` string COMMENT 'None',
`adid` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`ip` 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": "bip_dw", "table": "dg_mblg_mony_hist", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "tp_cd", "type": "string", "description": null}, {"name": "pay_tp_cd", "type": "string", "description": null}, {"name": "chg_rsn_cd", "type": "string", "description": null}, {"name": "chg_cnt", "type": "bigint", "description": null}, {"name": "chg_amt", "type": "bigint", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "bigint", "description": null}, {"name": "chg_fchg_amt", "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": "ltr_etc3", "type": "string", "description": null}, {"name": "svr_id", "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 `bip_dw`.`dg_mblg_mony_hist` (
`userno` string COMMENT 'None',
`tp_cd` string COMMENT 'None',
`pay_tp_cd` string COMMENT 'None',
`chg_rsn_cd` string COMMENT 'None',
`chg_cnt` bigint COMMENT 'None',
`chg_amt` bigint COMMENT 'None',
`st_cd` string COMMENT 'None',
`game_grd_cd` bigint COMMENT 'None',
`chg_fchg_amt` bigint COMMENT 'None',
`num_etc1` bigint COMMENT 'None',
`ltr_etc1` string COMMENT 'None',
`ltr_etc2` string COMMENT 'None',
`ltr_etc3` string COMMENT 'None',
`svr_id` 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": "bip_dw", "table": "dg_mblg_pay_hist", "description": null, "columns": [{"name": "pay_seq", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "prod_id", "type": "string", "description": null}, {"name": "pay_amt", "type": "double", "description": null}, {"name": "pay_dt", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "or_pay_crncy_cd", "type": "string", "description": null}, {"name": "or_pay_amt", "type": "double", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_mblg_pay_hist` (
`pay_seq` string COMMENT 'None',
`userno` string COMMENT 'None',
`prod_id` string COMMENT 'None',
`pay_amt` double COMMENT 'None',
`pay_dt` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`game_grd_cd` string COMMENT 'None',
`or_pay_crncy_cd` string COMMENT 'None',
`or_pay_amt` double COMMENT 'None',
`ltr_etc1` 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": "bip_dw", "table": "dg_mblg_payr_d01", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "fst_pay_dt", "type": "string", "description": null}, {"name": "prod_id", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "pay_amt", "type": "double", "description": null}, {"name": "net_pay_amt", "type": "double", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "fst_pay_elps_dcnt", "type": "bigint", "description": null}, {"name": "cm_pay_amt", "type": "double", "description": null}, {"name": "cm_pay_cnt", "type": "bigint", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_mblg_payr_d01` (
`userno` string COMMENT 'None',
`fst_pay_dt` string COMMENT 'None',
`prod_id` string COMMENT 'None',
`game_grd_cd` string COMMENT 'None',
`pay_amt` double COMMENT 'None',
`net_pay_amt` double COMMENT 'None',
`join_dt` string COMMENT 'None',
`fst_pay_elps_dcnt` bigint COMMENT 'None',
`cm_pay_amt` double COMMENT 'None',
`cm_pay_cnt` bigint COMMENT 'None',
`ltr_etc1` 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": "bip_dw", "table": "dg_mblg_po_evnt_hist", "description": null, "columns": [{"name": "evnt_id", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "log_tp_cd", "type": "string", "description": null}, {"name": "log_dt", "type": "string", "description": null}, {"name": "num_val1", "type": "bigint", "description": null}, {"name": "num_val2", "type": "bigint", "description": null}, {"name": "num_val3", "type": "bigint", "description": null}, {"name": "ltr_val1", "type": "string", "description": null}, {"name": "ltr_val2", "type": "string", "description": null}, {"name": "ltr_val3", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_mblg_po_evnt_hist` (
`evnt_id` string COMMENT 'None',
`userno` string COMMENT 'None',
`log_tp_cd` string COMMENT 'None',
`log_dt` string COMMENT 'None',
`num_val1` bigint COMMENT 'None',
`num_val2` bigint COMMENT 'None',
`num_val3` bigint COMMENT 'None',
`ltr_val1` string COMMENT 'None',
`ltr_val2` string COMMENT 'None',
`ltr_val3` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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 `bip_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": "bip_dw", "table": "dg_mblg_user_hist", "description": null, "columns": [{"name": "seq", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "chnl_nm", "type": "string", "description": null}, {"name": "plyr_cnt", "type": "bigint", "description": null}, {"name": "ptm_ss", "type": "double", "description": null}, {"name": "room_bos_yn", "type": "string", "description": null}, {"name": "bef_gmony", "type": "bigint", "description": null}, {"name": "aft_gmony", "type": "bigint", "description": null}, {"name": "chg_mony", "type": "bigint", "description": null}, {"name": "bef_engy", "type": "bigint", "description": null}, {"name": "aft_engy", "type": "bigint", "description": null}, {"name": "chg_engy", "type": "bigint", "description": null}, {"name": "bef_coin", "type": "bigint", "description": null}, {"name": "aft_coin", "type": "bigint", "description": null}, {"name": "chg_coin", "type": "bigint", "description": null}, {"name": "evnt_mony", "type": "bigint", "description": null}, {"name": "evnt_coin", "type": "bigint", "description": null}, {"name": "rnk", "type": "bigint", "description": null}, {"name": "scr", "type": "bigint", "description": null}, {"name": "log_dt", "type": "string", "description": null}, {"name": "game_info", "type": "string", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "num_etc2", "type": "double", "description": null}, {"name": "game_mode", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "game_knd_cd", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_mblg_user_hist` (
`seq` string COMMENT 'None',
`userno` string COMMENT 'None',
`st_cd` string COMMENT 'None',
`chnl_nm` string COMMENT 'None',
`plyr_cnt` bigint COMMENT 'None',
`ptm_ss` double COMMENT 'None',
`room_bos_yn` string COMMENT 'None',
`bef_gmony` bigint COMMENT 'None',
`aft_gmony` bigint COMMENT 'None',
`chg_mony` bigint COMMENT 'None',
`bef_engy` bigint COMMENT 'None',
`aft_engy` bigint COMMENT 'None',
`chg_engy` bigint COMMENT 'None',
`bef_coin` bigint COMMENT 'None',
`aft_coin` bigint COMMENT 'None',
`chg_coin` bigint COMMENT 'None',
`evnt_mony` bigint COMMENT 'None',
`evnt_coin` bigint COMMENT 'None',
`rnk` bigint COMMENT 'None',
`scr` bigint COMMENT 'None',
`log_dt` string COMMENT 'None',
`game_info` string COMMENT 'None',
`chnl_id` string COMMENT 'None',
`num_etc1` bigint COMMENT 'None',
`num_etc2` double COMMENT 'None',
`game_mode` string COMMENT 'None',
`ci` string COMMENT 'None',
`game_knd_cd` 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": "bip_dw", "table": "dg_mblg_user_ply_hist", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "game_no", "type": "bigint", "description": null}, {"name": "tdd_ptm", "type": "bigint", "description": null}, {"name": "tdd_conn_tcnt", "type": "bigint", "description": null}, {"name": "cm_ptm", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_mblg_user_ply_hist` (
`userno` string COMMENT 'None',
`game_no` bigint COMMENT 'None',
`tdd_ptm` bigint COMMENT 'None',
`tdd_conn_tcnt` bigint COMMENT 'None',
`cm_ptm` 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": "bip_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 `bip_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": "bip_dw", "table": "dg_po_2u_game_hist", "description": null, "columns": [{"name": "game_mode", "type": "string", "description": null}, {"name": "game_knd_cd", "type": "bigint", "description": null}, {"name": "seq", "type": "bigint", "description": null}, {"name": "userid1", "type": "string", "description": null}, {"name": "chg_mony1", "type": "double", "description": null}, {"name": "userid2", "type": "string", "description": null}, {"name": "chg_mony2", "type": "double", "description": null}, {"name": "plyr_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_2u_game_hist` (
`game_mode` string COMMENT 'None',
`game_knd_cd` bigint COMMENT 'None',
`seq` bigint COMMENT 'None',
`userid1` string COMMENT 'None',
`chg_mony1` double COMMENT 'None',
`userid2` string COMMENT 'None',
`chg_mony2` double COMMENT 'None',
`plyr_cnt` 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": "bip_dw", "table": "dg_po_dealr_trnsf_hist", "description": null, "columns": [{"name": "userid1", "type": "string", "description": null}, {"name": "userid2", "type": "string", "description": null}, {"name": "game_strt_dt", "type": "string", "description": null}, {"name": "game_end_dt", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "pcnt", "type": "bigint", "description": null}, {"name": "id1_chg_mony", "type": "double", "description": null}, {"name": "id2_chg_mony", "type": "double", "description": null}, {"name": "id1_ip", "type": "string", "description": null}, {"name": "id2_ip", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_dealr_trnsf_hist` (
`userid1` string COMMENT 'None',
`userid2` string COMMENT 'None',
`game_strt_dt` string COMMENT 'None',
`game_end_dt` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`chnl_cd` string COMMENT 'None',
`pcnt` bigint COMMENT 'None',
`id1_chg_mony` double COMMENT 'None',
`id2_chg_mony` double COMMENT 'None',
`id1_ip` string COMMENT 'None',
`id2_ip` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_po_evnt_mony_d01", "description": null, "columns": [{"name": "gamegb", "type": "string", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "evt_mony_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "pay_mony", "type": "double", "description": null}, {"name": "pay_cnt", "type": "bigint", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_evnt_mony_d01` (
`gamegb` string COMMENT 'None',
`chnl_id` string COMMENT 'None',
`evt_mony_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`pay_mony` double COMMENT 'None',
`pay_cnt` 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": "bip_dw", "table": "dg_po_game_cm_user_d01", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "mm_cm_user_pcnt", "type": "bigint", "description": null}, {"name": "mm_cm_win_mony", "type": "double", "description": null}, {"name": "mm_cm_los_mony", "type": "double", "description": null}, {"name": "mm_cm_ptm_mi", "type": "decimal(38,2)", "description": null}, {"name": "mm_cm_out_mony", "type": "double", "description": null}, {"name": "mm_cm_in_mony", "type": "double", "description": null}, {"name": "mm_cm_uv_yn", "type": "string", "description": null}, {"name": "mm_cm_pu_yn", "type": "string", "description": null}, {"name": "mm_cm_nsamt", "type": "double", "description": null}, {"name": "mm_cm_samt", "type": "double", "description": null}, {"name": "bmm_cm_pu_yn", "type": "string", "description": null}, {"name": "bmm_cm_nsamt", "type": "double", "description": null}, {"name": "bmm_cm_samt", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_game_cm_user_d01` (
`rep_game_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`userno` bigint COMMENT 'None',
`custno` bigint COMMENT 'None',
`mm_cm_user_pcnt` bigint COMMENT 'None',
`mm_cm_win_mony` double COMMENT 'None',
`mm_cm_los_mony` double COMMENT 'None',
`mm_cm_ptm_mi` decimal(38,2) COMMENT 'None',
`mm_cm_out_mony` double COMMENT 'None',
`mm_cm_in_mony` double COMMENT 'None',
`mm_cm_uv_yn` string COMMENT 'None',
`mm_cm_pu_yn` string COMMENT 'None',
`mm_cm_nsamt` double COMMENT 'None',
`mm_cm_samt` double COMMENT 'None',
`bmm_cm_pu_yn` string COMMENT 'None',
`bmm_cm_nsamt` double COMMENT 'None',
`bmm_cm_samt` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_po_game_hist", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "room_id", "type": "bigint", "description": null}, {"name": "scrt_room_yn", "type": "string", "description": null}, {"name": "vld_yn", "type": "string", "description": null}, {"name": "plyr_cnt", "type": "bigint", "description": null}, {"name": "dealr_mony", "type": "double", "description": null}, {"name": "seed_mony", "type": "double", "description": null}, {"name": "bns_mony", "type": "double", "description": null}, {"name": "bns_cd", "type": "string", "description": null}, {"name": "log_dt", "type": "string", "description": null}, {"name": "game_strt_dt", "type": "string", "description": null}, {"name": "game_tp_cd", "type": "string", "description": null}, {"name": "atmt_bet_rule_cd", "type": "string", "description": null}, {"name": "game_info", "type": "string", "description": null}, {"name": "ptm_ss", "type": "bigint", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "bos_id", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_game_hist` (
`seq` bigint COMMENT 'None',
`chnl_id` string COMMENT 'None',
`room_id` bigint COMMENT 'None',
`scrt_room_yn` string COMMENT 'None',
`vld_yn` string COMMENT 'None',
`plyr_cnt` bigint COMMENT 'None',
`dealr_mony` double COMMENT 'None',
`seed_mony` double COMMENT 'None',
`bns_mony` double COMMENT 'None',
`bns_cd` string COMMENT 'None',
`log_dt` string COMMENT 'None',
`game_strt_dt` string COMMENT 'None',
`game_tp_cd` string COMMENT 'None',
`atmt_bet_rule_cd` string COMMENT 'None',
`game_info` string COMMENT 'None',
`ptm_ss` bigint COMMENT 'None',
`chnl_cd` string COMMENT 'None',
`ltr_etc1` string COMMENT 'None',
`bos_id` 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": "bip_dw", "table": "dg_po_game_hist_d01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "plyr_cnt", "type": "bigint", "description": null}, {"name": "game_tp_cd", "type": "string", "description": null}, {"name": "atmt_bet_rule_cd", "type": "string", "description": null}, {"name": "room_prop_cd", "type": "string", "description": null}, {"name": "seed_mony", "type": "double", "description": null}, {"name": "game_pcnt", "type": "bigint", "description": null}, {"name": "dealr_mony", "type": "double", "description": null}, {"name": "rep_game_cd", "type": "string", "description": null}, {"name": "ptm_mi", "type": "decimal(15,2)", "description": null}, {"name": "dealr_chip", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_game_hist_d01` (
`game_cd` string COMMENT 'None',
`chnl_cd` string COMMENT 'None',
`plyr_cnt` bigint COMMENT 'None',
`game_tp_cd` string COMMENT 'None',
`atmt_bet_rule_cd` string COMMENT 'None',
`room_prop_cd` string COMMENT 'None',
`seed_mony` double COMMENT 'None',
`game_pcnt` bigint COMMENT 'None',
`dealr_mony` double COMMENT 'None',
`rep_game_cd` string COMMENT 'None',
`ptm_mi` decimal(15,2) COMMENT 'None',
`dealr_chip` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_po_game_user_d01", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "join_prd_cd", "type": "string", "description": null}, {"name": "lst_game_prd_cd", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "gmony", "type": "double", "description": null}, {"name": "out_insu_mony", "type": "double", "description": null}, {"name": "cm_insu_mony", "type": "double", "description": null}, {"name": "web_chag_mony", "type": "double", "description": null}, {"name": "gmony_secn_cd", "type": "string", "description": null}, {"name": "mbrs_prodid", "type": "string", "description": null}, {"name": "pu_yn", "type": "string", "description": null}, {"name": "uv_yn", "type": "string", "description": null}, {"name": "upr_chnl_use_yn", "type": "string", "description": null}, {"name": "lwr_chnl_use_yn", "type": "string", "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": "decimal(38,2)", "description": null}, {"name": "multi_conn_pcnt", "type": "bigint", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "out_mony", "type": "double", "description": null}, {"name": "in_mony", "type": "double", "description": null}, {"name": "mg_user_yn", "type": "string", "description": null}, {"name": "hi_bet_user_yn", "type": "string", "description": null}, {"name": "gold_6abv_pcnt", "type": "bigint", "description": null}, {"name": "gold_18abv_pcnt", "type": "bigint", "description": null}, {"name": "win_chip", "type": "bigint", "description": null}, {"name": "los_chip", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_game_user_d01` (
`rep_game_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`userno` bigint COMMENT 'None',
`custno` bigint COMMENT 'None',
`join_prd_cd` string COMMENT 'None',
`lst_game_prd_cd` string COMMENT 'None',
`game_grd_cd` string COMMENT 'None',
`gmony` double COMMENT 'None',
`out_insu_mony` double COMMENT 'None',
`cm_insu_mony` double COMMENT 'None',
`web_chag_mony` double COMMENT 'None',
`gmony_secn_cd` string COMMENT 'None',
`mbrs_prodid` string COMMENT 'None',
`pu_yn` string COMMENT 'None',
`uv_yn` string COMMENT 'None',
`upr_chnl_use_yn` string COMMENT 'None',
`lwr_chnl_use_yn` string 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` decimal(38,2) COMMENT 'None',
`multi_conn_pcnt` bigint COMMENT 'None',
`samt` double COMMENT 'None',
`nsamt` double COMMENT 'None',
`sale_cnt` bigint COMMENT 'None',
`out_mony` double COMMENT 'None',
`in_mony` double COMMENT 'None',
`mg_user_yn` string COMMENT 'None',
`hi_bet_user_yn` string COMMENT 'None',
`gold_6abv_pcnt` bigint COMMENT 'None',
`gold_18abv_pcnt` bigint COMMENT 'None',
`win_chip` bigint COMMENT 'None',
`los_chip` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_po_mileg_chg_hist", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "chg_tp_cd", "type": "string", "description": null}, {"name": "chg_rsn_cd", "type": "string", "description": null}, {"name": "chg_cnt", "type": "bigint", "description": null}, {"name": "chg_amt", "type": "double", "description": null}, {"name": "chg_game_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_mileg_chg_hist` (
`userid` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`chnl_cd` string COMMENT 'None',
`chnl_id` string COMMENT 'None',
`chg_tp_cd` string COMMENT 'None',
`chg_rsn_cd` string COMMENT 'None',
`chg_cnt` bigint COMMENT 'None',
`chg_amt` double COMMENT 'None',
`chg_game_mony` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_po_mini_game_hist", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "mini_game_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "get_gmony", "type": "bigint", "description": null}, {"name": "los_gmony", "type": "bigint", "description": null}, {"name": "get_bns", "type": "bigint", "description": null}, {"name": "los_bns", "type": "bigint", "description": null}, {"name": "bet_gmony", "type": "bigint", "description": null}, {"name": "bet_bns", "type": "bigint", "description": null}, {"name": "crd_gmony", "type": "bigint", "description": null}, {"name": "crd_bns", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_mini_game_hist` (
`game_cd` string COMMENT 'None',
`mini_game_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`userno` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`get_gmony` bigint COMMENT 'None',
`los_gmony` bigint COMMENT 'None',
`get_bns` bigint COMMENT 'None',
`los_bns` bigint COMMENT 'None',
`bet_gmony` bigint COMMENT 'None',
`bet_bns` bigint COMMENT 'None',
`crd_gmony` bigint COMMENT 'None',
`crd_bns` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_po_mm_mileg_d01", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "cre_ym", "type": "string", "description": null}, {"name": "expi_ym", "type": "string", "description": null}, {"name": "out_amt", "type": "double", "description": null}, {"name": "in_amt", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_mm_mileg_d01` (
`userid` string COMMENT 'None',
`cre_ym` string COMMENT 'None',
`expi_ym` string COMMENT 'None',
`out_amt` double COMMENT 'None',
`in_amt` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_po_rnk_hist", "description": null, "columns": [{"name": "user_id", "type": "string", "description": null}, {"name": "rnk_no", "type": "bigint", "description": null}, {"name": "use_mony", "type": "double", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "get_pnt", "type": "bigint", "description": null}, {"name": "exht_pnt", "type": "bigint", "description": null}, {"name": "canc_in_pnt", "type": "bigint", "description": null}, {"name": "reg_out_pnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_rnk_hist` (
`user_id` string COMMENT 'None',
`rnk_no` bigint COMMENT 'None',
`use_mony` double COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`get_pnt` bigint COMMENT 'None',
`exht_pnt` bigint COMMENT 'None',
`canc_in_pnt` bigint COMMENT 'None',
`reg_out_pnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_po_rnk_user_d01", "description": null, "columns": [{"name": "user_id", "type": "string", "description": null}, {"name": "rnk_no", "type": "bigint", "description": null}, {"name": "rnk_prpt_yn", "type": "string", "description": null}, {"name": "lst_prpt_chnl_id", "type": "string", "description": null}, {"name": "pnt", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "game_mony", "type": "double", "description": null}, {"name": "rnk_aply_dt", "type": "string", "description": null}, {"name": "evnt_cd", "type": "bigint", "description": null}, {"name": "lst_mod_dt", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_rnk_user_d01` (
`user_id` string COMMENT 'None',
`rnk_no` bigint COMMENT 'None',
`rnk_prpt_yn` string COMMENT 'None',
`lst_prpt_chnl_id` string COMMENT 'None',
`pnt` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`game_mony` double COMMENT 'None',
`rnk_aply_dt` string COMMENT 'None',
`evnt_cd` bigint COMMENT 'None',
`lst_mod_dt` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_po_rstct_user_d01", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "etc_hld_mony", "type": "double", "description": null}, {"name": "fchg_hld_mony", "type": "double", "description": null}, {"name": "rstct_yn", "type": "string", "description": null}, {"name": "rels_yn", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "lst_chnlid", "type": "string", "description": null}, {"name": "rels_oprr_cd", "type": "string", "description": null}, {"name": "vip_lv", "type": "string", "description": null}, {"name": "mbrs_cd", "type": "string", "description": null}, {"name": "rstct2_yn", "type": "string", "description": null}, {"name": "etc2_hld_mony", "type": "double", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "tdd_rstct_cnt", "type": "bigint", "description": null}, {"name": "los_rstct_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_rstct_user_d01` (
`userid` string COMMENT 'None',
`custno` bigint COMMENT 'None',
`etc_hld_mony` double COMMENT 'None',
`fchg_hld_mony` double COMMENT 'None',
`rstct_yn` string COMMENT 'None',
`rels_yn` string COMMENT 'None',
`lst_game_dt` string COMMENT 'None',
`lst_chnlid` string COMMENT 'None',
`rels_oprr_cd` string COMMENT 'None',
`vip_lv` string COMMENT 'None',
`mbrs_cd` string COMMENT 'None',
`rstct2_yn` string COMMENT 'None',
`etc2_hld_mony` double COMMENT 'None',
`ci` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`tdd_rstct_cnt` bigint 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": "bip_dw", "table": "dg_po_rstct_user_hist", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "log_dt", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "los_rstct_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_rstct_user_hist` (
`userid` string COMMENT 'None',
`log_dt` string COMMENT 'None',
`ci` string COMMENT 'None',
`los_rstct_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": "bip_dw", "table": "dg_po_trnsf_hist", "description": null, "columns": [{"name": "userid1", "type": "string", "description": null}, {"name": "userid2", "type": "string", "description": null}, {"name": "room_ent_dt", "type": "string", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "room_id", "type": "bigint", "description": null}, {"name": "pcnt", "type": "bigint", "description": null}, {"name": "id1_win_mony", "type": "double", "description": null}, {"name": "id1_los_mony", "type": "double", "description": null}, {"name": "id2_win_mony", "type": "double", "description": null}, {"name": "id2_los_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_trnsf_hist` (
`userid1` string COMMENT 'None',
`userid2` string COMMENT 'None',
`room_ent_dt` string COMMENT 'None',
`chnl_id` string COMMENT 'None',
`chnl_cd` string COMMENT 'None',
`room_id` bigint COMMENT 'None',
`pcnt` bigint COMMENT 'None',
`id1_win_mony` double COMMENT 'None',
`id1_los_mony` double COMMENT 'None',
`id2_win_mony` double COMMENT 'None',
`id2_los_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": "bip_dw", "table": "dg_po_upp_mony_dealr_d01", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "trnsf_id_cnt", "type": "bigint", "description": null}, {"name": "main_use_game_cd", "type": "string", "description": null}, {"name": "trnsf_id_cnt_po7", "type": "bigint", "description": null}, {"name": "trnsf_id_cnt_duelpo", "type": "bigint", "description": null}, {"name": "trnsf_id_cnt_lapo", "type": "bigint", "description": null}, {"name": "trnsf_id_cnt_highlow", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_upp_mony_dealr_d01` (
`userid` string COMMENT 'None',
`trnsf_id_cnt` bigint COMMENT 'None',
`main_use_game_cd` string COMMENT 'None',
`trnsf_id_cnt_po7` bigint COMMENT 'None',
`trnsf_id_cnt_duelpo` bigint COMMENT 'None',
`trnsf_id_cnt_lapo` bigint COMMENT 'None',
`trnsf_id_cnt_highlow` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_po_upp_trnsf_hist", "description": null, "columns": [{"name": "userid1", "type": "string", "description": null}, {"name": "userid2", "type": "string", "description": null}, {"name": "seq", "type": "bigint", "description": null}, {"name": "log_dt", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "trnsf_seq", "type": "bigint", "description": null}, {"name": "stvic_seq", "type": "bigint", "description": null}, {"name": "id1_chg_mony", "type": "double", "description": null}, {"name": "id2_chg_mony", "type": "double", "description": null}, {"name": "id1_ip", "type": "string", "description": null}, {"name": "id2_ip", "type": "string", "description": null}, {"name": "id1_mac", "type": "string", "description": null}, {"name": "id2_mac", "type": "string", "description": null}, {"name": "id1_pcb_yn", "type": "string", "description": null}, {"name": "id2_pcb_yn", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_upp_trnsf_hist` (
`userid1` string COMMENT 'None',
`userid2` string COMMENT 'None',
`seq` bigint COMMENT 'None',
`log_dt` string COMMENT 'None',
`chnl_cd` string COMMENT 'None',
`trnsf_seq` bigint COMMENT 'None',
`stvic_seq` bigint COMMENT 'None',
`id1_chg_mony` double COMMENT 'None',
`id2_chg_mony` double COMMENT 'None',
`id1_ip` string COMMENT 'None',
`id2_ip` string COMMENT 'None',
`id1_mac` string COMMENT 'None',
`id2_mac` string COMMENT 'None',
`id1_pcb_yn` string COMMENT 'None',
`id2_pcb_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": "bip_dw", "table": "dg_po_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": "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": "out_insu_mony", "type": "double", "description": null}, {"name": "cm_insu_mony", "type": "double", "description": null}, {"name": "web_chag_mony", "type": "double", "description": null}, {"name": "moukey_yn", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "los_rstct_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_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',
`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',
`out_insu_mony` double COMMENT 'None',
`cm_insu_mony` double COMMENT 'None',
`web_chag_mony` double COMMENT 'None',
`moukey_yn` string COMMENT 'None',
`ci` string COMMENT 'None',
`los_rstct_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": "bip_dw", "table": "dg_po_user_hist", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "userid", "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": "log_dt", "type": "string", "description": null}, {"name": "chnl_ent_dt", "type": "string", "description": null}, {"name": "room_ent_dt", "type": "string", "description": null}, {"name": "ptm_ss", "type": "bigint", "description": null}, {"name": "pcb_yn", "type": "string", "description": null}, {"name": "bef_game_grd_nm", "type": "string", "description": null}, {"name": "bef_gmony", "type": "double", "description": null}, {"name": "chg_gmony", "type": "double", "description": null}, {"name": "aft_gmony", "type": "double", "description": null}, {"name": "chnc_use_yn", "type": "string", "description": null}, {"name": "evnt_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": "card_info", "type": "string", "description": null}, {"name": "bet_info", "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": "user_log_dt", "type": "string", "description": null}, {"name": "bet_gmony", "type": "double", "description": null}, {"name": "rslt_gmony", "type": "double", "description": null}, {"name": "lblt_flag", "type": "bigint", "description": null}, {"name": "pc_no", "type": "string", "description": null}, {"name": "insu_mony_yn", "type": "string", "description": null}, {"name": "mileg", "type": "double", "description": null}, {"name": "clnt_cd", "type": "string", "description": null}, {"name": "dealr_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_user_hist` (
`seq` bigint COMMENT 'None',
`userid` string COMMENT 'None',
`chnl_cd` string COMMENT 'None',
`chnl_id` string COMMENT 'None',
`pcb_cd` string COMMENT 'None',
`pcb_grd_cd` string COMMENT 'None',
`log_dt` string COMMENT 'None',
`chnl_ent_dt` string COMMENT 'None',
`room_ent_dt` string COMMENT 'None',
`ptm_ss` bigint COMMENT 'None',
`pcb_yn` string COMMENT 'None',
`bef_game_grd_nm` string COMMENT 'None',
`bef_gmony` double COMMENT 'None',
`chg_gmony` double COMMENT 'None',
`aft_gmony` double COMMENT 'None',
`chnc_use_yn` string COMMENT 'None',
`evnt_mony` double COMMENT 'None',
`ip` string COMMENT 'None',
`locl_ip` string COMMENT 'None',
`mac` string COMMENT 'None',
`card_info` string COMMENT 'None',
`bet_info` string COMMENT 'None',
`multi_conn_yn` string COMMENT 'None',
`hkng_yn` string COMMENT 'None',
`inflw_chnl_cd` string COMMENT 'None',
`user_log_dt` string COMMENT 'None',
`bet_gmony` double COMMENT 'None',
`rslt_gmony` double COMMENT 'None',
`lblt_flag` bigint COMMENT 'None',
`pc_no` string COMMENT 'None',
`insu_mony_yn` string COMMENT 'None',
`mileg` double COMMENT 'None',
`clnt_cd` string COMMENT 'None',
`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": "bip_dw", "table": "dg_po_user_hist_d01", "description": null, "columns": [{"name": "rep_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": "decimal(15,2)", "description": null}, {"name": "win_scr", "type": "bigint", "description": null}, {"name": "scr", "type": "bigint", "description": null}, {"name": "los_chip", "type": "bigint", "description": null}, {"name": "clnt_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_user_hist_d01` (
`rep_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` decimal(15,2) COMMENT 'None',
`win_scr` bigint COMMENT 'None',
`scr` bigint COMMENT 'None',
`los_chip` bigint COMMENT 'None',
`clnt_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": "bip_dw", "table": "dg_po_v1_game_d01", "description": null, "columns": [{"name": "stvic_grp_no", "type": "bigint", "description": null}, {"name": "stvic_rslt_no", "type": "bigint", "description": null}, {"name": "bos_id", "type": "string", "description": null}, {"name": "win_userid", "type": "string", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "room_id", "type": "bigint", "description": null}, {"name": "bos_room_ent_dt", "type": "string", "description": null}, {"name": "plyr_cnt", "type": "bigint", "description": null}, {"name": "prpt_user", "type": "string", "description": null}, {"name": "stvic_rslt_pcnt", "type": "bigint", "description": null}, {"name": "bos_win_pcnt", "type": "bigint", "description": null}, {"name": "bos_los_pcnt", "type": "bigint", "description": null}, {"name": "bos_win_mony", "type": "double", "description": null}, {"name": "bos_los_mony", "type": "double", "description": null}, {"name": "win_mony", "type": "double", "description": null}, {"name": "los_mony", "type": "double", "description": null}, {"name": "stvic_grp_win_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_v1_game_d01` (
`stvic_grp_no` bigint COMMENT 'None',
`stvic_rslt_no` bigint COMMENT 'None',
`bos_id` string COMMENT 'None',
`win_userid` string COMMENT 'None',
`chnl_id` string COMMENT 'None',
`chnl_cd` string COMMENT 'None',
`room_id` bigint COMMENT 'None',
`bos_room_ent_dt` string COMMENT 'None',
`plyr_cnt` bigint COMMENT 'None',
`prpt_user` string COMMENT 'None',
`stvic_rslt_pcnt` bigint COMMENT 'None',
`bos_win_pcnt` bigint COMMENT 'None',
`bos_los_pcnt` bigint COMMENT 'None',
`bos_win_mony` double COMMENT 'None',
`bos_los_mony` double COMMENT 'None',
`win_mony` double COMMENT 'None',
`los_mony` double COMMENT 'None',
`stvic_grp_win_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": "bip_dw", "table": "dg_po_v1_game_hist", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "room_id", "type": "bigint", "description": null}, {"name": "bos_id", "type": "string", "description": null}, {"name": "bos_room_ent_dt", "type": "string", "description": null}, {"name": "prpt_user", "type": "string", "description": null}, {"name": "plyr_cnt", "type": "bigint", "description": null}, {"name": "win_userid", "type": "string", "description": null}, {"name": "win_mony", "type": "double", "description": null}, {"name": "los_mony", "type": "double", "description": null}, {"name": "bos_win_mony", "type": "double", "description": null}, {"name": "bos_los_mony", "type": "double", "description": null}, {"name": "win_ucnt", "type": "bigint", "description": null}, {"name": "die_ucnt", "type": "bigint", "description": null}, {"name": "stvic_grp_yn", "type": "bigint", "description": null}, {"name": "stvic_rslt_yn", "type": "bigint", "description": null}, {"name": "stvic_grp_no", "type": "bigint", "description": null}, {"name": "stvic_rslt_no", "type": "bigint", "description": null}, {"name": "stvic_grp_ply_pcnt", "type": "bigint", "description": null}, {"name": "stvic_rslt_pcnt", "type": "bigint", "description": null}, {"name": "die_win_pcnt", "type": "bigint", "description": null}, {"name": "stvic_grp_win_mony", "type": "double", "description": null}, {"name": "stvic_grp_los_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_v1_game_hist` (
`seq` bigint COMMENT 'None',
`chnl_id` string COMMENT 'None',
`chnl_cd` string COMMENT 'None',
`room_id` bigint COMMENT 'None',
`bos_id` string COMMENT 'None',
`bos_room_ent_dt` string COMMENT 'None',
`prpt_user` string COMMENT 'None',
`plyr_cnt` bigint COMMENT 'None',
`win_userid` string COMMENT 'None',
`win_mony` double COMMENT 'None',
`los_mony` double COMMENT 'None',
`bos_win_mony` double COMMENT 'None',
`bos_los_mony` double COMMENT 'None',
`win_ucnt` bigint COMMENT 'None',
`die_ucnt` bigint COMMENT 'None',
`stvic_grp_yn` bigint COMMENT 'None',
`stvic_rslt_yn` bigint COMMENT 'None',
`stvic_grp_no` bigint COMMENT 'None',
`stvic_rslt_no` bigint COMMENT 'None',
`stvic_grp_ply_pcnt` bigint COMMENT 'None',
`stvic_rslt_pcnt` bigint COMMENT 'None',
`die_win_pcnt` bigint COMMENT 'None',
`stvic_grp_win_mony` double COMMENT 'None',
`stvic_grp_los_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": "bip_dw", "table": "dg_po_vip_user_d01", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "work_ym", "type": "string", "description": null}, {"name": "vip_grd_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_po_vip_user_d01` (
`userid` string COMMENT 'None',
`work_ym` string COMMENT 'None',
`vip_grd_cd` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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 `bip_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": "bip_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 `bip_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": "bip_dw", "table": "dm_mbr_d01", "description": null, "columns": [{"name": "st_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "user_nm", "type": "string", "description": null}, {"name": "ssn_7char", "type": "string", "description": null}, {"name": "mbr_tp_cd", "type": "string", "description": null}, {"name": "brthy", "type": "bigint", "description": null}, {"name": "brtd", "type": "string", "description": null}, {"name": "age_cd", "type": "string", "description": null}, {"name": "fullage_cd", "type": "string", "description": null}, {"name": "age_zn_cd", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "frgnr_yn", "type": "string", "description": null}, {"name": "mbr_stat_cd", "type": "string", "description": null}, {"name": "rlnm_tp_cd", "type": "string", "description": null}, {"name": "aprch_auth_cd", "type": "string", "description": null}, {"name": "join_prd_cd", "type": "string", "description": null}, {"name": "lst_login_prd_cd", "type": "string", "description": null}, {"name": "bdd_lst_login_prd_cd", "type": "string", "description": null}, {"name": "pcb_yn", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_login_dt", "type": "string", "description": null}, {"name": "lst_mod_dt", "type": "string", "description": null}, {"name": "lst_ip", "type": "string", "description": null}, {"name": "certi_stp_cd", "type": "string", "description": null}, {"name": "join_chnl_cd", "type": "string", "description": null}, {"name": "lst_inflw_chnl_cd", "type": "string", "description": null}, {"name": "rlnm_certi_cd", "type": "bigint", "description": null}, {"name": "join_path_cd", "type": "string", "description": null}, {"name": "mbl_mbr_yn", "type": "string", "description": null}, {"name": "pwd_tp_cd", "type": "string", "description": null}, {"name": "lst_prncp_certi_dt", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "multi_idp_cd", "type": "string", "description": null}, {"name": "lst_acss_dt", "type": "string", "description": null}, {"name": "lst_acss_prd_cd", "type": "string", "description": null}, {"name": "payco_info_ofr_agree_yn", "type": "string", "description": null}, {"name": "uotp_plus_join_yn", "type": "string", "description": null}, {"name": "hg_otp_join_yn", "type": "string", "description": null}, {"name": "hg_otp_join_dt", "type": "string", "description": null}, {"name": "dsgt_pc_join_yn", "type": "string", "description": null}, {"name": "dsgt_pc_join_dt", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dm_mbr_d01` (
`st_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`userno` bigint COMMENT 'None',
`custno` bigint COMMENT 'None',
`user_nm` string COMMENT 'None',
`ssn_7char` string COMMENT 'None',
`mbr_tp_cd` string COMMENT 'None',
`brthy` bigint COMMENT 'None',
`brtd` string COMMENT 'None',
`age_cd` string COMMENT 'None',
`fullage_cd` string COMMENT 'None',
`age_zn_cd` string COMMENT 'None',
`sex_cd` string COMMENT 'None',
`frgnr_yn` string COMMENT 'None',
`mbr_stat_cd` string COMMENT 'None',
`rlnm_tp_cd` string COMMENT 'None',
`aprch_auth_cd` string COMMENT 'None',
`join_prd_cd` string COMMENT 'None',
`lst_login_prd_cd` string COMMENT 'None',
`bdd_lst_login_prd_cd` string COMMENT 'None',
`pcb_yn` string COMMENT 'None',
`join_dt` string COMMENT 'None',
`lst_login_dt` string COMMENT 'None',
`lst_mod_dt` string COMMENT 'None',
`lst_ip` string COMMENT 'None',
`certi_stp_cd` string COMMENT 'None',
`join_chnl_cd` string COMMENT 'None',
`lst_inflw_chnl_cd` string COMMENT 'None',
`rlnm_certi_cd` bigint COMMENT 'None',
`join_path_cd` string COMMENT 'None',
`mbl_mbr_yn` string COMMENT 'None',
`pwd_tp_cd` string COMMENT 'None',
`lst_prncp_certi_dt` string COMMENT 'None',
`ci` string COMMENT 'None',
`multi_idp_cd` string COMMENT 'None',
`lst_acss_dt` string COMMENT 'None',
`lst_acss_prd_cd` string COMMENT 'None',
`payco_info_ofr_agree_yn` string COMMENT 'None',
`uotp_plus_join_yn` string COMMENT 'None',
`hg_otp_join_yn` string COMMENT 'None',
`hg_otp_join_dt` string COMMENT 'None',
`dsgt_pc_join_yn` string COMMENT 'None',
`dsgt_pc_join_dt` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dm_mbr_lev_hist", "description": null, "columns": [{"name": "lev_dt", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "lev_tp_cd", "type": "string", "description": null}, {"name": "lev_tcnt", "type": "bigint", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dm_mbr_lev_hist` (
`lev_dt` string COMMENT 'None',
`st_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`lev_tp_cd` string COMMENT 'None',
`lev_tcnt` bigint COMMENT 'None',
`userno` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "ds_appgd_cm_adid_d01", "description": null, "columns": [{"name": "svc_tp_cd", "type": "string", "description": null}, {"name": "adid", "type": "string", "description": null}, {"name": "fst_log_ymd", "type": "string", "description": null}, {"name": "lst_log_ymd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "app_list_gth_yn", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`ds_appgd_cm_adid_d01` (
`svc_tp_cd` string COMMENT 'None',
`adid` string COMMENT 'None',
`fst_log_ymd` string COMMENT 'None',
`lst_log_ymd` string COMMENT 'None',
`os_cd` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`app_list_gth_yn` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "ds_appgd_exec_hist", "description": null, "columns": [{"name": "log_dt", "type": "string", "description": null}, {"name": "app_key", "type": "string", "description": null}, {"name": "dev_key", "type": "string", "description": null}, {"name": "adid", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "dev_lang", "type": "string", "description": null}, {"name": "pkg_nm", "type": "string", "description": null}, {"name": "dev_mdl", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "ip", "type": "string", "description": null}, {"name": "os_ver", "type": "string", "description": null}, {"name": "app_list_gth_yn", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`ds_appgd_exec_hist` (
`log_dt` string COMMENT 'None',
`app_key` string COMMENT 'None',
`dev_key` string COMMENT 'None',
`adid` string COMMENT 'None',
`os_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`dev_lang` string COMMENT 'None',
`pkg_nm` string COMMENT 'None',
`dev_mdl` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`ip` string COMMENT 'None',
`os_ver` string COMMENT 'None',
`app_list_gth_yn` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sb_b2b_evnt_user_sd01", "description": null, "columns": [{"name": "b2b_tp_cd", "type": "string", "description": null}, {"name": "out_tp_cd", "type": "string", "description": null}, {"name": "evnt_cd", "type": "string", "description": null}, {"name": "age_zn_cd", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "sumry_lv", "type": "bigint", "description": null}, {"name": "prpt_ucnt", "type": "bigint", "description": null}, {"name": "prpt_tcnt", "type": "bigint", "description": null}, {"name": "out_mony", "type": "double", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "mm_cm_prpt_ucnt", "type": "bigint", "description": null}, {"name": "mm_cm_prpt_tcnt", "type": "bigint", "description": null}, {"name": "mm_cm_out_mony", "type": "double", "description": null}, {"name": "mm_cm_samt", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sb_b2b_evnt_user_sd01` (
`b2b_tp_cd` string COMMENT 'None',
`out_tp_cd` string COMMENT 'None',
`evnt_cd` string COMMENT 'None',
`age_zn_cd` string COMMENT 'None',
`sex_cd` string COMMENT 'None',
`sumry_lv` bigint COMMENT 'None',
`prpt_ucnt` bigint COMMENT 'None',
`prpt_tcnt` bigint COMMENT 'None',
`out_mony` double COMMENT 'None',
`samt` double COMMENT 'None',
`mm_cm_prpt_ucnt` bigint COMMENT 'None',
`mm_cm_prpt_tcnt` bigint COMMENT 'None',
`mm_cm_out_mony` double COMMENT 'None',
`mm_cm_samt` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sb_coin_chag_sd01", "description": null, "columns": [{"name": "chag_amt", "type": "double", "description": null}, {"name": "noml_chag_amt", "type": "double", "description": null}, {"name": "canc_chag_amt", "type": "double", "description": null}, {"name": "chag_cnt", "type": "bigint", "description": null}, {"name": "noml_chag_cnt", "type": "bigint", "description": null}, {"name": "canc_chag_cnt", "type": "bigint", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "payco_tdd_sw_user_tdd_pu", "type": "bigint", "description": null}, {"name": "payco_tdd_sw_user_tdd_chag_amt", "type": "double", "description": null}, {"name": "payco_cm_sw_user_tdd_pu", "type": "bigint", "description": null}, {"name": "payco_cm_sw_user_tdd_chag_amt", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sb_coin_chag_sd01` (
`chag_amt` double COMMENT 'None',
`noml_chag_amt` double COMMENT 'None',
`canc_chag_amt` double COMMENT 'None',
`chag_cnt` bigint COMMENT 'None',
`noml_chag_cnt` bigint COMMENT 'None',
`canc_chag_cnt` bigint COMMENT 'None',
`pu` bigint COMMENT 'None',
`payco_tdd_sw_user_tdd_pu` bigint COMMENT 'None',
`payco_tdd_sw_user_tdd_chag_amt` double COMMENT 'None',
`payco_cm_sw_user_tdd_pu` bigint COMMENT 'None',
`payco_cm_sw_user_tdd_chag_amt` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sb_endp_sale_sd01", "description": null, "columns": [{"name": "st_cd", "type": "string", "description": null}, {"name": "org_lcls_cd", "type": "string", "description": null}, {"name": "org_mcls_cd", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}, {"name": "prod_lcls_cd", "type": "string", "description": null}, {"name": "sale_cd", "type": "string", "description": null}, {"name": "sumry_lv", "type": "bigint", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "puc", "type": "bigint", "description": null}, {"name": "tmm_cm_nsamt", "type": "double", "description": null}, {"name": "tmm_cm_sale_cnt", "type": "bigint", "description": null}, {"name": "tmm_cm_pu", "type": "bigint", "description": null}, {"name": "tmm_cm_puc", "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 `bip_dw`.`sb_endp_sale_sd01` (
`st_cd` string COMMENT 'None',
`org_lcls_cd` string COMMENT 'None',
`org_mcls_cd` string COMMENT 'None',
`org_cd` string COMMENT 'None',
`prod_lcls_cd` string COMMENT 'None',
`sale_cd` string COMMENT 'None',
`sumry_lv` bigint COMMENT 'None',
`nsamt` double COMMENT 'None',
`sale_cnt` bigint COMMENT 'None',
`pu` bigint COMMENT 'None',
`puc` bigint COMMENT 'None',
`tmm_cm_nsamt` double COMMENT 'None',
`tmm_cm_sale_cnt` bigint COMMENT 'None',
`tmm_cm_pu` bigint COMMENT 'None',
`tmm_cm_puc` 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": "bip_dw", "table": "sb_mbrs_lcns_sd01", "description": null, "columns": [{"name": "item_id", "type": "string", "description": null}, {"name": "status_cd", "type": "string", "description": null}, {"name": "detail_status_cd", "type": "string", "description": null}, {"name": "usergb", "type": "string", "description": null}, {"name": "agegb", "type": "string", "description": null}, {"name": "sex", "type": "string", "description": null}, {"name": "region", "type": "string", "description": null}, {"name": "join_prd_tp_cd", "type": "string", "description": null}, {"name": "lst_prd_tp_cd", "type": "string", "description": null}, {"name": "grp_cntnu_use_gb_cd", "type": "string", "description": null}, {"name": "pkg_tp_cd", "type": "string", "description": null}, {"name": "pkg_id", "type": "string", "description": null}, {"name": "ag_user_cnt", "type": "bigint", "description": null}, {"name": "valid_user_cnt", "type": "bigint", "description": null}, {"name": "reg_dt", "type": "string", "description": null}, {"name": "item_cntnu_use_gb_cd", "type": "string", "description": null}, {"name": "new_join_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sb_mbrs_lcns_sd01` (
`item_id` string COMMENT 'None',
`status_cd` string COMMENT 'None',
`detail_status_cd` string COMMENT 'None',
`usergb` string COMMENT 'None',
`agegb` string COMMENT 'None',
`sex` string COMMENT 'None',
`region` string COMMENT 'None',
`join_prd_tp_cd` string COMMENT 'None',
`lst_prd_tp_cd` string COMMENT 'None',
`grp_cntnu_use_gb_cd` string COMMENT 'None',
`pkg_tp_cd` string COMMENT 'None',
`pkg_id` string COMMENT 'None',
`ag_user_cnt` bigint COMMENT 'None',
`valid_user_cnt` bigint COMMENT 'None',
`reg_dt` string COMMENT 'None',
`item_cntnu_use_gb_cd` string COMMENT 'None',
`new_join_ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sb_pcb_sale_sd01", "description": null, "columns": [{"name": "game_id", "type": "string", "description": null}, {"name": "brofc_cd", "type": "string", "description": null}, {"name": "pcb_cnt", "type": "bigint", "description": null}, {"name": "exht_tm", "type": "bigint", "description": null}, {"name": "sale_amt", "type": "double", "description": null}, {"name": "rst_tm", "type": "double", "description": null}, {"name": "pcb_tp_cd", "type": "string", "description": null}, {"name": "cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sb_pcb_sale_sd01` (
`game_id` string COMMENT 'None',
`brofc_cd` string COMMENT 'None',
`pcb_cnt` bigint COMMENT 'None',
`exht_tm` bigint COMMENT 'None',
`sale_amt` double COMMENT 'None',
`rst_tm` double COMMENT 'None',
`pcb_tp_cd` string COMMENT 'None',
`cnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sb_shop_pay_path_sd01", "description": null, "columns": [{"name": "work_ym", "type": "string", "description": null}, {"name": "web_clnt_tp_cd", "type": "string", "description": null}, {"name": "rep_game_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "prod_seq", "type": "string", "description": null}, {"name": "sumry_lv", "type": "bigint", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sb_shop_pay_path_sd01` (
`work_ym` string COMMENT 'None',
`web_clnt_tp_cd` string COMMENT 'None',
`rep_game_cd` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`prod_seq` string COMMENT 'None',
`sumry_lv` bigint COMMENT 'None',
`samt` double COMMENT 'None',
`nsamt` double COMMENT 'None',
`sale_cnt` bigint COMMENT 'None',
`pu` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_bdki_high_rnk_cntu_use_sd01", "description": null, "columns": [{"name": "strt_ymd", "type": "string", "description": null}, {"name": "dd_use_cyc", "type": "bigint", "description": null}, {"name": "dd_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_bdki_high_rnk_cntu_use_sd01` (
`strt_ymd` string COMMENT 'None',
`dd_use_cyc` bigint COMMENT 'None',
`dd_ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_bdki_high_rnk_game_sd01", "description": null, "columns": [{"name": "chnl_nm", "type": "string", "description": null}, {"name": "game_mode", "type": "string", "description": null}, {"name": "sumry_lv", "type": "bigint", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "allin_tcnt", "type": "bigint", "description": null}, {"name": "los_mony", "type": "double", "description": null}, {"name": "dealr_mony", "type": "bigint", "description": null}, {"name": "game_tp_cd", "type": "string", "description": null}, {"name": "pcnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_bdki_high_rnk_game_sd01` (
`chnl_nm` string COMMENT 'None',
`game_mode` string COMMENT 'None',
`sumry_lv` bigint COMMENT 'None',
`ucnt` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`allin_tcnt` bigint COMMENT 'None',
`los_mony` double COMMENT 'None',
`dealr_mony` bigint COMMENT 'None',
`game_tp_cd` string COMMENT 'None',
`pcnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_bdki_high_rnk_item_sd01", "description": null, "columns": [{"name": "item_id", "type": "string", "description": null}, {"name": "tp_cd", "type": "string", "description": null}, {"name": "qty", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_bdki_high_rnk_item_sd01` (
`item_id` string COMMENT 'None',
`tp_cd` string COMMENT 'None',
`qty` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_bdki_high_rnk_mony_sd01", "description": null, "columns": [{"name": "mony", "type": "bigint", "description": null}, {"name": "coin", "type": "bigint", "description": null}, {"name": "fchg_coin", "type": "bigint", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_bdki_high_rnk_mony_sd01` (
`mony` bigint COMMENT 'None',
`coin` bigint COMMENT 'None',
`fchg_coin` bigint COMMENT 'None',
`ltr_etc1` string COMMENT 'None',
`num_etc1` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_bdki_high_rnk_mony_vari_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": "ltr_etc1", "type": "string", "description": null}, {"name": "ltr_etc2", "type": "string", "description": null}, {"name": "chg_cnt", "type": "bigint", "description": null}, {"name": "chg_amt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_bdki_high_rnk_mony_vari_sd01` (
`tp_cd` string COMMENT 'None',
`pay_tp_cd` string COMMENT 'None',
`chg_rsn_cd` string COMMENT 'None',
`ltr_etc1` string COMMENT 'None',
`ltr_etc2` string COMMENT 'None',
`chg_cnt` bigint COMMENT 'None',
`chg_amt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_bdki_high_rnk_new_pu_sd01", "description": null, "columns": [{"name": "prod_nm", "type": "string", "description": null}, {"name": "join_elps_dcnt", "type": "bigint", "description": null}, {"name": "fst_samt", "type": "bigint", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_bdki_high_rnk_new_pu_sd01` (
`prod_nm` string COMMENT 'None',
`join_elps_dcnt` bigint COMMENT 'None',
`fst_samt` bigint COMMENT 'None',
`pu` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_bdki_high_rnk_sale_sd01", "description": null, "columns": [{"name": "sumry_lv", "type": "int", "description": null}, {"name": "market", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "prod_nm", "type": "string", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "samt", "type": "bigint", "description": null}, {"name": "nsamt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_bdki_high_rnk_sale_sd01` (
`sumry_lv` int COMMENT 'None',
`market` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`prod_nm` string COMMENT 'None',
`pu` bigint COMMENT 'None',
`sale_cnt` bigint COMMENT 'None',
`samt` bigint COMMENT 'None',
`nsamt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_bdki_high_rnk_sale_sw01", "description": null, "columns": [{"name": "sumry_lv", "type": "int", "description": null}, {"name": "market", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "prod_nm", "type": "string", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "samt", "type": "bigint", "description": null}, {"name": "nsamt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_bdki_high_rnk_sale_sw01` (
`sumry_lv` int COMMENT 'None',
`market` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`prod_nm` string COMMENT 'None',
`pu` bigint COMMENT 'None',
`sale_cnt` bigint COMMENT 'None',
`samt` bigint COMMENT 'None',
`nsamt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_bdki_high_rnk_sumry_cntr_sd01", "description": null, "columns": [{"name": "nat_cd", "type": "string", "description": null}, {"name": "mcu", "type": "bigint", "description": null}, {"name": "uv_cnt", "type": "bigint", "description": null}, {"name": "new_ucnt", "type": "bigint", "description": null}, {"name": "wkly_ucnt", "type": "bigint", "description": null}, {"name": "4wkly_ucnt", "type": "bigint", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "new_pu", "type": "bigint", "description": null}, {"name": "mm_cm_nsamt", "type": "double", "description": null}, {"name": "mm_cm_pu", "type": "bigint", "description": null}, {"name": "mm_cm_samt", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_bdki_high_rnk_sumry_cntr_sd01` (
`nat_cd` string COMMENT 'None',
`mcu` bigint COMMENT 'None',
`uv_cnt` bigint COMMENT 'None',
`new_ucnt` bigint COMMENT 'None',
`wkly_ucnt` bigint COMMENT 'None',
`4wkly_ucnt` bigint COMMENT 'None',
`nsamt` double COMMENT 'None',
`samt` double COMMENT 'None',
`pu` bigint COMMENT 'None',
`new_pu` bigint COMMENT 'None',
`mm_cm_nsamt` double COMMENT 'None',
`mm_cm_pu` bigint COMMENT 'None',
`mm_cm_samt` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_bdki_high_rnk_sumry_sd01", "description": null, "columns": [{"name": "mcu", "type": "bigint", "description": null}, {"name": "uv_cnt", "type": "bigint", "description": null}, {"name": "new_ucnt", "type": "bigint", "description": null}, {"name": "wkly_ucnt", "type": "bigint", "description": null}, {"name": "4wkly_ucnt", "type": "bigint", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "new_pu", "type": "bigint", "description": null}, {"name": "mm_cm_nsamt", "type": "double", "description": null}, {"name": "mm_cm_pu", "type": "bigint", "description": null}, {"name": "mm_cm_samt", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_bdki_high_rnk_sumry_sd01` (
`mcu` bigint COMMENT 'None',
`uv_cnt` bigint COMMENT 'None',
`new_ucnt` bigint COMMENT 'None',
`wkly_ucnt` bigint COMMENT 'None',
`4wkly_ucnt` bigint COMMENT 'None',
`nsamt` double COMMENT 'None',
`samt` double COMMENT 'None',
`pu` bigint COMMENT 'None',
`new_pu` bigint COMMENT 'None',
`mm_cm_nsamt` double COMMENT 'None',
`mm_cm_pu` bigint COMMENT 'None',
`mm_cm_samt` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_bdki_high_rnk_user_sd01", "description": null, "columns": [{"name": "dau", "type": "bigint", "description": null}, {"name": "new_ucnt", "type": "bigint", "description": null}, {"name": "secd_ucnt", "type": "bigint", "description": null}, {"name": "cmbck_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_bdki_high_rnk_user_sd01` (
`dau` bigint COMMENT 'None',
`new_ucnt` bigint COMMENT 'None',
`secd_ucnt` bigint COMMENT 'None',
`cmbck_ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_bdki_high_rnk_user_sw01", "description": null, "columns": [{"name": "wau", "type": "bigint", "description": null}, {"name": "new_ucnt", "type": "bigint", "description": null}, {"name": "secd_ucnt", "type": "bigint", "description": null}, {"name": "cmbck_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_bdki_high_rnk_user_sw01` (
`wau` bigint COMMENT 'None',
`new_ucnt` bigint COMMENT 'None',
`secd_ucnt` bigint COMMENT 'None',
`cmbck_ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_cardg_dup_user_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "whle_dup_ucnt", "type": "bigint", "description": null}, {"name": "pc_tdd_ucnt", "type": "bigint", "description": null}, {"name": "mbl_tdd_ucnt", "type": "bigint", "description": null}, {"name": "tdd_dup_ucnt", "type": "bigint", "description": null}, {"name": "dup_pc_new_ucnt", "type": "bigint", "description": null}, {"name": "dup_mbl_new_ucnt", "type": "bigint", "description": null}, {"name": "pc_mm_cm_ucnt", "type": "bigint", "description": null}, {"name": "mbl_mm_cm_ucnt", "type": "bigint", "description": null}, {"name": "mm_cm_dup_ucnt", "type": "bigint", "description": null}, {"name": "dup_mbl_mm_cm_new_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_cardg_dup_user_sd01` (
`game_cd` string COMMENT 'None',
`whle_dup_ucnt` bigint COMMENT 'None',
`pc_tdd_ucnt` bigint COMMENT 'None',
`mbl_tdd_ucnt` bigint COMMENT 'None',
`tdd_dup_ucnt` bigint COMMENT 'None',
`dup_pc_new_ucnt` bigint COMMENT 'None',
`dup_mbl_new_ucnt` bigint COMMENT 'None',
`pc_mm_cm_ucnt` bigint COMMENT 'None',
`mbl_mm_cm_ucnt` bigint COMMENT 'None',
`mm_cm_dup_ucnt` bigint COMMENT 'None',
`dup_mbl_mm_cm_new_ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_cmbck_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": "dd_stm", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_cmbck_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',
`dd_stm` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_cmbck_cntu_use_sd02", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "strt_ymd", "type": "string", "description": null}, {"name": "rettn_tp_cd", "type": "string", "description": null}, {"name": "dd_use_cyc", "type": "bigint", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "dd_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_cmbck_cntu_use_sd02` (
`game_cd` string COMMENT 'None',
`strt_ymd` string COMMENT 'None',
`rettn_tp_cd` string COMMENT 'None',
`dd_use_cyc` bigint COMMENT 'None',
`os_cd` string COMMENT 'None',
`dd_ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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 `bip_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": "bip_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 `bip_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": "bip_dw", "table": "sg_game_cntu_use_sd02", "description": null, "columns": [{"name": "strt_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "dd_use_cyc", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "dd_ucnt", "type": "bigint", "description": null}, {"name": "dd_pcnt", "type": "bigint", "description": null}, {"name": "dd_ptm", "type": "bigint", "description": null}, {"name": "dd_stm", "type": "bigint", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "rettn_tp_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_game_cntu_use_sd02` (
`strt_ymd` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`dd_use_cyc` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`dd_ucnt` bigint COMMENT 'None',
`dd_pcnt` bigint COMMENT 'None',
`dd_ptm` bigint COMMENT 'None',
`dd_stm` bigint COMMENT 'None',
`os_cd` string COMMENT 'None',
`rettn_tp_cd` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_game_cntu_use_sd03", "description": null, "columns": [{"name": "join_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "dd_use_cyc", "type": "string", "description": null}, {"name": "dd_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_game_cntu_use_sd03` (
`join_ymd` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`dd_use_cyc` string COMMENT 'None',
`dd_ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_game_dev_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": "nat_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "dd_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_game_dev_cntu_use_sd01` (
`strt_ymd` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`dd_use_cyc` bigint COMMENT 'None',
`nat_cd` string COMMENT 'None',
`os_cd` string COMMENT 'None',
`dd_ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_game_dup_user_sd01", "description": null, "columns": [{"name": "rep_game_cd1", "type": "string", "description": null}, {"name": "rep_game_cd2", "type": "string", "description": null}, {"name": "whle_dup_ucnt", "type": "bigint", "description": null}, {"name": "tdd_dup_ucnt", "type": "bigint", "description": null}, {"name": "new_dup_ucnt", "type": "bigint", "description": null}, {"name": "mm_cm_dup_ucnt", "type": "bigint", "description": null}, {"name": "tdd_dup_game_ucnt", "type": "bigint", "description": null}, {"name": "mm_cm_dup_game_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_game_dup_user_sd01` (
`rep_game_cd1` string COMMENT 'None',
`rep_game_cd2` string COMMENT 'None',
`whle_dup_ucnt` bigint COMMENT 'None',
`tdd_dup_ucnt` bigint COMMENT 'None',
`new_dup_ucnt` bigint COMMENT 'None',
`mm_cm_dup_ucnt` bigint COMMENT 'None',
`tdd_dup_game_ucnt` bigint COMMENT 'None',
`mm_cm_dup_game_ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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}]}
|
CREATE TABLE `bip_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'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_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',
`work_ymd` string COMMENT 'None',
`game_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_game_wkly_user_sw01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "age_zn_cd", "type": "string", "description": null}, {"name": "lv_secn_cd", "type": "string", "description": null}, {"name": "wkly_ptm_zn_cd", "type": "string", "description": null}, {"name": "wkly_ucnt", "type": "bigint", "description": null}, {"name": "wkly_new_ucnt", "type": "bigint", "description": null}, {"name": "wkly_cmbck_ucnt", "type": "bigint", "description": null}, {"name": "wkly_secd_ucnt", "type": "bigint", "description": null}, {"name": "wkly_ptm", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_game_wkly_user_sw01` (
`game_cd` string COMMENT 'None',
`sex_cd` string COMMENT 'None',
`age_zn_cd` string COMMENT 'None',
`lv_secn_cd` string COMMENT 'None',
`wkly_ptm_zn_cd` string COMMENT 'None',
`wkly_ucnt` bigint COMMENT 'None',
`wkly_new_ucnt` bigint COMMENT 'None',
`wkly_cmbck_ucnt` bigint COMMENT 'None',
`wkly_secd_ucnt` bigint COMMENT 'None',
`wkly_ptm` bigint COMMENT 'None',
`nat_cd` string 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": "bip_dw", "table": "sg_mbl_gssudda_fre_chag_sd01", "description": null, "columns": [{"name": "game_grd_cd", "type": "string", "description": null}, {"name": "vdo_vw_ucnt", "type": "bigint", "description": null}, {"name": "vdo_vw_tcnt", "type": "bigint", "description": null}, {"name": "fre_chag_prpt_ucnt", "type": "bigint", "description": null}, {"name": "fre_chag_prpt_tcnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_mbl_gssudda_fre_chag_sd01` (
`game_grd_cd` string COMMENT 'None',
`vdo_vw_ucnt` bigint COMMENT 'None',
`vdo_vw_tcnt` bigint COMMENT 'None',
`fre_chag_prpt_ucnt` bigint COMMENT 'None',
`fre_chag_prpt_tcnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_mbl_gssudda_item_pay_sd01", "description": null, "columns": [{"name": "item_id", "type": "string", "description": null}, {"name": "mony_tp_cd", "type": "string", "description": null}, {"name": "chg_cnt", "type": "bigint", "description": null}, {"name": "chg_amt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_mbl_gssudda_item_pay_sd01` (
`item_id` string COMMENT 'None',
`mony_tp_cd` string COMMENT 'None',
`chg_cnt` bigint COMMENT 'None',
`chg_amt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_mbl_gssudda_mssn_sd01", "description": null, "columns": [{"name": "mssn_tp_cd", "type": "string", "description": null}, {"name": "mssn_nm", "type": "string", "description": null}, {"name": "rwd_knd_cd", "type": "string", "description": null}, {"name": "cmpl_ucnt", "type": "bigint", "description": null}, {"name": "cmpl_tcnt", "type": "bigint", "description": null}, {"name": "out_rwd_qty", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_mbl_gssudda_mssn_sd01` (
`mssn_tp_cd` string COMMENT 'None',
`mssn_nm` string COMMENT 'None',
`rwd_knd_cd` string COMMENT 'None',
`cmpl_ucnt` bigint COMMENT 'None',
`cmpl_tcnt` bigint COMMENT 'None',
`out_rwd_qty` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_mbl_gssudda_rstct_user_sd01", "description": null, "columns": [{"name": "ucnt", "type": "bigint", "description": null}, {"name": "cust_cnt", "type": "bigint", "description": null}, {"name": "act_ucnt", "type": "bigint", "description": null}, {"name": "ret_cust_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_mbl_gssudda_rstct_user_sd01` (
`ucnt` bigint COMMENT 'None',
`cust_cnt` bigint COMMENT 'None',
`act_ucnt` bigint COMMENT 'None',
`ret_cust_cnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_mblg_char_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "char_tp_cd", "type": "string", "description": null}, {"name": "char_lv", "type": "string", "description": null}, {"name": "char_cnt", "type": "bigint", "description": null}, {"name": "tdd_use_char_cnt", "type": "bigint", "description": null}, {"name": "tdd_new_char_cnt", "type": "bigint", "description": null}, {"name": "hld_coin", "type": "bigint", "description": null}, {"name": "hld_mony", "type": "bigint", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "num_etc2", "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": "wkly_char_cnt", "type": "bigint", "description": null}, {"name": "act_char_cnt", "type": "bigint", "description": null}, {"name": "svr_id", "type": "string", "description": null}, {"name": "num_etc3", "type": "bigint", "description": null}, {"name": "sumry_lv", "type": "bigint", "description": null}, {"name": "num_etc4", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_mblg_char_sd01` (
`game_cd` string COMMENT 'None',
`char_tp_cd` string COMMENT 'None',
`char_lv` string COMMENT 'None',
`char_cnt` bigint COMMENT 'None',
`tdd_use_char_cnt` bigint COMMENT 'None',
`tdd_new_char_cnt` bigint COMMENT 'None',
`hld_coin` bigint COMMENT 'None',
`hld_mony` bigint COMMENT 'None',
`num_etc1` bigint COMMENT 'None',
`num_etc2` bigint COMMENT 'None',
`ltr_etc1` string COMMENT 'None',
`ltr_etc2` string COMMENT 'None',
`ltr_etc3` string COMMENT 'None',
`wkly_char_cnt` bigint COMMENT 'None',
`act_char_cnt` bigint COMMENT 'None',
`svr_id` string COMMENT 'None',
`num_etc3` bigint COMMENT 'None',
`sumry_lv` bigint COMMENT 'None',
`num_etc4` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_mblg_game_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "chnl_nm", "type": "string", "description": null}, {"name": "game_mode", "type": "string", "description": null}, {"name": "plyr_cnt", "type": "bigint", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "ltr_etc2", "type": "string", "description": null}, {"name": "pcnt", "type": "bigint", "description": null}, {"name": "dealr_mony", "type": "bigint", "description": null}, {"name": "ptm", "type": "double", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "num_etc2", "type": "bigint", "description": null}, {"name": "game_tp_cd", "type": "string", "description": null}, {"name": "game_knd_cd", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_mblg_game_sd01` (
`game_cd` string COMMENT 'None',
`chnl_nm` string COMMENT 'None',
`game_mode` string COMMENT 'None',
`plyr_cnt` bigint COMMENT 'None',
`ltr_etc1` string COMMENT 'None',
`ltr_etc2` string COMMENT 'None',
`pcnt` bigint COMMENT 'None',
`dealr_mony` bigint COMMENT 'None',
`ptm` double COMMENT 'None',
`num_etc1` bigint COMMENT 'None',
`num_etc2` bigint COMMENT 'None',
`game_tp_cd` string COMMENT 'None',
`game_knd_cd` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_mblg_game_u_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "chnl_nm", "type": "string", "description": null}, {"name": "game_mode", "type": "string", "description": null}, {"name": "plyr_cnt", "type": "bigint", "description": null}, {"name": "sumry_lv", "type": "bigint", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "allin_tcnt", "type": "bigint", "description": null}, {"name": "win_mony", "type": "bigint", "description": null}, {"name": "los_mony", "type": "double", "description": null}, {"name": "chg_engy", "type": "bigint", "description": null}, {"name": "ptm", "type": "double", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "ltr_etc2", "type": "string", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "num_etc2", "type": "bigint", "description": null}, {"name": "allin_ucnt", "type": "bigint", "description": null}, {"name": "game_tp_cd", "type": "string", "description": null}, {"name": "game_knd_cd", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_mblg_game_u_sd01` (
`game_cd` string COMMENT 'None',
`chnl_nm` string COMMENT 'None',
`game_mode` string COMMENT 'None',
`plyr_cnt` bigint COMMENT 'None',
`sumry_lv` bigint COMMENT 'None',
`ucnt` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`allin_tcnt` bigint COMMENT 'None',
`win_mony` bigint COMMENT 'None',
`los_mony` double COMMENT 'None',
`chg_engy` bigint COMMENT 'None',
`ptm` double COMMENT 'None',
`ltr_etc1` string COMMENT 'None',
`ltr_etc2` string COMMENT 'None',
`num_etc1` bigint COMMENT 'None',
`num_etc2` bigint COMMENT 'None',
`allin_ucnt` bigint COMMENT 'None',
`game_tp_cd` string COMMENT 'None',
`game_knd_cd` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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 `bip_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": "bip_dw", "table": "sg_mblg_login_sd01", "description": null, "columns": [{"name": "zone_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "hsp_ver", "type": "string", "description": null}, {"name": "game_clnt_ver", "type": "string", "description": null}, {"name": "ntwk_tp", "type": "string", "description": null}, {"name": "telecom", "type": "string", "description": null}, {"name": "mket_cd", "type": "string", "description": null}, {"name": "login_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_mblg_login_sd01` (
`zone_cd` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`os_cd` string COMMENT 'None',
`hsp_ver` string COMMENT 'None',
`game_clnt_ver` string COMMENT 'None',
`ntwk_tp` string COMMENT 'None',
`telecom` string COMMENT 'None',
`mket_cd` string COMMENT 'None',
`login_cnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_mblg_lv_rch_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "join_ymd", "type": "string", "description": null}, {"name": "join_elps_dcnt", "type": "bigint", "description": null}, {"name": "lv_cd", "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": "cm_ucnt", "type": "bigint", "description": null}, {"name": "tdd_ucnt", "type": "bigint", "description": null}, {"name": "wkly_ucnt", "type": "bigint", "description": null}, {"name": "act_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_mblg_lv_rch_sd01` (
`game_cd` string COMMENT 'None',
`join_ymd` string COMMENT 'None',
`join_elps_dcnt` bigint COMMENT 'None',
`lv_cd` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`mket_cd` string COMMENT 'None',
`os_cd` string COMMENT 'None',
`cm_ucnt` bigint COMMENT 'None',
`tdd_ucnt` bigint COMMENT 'None',
`wkly_ucnt` bigint COMMENT 'None',
`act_ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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 `bip_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": "bip_dw", "table": "sg_mblg_po_bef_mony_sd01", "description": null, "columns": [{"name": "hld_mony", "type": "bigint", "description": null}, {"name": "hld_coin", "type": "bigint", "description": null}, {"name": "hld_bns", "type": "bigint", "description": null}, {"name": "un_trnsf_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_mblg_po_bef_mony_sd01` (
`hld_mony` bigint COMMENT 'None',
`hld_coin` bigint COMMENT 'None',
`hld_bns` bigint COMMENT 'None',
`un_trnsf_ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_mblg_po_draw_sd01", "description": null, "columns": [{"name": "mach_knd_cd", "type": "string", "description": null}, {"name": "pay_tp_cd", "type": "string", "description": null}, {"name": "draw_tcnt_tp_cd", "type": "bigint", "description": null}, {"name": "draw_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_mblg_po_draw_sd01` (
`mach_knd_cd` string COMMENT 'None',
`pay_tp_cd` string COMMENT 'None',
`draw_tcnt_tp_cd` bigint COMMENT 'None',
`draw_cnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_mblg_po_rnk_sd01", "description": null, "columns": [{"name": "game_leag", "type": "string", "description": null}, {"name": "game_mode", "type": "string", "description": null}, {"name": "sumry_lv", "type": "bigint", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "los_mony", "type": "bigint", "description": null}, {"name": "out_mony", "type": "bigint", "description": null}, {"name": "out_coin", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_mblg_po_rnk_sd01` (
`game_leag` string COMMENT 'None',
`game_mode` string COMMENT 'None',
`sumry_lv` bigint COMMENT 'None',
`ucnt` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`los_mony` bigint COMMENT 'None',
`out_mony` bigint COMMENT 'None',
`out_coin` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_mblg_user_sd01", "description": null, "columns": [{"name": "st_cd", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "age_zn_cd", "type": "string", "description": null}, {"name": "hgid_mapng_yn", "type": "string", "description": null}, {"name": "cm_ucnt", "type": "bigint", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "new_ucnt", "type": "bigint", "description": null}, {"name": "wkly_ucnt", "type": "bigint", "description": null}, {"name": "act_ucnt", "type": "bigint", "description": null}, {"name": "mm_ucnt", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_mblg_user_sd01` (
`st_cd` string COMMENT 'None',
`sex_cd` string COMMENT 'None',
`age_zn_cd` string COMMENT 'None',
`hgid_mapng_yn` string COMMENT 'None',
`cm_ucnt` bigint COMMENT 'None',
`ucnt` bigint COMMENT 'None',
`new_ucnt` bigint COMMENT 'None',
`wkly_ucnt` bigint COMMENT 'None',
`act_ucnt` bigint COMMENT 'None',
`mm_ucnt` bigint COMMENT 'None',
`nat_cd` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_mis_mblg_game_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "game_nm", "type": "string", "description": null}, {"name": "mcu", "type": "bigint", "description": null}, {"name": "cm_ucnt", "type": "bigint", "description": null}, {"name": "tdd_ucnt", "type": "bigint", "description": null}, {"name": "new_ucnt", "type": "bigint", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "net_samt", "type": "double", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "pu_rt", "type": "double", "description": null}, {"name": "arpu", "type": "double", "description": null}, {"name": "arppu", "type": "double", "description": null}, {"name": "mm_cm_samt", "type": "double", "description": null}, {"name": "mm_cm_nsamt", "type": "double", "description": null}, {"name": "mm_cm_pu", "type": "bigint", "description": null}, {"name": "d1_re_vst_rt_avg", "type": "double", "description": null}, {"name": "d7_re_vst_rt_avg", "type": "double", "description": null}, {"name": "d1_re_vst_rt", "type": "double", "description": null}, {"name": "d7_re_vst_rt", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_mis_mblg_game_sd01` (
`game_cd` string COMMENT 'None',
`game_nm` string COMMENT 'None',
`mcu` bigint COMMENT 'None',
`cm_ucnt` bigint COMMENT 'None',
`tdd_ucnt` bigint COMMENT 'None',
`new_ucnt` bigint COMMENT 'None',
`samt` double COMMENT 'None',
`nsamt` double COMMENT 'None',
`net_samt` double COMMENT 'None',
`pu` bigint COMMENT 'None',
`pu_rt` double COMMENT 'None',
`arpu` double COMMENT 'None',
`arppu` double COMMENT 'None',
`mm_cm_samt` double COMMENT 'None',
`mm_cm_nsamt` double COMMENT 'None',
`mm_cm_pu` bigint COMMENT 'None',
`d1_re_vst_rt_avg` double COMMENT 'None',
`d7_re_vst_rt_avg` double COMMENT 'None',
`d1_re_vst_rt` double COMMENT 'None',
`d7_re_vst_rt` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_mis_mblg_user_sd01", "description": null, "columns": [{"name": "tdd_adid_cnt", "type": "bigint", "description": null}, {"name": "new_adid_cnt", "type": "bigint", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "tdd_nsamt", "type": "double", "description": null}, {"name": "tdd_samt", "type": "double", "description": null}, {"name": "mm_cm_nsamt", "type": "double", "description": null}, {"name": "mm_cm_samt", "type": "double", "description": null}, {"name": "lcls_cd", "type": "string", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_mis_mblg_user_sd01` (
`tdd_adid_cnt` bigint COMMENT 'None',
`new_adid_cnt` bigint COMMENT 'None',
`pu` bigint COMMENT 'None',
`tdd_nsamt` double COMMENT 'None',
`tdd_samt` double COMMENT 'None',
`mm_cm_nsamt` double COMMENT 'None',
`mm_cm_samt` double COMMENT 'None',
`lcls_cd` string COMMENT 'None',
`lcls_nm` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_po_game_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "seed_mony", "type": "double", "description": null}, {"name": "sumry_lv", "type": "bigint", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "game_pcnt", "type": "bigint", "description": null}, {"name": "use_mony", "type": "double", "description": null}, {"name": "dealr_mony", "type": "double", "description": null}, {"name": "allin_tcnt", "type": "bigint", "description": null}, {"name": "allin_ucnt", "type": "bigint", "description": null}, {"name": "game_tp_nm", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_po_game_sd01` (
`game_cd` string COMMENT 'None',
`seed_mony` double COMMENT 'None',
`sumry_lv` bigint COMMENT 'None',
`ucnt` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`game_pcnt` bigint COMMENT 'None',
`use_mony` double COMMENT 'None',
`dealr_mony` double COMMENT 'None',
`allin_tcnt` bigint COMMENT 'None',
`allin_ucnt` bigint COMMENT 'None',
`game_tp_nm` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_po_game_user_sd01", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "game_grd_tp_cd", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "gmony_secn_cd", "type": "string", "description": null}, {"name": "mbrs_prodid", "type": "string", "description": null}, {"name": "pu_yn", "type": "string", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "uv", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "win_mony", "type": "double", "description": null}, {"name": "los_mony", "type": "double", "description": null}, {"name": "crncy_amt", "type": "double", "description": null}, {"name": "net_crncy_amt", "type": "double", "description": null}, {"name": "out_mony", "type": "double", "description": null}, {"name": "in_mony", "type": "double", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "mm_cm_pu_yn", "type": "string", "description": null}, {"name": "mm_cm_sale_secn_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_po_game_user_sd01` (
`rep_game_cd` string COMMENT 'None',
`game_grd_tp_cd` string COMMENT 'None',
`game_grd_cd` string COMMENT 'None',
`gmony_secn_cd` string COMMENT 'None',
`mbrs_prodid` string COMMENT 'None',
`pu_yn` string COMMENT 'None',
`ucnt` bigint COMMENT 'None',
`uv` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`win_mony` double COMMENT 'None',
`los_mony` double COMMENT 'None',
`crncy_amt` double COMMENT 'None',
`net_crncy_amt` double COMMENT 'None',
`out_mony` double COMMENT 'None',
`in_mony` double COMMENT 'None',
`pu` bigint COMMENT 'None',
`nsamt` double COMMENT 'None',
`samt` double COMMENT 'None',
`mm_cm_pu_yn` string COMMENT 'None',
`mm_cm_sale_secn_cd` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_po_game_user_sd02", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "chnl_tp_cd", "type": "string", "description": null}, {"name": "game_tp_cd", "type": "string", "description": null}, {"name": "sumry_lv", "type": "string", "description": null}, {"name": "open_yn", "type": "string", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "game_pcnt", "type": "bigint", "description": null}, {"name": "win_mony", "type": "double", "description": null}, {"name": "los_mony", "type": "double", "description": null}, {"name": "dealr_mony", "type": "double", "description": null}, {"name": "allin_tcnt", "type": "bigint", "description": null}, {"name": "rep_game_cd", "type": "string", "description": null}, {"name": "win_pcnt", "type": "bigint", "description": null}, {"name": "win_scr", "type": "bigint", "description": null}, {"name": "game_ptm_mi", "type": "double", "description": null}, {"name": "user_ptm_mi", "type": "double", "description": null}, {"name": "scr", "type": "bigint", "description": null}, {"name": "dealr_chip", "type": "bigint", "description": null}, {"name": "user_tp_cd", "type": "string", "description": null}, {"name": "allin_ucnt", "type": "bigint", "description": null}, {"name": "one_st_ucnt", "type": "bigint", "description": null}, {"name": "google_st_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_po_game_user_sd02` (
`game_cd` string COMMENT 'None',
`chnl_cd` string COMMENT 'None',
`chnl_tp_cd` string COMMENT 'None',
`game_tp_cd` string COMMENT 'None',
`sumry_lv` string COMMENT 'None',
`open_yn` string COMMENT 'None',
`ucnt` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`game_pcnt` bigint COMMENT 'None',
`win_mony` double COMMENT 'None',
`los_mony` double COMMENT 'None',
`dealr_mony` double COMMENT 'None',
`allin_tcnt` bigint COMMENT 'None',
`rep_game_cd` string COMMENT 'None',
`win_pcnt` bigint COMMENT 'None',
`win_scr` bigint COMMENT 'None',
`game_ptm_mi` double COMMENT 'None',
`user_ptm_mi` double COMMENT 'None',
`scr` bigint COMMENT 'None',
`dealr_chip` bigint COMMENT 'None',
`user_tp_cd` string COMMENT 'None',
`allin_ucnt` bigint COMMENT 'None',
`one_st_ucnt` bigint COMMENT 'None',
`google_st_ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_po_game_user_sd03", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "uv", "type": "bigint", "description": null}, {"name": "uvc", "type": "bigint", "description": null}, {"name": "mm_cm_uv", "type": "bigint", "description": null}, {"name": "mm_cm_uvc", "type": "bigint", "description": null}, {"name": "upr_chnl_uv", "type": "bigint", "description": null}, {"name": "lwr_chnl_uv", "type": "bigint", "description": null}, {"name": "upr_grd_uv", "type": "bigint", "description": null}, {"name": "lwr_grd_uv", "type": "bigint", "description": null}, {"name": "user_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": "game_pcnt", "type": "bigint", "description": null}, {"name": "dealr_mony", "type": "double", "description": null}, {"name": "mm_cm_user_pcnt", "type": "bigint", "description": null}, {"name": "mm_cm_win_mony", "type": "double", "description": null}, {"name": "mm_cm_los_mony", "type": "double", "description": null}, {"name": "mm_cm_game_pcnt", "type": "bigint", "description": null}, {"name": "mm_cm_dealr_mony", "type": "double", "description": null}, {"name": "gmony", "type": "double", "description": null}, {"name": "web_chag_mony", "type": "double", "description": null}, {"name": "cm_insu_mony", "type": "double", "description": null}, {"name": "out_insu_mony", "type": "double", "description": null}, {"name": "crncy_amt", "type": "double", "description": null}, {"name": "uv_crncy_amt", "type": "double", "description": null}, {"name": "stop_mony", "type": "double", "description": null}, {"name": "del_pre_mony", "type": "double", "description": null}, {"name": "out_mony", "type": "double", "description": null}, {"name": "in_mony", "type": "double", "description": null}, {"name": "mm_cm_out_mony", "type": "double", "description": null}, {"name": "mm_cm_in_mony", "type": "double", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "puc", "type": "bigint", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "mm_cm_pu", "type": "bigint", "description": null}, {"name": "mm_cm_puc", "type": "bigint", "description": null}, {"name": "mm_cm_nsamt", "type": "double", "description": null}, {"name": "mm_cm_samt", "type": "double", "description": null}, {"name": "mm_cm_cntnu_pu", "type": "bigint", "description": null}, {"name": "mm_cm_cntnu_puc", "type": "bigint", "description": null}, {"name": "mony_prod_pu", "type": "double", "description": null}, {"name": "funct_prod_pu", "type": "bigint", "description": null}, {"name": "mbrs_prod_pu", "type": "bigint", "description": null}, {"name": "mony_prod_puc", "type": "double", "description": null}, {"name": "funct_prod_puc", "type": "bigint", "description": null}, {"name": "mbrs_prod_puc", "type": "bigint", "description": null}, {"name": "mony_prod_nsamt", "type": "double", "description": null}, {"name": "funct_prod_nsamt", "type": "double", "description": null}, {"name": "mbrs_prod_nsamt", "type": "double", "description": null}, {"name": "mm_cm_mony_prod_nsamt", "type": "double", "description": null}, {"name": "mm_cm_funct_prod_nsamt", "type": "double", "description": null}, {"name": "mm_cm_mbrs_prod_nsamt", "type": "double", "description": null}, {"name": "mm_cm_pu_uv", "type": "bigint", "description": null}, {"name": "mm_cm_puc_uv", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_po_game_user_sd03` (
`rep_game_cd` string COMMENT 'None',
`uv` bigint COMMENT 'None',
`uvc` bigint COMMENT 'None',
`mm_cm_uv` bigint COMMENT 'None',
`mm_cm_uvc` bigint COMMENT 'None',
`upr_chnl_uv` bigint COMMENT 'None',
`lwr_chnl_uv` bigint COMMENT 'None',
`upr_grd_uv` bigint COMMENT 'None',
`lwr_grd_uv` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`win_mony` double COMMENT 'None',
`los_mony` double COMMENT 'None',
`allin_tcnt` bigint COMMENT 'None',
`game_pcnt` bigint COMMENT 'None',
`dealr_mony` double COMMENT 'None',
`mm_cm_user_pcnt` bigint COMMENT 'None',
`mm_cm_win_mony` double COMMENT 'None',
`mm_cm_los_mony` double COMMENT 'None',
`mm_cm_game_pcnt` bigint COMMENT 'None',
`mm_cm_dealr_mony` double COMMENT 'None',
`gmony` double COMMENT 'None',
`web_chag_mony` double COMMENT 'None',
`cm_insu_mony` double COMMENT 'None',
`out_insu_mony` double COMMENT 'None',
`crncy_amt` double COMMENT 'None',
`uv_crncy_amt` double COMMENT 'None',
`stop_mony` double COMMENT 'None',
`del_pre_mony` double COMMENT 'None',
`out_mony` double COMMENT 'None',
`in_mony` double COMMENT 'None',
`mm_cm_out_mony` double COMMENT 'None',
`mm_cm_in_mony` double COMMENT 'None',
`pu` bigint COMMENT 'None',
`puc` bigint COMMENT 'None',
`nsamt` double COMMENT 'None',
`samt` double COMMENT 'None',
`mm_cm_pu` bigint COMMENT 'None',
`mm_cm_puc` bigint COMMENT 'None',
`mm_cm_nsamt` double COMMENT 'None',
`mm_cm_samt` double COMMENT 'None',
`mm_cm_cntnu_pu` bigint COMMENT 'None',
`mm_cm_cntnu_puc` bigint COMMENT 'None',
`mony_prod_pu` double COMMENT 'None',
`funct_prod_pu` bigint COMMENT 'None',
`mbrs_prod_pu` bigint COMMENT 'None',
`mony_prod_puc` double COMMENT 'None',
`funct_prod_puc` bigint COMMENT 'None',
`mbrs_prod_puc` bigint COMMENT 'None',
`mony_prod_nsamt` double COMMENT 'None',
`funct_prod_nsamt` double COMMENT 'None',
`mbrs_prod_nsamt` double COMMENT 'None',
`mm_cm_mony_prod_nsamt` double COMMENT 'None',
`mm_cm_funct_prod_nsamt` double COMMENT 'None',
`mm_cm_mbrs_prod_nsamt` double COMMENT 'None',
`mm_cm_pu_uv` bigint COMMENT 'None',
`mm_cm_puc_uv` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_po_hld_mony_sd01", "description": null, "columns": [{"name": "user_tp_cd", "type": "string", "description": null}, {"name": "game_grd_nm", "type": "string", "description": null}, {"name": "game_mony", "type": "double", "description": null}, {"name": "chg_mony", "type": "double", "description": null}, {"name": "out_insu_mony", "type": "double", "description": null}, {"name": "cm_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": "game_cd", "type": "string", "description": null}, {"name": "use_chip", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_po_hld_mony_sd01` (
`user_tp_cd` string COMMENT 'None',
`game_grd_nm` string COMMENT 'None',
`game_mony` double COMMENT 'None',
`chg_mony` double COMMENT 'None',
`out_insu_mony` double COMMENT 'None',
`cm_insu_mony` double COMMENT 'None',
`hld_mony` double COMMENT 'None',
`stop_mony` double COMMENT 'None',
`del_pre_mony` double COMMENT 'None',
`game_cd` string COMMENT 'None',
`use_chip` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_po_hv_user_game_sd01", "description": null, "columns": [{"name": "ucnt", "type": "bigint", "description": null}, {"name": "los_tcnt", "type": "bigint", "description": null}, {"name": "los_pcnt", "type": "bigint", "description": null}, {"name": "use_mony", "type": "double", "description": null}, {"name": "avg_los_pcnt", "type": "double", "description": null}, {"name": "avg_use_mony", "type": "double", "description": null}, {"name": "win_tcnt", "type": "bigint", "description": null}, {"name": "win_pcnt", "type": "bigint", "description": null}, {"name": "win_mony", "type": "double", "description": null}, {"name": "avg_win_pcnt", "type": "double", "description": null}, {"name": "avg_win_mony", "type": "double", "description": null}, {"name": "hld_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_po_hv_user_game_sd01` (
`ucnt` bigint COMMENT 'None',
`los_tcnt` bigint COMMENT 'None',
`los_pcnt` bigint COMMENT 'None',
`use_mony` double COMMENT 'None',
`avg_los_pcnt` double COMMENT 'None',
`avg_use_mony` double COMMENT 'None',
`win_tcnt` bigint COMMENT 'None',
`win_pcnt` bigint COMMENT 'None',
`win_mony` double COMMENT 'None',
`avg_win_pcnt` double COMMENT 'None',
`avg_win_mony` double COMMENT 'None',
`hld_mony` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_po_mileg_chg_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "chg_tp_cd", "type": "string", "description": null}, {"name": "chg_rsn_cd", "type": "string", "description": null}, {"name": "chg_cnt", "type": "bigint", "description": null}, {"name": "chg_amt", "type": "double", "description": null}, {"name": "chg_game_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_po_mileg_chg_sd01` (
`game_cd` string COMMENT 'None',
`chnl_cd` string COMMENT 'None',
`chnl_id` string COMMENT 'None',
`chg_tp_cd` string COMMENT 'None',
`chg_rsn_cd` string COMMENT 'None',
`chg_cnt` bigint COMMENT 'None',
`chg_amt` double COMMENT 'None',
`chg_game_mony` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_po_mini_game_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "mini_game_cd", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "bigint", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "get_gmony", "type": "bigint", "description": null}, {"name": "los_gmony", "type": "bigint", "description": null}, {"name": "get_bns", "type": "bigint", "description": null}, {"name": "los_bns", "type": "bigint", "description": null}, {"name": "bet_gmony", "type": "bigint", "description": null}, {"name": "bet_bns", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_po_mini_game_sd01` (
`game_cd` string COMMENT 'None',
`mini_game_cd` string COMMENT 'None',
`game_grd_cd` bigint COMMENT 'None',
`ucnt` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`get_gmony` bigint COMMENT 'None',
`los_gmony` bigint COMMENT 'None',
`get_bns` bigint COMMENT 'None',
`los_bns` bigint COMMENT 'None',
`bet_gmony` bigint COMMENT 'None',
`bet_bns` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_po_mm_cm_pu_sd01", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "tdd_nsamt_secn_cd", "type": "string", "description": null}, {"name": "mm_cm_nsamt_secn_cd", "type": "string", "description": null}, {"name": "tdd_pu", "type": "bigint", "description": null}, {"name": "tdd_nsamt", "type": "double", "description": null}, {"name": "tdd_samt", "type": "double", "description": null}, {"name": "tdd_los_mony", "type": "double", "description": null}, {"name": "mm_cm_pu", "type": "bigint", "description": null}, {"name": "mm_cm_nsamt", "type": "double", "description": null}, {"name": "mm_cm_samt", "type": "double", "description": null}, {"name": "mm_cm_los_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_po_mm_cm_pu_sd01` (
`rep_game_cd` string COMMENT 'None',
`tdd_nsamt_secn_cd` string COMMENT 'None',
`mm_cm_nsamt_secn_cd` string COMMENT 'None',
`tdd_pu` bigint COMMENT 'None',
`tdd_nsamt` double COMMENT 'None',
`tdd_samt` double COMMENT 'None',
`tdd_los_mony` double COMMENT 'None',
`mm_cm_pu` bigint COMMENT 'None',
`mm_cm_nsamt` double COMMENT 'None',
`mm_cm_samt` double COMMENT 'None',
`mm_cm_los_mony` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_po_mm_cm_pu_sd02", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "mm_cm_samt_secn_cd", "type": "string", "description": null}, {"name": "tdd_pu", "type": "bigint", "description": null}, {"name": "tdd_nsamt", "type": "double", "description": null}, {"name": "tdd_samt", "type": "double", "description": null}, {"name": "mm_cm_pu", "type": "bigint", "description": null}, {"name": "mm_cm_nsamt", "type": "double", "description": null}, {"name": "mm_cm_samt", "type": "double", "description": null}, {"name": "mm_cm_avg_samt", "type": "double", "description": null}, {"name": "sumry_lv", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_po_mm_cm_pu_sd02` (
`rep_game_cd` string COMMENT 'None',
`mm_cm_samt_secn_cd` string COMMENT 'None',
`tdd_pu` bigint COMMENT 'None',
`tdd_nsamt` double COMMENT 'None',
`tdd_samt` double COMMENT 'None',
`mm_cm_pu` bigint COMMENT 'None',
`mm_cm_nsamt` double COMMENT 'None',
`mm_cm_samt` double COMMENT 'None',
`mm_cm_avg_samt` double COMMENT 'None',
`sumry_lv` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_po_mm_cm_pu_sd03", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "dd_use_cyc", "type": "bigint", "description": null}, {"name": "mm_cm_samt_secn_cd", "type": "string", "description": null}, {"name": "mm_cm_pu", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_po_mm_cm_pu_sd03` (
`rep_game_cd` string COMMENT 'None',
`dd_use_cyc` bigint COMMENT 'None',
`mm_cm_samt_secn_cd` string COMMENT 'None',
`mm_cm_pu` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_po_mm_mileg_sd01", "description": null, "columns": [{"name": "cre_ym", "type": "string", "description": null}, {"name": "out_amt", "type": "double", "description": null}, {"name": "in_amt", "type": "double", "description": null}, {"name": "extnc_amt", "type": "double", "description": null}, {"name": "extnc_pre_amt", "type": "double", "description": null}, {"name": "cm_out_amt", "type": "double", "description": null}, {"name": "cm_in_amt", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_po_mm_mileg_sd01` (
`cre_ym` string COMMENT 'None',
`out_amt` double COMMENT 'None',
`in_amt` double COMMENT 'None',
`extnc_amt` double COMMENT 'None',
`extnc_pre_amt` double COMMENT 'None',
`cm_out_amt` double COMMENT 'None',
`cm_in_amt` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.