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": "pb_city_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_dt", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_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_dt` timestamp 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": "pb_city_dw", "table": "dg_mblg_login_hist", "description": null, "columns": [{"name": "log_dt", "type": "string", "description": null}, {"name": "zone_cd", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "game_no", "type": "bigint", "description": null}, {"name": "mket_cd", "type": "string", "description": null}, {"name": "dev_key", "type": "string", "description": null}, {"name": "dev_mdl", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "os_ver", "type": "string", "description": null}, {"name": "hsp_ver", "type": "string", "description": null}, {"name": "game_clnt_ver", "type": "string", "description": null}, {"name": "telecom", "type": "string", "description": null}, {"name": "ntwk_tp", "type": "string", "description": null}, {"name": "adid", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "ip", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`dg_mblg_login_hist` ( `log_dt` string COMMENT 'None', `zone_cd` string COMMENT 'None', `userno` string COMMENT 'None', `game_no` bigint COMMENT 'None', `mket_cd` string COMMENT 'None', `dev_key` string COMMENT 'None', `dev_mdl` string COMMENT 'None', `os_cd` string COMMENT 'None', `os_ver` string COMMENT 'None', `hsp_ver` string COMMENT 'None', `game_clnt_ver` string COMMENT 'None', `telecom` string COMMENT 'None', `ntwk_tp` string COMMENT 'None', `adid` string COMMENT 'None', `nat_cd` string COMMENT 'None', `ip` string COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "dg_mblg_user_d01", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "hg_userid", "type": "string", "description": null}, {"name": "hg_userno", "type": "bigint", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "age_cd", "type": "string", "description": null}, {"name": "join_prd_cd", "type": "string", "description": null}, {"name": "lst_login_prd_cd", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_login_dt", "type": "string", "description": null}, {"name": "lst_game_no", "type": "bigint", "description": null}, {"name": "fst_game_no", "type": "bigint", "description": null}, {"name": "cm_use_game_cnt", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "dev_key", "type": "string", "description": null}, {"name": "dev_mdl", "type": "string", "description": null}, {"name": "age_zn_cd", "type": "string", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "os_ver", "type": "string", "description": null}, {"name": "idp_fst_mapng_dt", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`dg_mblg_user_d01` ( `userno` string COMMENT 'None', `hg_userid` string COMMENT 'None', `hg_userno` bigint COMMENT 'None', `sex_cd` string COMMENT 'None', `age_cd` string COMMENT 'None', `join_prd_cd` string COMMENT 'None', `lst_login_prd_cd` string COMMENT 'None', `join_dt` string COMMENT 'None', `lst_login_dt` string COMMENT 'None', `lst_game_no` bigint COMMENT 'None', `fst_game_no` bigint COMMENT 'None', `cm_use_game_cnt` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `dev_key` string COMMENT 'None', `dev_mdl` string COMMENT 'None', `age_zn_cd` string COMMENT 'None', `idp_userno` string COMMENT 'None', `idp_cd` string COMMENT 'None', `os_cd` string COMMENT 'None', `os_ver` string COMMENT 'None', `idp_fst_mapng_dt` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "dg_mblg_user_ply_hist", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "game_no", "type": "bigint", "description": null}, {"name": "tdd_ptm", "type": "bigint", "description": null}, {"name": "tdd_conn_tcnt", "type": "bigint", "description": null}, {"name": "cm_ptm", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`dg_mblg_user_ply_hist` ( `userno` string COMMENT 'None', `game_no` bigint COMMENT 'None', `tdd_ptm` bigint COMMENT 'None', `tdd_conn_tcnt` bigint COMMENT 'None', `cm_ptm` bigint COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "dg_pbc_casino_nft_d01", "description": null, "columns": [{"name": "account_id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "casino_tp", "type": "string", "description": null}, {"name": "nft_id", "type": "string", "description": null}, {"name": "status", "type": "bigint", "description": null}, {"name": "log_dtm", "type": "string", "description": null}, {"name": "nft_grade", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`dg_pbc_casino_nft_d01` ( `account_id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `casino_tp` string COMMENT 'None', `nft_id` string COMMENT 'None', `status` bigint COMMENT 'None', `log_dtm` string COMMENT 'None', `nft_grade` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "dg_pbc_game_marble_d01", "description": null, "columns": [{"name": "seq_id", "type": "bigint", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "chip_in", "type": "bigint", "description": null}, {"name": "chip_out", "type": "bigint", "description": null}, {"name": "lucky_boost", "type": "double", "description": null}, {"name": "user_multiplier", "type": "double", "description": null}, {"name": "log_dtm", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`dg_pbc_game_marble_d01` ( `seq_id` bigint COMMENT 'None', `account_id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `chip_in` bigint COMMENT 'None', `chip_out` bigint COMMENT 'None', `lucky_boost` double COMMENT 'None', `user_multiplier` double COMMENT 'None', `log_dtm` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "dg_pbc_game_showdown_d01", "description": null, "columns": [{"name": "seq_id", "type": "string", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "first_bet", "type": "bigint", "description": null}, {"name": "second_bet", "type": "bigint", "description": null}, {"name": "chip_in", "type": "bigint", "description": null}, {"name": "win", "type": "bigint", "description": null}, {"name": "money_swag", "type": "double", "description": null}, {"name": "multiply", "type": "double", "description": null}, {"name": "jackpot", "type": "bigint", "description": null}, {"name": "log_dtm", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`dg_pbc_game_showdown_d01` ( `seq_id` string COMMENT 'None', `account_id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `first_bet` bigint COMMENT 'None', `second_bet` bigint COMMENT 'None', `chip_in` bigint COMMENT 'None', `win` bigint COMMENT 'None', `money_swag` double COMMENT 'None', `multiply` double COMMENT 'None', `jackpot` bigint COMMENT 'None', `log_dtm` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "dg_pbc_mony_chg_d01", "description": null, "columns": [{"name": "mony_tp", "type": "string", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "casino_tp", "type": "string", "description": null}, {"name": "game_id", "type": "string", "description": null}, {"name": "chip_tp", "type": "bigint", "description": null}, {"name": "cse_tp", "type": "bigint", "description": null}, {"name": "mony_in", "type": "bigint", "description": null}, {"name": "mony_out", "type": "bigint", "description": null}, {"name": "chg_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`dg_pbc_mony_chg_d01` ( `mony_tp` string COMMENT 'None', `account_id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `casino_tp` string COMMENT 'None', `game_id` string COMMENT 'None', `chip_tp` bigint COMMENT 'None', `cse_tp` bigint COMMENT 'None', `mony_in` bigint COMMENT 'None', `mony_out` bigint COMMENT 'None', `chg_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "dg_pbc_mssn_d01", "description": null, "columns": [{"name": "account_id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "prd_tp", "type": "bigint", "description": null}, {"name": "mssn_catg", "type": "bigint", "description": null}, {"name": "mssn_cd", "type": "bigint", "description": null}, {"name": "log_dtm", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`dg_pbc_mssn_d01` ( `account_id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `prd_tp` bigint COMMENT 'None', `mssn_catg` bigint COMMENT 'None', `mssn_cd` bigint COMMENT 'None', `log_dtm` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "dg_pbc_pay_d01", "description": null, "columns": [{"name": "pay_id", "type": "bigint", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "prod_tp", "type": "bigint", "description": null}, {"name": "prod_cd", "type": "string", "description": null}, {"name": "base_amt", "type": "bigint", "description": null}, {"name": "more_amt", "type": "bigint", "description": null}, {"name": "tot_amt", "type": "bigint", "description": null}, {"name": "price", "type": "double", "description": null}, {"name": "currency", "type": "string", "description": null}, {"name": "status", "type": "bigint", "description": null}, {"name": "fst_pay_yn", "type": "bigint", "description": null}, {"name": "pay_dtm", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`dg_pbc_pay_d01` ( `pay_id` bigint COMMENT 'None', `account_id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `prod_tp` bigint COMMENT 'None', `prod_cd` string COMMENT 'None', `base_amt` bigint COMMENT 'None', `more_amt` bigint COMMENT 'None', `tot_amt` bigint COMMENT 'None', `price` double COMMENT 'None', `currency` string COMMENT 'None', `status` bigint COMMENT 'None', `fst_pay_yn` bigint COMMENT 'None', `pay_dtm` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "dg_pbc_scratch_d01", "description": null, "columns": [{"name": "scratch_id", "type": "string", "description": null}, {"name": "scratch_uuid", "type": "string", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "price", "type": "double", "description": null}, {"name": "reward", "type": "bigint", "description": null}, {"name": "prch_dtm", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`dg_pbc_scratch_d01` ( `scratch_id` string COMMENT 'None', `scratch_uuid` string COMMENT 'None', `account_id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `price` double COMMENT 'None', `reward` bigint COMMENT 'None', `prch_dtm` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "dg_pbc_user_d01", "description": null, "columns": [{"name": "account_id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "gamebase_id", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "mket_nm", "type": "string", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "join_dtm", "type": "string", "description": null}, {"name": "pb_linked_dtm", "type": "string", "description": null}, {"name": "fst_pay_id", "type": "bigint", "description": null}, {"name": "fst_pay_dtm", "type": "string", "description": null}, {"name": "fst_elps_dcnt", "type": "bigint", "description": null}, {"name": "lst_pay_dtm", "type": "string", "description": null}, {"name": "lst_login_dtm", "type": "string", "description": null}, {"name": "lst_logout_dtm", "type": "string", "description": null}, {"name": "tot_pay_cnt", "type": "bigint", "description": null}, {"name": "tot_pay_amt", "type": "double", "description": null}, {"name": "hld_nft_cnt", "type": "bigint", "description": null}, {"name": "hld_star", "type": "bigint", "description": null}, {"name": "hld_mst_chip", "type": "bigint", "description": null}, {"name": "hld_tot_rlng_chip", "type": "bigint", "description": null}, {"name": "hld_a_rlng_chip", "type": "bigint", "description": null}, {"name": "hld_b_rlng_chip", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`dg_pbc_user_d01` ( `account_id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `gamebase_id` string COMMENT 'None', `nat_cd` string COMMENT 'None', `mket_nm` string COMMENT 'None', `user_lv` bigint COMMENT 'None', `join_dtm` string COMMENT 'None', `pb_linked_dtm` string COMMENT 'None', `fst_pay_id` bigint COMMENT 'None', `fst_pay_dtm` string COMMENT 'None', `fst_elps_dcnt` bigint COMMENT 'None', `lst_pay_dtm` string COMMENT 'None', `lst_login_dtm` string COMMENT 'None', `lst_logout_dtm` string COMMENT 'None', `tot_pay_cnt` bigint COMMENT 'None', `tot_pay_amt` double COMMENT 'None', `hld_nft_cnt` bigint COMMENT 'None', `hld_star` bigint COMMENT 'None', `hld_mst_chip` bigint COMMENT 'None', `hld_tot_rlng_chip` bigint COMMENT 'None', `hld_a_rlng_chip` bigint COMMENT 'None', `hld_b_rlng_chip` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "dg_pbc_user_item_d01", "description": null, "columns": [{"name": "account_id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "item_tp", "type": "bigint", "description": null}, {"name": "cse_tp", "type": "bigint", "description": null}, {"name": "use_amt", "type": "bigint", "description": null}, {"name": "get_amt", "type": "bigint", "description": null}, {"name": "hld_amt", "type": "bigint", "description": null}, {"name": "log_dtm", "type": "string", "description": null}, {"name": "lst_act_yn", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`dg_pbc_user_item_d01` ( `account_id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `item_tp` bigint COMMENT 'None', `cse_tp` bigint COMMENT 'None', `use_amt` bigint COMMENT 'None', `get_amt` bigint COMMENT 'None', `hld_amt` bigint COMMENT 'None', `log_dtm` string COMMENT 'None', `lst_act_yn` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "sg_pbc_28days_sd01", "description": null, "columns": [{"name": "pay_amt", "type": "double", "description": null}, {"name": "pay_cnt", "type": "bigint", "description": null}, {"name": "chip_in", "type": "bigint", "description": null}, {"name": "chip_out", "type": "bigint", "description": null}, {"name": "star_in", "type": "bigint", "description": null}, {"name": "star_out", "type": "bigint", "description": null}, {"name": "spin_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`sg_pbc_28days_sd01` ( `pay_amt` double COMMENT 'None', `pay_cnt` bigint COMMENT 'None', `chip_in` bigint COMMENT 'None', `chip_out` bigint COMMENT 'None', `star_in` bigint COMMENT 'None', `star_out` bigint COMMENT 'None', `spin_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "sg_pbc_casino_ern_sd01", "description": null, "columns": [{"name": "casino_tp", "type": "string", "description": null}, {"name": "chip", "type": "bigint", "description": null}, {"name": "star", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`sg_pbc_casino_ern_sd01` ( `casino_tp` string COMMENT 'None', `chip` bigint COMMENT 'None', `star` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "sg_pbc_casino_nft_sd01", "description": null, "columns": [{"name": "casino_tp", "type": "string", "description": null}, {"name": "nft_grade", "type": "string", "description": null}, {"name": "reg_cnt", "type": "bigint", "description": null}, {"name": "rels_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`sg_pbc_casino_nft_sd01` ( `casino_tp` string COMMENT 'None', `nft_grade` string COMMENT 'None', `reg_cnt` bigint COMMENT 'None', `rels_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "sg_pbc_game_marble_sd01", "description": null, "columns": [{"name": "chip_in", "type": "bigint", "description": null}, {"name": "chip_out", "type": "bigint", "description": null}, {"name": "play_ucnt", "type": "bigint", "description": null}, {"name": "avg_lucky", "type": "double", "description": null}, {"name": "median_chipin", "type": "bigint", "description": null}, {"name": "avg_chipin", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`sg_pbc_game_marble_sd01` ( `chip_in` bigint COMMENT 'None', `chip_out` bigint COMMENT 'None', `play_ucnt` bigint COMMENT 'None', `avg_lucky` double COMMENT 'None', `median_chipin` bigint COMMENT 'None', `avg_chipin` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "sg_pbc_game_showdown_sd01", "description": null, "columns": [{"name": "chip_in", "type": "bigint", "description": null}, {"name": "chip_out", "type": "bigint", "description": null}, {"name": "play_ucnt", "type": "bigint", "description": null}, {"name": "avg_money_swag", "type": "double", "description": null}, {"name": "median_chipin", "type": "bigint", "description": null}, {"name": "avg_chipin", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`sg_pbc_game_showdown_sd01` ( `chip_in` bigint COMMENT 'None', `chip_out` bigint COMMENT 'None', `play_ucnt` bigint COMMENT 'None', `avg_money_swag` double COMMENT 'None', `median_chipin` bigint COMMENT 'None', `avg_chipin` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "sg_pbc_mony_chg_sd01", "description": null, "columns": [{"name": "mony_tp", "type": "string", "description": null}, {"name": "chip_tp", "type": "bigint", "description": null}, {"name": "cse_tp", "type": "bigint", "description": null}, {"name": "mony_in", "type": "bigint", "description": null}, {"name": "mony_out", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`sg_pbc_mony_chg_sd01` ( `mony_tp` string COMMENT 'None', `chip_tp` bigint COMMENT 'None', `cse_tp` bigint COMMENT 'None', `mony_in` bigint COMMENT 'None', `mony_out` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "sg_pbc_mssn_achv_sd01", "description": null, "columns": [{"name": "prd_tp", "type": "bigint", "description": null}, {"name": "mssn_catg", "type": "bigint", "description": null}, {"name": "mssn_cd", "type": "bigint", "description": null}, {"name": "mssn_achv_cnt", "type": "bigint", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`sg_pbc_mssn_achv_sd01` ( `prd_tp` bigint COMMENT 'None', `mssn_catg` bigint COMMENT 'None', `mssn_cd` bigint COMMENT 'None', `mssn_achv_cnt` bigint COMMENT 'None', `ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "sg_pbc_mssn_sd01", "description": null, "columns": [{"name": "prd_tp", "type": "bigint", "description": null}, {"name": "mssn_catg", "type": "bigint", "description": null}, {"name": "mssn_cd", "type": "bigint", "description": null}, {"name": "mssn_achv_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`sg_pbc_mssn_sd01` ( `prd_tp` bigint COMMENT 'None', `mssn_catg` bigint COMMENT 'None', `mssn_cd` bigint COMMENT 'None', `mssn_achv_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "sg_pbc_new_pay_sd01", "description": null, "columns": [{"name": "nat_cd", "type": "string", "description": null}, {"name": "mket_nm", "type": "string", "description": null}, {"name": "prod_cd", "type": "string", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "pay_amt", "type": "double", "description": null}, {"name": "avg_fst_elps_dcnt", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`sg_pbc_new_pay_sd01` ( `nat_cd` string COMMENT 'None', `mket_nm` string COMMENT 'None', `prod_cd` string COMMENT 'None', `pu` bigint COMMENT 'None', `pay_amt` double COMMENT 'None', `avg_fst_elps_dcnt` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "sg_pbc_pay_item_sd01", "description": null, "columns": [{"name": "prod_tp", "type": "bigint", "description": null}, {"name": "prod_cd", "type": "string", "description": null}, {"name": "pay_ucnt", "type": "bigint", "description": null}, {"name": "pay_cnt", "type": "bigint", "description": null}, {"name": "pay_amt", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`sg_pbc_pay_item_sd01` ( `prod_tp` bigint COMMENT 'None', `prod_cd` string COMMENT 'None', `pay_ucnt` bigint COMMENT 'None', `pay_cnt` bigint COMMENT 'None', `pay_amt` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "sg_pbc_pay_sd01", "description": null, "columns": [{"name": "nat_cd", "type": "string", "description": null}, {"name": "mket_nm", "type": "string", "description": null}, {"name": "pb_linked_yn", "type": "string", "description": null}, {"name": "nft_hld_yn", "type": "string", "description": null}, {"name": "pay_cnt", "type": "bigint", "description": null}, {"name": "pay_amt", "type": "double", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "pay_secd28_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`sg_pbc_pay_sd01` ( `nat_cd` string COMMENT 'None', `mket_nm` string COMMENT 'None', `pb_linked_yn` string COMMENT 'None', `nft_hld_yn` string COMMENT 'None', `pay_cnt` bigint COMMENT 'None', `pay_amt` double COMMENT 'None', `pu` bigint COMMENT 'None', `pay_secd28_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "sg_pbc_scratch_sd01", "description": null, "columns": [{"name": "scratch_cnt", "type": "bigint", "description": null}, {"name": "scratch_ucnt", "type": "bigint", "description": null}, {"name": "reward", "type": "bigint", "description": null}, {"name": "price", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`sg_pbc_scratch_sd01` ( `scratch_cnt` bigint COMMENT 'None', `scratch_ucnt` bigint COMMENT 'None', `reward` bigint COMMENT 'None', `price` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "sg_pbc_slot_play_sd01", "description": null, "columns": [{"name": "mode", "type": "bigint", "description": null}, {"name": "bet_level", "type": "bigint", "description": null}, {"name": "game_id", "type": "bigint", "description": null}, {"name": "chip_type", "type": "bigint", "description": null}, {"name": "chip_in", "type": "bigint", "description": null}, {"name": "chip_out", "type": "bigint", "description": null}, {"name": "user_cnt", "type": "bigint", "description": null}, {"name": "spin_cnt", "type": "bigint", "description": null}, {"name": "jackpot", "type": "bigint", "description": null}, {"name": "rtp", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`sg_pbc_slot_play_sd01` ( `mode` bigint COMMENT 'None', `bet_level` bigint COMMENT 'None', `game_id` bigint COMMENT 'None', `chip_type` bigint COMMENT 'None', `chip_in` bigint COMMENT 'None', `chip_out` bigint COMMENT 'None', `user_cnt` bigint COMMENT 'None', `spin_cnt` bigint COMMENT 'None', `jackpot` bigint COMMENT 'None', `rtp` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "sg_pbc_user_hld_sd01", "description": null, "columns": [{"name": "nft_hld_ucnt", "type": "bigint", "description": null}, {"name": "avg_hld_nft_cnt", "type": "double", "description": null}, {"name": "hld_mst_chip", "type": "bigint", "description": null}, {"name": "hld_tot_rlng_chip", "type": "bigint", "description": null}, {"name": "hld_star", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`sg_pbc_user_hld_sd01` ( `nft_hld_ucnt` bigint COMMENT 'None', `avg_hld_nft_cnt` double COMMENT 'None', `hld_mst_chip` bigint COMMENT 'None', `hld_tot_rlng_chip` bigint COMMENT 'None', `hld_star` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "sg_pbc_user_item_sd01", "description": null, "columns": [{"name": "cse_tp", "type": "bigint", "description": null}, {"name": "item_tp", "type": "bigint", "description": null}, {"name": "use_amt", "type": "bigint", "description": null}, {"name": "get_amt", "type": "bigint", "description": null}, {"name": "hld_amt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`sg_pbc_user_item_sd01` ( `cse_tp` bigint COMMENT 'None', `item_tp` bigint COMMENT 'None', `use_amt` bigint COMMENT 'None', `get_amt` bigint COMMENT 'None', `hld_amt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "sg_pbc_user_lv_sd01", "description": null, "columns": [{"name": "user_lv", "type": "bigint", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`sg_pbc_user_lv_sd01` ( `user_lv` bigint COMMENT 'None', `ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "sg_pbc_user_sd01", "description": null, "columns": [{"name": "nat_cd", "type": "string", "description": null}, {"name": "mket_nm", "type": "string", "description": null}, {"name": "login_ucnt", "type": "bigint", "description": null}, {"name": "play_ucnt", "type": "bigint", "description": null}, {"name": "nru", "type": "bigint", "description": null}, {"name": "new_linked_ucnt", "type": "bigint", "description": null}, {"name": "secd7_ucnt", "type": "bigint", "description": null}, {"name": "cmbck_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "secd14_ucnt", "type": "bigint", "description": null}, {"name": "cmbck14_ucnt", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_dw`.`sg_pbc_user_sd01` ( `nat_cd` string COMMENT 'None', `mket_nm` string COMMENT 'None', `login_ucnt` bigint COMMENT 'None', `play_ucnt` bigint COMMENT 'None', `nru` bigint COMMENT 'None', `new_linked_ucnt` bigint COMMENT 'None', `secd7_ucnt` bigint COMMENT 'None', `cmbck_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None', `secd14_ucnt` bigint COMMENT 'None', `cmbck14_ucnt` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "sg_pbc_funnel_sd01", "description": null, "columns": [{"name": "cause_type", "type": "bigint", "description": null}, {"name": "step_lv", "type": "bigint", "description": null}, {"name": "user_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`sg_pbc_funnel_sd01` ( `cause_type` bigint COMMENT 'None', `step_lv` bigint COMMENT 'None', `user_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_db", "table": "user", "description": null, "columns": [{"name": "user_id", "type": "string", "description": null}, {"name": "status", "type": "string", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "active_date", "type": "timestamp", "description": null}, {"name": "mod_date", "type": "timestamp", "description": null}]}
CREATE TABLE `pb_platform_db`.`user` ( `user_id` string COMMENT 'None', `status` string COMMENT 'None', `reg_date` timestamp COMMENT 'None', `active_date` timestamp COMMENT 'None', `mod_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_db", "table": "access_log", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "date", "type": "timestamp", "description": null}, {"name": "type", "type": "string", "description": null}, {"name": "user_id", "type": "string", "description": null}, {"name": "ip", "type": "string", "description": null}, {"name": "country_code", "type": "string", "description": null}, {"name": "user_agent", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_platform_db`.`access_log` ( `seq` bigint COMMENT 'None', `date` timestamp COMMENT 'None', `type` string COMMENT 'None', `user_id` string COMMENT 'None', `ip` string COMMENT 'None', `country_code` string COMMENT 'None', `user_agent` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_db", "table": "transfer_log", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "transfer_id", "type": "string", "description": null}, {"name": "user_id", "type": "string", "description": null}, {"name": "sender_name", "type": "string", "description": null}, {"name": "sender_addr", "type": "string", "description": null}, {"name": "recipient_name", "type": "string", "description": null}, {"name": "recipient_addr", "type": "string", "description": null}, {"name": "ticker", "type": "string", "description": null}, {"name": "amount", "type": "string", "description": null}, {"name": "gas_fee", "type": "string", "description": null}, {"name": "gas_owner_addr", "type": "string", "description": null}, {"name": "fee_delegation", "type": "string", "description": null}, {"name": "tx_hash", "type": "string", "description": null}, {"name": "status", "type": "string", "description": null}, {"name": "tx_date", "type": "timestamp", "description": null}, {"name": "submit_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_platform_db`.`transfer_log` ( `seq` bigint COMMENT 'None', `transfer_id` string COMMENT 'None', `user_id` string COMMENT 'None', `sender_name` string COMMENT 'None', `sender_addr` string COMMENT 'None', `recipient_name` string COMMENT 'None', `recipient_addr` string COMMENT 'None', `ticker` string COMMENT 'None', `amount` string COMMENT 'None', `gas_fee` string COMMENT 'None', `gas_owner_addr` string COMMENT 'None', `fee_delegation` string COMMENT 'None', `tx_hash` string COMMENT 'None', `status` string COMMENT 'None', `tx_date` timestamp COMMENT 'None', `submit_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_db", "table": "user_auth", "description": null, "columns": [{"name": "user_id", "type": "string", "description": null}, {"name": "auth_id", "type": "string", "description": null}, {"name": "idp_code", "type": "string", "description": null}, {"name": "country_code", "type": "string", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}]}
CREATE TABLE `pb_platform_db`.`user_auth` ( `user_id` string COMMENT 'None', `auth_id` string COMMENT 'None', `idp_code` string COMMENT 'None', `country_code` string COMMENT 'None', `reg_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_db", "table": "user_session", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "user_id", "type": "string", "description": null}, {"name": "idp_code", "type": "string", "description": null}, {"name": "ip", "type": "string", "description": null}, {"name": "country_code", "type": "string", "description": null}, {"name": "device_class", "type": "string", "description": null}, {"name": "device", "type": "string", "description": null}, {"name": "os", "type": "string", "description": null}, {"name": "os_version", "type": "string", "description": null}, {"name": "browser", "type": "string", "description": null}, {"name": "browser_version", "type": "string", "description": null}, {"name": "signout", "type": "string", "description": null}, {"name": "signin_date", "type": "timestamp", "description": null}, {"name": "last_access_date", "type": "timestamp", "description": null}, {"name": "session_token", "type": "string", "description": null}, {"name": "wallet_session_id", "type": "string", "description": null}]}
CREATE TABLE `pb_platform_db`.`user_session` ( `seq` bigint COMMENT 'None', `user_id` string COMMENT 'None', `idp_code` string COMMENT 'None', `ip` string COMMENT 'None', `country_code` string COMMENT 'None', `device_class` string COMMENT 'None', `device` string COMMENT 'None', `os` string COMMENT 'None', `os_version` string COMMENT 'None', `browser` string COMMENT 'None', `browser_version` string COMMENT 'None', `signout` string COMMENT 'None', `signin_date` timestamp COMMENT 'None', `last_access_date` timestamp COMMENT 'None', `session_token` string COMMENT 'None', `wallet_session_id` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_db", "table": "user_wallet", "description": null, "columns": [{"name": "user_id", "type": "string", "description": null}, {"name": "name", "type": "string", "description": null}, {"name": "address", "type": "string", "description": null}, {"name": "recovery", "type": "string", "description": null}, {"name": "iv", "type": "string", "description": null}, {"name": "mnemonic", "type": "string", "description": null}, {"name": "name_date", "type": "timestamp", "description": null}, {"name": "address_date", "type": "timestamp", "description": null}]}
CREATE TABLE `pb_platform_db`.`user_wallet` ( `user_id` string COMMENT 'None', `name` string COMMENT 'None', `address` string COMMENT 'None', `recovery` string COMMENT 'None', `iv` string COMMENT 'None', `mnemonic` string COMMENT 'None', `name_date` timestamp COMMENT 'None', `address_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_db", "table": "user_withdrawal", "description": null, "columns": [{"name": "user_id", "type": "string", "description": null}, {"name": "grace_period", "type": "timestamp", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}]}
CREATE TABLE `pb_platform_db`.`user_withdrawal` ( `user_id` string COMMENT 'None', `grace_period` timestamp COMMENT 'None', `reg_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_db", "table": "sui_address_nft_latest_balance", "description": null, "columns": [{"name": "amount", "type": "double", "description": null}, {"name": "block_number", "type": "int", "description": null}, {"name": "block_timestamp", "type": "int", "description": null}, {"name": "chain", "type": "string", "description": null}, {"name": "collection_contract_address", "type": "string", "description": null}, {"name": "nft_token_id", "type": "string", "description": null}, {"name": "updated_at", "type": "int", "description": null}, {"name": "wallet_address", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_platform_db`.`sui_address_nft_latest_balance` ( `amount` double COMMENT 'None', `block_number` int COMMENT 'None', `block_timestamp` int COMMENT 'None', `chain` string COMMENT 'None', `collection_contract_address` string COMMENT 'None', `nft_token_id` string COMMENT 'None', `updated_at` int COMMENT 'None', `wallet_address` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_db", "table": "sui_address_token_latest_balance", "description": null, "columns": [{"name": "amount", "type": "double", "description": null}, {"name": "amount_raw", "type": "string", "description": null}, {"name": "block_number", "type": "int", "description": null}, {"name": "chain", "type": "string", "description": null}, {"name": "token_address", "type": "string", "description": null}, {"name": "token_symbol", "type": "string", "description": null}, {"name": "updated_at", "type": "int", "description": null}, {"name": "wallet_address", "type": "string", "description": null}, {"name": "value", "type": "double", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_platform_db`.`sui_address_token_latest_balance` ( `amount` double COMMENT 'None', `amount_raw` string COMMENT 'None', `block_number` int COMMENT 'None', `chain` string COMMENT 'None', `token_address` string COMMENT 'None', `token_symbol` string COMMENT 'None', `updated_at` int COMMENT 'None', `wallet_address` string COMMENT 'None', `value` double COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_db", "table": "sui_asset_flow", "description": null, "columns": [{"name": "address", "type": "string", "description": null}, {"name": "hash", "type": "string", "description": null}, {"name": "index", "type": "string", "description": null}, {"name": "internal_index", "type": "string", "description": null}, {"name": "block_timestamp", "type": "int", "description": null}, {"name": "asset_address", "type": "string", "description": null}, {"name": "nft_token_id", "type": "string", "description": null}, {"name": "flow_type", "type": "string", "description": null}, {"name": "interact_address", "type": "string", "description": null}, {"name": "asset_name", "type": "string", "description": null}, {"name": "block_number", "type": "bigint", "description": null}, {"name": "amount_raw", "type": "double", "description": null}, {"name": "amount", "type": "double", "description": null}, {"name": "value", "type": "double", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_platform_db`.`sui_asset_flow` ( `address` string COMMENT 'None', `hash` string COMMENT 'None', `index` string COMMENT 'None', `internal_index` string COMMENT 'None', `block_timestamp` int COMMENT 'None', `asset_address` string COMMENT 'None', `nft_token_id` string COMMENT 'None', `flow_type` string COMMENT 'None', `interact_address` string COMMENT 'None', `asset_name` string COMMENT 'None', `block_number` bigint COMMENT 'None', `amount_raw` double COMMENT 'None', `amount` double COMMENT 'None', `value` double COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_db", "table": "sui_balance_change_history", "description": null, "columns": [{"name": "transaction_block_digest", "type": "string", "description": null}, {"name": "checkpoint", "type": "bigint", "description": null}, {"name": "time_stamp", "type": "int", "description": null}, {"name": "address", "type": "string", "description": null}, {"name": "coin_type", "type": "string", "description": null}, {"name": "amount", "type": "double", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_platform_db`.`sui_balance_change_history` ( `transaction_block_digest` string COMMENT 'None', `checkpoint` bigint COMMENT 'None', `time_stamp` int COMMENT 'None', `address` string COMMENT 'None', `coin_type` string COMMENT 'None', `amount` double COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_db", "table": "sui_nft_collection_info", "description": null, "columns": [{"name": "chain", "type": "string", "description": null}, {"name": "collection_slug", "type": "string", "description": null}, {"name": "contract_address", "type": "string", "description": null}, {"name": "collection_name", "type": "string", "description": null}, {"name": "logo", "type": "string", "description": null}, {"name": "standard", "type": "string", "description": null}, {"name": "total_supply", "type": "bigint", "description": null}, {"name": "discord_url", "type": "string", "description": null}, {"name": "medium_username", "type": "string", "description": null}, {"name": "instagram_username", "type": "string", "description": null}, {"name": "twitter_username", "type": "string", "description": null}, {"name": "telegram_url", "type": "string", "description": null}, {"name": "website_url", "type": "string", "description": null}, {"name": "description", "type": "string", "description": null}, {"name": "collection_created_at", "type": "double", "description": null}, {"name": "symbol", "type": "string", "description": null}, {"name": "protocol_slug", "type": "string", "description": null}, {"name": "owner", "type": "string", "description": null}, {"name": "deploy_block_number", "type": "int", "description": null}, {"name": "deploy_transaction_hash", "type": "string", "description": null}, {"name": "collection_type", "type": "string", "description": null}, {"name": "updated_at", "type": "double", "description": null}, {"name": "created_at", "type": "double", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_platform_db`.`sui_nft_collection_info` ( `chain` string COMMENT 'None', `collection_slug` string COMMENT 'None', `contract_address` string COMMENT 'None', `collection_name` string COMMENT 'None', `logo` string COMMENT 'None', `standard` string COMMENT 'None', `total_supply` bigint COMMENT 'None', `discord_url` string COMMENT 'None', `medium_username` string COMMENT 'None', `instagram_username` string COMMENT 'None', `twitter_username` string COMMENT 'None', `telegram_url` string COMMENT 'None', `website_url` string COMMENT 'None', `description` string COMMENT 'None', `collection_created_at` double COMMENT 'None', `symbol` string COMMENT 'None', `protocol_slug` string COMMENT 'None', `owner` string COMMENT 'None', `deploy_block_number` int COMMENT 'None', `deploy_transaction_hash` string COMMENT 'None', `collection_type` string COMMENT 'None', `updated_at` double COMMENT 'None', `created_at` double COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_db", "table": "sui_nft_transactions", "description": null, "columns": [{"name": "chain", "type": "string", "description": null}, {"name": "collection_contract_address", "type": "string", "description": null}, {"name": "block_number", "type": "bigint", "description": null}, {"name": "transaction_hash", "type": "string", "description": null}, {"name": "log_index", "type": "string", "description": null}, {"name": "internal_index", "type": "string", "description": null}, {"name": "block_timestamp", "type": "double", "description": null}, {"name": "buyer_address", "type": "string", "description": null}, {"name": "seller_address", "type": "string", "description": null}, {"name": "marketplace_contract_address", "type": "string", "description": null}, {"name": "amount_currency_contract_address", "type": "string", "description": null}, {"name": "nft_token_id", "type": "string", "description": null}, {"name": "number_of_nft_token_id", "type": "double", "description": null}, {"name": "amount", "type": "double", "description": null}, {"name": "trade_type", "type": "string", "description": null}, {"name": "amount_currency", "type": "string", "description": null}, {"name": "marketplace_slug", "type": "string", "description": null}, {"name": "value_currency", "type": "string", "description": null}, {"name": "royalty_amount", "type": "double", "description": null}, {"name": "platform_fees_amount", "type": "double", "description": null}, {"name": "royalty_rate", "type": "double", "description": null}, {"name": "platform_fee_rate", "type": "double", "description": null}, {"name": "value", "type": "double", "description": null}, {"name": "royalty_value", "type": "double", "description": null}, {"name": "platform_fees_value", "type": "double", "description": null}, {"name": "collection_slug", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_platform_db`.`sui_nft_transactions` ( `chain` string COMMENT 'None', `collection_contract_address` string COMMENT 'None', `block_number` bigint COMMENT 'None', `transaction_hash` string COMMENT 'None', `log_index` string COMMENT 'None', `internal_index` string COMMENT 'None', `block_timestamp` double COMMENT 'None', `buyer_address` string COMMENT 'None', `seller_address` string COMMENT 'None', `marketplace_contract_address` string COMMENT 'None', `amount_currency_contract_address` string COMMENT 'None', `nft_token_id` string COMMENT 'None', `number_of_nft_token_id` double COMMENT 'None', `amount` double COMMENT 'None', `trade_type` string COMMENT 'None', `amount_currency` string COMMENT 'None', `marketplace_slug` string COMMENT 'None', `value_currency` string COMMENT 'None', `royalty_amount` double COMMENT 'None', `platform_fees_amount` double COMMENT 'None', `royalty_rate` double COMMENT 'None', `platform_fee_rate` double COMMENT 'None', `value` double COMMENT 'None', `royalty_value` double COMMENT 'None', `platform_fees_value` double COMMENT 'None', `collection_slug` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_db", "table": "sui_nft_transfers", "description": null, "columns": [{"name": "block_timestamp", "type": "double", "description": null}, {"name": "block_number", "type": "bigint", "description": null}, {"name": "transaction_hash", "type": "string", "description": null}, {"name": "log_index", "type": "string", "description": null}, {"name": "collection_contract_address", "type": "string", "description": null}, {"name": "from_address", "type": "string", "description": null}, {"name": "to_address", "type": "string", "description": null}, {"name": "nft_token_id", "type": "string", "description": null}, {"name": "amount_raw", "type": "double", "description": null}, {"name": "internal_index", "type": "string", "description": null}, {"name": "chain", "type": "string", "description": null}, {"name": "transfer_type", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_platform_db`.`sui_nft_transfers` ( `block_timestamp` double COMMENT 'None', `block_number` bigint COMMENT 'None', `transaction_hash` string COMMENT 'None', `log_index` string COMMENT 'None', `collection_contract_address` string COMMENT 'None', `from_address` string COMMENT 'None', `to_address` string COMMENT 'None', `nft_token_id` string COMMENT 'None', `amount_raw` double COMMENT 'None', `internal_index` string COMMENT 'None', `chain` string COMMENT 'None', `transfer_type` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_db", "table": "sui_object_change_history", "description": null, "columns": [{"name": "transaction_block_digest", "type": "string", "description": null}, {"name": "checkpoint", "type": "bigint", "description": null}, {"name": "time_stamp", "type": "int", "description": null}, {"name": "sender", "type": "string", "description": null}, {"name": "owner_type", "type": "string", "description": null}, {"name": "owner_address", "type": "string", "description": null}, {"name": "shared_object_version", "type": "string", "description": null}, {"name": "object_type", "type": "string", "description": null}, {"name": "object_id", "type": "string", "description": null}, {"name": "version", "type": "string", "description": null}, {"name": "digest", "type": "string", "description": null}, {"name": "type", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_platform_db`.`sui_object_change_history` ( `transaction_block_digest` string COMMENT 'None', `checkpoint` bigint COMMENT 'None', `time_stamp` int COMMENT 'None', `sender` string COMMENT 'None', `owner_type` string COMMENT 'None', `owner_address` string COMMENT 'None', `shared_object_version` string COMMENT 'None', `object_type` string COMMENT 'None', `object_id` string COMMENT 'None', `version` string COMMENT 'None', `digest` string COMMENT 'None', `type` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_db", "table": "sui_token_info", "description": null, "columns": [{"name": "chain", "type": "string", "description": null}, {"name": "token_slug", "type": "string", "description": null}, {"name": "token_address", "type": "string", "description": null}, {"name": "token_symbol", "type": "string", "description": null}, {"name": "decimals", "type": "bigint", "description": null}, {"name": "token_name", "type": "string", "description": null}, {"name": "protocol_slug", "type": "string", "description": null}, {"name": "logo", "type": "string", "description": null}, {"name": "created_at", "type": "double", "description": null}, {"name": "updated_at", "type": "double", "description": null}, {"name": "token_type", "type": "string", "description": null}, {"name": "crypto_stack", "type": "string", "description": null}, {"name": "sector", "type": "string", "description": null}, {"name": "industry", "type": "string", "description": null}, {"name": "token_taxonomy", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_platform_db`.`sui_token_info` ( `chain` string COMMENT 'None', `token_slug` string COMMENT 'None', `token_address` string COMMENT 'None', `token_symbol` string COMMENT 'None', `decimals` bigint COMMENT 'None', `token_name` string COMMENT 'None', `protocol_slug` string COMMENT 'None', `logo` string COMMENT 'None', `created_at` double COMMENT 'None', `updated_at` double COMMENT 'None', `token_type` string COMMENT 'None', `crypto_stack` string COMMENT 'None', `sector` string COMMENT 'None', `industry` string COMMENT 'None', `token_taxonomy` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_db", "table": "sui_token_transfers", "description": null, "columns": [{"name": "transaction_hash", "type": "string", "description": null}, {"name": "block_number", "type": "bigint", "description": null}, {"name": "block_hash", "type": "string", "description": null}, {"name": "block_timestamp", "type": "int", "description": null}, {"name": "log_index", "type": "int", "description": null}, {"name": "from_address", "type": "string", "description": null}, {"name": "to_address", "type": "string", "description": null}, {"name": "token_address", "type": "string", "description": null}, {"name": "token_symbol", "type": "string", "description": null}, {"name": "amount_raw", "type": "double", "description": null}, {"name": "value", "type": "string", "description": null}, {"name": "total_gas_fee", "type": "bigint", "description": null}, {"name": "status", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_platform_db`.`sui_token_transfers` ( `transaction_hash` string COMMENT 'None', `block_number` bigint COMMENT 'None', `block_hash` string COMMENT 'None', `block_timestamp` int COMMENT 'None', `log_index` int COMMENT 'None', `from_address` string COMMENT 'None', `to_address` string COMMENT 'None', `token_address` string COMMENT 'None', `token_symbol` string COMMENT 'None', `amount_raw` double COMMENT 'None', `value` string COMMENT 'None', `total_gas_fee` bigint COMMENT 'None', `status` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_db", "table": "sui_transaction_blocks", "description": null, "columns": [{"name": "digest", "type": "string", "description": null}, {"name": "timestamp", "type": "int", "description": null}, {"name": "payment", "type": "string", "description": null}, {"name": "gas_owner", "type": "string", "description": null}, {"name": "price", "type": "bigint", "description": null}, {"name": "budget", "type": "double", "description": null}, {"name": "sender", "type": "string", "description": null}, {"name": "transaction", "type": "string", "description": null}, {"name": "tx_signatures", "type": "string", "description": null}, {"name": "len_events", "type": "bigint", "description": null}, {"name": "checkpoint", "type": "bigint", "description": null}, {"name": "message_version", "type": "string", "description": null}, {"name": "status", "type": "string", "description": null}, {"name": "gas_computation_cost", "type": "double", "description": null}, {"name": "gas_storage_cost", "type": "double", "description": null}, {"name": "gas_storage_rebate", "type": "double", "description": null}, {"name": "gas_non_refundable_storage_fee", "type": "double", "description": null}, {"name": "modified_at_versions", "type": "string", "description": null}, {"name": "shared_objects", "type": "string", "description": null}, {"name": "created", "type": "string", "description": null}, {"name": "mutated", "type": "string", "description": null}, {"name": "deleted", "type": "string", "description": null}, {"name": "gas_object", "type": "string", "description": null}, {"name": "events_digest", "type": "string", "description": null}, {"name": "dependencies", "type": "string", "description": null}, {"name": "object_change", "type": "string", "description": null}, {"name": "balance_change", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_platform_db`.`sui_transaction_blocks` ( `digest` string COMMENT 'None', `timestamp` int COMMENT 'None', `payment` string COMMENT 'None', `gas_owner` string COMMENT 'None', `price` bigint COMMENT 'None', `budget` double COMMENT 'None', `sender` string COMMENT 'None', `transaction` string COMMENT 'None', `tx_signatures` string COMMENT 'None', `len_events` bigint COMMENT 'None', `checkpoint` bigint COMMENT 'None', `message_version` string COMMENT 'None', `status` string COMMENT 'None', `gas_computation_cost` double COMMENT 'None', `gas_storage_cost` double COMMENT 'None', `gas_storage_rebate` double COMMENT 'None', `gas_non_refundable_storage_fee` double COMMENT 'None', `modified_at_versions` string COMMENT 'None', `shared_objects` string COMMENT 'None', `created` string COMMENT 'None', `mutated` string COMMENT 'None', `deleted` string COMMENT 'None', `gas_object` string COMMENT 'None', `events_digest` string COMMENT 'None', `dependencies` string COMMENT 'None', `object_change` string COMMENT 'None', `balance_change` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_db", "table": "token_daily_stats", "description": null, "columns": [{"name": "on_date", "type": "int", "description": null}, {"name": "token_slug", "type": "string", "description": null}, {"name": "protocol_slug", "type": "string", "description": null}, {"name": "token_symbol", "type": "string", "description": null}, {"name": "token_name", "type": "string", "description": null}, {"name": "price", "type": "double", "description": null}, {"name": "high", "type": "double", "description": null}, {"name": "low", "type": "double", "description": null}, {"name": "close", "type": "double", "description": null}, {"name": "circulating_supply", "type": "double", "description": null}, {"name": "fully_diluted_valuation", "type": "double", "description": null}, {"name": "market_cap", "type": "double", "description": null}, {"name": "max_supply", "type": "double", "description": null}, {"name": "total_supply", "type": "double", "description": null}, {"name": "trading_vol_24h", "type": "double", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_platform_db`.`token_daily_stats` ( `on_date` int COMMENT 'None', `token_slug` string COMMENT 'None', `protocol_slug` string COMMENT 'None', `token_symbol` string COMMENT 'None', `token_name` string COMMENT 'None', `price` double COMMENT 'None', `high` double COMMENT 'None', `low` double COMMENT 'None', `close` double COMMENT 'None', `circulating_supply` double COMMENT 'None', `fully_diluted_valuation` double COMMENT 'None', `market_cap` double COMMENT 'None', `max_supply` double COMMENT 'None', `total_supply` double COMMENT 'None', `trading_vol_24h` double COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_dw", "table": "dg_pbp_user_d01", "description": null, "columns": [{"name": "user_id", "type": "string", "description": null}, {"name": "status", "type": "string", "description": "A : 활성 (Active) / PR : 가입대기 (Pending Registration) / D : 탈퇴 (Deletion) / PD : 탈퇴 대기 (pending Deletion) / S : 정지 (Suspended)"}, {"name": "join_date", "type": "string", "description": null}, {"name": "join_prd_cd", "type": "string", "description": null}, {"name": "idp_code", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": "NHN : 내부 IP 접속 유저"}, {"name": "wallet_address", "type": "string", "description": null}, {"name": "address_date", "type": "string", "description": null}, {"name": "mod_date", "type": "string", "description": null}, {"name": "lst_access_date", "type": "string", "description": null}, {"name": "lst_access_prd_cd", "type": "string", "description": null}, {"name": "bdd_lst_access_prd_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_platform_dw`.`dg_pbp_user_d01` ( `user_id` string COMMENT 'None', `status` string COMMENT 'A : 활성 (Active) / PR : 가입대기 (Pending Registration) / D : 탈퇴 (Deletion) / PD : 탈퇴 대기 (pending Deletion) / S : 정지 (Suspended)', `join_date` string COMMENT 'None', `join_prd_cd` string COMMENT 'None', `idp_code` string COMMENT 'None', `nat_cd` string COMMENT 'NHN : 내부 IP 접속 유저', `wallet_address` string COMMENT 'None', `address_date` string COMMENT 'None', `mod_date` string COMMENT 'None', `lst_access_date` string COMMENT 'None', `lst_access_prd_cd` string COMMENT 'None', `bdd_lst_access_prd_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_dw", "table": "sg_pbp_cntu_sd01", "description": "해당 테이블 집계 시 유저 상태 : 'PR'(가입 대기)는 제외\ndd_user_cyc 는 90까지 집계함.", "columns": [{"name": "strt_ymd", "type": "string", "description": null}, {"name": "idp_code", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": "NHN : 내부 IP 접속 유저"}, {"name": "dd_user_cyc", "type": "bigint", "description": null}, {"name": "dd_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_platform_dw`.`sg_pbp_cntu_sd01` ( `strt_ymd` string COMMENT 'None', `idp_code` string COMMENT 'None', `nat_cd` string COMMENT 'NHN : 내부 IP 접속 유저', `dd_user_cyc` bigint COMMENT 'None', `dd_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_platform_dw", "table": "sg_pbp_user_sd01", "description": null, "columns": [{"name": "idp_code", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": "NHN : 내부 IP 유저 / 주요 지표 집계시 제외"}, {"name": "cm_ucnt", "type": "bigint", "description": "이용자 수 집계시 유저상태(Status) \"가입 대기(PR)\" 및 \"탈퇴(D)\" 제외 후 집계됨. \n이하 접속 이용자 수 동일 적용"}, {"name": "dau", "type": "bigint", "description": null}, {"name": "new_join_cnt", "type": "bigint", "description": ""}, {"name": "withdraw_ucnt", "type": "bigint", "description": "유저상태(Status) \"탈퇴(D)\" 인 유저 수"}, {"name": "wkly_ucnt", "type": "bigint", "description": null}, {"name": "act_4w_ucnt", "type": "bigint", "description": null}, {"name": "secd_ucnt", "type": "bigint", "description": "플랫폼 마지막 접속 이후 4주 동안 미접속한 유저 수"}, {"name": "cmbck_4w_ucnt", "type": "bigint", "description": null}, {"name": "cmbck_2w_ucnt", "type": "bigint", "description": null}, {"name": "cmbck_1w_ucnt", "type": "bigint", "description": null}, {"name": "mm_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pb_platform_dw`.`sg_pbp_user_sd01` ( `idp_code` string COMMENT 'None', `nat_cd` string COMMENT 'NHN : 내부 IP 유저 / 주요 지표 집계시 제외', `cm_ucnt` bigint COMMENT '이용자 수 집계시 유저상태(Status) "가입 대기(PR)" 및 "탈퇴(D)" 제외 후 집계됨. 이하 접속 이용자 수 동일 적용', `dau` bigint COMMENT 'None', `new_join_cnt` bigint COMMENT '', `withdraw_ucnt` bigint COMMENT '유저상태(Status) "탈퇴(D)" 인 유저 수', `wkly_ucnt` bigint COMMENT 'None', `act_4w_ucnt` bigint COMMENT 'None', `secd_ucnt` bigint COMMENT '플랫폼 마지막 접속 이후 4주 동안 미접속한 유저 수', `cmbck_4w_ucnt` bigint COMMENT 'None', `cmbck_2w_ucnt` bigint COMMENT 'None', `cmbck_1w_ucnt` bigint COMMENT 'None', `mm_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dg_wprg_guild_info_d01", "description": null, "columns": [{"name": "guild_id", "type": "bigint", "description": null}, {"name": "guild_lv", "type": "bigint", "description": null}, {"name": "guild_exp", "type": "bigint", "description": null}, {"name": "guild_nm", "type": "string", "description": null}, {"name": "create_time", "type": "string", "description": null}, {"name": "close_time", "type": "string", "description": null}, {"name": "join_type", "type": "bigint", "description": null}, {"name": "mark_sno", "type": "bigint", "description": null}, {"name": "guild_req_lv", "type": "bigint", "description": null}, {"name": "solidarity_token", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_wprg_guild_info_d01` ( `guild_id` bigint COMMENT 'None', `guild_lv` bigint COMMENT 'None', `guild_exp` bigint COMMENT 'None', `guild_nm` string COMMENT 'None', `create_time` string COMMENT 'None', `close_time` string COMMENT 'None', `join_type` bigint COMMENT 'None', `mark_sno` bigint COMMENT 'None', `guild_req_lv` bigint COMMENT 'None', `solidarity_token` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dg_wprg_guild_mony_chg_d01", "description": null, "columns": [{"name": "mony_type", "type": "string", "description": null}, {"name": "guild_id", "type": "bigint", "description": null}, {"name": "guild_lv", "type": "bigint", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "rsn_no", "type": "bigint", "description": null}, {"name": "mony_amt", "type": "bigint", "description": null}, {"name": "res_mony_amt", "type": "bigint", "description": null}, {"name": "t_time", "type": "string", "description": null}, {"name": "reqtime", "type": "string", "description": null}, {"name": "type_no", "type": "bigint", "description": null}, {"name": "type_sno", "type": "bigint", "description": null}, {"name": "success", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_wprg_guild_mony_chg_d01` ( `mony_type` string COMMENT 'None', `guild_id` bigint COMMENT 'None', `guild_lv` bigint COMMENT 'None', `uid` bigint COMMENT 'None', `user_lv` bigint COMMENT 'None', `rsn_no` bigint COMMENT 'None', `mony_amt` bigint COMMENT 'None', `res_mony_amt` bigint COMMENT 'None', `t_time` string COMMENT 'None', `reqtime` string COMMENT 'None', `type_no` bigint COMMENT 'None', `type_sno` bigint COMMENT 'None', `success` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dg_wprg_guild_user_d01", "description": null, "columns": [{"name": "guild_id", "type": "bigint", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "auth", "type": "bigint", "description": null}, {"name": "join_time", "type": "string", "description": null}, {"name": "attendance_time", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_wprg_guild_user_d01` ( `guild_id` bigint COMMENT 'None', `uid` bigint COMMENT 'None', `auth` bigint COMMENT 'None', `join_time` string COMMENT 'None', `attendance_time` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dg_wprg_item_chg_d01", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "item_chg_type", "type": "bigint", "description": null}, {"name": "item_type_no", "type": "bigint", "description": null}, {"name": "item_sno", "type": "bigint", "description": null}, {"name": "item_cnt", "type": "bigint", "description": null}, {"name": "item_instanceno", "type": "bigint", "description": null}, {"name": "use_mana", "type": "bigint", "description": null}, {"name": "use_gem", "type": "bigint", "description": null}, {"name": "use_moonpiece", "type": "bigint", "description": null}, {"name": "use_ruby", "type": "bigint", "description": null}, {"name": "use_sapphire", "type": "bigint", "description": null}, {"name": "hld_mana", "type": "bigint", "description": null}, {"name": "hld_gem", "type": "bigint", "description": null}, {"name": "hld_ruby", "type": "bigint", "description": null}, {"name": "hld_sapphire", "type": "bigint", "description": null}, {"name": "hld_moonpiece", "type": "bigint", "description": null}, {"name": "reg_time", "type": "string", "description": null}, {"name": "req_time", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_wprg_item_chg_d01` ( `uid` bigint COMMENT 'None', `user_lv` bigint COMMENT 'None', `item_chg_type` bigint COMMENT 'None', `item_type_no` bigint COMMENT 'None', `item_sno` bigint COMMENT 'None', `item_cnt` bigint COMMENT 'None', `item_instanceno` bigint COMMENT 'None', `use_mana` bigint COMMENT 'None', `use_gem` bigint COMMENT 'None', `use_moonpiece` bigint COMMENT 'None', `use_ruby` bigint COMMENT 'None', `use_sapphire` bigint COMMENT 'None', `hld_mana` bigint COMMENT 'None', `hld_gem` bigint COMMENT 'None', `hld_ruby` bigint COMMENT 'None', `hld_sapphire` bigint COMMENT 'None', `hld_moonpiece` bigint COMMENT 'None', `reg_time` string COMMENT 'None', `req_time` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dg_wprg_item_hld_d01", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "gbuid", "type": "string", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "item_type_no", "type": "bigint", "description": null}, {"name": "item_sno", "type": "bigint", "description": null}, {"name": "item_hld_cnt", "type": "bigint", "description": null}, {"name": "update_time", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_wprg_item_hld_d01` ( `uid` bigint COMMENT 'None', `gbuid` string COMMENT 'None', `user_lv` bigint COMMENT 'None', `item_type_no` bigint COMMENT 'None', `item_sno` bigint COMMENT 'None', `item_hld_cnt` bigint COMMENT 'None', `update_time` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dg_wprg_mony_chg_d01", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "pay_type", "type": "string", "description": null}, {"name": "mony_type", "type": "string", "description": null}, {"name": "tp_cd", "type": "string", "description": null}, {"name": "rsn_no", "type": "bigint", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "mony_amt", "type": "bigint", "description": null}, {"name": "attr_1", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_wprg_mony_chg_d01` ( `uid` bigint COMMENT 'None', `pay_type` string COMMENT 'None', `mony_type` string COMMENT 'None', `tp_cd` string COMMENT 'None', `rsn_no` bigint COMMENT 'None', `user_lv` bigint COMMENT 'None', `mony_amt` bigint COMMENT 'None', `attr_1` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dg_wprg_social_d01", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "uid_friend", "type": "bigint", "description": null}, {"name": "act_type", "type": "bigint", "description": null}, {"name": "reg_time", "type": "string", "description": null}, {"name": "req_time", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_wprg_social_d01` ( `uid` bigint COMMENT 'None', `user_lv` bigint COMMENT 'None', `uid_friend` bigint COMMENT 'None', `act_type` bigint COMMENT 'None', `reg_time` string COMMENT 'None', `req_time` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dg_wprg_timecapsule_hld_d01", "description": null, "columns": [{"name": "idx", "type": "bigint", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "typeno", "type": "bigint", "description": null}, {"name": "itemserialno", "type": "bigint", "description": null}, {"name": "endtime", "type": "string", "description": null}, {"name": "cnt", "type": "bigint", "description": null}, {"name": "reg_time", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_wprg_timecapsule_hld_d01` ( `idx` bigint COMMENT 'None', `uid` bigint COMMENT 'None', `typeno` bigint COMMENT 'None', `itemserialno` bigint COMMENT 'None', `endtime` string COMMENT 'None', `cnt` bigint COMMENT 'None', `reg_time` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dg_wprg_user_d01", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "gbuid", "type": "string", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "experience", "type": "bigint", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "wprcon_son", "type": "bigint", "description": null}, {"name": "holywpr_cnt", "type": "bigint", "description": null}, {"name": "wpr_hatch_count", "type": "bigint", "description": null}, {"name": "withdrawal", "type": "bigint", "description": null}, {"name": "storage_sno", "type": "bigint", "description": null}, {"name": "bag_sno", "type": "bigint", "description": null}, {"name": "fre_mana", "type": "bigint", "description": null}, {"name": "fchg_mana", "type": "bigint", "description": null}, {"name": "fre_food", "type": "bigint", "description": null}, {"name": "fchg_food", "type": "bigint", "description": null}, {"name": "fre_gem", "type": "bigint", "description": null}, {"name": "fchg_gem", "type": "bigint", "description": null}, {"name": "fre_emerald", "type": "bigint", "description": null}, {"name": "fchg_emerald", "type": "bigint", "description": null}, {"name": "ruby", "type": "bigint", "description": null}, {"name": "sapphire", "type": "bigint", "description": null}, {"name": "moonpiece", "type": "bigint", "description": null}, {"name": "roopa_mileage", "type": "bigint", "description": null}, {"name": "luna_mileage", "type": "bigint", "description": null}, {"name": "atmos_tears", "type": "bigint", "description": null}, {"name": "review_event_flag", "type": "bigint", "description": null}, {"name": "roopa_potion", "type": "bigint", "description": null}, {"name": "insurance", "type": "bigint", "description": null}, {"name": "regular_luna_land_visit_cnt", "type": "bigint", "description": null}, {"name": "fixed_probability", "type": "string", "description": null}, {"name": "mini_wpr_coin", "type": "bigint", "description": null}, {"name": "wemix_user_addr", "type": "string", "description": null}, {"name": "token_exchange_count", "type": "bigint", "description": null}, {"name": "roopa_potion_recipe", "type": "bigint", "description": null}, {"name": "ad_watch_cnt", "type": "bigint", "description": null}, {"name": "pcnt", "type": "bigint", "description": null}, {"name": "stamina", "type": "bigint", "description": null}, {"name": "bought_stamina", "type": "bigint", "description": null}, {"name": "magic_gacha_ticket", "type": "bigint", "description": null}, {"name": "premium_gacha_ticket", "type": "bigint", "description": null}, {"name": "lucky_up_ticket", "type": "bigint", "description": null}, {"name": "dung", "type": "bigint", "description": null}, {"name": "guild_coin", "type": "bigint", "description": null}, {"name": "dimension_mana", "type": "bigint", "description": null}, {"name": "wpr_persona_exchange_ticket", "type": "bigint", "description": null}, {"name": "fre_wpr_persona_exchange_ticket", "type": "bigint", "description": null}, {"name": "fchg_persona_exchange_ticket", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_wprg_user_d01` ( `uid` bigint COMMENT 'None', `gbuid` string COMMENT 'None', `user_lv` bigint COMMENT 'None', `experience` bigint COMMENT 'None', `nickname` string COMMENT 'None', `wprcon_son` bigint COMMENT 'None', `holywpr_cnt` bigint COMMENT 'None', `wpr_hatch_count` bigint COMMENT 'None', `withdrawal` bigint COMMENT 'None', `storage_sno` bigint COMMENT 'None', `bag_sno` bigint COMMENT 'None', `fre_mana` bigint COMMENT 'None', `fchg_mana` bigint COMMENT 'None', `fre_food` bigint COMMENT 'None', `fchg_food` bigint COMMENT 'None', `fre_gem` bigint COMMENT 'None', `fchg_gem` bigint COMMENT 'None', `fre_emerald` bigint COMMENT 'None', `fchg_emerald` bigint COMMENT 'None', `ruby` bigint COMMENT 'None', `sapphire` bigint COMMENT 'None', `moonpiece` bigint COMMENT 'None', `roopa_mileage` bigint COMMENT 'None', `luna_mileage` bigint COMMENT 'None', `atmos_tears` bigint COMMENT 'None', `review_event_flag` bigint COMMENT 'None', `roopa_potion` bigint COMMENT 'None', `insurance` bigint COMMENT 'None', `regular_luna_land_visit_cnt` bigint COMMENT 'None', `fixed_probability` string COMMENT 'None', `mini_wpr_coin` bigint COMMENT 'None', `wemix_user_addr` string COMMENT 'None', `token_exchange_count` bigint COMMENT 'None', `roopa_potion_recipe` bigint COMMENT 'None', `ad_watch_cnt` bigint COMMENT 'None', `pcnt` bigint COMMENT 'None', `stamina` bigint COMMENT 'None', `bought_stamina` bigint COMMENT 'None', `magic_gacha_ticket` bigint COMMENT 'None', `premium_gacha_ticket` bigint COMMENT 'None', `lucky_up_ticket` bigint COMMENT 'None', `dung` bigint COMMENT 'None', `guild_coin` bigint COMMENT 'None', `dimension_mana` bigint COMMENT 'None', `wpr_persona_exchange_ticket` bigint COMMENT 'None', `fre_wpr_persona_exchange_ticket` bigint COMMENT 'None', `fchg_persona_exchange_ticket` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dg_wprg_wooparoo_chg_d01", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "rsn_no", "type": "bigint", "description": null}, {"name": "wpr_lv", "type": "bigint", "description": null}, {"name": "wpr_instanceno", "type": "bigint", "description": null}, {"name": "wpr_sno", "type": "bigint", "description": null}, {"name": "wpr_habitat_instanceno", "type": "bigint", "description": null}, {"name": "reg_time", "type": "string", "description": null}, {"name": "req_time", "type": "string", "description": null}, {"name": "galaxy_yn", "type": "string", "description": null}, {"name": "wpr_galaxy_no", "type": "bigint", "description": null}, {"name": "wpr_grade_lv", "type": "bigint", "description": null}, {"name": "log_type", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_wprg_wooparoo_chg_d01` ( `uid` bigint COMMENT 'None', `user_lv` bigint COMMENT 'None', `rsn_no` bigint COMMENT 'None', `wpr_lv` bigint COMMENT 'None', `wpr_instanceno` bigint COMMENT 'None', `wpr_sno` bigint COMMENT 'None', `wpr_habitat_instanceno` bigint COMMENT 'None', `reg_time` string COMMENT 'None', `req_time` string COMMENT 'None', `galaxy_yn` string COMMENT 'None', `wpr_galaxy_no` bigint COMMENT 'None', `wpr_grade_lv` bigint COMMENT 'None', `log_type` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dg_wprg_wooparoo_hld_d01", "description": null, "columns": [{"name": "user_lv", "type": "bigint", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "wpr_instanceno", "type": "bigint", "description": null}, {"name": "wpr_sno", "type": "bigint", "description": null}, {"name": "wpr_building_typeno", "type": "bigint", "description": null}, {"name": "wpr_building_instanceno", "type": "bigint", "description": null}, {"name": "wpr_habitat_instno", "type": "bigint", "description": null}, {"name": "wpr_lang_type", "type": "bigint", "description": null}, {"name": "wpr_nickname", "type": "string", "description": null}, {"name": "wpr_lv", "type": "bigint", "description": null}, {"name": "wpr_exp", "type": "bigint", "description": null}, {"name": "wpr_youth", "type": "bigint", "description": null}, {"name": "wpr_power", "type": "bigint", "description": null}, {"name": "wpr_spirit", "type": "bigint", "description": null}, {"name": "wpr_skill1", "type": "bigint", "description": null}, {"name": "wpr_skill2", "type": "bigint", "description": null}, {"name": "wpr_skill3", "type": "bigint", "description": null}, {"name": "wpr_skill4", "type": "bigint", "description": null}, {"name": "birthday", "type": "string", "description": null}, {"name": "wpr_grade_lv", "type": "bigint", "description": null}, {"name": "grade_exp", "type": "bigint", "description": null}, {"name": "kill_cnt", "type": "bigint", "description": null}, {"name": "galaxy_yn", "type": "string", "description": null}, {"name": "wpr_galaxy_no", "type": "bigint", "description": null}, {"name": "gbuid", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_wprg_wooparoo_hld_d01` ( `user_lv` bigint COMMENT 'None', `uid` bigint COMMENT 'None', `wpr_instanceno` bigint COMMENT 'None', `wpr_sno` bigint COMMENT 'None', `wpr_building_typeno` bigint COMMENT 'None', `wpr_building_instanceno` bigint COMMENT 'None', `wpr_habitat_instno` bigint COMMENT 'None', `wpr_lang_type` bigint COMMENT 'None', `wpr_nickname` string COMMENT 'None', `wpr_lv` bigint COMMENT 'None', `wpr_exp` bigint COMMENT 'None', `wpr_youth` bigint COMMENT 'None', `wpr_power` bigint COMMENT 'None', `wpr_spirit` bigint COMMENT 'None', `wpr_skill1` bigint COMMENT 'None', `wpr_skill2` bigint COMMENT 'None', `wpr_skill3` bigint COMMENT 'None', `wpr_skill4` bigint COMMENT 'None', `birthday` string COMMENT 'None', `wpr_grade_lv` bigint COMMENT 'None', `grade_exp` bigint COMMENT 'None', `kill_cnt` bigint COMMENT 'None', `galaxy_yn` string COMMENT 'None', `wpr_galaxy_no` bigint COMMENT 'None', `gbuid` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "sg_wprg_ad_sd01", "description": null, "columns": [{"name": "play_dau", "type": "bigint", "description": null}, {"name": "free_pass_cd", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "ad_dau", "type": "bigint", "description": null}, {"name": "ad_cmpl", "type": "bigint", "description": null}, {"name": "view_cnt", "type": "bigint", "description": null}, {"name": "view_cmpl", "type": "bigint", "description": null}, {"name": "ad_cmpl_pu", "type": "bigint", "description": null}, {"name": "ad_non_cmpl_pu", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`sg_wprg_ad_sd01` ( `play_dau` bigint COMMENT 'None', `free_pass_cd` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `ad_dau` bigint COMMENT 'None', `ad_cmpl` bigint COMMENT 'None', `view_cnt` bigint COMMENT 'None', `view_cmpl` bigint COMMENT 'None', `ad_cmpl_pu` bigint COMMENT 'None', `ad_non_cmpl_pu` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "sg_wprg_dim_crystal_hld_sd01", "description": null, "columns": [{"name": "user_lv", "type": "bigint", "description": null}, {"name": "pay_cd", "type": "string", "description": null}, {"name": "item_sno", "type": "bigint", "description": null}, {"name": "lst_game_prd_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "hld_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`sg_wprg_dim_crystal_hld_sd01` ( `user_lv` bigint COMMENT 'None', `pay_cd` string COMMENT 'None', `item_sno` bigint COMMENT 'None', `lst_game_prd_cd` string COMMENT 'None', `nat_cd` string COMMENT 'None', `hld_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "sg_wprg_dim_wooparoo_sd01", "description": null, "columns": [{"name": "wpr_sno", "type": "bigint", "description": null}, {"name": "step", "type": "bigint", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "lst_game_prd_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "wpr_amt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`sg_wprg_dim_wooparoo_sd01` ( `wpr_sno` bigint COMMENT 'None', `step` bigint COMMENT 'None', `user_lv` bigint COMMENT 'None', `lst_game_prd_cd` string COMMENT 'None', `nat_cd` string COMMENT 'None', `ucnt` bigint COMMENT 'None', `wpr_amt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "sg_wprg_frnd_sd01", "description": null, "columns": [{"name": "user_lv", "type": "bigint", "description": null}, {"name": "frnd_cnt_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "acc_frnd_cnt", "type": "bigint", "description": null}, {"name": "frnd_cnt", "type": "bigint", "description": null}, {"name": "cross_frnd_cnt", "type": "bigint", "description": null}, {"name": "one_way_frnd_cnt", "type": "bigint", "description": null}, {"name": "favorite_frnd_cnt", "type": "bigint", "description": null}, {"name": "block_frnd_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`sg_wprg_frnd_sd01` ( `user_lv` bigint COMMENT 'None', `frnd_cnt_cd` string COMMENT 'None', `nat_cd` string COMMENT 'None', `acc_frnd_cnt` bigint COMMENT 'None', `frnd_cnt` bigint COMMENT 'None', `cross_frnd_cnt` bigint COMMENT 'None', `one_way_frnd_cnt` bigint COMMENT 'None', `favorite_frnd_cnt` bigint COMMENT 'None', `block_frnd_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "sg_wprg_game_league_sd01", "description": null, "columns": [{"name": "season", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "avg_lv", "type": "bigint", "description": null}, {"name": "season_ucnt", "type": "bigint", "description": null}, {"name": "ply_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`sg_wprg_game_league_sd01` ( `season` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `avg_lv` bigint COMMENT 'None', `season_ucnt` bigint COMMENT 'None', `ply_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "sg_wprg_game_pve_sd01", "description": null, "columns": [{"name": "stage_seq", "type": "bigint", "description": null}, {"name": "quest_seq", "type": "bigint", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "play_cnt", "type": "bigint", "description": null}, {"name": "clear_cnt", "type": "bigint", "description": null}, {"name": "user_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`sg_wprg_game_pve_sd01` ( `stage_seq` bigint COMMENT 'None', `quest_seq` bigint COMMENT 'None', `user_lv` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `play_cnt` bigint COMMENT 'None', `clear_cnt` bigint COMMENT 'None', `user_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "sg_wprg_game_pvp_sd01", "description": null, "columns": [{"name": "user_lv", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "ply_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`sg_wprg_game_pvp_sd01` ( `user_lv` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `ucnt` bigint COMMENT 'None', `ply_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "sg_wprg_guild_mony_chg_sd01", "description": null, "columns": [{"name": "mony_type", "type": "string", "description": null}, {"name": "guild_lv", "type": "bigint", "description": null}, {"name": "guild_id", "type": "bigint", "description": null}, {"name": "tp_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "mony_amt", "type": "bigint", "description": null}, {"name": "chg_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`sg_wprg_guild_mony_chg_sd01` ( `mony_type` string COMMENT 'None', `guild_lv` bigint COMMENT 'None', `guild_id` bigint COMMENT 'None', `tp_cd` string COMMENT 'None', `nat_cd` string COMMENT 'None', `mony_amt` bigint COMMENT 'None', `chg_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "sg_wprg_guild_sd01", "description": null, "columns": [{"name": "guild_level", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "tot_guild_cnt", "type": "bigint", "description": null}, {"name": "new_guild_cnt", "type": "bigint", "description": null}, {"name": "del_guild_cnt", "type": "bigint", "description": null}, {"name": "guild_new_user_cnt", "type": "bigint", "description": null}, {"name": "tot_guild_user_cnt", "type": "bigint", "description": null}, {"name": "guild_active_user_cnt", "type": "bigint", "description": null}, {"name": "withdraw_guild_user_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`sg_wprg_guild_sd01` ( `guild_level` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `tot_guild_cnt` bigint COMMENT 'None', `new_guild_cnt` bigint COMMENT 'None', `del_guild_cnt` bigint COMMENT 'None', `guild_new_user_cnt` bigint COMMENT 'None', `tot_guild_user_cnt` bigint COMMENT 'None', `guild_active_user_cnt` bigint COMMENT 'None', `withdraw_guild_user_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "sg_wprg_guild_user_sd01", "description": null, "columns": [{"name": "user_lv", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "nru", "type": "bigint", "description": null}, {"name": "dau", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`sg_wprg_guild_user_sd01` ( `user_lv` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `nru` bigint COMMENT 'None', `dau` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "sg_wprg_item_chg_sd01", "description": null, "columns": [{"name": "item_chg_type", "type": "bigint", "description": null}, {"name": "item_type_no", "type": "bigint", "description": null}, {"name": "item_sno", "type": "bigint", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "item_chg_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`sg_wprg_item_chg_sd01` ( `item_chg_type` bigint COMMENT 'None', `item_type_no` bigint COMMENT 'None', `item_sno` bigint COMMENT 'None', `user_lv` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `ucnt` bigint COMMENT 'None', `item_chg_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "sg_wprg_item_hld_sd01", "description": null, "columns": [{"name": "item_type_no", "type": "bigint", "description": null}, {"name": "item_sno", "type": "bigint", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "item_hld_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`sg_wprg_item_hld_sd01` ( `item_type_no` bigint COMMENT 'None', `item_sno` bigint COMMENT 'None', `user_lv` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `item_hld_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "sg_wprg_mony_chg_sd01", "description": null, "columns": [{"name": "pay_type", "type": "string", "description": null}, {"name": "mony_type", "type": "string", "description": null}, {"name": "tp_cd", "type": "string", "description": null}, {"name": "rsn_no", "type": "bigint", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "attr_1", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "chg_cnt", "type": "bigint", "description": null}, {"name": "chg_ucnt", "type": "bigint", "description": null}, {"name": "chg_amt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`sg_wprg_mony_chg_sd01` ( `pay_type` string COMMENT 'None', `mony_type` string COMMENT 'None', `tp_cd` string COMMENT 'None', `rsn_no` bigint COMMENT 'None', `user_lv` bigint COMMENT 'None', `attr_1` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `chg_cnt` bigint COMMENT 'None', `chg_ucnt` bigint COMMENT 'None', `chg_amt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "sg_wprg_mony_hld_sd01", "description": null, "columns": [{"name": "user_lv", "type": "bigint", "description": null}, {"name": "pay_type", "type": "string", "description": null}, {"name": "lst_game_prd_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "mana", "type": "bigint", "description": null}, {"name": "gem", "type": "bigint", "description": null}, {"name": "food", "type": "bigint", "description": null}, {"name": "emerald", "type": "bigint", "description": null}, {"name": "roopa_potion", "type": "bigint", "description": null}, {"name": "mini_wpr_coin", "type": "bigint", "description": null}, {"name": "stamina", "type": "bigint", "description": null}, {"name": "magic_ticket", "type": "bigint", "description": null}, {"name": "premium_ticket", "type": "bigint", "description": null}, {"name": "lucky_ticket", "type": "bigint", "description": null}, {"name": "dung", "type": "bigint", "description": null}, {"name": "ruby", "type": "bigint", "description": null}, {"name": "guild_coin", "type": "bigint", "description": null}, {"name": "dimension_mana", "type": "bigint", "description": null}, {"name": "wpr_persona_exchange_ticket", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`sg_wprg_mony_hld_sd01` ( `user_lv` bigint COMMENT 'None', `pay_type` string COMMENT 'None', `lst_game_prd_cd` string COMMENT 'None', `nat_cd` string COMMENT 'None', `mana` bigint COMMENT 'None', `gem` bigint COMMENT 'None', `food` bigint COMMENT 'None', `emerald` bigint COMMENT 'None', `roopa_potion` bigint COMMENT 'None', `mini_wpr_coin` bigint COMMENT 'None', `stamina` bigint COMMENT 'None', `magic_ticket` bigint COMMENT 'None', `premium_ticket` bigint COMMENT 'None', `lucky_ticket` bigint COMMENT 'None', `dung` bigint COMMENT 'None', `ruby` bigint COMMENT 'None', `guild_coin` bigint COMMENT 'None', `dimension_mana` bigint COMMENT 'None', `wpr_persona_exchange_ticket` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "sg_wprg_social_sd01", "description": null, "columns": [{"name": "user_lv", "type": "bigint", "description": null}, {"name": "act_type", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "act_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`sg_wprg_social_sd01` ( `user_lv` bigint COMMENT 'None', `act_type` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `act_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "sg_wprg_timecapsule_hld_sd01", "description": null, "columns": [{"name": "itemserialno", "type": "bigint", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "timecapsule_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`sg_wprg_timecapsule_hld_sd01` ( `itemserialno` bigint COMMENT 'None', `user_lv` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `timecapsule_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "sg_wprg_user_sd01", "description": null, "columns": [{"name": "mket_nm", "type": "string", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "cm_ucnt", "type": "bigint", "description": null}, {"name": "dau", "type": "bigint", "description": null}, {"name": "new_join_cnt", "type": "bigint", "description": null}, {"name": "act_ucnt", "type": "bigint", "description": null}, {"name": "wkly_ucnt", "type": "bigint", "description": null}, {"name": "secd_ucnt", "type": "bigint", "description": null}, {"name": "cmbck_ucnt", "type": "bigint", "description": null}, {"name": "mm_ucnt", "type": "bigint", "description": null}, {"name": "acc_pvp_pcnt", "type": "bigint", "description": null}, {"name": "w1_cmbck_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`sg_wprg_user_sd01` ( `mket_nm` string COMMENT 'None', `user_lv` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `cm_ucnt` bigint COMMENT 'None', `dau` bigint COMMENT 'None', `new_join_cnt` bigint COMMENT 'None', `act_ucnt` bigint COMMENT 'None', `wkly_ucnt` bigint COMMENT 'None', `secd_ucnt` bigint COMMENT 'None', `cmbck_ucnt` bigint COMMENT 'None', `mm_ucnt` bigint COMMENT 'None', `acc_pvp_pcnt` bigint COMMENT 'None', `w1_cmbck_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "sg_wprg_wooparoo_chg_sd01", "description": null, "columns": [{"name": "category_type", "type": "string", "description": null}, {"name": "galaxy_yn", "type": "string", "description": null}, {"name": "wpr_sno", "type": "bigint", "description": null}, {"name": "wpr_grade_lv", "type": "bigint", "description": null}, {"name": "rsn_no", "type": "bigint", "description": null}, {"name": "wpr_lv", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "chg_ucnt", "type": "bigint", "description": null}, {"name": "wpr_chg_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`sg_wprg_wooparoo_chg_sd01` ( `category_type` string COMMENT 'None', `galaxy_yn` string COMMENT 'None', `wpr_sno` bigint COMMENT 'None', `wpr_grade_lv` bigint COMMENT 'None', `rsn_no` bigint COMMENT 'None', `wpr_lv` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `chg_ucnt` bigint COMMENT 'None', `wpr_chg_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "sg_wprg_wooparoo_hld_sd01", "description": null, "columns": [{"name": "galaxy_yn", "type": "string", "description": null}, {"name": "wpr_sno", "type": "bigint", "description": null}, {"name": "wpr_grade_lv", "type": "bigint", "description": null}, {"name": "wpr_lv", "type": "bigint", "description": null}, {"name": "lst_game_prd_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "wpr_hld_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`sg_wprg_wooparoo_hld_sd01` ( `galaxy_yn` string COMMENT 'None', `wpr_sno` bigint COMMENT 'None', `wpr_grade_lv` bigint COMMENT 'None', `wpr_lv` bigint COMMENT 'None', `lst_game_prd_cd` string COMMENT 'None', `nat_cd` string COMMENT 'None', `wpr_hld_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dc_wprg_arena_season_mtr", "description": null, "columns": [{"name": "season", "type": "bigint", "description": null}, {"name": "start_time", "type": "string", "description": null}, {"name": "end_time", "type": "string", "description": null}, {"name": "reg_time", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dc_wprg_arena_season_mtr` ( `season` bigint COMMENT 'None', `start_time` string COMMENT 'None', `end_time` string COMMENT 'None', `reg_time` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dc_wprg_name_mtr", "description": null, "columns": [{"name": "type_no", "type": "bigint", "description": null}, {"name": "type_sno", "type": "bigint", "description": null}, {"name": "type_nm", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dc_wprg_name_mtr` ( `type_no` bigint COMMENT 'None', `type_sno` bigint COMMENT 'None', `type_nm` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dc_wprg_rsn_mtr", "description": null, "columns": [{"name": "rsn_no", "type": "bigint", "description": null}, {"name": "rsn_nm", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dc_wprg_rsn_mtr` ( `rsn_no` bigint COMMENT 'None', `rsn_nm` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dc_wprg_type_dtl_mtr", "description": null, "columns": [{"name": "type_no", "type": "bigint", "description": null}, {"name": "type_nm", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dc_wprg_type_dtl_mtr` ( `type_no` bigint COMMENT 'None', `type_nm` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dc_wprg_wooparoo_mtr", "description": null, "columns": [{"name": "wpr_sno", "type": "bigint", "description": null}, {"name": "wpr_nm", "type": "string", "description": null}, {"name": "wpr_attr1", "type": "string", "description": null}, {"name": "wpr_attr2", "type": "string", "description": null}, {"name": "wpr_attr3", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dc_wprg_wooparoo_mtr` ( `wpr_sno` bigint COMMENT 'None', `wpr_nm` string COMMENT 'None', `wpr_attr1` string COMMENT 'None', `wpr_attr2` string COMMENT 'None', `wpr_attr3` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_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_dt", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_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_dt` timestamp 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": "wprg_odyssey_dw", "table": "dg_mblg_login_hist", "description": null, "columns": [{"name": "log_dt", "type": "string", "description": null}, {"name": "zone_cd", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "game_no", "type": "bigint", "description": null}, {"name": "mket_cd", "type": "string", "description": null}, {"name": "dev_key", "type": "string", "description": null}, {"name": "dev_mdl", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "os_ver", "type": "string", "description": null}, {"name": "hsp_ver", "type": "string", "description": null}, {"name": "game_clnt_ver", "type": "string", "description": null}, {"name": "telecom", "type": "string", "description": null}, {"name": "ntwk_tp", "type": "string", "description": null}, {"name": "adid", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "ip", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_mblg_login_hist` ( `log_dt` string COMMENT 'None', `zone_cd` string COMMENT 'None', `userno` string COMMENT 'None', `game_no` bigint COMMENT 'None', `mket_cd` string COMMENT 'None', `dev_key` string COMMENT 'None', `dev_mdl` string COMMENT 'None', `os_cd` string COMMENT 'None', `os_ver` string COMMENT 'None', `hsp_ver` string COMMENT 'None', `game_clnt_ver` string COMMENT 'None', `telecom` string COMMENT 'None', `ntwk_tp` string COMMENT 'None', `adid` string COMMENT 'None', `nat_cd` string COMMENT 'None', `ip` string COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dg_mblg_user_d01", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "hg_userid", "type": "string", "description": null}, {"name": "hg_userno", "type": "bigint", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "age_cd", "type": "string", "description": null}, {"name": "join_prd_cd", "type": "string", "description": null}, {"name": "lst_login_prd_cd", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_login_dt", "type": "string", "description": null}, {"name": "lst_game_no", "type": "bigint", "description": null}, {"name": "fst_game_no", "type": "bigint", "description": null}, {"name": "cm_use_game_cnt", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "dev_key", "type": "string", "description": null}, {"name": "dev_mdl", "type": "string", "description": null}, {"name": "age_zn_cd", "type": "string", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "os_ver", "type": "string", "description": null}, {"name": "idp_fst_mapng_dt", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_mblg_user_d01` ( `userno` string COMMENT 'None', `hg_userid` string COMMENT 'None', `hg_userno` bigint COMMENT 'None', `sex_cd` string COMMENT 'None', `age_cd` string COMMENT 'None', `join_prd_cd` string COMMENT 'None', `lst_login_prd_cd` string COMMENT 'None', `join_dt` string COMMENT 'None', `lst_login_dt` string COMMENT 'None', `lst_game_no` bigint COMMENT 'None', `fst_game_no` bigint COMMENT 'None', `cm_use_game_cnt` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `dev_key` string COMMENT 'None', `dev_mdl` string COMMENT 'None', `age_zn_cd` string COMMENT 'None', `idp_userno` string COMMENT 'None', `idp_cd` string COMMENT 'None', `os_cd` string COMMENT 'None', `os_ver` string COMMENT 'None', `idp_fst_mapng_dt` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dg_mblg_user_ply_hist", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "game_no", "type": "bigint", "description": null}, {"name": "tdd_ptm", "type": "bigint", "description": null}, {"name": "tdd_conn_tcnt", "type": "bigint", "description": null}, {"name": "cm_ptm", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_mblg_user_ply_hist` ( `userno` string COMMENT 'None', `game_no` bigint COMMENT 'None', `tdd_ptm` bigint COMMENT 'None', `tdd_conn_tcnt` bigint COMMENT 'None', `cm_ptm` bigint COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dg_wprg_ad_d01", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "ad_type", "type": "bigint", "description": null}, {"name": "start_time", "type": "string", "description": null}, {"name": "reward_time", "type": "string", "description": null}, {"name": "typeno", "type": "bigint", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "instno", "type": "bigint", "description": null}, {"name": "purchase_user", "type": "bigint", "description": null}, {"name": "ad_free", "type": "bigint", "description": null}, {"name": "free_pass_cd", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_wprg_ad_d01` ( `uid` bigint COMMENT 'None', `user_lv` bigint COMMENT 'None', `ad_type` bigint COMMENT 'None', `start_time` string COMMENT 'None', `reward_time` string COMMENT 'None', `typeno` bigint COMMENT 'None', `sno` bigint COMMENT 'None', `instno` bigint COMMENT 'None', `purchase_user` bigint COMMENT 'None', `ad_free` bigint COMMENT 'None', `free_pass_cd` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dg_wprg_dim_crystal_hld_d01", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "gbuid", "type": "string", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "type_no", "type": "bigint", "description": null}, {"name": "item_sno", "type": "bigint", "description": null}, {"name": "cnt", "type": "bigint", "description": null}, {"name": "bought_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_wprg_dim_crystal_hld_d01` ( `uid` bigint COMMENT 'None', `gbuid` string COMMENT 'None', `user_lv` bigint COMMENT 'None', `type_no` bigint COMMENT 'None', `item_sno` bigint COMMENT 'None', `cnt` bigint COMMENT 'None', `bought_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dg_wprg_dim_wooparoo_d01", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "gbuid", "type": "string", "description": null}, {"name": "wpr_sno", "type": "bigint", "description": null}, {"name": "step", "type": "bigint", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "experience", "type": "bigint", "description": null}, {"name": "reg_time", "type": "string", "description": null}, {"name": "update_time", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_wprg_dim_wooparoo_d01` ( `uid` bigint COMMENT 'None', `gbuid` string COMMENT 'None', `wpr_sno` bigint COMMENT 'None', `step` bigint COMMENT 'None', `user_lv` bigint COMMENT 'None', `experience` bigint COMMENT 'None', `reg_time` string COMMENT 'None', `update_time` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dg_wprg_frnd_d01", "description": null, "columns": [{"name": "rel_type", "type": "string", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "rel_uid", "type": "bigint", "description": null}, {"name": "follow_time", "type": "string", "description": null}, {"name": "reqmate_time", "type": "string", "description": null}, {"name": "friendmate_time", "type": "string", "description": null}, {"name": "favorite_time", "type": "string", "description": null}, {"name": "block_time", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_wprg_frnd_d01` ( `rel_type` string COMMENT 'None', `uid` bigint COMMENT 'None', `user_lv` bigint COMMENT 'None', `rel_uid` bigint COMMENT 'None', `follow_time` string COMMENT 'None', `reqmate_time` string COMMENT 'None', `friendmate_time` string COMMENT 'None', `favorite_time` string COMMENT 'None', `block_time` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dg_wprg_game_pve_d01", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "quest_seq", "type": "bigint", "description": null}, {"name": "stage_seq", "type": "bigint", "description": null}, {"name": "create_time", "type": "string", "description": null}, {"name": "result_time", "type": "string", "description": null}, {"name": "battle_state", "type": "bigint", "description": null}, {"name": "data_info", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_wprg_game_pve_d01` ( `uid` bigint COMMENT 'None', `user_lv` bigint COMMENT 'None', `quest_seq` bigint COMMENT 'None', `stage_seq` bigint COMMENT 'None', `create_time` string COMMENT 'None', `result_time` string COMMENT 'None', `battle_state` bigint COMMENT 'None', `data_info` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dg_wprg_game_pvp_d01", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "season", "type": "bigint", "description": null}, {"name": "league", "type": "bigint", "description": null}, {"name": "user_lv", "type": "bigint", "description": null}, {"name": "uid_enemy", "type": "bigint", "description": null}, {"name": "create_time", "type": "string", "description": null}, {"name": "result_time", "type": "string", "description": null}, {"name": "battle_state", "type": "bigint", "description": null}, {"name": "player_change_trophy", "type": "bigint", "description": null}, {"name": "player_trophy", "type": "bigint", "description": null}, {"name": "enemy_change_trophy", "type": "bigint", "description": null}, {"name": "enemy_trophy", "type": "bigint", "description": null}, {"name": "start_rank", "type": "bigint", "description": null}, {"name": "result_rank", "type": "bigint", "description": null}, {"name": "start_league", "type": "bigint", "description": null}, {"name": "result_league", "type": "bigint", "description": null}, {"name": "start_league_rank", "type": "bigint", "description": null}, {"name": "result_league_rank", "type": "bigint", "description": null}, {"name": "data_info", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_wprg_game_pvp_d01` ( `uid` bigint COMMENT 'None', `season` bigint COMMENT 'None', `league` bigint COMMENT 'None', `user_lv` bigint COMMENT 'None', `uid_enemy` bigint COMMENT 'None', `create_time` string COMMENT 'None', `result_time` string COMMENT 'None', `battle_state` bigint COMMENT 'None', `player_change_trophy` bigint COMMENT 'None', `player_trophy` bigint COMMENT 'None', `enemy_change_trophy` bigint COMMENT 'None', `enemy_trophy` bigint COMMENT 'None', `start_rank` bigint COMMENT 'None', `result_rank` bigint COMMENT 'None', `start_league` bigint COMMENT 'None', `result_league` bigint COMMENT 'None', `start_league_rank` bigint COMMENT 'None', `result_league_rank` bigint COMMENT 'None', `data_info` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_dw", "table": "dg_wprg_guild_hist", "description": null, "columns": [{"name": "guild_id", "type": "bigint", "description": null}, {"name": "guild_level", "type": "bigint", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "level", "type": "bigint", "description": null}, {"name": "reason", "type": "bigint", "description": null}, {"name": "time", "type": "string", "description": null}, {"name": "regtime", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `wprg_odyssey_dw`.`dg_wprg_guild_hist` ( `guild_id` bigint COMMENT 'None', `guild_level` bigint COMMENT 'None', `uid` bigint COMMENT 'None', `level` bigint COMMENT 'None', `reason` bigint COMMENT 'None', `time` string COMMENT 'None', `regtime` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wprg_odyssey_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 `wprg_odyssey_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' );