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'
); |
End of preview. Expand
in Dataset Viewer.
README.md exists but content is empty.
- Downloads last month
- 34