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": "pc_poker_db", "table": "webboard_admhist", "description": null, "columns": [{"name": "seq", "type": "string", "description": null}, {"name": "gameid", "type": "string", "description": null}, {"name": "regdate", "type": "bigint", "description": null}, {"name": "memberid", "type": "string", "description": null}, {"name": "modcode", "type": "string", "description": null}, {"name": "moddetailcode", "type": "string", "description": null}, {"name": "beforedata", "type": "string", "description": null}, {"name": "moddata", "type": "string", "description": null}, {"name": "afterdata", "type": "string", "description": null}, {"name": "reason", "type": "string", "description": null}, {"name": "adminid", "type": "string", "description": null}, {"name": "adminname", "type": "string", "description": null}, {"name": "adminip", "type": "string", "description": null}, {"name": "addinfo", "type": "string", "description": null}, {"name": "i_seq", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`webboard_admhist` ( `seq` string COMMENT 'None', `gameid` string COMMENT 'None', `regdate` bigint COMMENT 'None', `memberid` string COMMENT 'None', `modcode` string COMMENT 'None', `moddetailcode` string COMMENT 'None', `beforedata` string COMMENT 'None', `moddata` string COMMENT 'None', `afterdata` string COMMENT 'None', `reason` string COMMENT 'None', `adminid` string COMMENT 'None', `adminname` string COMMENT 'None', `adminip` string COMMENT 'None', `addinfo` string COMMENT 'None', `i_seq` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "classicpoker_gacha_mast", "description": null, "columns": [{"name": "gacha_id", "type": "string", "description": null}, {"name": "skin", "type": "string", "description": null}, {"name": "text", "type": "string", "description": null}, {"name": "text_win_money", "type": "string", "description": null}, {"name": "text_lose_money", "type": "string", "description": null}, {"name": "reward_type1", "type": "tinyint", "description": "1: ๊ฒŒ์ž„๋จธ๋‹ˆ\n2: ์•„๋ฐ”ํƒ€\n3: ์•„์ดํ…œ"}, {"name": "reward_value1", "type": "string", "description": null}, {"name": "reward_amount1", "type": "bigint", "description": null}, {"name": "reward_money_code1", "type": "string", "description": null}, {"name": "reward_type2", "type": "tinyint", "description": null}, {"name": "reward_value2", "type": "string", "description": null}, {"name": "reward_amount2", "type": "bigint", "description": null}, {"name": "reward_money_code2", "type": "string", "description": null}]}
CREATE TABLE `pc_poker_db`.`classicpoker_gacha_mast` ( `gacha_id` string COMMENT 'None', `skin` string COMMENT 'None', `text` string COMMENT 'None', `text_win_money` string COMMENT 'None', `text_lose_money` string COMMENT 'None', `reward_type1` tinyint COMMENT '1: ๊ฒŒ์ž„๋จธ๋‹ˆ 2: ์•„๋ฐ”ํƒ€ 3: ์•„์ดํ…œ', `reward_value1` string COMMENT 'None', `reward_amount1` bigint COMMENT 'None', `reward_money_code1` string COMMENT 'None', `reward_type2` tinyint COMMENT 'None', `reward_value2` string COMMENT 'None', `reward_amount2` bigint COMMENT 'None', `reward_money_code2` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "classicpoker_item_mast", "description": null, "columns": [{"name": "item_id", "type": "string", "description": null}, {"name": "item_name_kr", "type": "string", "description": null}, {"name": "item_name_en", "type": "string", "description": null}, {"name": "item_type", "type": "tinyint", "description": "2: ์•„๋ฐ”ํƒ€\n3: ์•„์ดํ…œ\n"}, {"name": "item_use_hour", "type": "bigint", "description": null}, {"name": "inven_category", "type": "int", "description": null}, {"name": "small_img", "type": "string", "description": null}, {"name": "big_img", "type": "string", "description": null}, {"name": "default_supply", "type": "tinyint", "description": "0:๋น„์ง€๊ธ‰ 1:๊ธฐ๋ณธ์ง€๊ธ‰"}, {"name": "lobby_img", "type": "string", "description": null}, {"name": "mod_date", "type": "bigint", "description": null}, {"name": "item_grade", "type": "tinyint", "description": null}, {"name": "gender", "type": "tinyint", "description": null}, {"name": "pc_avatar_code", "type": "string", "description": null}, {"name": "gacha_id", "type": "string", "description": null}, {"name": "skin_name", "type": "string", "description": null}]}
CREATE TABLE `pc_poker_db`.`classicpoker_item_mast` ( `item_id` string COMMENT 'None', `item_name_kr` string COMMENT 'None', `item_name_en` string COMMENT 'None', `item_type` tinyint COMMENT '2: ์•„๋ฐ”ํƒ€ 3: ์•„์ดํ…œ ', `item_use_hour` bigint COMMENT 'None', `inven_category` int COMMENT 'None', `small_img` string COMMENT 'None', `big_img` string COMMENT 'None', `default_supply` tinyint COMMENT '0:๋น„์ง€๊ธ‰ 1:๊ธฐ๋ณธ์ง€๊ธ‰', `lobby_img` string COMMENT 'None', `mod_date` bigint COMMENT 'None', `item_grade` tinyint COMMENT 'None', `gender` tinyint COMMENT 'None', `pc_avatar_code` string COMMENT 'None', `gacha_id` string COMMENT 'None', `skin_name` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "classicpoker_rat", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": null}, {"name": "regist_date", "type": "bigint", "description": null}, {"name": "hid", "type": "string", "description": null}, {"name": "avatar_id", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "state", "type": "int", "description": null}, {"name": "withdraw_date", "type": "bigint", "description": null}, {"name": "admin_level", "type": "int", "description": null}, {"name": "admin_mod_date", "type": "bigint", "description": "์–ด๋“œ๋ฏผ ๊ด€๋ จ wsํŒ€ ์ถ”๊ฐ€"}, {"name": "admin_modifier", "type": "string", "description": "์–ด๋“œ๋ฏผ ๊ด€๋ จ wsํŒ€ ์ถ”๊ฐ€"}, {"name": "login_date", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`classicpoker_rat` ( `sno` bigint COMMENT 'None', `regist_date` bigint COMMENT 'None', `hid` string COMMENT 'None', `avatar_id` string COMMENT 'None', `ci` string COMMENT 'None', `state` int COMMENT 'None', `withdraw_date` bigint COMMENT 'None', `admin_level` int COMMENT 'None', `admin_mod_date` bigint COMMENT '์–ด๋“œ๋ฏผ ๊ด€๋ จ wsํŒ€ ์ถ”๊ฐ€', `admin_modifier` string COMMENT '์–ด๋“œ๋ฏผ ๊ด€๋ จ wsํŒ€ ์ถ”๊ฐ€', `login_date` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "classicpoker_inventory", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": null}, {"name": "item_id", "type": "string", "description": "(ItemType์— ๋”ฐ๋ฅธ value)\n- ์•„๋ฐ”ํƒ€: ์•„๋ฐ”ํƒ€ id (ClassicPoker_Item_Mast ์˜ item_id)\n- ์•„์ดํ…œ: ์•„์ดํ…œ id (ClassicPoker_Item_Mast ์˜ item_id)"}, {"name": "category", "type": "tinyint", "description": null}, {"name": "regist_date", "type": "bigint", "description": null}, {"name": "expire_date", "type": "bigint", "description": null}, {"name": "last_update_date", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`classicpoker_inventory` ( `sno` bigint COMMENT 'None', `item_id` string COMMENT '(ItemType์— ๋”ฐ๋ฅธ value) - ์•„๋ฐ”ํƒ€: ์•„๋ฐ”ํƒ€ id (ClassicPoker_Item_Mast ์˜ item_id) - ์•„์ดํ…œ: ์•„์ดํ…œ id (ClassicPoker_Item_Mast ์˜ item_id)', `category` tinyint COMMENT 'None', `regist_date` bigint COMMENT 'None', `expire_date` bigint COMMENT 'None', `last_update_date` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "classicpoker_message_box", "description": null, "columns": [{"name": "message_no", "type": "bigint", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "type", "type": "tinyint", "description": "1=์šด์˜์ž, 2=๊ณต์ง€, 3=์ƒ์ , 4=์ฟ ํฐ"}, {"name": "title", "type": "string", "description": "์ƒํ’ˆ๋ช…"}, {"name": "text", "type": "string", "description": null}, {"name": "link_type", "type": "tinyint", "description": "1=๋งํฌ์—†์Œ\n2=๋‚ด๋ถ€ ์”ฌ\n3=์™ธ๋ถ€ APP\n4=๋‚ด๋ถ€ WEB(ex:๊ณต์ง€๊ฒŒ์‹œํŒ,๋™์˜์ƒ์ถฉ์ „์†Œ๋“ฑ)\n5=๋‚ด๋ถ€ web-์ธ์ฆํ† ํฐํฌํ•จ(ex:์ด๋ฒคํŠธ ์ฐธ์—ฌ ๋“ฑ)\n6:์™ธ๋ถ€ WEB"}, {"name": "link_value", "type": "string", "description": null}, {"name": "link_message", "type": "string", "description": null}, {"name": "webview_title", "type": "string", "description": null}, {"name": "reward_type", "type": "tinyint", "description": "0=์—†์Œ,1=๊ฒŒ์ž„๋จธ๋‹ˆ,2=์•„๋ฐ”ํƒ€,3=์•„์ดํ…œ,4: ๊ฐ€์œ„๋ฐ”์œ„๋ณด, 6: ์ฃผ์‚ฌ์œ„"}, {"name": "reward_value", "type": "string", "description": null}, {"name": "reward_amount", "type": "bigint", "description": null}, {"name": "limit_money", "type": "bigint", "description": null}, {"name": "money_type", "type": "tinyint", "description": "0=์œ ๋ฃŒ, 1=๋ฌด๋ฃŒ, 2=์–ด๋“œ๋ฏผ"}, {"name": "checked", "type": "tinyint", "description": "0=ํ™•์ธ์•ˆํ•จ,1=ํ™•์ธํ•จ"}, {"name": "receive_date", "type": "bigint", "description": "๊ตฌ๋งค์ผ์‹œ"}, {"name": "expire_date", "type": "bigint", "description": null}, {"name": "receive_reward_date", "type": "bigint", "description": "(NULL :์‚ฌ์šฉ ์•ˆํ•จ, ๊ฐ’ ์žˆ์Œ: ์‚ฌ์šฉ ํ•ด์„œ ๊ฒฐ๊ณผ๊ฐ€ ๋‚˜์™€ ๋ณด์ƒ์„ ๋ฐ›์€ ์‹œ์ )"}, {"name": "priority", "type": "int", "description": null}, {"name": "money_code", "type": "string", "description": null}, {"name": "extra_info", "type": "string", "description": "classicpoker_delivery_hist.delivery_seq ๊ตฌ๋งค ์ •๋ณด๊ฐ’"}, {"name": "max_money", "type": "bigint", "description": null}, {"name": "notice_no", "type": "bigint", "description": null}, {"name": "parent_message_no", "type": "bigint", "description": null}, {"name": "registrant", "type": "string", "description": "์–ด๋“œ๋ฏผ ๊ด€๋ จ wsํŒ€ ์ถ”๊ฐ€"}, {"name": "receiver_count", "type": "int", "description": "์–ด๋“œ๋ฏผ ๊ด€๋ จ wsํŒ€ ์ถ”๊ฐ€"}, {"name": "admin_message", "type": "string", "description": "์–ด๋“œ๋ฏผ ๊ด€๋ จ wsํŒ€ ์ถ”๊ฐ€"}, {"name": "admin_message_type", "type": "tinyint", "description": "์–ด๋“œ๋ฏผ ๊ด€๋ จ wsํŒ€ ์ถ”๊ฐ€"}, {"name": "deleted", "type": "tinyint", "description": "์–ด๋“œ๋ฏผ ๊ด€๋ จ wsํŒ€ ์ถ”๊ฐ€"}, {"name": "work_ymd", "type": "bigint", "description": null}, {"name": "member_no", "type": "string", "description": null}, {"name": "receive_type", "type": "tinyint", "description": null}]}
CREATE TABLE `pc_poker_db`.`classicpoker_message_box` ( `message_no` bigint COMMENT 'None', `sno` bigint COMMENT 'None', `type` tinyint COMMENT '1=์šด์˜์ž, 2=๊ณต์ง€, 3=์ƒ์ , 4=์ฟ ํฐ', `title` string COMMENT '์ƒํ’ˆ๋ช…', `text` string COMMENT 'None', `link_type` tinyint COMMENT '1=๋งํฌ์—†์Œ 2=๋‚ด๋ถ€ ์”ฌ 3=์™ธ๋ถ€ APP 4=๋‚ด๋ถ€ WEB(ex:๊ณต์ง€๊ฒŒ์‹œํŒ,๋™์˜์ƒ์ถฉ์ „์†Œ๋“ฑ) 5=๋‚ด๋ถ€ web-์ธ์ฆํ† ํฐํฌํ•จ(ex:์ด๋ฒคํŠธ ์ฐธ์—ฌ ๋“ฑ) 6:์™ธ๋ถ€ WEB', `link_value` string COMMENT 'None', `link_message` string COMMENT 'None', `webview_title` string COMMENT 'None', `reward_type` tinyint COMMENT '0=์—†์Œ,1=๊ฒŒ์ž„๋จธ๋‹ˆ,2=์•„๋ฐ”ํƒ€,3=์•„์ดํ…œ,4: ๊ฐ€์œ„๋ฐ”์œ„๋ณด, 6: ์ฃผ์‚ฌ์œ„', `reward_value` string COMMENT 'None', `reward_amount` bigint COMMENT 'None', `limit_money` bigint COMMENT 'None', `money_type` tinyint COMMENT '0=์œ ๋ฃŒ, 1=๋ฌด๋ฃŒ, 2=์–ด๋“œ๋ฏผ', `checked` tinyint COMMENT '0=ํ™•์ธ์•ˆํ•จ,1=ํ™•์ธํ•จ', `receive_date` bigint COMMENT '๊ตฌ๋งค์ผ์‹œ', `expire_date` bigint COMMENT 'None', `receive_reward_date` bigint COMMENT '(NULL :์‚ฌ์šฉ ์•ˆํ•จ, ๊ฐ’ ์žˆ์Œ: ์‚ฌ์šฉ ํ•ด์„œ ๊ฒฐ๊ณผ๊ฐ€ ๋‚˜์™€ ๋ณด์ƒ์„ ๋ฐ›์€ ์‹œ์ )', `priority` int COMMENT 'None', `money_code` string COMMENT 'None', `extra_info` string COMMENT 'classicpoker_delivery_hist.delivery_seq ๊ตฌ๋งค ์ •๋ณด๊ฐ’', `max_money` bigint COMMENT 'None', `notice_no` bigint COMMENT 'None', `parent_message_no` bigint COMMENT 'None', `registrant` string COMMENT '์–ด๋“œ๋ฏผ ๊ด€๋ จ wsํŒ€ ์ถ”๊ฐ€', `receiver_count` int COMMENT '์–ด๋“œ๋ฏผ ๊ด€๋ จ wsํŒ€ ์ถ”๊ฐ€', `admin_message` string COMMENT '์–ด๋“œ๋ฏผ ๊ด€๋ จ wsํŒ€ ์ถ”๊ฐ€', `admin_message_type` tinyint COMMENT '์–ด๋“œ๋ฏผ ๊ด€๋ จ wsํŒ€ ์ถ”๊ฐ€', `deleted` tinyint COMMENT '์–ด๋“œ๋ฏผ ๊ด€๋ จ wsํŒ€ ์ถ”๊ฐ€', `work_ymd` bigint COMMENT 'None', `member_no` string COMMENT 'None', `receive_type` tinyint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "highlow2rat", "description": null, "columns": [{"name": "memberid", "type": "string", "description": null}, {"name": "matchcnt", "type": "bigint", "description": null}, {"name": "wincnt", "type": "bigint", "description": null}, {"name": "defeatcnt", "type": "bigint", "description": null}, {"name": "drawcnt", "type": "bigint", "description": null}, {"name": "joindate", "type": "bigint", "description": null}, {"name": "lastdate", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`highlow2rat` ( `memberid` string COMMENT 'None', `matchcnt` bigint COMMENT 'None', `wincnt` bigint COMMENT 'None', `defeatcnt` bigint COMMENT 'None', `drawcnt` bigint COMMENT 'None', `joindate` bigint COMMENT 'None', `lastdate` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "laspokerrat", "description": null, "columns": [{"name": "memberid", "type": "string", "description": null}, {"name": "matchcnt", "type": "bigint", "description": null}, {"name": "wincnt", "type": "bigint", "description": null}, {"name": "defeatcnt", "type": "bigint", "description": null}, {"name": "drawcnt", "type": "bigint", "description": null}, {"name": "allincnt1", "type": "bigint", "description": null}, {"name": "winmoney", "type": "decimal(10,0)", "description": null}, {"name": "spejokbocnt2", "type": "bigint", "description": null}, {"name": "spejokbocnt3", "type": "bigint", "description": null}, {"name": "spejokbocnt4", "type": "bigint", "description": null}, {"name": "todaycnt", "type": "bigint", "description": null}, {"name": "yesterdaycnt", "type": "bigint", "description": null}, {"name": "daymaxcnt", "type": "bigint", "description": null}, {"name": "thismonthcnt", "type": "bigint", "description": null}, {"name": "premonthecnt", "type": "bigint", "description": null}, {"name": "lastdate", "type": "bigint", "description": null}, {"name": "joindate", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`laspokerrat` ( `memberid` string COMMENT 'None', `matchcnt` bigint COMMENT 'None', `wincnt` bigint COMMENT 'None', `defeatcnt` bigint COMMENT 'None', `drawcnt` bigint COMMENT 'None', `allincnt1` bigint COMMENT 'None', `winmoney` decimal(10,0) COMMENT 'None', `spejokbocnt2` bigint COMMENT 'None', `spejokbocnt3` bigint COMMENT 'None', `spejokbocnt4` bigint COMMENT 'None', `todaycnt` bigint COMMENT 'None', `yesterdaycnt` bigint COMMENT 'None', `daymaxcnt` bigint COMMENT 'None', `thismonthcnt` bigint COMMENT 'None', `premonthecnt` bigint COMMENT 'None', `lastdate` bigint COMMENT 'None', `joindate` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "pokerrankusermast", "description": null, "columns": [{"name": "memberid", "type": "string", "description": null}, {"name": "lastdate", "type": "bigint", "description": null}, {"name": "channelid", "type": "string", "description": null}, {"name": "gamepoint", "type": "bigint", "description": null}, {"name": "matchcnt", "type": "bigint", "description": null}, {"name": "reg", "type": "string", "description": null}, {"name": "rankseq", "type": "bigint", "description": null}, {"name": "regdate", "type": "bigint", "description": null}, {"name": "totalmoney", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`pokerrankusermast` ( `memberid` string COMMENT 'None', `lastdate` bigint COMMENT 'None', `channelid` string COMMENT 'None', `gamepoint` bigint COMMENT 'None', `matchcnt` bigint COMMENT 'None', `reg` string COMMENT 'None', `rankseq` bigint COMMENT 'None', `regdate` bigint COMMENT 'None', `totalmoney` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "hoola3rat", "description": null, "columns": [{"name": "memberid", "type": "string", "description": null}, {"name": "matchcnt", "type": "bigint", "description": null}, {"name": "wincnt", "type": "bigint", "description": null}, {"name": "defeatcnt", "type": "bigint", "description": null}, {"name": "drawcnt", "type": "bigint", "description": null}, {"name": "hoolacnt", "type": "bigint", "description": null}, {"name": "perfecthoolacnt", "type": "bigint", "description": null}, {"name": "lowjokbocnt", "type": "bigint", "description": null}, {"name": "highjokbocnt", "type": "bigint", "description": null}, {"name": "sevenfourcardcnt", "type": "bigint", "description": null}, {"name": "straightflushcnt", "type": "bigint", "description": null}, {"name": "allinothercnt", "type": "bigint", "description": null}, {"name": "allinselfcnt", "type": "bigint", "description": null}, {"name": "serieswincnt", "type": "bigint", "description": null}, {"name": "maxserieswincnt", "type": "bigint", "description": null}, {"name": "joindate", "type": "bigint", "description": null}, {"name": "disconncnt", "type": "bigint", "description": null}, {"name": "lastdisconn", "type": "bigint", "description": null}, {"name": "guildid", "type": "string", "description": null}, {"name": "lastdate", "type": "bigint", "description": null}, {"name": "matchcnt_today", "type": "bigint", "description": null}, {"name": "wincnt_today", "type": "bigint", "description": null}, {"name": "defeatcnt_today", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`hoola3rat` ( `memberid` string COMMENT 'None', `matchcnt` bigint COMMENT 'None', `wincnt` bigint COMMENT 'None', `defeatcnt` bigint COMMENT 'None', `drawcnt` bigint COMMENT 'None', `hoolacnt` bigint COMMENT 'None', `perfecthoolacnt` bigint COMMENT 'None', `lowjokbocnt` bigint COMMENT 'None', `highjokbocnt` bigint COMMENT 'None', `sevenfourcardcnt` bigint COMMENT 'None', `straightflushcnt` bigint COMMENT 'None', `allinothercnt` bigint COMMENT 'None', `allinselfcnt` bigint COMMENT 'None', `serieswincnt` bigint COMMENT 'None', `maxserieswincnt` bigint COMMENT 'None', `joindate` bigint COMMENT 'None', `disconncnt` bigint COMMENT 'None', `lastdisconn` bigint COMMENT 'None', `guildid` string COMMENT 'None', `lastdate` bigint COMMENT 'None', `matchcnt_today` bigint COMMENT 'None', `wincnt_today` bigint COMMENT 'None', `defeatcnt_today` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "classicpoker_delivery_hist", "description": "๋ฐฐ์†ก ๋กœ๊ทธ, ๊ตฌ๋งค ์ค‘๋ณต ์ง€๊ธ‰ ํ™•์ธ", "columns": [{"name": "delivery_seq", "type": "string", "description": "์•„์ดํ…œ ๋ฐฐ์†ก ์‹œํ€€์Šค ๋ฐฐ์—ด(hsp ์ƒ์„ฑ ์ค‘๋ณต์ง€๊ธ‰ ์ฒดํฌ ํ‚ค)"}, {"name": "product_id", "type": "string", "description": "์ง€๊ธ‰๋œ ์ƒํ’ˆ ID (classicpoker_store_product_mast.product_id)"}, {"name": "sno", "type": "bigint", "description": null}, {"name": "device_id", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "quantity", "type": "int", "description": null}, {"name": "give_reason", "type": "string", "description": null}, {"name": "give_infos", "type": "string", "description": null}, {"name": "purchase_date", "type": "bigint", "description": null}, {"name": "reward_type1", "type": "tinyint", "description": "1: ๊ฒŒ์ž„๋จธ๋‹ˆ\n2: ์•„๋ฐ”ํƒ€\n3: ์•„์ดํ…œ"}, {"name": "reward_value1", "type": "string", "description": null}, {"name": "reward_amount1", "type": "bigint", "description": "(reward_type์— ๋”ฐ๋ฅธ ์–‘) \n๊ฒŒ์ž„๋จธ๋‹ˆ : ๊ฐ’ \n์•„๋ฐ”ํƒ€,์•„์ดํ…œ: ๊ฐœ์ˆ˜"}, {"name": "reward_provide_type1", "type": "tinyint", "description": "1: ์ฆ‰์‹œ ์ง€๊ธ‰\n2: ๋ฉ”์‹œ์ง€ํ•จ์œผ๋กœ ์ง€๊ธ‰"}, {"name": "reward_type2", "type": "tinyint", "description": "1: ๊ฒŒ์ž„๋จธ๋‹ˆ\n2: ์•„๋ฐ”ํƒ€\n3: ์•„์ดํ…œ"}, {"name": "reward_value2", "type": "string", "description": null}, {"name": "reward_amount2", "type": "bigint", "description": "(reward_type์— ๋”ฐ๋ฅธ ์–‘) \n๊ฒŒ์ž„๋จธ๋‹ˆ : ๊ฐ’ \n์•„๋ฐ”ํƒ€,์•„์ดํ…œ: ๊ฐœ์ˆ˜"}, {"name": "reward_provide_type2", "type": "tinyint", "description": "1: ์ฆ‰์‹œ ์ง€๊ธ‰\n2: ๋ฉ”์‹œ์ง€ํ•จ์œผ๋กœ ์ง€๊ธ‰"}, {"name": "reward_type3", "type": "tinyint", "description": "1: ๊ฒŒ์ž„๋จธ๋‹ˆ\n2: ์•„๋ฐ”ํƒ€\n3: ์•„์ดํ…œ"}, {"name": "reward_value3", "type": "string", "description": null}, {"name": "reward_amount3", "type": "bigint", "description": "(reward_type์— ๋”ฐ๋ฅธ ์–‘) \n๊ฒŒ์ž„๋จธ๋‹ˆ : ๊ฐ’ \n์•„๋ฐ”ํƒ€,์•„์ดํ…œ: ๊ฐœ์ˆ˜"}, {"name": "reward_provide_type3", "type": "tinyint", "description": "1: ์ฆ‰์‹œ ์ง€๊ธ‰\n2: ๋ฉ”์‹œ์ง€ํ•จ์œผ๋กœ ์ง€๊ธ‰"}, {"name": "client_ip", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`classicpoker_delivery_hist` ( `delivery_seq` string COMMENT '์•„์ดํ…œ ๋ฐฐ์†ก ์‹œํ€€์Šค ๋ฐฐ์—ด(hsp ์ƒ์„ฑ ์ค‘๋ณต์ง€๊ธ‰ ์ฒดํฌ ํ‚ค)', `product_id` string COMMENT '์ง€๊ธ‰๋œ ์ƒํ’ˆ ID (classicpoker_store_product_mast.product_id)', `sno` bigint COMMENT 'None', `device_id` string COMMENT 'None', `ci` string COMMENT 'None', `quantity` int COMMENT 'None', `give_reason` string COMMENT 'None', `give_infos` string COMMENT 'None', `purchase_date` bigint COMMENT 'None', `reward_type1` tinyint COMMENT '1: ๊ฒŒ์ž„๋จธ๋‹ˆ 2: ์•„๋ฐ”ํƒ€ 3: ์•„์ดํ…œ', `reward_value1` string COMMENT 'None', `reward_amount1` bigint COMMENT '(reward_type์— ๋”ฐ๋ฅธ ์–‘) ๊ฒŒ์ž„๋จธ๋‹ˆ : ๊ฐ’ ์•„๋ฐ”ํƒ€,์•„์ดํ…œ: ๊ฐœ์ˆ˜', `reward_provide_type1` tinyint COMMENT '1: ์ฆ‰์‹œ ์ง€๊ธ‰ 2: ๋ฉ”์‹œ์ง€ํ•จ์œผ๋กœ ์ง€๊ธ‰', `reward_type2` tinyint COMMENT '1: ๊ฒŒ์ž„๋จธ๋‹ˆ 2: ์•„๋ฐ”ํƒ€ 3: ์•„์ดํ…œ', `reward_value2` string COMMENT 'None', `reward_amount2` bigint COMMENT '(reward_type์— ๋”ฐ๋ฅธ ์–‘) ๊ฒŒ์ž„๋จธ๋‹ˆ : ๊ฐ’ ์•„๋ฐ”ํƒ€,์•„์ดํ…œ: ๊ฐœ์ˆ˜', `reward_provide_type2` tinyint COMMENT '1: ์ฆ‰์‹œ ์ง€๊ธ‰ 2: ๋ฉ”์‹œ์ง€ํ•จ์œผ๋กœ ์ง€๊ธ‰', `reward_type3` tinyint COMMENT '1: ๊ฒŒ์ž„๋จธ๋‹ˆ 2: ์•„๋ฐ”ํƒ€ 3: ์•„์ดํ…œ', `reward_value3` string COMMENT 'None', `reward_amount3` bigint COMMENT '(reward_type์— ๋”ฐ๋ฅธ ์–‘) ๊ฒŒ์ž„๋จธ๋‹ˆ : ๊ฐ’ ์•„๋ฐ”ํƒ€,์•„์ดํ…œ: ๊ฐœ์ˆ˜', `reward_provide_type3` tinyint COMMENT '1: ์ฆ‰์‹œ ์ง€๊ธ‰ 2: ๋ฉ”์‹œ์ง€ํ•จ์œผ๋กœ ์ง€๊ธ‰', `client_ip` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "classicpoker_dice_gacha_hist", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "gacha_id", "type": "string", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "reg_time", "type": "bigint", "description": null}, {"name": "select", "type": "tinyint", "description": "0: ๋กœ์šฐ 1: ํ•˜์ด"}, {"name": "val1", "type": "tinyint", "description": null}, {"name": "val2", "type": "tinyint", "description": null}, {"name": "val3", "type": "tinyint", "description": null}, {"name": "game_money", "type": "bigint", "description": null}, {"name": "lucky_money", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}, {"name": "member_no", "type": "string", "description": null}]}
CREATE TABLE `pc_poker_db`.`classicpoker_dice_gacha_hist` ( `seq` bigint COMMENT 'None', `gacha_id` string COMMENT 'None', `sno` bigint COMMENT 'None', `reg_time` bigint COMMENT 'None', `select` tinyint COMMENT '0: ๋กœ์šฐ 1: ํ•˜์ด', `val1` tinyint COMMENT 'None', `val2` tinyint COMMENT 'None', `val3` tinyint COMMENT 'None', `game_money` bigint COMMENT 'None', `lucky_money` bigint COMMENT 'None', `work_ymd` bigint COMMENT 'None', `member_no` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "classicpoker_fortune_tree", "description": null, "columns": [{"name": "game_no", "type": "bigint", "description": null}, {"name": "game_date", "type": "bigint", "description": null}, {"name": "count", "type": "tinyint", "description": null}, {"name": "start_time", "type": "bigint", "description": null}, {"name": "mega_reward", "type": "bigint", "description": null}, {"name": "major_reward", "type": "bigint", "description": null}, {"name": "mini_bronze_reward", "type": "bigint", "description": null}, {"name": "mini_silver_reward", "type": "bigint", "description": null}, {"name": "mini_gold_reward", "type": "bigint", "description": null}, {"name": "end_time", "type": "bigint", "description": null}, {"name": "mini_win_cnt", "type": "bigint", "description": null}, {"name": "major_win_cnt", "type": "tinyint", "description": null}, {"name": "mega_win_cnt", "type": "bigint", "description": null}, {"name": "mini_win_max_cnt", "type": "bigint", "description": null}, {"name": "major_win_max_cnt", "type": "bigint", "description": null}, {"name": "mega_win_max_cnt", "type": "bigint", "description": null}, {"name": "ticket_max_cnt", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`classicpoker_fortune_tree` ( `game_no` bigint COMMENT 'None', `game_date` bigint COMMENT 'None', `count` tinyint COMMENT 'None', `start_time` bigint COMMENT 'None', `mega_reward` bigint COMMENT 'None', `major_reward` bigint COMMENT 'None', `mini_bronze_reward` bigint COMMENT 'None', `mini_silver_reward` bigint COMMENT 'None', `mini_gold_reward` bigint COMMENT 'None', `end_time` bigint COMMENT 'None', `mini_win_cnt` bigint COMMENT 'None', `major_win_cnt` tinyint COMMENT 'None', `mega_win_cnt` bigint COMMENT 'None', `mini_win_max_cnt` bigint COMMENT 'None', `major_win_max_cnt` bigint COMMENT 'None', `mega_win_max_cnt` bigint COMMENT 'None', `ticket_max_cnt` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "classicpoker_message_notice_mast", "description": null, "columns": [{"name": "notice_no", "type": "bigint", "description": null}, {"name": "title", "type": "string", "description": null}, {"name": "text", "type": "string", "description": null}, {"name": "link_type", "type": "tinyint", "description": null}, {"name": "link_value", "type": "string", "description": null}, {"name": "link_message", "type": "string", "description": null}, {"name": "webview_title", "type": "string", "description": null}, {"name": "start_date", "type": "bigint", "description": null}, {"name": "end_date", "type": "bigint", "description": null}, {"name": "modifier", "type": "string", "description": null}, {"name": "mod_date", "type": "bigint", "description": null}, {"name": "priority", "type": "int", "description": null}, {"name": "target_store_type", "type": "tinyint", "description": "ํƒ€๊ฒŸ ์Šคํ† ์–ด(0: ๋ชจ๋“  ์Šคํ† ์–ด 1: ์›์Šคํ† ์–ด(=ํ‹ฐ์Šคํ† ์–ด) 2: ๊ตฌ๊ธ€ 3: ios)"}, {"name": "receive_type", "type": "tinyint", "description": null}]}
CREATE TABLE `pc_poker_db`.`classicpoker_message_notice_mast` ( `notice_no` bigint COMMENT 'None', `title` string COMMENT 'None', `text` string COMMENT 'None', `link_type` tinyint COMMENT 'None', `link_value` string COMMENT 'None', `link_message` string COMMENT 'None', `webview_title` string COMMENT 'None', `start_date` bigint COMMENT 'None', `end_date` bigint COMMENT 'None', `modifier` string COMMENT 'None', `mod_date` bigint COMMENT 'None', `priority` int COMMENT 'None', `target_store_type` tinyint COMMENT 'ํƒ€๊ฒŸ ์Šคํ† ์–ด(0: ๋ชจ๋“  ์Šคํ† ์–ด 1: ์›์Šคํ† ์–ด(=ํ‹ฐ์Šคํ† ์–ด) 2: ๊ตฌ๊ธ€ 3: ios)', `receive_type` tinyint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "classicpoker_mystery_card", "description": null, "columns": [{"name": "game_no", "type": "bigint", "description": null}, {"name": "game_time", "type": "bigint", "description": null}, {"name": "game_type", "type": "tinyint", "description": "0:๋ธ”๋ž™๋ ˆ๋“œ 1:์Šค๋‹คํ•˜ํฌ 2:๋ธ”๋ž™๋ ˆ๋“œ์กฐ์ปค 3์Šค๋‹คํ•˜ํฌ์กฐ์ปค"}, {"name": "spade_user_cnt", "type": "bigint", "description": null}, {"name": "diamond_user_cnt", "type": "bigint", "description": null}, {"name": "heart_user_cnt", "type": "bigint", "description": null}, {"name": "club_user_cnt", "type": "bigint", "description": null}, {"name": "black_user_cnt", "type": "bigint", "description": null}, {"name": "red_user_cnt", "type": "bigint", "description": null}, {"name": "joker_user_cnt", "type": "bigint", "description": null}, {"name": "result_card", "type": "int", "description": null}]}
CREATE TABLE `pc_poker_db`.`classicpoker_mystery_card` ( `game_no` bigint COMMENT 'None', `game_time` bigint COMMENT 'None', `game_type` tinyint COMMENT '0:๋ธ”๋ž™๋ ˆ๋“œ 1:์Šค๋‹คํ•˜ํฌ 2:๋ธ”๋ž™๋ ˆ๋“œ์กฐ์ปค 3์Šค๋‹คํ•˜ํฌ์กฐ์ปค', `spade_user_cnt` bigint COMMENT 'None', `diamond_user_cnt` bigint COMMENT 'None', `heart_user_cnt` bigint COMMENT 'None', `club_user_cnt` bigint COMMENT 'None', `black_user_cnt` bigint COMMENT 'None', `red_user_cnt` bigint COMMENT 'None', `joker_user_cnt` bigint COMMENT 'None', `result_card` int COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "classicpoker_mystery_card_reward_mast", "description": null, "columns": [{"name": "game_type", "type": "tinyint", "description": "0:๋ธ”๋ž™๋ ˆ๋“œ 1:์Šค๋‹คํ•˜ํฌ 2:๋ธ”๋ž™๋ ˆ๋“œ์กฐ์ปค 3์Šค๋‹คํ•˜ํฌ์กฐ์ปค"}, {"name": "betting_type", "type": "tinyint", "description": "0:์ŠคํŽ˜์ด๋“œ 1: ๋‹ค์ด์•„ 2:ํ•˜ํŠธ 3:ํด๋กœ๋ฒ„ 4:๋ธ”๋ž™ 5:๋ ˆ๋“œ 6:์กฐ์ปค"}, {"name": "ticket_type", "type": "tinyint", "description": "0:๋ธŒ๋ก ์ฆˆ 1:์‹ค๋ฒ„ 2: ๊ณจ๋“œ"}, {"name": "money", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`classicpoker_mystery_card_reward_mast` ( `game_type` tinyint COMMENT '0:๋ธ”๋ž™๋ ˆ๋“œ 1:์Šค๋‹คํ•˜ํฌ 2:๋ธ”๋ž™๋ ˆ๋“œ์กฐ์ปค 3์Šค๋‹คํ•˜ํฌ์กฐ์ปค', `betting_type` tinyint COMMENT '0:์ŠคํŽ˜์ด๋“œ 1: ๋‹ค์ด์•„ 2:ํ•˜ํŠธ 3:ํด๋กœ๋ฒ„ 4:๋ธ”๋ž™ 5:๋ ˆ๋“œ 6:์กฐ์ปค', `ticket_type` tinyint COMMENT '0:๋ธŒ๋ก ์ฆˆ 1:์‹ค๋ฒ„ 2: ๊ณจ๋“œ', `money` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "classicpoker_mystery_card_user_betting", "description": null, "columns": [{"name": "game_no", "type": "bigint", "description": null}, {"name": "betting_type", "type": "tinyint", "description": null}, {"name": "blonze_cnt", "type": "int", "description": null}, {"name": "silver_cnt", "type": "int", "description": null}, {"name": "gold_cnt", "type": "int", "description": null}, {"name": "betting_time", "type": "bigint", "description": null}, {"name": "receive_reward_time", "type": "bigint", "description": null}, {"name": "reward_money", "type": "bigint", "description": null}, {"name": "member_no", "type": "string", "description": null}]}
CREATE TABLE `pc_poker_db`.`classicpoker_mystery_card_user_betting` ( `game_no` bigint COMMENT 'None', `betting_type` tinyint COMMENT 'None', `blonze_cnt` int COMMENT 'None', `silver_cnt` int COMMENT 'None', `gold_cnt` int COMMENT 'None', `betting_time` bigint COMMENT 'None', `receive_reward_time` bigint COMMENT 'None', `reward_money` bigint COMMENT 'None', `member_no` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "classicpoker_reward", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": null}, {"name": "reward_id", "type": "string", "description": null}, {"name": "device_id", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "hid", "type": "string", "description": null}, {"name": "value", "type": "bigint", "description": null}, {"name": "update_date", "type": "bigint", "description": null}, {"name": "reg_date", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`classicpoker_reward` ( `sno` bigint COMMENT 'None', `reward_id` string COMMENT 'None', `device_id` string COMMENT 'None', `ci` string COMMENT 'None', `hid` string COMMENT 'None', `value` bigint COMMENT 'None', `update_date` bigint COMMENT 'None', `reg_date` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "classicpoker_store_product_mast", "description": null, "columns": [{"name": "product_id", "type": "string", "description": null}, {"name": "product_name", "type": "string", "description": null}, {"name": "product_category", "type": "tinyint", "description": "1: ์ŠคํŽ˜์…œ ํƒญ(ํ˜„์žฌ ๊ธฐํš์ƒ ์กด์žฌํ•˜์ง€ ์•Š์Œ)\n2: ๋ณด์„ ํƒญ(ํ˜„์žฌ ๊ธฐํš์ƒ ์กด์žฌํ•˜์ง€ ์•Š์Œ)\n3: ๋จธ๋‹ˆ์•„๋ฐ”ํƒ€ ํƒญ\n4: ์•„์ดํ…œ ํƒญ\n5: ํšŒ์›์ œ ํƒญ\n"}, {"name": "product_category2", "type": "tinyint", "description": null}, {"name": "product_sorting", "type": "int", "description": null}, {"name": "product_flag", "type": "int", "description": null}, {"name": "pay_type", "type": "tinyint", "description": "1: ์บ์‰ฌ"}, {"name": "pay_price", "type": "bigint", "description": null}, {"name": "sales_start_date", "type": "bigint", "description": null}, {"name": "sales_end_date", "type": "bigint", "description": null}, {"name": "plural_buy_count", "type": "int", "description": "\n1: 1๊ฐœ๋งŒ ๊ตฌ๋งค ๊ฐ€๋Šฅ\n2~9: 2~9๊ฐœ ๊นŒ์ง€ ๊ตฌ๋งค ๊ฐ€๋Šฅ"}, {"name": "max_buy_count", "type": "int", "description": "0: ๋ฌด์ œํ•œ\n1~999: 1~999๊ฐœ\n"}, {"name": "max_buy_count_ci", "type": "int", "description": "0: ๋ฌด์ œํ•œ\n1~999: 1~999๊ฐœ\n"}, {"name": "max_buy_count_device", "type": "int", "description": "0: ๋ฌด์ œํ•œ\n1~999: 1~999๊ฐœ\n"}, {"name": "max_buy_count_init_type", "type": "tinyint", "description": "0: ์ดˆ๊ธฐํ™” ์—†์Œ\n1: ๋งค์ผ 00์‹œ ์ดˆ๊ธฐํ™”\n2: ๋งค์ฃผ ์›”์š”์ผ 00์‹œ ์ดˆ๊ธฐํ™”\n3: ๋งค์›” 1์ผ 0์‹œ ์ดˆ๊ธฐํ™”\n"}, {"name": "bonus_tag", "type": "bigint", "description": "0: ๋ณด๋„ˆ์Šค ํ‘œ์‹œ ์—†์Œ\n1~999: ๋ณด๋„ˆ์Šค ํƒœ๊ทธ ๋ฐ ๋ณด๋„ˆ์Šค์œจ ์ˆซ์ž ํ‘œ์‹œ\n"}, {"name": "product_img", "type": "string", "description": null}, {"name": "product_function_text", "type": "string", "description": null}, {"name": "reward_type1", "type": "tinyint", "description": "1: ๊ฒŒ์ž„๋จธ๋‹ˆ\n2: ์•„๋ฐ”ํƒ€\n3: ์•„์ดํ…œ\n"}, {"name": "reward_value1", "type": "string", "description": "(reward_type์— ๋”ฐ๋ฅธ value)\n- ๊ฒŒ์ž„๋จธ๋‹ˆ: ๊ฐ’\n- ์•„๋ฐ”ํƒ€: ์•„๋ฐ”ํƒ€ id \n- ์•„์ดํ…œ: ์•„์ดํ…œ id"}, {"name": "reward_amount1", "type": "bigint", "description": "(reward_type์— ๋”ฐ๋ฅธ ์–‘) ๊ฒŒ์ž„๋จธ๋‹ˆ : ๊ฐ’ ์•„๋ฐ”ํƒ€,์•„์žํ…œ: ๊ฒŸ์ˆ˜"}, {"name": "reward_provide_type1", "type": "tinyint", "description": "1: ์ฆ‰์‹œ ์ง€๊ธ‰\n2: ๋ฉ”์‹œ์ง€ํ•จ์œผ๋กœ ์ง€๊ธ‰\n"}, {"name": "reward_type2", "type": "tinyint", "description": "1: ๊ฒŒ์ž„๋จธ๋‹ˆ\n2: ์•„๋ฐ”ํƒ€\n3: ์•„์ดํ…œ\n"}, {"name": "reward_value2", "type": "string", "description": "(reward_type์— ๋”ฐ๋ฅธ value)\n- ๊ฒŒ์ž„๋จธ๋‹ˆ: ๊ฐ’\n- ์•„๋ฐ”ํƒ€: ์•„๋ฐ”ํƒ€ id (ClassicPoker_Item_Mast item_id)\n- ์•„์ดํ…œ: ์•„์ดํ…œ id (ClassicPoker_Item_Mast item_id)"}, {"name": "reward_amount2", "type": "bigint", "description": "(reward_type์— ๋”ฐ๋ฅธ ์–‘) ๊ฒŒ์ž„๋จธ๋‹ˆ : ๊ฐ’ ์•„๋ฐ”ํƒ€,์•„์žํ…œ: ๊ฒŸ์ˆ˜"}, {"name": "reward_provide_type2", "type": "tinyint", "description": "1: ์ฆ‰์‹œ ์ง€๊ธ‰\n2: ๋ฉ”์‹œ์ง€ํ•จ์œผ๋กœ ์ง€๊ธ‰\n"}, {"name": "reward_type3", "type": "tinyint", "description": "1: ๊ฒŒ์ž„๋จธ๋‹ˆ\n2: ์•„๋ฐ”ํƒ€\n3: ์•„์ดํ…œ\n"}, {"name": "reward_value3", "type": "string", "description": "(reward_type์— ๋”ฐ๋ฅธ value)\n- ๊ฒŒ์ž„๋จธ๋‹ˆ: ๊ฐ’\n- ์•„๋ฐ”ํƒ€: ์•„๋ฐ”ํƒ€ id \n- ์•„์ดํ…œ: ์•„์ดํ…œ id"}, {"name": "reward_amount3", "type": "bigint", "description": "(reward_type์— ๋”ฐ๋ฅธ ์–‘) ๊ฒŒ์ž„๋จธ๋‹ˆ : ๊ฐ’ ์•„๋ฐ”ํƒ€,์•„์žํ…œ: ๊ฒŸ์ˆ˜"}, {"name": "reward_provide_type3", "type": "tinyint", "description": "1: ์ฆ‰์‹œ ์ง€๊ธ‰\n2: ๋ฉ”์‹œ์ง€ํ•จ์œผ๋กœ ์ง€๊ธ‰\n"}, {"name": "notice_function_type", "type": "tinyint", "description": "2: reward_type ์ค‘ ์•„๋ฐ”ํƒ€๋กœ ์„ค์ •๋œ ํƒ€์ž…์„ ์ฐพ์•„ ์•„๋ฐ”ํƒ€ id๋ฅผ ์ฐธ๊ณ \n3: reward_type ์ค‘ ์•„์ดํ…œ์œผ๋กœ ์„ค์ •๋œ ํƒ€์ž…์„ ์ฐพ์•„ ์•„์ดํ…œ id๋ฅผ ์ฐธ๊ณ \n99: notice_function_text์˜\nstring ๋งŒ ํ‘œ์‹œ"}, {"name": "notice_function_text", "type": "string", "description": "notice_function_type ์ด 2 or 3์ผ ๊ฒฝ์šฐ, String text + [๋ณ€์ˆ˜] + string text\nnotice_function_type ์ด 99์ผ ๊ฒฝ์šฐ, string text\n"}, {"name": "notice_money_type", "type": "tinyint", "description": "1: reward_type ์ค‘ ๋จธ๋‹ˆ๋กœ ์„ค์ •๋œ ํƒ€์ž…์„ ์ฐพ์•„ ๊ฐ’ ์ฐธ๊ณ \n99: notice_money_text ์˜ ํ…์ŠคํŠธ๋งŒ ํ‘œ์‹œ\n"}, {"name": "notice_money_text", "type": "string", "description": "notice_money_type ์ด 1์ผ ๊ฒฝ์šฐ, [๋ณ€์ˆ˜] + string text\nnotice_function_type ์ด 99์ผ ๊ฒฝ์šฐ, string text\n"}, {"name": "notice_desc", "type": "string", "description": null}, {"name": "onestore_thirdparty_product_id", "type": "string", "description": null}, {"name": "playstore_product_id", "type": "string", "description": null}, {"name": "money_code", "type": "string", "description": null}, {"name": "modifier", "type": "string", "description": null}, {"name": "mod_date", "type": "bigint", "description": null}, {"name": "pgcode", "type": "int", "description": null}, {"name": "apple_product_id", "type": "string", "description": null}, {"name": "year_first_buy", "type": "int", "description": null}, {"name": "sales_limit_count", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`classicpoker_store_product_mast` ( `product_id` string COMMENT 'None', `product_name` string COMMENT 'None', `product_category` tinyint COMMENT '1: ์ŠคํŽ˜์…œ ํƒญ(ํ˜„์žฌ ๊ธฐํš์ƒ ์กด์žฌํ•˜์ง€ ์•Š์Œ) 2: ๋ณด์„ ํƒญ(ํ˜„์žฌ ๊ธฐํš์ƒ ์กด์žฌํ•˜์ง€ ์•Š์Œ) 3: ๋จธ๋‹ˆ์•„๋ฐ”ํƒ€ ํƒญ 4: ์•„์ดํ…œ ํƒญ 5: ํšŒ์›์ œ ํƒญ ', `product_category2` tinyint COMMENT 'None', `product_sorting` int COMMENT 'None', `product_flag` int COMMENT 'None', `pay_type` tinyint COMMENT '1: ์บ์‰ฌ', `pay_price` bigint COMMENT 'None', `sales_start_date` bigint COMMENT 'None', `sales_end_date` bigint COMMENT 'None', `plural_buy_count` int COMMENT ' 1: 1๊ฐœ๋งŒ ๊ตฌ๋งค ๊ฐ€๋Šฅ 2~9: 2~9๊ฐœ ๊นŒ์ง€ ๊ตฌ๋งค ๊ฐ€๋Šฅ', `max_buy_count` int COMMENT '0: ๋ฌด์ œํ•œ 1~999: 1~999๊ฐœ ', `max_buy_count_ci` int COMMENT '0: ๋ฌด์ œํ•œ 1~999: 1~999๊ฐœ ', `max_buy_count_device` int COMMENT '0: ๋ฌด์ œํ•œ 1~999: 1~999๊ฐœ ', `max_buy_count_init_type` tinyint COMMENT '0: ์ดˆ๊ธฐํ™” ์—†์Œ 1: ๋งค์ผ 00์‹œ ์ดˆ๊ธฐํ™” 2: ๋งค์ฃผ ์›”์š”์ผ 00์‹œ ์ดˆ๊ธฐํ™” 3: ๋งค์›” 1์ผ 0์‹œ ์ดˆ๊ธฐํ™” ', `bonus_tag` bigint COMMENT '0: ๋ณด๋„ˆ์Šค ํ‘œ์‹œ ์—†์Œ 1~999: ๋ณด๋„ˆ์Šค ํƒœ๊ทธ ๋ฐ ๋ณด๋„ˆ์Šค์œจ ์ˆซ์ž ํ‘œ์‹œ ', `product_img` string COMMENT 'None', `product_function_text` string COMMENT 'None', `reward_type1` tinyint COMMENT '1: ๊ฒŒ์ž„๋จธ๋‹ˆ 2: ์•„๋ฐ”ํƒ€ 3: ์•„์ดํ…œ ', `reward_value1` string COMMENT '(reward_type์— ๋”ฐ๋ฅธ value) - ๊ฒŒ์ž„๋จธ๋‹ˆ: ๊ฐ’ - ์•„๋ฐ”ํƒ€: ์•„๋ฐ”ํƒ€ id - ์•„์ดํ…œ: ์•„์ดํ…œ id', `reward_amount1` bigint COMMENT '(reward_type์— ๋”ฐ๋ฅธ ์–‘) ๊ฒŒ์ž„๋จธ๋‹ˆ : ๊ฐ’ ์•„๋ฐ”ํƒ€,์•„์žํ…œ: ๊ฒŸ์ˆ˜', `reward_provide_type1` tinyint COMMENT '1: ์ฆ‰์‹œ ์ง€๊ธ‰ 2: ๋ฉ”์‹œ์ง€ํ•จ์œผ๋กœ ์ง€๊ธ‰ ', `reward_type2` tinyint COMMENT '1: ๊ฒŒ์ž„๋จธ๋‹ˆ 2: ์•„๋ฐ”ํƒ€ 3: ์•„์ดํ…œ ', `reward_value2` string COMMENT '(reward_type์— ๋”ฐ๋ฅธ value) - ๊ฒŒ์ž„๋จธ๋‹ˆ: ๊ฐ’ - ์•„๋ฐ”ํƒ€: ์•„๋ฐ”ํƒ€ id (ClassicPoker_Item_Mast item_id) - ์•„์ดํ…œ: ์•„์ดํ…œ id (ClassicPoker_Item_Mast item_id)', `reward_amount2` bigint COMMENT '(reward_type์— ๋”ฐ๋ฅธ ์–‘) ๊ฒŒ์ž„๋จธ๋‹ˆ : ๊ฐ’ ์•„๋ฐ”ํƒ€,์•„์žํ…œ: ๊ฒŸ์ˆ˜', `reward_provide_type2` tinyint COMMENT '1: ์ฆ‰์‹œ ์ง€๊ธ‰ 2: ๋ฉ”์‹œ์ง€ํ•จ์œผ๋กœ ์ง€๊ธ‰ ', `reward_type3` tinyint COMMENT '1: ๊ฒŒ์ž„๋จธ๋‹ˆ 2: ์•„๋ฐ”ํƒ€ 3: ์•„์ดํ…œ ', `reward_value3` string COMMENT '(reward_type์— ๋”ฐ๋ฅธ value) - ๊ฒŒ์ž„๋จธ๋‹ˆ: ๊ฐ’ - ์•„๋ฐ”ํƒ€: ์•„๋ฐ”ํƒ€ id - ์•„์ดํ…œ: ์•„์ดํ…œ id', `reward_amount3` bigint COMMENT '(reward_type์— ๋”ฐ๋ฅธ ์–‘) ๊ฒŒ์ž„๋จธ๋‹ˆ : ๊ฐ’ ์•„๋ฐ”ํƒ€,์•„์žํ…œ: ๊ฒŸ์ˆ˜', `reward_provide_type3` tinyint COMMENT '1: ์ฆ‰์‹œ ์ง€๊ธ‰ 2: ๋ฉ”์‹œ์ง€ํ•จ์œผ๋กœ ์ง€๊ธ‰ ', `notice_function_type` tinyint COMMENT '2: reward_type ์ค‘ ์•„๋ฐ”ํƒ€๋กœ ์„ค์ •๋œ ํƒ€์ž…์„ ์ฐพ์•„ ์•„๋ฐ”ํƒ€ id๋ฅผ ์ฐธ๊ณ  3: reward_type ์ค‘ ์•„์ดํ…œ์œผ๋กœ ์„ค์ •๋œ ํƒ€์ž…์„ ์ฐพ์•„ ์•„์ดํ…œ id๋ฅผ ์ฐธ๊ณ  99: notice_function_text์˜ string ๋งŒ ํ‘œ์‹œ', `notice_function_text` string COMMENT 'notice_function_type ์ด 2 or 3์ผ ๊ฒฝ์šฐ, String text + [๋ณ€์ˆ˜] + string text notice_function_type ์ด 99์ผ ๊ฒฝ์šฐ, string text ', `notice_money_type` tinyint COMMENT '1: reward_type ์ค‘ ๋จธ๋‹ˆ๋กœ ์„ค์ •๋œ ํƒ€์ž…์„ ์ฐพ์•„ ๊ฐ’ ์ฐธ๊ณ  99: notice_money_text ์˜ ํ…์ŠคํŠธ๋งŒ ํ‘œ์‹œ ', `notice_money_text` string COMMENT 'notice_money_type ์ด 1์ผ ๊ฒฝ์šฐ, [๋ณ€์ˆ˜] + string text notice_function_type ์ด 99์ผ ๊ฒฝ์šฐ, string text ', `notice_desc` string COMMENT 'None', `onestore_thirdparty_product_id` string COMMENT 'None', `playstore_product_id` string COMMENT 'None', `money_code` string COMMENT 'None', `modifier` string COMMENT 'None', `mod_date` bigint COMMENT 'None', `pgcode` int COMMENT 'None', `apple_product_id` string COMMENT 'None', `year_first_buy` int COMMENT 'None', `sales_limit_count` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "classicpoker_time_bonus_event", "description": null, "columns": [{"name": "sno", "type": "bigint", "description": null}, {"name": "event_no", "type": "bigint", "description": null}, {"name": "receive_date", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`classicpoker_time_bonus_event` ( `sno` bigint COMMENT 'None', `event_no` bigint COMMENT 'None', `receive_date` bigint COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "classicpoker_hist", "description": null, "columns": [{"name": "id_seq", "type": "bigint", "description": null}, {"name": "event_id", "type": "string", "description": "๊ฐ€์œ„๋ฐ”์œ„๋ณด(Gacha),์ฃผ์‚ฌ์œ„(DiceGacha)"}, {"name": "sno", "type": "bigint", "description": null}, {"name": "hid", "type": "string", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "gw_address", "type": "string", "description": null}, {"name": "log_type", "type": "string", "description": "๊ฐ€์œ„๋ฐ”์œ„๋ณด(GachaSelect), ์ฃผ์‚ฌ์œ„(UseDiceGacha)"}, {"name": "log_date", "type": "bigint", "description": null}, {"name": "ival1", "type": "bigint", "description": "์‚ฌ์šฉํ•œ ๊ฐ€์ฑ ์˜ classicpoker_message_box.message_no"}, {"name": "ival2", "type": "bigint", "description": "๊ฐ€์œ„๋ฐ”์œ„๋ณด( 0: ๋น„๊น€ 1: ์ด๊น€ 2: ์ง)\n์ฃผ์‚ฌ์œ„ ( 0: ํŒจ๋ฐฐ 1:์Šน๋ฆฌ)"}, {"name": "ival3", "type": "bigint", "description": "์ฃผ์‚ฌ์œ„ ( ๋Ÿญํ‚คํ”Œ๋Ÿฌ์Šค ๋‹น์ฒจ๊ธˆ )"}, {"name": "sval1", "type": "string", "description": "๊ฐ€์ฑ  ์•„์ด๋”” classicpoker_gacha_mast.gacha_id"}, {"name": "sval2", "type": "string", "description": "๊ฐ€์œ„๋ฐ”์œ„๋ณด( (์œ ์ € ์„ ํƒ | ์ปดํ“จํ„ฐ ์„ ํƒ) 0:๋ฐ”์œ„ 1:๋ณด 2: ๊ฐ€์œ„)\n์ฃผ์‚ฌ์œ„( ์œ ์ €์„ ํƒ 0:ํ•˜์ด 1:๋กœ์šฐ)"}, {"name": "sval3", "type": "string", "description": "๊ฐ€์œ„๋ฐ”์œ„๋ณด (reward_type | reward_Value | reward_amount)\n์ฃผ์‚ฌ์œ„ (reward_type | reward_Value | reward_amount)"}, {"name": "date1", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}, {"name": "member_no", "type": "string", "description": null}]}
CREATE TABLE `pc_poker_db`.`classicpoker_hist` ( `id_seq` bigint COMMENT 'None', `event_id` string COMMENT '๊ฐ€์œ„๋ฐ”์œ„๋ณด(Gacha),์ฃผ์‚ฌ์œ„(DiceGacha)', `sno` bigint COMMENT 'None', `hid` string COMMENT 'None', `nickname` string COMMENT 'None', `gw_address` string COMMENT 'None', `log_type` string COMMENT '๊ฐ€์œ„๋ฐ”์œ„๋ณด(GachaSelect), ์ฃผ์‚ฌ์œ„(UseDiceGacha)', `log_date` bigint COMMENT 'None', `ival1` bigint COMMENT '์‚ฌ์šฉํ•œ ๊ฐ€์ฑ ์˜ classicpoker_message_box.message_no', `ival2` bigint COMMENT '๊ฐ€์œ„๋ฐ”์œ„๋ณด( 0: ๋น„๊น€ 1: ์ด๊น€ 2: ์ง) ์ฃผ์‚ฌ์œ„ ( 0: ํŒจ๋ฐฐ 1:์Šน๋ฆฌ)', `ival3` bigint COMMENT '์ฃผ์‚ฌ์œ„ ( ๋Ÿญํ‚คํ”Œ๋Ÿฌ์Šค ๋‹น์ฒจ๊ธˆ )', `sval1` string COMMENT '๊ฐ€์ฑ  ์•„์ด๋”” classicpoker_gacha_mast.gacha_id', `sval2` string COMMENT '๊ฐ€์œ„๋ฐ”์œ„๋ณด( (์œ ์ € ์„ ํƒ | ์ปดํ“จํ„ฐ ์„ ํƒ) 0:๋ฐ”์œ„ 1:๋ณด 2: ๊ฐ€์œ„) ์ฃผ์‚ฌ์œ„( ์œ ์ €์„ ํƒ 0:ํ•˜์ด 1:๋กœ์šฐ)', `sval3` string COMMENT '๊ฐ€์œ„๋ฐ”์œ„๋ณด (reward_type | reward_Value | reward_amount) ์ฃผ์‚ฌ์œ„ (reward_type | reward_Value | reward_amount)', `date1` bigint COMMENT 'None', `work_ymd` bigint COMMENT 'None', `member_no` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "poker_channellog", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "logdate", "type": "timestamp", "description": null}, {"name": "gameid", "type": "string", "description": null}, {"name": "subid", "type": "string", "description": null}, {"name": "channelid", "type": "string", "description": null}, {"name": "maxmember", "type": "int", "description": null}, {"name": "membercnt", "type": "int", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}, {"name": "pcusercount", "type": "int", "description": null}, {"name": "classicusercount", "type": "int", "description": null}]}
CREATE TABLE `pc_poker_db`.`poker_channellog` ( `seq` bigint COMMENT 'None', `logdate` timestamp COMMENT 'None', `gameid` string COMMENT 'None', `subid` string COMMENT 'None', `channelid` string COMMENT 'None', `maxmember` int COMMENT 'None', `membercnt` int COMMENT 'None', `work_ymd` bigint COMMENT 'None', `pcusercount` int COMMENT 'None', `classicusercount` int COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "pkr_rank_cancelhist", "description": null, "columns": [{"name": "memberid", "type": "string", "description": null}, {"name": "rankseq", "type": "double", "description": null}, {"name": "regdate", "type": "timestamp", "description": null}, {"name": "gamepoint", "type": "double", "description": null}, {"name": "matchcnt", "type": "double", "description": null}, {"name": "logdate", "type": "timestamp", "description": null}, {"name": "i_seq", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`pkr_rank_cancelhist` ( `memberid` string COMMENT 'None', `rankseq` double COMMENT 'None', `regdate` timestamp COMMENT 'None', `gamepoint` double COMMENT 'None', `matchcnt` double COMMENT 'None', `logdate` timestamp COMMENT 'None', `i_seq` bigint COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "pkr_vip_userinfo", "description": null, "columns": [{"name": "memberid", "type": "string", "description": null}, {"name": "vipmonth", "type": "string", "description": null}, {"name": "vipgrade", "type": "string", "description": null}, {"name": "paymoney", "type": "double", "description": null}, {"name": "saving_coin", "type": "double", "description": null}, {"name": "saving_coin_plus", "type": "double", "description": null}, {"name": "month_number", "type": "int", "description": null}, {"name": "special_code", "type": "string", "description": null}, {"name": "lastmonth_paymoney", "type": "double", "description": null}, {"name": "lastmonth_playcount", "type": "double", "description": null}, {"name": "work_ym", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`pkr_vip_userinfo` ( `memberid` string COMMENT 'None', `vipmonth` string COMMENT 'None', `vipgrade` string COMMENT 'None', `paymoney` double COMMENT 'None', `saving_coin` double COMMENT 'None', `saving_coin_plus` double COMMENT 'None', `month_number` int COMMENT 'None', `special_code` string COMMENT 'None', `lastmonth_paymoney` double COMMENT 'None', `lastmonth_playcount` double COMMENT 'None', `work_ym` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "poker_event", "description": null, "columns": [{"name": "event_date", "type": "timestamp", "description": null}, {"name": "event_id", "type": "string", "description": null}, {"name": "user_id", "type": "string", "description": null}, {"name": "extra_data", "type": "string", "description": null}, {"name": "ival1", "type": "bigint", "description": null}, {"name": "ival2", "type": "bigint", "description": null}, {"name": "ival3", "type": "bigint", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "sval", "type": "string", "description": null}, {"name": "json_data", "type": "string", "description": null}, {"name": "event_no", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`poker_event` ( `event_date` timestamp COMMENT 'None', `event_id` string COMMENT 'None', `user_id` string COMMENT 'None', `extra_data` string COMMENT 'None', `ival1` bigint COMMENT 'None', `ival2` bigint COMMENT 'None', `ival3` bigint COMMENT 'None', `last_date` timestamp COMMENT 'None', `sval` string COMMENT 'None', `json_data` string COMMENT 'None', `event_no` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "poker_event_log", "description": null, "columns": [{"name": "id_seq", "type": "bigint", "description": null}, {"name": "event_id", "type": "string", "description": null}, {"name": "extra_data", "type": "string", "description": null}, {"name": "ival1", "type": "bigint", "description": null}, {"name": "ival2", "type": "bigint", "description": null}, {"name": "ival3", "type": "bigint", "description": null}, {"name": "log_date", "type": "timestamp", "description": null}, {"name": "log_type", "type": "string", "description": null}, {"name": "sval1", "type": "string", "description": null}, {"name": "sval2", "type": "string", "description": null}, {"name": "sval3", "type": "string", "description": null}, {"name": "user_id", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`poker_event_log` ( `id_seq` bigint COMMENT 'None', `event_id` string COMMENT 'None', `extra_data` string COMMENT 'None', `ival1` bigint COMMENT 'None', `ival2` bigint COMMENT 'None', `ival3` bigint COMMENT 'None', `log_date` timestamp COMMENT 'None', `log_type` string COMMENT 'None', `sval1` string COMMENT 'None', `sval2` string COMMENT 'None', `sval3` string COMMENT 'None', `user_id` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "poker_league_schedule", "description": null, "columns": [{"name": "seq_year_round", "type": "int", "description": null}, {"name": "game_start_date", "type": "timestamp", "description": null}, {"name": "game_end_date", "type": "timestamp", "description": null}, {"name": "calculate_start_date", "type": "timestamp", "description": null}, {"name": "calculate_end_date", "type": "timestamp", "description": null}, {"name": "active", "type": "string", "description": null}]}
CREATE TABLE `pc_poker_db`.`poker_league_schedule` ( `seq_year_round` int COMMENT 'None', `game_start_date` timestamp COMMENT 'None', `game_end_date` timestamp COMMENT 'None', `calculate_start_date` timestamp COMMENT 'None', `calculate_end_date` timestamp COMMENT 'None', `active` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "poker_league_user_mast", "description": null, "columns": [{"name": "seq_year_round", "type": "int", "description": null}, {"name": "member_id", "type": "string", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "member_no", "type": "string", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "league_grade", "type": "int", "description": null}, {"name": "league_id", "type": "int", "description": null}, {"name": "prev_ranking", "type": "int", "description": null}, {"name": "remain_money_win", "type": "bigint", "description": null}, {"name": "remain_money_lose", "type": "bigint", "description": null}, {"name": "league_arrangement_game_point", "type": "bigint", "description": null}, {"name": "game_point", "type": "bigint", "description": null}, {"name": "match_count", "type": "int", "description": null}, {"name": "win_count", "type": "int", "description": null}, {"name": "lose_count", "type": "int", "description": null}, {"name": "high_jokbo_win_count", "type": "int", "description": null}, {"name": "history_ranking", "type": "int", "description": null}, {"name": "win_count_poker7", "type": "int", "description": null}, {"name": "win_count_baduki", "type": "int", "description": null}, {"name": "win_count_highlow2", "type": "int", "description": null}, {"name": "win_count_laspoker", "type": "int", "description": null}, {"name": "win_count_hoola3", "type": "int", "description": null}, {"name": "win_game_point_poker7", "type": "bigint", "description": null}, {"name": "win_game_point_baduki", "type": "bigint", "description": null}, {"name": "win_game_point_highlow2", "type": "bigint", "description": null}, {"name": "win_game_point_laspoker", "type": "bigint", "description": null}, {"name": "win_game_point_hoola3", "type": "bigint", "description": null}, {"name": "reward_money", "type": "bigint", "description": null}, {"name": "reward_shop_point", "type": "bigint", "description": null}, {"name": "receive_reward", "type": "int", "description": null}, {"name": "daily_game_point", "type": "bigint", "description": null}, {"name": "daily_game_point_reset_date", "type": "timestamp", "description": null}, {"name": "viewed_league_page", "type": "int", "description": null}, {"name": "viewed_lobby_icon", "type": "int", "description": null}, {"name": "grade_state", "type": "int", "description": null}, {"name": "arrangement_date", "type": "timestamp", "description": null}, {"name": "avatar_id", "type": "string", "description": null}, {"name": "avatar_client_type", "type": "int", "description": null}, {"name": "disabled_count", "type": "int", "description": null}, {"name": "visit_count", "type": "string", "description": null}, {"name": "win_count_lasudda", "type": "int", "description": null}, {"name": "win_game_point_lasudda", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`poker_league_user_mast` ( `seq_year_round` int COMMENT 'None', `member_id` string COMMENT 'None', `reg_date` timestamp COMMENT 'None', `member_no` string COMMENT 'None', `nickname` string COMMENT 'None', `league_grade` int COMMENT 'None', `league_id` int COMMENT 'None', `prev_ranking` int COMMENT 'None', `remain_money_win` bigint COMMENT 'None', `remain_money_lose` bigint COMMENT 'None', `league_arrangement_game_point` bigint COMMENT 'None', `game_point` bigint COMMENT 'None', `match_count` int COMMENT 'None', `win_count` int COMMENT 'None', `lose_count` int COMMENT 'None', `high_jokbo_win_count` int COMMENT 'None', `history_ranking` int COMMENT 'None', `win_count_poker7` int COMMENT 'None', `win_count_baduki` int COMMENT 'None', `win_count_highlow2` int COMMENT 'None', `win_count_laspoker` int COMMENT 'None', `win_count_hoola3` int COMMENT 'None', `win_game_point_poker7` bigint COMMENT 'None', `win_game_point_baduki` bigint COMMENT 'None', `win_game_point_highlow2` bigint COMMENT 'None', `win_game_point_laspoker` bigint COMMENT 'None', `win_game_point_hoola3` bigint COMMENT 'None', `reward_money` bigint COMMENT 'None', `reward_shop_point` bigint COMMENT 'None', `receive_reward` int COMMENT 'None', `daily_game_point` bigint COMMENT 'None', `daily_game_point_reset_date` timestamp COMMENT 'None', `viewed_league_page` int COMMENT 'None', `viewed_lobby_icon` int COMMENT 'None', `grade_state` int COMMENT 'None', `arrangement_date` timestamp COMMENT 'None', `avatar_id` string COMMENT 'None', `avatar_client_type` int COMMENT 'None', `disabled_count` int COMMENT 'None', `visit_count` string COMMENT 'None', `win_count_lasudda` int COMMENT 'None', `win_game_point_lasudda` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "pc_room_score", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "score", "type": "bigint", "description": null}, {"name": "begin_at", "type": "timestamp", "description": null}, {"name": "end_at", "type": "timestamp", "description": null}]}
CREATE TABLE `pc_poker_db`.`pc_room_score` ( `seq` bigint COMMENT 'None', `score` bigint COMMENT 'None', `begin_at` timestamp COMMENT 'None', `end_at` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "pc_room_weight_range", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "level", "type": "int", "description": null}, {"name": "min_score", "type": "int", "description": null}, {"name": "max_score", "type": "int", "description": null}, {"name": "weight", "type": "int", "description": null}, {"name": "begin_at", "type": "timestamp", "description": null}, {"name": "end_at", "type": "timestamp", "description": null}]}
CREATE TABLE `pc_poker_db`.`pc_room_weight_range` ( `seq` bigint COMMENT 'None', `level` int COMMENT 'None', `min_score` int COMMENT 'None', `max_score` int COMMENT 'None', `weight` int COMMENT 'None', `begin_at` timestamp COMMENT 'None', `end_at` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "event_user_point_history", "description": null, "columns": [{"name": "sequence", "type": "bigint", "description": null}, {"name": "amount", "type": "bigint", "description": null}, {"name": "event_round", "type": "int", "description": null}, {"name": "point_history_type", "type": "string", "description": null}, {"name": "provider_key", "type": "string", "description": null}, {"name": "user_key", "type": "string", "description": null}, {"name": "event_key", "type": "string", "description": null}, {"name": "point_sequence", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}, {"name": "created_at", "type": "timestamp", "description": null}]}
CREATE TABLE `pc_poker_db`.`event_user_point_history` ( `sequence` bigint COMMENT 'None', `amount` bigint COMMENT 'None', `event_round` int COMMENT 'None', `point_history_type` string COMMENT 'None', `provider_key` string COMMENT 'None', `user_key` string COMMENT 'None', `event_key` string COMMENT 'None', `point_sequence` bigint COMMENT 'None', `work_ymd` bigint COMMENT 'None', `created_at` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "baccarat_match_hist", "description": null, "columns": [{"name": "match_no", "type": "bigint", "description": null}, {"name": "log_date", "type": "timestamp", "description": null}, {"name": "room_create_date", "type": "timestamp", "description": null}, {"name": "channel_type", "type": "int", "description": null}, {"name": "room_id", "type": "int", "description": null}, {"name": "player_cards", "type": "string", "description": null}, {"name": "banker_cards", "type": "string", "description": null}, {"name": "winner", "type": "string", "description": null}, {"name": "player_pair", "type": "tinyint", "description": null}, {"name": "banker_pair", "type": "tinyint", "description": null}, {"name": "bet_count_player", "type": "int", "description": null}, {"name": "bet_count_banker", "type": "int", "description": null}, {"name": "bet_count_tie", "type": "int", "description": null}, {"name": "bet_count_player_pair", "type": "int", "description": null}, {"name": "bet_count_banker_pair", "type": "int", "description": null}, {"name": "bet_money_player", "type": "bigint", "description": null}, {"name": "bet_money_banker", "type": "bigint", "description": null}, {"name": "bet_money_tie", "type": "bigint", "description": null}, {"name": "bet_money_player_pair", "type": "bigint", "description": null}, {"name": "bet_money_banker_pair", "type": "bigint", "description": null}, {"name": "total_bet_money", "type": "bigint", "description": null}, {"name": "total_payout_money", "type": "bigint", "description": null}, {"name": "total_bet_user_count", "type": "bigint", "description": null}, {"name": "main_max_bet", "type": "bigint", "description": null}, {"name": "main_min_bet", "type": "bigint", "description": null}, {"name": "side_max_bet", "type": "bigint", "description": null}, {"name": "side_min_bet", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`baccarat_match_hist` ( `match_no` bigint COMMENT 'None', `log_date` timestamp COMMENT 'None', `room_create_date` timestamp COMMENT 'None', `channel_type` int COMMENT 'None', `room_id` int COMMENT 'None', `player_cards` string COMMENT 'None', `banker_cards` string COMMENT 'None', `winner` string COMMENT 'None', `player_pair` tinyint COMMENT 'None', `banker_pair` tinyint COMMENT 'None', `bet_count_player` int COMMENT 'None', `bet_count_banker` int COMMENT 'None', `bet_count_tie` int COMMENT 'None', `bet_count_player_pair` int COMMENT 'None', `bet_count_banker_pair` int COMMENT 'None', `bet_money_player` bigint COMMENT 'None', `bet_money_banker` bigint COMMENT 'None', `bet_money_tie` bigint COMMENT 'None', `bet_money_player_pair` bigint COMMENT 'None', `bet_money_banker_pair` bigint COMMENT 'None', `total_bet_money` bigint COMMENT 'None', `total_payout_money` bigint COMMENT 'None', `total_bet_user_count` bigint COMMENT 'None', `main_max_bet` bigint COMMENT 'None', `main_min_bet` bigint COMMENT 'None', `side_max_bet` bigint COMMENT 'None', `side_min_bet` bigint COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "baccarat_user_hist", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "match_no", "type": "bigint", "description": null}, {"name": "member_id", "type": "string", "description": null}, {"name": "member_no", "type": "string", "description": null}, {"name": "nick_name", "type": "string", "description": null}, {"name": "log_date", "type": "timestamp", "description": null}, {"name": "channel_type", "type": "int", "description": null}, {"name": "room_id", "type": "int", "description": null}, {"name": "seat_no", "type": "int", "description": null}, {"name": "pre_pay_token", "type": "bigint", "description": null}, {"name": "pre_free_token", "type": "bigint", "description": null}, {"name": "result_pay_token", "type": "bigint", "description": null}, {"name": "result_free_token", "type": "bigint", "description": null}, {"name": "player_cards", "type": "string", "description": null}, {"name": "banker_cards", "type": "string", "description": null}, {"name": "bet_chip_player", "type": "bigint", "description": null}, {"name": "bet_chip_banker", "type": "bigint", "description": null}, {"name": "bet_chip_tie", "type": "bigint", "description": null}, {"name": "bet_chip_player_pair", "type": "bigint", "description": null}, {"name": "bet_chip_banker_pair", "type": "bigint", "description": null}, {"name": "bet_win_chip_player", "type": "bigint", "description": null}, {"name": "bet_win_chip_banker", "type": "bigint", "description": null}, {"name": "bet_win_chip_tie", "type": "bigint", "description": null}, {"name": "bet_win_chip_player_pair", "type": "bigint", "description": null}, {"name": "bet_win_chip_banker_pair", "type": "bigint", "description": null}, {"name": "device", "type": "string", "description": null}, {"name": "pc_room_product", "type": "int", "description": null}, {"name": "pc_bang", "type": "int", "description": null}, {"name": "client_type", "type": "int", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`baccarat_user_hist` ( `seq` bigint COMMENT 'None', `match_no` bigint COMMENT 'None', `member_id` string COMMENT 'None', `member_no` string COMMENT 'None', `nick_name` string COMMENT 'None', `log_date` timestamp COMMENT 'None', `channel_type` int COMMENT 'None', `room_id` int COMMENT 'None', `seat_no` int COMMENT 'None', `pre_pay_token` bigint COMMENT 'None', `pre_free_token` bigint COMMENT 'None', `result_pay_token` bigint COMMENT 'None', `result_free_token` bigint COMMENT 'None', `player_cards` string COMMENT 'None', `banker_cards` string COMMENT 'None', `bet_chip_player` bigint COMMENT 'None', `bet_chip_banker` bigint COMMENT 'None', `bet_chip_tie` bigint COMMENT 'None', `bet_chip_player_pair` bigint COMMENT 'None', `bet_chip_banker_pair` bigint COMMENT 'None', `bet_win_chip_player` bigint COMMENT 'None', `bet_win_chip_banker` bigint COMMENT 'None', `bet_win_chip_tie` bigint COMMENT 'None', `bet_win_chip_player_pair` bigint COMMENT 'None', `bet_win_chip_banker_pair` bigint COMMENT 'None', `device` string COMMENT 'None', `pc_room_product` int COMMENT 'None', `pc_bang` int COMMENT 'None', `client_type` int COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "bigamestct_hist", "description": null, "columns": [{"name": "logdte", "type": "string", "description": null}, {"name": "gameid", "type": "string", "description": null}, {"name": "subid", "type": "string", "description": null}, {"name": "channelid", "type": "string", "description": null}, {"name": "maxmember", "type": "bigint", "description": null}, {"name": "membercnt", "type": "bigint", "description": null}, {"name": "createdate", "type": "string", "description": null}, {"name": "curryymm", "type": "string", "description": null}, {"name": "loginedcnt", "type": "bigint", "description": null}, {"name": "notloginedcnt", "type": "bigint", "description": null}, {"name": "locat", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_poker_db`.`bigamestct_hist` ( `logdte` string COMMENT 'None', `gameid` string COMMENT 'None', `subid` string COMMENT 'None', `channelid` string COMMENT 'None', `maxmember` bigint COMMENT 'None', `membercnt` bigint COMMENT 'None', `createdate` string COMMENT 'None', `curryymm` string COMMENT 'None', `loginedcnt` bigint COMMENT 'None', `notloginedcnt` bigint COMMENT 'None', `locat` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "blackjack_match_hist", "description": null, "columns": [{"name": "match_no", "type": "bigint", "description": null}, {"name": "log_date", "type": "timestamp", "description": null}, {"name": "channel_type", "type": "int", "description": null}, {"name": "room_id", "type": "int", "description": null}, {"name": "game_type", "type": "int", "description": null}, {"name": "room_option", "type": "bigint", "description": null}, {"name": "max_bet", "type": "bigint", "description": null}, {"name": "min_bet", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`blackjack_match_hist` ( `match_no` bigint COMMENT 'None', `log_date` timestamp COMMENT 'None', `channel_type` int COMMENT 'None', `room_id` int COMMENT 'None', `game_type` int COMMENT 'None', `room_option` bigint COMMENT 'None', `max_bet` bigint COMMENT 'None', `min_bet` bigint COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "blackjack_user_hist", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "match_no", "type": "bigint", "description": null}, {"name": "member_id", "type": "string", "description": null}, {"name": "member_no", "type": "string", "description": null}, {"name": "nick_name", "type": "string", "description": null}, {"name": "log_date", "type": "timestamp", "description": null}, {"name": "channel_type", "type": "int", "description": null}, {"name": "room_id", "type": "int", "description": null}, {"name": "seat_no", "type": "int", "description": null}, {"name": "pre_pay_token", "type": "bigint", "description": null}, {"name": "pre_free_token", "type": "bigint", "description": null}, {"name": "result_pay_token", "type": "bigint", "description": null}, {"name": "result_free_token", "type": "bigint", "description": null}, {"name": "device", "type": "string", "description": null}, {"name": "dealer_cards", "type": "string", "description": null}, {"name": "first_hand_cards", "type": "string", "description": null}, {"name": "first_hand_bet", "type": "bigint", "description": null}, {"name": "first_hand_result", "type": "bigint", "description": null}, {"name": "second_hand_bet", "type": "bigint", "description": null}, {"name": "second_hand_result", "type": "bigint", "description": null}, {"name": "second_hand_cards", "type": "string", "description": null}, {"name": "third_hand_bet", "type": "bigint", "description": null}, {"name": "third_hand_result", "type": "bigint", "description": null}, {"name": "third_hand_cards", "type": "string", "description": null}, {"name": "fourth_hand_bet", "type": "bigint", "description": null}, {"name": "fourth_hand_result", "type": "bigint", "description": null}, {"name": "fourth_hand_cards", "type": "string", "description": null}, {"name": "insurance_bet", "type": "bigint", "description": null}, {"name": "insurance_result", "type": "bigint", "description": null}, {"name": "even_money", "type": "bigint", "description": null}, {"name": "blackjack", "type": "int", "description": null}, {"name": "pc_room_product", "type": "int", "description": null}, {"name": "pc_bang", "type": "int", "description": null}, {"name": "client_type", "type": "int", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`blackjack_user_hist` ( `seq` bigint COMMENT 'None', `match_no` bigint COMMENT 'None', `member_id` string COMMENT 'None', `member_no` string COMMENT 'None', `nick_name` string COMMENT 'None', `log_date` timestamp COMMENT 'None', `channel_type` int COMMENT 'None', `room_id` int COMMENT 'None', `seat_no` int COMMENT 'None', `pre_pay_token` bigint COMMENT 'None', `pre_free_token` bigint COMMENT 'None', `result_pay_token` bigint COMMENT 'None', `result_free_token` bigint COMMENT 'None', `device` string COMMENT 'None', `dealer_cards` string COMMENT 'None', `first_hand_cards` string COMMENT 'None', `first_hand_bet` bigint COMMENT 'None', `first_hand_result` bigint COMMENT 'None', `second_hand_bet` bigint COMMENT 'None', `second_hand_result` bigint COMMENT 'None', `second_hand_cards` string COMMENT 'None', `third_hand_bet` bigint COMMENT 'None', `third_hand_result` bigint COMMENT 'None', `third_hand_cards` string COMMENT 'None', `fourth_hand_bet` bigint COMMENT 'None', `fourth_hand_result` bigint COMMENT 'None', `fourth_hand_cards` string COMMENT 'None', `insurance_bet` bigint COMMENT 'None', `insurance_result` bigint COMMENT 'None', `even_money` bigint COMMENT 'None', `blackjack` int COMMENT 'None', `pc_room_product` int COMMENT 'None', `pc_bang` int COMMENT 'None', `client_type` int COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "branch_cd", "description": null, "columns": [{"name": "branchcode", "type": "string", "description": null}, {"name": "branchname", "type": "string", "description": null}, {"name": "representative", "type": "string", "description": null}, {"name": "phone", "type": "string", "description": null}, {"name": "zip", "type": "string", "description": null}, {"name": "regno", "type": "string", "description": null}]}
CREATE TABLE `pc_poker_db`.`branch_cd` ( `branchcode` string COMMENT 'None', `branchname` string COMMENT 'None', `representative` string COMMENT 'None', `phone` string COMMENT 'None', `zip` string COMMENT 'None', `regno` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "branch_cd_lst", "description": null, "columns": [{"name": "branchcode", "type": "string", "description": null}, {"name": "zip1", "type": "string", "description": null}]}
CREATE TABLE `pc_poker_db`.`branch_cd_lst` ( `branchcode` string COMMENT 'None', `zip1` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "casino_asset_hist", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "member_no", "type": "string", "description": null}, {"name": "memberid", "type": "string", "description": null}, {"name": "asset_type", "type": "tinyint", "description": null}, {"name": "old_pay", "type": "bigint", "description": null}, {"name": "old_free", "type": "bigint", "description": null}, {"name": "new_pay", "type": "bigint", "description": null}, {"name": "new_free", "type": "bigint", "description": null}, {"name": "reason", "type": "string", "description": null}, {"name": "log_date", "type": "timestamp", "description": null}, {"name": "param", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`casino_asset_hist` ( `seq` bigint COMMENT 'None', `member_no` string COMMENT 'None', `memberid` string COMMENT 'None', `asset_type` tinyint COMMENT 'None', `old_pay` bigint COMMENT 'None', `old_free` bigint COMMENT 'None', `new_pay` bigint COMMENT 'None', `new_free` bigint COMMENT 'None', `reason` string COMMENT 'None', `log_date` timestamp COMMENT 'None', `param` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "casino_money_code", "description": null, "columns": [{"name": "money_code", "type": "string", "description": null}, {"name": "money_code_name", "type": "string", "description": null}, {"name": "description", "type": "string", "description": null}, {"name": "last_update_time", "type": "timestamp", "description": null}]}
CREATE TABLE `pc_poker_db`.`casino_money_code` ( `money_code` string COMMENT 'None', `money_code_name` string COMMENT 'None', `description` string COMMENT 'None', `last_update_time` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "casino_rat", "description": null, "columns": [{"name": "member_no", "type": "string", "description": null}, {"name": "memberid", "type": "string", "description": null}, {"name": "pay_token", "type": "bigint", "description": null}, {"name": "free_token", "type": "bigint", "description": null}, {"name": "last_date", "type": "timestamp", "description": null}, {"name": "limit_token", "type": "bigint", "description": null}, {"name": "create_date", "type": "timestamp", "description": null}, {"name": "join_date", "type": "timestamp", "description": null}, {"name": "classic_join_date", "type": "timestamp", "description": null}]}
CREATE TABLE `pc_poker_db`.`casino_rat` ( `member_no` string COMMENT 'None', `memberid` string COMMENT 'None', `pay_token` bigint COMMENT 'None', `free_token` bigint COMMENT 'None', `last_date` timestamp COMMENT 'None', `limit_token` bigint COMMENT 'None', `create_date` timestamp COMMENT 'None', `join_date` timestamp COMMENT 'None', `classic_join_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "cms_target_user_data", "description": null, "columns": [{"name": "memberid", "type": "string", "description": null}, {"name": "memberno", "type": "string", "description": null}, {"name": "regdate", "type": "timestamp", "description": null}, {"name": "lastdate", "type": "timestamp", "description": null}, {"name": "clienttype", "type": "int", "description": null}, {"name": "moneyvolume", "type": "bigint", "description": null}, {"name": "matchcnt", "type": "bigint", "description": null}, {"name": "payment", "type": "bigint", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`cms_target_user_data` ( `memberid` string COMMENT 'None', `memberno` string COMMENT 'None', `regdate` timestamp COMMENT 'None', `lastdate` timestamp COMMENT 'None', `clienttype` int COMMENT 'None', `moneyvolume` bigint COMMENT 'None', `matchcnt` bigint COMMENT 'None', `payment` bigint COMMENT 'None', `ci` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "laspokeruserhist_v2_tmp", "description": null, "columns": [{"name": "i_seq", "type": "bigint", "description": null}, {"name": "seq", "type": "bigint", "description": null}, {"name": "memberid", "type": "string", "description": null}, {"name": "rststring", "type": "string", "description": null}, {"name": "logdate", "type": "timestamp", "description": null}, {"name": "crmcode", "type": "string", "description": null}, {"name": "grade", "type": "string", "description": null}, {"name": "enterchannel", "type": "timestamp", "description": null}, {"name": "enterroom", "type": "timestamp", "description": null}, {"name": "idptype", "type": "string", "description": null}, {"name": "betmoney", "type": "bigint", "description": null}, {"name": "resultmoney", "type": "bigint", "description": null}, {"name": "betstring", "type": "string", "description": null}, {"name": "liabilityflag", "type": "tinyint", "description": null}, {"name": "pcvalue", "type": "string", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "matchno", "type": "bigint", "description": null}, {"name": "mileage", "type": "bigint", "description": null}, {"name": "dealermoneydiscountratio", "type": "double", "description": null}, {"name": "dealermoney", "type": "bigint", "description": null}, {"name": "lentmoney", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`laspokeruserhist_v2_tmp` ( `i_seq` bigint COMMENT 'None', `seq` bigint COMMENT 'None', `memberid` string COMMENT 'None', `rststring` string COMMENT 'None', `logdate` timestamp COMMENT 'None', `crmcode` string COMMENT 'None', `grade` string COMMENT 'None', `enterchannel` timestamp COMMENT 'None', `enterroom` timestamp COMMENT 'None', `idptype` string COMMENT 'None', `betmoney` bigint COMMENT 'None', `resultmoney` bigint COMMENT 'None', `betstring` string COMMENT 'None', `liabilityflag` tinyint COMMENT 'None', `pcvalue` string COMMENT 'None', `nickname` string COMMENT 'None', `matchno` bigint COMMENT 'None', `mileage` bigint COMMENT 'None', `dealermoneydiscountratio` double COMMENT 'None', `dealermoney` bigint COMMENT 'None', `lentmoney` bigint COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "lasuddagamehist", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "logdate", "type": "timestamp", "description": null}, {"name": "channelid", "type": "string", "description": null}, {"name": "roomid", "type": "int", "description": null}, {"name": "privateyn", "type": "string", "description": null}, {"name": "validcode", "type": "string", "description": null}, {"name": "playercnt", "type": "int", "description": null}, {"name": "dealermoney", "type": "bigint", "description": null}, {"name": "bonusmoney", "type": "double", "description": null}, {"name": "bonuscode", "type": "string", "description": null}, {"name": "rststring", "type": "string", "description": null}, {"name": "startdate", "type": "timestamp", "description": null}, {"name": "seedmoney", "type": "double", "description": null}, {"name": "matchno", "type": "bigint", "description": null}, {"name": "hostid", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`lasuddagamehist` ( `seq` bigint COMMENT 'None', `logdate` timestamp COMMENT 'None', `channelid` string COMMENT 'None', `roomid` int COMMENT 'None', `privateyn` string COMMENT 'None', `validcode` string COMMENT 'None', `playercnt` int COMMENT 'None', `dealermoney` bigint COMMENT 'None', `bonusmoney` double COMMENT 'None', `bonuscode` string COMMENT 'None', `rststring` string COMMENT 'None', `startdate` timestamp COMMENT 'None', `seedmoney` double COMMENT 'None', `matchno` bigint COMMENT 'None', `hostid` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "lasuddarat", "description": null, "columns": [{"name": "memberid", "type": "string", "description": null}, {"name": "matchcnt", "type": "bigint", "description": null}, {"name": "wincnt", "type": "bigint", "description": null}, {"name": "defeatcnt", "type": "bigint", "description": null}, {"name": "allincnt", "type": "bigint", "description": null}, {"name": "lastdate", "type": "timestamp", "description": null}, {"name": "joindate", "type": "timestamp", "description": null}, {"name": "disconncnt", "type": "bigint", "description": null}, {"name": "lastdisconn", "type": "timestamp", "description": null}, {"name": "matchcnt_today", "type": "bigint", "description": null}, {"name": "wincnt_today", "type": "bigint", "description": null}, {"name": "defeatcnt_today", "type": "bigint", "description": null}, {"name": "kwangddang38_wincnt", "type": "bigint", "description": null}, {"name": "kwangddang18_wincnt", "type": "bigint", "description": null}, {"name": "kwangddang13_wincnt", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`lasuddarat` ( `memberid` string COMMENT 'None', `matchcnt` bigint COMMENT 'None', `wincnt` bigint COMMENT 'None', `defeatcnt` bigint COMMENT 'None', `allincnt` bigint COMMENT 'None', `lastdate` timestamp COMMENT 'None', `joindate` timestamp COMMENT 'None', `disconncnt` bigint COMMENT 'None', `lastdisconn` timestamp COMMENT 'None', `matchcnt_today` bigint COMMENT 'None', `wincnt_today` bigint COMMENT 'None', `defeatcnt_today` bigint COMMENT 'None', `kwangddang38_wincnt` bigint COMMENT 'None', `kwangddang18_wincnt` bigint COMMENT 'None', `kwangddang13_wincnt` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "lasuddauserhist_v2", "description": null, "columns": [{"name": "i_seq", "type": "bigint", "description": null}, {"name": "memberid", "type": "string", "description": null}, {"name": "memberno", "type": "string", "description": null}, {"name": "rststring", "type": "string", "description": null}, {"name": "logdate", "type": "timestamp", "description": null}, {"name": "crmcode", "type": "string", "description": null}, {"name": "grade", "type": "string", "description": null}, {"name": "enterchannel", "type": "timestamp", "description": null}, {"name": "enterroom", "type": "timestamp", "description": null}, {"name": "idptype", "type": "string", "description": null}, {"name": "betmoney", "type": "bigint", "description": null}, {"name": "resultmoney", "type": "bigint", "description": null}, {"name": "liabilityflag", "type": "tinyint", "description": null}, {"name": "betstring", "type": "string", "description": null}, {"name": "pcvalue", "type": "string", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "matchno", "type": "bigint", "description": null}, {"name": "matchcount", "type": "int", "description": null}, {"name": "rematchtype", "type": "string", "description": null}, {"name": "finalmatch", "type": "tinyint", "description": null}, {"name": "lentmoney", "type": "bigint", "description": null}, {"name": "gammoney", "type": "bigint", "description": null}, {"name": "pcroomproduct", "type": "int", "description": null}, {"name": "mileage", "type": "bigint", "description": null}, {"name": "dealermoneydiscountratio", "type": "double", "description": null}, {"name": "dealermoney", "type": "bigint", "description": null}, {"name": "clienttype", "type": "int", "description": null}, {"name": "rematchentrypenaltymoney", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`lasuddauserhist_v2` ( `i_seq` bigint COMMENT 'None', `memberid` string COMMENT 'None', `memberno` string COMMENT 'None', `rststring` string COMMENT 'None', `logdate` timestamp COMMENT 'None', `crmcode` string COMMENT 'None', `grade` string COMMENT 'None', `enterchannel` timestamp COMMENT 'None', `enterroom` timestamp COMMENT 'None', `idptype` string COMMENT 'None', `betmoney` bigint COMMENT 'None', `resultmoney` bigint COMMENT 'None', `liabilityflag` tinyint COMMENT 'None', `betstring` string COMMENT 'None', `pcvalue` string COMMENT 'None', `nickname` string COMMENT 'None', `matchno` bigint COMMENT 'None', `matchcount` int COMMENT 'None', `rematchtype` string COMMENT 'None', `finalmatch` tinyint COMMENT 'None', `lentmoney` bigint COMMENT 'None', `gammoney` bigint COMMENT 'None', `pcroomproduct` int COMMENT 'None', `mileage` bigint COMMENT 'None', `dealermoneydiscountratio` double COMMENT 'None', `dealermoney` bigint COMMENT 'None', `clienttype` int COMMENT 'None', `rematchentrypenaltymoney` bigint COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "pc_room_capsule_daily_result", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "crm", "type": "string", "description": null}, {"name": "pc_room_product", "type": "bigint", "description": null}, {"name": "day", "type": "timestamp", "description": null}, {"name": "use_total_cnt", "type": "bigint", "description": null}, {"name": "total_reward", "type": "bigint", "description": null}, {"name": "total_free_ticket_cnt", "type": "bigint", "description": null}, {"name": "total_game_ticket_cnt", "type": "bigint", "description": null}, {"name": "total_ticket_cnt", "type": "bigint", "description": null}, {"name": "user_get_ticket_cnt", "type": "bigint", "description": null}, {"name": "user_cnt", "type": "bigint", "description": null}, {"name": "rank1_cnt", "type": "bigint", "description": null}, {"name": "rank2_cnt", "type": "bigint", "description": null}, {"name": "rank3_cnt", "type": "bigint", "description": null}, {"name": "rank4_cnt", "type": "bigint", "description": null}, {"name": "rank5_cnt", "type": "bigint", "description": null}, {"name": "rank6_cnt", "type": "bigint", "description": null}, {"name": "rank7_cnt", "type": "bigint", "description": null}, {"name": "rank8_cnt", "type": "bigint", "description": null}, {"name": "rank9_cnt", "type": "bigint", "description": null}, {"name": "rank10_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`pc_room_capsule_daily_result` ( `seq` bigint COMMENT 'None', `crm` string COMMENT 'None', `pc_room_product` bigint COMMENT 'None', `day` timestamp COMMENT 'None', `use_total_cnt` bigint COMMENT 'None', `total_reward` bigint COMMENT 'None', `total_free_ticket_cnt` bigint COMMENT 'None', `total_game_ticket_cnt` bigint COMMENT 'None', `total_ticket_cnt` bigint COMMENT 'None', `user_get_ticket_cnt` bigint COMMENT 'None', `user_cnt` bigint COMMENT 'None', `rank1_cnt` bigint COMMENT 'None', `rank2_cnt` bigint COMMENT 'None', `rank3_cnt` bigint COMMENT 'None', `rank4_cnt` bigint COMMENT 'None', `rank5_cnt` bigint COMMENT 'None', `rank6_cnt` bigint COMMENT 'None', `rank7_cnt` bigint COMMENT 'None', `rank8_cnt` bigint COMMENT 'None', `rank9_cnt` bigint COMMENT 'None', `rank10_cnt` bigint COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "pc_room_capsule_user", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "crm", "type": "string", "description": null}, {"name": "pc_room_product", "type": "bigint", "description": null}, {"name": "day", "type": "timestamp", "description": null}, {"name": "hangame_id", "type": "string", "description": null}, {"name": "user_total_reward", "type": "bigint", "description": null}, {"name": "user_total_ticket_cnt", "type": "bigint", "description": null}, {"name": "total_free_ticket_cnt", "type": "bigint", "description": null}, {"name": "total_game_ticket_cnt", "type": "bigint", "description": null}, {"name": "user_play_cnt", "type": "bigint", "description": null}, {"name": "rank1_cnt", "type": "bigint", "description": null}, {"name": "rank2_cnt", "type": "bigint", "description": null}, {"name": "rank3_cnt", "type": "bigint", "description": null}, {"name": "rank4_cnt", "type": "bigint", "description": null}, {"name": "rank5_cnt", "type": "bigint", "description": null}, {"name": "rank6_cnt", "type": "bigint", "description": null}, {"name": "rank7_cnt", "type": "bigint", "description": null}, {"name": "rank8_cnt", "type": "bigint", "description": null}, {"name": "rank9_cnt", "type": "bigint", "description": null}, {"name": "rank10_cnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`pc_room_capsule_user` ( `seq` bigint COMMENT 'None', `crm` string COMMENT 'None', `pc_room_product` bigint COMMENT 'None', `day` timestamp COMMENT 'None', `hangame_id` string COMMENT 'None', `user_total_reward` bigint COMMENT 'None', `user_total_ticket_cnt` bigint COMMENT 'None', `total_free_ticket_cnt` bigint COMMENT 'None', `total_game_ticket_cnt` bigint COMMENT 'None', `user_play_cnt` bigint COMMENT 'None', `rank1_cnt` bigint COMMENT 'None', `rank2_cnt` bigint COMMENT 'None', `rank3_cnt` bigint COMMENT 'None', `rank4_cnt` bigint COMMENT 'None', `rank5_cnt` bigint COMMENT 'None', `rank6_cnt` bigint COMMENT 'None', `rank7_cnt` bigint COMMENT 'None', `rank8_cnt` bigint COMMENT 'None', `rank9_cnt` bigint COMMENT 'None', `rank10_cnt` bigint COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "pcbmast", "description": null, "columns": [{"name": "crmcode", "type": "string", "description": null}, {"name": "pcbname", "type": "string", "description": null}, {"name": "owner", "type": "string", "description": null}, {"name": "memberid", "type": "string", "description": null}, {"name": "pwd", "type": "string", "description": null}, {"name": "regnum", "type": "string", "description": null}, {"name": "jumin", "type": "string", "description": null}, {"name": "telnum", "type": "string", "description": null}, {"name": "hpnum", "type": "string", "description": null}, {"name": "email", "type": "string", "description": null}, {"name": "telchk", "type": "string", "description": null}, {"name": "hpchk", "type": "string", "description": null}, {"name": "emailchk", "type": "string", "description": null}, {"name": "sendbillchk", "type": "string", "description": null}, {"name": "transchk", "type": "string", "description": null}, {"name": "zip1", "type": "string", "description": null}, {"name": "zip2", "type": "string", "description": null}, {"name": "address1", "type": "string", "description": null}, {"name": "address2", "type": "string", "description": null}, {"name": "pcnum", "type": "bigint", "description": null}, {"name": "programtype", "type": "string", "description": null}, {"name": "pride", "type": "string", "description": null}, {"name": "location", "type": "string", "description": null}, {"name": "image1", "type": "string", "description": null}, {"name": "image2", "type": "string", "description": null}, {"name": "image3", "type": "string", "description": null}, {"name": "errornum", "type": "int", "description": null}, {"name": "visitdate", "type": "timestamp", "description": null}, {"name": "regdate", "type": "timestamp", "description": null}, {"name": "modifydate", "type": "timestamp", "description": null}, {"name": "status", "type": "int", "description": null}, {"name": "smsyn", "type": "string", "description": null}, {"name": "autopriority", "type": "string", "description": null}, {"name": "searchyn", "type": "string", "description": null}, {"name": "pculrmttr", "type": "string", "description": null}, {"name": "migration", "type": "string", "description": null}]}
CREATE TABLE `pc_poker_db`.`pcbmast` ( `crmcode` string COMMENT 'None', `pcbname` string COMMENT 'None', `owner` string COMMENT 'None', `memberid` string COMMENT 'None', `pwd` string COMMENT 'None', `regnum` string COMMENT 'None', `jumin` string COMMENT 'None', `telnum` string COMMENT 'None', `hpnum` string COMMENT 'None', `email` string COMMENT 'None', `telchk` string COMMENT 'None', `hpchk` string COMMENT 'None', `emailchk` string COMMENT 'None', `sendbillchk` string COMMENT 'None', `transchk` string COMMENT 'None', `zip1` string COMMENT 'None', `zip2` string COMMENT 'None', `address1` string COMMENT 'None', `address2` string COMMENT 'None', `pcnum` bigint COMMENT 'None', `programtype` string COMMENT 'None', `pride` string COMMENT 'None', `location` string COMMENT 'None', `image1` string COMMENT 'None', `image2` string COMMENT 'None', `image3` string COMMENT 'None', `errornum` int COMMENT 'None', `visitdate` timestamp COMMENT 'None', `regdate` timestamp COMMENT 'None', `modifydate` timestamp COMMENT 'None', `status` int COMMENT 'None', `smsyn` string COMMENT 'None', `autopriority` string COMMENT 'None', `searchyn` string COMMENT 'None', `pculrmttr` string COMMENT 'None', `migration` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "platinum_application", "description": null, "columns": [{"name": "crmcode", "type": "string", "description": null}, {"name": "month", "type": "timestamp", "description": null}, {"name": "bank_name", "type": "string", "description": null}, {"name": "bank_account", "type": "string", "description": null}, {"name": "bank_owner", "type": "string", "description": null}, {"name": "fund_amount", "type": "bigint", "description": null}, {"name": "status", "type": "string", "description": null}, {"name": "created_date_time", "type": "timestamp", "description": null}, {"name": "modified_date_time", "type": "timestamp", "description": null}, {"name": "admin", "type": "string", "description": null}, {"name": "admin_date_time", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`platinum_application` ( `crmcode` string COMMENT 'None', `month` timestamp COMMENT 'None', `bank_name` string COMMENT 'None', `bank_account` string COMMENT 'None', `bank_owner` string COMMENT 'None', `fund_amount` bigint COMMENT 'None', `status` string COMMENT 'None', `created_date_time` timestamp COMMENT 'None', `modified_date_time` timestamp COMMENT 'None', `admin` string COMMENT 'None', `admin_date_time` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "procodet_from_biods", "description": null, "columns": [{"name": "procode", "type": "string", "description": null}, {"name": "codetitle", "type": "string", "description": null}, {"name": "histvalid", "type": "string", "description": null}, {"name": "cumulvalid", "type": "string", "description": null}, {"name": "openyn", "type": "string", "description": null}, {"name": "stdate", "type": "string", "description": null}, {"name": "procontent", "type": "string", "description": null}, {"name": "servicecode", "type": "string", "description": null}, {"name": "servicename", "type": "string", "description": null}, {"name": "serviceyn", "type": "string", "description": null}, {"name": "gameid", "type": "string", "description": null}, {"name": "regname", "type": "string", "description": null}, {"name": "planner", "type": "string", "description": null}, {"name": "developer", "type": "string", "description": null}, {"name": "inoutcode", "type": "string", "description": null}, {"name": "partitionkey", "type": "string", "description": null}]}
CREATE TABLE `pc_poker_db`.`procodet_from_biods` ( `procode` string COMMENT 'None', `codetitle` string COMMENT 'None', `histvalid` string COMMENT 'None', `cumulvalid` string COMMENT 'None', `openyn` string COMMENT 'None', `stdate` string COMMENT 'None', `procontent` string COMMENT 'None', `servicecode` string COMMENT 'None', `servicename` string COMMENT 'None', `serviceyn` string COMMENT 'None', `gameid` string COMMENT 'None', `regname` string COMMENT 'None', `planner` string COMMENT 'None', `developer` string COMMENT 'None', `inoutcode` string COMMENT 'None', `partitionkey` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "tmp_gamemoneyhist", "description": null, "columns": [{"name": "eventcode", "type": "string", "description": null}, {"name": "eventitle", "type": "string", "description": null}, {"name": "memberid", "type": "string", "description": null}, {"name": "gameid", "type": "string", "description": null}, {"name": "eventmoney", "type": "bigint", "description": null}, {"name": "premoney", "type": "bigint", "description": null}, {"name": "aftermoney", "type": "bigint", "description": null}, {"name": "joindate", "type": "timestamp", "description": null}, {"name": "histresult", "type": "string", "description": null}, {"name": "addition", "type": "string", "description": null}, {"name": "orderno", "type": "string", "description": null}, {"name": "remoteaddr", "type": "string", "description": null}, {"name": "idptype", "type": "string", "description": null}, {"name": "grade", "type": "int", "description": null}, {"name": "i_seq", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`tmp_gamemoneyhist` ( `eventcode` string COMMENT 'None', `eventitle` string COMMENT 'None', `memberid` string COMMENT 'None', `gameid` string COMMENT 'None', `eventmoney` bigint COMMENT 'None', `premoney` bigint COMMENT 'None', `aftermoney` bigint COMMENT 'None', `joindate` timestamp COMMENT 'None', `histresult` string COMMENT 'None', `addition` string COMMENT 'None', `orderno` string COMMENT 'None', `remoteaddr` string COMMENT 'None', `idptype` string COMMENT 'None', `grade` int COMMENT 'None', `i_seq` bigint COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "uppadmin_hist", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "mg_lv", "type": "bigint", "description": null}, {"name": "bef_mg_lv", "type": "bigint", "description": null}, {"name": "workdate", "type": "string", "description": null}, {"name": "manager", "type": "string", "description": null}, {"name": "memo", "type": "string", "description": null}, {"name": "heal_status", "type": "string", "description": null}, {"name": "group_id", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_poker_db`.`uppadmin_hist` ( `userid` string COMMENT 'None', `mg_lv` bigint COMMENT 'None', `bef_mg_lv` bigint COMMENT 'None', `workdate` string COMMENT 'None', `manager` string COMMENT 'None', `memo` string COMMENT 'None', `heal_status` string COMMENT 'None', `group_id` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "upplevel_hist", "description": null, "columns": [{"name": "workd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "mg_lv", "type": "bigint", "description": null}, {"name": "bef_mg_lv", "type": "bigint", "description": null}, {"name": "manager", "type": "string", "description": null}, {"name": "start_lvdt", "type": "string", "description": null}, {"name": "group_id", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_poker_db`.`upplevel_hist` ( `workd` string COMMENT 'None', `userid` string COMMENT 'None', `mg_lv` bigint COMMENT 'None', `bef_mg_lv` bigint COMMENT 'None', `manager` string COMMENT 'None', `start_lvdt` string COMMENT 'None', `group_id` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "upplevel_mast", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "mg_lv", "type": "bigint", "description": null}, {"name": "start_lvdt", "type": "string", "description": null}, {"name": "updatedt", "type": "string", "description": null}, {"name": "popup", "type": "string", "description": null}, {"name": "group_id", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `pc_poker_db`.`upplevel_mast` ( `userid` string COMMENT 'None', `mg_lv` bigint COMMENT 'None', `start_lvdt` string COMMENT 'None', `updatedt` string COMMENT 'None', `popup` string COMMENT 'None', `group_id` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "videopoker_user_hist", "description": null, "columns": [{"name": "match_no", "type": "bigint", "description": null}, {"name": "member_id", "type": "string", "description": null}, {"name": "member_no", "type": "string", "description": null}, {"name": "nick_name", "type": "string", "description": null}, {"name": "log_date", "type": "timestamp", "description": null}, {"name": "device", "type": "string", "description": null}, {"name": "pre_pay_token", "type": "bigint", "description": null}, {"name": "pre_free_token", "type": "bigint", "description": null}, {"name": "result_pay_token", "type": "bigint", "description": null}, {"name": "result_free_token", "type": "bigint", "description": null}, {"name": "game_mode", "type": "string", "description": null}, {"name": "deal_cards", "type": "string", "description": null}, {"name": "draw_cards", "type": "string", "description": null}, {"name": "hand_strength_type", "type": "string", "description": null}, {"name": "double_up_win_count", "type": "int", "description": null}, {"name": "double_up_lose_count", "type": "int", "description": null}, {"name": "bet_money", "type": "bigint", "description": null}, {"name": "earn_money", "type": "bigint", "description": null}, {"name": "min_bet_limit", "type": "bigint", "description": null}, {"name": "jackpot_money", "type": "bigint", "description": null}, {"name": "pc_room_product", "type": "int", "description": null}, {"name": "pc_bang", "type": "int", "description": null}, {"name": "client_type", "type": "int", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`videopoker_user_hist` ( `match_no` bigint COMMENT 'None', `member_id` string COMMENT 'None', `member_no` string COMMENT 'None', `nick_name` string COMMENT 'None', `log_date` timestamp COMMENT 'None', `device` string COMMENT 'None', `pre_pay_token` bigint COMMENT 'None', `pre_free_token` bigint COMMENT 'None', `result_pay_token` bigint COMMENT 'None', `result_free_token` bigint COMMENT 'None', `game_mode` string COMMENT 'None', `deal_cards` string COMMENT 'None', `draw_cards` string COMMENT 'None', `hand_strength_type` string COMMENT 'None', `double_up_win_count` int COMMENT 'None', `double_up_lose_count` int COMMENT 'None', `bet_money` bigint COMMENT 'None', `earn_money` bigint COMMENT 'None', `min_bet_limit` bigint COMMENT 'None', `jackpot_money` bigint COMMENT 'None', `pc_room_product` int COMMENT 'None', `pc_bang` int COMMENT 'None', `client_type` int COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "slot_ccu_log", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "log_date", "type": "timestamp", "description": null}, {"name": "machine_id", "type": "string", "description": null}, {"name": "pc_user_count", "type": "int", "description": null}, {"name": "classic_user_count", "type": "int", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`slot_ccu_log` ( `seq` bigint COMMENT 'None', `log_date` timestamp COMMENT 'None', `machine_id` string COMMENT 'None', `pc_user_count` int COMMENT 'None', `classic_user_count` int COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "slot_game_hist", "description": null, "columns": [{"name": "id", "type": "bigint", "description": null}, {"name": "log_date", "type": "timestamp", "description": null}, {"name": "game_no", "type": "bigint", "description": null}, {"name": "member_id", "type": "string", "description": null}, {"name": "member_no", "type": "string", "description": null}, {"name": "nick_name", "type": "string", "description": null}, {"name": "pre_pay_token", "type": "bigint", "description": null}, {"name": "pre_free_token", "type": "bigint", "description": null}, {"name": "result_pay_token", "type": "bigint", "description": null}, {"name": "result_free_token", "type": "bigint", "description": null}, {"name": "pc_room_product", "type": "int", "description": null}, {"name": "pc_bang", "type": "int", "description": null}, {"name": "client_type", "type": "tinyint", "description": null}, {"name": "machine_id", "type": "string", "description": null}, {"name": "log_type", "type": "tinyint", "description": null}, {"name": "status", "type": "tinyint", "description": null}, {"name": "total_bet", "type": "bigint", "description": null}, {"name": "pay_line_count", "type": "int", "description": null}, {"name": "max_bet_level", "type": "int", "description": null}, {"name": "bet_level", "type": "int", "description": null}, {"name": "min_bet", "type": "bigint", "description": null}, {"name": "jackpot_grade", "type": "int", "description": null}, {"name": "jackpot_money", "type": "bigint", "description": null}, {"name": "slot_multiple_rule", "type": "int", "description": null}, {"name": "reel_screen_symbols", "type": "string", "description": null}, {"name": "total_win_money", "type": "bigint", "description": null}, {"name": "free_spin_total_count", "type": "int", "description": null}, {"name": "free_spin_current_count", "type": "int", "description": null}, {"name": "free_spin_multiple", "type": "int", "description": null}, {"name": "symbol_collect_count", "type": "int", "description": null}, {"name": "symbol_collect_max_count", "type": "int", "description": null}, {"name": "symbol_collect_saved_money", "type": "bigint", "description": null}, {"name": "symbol_collect_reward_type", "type": "int", "description": null}, {"name": "symbol_collect_reward_money", "type": "bigint", "description": null}, {"name": "symbol_collect_reward_desc", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`slot_game_hist` ( `id` bigint COMMENT 'None', `log_date` timestamp COMMENT 'None', `game_no` bigint COMMENT 'None', `member_id` string COMMENT 'None', `member_no` string COMMENT 'None', `nick_name` string COMMENT 'None', `pre_pay_token` bigint COMMENT 'None', `pre_free_token` bigint COMMENT 'None', `result_pay_token` bigint COMMENT 'None', `result_free_token` bigint COMMENT 'None', `pc_room_product` int COMMENT 'None', `pc_bang` int COMMENT 'None', `client_type` tinyint COMMENT 'None', `machine_id` string COMMENT 'None', `log_type` tinyint COMMENT 'None', `status` tinyint COMMENT 'None', `total_bet` bigint COMMENT 'None', `pay_line_count` int COMMENT 'None', `max_bet_level` int COMMENT 'None', `bet_level` int COMMENT 'None', `min_bet` bigint COMMENT 'None', `jackpot_grade` int COMMENT 'None', `jackpot_money` bigint COMMENT 'None', `slot_multiple_rule` int COMMENT 'None', `reel_screen_symbols` string COMMENT 'None', `total_win_money` bigint COMMENT 'None', `free_spin_total_count` int COMMENT 'None', `free_spin_current_count` int COMMENT 'None', `free_spin_multiple` int COMMENT 'None', `symbol_collect_count` int COMMENT 'None', `symbol_collect_max_count` int COMMENT 'None', `symbol_collect_saved_money` bigint COMMENT 'None', `symbol_collect_reward_type` int COMMENT 'None', `symbol_collect_reward_money` bigint COMMENT 'None', `symbol_collect_reward_desc` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "pc_poker_rat", "description": null, "columns": [{"name": "hid", "type": "string", "description": null}, {"name": "member_no", "type": "string", "description": null}, {"name": "joindate", "type": "timestamp", "description": null}, {"name": "logindate", "type": "timestamp", "description": null}]}
CREATE TABLE `pc_poker_db`.`pc_poker_rat` ( `hid` string COMMENT 'None', `member_no` string COMMENT 'None', `joindate` timestamp COMMENT 'None', `logindate` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "guild", "description": null, "columns": [{"name": "guild_id", "type": "bigint", "description": null}, {"name": "create_at", "type": "timestamp", "description": null}, {"name": "guild_name", "type": "string", "description": null}, {"name": "emblem_frame", "type": "int", "description": null}, {"name": "emblem_color", "type": "int", "description": null}, {"name": "emblem_object", "type": "int", "description": null}, {"name": "emblem_pattern", "type": "int", "description": null}, {"name": "join_type", "type": "tinyint", "description": null}, {"name": "join_condition", "type": "tinyint", "description": null}, {"name": "max_member_count", "type": "int", "description": null}, {"name": "cur_member_count", "type": "int", "description": null}, {"name": "message", "type": "string", "description": null}, {"name": "notice_title", "type": "string", "description": null}, {"name": "notice_body", "type": "string", "description": null}, {"name": "state", "type": "tinyint", "description": null}, {"name": "dismissed_at", "type": "timestamp", "description": null}, {"name": "banish_count", "type": "int", "description": null}, {"name": "next_banish_charge_time", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`guild` ( `guild_id` bigint COMMENT 'None', `create_at` timestamp COMMENT 'None', `guild_name` string COMMENT 'None', `emblem_frame` int COMMENT 'None', `emblem_color` int COMMENT 'None', `emblem_object` int COMMENT 'None', `emblem_pattern` int COMMENT 'None', `join_type` tinyint COMMENT 'None', `join_condition` tinyint COMMENT 'None', `max_member_count` int COMMENT 'None', `cur_member_count` int COMMENT 'None', `message` string COMMENT 'None', `notice_title` string COMMENT 'None', `notice_body` string COMMENT 'None', `state` tinyint COMMENT 'None', `dismissed_at` timestamp COMMENT 'None', `banish_count` int COMMENT 'None', `next_banish_charge_time` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "guild_action_log", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "log_date", "type": "timestamp", "description": null}, {"name": "action_type", "type": "string", "description": null}, {"name": "guild_id", "type": "bigint", "description": null}, {"name": "guild_name", "type": "string", "description": null}, {"name": "member_no", "type": "string", "description": null}, {"name": "nick_name", "type": "string", "description": null}, {"name": "client_type", "type": "tinyint", "description": null}, {"name": "sno", "type": "bigint", "description": null}, {"name": "ival1", "type": "bigint", "description": null}, {"name": "ival2", "type": "bigint", "description": null}, {"name": "dval1", "type": "double", "description": null}, {"name": "sval1", "type": "string", "description": null}, {"name": "sval2", "type": "string", "description": null}, {"name": "modifier", "type": "string", "description": null}, {"name": "reason", "type": "string", "description": null}, {"name": "json_data", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`guild_action_log` ( `seq` bigint COMMENT 'None', `log_date` timestamp COMMENT 'None', `action_type` string COMMENT 'None', `guild_id` bigint COMMENT 'None', `guild_name` string COMMENT 'None', `member_no` string COMMENT 'None', `nick_name` string COMMENT 'None', `client_type` tinyint COMMENT 'None', `sno` bigint COMMENT 'None', `ival1` bigint COMMENT 'None', `ival2` bigint COMMENT 'None', `dval1` double COMMENT 'None', `sval1` string COMMENT 'None', `sval2` string COMMENT 'None', `modifier` string COMMENT 'None', `reason` string COMMENT 'None', `json_data` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "guild_asset", "description": null, "columns": [{"name": "round_no", "type": "int", "description": null}, {"name": "guild_id", "type": "bigint", "description": null}, {"name": "guild_name", "type": "string", "description": null}, {"name": "guild_money", "type": "bigint", "description": null}, {"name": "city_dividend", "type": "bigint", "description": null}, {"name": "balanced_total_money", "type": "bigint", "description": null}, {"name": "guild_master_member_no", "type": "string", "description": null}, {"name": "guild_master_nick_name", "type": "string", "description": null}, {"name": "guild_master_league_grade", "type": "tinyint", "description": null}, {"name": "after_guild_ranking", "type": "int", "description": null}, {"name": "after_guild_point", "type": "bigint", "description": null}, {"name": "completed", "type": "tinyint", "description": null}, {"name": "city_champion_reward", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`guild_asset` ( `round_no` int COMMENT 'None', `guild_id` bigint COMMENT 'None', `guild_name` string COMMENT 'None', `guild_money` bigint COMMENT 'None', `city_dividend` bigint COMMENT 'None', `balanced_total_money` bigint COMMENT 'None', `guild_master_member_no` string COMMENT 'None', `guild_master_nick_name` string COMMENT 'None', `guild_master_league_grade` tinyint COMMENT 'None', `after_guild_ranking` int COMMENT 'None', `after_guild_point` bigint COMMENT 'None', `completed` tinyint COMMENT 'None', `city_champion_reward` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "guild_chat", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "community_group", "type": "tinyint", "description": null}, {"name": "message_type", "type": "int", "description": null}, {"name": "guild_id", "type": "bigint", "description": null}, {"name": "guild_name", "type": "string", "description": null}, {"name": "member_id", "type": "string", "description": null}, {"name": "member_no", "type": "string", "description": null}, {"name": "nickname", "type": "string", "description": null}, {"name": "grade", "type": "tinyint", "description": null}, {"name": "message", "type": "string", "description": null}, {"name": "withdrawn", "type": "tinyint", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`guild_chat` ( `seq` bigint COMMENT 'None', `reg_date` timestamp COMMENT 'None', `community_group` tinyint COMMENT 'None', `message_type` int COMMENT 'None', `guild_id` bigint COMMENT 'None', `guild_name` string COMMENT 'None', `member_id` string COMMENT 'None', `member_no` string COMMENT 'None', `nickname` string COMMENT 'None', `grade` tinyint COMMENT 'None', `message` string COMMENT 'None', `withdrawn` tinyint COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "guild_history", "description": null, "columns": [{"name": "seq", "type": "bigint", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "history_group", "type": "tinyint", "description": null}, {"name": "guild_id", "type": "bigint", "description": null}, {"name": "round_no", "type": "int", "description": null}, {"name": "history_type", "type": "int", "description": null}, {"name": "category", "type": "int", "description": null}, {"name": "history_condition", "type": "string", "description": null}, {"name": "message", "type": "string", "description": null}, {"name": "emblem_frame", "type": "int", "description": null}, {"name": "emblem_color", "type": "int", "description": null}, {"name": "emblem_object", "type": "int", "description": null}, {"name": "emblem_pattern", "type": "int", "description": null}]}
CREATE TABLE `pc_poker_db`.`guild_history` ( `seq` bigint COMMENT 'None', `reg_date` timestamp COMMENT 'None', `history_group` tinyint COMMENT 'None', `guild_id` bigint COMMENT 'None', `round_no` int COMMENT 'None', `history_type` int COMMENT 'None', `category` int COMMENT 'None', `history_condition` string COMMENT 'None', `message` string COMMENT 'None', `emblem_frame` int COMMENT 'None', `emblem_color` int COMMENT 'None', `emblem_object` int COMMENT 'None', `emblem_pattern` int COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "guild_members", "description": null, "columns": [{"name": "guild_id", "type": "bigint", "description": null}, {"name": "member_no", "type": "string", "description": null}, {"name": "member_id", "type": "string", "description": null}, {"name": "nick_name", "type": "string", "description": null}, {"name": "join_date", "type": "timestamp", "description": null}, {"name": "grade", "type": "tinyint", "description": null}, {"name": "client_type", "type": "tinyint", "description": null}, {"name": "avatar_info_json", "type": "string", "description": null}, {"name": "logout_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`guild_members` ( `guild_id` bigint COMMENT 'None', `member_no` string COMMENT 'None', `member_id` string COMMENT 'None', `nick_name` string COMMENT 'None', `join_date` timestamp COMMENT 'None', `grade` tinyint COMMENT 'None', `client_type` tinyint COMMENT 'None', `avatar_info_json` string COMMENT 'None', `logout_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "guild_point_contribute", "description": null, "columns": [{"name": "round_no", "type": "int", "description": null}, {"name": "guild_id", "type": "bigint", "description": null}, {"name": "member_no", "type": "string", "description": null}, {"name": "amount", "type": "bigint", "description": null}, {"name": "contribute_money", "type": "bigint", "description": null}, {"name": "reward_money", "type": "bigint", "description": null}, {"name": "received", "type": "tinyint", "description": null}, {"name": "after_ranking", "type": "int", "description": null}, {"name": "last_update", "type": "timestamp", "description": null}, {"name": "war_point", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`guild_point_contribute` ( `round_no` int COMMENT 'None', `guild_id` bigint COMMENT 'None', `member_no` string COMMENT 'None', `amount` bigint COMMENT 'None', `contribute_money` bigint COMMENT 'None', `reward_money` bigint COMMENT 'None', `received` tinyint COMMENT 'None', `after_ranking` int COMMENT 'None', `last_update` timestamp COMMENT 'None', `war_point` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "guild_schedule_mast", "description": null, "columns": [{"name": "round_no", "type": "int", "description": null}, {"name": "game_start_date", "type": "timestamp", "description": null}, {"name": "game_end_date", "type": "timestamp", "description": null}, {"name": "calculate_start_date", "type": "timestamp", "description": null}, {"name": "calculate_end_date", "type": "timestamp", "description": null}, {"name": "actions_unavailable_start_date", "type": "timestamp", "description": null}, {"name": "actions_unavailable_end_date", "type": "timestamp", "description": null}, {"name": "status", "type": "tinyint", "description": null}, {"name": "war_request_start_date", "type": "timestamp", "description": null}, {"name": "war_request_end_date", "type": "timestamp", "description": null}, {"name": "war_start_date", "type": "timestamp", "description": null}, {"name": "war_end_date", "type": "timestamp", "description": null}]}
CREATE TABLE `pc_poker_db`.`guild_schedule_mast` ( `round_no` int COMMENT 'None', `game_start_date` timestamp COMMENT 'None', `game_end_date` timestamp COMMENT 'None', `calculate_start_date` timestamp COMMENT 'None', `calculate_end_date` timestamp COMMENT 'None', `actions_unavailable_start_date` timestamp COMMENT 'None', `actions_unavailable_end_date` timestamp COMMENT 'None', `status` tinyint COMMENT 'None', `war_request_start_date` timestamp COMMENT 'None', `war_request_end_date` timestamp COMMENT 'None', `war_start_date` timestamp COMMENT 'None', `war_end_date` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "pc_poker_db", "table": "guild_war_asset", "description": null, "columns": [{"name": "round_no", "type": "int", "description": null}, {"name": "guild_id", "type": "bigint", "description": null}, {"name": "reg_date", "type": "timestamp", "description": null}, {"name": "city_id", "type": "int", "description": null}, {"name": "challenge_state", "type": "tinyint", "description": null}, {"name": "challenge_auto_state", "type": "tinyint", "description": null}, {"name": "city_dividend", "type": "bigint", "description": null}, {"name": "champion_reward", "type": "bigint", "description": null}, {"name": "use_guild_money", "type": "bigint", "description": null}, {"name": "use_city_dividend", "type": "bigint", "description": null}, {"name": "use_champion_reward", "type": "bigint", "description": null}, {"name": "war_point", "type": "bigint", "description": null}, {"name": "after_city_ranking", "type": "int", "description": null}, {"name": "after_challenge_ranking", "type": "int", "description": null}, {"name": "after_guild_state", "type": "tinyint", "description": null}, {"name": "settle_complete", "type": "tinyint", "description": null}, {"name": "latest_update_date", "type": "timestamp", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `pc_poker_db`.`guild_war_asset` ( `round_no` int COMMENT 'None', `guild_id` bigint COMMENT 'None', `reg_date` timestamp COMMENT 'None', `city_id` int COMMENT 'None', `challenge_state` tinyint COMMENT 'None', `challenge_auto_state` tinyint COMMENT 'None', `city_dividend` bigint COMMENT 'None', `champion_reward` bigint COMMENT 'None', `use_guild_money` bigint COMMENT 'None', `use_city_dividend` bigint COMMENT 'None', `use_champion_reward` bigint COMMENT 'None', `war_point` bigint COMMENT 'None', `after_city_ranking` int COMMENT 'None', `after_challenge_ranking` int COMMENT 'None', `after_guild_state` tinyint COMMENT 'None', `settle_complete` tinyint COMMENT 'None', `latest_update_date` timestamp COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "webboard_db", "table": "uppadmin_hist", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "mg_lv", "type": "double", "description": null}, {"name": "bef_mg_lv", "type": "double", "description": null}, {"name": "workdate", "type": "bigint", "description": null}, {"name": "manager", "type": "string", "description": null}, {"name": "memo", "type": "string", "description": null}, {"name": "heal_status", "type": "string", "description": null}, {"name": "group_id", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `webboard_db`.`uppadmin_hist` ( `userid` string COMMENT 'None', `mg_lv` double COMMENT 'None', `bef_mg_lv` double COMMENT 'None', `workdate` bigint COMMENT 'None', `manager` string COMMENT 'None', `memo` string COMMENT 'None', `heal_status` string COMMENT 'None', `group_id` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "webboard_db", "table": "upplevel_hist", "description": null, "columns": [{"name": "workd", "type": "bigint", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "mg_lv", "type": "double", "description": null}, {"name": "bef_mg_lv", "type": "double", "description": null}, {"name": "manager", "type": "string", "description": null}, {"name": "start_lvdt", "type": "bigint", "description": null}, {"name": "group_id", "type": "string", "description": null}, {"name": "work_ymd", "type": "bigint", "description": null}]}
CREATE TABLE `webboard_db`.`upplevel_hist` ( `workd` bigint COMMENT 'None', `userid` string COMMENT 'None', `mg_lv` double COMMENT 'None', `bef_mg_lv` double COMMENT 'None', `manager` string COMMENT 'None', `start_lvdt` bigint COMMENT 'None', `group_id` string COMMENT 'None', `work_ymd` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "webboard_db", "table": "upplevel_mast", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "group_id", "type": "string", "description": null}, {"name": "mg_lv", "type": "double", "description": null}, {"name": "start_lvdt", "type": "bigint", "description": null}, {"name": "updatedt", "type": "bigint", "description": null}, {"name": "popup", "type": "string", "description": null}, {"name": "memberno", "type": "decimal(10,0)", "description": null}, {"name": "i_seq", "type": "bigint", "description": null}]}
CREATE TABLE `webboard_db`.`upplevel_mast` ( `userid` string COMMENT 'None', `group_id` string COMMENT 'None', `mg_lv` double COMMENT 'None', `start_lvdt` bigint COMMENT 'None', `updatedt` bigint COMMENT 'None', `popup` string COMMENT 'None', `memberno` decimal(10,0) COMMENT 'None', `i_seq` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dg_mblg_certi_d01", "description": null, "columns": [{"name": "certi_sys_cd", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "gbase_app_id", "type": "string", "description": null}, {"name": "idp_certi_dt", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "mbr_stat_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dg_mblg_certi_d01` ( `certi_sys_cd` string COMMENT 'None', `idp_cd` string COMMENT 'None', `idp_userno` string COMMENT 'None', `gbase_app_id` string COMMENT 'None', `idp_certi_dt` string COMMENT 'None', `userno` string COMMENT 'None', `mbr_stat_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dg_game_user_d01_mblg", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "hg_userid", "type": "string", "description": null}, {"name": "hg_userno", "type": "bigint", "description": null}, {"name": "hgid_mapng_yn", "type": "string", "description": null}, {"name": "age_cd", "type": "string", "description": null}, {"name": "age_zn_cd", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "join_prd_cd", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "lst_game_prd_cd", "type": "string", "description": null}, {"name": "bdd_lst_game_prd_cd", "type": "string", "description": null}, {"name": "lst_gameno", "type": "bigint", "description": null}, {"name": "tdd_ptm", "type": "bigint", "description": null}, {"name": "tdd_conn_tcnt", "type": "bigint", "description": null}, {"name": "mket_cd", "type": "string", "description": null}, {"name": "mket_nm", "type": "string", "description": null}, {"name": "lst_game_dcnt", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "dev_key", "type": "string", "description": null}, {"name": "dev_mdl", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "adid", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "idp_fst_mapng_dt", "type": "string", "description": null}, {"name": "w1_dmnc_cmbck_ymd", "type": "string", "description": null}, {"name": "w4_dmnc_cmbck_ymd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "work_dt", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dg_game_user_d01_mblg` ( `userno` string COMMENT 'None', `hg_userid` string COMMENT 'None', `hg_userno` bigint COMMENT 'None', `hgid_mapng_yn` string COMMENT 'None', `age_cd` string COMMENT 'None', `age_zn_cd` string COMMENT 'None', `sex_cd` string COMMENT 'None', `join_dt` string COMMENT 'None', `join_prd_cd` string COMMENT 'None', `lst_game_dt` string COMMENT 'None', `lst_game_prd_cd` string COMMENT 'None', `bdd_lst_game_prd_cd` string COMMENT 'None', `lst_gameno` bigint COMMENT 'None', `tdd_ptm` bigint COMMENT 'None', `tdd_conn_tcnt` bigint COMMENT 'None', `mket_cd` string COMMENT 'None', `mket_nm` string COMMENT 'None', `lst_game_dcnt` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `dev_key` string COMMENT 'None', `dev_mdl` string COMMENT 'None', `st_cd` string COMMENT 'None', `num_etc1` bigint COMMENT 'None', `idp_userno` string COMMENT 'None', `game_grd_cd` string COMMENT 'None', `idp_cd` string COMMENT 'None', `adid` string COMMENT 'None', `os_cd` string COMMENT 'None', `idp_fst_mapng_dt` string COMMENT 'None', `w1_dmnc_cmbck_ymd` string COMMENT 'None', `w4_dmnc_cmbck_ymd` string COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None', `work_dt` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "db_prod_sale_hist", "description": null, "columns": [{"name": "work_hh", "type": "string", "description": null}, {"name": "pay_chnl_cd", "type": "string", "description": null}, {"name": "userid", "type": "string", "description": null}, {"name": "prod_seq", "type": "string", "description": null}, {"name": "pay_tp_cd", "type": "string", "description": null}, {"name": "pay_mns_cd", "type": "string", "description": null}, {"name": "atmt_pay_yn", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "samt", "type": "double", "description": null}, {"name": "nsamt", "type": "double", "description": null}, {"name": "sale_cnt", "type": "bigint", "description": null}, {"name": "noml_amt", "type": "double", "description": null}, {"name": "noml_cnt", "type": "bigint", "description": null}, {"name": "canc_amt", "type": "double", "description": null}, {"name": "canc_cnt", "type": "bigint", "description": null}, {"name": "userno", "type": "bigint", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "fre_samt", "type": "double", "description": null}, {"name": "fre_nsamt", "type": "double", "description": null}, {"name": "net_noml_amt", "type": "double", "description": null}, {"name": "net_canc_amt", "type": "double", "description": null}, {"name": "pay_mnsid", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "samt_jpy", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`db_prod_sale_hist` ( `work_hh` string COMMENT 'None', `pay_chnl_cd` string COMMENT 'None', `userid` string COMMENT 'None', `prod_seq` string COMMENT 'None', `pay_tp_cd` string COMMENT 'None', `pay_mns_cd` string COMMENT 'None', `atmt_pay_yn` string COMMENT 'None', `st_cd` string COMMENT 'None', `samt` double COMMENT 'None', `nsamt` double COMMENT 'None', `sale_cnt` bigint COMMENT 'None', `noml_amt` double COMMENT 'None', `noml_cnt` bigint COMMENT 'None', `canc_amt` double COMMENT 'None', `canc_cnt` bigint COMMENT 'None', `userno` bigint COMMENT 'None', `custno` bigint COMMENT 'None', `fre_samt` double COMMENT 'None', `fre_nsamt` double COMMENT 'None', `net_noml_amt` double COMMENT 'None', `net_canc_amt` double COMMENT 'None', `pay_mnsid` string COMMENT 'None', `game_grd_cd` string COMMENT 'None', `nat_cd` string COMMENT 'None', `samt_jpy` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dc_prod_cd_mtr", "description": null, "columns": [{"name": "prod_seq", "type": "string", "description": null}, {"name": "prodid", "type": "string", "description": null}, {"name": "prod_nm", "type": "string", "description": null}, {"name": "sale_cd", "type": "string", "description": null}, {"name": "sale2_cd", "type": "string", "description": null}, {"name": "cpid", "type": "string", "description": null}, {"name": "cp_nm", "type": "string", "description": null}, {"name": "svc_seq", "type": "string", "description": null}, {"name": "svc_nm", "type": "string", "description": null}, {"name": "chnl_cd", "type": "string", "description": null}, {"name": "stat_cd", "type": "string", "description": null}, {"name": "age_rstct_cd", "type": "string", "description": null}, {"name": "rlnm_certi_yn", "type": "string", "description": null}, {"name": "rgst_dt", "type": "string", "description": null}, {"name": "use_prd_tp_cd", "type": "string", "description": null}, {"name": "intnl_dvlp_yn", "type": "string", "description": null}, {"name": "org_cd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dc_prod_cd_mtr` ( `prod_seq` string COMMENT 'None', `prodid` string COMMENT 'None', `prod_nm` string COMMENT 'None', `sale_cd` string COMMENT 'None', `sale2_cd` string COMMENT 'None', `cpid` string COMMENT 'None', `cp_nm` string COMMENT 'None', `svc_seq` string COMMENT 'None', `svc_nm` string COMMENT 'None', `chnl_cd` string COMMENT 'None', `stat_cd` string COMMENT 'None', `age_rstct_cd` string COMMENT 'None', `rlnm_certi_yn` string COMMENT 'None', `rgst_dt` string COMMENT 'None', `use_prd_tp_cd` string COMMENT 'None', `intnl_dvlp_yn` string COMMENT 'None', `org_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dg_mbl_gssudda_evnt_hist", "description": null, "columns": [{"name": "evnt_id", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "log_tp_cd", "type": "string", "description": null}, {"name": "log_dt", "type": "string", "description": null}, {"name": "num_val1", "type": "bigint", "description": null}, {"name": "num_val2", "type": "bigint", "description": null}, {"name": "num_val3", "type": "bigint", "description": null}, {"name": "ltr_val1", "type": "string", "description": null}, {"name": "ltr_val2", "type": "string", "description": null}, {"name": "ltr_val3", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dg_mbl_gssudda_evnt_hist` ( `evnt_id` string COMMENT 'None', `userno` string COMMENT 'None', `log_tp_cd` string COMMENT 'None', `log_dt` string COMMENT 'None', `num_val1` bigint COMMENT 'None', `num_val2` bigint COMMENT 'None', `num_val3` bigint COMMENT 'None', `ltr_val1` string COMMENT 'None', `ltr_val2` string COMMENT 'None', `ltr_val3` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dg_game_cm_user_d01_mblg", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "cm_vit_dcnt", "type": "bigint", "description": null}, {"name": "cm_samt", "type": "double", "description": null}, {"name": "cm_ptm", "type": "bigint", "description": null}, {"name": "cm_conn_tcnt", "type": "bigint", "description": null}, {"name": "join8d_vit_dcnt", "type": "bigint", "description": null}, {"name": "infl_chnl_cd", "type": "string", "description": null}, {"name": "infl_path_cd", "type": "string", "description": null}, {"name": "infl_dt", "type": "string", "description": null}, {"name": "tdd_samt", "type": "double", "description": null}, {"name": "join8d_samt", "type": "double", "description": null}, {"name": "join31d_samt", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dg_game_cm_user_d01_mblg` ( `userno` string COMMENT 'None', `join_dt` string COMMENT 'None', `lst_game_dt` string COMMENT 'None', `cm_vit_dcnt` bigint COMMENT 'None', `cm_samt` double COMMENT 'None', `cm_ptm` bigint COMMENT 'None', `cm_conn_tcnt` bigint COMMENT 'None', `join8d_vit_dcnt` bigint COMMENT 'None', `infl_chnl_cd` string COMMENT 'None', `infl_path_cd` string COMMENT 'None', `infl_dt` string COMMENT 'None', `tdd_samt` double COMMENT 'None', `join8d_samt` double COMMENT 'None', `join31d_samt` double COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dg_mbl_gssudda_mail_dsph_hist", "description": null, "columns": [{"name": "rgst_dt", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "dsph_info", "type": "string", "description": null}, {"name": "catg_info", "type": "string", "description": null}, {"name": "msg_data", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dg_mbl_gssudda_mail_dsph_hist` ( `rgst_dt` string COMMENT 'None', `userno` string COMMENT 'None', `dsph_info` string COMMENT 'None', `catg_info` string COMMENT 'None', `msg_data` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dg_mbl_gssudda_user_mtr", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "hg_userid", "type": "string", "description": null}, {"name": "tno", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "bigint", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "mony", "type": "bigint", "description": null}, {"name": "coin", "type": "bigint", "description": null}, {"name": "fchg_coin", "type": "bigint", "description": null}, {"name": "bns_cd", "type": "bigint", "description": null}, {"name": "safe_mony", "type": "bigint", "description": null}, {"name": "rstsc_yn", "type": "string", "description": null}, {"name": "bdki_use_yn", "type": "string", "description": null}, {"name": "cm_pcnt", "type": "bigint", "description": null}, {"name": "los_rstct_mony", "type": "double", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dg_mbl_gssudda_user_mtr` ( `userno` string COMMENT 'None', `hg_userid` string COMMENT 'None', `tno` string COMMENT 'None', `game_grd_cd` bigint COMMENT 'None', `join_dt` string COMMENT 'None', `lst_game_dt` string COMMENT 'None', `ci` string COMMENT 'None', `idp_cd` string COMMENT 'None', `idp_userno` string COMMENT 'None', `mony` bigint COMMENT 'None', `coin` bigint COMMENT 'None', `fchg_coin` bigint COMMENT 'None', `bns_cd` bigint COMMENT 'None', `safe_mony` bigint COMMENT 'None', `rstsc_yn` string COMMENT 'None', `bdki_use_yn` string COMMENT 'None', `cm_pcnt` bigint COMMENT 'None', `los_rstct_mony` double COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dg_mblg_game_dev_d01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "dev_key", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "join_prd_cd", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "lst_game_prd_cd", "type": "string", "description": null}, {"name": "bdd_lst_game_prd_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dg_mblg_game_dev_d01` ( `game_cd` string COMMENT 'None', `dev_key` string COMMENT 'None', `os_cd` string COMMENT 'None', `nat_cd` string COMMENT 'None', `join_dt` string COMMENT 'None', `join_prd_cd` string COMMENT 'None', `lst_game_dt` string COMMENT 'None', `lst_game_prd_cd` string COMMENT 'None', `bdd_lst_game_prd_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dg_mblg_game_hist", "description": null, "columns": [{"name": "seq", "type": "string", "description": null}, {"name": "chnl_nm", "type": "string", "description": null}, {"name": "svr_no", "type": "bigint", "description": null}, {"name": "room_no", "type": "bigint", "description": null}, {"name": "scr_per_gmony", "type": "bigint", "description": null}, {"name": "plyr_cnt", "type": "bigint", "description": null}, {"name": "strt_dt", "type": "string", "description": null}, {"name": "end_dt", "type": "string", "description": null}, {"name": "ptm_ss", "type": "double", "description": null}, {"name": "game_mode", "type": "string", "description": null}, {"name": "dealr_mony", "type": "bigint", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "game_knd_cd", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "jackpot_mony", "type": "bigint", "description": null}, {"name": "jackpot_pcnt", "type": "bigint", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dg_mblg_game_hist` ( `seq` string COMMENT 'None', `chnl_nm` string COMMENT 'None', `svr_no` bigint COMMENT 'None', `room_no` bigint COMMENT 'None', `scr_per_gmony` bigint COMMENT 'None', `plyr_cnt` bigint COMMENT 'None', `strt_dt` string COMMENT 'None', `end_dt` string COMMENT 'None', `ptm_ss` double COMMENT 'None', `game_mode` string COMMENT 'None', `dealr_mony` bigint COMMENT 'None', `chnl_id` string COMMENT 'None', `ltr_etc1` string COMMENT 'None', `game_knd_cd` bigint COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None', `jackpot_mony` bigint COMMENT 'None', `jackpot_pcnt` bigint COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dg_mblg_game_user_d01", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "hg_userid", "type": "string", "description": null}, {"name": "sngl_game_use_yn", "type": "string", "description": null}, {"name": "game_grd_tp_cd", "type": "string", "description": null}, {"name": "rat_join_dt", "type": "string", "description": null}, {"name": "join_prd_cd", "type": "string", "description": null}, {"name": "rat_lst_game_dt", "type": "string", "description": null}, {"name": "lst_game_prd_cd", "type": "string", "description": null}, {"name": "pcnt_secn_cd", "type": "string", "description": null}, {"name": "ptm_secn_cd", "type": "string", "description": null}, {"name": "cm_pcnt", "type": "bigint", "description": null}, {"name": "cm_win_pcnt", "type": "bigint", "description": null}, {"name": "cm_sngl_pcnt", "type": "bigint", "description": null}, {"name": "tdd_pcnt", "type": "bigint", "description": null}, {"name": "tdd_sngl_pcnt", "type": "bigint", "description": null}, {"name": "cm_ptm", "type": "double", "description": null}, {"name": "tdd_ptm", "type": "double", "description": null}, {"name": "mony", "type": "bigint", "description": null}, {"name": "coin", "type": "bigint", "description": null}, {"name": "fchg_mony", "type": "bigint", "description": null}, {"name": "fchg_coin", "type": "bigint", "description": null}, {"name": "invt_inflw_yn", "type": "string", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "ltr_etc2", "type": "string", "description": null}, {"name": "ltr_etc3", "type": "string", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "num_etc2", "type": "bigint", "description": null}, {"name": "num_etc3", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "del_appl_ver", "type": "string", "description": null}, {"name": "del_os_cd", "type": "string", "description": null}, {"name": "del_os_ver", "type": "string", "description": null}, {"name": "del_dev_key", "type": "string", "description": null}, {"name": "del_dev_mdl", "type": "string", "description": null}, {"name": "del_mket_cd", "type": "string", "description": null}, {"name": "del_lst_login_dt", "type": "string", "description": null}, {"name": "del_login_cnt", "type": "bigint", "description": null}, {"name": "ltr_etc4", "type": "string", "description": null}, {"name": "num_etc4", "type": "bigint", "description": null}, {"name": "ltr_etc5", "type": "string", "description": null}, {"name": "ltr_etc6", "type": "string", "description": null}, {"name": "num_etc5", "type": "bigint", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "num_etc6", "type": "bigint", "description": null}, {"name": "num_etc7", "type": "bigint", "description": null}, {"name": "num_etc8", "type": "bigint", "description": null}, {"name": "ltr_etc7", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "work_dt", "type": "timestamp", "description": null}, {"name": "ltr_etc8", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dg_mblg_game_user_d01` ( `userno` string COMMENT 'None', `st_cd` string COMMENT 'None', `hg_userid` string COMMENT 'None', `sngl_game_use_yn` string COMMENT 'None', `game_grd_tp_cd` string COMMENT 'None', `rat_join_dt` string COMMENT 'None', `join_prd_cd` string COMMENT 'None', `rat_lst_game_dt` string COMMENT 'None', `lst_game_prd_cd` string COMMENT 'None', `pcnt_secn_cd` string COMMENT 'None', `ptm_secn_cd` string COMMENT 'None', `cm_pcnt` bigint COMMENT 'None', `cm_win_pcnt` bigint COMMENT 'None', `cm_sngl_pcnt` bigint COMMENT 'None', `tdd_pcnt` bigint COMMENT 'None', `tdd_sngl_pcnt` bigint COMMENT 'None', `cm_ptm` double COMMENT 'None', `tdd_ptm` double COMMENT 'None', `mony` bigint COMMENT 'None', `coin` bigint COMMENT 'None', `fchg_mony` bigint COMMENT 'None', `fchg_coin` bigint COMMENT 'None', `invt_inflw_yn` string COMMENT 'None', `ltr_etc1` string COMMENT 'None', `ltr_etc2` string COMMENT 'None', `ltr_etc3` string COMMENT 'None', `num_etc1` bigint COMMENT 'None', `num_etc2` bigint COMMENT 'None', `num_etc3` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `del_appl_ver` string COMMENT 'None', `del_os_cd` string COMMENT 'None', `del_os_ver` string COMMENT 'None', `del_dev_key` string COMMENT 'None', `del_dev_mdl` string COMMENT 'None', `del_mket_cd` string COMMENT 'None', `del_lst_login_dt` string COMMENT 'None', `del_login_cnt` bigint COMMENT 'None', `ltr_etc4` string COMMENT 'None', `num_etc4` bigint COMMENT 'None', `ltr_etc5` string COMMENT 'None', `ltr_etc6` string COMMENT 'None', `num_etc5` bigint COMMENT 'None', `ci` string COMMENT 'None', `num_etc6` bigint COMMENT 'None', `num_etc7` bigint COMMENT 'None', `num_etc8` bigint COMMENT 'None', `ltr_etc7` string COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None', `work_dt` timestamp COMMENT 'None', `ltr_etc8` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dg_mblg_game_user_mtr", "description": null, "columns": [{"name": "st_cd", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "mbr_stat_cd", "type": "string", "description": null}, {"name": "app_id", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_login_dt", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "dev_mdl", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "os_ver", "type": "string", "description": null}, {"name": "telecom_cd", "type": "string", "description": null}, {"name": "mket_cd", "type": "string", "description": null}, {"name": "sdk_ver", "type": "string", "description": null}, {"name": "game_clnt_ver", "type": "string", "description": null}, {"name": "lang", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dg_mblg_game_user_mtr` ( `st_cd` string COMMENT 'None', `userno` string COMMENT 'None', `mbr_stat_cd` string COMMENT 'None', `app_id` string COMMENT 'None', `join_dt` string COMMENT 'None', `lst_login_dt` string COMMENT 'None', `nat_cd` string COMMENT 'None', `dev_mdl` string COMMENT 'None', `os_cd` string COMMENT 'None', `os_ver` string COMMENT 'None', `telecom_cd` string COMMENT 'None', `mket_cd` string COMMENT 'None', `sdk_ver` string COMMENT 'None', `game_clnt_ver` string COMMENT 'None', `lang` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dg_mblg_item_hld_mtr", "description": null, "columns": [{"name": "st_cd", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "item_id", "type": "string", "description": null}, {"name": "item_tp_cd", "type": "string", "description": null}, {"name": "hld_cnt", "type": "bigint", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "ltr_etc2", "type": "string", "description": null}, {"name": "num_etc2", "type": "bigint", "description": null}, {"name": "svr_id", "type": "string", "description": null}, {"name": "ltr_etc3", "type": "string", "description": null}, {"name": "ltr_etc4", "type": "string", "description": null}, {"name": "ltr_etc5", "type": "string", "description": null}, {"name": "ltr_etc6", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dg_mblg_item_hld_mtr` ( `st_cd` string COMMENT 'None', `userno` string COMMENT 'None', `item_id` string COMMENT 'None', `item_tp_cd` string COMMENT 'None', `hld_cnt` bigint COMMENT 'None', `ltr_etc1` string COMMENT 'None', `num_etc1` bigint COMMENT 'None', `ltr_etc2` string COMMENT 'None', `num_etc2` bigint COMMENT 'None', `svr_id` string COMMENT 'None', `ltr_etc3` string COMMENT 'None', `ltr_etc4` string COMMENT 'None', `ltr_etc5` string COMMENT 'None', `ltr_etc6` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dg_mblg_item_mtr", "description": null, "columns": [{"name": "item_id", "type": "string", "description": null}, {"name": "item_nm", "type": "string", "description": null}, {"name": "item_tp_cd", "type": "string", "description": null}, {"name": "item_dtl_tp_cd", "type": "string", "description": null}, {"name": "item_add_info", "type": "string", "description": null}, {"name": "sale_prc", "type": "double", "description": null}, {"name": "use_psbl_tcnt", "type": "bigint", "description": null}, {"name": "use_psbl_tm", "type": "bigint", "description": null}, {"name": "actvn_psbl_tm", "type": "bigint", "description": null}, {"name": "max_pay_psbl_tcnt", "type": "bigint", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dg_mblg_item_mtr` ( `item_id` string COMMENT 'None', `item_nm` string COMMENT 'None', `item_tp_cd` string COMMENT 'None', `item_dtl_tp_cd` string COMMENT 'None', `item_add_info` string COMMENT 'None', `sale_prc` double COMMENT 'None', `use_psbl_tcnt` bigint COMMENT 'None', `use_psbl_tm` bigint COMMENT 'None', `actvn_psbl_tm` bigint COMMENT 'None', `max_pay_psbl_tcnt` bigint COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dg_mblg_login_hist", "description": null, "columns": [{"name": "log_dt", "type": "string", "description": null}, {"name": "zone_cd", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "game_no", "type": "bigint", "description": null}, {"name": "mket_cd", "type": "string", "description": null}, {"name": "dev_key", "type": "string", "description": null}, {"name": "dev_mdl", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "os_ver", "type": "string", "description": null}, {"name": "hsp_ver", "type": "string", "description": null}, {"name": "game_clnt_ver", "type": "string", "description": null}, {"name": "telecom", "type": "string", "description": null}, {"name": "ntwk_tp", "type": "string", "description": null}, {"name": "adid", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "ip", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "idp_code", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dg_mblg_login_hist` ( `log_dt` string COMMENT 'None', `zone_cd` string COMMENT 'None', `userno` string COMMENT 'None', `game_no` bigint COMMENT 'None', `mket_cd` string COMMENT 'None', `dev_key` string COMMENT 'None', `dev_mdl` string COMMENT 'None', `os_cd` string COMMENT 'None', `os_ver` string COMMENT 'None', `hsp_ver` string COMMENT 'None', `game_clnt_ver` string COMMENT 'None', `telecom` string COMMENT 'None', `ntwk_tp` string COMMENT 'None', `adid` string COMMENT 'None', `nat_cd` string COMMENT 'None', `ip` string COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None', `idp_code` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dg_mblg_mony_hist", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "tp_cd", "type": "string", "description": null}, {"name": "pay_tp_cd", "type": "string", "description": null}, {"name": "chg_rsn_cd", "type": "string", "description": null}, {"name": "chg_cnt", "type": "bigint", "description": null}, {"name": "chg_amt", "type": "bigint", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "game_grd_cd", "type": "bigint", "description": null}, {"name": "chg_fchg_amt", "type": "bigint", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "ltr_etc2", "type": "string", "description": null}, {"name": "ltr_etc3", "type": "string", "description": null}, {"name": "svr_id", "type": "string", "description": null}, {"name": "ltr_etc4", "type": "string", "description": null}, {"name": "ltr_etc5", "type": "string", "description": null}, {"name": "ltr_etc6", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dg_mblg_mony_hist` ( `userno` string COMMENT 'None', `tp_cd` string COMMENT 'None', `pay_tp_cd` string COMMENT 'None', `chg_rsn_cd` string COMMENT 'None', `chg_cnt` bigint COMMENT 'None', `chg_amt` bigint COMMENT 'None', `st_cd` string COMMENT 'None', `game_grd_cd` bigint COMMENT 'None', `chg_fchg_amt` bigint COMMENT 'None', `num_etc1` bigint COMMENT 'None', `ltr_etc1` string COMMENT 'None', `ltr_etc2` string COMMENT 'None', `ltr_etc3` string COMMENT 'None', `svr_id` string COMMENT 'None', `ltr_etc4` string COMMENT 'None', `ltr_etc5` string COMMENT 'None', `ltr_etc6` string COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dg_mblg_user_d01", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "hg_userid", "type": "string", "description": null}, {"name": "hg_userno", "type": "bigint", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "age_cd", "type": "string", "description": null}, {"name": "join_prd_cd", "type": "string", "description": null}, {"name": "lst_login_prd_cd", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_login_dt", "type": "string", "description": null}, {"name": "lst_game_no", "type": "bigint", "description": null}, {"name": "fst_game_no", "type": "bigint", "description": null}, {"name": "cm_use_game_cnt", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "dev_key", "type": "string", "description": null}, {"name": "dev_mdl", "type": "string", "description": null}, {"name": "age_zn_cd", "type": "string", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "os_ver", "type": "string", "description": null}, {"name": "idp_fst_mapng_dt", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dg_mblg_user_d01` ( `userno` string COMMENT 'None', `hg_userid` string COMMENT 'None', `hg_userno` bigint COMMENT 'None', `sex_cd` string COMMENT 'None', `age_cd` string COMMENT 'None', `join_prd_cd` string COMMENT 'None', `lst_login_prd_cd` string COMMENT 'None', `join_dt` string COMMENT 'None', `lst_login_dt` string COMMENT 'None', `lst_game_no` bigint COMMENT 'None', `fst_game_no` bigint COMMENT 'None', `cm_use_game_cnt` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `dev_key` string COMMENT 'None', `dev_mdl` string COMMENT 'None', `age_zn_cd` string COMMENT 'None', `idp_userno` string COMMENT 'None', `idp_cd` string COMMENT 'None', `os_cd` string COMMENT 'None', `os_ver` string COMMENT 'None', `idp_fst_mapng_dt` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dg_mblg_user_hist", "description": null, "columns": [{"name": "seq", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "chnl_nm", "type": "string", "description": null}, {"name": "plyr_cnt", "type": "bigint", "description": null}, {"name": "ptm_ss", "type": "double", "description": null}, {"name": "room_bos_yn", "type": "string", "description": null}, {"name": "bef_gmony", "type": "bigint", "description": null}, {"name": "aft_gmony", "type": "bigint", "description": null}, {"name": "chg_mony", "type": "bigint", "description": null}, {"name": "bef_engy", "type": "bigint", "description": null}, {"name": "aft_engy", "type": "bigint", "description": null}, {"name": "chg_engy", "type": "bigint", "description": null}, {"name": "bef_coin", "type": "bigint", "description": null}, {"name": "aft_coin", "type": "bigint", "description": null}, {"name": "chg_coin", "type": "bigint", "description": null}, {"name": "evnt_mony", "type": "bigint", "description": null}, {"name": "evnt_coin", "type": "bigint", "description": null}, {"name": "rnk", "type": "bigint", "description": null}, {"name": "scr", "type": "bigint", "description": null}, {"name": "log_dt", "type": "string", "description": null}, {"name": "game_info", "type": "string", "description": null}, {"name": "chnl_id", "type": "string", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "num_etc2", "type": "double", "description": null}, {"name": "game_mode", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "game_knd_cd", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dg_mblg_user_hist` ( `seq` string COMMENT 'None', `userno` string COMMENT 'None', `st_cd` string COMMENT 'None', `chnl_nm` string COMMENT 'None', `plyr_cnt` bigint COMMENT 'None', `ptm_ss` double COMMENT 'None', `room_bos_yn` string COMMENT 'None', `bef_gmony` bigint COMMENT 'None', `aft_gmony` bigint COMMENT 'None', `chg_mony` bigint COMMENT 'None', `bef_engy` bigint COMMENT 'None', `aft_engy` bigint COMMENT 'None', `chg_engy` bigint COMMENT 'None', `bef_coin` bigint COMMENT 'None', `aft_coin` bigint COMMENT 'None', `chg_coin` bigint COMMENT 'None', `evnt_mony` bigint COMMENT 'None', `evnt_coin` bigint COMMENT 'None', `rnk` bigint COMMENT 'None', `scr` bigint COMMENT 'None', `log_dt` string COMMENT 'None', `game_info` string COMMENT 'None', `chnl_id` string COMMENT 'None', `num_etc1` bigint COMMENT 'None', `num_etc2` double COMMENT 'None', `game_mode` string COMMENT 'None', `ci` string COMMENT 'None', `game_knd_cd` bigint COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dg_mblg_user_mtr", "description": null, "columns": [{"name": "st_cd", "type": "string", "description": null}, {"name": "userno", "type": "string", "description": null}, {"name": "hg_userid", "type": "string", "description": null}, {"name": "hg_userno", "type": "bigint", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "brt_dy", "type": "string", "description": null}, {"name": "join_dt", "type": "string", "description": null}, {"name": "lst_login_dt", "type": "string", "description": null}, {"name": "lst_game_no", "type": "bigint", "description": null}, {"name": "fst_game_no", "type": "bigint", "description": null}, {"name": "cm_use_game_cnt", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "dev_key", "type": "string", "description": null}, {"name": "dev_mdl", "type": "string", "description": null}, {"name": "idp_userno", "type": "string", "description": null}, {"name": "idp_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "os_ver", "type": "string", "description": null}, {"name": "act_game_cnt", "type": "bigint", "description": null}, {"name": "idp_fst_mapng_dt", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dg_mblg_user_mtr` ( `st_cd` string COMMENT 'None', `userno` string COMMENT 'None', `hg_userid` string COMMENT 'None', `hg_userno` bigint COMMENT 'None', `sex_cd` string COMMENT 'None', `brt_dy` string COMMENT 'None', `join_dt` string COMMENT 'None', `lst_login_dt` string COMMENT 'None', `lst_game_no` bigint COMMENT 'None', `fst_game_no` bigint COMMENT 'None', `cm_use_game_cnt` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `dev_key` string COMMENT 'None', `dev_mdl` string COMMENT 'None', `idp_userno` string COMMENT 'None', `idp_cd` string COMMENT 'None', `os_cd` string COMMENT 'None', `os_ver` string COMMENT 'None', `act_game_cnt` bigint COMMENT 'None', `idp_fst_mapng_dt` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dg_mblg_user_ply_hist", "description": null, "columns": [{"name": "userno", "type": "string", "description": null}, {"name": "game_no", "type": "bigint", "description": null}, {"name": "tdd_ptm", "type": "bigint", "description": null}, {"name": "tdd_conn_tcnt", "type": "bigint", "description": null}, {"name": "cm_ptm", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dg_mblg_user_ply_hist` ( `userno` string COMMENT 'None', `game_no` bigint COMMENT 'None', `tdd_ptm` bigint COMMENT 'None', `tdd_conn_tcnt` bigint COMMENT 'None', `cm_ptm` bigint COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dg_po_rstct_user_d01", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "custno", "type": "bigint", "description": null}, {"name": "etc_hld_mony", "type": "double", "description": null}, {"name": "fchg_hld_mony", "type": "double", "description": null}, {"name": "rstct_yn", "type": "string", "description": null}, {"name": "rels_yn", "type": "string", "description": null}, {"name": "lst_game_dt", "type": "string", "description": null}, {"name": "lst_chnlid", "type": "string", "description": null}, {"name": "rels_oprr_cd", "type": "string", "description": null}, {"name": "vip_lv", "type": "string", "description": null}, {"name": "mbrs_cd", "type": "string", "description": null}, {"name": "rstct2_yn", "type": "string", "description": null}, {"name": "etc2_hld_mony", "type": "double", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "tdd_rstct_cnt", "type": "bigint", "description": null}, {"name": "los_rstct_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dg_po_rstct_user_d01` ( `userid` string COMMENT 'None', `custno` bigint COMMENT 'None', `etc_hld_mony` double COMMENT 'None', `fchg_hld_mony` double COMMENT 'None', `rstct_yn` string COMMENT 'None', `rels_yn` string COMMENT 'None', `lst_game_dt` string COMMENT 'None', `lst_chnlid` string COMMENT 'None', `rels_oprr_cd` string COMMENT 'None', `vip_lv` string COMMENT 'None', `mbrs_cd` string COMMENT 'None', `rstct2_yn` string COMMENT 'None', `etc2_hld_mony` double COMMENT 'None', `ci` string COMMENT 'None', `game_cd` string COMMENT 'None', `tdd_rstct_cnt` bigint COMMENT 'None', `los_rstct_mony` double COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "dg_po_rstct_user_hist", "description": null, "columns": [{"name": "userid", "type": "string", "description": null}, {"name": "log_dt", "type": "string", "description": null}, {"name": "ci", "type": "string", "description": null}, {"name": "los_rstct_mony", "type": "double", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`dg_po_rstct_user_hist` ( `userid` string COMMENT 'None', `log_dt` string COMMENT 'None', `ci` string COMMENT 'None', `los_rstct_mony` double COMMENT 'None', `work_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "sg_cmbck_cntu_use_sd02", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "strt_ymd", "type": "string", "description": null}, {"name": "rettn_tp_cd", "type": "string", "description": null}, {"name": "dd_use_cyc", "type": "bigint", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "dd_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`sg_cmbck_cntu_use_sd02` ( `game_cd` string COMMENT 'None', `strt_ymd` string COMMENT 'None', `rettn_tp_cd` string COMMENT 'None', `dd_use_cyc` bigint COMMENT 'None', `os_cd` string COMMENT 'None', `dd_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "sg_game_cntu_use_sd02", "description": null, "columns": [{"name": "strt_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "dd_use_cyc", "type": "string", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "dd_ucnt", "type": "bigint", "description": null}, {"name": "dd_pcnt", "type": "bigint", "description": null}, {"name": "dd_ptm", "type": "bigint", "description": null}, {"name": "dd_stm", "type": "bigint", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "rettn_tp_cd", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "work_dt", "type": "timestamp", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`sg_game_cntu_use_sd02` ( `strt_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None', `dd_use_cyc` string COMMENT 'None', `nat_cd` string COMMENT 'None', `dd_ucnt` bigint COMMENT 'None', `dd_pcnt` bigint COMMENT 'None', `dd_ptm` bigint COMMENT 'None', `dd_stm` bigint COMMENT 'None', `os_cd` string COMMENT 'None', `rettn_tp_cd` string COMMENT 'None', `work_ymd` string COMMENT 'None', `work_dt` timestamp COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "sg_game_cntu_use_sd03", "description": null, "columns": [{"name": "join_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "dd_use_cyc", "type": "string", "description": null}, {"name": "dd_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`sg_game_cntu_use_sd03` ( `join_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None', `dd_use_cyc` string COMMENT 'None', `dd_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "sg_game_dev_cntu_use_sd01", "description": null, "columns": [{"name": "strt_ymd", "type": "string", "description": null}, {"name": "game_cd", "type": "string", "description": null}, {"name": "dd_use_cyc", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "dd_ucnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`sg_game_dev_cntu_use_sd01` ( `strt_ymd` string COMMENT 'None', `game_cd` string COMMENT 'None', `dd_use_cyc` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `os_cd` string COMMENT 'None', `dd_ucnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "sg_game_mblg_sd01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "st_cd", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "age_zn_cd", "type": "string", "description": null}, {"name": "hg_id_yn", "type": "string", "description": null}, {"name": "game_grd_tp_cd", "type": "string", "description": null}, {"name": "pcnt_secn_cd", "type": "string", "description": null}, {"name": "ptm_secn_cd", "type": "string", "description": null}, {"name": "sngl_game_use_yn", "type": "string", "description": null}, {"name": "invt_inflw_yn", "type": "string", "description": null}, {"name": "cm_ucnt", "type": "bigint", "description": null}, {"name": "ucnt", "type": "bigint", "description": null}, {"name": "new_join_cnt", "type": "bigint", "description": null}, {"name": "act_ucnt", "type": "bigint", "description": null}, {"name": "wkly_ucnt", "type": "bigint", "description": null}, {"name": "cmbck_ucnt", "type": "bigint", "description": null}, {"name": "cm_pcnt", "type": "bigint", "description": null}, {"name": "tdd_pcnt", "type": "bigint", "description": null}, {"name": "cm_ptm", "type": "double", "description": null}, {"name": "tdd_ptm", "type": "double", "description": null}, {"name": "mony", "type": "bigint", "description": null}, {"name": "uv_mony", "type": "bigint", "description": null}, {"name": "coin", "type": "bigint", "description": null}, {"name": "uv_coin", "type": "bigint", "description": null}, {"name": "dmnc_sw_ucnt", "type": "bigint", "description": null}, {"name": "mm_ucnt", "type": "bigint", "description": null}, {"name": "tdd_sngl_pcnt", "type": "bigint", "description": null}, {"name": "fchg_coin", "type": "bigint", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "ltr_etc2", "type": "string", "description": null}, {"name": "ltr_etc3", "type": "string", "description": null}, {"name": "num_etc1", "type": "bigint", "description": null}, {"name": "num_etc2", "type": "bigint", "description": null}, {"name": "num_etc3", "type": "bigint", "description": null}, {"name": "ltr_etc4", "type": "string", "description": null}, {"name": "num_etc4", "type": "bigint", "description": null}, {"name": "secd_ucnt", "type": "bigint", "description": null}, {"name": "ltr_etc5", "type": "string", "description": null}, {"name": "ltr_etc6", "type": "string", "description": null}, {"name": "num_etc5", "type": "bigint", "description": null}, {"name": "fchg_mony", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "os_cd", "type": "string", "description": null}, {"name": "num_etc6", "type": "bigint", "description": null}, {"name": "num_etc7", "type": "bigint", "description": null}, {"name": "num_etc8", "type": "bigint", "description": null}, {"name": "w1_dmnc_cmbck_ucnt", "type": "bigint", "description": null}, {"name": "ltr_etc7", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}, {"name": "ltr_etc8", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`sg_game_mblg_sd01` ( `game_cd` string COMMENT 'None', `st_cd` string COMMENT 'None', `sex_cd` string COMMENT 'None', `age_zn_cd` string COMMENT 'None', `hg_id_yn` string COMMENT 'None', `game_grd_tp_cd` string COMMENT 'None', `pcnt_secn_cd` string COMMENT 'None', `ptm_secn_cd` string COMMENT 'None', `sngl_game_use_yn` string COMMENT 'None', `invt_inflw_yn` string COMMENT 'None', `cm_ucnt` bigint COMMENT 'None', `ucnt` bigint COMMENT 'None', `new_join_cnt` bigint COMMENT 'None', `act_ucnt` bigint COMMENT 'None', `wkly_ucnt` bigint COMMENT 'None', `cmbck_ucnt` bigint COMMENT 'None', `cm_pcnt` bigint COMMENT 'None', `tdd_pcnt` bigint COMMENT 'None', `cm_ptm` double COMMENT 'None', `tdd_ptm` double COMMENT 'None', `mony` bigint COMMENT 'None', `uv_mony` bigint COMMENT 'None', `coin` bigint COMMENT 'None', `uv_coin` bigint COMMENT 'None', `dmnc_sw_ucnt` bigint COMMENT 'None', `mm_ucnt` bigint COMMENT 'None', `tdd_sngl_pcnt` bigint COMMENT 'None', `fchg_coin` bigint COMMENT 'None', `ltr_etc1` string COMMENT 'None', `ltr_etc2` string COMMENT 'None', `ltr_etc3` string COMMENT 'None', `num_etc1` bigint COMMENT 'None', `num_etc2` bigint COMMENT 'None', `num_etc3` bigint COMMENT 'None', `ltr_etc4` string COMMENT 'None', `num_etc4` bigint COMMENT 'None', `secd_ucnt` bigint COMMENT 'None', `ltr_etc5` string COMMENT 'None', `ltr_etc6` string COMMENT 'None', `num_etc5` bigint COMMENT 'None', `fchg_mony` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `os_cd` string COMMENT 'None', `num_etc6` bigint COMMENT 'None', `num_etc7` bigint COMMENT 'None', `num_etc8` bigint COMMENT 'None', `w1_dmnc_cmbck_ucnt` bigint COMMENT 'None', `ltr_etc7` string COMMENT 'None', `work_ymd` string COMMENT 'None', `ltr_etc8` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "sg_game_wkly_user_sw01", "description": null, "columns": [{"name": "game_cd", "type": "string", "description": null}, {"name": "sex_cd", "type": "string", "description": null}, {"name": "age_zn_cd", "type": "string", "description": null}, {"name": "lv_secn_cd", "type": "string", "description": null}, {"name": "wkly_ptm_zn_cd", "type": "string", "description": null}, {"name": "wkly_ucnt", "type": "bigint", "description": null}, {"name": "wkly_new_ucnt", "type": "bigint", "description": null}, {"name": "wkly_cmbck_ucnt", "type": "bigint", "description": null}, {"name": "wkly_secd_ucnt", "type": "bigint", "description": null}, {"name": "wkly_ptm", "type": "bigint", "description": null}, {"name": "nat_cd", "type": "string", "description": null}, {"name": "ltr_etc1", "type": "string", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`sg_game_wkly_user_sw01` ( `game_cd` string COMMENT 'None', `sex_cd` string COMMENT 'None', `age_zn_cd` string COMMENT 'None', `lv_secn_cd` string COMMENT 'None', `wkly_ptm_zn_cd` string COMMENT 'None', `wkly_ucnt` bigint COMMENT 'None', `wkly_new_ucnt` bigint COMMENT 'None', `wkly_cmbck_ucnt` bigint COMMENT 'None', `wkly_secd_ucnt` bigint COMMENT 'None', `wkly_ptm` bigint COMMENT 'None', `nat_cd` string COMMENT 'None', `ltr_etc1` string COMMENT 'None', `work_ymd` string COMMENT 'None' );
Write a SQL CREATE TABLE script based on the given schema information.
{"database": "mobile_gssudda_dw", "table": "sg_mbl_gssudda_fre_chag_sd01", "description": null, "columns": [{"name": "game_grd_cd", "type": "string", "description": null}, {"name": "vdo_vw_ucnt", "type": "bigint", "description": null}, {"name": "vdo_vw_tcnt", "type": "bigint", "description": null}, {"name": "fre_chag_prpt_ucnt", "type": "bigint", "description": null}, {"name": "fre_chag_prpt_tcnt", "type": "bigint", "description": null}, {"name": "work_ymd", "type": "string", "description": null}]}
CREATE TABLE `mobile_gssudda_dw`.`sg_mbl_gssudda_fre_chag_sd01` ( `game_grd_cd` string COMMENT 'None', `vdo_vw_ucnt` bigint COMMENT 'None', `vdo_vw_tcnt` bigint COMMENT 'None', `fre_chag_prpt_ucnt` bigint COMMENT 'None', `fre_chag_prpt_tcnt` bigint COMMENT 'None', `work_ymd` string COMMENT 'None' );