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},...
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', `iteminsta...
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},...
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...
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", "descriptio...
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_b...
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":...
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', ...
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", "descriptio...
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", "descript...
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 ...
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": "tiny...
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', ...
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": "smalli...
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": "...
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", "descrip...
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", "descri...
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"...
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 '...
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": ...
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"...
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", "descript...
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": ...
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 ...
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", "descripti...
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...
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 CO...
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...
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', `typen...
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": ...
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` ...
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", "des...
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", "...
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', `resultc...
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", "descri...
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', ...
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", "d...
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', `r...
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",...
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 'No...
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", "de...
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 'No...
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"...
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", "descripti...
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_...
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", "descript...
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": "stri...
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": "big...
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_na...
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": "stri...
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 '', ...
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 : 모자 ...
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 COMM...
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": "b...
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 COMMEN...
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": "...
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 '', `pla...
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": "big...
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 '획득/사용', `mon...
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": "...
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 COM...
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...
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 '', `wa...
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", "t...
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 '', ...
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_ba...
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 ...
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", "ty...
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', `she...
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", "...
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...
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": "str...
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 'No...
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", "descr...
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 'No...
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": "b...
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": "bigi...
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": "...
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", "d...
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...
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`...
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": "b...
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 '', `...
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":...
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", "t...
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", "descriptio...
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", "...
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` s...
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"...
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": "b...
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 '',...
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_cn...
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_c...
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", "d...
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` doubl...
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"...
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` s...
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": "str...
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_...
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_id...
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.doo...
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": "b...
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` ...
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":...
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 COM...
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", "desc...
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": "bigin...
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 = 'regist...
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...
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", "...
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...
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`...
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", "descript...
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",...
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 'Non...
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", "des...
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", "descript...
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", "descriptio...
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": ...
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', `a...
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", "descr...
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', `...
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", "descripti...
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', `...
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", "descr...
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', `cre...
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...
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_c...
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", "descripti...
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...
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", "descript...
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 COMMEN...
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}, ...
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 COM...
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}, ...
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 CO...
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", ...
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 C...
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", "d...
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 C...
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", "descrip...
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', ...
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", "descrip...
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', `ca...
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": nu...
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` str...
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":...
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 COMME...
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", "descriptio...
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', ...
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", "de...
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` timest...
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", "descri...
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'...
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", "des...
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', ...
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": n...
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_dat...
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...
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", "...
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 'No...
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"...
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", "de...
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` b...
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", "descripti...
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 ...
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' );