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": "mobile_gssudda_dw", "table": "sg_mbl_gssudda_item_pay_sd01", "description": null, "columns": [{"name": "item_id", "type": "string", "description": null}, {"name": "mony_tp_cd", "type": "string", "description": null}, {"name": "chg_cnt", "type": "bigint", "description": null}, {"name": "chg_amt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `mobile_gssudda_dw`.`sg_mbl_gssudda_item_pay_sd01` (
`item_id` string COMMENT 'None',
`mony_tp_cd` string COMMENT 'None',
`chg_cnt` bigint COMMENT 'None',
`chg_amt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "mobile_gssudda_dw", "table": "sg_mbl_gssudda_mssn_sd01", "description": null, "columns": [{"name": "mssn_tp_cd", "type": "string", "description": null}, {"name": "mssn_nm", "type": "string", "description": null}, {"name": "rwd_knd_cd", "type": "string", "description": null}, {"name": "cmpl_ucnt", "type": "bigint", "description": null}, {"name": "cmpl_tcnt", "type": "bigint", "description": null}, {"name": "out_rwd_qty", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `mobile_gssudda_dw`.`sg_mbl_gssudda_mssn_sd01` (
`mssn_tp_cd` string COMMENT 'None',
`mssn_nm` string COMMENT 'None',
`rwd_knd_cd` string COMMENT 'None',
`cmpl_ucnt` bigint COMMENT 'None',
`cmpl_tcnt` bigint COMMENT 'None',
`out_rwd_qty` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "mobile_gssudda_dw", "table": "sg_mbl_gssudda_rstct_user_sd01", "description": null, "columns": [{"name": "ucnt", "type": "bigint", "description": null}, {"name": "cust_cnt", "type": "bigint", "description": null}, {"name": "act_ucnt", "type": "bigint", "description": null}, {"name": "ret_cust_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `mobile_gssudda_dw`.`sg_mbl_gssudda_rstct_user_sd01` (
`ucnt` bigint COMMENT 'None',
`cust_cnt` bigint COMMENT 'None',
`act_ucnt` bigint COMMENT 'None',
`ret_cust_cnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_dw", "table": "sg_mblg_item_hld_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "bigint", "description": null}, {"name": "act_user_yn", "type": "string", "description": null}, {"name": "item_tp_cd", "type": "string", "description": null}, {"name": "item_id", "type": "string", "description": null}, {"name": "hld_cnt", "type": "bigint", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "ltr_etc2", "type": "string", "description": null}, {"name": "num_etc2", "type": "bigint", "description": null}, {"name": "svr_id", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "ltr_etc3", "type": "string", "description": null}, {"name": "ltr_etc4", "type": "string", "description": null}, {"name": "ltr_etc5", "type": "string", "description": null}, {"name": "ltr_etc6", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `mobile_gssudda_dw`.`sg_mblg_item_hld_sd01` (
`game_cd` string COMMENT 'None',
`game_grd_cd` bigint COMMENT 'None',
`act_user_yn` string COMMENT 'None',
`item_tp_cd` string COMMENT 'None',
`item_id` string COMMENT 'None',
`hld_cnt` bigint COMMENT 'None',
`num_etc1` bigint COMMENT 'None',
`ltr_etc1` string COMMENT 'None',
`ltr_etc2` string COMMENT 'None',
`num_etc2` bigint COMMENT 'None',
`svr_id` string COMMENT 'None',
`os_cd` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`ltr_etc3` string COMMENT 'None',
`ltr_etc4` string COMMENT 'None',
`ltr_etc5` string COMMENT 'None',
`ltr_etc6` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_dw", "table": "sg_po_rstct_user_sd01", "description": null, "columns": [{"name": "ucnt", "type": "bigint", "description": null}, {"name": "cust_cnt", "type": "bigint", "description": null}, {"name": "act_ucnt", "type": "bigint", "description": null}, {"name": "ret_ucnt", "type": "bigint", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "tdd_rstct_cnt", "type": "bigint", "description": null}, {"name": "los_rstct_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `mobile_gssudda_dw`.`sg_po_rstct_user_sd01` (
`ucnt` bigint COMMENT 'None',
`cust_cnt` bigint COMMENT 'None',
`act_ucnt` bigint COMMENT 'None',
`ret_ucnt` bigint COMMENT 'None',
`game_cd` string COMMENT 'None',
`tdd_rstct_cnt` bigint COMMENT 'None',
`los_rstct_mony` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "mobile_gssudda_dw", "table": "sg_po_rstct_user_sd02", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "los_rstct_mony", "type": "double", "description": null}, {"name": "user_rstct_cnt", "type": "bigint", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `mobile_gssudda_dw`.`sg_po_rstct_user_sd02` (
`game_cd` string COMMENT 'None',
`los_rstct_mony` double COMMENT 'None',
`user_rstct_cnt` bigint COMMENT 'None',
`ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "mobile_gssudda_dw", "table": "sg_std_indr_game_pu_sd01", "description": null, "columns": [{"name": "lcls_cd", "type": "string", "description": null}, {"name": "mcls_cd", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "mcls_nm", "type": "string", "description": null}, {"name": "game_nm", "type": "string", "description": null}, {"name": "uv", "type": "bigint", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "pu_uv", "type": "bigint", "description": null}, {"name": "mm_cm_uv", "type": "bigint", "description": null}, {"name": "mm_cm_pu", "type": "bigint", "description": null}, {"name": "mm_cm_pu_uv", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `mobile_gssudda_dw`.`sg_std_indr_game_pu_sd01` (
`lcls_cd` string COMMENT 'None',
`mcls_cd` string COMMENT 'None',
`org_cd` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`lcls_nm` string COMMENT 'None',
`mcls_nm` string COMMENT 'None',
`game_nm` string COMMENT 'None',
`uv` bigint COMMENT 'None',
`pu` bigint COMMENT 'None',
`pu_uv` bigint COMMENT 'None',
`mm_cm_uv` bigint COMMENT 'None',
`mm_cm_pu` bigint COMMENT 'None',
`mm_cm_pu_uv` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_dw", "table": "dg_game_mm_user_m01", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "new_join_yn", "type": "string", "description": null}, {"name": "mm_user_pcnt", "type": "bigint", "description": null}, {"name": "mm_vst_dcnt", "type": "bigint", "description": null}, {"name": "mm_ptm", "type": "double", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "work_ym", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `mobile_gssudda_dw`.`dg_game_mm_user_m01` (
`userno` string COMMENT 'None',
`new_join_yn` string COMMENT 'None',
`mm_user_pcnt` bigint COMMENT 'None',
`mm_vst_dcnt` bigint COMMENT 'None',
`mm_ptm` double COMMENT 'None',
`ltr_etc1` string COMMENT 'None',
`userid` string COMMENT 'None',
`work_ym` string COMMENT 'None',
`game_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_dw", "table": "sg_std_indr_sm01", "description": null, "columns": [{"name": "lcls_cd", "type": "string", "description": null}, {"name": "mcls_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "mcls_nm", "type": "string", "description": null}, {"name": "game_nm", "type": "string", "description": null}, {"name": "mm_ucnt", "type": "bigint", "description": null}, {"name": "cntnu_ucnt", "type": "bigint", "description": null}, {"name": "secd_ucnt", "type": "bigint", "description": null}, {"name": "cmbck_ucnt", "type": "bigint", "description": null}, {"name": "vst_dcnt", "type": "bigint", "description": null}, {"name": "prncp_certi_yn", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `mobile_gssudda_dw`.`sg_std_indr_sm01` (
`lcls_cd` string COMMENT 'None',
`mcls_cd` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`org_cd` string COMMENT 'None',
`lcls_nm` string COMMENT 'None',
`mcls_nm` string COMMENT 'None',
`game_nm` string COMMENT 'None',
`mm_ucnt` bigint COMMENT 'None',
`cntnu_ucnt` bigint COMMENT 'None',
`secd_ucnt` bigint COMMENT 'None',
`cmbck_ucnt` bigint COMMENT 'None',
`vst_dcnt` bigint COMMENT 'None',
`prncp_certi_yn` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`os_cd` string COMMENT 'None',
`ltr_etc1` string COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_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 `mobile_gssudda_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": "mobile_gssudda_dw", "table": "dg_mblg_game_mket_hist", "description": null, "columns": [{"name": "seq", "type": "string", "description": null}, {"name": "chnl_nm", "type": "string", "description": null}, {"name": "svr_no", "type": "bigint", "description": null}, {"name": "room_no", "type": "bigint", "description": null}, {"name": "scr_per_gmony", "type": "bigint", "description": null}, {"name": "plyr_cnt", "type": "bigint", "description": null}, {"name": "strt_dt", "type": "string", "description": null}, {"name": "end_dt", "type": "string", "description": null}, {"name": "ptm_ss", "type": "double", "description": null}, {"name": "game_mode", "type": "string", "description": null}, {"name": "dealr_mony", "type": "bigint", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "game_knd_cd", "type": "bigint", "description": null}, {"name": "jackpot_mony", "type": "bigint", "description": null}, {"name": "jackpot_pcnt", "type": "bigint", "description": null}, {"name": "market_code", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `mobile_gssudda_dw`.`dg_mblg_game_mket_hist` (
`seq` string COMMENT 'None',
`chnl_nm` string COMMENT 'None',
`svr_no` bigint COMMENT 'None',
`room_no` bigint COMMENT 'None',
`scr_per_gmony` bigint COMMENT 'None',
`plyr_cnt` bigint COMMENT 'None',
`strt_dt` string COMMENT 'None',
`end_dt` string COMMENT 'None',
`ptm_ss` double COMMENT 'None',
`game_mode` string COMMENT 'None',
`dealr_mony` bigint COMMENT 'None',
`chnl_id` string COMMENT 'None',
`ltr_etc1` string COMMENT 'None',
`game_knd_cd` bigint COMMENT 'None',
`jackpot_mony` bigint COMMENT 'None',
`jackpot_pcnt` bigint COMMENT 'None',
`market_code` 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": "mobile_gssudda_dw", "table": "dg_mblg_user_mket_hist", "description": null, "columns": [{"name": "seq", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "chnl_nm", "type": "string", "description": null}, {"name": "plyr_cnt", "type": "bigint", "description": null}, {"name": "ptm_ss", "type": "double", "description": null}, {"name": "room_bos_yn", "type": "string", "description": null}, {"name": "bef_gmony", "type": "bigint", "description": null}, {"name": "aft_gmony", "type": "bigint", "description": null}, {"name": "chg_mony", "type": "bigint", "description": null}, {"name": "bef_engy", "type": "bigint", "description": null}, {"name": "aft_engy", "type": "bigint", "description": null}, {"name": "chg_engy", "type": "bigint", "description": null}, {"name": "bef_coin", "type": "bigint", "description": null}, {"name": "aft_coin", "type": "bigint", "description": null}, {"name": "chg_coin", "type": "bigint", "description": null}, {"name": "evnt_mony", "type": "bigint", "description": null}, {"name": "evnt_coin", "type": "bigint", "description": null}, {"name": "rnk", "type": "bigint", "description": null}, {"name": "scr", "type": "bigint", "description": null}, {"name": "log_dt", "type": "string", "description": null}, {"name": "game_info", "type": "string", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "num_etc2", "type": "double", "description": null}, {"name": "game_mode", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "game_knd_cd", "type": "bigint", "description": null}, {"name": "market_code", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `mobile_gssudda_dw`.`dg_mblg_user_mket_hist` (
`seq` string COMMENT 'None',
`userno` string COMMENT 'None',
`st_cd` string COMMENT 'None',
`chnl_nm` string COMMENT 'None',
`plyr_cnt` bigint COMMENT 'None',
`ptm_ss` double COMMENT 'None',
`room_bos_yn` string COMMENT 'None',
`bef_gmony` bigint COMMENT 'None',
`aft_gmony` bigint COMMENT 'None',
`chg_mony` bigint COMMENT 'None',
`bef_engy` bigint COMMENT 'None',
`aft_engy` bigint COMMENT 'None',
`chg_engy` bigint COMMENT 'None',
`bef_coin` bigint COMMENT 'None',
`aft_coin` bigint COMMENT 'None',
`chg_coin` bigint COMMENT 'None',
`evnt_mony` bigint COMMENT 'None',
`evnt_coin` bigint COMMENT 'None',
`rnk` bigint COMMENT 'None',
`scr` bigint COMMENT 'None',
`log_dt` string COMMENT 'None',
`game_info` string COMMENT 'None',
`chnl_id` string COMMENT 'None',
`num_etc1` bigint COMMENT 'None',
`num_etc2` double COMMENT 'None',
`game_mode` string COMMENT 'None',
`ci` string COMMENT 'None',
`game_knd_cd` bigint COMMENT 'None',
`market_code` 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": "mobile_gssudda_dw", "table": "sg_mblg_game_mket_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": "market_code", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `mobile_gssudda_dw`.`sg_mblg_game_mket_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',
`market_code` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "mobile_gssudda_dw", "table": "sg_mblg_game_mket_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": "market_code", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `mobile_gssudda_dw`.`sg_mblg_game_mket_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',
`market_code` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dc_evnt_mony_out_hist", "description": null, "columns": [{"name": "log_dt", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "chnlid", "type": "string", "description": null}, {"name": "evnt_cd", "type": "bigint", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "mony_cd", "type": "string", "description": null}, {"name": "inflw_chnl_cd", "type": "string", "description": null}, {"name": "out_mony", "type": "double", "description": null}, {"name": "src_acnt_nm", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dc_evnt_mony_out_hist` (
`log_dt` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`chnlid` string COMMENT 'None',
`evnt_cd` bigint COMMENT 'None',
`userid` string COMMENT 'None',
`mony_cd` string COMMENT 'None',
`inflw_chnl_cd` string COMMENT 'None',
`out_mony` double COMMENT 'None',
`src_acnt_nm` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_game_user_d01", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "join_prd_cd", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "lst_game_prd_cd", "type": "string", "description": null}, {"name": "bdd_lst_game_prd_cd", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "hld_mony", "type": "double", "description": null}, {"name": "gmony1", "type": "double", "description": null}, {"name": "gmony2", "type": "double", "description": null}, {"name": "gmony3", "type": "double", "description": null}, {"name": "gmony4", "type": "double", "description": null}, {"name": "chg_gmony", "type": "double", "description": null}, {"name": "cm_pcnt", "type": "bigint", "description": null}, {"name": "cm_win_pcnt", "type": "bigint", "description": null}, {"name": "cm_los_pcnt", "type": "bigint", "description": null}, {"name": "cm_drw_pcnt", "type": "bigint", "description": null}, {"name": "tdd_pcnt", "type": "bigint", "description": null}, {"name": "tdd_pcnt_secn_cd", "type": "string", "description": null}, {"name": "tdd_win_pcnt", "type": "bigint", "description": null}, {"name": "tdd_los_pcnt", "type": "bigint", "description": null}, {"name": "tdd_drw_pcnt", "type": "bigint", "description": null}, {"name": "cm_ptm", "type": "double", "description": null}, {"name": "tdd_ptm", "type": "double", "description": null}, {"name": "tdd_ptm_secn_cd", "type": "string", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "ltr_etc2", "type": "string", "description": null}, {"name": "ltr_etc3", "type": "string", "description": null}, {"name": "ltr_etc4", "type": "string", "description": null}, {"name": "ltr_etc5", "type": "string", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "num_etc2", "type": "bigint", "description": null}, {"name": "num_etc3", "type": "bigint", "description": null}, {"name": "num_etc4", "type": "bigint", "description": null}, {"name": "num_etc5", "type": "bigint", "description": null}, {"name": "num_etc6", "type": "bigint", "description": null}, {"name": "num_etc7", "type": "bigint", "description": null}, {"name": "num_etc8", "type": "bigint", "description": null}, {"name": "num_etc9", "type": "bigint", "description": null}, {"name": "num_etc10", "type": "bigint", "description": null}, {"name": "num_etc11", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "client_type", "type": "bigint", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_game_user_d01` (
`userno` string COMMENT 'None',
`userid` string COMMENT 'None',
`st_cd` string COMMENT 'None',
`custno` bigint COMMENT 'None',
`ci` string COMMENT 'None',
`join_dt` string COMMENT 'None',
`join_prd_cd` string COMMENT 'None',
`lst_game_dt` string COMMENT 'None',
`lst_game_prd_cd` string COMMENT 'None',
`bdd_lst_game_prd_cd` string COMMENT 'None',
`game_grd_cd` string COMMENT 'None',
`hld_mony` double COMMENT 'None',
`gmony1` double COMMENT 'None',
`gmony2` double COMMENT 'None',
`gmony3` double COMMENT 'None',
`gmony4` double COMMENT 'None',
`chg_gmony` double COMMENT 'None',
`cm_pcnt` bigint COMMENT 'None',
`cm_win_pcnt` bigint COMMENT 'None',
`cm_los_pcnt` bigint COMMENT 'None',
`cm_drw_pcnt` bigint COMMENT 'None',
`tdd_pcnt` bigint COMMENT 'None',
`tdd_pcnt_secn_cd` string COMMENT 'None',
`tdd_win_pcnt` bigint COMMENT 'None',
`tdd_los_pcnt` bigint COMMENT 'None',
`tdd_drw_pcnt` bigint COMMENT 'None',
`cm_ptm` double COMMENT 'None',
`tdd_ptm` double COMMENT 'None',
`tdd_ptm_secn_cd` string COMMENT 'None',
`ltr_etc1` string COMMENT 'None',
`ltr_etc2` string COMMENT 'None',
`ltr_etc3` string COMMENT 'None',
`ltr_etc4` string COMMENT 'None',
`ltr_etc5` string COMMENT 'None',
`num_etc1` bigint COMMENT 'None',
`num_etc2` bigint COMMENT 'None',
`num_etc3` bigint COMMENT 'None',
`num_etc4` bigint COMMENT 'None',
`num_etc5` bigint COMMENT 'None',
`num_etc6` bigint COMMENT 'None',
`num_etc7` bigint COMMENT 'None',
`num_etc8` bigint COMMENT 'None',
`num_etc9` bigint COMMENT 'None',
`num_etc10` bigint COMMENT 'None',
`num_etc11` bigint COMMENT 'None',
`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": "pc_poker_dw", "table": "dg_game_user_d01_mblg", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "hg_userid", "type": "string", "description": null}, {"name": "hg_userno", "type": "bigint", "description": null}, {"name": "hgid_mapng_yn", "type": "string", "description": null}, {"name": "age_cd", "type": "string", "description": null}, {"name": "age_zn_cd", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "join_prd_cd", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "lst_game_prd_cd", "type": "string", "description": null}, {"name": "bdd_lst_game_prd_cd", "type": "string", "description": null}, {"name": "lst_gameno", "type": "bigint", "description": null}, {"name": "tdd_ptm", "type": "bigint", "description": null}, {"name": "tdd_conn_tcnt", "type": "bigint", "description": null}, {"name": "mket_cd", "type": "string", "description": null}, {"name": "mket_nm", "type": "string", "description": null}, {"name": "lst_game_dcnt", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "dev_key", "type": "string", "description": null}, {"name": "dev_mdl", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "adid", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "idp_fst_mapng_dt", "type": "string", "description": null}, {"name": "w1_dmnc_cmbck_ymd", "type": "string", "description": null}, {"name": "w4_dmnc_cmbck_ymd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_game_user_d01_mblg` (
`userno` string COMMENT 'None',
`hg_userid` string COMMENT 'None',
`hg_userno` bigint COMMENT 'None',
`hgid_mapng_yn` string COMMENT 'None',
`age_cd` string COMMENT 'None',
`age_zn_cd` string COMMENT 'None',
`sex_cd` string COMMENT 'None',
`join_dt` string COMMENT 'None',
`join_prd_cd` string COMMENT 'None',
`lst_game_dt` string COMMENT 'None',
`lst_game_prd_cd` string COMMENT 'None',
`bdd_lst_game_prd_cd` string COMMENT 'None',
`lst_gameno` bigint COMMENT 'None',
`tdd_ptm` bigint COMMENT 'None',
`tdd_conn_tcnt` bigint COMMENT 'None',
`mket_cd` string COMMENT 'None',
`mket_nm` string COMMENT 'None',
`lst_game_dcnt` bigint COMMENT 'None',
`nat_cd` string COMMENT 'None',
`dev_key` string COMMENT 'None',
`dev_mdl` string COMMENT 'None',
`st_cd` string COMMENT 'None',
`num_etc1` bigint COMMENT 'None',
`idp_userno` string COMMENT 'None',
`game_grd_cd` string COMMENT 'None',
`idp_cd` string COMMENT 'None',
`adid` string COMMENT 'None',
`os_cd` string COMMENT 'None',
`idp_fst_mapng_dt` string COMMENT 'None',
`w1_dmnc_cmbck_ymd` string COMMENT 'None',
`w4_dmnc_cmbck_ymd` string COMMENT 'None',
`work_ymd` string COMMENT 'None',
`game_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_mblg_game_hist", "description": null, "columns": [{"name": "seq", "type": "string", "description": null}, {"name": "chnl_nm", "type": "string", "description": null}, {"name": "svr_no", "type": "bigint", "description": null}, {"name": "room_no", "type": "bigint", "description": null}, {"name": "scr_per_gmony", "type": "bigint", "description": null}, {"name": "plyr_cnt", "type": "bigint", "description": null}, {"name": "strt_dt", "type": "string", "description": null}, {"name": "end_dt", "type": "string", "description": null}, {"name": "ptm_ss", "type": "double", "description": null}, {"name": "game_mode", "type": "string", "description": null}, {"name": "dealr_mony", "type": "bigint", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "game_knd_cd", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_mblg_game_hist` (
`seq` string COMMENT 'None',
`chnl_nm` string COMMENT 'None',
`svr_no` bigint COMMENT 'None',
`room_no` bigint COMMENT 'None',
`scr_per_gmony` bigint COMMENT 'None',
`plyr_cnt` bigint COMMENT 'None',
`strt_dt` string COMMENT 'None',
`end_dt` string COMMENT 'None',
`ptm_ss` double COMMENT 'None',
`game_mode` string COMMENT 'None',
`dealr_mony` bigint COMMENT 'None',
`chnl_id` string COMMENT 'None',
`ltr_etc1` string COMMENT 'None',
`game_knd_cd` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None',
`game_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_mblg_game_user_d01", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "hg_userid", "type": "string", "description": null}, {"name": "sngl_game_use_yn", "type": "string", "description": null}, {"name": "game_grd_tp_cd", "type": "string", "description": null}, {"name": "rat_join_dt", "type": "string", "description": null}, {"name": "join_prd_cd", "type": "string", "description": null}, {"name": "rat_lst_game_dt", "type": "string", "description": null}, {"name": "lst_game_prd_cd", "type": "string", "description": null}, {"name": "pcnt_secn_cd", "type": "string", "description": null}, {"name": "ptm_secn_cd", "type": "string", "description": null}, {"name": "cm_pcnt", "type": "bigint", "description": null}, {"name": "cm_win_pcnt", "type": "bigint", "description": null}, {"name": "cm_sngl_pcnt", "type": "bigint", "description": null}, {"name": "tdd_pcnt", "type": "bigint", "description": null}, {"name": "tdd_sngl_pcnt", "type": "bigint", "description": null}, {"name": "cm_ptm", "type": "double", "description": null}, {"name": "tdd_ptm", "type": "double", "description": null}, {"name": "mony", "type": "bigint", "description": null}, {"name": "coin", "type": "bigint", "description": null}, {"name": "fchg_mony", "type": "bigint", "description": null}, {"name": "fchg_coin", "type": "bigint", "description": null}, {"name": "invt_inflw_yn", "type": "string", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "ltr_etc2", "type": "string", "description": null}, {"name": "ltr_etc3", "type": "string", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "num_etc2", "type": "bigint", "description": null}, {"name": "num_etc3", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "del_appl_ver", "type": "string", "description": null}, {"name": "del_os_cd", "type": "string", "description": null}, {"name": "del_os_ver", "type": "string", "description": null}, {"name": "del_dev_key", "type": "string", "description": null}, {"name": "del_dev_mdl", "type": "string", "description": null}, {"name": "del_mket_cd", "type": "string", "description": null}, {"name": "del_lst_login_dt", "type": "string", "description": null}, {"name": "del_login_cnt", "type": "bigint", "description": null}, {"name": "ltr_etc4", "type": "string", "description": null}, {"name": "num_etc4", "type": "bigint", "description": null}, {"name": "ltr_etc5", "type": "string", "description": null}, {"name": "ltr_etc6", "type": "string", "description": null}, {"name": "num_etc5", "type": "bigint", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "num_etc6", "type": "bigint", "description": null}, {"name": "num_etc7", "type": "bigint", "description": null}, {"name": "num_etc8", "type": "bigint", "description": null}, {"name": "ltr_etc7", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "ltr_etc8", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_mblg_game_user_d01` (
`userno` string COMMENT 'None',
`st_cd` string COMMENT 'None',
`hg_userid` string COMMENT 'None',
`sngl_game_use_yn` string COMMENT 'None',
`game_grd_tp_cd` string COMMENT 'None',
`rat_join_dt` string COMMENT 'None',
`join_prd_cd` string COMMENT 'None',
`rat_lst_game_dt` string COMMENT 'None',
`lst_game_prd_cd` string COMMENT 'None',
`pcnt_secn_cd` string COMMENT 'None',
`ptm_secn_cd` string COMMENT 'None',
`cm_pcnt` bigint COMMENT 'None',
`cm_win_pcnt` bigint COMMENT 'None',
`cm_sngl_pcnt` bigint COMMENT 'None',
`tdd_pcnt` bigint COMMENT 'None',
`tdd_sngl_pcnt` bigint COMMENT 'None',
`cm_ptm` double COMMENT 'None',
`tdd_ptm` double COMMENT 'None',
`mony` bigint COMMENT 'None',
`coin` bigint COMMENT 'None',
`fchg_mony` bigint COMMENT 'None',
`fchg_coin` bigint COMMENT 'None',
`invt_inflw_yn` string COMMENT 'None',
`ltr_etc1` string COMMENT 'None',
`ltr_etc2` string COMMENT 'None',
`ltr_etc3` string COMMENT 'None',
`num_etc1` bigint COMMENT 'None',
`num_etc2` bigint COMMENT 'None',
`num_etc3` bigint COMMENT 'None',
`nat_cd` string COMMENT 'None',
`del_appl_ver` string COMMENT 'None',
`del_os_cd` string COMMENT 'None',
`del_os_ver` string COMMENT 'None',
`del_dev_key` string COMMENT 'None',
`del_dev_mdl` string COMMENT 'None',
`del_mket_cd` string COMMENT 'None',
`del_lst_login_dt` string COMMENT 'None',
`del_login_cnt` bigint COMMENT 'None',
`ltr_etc4` string COMMENT 'None',
`num_etc4` bigint COMMENT 'None',
`ltr_etc5` string COMMENT 'None',
`ltr_etc6` string COMMENT 'None',
`num_etc5` bigint COMMENT 'None',
`ci` string COMMENT 'None',
`num_etc6` bigint COMMENT 'None',
`num_etc7` bigint COMMENT 'None',
`num_etc8` bigint COMMENT 'None',
`ltr_etc7` string COMMENT 'None',
`work_ymd` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`ltr_etc8` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_mblg_item_hld_mtr", "description": null, "columns": [{"name": "st_cd", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "item_id", "type": "string", "description": null}, {"name": "item_tp_cd", "type": "string", "description": null}, {"name": "hld_cnt", "type": "bigint", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "ltr_etc2", "type": "string", "description": null}, {"name": "num_etc2", "type": "bigint", "description": null}, {"name": "svr_id", "type": "string", "description": null}, {"name": "ltr_etc3", "type": "string", "description": null}, {"name": "ltr_etc4", "type": "string", "description": null}, {"name": "ltr_etc5", "type": "string", "description": null}, {"name": "ltr_etc6", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_mblg_item_hld_mtr` (
`st_cd` string COMMENT 'None',
`userno` string COMMENT 'None',
`item_id` string COMMENT 'None',
`item_tp_cd` string COMMENT 'None',
`hld_cnt` bigint COMMENT 'None',
`ltr_etc1` string COMMENT 'None',
`num_etc1` bigint COMMENT 'None',
`ltr_etc2` string COMMENT 'None',
`num_etc2` bigint COMMENT 'None',
`svr_id` string COMMENT 'None',
`ltr_etc3` string COMMENT 'None',
`ltr_etc4` string COMMENT 'None',
`ltr_etc5` string COMMENT 'None',
`ltr_etc6` string COMMENT 'None',
`game_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_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 `pc_poker_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": "pc_poker_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 `pc_poker_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": "pc_poker_dw", "table": "dg_mblg_user_hist", "description": null, "columns": [{"name": "seq", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "chnl_nm", "type": "string", "description": null}, {"name": "plyr_cnt", "type": "bigint", "description": null}, {"name": "ptm_ss", "type": "double", "description": null}, {"name": "room_bos_yn", "type": "string", "description": null}, {"name": "bef_gmony", "type": "bigint", "description": null}, {"name": "aft_gmony", "type": "bigint", "description": null}, {"name": "chg_mony", "type": "bigint", "description": null}, {"name": "bef_engy", "type": "bigint", "description": null}, {"name": "aft_engy", "type": "bigint", "description": null}, {"name": "chg_engy", "type": "bigint", "description": null}, {"name": "bef_coin", "type": "bigint", "description": null}, {"name": "aft_coin", "type": "bigint", "description": null}, {"name": "chg_coin", "type": "bigint", "description": null}, {"name": "evnt_mony", "type": "bigint", "description": null}, {"name": "evnt_coin", "type": "bigint", "description": null}, {"name": "rnk", "type": "bigint", "description": null}, {"name": "scr", "type": "bigint", "description": null}, {"name": "log_dt", "type": "string", "description": null}, {"name": "game_info", "type": "string", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "num_etc2", "type": "double", "description": null}, {"name": "game_mode", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "game_knd_cd", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_mblg_user_hist` (
`seq` string COMMENT 'None',
`userno` string COMMENT 'None',
`st_cd` string COMMENT 'None',
`chnl_nm` string COMMENT 'None',
`plyr_cnt` bigint COMMENT 'None',
`ptm_ss` double COMMENT 'None',
`room_bos_yn` string COMMENT 'None',
`bef_gmony` bigint COMMENT 'None',
`aft_gmony` bigint COMMENT 'None',
`chg_mony` bigint COMMENT 'None',
`bef_engy` bigint COMMENT 'None',
`aft_engy` bigint COMMENT 'None',
`chg_engy` bigint COMMENT 'None',
`bef_coin` bigint COMMENT 'None',
`aft_coin` bigint COMMENT 'None',
`chg_coin` bigint COMMENT 'None',
`evnt_mony` bigint COMMENT 'None',
`evnt_coin` bigint COMMENT 'None',
`rnk` bigint COMMENT 'None',
`scr` bigint COMMENT 'None',
`log_dt` string COMMENT 'None',
`game_info` string COMMENT 'None',
`chnl_id` string COMMENT 'None',
`num_etc1` bigint COMMENT 'None',
`num_etc2` double COMMENT 'None',
`game_mode` string COMMENT 'None',
`ci` string COMMENT 'None',
`game_knd_cd` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None',
`game_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_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 `pc_poker_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": "pc_poker_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 `pc_poker_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": "pc_poker_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 `pc_poker_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": "pc_poker_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 `pc_poker_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": "pc_poker_dw", "table": "dg_po_game_hist", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": "nvl(matchno, seq)"}, {"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": "validcode"}, {"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": "rststring"}, {"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 `pc_poker_dw`.`dg_po_game_hist` (
`seq` bigint COMMENT 'nvl(matchno, seq)',
`chnl_id` string COMMENT 'None',
`room_id` bigint COMMENT 'None',
`scrt_room_yn` string COMMENT 'None',
`vld_yn` string COMMENT 'validcode',
`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 'null',
`atmt_bet_rule_cd` string COMMENT 'None',
`game_info` string COMMENT 'rststring',
`ptm_ss` bigint COMMENT 'None',
`chnl_cd` string COMMENT 'None',
`ltr_etc1` string COMMENT 'null',
`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": "pc_poker_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 `pc_poker_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": "pc_poker_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 `pc_poker_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": "pc_poker_dw", "table": "dg_po_rnk_hist", "description": null, "columns": [{"name": "user_id", "type": "string", "description": null}, {"name": "rnk_no", "type": "bigint", "description": null}, {"name": "use_mony", "type": "double", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "get_pnt", "type": "bigint", "description": null}, {"name": "exht_pnt", "type": "bigint", "description": null}, {"name": "canc_in_pnt", "type": "bigint", "description": null}, {"name": "reg_out_pnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_po_rnk_hist` (
`user_id` string COMMENT 'None',
`rnk_no` bigint COMMENT 'None',
`use_mony` double COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`get_pnt` bigint COMMENT 'None',
`exht_pnt` bigint COMMENT 'None',
`canc_in_pnt` bigint COMMENT 'None',
`reg_out_pnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_po_rnk_user_d01", "description": null, "columns": [{"name": "user_id", "type": "string", "description": null}, {"name": "rnk_no", "type": "bigint", "description": null}, {"name": "rnk_prpt_yn", "type": "string", "description": null}, {"name": "lst_prpt_chnl_id", "type": "string", "description": null}, {"name": "pnt", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "game_mony", "type": "double", "description": null}, {"name": "rnk_aply_dt", "type": "string", "description": null}, {"name": "evnt_cd", "type": "bigint", "description": null}, {"name": "lst_mod_dt", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_po_rnk_user_d01` (
`user_id` string COMMENT 'None',
`rnk_no` bigint COMMENT 'None',
`rnk_prpt_yn` string COMMENT 'None',
`lst_prpt_chnl_id` string COMMENT 'None',
`pnt` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`game_mony` double COMMENT 'None',
`rnk_aply_dt` string COMMENT 'None',
`evnt_cd` bigint COMMENT 'None',
`lst_mod_dt` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_po_rstct_user_d01", "description": null, "columns": [{"name": "userid", "type": "string", "description": "μ μ μμ΄λ\t\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": null}, {"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 `pc_poker_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 'None',
`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": "pc_poker_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 `pc_poker_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": "pc_poker_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 `pc_poker_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": "pc_poker_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 `pc_poker_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": "pc_poker_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 `pc_poker_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": "pc_poker_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 `pc_poker_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": "pc_poker_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": ""}, {"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": ""}, {"name": "bef_game_grd_nm", "type": "string", "description": ""}, {"name": "bef_gmony", "type": "double", "description": ""}, {"name": "chg_gmony", "type": "double", "description": ""}, {"name": "aft_gmony", "type": "double", "description": ""}, {"name": "chnc_use_yn", "type": "string", "description": ""}, {"name": "evnt_mony", "type": "double", "description": ""}, {"name": "ip", "type": "string", "description": ""}, {"name": "locl_ip", "type": "string", "description": ""}, {"name": "mac", "type": "string", "description": ""}, {"name": "card_info", "type": "string", "description": ""}, {"name": "bet_info", "type": "string", "description": null}, {"name": "multi_conn_yn", "type": "string", "description": ""}, {"name": "hkng_yn", "type": "string", "description": ""}, {"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": ""}, {"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 `pc_poker_dw`.`dg_po_user_hist` (
`seq` bigint COMMENT 'None',
`userid` string COMMENT 'None',
`chnl_cd` string COMMENT '',
`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 '',
`bef_game_grd_nm` string COMMENT '',
`bef_gmony` double COMMENT '',
`chg_gmony` double COMMENT '',
`aft_gmony` double COMMENT '',
`chnc_use_yn` string COMMENT '',
`evnt_mony` double COMMENT '',
`ip` string COMMENT '',
`locl_ip` string COMMENT '',
`mac` string COMMENT '',
`card_info` string COMMENT '',
`bet_info` string COMMENT 'None',
`multi_conn_yn` string COMMENT '',
`hkng_yn` string COMMENT '',
`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 '',
`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": "pc_poker_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 `pc_poker_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": "pc_poker_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}, {"name": "is_opponent_v1", "type": "string", "description": null}, {"name": "room_ent_dt", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_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',
`is_opponent_v1` string COMMENT 'None',
`room_ent_dt` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_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}, {"name": "room_ent_dt", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_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',
`room_ent_dt` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_po_game_user_sd03", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "uv", "type": "bigint", "description": null}, {"name": "uvc", "type": "bigint", "description": null}, {"name": "mm_cm_uv", "type": "bigint", "description": null}, {"name": "mm_cm_uvc", "type": "bigint", "description": null}, {"name": "upr_chnl_uv", "type": "bigint", "description": null}, {"name": "lwr_chnl_uv", "type": "bigint", "description": null}, {"name": "upr_grd_uv", "type": "bigint", "description": null}, {"name": "lwr_grd_uv", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "win_mony", "type": "double", "description": null}, {"name": "los_mony", "type": "double", "description": null}, {"name": "allin_tcnt", "type": "bigint", "description": null}, {"name": "game_pcnt", "type": "bigint", "description": null}, {"name": "dealr_mony", "type": "double", "description": null}, {"name": "mm_cm_user_pcnt", "type": "bigint", "description": null}, {"name": "mm_cm_win_mony", "type": "double", "description": null}, {"name": "mm_cm_los_mony", "type": "double", "description": null}, {"name": "mm_cm_game_pcnt", "type": "bigint", "description": null}, {"name": "mm_cm_dealr_mony", "type": "double", "description": null}, {"name": "gmony", "type": "double", "description": null}, {"name": "web_chag_mony", "type": "double", "description": null}, {"name": "cm_insu_mony", "type": "double", "description": null}, {"name": "out_insu_mony", "type": "double", "description": null}, {"name": "crncy_amt", "type": "double", "description": null}, {"name": "uv_crncy_amt", "type": "double", "description": null}, {"name": "stop_mony", "type": "double", "description": null}, {"name": "del_pre_mony", "type": "double", "description": null}, {"name": "out_mony", "type": "double", "description": null}, {"name": "in_mony", "type": "double", "description": null}, {"name": "mm_cm_out_mony", "type": "double", "description": null}, {"name": "mm_cm_in_mony", "type": "double", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "puc", "type": "bigint", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "mm_cm_pu", "type": "bigint", "description": null}, {"name": "mm_cm_puc", "type": "bigint", "description": null}, {"name": "mm_cm_nsamt", "type": "double", "description": null}, {"name": "mm_cm_samt", "type": "double", "description": null}, {"name": "mm_cm_cntnu_pu", "type": "bigint", "description": null}, {"name": "mm_cm_cntnu_puc", "type": "bigint", "description": null}, {"name": "mony_prod_pu", "type": "double", "description": null}, {"name": "funct_prod_pu", "type": "bigint", "description": null}, {"name": "mbrs_prod_pu", "type": "bigint", "description": null}, {"name": "mony_prod_puc", "type": "double", "description": null}, {"name": "funct_prod_puc", "type": "bigint", "description": null}, {"name": "mbrs_prod_puc", "type": "bigint", "description": null}, {"name": "mony_prod_nsamt", "type": "double", "description": null}, {"name": "funct_prod_nsamt", "type": "double", "description": null}, {"name": "mbrs_prod_nsamt", "type": "double", "description": null}, {"name": "mm_cm_mony_prod_nsamt", "type": "double", "description": null}, {"name": "mm_cm_funct_prod_nsamt", "type": "double", "description": null}, {"name": "mm_cm_mbrs_prod_nsamt", "type": "double", "description": null}, {"name": "mm_cm_pu_uv", "type": "bigint", "description": null}, {"name": "mm_cm_puc_uv", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_game_user_sd03` (
`rep_game_cd` string COMMENT 'None',
`uv` bigint COMMENT 'None',
`uvc` bigint COMMENT 'None',
`mm_cm_uv` bigint COMMENT 'None',
`mm_cm_uvc` bigint COMMENT 'None',
`upr_chnl_uv` bigint COMMENT 'None',
`lwr_chnl_uv` bigint COMMENT 'None',
`upr_grd_uv` bigint COMMENT 'None',
`lwr_grd_uv` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`win_mony` double COMMENT 'None',
`los_mony` double COMMENT 'None',
`allin_tcnt` bigint COMMENT 'None',
`game_pcnt` bigint COMMENT 'None',
`dealr_mony` double COMMENT 'None',
`mm_cm_user_pcnt` bigint COMMENT 'None',
`mm_cm_win_mony` double COMMENT 'None',
`mm_cm_los_mony` double COMMENT 'None',
`mm_cm_game_pcnt` bigint COMMENT 'None',
`mm_cm_dealr_mony` double COMMENT 'None',
`gmony` double COMMENT 'None',
`web_chag_mony` double COMMENT 'None',
`cm_insu_mony` double COMMENT 'None',
`out_insu_mony` double COMMENT 'None',
`crncy_amt` double COMMENT 'None',
`uv_crncy_amt` double COMMENT 'None',
`stop_mony` double COMMENT 'None',
`del_pre_mony` double COMMENT 'None',
`out_mony` double COMMENT 'None',
`in_mony` double COMMENT 'None',
`mm_cm_out_mony` double COMMENT 'None',
`mm_cm_in_mony` double COMMENT 'None',
`pu` bigint COMMENT 'None',
`puc` bigint COMMENT 'None',
`nsamt` double COMMENT 'None',
`samt` double COMMENT 'None',
`mm_cm_pu` bigint COMMENT 'None',
`mm_cm_puc` bigint COMMENT 'None',
`mm_cm_nsamt` double COMMENT 'None',
`mm_cm_samt` double COMMENT 'None',
`mm_cm_cntnu_pu` bigint COMMENT 'None',
`mm_cm_cntnu_puc` bigint COMMENT 'None',
`mony_prod_pu` double COMMENT 'None',
`funct_prod_pu` bigint COMMENT 'None',
`mbrs_prod_pu` bigint COMMENT 'None',
`mony_prod_puc` double COMMENT 'None',
`funct_prod_puc` bigint COMMENT 'None',
`mbrs_prod_puc` bigint COMMENT 'None',
`mony_prod_nsamt` double COMMENT 'None',
`funct_prod_nsamt` double COMMENT 'None',
`mbrs_prod_nsamt` double COMMENT 'None',
`mm_cm_mony_prod_nsamt` double COMMENT 'None',
`mm_cm_funct_prod_nsamt` double COMMENT 'None',
`mm_cm_mbrs_prod_nsamt` double COMMENT 'None',
`mm_cm_pu_uv` bigint COMMENT 'None',
`mm_cm_puc_uv` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_po_rnk_sd01", "description": null, "columns": [{"name": "rnk_no", "type": "bigint", "description": null}, {"name": "rnk_aply_ucnt", "type": "bigint", "description": null}, {"name": "rnk_canc_ucnt", "type": "bigint", "description": null}, {"name": "game_ucnt", "type": "bigint", "description": null}, {"name": "get_pnt", "type": "bigint", "description": null}, {"name": "exht_pnt", "type": "bigint", "description": null}, {"name": "canc_in_pnt", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "use_mony", "type": "double", "description": null}, {"name": "reg_out_pnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_rnk_sd01` (
`rnk_no` bigint COMMENT 'None',
`rnk_aply_ucnt` bigint COMMENT 'None',
`rnk_canc_ucnt` bigint COMMENT 'None',
`game_ucnt` bigint COMMENT 'None',
`get_pnt` bigint COMMENT 'None',
`exht_pnt` bigint COMMENT 'None',
`canc_in_pnt` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`use_mony` double COMMENT 'None',
`reg_out_pnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_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 `pc_poker_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": "pc_poker_dw", "table": "sg_po_rstct_user_sd02", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": "κ²μ μ½λ"}, {"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 `pc_poker_dw`.`sg_po_rstct_user_sd02` (
`game_cd` string COMMENT 'κ²μ μ½λ',
`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": "pc_poker_dw", "table": "sg_po_upp_lv_chg_sd01", "description": null, "columns": [{"name": "lv", "type": "bigint", "description": null}, {"name": "lv_chg_tp_cd", "type": "string", "description": null}, {"name": "lv_chg_path_cd", "type": "string", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_upp_lv_chg_sd01` (
`lv` bigint COMMENT 'None',
`lv_chg_tp_cd` string COMMENT 'None',
`lv_chg_path_cd` string COMMENT 'None',
`ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_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 `pc_poker_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": "pc_poker_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": "λμ λμμμ"}, {"name": "tot_hld_mony", "type": "double", "description": "λμ λμμ 보μ λ¨Έλ(κ²μλ¨Έλλ§ ν΄λΉ)"}, {"name": "game_tdd_ucnt", "type": "bigint", "description": "λΉμΌ κ²μμ΄μ©μμ"}, {"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": "κ²μ λΉμΌμ΄μ©μ 보μ λ¨Έλ"}, {"name": "v1_tdd_ucnt", "type": "bigint", "description": "λΉμΌ v1 κ²μ μ΄μ©μμ"}, {"name": "v1_mony_mv_obj_ucnt", "type": "double", "description": "λ¨Έλμ΄λ λμμμ"}, {"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": "v1 κ²μ λΉμΌμ΄μ©μ 보μ λ¨Έλ"}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "is_opponent_v1", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_v1_objr_game_sd01` (
`game_cd` string COMMENT 'None',
`cm_objr_cnt` bigint COMMENT 'λμ λμμμ',
`tot_hld_mony` double COMMENT 'λμ λμμ 보μ λ¨Έλ(κ²μλ¨Έλλ§ ν΄λΉ)',
`game_tdd_ucnt` bigint COMMENT 'λΉμΌ κ²μμ΄μ©μμ',
`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 'κ²μ λΉμΌμ΄μ©μ 보μ λ¨Έλ',
`v1_tdd_ucnt` bigint COMMENT 'λΉμΌ v1 κ²μ μ΄μ©μμ',
`v1_mony_mv_obj_ucnt` double COMMENT 'λ¨Έλμ΄λ λμμμ',
`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 'v1 κ²μ λΉμΌμ΄μ©μ 보μ λ¨Έλ',
`work_ymd` string COMMENT 'None',
`is_opponent_v1` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_std_indr_game_pu_sd01", "description": null, "columns": [{"name": "lcls_cd", "type": "string", "description": null}, {"name": "mcls_cd", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "mcls_nm", "type": "string", "description": null}, {"name": "game_nm", "type": "string", "description": null}, {"name": "uv", "type": "bigint", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "pu_uv", "type": "bigint", "description": null}, {"name": "mm_cm_uv", "type": "bigint", "description": null}, {"name": "mm_cm_pu", "type": "bigint", "description": null}, {"name": "mm_cm_pu_uv", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_std_indr_game_pu_sd01` (
`lcls_cd` string COMMENT 'None',
`mcls_cd` string COMMENT 'None',
`org_cd` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`lcls_nm` string COMMENT 'None',
`mcls_nm` string COMMENT 'None',
`game_nm` string COMMENT 'None',
`uv` bigint COMMENT 'None',
`pu` bigint COMMENT 'None',
`pu_uv` bigint COMMENT 'None',
`mm_cm_uv` bigint COMMENT 'None',
`mm_cm_pu` bigint COMMENT 'None',
`mm_cm_pu_uv` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_cardg_dup_user_d01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "hg_userid", "type": "string", "description": null}, {"name": "hg_userno", "type": "string", "description": null}, {"name": "hg_custno", "type": "string", "description": null}, {"name": "mbl_userno", "type": "string", "description": null}, {"name": "mbl_join_dt", "type": "string", "description": null}, {"name": "mbl_join_prd_cd", "type": "string", "description": null}, {"name": "mbl_lst_game_dt", "type": "string", "description": null}, {"name": "mbl_lst_game_prd_cd", "type": "string", "description": null}, {"name": "pc_join_dt", "type": "string", "description": null}, {"name": "pc_join_prd_cd", "type": "string", "description": null}, {"name": "pc_lst_game_dt", "type": "string", "description": null}, {"name": "pc_lst_game_prd_cd", "type": "string", "description": null}, {"name": "pc_cm_pcnt", "type": "bigint", "description": null}, {"name": "pc_tdd_pcnt", "type": "bigint", "description": null}, {"name": "hld_mony", "type": "double", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_cardg_dup_user_d01` (
`game_cd` string COMMENT 'None',
`hg_userid` string COMMENT 'None',
`hg_userno` string COMMENT 'None',
`hg_custno` string COMMENT 'None',
`mbl_userno` string COMMENT 'None',
`mbl_join_dt` string COMMENT 'None',
`mbl_join_prd_cd` string COMMENT 'None',
`mbl_lst_game_dt` string COMMENT 'None',
`mbl_lst_game_prd_cd` string COMMENT 'None',
`pc_join_dt` string COMMENT 'None',
`pc_join_prd_cd` string COMMENT 'None',
`pc_lst_game_dt` string COMMENT 'None',
`pc_lst_game_prd_cd` string COMMENT 'None',
`pc_cm_pcnt` bigint COMMENT 'None',
`pc_tdd_pcnt` bigint COMMENT 'None',
`hld_mony` double COMMENT 'None',
`ci` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_cardg_dup_user_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": "κ²μ μ½λ\t\n\nex)\nG002"}, {"name": "whle_dup_ucnt", "type": "bigint", "description": "μ 체 μ€λ³΅ μ΄μ©μ"}, {"name": "pc_tdd_ucnt", "type": "bigint", "description": "PC λΉμΌ μ΄μ©μ"}, {"name": "mbl_tdd_ucnt", "type": "bigint", "description": "λͺ¨λ°μΌ λΉμΌ μ΄μ©μ"}, {"name": "tdd_dup_ucnt", "type": "bigint", "description": "λΉμΌ μ€λ³΅ μ΄μ©μ"}, {"name": "dup_pc_new_ucnt", "type": "bigint", "description": "λΉμΌ μ€λ³΅μ΄μ©μ μ€ PC μ κ·μ΄μ©μ"}, {"name": "dup_mbl_new_ucnt", "type": "bigint", "description": "λΉμΌ μ€λ³΅μ΄μ©μ μ€ λͺ¨λ°μΌ μ κ·μ΄μ©μ"}, {"name": "pc_mm_cm_ucnt", "type": "bigint", "description": "PC μ λμ μ΄μ©μμ"}, {"name": "mbl_mm_cm_ucnt", "type": "bigint", "description": "λͺ¨λ°μΌ μ λμ μ΄μ©μμ"}, {"name": "mm_cm_dup_ucnt", "type": "bigint", "description": "μ λμ μ€λ³΅ μ΄μ©μμ"}, {"name": "dup_mbl_mm_cm_new_ucnt", "type": "bigint", "description": "λΉμ μ€λ³΅μ΄μ©μμ€ λͺ¨λ°μΌ μ κ· μ΄μ©μ"}, {"name": "work_ymd", "type": "string", "description": "κΈ°μ€μΌμ"}]}
|
CREATE TABLE `pc_poker_dw`.`sg_cardg_dup_user_sd01` (
`game_cd` string COMMENT 'κ²μ μ½λ
ex)
G002',
`whle_dup_ucnt` bigint COMMENT 'μ 체 μ€λ³΅ μ΄μ©μ',
`pc_tdd_ucnt` bigint COMMENT 'PC λΉμΌ μ΄μ©μ',
`mbl_tdd_ucnt` bigint COMMENT 'λͺ¨λ°μΌ λΉμΌ μ΄μ©μ',
`tdd_dup_ucnt` bigint COMMENT 'λΉμΌ μ€λ³΅ μ΄μ©μ',
`dup_pc_new_ucnt` bigint COMMENT 'λΉμΌ μ€λ³΅μ΄μ©μ μ€ PC μ κ·μ΄μ©μ',
`dup_mbl_new_ucnt` bigint COMMENT 'λΉμΌ μ€λ³΅μ΄μ©μ μ€ λͺ¨λ°μΌ μ κ·μ΄μ©μ',
`pc_mm_cm_ucnt` bigint COMMENT 'PC μ λμ μ΄μ©μμ',
`mbl_mm_cm_ucnt` bigint COMMENT 'λͺ¨λ°μΌ μ λμ μ΄μ©μμ',
`mm_cm_dup_ucnt` bigint COMMENT 'μ λμ μ€λ³΅ μ΄μ©μμ',
`dup_mbl_mm_cm_new_ucnt` bigint COMMENT 'λΉμ μ€λ³΅μ΄μ©μμ€ λͺ¨λ°μΌ μ κ· μ΄μ©μ',
`work_ymd` string COMMENT 'κΈ°μ€μΌμ'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_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 `pc_poker_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": "pc_poker_dw", "table": "sg_game_dup_user_sd01", "description": null, "columns": [{"name": "rep_game_cd1", "type": "string", "description": "κ²μ1μ κ²μμ½λ"}, {"name": "rep_game_cd2", "type": "string", "description": "κ²μ2μ κ²μμ½λ"}, {"name": "whle_dup_ucnt", "type": "bigint", "description": "μ 체 μ€λ³΅ μ΄μ©μμ"}, {"name": "tdd_dup_ucnt", "type": "bigint", "description": "κ²μ1&κ²μ2 λΉμΌ μ€λ³΅ μ΄μ©μμ"}, {"name": "new_dup_ucnt", "type": "bigint", "description": "μ κ· μ€λ³΅ μ΄μ©μμ"}, {"name": "mm_cm_dup_ucnt", "type": "bigint", "description": null}, {"name": "tdd_dup_game_ucnt", "type": "bigint", "description": null}, {"name": "mm_cm_dup_game_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": "κΈ°μ€ μΌμ"}]}
|
CREATE TABLE `pc_poker_dw`.`sg_game_dup_user_sd01` (
`rep_game_cd1` string COMMENT 'κ²μ1μ κ²μμ½λ',
`rep_game_cd2` string COMMENT 'κ²μ2μ κ²μμ½λ',
`whle_dup_ucnt` bigint COMMENT 'μ 체 μ€λ³΅ μ΄μ©μμ',
`tdd_dup_ucnt` bigint COMMENT 'κ²μ1&κ²μ2 λΉμΌ μ€λ³΅ μ΄μ©μμ',
`new_dup_ucnt` bigint COMMENT 'μ κ· μ€λ³΅ μ΄μ©μμ',
`mm_cm_dup_ucnt` bigint COMMENT 'None',
`tdd_dup_game_ucnt` bigint COMMENT 'None',
`mm_cm_dup_game_ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'κΈ°μ€ μΌμ'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_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 `pc_poker_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": "pc_poker_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 `pc_poker_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": "pc_poker_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 `pc_poker_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": "pc_poker_dw", "table": "dm_mbr_ci_game_sale_d01", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "fst_pay_ymd", "type": "string", "description": null}, {"name": "lst_pay_ymd", "type": "string", "description": null}, {"name": "cm_pay_amt", "type": "double", "description": null}, {"name": "cm_pay_cnt", "type": "bigint", "description": null}, {"name": "pay_cnt", "type": "bigint", "description": null}, {"name": "pay_amt", "type": "double", "description": null}, {"name": "slp_yn", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dm_mbr_ci_game_sale_d01` (
`rep_game_cd` string COMMENT 'None',
`ci` string COMMENT 'None',
`fst_pay_ymd` string COMMENT 'None',
`lst_pay_ymd` string COMMENT 'None',
`cm_pay_amt` double COMMENT 'None',
`cm_pay_cnt` bigint COMMENT 'None',
`pay_cnt` bigint COMMENT 'None',
`pay_amt` double COMMENT 'None',
`slp_yn` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_po_vip_user_sm01", "description": null, "columns": [{"name": "vip_grd_cd", "type": "string", "description": "VIP λ±κΈ μ½λ"}, {"name": "cm_ucnt", "type": "bigint", "description": null}, {"name": "new_ucnt", "type": "bigint", "description": null}, {"name": "cntnu_ucnt", "type": "bigint", "description": null}, {"name": "secd_ucnt", "type": "bigint", "description": null}, {"name": "mm_pu", "type": "bigint", "description": null}, {"name": "mm_nsamt", "type": "double", "description": null}, {"name": "work_ym", "type": "string", "description": "κΈ°μ€λ
μ"}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_vip_user_sm01` (
`vip_grd_cd` string COMMENT 'VIP λ±κΈ μ½λ',
`cm_ucnt` bigint COMMENT 'None',
`new_ucnt` bigint COMMENT 'None',
`cntnu_ucnt` bigint COMMENT 'None',
`secd_ucnt` bigint COMMENT 'None',
`mm_pu` bigint COMMENT 'None',
`mm_nsamt` double COMMENT 'None',
`work_ym` string COMMENT 'κΈ°μ€λ
μ'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_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 `pc_poker_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": "pc_poker_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 `pc_poker_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": "pc_poker_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 `pc_poker_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": "pc_poker_dw", "table": "sg_po_game_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "seed_mony", "type": "double", "description": null}, {"name": "sumry_lv", "type": "bigint", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "game_pcnt", "type": "bigint", "description": null}, {"name": "use_mony", "type": "double", "description": null}, {"name": "dealr_mony", "type": "double", "description": null}, {"name": "allin_tcnt", "type": "bigint", "description": null}, {"name": "allin_ucnt", "type": "bigint", "description": null}, {"name": "game_tp_nm", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_game_sd01` (
`game_cd` string COMMENT 'None',
`seed_mony` double COMMENT 'None',
`sumry_lv` bigint COMMENT 'None',
`ucnt` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`game_pcnt` bigint COMMENT 'None',
`use_mony` double COMMENT 'None',
`dealr_mony` double COMMENT 'None',
`allin_tcnt` bigint COMMENT 'None',
`allin_ucnt` bigint COMMENT 'None',
`game_tp_nm` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_po_game_user_sd01", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": "κ²μ μ½λ\t\n\nex)\nG002"}, {"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": "μνμ ID\t\n\nex)\nPM0004"}, {"name": "pu_yn", "type": "string", "description": "PU μ¬λΆ\t\n\nex)\nY,N"}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "uv", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": "μ μ νμ"}, {"name": "win_mony", "type": "double", "description": "μΉλ¦¬ λ¨Έλ"}, {"name": "los_mony", "type": "double", "description": "ν¨λ°° λ¨Έλ"}, {"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": "κΈ°μ€ μΌμ"}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_game_user_sd01` (
`rep_game_cd` string COMMENT 'κ²μ μ½λ
ex)
G002',
`game_grd_tp_cd` string COMMENT 'None',
`game_grd_cd` string COMMENT 'None',
`gmony_secn_cd` string COMMENT 'None',
`mbrs_prodid` string COMMENT 'μνμ ID
ex)
PM0004',
`pu_yn` string COMMENT 'PU μ¬λΆ
ex)
Y,N',
`ucnt` bigint COMMENT 'None',
`uv` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'μ μ νμ',
`win_mony` double COMMENT 'μΉλ¦¬ λ¨Έλ',
`los_mony` double COMMENT 'ν¨λ°° λ¨Έλ',
`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 'κΈ°μ€ μΌμ'
);
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.