-- --------------------------------------------------------
-- 호스트:                          127.0.0.1
-- 서버 버전:                        10.2.9-MariaDB - mariadb.org binary distribution
-- 서버 OS:                        Win64
-- HeidiSQL 버전:                  9.4.0.5125
-- --------------------------------------------------------

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;


-- sample 데이터베이스 구조 내보내기
CREATE DATABASE IF NOT EXISTS `sample` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `sample`;

-- 테이블 sample.policy 구조 내보내기
CREATE TABLE IF NOT EXISTS `policy` (
  `rank` int(11) NOT NULL,
  `keyword` varchar(50) DEFAULT NULL,
  `num` int(11) DEFAULT NULL,
  PRIMARY KEY (`rank`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- 테이블 데이터 sample.policy:~0 rows (대략적) 내보내기
DELETE FROM `policy`;
/*!40000 ALTER TABLE `policy` DISABLE KEYS */;
INSERT INTO `policy` (`rank`, `keyword`, `num`) VALUES
	(1, '대통령', 14455),
	(2, '트럼프', 7583),
	(3, '위원장', 7039),
	(4, '민주당', 5582),
	(5, '트럼프_대통령', 4742),
	(6, '비핵화', 4509),
	(7, '정상회담', 4487),
	(8, '한국당', 4198),
	(9, '지방선거', 3794),
	(10, '김정은', 3350),
	(11, '싱가포르', 3276),
	(12, '청와대', 3173),
	(13, '한반도', 2879),
	(14, '자유한국당', 2630),
	(15, '당선인', 2430),
	(16, '당선자', 2265),
	(17, '바른미래당', 2089),
	(18, '더불어민주당', 1858),
	(19, '문재인', 1814),
	(20, '폼페이오', 1734),
	(21, '북미정상회담', 1597),
	(22, '국회의원', 1584),
	(23, '러시아', 1542),
	(24, '교육감', 1506),
	(25, '이재명', 1387),
	(26, '후보들', 1328),
	(27, '무소속', 1297),
	(28, '원내대표', 1235),
	(29, '사전투표', 1230),
	(30, '대변인', 1198),
	(31, '판문점', 1122),
	(32, '투표율', 1025),
	(33, '일자리', 940),
	(34, '백악관', 929),
	(35, '유권자', 916),
	(36, '여론조사', 914),
	(37, '위원회', 913),
	(38, '부위원장', 886),
	(39, '홍준표', 865),
	(40, '폼페이오_장관', 831),
	(41, '정의당', 773),
	(42, '서울시장', 752),
	(43, '안철수', 748),
	(44, '김정은_위원장', 715),
	(45, '지지율', 713),
	(46, '시민들', 698),
	(47, '의원들', 697),
	(48, '투표소', 690),
	(49, '후보자', 679),
	(50, 'CVID', 648),
	(51, '단일화', 642),
	(52, '종전선언', 637),
	(53, '선거운동', 629),
	(54, '김경수', 628),
	(55, '지도부', 612),
	(56, '국방부', 610),
	(57, '합의문', 610),
	(58, '북미_정상회담', 607),
	(59, '베이징', 604),
	(60, '박원순', 593),
	(61, '구청장', 580),
	(62, '드루킹', 578),
	(63, '토론회', 568),
	(64, '김성태', 549),
	(65, '주한미군', 545),
	(66, '권한대행', 537),
	(67, '문재인_대통령', 537),
	(68, '인터뷰', 537),
	(69, '미사일', 536),
	(70, '출구조사', 533),
	(71, '유권자들', 529),
	(72, '변호사', 526),
	(73, '마지막', 519),
	(74, '김부선', 517),
	(75, '김영철', 510),
	(76, '경기도', 492),
	(77, '선관위', 490),
	(78, '분위기', 478),
	(79, '이야기', 474),
	(80, '최저임금', 474),
	(81, '부총리', 459),
	(82, '대한민국', 455),
	(83, '선거구', 425),
	(84, '연합훈련', 424),
	(85, '이산가족', 408),
	(86, '남경필', 408),
	(87, '김문수', 404),
	(88, '기자회견', 403),
	(89, '시의원', 399),
	(90, '득표율', 398),
	(91, '도지사', 392),
	(92, '통일부', 387),
	(93, '박근혜', 385),
	(94, '기초단체장', 380),
	(95, '공무원', 380),
	(96, '매티스', 373),
	(97, '사전투표율', 362),
	(98, '국무총리', 360),
	(99, '개성공단', 357),
	(100, '공동성명', 353),
	(101, '사람들', 352),
	(102, '김종필', 348),
	(103, '도의원', 348),
	(104, '인수위', 345),
	(105, '국정원', 338),
	(106, '김태호', 335),
	(107, '민주평화당', 332),
	(108, '포인트', 331),
	(109, '비대위', 330),
	(110, '국민들', 328),
	(111, '단체장', 326),
	(112, '비례대표', 323),
	(113, '한미연합훈련', 319),
	(114, '지역구', 319),
	(115, '경기도지사', 317),
	(116, '사무소', 311),
	(117, '투표용지', 310),
	(118, '평화당', 308),
	(119, '주민들', 308),
	(120, '서울시', 300),
	(121, '광역단체장', 296),
	(122, '이재명_후보', 293),
	(123, '지난달', 287),
	(124, '스캔들', 284),
	(125, '중앙당', 284),
	(126, '푸틴_대통령', 284),
	(127, '보좌관', 283),
	(128, '외교부', 283),
	(129, '정치인', 281),
	(130, '구체적', 278),
	(131, '전당대회', 275),
	(132, '수사권', 274),
	(133, '수석대표', 269),
	(134, '재확인', 265),
	(135, '수도권', 264),
	(136, '제주도', 264),
	(137, 'UFG', 262),
	(138, '고위급', 262),
	(139, '6개월', 258),
	(140, '간담회', 254),
	(141, '현수막', 253),
	(142, '핵무기', 251),
	(143, '원희룡', 250),
	(144, '평화체제', 248),
	(145, '문재인_정부', 247),
	(146, '활성화', 246),
	(147, '최고위원', 242),
	(148, '인프라', 241),
	(149, '오거돈', 235),
	(150, '부의장', 232),
	(151, '시진핑', 232),
	(152, '정치권', 229),
	(153, '워싱턴', 227),
	(154, '금강산', 225),
	(155, '페이스북', 224),
	(156, '원구성', 224),
	(157, '아베_총리', 223),
	(158, '박남춘', 218),
	(159, '목소리', 217),
	(160, '현충일', 216),
	(161, '항공기', 215),
	(162, '도널드', 215),
	(163, '전교조', 214),
	(164, '현대화', 214),
	(165, 'SNS', 213),
	(166, '혁신성장', 212),
	(167, '추미애', 210),
	(168, '네거티브', 209),
	(169, '전문가', 208),
	(170, '국무장관', 207),
	(171, '여배우', 207),
	(172, '노무현', 206),
	(173, '남북경협', 205),
	(174, '상임위원장', 204),
	(175, '매티스_장관', 202),
	(176, '인천시장', 200),
	(177, '대법원', 200),
	(178, '김동연', 200),
	(179, '경제협력', 196),
	(180, '사전투표소', 196),
	(181, '아이들', 195),
	(182, '센토사', 195),
	(183, '국방장관', 195),
	(184, '허위사실', 193),
	(185, '미세먼지', 193),
	(186, '동북아', 193),
	(187, '부산시장', 190),
	(188, '권영진', 189),
	(189, '평화협정', 189),
	(190, '노동자', 188),
	(191, '유승민', 188),
	(192, '재보선', 187),
	(193, '재건축', 187),
	(194, '미군_유해', 187),
	(195, '2차관', 186),
	(196, '지도자', 184),
	(197, '새누리당', 183),
	(198, '필리핀', 183),
	(199, '카펠라', 181),
	(200, '공동대표', 181);
/*!40000 ALTER TABLE `policy` ENABLE KEYS */;

/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
