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": "poker_cls_dw", "table": "dg_mblg_item_mtr", "description": null, "columns": [{"name": "item_id", "type": "string", "description": null}, {"name": "item_nm", "type": "string", "description": null}, {"name": "item_tp_cd", "type": "string", "description": null}, {"name": "item_dtl_tp_cd", "type": "string", "description": null}, {"name": "item_add_info", "type": "string", "description": null}, {"name": "sale_prc", "type": "double", "description": null}, {"name": "use_psbl_tcnt", "type": "bigint", "description": null}, {"name": "use_psbl_tm", "type": "bigint", "description": null}, {"name": "actvn_psbl_tm", "type": "bigint", "description": null}, {"name": "max_pay_psbl_tcnt", "type": "bigint", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`dg_mblg_item_mtr` ( `item_id` string COMMENT 'None', `item_nm` string COMMENT 'None', `item_tp_cd` string COMMENT 'None', `item_dtl_tp_cd` string COMMENT 'None', `item_add_info` string COMMENT 'None', `sale_prc` double COMMENT 'None', `use_psbl_tcnt` bigint COMMENT 'None', `use_psbl_tm` bigint COMMENT 'None', `actvn_psbl_tm` bigint COMMENT 'None', `max_pay_psbl_tcnt` bigint COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_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}, {"name": "idp_code", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_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', `idp_code` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_dw", "table": "dg_mblg_user_mtr", "description": null, "columns": [{"name": "st_cd", "type": "string", "description": null}, {"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": "brt_dy", "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": "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": "act_game_cnt", "type": "bigint", "description": null}, {"name": "idp_fst_mapng_dt", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`dg_mblg_user_mtr` ( `st_cd` string COMMENT 'None', `userno` string COMMENT 'None', `hg_userid` string COMMENT 'None', `hg_userno` bigint COMMENT 'None', `sex_cd` string COMMENT 'None', `brt_dy` 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', `idp_userno` string COMMENT 'None', `idp_cd` string COMMENT 'None', `os_cd` string COMMENT 'None', `os_ver` string COMMENT 'None', `act_game_cnt` bigint COMMENT 'None', `idp_fst_mapng_dt` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_dw", "table": "dg_po_rstct_user_d01", "description": null, "columns": [{"name": "userid", "type": "string", "description": "μœ μ € 아이디\t\b\n\nex)\n000200pyd"}, {"name": "custno", "type": "bigint", "description": "고객 번호\t\n\nex)\n10000020098453"}, {"name": "etc_hld_mony", "type": "double", "description": "μ‹œμž‘ κΈˆμ•‘"}, {"name": "fchg_hld_mony", "type": "double", "description": "μ‹œμž‘ μ–Έλ“œ λ¨Έλ‹ˆ\nμ–Έλ“œλ¨Έλ‹ˆ : κ²Œμž„μ„ 톡해 κ°€κ°λ˜λŠ” λ¨Έλ‹ˆκ°€ μ•„λ‹Œ μ›Ήμ—μ„œμ˜ μƒν’ˆ ꡬ맀,μ²˜λ²Œλ“±μœΌλ‘œ κ°€κ°λ˜λŠ” λ¨Έλ‹ˆ"}, {"name": "rstct_yn", "type": "string", "description": "μ œν•œ μ—¬λΆ€\t\n\nex)\nY,N"}, {"name": "rels_yn", "type": "string", "description": "1일 μ‹€μ‹œκ°„ μ†μ‹€μ œν•œ ν•΄μ œ μ—¬λΆ€"}, {"name": "lst_game_dt", "type": "string", "description": "졜근 κ²Œμž„ μ‹€ν–‰ 일자"}, {"name": "lst_chnlid", "type": "string", "description": "졜근 κ²Œμž„ 채널 아이디"}, {"name": "rels_oprr_cd", "type": "string", "description": "ν•΄μ œ μ–΄λ“œλ―Ό"}, {"name": "vip_lv", "type": "string", "description": "VIP 레벨"}, {"name": "mbrs_cd", "type": "string", "description": "νšŒμ›μ œ 보유 μ•„μ΄ν…œ"}, {"name": "rstct2_yn", "type": "string", "description": "1일 μ‹€μ‹œκ°„ μ†μ‹€μ œν•œ μ—¬λΆ€"}, {"name": "etc2_hld_mony", "type": "double", "description": "λ―Έμ‚¬μš©"}, {"name": "ci", "type": "string", "description": "ciκ°’"}, {"name": "game_cd", "type": "string", "description": "κ²Œμž„ μ½”λ“œ"}, {"name": "tdd_rstct_cnt", "type": "bigint", "description": "μ œν•œ 횟수"}, {"name": "los_rstct_mony", "type": "double", "description": "μ†μ‹€μ œν•œ λ¨Έλ‹ˆ"}, {"name": "work_ymd", "type": "string", "description": "κΈ°μ€€ 일자"}]}
CREATE TABLE `poker_cls_dw`.`dg_po_rstct_user_d01` ( `userid` string COMMENT 'μœ μ € 아이디  ex) 000200pyd', `custno` bigint COMMENT '고객 번호 ex) 10000020098453', `etc_hld_mony` double COMMENT 'μ‹œμž‘ κΈˆμ•‘', `fchg_hld_mony` double COMMENT 'μ‹œμž‘ μ–Έλ“œ λ¨Έλ‹ˆ μ–Έλ“œλ¨Έλ‹ˆ : κ²Œμž„μ„ 톡해 κ°€κ°λ˜λŠ” λ¨Έλ‹ˆκ°€ μ•„λ‹Œ μ›Ήμ—μ„œμ˜ μƒν’ˆ ꡬ맀,μ²˜λ²Œλ“±μœΌλ‘œ κ°€κ°λ˜λŠ” λ¨Έλ‹ˆ', `rstct_yn` string COMMENT 'μ œν•œ μ—¬λΆ€ ex) Y,N', `rels_yn` string COMMENT '1일 μ‹€μ‹œκ°„ μ†μ‹€μ œν•œ ν•΄μ œ μ—¬λΆ€', `lst_game_dt` string COMMENT '졜근 κ²Œμž„ μ‹€ν–‰ 일자', `lst_chnlid` string COMMENT '졜근 κ²Œμž„ 채널 아이디', `rels_oprr_cd` string COMMENT 'ν•΄μ œ μ–΄λ“œλ―Ό', `vip_lv` string COMMENT 'VIP 레벨', `mbrs_cd` string COMMENT 'νšŒμ›μ œ 보유 μ•„μ΄ν…œ', `rstct2_yn` string COMMENT '1일 μ‹€μ‹œκ°„ μ†μ‹€μ œν•œ μ—¬λΆ€', `etc2_hld_mony` double COMMENT 'λ―Έμ‚¬μš©', `ci` string COMMENT 'ciκ°’', `game_cd` string COMMENT 'κ²Œμž„ μ½”λ“œ', `tdd_rstct_cnt` bigint COMMENT 'μ œν•œ 횟수', `los_rstct_mony` double COMMENT 'μ†μ‹€μ œν•œ λ¨Έλ‹ˆ', `work_ymd` string COMMENT 'κΈ°μ€€ 일자' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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}, {"name": "work_dt", "type": "timestamp", "description": null}]}
CREATE TABLE `poker_cls_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', `work_dt` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_dw", "table": "sg_game_mblg_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": "κ²Œμž„ μ½”λ“œ\t\n\nex)\nG456"}, {"name": "st_cd", "type": "string", "description": "ν”Œλž«νΌ μ½”λ“œκ°’\t\n\nex)\nHS : HSP\nGB : Gamebase\nCM :"}, {"name": "sex_cd", "type": "string", "description": "성별 μ½”λ“œ κ°’\t\n\nλ―Έμ‚¬μš©"}, {"name": "age_zn_cd", "type": "string", "description": "λ‚˜μ΄λŒ€ ꡬ간 μ½”λ“œκ°’\t\n\nλ―Έμ‚¬μš©"}, {"name": "hg_id_yn", "type": "string", "description": "ν•œκ²Œμž„ 아이디 유무\t\n\nex)\nY,N"}, {"name": "game_grd_tp_cd", "type": "string", "description": "κ²Œμž„ λ“±κΈ‰ μ½”λ“œκ°’\t\n\nex)\nμ˜μ›…\nμ€‘μˆ˜\nμ§€μ‘΄\n초인\n평민\nν•˜μˆ˜"}, {"name": "pcnt_secn_cd", "type": "string", "description": "당일 판수 ꡬ간 μ½”λ“œ\t\n\nex)\n00 : 0판\n01 : 5νŒμ΄ν•˜\n02 : 6-10판미만\n03 : 10-30판미만\n04 : 30-50판미만\n05 : 50-100판미만\n06 : 100-200판미만\n07 : 200-300판미만\n08 : 300-500판미만\n09 : 500νŒμ΄μƒ\nZ9 : λˆ„λ½"}, {"name": "ptm_secn_cd", "type": "string", "description": "판수 μ½”λ“œ 처리\t\n\nλ―Έμ‚¬μš©"}, {"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": "κ΅­κ°€ μ½”λ“œ"}, {"name": "os_cd", "type": "string", "description": "OS μ½”λ“œ"}, {"name": "num_etc6", "type": "bigint", "description": null}, {"name": "num_etc7", "type": "bigint", "description": null}, {"name": "num_etc8", "type": "bigint", "description": null}, {"name": "w1_dmnc_cmbck_ucnt", "type": "bigint", "description": null}, {"name": "ltr_etc7", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "ltr_etc8", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_game_mblg_sd01` ( `game_cd` string COMMENT 'κ²Œμž„ μ½”λ“œ ex) G456', `st_cd` string COMMENT 'ν”Œλž«νΌ μ½”λ“œκ°’ ex) HS : HSP GB : Gamebase CM :', `sex_cd` string COMMENT '성별 μ½”λ“œ κ°’ λ―Έμ‚¬μš©', `age_zn_cd` string COMMENT 'λ‚˜μ΄λŒ€ ꡬ간 μ½”λ“œκ°’ λ―Έμ‚¬μš©', `hg_id_yn` string COMMENT 'ν•œκ²Œμž„ 아이디 유무 ex) Y,N', `game_grd_tp_cd` string COMMENT 'κ²Œμž„ λ“±κΈ‰ μ½”λ“œκ°’ ex) μ˜μ›… μ€‘μˆ˜ μ§€μ‘΄ 초인 평민 ν•˜μˆ˜', `pcnt_secn_cd` string COMMENT '당일 판수 ꡬ간 μ½”λ“œ ex) 00 : 0판 01 : 5νŒμ΄ν•˜ 02 : 6-10판미만 03 : 10-30판미만 04 : 30-50판미만 05 : 50-100판미만 06 : 100-200판미만 07 : 200-300판미만 08 : 300-500판미만 09 : 500νŒμ΄μƒ Z9 : λˆ„λ½', `ptm_secn_cd` string COMMENT '판수 μ½”λ“œ 처리 λ―Έμ‚¬μš©', `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 'κ΅­κ°€ μ½”λ“œ', `os_cd` string COMMENT 'OS μ½”λ“œ', `num_etc6` bigint COMMENT 'None', `num_etc7` bigint COMMENT 'None', `num_etc8` bigint COMMENT 'None', `w1_dmnc_cmbck_ucnt` bigint COMMENT 'None', `ltr_etc7` string COMMENT 'None', `work_ymd` string COMMENT 'None', `ltr_etc8` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_dw", "table": "sg_mblg_item_hld_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": "κ²Œμž„ μ½”λ“œ\t\n\nex)\nG518"}, {"name": "game_grd_cd", "type": "bigint", "description": "κ²Œμž„ λ“±κΈ‰ μ½”λ“œ"}, {"name": "act_user_yn", "type": "string", "description": "μ•‘ν‹°λΈŒ μœ μ € μ—¬λΆ€\t\n\nex)\nY,N"}, {"name": "item_tp_cd", "type": "string", "description": "μ•„μ΄ν…œ λΆ„λ₯˜ μ½”λ“œ\t\n\nEx)\n2,3,4"}, {"name": "item_id", "type": "string", "description": "μ•„μ΄ν…œ 아이디 (ItemType에 λ”°λ₯Έ value)\n- 아바타: 아바타 id (ClassicPoker_Item_Mast 의 item_id)\n- μ•„μ΄ν…œ: μ•„μ΄ν…œ id (ClassicPoker_Item_Mast 의 item_id)\t\n\nex)\n232201001"}, {"name": "hld_cnt", "type": "bigint", "description": "μ•„μ΄ν…œ 갯수"}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "ltr_etc1", "type": "string", "description": "μ•„μ΄ν…œ 레벨"}, {"name": "ltr_etc2", "type": "string", "description": null}, {"name": "num_etc2", "type": "bigint", "description": "μ•„μ΄ν…œ λ“±κΈ‰"}, {"name": "svr_id", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": "OS μ½”λ“œ\t\n\nex)\nAndroid\niOS"}, {"name": "nat_cd", "type": "string", "description": "κ΅­κ°€μ½”λ“œ\t\n\nex)\nKR"}, {"name": "ltr_etc3", "type": "string", "description": null}, {"name": "ltr_etc4", "type": "string", "description": "μ•„μ΄ν…œ μΉ΄ν…Œκ³ λ¦¬"}, {"name": "ltr_etc5", "type": "string", "description": null}, {"name": "ltr_etc6", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": "κΈ°μ€€μΌμž"}]}
CREATE TABLE `poker_cls_dw`.`sg_mblg_item_hld_sd01` ( `game_cd` string COMMENT 'κ²Œμž„ μ½”λ“œ ex) G518', `game_grd_cd` bigint COMMENT 'κ²Œμž„ λ“±κΈ‰ μ½”λ“œ', `act_user_yn` string COMMENT 'μ•‘ν‹°λΈŒ μœ μ € μ—¬λΆ€ ex) Y,N', `item_tp_cd` string COMMENT 'μ•„μ΄ν…œ λΆ„λ₯˜ μ½”λ“œ Ex) 2,3,4', `item_id` string COMMENT 'μ•„μ΄ν…œ 아이디 (ItemType에 λ”°λ₯Έ value) - 아바타: 아바타 id (ClassicPoker_Item_Mast 의 item_id) - μ•„μ΄ν…œ: μ•„μ΄ν…œ id (ClassicPoker_Item_Mast 의 item_id) ex) 232201001', `hld_cnt` bigint COMMENT 'μ•„μ΄ν…œ 갯수', `num_etc1` bigint COMMENT 'None', `ltr_etc1` string COMMENT 'μ•„μ΄ν…œ 레벨', `ltr_etc2` string COMMENT 'None', `num_etc2` bigint COMMENT 'μ•„μ΄ν…œ λ“±κΈ‰', `svr_id` string COMMENT 'None', `os_cd` string COMMENT 'OS μ½”λ“œ ex) Android iOS', `nat_cd` string COMMENT 'κ΅­κ°€μ½”λ“œ ex) KR', `ltr_etc3` string COMMENT 'None', `ltr_etc4` string COMMENT 'μ•„μ΄ν…œ μΉ΄ν…Œκ³ λ¦¬', `ltr_etc5` string COMMENT 'None', `ltr_etc6` string COMMENT 'None', `work_ymd` string COMMENT 'κΈ°μ€€μΌμž' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_dw", "table": "sg_po_rstct_user_sd01", "description": null, "columns": [{"name": "ucnt", "type": "bigint", "description": "μ œν•œλœ μœ μ €μˆ˜"}, {"name": "cust_cnt", "type": "bigint", "description": "custno 수"}, {"name": "act_ucnt", "type": "bigint", "description": "4μ£Ό 이내에 κ²Œμž„μ„ μ§„ν–‰ν•œ μœ μ € 수"}, {"name": "ret_ucnt", "type": "bigint", "description": "볡귀 μœ μ €μˆ˜"}, {"name": "game_cd", "type": "string", "description": "κ²Œμž„ μ½”λ“œ"}, {"name": "tdd_rstct_cnt", "type": "bigint", "description": "μ œν•œ 이용자 수"}, {"name": "los_rstct_mony", "type": "double", "description": "손싀 μ œν•œ λ¨Έλ‹ˆ"}, {"name": "work_ymd", "type": "string", "description": "κΈ°μ€€ 일자"}]}
CREATE TABLE `poker_cls_dw`.`sg_po_rstct_user_sd01` ( `ucnt` bigint COMMENT 'μ œν•œλœ μœ μ €μˆ˜', `cust_cnt` bigint COMMENT 'custno 수', `act_ucnt` bigint COMMENT '4μ£Ό 이내에 κ²Œμž„μ„ μ§„ν–‰ν•œ μœ μ € 수', `ret_ucnt` bigint COMMENT '볡귀 μœ μ €μˆ˜', `game_cd` string COMMENT 'κ²Œμž„ μ½”λ“œ', `tdd_rstct_cnt` bigint COMMENT 'μ œν•œ 이용자 수', `los_rstct_mony` double COMMENT '손싀 μ œν•œ λ¨Έλ‹ˆ', `work_ymd` string COMMENT 'κΈ°μ€€ 일자' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "sg_po_rstct_user_sd02", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": "κ²Œμž„ μ½”λ“œ\t\n\nex)\nG002"}, {"name": "los_rstct_mony", "type": "double", "description": "손싀 μ œν•œ λ¨Έλ‹ˆ"}, {"name": "user_rstct_cnt", "type": "bigint", "description": "μ œν•œ 이용자수"}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": "κΈ°μ€€μΌμž"}]}
CREATE TABLE `poker_cls_dw`.`sg_po_rstct_user_sd02` ( `game_cd` string COMMENT 'κ²Œμž„ μ½”λ“œ ex) G002', `los_rstct_mony` double COMMENT '손싀 μ œν•œ λ¨Έλ‹ˆ', `user_rstct_cnt` bigint COMMENT 'μ œν•œ 이용자수', `ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'κΈ°μ€€μΌμž' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "sg_po_v1_objr_game_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "cm_objr_cnt", "type": "bigint", "description": null}, {"name": "tot_hld_mony", "type": "double", "description": null}, {"name": "game_tdd_ucnt", "type": "bigint", "description": null}, {"name": "game_win_pcnt", "type": "bigint", "description": null}, {"name": "game_los_pcnt", "type": "bigint", "description": null}, {"name": "game_win_mony", "type": "double", "description": null}, {"name": "game_los_mony", "type": "double", "description": null}, {"name": "game_uv_hld_mony", "type": "double", "description": null}, {"name": "v1_tdd_ucnt", "type": "bigint", "description": null}, {"name": "v1_mony_mv_obj_ucnt", "type": "double", "description": null}, {"name": "v1_win_tcnt", "type": "bigint", "description": null}, {"name": "v1_los_tcnt", "type": "bigint", "description": null}, {"name": "v1_win_pcnt", "type": "bigint", "description": null}, {"name": "v1_los_pcnt", "type": "bigint", "description": null}, {"name": "v1_win_mony", "type": "double", "description": null}, {"name": "v1_los_mony", "type": "double", "description": null}, {"name": "v1_uv_hld_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_po_v1_objr_game_sd01` ( `game_cd` string COMMENT 'None', `cm_objr_cnt` bigint COMMENT 'None', `tot_hld_mony` double COMMENT 'None', `game_tdd_ucnt` bigint COMMENT 'None', `game_win_pcnt` bigint COMMENT 'None', `game_los_pcnt` bigint COMMENT 'None', `game_win_mony` double COMMENT 'None', `game_los_mony` double COMMENT 'None', `game_uv_hld_mony` double COMMENT 'None', `v1_tdd_ucnt` bigint COMMENT 'None', `v1_mony_mv_obj_ucnt` double COMMENT 'None', `v1_win_tcnt` bigint COMMENT 'None', `v1_los_tcnt` bigint COMMENT 'None', `v1_win_pcnt` bigint COMMENT 'None', `v1_los_pcnt` bigint COMMENT 'None', `v1_win_mony` double COMMENT 'None', `v1_los_mony` double COMMENT 'None', `v1_uv_hld_mony` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "sg_std_indr_new_user_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "new_user_cnt", "type": "bigint", "description": null}, {"name": "join8d_vit_cnt", "type": "bigint", "description": null}, {"name": "join8d_samt", "type": "double", "description": null}, {"name": "join31d_samt", "type": "double", "description": null}, {"name": "infl_chnl_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_std_indr_new_user_sd01` ( `game_cd` string COMMENT 'None', `nat_cd` string COMMENT 'None', `new_user_cnt` bigint COMMENT 'None', `join8d_vit_cnt` bigint COMMENT 'None', `join8d_samt` double COMMENT 'None', `join31d_samt` double COMMENT 'None', `infl_chnl_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "sg_std_indr_sd02", "description": null, "columns": [{"name": "lcls_cd", "type": "string", "description": null}, {"name": "mcls_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "age_zn_cd", "type": "string", "description": null}, {"name": "hgid_mapng_yn", "type": "string", "description": null}, {"name": "mket_cd", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "mcls_nm", "type": "string", "description": null}, {"name": "game_nm", "type": "string", "description": null}, {"name": "sex_nm", "type": "string", "description": null}, {"name": "age_zn_nm", "type": "string", "description": null}, {"name": "mket_nm", "type": "string", "description": null}, {"name": "cm_ucnt", "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": "tdd_ptm", "type": "double", "description": null}, {"name": "conn_tcnt", "type": "bigint", "description": null}, {"name": "act_ucnt", "type": "bigint", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "ltr_etc2", "type": "string", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "w1_dmnc_cmbck_ucnt", "type": "bigint", "description": null}, {"name": "w4_dmnc_cmbck_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_std_indr_sd02` ( `lcls_cd` string COMMENT 'None', `mcls_cd` string COMMENT 'None', `game_cd` string COMMENT 'None', `sex_cd` string COMMENT 'None', `age_zn_cd` string COMMENT 'None', `hgid_mapng_yn` string COMMENT 'None', `mket_cd` string COMMENT 'None', `org_cd` string COMMENT 'None', `lcls_nm` string COMMENT 'None', `mcls_nm` string COMMENT 'None', `game_nm` string COMMENT 'None', `sex_nm` string COMMENT 'None', `age_zn_nm` string COMMENT 'None', `mket_nm` string COMMENT 'None', `cm_ucnt` bigint COMMENT 'None', `uv_cnt` bigint COMMENT 'None', `new_ucnt` bigint COMMENT 'None', `wkly_ucnt` bigint COMMENT 'None', `tdd_ptm` double COMMENT 'None', `conn_tcnt` bigint COMMENT 'None', `act_ucnt` bigint COMMENT 'None', `ltr_etc1` string COMMENT 'None', `ltr_etc2` string COMMENT 'None', `num_etc1` bigint COMMENT 'None', `os_cd` string COMMENT 'None', `idp_cd` string COMMENT 'None', `w1_dmnc_cmbck_ucnt` bigint COMMENT 'None', `w4_dmnc_cmbck_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_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 `poker_cls_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": "poker_cls_dw", "table": "sg_std_indr_cntu_sw01", "description": null, "columns": [{"name": "strt_ymd", "type": "string", "description": null}, {"name": "end_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "wkly_use_cyc", "type": "string", "description": null}, {"name": "wkly_ucnt", "type": "bigint", "description": null}, {"name": "wkly_pcnt", "type": "bigint", "description": null}, {"name": "wkly_ptm", "type": "double", "description": null}, {"name": "wkly_vst_dcnt", "type": "bigint", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_std_indr_cntu_sw01` ( `strt_ymd` string COMMENT 'None', `end_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None', `wkly_use_cyc` string COMMENT 'None', `wkly_ucnt` bigint COMMENT 'None', `wkly_pcnt` bigint COMMENT 'None', `wkly_ptm` double COMMENT 'None', `wkly_vst_dcnt` bigint COMMENT 'None', `ltr_etc1` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "sg_std_indr_sd01", "description": null, "columns": [{"name": "lcls_cd", "type": "string", "description": null}, {"name": "mcls_cd", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "mcls_nm", "type": "string", "description": null}, {"name": "game_nm", "type": "string", "description": null}, {"name": "cm_ucnt", "type": "bigint", "description": null}, {"name": "uv_cnt", "type": "bigint", "description": null}, {"name": "wkly_ucnt", "type": "bigint", "description": null}, {"name": "new_ucnt", "type": "bigint", "description": null}, {"name": "tdd_ptm", "type": "double", "description": null}, {"name": "conn_tcnt", "type": "bigint", "description": null}, {"name": "mcu", "type": "bigint", "description": null}, {"name": "mcu_tm", "type": "string", "description": null}, {"name": "act_ucnt", "type": "bigint", "description": null}, {"name": "mm_cm_ucnt", "type": "bigint", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_std_indr_sd01` ( `lcls_cd` string COMMENT 'None', `mcls_cd` string COMMENT 'None', `org_cd` string COMMENT 'None', `lcls_nm` string COMMENT 'None', `mcls_nm` string COMMENT 'None', `game_nm` string COMMENT 'None', `cm_ucnt` bigint COMMENT 'None', `uv_cnt` bigint COMMENT 'None', `wkly_ucnt` bigint COMMENT 'None', `new_ucnt` bigint COMMENT 'None', `tdd_ptm` double COMMENT 'None', `conn_tcnt` bigint COMMENT 'None', `mcu` bigint COMMENT 'None', `mcu_tm` string COMMENT 'None', `act_ucnt` bigint COMMENT 'None', `mm_cm_ucnt` bigint COMMENT 'None', `game_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "sg_std_indr_sw01", "description": null, "columns": [{"name": "lcls_cd", "type": "string", "description": null}, {"name": "mcls_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "mcls_nm", "type": "string", "description": null}, {"name": "game_nm", "type": "string", "description": null}, {"name": "avg_uv", "type": "bigint", "description": null}, {"name": "wkly_ucnt", "type": "bigint", "description": null}, {"name": "new_ucnt", "type": "bigint", "description": null}, {"name": "avg_cu", "type": "bigint", "description": null}, {"name": "mm_cm_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_std_indr_sw01` ( `lcls_cd` string COMMENT 'None', `mcls_cd` string COMMENT 'None', `game_cd` string COMMENT 'None', `org_cd` string COMMENT 'None', `lcls_nm` string COMMENT 'None', `mcls_nm` string COMMENT 'None', `game_nm` string COMMENT 'None', `avg_uv` bigint COMMENT 'None', `wkly_ucnt` bigint COMMENT 'None', `new_ucnt` bigint COMMENT 'None', `avg_cu` bigint COMMENT 'None', `mm_cm_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_dw", "table": "sg_po_game_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": "κ²Œμž„μ½”λ“œ"}, {"name": "seed_mony", "type": "double", "description": null}, {"name": "sumry_lv", "type": "bigint", "description": "#sumry_lv=1 : κ²Œμž„λ³„\n#sumry_lv=3 : κ²Œμž„λ³„, λ§ˆμΌ“λ³„ \n #sumry_lv=5 : κ²Œμž„λ³„, λ§ˆμΌ“λ³„, μƒν’ˆλ³„ \n #sumry_lv=7 : κ²Œμž„λ³„, λ§ˆμΌ“λ³„,μƒν’ˆλ³„, 레벨, λ‹Ήμ›”κΈˆμ•‘λŒ€, λˆ„μ  κΈˆμ•‘λŒ€"}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": "μœ μ €νŒμˆ˜"}, {"name": "game_pcnt", "type": "bigint", "description": "κ²Œμž„ 판수"}, {"name": "use_mony", "type": "double", "description": null}, {"name": "dealr_mony", "type": "double", "description": null}, {"name": "allin_tcnt", "type": "bigint", "description": "올인 횟수"}, {"name": "allin_ucnt", "type": "bigint", "description": "올인 μœ μ €μˆ˜"}, {"name": "game_tp_nm", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": "κΈ°μ€€μΌμž"}]}
CREATE TABLE `poker_cls_dw`.`sg_po_game_sd01` ( `game_cd` string COMMENT 'κ²Œμž„μ½”λ“œ', `seed_mony` double COMMENT 'None', `sumry_lv` bigint COMMENT '#sumry_lv=1 : κ²Œμž„λ³„ #sumry_lv=3 : κ²Œμž„λ³„, λ§ˆμΌ“λ³„ #sumry_lv=5 : κ²Œμž„λ³„, λ§ˆμΌ“λ³„, μƒν’ˆλ³„ #sumry_lv=7 : κ²Œμž„λ³„, λ§ˆμΌ“λ³„,μƒν’ˆλ³„, 레벨, λ‹Ήμ›”κΈˆμ•‘λŒ€, λˆ„μ  κΈˆμ•‘λŒ€', `ucnt` bigint COMMENT 'None', `user_pcnt` bigint COMMENT 'μœ μ €νŒμˆ˜', `game_pcnt` bigint COMMENT 'κ²Œμž„ 판수', `use_mony` double COMMENT 'None', `dealr_mony` double COMMENT 'None', `allin_tcnt` bigint COMMENT '올인 횟수', `allin_ucnt` bigint COMMENT '올인 μœ μ €μˆ˜', `game_tp_nm` string COMMENT 'None', `work_ymd` string COMMENT 'κΈ°μ€€μΌμž' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_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 `poker_cls_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": "poker_cls_dw", "table": "sg_po_game_user_sd02", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": "κ²Œμž„ μ½”λ“œ\t\n\nex)\nG036\n7포컀"}, {"name": "chnl_cd", "type": "string", "description": "κ²½κΈ°μž₯ μ½”λ“œ\t\n\nex)\n00B0"}, {"name": "chnl_tp_cd", "type": "string", "description": "κ²½κΈ°μž₯ λ‚΄ 채널 μ½”λ“œ\t\n\nex)\n03"}, {"name": "game_tp_cd", "type": "string", "description": null}, {"name": "sumry_lv", "type": "string", "description": "#sumry_lv=1 : κ²Œμž„λ³„\n#sumry_lv=3 : κ²Œμž„λ³„, λ§ˆμΌ“λ³„ \n #sumry_lv=5 : κ²Œμž„λ³„, λ§ˆμΌ“λ³„, μƒν’ˆλ³„ \n #sumry_lv=7 : κ²Œμž„λ³„, λ§ˆμΌ“λ³„,μƒν’ˆλ³„, 레벨, λ‹Ήμ›”κΈˆμ•‘λŒ€, λˆ„μ  κΈˆμ•‘λŒ€"}, {"name": "open_yn", "type": "string", "description": "κ²Œμž„ μ˜€ν”ˆ μ—¬λΆ€\t\n\nex)\nY, N"}, {"name": "ucnt", "type": "bigint", "description": "μœ μ €μˆ˜"}, {"name": "user_pcnt", "type": "bigint", "description": "이용자 판수\nλ‹ΉμΌμ˜ 이용자판수의 ν•©"}, {"name": "game_pcnt", "type": "bigint", "description": "κ²Œμž„ 판수\nλ‹ΉμΌμ˜ κ²Œμž„νŒμˆ˜μ˜ ν•©"}, {"name": "win_mony", "type": "double", "description": "승리 λ¨Έλ‹ˆ"}, {"name": "los_mony", "type": "double", "description": "μžƒμ€ λ¨Έλ‹ˆ"}, {"name": "dealr_mony", "type": "double", "description": "λ”œλŸ¬λΉ„"}, {"name": "allin_tcnt", "type": "bigint", "description": "올인 횟수"}, {"name": "rep_game_cd", "type": "string", "description": "μƒμœ„ κ²Œμž„ μ½”λ“œ\t\n\nex)\nG002\nPC포컀"}, {"name": "win_pcnt", "type": "bigint", "description": "승리 횟수"}, {"name": "win_scr", "type": "bigint", "description": "λ―Έμ‚¬μš©"}, {"name": "game_ptm_mi", "type": "double", "description": "κ²Œμž„ 이용 μ‹œκ°„(λΆ„λ‹¨μœ„)"}, {"name": "user_ptm_mi", "type": "double", "description": "이용자 μ‚¬μš© μ‹œκ°„(λΆ„λ‹¨μœ„)"}, {"name": "scr", "type": "bigint", "description": "λ―Έμ‚¬μš©"}, {"name": "dealr_chip", "type": "bigint", "description": "λ―Έμ‚¬μš©"}, {"name": "user_tp_cd", "type": "string", "description": "μœ μ € μ½”λ“œ"}, {"name": "allin_ucnt", "type": "bigint", "description": "올인 ν•œ μœ μ €μˆ˜"}, {"name": "one_st_ucnt", "type": "bigint", "description": "μ›μŠ€ν† μ–΄ μœ μ €μˆ˜"}, {"name": "google_st_ucnt", "type": "bigint", "description": "ꡬ글 μŠ€ν† μ–΄ μœ μ €μˆ˜"}, {"name": "work_ymd", "type": "string", "description": "κΈ°μ€€μΌμž"}, {"name": "ios_st_ucnt", "type": "bigint", "description": "μ•±μŠ€ν† μ–΄ μœ μ €μˆ˜"}, {"name": "mac_st_ucnt", "type": "bigint", "description": null}, {"name": "galaxy_st_ucnt", "type": "bigint", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_po_game_user_sd02` ( `game_cd` string COMMENT 'κ²Œμž„ μ½”λ“œ ex) G036 7포컀', `chnl_cd` string COMMENT 'κ²½κΈ°μž₯ μ½”λ“œ ex) 00B0', `chnl_tp_cd` string COMMENT 'κ²½κΈ°μž₯ λ‚΄ 채널 μ½”λ“œ ex) 03', `game_tp_cd` string COMMENT 'None', `sumry_lv` string COMMENT '#sumry_lv=1 : κ²Œμž„λ³„ #sumry_lv=3 : κ²Œμž„λ³„, λ§ˆμΌ“λ³„ #sumry_lv=5 : κ²Œμž„λ³„, λ§ˆμΌ“λ³„, μƒν’ˆλ³„ #sumry_lv=7 : κ²Œμž„λ³„, λ§ˆμΌ“λ³„,μƒν’ˆλ³„, 레벨, λ‹Ήμ›”κΈˆμ•‘λŒ€, λˆ„μ  κΈˆμ•‘λŒ€', `open_yn` string COMMENT 'κ²Œμž„ μ˜€ν”ˆ μ—¬λΆ€ ex) Y, N', `ucnt` bigint COMMENT 'μœ μ €μˆ˜', `user_pcnt` bigint COMMENT '이용자 판수 λ‹ΉμΌμ˜ 이용자판수의 ν•©', `game_pcnt` bigint COMMENT 'κ²Œμž„ 판수 λ‹ΉμΌμ˜ κ²Œμž„νŒμˆ˜μ˜ ν•©', `win_mony` double COMMENT '승리 λ¨Έλ‹ˆ', `los_mony` double COMMENT 'μžƒμ€ λ¨Έλ‹ˆ', `dealr_mony` double COMMENT 'λ”œλŸ¬λΉ„', `allin_tcnt` bigint COMMENT '올인 횟수', `rep_game_cd` string COMMENT 'μƒμœ„ κ²Œμž„ μ½”λ“œ ex) G002 PC포컀', `win_pcnt` bigint COMMENT '승리 횟수', `win_scr` bigint COMMENT 'λ―Έμ‚¬μš©', `game_ptm_mi` double COMMENT 'κ²Œμž„ 이용 μ‹œκ°„(λΆ„λ‹¨μœ„)', `user_ptm_mi` double COMMENT '이용자 μ‚¬μš© μ‹œκ°„(λΆ„λ‹¨μœ„)', `scr` bigint COMMENT 'λ―Έμ‚¬μš©', `dealr_chip` bigint COMMENT 'λ―Έμ‚¬μš©', `user_tp_cd` string COMMENT 'μœ μ € μ½”λ“œ', `allin_ucnt` bigint COMMENT '올인 ν•œ μœ μ €μˆ˜', `one_st_ucnt` bigint COMMENT 'μ›μŠ€ν† μ–΄ μœ μ €μˆ˜', `google_st_ucnt` bigint COMMENT 'ꡬ글 μŠ€ν† μ–΄ μœ μ €μˆ˜', `work_ymd` string COMMENT 'κΈ°μ€€μΌμž', `ios_st_ucnt` bigint COMMENT 'μ•±μŠ€ν† μ–΄ μœ μ €μˆ˜', `mac_st_ucnt` bigint COMMENT 'None', `galaxy_st_ucnt` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "sg_po_vip_user_sd01", "description": null, "columns": [{"name": "vip_grd_cd", "type": "string", "description": null}, {"name": "cm_ucnt", "type": "bigint", "description": null}, {"name": "tdd_ucnt", "type": "bigint", "description": null}, {"name": "tot_crncy_amt", "type": "double", "description": null}, {"name": "net_crncy_amt", "type": "double", "description": null}, {"name": "tdd_game_ucnt", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "los_mony", "type": "double", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_po_vip_user_sd01` ( `vip_grd_cd` string COMMENT 'None', `cm_ucnt` bigint COMMENT 'None', `tdd_ucnt` bigint COMMENT 'None', `tot_crncy_amt` double COMMENT 'None', `net_crncy_amt` double COMMENT 'None', `tdd_game_ucnt` bigint COMMENT 'None', `user_pcnt` bigint COMMENT 'None', `los_mony` double COMMENT 'None', `pu` bigint COMMENT 'None', `nsamt` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "db_game_payr_mtr", "description": null, "columns": [{"name": "pay_chnl_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "fst_pay_ymd", "type": "string", "description": null}, {"name": "lst_pay_ymd", "type": "string", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "prod_seq", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "rep_game_cd", "type": "string", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "samt_jpy", "type": "double", "description": null}]}
CREATE TABLE `poker_cls_dw`.`db_game_payr_mtr` ( `pay_chnl_cd` string COMMENT 'None', `userid` string COMMENT 'None', `fst_pay_ymd` string COMMENT 'None', `lst_pay_ymd` string COMMENT 'None', `userno` bigint COMMENT 'None', `custno` bigint COMMENT 'None', `prod_seq` string COMMENT 'None', `game_grd_cd` string COMMENT 'None', `rep_game_cd` string COMMENT 'None', `samt` double COMMENT 'None', `samt_jpy` double COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "dc_game_app_mapng_mtr", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "tc_pjt_id", "type": "string", "description": null}, {"name": "ta_app_key", "type": "string", "description": null}, {"name": "appgd_app_key", "type": "string", "description": null}, {"name": "log_crash_app_key", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`dc_game_app_mapng_mtr` ( `game_cd` string COMMENT 'None', `tc_pjt_id` string COMMENT 'None', `ta_app_key` string COMMENT 'None', `appgd_app_key` string COMMENT 'None', `log_crash_app_key` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "dg_adid_use_d01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "adid", "type": "string", "description": null}, {"name": "lst_dt", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`dg_adid_use_d01` ( `game_cd` string COMMENT 'None', `adid` string COMMENT 'None', `lst_dt` string COMMENT 'None', `nat_cd` string COMMENT 'None', `os_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "dg_game_adid_d01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "adid", "type": "string", "description": null}, {"name": "inflw_dt", "type": "string", "description": null}, {"name": "lst_dt", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "age_cd", "type": "string", "description": null}, {"name": "d365_samt", "type": "double", "description": null}, {"name": "d365_pu_yn", "type": "string", "description": null}, {"name": "d730_samt", "type": "double", "description": null}, {"name": "d730_pu_yn", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`dg_game_adid_d01` ( `game_cd` string COMMENT 'None', `adid` string COMMENT 'None', `inflw_dt` string COMMENT 'None', `lst_dt` string COMMENT 'None', `nat_cd` string COMMENT 'None', `os_cd` string COMMENT 'None', `idp_cd` string COMMENT 'None', `idp_userno` string COMMENT 'None', `sex_cd` string COMMENT 'None', `age_cd` string COMMENT 'None', `d365_samt` double COMMENT 'None', `d365_pu_yn` string COMMENT 'None', `d730_samt` double COMMENT 'None', `d730_pu_yn` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "dg_game_mm_user_m01", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "new_join_yn", "type": "string", "description": null}, {"name": "mm_user_pcnt", "type": "bigint", "description": null}, {"name": "mm_vst_dcnt", "type": "bigint", "description": null}, {"name": "mm_ptm", "type": "double", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "work_ym", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "client_type", "type": "bigint", "description": null}]}
CREATE TABLE `poker_cls_dw`.`dg_game_mm_user_m01` ( `userno` string COMMENT 'None', `new_join_yn` string COMMENT 'None', `mm_user_pcnt` bigint COMMENT 'None', `mm_vst_dcnt` bigint COMMENT 'None', `mm_ptm` double COMMENT 'None', `ltr_etc1` string COMMENT 'None', `userid` string COMMENT 'None', `work_ym` string COMMENT 'None', `game_cd` string COMMENT 'None', `client_type` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_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 `poker_cls_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": "poker_cls_dw", "table": "dg_mblg_pay_prod_cd_mtr", "description": null, "columns": [{"name": "prod_id", "type": "string", "description": null}, {"name": "prod_nm", "type": "string", "description": null}, {"name": "mket_cd", "type": "string", "description": null}, {"name": "prod_cat_nm", "type": "string", "description": null}, {"name": "prod_cat_cd", "type": "string", "description": null}, {"name": "sale_uprc_amt", "type": "double", "description": null}, {"name": "prod_crncy_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`dg_mblg_pay_prod_cd_mtr` ( `prod_id` string COMMENT 'None', `prod_nm` string COMMENT 'None', `mket_cd` string COMMENT 'None', `prod_cat_nm` string COMMENT 'None', `prod_cat_cd` string COMMENT 'None', `sale_uprc_amt` double COMMENT 'None', `prod_crncy_cd` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_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 `poker_cls_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": "poker_cls_dw", "table": "dg_mblg_user_m01", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "mket_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "lv_cd", "type": "string", "description": null}, {"name": "work_ym", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`dg_mblg_user_m01` ( `userno` string COMMENT 'None', `org_cd` string COMMENT 'None', `join_dt` string COMMENT 'None', `lst_game_dt` string COMMENT 'None', `os_cd` string COMMENT 'None', `mket_cd` string COMMENT 'None', `nat_cd` string COMMENT 'None', `lv_cd` string COMMENT 'None', `work_ym` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_dw", "table": "sg_game_cntu_use_sm01", "description": null, "columns": [{"name": "join_ym", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "mm_use_cyc", "type": "string", "description": null}, {"name": "mm_ucnt", "type": "bigint", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_game_cntu_use_sm01` ( `join_ym` string COMMENT 'None', `game_cd` string COMMENT 'None', `mm_use_cyc` string COMMENT 'None', `mm_ucnt` bigint COMMENT 'None', `ltr_etc1` string COMMENT 'None', `work_ym` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_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}, {"name": "client_type", "type": "bigint", "description": null}]}
CREATE TABLE `poker_cls_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', `client_type` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "sg_mblg_dev_sm01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "dev_mdl", "type": "string", "description": null}, {"name": "rnk", "type": "bigint", "description": null}, {"name": "mm_ucnt", "type": "bigint", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_mblg_dev_sm01` ( `game_cd` string COMMENT 'None', `dev_mdl` string COMMENT 'None', `rnk` bigint COMMENT 'None', `mm_ucnt` bigint COMMENT 'None', `work_ym` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "sg_mblg_pay_sm01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "mket_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "prod_id", "type": "string", "description": null}, {"name": "sumry_lv", "type": "bigint", "description": null}, {"name": "game_grd_secn_zn_cd", "type": "string", "description": null}, {"name": "pay_amt_secn_zn_cd", "type": "string", "description": null}, {"name": "cm_pay_amt_secn_zn_cd", "type": "string", "description": null}, {"name": "pay_cnt", "type": "bigint", "description": null}, {"name": "pay_amt", "type": "double", "description": null}, {"name": "net_pay_amt", "type": "double", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_mblg_pay_sm01` ( `game_cd` string COMMENT 'None', `mket_cd` string COMMENT 'None', `nat_cd` string COMMENT 'None', `prod_id` string COMMENT 'None', `sumry_lv` bigint COMMENT 'None', `game_grd_secn_zn_cd` string COMMENT 'None', `pay_amt_secn_zn_cd` string COMMENT 'None', `cm_pay_amt_secn_zn_cd` string COMMENT 'None', `pay_cnt` bigint COMMENT 'None', `pay_amt` double COMMENT 'None', `net_pay_amt` double COMMENT 'None', `pu` bigint COMMENT 'None', `ltr_etc1` string COMMENT 'None', `work_ym` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "sg_std_indr_sale_secn_sm01", "description": null, "columns": [{"name": "nat_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "mket_cd", "type": "string", "description": null}, {"name": "pu_tp_cd", "type": "string", "description": null}, {"name": "mm_samt_secn_cd", "type": "string", "description": null}, {"name": "pu_yn", "type": "string", "description": null}, {"name": "lst_lv_cd", "type": "string", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "work_ym", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_std_indr_sale_secn_sm01` ( `nat_cd` string COMMENT 'None', `os_cd` string COMMENT 'None', `mket_cd` string COMMENT 'None', `pu_tp_cd` string COMMENT 'None', `mm_samt_secn_cd` string COMMENT 'None', `pu_yn` string COMMENT 'None', `lst_lv_cd` string COMMENT 'None', `samt` double COMMENT 'None', `sale_cnt` bigint COMMENT 'None', `ucnt` bigint COMMENT 'None', `work_ym` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "sg_std_indr_sm01", "description": null, "columns": [{"name": "lcls_cd", "type": "string", "description": null}, {"name": "mcls_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "mcls_nm", "type": "string", "description": null}, {"name": "game_nm", "type": "string", "description": null}, {"name": "mm_ucnt", "type": "bigint", "description": null}, {"name": "cntnu_ucnt", "type": "bigint", "description": null}, {"name": "secd_ucnt", "type": "bigint", "description": null}, {"name": "cmbck_ucnt", "type": "bigint", "description": null}, {"name": "vst_dcnt", "type": "bigint", "description": null}, {"name": "prncp_certi_yn", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "work_ym", "type": "string", "description": null}, {"name": "client_type", "type": "bigint", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_std_indr_sm01` ( `lcls_cd` string COMMENT 'None', `mcls_cd` string COMMENT 'None', `game_cd` string COMMENT 'None', `org_cd` string COMMENT 'None', `lcls_nm` string COMMENT 'None', `mcls_nm` string COMMENT 'None', `game_nm` string COMMENT 'None', `mm_ucnt` bigint COMMENT 'None', `cntnu_ucnt` bigint COMMENT 'None', `secd_ucnt` bigint COMMENT 'None', `cmbck_ucnt` bigint COMMENT 'None', `vst_dcnt` bigint COMMENT 'None', `prncp_certi_yn` string COMMENT 'None', `nat_cd` string COMMENT 'None', `os_cd` string COMMENT 'None', `ltr_etc1` string COMMENT 'None', `work_ym` string COMMENT 'None', `client_type` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "dc_grp_cd_d01", "description": null, "columns": [{"name": "grp_cd", "type": "string", "description": null}, {"name": "grp_nm", "type": "string", "description": null}, {"name": "grp_eng_nm", "type": "string", "description": null}, {"name": "cd_len", "type": "string", "description": null}, {"name": "cd_tp_cd", "type": "string", "description": null}, {"name": "grp_scls_cd", "type": "string", "description": null}, {"name": "grp_mcls_cd", "type": "string", "description": null}, {"name": "grp_desc", "type": "string", "description": null}, {"name": "end_ymd", "type": "string", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}, {"name": "rgstr", "type": "string", "description": null}, {"name": "lst_mod_dt", "type": "string", "description": null}, {"name": "fdw_use_yn", "type": "string", "description": null}, {"name": "modr", "type": "string", "description": null}, {"name": "del_yn", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`dc_grp_cd_d01` ( `grp_cd` string COMMENT 'None', `grp_nm` string COMMENT 'None', `grp_eng_nm` string COMMENT 'None', `cd_len` string COMMENT 'None', `cd_tp_cd` string COMMENT 'None', `grp_scls_cd` string COMMENT 'None', `grp_mcls_cd` string COMMENT 'None', `grp_desc` string COMMENT 'None', `end_ymd` string COMMENT 'None', `rgst_dt` string COMMENT 'None', `rgstr` string COMMENT 'None', `lst_mod_dt` string COMMENT 'None', `fdw_use_yn` string COMMENT 'None', `modr` string COMMENT 'None', `del_yn` string COMMENT 'None', `game_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "dg_chnl_cd", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "strt_ymd", "type": "string", "description": null}, {"name": "chnl_nm", "type": "string", "description": null}, {"name": "chnl_tp_cd", "type": "string", "description": null}, {"name": "chnl_tp_nm", "type": "string", "description": null}, {"name": "gameid", "type": "string", "description": null}, {"name": "end_ymd", "type": "string", "description": null}, {"name": "bip1_chnl_tp_cd", "type": "string", "description": null}, {"name": "bip1_chnl_cd", "type": "string", "description": null}, {"name": "upr_chnl_yn", "type": "string", "description": null}, {"name": "game_tp_nm", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`dg_chnl_cd` ( `game_cd` string COMMENT 'None', `chnl_cd` string COMMENT 'None', `strt_ymd` string COMMENT 'None', `chnl_nm` string COMMENT 'None', `chnl_tp_cd` string COMMENT 'None', `chnl_tp_nm` string COMMENT 'None', `gameid` string COMMENT 'None', `end_ymd` string COMMENT 'None', `bip1_chnl_tp_cd` string COMMENT 'None', `bip1_chnl_cd` string COMMENT 'None', `upr_chnl_yn` string COMMENT 'None', `game_tp_nm` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_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 `poker_cls_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": "poker_cls_dw", "table": "md_tbl_d01", "description": null, "columns": [{"name": "dbname", "type": "string", "description": null}, {"name": "tbl_nm", "type": "string", "description": null}, {"name": "entt_nm", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "tbl_tp_cd", "type": "string", "description": null}, {"name": "tbl_stat_cd", "type": "string", "description": null}, {"name": "work_hh", "type": "string", "description": null}, {"name": "sms_chk_yn", "type": "string", "description": null}, {"name": "strt_ymd", "type": "string", "description": null}, {"name": "tbl_desc", "type": "string", "description": null}, {"name": "log_date", "type": "timestamp", "description": null}, {"name": "stats_yn", "type": "string", "description": null}, {"name": "prttn_col_nm", "type": "string", "description": null}, {"name": "kpg_cyc", "type": "int", "description": null}, {"name": "data_cre_chrgr", "type": "string", "description": null}, {"name": "data_trnsf_chrgr", "type": "string", "description": null}, {"name": "trnsf_mthd", "type": "string", "description": null}, {"name": "svc_tp_cd", "type": "string", "description": null}, {"name": "end_ymd", "type": "string", "description": null}, {"name": "cln_cnt", "type": "bigint", "description": null}, {"name": "data_tp_cd", "type": "string", "description": null}, {"name": "rgst_date", "type": "timestamp", "description": null}, {"name": "rgstr", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`md_tbl_d01` ( `dbname` string COMMENT 'None', `tbl_nm` string COMMENT 'None', `entt_nm` string COMMENT 'None', `game_cd` string COMMENT 'None', `tbl_tp_cd` string COMMENT 'None', `tbl_stat_cd` string COMMENT 'None', `work_hh` string COMMENT 'None', `sms_chk_yn` string COMMENT 'None', `strt_ymd` string COMMENT 'None', `tbl_desc` string COMMENT 'None', `log_date` timestamp COMMENT 'None', `stats_yn` string COMMENT 'None', `prttn_col_nm` string COMMENT 'None', `kpg_cyc` int COMMENT 'None', `data_cre_chrgr` string COMMENT 'None', `data_trnsf_chrgr` string COMMENT 'None', `trnsf_mthd` string COMMENT 'None', `svc_tp_cd` string COMMENT 'None', `end_ymd` string COMMENT 'None', `cln_cnt` bigint COMMENT 'None', `data_tp_cd` string COMMENT 'None', `rgst_date` timestamp COMMENT 'None', `rgstr` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_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 `poker_cls_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": "poker_cls_dw", "table": "vi_sg_mis_game_sd01", "description": null, "columns": [{"name": "game_nm", "type": "string", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "mcu", "type": "bigint", "description": null}, {"name": "cm_ucnt", "type": "bigint", "description": null}, {"name": "mm_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}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`vi_sg_mis_game_sd01` ( `game_nm` string COMMENT 'None', `lcls_nm` string COMMENT 'None', `mcu` bigint COMMENT 'None', `cm_ucnt` bigint COMMENT 'None', `mm_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', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "bigamestct", "description": null, "columns": [{"name": "logdte", "type": "string", "description": null}, {"name": "gameid", "type": "string", "description": null}, {"name": "maxcnt", "type": "bigint", "description": null}, {"name": "maxdate", "type": "string", "description": null}, {"name": "mincnt", "type": "bigint", "description": null}, {"name": "sumcnt", "type": "bigint", "description": null}, {"name": "chccnt", "type": "bigint", "description": null}, {"name": "maxlcnt", "type": "bigint", "description": null}, {"name": "maxldate", "type": "string", "description": null}, {"name": "minlcnt", "type": "bigint", "description": null}, {"name": "sumlcnt", "type": "bigint", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "chnl_nm", "type": "string", "description": null}, {"name": "summery_lv", "type": "bigint", "description": null}, {"name": "channelid", "type": "string", "description": null}, {"name": "subid", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`bigamestct` ( `logdte` string COMMENT 'None', `gameid` string COMMENT 'None', `maxcnt` bigint COMMENT 'None', `maxdate` string COMMENT 'None', `mincnt` bigint COMMENT 'None', `sumcnt` bigint COMMENT 'None', `chccnt` bigint COMMENT 'None', `maxlcnt` bigint COMMENT 'None', `maxldate` string COMMENT 'None', `minlcnt` bigint COMMENT 'None', `sumlcnt` bigint COMMENT 'None', `game_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None', `chnl_nm` string COMMENT 'None', `summery_lv` bigint COMMENT 'None', `channelid` string COMMENT 'None', `subid` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_dw", "table": "sg_po_upp_objr_sd01", "description": null, "columns": [{"name": "lv", "type": "bigint", "description": null}, {"name": "objr_cnt", "type": "bigint", "description": null}, {"name": "tdd_ucnt", "type": "bigint", "description": null}, {"name": "pc_po_ucnt", "type": "bigint", "description": null}, {"name": "mbl_po_ucnt", "type": "bigint", "description": null}, {"name": "pc_go_ucnt", "type": "bigint", "description": null}, {"name": "mbl_go_ucnt", "type": "bigint", "description": null}, {"name": "tdd_pcnt", "type": "bigint", "description": null}, {"name": "pc_po_pcnt", "type": "bigint", "description": null}, {"name": "mbl_po_pcnt", "type": "bigint", "description": null}, {"name": "pc_go_pcnt", "type": "bigint", "description": null}, {"name": "mbl_go_pcnt", "type": "bigint", "description": null}, {"name": "pc_po_los_mony", "type": "double", "description": null}, {"name": "mbl_po_los_mony", "type": "double", "description": null}, {"name": "pc_go_los_mony", "type": "double", "description": null}, {"name": "mbl_go_los_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_po_upp_objr_sd01` ( `lv` bigint COMMENT 'None', `objr_cnt` bigint COMMENT 'None', `tdd_ucnt` bigint COMMENT 'None', `pc_po_ucnt` bigint COMMENT 'None', `mbl_po_ucnt` bigint COMMENT 'None', `pc_go_ucnt` bigint COMMENT 'None', `mbl_go_ucnt` bigint COMMENT 'None', `tdd_pcnt` bigint COMMENT 'None', `pc_po_pcnt` bigint COMMENT 'None', `mbl_po_pcnt` bigint COMMENT 'None', `pc_go_pcnt` bigint COMMENT 'None', `mbl_go_pcnt` bigint COMMENT 'None', `pc_po_los_mony` double COMMENT 'None', `mbl_po_los_mony` double COMMENT 'None', `pc_go_los_mony` double COMMENT 'None', `mbl_go_los_mony` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "sg_po_game_user_sd04", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "clnt_cd", "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": "allin_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_po_game_user_sd04` ( `game_cd` string COMMENT 'None', `clnt_cd` 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', `allin_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "db_prod_sale_hist", "description": null, "columns": [{"name": "work_hh", "type": "string", "description": null}, {"name": "pay_chnl_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "prod_seq", "type": "string", "description": null}, {"name": "pay_tp_cd", "type": "string", "description": null}, {"name": "pay_mns_cd", "type": "string", "description": null}, {"name": "atmt_pay_yn", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "noml_amt", "type": "double", "description": null}, {"name": "noml_cnt", "type": "bigint", "description": null}, {"name": "canc_amt", "type": "double", "description": null}, {"name": "canc_cnt", "type": "bigint", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "fre_samt", "type": "double", "description": null}, {"name": "fre_nsamt", "type": "double", "description": null}, {"name": "net_noml_amt", "type": "double", "description": null}, {"name": "net_canc_amt", "type": "double", "description": null}, {"name": "pay_mnsid", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "samt_jpy", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`db_prod_sale_hist` ( `work_hh` string COMMENT 'None', `pay_chnl_cd` string COMMENT 'None', `userid` string COMMENT 'None', `prod_seq` string COMMENT 'None', `pay_tp_cd` string COMMENT 'None', `pay_mns_cd` string COMMENT 'None', `atmt_pay_yn` string COMMENT 'None', `st_cd` string COMMENT 'None', `samt` double COMMENT 'None', `nsamt` double COMMENT 'None', `sale_cnt` bigint COMMENT 'None', `noml_amt` double COMMENT 'None', `noml_cnt` bigint COMMENT 'None', `canc_amt` double COMMENT 'None', `canc_cnt` bigint COMMENT 'None', `userno` bigint COMMENT 'None', `custno` bigint COMMENT 'None', `fre_samt` double COMMENT 'None', `fre_nsamt` double COMMENT 'None', `net_noml_amt` double COMMENT 'None', `net_canc_amt` double COMMENT 'None', `pay_mnsid` string COMMENT 'None', `game_grd_cd` string COMMENT 'None', `nat_cd` string COMMENT 'None', `samt_jpy` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "dc_prod_cd_mtr", "description": null, "columns": [{"name": "prod_seq", "type": "string", "description": null}, {"name": "prodid", "type": "string", "description": null}, {"name": "prod_nm", "type": "string", "description": null}, {"name": "sale_cd", "type": "string", "description": null}, {"name": "sale2_cd", "type": "string", "description": null}, {"name": "cpid", "type": "string", "description": null}, {"name": "cp_nm", "type": "string", "description": null}, {"name": "svc_seq", "type": "string", "description": null}, {"name": "svc_nm", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "stat_cd", "type": "string", "description": null}, {"name": "age_rstct_cd", "type": "string", "description": null}, {"name": "rlnm_certi_yn", "type": "string", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}, {"name": "use_prd_tp_cd", "type": "string", "description": null}, {"name": "intnl_dvlp_yn", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`dc_prod_cd_mtr` ( `prod_seq` string COMMENT 'None', `prodid` string COMMENT 'None', `prod_nm` string COMMENT 'None', `sale_cd` string COMMENT 'None', `sale2_cd` string COMMENT 'None', `cpid` string COMMENT 'None', `cp_nm` string COMMENT 'None', `svc_seq` string COMMENT 'None', `svc_nm` string COMMENT 'None', `chnl_cd` string COMMENT 'None', `stat_cd` string COMMENT 'None', `age_rstct_cd` string COMMENT 'None', `rlnm_certi_yn` string COMMENT 'None', `rgst_dt` string COMMENT 'None', `use_prd_tp_cd` string COMMENT 'None', `intnl_dvlp_yn` string COMMENT 'None', `org_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "sg_std_indr_endp_sale_sd01", "description": null, "columns": [{"name": "lcls_cd", "type": "string", "description": null}, {"name": "mcls_cd", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}, {"name": "cat1", "type": "string", "description": null}, {"name": "cat2", "type": "string", "description": null}, {"name": "cat3", "type": "string", "description": null}, {"name": "sumry_lv", "type": "bigint", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "mcls_nm", "type": "string", "description": null}, {"name": "org_nm", "type": "string", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "samt_jpy", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "work_dt", "type": "timestamp", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_std_indr_endp_sale_sd01` ( `lcls_cd` string COMMENT 'None', `mcls_cd` string COMMENT 'None', `org_cd` string COMMENT 'None', `cat1` string COMMENT 'None', `cat2` string COMMENT 'None', `cat3` string COMMENT 'None', `sumry_lv` bigint COMMENT 'None', `lcls_nm` string COMMENT 'None', `mcls_nm` string COMMENT 'None', `org_nm` string COMMENT 'None', `pu` bigint COMMENT 'None', `sale_cnt` bigint COMMENT 'None', `samt` double COMMENT 'None', `nsamt` double COMMENT 'None', `samt_jpy` double COMMENT 'None', `work_ymd` string COMMENT 'None', `work_dt` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "db_endp_sale_d01", "description": null, "columns": [{"name": "pay_chnl_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "sale_cd", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "samt_jpy", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`db_endp_sale_d01` ( `pay_chnl_cd` string COMMENT 'None', `userid` string COMMENT 'None', `sale_cd` string COMMENT 'None', `st_cd` string COMMENT 'None', `samt` double COMMENT 'None', `nsamt` double COMMENT 'None', `sale_cnt` bigint COMMENT 'None', `userno` bigint COMMENT 'None', `custno` bigint COMMENT 'None', `samt_jpy` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "db_endp_sale_hist", "description": null, "columns": [{"name": "pay_chnl_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "sale_cd", "type": "string", "description": null}, {"name": "prod_seq", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "custno", "type": "string", "description": null}, {"name": "samt_jpy", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`db_endp_sale_hist` ( `pay_chnl_cd` string COMMENT 'None', `userid` string COMMENT 'None', `sale_cd` string COMMENT 'None', `prod_seq` string COMMENT 'None', `st_cd` string COMMENT 'None', `samt` double COMMENT 'None', `nsamt` double COMMENT 'None', `sale_cnt` bigint COMMENT 'None', `userno` string COMMENT 'None', `custno` string COMMENT 'None', `samt_jpy` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "dg_casino_dup_user_d01", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "po_game_cd", "type": "string", "description": null}, {"name": "hg_userid", "type": "string", "description": null}, {"name": "hg_custno", "type": "bigint", "description": null}, {"name": "hg_userno", "type": "string", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "po_join_dt", "type": "string", "description": null}, {"name": "po_join_prd_cd", "type": "string", "description": null}, {"name": "po_lst_game_dt", "type": "string", "description": null}, {"name": "po_lst_game_prd_cd", "type": "string", "description": null}, {"name": "casino_join_dt", "type": "string", "description": null}, {"name": "casino_join_prd_cd", "type": "string", "description": null}, {"name": "casino_lst_game_dt", "type": "string", "description": null}, {"name": "casino_lst_game_prd_cd", "type": "string", "description": null}, {"name": "cm_pcnt", "type": "bigint", "description": null}, {"name": "tdd_pcnt", "type": "bigint", "description": null}, {"name": "hld_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`dg_casino_dup_user_d01` ( `rep_game_cd` string COMMENT 'None', `po_game_cd` string COMMENT 'None', `hg_userid` string COMMENT 'None', `hg_custno` bigint COMMENT 'None', `hg_userno` string COMMENT 'None', `idp_userno` string COMMENT 'None', `po_join_dt` string COMMENT 'None', `po_join_prd_cd` string COMMENT 'None', `po_lst_game_dt` string COMMENT 'None', `po_lst_game_prd_cd` string COMMENT 'None', `casino_join_dt` string COMMENT 'None', `casino_join_prd_cd` string COMMENT 'None', `casino_lst_game_dt` string COMMENT 'None', `casino_lst_game_prd_cd` string COMMENT 'None', `cm_pcnt` bigint COMMENT 'None', `tdd_pcnt` bigint 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": "poker_cls_dw", "table": "dg_casino_game_hist_d01", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "chnl_cd", "type": "bigint", "description": null}, {"name": "game_type", "type": "bigint", "description": null}, {"name": "bet_pot", "type": "string", "description": null}, {"name": "game_pcnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`dg_casino_game_hist_d01` ( `rep_game_cd` string COMMENT 'None', `game_cd` string COMMENT 'None', `chnl_cd` bigint COMMENT 'None', `game_type` bigint COMMENT 'None', `bet_pot` string COMMENT 'None', `game_pcnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "dg_casino_user_hist", "description": null, "columns": [{"name": "match_no", "type": "bigint", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "chnl_cd", "type": "bigint", "description": null}, {"name": "log_dt", "type": "string", "description": null}, {"name": "bet_pot", "type": "string", "description": null}, {"name": "hand_cnt", "type": "bigint", "description": null}, {"name": "bet_gmony", "type": "bigint", "description": null}, {"name": "win_gmony", "type": "bigint", "description": null}, {"name": "result_gmony", "type": "bigint", "description": null}, {"name": "game_type", "type": "bigint", "description": null}, {"name": "min_bet", "type": "bigint", "description": null}, {"name": "device", "type": "string", "description": null}, {"name": "client_type", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`dg_casino_user_hist` ( `match_no` bigint COMMENT 'None', `userid` string COMMENT 'None', `chnl_cd` bigint COMMENT 'None', `log_dt` string COMMENT 'None', `bet_pot` string COMMENT 'None', `hand_cnt` bigint COMMENT 'None', `bet_gmony` bigint COMMENT 'None', `win_gmony` bigint COMMENT 'None', `result_gmony` bigint COMMENT 'None', `game_type` bigint COMMENT 'None', `min_bet` bigint COMMENT 'None', `device` string COMMENT 'None', `client_type` 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": "poker_cls_dw", "table": "sg_casino_dup_user_sd01", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "po_game_cd", "type": "string", "description": null}, {"name": "whle_dup_ucnt", "type": "bigint", "description": null}, {"name": "tdd_dup_ucnt", "type": "bigint", "description": null}, {"name": "dup_casino_new_ucnt", "type": "bigint", "description": null}, {"name": "mm_cm_dup_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_casino_dup_user_sd01` ( `rep_game_cd` string COMMENT 'None', `po_game_cd` string COMMENT 'None', `whle_dup_ucnt` bigint COMMENT 'None', `tdd_dup_ucnt` bigint COMMENT 'None', `dup_casino_new_ucnt` bigint COMMENT 'None', `mm_cm_dup_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "sg_casino_game_user_sd01", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "chnl_cd", "type": "bigint", "description": null}, {"name": "game_type", "type": "bigint", "description": null}, {"name": "bet_pot", "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": "bet_gmony", "type": "bigint", "description": null}, {"name": "win_gmony", "type": "bigint", "description": null}, {"name": "hand_cnt", "type": "bigint", "description": null}, {"name": "allin_tcnt", "type": "bigint", "description": null}, {"name": "allin_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_casino_game_user_sd01` ( `rep_game_cd` string COMMENT 'None', `game_cd` string COMMENT 'None', `chnl_cd` bigint COMMENT 'None', `game_type` bigint COMMENT 'None', `bet_pot` string COMMENT 'None', `ucnt` bigint COMMENT 'None', `user_pcnt` bigint COMMENT 'None', `game_pcnt` bigint COMMENT 'None', `bet_gmony` bigint COMMENT 'None', `win_gmony` bigint COMMENT 'None', `hand_cnt` bigint COMMENT 'None', `allin_tcnt` bigint COMMENT 'None', `allin_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "sg_casino_hld_mony_sd01", "description": null, "columns": [{"name": "hld_mony", "type": "double", "description": null}, {"name": "win_mony", "type": "double", "description": null}, {"name": "bet_mony", "type": "double", "description": null}, {"name": "jig_mony", "type": "double", "description": null}, {"name": "back_mony", "type": "double", "description": null}, {"name": "stop_mony", "type": "double", "description": null}, {"name": "del_pre_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_casino_hld_mony_sd01` ( `hld_mony` double COMMENT 'None', `win_mony` double COMMENT 'None', `bet_mony` double COMMENT 'None', `jig_mony` double COMMENT 'None', `back_mony` double COMMENT 'None', `stop_mony` double COMMENT 'None', `del_pre_mony` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_dw", "table": "sg_casino_user_hist_d01", "description": null, "columns": [{"name": "work_ymd", "type": "string", "description": null}, {"name": "rep_game_cd", "type": "string", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "allin_ucnt", "type": "bigint", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_casino_user_hist_d01` ( `work_ymd` string COMMENT 'None', `rep_game_cd` string COMMENT 'None', `ucnt` bigint COMMENT 'None', `allin_ucnt` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "poker_cls_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 `poker_cls_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": "poker_cls_dw", "table": "sg_mony_chg_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "out_in_tp_cd", "type": "string", "description": null}, {"name": "mony_cd", "type": "string", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "chg_mony", "type": "double", "description": null}, {"name": "chg_cnt", "type": "bigint", "description": null}, {"name": "mm_cm_ucnt", "type": "bigint", "description": null}, {"name": "mm_cm_chg_mony", "type": "double", "description": null}, {"name": "mm_cm_chg_cnt", "type": "bigint", "description": null}, {"name": "sumry_lv", "type": "bigint", "description": null}, {"name": "gds_tp_cd", "type": "string", "description": null}, {"name": "inflw_chnl_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `poker_cls_dw`.`sg_mony_chg_sd01` ( `game_cd` string COMMENT 'None', `out_in_tp_cd` string COMMENT 'None', `mony_cd` string COMMENT 'None', `ucnt` bigint COMMENT 'None', `chg_mony` double COMMENT 'None', `chg_cnt` bigint COMMENT 'None', `mm_cm_ucnt` bigint COMMENT 'None', `mm_cm_chg_mony` double COMMENT 'None', `mm_cm_chg_cnt` bigint COMMENT 'None', `sumry_lv` bigint COMMENT 'None', `gds_tp_cd` string COMMENT 'None', `inflw_chnl_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );