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": "mobile_poker_db", "table": "baduki_chat_block", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": "sno"}, {"name": "blocked_sno", "type": "bigint", "description": "sno"}, {"name": "start_date", "type": "timestamp", "description": null}, {"name": "reason", "type": "int", "description": "(1:μš•μ„€λΉ„λ°©, 2:λΉ„λ§€λ„ˆ, 3:κ΄‘κ³ /슀팸, 4:λ¨ΉνŠ€/사기, 0:μ΄μœ μ—†μŒ)"}, {"name": "memo", "type": "string", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_chat_block` ( `sno` bigint COMMENT 'sno', `blocked_sno` bigint COMMENT 'sno', `start_date` timestamp COMMENT 'None', `reason` int COMMENT '(1:μš•μ„€λΉ„λ°©, 2:λΉ„λ§€λ„ˆ, 3:κ΄‘κ³ /슀팸, 4:λ¨ΉνŠ€/사기, 0:μ΄μœ μ—†μŒ)', `memo` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_chat_log", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "room_seq", "type": "bigint", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "send_date", "type": "timestamp", "description": "νŒŒν‹°μ…˜ κΈ°μ€€ 컬럼"}, {"name": "message", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_chat_log` ( `seq` bigint COMMENT 'None', `room_seq` bigint COMMENT 'None', `sno` bigint COMMENT 'None', `send_date` timestamp COMMENT 'νŒŒν‹°μ…˜ κΈ°μ€€ 컬럼', `message` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_event", "description": null, "columns": [{"name": "event_id", "type": "string", "description": "μ΄λ²€νŠΈλ³„ 이름"}, {"name": "sno", "type": "bigint", "description": "λŒ€λΆ€λΆ„ SNO λ˜λŠ” CIHash"}, {"name": "hid", "type": "string", "description": null}, {"name": "event_date", "type": "timestamp", "description": "1970-01-01 : κ³ μ •, 202x-xx-x : daily"}, {"name": "nickname", "type": "string", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "ival1", "type": "bigint", "description": "이벀트 λ§ˆλ‹€ μš©λ„ 닀름"}, {"name": "ival2", "type": "bigint", "description": "이벀트 λ§ˆλ‹€ μš©λ„ 닀름"}, {"name": "ival3", "type": "bigint", "description": "이벀트 λ§ˆλ‹€ μš©λ„ 닀름"}, {"name": "sval", "type": "string", "description": "이벀트 λ§ˆλ‹€ μš©λ„ 닀름"}, {"name": "extra_data", "type": "string", "description": "이벀트 λ§ˆλ‹€ μš©λ„ 닀름. JSON ν˜•μ‹μ˜ λ¬Έμžμ—΄"}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_event` ( `event_id` string COMMENT 'μ΄λ²€νŠΈλ³„ 이름', `sno` bigint COMMENT 'λŒ€λΆ€λΆ„ SNO λ˜λŠ” CIHash', `hid` string COMMENT 'None', `event_date` timestamp COMMENT '1970-01-01 : κ³ μ •, 202x-xx-x : daily', `nickname` string COMMENT 'None', `last_date` timestamp COMMENT 'None', `ival1` bigint COMMENT '이벀트 λ§ˆλ‹€ μš©λ„ 닀름', `ival2` bigint COMMENT '이벀트 λ§ˆλ‹€ μš©λ„ 닀름', `ival3` bigint COMMENT '이벀트 λ§ˆλ‹€ μš©λ„ 닀름', `sval` string COMMENT '이벀트 λ§ˆλ‹€ μš©λ„ 닀름', `extra_data` string COMMENT '이벀트 λ§ˆλ‹€ μš©λ„ 닀름. JSON ν˜•μ‹μ˜ λ¬Έμžμ—΄', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_event_log", "description": null, "columns": [{"name": "id_seq", "type": "bigint", "description": null}, {"name": "event_id", "type": "string", "description": null}, {"name": "sno", "type": "bigint", "description": "λŒ€λΆ€λΆ„ SNO λ˜λŠ” CIHash"}, {"name": "hid", "type": "string", "description": null}, {"name": "platform", "type": "string", "description": "AP:AOS, IP:IOS, RP:Revolution"}, {"name": "log_type", "type": "string", "description": "μ΄λ²€νŠΈλ§ˆλ‹€ ν‹€λ¦Ό"}, {"name": "nickname", "type": "string", "description": null}, {"name": "log_date", "type": "timestamp", "description": null}, {"name": "ival1", "type": "bigint", "description": "μ΄λ²€νŠΈλ§ˆλ‹€ ν‹€λ¦Ό"}, {"name": "ival2", "type": "bigint", "description": "μ΄λ²€νŠΈλ§ˆλ‹€ ν‹€λ¦Ό"}, {"name": "ival3", "type": "bigint", "description": "μ΄λ²€νŠΈλ§ˆλ‹€ ν‹€λ¦Ό"}, {"name": "sval1", "type": "string", "description": "μ΄λ²€νŠΈλ§ˆλ‹€ ν‹€λ¦Ό"}, {"name": "sval2", "type": "string", "description": "μ΄λ²€νŠΈλ§ˆλ‹€ ν‹€λ¦Ό"}, {"name": "sval3", "type": "string", "description": "μ΄λ²€νŠΈλ§ˆλ‹€ ν‹€λ¦Ό"}, {"name": "extra_data", "type": "string", "description": "μ΄λ²€νŠΈλ§ˆλ‹€ ν‹€λ¦Ό"}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_event_log` ( `id_seq` bigint COMMENT 'None', `event_id` string COMMENT 'None', `sno` bigint COMMENT 'λŒ€λΆ€λΆ„ SNO λ˜λŠ” CIHash', `hid` string COMMENT 'None', `platform` string COMMENT 'AP:AOS, IP:IOS, RP:Revolution', `log_type` string COMMENT 'μ΄λ²€νŠΈλ§ˆλ‹€ ν‹€λ¦Ό', `nickname` string COMMENT 'None', `log_date` timestamp COMMENT 'None', `ival1` bigint COMMENT 'μ΄λ²€νŠΈλ§ˆλ‹€ ν‹€λ¦Ό', `ival2` bigint COMMENT 'μ΄λ²€νŠΈλ§ˆλ‹€ ν‹€λ¦Ό', `ival3` bigint COMMENT 'μ΄λ²€νŠΈλ§ˆλ‹€ ν‹€λ¦Ό', `sval1` string COMMENT 'μ΄λ²€νŠΈλ§ˆλ‹€ ν‹€λ¦Ό', `sval2` string COMMENT 'μ΄λ²€νŠΈλ§ˆλ‹€ ν‹€λ¦Ό', `sval3` string COMMENT 'μ΄λ²€νŠΈλ§ˆλ‹€ ν‹€λ¦Ό', `extra_data` string COMMENT 'μ΄λ²€νŠΈλ§ˆλ‹€ ν‹€λ¦Ό', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_free_charge", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": null}, {"name": "hid", "type": "string", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "charge_cnt", "type": "int", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_free_charge` ( `sno` bigint COMMENT 'None', `hid` string COMMENT 'None', `nickname` string COMMENT 'None', `charge_cnt` int COMMENT 'None', `last_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_friend_mast", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": null}, {"name": "hid", "type": "string", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "user_key", "type": "string", "description": null}, {"name": "short_url", "type": "string", "description": null}, {"name": "click_cnt", "type": "int", "description": null}, {"name": "install_cnt", "type": "int", "description": null}, {"name": "invite_cnt", "type": "int", "description": null}, {"name": "extra_data", "type": "string", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_friend_mast` ( `sno` bigint COMMENT 'None', `hid` string COMMENT 'None', `nickname` string COMMENT 'None', `reg_date` timestamp COMMENT 'None', `last_date` timestamp COMMENT 'None', `user_key` string COMMENT 'None', `short_url` string COMMENT 'None', `click_cnt` int COMMENT 'None', `install_cnt` int COMMENT 'None', `invite_cnt` int COMMENT 'None', `extra_data` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_game_result_log", "description": null, "columns": [{"name": "match_no", "type": "bigint", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "hid", "type": "string", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "duel_room", "type": "int", "description": "0:μ•„λ‹˜, 1:맞음"}, {"name": "duel_startmoney", "type": "bigint", "description": null}, {"name": "duel_channel", "type": "bigint", "description": null}, {"name": "player_index", "type": "int", "description": null}, {"name": "start_card", "type": "string", "description": null}, {"name": "morning_card", "type": "string", "description": null}, {"name": "afternoon_card", "type": "string", "description": null}, {"name": "evening_card", "type": "string", "description": null}, {"name": "morning_betting", "type": "string", "description": null}, {"name": "afternoon_betting", "type": "string", "description": null}, {"name": "evening_betting", "type": "string", "description": null}, {"name": "jokbo_code", "type": "int", "description": null}, {"name": "jokbo_string", "type": "string", "description": null}, {"name": "boss", "type": "int", "description": "0:μ•„λ‹˜, 1:맞음"}, {"name": "win", "type": "int", "description": "0:μ•„λ‹˜, 1:맞음"}, {"name": "seed_money", "type": "bigint", "description": null}, {"name": "dealer_money", "type": "bigint", "description": null}, {"name": "betting_money", "type": "bigint", "description": null}, {"name": "ddang_money", "type": "bigint", "description": null}, {"name": "jackpot_money", "type": "bigint", "description": null}, {"name": "change_money", "type": "bigint", "description": null}, {"name": "cur_game_money", "type": "bigint", "description": null}, {"name": "pre_game_money", "type": "bigint", "description": null}, {"name": "start_date", "type": "timestamp", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "game_kind", "type": "int", "description": "1: 일반, 10: μΌλŒ€μΌ, 11: μΉœκ΅¬λŒ€μ „, 12λŒ€λ°• κ²½κΈ°, \n21 ~40 코인경기, \n51 골든 홀덀\n1001~3000 ν† λ„ˆλ¨ΌνŠΈ"}, {"name": "work_ymd", "type": "bigint", "description": null}, {"name": "betting_time", "type": "string", "description": null}, {"name": "betting_avg", "type": "int", "description": null}, {"name": "market_code", "type": "string", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_game_result_log` ( `match_no` bigint COMMENT 'None', `sno` bigint COMMENT 'None', `hid` string COMMENT 'None', `nickname` string COMMENT 'None', `duel_room` int COMMENT '0:μ•„λ‹˜, 1:맞음', `duel_startmoney` bigint COMMENT 'None', `duel_channel` bigint COMMENT 'None', `player_index` int COMMENT 'None', `start_card` string COMMENT 'None', `morning_card` string COMMENT 'None', `afternoon_card` string COMMENT 'None', `evening_card` string COMMENT 'None', `morning_betting` string COMMENT 'None', `afternoon_betting` string COMMENT 'None', `evening_betting` string COMMENT 'None', `jokbo_code` int COMMENT 'None', `jokbo_string` string COMMENT 'None', `boss` int COMMENT '0:μ•„λ‹˜, 1:맞음', `win` int COMMENT '0:μ•„λ‹˜, 1:맞음', `seed_money` bigint COMMENT 'None', `dealer_money` bigint COMMENT 'None', `betting_money` bigint COMMENT 'None', `ddang_money` bigint COMMENT 'None', `jackpot_money` bigint COMMENT 'None', `change_money` bigint COMMENT 'None', `cur_game_money` bigint COMMENT 'None', `pre_game_money` bigint COMMENT 'None', `start_date` timestamp COMMENT 'None', `last_date` timestamp COMMENT 'None', `game_kind` int COMMENT '1: 일반, 10: μΌλŒ€μΌ, 11: μΉœκ΅¬λŒ€μ „, 12λŒ€λ°• κ²½κΈ°, 21 ~40 코인경기, 51 골든 홀덀 1001~3000 ν† λ„ˆλ¨ΌνŠΈ', `work_ymd` bigint COMMENT 'None', `betting_time` string COMMENT 'None', `betting_avg` int COMMENT 'None', `market_code` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_hsp_item_delivery_log", "description": null, "columns": [{"name": "item_delivery_seq", "type": "bigint", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "item_id", "type": "string", "description": "Enum ITEM_CODE λ˜λŠ” baduki_item의 ItemId"}, {"name": "last_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_hsp_item_delivery_log` ( `item_delivery_seq` bigint COMMENT 'None', `sno` bigint COMMENT 'None', `item_id` string COMMENT 'Enum ITEM_CODE λ˜λŠ” baduki_item의 ItemId', `last_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_item", "description": null, "columns": [{"name": "item_id", "type": "int", "description": null}, {"name": "str_item_id", "type": "string", "description": null}, {"name": "item_name", "type": "string", "description": null}, {"name": "image_index", "type": "int", "description": "아바타 μ•„μ΄ν…œμΈ 경우 유효"}, {"name": "image_version", "type": "int", "description": "아바타 μ•„μ΄ν…œμΈ 경우 유효"}, {"name": "description", "type": "string", "description": null}, {"name": "display_lobby_type", "type": "int", "description": "(0 : λͺ¨λ‘, 5 : 리얼)"}, {"name": "category", "type": "string", "description": "Enum MOBILE_ITEM_CATEGORY_STRING"}, {"name": "tag", "type": "string", "description": "μ—†μŒ=0, μΆ”μ²œ=1, 인기=2, 베슀트=3, ν•œμ •=4, κ°•λ ₯μΆ”μ²œ=5, νŠΉμˆ˜μƒν™©=10"}, {"name": "display_order", "type": "int", "description": "같은 tag λ‚΄μ—μ„œ λ…ΈμΆœ μˆœμ„œ"}, {"name": "discount", "type": "bigint", "description": "νΌμ„ΌνŠΈ"}, {"name": "quantity", "type": "bigint", "description": "(λ‹¨μœ„λŠ” 루비,κ²Œμž„λ¨Έλ‹ˆ,λ³΄λ„ˆμŠ€λ“±μ΄ 될 수 μžˆλ‹€.)"}, {"name": "dc_quantity", "type": "bigint", "description": "(λ‹¨μœ„λŠ” 루비,κ²Œμž„λ¨Έλ‹ˆ,λ³΄λ„ˆμŠ€λ“±μ΄ 될 수 μžˆλ‹€.)"}, {"name": "ruby_price", "type": "bigint", "description": null}, {"name": "game_money_price", "type": "bigint", "description": null}, {"name": "avatar_unit_money", "type": "bigint", "description": null}, {"name": "market_code", "type": "string", "description": "(κ΅¬κΈ€μŠ€ν† μ–΄(KG), SKTStore(KS), λ„€μ΄λ²„μ•±μŠ€ν† μ–΄(KN)) , κ²Œμž„ 곡톡은 (COMMON)"}, {"name": "real_money_price", "type": "int", "description": null}, {"name": "expiry_date", "type": "timestamp", "description": null}, {"name": "extra_data", "type": "string", "description": "category = AVATAR 인 경우 아바타에 ν‘œμ‹œλ  문ꡬ\ncategory = PAY_ITEM 인 경우 μ•„μ΄ν…œ μ„€λͺ… λ‚΄μš©(JSON)"}, {"name": "end_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_item` ( `item_id` int COMMENT 'None', `str_item_id` string COMMENT 'None', `item_name` string COMMENT 'None', `image_index` int COMMENT '아바타 μ•„μ΄ν…œμΈ 경우 유효', `image_version` int COMMENT '아바타 μ•„μ΄ν…œμΈ 경우 유효', `description` string COMMENT 'None', `display_lobby_type` int COMMENT '(0 : λͺ¨λ‘, 5 : 리얼)', `category` string COMMENT 'Enum MOBILE_ITEM_CATEGORY_STRING', `tag` string COMMENT 'μ—†μŒ=0, μΆ”μ²œ=1, 인기=2, 베슀트=3, ν•œμ •=4, κ°•λ ₯μΆ”μ²œ=5, νŠΉμˆ˜μƒν™©=10', `display_order` int COMMENT '같은 tag λ‚΄μ—μ„œ λ…ΈμΆœ μˆœμ„œ', `discount` bigint COMMENT 'νΌμ„ΌνŠΈ', `quantity` bigint COMMENT '(λ‹¨μœ„λŠ” 루비,κ²Œμž„λ¨Έλ‹ˆ,λ³΄λ„ˆμŠ€λ“±μ΄ 될 수 μžˆλ‹€.)', `dc_quantity` bigint COMMENT '(λ‹¨μœ„λŠ” 루비,κ²Œμž„λ¨Έλ‹ˆ,λ³΄λ„ˆμŠ€λ“±μ΄ 될 수 μžˆλ‹€.)', `ruby_price` bigint COMMENT 'None', `game_money_price` bigint COMMENT 'None', `avatar_unit_money` bigint COMMENT 'None', `market_code` string COMMENT '(κ΅¬κΈ€μŠ€ν† μ–΄(KG), SKTStore(KS), λ„€μ΄λ²„μ•±μŠ€ν† μ–΄(KN)) , κ²Œμž„ 곡톡은 (COMMON)', `real_money_price` int COMMENT 'None', `expiry_date` timestamp COMMENT 'None', `extra_data` string COMMENT 'category = AVATAR 인 경우 아바타에 ν‘œμ‹œλ  문ꡬ category = PAY_ITEM 인 경우 μ•„μ΄ν…œ μ„€λͺ… λ‚΄μš©(JSON)', `end_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_message", "description": null, "columns": [{"name": "message_seq", "type": "bigint", "description": null}, {"name": "mail_no", "type": "bigint", "description": null}, {"name": "receiver_sno", "type": "bigint", "description": null}, {"name": "receiver_hid", "type": "string", "description": null}, {"name": "receiver_nickname", "type": "string", "description": null}, {"name": "sender_sno", "type": "bigint", "description": null}, {"name": "sender_hid", "type": "string", "description": null}, {"name": "sender_nickname", "type": "string", "description": null}, {"name": "message_type", "type": "string", "description": "Enum MAIL_TYPE"}, {"name": "message_content", "type": "string", "description": null}, {"name": "item_name", "type": "string", "description": "Enum ITEM_CODE λ˜λŠ” baduki_item의 ItemId"}, {"name": "item_category", "type": "string", "description": "Enum MOBILE_ITEM_CATEGORY_STRING"}, {"name": "event_id", "type": "string", "description": "FK(baduki_event_mast)\nNULL ν˜Ήμ€ 곡백일 μˆ˜λ„ 있음"}, {"name": "cnt", "type": "bigint", "description": null}, {"name": "send_date", "type": "timestamp", "description": null}, {"name": "recv_date", "type": "timestamp", "description": null}, {"name": "delete_date", "type": "timestamp", "description": null}, {"name": "deleter", "type": "string", "description": "μ–΄λ“œλ―Ό μ‚­μ œμ‹œ \"이름(μ‚¬λ²ˆ)\", μ‚¬μš©μž μ‚­μ œμ‹œ μ‚­μ œ sno"}, {"name": "extra_data", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_message` ( `message_seq` bigint COMMENT 'None', `mail_no` bigint COMMENT 'None', `receiver_sno` bigint COMMENT 'None', `receiver_hid` string COMMENT 'None', `receiver_nickname` string COMMENT 'None', `sender_sno` bigint COMMENT 'None', `sender_hid` string COMMENT 'None', `sender_nickname` string COMMENT 'None', `message_type` string COMMENT 'Enum MAIL_TYPE', `message_content` string COMMENT 'None', `item_name` string COMMENT 'Enum ITEM_CODE λ˜λŠ” baduki_item의 ItemId', `item_category` string COMMENT 'Enum MOBILE_ITEM_CATEGORY_STRING', `event_id` string COMMENT 'FK(baduki_event_mast) NULL ν˜Ήμ€ 곡백일 μˆ˜λ„ 있음', `cnt` bigint COMMENT 'None', `send_date` timestamp COMMENT 'None', `recv_date` timestamp COMMENT 'None', `delete_date` timestamp COMMENT 'None', `deleter` string COMMENT 'μ–΄λ“œλ―Ό μ‚­μ œμ‹œ "이름(μ‚¬λ²ˆ)", μ‚¬μš©μž μ‚­μ œμ‹œ μ‚­μ œ sno', `extra_data` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_mini_game", "description": null, "columns": [{"name": "log_seq", "type": "bigint", "description": null}, {"name": "mini_game_name", "type": "string", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "hid", "type": "string", "description": null}, {"name": "platform", "type": "string", "description": "(AP:AOS, IP:IOS, RP:Revolution)"}, {"name": "nickname", "type": "string", "description": null}, {"name": "credit_bonus", "type": "bigint", "description": null}, {"name": "credit_game_money", "type": "bigint", "description": null}, {"name": "today_count", "type": "int", "description": "daily reset"}, {"name": "bet", "type": "string", "description": "λ―Έλ‹ˆκ²Œμž„Β λ³„λ‘œ ν˜•νƒœ 닀름"}, {"name": "result", "type": "string", "description": "λ―Έλ‹ˆκ²Œμž„Β λ³„λ‘œ ν˜•νƒœ 닀름"}, {"name": "pre_game_money", "type": "bigint", "description": null}, {"name": "pre_bonus", "type": "bigint", "description": null}, {"name": "use_game_money", "type": "bigint", "description": null}, {"name": "use_bonus", "type": "bigint", "description": null}, {"name": "gain_game_money", "type": "bigint", "description": null}, {"name": "gain_bonus", "type": "bigint", "description": null}, {"name": "cur_game_money", "type": "bigint", "description": null}, {"name": "cur_bonus", "type": "bigint", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "prize_type", "type": "tinyint", "description": "(1:μΉ©, 2:λ³΄λ„ˆμŠ€)"}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_mini_game` ( `log_seq` bigint COMMENT 'None', `mini_game_name` string COMMENT 'None', `sno` bigint COMMENT 'None', `hid` string COMMENT 'None', `platform` string COMMENT '(AP:AOS, IP:IOS, RP:Revolution)', `nickname` string COMMENT 'None', `credit_bonus` bigint COMMENT 'None', `credit_game_money` bigint COMMENT 'None', `today_count` int COMMENT 'daily reset', `bet` string COMMENT 'λ―Έλ‹ˆκ²Œμž„Β λ³„λ‘œ ν˜•νƒœ 닀름', `result` string COMMENT 'λ―Έλ‹ˆκ²Œμž„Β λ³„λ‘œ ν˜•νƒœ 닀름', `pre_game_money` bigint COMMENT 'None', `pre_bonus` bigint COMMENT 'None', `use_game_money` bigint COMMENT 'None', `use_bonus` bigint COMMENT 'None', `gain_game_money` bigint COMMENT 'None', `gain_bonus` bigint COMMENT 'None', `cur_game_money` bigint COMMENT 'None', `cur_bonus` bigint COMMENT 'None', `last_date` timestamp COMMENT 'None', `prize_type` tinyint COMMENT '(1:μΉ©, 2:λ³΄λ„ˆμŠ€)', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_prize", "description": null, "columns": [{"name": "prize_seq", "type": "bigint", "description": null}, {"name": "event_name", "type": "string", "description": null}, {"name": "start_date", "type": "timestamp", "description": null}, {"name": "end_date", "type": "timestamp", "description": null}, {"name": "due_date", "type": "timestamp", "description": null}, {"name": "reg_admin", "type": "string", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "mod_admin", "type": "string", "description": null}, {"name": "mod_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_prize` ( `prize_seq` bigint COMMENT 'None', `event_name` string COMMENT 'None', `start_date` timestamp COMMENT 'None', `end_date` timestamp COMMENT 'None', `due_date` timestamp COMMENT 'None', `reg_admin` string COMMENT 'None', `reg_date` timestamp COMMENT 'None', `mod_admin` string COMMENT 'None', `mod_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_purchase_info", "description": null, "columns": [{"name": "ci", "type": "string", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "purchase_info", "type": "string", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_purchase_info` ( `ci` string COMMENT 'None', `last_date` timestamp COMMENT 'None', `purchase_info` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_purchase_info_by_device_id", "description": null, "columns": [{"name": "device_id", "type": "string", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "purchase_info", "type": "string", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_purchase_info_by_device_id` ( `device_id` string COMMENT 'None', `last_date` timestamp COMMENT 'None', `purchase_info` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_rat", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": null}, {"name": "hno", "type": "bigint", "description": "ν˜„μž¬ 0으둜 μ…‹νŒ… 되고 있음"}, {"name": "hid", "type": "string", "description": null}, {"name": "cust_no", "type": "bigint", "description": "ν˜„μž¬ 0으둜 μ…‹νŒ… 되고 있음"}, {"name": "tno", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "oauth_id", "type": "string", "description": "ν˜„μž¬ 곡백으둜 μ…‹νŒ… 되고 있음"}, {"name": "oauth_provider", "type": "string", "description": "hangame, google, naver, payco"}, {"name": "nickname", "type": "string", "description": null}, {"name": "change_nickname_count", "type": "int", "description": null}, {"name": "avatar_id", "type": "bigint", "description": null}, {"name": "avatar_image_index", "type": "int", "description": null}, {"name": "first_promotion", "type": "int", "description": "bit-mask"}, {"name": "pre_nlevel", "type": "int", "description": null}, {"name": "nlevel", "type": "int", "description": null}, {"name": "ruby", "type": "bigint", "description": null}, {"name": "paidruby", "type": "bigint", "description": null}, {"name": "freeruby", "type": "bigint", "description": null}, {"name": "bonus", "type": "bigint", "description": null}, {"name": "account_count", "type": "int", "description": "λ―Έμ‚¬μš©"}, {"name": "game_money", "type": "bigint", "description": null}, {"name": "max_game_money", "type": "bigint", "description": null}, {"name": "max_win_money", "type": "bigint", "description": null}, {"name": "match_count", "type": "int", "description": null}, {"name": "win_count", "type": "int", "description": null}, {"name": "defeat_count", "type": "int", "description": null}, {"name": "draw_count", "type": "int", "description": null}, {"name": "golf_count", "type": "int", "description": null}, {"name": "second_count", "type": "int", "description": null}, {"name": "third_count", "type": "int", "description": null}, {"name": "royalstraightflush_count", "type": "int", "description": null}, {"name": "straightflush_count", "type": "int", "description": null}, {"name": "fourcard_count", "type": "int", "description": null}, {"name": "blackjack_point", "type": "int", "description": "λ―Έμ‚¬μš©"}, {"name": "user_option", "type": "string", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "state", "type": "bigint", "description": "(bit-mask)\nbit0 : 1 이면 운영자(ν…ŒμŠ€νŠΈ) 계정"}, {"name": "safemoney", "type": "bigint", "description": null}, {"name": "entrystep", "type": "int", "description": "0 : 미생성, 1:생성"}, {"name": "sudda_sno", "type": "string", "description": null}, {"name": "restriction_money", "type": "bigint", "description": "500μ–΅, 2500μ–΅"}, {"name": "work_ymd", "type": "bigint", "description": null}, {"name": "birthday", "type": "string", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_rat` ( `sno` bigint COMMENT 'None', `hno` bigint COMMENT 'ν˜„μž¬ 0으둜 μ…‹νŒ… 되고 있음', `hid` string COMMENT 'None', `cust_no` bigint COMMENT 'ν˜„μž¬ 0으둜 μ…‹νŒ… 되고 있음', `tno` string COMMENT 'None', `ci` string COMMENT 'None', `oauth_id` string COMMENT 'ν˜„μž¬ 곡백으둜 μ…‹νŒ… 되고 있음', `oauth_provider` string COMMENT 'hangame, google, naver, payco', `nickname` string COMMENT 'None', `change_nickname_count` int COMMENT 'None', `avatar_id` bigint COMMENT 'None', `avatar_image_index` int COMMENT 'None', `first_promotion` int COMMENT 'bit-mask', `pre_nlevel` int COMMENT 'None', `nlevel` int COMMENT 'None', `ruby` bigint COMMENT 'None', `paidruby` bigint COMMENT 'None', `freeruby` bigint COMMENT 'None', `bonus` bigint COMMENT 'None', `account_count` int COMMENT 'λ―Έμ‚¬μš©', `game_money` bigint COMMENT 'None', `max_game_money` bigint COMMENT 'None', `max_win_money` bigint COMMENT 'None', `match_count` int COMMENT 'None', `win_count` int COMMENT 'None', `defeat_count` int COMMENT 'None', `draw_count` int COMMENT 'None', `golf_count` int COMMENT 'None', `second_count` int COMMENT 'None', `third_count` int COMMENT 'None', `royalstraightflush_count` int COMMENT 'None', `straightflush_count` int COMMENT 'None', `fourcard_count` int COMMENT 'None', `blackjack_point` int COMMENT 'λ―Έμ‚¬μš©', `user_option` string COMMENT 'None', `reg_date` timestamp COMMENT 'None', `last_date` timestamp COMMENT 'None', `state` bigint COMMENT '(bit-mask) bit0 : 1 이면 운영자(ν…ŒμŠ€νŠΈ) 계정', `safemoney` bigint COMMENT 'None', `entrystep` int COMMENT '0 : 미생성, 1:생성', `sudda_sno` string COMMENT 'None', `restriction_money` bigint COMMENT '500μ–΅, 2500μ–΅', `work_ymd` bigint COMMENT 'None', `birthday` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_rat_withdraw", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": null}, {"name": "hno", "type": "bigint", "description": null}, {"name": "hid", "type": "string", "description": null}, {"name": "cust_no", "type": "bigint", "description": null}, {"name": "tno", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "oauth_id", "type": "string", "description": null}, {"name": "oauth_provider", "type": "string", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "change_nickname_count", "type": "int", "description": null}, {"name": "avatar_id", "type": "bigint", "description": null}, {"name": "avatar_image_index", "type": "int", "description": null}, {"name": "first_promotion", "type": "int", "description": null}, {"name": "pre_nlevel", "type": "int", "description": null}, {"name": "nlevel", "type": "int", "description": null}, {"name": "ruby", "type": "bigint", "description": null}, {"name": "paidruby", "type": "bigint", "description": null}, {"name": "freeruby", "type": "bigint", "description": null}, {"name": "bonus", "type": "bigint", "description": null}, {"name": "account_count", "type": "int", "description": null}, {"name": "game_money", "type": "bigint", "description": null}, {"name": "max_game_money", "type": "bigint", "description": null}, {"name": "max_win_money", "type": "bigint", "description": null}, {"name": "match_count", "type": "int", "description": null}, {"name": "win_count", "type": "int", "description": null}, {"name": "defeat_count", "type": "int", "description": null}, {"name": "draw_count", "type": "int", "description": null}, {"name": "golf_count", "type": "int", "description": null}, {"name": "second_count", "type": "int", "description": null}, {"name": "third_count", "type": "int", "description": null}, {"name": "royalstraightflush_count", "type": "int", "description": null}, {"name": "straightflush_count", "type": "int", "description": null}, {"name": "fourcard_count", "type": "int", "description": null}, {"name": "blackjack_point", "type": "int", "description": null}, {"name": "user_option", "type": "string", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "state", "type": "bigint", "description": null}, {"name": "safemoney", "type": "bigint", "description": null}, {"name": "entrystep", "type": "bigint", "description": null}, {"name": "sudda_sno", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}, {"name": "restriction_money", "type": "bigint", "description": null}, {"name": "birthday", "type": "string", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_rat_withdraw` ( `sno` bigint COMMENT 'None', `hno` bigint COMMENT 'None', `hid` string COMMENT 'None', `cust_no` bigint COMMENT 'None', `tno` string COMMENT 'None', `ci` string COMMENT 'None', `oauth_id` string COMMENT 'None', `oauth_provider` string COMMENT 'None', `nickname` string COMMENT 'None', `change_nickname_count` int COMMENT 'None', `avatar_id` bigint COMMENT 'None', `avatar_image_index` int COMMENT 'None', `first_promotion` int COMMENT 'None', `pre_nlevel` int COMMENT 'None', `nlevel` int COMMENT 'None', `ruby` bigint COMMENT 'None', `paidruby` bigint COMMENT 'None', `freeruby` bigint COMMENT 'None', `bonus` bigint COMMENT 'None', `account_count` int COMMENT 'None', `game_money` bigint COMMENT 'None', `max_game_money` bigint COMMENT 'None', `max_win_money` bigint COMMENT 'None', `match_count` int COMMENT 'None', `win_count` int COMMENT 'None', `defeat_count` int COMMENT 'None', `draw_count` int COMMENT 'None', `golf_count` int COMMENT 'None', `second_count` int COMMENT 'None', `third_count` int COMMENT 'None', `royalstraightflush_count` int COMMENT 'None', `straightflush_count` int COMMENT 'None', `fourcard_count` int COMMENT 'None', `blackjack_point` int COMMENT 'None', `user_option` string COMMENT 'None', `reg_date` timestamp COMMENT 'None', `last_date` timestamp COMMENT 'None', `state` bigint COMMENT 'None', `safemoney` bigint COMMENT 'None', `entrystep` bigint COMMENT 'None', `sudda_sno` string COMMENT 'None', `work_ymd` bigint COMMENT 'None', `restriction_money` bigint COMMENT 'None', `birthday` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_sudda_item_log", "description": null, "columns": [{"name": "log_seq", "type": "bigint", "description": null}, {"name": "tno", "type": "string", "description": null}, {"name": "poker_sno", "type": "bigint", "description": null}, {"name": "sudda_sno", "type": "string", "description": null}, {"name": "hid", "type": "string", "description": null}, {"name": "platform", "type": "string", "description": "AP:AOS, IP:IOS, RP:Revolution"}, {"name": "nickname", "type": "string", "description": null}, {"name": "item_id", "type": "int", "description": "Enum ITEM_CODE λ˜λŠ” baduki_item의 ItemId"}, {"name": "category", "type": "string", "description": "Enum MOBILE_ITEM_CATEGORY_STRING"}, {"name": "log_type", "type": "string", "description": "Enum LOG_TYPE"}, {"name": "event_id", "type": "string", "description": "이벀트둜 받은 경우 등둝 \nFK(baduki_event_mast)"}, {"name": "cnt", "type": "bigint", "description": "증가 +, - κ°μ†Œ\nμž¬ν™”μ’…λ₯˜λŠ” category μ°Έκ³ ."}, {"name": "left_ruby", "type": "bigint", "description": null}, {"name": "left_paidruby", "type": "bigint", "description": null}, {"name": "left_freeruby", "type": "bigint", "description": null}, {"name": "left_game_money", "type": "bigint", "description": null}, {"name": "left_bonus", "type": "bigint", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "extra_data", "type": "string", "description": null}, {"name": "reg_week", "type": "tinyint", "description": "μ£Όκ°„ 톡계λ₯Ό μœ„ν•œ 칼럼"}, {"name": "left_safemoney", "type": "bigint", "description": null}, {"name": "game_no", "type": "int", "description": "λͺ¨λ°”일포컀 : 10053, μ„―λ‹€ : 10475"}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_sudda_item_log` ( `log_seq` bigint COMMENT 'None', `tno` string COMMENT 'None', `poker_sno` bigint COMMENT 'None', `sudda_sno` string COMMENT 'None', `hid` string COMMENT 'None', `platform` string COMMENT 'AP:AOS, IP:IOS, RP:Revolution', `nickname` string COMMENT 'None', `item_id` int COMMENT 'Enum ITEM_CODE λ˜λŠ” baduki_item의 ItemId', `category` string COMMENT 'Enum MOBILE_ITEM_CATEGORY_STRING', `log_type` string COMMENT 'Enum LOG_TYPE', `event_id` string COMMENT '이벀트둜 받은 경우 등둝 FK(baduki_event_mast)', `cnt` bigint COMMENT '증가 +, - κ°μ†Œ μž¬ν™”μ’…λ₯˜λŠ” category μ°Έκ³ .', `left_ruby` bigint COMMENT 'None', `left_paidruby` bigint COMMENT 'None', `left_freeruby` bigint COMMENT 'None', `left_game_money` bigint COMMENT 'None', `left_bonus` bigint COMMENT 'None', `reg_date` timestamp COMMENT 'None', `extra_data` string COMMENT 'None', `reg_week` tinyint COMMENT 'μ£Όκ°„ 톡계λ₯Ό μœ„ν•œ 칼럼', `left_safemoney` bigint COMMENT 'None', `game_no` int COMMENT 'λͺ¨λ°”일포컀 : 10053, μ„―λ‹€ : 10475', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_user_accessory", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": null}, {"name": "avatar_id", "type": "bigint", "description": null}, {"name": "image_index", "type": "int", "description": null}, {"name": "wearing", "type": "tinyint", "description": "0:미착용, 1:착용"}, {"name": "last_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_user_accessory` ( `sno` bigint COMMENT 'None', `avatar_id` bigint COMMENT 'None', `image_index` int COMMENT 'None', `wearing` tinyint COMMENT '0:미착용, 1:착용', `last_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_user_avatar", "description": null, "columns": [{"name": "id_seq", "type": "bigint", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "image_index", "type": "int", "description": null}, {"name": "sellable", "type": "tinyint", "description": "0:κ°€λŠ₯, 1:λΆˆκ°€λŠ₯"}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "log_seq", "type": "bigint", "description": "baduki_sudda_item_log ν…Œμ΄λΈ”μ— log insert ν›„ μƒμ„±λœ log_seq"}, {"name": "expiry_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_user_avatar` ( `id_seq` bigint COMMENT 'None', `sno` bigint COMMENT 'None', `image_index` int COMMENT 'None', `sellable` tinyint COMMENT '0:κ°€λŠ₯, 1:λΆˆκ°€λŠ₯', `reg_date` timestamp COMMENT 'None', `log_seq` bigint COMMENT 'baduki_sudda_item_log ν…Œμ΄λΈ”μ— log insert ν›„ μƒμ„±λœ log_seq', `expiry_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_user_inven", "description": null, "columns": [{"name": "id_seq", "type": "bigint", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "item_id", "type": "int", "description": "Enum ITEM_CODE λ˜λŠ” baduki_item의 ItemId"}, {"name": "item_name", "type": "string", "description": null}, {"name": "image_index", "type": "int", "description": null}, {"name": "activation", "type": "int", "description": "0: λΉ„ν™œμ„±ν™” 1: ν™œμ„±ν™”"}, {"name": "available_cnt", "type": "int", "description": null}, {"name": "add_date", "type": "timestamp", "description": null}, {"name": "first_use_date", "type": "timestamp", "description": null}, {"name": "expiry_date", "type": "timestamp", "description": null}, {"name": "log_seq", "type": "bigint", "description": "baduki_item_log 번호"}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "extra_data", "type": "string", "description": null}, {"name": "tno", "type": "string", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_user_inven` ( `id_seq` bigint COMMENT 'None', `sno` bigint COMMENT 'None', `item_id` int COMMENT 'Enum ITEM_CODE λ˜λŠ” baduki_item의 ItemId', `item_name` string COMMENT 'None', `image_index` int COMMENT 'None', `activation` int COMMENT '0: λΉ„ν™œμ„±ν™” 1: ν™œμ„±ν™”', `available_cnt` int COMMENT 'None', `add_date` timestamp COMMENT 'None', `first_use_date` timestamp COMMENT 'None', `expiry_date` timestamp COMMENT 'None', `log_seq` bigint COMMENT 'baduki_item_log 번호', `last_date` timestamp COMMENT 'None', `extra_data` string COMMENT 'None', `tno` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "common_data", "description": "λͺ¨λ°”일 포컀와 λͺ¨λ°”일 μ„œλ²„μ—μ„œ κ³΅ν†΅μœΌλ‘œ μ§„ν–‰ν•˜λŠ” 이벀트 κ΄€λ ¨ 데이터 ν…Œμ΄λΈ”", "columns": [{"name": "data_id", "type": "string", "description": null}, {"name": "type", "type": "string", "description": null}, {"name": "tno", "type": "string", "description": null}, {"name": "apply_date", "type": "timestamp", "description": "\"1970-01-01\": static 이벀트 데이터, κ·Έ μ™Έ: daily 이벀트 데이터"}, {"name": "last_update_time", "type": "timestamp", "description": null}, {"name": "ival1", "type": "bigint", "description": null}, {"name": "ival2", "type": "bigint", "description": null}, {"name": "ival3", "type": "bigint", "description": null}, {"name": "sval", "type": "string", "description": null}, {"name": "extra_data", "type": "string", "description": null}]}
CREATE TABLE `mobile_poker_db`.`common_data` ( `data_id` string COMMENT 'None', `type` string COMMENT 'None', `tno` string COMMENT 'None', `apply_date` timestamp COMMENT '"1970-01-01": static 이벀트 데이터, κ·Έ μ™Έ: daily 이벀트 데이터', `last_update_time` timestamp COMMENT 'None', `ival1` bigint COMMENT 'None', `ival2` bigint COMMENT 'None', `ival3` bigint COMMENT 'None', `sval` string COMMENT 'None', `extra_data` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "common_data_log", "description": "λͺ¨λ°”일 포컀와 λͺ¨λ°”일 μ„œλ²„μ—μ„œ κ³΅ν†΅μœΌλ‘œ μ§„ν–‰ν•˜λŠ” 이벀트 κ΄€λ ¨ μ•‘μ…˜ 둜그 ν…Œμ΄λΈ”", "columns": [{"name": "id_seq", "type": "bigint", "description": null}, {"name": "game_no", "type": "int", "description": "10053: λͺ¨λ°”일포컀, 10475: λͺ¨λ°”일섯닀"}, {"name": "data_id", "type": "string", "description": null}, {"name": "tno", "type": "string", "description": null}, {"name": "data_type", "type": "string", "description": null}, {"name": "log_type", "type": "string", "description": null}, {"name": "log_date", "type": "timestamp", "description": null}, {"name": "ival1", "type": "bigint", "description": null}, {"name": "ival2", "type": "bigint", "description": null}, {"name": "ival3", "type": "bigint", "description": null}, {"name": "sval1", "type": "string", "description": null}, {"name": "sval2", "type": "string", "description": null}, {"name": "sval3", "type": "string", "description": null}, {"name": "extra_data", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`common_data_log` ( `id_seq` bigint COMMENT 'None', `game_no` int COMMENT '10053: λͺ¨λ°”일포컀, 10475: λͺ¨λ°”일섯닀', `data_id` string COMMENT 'None', `tno` string COMMENT 'None', `data_type` string COMMENT 'None', `log_type` string COMMENT 'None', `log_date` timestamp COMMENT 'None', `ival1` bigint COMMENT 'None', `ival2` bigint COMMENT 'None', `ival3` bigint COMMENT 'None', `sval1` string COMMENT 'None', `sval2` string COMMENT 'None', `sval3` string COMMENT 'None', `extra_data` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "friendbattle_invitee", "description": null, "columns": [{"name": "idx", "type": "bigint", "description": null}, {"name": "invitee", "type": "bigint", "description": null}, {"name": "inviter", "type": "bigint", "description": null}, {"name": "inviter_nickname", "type": "string", "description": null}, {"name": "channel_id", "type": "string", "description": null}, {"name": "room_id", "type": "int", "description": null}, {"name": "room_no", "type": "int", "description": null}, {"name": "game_type", "type": "string", "description": "Baduki, Poker7, Holdem, Highlow"}, {"name": "game_seed", "type": "bigint", "description": null}, {"name": "create_time", "type": "timestamp", "description": null}, {"name": "confirm", "type": "tinyint", "description": "0:미확인, 1:확인"}]}
CREATE TABLE `mobile_poker_db`.`friendbattle_invitee` ( `idx` bigint COMMENT 'None', `invitee` bigint COMMENT 'None', `inviter` bigint COMMENT 'None', `inviter_nickname` string COMMENT 'None', `channel_id` string COMMENT 'None', `room_id` int COMMENT 'None', `room_no` int COMMENT 'None', `game_type` string COMMENT 'Baduki, Poker7, Holdem, Highlow', `game_seed` bigint COMMENT 'None', `create_time` timestamp COMMENT 'None', `confirm` tinyint COMMENT '0:미확인, 1:확인' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "friendsystem_login_hist", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "login_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`friendsystem_login_hist` ( `sno` bigint COMMENT 'None', `nickname` string COMMENT 'None', `login_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "friendsystem_user_location", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": null}, {"name": "channel_id", "type": "string", "description": null}, {"name": "location", "type": "string", "description": "LOGIN, LOBBY, LUCKYLAND"}, {"name": "login_date", "type": "timestamp", "description": null}, {"name": "game_money", "type": "bigint", "description": null}, {"name": "win_count", "type": "bigint", "description": null}, {"name": "defeat_count", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`friendsystem_user_location` ( `sno` bigint COMMENT 'None', `channel_id` string COMMENT 'None', `location` string COMMENT 'LOGIN, LOBBY, LUCKYLAND', `login_date` timestamp COMMENT 'None', `game_money` bigint COMMENT 'None', `win_count` bigint COMMENT 'None', `defeat_count` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "game_analytics", "description": null, "columns": [{"name": "logseq", "type": "bigint", "description": null}, {"name": "eventtype", "type": "string", "description": null}, {"name": "eventcode", "type": "string", "description": null}, {"name": "param1", "type": "string", "description": "eventType SCENE : 씬별 μ ‘κ·Ό 횟수(json), eventType Click : 클릭 횟수(json)"}, {"name": "param2", "type": "string", "description": null}, {"name": "value", "type": "double", "description": "eventType SCENE : 씬 μ ‘κ·Ό 횟수 총 ν•©, eventType Click : 클릭 횟수 총 ν•©"}, {"name": "level", "type": "bigint", "description": null}, {"name": "logdate", "type": "timestamp", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "deviceid", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`game_analytics` ( `logseq` bigint COMMENT 'None', `eventtype` string COMMENT 'None', `eventcode` string COMMENT 'None', `param1` string COMMENT 'eventType SCENE : 씬별 μ ‘κ·Ό 횟수(json), eventType Click : 클릭 횟수(json)', `param2` string COMMENT 'None', `value` double COMMENT 'eventType SCENE : 씬 μ ‘κ·Ό 횟수 총 ν•©, eventType Click : 클릭 횟수 총 ν•©', `level` bigint COMMENT 'None', `logdate` timestamp COMMENT 'None', `sno` bigint COMMENT 'None', `deviceid` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "highlow_game_result_log", "description": null, "columns": [{"name": "match_no", "type": "bigint", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "hid", "type": "string", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "duel_room", "type": "int", "description": "0:μ•„λ‹˜, 1:맞음"}, {"name": "duel_startmoney", "type": "bigint", "description": null}, {"name": "duel_channel", "type": "bigint", "description": null}, {"name": "player_index", "type": "int", "description": null}, {"name": "start_card", "type": "string", "description": null}, {"name": "choice_card", "type": "string", "description": null}, {"name": "open_card", "type": "string", "description": null}, {"name": "turn4_card", "type": "string", "description": null}, {"name": "turn5_card", "type": "string", "description": null}, {"name": "turn6_card", "type": "string", "description": null}, {"name": "turn7_card", "type": "string", "description": null}, {"name": "turn4_betting", "type": "string", "description": null}, {"name": "turn5_betting", "type": "string", "description": null}, {"name": "turn6_betting", "type": "string", "description": null}, {"name": "turn7_betting", "type": "string", "description": null}, {"name": "split", "type": "string", "description": null}, {"name": "high_jokbo_code", "type": "int", "description": null}, {"name": "high_jokbo_string", "type": "string", "description": null}, {"name": "low_jokbo_code", "type": "int", "description": null}, {"name": "low_jokbo_string", "type": "string", "description": null}, {"name": "boss", "type": "int", "description": "0:μ•„λ‹˜, 1:맞음"}, {"name": "win", "type": "int", "description": "0:μ•„λ‹˜, 1:맞음"}, {"name": "win_split", "type": "string", "description": null}, {"name": "seed_money", "type": "bigint", "description": null}, {"name": "dealer_money", "type": "bigint", "description": null}, {"name": "betting_money", "type": "bigint", "description": null}, {"name": "ddang_money", "type": "bigint", "description": null}, {"name": "jackpot_money", "type": "bigint", "description": null}, {"name": "change_money", "type": "bigint", "description": null}, {"name": "cur_game_money", "type": "bigint", "description": null}, {"name": "pre_game_money", "type": "bigint", "description": null}, {"name": "start_date", "type": "timestamp", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "game_kind", "type": "int", "description": "1: 일반, 10: μΌλŒ€μΌ, 11: μΉœκ΅¬λŒ€μ „, 12λŒ€λ°• κ²½κΈ°, \n21 ~40 코인경기, \n51 골든 홀덀\n1001~3000 ν† λ„ˆλ¨ΌνŠΈ"}, {"name": "work_ymd", "type": "bigint", "description": null}, {"name": "betting_time", "type": "string", "description": null}, {"name": "betting_avg", "type": "int", "description": null}, {"name": "market_code", "type": "string", "description": null}]}
CREATE TABLE `mobile_poker_db`.`highlow_game_result_log` ( `match_no` bigint COMMENT 'None', `sno` bigint COMMENT 'None', `hid` string COMMENT 'None', `nickname` string COMMENT 'None', `duel_room` int COMMENT '0:μ•„λ‹˜, 1:맞음', `duel_startmoney` bigint COMMENT 'None', `duel_channel` bigint COMMENT 'None', `player_index` int COMMENT 'None', `start_card` string COMMENT 'None', `choice_card` string COMMENT 'None', `open_card` string COMMENT 'None', `turn4_card` string COMMENT 'None', `turn5_card` string COMMENT 'None', `turn6_card` string COMMENT 'None', `turn7_card` string COMMENT 'None', `turn4_betting` string COMMENT 'None', `turn5_betting` string COMMENT 'None', `turn6_betting` string COMMENT 'None', `turn7_betting` string COMMENT 'None', `split` string COMMENT 'None', `high_jokbo_code` int COMMENT 'None', `high_jokbo_string` string COMMENT 'None', `low_jokbo_code` int COMMENT 'None', `low_jokbo_string` string COMMENT 'None', `boss` int COMMENT '0:μ•„λ‹˜, 1:맞음', `win` int COMMENT '0:μ•„λ‹˜, 1:맞음', `win_split` string COMMENT 'None', `seed_money` bigint COMMENT 'None', `dealer_money` bigint COMMENT 'None', `betting_money` bigint COMMENT 'None', `ddang_money` bigint COMMENT 'None', `jackpot_money` bigint COMMENT 'None', `change_money` bigint COMMENT 'None', `cur_game_money` bigint COMMENT 'None', `pre_game_money` bigint COMMENT 'None', `start_date` timestamp COMMENT 'None', `last_date` timestamp COMMENT 'None', `game_kind` int COMMENT '1: 일반, 10: μΌλŒ€μΌ, 11: μΉœκ΅¬λŒ€μ „, 12λŒ€λ°• κ²½κΈ°, 21 ~40 코인경기, 51 골든 홀덀 1001~3000 ν† λ„ˆλ¨ΌνŠΈ', `work_ymd` bigint COMMENT 'None', `betting_time` string COMMENT 'None', `betting_avg` int COMMENT 'None', `market_code` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "holdem_game_result_log", "description": null, "columns": [{"name": "match_no", "type": "bigint", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "hid", "type": "string", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "duel_room", "type": "int", "description": null}, {"name": "duel_startmoney", "type": "bigint", "description": null}, {"name": "duel_channel", "type": "bigint", "description": null}, {"name": "player_index", "type": "int", "description": null}, {"name": "start_card", "type": "string", "description": null}, {"name": "room_card", "type": "string", "description": null}, {"name": "bet1", "type": "string", "description": null}, {"name": "bet2", "type": "string", "description": null}, {"name": "bet3", "type": "string", "description": null}, {"name": "bet4", "type": "string", "description": null}, {"name": "jokbo_code", "type": "int", "description": null}, {"name": "jokbo_string", "type": "string", "description": null}, {"name": "boss", "type": "int", "description": null}, {"name": "win", "type": "int", "description": null}, {"name": "small_blind_money", "type": "bigint", "description": null}, {"name": "big_blind_money", "type": "bigint", "description": null}, {"name": "seed_money", "type": "bigint", "description": null}, {"name": "dealer_money", "type": "bigint", "description": null}, {"name": "betting_money", "type": "bigint", "description": null}, {"name": "ddang_money", "type": "bigint", "description": null}, {"name": "jackpot_money", "type": "bigint", "description": null}, {"name": "change_money", "type": "bigint", "description": null}, {"name": "cur_game_money", "type": "bigint", "description": null}, {"name": "pre_game_money", "type": "bigint", "description": null}, {"name": "start_date", "type": "timestamp", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "game_kind", "type": "int", "description": "1: 일반, 10: μΌλŒ€μΌ, 11: μΉœκ΅¬λŒ€μ „, 12λŒ€λ°• κ²½κΈ°, \n21 ~40 코인경기, \n51 골든 홀덀\n1001~3000 ν† λ„ˆλ¨ΌνŠΈ"}, {"name": "work_ymd", "type": "bigint", "description": null}, {"name": "betting_time", "type": "string", "description": null}, {"name": "betting_avg", "type": "int", "description": null}, {"name": "market_code", "type": "string", "description": null}]}
CREATE TABLE `mobile_poker_db`.`holdem_game_result_log` ( `match_no` bigint COMMENT 'None', `sno` bigint COMMENT 'None', `hid` string COMMENT 'None', `nickname` string COMMENT 'None', `duel_room` int COMMENT 'None', `duel_startmoney` bigint COMMENT 'None', `duel_channel` bigint COMMENT 'None', `player_index` int COMMENT 'None', `start_card` string COMMENT 'None', `room_card` string COMMENT 'None', `bet1` string COMMENT 'None', `bet2` string COMMENT 'None', `bet3` string COMMENT 'None', `bet4` string COMMENT 'None', `jokbo_code` int COMMENT 'None', `jokbo_string` string COMMENT 'None', `boss` int COMMENT 'None', `win` int COMMENT 'None', `small_blind_money` bigint COMMENT 'None', `big_blind_money` bigint COMMENT 'None', `seed_money` bigint COMMENT 'None', `dealer_money` bigint COMMENT 'None', `betting_money` bigint COMMENT 'None', `ddang_money` bigint COMMENT 'None', `jackpot_money` bigint COMMENT 'None', `change_money` bigint COMMENT 'None', `cur_game_money` bigint COMMENT 'None', `pre_game_money` bigint COMMENT 'None', `start_date` timestamp COMMENT 'None', `last_date` timestamp COMMENT 'None', `game_kind` int COMMENT '1: 일반, 10: μΌλŒ€μΌ, 11: μΉœκ΅¬λŒ€μ „, 12λŒ€λ°• κ²½κΈ°, 21 ~40 코인경기, 51 골든 홀덀 1001~3000 ν† λ„ˆλ¨ΌνŠΈ', `work_ymd` bigint COMMENT 'None', `betting_time` string COMMENT 'None', `betting_avg` int COMMENT 'None', `market_code` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_admin_change_log", "description": null, "columns": [{"name": "id_seq", "type": "bigint", "description": null}, {"name": "admin_key", "type": "string", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "change_type", "type": "int", "description": "0 : \"λ°”λ‘œ νšλ“\", 1-\"λ°”λ‘œ μ†Œμ§„, 2-\"선물함 지급\", 3-\"선물함 수령\", 4-\"선물함 μ‚­μ œ\", 5-\"μ–΄λ“œλ―Ό μΆ”κ°€\", 6-\"μ–΄λ“œλ―Ό λ³€κ²½\", 7-\"μ–΄λ“œλ―Ό μ‚­μ œ\""}, {"name": "item_type", "type": "int", "description": "1-\"λ¨Έλ‹ˆ\", 2-\"코인\""}, {"name": "before", "type": "bigint", "description": null}, {"name": "after", "type": "bigint", "description": null}, {"name": "change", "type": "bigint", "description": null}, {"name": "extra_data", "type": "string", "description": null}, {"name": "registrant", "type": "string", "description": null}, {"name": "reg_timestamp", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_admin_change_log` ( `id_seq` bigint COMMENT 'None', `admin_key` string COMMENT 'None', `sno` bigint COMMENT 'None', `change_type` int COMMENT '0 : "λ°”λ‘œ νšλ“", 1-"λ°”λ‘œ μ†Œμ§„, 2-"선물함 지급", 3-"선물함 수령", 4-"선물함 μ‚­μ œ", 5-"μ–΄λ“œλ―Ό μΆ”κ°€", 6-"μ–΄λ“œλ―Ό λ³€κ²½", 7-"μ–΄λ“œλ―Ό μ‚­μ œ"', `item_type` int COMMENT '1-"λ¨Έλ‹ˆ", 2-"코인"', `before` bigint COMMENT 'None', `after` bigint COMMENT 'None', `change` bigint COMMENT 'None', `extra_data` string COMMENT 'None', `registrant` string COMMENT 'None', `reg_timestamp` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_asset", "description": "μœ μ € 기둝이 μ €μž₯된 ν…Œμ΄λΈ”", "columns": [{"name": "user_id", "type": "string", "description": "sno"}, {"name": "asset_name", "type": "string", "description": null}, {"name": "value1", "type": "bigint", "description": null}, {"name": "value2", "type": "bigint", "description": null}, {"name": "value3", "type": "bigint", "description": null}, {"name": "extra", "type": "string", "description": "json data"}, {"name": "join_date", "type": "timestamp", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_asset` ( `user_id` string COMMENT 'sno', `asset_name` string COMMENT 'None', `value1` bigint COMMENT 'None', `value2` bigint COMMENT 'None', `value3` bigint COMMENT 'None', `extra` string COMMENT 'json data', `join_date` timestamp COMMENT 'None', `last_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_definition", "description": null, "columns": [{"name": "code", "type": "int", "description": null}, {"name": "codename", "type": "string", "description": null}, {"name": "name", "type": "string", "description": null}, {"name": "desc", "type": "string", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_definition` ( `code` int COMMENT 'None', `codename` string COMMENT 'None', `name` string COMMENT 'None', `desc` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_event", "description": "각쒅 이벀트 μ§„ν–‰μ‹œ μ‚¬μš©λ˜λŠ” ν…Œμ΄λΈ”", "columns": [{"name": "event_id", "type": "string", "description": null}, {"name": "user_id", "type": "string", "description": "sno"}, {"name": "event_date", "type": "timestamp", "description": "\"1970-01-01\": static 이벀트 데이터, κ·Έ μ™Έ: daily 이벀트 데이터"}, {"name": "ival1", "type": "bigint", "description": null}, {"name": "ival2", "type": "bigint", "description": null}, {"name": "ival3", "type": "bigint", "description": null}, {"name": "sval", "type": "string", "description": null}, {"name": "extra_data", "type": "string", "description": "json data"}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_event` ( `event_id` string COMMENT 'None', `user_id` string COMMENT 'sno', `event_date` timestamp COMMENT '"1970-01-01": static 이벀트 데이터, κ·Έ μ™Έ: daily 이벀트 데이터', `ival1` bigint COMMENT 'None', `ival2` bigint COMMENT 'None', `ival3` bigint COMMENT 'None', `sval` string COMMENT 'None', `extra_data` string COMMENT 'json data', `last_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_event_log", "description": "각쒅 μ΄λ²€νŠΈμ— κ΄€λ ¨λœ μ•‘μ…˜μ΄ λ°œμƒν• λ•Œ κΈ°λ‘ν•˜λŠ” 둜그 ν…Œμ΄λΈ”", "columns": [{"name": "id_seq", "type": "bigint", "description": null}, {"name": "event_id", "type": "string", "description": null}, {"name": "user_id", "type": "string", "description": "sno"}, {"name": "log_type", "type": "string", "description": null}, {"name": "ival1", "type": "bigint", "description": null}, {"name": "ival2", "type": "bigint", "description": null}, {"name": "ival3", "type": "bigint", "description": null}, {"name": "sval1", "type": "string", "description": null}, {"name": "sval2", "type": "string", "description": null}, {"name": "sval3", "type": "string", "description": null}, {"name": "extra_data", "type": "string", "description": null}, {"name": "log_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_event_log` ( `id_seq` bigint COMMENT 'None', `event_id` string COMMENT 'None', `user_id` string COMMENT 'sno', `log_type` string COMMENT 'None', `ival1` bigint COMMENT 'None', `ival2` bigint COMMENT 'None', `ival3` bigint COMMENT 'None', `sval1` string COMMENT 'None', `sval2` string COMMENT 'None', `sval3` string COMMENT 'None', `extra_data` string COMMENT 'None', `log_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_friendly_match_invitation_message", "description": "μ΄ˆλŒ€ 리슀트", "columns": [{"name": "id_seq", "type": "bigint", "description": null}, {"name": "my_user_id", "type": "string", "description": "sno"}, {"name": "inviter_user_id", "type": "string", "description": "sno"}, {"name": "game_type", "type": "int", "description": "2 :2μž₯ μ„―λ‹€, 3: 3μž₯ μ„―λ‹€, 11: 홀덀 μ„―λ‹€, 21: 섯둑이, 99: λͺ¨λ“  κ²Œμž„"}, {"name": "room_type", "type": "int", "description": "1: 일반룸, 2: ν† λ„ˆλ¨ΌνŠΈλ£Έ, 3: 코인룸, 4: μΉœμ„ λŒ€μ „λ£Έ, 5: μΉœμ„ λŒ€μ „ 코인룸"}, {"name": "seed_money", "type": "bigint", "description": null}, {"name": "room_number", "type": "int", "description": null}, {"name": "room_key", "type": "bigint", "description": null}, {"name": "send_date", "type": "timestamp", "description": null}, {"name": "expire_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_friendly_match_invitation_message` ( `id_seq` bigint COMMENT 'None', `my_user_id` string COMMENT 'sno', `inviter_user_id` string COMMENT 'sno', `game_type` int COMMENT '2 :2μž₯ μ„―λ‹€, 3: 3μž₯ μ„―λ‹€, 11: 홀덀 μ„―λ‹€, 21: 섯둑이, 99: λͺ¨λ“  κ²Œμž„', `room_type` int COMMENT '1: 일반룸, 2: ν† λ„ˆλ¨ΌνŠΈλ£Έ, 3: 코인룸, 4: μΉœμ„ λŒ€μ „λ£Έ, 5: μΉœμ„ λŒ€μ „ 코인룸', `seed_money` bigint COMMENT 'None', `room_number` int COMMENT 'None', `room_key` bigint COMMENT 'None', `send_date` timestamp COMMENT 'None', `expire_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_friendly_match_user", "description": "졜근 ν”Œλ ˆμ΄ν•œ μœ μ € 리슀트, 즐겨찾기", "columns": [{"name": "id_seq", "type": "bigint", "description": null}, {"name": "my_user_id", "type": "string", "description": "sno"}, {"name": "other_user_id", "type": "string", "description": "sno"}, {"name": "reg_type", "type": "int", "description": "1: 졜근 ν”Œλ ˆμ΄ν•œ μœ μ €, 2: 즐겨찾기 μœ μ €"}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "invitation_expire_date", "type": "timestamp", "description": "\"1970-01-01 00:00:00\": μ΄ˆλŒ€ 받지 μ•ŠμŒ, κ·Έ μ™Έ: μ΄ˆλŒ€ λ°›μŒ"}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_friendly_match_user` ( `id_seq` bigint COMMENT 'None', `my_user_id` string COMMENT 'sno', `other_user_id` string COMMENT 'sno', `reg_type` int COMMENT '1: 졜근 ν”Œλ ˆμ΄ν•œ μœ μ €, 2: 즐겨찾기 μœ μ €', `reg_date` timestamp COMMENT 'None', `invitation_expire_date` timestamp COMMENT '"1970-01-01 00:00:00": μ΄ˆλŒ€ 받지 μ•ŠμŒ, κ·Έ μ™Έ: μ΄ˆλŒ€ λ°›μŒ', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_game_result_log", "description": "μœ μ €λ³„ κ²Œμž„ κ²°κ³Ό 기둝", "columns": [{"name": "match_no", "type": "string", "description": "match_no, 재경기의 κ²½μš°λ„ μƒˆλ‘œ λ§Œλ“€μ–΄ 진닀."}, {"name": "user_id", "type": "string", "description": "sno"}, {"name": "nickname", "type": "string", "description": null}, {"name": "player_index", "type": "tinyint", "description": null}, {"name": "boss", "type": "tinyint", "description": null}, {"name": "room_type", "type": "tinyint", "description": "1: 일반룸, 2: ν† λ„ˆλ¨ΌνŠΈλ£Έ, 3: 코인룸, 4: μΉœμ„ λŒ€μ „λ£Έ, 5: μΉœμ„ λŒ€μ „ 코인룸"}, {"name": "game_type", "type": "tinyint", "description": "2 :2μž₯ μ„―λ‹€, 3: 3μž₯ μ„―λ‹€, 11: 홀덀 μ„―λ‹€, 21: 섯둑이, 99: λͺ¨λ“  κ²Œμž„"}, {"name": "blind_match", "type": "tinyint", "description": "0: 일반맀치, 1: λΈ”λΌμΈλ“œλ§€μΉ˜"}, {"name": "betting_option", "type": "tinyint", "description": "1: 111λ² νŒ…, 2: 222λ² νŒ…, 3: 333λ² νŒ…"}, {"name": "seed_money", "type": "bigint", "description": null}, {"name": "dealer_money", "type": "bigint", "description": null}, {"name": "rematch_type", "type": "tinyint", "description": "0: 일반, 1: ꡬ사 재경기, 2: 동점 재경기, 3: ꡬ사 ν›„ 결과판, 4: λ¬΄μŠΉλΆ€ ν›„ 결과판"}, {"name": "final_result", "type": "tinyint", "description": "0: μž¬κ²½κΈ°μ‹œ, 1: μ΅œμ’…κ²°κ³Ό"}, {"name": "rematch_join", "type": "tinyint", "description": "0: 재경기 유료 μ°Έκ°€μ•ˆν•¨, 1: 재경기 유료 μ°Έκ°€"}, {"name": "rematch_fee", "type": "bigint", "description": null}, {"name": "card", "type": "string", "description": null}, {"name": "open_card", "type": "string", "description": null}, {"name": "card_pair", "type": "string", "description": null}, {"name": "selected_card_pair", "type": "string", "description": null}, {"name": "betting_info", "type": "string", "description": null}, {"name": "betting_money", "type": "bigint", "description": null}, {"name": "pre_game_money", "type": "bigint", "description": null}, {"name": "change_money", "type": "bigint", "description": null}, {"name": "cur_game_money", "type": "bigint", "description": null}, {"name": "ddang_money", "type": "bigint", "description": null}, {"name": "win", "type": "tinyint", "description": "0: 패배, 1: 승리, 2: 재경기"}, {"name": "start_date", "type": "timestamp", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "change_ranking_point", "type": "int", "description": "νšλ“ λž­ν‚Ή 포인트"}, {"name": "cur_ranking_point", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}, {"name": "jackpot_money", "type": "bigint", "description": null}, {"name": "bad_beat_money", "type": "bigint", "description": null}, {"name": "jackpot_type", "type": "tinyint", "description": "0: λ‹Ήμ²¨μ•ˆλ¨, 1: λ―Έλ‹ˆ, 2: λŒ€λ°•, 3: μ΄ˆλŒ€λ°•"}, {"name": "bad_beat_type", "type": "tinyint", "description": "0: λ‹Ήμ²¨μ•ˆλ¨, 1: λ―Έλ‹ˆ, 2: λŒ€λ°•, 3: μ΄ˆλŒ€λ°•"}, {"name": "market_code", "type": "string", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_game_result_log` ( `match_no` string COMMENT 'match_no, 재경기의 κ²½μš°λ„ μƒˆλ‘œ λ§Œλ“€μ–΄ 진닀.', `user_id` string COMMENT 'sno', `nickname` string COMMENT 'None', `player_index` tinyint COMMENT 'None', `boss` tinyint COMMENT 'None', `room_type` tinyint COMMENT '1: 일반룸, 2: ν† λ„ˆλ¨ΌνŠΈλ£Έ, 3: 코인룸, 4: μΉœμ„ λŒ€μ „λ£Έ, 5: μΉœμ„ λŒ€μ „ 코인룸', `game_type` tinyint COMMENT '2 :2μž₯ μ„―λ‹€, 3: 3μž₯ μ„―λ‹€, 11: 홀덀 μ„―λ‹€, 21: 섯둑이, 99: λͺ¨λ“  κ²Œμž„', `blind_match` tinyint COMMENT '0: 일반맀치, 1: λΈ”λΌμΈλ“œλ§€μΉ˜', `betting_option` tinyint COMMENT '1: 111λ² νŒ…, 2: 222λ² νŒ…, 3: 333λ² νŒ…', `seed_money` bigint COMMENT 'None', `dealer_money` bigint COMMENT 'None', `rematch_type` tinyint COMMENT '0: 일반, 1: ꡬ사 재경기, 2: 동점 재경기, 3: ꡬ사 ν›„ 결과판, 4: λ¬΄μŠΉλΆ€ ν›„ 결과판', `final_result` tinyint COMMENT '0: μž¬κ²½κΈ°μ‹œ, 1: μ΅œμ’…κ²°κ³Ό', `rematch_join` tinyint COMMENT '0: 재경기 유료 μ°Έκ°€μ•ˆν•¨, 1: 재경기 유료 μ°Έκ°€', `rematch_fee` bigint COMMENT 'None', `card` string COMMENT 'None', `open_card` string COMMENT 'None', `card_pair` string COMMENT 'None', `selected_card_pair` string COMMENT 'None', `betting_info` string COMMENT 'None', `betting_money` bigint COMMENT 'None', `pre_game_money` bigint COMMENT 'None', `change_money` bigint COMMENT 'None', `cur_game_money` bigint COMMENT 'None', `ddang_money` bigint COMMENT 'None', `win` tinyint COMMENT '0: 패배, 1: 승리, 2: 재경기', `start_date` timestamp COMMENT 'None', `last_date` timestamp COMMENT 'None', `change_ranking_point` int COMMENT 'νšλ“ λž­ν‚Ή 포인트', `cur_ranking_point` bigint COMMENT 'None', `work_ymd` bigint COMMENT 'None', `jackpot_money` bigint COMMENT 'None', `bad_beat_money` bigint COMMENT 'None', `jackpot_type` tinyint COMMENT '0: λ‹Ήμ²¨μ•ˆλ¨, 1: λ―Έλ‹ˆ, 2: λŒ€λ°•, 3: μ΄ˆλŒ€λ°•', `bad_beat_type` tinyint COMMENT '0: λ‹Ήμ²¨μ•ˆλ¨, 1: λ―Έλ‹ˆ, 2: λŒ€λ°•, 3: μ΄ˆλŒ€λ°•', `market_code` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_hall_of_fame", "description": "λͺ…μ˜ˆμ˜ 전당에 λ³΄μ—¬μ§€λŠ” ν…Œμ΄λΈ”", "columns": [{"name": "user_id", "type": "string", "description": "sno"}, {"name": "ranking", "type": "int", "description": "λͺ…μ˜ˆμ˜ μ „λ‹Ή μˆœμœ„"}, {"name": "ranking_factor", "type": "int", "description": "λž­ν‚Ή ꡬ뢄 아이디"}, {"name": "grade_json_data", "type": "string", "description": "json data, λ“±κΈ‰ 달성 카운트 맡"}, {"name": "grade_sum", "type": "bigint", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_hall_of_fame` ( `user_id` string COMMENT 'sno', `ranking` int COMMENT 'λͺ…μ˜ˆμ˜ μ „λ‹Ή μˆœμœ„', `ranking_factor` int COMMENT 'λž­ν‚Ή ꡬ뢄 아이디', `grade_json_data` string COMMENT 'json data, λ“±κΈ‰ 달성 카운트 맡', `grade_sum` bigint COMMENT 'None', `last_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_inventory", "description": "μœ μ € 보유 μ•„μ΄ν…œ 정보", "columns": [{"name": "item_sid", "type": "bigint", "description": null}, {"name": "user_id", "type": "string", "description": "sno"}, {"name": "item_id", "type": "int", "description": "Shop_Product_Item ν…Œμ΄λΈ” extra_data에 item_id"}, {"name": "item_type", "type": "int", "description": "Shop_Product_Item ν…Œμ΄λΈ” item_type"}, {"name": "inven_category", "type": "int", "description": "0: NONE, 1: ITEM, 2: AVATAR, 3: RARE_AVATAR, 4: MEMBERSHIP, 5: LiveOps, 6: COUPON, 7: COUNT"}, {"name": "quantity", "type": "int", "description": null}, {"name": "use_count", "type": "int", "description": null}, {"name": "value", "type": "bigint", "description": null}, {"name": "start_date", "type": "timestamp", "description": null}, {"name": "end_date", "type": "timestamp", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_inventory` ( `item_sid` bigint COMMENT 'None', `user_id` string COMMENT 'sno', `item_id` int COMMENT 'Shop_Product_Item ν…Œμ΄λΈ” extra_data에 item_id', `item_type` int COMMENT 'Shop_Product_Item ν…Œμ΄λΈ” item_type', `inven_category` int COMMENT '0: NONE, 1: ITEM, 2: AVATAR, 3: RARE_AVATAR, 4: MEMBERSHIP, 5: LiveOps, 6: COUPON, 7: COUNT', `quantity` int COMMENT 'None', `use_count` int COMMENT 'None', `value` bigint COMMENT 'None', `start_date` timestamp COMMENT 'None', `end_date` timestamp COMMENT 'None', `last_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_mail", "description": "μœ μ € 메일 정보", "columns": [{"name": "message_id", "type": "bigint", "description": null}, {"name": "user_id", "type": "string", "description": "sno"}, {"name": "reg_date", "type": "timestamp", "description": "보관함 지급 μ‹œκ°„"}, {"name": "sender_info", "type": "string", "description": "보낸 μ‚¬μš©μž sno, λ‹‰λ„€μž„, μ–΄λ“œλ―Ό 지급, 이벀트 정보"}, {"name": "message_category", "type": "tinyint", "description": "0: NONE, 1: NOTICE, 2: GIFT, 3: EVENT, 4: SHOP, 5: NOTICE_2ND, 6: SAVE_COIN"}, {"name": "message_data", "type": "string", "description": "json data"}, {"name": "checked", "type": "tinyint", "description": "0: NEW, 1: READ, 2: COMPLETE"}, {"name": "expire_date", "type": "timestamp", "description": null}, {"name": "complete_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_mail` ( `message_id` bigint COMMENT 'None', `user_id` string COMMENT 'sno', `reg_date` timestamp COMMENT '보관함 지급 μ‹œκ°„', `sender_info` string COMMENT '보낸 μ‚¬μš©μž sno, λ‹‰λ„€μž„, μ–΄λ“œλ―Ό 지급, 이벀트 정보', `message_category` tinyint COMMENT '0: NONE, 1: NOTICE, 2: GIFT, 3: EVENT, 4: SHOP, 5: NOTICE_2ND, 6: SAVE_COIN', `message_data` string COMMENT 'json data', `checked` tinyint COMMENT '0: NEW, 1: READ, 2: COMPLETE', `expire_date` timestamp COMMENT 'None', `complete_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_membership_push", "description": "멀버십 λ§Œλ£Œμ „ ꡬ맀 μ•Œλ¦Ό ν‘Έμ‹œ ν…Œμ΄λΈ”", "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "user_id", "type": "string", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "d3_date", "type": "timestamp", "description": "D-3일 κΈ°μ€€ push λ°œμ†‘μ‹œκ°„"}, {"name": "d3_flag", "type": "int", "description": null}, {"name": "d1_date", "type": "timestamp", "description": "D-1일 κΈ°μ€€ push λ°œμ†‘μ‹œκ°„"}, {"name": "d1_flag", "type": "int", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_membership_push` ( `seq` bigint COMMENT 'None', `user_id` string COMMENT 'None', `nickname` string COMMENT 'None', `d3_date` timestamp COMMENT 'D-3일 κΈ°μ€€ push λ°œμ†‘μ‹œκ°„', `d3_flag` int COMMENT 'None', `d1_date` timestamp COMMENT 'D-1일 κΈ°μ€€ push λ°œμ†‘μ‹œκ°„', `d1_flag` int COMMENT 'None', `reg_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_ranking", "description": "μœ μ €λ³„ λž­ν‚Ή 정보", "columns": [{"name": "user_id", "type": "string", "description": "sno"}, {"name": "season", "type": "string", "description": null}, {"name": "ranking_factor", "type": "int", "description": "λž­ν‚Ή ꡬ뢄 아이디"}, {"name": "start_ranking_point", "type": "int", "description": null}, {"name": "ranking_point", "type": "bigint", "description": null}, {"name": "win_ranking_point", "type": "bigint", "description": null}, {"name": "win_game_money", "type": "bigint", "description": null}, {"name": "win_count", "type": "int", "description": null}, {"name": "lose_ranking_point", "type": "bigint", "description": null}, {"name": "lose_game_money", "type": "bigint", "description": null}, {"name": "lose_count", "type": "int", "description": null}, {"name": "ranking", "type": "int", "description": null}, {"name": "percentage", "type": "tinyint", "description": null}, {"name": "reward_item_type", "type": "tinyint", "description": null}, {"name": "reward_state", "type": "tinyint", "description": "0: λ³΄μƒμ…‹νŒ…λ˜μ§€ μ•ŠμŒ, 1: 보상받기 κ°€λŠ₯, 2: 보상받아감"}, {"name": "reward_value", "type": "bigint", "description": null}, {"name": "new_season_alert_state", "type": "tinyint", "description": "0: μ•Œλ¦Ό μƒνƒœ μ…‹νŒ…λ˜μ§€ μ•ŠμŒ, 1: μƒˆλ‘œμš΄ μ‹œμ¦Œ μ•Œλ¦Ό 보내지 μ•ŠμŒ, 2: μ•Œλ¦Ό 보냄"}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "grade", "type": "string", "description": "ν˜„μž¬ λž­ν‚Ή λ“±κΈ‰"}]}
CREATE TABLE `mobile_poker_db`.`msg_ranking` ( `user_id` string COMMENT 'sno', `season` string COMMENT 'None', `ranking_factor` int COMMENT 'λž­ν‚Ή ꡬ뢄 아이디', `start_ranking_point` int COMMENT 'None', `ranking_point` bigint COMMENT 'None', `win_ranking_point` bigint COMMENT 'None', `win_game_money` bigint COMMENT 'None', `win_count` int COMMENT 'None', `lose_ranking_point` bigint COMMENT 'None', `lose_game_money` bigint COMMENT 'None', `lose_count` int COMMENT 'None', `ranking` int COMMENT 'None', `percentage` tinyint COMMENT 'None', `reward_item_type` tinyint COMMENT 'None', `reward_state` tinyint COMMENT '0: λ³΄μƒμ…‹νŒ…λ˜μ§€ μ•ŠμŒ, 1: 보상받기 κ°€λŠ₯, 2: 보상받아감', `reward_value` bigint COMMENT 'None', `new_season_alert_state` tinyint COMMENT '0: μ•Œλ¦Ό μƒνƒœ μ…‹νŒ…λ˜μ§€ μ•ŠμŒ, 1: μƒˆλ‘œμš΄ μ‹œμ¦Œ μ•Œλ¦Ό 보내지 μ•ŠμŒ, 2: μ•Œλ¦Ό 보냄', `last_date` timestamp COMMENT 'None', `grade` string COMMENT 'ν˜„μž¬ λž­ν‚Ή λ“±κΈ‰' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_rat", "description": "μœ μ € 정보", "columns": [{"name": "user_id", "type": "string", "description": "sno"}, {"name": "ci", "type": "string", "description": null}, {"name": "tno", "type": "string", "description": null}, {"name": "hid", "type": "string", "description": null}, {"name": "oauth_id", "type": "string", "description": null}, {"name": "oauth_provider", "type": "string", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "birthday", "type": "string", "description": null}, {"name": "avatar_id", "type": "int", "description": null}, {"name": "hand_skin_id", "type": "int", "description": null}, {"name": "level", "type": "int", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "user_option", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}, {"name": "card_skin_id", "type": "int", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_rat` ( `user_id` string COMMENT 'sno', `ci` string COMMENT 'None', `tno` string COMMENT 'None', `hid` string COMMENT 'None', `oauth_id` string COMMENT 'None', `oauth_provider` string COMMENT 'None', `nickname` string COMMENT 'None', `birthday` string COMMENT 'None', `avatar_id` int COMMENT 'None', `hand_skin_id` int COMMENT 'None', `level` int COMMENT 'None', `last_date` timestamp COMMENT 'None', `reg_date` timestamp COMMENT 'None', `user_option` string COMMENT 'None', `work_ymd` bigint COMMENT 'None', `card_skin_id` int COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_shop_product", "description": "μƒν’ˆ 데이터 관리 ν…Œμ΄λΈ”", "columns": [{"name": "product_id", "type": "string", "description": null}, {"name": "product_name", "type": "string", "description": null}, {"name": "pay_type", "type": "int", "description": "1: κ²Œμž„λ¨Έλ‹ˆ, 2: 코인, 3: 보석, 99: μŠ€ν† μ–΄κ²°μ œ"}, {"name": "pay_price", "type": "bigint", "description": null}, {"name": "start_date", "type": "timestamp", "description": null}, {"name": "end_date", "type": "timestamp", "description": null}, {"name": "client_extra_data", "type": "string", "description": "json data"}, {"name": "server_extra_data", "type": "string", "description": "json data"}]}
CREATE TABLE `mobile_poker_db`.`msg_shop_product` ( `product_id` string COMMENT 'None', `product_name` string COMMENT 'None', `pay_type` int COMMENT '1: κ²Œμž„λ¨Έλ‹ˆ, 2: 코인, 3: 보석, 99: μŠ€ν† μ–΄κ²°μ œ', `pay_price` bigint COMMENT 'None', `start_date` timestamp COMMENT 'None', `end_date` timestamp COMMENT 'None', `client_extra_data` string COMMENT 'json data', `server_extra_data` string COMMENT 'json data' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_shop_product_id", "description": "μŠ€ν† μ–΄ μƒν’ˆ 데이터 관리 ν…Œμ΄λΈ”", "columns": [{"name": "store_product_id", "type": "string", "description": "μŠ€ν† μ–΄μ— λ“±λ‘λœ μƒν’ˆ 아이디"}, {"name": "product_id", "type": "string", "description": "μΈκ²Œμž„ μƒν’ˆ 아이디"}, {"name": "extra_data", "type": "string", "description": "json data"}]}
CREATE TABLE `mobile_poker_db`.`msg_shop_product_id` ( `store_product_id` string COMMENT 'μŠ€ν† μ–΄μ— λ“±λ‘λœ μƒν’ˆ 아이디', `product_id` string COMMENT 'μΈκ²Œμž„ μƒν’ˆ 아이디', `extra_data` string COMMENT 'json data' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_shop_product_item", "description": "μƒν’ˆ κ΅¬λ§€μ‹œ μ§€κΈ‰λ˜λŠ” μ•„μ΄ν…œ 정보 ν…Œμ΄λΈ”", "columns": [{"name": "product_id", "type": "string", "description": null}, {"name": "item_type", "type": "int", "description": null}, {"name": "count", "type": "bigint", "description": null}, {"name": "extra_data", "type": "string", "description": "0: NONE, 1: κ²Œμž„λ¨Έλ‹ˆ, 2: 코인, 3: 보석, 4: κ°€μ°¨ ν‹°μΌ“, 5: μΆœμ„ μ•„μ΄ν…œ, 6: 아바타, 7: 1μ‘° 클럽, 8: μˆ˜ν–‰λ”œλŸ¬, 9: 금고 ν™•μž₯, 10: 아바타 μ‚¬μš©κΆŒ, 11: νšŒμ›μ œ, 12: 패μͺΌκΈ° μ•„μ΄ν…œ, 13: ν† λ„ˆλ¨ΌνŠΈ ν‹°μΌ“, 16: μ†μ‹€ν•œλ„ ν•˜ν–₯ μ•„μ΄ν…œ, 17: λ³΄λ„ˆμŠ€ 쿠폰, 18: 할인 쿠폰"}]}
CREATE TABLE `mobile_poker_db`.`msg_shop_product_item` ( `product_id` string COMMENT 'None', `item_type` int COMMENT 'None', `count` bigint COMMENT 'None', `extra_data` string COMMENT '0: NONE, 1: κ²Œμž„λ¨Έλ‹ˆ, 2: 코인, 3: 보석, 4: κ°€μ°¨ ν‹°μΌ“, 5: μΆœμ„ μ•„μ΄ν…œ, 6: 아바타, 7: 1μ‘° 클럽, 8: μˆ˜ν–‰λ”œλŸ¬, 9: 금고 ν™•μž₯, 10: 아바타 μ‚¬μš©κΆŒ, 11: νšŒμ›μ œ, 12: 패μͺΌκΈ° μ•„μ΄ν…œ, 13: ν† λ„ˆλ¨ΌνŠΈ ν‹°μΌ“, 16: μ†μ‹€ν•œλ„ ν•˜ν–₯ μ•„μ΄ν…œ, 17: λ³΄λ„ˆμŠ€ 쿠폰, 18: 할인 쿠폰' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_tournament_round", "description": "ν† λ„ˆλ¨ΌνŠΈ 별 λΌμš΄λ“œ 정보 ν…Œμ΄λΈ”", "columns": [{"name": "uid", "type": "int", "description": null}, {"name": "game_type", "type": "tinyint", "description": "2 :2μž₯ μ„―λ‹€, 3: 3μž₯ μ„―λ‹€, 11: 홀덀 μ„―λ‹€, 21: 섯둑이, 99: λͺ¨λ“  κ²Œμž„"}, {"name": "pre_round", "type": "int", "description": null}, {"name": "round", "type": "int", "description": null}, {"name": "reserve_user_count", "type": "int", "description": null}, {"name": "join_user_count", "type": "int", "description": null}, {"name": "join_user_count_by_prize", "type": "int", "description": null}, {"name": "reward_complete_user_count", "type": "int", "description": null}, {"name": "money_update_complete_user_count", "type": "int", "description": null}, {"name": "pre_state", "type": "tinyint", "description": "1: END, 2: RESERVE, 3: WAIT, 4: START, 5: ONGOING, 6: MAKING_SEASON_RESULT"}, {"name": "state", "type": "tinyint", "description": "1: END, 2: RESERVE, 3: WAIT, 4: START, 5: ONGOING, 6: MAKING_SEASON_RESULT"}, {"name": "last_update_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_tournament_round` ( `uid` int COMMENT 'None', `game_type` tinyint COMMENT '2 :2μž₯ μ„―λ‹€, 3: 3μž₯ μ„―λ‹€, 11: 홀덀 μ„―λ‹€, 21: 섯둑이, 99: λͺ¨λ“  κ²Œμž„', `pre_round` int COMMENT 'None', `round` int COMMENT 'None', `reserve_user_count` int COMMENT 'None', `join_user_count` int COMMENT 'None', `join_user_count_by_prize` int COMMENT 'None', `reward_complete_user_count` int COMMENT 'None', `money_update_complete_user_count` int COMMENT 'None', `pre_state` tinyint COMMENT '1: END, 2: RESERVE, 3: WAIT, 4: START, 5: ONGOING, 6: MAKING_SEASON_RESULT', `state` tinyint COMMENT '1: END, 2: RESERVE, 3: WAIT, 4: START, 5: ONGOING, 6: MAKING_SEASON_RESULT', `last_update_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_tournament_top_user", "description": "μ—­λŒ€ ν† λ„ˆλ¨ΌνŠΈ μƒμœ„ 50μœ„ μœ μ € 정보 ν…Œμ΄λΈ”", "columns": [{"name": "uid", "type": "int", "description": null}, {"name": "round", "type": "int", "description": null}, {"name": "game_type", "type": "tinyint", "description": "2 :2μž₯ μ„―λ‹€, 3: 3μž₯ μ„―λ‹€, 11: 홀덀 μ„―λ‹€, 21: 섯둑이, 99: λͺ¨λ“  κ²Œμž„"}, {"name": "user_id", "type": "string", "description": "sno"}, {"name": "round_date", "type": "timestamp", "description": null}, {"name": "ranking", "type": "int", "description": null}, {"name": "reward", "type": "bigint", "description": null}, {"name": "win", "type": "int", "description": null}, {"name": "lose", "type": "int", "description": null}, {"name": "last_update_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_tournament_top_user` ( `uid` int COMMENT 'None', `round` int COMMENT 'None', `game_type` tinyint COMMENT '2 :2μž₯ μ„―λ‹€, 3: 3μž₯ μ„―λ‹€, 11: 홀덀 μ„―λ‹€, 21: 섯둑이, 99: λͺ¨λ“  κ²Œμž„', `user_id` string COMMENT 'sno', `round_date` timestamp COMMENT 'None', `ranking` int COMMENT 'None', `reward` bigint COMMENT 'None', `win` int COMMENT 'None', `lose` int COMMENT 'None', `last_update_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_tournament_user", "description": "ν† λ„ˆλ¨ΌνŠΈ μœ μ € 정보 ν…Œμ΄λΈ”", "columns": [{"name": "uid", "type": "int", "description": null}, {"name": "round", "type": "int", "description": null}, {"name": "game_type", "type": "tinyint", "description": "2 :2μž₯ μ„―λ‹€, 3: 3μž₯ μ„―λ‹€, 11: 홀덀 μ„―λ‹€, 21: 섯둑이, 99: λͺ¨λ“  κ²Œμž„"}, {"name": "user_id", "type": "string", "description": "sno"}, {"name": "ranking", "type": "int", "description": null}, {"name": "temp_ranking", "type": "int", "description": null}, {"name": "is_money_update", "type": "tinyint", "description": "0: μ΅œμ’… λ¨Έλ‹ˆ μ—…λ°μ΄νŠΈ λ―Έμ™„λ£Œ, 1: μ΅œμ’… λ¨Έλ‹ˆ μ—…λ°μ΄νŠΈ μ™„λ£Œ"}, {"name": "percentage", "type": "tinyint", "description": null}, {"name": "money", "type": "bigint", "description": null}, {"name": "reward_alert", "type": "tinyint", "description": "1: ν† λ„ˆλ¨ΌνŠΈ νƒˆλ½ ν˜Ήμ€ λ§ˆμ§€λ§‰ κΉŒμ§€ μ‚΄μ•„λ‚¨μŒ, 2 : ν† λ„ˆλ¨ΌνŠΈ λ£Έ 쑰인을 ν•˜μ§€ μ•Šμ€ μƒνƒœλ‘œ ν† λ„ˆλ¨ΌνŠΈ μ‹œμž‘ μ‹€νŒ¨, 3 : ν† λ„ˆλ¨ΌνŠΈ λ£Έ μ‘°μΈμƒνƒœμ—μ„œ ν† λ„ˆλ¨ΌνŠΈ μ‹œμž‘ μ‹€νŒ¨, 4 : ν† λ„ˆλ¨ΌνŠΈ μ‹œμž‘μ „ λ‚˜κ°, 10 : 보상 μ™„λ£Œ"}, {"name": "reward_quantity", "type": "bigint", "description": null}, {"name": "reward_date", "type": "timestamp", "description": null}, {"name": "win", "type": "int", "description": null}, {"name": "lose", "type": "int", "description": null}, {"name": "is_in_room", "type": "tinyint", "description": "0: κ²Œμž„λ£Έ λ°–, 1: κ²Œμž„λ£Έ μ•ˆ"}, {"name": "disconnect_count", "type": "tinyint", "description": null}, {"name": "disconnect_date", "type": "timestamp", "description": null}, {"name": "start_date", "type": "timestamp", "description": null}, {"name": "last_update_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_tournament_user` ( `uid` int COMMENT 'None', `round` int COMMENT 'None', `game_type` tinyint COMMENT '2 :2μž₯ μ„―λ‹€, 3: 3μž₯ μ„―λ‹€, 11: 홀덀 μ„―λ‹€, 21: 섯둑이, 99: λͺ¨λ“  κ²Œμž„', `user_id` string COMMENT 'sno', `ranking` int COMMENT 'None', `temp_ranking` int COMMENT 'None', `is_money_update` tinyint COMMENT '0: μ΅œμ’… λ¨Έλ‹ˆ μ—…λ°μ΄νŠΈ λ―Έμ™„λ£Œ, 1: μ΅œμ’… λ¨Έλ‹ˆ μ—…λ°μ΄νŠΈ μ™„λ£Œ', `percentage` tinyint COMMENT 'None', `money` bigint COMMENT 'None', `reward_alert` tinyint COMMENT '1: ν† λ„ˆλ¨ΌνŠΈ νƒˆλ½ ν˜Ήμ€ λ§ˆμ§€λ§‰ κΉŒμ§€ μ‚΄μ•„λ‚¨μŒ, 2 : ν† λ„ˆλ¨ΌνŠΈ λ£Έ 쑰인을 ν•˜μ§€ μ•Šμ€ μƒνƒœλ‘œ ν† λ„ˆλ¨ΌνŠΈ μ‹œμž‘ μ‹€νŒ¨, 3 : ν† λ„ˆλ¨ΌνŠΈ λ£Έ μ‘°μΈμƒνƒœμ—μ„œ ν† λ„ˆλ¨ΌνŠΈ μ‹œμž‘ μ‹€νŒ¨, 4 : ν† λ„ˆλ¨ΌνŠΈ μ‹œμž‘μ „ λ‚˜κ°, 10 : 보상 μ™„λ£Œ', `reward_quantity` bigint COMMENT 'None', `reward_date` timestamp COMMENT 'None', `win` int COMMENT 'None', `lose` int COMMENT 'None', `is_in_room` tinyint COMMENT '0: κ²Œμž„λ£Έ λ°–, 1: κ²Œμž„λ£Έ μ•ˆ', `disconnect_count` tinyint COMMENT 'None', `disconnect_date` timestamp COMMENT 'None', `start_date` timestamp COMMENT 'None', `last_update_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "poker7_game_result_log", "description": null, "columns": [{"name": "match_no", "type": "bigint", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "hid", "type": "string", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "duel_room", "type": "int", "description": "0:μ•„λ‹˜, 1:맞음"}, {"name": "duel_startmoney", "type": "bigint", "description": null}, {"name": "duel_channel", "type": "bigint", "description": null}, {"name": "player_index", "type": "int", "description": null}, {"name": "start_card", "type": "string", "description": null}, {"name": "choice_card", "type": "string", "description": null}, {"name": "open_card", "type": "string", "description": null}, {"name": "turn4_card", "type": "string", "description": null}, {"name": "turn5_card", "type": "string", "description": null}, {"name": "turn6_card", "type": "string", "description": null}, {"name": "turn7_card", "type": "string", "description": null}, {"name": "turn4_betting", "type": "string", "description": null}, {"name": "turn5_betting", "type": "string", "description": null}, {"name": "turn6_betting", "type": "string", "description": null}, {"name": "turn7_betting", "type": "string", "description": null}, {"name": "jokbo_code", "type": "int", "description": null}, {"name": "jokbo_string", "type": "string", "description": null}, {"name": "boss", "type": "int", "description": "0:μ•„λ‹˜, 1:맞음"}, {"name": "win", "type": "int", "description": "0:μ•„λ‹˜, 1:맞음"}, {"name": "seed_money", "type": "bigint", "description": null}, {"name": "dealer_money", "type": "bigint", "description": null}, {"name": "betting_money", "type": "bigint", "description": null}, {"name": "ddang_money", "type": "bigint", "description": null}, {"name": "jackpot_money", "type": "bigint", "description": null}, {"name": "change_money", "type": "bigint", "description": null}, {"name": "cur_game_money", "type": "bigint", "description": null}, {"name": "pre_game_money", "type": "bigint", "description": null}, {"name": "start_date", "type": "timestamp", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "game_kind", "type": "int", "description": "1: 일반, 10: μΌλŒ€μΌ, 11: μΉœκ΅¬λŒ€μ „, 12λŒ€λ°• κ²½κΈ°, \n21 ~40 코인경기, \n51 골든 홀덀\n1001~3000 ν† λ„ˆλ¨ΌνŠΈ"}, {"name": "work_ymd", "type": "bigint", "description": null}, {"name": "betting_time", "type": "string", "description": null}, {"name": "betting_avg", "type": "int", "description": null}, {"name": "market_code", "type": "string", "description": null}]}
CREATE TABLE `mobile_poker_db`.`poker7_game_result_log` ( `match_no` bigint COMMENT 'None', `sno` bigint COMMENT 'None', `hid` string COMMENT 'None', `nickname` string COMMENT 'None', `duel_room` int COMMENT '0:μ•„λ‹˜, 1:맞음', `duel_startmoney` bigint COMMENT 'None', `duel_channel` bigint COMMENT 'None', `player_index` int COMMENT 'None', `start_card` string COMMENT 'None', `choice_card` string COMMENT 'None', `open_card` string COMMENT 'None', `turn4_card` string COMMENT 'None', `turn5_card` string COMMENT 'None', `turn6_card` string COMMENT 'None', `turn7_card` string COMMENT 'None', `turn4_betting` string COMMENT 'None', `turn5_betting` string COMMENT 'None', `turn6_betting` string COMMENT 'None', `turn7_betting` string COMMENT 'None', `jokbo_code` int COMMENT 'None', `jokbo_string` string COMMENT 'None', `boss` int COMMENT '0:μ•„λ‹˜, 1:맞음', `win` int COMMENT '0:μ•„λ‹˜, 1:맞음', `seed_money` bigint COMMENT 'None', `dealer_money` bigint COMMENT 'None', `betting_money` bigint COMMENT 'None', `ddang_money` bigint COMMENT 'None', `jackpot_money` bigint COMMENT 'None', `change_money` bigint COMMENT 'None', `cur_game_money` bigint COMMENT 'None', `pre_game_money` bigint COMMENT 'None', `start_date` timestamp COMMENT 'None', `last_date` timestamp COMMENT 'None', `game_kind` int COMMENT '1: 일반, 10: μΌλŒ€μΌ, 11: μΉœκ΅¬λŒ€μ „, 12λŒ€λ°• κ²½κΈ°, 21 ~40 코인경기, 51 골든 홀덀 1001~3000 ν† λ„ˆλ¨ΌνŠΈ', `work_ymd` bigint COMMENT 'None', `betting_time` string COMMENT 'None', `betting_avg` int COMMENT 'None', `market_code` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "poker_device", "description": null, "columns": [{"name": "device_id", "type": "string", "description": null}, {"name": "os_name", "type": "string", "description": null}, {"name": "major_ver", "type": "tinyint", "description": null}, {"name": "minor_ver", "type": "tinyint", "description": null}, {"name": "build_no", "type": "tinyint", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "hid", "type": "string", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "ipaddr", "type": "string", "description": null}, {"name": "country", "type": "string", "description": null}, {"name": "store", "type": "string", "description": "KG : GOOGLE, KA : APPLE, KS : ONE STORE, KX : GALAXY STORE, COMMON : 곡톡"}, {"name": "device_name", "type": "string", "description": null}]}
CREATE TABLE `mobile_poker_db`.`poker_device` ( `device_id` string COMMENT 'None', `os_name` string COMMENT 'None', `major_ver` tinyint COMMENT 'None', `minor_ver` tinyint COMMENT 'None', `build_no` tinyint COMMENT 'None', `sno` bigint COMMENT 'None', `hid` string COMMENT 'None', `last_date` timestamp COMMENT 'None', `ipaddr` string COMMENT 'None', `country` string COMMENT 'None', `store` string COMMENT 'KG : GOOGLE, KA : APPLE, KS : ONE STORE, KX : GALAXY STORE, COMMON : 곡톡', `device_name` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "poker_message_send", "description": null, "columns": [{"name": "message_send_seq", "type": "bigint", "description": null}, {"name": "send_type", "type": "string", "description": "S : κ°œλ³„ B : λŒ€λŸ‰"}, {"name": "keep_day", "type": "int", "description": null}, {"name": "repeat_num", "type": "int", "description": null}, {"name": "member_type", "type": "string", "description": "SNO : νšŒμ›λ²ˆν˜Έ\nHID : ν•œκ²Œμž„ID\nNICKNAME : 별λͺ…"}, {"name": "target", "type": "string", "description": "member_type 에 따라 달라진닀."}, {"name": "gold_cnt", "type": "bigint", "description": null}, {"name": "ruby_cnt", "type": "bigint", "description": null}, {"name": "freeruby_cnt", "type": "bigint", "description": null}, {"name": "bonus_cnt", "type": "bigint", "description": null}, {"name": "avatar_id", "type": "bigint", "description": null}, {"name": "item_id", "type": "bigint", "description": null}, {"name": "silver_ticket_cnt", "type": "bigint", "description": null}, {"name": "gold_ticket_cnt", "type": "bigint", "description": null}, {"name": "premium_ticket_cnt", "type": "bigint", "description": null}, {"name": "message", "type": "string", "description": null}, {"name": "reason_code", "type": "string", "description": "1:곡지,2:μž₯μ• ,3:보상,4:CS,5:기타"}, {"name": "reason", "type": "string", "description": null}, {"name": "remote_addr", "type": "string", "description": null}, {"name": "reg_admin", "type": "string", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`poker_message_send` ( `message_send_seq` bigint COMMENT 'None', `send_type` string COMMENT 'S : κ°œλ³„ B : λŒ€λŸ‰', `keep_day` int COMMENT 'None', `repeat_num` int COMMENT 'None', `member_type` string COMMENT 'SNO : νšŒμ›λ²ˆν˜Έ HID : ν•œκ²Œμž„ID NICKNAME : 별λͺ…', `target` string COMMENT 'member_type 에 따라 달라진닀.', `gold_cnt` bigint COMMENT 'None', `ruby_cnt` bigint COMMENT 'None', `freeruby_cnt` bigint COMMENT 'None', `bonus_cnt` bigint COMMENT 'None', `avatar_id` bigint COMMENT 'None', `item_id` bigint COMMENT 'None', `silver_ticket_cnt` bigint COMMENT 'None', `gold_ticket_cnt` bigint COMMENT 'None', `premium_ticket_cnt` bigint COMMENT 'None', `message` string COMMENT 'None', `reason_code` string COMMENT '1:곡지,2:μž₯μ• ,3:보상,4:CS,5:기타', `reason` string COMMENT 'None', `remote_addr` string COMMENT 'None', `reg_admin` string COMMENT 'None', `reg_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "poker_message_send_api", "description": null, "columns": [{"name": "message_send_api_seq", "type": "bigint", "description": null}, {"name": "channel_id", "type": "string", "description": "POKER_PLUS, FREE, PAYCO, UPP"}, {"name": "hid", "type": "string", "description": null}, {"name": "category", "type": "string", "description": "Enum MOBILE_ITEM_CATEGORY_STRING"}, {"name": "cnt", "type": "string", "description": null}, {"name": "message", "type": "string", "description": null}, {"name": "avatar_id", "type": "string", "description": null}, {"name": "remote_addr", "type": "string", "description": null}, {"name": "result_code", "type": "string", "description": null}, {"name": "message_seq", "type": "bigint", "description": "baduki_message ν…Œμ΄λΈ” message_seq μ»¬λŸΌκ°’"}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "mod_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`poker_message_send_api` ( `message_send_api_seq` bigint COMMENT 'None', `channel_id` string COMMENT 'POKER_PLUS, FREE, PAYCO, UPP', `hid` string COMMENT 'None', `category` string COMMENT 'Enum MOBILE_ITEM_CATEGORY_STRING', `cnt` string COMMENT 'None', `message` string COMMENT 'None', `avatar_id` string COMMENT 'None', `remote_addr` string COMMENT 'None', `result_code` string COMMENT 'None', `message_seq` bigint COMMENT 'baduki_message ν…Œμ΄λΈ” message_seq μ»¬λŸΌκ°’', `reg_date` timestamp COMMENT 'None', `mod_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "poker_user_restriction_law_ci", "description": null, "columns": [{"name": "ci_or_sno", "type": "string", "description": null}, {"name": "money_change", "type": "bigint", "description": "(음수면 손싀)"}, {"name": "restrict_check_date", "type": "timestamp", "description": null}, {"name": "reg_datetime", "type": "timestamp", "description": null}, {"name": "last_update_datetime", "type": "timestamp", "description": null}, {"name": "extra_data", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": "N:λΆˆν•„μš”,Y:ν•„μš”"}]}
CREATE TABLE `mobile_poker_db`.`poker_user_restriction_law_ci` ( `ci_or_sno` string COMMENT 'None', `money_change` bigint COMMENT '(음수면 손싀)', `restrict_check_date` timestamp COMMENT 'None', `reg_datetime` timestamp COMMENT 'None', `last_update_datetime` timestamp COMMENT 'None', `extra_data` string COMMENT 'None', `work_ymd` bigint COMMENT 'N:λΆˆν•„μš”,Y:ν•„μš”' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "subscription_info", "description": null, "columns": [{"name": "tno", "type": "string", "description": null}, {"name": "game_no", "type": "int", "description": "λͺ¨λ°”일포컀 10053"}, {"name": "sno", "type": "bigint", "description": null}, {"name": "item_id", "type": "bigint", "description": "Enum ITEM_CODE λ˜λŠ” baduki_item의 ItemId"}, {"name": "store_id", "type": "string", "description": "GG ꡬ글"}, {"name": "subscription_id", "type": "string", "description": null}, {"name": "auto_renewing", "type": "string", "description": "N μ·¨μ†Œ Y μžλ™"}, {"name": "order_id", "type": "string", "description": "ꡬ글 μ£Όλ¬Έ 아이디"}, {"name": "continue_count", "type": "int", "description": null}, {"name": "start_millis", "type": "bigint", "description": null}, {"name": "purchase_millis", "type": "bigint", "description": null}, {"name": "reward_millis", "type": "bigint", "description": null}, {"name": "expiry_millis", "type": "bigint", "description": null}, {"name": "begin_date", "type": "timestamp", "description": null}, {"name": "end_date", "type": "timestamp", "description": null}, {"name": "insert_date", "type": "timestamp", "description": null}, {"name": "update_date", "type": "timestamp", "description": null}, {"name": "batch_state", "type": "int", "description": null}, {"name": "status", "type": "string", "description": "NONE,\t\t\t\t//μ—†μŒ(비정상)\nACTIVE,\t\t\t\t//정상\nCANCELLED,\t\t\t//ν•΄μ§€μ˜ˆμ•½μ€‘\nIN_GRACE_PERIOD,\t//결제유예\nON_HOLD,\t\t\t//계정보λ₯˜\nPAUSED,\t\t\t\t//μΌμ‹œμ€‘μ§€\nEXPIRED,\t\t\t//만료(해지)"}]}
CREATE TABLE `mobile_poker_db`.`subscription_info` ( `tno` string COMMENT 'None', `game_no` int COMMENT 'λͺ¨λ°”일포컀 10053', `sno` bigint COMMENT 'None', `item_id` bigint COMMENT 'Enum ITEM_CODE λ˜λŠ” baduki_item의 ItemId', `store_id` string COMMENT 'GG ꡬ글', `subscription_id` string COMMENT 'None', `auto_renewing` string COMMENT 'N μ·¨μ†Œ Y μžλ™', `order_id` string COMMENT 'ꡬ글 μ£Όλ¬Έ 아이디', `continue_count` int COMMENT 'None', `start_millis` bigint COMMENT 'None', `purchase_millis` bigint COMMENT 'None', `reward_millis` bigint COMMENT 'None', `expiry_millis` bigint COMMENT 'None', `begin_date` timestamp COMMENT 'None', `end_date` timestamp COMMENT 'None', `insert_date` timestamp COMMENT 'None', `update_date` timestamp COMMENT 'None', `batch_state` int COMMENT 'None', `status` string COMMENT 'NONE, //μ—†μŒ(비정상) ACTIVE, //정상 CANCELLED, //ν•΄μ§€μ˜ˆμ•½μ€‘ IN_GRACE_PERIOD, //결제유예 ON_HOLD, //계정보λ₯˜ PAUSED, //μΌμ‹œμ€‘μ§€ EXPIRED, //만료(해지)' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_rat_inactive", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": null}, {"name": "hno", "type": "bigint", "description": null}, {"name": "hid", "type": "string", "description": null}, {"name": "cust_no", "type": "bigint", "description": null}, {"name": "tno", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "oauth_id", "type": "string", "description": null}, {"name": "oauth_provider", "type": "string", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "change_nickname_count", "type": "int", "description": null}, {"name": "avatar_id", "type": "bigint", "description": null}, {"name": "avatar_image_index", "type": "int", "description": null}, {"name": "first_promotion", "type": "int", "description": null}, {"name": "pre_nlevel", "type": "int", "description": null}, {"name": "nlevel", "type": "int", "description": null}, {"name": "ruby", "type": "bigint", "description": null}, {"name": "paidruby", "type": "bigint", "description": null}, {"name": "freeruby", "type": "bigint", "description": null}, {"name": "bonus", "type": "bigint", "description": null}, {"name": "account_count", "type": "int", "description": null}, {"name": "game_money", "type": "bigint", "description": null}, {"name": "max_game_money", "type": "bigint", "description": null}, {"name": "max_win_money", "type": "bigint", "description": null}, {"name": "match_count", "type": "int", "description": null}, {"name": "win_count", "type": "int", "description": null}, {"name": "defeat_count", "type": "int", "description": null}, {"name": "draw_count", "type": "int", "description": null}, {"name": "golf_count", "type": "int", "description": null}, {"name": "second_count", "type": "int", "description": null}, {"name": "third_count", "type": "int", "description": null}, {"name": "royalstraightflush_count", "type": "int", "description": null}, {"name": "straightflush_count", "type": "int", "description": null}, {"name": "fourcard_count", "type": "int", "description": null}, {"name": "blackjack_point", "type": "int", "description": null}, {"name": "user_option", "type": "string", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "state", "type": "bigint", "description": null}, {"name": "safemoney", "type": "bigint", "description": null}, {"name": "entrystep", "type": "int", "description": null}, {"name": "sudda_sno", "type": "string", "description": null}, {"name": "restriction_money", "type": "bigint", "description": null}, {"name": "inactive_date", "type": "timestamp", "description": null}, {"name": "birthday", "type": "string", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_rat_inactive` ( `sno` bigint COMMENT 'None', `hno` bigint COMMENT 'None', `hid` string COMMENT 'None', `cust_no` bigint COMMENT 'None', `tno` string COMMENT 'None', `ci` string COMMENT 'None', `oauth_id` string COMMENT 'None', `oauth_provider` string COMMENT 'None', `nickname` string COMMENT 'None', `change_nickname_count` int COMMENT 'None', `avatar_id` bigint COMMENT 'None', `avatar_image_index` int COMMENT 'None', `first_promotion` int COMMENT 'None', `pre_nlevel` int COMMENT 'None', `nlevel` int COMMENT 'None', `ruby` bigint COMMENT 'None', `paidruby` bigint COMMENT 'None', `freeruby` bigint COMMENT 'None', `bonus` bigint COMMENT 'None', `account_count` int COMMENT 'None', `game_money` bigint COMMENT 'None', `max_game_money` bigint COMMENT 'None', `max_win_money` bigint COMMENT 'None', `match_count` int COMMENT 'None', `win_count` int COMMENT 'None', `defeat_count` int COMMENT 'None', `draw_count` int COMMENT 'None', `golf_count` int COMMENT 'None', `second_count` int COMMENT 'None', `third_count` int COMMENT 'None', `royalstraightflush_count` int COMMENT 'None', `straightflush_count` int COMMENT 'None', `fourcard_count` int COMMENT 'None', `blackjack_point` int COMMENT 'None', `user_option` string COMMENT 'None', `reg_date` timestamp COMMENT 'None', `last_date` timestamp COMMENT 'None', `state` bigint COMMENT 'None', `safemoney` bigint COMMENT 'None', `entrystep` int COMMENT 'None', `sudda_sno` string COMMENT 'None', `restriction_money` bigint COMMENT 'None', `inactive_date` timestamp COMMENT 'None', `birthday` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_rat_withdraw_deleted", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": null}, {"name": "hno", "type": "bigint", "description": null}, {"name": "hid", "type": "string", "description": null}, {"name": "cust_no", "type": "bigint", "description": null}, {"name": "tno", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "oauth_id", "type": "string", "description": null}, {"name": "oauth_provider", "type": "string", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "change_nickname_count", "type": "int", "description": null}, {"name": "avatar_id", "type": "bigint", "description": null}, {"name": "avatar_image_index", "type": "int", "description": null}, {"name": "first_promotion", "type": "int", "description": null}, {"name": "pre_nlevel", "type": "int", "description": null}, {"name": "nlevel", "type": "int", "description": null}, {"name": "ruby", "type": "bigint", "description": null}, {"name": "paidruby", "type": "bigint", "description": null}, {"name": "freeruby", "type": "bigint", "description": null}, {"name": "bonus", "type": "bigint", "description": null}, {"name": "account_count", "type": "int", "description": null}, {"name": "game_money", "type": "bigint", "description": null}, {"name": "max_game_money", "type": "bigint", "description": null}, {"name": "max_win_money", "type": "bigint", "description": null}, {"name": "match_count", "type": "int", "description": null}, {"name": "win_count", "type": "int", "description": null}, {"name": "defeat_count", "type": "int", "description": null}, {"name": "draw_count", "type": "int", "description": null}, {"name": "golf_count", "type": "int", "description": null}, {"name": "second_count", "type": "int", "description": null}, {"name": "third_count", "type": "int", "description": null}, {"name": "royalstraightflush_count", "type": "int", "description": null}, {"name": "straightflush_count", "type": "int", "description": null}, {"name": "fourcard_count", "type": "int", "description": null}, {"name": "blackjack_point", "type": "int", "description": null}, {"name": "user_option", "type": "string", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "state", "type": "bigint", "description": null}, {"name": "safemoney", "type": "bigint", "description": null}, {"name": "entrystep", "type": "int", "description": null}, {"name": "sudda_sno", "type": "string", "description": null}, {"name": "keep_end_date", "type": "timestamp", "description": null}, {"name": "delete_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_rat_withdraw_deleted` ( `sno` bigint COMMENT 'None', `hno` bigint COMMENT 'None', `hid` string COMMENT 'None', `cust_no` bigint COMMENT 'None', `tno` string COMMENT 'None', `ci` string COMMENT 'None', `oauth_id` string COMMENT 'None', `oauth_provider` string COMMENT 'None', `nickname` string COMMENT 'None', `change_nickname_count` int COMMENT 'None', `avatar_id` bigint COMMENT 'None', `avatar_image_index` int COMMENT 'None', `first_promotion` int COMMENT 'None', `pre_nlevel` int COMMENT 'None', `nlevel` int COMMENT 'None', `ruby` bigint COMMENT 'None', `paidruby` bigint COMMENT 'None', `freeruby` bigint COMMENT 'None', `bonus` bigint COMMENT 'None', `account_count` int COMMENT 'None', `game_money` bigint COMMENT 'None', `max_game_money` bigint COMMENT 'None', `max_win_money` bigint COMMENT 'None', `match_count` int COMMENT 'None', `win_count` int COMMENT 'None', `defeat_count` int COMMENT 'None', `draw_count` int COMMENT 'None', `golf_count` int COMMENT 'None', `second_count` int COMMENT 'None', `third_count` int COMMENT 'None', `royalstraightflush_count` int COMMENT 'None', `straightflush_count` int COMMENT 'None', `fourcard_count` int COMMENT 'None', `blackjack_point` int COMMENT 'None', `user_option` string COMMENT 'None', `reg_date` timestamp COMMENT 'None', `last_date` timestamp COMMENT 'None', `state` bigint COMMENT 'None', `safemoney` bigint COMMENT 'None', `entrystep` int COMMENT 'None', `sudda_sno` string COMMENT 'None', `keep_end_date` timestamp COMMENT 'None', `delete_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_tournament_history", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": null}, {"name": "scheduleid", "type": "int", "description": null}, {"name": "season", "type": "bigint", "description": null}, {"name": "channelgroupid", "type": "int", "description": null}, {"name": "kind", "type": "int", "description": null}, {"name": "gamekind", "type": "int", "description": null}, {"name": "state", "type": "int", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "avatar_image_index", "type": "int", "description": null}, {"name": "join_money", "type": "bigint", "description": null}, {"name": "game_money", "type": "bigint", "description": null}, {"name": "match_count", "type": "int", "description": null}, {"name": "win_count", "type": "int", "description": null}, {"name": "defeat_count", "type": "int", "description": null}, {"name": "draw_count", "type": "int", "description": null}, {"name": "rank", "type": "int", "description": null}, {"name": "reward", "type": "bigint", "description": null}, {"name": "total_match_count", "type": "int", "description": null}, {"name": "total_win_count", "type": "int", "description": null}, {"name": "total_defeat_count", "type": "int", "description": null}, {"name": "total_draw_count", "type": "int", "description": null}, {"name": "total_rank", "type": "int", "description": null}, {"name": "total_rank_date", "type": "timestamp", "description": null}, {"name": "total_reward", "type": "bigint", "description": null}, {"name": "total_reward_date", "type": "timestamp", "description": null}, {"name": "rebuy_count_a", "type": "int", "description": null}, {"name": "rebuy_count_b", "type": "int", "description": null}, {"name": "rebuy_count_c", "type": "int", "description": null}, {"name": "out", "type": "int", "description": null}, {"name": "send", "type": "int", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "drop_date", "type": "timestamp", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "set_type", "type": "int", "description": null}, {"name": "join_coin", "type": "bigint", "description": null}, {"name": "reward_coin", "type": "bigint", "description": null}, {"name": "total_reward_coin", "type": "bigint", "description": null}, {"name": "rebuy_count_d", "type": "int", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_tournament_history` ( `sno` bigint COMMENT 'None', `scheduleid` int COMMENT 'None', `season` bigint COMMENT 'None', `channelgroupid` int COMMENT 'None', `kind` int COMMENT 'None', `gamekind` int COMMENT 'None', `state` int COMMENT 'None', `nickname` string COMMENT 'None', `avatar_image_index` int COMMENT 'None', `join_money` bigint COMMENT 'None', `game_money` bigint COMMENT 'None', `match_count` int COMMENT 'None', `win_count` int COMMENT 'None', `defeat_count` int COMMENT 'None', `draw_count` int COMMENT 'None', `rank` int COMMENT 'None', `reward` bigint COMMENT 'None', `total_match_count` int COMMENT 'None', `total_win_count` int COMMENT 'None', `total_defeat_count` int COMMENT 'None', `total_draw_count` int COMMENT 'None', `total_rank` int COMMENT 'None', `total_rank_date` timestamp COMMENT 'None', `total_reward` bigint COMMENT 'None', `total_reward_date` timestamp COMMENT 'None', `rebuy_count_a` int COMMENT 'None', `rebuy_count_b` int COMMENT 'None', `rebuy_count_c` int COMMENT 'None', `out` int COMMENT 'None', `send` int COMMENT 'None', `reg_date` timestamp COMMENT 'None', `drop_date` timestamp COMMENT 'None', `last_date` timestamp COMMENT 'None', `set_type` int COMMENT 'None', `join_coin` bigint COMMENT 'None', `reward_coin` bigint COMMENT 'None', `total_reward_coin` bigint COMMENT 'None', `rebuy_count_d` int COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_tournament_reserve", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": null}, {"name": "scheduleid", "type": "int", "description": null}, {"name": "season", "type": "bigint", "description": null}, {"name": "reserve", "type": "tinyint", "description": null}, {"name": "start_date", "type": "timestamp", "description": null}, {"name": "close_date", "type": "timestamp", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_tournament_reserve` ( `sno` bigint COMMENT 'None', `scheduleid` int COMMENT 'None', `season` bigint COMMENT 'None', `reserve` tinyint COMMENT 'None', `start_date` timestamp COMMENT 'None', `close_date` timestamp COMMENT 'None', `last_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_tournament_schedule", "description": null, "columns": [{"name": "scheduleid", "type": "int", "description": null}, {"name": "season", "type": "bigint", "description": null}, {"name": "channelgroupid", "type": "int", "description": null}, {"name": "kind", "type": "int", "description": null}, {"name": "gamekind", "type": "int", "description": null}, {"name": "start_date", "type": "timestamp", "description": null}, {"name": "type", "type": "int", "description": null}, {"name": "push", "type": "tinyint", "description": null}, {"name": "replay", "type": "tinyint", "description": null}, {"name": "index", "type": "int", "description": null}, {"name": "set", "type": "int", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "rebuy_money", "type": "bigint", "description": null}, {"name": "avatar_image_index", "type": "int", "description": null}, {"name": "join_money", "type": "bigint", "description": null}, {"name": "game_money", "type": "bigint", "description": null}, {"name": "match_count", "type": "int", "description": null}, {"name": "win_count", "type": "int", "description": null}, {"name": "defeat_count", "type": "int", "description": null}, {"name": "draw_count", "type": "int", "description": null}, {"name": "rank", "type": "int", "description": null}, {"name": "reward", "type": "bigint", "description": null}, {"name": "total_reward", "type": "bigint", "description": null}, {"name": "user_count", "type": "int", "description": null}, {"name": "max_count", "type": "int", "description": null}, {"name": "reserve_count", "type": "int", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "set_type", "type": "int", "description": null}, {"name": "rebuy_coin", "type": "bigint", "description": null}, {"name": "join_coin", "type": "bigint", "description": null}, {"name": "reward_coin", "type": "bigint", "description": null}, {"name": "total_reward_coin", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_tournament_schedule` ( `scheduleid` int COMMENT 'None', `season` bigint COMMENT 'None', `channelgroupid` int COMMENT 'None', `kind` int COMMENT 'None', `gamekind` int COMMENT 'None', `start_date` timestamp COMMENT 'None', `type` int COMMENT 'None', `push` tinyint COMMENT 'None', `replay` tinyint COMMENT 'None', `index` int COMMENT 'None', `set` int COMMENT 'None', `sno` bigint COMMENT 'None', `nickname` string COMMENT 'None', `rebuy_money` bigint COMMENT 'None', `avatar_image_index` int COMMENT 'None', `join_money` bigint COMMENT 'None', `game_money` bigint COMMENT 'None', `match_count` int COMMENT 'None', `win_count` int COMMENT 'None', `defeat_count` int COMMENT 'None', `draw_count` int COMMENT 'None', `rank` int COMMENT 'None', `reward` bigint COMMENT 'None', `total_reward` bigint COMMENT 'None', `user_count` int COMMENT 'None', `max_count` int COMMENT 'None', `reserve_count` int COMMENT 'None', `last_date` timestamp COMMENT 'None', `set_type` int COMMENT 'None', `rebuy_coin` bigint COMMENT 'None', `join_coin` bigint COMMENT 'None', `reward_coin` bigint COMMENT 'None', `total_reward_coin` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_tournament_top", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": null}, {"name": "scheduleid", "type": "int", "description": null}, {"name": "season", "type": "bigint", "description": null}, {"name": "kind", "type": "int", "description": null}, {"name": "channelgroupid", "type": "int", "description": null}, {"name": "gamekind", "type": "int", "description": null}, {"name": "state", "type": "int", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "avatar_image_index", "type": "int", "description": null}, {"name": "join_money", "type": "bigint", "description": null}, {"name": "game_money", "type": "bigint", "description": null}, {"name": "match_count", "type": "int", "description": null}, {"name": "win_count", "type": "int", "description": null}, {"name": "defeat_count", "type": "int", "description": null}, {"name": "draw_count", "type": "int", "description": null}, {"name": "rank", "type": "int", "description": null}, {"name": "reward", "type": "bigint", "description": null}, {"name": "out", "type": "int", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "drop_date", "type": "timestamp", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "join_coin", "type": "bigint", "description": null}, {"name": "total_reward", "type": "bigint", "description": null}, {"name": "total_reward_coin", "type": "bigint", "description": null}, {"name": "reward_coin", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_tournament_top` ( `sno` bigint COMMENT 'None', `scheduleid` int COMMENT 'None', `season` bigint COMMENT 'None', `kind` int COMMENT 'None', `channelgroupid` int COMMENT 'None', `gamekind` int COMMENT 'None', `state` int COMMENT 'None', `nickname` string COMMENT 'None', `avatar_image_index` int COMMENT 'None', `join_money` bigint COMMENT 'None', `game_money` bigint COMMENT 'None', `match_count` int COMMENT 'None', `win_count` int COMMENT 'None', `defeat_count` int COMMENT 'None', `draw_count` int COMMENT 'None', `rank` int COMMENT 'None', `reward` bigint COMMENT 'None', `out` int COMMENT 'None', `reg_date` timestamp COMMENT 'None', `drop_date` timestamp COMMENT 'None', `last_date` timestamp COMMENT 'None', `join_coin` bigint COMMENT 'None', `total_reward` bigint COMMENT 'None', `total_reward_coin` bigint COMMENT 'None', `reward_coin` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_tournament_user", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": null}, {"name": "scheduleid", "type": "int", "description": null}, {"name": "season", "type": "bigint", "description": null}, {"name": "channelgroupid", "type": "int", "description": null}, {"name": "kind", "type": "int", "description": null}, {"name": "gamekind", "type": "int", "description": null}, {"name": "state", "type": "int", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "avatar_image_index", "type": "int", "description": null}, {"name": "join_money", "type": "bigint", "description": null}, {"name": "game_money", "type": "bigint", "description": null}, {"name": "match_count", "type": "int", "description": null}, {"name": "win_count", "type": "int", "description": null}, {"name": "defeat_count", "type": "int", "description": null}, {"name": "draw_count", "type": "int", "description": null}, {"name": "rank", "type": "int", "description": null}, {"name": "reward", "type": "bigint", "description": null}, {"name": "total_match_count", "type": "int", "description": null}, {"name": "total_win_count", "type": "int", "description": null}, {"name": "total_defeat_count", "type": "int", "description": null}, {"name": "total_draw_count", "type": "int", "description": null}, {"name": "total_rank", "type": "int", "description": null}, {"name": "total_rank_date", "type": "timestamp", "description": null}, {"name": "total_reward", "type": "bigint", "description": null}, {"name": "total_reward_date", "type": "timestamp", "description": null}, {"name": "rebuy_count_a", "type": "int", "description": null}, {"name": "rebuy_count_b", "type": "int", "description": null}, {"name": "rebuy_count_c", "type": "int", "description": null}, {"name": "out", "type": "int", "description": null}, {"name": "send", "type": "int", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "drop_date", "type": "timestamp", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "set_type", "type": "int", "description": null}, {"name": "join_coin", "type": "bigint", "description": null}, {"name": "reward_coin", "type": "bigint", "description": null}, {"name": "total_reward_coin", "type": "bigint", "description": null}, {"name": "rebuy_count_d", "type": "int", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_tournament_user` ( `sno` bigint COMMENT 'None', `scheduleid` int COMMENT 'None', `season` bigint COMMENT 'None', `channelgroupid` int COMMENT 'None', `kind` int COMMENT 'None', `gamekind` int COMMENT 'None', `state` int COMMENT 'None', `nickname` string COMMENT 'None', `avatar_image_index` int COMMENT 'None', `join_money` bigint COMMENT 'None', `game_money` bigint COMMENT 'None', `match_count` int COMMENT 'None', `win_count` int COMMENT 'None', `defeat_count` int COMMENT 'None', `draw_count` int COMMENT 'None', `rank` int COMMENT 'None', `reward` bigint COMMENT 'None', `total_match_count` int COMMENT 'None', `total_win_count` int COMMENT 'None', `total_defeat_count` int COMMENT 'None', `total_draw_count` int COMMENT 'None', `total_rank` int COMMENT 'None', `total_rank_date` timestamp COMMENT 'None', `total_reward` bigint COMMENT 'None', `total_reward_date` timestamp COMMENT 'None', `rebuy_count_a` int COMMENT 'None', `rebuy_count_b` int COMMENT 'None', `rebuy_count_c` int COMMENT 'None', `out` int COMMENT 'None', `send` int COMMENT 'None', `reg_date` timestamp COMMENT 'None', `drop_date` timestamp COMMENT 'None', `last_date` timestamp COMMENT 'None', `set_type` int COMMENT 'None', `join_coin` bigint COMMENT 'None', `reward_coin` bigint COMMENT 'None', `total_reward_coin` bigint COMMENT 'None', `rebuy_count_d` int COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_jackpot", "description": "채널별 λ•‘νŒŸ λˆ„μ  κΈˆμ•‘ ν…Œμ΄λΈ”", "columns": [{"name": "channel_index", "type": "int", "description": "채널 정보 ν…Œμ΄λΈ”μ— μžˆλŠ” 채널 인덱슀"}, {"name": "fund_money", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_jackpot` ( `channel_index` int COMMENT '채널 정보 ν…Œμ΄λΈ”μ— μžˆλŠ” 채널 인덱슀', `fund_money` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_jackpot_winner", "description": "λ•‘νŒŸ, νžˆλ“ λ•‘νŒŸ μ—­λŒ€ λ‹Ήμ²¨μž 기둝 ν…Œμ΄λΈ”", "columns": [{"name": "jackpot_winner_id", "type": "bigint", "description": null}, {"name": "jackpot_id", "type": "bigint", "description": "msg_jackpot_history 의 잭팟 인덱슀"}, {"name": "user_id", "type": "string", "description": "sno"}, {"name": "avatar_id", "type": "int", "description": null}, {"name": "user_name", "type": "string", "description": null}, {"name": "hand", "type": "int", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "prize", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_jackpot_winner` ( `jackpot_winner_id` bigint COMMENT 'None', `jackpot_id` bigint COMMENT 'msg_jackpot_history 의 잭팟 인덱슀', `user_id` string COMMENT 'sno', `avatar_id` int COMMENT 'None', `user_name` string COMMENT 'None', `hand` int COMMENT 'None', `reg_date` timestamp COMMENT 'None', `prize` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_jackpot_history", "description": "λ•‘νŒŸ, νžˆλ“ λ•‘νŒŸ μ—­λŒ€ 당첨 기둝 ν…Œμ΄λΈ”", "columns": [{"name": "jackpot_id", "type": "bigint", "description": null}, {"name": "winner_user_id", "type": "string", "description": "sno"}, {"name": "winner_avatar_id", "type": "int", "description": null}, {"name": "winner", "type": "string", "description": null}, {"name": "winner_count", "type": "int", "description": null}, {"name": "total_prize", "type": "bigint", "description": null}, {"name": "jackpot_type", "type": "int", "description": "1: λ―Έλ‹ˆ, 2: λŒ€λ°•, 3: μ΄ˆλŒ€λ°•"}, {"name": "is_hidden", "type": "tinyint", "description": "0: λ•‘νŒŸ, 1: νžˆλ“ λ•‘νŒŸ"}, {"name": "game_type", "type": "int", "description": "2 :2μž₯ μ„―λ‹€, 3: 3μž₯ μ„―λ‹€, 11: 홀덀 μ„―λ‹€, 21: 섯둑이, 99: λͺ¨λ“  κ²Œμž„"}, {"name": "seed_money", "type": "bigint", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}, {"name": "replay_id", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_jackpot_history` ( `jackpot_id` bigint COMMENT 'None', `winner_user_id` string COMMENT 'sno', `winner_avatar_id` int COMMENT 'None', `winner` string COMMENT 'None', `winner_count` int COMMENT 'None', `total_prize` bigint COMMENT 'None', `jackpot_type` int COMMENT '1: λ―Έλ‹ˆ, 2: λŒ€λ°•, 3: μ΄ˆλŒ€λ°•', `is_hidden` tinyint COMMENT '0: λ•‘νŒŸ, 1: νžˆλ“ λ•‘νŒŸ', `game_type` int COMMENT '2 :2μž₯ μ„―λ‹€, 3: 3μž₯ μ„―λ‹€, 11: 홀덀 μ„―λ‹€, 21: 섯둑이, 99: λͺ¨λ“  κ²Œμž„', `seed_money` bigint COMMENT 'None', `reg_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None', `replay_id` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_push", "description": "ν‘Έμ‹œ 정보 ν…Œμ΄λΈ”", "columns": [{"name": "msg_push_index", "type": "bigint", "description": null}, {"name": "type", "type": "int", "description": "1: 주기적인 ν‘Έμ‹œ(μš”μΌ 및 μ‹œκ°„λ³„ 반볡), 2: μœ μ € κ°œλ³„ λ¬΄λ£Œλ½‘κΈ°"}, {"name": "user_id", "type": "string", "description": "type 2μΌλ•Œ user sno"}, {"name": "push_data", "type": "string", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "state", "type": "int", "description": "0: λŒ€κΈ°, 1: 전솑 쀑, 2: μ „μ†‘μ™„λ£Œ"}, {"name": "push_date", "type": "timestamp", "description": "type 2μΌλ•Œλ§Œ 유효"}, {"name": "push_send_date", "type": "timestamp", "description": "type 2μΌλ•Œλ§Œ 유효"}, {"name": "reg_admin_id", "type": "string", "description": null}, {"name": "mod_admin_id", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_push` ( `msg_push_index` bigint COMMENT 'None', `type` int COMMENT '1: 주기적인 ν‘Έμ‹œ(μš”μΌ 및 μ‹œκ°„λ³„ 반볡), 2: μœ μ € κ°œλ³„ λ¬΄λ£Œλ½‘κΈ°', `user_id` string COMMENT 'type 2μΌλ•Œ user sno', `push_data` string COMMENT 'None', `reg_date` timestamp COMMENT 'None', `state` int COMMENT '0: λŒ€κΈ°, 1: 전솑 쀑, 2: μ „μ†‘μ™„λ£Œ', `push_date` timestamp COMMENT 'type 2μΌλ•Œλ§Œ 유효', `push_send_date` timestamp COMMENT 'type 2μΌλ•Œλ§Œ 유효', `reg_admin_id` string COMMENT 'None', `mod_admin_id` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_replay", "description": "κ²Œμž„ 1νŒλ‹Ή 1ν•œκ°œμ”© κΈ°λ‘λ˜λŠ” λ¦¬ν”Œλ ˆμ΄ 데이터 ν…Œμ΄λΈ”", "columns": [{"name": "replay_id", "type": "bigint", "description": null}, {"name": "match_no", "type": "string", "description": "msg_game_result_log ν…Œμ΄λΈ” match_no"}, {"name": "game_type", "type": "tinyint", "description": "2 :2μž₯ μ„―λ‹€, 3: 3μž₯ μ„―λ‹€, 11: 홀덀 μ„―λ‹€, 21: 섯둑이, 99: λͺ¨λ“  κ²Œμž„"}, {"name": "winner_user_id", "type": "string", "description": "sno"}, {"name": "winner_money", "type": "bigint", "description": null}, {"name": "ddangpot_money", "type": "bigint", "description": null}, {"name": "is_player_full", "type": "tinyint", "description": "0: false, 1: true"}, {"name": "is_blind_match", "type": "tinyint", "description": "0: false, 1: true"}, {"name": "is_ddang_pot", "type": "tinyint", "description": "0: false, 1: true"}, {"name": "rematch_count", "type": "int", "description": null}, {"name": "is_big_game", "type": "tinyint", "description": "0: false, 1: true"}, {"name": "is_amhangusa_win", "type": "tinyint", "description": "0: false, 1: true"}, {"name": "replay_data", "type": "string", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_replay` ( `replay_id` bigint COMMENT 'None', `match_no` string COMMENT 'msg_game_result_log ν…Œμ΄λΈ” match_no', `game_type` tinyint COMMENT '2 :2μž₯ μ„―λ‹€, 3: 3μž₯ μ„―λ‹€, 11: 홀덀 μ„―λ‹€, 21: 섯둑이, 99: λͺ¨λ“  κ²Œμž„', `winner_user_id` string COMMENT 'sno', `winner_money` bigint COMMENT 'None', `ddangpot_money` bigint COMMENT 'None', `is_player_full` tinyint COMMENT '0: false, 1: true', `is_blind_match` tinyint COMMENT '0: false, 1: true', `is_ddang_pot` tinyint COMMENT '0: false, 1: true', `rematch_count` int COMMENT 'None', `is_big_game` tinyint COMMENT '0: false, 1: true', `is_amhangusa_win` tinyint COMMENT '0: false, 1: true', `replay_data` string COMMENT 'None', `reg_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_replay_recommend", "description": "μΆ”μ²œ λ¦¬ν”Œλ ˆμ΄ ν…Œμ΄λΈ”", "columns": [{"name": "recommend_id", "type": "bigint", "description": null}, {"name": "replay_id", "type": "bigint", "description": "msg_replay ν…Œμ΄λΈ” key"}, {"name": "is_best", "type": "tinyint", "description": "0: false, 1: true"}, {"name": "view_nickname", "type": "string", "description": "λ³΄μ—¬μ§€λŠ” λ‹‰λ„€μž„"}, {"name": "view_avatar_id", "type": "int", "description": "λ³΄μ—¬μ§€λŠ” 아바타 아이디"}, {"name": "game_type", "type": "tinyint", "description": "2 :2μž₯ μ„―λ‹€, 3: 3μž₯ μ„―λ‹€, 11: 홀덀 μ„―λ‹€, 21: 섯둑이, 99: λͺ¨λ“  κ²Œμž„"}, {"name": "category", "type": "int", "description": "1: ν•œ 방의 μ΄ˆλŒ€λ°•, 2: λ°˜μ „μ˜ λ―Έν•™, 3: ν™”λˆν•œ 배짱, 4: μš°μ—°ν•œ ν–‰μš΄ λ•‘νŒŸ, 5: λ―Έμ›Œλ„ λ‹€μ‹œ ν•œλ²ˆ"}, {"name": "view_count", "type": "bigint", "description": null}, {"name": "good_count", "type": "bigint", "description": null}, {"name": "bad_count", "type": "bigint", "description": null}, {"name": "view_state", "type": "tinyint", "description": null}, {"name": "start_date", "type": "timestamp", "description": null}, {"name": "end_date", "type": "timestamp", "description": null}, {"name": "admin_id", "type": "string", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}, {"name": "room_type", "type": "tinyint", "description": null}, {"name": "sympathy_id", "type": "bigint", "description": null}, {"name": "winner_money", "type": "bigint", "description": null}, {"name": "seed_money", "type": "bigint", "description": null}, {"name": "player_count", "type": "tinyint", "description": null}, {"name": "play_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_replay_recommend` ( `recommend_id` bigint COMMENT 'None', `replay_id` bigint COMMENT 'msg_replay ν…Œμ΄λΈ” key', `is_best` tinyint COMMENT '0: false, 1: true', `view_nickname` string COMMENT 'λ³΄μ—¬μ§€λŠ” λ‹‰λ„€μž„', `view_avatar_id` int COMMENT 'λ³΄μ—¬μ§€λŠ” 아바타 아이디', `game_type` tinyint COMMENT '2 :2μž₯ μ„―λ‹€, 3: 3μž₯ μ„―λ‹€, 11: 홀덀 μ„―λ‹€, 21: 섯둑이, 99: λͺ¨λ“  κ²Œμž„', `category` int COMMENT '1: ν•œ 방의 μ΄ˆλŒ€λ°•, 2: λ°˜μ „μ˜ λ―Έν•™, 3: ν™”λˆν•œ 배짱, 4: μš°μ—°ν•œ ν–‰μš΄ λ•‘νŒŸ, 5: λ―Έμ›Œλ„ λ‹€μ‹œ ν•œλ²ˆ', `view_count` bigint COMMENT 'None', `good_count` bigint COMMENT 'None', `bad_count` bigint COMMENT 'None', `view_state` tinyint COMMENT 'None', `start_date` timestamp COMMENT 'None', `end_date` timestamp COMMENT 'None', `admin_id` string COMMENT 'None', `reg_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None', `room_type` tinyint COMMENT 'None', `sympathy_id` bigint COMMENT 'None', `winner_money` bigint COMMENT 'None', `seed_money` bigint COMMENT 'None', `player_count` tinyint COMMENT 'None', `play_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_dualgo_game_result_log", "description": null, "columns": [{"name": "match_no", "type": "string", "description": null}, {"name": "user_id", "type": "string", "description": null}, {"name": "game_type", "type": "tinyint", "description": null}, {"name": "room_type", "type": "tinyint", "description": null}, {"name": "seed_money", "type": "bigint", "description": null}, {"name": "final_result", "type": "tinyint", "description": null}, {"name": "blind_match", "type": "tinyint", "description": null}, {"name": "player_index", "type": "tinyint", "description": null}, {"name": "boss", "type": "tinyint", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "pre_game_money", "type": "bigint", "description": null}, {"name": "change_money", "type": "bigint", "description": null}, {"name": "cur_game_money", "type": "bigint", "description": null}, {"name": "dealer_money", "type": "bigint", "description": null}, {"name": "mission", "type": "string", "description": null}, {"name": "mission_success", "type": "tinyint", "description": null}, {"name": "mission_multiple", "type": "tinyint", "description": null}, {"name": "score_log", "type": "string", "description": null}, {"name": "score", "type": "int", "description": null}, {"name": "go_count", "type": "tinyint", "description": null}, {"name": "bak_info", "type": "string", "description": null}, {"name": "win", "type": "tinyint", "description": null}, {"name": "change_ranking_point", "type": "int", "description": null}, {"name": "cur_ranking_point", "type": "bigint", "description": null}, {"name": "extra_data", "type": "string", "description": null}, {"name": "start_date", "type": "timestamp", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}, {"name": "market_code", "type": "string", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_dualgo_game_result_log` ( `match_no` string COMMENT 'None', `user_id` string COMMENT 'None', `game_type` tinyint COMMENT 'None', `room_type` tinyint COMMENT 'None', `seed_money` bigint COMMENT 'None', `final_result` tinyint COMMENT 'None', `blind_match` tinyint COMMENT 'None', `player_index` tinyint COMMENT 'None', `boss` tinyint COMMENT 'None', `nickname` string COMMENT 'None', `pre_game_money` bigint COMMENT 'None', `change_money` bigint COMMENT 'None', `cur_game_money` bigint COMMENT 'None', `dealer_money` bigint COMMENT 'None', `mission` string COMMENT 'None', `mission_success` tinyint COMMENT 'None', `mission_multiple` tinyint COMMENT 'None', `score_log` string COMMENT 'None', `score` int COMMENT 'None', `go_count` tinyint COMMENT 'None', `bak_info` string COMMENT 'None', `win` tinyint COMMENT 'None', `change_ranking_point` int COMMENT 'None', `cur_ranking_point` bigint COMMENT 'None', `extra_data` string COMMENT 'None', `start_date` timestamp COMMENT 'None', `last_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None', `market_code` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_dualgo_mission_data", "description": null, "columns": [{"name": "mission_index", "type": "int", "description": null}, {"name": "type", "type": "int", "description": null}, {"name": "title", "type": "string", "description": null}, {"name": "hand_strength", "type": "int", "description": null}, {"name": "first_come_card_class", "type": "int", "description": null}, {"name": "first_come_count", "type": "int", "description": null}, {"name": "multiple", "type": "int", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_dualgo_mission_data` ( `mission_index` int COMMENT 'None', `type` int COMMENT 'None', `title` string COMMENT 'None', `hand_strength` int COMMENT 'None', `first_come_card_class` int COMMENT 'None', `first_come_count` int COMMENT 'None', `multiple` int COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "msg_dualgo_mission_probability", "description": null, "columns": [{"name": "mission_probability_index", "type": "int", "description": null}, {"name": "type", "type": "int", "description": null}, {"name": "multiple", "type": "int", "description": null}, {"name": "probability", "type": "int", "description": null}, {"name": "channel_index", "type": "int", "description": null}]}
CREATE TABLE `mobile_poker_db`.`msg_dualgo_mission_probability` ( `mission_probability_index` int COMMENT 'None', `type` int COMMENT 'None', `multiple` int COMMENT 'None', `probability` int COMMENT 'None', `channel_index` int COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_guild", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "name", "type": "string", "description": null}, {"name": "intro", "type": "string", "description": null}, {"name": "word", "type": "string", "description": null}, {"name": "talk", "type": "string", "description": null}, {"name": "auto_join", "type": "tinyint", "description": null}, {"name": "member_cnt", "type": "smallint", "description": null}, {"name": "master_sno", "type": "bigint", "description": null}, {"name": "master_nickname", "type": "string", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_guild` ( `seq` bigint COMMENT 'None', `reg_date` timestamp COMMENT 'None', `name` string COMMENT 'None', `intro` string COMMENT 'None', `word` string COMMENT 'None', `talk` string COMMENT 'None', `auto_join` tinyint COMMENT 'None', `member_cnt` smallint COMMENT 'None', `master_sno` bigint COMMENT 'None', `master_nickname` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_guild_chat_log", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "send_date", "type": "timestamp", "description": null}, {"name": "guild_seq", "type": "bigint", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "type", "type": "tinyint", "description": null}, {"name": "message", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_guild_chat_log` ( `seq` bigint COMMENT 'None', `send_date` timestamp COMMENT 'None', `guild_seq` bigint COMMENT 'None', `sno` bigint COMMENT 'None', `type` tinyint COMMENT 'None', `message` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_guild_dismiss", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "name", "type": "string", "description": null}, {"name": "member_cnt", "type": "smallint", "description": null}, {"name": "master_sno", "type": "bigint", "description": null}, {"name": "master_nickname", "type": "string", "description": null}, {"name": "dismiss_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_guild_dismiss` ( `seq` bigint COMMENT 'None', `reg_date` timestamp COMMENT 'None', `name` string COMMENT 'None', `member_cnt` smallint COMMENT 'None', `master_sno` bigint COMMENT 'None', `master_nickname` string COMMENT 'None', `dismiss_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_guild_invitation", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "guild_seq", "type": "bigint", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "state", "type": "smallint", "description": null}, {"name": "recommender_sno", "type": "bigint", "description": null}, {"name": "recommender_nick", "type": "string", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_guild_invitation` ( `seq` bigint COMMENT 'None', `guild_seq` bigint COMMENT 'None', `sno` bigint COMMENT 'None', `reg_date` timestamp COMMENT 'None', `state` smallint COMMENT 'None', `recommender_sno` bigint COMMENT 'None', `recommender_nick` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_guild_join_request", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "guild_seq", "type": "bigint", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "state", "type": "smallint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_guild_join_request` ( `seq` bigint COMMENT 'None', `guild_seq` bigint COMMENT 'None', `sno` bigint COMMENT 'None', `reg_date` timestamp COMMENT 'None', `state` smallint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_guild_log", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "guild_seq", "type": "bigint", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "log_type", "type": "smallint", "description": null}, {"name": "sub_type", "type": "smallint", "description": null}, {"name": "ival1", "type": "bigint", "description": null}, {"name": "ival2", "type": "bigint", "description": null}, {"name": "ival3", "type": "bigint", "description": null}, {"name": "sval1", "type": "string", "description": null}, {"name": "sval2", "type": "string", "description": null}, {"name": "sval3", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_guild_log` ( `seq` bigint COMMENT 'None', `reg_date` timestamp COMMENT 'None', `guild_seq` bigint COMMENT 'None', `sno` bigint COMMENT 'None', `log_type` smallint COMMENT 'None', `sub_type` smallint COMMENT 'None', `ival1` bigint COMMENT 'None', `ival2` bigint COMMENT 'None', `ival3` bigint COMMENT 'None', `sval1` string COMMENT 'None', `sval2` string COMMENT 'None', `sval3` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_guild_member", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": null}, {"name": "guild_seq", "type": "bigint", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "position", "type": "smallint", "description": null}, {"name": "read_chat_seq", "type": "bigint", "description": null}, {"name": "read_notice_seq", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_guild_member` ( `sno` bigint COMMENT 'None', `guild_seq` bigint COMMENT 'None', `reg_date` timestamp COMMENT 'None', `position` smallint COMMENT 'None', `read_chat_seq` bigint COMMENT 'None', `read_notice_seq` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_guild_member_delete", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": null}, {"name": "guild_seq", "type": "bigint", "description": null}, {"name": "reason", "type": "smallint", "description": null}, {"name": "delete_date", "type": "timestamp", "description": null}, {"name": "dismiss_date", "type": "timestamp", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_guild_member_delete` ( `sno` bigint COMMENT 'None', `guild_seq` bigint COMMENT 'None', `reason` smallint COMMENT 'None', `delete_date` timestamp COMMENT 'None', `dismiss_date` timestamp COMMENT 'None', `last_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_guild_member_season", "description": null, "columns": [{"name": "season", "type": "bigint", "description": null}, {"name": "season_date", "type": "timestamp", "description": null}, {"name": "guild_seq", "type": "bigint", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "ranking_league", "type": "int", "description": null}, {"name": "point_act", "type": "bigint", "description": null}, {"name": "point_act_game", "type": "bigint", "description": null}, {"name": "point_act_attend", "type": "bigint", "description": null}, {"name": "point_act_bonus", "type": "bigint", "description": null}, {"name": "point_act_fund", "type": "bigint", "description": null}, {"name": "point_act_last_date", "type": "timestamp", "description": null}, {"name": "fund", "type": "bigint", "description": null}, {"name": "fund_cnt", "type": "int", "description": null}, {"name": "fund_last_time", "type": "timestamp", "description": null}, {"name": "last_reward_money", "type": "bigint", "description": null}, {"name": "last_reward_date", "type": "timestamp", "description": null}, {"name": "last_ranking_league", "type": "int", "description": null}, {"name": "last_logo_letter", "type": "smallint", "description": null}, {"name": "last_grade", "type": "int", "description": null}, {"name": "last_ranking", "type": "int", "description": null}, {"name": "occupation_point", "type": "bigint", "description": null}, {"name": "occupation_point_last_date", "type": "timestamp", "description": null}, {"name": "occupation_count", "type": "int", "description": null}, {"name": "occupation_alarm", "type": "smallint", "description": null}, {"name": "occupation_reward", "type": "bigint", "description": null}, {"name": "occupation_reward_date", "type": "timestamp", "description": null}, {"name": "occupation_item_id", "type": "int", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_guild_member_season` ( `season` bigint COMMENT 'None', `season_date` timestamp COMMENT 'None', `guild_seq` bigint COMMENT 'None', `sno` bigint COMMENT 'None', `ranking_league` int COMMENT 'None', `point_act` bigint COMMENT 'None', `point_act_game` bigint COMMENT 'None', `point_act_attend` bigint COMMENT 'None', `point_act_bonus` bigint COMMENT 'None', `point_act_fund` bigint COMMENT 'None', `point_act_last_date` timestamp COMMENT 'None', `fund` bigint COMMENT 'None', `fund_cnt` int COMMENT 'None', `fund_last_time` timestamp COMMENT 'None', `last_reward_money` bigint COMMENT 'None', `last_reward_date` timestamp COMMENT 'None', `last_ranking_league` int COMMENT 'None', `last_logo_letter` smallint COMMENT 'None', `last_grade` int COMMENT 'None', `last_ranking` int COMMENT 'None', `occupation_point` bigint COMMENT 'None', `occupation_point_last_date` timestamp COMMENT 'None', `occupation_count` int COMMENT 'None', `occupation_alarm` smallint COMMENT 'None', `occupation_reward` bigint COMMENT 'None', `occupation_reward_date` timestamp COMMENT 'None', `occupation_item_id` int COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_guild_member_withdraw", "description": null, "columns": [{"name": "tno", "type": "string", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "batch_count", "type": "smallint", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_guild_member_withdraw` ( `tno` string COMMENT 'None', `sno` bigint COMMENT 'None', `batch_count` smallint COMMENT 'None', `last_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_guild_schedule", "description": null, "columns": [{"name": "season", "type": "bigint", "description": null}, {"name": "season_date", "type": "timestamp", "description": null}, {"name": "state", "type": "smallint", "description": null}, {"name": "ranking_season", "type": "string", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "occupation_state", "type": "smallint", "description": null}, {"name": "occupation_push", "type": "smallint", "description": null}, {"name": "total_news_time1", "type": "timestamp", "description": null}, {"name": "total_news_time2", "type": "timestamp", "description": null}, {"name": "total_news_time3", "type": "timestamp", "description": null}, {"name": "total_news_time4", "type": "timestamp", "description": null}, {"name": "total_news_time5", "type": "timestamp", "description": null}, {"name": "total_news_time6", "type": "timestamp", "description": null}, {"name": "total_news_time7", "type": "timestamp", "description": null}, {"name": "total_news_time8", "type": "timestamp", "description": null}, {"name": "total_news_time9", "type": "timestamp", "description": null}, {"name": "total_news_time10", "type": "timestamp", "description": null}, {"name": "total_chat_time1", "type": "timestamp", "description": null}, {"name": "total_chat_time2", "type": "timestamp", "description": null}, {"name": "total_chat_time3", "type": "timestamp", "description": null}, {"name": "total_chat_time4", "type": "timestamp", "description": null}, {"name": "total_chat_time5", "type": "timestamp", "description": null}, {"name": "total_chat_time6", "type": "timestamp", "description": null}, {"name": "total_chat_time7", "type": "timestamp", "description": null}, {"name": "total_chat_time8", "type": "timestamp", "description": null}, {"name": "total_chat_time9", "type": "timestamp", "description": null}, {"name": "total_chat_time10", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_guild_schedule` ( `season` bigint COMMENT 'None', `season_date` timestamp COMMENT 'None', `state` smallint COMMENT 'None', `ranking_season` string COMMENT 'None', `reg_date` timestamp COMMENT 'None', `occupation_state` smallint COMMENT 'None', `occupation_push` smallint COMMENT 'None', `total_news_time1` timestamp COMMENT 'None', `total_news_time2` timestamp COMMENT 'None', `total_news_time3` timestamp COMMENT 'None', `total_news_time4` timestamp COMMENT 'None', `total_news_time5` timestamp COMMENT 'None', `total_news_time6` timestamp COMMENT 'None', `total_news_time7` timestamp COMMENT 'None', `total_news_time8` timestamp COMMENT 'None', `total_news_time9` timestamp COMMENT 'None', `total_news_time10` timestamp COMMENT 'None', `total_chat_time1` timestamp COMMENT 'None', `total_chat_time2` timestamp COMMENT 'None', `total_chat_time3` timestamp COMMENT 'None', `total_chat_time4` timestamp COMMENT 'None', `total_chat_time5` timestamp COMMENT 'None', `total_chat_time6` timestamp COMMENT 'None', `total_chat_time7` timestamp COMMENT 'None', `total_chat_time8` timestamp COMMENT 'None', `total_chat_time9` timestamp COMMENT 'None', `total_chat_time10` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_guild_season", "description": null, "columns": [{"name": "season", "type": "bigint", "description": null}, {"name": "season_date", "type": "timestamp", "description": null}, {"name": "guild_seq", "type": "bigint", "description": null}, {"name": "ranking_league", "type": "int", "description": null}, {"name": "logo_edge", "type": "smallint", "description": null}, {"name": "logo_edge_color", "type": "smallint", "description": null}, {"name": "logo_letter", "type": "smallint", "description": null}, {"name": "logo_letter_color", "type": "smallint", "description": null}, {"name": "point_act", "type": "bigint", "description": null}, {"name": "point_act_game", "type": "bigint", "description": null}, {"name": "point_act_attend", "type": "bigint", "description": null}, {"name": "point_act_bonus", "type": "bigint", "description": null}, {"name": "point_act_fund", "type": "bigint", "description": null}, {"name": "point_act_last_date", "type": "timestamp", "description": null}, {"name": "fund", "type": "bigint", "description": null}, {"name": "refund", "type": "bigint", "description": null}, {"name": "delfund", "type": "bigint", "description": null}, {"name": "reward", "type": "bigint", "description": null}, {"name": "master_ranking_league", "type": "int", "description": null}, {"name": "batch", "type": "tinyint", "description": null}, {"name": "season_ranking", "type": "int", "description": null}, {"name": "occupation_regist_limit", "type": "smallint", "description": null}, {"name": "occupation_point", "type": "bigint", "description": null}, {"name": "occupation_point_last_date", "type": "timestamp", "description": null}, {"name": "occupation_count", "type": "int", "description": null}, {"name": "occupation_tier", "type": "int", "description": null}, {"name": "occupation_game_season", "type": "bigint", "description": null}, {"name": "occupation_game_order", "type": "int", "description": null}, {"name": "occupation_game_tier", "type": "int", "description": null}, {"name": "occupation_game_ranking", "type": "int", "description": null}, {"name": "occupation_game_fund", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_guild_season` ( `season` bigint COMMENT 'None', `season_date` timestamp COMMENT 'None', `guild_seq` bigint COMMENT 'None', `ranking_league` int COMMENT 'None', `logo_edge` smallint COMMENT 'None', `logo_edge_color` smallint COMMENT 'None', `logo_letter` smallint COMMENT 'None', `logo_letter_color` smallint COMMENT 'None', `point_act` bigint COMMENT 'None', `point_act_game` bigint COMMENT 'None', `point_act_attend` bigint COMMENT 'None', `point_act_bonus` bigint COMMENT 'None', `point_act_fund` bigint COMMENT 'None', `point_act_last_date` timestamp COMMENT 'None', `fund` bigint COMMENT 'None', `refund` bigint COMMENT 'None', `delfund` bigint COMMENT 'None', `reward` bigint COMMENT 'None', `master_ranking_league` int COMMENT 'None', `batch` tinyint COMMENT 'None', `season_ranking` int COMMENT 'None', `occupation_regist_limit` smallint COMMENT 'None', `occupation_point` bigint COMMENT 'None', `occupation_point_last_date` timestamp COMMENT 'None', `occupation_count` int COMMENT 'None', `occupation_tier` int COMMENT 'None', `occupation_game_season` bigint COMMENT 'None', `occupation_game_order` int COMMENT 'None', `occupation_game_tier` int COMMENT 'None', `occupation_game_ranking` int COMMENT 'None', `occupation_game_fund` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_poker_db", "table": "baduki_guild_season_points", "description": null, "columns": [{"name": "season", "type": "bigint", "description": null}, {"name": "grade", "type": "int", "description": null}, {"name": "attend", "type": "int", "description": null}, {"name": "attend_contribution", "type": "int", "description": null}, {"name": "bonus", "type": "int", "description": null}, {"name": "bonus_contribution", "type": "int", "description": null}, {"name": "fund", "type": "int", "description": null}, {"name": "fund_contribution", "type": "bigint", "description": null}, {"name": "fund_daily_limit", "type": "int", "description": null}, {"name": "play_win_percent", "type": "int", "description": null}, {"name": "play_loose_percent", "type": "int", "description": null}, {"name": "fund_play_win_percent", "type": "int", "description": null}, {"name": "fund_play_loose_percent", "type": "int", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "capital", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_poker_db`.`baduki_guild_season_points` ( `season` bigint COMMENT 'None', `grade` int COMMENT 'None', `attend` int COMMENT 'None', `attend_contribution` int COMMENT 'None', `bonus` int COMMENT 'None', `bonus_contribution` int COMMENT 'None', `fund` int COMMENT 'None', `fund_contribution` bigint COMMENT 'None', `fund_daily_limit` int COMMENT 'None', `play_win_percent` int COMMENT 'None', `play_loose_percent` int COMMENT 'None', `fund_play_win_percent` int COMMENT 'None', `fund_play_loose_percent` int COMMENT 'None', `reg_date` timestamp COMMENT 'None', `capital` bigint COMMENT 'None' );
README.md exists but content is empty.
Downloads last month
34