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'
);
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.