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": "wpr_odyssey_db", "table": "log_user_trade", "description": null, "columns": [{"name": "idx", "type": "bigint", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "level", "type": "tinyint", "description": null}, {"name": "type", "type": "smallint", "description": null}, {"name": "itemtype", "type": "smallint", "description": null}, {"name": "itemserialno", "type": "smallint", "description": null}, {"name": "count", "type": "bigint", "description": null}, {"name": "iteminstanceno", "type": "smallint", "description": null}, {"name": "mana", "type": "bigint", "description": null}, {"name": "gem", "type": "bigint", "description": null}, {"name": "result_mana", "type": "bigint", "description": null}, {"name": "result_gem", "type": "bigint", "description": null}, {"name": "time", "type": "timestamp", "description": null}, {"name": "reqtime", "type": "timestamp", "description": null}, {"name": "ruby", "type": "bigint", "description": null}, {"name": "result_ruby", "type": "bigint", "description": null}, {"name": "sapphire", "type": "bigint", "description": null}, {"name": "result_sapphire", "type": "bigint", "description": null}, {"name": "moonpiece", "type": "bigint", "description": null}, {"name": "result_moonpiece", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`log_user_trade` ( `idx` bigint COMMENT 'None', `uid` bigint COMMENT 'None', `level` tinyint COMMENT 'None', `type` smallint COMMENT 'None', `itemtype` smallint COMMENT 'None', `itemserialno` smallint COMMENT 'None', `count` bigint COMMENT 'None', `iteminstanceno` smallint COMMENT 'None', `mana` bigint COMMENT 'None', `gem` bigint COMMENT 'None', `result_mana` bigint COMMENT 'None', `result_gem` bigint COMMENT 'None', `time` timestamp COMMENT 'None', `reqtime` timestamp COMMENT 'None', `ruby` bigint COMMENT 'None', `result_ruby` bigint COMMENT 'None', `sapphire` bigint COMMENT 'None', `result_sapphire` bigint COMMENT 'None', `moonpiece` bigint COMMENT 'None', `result_moonpiece` bigint COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "log_user_wooparoo", "description": null, "columns": [{"name": "idx", "type": "bigint", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "level", "type": "tinyint", "description": null}, {"name": "reason", "type": "int", "description": null}, {"name": "wpr_lv", "type": "tinyint", "description": null}, {"name": "wpr_inst", "type": "smallint", "description": null}, {"name": "wpr_sno", "type": "smallint", "description": null}, {"name": "habitat_inst", "type": "smallint", "description": null}, {"name": "time", "type": "timestamp", "description": null}, {"name": "reqtime", "type": "timestamp", "description": null}, {"name": "galaxy_no", "type": "bigint", "description": null}, {"name": "grade_lv", "type": "tinyint", "description": null}, {"name": "log_type", "type": "tinyint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}, {"name": "skin_sno", "type": "smallint", "description": null}, {"name": "star_engraving_lv", "type": "tinyint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`log_user_wooparoo` ( `idx` bigint COMMENT 'None', `uid` bigint COMMENT 'None', `level` tinyint COMMENT 'None', `reason` int COMMENT 'None', `wpr_lv` tinyint COMMENT 'None', `wpr_inst` smallint COMMENT 'None', `wpr_sno` smallint COMMENT 'None', `habitat_inst` smallint COMMENT 'None', `time` timestamp COMMENT 'None', `reqtime` timestamp COMMENT 'None', `galaxy_no` bigint COMMENT 'None', `grade_lv` tinyint COMMENT 'None', `log_type` tinyint COMMENT 'None', `work_ymd` bigint COMMENT 'None', `skin_sno` smallint COMMENT 'None', `star_engraving_lv` tinyint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "rank_hall_of_fame", "description": null, "columns": [{"name": "year", "type": "smallint", "description": null}, {"name": "weekofyear", "type": "tinyint", "description": null}, {"name": "rank", "type": "tinyint", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "point", "type": "bigint", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "badge_on", "type": "tinyint", "description": null}, {"name": "main_badge", "type": "int", "description": null}, {"name": "wprcon_sno", "type": "smallint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`rank_hall_of_fame` ( `year` smallint COMMENT 'None', `weekofyear` tinyint COMMENT 'None', `rank` tinyint COMMENT 'None', `uid` bigint COMMENT 'None', `point` bigint COMMENT 'None', `nickname` string COMMENT 'None', `badge_on` tinyint COMMENT 'None', `main_badge` int COMMENT 'None', `wprcon_sno` smallint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "user_account", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "gbuid", "type": "string", "description": null}, {"name": "join_time", "type": "bigint", "description": null}, {"name": "login_time", "type": "bigint", "description": null}, {"name": "logout_time", "type": "bigint", "description": null}, {"name": "withdraw_time", "type": "bigint", "description": null}, {"name": "idp_code", "type": "string", "description": null}, {"name": "idp_id", "type": "string", "description": null}, {"name": "valid", "type": "string", "description": null}, {"name": "sandbox", "type": "tinyint", "description": null}, {"name": "shard_id", "type": "int", "description": null}, {"name": "os_code", "type": "string", "description": null}, {"name": "store_code", "type": "string", "description": null}, {"name": "language", "type": "string", "description": null}, {"name": "temporary_withdrawal_time", "type": "bigint", "description": null}, {"name": "country_code", "type": "string", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`user_account` ( `uid` bigint COMMENT 'None', `gbuid` string COMMENT 'None', `join_time` bigint COMMENT 'None', `login_time` bigint COMMENT 'None', `logout_time` bigint COMMENT 'None', `withdraw_time` bigint COMMENT 'None', `idp_code` string COMMENT 'None', `idp_id` string COMMENT 'None', `valid` string COMMENT 'None', `sandbox` tinyint COMMENT 'None', `shard_id` int COMMENT 'None', `os_code` string COMMENT 'None', `store_code` string COMMENT 'None', `language` string COMMENT 'None', `temporary_withdrawal_time` bigint COMMENT 'None', `country_code` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "user_active_booster", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "instno", "type": "smallint", "description": null}, {"name": "uid_friend", "type": "bigint", "description": null}, {"name": "reqtime", "type": "bigint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`user_active_booster` ( `id` bigint COMMENT 'None', `uid` bigint COMMENT 'None', `instno` smallint COMMENT 'None', `uid_friend` bigint COMMENT 'None', `reqtime` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "user_altar_stone", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "inst_no", "type": "tinyint", "description": null}, {"name": "wpr_serial_no", "type": "smallint", "description": null}, {"name": "wpr_serial_no_1", "type": "smallint", "description": null}, {"name": "wpr_serial_no_2", "type": "smallint", "description": null}, {"name": "complete_time", "type": "bigint", "description": null}, {"name": "hidden_egg", "type": "tinyint", "description": null}, {"name": "reg_time", "type": "timestamp", "description": null}, {"name": "galaxy_no", "type": "bigint", "description": null}, {"name": "galaxy_wpr_effect", "type": "string", "description": null}, {"name": "ad_watch_cnt", "type": "tinyint", "description": null}, {"name": "ad_watch_time", "type": "bigint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`user_altar_stone` ( `id` bigint COMMENT 'None', `uid` bigint COMMENT 'None', `inst_no` tinyint COMMENT 'None', `wpr_serial_no` smallint COMMENT 'None', `wpr_serial_no_1` smallint COMMENT 'None', `wpr_serial_no_2` smallint COMMENT 'None', `complete_time` bigint COMMENT 'None', `hidden_egg` tinyint COMMENT 'None', `reg_time` timestamp COMMENT 'None', `galaxy_no` bigint COMMENT 'None', `galaxy_wpr_effect` string COMMENT 'None', `ad_watch_cnt` tinyint COMMENT 'None', `ad_watch_time` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "user_arena", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "skip_idx", "type": "smallint", "description": null}, {"name": "first_battle_time", "type": "bigint", "description": null}, {"name": "win_cnt_for_reward", "type": "tinyint", "description": null}, {"name": "acc_victory_reward_sno", "type": "tinyint", "description": null}, {"name": "weekly_reward_year", "type": "smallint", "description": null}, {"name": "weekly_reward_week", "type": "tinyint", "description": null}, {"name": "weekly_reward_time", "type": "bigint", "description": null}, {"name": "weekly_reward_sno", "type": "smallint", "description": null}, {"name": "client_trophy", "type": "int", "description": null}, {"name": "client_rank", "type": "int", "description": null}, {"name": "matching_uid", "type": "bigint", "description": null}, {"name": "highest_season", "type": "int", "description": null}, {"name": "highest_rank", "type": "int", "description": null}, {"name": "highest_trophy", "type": "int", "description": null}, {"name": "highest_league_sno", "type": "smallint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`user_arena` ( `uid` bigint COMMENT 'None', `skip_idx` smallint COMMENT 'None', `first_battle_time` bigint COMMENT 'None', `win_cnt_for_reward` tinyint COMMENT 'None', `acc_victory_reward_sno` tinyint COMMENT 'None', `weekly_reward_year` smallint COMMENT 'None', `weekly_reward_week` tinyint COMMENT 'None', `weekly_reward_time` bigint COMMENT 'None', `weekly_reward_sno` smallint COMMENT 'None', `client_trophy` int COMMENT 'None', `client_rank` int COMMENT 'None', `matching_uid` bigint COMMENT 'None', `highest_season` int COMMENT 'None', `highest_rank` int COMMENT 'None', `highest_trophy` int COMMENT 'None', `highest_league_sno` smallint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "user_arena_atk_team", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "team_no", "type": "tinyint", "description": null}, {"name": "wpr_instno_1", "type": "smallint", "description": null}, {"name": "wpr_instno_2", "type": "smallint", "description": null}, {"name": "wpr_instno_3", "type": "smallint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`user_arena_atk_team` ( `uid` bigint COMMENT 'None', `team_no` tinyint COMMENT 'None', `wpr_instno_1` smallint COMMENT 'None', `wpr_instno_2` smallint COMMENT 'None', `wpr_instno_3` smallint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "user_arena_def_team", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "wpr_instno_1", "type": "smallint", "description": null}, {"name": "wpr_instno_2", "type": "smallint", "description": null}, {"name": "wpr_instno_3", "type": "smallint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`user_arena_def_team` ( `uid` bigint COMMENT 'None', `wpr_instno_1` smallint COMMENT 'None', `wpr_instno_2` smallint COMMENT 'None', `wpr_instno_3` smallint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "user_friend", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "uid_friend", "type": "bigint", "description": null}, {"name": "followtime", "type": "bigint", "description": null}, {"name": "reqmatetime", "type": "bigint", "description": null}, {"name": "friendmatetime", "type": "bigint", "description": null}, {"name": "favoritetime", "type": "bigint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`user_friend` ( `uid` bigint COMMENT 'None', `uid_friend` bigint COMMENT 'None', `followtime` bigint COMMENT 'None', `reqmatetime` bigint COMMENT 'None', `friendmatetime` bigint COMMENT 'None', `favoritetime` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "user_friend_block", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "uid_block", "type": "bigint", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "blocktime", "type": "bigint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`user_friend_block` ( `uid` bigint COMMENT 'None', `uid_block` bigint COMMENT 'None', `nickname` string COMMENT 'None', `blocktime` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "user_info_2", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "storage_sno", "type": "smallint", "description": null}, {"name": "bag_sno", "type": "smallint", "description": null}, {"name": "mana", "type": "bigint", "description": null}, {"name": "food", "type": "bigint", "description": null}, {"name": "gem", "type": "bigint", "description": null}, {"name": "ruby", "type": "int", "description": null}, {"name": "emerald", "type": "int", "description": null}, {"name": "sapphire", "type": "int", "description": null}, {"name": "moonpiece", "type": "int", "description": null}, {"name": "roopa_mileage", "type": "int", "description": null}, {"name": "luna_mileage", "type": "int", "description": null}, {"name": "atmos_tears", "type": "int", "description": null}, {"name": "bought_mana", "type": "bigint", "description": null}, {"name": "bought_gem", "type": "bigint", "description": null}, {"name": "bought_food", "type": "bigint", "description": null}, {"name": "bought_emerald", "type": "int", "description": null}, {"name": "social_capacity", "type": "int", "description": null}, {"name": "social_capacity_time", "type": "bigint", "description": null}, {"name": "review_event_flag", "type": "tinyint", "description": null}, {"name": "roopa_potion", "type": "bigint", "description": null}, {"name": "insurance", "type": "bigint", "description": null}, {"name": "visit_luna_land_time", "type": "bigint", "description": null}, {"name": "last_update_social_point_time", "type": "bigint", "description": null}, {"name": "regular_luna_land_visit_cnt", "type": "int", "description": null}, {"name": "mini_wpr_coin", "type": "bigint", "description": null}, {"name": "wemix_user_addr", "type": "string", "description": null}, {"name": "token_exchange_count", "type": "smallint", "description": null}, {"name": "token_exchange_time", "type": "bigint", "description": null}, {"name": "roopa_potion_recipe", "type": "int", "description": null}, {"name": "premium_gacha_draw_count", "type": "int", "description": null}, {"name": "ad_watch_cnt", "type": "tinyint", "description": null}, {"name": "ad_watch_cooltime", "type": "bigint", "description": null}, {"name": "dung", "type": "int", "description": null}, {"name": "fortune_cookie", "type": "int", "description": null}, {"name": "magic_gacha_ticket", "type": "int", "description": null}, {"name": "premium_gacha_ticket", "type": "int", "description": null}, {"name": "lucky_up_ticket", "type": "int", "description": null}, {"name": "stamina", "type": "int", "description": null}, {"name": "bought_stamina", "type": "int", "description": null}, {"name": "max_stamina", "type": "int", "description": null}, {"name": "stamina_recovery_time", "type": "bigint", "description": null}, {"name": "honor_point", "type": "int", "description": null}, {"name": "ad_free_time", "type": "bigint", "description": null}, {"name": "event_gacha_draw_count", "type": "int", "description": null}, {"name": "stamina_buy_time", "type": "bigint", "description": null}, {"name": "stamina_buy_count", "type": "tinyint", "description": null}, {"name": "guild_coin", "type": "int", "description": null}, {"name": "last_guild_skill_acc_free_time", "type": "bigint", "description": null}, {"name": "last_guild_skill_acc_paid_time", "type": "bigint", "description": null}, {"name": "guild_skill_acc_paid_time", "type": "int", "description": null}, {"name": "last_guild_skill_acc_ad_time", "type": "bigint", "description": null}, {"name": "guild_skill_acc_ad_watch_cnt", "type": "tinyint", "description": null}, {"name": "dimension_mana", "type": "bigint", "description": null}, {"name": "wpr_persona_exchange_ticket", "type": "int", "description": null}, {"name": "wpr_persona_exchange_ticket_b", "type": "int", "description": null}, {"name": "premium_gacha_guarantee", "type": "smallint", "description": null}, {"name": "event_gacha_guarantee", "type": "smallint", "description": null}, {"name": "stamina_buff_time", "type": "timestamp", "description": null}, {"name": "stamina_recovery_next_time", "type": "timestamp", "description": null}, {"name": "premium_gacha_end_time", "type": "timestamp", "description": null}, {"name": "vote_ticket", "type": "int", "description": null}, {"name": "vote_ticket_end_time", "type": "timestamp", "description": null}, {"name": "premium_gacha_guarantee_sno", "type": "smallint", "description": null}, {"name": "growth_dungeon_ticket", "type": "int", "description": null}, {"name": "growth_dungeon_ticket_b", "type": "int", "description": null}, {"name": "stardust", "type": "int", "description": null}, {"name": "stardust_b", "type": "int", "description": null}, {"name": "event_gacha_guarantee_sno", "type": "smallint", "description": null}, {"name": "stroke_time", "type": "timestamp", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`user_info_2` ( `uid` bigint COMMENT 'None', `storage_sno` smallint COMMENT 'None', `bag_sno` smallint COMMENT 'None', `mana` bigint COMMENT 'None', `food` bigint COMMENT 'None', `gem` bigint COMMENT 'None', `ruby` int COMMENT 'None', `emerald` int COMMENT 'None', `sapphire` int COMMENT 'None', `moonpiece` int COMMENT 'None', `roopa_mileage` int COMMENT 'None', `luna_mileage` int COMMENT 'None', `atmos_tears` int COMMENT 'None', `bought_mana` bigint COMMENT 'None', `bought_gem` bigint COMMENT 'None', `bought_food` bigint COMMENT 'None', `bought_emerald` int COMMENT 'None', `social_capacity` int COMMENT 'None', `social_capacity_time` bigint COMMENT 'None', `review_event_flag` tinyint COMMENT 'None', `roopa_potion` bigint COMMENT 'None', `insurance` bigint COMMENT 'None', `visit_luna_land_time` bigint COMMENT 'None', `last_update_social_point_time` bigint COMMENT 'None', `regular_luna_land_visit_cnt` int COMMENT 'None', `mini_wpr_coin` bigint COMMENT 'None', `wemix_user_addr` string COMMENT 'None', `token_exchange_count` smallint COMMENT 'None', `token_exchange_time` bigint COMMENT 'None', `roopa_potion_recipe` int COMMENT 'None', `premium_gacha_draw_count` int COMMENT 'None', `ad_watch_cnt` tinyint COMMENT 'None', `ad_watch_cooltime` bigint COMMENT 'None', `dung` int COMMENT 'None', `fortune_cookie` int COMMENT 'None', `magic_gacha_ticket` int COMMENT 'None', `premium_gacha_ticket` int COMMENT 'None', `lucky_up_ticket` int COMMENT 'None', `stamina` int COMMENT 'None', `bought_stamina` int COMMENT 'None', `max_stamina` int COMMENT 'None', `stamina_recovery_time` bigint COMMENT 'None', `honor_point` int COMMENT 'None', `ad_free_time` bigint COMMENT 'None', `event_gacha_draw_count` int COMMENT 'None', `stamina_buy_time` bigint COMMENT 'None', `stamina_buy_count` tinyint COMMENT 'None', `guild_coin` int COMMENT 'None', `last_guild_skill_acc_free_time` bigint COMMENT 'None', `last_guild_skill_acc_paid_time` bigint COMMENT 'None', `guild_skill_acc_paid_time` int COMMENT 'None', `last_guild_skill_acc_ad_time` bigint COMMENT 'None', `guild_skill_acc_ad_watch_cnt` tinyint COMMENT 'None', `dimension_mana` bigint COMMENT 'None', `wpr_persona_exchange_ticket` int COMMENT 'None', `wpr_persona_exchange_ticket_b` int COMMENT 'None', `premium_gacha_guarantee` smallint COMMENT 'None', `event_gacha_guarantee` smallint COMMENT 'None', `stamina_buff_time` timestamp COMMENT 'None', `stamina_recovery_next_time` timestamp COMMENT 'None', `premium_gacha_end_time` timestamp COMMENT 'None', `vote_ticket` int COMMENT 'None', `vote_ticket_end_time` timestamp COMMENT 'None', `premium_gacha_guarantee_sno` smallint COMMENT 'None', `growth_dungeon_ticket` int COMMENT 'None', `growth_dungeon_ticket_b` int COMMENT 'None', `stardust` int COMMENT 'None', `stardust_b` int COMMENT 'None', `event_gacha_guarantee_sno` smallint COMMENT 'None', `stroke_time` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "user_item_count", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "typeno", "type": "smallint", "description": null}, {"name": "serialno", "type": "smallint", "description": null}, {"name": "count", "type": "int", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`user_item_count` ( `uid` bigint COMMENT 'None', `typeno` smallint COMMENT 'None', `serialno` smallint COMMENT 'None', `count` int COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "user_nickname", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "nick_num", "type": "int", "description": null}, {"name": "change_cnt", "type": "tinyint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`user_nickname` ( `uid` bigint COMMENT 'None', `nickname` string COMMENT 'None', `nick_num` int COMMENT 'None', `change_cnt` tinyint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "user_tutorial", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "type", "type": "tinyint", "description": null}, {"name": "start_time", "type": "bigint", "description": null}, {"name": "complete_time", "type": "bigint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`user_tutorial` ( `uid` bigint COMMENT 'None', `type` tinyint COMMENT 'None', `start_time` bigint COMMENT 'None', `complete_time` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "user_wooparoo", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "inst_no", "type": "smallint", "description": null}, {"name": "serial_no", "type": "smallint", "description": null}, {"name": "building_type_no", "type": "smallint", "description": null}, {"name": "building_inst_no", "type": "smallint", "description": null}, {"name": "habitat_inst_no", "type": "smallint", "description": null}, {"name": "land_type", "type": "tinyint", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "level", "type": "tinyint", "description": null}, {"name": "exp", "type": "tinyint", "description": null}, {"name": "youth", "type": "tinyint", "description": null}, {"name": "power", "type": "tinyint", "description": null}, {"name": "spirit", "type": "tinyint", "description": null}, {"name": "skill_1", "type": "tinyint", "description": null}, {"name": "skill_2", "type": "tinyint", "description": null}, {"name": "skill_3", "type": "tinyint", "description": null}, {"name": "skill_4", "type": "tinyint", "description": null}, {"name": "birthday", "type": "timestamp", "description": null}, {"name": "grade_lv", "type": "tinyint", "description": null}, {"name": "grade_exp", "type": "smallint", "description": null}, {"name": "kill_cnt", "type": "smallint", "description": null}, {"name": "galaxy", "type": "tinyint", "description": null}, {"name": "skin_sno", "type": "smallint", "description": null}, {"name": "persona_sno", "type": "smallint", "description": null}, {"name": "star_engraving_lv", "type": "tinyint", "description": null}, {"name": "star_engraving_exp", "type": "int", "description": null}, {"name": "persona_stat_val_1", "type": "float", "description": null}, {"name": "persona_stat_val_2", "type": "float", "description": null}, {"name": "persona_stat_val_3", "type": "float", "description": null}, {"name": "grade_bonus_change_idx", "type": "int", "description": null}, {"name": "salelock", "type": "tinyint", "description": null}, {"name": "prev_building_type_no", "type": "smallint", "description": null}, {"name": "magic_evolve", "type": "tinyint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`user_wooparoo` ( `id` bigint COMMENT 'None', `uid` bigint COMMENT 'None', `inst_no` smallint COMMENT 'None', `serial_no` smallint COMMENT 'None', `building_type_no` smallint COMMENT 'None', `building_inst_no` smallint COMMENT 'None', `habitat_inst_no` smallint COMMENT 'None', `land_type` tinyint COMMENT 'None', `nickname` string COMMENT 'None', `level` tinyint COMMENT 'None', `exp` tinyint COMMENT 'None', `youth` tinyint COMMENT 'None', `power` tinyint COMMENT 'None', `spirit` tinyint COMMENT 'None', `skill_1` tinyint COMMENT 'None', `skill_2` tinyint COMMENT 'None', `skill_3` tinyint COMMENT 'None', `skill_4` tinyint COMMENT 'None', `birthday` timestamp COMMENT 'None', `grade_lv` tinyint COMMENT 'None', `grade_exp` smallint COMMENT 'None', `kill_cnt` smallint COMMENT 'None', `galaxy` tinyint COMMENT 'None', `skin_sno` smallint COMMENT 'None', `persona_sno` smallint COMMENT 'None', `star_engraving_lv` tinyint COMMENT 'None', `star_engraving_exp` int COMMENT 'None', `persona_stat_val_1` float COMMENT 'None', `persona_stat_val_2` float COMMENT 'None', `persona_stat_val_3` float COMMENT 'None', `grade_bonus_change_idx` int COMMENT 'None', `salelock` tinyint COMMENT 'None', `prev_building_type_no` smallint COMMENT 'None', `magic_evolve` tinyint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "user_item_time_count", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "typeno", "type": "smallint", "description": null}, {"name": "serialno", "type": "smallint", "description": null}, {"name": "endtime", "type": "bigint", "description": null}, {"name": "count", "type": "int", "description": null}, {"name": "reg_time", "type": "timestamp", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`user_item_time_count` ( `id` bigint COMMENT 'None', `uid` bigint COMMENT 'None', `typeno` smallint COMMENT 'None', `serialno` smallint COMMENT 'None', `endtime` bigint COMMENT 'None', `count` int COMMENT 'None', `reg_time` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "log_user_guild_coin", "description": null, "columns": [{"name": "idx", "type": "bigint", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "level", "type": "tinyint", "description": null}, {"name": "reason", "type": "int", "description": null}, {"name": "coin", "type": "int", "description": null}, {"name": "resultcoin", "type": "int", "description": null}, {"name": "time", "type": "timestamp", "description": null}, {"name": "reqtime", "type": "timestamp", "description": null}, {"name": "typeno", "type": "smallint", "description": null}, {"name": "serialno", "type": "smallint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`log_user_guild_coin` ( `idx` bigint COMMENT 'None', `uid` bigint COMMENT 'None', `level` tinyint COMMENT 'None', `reason` int COMMENT 'None', `coin` int COMMENT 'None', `resultcoin` int COMMENT 'None', `time` timestamp COMMENT 'None', `reqtime` timestamp COMMENT 'None', `typeno` smallint COMMENT 'None', `serialno` smallint COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "log_user_dimension_crystal", "description": null, "columns": [{"name": "idx", "type": "bigint", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "level", "type": "tinyint", "description": null}, {"name": "reason", "type": "int", "description": null}, {"name": "itemserialno", "type": "smallint", "description": null}, {"name": "count", "type": "int", "description": null}, {"name": "resultcount", "type": "int", "description": null}, {"name": "typeno", "type": "smallint", "description": null}, {"name": "serialno", "type": "smallint", "description": null}, {"name": "wprserialno", "type": "smallint", "description": null}, {"name": "time", "type": "timestamp", "description": null}, {"name": "reqtime", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`log_user_dimension_crystal` ( `idx` bigint COMMENT 'None', `uid` bigint COMMENT 'None', `level` tinyint COMMENT 'None', `reason` int COMMENT 'None', `itemserialno` smallint COMMENT 'None', `count` int COMMENT 'None', `resultcount` int COMMENT 'None', `typeno` smallint COMMENT 'None', `serialno` smallint COMMENT 'None', `wprserialno` smallint COMMENT 'None', `time` timestamp COMMENT 'None', `reqtime` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "log_user_dimension_mana", "description": null, "columns": [{"name": "idx", "type": "bigint", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "level", "type": "tinyint", "description": null}, {"name": "reason", "type": "int", "description": null}, {"name": "count", "type": "bigint", "description": null}, {"name": "resultcount", "type": "bigint", "description": null}, {"name": "time", "type": "timestamp", "description": null}, {"name": "reqtime", "type": "timestamp", "description": null}, {"name": "typeno", "type": "smallint", "description": null}, {"name": "serialno", "type": "smallint", "description": null}, {"name": "instno", "type": "smallint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`log_user_dimension_mana` ( `idx` bigint COMMENT 'None', `uid` bigint COMMENT 'None', `level` tinyint COMMENT 'None', `reason` int COMMENT 'None', `count` bigint COMMENT 'None', `resultcount` bigint COMMENT 'None', `time` timestamp COMMENT 'None', `reqtime` timestamp COMMENT 'None', `typeno` smallint COMMENT 'None', `serialno` smallint COMMENT 'None', `instno` smallint COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "user_dimension_breakthrough", "description": null, "columns": [{"name": "uid", "type": "bigint", "description": null}, {"name": "wpr_sno", "type": "smallint", "description": null}, {"name": "step", "type": "tinyint", "description": null}, {"name": "exp", "type": "smallint", "description": null}, {"name": "reg_time", "type": "timestamp", "description": null}, {"name": "update_time", "type": "timestamp", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`user_dimension_breakthrough` ( `uid` bigint COMMENT 'None', `wpr_sno` smallint COMMENT 'None', `step` tinyint COMMENT 'None', `exp` smallint COMMENT 'None', `reg_time` timestamp COMMENT 'None', `update_time` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "log_guild_solidarity_token", "description": null, "columns": [{"name": "idx", "type": "bigint", "description": null}, {"name": "guild_id", "type": "bigint", "description": null}, {"name": "guild_level", "type": "tinyint", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "level", "type": "tinyint", "description": null}, {"name": "reason", "type": "int", "description": null}, {"name": "count", "type": "int", "description": null}, {"name": "resultcount", "type": "int", "description": null}, {"name": "time", "type": "timestamp", "description": null}, {"name": "reqtime", "type": "timestamp", "description": null}, {"name": "typeno", "type": "smallint", "description": null}, {"name": "serialno", "type": "smallint", "description": null}, {"name": "success", "type": "tinyint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`log_guild_solidarity_token` ( `idx` bigint COMMENT 'None', `guild_id` bigint COMMENT 'None', `guild_level` tinyint COMMENT 'None', `uid` bigint COMMENT 'None', `level` tinyint COMMENT 'None', `reason` int COMMENT 'None', `count` int COMMENT 'None', `resultcount` int COMMENT 'None', `time` timestamp COMMENT 'None', `reqtime` timestamp COMMENT 'None', `typeno` smallint COMMENT 'None', `serialno` smallint COMMENT 'None', `success` tinyint COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "log_user_dimension_breakthrough", "description": null, "columns": [{"name": "idx", "type": "bigint", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "level", "type": "tinyint", "description": null}, {"name": "reason", "type": "int", "description": null}, {"name": "wpr_sno", "type": "smallint", "description": null}, {"name": "exp", "type": "smallint", "description": null}, {"name": "before_step", "type": "tinyint", "description": null}, {"name": "before_exp", "type": "smallint", "description": null}, {"name": "after_step", "type": "tinyint", "description": null}, {"name": "after_exp", "type": "smallint", "description": null}, {"name": "crystal_sno", "type": "smallint", "description": null}, {"name": "crystal_cnt", "type": "smallint", "description": null}, {"name": "ingredient_wpr_cnt", "type": "tinyint", "description": null}, {"name": "time", "type": "timestamp", "description": null}, {"name": "reqtime", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`log_user_dimension_breakthrough` ( `idx` bigint COMMENT 'None', `uid` bigint COMMENT 'None', `level` tinyint COMMENT 'None', `reason` int COMMENT 'None', `wpr_sno` smallint COMMENT 'None', `exp` smallint COMMENT 'None', `before_step` tinyint COMMENT 'None', `before_exp` smallint COMMENT 'None', `after_step` tinyint COMMENT 'None', `after_exp` smallint COMMENT 'None', `crystal_sno` smallint COMMENT 'None', `crystal_cnt` smallint COMMENT 'None', `ingredient_wpr_cnt` tinyint COMMENT 'None', `time` timestamp COMMENT 'None', `reqtime` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "log_user_wpr_persona_exchange_ticket", "description": null, "columns": [{"name": "idx", "type": "bigint", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "level", "type": "tinyint", "description": null}, {"name": "reason", "type": "int", "description": null}, {"name": "count", "type": "int", "description": null}, {"name": "boughtcount", "type": "int", "description": null}, {"name": "resultcount", "type": "int", "description": null}, {"name": "resultboughtcount", "type": "int", "description": null}, {"name": "time", "type": "timestamp", "description": null}, {"name": "reqtime", "type": "timestamp", "description": null}, {"name": "typeno", "type": "smallint", "description": null}, {"name": "serialno", "type": "smallint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`log_user_wpr_persona_exchange_ticket` ( `idx` bigint COMMENT 'None', `uid` bigint COMMENT 'None', `level` tinyint COMMENT 'None', `reason` int COMMENT 'None', `count` int COMMENT 'None', `boughtcount` int COMMENT 'None', `resultcount` int COMMENT 'None', `resultboughtcount` int COMMENT 'None', `time` timestamp COMMENT 'None', `reqtime` timestamp COMMENT 'None', `typeno` smallint COMMENT 'None', `serialno` smallint COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "log_user_growth_dungeon_auto_clear", "description": null, "columns": [{"name": "idx", "type": "bigint", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "level", "type": "tinyint", "description": null}, {"name": "dungeon_sno", "type": "int", "description": null}, {"name": "stage_sno", "type": "int", "description": null}, {"name": "stage_lv", "type": "smallint", "description": null}, {"name": "paid_type", "type": "tinyint", "description": null}, {"name": "paid_cnt", "type": "smallint", "description": null}, {"name": "time", "type": "timestamp", "description": null}, {"name": "reqtime", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`log_user_growth_dungeon_auto_clear` ( `idx` bigint COMMENT 'None', `uid` bigint COMMENT 'None', `level` tinyint COMMENT 'None', `dungeon_sno` int COMMENT 'None', `stage_sno` int COMMENT 'None', `stage_lv` smallint COMMENT 'None', `paid_type` tinyint COMMENT 'None', `paid_cnt` smallint COMMENT 'None', `time` timestamp COMMENT 'None', `reqtime` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "wpr_odyssey_db", "table": "log_user_growth_dungeon_replay", "description": null, "columns": [{"name": "idx", "type": "bigint", "description": null}, {"name": "uid", "type": "bigint", "description": null}, {"name": "level", "type": "tinyint", "description": null}, {"name": "dungeon_sno", "type": "int", "description": null}, {"name": "stage_sno", "type": "int", "description": null}, {"name": "stage_lv", "type": "smallint", "description": null}, {"name": "create_time", "type": "timestamp", "description": null}, {"name": "result_time", "type": "timestamp", "description": null}, {"name": "battle_state", "type": "tinyint", "description": null}, {"name": "price_type", "type": "tinyint", "description": null}, {"name": "price_count", "type": "smallint", "description": null}, {"name": "data", "type": "string", "description": null}, {"name": "valid_start", "type": "tinyint", "description": null}, {"name": "valid_result", "type": "tinyint", "description": null}, {"name": "valid_data_server", "type": "string", "description": null}, {"name": "valid_data_start", "type": "string", "description": null}, {"name": "valid_data_result", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `wpr_odyssey_db`.`log_user_growth_dungeon_replay` ( `idx` bigint COMMENT 'None', `uid` bigint COMMENT 'None', `level` tinyint COMMENT 'None', `dungeon_sno` int COMMENT 'None', `stage_sno` int COMMENT 'None', `stage_lv` smallint COMMENT 'None', `create_time` timestamp COMMENT 'None', `result_time` timestamp COMMENT 'None', `battle_state` tinyint COMMENT 'None', `price_type` tinyint COMMENT 'None', `price_count` smallint COMMENT 'None', `data` string COMMENT 'None', `valid_start` tinyint COMMENT 'None', `valid_result` tinyint COMMENT 'None', `valid_data_server` string COMMENT 'None', `valid_data_start` string COMMENT 'None', `valid_data_result` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dc_dd_character_mtr", "description": null, "columns": [{"name": "char_id", "type": "string", "description": ""}, {"name": "char_name", "type": "string", "description": ""}, {"name": "gender", "type": "string", "description": "0:사용불가/1:남자/2:여자"}, {"name": "playable_type", "type": "string", "description": ""}, {"name": "char_name_ko", "type": "string", "description": ""}, {"name": "char_name_en", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`dc_dd_character_mtr` ( `char_id` string COMMENT '', `char_name` string COMMENT '', `gender` string COMMENT '0:사용불가/1:남자/2:여자', `playable_type` string COMMENT '', `char_name_ko` string COMMENT '', `char_name_en` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dc_dd_item_mtr", "description": null, "columns": [{"name": "item_id", "type": "bigint", "description": ""}, {"name": "item_name", "type": "string", "description": ""}, {"name": "item_kind", "type": "string", "description": ""}, {"name": "item_slot", "type": "string", "description": ""}, {"name": "item_category", "type": "string", "description": ""}, {"name": "item_lv", "type": "string", "description": "0일 경우 레벨 없음"}, {"name": "item_grade", "type": "string", "description": ""}, {"name": "enchant_able", "type": "string", "description": "1이면 가능"}, {"name": "upgrade_able", "type": "string", "description": "1이면 가능"}, {"name": "possible_present", "type": "string", "description": ""}, {"name": "exchange_trade_able", "type": "string", "description": "1이면 가능"}, {"name": "trade_able", "type": "string", "description": "1이면 가능"}, {"name": "blackmarket_type", "type": "string", "description": "0 : 일반 / 527 : 장물(527은 장물용 교환 아이템ID이기도 함)"}, {"name": "price", "type": "bigint", "description": "상인에게 구입할 때 비용해야하는 비용"}, {"name": "refund", "type": "bigint", "description": "상인에게 되팔 때 돌려받는 비용"}, {"name": "possible_lost", "type": "string", "description": "0 : 분실 불가 / 1 : 분실 가능"}, {"name": "decompose_type", "type": "string", "description": "1이면 가능"}, {"name": "worth", "type": "string", "description": "clear area에서 몬스터 스폰을 위해 아이템 가치 정의하기 위한 값"}, {"name": "item_ko_name", "type": "string", "description": null}]}
CREATE TABLE `darkest_days_dw`.`dc_dd_item_mtr` ( `item_id` bigint COMMENT '', `item_name` string COMMENT '', `item_kind` string COMMENT '', `item_slot` string COMMENT '', `item_category` string COMMENT '', `item_lv` string COMMENT '0일 경우 레벨 없음', `item_grade` string COMMENT '', `enchant_able` string COMMENT '1이면 가능', `upgrade_able` string COMMENT '1이면 가능', `possible_present` string COMMENT '', `exchange_trade_able` string COMMENT '1이면 가능', `trade_able` string COMMENT '1이면 가능', `blackmarket_type` string COMMENT '0 : 일반 / 527 : 장물(527은 장물용 교환 아이템ID이기도 함)', `price` bigint COMMENT '상인에게 구입할 때 비용해야하는 비용', `refund` bigint COMMENT '상인에게 되팔 때 돌려받는 비용', `possible_lost` string COMMENT '0 : 분실 불가 / 1 : 분실 가능', `decompose_type` string COMMENT '1이면 가능', `worth` string COMMENT 'clear area에서 몬스터 스폰을 위해 아이템 가치 정의하기 위한 값', `item_ko_name` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dc_dd_tas_mtr", "description": null, "columns": [{"name": "tas_id", "type": "bigint", "description": ""}, {"name": "tas_type", "type": "string", "description": ""}, {"name": "tas_grp_id", "type": "bigint", "description": ""}, {"name": "tas_grp_name", "type": "string", "description": ""}, {"name": "tas_name", "type": "string", "description": ""}, {"name": "map_name", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`dc_dd_tas_mtr` ( `tas_id` bigint COMMENT '', `tas_type` string COMMENT '', `tas_grp_id` bigint COMMENT '', `tas_grp_name` string COMMENT '', `tas_name` string COMMENT '', `map_name` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dc_dd_vehicle_mtr", "description": null, "columns": [{"name": "vehicle_id", "type": "bigint", "description": ""}, {"name": "vehicle_cd", "type": "string", "description": ""}, {"name": "vehicle_ko_nm", "type": "string", "description": ""}, {"name": "vehicle_en_nm", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`dc_dd_vehicle_mtr` ( `vehicle_id` bigint COMMENT '', `vehicle_cd` string COMMENT '', `vehicle_ko_nm` string COMMENT '', `vehicle_en_nm` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dg_dd_character_d01", "description": null, "columns": [{"name": "player_idx", "type": "bigint", "description": ""}, {"name": "character_idx", "type": "bigint", "description": ""}, {"name": "battle_level", "type": "bigint", "description": ""}, {"name": "battle_exp", "type": "bigint", "description": ""}, {"name": "total_sheltic_score", "type": "bigint", "description": ""}, {"name": "char_type", "type": "bigint", "description": "0 : PC / 1 : 주민 / 2 : 생존자"}, {"name": "map_name", "type": "string", "description": ""}, {"name": "item_id", "type": "bigint", "description": ""}, {"name": "vehicle_idx", "type": "bigint", "description": ""}, {"name": "coin", "type": "bigint", "description": ""}, {"name": "blue_diamond", "type": "bigint", "description": ""}, {"name": "lucky_coupon", "type": "bigint", "description": ""}, {"name": "deadway_ticket", "type": "bigint", "description": ""}, {"name": "deadway_ticket_given_date", "type": "string", "description": ""}, {"name": "thecastle_ticket", "type": "bigint", "description": ""}, {"name": "thecastle_ticket_given_date", "type": "string", "description": ""}, {"name": "lost_recover_free_cnt", "type": "bigint", "description": "매일 자정 갱신"}, {"name": "lost_recover_free_last_date", "type": "string", "description": ""}, {"name": "bossraid_ticket", "type": "bigint", "description": ""}, {"name": "bossraid_ticket_given_date", "type": "string", "description": ""}, {"name": "work_ymd", "type": "string", "description": ""}, {"name": "red_diamond_paid", "type": "bigint", "description": null}, {"name": "red_diamond_free", "type": "bigint", "description": null}]}
CREATE TABLE `darkest_days_dw`.`dg_dd_character_d01` ( `player_idx` bigint COMMENT '', `character_idx` bigint COMMENT '', `battle_level` bigint COMMENT '', `battle_exp` bigint COMMENT '', `total_sheltic_score` bigint COMMENT '', `char_type` bigint COMMENT '0 : PC / 1 : 주민 / 2 : 생존자', `map_name` string COMMENT '', `item_id` bigint COMMENT '', `vehicle_idx` bigint COMMENT '', `coin` bigint COMMENT '', `blue_diamond` bigint COMMENT '', `lucky_coupon` bigint COMMENT '', `deadway_ticket` bigint COMMENT '', `deadway_ticket_given_date` string COMMENT '', `thecastle_ticket` bigint COMMENT '', `thecastle_ticket_given_date` string COMMENT '', `lost_recover_free_cnt` bigint COMMENT '매일 자정 갱신', `lost_recover_free_last_date` string COMMENT '', `bossraid_ticket` bigint COMMENT '', `bossraid_ticket_given_date` string COMMENT '', `work_ymd` string COMMENT '', `red_diamond_paid` bigint COMMENT 'None', `red_diamond_free` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dg_dd_eqip_grth_d01", "description": null, "columns": [{"name": "player_idx", "type": "bigint", "description": ""}, {"name": "character_idx", "type": "bigint", "description": ""}, {"name": "grth_date", "type": "string", "description": "KST"}, {"name": "grth_type", "type": "string", "description": "제작/강화/보정"}, {"name": "item_id", "type": "bigint", "description": ""}, {"name": "item_upgrade", "type": "bigint", "description": ""}, {"name": "is_success", "type": "bigint", "description": ""}, {"name": "work_ymd", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`dg_dd_eqip_grth_d01` ( `player_idx` bigint COMMENT '', `character_idx` bigint COMMENT '', `grth_date` string COMMENT 'KST', `grth_type` string COMMENT '제작/강화/보정', `item_id` bigint COMMENT '', `item_upgrade` bigint COMMENT '', `is_success` bigint COMMENT '', `work_ymd` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dg_dd_eqip_hld_d01", "description": null, "columns": [{"name": "player_idx", "type": "bigint", "description": ""}, {"name": "target_slot", "type": "bigint", "description": "20001 : 원거리 무기 1 / 20002 : 원거리 무기2 / 20003 : 근접 무기 / 20004 : 가방2 / 20005 : 가방1 / 20006 : 상의 / 20007 : 모자 / 20008 : 하의 / 20009 : 스킨"}, {"name": "item_id", "type": "bigint", "description": ""}, {"name": "item_upgrade", "type": "bigint", "description": ""}, {"name": "quantity", "type": "bigint", "description": ""}, {"name": "upgrade_failure", "type": "bigint", "description": ""}, {"name": "reg_date", "type": "string", "description": ""}, {"name": "expiry_date", "type": "string", "description": "2100-01-01 이면 무제한"}, {"name": "lost_state", "type": "bigint", "description": "0 : 분실X / 1 : 사망 시 분실 ..."}, {"name": "work_ymd", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`dg_dd_eqip_hld_d01` ( `player_idx` bigint COMMENT '', `target_slot` bigint COMMENT '20001 : 원거리 무기 1 / 20002 : 원거리 무기2 / 20003 : 근접 무기 / 20004 : 가방2 / 20005 : 가방1 / 20006 : 상의 / 20007 : 모자 / 20008 : 하의 / 20009 : 스킨', `item_id` bigint COMMENT '', `item_upgrade` bigint COMMENT '', `quantity` bigint COMMENT '', `upgrade_failure` bigint COMMENT '', `reg_date` string COMMENT '', `expiry_date` string COMMENT '2100-01-01 이면 무제한', `lost_state` bigint COMMENT '0 : 분실X / 1 : 사망 시 분실 ...', `work_ymd` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dg_dd_facility_hld_d01", "description": null, "columns": [{"name": "map_name", "type": "string", "description": ""}, {"name": "player_idx", "type": "bigint", "description": ""}, {"name": "character_idx", "type": "bigint", "description": ""}, {"name": "shelter_level", "type": "bigint", "description": ""}, {"name": "facility_id", "type": "bigint", "description": ""}, {"name": "battle_level", "type": "bigint", "description": ""}, {"name": "total_sheltic_score", "type": "bigint", "description": ""}, {"name": "sheltic_per", "type": "double", "description": ""}, {"name": "work_ymd", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`dg_dd_facility_hld_d01` ( `map_name` string COMMENT '', `player_idx` bigint COMMENT '', `character_idx` bigint COMMENT '', `shelter_level` bigint COMMENT '', `facility_id` bigint COMMENT '', `battle_level` bigint COMMENT '', `total_sheltic_score` bigint COMMENT '', `sheltic_per` double COMMENT '', `work_ymd` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dg_dd_gamemode_d01", "description": null, "columns": [{"name": "log_type", "type": "string", "description": "enter/exit"}, {"name": "log_date", "type": "string", "description": ""}, {"name": "player_idx", "type": "bigint", "description": ""}, {"name": "character_idx", "type": "bigint", "description": ""}, {"name": "nat_cd", "type": "string", "description": ""}, {"name": "gamemode_name", "type": "string", "description": ""}, {"name": "map_name", "type": "string", "description": ""}, {"name": "play_time_sec", "type": "bigint", "description": ""}, {"name": "work_ymd", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`dg_dd_gamemode_d01` ( `log_type` string COMMENT 'enter/exit', `log_date` string COMMENT '', `player_idx` bigint COMMENT '', `character_idx` bigint COMMENT '', `nat_cd` string COMMENT '', `gamemode_name` string COMMENT '', `map_name` string COMMENT '', `play_time_sec` bigint COMMENT '', `work_ymd` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dg_dd_mony_chg_d01", "description": null, "columns": [{"name": "nat_cd", "type": "string", "description": ""}, {"name": "mony_type", "type": "string", "description": ""}, {"name": "battle_level", "type": "bigint", "description": ""}, {"name": "total_sheltic_score", "type": "bigint", "description": ""}, {"name": "sheltic_per", "type": "double", "description": ""}, {"name": "reason", "type": "string", "description": ""}, {"name": "log_type", "type": "string", "description": "획득/사용"}, {"name": "mony_amt", "type": "bigint", "description": ""}, {"name": "work_ymd", "type": "string", "description": ""}, {"name": "is_paid", "type": "bigint", "description": null}]}
CREATE TABLE `darkest_days_dw`.`dg_dd_mony_chg_d01` ( `nat_cd` string COMMENT '', `mony_type` string COMMENT '', `battle_level` bigint COMMENT '', `total_sheltic_score` bigint COMMENT '', `sheltic_per` double COMMENT '', `reason` string COMMENT '', `log_type` string COMMENT '획득/사용', `mony_amt` bigint COMMENT '', `work_ymd` string COMMENT '', `is_paid` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dg_dd_shelter_lv_achv_d01", "description": null, "columns": [{"name": "map_name", "type": "string", "description": ""}, {"name": "player_idx", "type": "bigint", "description": ""}, {"name": "character_idx", "type": "bigint", "description": ""}, {"name": "shelter_idx", "type": "bigint", "description": ""}, {"name": "shelter_level", "type": "bigint", "description": ""}, {"name": "battle_level", "type": "bigint", "description": ""}, {"name": "total_sheltic_score", "type": "bigint", "description": ""}, {"name": "sheltic_per", "type": "double", "description": ""}, {"name": "work_ymd", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`dg_dd_shelter_lv_achv_d01` ( `map_name` string COMMENT '', `player_idx` bigint COMMENT '', `character_idx` bigint COMMENT '', `shelter_idx` bigint COMMENT '', `shelter_level` bigint COMMENT '', `battle_level` bigint COMMENT '', `total_sheltic_score` bigint COMMENT '', `sheltic_per` double COMMENT '', `work_ymd` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dg_dd_tas_use_d01", "description": null, "columns": [{"name": "player_idx", "type": "bigint", "description": ""}, {"name": "character_idx", "type": "bigint", "description": ""}, {"name": "battle_level", "type": "bigint", "description": ""}, {"name": "total_sheltic_score", "type": "bigint", "description": ""}, {"name": "sheltic_per", "type": "double", "description": ""}, {"name": "map_name", "type": "string", "description": ""}, {"name": "stage", "type": "bigint", "description": ""}, {"name": "wave", "type": "bigint", "description": ""}, {"name": "tas_id", "type": "bigint", "description": ""}, {"name": "user_date", "type": "string", "description": ""}, {"name": "work_ymd", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`dg_dd_tas_use_d01` ( `player_idx` bigint COMMENT '', `character_idx` bigint COMMENT '', `battle_level` bigint COMMENT '', `total_sheltic_score` bigint COMMENT '', `sheltic_per` double COMMENT '', `map_name` string COMMENT '', `stage` bigint COMMENT '', `wave` bigint COMMENT '', `tas_id` bigint COMMENT '', `user_date` string COMMENT '', `work_ymd` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dg_dd_the_castle_d01", "description": null, "columns": [{"name": "player_idx", "type": "bigint", "description": ""}, {"name": "character_idx", "type": "bigint", "description": ""}, {"name": "battle_level", "type": "bigint", "description": ""}, {"name": "total_sheltic_score", "type": "bigint", "description": ""}, {"name": "sheltic_per", "type": "double", "description": ""}, {"name": "map_name", "type": "string", "description": ""}, {"name": "stage", "type": "bigint", "description": ""}, {"name": "wave", "type": "bigint", "description": ""}, {"name": "log_type", "type": "string", "description": "start/end"}, {"name": "the_castle_state", "type": "string", "description": "enter/start/success/fail"}, {"name": "log_date", "type": "string", "description": "KST"}, {"name": "work_ymd", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`dg_dd_the_castle_d01` ( `player_idx` bigint COMMENT '', `character_idx` bigint COMMENT '', `battle_level` bigint COMMENT '', `total_sheltic_score` bigint COMMENT '', `sheltic_per` double COMMENT '', `map_name` string COMMENT '', `stage` bigint COMMENT '', `wave` bigint COMMENT '', `log_type` string COMMENT 'start/end', `the_castle_state` string COMMENT 'enter/start/success/fail', `log_date` string COMMENT 'KST', `work_ymd` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dg_dd_user_d01", "description": null, "columns": [{"name": "player_idx", "type": "bigint", "description": ""}, {"name": "site_user_id", "type": "string", "description": "Gamebase 인증 시 userid로도 사용됨"}, {"name": "player_name", "type": "string", "description": ""}, {"name": "min_battle_level", "type": "bigint", "description": "기준일자 로그인 정보 중 min 레벨"}, {"name": "battle_level", "type": "bigint", "description": ""}, {"name": "total_sheltic_score", "type": "double", "description": ""}, {"name": "min_total_sheltic_score", "type": "double", "description": "기준일자 로그인 정보 중 min 쉘틱 점수"}, {"name": "sheltic_per", "type": "double", "description": "쉘틱 비율"}, {"name": "play_time_sec", "type": "bigint", "description": "단위 : 초"}, {"name": "paid_count", "type": "bigint", "description": ""}, {"name": "init_paid_date", "type": "string", "description": "KST"}, {"name": "profile_id", "type": "bigint", "description": ""}, {"name": "delete_friend_count", "type": "bigint", "description": "친구 삭제 카운트"}, {"name": "state", "type": "bigint", "description": null}, {"name": "reg_date", "type": "string", "description": "생성일"}, {"name": "today_login_cnt", "type": "bigint", "description": "기준일자 로그인 횟수"}, {"name": "today_play_time_sec", "type": "bigint", "description": "기준일자 플레이 누적 시간"}, {"name": "work_ymd", "type": "string", "description": "기준일자"}, {"name": "lst_login_date", "type": "string", "description": null}, {"name": "lst_logout_date", "type": "string", "description": null}, {"name": "lst_nat_cd", "type": "string", "description": null}, {"name": "lst_idp", "type": "string", "description": null}, {"name": "lst_os", "type": "string", "description": null}, {"name": "lst_device_id", "type": "string", "description": null}, {"name": "lst_paid_date", "type": "string", "description": null}, {"name": "lst_itemmarket_used_date", "type": "string", "description": null}, {"name": "lst_delete_friend_date", "type": "string", "description": null}]}
CREATE TABLE `darkest_days_dw`.`dg_dd_user_d01` ( `player_idx` bigint COMMENT '', `site_user_id` string COMMENT 'Gamebase 인증 시 userid로도 사용됨', `player_name` string COMMENT '', `min_battle_level` bigint COMMENT '기준일자 로그인 정보 중 min 레벨', `battle_level` bigint COMMENT '', `total_sheltic_score` double COMMENT '', `min_total_sheltic_score` double COMMENT '기준일자 로그인 정보 중 min 쉘틱 점수', `sheltic_per` double COMMENT '쉘틱 비율', `play_time_sec` bigint COMMENT '단위 : 초', `paid_count` bigint COMMENT '', `init_paid_date` string COMMENT 'KST', `profile_id` bigint COMMENT '', `delete_friend_count` bigint COMMENT '친구 삭제 카운트', `state` bigint COMMENT 'None', `reg_date` string COMMENT '생성일', `today_login_cnt` bigint COMMENT '기준일자 로그인 횟수', `today_play_time_sec` bigint COMMENT '기준일자 플레이 누적 시간', `work_ymd` string COMMENT '기준일자', `lst_login_date` string COMMENT 'None', `lst_logout_date` string COMMENT 'None', `lst_nat_cd` string COMMENT 'None', `lst_idp` string COMMENT 'None', `lst_os` string COMMENT 'None', `lst_device_id` string COMMENT 'None', `lst_paid_date` string COMMENT 'None', `lst_itemmarket_used_date` string COMMENT 'None', `lst_delete_friend_date` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dg_dd_vehicle_hld_d01", "description": null, "columns": [{"name": "player_idx", "type": "bigint", "description": null}, {"name": "character_idx", "type": "bigint", "description": null}, {"name": "battle_level", "type": "bigint", "description": null}, {"name": "vehicle_idx", "type": "bigint", "description": null}, {"name": "vehicle_id", "type": "bigint", "description": null}, {"name": "total_sheltic_score", "type": "bigint", "description": null}, {"name": "sheltic_per", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `darkest_days_dw`.`dg_dd_vehicle_hld_d01` ( `player_idx` bigint COMMENT 'None', `character_idx` bigint COMMENT 'None', `battle_level` bigint COMMENT 'None', `vehicle_idx` bigint COMMENT 'None', `vehicle_id` bigint COMMENT 'None', `total_sheltic_score` bigint COMMENT 'None', `sheltic_per` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dg_dd_vehicle_use_d01", "description": null, "columns": [{"name": "player_idx", "type": "bigint", "description": ""}, {"name": "character_idx", "type": "bigint", "description": ""}, {"name": "battle_level", "type": "bigint", "description": ""}, {"name": "total_sheltic_score", "type": "bigint", "description": ""}, {"name": "sheltic_per", "type": "double", "description": ""}, {"name": "vehicle_idx", "type": "bigint", "description": ""}, {"name": "vehicle_id", "type": "bigint", "description": ""}, {"name": "work_ymd", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`dg_dd_vehicle_use_d01` ( `player_idx` bigint COMMENT '', `character_idx` bigint COMMENT '', `battle_level` bigint COMMENT '', `total_sheltic_score` bigint COMMENT '', `sheltic_per` double COMMENT '', `vehicle_idx` bigint COMMENT '', `vehicle_id` bigint COMMENT '', `work_ymd` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_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 `darkest_days_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": "darkest_days_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 `darkest_days_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": "darkest_days_dw", "table": "sg_dd_eqip_grth_sd01", "description": null, "columns": [{"name": "grth_type", "type": "string", "description": ""}, {"name": "item_slot", "type": "string", "description": "제작/강화/보정"}, {"name": "eqip_grade_lv", "type": "string", "description": ""}, {"name": "try_cnt", "type": "bigint", "description": ""}, {"name": "success_cnt", "type": "bigint", "description": ""}, {"name": "work_ymd", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_eqip_grth_sd01` ( `grth_type` string COMMENT '', `item_slot` string COMMENT '제작/강화/보정', `eqip_grade_lv` string COMMENT '', `try_cnt` bigint COMMENT '', `success_cnt` bigint COMMENT '', `work_ymd` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "sg_dd_eqip_hld_sd01", "description": null, "columns": [{"name": "item_slot", "type": "string", "description": ""}, {"name": "eqip_grade_lv", "type": "string", "description": ""}, {"name": "eqip_hld_cnt", "type": "bigint", "description": ""}, {"name": "player_cnt", "type": "bigint", "description": ""}, {"name": "work_ymd", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_eqip_hld_sd01` ( `item_slot` string COMMENT '', `eqip_grade_lv` string COMMENT '', `eqip_hld_cnt` bigint COMMENT '', `player_cnt` bigint COMMENT '', `work_ymd` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "sg_dd_facility_hld_sd01", "description": null, "columns": [{"name": "map_name", "type": "string", "description": ""}, {"name": "shelter_level", "type": "bigint", "description": ""}, {"name": "facility_id", "type": "bigint", "description": ""}, {"name": "battle_level", "type": "bigint", "description": ""}, {"name": "per_sheltic_grp", "type": "double", "description": ""}, {"name": "user_cnt", "type": "bigint", "description": ""}, {"name": "work_ymd", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_facility_hld_sd01` ( `map_name` string COMMENT '', `shelter_level` bigint COMMENT '', `facility_id` bigint COMMENT '', `battle_level` bigint COMMENT '', `per_sheltic_grp` double COMMENT '', `user_cnt` bigint COMMENT '', `work_ymd` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "sg_dd_gamemode_sd01", "description": null, "columns": [{"name": "country_code", "type": "string", "description": ""}, {"name": "map_name", "type": "string", "description": ""}, {"name": "gamemode_name", "type": "string", "description": ""}, {"name": "ucnt", "type": "bigint", "description": ""}, {"name": "play_cnt", "type": "bigint", "description": "콘텐츠 진입 시"}, {"name": "avg_play_time", "type": "double", "description": "단위 : 초"}, {"name": "work_ymd", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_gamemode_sd01` ( `country_code` string COMMENT '', `map_name` string COMMENT '', `gamemode_name` string COMMENT '', `ucnt` bigint COMMENT '', `play_cnt` bigint COMMENT '콘텐츠 진입 시', `avg_play_time` double COMMENT '단위 : 초', `work_ymd` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "sg_dd_mony_chg_sd01", "description": null, "columns": [{"name": "nat_cd", "type": "string", "description": ""}, {"name": "mony_type", "type": "string", "description": ""}, {"name": "battle_level", "type": "bigint", "description": ""}, {"name": "per_sheltic_grp", "type": "double", "description": ""}, {"name": "reason", "type": "string", "description": ""}, {"name": "log_type", "type": "string", "description": "획득/사용"}, {"name": "mony_amt", "type": "bigint", "description": ""}, {"name": "work_ymd", "type": "string", "description": ""}, {"name": "is_paid", "type": "bigint", "description": null}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_mony_chg_sd01` ( `nat_cd` string COMMENT '', `mony_type` string COMMENT '', `battle_level` bigint COMMENT '', `per_sheltic_grp` double COMMENT '', `reason` string COMMENT '', `log_type` string COMMENT '획득/사용', `mony_amt` bigint COMMENT '', `work_ymd` string COMMENT '', `is_paid` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "sg_dd_mony_hld_sd01", "description": null, "columns": [{"name": "nat_cd", "type": "string", "description": ""}, {"name": "user_division", "type": "string", "description": "WAU/ALL"}, {"name": "mony_type", "type": "string", "description": ""}, {"name": "battle_level", "type": "bigint", "description": ""}, {"name": "per_sheltic_grp", "type": "double", "description": ""}, {"name": "mony_amt", "type": "bigint", "description": ""}, {"name": "work_ymd", "type": "string", "description": ""}, {"name": "is_paid", "type": "bigint", "description": null}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_mony_hld_sd01` ( `nat_cd` string COMMENT '', `user_division` string COMMENT 'WAU/ALL', `mony_type` string COMMENT '', `battle_level` bigint COMMENT '', `per_sheltic_grp` double COMMENT '', `mony_amt` bigint COMMENT '', `work_ymd` string COMMENT '', `is_paid` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "sg_dd_resident_hld_sd01", "description": null, "columns": [{"name": "item_id", "type": "bigint", "description": ""}, {"name": "battle_level", "type": "bigint", "description": ""}, {"name": "per_sheltic_grp", "type": "double", "description": ""}, {"name": "resident_cnt", "type": "bigint", "description": ""}, {"name": "avg_resident_lev", "type": "double", "description": ""}, {"name": "work_ymd", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_resident_hld_sd01` ( `item_id` bigint COMMENT '', `battle_level` bigint COMMENT '', `per_sheltic_grp` double COMMENT '', `resident_cnt` bigint COMMENT '', `avg_resident_lev` double COMMENT '', `work_ymd` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "sg_dd_shelter_lv_achv_sd01", "description": null, "columns": [{"name": "map_name", "type": "string", "description": ""}, {"name": "shelter_level", "type": "bigint", "description": ""}, {"name": "battle_level", "type": "bigint", "description": ""}, {"name": "per_sheltic_grp", "type": "double", "description": ""}, {"name": "user_cnt", "type": "bigint", "description": ""}, {"name": "work_ymd", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_shelter_lv_achv_sd01` ( `map_name` string COMMENT '', `shelter_level` bigint COMMENT '', `battle_level` bigint COMMENT '', `per_sheltic_grp` double COMMENT '', `user_cnt` bigint COMMENT '', `work_ymd` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "sg_dd_tas_use_sd01", "description": null, "columns": [{"name": "stage", "type": "bigint", "description": null}, {"name": "wave", "type": "bigint", "description": null}, {"name": "tas_id", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "use_cnt", "type": "bigint", "description": null}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_tas_use_sd01` ( `stage` bigint COMMENT 'None', `wave` bigint COMMENT 'None', `tas_id` bigint COMMENT 'None', `work_ymd` string COMMENT 'None', `use_cnt` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "sg_dd_the_castle_sd01", "description": null, "columns": [{"name": "stage", "type": "bigint", "description": ""}, {"name": "wave", "type": "bigint", "description": ""}, {"name": "battle_level", "type": "bigint", "description": ""}, {"name": "per_sheltic_grp", "type": "double", "description": ""}, {"name": "user_cnt", "type": "bigint", "description": ""}, {"name": "battle_cnt", "type": "bigint", "description": ""}, {"name": "success_cnt", "type": "bigint", "description": ""}, {"name": "work_ymd", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_the_castle_sd01` ( `stage` bigint COMMENT '', `wave` bigint COMMENT '', `battle_level` bigint COMMENT '', `per_sheltic_grp` double COMMENT '', `user_cnt` bigint COMMENT '', `battle_cnt` bigint COMMENT '', `success_cnt` bigint COMMENT '', `work_ymd` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "sg_dd_user_lv_sd01", "description": null, "columns": [{"name": "battle_level", "type": "bigint", "description": ""}, {"name": "sheltic_per_grp", "type": "double", "description": ""}, {"name": "diff_join_dt", "type": "bigint", "description": ""}, {"name": "dau", "type": "bigint", "description": ""}, {"name": "work_ymd", "type": "string", "description": ""}, {"name": "lst_nat_cd", "type": "string", "description": null}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_user_lv_sd01` ( `battle_level` bigint COMMENT '', `sheltic_per_grp` double COMMENT '', `diff_join_dt` bigint COMMENT '', `dau` bigint COMMENT '', `work_ymd` string COMMENT '', `lst_nat_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "sg_dd_user_sd01", "description": null, "columns": [{"name": "battle_level", "type": "bigint", "description": ""}, {"name": "sheltic_per_grp", "type": "double", "description": "소수점이므로 % 변환 필요"}, {"name": "cm_ucnt", "type": "bigint", "description": ""}, {"name": "dau", "type": "bigint", "description": ""}, {"name": "new_join_cnt", "type": "bigint", "description": ""}, {"name": "secd_2w_ucnt", "type": "bigint", "description": ""}, {"name": "cmbck_1w_ucnt", "type": "bigint", "description": ""}, {"name": "cmbck_2w_ucnt", "type": "bigint", "description": ""}, {"name": "wkly_ucnt", "type": "bigint", "description": ""}, {"name": "act_ucnt", "type": "bigint", "description": ""}, {"name": "secd_1w_ucnt", "type": "bigint", "description": ""}, {"name": "cmbck_ucnt", "type": "bigint", "description": ""}, {"name": "mm_ucnt", "type": "bigint", "description": ""}, {"name": "avg_play_time", "type": "double", "description": ""}, {"name": "avg_login_cnt", "type": "double", "description": ""}, {"name": "avg_sheltic", "type": "double", "description": ""}, {"name": "work_ymd", "type": "string", "description": ""}, {"name": "lst_nat_cd", "type": "string", "description": null}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_user_sd01` ( `battle_level` bigint COMMENT '', `sheltic_per_grp` double COMMENT '소수점이므로 % 변환 필요', `cm_ucnt` bigint COMMENT '', `dau` bigint COMMENT '', `new_join_cnt` bigint COMMENT '', `secd_2w_ucnt` bigint COMMENT '', `cmbck_1w_ucnt` bigint COMMENT '', `cmbck_2w_ucnt` bigint COMMENT '', `wkly_ucnt` bigint COMMENT '', `act_ucnt` bigint COMMENT '', `secd_1w_ucnt` bigint COMMENT '', `cmbck_ucnt` bigint COMMENT '', `mm_ucnt` bigint COMMENT '', `avg_play_time` double COMMENT '', `avg_login_cnt` double COMMENT '', `avg_sheltic` double COMMENT '', `work_ymd` string COMMENT '', `lst_nat_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "sg_dd_vehicle_hld_sd01", "description": null, "columns": [{"name": "vehicle_id", "type": "bigint", "description": ""}, {"name": "battle_level", "type": "bigint", "description": ""}, {"name": "per_sheltic_grp", "type": "double", "description": "소수점이므로 % 변환 필요"}, {"name": "hld_cnt", "type": "bigint", "description": ""}, {"name": "work_ymd", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_vehicle_hld_sd01` ( `vehicle_id` bigint COMMENT '', `battle_level` bigint COMMENT '', `per_sheltic_grp` double COMMENT '소수점이므로 % 변환 필요', `hld_cnt` bigint COMMENT '', `work_ymd` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "sg_dd_vehicle_use_sd01", "description": null, "columns": [{"name": "vehicle_id", "type": "bigint", "description": ""}, {"name": "battle_level", "type": "bigint", "description": ""}, {"name": "per_sheltic_grp", "type": "double", "description": "소수점이므로 % 변환 필요함"}, {"name": "use_cnt", "type": "bigint", "description": ""}, {"name": "work_ymd", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_vehicle_use_sd01` ( `vehicle_id` bigint COMMENT '', `battle_level` bigint COMMENT '', `per_sheltic_grp` double COMMENT '소수점이므로 % 변환 필요함', `use_cnt` bigint COMMENT '', `work_ymd` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dg_dd_mony_hld_d01", "description": null, "columns": [{"name": "nat_cd", "type": "string", "description": null}, {"name": "login_date", "type": "string", "description": null}, {"name": "daydiff", "type": "bigint", "description": null}, {"name": "mony_type", "type": "string", "description": null}, {"name": "battle_level", "type": "bigint", "description": null}, {"name": "total_sheltic_score", "type": "bigint", "description": null}, {"name": "sheltic_per", "type": "double", "description": null}, {"name": "mony_amt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `darkest_days_dw`.`dg_dd_mony_hld_d01` ( `nat_cd` string COMMENT 'None', `login_date` string COMMENT 'None', `daydiff` bigint COMMENT 'None', `mony_type` string COMMENT 'None', `battle_level` bigint COMMENT 'None', `total_sheltic_score` bigint COMMENT 'None', `sheltic_per` double COMMENT 'None', `mony_amt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dg_dd_bossraid_d01", "description": null, "columns": [{"name": "player_idx", "type": "bigint", "description": null}, {"name": "character_idx", "type": "bigint", "description": null}, {"name": "battle_level", "type": "bigint", "description": null}, {"name": "total_sheltic_score", "type": "bigint", "description": null}, {"name": "sheltic_per", "type": "double", "description": null}, {"name": "strt_dt", "type": "string", "description": null}, {"name": "end_dt", "type": "string", "description": null}, {"name": "map_name", "type": "string", "description": null}, {"name": "is_success", "type": "bigint", "description": null}, {"name": "play_time_sec", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `darkest_days_dw`.`dg_dd_bossraid_d01` ( `player_idx` bigint COMMENT 'None', `character_idx` bigint COMMENT 'None', `battle_level` bigint COMMENT 'None', `total_sheltic_score` bigint COMMENT 'None', `sheltic_per` double COMMENT 'None', `strt_dt` string COMMENT 'None', `end_dt` string COMMENT 'None', `map_name` string COMMENT 'None', `is_success` bigint COMMENT 'None', `play_time_sec` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dg_dd_device_d01", "description": null, "columns": [{"name": "device_id", "type": "string", "description": null}, {"name": "player_idx", "type": "bigint", "description": null}, {"name": "lst_nat_cd", "type": "string", "description": null}, {"name": "lst_used_date", "type": "string", "description": null}, {"name": "reg_date", "type": "string", "description": null}, {"name": "new_device_yn", "type": "bigint", "description": "1 : 신규 디바이스, 0 : 기타"}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `darkest_days_dw`.`dg_dd_device_d01` ( `device_id` string COMMENT 'None', `player_idx` bigint COMMENT 'None', `lst_nat_cd` string COMMENT 'None', `lst_used_date` string COMMENT 'None', `reg_date` string COMMENT 'None', `new_device_yn` bigint COMMENT '1 : 신규 디바이스, 0 : 기타', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dg_dd_mket_d01", "description": "", "columns": [{"name": "action_tp", "type": "string", "description": "register : 등록\nbuy : 구매"}, {"name": "action_dt", "type": "string", "description": null}, {"name": "player_idx", "type": "bigint", "description": null}, {"name": "character_idx", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "tran_cate", "type": "string", "description": "참고 : https://nhnent.dooray.com/project/pages/3813189552905064873"}, {"name": "item_id", "type": "bigint", "description": null}, {"name": "item_name", "type": "string", "description": ""}, {"name": "item_kind", "type": "string", "description": "참고 : https://nhnent.dooray.com/project/pages/3813189552905064873"}, {"name": "item_upgrade", "type": "bigint", "description": "거래 분류' (tran_cate) 가 아래와 같은 경우에만 유효\n- weapon\n- armor"}, {"name": "quantity", "type": "bigint", "description": null}, {"name": "price", "type": "bigint", "description": "- 재화 종류 : 밀라\n- action_tp가 buy일 경우 0"}, {"name": "cost_paid", "type": "bigint", "description": "- 재화 종류 : 레드 다이아\n- action_tp가 register일 경우 0"}, {"name": "cost_free", "type": "bigint", "description": "- 재화 종류 : 레드 다이아\n- action_tp가 register일 경우 0"}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `darkest_days_dw`.`dg_dd_mket_d01` ( `action_tp` string COMMENT 'register : 등록 buy : 구매', `action_dt` string COMMENT 'None', `player_idx` bigint COMMENT 'None', `character_idx` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `tran_cate` string COMMENT '참고 : https://nhnent.dooray.com/project/pages/3813189552905064873', `item_id` bigint COMMENT 'None', `item_name` string COMMENT '', `item_kind` string COMMENT '참고 : https://nhnent.dooray.com/project/pages/3813189552905064873', `item_upgrade` bigint COMMENT '거래 분류' (tran_cate) 가 아래와 같은 경우에만 유효 - weapon - armor', `quantity` bigint COMMENT 'None', `price` bigint COMMENT '- 재화 종류 : 밀라 - action_tp가 buy일 경우 0', `cost_paid` bigint COMMENT '- 재화 종류 : 레드 다이아 - action_tp가 register일 경우 0', `cost_free` bigint COMMENT '- 재화 종류 : 레드 다이아 - action_tp가 register일 경우 0', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dg_dd_seasonpass_d01", "description": null, "columns": [{"name": "pass_date", "type": "string", "description": null}, {"name": "player_idx", "type": "bigint", "description": null}, {"name": "character_idx", "type": "bigint", "description": null}, {"name": "seasn_id", "type": "bigint", "description": null}, {"name": "seasn_lv", "type": "bigint", "description": null}, {"name": "is_pluspass", "type": "bigint", "description": "1 : 유료, 0 : 무료"}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `darkest_days_dw`.`dg_dd_seasonpass_d01` ( `pass_date` string COMMENT 'None', `player_idx` bigint COMMENT 'None', `character_idx` bigint COMMENT 'None', `seasn_id` bigint COMMENT 'None', `seasn_lv` bigint COMMENT 'None', `is_pluspass` bigint COMMENT '1 : 유료, 0 : 무료', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "sg_dd_bossraid_sd01", "description": null, "columns": [{"name": "map_name", "type": "string", "description": null}, {"name": "battle_level", "type": "bigint", "description": null}, {"name": "sheltic_per_grp", "type": "double", "description": null}, {"name": "play_ucnt", "type": "bigint", "description": null}, {"name": "raid_cnt", "type": "bigint", "description": null}, {"name": "sccs_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "sccs_play_sec", "type": "bigint", "description": "dg_dd_bossraid_d01 테이블의 is_success이 1일 경우만 집계"}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_bossraid_sd01` ( `map_name` string COMMENT 'None', `battle_level` bigint COMMENT 'None', `sheltic_per_grp` double COMMENT 'None', `play_ucnt` bigint COMMENT 'None', `raid_cnt` bigint COMMENT 'None', `sccs_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None', `sccs_play_sec` bigint COMMENT 'dg_dd_bossraid_d01 테이블의 is_success이 1일 경우만 집계' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "sg_dd_device_sd01", "description": null, "columns": [{"name": "lst_nat_cd", "type": "string", "description": null}, {"name": "dau", "type": "bigint", "description": null}, {"name": "dad", "type": "bigint", "description": null}, {"name": "new_device_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_device_sd01` ( `lst_nat_cd` string COMMENT 'None', `dau` bigint COMMENT 'None', `dad` bigint COMMENT 'None', `new_device_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "sg_dd_mket_tran_sd01", "description": null, "columns": [{"name": "tran_cate", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "item_kind", "type": "string", "description": null}, {"name": "item_upgrade", "type": "bigint", "description": null}, {"name": "item_name", "type": "string", "description": null}, {"name": "reg_cnt", "type": "bigint", "description": "dg_dd_mket_d01 테이블의 action_tp = 'register'인 수"}, {"name": "buy_cnt", "type": "bigint", "description": "dg_dd_mket_d01 테이블의 action_tp = 'buy'인 수"}, {"name": "coin_amt", "type": "bigint", "description": null}, {"name": "free_dia_amt", "type": "bigint", "description": null}, {"name": "paid_dia_amt", "type": "bigint", "description": null}, {"name": "free_dia_ucnt", "type": "bigint", "description": null}, {"name": "paid_dia_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "item_grade", "type": "string", "description": null}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_mket_tran_sd01` ( `tran_cate` string COMMENT 'None', `nat_cd` string COMMENT 'None', `item_kind` string COMMENT 'None', `item_upgrade` bigint COMMENT 'None', `item_name` string COMMENT 'None', `reg_cnt` bigint COMMENT 'dg_dd_mket_d01 테이블의 action_tp = 'register'인 수', `buy_cnt` bigint COMMENT 'dg_dd_mket_d01 테이블의 action_tp = 'buy'인 수', `coin_amt` bigint COMMENT 'None', `free_dia_amt` bigint COMMENT 'None', `paid_dia_amt` bigint COMMENT 'None', `free_dia_ucnt` bigint COMMENT 'None', `paid_dia_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None', `item_grade` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "sg_dd_mket_user_sd01", "description": null, "columns": [{"name": "nat_cd", "type": "string", "description": null}, {"name": "mket_user_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "tran_cnt", "type": "bigint", "description": null}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_mket_user_sd01` ( `nat_cd` string COMMENT 'None', `mket_user_cnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None', `tran_cnt` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "sg_dd_seasonpass_sd01", "description": null, "columns": [{"name": "seasn_id", "type": "bigint", "description": null}, {"name": "seasn_lv", "type": "bigint", "description": null}, {"name": "is_pluspass", "type": "bigint", "description": "1 : 유료, 0 : 무료"}, {"name": "achv_ucnt", "type": "bigint", "description": "기준일자의 달성 유저. \n시즌별 누적이용자는 쿼리로 계산 필요."}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_seasonpass_sd01` ( `seasn_id` bigint COMMENT 'None', `seasn_lv` bigint COMMENT 'None', `is_pluspass` bigint COMMENT '1 : 유료, 0 : 무료', `achv_ucnt` bigint COMMENT '기준일자의 달성 유저. 시즌별 누적이용자는 쿼리로 계산 필요.', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dg_dd_prch_d01", "description": null, "columns": [{"name": "player_idx", "type": "bigint", "description": null}, {"name": "character_idx", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "battle_level", "type": "bigint", "description": null}, {"name": "total_sheltic_score", "type": "bigint", "description": null}, {"name": "sheltic_per", "type": "double", "description": null}, {"name": "purchase_date", "type": "string", "description": null}, {"name": "paid_count", "type": "bigint", "description": "1 부터 오름차순으로 증가\n1 = '최초 결제' 의미"}, {"name": "product_id", "type": "bigint", "description": null}, {"name": "product_name", "type": "string", "description": null}, {"name": "product_price", "type": "bigint", "description": "단위 : 원화"}, {"name": "from_register_days", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `darkest_days_dw`.`dg_dd_prch_d01` ( `player_idx` bigint COMMENT 'None', `character_idx` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `battle_level` bigint COMMENT 'None', `total_sheltic_score` bigint COMMENT 'None', `sheltic_per` double COMMENT 'None', `purchase_date` string COMMENT 'None', `paid_count` bigint COMMENT '1 부터 오름차순으로 증가 1 = '최초 결제' 의미', `product_id` bigint COMMENT 'None', `product_name` string COMMENT 'None', `product_price` bigint COMMENT '단위 : 원화', `from_register_days` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "sg_dd_new_pu_sd01", "description": "dg_dd_prch_d01 테이블의 paid_count 컬럼이 1인 것을 대상으로 함.", "columns": [{"name": "nat_cd", "type": "string", "description": null}, {"name": "battle_level", "type": "bigint", "description": null}, {"name": "sheltic_per_grp", "type": "double", "description": null}, {"name": "npu", "type": "bigint", "description": null}, {"name": "from_register_days", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_new_pu_sd01` ( `nat_cd` string COMMENT 'None', `battle_level` bigint COMMENT 'None', `sheltic_per_grp` double COMMENT 'None', `npu` bigint COMMENT 'None', `from_register_days` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "sg_dd_pu_sd01", "description": null, "columns": [{"name": "nat_cd", "type": "string", "description": null}, {"name": "product_id", "type": "bigint", "description": null}, {"name": "product_name", "type": "string", "description": null}, {"name": "battle_level", "type": "bigint", "description": null}, {"name": "sheltic_per_grp", "type": "double", "description": null}, {"name": "pu", "type": "bigint", "description": null}, {"name": "prch_cnt", "type": "bigint", "description": null}, {"name": "prch_amt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `darkest_days_dw`.`sg_dd_pu_sd01` ( `nat_cd` string COMMENT 'None', `product_id` bigint COMMENT 'None', `product_name` string COMMENT 'None', `battle_level` bigint COMMENT 'None', `sheltic_per_grp` double COMMENT 'None', `pu` bigint COMMENT 'None', `prch_cnt` bigint COMMENT 'None', `prch_amt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "darkest_days_dw", "table": "dc_dd_seasonpass_mtr", "description": null, "columns": [{"name": "seasn_id", "type": "bigint", "description": null}, {"name": "seasn_nm", "type": "string", "description": null}, {"name": "start_dt", "type": "string", "description": ""}, {"name": "end_dt", "type": "string", "description": ""}]}
CREATE TABLE `darkest_days_dw`.`dc_dd_seasonpass_mtr` ( `seasn_id` bigint COMMENT 'None', `seasn_nm` string COMMENT 'None', `start_dt` string COMMENT '', `end_dt` string COMMENT '' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "casino_revenue_stat", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "chip", "type": "bigint", "description": null}, {"name": "star", "type": "bigint", "description": null}, {"name": "aggregation_date", "type": "timestamp", "description": null}, {"name": "casino_type", "type": "string", "description": null}]}
CREATE TABLE `pb_city_db`.`casino_revenue_stat` ( `id` bigint COMMENT 'None', `chip` bigint COMMENT 'None', `star` bigint COMMENT 'None', `aggregation_date` timestamp COMMENT 'None', `casino_type` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "etl_type_description", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "category", "type": "string", "description": null}, {"name": "type_key", "type": "int", "description": null}, {"name": "description", "type": "string", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}]}
CREATE TABLE `pb_city_db`.`etl_type_description` ( `id` bigint COMMENT 'None', `category` string COMMENT 'None', `type_key` int COMMENT 'None', `description` string COMMENT 'None', `created_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_device_install", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "device_id", "type": "string", "description": null}, {"name": "model", "type": "string", "description": null}, {"name": "platform", "type": "string", "description": null}, {"name": "ip_address", "type": "string", "description": null}, {"name": "os_version", "type": "string", "description": null}, {"name": "app_version", "type": "string", "description": null}, {"name": "ad_flag", "type": "string", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_device_install` ( `id` bigint COMMENT 'None', `device_id` string COMMENT 'None', `model` string COMMENT 'None', `platform` string COMMENT 'None', `ip_address` string COMMENT 'None', `os_version` string COMMENT 'None', `app_version` string COMMENT 'None', `ad_flag` string COMMENT 'None', `created_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_game_economy_28days", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "pay_amount", "type": "double", "description": null}, {"name": "pay_count", "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_count", "type": "bigint", "description": null}, {"name": "aggregated_date", "type": "timestamp", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_game_economy_28days` ( `id` bigint COMMENT 'None', `pay_amount` double COMMENT 'None', `pay_count` bigint COMMENT 'None', `chip_in` bigint COMMENT 'None', `chip_out` bigint COMMENT 'None', `star_in` bigint COMMENT 'None', `star_out` bigint COMMENT 'None', `spin_count` bigint COMMENT 'None', `aggregated_date` timestamp COMMENT 'None', `created_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_payment", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "transaction_id", "type": "string", "description": null}, {"name": "stock_id", "type": "string", "description": null}, {"name": "material_code", "type": "tinyint", "description": null}, {"name": "price", "type": "double", "description": null}, {"name": "platform", "type": "string", "description": null}, {"name": "more", "type": "tinyint", "description": null}, {"name": "base_amount", "type": "bigint", "description": null}, {"name": "more_amount", "type": "bigint", "description": null}, {"name": "total_amount", "type": "bigint", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "currency", "type": "string", "description": null}, {"name": "purchase_date", "type": "timestamp", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "status", "type": "tinyint", "description": null}, {"name": "first_purchase", "type": "tinyint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_payment` ( `id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `transaction_id` string COMMENT 'None', `stock_id` string COMMENT 'None', `material_code` tinyint COMMENT 'None', `price` double COMMENT 'None', `platform` string COMMENT 'None', `more` tinyint COMMENT 'None', `base_amount` bigint COMMENT 'None', `more_amount` bigint COMMENT 'None', `total_amount` bigint COMMENT 'None', `created_date` timestamp COMMENT 'None', `currency` string COMMENT 'None', `purchase_date` timestamp COMMENT 'None', `account_id` bigint COMMENT 'None', `status` tinyint COMMENT 'None', `first_purchase` tinyint COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_scratch", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "scratch_id", "type": "string", "description": null}, {"name": "scratch_uuid", "type": "string", "description": null}, {"name": "purchase_date", "type": "timestamp", "description": null}, {"name": "price", "type": "int", "description": null}, {"name": "reward", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_scratch` ( `id` bigint COMMENT 'None', `scratch_id` string COMMENT 'None', `scratch_uuid` string COMMENT 'None', `purchase_date` timestamp COMMENT 'None', `price` int COMMENT 'None', `reward` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `created_date` timestamp COMMENT 'None', `account_id` bigint COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_show_down_game", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "seq_id", "type": "string", "description": null}, {"name": "first_bet", "type": "bigint", "description": null}, {"name": "second_bet", "type": "bigint", "description": null}, {"name": "win", "type": "bigint", "description": null}, {"name": "betting_user", "type": "int", "description": null}, {"name": "watch_user", "type": "int", "description": null}, {"name": "personal_card", "type": "string", "description": null}, {"name": "community_card", "type": "string", "description": null}, {"name": "win_cards", "type": "string", "description": null}, {"name": "multiply", "type": "float", "description": null}, {"name": "jackpot", "type": "bigint", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_show_down_game` ( `id` bigint COMMENT 'None', `seq_id` string COMMENT 'None', `first_bet` bigint COMMENT 'None', `second_bet` bigint COMMENT 'None', `win` bigint COMMENT 'None', `betting_user` int COMMENT 'None', `watch_user` int COMMENT 'None', `personal_card` string COMMENT 'None', `community_card` string COMMENT 'None', `win_cards` string COMMENT 'None', `multiply` float COMMENT 'None', `jackpot` bigint COMMENT 'None', `created_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_show_down_user", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "seq_id", "type": "string", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "first_bet", "type": "bigint", "description": null}, {"name": "second_bet", "type": "bigint", "description": null}, {"name": "win", "type": "bigint", "description": null}, {"name": "betting_seat", "type": "int", "description": null}, {"name": "money_swag", "type": "float", "description": null}, {"name": "multiply", "type": "float", "description": null}, {"name": "jackpot", "type": "bigint", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "chip_type", "type": "int", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_show_down_user` ( `id` bigint COMMENT 'None', `seq_id` string COMMENT 'None', `account_uuid` string COMMENT 'None', `first_bet` bigint COMMENT 'None', `second_bet` bigint COMMENT 'None', `win` bigint COMMENT 'None', `betting_seat` int COMMENT 'None', `money_swag` float COMMENT 'None', `multiply` float COMMENT 'None', `jackpot` bigint COMMENT 'None', `created_date` timestamp COMMENT 'None', `account_id` bigint COMMENT 'None', `chip_type` int COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_slot_chip_daily", "description": null, "columns": [{"name": "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": "aggregated_date", "type": "timestamp", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_slot_chip_daily` ( `id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `chip_in` bigint COMMENT 'None', `chip_out` bigint COMMENT 'None', `aggregated_date` timestamp COMMENT 'None', `created_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_slot_play", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "mode", "type": "int", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "game_id", "type": "bigint", "description": null}, {"name": "bet_level", "type": "int", "description": null}, {"name": "win_level", "type": "int", "description": null}, {"name": "chip_in", "type": "bigint", "description": null}, {"name": "chip_out", "type": "bigint", "description": null}, {"name": "chip_type", "type": "int", "description": null}, {"name": "main_out", "type": "bigint", "description": null}, {"name": "bonus_type", "type": "int", "description": null}, {"name": "is_buy_feature", "type": "tinyint", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "transaction_id", "type": "string", "description": null}, {"name": "casino_type", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_slot_play` ( `id` bigint COMMENT 'None', `mode` int COMMENT 'None', `account_uuid` string COMMENT 'None', `game_id` bigint COMMENT 'None', `bet_level` int COMMENT 'None', `win_level` int COMMENT 'None', `chip_in` bigint COMMENT 'None', `chip_out` bigint COMMENT 'None', `chip_type` int COMMENT 'None', `main_out` bigint COMMENT 'None', `bonus_type` int COMMENT 'None', `is_buy_feature` tinyint COMMENT 'None', `created_date` timestamp COMMENT 'None', `account_id` bigint COMMENT 'None', `transaction_id` string COMMENT 'None', `casino_type` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_slot_play_daily", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "mode", "type": "int", "description": null}, {"name": "game_id", "type": "bigint", "description": null}, {"name": "bet_level", "type": "int", "description": null}, {"name": "chip_in", "type": "bigint", "description": null}, {"name": "chip_out", "type": "bigint", "description": null}, {"name": "chip_type", "type": "int", "description": null}, {"name": "jackpot", "type": "bigint", "description": null}, {"name": "rate", "type": "double", "description": null}, {"name": "spin_count", "type": "bigint", "description": null}, {"name": "user_count", "type": "bigint", "description": null}, {"name": "aggregated_date", "type": "timestamp", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_slot_play_daily` ( `id` bigint COMMENT 'None', `mode` int COMMENT 'None', `game_id` bigint COMMENT 'None', `bet_level` int COMMENT 'None', `chip_in` bigint COMMENT 'None', `chip_out` bigint COMMENT 'None', `chip_type` int COMMENT 'None', `jackpot` bigint COMMENT 'None', `rate` double COMMENT 'None', `spin_count` bigint COMMENT 'None', `user_count` bigint COMMENT 'None', `aggregated_date` timestamp COMMENT 'None', `created_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_user_achievement", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "achievement_code", "type": "int", "description": null}, {"name": "achievement_level", "type": "int", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_user_achievement` ( `id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `account_id` bigint COMMENT 'None', `achievement_code` int COMMENT 'None', `achievement_level` int COMMENT 'None', `created_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_user_balance_daily", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "balance_type", "type": "int", "description": null}, {"name": "balance_in", "type": "bigint", "description": null}, {"name": "balance_out", "type": "bigint", "description": null}, {"name": "aggregated_date", "type": "timestamp", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_user_balance_daily` ( `id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `account_id` bigint COMMENT 'None', `balance_type` int COMMENT 'None', `balance_in` bigint COMMENT 'None', `balance_out` bigint COMMENT 'None', `aggregated_date` timestamp COMMENT 'None', `created_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_user_bigwin", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "bigwin_uuid", "type": "string", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "bigwin_level", "type": "int", "description": null}, {"name": "bet", "type": "bigint", "description": null}, {"name": "win_amount", "type": "bigint", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "game_id", "type": "bigint", "description": null}, {"name": "casino_type", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_user_bigwin` ( `id` bigint COMMENT 'None', `bigwin_uuid` string COMMENT 'None', `account_uuid` string COMMENT 'None', `bigwin_level` int COMMENT 'None', `bet` bigint COMMENT 'None', `win_amount` bigint COMMENT 'None', `created_date` timestamp COMMENT 'None', `account_id` bigint COMMENT 'None', `game_id` bigint COMMENT 'None', `casino_type` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_user_casino_nft", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "nft_id", "type": "string", "description": null}, {"name": "grade", "type": "string", "description": null}, {"name": "status", "type": "int", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "casino_type", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_user_casino_nft` ( `id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `account_id` bigint COMMENT 'None', `nft_id` string COMMENT 'None', `grade` string COMMENT 'None', `status` int COMMENT 'None', `created_date` timestamp COMMENT 'None', `casino_type` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_user_chip", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "chip_type", "type": "int", "description": null}, {"name": "cause_type", "type": "int", "description": null}, {"name": "chip_in", "type": "bigint", "description": null}, {"name": "chip_out", "type": "bigint", "description": null}, {"name": "balance", "type": "bigint", "description": null}, {"name": "game_id", "type": "string", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "casino_type", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_user_chip` ( `id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `chip_type` int COMMENT 'None', `cause_type` int COMMENT 'None', `chip_in` bigint COMMENT 'None', `chip_out` bigint COMMENT 'None', `balance` bigint COMMENT 'None', `game_id` string COMMENT 'None', `created_date` timestamp COMMENT 'None', `account_id` bigint COMMENT 'None', `casino_type` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_user_item", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "item_type", "type": "int", "description": null}, {"name": "cause_type", "type": "int", "description": null}, {"name": "used", "type": "int", "description": null}, {"name": "acquired", "type": "int", "description": null}, {"name": "current", "type": "int", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_user_item` ( `id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `account_id` bigint COMMENT 'None', `item_type` int COMMENT 'None', `cause_type` int COMMENT 'None', `used` int COMMENT 'None', `acquired` int COMMENT 'None', `current` int COMMENT 'None', `created_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_user_login", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "ip_address", "type": "string", "description": null}, {"name": "platform", "type": "string", "description": null}, {"name": "os_version", "type": "string", "description": null}, {"name": "app_version", "type": "string", "description": null}, {"name": "session_id", "type": "string", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "device_id", "type": "string", "description": null}, {"name": "country", "type": "string", "description": null}, {"name": "store_code", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_user_login` ( `id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `ip_address` string COMMENT 'None', `platform` string COMMENT 'None', `os_version` string COMMENT 'None', `app_version` string COMMENT 'None', `session_id` string COMMENT 'None', `created_date` timestamp COMMENT 'None', `account_id` bigint COMMENT 'None', `device_id` string COMMENT 'None', `country` string COMMENT 'None', `store_code` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_user_mission", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "periodic_type", "type": "tinyint", "description": null}, {"name": "mission_code", "type": "tinyint", "description": null}, {"name": "mission_category", "type": "tinyint", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_user_mission` ( `id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `account_id` bigint COMMENT 'None', `periodic_type` tinyint COMMENT 'None', `mission_code` tinyint COMMENT 'None', `mission_category` tinyint COMMENT 'None', `created_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_user_retention", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "platform", "type": "string", "description": null}, {"name": "funnel", "type": "smallint", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "duration", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_user_retention` ( `id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `account_id` bigint COMMENT 'None', `platform` string COMMENT 'None', `funnel` smallint COMMENT 'None', `created_date` timestamp COMMENT 'None', `duration` bigint COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_user_space_marble", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "sequence", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "chip_in", "type": "bigint", "description": null}, {"name": "chip_out", "type": "bigint", "description": null}, {"name": "lucky_boost", "type": "float", "description": null}, {"name": "user_multiplier", "type": "float", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "chip_type", "type": "int", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_user_space_marble` ( `id` bigint COMMENT 'None', `sequence` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `account_id` bigint COMMENT 'None', `chip_in` bigint COMMENT 'None', `chip_out` bigint COMMENT 'None', `lucky_boost` float COMMENT 'None', `user_multiplier` float COMMENT 'None', `created_date` timestamp COMMENT 'None', `chip_type` int COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_user_star", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "cause_type", "type": "int", "description": null}, {"name": "star_in", "type": "bigint", "description": null}, {"name": "star_out", "type": "bigint", "description": null}, {"name": "balance", "type": "bigint", "description": null}, {"name": "game_id", "type": "string", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "casino_type", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_user_star` ( `id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `cause_type` int COMMENT 'None', `star_in` bigint COMMENT 'None', `star_out` bigint COMMENT 'None', `balance` bigint COMMENT 'None', `game_id` string COMMENT 'None', `created_date` timestamp COMMENT 'None', `account_id` bigint COMMENT 'None', `casino_type` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "log_user_tutorial", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "game_id", "type": "int", "description": null}, {"name": "status", "type": "string", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`log_user_tutorial` ( `id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `account_id` bigint COMMENT 'None', `game_id` int COMMENT 'None', `status` string COMMENT 'None', `created_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "user_balance_stat", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "master_chip", "type": "bigint", "description": null}, {"name": "rolling_chip_a", "type": "bigint", "description": null}, {"name": "rolling_chip_b", "type": "bigint", "description": null}, {"name": "star", "type": "bigint", "description": null}, {"name": "account_id", "type": "bigint", "description": null}]}
CREATE TABLE `pb_city_db`.`user_balance_stat` ( `id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `master_chip` bigint COMMENT 'None', `rolling_chip_a` bigint COMMENT 'None', `rolling_chip_b` bigint COMMENT 'None', `star` bigint COMMENT 'None', `account_id` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "user_last_action_stat", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "last_login_time", "type": "timestamp", "description": null}, {"name": "last_logout_time", "type": "timestamp", "description": null}]}
CREATE TABLE `pb_city_db`.`user_last_action_stat` ( `id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `last_login_time` timestamp COMMENT 'None', `last_logout_time` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "user_payment_stat", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "total_payment", "type": "double", "description": null}, {"name": "total_pay_count", "type": "int", "description": null}, {"name": "first_payment_date", "type": "timestamp", "description": null}, {"name": "first_pay_info", "type": "bigint", "description": null}, {"name": "last_payment_date", "type": "timestamp", "description": null}, {"name": "average_payment", "type": "bigint", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "max_payment", "type": "double", "description": null}]}
CREATE TABLE `pb_city_db`.`user_payment_stat` ( `id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `account_id` bigint COMMENT 'None', `total_payment` double COMMENT 'None', `total_pay_count` int COMMENT 'None', `first_payment_date` timestamp COMMENT 'None', `first_pay_info` bigint COMMENT 'None', `last_payment_date` timestamp COMMENT 'None', `average_payment` bigint COMMENT 'None', `created_date` timestamp COMMENT 'None', `max_payment` double COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_db", "table": "user_stat", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "account_uuid", "type": "string", "description": null}, {"name": "account_id", "type": "bigint", "description": null}, {"name": "joined_date", "type": "timestamp", "description": null}, {"name": "synced_date", "type": "timestamp", "description": null}, {"name": "created_date", "type": "timestamp", "description": null}, {"name": "gamebase_id", "type": "string", "description": null}, {"name": "level", "type": "int", "description": null}, {"name": "nft_count", "type": "int", "description": null}, {"name": "last_accessed_platform", "type": "string", "description": null}, {"name": "last_country", "type": "string", "description": null}, {"name": "pebble_linked_date", "type": "timestamp", "description": null}]}
CREATE TABLE `pb_city_db`.`user_stat` ( `id` bigint COMMENT 'None', `account_uuid` string COMMENT 'None', `account_id` bigint COMMENT 'None', `joined_date` timestamp COMMENT 'None', `synced_date` timestamp COMMENT 'None', `created_date` timestamp COMMENT 'None', `gamebase_id` string COMMENT 'None', `level` int COMMENT 'None', `nft_count` int COMMENT 'None', `last_accessed_platform` string COMMENT 'None', `last_country` string COMMENT 'None', `pebble_linked_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pb_city_dw", "table": "dc_pbc_tp_mtr", "description": null, "columns": [{"name": "tp_id", "type": "bigint", "description": null}, {"name": "tp_catg", "type": "string", "description": null}, {"name": "tp_cd", "type": "bigint", "description": null}, {"name": "tp_nm", "type": "string", "description": null}]}
CREATE TABLE `pb_city_dw`.`dc_pbc_tp_mtr` ( `tp_id` bigint COMMENT 'None', `tp_catg` string COMMENT 'None', `tp_cd` bigint COMMENT 'None', `tp_nm` string COMMENT 'None' );