instruction
stringclasses 1
value | input
stringlengths 130
7.08k
| output
stringlengths 66
4.67k
|
|---|---|---|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "poker_cls_dw", "table": "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 `poker_cls_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": "poker_cls_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": "client_type", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "user_free_spin_cnt", "type": "bigint", "description": null}, {"name": "user_spin_cnt", "type": "bigint", "description": null}]}
|
CREATE TABLE `poker_cls_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',
`client_type` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None',
`user_free_spin_cnt` bigint COMMENT 'None',
`user_spin_cnt` bigint COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "poker_cls_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": "client_type", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `poker_cls_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',
`client_type` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "poker_cls_dw", "table": "sg_casino_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 `poker_cls_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": "poker_cls_dw", "table": "sg_pocls_mm_cm_pu_shop_sd02", "description": null, "columns": [{"name": "rep_game_cd", "type": "string", "description": null}, {"name": "secn_cd", "type": "string", "description": null}, {"name": "tdd_pu", "type": "bigint", "description": null}, {"name": "tdd_nsamt", "type": "double", "description": null}, {"name": "tdd_samt", "type": "double", "description": null}, {"name": "mm_cm_pu", "type": "bigint", "description": null}, {"name": "mm_cm_nsamt", "type": "double", "description": null}, {"name": "mm_cm_samt", "type": "double", "description": null}, {"name": "mm_cm_avg_samt", "type": "double", "description": null}, {"name": "sumry_lv", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `poker_cls_dw`.`sg_pocls_mm_cm_pu_shop_sd02` (
`rep_game_cd` string COMMENT 'None',
`secn_cd` string COMMENT 'None',
`tdd_pu` bigint COMMENT 'None',
`tdd_nsamt` double COMMENT 'None',
`tdd_samt` double COMMENT 'None',
`mm_cm_pu` bigint COMMENT 'None',
`mm_cm_nsamt` double COMMENT 'None',
`mm_cm_samt` double COMMENT 'None',
`mm_cm_avg_samt` double COMMENT 'None',
`sumry_lv` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "poker_cls_dw", "table": "dg_casino_user_d01", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "guildid", "type": "string", "description": null}, {"name": "cm_pcnt", "type": "bigint", "description": null}, {"name": "cm_win_pcnt", "type": "bigint", "description": null}, {"name": "cm_los_pcnt", "type": "bigint", "description": null}, {"name": "cm_drw_pcnt", "type": "bigint", "description": null}, {"name": "gmony", "type": "double", "description": null}, {"name": "out_insu_mony", "type": "double", "description": null}, {"name": "cm_insu_mony", "type": "double", "description": null}, {"name": "web_chag_mony", "type": "double", "description": null}, {"name": "moukey_yn", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "los_rstct_mony", "type": "double", "description": null}, {"name": "client_type", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `poker_cls_dw`.`dg_casino_user_d01` (
`userid` string COMMENT 'None',
`userno` bigint COMMENT 'None',
`custno` bigint COMMENT 'None',
`join_dt` string COMMENT 'None',
`lst_game_dt` string COMMENT 'None',
`game_grd_cd` string COMMENT 'None',
`guildid` string COMMENT 'None',
`cm_pcnt` bigint COMMENT 'None',
`cm_win_pcnt` bigint COMMENT 'None',
`cm_los_pcnt` bigint COMMENT 'None',
`cm_drw_pcnt` bigint COMMENT 'None',
`gmony` double COMMENT 'None',
`out_insu_mony` double COMMENT 'None',
`cm_insu_mony` double COMMENT 'None',
`web_chag_mony` double COMMENT 'None',
`moukey_yn` string COMMENT 'None',
`ci` string COMMENT 'None',
`los_rstct_mony` double COMMENT 'None',
`client_type` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None',
`game_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "db_pay_hist", "description": null, "columns": [{"name": "pay_seq", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "pay_chnl_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "bllng_userno", "type": "string", "description": null}, {"name": "prod_seq", "type": "string", "description": null}, {"name": "pay_hms", "type": "string", "description": null}, {"name": "pay_tp_cd", "type": "string", "description": null}, {"name": "pay_mns_cd", "type": "string", "description": null}, {"name": "pay_stat_cd", "type": "string", "description": null}, {"name": "pay_amt", "type": "double", "description": null}, {"name": "fchg_coin_use_amt", "type": "double", "description": null}, {"name": "gftct_use_amt", "type": "double", "description": null}, {"name": "extnl_evnt_use_amt", "type": "double", "description": null}, {"name": "intnl_evnt_use_amt", "type": "double", "description": null}, {"name": "pay_mnsid", "type": "string", "description": null}, {"name": "atmt_pay_yn", "type": "string", "description": null}, {"name": "condpay_yn", "type": "string", "description": null}, {"name": "bllng_cntr_yn", "type": "string", "description": null}, {"name": "mgrid", "type": "string", "description": null}, {"name": "svc_inf", "type": "string", "description": null}, {"name": "vip_lmt_yn", "type": "string", "description": null}, {"name": "ref_pay_seq", "type": "bigint", "description": null}, {"name": "ip", "type": "string", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "pay_amt_jpy", "type": "double", "description": null}, {"name": "payco_userno", "type": "string", "description": null}, {"name": "pay_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`db_pay_hist` (
`pay_seq` string COMMENT 'None',
`st_cd` string COMMENT 'None',
`pay_chnl_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`bllng_userno` string COMMENT 'None',
`prod_seq` string COMMENT 'None',
`pay_hms` string COMMENT 'None',
`pay_tp_cd` string COMMENT 'None',
`pay_mns_cd` string COMMENT 'None',
`pay_stat_cd` string COMMENT 'None',
`pay_amt` double COMMENT 'None',
`fchg_coin_use_amt` double COMMENT 'None',
`gftct_use_amt` double COMMENT 'None',
`extnl_evnt_use_amt` double COMMENT 'None',
`intnl_evnt_use_amt` double COMMENT 'None',
`pay_mnsid` string COMMENT 'None',
`atmt_pay_yn` string COMMENT 'None',
`condpay_yn` string COMMENT 'None',
`bllng_cntr_yn` string COMMENT 'None',
`mgrid` string COMMENT 'None',
`svc_inf` string COMMENT 'None',
`vip_lmt_yn` string COMMENT 'None',
`ref_pay_seq` bigint COMMENT 'None',
`ip` string COMMENT 'None',
`ltr_etc1` string COMMENT 'None',
`game_grd_cd` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`pay_amt_jpy` double COMMENT 'None',
`payco_userno` string COMMENT 'None',
`pay_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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 `bip_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": "bip_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 `bip_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": "bip_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 `bip_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": "bip_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 `bip_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": "bip_dw", "table": "sb_org_sale_sd01", "description": null, "columns": [{"name": "sale_cd", "type": "string", "description": null}, {"name": "inflw_chnl_cd", "type": "string", "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": "ocr_tp_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sb_org_sale_sd01` (
`sale_cd` string COMMENT 'None',
`inflw_chnl_cd` string COMMENT 'None',
`samt` double COMMENT 'None',
`nsamt` double COMMENT 'None',
`samt_jpy` double COMMENT 'None',
`work_ymd` string COMMENT 'None',
`ocr_tp_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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 `bip_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": "bip_dw", "table": "db_b2b_evnt_cd_mtr", "description": null, "columns": [{"name": "evnt_cd", "type": "string", "description": null}, {"name": "evnt_tp_cd", "type": "string", "description": null}, {"name": "cp_cd", "type": "string", "description": null}, {"name": "cp_lcls_nm", "type": "string", "description": null}, {"name": "cp_mcls_nm", "type": "string", "description": null}, {"name": "evnt_nm", "type": "string", "description": null}, {"name": "out_tp_cd", "type": "string", "description": null}, {"name": "sale_tp_cd", "type": "string", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "utcst", "type": "double", "description": null}, {"name": "strt_ymd", "type": "string", "description": null}, {"name": "end_ymd", "type": "string", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`db_b2b_evnt_cd_mtr` (
`evnt_cd` string COMMENT 'None',
`evnt_tp_cd` string COMMENT 'None',
`cp_cd` string COMMENT 'None',
`cp_lcls_nm` string COMMENT 'None',
`cp_mcls_nm` string COMMENT 'None',
`evnt_nm` string COMMENT 'None',
`out_tp_cd` string COMMENT 'None',
`sale_tp_cd` string COMMENT 'None',
`samt` double COMMENT 'None',
`utcst` double COMMENT 'None',
`strt_ymd` string COMMENT 'None',
`end_ymd` string COMMENT 'None',
`rgst_dt` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "db_endp_sale_m01", "description": null, "columns": [{"name": "org_cd", "type": "string", "description": null}, {"name": "prod_lcls_cd", "type": "string", "description": null}, {"name": "pu_tp_cd", "type": "string", "description": null}, {"name": "pay_chnl_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "bmm_samt", "type": "double", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "custono", "type": "bigint", "description": null}, {"name": "work_mm", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`db_endp_sale_m01` (
`org_cd` string COMMENT 'None',
`prod_lcls_cd` string COMMENT 'None',
`pu_tp_cd` string COMMENT 'None',
`pay_chnl_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`st_cd` string COMMENT 'None',
`samt` double COMMENT 'None',
`sale_cnt` bigint COMMENT 'None',
`bmm_samt` double COMMENT 'None',
`userno` bigint COMMENT 'None',
`custono` bigint COMMENT 'None',
`work_mm` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "db_endp_sale_m02", "description": null, "columns": [{"name": "org_cd", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "pu_tp_cd", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "custno", "type": "string", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "bmm_samt", "type": "double", "description": null}, {"name": "bmm_nsamt", "type": "double", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`db_endp_sale_m02` (
`org_cd` string COMMENT 'None',
`st_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`pu_tp_cd` string COMMENT 'None',
`userno` string COMMENT 'None',
`custno` string COMMENT 'None',
`samt` double COMMENT 'None',
`nsamt` double COMMENT 'None',
`bmm_samt` double COMMENT 'None',
`bmm_nsamt` double COMMENT 'None',
`sale_cnt` bigint COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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 `bip_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": "bip_dw", "table": "db_mbrs_grp_cntnu_use_mtr", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "grpid", "type": "string", "description": null}, {"name": "cntnu_use_mcnt", "type": "bigint", "description": null}, {"name": "mgr_rgst_use_mcnt", "type": "bigint", "description": null}]}
|
CREATE TABLE `bip_dw`.`db_mbrs_grp_cntnu_use_mtr` (
`userid` string COMMENT 'None',
`grpid` string COMMENT 'None',
`cntnu_use_mcnt` bigint COMMENT 'None',
`mgr_rgst_use_mcnt` bigint COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "db_mbrs_lcns_mtr", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "prodid", "type": "string", "description": null}, {"name": "acntid", "type": "bigint", "description": null}, {"name": "grp_fst_rgst_ymd", "type": "string", "description": null}, {"name": "lcns_strt_ymd", "type": "string", "description": null}, {"name": "lcns_end_ymd", "type": "string", "description": null}, {"name": "stat_cd", "type": "string", "description": null}, {"name": "dtl_stat_cd", "type": "string", "description": null}, {"name": "payno", "type": "bigint", "description": null}, {"name": "mv_pkgid", "type": "string", "description": null}, {"name": "lst_lcns_seq", "type": "bigint", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`db_mbrs_lcns_mtr` (
`userid` string COMMENT 'None',
`prodid` string COMMENT 'None',
`acntid` bigint COMMENT 'None',
`grp_fst_rgst_ymd` string COMMENT 'None',
`lcns_strt_ymd` string COMMENT 'None',
`lcns_end_ymd` string COMMENT 'None',
`stat_cd` string COMMENT 'None',
`dtl_stat_cd` string COMMENT 'None',
`payno` bigint COMMENT 'None',
`mv_pkgid` string COMMENT 'None',
`lst_lcns_seq` bigint COMMENT 'None',
`rgst_dt` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "db_mbrs_mbr_mtr", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "mbrs_userno", "type": "bigint", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}, {"name": "lst_mod_dt", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`db_mbrs_mbr_mtr` (
`userid` string COMMENT 'None',
`mbrs_userno` bigint COMMENT 'None',
`rgst_dt` string COMMENT 'None',
`lst_mod_dt` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "db_mbrs_prod_cntnu_use_mtr", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "prodid", "type": "string", "description": null}, {"name": "grpid", "type": "string", "description": null}, {"name": "cntnu_use_mcnt", "type": "bigint", "description": null}, {"name": "mgr_rgst_use_mcnt", "type": "bigint", "description": null}]}
|
CREATE TABLE `bip_dw`.`db_mbrs_prod_cntnu_use_mtr` (
`userid` string COMMENT 'None',
`prodid` string COMMENT 'None',
`grpid` string COMMENT 'None',
`cntnu_use_mcnt` bigint COMMENT 'None',
`mgr_rgst_use_mcnt` bigint COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "db_prod_payr_mtr", "description": null, "columns": [{"name": "st_cd", "type": "string", "description": null}, {"name": "sale_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": "string", "description": null}, {"name": "custno", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`db_prod_payr_mtr` (
`st_cd` string COMMENT 'None',
`sale_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`fst_pay_ymd` string COMMENT 'None',
`lst_pay_ymd` string COMMENT 'None',
`userno` string COMMENT 'None',
`custno` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "db_prod_useprd_m01", "description": null, "columns": [{"name": "prod_seq", "type": "string", "description": null}, {"name": "prodid", "type": "string", "description": null}, {"name": "cpid", "type": "string", "description": null}, {"name": "intnl_dvlp_yn", "type": "string", "description": null}, {"name": "use_prd_tp_cd", "type": "string", "description": null}, {"name": "avg_use_dcnt", "type": "double", "description": null}, {"name": "log_dt", "type": "string", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`db_prod_useprd_m01` (
`prod_seq` string COMMENT 'None',
`prodid` string COMMENT 'None',
`cpid` string COMMENT 'None',
`intnl_dvlp_yn` string COMMENT 'None',
`use_prd_tp_cd` string COMMENT 'None',
`avg_use_dcnt` double COMMENT 'None',
`log_dt` string COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dc_cldr_cd_mtr", "description": null, "columns": [{"name": "ymd_cd", "type": "string", "description": null}, {"name": "ym_cd", "type": "string", "description": null}, {"name": "yy_cd", "type": "string", "description": null}, {"name": "qtr_cd", "type": "string", "description": null}, {"name": "mm_cd", "type": "string", "description": null}, {"name": "dd_cd", "type": "string", "description": null}, {"name": "wday_cd", "type": "bigint", "description": null}, {"name": "bdd_cd", "type": "string", "description": null}, {"name": "bmd_cd", "type": "string", "description": null}, {"name": "bqd_cd", "type": "string", "description": null}, {"name": "byd_cd", "type": "string", "description": null}, {"name": "tmm_lst_dd_cd", "type": "string", "description": null}, {"name": "mm_wkdgr_cd", "type": "bigint", "description": null}, {"name": "yy_wkdgr_cd", "type": "bigint", "description": null}, {"name": "work_ymd_strt_dt", "type": "string", "description": null}, {"name": "work_ymd_end_dt", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dc_cldr_cd_mtr` (
`ymd_cd` string COMMENT 'None',
`ym_cd` string COMMENT 'None',
`yy_cd` string COMMENT 'None',
`qtr_cd` string COMMENT 'None',
`mm_cd` string COMMENT 'None',
`dd_cd` string COMMENT 'None',
`wday_cd` bigint COMMENT 'None',
`bdd_cd` string COMMENT 'None',
`bmd_cd` string COMMENT 'None',
`bqd_cd` string COMMENT 'None',
`byd_cd` string COMMENT 'None',
`tmm_lst_dd_cd` string COMMENT 'None',
`mm_wkdgr_cd` bigint COMMENT 'None',
`yy_wkdgr_cd` bigint COMMENT 'None',
`work_ymd_strt_dt` string COMMENT 'None',
`work_ymd_end_dt` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dc_endp_cd_mtr", "description": null, "columns": [{"name": "endp_cd", "type": "bigint", "description": null}, {"name": "endp_nm", "type": "string", "description": null}, {"name": "svc_cd", "type": "bigint", "description": null}, {"name": "svc_nm", "type": "string", "description": null}, {"name": "prod_seq", "type": "string", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dc_endp_cd_mtr` (
`endp_cd` bigint COMMENT 'None',
`endp_nm` string COMMENT 'None',
`svc_cd` bigint COMMENT 'None',
`svc_nm` string COMMENT 'None',
`prod_seq` string COMMENT 'None',
`rgst_dt` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dc_game_app_mapng_mtr", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "tc_pjt_id", "type": "string", "description": null}, {"name": "ta_app_key", "type": "string", "description": null}, {"name": "appgd_app_key", "type": "string", "description": null}, {"name": "log_crash_app_key", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dc_game_app_mapng_mtr` (
`game_cd` string COMMENT 'None',
`tc_pjt_id` string COMMENT 'None',
`ta_app_key` string COMMENT 'None',
`appgd_app_key` string COMMENT 'None',
`log_crash_app_key` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dc_gen_cd_mtr_fdw", "description": null, "columns": [{"name": "grp_cd", "type": "string", "description": null}, {"name": "gen_cd", "type": "string", "description": null}, {"name": "gen_nm", "type": "string", "description": null}, {"name": "scls_cd", "type": "string", "description": null}, {"name": "scls_nm", "type": "string", "description": null}, {"name": "mcls_cd", "type": "string", "description": null}, {"name": "mcls_nm", "type": "string", "description": null}, {"name": "lcls_cd", "type": "string", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "cd_desc", "type": "string", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}, {"name": "rgstr", "type": "string", "description": null}, {"name": "lst_mod_dt", "type": "string", "description": null}, {"name": "sort_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dc_gen_cd_mtr_fdw` (
`grp_cd` string COMMENT 'None',
`gen_cd` string COMMENT 'None',
`gen_nm` string COMMENT 'None',
`scls_cd` string COMMENT 'None',
`scls_nm` string COMMENT 'None',
`mcls_cd` string COMMENT 'None',
`mcls_nm` string COMMENT 'None',
`lcls_cd` string COMMENT 'None',
`lcls_nm` string COMMENT 'None',
`cd_desc` string COMMENT 'None',
`rgst_dt` string COMMENT 'None',
`rgstr` string COMMENT 'None',
`lst_mod_dt` string COMMENT 'None',
`sort_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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 `bip_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": "bip_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 `bip_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": "bip_dw", "table": "dc_nn_pay_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 `bip_dw`.`dc_nn_pay_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": "bip_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 `bip_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": "bip_dw", "table": "dg_bdki_user_mtr", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "hg_userid", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "bigint", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_login_dt", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "cm_pcnt", "type": "bigint", "description": null}, {"name": "cm_win_pcnt", "type": "bigint", "description": null}, {"name": "cm_los_pcnt", "type": "bigint", "description": null}, {"name": "gmony", "type": "bigint", "description": null}, {"name": "coin", "type": "bigint", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "fchg_coin", "type": "bigint", "description": null}, {"name": "rstsc_yn", "type": "string", "description": null}, {"name": "gssudda_use_yn", "type": "string", "description": null}, {"name": "los_rstct_mony", "type": "double", "description": null}, {"name": "safe_money", "type": "bigint", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_bdki_user_mtr` (
`userno` string COMMENT 'None',
`st_cd` string COMMENT 'None',
`hg_userid` string COMMENT 'None',
`game_grd_cd` bigint COMMENT 'None',
`join_dt` string COMMENT 'None',
`lst_login_dt` string COMMENT 'None',
`lst_game_dt` string COMMENT 'None',
`cm_pcnt` bigint COMMENT 'None',
`cm_win_pcnt` bigint COMMENT 'None',
`cm_los_pcnt` bigint COMMENT 'None',
`gmony` bigint COMMENT 'None',
`coin` bigint COMMENT 'None',
`num_etc1` bigint COMMENT 'None',
`ci` string COMMENT 'None',
`fchg_coin` bigint COMMENT 'None',
`rstsc_yn` string COMMENT 'None',
`gssudda_use_yn` string COMMENT 'None',
`los_rstct_mony` double COMMENT 'None',
`safe_money` bigint COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_mbl_gssudda_user_mtr", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "hg_userid", "type": "string", "description": null}, {"name": "tno", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "bigint", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "mony", "type": "bigint", "description": null}, {"name": "coin", "type": "bigint", "description": null}, {"name": "fchg_coin", "type": "bigint", "description": null}, {"name": "bns_cd", "type": "bigint", "description": null}, {"name": "safe_mony", "type": "bigint", "description": null}, {"name": "rstsc_yn", "type": "string", "description": null}, {"name": "bdki_use_yn", "type": "string", "description": null}, {"name": "cm_pcnt", "type": "bigint", "description": null}, {"name": "los_rstct_mony", "type": "double", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_mbl_gssudda_user_mtr` (
`userno` string COMMENT 'None',
`hg_userid` string COMMENT 'None',
`tno` string COMMENT 'None',
`game_grd_cd` bigint COMMENT 'None',
`join_dt` string COMMENT 'None',
`lst_game_dt` string COMMENT 'None',
`ci` string COMMENT 'None',
`idp_cd` string COMMENT 'None',
`idp_userno` string COMMENT 'None',
`mony` bigint COMMENT 'None',
`coin` bigint COMMENT 'None',
`fchg_coin` bigint COMMENT 'None',
`bns_cd` bigint COMMENT 'None',
`safe_mony` bigint COMMENT 'None',
`rstsc_yn` string COMMENT 'None',
`bdki_use_yn` string COMMENT 'None',
`cm_pcnt` bigint COMMENT 'None',
`los_rstct_mony` double COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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 `bip_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": "bip_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 `bip_dw`.`dg_mblg_item_hld_mtr` (
`st_cd` string COMMENT 'None',
`userno` string COMMENT 'None',
`item_id` string COMMENT 'None',
`item_tp_cd` string COMMENT 'None',
`hld_cnt` bigint COMMENT 'None',
`ltr_etc1` string COMMENT 'None',
`num_etc1` bigint COMMENT 'None',
`ltr_etc2` string COMMENT 'None',
`num_etc2` bigint COMMENT 'None',
`svr_id` string COMMENT 'None',
`ltr_etc3` string COMMENT 'None',
`ltr_etc4` string COMMENT 'None',
`ltr_etc5` string COMMENT 'None',
`ltr_etc6` string COMMENT 'None',
`game_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_mblg_item_mtr", "description": null, "columns": [{"name": "item_id", "type": "string", "description": null}, {"name": "item_nm", "type": "string", "description": null}, {"name": "item_tp_cd", "type": "string", "description": null}, {"name": "item_dtl_tp_cd", "type": "string", "description": null}, {"name": "item_add_info", "type": "string", "description": null}, {"name": "sale_prc", "type": "double", "description": null}, {"name": "use_psbl_tcnt", "type": "bigint", "description": null}, {"name": "use_psbl_tm", "type": "bigint", "description": null}, {"name": "actvn_psbl_tm", "type": "bigint", "description": null}, {"name": "max_pay_psbl_tcnt", "type": "bigint", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_mblg_item_mtr` (
`item_id` string COMMENT 'None',
`item_nm` string COMMENT 'None',
`item_tp_cd` string COMMENT 'None',
`item_dtl_tp_cd` string COMMENT 'None',
`item_add_info` string COMMENT 'None',
`sale_prc` double COMMENT 'None',
`use_psbl_tcnt` bigint COMMENT 'None',
`use_psbl_tm` bigint COMMENT 'None',
`actvn_psbl_tm` bigint COMMENT 'None',
`max_pay_psbl_tcnt` bigint COMMENT 'None',
`game_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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 `bip_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": "bip_dw", "table": "dg_mblg_user_m01", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "mket_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "lv_cd", "type": "string", "description": null}, {"name": "work_ym", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_mblg_user_m01` (
`userno` string COMMENT 'None',
`org_cd` string COMMENT 'None',
`join_dt` string COMMENT 'None',
`lst_game_dt` string COMMENT 'None',
`os_cd` string COMMENT 'None',
`mket_cd` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`lv_cd` string COMMENT 'None',
`work_ym` string COMMENT 'None',
`game_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_mblg_user_mtr", "description": null, "columns": [{"name": "st_cd", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "hg_userid", "type": "string", "description": null}, {"name": "hg_userno", "type": "bigint", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "brt_dy", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_login_dt", "type": "string", "description": null}, {"name": "lst_game_no", "type": "bigint", "description": null}, {"name": "fst_game_no", "type": "bigint", "description": null}, {"name": "cm_use_game_cnt", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "dev_key", "type": "string", "description": null}, {"name": "dev_mdl", "type": "string", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "os_ver", "type": "string", "description": null}, {"name": "act_game_cnt", "type": "bigint", "description": null}, {"name": "idp_fst_mapng_dt", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_mblg_user_mtr` (
`st_cd` string COMMENT 'None',
`userno` string COMMENT 'None',
`hg_userid` string COMMENT 'None',
`hg_userno` bigint COMMENT 'None',
`sex_cd` string COMMENT 'None',
`brt_dy` string COMMENT 'None',
`join_dt` string COMMENT 'None',
`lst_login_dt` string COMMENT 'None',
`lst_game_no` bigint COMMENT 'None',
`fst_game_no` bigint COMMENT 'None',
`cm_use_game_cnt` bigint COMMENT 'None',
`nat_cd` string COMMENT 'None',
`dev_key` string COMMENT 'None',
`dev_mdl` string COMMENT 'None',
`idp_userno` string COMMENT 'None',
`idp_cd` string COMMENT 'None',
`os_cd` string COMMENT 'None',
`os_ver` string COMMENT 'None',
`act_game_cnt` bigint COMMENT 'None',
`idp_fst_mapng_dt` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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 `bip_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": "bip_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}]}
|
CREATE TABLE `bip_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'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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 `bip_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": "bip_dw", "table": "dm_mbr_ci_dtl_mtr", "description": null, "columns": [{"name": "mbr_tp_cd", "type": "string", "description": null}, {"name": "id_no", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "age_cd", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_conn_dt", "type": "string", "description": null}, {"name": "fst_pay_ymd", "type": "string", "description": null}, {"name": "lst_pay_ymd", "type": "string", "description": null}, {"name": "cm_pay_amt", "type": "double", "description": null}, {"name": "slp_yn", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dm_mbr_ci_dtl_mtr` (
`mbr_tp_cd` string COMMENT 'None',
`id_no` string COMMENT 'None',
`ci` string COMMENT 'None',
`sex_cd` string COMMENT 'None',
`age_cd` string COMMENT 'None',
`join_dt` string COMMENT 'None',
`lst_conn_dt` string COMMENT 'None',
`fst_pay_ymd` string COMMENT 'None',
`lst_pay_ymd` string COMMENT 'None',
`cm_pay_amt` double COMMENT 'None',
`slp_yn` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dm_mbr_ci_id_mapng_mtr", "description": null, "columns": [{"name": "mbr_tp_cd", "type": "string", "description": null}, {"name": "id_no", "type": "string", "description": null}, {"name": "id", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dm_mbr_ci_id_mapng_mtr` (
`mbr_tp_cd` string COMMENT 'None',
`id_no` string COMMENT 'None',
`id` string COMMENT 'None',
`ci` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dm_mbr_ci_mtr", "description": null, "columns": [{"name": "ci", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "age_cd", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_conn_dt", "type": "string", "description": null}, {"name": "fst_pay_ymd", "type": "string", "description": null}, {"name": "lst_pay_ymd", "type": "string", "description": null}, {"name": "cm_pay_amt", "type": "double", "description": null}, {"name": "slp_yn", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dm_mbr_ci_mtr` (
`ci` string COMMENT 'None',
`sex_cd` string COMMENT 'None',
`age_cd` string COMMENT 'None',
`join_dt` string COMMENT 'None',
`lst_conn_dt` string COMMENT 'None',
`fst_pay_ymd` string COMMENT 'None',
`lst_pay_ymd` string COMMENT 'None',
`cm_pay_amt` double COMMENT 'None',
`slp_yn` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dm_nv_mbr_mtr", "description": null, "columns": [{"name": "st_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "brthy", "type": "bigint", "description": null}, {"name": "brtd", "type": "string", "description": null}, {"name": "age_cd", "type": "string", "description": null}, {"name": "fullage_cd", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dm_nv_mbr_mtr` (
`st_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`brthy` bigint COMMENT 'None',
`brtd` string COMMENT 'None',
`age_cd` string COMMENT 'None',
`fullage_cd` string COMMENT 'None',
`sex_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "ds_appgd_app_mtr", "description": null, "columns": [{"name": "app_key", "type": "string", "description": null}, {"name": "app_nm", "type": "string", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}, {"name": "end_dt", "type": "string", "description": null}, {"name": "stat_cd", "type": "string", "description": null}, {"name": "apl_yn", "type": "string", "description": null}, {"name": "svc_tp_cd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`ds_appgd_app_mtr` (
`app_key` string COMMENT 'None',
`app_nm` string COMMENT 'None',
`rgst_dt` string COMMENT 'None',
`end_dt` string COMMENT 'None',
`stat_cd` string COMMENT 'None',
`apl_yn` string COMMENT 'None',
`svc_tp_cd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sb_extnl_acct_audt_sm01", "description": null, "columns": [{"name": "org_cd", "type": "string", "description": null}, {"name": "cpid", "type": "string", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sb_extnl_acct_audt_sm01` (
`org_cd` string COMMENT 'None',
`cpid` string COMMENT 'None',
`pu` bigint COMMENT 'None',
`sale_cnt` bigint COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_adid_sd01", "description": null, "columns": [{"name": "act_tp_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "ci_mapng_yn", "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": "app_list_ucnt", "type": "bigint", "description": null}, {"name": "d365_pu", "type": "bigint", "description": null}, {"name": "d365_payco_pu", "type": "bigint", "description": null}, {"name": "d365_game_ucnt", "type": "bigint", "description": null}, {"name": "demo_ucnt", "type": "bigint", "description": null}, {"name": "ci_mapng_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_adid_sd01` (
`act_tp_cd` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`os_cd` string COMMENT 'None',
`ci_mapng_yn` string COMMENT 'None',
`sex_cd` string COMMENT 'None',
`age_cd` string COMMENT 'None',
`cm_user` bigint COMMENT 'None',
`new_ucnt` bigint COMMENT 'None',
`app_list_ucnt` bigint COMMENT 'None',
`d365_pu` bigint COMMENT 'None',
`d365_payco_pu` bigint COMMENT 'None',
`d365_game_ucnt` bigint COMMENT 'None',
`demo_ucnt` bigint COMMENT 'None',
`ci_mapng_ucnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_bdki_high_rnk_game_sm01", "description": null, "columns": [{"name": "chnl_nm", "type": "string", "description": null}, {"name": "game_mode", "type": "string", "description": null}, {"name": "sumry_lv", "type": "bigint", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "user_pcnt", "type": "bigint", "description": null}, {"name": "allin_tcnt", "type": "bigint", "description": null}, {"name": "los_mony", "type": "bigint", "description": null}, {"name": "dealr_mony", "type": "bigint", "description": null}, {"name": "game_tp_cd", "type": "string", "description": null}, {"name": "pcnt", "type": "bigint", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_bdki_high_rnk_game_sm01` (
`chnl_nm` string COMMENT 'None',
`game_mode` string COMMENT 'None',
`sumry_lv` bigint COMMENT 'None',
`ucnt` bigint COMMENT 'None',
`user_pcnt` bigint COMMENT 'None',
`allin_tcnt` bigint COMMENT 'None',
`los_mony` bigint COMMENT 'None',
`dealr_mony` bigint COMMENT 'None',
`game_tp_cd` string COMMENT 'None',
`pcnt` bigint COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_bdki_high_rnk_pu_sm01", "description": null, "columns": [{"name": "market", "type": "string", "description": null}, {"name": "sumry_lv", "type": "int", "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": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_bdki_high_rnk_pu_sm01` (
`market` string COMMENT 'None',
`sumry_lv` int 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',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_bdki_high_rnk_sale_sm01", "description": null, "columns": [{"name": "sumry_lv", "type": "int", "description": null}, {"name": "market", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "prod_nm", "type": "string", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "samt", "type": "bigint", "description": null}, {"name": "nsamt", "type": "bigint", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_bdki_high_rnk_sale_sm01` (
`sumry_lv` int COMMENT 'None',
`market` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`prod_nm` string COMMENT 'None',
`pu` bigint COMMENT 'None',
`sale_cnt` bigint COMMENT 'None',
`samt` bigint COMMENT 'None',
`nsamt` bigint COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_bdki_high_rnk_user_sm01", "description": null, "columns": [{"name": "mau", "type": "bigint", "description": null}, {"name": "new_ucnt", "type": "bigint", "description": null}, {"name": "secd_ucnt", "type": "bigint", "description": null}, {"name": "cmbck_ucnt", "type": "bigint", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_bdki_high_rnk_user_sm01` (
`mau` bigint COMMENT 'None',
`new_ucnt` bigint COMMENT 'None',
`secd_ucnt` bigint COMMENT 'None',
`cmbck_ucnt` bigint COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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 `bip_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": "bip_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 `bip_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": "bip_dw", "table": "sg_mblg_pay_sm01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "mket_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "prod_id", "type": "string", "description": null}, {"name": "sumry_lv", "type": "bigint", "description": null}, {"name": "game_grd_secn_zn_cd", "type": "string", "description": null}, {"name": "pay_amt_secn_zn_cd", "type": "string", "description": null}, {"name": "cm_pay_amt_secn_zn_cd", "type": "string", "description": null}, {"name": "pay_cnt", "type": "bigint", "description": null}, {"name": "pay_amt", "type": "double", "description": null}, {"name": "net_pay_amt", "type": "double", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_mblg_pay_sm01` (
`game_cd` string COMMENT 'None',
`mket_cd` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`prod_id` string COMMENT 'None',
`sumry_lv` bigint COMMENT 'None',
`game_grd_secn_zn_cd` string COMMENT 'None',
`pay_amt_secn_zn_cd` string COMMENT 'None',
`cm_pay_amt_secn_zn_cd` string COMMENT 'None',
`pay_cnt` bigint COMMENT 'None',
`pay_amt` double COMMENT 'None',
`net_pay_amt` double COMMENT 'None',
`pu` bigint COMMENT 'None',
`ltr_etc1` string COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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}]}
|
CREATE TABLE `bip_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'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_po_v1_objr_game_sm02", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "game_tp_cd", "type": "string", "description": null}, {"name": "user_tp_cd", "type": "string", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "tcnt", "type": "bigint", "description": null}, {"name": "pcnt", "type": "bigint", "description": null}, {"name": "mony", "type": "double", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_po_v1_objr_game_sm02` (
`game_cd` string COMMENT 'None',
`game_tp_cd` string COMMENT 'None',
`user_tp_cd` string COMMENT 'None',
`ucnt` bigint COMMENT 'None',
`tcnt` bigint COMMENT 'None',
`pcnt` bigint COMMENT 'None',
`mony` double COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_po_v1_objr_game_sm03", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "game_tp_cd", "type": "string", "description": null}, {"name": "user_tp_cd", "type": "string", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "tcnt", "type": "bigint", "description": null}, {"name": "pcnt", "type": "bigint", "description": null}, {"name": "mony", "type": "double", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_po_v1_objr_game_sm03` (
`game_cd` string COMMENT 'None',
`game_tp_cd` string COMMENT 'None',
`user_tp_cd` string COMMENT 'None',
`ucnt` bigint COMMENT 'None',
`tcnt` bigint COMMENT 'None',
`pcnt` bigint COMMENT 'None',
`mony` double COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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 `bip_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": "bip_dw", "table": "sg_po_vip_user_sm01", "description": null, "columns": [{"name": "vip_grd_cd", "type": "string", "description": null}, {"name": "cm_ucnt", "type": "bigint", "description": null}, {"name": "new_ucnt", "type": "bigint", "description": null}, {"name": "cntnu_ucnt", "type": "bigint", "description": null}, {"name": "secd_ucnt", "type": "bigint", "description": null}, {"name": "mm_pu", "type": "bigint", "description": null}, {"name": "mm_nsamt", "type": "double", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_po_vip_user_sm01` (
`vip_grd_cd` string COMMENT 'None',
`cm_ucnt` bigint COMMENT 'None',
`new_ucnt` bigint COMMENT 'None',
`cntnu_ucnt` bigint COMMENT 'None',
`secd_ucnt` bigint COMMENT 'None',
`mm_pu` bigint COMMENT 'None',
`mm_nsamt` double COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_std_indr_endp_sale_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": "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_ym", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_std_indr_endp_sale_sm01` (
`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_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_std_indr_endp_sale_sm02", "description": null, "columns": [{"name": "lcls_cd", "type": "string", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "pu", "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_ym", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_std_indr_endp_sale_sm02` (
`lcls_cd` string COMMENT 'None',
`lcls_nm` string COMMENT 'None',
`pu` bigint COMMENT 'None',
`samt` double COMMENT 'None',
`nsamt` double COMMENT 'None',
`samt_jpy` double COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "sg_std_indr_org_sale_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": "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": "samt", "type": "double", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "samt_jpy", "type": "double", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_std_indr_org_sale_sm01` (
`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',
`samt` double COMMENT 'None',
`nsamt` double COMMENT 'None',
`samt_jpy` double COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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 `bip_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": "bip_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 `bip_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": "bip_dw", "table": "sg_std_indr_sale_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": "lcls_nm", "type": "string", "description": null}, {"name": "mcls_nm", "type": "string", "description": null}, {"name": "org_nm", "type": "string", "description": null}, {"name": "pu", "type": "double", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`sg_std_indr_sale_sm01` (
`lcls_cd` string COMMENT 'None',
`mcls_cd` string COMMENT 'None',
`org_cd` string COMMENT 'None',
`lcls_nm` string COMMENT 'None',
`mcls_nm` string COMMENT 'None',
`org_nm` string COMMENT 'None',
`pu` double COMMENT 'None',
`nsamt` double COMMENT 'None',
`samt` double COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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 `bip_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": "bip_dw", "table": "ss_dev_mdl_sm01", "description": null, "columns": [{"name": "dev_mdl_cd", "type": "string", "description": null}, {"name": "os_ver", "type": "string", "description": null}, {"name": "conn_nat_cd", "type": "string", "description": null}, {"name": "app_key", "type": "string", "description": null}, {"name": "sumry_lv", "type": "bigint", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "app_nm", "type": "string", "description": null}, {"name": "adid_cnt", "type": "bigint", "description": null}, {"name": "work_ym", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`ss_dev_mdl_sm01` (
`dev_mdl_cd` string COMMENT 'None',
`os_ver` string COMMENT 'None',
`conn_nat_cd` string COMMENT 'None',
`app_key` string COMMENT 'None',
`sumry_lv` bigint COMMENT 'None',
`os_cd` string COMMENT 'None',
`app_nm` string COMMENT 'None',
`adid_cnt` bigint COMMENT 'None',
`work_ym` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "db_endp_use_hist", "description": null, "columns": [{"name": "work_hh", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "endp_cd", "type": "bigint", "description": null}, {"name": "endp_stat_cd", "type": "string", "description": null}, {"name": "gameid", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "ip", "type": "string", "description": null}, {"name": "endp_qty", "type": "double", "description": null}, {"name": "get_gmony", "type": "double", "description": null}, {"name": "use_cnt", "type": "bigint", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "custno", "type": "string", "description": null}, {"name": "mony_exchg_endp_unit", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`db_endp_use_hist` (
`work_hh` string COMMENT 'None',
`userid` string COMMENT 'None',
`endp_cd` bigint COMMENT 'None',
`endp_stat_cd` string COMMENT 'None',
`gameid` string COMMENT 'None',
`game_grd_cd` string COMMENT 'None',
`ip` string COMMENT 'None',
`endp_qty` double COMMENT 'None',
`get_gmony` double COMMENT 'None',
`use_cnt` bigint COMMENT 'None',
`samt` double COMMENT 'None',
`userno` string COMMENT 'None',
`custno` string COMMENT 'None',
`mony_exchg_endp_unit` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "db_epay_prod_pay_hist", "description": null, "columns": [{"name": "ord_no", "type": "string", "description": null}, {"name": "prod_seq", "type": "string", "description": null}, {"name": "prod_nm", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "pay_stat_cd", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "pay_chnl_cd", "type": "string", "description": null}, {"name": "bllng_userno", "type": "bigint", "description": null}, {"name": "prod_pay_uprc", "type": "bigint", "description": null}, {"name": "prod_pay_amt", "type": "double", "description": null}, {"name": "ord_qty", "type": "bigint", "description": null}, {"name": "pay_cmpl_dt", "type": "string", "description": null}, {"name": "ord_dt", "type": "string", "description": null}, {"name": "cp_id", "type": "string", "description": null}, {"name": "svc_id", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`db_epay_prod_pay_hist` (
`ord_no` string COMMENT 'None',
`prod_seq` string COMMENT 'None',
`prod_nm` string COMMENT 'None',
`userid` string COMMENT 'None',
`pay_stat_cd` string COMMENT 'None',
`st_cd` string COMMENT 'None',
`pay_chnl_cd` string COMMENT 'None',
`bllng_userno` bigint COMMENT 'None',
`prod_pay_uprc` bigint COMMENT 'None',
`prod_pay_amt` double COMMENT 'None',
`ord_qty` bigint COMMENT 'None',
`pay_cmpl_dt` string COMMENT 'None',
`ord_dt` string COMMENT 'None',
`cp_id` string COMMENT 'None',
`svc_id` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "db_mbrs_lcns_chg_hist", "description": null, "columns": [{"name": "lcns_chg_seq", "type": "bigint", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "prodid", "type": "string", "description": null}, {"name": "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": "mv_pkgid", "type": "string", "description": null}, {"name": "cre_rsn_cd", "type": "string", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`db_mbrs_lcns_chg_hist` (
`lcns_chg_seq` bigint COMMENT 'None',
`userid` string COMMENT 'None',
`prodid` string COMMENT 'None',
`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',
`mv_pkgid` string COMMENT 'None',
`cre_rsn_cd` string 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": "bip_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 `bip_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": "bip_dw", "table": "db_mbrs_pay_hist", "description": null, "columns": [{"name": "payno", "type": "bigint", "description": null}, {"name": "acntid", "type": "bigint", "description": null}, {"name": "pkgid", "type": "string", "description": null}, {"name": "pay_ymd", "type": "string", "description": null}, {"name": "pay_hms", "type": "string", "description": null}, {"name": "pay_tp_cd", "type": "string", "description": null}, {"name": "pg_cd", "type": "string", "description": null}, {"name": "dctktno", "type": "string", "description": null}, {"name": "gift_rcvdacntid", "type": "bigint", "description": null}, {"name": "inflw_chnl_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`db_mbrs_pay_hist` (
`payno` bigint COMMENT 'None',
`acntid` bigint COMMENT 'None',
`pkgid` string COMMENT 'None',
`pay_ymd` string COMMENT 'None',
`pay_hms` string COMMENT 'None',
`pay_tp_cd` string COMMENT 'None',
`pg_cd` string COMMENT 'None',
`dctktno` string COMMENT 'None',
`gift_rcvdacntid` bigint COMMENT 'None',
`inflw_chnl_cd` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "db_prod_sale_hist", "description": null, "columns": [{"name": "work_hh", "type": "string", "description": null}, {"name": "pay_chnl_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "prod_seq", "type": "string", "description": null}, {"name": "pay_tp_cd", "type": "string", "description": null}, {"name": "pay_mns_cd", "type": "string", "description": null}, {"name": "atmt_pay_yn", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "noml_amt", "type": "double", "description": null}, {"name": "noml_cnt", "type": "bigint", "description": null}, {"name": "canc_amt", "type": "double", "description": null}, {"name": "canc_cnt", "type": "bigint", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "fre_samt", "type": "double", "description": null}, {"name": "fre_nsamt", "type": "double", "description": null}, {"name": "net_noml_amt", "type": "double", "description": null}, {"name": "net_canc_amt", "type": "double", "description": null}, {"name": "pay_mnsid", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "samt_jpy", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`db_prod_sale_hist` (
`work_hh` string COMMENT 'None',
`pay_chnl_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`prod_seq` string COMMENT 'None',
`pay_tp_cd` string COMMENT 'None',
`pay_mns_cd` string COMMENT 'None',
`atmt_pay_yn` string COMMENT 'None',
`st_cd` string COMMENT 'None',
`samt` double COMMENT 'None',
`nsamt` double COMMENT 'None',
`sale_cnt` bigint COMMENT 'None',
`noml_amt` double COMMENT 'None',
`noml_cnt` bigint COMMENT 'None',
`canc_amt` double COMMENT 'None',
`canc_cnt` bigint COMMENT 'None',
`userno` bigint COMMENT 'None',
`custno` bigint COMMENT 'None',
`fre_samt` double COMMENT 'None',
`fre_nsamt` double COMMENT 'None',
`net_noml_amt` double COMMENT 'None',
`net_canc_amt` double COMMENT 'None',
`pay_mnsid` string COMMENT 'None',
`game_grd_cd` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`samt_jpy` double COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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 `bip_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": "bip_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 `bip_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": "bip_dw", "table": "dc_gen_cd_d01", "description": null, "columns": [{"name": "grp_cd", "type": "string", "description": null}, {"name": "gen_cd", "type": "string", "description": null}, {"name": "gen_nm", "type": "string", "description": null}, {"name": "scls_cd", "type": "string", "description": null}, {"name": "scls_nm", "type": "string", "description": null}, {"name": "mcls_cd", "type": "string", "description": null}, {"name": "mcls_nm", "type": "string", "description": null}, {"name": "lcls_cd", "type": "string", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "cd_desc", "type": "string", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}, {"name": "rgstr", "type": "string", "description": null}, {"name": "lst_mod_dt", "type": "string", "description": null}, {"name": "sort_cd", "type": "string", "description": null}, {"name": "modr", "type": "string", "description": null}, {"name": "tbl_gb_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dc_gen_cd_d01` (
`grp_cd` string COMMENT 'None',
`gen_cd` string COMMENT 'None',
`gen_nm` string COMMENT 'None',
`scls_cd` string COMMENT 'None',
`scls_nm` string COMMENT 'None',
`mcls_cd` string COMMENT 'None',
`mcls_nm` string COMMENT 'None',
`lcls_cd` string COMMENT 'None',
`lcls_nm` string COMMENT 'None',
`cd_desc` string COMMENT 'None',
`rgst_dt` string COMMENT 'None',
`rgstr` string COMMENT 'None',
`lst_mod_dt` string COMMENT 'None',
`sort_cd` string COMMENT 'None',
`modr` string COMMENT 'None',
`tbl_gb_cd` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dc_grp_cd_d01", "description": null, "columns": [{"name": "grp_cd", "type": "string", "description": null}, {"name": "grp_nm", "type": "string", "description": null}, {"name": "grp_eng_nm", "type": "string", "description": null}, {"name": "cd_len", "type": "string", "description": null}, {"name": "cd_tp_cd", "type": "string", "description": null}, {"name": "grp_scls_cd", "type": "string", "description": null}, {"name": "grp_mcls_cd", "type": "string", "description": null}, {"name": "grp_desc", "type": "string", "description": null}, {"name": "end_ymd", "type": "string", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}, {"name": "rgstr", "type": "string", "description": null}, {"name": "lst_mod_dt", "type": "string", "description": null}, {"name": "fdw_use_yn", "type": "string", "description": null}, {"name": "modr", "type": "string", "description": null}, {"name": "del_yn", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dc_grp_cd_d01` (
`grp_cd` string COMMENT 'None',
`grp_nm` string COMMENT 'None',
`grp_eng_nm` string COMMENT 'None',
`cd_len` string COMMENT 'None',
`cd_tp_cd` string COMMENT 'None',
`grp_scls_cd` string COMMENT 'None',
`grp_mcls_cd` string COMMENT 'None',
`grp_desc` string COMMENT 'None',
`end_ymd` string COMMENT 'None',
`rgst_dt` string COMMENT 'None',
`rgstr` string COMMENT 'None',
`lst_mod_dt` string COMMENT 'None',
`fdw_use_yn` string COMMENT 'None',
`modr` string COMMENT 'None',
`del_yn` string COMMENT 'None',
`game_cd` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dc_list_cd_d01", "description": null, "columns": [{"name": "grp_cd", "type": "string", "description": null}, {"name": "list_cd", "type": "string", "description": null}, {"name": "list_nm", "type": "string", "description": null}, {"name": "list1_cd", "type": "string", "description": null}, {"name": "list1_nm", "type": "string", "description": null}, {"name": "list2_cd", "type": "string", "description": null}, {"name": "list2_nm", "type": "string", "description": null}, {"name": "list3_cd", "type": "string", "description": null}, {"name": "list3_nm", "type": "string", "description": null}, {"name": "list4_cd", "type": "string", "description": null}, {"name": "list4_nm", "type": "string", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}, {"name": "rgstr", "type": "string", "description": null}, {"name": "lst_mod_dt", "type": "string", "description": null}, {"name": "sort", "type": "string", "description": null}, {"name": "list5_cd", "type": "string", "description": null}, {"name": "list5_nm", "type": "string", "description": null}, {"name": "modr", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dc_list_cd_d01` (
`grp_cd` string COMMENT 'None',
`list_cd` string COMMENT 'None',
`list_nm` string COMMENT 'None',
`list1_cd` string COMMENT 'None',
`list1_nm` string COMMENT 'None',
`list2_cd` string COMMENT 'None',
`list2_nm` string COMMENT 'None',
`list3_cd` string COMMENT 'None',
`list3_nm` string COMMENT 'None',
`list4_cd` string COMMENT 'None',
`list4_nm` string COMMENT 'None',
`rgst_dt` string COMMENT 'None',
`rgstr` string COMMENT 'None',
`lst_mod_dt` string COMMENT 'None',
`sort` string COMMENT 'None',
`list5_cd` string COMMENT 'None',
`list5_nm` string COMMENT 'None',
`modr` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dc_prd_cd_mtr", "description": null, "columns": [{"name": "input_ymd", "type": "string", "description": null}, {"name": "lst_game_prd_cd", "type": "string", "description": null}, {"name": "join_prd_cd", "type": "string", "description": null}, {"name": "sort_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dc_prd_cd_mtr` (
`input_ymd` string COMMENT 'None',
`lst_game_prd_cd` string COMMENT 'None',
`join_prd_cd` string COMMENT 'None',
`sort_cd` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dc_secn_cd_d01", "description": null, "columns": [{"name": "grp_cd", "type": "string", "description": null}, {"name": "secn_cd", "type": "string", "description": null}, {"name": "secn_nm", "type": "string", "description": null}, {"name": "secn_from", "type": "double", "description": null}, {"name": "secn_to", "type": "double", "description": null}, {"name": "scls_cd", "type": "string", "description": null}, {"name": "scls_nm", "type": "string", "description": null}, {"name": "mcls_cd", "type": "string", "description": null}, {"name": "mcls_nm", "type": "string", "description": null}, {"name": "lcls_cd", "type": "string", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}, {"name": "rgstr", "type": "string", "description": null}, {"name": "lst_mod_dt", "type": "string", "description": null}, {"name": "sort_cd", "type": "string", "description": null}, {"name": "modr", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dc_secn_cd_d01` (
`grp_cd` string COMMENT 'None',
`secn_cd` string COMMENT 'None',
`secn_nm` string COMMENT 'None',
`secn_from` double COMMENT 'None',
`secn_to` double COMMENT 'None',
`scls_cd` string COMMENT 'None',
`scls_nm` string COMMENT 'None',
`mcls_cd` string COMMENT 'None',
`mcls_nm` string COMMENT 'None',
`lcls_cd` string COMMENT 'None',
`lcls_nm` string COMMENT 'None',
`rgst_dt` string COMMENT 'None',
`rgstr` string COMMENT 'None',
`lst_mod_dt` string COMMENT 'None',
`sort_cd` string COMMENT 'None',
`modr` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_adid_ci_mapng_d01", "description": null, "columns": [{"name": "adid", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_adid_ci_mapng_d01` (
`adid` string COMMENT 'None',
`ci` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_adid_d01", "description": null, "columns": [{"name": "adid", "type": "string", "description": null}, {"name": "inflw_dt", "type": "string", "description": null}, {"name": "lst_dt", "type": "string", "description": null}, {"name": "inflw_game_cd", "type": "string", "description": null}, {"name": "lst_game_cd", "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": "app_list_yn", "type": "string", "description": null}, {"name": "d365_payco_pu_yn", "type": "string", "description": null}, {"name": "d365_game_use_yn", "type": "string", "description": null}, {"name": "ci_mapng_yn", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_adid_d01` (
`adid` string COMMENT 'None',
`inflw_dt` string COMMENT 'None',
`lst_dt` string COMMENT 'None',
`inflw_game_cd` string COMMENT 'None',
`lst_game_cd` 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',
`app_list_yn` string COMMENT 'None',
`d365_payco_pu_yn` string COMMENT 'None',
`d365_game_use_yn` string COMMENT 'None',
`ci_mapng_yn` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_adid_id_mapng_d01", "description": null, "columns": [{"name": "adid", "type": "string", "description": null}, {"name": "mbr_tp_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_adid_id_mapng_d01` (
`adid` string COMMENT 'None',
`mbr_tp_cd` string COMMENT 'None',
`userid` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_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 `bip_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": "bip_dw", "table": "dg_anly_sdk_hist", "description": null, "columns": [{"name": "log_dt", "type": "string", "description": null}, {"name": "svr_ip", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "dev_mdl", "type": "string", "description": null}, {"name": "clnt_tm", "type": "string", "description": null}, {"name": "os_ver", "type": "string", "description": null}, {"name": "adid", "type": "string", "description": null}, {"name": "app_id", "type": "string", "description": null}, {"name": "co_id", "type": "string", "description": null}, {"name": "app_ver", "type": "string", "description": null}, {"name": "ip", "type": "string", "description": null}, {"name": "telecom", "type": "string", "description": null}, {"name": "time_zone", "type": "string", "description": null}, {"name": "log_tp_cd", "type": "string", "description": null}, {"name": "prtl_ver", "type": "string", "description": null}, {"name": "sdk_ver", "type": "string", "description": null}, {"name": "dev_lang", "type": "string", "description": null}, {"name": "dev_nat_cd", "type": "string", "description": null}, {"name": "prod_cd", "type": "string", "description": null}, {"name": "prod_uprc", "type": "string", "description": null}, {"name": "crncy_cd", "type": "string", "description": null}, {"name": "pay_amt", "type": "float", "description": null}, {"name": "lv", "type": "string", "description": null}, {"name": "ua", "type": "string", "description": null}, {"name": "refr", "type": "string", "description": null}, {"name": "refr_dtl", "type": "string", "description": null}, {"name": "ptm_ss", "type": "string", "description": null}, {"name": "app_userid", "type": "string", "description": null}, {"name": "tkn", "type": "string", "description": null}, {"name": "store", "type": "string", "description": null}, {"name": "dim", "type": "string", "description": null}, {"name": "cmpn_id", "type": "string", "description": null}, {"name": "hld_frnd_cnt", "type": "bigint", "description": null}, {"name": "gds_id", "type": "string", "description": null}, {"name": "gds_tp_cd", "type": "string", "description": null}, {"name": "gds_act_cd", "type": "string", "description": null}, {"name": "gds_chg_qty", "type": "double", "description": null}, {"name": "uuid", "type": "string", "description": null}, {"name": "ownco_svc_yn", "type": "string", "description": null}, {"name": "ntwk_tp", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_anly_sdk_hist` (
`log_dt` string COMMENT 'None',
`svr_ip` string COMMENT 'None',
`userid` string COMMENT 'None',
`os_cd` string COMMENT 'None',
`dev_mdl` string COMMENT 'None',
`clnt_tm` string COMMENT 'None',
`os_ver` string COMMENT 'None',
`adid` string COMMENT 'None',
`app_id` string COMMENT 'None',
`co_id` string COMMENT 'None',
`app_ver` string COMMENT 'None',
`ip` string COMMENT 'None',
`telecom` string COMMENT 'None',
`time_zone` string COMMENT 'None',
`log_tp_cd` string COMMENT 'None',
`prtl_ver` string COMMENT 'None',
`sdk_ver` string COMMENT 'None',
`dev_lang` string COMMENT 'None',
`dev_nat_cd` string COMMENT 'None',
`prod_cd` string COMMENT 'None',
`prod_uprc` string COMMENT 'None',
`crncy_cd` string COMMENT 'None',
`pay_amt` float COMMENT 'None',
`lv` string COMMENT 'None',
`ua` string COMMENT 'None',
`refr` string COMMENT 'None',
`refr_dtl` string COMMENT 'None',
`ptm_ss` string COMMENT 'None',
`app_userid` string COMMENT 'None',
`tkn` string COMMENT 'None',
`store` string COMMENT 'None',
`dim` string COMMENT 'None',
`cmpn_id` string COMMENT 'None',
`hld_frnd_cnt` bigint COMMENT 'None',
`gds_id` string COMMENT 'None',
`gds_tp_cd` string COMMENT 'None',
`gds_act_cd` string COMMENT 'None',
`gds_chg_qty` double COMMENT 'None',
`uuid` string COMMENT 'None',
`ownco_svc_yn` string COMMENT 'None',
`ntwk_tp` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_bdki_high_rnk_sale_hist", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "prod_seq", "type": "string", "description": null}, {"name": "prod_nm", "type": "string", "description": null}, {"name": "sale_cd", "type": "string", "description": null}, {"name": "lcls_cd", "type": "string", "description": null}, {"name": "lcls_nm", "type": "string", "description": null}, {"name": "scls_cd", "type": "string", "description": null}, {"name": "scls_nm", "type": "string", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_bdki_high_rnk_sale_hist` (
`userno` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`prod_seq` string COMMENT 'None',
`prod_nm` string COMMENT 'None',
`sale_cd` string COMMENT 'None',
`lcls_cd` string COMMENT 'None',
`lcls_nm` string COMMENT 'None',
`scls_cd` string COMMENT 'None',
`scls_nm` string COMMENT 'None',
`samt` double COMMENT 'None',
`nsamt` double COMMENT 'None',
`sale_cnt` bigint COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_bdki_high_rnk_user_d01", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "mket_cd", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "join_prd_cd", "type": "string", "description": null}, {"name": "lst_vst_dt", "type": "string", "description": null}, {"name": "lst_vst_prd_cd", "type": "string", "description": null}, {"name": "bdd_lst_vst_dt", "type": "string", "description": null}, {"name": "bdd_lst_vst_prd_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_bdki_high_rnk_user_d01` (
`userno` string COMMENT 'None',
`nat_cd` string COMMENT 'None',
`mket_cd` string COMMENT 'None',
`join_dt` string COMMENT 'None',
`join_prd_cd` string COMMENT 'None',
`lst_vst_dt` string COMMENT 'None',
`lst_vst_prd_cd` string COMMENT 'None',
`bdd_lst_vst_dt` string COMMENT 'None',
`bdd_lst_vst_prd_cd` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_bdki_high_rnk_user_join_d01", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_vst_dt", "type": "string", "description": null}, {"name": "bdd_lst_vst_dt", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_bdki_high_rnk_user_join_d01` (
`userno` string COMMENT 'None',
`join_dt` string COMMENT 'None',
`lst_vst_dt` string COMMENT 'None',
`bdd_lst_vst_dt` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_cardg_dup_user_d01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "hg_userid", "type": "string", "description": null}, {"name": "hg_userno", "type": "string", "description": null}, {"name": "hg_custno", "type": "string", "description": null}, {"name": "mbl_userno", "type": "string", "description": null}, {"name": "mbl_join_dt", "type": "string", "description": null}, {"name": "mbl_join_prd_cd", "type": "string", "description": null}, {"name": "mbl_lst_game_dt", "type": "string", "description": null}, {"name": "mbl_lst_game_prd_cd", "type": "string", "description": null}, {"name": "pc_join_dt", "type": "string", "description": null}, {"name": "pc_join_prd_cd", "type": "string", "description": null}, {"name": "pc_lst_game_dt", "type": "string", "description": null}, {"name": "pc_lst_game_prd_cd", "type": "string", "description": null}, {"name": "pc_cm_pcnt", "type": "bigint", "description": null}, {"name": "pc_tdd_pcnt", "type": "bigint", "description": null}, {"name": "hld_mony", "type": "double", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_cardg_dup_user_d01` (
`game_cd` string COMMENT 'None',
`hg_userid` string COMMENT 'None',
`hg_userno` string COMMENT 'None',
`hg_custno` string COMMENT 'None',
`mbl_userno` string COMMENT 'None',
`mbl_join_dt` string COMMENT 'None',
`mbl_join_prd_cd` string COMMENT 'None',
`mbl_lst_game_dt` string COMMENT 'None',
`mbl_lst_game_prd_cd` string COMMENT 'None',
`pc_join_dt` string COMMENT 'None',
`pc_join_prd_cd` string COMMENT 'None',
`pc_lst_game_dt` string COMMENT 'None',
`pc_lst_game_prd_cd` string COMMENT 'None',
`pc_cm_pcnt` bigint COMMENT 'None',
`pc_tdd_pcnt` bigint COMMENT 'None',
`hld_mony` double COMMENT 'None',
`ci` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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 `bip_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": "bip_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 `bip_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": "bip_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}]}
|
CREATE TABLE `bip_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'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_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 `bip_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": "bip_dw", "table": "dg_mbl_gssudda_evnt_hist", "description": null, "columns": [{"name": "evnt_id", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "log_tp_cd", "type": "string", "description": null}, {"name": "log_dt", "type": "string", "description": null}, {"name": "num_val1", "type": "bigint", "description": null}, {"name": "num_val2", "type": "bigint", "description": null}, {"name": "num_val3", "type": "bigint", "description": null}, {"name": "ltr_val1", "type": "string", "description": null}, {"name": "ltr_val2", "type": "string", "description": null}, {"name": "ltr_val3", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_mbl_gssudda_evnt_hist` (
`evnt_id` string COMMENT 'None',
`userno` string COMMENT 'None',
`log_tp_cd` string COMMENT 'None',
`log_dt` string COMMENT 'None',
`num_val1` bigint COMMENT 'None',
`num_val2` bigint COMMENT 'None',
`num_val3` bigint COMMENT 'None',
`ltr_val1` string COMMENT 'None',
`ltr_val2` string COMMENT 'None',
`ltr_val3` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_mbl_gssudda_mail_dsph_hist", "description": null, "columns": [{"name": "rgst_dt", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "dsph_info", "type": "string", "description": null}, {"name": "catg_info", "type": "string", "description": null}, {"name": "msg_data", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
|
CREATE TABLE `bip_dw`.`dg_mbl_gssudda_mail_dsph_hist` (
`rgst_dt` string COMMENT 'None',
`userno` string COMMENT 'None',
`dsph_info` string COMMENT 'None',
`catg_info` string COMMENT 'None',
`msg_data` string COMMENT 'None',
`work_ymd` string COMMENT 'None'
);
|
Write a SQL CREATE TABLE script based on the given schema information.
|
{"database": "bip_dw", "table": "dg_mblg_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 `bip_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": "bip_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 `bip_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": "bip_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 `bip_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'
);
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.