instruction
stringclasses 1
value | input
stringlengths 130
7.08k
| output
stringlengths 66
4.67k
|
|---|---|---|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_po_game_user_sd02", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": "κ²μ μ½λ\t\n\nex)\nG036 - 7ν¬μ»€"}, {"name": "chnl_cd", "type": "string", "description": "κ²½κΈ°μ₯ μ½λ\t\n\nex)\n00B0"}, {"name": "chnl_tp_cd", "type": "string", "description": "κ²½κΈ°μ₯ λ΄ μ±λ μ½λ\t\n\nex)\n03"}, {"name": "game_tp_cd", "type": "string", "description": "λ―Έμ¬μ©"}, {"name": "sumry_lv", "type": "string", "description": "#sumry_lv=1 : κ²μλ³\n#sumry_lv=3 : κ²μλ³, λ§μΌλ³ \n #sumry_lv=5 : κ²μλ³, λ§μΌλ³, μνλ³ \n #sumry_lv=7 : κ²μλ³, λ§μΌλ³,μνλ³, λ 벨, λΉμκΈμ‘λ, λμ κΈμ‘λ"}, {"name": "open_yn", "type": "string", "description": "κ²μ μ€ν μ¬λΆ\t\n\nex)\nY, N"}, {"name": "ucnt", "type": "bigint", "description": "μ μ μ"}, {"name": "user_pcnt", "type": "bigint", "description": "μ΄μ©μ νμ\nλΉμΌμ μ΄μ©μνμμ ν©"}, {"name": "game_pcnt", "type": "bigint", "description": "κ²μ νμ\nλΉμΌμ κ²μνμμ ν©"}, {"name": "win_mony", "type": "double", "description": "μΉλ¦¬ λ¨Έλ"}, {"name": "los_mony", "type": "double", "description": "μμ λ¨Έλ"}, {"name": "dealr_mony", "type": "double", "description": "λλ¬λΉ"}, {"name": "allin_tcnt", "type": "bigint", "description": "μ¬μΈ νμ"}, {"name": "rep_game_cd", "type": "string", "description": "μμ κ²μ μ½λ\t\n\nex)\nG002\nPCν¬μ»€"}, {"name": "win_pcnt", "type": "bigint", "description": "μΉλ¦¬ νμ"}, {"name": "win_scr", "type": "bigint", "description": "λ―Έμ¬μ©"}, {"name": "game_ptm_mi", "type": "double", "description": "κ²μ μ΄μ© μκ°(λΆλ¨μ)"}, {"name": "user_ptm_mi", "type": "double", "description": "μ΄μ©μ μ¬μ© μκ°(λΆλ¨μ)"}, {"name": "scr", "type": "bigint", "description": "λ―Έμ¬μ©"}, {"name": "dealr_chip", "type": "bigint", "description": "λ―Έμ¬μ©"}, {"name": "user_tp_cd", "type": "string", "description": null}, {"name": "allin_ucnt", "type": "bigint", "description": "μ¬μΈ ν μ μ μ"}, {"name": "one_st_ucnt", "type": "bigint", "description": "μμ€ν μ΄ μ μ μ"}, {"name": "google_st_ucnt", "type": "bigint", "description": "κ΅¬κΈ μ€ν μ΄ μ μ μ"}, {"name": "work_ymd", "type": "string", "description": "μ±μ€ν μ΄ μ μ μ"}, {"name": "ios_st_ucnt", "type": "bigint", "description": "κΈ°μ€μΌμ\t\n\nex)\n20220101"}, {"name": "mac_st_ucnt", "type": "bigint", "description": null}, {"name": "galaxy_st_ucnt", "type": "bigint", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_game_user_sd02` (
`game_cd` string COMMENT 'κ²μ μ½λ
ex)
G036 - 7ν¬μ»€',
`chnl_cd` string COMMENT 'κ²½κΈ°μ₯ μ½λ
ex)
00B0',
`chnl_tp_cd` string COMMENT 'κ²½κΈ°μ₯ λ΄ μ±λ μ½λ
ex)
03',
`game_tp_cd` string COMMENT 'λ―Έμ¬μ©',
`sumry_lv` string COMMENT '#sumry_lv=1 : κ²μλ³
#sumry_lv=3 : κ²μλ³, λ§μΌλ³
#sumry_lv=5 : κ²μλ³, λ§μΌλ³, μνλ³
#sumry_lv=7 : κ²μλ³, λ§μΌλ³,μνλ³, λ 벨, λΉμκΈμ‘λ, λμ κΈμ‘λ',
`open_yn` string COMMENT 'κ²μ μ€ν μ¬λΆ
ex)
Y, N',
`ucnt` bigint COMMENT 'μ μ μ',
`user_pcnt` bigint COMMENT 'μ΄μ©μ νμ
λΉμΌμ μ΄μ©μνμμ ν©',
`game_pcnt` bigint COMMENT 'κ²μ νμ
λΉμΌμ κ²μνμμ ν©',
`win_mony` double COMMENT 'μΉλ¦¬ λ¨Έλ',
`los_mony` double COMMENT 'μμ λ¨Έλ',
`dealr_mony` double COMMENT 'λλ¬λΉ',
`allin_tcnt` bigint COMMENT 'μ¬μΈ νμ',
`rep_game_cd` string COMMENT 'μμ κ²μ μ½λ
ex)
G002
PCν¬μ»€',
`win_pcnt` bigint COMMENT 'μΉλ¦¬ νμ',
`win_scr` bigint COMMENT 'λ―Έμ¬μ©',
`game_ptm_mi` double COMMENT 'κ²μ μ΄μ© μκ°(λΆλ¨μ)',
`user_ptm_mi` double COMMENT 'μ΄μ©μ μ¬μ© μκ°(λΆλ¨μ)',
`scr` bigint COMMENT 'λ―Έμ¬μ©',
`dealr_chip` bigint COMMENT 'λ―Έμ¬μ©',
`user_tp_cd` string COMMENT 'None',
`allin_ucnt` bigint COMMENT 'μ¬μΈ ν μ μ μ',
`one_st_ucnt` bigint COMMENT 'μμ€ν μ΄ μ μ μ',
`google_st_ucnt` bigint COMMENT 'κ΅¬κΈ μ€ν μ΄ μ μ μ',
`work_ymd` string COMMENT 'μ±μ€ν μ΄ μ μ μ',
`ios_st_ucnt` bigint COMMENT 'κΈ°μ€μΌμ
ex)
20220101',
`mac_st_ucnt` bigint COMMENT 'None',
`galaxy_st_ucnt` bigint COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_po_hld_mony_sd01", "description": null, "columns": [{"name": "user_tp_cd", "type": "string", "description": null}, {"name": "game_grd_nm", "type": "string", "description": null}, {"name": "game_mony", "type": "double", "description": null}, {"name": "chg_mony", "type": "double", "description": null}, {"name": "out_insu_mony", "type": "double", "description": null}, {"name": "cm_insu_mony", "type": "double", "description": null}, {"name": "hld_mony", "type": "double", "description": null}, {"name": "stop_mony", "type": "double", "description": null}, {"name": "del_pre_mony", "type": "double", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "use_chip", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_hld_mony_sd01` (
`user_tp_cd` string COMMENT 'None',
`game_grd_nm` string COMMENT 'None',
`game_mony` double COMMENT 'None',
`chg_mony` double COMMENT 'None',
`out_insu_mony` double COMMENT 'None',
`cm_insu_mony` double COMMENT 'None',
`hld_mony` double COMMENT 'None',
`stop_mony` double COMMENT 'None',
`del_pre_mony` double COMMENT 'None',
`game_cd` string COMMENT 'None',
`use_chip` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_po_hv_user_game_sd01", "description": null, "columns": [{"name": "ucnt", "type": "bigint", "description": null}, {"name": "los_tcnt", "type": "bigint", "description": null}, {"name": "los_pcnt", "type": "bigint", "description": null}, {"name": "use_mony", "type": "double", "description": null}, {"name": "avg_los_pcnt", "type": "double", "description": null}, {"name": "avg_use_mony", "type": "double", "description": null}, {"name": "win_tcnt", "type": "bigint", "description": null}, {"name": "win_pcnt", "type": "bigint", "description": null}, {"name": "win_mony", "type": "double", "description": null}, {"name": "avg_win_pcnt", "type": "double", "description": null}, {"name": "avg_win_mony", "type": "double", "description": null}, {"name": "hld_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_hv_user_game_sd01` (
`ucnt` bigint COMMENT 'None',
`los_tcnt` bigint COMMENT 'None',
`los_pcnt` bigint COMMENT 'None',
`use_mony` double COMMENT 'None',
`avg_los_pcnt` double COMMENT 'None',
`avg_use_mony` double COMMENT 'None',
`win_tcnt` bigint COMMENT 'None',
`win_pcnt` bigint COMMENT 'None',
`win_mony` double COMMENT 'None',
`avg_win_pcnt` double COMMENT 'None',
`avg_win_mony` double COMMENT 'None',
`hld_mony` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_po_mileg_chg_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "chg_tp_cd", "type": "string", "description": null}, {"name": "chg_rsn_cd", "type": "string", "description": null}, {"name": "chg_cnt", "type": "bigint", "description": null}, {"name": "chg_amt", "type": "double", "description": null}, {"name": "chg_game_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_mileg_chg_sd01` (
`game_cd` string COMMENT 'None',
`chnl_cd` string COMMENT 'None',
`chnl_id` string COMMENT 'None',
`chg_tp_cd` string COMMENT 'None',
`chg_rsn_cd` string COMMENT 'None',
`chg_cnt` bigint COMMENT 'None',
`chg_amt` double COMMENT 'None',
`chg_game_mony` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_po_mm_cm_pu_sd01", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "tdd_nsamt_secn_cd", "type": "string", "description": null}, {"name": "mm_cm_nsamt_secn_cd", "type": "string", "description": null}, {"name": "tdd_pu", "type": "bigint", "description": null}, {"name": "tdd_nsamt", "type": "double", "description": null}, {"name": "tdd_samt", "type": "double", "description": null}, {"name": "tdd_los_mony", "type": "double", "description": null}, {"name": "mm_cm_pu", "type": "bigint", "description": null}, {"name": "mm_cm_nsamt", "type": "double", "description": null}, {"name": "mm_cm_samt", "type": "double", "description": null}, {"name": "mm_cm_los_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_mm_cm_pu_sd01` (
`rep_game_cd` string COMMENT 'None',
`tdd_nsamt_secn_cd` string COMMENT 'None',
`mm_cm_nsamt_secn_cd` string COMMENT 'None',
`tdd_pu` bigint COMMENT 'None',
`tdd_nsamt` double COMMENT 'None',
`tdd_samt` double COMMENT 'None',
`tdd_los_mony` double COMMENT 'None',
`mm_cm_pu` bigint COMMENT 'None',
`mm_cm_nsamt` double COMMENT 'None',
`mm_cm_samt` double COMMENT 'None',
`mm_cm_los_mony` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_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 `pc_poker_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": "pc_poker_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 `pc_poker_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": "pc_poker_dw", "table": "sg_po_mm_mileg_sd01", "description": null, "columns": [{"name": "cre_ym", "type": "string", "description": null}, {"name": "out_amt", "type": "double", "description": null}, {"name": "in_amt", "type": "double", "description": null}, {"name": "extnc_amt", "type": "double", "description": null}, {"name": "extnc_pre_amt", "type": "double", "description": null}, {"name": "cm_out_amt", "type": "double", "description": null}, {"name": "cm_in_amt", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_mm_mileg_sd01` (
`cre_ym` string COMMENT 'None',
`out_amt` double COMMENT 'None',
`in_amt` double COMMENT 'None',
`extnc_amt` double COMMENT 'None',
`extnc_pre_amt` double COMMENT 'None',
`cm_out_amt` double COMMENT 'None',
`cm_in_amt` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_po_vip_user_sd01", "description": null, "columns": [{"name": "vip_grd_cd", "type": "string", "description": "vip λ±κΈ μ½λ"}, {"name": "cm_ucnt", "type": "bigint", "description": null}, {"name": "tdd_ucnt", "type": "bigint", "description": null}, {"name": "tot_crncy_amt", "type": "double", "description": null}, {"name": "net_crncy_amt", "type": "double", "description": null}, {"name": "tdd_game_ucnt", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": "μ μ νμ"}, {"name": "los_mony", "type": "double", "description": "μμ€ λ¨Έλ"}, {"name": "pu", "type": "bigint", "description": "PU"}, {"name": "nsamt", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": "κΈ°μ€ μΌμ"}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_vip_user_sd01` (
`vip_grd_cd` string COMMENT 'vip λ±κΈ μ½λ',
`cm_ucnt` bigint COMMENT 'None',
`tdd_ucnt` bigint COMMENT 'None',
`tot_crncy_amt` double COMMENT 'None',
`net_crncy_amt` double COMMENT 'None',
`tdd_game_ucnt` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'μ μ νμ',
`los_mony` double COMMENT 'μμ€ λ¨Έλ',
`pu` bigint COMMENT 'PU',
`nsamt` double COMMENT 'None',
`work_ymd` string COMMENT 'κΈ°μ€ μΌμ'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_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 `pc_poker_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": "pc_poker_dw", "table": "dg_adid_use_d01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "adid", "type": "string", "description": null}, {"name": "lst_dt", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_adid_use_d01` (
`game_cd` string COMMENT 'None',
`adid` string COMMENT 'None',
`lst_dt` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`os_cd` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_game_adid_d01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "adid", "type": "string", "description": null}, {"name": "inflw_dt", "type": "string", "description": null}, {"name": "lst_dt", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "age_cd", "type": "string", "description": null}, {"name": "d365_samt", "type": "double", "description": null}, {"name": "d365_pu_yn", "type": "string", "description": null}, {"name": "d730_samt", "type": "double", "description": null}, {"name": "d730_pu_yn", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_game_adid_d01` (
`game_cd` string COMMENT 'None',
`adid` string COMMENT 'None',
`inflw_dt` string COMMENT 'None',
`lst_dt` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`os_cd` string COMMENT 'None',
`idp_cd` string COMMENT 'None',
`idp_userno` string COMMENT 'None',
`sex_cd` string COMMENT 'None',
`age_cd` string COMMENT 'None',
`d365_samt` double COMMENT 'None',
`d365_pu_yn` string COMMENT 'None',
`d730_samt` double COMMENT 'None',
`d730_pu_yn` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_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 `pc_poker_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": "pc_poker_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 `pc_poker_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": "pc_poker_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 `pc_poker_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": "pc_poker_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 `pc_poker_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": "pc_poker_dw", "table": "dg_mony_cd_mtr", "description": null, "columns": [{"name": "mony_cd", "type": "string", "description": null}, {"name": "mony_nm", "type": "string", "description": null}, {"name": "mony_desc", "type": "string", "description": null}, {"name": "mony_cat_cd", "type": "string", "description": null}, {"name": "mony_cat_nm", "type": "string", "description": null}, {"name": "strt_ymd", "type": "string", "description": null}, {"name": "out_in_tp_cd", "type": "string", "description": null}, {"name": "rep_game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_mony_cd_mtr` (
`mony_cd` string COMMENT 'None',
`mony_nm` string COMMENT 'None',
`mony_desc` string COMMENT 'None',
`mony_cat_cd` string COMMENT 'None',
`mony_cat_nm` string COMMENT 'None',
`strt_ymd` string COMMENT 'None',
`out_in_tp_cd` string COMMENT 'None',
`rep_game_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_po_game_user_m01", "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": "game_grd_cd", "type": "string", "description": null}, {"name": "use_game_cnt", "type": "bigint", "description": null}, {"name": "main_use_game_grd_cd", "type": "string", "description": null}, {"name": "main_use_game_cd", "type": "string", "description": null}, {"name": "main_use_game_pcnt", "type": "bigint", "description": null}, {"name": "main_use_game_los_mony", "type": "double", "description": null}, {"name": "main_use_game_win_mony", "type": "double", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "vst_dcnt", "type": "bigint", "description": null}, {"name": "win_pcnt", "type": "bigint", "description": null}, {"name": "los_pcnt", "type": "bigint", "description": null}, {"name": "win_mony", "type": "double", "description": null}, {"name": "los_mony", "type": "double", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_po_game_user_m01` (
`rep_game_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`userno` bigint COMMENT 'None',
`custno` bigint COMMENT 'None',
`game_grd_cd` string COMMENT 'None',
`use_game_cnt` bigint COMMENT 'None',
`main_use_game_grd_cd` string COMMENT 'None',
`main_use_game_cd` string COMMENT 'None',
`main_use_game_pcnt` bigint COMMENT 'None',
`main_use_game_los_mony` double COMMENT 'None',
`main_use_game_win_mony` double COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`vst_dcnt` bigint COMMENT 'None',
`win_pcnt` bigint COMMENT 'None',
`los_pcnt` bigint COMMENT 'None',
`win_mony` double COMMENT 'None',
`los_mony` double COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_po_v1_objr_m01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "strt_ym", "type": "string", "description": null}, {"name": "lst_ym", "type": "string", "description": null}, {"name": "user_tp_cd", "type": "bigint", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "avt_samt", "type": "double", "description": null}, {"name": "item_samt", "type": "double", "description": null}, {"name": "fxsums_samt", "type": "double", "description": null}, {"name": "work_ym", "type": "string", "description": null}, {"name": "v1_lv", "type": "bigint", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_po_v1_objr_m01` (
`game_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`strt_ym` string COMMENT 'None',
`lst_ym` string COMMENT 'None',
`user_tp_cd` bigint COMMENT 'None',
`samt` double COMMENT 'None',
`avt_samt` double COMMENT 'None',
`item_samt` double COMMENT 'None',
`fxsums_samt` double COMMENT 'None',
`work_ym` string COMMENT 'None',
`v1_lv` bigint COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_po_v1_user_m01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "v1_game_dcnt", "type": "bigint", "description": null}, {"name": "v1_game_pcnt", "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": "mm_game_dcnt", "type": "bigint", "description": null}, {"name": "mm_game_pcnt", "type": "bigint", "description": null}, {"name": "mm_win_pcnt", "type": "bigint", "description": null}, {"name": "mm_los_pcnt", "type": "bigint", "description": null}, {"name": "mm_win_mony", "type": "double", "description": null}, {"name": "mm_los_mony", "type": "double", "description": null}, {"name": "v1_yn", "type": "bigint", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_po_v1_user_m01` (
`game_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`v1_game_dcnt` bigint COMMENT 'None',
`v1_game_pcnt` 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',
`mm_game_dcnt` bigint COMMENT 'None',
`mm_game_pcnt` bigint COMMENT 'None',
`mm_win_pcnt` bigint COMMENT 'None',
`mm_los_pcnt` bigint COMMENT 'None',
`mm_win_mony` double COMMENT 'None',
`mm_los_mony` double COMMENT 'None',
`v1_yn` bigint COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_user_adid_mapng_d01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "adid", "type": "string", "description": null}, {"name": "log_dt", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "age_cd", "type": "string", "description": null}, {"name": "userid_ord", "type": "bigint", "description": null}, {"name": "idp_userid", "type": "string", "description": null}, {"name": "age_zn_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_user_adid_mapng_d01` (
`game_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`adid` string COMMENT 'None',
`log_dt` string COMMENT 'None',
`idp_cd` string COMMENT 'None',
`idp_userno` string COMMENT 'None',
`sex_cd` string COMMENT 'None',
`age_cd` string COMMENT 'None',
`userid_ord` bigint COMMENT 'None',
`idp_userid` string COMMENT 'None',
`age_zn_cd` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_game_adid_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "act_tp_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "age_cd", "type": "string", "description": null}, {"name": "cm_user", "type": "bigint", "description": null}, {"name": "new_ucnt", "type": "bigint", "description": null}, {"name": "d365_pu", "type": "bigint", "description": null}, {"name": "demo_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_game_adid_sd01` (
`game_cd` string COMMENT 'None',
`act_tp_cd` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`os_cd` string COMMENT 'None',
`sex_cd` string COMMENT 'None',
`age_cd` string COMMENT 'None',
`cm_user` bigint COMMENT 'None',
`new_ucnt` bigint COMMENT 'None',
`d365_pu` bigint COMMENT 'None',
`demo_ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_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 `pc_poker_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": "pc_poker_dw", "table": "sg_game_user_sd01", "description": null, "columns": [{"name": "fullage_secn_cd", "type": "string", "description": "λμ΄ κ΅¬κ°λ μ½λ\t\n\nex)\n1:12μΈ μ΄ν\n2:13-18μΈ μ΄ν\n3:19-24μΈ μ΄ν\n4:25-29μΈ μ΄ν\n5:30-34μΈ μ΄ν\n6:35-39μΈ μ΄ν\n7:40λ\n8:50λ\n9:60λ μ΄μ"}, {"name": "sex_cd", "type": "string", "description": "μ±λ³ μ½λ\t\n\nex)\nF : μ¬μ±\nM : λ¨μ±"}, {"name": "game_grd_cd", "type": "string", "description": "κ²μ λ±κΈ μ½λ"}, {"name": "tdd_pcnt_secn_cd", "type": "string", "description": "λΉμΌ νμ κ΅¬κ° μ½λ\t\n\nex)\n0:0ν\n1:5νμ΄ν\n2:6-10νλ―Έλ§\n3:10-30νλ―Έλ§\n4:30-50νλ―Έλ§\n5:50-100νλ―Έλ§\n6:100-200νλ―Έλ§\n7:200-300νλ―Έλ§\n8:300-500νλ―Έλ§\n9:500νμ΄μ"}, {"name": "tdd_ptm_secn_cd", "type": "string", "description": "λ―Έμ¬μ©"}, {"name": "join_chnl_cd", "type": "string", "description": "κ°μ
ν μ±λ μ½λ\t\n\nex)\nHG"}, {"name": "lst_inflw_chnl_cd", "type": "string", "description": null}, {"name": "ltr_etc1", "type": "string", "description": "λ¨Έλ 보μ κ΅¬κ° μ½λ\t\n\nex)\n000 ~ 367"}, {"name": "ltr_etc2", "type": "string", "description": "μ μ κΈ°κ° μ½λ\t\n\nex)\nD1 ~ Y7"}, {"name": "ltr_etc3", "type": "string", "description": "μ₯κΈ° λ―Έμ΄μ©μ μ»΄λ°±μ λ§μ§λ§ κ²μ μΌμ\t\n\nex)\nDefault κ° : 19990101"}, {"name": "ltr_etc4", "type": "string", "description": "λ§μ§λ§ κ²μμΌμ κ΅¬κ° μ½λ κ°"}, {"name": "ltr_etc5", "type": "string", "description": null}, {"name": "cm_ucnt", "type": "bigint", "description": "μΌμΌ μ΄μ©μμ"}, {"name": "tdd_ucnt", "type": "bigint", "description": "μΌμΌ κ²μ νμ"}, {"name": "tdd_join_ucnt", "type": "bigint", "description": "μ κ· μ΄μ©μ μ"}, {"name": "tdd_inflw_ucnt", "type": "bigint", "description": "μ κ· μ μ
μ μ"}, {"name": "new_join_ucnt", "type": "bigint", "description": "μ κ· κ°μ
μ μ"}, {"name": "wkly_ucnt", "type": "bigint", "description": "μ£Όκ° μ΄μ©μ"}, {"name": "act_ucnt", "type": "bigint", "description": "μ‘ν°λΈ μ΄μ©μ"}, {"name": "cmbck_ucnt", "type": "bigint", "description": "μ»΄λ°± μ΄μ©μ"}, {"name": "cm_pcnt", "type": "bigint", "description": null}, {"name": "tdd_pcnt", "type": "bigint", "description": null}, {"name": "cm_ptm", "type": "double", "description": null}, {"name": "tdd_ptm", "type": "double", "description": null}, {"name": "hld_mony", "type": "double", "description": null}, {"name": "tdd_user_hld_mony", "type": "double", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "num_etc2", "type": "bigint", "description": null}, {"name": "num_etc3", "type": "bigint", "description": "λ―Έμ¬μ©"}, {"name": "num_etc4", "type": "bigint", "description": "λ―Έμ¬μ©"}, {"name": "num_etc5", "type": "bigint", "description": null}, {"name": "num_etc6", "type": "bigint", "description": "λ―Έμ¬μ©"}, {"name": "num_etc7", "type": "bigint", "description": "λ―Έμ¬μ©"}, {"name": "num_etc8", "type": "bigint", "description": "λ―Έμ¬μ©"}, {"name": "num_etc9", "type": "bigint", "description": "λ―Έμ¬μ©"}, {"name": "num_etc10", "type": "bigint", "description": "λ―Έμ¬μ©"}, {"name": "num_etc11", "type": "bigint", "description": "λ―Έμ¬μ©"}, {"name": "work_ymd", "type": "string", "description": "κΈ°μ€μΌμ"}, {"name": "game_cd", "type": "string", "description": "κ²μ μ½λ"}]}
|
CREATE TABLE `pc_poker_dw`.`sg_game_user_sd01` (
`fullage_secn_cd` string COMMENT 'λμ΄ κ΅¬κ°λ μ½λ
ex)
1:12μΈ μ΄ν
2:13-18μΈ μ΄ν
3:19-24μΈ μ΄ν
4:25-29μΈ μ΄ν
5:30-34μΈ μ΄ν
6:35-39μΈ μ΄ν
7:40λ
8:50λ
9:60λ μ΄μ',
`sex_cd` string COMMENT 'μ±λ³ μ½λ
ex)
F : μ¬μ±
M : λ¨μ±',
`game_grd_cd` string COMMENT 'κ²μ λ±κΈ μ½λ',
`tdd_pcnt_secn_cd` string COMMENT 'λΉμΌ νμ κ΅¬κ° μ½λ
ex)
0:0ν
1:5νμ΄ν
2:6-10νλ―Έλ§
3:10-30νλ―Έλ§
4:30-50νλ―Έλ§
5:50-100νλ―Έλ§
6:100-200νλ―Έλ§
7:200-300νλ―Έλ§
8:300-500νλ―Έλ§
9:500νμ΄μ',
`tdd_ptm_secn_cd` string COMMENT 'λ―Έμ¬μ©',
`join_chnl_cd` string COMMENT 'κ°μ
ν μ±λ μ½λ
ex)
HG',
`lst_inflw_chnl_cd` string COMMENT 'None',
`ltr_etc1` string COMMENT 'λ¨Έλ 보μ κ΅¬κ° μ½λ
ex)
000 ~ 367',
`ltr_etc2` string COMMENT 'μ μ κΈ°κ° μ½λ
ex)
D1 ~ Y7',
`ltr_etc3` string COMMENT 'μ₯κΈ° λ―Έμ΄μ©μ μ»΄λ°±μ λ§μ§λ§ κ²μ μΌμ
ex)
Default κ° : 19990101',
`ltr_etc4` string COMMENT 'λ§μ§λ§ κ²μμΌμ κ΅¬κ° μ½λ κ°',
`ltr_etc5` string COMMENT 'None',
`cm_ucnt` bigint COMMENT 'μΌμΌ μ΄μ©μμ',
`tdd_ucnt` bigint COMMENT 'μΌμΌ κ²μ νμ',
`tdd_join_ucnt` bigint COMMENT 'μ κ· μ΄μ©μ μ',
`tdd_inflw_ucnt` bigint COMMENT 'μ κ· μ μ
μ μ',
`new_join_ucnt` bigint COMMENT 'μ κ· κ°μ
μ μ',
`wkly_ucnt` bigint COMMENT 'μ£Όκ° μ΄μ©μ',
`act_ucnt` bigint COMMENT 'μ‘ν°λΈ μ΄μ©μ',
`cmbck_ucnt` bigint COMMENT 'μ»΄λ°± μ΄μ©μ',
`cm_pcnt` bigint COMMENT 'None',
`tdd_pcnt` bigint COMMENT 'None',
`cm_ptm` double COMMENT 'None',
`tdd_ptm` double COMMENT 'None',
`hld_mony` double COMMENT 'None',
`tdd_user_hld_mony` double COMMENT 'None',
`num_etc1` bigint COMMENT 'None',
`num_etc2` bigint COMMENT 'None',
`num_etc3` bigint COMMENT 'λ―Έμ¬μ©',
`num_etc4` bigint COMMENT 'λ―Έμ¬μ©',
`num_etc5` bigint COMMENT 'None',
`num_etc6` bigint COMMENT 'λ―Έμ¬μ©',
`num_etc7` bigint COMMENT 'λ―Έμ¬μ©',
`num_etc8` bigint COMMENT 'λ―Έμ¬μ©',
`num_etc9` bigint COMMENT 'λ―Έμ¬μ©',
`num_etc10` bigint COMMENT 'λ―Έμ¬μ©',
`num_etc11` bigint COMMENT 'λ―Έμ¬μ©',
`work_ymd` string COMMENT 'κΈ°μ€μΌμ',
`game_cd` string COMMENT 'κ²μ μ½λ'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_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 `pc_poker_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": "pc_poker_dw", "table": "sg_po_v1_objr_game_sm01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "mm_ucnt", "type": "bigint", "description": null}, {"name": "mm_strt_hld_mony", "type": "double", "description": null}, {"name": "mm_end_hld_mony", "type": "double", "description": null}, {"name": "v1_win_tcnt", "type": "bigint", "description": null}, {"name": "v1_los_tcnt", "type": "bigint", "description": null}, {"name": "v1_win_pcnt", "type": "bigint", "description": null}, {"name": "v1_los_pcnt", "type": "bigint", "description": null}, {"name": "v1_win_mony", "type": "double", "description": null}, {"name": "v1_los_mony", "type": "double", "description": null}, {"name": "v1_vit_dcnt", "type": "bigint", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "avt_samt", "type": "double", "description": null}, {"name": "item_samt", "type": "double", "description": null}, {"name": "fxsums_samt", "type": "double", "description": null}, {"name": "work_ym", "type": "string", "description": null}, {"name": "is_opponent_v1", "type": "string", "description": null}, {"name": "cm_ucnt", "type": "bigint", "description": null}, {"name": "mm_new_ucnt", "type": "bigint", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_v1_objr_game_sm01` (
`game_cd` string COMMENT 'None',
`mm_ucnt` bigint COMMENT 'None',
`mm_strt_hld_mony` double COMMENT 'None',
`mm_end_hld_mony` double COMMENT 'None',
`v1_win_tcnt` bigint COMMENT 'None',
`v1_los_tcnt` bigint COMMENT 'None',
`v1_win_pcnt` bigint COMMENT 'None',
`v1_los_pcnt` bigint COMMENT 'None',
`v1_win_mony` double COMMENT 'None',
`v1_los_mony` double COMMENT 'None',
`v1_vit_dcnt` bigint COMMENT 'None',
`samt` double COMMENT 'None',
`avt_samt` double COMMENT 'None',
`item_samt` double COMMENT 'None',
`fxsums_samt` double COMMENT 'None',
`work_ym` string COMMENT 'None',
`is_opponent_v1` string COMMENT 'None',
`cm_ucnt` bigint COMMENT 'None',
`mm_new_ucnt` bigint COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_po_v1_objr_sm01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "cm_objr_cnt", "type": "bigint", "description": null}, {"name": "tmm_objr_cnt", "type": "bigint", "description": null}, {"name": "new_objr_cnt", "type": "bigint", "description": null}, {"name": "cmbck_objr_cnt", "type": "bigint", "description": null}, {"name": "secd_objr_cnt", "type": "bigint", "description": null}, {"name": "cntnu_objr_cnt", "type": "bigint", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "new_samt", "type": "double", "description": null}, {"name": "cmbck_samt", "type": "double", "description": null}, {"name": "secd_samt", "type": "double", "description": null}, {"name": "cntnu_samt", "type": "double", "description": null}, {"name": "avt_samt", "type": "double", "description": null}, {"name": "item_samt", "type": "double", "description": null}, {"name": "fxsums_samt", "type": "double", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_v1_objr_sm01` (
`game_cd` string COMMENT 'None',
`cm_objr_cnt` bigint COMMENT 'None',
`tmm_objr_cnt` bigint COMMENT 'None',
`new_objr_cnt` bigint COMMENT 'None',
`cmbck_objr_cnt` bigint COMMENT 'None',
`secd_objr_cnt` bigint COMMENT 'None',
`cntnu_objr_cnt` bigint COMMENT 'None',
`samt` double COMMENT 'None',
`new_samt` double COMMENT 'None',
`cmbck_samt` double COMMENT 'None',
`secd_samt` double COMMENT 'None',
`cntnu_samt` double COMMENT 'None',
`avt_samt` double COMMENT 'None',
`item_samt` double COMMENT 'None',
`fxsums_samt` double COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_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 `pc_poker_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": "pc_poker_dw", "table": "sg_std_indr_sm01", "description": null, "columns": [{"name": "lcls_cd", "type": "string", "description": null}, {"name": "mcls_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "mcls_nm", "type": "string", "description": null}, {"name": "game_nm", "type": "string", "description": null}, {"name": "mm_ucnt", "type": "bigint", "description": null}, {"name": "cntnu_ucnt", "type": "bigint", "description": null}, {"name": "secd_ucnt", "type": "bigint", "description": null}, {"name": "cmbck_ucnt", "type": "bigint", "description": null}, {"name": "vst_dcnt", "type": "bigint", "description": null}, {"name": "prncp_certi_yn", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_std_indr_sm01` (
`lcls_cd` string COMMENT 'None',
`mcls_cd` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`org_cd` string COMMENT 'None',
`lcls_nm` string COMMENT 'None',
`mcls_nm` string COMMENT 'None',
`game_nm` string COMMENT 'None',
`mm_ucnt` bigint COMMENT 'None',
`cntnu_ucnt` bigint COMMENT 'None',
`secd_ucnt` bigint COMMENT 'None',
`cmbck_ucnt` bigint COMMENT 'None',
`vst_dcnt` bigint COMMENT 'None',
`prncp_certi_yn` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`os_cd` string COMMENT 'None',
`ltr_etc1` string COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dc_grp_cd_d01", "description": null, "columns": [{"name": "grp_cd", "type": "string", "description": "κ·Έλ£Ή μ½λ"}, {"name": "grp_nm", "type": "string", "description": "κ·Έλ£Ή μ΄λ¦"}, {"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": "λ―Έμ¬μ©"}, {"name": "grp_mcls_cd", "type": "string", "description": "λ―Έμ¬μ©"}, {"name": "grp_desc", "type": "string", "description": null}, {"name": "end_ymd", "type": "string", "description": "μ’
λ£μΌμ"}, {"name": "rgst_dt", "type": "string", "description": "λ±λ‘μΌμ"}, {"name": "rgstr", "type": "string", "description": "λ±λ‘μ"}, {"name": "lst_mod_dt", "type": "string", "description": "λ§μ§λ§μμ μΌμ"}, {"name": "fdw_use_yn", "type": "string", "description": null}, {"name": "modr", "type": "string", "description": null}, {"name": "del_yn", "type": "string", "description": "μ κ±° μ¬λΆ"}, {"name": "game_cd", "type": "string", "description": "κ²μ μ½λ"}, {"name": "work_ymd", "type": "string", "description": "κΈ°μ€μΌμ"}]}
|
CREATE TABLE `pc_poker_dw`.`dc_grp_cd_d01` (
`grp_cd` string COMMENT 'κ·Έλ£Ή μ½λ',
`grp_nm` string COMMENT 'κ·Έλ£Ή μ΄λ¦',
`grp_eng_nm` string COMMENT 'None',
`cd_len` string COMMENT 'None',
`cd_tp_cd` string COMMENT 'None',
`grp_scls_cd` string COMMENT 'λ―Έμ¬μ©',
`grp_mcls_cd` string COMMENT 'λ―Έμ¬μ©',
`grp_desc` string COMMENT 'None',
`end_ymd` string COMMENT 'μ’
λ£μΌμ',
`rgst_dt` string COMMENT 'λ±λ‘μΌμ',
`rgstr` string COMMENT 'λ±λ‘μ',
`lst_mod_dt` string COMMENT 'λ§μ§λ§μμ μΌμ',
`fdw_use_yn` string COMMENT 'None',
`modr` string COMMENT 'None',
`del_yn` string COMMENT 'μ κ±° μ¬λΆ',
`game_cd` string COMMENT 'κ²μ μ½λ',
`work_ymd` string COMMENT 'κΈ°μ€μΌμ'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_chnl_cd", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "strt_ymd", "type": "string", "description": null}, {"name": "chnl_nm", "type": "string", "description": null}, {"name": "chnl_tp_cd", "type": "string", "description": null}, {"name": "chnl_tp_nm", "type": "string", "description": null}, {"name": "gameid", "type": "string", "description": null}, {"name": "end_ymd", "type": "string", "description": null}, {"name": "bip1_chnl_tp_cd", "type": "string", "description": null}, {"name": "bip1_chnl_cd", "type": "string", "description": null}, {"name": "upr_chnl_yn", "type": "string", "description": null}, {"name": "game_tp_nm", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_chnl_cd` (
`game_cd` string COMMENT 'None',
`chnl_cd` string COMMENT 'None',
`strt_ymd` string COMMENT 'None',
`chnl_nm` string COMMENT 'None',
`chnl_tp_cd` string COMMENT 'None',
`chnl_tp_nm` string COMMENT 'None',
`gameid` string COMMENT 'None',
`end_ymd` string COMMENT 'None',
`bip1_chnl_tp_cd` string COMMENT 'None',
`bip1_chnl_cd` string COMMENT 'None',
`upr_chnl_yn` string COMMENT 'None',
`game_tp_nm` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_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 `pc_poker_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": "pc_poker_dw", "table": "md_tbl_d01", "description": null, "columns": [{"name": "dbname", "type": "string", "description": null}, {"name": "tbl_nm", "type": "string", "description": null}, {"name": "entt_nm", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "tbl_tp_cd", "type": "string", "description": null}, {"name": "tbl_stat_cd", "type": "string", "description": null}, {"name": "work_hh", "type": "string", "description": null}, {"name": "sms_chk_yn", "type": "string", "description": null}, {"name": "strt_ymd", "type": "string", "description": null}, {"name": "tbl_desc", "type": "string", "description": null}, {"name": "log_date", "type": "timestamp", "description": null}, {"name": "stats_yn", "type": "string", "description": null}, {"name": "prttn_col_nm", "type": "string", "description": null}, {"name": "kpg_cyc", "type": "int", "description": null}, {"name": "data_cre_chrgr", "type": "string", "description": null}, {"name": "data_trnsf_chrgr", "type": "string", "description": null}, {"name": "trnsf_mthd", "type": "string", "description": null}, {"name": "svc_tp_cd", "type": "string", "description": null}, {"name": "end_ymd", "type": "string", "description": null}, {"name": "cln_cnt", "type": "bigint", "description": null}, {"name": "data_tp_cd", "type": "string", "description": null}, {"name": "rgst_date", "type": "timestamp", "description": null}, {"name": "rgstr", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`md_tbl_d01` (
`dbname` string COMMENT 'None',
`tbl_nm` string COMMENT 'None',
`entt_nm` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`tbl_tp_cd` string COMMENT 'None',
`tbl_stat_cd` string COMMENT 'None',
`work_hh` string COMMENT 'None',
`sms_chk_yn` string COMMENT 'None',
`strt_ymd` string COMMENT 'None',
`tbl_desc` string COMMENT 'None',
`log_date` timestamp COMMENT 'None',
`stats_yn` string COMMENT 'None',
`prttn_col_nm` string COMMENT 'None',
`kpg_cyc` int COMMENT 'None',
`data_cre_chrgr` string COMMENT 'None',
`data_trnsf_chrgr` string COMMENT 'None',
`trnsf_mthd` string COMMENT 'None',
`svc_tp_cd` string COMMENT 'None',
`end_ymd` string COMMENT 'None',
`cln_cnt` bigint COMMENT 'None',
`data_tp_cd` string COMMENT 'None',
`rgst_date` timestamp COMMENT 'None',
`rgstr` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_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 `pc_poker_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": "pc_poker_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 `pc_poker_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": "pc_poker_dw", "table": "bigamestct", "description": null, "columns": [{"name": "logdte", "type": "string", "description": null}, {"name": "gameid", "type": "string", "description": null}, {"name": "maxcnt", "type": "bigint", "description": null}, {"name": "maxdate", "type": "string", "description": null}, {"name": "mincnt", "type": "bigint", "description": null}, {"name": "sumcnt", "type": "bigint", "description": null}, {"name": "chccnt", "type": "bigint", "description": null}, {"name": "maxlcnt", "type": "bigint", "description": null}, {"name": "maxldate", "type": "string", "description": null}, {"name": "minlcnt", "type": "bigint", "description": null}, {"name": "sumlcnt", "type": "bigint", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "chnl_nm", "type": "string", "description": null}, {"name": "summery_lv", "type": "bigint", "description": null}, {"name": "channelid", "type": "string", "description": null}, {"name": "subid", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`bigamestct` (
`logdte` string COMMENT 'None',
`gameid` string COMMENT 'None',
`maxcnt` bigint COMMENT 'None',
`maxdate` string COMMENT 'None',
`mincnt` bigint COMMENT 'None',
`sumcnt` bigint COMMENT 'None',
`chccnt` bigint COMMENT 'None',
`maxlcnt` bigint COMMENT 'None',
`maxldate` string COMMENT 'None',
`minlcnt` bigint COMMENT 'None',
`sumlcnt` bigint COMMENT 'None',
`game_cd` string COMMENT 'None',
`work_ymd` string COMMENT 'None',
`chnl_nm` string COMMENT 'None',
`summery_lv` bigint COMMENT 'None',
`channelid` string COMMENT 'None',
`subid` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_mony_chg_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": "κ²μμ½λ"}, {"name": "out_in_tp_cd", "type": "string", "description": "ex)\nP\nM\nZ"}, {"name": "mony_cd", "type": "string", "description": "λ¨Έλ κ΅¬λΆ μ½λ\n\nex)\nND00595"}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "chg_mony", "type": "double", "description": null}, {"name": "chg_cnt", "type": "bigint", "description": null}, {"name": "mm_cm_ucnt", "type": "bigint", "description": null}, {"name": "mm_cm_chg_mony", "type": "double", "description": null}, {"name": "mm_cm_chg_cnt", "type": "bigint", "description": null}, {"name": "sumry_lv", "type": "bigint", "description": null}, {"name": "gds_tp_cd", "type": "string", "description": null}, {"name": "inflw_chnl_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": "κΈ°μ€ μΌμ"}]}
|
CREATE TABLE `pc_poker_dw`.`sg_mony_chg_sd01` (
`game_cd` string COMMENT 'κ²μμ½λ',
`out_in_tp_cd` string COMMENT 'ex)
P
M
Z',
`mony_cd` string COMMENT 'λ¨Έλ κ΅¬λΆ μ½λ
ex)
ND00595',
`ucnt` bigint COMMENT 'None',
`chg_mony` double COMMENT 'None',
`chg_cnt` bigint COMMENT 'None',
`mm_cm_ucnt` bigint COMMENT 'None',
`mm_cm_chg_mony` double COMMENT 'None',
`mm_cm_chg_cnt` bigint COMMENT 'None',
`sumry_lv` bigint COMMENT 'None',
`gds_tp_cd` string COMMENT 'None',
`inflw_chnl_cd` string COMMENT 'None',
`work_ymd` string COMMENT 'κΈ°μ€ μΌμ'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_cmbck_cntu_use_sd01", "description": null, "columns": [{"name": "strt_ymd", "type": "string", "description": "μ»΄λ°±μΌμ"}, {"name": "game_cd", "type": "string", "description": "κ²μ μ½λ"}, {"name": "dd_use_cyc", "type": "bigint", "description": "μ¬μ© μΈμ΄ν΄"}, {"name": "dd_ucnt", "type": "bigint", "description": "κ°μ₯ λ§μ§λ§ κ²μ μΌμκ° μ΄μ μΈ μ¬λλ€μ μ"}, {"name": "dd_pcnt", "type": "bigint", "description": "κ°μ₯ λ§μ§λ§ κ²μ μΌμκ° μ΄μ μΈ μ¬λλ€μ κ²μ νμ"}, {"name": "dd_ptm", "type": "double", "description": "λ―Έμ¬μ© 컬λΌ"}, {"name": "dd_stm", "type": "double", "description": "λ―Έμ¬μ© 컬λΌ"}, {"name": "work_ymd", "type": "string", "description": "κΈ°μ€ μΌμ"}]}
|
CREATE TABLE `pc_poker_dw`.`sg_cmbck_cntu_use_sd01` (
`strt_ymd` string COMMENT 'μ»΄λ°±μΌμ',
`game_cd` string COMMENT 'κ²μ μ½λ',
`dd_use_cyc` bigint COMMENT 'μ¬μ© μΈμ΄ν΄',
`dd_ucnt` bigint COMMENT 'κ°μ₯ λ§μ§λ§ κ²μ μΌμκ° μ΄μ μΈ μ¬λλ€μ μ',
`dd_pcnt` bigint COMMENT 'κ°μ₯ λ§μ§λ§ κ²μ μΌμκ° μ΄μ μΈ μ¬λλ€μ κ²μ νμ',
`dd_ptm` double COMMENT 'λ―Έμ¬μ© 컬λΌ',
`dd_stm` double COMMENT 'λ―Έμ¬μ© 컬λΌ',
`work_ymd` string COMMENT 'κΈ°μ€ μΌμ'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "db_shop_pay_path_hist", "description": null, "columns": [{"name": "log_dt", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "pay_path", "type": "string", "description": null}, {"name": "pay_seq", "type": "string", "description": null}, {"name": "web_clnt_tp_cd", "type": "string", "description": null}, {"name": "rep_game_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`db_shop_pay_path_hist` (
`log_dt` string COMMENT 'None',
`userid` string COMMENT 'None',
`pay_path` string COMMENT 'None',
`pay_seq` string COMMENT 'None',
`web_clnt_tp_cd` string COMMENT 'None',
`rep_game_cd` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sb_shop_pay_path_sd01", "description": null, "columns": [{"name": "work_ym", "type": "string", "description": "μ§κ³μ\nex) 202201"}, {"name": "web_clnt_tp_cd", "type": "string", "description": "ꡬ맀 κ²½λ‘μ λν μ½λ\t\nex)WEB or CLIENT"}, {"name": "rep_game_cd", "type": "string", "description": "μμ κ²μ μ½λ\t\nex)G002(ν¬μ»€μ 체)"}, {"name": "game_cd", "type": "string", "description": "νμ κ²μ μ½λ\t\nex)\nG035 - λΌμ€λ² κ°μ€ ν¬μ»€\nG030 - 7ν¬μ»€\nG040 - νμ΄λ‘μ°2"}, {"name": "prod_seq", "type": "string", "description": "μν λ²νΈ\t\nex)40012827"}, {"name": "sumry_lv", "type": "bigint", "description": "#sumry_lv=1 : κ²μλ³\n#sumry_lv=3 : κ²μλ³, λ§μΌλ³ \n #sumry_lv=5 : κ²μλ³, λ§μΌλ³, μνλ³ \n #sumry_lv=7 : κ²μλ³, λ§μΌλ³,μνλ³, λ 벨, λΉμκΈμ‘λ, λμ κΈμ‘λ"}, {"name": "samt", "type": "double", "description": "μν κ°κ²©"}, {"name": "nsamt", "type": "double", "description": "λΆκ°μΈλ₯Ό μ μΈν μν κ°κ²©"}, {"name": "sale_cnt", "type": "bigint", "description": "νλ§€ 건μ"}, {"name": "pu", "type": "bigint", "description": "ꡬ맀 μ΄μ©μ μ"}, {"name": "work_ymd", "type": "string", "description": "κΈ°μ€μΌμ - νν°μ
\nex)20220119"}]}
|
CREATE TABLE `pc_poker_dw`.`sb_shop_pay_path_sd01` (
`work_ym` string COMMENT 'μ§κ³μ
ex) 202201',
`web_clnt_tp_cd` string COMMENT 'ꡬ맀 κ²½λ‘μ λν μ½λ
ex)WEB or CLIENT',
`rep_game_cd` string COMMENT 'μμ κ²μ μ½λ
ex)G002(ν¬μ»€μ 체)',
`game_cd` string COMMENT 'νμ κ²μ μ½λ
ex)
G035 - λΌμ€λ² κ°μ€ ν¬μ»€
G030 - 7ν¬μ»€
G040 - νμ΄λ‘μ°2',
`prod_seq` string COMMENT 'μν λ²νΈ
ex)40012827',
`sumry_lv` bigint COMMENT '#sumry_lv=1 : κ²μλ³
#sumry_lv=3 : κ²μλ³, λ§μΌλ³
#sumry_lv=5 : κ²μλ³, λ§μΌλ³, μνλ³
#sumry_lv=7 : κ²μλ³, λ§μΌλ³,μνλ³, λ 벨, λΉμκΈμ‘λ, λμ κΈμ‘λ',
`samt` double COMMENT 'μν κ°κ²©',
`nsamt` double COMMENT 'λΆκ°μΈλ₯Ό μ μΈν μν κ°κ²©',
`sale_cnt` bigint COMMENT 'νλ§€ 건μ',
`pu` bigint COMMENT 'ꡬ맀 μ΄μ©μ μ',
`work_ymd` string COMMENT 'κΈ°μ€μΌμ - νν°μ
ex)20220119'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_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 `pc_poker_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": "pc_poker_dw", "table": "sg_po_game_user_sd04", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "clnt_cd", "type": "string", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "game_pcnt", "type": "bigint", "description": null}, {"name": "win_mony", "type": "double", "description": null}, {"name": "los_mony", "type": "double", "description": null}, {"name": "dealr_mony", "type": "double", "description": null}, {"name": "allin_tcnt", "type": "bigint", "description": null}, {"name": "allin_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_game_user_sd04` (
`game_cd` string COMMENT 'None',
`clnt_cd` string COMMENT 'None',
`ucnt` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`game_pcnt` bigint COMMENT 'None',
`win_mony` double COMMENT 'None',
`los_mony` double COMMENT 'None',
`dealr_mony` double COMMENT 'None',
`allin_tcnt` bigint COMMENT 'None',
`allin_ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "db_prod_sale_hist", "description": null, "columns": [{"name": "work_hh", "type": "string", "description": "ꡬ맀 μλΆμ΄\n\nex)\n025643\n=> 02:56:43"}, {"name": "pay_chnl_cd", "type": "string", "description": "ꡬ맀 μ±λ μ½λ\n\nex)\nHG"}, {"name": "userid", "type": "string", "description": "μ¬μ©μ μμ΄λ"}, {"name": "prod_seq", "type": "string", "description": "μν μνμ€\n\nex)\n11015806"}, {"name": "pay_tp_cd", "type": "string", "description": "case when b.chnl in ('HG') then --,'HP' μ’
λ£\n case when a.pgid = '80005' then '1' \n when f.cpid = 'HG_HANCOIN' then '3' else '2' end \n when b.chnl = 'TP' then \n case when a.pgid = '80145' then '1' \n when f.cpid = 'TPCOIN' then '3' else '2' end\n when b.chnl in ('HS','HB','MB','GF','HT','CA') then '2' -- λΆλ―Έν¬ν¨ 'HS'\n\n\nex)\n1,\n2"}, {"name": "pay_mns_cd", "type": "string", "description": "pg μ½λ"}, {"name": "atmt_pay_yn", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": "ex)\nHG"}, {"name": "samt", "type": "double", "description": "μν κ°κ²©"}, {"name": "nsamt", "type": "double", "description": "λΆκ°μΈ μ μΈ μνκ°κ²©"}, {"name": "sale_cnt", "type": "bigint", "description": "νλ§€ κ°―μ"}, {"name": "noml_amt", "type": "double", "description": "μν κ°κ²©"}, {"name": "noml_cnt", "type": "bigint", "description": null}, {"name": "canc_amt", "type": "double", "description": null}, {"name": "canc_cnt", "type": "bigint", "description": null}, {"name": "userno", "type": "bigint", "description": "μ μ λ²νΈ"}, {"name": "custno", "type": "bigint", "description": "κ³ κ°λ²νΈ"}, {"name": "fre_samt", "type": "double", "description": null}, {"name": "fre_nsamt", "type": "double", "description": null}, {"name": "net_noml_amt", "type": "double", "description": null}, {"name": "net_canc_amt", "type": "double", "description": null}, {"name": "pay_mnsid", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": "κ²μ λ±κΈ μ½λ"}, {"name": "nat_cd", "type": "string", "description": "κ΅κ° μ½λ"}, {"name": "samt_jpy", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": "κΈ°μ€μΌμ"}]}
|
CREATE TABLE `pc_poker_dw`.`db_prod_sale_hist` (
`work_hh` string COMMENT 'ꡬ맀 μλΆμ΄
ex)
025643
=> 02:56:43',
`pay_chnl_cd` string COMMENT 'ꡬ맀 μ±λ μ½λ
ex)
HG',
`userid` string COMMENT 'μ¬μ©μ μμ΄λ',
`prod_seq` string COMMENT 'μν μνμ€
ex)
11015806',
`pay_tp_cd` string COMMENT 'case when b.chnl in ('HG') then --,'HP' μ’
λ£
case when a.pgid = '80005' then '1'
when f.cpid = 'HG_HANCOIN' then '3' else '2' end
when b.chnl = 'TP' then
case when a.pgid = '80145' then '1'
when f.cpid = 'TPCOIN' then '3' else '2' end
when b.chnl in ('HS','HB','MB','GF','HT','CA') then '2' -- λΆλ―Έν¬ν¨ 'HS'
ex)
1,
2',
`pay_mns_cd` string COMMENT 'pg μ½λ',
`atmt_pay_yn` string COMMENT 'None',
`st_cd` string COMMENT 'ex)
HG',
`samt` double COMMENT 'μν κ°κ²©',
`nsamt` double COMMENT 'λΆκ°μΈ μ μΈ μνκ°κ²©',
`sale_cnt` bigint COMMENT 'νλ§€ κ°―μ',
`noml_amt` double COMMENT 'μν κ°κ²©',
`noml_cnt` bigint COMMENT 'None',
`canc_amt` double COMMENT 'None',
`canc_cnt` bigint COMMENT 'None',
`userno` bigint COMMENT 'μ μ λ²νΈ',
`custno` bigint COMMENT 'κ³ κ°λ²νΈ',
`fre_samt` double COMMENT 'None',
`fre_nsamt` double COMMENT 'None',
`net_noml_amt` double COMMENT 'None',
`net_canc_amt` double COMMENT 'None',
`pay_mnsid` string COMMENT 'None',
`game_grd_cd` string COMMENT 'κ²μ λ±κΈ μ½λ',
`nat_cd` string COMMENT 'κ΅κ° μ½λ',
`samt_jpy` double COMMENT 'None',
`work_ymd` string COMMENT 'κΈ°μ€μΌμ'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dc_prod_cd_mtr", "description": null, "columns": [{"name": "prod_seq", "type": "string", "description": null}, {"name": "prodid", "type": "string", "description": null}, {"name": "prod_nm", "type": "string", "description": null}, {"name": "sale_cd", "type": "string", "description": null}, {"name": "sale2_cd", "type": "string", "description": null}, {"name": "cpid", "type": "string", "description": null}, {"name": "cp_nm", "type": "string", "description": null}, {"name": "svc_seq", "type": "string", "description": null}, {"name": "svc_nm", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "stat_cd", "type": "string", "description": null}, {"name": "age_rstct_cd", "type": "string", "description": null}, {"name": "rlnm_certi_yn", "type": "string", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}, {"name": "use_prd_tp_cd", "type": "string", "description": null}, {"name": "intnl_dvlp_yn", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dc_prod_cd_mtr` (
`prod_seq` string COMMENT 'None',
`prodid` string COMMENT 'None',
`prod_nm` string COMMENT 'None',
`sale_cd` string COMMENT 'None',
`sale2_cd` string COMMENT 'None',
`cpid` string COMMENT 'None',
`cp_nm` string COMMENT 'None',
`svc_seq` string COMMENT 'None',
`svc_nm` string COMMENT 'None',
`chnl_cd` string COMMENT 'None',
`stat_cd` string COMMENT 'None',
`age_rstct_cd` string COMMENT 'None',
`rlnm_certi_yn` string COMMENT 'None',
`rgst_dt` string COMMENT 'None',
`use_prd_tp_cd` string COMMENT 'None',
`intnl_dvlp_yn` string COMMENT 'None',
`org_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_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 `pc_poker_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": "pc_poker_dw", "table": "db_endp_sale_d01", "description": null, "columns": [{"name": "pay_chnl_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "sale_cd", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "samt_jpy", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`db_endp_sale_d01` (
`pay_chnl_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`sale_cd` string COMMENT 'None',
`st_cd` string COMMENT 'None',
`samt` double COMMENT 'None',
`nsamt` double COMMENT 'None',
`sale_cnt` bigint COMMENT 'None',
`userno` bigint COMMENT 'None',
`custno` bigint COMMENT 'None',
`samt_jpy` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "db_endp_sale_hist", "description": null, "columns": [{"name": "pay_chnl_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "sale_cd", "type": "string", "description": null}, {"name": "prod_seq", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "custno", "type": "string", "description": null}, {"name": "samt_jpy", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`db_endp_sale_hist` (
`pay_chnl_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`sale_cd` string COMMENT 'None',
`prod_seq` string COMMENT 'None',
`st_cd` string COMMENT 'None',
`samt` double COMMENT 'None',
`nsamt` double COMMENT 'None',
`sale_cnt` bigint COMMENT 'None',
`userno` string COMMENT 'None',
`custno` string COMMENT 'None',
`samt_jpy` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dc_mbrs_prod_cd_mtr", "description": null, "columns": [{"name": "prodid", "type": "string", "description": null}, {"name": "prod_nm", "type": "string", "description": null}, {"name": "grpid", "type": "string", "description": null}, {"name": "grp_nm", "type": "string", "description": null}, {"name": "svcid", "type": "string", "description": null}, {"name": "svc_nm", "type": "string", "description": null}, {"name": "plus_tp_cd", "type": "string", "description": null}, {"name": "mbrs_tp_cd", "type": "string", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}, {"name": "end_dt", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dc_mbrs_prod_cd_mtr` (
`prodid` string COMMENT 'None',
`prod_nm` string COMMENT 'None',
`grpid` string COMMENT 'None',
`grp_nm` string COMMENT 'None',
`svcid` string COMMENT 'None',
`svc_nm` string COMMENT 'None',
`plus_tp_cd` string COMMENT 'None',
`mbrs_tp_cd` string COMMENT 'None',
`rgst_dt` string COMMENT 'None',
`end_dt` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sb_mbrs_lcns_sd01", "description": null, "columns": [{"name": "item_id", "type": "string", "description": null}, {"name": "status_cd", "type": "string", "description": null}, {"name": "detail_status_cd", "type": "string", "description": null}, {"name": "usergb", "type": "string", "description": null}, {"name": "agegb", "type": "string", "description": null}, {"name": "sex", "type": "string", "description": null}, {"name": "region", "type": "string", "description": null}, {"name": "join_prd_tp_cd", "type": "string", "description": null}, {"name": "lst_prd_tp_cd", "type": "string", "description": null}, {"name": "grp_cntnu_use_gb_cd", "type": "string", "description": null}, {"name": "pkg_tp_cd", "type": "string", "description": null}, {"name": "pkg_id", "type": "string", "description": null}, {"name": "ag_user_cnt", "type": "bigint", "description": null}, {"name": "valid_user_cnt", "type": "bigint", "description": null}, {"name": "reg_dt", "type": "string", "description": null}, {"name": "item_cntnu_use_gb_cd", "type": "string", "description": null}, {"name": "new_join_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sb_mbrs_lcns_sd01` (
`item_id` string COMMENT 'None',
`status_cd` string COMMENT 'None',
`detail_status_cd` string COMMENT 'None',
`usergb` string COMMENT 'None',
`agegb` string COMMENT 'None',
`sex` string COMMENT 'None',
`region` string COMMENT 'None',
`join_prd_tp_cd` string COMMENT 'None',
`lst_prd_tp_cd` string COMMENT 'None',
`grp_cntnu_use_gb_cd` string COMMENT 'None',
`pkg_tp_cd` string COMMENT 'None',
`pkg_id` string COMMENT 'None',
`ag_user_cnt` bigint COMMENT 'None',
`valid_user_cnt` bigint COMMENT 'None',
`reg_dt` string COMMENT 'None',
`item_cntnu_use_gb_cd` string COMMENT 'None',
`new_join_ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_evnt_user_point_hist", "description": null, "columns": [{"name": "event_key", "type": "string", "description": null}, {"name": "user_key", "type": "string", "description": null}, {"name": "amount", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_evnt_user_point_hist` (
`event_key` string COMMENT 'None',
`user_key` string COMMENT 'None',
`amount` 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_league_hist", "description": null, "columns": [{"name": "league_grade", "type": "int", "description": null}, {"name": "user_id", "type": "string", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "use_mony", "type": "double", "description": null}, {"name": "get_pnt", "type": "bigint", "description": null}, {"name": "exht_pnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "seq_year_round", "type": "bigint", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_po_league_hist` (
`league_grade` int COMMENT 'None',
`user_id` string COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`use_mony` double COMMENT 'None',
`get_pnt` bigint COMMENT 'None',
`exht_pnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None',
`seq_year_round` bigint COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_po_league_user_d01", "description": null, "columns": [{"name": "seq_year_round", "type": "int", "description": null}, {"name": "user_id", "type": "string", "description": null}, {"name": "rnk_aply_dt", "type": "string", "description": null}, {"name": "user_no", "type": "string", "description": null}, {"name": "league_grade", "type": "int", "description": null}, {"name": "league_id", "type": "int", "description": null}, {"name": "pnt", "type": "bigint", "description": null}, {"name": "grade_state", "type": "int", "description": null}, {"name": "reward_mony", "type": "bigint", "description": null}, {"name": "reward_shop_pnt", "type": "bigint", "description": null}, {"name": "receive_reward", "type": "int", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_po_league_user_d01` (
`seq_year_round` int COMMENT 'None',
`user_id` string COMMENT 'None',
`rnk_aply_dt` string COMMENT 'None',
`user_no` string COMMENT 'None',
`league_grade` int COMMENT 'None',
`league_id` int COMMENT 'None',
`pnt` bigint COMMENT 'None',
`grade_state` int COMMENT 'None',
`reward_mony` bigint COMMENT 'None',
`reward_shop_pnt` bigint COMMENT 'None',
`receive_reward` int 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_league_sd01", "description": null, "columns": [{"name": "seq_year_round", "type": "int", "description": null}, {"name": "league_grade", "type": "int", "description": null}, {"name": "group_cnt", "type": "int", "description": null}, {"name": "game_pcnt", "type": "bigint", "description": null}, {"name": "game_ncnt", "type": "bigint", "description": null}, {"name": "game_rcnt", "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": "user_pcnt", "type": "bigint", "description": null}, {"name": "use_mony", "type": "double", "description": null}, {"name": "reward_mony", "type": "bigint", "description": null}, {"name": "reward_shop_pnt", "type": "bigint", "description": null}, {"name": "exht_evnt_pnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_league_sd01` (
`seq_year_round` int COMMENT 'None',
`league_grade` int COMMENT 'None',
`group_cnt` int COMMENT 'None',
`game_pcnt` bigint COMMENT 'None',
`game_ncnt` bigint COMMENT 'None',
`game_rcnt` bigint COMMENT 'None',
`game_ucnt` bigint COMMENT 'None',
`get_pnt` bigint COMMENT 'None',
`exht_pnt` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`use_mony` double COMMENT 'None',
`reward_mony` bigint COMMENT 'None',
`reward_shop_pnt` bigint COMMENT 'None',
`exht_evnt_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": "db_mbrs_lcns_d01", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "prodid", "type": "string", "description": null}, {"name": "stat_cd", "type": "string", "description": null}, {"name": "dtl_stat_cd", "type": "string", "description": null}, {"name": "lcns_strt_ymd", "type": "string", "description": null}, {"name": "lcns_end_ymd", "type": "string", "description": null}, {"name": "grp_fst_rgst_ymd", "type": "string", "description": null}, {"name": "payno", "type": "bigint", "description": null}, {"name": "lst_lcns_seq", "type": "bigint", "description": null}, {"name": "pkgid", "type": "string", "description": null}, {"name": "mv_pkgid", "type": "string", "description": null}, {"name": "pay_tp_cd", "type": "string", "description": null}, {"name": "pay_mns_cd", "type": "string", "description": null}, {"name": "grp_cntnu_use_mcnt", "type": "bigint", "description": null}, {"name": "prod_cntnu_use_mcnt", "type": "bigint", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`db_mbrs_lcns_d01` (
`userid` string COMMENT 'None',
`prodid` string COMMENT 'None',
`stat_cd` string COMMENT 'None',
`dtl_stat_cd` string COMMENT 'None',
`lcns_strt_ymd` string COMMENT 'None',
`lcns_end_ymd` string COMMENT 'None',
`grp_fst_rgst_ymd` string COMMENT 'None',
`payno` bigint COMMENT 'None',
`lst_lcns_seq` bigint COMMENT 'None',
`pkgid` string COMMENT 'None',
`mv_pkgid` string COMMENT 'None',
`pay_tp_cd` string COMMENT 'None',
`pay_mns_cd` string COMMENT 'None',
`grp_cntnu_use_mcnt` bigint COMMENT 'None',
`prod_cntnu_use_mcnt` bigint COMMENT 'None',
`rgst_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": "dc_mbrs_pkg_cd_mtr", "description": null, "columns": [{"name": "pkgid", "type": "string", "description": null}, {"name": "prodid", "type": "string", "description": null}, {"name": "pkg_nm", "type": "string", "description": null}, {"name": "fee", "type": "double", "description": null}, {"name": "fee_tp_cd", "type": "string", "description": null}, {"name": "prd_cd", "type": "string", "description": null}, {"name": "prd_tp_cd", "type": "string", "description": null}, {"name": "prd", "type": "bigint", "description": null}, {"name": "sale_tp_cd", "type": "string", "description": null}, {"name": "atmt_pay_tp_cd", "type": "string", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}, {"name": "end_dt", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dc_mbrs_pkg_cd_mtr` (
`pkgid` string COMMENT 'None',
`prodid` string COMMENT 'None',
`pkg_nm` string COMMENT 'None',
`fee` double COMMENT 'None',
`fee_tp_cd` string COMMENT 'None',
`prd_cd` string COMMENT 'None',
`prd_tp_cd` string COMMENT 'None',
`prd` bigint COMMENT 'None',
`sale_tp_cd` string COMMENT 'None',
`atmt_pay_tp_cd` string COMMENT 'None',
`rgst_dt` string COMMENT 'None',
`end_dt` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_casino_dup_user_d01", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "po_game_cd", "type": "string", "description": null}, {"name": "hg_userid", "type": "string", "description": null}, {"name": "hg_custno", "type": "bigint", "description": null}, {"name": "hg_userno", "type": "string", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "po_join_dt", "type": "string", "description": null}, {"name": "po_join_prd_cd", "type": "string", "description": null}, {"name": "po_lst_game_dt", "type": "string", "description": null}, {"name": "po_lst_game_prd_cd", "type": "string", "description": null}, {"name": "casino_join_dt", "type": "string", "description": null}, {"name": "casino_join_prd_cd", "type": "string", "description": null}, {"name": "casino_lst_game_dt", "type": "string", "description": null}, {"name": "casino_lst_game_prd_cd", "type": "string", "description": null}, {"name": "cm_pcnt", "type": "bigint", "description": null}, {"name": "tdd_pcnt", "type": "bigint", "description": null}, {"name": "hld_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_casino_dup_user_d01` (
`rep_game_cd` string COMMENT 'None',
`po_game_cd` string COMMENT 'None',
`hg_userid` string COMMENT 'None',
`hg_custno` bigint COMMENT 'None',
`hg_userno` string COMMENT 'None',
`idp_userno` string COMMENT 'None',
`po_join_dt` string COMMENT 'None',
`po_join_prd_cd` string COMMENT 'None',
`po_lst_game_dt` string COMMENT 'None',
`po_lst_game_prd_cd` string COMMENT 'None',
`casino_join_dt` string COMMENT 'None',
`casino_join_prd_cd` string COMMENT 'None',
`casino_lst_game_dt` string COMMENT 'None',
`casino_lst_game_prd_cd` string COMMENT 'None',
`cm_pcnt` bigint COMMENT 'None',
`tdd_pcnt` bigint COMMENT 'None',
`hld_mony` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_casino_game_hist", "description": null, "columns": [{"name": "match_no", "type": "bigint", "description": null}, {"name": "bet_pot", "type": "string", "description": null}, {"name": "game_type", "type": "bigint", "description": null}, {"name": "log_date", "type": "string", "description": null}, {"name": "chnl_cd", "type": "bigint", "description": null}, {"name": "room_id", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_casino_game_hist` (
`match_no` bigint COMMENT 'None',
`bet_pot` string COMMENT 'None',
`game_type` bigint COMMENT 'None',
`log_date` string COMMENT 'None',
`chnl_cd` bigint COMMENT 'None',
`room_id` 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_casino_game_hist_d01", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "chnl_cd", "type": "bigint", "description": null}, {"name": "game_type", "type": "bigint", "description": null}, {"name": "bet_pot", "type": "string", "description": null}, {"name": "game_pcnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_casino_game_hist_d01` (
`rep_game_cd` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`chnl_cd` bigint COMMENT 'None',
`game_type` bigint COMMENT 'None',
`bet_pot` string COMMENT 'None',
`game_pcnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_casino_user_hist", "description": null, "columns": [{"name": "match_no", "type": "bigint", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "chnl_cd", "type": "bigint", "description": null}, {"name": "log_dt", "type": "string", "description": null}, {"name": "bet_pot", "type": "string", "description": null}, {"name": "hand_cnt", "type": "bigint", "description": null}, {"name": "bet_gmony", "type": "bigint", "description": null}, {"name": "win_gmony", "type": "bigint", "description": null}, {"name": "result_gmony", "type": "bigint", "description": null}, {"name": "game_type", "type": "bigint", "description": null}, {"name": "min_bet", "type": "bigint", "description": null}, {"name": "device", "type": "string", "description": null}, {"name": "jackpot_money", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_casino_user_hist` (
`match_no` bigint COMMENT 'None',
`userid` string COMMENT 'None',
`chnl_cd` bigint COMMENT 'None',
`log_dt` string COMMENT 'None',
`bet_pot` string COMMENT 'None',
`hand_cnt` bigint COMMENT 'None',
`bet_gmony` bigint COMMENT 'None',
`win_gmony` bigint COMMENT 'None',
`result_gmony` bigint COMMENT 'None',
`game_type` bigint COMMENT 'None',
`min_bet` bigint COMMENT 'None',
`device` string COMMENT 'None',
`jackpot_money` 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_casino_user_hist_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": "chnl_cd", "type": "bigint", "description": null}, {"name": "bet_pot", "type": "string", "description": null}, {"name": "game_type", "type": "bigint", "description": null}, {"name": "hand_cnt", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "bet_gmony", "type": "bigint", "description": null}, {"name": "win_gmony", "type": "bigint", "description": null}, {"name": "allin_tcnt", "type": "bigint", "description": null}, {"name": "jackpot_money", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_casino_user_hist_d01` (
`rep_game_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`userno` bigint COMMENT 'None',
`custno` bigint COMMENT 'None',
`chnl_cd` bigint COMMENT 'None',
`bet_pot` string COMMENT 'None',
`game_type` bigint COMMENT 'None',
`hand_cnt` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`bet_gmony` bigint COMMENT 'None',
`win_gmony` bigint COMMENT 'None',
`allin_tcnt` bigint COMMENT 'None',
`jackpot_money` 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": "sb_pcb_sale_sd01", "description": null, "columns": [{"name": "game_id", "type": "string", "description": null}, {"name": "brofc_cd", "type": "string", "description": null}, {"name": "pcb_cnt", "type": "bigint", "description": null}, {"name": "exht_tm", "type": "bigint", "description": null}, {"name": "sale_amt", "type": "double", "description": null}, {"name": "rst_tm", "type": "double", "description": null}, {"name": "pcb_tp_cd", "type": "string", "description": null}, {"name": "cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sb_pcb_sale_sd01` (
`game_id` string COMMENT 'None',
`brofc_cd` string COMMENT 'None',
`pcb_cnt` bigint COMMENT 'None',
`exht_tm` bigint COMMENT 'None',
`sale_amt` double COMMENT 'None',
`rst_tm` double COMMENT 'None',
`pcb_tp_cd` string COMMENT 'None',
`cnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_casino_dup_user_sd01", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "po_game_cd", "type": "string", "description": null}, {"name": "whle_dup_ucnt", "type": "bigint", "description": null}, {"name": "tdd_dup_ucnt", "type": "bigint", "description": null}, {"name": "dup_casino_new_ucnt", "type": "bigint", "description": null}, {"name": "mm_cm_dup_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_casino_dup_user_sd01` (
`rep_game_cd` string COMMENT 'None',
`po_game_cd` string COMMENT 'None',
`whle_dup_ucnt` bigint COMMENT 'None',
`tdd_dup_ucnt` bigint COMMENT 'None',
`dup_casino_new_ucnt` bigint COMMENT 'None',
`mm_cm_dup_ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_casino_game_user_sd01", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "chnl_cd", "type": "bigint", "description": null}, {"name": "game_type", "type": "bigint", "description": null}, {"name": "bet_pot", "type": "string", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "game_pcnt", "type": "bigint", "description": null}, {"name": "bet_gmony", "type": "bigint", "description": null}, {"name": "win_gmony", "type": "bigint", "description": null}, {"name": "hand_cnt", "type": "bigint", "description": null}, {"name": "allin_tcnt", "type": "bigint", "description": null}, {"name": "allin_ucnt", "type": "bigint", "description": null}, {"name": "jackpot_money", "type": "bigint", "description": null}, {"name": "jackpot_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_casino_game_user_sd01` (
`rep_game_cd` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`chnl_cd` bigint COMMENT 'None',
`game_type` bigint COMMENT 'None',
`bet_pot` string COMMENT 'None',
`ucnt` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`game_pcnt` bigint COMMENT 'None',
`bet_gmony` bigint COMMENT 'None',
`win_gmony` bigint COMMENT 'None',
`hand_cnt` bigint COMMENT 'None',
`allin_tcnt` bigint COMMENT 'None',
`allin_ucnt` bigint COMMENT 'None',
`jackpot_money` bigint COMMENT 'None',
`jackpot_cnt` 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_casino_hld_mony_sd01", "description": null, "columns": [{"name": "hld_mony", "type": "double", "description": null}, {"name": "win_mony", "type": "double", "description": null}, {"name": "bet_mony", "type": "double", "description": null}, {"name": "jig_mony", "type": "double", "description": null}, {"name": "back_mony", "type": "double", "description": null}, {"name": "stop_mony", "type": "double", "description": null}, {"name": "del_pre_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_casino_hld_mony_sd01` (
`hld_mony` double COMMENT 'None',
`win_mony` double COMMENT 'None',
`bet_mony` double COMMENT 'None',
`jig_mony` double COMMENT 'None',
`back_mony` double COMMENT 'None',
`stop_mony` double COMMENT 'None',
`del_pre_mony` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_casino_user_hist_d01", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "allin_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_casino_user_hist_d01` (
`rep_game_cd` string COMMENT 'None',
`ucnt` bigint COMMENT 'None',
`allin_ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_cmbck_cntu_use_sd01_tmp", "description": null, "columns": [{"name": "strt_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "dd_use_cyc", "type": "bigint", "description": null}, {"name": "dd_ucnt", "type": "bigint", "description": null}, {"name": "dd_pcnt", "type": "bigint", "description": null}, {"name": "dd_ptm", "type": "double", "description": null}, {"name": "dd_stm", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_cmbck_cntu_use_sd01_tmp` (
`strt_ymd` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`dd_use_cyc` bigint COMMENT 'None',
`dd_ucnt` bigint COMMENT 'None',
`dd_pcnt` bigint COMMENT 'None',
`dd_ptm` double COMMENT 'None',
`dd_stm` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_po_evnt_mony_sd01", "description": null, "columns": [{"name": "year", "type": "string", "description": null}, {"name": "workd", "type": "string", "description": null}, {"name": "bip_codenm", "type": "string", "description": null}, {"name": "game_nm", "type": "string", "description": null}, {"name": "channel1_nm", "type": "string", "description": null}, {"name": "channel2_nm", "type": "string", "description": null}, {"name": "pay_mony", "type": "double", "description": null}, {"name": "pay_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_evnt_mony_sd01` (
`year` string COMMENT 'None',
`workd` string COMMENT 'None',
`bip_codenm` string COMMENT 'None',
`game_nm` string COMMENT 'None',
`channel1_nm` string COMMENT 'None',
`channel2_nm` string COMMENT 'None',
`pay_mony` double COMMENT 'None',
`pay_cnt` 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_league_ucnt_sd01", "description": null, "columns": [{"name": "seq_year_round", "type": "bigint", "description": null}, {"name": "league_grade", "type": "bigint", "description": null}, {"name": "game_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_league_ucnt_sd01` (
`seq_year_round` bigint COMMENT 'None',
`league_grade` bigint COMMENT 'None',
`game_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_std_indr_pu_sm01", "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": "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": "new_pu", "type": "bigint", "description": null}, {"name": "cntnu_pu", "type": "bigint", "description": null}, {"name": "cmbck_pu", "type": "bigint", "description": null}, {"name": "secd_pu", "type": "bigint", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "new_samt", "type": "double", "description": null}, {"name": "cntnu_samt", "type": "double", "description": null}, {"name": "cmbck_samt", "type": "double", "description": null}, {"name": "secd_bmm_samt", "type": "double", "description": null}, {"name": "mbrs_prodid", "type": "string", "description": null}, {"name": "mm_cm_samt_secn_cd", "type": "string", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_std_indr_pu_sm01` (
`lcls_cd` string COMMENT 'None',
`mcls_cd` string COMMENT 'None',
`org_cd` string COMMENT 'None',
`cat1` 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',
`new_pu` bigint COMMENT 'None',
`cntnu_pu` bigint COMMENT 'None',
`cmbck_pu` bigint COMMENT 'None',
`secd_pu` bigint COMMENT 'None',
`samt` double COMMENT 'None',
`new_samt` double COMMENT 'None',
`cntnu_samt` double COMMENT 'None',
`cmbck_samt` double COMMENT 'None',
`secd_bmm_samt` double COMMENT 'None',
`mbrs_prodid` string COMMENT 'None',
`mm_cm_samt_secn_cd` string COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "bigamestct_casino_slot", "description": null, "columns": [{"name": "logdte", "type": "string", "description": null}, {"name": "gameid", "type": "string", "description": null}, {"name": "maxcnt", "type": "bigint", "description": null}, {"name": "maxdate", "type": "string", "description": null}, {"name": "mincnt", "type": "bigint", "description": null}, {"name": "sumcnt", "type": "bigint", "description": null}, {"name": "chccnt", "type": "bigint", "description": null}, {"name": "maxlcnt", "type": "bigint", "description": null}, {"name": "maxldate", "type": "string", "description": null}, {"name": "minlcnt", "type": "bigint", "description": null}, {"name": "sumlcnt", "type": "bigint", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "chnl_nm", "type": "string", "description": null}, {"name": "summery_lv", "type": "bigint", "description": null}, {"name": "channelid", "type": "string", "description": null}, {"name": "subid", "type": "string", "description": null}, {"name": "machine_id", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`bigamestct_casino_slot` (
`logdte` string COMMENT 'None',
`gameid` string COMMENT 'None',
`maxcnt` bigint COMMENT 'None',
`maxdate` string COMMENT 'None',
`mincnt` bigint COMMENT 'None',
`sumcnt` bigint COMMENT 'None',
`chccnt` bigint COMMENT 'None',
`maxlcnt` bigint COMMENT 'None',
`maxldate` string COMMENT 'None',
`minlcnt` bigint COMMENT 'None',
`sumlcnt` bigint COMMENT 'None',
`game_cd` string COMMENT 'None',
`chnl_nm` string COMMENT 'None',
`summery_lv` bigint COMMENT 'None',
`channelid` string COMMENT 'None',
`subid` string COMMENT 'None',
`machine_id` 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_casino_slot_user_hist", "description": null, "columns": [{"name": "game_no", "type": "bigint", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "log_dt", "type": "string", "description": null}, {"name": "win_gmony", "type": "bigint", "description": null}, {"name": "result_pay_token", "type": "bigint", "description": null}, {"name": "result_free_token", "type": "bigint", "description": null}, {"name": "log_type", "type": "bigint", "description": null}, {"name": "status", "type": "bigint", "description": null}, {"name": "symbol_collect_reward_type", "type": "bigint", "description": null}, {"name": "total_bet", "type": "bigint", "description": null}, {"name": "total_win_money", "type": "bigint", "description": null}, {"name": "symbol_collect_reward_money", "type": "bigint", "description": null}, {"name": "jackpot_money", "type": "bigint", "description": null}, {"name": "jackpot_grade", "type": "string", "description": null}, {"name": "bet_level", "type": "string", "description": null}, {"name": "machine_id", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "user_spin_cnt", "type": "bigint", "description": null}, {"name": "user_free_spin_cnt", "type": "bigint", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_casino_slot_user_hist` (
`game_no` bigint COMMENT 'None',
`userid` string COMMENT 'None',
`log_dt` string COMMENT 'None',
`win_gmony` bigint COMMENT 'None',
`result_pay_token` bigint COMMENT 'None',
`result_free_token` bigint COMMENT 'None',
`log_type` bigint COMMENT 'None',
`status` bigint COMMENT 'None',
`symbol_collect_reward_type` bigint COMMENT 'None',
`total_bet` bigint COMMENT 'None',
`total_win_money` bigint COMMENT 'None',
`symbol_collect_reward_money` bigint COMMENT 'None',
`jackpot_money` bigint COMMENT 'None',
`jackpot_grade` string COMMENT 'None',
`bet_level` string COMMENT 'None',
`machine_id` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`work_ymd` string COMMENT 'None',
`user_spin_cnt` bigint COMMENT 'None',
`user_free_spin_cnt` bigint COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_casino_slot_user_hist_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": "game_cd", "type": "string", "description": null}, {"name": "machine_id", "type": "string", "description": null}, {"name": "bet_level", "type": "string", "description": null}, {"name": "jackpot_grade", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "user_spin_cnt", "type": "bigint", "description": null}, {"name": "user_free_spin_cnt", "type": "bigint", "description": null}, {"name": "bet_gmony", "type": "bigint", "description": null}, {"name": "win_gmony", "type": "bigint", "description": null}, {"name": "win_gmony_free_spin", "type": "bigint", "description": null}, {"name": "win_gmony_collection_bgame", "type": "bigint", "description": null}, {"name": "win_gmony_collection_reserve", "type": "bigint", "description": null}, {"name": "pre_jig_mony", "type": "bigint", "description": null}, {"name": "allin_tcnt", "type": "bigint", "description": null}, {"name": "jackpot_cnt", "type": "bigint", "description": null}, {"name": "jackpot_money", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_casino_slot_user_hist_d01` (
`rep_game_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`userno` bigint COMMENT 'None',
`custno` bigint COMMENT 'None',
`game_cd` string COMMENT 'None',
`machine_id` string COMMENT 'None',
`bet_level` string COMMENT 'None',
`jackpot_grade` string COMMENT 'None',
`lst_game_dt` string COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`user_spin_cnt` bigint COMMENT 'None',
`user_free_spin_cnt` bigint COMMENT 'None',
`bet_gmony` bigint COMMENT 'None',
`win_gmony` bigint COMMENT 'None',
`win_gmony_free_spin` bigint COMMENT 'None',
`win_gmony_collection_bgame` bigint COMMENT 'None',
`win_gmony_collection_reserve` bigint COMMENT 'None',
`pre_jig_mony` bigint COMMENT 'None',
`allin_tcnt` bigint COMMENT 'None',
`jackpot_cnt` bigint COMMENT 'None',
`jackpot_money` 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_ccu_casino_slot", "description": null, "columns": [{"name": "machine_id", "type": "string", "description": null}, {"name": "gameid", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "logdate", "type": "string", "description": null}, {"name": "classicusercount", "type": "bigint", "description": null}, {"name": "pcusercount", "type": "bigint", "description": null}, {"name": "membercnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_ccu_casino_slot` (
`machine_id` string COMMENT 'None',
`gameid` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`logdate` string COMMENT 'None',
`classicusercount` bigint COMMENT 'None',
`pcusercount` bigint COMMENT 'None',
`membercnt` 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_casino_slot_game_user_sd01", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "machine_id", "type": "string", "description": null}, {"name": "bet_level", "type": "string", "description": null}, {"name": "jackpot_grade", "type": "string", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "user_spin_cnt", "type": "bigint", "description": null}, {"name": "user_free_spin_cnt", "type": "bigint", "description": null}, {"name": "bet_gmony", "type": "bigint", "description": null}, {"name": "win_gmony", "type": "bigint", "description": null}, {"name": "win_gmony_free_spin", "type": "bigint", "description": null}, {"name": "win_gmony_collection_bgame", "type": "bigint", "description": null}, {"name": "win_gmony_collection_reserve", "type": "bigint", "description": null}, {"name": "pre_jig_mony", "type": "bigint", "description": null}, {"name": "allin_tcnt", "type": "bigint", "description": null}, {"name": "allin_ucnt", "type": "bigint", "description": null}, {"name": "jackpot_cnt", "type": "bigint", "description": null}, {"name": "jackpot_money", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_casino_slot_game_user_sd01` (
`rep_game_cd` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`machine_id` string COMMENT 'None',
`bet_level` string COMMENT 'None',
`jackpot_grade` string COMMENT 'None',
`ucnt` bigint COMMENT 'None',
`user_spin_cnt` bigint COMMENT 'None',
`user_free_spin_cnt` bigint COMMENT 'None',
`bet_gmony` bigint COMMENT 'None',
`win_gmony` bigint COMMENT 'None',
`win_gmony_free_spin` bigint COMMENT 'None',
`win_gmony_collection_bgame` bigint COMMENT 'None',
`win_gmony_collection_reserve` bigint COMMENT 'None',
`pre_jig_mony` bigint COMMENT 'None',
`allin_tcnt` bigint COMMENT 'None',
`allin_ucnt` bigint COMMENT 'None',
`jackpot_cnt` bigint COMMENT 'None',
`jackpot_money` 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": "tmp_dg_po_v1_game_d01", "description": null, "columns": [{"name": "stvic_grp_no", "type": "bigint", "description": null}, {"name": "stvic_rslt_no", "type": "bigint", "description": null}, {"name": "bos_id", "type": "string", "description": null}, {"name": "win_userid", "type": "string", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "room_id", "type": "bigint", "description": null}, {"name": "bos_room_ent_dt", "type": "string", "description": null}, {"name": "plyr_cnt", "type": "bigint", "description": null}, {"name": "prpt_user", "type": "string", "description": null}, {"name": "stvic_rslt_pcnt", "type": "bigint", "description": null}, {"name": "bos_win_pcnt", "type": "bigint", "description": null}, {"name": "bos_los_pcnt", "type": "bigint", "description": null}, {"name": "bos_win_mony", "type": "double", "description": null}, {"name": "bos_los_mony", "type": "double", "description": null}, {"name": "win_mony", "type": "double", "description": null}, {"name": "los_mony", "type": "double", "description": null}, {"name": "stvic_grp_win_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`tmp_dg_po_v1_game_d01` (
`stvic_grp_no` bigint COMMENT 'None',
`stvic_rslt_no` bigint COMMENT 'None',
`bos_id` string COMMENT 'None',
`win_userid` string COMMENT 'None',
`chnl_id` string COMMENT 'None',
`chnl_cd` string COMMENT 'None',
`room_id` bigint COMMENT 'None',
`bos_room_ent_dt` string COMMENT 'None',
`plyr_cnt` bigint COMMENT 'None',
`prpt_user` string COMMENT 'None',
`stvic_rslt_pcnt` bigint COMMENT 'None',
`bos_win_pcnt` bigint COMMENT 'None',
`bos_los_pcnt` bigint COMMENT 'None',
`bos_win_mony` double COMMENT 'None',
`bos_los_mony` double COMMENT 'None',
`win_mony` double COMMENT 'None',
`los_mony` double COMMENT 'None',
`stvic_grp_win_mony` double COMMENT 'None',
`work_ymd` string COMMENT 'None',
`game_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "tmp_dg_po_v1_game_hist", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "room_id", "type": "bigint", "description": null}, {"name": "bos_id", "type": "string", "description": null}, {"name": "bos_room_ent_dt", "type": "string", "description": null}, {"name": "prpt_user", "type": "string", "description": null}, {"name": "plyr_cnt", "type": "bigint", "description": null}, {"name": "win_userid", "type": "string", "description": null}, {"name": "win_mony", "type": "double", "description": null}, {"name": "los_mony", "type": "double", "description": null}, {"name": "bos_win_mony", "type": "double", "description": null}, {"name": "bos_los_mony", "type": "double", "description": null}, {"name": "win_ucnt", "type": "bigint", "description": null}, {"name": "die_ucnt", "type": "bigint", "description": null}, {"name": "stvic_grp_yn", "type": "bigint", "description": null}, {"name": "stvic_rslt_yn", "type": "bigint", "description": null}, {"name": "stvic_grp_no", "type": "bigint", "description": null}, {"name": "stvic_rslt_no", "type": "bigint", "description": null}, {"name": "stvic_grp_ply_pcnt", "type": "bigint", "description": null}, {"name": "stvic_rslt_pcnt", "type": "bigint", "description": null}, {"name": "die_win_pcnt", "type": "bigint", "description": null}, {"name": "stvic_grp_win_mony", "type": "double", "description": null}, {"name": "stvic_grp_los_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`tmp_dg_po_v1_game_hist` (
`seq` bigint COMMENT 'None',
`chnl_id` string COMMENT 'None',
`chnl_cd` string COMMENT 'None',
`room_id` bigint COMMENT 'None',
`bos_id` string COMMENT 'None',
`bos_room_ent_dt` string COMMENT 'None',
`prpt_user` string COMMENT 'None',
`plyr_cnt` bigint COMMENT 'None',
`win_userid` string COMMENT 'None',
`win_mony` double COMMENT 'None',
`los_mony` double COMMENT 'None',
`bos_win_mony` double COMMENT 'None',
`bos_los_mony` double COMMENT 'None',
`win_ucnt` bigint COMMENT 'None',
`die_ucnt` bigint COMMENT 'None',
`stvic_grp_yn` bigint COMMENT 'None',
`stvic_rslt_yn` bigint COMMENT 'None',
`stvic_grp_no` bigint COMMENT 'None',
`stvic_rslt_no` bigint COMMENT 'None',
`stvic_grp_ply_pcnt` bigint COMMENT 'None',
`stvic_rslt_pcnt` bigint COMMENT 'None',
`die_win_pcnt` bigint COMMENT 'None',
`stvic_grp_win_mony` double COMMENT 'None',
`stvic_grp_los_mony` double COMMENT 'None',
`work_ymd` string COMMENT 'None',
`game_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "tmp_dg_po_v1_objr_m01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "strt_ym", "type": "string", "description": null}, {"name": "lst_ym", "type": "string", "description": null}, {"name": "user_tp_cd", "type": "bigint", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "avt_samt", "type": "double", "description": null}, {"name": "item_samt", "type": "double", "description": null}, {"name": "fxsums_samt", "type": "double", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`tmp_dg_po_v1_objr_m01` (
`game_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`strt_ym` string COMMENT 'None',
`lst_ym` string COMMENT 'None',
`user_tp_cd` bigint COMMENT 'None',
`samt` double COMMENT 'None',
`avt_samt` double COMMENT 'None',
`item_samt` double COMMENT 'None',
`fxsums_samt` double COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "tmp_dg_po_v1_user_m01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "v1_game_dcnt", "type": "bigint", "description": null}, {"name": "v1_game_pcnt", "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": "mm_game_dcnt", "type": "bigint", "description": null}, {"name": "mm_game_pcnt", "type": "bigint", "description": null}, {"name": "mm_win_pcnt", "type": "bigint", "description": null}, {"name": "mm_los_pcnt", "type": "bigint", "description": null}, {"name": "mm_win_mony", "type": "double", "description": null}, {"name": "mm_los_mony", "type": "double", "description": null}, {"name": "v1_yn", "type": "bigint", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`tmp_dg_po_v1_user_m01` (
`game_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`v1_game_dcnt` bigint COMMENT 'None',
`v1_game_pcnt` 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',
`mm_game_dcnt` bigint COMMENT 'None',
`mm_game_pcnt` bigint COMMENT 'None',
`mm_win_pcnt` bigint COMMENT 'None',
`mm_los_pcnt` bigint COMMENT 'None',
`mm_win_mony` double COMMENT 'None',
`mm_los_mony` double COMMENT 'None',
`v1_yn` bigint COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "tmp_sg_po_v1_objr_game_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "cm_objr_cnt", "type": "bigint", "description": null}, {"name": "tot_hld_mony", "type": "double", "description": null}, {"name": "game_tdd_ucnt", "type": "bigint", "description": null}, {"name": "game_win_pcnt", "type": "bigint", "description": null}, {"name": "game_los_pcnt", "type": "bigint", "description": null}, {"name": "game_win_mony", "type": "double", "description": null}, {"name": "game_los_mony", "type": "double", "description": null}, {"name": "game_uv_hld_mony", "type": "double", "description": null}, {"name": "v1_tdd_ucnt", "type": "bigint", "description": null}, {"name": "v1_mony_mv_obj_ucnt", "type": "double", "description": null}, {"name": "v1_win_tcnt", "type": "bigint", "description": null}, {"name": "v1_los_tcnt", "type": "bigint", "description": null}, {"name": "v1_win_pcnt", "type": "bigint", "description": null}, {"name": "v1_los_pcnt", "type": "bigint", "description": null}, {"name": "v1_win_mony", "type": "double", "description": null}, {"name": "v1_los_mony", "type": "double", "description": null}, {"name": "v1_uv_hld_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`tmp_sg_po_v1_objr_game_sd01` (
`game_cd` string COMMENT 'None',
`cm_objr_cnt` bigint COMMENT 'None',
`tot_hld_mony` double COMMENT 'None',
`game_tdd_ucnt` bigint COMMENT 'None',
`game_win_pcnt` bigint COMMENT 'None',
`game_los_pcnt` bigint COMMENT 'None',
`game_win_mony` double COMMENT 'None',
`game_los_mony` double COMMENT 'None',
`game_uv_hld_mony` double COMMENT 'None',
`v1_tdd_ucnt` bigint COMMENT 'None',
`v1_mony_mv_obj_ucnt` double COMMENT 'None',
`v1_win_tcnt` bigint COMMENT 'None',
`v1_los_tcnt` bigint COMMENT 'None',
`v1_win_pcnt` bigint COMMENT 'None',
`v1_los_pcnt` bigint COMMENT 'None',
`v1_win_mony` double COMMENT 'None',
`v1_los_mony` double COMMENT 'None',
`v1_uv_hld_mony` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "tmp_sg_po_v1_objr_game_sm01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "mm_ucnt", "type": "bigint", "description": null}, {"name": "mm_strt_hld_mony", "type": "double", "description": null}, {"name": "mm_end_hld_mony", "type": "double", "description": null}, {"name": "v1_win_tcnt", "type": "bigint", "description": null}, {"name": "v1_los_tcnt", "type": "bigint", "description": null}, {"name": "v1_win_pcnt", "type": "bigint", "description": null}, {"name": "v1_los_pcnt", "type": "bigint", "description": null}, {"name": "v1_win_mony", "type": "double", "description": null}, {"name": "v1_los_mony", "type": "double", "description": null}, {"name": "v1_vit_dcnt", "type": "bigint", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "avt_samt", "type": "double", "description": null}, {"name": "item_samt", "type": "double", "description": null}, {"name": "fxsums_samt", "type": "double", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`tmp_sg_po_v1_objr_game_sm01` (
`game_cd` string COMMENT 'None',
`mm_ucnt` bigint COMMENT 'None',
`mm_strt_hld_mony` double COMMENT 'None',
`mm_end_hld_mony` double COMMENT 'None',
`v1_win_tcnt` bigint COMMENT 'None',
`v1_los_tcnt` bigint COMMENT 'None',
`v1_win_pcnt` bigint COMMENT 'None',
`v1_los_pcnt` bigint COMMENT 'None',
`v1_win_mony` double COMMENT 'None',
`v1_los_mony` double COMMENT 'None',
`v1_vit_dcnt` bigint COMMENT 'None',
`samt` double COMMENT 'None',
`avt_samt` double COMMENT 'None',
`item_samt` double COMMENT 'None',
`fxsums_samt` double COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "tmp_sg_po_v1_objr_sm01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "cm_objr_cnt", "type": "bigint", "description": null}, {"name": "tmm_objr_cnt", "type": "bigint", "description": null}, {"name": "new_objr_cnt", "type": "bigint", "description": null}, {"name": "cmbck_objr_cnt", "type": "bigint", "description": null}, {"name": "secd_objr_cnt", "type": "bigint", "description": null}, {"name": "cntnu_objr_cnt", "type": "bigint", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "new_samt", "type": "double", "description": null}, {"name": "cmbck_samt", "type": "double", "description": null}, {"name": "secd_samt", "type": "double", "description": null}, {"name": "cntnu_samt", "type": "double", "description": null}, {"name": "avt_samt", "type": "double", "description": null}, {"name": "item_samt", "type": "double", "description": null}, {"name": "fxsums_samt", "type": "double", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`tmp_sg_po_v1_objr_sm01` (
`game_cd` string COMMENT 'None',
`cm_objr_cnt` bigint COMMENT 'None',
`tmm_objr_cnt` bigint COMMENT 'None',
`new_objr_cnt` bigint COMMENT 'None',
`cmbck_objr_cnt` bigint COMMENT 'None',
`secd_objr_cnt` bigint COMMENT 'None',
`cntnu_objr_cnt` bigint COMMENT 'None',
`samt` double COMMENT 'None',
`new_samt` double COMMENT 'None',
`cmbck_samt` double COMMENT 'None',
`secd_samt` double COMMENT 'None',
`cntnu_samt` double COMMENT 'None',
`avt_samt` double COMMENT 'None',
`item_samt` double COMMENT 'None',
`fxsums_samt` double COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_po_new_user_d01", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "member_no", "type": "string", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "login_dt", "type": "string", "description": null}, {"name": "join_prd_cd", "type": "string", "description": null}, {"name": "lst_login_prd_cd", "type": "string", "description": null}, {"name": "ci", "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_new_user_d01` (
`userid` string COMMENT 'None',
`member_no` string COMMENT 'None',
`userno` bigint COMMENT 'None',
`custno` bigint COMMENT 'None',
`join_dt` string COMMENT 'None',
`login_dt` string COMMENT 'None',
`join_prd_cd` string COMMENT 'None',
`lst_login_prd_cd` string COMMENT 'None',
`ci` 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_guild_action_d01", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "log_date", "type": "string", "description": null}, {"name": "action_type", "type": "string", "description": null}, {"name": "guild_id", "type": "bigint", "description": null}, {"name": "guild_name", "type": "string", "description": null}, {"name": "member_no", "type": "string", "description": null}, {"name": "nick_name", "type": "string", "description": null}, {"name": "client_type", "type": "bigint", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "ival1", "type": "bigint", "description": null}, {"name": "ival2", "type": "bigint", "description": null}, {"name": "dval1", "type": "double", "description": null}, {"name": "sval1", "type": "string", "description": null}, {"name": "sval2", "type": "string", "description": null}, {"name": "reason", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_po_guild_action_d01` (
`seq` bigint COMMENT 'None',
`log_date` string COMMENT 'None',
`action_type` string COMMENT 'None',
`guild_id` bigint COMMENT 'None',
`guild_name` string COMMENT 'None',
`member_no` string COMMENT 'None',
`nick_name` string COMMENT 'None',
`client_type` bigint COMMENT 'None',
`sno` bigint COMMENT 'None',
`ival1` bigint COMMENT 'None',
`ival2` bigint COMMENT 'None',
`dval1` double COMMENT 'None',
`sval1` string COMMENT 'None',
`sval2` string COMMENT 'None',
`reason` 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_guild_d01", "description": null, "columns": [{"name": "guild_id", "type": "bigint", "description": null}, {"name": "round_no", "type": "bigint", "description": null}, {"name": "create_at", "type": "string", "description": null}, {"name": "guild_name", "type": "string", "description": null}, {"name": "join_type", "type": "bigint", "description": null}, {"name": "join_condition", "type": "bigint", "description": null}, {"name": "max_member_count", "type": "bigint", "description": null}, {"name": "cur_member_count", "type": "bigint", "description": null}, {"name": "state", "type": "bigint", "description": null}, {"name": "dismissed_at", "type": "string", "description": null}, {"name": "banish_count", "type": "bigint", "description": null}, {"name": "next_banish_charge_time", "type": "string", "description": null}, {"name": "round_guild_mony", "type": "bigint", "description": null}, {"name": "mbr_cnt", "type": "bigint", "description": null}, {"name": "chat_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "tot_chat_cnt", "type": "bigint", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_po_guild_d01` (
`guild_id` bigint COMMENT 'None',
`round_no` bigint COMMENT 'None',
`create_at` string COMMENT 'None',
`guild_name` string COMMENT 'None',
`join_type` bigint COMMENT 'None',
`join_condition` bigint COMMENT 'None',
`max_member_count` bigint COMMENT 'None',
`cur_member_count` bigint COMMENT 'None',
`state` bigint COMMENT 'None',
`dismissed_at` string COMMENT 'None',
`banish_count` bigint COMMENT 'None',
`next_banish_charge_time` string COMMENT 'None',
`round_guild_mony` bigint COMMENT 'None',
`mbr_cnt` bigint COMMENT 'None',
`chat_cnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None',
`tot_chat_cnt` bigint COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_po_guild_schedule_mtr", "description": null, "columns": [{"name": "round_no", "type": "bigint", "description": null}, {"name": "game_start_date", "type": "string", "description": null}, {"name": "game_end_date", "type": "string", "description": null}, {"name": "calculate_start_date", "type": "string", "description": null}, {"name": "calculate_end_date", "type": "string", "description": null}, {"name": "status", "type": "bigint", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_po_guild_schedule_mtr` (
`round_no` bigint COMMENT 'None',
`game_start_date` string COMMENT 'None',
`game_end_date` string COMMENT 'None',
`calculate_start_date` string COMMENT 'None',
`calculate_end_date` string COMMENT 'None',
`status` bigint COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "dg_po_guild_user_d01", "description": null, "columns": [{"name": "guild_id", "type": "bigint", "description": null}, {"name": "member_no", "type": "string", "description": null}, {"name": "member_id", "type": "string", "description": null}, {"name": "nick_name", "type": "string", "description": null}, {"name": "join_date", "type": "string", "description": null}, {"name": "guild_user_grade", "type": "bigint", "description": null}, {"name": "client_type", "type": "bigint", "description": null}, {"name": "logout_date", "type": "string", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "los_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "guild_state", "type": "bigint", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_po_guild_user_d01` (
`guild_id` bigint COMMENT 'None',
`member_no` string COMMENT 'None',
`member_id` string COMMENT 'None',
`nick_name` string COMMENT 'None',
`join_date` string COMMENT 'None',
`guild_user_grade` bigint COMMENT 'None',
`client_type` bigint COMMENT 'None',
`logout_date` string COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`los_mony` double COMMENT 'None',
`work_ymd` string COMMENT 'None',
`guild_state` bigint COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_po_guild_sd01", "description": null, "columns": [{"name": "round_no", "type": "bigint", "description": null}, {"name": "guild_cnt", "type": "bigint", "description": null}, {"name": "new_guild_cnt", "type": "bigint", "description": null}, {"name": "dismiss_guild_cnt", "type": "bigint", "description": null}, {"name": "dormant_guild_cnt", "type": "bigint", "description": null}, {"name": "non_guild_cnt", "type": "bigint", "description": null}, {"name": "cm_guild_cnt", "type": "bigint", "description": null}, {"name": "guild_new_ucnt", "type": "bigint", "description": null}, {"name": "guild_leave_ucnt", "type": "bigint", "description": null}, {"name": "guild_play_dau", "type": "bigint", "description": null}, {"name": "daily_guild_point", "type": "bigint", "description": null}, {"name": "daily_guild_money", "type": "bigint", "description": null}, {"name": "round_guild_money", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "los_mony", "type": "double", "description": null}, {"name": "daily_reward_amt", "type": "bigint", "description": null}, {"name": "weekly_reward_amt", "type": "bigint", "description": null}, {"name": "chat_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "guild_ucnt", "type": "bigint", "description": null}, {"name": "tot_chat_cnt", "type": "bigint", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_guild_sd01` (
`round_no` bigint COMMENT 'None',
`guild_cnt` bigint COMMENT 'None',
`new_guild_cnt` bigint COMMENT 'None',
`dismiss_guild_cnt` bigint COMMENT 'None',
`dormant_guild_cnt` bigint COMMENT 'None',
`non_guild_cnt` bigint COMMENT 'None',
`cm_guild_cnt` bigint COMMENT 'None',
`guild_new_ucnt` bigint COMMENT 'None',
`guild_leave_ucnt` bigint COMMENT 'None',
`guild_play_dau` bigint COMMENT 'None',
`daily_guild_point` bigint COMMENT 'None',
`daily_guild_money` bigint COMMENT 'None',
`round_guild_money` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`los_mony` double COMMENT 'None',
`daily_reward_amt` bigint COMMENT 'None',
`weekly_reward_amt` bigint COMMENT 'None',
`chat_cnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None',
`guild_ucnt` bigint COMMENT 'None',
`tot_chat_cnt` bigint COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "pc_poker_dw", "table": "sg_po_guild_war_round_sd01", "description": null, "columns": [{"name": "round_no", "type": "bigint", "description": null}, {"name": "reg_guild_cnt", "type": "bigint", "description": null}, {"name": "champion_reg_guild_cnt", "type": "bigint", "description": null}, {"name": "add_war_point", "type": "bigint", "description": null}, {"name": "add_city_dividend", "type": "double", "description": null}, {"name": "champion_reward", "type": "bigint", "description": null}, {"name": "game_ucnt", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "los_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_guild_war_round_sd01` (
`round_no` bigint COMMENT 'None',
`reg_guild_cnt` bigint COMMENT 'None',
`champion_reg_guild_cnt` bigint COMMENT 'None',
`add_war_point` bigint COMMENT 'None',
`add_city_dividend` double COMMENT 'None',
`champion_reward` bigint COMMENT 'None',
`game_ucnt` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`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_guild_war_round_sw01", "description": null, "columns": [{"name": "round_no", "type": "bigint", "description": null}, {"name": "reg_guild_cnt", "type": "bigint", "description": null}, {"name": "champion_reg_guild_cnt", "type": "bigint", "description": null}, {"name": "add_war_point", "type": "bigint", "description": null}, {"name": "add_city_dividend", "type": "double", "description": null}, {"name": "champion_reward", "type": "bigint", "description": null}, {"name": "game_ucnt", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "los_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`sg_po_guild_war_round_sw01` (
`round_no` bigint COMMENT 'None',
`reg_guild_cnt` bigint COMMENT 'None',
`champion_reg_guild_cnt` bigint COMMENT 'None',
`add_war_point` bigint COMMENT 'None',
`add_city_dividend` double COMMENT 'None',
`champion_reward` bigint COMMENT 'None',
`game_ucnt` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`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": "dg_po_guild_war_d01", "description": null, "columns": [{"name": "guild_id", "type": "bigint", "description": null}, {"name": "round_no", "type": "bigint", "description": null}, {"name": "reg_date", "type": "string", "description": null}, {"name": "city_id", "type": "bigint", "description": null}, {"name": "challenge_state_cd", "type": "string", "description": null}, {"name": "challenge_auto_state_cd", "type": "string", "description": null}, {"name": "city_dividend", "type": "bigint", "description": null}, {"name": "champion_reward", "type": "bigint", "description": null}, {"name": "use_guild_money", "type": "bigint", "description": null}, {"name": "use_city_dividend", "type": "bigint", "description": null}, {"name": "use_champion_reward", "type": "bigint", "description": null}, {"name": "war_point", "type": "bigint", "description": null}, {"name": "after_city_ranking", "type": "bigint", "description": null}, {"name": "after_challenge_ranking", "type": "bigint", "description": null}, {"name": "after_guild_state_cd", "type": "bigint", "description": null}, {"name": "settle_completed_yn", "type": "string", "description": null}, {"name": "latest_update_date", "type": "string", "description": null}, {"name": "game_start_date", "type": "string", "description": null}, {"name": "game_start_ymd", "type": "string", "description": null}, {"name": "game_end_date", "type": "string", "description": null}, {"name": "game_end_ymd", "type": "string", "description": null}, {"name": "round_last_day_yn", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `pc_poker_dw`.`dg_po_guild_war_d01` (
`guild_id` bigint COMMENT 'None',
`round_no` bigint COMMENT 'None',
`reg_date` string COMMENT 'None',
`city_id` bigint COMMENT 'None',
`challenge_state_cd` string COMMENT 'None',
`challenge_auto_state_cd` string COMMENT 'None',
`city_dividend` bigint COMMENT 'None',
`champion_reward` bigint COMMENT 'None',
`use_guild_money` bigint COMMENT 'None',
`use_city_dividend` bigint COMMENT 'None',
`use_champion_reward` bigint COMMENT 'None',
`war_point` bigint COMMENT 'None',
`after_city_ranking` bigint COMMENT 'None',
`after_challenge_ranking` bigint COMMENT 'None',
`after_guild_state_cd` bigint COMMENT 'None',
`settle_completed_yn` string COMMENT 'None',
`latest_update_date` string COMMENT 'None',
`game_start_date` string COMMENT 'None',
`game_start_ymd` string COMMENT 'None',
`game_end_date` string COMMENT 'None',
`game_end_ymd` string COMMENT 'None',
`round_last_day_yn` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "poker_cls_dw", "table": "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 `poker_cls_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": "poker_cls_dw", "table": "dg_game_cm_user_d01_mblg", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "cm_vit_dcnt", "type": "bigint", "description": null}, {"name": "cm_samt", "type": "double", "description": null}, {"name": "cm_ptm", "type": "bigint", "description": null}, {"name": "cm_conn_tcnt", "type": "bigint", "description": null}, {"name": "join8d_vit_dcnt", "type": "bigint", "description": null}, {"name": "infl_chnl_cd", "type": "string", "description": null}, {"name": "infl_path_cd", "type": "string", "description": null}, {"name": "infl_dt", "type": "string", "description": null}, {"name": "tdd_samt", "type": "double", "description": null}, {"name": "join8d_samt", "type": "double", "description": null}, {"name": "join31d_samt", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `poker_cls_dw`.`dg_game_cm_user_d01_mblg` (
`userno` string COMMENT 'None',
`join_dt` string COMMENT 'None',
`lst_game_dt` string COMMENT 'None',
`cm_vit_dcnt` bigint COMMENT 'None',
`cm_samt` double COMMENT 'None',
`cm_ptm` bigint COMMENT 'None',
`cm_conn_tcnt` bigint COMMENT 'None',
`join8d_vit_dcnt` bigint COMMENT 'None',
`infl_chnl_cd` string COMMENT 'None',
`infl_path_cd` string COMMENT 'None',
`infl_dt` string COMMENT 'None',
`tdd_samt` double COMMENT 'None',
`join8d_samt` double COMMENT 'None',
`join31d_samt` double COMMENT 'None',
`work_ymd` string COMMENT 'None',
`game_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "poker_cls_dw", "table": "dg_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_dw", "table": "dg_mblg_certi_d01", "description": null, "columns": [{"name": "certi_sys_cd", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "gbase_app_id", "type": "string", "description": null}, {"name": "idp_certi_dt", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "mbr_stat_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `poker_cls_dw`.`dg_mblg_certi_d01` (
`certi_sys_cd` string COMMENT 'None',
`idp_cd` string COMMENT 'None',
`idp_userno` string COMMENT 'None',
`gbase_app_id` string COMMENT 'None',
`idp_certi_dt` string COMMENT 'None',
`userno` string COMMENT 'None',
`mbr_stat_cd` string COMMENT 'None',
`work_ymd` string COMMENT 'None',
`game_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "poker_cls_dw", "table": "dg_mblg_game_dev_d01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "dev_key", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "nat_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": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `poker_cls_dw`.`dg_mblg_game_dev_d01` (
`game_cd` string COMMENT 'None',
`dev_key` string COMMENT 'None',
`os_cd` string COMMENT 'None',
`nat_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',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "poker_cls_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 `poker_cls_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": "poker_cls_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 `poker_cls_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": "poker_cls_dw", "table": "dg_mblg_game_user_mtr", "description": null, "columns": [{"name": "st_cd", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "mbr_stat_cd", "type": "string", "description": null}, {"name": "app_id", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_login_dt", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "dev_mdl", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "os_ver", "type": "string", "description": null}, {"name": "telecom_cd", "type": "string", "description": null}, {"name": "mket_cd", "type": "string", "description": null}, {"name": "sdk_ver", "type": "string", "description": null}, {"name": "game_clnt_ver", "type": "string", "description": null}, {"name": "lang", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `poker_cls_dw`.`dg_mblg_game_user_mtr` (
`st_cd` string COMMENT 'None',
`userno` string COMMENT 'None',
`mbr_stat_cd` string COMMENT 'None',
`app_id` string COMMENT 'None',
`join_dt` string COMMENT 'None',
`lst_login_dt` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`dev_mdl` string COMMENT 'None',
`os_cd` string COMMENT 'None',
`os_ver` string COMMENT 'None',
`telecom_cd` string COMMENT 'None',
`mket_cd` string COMMENT 'None',
`sdk_ver` string COMMENT 'None',
`game_clnt_ver` string COMMENT 'None',
`lang` string COMMENT 'None',
`game_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "poker_cls_dw", "table": "dg_mblg_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 `poker_cls_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'
);
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.