sql stringlengths 6 1.05M |
|---|
SELECT tab0.v1 AS v1 , tab2.v0 AS v0 , tab5.v5 AS v5 , tab4.v6 AS v6 , tab3.v4 AS v4 , tab1.v2 AS v2
FROM (SELECT sub AS v0
FROM wsdbm__hasGenre$$3$$
WHERE obj = 'wsdbm:SubGenre83'
) tab2
JOIN (SELECT obj AS v1 , sub AS v0
FROM sorg__contentRating$$1$$
) tab0
ON(tab2.v0=tab0.v0)
JOIN (SELECT sub AS v0 , obj AS v2
FROM sorg__contentSize$$2$$
) tab1
ON(tab0.v0=tab1.v0)
JOIN (SELECT obj AS v0 , sub AS v5
FROM wsdbm__purchaseFor$$6$$
) tab5
ON(tab1.v0=tab5.v0)
JOIN (SELECT obj AS v5 , sub AS v4
FROM wsdbm__makesPurchase$$4$$
) tab3
ON(tab5.v5=tab3.v5)
JOIN (SELECT sub AS v5 , obj AS v6
FROM wsdbm__purchaseDate$$5$$
) tab4
ON(tab3.v5=tab4.v5)
++++++Tables Statistic
wsdbm__purchaseDate$$5$$ 0 VP wsdbm__purchaseDate/
VP <wsdbm__purchaseDate> 4519
SO <wsdbm__purchaseDate><wsdbm__makesPurchase> 4519 1.0
SS <wsdbm__purchaseDate><wsdbm__purchaseFor> 4519 1.0
------
wsdbm__purchaseFor$$6$$ 2 OS wsdbm__purchaseFor/sorg__contentSize
VP <wsdbm__purchaseFor> 15000
OS <wsdbm__purchaseFor><sorg__contentRating> 4187 0.28
OS <wsdbm__purchaseFor><sorg__contentSize> 1163 0.08
OS <wsdbm__purchaseFor><wsdbm__hasGenre> 15000 1.0
SO <wsdbm__purchaseFor><wsdbm__makesPurchase> 15000 1.0
SS <wsdbm__purchaseFor><wsdbm__purchaseDate> 4519 0.3
------
wsdbm__hasGenre$$3$$ 2 SS wsdbm__hasGenre/sorg__contentSize
VP <wsdbm__hasGenre> 5961
SS <wsdbm__hasGenre><sorg__contentRating> 1801 0.3
SS <wsdbm__hasGenre><sorg__contentSize> 596 0.1
SO <wsdbm__hasGenre><wsdbm__purchaseFor> 4600 0.77
------
sorg__contentSize$$2$$ 1 SS sorg__contentSize/sorg__contentRating
VP <sorg__contentSize> 245
SS <sorg__contentSize><sorg__contentRating> 81 0.33
SS <sorg__contentSize><wsdbm__hasGenre> 245 1.0
SO <sorg__contentSize><wsdbm__purchaseFor> 194 0.79
------
sorg__contentRating$$1$$ 1 SS sorg__contentRating/sorg__contentSize
VP <sorg__contentRating> 749
SS <sorg__contentRating><sorg__contentSize> 81 0.11
SS <sorg__contentRating><wsdbm__hasGenre> 749 1.0
SO <sorg__contentRating><wsdbm__purchaseFor> 592 0.79
------
wsdbm__makesPurchase$$4$$ 1 OS wsdbm__makesPurchase/wsdbm__purchaseDate
VP <wsdbm__makesPurchase> 15000
OS <wsdbm__makesPurchase><wsdbm__purchaseDate> 4519 0.3
OS <wsdbm__makesPurchase><wsdbm__purchaseFor> 15000 1.0
------
|
<filename>src/it/oracle-b/verify/install_manual.sql<gh_stars>1-10
prompt
prompt === DATABASE-MAVEN-PLUGIN
prompt Oracle database [database] version [test] created at [2018-09-01 21:41:08]
@./service/input_parameters_manual.sql
@./service/sqlplus_setup.sql
@./service/check_connections.sql
@./service/spool_start.sql
@./service/info_start.sql
@./service/install_database_database.sql
@./service/info_finish.sql
@./service/spool_finish.sql
exit
|
GRANT pg_signal_backend TO admin_user;
|
<gh_stars>0
CREATE PROCEDURE [dbo].[Yammer_RemoveURLFromAttachments_Test]
AS
BEGIN
SET NOCOUNT ON
DECLARE @ID BIGINT
DECLARE @attachments NVARCHAR(max)
DECLARE @Output NVARCHAR(max)
DECLARE @RowNumber nvarchar(max)
DECLARE YM_Messages_CURSOR_T CURSOR LOCAL FOR
SELECT ROW_NUMBER() over(order by id) as RowId,id, attachments FROM YM_Messages_09082018_Test WHERE attachments like '%http%' ORDER BY id
OPEN YM_Messages_CURSOR_T
FETCH NEXT FROM YM_Messages_CURSOR_T INTO @RowNumber, @ID , @attachments --,@csvfilename
WHILE (@@FETCH_STATUS = 0)
BEGIN
SELECT @Output =
COALESCE(@Output + ',' ,' ') + case when CHARINDEX('http', value) > 0 then
REPLACE( REPLACE(value, SUBSTRING(value, CHARINDEX(': http', value) , CHARINDEX(']', value) - CHARINDEX('http', value) + 3), '') ,'[','')
ELSE value
END
FROM STRING_SPLIT (@attachments ,',' )
SET @Output= substring(@Output,2,len(@Output))
UPDATE YM_Messages_09082018_Test SET attachments = @Output WHERE (SELECT ROW_NUMBER() over(order by id) as RowId)=@RowNumber -- and id=@ID
SET @Output=''
FETCH NEXT FROM YM_Messages_CURSOR_T INTO @RowNumber, @ID , @attachments --@csvfilename
END
CLOSE YM_Messages_CURSOR_T
DEALLOCATE YM_Messages_CURSOR_T
SET NOCOUNT OFF
END |
alter table APPLICATIONINSTANCE ADD
(
deployDate timestamp(6)
);
alter table APPLICATIONINSTANCE_AUD ADD
(
deployDate timestamp(6)
);
-- Set deploydate initially to last updated
UPDATE APPLICATIONINSTANCE
SET deployDate = updated;
|
<reponame>b-cube/Response-Identification-Info<gh_stars>0
with i
as (
select d.response_id, jsonb_array_elements(d.identity::jsonb) ident
from identities d
where d.identity is not null
), h as (
select r.host, count(r.host) as total_for_host
from responses r
where r.host is not null and r.host != ''
group by r.host
)
select r.host,
count(i.ident->'protocol') as num_identified_by_protocol,
i.ident->'protocol' as protocol,
min(h.total_for_host) as total_for_host
--from responses r left outer join i on i.response_id = r.id
from responses r join i on i.response_id = r.id
join h on h.host = r.host
where h.total_for_host > 1 and i.ident->>'protocol' != 'OpenSearch'
group by r.host, protocol
order by r.host asc, protocol desc; |
<reponame>DiamondDAO/dao-research<filename>POAP_analysis/data_gather/chainverse_db_queries/dao_proposal_votes_daohaus.sql
SELECT prop.*,
vt.name vote_type,
memb.address member_address,
dao.address dao_address,
dao.name dao_name
FROM daohaus.proposal_votes prop
INNER JOIN daohaus.member memb ON (prop.member_id = memb.id)
INNER JOIN daohaus.dao dao ON (memb.dao_id = dao.id)
INNER JOIN daohaus.vote_type vt ON (vt.id = prop.vote_type_id)
|
<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 4.6.5.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jul 18, 2018 at 07:50 AM
-- Server version: 10.1.21-MariaDB
-- PHP Version: 7.1.1
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `flimapp`
--
-- --------------------------------------------------------
--
-- Table structure for table `comments`
--
CREATE TABLE `comments` (
`id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`flim_id` int(11) DEFAULT NULL,
`name` varchar(250) NOT NULL,
`comment` varchar(250) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `comments`
--
INSERT INTO `comments` (`id`, `user_id`, `flim_id`, `name`, `comment`, `created_at`, `updated_at`) VALUES
(1, 1, 26, 'Chonchol', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to ', '2018-07-17 16:12:37', '2018-07-17 09:04:12'),
(2, 2, 26, 'Mahmud', 'but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset', '2018-07-18 05:40:53', '2018-07-17 09:23:20'),
(3, 5, 1, 'Chonchol', 'but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised', '2018-07-18 05:41:02', '2018-07-17 09:32:46'),
(4, 1, 1, 'Chonchol', 'ap into electronic typesetting, remaining essentially unchanged.', '2018-07-18 05:41:07', '2018-07-17 10:15:14'),
(5, 12, 2, 'abc', 'ap into electronic typesetting, remaining essentially unchanged.', '2018-07-18 05:41:34', '2018-07-17 22:52:17'),
(6, 12, 3, 'Chonchol', 'This is comment', '2018-07-17 23:36:07', '2018-07-17 23:36:07'),
(7, 12, 4, 'Kajol', 'HTML Tidy is a console application whose purpose is to fix invalid HTML, detect potential web accessibility errors', '2018-07-17 23:46:31', '2018-07-17 23:46:31'),
(8, 12, 5, 'Mahmud', 'HTML Tidy is a console application whose purpose is to fix invalid HTML, detect potential web accessibility errors', '2018-07-17 23:47:04', '2018-07-17 23:47:04');
-- --------------------------------------------------------
--
-- Table structure for table `flims`
--
CREATE TABLE `flims` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` text COLLATE utf8mb4_unicode_ci,
`release_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`rating` int(11) DEFAULT NULL,
`ticket_price` int(11) DEFAULT NULL,
`country` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`genre` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`photo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `flims`
--
INSERT INTO `flims` (`id`, `name`, `description`, `release_date`, `rating`, `ticket_price`, `country`, `genre`, `photo`, `created_at`, `updated_at`) VALUES
(1, 'Aut dignissimos soluta vel.', 'Excepturi placeat et perferendis dignissimos libero tenetur tenetur. In aspernatur voluptates sequi pariatur veritatis repudiandae. Deserunt aut molestiae et architecto cum voluptas qui. Nihil enim consequatur fuga molestiae rerum dignissimos.', '2018-07-18 05:44:30', 3, 1, 'Armenia', 'consequatur', '14857.png', '2018-07-16 03:40:51', '2018-07-16 03:40:51'),
(2, 'Laboriosam praesentium veritatis et quaerat.', 'Voluptatem ut autem vitae suscipit vel non cumque. Totam hic ducimus quos voluptatem veniam. Et sed quos et. Rerum porro cupiditate dicta laboriosam.', '2018-07-18 05:44:26', 2, 5, '<NAME>\'Ivoire', 'neque', '14857.png', '2018-07-16 03:40:51', '2018-07-16 03:40:51'),
(3, 'Quam assumenda assumenda at consectetur est.', 'In eligendi beatae fugiat consequatur. Cumque nihil odit aut dignissimos omnis quam quos quibusdam. Ratione aliquid est dolore dolores dolores.', '2018-07-18 05:44:23', 4, 8, '<NAME>', 'quidem', '14857.png', '2018-07-16 03:40:51', '2018-07-16 03:40:51'),
(4, 'Tenetur maxime alias deserunt commodi.', 'Maiores eos tempore et sit. Et quam consequatur et necessitatibus similique cum dolores. Sequi nisi molestias unde voluptate.', '2018-07-18 05:44:18', 5, 8, 'Palau', 'consectetur', '14857.png', '2018-07-16 03:40:51', '2018-07-16 03:40:51'),
(5, 'Iste incidunt illum provident nobis.', 'Iure ut autem est laboriosam qui similique nulla. Quo sint reiciendis pariatur accusamus vero ipsum inventore. Corporis quia corrupti omnis mollitia. Aut est maxime quod quod maiores. Reprehenderit itaque fugit accusamus.', '2018-07-18 05:44:15', 1, 6, 'Syrian Arab Republic', 'et', '14857.png', '2018-07-16 03:40:51', '2018-07-16 03:40:51'),
(6, 'Soluta dolor facilis dolor ut.', 'Corporis dicta suscipit magnam doloribus architecto. Delectus soluta eligendi repellendus tenetur illo eveniet esse. Est sunt unde commodi eos fugit nesciunt sit.', '2018-07-18 05:44:11', 3, 9, 'Chile', 'aliquam', '14857.png', '2018-07-16 03:40:51', '2018-07-16 03:40:51'),
(7, 'Aut nesciunt et hic.', 'Aut nemo vero aperiam consequatur. Delectus natus voluptates dolorum quidem. Qui est iste unde omnis consequatur ullam.', '2018-07-18 05:44:07', 3, 9, 'Netherlands', 'unde', '14857.png', '2018-07-16 03:40:51', '2018-07-16 03:40:51'),
(8, 'Omnis doloremque vel non asperiores.', 'Rerum ea harum ea. Porro suscipit et a rerum vitae quis sed sed. Doloremque deserunt et odio rerum.', '2018-07-18 05:43:50', 5, 1, 'Singapore', 'sequi', '75196.png', '2018-07-16 03:40:51', '2018-07-16 03:40:51'),
(9, 'Est consequatur id.', 'Quas dolorem eveniet tenetur in. Accusamus et quisquam id quo excepturi eveniet. Atque dolorem perferendis ea optio consequatur. Sunt sed voluptate est explicabo.', '2018-07-18 05:43:46', 2, 4, 'Botswana', 'enim', '75196.png', '2018-07-16 03:40:51', '2018-07-16 03:40:51'),
(11, 'Et et harum dolores consequatur.', 'Facilis sit aut eos quidem. Modi sint perspiciatis harum eum ex quos quia. Qui dolor rerum accusantium aliquid vel molestiae. Dignissimos nihil minus autem facilis. Illum et veniam id minus sunt sint.', '2018-07-18 05:43:42', 1, 2, 'Gabon', 'veniam', '75196.png', '2018-07-16 03:40:51', '2018-07-16 03:40:51'),
(12, 'Eligendi sit blanditiis explicabo.', 'Repudiandae aut voluptatum nihil. Eius voluptatibus et quo. Quia natus deleniti autem et magni nemo. Ipsum et expedita incidunt magni.', '2018-07-18 05:43:38', 5, 0, 'Oman', 'suscipit', '75196.png', '2018-07-16 03:40:51', '2018-07-16 03:40:51'),
(13, 'Repellendus est facilis iure et nisi.', 'Minus consequatur officiis sint incidunt dolorem consequatur similique quasi. Animi dolor consequatur quae. Ipsum quia maxime id et incidunt corporis. Nihil debitis fugiat autem libero.', '2018-07-18 05:43:35', 4, 9, 'Philippines', 'eos', '75196.png', '2018-07-16 03:40:51', '2018-07-16 03:40:51'),
(14, 'Tempore non sint et.', 'Excepturi ea ipsa aliquid omnis quidem aut labore. Eaque accusantium minima voluptas inventore quos quisquam. Excepturi vitae eaque voluptatem eligendi.', '2018-07-18 05:43:32', 3, 5, 'Cambodia', 'in', '75196.png', '2018-07-16 03:40:51', '2018-07-16 03:40:51'),
(15, 'Commodi quis omnis aspernatur dolorem consequuntur.', 'Voluptates voluptas ut error eius ducimus corporis. Voluptate aut et asperiores pariatur illo aut illum. Quasi ipsa laboriosam sequi cum enim aut. Ut veritatis quia et error ducimus.', '2018-07-18 05:43:27', 2, 1, 'Bosnia and Herzegovina', 'molestias', '75196.png', '2018-07-16 03:40:51', '2018-07-16 03:40:51'),
(16, 'Omnis aperiam aperiam minus.', 'Dignissimos quas quisquam explicabo tempora dolor. Dolores quis perferendis quam enim et temporibus enim. Quidem ipsam et et id.', '2018-07-18 05:43:23', 1, 4, 'Liechtenstein', 'corporis', '75196.png', '2018-07-16 03:40:51', '2018-07-16 03:40:51'),
(17, 'Tempora et non asperiores delectus molestiae.', 'Voluptatem et non soluta ut voluptates id consectetur aut. Est autem repellendus aut repellat. Ut et qui eveniet odit sint a.', '2018-07-18 05:43:20', 2, 0, 'Guyana', 'similique', '75196.png', '2018-07-16 03:40:51', '2018-07-16 03:40:51'),
(18, 'Repudiandae unde et eum dolores.', 'Recusandae ipsum rem ipsum quas ea fugit. Sunt tempora aut suscipit. Officia distinctio consequatur repellendus dolores sunt et delectus. Saepe ipsum quasi ullam et.', '2018-07-18 05:43:13', 5, 4, 'Tajikistan', 'sunt', '75196.png', '2018-07-16 03:40:51', '2018-07-16 03:40:51'),
(19, 'Sit qui laboriosam repellat expedita.', 'Eaque eius minima neque dolor quia rerum quis. Et ea sed quibusdam tenetur molestiae. Distinctio et voluptate maxime qui dolor sequi velit tempore. Fugit id quos optio sit magni eos. Est assumenda adipisci repudiandae animi.', '2018-07-18 05:43:08', 5, 2, 'Colombia', 'ipsam', '75196.png', '2018-07-16 03:40:51', '2018-07-16 03:40:51'),
(20, 'Ut qui consequuntur nisi illo voluptatem.', 'Earum dolor est rerum enim. Temporibus enim autem esse dolores odit architecto dolorem. Minima et ut aspernatur et voluptatem. Ut dicta dolor dolores culpa et molestias quis.', '2018-07-18 05:43:04', 5, 6, 'Samoa', 'deleniti', '75196.png', '2018-07-16 03:40:51', '2018-07-16 03:40:51'),
(24, '<NAME>', 'This is adventure movie.', '2018-07-18 05:43:00', 3, 15, 'Bangladesh', 'Adventure', '75196.png', '2018-07-17 02:57:47', '2018-07-17 02:57:47'),
(25, 'The Good the bad & the ugly', 'This is description', '2018-07-18 05:42:56', 5, 19, 'Bangladesh', 'Western', '75196.png', '2018-07-17 02:59:47', '2018-07-17 02:59:47'),
(26, 'The God Father', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sapiente dicta fugit fugiat hic aliquam itaque facere, soluta. Totam id dolores, sint aperiam sequi pariatur praesentium animi perspiciatis molestias iure, ducimus!', '2018-07-17 10:59:35', 5, 20, 'Bangladesh', 'Western', '75196.png', '2018-07-17 03:06:00', '2018-07-17 03:06:00'),
(28, 'Khoj - The Search', 'Bangla Movie', '2018-07-27 18:00:00', 4, 10, 'Bangladesh', 'Adventure', '46933.png', '2018-07-17 11:25:12', '2018-07-17 11:25:12'),
(29, 'Monpura', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s', '2018-07-18 18:00:00', 5, 12, 'Bangladesh', 'Adventure', '24027.png', '2018-07-17 11:26:09', '2018-07-17 11:26:09'),
(30, '<NAME>', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s', '2018-07-27 18:00:00', 3, 13, 'Bangladesh', 'Crime', '14857.png', '2018-07-17 11:27:11', '2018-07-17 11:27:11'),
(40, 'Chonchol', 'sd', '2018-07-05 18:00:00', 1, 1, 'Bangladesh', NULL, '25844.png', '2018-07-17 11:45:53', '2018-07-17 11:45:53');
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_resets_table', 1),
(3, '2018_07_16_084644_create_flims_table', 1);
-- --------------------------------------------------------
--
-- Table structure for table `password_resets`
--
CREATE TABLE `password_resets` (
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `name`, `email`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'chonchol', '<EMAIL>', '$2y$10$7NAYXiY4sAw7boTndMNQg.SQNcDlgYG7zS/8zRoSyhmlMe74bC8kq', NULL, '2018-07-16 03:40:52', '2018-07-16 03:40:52'),
(2, '<NAME>', '<EMAIL>', '$2y$10$7NAYXiY4sAw7boTndMNQg.SQNcDlgYG7zS/8zRoSyhmlMe74bC8kq', NULL, '2018-07-16 03:40:52', '2018-07-16 03:40:52'),
(3, '<NAME>', '<EMAIL>', '$2y$10$7NAYXiY4sAw7boTndMNQg.SQNcDlgYG7zS/8zRoSyhmlMe74bC8kq', NULL, '2018-07-16 03:40:52', '2018-07-16 03:40:52'),
(4, '<NAME>', '<EMAIL>', '$2y$10$7NAYXiY4sAw7boTndMNQg.SQNcDlgYG7zS/8zRoSyhmlMe74bC8kq', NULL, '2018-07-16 03:40:52', '2018-07-16 03:40:52'),
(5, '<NAME>', '<EMAIL>', '$2y$10$7NAYXiY4sAw7boTndMNQg.SQNcDlgYG7zS/8zRoSyhmlMe74bC8kq', NULL, '2018-07-16 03:40:52', '2018-07-16 03:40:52'),
(6, '<NAME>', '<EMAIL>', '$2y$10$7NAYXiY4sAw7boTndMNQg.SQNcDlgYG7zS/8zRoSyhmlMe74bC8kq', NULL, '2018-07-16 03:40:52', '2018-07-16 03:40:52'),
(7, '<NAME>', '<EMAIL>', '$2y$10$7NAYXiY4sAw7boTndMNQg.SQNcDlgYG7zS/8zRoSyhmlMe74bC8kq', NULL, '2018-07-16 03:40:52', '2018-07-16 03:40:52'),
(8, '<NAME>', '<EMAIL>', '$2y$10$7NAYXiY4sAw7boTndMNQg.SQNcDlgYG7zS/8zRoSyhmlMe74bC8kq', NULL, '2018-07-16 03:40:52', '2018-07-16 03:40:52'),
(9, '<NAME>', '<EMAIL>', '$2y$10$7NAYXiY4sAw7boTndMNQg.SQNcDlgYG7zS/8zRoSyhmlMe74bC8kq', NULL, '2018-07-16 03:40:52', '2018-07-16 03:40:52'),
(10, '<NAME> MD', '<EMAIL>', '$2y$10$7NAYXiY4sAw7boTndMNQg.SQNcDlgYG7zS/8zRoSyhmlMe74bC8kq', NULL, '2018-07-16 03:40:52', '2018-07-16 03:40:52'),
(11, 'Dr. <NAME> PhD', '<EMAIL>', '$2y$10$7NAYXiY4sAw7boTndMNQg.SQNcDlgYG7zS/8zRoSyhmlMe74bC8kq', NULL, '2018-07-16 03:40:52', '2018-07-16 03:40:52'),
(12, 'Anup', '<EMAIL>', <PASSWORD>$Hs3Qkij40JB8hJBmglB7h.Kw3xaR3O833F4aKvgPZa09DuU8tKv6a', 'mU0Gpefl3zvmqLHY12Ipa30KnPuISJkYpShyVfCyQXZcnksyxBZTgwQmgyAp', '2018-07-17 10:30:01', '2018-07-17 10:30:01');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `comments`
--
ALTER TABLE `comments`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `flims`
--
ALTER TABLE `flims`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `comments`
--
ALTER TABLE `comments`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `flims`
--
ALTER TABLE `flims`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=41;
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
-- rowid.test
--
-- execsql {
-- INSERT INTO t7 VALUES(NULL,'b');
-- SELECT x, y FROM t7;
-- }
INSERT INTO t7 VALUES(NULL,'b');
SELECT x, y FROM t7; |
<gh_stars>1-10
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('15th Anniversary','15A','15ANN','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Alara Reborn','ARB','ARB','04/2009',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Alliances','AL','AI','06/1996',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Anthologies','ANT','AT','11/1998',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Antiquities','AQ','AQ','04/1994',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Apocalypse','AP','AP','05/2001',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Arabian Nights','AN','AN','12/1993',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Archenemy','ARC','ARC','06/2010',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Archenemy "Schemes"','ARS','ARCS','06/2010',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Arena League','ARE','ARENA','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Asia Pacific Land Program','APAC','APAC','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Avacyn Restored','AVR','AVR','05/2012',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Battle for Zendikar','BFZ','BFZ','10/2015',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Battle Royale Box Set','BR','BR','11/1999',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Beatdown Box Set','BD','BD','12/2000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Betrayers of Kamigawa','BOK','BOK','01/2005',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Born of the Gods','BNG','BNG','02/2014',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Celebration Cards','CC','UQC','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Champions of Kamigawa','CHK','CHK','09/2004',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Champs','CHA','CP','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Chronicles','CH','CH','07/1995',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Clash Pack','CLSP','CLASH','09/2014',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Classic Sixth Edition','6E','6E','04/1999',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Coldsnap','CS','CS','06/2006',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Coldsnap Theme Decks','CST','CSTD','06/2006',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Commander 2013 Edition','C13','C13','11/2013',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Commander 2014','C14','C14','11/2014',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Commander 2015','C15','C15','11/2015',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Commander''s Arsenal','CRS','CMA','11/2012',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Conflux','CFX','CFX','01/2009',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Conspiracy: Take the Crown','CN2','CN2','08/2016',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Conspiracy: Take the Crown "Conspiracies"','CN2C','CN2C','08/2016',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Dark Ascension','DKA','DKA','02/2012',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Darksteel','DS','DS','01/2004',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Deckmasters','DM','DM','12/2001',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Dissension','DIS','DI','04/2006',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Dragon''s Maze','DGM','DGM','05/2013',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Dragons of Tarkir','DTK','DTK','03/2015',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks Anthology, Divine vs. Demonic','ADVD','DDADVD','12/2014',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks Anthology, Elves vs. Goblins','AEVG','DDAEVG','12/2014',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks Anthology, Garruk vs. Liliana','AGVL','DDAGVL','12/2014',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks Anthology, Jace vs. Chandra','AJVC','DDAJVC','12/2014',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks: Ajani vs. <NAME>','AVB','DDH','08/2011',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks: Blessed vs. Cursed','BVC','DDQ','02/2016',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks: Divine vs. Demonic','DVD','DVD','04/2009',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks: Elspeth vs. Kiora','EVK','DDO','02/2015',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks: Elspeth vs. Tezzeret','EVT','DDF','09/2010',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks: Elves vs. Goblins','EVG','EVG','11/2007',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks: Garruk vs. Liliana','GVL','GVL','10/2009',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks: Heroes vs. Monsters','HVM','DDL','09/2013',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks: Izzet vs. Golgari','IVG','DDJ','09/2012',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks: Jace vs. Chandra','JVC','JVC','11/2008',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks: Jace vs. Vraska','JVV','DDM','03/2014',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks: Knights vs. Dragons','KVD','DDG','04/2011',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks: Nissa vs. Ob Nixilis','NVO','NVO','09/2016',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks: Phyrexia vs. the Coalition','PVC','PVC','03/2010',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks: Sorin vs. Tibalt','SVT','DDK','03/2013',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks: Speed vs. Cunning','SVC','DDN','09/2014',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks: Venser vs. Koth','VVK','DDI','04/2012',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duel Decks: Zendikar vs. Eldrazi','ZVE','DDP','08/2015',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Duels of the Planeswalkers','DPA','DPA','04/2010',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Eighth Edition','8E','8E','07/2003',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Eighth Edition Box Set','8EB','8EB','07/2003',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Eldritch Moon','EMN','EMN','07/2016',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Eternal Masters','EMA','EMA','06/2016',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('European Land Program','EUR','EURO','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Eventide','EVE','EVE','07/2008',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Exodus','EX','EX','06/1998',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Fallen Empires','FE','FE','10/1994',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Fate Reforged','FRF','FRF','01/2015',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Fifth Dawn','FD','5DN','05/2004',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Fifth Edition','5E','5E','03/1997',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Fourth Edition','4E','4E','04/1995',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Friday Night Magic','FNM','FNMP','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('From the Vault: Angels','V15','V15','08/2015',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('From the Vault: Annihilation (2014)','V14','V14','08/2014',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('From the Vault: Dragons','V08','FVD','08/2008',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('From the Vault: Exiled','V09','FVE','08/2009',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('From the Vault: Legends','V11','FVL','08/2011',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('From the Vault: Lore','V16','V16','08/2016',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('From the Vault: Realms','V12','V12','08/2012',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('From the Vault: Relics','V10','FVR','08/2010',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('From the Vault: Twenty','V13','V13','08/2013',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Future Sight','FUT','FUT','05/2007',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Gatecrash','GTC','GTC','01/2013',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Grand Prix','GPX','GPX','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Guildpact','GP','GP','01/2006',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Guru','GUR','GURU','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Happy Holidays','HHO','HHO','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Homelands','HL','HL','10/1995',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Ice Age','IA','IA','06/1995',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Innistrad','ISD','ISD','09/2011',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Invasion','IN','IN','09/2000',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Journey into Nyx','JOU','JOU','05/2014',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Judge Gift Program','JCG','JR','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Judgment','JU','JU','05/2002',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Khans of Tarkir','KTK','KTK','09/2014',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Legend Membership','LGM','DCILM','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Legends','LG','LG','06/1994',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Legions','LE','LE','01/2003',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Limited Edition Alpha','A','AL','08/1993',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Limited Edition Beta','B','BE','10/1993',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Lorwyn','LRW','LW','09/2007',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Magic 2010','M10','M10','07/2009',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Magic 2011','M11','M11','07/2010',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Magic 2012','M12','M12','07/2011',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Magic 2013','M13','M13','07/2012',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Magic 2014 Core Set','M14','M14','07/2013',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Magic 2015 Core Set','M15','M15','07/2014',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Magic Game Day Cards','GDC','MGDC','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Magic Origins','ORI','ORI','07/2015',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Magic Player Rewards','REW','MPRP','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Magic: The Gathering Launch Parties','GLP','MLP','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Magic: The Gathering-Commander','CMD','CMD','06/2011',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Magic: The Gathering—Conspiracy','CNS','CNS','06/2014',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Magic: The Gathering—Conspiracy "Conspiracies"','CNSC','CNS','06/2014',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Masters Edition','ME','MED','09/2007',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Masters Edition II','ME2','ME2','09/2008',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Masters Edition III','ME3','ME3','09/2009',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Masters Edition IV','ME4','ME4','01/2011',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Media Inserts','MBP','MBP','00/000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Mercadian Masques','MM','MM','09/1999',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Mirage','MI','MR','10/1996',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Mirrodin','MR','MI','09/2003',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Mirrodin Besieged','MBS','MBS','01/2011',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Modern Event Deck 2014','MD1','MD1','05/2014',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Modern Masters','MMA','MMA','06/2013',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Modern Masters 2015 Edition','MM2','MM2','05/2015',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Morningtide','MOR','MT','01/2008',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Nemesis','NE','NE','02/2000',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('New Phyrexia','NPH','NPH','05/2011',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Ninth Edition','9E','9E','07/2005',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Ninth Edition Box Set','9EB','9EB','07/2005',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Oath of the Gatewatch','OGW','OGW','01/2016',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Odyssey','OD','OD','09/2001',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Onslaught','ON','ON','09/2002',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Planar Chaos','PLC','PC','01/2007',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Planechase','PCH','PCH','09/2009',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Planechase "Planes"','PCP','PCHP','09/2009',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Planechase 2012 Edition','PC2','PC2','06/2012',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Planechase 2012 Edition "Planes" and "Phenomena"','PP2','PP2','06/2012',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Planeshift','PS','PS','01/2001',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Portal','PT','PO','06/1997',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Portal Second Age','P2','PO2','06/1998',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Portal Three Kingdoms','P3','P3K','06/1999',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Premium Deck Series: Fire and Lightning','FAL','PD2','11/2010',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Premium Deck Series: Graveborn','GRV','PD3','11/2011',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Premium Deck Series: Slivers','SLI','PDS','11/2009',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Prerelease Events','PRE','PTC','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Pro Tour','PRO','PRO','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Prophecy','PY','PR','05/2000',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Ravnica: City of Guilds','RAV','RAV','09/2005',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Release Events','RLS','REP','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Return to Ravnica','RTR','RTR','10/2012',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Revised Edition','R','RV','04/1994',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Rise of the Eldrazi','ROE','ROE','04/2010',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Saviors of Kamigawa','SOK','SOK','05/2005',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Scars of Mirrodin','SOM','SOM','09/2010',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Scourge','SC','SC','05/2003',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Seventh Edition','7E','7E','04/2001',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Shadowmoor','SHM','SHM','04/2008',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Shadows over Innistrad','SOI','SOI','04/2016',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Shards of Alara','ALA','ALA','09/2008',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Starter 1999','ST','ST','07/1999',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Starter 2000','S2','ST2K','07/2000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Stronghold','SH','SH','02/1998',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Summer of Magic','SUM','SUM','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Super Series','SS','SUS','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Tempest','TE','TP','10/1997',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Tempest Remastered','TPR','TPR','05/2015',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Tenth Edition','10E','10E','07/2007',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('The Dark','DK','DK','08/1994',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Theros','THS','THS','09/2013',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Time Spiral','TSP','TS','09/2006',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Time Spiral "Timeshifted"','TSB','TSTS','09/2006',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Torment','TO','TR','01/2002',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Two-Headed Giant Tournament','2HG','THGT','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Ugin''s Fate promos','UFRF','UGIN',' 01/2015',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Unglued','UG','UG','08/1998',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Unhinged','UNH','UH','11/2004',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Unlimited Edition','U','UN','12/1993',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Urza''s Destiny','UD','UD','05/1999',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Urza''s Legacy','UL','UL','02/1999',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Urza''s Saga','US','US','10/1998',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Vintage Masters','VMA','VMA','06/2014',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Visions','VI','VI','02/1997',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Weatherlight','WL','WL','05/1997',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Welcome Deck 2016','W16','W16','04/2016',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('World Magic Cup Qualifiers','WCQ','WMCQ','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Worlds','WRL','WRL','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Worldwake','WWK','WWK','01/2010',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('WPN/Gateway','GTW','GRC','00/0000',1);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Zendikar','ZEN','ZEN','09/2009',0);
INSERT INTO magic_sets (name,code,code_magiccards,release_date,is_promo) VALUES ('Zendikar Expeditions','EXP','EXP','10/2015',1); |
/*
Because a product can be sold at a discount,
we want to know the highest unit price ever
sold for each product.
This query uses correlated subquery to get
the highest unit price for each product sold.
Alias is used for order_details in both the
subquery and outer query.
*/
select distinct a.ProductID,
a.UnitPrice as Max_unit_price_sold
from order_details as a
where a.UnitPrice =
(
select max(UnitPrice)
from order_details as b
where a.ProductID = b.ProductID
)
order by a.ProductID;
/*
This query returns the exact same result as the one above.
It uses inner join to rephrase the query above and
the query performance is dramatically improved.
*/
select distinct a.ProductID, a.UnitPrice as Max_unit_price_sold
from order_details as a
inner join
(
select ProductID, max(UnitPrice) as Max_unit_price_sold
from order_details
group by ProductID
) as b
on a.ProductID=b.ProductID and a.UnitPrice=b.Max_unit_price_sold
order by a.ProductID; |
<filename>db/migrations/0001_tenative_attendance.sql
ALTER TABLE user_event MODIFY attending INT NOT NULL;
|
SELECT*
FROM FILMS
WHERE BUDGET>1000000 ;
SELECT*
FROM ACTEURS
WHERE NATIONACT='Américain'
AND SEXE='f';
SELECT NOMACT, PRENOMACT
FROM ACTEURS
WHERE NATIONACT='Français'
OR NATIONACT='Belge';
SELECT TITREFILM
FROM REALISATEURS, FILMS
WHERE NOMREAL='Cameron'
AND PRENOMREAL='James'
AND REALISATEURS.CODREAL=FILMS.CODREAL;
SELECT NOMACT, PRENOMACT
FROM ACTEURS, FILMS, JOUENT
WHERE (NATIONACT='Français'
OR NATIONACT='Américain')
AND TITREFILM='La Plage'
AND JOUENT.NACT=ACTEURS.CODACT
AND JOUENT.CODFILM=FILMS.CODFILM;
SELECT A2.NOMACT, A2.PRENOMACT, A2.DNAISSACT
FROM ACTEURS A1, ACTEURS A2
WHERE A1.NOMACT='Dujardin'
AND A1.PRENOMACT='Jean'
AND EXTRACT(YEAR FROM A1.DNAISSACT)=EXTRACT(YEAR FROM A2.DNAISSACT);
SELECT*
FROM FILMS, REALISATEURS
WHERE TITREFILM='Ensemble c''est tout'
AND FILMS.DATESORTIE>REALISATEURS.DDECREAL;
SELECT TITREFILM, NOMREAL
FROM JOUENT, FILMS, REALISATEURS
WHERE JOUENT.CODFILM=FILMS.CODFILM
AND REALISATEURS.CODREAL=FILMS.CODREAL
AND NOMPERS='<NAME>';
SELECT*
FROM REALISATEURS
WHERE CODREAL IN
(SELECT R1.CODREAL
FROM REALISATEURS R1
MINUS
(SELECT CODREAL
FROM ACTEURS, JOUENT, FILMS
WHERE JOUENT.CODFILM=FILMS.CODFILM
AND ACTEURS.CODACT=JOUENT.NACT
AND NATIONACT='Américain'));
|
-- La DELETE FROM instrucción elimina una o más filas de una tabla.
-- Puede usar la declaración cuando desee eliminar registros existentes.
DELETE FROM celebs
WHERE twitter_handle IS NULL;
-- Elimine todas las filas que tienen un NULLvalor en la columna del identificador de Twitter.
DELETE FROM celebs
WHERE twitter_handle IS NULL;
SELECT * FROM celebs; |
<gh_stars>1-10
/* Formatted on 12-19-2018 8:43:26 AM (QP5 v5.126.903.23003) */
DROP TABLE EPAY.EPAY_PSB5_TRNS CASCADE CONSTRAINTS PURGE;
CREATE TABLE EPAY.EPAY_PSB5_TRNS (
COMPLAINT_ID NUMBER NOT NULL,
COMPLAINT_TYPE_ID NUMBER,
FEMALE_COMPLAINANTS_NO INTEGER,
COMPLAINTS_RCVD_RPTMNT INTEGER, -- COMPAINT RECEIVED REPORTING MONTH
COMPLAINTS_RSLVD_RPTMNT INTEGER, -- COMPLAINTS RESOLVED REPORTING MONTH
UNRESOLVED_COMPLAINTS_EOM INTEGER, -- UNRESOLVED COMPLAINTS END OF MONTH
PSB_HDR_ID NUMBER,
CREATED_BY NUMBER,
CREATION_DATE VARCHAR2 (21),
LAST_UPDATE_BY NUMBER,
LAST_UPDATE_DATE VARCHAR2 (21),
CONSTRAINT PK_CMPLNT_ID PRIMARY KEY (COMPLAINT_ID)
)
TABLESPACE RHODB
PCTUSED 0
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (PCTINCREASE 0 BUFFER_POOL DEFAULT)
LOGGING
NOCOMPRESS
NOCACHE
NOPARALLEL
MONITORING;
COMMENT ON COLUMN EPAY.EPAY_PSB5_TRNS.COMPLAINTS_RCVD_RPTMNT IS
'compaint received reporting month';
COMMENT ON COLUMN EPAY.EPAY_PSB5_TRNS.COMPLAINTS_RSLVD_RPTMNT IS
'complaints resolved reporting month';
COMMENT ON COLUMN EPAY.EPAY_PSB5_TRNS.UNRESOLVED_COMPLAINTS_EOM IS
'unresolved complaints end of month';
DROP SEQUENCE EPAY.EPAY_PSB5_TRNS_SEQ;
CREATE SEQUENCE EPAY.EPAY_PSB5_TRNS_SEQ
START WITH 1
MAXVALUE 9223372036854775807
MINVALUE 1
NOCYCLE
NOCACHE
ORDER;
CREATE OR REPLACE TRIGGER EPAY.EPAY_PSB5_TRNS_TRG
BEFORE INSERT
ON EPAY.EPAY_PSB5_TRNS
FOR EACH ROW
-- OPTIONALLY RESTRICT THIS TRIGGER TO FIRE ONLY WHEN REALLY NEEDED
WHEN (NEW.COMPLAINT_ID IS NULL)
DECLARE
V_ID EPAY.EPAY_PSB5_TRNS.COMPLAINT_ID%TYPE;
BEGIN
SELECT EPAY.EPAY_PSB5_TRNS_SEQ.NEXTVAL INTO V_ID FROM DUAL;
:NEW.COMPLAINT_ID := V_ID;
END EPAY_PSB5_TRNS_TRG; |
<reponame>fbb-oc/sqlfluff
CREATE TABLE `foo` (
created_date DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL,
ts1 TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
dt1 DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
ts2 TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
dt2 DATETIME DEFAULT CURRENT_TIMESTAMP,
ts3 TIMESTAMP DEFAULT 0,
dt3 DATETIME DEFAULT 0,
ts4 TIMESTAMP DEFAULT 0 ON UPDATE CURRENT_TIMESTAMP,
dt4 DATETIME DEFAULT 0 ON UPDATE CURRENT_TIMESTAMP,
ts5 TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, -- default 0
ts6 TIMESTAMP NULL ON UPDATE CURRENT_TIMESTAMP, -- default NULL
dt5 DATETIME ON UPDATE CURRENT_TIMESTAMP, -- default NULL
dt6 DATETIME NOT NULL ON UPDATE CURRENT_TIMESTAMP, -- default 0
ts7 TIMESTAMP(6) DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6),
ts8 TIMESTAMP NULL DEFAULT NULL,
ts9 TIMESTAMP NULL DEFAULT 0,
ts10 TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP,
ts11 TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP(),
ts12 TIMESTAMP NULL DEFAULT '0000-00-00 00:00:00'
)
|
<gh_stars>10-100
-- DB/SPAWN: Mottled Boar Remove tons of wrong locs taking from official (http://www.wowhead.com/npc=3098)
-- Tehere is like tons of this npc but we need only a few ones
DELETE FROM `creature` WHERE `id`=3098;
INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`,`npcflag`,`unit_flags`,`dynamicflags`) VALUES
(12388, 3098, 1, 1, 1, 503, 0, -456.403, -4280.85, 41.6329, 2.91952, 150, 5, 0, 42, 0, 0, 1, 0, 0, 0),
(242505, 3098, 1, 1, 1, 503, 3098, -481.469, -4278.9, 42.9526, -1.45588, 150, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(242450, 3098, 1, 1, 1, 503, 3098, -446.033, -4288.32, 42.8664, 5.83591, 150, 0, 0, 42, 0, 0, 0, 0, 0, 0),
(242348, 3098, 1, 1, 1, 503, 3098, -430.766, -4281.63, 42.8618, 0.359657, 150, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(241879, 3098, 1, 1, 1, 503, 3098, -479.5, -4337.35, 40.4769, 5.65984, 150, 0, 0, 42, 0, 0, 0, 0, 0, 0),
(241543, 3098, 1, 1, 1, 503, 3098, -504.431, -4335.88, 38.3223, 3.95974, 150, 0, 0, 42, 0, 0, 0, 0, 0, 0),
(241351, 3098, 1, 1, 1, 503, 3098, -473.317, -4266.08, 42.893, 2.4229, 150, 0, 0, 42, 0, 0, 0, 0, 0, 0),
(241246, 3098, 1, 1, 1, 503, 3098, -476.522, -4347.72, 41.7269, 1.37647, 150, 0, 0, 42, 0, 0, 0, 0, 0, 0),
(241068, 3098, 1, 1, 1, 503, 3098, -420.775, -4284.12, 42.8636, -2.71351, 150, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(240956, 3098, 1, 1, 1, 503, 3098, -477.684, -4267, 42.8917, 3.71095, 150, 0, 0, 42, 0, 0, 0, 0, 0, 0),
(240620, 3098, 1, 1, 1, 503, 3098, -436.273, -4279.98, 42.8664, 1.3927, 150, 0, 0, 42, 0, 0, 0, 0, 0, 0),
(240433, 3098, 1, 1, 1, 503, 3098, -427.558, -4291.73, 42.8618, 4.73354, 150, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(240239, 3098, 1, 1, 1, 503, 3098, -436.459, -4273.96, 42.8664, 3.20554, 150, 0, 0, 42, 0, 0, 0, 0, 0, 0),
(240220, 3098, 1, 1, 1, 503, 3098, -457.929, -4282.71, 42.8664, 2.58989, 150, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(240182, 3098, 1, 1, 1, 503, 3098, -469.777, -4275.3, 42.893, 4.9511, 150, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(240094, 3098, 1, 1, 1, 503, 3098, -472.309, -4348.22, 42.4769, 2.81737, 150, 0, 0, 42, 0, 0, 0, 0, 0, 0),
(239954, 3098, 1, 1, 1, 503, 3098, -463.379, -4271.67, 42.9914, 6.20019, 150, 0, 0, 42, 0, 0, 0, 0, 0, 0),
(239944, 3098, 1, 1, 1, 503, 3098, -450.774, -4279.34, 42.886, 5.94199, 150, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(239909, 3098, 1, 1, 1, 503, 3098, -440.06, -4294.06, 42.8664, 0.56566, 150, 0, 0, 42, 0, 0, 0, 0, 0, 0),
(239872, 3098, 1, 1, 1, 503, 3098, -486.504, -4335.67, 39.4824, 4.80817, 150, 0, 0, 42, 0, 0, 0, 0, 0, 0),
(239669, 3098, 1, 1, 1, 503, 3098, -474.832, -4335.19, 40.9769, 3.74097, 150, 0, 0, 42, 0, 0, 0, 0, 0, 0),
(239376, 3098, 1, 1, 1, 503, 3098, -477.276, -4272.65, 42.9587, 4.34794, 150, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(239273, 3098, 1, 1, 1, 503, 3098, -512.229, -4348.92, 38.308, 1.44358, 150, 0, 0, 42, 0, 0, 0, 0, 0, 0),
(238916, 3098, 1, 1, 1, 503, 3098, -469.346, -4259.71, 42.9964, 2.26739, 150, 0, 0, 42, 0, 0, 0, 0, 0, 0),
(238895, 3098, 1, 1, 1, 503, 3098, -514.951, -4336.93, 38.433, 3.80708, 150, 0, 0, 42, 0, 0, 0, 0, 0, 0),
(238893, 3098, 1, 1, 1, 503, 3098, -484.238, -4346.26, 40.6019, 6.15399, 150, 0, 0, 42, 0, 0, 0, 0, 0, 0),
(238832, 3098, 1, 1, 1, 503, 3098, -504.269, -4345.94, 38.3081, 3.93347, 150, 0, 0, 42, 0, 0, 0, 0, 0, 0);
|
<gh_stars>0
CREATE TABLE k_sequences
(
nm_table CHAR(18) NOT NULL,
nu_initial INTEGER NOT NULL,
nu_maxval INTEGER NOT NULL,
nu_increase INTEGER NOT NULL,
nu_current INTEGER NOT NULL,
CONSTRAINT pk_sequences PRIMARY KEY (nm_table)
)
;
INSERT INTO k_sequences (nm_table,nu_initial,nu_maxval,nu_increase,nu_current) VALUES ('seq_k_domains', 2049, 524288, 1, 2049);
INSERT INTO k_sequences (nm_table,nu_initial,nu_maxval,nu_increase,nu_current) VALUES ('seq_thesauri', 100000000, 999999999, 1, 100000000);
INSERT INTO k_sequences (nm_table,nu_initial,nu_maxval,nu_increase,nu_current) VALUES ('seq_mime_msgs', 1, 2147483647, 1, 1);
INSERT INTO k_sequences (nm_table,nu_initial,nu_maxval,nu_increase,nu_current) VALUES ('seq_k_job_atoms', 1, 2147483647, 1, 1);
INSERT INTO k_sequences (nm_table,nu_initial,nu_maxval,nu_increase,nu_current) VALUES ('seq_k_msg_votes', 1, 2147483647, 1, 1);
INSERT INTO k_sequences (nm_table,nu_initial,nu_maxval,nu_increase,nu_current) VALUES ('seq_k_webbeacons', 1, 2147483647, 1, 1);
INSERT INTO k_sequences (nm_table,nu_initial,nu_maxval,nu_increase,nu_current) VALUES ('seq_k_adhoc_mail', 1, 2147483647, 1, 1);
INSERT INTO k_sequences (nm_table,nu_initial,nu_maxval,nu_increase,nu_current) VALUES ('seq_k_mime_msgs', 1, 2147483647, 1, 1);
INSERT INTO k_sequences (nm_table,nu_initial,nu_maxval,nu_increase,nu_current) VALUES ('seq_k_bulkloads', 1, 2147483647, 1, 1);
|
SELECT
mc.country_code, m.mountain_range, p.peak_name, p.elevation
FROM
mountains_countries AS mc
JOIN
mountains AS m ON mc.mountain_id = m.id
JOIN
peaks AS p ON m.id = p.mountain_id
WHERE
mc.country_code = 'BG'
AND p.elevation > 2835
ORDER BY p.elevation DESC; |
<filename>src/test/resources/db/migration/V1__create_schema.sql
CREATE SCHEMA IF NOT EXISTS users; |
CREATE TABLE [dbo].[Proposer]
(
[Id] INT NOT NULL,
[Id_ClientCompany] INT NOT NULL,
[Id_HeavyUser] INT NOT NULL,
CONSTRAINT [PK_Proposer] PRIMARY KEY ([Id],[Id_ClientCompany],[Id_HeavyUser]),
CONSTRAINT [FK_Proposer_Offer] FOREIGN KEY ([Id]) REFERENCES [dbo].[Offer],
CONSTRAINT [FK_Proposer_ClientCompany] FOREIGN KEY ([Id_ClientCompany]) REFERENCES [dbo].[ClientCompany],
CONSTRAINT [FK_Proposer_HeavyUser] FOREIGN KEY ([Id_HeavyUser]) REFERENCES [dbo].[HeavyUser]
) |
CREATE TABLE `page_views` (
`id` BIGINT NOT NULL AUTO_INCREMENT ,
`request_uri` VARCHAR(512) NOT NULL ,
`timestamp` INT NOT NULL ,
`ip_address` VARCHAR(45) NULL ,
`user_agent` VARCHAR(512) NULL ,
`login_identifier` VARCHAR(256) NULL ,
`referer` VARCHAR(512) NULL ,
`note` VARCHAR(256) NULL ,
PRIMARY KEY (`id`) ) ENGINE=MyISAM;
CREATE TABLE `click_stats` (
`id` BIGINT NOT NULL AUTO_INCREMENT ,
`source_url` VARCHAR(512) NOT NULL ,
`target_url` VARCHAR(512) NOT NULL ,
`timestamp` INT NOT NULL ,
`ip_address` VARCHAR(45) NULL ,
`user_agent` VARCHAR(512) NULL ,
`login_identifier` VARCHAR(256) NULL ,
`note` VARCHAR(256) NULL ,
PRIMARY KEY (`id`) ) ENGINE=MyISAM;
CREATE TABLE `search_terms` (
`id` INT NOT NULL AUTO_INCREMENT ,
`term` VARCHAR(256) NOT NULL ,
`timestamp` INT NOT NULL ,
`ip_address` VARCHAR(45) NULL ,
`user_agent` VARCHAR(256) NULL ,
`login_identifier` VARCHAR(256) NULL ,
PRIMARY KEY (`id`) ) ENGINE=MyISAM;
CREATE TABLE `search_occurence` (
`id` INT NOT NULL AUTO_INCREMENT ,
`term` VARCHAR(256) NOT NULL ,
`occurence` INT NOT NULL ,
PRIMARY KEY (`id`) ,
UNIQUE INDEX `term_UNIQUE` (`term` ASC) ) ENGINE=MyISAM;
ALTER TABLE `search_occurence`
ADD INDEX `term_INDEX` USING HASH (`term` ASC) ;
|
INSERT INTO hydra_client
(id, client_name, client_secret, redirect_uris, grant_types, response_types, scope, owner, policy_uri, tos_uri, client_uri, logo_uri, contacts, client_secret_expires_at, sector_identifier_uri, jwks, jwks_uri, request_uris, token_endpoint_auth_method, request_object_signing_alg, userinfo_signed_response_alg, subject_type)
VALUES
('client-0006', 'Client 0006', 'secret-0006', 'http://redirect/0006_1', 'grant-0006_1', 'response-0006_1', 'scope-0006', 'owner-0006', 'http://policy/0006', 'http://tos/0006', 'http://client/0006', 'http://logo/0006', 'contact-0006_1', 0, 'http://sector_id/0006', '', 'http://jwks/0006', 'http://request/0006_1', 'token_auth-0006', 'r_alg-0006', 'u_alg-0006', 'subject-0006');
|
drop table if exists sessions;
drop table if exists sessions_attributes;
create table sessions (
primary_id char(36) not null,
session_id char(36) not null,
creation_time bigint not null,
last_access_time bigint not null,
max_inactive_interval int not null,
expiry_time bigint not null,
principal_name varchar(255),
constraint sessions_pk primary key (primary_id)
) engine=innodb row_format=dynamic;
create unique index sessions_ix1 on sessions (session_id);
create index sessions_ix2 on sessions (expiry_time);
create index sessions_ix3 on sessions (principal_name);
create table sessions_attributes (
session_primary_id char(36) not null,
attribute_name varchar(200) not null,
attribute_bytes blob not null,
constraint sessions_attributes_pk primary key (session_primary_id, attribute_name),
constraint sessions_attributes_fk foreign key (session_primary_id) references sessions(primary_id) on delete cascade
) engine=innodb row_format=dynamic;
|
CREATE TABLE [dbo].[Invoices] -- As per UBL 2.2 Specs
(
[Id] INT NOT NULL CONSTRAINT PK_Invoices__Id PRIMARY KEY,
--[TenantId] INT NOT NULL INDEX IX_Invoices__TenantId([TenantId]) CONSTRAINT FK_Invoices__TenantId REFERENCES dbo.Tenants([Id]),
[Number] NVARCHAR (50) NOT NULL CONSTRAINT [UQ_Invoices__Number] UNIQUE, -- T, S
[Identifier] NVARCHAR (255) NOT NULL CONSTRAINT [UQ_Invoices__Identifier] UNIQUE,
[Issued] DATETIME NOT NULL CONSTRAINT [CK_Invoices__IssueDate] CHECK([Issued] < GETDATE() + 1), -- Date Only T, S
-- 388: Tax Invoice, 381: Credit Note, 383: Debit Note
[TypeCode] NCHAR (2) NOT NULL DEFAULT (N'388') CONSTRAINT CK_Invoices__TypeCode CHECK ([TypeCode] IN (N'388', N'381', N'383')),
-- 01000000: Tax Invoice, 02000000: Simplified Invoice
[TransactionCode] NCHAR(8) NOT NULL CONSTRAINT CK_Invoices__TransactionCode CHECK ([TransactionCode] IN (N'01000000', N'02000000')),
[Note] NVARCHAR (255),
--[CurrencyCode] NCHAR (3) NOT NULL DEFAULT (N'SAR'),
--[TaxCurrencyCode] NCHAR (3) NOT NULL DEFAULT (N'SAR'),
--[OrderReference] UNIQUEIDENTIFIER, -- Specifies the PO to which the sales was performed
[BillingReference] NVARCHAR (50), -- C, D. Related to [Number] Column in same table. Required for Credit and Debit Notes only
CONSTRAINT CK_Invoices__BillingReference CHECK(
[TypeCode] = N'388' AND [BillingReference] IS NULL OR
[TypeCode] <> N'388' AND [BillingReference] IS NOT NULL AND [BillingReference] <> N''
),
[ContractId] NVARCHAR (50), -- T
[CounterValue] INT NOT NULL,
--[PreviousHash] NVARCHAR (256), -- Required starting 2023.01.01
--[QRCode] in BLOB
--[Stamp] in BLOB.
[SellerGVATNumber] NCHAR (15) CONSTRAINT CK_Invoices__SellerGVATNumber_Format CHECK(
[SellerGVATNumber] IS NULL OR
LEFT([SellerGVATNumber], 1) = N'3' AND RIGHT([SellerGVATNumber], 1) = N'3' AND SUBSTRING([SellerGVATNumber], 11, 1) = N'1'
),
[SellerSchemeId] NCHAR (3) CONSTRAINT CK_Invoices__SellerSchemeId CHECK(
[SellerSchemeId] IN (N'CRN', N'MOM', N'MLS', N'SAG', N'OTH')
),
[SellerId] NVARCHAR(50) NOT NULL CONSTRAINT CK_Invoices__SellerId CHECK(PATINDEX(N'%[^0-9A-z]%',[SellerId]) = 0), -- Alphanumeric only
[SellerStreet] NVARCHAR (50) NOT NULL,
[SellerStreet2] NVARCHAR (50) NOT NULL,
[SellerBuilding] NCHAR (4) NOT NULL CONSTRAINT CK_Invoices__SellerBuilding CHECK(PATINDEX(N'%[^0-9]%',[SellerBuilding]) = 0),
[SellerBuilding2] NCHAR (4) NOT NULL CONSTRAINT CK_Invoices__SellerBuilding2 CHECK(PATINDEX(N'%[^0-9]%',[SellerBuilding2]) = 0),
[SellerCity] NVARCHAR (50) NOT NULL,
[SellerPostalCode] NCHAR (5) NOT NULL CONSTRAINT CK_Invoices__SellerPostalCode CHECK(PATINDEX(N'%[^0-9]%',[SellerPostalCode]) = 0),
[SellerProvince] NVARCHAR (50),
[SellerDistrict] NVARCHAR (50) NOT NULL,
[SellerCountry] NCHAR (2) NOT NULL DEFAULT(N'SA') CONSTRAINT CK_Invoices__SellerCounty CHECK([SellerCountry] = N'SA'),
[SellerVATNumber] NCHAR (15) CONSTRAINT CK_Invoices__SellerVATNumber_Format CHECK(
[SellerVATNumber] IS NULL OR
LEFT([SellerVATNumber], 1) = N'3' AND RIGHT([SellerVATNumber], 1) = N'3'
),
CONSTRAINT CK_Invoices__Seller_VAT_GVAT_Number CHECK([SellerGVATNumber] IS NOT NULL OR [SellerVATNumber] IS NOT NULL),
[SellerName] NVARCHAR (100) NOT NULL,
[BuyerGVATNumber] NCHAR (15),
CONSTRAINT CK_Invoices__BuyerGVATNumber_Required CHECK([TransactionCode] <> N'01000000' OR [BuyerGVATNumber] IS NOT NULL),
CONSTRAINT CK_Invoices__BuyerGVATNumber_Format CHECK(
[BuyerGVATNumber] IS NULL OR SUBSTRING([TransactionCode], 5, 1) = N'0' OR
LEFT([BuyerGVATNumber], 1) = N'3' AND RIGHT([BuyerGVATNumber], 1) = N'3' AND SUBSTRING([BuyerGVATNumber], 11, 1) = N'1'
),
[BuyerSchemeId] NCHAR(3) CONSTRAINT CK_Invoices__BuyerSchemeId CHECK(
[BuyerSchemeId] IN (N'NAT', N'TIN', N'IQA', N'PAS', N'CRN', N'MOM', N'MLS', N'SAG', N'GCC', N'OTH')
),
[BuyerId] NVARCHAR(50),
CONSTRAINT CK_Invoices__BuyerId CHECK([BuyerSchemeId] <> N'HQ' OR PATINDEX(N'%[^0-9]%',[BuyerId]) = 0),
-- Buyer Address is only for T, TC, and TD
[BuyerStreet] NVARCHAR (50),
[BuyerStreet2] NVARCHAR (50),
[BuyerBuilding] NVARCHAR (50),
[BuyerBuilding2] NCHAR (4) CONSTRAINT CK_Invoices__BuyerBuilding2 CHECK(PATINDEX(N'%[^0-9]%',[BuyerBuilding2]) = 0),
[BuyerCity] NVARCHAR (50),
[BuyerPostalCode] NVARCHAR (50),
[BuyerProvince] NVARCHAR (50),
[BuyerDistrict] NVARCHAR (50),
[BuyerCountry] NCHAR (2) DEFAULT(N'SA'),
-- Buyer Country must be SA unless it is an Export Invoice
CONSTRAINT CK_Invoices__BuyerCountry__Export CHECK(SUBSTRING([TransactionCode], 5, 1) = N'0' OR [BuyerCountry] = N'SA'),
CONSTRAINT CK_Invoices__BuyerAddress__Domestic CHECK(
[BuyerCountry] IS NOT NULL AND [BuyerCountry] <> N'SA' OR
ISNULL([BuyerStreet], N'') <> N'' AND ISNULL([BuyerStreet2], N'') <> N'' AND [BuyerBuilding] IS NOT NULL AND
[BuyerBuilding2] IS NOT NULL AND [BuyerCity] IS NOT NULL AND [BuyerPostalCode] IS NOT NULL AND
[BuyerProvince] IS NOT NULL AND [BuyerDistrict] IS NOT NULL
),
[BuyerVATNumber] NCHAR (15),
CONSTRAINT CK_Invoices__BuyerVATNumber_Required CHECK([TransactionCode] <> N'01000000' OR [BuyerVATNumber] IS NOT NULL),
CONSTRAINT CK_Invoices__BuyerVATNumber_Format CHECK(
[BuyerVATNumber] IS NULL OR
LEFT([BuyerVATNumber], 1) = N'3' AND RIGHT([BuyerVATNumber], 1) = N'3' AND SUBSTRING([BuyerVATNumber], 11, 1) = N'0' --??
),
CONSTRAINT CK_Invoices__BuyerVATNumber_Format_Export CHECK(
[BuyerVATNumber] IS NULL OR SUBSTRING([TransactionCode], 5, 1) = N'0' OR
LEFT([BuyerVATNumber], 1) = N'3' AND RIGHT([BuyerVATNumber], 1) = N'3'
),
CONSTRAINT CK_Invoices__BuyerVATNumber_BuyerGVATNumber CHECK(
SUBSTRING([TransactionCode], 5, 1) = N'0' OR [BuyerVATNumber] IS NULL AND [BuyerGVATNumber] IS NULL
),
[BuyerName] NVARCHAR (255),
CONSTRAINT CK_Invoices__TransctionCode_BuyerName CHECK([TransactionCode] <> N'01000000' OR [BuyerName] IS NOT NULL),
-- Supply date might also be stored in BLOB exclusively.
[SupplyDate] DATE, -- T, TC, TD (for TC and TD copy the supply date from T)
CONSTRAINT CK_Invoices__SupplyDate_Required CHECK([TransactionCode] <> N'01000000' OR [SupplyDate] IS NOT NULL),
[SupplyEndDate] DATE CONSTRAINT CK_Invoices__SupplyEndDate CHECK([SupplyEndDate] IS NULL OR [SupplyDate] IS NOT NULL AND [SupplyEndDate] > [SupplyDate]),
--'10': Cash, 30: Credit, 42: Payment to bank account, 48: Bank Card, 1: Instrument Not defined ,
[PaymentTypeCode] NVARCHAR(2) CONSTRAINT CK_Invoices__PaymentTypeCode CHECK([PaymentTypeCode] IN (N'10', N'30', N'42', N'48', N'1')),
CONSTRAINT CK_Invoices__PaymentTypeCode_Required CHECK([TransactionCode] <> N'01000000' OR [PaymentTypeCode] IS NOT NULL),
[NoteReason] NVARCHAR (255), -- TC, TD, LC, LD,
CONSTRAINT CK_Invoices__NoteReason_Required CHECK([TypeCode] = N'388' OR [NoteReason] IS NOT NULL),
[AllowanceBase] DECIMAL (19,2),
[AllowancePercent] DECIMAL (19,6),
CONSTRAINT CK_Invoices_Allowance__Base_Percent CHECK(
[AllowanceBase] IS NULL AND [AllowancePercent] IS NULL OR
[AllowanceBase] IS NOT NULL AND [AllowancePercent] IS NOT NULL
),
[AllowanceAmount] DECIMAL (19,2),
CONSTRAINT CK_Invoices__AllowanceAmount CHECK(
[AllowanceBase] IS NULL OR
[AllowancePercent] IS NULL OR
[AllowanceAmount] = ROUND([AllowanceBase] * [AllowancePercent] / 100, 2)
),
-- S: Standard, Z: Zero Rated, E: Exempt, O: Out of scope
[VATCategoryCode] NCHAR(1) CONSTRAINT CK_Invoices__VATCategoryCode CHECK([VATCategoryCode] IN (N'S', N'Z', N'E', N'O')),
[VATExemptionReason] NVARCHAR (50),
-- When providing private medical help or education to a citizen, it is Tax exempt, but should provide the citizen name
CONSTRAINT CK_Invoices__BuyerName_VATExemptionReason CHECK(
[VATExemptionReason] NOT IN (N'VATEX-SA-EDU', N'VATEX-SA-HEA') OR
[BuyerName] IS NOT NULL AND [BuyerName] <> N''),
CONSTRAINT CK_Invoices__BuyerSchemeId_VATExemptionReason CHECK(
[VATExemptionReason] NOT IN (N'VATEX-SA-EDU', N'VATEX-SA-HEA') OR
[BuyerSchemeId] IS NOT NULL AND [BuyerSchemeId] = N'NAT')
)
|
create table messages (
message_id bigserial primary key
, sender varchar not null
, receiver varchar not null
, contents varchar
, is_read boolean default false
);
|
--+ holdcas on;
--cases from dev
set system parameters 'string_max_size_bytes=1048576';
select space(8);
select length(space(1048576));
select length(space(1048577));
set system parameters 'string_max_size_bytes=33554432';
select length(space('33554432'));
select length(space('33554433'));
select space('aaa');
--1. test numeric types
select if(length(space(cast(12345 as short))) = 12345, 'ok', 'nok');
select if(length(space(cast(12345 as integer))) = 12345, 'ok', 'nok');
select if(length(space(cast(12345 as bigint))) = 12345, 'ok', 'nok');
select if(length(space(cast(12345.5 as float))) = 12346, 'ok', 'nok');
select if(length(space(cast(12345.4 as float))) = 12345, 'ok', 'nok');
select if(length(space(cast(12345.5 as double))) = 12346, 'ok', 'nok');
select if(length(space(cast(12345.4 as double))) = 12345, 'ok', 'nok');
select if(length(space(cast(12345.5 as numeric(10,5)))) = 12346, 'ok', 'nok');
select if(length(space(cast(12345.4 as numeric(10,5)))) = 12345, 'ok', 'nok');
-- server side
create table t (s short, i integer, bi bigint, f float, d double, m monetary, n numeric(10,5));
insert into t values(12345, 12345, 12345, 12345.5, 12345.5, 12345.5, 12345.5);
select if(length(space(s)) = s, 'ok', 'nok') from t;
select if(length(space(i)) = i, 'ok', 'nok') from t;
select if(length(space(bi)) = bi, 'ok', 'nok') from t;
insert into t values(12345, 12345, 12345, 12345.4, 12345.4, 12345.4, 12345.4);
select if(length(space(f)) = round(f), 'ok', 'nok') from t;
select if(length(space(d)) = round(d), 'ok', 'nok') from t;
select if(length(space(m)) = round(m), 'ok', 'nok') from t;
select if(length(space(n)) = round(n), 'ok', 'nok') from t;
drop table t;
--2. Test unsupported types
-- TBD
select space(cast('1' as char(8)));
select space(cast('1' as varchar(8)));
select space(cast(n'1' as nchar(8)));
select space(cast(n'1' as nchar varying(8)));
select space(cast(B'1' as bit(8)));
select space(cast(B'1' as bit varying(8)));
select space(current_date);
select space(current_time);
select space(current_datetime);
select space(current_timestamp);
--3. Check the result
-- check whether the result includes only space character
select if(length(trim(space(cast(12345 as short)))) = 0, 'ok', 'nok');
-- check the length
select if(length(space(1073741823)) = 1073741823, 'ok', 'nok');
--4. Test host variables
-- success
prepare s from 'select if(length(space(?)) = ?, ''ok'', ''nok'')';
execute s using 12345, 12345;
execute s using 12345.5, 12346;
execute s using 12345.5f, 12346;
execute s using 12345.5e0, 12346;
execute s using 12345.4, 12345;
execute s using 12345.4f, 12345;
execute s using 12345.4e0, 12345;
-- failure
prepare s from 'select space(?)';
execute s using b'1';
execute s using 0b1;
execute s using date'2010-09-02';
execute s using time'17:30:30';
execute s using datetime'2010-09-02 17:30:30';
execute s using timestamp'2010-09-02 17:30:30';
-- the following queries should be succeeded when implicit type conversion is introduced
execute s using '1';
execute s using n'1';
set system parameters 'string_max_size_bytes=1048576';
commit;
--+ holdcas off;
|
/*
Navicat Premium Data Transfer
Source Server : localhost
Source Server Type : MariaDB
Source Server Version : 100130
Source Host : localhost:3306
Source Schema : db_banbung
Target Server Type : MariaDB
Target Server Version : 100130
File Encoding : 65001
Date: 09/03/2018 16:42:25
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for auth_assignment
-- ----------------------------
DROP TABLE IF EXISTS `auth_assignment`;
CREATE TABLE `auth_assignment` (
`item_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`user_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`created_at` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`item_name`, `user_id`) USING BTREE,
INDEX `auth_assignment_user_id_idx`(`user_id`) USING BTREE,
CONSTRAINT `auth_assignment_ibfk_1` FOREIGN KEY (`item_name`) REFERENCES `auth_item` (`name`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of auth_assignment
-- ----------------------------
INSERT INTO `auth_assignment` VALUES ('Admin', '2', 1517981033);
-- ----------------------------
-- Table structure for auth_item
-- ----------------------------
DROP TABLE IF EXISTS `auth_item`;
CREATE TABLE `auth_item` (
`name` varchar(64) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`type` smallint(6) NOT NULL,
`description` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL,
`rule_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`data` blob NULL,
`created_at` int(11) NULL DEFAULT NULL,
`updated_at` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`name`) USING BTREE,
INDEX `rule_name`(`rule_name`) USING BTREE,
INDEX `idx-auth_item-type`(`type`) USING BTREE,
CONSTRAINT `auth_item_ibfk_1` FOREIGN KEY (`rule_name`) REFERENCES `auth_rule` (`name`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of auth_item
-- ----------------------------
INSERT INTO `auth_item` VALUES ('/*', 2, NULL, NULL, NULL, 1517978963, 1517978963);
INSERT INTO `auth_item` VALUES ('/admin-manager/*', 2, NULL, NULL, NULL, 1517978956, 1517978956);
INSERT INTO `auth_item` VALUES ('/kiosk/*', 2, NULL, NULL, NULL, 1520584597, 1520584597);
INSERT INTO `auth_item` VALUES ('/site/*', 2, NULL, NULL, NULL, 1517978961, 1517978961);
INSERT INTO `auth_item` VALUES ('/user/*', 2, NULL, NULL, NULL, 1517978947, 1517978947);
INSERT INTO `auth_item` VALUES ('/user/settings/*', 2, NULL, NULL, NULL, 1517979207, 1517979207);
INSERT INTO `auth_item` VALUES ('Admin', 1, 'ผู้ดูแลระบบ', NULL, NULL, 1517981019, 1517981019);
INSERT INTO `auth_item` VALUES ('User', 1, 'ผู้ใช้งาน', NULL, NULL, 1517978934, 1517978934);
INSERT INTO `auth_item` VALUES ('อายุรกรรม', 2, NULL, NULL, NULL, 1520584559, 1520584559);
INSERT INTO `auth_item` VALUES ('เจาะเลือด', 2, NULL, NULL, NULL, 1520584617, 1520584617);
-- ----------------------------
-- Table structure for auth_item_child
-- ----------------------------
DROP TABLE IF EXISTS `auth_item_child`;
CREATE TABLE `auth_item_child` (
`parent` varchar(64) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`child` varchar(64) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`parent`, `child`) USING BTREE,
INDEX `child`(`child`) USING BTREE,
CONSTRAINT `auth_item_child_ibfk_1` FOREIGN KEY (`parent`) REFERENCES `auth_item` (`name`) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT `auth_item_child_ibfk_2` FOREIGN KEY (`child`) REFERENCES `auth_item` (`name`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of auth_item_child
-- ----------------------------
INSERT INTO `auth_item_child` VALUES ('Admin', '/*');
INSERT INTO `auth_item_child` VALUES ('Admin', 'อายุรกรรม');
INSERT INTO `auth_item_child` VALUES ('Admin', 'เจาะเลือด');
INSERT INTO `auth_item_child` VALUES ('User', '/site/*');
INSERT INTO `auth_item_child` VALUES ('User', '/user/settings/*');
INSERT INTO `auth_item_child` VALUES ('User', 'อายุรกรรม');
INSERT INTO `auth_item_child` VALUES ('User', 'เจาะเลือด');
INSERT INTO `auth_item_child` VALUES ('อายุรกรรม', '/kiosk/*');
INSERT INTO `auth_item_child` VALUES ('เจาะเลือด', '/kiosk/*');
-- ----------------------------
-- Table structure for auth_rule
-- ----------------------------
DROP TABLE IF EXISTS `auth_rule`;
CREATE TABLE `auth_rule` (
`name` varchar(64) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`data` blob NULL,
`created_at` int(11) NULL DEFAULT NULL,
`updated_at` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`name`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Table structure for file_storage_item
-- ----------------------------
DROP TABLE IF EXISTS `file_storage_item`;
CREATE TABLE `file_storage_item` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`component` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`base_url` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`path` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`size` int(11) NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`upload_ip` varchar(15) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`created_at` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 16 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of file_storage_item
-- ----------------------------
INSERT INTO `file_storage_item` VALUES (4, 'fileStorage', '/uploads', '1/HqOmC4NQtOBWkm3nPTb8SZkAulHeJB5C.png', 'image/png', 131577, 'HqOmC4NQtOBWkm3nPTb8SZkAulHeJB5C', '127.0.0.1', 1518077491);
INSERT INTO `file_storage_item` VALUES (6, 'fileStorage', '/uploads', '1/wztTX4WnG9CJmJm8qCu373LZktLyB_ZB.png', 'image/png', 131577, 'wztTX4WnG9CJmJm8qCu373LZktLyB_ZB', '127.0.0.1', 1518354952);
INSERT INTO `file_storage_item` VALUES (11, 'fileStorage', '/uploads', '1/LhB7uf0Y_-YMshBRI7JND4PcskgScK9_.png', 'image/png', 131577, 'LhB7uf0Y_-YMshBRI7JND4PcskgScK9_', '127.0.0.1', 1518356171);
INSERT INTO `file_storage_item` VALUES (13, 'fileStorage', '/uploads', '1/toCzqUFuEC9ZULBVuZdydEy2fvXQaMfS.jpg', 'image/jpeg', 112864, 'toCzqUFuEC9ZULBVuZdydEy2fvXQaMfS', '127.0.0.1', 1518497803);
INSERT INTO `file_storage_item` VALUES (14, 'fileStorage', '/uploads', '1/85Gt_w6b3RPYeBFZqdLfB2Q49UoOPejg.png', 'image/png', 131577, '85Gt_w6b3RPYeBFZqdLfB2Q49UoOPejg', '127.0.0.1', 1519360037);
INSERT INTO `file_storage_item` VALUES (15, 'fileStorage', '/uploads', '1/lvCa3PFqJzOASW145okm6zG0UDzx9Qcy.png', 'image/png', 131577, 'lvCa3PFqJzOASW145okm6zG0UDzx9Qcy', '127.0.0.1', 1520569421);
-- ----------------------------
-- Table structure for icons
-- ----------------------------
DROP TABLE IF EXISTS `icons`;
CREATE TABLE `icons` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`classname` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 676 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of icons
-- ----------------------------
INSERT INTO `icons` VALUES (1, 'glass', 'fa');
INSERT INTO `icons` VALUES (2, 'music', 'fa');
INSERT INTO `icons` VALUES (3, 'search', 'fa');
INSERT INTO `icons` VALUES (4, 'envelope-o', 'fa');
INSERT INTO `icons` VALUES (5, 'heart', 'fa');
INSERT INTO `icons` VALUES (6, 'star', 'fa');
INSERT INTO `icons` VALUES (7, 'star-o', 'fa');
INSERT INTO `icons` VALUES (8, 'user', 'fa');
INSERT INTO `icons` VALUES (9, 'film', 'fa');
INSERT INTO `icons` VALUES (10, 'th-large', 'fa');
INSERT INTO `icons` VALUES (11, 'th', 'fa');
INSERT INTO `icons` VALUES (12, 'th-list', 'fa');
INSERT INTO `icons` VALUES (13, 'check', 'fa');
INSERT INTO `icons` VALUES (14, 'times', 'fa');
INSERT INTO `icons` VALUES (15, 'search-plus', 'fa');
INSERT INTO `icons` VALUES (16, 'search-minus', 'fa');
INSERT INTO `icons` VALUES (17, 'power-off', 'fa');
INSERT INTO `icons` VALUES (18, 'signal', 'fa');
INSERT INTO `icons` VALUES (19, 'cog', 'fa');
INSERT INTO `icons` VALUES (20, 'trash-o', 'fa');
INSERT INTO `icons` VALUES (21, 'home', 'fa');
INSERT INTO `icons` VALUES (22, 'file-o', 'fa');
INSERT INTO `icons` VALUES (23, 'clock-o', 'fa');
INSERT INTO `icons` VALUES (24, 'road', 'fa');
INSERT INTO `icons` VALUES (25, 'download', 'fa');
INSERT INTO `icons` VALUES (26, 'arrow-circle-o-down', 'fa');
INSERT INTO `icons` VALUES (27, 'arrow-circle-o-up', 'fa');
INSERT INTO `icons` VALUES (28, 'inbox', 'fa');
INSERT INTO `icons` VALUES (29, 'play-circle-o', 'fa');
INSERT INTO `icons` VALUES (30, 'repeat', 'fa');
INSERT INTO `icons` VALUES (31, 'refresh', 'fa');
INSERT INTO `icons` VALUES (32, 'list-alt', 'fa');
INSERT INTO `icons` VALUES (33, 'lock', 'fa');
INSERT INTO `icons` VALUES (34, 'flag', 'fa');
INSERT INTO `icons` VALUES (35, 'headphones', 'fa');
INSERT INTO `icons` VALUES (36, 'volume-off', 'fa');
INSERT INTO `icons` VALUES (37, 'volume-down', 'fa');
INSERT INTO `icons` VALUES (38, 'volume-up', 'fa');
INSERT INTO `icons` VALUES (39, 'qrcode', 'fa');
INSERT INTO `icons` VALUES (40, 'barcode', 'fa');
INSERT INTO `icons` VALUES (41, 'tag', 'fa');
INSERT INTO `icons` VALUES (42, 'tags', 'fa');
INSERT INTO `icons` VALUES (43, 'book', 'fa');
INSERT INTO `icons` VALUES (44, 'bookmark', 'fa');
INSERT INTO `icons` VALUES (45, 'print', 'fa');
INSERT INTO `icons` VALUES (46, 'camera', 'fa');
INSERT INTO `icons` VALUES (47, 'font', 'fa');
INSERT INTO `icons` VALUES (48, 'bold', 'fa');
INSERT INTO `icons` VALUES (49, 'italic', 'fa');
INSERT INTO `icons` VALUES (50, 'text-height', 'fa');
INSERT INTO `icons` VALUES (51, 'text-width', 'fa');
INSERT INTO `icons` VALUES (52, 'align-left', 'fa');
INSERT INTO `icons` VALUES (53, 'align-center', 'fa');
INSERT INTO `icons` VALUES (54, 'align-right', 'fa');
INSERT INTO `icons` VALUES (55, 'align-justify', 'fa');
INSERT INTO `icons` VALUES (56, 'list', 'fa');
INSERT INTO `icons` VALUES (57, 'outdent', 'fa');
INSERT INTO `icons` VALUES (58, 'indent', 'fa');
INSERT INTO `icons` VALUES (59, 'video-camera', 'fa');
INSERT INTO `icons` VALUES (60, 'picture-o', 'fa');
INSERT INTO `icons` VALUES (61, 'pencil', 'fa');
INSERT INTO `icons` VALUES (62, 'map-marker', 'fa');
INSERT INTO `icons` VALUES (63, 'adjust', 'fa');
INSERT INTO `icons` VALUES (64, 'tint', 'fa');
INSERT INTO `icons` VALUES (65, 'pencil-square-o', 'fa');
INSERT INTO `icons` VALUES (66, 'share-square-o', 'fa');
INSERT INTO `icons` VALUES (67, 'check-square-o', 'fa');
INSERT INTO `icons` VALUES (68, 'arrows', 'fa');
INSERT INTO `icons` VALUES (69, 'step-backward', 'fa');
INSERT INTO `icons` VALUES (70, 'fast-backward', 'fa');
INSERT INTO `icons` VALUES (71, 'backward', 'fa');
INSERT INTO `icons` VALUES (72, 'play', 'fa');
INSERT INTO `icons` VALUES (73, 'pause', 'fa');
INSERT INTO `icons` VALUES (74, 'stop', 'fa');
INSERT INTO `icons` VALUES (75, 'forward', 'fa');
INSERT INTO `icons` VALUES (76, 'fast-forward', 'fa');
INSERT INTO `icons` VALUES (77, 'step-forward', 'fa');
INSERT INTO `icons` VALUES (78, 'eject', 'fa');
INSERT INTO `icons` VALUES (79, 'chevron-left', 'fa');
INSERT INTO `icons` VALUES (80, 'chevron-right', 'fa');
INSERT INTO `icons` VALUES (81, 'plus-circle', 'fa');
INSERT INTO `icons` VALUES (82, 'minus-circle', 'fa');
INSERT INTO `icons` VALUES (83, 'times-circle', 'fa');
INSERT INTO `icons` VALUES (84, 'check-circle', 'fa');
INSERT INTO `icons` VALUES (85, 'question-circle', 'fa');
INSERT INTO `icons` VALUES (86, 'info-circle', 'fa');
INSERT INTO `icons` VALUES (87, 'crosshairs', 'fa');
INSERT INTO `icons` VALUES (88, 'times-circle-o', 'fa');
INSERT INTO `icons` VALUES (89, 'check-circle-o', 'fa');
INSERT INTO `icons` VALUES (90, 'ban', 'fa');
INSERT INTO `icons` VALUES (91, 'arrow-left', 'fa');
INSERT INTO `icons` VALUES (92, 'arrow-right', 'fa');
INSERT INTO `icons` VALUES (93, 'arrow-up', 'fa');
INSERT INTO `icons` VALUES (94, 'arrow-down', 'fa');
INSERT INTO `icons` VALUES (95, 'share', 'fa');
INSERT INTO `icons` VALUES (96, 'expand', 'fa');
INSERT INTO `icons` VALUES (97, 'compress', 'fa');
INSERT INTO `icons` VALUES (98, 'plus', 'fa');
INSERT INTO `icons` VALUES (99, 'minus', 'fa');
INSERT INTO `icons` VALUES (100, 'asterisk', 'fa');
INSERT INTO `icons` VALUES (101, 'exclamation-circle', 'fa');
INSERT INTO `icons` VALUES (102, 'gift', 'fa');
INSERT INTO `icons` VALUES (103, 'leaf', 'fa');
INSERT INTO `icons` VALUES (104, 'fire', 'fa');
INSERT INTO `icons` VALUES (105, 'eye', 'fa');
INSERT INTO `icons` VALUES (106, 'eye-slash', 'fa');
INSERT INTO `icons` VALUES (107, 'exclamation-triangle', 'fa');
INSERT INTO `icons` VALUES (108, 'plane', 'fa');
INSERT INTO `icons` VALUES (109, 'calendar', 'fa');
INSERT INTO `icons` VALUES (110, 'random', 'fa');
INSERT INTO `icons` VALUES (111, 'comment', 'fa');
INSERT INTO `icons` VALUES (112, 'magnet', 'fa');
INSERT INTO `icons` VALUES (113, 'chevron-up', 'fa');
INSERT INTO `icons` VALUES (114, 'chevron-down', 'fa');
INSERT INTO `icons` VALUES (115, 'retweet', 'fa');
INSERT INTO `icons` VALUES (116, 'shopping-cart', 'fa');
INSERT INTO `icons` VALUES (117, 'folder', 'fa');
INSERT INTO `icons` VALUES (118, 'folder-open', 'fa');
INSERT INTO `icons` VALUES (119, 'arrows-v', 'fa');
INSERT INTO `icons` VALUES (120, 'arrows-h', 'fa');
INSERT INTO `icons` VALUES (121, 'bar-chart', 'fa');
INSERT INTO `icons` VALUES (122, 'twitter-square', 'fa');
INSERT INTO `icons` VALUES (123, 'facebook-square', 'fa');
INSERT INTO `icons` VALUES (124, 'camera-retro', 'fa');
INSERT INTO `icons` VALUES (125, 'key', 'fa');
INSERT INTO `icons` VALUES (126, 'cogs', 'fa');
INSERT INTO `icons` VALUES (127, 'comments', 'fa');
INSERT INTO `icons` VALUES (128, 'thumbs-o-up', 'fa');
INSERT INTO `icons` VALUES (129, 'thumbs-o-down', 'fa');
INSERT INTO `icons` VALUES (130, 'star-half', 'fa');
INSERT INTO `icons` VALUES (131, 'heart-o', 'fa');
INSERT INTO `icons` VALUES (132, 'sign-out', 'fa');
INSERT INTO `icons` VALUES (133, 'linkedin-square', 'fa');
INSERT INTO `icons` VALUES (134, 'thumb-tack', 'fa');
INSERT INTO `icons` VALUES (135, 'external-link', 'fa');
INSERT INTO `icons` VALUES (136, 'sign-in', 'fa');
INSERT INTO `icons` VALUES (137, 'trophy', 'fa');
INSERT INTO `icons` VALUES (138, 'github-square', 'fa');
INSERT INTO `icons` VALUES (139, 'upload', 'fa');
INSERT INTO `icons` VALUES (140, 'lemon-o', 'fa');
INSERT INTO `icons` VALUES (141, 'phone', 'fa');
INSERT INTO `icons` VALUES (142, 'square-o', 'fa');
INSERT INTO `icons` VALUES (143, 'bookmark-o', 'fa');
INSERT INTO `icons` VALUES (144, 'phone-square', 'fa');
INSERT INTO `icons` VALUES (145, 'twitter', 'fa');
INSERT INTO `icons` VALUES (146, 'facebook', 'fa');
INSERT INTO `icons` VALUES (147, 'github', 'fa');
INSERT INTO `icons` VALUES (148, 'unlock', 'fa');
INSERT INTO `icons` VALUES (149, 'credit-card', 'fa');
INSERT INTO `icons` VALUES (150, 'rss', 'fa');
INSERT INTO `icons` VALUES (151, 'hdd-o', 'fa');
INSERT INTO `icons` VALUES (152, 'bullhorn', 'fa');
INSERT INTO `icons` VALUES (153, 'bell', 'fa');
INSERT INTO `icons` VALUES (154, 'certificate', 'fa');
INSERT INTO `icons` VALUES (155, 'hand-o-right', 'fa');
INSERT INTO `icons` VALUES (156, 'hand-o-left', 'fa');
INSERT INTO `icons` VALUES (157, 'hand-o-up', 'fa');
INSERT INTO `icons` VALUES (158, 'hand-o-down', 'fa');
INSERT INTO `icons` VALUES (159, 'arrow-circle-left', 'fa');
INSERT INTO `icons` VALUES (160, 'arrow-circle-right', 'fa');
INSERT INTO `icons` VALUES (161, 'arrow-circle-up', 'fa');
INSERT INTO `icons` VALUES (162, 'arrow-circle-down', 'fa');
INSERT INTO `icons` VALUES (163, 'globe', 'fa');
INSERT INTO `icons` VALUES (164, 'wrench', 'fa');
INSERT INTO `icons` VALUES (165, 'tasks', 'fa');
INSERT INTO `icons` VALUES (166, 'filter', 'fa');
INSERT INTO `icons` VALUES (167, 'briefcase', 'fa');
INSERT INTO `icons` VALUES (168, 'arrows-alt', 'fa');
INSERT INTO `icons` VALUES (169, 'users', 'fa');
INSERT INTO `icons` VALUES (170, 'link', 'fa');
INSERT INTO `icons` VALUES (171, 'cloud', 'fa');
INSERT INTO `icons` VALUES (172, 'flask', 'fa');
INSERT INTO `icons` VALUES (173, 'scissors', 'fa');
INSERT INTO `icons` VALUES (174, 'files-o', 'fa');
INSERT INTO `icons` VALUES (175, 'paperclip', 'fa');
INSERT INTO `icons` VALUES (176, 'floppy-o', 'fa');
INSERT INTO `icons` VALUES (177, 'square', 'fa');
INSERT INTO `icons` VALUES (178, 'bars', 'fa');
INSERT INTO `icons` VALUES (179, 'list-ul', 'fa');
INSERT INTO `icons` VALUES (180, 'list-ol', 'fa');
INSERT INTO `icons` VALUES (181, 'strikethrough', 'fa');
INSERT INTO `icons` VALUES (182, 'underline', 'fa');
INSERT INTO `icons` VALUES (183, 'table', 'fa');
INSERT INTO `icons` VALUES (184, 'magic', 'fa');
INSERT INTO `icons` VALUES (185, 'truck', 'fa');
INSERT INTO `icons` VALUES (186, 'pinterest', 'fa');
INSERT INTO `icons` VALUES (187, 'pinterest-square', 'fa');
INSERT INTO `icons` VALUES (188, 'google-plus-square', 'fa');
INSERT INTO `icons` VALUES (189, 'google-plus', 'fa');
INSERT INTO `icons` VALUES (190, 'money', 'fa');
INSERT INTO `icons` VALUES (191, 'caret-down', 'fa');
INSERT INTO `icons` VALUES (192, 'caret-up', 'fa');
INSERT INTO `icons` VALUES (193, 'caret-left', 'fa');
INSERT INTO `icons` VALUES (194, 'caret-right', 'fa');
INSERT INTO `icons` VALUES (195, 'columns', 'fa');
INSERT INTO `icons` VALUES (196, 'sort', 'fa');
INSERT INTO `icons` VALUES (197, 'sort-desc', 'fa');
INSERT INTO `icons` VALUES (198, 'sort-asc', 'fa');
INSERT INTO `icons` VALUES (199, 'envelope', 'fa');
INSERT INTO `icons` VALUES (200, 'linkedin', 'fa');
INSERT INTO `icons` VALUES (201, 'undo', 'fa');
INSERT INTO `icons` VALUES (202, 'gavel', 'fa');
INSERT INTO `icons` VALUES (203, 'tachometer', 'fa');
INSERT INTO `icons` VALUES (204, 'comment-o', 'fa');
INSERT INTO `icons` VALUES (205, 'comments-o', 'fa');
INSERT INTO `icons` VALUES (206, 'bolt', 'fa');
INSERT INTO `icons` VALUES (207, 'sitemap', 'fa');
INSERT INTO `icons` VALUES (208, 'umbrella', 'fa');
INSERT INTO `icons` VALUES (209, 'clipboard', 'fa');
INSERT INTO `icons` VALUES (210, 'lightbulb-o', 'fa');
INSERT INTO `icons` VALUES (211, 'exchange', 'fa');
INSERT INTO `icons` VALUES (212, 'cloud-download', 'fa');
INSERT INTO `icons` VALUES (213, 'cloud-upload', 'fa');
INSERT INTO `icons` VALUES (214, 'user-md', 'fa');
INSERT INTO `icons` VALUES (215, 'stethoscope', 'fa');
INSERT INTO `icons` VALUES (216, 'suitcase', 'fa');
INSERT INTO `icons` VALUES (217, 'bell-o', 'fa');
INSERT INTO `icons` VALUES (218, 'coffee', 'fa');
INSERT INTO `icons` VALUES (219, 'cutlery', 'fa');
INSERT INTO `icons` VALUES (220, 'file-text-o', 'fa');
INSERT INTO `icons` VALUES (221, 'building-o', 'fa');
INSERT INTO `icons` VALUES (222, 'hospital-o', 'fa');
INSERT INTO `icons` VALUES (223, 'ambulance', 'fa');
INSERT INTO `icons` VALUES (224, 'medkit', 'fa');
INSERT INTO `icons` VALUES (225, 'fighter-jet', 'fa');
INSERT INTO `icons` VALUES (226, 'beer', 'fa');
INSERT INTO `icons` VALUES (227, 'h-square', 'fa');
INSERT INTO `icons` VALUES (228, 'plus-square', 'fa');
INSERT INTO `icons` VALUES (229, 'angle-double-left', 'fa');
INSERT INTO `icons` VALUES (230, 'angle-double-right', 'fa');
INSERT INTO `icons` VALUES (231, 'angle-double-up', 'fa');
INSERT INTO `icons` VALUES (232, 'angle-double-down', 'fa');
INSERT INTO `icons` VALUES (233, 'angle-left', 'fa');
INSERT INTO `icons` VALUES (234, 'angle-right', 'fa');
INSERT INTO `icons` VALUES (235, 'angle-up', 'fa');
INSERT INTO `icons` VALUES (236, 'angle-down', 'fa');
INSERT INTO `icons` VALUES (237, 'desktop', 'fa');
INSERT INTO `icons` VALUES (238, 'laptop', 'fa');
INSERT INTO `icons` VALUES (239, 'tablet', 'fa');
INSERT INTO `icons` VALUES (240, 'mobile', 'fa');
INSERT INTO `icons` VALUES (241, 'circle-o', 'fa');
INSERT INTO `icons` VALUES (242, 'quote-left', 'fa');
INSERT INTO `icons` VALUES (243, 'quote-right', 'fa');
INSERT INTO `icons` VALUES (244, 'spinner', 'fa');
INSERT INTO `icons` VALUES (245, 'circle', 'fa');
INSERT INTO `icons` VALUES (246, 'reply', 'fa');
INSERT INTO `icons` VALUES (247, 'github-alt', 'fa');
INSERT INTO `icons` VALUES (248, 'folder-o', 'fa');
INSERT INTO `icons` VALUES (249, 'folder-open-o', 'fa');
INSERT INTO `icons` VALUES (250, 'smile-o', 'fa');
INSERT INTO `icons` VALUES (251, 'frown-o', 'fa');
INSERT INTO `icons` VALUES (252, 'meh-o', 'fa');
INSERT INTO `icons` VALUES (253, 'gamepad', 'fa');
INSERT INTO `icons` VALUES (254, 'keyboard-o', 'fa');
INSERT INTO `icons` VALUES (255, 'flag-o', 'fa');
INSERT INTO `icons` VALUES (256, 'flag-checkered', 'fa');
INSERT INTO `icons` VALUES (257, 'terminal', 'fa');
INSERT INTO `icons` VALUES (258, 'code', 'fa');
INSERT INTO `icons` VALUES (259, 'reply-all', 'fa');
INSERT INTO `icons` VALUES (260, 'star-half-o', 'fa');
INSERT INTO `icons` VALUES (261, 'location-arrow', 'fa');
INSERT INTO `icons` VALUES (262, 'crop', 'fa');
INSERT INTO `icons` VALUES (263, 'code-fork', 'fa');
INSERT INTO `icons` VALUES (264, 'chain-broken', 'fa');
INSERT INTO `icons` VALUES (265, 'question', 'fa');
INSERT INTO `icons` VALUES (266, 'info', 'fa');
INSERT INTO `icons` VALUES (267, 'exclamation', 'fa');
INSERT INTO `icons` VALUES (268, 'superscript', 'fa');
INSERT INTO `icons` VALUES (269, 'subscript', 'fa');
INSERT INTO `icons` VALUES (270, 'eraser', 'fa');
INSERT INTO `icons` VALUES (271, 'puzzle-piece', 'fa');
INSERT INTO `icons` VALUES (272, 'microphone', 'fa');
INSERT INTO `icons` VALUES (273, 'microphone-slash', 'fa');
INSERT INTO `icons` VALUES (274, 'shield', 'fa');
INSERT INTO `icons` VALUES (275, 'calendar-o', 'fa');
INSERT INTO `icons` VALUES (276, 'fire-extinguisher', 'fa');
INSERT INTO `icons` VALUES (277, 'rocket', 'fa');
INSERT INTO `icons` VALUES (278, 'maxcdn', 'fa');
INSERT INTO `icons` VALUES (279, 'chevron-circle-left', 'fa');
INSERT INTO `icons` VALUES (280, 'chevron-circle-right', 'fa');
INSERT INTO `icons` VALUES (281, 'chevron-circle-up', 'fa');
INSERT INTO `icons` VALUES (282, 'chevron-circle-down', 'fa');
INSERT INTO `icons` VALUES (283, 'html5', 'fa');
INSERT INTO `icons` VALUES (284, 'css3', 'fa');
INSERT INTO `icons` VALUES (285, 'anchor', 'fa');
INSERT INTO `icons` VALUES (286, 'unlock-alt', 'fa');
INSERT INTO `icons` VALUES (287, 'bullseye', 'fa');
INSERT INTO `icons` VALUES (288, 'ellipsis-h', 'fa');
INSERT INTO `icons` VALUES (289, 'ellipsis-v', 'fa');
INSERT INTO `icons` VALUES (290, 'rss-square', 'fa');
INSERT INTO `icons` VALUES (291, 'play-circle', 'fa');
INSERT INTO `icons` VALUES (292, 'ticket', 'fa');
INSERT INTO `icons` VALUES (293, 'minus-square', 'fa');
INSERT INTO `icons` VALUES (294, 'minus-square-o', 'fa');
INSERT INTO `icons` VALUES (295, 'level-up', 'fa');
INSERT INTO `icons` VALUES (296, 'level-down', 'fa');
INSERT INTO `icons` VALUES (297, 'check-square', 'fa');
INSERT INTO `icons` VALUES (298, 'pencil-square', 'fa');
INSERT INTO `icons` VALUES (299, 'external-link-square', 'fa');
INSERT INTO `icons` VALUES (300, 'share-square', 'fa');
INSERT INTO `icons` VALUES (301, 'compass', 'fa');
INSERT INTO `icons` VALUES (302, 'caret-square-o-down', 'fa');
INSERT INTO `icons` VALUES (303, 'caret-square-o-up', 'fa');
INSERT INTO `icons` VALUES (304, 'caret-square-o-right', 'fa');
INSERT INTO `icons` VALUES (305, 'eur', 'fa');
INSERT INTO `icons` VALUES (306, 'gbp', 'fa');
INSERT INTO `icons` VALUES (307, 'usd', 'fa');
INSERT INTO `icons` VALUES (308, 'inr', 'fa');
INSERT INTO `icons` VALUES (309, 'jpy', 'fa');
INSERT INTO `icons` VALUES (310, 'rub', 'fa');
INSERT INTO `icons` VALUES (311, 'krw', 'fa');
INSERT INTO `icons` VALUES (312, 'btc', 'fa');
INSERT INTO `icons` VALUES (313, 'file', 'fa');
INSERT INTO `icons` VALUES (314, 'file-text', 'fa');
INSERT INTO `icons` VALUES (315, 'sort-alpha-asc', 'fa');
INSERT INTO `icons` VALUES (316, 'sort-alpha-desc', 'fa');
INSERT INTO `icons` VALUES (317, 'sort-amount-asc', 'fa');
INSERT INTO `icons` VALUES (318, 'sort-amount-desc', 'fa');
INSERT INTO `icons` VALUES (319, 'sort-numeric-asc', 'fa');
INSERT INTO `icons` VALUES (320, 'sort-numeric-desc', 'fa');
INSERT INTO `icons` VALUES (321, 'thumbs-up', 'fa');
INSERT INTO `icons` VALUES (322, 'thumbs-down', 'fa');
INSERT INTO `icons` VALUES (323, 'youtube-square', 'fa');
INSERT INTO `icons` VALUES (324, 'youtube', 'fa');
INSERT INTO `icons` VALUES (325, 'xing', 'fa');
INSERT INTO `icons` VALUES (326, 'xing-square', 'fa');
INSERT INTO `icons` VALUES (327, 'youtube-play', 'fa');
INSERT INTO `icons` VALUES (328, 'dropbox', 'fa');
INSERT INTO `icons` VALUES (329, 'stack-overflow', 'fa');
INSERT INTO `icons` VALUES (330, 'instagram', 'fa');
INSERT INTO `icons` VALUES (331, 'flickr', 'fa');
INSERT INTO `icons` VALUES (332, 'adn', 'fa');
INSERT INTO `icons` VALUES (333, 'bitbucket', 'fa');
INSERT INTO `icons` VALUES (334, 'bitbucket-square', 'fa');
INSERT INTO `icons` VALUES (335, 'tumblr', 'fa');
INSERT INTO `icons` VALUES (336, 'tumblr-square', 'fa');
INSERT INTO `icons` VALUES (337, 'long-arrow-down', 'fa');
INSERT INTO `icons` VALUES (338, 'long-arrow-up', 'fa');
INSERT INTO `icons` VALUES (339, 'long-arrow-left', 'fa');
INSERT INTO `icons` VALUES (340, 'long-arrow-right', 'fa');
INSERT INTO `icons` VALUES (341, 'apple', 'fa');
INSERT INTO `icons` VALUES (342, 'windows', 'fa');
INSERT INTO `icons` VALUES (343, 'android', 'fa');
INSERT INTO `icons` VALUES (344, 'linux', 'fa');
INSERT INTO `icons` VALUES (345, 'dribbble', 'fa');
INSERT INTO `icons` VALUES (346, 'skype', 'fa');
INSERT INTO `icons` VALUES (347, 'foursquare', 'fa');
INSERT INTO `icons` VALUES (348, 'trello', 'fa');
INSERT INTO `icons` VALUES (349, 'female', 'fa');
INSERT INTO `icons` VALUES (350, 'male', 'fa');
INSERT INTO `icons` VALUES (351, 'gratipay', 'fa');
INSERT INTO `icons` VALUES (352, 'sun-o', 'fa');
INSERT INTO `icons` VALUES (353, 'moon-o', 'fa');
INSERT INTO `icons` VALUES (354, 'archive', 'fa');
INSERT INTO `icons` VALUES (355, 'bug', 'fa');
INSERT INTO `icons` VALUES (356, 'vk', 'fa');
INSERT INTO `icons` VALUES (357, 'weibo', 'fa');
INSERT INTO `icons` VALUES (358, 'renren', 'fa');
INSERT INTO `icons` VALUES (359, 'pagelines', 'fa');
INSERT INTO `icons` VALUES (360, 'stack-exchange', 'fa');
INSERT INTO `icons` VALUES (361, 'arrow-circle-o-right', 'fa');
INSERT INTO `icons` VALUES (362, 'arrow-circle-o-left', 'fa');
INSERT INTO `icons` VALUES (363, 'caret-square-o-left', 'fa');
INSERT INTO `icons` VALUES (364, 'dot-circle-o', 'fa');
INSERT INTO `icons` VALUES (365, 'wheelchair', 'fa');
INSERT INTO `icons` VALUES (366, 'vimeo-square', 'fa');
INSERT INTO `icons` VALUES (367, 'try', 'fa');
INSERT INTO `icons` VALUES (368, 'plus-square-o', 'fa');
INSERT INTO `icons` VALUES (369, 'space-shuttle', 'fa');
INSERT INTO `icons` VALUES (370, 'slack', 'fa');
INSERT INTO `icons` VALUES (371, 'envelope-square', 'fa');
INSERT INTO `icons` VALUES (372, 'wordpress', 'fa');
INSERT INTO `icons` VALUES (373, 'openid', 'fa');
INSERT INTO `icons` VALUES (374, 'university', 'fa');
INSERT INTO `icons` VALUES (375, 'graduation-cap', 'fa');
INSERT INTO `icons` VALUES (376, 'yahoo', 'fa');
INSERT INTO `icons` VALUES (377, 'google', 'fa');
INSERT INTO `icons` VALUES (378, 'reddit', 'fa');
INSERT INTO `icons` VALUES (379, 'reddit-square', 'fa');
INSERT INTO `icons` VALUES (380, 'stumbleupon-circle', 'fa');
INSERT INTO `icons` VALUES (381, 'stumbleupon', 'fa');
INSERT INTO `icons` VALUES (382, 'delicious', 'fa');
INSERT INTO `icons` VALUES (383, 'digg', 'fa');
INSERT INTO `icons` VALUES (384, 'pied-piper-pp', 'fa');
INSERT INTO `icons` VALUES (385, 'pied-piper-alt', 'fa');
INSERT INTO `icons` VALUES (386, 'drupal', 'fa');
INSERT INTO `icons` VALUES (387, 'joomla', 'fa');
INSERT INTO `icons` VALUES (388, 'language', 'fa');
INSERT INTO `icons` VALUES (389, 'fax', 'fa');
INSERT INTO `icons` VALUES (390, 'building', 'fa');
INSERT INTO `icons` VALUES (391, 'child', 'fa');
INSERT INTO `icons` VALUES (392, 'paw', 'fa');
INSERT INTO `icons` VALUES (393, 'spoon', 'fa');
INSERT INTO `icons` VALUES (394, 'cube', 'fa');
INSERT INTO `icons` VALUES (395, 'cubes', 'fa');
INSERT INTO `icons` VALUES (396, 'behance', 'fa');
INSERT INTO `icons` VALUES (397, 'behance-square', 'fa');
INSERT INTO `icons` VALUES (398, 'steam', 'fa');
INSERT INTO `icons` VALUES (399, 'steam-square', 'fa');
INSERT INTO `icons` VALUES (400, 'recycle', 'fa');
INSERT INTO `icons` VALUES (401, 'car', 'fa');
INSERT INTO `icons` VALUES (402, 'taxi', 'fa');
INSERT INTO `icons` VALUES (403, 'tree', 'fa');
INSERT INTO `icons` VALUES (404, 'spotify', 'fa');
INSERT INTO `icons` VALUES (405, 'deviantart', 'fa');
INSERT INTO `icons` VALUES (406, 'soundcloud', 'fa');
INSERT INTO `icons` VALUES (407, 'database', 'fa');
INSERT INTO `icons` VALUES (408, 'file-pdf-o', 'fa');
INSERT INTO `icons` VALUES (409, 'file-word-o', 'fa');
INSERT INTO `icons` VALUES (410, 'file-excel-o', 'fa');
INSERT INTO `icons` VALUES (411, 'file-powerpoint-o', 'fa');
INSERT INTO `icons` VALUES (412, 'file-image-o', 'fa');
INSERT INTO `icons` VALUES (413, 'file-archive-o', 'fa');
INSERT INTO `icons` VALUES (414, 'file-audio-o', 'fa');
INSERT INTO `icons` VALUES (415, 'file-video-o', 'fa');
INSERT INTO `icons` VALUES (416, 'file-code-o', 'fa');
INSERT INTO `icons` VALUES (417, 'vine', 'fa');
INSERT INTO `icons` VALUES (418, 'codepen', 'fa');
INSERT INTO `icons` VALUES (419, 'jsfiddle', 'fa');
INSERT INTO `icons` VALUES (420, 'life-ring', 'fa');
INSERT INTO `icons` VALUES (421, 'circle-o-notch', 'fa');
INSERT INTO `icons` VALUES (422, 'rebel', 'fa');
INSERT INTO `icons` VALUES (423, 'empire', 'fa');
INSERT INTO `icons` VALUES (424, 'git-square', 'fa');
INSERT INTO `icons` VALUES (425, 'git', 'fa');
INSERT INTO `icons` VALUES (426, 'hacker-news', 'fa');
INSERT INTO `icons` VALUES (427, 'tencent-weibo', 'fa');
INSERT INTO `icons` VALUES (428, 'qq', 'fa');
INSERT INTO `icons` VALUES (429, 'weixin', 'fa');
INSERT INTO `icons` VALUES (430, 'paper-plane', 'fa');
INSERT INTO `icons` VALUES (431, 'paper-plane-o', 'fa');
INSERT INTO `icons` VALUES (432, 'history', 'fa');
INSERT INTO `icons` VALUES (433, 'circle-thin', 'fa');
INSERT INTO `icons` VALUES (434, 'header', 'fa');
INSERT INTO `icons` VALUES (435, 'paragraph', 'fa');
INSERT INTO `icons` VALUES (436, 'sliders', 'fa');
INSERT INTO `icons` VALUES (437, 'share-alt', 'fa');
INSERT INTO `icons` VALUES (438, 'share-alt-square', 'fa');
INSERT INTO `icons` VALUES (439, 'bomb', 'fa');
INSERT INTO `icons` VALUES (440, 'futbol-o', 'fa');
INSERT INTO `icons` VALUES (441, 'tty', 'fa');
INSERT INTO `icons` VALUES (442, 'binoculars', 'fa');
INSERT INTO `icons` VALUES (443, 'plug', 'fa');
INSERT INTO `icons` VALUES (444, 'slideshare', 'fa');
INSERT INTO `icons` VALUES (445, 'twitch', 'fa');
INSERT INTO `icons` VALUES (446, 'yelp', 'fa');
INSERT INTO `icons` VALUES (447, 'newspaper-o', 'fa');
INSERT INTO `icons` VALUES (448, 'wifi', 'fa');
INSERT INTO `icons` VALUES (449, 'calculator', 'fa');
INSERT INTO `icons` VALUES (450, 'paypal', 'fa');
INSERT INTO `icons` VALUES (451, 'google-wallet', 'fa');
INSERT INTO `icons` VALUES (452, 'cc-visa', 'fa');
INSERT INTO `icons` VALUES (453, 'cc-mastercard', 'fa');
INSERT INTO `icons` VALUES (454, 'cc-discover', 'fa');
INSERT INTO `icons` VALUES (455, 'cc-amex', 'fa');
INSERT INTO `icons` VALUES (456, 'cc-paypal', 'fa');
INSERT INTO `icons` VALUES (457, 'cc-stripe', 'fa');
INSERT INTO `icons` VALUES (458, 'bell-slash', 'fa');
INSERT INTO `icons` VALUES (459, 'bell-slash-o', 'fa');
INSERT INTO `icons` VALUES (460, 'trash', 'fa');
INSERT INTO `icons` VALUES (461, 'copyright', 'fa');
INSERT INTO `icons` VALUES (462, 'at', 'fa');
INSERT INTO `icons` VALUES (463, 'eyedropper', 'fa');
INSERT INTO `icons` VALUES (464, 'paint-brush', 'fa');
INSERT INTO `icons` VALUES (465, 'birthday-cake', 'fa');
INSERT INTO `icons` VALUES (466, 'area-chart', 'fa');
INSERT INTO `icons` VALUES (467, 'pie-chart', 'fa');
INSERT INTO `icons` VALUES (468, 'line-chart', 'fa');
INSERT INTO `icons` VALUES (469, 'lastfm', 'fa');
INSERT INTO `icons` VALUES (470, 'lastfm-square', 'fa');
INSERT INTO `icons` VALUES (471, 'toggle-off', 'fa');
INSERT INTO `icons` VALUES (472, 'toggle-on', 'fa');
INSERT INTO `icons` VALUES (473, 'bicycle', 'fa');
INSERT INTO `icons` VALUES (474, 'bus', 'fa');
INSERT INTO `icons` VALUES (475, 'ioxhost', 'fa');
INSERT INTO `icons` VALUES (476, 'angellist', 'fa');
INSERT INTO `icons` VALUES (477, 'cc', 'fa');
INSERT INTO `icons` VALUES (478, 'ils', 'fa');
INSERT INTO `icons` VALUES (479, 'meanpath', 'fa');
INSERT INTO `icons` VALUES (480, 'buysellads', 'fa');
INSERT INTO `icons` VALUES (481, 'connectdevelop', 'fa');
INSERT INTO `icons` VALUES (482, 'dashcube', 'fa');
INSERT INTO `icons` VALUES (483, 'forumbee', 'fa');
INSERT INTO `icons` VALUES (484, 'leanpub', 'fa');
INSERT INTO `icons` VALUES (485, 'sellsy', 'fa');
INSERT INTO `icons` VALUES (486, 'shirtsinbulk', 'fa');
INSERT INTO `icons` VALUES (487, 'simplybuilt', 'fa');
INSERT INTO `icons` VALUES (488, 'skyatlas', 'fa');
INSERT INTO `icons` VALUES (489, 'cart-plus', 'fa');
INSERT INTO `icons` VALUES (490, 'cart-arrow-down', 'fa');
INSERT INTO `icons` VALUES (491, 'diamond', 'fa');
INSERT INTO `icons` VALUES (492, 'ship', 'fa');
INSERT INTO `icons` VALUES (493, 'user-secret', 'fa');
INSERT INTO `icons` VALUES (494, 'motorcycle', 'fa');
INSERT INTO `icons` VALUES (495, 'street-view', 'fa');
INSERT INTO `icons` VALUES (496, 'heartbeat', 'fa');
INSERT INTO `icons` VALUES (497, 'venus', 'fa');
INSERT INTO `icons` VALUES (498, 'mars', 'fa');
INSERT INTO `icons` VALUES (499, 'mercury', 'fa');
INSERT INTO `icons` VALUES (500, 'transgender', 'fa');
INSERT INTO `icons` VALUES (501, 'transgender-alt', 'fa');
INSERT INTO `icons` VALUES (502, 'venus-double', 'fa');
INSERT INTO `icons` VALUES (503, 'mars-double', 'fa');
INSERT INTO `icons` VALUES (504, 'venus-mars', 'fa');
INSERT INTO `icons` VALUES (505, 'mars-stroke', 'fa');
INSERT INTO `icons` VALUES (506, 'mars-stroke-v', 'fa');
INSERT INTO `icons` VALUES (507, 'mars-stroke-h', 'fa');
INSERT INTO `icons` VALUES (508, 'neuter', 'fa');
INSERT INTO `icons` VALUES (509, 'genderless', 'fa');
INSERT INTO `icons` VALUES (510, 'facebook-official', 'fa');
INSERT INTO `icons` VALUES (511, 'pinterest-p', 'fa');
INSERT INTO `icons` VALUES (512, 'whatsapp', 'fa');
INSERT INTO `icons` VALUES (513, 'server', 'fa');
INSERT INTO `icons` VALUES (514, 'user-plus', 'fa');
INSERT INTO `icons` VALUES (515, 'user-times', 'fa');
INSERT INTO `icons` VALUES (516, 'bed', 'fa');
INSERT INTO `icons` VALUES (517, 'viacoin', 'fa');
INSERT INTO `icons` VALUES (518, 'train', 'fa');
INSERT INTO `icons` VALUES (519, 'subway', 'fa');
INSERT INTO `icons` VALUES (520, 'medium', 'fa');
INSERT INTO `icons` VALUES (521, 'y-combinator', 'fa');
INSERT INTO `icons` VALUES (522, 'optin-monster', 'fa');
INSERT INTO `icons` VALUES (523, 'opencart', 'fa');
INSERT INTO `icons` VALUES (524, 'expeditedssl', 'fa');
INSERT INTO `icons` VALUES (525, 'battery-full', 'fa');
INSERT INTO `icons` VALUES (526, 'battery-three-quarters', 'fa');
INSERT INTO `icons` VALUES (527, 'battery-half', 'fa');
INSERT INTO `icons` VALUES (528, 'battery-quarter', 'fa');
INSERT INTO `icons` VALUES (529, 'battery-empty', 'fa');
INSERT INTO `icons` VALUES (530, 'mouse-pointer', 'fa');
INSERT INTO `icons` VALUES (531, 'i-cursor', 'fa');
INSERT INTO `icons` VALUES (532, 'object-group', 'fa');
INSERT INTO `icons` VALUES (533, 'object-ungroup', 'fa');
INSERT INTO `icons` VALUES (534, 'sticky-note', 'fa');
INSERT INTO `icons` VALUES (535, 'sticky-note-o', 'fa');
INSERT INTO `icons` VALUES (536, 'cc-jcb', 'fa');
INSERT INTO `icons` VALUES (537, 'cc-diners-club', 'fa');
INSERT INTO `icons` VALUES (538, 'clone', 'fa');
INSERT INTO `icons` VALUES (539, 'balance-scale', 'fa');
INSERT INTO `icons` VALUES (540, 'hourglass-o', 'fa');
INSERT INTO `icons` VALUES (541, 'hourglass-start', 'fa');
INSERT INTO `icons` VALUES (542, 'hourglass-half', 'fa');
INSERT INTO `icons` VALUES (543, 'hourglass-end', 'fa');
INSERT INTO `icons` VALUES (544, 'hourglass', 'fa');
INSERT INTO `icons` VALUES (545, 'hand-rock-o', 'fa');
INSERT INTO `icons` VALUES (546, 'hand-paper-o', 'fa');
INSERT INTO `icons` VALUES (547, 'hand-scissors-o', 'fa');
INSERT INTO `icons` VALUES (548, 'hand-lizard-o', 'fa');
INSERT INTO `icons` VALUES (549, 'hand-spock-o', 'fa');
INSERT INTO `icons` VALUES (550, 'hand-pointer-o', 'fa');
INSERT INTO `icons` VALUES (551, 'hand-peace-o', 'fa');
INSERT INTO `icons` VALUES (552, 'trademark', 'fa');
INSERT INTO `icons` VALUES (553, 'registered', 'fa');
INSERT INTO `icons` VALUES (554, 'creative-commons', 'fa');
INSERT INTO `icons` VALUES (555, 'gg', 'fa');
INSERT INTO `icons` VALUES (556, 'gg-circle', 'fa');
INSERT INTO `icons` VALUES (557, 'tripadvisor', 'fa');
INSERT INTO `icons` VALUES (558, 'odnoklassniki', 'fa');
INSERT INTO `icons` VALUES (559, 'odnoklassniki-square', 'fa');
INSERT INTO `icons` VALUES (560, 'get-pocket', 'fa');
INSERT INTO `icons` VALUES (561, 'wikipedia-w', 'fa');
INSERT INTO `icons` VALUES (562, 'safari', 'fa');
INSERT INTO `icons` VALUES (563, 'chrome', 'fa');
INSERT INTO `icons` VALUES (564, 'firefox', 'fa');
INSERT INTO `icons` VALUES (565, 'opera', 'fa');
INSERT INTO `icons` VALUES (566, 'internet-explorer', 'fa');
INSERT INTO `icons` VALUES (567, 'television', 'fa');
INSERT INTO `icons` VALUES (568, 'contao', 'fa');
INSERT INTO `icons` VALUES (569, '500px', 'fa');
INSERT INTO `icons` VALUES (570, 'amazon', 'fa');
INSERT INTO `icons` VALUES (571, 'calendar-plus-o', 'fa');
INSERT INTO `icons` VALUES (572, 'calendar-minus-o', 'fa');
INSERT INTO `icons` VALUES (573, 'calendar-times-o', 'fa');
INSERT INTO `icons` VALUES (574, 'calendar-check-o', 'fa');
INSERT INTO `icons` VALUES (575, 'industry', 'fa');
INSERT INTO `icons` VALUES (576, 'map-pin', 'fa');
INSERT INTO `icons` VALUES (577, 'map-signs', 'fa');
INSERT INTO `icons` VALUES (578, 'map-o', 'fa');
INSERT INTO `icons` VALUES (579, 'map', 'fa');
INSERT INTO `icons` VALUES (580, 'commenting', 'fa');
INSERT INTO `icons` VALUES (581, 'commenting-o', 'fa');
INSERT INTO `icons` VALUES (582, 'houzz', 'fa');
INSERT INTO `icons` VALUES (583, 'vimeo', 'fa');
INSERT INTO `icons` VALUES (584, 'black-tie', 'fa');
INSERT INTO `icons` VALUES (585, 'fonticons', 'fa');
INSERT INTO `icons` VALUES (586, 'reddit-alien', 'fa');
INSERT INTO `icons` VALUES (587, 'edge', 'fa');
INSERT INTO `icons` VALUES (588, 'credit-card-alt', 'fa');
INSERT INTO `icons` VALUES (589, 'codiepie', 'fa');
INSERT INTO `icons` VALUES (590, 'modx', 'fa');
INSERT INTO `icons` VALUES (591, 'fort-awesome', 'fa');
INSERT INTO `icons` VALUES (592, 'usb', 'fa');
INSERT INTO `icons` VALUES (593, 'product-hunt', 'fa');
INSERT INTO `icons` VALUES (594, 'mixcloud', 'fa');
INSERT INTO `icons` VALUES (595, 'scribd', 'fa');
INSERT INTO `icons` VALUES (596, 'pause-circle', 'fa');
INSERT INTO `icons` VALUES (597, 'pause-circle-o', 'fa');
INSERT INTO `icons` VALUES (598, 'stop-circle', 'fa');
INSERT INTO `icons` VALUES (599, 'stop-circle-o', 'fa');
INSERT INTO `icons` VALUES (600, 'shopping-bag', 'fa');
INSERT INTO `icons` VALUES (601, 'shopping-basket', 'fa');
INSERT INTO `icons` VALUES (602, 'hashtag', 'fa');
INSERT INTO `icons` VALUES (603, 'bluetooth', 'fa');
INSERT INTO `icons` VALUES (604, 'bluetooth-b', 'fa');
INSERT INTO `icons` VALUES (605, 'percent', 'fa');
INSERT INTO `icons` VALUES (606, 'gitlab', 'fa');
INSERT INTO `icons` VALUES (607, 'wpbeginner', 'fa');
INSERT INTO `icons` VALUES (608, 'wpforms', 'fa');
INSERT INTO `icons` VALUES (609, 'envira', 'fa');
INSERT INTO `icons` VALUES (610, 'universal-access', 'fa');
INSERT INTO `icons` VALUES (611, 'wheelchair-alt', 'fa');
INSERT INTO `icons` VALUES (612, 'question-circle-o', 'fa');
INSERT INTO `icons` VALUES (613, 'blind', 'fa');
INSERT INTO `icons` VALUES (614, 'audio-description', 'fa');
INSERT INTO `icons` VALUES (615, 'volume-control-phone', 'fa');
INSERT INTO `icons` VALUES (616, 'braille', 'fa');
INSERT INTO `icons` VALUES (617, 'assistive-listening-systems', 'fa');
INSERT INTO `icons` VALUES (618, 'american-sign-language-interpreting', 'fa');
INSERT INTO `icons` VALUES (619, 'deaf', 'fa');
INSERT INTO `icons` VALUES (620, 'glide', 'fa');
INSERT INTO `icons` VALUES (621, 'glide-g', 'fa');
INSERT INTO `icons` VALUES (622, 'sign-language', 'fa');
INSERT INTO `icons` VALUES (623, 'low-vision', 'fa');
INSERT INTO `icons` VALUES (624, 'viadeo', 'fa');
INSERT INTO `icons` VALUES (625, 'viadeo-square', 'fa');
INSERT INTO `icons` VALUES (626, 'snapchat', 'fa');
INSERT INTO `icons` VALUES (627, 'snapchat-ghost', 'fa');
INSERT INTO `icons` VALUES (628, 'snapchat-square', 'fa');
INSERT INTO `icons` VALUES (629, 'pied-piper', 'fa');
INSERT INTO `icons` VALUES (630, 'first-order', 'fa');
INSERT INTO `icons` VALUES (631, 'yoast', 'fa');
INSERT INTO `icons` VALUES (632, 'themeisle', 'fa');
INSERT INTO `icons` VALUES (633, 'google-plus-official', 'fa');
INSERT INTO `icons` VALUES (634, 'font-awesome', 'fa');
INSERT INTO `icons` VALUES (635, 'handshake-o', 'fa');
INSERT INTO `icons` VALUES (636, 'envelope-open', 'fa');
INSERT INTO `icons` VALUES (637, 'envelope-open-o', 'fa');
INSERT INTO `icons` VALUES (638, 'linode', 'fa');
INSERT INTO `icons` VALUES (639, 'address-book', 'fa');
INSERT INTO `icons` VALUES (640, 'address-book-o', 'fa');
INSERT INTO `icons` VALUES (641, 'address-card', 'fa');
INSERT INTO `icons` VALUES (642, 'address-card-o', 'fa');
INSERT INTO `icons` VALUES (643, 'user-circle', 'fa');
INSERT INTO `icons` VALUES (644, 'user-circle-o', 'fa');
INSERT INTO `icons` VALUES (645, 'user-o', 'fa');
INSERT INTO `icons` VALUES (646, 'id-badge', 'fa');
INSERT INTO `icons` VALUES (647, 'id-card', 'fa');
INSERT INTO `icons` VALUES (648, 'id-card-o', 'fa');
INSERT INTO `icons` VALUES (649, 'quora', 'fa');
INSERT INTO `icons` VALUES (650, 'free-code-camp', 'fa');
INSERT INTO `icons` VALUES (651, 'telegram', 'fa');
INSERT INTO `icons` VALUES (652, 'thermometer-full', 'fa');
INSERT INTO `icons` VALUES (653, 'thermometer-three-quarters', 'fa');
INSERT INTO `icons` VALUES (654, 'thermometer-half', 'fa');
INSERT INTO `icons` VALUES (655, 'thermometer-quarter', 'fa');
INSERT INTO `icons` VALUES (656, 'thermometer-empty', 'fa');
INSERT INTO `icons` VALUES (657, 'shower', 'fa');
INSERT INTO `icons` VALUES (658, 'bath', 'fa');
INSERT INTO `icons` VALUES (659, 'podcast', 'fa');
INSERT INTO `icons` VALUES (660, 'window-maximize', 'fa');
INSERT INTO `icons` VALUES (661, 'window-minimize', 'fa');
INSERT INTO `icons` VALUES (662, 'window-restore', 'fa');
INSERT INTO `icons` VALUES (663, 'window-close', 'fa');
INSERT INTO `icons` VALUES (664, 'window-close-o', 'fa');
INSERT INTO `icons` VALUES (665, 'bandcamp', 'fa');
INSERT INTO `icons` VALUES (666, 'grav', 'fa');
INSERT INTO `icons` VALUES (667, 'etsy', 'fa');
INSERT INTO `icons` VALUES (668, 'imdb', 'fa');
INSERT INTO `icons` VALUES (669, 'ravelry', 'fa');
INSERT INTO `icons` VALUES (670, 'eercast', 'fa');
INSERT INTO `icons` VALUES (671, 'microchip', 'fa');
INSERT INTO `icons` VALUES (672, 'snowflake-o', 'fa');
INSERT INTO `icons` VALUES (673, 'superpowers', 'fa');
INSERT INTO `icons` VALUES (674, 'wpexplorer', 'fa');
INSERT INTO `icons` VALUES (675, 'meetup', 'fa');
-- ----------------------------
-- Table structure for key_storage_item
-- ----------------------------
DROP TABLE IF EXISTS `key_storage_item`;
CREATE TABLE `key_storage_item` (
`key` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`value` text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`comment` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`updated_at` int(11) NULL DEFAULT NULL,
`created_at` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`key`) USING BTREE,
UNIQUE INDEX `idx_key_storage_item_key`(`key`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of key_storage_item
-- ----------------------------
INSERT INTO `key_storage_item` VALUES ('app-name', 'ระบบคิว รพ.ชัยนาทนเรนทร', '', 1518009906, 1518009214);
INSERT INTO `key_storage_item` VALUES ('dynamic-limit', '20', '', 1519362612, 1519362612);
INSERT INTO `key_storage_item` VALUES ('frontend.body.class', 'fixed-sidebar fixed-navbar', '', 1518010225, NULL);
INSERT INTO `key_storage_item` VALUES ('frontend.navbar', 'navbar-fixed-top', 'fix navbar header', 1515767197, NULL);
INSERT INTO `key_storage_item` VALUES ('frontend.page-breadcrumbs', '0', 'breadcrumbs-fixed', 1515767838, NULL);
INSERT INTO `key_storage_item` VALUES ('frontend.page-header', '0', 'page-header-fixed', 1515767908, NULL);
INSERT INTO `key_storage_item` VALUES ('frontend.page-sidebar', 'sidebar-fixed menu-compact', 'sidebar-fixed , menu-compact', 1516690802, NULL);
-- ----------------------------
-- Table structure for migration
-- ----------------------------
DROP TABLE IF EXISTS `migration`;
CREATE TABLE `migration` (
`version` varchar(180) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`apply_time` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`version`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of migration
-- ----------------------------
INSERT INTO `migration` VALUES ('m000000_000000_base', 1517969408);
INSERT INTO `migration` VALUES ('m140209_132017_init', 1517969416);
INSERT INTO `migration` VALUES ('m140403_174025_create_account_table', 1517969416);
INSERT INTO `migration` VALUES ('m140504_113157_update_tables', 1517969417);
INSERT INTO `migration` VALUES ('m140504_130429_create_token_table', 1517969417);
INSERT INTO `migration` VALUES ('m140506_102106_rbac_init', 1517977513);
INSERT INTO `migration` VALUES ('m140830_171933_fix_ip_field', 1517969417);
INSERT INTO `migration` VALUES ('m140830_172703_change_account_table_name', 1517969417);
INSERT INTO `migration` VALUES ('m141222_110026_update_ip_field', 1517969417);
INSERT INTO `migration` VALUES ('m141222_135246_alter_username_length', 1517969417);
INSERT INTO `migration` VALUES ('m150614_103145_update_social_account_table', 1517969417);
INSERT INTO `migration` VALUES ('m150623_212711_fix_username_notnull', 1517969417);
INSERT INTO `migration` VALUES ('m151218_234654_add_timezone_to_profile', 1517969417);
INSERT INTO `migration` VALUES ('m160929_103127_add_last_login_at_to_user_table', 1517969417);
INSERT INTO `migration` VALUES ('m170907_052038_rbac_add_index_on_auth_assignment_user_id', 1517977513);
-- ----------------------------
-- Table structure for profile
-- ----------------------------
DROP TABLE IF EXISTS `profile`;
CREATE TABLE `profile` (
`user_id` int(11) NOT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`public_email` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`gravatar_email` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`gravatar_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`location` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`website` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`bio` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL,
`timezone` varchar(40) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`avatar_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`avatar_base_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`user_id`) USING BTREE,
CONSTRAINT `fk_user_profile` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of profile
-- ----------------------------
INSERT INTO `profile` VALUES (2, '<NAME>', '', '', '<PASSWORD>', '', '', '', 'Asia/Bangkok', NULL, NULL);
-- ----------------------------
-- Table structure for social_account
-- ----------------------------
DROP TABLE IF EXISTS `social_account`;
CREATE TABLE `social_account` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NULL DEFAULT NULL,
`provider` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`client_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`data` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL,
`code` varchar(32) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`created_at` int(11) NULL DEFAULT NULL,
`email` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`username` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `account_unique`(`provider`, `client_id`) USING BTREE,
UNIQUE INDEX `account_unique_code`(`code`) USING BTREE,
INDEX `fk_user_account`(`user_id`) USING BTREE,
CONSTRAINT `fk_user_account` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Table structure for tb_caller
-- ----------------------------
DROP TABLE IF EXISTS `tb_caller`;
CREATE TABLE `tb_caller` (
`caller_ids` int(11) NOT NULL AUTO_INCREMENT COMMENT 'running',
`q_ids` int(11) NULL DEFAULT NULL,
`qtran_ids` int(11) NULL DEFAULT NULL,
`service_sec_id` int(11) NULL DEFAULT NULL,
`counter_service_id` int(11) NULL DEFAULT NULL COMMENT 'ชื่อช่องบริการ',
`call_timestp` datetime(0) NULL DEFAULT NULL COMMENT 'เวลาที่เรียก',
`created_by` int(11) NULL DEFAULT NULL COMMENT 'ผู้เรียก',
`created_at` datetime(0) NULL DEFAULT NULL,
`updated_by` int(11) NULL DEFAULT NULL,
`updated_at` datetime(0) NULL DEFAULT NULL,
`call_status` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'รอเรียก/เรียกแล้ว/Hold',
PRIMARY KEY (`caller_ids`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Table structure for tb_counterservice
-- ----------------------------
DROP TABLE IF EXISTS `tb_counterservice`;
CREATE TABLE `tb_counterservice` (
`counterserviceid` int(11) NOT NULL AUTO_INCREMENT COMMENT 'เลขที่บริการ',
`counterservice_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'ชื่อบริการ',
`counterservice_callnumber` int(11) NULL DEFAULT NULL,
`counterservice_type` int(11) NULL DEFAULT NULL COMMENT 'ประเภทบริการ',
`servicegroupid` int(11) NULL DEFAULT NULL,
`userid` int(11) NULL DEFAULT NULL COMMENT 'ผู้ให้บริการ (1,2,3 หรือ all)',
`sec_id` int(11) NULL DEFAULT NULL COMMENT 'แผนก',
`sound_stationid` int(11) NULL DEFAULT NULL,
`sound_typeid` int(11) NULL DEFAULT NULL COMMENT 'ประเภทเสียง',
`counterservice_status` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`sound_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`sound_service_number` int(11) NULL DEFAULT NULL,
`sound_service_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`counterserviceid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of tb_counterservice
-- ----------------------------
INSERT INTO `tb_counterservice` VALUES (2, 'โต๊ะคัดกรอง 1', NULL, 1, NULL, NULL, 1, 1, 1, '1', 'Prompt1', 1, 'Prompt1_Service0.wav');
INSERT INTO `tb_counterservice` VALUES (3, 'โต๊ะคัดกรอง 2', NULL, 1, NULL, NULL, 1, 1, 1, '1', 'Prompt1', 2, 'Prompt1_Service0.wav');
INSERT INTO `tb_counterservice` VALUES (4, 'ห้องตรวจ 1', NULL, 2, NULL, 1, 1, 1, 1, '1', 'Prompt1', 1, 'Prompt1_Service2.wav');
INSERT INTO `tb_counterservice` VALUES (5, 'ห้องตรวจ 2', NULL, 2, NULL, 2, 1, 1, 1, '1', 'Prompt1', 2, 'Prompt1_Service2.wav');
INSERT INTO `tb_counterservice` VALUES (6, 'ห้องตรวจ 3', NULL, 2, NULL, 3, 1, 1, 1, '1', 'Prompt1', 3, 'Prompt1_Service2.wav');
INSERT INTO `tb_counterservice` VALUES (7, 'ห้องตรวจ 4', NULL, 2, NULL, 7, 1, 1, 1, '1', 'Prompt1', 4, 'Prompt1_Service2.wav');
INSERT INTO `tb_counterservice` VALUES (8, 'ห้องเจาะเลือด 1', NULL, 3, NULL, NULL, 2, 1, 1, '1', 'Prompt1', 1, 'Prompt1_Service0.wav');
-- ----------------------------
-- Table structure for tb_counterservice_type
-- ----------------------------
DROP TABLE IF EXISTS `tb_counterservice_type`;
CREATE TABLE `tb_counterservice_type` (
`tb_counterservice_typeid` int(11) NOT NULL AUTO_INCREMENT,
`tb_counterservice_type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`q_waiting_status` int(11) NOT NULL COMMENT 'สถานะรอ',
`q_calling_status` int(11) NOT NULL COMMENT 'สถานะเรียก',
PRIMARY KEY (`tb_counterservice_typeid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of tb_counterservice_type
-- ----------------------------
INSERT INTO `tb_counterservice_type` VALUES (1, 'โต๊ะคัดกรอง', 1, 2);
INSERT INTO `tb_counterservice_type` VALUES (2, 'ห้องตรวจ', 5, 7);
INSERT INTO `tb_counterservice_type` VALUES (3, 'ห้องเจาะเลือด', 3, 4);
-- ----------------------------
-- Table structure for tb_display_config
-- ----------------------------
DROP TABLE IF EXISTS `tb_display_config`;
CREATE TABLE `tb_display_config` (
`display_ids` int(11) NOT NULL AUTO_INCREMENT,
`display_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`counterservice_type` int(11) NOT NULL,
`title_left` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`title_right` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`table_title_left` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`table_title_right` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`display_limit` int(11) NOT NULL,
`hold_label` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`header_color` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`column_color` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`background_color` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`font_color` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`border_color` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`title_color` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`display_ids`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of tb_display_config
-- ----------------------------
INSERT INTO `tb_display_config` VALUES (1, 'คัดกรอง', 1, 'เรียกคิวคัดกรอง', 'อายุรกรรม', 'หมายเลข', 'ช่อง', 4, 'คิวที่เรียกไปแล้ว', '#000000', '#666666', '#204d74', '#ffffff', '#ffffff', '#62cb31');
INSERT INTO `tb_display_config` VALUES (2, 'ห้องตรวจ', 2, 'เรียกคิวห้องตรวจ', 'อายุรกรรม', 'หมายเลข', 'ห้อง', 4, 'คิวที่เรียกไปแล้ว', '#000000', '#666666', '#204d74', '#ffffff', '#ffffff', '#62cb31');
INSERT INTO `tb_display_config` VALUES (3, 'ห้องเจาะเลือด', 3, 'เรียกคิวห้องเจาะเลือด', 'เจาะเลือด', 'หมายเลข', 'ช่อง', 4, 'คิวที่เรียกไปแล้ว', '#000000', '#666666', '#204d74', '#ffffff', '#ffffff', '#62cb31');
-- ----------------------------
-- Table structure for tb_his_data
-- ----------------------------
DROP TABLE IF EXISTS `tb_his_data`;
CREATE TABLE `tb_his_data` (
`ids` int(11) NOT NULL AUTO_INCREMENT COMMENT 'running',
`q_vn` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'Visit number ของผู้ป่วย',
`q_hn` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'หมายเลข HN ผู้ป่วย',
`pt_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`pt_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'ชื่อผู้ป่วย',
`pt_visit_type_id` int(11) NULL DEFAULT NULL,
`pt_appoint_secid` int(11) NULL DEFAULT NULL COMMENT 'แผนกที่นัดหมาย',
`doctor_id` int(11) NULL DEFAULT NULL COMMENT 'รหัสแพทย์ผู้นัดหมาย',
PRIMARY KEY (`ids`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 717 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of tb_his_data
-- ----------------------------
INSERT INTO `tb_his_data` VALUES (2, '2', '6145539', NULL, 'นายธราวุธ ขาวยะบุตร', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (3, '3', '6145541', NULL, 'นายนพรุจ หาริชัย', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (4, '4', '6145547', NULL, 'นายวัชรินทร์ เวชกามา', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (5, '5', '6145552', NULL, 'นายอันดรูว์ ศรีมุกดา', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (6, '6', '6145558', NULL, 'นางสาวจันทรัตน์ กลยณีย์', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (7, '7', '6145560', NULL, 'นางสาวธนภร คณาณุวัฒนวนิช', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (8, '8', '6145564', NULL, 'นางสาวเบญญทิพย์ กุจะพันธ์', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (9, '9', '6145567', NULL, 'นางสาวปิยะวรรณ ชมภูหลวง', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (10, '10', '6145568', NULL, 'นางสาวปุณยนุช ประโคทัง', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (11, '11', '6145571', NULL, 'นางสาวพิชญานันท์ ทองอันตัง', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (12, '12', '6145575', NULL, 'นางสาวมัชฌิมา กิณเรศ', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (13, '13', '6145577', NULL, 'นางสาวรุ้งจรัส จันทรังษี', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (14, '14', '6145579', NULL, 'นางสาววิชญาดา โยตะสี', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (15, '15', '6145580', NULL, 'นางสาววิชญาภา จันทร์นามวงค์', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (16, '16', '6145581', NULL, 'นางสาวศิรประภา บุญท้าว', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (17, '17', '6145583', NULL, 'นางสาวสุทิตา สิงห์สวัสดิ์', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (18, '18', '6145585', NULL, 'นางสาวอัสพาภรณ์ พันธ์สวรรค์', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (19, '19', '6145594', NULL, 'นายณัฏฐณิช ราชบุญเรือง', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (20, '20', '6145597', NULL, 'นายธราเทพ สานุศิษย์', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (21, '21', '6145598', NULL, 'นายปริวัตร โสมแผ้ว', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (22, '22', '6145600', NULL, 'นายพิชญา เปรมอุดม', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (23, '23', '6145603', NULL, 'นายอานนท์ บุญสิทธิ์', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (24, '24', '6145616', NULL, 'นางสาวปรารถนา สุวรรณพันธ์', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (25, '25', '6145622', NULL, 'นางสาวภาวัชญา พิลาวรรณ', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (26, '26', '6145629', NULL, 'นางสาวสิริรัตน์ มุลตะกร', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (27, '27', '6145653', NULL, 'นายรัฎฌานนท์ ภูกองไชย', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (28, '28', '6145658', NULL, 'นายอุกฤษฎ์ ฮ่มป่า', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (29, '29', '6145686', NULL, 'นายตุลาการ อุ่นศิริ', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (30, '30', '6145699', NULL, 'นายอิทธิกร ประกายศักดิ์', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (31, '31', '6145720', NULL, 'นางสาวมิ่งขวัญ มุงคุณ', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (32, '32', '6145722', NULL, 'นางสาวรวิวรรณ เภาโพธิ์', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (33, '33', '6146137', NULL, 'นายชนาธิป เหลืองชาลี', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (34, '34', '6146138', NULL, 'นายณัฐสิทธิ์ ศรีมุกดา', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (35, '35', '6146139', NULL, 'นายธณดล กาวิละแพทย์', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (36, '36', '6146140', NULL, 'นายธนาคม พันธุ์สีเลา', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (37, '37', '6146141', NULL, 'นายบดินทร์ เสนีวงศ์ ณ อยุธยา', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (38, '38', '6146142', NULL, 'นายพรหมเทพ อนุญาหงษ์', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (39, '39', '6146147', NULL, 'นายสุภวัฒน์ ปัญจะ', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (40, '40', '6146150', NULL, 'นางสาวเจษณี ดาบสีพาย', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (41, '41', '6146151', NULL, 'นางสาวชุติกาญจน์ กวีวรญาณ', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (42, '42', '6146153', NULL, 'นางสาวฑิตฐิตา ทะแพงพันธ์', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (43, '43', '6146155', NULL, 'นางสาวปฏิญาพร กวดวงศ์ษา', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (44, '44', '6146156', NULL, 'นางสาวปทิตตา ยุพิน', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (45, '45', '6146161', NULL, 'นางสาววริศรา วงศ์มหาชัย', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (46, '46', '6146162', NULL, 'นางสาวศุภลักษ์ แพงจ่าย', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (47, '47', '6146163', NULL, 'นางสาวสโรชา พรศิลปกุล', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (48, '48', '6146189', NULL, 'นางสาวสรวงชนก ระเวงวรรณ', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (49, '49', '6148820', NULL, 'นายวชิรวิทย์ บุตรประชา', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (50, '50', '6148821', NULL, 'นายแดนนี่ ชีฟาล่า', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (51, '51', '6145536', NULL, 'นายกสิวัฒน์ ขาวขันธ์', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (52, '52', '6145545', NULL, 'นายรัตติพงศ์ ไชยรา', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (53, '53', '6145546', NULL, 'นายวัชรพล ทิพกุล', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (54, '54', '6145549', NULL, 'นายวิภพ ใครบุตร', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (55, '55', '6145551', NULL, 'นายอรรถพล วรรณศรี', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (56, '56', '6145561', NULL, 'นางสาวธนัชชนก อภิวัชรกุล', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (57, '57', '6145570', NULL, 'นางสาวพิกุลแก้ว แก้วพิกุล', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (58, '58', '6145573', NULL, 'นางสาวภัทรพร สิงห์คาม', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (59, '59', '6145605', NULL, 'นางสาวกมลวรรณ เคะนะอ่อน', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (60, '60', '6145607', NULL, 'นางสาวจิดาภา ศรีมามาศ', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (61, '61', '6145614', NULL, 'นางสาวเบญญาภา ขันทีท้าว', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (62, '62', '6145620', NULL, 'นางสาวพัชรีภรณ์ ปานโบ', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (63, '63', '6145632', NULL, 'นางสาวสุพิชชา อุทัยวี', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (64, '64', '6145644', NULL, 'นายฐานทัพ เศียรกระโทก', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (65, '65', '6145646', NULL, 'นายธนภัทร กันบุรมย์', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (66, '66', '6145650', NULL, 'นายพงศภัค เปลี่ยนเอก', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (67, '67', '6145654', NULL, 'นายวงศธร วรกิตติกุล', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (68, '68', '6145659', NULL, 'นางสาวกนิษฐนาฏ เสาวภาคลิมป์กุล', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (69, '69', '6145660', NULL, 'นางสาวกษวรรณ เดชผล', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (70, '70', '6145664', NULL, 'นางสาวณัฎฐณิภร จุลพล', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (71, '71', '6145667', NULL, 'นางสาวทิวาวรรณ แก้วก่า', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (72, '72', '6145671', NULL, 'นางสาวบัญฑิตา พรมสุ่ย', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (73, '73', '6145682', NULL, 'นางสาวสุริมา กลยนี', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (74, '74', '6145684', NULL, 'นางสาวอรพรรณ เสนาคำ', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (75, '75', '6145689', NULL, 'นายปรารภ ไตรพิษ', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (76, '76', '6145696', NULL, 'นายอนันต์ สุนทรา', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (77, '77', '6145709', NULL, 'นางสาวตวัน ทัศนบรรลือ', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (78, '78', '6145719', NULL, 'นางสาวภิฌาฎา แสนรัษฎากร', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (79, '79', '6145723', NULL, 'นางสาววรรณชนก รูปเหลี่ยม', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (80, '80', '6145724', NULL, 'นางสาววรีวรรณ นามตาแสง', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (81, '81', '6145731', NULL, 'นางสาวศุภัชฌา เดชะ', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (82, '82', '6145746', NULL, 'นายนพณัฐ ธาตุระหัน', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (83, '83', '6145750', NULL, 'นายวิทวัส ธารเอี่ยม', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (84, '84', '6145793', NULL, 'นายนมากรณ์ ศรีพลพา', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (85, '85', '6145825', NULL, 'นางสาวรดาศา คำเมือง', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (86, '86', '6145834', NULL, 'นางสาวอาทิรยา วรรณจันทร์', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (87, '87', '6145848', NULL, 'นางสาวกนกพร ฐานทนดี', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (88, '88', '6145861', NULL, 'นางสาวดารารัตน์ เพลิดพราว', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (89, '89', '6146154', NULL, 'นางสาวธนสรณ์ ทองสุทธา', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (90, '90', '6146170', NULL, 'นายดิศรณ์ นามละคร', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (91, '91', '6146172', NULL, 'นายนภดล มุกดาประเสริฐ', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (92, '92', '6146192', NULL, 'นางสาวสิริยากร วินิจสุมานนท์', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (93, '93', '6147262', NULL, 'นางสาวกาญจนา แซ่ตั้น', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (94, '94', '6147270', NULL, 'นางสาวกนกพร พรมเรียน', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (95, '95', '6148822', NULL, 'นายศิริภูมิ นิ่มมา', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (96, '96', '6148823', NULL, 'นายสหัสวรรษ แจ่มจำรัส', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (97, '97', '6148824', NULL, 'นายอภิวัฒน์ ผ่ามวัน', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (98, '98', '6148825', NULL, 'นางสาวทิพาวรรณ อ่อนโสตะ', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (99, '99', '6148826', NULL, 'นางสาวปาริชาติ ยศทอง', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (100, '100', '6145543', NULL, 'นายปิยะบุตร ปัทมธรรมกุล', 2, NULL, NULL);
INSERT INTO `tb_his_data` VALUES (101, '101', '6145556', NULL, 'นางสาวกัญญารัตน์ ก้อนแพง', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (102, '102', '6145562', NULL, 'นางสาวธีร์จุฑา แสนวิเศษ', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (103, '103', '6145563', NULL, 'นางสาวนันทพร จันทร์สะอาด', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (104, '104', '6145565', NULL, 'นางสาวปณัดดา เสนาชัย', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (105, '105', '6145590', NULL, 'นายกานต์ เกียรติสุขุมพงศ์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (106, '106', '6145592', NULL, 'นายเจริญพร สุวรรณธร', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (107, '107', '6145604', NULL, 'นางสาวกนกรัตน์ ปทุมวัน', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (108, '108', '6145610', NULL, 'นางสาวชุติกาญจน์ ประทุมทอง', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (109, '109', '6145611', NULL, 'นางสาวณัฐกานต์ อิ้มพัฒน์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (110, '110', '6145617', NULL, 'นางสาวปวีณา ศิริเดชไชยวงศ์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (111, '111', '6145619', NULL, 'นางสาวพรรณภัทร สุนสิน', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (112, '112', '6145621', NULL, 'นางสาวพิชญาภา ป้อมไชยา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (113, '113', '6145627', NULL, 'นางสาวศตนันท์ แก้วอุดม', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (114, '114', '6145628', NULL, 'นางสาวสริตา มีเกาะ', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (115, '115', '6145631', NULL, 'นางสาวสุนิสา กัญญาน้อย', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (116, '116', '6145638', NULL, 'นายกิตติศักดิ์ พลอาษา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (117, '117', '6145641', NULL, 'นายจิรภัทร ร่มเกษ', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (118, '118', '6145647', NULL, 'นายธรรมรัตน์ พอกเพิ่มดี', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (119, '119', '6145662', NULL, 'นางสาวกุลสตรี ศรีเรืองสุข', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (120, '120', '6145666', NULL, 'นางสาวดุจดาว เถาว์กลาง', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (121, '121', '6145687', NULL, 'นายธนพล ศรีพรหมษา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (122, '122', '6145688', NULL, 'นายนนทวัฒน์ แพงสาร', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (123, '123', '6145695', NULL, 'นายหาญ ฮึกเหิม', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (124, '124', '6145698', NULL, 'นายอัมรินทร์ อุตระหงษ์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (125, '125', '6145708', NULL, 'นางสาวณิชามญชุ์ อุปพงษ์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (126, '126', '6145711', NULL, 'นางสาวนิตินพรัช ก่อทอง', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (127, '127', '6145717', NULL, 'นางสาวเพ็ญนภา หลินภู', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (128, '128', '6145762', NULL, 'นางสาวณัฎฐ์ชญา ขวัญสงค์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (129, '129', '6145773', NULL, 'นางสาวพรณิชชา ตงศิริ', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (130, '130', '6145803', NULL, 'นายสุรพัศ อุดมผล', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (131, '131', '6145822', NULL, 'นางสาวปรางทิพย์ ประกอบนา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (132, '132', '6145826', NULL, 'นางสาวรวิสรา เรืองชัยธนกูล', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (133, '133', '6145844', NULL, 'นายยุทธชัย วิชนา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (134, '134', '6145849', NULL, 'นางสาวกรชนก นนทวงษ์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (135, '135', '6145854', NULL, 'นางสาวชลธิชา งามกุดตุ้ม', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (136, '136', '6145856', NULL, 'นางสาวชุติภา สกนธวัฒน์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (137, '137', '6145872', NULL, 'นางสาวมิถุนา ฝอยทอง', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (138, '138', '6145874', NULL, 'นางสาววราทิพย์ ดอนเสนา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (139, '139', '6146177', NULL, 'นางสาวกัญญาภรณ์ รุ่งเรืองวาณิช', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (140, '140', '6148827', NULL, 'นายกฤษฎา พากุล', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (141, '141', '6148828', NULL, 'นายคณัสนันท์ แก้วดี', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (142, '142', '6148829', NULL, 'นายวรรธนัย ไชยตะมาตย์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (143, '143', '6148830', NULL, 'นายวัชรพงษ์ โพธิ์นอก', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (144, '144', '6148831', NULL, 'นายศราวุฒิ ไถนาคำ', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (145, '145', '6148832', NULL, 'นายศุภกิจ บิดร', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (146, '146', '6148833', NULL, 'นางสาวนัฐิยา จันสุข', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (147, '147', '6148834', NULL, 'นางสาวศิริพร ตันเสนา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (148, '148', '6148835', NULL, 'นางสาวสุรินทร แสนสุภา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (149, '149', '6145612', NULL, 'นางสาวณัฐยา มหาวงศ์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (150, '150', '6145623', NULL, 'นางสาวมธุรดา โททุมพล', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (151, '151', '6145636', NULL, 'นายกิตติคุณ สิงห์คำมา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (152, '152', '6145656', NULL, 'นายศุภณัฐ จันทาศรี', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (153, '153', '6145668', NULL, 'นางสาวธนัญญา โถตันคำ', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (154, '154', '6145673', NULL, 'นางสาวพัณทิภา อุสาพรหม', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (155, '155', '6145674', NULL, 'นางสาวพิยะดา แก้วดี', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (156, '156', '6145675', NULL, 'นางสาวรามาวดี โฮมป่า', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (157, '157', '6145676', NULL, 'นางสาวริณรพี ปัญญาประชุม', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (158, '158', '6145680', NULL, 'นางสาวสิริโสภาคย์ สร้อยมาลัย', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (159, '159', '6145681', NULL, 'นางสาวสุดารัตน์ ไกยะฝ่าย', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (160, '160', '6145706', NULL, 'นางสาวชัญญา คำสวัสดิ์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (161, '161', '6145707', NULL, 'นางสาวณัฏฐณิชา ศรีสวัสดิ์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (162, '162', '6145727', NULL, 'นางสาวศศิธร ชินบุตร', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (163, '163', '6145728', NULL, 'นางสาวศศิภัทร โคสาแสง', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (164, '164', '6145732', NULL, 'นางสาวศุภาพิชญ์ นาคบุตรศรี', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (165, '165', '6145734', NULL, 'นางสาวอรุโณทัย อินธิแสง', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (166, '166', '6145741', NULL, 'นายจิรเมธ ศรีหนองห้าง', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (167, '167', '6145745', NULL, 'นายธนภัทร สุวรรณวิเศษ', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (168, '168', '6145757', NULL, 'นางสาวงามผกา อินธิสาร', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (169, '169', '6145765', NULL, 'นางสาวธิดารัตน์ บรรไพร', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (170, '170', '6145771', NULL, 'นางสาวปัทมา ศรีล้านมี', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (171, '171', '6145800', NULL, 'นายยศภัทร ดวงปากดี', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (172, '172', '6145833', NULL, 'นางสาวอัญธิดา นนจันทร์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (173, '173', '6145841', NULL, 'นายธนดล แถมสมดี', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (174, '174', '6146073', NULL, 'นางสาวเนตรชนก ธราพร', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (175, '175', '6146086', NULL, 'นายกรรชิง พรมเสนีย์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (176, '176', '6146167', NULL, 'นายกองทัพ แรงสูงเนิน', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (177, '177', '6146188', NULL, 'นางสาวภวิกา แจ้งสุข', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (178, '178', '6147269', NULL, 'นายศุภชัย พานิชย์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (179, '179', '6148837', NULL, 'นายโชคอนันต์ รันนะโคตร', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (180, '180', '6148839', NULL, 'นายภานุวัฒน์ รุจิวัฒน์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (181, '181', '6148840', NULL, 'นายวทัญญู พลราชม', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (182, '182', '6148841', NULL, 'นางสาวกชพร ยาสาไชย', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (183, '183', '6148842', NULL, 'นางสาวจิณห์จุฑา ศรีหล้า', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (184, '184', '6148843', NULL, 'นางสาวณัชราพร ดาวรุ่งโรจน์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (185, '185', '6148844', NULL, 'นางสาวธนภรณ์ วังคีรี', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (186, '186', '6148845', NULL, 'นางสาวนริศรา ศรีโคตร', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (187, '187', '6148846', NULL, 'นางสาวเปรมฤดี สุริโย', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (188, '188', '6148847', NULL, 'นางสาวพิชชากานต์ มูลโพธิ์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (189, '189', '6148848', NULL, 'นางสาวพิมรา ฮาดคะดี', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (190, '190', '6148849', NULL, 'นางสาวศรินทิพย์ ประฮาดชัย', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (191, '191', '6148851', NULL, 'นางสาวสิริพร ผิวเดช', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (192, '192', '6148852', NULL, 'นางสาวสุชานาถ ฮูวิชิต', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (193, '193', '6148853', NULL, 'นางสาวอาภา สุวรรณสิงห์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (194, '194', '6149042', NULL, 'นางสาวธนาภรณ์ สินวร', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (195, '195', '6149044', NULL, 'นางสาวพัณณิตา กิณเรศ', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (196, '196', '6150706', NULL, 'นายพุฒิพงษ์ ชินโน', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (197, '197', '6145589', NULL, 'นายกันตวิชญ์ เมืองแสน', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (198, '198', '6145602', NULL, 'นายอรรถวิทย์ แดนรักษ์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (199, '199', '6145609', NULL, 'นางสาวชนินาถ พูนปริญญา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (200, '200', '6145642', NULL, 'นายชญานนท์ ทิพม้อม', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (201, '201', '6145649', NULL, 'นายบัณฑิต แสนมุงคุณ', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (202, '202', '6145665', NULL, 'นางสาวณัฏฐณิชา พรหมเชษฐา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (203, '203', '6145669', NULL, 'นางสาวธันยธรณ์ ศรีแก้ว', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (204, '204', '6145691', NULL, 'นายภัทรศักดิ์ นนตะแสน', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (205, '205', '6145700', NULL, 'นายอิสระ วะจีสิงห์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (206, '206', '6145713', NULL, 'นางสาวพธนภรณ์ สุวรรณจันทร์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (207, '207', '6145733', NULL, 'นางสาวสุพิศรา ยาทองไชย', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (208, '208', '6145744', NULL, 'นายธนภัทร จันทะลัย', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (209, '209', '6145754', NULL, 'นางสาวกนกวรรณ จันทะพรหม', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (210, '210', '6145778', NULL, 'นางสาวสุกฤตา สนอุดม', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (211, '211', '6145781', NULL, 'นางสาวอติพร เป้งคำภา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (212, '212', '6145790', NULL, 'นายวรินทร ไชยบุญ', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (213, '213', '6145792', NULL, 'นายนนทนันท์ จำปาที', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (214, '214', '6145795', NULL, 'นายบูรพา ทุมคำ', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (215, '215', '6145796', NULL, 'นายปฏิพัทธ์ ศรีจันทร์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (216, '216', '6145810', NULL, 'นางสาวณัฏฐ์ภรณ์ พันธุออน', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (217, '217', '6145818', NULL, 'นางสาวนริศรา สิมมาคำ', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (218, '218', '6145835', NULL, 'นางสาวไอลดา ศรีมงคล', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (219, '219', '6145847', NULL, 'นางสาวกชกร สืบสิงห์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (220, '220', '6145858', NULL, 'นางสาวณัฐริกา คณานันท์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (221, '221', '6145859', NULL, 'นางสาวณัฐริกานต์ พรมเมือง', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (222, '222', '6145866', NULL, 'นางสาวนิศารัตน์ ชุมปัญญา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (223, '223', '6145871', NULL, 'นางสาวภาวิตา ไชยสัตย์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (224, '224', '6145966', NULL, 'นางสาวจุฑามาศ แก่นแก้ว', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (225, '225', '6145970', NULL, 'นางสาวณัฐฐินันท์ เดชธิสา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (226, '226', '6146120', NULL, 'นางสาวณัฐริกา แก้ววันนา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (227, '227', '6146127', NULL, 'นางสาวภัทรนันท์ ทองเถาว์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (228, '228', '6146174', NULL, 'นายวิชัยชาญ บุญเฮ้า', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (229, '229', '6148854', NULL, 'นายนพฤทธิ์ นวานุช', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (230, '230', '6148855', NULL, 'นายพงศกร อุดร', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (231, '231', '6148856', NULL, 'นายพุฒิพงค์ ต้นศรี', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (232, '232', '6148857', NULL, 'นายสุวสันต์ ปทุมมาศ', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (233, '233', '6148858', NULL, 'นางสาวกรกนก ใยวังหน้า', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (234, '234', '6148859', NULL, 'นางสาวจิราภรณ์ เดชขันธ์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (235, '235', '6148860', NULL, 'นางสาวณัฐณิชา ศรีเพชร', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (236, '236', '6148861', NULL, 'นางสาวน้ำพลอย อัมไพพันธ์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (237, '237', '6148862', NULL, 'นางสาวนิรชา คำสิงห์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (238, '238', '6148863', NULL, 'นางสาวเนรัญชลา ทองเลิศ', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (239, '239', '6148864', NULL, 'นางสาวบุษยารัตน์ ทองทา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (240, '240', '6148865', NULL, 'นางสาวปวีณา การุญ', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (241, '241', '6148866', NULL, 'นางสาวพรนภัส พลวงค์ษา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (242, '242', '6148868', NULL, 'นางสาวพิทยารัตน์ พ่อชมภู', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (243, '243', '6148869', NULL, 'นางสาวสุดาภา จันทะรังษี', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (244, '244', '6148870', NULL, 'นางสาวอมิตา กิ้วภาวัน', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (245, '245', '6148871', NULL, 'นางสาวอัจฉริยา เหลาพรม', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (246, '246', '6148872', NULL, 'นางสาวอารียา พานโฮม', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (247, '247', '6149882', NULL, 'นางสาวสุวพิชญ์ บุญเรือง', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (248, '248', '6145645', NULL, 'นายณัฐวัฒน์ สกุลวงศ์วณิชย์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (249, '249', '6145694', NULL, 'นายสุรวุฒิ ศรีมงคล', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (250, '250', '6145737', NULL, 'นายกานต์ชนก ธีระอกนิษฐ์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (251, '251', '6145739', NULL, 'นายกุลภัสสร์ เกาะแก้ว', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (252, '252', '6145742', NULL, 'นายเจษฎา ผาไธสงค์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (253, '253', '6145756', NULL, 'นางสาวคณิตา วรพันธ์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (254, '254', '6145764', NULL, 'นางสาวดนิตา เที่ยงธรรม', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (255, '255', '6145768', NULL, 'นางสาวนัทธมน ตรงวัฒนาวุฒิ', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (256, '256', '6145798', NULL, 'นายภานุวัฒน์ โทพล', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (257, '257', '6145813', NULL, 'นางสาวธนัชพร ฤกษ์ฉวี', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (258, '258', '6145820', NULL, 'นางสาวบุญญานุช ไชยวงศ์คต', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (259, '259', '6145842', NULL, 'นางสาวธาริณี นนตะแสน', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (260, '260', '6145862', NULL, 'นางสาวธัญญพร ทองบัว', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (261, '261', '6145870', NULL, 'นางสาวพิชญาภา หนาดคำ', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (262, '262', '6145877', NULL, 'นางสาววันวิสาข์ กงลีมา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (263, '263', '6145891', NULL, 'นายณัฐวัตร แสงคำ', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (264, '264', '6145898', NULL, 'นายธีรภัทร บุตตะโคตร', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (265, '265', '6145931', NULL, 'นางสาววิชุรดา ปานพรม', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (266, '266', '6145932', NULL, 'นางสาวศศิวิมล สมสายผล', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (267, '267', '6145977', NULL, 'นางสาวพิชชาภา รอบรู้', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (268, '268', '6145983', NULL, 'นางสาวสุพิชญา โนยราช', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (269, '269', '6145984', NULL, 'นางสาวสุภิศตา พลราชม', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (270, '270', '6146025', NULL, 'นางสาวเบญจพร บุญชู', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (271, '271', '6146030', NULL, 'นางสาวภาวินี ทะชัยวงศ์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (272, '272', '6146035', NULL, 'นางสาวอภิญญา ไชยศรี', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (273, '273', '6146070', NULL, 'นางสาวณิชมน คนชุม', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (274, '274', '6146075', NULL, 'นางสาวมินตรา ฮมแสน', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (275, '275', '6146083', NULL, 'นางสาวอรปรียา หาญจำปา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (276, '276', '6146093', NULL, 'นายธงไทย ศิริขันธ์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (277, '277', '6146094', NULL, 'นายธนทัต คำพันธ์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (278, '278', '6146102', NULL, 'นายภัทรภณ จวนสาง', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (279, '279', '6146114', NULL, 'นางสาวกมลวรรณ จันทรังษี', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (280, '280', '6146134', NULL, 'นางสาวอมรพรรณ ฤทธิ์ตะเกตุ', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (281, '281', '6146175', NULL, 'นายวุฒิกร พูนปริญญา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (282, '282', '6147266', NULL, 'นางสาวมุกดา กิจดี', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (283, '283', '6147268', NULL, 'นายณัฐพนธ์ ทัศนพงษ์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (284, '284', '6148873', NULL, 'นายกิตติศักดิ์ เรืองสวัสดิ์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (285, '285', '6148876', NULL, 'นายนพณัฐ เทศรุ่งเรือง', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (286, '286', '6148877', NULL, 'นายปิยทัศน์ แสนศิลา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (287, '287', '6148878', NULL, 'นายภานุกร ไชยรา', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (288, '288', '6148880', NULL, 'นายสิรภพ ยางธิสาร', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (289, '289', '6148881', NULL, 'นางสาวจริยา จันทบาล', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (290, '290', '6148882', NULL, 'นางสาวจุลฑาทิพย์ ชะนะแสบง', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (291, '291', '6148883', NULL, 'นางสาวฐิติรัตน์ ใครบุตร', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (292, '292', '6148884', NULL, 'นางสาวสิรินาฎ เชื้อตาหมื่น', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (293, '293', '6148885', NULL, 'นางสาวหนึ่งฤทัย มีไกรราช', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (294, '294', '6148965', NULL, 'นางสาวสุวิภา ทักษ์สิน', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (295, '295', '6149041', NULL, 'นางสาวกชกร ผลเอี่ยม', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (296, '296', '6145657', NULL, 'นายอนิวรรต มาลีลัย', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (297, '297', '6145661', NULL, 'นางสาวกิริติยา นันทะวงค์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (298, '298', '6145678', NULL, 'นางสาวศิริลักษณ์ อุปพงษ์', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (299, '299', '6145725', NULL, 'นางสาววาสินี ทันอินทรอาจ', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (300, '300', '6145726', NULL, 'นางสาวแวววัน กลิ่นไสว', 1, 1, 1);
INSERT INTO `tb_his_data` VALUES (301, '301', '6145747', NULL, 'นายพงศธร พลราชม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (302, '302', '6145777', NULL, 'นางสาวศุภาพิชญ์ ตรงวัฒนาวุฒิ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (303, '303', '6145785', NULL, 'นางสาวอุมาพร เทพประสิทธิ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (304, '304', '6145816', NULL, 'นางสาวนงนภัส สุทธิชัยตระกูล', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (305, '305', '6145829', NULL, 'นางสาวโสภาพรรณ ตรีถาวรพิศาล', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (306, '306', '6145867', NULL, 'นางสาวบุษบง วงค์สีดา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (307, '307', '6145883', NULL, 'นางสาวอรญา สูงภิไลย์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (308, '308', '6145892', NULL, 'นายทฤษฎี เจริญชัย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (309, '309', '6145905', NULL, 'นายวชิรวิทย์ เจริญพร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (310, '310', '6145920', NULL, 'นางสาวเนตรอัปสร สุหญ้านาง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (311, '311', '6145923', NULL, 'นางสาวปาริดา วงศ์ษาสิทธิ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (312, '312', '6145927', NULL, 'นางสาวพิชชาอร รักษา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (313, '313', '6145951', NULL, 'นายรัชชานนท์ ศิริสานต์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (314, '314', '6145975', NULL, 'นางสาวปรารถนา ไปแดน', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (315, '315', '6145980', NULL, 'นางสาววนาลี พลวงศ์ษา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (316, '316', '6146023', NULL, 'นางสาวนนทินี จันทะจร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (317, '317', '6146049', NULL, 'นายนคเรศ คำภูแสน', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (318, '318', '6146055', NULL, 'นายวัชรวีร์ ประพันธ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (319, '319', '6146065', NULL, 'นางสาวกิติยาภรณ์ อรรถวิลัย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (320, '320', '6146079', NULL, 'นางสาววิภาพร ธ.น.โม้', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (321, '321', '6146081', NULL, 'นางสาวอภิญญา ยาโน', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (322, '322', '6146104', NULL, 'นายรัฐธรรม แสงผา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (323, '323', '6146107', NULL, 'นายวิศรุต ศรีนัครินทร์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (324, '324', '6146179', NULL, 'นางสาวโฉมศิริณัฐ โคตรมิตร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (325, '325', '6146187', NULL, 'นางสาวพิมพ์ชนก เจริญรส', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (326, '326', '6148886', NULL, 'นายธนากร นามมุงคุณ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (327, '327', '6148887', NULL, 'นายธนาวุฒิ ทาโยธี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (328, '328', '6148888', NULL, 'นายธีรวัฒน์ เหมะธุลิน', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (329, '329', '6148889', NULL, 'นายภควัต ยาทองไชย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (330, '330', '6148890', NULL, 'นายภานุพงษ์ แสนศรี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (331, '331', '6148891', NULL, 'นายวรพงษ์ หินดำ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (332, '332', '6148892', NULL, 'นายสหรัถ สารเนตร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (333, '333', '6148893', NULL, 'นางสาวกุลนิษฐ์ตา แก้วปัญญา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (334, '334', '6148894', NULL, 'นางสาวจิตรวรรณ วะชุม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (335, '335', '6148895', NULL, 'นางสาวเจนจิรา บุญธรรม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (336, '336', '6148896', NULL, 'นางสาวณัฐวรรณ นาโควงค์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (337, '337', '6148897', NULL, 'นางสาวนัทธ์ชนัน ชาแสน', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (338, '338', '6148898', NULL, 'นางสาวพัชรพร โกษาแสง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (339, '339', '6148899', NULL, 'นางสาวพิชชภรณ์ เครือบุดดี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (340, '340', '6148901', NULL, 'นางสาวโยษิตา ทำเลดี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (341, '341', '6148902', NULL, 'นางสาววรรษกานต์ สัตตาคม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (342, '342', '6148903', NULL, 'นางสาวศิริลักษณ์ พันธุโคตร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (343, '343', '6149043', NULL, 'นายพัชรดล เลิศไธสงค์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (344, '344', '6149880', NULL, 'นางสาวณัฐพร จิตมาตย์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (345, '345', '6149883', NULL, 'นางสาวนิมินันท์ วรวิรุฬห์วงศ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (346, '346', '6150708', NULL, 'นายปฐมพร ประเสริฐสังข์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (347, '347', '6145643', NULL, 'นายชัยวิรัฐ สุดตาสอน', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (348, '348', '6145655', NULL, 'นายศิวกร ไชยปัญหา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (349, '349', '6145730', NULL, 'นางสาวศิริวรรณ ไชยตะมาตย์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (350, '350', '6145738', NULL, 'นายการุณย์ เพชรสังข์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (351, '351', '6145782', NULL, 'นางสาวอทิติยา นารีแพงสี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (352, '352', '6145788', NULL, 'นายคณิศร จำปาแก้ว', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (353, '353', '6145799', NULL, 'นายภานุสรณ์ คำภูแสน', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (354, '354', '6145802', NULL, 'นายสราวุธ กิตติชัยวัฒนา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (355, '355', '6145809', NULL, 'นางสาวณัฏฐา ฉัตรทอง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (356, '356', '6145812', NULL, 'นางสาวณัฐสุดา ไชยชมภู', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (357, '357', '6145830', NULL, 'นางสาวอนันตญา บัวศรี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (358, '358', '6145852', NULL, 'นางสาวเจนนิสา อุปสิทธิ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (359, '359', '6145873', NULL, 'นางสาวรัตติยา ทองชัย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (360, '360', '6145882', NULL, 'นางสาวอรจิรา รัตนพจน์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (361, '361', '6145919', NULL, 'นางสาวนิลาวัลย์ ฤทธิ์ฤาชัย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (362, '362', '6145924', NULL, 'นางสาวพนิดา มูลประสาร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (363, '363', '6145938', NULL, 'นายเกริกไกร ปะละคะ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (364, '364', '6145948', NULL, 'นายนราทร ประกิ่ง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (365, '365', '6145973', NULL, 'นางสาวธนัญญา พิมขันธุ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (366, '366', '6145978', NULL, 'นางสาวมานิกา ไขประภาย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (367, '367', '6145981', NULL, 'นางสาวศุภสุดา พันธ์ดี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (368, '368', '6145993', NULL, 'นายณัฐนนท์ วงษ์ตาแพง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (369, '369', '6145995', NULL, 'นายณัฐพัชร์ เตชโรจนกิตติ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (370, '370', '6146003', NULL, 'นายพรพชร พรมยศ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (371, '371', '6146027', NULL, 'นางสาวปวริศา พลหาญ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (372, '372', '6146066', NULL, 'นางสาวจุราภรณ์ กลิ่นน้อย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (373, '373', '6146087', NULL, 'นายกิตติพงษ์ กิตติศรีรัตนกุล', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (374, '374', '6146095', NULL, 'นายธิตินันท์ โนยราช', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (375, '375', '6146111', NULL, 'นายสิรภพ ศรีสร้อย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (376, '376', '6146115', NULL, 'นางสาวกฤติกา มะโนชัย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (377, '377', '6146124', NULL, 'นางสาวนุชนารถ แก้วชุมภู', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (378, '378', '6146185', NULL, 'นางสาวเบญจวรรณ ณะใจ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (379, '379', '6147284', NULL, 'นางสาวสาธิตา บัณฑิตนวศาสตร์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (380, '380', '6148904', NULL, 'นายชัชวาลย์ พานเงิน', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (381, '381', '6148905', NULL, 'นายพงษ์สันต์ มาตยาคุณ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (382, '382', '6148907', NULL, 'นายสยามรัฐ ผงจำปา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (383, '383', '6148908', NULL, 'นายอภิเดช สังข์สี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (384, '384', '6148909', NULL, 'นางสาวกชกร การุญ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (385, '385', '6148910', NULL, 'นางสาวกานต์มณี สุนสิน', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (386, '386', '6148911', NULL, 'นางสาวจิราภา กุลวงษ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (387, '387', '6148912', NULL, 'นางสาวธิติญาพร ขันธ์ละ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (388, '388', '6148913', NULL, 'นางสาวนาถนฤมล เปี่ยมทองคำ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (389, '389', '6148914', NULL, 'นางสาวบุญวรา เจริญพืช', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (390, '390', '6148915', NULL, 'นางสาวปภาวดี ติยะบุตร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (391, '391', '6148916', NULL, 'นางสาวพรายดาว พุทธจง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (392, '392', '6148918', NULL, 'นางสาวมาริษา คอมแพงจันทร์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (393, '393', '6148919', NULL, 'นางสาวรัตนาพร คำภาพันธ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (394, '394', '6148920', NULL, 'นางสาวศิริวิภา ฝ่ายทะแสง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (395, '395', '6149045', NULL, 'นายคณุตม์ การุญ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (396, '396', '6149920', NULL, 'นายเพชรนคร กลางสาทร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (397, '397', '6145634', NULL, 'นางสาวอภิชญา งอยภูธร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (398, '398', '6145637', NULL, 'นายกิตตินันท์ เรืองสวัสดิ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (399, '399', '6145652', NULL, 'นายเมธา กิ่งโก้', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (400, '400', '6145663', NULL, 'นางสาวชลิตา ห่อหุ้มดี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (401, '401', '6145670', NULL, 'นางสาวน้ำหนึ่ง คำชมภู', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (402, '402', '6145704', NULL, 'นางสาวชญานิษฐ์ โกษาแสง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (403, '403', '6145705', NULL, 'นางสาวชมพูนุช ไชยพิทย์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (404, '404', '6145715', NULL, 'นางสาวพรรษพร เพิ่มผล', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (405, '405', '6145763', NULL, 'นางสาวธัญทิพย์ ไชยขันธุ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (406, '406', '6145772', NULL, 'นางสาวพชรกมล อินทนนท์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (407, '407', '6145784', NULL, 'นางสาวอรนุช พันธ์ศรี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (408, '408', '6145794', NULL, 'นายนันทวุฒิ ตระกูลแสน', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (409, '409', '6145805', NULL, 'นางสาวแก้วรัดเกล้า กลยนี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (410, '410', '6145811', NULL, 'นางสาวณัฐริกา ผายเงิน', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (411, '411', '6145814', NULL, 'นางสาวธนากาญจน์ ศรีนา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (412, '412', '6145860', NULL, 'นางสาวณีรนุช ตาพระ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (413, '413', '6145876', NULL, 'นางสาววัชราภรณ์ ชวนาพิทักษ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (414, '414', '6145878', NULL, 'นางสาวศุภสุดา กองพันธ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (415, '415', '6145897', NULL, 'นายธีรภัทร เต็งจารึกชัย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (416, '416', '6145911', NULL, 'นายศิวพล ไชยฮัง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (417, '417', '6145939', NULL, 'นายเกียรติภูมิ สิงห์คำมา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (418, '418', '6145960', NULL, 'นายสหัสวรรษ ดงบัง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (419, '419', '6146011', NULL, 'นายสรวิศ เบ็ญเจิด', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (420, '420', '6146022', NULL, 'นางสาวธัญญาภรณ์ งิ้วไชยราช', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (421, '421', '6146026', NULL, 'นางสาวปณิตา ไชยมงคล', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (422, '422', '6146052', NULL, 'นายภาณุวัฒน์ โมละดา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (423, '423', '6146053', NULL, 'นายภีมเดช เหมะธุรินทร์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (424, '424', '6146054', NULL, 'นายวรวุฒิ นาคราช', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (425, '425', '6146092', NULL, 'นายตรีพล หาญสนาม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (426, '426', '6146113', NULL, 'นางสาวกนกวรรณ คำเพชร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (427, '427', '6146125', NULL, 'นางสาวปณิตา ผันกลาง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (428, '428', '6146131', NULL, 'นางสาววาสนา ไกยะฝ่าย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (429, '429', '6146430', NULL, 'นางสาวธนภรณ์ ภูลายยาว', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (430, '430', '6147260', NULL, 'นายหานสกล พลข้อ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (431, '431', '6148143', NULL, 'นางสาวธีรนุช อภิชาติหิรัญ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (432, '432', '6148154', NULL, 'นายกีรติ นามโยธา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (433, '433', '6148922', NULL, 'นายณัชพนธ์ สุขรี่', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (434, '434', '6148923', NULL, 'นายธราธิป ครุดอุทา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (435, '435', '6148924', NULL, 'นายพีรณัฐ กุลดิลก', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (436, '436', '6148925', NULL, 'นายวรท จันทรเสนา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (437, '437', '6148926', NULL, 'นางสาวจารุนันท์ มีบุตร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (438, '438', '6148927', NULL, 'นางสาวจารุวรรณ พงษ์สิงห์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (439, '439', '6148928', NULL, 'นางสาวจุฑามาศ ปุณริบูรณ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (440, '440', '6148929', NULL, 'นางสาวณัฏฐริกา ใครบุตร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (441, '441', '6148930', NULL, 'นางสาวปรมาส วงศ์คำจันทร์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (442, '442', '6148931', NULL, 'นางสาวรพีพรรณ ชั้นน้อย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (443, '443', '6148932', NULL, 'นางสาววรรณนิสา นาลงพรม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (444, '444', '6148933', NULL, 'นางสาววิลาสินี บุดดีด้วง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (445, '445', '6148934', NULL, 'นางสาวศุกัญญา ขำคมเขต', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (446, '446', '6149881', NULL, 'นางสาวภัทรวดี วชิรศิริกุล', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (447, '447', '6144961', NULL, 'นายธนายุทธ คำกอง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (448, '448', '6145640', NULL, 'นายจิตติพล สิงห์คำมา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (449, '449', '6145672', NULL, 'นางสาวพัชรี นรสาร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (450, '450', '6145685', NULL, 'นางสาวอลิษา พิศสุวรรณ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (451, '451', '6145714', NULL, 'นางสาวพรพิมล หว่างพัฒน์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (452, '452', '6145735', NULL, 'นางสาวอารยา บุตรวงศ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (453, '453', '6145740', NULL, 'นายเกศฎา ศรีประทุม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (454, '454', '6145748', NULL, 'นายพีรดนย์ พงษ์ไพบูลย์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (455, '455', '6145755', NULL, 'นางสาวกมลลักษณ์ มาตราช', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (456, '456', '6145770', NULL, 'นางสาวปทิตตา แก้วหล่อ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (457, '457', '6145779', NULL, 'นางสาวสุพิชญา ลามคำ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (458, '458', '6145786', NULL, 'นายกฤษณะ จักเครือ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (459, '459', '6145806', NULL, 'นางสาวจิดาภา มาตะรักษ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (460, '460', '6145824', NULL, 'นางสาวพรเทวัญ ที่ภักดี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (461, '461', '6145836', NULL, 'นายจารุวัฒน์ สอนเกิด', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (462, '462', '6145838', NULL, 'นายฐิติวัสส์ โพธิ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (463, '463', '6145840', NULL, 'นายธนชัย แตงรัตนา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (464, '464', '6145850', NULL, 'นางสาวกุลจิรา คำผิว', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (465, '465', '6145869', NULL, 'นางสาวปิยะนารถ พรหมสาขา ณ สกลนคร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (466, '466', '6145901', NULL, 'นายปัณณธร ผาใต้', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (467, '467', '6145916', NULL, 'นางสาวกิตติมา เนื่องสิทธิ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (468, '468', '6145926', NULL, 'นางสาวพาขวัญ น้อยใจบุญ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (469, '469', '6145942', NULL, 'นายณัฐพิเชษฐ์ ปัญญา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (470, '470', '6145949', NULL, 'นางสาวภาณุมาศ ทานาลาด', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (471, '471', '6145972', NULL, 'นางสาวณัฐริกา ฤทธิ์สุวรรณ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (472, '472', '6145976', NULL, 'นางสาวปรารถนา วัฒนะสุระ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (473, '473', '6145986', NULL, 'นายกนกพล นามโยธา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (474, '474', '6146028', NULL, 'นางสาวภควรรณ ศรีวงษา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (475, '475', '6146029', NULL, 'นางสาวภัทรสุดา ธนาไสย์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (476, '476', '6146036', NULL, 'นายกิจภิวัฒน์ จุดดา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (477, '477', '6146041', NULL, 'นายชัยวัฒน์ วชิรศิริกุล', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (478, '478', '6146058', NULL, 'นายศักย์ศรณ์ ส่งเสริม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (479, '479', '6146105', NULL, 'นายวนวิช ตั้งเจริญสกุล', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (480, '480', '6146135', NULL, 'นางสาวไอศวรรย์ ชะเอม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (481, '481', '6146436', NULL, 'นางสาวสุวรี บุริพา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (482, '482', '6147267', NULL, 'นายปรัธนา ปาปะขา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (483, '483', '6148935', NULL, 'นายจิรัสย์ ตีรสวัสดิชัย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (484, '484', '6148936', NULL, 'นายณัฐพงศ์ แสนสุริวงค์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (485, '485', '6148937', NULL, 'นายภัทรนันท์ แสงสุวรรณ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (486, '486', '6148938', NULL, 'นายวุฒิชัย นอนิล', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (487, '487', '6148939', NULL, 'นายสกล ศรีสวัสดิ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (488, '488', '6148940', NULL, 'นายอัจฉริยะ บงบุตร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (489, '489', '6148941', NULL, 'นางสาวคชาภรณ์ ผลจันทร์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (490, '490', '6148942', NULL, 'นางสาวทิพวรรณ รัตนะ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (491, '491', '6148943', NULL, 'นางสาวนริศรา ศรีพลน้อย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (492, '492', '6148944', NULL, 'นางสาวนิศาชล ศรีพั้ว', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (493, '493', '6148945', NULL, 'นางสาวปานชีวา กุลีสูงเนิน', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (494, '494', '6148946', NULL, 'นางสาวภัชรินทร์ ไชยโคตร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (495, '495', '6148948', NULL, 'นางสาววริศรา กรโสภา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (496, '496', '6148949', NULL, 'นางสาววิลาสินี ภูดี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (497, '497', '6148950', NULL, 'นางสาวอภิญญา ยมสีดำ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (498, '498', '6145690', NULL, 'นายพันธการ ฮังชัย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (499, '499', '6145693', NULL, 'นายสหัสวรรษ ดำรงค์กิจ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (500, '500', '6145697', NULL, 'นายอัครพล พจนา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (501, '501', '6145758', NULL, 'นางสาวจิราพร โสภา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (502, '502', '6145767', NULL, 'นางสาวนนทิชา ศรีวงษ์ลัก', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (503, '503', '6145769', NULL, 'นางสาวเนตรชนก ชุ่มผึ้ง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (504, '504', '6145783', NULL, 'นางสาวอมิตา โรมรัมย์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (505, '505', '6145815', NULL, 'นางสาวธันยพร ลีมงคล', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (506, '506', '6145885', NULL, 'นางสาวอัญชุลี อนันตภูมิ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (507, '507', '6145902', NULL, 'นายพีรพล นายางเจริญ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (508, '508', '6145946', NULL, 'นายธนวัฒน์ บุษมงคล', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (509, '509', '6145947', NULL, 'นายธวัชชัย ชาวเวียง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (510, '510', '6145953', NULL, 'นายวิชยุตม์ จารีรัตน์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (511, '511', '6145956', NULL, 'นายศิริวัฒน์ ไพเรืองโสม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (512, '512', '6145965', NULL, 'นางสาวกมลชนก ทิพม่อม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (513, '513', '6145982', NULL, 'นางสาวสิปปปวีร์ ไชยบุบผา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (514, '514', '6145990', NULL, 'นายจิรภัทร แสงจันทร์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (515, '515', '6145992', NULL, 'นายชัชวาลย์ เศษมาตร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (516, '516', '6145994', NULL, 'นายณัฐพงศ์ บุตรงาม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (517, '517', '6145997', NULL, 'นายธนกร อินทรพาณิชย์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (518, '518', '6145998', NULL, 'นายนรบดี สุภาผล', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (519, '519', '6146007', NULL, 'นายภัทรพล พลราษฎร์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (520, '520', '6146009', NULL, 'นายวีรยุทธ จันทร์น้อย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (521, '521', '6146010', NULL, 'นายสรนันท์ เลิศศรี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (522, '522', '6146012', NULL, 'นายสหัสวรรษ หิริโกกุล', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (523, '523', '6146013', NULL, 'นายอัศวิน กลางนนท์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (524, '524', '6146019', NULL, 'นางสาวณัฐิริณี ศิริฟอง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (525, '525', '6146042', NULL, 'นายชาคริต ศิริจันทพันธ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (526, '526', '6146044', NULL, 'นายธนวัฒน์ จันใด', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (527, '527', '6146045', NULL, 'นายธนวัฒน์ ศรีพานิชย์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (528, '528', '6146048', NULL, 'นายธีรภัทร บรรณาลัย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (529, '529', '6146072', NULL, 'นางสาวนัฏฐิกา ไตรวงศ์ย้อย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (530, '530', '6146074', NULL, 'นางสาวปรายฟ้า อินธิแสง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (531, '531', '6146078', NULL, 'นางสาววาสนา ศิริสวัสดิ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (532, '532', '6146080', NULL, 'นางสาวศุฑาทิพย์ สุขามานพ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (533, '533', '6146084', NULL, 'นางสาวอัจฉราภรณ์ แสงจันทร์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (534, '534', '6146117', NULL, 'นางสาวชุติกาณฑ์ นาเชียงใต้', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (535, '535', '6146126', NULL, 'นางสาวปิยธิดา ผลประสาท', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (536, '536', '6147261', NULL, 'นางสาวกันตินันท์ สัญญะงาม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (537, '537', '6148867', NULL, 'นางสาวพัชริดา สัพโส', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (538, '538', '6148875', NULL, 'นายณัฐภัทร มาตราช', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (539, '539', '6149921', NULL, 'นางสาวชาริกา มาลาศิริ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (540, '540', '6145701', NULL, 'นางสาวธมกร พ่อหลอน', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (541, '541', '6145887', NULL, 'นายจตุฤทธิ์ มุงคุณ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (542, '542', '6145890', NULL, 'นายชลากร นวลมณี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (543, '543', '6145894', NULL, 'นายธนบูรณ์ สุธรรม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (544, '544', '6145909', NULL, 'นายศักดิ์สิทธิ์ ขันทีท้าว', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (545, '545', '6145914', NULL, 'นางสาวกนกเรขา พรหมสาขา ณ สกลนคร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (546, '546', '6145934', NULL, 'นางสาวสุชัญญา เสนาไชย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (547, '547', '6145940', NULL, 'นายคณาวุฒิ กัลยา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (548, '548', '6145944', NULL, 'นายทศวรรษ แก่นประชา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (549, '549', '6145955', NULL, 'นายวุฒินันท์ เดชสุวรรณ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (550, '550', '6145962', NULL, 'นายอภิภูมิ บุญบุตร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (551, '551', '6145963', NULL, 'นายอรรถพล แว่นเตื่อรอง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (552, '552', '6145964', NULL, 'นายอาธิกรณ์ อุปพงษ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (553, '553', '6146001', NULL, 'นายนิติวัฒน์ กันเสนา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (554, '554', '6146033', NULL, 'นางสาวสุธิดา วงศ์อุดม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (555, '555', '6146043', NULL, 'นายธนพงศ์ จันทหลุย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (556, '556', '6146050', NULL, 'นายนิติวุฒิ คำชมภู', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (557, '557', '6146063', NULL, 'นางสาวกมลพรรณ อนันต์ลักษณ์การ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (558, '558', '6146099', NULL, 'นายพิสิฐ อรุณเกียรติก้อง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (559, '559', '6146119', NULL, 'นางสาวณภัทร กรองกาญจนสิริ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (560, '560', '6146128', NULL, 'นางสาวมณินทร งามขำ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (561, '561', '6146431', NULL, 'นางสาวนันท์นภัส ภูแพง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (562, '562', '6146442', NULL, 'นายจีรวัฒน์ แสนราช', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (563, '563', '6147271', NULL, 'นางสาวจิรนันท์ นนท์สะเกตุ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (564, '564', '6148145', NULL, 'นางสาวปาริชาต วัฒนสุชาติ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (565, '565', '6148921', NULL, 'นางสาวอารียา อริยะ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (566, '566', '6148947', NULL, 'นางสาวรวิษฎา อินทรรักษ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (567, '567', '6148951', NULL, 'นายรัฐวุฒิ สาขามุละ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (568, '568', '6148952', NULL, 'นายสุริยะภัทร ศรีอำคา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (569, '569', '6148953', NULL, 'นายอิสรานนต์ สว่างวงค์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (570, '570', '6148954', NULL, 'นางสาวกานดา โพธิ์ตันคำ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (571, '571', '6148955', NULL, 'นางสาวจุฑามาศ เจริญนุ่ม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (572, '572', '6148956', NULL, 'นางสาวจุฬาลักษณ์ เอกจักรแก้ว', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (573, '573', '6148957', NULL, 'นางสาวชญานี ฤทธิธรรม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (574, '574', '6148958', NULL, 'นางสาวพชรดา ยี่สารพัฒน์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (575, '575', '6148959', NULL, 'นางสาวอุบลวรรณ เข็มจันทร์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (576, '576', '6149884', NULL, 'นายธวัชชัย จันทร์โสภา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (577, '577', '6145595', NULL, 'นายดลสุข ภูมิประสิทธิ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (578, '578', '6145599', NULL, 'นายพศุตม์ สุระมรรคา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (579, '579', '6145718', NULL, 'นางสาวภัทราวดี อินธิแสง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (580, '580', '6145721', NULL, 'นางสาวเมรีนา ชาน', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (581, '581', '6145736', NULL, 'นายกานต์ โพธิดอกไม้', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (582, '582', '6145787', NULL, 'นายจารุพัฒน์ ขันธพัฒน์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (583, '583', '6145789', NULL, 'นายณัฐพงษ์ เต่าทอง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (584, '584', '6145791', NULL, 'นายธรรมนูญ งอยกุดจิก', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (585, '585', '6145808', NULL, 'นางสาวชลันดา เข็มศรี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (586, '586', '6145831', NULL, 'นางสาวอมลณัฐ บุนนาค', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (587, '587', '6145851', NULL, 'นางสาวจีรนันท์ ปิดรัมย์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (588, '588', '6145864', NULL, 'นางสาวนรีกานต์ เฒ่าอุดม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (589, '589', '6145879', NULL, 'นางสาวสโรชา ผานะวงค์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (590, '590', '6145888', NULL, 'นายเจษฎา ขันทอง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (591, '591', '6145899', NULL, 'นายธีรภัทร อภิวัฒน์ชัชวาลย์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (592, '592', '6145917', NULL, 'นางสาวณัฐธิดา สาระคร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (593, '593', '6145935', NULL, 'นางสาวสุดารัตน์ จันทร์ปุ่ม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (594, '594', '6145968', NULL, 'นางสาวชุติมา สิงห์แจ่ม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (595, '595', '6145987', NULL, 'นายกันตินันท์ ตันวัฒนะพงษ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (596, '596', '6145988', NULL, 'นายกิตติพัฒน์ ตั้งไพบูลย์กิจ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (597, '597', '6145991', NULL, 'นายชลสิทธิ์ กาติวงค์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (598, '598', '6145999', NULL, 'นายนฤชิต สุภา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (599, '599', '6146018', NULL, 'นางสาวณัฐิชา พินัส', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (600, '600', '6146020', NULL, 'นางสาวดลหทัย ศรีหนองห้าง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (601, '601', '6146021', NULL, 'นางสาวดุสิตา เภารังค์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (602, '602', '6146032', NULL, 'นางสาวสิริประภา คึมยะราช', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (603, '603', '6146071', NULL, 'นางสาวธัญภรณ์ เสนีวงศ์ ณ อยุธยา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (604, '604', '6146077', NULL, 'นางสาววรินรำไพ จันทร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (605, '605', '6146106', NULL, 'นายวัชญะ ผึ้งเถื่อน', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (606, '606', '6146129', NULL, 'นางสาวลัดดา โพธิราช', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (607, '607', '6146130', NULL, 'นางสาววันวิสา เชิดชู', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (608, '608', '6146132', NULL, 'นางสาววิชุดา มุมบุญ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (609, '609', '6146184', NULL, 'นางสาวบุษบา ฤทธิปะ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (610, '610', '6147290', NULL, 'นายประณต ศรีวรกุล', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (611, '611', '6148906', NULL, 'นายรัฐนันท์ วรดี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (612, '612', '6148960', NULL, 'นายณราศักดิ์ แสงวงค์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (613, '613', '6148961', NULL, 'นายฤทธิเดช กันฮะ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (614, '614', '6148962', NULL, 'นางสาวกนกวรรณ หลินภู', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (615, '615', '6148963', NULL, 'นางสาวชาลิสา บุญหลาย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (616, '616', '6145559', NULL, 'นางสาวกรณัฐ ศรีลำไพ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (617, '617', '6145593', NULL, 'นายณภัทร สุวรรณชัยรบ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (618, '618', '6145596', NULL, 'นายทัศนัย นาทัน', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (619, '619', '6145618', NULL, 'นางสาวปาริมา ดำรงไทย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (620, '620', '6145702', NULL, 'นางสาวจุฬารัตน์ วงศ์งาม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (621, '621', '6145729', NULL, 'นางสาวศิรประภา ดีมาก', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (622, '622', '6145749', NULL, 'นายเลิศสิน รักษาแสง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (623, '623', '6145752', NULL, 'นายอดิสร ทัศคร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (624, '624', '6145760', NULL, 'นางสาวชีวจิต จำวัน', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (625, '625', '6145761', NULL, 'นางสาวฐิติพร โถชาลี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (626, '626', '6145766', NULL, 'นางสาวนงนภัส ศรีจันแก้ว', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (627, '627', '6145774', NULL, 'นางสาวพรพินชญา บุญทรง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (628, '628', '6145776', NULL, 'นางสาวพิมพ์วิภา โวหารลึก', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (629, '629', '6145807', NULL, 'นางสาวฉัตรฑิณีย์ คำเมือง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (630, '630', '6145817', NULL, 'นางสาวนภสร พองพรหม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (631, '631', '6145853', NULL, 'นางสาวชนิสรา อินภูวา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (632, '632', '6145857', NULL, 'นางสาวณัฐธิดา นกพรมพะเนา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (633, '633', '6145880', NULL, 'นางสาวนรีรัตน์ มาตยาคุณ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (634, '634', '6145913', NULL, 'นางสาวกชกร พลเยี่ยม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (635, '635', '6145922', NULL, 'นางสาวปวีณ์สุดา ลาดสุวรรณ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (636, '636', '6145928', NULL, 'นางสาวเฟื่องฟ้า ทุพแหม่ง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (637, '637', '6145929', NULL, 'นางสาวยุพเรศ แก้วศรีไตร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (638, '638', '6145930', NULL, 'นางสาวละมัย มั่นพลศรี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (639, '639', '6145933', NULL, 'นางสาวสมฤทัย พิมพ์มีลาย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (640, '640', '6145969', NULL, 'นางสาวณัฐกาญจน์ รมฤทธา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (641, '641', '6145979', NULL, 'นางสาววทัญญุตา ทิพย์เลิศ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (642, '642', '6146017', NULL, 'นางสาวจิรัฐญา โต๊ะมีเลาะ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (643, '643', '6146038', NULL, 'นายจักรพงศ์ จิตรทรัพย์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (644, '644', '6146056', NULL, 'นายวิทวัส นครังสุ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (645, '645', '6146085', NULL, 'นางสาวอัญชิสา จันกันทะ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (646, '646', '6146091', NULL, 'นายณัฐพงษ์ อุดมเดชาเวทย์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (647, '647', '6146121', NULL, 'นางสาวณัฐวดี ทัศคร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (648, '648', '6146435', NULL, 'นางสาวรินรดา วงศ์พาณิชยกุล', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (649, '649', '6147259', NULL, 'นางสาวชิดชนก แก้วคำแจ้ง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (650, '650', '6147263', NULL, 'นางสาวญาณิศา บุตรอำคา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (651, '651', '6148144', NULL, 'นางสาวพนมพร บุตรเพ็ง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (652, '652', '6148966', NULL, 'นายณัฐพงศ์ เพ็ชร์รุ่ง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (653, '653', '6148969', NULL, 'นายรัฐพล สุทธิอาจ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (654, '654', '6148970', NULL, 'นางสาวชณัณญา สังเกตุดี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (655, '655', '6148971', NULL, 'นางสาวชนัญญา สุจริต', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (656, '656', '6148972', NULL, 'นางสาวถาวรีย์ เหลื่อมศรี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (657, '657', '6148973', NULL, 'นางสาวละอองทิพย์ โทนแก้ว', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (658, '658', '6148974', NULL, 'นางสาววราภรณ์ นามแสง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (659, '659', '6144682', NULL, 'นางสาวพิมพ์ลดา ศักดิ์พิศุทธิกุล', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (660, '660', '6145537', NULL, 'นายเกื้อวรกุล จันทราสา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (661, '661', '6145538', NULL, 'นายเขตต์ไท ปรีชาฤทธิรงค์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (662, '662', '6145540', NULL, 'นายธีรภัทร วงศรีลา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (663, '663', '6145542', NULL, 'นายนันทวัฒน์ เตชะนินทร์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (664, '664', '6145550', NULL, 'นายสหสวรรษ ขันธ์พัฒน์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (665, '665', '6145554', NULL, 'นางสาวกมลลักษณ์ คะษาวงค์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (666, '666', '6145569', NULL, 'นางสาวพรปวีณ์ วังหอม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (667, '667', '6145601', NULL, 'นายศุภณัฐ เดชภูมี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (668, '668', '6145606', NULL, 'นางสาวกัญญาณัฐ กาศลุน', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (669, '669', '6145608', NULL, 'นางสาวชฎิลดา เกียรติวนากร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (670, '670', '6145613', NULL, 'นางสาวนภสร เกตุคล้าย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (671, '671', '6145615', NULL, 'นางสาวปฏิมาพร แซ่ตั้ง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (672, '672', '6145624', NULL, 'นางสาวมิส์เรียม โชว์ตระกูลทอง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (673, '673', '6145626', NULL, 'นางสาววราภรณ์ อุติลา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (674, '674', '6145630', NULL, 'นางสาวกชนัฑ สถาพรธนากร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (675, '675', '6145801', NULL, 'นายรชต ศรีนา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (676, '676', '6145875', NULL, 'นางสาววริศรา สุนารี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (677, '677', '6146145', NULL, 'นายภูสกล อุ่นคำ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (678, '678', '6146171', NULL, 'นายธรรมรงค์ ตาลประดิษฐ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (679, '679', '6146180', NULL, 'นางสาวชนกมณี ใจบุญ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (680, '680', '6148838', NULL, 'นายปรินทร กระแสโท', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (681, '681', '6148850', NULL, 'นางสาวศิรินันท์ ก้อนแพง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (682, '682', '6148975', NULL, 'นางสาวกฤติยาภรณ์ แก้วฝ่าย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (683, '683', '6148976', NULL, 'นางสาวเกล็ดดาว ปัตพี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (684, '684', '6148977', NULL, 'นางสาวนฤมล บุณรังศรี', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (685, '685', '6148978', NULL, 'นางสาวปวีณา วงค์อินพ่อ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (686, '686', '6148979', NULL, 'นางสาววัจนภรณ์ อรรคพิน', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (687, '687', '6148980', NULL, 'นางสาวสุทธิดา คำพัน', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (688, '688', '6148981', NULL, 'นายอภิสิทธิ์ วงศ์จำปา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (689, '689', '6145633', NULL, 'นางสาวอธิชา วงศ์ประทุม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (690, '690', '6145884', NULL, 'นางสาวอรวรรณ กิตติดำเกิง', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (691, '691', '6146166', NULL, 'นายกรณ์ธนัฐ วันวัฒน์สันติกุล', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (692, '692', '6146168', NULL, 'นายฉัตรชัย จรุงเกียรติสกล', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (693, '693', '6146169', NULL, 'นายณัฐชนน โสรินทร์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (694, '694', '6146173', NULL, 'นายวศิน ศรีหล้า', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (695, '695', '6146178', NULL, 'นางสาวจิรภัทร์ วิริยะเจริญกิจ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (696, '696', '6146182', NULL, 'นางสาวธนัชพร จงกลรัตน์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (697, '697', '6146183', NULL, 'นางสาวนัทธมน กุศลาไสยานนท์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (698, '698', '6146186', NULL, 'นางสาวปทิตตา มานะวิสุทธิ์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (699, '699', '6146190', NULL, 'นางสาวสิรภัทร พรหมอุดม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (700, '700', '6146193', NULL, 'นางสาวสุรภา เสมทรัพย์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (701, '701', '6148982', NULL, 'นางสาวกชกร ซ้อนบุตร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (702, '702', '6148983', NULL, 'นางสาวกัญญารัตน์ สุวรรณชัยรบ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (703, '703', '6148984', NULL, 'นางสาวขวัญจิรา อุ่นใจ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (704, '704', '6148985', NULL, 'นางสาวจิลมิกา สิทธิกานต์', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (705, '705', '6148986', NULL, 'นางสาวชณิดา พรหมจักร', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (706, '706', '6148987', NULL, 'นางสาวดาราพร ตุ่ยไชย', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (707, '707', '6148988', NULL, 'นางสาวนรีกานต์ ทองคำชุม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (708, '708', '6148990', NULL, 'นางสาวนุสรา จันทร์เขียว', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (709, '709', '6148991', NULL, 'นางสาวปราณัสมา จันทร์ชนะ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (710, '710', '6148992', NULL, 'นางสาวปวันรัตน์ ฮิมปะลาด', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (711, '711', '6148993', NULL, 'นางสาวพรสวรรค์ มโนมัยกิจ', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (712, '712', '6148994', NULL, 'นางสาวเฟื่องฟ้า สร้อยงาม', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (713, '713', '6148995', NULL, 'นางสาวศุภาศินีย์ สุขศิริภูวกุล', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (714, '714', '6148996', NULL, 'นางสาวสิริกร วงษา', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (715, '715', '6148997', NULL, 'นางสาวสุภัคสินี วงค์ตาขี่', 1, 1, 2);
INSERT INTO `tb_his_data` VALUES (716, '716', '6148998', NULL, 'นางสาวอารียา จิตวิขาม', 1, 1, 2);
-- ----------------------------
-- Table structure for tb_pt_visit_type
-- ----------------------------
DROP TABLE IF EXISTS `tb_pt_visit_type`;
CREATE TABLE `tb_pt_visit_type` (
`pt_visit_type_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'รหัสประเภท',
`pt_visit_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ชื่อประเภท',
`pt_visit_type_prefix` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ตัวอักษร/ตัวเลข นำหน้าคิว',
`pt_visit_type_digit` int(11) NOT NULL COMMENT 'จำนวนหลักหมายเลขคิว',
PRIMARY KEY (`pt_visit_type_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of tb_pt_visit_type
-- ----------------------------
INSERT INTO `tb_pt_visit_type` VALUES (1, 'ผู้ป่วยนัดหมาย', 'A', 3);
INSERT INTO `tb_pt_visit_type` VALUES (2, 'ผู้ป่วยไม่นัดหมาย', 'B', 3);
-- ----------------------------
-- Table structure for tb_qtrans
-- ----------------------------
DROP TABLE IF EXISTS `tb_qtrans`;
CREATE TABLE `tb_qtrans` (
`ids` int(11) NOT NULL AUTO_INCREMENT,
`q_ids` int(11) NULL DEFAULT NULL,
`service_sec_id` int(11) NULL DEFAULT NULL COMMENT 'รหัสแผนก',
`counter_service_id` int(11) NULL DEFAULT NULL COMMENT 'ช่องบริการ/ห้อง',
`doctor_id` int(11) NULL DEFAULT NULL,
`checkin_date` datetime(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT 'เวลาลงทะเบียนแผนก',
`checkout_date` datetime(0) NULL DEFAULT NULL COMMENT 'เวลาออกแผนก',
`service_status_id` int(11) NULL DEFAULT NULL,
`created_at` datetime(0) NULL DEFAULT NULL,
`updated_at` datetime(0) NULL DEFAULT NULL,
`created_by` int(11) NULL DEFAULT NULL,
`updated_by` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`ids`) USING BTREE,
INDEX `q_ids`(`q_ids`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Fixed;
-- ----------------------------
-- Table structure for tb_quequ
-- ----------------------------
DROP TABLE IF EXISTS `tb_quequ`;
CREATE TABLE `tb_quequ` (
`q_ids` int(11) NOT NULL AUTO_INCREMENT COMMENT 'running',
`q_num` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'หมายเลขQ',
`q_timestp` datetime(0) NULL DEFAULT NULL COMMENT 'วันที่ออกQ',
`q_status_id` int(11) NULL DEFAULT NULL COMMENT 'สถานะQ',
`pt_id` int(11) NULL DEFAULT NULL,
`q_vn` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'Visit number ของผู้ป่วย',
`q_hn` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'หมายเลข HN ผู้ป่วย',
`pt_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'ชื่อผู้ป่วย',
`pt_visit_type_id` int(11) NULL DEFAULT NULL COMMENT 'ประเภท',
`pt_appoint_sec_id` int(11) NULL DEFAULT NULL COMMENT 'แผนกที่นัดหมาย',
`doctor_id` int(11) NULL DEFAULT NULL,
`created_at` datetime(0) NULL DEFAULT NULL COMMENT 'วันที่บันทึก',
`updated_at` datetime(0) NULL DEFAULT NULL COMMENT 'วันที่แก้ไข',
PRIMARY KEY (`q_ids`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 49 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of tb_quequ
-- ----------------------------
INSERT INTO `tb_quequ` VALUES (6, 'A001', '2018-02-12 20:13:51', NULL, NULL, '14', '6145579', 'นางสาววิชญาดา โยตะสี', 2, NULL, NULL, '2018-02-12 20:13:51', '2018-02-12 20:13:51');
INSERT INTO `tb_quequ` VALUES (7, 'A002', '2018-02-12 20:14:06', NULL, NULL, '4', '6145547', 'นายวัชรินทร์ เวชกามา', 2, NULL, NULL, '2018-02-12 20:14:06', '2018-02-12 20:14:06');
INSERT INTO `tb_quequ` VALUES (8, 'A003', '2018-02-12 22:01:19', NULL, NULL, '3', '6145541', 'นายนพรุจ หาริชัย', 2, NULL, NULL, '2018-02-12 22:01:19', '2018-02-12 22:01:19');
INSERT INTO `tb_quequ` VALUES (9, 'A004', '2018-02-12 22:16:15', NULL, NULL, '20', '6145597', 'นายธราเทพ สานุศิษย์', 2, NULL, NULL, '2018-02-12 22:16:15', '2018-02-12 22:16:15');
INSERT INTO `tb_quequ` VALUES (10, 'A005', '2018-02-13 10:19:54', NULL, NULL, '10', '6145568', 'นางสาวปุณยนุช ประโคทัง', 2, NULL, NULL, '2018-02-13 10:19:54', '2018-02-13 10:19:54');
INSERT INTO `tb_quequ` VALUES (11, 'A006', '2018-02-13 10:21:46', NULL, NULL, '228', '6146174', 'นายวิชัยชาญ บุญเฮ้า', 1, 1, 1, '2018-02-13 10:21:46', '2018-02-13 10:21:46');
INSERT INTO `tb_quequ` VALUES (12, 'A007', '2018-02-13 10:42:39', NULL, NULL, '230', '6148855', 'นายพงศกร อุดร', 1, 1, 1, '2018-02-13 10:42:39', '2018-02-13 10:42:39');
INSERT INTO `tb_quequ` VALUES (13, 'A008', '2018-02-13 14:08:11', NULL, NULL, '2', '6145539', 'นายธราวุธ ขาวยะบุตร', 2, NULL, NULL, '2018-02-13 14:08:11', '2018-02-13 14:08:11');
INSERT INTO `tb_quequ` VALUES (14, 'A009', '2018-02-13 14:08:37', NULL, NULL, '11', '6145571', 'นางสาวพิชญานันท์ ทองอันตัง', 2, NULL, NULL, '2018-02-13 14:08:37', '2018-02-13 14:08:37');
INSERT INTO `tb_quequ` VALUES (15, 'A010', '2018-02-15 09:47:35', NULL, NULL, '16', '6145581', 'นางสาวศิรประภา บุญท้าว', 2, NULL, NULL, '2018-02-15 09:47:35', '2018-02-15 09:47:35');
INSERT INTO `tb_quequ` VALUES (16, 'A011', '2018-02-17 08:34:46', NULL, NULL, '708', '6148990', 'นางสาวนุสรา จันทร์เขียว', 1, 1, 2, '2018-02-17 08:34:46', '2018-02-17 08:34:46');
INSERT INTO `tb_quequ` VALUES (17, 'A012', '2018-02-17 08:34:59', NULL, NULL, '709', '6148991', 'นางสาวปราณัสมา จันทร์ชนะ', 1, 1, 2, '2018-02-17 08:34:59', '2018-02-17 08:34:59');
INSERT INTO `tb_quequ` VALUES (18, 'A013', '2018-02-17 08:35:12', NULL, NULL, '710', '6148992', 'นางสาวปวันรัตน์ ฮิมปะลาด', 1, 1, 2, '2018-02-17 08:35:12', '2018-02-17 08:35:12');
INSERT INTO `tb_quequ` VALUES (19, 'A014', '2018-02-17 08:36:48', NULL, NULL, '711', '6148993', 'นางสาวพรสวรรค์ มโนมัยกิจ', 1, 1, 2, '2018-02-17 08:36:48', '2018-02-17 08:36:48');
INSERT INTO `tb_quequ` VALUES (20, 'A015', '2018-02-17 08:37:00', NULL, NULL, '712', '6148994', 'นางสาวเฟื่องฟ้า สร้อยงาม', 1, 1, 2, '2018-02-17 08:37:00', '2018-02-17 08:37:00');
INSERT INTO `tb_quequ` VALUES (21, 'A016', '2018-02-17 08:37:11', NULL, NULL, '713', '6148995', 'นางสาวศุภาศินีย์ สุขศิริภูวกุล', 1, 1, 2, '2018-02-17 08:37:11', '2018-02-17 08:37:11');
INSERT INTO `tb_quequ` VALUES (22, 'A017', '2018-02-17 08:37:51', NULL, NULL, '714', '6148996', 'นางสาวสิริกร วงษา', 1, 1, 2, '2018-02-17 08:37:51', '2018-02-17 08:37:51');
INSERT INTO `tb_quequ` VALUES (23, 'A018', '2018-02-17 08:38:11', NULL, NULL, '715', '6148997', 'นางสาวสุภัคสินี วงค์ตาขี่', 1, 1, 2, '2018-02-17 08:38:11', '2018-02-17 08:38:11');
INSERT INTO `tb_quequ` VALUES (24, 'A019', '2018-02-17 08:38:23', NULL, NULL, '716', '6148998', 'นางสาวอารียา จิตวิขาม', 1, 1, 2, '2018-02-17 08:38:23', '2018-02-17 08:38:23');
INSERT INTO `tb_quequ` VALUES (25, 'A020', '2018-02-17 08:39:21', NULL, NULL, '695', '6146178', 'นางสาวจิรภัทร์ วิริยะเจริญกิจ', 1, 1, 2, '2018-02-17 08:39:21', '2018-02-17 08:39:21');
INSERT INTO `tb_quequ` VALUES (26, 'A021', '2018-02-18 12:27:46', NULL, NULL, '436', '6148925', 'นายวรท จันทรเสนา', 1, 1, 2, '2018-02-18 12:27:46', '2018-02-18 12:27:46');
INSERT INTO `tb_quequ` VALUES (27, 'A022', '2018-02-18 12:28:00', NULL, NULL, '437', '6148926', 'นางสาวจารุนันท์ มีบุตร', 1, 1, 2, '2018-02-18 12:28:00', '2018-02-18 12:28:00');
INSERT INTO `tb_quequ` VALUES (28, 'A023', '2018-02-18 12:28:12', NULL, NULL, '438', '6148927', 'นางสาวจารุวรรณ พงษ์สิงห์', 1, 1, 2, '2018-02-18 12:28:12', '2018-02-18 12:28:12');
INSERT INTO `tb_quequ` VALUES (29, 'A024', '2018-02-18 12:28:22', NULL, NULL, '439', '6148928', 'นางสาวจุฑามาศ ปุณริบูรณ์', 1, 1, 2, '2018-02-18 12:28:22', '2018-02-18 12:28:22');
INSERT INTO `tb_quequ` VALUES (30, 'A025', '2018-02-18 12:28:34', NULL, NULL, '440', '6148929', 'นางสาวณัฏฐริกา ใครบุตร', 1, 1, 2, '2018-02-18 12:28:34', '2018-02-18 12:28:34');
INSERT INTO `tb_quequ` VALUES (31, 'A026', '2018-02-18 17:00:16', NULL, NULL, '430', '6147260', 'นายหานสกล พลข้อ', 1, 1, 2, '2018-02-18 17:00:16', '2018-02-18 17:00:16');
INSERT INTO `tb_quequ` VALUES (32, 'A027', '2018-02-18 17:00:27', NULL, NULL, '431', '6148143', 'นางสาวธีรนุช อภิชาติหิรัญ', 1, 1, 2, '2018-02-18 17:00:27', '2018-02-18 17:00:27');
INSERT INTO `tb_quequ` VALUES (33, 'A028', '2018-02-18 17:00:37', NULL, NULL, '432', '6148154', 'นายกีรติ นามโยธา', 1, 1, 2, '2018-02-18 17:00:37', '2018-02-18 17:00:37');
INSERT INTO `tb_quequ` VALUES (41, 'A029', '2018-03-09 10:50:05', NULL, NULL, '699', '6146190', 'นางสาวสิรภัทร พรหมอุดม', 1, 1, 2, '2018-03-09 10:50:05', '2018-03-09 10:50:05');
INSERT INTO `tb_quequ` VALUES (48, 'B011', '2018-03-09 11:01:17', NULL, NULL, '34', '6146138', 'นายณัฐสิทธิ์ ศรีมุกดา', 2, NULL, NULL, '2018-03-09 11:01:17', '2018-03-09 11:01:17');
-- ----------------------------
-- Table structure for tb_section
-- ----------------------------
DROP TABLE IF EXISTS `tb_section`;
CREATE TABLE `tb_section` (
`sec_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'รหัสแผนก',
`sec_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ชื่อแผนก',
`sec_firststatus` int(11) NOT NULL,
PRIMARY KEY (`sec_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 6 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of tb_section
-- ----------------------------
INSERT INTO `tb_section` VALUES (1, 'อายุรกรรม', 1);
INSERT INTO `tb_section` VALUES (2, 'ห้องเจาะเลือด', 3);
-- ----------------------------
-- Table structure for tb_service_md_name
-- ----------------------------
DROP TABLE IF EXISTS `tb_service_md_name`;
CREATE TABLE `tb_service_md_name` (
`service_md_name_id` int(2) NOT NULL AUTO_INCREMENT,
`service_md_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`service_md_name_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of tb_service_md_name
-- ----------------------------
INSERT INTO `tb_service_md_name` VALUES (1, 'นายแพทย์ ก. นายแพทย์ ก.');
INSERT INTO `tb_service_md_name` VALUES (2, 'นายแพทย์ ข. นายแพทย์ ข. ');
INSERT INTO `tb_service_md_name` VALUES (3, 'นายแพทย์ ค. นายแพทย์ ค.');
INSERT INTO `tb_service_md_name` VALUES (7, 'นายแพทย์ ง. นายแพทย์ ง.');
-- ----------------------------
-- Table structure for tb_service_status
-- ----------------------------
DROP TABLE IF EXISTS `tb_service_status`;
CREATE TABLE `tb_service_status` (
`service_status_id` int(11) NOT NULL AUTO_INCREMENT,
`service_status_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'สถานะ',
PRIMARY KEY (`service_status_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of tb_service_status
-- ----------------------------
INSERT INTO `tb_service_status` VALUES (1, 'รอคัดกรอง');
INSERT INTO `tb_service_status` VALUES (2, 'เรียกคิวคัดกรอง');
INSERT INTO `tb_service_status` VALUES (3, 'รอเจาะเลือด');
INSERT INTO `tb_service_status` VALUES (4, 'เรียกคิวเจาะเลือด');
INSERT INTO `tb_service_status` VALUES (5, 'รอพบแพทย์');
INSERT INTO `tb_service_status` VALUES (7, 'เรียกคิวพบแพทย์');
INSERT INTO `tb_service_status` VALUES (8, 'HoldQ');
INSERT INTO `tb_service_status` VALUES (9, 'EndQ');
INSERT INTO `tb_service_status` VALUES (10, 'เสร็จสิ้น');
-- ----------------------------
-- Table structure for tb_ticket
-- ----------------------------
DROP TABLE IF EXISTS `tb_ticket`;
CREATE TABLE `tb_ticket` (
`ids` int(1) NOT NULL AUTO_INCREMENT,
`hos_name_th` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ชื่อ รพ. ไทย',
`hos_name_en` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'ชื่อ รพ. อังกฤษ',
`template` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT 'แบบบัตรคิว',
`default_template` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT 'ต้นฉบับบัตรคิว',
`logo_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`logo_base_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`barcode_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'รหัสโค้ด',
`status` int(255) NULL DEFAULT NULL COMMENT 'สถานะการใช้งาน',
PRIMARY KEY (`ids`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 6 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of tb_ticket
-- ----------------------------
INSERT INTO `tb_ticket` VALUES (1, 'โรงพยาบาลชัยนาทนเรนทร', 'Barnbung Hospital', '<div class=\"x_content\">\r\n<div class=\"row\" style=\"margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; width:80mm\">\r\n<div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding:1cm 21px 0px 21px\">\r\n<div class=\"col-xs-12\" style=\"padding:0\"><img alt=\"\" class=\"center-block\" src=\"/img/logo/logo.jpg\" style=\"width:100px\" /></div>\r\n\r\n<div class=\"col-xs-12\" style=\"padding:0\">\r\n<h4 style=\"text-align:center\"><strong>{hos_name_th}</strong></h4>\r\n\r\n<h6 style=\"text-align:center\"><strong>งานบริการผู้ป่วยนอก</strong></h6>\r\n</div>\r\n\r\n<div class=\"col-xs-12\" style=\"padding:3px 0px 10px 0px; text-align:left\">\r\n<h6 style=\"margin-left:1px; margin-right:1px\"><strong>HN</strong> : <strong>{q_hn}</strong></h6>\r\n\r\n<h6 style=\"margin-left:1px; margin-right:1px\"><strong>ชื่อ-นามสกุล</strong> : <strong>{pt_name}</strong></h6>\r\n</div>\r\n</div>\r\n\r\n<div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding:0px 21px 0px 21px\">\r\n<div class=\"col-xs-12\" style=\"padding:0\">\r\n<h1 style=\"text-align:center\"><strong>{q_num}</strong></h1>\r\n</div>\r\n</div>\r\n\r\n<div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding:0px 21px 0px 21px\">\r\n<div class=\"col-xs-6\" style=\"padding:0\">\r\n<h5 style=\"text-align:center\"><strong>{pt_visit_type}</strong></h5>\r\n</div>\r\n\r\n<div class=\"col-xs-6\" style=\"padding:0\">\r\n<h5 style=\"text-align:center\"><strong>{sec_name}</strong></h5>\r\n</div>\r\n</div>\r\n\r\n<div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding:5px 20px 0px 20px\">\r\n<div class=\"col-xs-12\" style=\"padding:0; text-align:left\">\r\n<div class=\"col-xs-12\" style=\"border-top:dashed 1px #404040; padding:4px 0px 3px 0px\">\r\n<div class=\"col-xs-12\" style=\"padding:1px\">\r\n<h6 style=\"margin-left:0px; margin-right:0px\"><strong>Scan QR Code เพื่อดูสถานะการรอคิว</strong></h6>\r\n</div>\r\n</div>\r\n</div>\r\n</div>\r\n\r\n<div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding:0px 21px 0px 21px\">\r\n<div class=\"col-xs-6\" style=\"padding:0\">\r\n<div id=\"qrcode\"><img alt=\"\" src=\"/img/qrcode.png\" /></div>\r\n</div>\r\n\r\n<div class=\"col-xs-6\" style=\"padding:0\">\r\n<div id=\"bcTarget\" style=\"overflow:auto; padding:0px; width:143px\">\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:10px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:3px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:3px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:3px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:3px\"> </div>\r\n\r\n<div style=\"border-left:3px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:3px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:4px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:4px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:3px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:4px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:3px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:3px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:3px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:3px\"> </div>\r\n\r\n<div style=\"border-left:3px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:10px\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; clear:both; color:#000000; font-size:10px; margin-top:5px; text-align:center; width:100%\">1234567890128</div>\r\n</div>\r\n</div>\r\n</div>\r\n\r\n<div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding:10px 0px 0px 0px\">\r\n<h4 style=\"text-align:center\"><strong>ขอบคุณที่ใช้บริการ</strong></h4>\r\n</div>\r\n\r\n<div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding:0px 21px 0px 21px\">\r\n<div class=\"col-xs-6\" style=\"padding:0; text-align:left\">\r\n<h6 style=\"text-align:left\"><strong>{time}</strong></h6>\r\n</div>\r\n\r\n<div class=\"col-xs-6\" style=\"padding:0; text-align:right\">\r\n<h6 style=\"text-align:right\"><strong>{user_print}</strong></h6>\r\n</div>\r\n</div>\r\n</div>\r\n</div>\r\n', '<center>\r\n <div class=\"x_content\">\r\n <div class=\"row\" style=\"width: 80mm;margin: auto;\">\r\n\r\n <div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding: 1cm 21px 0px 21px;\">\r\n <div class=\"col-xs-12\" style=\"padding: 0;\">\r\n <img src=\"/img/logo/logo.jpg\" alt=\"\" class=\"center-block\" style=\"width: 100px\">\r\n </div>\r\n <div class=\"col-xs-12\" style=\"padding: 0;\">\r\n <h4 class=\"color\" style=\"margin-top: 0px;margin-bottom: 0px;text-align: center;\"><b style=\"font-weight: bold;\">{hos_name_th}</b></h4>\r\n <h6 class=\"color\" style=\"margin-top: 4px;margin-bottom: 0px;text-align: center;\"><b>งานบริการผู้ป่วยนอก</b></h6>\r\n </div>\r\n <div class=\"col-xs-12\" style=\"padding: 3px 0px 10px 0px;;text-align: left;\">\r\n <h6 style=\"margin: 4px 1px;\" class=\"color\">\r\n <b style=\"font-size: 14px; font-weight: 600;\">HN</b> : <b style=\"font-size: 13px;\">{q_hn}</b>\r\n </h6>\r\n <h6 style=\"margin: 4px 1px;\" class=\"color\">\r\n <b style=\"font-size: 14px; font-weight: 600;\">ชื่อ-นามสกุล</b> : <b style=\"font-size: 13px;\">{pt_name}</b>\r\n </h6>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding: 0px 21px 0px 21px;\">\r\n <div class=\"col-xs-12\" style=\"padding: 0;\">\r\n <h1 style=\"text-align: center;\"><b style=\"font-weight: 600;text-align: center;\">{q_num}</b></h1>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding: 0px 21px 0px 21px;\">\r\n <div class=\"col-xs-6\" style=\"padding: 0;\">\r\n <h5 style=\"text-align: center;\"><b style=\"font-weight: 600;\">{pt_visit_type}</b></h5>\r\n </div>\r\n <div class=\"col-xs-6\" style=\"padding: 0;\">\r\n <h5 style=\"text-align: center;\"><b style=\"font-weight: 600;\">{sec_name}</b></h5>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding: 5px 20px 0px 20px;\">\r\n <div class=\"col-xs-12\" style=\"text-align: left;padding: 0;\">\r\n <div class=\"col-xs-12\" style=\"padding: 4px 0px 3px 0px;border-top: dashed 1px #404040;\">\r\n <div class=\"col-xs-12\" style=\"padding: 1px;\">\r\n <h6 class=\"color\" style=\"margin: 0px;\"><b>Scan QR Code เพื่อดูสถานะการรอคิว</b></h6>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding: 0px 21px 0px 21px;\">\r\n <div class=\"col-xs-6\" style=\"padding: 0;\">\r\n <div id=\"qrcode\"><img alt=\"\" src=\"/img/qrcode.png\" /></div>\r\n </div>\r\n <div class=\"col-xs-6\" style=\"padding: 0;\">\r\n <div id=\"bcTarget\" style=\"overflow: auto; padding: 0px; width: 143px;\"><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 10px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 3px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 3px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 3px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 3px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 3px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 3px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 4px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 4px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 3px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 4px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 3px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 3px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 3px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 3px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 3px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 10px\"></div><div style=\"clear:both; width: 100%; background-color: #FFFFFF; color: #000000; text-align: center; font-size: 10px; margin-top: 5px;\">1234567890128</div></div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding: 10px 0px 0px 0px;\">\r\n <h4 class=\"color\" style=\"margin-top: 0px;margin-bottom: 0px;text-align: center;\"><b>ขอบคุณที่ใช้บริการ</b></h4>\r\n </div>\r\n\r\n <div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding: 0px 21px 0px 21px;\">\r\n <div class=\"col-xs-6\" style=\"padding: 0;text-align: left;\">\r\n <h6 class=\"color\" style=\"margin-top: 4px;margin-bottom: 0px;text-align: left;\"><b>{time}</b></h6>\r\n </div>\r\n <div class=\"col-xs-6\" style=\"padding: 0;text-align: right;\">\r\n <h6 class=\"color\" style=\"margin-top: 4px;margin-bottom: 0px;text-align: right;\"><b>{user_print}</b></h6>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </center>', '1/lvCa3PFqJzOASW145okm6zG0UDzx9Qcy.png', '/uploads', 'code128', 1);
INSERT INTO `tb_ticket` VALUES (5, 'xx', 'xx', '<div class=\"x_content\">\r\n<div class=\"row\" style=\"border:1px dashed #dee5e7; margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; width:80mm\">\r\n<div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding:1cm 21px 0px 21px\">\r\n<div class=\"col-xs-12\" style=\"padding:0\"><img alt=\"\" class=\"center-block\" src=\"/img/logo/logo.jpg\" style=\"width:100px\" /></div>\r\n\r\n<div class=\"col-xs-12\" style=\"padding:0\">\r\n<h4 style=\"text-align:center\"><strong>{hos_name_th}</strong></h4>\r\n\r\n<h6 style=\"text-align:center\"><strong>งานบริการผู้ป่วยนอก</strong></h6>\r\n</div>\r\n\r\n<div class=\"col-xs-12\" style=\"padding:3px 0px 10px 0px; text-align:left\">\r\n<h6 style=\"margin-left:1px; margin-right:1px\"><strong>HN</strong> : <strong>{q_hn}</strong></h6>\r\n\r\n<h6 style=\"margin-left:1px; margin-right:1px\"><strong>ชื่อ-นามสกุล</strong> : <strong>{pt_name}</strong></h6>\r\n</div>\r\n</div>\r\n\r\n<div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding:0px 21px 0px 21px\">\r\n<div class=\"col-xs-12\" style=\"padding:0\">\r\n<h1 style=\"text-align:center\"><strong>{q_num}</strong></h1>\r\n</div>\r\n</div>\r\n\r\n<div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding:0px 21px 0px 21px\">\r\n<div class=\"col-xs-6\" style=\"padding:0\">\r\n<h5 style=\"text-align:center\"><strong>{pt_visit_type}</strong></h5>\r\n</div>\r\n\r\n<div class=\"col-xs-6\" style=\"padding:0\">\r\n<h5 style=\"text-align:center\"><strong>{sec_name}</strong></h5>\r\n</div>\r\n</div>\r\n\r\n<div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding:5px 20px 0px 20px\">\r\n<div class=\"col-xs-12\" style=\"padding:0; text-align:left\">\r\n<div class=\"col-xs-12\" style=\"border-top:dashed 1px #404040; padding:4px 0px 3px 0px\">\r\n<div class=\"col-xs-12\" style=\"padding:1px\">\r\n<h6 style=\"margin-left:0px; margin-right:0px\"><strong>Scan QR Code เพื่อดูสถานะการรอคิว</strong></h6>\r\n</div>\r\n</div>\r\n</div>\r\n</div>\r\n\r\n<div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding:0px 21px 0px 21px\">\r\n<div class=\"col-xs-6\" style=\"padding:0\"><img alt=\"\" src=\"/img/qrcode.png\" /></div>\r\n\r\n<div class=\"col-xs-6\" style=\"padding:0\">\r\n<div id=\"bcTarget\" style=\"overflow:auto; padding:0px; width:143px\">\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:10px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:3px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:3px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:3px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:3px\"> </div>\r\n\r\n<div style=\"border-left:3px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:3px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:4px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:4px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:3px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:4px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:3px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:3px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:3px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:2px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:3px\"> </div>\r\n\r\n<div style=\"border-left:3px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:1px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:1px\"> </div>\r\n\r\n<div style=\"border-left:2px solid #000000; float:left; font-size:0px; height:50px; width:0\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; float:left; font-size:0px; height:50px; width:10px\"> </div>\r\n\r\n<div style=\"background-color:#ffffff; clear:both; color:#000000; font-size:10px; margin-top:5px; text-align:center; width:100%\">1234567890128</div>\r\n</div>\r\n</div>\r\n</div>\r\n\r\n<div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding:10px 0px 0px 0px\">\r\n<h4 style=\"text-align:center\"><strong>ขอบคุณที่ใช้บริการ</strong></h4>\r\n</div>\r\n\r\n<div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding:0px 21px 0px 21px\">\r\n<div class=\"col-xs-6\" style=\"padding:0; text-align:left\">\r\n<h6 style=\"text-align:left\"><strong>{time}</strong></h6>\r\n</div>\r\n\r\n<div class=\"col-xs-6\" style=\"padding:0; text-align:right\">\r\n<h6 style=\"text-align:right\"><strong>{user_print}</strong></h6>\r\n</div>\r\n</div>\r\n</div>\r\n</div>\r\n', '<center>\r\n <div class=\"x_content\">\r\n <div class=\"row\" style=\"width: 80mm;margin: auto;border: 1px dashed #dee5e7\">\r\n\r\n <div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding: 1cm 21px 0px 21px;\">\r\n <div class=\"col-xs-12\" style=\"padding: 0;\">\r\n <img src=\"/img/logo/logo.jpg\" alt=\"\" class=\"center-block\" style=\"width: 100px\">\r\n </div>\r\n <div class=\"col-xs-12\" style=\"padding: 0;\">\r\n <h4 class=\"color\" style=\"margin-top: 0px;margin-bottom: 0px;text-align: center;\"><b style=\"font-weight: bold;\">{hos_name_th}</b></h4>\r\n <h6 class=\"color\" style=\"margin-top: 4px;margin-bottom: 0px;text-align: center;\"><b>งานบริการผู้ป่วยนอก</b></h6>\r\n </div>\r\n <div class=\"col-xs-12\" style=\"padding: 3px 0px 10px 0px;;text-align: left;\">\r\n <h6 style=\"margin: 4px 1px;\" class=\"color\">\r\n <b style=\"font-size: 14px; font-weight: 600;\">HN</b> : <b style=\"font-size: 13px;\">{q_hn}</b>\r\n </h6>\r\n <h6 style=\"margin: 4px 1px;\" class=\"color\">\r\n <b style=\"font-size: 14px; font-weight: 600;\">ชื่อ-นามสกุล</b> : <b style=\"font-size: 13px;\">{pt_name}</b>\r\n </h6>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding: 0px 21px 0px 21px;\">\r\n <div class=\"col-xs-12\" style=\"padding: 0;\">\r\n <h1 style=\"text-align: center;\"><b style=\"font-weight: 600;text-align: center;\">{q_num}</b></h1>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding: 0px 21px 0px 21px;\">\r\n <div class=\"col-xs-6\" style=\"padding: 0;\">\r\n <h5 style=\"text-align: center;\"><b style=\"font-weight: 600;\">{pt_visit_type}</b></h5>\r\n </div>\r\n <div class=\"col-xs-6\" style=\"padding: 0;\">\r\n <h5 style=\"text-align: center;\"><b style=\"font-weight: 600;\">{sec_name}</b></h5>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding: 5px 20px 0px 20px;\">\r\n <div class=\"col-xs-12\" style=\"text-align: left;padding: 0;\">\r\n <div class=\"col-xs-12\" style=\"padding: 4px 0px 3px 0px;border-top: dashed 1px #404040;\">\r\n <div class=\"col-xs-12\" style=\"padding: 1px;\">\r\n <h6 class=\"color\" style=\"margin: 0px;\"><b>Scan QR Code เพื่อดูสถานะการรอคิว</b></h6>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding: 0px 21px 0px 21px;\">\r\n <div class=\"col-xs-6\" style=\"padding: 0;\">\r\n <img src=\"/img/qrcode.png\" alt=\"\">\r\n </div>\r\n <div class=\"col-xs-6\" style=\"padding: 0;\">\r\n <div id=\"bcTarget\" style=\"overflow: auto; padding: 0px; width: 143px;\"><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 10px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 3px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 3px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 3px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 3px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 3px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 3px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 4px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 4px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 3px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 4px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 3px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 3px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 3px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 2px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 3px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 3px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 1px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 1px\"></div><div style=\"float: left; font-size: 0px; width:0; border-left: 2px solid #000000; height: 50px;\"></div><div style=\"float: left; font-size: 0px; background-color: #FFFFFF; height: 50px; width: 10px\"></div><div style=\"clear:both; width: 100%; background-color: #FFFFFF; color: #000000; text-align: center; font-size: 10px; margin-top: 5px;\">1234567890128</div></div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding: 10px 0px 0px 0px;\">\r\n <h4 class=\"color\" style=\"margin-top: 0px;margin-bottom: 0px;text-align: center;\"><b>ขอบคุณที่ใช้บริการ</b></h4>\r\n </div>\r\n\r\n <div class=\"col-md-12 col-sm-12 col-xs-12\" style=\"padding: 0px 21px 0px 21px;\">\r\n <div class=\"col-xs-6\" style=\"padding: 0;text-align: left;\">\r\n <h6 class=\"color\" style=\"margin-top: 4px;margin-bottom: 0px;text-align: left;\"><b>{time}</b></h6>\r\n </div>\r\n <div class=\"col-xs-6\" style=\"padding: 0;text-align: right;\">\r\n <h6 class=\"color\" style=\"margin-top: 4px;margin-bottom: 0px;text-align: right;\"><b>{user_print}</b></h6>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </center>', NULL, NULL, 'code128', 1);
-- ----------------------------
-- Table structure for token
-- ----------------------------
DROP TABLE IF EXISTS `token`;
CREATE TABLE `token` (
`user_id` int(11) NOT NULL,
`code` varchar(32) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`created_at` int(11) NOT NULL,
`type` smallint(6) NOT NULL,
UNIQUE INDEX `token_unique`(`user_id`, `code`, `type`) USING BTREE,
CONSTRAINT `fk_user_token` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of token
-- ----------------------------
INSERT INTO `token` VALUES (2, '<KEY>', 1517979470, 0);
-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`email` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`password_hash` varchar(60) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`auth_key` varchar(32) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`confirmed_at` int(11) NULL DEFAULT NULL,
`unconfirmed_email` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`blocked_at` int(11) NULL DEFAULT NULL,
`registration_ip` varchar(45) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`created_at` int(11) NOT NULL,
`updated_at` int(11) NOT NULL,
`flags` int(11) NOT NULL DEFAULT 0,
`last_login_at` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `user_unique_username`(`username`) USING BTREE,
UNIQUE INDEX `user_unique_email`(`email`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of user
-- ----------------------------
INSERT INTO `user` VALUES (2, 'admin', '<EMAIL>', <PASSWORD>$/c<PASSWORD>3BK.Uwck<PASSWORD>.<PASSWORD>5XR<PASSWORD>56<PASSWORD>k<PASSWORD>', 's59qUPZ27CxgPEaNgLw71CrygQD5Ni3x', 1517979470, NULL, NULL, '127.0.0.1', 1517979470, 1517979470, 0, 1520587800);
SET FOREIGN_KEY_CHECKS = 1;
|
<reponame>anjingbin/starccm
--
-- TRIGGERS
--
create table pkeys (pkey1 int4 not null, pkey2 text not null);
create table fkeys (fkey1 int4, fkey2 text, fkey3 int);
create table fkeys2 (fkey21 int4, fkey22 text, pkey23 int not null);
create index fkeys_i on fkeys (fkey1, fkey2);
create index fkeys2_i on fkeys2 (fkey21, fkey22);
create index fkeys2p_i on fkeys2 (pkey23);
insert into pkeys values (10, '1');
insert into pkeys values (20, '2');
insert into pkeys values (30, '3');
insert into pkeys values (40, '4');
insert into pkeys values (50, '5');
insert into pkeys values (60, '6');
create unique index pkeys_i on pkeys (pkey1, pkey2);
--
-- For fkeys:
-- (fkey1, fkey2) --> pkeys (pkey1, pkey2)
-- (fkey3) --> fkeys2 (pkey23)
--
create trigger check_fkeys_pkey_exist
before insert or update on fkeys
for each row
execute procedure
check_primary_key ('fkey1', 'fkey2', 'pkeys', 'pkey1', 'pkey2');
create trigger check_fkeys_pkey2_exist
before insert or update on fkeys
for each row
execute procedure check_primary_key ('fkey3', 'fkeys2', 'pkey23');
--
-- For fkeys2:
-- (fkey21, fkey22) --> pkeys (pkey1, pkey2)
--
create trigger check_fkeys2_pkey_exist
before insert or update on fkeys2
for each row
execute procedure
check_primary_key ('fkey21', 'fkey22', 'pkeys', 'pkey1', 'pkey2');
--
-- For pkeys:
-- ON DELETE/UPDATE (pkey1, pkey2) CASCADE:
-- fkeys (fkey1, fkey2) and fkeys2 (fkey21, fkey22)
--
create trigger check_pkeys_fkey_cascade
before delete or update on pkeys
for each row
execute procedure
check_foreign_key (2, 'cascade', 'pkey1', 'pkey2',
'fkeys', 'fkey1', 'fkey2', 'fkeys2', 'fkey21', 'fkey22');
--
-- For fkeys2:
-- ON DELETE/UPDATE (pkey23) RESTRICT:
-- fkeys (fkey3)
--
create trigger check_fkeys2_fkey_restrict
before delete or update on fkeys2
for each row
execute procedure check_foreign_key (1, 'restrict', 'pkey23', 'fkeys', 'fkey3');
insert into fkeys2 values (10, '1', 1);
insert into fkeys2 values (30, '3', 2);
insert into fkeys2 values (40, '4', 5);
insert into fkeys2 values (50, '5', 3);
-- no key in pkeys
insert into fkeys2 values (70, '5', 3);
insert into fkeys values (10, '1', 2);
insert into fkeys values (30, '3', 3);
insert into fkeys values (40, '4', 2);
insert into fkeys values (50, '5', 2);
-- no key in pkeys
insert into fkeys values (70, '5', 1);
-- no key in fkeys2
insert into fkeys values (60, '6', 4);
delete from pkeys where pkey1 = 30 and pkey2 = '3';
delete from pkeys where pkey1 = 40 and pkey2 = '4';
update pkeys set pkey1 = 7, pkey2 = '70' where pkey1 = 50 and pkey2 = '5';
update pkeys set pkey1 = 7, pkey2 = '70' where pkey1 = 10 and pkey2 = '1';
DROP TABLE pkeys;
DROP TABLE fkeys;
DROP TABLE fkeys2;
-- -- I've disabled the funny_dup17 test because the new semantics
-- -- of AFTER ROW triggers, which get now fired at the end of a
-- -- query allways, cause funny_dup17 to enter an endless loop.
-- --
-- -- Jan
--
-- create table dup17 (x int4);
--
-- create trigger dup17_before
-- before insert on dup17
-- for each row
-- execute procedure
-- funny_dup17 ()
-- ;
--
-- insert into dup17 values (17);
-- select count(*) from dup17;
-- insert into dup17 values (17);
-- select count(*) from dup17;
--
-- drop trigger dup17_before on dup17;
--
-- create trigger dup17_after
-- after insert on dup17
-- for each row
-- execute procedure
-- funny_dup17 ()
-- ;
-- insert into dup17 values (13);
-- select count(*) from dup17 where x = 13;
-- insert into dup17 values (13);
-- select count(*) from dup17 where x = 13;
--
-- DROP TABLE dup17;
create sequence ttdummy_seq increment 10 start 0 minvalue 0;
create table tttest (
price_id int4,
price_val int4,
price_on int4,
price_off int4 default 999999
);
create trigger ttdummy
before delete or update on tttest
for each row
execute procedure
ttdummy (price_on, price_off);
create trigger ttserial
before insert or update on tttest
for each row
execute procedure
autoinc (price_on, ttdummy_seq);
insert into tttest values (1, 1, null);
insert into tttest values (2, 2, null);
insert into tttest values (3, 3, 0);
select * from tttest;
delete from tttest where price_id = 2;
select * from tttest;
-- what do we see ?
-- get current prices
select * from tttest where price_off = 999999;
-- change price for price_id == 3
update tttest set price_val = 30 where price_id = 3;
select * from tttest;
-- now we want to change pric_id in ALL tuples
-- this gets us not what we need
update tttest set price_id = 5 where price_id = 3;
select * from tttest;
-- restore data as before last update:
select set_ttdummy(0);
delete from tttest where price_id = 5;
update tttest set price_off = 999999 where price_val = 30;
select * from tttest;
-- and try change price_id now!
update tttest set price_id = 5 where price_id = 3;
select * from tttest;
-- isn't it what we need ?
select set_ttdummy(1);
-- we want to correct some "date"
update tttest set price_on = -1 where price_id = 1;
-- but this doesn't work
-- try in this way
select set_ttdummy(0);
update tttest set price_on = -1 where price_id = 1;
select * from tttest;
-- isn't it what we need ?
-- get price for price_id == 5 as it was @ "date" 35
select * from tttest where price_on <= 35 and price_off > 35 and price_id = 5;
drop table tttest;
drop sequence ttdummy_seq;
|
-- @testpoint: opengauss关键字drop(非保留),作为游标名,部分测试点合理报错
--前置条件
drop table if exists drop_test cascade;
create table drop_test(cid int,fid int);
--关键字不带引号-成功
start transaction;
cursor drop for select * from drop_test order by 1;
close drop;
end;
--关键字带双引号-成功
start transaction;
cursor "drop" for select * from drop_test order by 1;
close "drop";
end;
--关键字带单引号-合理报错
start transaction;
cursor 'drop' for select * from drop_test order by 1;
close 'drop';
end;
--关键字带反引号-合理报错
start transaction;
cursor `drop` for select * from drop_test order by 1;
close `drop`;
end;
drop table if exists drop_test cascade; |
<filename>sql/core/src/test/resources/sql-tests/inputs/inline-table.sql<gh_stars>100-1000
-- single row, without table and column alias
select * from values ("one", 1);
-- single row, without column alias
select * from values ("one", 1) as data;
-- single row
select * from values ("one", 1) as data(a, b);
-- single column multiple rows
select * from values 1, 2, 3 as data(a);
-- three rows
select * from values ("one", 1), ("two", 2), ("three", null) as data(a, b);
-- null type
select * from values ("one", null), ("two", null) as data(a, b);
-- int and long coercion
select * from values ("one", 1), ("two", 2L) as data(a, b);
-- foldable expressions
select * from values ("one", 1 + 0), ("two", 1 + 3L) as data(a, b);
-- complex types
select * from values ("one", array(0, 1)), ("two", array(2, 3)) as data(a, b);
-- decimal and double coercion
select * from values ("one", 2.0), ("two", 3.0D) as data(a, b);
-- error reporting: nondeterministic function rand
select * from values ("one", rand(5)), ("two", 3.0D) as data(a, b);
-- error reporting: different number of columns
select * from values ("one", 2.0), ("two") as data(a, b);
-- error reporting: types that are incompatible
select * from values ("one", array(0, 1)), ("two", struct(1, 2)) as data(a, b);
-- error reporting: number aliases different from number data values
select * from values ("one"), ("two") as data(a, b);
-- error reporting: unresolved expression
select * from values ("one", random_not_exist_func(1)), ("two", 2) as data(a, b);
-- error reporting: aggregate expression
select * from values ("one", count(1)), ("two", 2) as data(a, b);
|
<filename>CSharp DB Fundamentals MSSQL/CSharpDBFundDataDefinitionAndDataTypes/CSharpDBFundDataDefinitionAndDataTypes/08.CreateTableUsers.sql
USE Minions
CREATE TABLE Users(
Id BIGINT PRIMARY KEY IDENTITY,
Username VARCHAR(30) UNIQUE NOT NULL,
Password VARCHAR(26) NOT NULL,
ProfilePicture VARBINARY(MAX),
LastLoginTime DATETIME,
IsDeleted BIT
)
INSERT INTO Users (Username, Password, ProfilePicture, LastLoginTime, IsDeleted) VALUES
('Pesho', '<PASSWORD>', NULL, NULL, 1),
('Gosho', '<PASSWORD>', NULL, NULL, 0),
('Misho', '<PASSWORD>', NULL, NULL, 0),
('Tosho', '<PASSWORD>', NULL, NULL, 1),
('Kiro', '<PASSWORD>', NULL, NULL, 1)
|
CREATE TABLE IF NOT EXISTS `territory_registrations` (
`castleId` int(1) NOT NULL default '0',
`registeredId` int(11) NOT NULL default '0',
PRIMARY KEY (`castleId`,`registeredId`)
); |
<reponame>sulungistianti/sisfopenjualan<filename>abs.sql<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 4.8.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Dec 08, 2018 at 03:53 PM
-- Server version: 10.1.32-MariaDB
-- PHP Version: 7.2.5
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `abs`
--
-- --------------------------------------------------------
--
-- Table structure for table `barang`
--
CREATE TABLE `barang` (
`kd_barang` int(11) NOT NULL,
`nama_barang` varchar(20) NOT NULL,
`harga_beli` varchar(50) NOT NULL,
`harga_jual` varchar(50) NOT NULL,
`stok` int(11) NOT NULL,
`diskon` varchar(10) NOT NULL,
`keterangan` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `barang`
--
INSERT INTO `barang` (`kd_barang`, `nama_barang`, `harga_beli`, `harga_jual`, `stok`, `diskon`, `keterangan`) VALUES
(3, 'Komputer', '1.000.000', '1.500.000', 40, '20%', 'keterangan oke update'),
(4, 'laptop', '1.000.000', '15.000.000', 20, '20%', 'oke'),
(5, 'Komputer laptop baru', '1.200.000', '1.500.000', 20, '30%', 'barang sangat bagus');
-- --------------------------------------------------------
--
-- Table structure for table `pelanggan`
--
CREATE TABLE `pelanggan` (
`kode_pelanggan` int(11) NOT NULL,
`nama_pelanggan` varchar(50) NOT NULL,
`kelamin` varchar(25) NOT NULL,
`alamat` text NOT NULL,
`no_telpon` varchar(12) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `pelanggan`
--
INSERT INTO `pelanggan` (`kode_pelanggan`, `nama_pelanggan`, `kelamin`, `alamat`, `no_telpon`) VALUES
(1, 'andi', 'PEREMPUAN', 'cibinong bogor', '089638889862'),
(3, 'hoerudin andi', 'PEREMPUAN', 'cibinong bogor depok ', '089638889862');
-- --------------------------------------------------------
--
-- Table structure for table `penjualan`
--
CREATE TABLE `penjualan` (
`id_jual` int(11) NOT NULL,
`kode_barang` int(11) NOT NULL,
`kode_pelanggan` int(11) NOT NULL,
`jumlah` varchar(50) NOT NULL,
`keterangan` text NOT NULL,
`status` tinyint(1) DEFAULT '0',
`tanggal` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `penjualan`
--
INSERT INTO `penjualan` (`id_jual`, `kode_barang`, `kode_pelanggan`, `jumlah`, `keterangan`, `status`, `tanggal`) VALUES
(3, 3, 1, '2', 'oke', 1, '2018-12-02 15:20:38'),
(4, 3, 1, '3', 'oke', 1, '2018-12-02 15:20:38'),
(5, 4, 3, '2', 'oke banget', 1, '2018-12-02 15:20:38'),
(12, 3, 1, '3', 'oke', 1, '2018-12-04 13:05:52');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `barang`
--
ALTER TABLE `barang`
ADD PRIMARY KEY (`kd_barang`);
--
-- Indexes for table `pelanggan`
--
ALTER TABLE `pelanggan`
ADD PRIMARY KEY (`kode_pelanggan`);
--
-- Indexes for table `penjualan`
--
ALTER TABLE `penjualan`
ADD PRIMARY KEY (`id_jual`),
ADD KEY `kode_barang` (`kode_barang`),
ADD KEY `kode_pelanggan` (`kode_pelanggan`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `barang`
--
ALTER TABLE `barang`
MODIFY `kd_barang` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `pelanggan`
--
ALTER TABLE `pelanggan`
MODIFY `kode_pelanggan` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `penjualan`
--
ALTER TABLE `penjualan`
MODIFY `id_jual` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `penjualan`
--
ALTER TABLE `penjualan`
ADD CONSTRAINT `penjualan_ibfk_1` FOREIGN KEY (`kode_barang`) REFERENCES `barang` (`kd_barang`),
ADD CONSTRAINT `penjualan_ibfk_2` FOREIGN KEY (`kode_pelanggan`) REFERENCES `pelanggan` (`kode_pelanggan`);
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
version https://git-lfs.github.com/spec/v1
oid sha256:d8c30702a939d6369e70412998ee6cdfed9045f9cad9e5118287750a87276bdd
size 198152759
|
SELECT
pk_id AS t_id,
tid,
id,
geometrie,
name_nummer,
art
FROM
gemgis.t_ele_trassepkt
; |
-- 8/5/2021. SQL to build sabpq dataset around Europe PMC search for exosome
-- between years 1990 and 2010.
--CREATE s TABLE (I used command line) for \COPY
\COPY public.europepmc_1990_2010_s FROM 'europepmc_1990_2010_ids.csv' WITH(FORMAT CSV, HEADER);
--CREATE a TABLE (cites s)
DROP TABLE IF EXISTS europepmc_exosome_1990_2010_a;
CREATE TABLE public.europepmc_exosome_1990_2010_a AS
SELECT oc.citing, e12s.doi AS cited
FROM open_citations oc
INNER JOIN europepmc_exosome_1990_2010_s e12s
ON oc.cited=e12s.doi;
--CREATE b Table (is cited by s)
DROP TABLE IF EXISTS europepmc_exosome_1990_2010_b;
CREATE TABLE europepmc_exosome_1990_2010_b AS
SELECT e12s.doi AS citing ,oc.cited FROM open_citations oc
INNER JOIN europepmc_exosome_1990_2010_s e12s
ON oc.citing=e12s.doi;
--CREATE s-a-b list of nodes
DROP TABLE IF EXISTS europepmc_exosome_1990_2010_sab;
CREATE TABLE europepmc_exosome_1990_2010_sab AS
SELECT DISTINCT citing as doi FROM europepmc_exosome_1990_2010_a UNION
SELECT DISTINCT cited FROM europepmc_exosome_1990_2010_a UNION
SELECT DISTINCT citing FROM europepmc_exosome_1990_2010_b UNION
SELECT DISTINCT cited FROM europepmc_exosome_1990_2010_a UNION
SELECT DISTINCT doi FROM europepmc_exosome_1990_2010_s;
CREATE INDEX europepmc_exosome_1990_2010_sab_idx
ON europepmc_exosome_1990_2010_sab(doi) TABLESPACE open_citations_tbs;
SELECT COUNT(1) from europepmc_exosome_1990_2010_sab;
--CREATE p TABLE
DROP TABLE IF EXISTS europepmc_exosome_1990_2010_p;
CREATE TABLE europepmc_exosome_1990_2010_p AS
SELECT oc.citing,ee12s.doi as cited
FROM europepmc_exosome_1990_2010_sab ee12s
INNER JOIN open_citations oc
ON oc.cited=ee12s.doi;
-- CREATE q TABLE
DROP TABLE IF EXISTS europepmc_exosome_1990_2010_q;
CREATE TABLE europepmc_exosome_1990_2010_q AS
SELECT ee12s.doi as citing, oc.cited
FROM europepmc_exosome_1990_2010_sab ee12s
INNER JOIN open_citations oc
ON oc.citing=ee12s.doi;
SELECT COUNT(1) FROM europepmc_exosome_1990_2010_q;
-- FINALLY sabq table
DROP TABLE IF EXISTS europepmc_exosome_1990_2010_sabpq_edgelist;
CREATE TABLE europepmc_exosome_1990_2010_sabpq_edgelist AS
(SELECT DISTINCT * FROM europepmc_exosome_1990_2010_p)
UNION
(SELECT DISTINCT * from europepmc_exosome_1990_2010_q);
SELECT COUNT(1) FROM europepmc_exosome_1990_2010_sabpq_edgelist;
-- sabpq nodelist
DROP TABLE IF EXISTS europepmc_exosome_1990_2010_sabpq_nodelist;
CREATE TABLE europepmc_exosome_1990_2010_sabpq_nodelist
AS (SELECT DISTINCT citing as node_id from europepmc_exosome_1990_2010_sabpq_edgelist)
UNION
(SELECT DISTINCT cited from europepmc_exosome_1990_2010_sabpq_edgelist);
CREATE INDEX europepmc_exosome_1990_2010_sabpq_nodelist_idx
ON europepmc_exosome_1990_2010_sabpq_nodelist(node_id) TABLESPACE open_citations_tbs;
SELECT COUNT(1) FROM europepmc_exosome_1990_2010_sabpq_nodelist; |
<filename>staff.sql<gh_stars>1-10
-- phpMyAdmin SQL Dump
-- version 4.7.9
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Dec 20, 2018 at 08:26 PM
-- Server version: 10.1.31-MariaDB
-- PHP Version: 7.2.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `cms`
--
-- --------------------------------------------------------
--
-- Table structure for table `staff`
--
CREATE TABLE `staff` (
`e_id` int(8) NOT NULL,
`email` varchar(40) NOT NULL,
`type` tinyint(2) NOT NULL COMMENT '1-teaching 50-non-teaching',
`short_form` varchar(5) DEFAULT NULL COMMENT 'Can''t assume uniqueness as some value are missing',
`first_name` varchar(40) NOT NULL,
`mid_name` varchar(40) DEFAULT NULL,
`last_name` varchar(40) DEFAULT NULL,
`gender` varchar(1) NOT NULL,
`department_id` int(3) DEFAULT NULL,
`doj` date NOT NULL,
`dob` date DEFAULT NULL,
`designation` varchar(30) DEFAULT NULL,
`mobile` char(10) NOT NULL,
`landline` varchar(14) DEFAULT NULL,
`address` text NOT NULL,
`pincode` char(6) NOT NULL,
`aadhaar_id` char(16) NOT NULL,
`concol` varchar(20) NOT NULL,
`pancard` varchar(12) NOT NULL,
`dol` date DEFAULT NULL COMMENT 'date of Leaving',
`probation_start` date DEFAULT NULL,
`probation_end` date DEFAULT NULL,
`is_permanent` tinyint(1) NOT NULL COMMENT '1-Permanent 0-Adhoc',
`expertise` varchar(1000) DEFAULT NULL,
`no_of_research_papers` int(5) NOT NULL,
`last_active` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`slot` varchar(5) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `staff`
--
INSERT INTO `staff` (`e_id`, `email`, `type`, `short_form`, `first_name`, `mid_name`, `last_name`, `gender`, `department_id`, `doj`, `dob`, `designation`, `mobile`, `landline`, `address`, `pincode`, `aadhaar_id`, `concol`, `pancard`, `dol`, `probation_start`, `probation_end`, `is_permanent`, `expertise`, `no_of_research_papers`, `last_active`, `slot`) VALUES
(378, '2016.<EMAIL>', 1, 'AS', 'Amit', '', 'Singh', 'M', 5, '2016-07-08', '0000-00-00', NULL, '9000000083', NULL, 'PLHLDR_Address_378', '123456', 'PLHLDR_AD_378', 'PLHLDR_CONCOL_378', 'PAN_378', NULL, NULL, NULL, 1, NULL, 0, '2018-08-29 09:24:33', 'T1');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `staff`
--
ALTER TABLE `staff`
ADD PRIMARY KEY (`e_id`),
ADD UNIQUE KEY `email` (`email`),
ADD UNIQUE KEY `mobile` (`mobile`),
ADD KEY `department_id` (`department_id`);
--
-- Constraints for dumped tables
--
--
-- Constraints for table `staff`
--
ALTER TABLE `staff`
ADD CONSTRAINT `staff_ibfk_1` FOREIGN KEY (`department_id`) REFERENCES `department` (`id`);
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<gh_stars>1-10
SELECT Name FROM STUDENTS
WHERE Marks > 75
ORDER BY RIGHT(Name, 3), RIGHT(Name, 2), RIGHT(Name, 1), ID
|
-- laststmtchanges.test
--
-- execsql {
-- ROLLBACK;
-- CREATE INDEX t3_i1 ON t3(a);
-- BEGIN;
-- DELETE FROM t3;
-- SELECT changes();
-- }
ROLLBACK;
CREATE INDEX t3_i1 ON t3(a);
BEGIN;
DELETE FROM t3;
SELECT changes(); |
create database if not exists my_database |
# metal.sql
# This script creates the initial version of the metal table used in
# the strings chapter.
DROP TABLE IF EXISTS metal;
#@ _CREATE_TABLE_
CREATE TABLE metal (
name VARCHAR(20),
PRIMARY KEY(name));
#@ _CREATE_TABLE_
# populate table
INSERT INTO metal (name)
VALUES
('gold'),
('iron'),
('lead'),
('mercury'),
('platinum'),
('tin')
;
SELECT * FROM metal;
|
SELECT o_ol_cnt,
count(*) AS order_count
FROM oorder
WHERE exists
(SELECT *
FROM order_line
WHERE o_id = ol_o_id
AND o_w_id = ol_w_id
AND o_d_id = ol_d_id
AND ol_delivery_d >= o_entry_d)
GROUP BY o_ol_cnt
ORDER BY o_ol_cnt;
|
SELECT 'Upgrading Sentry store schema from 1.4.0 to 1.5.0' AS ' ';
SOURCE 001-SENTRY-327.mysql.sql;
SOURCE 002-SENTRY-339.mysql.sql;
SOURCE 003-SENTRY-380.mysql.sql;
SOURCE 004-SENTRY-74.mysql.sql;
UPDATE SENTRY_VERSION SET SCHEMA_VERSION='1.5.0', VERSION_COMMENT='Sentry release version 1.5.0' WHERE VER_ID=1;
SELECT 'Finish upgrading Sentry store schema from 1.4.0 to 1.5.0' AS ' ';
|
CREATE TABLE subscriptions (
id STRING,
user_id INT,
type STRING,
start_date TIMESTAMP(3),
end_date TIMESTAMP(3),
payment_expiration TIMESTAMP(3),
proc_time AS PROCTIME()
) WITH (
'connector' = 'faker',
'fields.id.expression' = '#{Internet.uuid}',
'fields.user_id.expression' = '#{number.numberBetween ''1'',''50''}',
'fields.type.expression'= '#{regexify ''(basic|premium|platinum){1}''}',
'fields.start_date.expression' = '#{date.past ''30'',''DAYS''}',
'fields.end_date.expression' = '#{date.future ''365'',''DAYS''}',
'fields.payment_expiration.expression' = '#{date.future ''365'',''DAYS''}'
);
CREATE TABLE users (
user_id INT PRIMARY KEY,
user_name VARCHAR(255) NOT NULL,
age INT NOT NULL
)
WITH (
'connector' = 'jdbc',
'url' = 'jdbc:mysql://localhost:3306/mysql-database',
'table-name' = 'users',
'username' = 'mysql-user',
'password' = '<PASSWORD>'
);
SELECT
id AS subscription_id,
type AS subscription_type,
age AS user_age,
CASE
WHEN age < 18 THEN 1
ELSE 0
END AS is_minor
FROM subscriptions usub
JOIN users FOR SYSTEM_TIME AS OF usub.proc_time AS u
ON usub.user_id = u.user_id; |
<reponame>leandrocgsi/SpringBootPlayground<gh_stars>0
-- CREATE DATABASE `rest_with_spring_boot_udemy`;
USE [rest_with_spring_boot_udemy]
GO
CREATE TABLE dbo.books (
[id] int NOT NULL IDENTITY,
[author] varchar(max),
[launch_date] datetime2(6) NOT NULL,
[price] decimal(38,2) NOT NULL,
[title] varchar(max),
PRIMARY KEY ([id])
)
GO
INSERT INTO dbo.books ([author], [launch_date], [price], [title]) VALUES
('<NAME>', '2017-11-29 13:50:05.878000', 49.00, 'Working effectively with legacy code'),
('<NAME>, <NAME>, <NAME> e <NAME>', '2017-11-29 15:15:13.636000', 45.00, 'Design Patterns'),
('<NAME>', '2009-01-10 00:00:00.000000', 77.00, 'Clean Code'),
('Crockford', '2017-11-07 15:09:01.674000', 67.00, 'JavaScript'),
('<NAME>', '2017-11-07 15:09:01.674000', 58.00, 'Code complete'),
('<NAME> e <NAME>', '2017-11-07 15:09:01.674000', 88.00, 'Refactoring'),
('<NAME>, <NAME>, <NAME>, <NAME>', '2017-11-07 15:09:01.674000', 110.00, 'Head First Design Patterns'),
('<NAME>', '2017-11-07 00:00:00.000000', 92.00, 'Domain Driven Design'),
('<NAME> e <NAME>', '2017-11-07 15:09:01.674000', 80.00, 'Java Concurrency in Practice'),
('<NAME>', '2017-11-07 15:09:01.674000', 123.00, 'O poder dos quietos'),
('<NAME> e <NAME>', '2017-11-07 15:09:01.674000', 54.00, 'Big Data: como extrair volume, variedade, velocidade e valor da avalanche de informação cotidiana'),
('<NAME> e <NAME>', '2017-11-07 15:09:01.674000', 95.00, 'O verdadeiro valor de TI'),
('<NAME>', '2017-11-07 15:09:01.674000', 45.00, 'Os 11 segredos de líderes de TI altamente influentes'),
('<NAME>', '2017-11-29 00:00:00.000000', 49.00, 'Working effectively with legacy code')
GO
CREATE TABLE dbo.permission (
[id] bigint NOT NULL IDENTITY,
[description] varchar(255) DEFAULT NULL,
PRIMARY KEY ([id])
)
GO
INSERT INTO dbo.permission ([description]) VALUES
('ADMIN'),
('MANAGER'),
('COMMON_USER')
GO
CREATE TABLE dbo.person (
[id] bigint NOT NULL IDENTITY,
[address] varchar(100) NOT NULL,
[first_name] varchar(80) NOT NULL,
[gender] varchar(6) NOT NULL,
[last_name] varchar(80) NOT NULL,
[enabled] BIT NOT NULL DEFAULT 'TRUE',
PRIMARY KEY ([id])
)
GO
INSERT INTO dbo.person ([address], [first_name], [gender], [last_name], [enabled]) VALUES
('Uberlândia - Minas Gerais - Brasil', 'Leandro', 'Male', 'Costa', 'TRUE'),
('Uberlândia - Minas Gerais - Brasil', 'Gabriela', 'Female', 'Costa', 'TRUE'),
('Patos de Minas - Minas Gerais - Brasil', 'Flávio', 'Male', 'Costa', 'TRUE'),
('Uberlândia - Minas Gerais - Brasil', 'Fernanda', 'Female', '<NAME>', 'TRUE'),
('Patos de Minas - Minas Gerais - Brasil', 'Pedro', 'Male', 'Paulo', 'FALSE'),
('Patos de Minas - Minas Gerais - Brasil', 'Marcos', 'Male', 'Paulo', 'TRUE'),
('Uberaba - Minas Gerais - Brasil', 'Marcela', 'Female', 'Oliveira', 'TRUE'),
('093 Oneill Alley', 'Kaye', 'Female', 'Wasbrough', 'TRUE'),
('6 Ridgeway Place', 'Koressa', 'Female', 'Gadman', 'FALSE'),
('704 Cambridge Plaza', 'Calhoun', 'Male', 'Staveley', 'FALSE'),
('22 Melvin Court', 'Mable', 'Female', 'Navarro', 'FALSE'),
('86619 Montana Trail', 'Rebbecca', 'Female', 'Bastock', 'TRUE'),
('820 Hoard Court', 'Archibald', 'Male', 'Chaim', 'TRUE'),
('42 <NAME>', 'Westley', 'Male', 'Rosier', 'FALSE'),
('1 Dayton Center', 'Donalt', 'Male', 'Glasper', 'FALSE'),
('555 Wayridge Junction', 'Gearard', 'Male', 'Speller', 'TRUE'),
('5 Milwaukee Plaza', 'Abraham', 'Male', 'Maha', 'FALSE'),
('3935 Blue Bill Park Junction', 'Romonda', 'Female', 'Havill', 'TRUE'),
('6 Heffernan Avenue', 'Cynthie', 'Female', 'Gaymar', 'FALSE'),
('50680 American Ash Center', 'Dannel', 'Male', 'Batisse', 'FALSE'),
('757 Carpenter Plaza', 'Neel', 'Male', 'Thirkettle', 'TRUE'),
('96 Burrows Center', 'Aldridge', 'Male', 'Luigi', 'TRUE'),
('7593 Aberg Street', 'Margi', 'Female', 'Ellaway', 'TRUE'),
('86770 Truax Center', 'Bidget', 'Female', 'Cuppitt', 'TRUE'),
('542 Cascade Plaza', 'Sheffie', 'Male', 'Matthews', 'FALSE'),
('6 Ridge Oak Junction', 'Cairistiona', 'Female', 'Rasher', 'TRUE'),
('43218 Birchwood Alley', 'Birdie', 'Female', 'Dennison', 'TRUE'),
('79 Pepper Wood Hill', 'Mariette', 'Female', 'McCrann', 'TRUE'),
('3556 Linden Trail', 'Veriee', 'Female', 'Konzel', 'TRUE'),
('6728 Carpenter Plaza', 'Rafe', 'Male', 'Castillon', 'TRUE'),
('8 Pennsylvania Terrace', 'Eloisa', 'Female', 'McReidy', 'FALSE'),
('6914 Beilfuss Trail', 'Viole', 'Female', 'Mackieson', 'TRUE'),
('1779 Ronald Regan Place', 'Johny', 'Male', 'Grzegorczyk', 'FALSE'),
('96696 <NAME>', 'Randell', 'Male', 'Noli', 'FALSE'),
('91 <NAME>', 'Lowe', 'Male', 'Jacobovitch', 'FALSE'),
('94 Goodland Street', 'Osmond', 'Male', 'McFeate', 'FALSE'),
('6 Lakewood Alley', 'Georges', 'Male', 'Skeeles', 'TRUE'),
('9947 Dennis Park', 'Arleta', 'Female', 'Land', 'FALSE'),
('5 Miller Center', 'Hall', 'Male', 'Leipelt', 'TRUE'),
('38 Huxley Alley', 'Juline', 'Female', 'Quinet', 'TRUE'),
('33 8th Street', 'Minda', 'Female', 'Dixcey', 'TRUE'),
('9154 Northland Junction', 'Garreth', 'Male', 'Eatttok', 'FALSE'),
('59525 Dexter Circle', 'Keen', 'Male', 'Rogan', 'TRUE'),
('908 Truax Crossing', 'Dido', 'Female', 'Fitchew', 'FALSE'),
('797 Annamark Terrace', 'Alvan', 'Male', 'Slimmon', 'FALSE'),
('604 Oxford Crossing', 'Nolly', 'Male', 'Fick', 'FALSE'),
('86 Lighthouse Bay Terrace', 'Brice', 'Male', 'Wellings', 'TRUE'),
('80934 Barby Drive', 'Rheta', 'Female', 'Cruce', 'TRUE'),
('38211 Grim Circle', '<NAME>', 'Female', 'Middell', 'FALSE'),
('9732 Miller Circle', 'Tarrah', 'Female', 'Worsnup', 'FALSE'),
('75 Ridgeview Parkway', 'Jeramie', 'Male', 'Counsell', 'TRUE'),
('17270 Mcguire Terrace', 'Borden', 'Male', 'Lazonby', 'FALSE'),
('10 Forest Run Circle', 'Pippy', 'Female', 'Torrans', 'FALSE'),
('737 Golf Circle', 'Cleo', 'Female', 'Jirka', 'FALSE'),
('55 Vernon Lane', 'Tate', 'Female', 'Jedryka', 'TRUE'),
('0 Jay Plaza', 'Decca', 'Male', 'Bligh', 'FALSE'),
('55190 Cherokee Avenue', 'Reid', 'Male', 'Lafford', 'TRUE'),
('1 Portage Hill', 'Kilian', 'Male', 'Lethlay', 'TRUE'),
('92 Farragut Pass', 'Dannel', 'Male', 'Mease', 'TRUE'),
('74 Utah Way', 'Rennie', 'Female', 'Moorwood', 'FALSE'),
('331 Acker Drive', 'Eugenie', 'Female', 'Bengochea', 'TRUE'),
('57 Forest Lane', 'Tabitha', 'Female', 'Keel', 'FALSE'),
('960 Talmadge Place', 'Katherina', 'Female', 'Ehrat', 'FALSE'),
('3025 Chinook Crossing', 'Jonathon', 'Male', 'Pelling', 'FALSE'),
('34091 East Park', 'Benjie', 'Male', 'Jesson', 'TRUE'),
('91144 Columbus Lane', 'Sabine', 'Female', 'Vasilyevski', 'TRUE'),
('9357 Thierer Drive', 'Morie', 'Male', 'Kaubisch', 'FALSE'),
('82780 Amoth Street', 'Abra', 'Female', 'Doyle', 'TRUE'),
('39509 Transport Road', 'Rickey', 'Male', 'Corhard', 'FALSE'),
('59 Dryden Terrace', 'Freddie', 'Female', 'Vaen', 'FALSE'),
('81 Basil Parkway', 'Darb', 'Female', 'Eddow', 'TRUE'),
('19629 Bay Street', 'Dolley', 'Female', 'Kohrsen', 'FALSE'),
('91876 Vernon Lane', 'Parker', 'Male', 'Mairs', 'TRUE'),
('52846 Summer Ridge Parkway', 'Brandea', 'Female', 'Goodship', 'TRUE'),
('93 Portage Place', 'Hilton', 'Male', 'Juniper', 'FALSE'),
('78390 Hoard Pass', 'Prentice', 'Male', 'Moorman', 'TRUE'),
('2 Dawn Trail', 'Noam', 'Male', 'Sturgess', 'TRUE'),
('00 Lukken Alley', 'Micky', 'Female', 'Hynam', 'FALSE'),
('2 Division Crossing', 'Dermot', 'Male', 'Kondrat', 'FALSE'),
('44028 Barnett Park', 'Blondie', 'Female', 'Ducker', 'FALSE'),
('7 Gulseth Way', 'Prentice', 'Male', 'Plum', 'FALSE'),
('02 Farwell Place', 'Jarrad', 'Male', 'Hanny', 'FALSE'),
('09956 Green Ridge Lane', 'Paulie', 'Female', 'Raylton', 'FALSE'),
('3 Mendota Pass', 'Wesley', 'Male', 'Russi', 'TRUE'),
('7 Forest Run Drive', 'Hailee', 'Female', 'Cheers', 'TRUE'),
('405 <NAME>', 'Vernen', 'Male', 'Burnhill', 'TRUE'),
('909 Coolidge Hill', 'Natasha', 'Female', 'Idle', 'TRUE'),
('33 Melrose Park', 'Amanda', 'Female', 'De la croix', 'TRUE'),
('97 Scott Street', 'Terrance', 'Male', 'Winspire', 'FALSE'),
('92599 Pond Park', 'Leonard', 'Male', 'Martinelli', 'TRUE'),
('736 Northview Center', 'Clayborn', 'Male', 'Milne', 'TRUE'),
('610 Laurel Point', 'Brear', 'Female', 'Braden', 'TRUE'),
('843 Main Circle', 'Novelia', 'Female', 'Jerrard', 'TRUE'),
('4 Carberry Hill', 'Jonie', 'Female', 'Simoncelli', 'TRUE'),
('21 Canary Park', 'Ilyse', 'Female', 'Dene', 'TRUE'),
('65372 Starling Terrace', 'Markus', 'Male', 'Elvin', 'TRUE'),
('1257 Novick Way', 'Veradis', 'Female', 'Wickett', 'TRUE')
GO
CREATE TABLE dbo.users (
[id] bigint NOT NULL IDENTITY,
[user_name] varchar(255) DEFAULT NULL,
[full_name] varchar(255) DEFAULT NULL,
[password] varchar(255) DEFAULT NULL,
[account_non_expired] BIT NOT NULL DEFAULT 'TRUE',
[account_non_locked] BIT NOT NULL DEFAULT 'TRUE',
[credentials_non_expired] BIT NOT NULL DEFAULT 'TRUE',
[enabled] BIT NOT NULL DEFAULT 'TRUE',
PRIMARY KEY ([id]),
CONSTRAINT [uk_user_name] UNIQUE ([user_name])
)
GO
INSERT INTO dbo.users ([user_name], [full_name], [password], [account_non_expired], [account_non_locked], [credentials_non_expired], [enabled]) VALUES
('leandro', '<NAME>', '$2a$16$9qr2tv0HmXbHBsx.TZFjfux742wCZM32a8Wi6iBqwIqaizlHPuxHS', 'TRUE', 'TRUE', 'TRUE', 'TRUE'),
('flavio', '<NAME>', '$2a$16$h4yDQCYTy62R6xrtFDWONeMH3Lim4WQuU/aj8hxW.dJJoeyvtEkhK', 'TRUE', 'TRUE', 'TRUE', 'TRUE')
GO
CREATE TABLE dbo.user_permission (
[id_user] bigint NOT NULL,
[id_permission] bigint NOT NULL,
PRIMARY KEY ([id_user],[id_permission])
,
CONSTRAINT [fk_user_permission] FOREIGN KEY ([id_user]) REFERENCES users ([id]),
CONSTRAINT [fk_user_permission_permission] FOREIGN KEY ([id_permission]) REFERENCES permission ([id])
)
GO
CREATE INDEX [fk_user_permission_permission] ON user_permission ([id_permission])
GO
INSERT INTO dbo.user_permission ([id_user], [id_permission]) VALUES
(1, 1),
(2, 1),
(1, 2); |
<filename>quickstart/tpch-exp/tpch-test/tpch/21.sql
explain analyze
select s_name, count(*) as numwait
from SUPPLIER,
LINEITEM l1,
ORDERS,
NATION
where s_suppkey = l1.l_suppkey
and o_orderkey = l1.l_orderkey
and o_orderstatus = 'F'
and l1.l_receiptdate > l1.l_commitdate
and exists(select * from LINEITEM l2 where l2.l_orderkey = l1.l_orderkey and l2.l_suppkey <> l1.l_suppkey)
and not exists(select *
from LINEITEM l3
where l3.l_orderkey = l1.l_orderkey
and l3.l_suppkey <> l1.l_suppkey
and l3.l_receiptdate > l3.l_commitdate)
and s_nationkey = n_nationkey
and n_name = 'EGYPT'
group by s_name
order by numwait desc, s_name
limit 100;
|
<gh_stars>1-10
ALTER TABLE DATICAL_ADMIN.posts MODIFY inserted_date CONSTRAINT test_notNull NOT NULL |
<reponame>raviworkato/ravi_workato
{% if not var("enable_custom_source_2") %}
{{
config(
enabled=false
)
}}
{% endif %}
WITH source AS (
select *
from
{{ source('custom_source_2','s_accounts' ) }}
),
renamed as (
SELECT
concat('custom_2-',id) AS contact_id,
cast(null as {{ dbt_utils.type_string() }}) AS contact_first_name,
cast(null as {{ dbt_utils.type_string() }}) AS contact_last_name,
cast(null as {{ dbt_utils.type_string() }}) AS contact_name,
cast(null as {{ dbt_utils.type_string() }}) AS contact_job_title,
cast(null as {{ dbt_utils.type_string() }}) AS contact_email,
cast(null as {{ dbt_utils.type_string() }}) AS contact_phone,
cast(null as {{ dbt_utils.type_string() }}) AS AS contact_phone_mobile,
ccast(null as {{ dbt_utils.type_string() }}) AS contact_address,
cast(null as {{ dbt_utils.type_string() }}) AS contact_city,
ccast(null as {{ dbt_utils.type_string() }}) AS contact_state,
cast(null as {{ dbt_utils.type_string() }}) AS contact_country,
ccast(null as {{ dbt_utils.type_string() }}) AS contact_postcode_zip,
cast(null as {{ dbt_utils.type_string() }}) AS contact_company,
ccast(null as {{ dbt_utils.type_string() }}) AS contact_website,
cast(null as {{ dbt_utils.type_string() }}) AS AS contact_company_id,
cast(null as {{ dbt_utils.type_string() }}) AS contact_owner_id,
cast(null as {{ dbt_utils.type_string() }}) AS contact_lifecycle_stage,
cast(null as {{ dbt_utils.type_timestamp() }}) AS contact_created_date,
cast(null as {{ dbt_utils.type_timestamp() }}) AS contact_last_modified_date
FROM
source
)
SELECT
*
FROM
renamed
|
<reponame>isuruuy429/product-ei<gh_stars>100-1000
insert into Files (fileName,type) values ('WSO2DSS','WSO2 Data Services Server');
insert into Files (fileName,type) values ('WSO2DAS','WSO2 Data Analytics Server');
insert into Files (fileName,type) values ('WSO2ML','WSO2 Machine Learner');
insert into Files (fileName,type) values ('WSO2CEP','WSO2 Complex Event Processor');
insert into FileRecords values (1,RAWTOHEX('BLOB1'),'WSO2DSS');
insert into FileRecords values (2,RAWTOHEX('BLOB1'),'WSO2DSS');
insert into FileRecords values (3,RAWTOHEX('BLOB1'),'WSO2DSS');
insert into FileRecords values (4,RAWTOHEX('BLOB1'),'WSO2DSS');
insert into FileRecords values (5,RAWTOHEX('BLOB2'),'WSO2DAS');
insert into FileRecords values (6,RAWTOHEX('BLOB2'),'WSO2DAS');
insert into FileRecords values (7,RAWTOHEX('BLOB2'),'WSO2DAS');
insert into FileRecords values (8,RAWTOHEX('BLOB2'),'WSO2DAS');
|
CREATE TABLE users (
id INTEGER NOT NULL PRIMARY KEY,
name VARCHAR NOT NULL UNIQUE,
email VARCHAR NOT NULL,
password VARCHAR NOT NULL
)
|
-- this is non-SRF returning record
--create or replace function out_float8(out x float8, in a float8, out y float8[]) as $$
create or replace function out_float8(out x anyelement, in a anyelement, out y anyarray) as $$
# container: plc_r_shared
list(a, rep(a, 3))
$$ language plcontainer;
select * from out_float8(42.5); -- NUMERICOID
select * from out_float8(42.5::float8);
select * from out_float8(42.5::int2);
-- SRF
create or replace function out__float8(out x float8, in a float8[], out y float8) returns setof record as $$
# container: plc_r_shared
data.frame(a, a*2)
$$ language plcontainer;
select * from out__float8(ARRAY[123,NULL,42.5]);
-- window function can't return setof
create or replace function out_fun_win(out x2 float8, in a float8, out p2 float8) AS $$
# container: plc_r_shared
list(x=a*2, y=a+2)
$$ window language plcontainer;
select s, bar.*
from (
select s, row_to_json(out_fun_win(s) over ()) j
from generate_series(1,2) s
) foo
, lateral json_to_record(j) as bar(x2 float8, p2 float8);
|
--
-- Script for migrating a BioSQL database from version 1.0.0 to 1.0.1.
--
-- You DO NOT need this if you installed BioSQL v1.0.1 or later. This
-- script will not check the installed version - if you run it on a
-- newer version than 1.0.0 you may revert changes made in later
-- versions.
--
-- It is strongly recommended to 1) backup your database first, and 2)
-- to run this script within a transaction so you can roll it back
-- when something goes wrong.
--
-- comments to biosql - <EMAIL>
--
-- ========================================================================
--
-- Copyright 2008 <NAME>
--
-- This file is part of BioSQL.
--
-- BioSQL is free software: you can redistribute it and/or modify it
-- under the terms of the GNU Lesser General Public License as
-- published by the Free Software Foundation, either version 3 of the
-- License, or (at your option) any later version.
--
-- BioSQL is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU Lesser General Public License for more details.
--
-- You should have received a copy of the GNU Lesser General Public License
-- along with BioSQL. If not, see <http://www.gnu.org/licenses/>.
--
-- ========================================================================
--
-- we need to drop the RULEs for the table we are altering, unfortunately
DROP RULE rule_dbxref_i ON dbxref;
-- widen the column width constraint on dbxref.accession
ALTER TABLE dbxref ALTER COLUMN accession TYPE VARCHAR(128);
-- recreate the INSERT rule
CREATE RULE rule_dbxref_i
AS ON INSERT TO dbxref
WHERE (
SELECT dbxref_id FROM dbxref
WHERE accession = new.accession
AND dbname = new.dbname
AND version = new.version
)
IS NOT NULL
DO INSTEAD NOTHING
;
-- drop the RULEs for the table we are altering
DROP RULE rule_bioentry_i1 ON bioentry;
DROP RULE rule_bioentry_i2 ON bioentry;
-- correspondingly, do the same for bioentry.accession
ALTER TABLE bioentry ALTER COLUMN accession TYPE VARCHAR(128);
-- recreate the RULEs
CREATE RULE rule_bioentry_i1
AS ON INSERT TO bioentry
WHERE (
SELECT bioentry_id FROM bioentry
WHERE identifier = new.identifier
AND biodatabase_id = new.biodatabase_id
)
IS NOT NULL
DO INSTEAD NOTHING
;
CREATE RULE rule_bioentry_i2
AS ON INSERT TO bioentry
WHERE (
SELECT bioentry_id FROM bioentry
WHERE accession = new.accession
AND biodatabase_id = new.biodatabase_id
AND version = new.version
)
IS NOT NULL
DO INSTEAD NOTHING
;
|
<reponame>Mavarice/POW-url
-- ----------------------------------------------------------------------------
-- table: url
CREATE TABLE url (
id INTEGER NOT NULL DEFAULT nextval('object_id_seq'::TEXT) PRIMARY KEY,
code TEXT NOT NULL UNIQUE,
url TEXT NOT NULL,
LIKE base INCLUDING DEFAULTS
);
CREATE TRIGGER url_update BEFORE UPDATE ON url
FOR EACH ROW EXECUTE PROCEDURE updated();
-- ----------------------------------------------------------------------------
|
:CONNECT SQL2K12-SVR3
SELECT category_no, category_desc
FROM [CreditReporting].[dbo].[category];
GO
:CONNECT SQL2K12-SVR1
INSERT [Credit].[dbo].[category]
(category_desc)
VALUES ('This is a Test');
GO
-- Wait a few seconds
:CONNECT SQL2K12-SVR3
SELECT category_no, category_desc
FROM [CreditReporting].[dbo].[category];
GO |
<reponame>azhry/pariwisata360
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: 29 Mei 2018 pada 00.32
-- Versi Server: 10.1.16-MariaDB
-- PHP Version: 7.0.9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `pariwisata360`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `event`
--
CREATE TABLE `event` (
`id_event` bigint(20) NOT NULL,
`nama_event` varchar(150) NOT NULL,
`deskripsi` text NOT NULL,
`foto` text NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `event`
--
INSERT INTO `event` (`id_event`, `nama_event`, `deskripsi`, `foto`, `created_at`, `updated_at`) VALUES
(27041258, 'Asian Games', 'Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. <NAME>, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by <NAME>', '["27041258_AAWCHT6.jpg"]', '2018-05-14 13:14:30', '2018-05-14 13:14:30');
-- --------------------------------------------------------
--
-- Struktur dari tabel `hak_akses`
--
CREATE TABLE `hak_akses` (
`id_hak_akses` int(11) NOT NULL,
`label` varchar(50) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `hak_akses`
--
INSERT INTO `hak_akses` (`id_hak_akses`, `label`, `created_at`, `updated_at`) VALUES
(1, 'Admin', '2018-04-09 12:02:49', '2018-04-09 12:02:49'),
(2, 'Kepala Dinas', '2018-04-09 12:02:49', '2018-04-09 12:02:49'),
(3, 'Pengunjung', '2018-04-21 12:51:05', '2018-04-21 12:51:05'),
(4, 'Admin Wisata', '2018-05-08 12:14:58', '2018-05-08 12:14:58');
-- --------------------------------------------------------
--
-- Struktur dari tabel `kategori_wisata`
--
CREATE TABLE `kategori_wisata` (
`id_kategori` bigint(20) NOT NULL,
`nama_kategori` varchar(150) NOT NULL,
`deskripsi` text NOT NULL,
`foto` text NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `kategori_wisata`
--
INSERT INTO `kategori_wisata` (`id_kategori`, `nama_kategori`, `deskripsi`, `foto`, `created_at`, `updated_at`) VALUES
(1, 'Wisata Alam', 'Wisata Alam', '1_19622947_491788124496696_7499970616393465856_n.jpg', '2018-04-13 12:19:21', '2018-05-02 08:03:11'),
(2, 'Wisata Buatan', 'Wisata Buatan', '', '2018-04-13 12:19:21', '2018-04-13 12:19:21'),
(3, 'Wisata Keluarga', 'Wisata Keluarga', '', '2018-04-13 12:19:32', '2018-04-13 12:19:32');
-- --------------------------------------------------------
--
-- Struktur dari tabel `komentar_wisata`
--
CREATE TABLE `komentar_wisata` (
`id_komentar` bigint(20) NOT NULL,
`id_pengguna` bigint(20) NOT NULL,
`id_wisata` bigint(20) NOT NULL,
`komentar` text NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `komentar_wisata`
--
INSERT INTO `komentar_wisata` (`id_komentar`, `id_pengguna`, `id_wisata`, `komentar`, `created_at`, `updated_at`) VALUES
(2, 1403982594, 1071347239, 'ini syad', '2018-05-18 08:40:00', '2018-05-18 08:40:00'),
(3, 1403982594, 1071347239, 'sangat baik', '2018-05-18 08:41:34', '2018-05-18 08:41:34');
-- --------------------------------------------------------
--
-- Struktur dari tabel `kuesioner`
--
CREATE TABLE `kuesioner` (
`id_kuesioner` bigint(20) NOT NULL,
`nama_kuesioner` varchar(250) NOT NULL,
`id_wisata` bigint(20) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `kuesioner`
--
INSERT INTO `kuesioner` (`id_kuesioner`, `nama_kuesioner`, `id_wisata`, `created_at`, `updated_at`) VALUES
(1, '<NAME>', 1071347239, '2018-04-22 07:07:08', '2018-04-22 07:07:08');
-- --------------------------------------------------------
--
-- Struktur dari tabel `kuesioner_jawaban`
--
CREATE TABLE `kuesioner_jawaban` (
`id_jawaban` bigint(20) NOT NULL,
`id_pertanyaan` bigint(20) NOT NULL,
`jawaban` text NOT NULL,
`nilai` int(11) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `kuesioner_jawaban`
--
INSERT INTO `kuesioner_jawaban` (`id_jawaban`, `id_pertanyaan`, `jawaban`, `nilai`, `created_at`, `updated_at`) VALUES
(454128228, 1821394066, 'Jawaban 1', 1, '2018-04-22 10:46:47', '2018-04-22 10:46:47'),
(1029392317, 1821394066, 'Jawaban 3', 3, '2018-04-22 10:46:47', '2018-04-22 10:46:47'),
(1133691852, 1249815308, '2', 3, '2018-05-28 21:31:20', '2018-05-28 21:31:20'),
(1599761473, 1821394066, 'Jawaban 2', 2, '2018-04-22 10:46:47', '2018-04-22 10:46:47'),
(1617066473, 1249815308, '1', 1, '2018-05-28 21:31:20', '2018-05-28 21:31:20');
-- --------------------------------------------------------
--
-- Struktur dari tabel `kuesioner_jawaban_pengguna`
--
CREATE TABLE `kuesioner_jawaban_pengguna` (
`id_jawaban_pengguna` bigint(20) NOT NULL,
`id_pengguna` bigint(20) NOT NULL,
`id_pertanyaan` bigint(20) NOT NULL,
`id_jawaban` bigint(20) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `kuesioner_jawaban_pengguna`
--
INSERT INTO `kuesioner_jawaban_pengguna` (`id_jawaban_pengguna`, `id_pengguna`, `id_pertanyaan`, `id_jawaban`, `created_at`, `updated_at`) VALUES
(2007581300, 197357386, 1821394066, 1029392317, '2018-04-29 13:51:38', '2018-04-29 13:51:38'),
(2007581301, 857957627, 1249815308, 1133691852, '2018-05-28 22:30:35', '2018-05-28 22:30:35');
-- --------------------------------------------------------
--
-- Struktur dari tabel `kuesioner_pertanyaan`
--
CREATE TABLE `kuesioner_pertanyaan` (
`id_pertanyaan` bigint(20) NOT NULL,
`id_kategori` bigint(20) NOT NULL,
`id_kuesioner` bigint(20) NOT NULL,
`pertanyaan` text NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `kuesioner_pertanyaan`
--
INSERT INTO `kuesioner_pertanyaan` (`id_pertanyaan`, `id_kategori`, `id_kuesioner`, `pertanyaan`, `created_at`, `updated_at`) VALUES
(1249815308, 1, 1, '2', '2018-05-28 21:31:20', '2018-05-28 21:31:20'),
(1821394066, 2, 1, 'Pertanyaan 211', '2018-04-22 10:46:46', '2018-04-22 10:46:46');
-- --------------------------------------------------------
--
-- Struktur dari tabel `kuesioner_pertanyaan_kategori`
--
CREATE TABLE `kuesioner_pertanyaan_kategori` (
`id_kategori` bigint(20) NOT NULL,
`kategori` varchar(150) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `kuesioner_pertanyaan_kategori`
--
INSERT INTO `kuesioner_pertanyaan_kategori` (`id_kategori`, `kategori`, `created_at`, `updated_at`) VALUES
(1, 'Infrastruktur', '2018-04-22 09:10:44', '2018-04-22 09:10:44'),
(2, 'Kebersihan dan Keamanan', '2018-04-22 09:10:44', '2018-04-22 09:10:44'),
(3, 'Sarana dan Prasarana', '2018-04-22 09:11:03', '2018-04-22 09:11:03'),
(4, 'Sistem Informasi', '2018-04-22 09:11:03', '2018-04-22 09:11:03');
-- --------------------------------------------------------
--
-- Struktur dari tabel `pengguna`
--
CREATE TABLE `pengguna` (
`id_pengguna` bigint(20) NOT NULL,
`id_hak_akses` int(11) NOT NULL,
`email` varchar(100) NOT NULL,
`password` varchar(32) NOT NULL,
`nama` varchar(150) NOT NULL,
`tempat_lahir` varchar(150) NOT NULL,
`tanggal_lahir` date NOT NULL,
`foto` text NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `pengguna`
--
INSERT INTO `pengguna` (`id_pengguna`, `id_hak_akses`, `email`, `password`, `nama`, `tempat_lahir`, `tanggal_lahir`, `foto`, `created_at`, `updated_at`) VALUES
(197357386, 3, '<EMAIL>', '985fabf8f96dc1c4c306341031569937', '<NAME>', 'Palembang', '1996-08-05', '', '2018-04-21 12:53:48', '2018-04-21 12:53:48'),
(707278361, 2, '<EMAIL>', 'd8bba894a37a322932dc80e05de59fe3', 'Azh', 'Palembang', '1996-08-05', '', '2018-04-09 12:19:55', '2018-04-09 12:33:12'),
(857957627, 4, '<EMAIL>', '985fabf8f96dc1c4c306341031569937', 'Admin Punti Kayu', 'Palembang', '1996-08-05', '', '2018-05-08 12:20:19', '2018-05-08 12:20:19'),
(1403982594, 3, '<EMAIL>', '<PASSWORD>', 'syad', 'glb', '2018-05-24', '1403982594_simple_logo_kela1s.jpg', '2018-05-18 08:34:31', '2018-05-18 08:34:31'),
(1495442337, 1, '<EMAIL>', '827ccb0eea8a706c4c34a16891f84e7b', '<NAME>', 'Palembang', '1996-08-05', '', '2018-04-09 12:17:45', '2018-04-09 12:17:45'),
(1866353805, 3, '<EMAIL>', 'a645424d423aef1eb6c8da9fbfb<PASSWORD>', '<NAME>', 'Palembang', '1996-02-28', '', '2018-04-22 08:19:34', '2018-04-22 08:19:34');
-- --------------------------------------------------------
--
-- Struktur dari tabel `rating_wisata`
--
CREATE TABLE `rating_wisata` (
`id_rating` bigint(20) NOT NULL,
`id_wisata` bigint(20) NOT NULL,
`id_pengguna` bigint(20) NOT NULL,
`rating` float NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `rating_wisata`
--
INSERT INTO `rating_wisata` (`id_rating`, `id_wisata`, `id_pengguna`, `rating`, `created_at`, `updated_at`) VALUES
(1, 1071347239, 1403982594, 4, '2018-05-18 08:41:57', '2018-05-18 08:42:05');
-- --------------------------------------------------------
--
-- Struktur dari tabel `wisata`
--
CREATE TABLE `wisata` (
`id_wisata` bigint(20) NOT NULL,
`id_kategori` bigint(20) NOT NULL,
`nama_wisata` varchar(500) NOT NULL,
`deskripsi` text NOT NULL,
`foto` text NOT NULL,
`latitude` double NOT NULL,
`longitude` double NOT NULL,
`thumbnail` text NOT NULL,
`id_admin` bigint(20) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `wisata`
--
INSERT INTO `wisata` (`id_wisata`, `id_kategori`, `nama_wisata`, `deskripsi`, `foto`, `latitude`, `longitude`, `thumbnail`, `id_admin`, `created_at`, `updated_at`) VALUES
(1071347239, 2, '<NAME>', 'There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don''t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn''t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc', '["1071347239_38e47da3b9f02348958ca545019ea6bbfc40ca2d_hq.jpg","1071347239_18814539_10208749137873327_7826059913393865436_o.jpg"]', -3.0108194139871656, 104.77217518530279, '1071347239_38e47da3b9f02348958ca545019ea6bbfc40ca2d_hq.jpg', 857957627, '2018-04-13 19:04:58', '2018-05-10 06:58:11');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `event`
--
ALTER TABLE `event`
ADD PRIMARY KEY (`id_event`);
--
-- Indexes for table `hak_akses`
--
ALTER TABLE `hak_akses`
ADD PRIMARY KEY (`id_hak_akses`);
--
-- Indexes for table `kategori_wisata`
--
ALTER TABLE `kategori_wisata`
ADD PRIMARY KEY (`id_kategori`);
--
-- Indexes for table `komentar_wisata`
--
ALTER TABLE `komentar_wisata`
ADD PRIMARY KEY (`id_komentar`),
ADD KEY `id_wisata` (`id_wisata`),
ADD KEY `id_pengguna` (`id_pengguna`);
--
-- Indexes for table `kuesioner`
--
ALTER TABLE `kuesioner`
ADD PRIMARY KEY (`id_kuesioner`),
ADD KEY `id_wisata` (`id_wisata`);
--
-- Indexes for table `kuesioner_jawaban`
--
ALTER TABLE `kuesioner_jawaban`
ADD PRIMARY KEY (`id_jawaban`),
ADD KEY `id_pertanyaan` (`id_pertanyaan`);
--
-- Indexes for table `kuesioner_jawaban_pengguna`
--
ALTER TABLE `kuesioner_jawaban_pengguna`
ADD PRIMARY KEY (`id_jawaban_pengguna`),
ADD KEY `id_pengguna` (`id_pengguna`),
ADD KEY `id_pertanyaan` (`id_pertanyaan`),
ADD KEY `id_jawaban` (`id_jawaban`);
--
-- Indexes for table `kuesioner_pertanyaan`
--
ALTER TABLE `kuesioner_pertanyaan`
ADD PRIMARY KEY (`id_pertanyaan`),
ADD KEY `id_kuesioner` (`id_kuesioner`),
ADD KEY `id_kategori` (`id_kategori`);
--
-- Indexes for table `kuesioner_pertanyaan_kategori`
--
ALTER TABLE `kuesioner_pertanyaan_kategori`
ADD PRIMARY KEY (`id_kategori`);
--
-- Indexes for table `pengguna`
--
ALTER TABLE `pengguna`
ADD PRIMARY KEY (`id_pengguna`),
ADD KEY `id_hak_akses` (`id_hak_akses`);
--
-- Indexes for table `rating_wisata`
--
ALTER TABLE `rating_wisata`
ADD PRIMARY KEY (`id_rating`),
ADD KEY `id_wisata` (`id_wisata`),
ADD KEY `id_pengguna` (`id_pengguna`);
--
-- Indexes for table `wisata`
--
ALTER TABLE `wisata`
ADD PRIMARY KEY (`id_wisata`),
ADD KEY `id_kategori_wisata` (`id_kategori`),
ADD KEY `id_admin` (`id_admin`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `event`
--
ALTER TABLE `event`
MODIFY `id_event` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27041259;
--
-- AUTO_INCREMENT for table `hak_akses`
--
ALTER TABLE `hak_akses`
MODIFY `id_hak_akses` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `kategori_wisata`
--
ALTER TABLE `kategori_wisata`
MODIFY `id_kategori` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `komentar_wisata`
--
ALTER TABLE `komentar_wisata`
MODIFY `id_komentar` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `kuesioner`
--
ALTER TABLE `kuesioner`
MODIFY `id_kuesioner` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `kuesioner_jawaban`
--
ALTER TABLE `kuesioner_jawaban`
MODIFY `id_jawaban` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1617066474;
--
-- AUTO_INCREMENT for table `kuesioner_jawaban_pengguna`
--
ALTER TABLE `kuesioner_jawaban_pengguna`
MODIFY `id_jawaban_pengguna` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2007581302;
--
-- AUTO_INCREMENT for table `kuesioner_pertanyaan`
--
ALTER TABLE `kuesioner_pertanyaan`
MODIFY `id_pertanyaan` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1821394067;
--
-- AUTO_INCREMENT for table `kuesioner_pertanyaan_kategori`
--
ALTER TABLE `kuesioner_pertanyaan_kategori`
MODIFY `id_kategori` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `pengguna`
--
ALTER TABLE `pengguna`
MODIFY `id_pengguna` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1866353806;
--
-- AUTO_INCREMENT for table `rating_wisata`
--
ALTER TABLE `rating_wisata`
MODIFY `id_rating` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `wisata`
--
ALTER TABLE `wisata`
MODIFY `id_wisata` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1071347240;
--
-- Ketidakleluasaan untuk tabel pelimpahan (Dumped Tables)
--
--
-- Ketidakleluasaan untuk tabel `komentar_wisata`
--
ALTER TABLE `komentar_wisata`
ADD CONSTRAINT `komentar_wisata_ibfk_1` FOREIGN KEY (`id_wisata`) REFERENCES `wisata` (`id_wisata`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `komentar_wisata_ibfk_2` FOREIGN KEY (`id_pengguna`) REFERENCES `pengguna` (`id_pengguna`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Ketidakleluasaan untuk tabel `kuesioner`
--
ALTER TABLE `kuesioner`
ADD CONSTRAINT `kuesioner_ibfk_1` FOREIGN KEY (`id_wisata`) REFERENCES `wisata` (`id_wisata`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Ketidakleluasaan untuk tabel `kuesioner_jawaban`
--
ALTER TABLE `kuesioner_jawaban`
ADD CONSTRAINT `kuesioner_jawaban_ibfk_1` FOREIGN KEY (`id_pertanyaan`) REFERENCES `kuesioner_pertanyaan` (`id_pertanyaan`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Ketidakleluasaan untuk tabel `kuesioner_jawaban_pengguna`
--
ALTER TABLE `kuesioner_jawaban_pengguna`
ADD CONSTRAINT `kuesioner_jawaban_pengguna_ibfk_1` FOREIGN KEY (`id_pengguna`) REFERENCES `pengguna` (`id_pengguna`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `kuesioner_jawaban_pengguna_ibfk_2` FOREIGN KEY (`id_pertanyaan`) REFERENCES `kuesioner_pertanyaan` (`id_pertanyaan`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `kuesioner_jawaban_pengguna_ibfk_3` FOREIGN KEY (`id_jawaban`) REFERENCES `kuesioner_jawaban` (`id_jawaban`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Ketidakleluasaan untuk tabel `kuesioner_pertanyaan`
--
ALTER TABLE `kuesioner_pertanyaan`
ADD CONSTRAINT `kuesioner_pertanyaan_ibfk_1` FOREIGN KEY (`id_kuesioner`) REFERENCES `kuesioner` (`id_kuesioner`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `kuesioner_pertanyaan_ibfk_2` FOREIGN KEY (`id_kategori`) REFERENCES `kuesioner_pertanyaan_kategori` (`id_kategori`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Ketidakleluasaan untuk tabel `pengguna`
--
ALTER TABLE `pengguna`
ADD CONSTRAINT `pengguna_ibfk_1` FOREIGN KEY (`id_hak_akses`) REFERENCES `hak_akses` (`id_hak_akses`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Ketidakleluasaan untuk tabel `rating_wisata`
--
ALTER TABLE `rating_wisata`
ADD CONSTRAINT `rating_wisata_ibfk_1` FOREIGN KEY (`id_wisata`) REFERENCES `wisata` (`id_wisata`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `rating_wisata_ibfk_2` FOREIGN KEY (`id_pengguna`) REFERENCES `pengguna` (`id_pengguna`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Ketidakleluasaan untuk tabel `wisata`
--
ALTER TABLE `wisata`
ADD CONSTRAINT `wisata_ibfk_1` FOREIGN KEY (`id_kategori`) REFERENCES `kategori_wisata` (`id_kategori`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `wisata_ibfk_2` FOREIGN KEY (`id_admin`) REFERENCES `pengguna` (`id_pengguna`) ON DELETE CASCADE ON UPDATE CASCADE;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Dec 25, 2016 at 07:23 PM
-- Server version: 10.1.10-MariaDB
-- PHP Version: 7.0.4
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `db_student_info`
--
-- --------------------------------------------------------
--
-- Table structure for table `tb_student`
--
CREATE TABLE `tb_student` (
`student_id` int(11) NOT NULL,
`name` varchar(20) NOT NULL,
`phone_number` varchar(14) NOT NULL,
`email` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `tb_student`
--
INSERT INTO `tb_student` (`student_id`, `name`, `phone_number`, `email`) VALUES
(2, '<NAME>', '0193480455', '<EMAIL>'),
(3, '<NAME>', '01934804551', '<EMAIL>'),
(4, 'dfd', 'fdsf', 'dfdsfd'),
(5, 'gfdg', 'gfdgfd', 'gfgf');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `tb_student`
--
ALTER TABLE `tb_student`
ADD PRIMARY KEY (`student_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `tb_student`
--
ALTER TABLE `tb_student`
MODIFY `student_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
SELECT COUNT(*) FROM customers,orders,items WHERE customers.cid = orders.cid AND orders.oid = items.oid AND items.sku < '8888' AND items.quan = 100
|
<filename>Basic CRUD - Exercise/CRUD/9. Find Names of All Employees by Salary in Range.sql<gh_stars>0
SELECT FirstName , LastName , JobTitle
FROM Employees
WHERE Employees.Salary BETWEEN 20000 AND 30000 |
WHENEVER SQLERROR EXIT SQL.SQLCODE
SET SCAN ON
SET FEEDBACK OFF
SET VERIFY OFF
SET DEFINE ON
DEFINE install_dir=&1
DEFINE logfile_name=&2
DEFINE schema_alias=&3
DEFINE schema_name=&schema_alias._MANAGER
DEFINE schema_pwd=&4
DEFINE schema_tblsp=&5
DEFINE schema_temp_tblsp=&6
SPOOL &install_dir\&logfile_name
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
PROMPT *******************************************************************************
PROMPT *******************************************************************************
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
PROMPT INSTALLING APPLICATION MANAGER PHASE 1. VERSION: 1.1
--************************************************************************************
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
PROMPT *******************************************************************************
PROMPT *******************************************************************************
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
-- sys privileges
PROMPT Creating SYS objects
alter session set current_schema = SYS;
PROMPT Creating app manager schema
@&install_dir/create_manager_schema.sql &schema_name &schema_pwd &schema_tblsp &schema_temp_tblsp
@&install_dir/sys_Grants.sql &schema_name
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
PROMPT *******************************************************************************
PROMPT *******************************************************************************
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
-- app_owner privileges
PROMPT Creating &schema_name objects
alter session set current_schema = &schema_name;
-----------------------------
PROMPT Creating sequences....
-----------------------------
-----------------------------
PROMPT Creating static tables....
-----------------------------
@&install_dir/Tables/STATUS_CODE_T.sql
@&install_dir/Tables/SYSTEM_PARAMETERS_T.sql
@&install_dir/Tables/CONSTANTS_GENERATOR_T.sql
@&install_dir/Tables/APPLICATION_MANAGER_T.sql
--------------------------------
PROMPT Generating Constraints....
--------------------------------
--------------------------------
PROMPT Generating Indexes....
--------------------------------
--------------------------------
PROMPT Creating static table data....
--------------------------------
@&install_dir/Table_data/SYSTEM_PARAMETERS_T_fill.sql
@&install_dir/Table_data/STATUS_CODE_T_fill.sql
@&install_dir/Table_data/CONSTANTS_GENERATOR_T_fill.sql
--------------------------------
PROMPT Generating constants....
--------------------------------
@&install_dir/Procedures/P_GENERATE_CONSTANTS.prc
exec p_generate_constants;
--------------------------------
PROMPT Creating Foreign key constraints
--------------------------------
--------------------------------
PROMPT Creating synonyms
--------------------------------
--------------------------------
PROMPT Creating views....
--------------------------------
--------------------------------
PROMPT Creating types....
--------------------------------
@&install_dir/Types/VARCHAR_250_NT.tps
@&install_dir/Types/NUMBER_NT.tps
--------------------------------
PROMPT Creating contexts....
--------------------------------
@&install_dir/Contexts/pkg_util_dynsql_ctx.sql
--------------------------------
PROMPT Creating Functions....
--------------------------------
--------------------------------
PROMPT Creating package headers
--------------------------------
@&install_dir/Packages/pkg_utils.pks
@&install_dir/Packages/pkg_util_dynsql.pks
--------------------------------
PROMPT Creating package bodies
--------------------------------
@&install_dir/PackageBodies/pkg_utils.pkb
@&install_dir/PackageBodies/pkg_util_dynsql.pkb
--------------------------------
PROMPT Creating Procedures....
--------------------------------
@&install_dir/Procedures/P_EXAMPLE_SET_FILTERS_BINDS.prc
@&install_dir/Procedures/P_EXAMPLE_SET_FILTERS_CONTEXTS.prc
--------------------------------
PROMPT Creating grants
--------------------------------
-- populate table to show error_manager has been installed.
@&install_dir/Table_data/insert_into_application_manager.sql APPLICATION_MANAGER PKG_CONSTANTS EXECUTE Y
@&install_dir/Table_data/insert_into_application_manager.sql APPLICATION_MANAGER PKG_UTILS EXECUTE Y
@&install_dir/Table_data/insert_into_application_manager.sql APPLICATION_MANAGER PKG_UTIL_DYNSQL EXECUTE Y
@&install_dir/Table_data/insert_into_application_manager.sql APPLICATION_MANAGER NUMBER_NT EXECUTE Y
@&install_dir/Table_data/insert_into_application_manager.sql APPLICATION_MANAGER VARCHAR_250_NT EXECUTE Y
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
PROMPT *******************************************************************************
PROMPT *******************************************************************************
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
PROMPT Installation complete
PROMPT
PROMPT PLEASE EXAMINE THE LOGFILE FOR ANY ERRORS
PROMPT
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
PROMPT *******************************************************************************
PROMPT *******************************************************************************
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
SPOOL OFF
EXIT
|
-- Buffer a point in 4326 by n meters or miles, resulting in a polygon with n segments
DELIMITER $$
DROP FUNCTION IF EXISTS wp_buffer_point_m$$
DROP FUNCTION IF EXISTS wp_buffer_point_mi$$
DROP FUNCTION IF EXISTS wp_buffer_point_real$$
CREATE FUNCTION wp_buffer_point_m(p POINT, radius FLOAT, segments INT) RETURNS POLYGON
NO SQL DETERMINISTIC
BEGIN
return wp_buffer_point_real(p,radius,segments,6371000); -- Earth's radius in meters
END$$
CREATE FUNCTION wp_buffer_point_mi(p POINT, radius FLOAT, segments INT) RETURNS POLYGON
NO SQL DETERMINISTIC
BEGIN
return wp_buffer_point_real(p,radius,segments,3959); -- Earth's radius in miles
END$$
CREATE FUNCTION wp_buffer_point_real(p POINT, radius FLOAT, segments INT, eradius INTEGER) RETURNS POLYGON
NO SQL DETERMINISTIC
COMMENT 'Create a polygon from a point and distance in meters'
BEGIN
DECLARE step FLOAT; -- Our step value for the loop
DECLARE degrees FLOAT; -- How many degrees are we around the circle
DECLARE polygonstring TEXT;
DECLARE firstcoords VARCHAR(100);
DECLARE curcoords VARCHAR(100);
SET step = 360 / segments; -- our loop increment value
SET degrees = 0; -- our starting point for our loop
SET polygonstring = 'POLYGON(('; -- Our output
polyloop: LOOP
SET curcoords = wp_point_bearing_distance_coord_pair( p, degrees, radius, eradius);
SET firstcoords = IFNULL( firstcoords, curcoords );
-- Add our new found lat/lon to our polygon string
SET polygonstring = concat(polygonstring, curcoords, ', ');
-- Increment our degrees for the next loop
SET degrees = degrees + step;
IF (degrees < 360) THEN
ITERATE polyloop;
ELSE
LEAVE polyloop;
END IF;
END LOOP polyloop;
-- close the polygon with the original points and closing parens
SET polygonstring = concat(polygonstring,firstcoords, '))');
-- Turn it into geometry and return it
RETURN GeomFromText(polygonstring);
END$$
DELIMITER ;
|
-- --------------------------------------------------
-- Entity Designer DDL Script for SQL Server 2005, 2008, 2012 and Azure
-- --------------------------------------------------
-- Date Created: 05/03/2018 14:53:27
-- Generated from EDMX file: C:\Users\mclemens\SVN-Projects\STP-Tool\trunk\TestSDK\Database\TestSTPTool.edmx
-- --------------------------------------------------
SET QUOTED_IDENTIFIER OFF;
GO
USE [TestPlanDB];
GO
IF SCHEMA_ID(N'dbo') IS NULL EXECUTE(N'CREATE SCHEMA [dbo]');
GO
-- --------------------------------------------------
-- Dropping existing FOREIGN KEY constraints
-- --------------------------------------------------
IF OBJECT_ID(N'[dbo].[FK_TestCaseTestStep]', 'F') IS NOT NULL
ALTER TABLE [dbo].[TestSteps] DROP CONSTRAINT [FK_TestCaseTestStep];
GO
IF OBJECT_ID(N'[dbo].[FK_TestCaseTestRun]', 'F') IS NOT NULL
ALTER TABLE [dbo].[TestRuns] DROP CONSTRAINT [FK_TestCaseTestRun];
GO
IF OBJECT_ID(N'[dbo].[FK_TestRunTestStepResult]', 'F') IS NOT NULL
ALTER TABLE [dbo].[TestStepResults] DROP CONSTRAINT [FK_TestRunTestStepResult];
GO
IF OBJECT_ID(N'[dbo].[FK_TestRunEnvironment]', 'F') IS NOT NULL
ALTER TABLE [dbo].[TestRuns] DROP CONSTRAINT [FK_TestRunEnvironment];
GO
IF OBJECT_ID(N'[dbo].[FK_DeviceUnderTestDeviceComponent]', 'F') IS NOT NULL
ALTER TABLE [dbo].[DeviceComponents] DROP CONSTRAINT [FK_DeviceUnderTestDeviceComponent];
GO
IF OBJECT_ID(N'[dbo].[FK_TestSuiteTestCase]', 'F') IS NOT NULL
ALTER TABLE [dbo].[TestCases] DROP CONSTRAINT [FK_TestSuiteTestCase];
GO
IF OBJECT_ID(N'[dbo].[FK_TestSuiteEquipment]', 'F') IS NOT NULL
ALTER TABLE [dbo].[Equipment] DROP CONSTRAINT [FK_TestSuiteEquipment];
GO
-- --------------------------------------------------
-- Dropping existing tables
-- --------------------------------------------------
IF OBJECT_ID(N'[dbo].[TestCases]', 'U') IS NOT NULL
DROP TABLE [dbo].[TestCases];
GO
IF OBJECT_ID(N'[dbo].[TestSteps]', 'U') IS NOT NULL
DROP TABLE [dbo].[TestSteps];
GO
IF OBJECT_ID(N'[dbo].[TestStepResults]', 'U') IS NOT NULL
DROP TABLE [dbo].[TestStepResults];
GO
IF OBJECT_ID(N'[dbo].[TestRuns]', 'U') IS NOT NULL
DROP TABLE [dbo].[TestRuns];
GO
IF OBJECT_ID(N'[dbo].[TestSuites]', 'U') IS NOT NULL
DROP TABLE [dbo].[TestSuites];
GO
IF OBJECT_ID(N'[dbo].[DeviceUnderTests]', 'U') IS NOT NULL
DROP TABLE [dbo].[DeviceUnderTests];
GO
IF OBJECT_ID(N'[dbo].[DeviceComponents]', 'U') IS NOT NULL
DROP TABLE [dbo].[DeviceComponents];
GO
IF OBJECT_ID(N'[dbo].[Equipment]', 'U') IS NOT NULL
DROP TABLE [dbo].[Equipment];
GO
-- --------------------------------------------------
-- Creating all tables
-- --------------------------------------------------
-- Creating table 'TestCases'
CREATE TABLE [dbo].[TestCases] (
[TestCaseID] int IDENTITY(1,1) NOT NULL,
[Name] nvarchar(max) NOT NULL,
[Objective] nvarchar(max) NULL,
[Owner] nvarchar(max) NULL,
[EstimatedTime] nvarchar(max) NULL,
[TestSuiteID] int NOT NULL
);
GO
-- Creating table 'TestSteps'
CREATE TABLE [dbo].[TestSteps] (
[TestStepID] int IDENTITY(1,1) NOT NULL,
[Step] nvarchar(max) NOT NULL,
[ExpectedResult] nvarchar(max) NULL,
[TestCaseID] int NOT NULL,
[Sequence] nvarchar(max) NOT NULL
);
GO
-- Creating table 'TestStepResults'
CREATE TABLE [dbo].[TestStepResults] (
[TestStepResultID] int IDENTITY(1,1) NOT NULL,
[ActualResult] nvarchar(max) NULL,
[Status] nvarchar(max) NULL,
[TestRunID] int NOT NULL,
[TestStepID] nvarchar(max) NOT NULL
);
GO
-- Creating table 'TestRuns'
CREATE TABLE [dbo].[TestRuns] (
[TestRunID] int IDENTITY(1,1) NOT NULL,
[Date] nvarchar(max) NULL,
[Tester] nvarchar(max) NULL,
[TestCaseID] int NOT NULL,
[Notes] nvarchar(max) NULL,
[Issue] nvarchar(max) NOT NULL,
[Status] nvarchar(max) NOT NULL,
[Environment_EnvironmentID] int NOT NULL
);
GO
-- Creating table 'TestSuites'
CREATE TABLE [dbo].[TestSuites] (
[TestSuiteID] int IDENTITY(1,1) NOT NULL,
[Product] nvarchar(max) NOT NULL
);
GO
-- Creating table 'DeviceUnderTests'
CREATE TABLE [dbo].[DeviceUnderTests] (
[EnvironmentID] int IDENTITY(1,1) NOT NULL
);
GO
-- Creating table 'DeviceComponents'
CREATE TABLE [dbo].[DeviceComponents] (
[DeviceUnderTestID] int IDENTITY(1,1) NOT NULL,
[Name] nvarchar(max) NOT NULL,
[Version] nvarchar(max) NULL,
[EnvironmentID] int NOT NULL
);
GO
-- Creating table 'Equipment'
CREATE TABLE [dbo].[Equipment] (
[EquipmentID] int IDENTITY(1,1) NOT NULL,
[Name] nvarchar(max) NOT NULL,
[Quantity] nvarchar(max) NOT NULL,
[TestSuiteID] int NOT NULL
);
GO
-- --------------------------------------------------
-- Creating all PRIMARY KEY constraints
-- --------------------------------------------------
-- Creating primary key on [TestCaseID] in table 'TestCases'
ALTER TABLE [dbo].[TestCases]
ADD CONSTRAINT [PK_TestCases]
PRIMARY KEY CLUSTERED ([TestCaseID] ASC);
GO
-- Creating primary key on [TestStepID] in table 'TestSteps'
ALTER TABLE [dbo].[TestSteps]
ADD CONSTRAINT [PK_TestSteps]
PRIMARY KEY CLUSTERED ([TestStepID] ASC);
GO
-- Creating primary key on [TestStepResultID] in table 'TestStepResults'
ALTER TABLE [dbo].[TestStepResults]
ADD CONSTRAINT [PK_TestStepResults]
PRIMARY KEY CLUSTERED ([TestStepResultID] ASC);
GO
-- Creating primary key on [TestRunID] in table 'TestRuns'
ALTER TABLE [dbo].[TestRuns]
ADD CONSTRAINT [PK_TestRuns]
PRIMARY KEY CLUSTERED ([TestRunID] ASC);
GO
-- Creating primary key on [TestSuiteID] in table 'TestSuites'
ALTER TABLE [dbo].[TestSuites]
ADD CONSTRAINT [PK_TestSuites]
PRIMARY KEY CLUSTERED ([TestSuiteID] ASC);
GO
-- Creating primary key on [EnvironmentID] in table 'DeviceUnderTests'
ALTER TABLE [dbo].[DeviceUnderTests]
ADD CONSTRAINT [PK_DeviceUnderTests]
PRIMARY KEY CLUSTERED ([EnvironmentID] ASC);
GO
-- Creating primary key on [DeviceUnderTestID] in table 'DeviceComponents'
ALTER TABLE [dbo].[DeviceComponents]
ADD CONSTRAINT [PK_DeviceComponents]
PRIMARY KEY CLUSTERED ([DeviceUnderTestID] ASC);
GO
-- Creating primary key on [EquipmentID] in table 'Equipment'
ALTER TABLE [dbo].[Equipment]
ADD CONSTRAINT [PK_Equipment]
PRIMARY KEY CLUSTERED ([EquipmentID] ASC);
GO
-- --------------------------------------------------
-- Creating all FOREIGN KEY constraints
-- --------------------------------------------------
-- Creating foreign key on [TestCaseID] in table 'TestSteps'
ALTER TABLE [dbo].[TestSteps]
ADD CONSTRAINT [FK_TestCaseTestStep]
FOREIGN KEY ([TestCaseID])
REFERENCES [dbo].[TestCases]
([TestCaseID])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK_TestCaseTestStep'
CREATE INDEX [IX_FK_TestCaseTestStep]
ON [dbo].[TestSteps]
([TestCaseID]);
GO
-- Creating foreign key on [TestCaseID] in table 'TestRuns'
ALTER TABLE [dbo].[TestRuns]
ADD CONSTRAINT [FK_TestCaseTestRun]
FOREIGN KEY ([TestCaseID])
REFERENCES [dbo].[TestCases]
([TestCaseID])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK_TestCaseTestRun'
CREATE INDEX [IX_FK_TestCaseTestRun]
ON [dbo].[TestRuns]
([TestCaseID]);
GO
-- Creating foreign key on [TestRunID] in table 'TestStepResults'
ALTER TABLE [dbo].[TestStepResults]
ADD CONSTRAINT [FK_TestRunTestStepResult]
FOREIGN KEY ([TestRunID])
REFERENCES [dbo].[TestRuns]
([TestRunID])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK_TestRunTestStepResult'
CREATE INDEX [IX_FK_TestRunTestStepResult]
ON [dbo].[TestStepResults]
([TestRunID]);
GO
-- Creating foreign key on [Environment_EnvironmentID] in table 'TestRuns'
ALTER TABLE [dbo].[TestRuns]
ADD CONSTRAINT [FK_TestRunEnvironment]
FOREIGN KEY ([Environment_EnvironmentID])
REFERENCES [dbo].[DeviceUnderTests]
([EnvironmentID])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK_TestRunEnvironment'
CREATE INDEX [IX_FK_TestRunEnvironment]
ON [dbo].[TestRuns]
([Environment_EnvironmentID]);
GO
-- Creating foreign key on [EnvironmentID] in table 'DeviceComponents'
ALTER TABLE [dbo].[DeviceComponents]
ADD CONSTRAINT [FK_DeviceUnderTestDeviceComponent]
FOREIGN KEY ([EnvironmentID])
REFERENCES [dbo].[DeviceUnderTests]
([EnvironmentID])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK_DeviceUnderTestDeviceComponent'
CREATE INDEX [IX_FK_DeviceUnderTestDeviceComponent]
ON [dbo].[DeviceComponents]
([EnvironmentID]);
GO
-- Creating foreign key on [TestSuiteID] in table 'TestCases'
ALTER TABLE [dbo].[TestCases]
ADD CONSTRAINT [FK_TestSuiteTestCase]
FOREIGN KEY ([TestSuiteID])
REFERENCES [dbo].[TestSuites]
([TestSuiteID])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK_TestSuiteTestCase'
CREATE INDEX [IX_FK_TestSuiteTestCase]
ON [dbo].[TestCases]
([TestSuiteID]);
GO
-- Creating foreign key on [TestSuiteID] in table 'Equipment'
ALTER TABLE [dbo].[Equipment]
ADD CONSTRAINT [FK_TestSuiteEquipment]
FOREIGN KEY ([TestSuiteID])
REFERENCES [dbo].[TestSuites]
([TestSuiteID])
ON DELETE NO ACTION ON UPDATE NO ACTION;
GO
-- Creating non-clustered index for FOREIGN KEY 'FK_TestSuiteEquipment'
CREATE INDEX [IX_FK_TestSuiteEquipment]
ON [dbo].[Equipment]
([TestSuiteID]);
GO
-- --------------------------------------------------
-- Script has ended
-- -------------------------------------------------- |
SELECT spheres.loc, COUNT(spheres.loc) * 100.0 / 100000
FROM spheres LEFT JOIN (SELECT spheres.seed, spheres.sphere
FROM [woth] LEFT JOIN spheres ON (spheres.seed = woth.seed AND spheres.item = woth.item)
LEFT JOIN locations on spheres.loc = locations.loc
WHERE woth.[item] = 'Bottle with Letter' AND locations.always = 0 AND locations.sometimes = 0) AS lseed ON (lseed.seed = spheres.seed AND lseed.sphere < spheres.sphere)
LEFT JOIN (SELECT loc, area
FROM locations
WHERE (area = 'Ice Cavern' OR area = 'Zora''s Fountain' OR area = 'Jabu Jabu''s Belly' OR loc = 'Barinade')
AND mq = 0 AND shop = 0 AND scrub = 0 AND cow = 0) AS rlocs ON (rlocs.loc = spheres.loc)
LEFT JOIN (SELECT seed FROM spheres WHERE loc = 'Barinade' AND (NOT item LIKE '%Medallion')) AS medjabu ON medjabu.seed = spheres.seed
WHERE (NOT (lseed.seed IS NULL)) AND (NOT (rlocs.loc IS NULL) AND (NOT medjabu.seed IS NULL))
GROUP BY spheres.loc |
<filename>db/migrations/20210203014820_add_feed_fetch_limit.sql<gh_stars>1-10
-- +goose Up
-- SQL in this section is executed when the migration is applied.
ALTER TABLE "feeds" ADD "fetch_limit" integer DEFAULT 0;
-- +goose Down
-- SQL in this section is executed when the migration is rolled back.
ALTER TABLE "feeds" RENAME TO "feeds_backup";
CREATE TABLE "feeds" ("id" integer primary key autoincrement,"url" varchar(255));
INSERT INTO "feeds" SELECT "id","url" from "feeds_backup";
DROP TABLE "feeds_backup";
|
<filename>HemaDrillBook/HemaDrillBookDB/Data/OneTime/Fabris/Sources.Section.Part.27.sql<gh_stars>1-10
IF $(OneTimeLoad) = 1
BEGIN
DECLARE @Section TABLE
(
SectionKey int NOT NULL PRIMARY KEY,
PartKey int NOT NULL,
ParentSectionKey int NULL,
SectionName nvarchar(250) NOT NULL,
PageReference nvarchar(50) NULL,
DisplayOrder float NOT NULL,
SectionSlug varchar(50) NULL
);
INSERT INTO @Section
( SectionKey,
PartKey,
ParentSectionKey,
SectionName,
PageReference,
DisplayOrder,
SectionSlug )
VALUES
(7901, 27, NULL, N'History', NULL, 1, 'History'),
(7902, 27, NULL, N'Weapons and Equipment', NULL, 2, 'Weapons-and-Equipment'),
(7903, 27, NULL, N'General Discussion', NULL, 3, 'General-Discussion'),
(7904, 27, NULL, N'Misc. Drills and Lessons', NULL, 4, 'Misc.-Drills-and-Lessons')
;
MERGE INTO Sources.Section t
USING @Section s
ON t.SectionKey = s.SectionKey
WHEN NOT MATCHED THEN
INSERT
( SectionKey,
PartKey,
ParentSectionKey,
SectionName,
PageReference,
DisplayOrder,
SectionSlug )
VALUES
( s.SectionKey,
s.PartKey,
s.ParentSectionKey,
s.SectionName,
s.PageReference,
s.DisplayOrder,
s.SectionSlug )
WHEN MATCHED THEN
UPDATE SET PartKey = s.PartKey,
ParentSectionKey = s.ParentSectionKey,
SectionName = s.SectionName,
PageReference = s.PageReference,
DisplayOrder = s.DisplayOrder,
SectionSlug = s.SectionSlug;
END;
GO
|
-- file:collate.sql ln:239 expect:true
CREATE TABLE collate_test23 (f1 text collate mycoll2)
|
-- file:event_trigger.sql ln:318 expect:true
alter table rewriteme
add column onemore int default 0,
add column another int default -1,
alter column foo type numeric(10,4)
|
with ce as
(
select ce.icustay_id
, ce.charttime
-- TODO: handle high ICPs when monitoring two ICPs
, case when valuenum > 0 and valuenum < 100 then valuenum else null end as icp
FROM `physionet-data.mimiciii_clinical.chartevents` ce
-- exclude rows marked as error
where (ce.error IS NULL OR ce.error = 0)
and ce.icustay_id IS NOT NULL
and ce.itemid in
(
226 -- ICP -- 99159
,1374 -- ICP Right -- 100
,2045 -- icp left -- 70
,2635 -- VENT ICP -- 195
,2660 -- ICP Camino -- 40
,2733 -- RIGHT VENT ICP -- 203
,2745 -- ICP LEFT -- 232
,2870 -- ICP-ventriculostomuy -- 114
,2956 -- ventriculostomy icp -- 64
,2985 -- ICP ventricle -- 85
,5856 -- icp -- 7
,7116 -- Rt ICP -- 80
,8218 -- left icp -- 6
,8298 -- L ICP -- 47
,8299 -- R ICP -- 16
,8305 -- ICP Right -- 49
,220765 -- Intra Cranial Pressure -- 92306
,227989 -- Intra Cranial Pressure #2 -- 1052
)
)
select
ce.icustay_id
, ce.charttime
, MAX(icp) as icp
from ce
group by ce.icustay_id, ce.charttime
order by ce.icustay_id, ce.charttime; |
<reponame>dram/metasfresh<filename>backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5567040_sys_gh9924_Mark_Invoice.Alocation_AD_Tab.IsAdvancedTab_False.sql<gh_stars>1000+
-- 2020-09-11T05:31:05.720Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Tab SET IsAdvancedTab='N',Updated=TO_TIMESTAMP('2020-09-11 08:31:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=684
;
|
<filename>DataBase/bd1.sql<gh_stars>1-10
CREATE USER adminjuez WITH PASSWORD '<PASSWORD>';
CREATE DATABASE judge;
GRANT ALL PRIVILEGES ON DATABASE judge TO adminjuez; |
select distinct
candidate_moms.person_id as mom_person_id,
candidate_moms.year_of_birth as mom_yob,
candidate_babies.person_id as baby_person_id,
candidate_babies.date_of_birth as baby_dob,
ROW_NUMBER() OVER (PARTITION BY candidate_babies.person_id order by candidate_babies.person_id, candidate_moms.person_id) as moms_per_kid
into #candidates
from
(
select p1.person_id,
ppp1.family_source_value,
pp1.year_of_birth
from @resultsDatabaseSchema.pregnancy_episodes p1 --pregnancy episode cohort location
inner join @pppDatabaseSchema.@pppTableName ppp1
on ppp1.person_id = p1.person_id
and p1.episode_end_date >= ppp1.payer_plan_period_start_date
and p1.episode_end_date <= ppp1.payer_plan_period_end_date
inner join @cdmDatabaseSchema.person pp1
on pp1.person_id = p1.person_id
where p1.outcome = 'LB/DELIV' --livebirth pregnancy episode outcome
group by p1.person_id, ppp1.family_source_value, pp1.year_of_birth
) candidate_moms
inner join
(
select p1.person_id,
ppp1.family_source_value,
p1.year_of_birth,
min(op1.observation_period_start_date) as observation_period_start_date,
min(datefromparts(p1.year_of_birth,
case when p1.month_of_birth is not null and p1.month_of_birth >= 1 and p1.month_of_birth <= 12 then p1.month_of_birth else month(op1.observation_period_start_date) end,
case when p1.day_of_birth is not null and p1.day_of_birth >= 1 and p1.day_of_birth <= 31 then p1.day_of_birth else 1 end)) as date_of_birth
from @pppDatabaseSchema.@pppTableName ppp1
inner join @cdmDatabaseSchema.person p1
on ppp1.person_id = p1.person_id
inner join @cdmDatabaseSchema.observation_period op1
on p1.person_id = op1.person_id
and op1.observation_period_start_date >= ppp1.payer_plan_period_start_date
and op1.observation_period_start_date <= ppp1.payer_plan_period_end_date
where year(observation_period_start_date) - p1.year_of_birth = 0
and p1.person_id not in (
select person_id from @resultsDatabaseSchema.pregnancy_episodes --pregnancy episode cohort location
)
group by p1.person_id, ppp1.family_source_value, p1.year_of_birth
) candidate_babies
on candidate_moms.family_source_value = candidate_babies.family_source_value
inner join @cdmDatabaseSchema.observation_period op1
on candidate_moms.person_id = op1.person_id
and candidate_babies.date_of_birth >= op1.observation_period_start_date
and candidate_babies.date_of_birth <= op1.observation_period_end_date
where candidate_moms.person_id <> candidate_babies.person_id
;
delete from #candidates
where baby_person_id in (select baby_person_id from #candidates where moms_per_kid >= 2)
;
select cmc1.mom_person_id,
cmc1.mom_yob,
cmc1.baby_person_id,
cmc1.baby_dob as date_of_birth_from_op,
moms_births.episode_end_date as date_of_birth_from_alg
into #probables
from #candidates cmc1
inner join
(
select person_id, episode_end_date
from @resultsDatabaseSchema.pregnancy_episodes
where outcome = 'LB/DELIV'
) moms_births
on cmc1.mom_person_id = moms_births.person_id
and moms_births.episode_end_date >= dateadd(dd, -60, cmc1.baby_dob)
and moms_births.episode_end_date <= dateadd(dd, 60, cmc1.baby_dob)
;
insert into @cdmDatabaseSchema.fact_relationship
(domain_concept_id_1, fact_id_1, domain_concept_id_2, fact_id_2, relationship_concept_id)
select distinct
A.domain_concept_id_1,
A.fact_id_1,
A.domain_concept_id_2,
A.fact_id_2,
A.relationship_concept_id
from
(
select
56 as domain_concept_id_1,
mom_person_id as fact_id_1,
56 as domain_concept_id_2,
baby_person_id as fact_id_2,
@motherRelationshipId as relationship_concept_id
from #probables
union
select
56 as domain_concept_id_1,
baby_person_id as fact_id_1,
56 as domain_concept_id_2,
mom_person_id as fact_id_2,
@childRelationshipId as relationship_concept_id
from #probables
) A;
TRUNCATE TABLE #candidates;
DROP TABLE #candidates;
TRUNCATE TABLE #probables;
DROP TABLE #probables; |
<reponame>multiscripter/job4j<gh_stars>1-10
create table if not exists users (
id serial primary key,
name varchar(64) not null,
login varchar(64) not null,
email varchar(128) not null,
createDate date not null
)
/*
insert into users (name, login, email, createDate) values ('Путин', 'president', '<EMAIL>', '1952-10-07');
update users set login = 'newlogin',email = '<EMAIL>',name = '<NAME>',createdate = '2000-01-01' where id = 4;
*/ |
Use Lab1
INSERT INTO Driver VALUES (1, '<NAME>', 2, '121-41-23');
INSERT INTO Driver VALUES (2, '<NAME>', 10, '666-69-666');
INSERT INTO School VALUES (1, 'Good school', 'high-school', 200);
INSERT INTO School VALUES (2, 'Not good school', 'high-school', 1200);
INSERT INTO Route VALUES (1, 1, 'No financing, you are on your own', 0);
INSERT INTO Address VALUES (1, 1, 'Budapest', 'Street 1', 25, 1088);
INSERT INTO Student VALUES (1, 1, 1, '<NAME>', '2004-08-22', 10000);
INSERT INTO Bus VALUES (1, 'ABCDEF', 'Factory in USSR', 20, 1966);
INSERT INTO Bus VALUES (2, 'CD456J', 'Factory in USSR', 15, 1940);
INSERT INTO DailyDrive VALUES (1, 1, 1, 1, '2015-02-06');
INSERT INTO DailyDrive VALUES (2, 2, 2, 1, '2015-02-07');
INSERT INTO DailyDrive VALUES (3, 1, 1, 1, '2015-02-08');
INSERT INTO DailyDrive VALUES (4, 2, 1, 1, '2015-02-09');
|
DROP TABLE IF EXISTS locations_service_points;
CREATE TABLE locations_service_points AS
SELECT
service_points.data #>> '{}' AS service_point_id,
isp.discovery_display_name AS service_point_discovery_display_name,
isp."name" AS service_point_name,
ll.location_id,
ll.discovery_display_name AS location_discovery_display_name,
ll.location_name,
ll.library_id,
ll.library_name,
ll.campus_id,
ll.campus_name,
ll.institution_id,
ll.institution_name
FROM public.inventory_locations AS il
CROSS JOIN json_array_elements(json_extract_path(il.data, 'servicePointIds')) AS service_points (data)
LEFT JOIN public.inventory_service_points AS isp ON service_points.data #>> '{}' = isp.id
LEFT JOIN locations_libraries AS ll ON il.id=ll.location_id
;
CREATE INDEX ON locations_service_points (service_point_id);
CREATE INDEX ON locations_service_points (service_point_discovery_display_name);
CREATE INDEX ON locations_service_points (service_point_name);
CREATE INDEX ON locations_service_points (location_id);
CREATE INDEX ON locations_service_points (location_discovery_display_name);
CREATE INDEX ON locations_service_points (location_name);
CREATE INDEX ON locations_service_points (library_id);
CREATE INDEX ON locations_service_points (library_name);
CREATE INDEX ON locations_service_points (campus_id);
CREATE INDEX ON locations_service_points (campus_name);
CREATE INDEX ON locations_service_points (institution_id);
CREATE INDEX ON locations_service_points (institution_name);
VACUUM ANALYZE locations_service_points;
|
/*
Navicat MySQL Data Transfer
Source Server : 118.24.178.170_3306
Source Server Version : 50717
Source Host : 118.24.178.170:3306
Source Database : test
Target Server Type : MYSQL
Target Server Version : 50717
File Encoding : 65001
Date: 2019-06-18 17:39:44
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for article
-- ----------------------------
DROP TABLE IF EXISTS `article`;
CREATE TABLE `article` (
`id` mediumint(9) NOT NULL AUTO_INCREMENT,
`title` varchar(40) DEFAULT '无标题',
`category` varchar(20) DEFAULT '无分类',
`gmt_create` datetime DEFAULT NULL,
`gmt_update` datetime DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`markdown` mediumtext NOT NULL,
`summary` varchar(100) DEFAULT NULL,
`tags` varchar(200) DEFAULT NULL,
`auth` tinyint(4) DEFAULT '0',
`type` varchar(10) NOT NULL,
PRIMARY KEY (`id`),
KEY `article_tags_idx` (`tags`)
) ENGINE=InnoDB AUTO_INCREMENT=116028 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for article_comment
-- ----------------------------
DROP TABLE IF EXISTS `article_comment`;
CREATE TABLE `article_comment` (
`id` mediumint(9) NOT NULL AUTO_INCREMENT,
`content` varchar(500) NOT NULL,
`article_id` mediumint(9) DEFAULT NULL,
`user_id` mediumint(9) DEFAULT NULL,
`gmt_create` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for comment_reply
-- ----------------------------
DROP TABLE IF EXISTS `comment_reply`;
CREATE TABLE `comment_reply` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`content` varchar(500) NOT NULL,
`comment_id` int(11) NOT NULL,
`reply_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`gmt_create` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for notice
-- ----------------------------
DROP TABLE IF EXISTS `notice`;
CREATE TABLE `notice` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`notice_id` int(11) NOT NULL,
`gmt_create` date NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(20) NOT NULL,
`salt` varchar(4) NOT NULL DEFAULT '<PASSWORD>',
`password` char(40) NOT NULL,
`gmt_create` datetime DEFAULT NULL,
`email` varchar(320) DEFAULT NULL,
`auth` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `username` (`username`),
UNIQUE KEY `email` (`email`)
) ENGINE=InnoDB AUTO_INCREMENT=9832 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for user_info
-- ----------------------------
DROP TABLE IF EXISTS `user_info`;
CREATE TABLE `user_info` (
`id` mediumint(9) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`gender` varchar(2) NOT NULL DEFAULT '保密',
`nickname` varchar(10) NOT NULL,
`nickimg` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `user_id` (`user_id`) USING BTREE,
CONSTRAINT `user_userinfo_Ids` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for visit_article
-- ----------------------------
DROP TABLE IF EXISTS `visit_article`;
CREATE TABLE `visit_article` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`visitor_id` int(11) NOT NULL,
`article_id` int(11) NOT NULL,
`gmt_create` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for visit_user
-- ----------------------------
DROP TABLE IF EXISTS `visit_user`;
CREATE TABLE `visit_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`visitor_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`gmt_create` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=70 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Procedure structure for splitString
-- ----------------------------
DROP PROCEDURE IF EXISTS `splitString`;
DELIMITER ;;
CREATE DEFINER=`zhaoxuyang`@`%` PROCEDURE `splitString`(IN f_string varchar(1000),IN f_delimiter varchar(5))
BEGIN
declare cnt int default 0;
declare i int default 0;
set cnt = func_split_TotalLength(f_string,f_delimiter);
DROP TABLE IF EXISTS `tmp_split`;
create temporary table `tmp_split` (`val_` varchar(128) not null) DEFAULT CHARSET=utf8;
while i < cnt
do
set i = i + 1;
insert into tmp_split(`val_`) values (func_split(f_string,f_delimiter,i));
end while;
END
;;
DELIMITER ;
|
CREATE TABLE GSPANOTHER.INDEX_TEST2 (
INDEX_TEST2_ID NUMBER(18) NOT NULL ,
SUB_ID_1 NUMBER(18) NOT NULL ,
SUB_ID_2 NUMBER(18) NOT NULL
);
COMMENT ON table GSPANOTHER.INDEX_TEST2 is 'INDEX_TEST2';
COMMENT ON column GSPANOTHER.INDEX_TEST2.INDEX_TEST2_ID is 'INDEX_TEST2_ID';
COMMENT ON column GSPANOTHER.INDEX_TEST2.SUB_ID_1 is 'SUB_ID_1';
COMMENT ON column GSPANOTHER.INDEX_TEST2.SUB_ID_2 is 'SUB_ID_2';
CREATE SEQUENCE GSPANOTHER.INDEX_TEST2_ID_SEQ increment by 1 start with 1;
|
delimiter //
use monotest
//
-- =================================== OBJECT NUMERIC_FAMILY =========================
-- TABLE : NUMERIC_FAMILY
-- data with id > 6000 is not gaurenteed to be read-only.
drop table if exists numeric_family;
//
create table numeric_family (
id int PRIMARY KEY NOT NULL,
type_bit bit NULL,
type_tinyint tinyint NULL,
type_smallint smallint NULL,
type_int int NULL,
type_bigint bigint NULL,
type_decimal decimal (38, 0) NULL,
type_numeric numeric (38, 0) NULL,
type_money numeric (38,0) NULL,
type_smallmoney numeric (12,0) NULL,
type_float real NULL,
type_double float NULL);
-- does not have money & smallmoney types
//
insert into numeric_family values (1,1,255,32767,2147483647,9223372036854775807,1000,1000,922337203685477.5807,214748.3647,3.40E+38,1.79E+308);
insert into numeric_family values (2,0,0,-32768,-2147483648,-9223372036854775808,-1000,-1000,-922337203685477.5808,-214748.3648,-3.40E+38,-1.79E+308);
insert into numeric_family values (3,0,0,0,0,0,0,0,0,0,0,0);
insert into numeric_family values (4,null,null,null,null,null,null,null,null,null,null,null);
-- =================================== END OBJECT NUMERIC_FAMILY ========================
-- =================================== OBJECT BINARY_FAMILY =========================
-- TABLE : BINARY_FAMILY
-- data with id > 6000 is not gaurenteed to be read-only.
drop table if exists binary_family;
//
create table binary_family (
id int PRIMARY KEY NOT NULL,
type_binary binary (8) NULL,
type_varbinary varbinary (255) NULL,
type_blob blob NULL,
type_tinyblob tinyblob NULL,
type_mediumblob mediumblob NULL,
type_longblob_image longblob NULL);
//
insert into binary_family (id, type_binary, type_varbinary, type_blob, type_tinyblob, type_mediumblob, type_longblob_image) values (
1,
'5',
'0123456789012345678901234567890123456789012345678901234567890123456789',
'66666666',
'777777',
'888888',
'999999'
);
insert into binary_family (id, type_binary, type_varbinary, type_blob, type_tinyblob, type_mediumblob, type_longblob_image) values (
2,
'03423051',
'098765432101234',
'06660666',
'077077',
'088088',
'099099'
);
insert into binary_family (id, type_binary, type_varbinary, type_blob, type_tinyblob, type_mediumblob, type_longblob_image) values (
3,
'',
'',
'',
'',
'',
''
);
insert into binary_family (id, type_binary, type_varbinary, type_blob, type_tinyblob, type_mediumblob, type_longblob_image) values (
4,null,null,null,null,null,null);
go
//
-- =================================== END OBJECT BINARY_FAMILY ========================
-- =================================== OBJECT STRING_FAMILY============================
-- TABLE : string_family
-- data with id above 6000 is not gaurenteed to be read-only.
drop table if exists string_family;
//
create table string_family (
id int PRIMARY KEY NOT NULL,
type_char char(10) NULL,
type_varchar varchar(10) NULL,
type_text text NULL,
type_ntext longtext NULL);
//
grant all privileges on string_family to monotester;
//
insert into string_family values (1,"char","varchar","text","ntext");
insert into string_family values (2, '0123456789','varchar' ,'longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext longtext ','ntext');
insert into string_family values (4,null,null,null,null);
//
-- =================================== END OBJECT STRING_FAMILY ========================
-- =================================== OBJECT DATETIME_FAMILY============================
-- TABLE : datetime_family
-- data with id above 6000 is not gaurenteed to be read-only.
drop table if exists datetime_family;
//
create table datetime_family (
id int PRIMARY KEY NOT NULL,
type_smalldatetime timestamp NULL,
type_datetime datetime NULL);
grant all privileges on datetime_family to monotester;
//
insert into datetime_family values (1,'2079-06-06 23:59:00','9999-12-31 23:59:59.997');
insert into datetime_family values (4,null,null);
//
-- =================================== END OBJECT DATETIME_FAMILY========================
-- =================================== OBJECT EMPLOYEE ============================
-- TABLE : EMPLOYEE
-- data with id above 6000 is not gaurenteed to be read-only.
drop table if exists employee;
//
create table employee (
id int PRIMARY KEY NOT NULL,
fname varchar (50) NOT NULL,
lname varchar (50),
dob datetime NOT NULL,
doj datetime NOT NULL,
email varchar (50));
grant all privileges on employee to monotester;
insert into employee values (1, 'suresh', 'kumar', '1978-08-22', '2001-03-12', '<EMAIL>');
insert into employee values (2, 'ramesh', 'rajendran', '1977-02-15', '2005-02-11', '<EMAIL>');
insert into employee values (3, 'venkat', 'ramakrishnan', '1977-06-12', '2003-12-11', '<EMAIL>');
insert into employee values (4, 'ramu', 'dhasarath', '1977-02-15', '2005-02-11', '<EMAIL>');
//
-- STORED PROCEDURES
-- SP : sp_clean_person_table
drop procedure if exists sp_clean_employee_table;
//
create procedure sp_clean_employee_table ()
begin
delete from employee where id > 6000;
end
//
-- SP : sp_get_age
drop procedure if exists sp_get_age;
//
create procedure sp_get_age (
fname varchar (50),
OUT age int)
as
begin
select age = datediff (day, dob, getdate ()) from employee where fname like fname;
return age;
end
//
-- =================================== END OBJECT EMPLOYEE ============================
|
SELECT
substr(w_warehouse_name, 1, 20),
sm_type,
cc_name,
sum(CASE WHEN (cs_ship_date_sk - cs_sold_date_sk <= 30)
THEN 1
ELSE 0 END) AS `30 days `,
sum(CASE WHEN (cs_ship_date_sk - cs_sold_date_sk > 30) AND
(cs_ship_date_sk - cs_sold_date_sk <= 60)
THEN 1
ELSE 0 END) AS `31 - 60 days `,
sum(CASE WHEN (cs_ship_date_sk - cs_sold_date_sk > 60) AND
(cs_ship_date_sk - cs_sold_date_sk <= 90)
THEN 1
ELSE 0 END) AS `61 - 90 days `,
sum(CASE WHEN (cs_ship_date_sk - cs_sold_date_sk > 90) AND
(cs_ship_date_sk - cs_sold_date_sk <= 120)
THEN 1
ELSE 0 END) AS `91 - 120 days `,
sum(CASE WHEN (cs_ship_date_sk - cs_sold_date_sk > 120)
THEN 1
ELSE 0 END) AS `>120 days `
FROM
catalog_sales, warehouse, ship_mode, call_center, date_dim
WHERE
d_month_seq BETWEEN 1200 AND 1200 + 11
AND cs_ship_date_sk = d_date_sk
AND cs_warehouse_sk = w_warehouse_sk
AND cs_ship_mode_sk = sm_ship_mode_sk
AND cs_call_center_sk = cc_call_center_sk
GROUP BY
substr(w_warehouse_name, 1, 20), sm_type, cc_name
--ORDER BY substr(w_warehouse_name, 1, 20), sm_type, cc_name
--LIMIT 100
|
insert into test (id, rank, title, synonyms, updated_at)
values
(1, 0, 'some title 1', ARRAY['some'], now()),
(2, 0, 'some title 2', ARRAY['some'], now())
;
insert into test (id, rank, title, synonyms, updated_at)
values (1, 0, 'some title 3', ARRAY['some'], now());
insert into test (id, rank, title, synonyms, updated_at)
values (3, 0, 'some title 3', ARRAY['some'], now());
|
-- tests for \if ... \endif
\if true
select 'okay';
select 'still okay';
\else
not okay;
still not okay
\endif
-- at this point query buffer should still have last valid line
\g
|
<reponame>Zhaojia2019/cubrid-testcases<filename>medium/_02_xtests/cases/numops.sql<gh_stars>1-10
autocommit off;
evaluate 1.5 * 65.43;
evaluate 0.0015 * 65.43;
evaluate 0.0015 * 0.6543;
evaluate 15.0 * 6543;
evaluate 654.3 * 1500000.00;
evaluate 1.5 / 65.43;
evaluate 0.0015 / 65.43;
evaluate 0.0015 / 0.6543;
evaluate 150000000000 / 6543;
evaluate 654.3 / 150.00;
evaluate 1.5 + 65.43;
evaluate 0.0015 + 65.43;
evaluate 0.0015 + 0.6543;
evaluate 150000000000 + 6543;
evaluate 654.3 + 150.00;
evaluate 1.5 - 65.43;
evaluate 0.0015 - 65.43;
evaluate 0.0015 - 0.6543;
evaluate 150000000000 - 6543;
evaluate 654.3 - 150.00;
rollback;
|
CREATE TABLE "AirlineSentiment_1"(
"col_0" varchar(17) NOT NULL,
"col_1" varchar(14) NOT NULL
);
|
-- MySQL dump 10.13 Distrib 5.7.17, for Win64 (x86_64)
--
-- Host: 127.0.0.1 Database: compare_hardisk_db
-- ------------------------------------------------------
-- Server version 5.5.5-10.1.25-MariaDB
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!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' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `item`
--
DROP TABLE IF EXISTS `item`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `item` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id_model` int(11) NOT NULL,
`id_category` int(11) NOT NULL,
`id_sub_category` int(11) NOT NULL,
`item_name` text NOT NULL,
`item_description` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=424 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `item`
--
LOCK TABLES `item` WRITE;
/*!40000 ALTER TABLE `item` DISABLE KEYS */;
INSERT INTO `item` VALUES (209,50,2,1,'26-Sep-2016<br><br>',''),(210,50,2,2,'N/A <br>',''),(211,50,3,3,'N/A <br>',''),(212,50,3,4,'N/A <br>',''),(213,50,3,5,'N/A <br>',''),(214,50,3,6,'N/A <br>',''),(215,50,3,7,'N/A <br>',''),(216,50,3,8,'N/A <br>',''),(217,50,4,10,'<div><i>Yes / Not originally designed for AF</i></div><br>','<u></u><br>'),(218,50,4,11,'SANtricity OS® 8.30<br>','SANtricity OS 8.30 and SANtricity Storage Manager 11.30.\r\nReal-time operating system, based on VxWorks OS.<br>'),(219,50,4,12,'No<br>',''),(220,50,4,13,'No<br>',''),(221,50,4,14,'<div><ul><li>FC</li></ul></div><div><ul><li>iSCSI</li></ul></div><div><ul><li>SAS</li></ul></div><br>',''),(222,50,4,15,'120<br>',''),(223,50,4,16,'1,76 PB <br>',''),(224,50,4,17,'NL-SAS 7.2K RPM: 4TB; 6TB*; 8TB; 10TB*.<br><br>\r\nSAS 10K RPM: 900GB; 1.2TB; 1.8TB*.<br><br>\r\nSSD: 800GB; 1.6TB*; 3.2TB.<br>','<i>* - available with encryption FIPS.</i><br>'),(225,50,4,19,'SAS 10K RPM: 900GB; 1.2TB; 1.8TB*.<br><i></i><i></i><br>\r\nSSD: 800GB; 1.6TB*; 3.2TB.<i></i><br>','<i>* - available with encryption FIPS.</i><br>'),(226,50,4,18,'N/A <br>',''),(227,50,4,43,'180 per HA pair <br>',''),(228,50,5,44,'',''),(229,50,5,20,'',''),(230,50,5,21,'',''),(231,50,5,22,'',''),(232,50,5,23,'',''),(233,50,6,24,'',''),(234,50,6,25,'',''),(235,50,6,26,'',''),(236,50,6,27,'',''),(237,50,7,28,'',''),(238,50,7,29,'',''),(239,50,7,30,'',''),(240,50,7,31,'',''),(241,50,8,32,'',''),(242,50,8,33,'',''),(243,50,8,34,'',''),(244,50,8,35,'',''),(245,50,8,36,'',''),(246,50,8,37,'',''),(247,50,8,38,'',''),(248,50,8,39,'',''),(249,50,9,40,'',''),(250,50,9,41,'',''),(251,50,9,42,'',''),(381,51,2,1,'26-Jul-2000<br>','<i>bla bla bla</i><br>'),(382,51,2,2,'26-Sep-2019<br>','<i>bla bla bla</i><br>'),(383,51,3,3,'',''),(384,51,3,4,'',''),(385,51,3,5,'',''),(386,51,3,6,'',''),(387,51,3,7,'',''),(388,51,3,8,'',''),(389,51,4,10,'',''),(390,51,4,11,'',''),(391,51,4,12,'',''),(392,51,4,13,'',''),(393,51,4,14,'',''),(394,51,4,15,'',''),(395,51,4,16,'',''),(396,51,4,17,'',''),(397,51,4,19,'',''),(398,51,4,18,'',''),(399,51,4,43,'',''),(400,51,5,44,'',''),(401,51,5,20,'',''),(402,51,5,21,'',''),(403,51,5,22,'',''),(404,51,5,23,'',''),(405,51,6,24,'',''),(406,51,6,25,'',''),(407,51,6,26,'',''),(408,51,6,27,'',''),(409,51,7,28,'',''),(410,51,7,29,'',''),(411,51,7,30,'',''),(412,51,7,31,'',''),(413,51,8,32,'',''),(414,51,8,33,'',''),(415,51,8,34,'',''),(416,51,8,35,'',''),(417,51,8,36,'',''),(418,51,8,37,'',''),(419,51,8,38,'',''),(420,51,8,39,'',''),(421,51,9,40,'',''),(422,51,9,41,'',''),(423,51,9,42,'','');
/*!40000 ALTER TABLE `item` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `list_date`
--
DROP TABLE IF EXISTS `list_date`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `list_date` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`id_model` int(11) NOT NULL,
`title` text NOT NULL,
`announced_date` date NOT NULL,
`end_of_sale` date NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `list_date`
--
LOCK TABLES `list_date` WRITE;
/*!40000 ALTER TABLE `list_date` DISABLE KEYS */;
/*!40000 ALTER TABLE `list_date` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `m_model`
--
DROP TABLE IF EXISTS `m_model`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `m_model` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`id_type` int(11) NOT NULL,
`id_vendor` int(11) NOT NULL,
`id_series` int(11) NOT NULL,
`model_name` varchar(100) NOT NULL,
`model_description` text,
`model_status` enum('1','2') NOT NULL DEFAULT '2',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `m_model`
--
LOCK TABLES `m_model` WRITE;
/*!40000 ALTER TABLE `m_model` DISABLE KEYS */;
INSERT INTO `m_model` VALUES (1,1,1,1,'VNX 5200','-<br>','1'),(2,1,1,1,'VNX 5400','','1'),(3,1,1,1,'VNX 5600','','1'),(4,1,1,4,'VNXe 3150','','1'),(5,1,1,4,'VNXe 3200','','1'),(6,1,1,4,'VNXe 1600','','1'),(7,1,2,2,'DX60 S3','','1'),(8,1,2,2,'DX100 S3','','1'),(9,1,2,2,'DX200 S3','','1'),(10,1,3,3,'7200c','','1'),(11,1,3,3,'7400c','','1'),(12,1,3,3,'7440c','','1'),(13,1,3,6,'20800','','1'),(14,1,3,7,'1040 1GbE iSCSI Controller','','1'),(15,1,3,7,'1040 8Gb FC Controller','','1'),(16,1,4,10,'HUS 110','','1'),(17,1,4,10,'HUS 130','','1'),(18,1,4,10,'HUS 150','','1'),(19,1,4,11,'G1000','','1'),(20,1,4,11,'G200','','1'),(21,1,4,11,'G400','','1'),(22,1,4,11,'G600','','1'),(23,1,4,11,'G800','','1'),(24,1,4,12,'HUS VM','','1'),(25,1,5,13,'5300 V3','','1'),(26,1,5,13,'5500 V3','','1'),(27,1,5,13,'5600 V3','','1'),(28,1,5,13,'5800 V3','','1'),(29,1,5,13,'6800 V3','','1'),(30,1,5,14,'2200 V3','','1'),(31,1,5,14,'2600 V3','','1'),(32,1,6,15,'V3700 gen1','','1'),(33,1,6,15,'V5000 gen1','','1'),(34,1,6,16,'V5010 gen2','','1'),(35,1,6,16,'V5020 gen2','','1'),(36,1,6,16,'V5030 gen2','','1'),(37,1,6,17,'DS8884 Model 980','','1'),(38,1,6,17,'DS8886 Model 981','','1'),(39,1,7,18,'V3700','','1'),(40,1,7,18,'V5000','','1'),(41,1,7,18,'V7000 Gen2','','1'),(42,1,7,19,'S2200 SAN','','1'),(43,1,7,19,'S2200 SAS','','1'),(44,1,7,19,'S3200 SAN','','1'),(45,1,7,19,'S3200 SAS','','1'),(46,1,8,22,'E2712','','1'),(47,1,8,22,'E2724','','1'),(48,1,8,22,'E2760','','1'),(49,1,8,25,'E2812','','1'),(50,1,8,25,'E2824','','1'),(51,1,8,25,'E2860','','1');
/*!40000 ALTER TABLE `m_model` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `m_series`
--
DROP TABLE IF EXISTS `m_series`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `m_series` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`id_type` int(11) NOT NULL,
`id_vendor` int(11) NOT NULL,
`series_name` varchar(100) NOT NULL,
`series_description` text,
`series_status` enum('1','2') NOT NULL DEFAULT '2',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `m_series`
--
LOCK TABLES `m_series` WRITE;
/*!40000 ALTER TABLE `m_series` DISABLE KEYS */;
INSERT INTO `m_series` VALUES (1,1,1,'VNX2','','1'),(2,1,2,'ETERNUS DX','-<br>','1'),(3,1,3,'3PAR 7000','-<br>','1'),(4,1,1,'VNXe','','1'),(5,1,1,'Unity','','1'),(6,1,3,'3PAR 20000','','1'),(7,1,3,'MSA 1040','','1'),(8,1,3,'MSA 2040','','1'),(9,1,3,'3PAR 8000','','1'),(10,1,4,'HUS 100','','1'),(11,1,4,'VSP G','','1'),(12,1,4,'HUS VM','','1'),(13,1,5,'OceanStor 5000/6000 V3','','1'),(14,1,5,'OceanStor 2000 V3','','1'),(15,1,6,'Storwize gen1','','1'),(16,1,6,'Storwize gen2','','1'),(17,1,6,'DS8880','','1'),(18,1,7,'Lenovo Storwize','','1'),(19,1,7,'Lenovo Storage','','1'),(20,1,8,'FAS2500','','1'),(21,1,8,'FAS8000','','1'),(22,1,8,'E2700','','1'),(23,1,8,'E5500','','1'),(24,1,8,'E5600','','1'),(25,1,8,'E2800','','1'),(26,1,8,'FAS2600','','1'),(27,1,8,'FAS9000','','1'),(28,1,8,'FAS8200','','1');
/*!40000 ALTER TABLE `m_series` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `m_type`
--
DROP TABLE IF EXISTS `m_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `m_type` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`type_name` varchar(100) NOT NULL,
`type_description` text,
`type_status` enum('1','2','3') NOT NULL DEFAULT '2' COMMENT '1 =>active\n2 => not active\n3 => removed',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `m_type`
--
LOCK TABLES `m_type` WRITE;
/*!40000 ALTER TABLE `m_type` DISABLE KEYS */;
INSERT INTO `m_type` VALUES (1,'HD (hardisk and hybrid array)','','1'),(2,'AF (All Flash Array)','','1');
/*!40000 ALTER TABLE `m_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `m_vendor`
--
DROP TABLE IF EXISTS `m_vendor`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `m_vendor` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`id_type` int(11) NOT NULL,
`vendor_name` varchar(100) NOT NULL,
`vendor_description` text,
`vendor_status` enum('1','2') NOT NULL DEFAULT '2',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `m_vendor`
--
LOCK TABLES `m_vendor` WRITE;
/*!40000 ALTER TABLE `m_vendor` DISABLE KEYS */;
INSERT INTO `m_vendor` VALUES (1,1,'Dell EMC','-<br>','1'),(2,1,'Fujitsu','-<br>','1'),(3,1,'HPE','-<br>','1'),(4,1,'Hitachi','-<br>','1'),(5,1,'Huawei','-<br>','1'),(6,1,'IBM','-<br>','1'),(7,1,'Lenovo','-<br>','1'),(8,1,'NetApp','-<br>','1'),(9,2,'Dell EMC','-<br>','1'),(10,2,'Fujitsu','-<br>','1'),(11,2,'Hitachi','-<br>','1'),(12,2,'IBM','','1'),(13,2,'NetApp','','1'),(14,2,'Pure Storage','','1');
/*!40000 ALTER TABLE `m_vendor` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `spec_category`
--
DROP TABLE IF EXISTS `spec_category`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `spec_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id_type` int(11) NOT NULL DEFAULT '1',
`spec_category_name` text NOT NULL,
`spec_category_description` text,
`spec_category_status` int(11) NOT NULL DEFAULT '2' COMMENT '1 => active,\n2 => not active,\n3 => removed',
`spec_category_position` int(3) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `spec_category`
--
LOCK TABLES `spec_category` WRITE;
/*!40000 ALTER TABLE `spec_category` DISABLE KEYS */;
INSERT INTO `spec_category` VALUES (2,1,'Title And Date','Title and Date',1,1),(3,1,'SPC Benchmark 1™','SPC Benchmark 1™<br>',1,2),(4,1,'General Feature','General Feature<br>',1,3),(5,1,'Storage Processor Feature','Storage Processor Feature<br>',1,4),(6,1,'Software Feature','Software Feature<br>',1,5),(7,1,'Block Module Feature','Block Module Feature<br>',1,6),(8,1,'File Module Feature','File Module Feature<br>',1,7),(9,1,'Operation Enviroment Feature','Operation Enviroment Feature<br>',1,8);
/*!40000 ALTER TABLE `spec_category` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `spec_subcategory`
--
DROP TABLE IF EXISTS `spec_subcategory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `spec_subcategory` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id_spec_category` varchar(45) NOT NULL,
`spec_subcategory_name` text NOT NULL,
`spec_subcategory_description` text,
`spec_subcategory_status` int(11) NOT NULL DEFAULT '2' COMMENT '1 => active,\n2 => not active,\n3 => removed',
`spec_subcategory_position` int(3) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `spec_subcategory`
--
LOCK TABLES `spec_subcategory` WRITE;
/*!40000 ALTER TABLE `spec_subcategory` DISABLE KEYS */;
INSERT INTO `spec_subcategory` VALUES (1,'2','Announced, date','Announced, date<br>',1,1),(2,'2','End Of Sale, date','End Of Sale, date<br>',1,2),(3,'3','SPC-1 IOPS™','100% Load<br>',1,1),(4,'3','Average Response Time, ms','100% Load<br>',1,2),(5,'3','SPC-1 Price-Performance™','',1,3),(6,'3','Total Logical Capacity','',1,4),(7,'3','Data Protection Level','',1,5),(8,'3','Application Utilization, %','Usable Capacity divided by Physical Storage Capacity<br>',1,6),(10,'4','All Flash (AF): Support / Designed','',1,1),(11,'4','Storage OS','',1,2),(12,'4','Scale-Out Configurations','',1,3),(13,'4','Upgrade','',1,4),(14,'4','Host Connectivity','',1,5),(15,'4','Max. Number of Flash Drive, per HA pair','',1,6),(16,'4','Max. Raw Capacity, per HA pair, TB','',1,7),(17,'4','Large Form Factor (LFF - 3,5\")','',1,8),(18,'4','Additional Disk Types','',1,10),(19,'4','Small Form Factor (SFF - 2,5\")','',1,9),(20,'5','Chassis height','',1,2),(21,'5','Internal Drives of SP, per HA pair','',1,3),(22,'5','CPU / RAM, per SP','',1,4),(23,'5','SP Cache (Memory), Default per SP, GB','',1,5),(24,'6','Replication: Synchronous / Asynchronous','',1,15),(25,'6','Storage MetroCluster','The Storage MetroCluster allows to have two copies of synchronous data \r\nin two sites simultaneously. Data is available to read\\write at each \r\nsite. Enables production workloads on both storage systems while \r\nmaintaining full data consistency and protection.<br>',1,16),(26,'6','Thin Provisioning: Thin / Thick','',1,17),(27,'6','Automated Storage Reclamation','',1,18),(28,'7','Max. LUN Size, TB','',1,19),(29,'7','Max. No. of LUNs, per HA pair ','',1,20),(30,'7','Hosts Connection FC (FCoE), per port / per HA pair','',1,21),(31,'7','Hosts Connection iSCSI, per port / per HA pair','',1,22),(32,'8','File Module','',1,23),(33,'8','CPU / Memory, per File Module','',1,24),(34,'8','Capacity, per File Module','',1,25),(35,'8','File Module Interface, per Module','',1,26),(36,'8','Max. Number of Concurrent NFS / CIFS','',1,27),(37,'8','Max File System Size, TB','',1,28),(38,'8','Max. No. of File Systems','',1,29),(39,'8','Max. Number CIFS Shares or NFS Exports, per HA pair','',1,30),(40,'9','Max. Power Consumption, W (value at 200V)','CE - Controller Enclosure (HA Pair); EE - Expansion Enclosure (Disk \r\nShelf); EE HDE - Expansion Enclosure High Density; FE - File Module.<br>',1,31),(41,'9','Max. Heat Dissipation, Btu/hr','CE - Controller Enclosure (HA Pair); EE - Expansion Enclosure (Disk \r\nShelf); EE HDE - Expansion Enclosure High Density; FE - File Module.<br>',1,32),(42,'9','Operation Temperature, degrees C','',1,33),(43,'4','Max. Number of Hard Drives, per HA pair','',1,34),(44,'5','System Architecture','',1,1);
/*!40000 ALTER TABLE `spec_subcategory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `users` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(100) NOT NULL,
`password` text NOT NULL,
`name` varchar(50) NOT NULL,
`status` enum('1','2') NOT NULL DEFAULT '2' COMMENT '1 => active\n2 => not active',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `users`
--
LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` VALUES (1,'admin','<PASSWORD>','admin','1');
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2017-11-25 14:12:35
|
drop table if exists weather;
create table weather (
id integer primary key autoincrement,
date timestamp,
temperature float,
humidity float,
pressure float
);
|
WITH RECURSIVE
-- ...
simulation_hands AS (
-- ...
UNION ALL
(
WITH
-- ...
simulation_hand_precalculations AS (
-- Remove the last card from each player's packet and determine
-- what card will be played in opposition.
SELECT
player_index,
packet[1:(ARRAY_LENGTH(packet) - 1)] AS retained_cards,
COALESCE(packet[ARRAY_LENGTH(packet)], -1) AS last_card,
(
SELECT ARRAY_AGG(p2.packet[ARRAY_LENGTH(p2.packet)])
FROM last_simulation_hand_packets p2
) AS pending_cards,
COALESCE((
SELECT MAX(p3.packet[ARRAY_LENGTH(p3.packet)])
FROM last_simulation_hand_packets p3
WHERE p3.player_index != last_simulation_hand_packets.player_index
), -1) AS max_opposing_card
FROM last_simulation_hand_packets
),
|
USE `algo_trading`;
CREATE TABLE `analysis` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`quotes_id` bigint(20) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;
|
<gh_stars>0
/*
Warnings:
- You are about to drop the column `hex` on the `rarity` table. All the data in the column will be lost.
- Added the required column `endHex` to the `rarity` table without a default value. This is not possible if the table is not empty.
- Added the required column `startHex` to the `rarity` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "rarity" DROP COLUMN "hex",
ADD COLUMN "endHex" VARCHAR(6) NOT NULL,
ADD COLUMN "startHex" VARCHAR(6) NOT NULL;
|
<reponame>SamuelRibeiroDevelop/ECA
-- MySQL dump 10.13 Distrib 5.7.17, for Win64 (x86_64)
--
-- Host: localhost Database: db_eca
-- ------------------------------------------------------
-- Server version 5.7.21-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!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' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `tb_payments`
--
DROP TABLE IF EXISTS `tb_payments`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tb_payments` (
`id_payment` bigint(20) NOT NULL AUTO_INCREMENT,
`tb_city_id_city` int(11) NOT NULL,
`tb_functions_id_function` int(11) NOT NULL,
`tb_subfunctions_id_subfunction` int(11) NOT NULL,
`tb_program_id_program` int(11) NOT NULL,
`tb_action_id_action` int(11) NOT NULL,
`tb_beneficiaries_id_beneficiaries` bigint(20) NOT NULL,
`tb_source_id_source` int(11) NOT NULL,
`tb_files_id_file` int(11) NOT NULL,
`db_value` double NOT NULL,
PRIMARY KEY (`id_payment`),
KEY `fk_tb_payments_tb_city1_idx` (`tb_city_id_city`),
KEY `fk_tb_payments_tb_program1_idx` (`tb_program_id_program`),
KEY `fk_tb_payments_tb_action1_idx` (`tb_action_id_action`),
KEY `fk_tb_payments_tb_source1_idx` (`tb_source_id_source`),
KEY `fk_tb_payments_tb_files1_idx` (`tb_files_id_file`),
KEY `fk_tb_payments_tb_functions1_idx` (`tb_functions_id_function`),
KEY `fk_tb_payments_tb_subfunctions1_idx` (`tb_subfunctions_id_subfunction`),
KEY `fk_tb_payments_tb_beneficiaries1_idx` (`tb_beneficiaries_id_beneficiaries`),
CONSTRAINT `fk_tb_payments_tb_action1` FOREIGN KEY (`tb_action_id_action`) REFERENCES `tb_action` (`id_action`) ON DELETE NO ACTION ON UPDATE NO ACTION,
CONSTRAINT `fk_tb_payments_tb_beneficiaries1` FOREIGN KEY (`tb_beneficiaries_id_beneficiaries`) REFERENCES `tb_beneficiaries` (`id_beneficiaries`) ON DELETE NO ACTION ON UPDATE NO ACTION,
CONSTRAINT `fk_tb_payments_tb_city1` FOREIGN KEY (`tb_city_id_city`) REFERENCES `tb_city` (`id_city`) ON DELETE NO ACTION ON UPDATE NO ACTION,
CONSTRAINT `fk_tb_payments_tb_files1` FOREIGN KEY (`tb_files_id_file`) REFERENCES `tb_files` (`id_file`) ON DELETE NO ACTION ON UPDATE NO ACTION,
CONSTRAINT `fk_tb_payments_tb_functions1` FOREIGN KEY (`tb_functions_id_function`) REFERENCES `tb_functions` (`id_function`) ON DELETE NO ACTION ON UPDATE NO ACTION,
CONSTRAINT `fk_tb_payments_tb_program1` FOREIGN KEY (`tb_program_id_program`) REFERENCES `tb_program` (`id_program`) ON DELETE NO ACTION ON UPDATE NO ACTION,
CONSTRAINT `fk_tb_payments_tb_source1` FOREIGN KEY (`tb_source_id_source`) REFERENCES `tb_source` (`id_source`) ON DELETE NO ACTION ON UPDATE NO ACTION,
CONSTRAINT `fk_tb_payments_tb_subfunctions1` FOREIGN KEY (`tb_subfunctions_id_subfunction`) REFERENCES `tb_subfunctions` (`id_subfunction`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tb_payments`
--
LOCK TABLES `tb_payments` WRITE;
/*!40000 ALTER TABLE `tb_payments` DISABLE KEYS */;
/*!40000 ALTER TABLE `tb_payments` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2018-09-28 14:35:56
|
<filename>cpp_and_cs_2010/SqlServerCLR/SqlServerCLR/PreDeployScript.sql
print 'enabling clr'
exec sp_configure 'clr enabled', 1
go
reconfigure
go
|
<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 4.0.5
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1:3306
-- Czas wygenerowania: 11 Wrz 2014, 11:44
-- Wersja serwera: 5.6.19-0ubuntu0.14.04.1
-- Wersja PHP: 5.5.7
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Baza danych: `heurix`
--
-- --------------------------------------------------------
--
-- Struktura tabeli dla tabeli `security_roles_child_roles`
--
CREATE TABLE IF NOT EXISTS `security_roles_child_roles` (
`role_id` bigint(20) NOT NULL,
`child_role_id` bigint(20) NOT NULL,
PRIMARY KEY (`role_id`,`child_role_id`),
KEY `ca_child_role` (`child_role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Zrzut danych tabeli `security_roles_child_roles`
--
INSERT INTO `security_roles_child_roles` (`role_id`, `child_role_id`) VALUES
(1, 2);
--
-- Ograniczenia dla zrzutów tabel
--
--
-- Ograniczenia dla tabeli `security_roles_child_roles`
--
ALTER TABLE `security_roles_child_roles`
ADD CONSTRAINT `ca_child_role` FOREIGN KEY (`child_role_id`) REFERENCES `security_roles` (`id`) ON DELETE CASCADE,
ADD CONSTRAINT `ca_role` FOREIGN KEY (`role_id`) REFERENCES `security_roles` (`id`) ON DELETE CASCADE;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
SELECT
*
FROM ({% include 'complex/child.sql' %}) AS t1
|
<reponame>theonesp/vol_leak_index
---------------------------------------------------------------
-- Queries the capleakmaster table, applying exclusion criteria
---------------------------------------------------------------
WITH blood_colloid as (
SELECT
admissionid
FROM `physionet-data.amsterdamdb.drugitems`
WHERE ordercategory IN('Infuus - Colloid','Infuus - Bloedproducten') --exclude patients who received colloids or blood products
AND stop < 86400000 -- within first 24h
AND dose IS NOT NULL
)
SELECT
*
FROM `amsterdam-translation.amsterdam_custom.capleakmaster`
WHERE patientunitstayid IN ( --include: sepsis patients by search term sepsis in notes
SELECT
DISTINCT(admissionid)
FROM `physionet-data.amsterdamdb.listitems`
WHERE LOWER(item) LIKE '%sepsis%'
)
AND patientunitstayid NOT IN ( --exclude: any patient who had bleeding
SELECT
DISTINCT(admissionid)
FROM `physionet-data.amsterdamdb.listitems`
WHERE LOWER(item) LIKE '%bloeding%'
OR LOWER(item) LIKE '%bleed%'
OR LOWER(item) LIKE '%hemorr%'
OR LOWER(value) LIKE '%bloeding%'
OR LOWER(value) LIKE '%bleed%'
OR LOWER(value) LIKE '%hemorr%'
)
AND patientunitstayid NOT IN ( --exclude: any patients who receivedblood transfusions or blood infusions
SELECT admissionid FROM blood_colloid
)
--exclude any missing CLI related variables
AND leaking_index IS NOT NULL
AND delta_sofa IS NOT NULL
|
SELECT *
FROM `bananas`
WHERE (color = '''red''');
|
ALTER TABLE AWARD_BUDGET_EXT MODIFY DOCUMENT_NUMBER VARCHAR(40); |
CREATE TABLE IF NOT EXISTS `person` (
`id` INT UNSIGNED AUTO_INCREMENT,
`name` VARCHAR(32) NOT NULL,
`age` INT,
`birthday` DATE,
PRIMARY KEY (`id`)
)ENGINE=InnoDB DEFAULT CHARSET=utf8; |
<gh_stars>0
IF OBJECT_ID(N'[__EFMigrationsHistory]') IS NULL
BEGIN
CREATE TABLE [__EFMigrationsHistory] (
[MigrationId] nvarchar(150) NOT NULL,
[ProductVersion] nvarchar(32) NOT NULL,
CONSTRAINT [PK___EFMigrationsHistory] PRIMARY KEY ([MigrationId])
);
END;
GO
CREATE TABLE [Buildings] (
[Id] bigint NOT NULL,
[Address] nvarchar(max) NULL,
[Phone] nvarchar(max) NULL,
[Discriminator] nvarchar(max) NOT NULL,
CONSTRAINT [PK_Buildings] PRIMARY KEY ([Id])
);
GO
CREATE TABLE [Empoyees] (
[Id] bigint NOT NULL,
[Username] nvarchar(max) NULL,
[FirstName] nvarchar(max) NULL,
[LastName] nvarchar(max) NULL,
[Address] nvarchar(max) NULL,
[Email] nvarchar(max) NULL,
[AccountNumber] nvarchar(max) NULL,
[SSecurityNumber] nvarchar(max) NULL,
[Salary] decimal(18,2) NOT NULL,
[Discriminator] nvarchar(max) NOT NULL,
[ShopId] bigint NULL,
[WarehouseId] bigint NULL,
CONSTRAINT [PK_Empoyees] PRIMARY KEY ([Id]),
CONSTRAINT [FK_Empoyees_Buildings_ShopId] FOREIGN KEY ([ShopId]) REFERENCES [Buildings] ([Id]) ON DELETE NO ACTION,
CONSTRAINT [FK_Empoyees_Buildings_WarehouseId] FOREIGN KEY ([WarehouseId]) REFERENCES [Buildings] ([Id]) ON DELETE NO ACTION
);
GO
CREATE INDEX [IX_Empoyees_ShopId] ON [Empoyees] ([ShopId]);
GO
CREATE INDEX [IX_Empoyees_WarehouseId] ON [Empoyees] ([WarehouseId]);
GO
INSERT INTO [__EFMigrationsHistory] ([MigrationId], [ProductVersion])
VALUES (N'20201209210950_Initial', N'3.1.5');
GO
|
<gh_stars>0
CREATE TABLE IDN_BASE_TABLE (
PRODUCT_NAME VARCHAR2 (20),
PRIMARY KEY (PRODUCT_NAME)
)
/
INSERT INTO IDN_BASE_TABLE values ('WSO2 Identity Server')
/
CREATE TABLE IDN_OAUTH_CONSUMER_APPS (
CONSUMER_KEY VARCHAR2 (512),
CONSUMER_SECRET VARCHAR2 (512),
USERNAME VARCHAR2 (255),
TENANT_ID INTEGER DEFAULT 0,
APP_NAME VARCHAR2 (255),
OAUTH_VERSION VARCHAR2 (128),
CALLBACK_URL VARCHAR2 (1024),
LOGIN_PAGE_URL VARCHAR (1024),
ERROR_PAGE_URL VARCHAR (1024),
CONSENT_PAGE_URL VARCHAR (1024),
GRANT_TYPES VARCHAR (1024),
PRIMARY KEY (CONSUMER_KEY)
)
/
CREATE TABLE IDN_OAUTH1A_REQUEST_TOKEN (
REQUEST_TOKEN VARCHAR2 (512),
REQUEST_TOKEN_SECRET VARCHAR2 (512),
CONSUMER_KEY VARCHAR2 (512),
CALLBACK_URL VARCHAR2 (1024),
SCOPE VARCHAR2(2048),
AUTHORIZED VARCHAR2 (128),
OAUTH_VERIFIER VARCHAR2 (512),
AUTHZ_USER VARCHAR2 (512),
PRIMARY KEY (REQUEST_TOKEN),
FOREIGN KEY (CONSUMER_KEY) REFERENCES IDN_OAUTH_CONSUMER_APPS(CONSUMER_KEY)
)
/
CREATE TABLE IDN_OAUTH1A_ACCESS_TOKEN (
ACCESS_TOKEN VARCHAR2 (512),
ACCESS_TOKEN_SECRET VARCHAR2 (512),
CONSUMER_KEY VARCHAR2 (512),
SCOPE VARCHAR2(2048),
AUTHZ_USER VARCHAR2 (512),
PRIMARY KEY (ACCESS_TOKEN),
FOREIGN KEY (CONSUMER_KEY) REFERENCES IDN_OAUTH_CONSUMER_APPS(CONSUMER_KEY)
)
/
CREATE TABLE IDN_OAUTH2_AUTHORIZATION_CODE (
AUTHORIZATION_CODE VARCHAR2 (512),
CONSUMER_KEY VARCHAR2 (512),
CALLBACK_URL VARCHAR2 (1024),
SCOPE VARCHAR2(2048),
AUTHZ_USER VARCHAR2 (512),
TIME_CREATED TIMESTAMP,
VALIDITY_PERIOD NUMBER(19),
PRIMARY KEY (AUTHORIZATION_CODE),
FOREIGN KEY (CONSUMER_KEY) REFERENCES IDN_OAUTH_CONSUMER_APPS(CONSUMER_KEY)
)
/
CREATE TABLE IDN_OAUTH2_ACCESS_TOKEN (
ACCESS_TOKEN VARCHAR2 (255),
REFRESH_TOKEN VARCHAR2 (255),
CONSUMER_KEY VARCHAR2 (255),
AUTHZ_USER VARCHAR2 (255),
USER_TYPE VARCHAR2 (25),
TIME_CREATED TIMESTAMP,
VALIDITY_PERIOD NUMBER(19),
TOKEN_SCOPE VARCHAR2 (25),
TOKEN_STATE VARCHAR2 (25) DEFAULT 'ACTIVE',
TOKEN_STATE_ID VARCHAR (256) DEFAULT 'NONE',
PRIMARY KEY (ACCESS_TOKEN),
FOREIGN KEY (CONSUMER_KEY) REFERENCES IDN_OAUTH_CONSUMER_APPS(CONSUMER_KEY) ON DELETE CASCADE ,
CONSTRAINT CON_APP_KEY UNIQUE (CONSUMER_KEY, AUTHZ_USER,USER_TYPE,TOKEN_SCOPE,TOKEN_STATE,TOKEN_STATE_ID)
)
/
CREATE TABLE IDN_OPENID_USER_RPS (
USER_NAME VARCHAR(255) NOT NULL,
TENANT_ID INTEGER DEFAULT 0,
RP_URL VARCHAR(255) NOT NULL,
TRUSTED_ALWAYS VARCHAR(128) DEFAULT 'FALSE',
LAST_VISIT DATE NOT NULL,
VISIT_COUNT INTEGER DEFAULT 0,
DEFAULT_PROFILE_NAME VARCHAR(255) DEFAULT 'DEFAULT',
PRIMARY KEY (USER_NAME, TENANT_ID, RP_URL))
/
CREATE TABLE AM_SUBSCRIBER (
SUBSCRIBER_ID INTEGER,
USER_ID VARCHAR2(50) NOT NULL,
TENANT_ID INTEGER NOT NULL,
EMAIL_ADDRESS VARCHAR2(256) NULL,
DATE_SUBSCRIBED DATE NOT NULL,
PRIMARY KEY (SUBSCRIBER_ID),
UNIQUE (TENANT_ID,USER_ID)
)
/
CREATE SEQUENCE AM_SUBSCRIBER_SEQUENCE START WITH 1 INCREMENT BY 1
/
CREATE OR REPLACE TRIGGER AM_SUBSCRIBER_TRIGGER
BEFORE INSERT
ON AM_SUBSCRIBER
REFERENCING NEW AS NEW
FOR EACH ROW
BEGIN
SELECT AM_SUBSCRIBER_SEQUENCE.nextval INTO :NEW.SUBSCRIBER_ID FROM dual;
END;
/
--TODO: Have to add ON UPDATE CASCADE for the FOREIGN KEY(SUBSCRIBER_ID) relation
CREATE TABLE AM_APPLICATION (
APPLICATION_ID INTEGER,
NAME VARCHAR2(100),
SUBSCRIBER_ID INTEGER,
APPLICATION_TIER VARCHAR2(50) DEFAULT 'Unlimited',
CALLBACK_URL VARCHAR2(512),
DESCRIPTION VARCHAR2(512),
APPLICATION_STATUS VARCHAR2(50) DEFAULT 'APPROVED',
FOREIGN KEY(SUBSCRIBER_ID) REFERENCES AM_SUBSCRIBER(SUBSCRIBER_ID) ON DELETE CASCADE,
PRIMARY KEY(APPLICATION_ID),
UNIQUE (NAME,SUBSCRIBER_ID)
)
/
CREATE SEQUENCE AM_APPLICATION_SEQUENCE START WITH 1 INCREMENT BY 1
/
CREATE OR REPLACE TRIGGER AM_APPLICATION_TRIGGER
BEFORE INSERT
ON AM_APPLICATION
REFERENCING NEW AS NEW
FOR EACH ROW
BEGIN
SELECT AM_APPLICATION_SEQUENCE.nextval INTO :NEW.APPLICATION_ID FROM dual;
END;
/
CREATE TABLE AM_API (
API_ID INTEGER,
API_PROVIDER VARCHAR2(256),
API_NAME VARCHAR2(256),
API_VERSION VARCHAR2(30),
CONTEXT VARCHAR2(256),
PRIMARY KEY(API_ID),
UNIQUE (API_PROVIDER,API_NAME,API_VERSION)
)
/
CREATE SEQUENCE AM_API_SEQUENCE START WITH 1 INCREMENT BY 1
/
CREATE OR REPLACE TRIGGER AM_API_TRIGGER
BEFORE INSERT
ON AM_API
REFERENCING NEW AS NEW
FOR EACH ROW
BEGIN
SELECT AM_API_SEQUENCE.nextval INTO :NEW.API_ID FROM dual;
END;
/
CREATE TABLE AM_API_URL_MAPPING (
URL_MAPPING_ID INTEGER,
API_ID INTEGER NOT NULL,
HTTP_METHOD VARCHAR(20) NULL,
AUTH_SCHEME VARCHAR(50) NULL,
URL_PATTERN VARCHAR(512) NULL,
THROTTLING_TIER varchar(512) DEFAULT NULL,
PRIMARY KEY(URL_MAPPING_ID)
)
/
CREATE SEQUENCE AM_API_URL_MAPPING_SEQUENCE START WITH 1 INCREMENT BY 1
/
CREATE OR REPLACE TRIGGER AM_API_URL_MAPPING_TRIGGER
BEFORE INSERT
ON AM_API_URL_MAPPING
REFERENCING NEW AS NEW
FOR EACH ROW
BEGIN
SELECT AM_API_URL_MAPPING_SEQUENCE.nextval INTO :NEW.URL_MAPPING_ID FROM dual;
END;
/
--TODO: Have to add ON UPDATE CASCADE for the FOREIGN KEY(SUBSCRIPTION_ID) relation
CREATE TABLE AM_SUBSCRIPTION (
SUBSCRIPTION_ID INTEGER,
TIER_ID VARCHAR2(50),
API_ID INTEGER,
LAST_ACCESSED DATE NULL,
APPLICATION_ID INTEGER,
SUB_STATUS VARCHAR(50),
FOREIGN KEY(APPLICATION_ID) REFERENCES AM_APPLICATION(APPLICATION_ID) ON DELETE CASCADE,
FOREIGN KEY(API_ID) REFERENCES AM_API(API_ID) ON DELETE CASCADE,
PRIMARY KEY (SUBSCRIPTION_ID)
)
/
CREATE SEQUENCE AM_SUBSCRIPTION_SEQUENCE START WITH 1 INCREMENT BY 1
/
CREATE OR REPLACE TRIGGER AM_SUBSCRIPTION_TRIGGER
BEFORE INSERT
ON AM_SUBSCRIPTION
REFERENCING NEW AS NEW
FOR EACH ROW
BEGIN
SELECT AM_SUBSCRIPTION_SEQUENCE.nextval INTO :NEW.SUBSCRIPTION_ID FROM dual;
END;
/
--TODO: Have to add ON UPDATE CASCADE for the FOREIGN KEY(APPLICATION_ID) and FOREIGN KEY(API_ID) relations
CREATE TABLE AM_SUBSCRIPTION_KEY_MAPPING (
SUBSCRIPTION_ID INTEGER,
ACCESS_TOKEN VARCHAR2(512),
KEY_TYPE VARCHAR2(512) NOT NULL,
FOREIGN KEY(SUBSCRIPTION_ID) REFERENCES AM_SUBSCRIPTION(SUBSCRIPTION_ID) ON DELETE CASCADE,
PRIMARY KEY(SUBSCRIPTION_ID,ACCESS_TOKEN)
)
/
--TODO: Have to add ON UPDATE CASCADE for the FOREIGN KEY(APPLICATION_ID) relation
CREATE TABLE AM_APPLICATION_KEY_MAPPING (
APPLICATION_ID INTEGER,
CONSUMER_KEY VARCHAR2(512),
KEY_TYPE VARCHAR2(512) NOT NULL,
FOREIGN KEY(APPLICATION_ID) REFERENCES AM_APPLICATION(APPLICATION_ID) ON DELETE CASCADE,
PRIMARY KEY(APPLICATION_ID,CONSUMER_KEY)
)
/
--TODO: Have to add ON UPDATE CASCADE for the FOREIGN KEY(API_ID) relation
CREATE TABLE AM_API_LC_EVENT (
EVENT_ID INTEGER,
API_ID INTEGER NOT NULL,
PREVIOUS_STATE VARCHAR2(50),
NEW_STATE VARCHAR2(50) NOT NULL,
USER_ID VARCHAR2(50) NOT NULL,
TENANT_ID INTEGER NOT NULL,
EVENT_DATE DATE NOT NULL,
FOREIGN KEY(API_ID) REFERENCES AM_API(API_ID) ON DELETE CASCADE,
PRIMARY KEY (EVENT_ID)
)
/
CREATE TABLE AM_APP_KEY_DOMAIN_MAPPING (
CONSUMER_KEY VARCHAR(255),
AUTHZ_DOMAIN VARCHAR(255) DEFAULT 'ALL',
PRIMARY KEY (CONSUMER_KEY,AUTHZ_DOMAIN),
FOREIGN KEY (CONSUMER_KEY) REFERENCES IDN_OAUTH_CONSUMER_APPS(CONSUMER_KEY)
)
/
CREATE TABLE AM_API_COMMENTS (
COMMENT_ID INTEGER,
COMMENT_TEXT VARCHAR2(512),
COMMENTED_USER VARCHAR2(255),
DATE_COMMENTED DATE NOT NULL,
API_ID INTEGER NOT NULL,
FOREIGN KEY(API_ID) REFERENCES AM_API(API_ID) ON DELETE CASCADE,
PRIMARY KEY (COMMENT_ID)
)
/
CREATE SEQUENCE AM_API_COMMENTS_SEQUENCE START WITH 1 INCREMENT BY 1
/
CREATE OR REPLACE TRIGGER AM_API_COMMENTS_TRIGGER
BEFORE INSERT
ON AM_API_COMMENTS
REFERENCING NEW AS NEW
FOR EACH ROW
BEGIN
SELECT AM_API_COMMENTS_SEQUENCE.nextval INTO :NEW.COMMENT_ID FROM dual;
END;
/
CREATE TABLE AM_API_RATINGS (
RATING_ID INTEGER,
API_ID INTEGER,
RATING INTEGER,
SUBSCRIBER_ID INTEGER,
FOREIGN KEY(API_ID) REFERENCES AM_API(API_ID) ON DELETE CASCADE,
FOREIGN KEY(SUBSCRIBER_ID) REFERENCES AM_SUBSCRIBER(SUBSCRIBER_ID) ON DELETE CASCADE,
PRIMARY KEY (RATING_ID)
)
/
CREATE SEQUENCE AM_API_RATINGS_SEQUENCE START WITH 1 INCREMENT BY 1
/
CREATE OR REPLACE TRIGGER AM_API_RATINGS_TRIGGER
BEFORE INSERT
ON AM_API_RATINGS
REFERENCING NEW AS NEW
FOR EACH ROW
BEGIN
SELECT AM_API_RATINGS_SEQUENCE.nextval INTO :NEW.RATING_ID FROM dual;
END;
/
CREATE TABLE AM_TIER_PERMISSIONS (
TIER_PERMISSIONS_ID INTEGER,
TIER VARCHAR2(50) NOT NULL,
PERMISSIONS_TYPE VARCHAR2(50) NOT NULL,
ROLES VARCHAR2(512) NOT NULL,
TENANT_ID INTEGER NOT NULL,
PRIMARY KEY(TIER_PERMISSIONS_ID)
)
/
CREATE SEQUENCE AM_TIER_PERMISSIONS_SEQUENCE START WITH 1 INCREMENT BY 1
/
CREATE OR REPLACE TRIGGER AM_TIER_PERMISSIONS_TRIGGER
BEFORE INSERT
ON AM_TIER_PERMISSIONS
REFERENCING NEW AS NEW
FOR EACH ROW
BEGIN
SELECT AM_TIER_PERMISSIONS_SEQUENCE.nextval INTO :NEW.TIER_PERMISSIONS_ID FROM dual;
END;
/
CREATE SEQUENCE AM_API_LC_EVENT_SEQUENCE START WITH 1 INCREMENT BY 1
/
CREATE OR REPLACE TRIGGER AM_API_LC_EVENT_TRIGGER
BEFORE INSERT
ON AM_API_LC_EVENT
REFERENCING NEW AS NEW
FOR EACH ROW
BEGIN
SELECT AM_API_LC_EVENT_SEQUENCE.nextval INTO :NEW.EVENT_ID FROM dual;
END;
/
CREATE TABLE IDN_THRIFT_SESSION (
SESSION_ID VARCHAR2(255) NOT NULL,
USER_NAME VARCHAR2(255) NOT NULL,
CREATED_TIME VARCHAR2(255) NOT NULL,
LAST_MODIFIED_TIME VARCHAR2(255) NOT NULL,
PRIMARY KEY (SESSION_ID)
)
/
CREATE TABLE AM_EXTERNAL_STORES (
APISTORE_ID INTEGER,
API_ID INTEGER,
STORE_ID VARCHAR2(255) NOT NULL,
STORE_DISPLAY_NAME VARCHAR2(255) NOT NULL,
STORE_ENDPOINT VARCHAR2(255) NOT NULL,
STORE_TYPE VARCHAR2(255) NOT NULL,
FOREIGN KEY(API_ID) REFERENCES AM_API(API_ID) ON DELETE CASCADE,
PRIMARY KEY (APISTORE_ID)
)
/
CREATE TABLE AM_WORKFLOWS(
WF_ID INTEGER AUTO_INCREMENT,
WF_REFERENCE VARCHAR(255) NOT NULL,
WF_TYPE VARCHAR(255) NOT NULL,
WF_STATUS VARCHAR(255) NOT NULL,
WF_CREATED_TIME TIMESTAMP,
WF_UPDATED_TIME TIMESTAMP,
WF_STATUS_DESC VARCHAR(1000),
TENANT_ID INTEGER,
TENANT_DOMAIN VARCHAR(255),
WF_EXTERNAL_REFERENCE VARCHAR(255) NOT NULL UNIQUE,
PRIMARY KEY (WF_ID)
)
/
CREATE SEQUENCE AM_WORKFLOWS_SEQUENCE START WITH 1 INCREMENT BY 1
/
CREATE OR REPLACE AM_WORKFLOWS_TRIGGER
BEFORE INSERT
ON AM_WORKFLOWS
REFERENCING NEW AS NEW
FOR EACH ROW
BEGIN
SELECT AM_WORKFLOWS_SEQUENCE.nextval INTO :NEW.WF_ID FROM dual;
END;
/
CREATE SEQUENCE AM_EXTERNAL_STORES_SEQUENCE START WITH 1 INCREMENT BY 1
/
CREATE OR REPLACE TRIGGER AM_EXTERNAL_STORES_TRIGGER
BEFORE INSERT
ON AM_EXTERNAL_STORES
REFERENCING NEW AS NEW
FOR EACH ROW
BEGIN
SELECT AM_EXTERNAL_STORES_SEQUENCE.nextval INTO :NEW.APISTORE_ID FROM dual;
END;
/
CREATE INDEX IDX_SUB_APP_ID ON AM_SUBSCRIPTION (APPLICATION_ID, SUBSCRIPTION_ID)
/
CREATE INDEX IDX_AT_CK_AU ON IDN_OAUTH2_ACCESS_TOKEN(CONSUMER_KEY, AUTHZ_USER, TOKEN_STATE, USER_TYPE)
/
CREATE TABLE AM_API_DEFAULT_VERSION (
DEFAULT_VERSION_ID NUMBER,
API_NAME VARCHAR(256) NOT NULL ,
API_PROVIDER VARCHAR(256) NOT NULL ,
DEFAULT_API_VERSION VARCHAR(30) ,
PUBLISHED_DEFAULT_API_VERSION VARCHAR(30) ,
PRIMARY KEY (DEFAULT_VERSION_ID)
)
/
CREATE SEQUENCE AM_API_DEFAULT_VERSION_SEQ START WITH 1 INCREMENT BY 1 NOCACHE
/
CREATE OR REPLACE TRIGGER AM_API_DEFAULT_VERSION_TRG
BEFORE INSERT
ON AM_API_DEFAULT_VERSION
REFERENCING NEW AS NEW
FOR EACH ROW
BEGIN
SELECT AM_API_DEFAULT_VERSION_SEQ.nextval INTO :NEW.DEFAULT_VERSION_ID FROM dual;
END;
/ |
<reponame>Reference-Components/spring-boot-reference
-- <#SCHEDULING>
-- Creates tables used by Quartz, when job data is set to persist in database.
CREATE TABLE QRTZ_CALENDARS (
SCHED_NAME VARCHAR(120) NOT NULL,
CALENDAR_NAME VARCHAR (200) NOT NULL,
CALENDAR IMAGE NOT NULL
);
CREATE TABLE QRTZ_CRON_TRIGGERS (
SCHED_NAME VARCHAR(120) NOT NULL,
TRIGGER_NAME VARCHAR (200) NOT NULL,
TRIGGER_GROUP VARCHAR (200) NOT NULL,
CRON_EXPRESSION VARCHAR (120) NOT NULL,
TIME_ZONE_ID VARCHAR (80)
);
CREATE TABLE QRTZ_FIRED_TRIGGERS (
SCHED_NAME VARCHAR(120) NOT NULL,
ENTRY_ID VARCHAR (95) NOT NULL,
TRIGGER_NAME VARCHAR (200) NOT NULL,
TRIGGER_GROUP VARCHAR (200) NOT NULL,
INSTANCE_NAME VARCHAR (200) NOT NULL,
FIRED_TIME BIGINT NOT NULL,
SCHED_TIME BIGINT NOT NULL,
PRIORITY INTEGER NOT NULL,
STATE VARCHAR (16) NOT NULL,
JOB_NAME VARCHAR (200) NULL,
JOB_GROUP VARCHAR (200) NULL,
IS_NONCONCURRENT BOOLEAN NULL,
REQUESTS_RECOVERY BOOLEAN NULL
);
CREATE TABLE QRTZ_PAUSED_TRIGGER_GRPS (
SCHED_NAME VARCHAR(120) NOT NULL,
TRIGGER_GROUP VARCHAR (200) NOT NULL
);
CREATE TABLE QRTZ_SCHEDULER_STATE (
SCHED_NAME VARCHAR(120) NOT NULL,
INSTANCE_NAME VARCHAR (200) NOT NULL,
LAST_CHECKIN_TIME BIGINT NOT NULL,
CHECKIN_INTERVAL BIGINT NOT NULL
);
CREATE TABLE QRTZ_LOCKS (
SCHED_NAME VARCHAR(120) NOT NULL,
LOCK_NAME VARCHAR (40) NOT NULL
);
CREATE TABLE QRTZ_JOB_DETAILS (
SCHED_NAME VARCHAR(120) NOT NULL,
JOB_NAME VARCHAR (200) NOT NULL,
JOB_GROUP VARCHAR (200) NOT NULL,
DESCRIPTION VARCHAR (250) NULL,
JOB_CLASS_NAME VARCHAR (250) NOT NULL,
IS_DURABLE BOOLEAN NOT NULL,
IS_NONCONCURRENT BOOLEAN NOT NULL,
IS_UPDATE_DATA BOOLEAN NOT NULL,
REQUESTS_RECOVERY BOOLEAN NOT NULL,
JOB_DATA IMAGE NULL
);
CREATE TABLE QRTZ_SIMPLE_TRIGGERS (
SCHED_NAME VARCHAR(120) NOT NULL,
TRIGGER_NAME VARCHAR (200) NOT NULL,
TRIGGER_GROUP VARCHAR (200) NOT NULL,
REPEAT_COUNT BIGINT NOT NULL,
REPEAT_INTERVAL BIGINT NOT NULL,
TIMES_TRIGGERED BIGINT NOT NULL
);
CREATE TABLE QRTZ_SIMPROP_TRIGGERS (
SCHED_NAME VARCHAR(120) NOT NULL,
TRIGGER_NAME VARCHAR(200) NOT NULL,
TRIGGER_GROUP VARCHAR(200) NOT NULL,
STR_PROP_1 VARCHAR(512) NULL,
STR_PROP_2 VARCHAR(512) NULL,
STR_PROP_3 VARCHAR(512) NULL,
INT_PROP_1 INTEGER NULL,
INT_PROP_2 INTEGER NULL,
LONG_PROP_1 BIGINT NULL,
LONG_PROP_2 BIGINT NULL,
DEC_PROP_1 NUMERIC(13,4) NULL,
DEC_PROP_2 NUMERIC(13,4) NULL,
BOOL_PROP_1 BOOLEAN NULL,
BOOL_PROP_2 BOOLEAN NULL
);
CREATE TABLE QRTZ_BLOB_TRIGGERS (
SCHED_NAME VARCHAR(120) NOT NULL,
TRIGGER_NAME VARCHAR (200) NOT NULL,
TRIGGER_GROUP VARCHAR (200) NOT NULL,
BLOB_DATA IMAGE NULL
);
CREATE TABLE QRTZ_TRIGGERS (
SCHED_NAME VARCHAR(120) NOT NULL,
TRIGGER_NAME VARCHAR (200) NOT NULL,
TRIGGER_GROUP VARCHAR (200) NOT NULL,
JOB_NAME VARCHAR (200) NOT NULL,
JOB_GROUP VARCHAR (200) NOT NULL,
DESCRIPTION VARCHAR (250) NULL,
NEXT_FIRE_TIME BIGINT NULL,
PREV_FIRE_TIME BIGINT NULL,
PRIORITY INTEGER NULL,
TRIGGER_STATE VARCHAR (16) NOT NULL,
TRIGGER_TYPE VARCHAR (8) NOT NULL,
START_TIME BIGINT NOT NULL,
END_TIME BIGINT NULL,
CALENDAR_NAME VARCHAR (200) NULL,
MISFIRE_INSTR SMALLINT NULL,
JOB_DATA IMAGE NULL
);
ALTER TABLE QRTZ_CALENDARS ADD
CONSTRAINT PK_QRTZ_CALENDARS PRIMARY KEY
(
SCHED_NAME,
CALENDAR_NAME
);
ALTER TABLE QRTZ_CRON_TRIGGERS ADD
CONSTRAINT PK_QRTZ_CRON_TRIGGERS PRIMARY KEY
(
SCHED_NAME,
TRIGGER_NAME,
TRIGGER_GROUP
);
ALTER TABLE QRTZ_FIRED_TRIGGERS ADD
CONSTRAINT PK_QRTZ_FIRED_TRIGGERS PRIMARY KEY
(
SCHED_NAME,
ENTRY_ID
);
ALTER TABLE QRTZ_PAUSED_TRIGGER_GRPS ADD
CONSTRAINT PK_QRTZ_PAUSED_TRIGGER_GRPS PRIMARY KEY
(
SCHED_NAME,
TRIGGER_GROUP
);
ALTER TABLE QRTZ_SCHEDULER_STATE ADD
CONSTRAINT PK_QRTZ_SCHEDULER_STATE PRIMARY KEY
(
SCHED_NAME,
INSTANCE_NAME
);
ALTER TABLE QRTZ_LOCKS ADD
CONSTRAINT PK_QRTZ_LOCKS PRIMARY KEY
(
SCHED_NAME,
LOCK_NAME
);
ALTER TABLE QRTZ_JOB_DETAILS ADD
CONSTRAINT PK_QRTZ_JOB_DETAILS PRIMARY KEY
(
SCHED_NAME,
JOB_NAME,
JOB_GROUP
);
ALTER TABLE QRTZ_SIMPLE_TRIGGERS ADD
CONSTRAINT PK_QRTZ_SIMPLE_TRIGGERS PRIMARY KEY
(
SCHED_NAME,
TRIGGER_NAME,
TRIGGER_GROUP
);
ALTER TABLE QRTZ_SIMPROP_TRIGGERS ADD
CONSTRAINT PK_QRTZ_SIMPROP_TRIGGERS PRIMARY KEY
(
SCHED_NAME,
TRIGGER_NAME,
TRIGGER_GROUP
);
ALTER TABLE QRTZ_TRIGGERS ADD
CONSTRAINT PK_QRTZ_TRIGGERS PRIMARY KEY
(
SCHED_NAME,
TRIGGER_NAME,
TRIGGER_GROUP
);
ALTER TABLE QRTZ_CRON_TRIGGERS ADD
CONSTRAINT FK_QRTZ_CRON_TRIGGERS_QRTZ_TRIGGERS FOREIGN KEY
(
SCHED_NAME,
TRIGGER_NAME,
TRIGGER_GROUP
) REFERENCES QRTZ_TRIGGERS (
SCHED_NAME,
TRIGGER_NAME,
TRIGGER_GROUP
) ON DELETE CASCADE;
ALTER TABLE QRTZ_SIMPLE_TRIGGERS ADD
CONSTRAINT FK_QRTZ_SIMPLE_TRIGGERS_QRTZ_TRIGGERS FOREIGN KEY
(
SCHED_NAME,
TRIGGER_NAME,
TRIGGER_GROUP
) REFERENCES QRTZ_TRIGGERS (
SCHED_NAME,
TRIGGER_NAME,
TRIGGER_GROUP
) ON DELETE CASCADE;
ALTER TABLE QRTZ_SIMPROP_TRIGGERS ADD
CONSTRAINT FK_QRTZ_SIMPROP_TRIGGERS_QRTZ_TRIGGERS FOREIGN KEY
(
SCHED_NAME,
TRIGGER_NAME,
TRIGGER_GROUP
) REFERENCES QRTZ_TRIGGERS (
SCHED_NAME,
TRIGGER_NAME,
TRIGGER_GROUP
) ON DELETE CASCADE;
ALTER TABLE QRTZ_TRIGGERS ADD
CONSTRAINT FK_QRTZ_TRIGGERS_QRTZ_JOB_DETAILS FOREIGN KEY
(
SCHED_NAME,
JOB_NAME,
JOB_GROUP
) REFERENCES QRTZ_JOB_DETAILS (
SCHED_NAME,
JOB_NAME,
JOB_GROUP
);
COMMIT; |
DROP TABLE IF EXISTS voices;
DROP TABLE IF EXISTS dishes;
DROP TABLE IF EXISTS restaurants;
DROP TABLE IF EXISTS user_roles;
DROP TABLE IF EXISTS users;
DROP SEQUENCE IF EXISTS global_seq;
CREATE SEQUENCE global_seq START WITH 100000;
CREATE TABLE users
(
id BIGINT GENERATED BY DEFAULT AS IDENTITY SEQUENCE global_seq PRIMARY KEY,
name VARCHAR NOT NULL,
email VARCHAR NOT NULL,
password VARCHAR NOT NULL,
registered TIMESTAMP DEFAULT now() NOT NULL,
enabled BOOL DEFAULT TRUE NOT NULL
);
CREATE UNIQUE INDEX users_unique_email_idx ON users (email);
CREATE TABLE user_roles
(
user_id BIGINT NOT NULL,
role VARCHAR,
CONSTRAINT user_roles_idx UNIQUE (user_id, role),
FOREIGN KEY (user_id) REFERENCES users (id) ON DELETE CASCADE
);
CREATE TABLE restaurants
(
id BIGINT GENERATED BY DEFAULT AS IDENTITY SEQUENCE global_seq PRIMARY KEY,
name VARCHAR NOT NULL,
address VARCHAR NOT NULL,
CONSTRAINT restaurants_unique_name_address_idx UNIQUE (name, address)
);
CREATE TABLE dishes
(
id BIGINT GENERATED BY DEFAULT AS IDENTITY SEQUENCE global_seq PRIMARY KEY,
restaurant_id BIGINT NOT NULL,
name VARCHAR NOT NULL,
price INTEGER NOT NULL,
serving_date DATE NOT NULL,
CONSTRAINT date_restaurant_dish_idx UNIQUE (serving_date, restaurant_id, name),
FOREIGN KEY (restaurant_id) REFERENCES restaurants (id) ON DELETE CASCADE
);
CREATE TABLE voices
(
id BIGINT GENERATED BY DEFAULT AS IDENTITY SEQUENCE global_seq PRIMARY KEY,
voting_date DATE NOT NULL,
user_id BIGINT NOT NULL,
restaurant_id BIGINT NOT NULL,
CONSTRAINT date_user_idx UNIQUE (voting_date, user_id),
FOREIGN KEY (user_id) REFERENCES users (id) ON DELETE CASCADE,
FOREIGN KEY (restaurant_id) REFERENCES restaurants (id) ON DELETE CASCADE
);
|
<filename>phpems/phpems/phpems.sql<gh_stars>1-10
/*
Navicat MySQL Data Transfer
Source Server : localhost_3306
Source Server Version : 50554
Source Host : localhost:3306
Source Database : 777
Target Server Type : MYSQL
Target Server Version : 50554
File Encoding : 65001
Date: 2018-01-31 21:52:32
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `x2_app`
-- ----------------------------
DROP TABLE IF EXISTS `x2_app`;
CREATE TABLE `x2_app` (
`appid` varchar(24) NOT NULL,
`appname` varchar(48) NOT NULL DEFAULT '',
`appthumb` varchar(240) NOT NULL DEFAULT '',
`appstatus` int(1) NOT NULL DEFAULT '0',
`appsetting` text NOT NULL,
PRIMARY KEY (`appid`),
KEY `appstatus` (`appstatus`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_app
-- ----------------------------
INSERT INTO `x2_app` VALUES ('user', '用户模块', 'files/attach/images/content/20130401/13647895355562.png.png', '1', 'a:6:{s:11:\"closeregist\";s:1:\"0\";s:9:\"registype\";s:1:\"0\";s:11:\"managemodel\";s:1:\"0\";s:10:\"loginmodel\";s:1:\"1\";s:9:\"regfields\";s:12:\"usertruename\";s:9:\"outfields\";s:12:\"usertruename\";}');
INSERT INTO `x2_app` VALUES ('exam', '考试模块', '*value*', '1', 'a:1:{s:3:\"seo\";a:3:{s:5:\"title\";s:0:\"\";s:8:\"keywords\";s:0:\"\";s:11:\"description\";s:0:\"\";}}');
INSERT INTO `x2_app` VALUES ('core', '模块管理', '*value*', '1', 'a:1:{s:3:\"seo\";a:3:{s:5:\"title\";s:0:\"\";s:8:\"keywords\";s:0:\"\";s:11:\"description\";s:0:\"\";}}');
INSERT INTO `x2_app` VALUES ('document', '文件模块', '*value*', '1', '');
INSERT INTO `x2_app` VALUES ('content', '内容模块', '*value*', '1', '');
INSERT INTO `x2_app` VALUES ('item', '商品模块', '', '1', 'a:1:{s:3:\"seo\";a:3:{s:5:\"title\";s:0:\"\";s:8:\"keywords\";s:0:\"\";s:11:\"description\";s:0:\"\";}}');
INSERT INTO `x2_app` VALUES ('bank', '财务模块', '*value*', '1', '');
INSERT INTO `x2_app` VALUES ('edu', '教务模块', 'app/core/styles/images/noimage.gif', '1', '');
INSERT INTO `x2_app` VALUES ('course', '课程模块', '*value*', '1', '');
INSERT INTO `x2_app` VALUES ('demo', '试听中心', '', '1', 'a:1:{s:3:\"seo\";a:3:{s:5:\"title\";s:0:\"\";s:8:\"keywords\";s:0:\"\";s:11:\"description\";s:0:\"\";}}');
INSERT INTO `x2_app` VALUES ('passport', '证书模块', 'app/core/styles/images/noimage.gif', '1', '');
INSERT INTO `x2_app` VALUES ('certificate', '证书模块', 'app/core/styles/images/noimage.gif', '1', '');
INSERT INTO `x2_app` VALUES ('docs', '文档模块', 'app/core/styles/images/noimage.gif', '1', '');
-- ----------------------------
-- Table structure for `x2_area`
-- ----------------------------
DROP TABLE IF EXISTS `x2_area`;
CREATE TABLE `x2_area` (
`areaid` int(11) NOT NULL AUTO_INCREMENT,
`area` varchar(120) NOT NULL DEFAULT '',
`areacode` int(12) NOT NULL DEFAULT '0',
`arealevel` int(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`areaid`),
KEY `area` (`area`,`arealevel`),
KEY `areacode` (`areacode`)
) ENGINE=MyISAM AUTO_INCREMENT=29 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_area
-- ----------------------------
INSERT INTO `x2_area` VALUES ('1', '全国', '1', '1');
INSERT INTO `x2_area` VALUES ('3', '河南', '373', '0');
INSERT INTO `x2_area` VALUES ('4', '北京', '10', '0');
INSERT INTO `x2_area` VALUES ('5', '陕西', '29', '0');
INSERT INTO `x2_area` VALUES ('6', '河北', '311', '0');
INSERT INTO `x2_area` VALUES ('7', '天津', '22', '0');
INSERT INTO `x2_area` VALUES ('8', '山东', '531', '0');
INSERT INTO `x2_area` VALUES ('9', '江苏', '25', '0');
INSERT INTO `x2_area` VALUES ('10', '湖北', '27', '0');
INSERT INTO `x2_area` VALUES ('11', '辽宁', '24', '0');
INSERT INTO `x2_area` VALUES ('12', '贵州', '851', '0');
INSERT INTO `x2_area` VALUES ('13', '北京春雪', '1001', '0');
INSERT INTO `x2_area` VALUES ('14', '云南', '871', '0');
INSERT INTO `x2_area` VALUES ('15', '四川', '28', '0');
INSERT INTO `x2_area` VALUES ('16', '安徽', '551', '0');
INSERT INTO `x2_area` VALUES ('17', '深圳', '755', '0');
INSERT INTO `x2_area` VALUES ('18', '吉林', '431', '0');
INSERT INTO `x2_area` VALUES ('19', '广东', '20', '0');
INSERT INTO `x2_area` VALUES ('20', '新疆', '991', '0');
INSERT INTO `x2_area` VALUES ('21', '广西', '771', '0');
INSERT INTO `x2_area` VALUES ('22', '福建', '591', '0');
INSERT INTO `x2_area` VALUES ('23', '湖南', '731', '0');
INSERT INTO `x2_area` VALUES ('24', '上海', '21', '0');
INSERT INTO `x2_area` VALUES ('25', '重庆', '23', '0');
INSERT INTO `x2_area` VALUES ('26', '江西', '791', '0');
INSERT INTO `x2_area` VALUES ('27', '浙江', '571', '0');
INSERT INTO `x2_area` VALUES ('28', '山西', '351', '0');
-- ----------------------------
-- Table structure for `x2_attach`
-- ----------------------------
DROP TABLE IF EXISTS `x2_attach`;
CREATE TABLE `x2_attach` (
`attid` int(11) NOT NULL AUTO_INCREMENT,
`attpath` varchar(240) NOT NULL DEFAULT '',
`atttitle` varchar(240) NOT NULL DEFAULT '',
`attext` varchar(12) NOT NULL DEFAULT '',
`attinputtime` int(11) NOT NULL DEFAULT '0',
`attsize` int(11) NOT NULL DEFAULT '0',
`attmd5` varchar(32) NOT NULL DEFAULT '',
`attuserid` int(11) NOT NULL DEFAULT '0',
`attcntype` varchar(12) NOT NULL DEFAULT '',
PRIMARY KEY (`attid`),
KEY `attext` (`attext`,`attinputtime`),
KEY `attuserid` (`attuserid`),
KEY `attcntype` (`attcntype`)
) ENGINE=MyISAM AUTO_INCREMENT=43 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_attach
-- ----------------------------
-- ----------------------------
-- Table structure for `x2_attachtype`
-- ----------------------------
DROP TABLE IF EXISTS `x2_attachtype`;
CREATE TABLE `x2_attachtype` (
`atid` int(11) NOT NULL AUTO_INCREMENT,
`attachtype` varchar(120) NOT NULL,
`attachexts` tinytext NOT NULL,
PRIMARY KEY (`atid`),
KEY `attachtype` (`attachtype`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_attachtype
-- ----------------------------
INSERT INTO `x2_attachtype` VALUES ('1', '图片', 'jpg,png,gif,bmp');
INSERT INTO `x2_attachtype` VALUES ('2', '音频', 'mp3');
INSERT INTO `x2_attachtype` VALUES ('3', '多媒体', 'flv,wmv,mp4,avi');
INSERT INTO `x2_attachtype` VALUES ('4', '批量导入文件', 'csv');
INSERT INTO `x2_attachtype` VALUES ('5', '文字类', 'pdf');
-- ----------------------------
-- Table structure for `x2_basic`
-- ----------------------------
DROP TABLE IF EXISTS `x2_basic`;
CREATE TABLE `x2_basic` (
`basicid` int(11) NOT NULL AUTO_INCREMENT,
`basic` varchar(120) NOT NULL DEFAULT '',
`basicareaid` int(4) NOT NULL DEFAULT '0',
`basicsubjectid` int(11) NOT NULL DEFAULT '0',
`basicsection` text NOT NULL,
`basicknows` text NOT NULL,
`basicexam` text NOT NULL,
`basicapi` varchar(32) NOT NULL DEFAULT '',
`basicdemo` int(1) NOT NULL DEFAULT '0',
`basicthumb` varchar(240) NOT NULL DEFAULT '',
`basicprice` tinytext NOT NULL,
`basicclosed` int(1) NOT NULL DEFAULT '0',
`basicdescribe` text NOT NULL,
PRIMARY KEY (`basicid`),
KEY `basicexamid` (`basicareaid`),
KEY `basicsubjectid` (`basicsubjectid`),
KEY `basicapi` (`basicapi`),
KEY `basicdemo` (`basicdemo`),
KEY `basicclosed` (`basicclosed`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_basic
-- ----------------------------
INSERT INTO `x2_basic` VALUES ('1', '演示考场', '1', '1', 'a:1:{i:0;i:1;}', 'a:1:{i:1;a:1:{i:1;s:1:\"1\";}}', 'a:12:{s:9:\"rulemodel\";s:1:\"0\";s:5:\"model\";s:1:\"0\";s:14:\"changesequence\";s:1:\"0\";s:4:\"auto\";s:3:\"1,3\";s:12:\"autotemplate\";s:15:\"exampaper_paper\";s:4:\"self\";s:3:\"4,1\";s:12:\"selftemplate\";s:10:\"exam_paper\";s:8:\"opentime\";a:2:{s:5:\"start\";b:0;s:3:\"end\";b:0;}s:10:\"selectrule\";s:1:\"0\";s:10:\"examnumber\";s:1:\"0\";s:12:\"notviewscore\";s:1:\"0\";s:10:\"allowgroup\";s:0:\"\";}', '', '0', 'files/attach/images/content/20161231/14831523418562.jpg', '1:1', '0', '本考场为PHPEMS系统演示考场');
INSERT INTO `x2_basic` VALUES ('3', '测试考场', '1', '1', '', '', '', '', '0', 'app/core/styles/images/noimage.gif', '', '0', '');
INSERT INTO `x2_basic` VALUES ('4', 'ceshi', '1', '1', '', '', 'a:4:{s:10:\"selectrule\";i:1;s:5:\"model\";i:2;s:14:\"changesequence\";i:1;s:10:\"examnumber\";i:2;}', '', '1', 'app/core/styles/images/noimage.gif', '', '0', '');
INSERT INTO `x2_basic` VALUES ('5', '手机加个试试', '1', '1', 'a:1:{i:0;i:1;}', 'a:1:{i:1;a:2:{i:1;s:1:\"1\";i:2;s:1:\"2\";}}', 'a:12:{s:9:\"rulemodel\";s:1:\"0\";s:5:\"model\";s:1:\"0\";s:14:\"changesequence\";s:1:\"1\";s:4:\"auto\";s:1:\"1\";s:12:\"autotemplate\";s:15:\"exampaper_paper\";s:4:\"self\";s:1:\"1\";s:12:\"selftemplate\";s:12:\"exam_paper_1\";s:8:\"opentime\";a:2:{s:5:\"start\";b:0;s:3:\"end\";b:0;}s:10:\"selectrule\";s:1:\"1\";s:10:\"examnumber\";s:1:\"2\";s:12:\"notviewscore\";s:1:\"0\";s:10:\"allowgroup\";s:0:\"\";}', '', '1', 'app/core/styles/images/noimage.gif', '', '0', '');
-- ----------------------------
-- Table structure for `x2_block`
-- ----------------------------
DROP TABLE IF EXISTS `x2_block`;
CREATE TABLE `x2_block` (
`blockid` int(11) NOT NULL AUTO_INCREMENT,
`block` varchar(120) NOT NULL DEFAULT '',
`blocktype` int(1) NOT NULL DEFAULT '0',
`blockposition` varchar(120) NOT NULL DEFAULT '',
`blockcontent` text NOT NULL,
PRIMARY KEY (`blockid`),
KEY `blocktype` (`blocktype`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_block
-- ----------------------------
INSERT INTO `x2_block` VALUES ('1', '测试SQL', '3', '多处', 'a:8:{s:7:\"dbtable\";s:4:\"user\";s:5:\"query\";s:60:\"AND|usergroupid=:usergroupid|usergroupid|v:_user[\\\'userid\\\']\";s:5:\"order\";s:0:\"\";s:5:\"limit\";a:2:{i:0;s:1:\"0\";i:1;s:1:\"5\";}s:3:\"sql\";s:0:\"\";s:5:\"index\";s:0:\"\";s:6:\"serial\";s:0:\"\";s:8:\"template\";s:31:\"{x2;eval: print_r(v:blockdata)}\";}');
INSERT INTO `x2_block` VALUES ('2', 'sadsa', '1', 'asdsad', 'a:1:{s:7:\"content\";s:40:\"<p>asdsadsadasdasdasdasd</p>\";}');
-- ----------------------------
-- Table structure for `x2_book`
-- ----------------------------
DROP TABLE IF EXISTS `x2_book`;
CREATE TABLE `x2_book` (
`bookid` int(11) NOT NULL AUTO_INCREMENT,
`bookcontent` text CHARACTER SET latin1 NOT NULL,
`bookopenid` varchar(48) CHARACTER SET latin1 NOT NULL,
`booktime` int(11) NOT NULL,
`bookuserid` int(11) NOT NULL,
PRIMARY KEY (`bookid`),
KEY `bookopenid` (`bookopenid`),
KEY `booktime` (`booktime`),
KEY `bookuserid` (`bookuserid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_book
-- ----------------------------
-- ----------------------------
-- Table structure for `x2_category`
-- ----------------------------
DROP TABLE IF EXISTS `x2_category`;
CREATE TABLE `x2_category` (
`catid` int(11) NOT NULL AUTO_INCREMENT,
`catapp` varchar(24) NOT NULL DEFAULT '',
`catlite` int(11) NOT NULL DEFAULT '0',
`catname` varchar(240) NOT NULL DEFAULT '',
`catimg` varchar(240) NOT NULL DEFAULT '',
`caturl` varchar(120) NOT NULL DEFAULT '',
`catuseurl` int(1) NOT NULL DEFAULT '0',
`catparent` int(11) DEFAULT '0',
`catdes` text NOT NULL,
`cattpl` varchar(36) NOT NULL DEFAULT '',
`catmanager` text NOT NULL,
`catinmenu` int(1) NOT NULL DEFAULT '0',
`catindex` int(4) NOT NULL DEFAULT '0',
`catsubject` int(11) NOT NULL,
PRIMARY KEY (`catid`),
KEY `catlite` (`catlite`,`catparent`),
KEY `catappid` (`catapp`),
KEY `catuseurl` (`catuseurl`),
KEY `catinmenu` (`catinmenu`,`catindex`),
KEY `catsubject` (`catsubject`)
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_category
-- ----------------------------
INSERT INTO `x2_category` VALUES ('1', 'content', '0', '考试信息', 'files/attach/images/content/20160630/14672817197914.jpg', '', '0', '0', '', 'category_default', 'a:2:{s:8:\"pubusers\";s:0:\"\";s:9:\"pubgroups\";s:0:\"\";}', '1', '1', '1');
INSERT INTO `x2_category` VALUES ('2', 'content', '0', '首页头图', 'files/attach/images/content/20160630/14672817455479.jpg', '', '0', '0', '', 'category_default', 'a:2:{s:8:\"pubusers\";s:0:\"\";s:9:\"pubgroups\";s:0:\"\";}', '1', '100', '1');
INSERT INTO `x2_category` VALUES ('3', 'content', '0', '考试资料', 'files/attach/images/content/20160630/14672817048286.jpg', '', '0', '0', '', 'category_default', 'a:2:{s:8:\"pubusers\";s:0:\"\";s:9:\"pubgroups\";s:0:\"\";}', '1', '5', '1');
INSERT INTO `x2_category` VALUES ('4', 'content', '0', '帮助信息', 'files/attach/images/content/20160630/14672817317018.jpg', '', '0', '0', '<h1 class="wikititle">区委区为企鹅</h1>\r\n\r\n<h2 class="wikititle">这是一个什么段落</h2>', 'category_default', 'a:2:{s:8:\"pubusers\";s:0:\"\";s:9:\"pubgroups\";s:0:\"\";}', '0', '5', '1');
INSERT INTO `x2_category` VALUES ('5', 'course', '0', '会计基础', 'files/attach/images/content/20160630/14672924624115.jpg', '', '0', '0', '', 'category_default', 'a:2:{s:8:\"pubusers\";s:0:\"\";s:9:\"pubgroups\";s:0:\"\";}', '0', '10', '0');
INSERT INTO `x2_category` VALUES ('11', 'content', '0', '二级分类', 'app/core/styles/images/noimage.gif', '', '0', '4', '', 'category_default', 'a:2:{s:8:\\\"pubusers\\\";s:0:\\\"\\\";s:9:\\\"pubgroups\\\";s:0:\\\"\\\";}', '0', '0', '0');
INSERT INTO `x2_category` VALUES ('12', 'docs', '0', '人物', 'app/core/styles/images/noimage.gif', '', '0', '0', '', 'category_default', 'a:2:{s:8:\\\"pubusers\\\";s:0:\\\"\\\";s:9:\\\"pubgroups\\\";s:0:\\\"\\\";}', '0', '0', '0');
-- ----------------------------
-- Table structure for `x2_cequeue`
-- ----------------------------
DROP TABLE IF EXISTS `x2_cequeue`;
CREATE TABLE `x2_cequeue` (
`ceqid` int(11) NOT NULL AUTO_INCREMENT,
`ceqceid` int(11) NOT NULL,
`cequserid` int(11) NOT NULL,
`ceqinfo` text NOT NULL,
`ceqtime` int(11) NOT NULL,
`ceqstatus` tinyint(1) NOT NULL,
`ceqordersn` varchar(48) DEFAULT NULL,
`ceqpubtime` int(11) DEFAULT NULL,
PRIMARY KEY (`ceqid`),
KEY `cequserid` (`cequserid`),
KEY `ceqtime` (`ceqtime`),
KEY `ceqstatus` (`ceqstatus`),
KEY `ceqordersn` (`ceqordersn`),
KEY `ceqceid` (`ceqceid`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_cequeue
-- ----------------------------
INSERT INTO `x2_cequeue` VALUES ('1', '1', '1', 'a:7:{s:8:\"username\";s:7:\"peadmin\";s:5:\"photo\";s:55:\"files/attach/images/content/20170717/15002573305180.png\";s:12:\"usertruename\";s:4:\"test\";s:7:\"usersex\";N;s:10:\"userdegree\";N;s:9:\"userphone\";N;s:11:\"useraddress\";N;}', '1514358059', '0', '', null);
INSERT INTO `x2_cequeue` VALUES ('2', '1', '1', 'a:7:{s:8:\"username\";s:7:\"peadmin\";s:5:\"photo\";s:55:\"files/attach/images/content/20170717/15002573305180.png\";s:12:\"usertruename\";s:4:\"test\";s:7:\"usersex\";N;s:10:\"userdegree\";N;s:9:\"userphone\";N;s:11:\"useraddress\";N;}', '1514358861', '0', '', null);
INSERT INTO `x2_cequeue` VALUES ('3', '1', '1', 'a:7:{s:8:\"username\";s:7:\"peadmin\";s:5:\"photo\";s:55:\"files/attach/images/content/20170717/15002573305180.png\";s:12:\"usertruename\";s:4:\"test\";s:7:\"usersex\";N;s:10:\"userdegree\";N;s:9:\"userphone\";N;s:11:\"useraddress\";N;}', '1514358875', '2', '', null);
-- ----------------------------
-- Table structure for `x2_certificate`
-- ----------------------------
DROP TABLE IF EXISTS `x2_certificate`;
CREATE TABLE `x2_certificate` (
`ceid` int(11) NOT NULL AUTO_INCREMENT,
`cetitle` varchar(72) NOT NULL,
`cethumb` varchar(120) DEFAULT NULL,
`ceprice` decimal(10,2) NOT NULL,
`cebasic` int(11) DEFAULT NULL,
`cetime` int(11) DEFAULT NULL,
`cedescribe` text NOT NULL,
PRIMARY KEY (`ceid`),
KEY `cebasic` (`cebasic`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_certificate
-- ----------------------------
INSERT INTO `x2_certificate` VALUES ('1', '会计资格证', 'files/attach/images/content/20170912/15051466611226.jpg', '1.00', '1', '1506817500', '<p>会计资格证</p>');
INSERT INTO `x2_certificate` VALUES ('2', '教师资格证', 'files/attach/images/content/20170912/15051474405023.jpg', '500.00', null, '1505147429', '<p>教师资格证</p>');
INSERT INTO `x2_certificate` VALUES ('3', '2222', 'app/core/styles/images/noimage.gif', '1.00', '1', '1514867919', '<p>1</p>');
-- ----------------------------
-- Table structure for `x2_comment`
-- ----------------------------
DROP TABLE IF EXISTS `x2_comment`;
CREATE TABLE `x2_comment` (
`cmtid` int(11) NOT NULL AUTO_INCREMENT,
`cmtopenid` varchar(48) NOT NULL DEFAULT '',
`cmtuserid` int(11) NOT NULL,
`cmtreply` text NOT NULL,
`cmtcontent` text NOT NULL,
`cmttime` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`cmtid`),
KEY `cmtuserid` (`cmtuserid`),
KEY `cmtapp` (`cmtopenid`,`cmttime`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_comment
-- ----------------------------
INSERT INTO `x2_comment` VALUES ('3', 'openid1234567890', '1', '小白菜真可爱', '我是一个可爱的小白菜', '1479089640');
-- ----------------------------
-- Table structure for `x2_config`
-- ----------------------------
DROP TABLE IF EXISTS `x2_config`;
CREATE TABLE `x2_config` (
`cfgapp` varchar(36) NOT NULL,
`cfgsetting` text NOT NULL,
PRIMARY KEY (`cfgapp`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_config
-- ----------------------------
-- ----------------------------
-- Table structure for `x2_consumelog`
-- ----------------------------
DROP TABLE IF EXISTS `x2_consumelog`;
CREATE TABLE `x2_consumelog` (
`conlid` int(11) NOT NULL AUTO_INCREMENT,
`conlcost` int(11) NOT NULL,
`conluserid` int(11) NOT NULL,
`conlinfo` varchar(120) NOT NULL,
`conltype` int(4) NOT NULL,
`conltime` int(11) NOT NULL,
PRIMARY KEY (`conlid`),
KEY `conluserid` (`conluserid`,`conltype`,`conltime`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_consumelog
-- ----------------------------
INSERT INTO `x2_consumelog` VALUES ('1', '10', '1', '开通课程会计基础(ID1)', '1', '1503617732');
INSERT INTO `x2_consumelog` VALUES ('2', '1', '1', '开通考场演示考场(ID1)', '1', '1503617885');
-- ----------------------------
-- Table structure for `x2_content`
-- ----------------------------
DROP TABLE IF EXISTS `x2_content`;
CREATE TABLE `x2_content` (
`contentid` int(11) NOT NULL AUTO_INCREMENT,
`contentcatid` int(11) NOT NULL DEFAULT '0',
`contentmoduleid` int(11) NOT NULL DEFAULT '0',
`contentuserid` int(11) NOT NULL DEFAULT '0',
`contentusername` varchar(48) NOT NULL DEFAULT '',
`contenttitle` varchar(240) NOT NULL DEFAULT '',
`contentthumb` varchar(120) NOT NULL DEFAULT '',
`contentlink` varchar(240) NOT NULL DEFAULT '',
`contentinputtime` int(11) NOT NULL DEFAULT '0',
`contentmodifytime` int(11) NOT NULL DEFAULT '0',
`contentsequence` int(4) NOT NULL DEFAULT '0',
`contentdescribe` text NOT NULL,
`contentinfo` text NOT NULL,
`contentstatus` int(2) NOT NULL DEFAULT '0',
`contenttemplate` varchar(120) NOT NULL DEFAULT '',
`contenttext` mediumtext NOT NULL,
`cizhuan_guige` varchar(60) NOT NULL,
`cizhuan_brand` varchar(24) NOT NULL,
`cizhuan_thumb` varchar(120) NOT NULL,
`tester` text NOT NULL,
`demo` varchar(240) NOT NULL,
PRIMARY KEY (`contentid`),
KEY `contentuserid` (`contentuserid`,`contentinputtime`,`contentmodifytime`,`contentsequence`),
KEY `contentmoduleid` (`contentmoduleid`),
KEY `contentcatid` (`contentcatid`),
KEY `contentstatus` (`contentstatus`)
) ENGINE=MyISAM AUTO_INCREMENT=56 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_content
-- ----------------------------
INSERT INTO `x2_content` VALUES ('53', '1', '4', '1', 'peadmin', '这是一篇测试性的文章', 'files/attach/images/content/20161231/14831526066272.jpg', '', '1483152644', '1516109565', '0', '这是一篇测试性的文章,我设置了头图和摘要', '', '0', 'content_default', '<p>这是一篇测试性的文章,我设置了头图和摘要<span style="font-size:14px;"><span class="math-tex">\\\\(x = {-b \\\\pm \\\\sqrt{b^2-4ac} \\\\over 2a}\\\\)</span></span><span class="math-tex">\\\\(\\\\left(\\\\begin{array}{c|c} 1 &amp; 2 \\\\\\\\ \\\\hline 3 &amp; 4 \\\\end{array}\\\\right)\\\\)</span>文字类的东西意向<span class="math-tex">\\\\(\\\\sum_{i=0}^{n}i^2\\\\)</span>不太好弄的<span class="math-tex">\\\\(y = \\\\left\\\\{ \\\\begin{array}{ll} a &amp; \\\\textrm{if $d&gt;c$}\\\\\\\\ b+x &amp; \\\\textrm{in the morning}\\\\\\\\ l &amp; \\\\textrm{all day long} \\\\end{array} \\\\right.\\\\)</span><span class="math-tex">\\\\(\\\\mathbf{X} = \\\\left( \\\\begin{array}{ccc} x_{11} &amp; x_{12} &amp; \\\\ldots \\\\\\\\ x_{21} &amp; x_{22} &amp; \\\\ldots \\\\\\\\ \\\\vdots &amp; \\\\vdots &amp; \\\\ddots \\\\end{array} \\\\right)\\\\)</span>发<span class="math-tex">\\\\(\\\\begin{matrix}1 &amp; 2\\\\\\\\3 &amp;4\\\\end{matrix}\\\\)</span><span class="math-tex">\\\\(\\\\begin{pmatrix}1 &amp; 2\\\\\\\\3 &amp;4\\\\end{pmatrix} \\\\begin{bmatrix}1 &amp; 2\\\\\\\\3 &amp;4\\\\end{bmatrix} \\\\begin{Bmatrix}1 &amp; 2\\\\\\\\3 &amp;4\\\\end{Bmatrix} \\\\begin{vmatrix}1 &amp; 2\\\\\\\\3 &amp;4\\\\end{vmatrix} \\\\begin{Vmatrix}1 &amp; 2\\\\\\\\3 &amp;4\\\\end{Vmatrix}\\\\)</span></p>', '', '', '', '', 'app/core/styles/img/noimage.gif');
INSERT INTO `x2_content` VALUES ('54', '2', '4', '1', 'peadmin', '钣金喷漆的效果示例', 'files/attach/images/content/20170429/14933983401074.jpg', '', '1488246017', '1515061511', '0', '', '', '0', 'content_default', '<h1 class="wikititle" id="wkth_3493792057934271">幅度萨芬士大夫但是</h1>\r\n\r\n<h2 class="wikititle" id="wkth_09965710390109717">但是发射点发生</h2>\r\n\r\n<p>普通文字大概是这样的2016年4月28日,百度百科上线10周年发布会在京举行。会上百度百科全面展示了互联网知识平台的十年成就:累计创建词条1300多万,参与词条编辑的网友超过580万,每32秒诞生一个新词条。同时,百度百科正式发布了全新的产品</p>\r\n\r\n<h2 class="wikititle" id="wkth_12421435628111177">章节二</h2>\r\n\r\n<p>普通文字大概是这样的2016年4月28日,百度百科上线10周年发布会在京举行。会上百度百科全面展示了互联网知识平台的十年成就:累计创建词条1300多万,参与词条编辑的网友超过580万,每32秒诞生一个新词条。同时,百度百科正式发布了全新的产品</p>', '', '', '', '', 'app/core/styles/img/noimage.gif');
INSERT INTO `x2_content` VALUES ('55', '2', '4', '1', 'peadmin', '抛光打蜡效果示意', 'files/attach/images/content/20170429/14933983325087.jpg', '', '1488251447', '1515043031', '0', '', '', '0', 'content_default', '<h1 class="wikititle">层级1</h1>\r\n\r\n<h2 class="wikititle">层级二</h2>\r\n\r\n<h3 class="wikititle">层级三</h3>', '', '', '', '', 'app/core/styles/img/noimage.gif');
-- ----------------------------
-- Table structure for `x2_coupon`
-- ----------------------------
DROP TABLE IF EXISTS `x2_coupon`;
CREATE TABLE `x2_coupon` (
`couponsn` varchar(16) NOT NULL,
`couponvalue` int(11) NOT NULL DEFAULT '0',
`couponstatus` int(1) NOT NULL DEFAULT '0',
`couponaddtime` int(11) NOT NULL DEFAULT '0',
`couponendtime` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`couponsn`),
KEY `couponstatus` (`couponstatus`,`couponendtime`),
KEY `couponaddtime` (`couponaddtime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_coupon
-- ----------------------------
-- ----------------------------
-- Table structure for `x2_course`
-- ----------------------------
DROP TABLE IF EXISTS `x2_course`;
CREATE TABLE `x2_course` (
`courseid` int(11) NOT NULL AUTO_INCREMENT,
`coursetitle` varchar(240) DEFAULT NULL,
`coursemoduleid` int(11) DEFAULT NULL,
`coursecsid` int(11) DEFAULT NULL,
`coursethumb` varchar(240) DEFAULT NULL,
`courseuserid` int(11) DEFAULT NULL,
`courseinputtime` int(11) DEFAULT NULL,
`coursemodifytime` int(11) DEFAULT NULL,
`coursesequence` int(11) DEFAULT NULL,
`coursedescribe` text,
`course_files` varchar(240) NOT NULL,
`course_oggfile` varchar(250) NOT NULL,
`course_webmfile` varchar(250) NOT NULL,
`course_youtu` varchar(240) NOT NULL,
`pdf_file` varchar(240) NOT NULL,
`coursepasstime` int(11) NOT NULL,
PRIMARY KEY (`courseid`),
KEY `coursecsid` (`coursecsid`,`courseuserid`,`courseinputtime`,`coursemodifytime`,`coursesequence`),
KEY `coursemoduleid` (`coursemoduleid`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_course
-- ----------------------------
INSERT INTO `x2_course` VALUES ('1', '测试', '14', '1', 'files/attach/images/content/20170304/14885942847445.jpg', '1', '1467215744', '1513144782', '0', '<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 测试测试测试测试<span style="line-height: 20.8px;">测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试</span></p>', 'http://127.0.0.1/824432301/files/attach/images/content/20171210/15128730003784.mp4', '', '', '', '', '0');
INSERT INTO `x2_course` VALUES ('2', '测试2', '14', '1', 'files/attach/images/content/20170304/14885948427581.jpg', '1', '1467262651', '1514440896', '0', '', 'files/attach/images/content/20171228/15144408959553.mp4', '', '', '', '', '0');
INSERT INTO `x2_course` VALUES ('7', '课件7', '15', '1', 'files/attach/images/content/20170824/15035606706798.png', '1', '1503560761', '1516343572', '0', '<p>课件7</p>', '', '', '', '', 'files/attach/images/content/20180119/15163435686735.pdf', '0');
-- ----------------------------
-- Table structure for `x2_coursesubject`
-- ----------------------------
DROP TABLE IF EXISTS `x2_coursesubject`;
CREATE TABLE `x2_coursesubject` (
`csid` int(11) NOT NULL AUTO_INCREMENT,
`cstitle` varchar(240) DEFAULT '',
`cscatid` int(11) DEFAULT NULL,
`csuserid` int(11) DEFAULT '0',
`csbasicid` int(11) DEFAULT '0',
`cssubjectid` int(11) DEFAULT '0',
`cstime` int(11) DEFAULT '0',
`csthumb` varchar(120) DEFAULT '',
`cssequence` int(11) DEFAULT NULL,
`csdescribe` text,
`csdemo` tinyint(1) DEFAULT NULL,
`csprice` text,
PRIMARY KEY (`csid`),
KEY `csbasicid` (`csbasicid`,`cssubjectid`,`cstime`),
KEY `cscatid` (`cscatid`),
KEY `cuserid` (`csuserid`),
KEY `cssequence` (`cssequence`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_coursesubject
-- ----------------------------
INSERT INTO `x2_coursesubject` VALUES ('1', '会计基础', '5', '1', '1', '1', '1467214449', 'files/attach/images/content/20171214/15132540301744.jpg', '0', '会计基础', '1', '10:10');
-- ----------------------------
-- Table structure for `x2_dayexam`
-- ----------------------------
DROP TABLE IF EXISTS `x2_dayexam`;
CREATE TABLE `x2_dayexam` (
`deid` int(11) NOT NULL AUTO_INCREMENT,
`deday` varchar(12) DEFAULT NULL,
`deexamid` int(11) DEFAULT NULL,
`deinfo` text,
PRIMARY KEY (`deid`),
UNIQUE KEY `deday` (`deday`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_dayexam
-- ----------------------------
-- ----------------------------
-- Table structure for `x2_dochistory`
-- ----------------------------
DROP TABLE IF EXISTS `x2_dochistory`;
CREATE TABLE `x2_dochistory` (
`dhid` int(11) NOT NULL AUTO_INCREMENT,
`dhdocid` int(11) DEFAULT NULL,
`dhtitle` varchar(240) DEFAULT NULL,
`dhcontent` text NOT NULL,
`dhtime` int(11) NOT NULL,
`dhusername` varchar(72) DEFAULT NULL,
`dhstatus` tinyint(4) NOT NULL,
`dhtop` tinyint(4) NOT NULL,
PRIMARY KEY (`dhid`),
KEY `dhtime` (`dhtime`),
KEY `dhstatus` (`dhstatus`),
KEY `dhtop` (`dhtop`),
KEY `dhdocid` (`dhdocid`),
KEY `dhusername` (`dhusername`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_dochistory
-- ----------------------------
INSERT INTO `x2_dochistory` VALUES ('1', '1', '测试表机', '<h1 class=\"wikititle\" id=\"wkth_1294351948506136\">PHPEMS文档</h1>\r\n\r\n<h2 class=\"wikititle\" id=\"wkth_803404287627765\">前言</h2>\r\n\r\n<p>我们在这个激动的时刻</p>\r\n\r\n<p>我们在这个激动的时刻我们在这个激动的时刻我们在这个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<p>我们在这个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<h2 class=\"wikititle\" id=\"wkth_023280939440204484\">中间</h2>\r\n\r\n<p>我们在另外一个激动的时刻</p>\r\n\r\n<h1 class=\"wikititle\" id=\"wkth_4046807216113053\">新的标题</h1>\r\n\r\n<h2 class=\"wikititle\" id=\"wkth_7787006977782638\">导语</h2>\r\n\r\n<p>新的一天,我们一起度过我们在这个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<h2 class=\"wikititle\" id=\"wkth_8746338490190133\">结束</h2>\r\n\r\n<p>感谢上帝赐予我们食物我们在这个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<p>新的一天,我们一起度过我们在这个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<h2 class=\"wikititle\" id=\"wkth_8746338490190133\">结束</h2>\r\n\r\n<p>感谢上帝赐予我们食物我们在这个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<p>新的一天,我们一起度过我们在这个激动的时刻我们在这个激动的时刻感谢上帝赐予我们食物我们在这个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<h2 class=\"wikititle\" id=\"wkth_7787006977782638\">导语</h2>\r\n\r\n<p>新的一天,我们一起度过我们在这个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<h2 class=\"wikititle\" id=\"wkth_8746338490190133\">结束</h2>\r\n\r\n<p>感谢上帝赐予我们食物我们在这个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<p>新的一天,我们一起度过我们在这个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<p>个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<p>个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<p>个激动的时刻我们在这个激动的时刻个激动的时刻我们在这个激动的时刻个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<h2 class=\"wikititle\" id=\"wkth_8746338490190133\">结束</h2>\r\n\r\n<p>感谢上帝赐予我们食物我们在这个激动的时刻我们在这个激动的时刻</p>', '1', 'peadmin', '1', '0');
INSERT INTO `x2_dochistory` VALUES ('2', '1', '我们在这个激动的时刻', '<h1 class="wikititle" id="wkth_1294351948506136">PHPEMS文档</h1>\r\n\r\n<h2 class="wikititle" id="wkth_803404287627765">前言</h2>\r\n\r\n<p>我们在这个激动的时刻</p>\r\n\r\n<p>我们在这个激动的时刻我们在这个激动的时刻我们在这个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<h2 class="wikititle" id="wkth_023280939440204484">中间</h2>\r\n\r\n<p>我们在另外一个激动的时刻</p>\r\n\r\n<h1 class="wikititle" id="wkth_4046807216113053">新的标题</h1>\r\n\r\n<h2 class="wikititle" id="wkth_7787006977782638">导语</h2>\r\n\r\n<p>新的一天,我们一起度过我们在这个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<h2 class="wikititle" id="wkth_8746338490190133">结束</h2>\r\n\r\n<p>感谢上帝赐予我们食物我们在这个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<p>新的一天,我们一起度过我们在这个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<h2 class="wikititle" id="wkth_8746338490190133">结束</h2>\r\n\r\n<p>感谢上帝赐予我们食物我们在这个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<p>新的一天,我们一起度过我们在这个激动的时刻我们在这个激动的时刻感谢上帝赐予我们食物我们在这个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<h2 class="wikititle" id="wkth_7787006977782638">导语</h2>\r\n\r\n<p>新的一天,我们一起度过我们在这个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<h2 class="wikititle" id="wkth_8746338490190133">结束</h2>\r\n\r\n<p>感谢上帝赐予我们食物我们在这个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<p>新的一天,我们一起度过我们在这个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<p>个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<p>个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<p>个激动的时刻我们在这个激动的时刻个激动的时刻我们在这个激动的时刻个激动的时刻我们在这个激动的时刻</p>\r\n\r\n<h2 class="wikititle" id="wkth_8746338490190133">结束</h2>\r\n\r\n<p>感谢上帝赐予我们食物我们在这个激动的时刻我们在这个激动的时刻</p>', '1515943831', 'peadmin', '1', '0');
INSERT INTO `x2_dochistory` VALUES ('6', '2', '背景段落调整', '<p>《1787宪法》是美国1787年制定并于1789年批准生效的美利坚合众国联邦宪法,也是世界上第一部比较完整的资产阶级成文宪法。它奠定了美国政治制度的法律基础,制定后多年来附有27条修正案,迄今继续生效。1787年宪法强调加强国家权利,又在权利结构中突出&ldquo;分权与制衡&rdquo;的原则,以避免权力过于集中,体现了一定的民主精神。其内容是:立法、司法与行政权三权分立。分权制衡的核心精神在于权力平衡。其学说来自洛克和孟德斯鸠等人,美国人把思想、理论转变为行动、实践。政府结构必须能使各部门之间有适当的控制和平衡。使权力为公众福利和正义目的有效行使其管理职能,同时又保持对权力的优良控制,实现公共权力与公民权利的平衡,管理与控权的动态平衡,是分权和制约的归宿。通过分权、制约最终达到平衡,是宪政的最终目标。</p>\r\n\r\n<p style="text-align: center;"><img alt="" src="http://127.0.0.1/phpems/files/attach/files/content/20180114/15159383851238.jpg" /></p>\r\n\r\n<p>1787年宪法不仅对美国的政治和经济的发展有促进作用,而且对当今世界其他很多国家的民主与法制建设都有借鉴意义。</p>\r\n\r\n<h1 class="wikititle" id="wkth_06227281713964983">历程</h1>\r\n\r\n<h2 class="wikititle" id="wkth_16193192912452403">背景</h2>\r\n\r\n<p>美国独立战争后,建立起来邦联制的国家,政治上的松散状态无法形成强有力的中央政府来稳定统治秩序,保护国家的利益与主权。面临既要加强中央集权,又要确保共和制的新问题。</p>\r\n\r\n<p>1786年的谢司起义,使联邦制的统治者迫切要求强化资产阶级权利,完善资产阶级统治制度。</p>\r\n\r\n<h2 class="wikititle" id="wkth_18527449253901063">制定</h2>\r\n\r\n<p>1777年大陆会议制定的并于1781年批准施行的《邦联条例》规定,由当时13个独立州组成邦联制国家。邦联政府的权限很小,不能有效地行使国家职权。鉴此,邦联国会于1787年2月邀请各州代表到费城召开制宪会议,修改《邦联条例》。</p>\r\n\r\n<p>5月召开会议,出席的有12个州(罗得岛州除外)的55名代表,G.华盛顿任主席。主张废除《邦联条例》、重新制定新宪法的代表占优势,使这次会议成了全国制宪会议。出席会议的大都是资产阶级和种植园奴隶主的代表,由于利益不同,大州与小州之间又存在着矛盾。</p>\r\n\r\n<p>经过长时间的秘密讨论,直至1787年9月17日才通过新的宪法草案,交由各州批准。全国围绕新宪法的批准问题展开广泛的激烈讨论。1789年3月4日召开的美国第1届联邦国会宣布《美利坚合众国宪法》正式生效。</p>\r\n\r\n<h1 class="wikititle" id="wkth_8375784936343371">全文</h1>\r\n\r\n<h2 class="wikititle" id="wkth_5916713470541723">英文全文</h2>\r\n\r\n<p>THE CONSTITUTION OF THE UNITED STATES OF AMERICA</p>\r\n\r\n<p>March 4, 1789</p>\r\n\r\n<p>Preamble</p>\r\n\r\n<p>We the people of the United States, in order to form a more perfect union, establish justice, insure domestic tranquility, provide for the common defense, promote the general welfare, and secure the blessings of liberty to ourselves and our posterity, do ordain and establish this Constitution for the United States of America.</p>\r\n\r\n<p>Article I</p>\r\n\r\n<p>Section 1.</p>\r\n\r\n<p>All legislative powers herein granted shall be vested in a Congress of the United States, which shall consist of a Senate and House of Representatives.</p>\r\n\r\n<p>Section 2.</p>\r\n\r\n<p>The House of Representatives shall be composed of members chosen every second year by the people of the several states, and the electors in each state shall have the qualifications requisite for electors of the most numerous branch of the state legislature.</p>\r\n\r\n<p>No person shall be a Representative who shall not have attained to the age of twenty five years, and been seven years a citizen of the United States, and who shall not, when elected, be an inhabitant of that state in which he shall be chosen.</p>\r\n\r\n<p>Representatives and direct taxes shall be apportioned among the several states which may be included within this union, according to their respective numbers, which shall be determined by adding to the whole number of free persons, including those bound to service for a term of years, and excluding Indians not taxed, three fifths of all other Persons. The actual Enumeration shall be made within three years after the first meeting of the Congress of the United States, and within every subsequent term of ten years, in such manner as they shall by law direct. The number of Representatives shall not exceed one for every thirty thousand, but each state shall have at least one Representative; and until such enumeration shall be made, the state of New Hampshire shall be entitled to choose three, Massachusetts eight, Rhode Island and Providence Plantations one, Connecticut five, New York six, New Jersey four, Pennsylvania eight, Delaware one, Maryland six, Virginia ten, North Carolina five, South Carolina five, and Georgia three.</p>\r\n\r\n<p>When vacancies happen in the Representation from any state, the executive authority thereof shall issue writs of election to fill such vacancies.</p>\r\n\r\n<p>The House of Representatives shall choose their speaker and other officers; and shall have the sole power of impeachment.</p>\r\n\r\n<p>Section 3.</p>\r\n\r\n<p>The Senate of the United States shall be composed of two Senators from each state, chosen by the legislature thereof, for six years; and each Senator shall have one vote.Immediately after they shall be assembled in consequence of the first election, they shall be divided as equally as may be into three classes. The seats of the Senators of the first class shall be vacated at the expiration of the second year, of the second class at the expiration of the fourth year, and the third class at the expiration of the sixth year, so that one third may be chosen every second year; and if vacancies happen by resignation, or otherwise, during the recess of the legislature of any state, the executive thereof may make temporary appointments until the next meeting of the legislature, which shall then fill such vacancies.</p>\r\n\r\n<p>No person shall be a Senator who shall not have attained to the age of thirty years, and been nine years a citizen of the United States and who shall not, when elected, be an inhabitant of that state for which he shall be chosen.<br />\r\nThe Vice President of the United States shall be President of the Senate, but shall have no vote, unless they be equally divided.<br />\r\nThe Senate shall choose their other officers, and also a President pro tempore, in the absence of the Vice President, or when he shall exercise the office of President of the United States.</p>\r\n\r\n<p>The Senate shall have the sole power to try all impeachments. When sitting for that purpose, they shall be on oath or affirmation. When the President of the United States is tried, the Chief Justice shall preside: And no person shall be convicted without the concurrence of two thirds of the members present.</p>\r\n\r\n<p>Judgment in cases of impeachment shall not extend further than to removal from office, and disqualification to hold and enjoy any office of honor, trust or profit under the United States: but the party convicted shall nevertheless be liable and subject to indictment, trial, judgment and punishment, according to law.</p>\r\n\r\n<p>Section 4.</p>\r\n\r\n<p>The times, places and manner of holding elections for Senators and Representatives, shall be prescribed in each state by the legislature thereof; but the Congress may at any time by law make or alter such regulations, except as to the places of choosing Senators.</p>\r\n\r\n<p>The Congress shall assemble at least once in every year, and such meeting shall be on the first Monday in December, unless they shall by law appoint a different day.</p>\r\n\r\n<p>Section 5.</p>\r\n\r\n<p>Each House shall be the judge of the elections, returns and qualifications of its own members, and a majority of each shall constitute a quorum to do business; but a smaller number may adjourn from day to day, and may be authorized to compel the attendance of absent members, in such manner, and under such penalties as each House may provide.<br />\r\nEach House may determine the rules of its proceedings, punish its members for disorderly behavior, and, with the concurrence of two thirds, expel a member.</p>\r\n\r\n<p>Each House shall keep a journal of its proceedings, and from time to time publish the same, excepting such parts as may in their judgment require secrecy; and the yeas and nays of the members of either House on any question shall, at the desire of one fifth of those present, be entered on the journal.</p>\r\n\r\n<p>Neither House, during the session of Congress, shall, without the consent of the other, adjourn for more than three days, nor to any other place than that in which the two Houses shall be sitting.</p>\r\n\r\n<p>Section 6.</p>\r\n\r\n<p>The Senators and Representatives shall receive a compensation for their services, to be ascertained by law, and paid out of the treasury of the United States. They shall in all cases, except treason, felony and breach of the peace, be privileged from arrest during their attendance at the session of their respective Houses, and in going to and returning from the same; and for any speech or debate in either House, they shall not be questioned in any other place.</p>\r\n\r\n<p>No Senator or Representative shall, during the time for which he was elected, be appointed to any civil office under the authority of the United States, which shall have been created, or the emoluments whereof shall have been increased during such time; and no person holding any office under the United States, shall be a member of either House during his continuance in office.</p>\r\n\r\n<p>Section 7.</p>\r\n\r\n<p>All bills for raising revenue shall originate in the House of Representatives; but the Senate may propose or concur with amendments as on other Bills.</p>\r\n\r\n<p>Every bill which shall have passed the House of Representatives and the Senate, shall, before it become a law, be presented to the President of the United States; if he approve he shall sign it, but if not he shall return it, with his objections to that House in which it shall have originated, who shall enter the objections at large on their journal, and proceed to reconsider it. If after such reconsideration two thirds of that House shall agree to pass the bill, it shall be sent, together with the objections, to the other House, by which it shall likewise be reconsidered, and if approved by two thirds of that House, it shall become a law. But in all such cases the votes of both Houses shall be determined by yeas and nays, and the names of the persons voting for and against the bill shall be entered on the journal of each House respectively. If any bill shall not be returned by the President within ten days (Sundays excepted) after it shall have been presented to him, the same shall be a law, in like manner as if he had signed it, unless the Congress by their adjournment prevent its return, in which case it shall not be a law.</p>\r\n\r\n<p>Every order, resolution, or vote to which the concurrence of the Senate and House of Representatives may be necessary (except on a question of adjournment) shall be presented to the President of the United States; and before the same shall take effect, shall be approved by him, or being disapproved by him, shall be repassed by two thirds of the Senate and House of Representatives, according to the rules and limitations prescribed in the case of a bill.</p>\r\n\r\n<p>Section 8.</p>\r\n\r\n<p>The Congress shall have power to lay and collect taxes, duties, imposts and excises, to pay the debts and provide for the common defense and general welfare of the United States; but all duties, imposts and excises shall be uniform throughout the United States;</p>\r\n\r\n<p>To borrow money on the credit of the United States;</p>\r\n\r\n<p>To regulate commerce with foreign nations, and among the several states, and with the Indian tribes;</p>\r\n\r\n<p>To establish a uniform rule of naturalization, and uniform laws on the subject of bankruptcies throughout the United States;</p>\r\n\r\n<p>To coin money, regulate the value thereof, and of foreign coin, and fix the standard of weights and measures;</p>\r\n\r\n<p>To provide for the punishment of counterfeiting the securities and current coin of the United States;</p>\r\n\r\n<p>To establish post offices and post roads;</p>\r\n\r\n<p>To promote the progress of science and useful arts, by securing for limited times to authors and inventors the exclusive right to their respective writings and discoveries;</p>\r\n\r\n<p>To constitute tribunals inferior to the Supreme Court;</p>\r\n\r\n<p>To define and punish piracies and felonies committed on the high seas, and offenses against the law of nations;</p>\r\n\r\n<p>To declare war, grant letters of marque and reprisal, and make rules concerning captures on land and water;</p>\r\n\r\n<p>To raise and support armies, but no appropriation of money to that use shall be for a longer term than two years;</p>\r\n\r\n<p>To provide and maintain a navy;</p>\r\n\r\n<p>To make rules for the government and regulation of the land and naval forces;</p>\r\n\r\n<p>To provide for calling forth the militia to execute the laws of the union, suppress insurrections and repel invasions;</p>\r\n\r\n<p>To provide for organizing, arming, and disciplining, the militia, and for governing such part of them as may be employed in the service of the United States, reserving to the states respectively, the appointment of the officers, and the authority of training the militia according to the discipline prescribed by Congress;</p>\r\n\r\n<p>To exercise exclusive legislation in all cases whatsoever, over such District (not exceeding ten miles square) as may, by cession of particular states, and the acceptance of Congress, become the seat of the government of the United States, and to exercise like authority over all places purchased by the consent of the legislature of the state in which the same shall be, for the erection of forts, magazines, arsenals, dockyards, and other needful buildings;</p>\r\n\r\n<p>To make all laws which shall be necessary and proper for carrying into execution the foregoing powers, and all other powers vested by this Constitution in the government of the United States, or in any department or officer thereof.</p>\r\n\r\n<p>Section 9.</p>\r\n\r\n<p>The migration or importation of such persons as any of the states now existing shall think proper to admit, shall not be prohibited by the Congress prior to the year one thousand eight hundred and eight, but a tax or duty may be imposed on such importation, not exceeding ten dollars for each person.</p>\r\n\r\n<p>The privilege of the writ of habeas corpus shall not be suspended, unless when in cases of rebellion or invasion the public safety may require it.</p>\r\n\r\n<p>No bill of attainder or ex post facto Law shall be passed.</p>\r\n\r\n<p>No capitation, or other direct, tax shall be laid, unless in proportion to the census or enumeration herein before directed to be taken.</p>\r\n\r\n<p>No tax or duty shall be laid on articles exported from any state.</p>\r\n\r\n<p>No preference shall be given by any regulation of commerce or revenue to the ports of one state over those of another: nor shall vessels bound to, or from, one state, be obliged to enter, clear or pay duties in another.</p>\r\n\r\n<p>No money shall be drawn from the treasury, but in consequence of appropriations made by law; and a regular statement and account of receipts and expenditures of all public money shall be published from time to time.</p>\r\n\r\n<p>No title of nobility shall be granted by the United States: and no person holding any office of profit or trust under them, shall, without the consent of the Congress, accept of any present, emolument, office, or title, of any kind whatever, from any king, prince, or foreign state.</p>\r\n\r\n<p>Section 10.</p>\r\n\r\n<p>No state shall enter into any treaty, alliance, or confederation; grant letters of marque and reprisal; coin money; emit bills of credit; make anything but gold and silver coin a tender in payment of debts; pass any bill of attainder, ex post facto law, or law impairing the obligation of contracts, or grant any title of nobility.</p>\r\n\r\n<p>No state shall, without the consent of the Congress, lay any imposts or duties on imports or exports, except what may be absolutely necessary for executing it s inspection laws: and the net produce of all duties and imposts, laid by any state on imports or exports, shall be for the use of the treasury of the United States; and all such laws shall be subject to the revision and control of the Congress.</p>\r\n\r\n<p>No state shall, without the consent of Congress, lay any duty of tonnage, keep troops, or ships of war in time of peace, enter into any agreement or compact with another state, or with a foreign power, or engage in war, unless actually invaded, or in such imminent danger as will not admit of delay.</p>\r\n\r\n<p>Article II</p>\r\n\r\n<p>Section 1.</p>\r\n\r\n<p>The executive power shall be vested in a President of the United States of America. He shall hold his office during the term of four years, and, together with the Vice President, chosen for the same term, be elected, as follows:</p>\r\n\r\n<p>Each state shall appoint, in such manner as the Legislature thereof may direct, a number of electors, equal to the whole number of Senators and Representatives to which the State may be entitled in the Congress: but no Senator or Representative, or person holding an office of trust or profit under the United States, shall be appointed an elector.</p>\r\n\r\n<p>The electors shall meet in their respective states, and vote by ballot for two persons, of whom one at least shall not be an inhabitant of the same state with themselves. And they shall make a list of all the persons voted for, and of the number of votes for each; which list they shall sign and certify, and transmit sealed to the seat of the government of the United States, directed to the President of the Senate. The President of the Senate shall, in the presence of the Senate and House of Representatives, open all the certificates, and the votes shall then be counted. The person having the greatest number of votes shall be the President, if such number be a majority of the whole number of electors appointed; and if there be more than one who have such majority, and have an equal number of votes, then the House of Representatives shall immediately choose by ballot one of them for President; and if no person have a majority, then from the five highest on the list the said House shall in like manner choose the President. But in choosing the President, the votes shall be taken by States, the representation from each state having one vote; A quorum for this purpose shall consist of a member or members from two thirds of the states, and a majority of all the states shall be necessary to a choice. In every case, after the choice of the President, the person having the greatest number of votes of the electors shall be the Vice President. But if there should remain two or more who have equal votes, the Senate shall choose from them by ballot the Vice President.</p>\r\n\r\n<p>The Congress may determine the time of choosing the electors, and the day on which they shall give their votes; which day shall be the same throughout the United States.</p>\r\n\r\n<p>No person except a natural born citizen, or a citizen of the United States, at the time of the adoption of this Constitution, shall be eligible to the office of President; neither shall any person be eligible to that office who shall not have attained to the age of thirty five years, and been fourteen Years a resident within the United States.</p>\r\n\r\n<p>In case of the removal of the President from office, or of his death, resignation, or inability to discharge the powers and duties of the said office, the same shall devolve on the Vice President, and the Congress may by law provide for the case of removal, death, resignation or inability, both of the President and Vice President, declaring what officer shall then act as President, and such officer shall act accordingly, until the disability be removed, or a President shall be elected.</p>\r\n\r\n<p>The President shall, at stated times, receive for his services, a compensation, which shall neither be increased nor diminished during the period for which he shall have been elected, and he shall not receive within that period any other emolument from the United States, or any of them.</p>\r\n\r\n<p>Before he enter on the execution of his office, he shall take the following oath or affirmation:--&quot;I do solemnly swear (or affirm) that I will faithfully execute the office of President of the United States, and will to the best of my ability, preserve, protect and defend the Constitution of the United States.&quot;</p>\r\n\r\n<p>Section 2.</p>\r\n\r\n<p>The President shall be commander in chief of the Army and Navy of the United States, and of the militia of the several states, when called into the actual service of the United States; he may require the opinion, in writing, of the principal officer in each of the executive departments, upon any subject relating to the duties of their respective offices, and he shall have power to grant reprieves and pardons for offenses against the United States, except in cases of impeachment.</p>\r\n\r\n<p>He shall have power, by and with the advice and consent of the Senate, to make treaties, provided two thirds of the Senators present concur; and he shall nominate, and by and with the advice and consent of the Senate, shall appoint ambassadors, other public ministers and consuls, judges of the Supreme Court, and all other officers of the United States, whose appointments are not herein otherwise provided for, and which shall be established by law: but the Congress may by law vest the appointment of such inferior officers, as they think proper, in the President alone, in the courts of law, or in the heads of departments.</p>\r\n\r\n<p>The President shall have power to fill up all vacancies that may happen during the recess of the Senate, by granting commissions which shall expire at the end of their next session.</p>\r\n\r\n<p>Section 3.</p>\r\n\r\n<p>He shall from time to time give to the Congress information of the state of the union, and recommend to their consideration such measures as he shall judge necessary and expedient; he may, on extraordinary occasions, convene both Houses, or either of them, and in case of disagreement between them, with respect to the time of adjournment, he may adjourn them to such time as he shall think proper; he shall receive ambassadors and other public ministers; he shall take care that the laws be faithfully executed, and shall commission all the officers of the United States.</p>\r\n\r\n<p>Section 4.</p>\r\n\r\n<p>The President, Vice President and all civil officers of the United States, shall be removed from office on impeachment for, and conviction of, treason, bribery, or other high crimes and misdemeanors.</p>\r\n\r\n<p>Article III</p>\r\n\r\n<p>Section 1.</p>\r\n\r\n<p>The judicial power of the United States, shall be vested in one Supreme Court, and in such inferior courts as the Congress may from time to time ordain and establish. The judges, both of the supreme and inferior courts, shall hold their offices during good behaviour, and shall, at stated times, receive for their services, a compensation, which shall not be diminished during their continuance in office.</p>\r\n\r\n<p>Section 2.</p>\r\n\r\n<p>The judicial power shall extend to all cases, in law and equity, arising under this Constitution, the laws of the United States, and treaties made, or which shall be made, under their authority;--to all cases affecting ambassadors, other public ministers and consuls;--to all cases of admiralty and maritime jurisdiction;--to controversies to which the United States shall be a party;--to controversies between two or more states;--between a state and citizens of another state;--between citizens of different states;--between citizens of the same state claiming lands under grants of different states, and between a state, or the citizens thereof, and foreign states, citizens or subjects.</p>\r\n\r\n<p>In all cases affecting ambassadors, other public ministers and consuls, and those in which a state shall be party, the Supreme Court shall have original jurisdiction. In all the other cases before mentioned, the Supreme Court shall have appellate jurisdiction, both as to law and fact, with such exceptions, and under such regulations as the Congress shall make.<br />\r\nThe trial of all crimes, except in cases of impeachment, shall be by jury; and such trial shall be held in the state where the said crimes shall have been committed; but when not committed within any state, the trial shall be at such place or places as the Congress may by law have directed.</p>\r\n\r\n<p>Section 3.</p>\r\n\r\n<p>Treason against the United States, shall consist only in levying war against them, or in adhering to their enemies, giving them aid and comfort. No person shall be convicted of treason unless on the testimony of two witnesses to the same overt act, or on confession in open court.</p>\r\n\r\n<p>The Congress shall have power to declare the punishment of treason, but no attainder of treason shall work corruption of blood, or forfeiture except during the life of the person attainted.</p>\r\n\r\n<p>Article IV</p>\r\n\r\n<p>Section 1.</p>\r\n\r\n<p>Full faith and credit shall be given in each state to the public acts, records, and judicial proceedings of every other state. And the Congress may by general laws prescribe the manner in which such acts, records, and proceedings shall be proved, and the effect thereof.</p>\r\n\r\n<p>Section 2.</p>\r\n\r\n<p>The citizens of each state shall be entitled to all privileges and immunities of citizens in the several states.</p>\r\n\r\n<p>A person charged in any state with treason, felony, or other crime, who shall flee from justice, and be found in another state, shall on demand of the executive authority of the state from which he fled, be delivered up, to be removed to the state having jurisdiction of the crime.</p>\r\n\r\n<p>No person held to service or labor in one state, under the laws thereof, escaping into another, shall, in consequence of any law or regulation therein, be discharged from such service or labor, but shall be delivered up on claim of the party to whom such service or labor may be due.</p>\r\n\r\n<p>Section 3.</p>\r\n\r\n<p>New states may be admitted by the Congress into this union; but no new states shall be formed or erected within the jurisdiction of any other state; nor any state be formed by the junction of two or more states, or parts of states, without the consent of the legislatures of the states concerned as well as of the Congress.</p>\r\n\r\n<p>The Congress shall have power to dispose of and make all needful rules and regulations respecting the territory or other property belonging to the United States; and nothing in this Constitution shall be so construed as to prejudice any claims of the United States, or of any particular state.</p>\r\n\r\n<p>Section 4.</p>\r\n\r\n<p>The United States shall guarantee to every state in this union a republican form of government, and shall protect each of them against invasion; and on application of the legislature, or of the executive (when the legislature cannot be convened) against domestic violence.</p>\r\n\r\n<p>Article V</p>\r\n\r\n<p>The Congress, whenever two thirds of both houses shall deem it necessary, shall propose amendments to this Constitution, or, on the application of the legislatures of two thirds of the several states, shall call a convention for proposing amendments, which, in either case, shall be valid to all intents and purposes, as part of this Constitution, when ratified by the legislatures of three fourths of the several states, or by conventions in three fourths thereof, as the one or the other mode of ratification may be proposed by the Congress; provided that no amendment which may be made prior to the year one thousand eight hundred and eight shall in any manner affect the first and fourth clauses in the ninth section of the first article; and that no state, without its consent, shall be deprived of its equal suffrage in the Senate.</p>\r\n\r\n<p>Article VI</p>\r\n\r\n<p>All debts contracted and engagements entered into, before the adoption of this Constitution, shall be as valid against the United States under this Constitution, as under the Confederation.</p>\r\n\r\n<p>This Constitution, and the laws of the United States which shall be made in pursuance thereof; and all treaties made, or which shall be made, under the authority of the United States, shall be the supreme law of the land; and the judges in every state shall be bound thereby, anything in the Constitution or laws of any State to the contrary notwithstanding.</p>\r\n\r\n<p>The Senators and Representatives before mentioned, and the members of the several state legislatures, and all executive and judicial officers, both of the United States and of the several states, shall be bound by oath or affirmation, to support this Constitution; but no religious test shall ever be required as a qualification to any office or public trust under the United States.</p>\r\n\r\n<p>Article VII</p>\r\n\r\n<p>The ratification of the conventions of nine states, shall be sufficient for the establishment of this Constitution between the states so ratifying the same.</p>\r\n\r\n<p>Done in convention by the unanimous consent of the states present the seventeenth day of September in the year of our Lord one thousand seven hundred and eighty seven and of the independence of the United States of America the twelfth.In witness whereof We have hereunto subscribed our Names,</p>\r\n\r\n<p><NAME>-Presidt. and deputy from Virginia</p>\r\n\r\n<p>New Hampshire: <NAME>, <NAME></p>\r\n\r\n<p>Massachusetts: <NAME>, Rufus King</p>\r\n\r\n<p>Connecticut: Wm: <NAME>, <NAME></p>\r\n\r\n<p>New York: <NAME>ton</p>\r\n\r\n<p>New Jersey: Wil: Livingston, <NAME>, Wm. Paterson, Jona: Dayton</p>\r\n\r\n<p>Pennsylvania: <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME></p>\r\n\r\n<p>Delaware: Geo: Read, Gunning Bedford jun, <NAME>, <NAME>, Jaco: Broom</p>\r\n\r\n<p>Maryland: <NAME>, <NAME> Thos. Jenifer, <NAME></p>\r\n\r\n<p>Virginia: <NAME>, <NAME> Jr.</p>\r\n\r\n<p>North Carolina: Wm. Blount, <NAME>, <NAME></p>\r\n\r\n<p>South Carolina: <NAME>, <NAME>, <NAME>, <NAME></p>\r\n\r\n<p>Georgia: <NAME>, Abr Baldwin</p>', '1515944357', 'peadmin', '1', '0');
INSERT INTO `x2_dochistory` VALUES ('4', '2', '历史意义不再作为单独项目列出', '<p>《1787宪法》是美国1787年制定并于1789年批准生效的美利坚合众国联邦宪法,也是世界上第一部比较完整的资产阶级成文宪法。它奠定了美国政治制度的法律基础,制定后多年来附有27条修正案,迄今继续生效。1787年宪法强调加强国家权利,又在权利结构中突出&ldquo;分权与制衡&rdquo;的原则,以避免权力过于集中,体现了一定的民主精神。其内容是:立法、司法与行政权三权分立。分权制衡的核心精神在于权力平衡。其学说来自洛克和孟德斯鸠等人,美国人把思想、理论转变为行动、实践。政府结构必须能使各部门之间有适当的控制和平衡。使权力为公众福利和正义目的有效行使其管理职能,同时又保持对权力的优良控制,实现公共权力与公民权利的平衡,管理与控权的动态平衡,是分权和制约的归宿。通过分权、制约最终达到平衡,是宪政的最终目标。</p>\r\n\r\n<p>1787年宪法不仅对美国的政治和经济的发展有促进作用,而且对当今世界其他很多国家的民主与法制建设都有借鉴意义。</p>\r\n\r\n<h1 class="wikititle" id="wkth_06227281713964983">历程</h1>\r\n\r\n<h2 class="wikititle" id="wkth_16193192912452403">背景</h2>\r\n\r\n<p>美国独立战争后,建立起来邦联制的国家,政治上的松散状态无法形成强有力的中央政府来稳定统治秩序,保护国家的利益与主权。<br />\r\n面临既要加强中央集权,又要确保共和制的新问题。</p>\r\n\r\n<p>1786年的谢司起义,使联邦制的统治者迫切要求强化资产阶级权利,完善资产阶级统治制度。</p>\r\n\r\n<h2 class="wikititle" id="wkth_18527449253901063">制定</h2>\r\n\r\n<p>1777年大陆会议制定的并于1781年批准施行的《邦联条例》规定,由当时13个独立州组成邦联制国家。邦联政府的权限很小,不能有效地行使国家职权。鉴此,邦联国会于1787年2月邀请各州代表到费城召开制宪会议,修改《邦联条例》。</p>\r\n\r\n<p>5月召开会议,出席的有12个州(罗得岛州除外)的55名代表,G.华盛顿任主席。主张废除《邦联条例》、重新制定新宪法的代表占优势,使这次会议成了全国制宪会议。出席会议的大都是资产阶级和种植园奴隶主的代表,由于利益不同,大州与小州之间又存在着矛盾。</p>\r\n\r\n<p>经过长时间的秘密讨论,直至1787年9月17日才通过新的宪法草案,交由各州批准。全国围绕新宪法的批准问题展开广泛的激烈讨论。1789年3月4日召开的美国第1届联邦国会宣布《美利坚合众国宪法》正式生效。</p>\r\n\r\n<h1 class="wikititle" id="wkth_8375784936343371">全文</h1>\r\n\r\n<h2 class="wikititle" id="wkth_5916713470541723">英文全文</h2>\r\n\r\n<p>THE CONSTITUTION OF THE UNITED STATES OF AMERICA</p>\r\n\r\n<p>March 4, 1789</p>\r\n\r\n<p>Preamble</p>\r\n\r\n<p>We the people of the United States, in order to form a more perfect union, establish justice, insure domestic tranquility, provide for the common defense, promote the general welfare, and secure the blessings of liberty to ourselves and our posterity, do ordain and establish this Constitution for the United States of America.</p>\r\n\r\n<p>Article I</p>\r\n\r\n<p>Section 1.</p>\r\n\r\n<p>All legislative powers herein granted shall be vested in a Congress of the United States, which shall consist of a Senate and House of Representatives.</p>\r\n\r\n<p>Section 2.</p>\r\n\r\n<p>The House of Representatives shall be composed of members chosen every second year by the people of the several states, and the electors in each state shall have the qualifications requisite for electors of the most numerous branch of the state legislature.</p>\r\n\r\n<p>No person shall be a Representative who shall not have attained to the age of twenty five years, and been seven years a citizen of the United States, and who shall not, when elected, be an inhabitant of that state in which he shall be chosen.</p>\r\n\r\n<p>Representatives and direct taxes shall be apportioned among the several states which may be included within this union, according to their respective numbers, which shall be determined by adding to the whole number of free persons, including those bound to service for a term of years, and excluding Indians not taxed, three fifths of all other Persons. The actual Enumeration shall be made within three years after the first meeting of the Congress of the United States, and within every subsequent term of ten years, in such manner as they shall by law direct. The number of Representatives shall not exceed one for every thirty thousand, but each state shall have at least one Representative; and until such enumeration shall be made, the state of New Hampshire shall be entitled to choose three, Massachusetts eight, Rhode Island and Providence Plantations one, Connecticut five, New York six, New Jersey four, Pennsylvania eight, Delaware one, Maryland six, Virginia ten, North Carolina five, South Carolina five, and Georgia three.</p>\r\n\r\n<p>When vacancies happen in the Representation from any state, the executive authority thereof shall issue writs of election to fill such vacancies.</p>\r\n\r\n<p>The House of Representatives shall choose their speaker and other officers; and shall have the sole power of impeachment.<br />\r\nSection 3. The Senate of the United States shall be composed of two Senators from each state, chosen by the legislature thereof, for six years; and each Senator shall have one vote.Immediately after they shall be assembled in consequence of the first election, they shall be divided as equally as may be into three classes. The seats of the Senators of the first class shall be vacated at the expiration of the second year, of the second class at the expiration of the fourth year, and the third class at the expiration of the sixth year, so that one third may be chosen every second year; and if vacancies happen by resignation, or otherwise, during the recess of the legislature of any state, the executive thereof may make temporary appointments until the next meeting of the legislature, which shall then fill such vacancies.</p>\r\n\r\n<p>No person shall be a Senator who shall not have attained to the age of thirty years, and been nine years a citizen of the United States and who shall not, when elected, be an inhabitant of that state for which he shall be chosen.<br />\r\nThe Vice President of the United States shall be President of the Senate, but shall have no vote, unless they be equally divided.<br />\r\nThe Senate shall choose their other officers, and also a President pro tempore, in the absence of the Vice President, or when he shall exercise the office of President of the United States.</p>\r\n\r\n<p>The Senate shall have the sole power to try all impeachments. When sitting for that purpose, they shall be on oath or affirmation. When the President of the United States is tried, the Chief Justice shall preside: And no person shall be convicted without the concurrence of two thirds of the members present.</p>\r\n\r\n<p>Judgment in cases of impeachment shall not extend further than to removal from office, and disqualification to hold and enjoy any office of honor, trust or profit under the United States: but the party convicted shall nevertheless be liable and subject to indictment, trial, judgment and punishment, according to law.</p>\r\n\r\n<p>Section 4.</p>\r\n\r\n<p>The times, places and manner of holding elections for Senators and Representatives, shall be prescribed in each state by the legislature thereof; but the Congress may at any time by law make or alter such regulations, except as to the places of choosing Senators.</p>\r\n\r\n<p>The Congress shall assemble at least once in every year, and such meeting shall be on the first Monday in December, unless they shall by law appoint a different day.</p>\r\n\r\n<p>Section 5.</p>\r\n\r\n<p>Each House shall be the judge of the elections, returns and qualifications of its own members, and a majority of each shall constitute a quorum to do business; but a smaller number may adjourn from day to day, and may be authorized to compel the attendance of absent members, in such manner, and under such penalties as each House may provide.<br />\r\nEach House may determine the rules of its proceedings, punish its members for disorderly behavior, and, with the concurrence of two thirds, expel a member.</p>\r\n\r\n<p>Each House shall keep a journal of its proceedings, and from time to time publish the same, excepting such parts as may in their judgment require secrecy; and the yeas and nays of the members of either House on any question shall, at the desire of one fifth of those present, be entered on the journal.</p>\r\n\r\n<p>Neither House, during the session of Congress, shall, without the consent of the other, adjourn for more than three days, nor to any other place than that in which the two Houses shall be sitting.</p>\r\n\r\n<p>Section 6.</p>\r\n\r\n<p>The Senators and Representatives shall receive a compensation for their services, to be ascertained by law, and paid out of the treasury of the United States. They shall in all cases, except treason, felony and breach of the peace, be privileged from arrest during their attendance at the session of their respective Houses, and in going to and returning from the same; and for any speech or debate in either House, they shall not be questioned in any other place.</p>\r\n\r\n<p>No Senator or Representative shall, during the time for which he was elected, be appointed to any civil office under the authority of the United States, which shall have been created, or the emoluments whereof shall have been increased during such time; and no person holding any office under the United States, shall be a member of either House during his continuance in office.</p>\r\n\r\n<p>Section 7.</p>\r\n\r\n<p>All bills for raising revenue shall originate in the House of Representatives; but the Senate may propose or concur with amendments as on other Bills.</p>\r\n\r\n<p>Every bill which shall have passed the House of Representatives and the Senate, shall, before it become a law, be presented to the President of the United States; if he approve he shall sign it, but if not he shall return it, with his objections to that House in which it shall have originated, who shall enter the objections at large on their journal, and proceed to reconsider it. If after such reconsideration two thirds of that House shall agree to pass the bill, it shall be sent, together with the objections, to the other House, by which it shall likewise be reconsidered, and if approved by two thirds of that House, it shall become a law. But in all such cases the votes of both Houses shall be determined by yeas and nays, and the names of the persons voting for and against the bill shall be entered on the journal of each House respectively. If any bill shall not be returned by the President within ten days (Sundays excepted) after it shall have been presented to him, the same shall be a law, in like manner as if he had signed it, unless the Congress by their adjournment prevent its return, in which case it shall not be a law.</p>\r\n\r\n<p>Every order, resolution, or vote to which the concurrence of the Senate and House of Representatives may be necessary (except on a question of adjournment) shall be presented to the President of the United States; and before the same shall take effect, shall be approved by him, or being disapproved by him, shall be repassed by two thirds of the Senate and House of Representatives, according to the rules and limitations prescribed in the case of a bill.</p>\r\n\r\n<p>Section 8.</p>\r\n\r\n<p>The Congress shall have power to lay and collect taxes, duties, imposts and excises, to pay the debts and provide for the common defense and general welfare of the United States; but all duties, imposts and excises shall be uniform throughout the United States;</p>\r\n\r\n<p>To borrow money on the credit of the United States;</p>\r\n\r\n<p>To regulate commerce with foreign nations, and among the several states, and with the Indian tribes;</p>\r\n\r\n<p>To establish a uniform rule of naturalization, and uniform laws on the subject of bankruptcies throughout the United States;</p>\r\n\r\n<p>To coin money, regulate the value thereof, and of foreign coin, and fix the standard of weights and measures;</p>\r\n\r\n<p>To provide for the punishment of counterfeiting the securities and current coin of the United States;</p>\r\n\r\n<p>To establish post offices and post roads;</p>\r\n\r\n<p>To promote the progress of science and useful arts, by securing for limited times to authors and inventors the exclusive right to their respective writings and discoveries;</p>\r\n\r\n<p>To constitute tribunals inferior to the Supreme Court;</p>\r\n\r\n<p>To define and punish piracies and felonies committed on the high seas, and offenses against the law of nations;</p>\r\n\r\n<p>To declare war, grant letters of marque and reprisal, and make rules concerning captures on land and water;</p>\r\n\r\n<p>To raise and support armies, but no appropriation of money to that use shall be for a longer term than two years;</p>\r\n\r\n<p>To provide and maintain a navy;</p>\r\n\r\n<p>To make rules for the government and regulation of the land and naval forces;</p>\r\n\r\n<p>To provide for calling forth the militia to execute the laws of the union, suppress insurrections and repel invasions;</p>\r\n\r\n<p>To provide for organizing, arming, and disciplining, the militia, and for governing such part of them as may be employed in the service of the United States, reserving to the states respectively, the appointment of the officers, and the authority of training the militia according to the discipline prescribed by Congress;</p>\r\n\r\n<p>To exercise exclusive legislation in all cases whatsoever, over such District (not exceeding ten miles square) as may, by cession of particular states, and the acceptance of Congress, become the seat of the government of the United States, and to exercise like authority over all places purchased by the consent of the legislature of the state in which the same shall be, for the erection of forts, magazines, arsenals, dockyards, and other needful buildings;</p>\r\n\r\n<p>To make all laws which shall be necessary and proper for carrying into execution the foregoing powers, and all other powers vested by this Constitution in the government of the United States, or in any department or officer thereof.</p>\r\n\r\n<p>Section 9.</p>\r\n\r\n<p>The migration or importation of such persons as any of the states now existing shall think proper to admit, shall not be prohibited by the Congress prior to the year one thousand eight hundred and eight, but a tax or duty may be imposed on such importation, not exceeding ten dollars for each person.</p>\r\n\r\n<p>The privilege of the writ of habeas corpus shall not be suspended, unless when in cases of rebellion or invasion the public safety may require it.</p>\r\n\r\n<p>No bill of attainder or ex post facto Law shall be passed.</p>\r\n\r\n<p>No capitation, or other direct, tax shall be laid, unless in proportion to the census or enumeration herein before directed to be taken.</p>\r\n\r\n<p>No tax or duty shall be laid on articles exported from any state.</p>\r\n\r\n<p>No preference shall be given by any regulation of commerce or revenue to the ports of one state over those of another: nor shall vessels bound to, or from, one state, be obliged to enter, clear or pay duties in another.</p>\r\n\r\n<p>No money shall be drawn from the treasury, but in consequence of appropriations made by law; and a regular statement and account of receipts and expenditures of all public money shall be published from time to time.</p>\r\n\r\n<p>No title of nobility shall be granted by the United States: and no person holding any office of profit or trust under them, shall, without the consent of the Congress, accept of any present, emolument, office, or title, of any kind whatever, from any king, prince, or foreign state.</p>\r\n\r\n<p>Section 10.</p>\r\n\r\n<p>No state shall enter into any treaty, alliance, or confederation; grant letters of marque and reprisal; coin money; emit bills of credit; make anything but gold and silver coin a tender in payment of debts; pass any bill of attainder, ex post facto law, or law impairing the obligation of contracts, or grant any title of nobility.</p>\r\n\r\n<p>No state shall, without the consent of the Congress, lay any imposts or duties on imports or exports, except what may be absolutely necessary for executing it s inspection laws: and the net produce of all duties and imposts, laid by any state on imports or exports, shall be for the use of the treasury of the United States; and all such laws shall be subject to the revision and control of the Congress.</p>\r\n\r\n<p>No state shall, without the consent of Congress, lay any duty of tonnage, keep troops, or ships of war in time of peace, enter into any agreement or compact with another state, or with a foreign power, or engage in war, unless actually invaded, or in such imminent danger as will not admit of delay.</p>\r\n\r\n<p>Article II</p>\r\n\r\n<p>Section 1.</p>\r\n\r\n<p>The executive power shall be vested in a President of the United States of America. He shall hold his office during the term of four years, and, together with the Vice President, chosen for the same term, be elected, as follows:</p>\r\n\r\n<p>Each state shall appoint, in such manner as the Legislature thereof may direct, a number of electors, equal to the whole number of Senators and Representatives to which the State may be entitled in the Congress: but no Senator or Representative, or person holding an office of trust or profit under the United States, shall be appointed an elector.</p>\r\n\r\n<p>The electors shall meet in their respective states, and vote by ballot for two persons, of whom one at least shall not be an inhabitant of the same state with themselves. And they shall make a list of all the persons voted for, and of the number of votes for each; which list they shall sign and certify, and transmit sealed to the seat of the government of the United States, directed to the President of the Senate. The President of the Senate shall, in the presence of the Senate and House of Representatives, open all the certificates, and the votes shall then be counted. The person having the greatest number of votes shall be the President, if such number be a majority of the whole number of electors appointed; and if there be more than one who have such majority, and have an equal number of votes, then the House of Representatives shall immediately choose by ballot one of them for President; and if no person have a majority, then from the five highest on the list the said House shall in like manner choose the President. But in choosing the President, the votes shall be taken by States, the representation from each state having one vote; A quorum for this purpose shall consist of a member or members from two thirds of the states, and a majority of all the states shall be necessary to a choice. In every case, after the choice of the President, the person having the greatest number of votes of the electors shall be the Vice President. But if there should remain two or more who have equal votes, the Senate shall choose from them by ballot the Vice President.</p>\r\n\r\n<p>The Congress may determine the time of choosing the electors, and the day on which they shall give their votes; which day shall be the same throughout the United States.</p>\r\n\r\n<p>No person except a natural born citizen, or a citizen of the United States, at the time of the adoption of this Constitution, shall be eligible to the office of President; neither shall any person be eligible to that office who shall not have attained to the age of thirty five years, and been fourteen Years a resident within the United States.</p>\r\n\r\n<p>In case of the removal of the President from office, or of his death, resignation, or inability to discharge the powers and duties of the said office, the same shall devolve on the Vice President, and the Congress may by law provide for the case of removal, death, resignation or inability, both of the President and Vice President, declaring what officer shall then act as President, and such officer shall act accordingly, until the disability be removed, or a President shall be elected.</p>\r\n\r\n<p>The President shall, at stated times, receive for his services, a compensation, which shall neither be increased nor diminished during the period for which he shall have been elected, and he shall not receive within that period any other emolument from the United States, or any of them.</p>\r\n\r\n<p>Before he enter on the execution of his office, he shall take the following oath or affirmation:--&quot;I do solemnly swear (or affirm) that I will faithfully execute the office of President of the United States, and will to the best of my ability, preserve, protect and defend the Constitution of the United States.&quot;</p>\r\n\r\n<p>Section 2.</p>\r\n\r\n<p>The President shall be commander in chief of the Army and Navy of the United States, and of the militia of the several states, when called into the actual service of the United States; he may require the opinion, in writing, of the principal officer in each of the executive departments, upon any subject relating to the duties of their respective offices, and he shall have power to grant reprieves and pardons for offenses against the United States, except in cases of impeachment.</p>\r\n\r\n<p>He shall have power, by and with the advice and consent of the Senate, to make treaties, provided two thirds of the Senators present concur; and he shall nominate, and by and with the advice and consent of the Senate, shall appoint ambassadors, other public ministers and consuls, judges of the Supreme Court, and all other officers of the United States, whose appointments are not herein otherwise provided for, and which shall be established by law: but the Congress may by law vest the appointment of such inferior officers, as they think proper, in the President alone, in the courts of law, or in the heads of departments.</p>\r\n\r\n<p>The President shall have power to fill up all vacancies that may happen during the recess of the Senate, by granting commissions which shall expire at the end of their next session.</p>\r\n\r\n<p>Section 3.</p>\r\n\r\n<p>He shall from time to time give to the Congress information of the state of the union, and recommend to their consideration such measures as he shall judge necessary and expedient; he may, on extraordinary occasions, convene both Houses, or either of them, and in case of disagreement between them, with respect to the time of adjournment, he may adjourn them to such time as he shall think proper; he shall receive ambassadors and other public ministers; he shall take care that the laws be faithfully executed, and shall commission all the officers of the United States.</p>\r\n\r\n<p>Section 4.</p>\r\n\r\n<p>The President, Vice President and all civil officers of the United States, shall be removed from office on impeachment for, and conviction of, treason, bribery, or other high crimes and misdemeanors.</p>\r\n\r\n<p>Article III</p>\r\n\r\n<p>Section 1.</p>\r\n\r\n<p>The judicial power of the United States, shall be vested in one Supreme Court, and in such inferior courts as the Congress may from time to time ordain and establish. The judges, both of the supreme and inferior courts, shall hold their offices during good behaviour, and shall, at stated times, receive for their services, a compensation, which shall not be diminished during their continuance in office.</p>\r\n\r\n<p>Section 2.</p>\r\n\r\n<p>The judicial power shall extend to all cases, in law and equity, arising under this Constitution, the laws of the United States, and treaties made, or which shall be made, under their authority;--to all cases affecting ambassadors, other public ministers and consuls;--to all cases of admiralty and maritime jurisdiction;--to controversies to which the United States shall be a party;--to controversies between two or more states;--between a state and citizens of another state;--between citizens of different states;--between citizens of the same state claiming lands under grants of different states, and between a state, or the citizens thereof, and foreign states, citizens or subjects.</p>\r\n\r\n<p>In all cases affecting ambassadors, other public ministers and consuls, and those in which a state shall be party, the Supreme Court shall have original jurisdiction. In all the other cases before mentioned, the Supreme Court shall have appellate jurisdiction, both as to law and fact, with such exceptions, and under such regulations as the Congress shall make.<br />\r\nThe trial of all crimes, except in cases of impeachment, shall be by jury; and such trial shall be held in the state where the said crimes shall have been committed; but when not committed within any state, the trial shall be at such place or places as the Congress may by law have directed.</p>\r\n\r\n<p>Section 3.</p>\r\n\r\n<p>Treason against the United States, shall consist only in levying war against them, or in adhering to their enemies, giving them aid and comfort. No person shall be convicted of treason unless on the testimony of two witnesses to the same overt act, or on confession in open court.</p>\r\n\r\n<p>The Congress shall have power to declare the punishment of treason, but no attainder of treason shall work corruption of blood, or forfeiture except during the life of the person attainted.</p>\r\n\r\n<p>Article IV</p>\r\n\r\n<p>Section 1.</p>\r\n\r\n<p>Full faith and credit shall be given in each state to the public acts, records, and judicial proceedings of every other state. And the Congress may by general laws prescribe the manner in which such acts, records, and proceedings shall be proved, and the effect thereof.</p>\r\n\r\n<p>Section 2.</p>\r\n\r\n<p>The citizens of each state shall be entitled to all privileges and immunities of citizens in the several states.</p>\r\n\r\n<p>A person charged in any state with treason, felony, or other crime, who shall flee from justice, and be found in another state, shall on demand of the executive authority of the state from which he fled, be delivered up, to be removed to the state having jurisdiction of the crime.</p>\r\n\r\n<p>No person held to service or labor in one state, under the laws thereof, escaping into another, shall, in consequence of any law or regulation therein, be discharged from such service or labor, but shall be delivered up on claim of the party to whom such service or labor may be due.</p>\r\n\r\n<p>Section 3.</p>\r\n\r\n<p>New states may be admitted by the Congress into this union; but no new states shall be formed or erected within the jurisdiction of any other state; nor any state be formed by the junction of two or more states, or parts of states, without the consent of the legislatures of the states concerned as well as of the Congress.</p>\r\n\r\n<p>The Congress shall have power to dispose of and make all needful rules and regulations respecting the territory or other property belonging to the United States; and nothing in this Constitution shall be so construed as to prejudice any claims of the United States, or of any particular state.</p>\r\n\r\n<p>Section 4.</p>\r\n\r\n<p>The United States shall guarantee to every state in this union a republican form of government, and shall protect each of them against invasion; and on application of the legislature, or of the executive (when the legislature cannot be convened) against domestic violence.</p>\r\n\r\n<p>Article V</p>\r\n\r\n<p>The Congress, whenever two thirds of both houses shall deem it necessary, shall propose amendments to this Constitution, or, on the application of the legislatures of two thirds of the several states, shall call a convention for proposing amendments, which, in either case, shall be valid to all intents and purposes, as part of this Constitution, when ratified by the legislatures of three fourths of the several states, or by conventions in three fourths thereof, as the one or the other mode of ratification may be proposed by the Congress; provided that no amendment which may be made prior to the year one thousand eight hundred and eight shall in any manner affect the first and fourth clauses in the ninth section of the first article; and that no state, without its consent, shall be deprived of its equal suffrage in the Senate.</p>\r\n\r\n<p>Article VI</p>\r\n\r\n<p>All debts contracted and engagements entered into, before the adoption of this Constitution, shall be as valid against the United States under this Constitution, as under the Confederation.</p>\r\n\r\n<p>This Constitution, and the laws of the United States which shall be made in pursuance thereof; and all treaties made, or which shall be made, under the authority of the United States, shall be the supreme law of the land; and the judges in every state shall be bound thereby, anything in the Constitution or laws of any State to the contrary notwithstanding.</p>\r\n\r\n<p>The Senators and Representatives before mentioned, and the members of the several state legislatures, and all executive and judicial officers, both of the United States and of the several states, shall be bound by oath or affirmation, to support this Constitution; but no religious test shall ever be required as a qualification to any office or public trust under the United States.</p>\r\n\r\n<p>Article VII</p>\r\n\r\n<p>The ratification of the conventions of nine states, shall be sufficient for the establishment of this Constitution between the states so ratifying the same.</p>\r\n\r\n<p>Done in convention by the unanimous consent of the states present the seventeenth day of September in the year of our Lord one thousand seven hundred and eighty seven and of the independence of the United States of America the twelfth.In witness whereof We have hereunto subscribed our Names,</p>\r\n\r\n<p><NAME>-Presidt. and deputy from Virginia</p>\r\n\r\n<p>New Hampshire: <NAME>, <NAME></p>\r\n\r\n<p>Massachusetts: <NAME>, Rufus King</p>\r\n\r\n<p>Connecticut: Wm: <NAME>, <NAME></p>\r\n\r\n<p>New York: <NAME></p>\r\n\r\n<p>New Jersey: Wil: Livingston, <NAME>, Wm. Paterson, Jona: Dayton</p>\r\n\r\n<p>Pennsylvania: <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME></p>\r\n\r\n<p>Delaware: Geo: Read, Gunning Bedford jun, <NAME>, <NAME>, Jaco: Broom</p>\r\n\r\n<p>Maryland: <NAME>, Dan of St Thos. Jenifer, <NAME></p>\r\n\r\n<p>Virginia: <NAME>, <NAME> Jr.</p>\r\n\r\n<p>North Carolina: Wm. Blount, <NAME>, <NAME></p>\r\n\r\n<p>South Carolina: <NAME>, <NAME>, <NAME>, <NAME></p>\r\n\r\n<p>Georgia: <NAME>, A<NAME></p>', '1515938163', 'peadmin', '1', '0');
INSERT INTO `x2_dochistory` VALUES ('5', '2', '增加插图,修改段落', '<p>《1787宪法》是美国1787年制定并于1789年批准生效的美利坚合众国联邦宪法,也是世界上第一部比较完整的资产阶级成文宪法。它奠定了美国政治制度的法律基础,制定后多年来附有27条修正案,迄今继续生效。1787年宪法强调加强国家权利,又在权利结构中突出&ldquo;分权与制衡&rdquo;的原则,以避免权力过于集中,体现了一定的民主精神。其内容是:立法、司法与行政权三权分立。分权制衡的核心精神在于权力平衡。其学说来自洛克和孟德斯鸠等人,美国人把思想、理论转变为行动、实践。政府结构必须能使各部门之间有适当的控制和平衡。使权力为公众福利和正义目的有效行使其管理职能,同时又保持对权力的优良控制,实现公共权力与公民权利的平衡,管理与控权的动态平衡,是分权和制约的归宿。通过分权、制约最终达到平衡,是宪政的最终目标。</p>\r\n\r\n<p style="text-align: center;"><img alt="" src="http://127.0.0.1/phpems/files/attach/files/content/20180114/15159383851238.jpg" /></p>\r\n\r\n<p>1787年宪法不仅对美国的政治和经济的发展有促进作用,而且对当今世界其他很多国家的民主与法制建设都有借鉴意义。</p>\r\n\r\n<h1 class="wikititle" id="wkth_06227281713964983">历程</h1>\r\n\r\n<h2 class="wikititle" id="wkth_16193192912452403">背景</h2>\r\n\r\n<p>美国独立战争后,建立起来邦联制的国家,政治上的松散状态无法形成强有力的中央政府来稳定统治秩序,保护国家的利益与主权。<br />\r\n面临既要加强中央集权,又要确保共和制的新问题。</p>\r\n\r\n<p>1786年的谢司起义,使联邦制的统治者迫切要求强化资产阶级权利,完善资产阶级统治制度。</p>\r\n\r\n<h2 class="wikititle" id="wkth_18527449253901063">制定</h2>\r\n\r\n<p>1777年大陆会议制定的并于1781年批准施行的《邦联条例》规定,由当时13个独立州组成邦联制国家。邦联政府的权限很小,不能有效地行使国家职权。鉴此,邦联国会于1787年2月邀请各州代表到费城召开制宪会议,修改《邦联条例》。</p>\r\n\r\n<p>5月召开会议,出席的有12个州(罗得岛州除外)的55名代表,G.华盛顿任主席。主张废除《邦联条例》、重新制定新宪法的代表占优势,使这次会议成了全国制宪会议。出席会议的大都是资产阶级和种植园奴隶主的代表,由于利益不同,大州与小州之间又存在着矛盾。</p>\r\n\r\n<p>经过长时间的秘密讨论,直至1787年9月17日才通过新的宪法草案,交由各州批准。全国围绕新宪法的批准问题展开广泛的激烈讨论。1789年3月4日召开的美国第1届联邦国会宣布《美利坚合众国宪法》正式生效。</p>\r\n\r\n<h1 class="wikititle" id="wkth_8375784936343371">全文</h1>\r\n\r\n<h2 class="wikititle" id="wkth_5916713470541723">英文全文</h2>\r\n\r\n<p>THE CONSTITUTION OF THE UNITED STATES OF AMERICA</p>\r\n\r\n<p>March 4, 1789</p>\r\n\r\n<p>Preamble</p>\r\n\r\n<p>We the people of the United States, in order to form a more perfect union, establish justice, insure domestic tranquility, provide for the common defense, promote the general welfare, and secure the blessings of liberty to ourselves and our posterity, do ordain and establish this Constitution for the United States of America.</p>\r\n\r\n<p>Article I</p>\r\n\r\n<p>Section 1.</p>\r\n\r\n<p>All legislative powers herein granted shall be vested in a Congress of the United States, which shall consist of a Senate and House of Representatives.</p>\r\n\r\n<p>Section 2.</p>\r\n\r\n<p>The House of Representatives shall be composed of members chosen every second year by the people of the several states, and the electors in each state shall have the qualifications requisite for electors of the most numerous branch of the state legislature.</p>\r\n\r\n<p>No person shall be a Representative who shall not have attained to the age of twenty five years, and been seven years a citizen of the United States, and who shall not, when elected, be an inhabitant of that state in which he shall be chosen.</p>\r\n\r\n<p>Representatives and direct taxes shall be apportioned among the several states which may be included within this union, according to their respective numbers, which shall be determined by adding to the whole number of free persons, including those bound to service for a term of years, and excluding Indians not taxed, three fifths of all other Persons. The actual Enumeration shall be made within three years after the first meeting of the Congress of the United States, and within every subsequent term of ten years, in such manner as they shall by law direct. The number of Representatives shall not exceed one for every thirty thousand, but each state shall have at least one Representative; and until such enumeration shall be made, the state of New Hampshire shall be entitled to choose three, Massachusetts eight, Rhode Island and Providence Plantations one, Connecticut five, New York six, New Jersey four, Pennsylvania eight, Delaware one, Maryland six, Virginia ten, North Carolina five, South Carolina five, and Georgia three.</p>\r\n\r\n<p>When vacancies happen in the Representation from any state, the executive authority thereof shall issue writs of election to fill such vacancies.</p>\r\n\r\n<p>The House of Representatives shall choose their speaker and other officers; and shall have the sole power of impeachment.</p>\r\n\r\n<p>Section 3.</p>\r\n\r\n<p>The Senate of the United States shall be composed of two Senators from each state, chosen by the legislature thereof, for six years; and each Senator shall have one vote.Immediately after they shall be assembled in consequence of the first election, they shall be divided as equally as may be into three classes. The seats of the Senators of the first class shall be vacated at the expiration of the second year, of the second class at the expiration of the fourth year, and the third class at the expiration of the sixth year, so that one third may be chosen every second year; and if vacancies happen by resignation, or otherwise, during the recess of the legislature of any state, the executive thereof may make temporary appointments until the next meeting of the legislature, which shall then fill such vacancies.</p>\r\n\r\n<p>No person shall be a Senator who shall not have attained to the age of thirty years, and been nine years a citizen of the United States and who shall not, when elected, be an inhabitant of that state for which he shall be chosen.<br />\r\nThe Vice President of the United States shall be President of the Senate, but shall have no vote, unless they be equally divided.<br />\r\nThe Senate shall choose their other officers, and also a President pro tempore, in the absence of the Vice President, or when he shall exercise the office of President of the United States.</p>\r\n\r\n<p>The Senate shall have the sole power to try all impeachments. When sitting for that purpose, they shall be on oath or affirmation. When the President of the United States is tried, the Chief Justice shall preside: And no person shall be convicted without the concurrence of two thirds of the members present.</p>\r\n\r\n<p>Judgment in cases of impeachment shall not extend further than to removal from office, and disqualification to hold and enjoy any office of honor, trust or profit under the United States: but the party convicted shall nevertheless be liable and subject to indictment, trial, judgment and punishment, according to law.</p>\r\n\r\n<p>Section 4.</p>\r\n\r\n<p>The times, places and manner of holding elections for Senators and Representatives, shall be prescribed in each state by the legislature thereof; but the Congress may at any time by law make or alter such regulations, except as to the places of choosing Senators.</p>\r\n\r\n<p>The Congress shall assemble at least once in every year, and such meeting shall be on the first Monday in December, unless they shall by law appoint a different day.</p>\r\n\r\n<p>Section 5.</p>\r\n\r\n<p>Each House shall be the judge of the elections, returns and qualifications of its own members, and a majority of each shall constitute a quorum to do business; but a smaller number may adjourn from day to day, and may be authorized to compel the attendance of absent members, in such manner, and under such penalties as each House may provide.<br />\r\nEach House may determine the rules of its proceedings, punish its members for disorderly behavior, and, with the concurrence of two thirds, expel a member.</p>\r\n\r\n<p>Each House shall keep a journal of its proceedings, and from time to time publish the same, excepting such parts as may in their judgment require secrecy; and the yeas and nays of the members of either House on any question shall, at the desire of one fifth of those present, be entered on the journal.</p>\r\n\r\n<p>Neither House, during the session of Congress, shall, without the consent of the other, adjourn for more than three days, nor to any other place than that in which the two Houses shall be sitting.</p>\r\n\r\n<p>Section 6.</p>\r\n\r\n<p>The Senators and Representatives shall receive a compensation for their services, to be ascertained by law, and paid out of the treasury of the United States. They shall in all cases, except treason, felony and breach of the peace, be privileged from arrest during their attendance at the session of their respective Houses, and in going to and returning from the same; and for any speech or debate in either House, they shall not be questioned in any other place.</p>\r\n\r\n<p>No Senator or Representative shall, during the time for which he was elected, be appointed to any civil office under the authority of the United States, which shall have been created, or the emoluments whereof shall have been increased during such time; and no person holding any office under the United States, shall be a member of either House during his continuance in office.</p>\r\n\r\n<p>Section 7.</p>\r\n\r\n<p>All bills for raising revenue shall originate in the House of Representatives; but the Senate may propose or concur with amendments as on other Bills.</p>\r\n\r\n<p>Every bill which shall have passed the House of Representatives and the Senate, shall, before it become a law, be presented to the President of the United States; if he approve he shall sign it, but if not he shall return it, with his objections to that House in which it shall have originated, who shall enter the objections at large on their journal, and proceed to reconsider it. If after such reconsideration two thirds of that House shall agree to pass the bill, it shall be sent, together with the objections, to the other House, by which it shall likewise be reconsidered, and if approved by two thirds of that House, it shall become a law. But in all such cases the votes of both Houses shall be determined by yeas and nays, and the names of the persons voting for and against the bill shall be entered on the journal of each House respectively. If any bill shall not be returned by the President within ten days (Sundays excepted) after it shall have been presented to him, the same shall be a law, in like manner as if he had signed it, unless the Congress by their adjournment prevent its return, in which case it shall not be a law.</p>\r\n\r\n<p>Every order, resolution, or vote to which the concurrence of the Senate and House of Representatives may be necessary (except on a question of adjournment) shall be presented to the President of the United States; and before the same shall take effect, shall be approved by him, or being disapproved by him, shall be repassed by two thirds of the Senate and House of Representatives, according to the rules and limitations prescribed in the case of a bill.</p>\r\n\r\n<p>Section 8.</p>\r\n\r\n<p>The Congress shall have power to lay and collect taxes, duties, imposts and excises, to pay the debts and provide for the common defense and general welfare of the United States; but all duties, imposts and excises shall be uniform throughout the United States;</p>\r\n\r\n<p>To borrow money on the credit of the United States;</p>\r\n\r\n<p>To regulate commerce with foreign nations, and among the several states, and with the Indian tribes;</p>\r\n\r\n<p>To establish a uniform rule of naturalization, and uniform laws on the subject of bankruptcies throughout the United States;</p>\r\n\r\n<p>To coin money, regulate the value thereof, and of foreign coin, and fix the standard of weights and measures;</p>\r\n\r\n<p>To provide for the punishment of counterfeiting the securities and current coin of the United States;</p>\r\n\r\n<p>To establish post offices and post roads;</p>\r\n\r\n<p>To promote the progress of science and useful arts, by securing for limited times to authors and inventors the exclusive right to their respective writings and discoveries;</p>\r\n\r\n<p>To constitute tribunals inferior to the Supreme Court;</p>\r\n\r\n<p>To define and punish piracies and felonies committed on the high seas, and offenses against the law of nations;</p>\r\n\r\n<p>To declare war, grant letters of marque and reprisal, and make rules concerning captures on land and water;</p>\r\n\r\n<p>To raise and support armies, but no appropriation of money to that use shall be for a longer term than two years;</p>\r\n\r\n<p>To provide and maintain a navy;</p>\r\n\r\n<p>To make rules for the government and regulation of the land and naval forces;</p>\r\n\r\n<p>To provide for calling forth the militia to execute the laws of the union, suppress insurrections and repel invasions;</p>\r\n\r\n<p>To provide for organizing, arming, and disciplining, the militia, and for governing such part of them as may be employed in the service of the United States, reserving to the states respectively, the appointment of the officers, and the authority of training the militia according to the discipline prescribed by Congress;</p>\r\n\r\n<p>To exercise exclusive legislation in all cases whatsoever, over such District (not exceeding ten miles square) as may, by cession of particular states, and the acceptance of Congress, become the seat of the government of the United States, and to exercise like authority over all places purchased by the consent of the legislature of the state in which the same shall be, for the erection of forts, magazines, arsenals, dockyards, and other needful buildings;</p>\r\n\r\n<p>To make all laws which shall be necessary and proper for carrying into execution the foregoing powers, and all other powers vested by this Constitution in the government of the United States, or in any department or officer thereof.</p>\r\n\r\n<p>Section 9.</p>\r\n\r\n<p>The migration or importation of such persons as any of the states now existing shall think proper to admit, shall not be prohibited by the Congress prior to the year one thousand eight hundred and eight, but a tax or duty may be imposed on such importation, not exceeding ten dollars for each person.</p>\r\n\r\n<p>The privilege of the writ of habeas corpus shall not be suspended, unless when in cases of rebellion or invasion the public safety may require it.</p>\r\n\r\n<p>No bill of attainder or ex post facto Law shall be passed.</p>\r\n\r\n<p>No capitation, or other direct, tax shall be laid, unless in proportion to the census or enumeration herein before directed to be taken.</p>\r\n\r\n<p>No tax or duty shall be laid on articles exported from any state.</p>\r\n\r\n<p>No preference shall be given by any regulation of commerce or revenue to the ports of one state over those of another: nor shall vessels bound to, or from, one state, be obliged to enter, clear or pay duties in another.</p>\r\n\r\n<p>No money shall be drawn from the treasury, but in consequence of appropriations made by law; and a regular statement and account of receipts and expenditures of all public money shall be published from time to time.</p>\r\n\r\n<p>No title of nobility shall be granted by the United States: and no person holding any office of profit or trust under them, shall, without the consent of the Congress, accept of any present, emolument, office, or title, of any kind whatever, from any king, prince, or foreign state.</p>\r\n\r\n<p>Section 10.</p>\r\n\r\n<p>No state shall enter into any treaty, alliance, or confederation; grant letters of marque and reprisal; coin money; emit bills of credit; make anything but gold and silver coin a tender in payment of debts; pass any bill of attainder, ex post facto law, or law impairing the obligation of contracts, or grant any title of nobility.</p>\r\n\r\n<p>No state shall, without the consent of the Congress, lay any imposts or duties on imports or exports, except what may be absolutely necessary for executing it s inspection laws: and the net produce of all duties and imposts, laid by any state on imports or exports, shall be for the use of the treasury of the United States; and all such laws shall be subject to the revision and control of the Congress.</p>\r\n\r\n<p>No state shall, without the consent of Congress, lay any duty of tonnage, keep troops, or ships of war in time of peace, enter into any agreement or compact with another state, or with a foreign power, or engage in war, unless actually invaded, or in such imminent danger as will not admit of delay.</p>\r\n\r\n<p>Article II</p>\r\n\r\n<p>Section 1.</p>\r\n\r\n<p>The executive power shall be vested in a President of the United States of America. He shall hold his office during the term of four years, and, together with the Vice President, chosen for the same term, be elected, as follows:</p>\r\n\r\n<p>Each state shall appoint, in such manner as the Legislature thereof may direct, a number of electors, equal to the whole number of Senators and Representatives to which the State may be entitled in the Congress: but no Senator or Representative, or person holding an office of trust or profit under the United States, shall be appointed an elector.</p>\r\n\r\n<p>The electors shall meet in their respective states, and vote by ballot for two persons, of whom one at least shall not be an inhabitant of the same state with themselves. And they shall make a list of all the persons voted for, and of the number of votes for each; which list they shall sign and certify, and transmit sealed to the seat of the government of the United States, directed to the President of the Senate. The President of the Senate shall, in the presence of the Senate and House of Representatives, open all the certificates, and the votes shall then be counted. The person having the greatest number of votes shall be the President, if such number be a majority of the whole number of electors appointed; and if there be more than one who have such majority, and have an equal number of votes, then the House of Representatives shall immediately choose by ballot one of them for President; and if no person have a majority, then from the five highest on the list the said House shall in like manner choose the President. But in choosing the President, the votes shall be taken by States, the representation from each state having one vote; A quorum for this purpose shall consist of a member or members from two thirds of the states, and a majority of all the states shall be necessary to a choice. In every case, after the choice of the President, the person having the greatest number of votes of the electors shall be the Vice President. But if there should remain two or more who have equal votes, the Senate shall choose from them by ballot the Vice President.</p>\r\n\r\n<p>The Congress may determine the time of choosing the electors, and the day on which they shall give their votes; which day shall be the same throughout the United States.</p>\r\n\r\n<p>No person except a natural born citizen, or a citizen of the United States, at the time of the adoption of this Constitution, shall be eligible to the office of President; neither shall any person be eligible to that office who shall not have attained to the age of thirty five years, and been fourteen Years a resident within the United States.</p>\r\n\r\n<p>In case of the removal of the President from office, or of his death, resignation, or inability to discharge the powers and duties of the said office, the same shall devolve on the Vice President, and the Congress may by law provide for the case of removal, death, resignation or inability, both of the President and Vice President, declaring what officer shall then act as President, and such officer shall act accordingly, until the disability be removed, or a President shall be elected.</p>\r\n\r\n<p>The President shall, at stated times, receive for his services, a compensation, which shall neither be increased nor diminished during the period for which he shall have been elected, and he shall not receive within that period any other emolument from the United States, or any of them.</p>\r\n\r\n<p>Before he enter on the execution of his office, he shall take the following oath or affirmation:--&quot;I do solemnly swear (or affirm) that I will faithfully execute the office of President of the United States, and will to the best of my ability, preserve, protect and defend the Constitution of the United States.&quot;</p>\r\n\r\n<p>Section 2.</p>\r\n\r\n<p>The President shall be commander in chief of the Army and Navy of the United States, and of the militia of the several states, when called into the actual service of the United States; he may require the opinion, in writing, of the principal officer in each of the executive departments, upon any subject relating to the duties of their respective offices, and he shall have power to grant reprieves and pardons for offenses against the United States, except in cases of impeachment.</p>\r\n\r\n<p>He shall have power, by and with the advice and consent of the Senate, to make treaties, provided two thirds of the Senators present concur; and he shall nominate, and by and with the advice and consent of the Senate, shall appoint ambassadors, other public ministers and consuls, judges of the Supreme Court, and all other officers of the United States, whose appointments are not herein otherwise provided for, and which shall be established by law: but the Congress may by law vest the appointment of such inferior officers, as they think proper, in the President alone, in the courts of law, or in the heads of departments.</p>\r\n\r\n<p>The President shall have power to fill up all vacancies that may happen during the recess of the Senate, by granting commissions which shall expire at the end of their next session.</p>\r\n\r\n<p>Section 3.</p>\r\n\r\n<p>He shall from time to time give to the Congress information of the state of the union, and recommend to their consideration such measures as he shall judge necessary and expedient; he may, on extraordinary occasions, convene both Houses, or either of them, and in case of disagreement between them, with respect to the time of adjournment, he may adjourn them to such time as he shall think proper; he shall receive ambassadors and other public ministers; he shall take care that the laws be faithfully executed, and shall commission all the officers of the United States.</p>\r\n\r\n<p>Section 4.</p>\r\n\r\n<p>The President, Vice President and all civil officers of the United States, shall be removed from office on impeachment for, and conviction of, treason, bribery, or other high crimes and misdemeanors.</p>\r\n\r\n<p>Article III</p>\r\n\r\n<p>Section 1.</p>\r\n\r\n<p>The judicial power of the United States, shall be vested in one Supreme Court, and in such inferior courts as the Congress may from time to time ordain and establish. The judges, both of the supreme and inferior courts, shall hold their offices during good behaviour, and shall, at stated times, receive for their services, a compensation, which shall not be diminished during their continuance in office.</p>\r\n\r\n<p>Section 2.</p>\r\n\r\n<p>The judicial power shall extend to all cases, in law and equity, arising under this Constitution, the laws of the United States, and treaties made, or which shall be made, under their authority;--to all cases affecting ambassadors, other public ministers and consuls;--to all cases of admiralty and maritime jurisdiction;--to controversies to which the United States shall be a party;--to controversies between two or more states;--between a state and citizens of another state;--between citizens of different states;--between citizens of the same state claiming lands under grants of different states, and between a state, or the citizens thereof, and foreign states, citizens or subjects.</p>\r\n\r\n<p>In all cases affecting ambassadors, other public ministers and consuls, and those in which a state shall be party, the Supreme Court shall have original jurisdiction. In all the other cases before mentioned, the Supreme Court shall have appellate jurisdiction, both as to law and fact, with such exceptions, and under such regulations as the Congress shall make.<br />\r\nThe trial of all crimes, except in cases of impeachment, shall be by jury; and such trial shall be held in the state where the said crimes shall have been committed; but when not committed within any state, the trial shall be at such place or places as the Congress may by law have directed.</p>\r\n\r\n<p>Section 3.</p>\r\n\r\n<p>Treason against the United States, shall consist only in levying war against them, or in adhering to their enemies, giving them aid and comfort. No person shall be convicted of treason unless on the testimony of two witnesses to the same overt act, or on confession in open court.</p>\r\n\r\n<p>The Congress shall have power to declare the punishment of treason, but no attainder of treason shall work corruption of blood, or forfeiture except during the life of the person attainted.</p>\r\n\r\n<p>Article IV</p>\r\n\r\n<p>Section 1.</p>\r\n\r\n<p>Full faith and credit shall be given in each state to the public acts, records, and judicial proceedings of every other state. And the Congress may by general laws prescribe the manner in which such acts, records, and proceedings shall be proved, and the effect thereof.</p>\r\n\r\n<p>Section 2.</p>\r\n\r\n<p>The citizens of each state shall be entitled to all privileges and immunities of citizens in the several states.</p>\r\n\r\n<p>A person charged in any state with treason, felony, or other crime, who shall flee from justice, and be found in another state, shall on demand of the executive authority of the state from which he fled, be delivered up, to be removed to the state having jurisdiction of the crime.</p>\r\n\r\n<p>No person held to service or labor in one state, under the laws thereof, escaping into another, shall, in consequence of any law or regulation therein, be discharged from such service or labor, but shall be delivered up on claim of the party to whom such service or labor may be due.</p>\r\n\r\n<p>Section 3.</p>\r\n\r\n<p>New states may be admitted by the Congress into this union; but no new states shall be formed or erected within the jurisdiction of any other state; nor any state be formed by the junction of two or more states, or parts of states, without the consent of the legislatures of the states concerned as well as of the Congress.</p>\r\n\r\n<p>The Congress shall have power to dispose of and make all needful rules and regulations respecting the territory or other property belonging to the United States; and nothing in this Constitution shall be so construed as to prejudice any claims of the United States, or of any particular state.</p>\r\n\r\n<p>Section 4.</p>\r\n\r\n<p>The United States shall guarantee to every state in this union a republican form of government, and shall protect each of them against invasion; and on application of the legislature, or of the executive (when the legislature cannot be convened) against domestic violence.</p>\r\n\r\n<p>Article V</p>\r\n\r\n<p>The Congress, whenever two thirds of both houses shall deem it necessary, shall propose amendments to this Constitution, or, on the application of the legislatures of two thirds of the several states, shall call a convention for proposing amendments, which, in either case, shall be valid to all intents and purposes, as part of this Constitution, when ratified by the legislatures of three fourths of the several states, or by conventions in three fourths thereof, as the one or the other mode of ratification may be proposed by the Congress; provided that no amendment which may be made prior to the year one thousand eight hundred and eight shall in any manner affect the first and fourth clauses in the ninth section of the first article; and that no state, without its consent, shall be deprived of its equal suffrage in the Senate.</p>\r\n\r\n<p>Article VI</p>\r\n\r\n<p>All debts contracted and engagements entered into, before the adoption of this Constitution, shall be as valid against the United States under this Constitution, as under the Confederation.</p>\r\n\r\n<p>This Constitution, and the laws of the United States which shall be made in pursuance thereof; and all treaties made, or which shall be made, under the authority of the United States, shall be the supreme law of the land; and the judges in every state shall be bound thereby, anything in the Constitution or laws of any State to the contrary notwithstanding.</p>\r\n\r\n<p>The Senators and Representatives before mentioned, and the members of the several state legislatures, and all executive and judicial officers, both of the United States and of the several states, shall be bound by oath or affirmation, to support this Constitution; but no religious test shall ever be required as a qualification to any office or public trust under the United States.</p>\r\n\r\n<p>Article VII</p>\r\n\r\n<p>The ratification of the conventions of nine states, shall be sufficient for the establishment of this Constitution between the states so ratifying the same.</p>\r\n\r\n<p>Done in convention by the unanimous consent of the states present the seventeenth day of September in the year of our Lord one thousand seven hundred and eighty seven and of the independence of the United States of America the twelfth.In witness whereof We have hereunto subscribed our Names,</p>\r\n\r\n<p>G. Washington-Presidt. and deputy from Virginia</p>\r\n\r\n<p>New Hampshire: <NAME>, <NAME></p>\r\n\r\n<p>Massachusetts: <NAME>, Rufus King</p>\r\n\r\n<p>Connecticut: Wm: <NAME>, R<NAME></p>\r\n\r\n<p>New York: <NAME></p>\r\n\r\n<p>New Jersey: Wil: Livingston, <NAME>, Wm. Paterson, Jona: Dayton</p>\r\n\r\n<p>Pennsylvania: <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME></p>\r\n\r\n<p>Delaware: Geo: Read, <NAME>, <NAME>, <NAME>, Jaco: Broom</p>\r\n\r\n<p>Maryland: <NAME>, <NAME> St <NAME>, <NAME></p>\r\n\r\n<p>Virginia: <NAME>, <NAME> Jr.</p>\r\n\r\n<p>North Carolina: Wm. Blount, <NAME>, <NAME></p>\r\n\r\n<p>South Carolina: <NAME>, <NAME>, <NAME>, <NAME></p>\r\n\r\n<p>Georgia: <NAME>, Abr Baldwin</p>', '1515938425', 'peadmin', '1', '0');
-- ----------------------------
-- Table structure for `x2_docs`
-- ----------------------------
DROP TABLE IF EXISTS `x2_docs`;
CREATE TABLE `x2_docs` (
`docid` int(11) NOT NULL AUTO_INCREMENT,
`doctitle` varchar(240) NOT NULL,
`docthumb` varchar(240) DEFAULT NULL,
`doccatid` int(11) NOT NULL,
`dockeywords` varchar(240) NOT NULL,
`doccontentid` int(11) NOT NULL,
`docinputtime` int(11) NOT NULL,
`docmodifytime` int(11) NOT NULL,
`docsequence` int(11) DEFAULT NULL,
`docdescribe` varchar(240) NOT NULL,
`doclocker` varchar(72) NOT NULL,
`doclocktime` int(11) DEFAULT NULL,
`docneedmore` int(1) DEFAULT NULL,
`docsyslock` tinyint(1) DEFAULT NULL,
`docistop` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`docid`),
KEY `doctitle` (`doctitle`),
KEY `doccatid` (`doccatid`),
KEY `doccontentid` (`doccontentid`),
KEY `docinputtime` (`docinputtime`),
KEY `docmodifytime` (`docmodifytime`),
KEY `doclocker` (`doclocker`) USING BTREE,
KEY `doclocktime` (`doclocktime`),
KEY `docsyslock` (`docsyslock`),
KEY `docsequence` (`docsequence`),
KEY `docistop` (`docistop`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_docs
-- ----------------------------
INSERT INTO `x2_docs` VALUES ('1', '词条测试', 'files/attach/images/content/20180114/15159352439119.jpg', '12', '测试', '2', '0', '1515984875', '0', '词条测试', '', null, '1', '0', '1');
INSERT INTO `x2_docs` VALUES ('2', '1787年美国宪法', 'files/attach/images/content/20180114/15159348371723.jpg', '12', '', '6', '1515934840', '0', '1', '1787年美国宪法', '', '0', '1', '0', '1');
-- ----------------------------
-- Table structure for `x2_examhistory`
-- ----------------------------
DROP TABLE IF EXISTS `x2_examhistory`;
CREATE TABLE `x2_examhistory` (
`ehid` int(11) NOT NULL AUTO_INCREMENT,
`ehexamid` int(11) NOT NULL DEFAULT '0',
`ehexam` varchar(240) NOT NULL DEFAULT '',
`ehtype` int(11) NOT NULL DEFAULT '0',
`ehbasicid` int(11) NOT NULL DEFAULT '0',
`ehquestion` longtext NOT NULL,
`ehsetting` text,
`ehscorelist` text,
`ehuseranswer` text,
`ehtime` int(11) NOT NULL DEFAULT '0',
`ehscore` decimal(10,2) NOT NULL DEFAULT '0.00',
`ehuserid` int(11) NOT NULL DEFAULT '0',
`ehusername` varchar(120) NOT NULL DEFAULT '',
`ehstarttime` int(11) NOT NULL DEFAULT '0',
`ehendtime` int(11) NOT NULL,
`ehstatus` int(1) NOT NULL DEFAULT '1',
`ehdecide` int(1) NOT NULL DEFAULT '0',
`ehtimelist` text,
`ehopenid` varchar(48) NOT NULL,
`ehneedresit` tinyint(1) NOT NULL,
`ehispass` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`ehid`),
KEY `ehtype` (`ehtype`,`ehbasicid`,`ehtime`,`ehuserid`),
KEY `ehdecide` (`ehdecide`),
KEY `ehexamid` (`ehexamid`),
KEY `examopenid` (`ehopenid`),
KEY `ehneedresit` (`ehneedresit`),
KEY `ehispass` (`ehispass`)
) ENGINE=MyISAM AUTO_INCREMENT=27 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_examhistory
-- ----------------------------
-- ----------------------------
-- Table structure for `x2_exams`
-- ----------------------------
DROP TABLE IF EXISTS `x2_exams`;
CREATE TABLE `x2_exams` (
`examid` int(11) NOT NULL AUTO_INCREMENT,
`examsubject` tinyint(4) NOT NULL DEFAULT '0',
`exam` varchar(120) NOT NULL DEFAULT '',
`examsetting` text NOT NULL,
`examquestions` text NOT NULL,
`examscore` text NOT NULL,
`examstatus` int(1) NOT NULL DEFAULT '0',
`examtype` int(11) NOT NULL DEFAULT '0',
`examauthorid` int(11) NOT NULL DEFAULT '0',
`examauthor` varchar(120) CHARACTER SET utf8 COLLATE utf8_estonian_ci NOT NULL DEFAULT '',
`examtime` int(11) NOT NULL DEFAULT '0',
`examkeyword` varchar(240) NOT NULL DEFAULT '',
`examdecide` int(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`examid`),
KEY `examstatus` (`examstatus`),
KEY `examtype` (`examtype`,`examauthorid`),
KEY `examtime` (`examtime`),
KEY `examsubject` (`examsubject`),
KEY `examdecide` (`examdecide`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_exams
-- ----------------------------
INSERT INTO `x2_exams` VALUES ('1', '1', '演示试卷一', 'a:7:{s:8:\"examtime\";s:2:\"60\";s:7:\"comfrom\";s:0:\"\";s:5:\"score\";s:3:\"100\";s:9:\"passscore\";s:3:\"100\";s:12:\"questypelite\";a:6:{i:1;s:1:\"1\";i:2;s:1:\"1\";i:3;s:1:\"1\";i:4;s:1:\"0\";i:5;s:1:\"0\";i:6;s:1:\"1\";}s:10:\"scalemodel\";s:1:\"0\";s:8:\"questype\";a:4:{i:1;a:6:{s:6:\"number\";s:2:\"30\";s:5:\"score\";s:1:\"1\";s:8:\"describe\";s:0:\"\";s:10:\"easynumber\";s:2:\"30\";s:12:\"middlenumber\";s:1:\"0\";s:10:\"hardnumber\";s:1:\"0\";}i:2;a:6:{s:6:\"number\";s:2:\"30\";s:5:\"score\";s:1:\"1\";s:8:\"describe\";s:0:\"\";s:10:\"easynumber\";s:2:\"30\";s:12:\"middlenumber\";s:1:\"0\";s:10:\"hardnumber\";s:1:\"0\";}i:3;a:6:{s:6:\"number\";s:2:\"40\";s:5:\"score\";s:1:\"1\";s:8:\"describe\";s:0:\"\";s:10:\"easynumber\";s:2:\"40\";s:12:\"middlenumber\";s:1:\"0\";s:10:\"hardnumber\";s:1:\"0\";}i:6;a:6:{s:6:\"number\";s:1:\"1\";s:5:\"score\";s:2:\"10\";s:8:\"describe\";s:0:\"\";s:10:\"easynumber\";s:1:\"1\";s:12:\"middlenumber\";s:1:\"0\";s:10:\"hardnumber\";s:1:\"0\";}}}', '', '', '0', '1', '1', 'peadmin', '1479265100', '', '1');
INSERT INTO `x2_exams` VALUES ('2', '2', '测试二', 'a:7:{s:8:\"examtime\";s:2:\"60\";s:7:\"comfrom\";s:1:\"1\";s:5:\"score\";s:3:\"100\";s:9:\"passscore\";s:2:\"60\";s:12:\"questypelite\";a:6:{i:1;s:1:\"1\";i:2;s:1:\"1\";i:3;s:1:\"1\";i:4;s:1:\"1\";i:5;s:1:\"1\";i:6;s:1:\"1\";}s:10:\"scalemodel\";s:1:\"0\";s:8:\"questype\";a:6:{i:1;a:6:{s:6:\"number\";s:3:\"100\";s:5:\"score\";s:1:\"1\";s:8:\"describe\";s:0:\"\";s:10:\"easynumber\";s:3:\"100\";s:12:\"middlenumber\";s:1:\"0\";s:10:\"hardnumber\";s:1:\"0\";}i:2;a:6:{s:6:\"number\";s:1:\"0\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";s:10:\"easynumber\";s:1:\"0\";s:12:\"middlenumber\";s:1:\"0\";s:10:\"hardnumber\";s:1:\"0\";}i:3;a:6:{s:6:\"number\";s:1:\"0\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";s:10:\"easynumber\";s:1:\"0\";s:12:\"middlenumber\";s:1:\"0\";s:10:\"hardnumber\";s:1:\"0\";}i:4;a:6:{s:6:\"number\";s:1:\"0\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";s:10:\"easynumber\";s:1:\"0\";s:12:\"middlenumber\";s:1:\"0\";s:10:\"hardnumber\";s:1:\"0\";}i:5;a:6:{s:6:\"number\";s:1:\"0\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";s:10:\"easynumber\";s:1:\"0\";s:12:\"middlenumber\";s:1:\"0\";s:10:\"hardnumber\";s:1:\"0\";}i:6;a:6:{s:6:\"number\";s:1:\"0\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";s:10:\"easynumber\";s:1:\"0\";s:12:\"middlenumber\";s:1:\"0\";s:10:\"hardnumber\";s:1:\"0\";}}}', '', '', '0', '1', '1', 'peadmin', '1488992329', '', '0');
INSERT INTO `x2_exams` VALUES ('3', '1', '测试', 'a:6:{s:8:\"examtime\";s:2:\"60\";s:7:\"comfrom\";s:3:\"111\";s:5:\"score\";s:3:\"100\";s:9:\"passscore\";s:2:\"60\";s:12:\"questypelite\";a:6:{i:1;s:1:\"1\";i:2;s:1:\"1\";i:3;s:1:\"1\";i:4;s:1:\"1\";i:5;s:1:\"1\";i:6;s:1:\"1\";}s:8:\"questype\";a:6:{i:1;a:3:{s:6:\"number\";s:2:\"10\";s:5:\"score\";s:2:\"10\";s:8:\"describe\";s:0:\"\";}i:2;a:3:{s:6:\"number\";s:1:\"0\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";}i:3;a:3:{s:6:\"number\";s:1:\"0\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";}i:4;a:3:{s:6:\"number\";s:1:\"0\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";}i:5;a:3:{s:6:\"number\";s:1:\"0\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";}i:6;a:3:{s:6:\"number\";s:1:\"0\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";}}}', 'a:2:{s:9:\"questions\";a:1:{i:1;a:1:{i:0;a:8:{s:10:\"questionid\";s:3:\"q_1\";s:12:\"questiontype\";s:1:\"1\";s:8:\"question\";s:78:\"在理财产品销售过程中,下列属于错误销售行为的是()。\";s:14:\"questionselect\";s:296:\"A.所有的销售凭证包括风险评估报告由客户本人亲自填写并签字确认 B.采取抽奖、礼品赠送等方式销售理财产品 C.产品说明书中须由客户亲自抄录的内容由客户亲笔抄录 D.客户拟购买的产品风险评级与客户风险承受能力相匹配\";s:20:\"questionselectnumber\";i:4;s:14:\"questionanswer\";s:1:\"B\";s:16:\"questiondescribe\";s:3:\"无\";s:18:\"questioncreatetime\";i:1491028681;}}}s:12:\"questionrows\";N;}', '', '0', '3', '1', 'peadmin', '1491028681', '', '0');
INSERT INTO `x2_exams` VALUES ('4', '1', '测试222', 'a:6:{s:8:\"examtime\";s:2:\"60\";s:7:\"comfrom\";s:3:\"111\";s:5:\"score\";s:3:\"100\";s:9:\"passscore\";s:2:\"60\";s:12:\"questypelite\";a:6:{i:1;s:1:\"1\";i:2;s:1:\"1\";i:3;s:1:\"1\";i:4;s:1:\"0\";i:5;s:1:\"0\";i:6;s:1:\"1\";}s:8:\"questype\";a:4:{i:1;a:3:{s:6:\"number\";s:1:\"0\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";}i:2;a:3:{s:6:\"number\";s:2:\"10\";s:5:\"score\";s:1:\"2\";s:8:\"describe\";s:0:\"\";}i:3;a:3:{s:6:\"number\";s:1:\"0\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";}i:6;a:3:{s:6:\"number\";s:1:\"1\";s:5:\"score\";s:2:\"80\";s:8:\"describe\";s:0:\"\";}}}', 'a:4:{i:1;a:2:{s:9:\"questions\";s:1:\",\";s:13:\"rowsquestions\";s:0:\"\";}i:2;a:2:{s:9:\"questions\";s:41:\",853,815,714,677,667,662,642,638,545,538,\";s:13:\"rowsquestions\";s:0:\"\";}i:3;a:2:{s:9:\"questions\";s:0:\"\";s:13:\"rowsquestions\";s:0:\"\";}i:6;a:2:{s:9:\"questions\";s:5:\",888,\";s:13:\"rowsquestions\";s:0:\"\";}}', '', '0', '2', '1', 'peadmin', '1493997715', '', '0');
INSERT INTO `x2_exams` VALUES ('5', '1', '测试', 'a:6:{s:8:\"examtime\";s:2:\"80\";s:5:\"score\";s:3:\"100\";s:9:\"passscore\";s:2:\"60\";s:7:\"comfrom\";s:0:\"\";s:8:\"questype\";a:6:{i:1;a:3:{s:6:\"number\";s:2:\"10\";s:5:\"score\";s:1:\"1\";s:8:\"describe\";s:0:\"\";}i:2;a:3:{s:6:\"number\";s:1:\"0\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";}i:3;a:3:{s:6:\"number\";s:1:\"0\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";}i:4;a:3:{s:6:\"number\";s:1:\"0\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";}i:5;a:3:{s:6:\"number\";s:1:\"0\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";}i:6;a:3:{s:6:\"number\";s:1:\"0\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";}}s:12:\"questypelite\";a:6:{i:1;s:1:\"1\";i:2;s:1:\"1\";i:3;s:1:\"1\";i:4;s:1:\"1\";i:5;s:1:\"1\";i:6;s:1:\"1\";}}', 'a:6:{i:1;a:2:{s:9:\"questions\";s:41:\",890,883,882,881,880,879,878,877,876,875,\";s:13:\"rowsquestions\";s:0:\"\";}i:2;a:2:{s:9:\"questions\";s:0:\"\";s:13:\"rowsquestions\";s:0:\"\";}i:3;a:2:{s:9:\"questions\";s:0:\"\";s:13:\"rowsquestions\";s:0:\"\";}i:4;a:2:{s:9:\"questions\";s:0:\"\";s:13:\"rowsquestions\";s:0:\"\";}i:5;a:2:{s:9:\"questions\";s:0:\"\";s:13:\"rowsquestions\";s:0:\"\";}i:6;a:2:{s:9:\"questions\";s:0:\"\";s:13:\"rowsquestions\";s:0:\"\";}}', '', '0', '2', '1', 'peadmin', '1512211864', '', '0');
INSERT INTO `x2_exams` VALUES ('6', '1', '测试修改', 'a:7:{s:8:\"examtime\";s:2:\"60\";s:7:\"comfrom\";s:2:\"11\";s:5:\"score\";s:3:\"100\";s:9:\"passscore\";s:2:\"60\";s:12:\"questypelite\";a:6:{i:1;s:1:\"1\";i:2;s:1:\"1\";i:3;s:1:\"1\";i:4;s:1:\"0\";i:5;s:1:\"0\";i:6;s:1:\"1\";}s:10:\"scalemodel\";s:1:\"0\";s:8:\"questype\";a:4:{i:1;a:6:{s:6:\"number\";s:2:\"10\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";s:10:\"easynumber\";s:2:\"10\";s:12:\"middlenumber\";s:1:\"0\";s:10:\"hardnumber\";s:1:\"0\";}i:2;a:6:{s:6:\"number\";s:1:\"0\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";s:10:\"easynumber\";s:1:\"0\";s:12:\"middlenumber\";s:1:\"0\";s:10:\"hardnumber\";s:1:\"0\";}i:3;a:6:{s:6:\"number\";s:1:\"0\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";s:10:\"easynumber\";s:1:\"0\";s:12:\"middlenumber\";s:1:\"0\";s:10:\"hardnumber\";s:1:\"0\";}i:6;a:6:{s:6:\"number\";s:2:\"10\";s:5:\"score\";s:1:\"0\";s:8:\"describe\";s:0:\"\";s:10:\"easynumber\";s:1:\"3\";s:12:\"middlenumber\";s:1:\"3\";s:10:\"hardnumber\";s:1:\"4\";}}}', '', '', '0', '1', '1', 'peadmin', '1512363448', '', '1');
-- ----------------------------
-- Table structure for `x2_examsession`
-- ----------------------------
DROP TABLE IF EXISTS `x2_examsession`;
CREATE TABLE `x2_examsession` (
`examsessionid` varchar(32) NOT NULL,
`examsessionuserid` int(11) NOT NULL DEFAULT '0',
`examsession` varchar(240) NOT NULL DEFAULT '',
`examsessionsetting` text NOT NULL,
`examsessionsign` text,
`examsessionbasic` int(11) NOT NULL DEFAULT '0',
`examsessiontype` int(1) NOT NULL,
`examsessionkey` varchar(32) NOT NULL DEFAULT '',
`examsessionquestion` longtext NOT NULL,
`examsessionuseranswer` text,
`examsessionstarttime` int(11) NOT NULL DEFAULT '0',
`examsessiontime` int(11) NOT NULL DEFAULT '0',
`examsessionstatus` int(1) NOT NULL DEFAULT '0',
`examsessionscore` decimal(10,1) NOT NULL DEFAULT '0.0',
`examsessionscorelist` text,
`examsessionissave` int(1) NOT NULL DEFAULT '0',
`examsessiontimelist` text,
PRIMARY KEY (`examsessionid`),
KEY `examsessionstarttime` (`examsessionstarttime`),
KEY `examsessionstatus` (`examsessionstatus`),
KEY `examsessiontype` (`examsessiontype`),
KEY `examsessionkey` (`examsessionkey`),
KEY `examsubject` (`examsessionbasic`),
KEY `examsessionissave` (`examsessionissave`),
KEY `examsessionuserid` (`examsessionuserid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_examsession
-- ----------------------------
-- ----------------------------
-- Table structure for `x2_exercise`
-- ----------------------------
DROP TABLE IF EXISTS `x2_exercise`;
CREATE TABLE `x2_exercise` (
`exerid` int(11) NOT NULL AUTO_INCREMENT,
`exeruserid` int(11) NOT NULL,
`exerbasicid` int(11) NOT NULL,
`exerknowsid` int(11) NOT NULL,
`exernumber` int(11) NOT NULL,
`exerqutype` int(11) NOT NULL,
PRIMARY KEY (`exerid`),
KEY `exeruserid` (`exeruserid`),
KEY `exerbasicid` (`exerbasicid`),
KEY `exerknowsid` (`exerknowsid`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_exercise
-- ----------------------------
INSERT INTO `x2_exercise` VALUES ('1', '1', '1', '1', '2', '2');
-- ----------------------------
-- Table structure for `x2_favor`
-- ----------------------------
DROP TABLE IF EXISTS `x2_favor`;
CREATE TABLE `x2_favor` (
`favorid` int(11) NOT NULL AUTO_INCREMENT,
`favoruserid` int(11) NOT NULL DEFAULT '0',
`favorsubjectid` int(11) NOT NULL DEFAULT '0',
`favorquestionid` int(11) NOT NULL DEFAULT '0',
`favortime` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`favorid`),
KEY `favoruserid` (`favoruserid`,`favorquestionid`,`favortime`),
KEY `favorsubjectid` (`favorsubjectid`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_favor
-- ----------------------------
INSERT INTO `x2_favor` VALUES ('2', '1', '1', '888', '1499409847');
INSERT INTO `x2_favor` VALUES ('3', '1', '1', '1', '1504093527');
INSERT INTO `x2_favor` VALUES ('4', '1', '1', '26', '1504094848');
-- ----------------------------
-- Table structure for `x2_feedback`
-- ----------------------------
DROP TABLE IF EXISTS `x2_feedback`;
CREATE TABLE `x2_feedback` (
`fbid` int(11) NOT NULL AUTO_INCREMENT,
`fbquestionid` int(11) NOT NULL,
`fbtype` varchar(120) NOT NULL,
`fbcontent` text NOT NULL,
`fbuserid` int(11) NOT NULL,
`fbtime` int(11) NOT NULL,
`fbstatus` tinyint(4) NOT NULL,
`fbdoneuserid` int(11) NOT NULL,
`fbdonetime` int(11) NOT NULL,
PRIMARY KEY (`fbid`),
KEY `fbquestionid` (`fbquestionid`,`fbuserid`),
KEY `fbtype` (`fbtype`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_feedback
-- ----------------------------
INSERT INTO `x2_feedback` VALUES ('1', '88', '知识点归类错误', '知识点选择的不对', '1', '1495084050', '1', '1', '1495088833');
INSERT INTO `x2_feedback` VALUES ('2', '3', '其他', '这个应该是选择题吧', '1', '1495102628', '1', '1', '1499443064');
INSERT INTO `x2_feedback` VALUES ('3', '1', '题干错误', '测试题干呢', '1', '1498835850', '1', '1', '1499443062');
INSERT INTO `x2_feedback` VALUES ('4', '1', '答案错误', '22222', '1', '1498835868', '1', '1', '1499443046');
INSERT INTO `x2_feedback` VALUES ('5', '3', '答案错误', '阿凡达是否', '1', '1498835883', '1', '1', '1499443044');
-- ----------------------------
-- Table structure for `x2_gbook`
-- ----------------------------
DROP TABLE IF EXISTS `x2_gbook`;
CREATE TABLE `x2_gbook` (
`gbid` int(11) NOT NULL AUTO_INCREMENT,
`gbinfo` text NOT NULL,
`gbcontent` text NOT NULL,
`gbreply` text NOT NULL,
`gbtime` int(11) NOT NULL DEFAULT '0',
`gbreplytime` int(11) NOT NULL DEFAULT '0',
`gbstatus` int(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`gbid`),
KEY `gbtime` (`gbtime`),
KEY `gbreplytime` (`gbreplytime`),
KEY `gbstatus` (`gbstatus`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_gbook
-- ----------------------------
-- ----------------------------
-- Table structure for `x2_knows`
-- ----------------------------
DROP TABLE IF EXISTS `x2_knows`;
CREATE TABLE `x2_knows` (
`knowsid` int(11) NOT NULL AUTO_INCREMENT,
`knows` varchar(120) NOT NULL DEFAULT '',
`knowssectionid` int(11) NOT NULL DEFAULT '0',
`knowsdescribe` text NOT NULL,
`knowsstatus` int(1) NOT NULL DEFAULT '1',
PRIMARY KEY (`knowsid`),
KEY `knows` (`knows`,`knowssectionid`),
KEY `knowsstatus` (`knowsstatus`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_knows
-- ----------------------------
INSERT INTO `x2_knows` VALUES ('1', '演示知识点', '1', '', '1');
INSERT INTO `x2_knows` VALUES ('2', '测试2知识点', '1', '', '1');
INSERT INTO `x2_knows` VALUES ('3', '测试知识点二', '5', '', '1');
-- ----------------------------
-- Table structure for `x2_log`
-- ----------------------------
DROP TABLE IF EXISTS `x2_log`;
CREATE TABLE `x2_log` (
`logid` int(11) NOT NULL AUTO_INCREMENT,
`loguserid` int(11) DEFAULT '0',
`logcourseid` int(11) DEFAULT '0',
`logtime` int(11) DEFAULT '0',
`logstatus` int(1) DEFAULT NULL,
`logendtime` int(11) DEFAULT NULL,
`logprogress` int(11) DEFAULT NULL,
PRIMARY KEY (`logid`),
KEY `loguserid` (`loguserid`,`logcourseid`),
KEY `logtime` (`logtime`)
) ENGINE=MyISAM AUTO_INCREMENT=408 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_log
-- ----------------------------
-- ----------------------------
-- Table structure for `x2_module`
-- ----------------------------
DROP TABLE IF EXISTS `x2_module`;
CREATE TABLE `x2_module` (
`moduleid` int(11) NOT NULL AUTO_INCREMENT,
`modulecode` varchar(24) NOT NULL DEFAULT '',
`modulename` varchar(60) NOT NULL DEFAULT '',
`moduledescribe` tinytext NOT NULL,
`moduleapp` varchar(24) NOT NULL DEFAULT '',
`moduletable` varchar(24) NOT NULL DEFAULT '',
`moduleallowreg` tinyint(1) DEFAULT '0',
`modulestatus` int(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`moduleid`),
UNIQUE KEY `modulecode` (`modulecode`),
KEY `modulename` (`modulename`),
KEY `moduleapp` (`moduleapp`),
KEY `moduleallowreg` (`moduleallowreg`),
KEY `modulestatus` (`modulestatus`)
) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_module
-- ----------------------------
INSERT INTO `x2_module` VALUES ('1', 'manager', '管理员模型', '管理员', 'user', 'user_data', '0', '0');
INSERT INTO `x2_module` VALUES ('9', 'normal', '普通用户模型', '普通用户', 'user', '', '0', '0');
INSERT INTO `x2_module` VALUES ('4', 'news', '新闻', '新闻', 'content', 'content_data', '0', '0');
INSERT INTO `x2_module` VALUES ('11', 'spnormal', '普通信息', '普通信息', 'special', '', '0', '0');
INSERT INTO `x2_module` VALUES ('12', 'teacher', '教师模型', '教师模型', 'user', '', '0', '0');
INSERT INTO `x2_module` VALUES ('14', 'course', '视频课程', '视频课程', 'course', '', '0', '0');
INSERT INTO `x2_module` VALUES ('15', 'pdf', '文本课程', '文本课程', 'course', '', '0', '0');
-- ----------------------------
-- Table structure for `x2_module_fields`
-- ----------------------------
DROP TABLE IF EXISTS `x2_module_fields`;
CREATE TABLE `x2_module_fields` (
`fieldid` int(11) NOT NULL AUTO_INCREMENT,
`fieldappid` varchar(12) NOT NULL DEFAULT '',
`fieldmoduleid` int(4) NOT NULL DEFAULT '0',
`fieldsequence` tinyint(4) NOT NULL DEFAULT '0',
`field` varchar(24) NOT NULL DEFAULT '',
`fieldtitle` varchar(60) NOT NULL DEFAULT '',
`fieldlength` varchar(12) NOT NULL DEFAULT '',
`fielddescribe` text NOT NULL,
`fieldtype` varchar(24) NOT NULL DEFAULT '',
`fieldhtmltype` varchar(24) NOT NULL DEFAULT '',
`fieldhtmlproperty` text NOT NULL,
`fieldvalues` text NOT NULL,
`fielddefault` text NOT NULL,
`fieldlock` tinyint(1) NOT NULL DEFAULT '0',
`fieldindextype` varchar(12) NOT NULL DEFAULT '',
`fieldforbidactors` tinytext NOT NULL,
`fieldsystem` int(1) NOT NULL DEFAULT '0',
`fieldpublic` int(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`fieldid`),
KEY `field` (`field`,`fieldlock`),
KEY `fieldmoduleid` (`fieldmoduleid`),
KEY `fieldsequence` (`fieldsequence`),
KEY `fieldsystem` (`fieldsystem`),
KEY `fieldpublic` (`fieldpublic`),
KEY `fieldappid` (`fieldappid`)
) ENGINE=MyISAM AUTO_INCREMENT=24 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_module_fields
-- ----------------------------
INSERT INTO `x2_module_fields` VALUES ('1', 'user', '1', '2', 'manager_apps', '可管理模块', '240', '', 'varchar', 'checkboxarray', 'class=form-control\r\nstyle=width:30%', '用户=user\r\n内容=content\r\n考试=exam\r\n文件=document\r\n课程=course\r\n财务=bank', '', '0', '', ',-1,', '0', '0');
INSERT INTO `x2_module_fields` VALUES ('2', 'user', '1', '0', 'photo', '用户肖像', '120', '', 'varchar', 'thumb', '', '', '', '0', '0', ',,', '0', '1');
INSERT INTO `x2_module_fields` VALUES ('3', 'user', '1', '0', 'usertruename', '真实姓名', '24', '', 'varchar', 'text', 'class=form-control', '', '', '0', '0', ',,', '0', '1');
INSERT INTO `x2_module_fields` VALUES ('6', 'user', '9', '1', 'normal_favor', '企业', '250', '', 'varchar', 'select', 'class=form-control\r\nstyle=width:240px;', '企业一=企业二', '吃', '0', '0', ',,', '0', '0');
INSERT INTO `x2_module_fields` VALUES ('7', 'user', '12', '0', 'teacher_subjects', '可管理科目', '', '', 'text', 'checkboxarray', '', '演示课程=1\r\n测试科目二=2', '', '0', '0', ',-1,', '0', '0');
INSERT INTO `x2_module_fields` VALUES ('8', 'content', '13', '0', 'cizhuan_guige', '规格', '60', '', 'varchar', 'radio', '', '90*90=1\r\n60*60=2', '', '0', '', ',,', '1', '0');
INSERT INTO `x2_module_fields` VALUES ('9', 'content', '13', '0', 'cizhuan_brand', '品牌', '24', '', 'varchar', 'checkboxarray', '', '阿里=阿里\r\n阿里1=阿里1', '', '0', '', ',,', '0', '0');
INSERT INTO `x2_module_fields` VALUES ('10', 'content', '13', '0', 'cizhuan_thumb', '缩略图', '120', '', 'varchar', 'thumb', '', '', '', '0', '', ',,', '0', '0');
INSERT INTO `x2_module_fields` VALUES ('11', 'course', '14', '0', 'course_files', 'MP4视频', '240', 'MP4的视频格式,用于支持IE浏览器的H5播放', 'varchar', 'videotext', 'exectype=upfile\r\nuptypes=*.mp4\r\nfilesize=120 MB', '', '', '0', '', ',,', '0', '0');
INSERT INTO `x2_module_fields` VALUES ('12', 'content', '4', '0', 'tester', '测试字段', '', '', 'text', 'picture', 'class=form-control', '', '', '0', '', ',,', '0', '1');
INSERT INTO `x2_module_fields` VALUES ('13', 'user', '9', '0', 'userischeck', '是否认证', '1', '', 'int', 'radio', '', '是=1\r\n否=0', '1', '0', '', ',-1,', '1', '1');
INSERT INTO `x2_module_fields` VALUES ('14', 'user', '12', '0', 'userprofile', '个人简介', '', '', 'text', 'textarea', 'class=form-control', '', '', '0', '', ',,', '0', '1');
INSERT INTO `x2_module_fields` VALUES ('15', 'user', '12', '3', 'usersequence', '大队', '', '', 'int', 'select', 'class=form-control\r\nstyle=width:240px;', '一大队=一大队', '', '0', '', ',-1,', '0', '1');
INSERT INTO `x2_module_fields` VALUES ('16', 'course', '14', '0', 'course_oggfile', 'ogg视频', '250', 'ogg视频支持火狐和谷歌浏览器', 'varchar', 'videotext', 'exectype=upfile\r\nuptypes=*.ogg\r\nfilesize=120 MB\r\nattr-ftype=ogg', '', '', '0', '', ',,', '0', '0');
INSERT INTO `x2_module_fields` VALUES ('17', 'course', '14', '0', 'course_webmfile', 'webm视频', '250', 'webm视频用户火狐和谷歌浏览器播放', 'varchar', 'videotext', 'exectype=upfile\r\nuptypes=*.webm\r\nfilesize=120 MB\r\nattr-ftype=webm', '', '', '0', '', ',,', '0', '0');
INSERT INTO `x2_module_fields` VALUES ('18', 'course', '14', '0', 'course_youtu', '优酷土豆源', '240', '', 'varchar', 'text', 'class=form-control', '', '', '0', '', ',,', '0', '0');
INSERT INTO `x2_module_fields` VALUES ('19', 'user', '9', '2', 'userreferrer', '中队', '', '', 'int', 'select', 'class=form-control\r\nstyle=width:120px', '一中队=一中队', '', '0', '', ',-1,', '0', '1');
INSERT INTO `x2_module_fields` VALUES ('20', 'content', '4', '0', 'demo', '演示', '240', '', 'varchar', 'thumb', '', '', '', '0', '', ',,', '0', '1');
INSERT INTO `x2_module_fields` VALUES ('22', 'course', '15', '0', 'pdf_file', 'PDF文件', '240', '', 'varchar', 'videotext', 'exectype=upfile\r\nuptypes=*.pdf\r\nfilesize=20 MB\r\nattr-ftype=pdf', '', '', '0', '', ',,', '0', '0');
INSERT INTO `x2_module_fields` VALUES ('23', 'course', '15', '0', 'coursepasstime', '最低学习时间', '', '', 'int', 'text', 'class=form-control', '', '', '0', '', ',,', '0', '1');
-- ----------------------------
-- Table structure for `x2_openbasics`
-- ----------------------------
DROP TABLE IF EXISTS `x2_openbasics`;
CREATE TABLE `x2_openbasics` (
`obid` int(11) NOT NULL AUTO_INCREMENT,
`obuserid` int(11) NOT NULL DEFAULT '0',
`obbasicid` int(11) NOT NULL DEFAULT '0',
`obtime` int(11) NOT NULL DEFAULT '0',
`obendtime` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`obid`),
KEY `oluserid` (`obuserid`,`obbasicid`,`obtime`,`obendtime`)
) ENGINE=MyISAM AUTO_INCREMENT=95 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_openbasics
-- ----------------------------
INSERT INTO `x2_openbasics` VALUES ('83', '1', '2', '1502170663', '1533706663');
INSERT INTO `x2_openbasics` VALUES ('69', '1', '5', '1493734345', '1525270345');
INSERT INTO `x2_openbasics` VALUES ('93', '1', '1', '1513601340', '1522241340');
INSERT INTO `x2_openbasics` VALUES ('76', '5', '2', '1499570149', '1500002149');
INSERT INTO `x2_openbasics` VALUES ('77', '10', '2', '1499570184', '1500002184');
INSERT INTO `x2_openbasics` VALUES ('94', '1', '4', '1515165445', '1546701445');
-- ----------------------------
-- Table structure for `x2_opencourse`
-- ----------------------------
DROP TABLE IF EXISTS `x2_opencourse`;
CREATE TABLE `x2_opencourse` (
`ocid` int(11) NOT NULL AUTO_INCREMENT,
`ocuserid` int(11) NOT NULL,
`occourseid` int(11) NOT NULL,
`octime` int(11) NOT NULL,
`ocendtime` int(11) NOT NULL,
PRIMARY KEY (`ocid`),
KEY `ocuserid` (`ocuserid`,`occourseid`)
) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_opencourse
-- ----------------------------
INSERT INTO `x2_opencourse` VALUES ('15', '1', '1', '1517401557', '1548937557');
-- ----------------------------
-- Table structure for `x2_orders`
-- ----------------------------
DROP TABLE IF EXISTS `x2_orders`;
CREATE TABLE `x2_orders` (
`ordersn` varchar(15) NOT NULL,
`ordertitle` varchar(240) NOT NULL,
`orderdescribe` text NOT NULL,
`orderitems` text NOT NULL,
`orderprice` decimal(10,2) NOT NULL,
`orderuserid` int(11) NOT NULL,
`orderuserinfo` text NOT NULL,
`orderstatus` int(2) NOT NULL,
`orderfullprice` decimal(10,2) NOT NULL,
`ordercreatetime` int(11) NOT NULL,
`orderpaytime` int(11) NOT NULL,
`orderouttime` int(11) NOT NULL,
`orderrecivetime` int(11) NOT NULL,
`orderfaq` text NOT NULL,
`orderpost` text NOT NULL,
PRIMARY KEY (`ordersn`),
KEY `orderprice` (`orderprice`,`ordercreatetime`,`orderpaytime`),
KEY `orderuserid` (`orderuserid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_orders
-- ----------------------------
INSERT INTO `x2_orders` VALUES ('201703251005677', '考试系统充值 1 元', '', '', '1.00', '1', 'a:1:{s:8:\"username\";s:7:\"peadmin\";}', '1', '0.00', '1490407535', '0', '0', '0', '', '');
INSERT INTO `x2_orders` VALUES ('201703251009404', '考试系统充值 2 元', '', '', '2.00', '1', 'a:1:{s:8:\"username\";s:7:\"peadmin\";}', '1', '0.00', '1490407795', '0', '0', '0', '', '');
INSERT INTO `x2_orders` VALUES ('201703251012931', '考试系统充值 4 元', '', '', '4.00', '1', 'a:1:{s:8:\"username\";s:7:\"peadmin\";}', '1', '0.00', '1490407970', '0', '0', '0', '', '');
INSERT INTO `x2_orders` VALUES ('201703251017785', '考试系统充值 2 元', '', '', '2.00', '1', 'a:1:{s:8:\"username\";s:7:\"peadmin\";}', '2', '0.00', '1490408255', '0', '0', '0', '', '');
INSERT INTO `x2_orders` VALUES ('201704302320481', '考试系统充值 100 元', '', '', '100.00', '1', 'a:1:{s:8:\"username\";s:7:\"peadmin\";}', '1', '0.00', '1493565617', '0', '0', '0', '', '');
INSERT INTO `x2_orders` VALUES ('201704302346427', '考试系统充值 100 元', '', '', '100.00', '1', 'a:1:{s:8:\"username\";s:7:\"peadmin\";}', '1', '0.00', '1493567207', '0', '0', '0', '', '');
INSERT INTO `x2_orders` VALUES ('201704302347848', '考试系统充值 90 元', '', '', '90.00', '1', 'a:1:{s:8:\"username\";s:7:\"peadmin\";}', '1', '0.00', '1493567246', '0', '0', '0', '', '');
INSERT INTO `x2_orders` VALUES ('201704302347990', '考试系统充值 100 元', '', '', '100.00', '1', 'a:1:{s:8:\"username\";s:7:\"peadmin\";}', '1', '0.00', '1493567271', '0', '0', '0', '', '');
INSERT INTO `x2_orders` VALUES ('201704302348179', '考试系统充值 100 元', '', '', '100.00', '1', 'a:1:{s:8:\"username\";s:7:\"peadmin\";}', '1', '0.00', '1493567316', '0', '0', '0', '', '');
INSERT INTO `x2_orders` VALUES ('201704302349174', '考试系统充值 90 元', '', '', '90.00', '1', 'a:1:{s:8:\"username\";s:7:\"peadmin\";}', '1', '0.00', '1493567357', '0', '0', '0', '', '');
INSERT INTO `x2_orders` VALUES ('201704302351677', '考试系统充值 100 元', '', '', '100.00', '1', 'a:1:{s:8:\"username\";s:7:\"peadmin\";}', '1', '0.00', '1493567460', '0', '0', '0', '', '');
INSERT INTO `x2_orders` VALUES ('201704302351988', '考试系统充值 80 元', '', '', '80.00', '1', 'a:1:{s:8:\"username\";s:7:\"peadmin\";}', '1', '0.00', '1493567490', '0', '0', '0', '', '');
INSERT INTO `x2_orders` VALUES ('201707022300679', '考试系统充值 20 元', '', '', '20.00', '1', 'a:1:{s:8:\"username\";s:7:\"peadmin\";}', '1', '0.00', '1499007639', '0', '0', '0', '', '');
INSERT INTO `x2_orders` VALUES ('201707072245866', '考试系统充值 9 元', '', '', '9.00', '1', 'a:1:{s:8:\"username\";s:7:\"peadmin\";}', '1', '0.00', '1499438723', '0', '0', '0', '', '');
INSERT INTO `x2_orders` VALUES ('201707291028960', '考试系统充值 1 元', '', '', '1.00', '1', 'a:1:{s:8:\"username\";s:7:\"peadmin\";}', '1', '0.00', '1501295333', '0', '0', '0', '', '');
INSERT INTO `x2_orders` VALUES ('201708091222239', '考试系统充值 1 元', '', '', '1.00', '1', 'a:1:{s:8:\"username\";s:7:\"peadmin\";}', '1', '0.00', '1502252576', '0', '0', '0', '', '');
INSERT INTO `x2_orders` VALUES ('201709071750559', '考试系统充值 1 元', '', '', '1.00', '1', 'a:1:{s:8:\"username\";s:7:\"peadmin\";}', '1', '0.00', '1504777833', '0', '0', '0', '', '');
INSERT INTO `x2_orders` VALUES ('201712142135806', '考试系统充值 2 元', '', '', '2.00', '1', 'a:1:{s:8:\"username\";s:7:\"peadmin\";}', '1', '0.00', '1513258549', '0', '0', '0', '', '');
-- ----------------------------
-- Table structure for `x2_poscontent`
-- ----------------------------
DROP TABLE IF EXISTS `x2_poscontent`;
CREATE TABLE `x2_poscontent` (
`pcid` int(11) NOT NULL AUTO_INCREMENT,
`pcposid` int(11) NOT NULL DEFAULT '0',
`pccontentid` int(11) NOT NULL DEFAULT '0',
`pcthumb` varchar(120) NOT NULL DEFAULT '',
`pcsequence` int(11) NOT NULL DEFAULT '0',
`pctitle` varchar(240) NOT NULL DEFAULT '',
`pctime` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`pcid`),
KEY `pcposid` (`pcposid`,`pccontentid`,`pcsequence`),
KEY `pctime` (`pctime`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_poscontent
-- ----------------------------
-- ----------------------------
-- Table structure for `x2_position`
-- ----------------------------
DROP TABLE IF EXISTS `x2_position`;
CREATE TABLE `x2_position` (
`posid` int(11) NOT NULL AUTO_INCREMENT,
`posname` varchar(120) NOT NULL DEFAULT '',
PRIMARY KEY (`posid`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_position
-- ----------------------------
INSERT INTO `x2_position` VALUES ('1', '首页推荐');
-- ----------------------------
-- Table structure for `x2_product`
-- ----------------------------
DROP TABLE IF EXISTS `x2_product`;
CREATE TABLE `x2_product` (
`productid` int(11) NOT NULL AUTO_INCREMENT,
`producttype` varchar(24) NOT NULL DEFAULT '',
`productpartnerid` int(11) NOT NULL DEFAULT '0',
`productname` varchar(240) NOT NULL DEFAULT '',
`productcode` int(11) NOT NULL DEFAULT '0',
`productprice` decimal(10,2) NOT NULL DEFAULT '0.00',
`productdescribe` text NOT NULL,
`productlesson` varchar(40) NOT NULL DEFAULT '',
`producttry` varchar(240) NOT NULL DEFAULT '',
PRIMARY KEY (`productid`),
KEY `partnercode` (`productcode`),
KEY `productpartnerid` (`productpartnerid`),
KEY `producttype` (`producttype`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_product
-- ----------------------------
-- ----------------------------
-- Table structure for `x2_progress`
-- ----------------------------
DROP TABLE IF EXISTS `x2_progress`;
CREATE TABLE `x2_progress` (
`prsid` int(11) NOT NULL AUTO_INCREMENT,
`prsuserid` int(11) NOT NULL,
`prstime` int(11) NOT NULL,
`prsendtime` int(11) NOT NULL,
`prscourseid` int(11) NOT NULL,
`prscoursestatus` tinyint(1) NOT NULL,
`prsexamid` int(11) NOT NULL,
`prsexamstatus` tinyint(1) NOT NULL,
`prstatus` tinyint(1) NOT NULL,
PRIMARY KEY (`prsid`),
KEY `prsuserid` (`prsuserid`),
KEY `prscoursestatus` (`prscoursestatus`),
KEY `prsexamstatus` (`prsexamstatus`),
KEY `prstatus` (`prstatus`),
KEY `prscourseid` (`prscourseid`),
KEY `prsexamid` (`prsexamid`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_progress
-- ----------------------------
-- ----------------------------
-- Table structure for `x2_quest2knows`
-- ----------------------------
DROP TABLE IF EXISTS `x2_quest2knows`;
CREATE TABLE `x2_quest2knows` (
`qkid` int(11) NOT NULL AUTO_INCREMENT,
`qkquestionid` int(11) NOT NULL DEFAULT '0',
`qkknowsid` int(11) NOT NULL DEFAULT '0',
`qktype` int(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`qkid`),
KEY `qkquestionid` (`qkquestionid`,`qkknowsid`),
KEY `qktype` (`qktype`)
) ENGINE=MyISAM AUTO_INCREMENT=1786 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_quest2knows
-- ----------------------------
INSERT INTO `x2_quest2knows` VALUES ('1782', '5', '1', '1');
INSERT INTO `x2_quest2knows` VALUES ('1784', '1775', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1780', '1774', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1779', '1773', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1778', '1772', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1777', '1771', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1776', '1770', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1775', '1769', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1774', '1768', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1773', '1767', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1772', '1766', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1771', '1765', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1770', '1764', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1769', '1763', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1768', '1762', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1767', '1761', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1766', '1760', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1765', '1759', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1764', '1758', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1763', '1757', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1762', '1756', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1761', '1755', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1760', '1754', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1759', '1753', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1758', '1752', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1757', '1751', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1756', '1750', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1755', '1749', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1754', '1748', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1753', '1747', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1752', '1746', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1751', '1745', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1750', '1744', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1749', '1743', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1748', '1742', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1747', '1741', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1746', '1740', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1745', '1739', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1744', '1738', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1743', '1737', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1742', '1736', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1741', '1735', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1740', '1734', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1739', '1733', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1738', '1732', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1737', '1731', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1736', '1730', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1735', '1729', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1734', '1728', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1733', '1727', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1732', '1726', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1731', '1725', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1730', '1724', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1729', '1723', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1728', '1722', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1727', '1721', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1726', '1720', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1725', '1719', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1724', '1718', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1723', '1717', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1722', '1716', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1721', '1715', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1720', '1714', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1719', '1713', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1718', '1712', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1717', '1711', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1716', '1710', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1715', '1709', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1714', '1708', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1713', '1707', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1712', '1706', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1711', '1705', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1710', '1704', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1709', '1703', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1708', '1702', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1707', '1701', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1706', '1700', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1705', '1699', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1704', '1698', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1703', '1697', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1702', '1696', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1701', '1695', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1700', '1694', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1699', '1693', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1698', '1692', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1697', '1691', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1696', '1690', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1695', '1689', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1694', '1688', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1693', '1687', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1692', '1686', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1691', '1685', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1690', '1684', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1689', '1683', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1688', '1682', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1687', '1681', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1686', '1680', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1685', '1679', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1684', '1678', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1683', '1677', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1682', '1676', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1681', '1675', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1680', '1674', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1679', '1673', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1678', '1672', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1677', '1671', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1676', '1670', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1675', '1669', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1674', '1668', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1673', '1667', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1672', '1666', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1671', '1665', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1670', '1664', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1669', '1663', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1668', '1662', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1667', '1661', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1666', '1660', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1665', '1659', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1664', '1658', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1663', '1657', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1662', '1656', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1661', '1655', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1660', '1654', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1659', '1653', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1658', '1652', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1657', '1651', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1656', '1650', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1655', '1649', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1654', '1648', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1653', '1647', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1652', '1646', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1651', '1645', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1650', '1644', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1649', '1643', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1648', '1642', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1647', '1641', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1646', '1640', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1645', '1639', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1644', '1638', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1643', '1637', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1642', '1636', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1641', '1635', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1640', '1634', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1639', '1633', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1638', '1632', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1637', '1631', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1636', '1630', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1635', '1629', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1634', '1628', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1633', '1627', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1632', '1626', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1631', '1625', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1630', '1624', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1629', '1623', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1628', '1622', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1627', '1621', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1626', '1620', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1625', '1619', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1624', '1618', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1623', '1617', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1622', '1616', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1621', '1615', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1620', '1614', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1619', '1613', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1618', '1612', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1617', '1611', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1616', '1610', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1615', '1609', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1614', '1608', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1613', '1607', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1612', '1606', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1611', '1605', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1610', '1604', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1609', '1603', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1608', '1602', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1607', '1601', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1606', '1600', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1605', '1599', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1604', '1598', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1603', '1597', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1602', '1596', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1601', '1595', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1600', '1594', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1599', '1593', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1598', '1592', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1597', '1591', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1596', '1590', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1595', '1589', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1594', '1588', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1593', '1587', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1592', '1586', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1591', '1585', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1590', '1584', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1589', '1583', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1588', '1582', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1587', '1581', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1586', '1580', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1585', '1579', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1584', '1578', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1583', '1577', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1582', '1576', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1581', '1575', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1580', '1574', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1579', '1573', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1578', '1572', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1577', '1571', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1576', '1570', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1575', '1569', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1574', '1568', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1573', '1567', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1572', '1566', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1571', '1565', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1570', '1564', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1569', '1563', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1568', '1562', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1567', '1561', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1566', '1560', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1565', '1559', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1564', '1558', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1563', '1557', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1562', '1556', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1561', '1555', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1560', '1554', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1559', '1553', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1558', '1552', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1557', '1551', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1556', '1550', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1555', '1549', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1554', '1548', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1553', '1547', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1552', '1546', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1551', '1545', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1550', '1544', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1549', '1543', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1548', '1542', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1547', '1541', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1546', '1540', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1545', '1539', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1544', '1538', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1543', '1537', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1542', '1536', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1541', '1535', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1540', '1534', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1539', '1533', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1538', '1532', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1537', '1531', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1536', '1530', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1535', '1529', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1534', '1528', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1533', '1527', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1532', '1526', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1531', '1525', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1530', '1524', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1529', '1523', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1528', '1522', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1527', '1521', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1526', '1520', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1525', '1519', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1524', '1518', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1523', '1517', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1522', '1516', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1521', '1515', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1520', '1514', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1519', '1513', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1518', '1512', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1517', '1511', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1516', '1510', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1515', '1509', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1514', '1508', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1513', '1507', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1512', '1506', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1511', '1505', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1510', '1504', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1509', '1503', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1508', '1502', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1507', '1501', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1506', '1500', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1505', '1499', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1504', '1498', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1503', '1497', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1502', '1496', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1501', '1495', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1500', '1494', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1499', '1493', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1498', '1492', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1497', '1491', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1496', '1490', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1495', '1489', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1494', '1488', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1493', '1487', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1492', '1486', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1491', '1485', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1490', '1484', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1489', '1483', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1488', '1482', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1487', '1481', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1486', '1480', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1485', '1479', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1484', '1478', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1483', '1477', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1482', '1476', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1481', '1475', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1480', '1474', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1479', '1473', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1478', '1472', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1477', '1471', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1476', '1470', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1475', '1469', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1474', '1468', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1473', '1467', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1472', '1466', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1471', '1465', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1470', '1464', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1469', '1463', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1468', '1462', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1467', '1461', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1466', '1460', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1465', '1459', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1464', '1458', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1463', '1457', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1462', '1456', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1461', '1455', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1460', '1454', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1459', '1453', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1458', '1452', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1457', '1451', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1456', '1450', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1455', '1449', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1454', '1448', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1453', '1447', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1452', '1446', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1451', '1445', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1450', '1444', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1449', '1443', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1448', '1442', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1447', '1441', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1446', '1440', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1445', '1439', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1444', '1438', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1443', '1437', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1442', '1436', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1441', '1435', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1440', '1434', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1439', '1433', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1438', '1432', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1437', '1431', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1436', '1430', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1435', '1429', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1434', '1428', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1433', '1427', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1432', '1426', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1431', '1425', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1430', '1424', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1429', '1423', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1428', '1422', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1427', '1421', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1426', '1420', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1425', '1419', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1424', '1418', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1423', '1417', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1422', '1416', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1421', '1415', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1420', '1414', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1419', '1413', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1418', '1412', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1417', '1411', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1416', '1410', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1415', '1409', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1414', '1408', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1413', '1407', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1412', '1406', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1411', '1405', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1410', '1404', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1409', '1403', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1408', '1402', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1407', '1401', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1406', '1400', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1405', '1399', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1404', '1398', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1403', '1397', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1402', '1396', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1401', '1395', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1400', '1394', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1399', '1393', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1398', '1392', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1397', '1391', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1396', '1390', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1395', '1389', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1394', '1388', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1393', '1387', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1392', '1386', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1391', '1385', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1390', '1384', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1389', '1383', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1388', '1382', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1387', '1381', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1386', '1380', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1385', '1379', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1384', '1378', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1383', '1377', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1382', '1376', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1381', '1375', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1380', '1374', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1379', '1373', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1378', '1372', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1377', '1371', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1376', '1370', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1375', '1369', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1374', '1368', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1373', '1367', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1372', '1366', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1371', '1365', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1370', '1364', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1369', '1363', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1368', '1362', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1367', '1361', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1366', '1360', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1365', '1359', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1364', '1358', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1363', '1357', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1362', '1356', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1361', '1355', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1360', '1354', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1359', '1353', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1358', '1352', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1357', '1351', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1356', '1350', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1355', '1349', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1354', '1348', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1353', '1347', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1352', '1346', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1351', '1345', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1350', '1344', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1349', '1343', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1348', '1342', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1347', '1341', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1346', '1340', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1345', '1339', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1344', '1338', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1343', '1337', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1342', '1336', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1341', '1335', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1340', '1334', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1339', '1333', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1338', '1332', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1337', '1331', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1336', '1330', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1335', '1329', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1334', '1328', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1333', '1327', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1332', '1326', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1331', '1325', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1330', '1324', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1329', '1323', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1328', '1322', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1327', '1321', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1326', '1320', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1325', '1319', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1324', '1318', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1323', '1317', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1322', '1316', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1321', '1315', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1320', '1314', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1319', '1313', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1318', '1312', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1317', '1311', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1316', '1310', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1315', '1309', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1314', '1308', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1313', '1307', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1312', '1306', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1311', '1305', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1310', '1304', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1309', '1303', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1308', '1302', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1307', '1301', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1306', '1300', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1305', '1299', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1304', '1298', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1303', '1297', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1302', '1296', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1301', '1295', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1300', '1294', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1299', '1293', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1298', '1292', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1297', '1291', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1296', '1290', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1295', '1289', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1294', '1288', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1293', '1287', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1292', '1286', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1291', '1285', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1290', '1284', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1289', '1283', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1288', '1282', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1287', '1281', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1286', '1280', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1285', '1279', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1284', '1278', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1283', '1277', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1282', '1276', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1281', '1275', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1280', '1274', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1279', '1273', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1278', '1272', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1277', '1271', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1276', '1270', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1275', '1269', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1274', '1268', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1273', '1267', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1272', '1266', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1271', '1265', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1270', '1264', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1269', '1263', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1268', '1262', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1267', '1261', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1266', '1260', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1265', '1259', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1264', '1258', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1263', '1257', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1262', '1256', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1261', '1255', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1260', '1254', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1259', '1253', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1258', '1252', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1257', '1251', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1256', '1250', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1255', '1249', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1254', '1248', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1253', '1247', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1252', '1246', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1251', '1245', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1250', '1244', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1249', '1243', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1248', '1242', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1247', '1241', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1246', '1240', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1245', '1239', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1244', '1238', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1243', '1237', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1242', '1236', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1241', '1235', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1240', '1234', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1239', '1233', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1238', '1232', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1237', '1231', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1236', '1230', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1235', '1229', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1234', '1228', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1233', '1227', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1232', '1226', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1231', '1225', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1230', '1224', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1229', '1223', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1228', '1222', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1227', '1221', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1226', '1220', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1225', '1219', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1224', '1218', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1223', '1217', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1222', '1216', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1221', '1215', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1220', '1214', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1219', '1213', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1218', '1212', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1217', '1211', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1216', '1210', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1215', '1209', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1214', '1208', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1213', '1207', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1212', '1206', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1211', '1205', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1210', '1204', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1209', '1203', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1208', '1202', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1207', '1201', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1206', '1200', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1205', '1199', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1204', '1198', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1203', '1197', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1202', '1196', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1201', '1195', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1200', '1194', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1199', '1193', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1198', '1192', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1197', '1191', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1196', '1190', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1195', '1189', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1194', '1188', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1193', '1187', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1192', '1186', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1191', '1185', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1190', '1184', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1189', '1183', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1188', '1182', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1187', '1181', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1186', '1180', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1185', '1179', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1184', '1178', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1183', '1177', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1182', '1176', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1181', '1175', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1180', '1174', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1179', '1173', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1178', '1172', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1177', '1171', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1176', '1170', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1175', '1169', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1174', '1168', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1173', '1167', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1172', '1166', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1171', '1165', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1170', '1164', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1169', '1163', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1168', '1162', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1167', '1161', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1166', '1160', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1165', '1159', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1164', '1158', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1163', '1157', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1162', '1156', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1161', '1155', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1160', '1154', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1159', '1153', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1158', '1152', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1157', '1151', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1156', '1150', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1155', '1149', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1154', '1148', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1153', '1147', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1152', '1146', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1151', '1145', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1150', '1144', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1149', '1143', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1148', '1142', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1147', '1141', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1146', '1140', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1145', '1139', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1144', '1138', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1143', '1137', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1142', '1136', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1141', '1135', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1140', '1134', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1139', '1133', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1138', '1132', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1137', '1131', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1136', '1130', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1135', '1129', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1134', '1128', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1133', '1127', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1132', '1126', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1131', '1125', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1130', '1124', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1129', '1123', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1128', '1122', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1127', '1121', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1126', '1120', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1125', '1119', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1124', '1118', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1123', '1117', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1122', '1116', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1121', '1115', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1120', '1114', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1119', '1113', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1118', '1112', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1117', '1111', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1116', '1110', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1115', '1109', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1114', '1108', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1113', '1107', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1112', '1106', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1111', '1105', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1110', '1104', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1109', '1103', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1108', '1102', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1107', '1101', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1106', '1100', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1105', '1099', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1104', '1098', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1103', '1097', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1102', '1096', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1101', '1095', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1100', '1094', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1099', '1093', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1098', '1092', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1097', '1091', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1096', '1090', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1095', '1089', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1094', '1088', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1093', '1087', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1092', '1086', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1091', '1085', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1090', '1084', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1089', '1083', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1088', '1082', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1087', '1081', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1086', '1080', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1085', '1079', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1084', '1078', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1083', '1077', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1082', '1076', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1081', '1075', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1080', '1074', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1079', '1073', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1078', '1072', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1077', '1071', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1076', '1070', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1075', '1069', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1074', '1068', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1073', '1067', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1072', '1066', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1071', '1065', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1070', '1064', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1069', '1063', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1068', '1062', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1067', '1061', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1066', '1060', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1065', '1059', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1064', '1058', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1063', '1057', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1062', '1056', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1061', '1055', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1060', '1054', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1059', '1053', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1058', '1052', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1057', '1051', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1056', '1050', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1055', '1049', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1054', '1048', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1053', '1047', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1052', '1046', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1051', '1045', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1050', '1044', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1049', '1043', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1048', '1042', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1047', '1041', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1046', '1040', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1045', '1039', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1044', '1038', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1043', '1037', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1042', '1036', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1041', '1035', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1040', '1034', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1039', '1033', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1038', '1032', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1037', '1031', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1036', '1030', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1035', '1029', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1034', '1028', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1033', '1027', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1032', '1026', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1031', '1025', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1030', '1024', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1029', '1023', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1028', '1022', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1027', '1021', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1026', '1020', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1025', '1019', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1024', '1018', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1023', '1017', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1022', '1016', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1021', '1015', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1020', '1014', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1019', '1013', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1018', '1012', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1017', '1011', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1016', '1010', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1015', '1009', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1014', '1008', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1013', '1007', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1012', '1006', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1011', '1005', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1010', '1004', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1009', '1003', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1008', '1002', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1007', '1001', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1006', '1000', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1005', '999', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1004', '998', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1003', '997', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1002', '996', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1001', '995', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1000', '994', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('999', '993', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('998', '992', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('997', '991', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('996', '990', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('995', '989', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('994', '988', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('993', '987', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('992', '986', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('991', '985', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('990', '984', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('989', '983', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('988', '982', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('987', '981', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('986', '980', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('985', '979', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('984', '978', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('983', '977', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('982', '976', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('981', '975', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('980', '974', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('979', '973', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('978', '972', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('977', '971', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('976', '970', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('975', '969', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('974', '968', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('973', '967', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('972', '966', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('971', '965', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('970', '964', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('969', '963', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('968', '962', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('967', '961', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('966', '960', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('965', '959', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('964', '958', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('963', '957', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('962', '956', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('961', '955', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('960', '954', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('959', '953', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('958', '952', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('957', '951', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('956', '950', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('955', '949', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('954', '948', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('953', '947', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('952', '946', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('951', '945', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('950', '944', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('949', '943', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('948', '942', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('947', '941', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('946', '940', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('945', '939', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('944', '938', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('943', '937', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('942', '936', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('941', '935', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('940', '934', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('939', '933', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('938', '932', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('937', '931', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('936', '930', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('935', '929', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('934', '928', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('933', '927', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('932', '926', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('931', '925', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('930', '924', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('929', '923', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('928', '922', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('927', '921', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('926', '920', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('925', '919', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('924', '918', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('923', '917', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('922', '916', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('921', '915', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('920', '914', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('919', '913', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('918', '912', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('917', '911', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('916', '910', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('915', '909', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('914', '908', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('913', '907', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('912', '906', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('911', '905', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('910', '904', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('909', '903', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('908', '902', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('907', '901', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('906', '900', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('905', '899', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('904', '898', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('903', '897', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('902', '896', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('901', '895', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('884', '884', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('885', '1', '1', '1');
INSERT INTO `x2_quest2knows` VALUES ('886', '2', '1', '1');
INSERT INTO `x2_quest2knows` VALUES ('900', '894', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('888', '888', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('889', '4', '1', '1');
INSERT INTO `x2_quest2knows` VALUES ('899', '893', '1', '0');
INSERT INTO `x2_quest2knows` VALUES ('1785', '1777', '1', '0');
-- ----------------------------
-- Table structure for `x2_questionanalysis`
-- ----------------------------
DROP TABLE IF EXISTS `x2_questionanalysis`;
CREATE TABLE `x2_questionanalysis` (
`qaid` int(11) NOT NULL AUTO_INCREMENT,
`qabasicid` int(11) DEFAULT NULL,
`qaquestionid` int(11) DEFAULT NULL,
`qauserid` int(11) DEFAULT NULL,
`qanumber` int(11) DEFAULT NULL,
`qarightnumber` int(11) DEFAULT NULL,
`qawrongnumber` int(11) DEFAULT NULL,
`qalasttime` int(11) DEFAULT NULL,
`qafirststatus` int(1) DEFAULT NULL,
`qalaststatus` int(1) DEFAULT NULL,
`qarate` int(11) DEFAULT NULL,
`qaqnparent` int(11) DEFAULT NULL,
PRIMARY KEY (`qaid`),
KEY `qabasicid` (`qabasicid`),
KEY `qaquestionid` (`qaquestionid`),
KEY `qauserid` (`qauserid`)
) ENGINE=MyISAM AUTO_INCREMENT=108030 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_questionanalysis
-- ----------------------------
-- ----------------------------
-- Table structure for `x2_questionrows`
-- ----------------------------
DROP TABLE IF EXISTS `x2_questionrows`;
CREATE TABLE `x2_questionrows` (
`qrid` int(11) NOT NULL AUTO_INCREMENT,
`qrtype` tinyint(4) NOT NULL DEFAULT '2',
`qrquestion` mediumtext NOT NULL,
`qrknowsid` tinytext NOT NULL,
`qrlevel` int(1) NOT NULL DEFAULT '0',
`qrnumber` int(4) NOT NULL DEFAULT '0',
`qruserid` int(11) NOT NULL DEFAULT '0',
`qrusername` varchar(120) NOT NULL DEFAULT '',
`qrlastmodifyuser` varchar(120) NOT NULL DEFAULT '',
`qrtime` int(11) NOT NULL DEFAULT '0',
`qrstatus` tinyint(1) NOT NULL DEFAULT '1',
PRIMARY KEY (`qrid`),
KEY `qrlevel` (`qrlevel`,`qrnumber`),
KEY `qruserid` (`qruserid`),
KEY `qrtime` (`qrtime`),
KEY `qrstatus` (`qrstatus`),
KEY `qrtype` (`qrtype`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_questionrows
-- ----------------------------
INSERT INTO `x2_questionrows` VALUES ('5', '1', '<p>sa的撒大苏打撒</p>', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1', '1', '0', '', '', '1513608081', '1');
-- ----------------------------
-- Table structure for `x2_questions`
-- ----------------------------
DROP TABLE IF EXISTS `x2_questions`;
CREATE TABLE `x2_questions` (
`questionid` int(11) NOT NULL AUTO_INCREMENT,
`questiontype` int(3) NOT NULL DEFAULT '0',
`question` text NOT NULL,
`questionuserid` int(11) NOT NULL DEFAULT '0',
`questionusername` varchar(120) NOT NULL DEFAULT '',
`questionlastmodifyuser` varchar(120) NOT NULL DEFAULT '',
`questionselect` text NOT NULL,
`questionselectnumber` tinyint(11) NOT NULL DEFAULT '0',
`questionanswer` text NOT NULL,
`questiondescribe` text NOT NULL,
`questionknowsid` text NOT NULL,
`questioncreatetime` int(11) NOT NULL DEFAULT '0',
`questionstatus` int(1) NOT NULL DEFAULT '1',
`questionhtml` text NOT NULL,
`questionparent` int(11) NOT NULL DEFAULT '0',
`questionsequence` int(3) NOT NULL DEFAULT '0',
`questionlevel` int(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`questionid`),
KEY `questioncreatetime` (`questioncreatetime`),
KEY `questiontype` (`questiontype`),
KEY `questionstatus` (`questionstatus`),
KEY `questionuserid` (`questionuserid`),
KEY `questionparent` (`questionparent`,`questionsequence`),
KEY `questionlevel` (`questionlevel`)
) ENGINE=MyISAM AUTO_INCREMENT=1778 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_questions
-- ----------------------------
INSERT INTO `x2_questions` VALUES ('1700', '1', '我国最早的军校出现于', '0', '', '', '<p>A:唐代</p><p>B:宋代</p><p>C:民国</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1699', '1', '到2003年4月2日为止,有群众用游行方式支持英美联军对伊拉克共和国采取军事行动的唯一一个国家是:', '0', '', '', '<p>A:美国</p><p>B:英国</p><p>C:伊朗</p><p>D:科威特</p><p>E:以色列</p>', '5', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1698', '1', '以下哪位不属于唐宋八大家?', '0', '', '', '<p>A:苏洵</p><p>B:曾巩</p><p>C:杜牡</p><p>D:柳宗元</p><p>E:王安石</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1697', '1', '伊拉克共和国成立于哪一年?', '0', '', '', '<p>A:1921年5月</p><p>B:1945年8月</p><p>C:1958年7月</p><p>D:1964年11月</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1696', '1', '中国清末最早的海军学堂是', '0', '', '', '<p>A:京师大学堂</p><p>B:船政学堂</p><p>C:武备学堂</p><p>D:水师学堂</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1695', '1', '命名“好望角”的人是:', '0', '', '', '<p>A:哥伦布</p><p>B:麦哲伦</p><p>C:达伽马</p><p>D:迪亚士</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1694', '1', '世界上第一枚邮票诞生在', '0', '', '', '<p>A:美国</p><p>B:英国</p><p>C:法国</p><p>D:中国</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1693', '1', '北京是( )命名的。', '0', '', '', '<p>A:元朝</p><p>B:明朝</p><p>C:清朝</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1692', '1', '第一个到达南极的人是哪国人?', '0', '', '', '<p>A:美国人</p><p>B:挪威人</p><p>C:英国人</p><p>D:俄国人</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1691', '1', '1840年5月6日英国发行了世界上第一枚邮票,它被称为', '0', '', '', '<p>A:黑便士</p><p>B:红便士</p><p>C:蓝便士</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1690', '1', '满汉全席始于_________年间,至今已二百余年。全席中热菜134道,冷荤48道及不计其数的点心、水果等。如此众多的菜肴,需分三天(六次)才能吃全。', '0', '', '', '<p>A:乾隆</p><p>B:康熙</p><p>C:雍正</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1689', '1', '公元618-907年是我国古代哪个朝代', '0', '', '', '<p>A:宋</p><p>B:唐</p><p>C:汉</p><p>D:春秋</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1688', '1', '世界最早的校园歌曲出现在', '0', '', '', '<p>A:美国</p><p>B:台湾</p><p>C:日本</p><p>D:英国</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1687', '1', '“建元”是我国那个皇帝使用的年号', '0', '', '', '<p>A:秦皇帝</p><p>B:汉武帝</p><p>C:唐太宗</p><p>D:元太祖</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1686', '1', '宋庆龄在什么时候从布鲁塞尔参加国际反帝同盟大会归来后满脸忧国忧民?', '0', '', '', '<p>A:1926年6月7日</p><p>B:1925年5月22日</p><p>C:1929年5月16日</p><p>D:1929年6月15日</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1685', '1', '唐朝时的师子国是今天的:', '0', '', '', '<p>A:越南</p><p>B:伊朗</p><p>C:斯里兰卡</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1684', '1', '美国发动海湾战争的最根本目的是:', '0', '', '', '<p>A:打击恐怖势力</p><p>B:争夺石油资源</p><p>C:解放伊拉克人民被独裁的苦难</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1683', '1', '迷你裙通常又称超短裙,可以说是裙装款式中的“长青树”,女性穿上这种裙子后既显示出青春魅力,又富有浓郁的时代感,你知道迷你裙是由_________国人发明的吗?', '0', '', '', '<p>A:美</p><p>B:英</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1682', '1', '在古代,谁采取“明修栈道,暗渡陈仓”的计策,平定三秦?', '0', '', '', '<p>A:萧何</p><p>B:韩信</p><p>C:张良</p><p>D:诸葛亮</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1681', '1', '纪晓岚是我国哪个朝代上的才子', '0', '', '', '<p>A:唐朝</p><p>B:宋朝</p><p>C:明朝</p><p>D:清朝</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1680', '1', '是谁在1926年7月22日为处理英国退还部分庚子赔款而奔波?', '0', '', '', '<p>A:桑秋</p><p>B:洛迪克</p><p>C:胡适</p><p>D:徐悲洪</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1679', '1', '第一个打破世界纪录的中国人是', '0', '', '', '<p>A:刘长春</p><p>B:许海峰</p><p>C:陈镜开</p><p>D:李富荣</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1678', '1', '故宫的“正大光明”匾额由( )书写。', '0', '', '', '<p>A:顺治皇帝</p><p>B:康熙皇帝</p><p>C:乾隆皇帝</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1677', '1', '以下不是我国近代签定的不平等条约的是:', '0', '', '', '<p>A:尼布楚条约</p><p>B:满洲里条约</p><p>C:瑷珲条约</p><p>D:伊犁条约</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1676', '1', '霸王龙生活在哪个时期?', '0', '', '', '<p>A:远古</p><p>B:三叠纪</p><p>C:侏罗纪</p><p>D:白垩纪</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1675', '1', '石达开最后兵败于:', '0', '', '', '<p>A:贵州省</p><p>B:四川省</p><p>C:湖南省</p><p>D:云南省</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1674', '1', '诺曼底登陆发生于1944年:', '0', '', '', '<p>A:6月1日</p><p>B:6月6日</p><p>C:5月30日</p><p>D:5月27日</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1673', '1', '“百货商场”这个名词来源于哪?', '0', '', '', '<p>A:商品齐全</p><p>B:历史传说</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1672', '1', '二战结束时日本的投降签字仪式在哪所战舰上进行:', '0', '', '', '<p>A:密苏里号</p><p>B:企业号</p><p>C:罗斯福号</p><p>D:黄蜂号</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1671', '1', '郑和共几次下西洋?', '0', '', '', '<p>A:5</p><p>B:7</p><p>C:9</p><p>D:11</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1670', '1', '欧洲中世纪什么样的人不能佩带钻石', '0', '', '', '<p>A:皇室</p><p>B:商人</p><p>C:贵族</p><p>D:教士</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1669', '1', '灭亡宋朝的势力是:', '0', '', '', '<p>A:辽</p><p>B:金</p><p>C:西夏</p><p>D:蒙古</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1668', '1', '天安门原名为:', '0', '', '', '<p>A:承天门</p><p>B:午门</p><p>C:广安门</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1667', '1', '我国建成的第一座长江大桥是:', '0', '', '', '<p>A:南京长江大桥</p><p>B:武汉长江大桥</p><p>C:重庆长江大桥</p><p>D:九江长江大桥</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1666', '1', '第二次海湾战争开始于哪一天:', '0', '', '', '<p>A:2001年3月1日</p><p>B:2002年6月23日</p><p>C:2003年3月20日</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1665', '1', '“馒头”的发明者是谁?', '0', '', '', '<p>A:诸葛亮</p><p>B:朱元璋</p><p>C:神农氏</p><p>D:岳飞</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1664', '1', '下列人物谁被捕于皖南事变?', '0', '', '', '<p>A:叶挺</p><p>B:贺龙</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1663', '1', '张爱玲于哪一年逝世?', '0', '', '', '<p>A:1993</p><p>B:1994</p><p>C:1995</p><p>D:1996</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1662', '1', '德国心理学家冯特于哪一年建立了世界上第一个心理实验室?', '0', '', '', '<p>A:1897</p><p>B:1798</p><p>C:1879</p><p>D:1789</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1661', '1', '号称“初唐四杰”的有王勃、卢照邻、骆宾王及', '0', '', '', '<p>A:杨炯</p><p>B:王勃</p><p>C:卢纶</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1659', '1', '第一个北京猿人头盖骨发现于哪一年', '0', '', '', '<p>A:1927年</p><p>B:1928年</p><p>C:1929年</p><p>D:1930年</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1660', '1', '中英〈南京条约〉是中国近代史上第一个不平等条约,哪一年签定的', '0', '', '', '<p>A:1841年</p><p>B:1842年</p><p>C:1844年</p><p>D:1860年</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1658', '1', '下列曾用名中,哪个不是周恩来的', '0', '', '', '<p>A:伍豪</p><p>B:飞飞</p><p>C:冠生</p><p>D:周道</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1657', '1', '司马光,司马迁,司马昭,司马懿,哪位司马先生出生最早', '0', '', '', '<p>A:司马光</p><p>B:司马迁</p><p>C:司马昭</p><p>D:司马懿</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1656', '1', '日本是哪年偷袭美国的珍珠港', '0', '', '', '<p>A:1939</p><p>B:1941</p><p>C:1945</p><p>D:1947</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1655', '1', '北京最早建成是什么朝代?', '0', '', '', '<p>A:宋</p><p>B:金</p><p>C:西周</p><p>D:清</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1654', '1', '世界上第一次实测子午线长度的我国古代科学家是', '0', '', '', '<p>A:郭守敬</p><p>B:徐光启</p><p>C:僧一行</p><p>D:祖冲之</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1653', '1', '第一届冬奥会于哪年举行即夏蒙尼冬奥会', '0', '', '', '<p>A:1920</p><p>B:1924</p><p>C:1928</p><p>D:1932</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1652', '1', '袁世凯做了几天的皇帝?', '0', '', '', '<p>A:83天</p><p>B:96天</p><p>C:103天</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1651', '1', '指挥雁宿崖、黄土岭战斗,歼灭日军“名将之花”阿部规秀中将旅团长的是我军将领( )。', '0', '', '', '<p>A:徐向前</p><p>B:聂荣臻</p><p>C:罗荣桓</p><p>D:林彪</p><p>E:叶剑英</p>', '5', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1650', '1', '我国科举制度上最后一位状元是( )。', '0', '', '', '<p>A:左宗棠</p><p>B:刘师曾</p><p>C:张之洞</p><p>D:刘春霖</p><p>E:翁同和</p>', '5', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1649', '1', '新中国成立时共鸣放礼炮( )。', '0', '', '', '<p>A:21响</p><p>B:28响</p><p>C:54响</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1648', '1', '中国传说中的炎帝中的“炎”是代表( )。', '0', '', '', '<p>A:日月星辰中的太阳</p><p>B:阴阳五行中的火</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1647', '1', '盛唐时期被称为( )。', '0', '', '', '<p>A:贞观之治</p><p>B:开元之治</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1646', '1', '地雷最早出现在( )。', '0', '', '', '<p>A:唐代</p><p>B:宋代</p><p>C:元代</p><p>D:明代</p><p>E:清代</p>', '5', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1645', '1', '秦始皇时代将( )作为标准文字。', '0', '', '', '<p>A:甲骨文</p><p>B:隶书</p><p>C:楷书</p><p>D:小篆</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1644', '1', '1988年从( )开始,天安门城楼向中外游客开放。', '0', '', '', '<p>A:元旦</p><p>B:劳动节</p><p>C:国庆节</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1643', '1', '跆拳道起源于1500年前( )的武术。', '0', '', '', '<p>A:日本</p><p>B:韩国</p><p>C:泰国</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1641', '1', '吃元宵始于哪个朝代', '0', '', '', '<p>A:元朝</p><p>B:宋朝</p><p>C:清朝</p><p>D:明朝</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1642', '1', '明朝北京常走兵车的是哪个城门', '0', '', '', '<p>A:朝阳门</p><p>B:宣武门</p><p>C:西直门</p><p>D:德胜门</p><p>E:阜成门</p>', '5', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1640', '1', '清宣宗在位时的年号为', '0', '', '', '<p>A:康熙</p><p>B:乾隆</p><p>C:道光</p><p>D:光绪</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1639', '1', '武则天登基后,改国号为', '0', '', '', '<p>A:夏</p><p>B:商</p><p>C:周</p><p>D:唐</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1638', '1', '国际奥委会会旗是哪个国家于1920年赠送的?', '0', '', '', '<p>A:美国</p><p>B:瑞士</p><p>C:挪威</p><p>D:日本</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1637', '1', '蒋介石出生于何地?', '0', '', '', '<p>A:奉化</p><p>B:余姚</p><p>C:绍兴</p><p>D:海宁</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1636', '3', '公元1900年是闰年', '0', '', '', '<p>A:对</p><p>B:错</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1635', '1', '清朝最后一个皇帝是谁?', '0', '', '', '<p>A:乾隆</p><p>B:道光</p><p>C:光绪</p><p>D:宣统</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1634', '1', '开国大典在1949年10月1日几时开始的?', '0', '', '', '<p>A:8时</p><p>B:10时</p><p>C:12时</p><p>D:15时</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1633', '1', '开国大典时共放了多礼炮?', '0', '', '', '<p>A:12</p><p>B:18</p><p>C:25</p><p>D:28</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1631', '1', '哪一种恐龙最小?', '0', '', '', '<p>A:三角龙</p><p>B:细颚龙</p><p>C:锯齿龙</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1632', '1', '最像鸟的恐龙是哪一种?', '0', '', '', '<p>A:翼龙</p><p>B:似鸟龙</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1630', '1', '世界上最早的报纸诞生于', '0', '', '', '<p>A:英国</p><p>B:意大利</p><p>C:法国</p><p>D:中国</p><p>E:希腊</p>', '5', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1629', '1', '史料记载,内地和台湾最早的交流是', '0', '', '', '<p>A:秦</p><p>B:西汉</p><p>C:东汉</p><p>D:三国</p><p>E:唐</p><p>F:元</p>', '6', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1628', '1', '我国抗日时期的八路军又称为', '0', '', '', '<p>A:红军</p><p>B:新四军</p><p>C:第八集团军</p><p>D:第十八集团军</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1627', '1', '我国最早的银币(银布币)出现于什么时候?', '0', '', '', '<p>A:西周</p><p>B:春秋</p><p>C:战国</p><p>D:汉朝</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1626', '1', '元宝始创于我国哪个朝代?', '0', '', '', '<p>A:唐朝</p><p>B:宋朝</p><p>C:元朝</p><p>D:明朝</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1625', '1', '我国宋朝采用什么样的兵役制度?', '0', '', '', '<p>A:义务兵役制</p><p>B:志愿兵役制</p><p>C:雇佣兵役制</p><p>D:终身兵役制</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1624', '1', '李龟年是哪个朝代的乐师', '0', '', '', '<p>A:南宋</p><p>B:明</p><p>C:清</p><p>D:唐</p><p>E:元</p>', '5', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1623', '1', '秦二世是谁?', '0', '', '', '<p>A:胡亥</p><p>B:扶苏</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1622', '1', '封建社会存在了多少年?', '0', '', '', '<p>A:1800</p><p>B:1900</p><p>C:2000</p><p>D:2100</p><p>E:2200</p>', '5', 'E', 'E', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1621', '1', '守岁作为春节期间最重要的内容,这个习俗始于哪个朝代?', '0', '', '', '<p>A:唐朝</p><p>B:宋朝</p><p>C:元朝</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1620', '1', '“贺年片”最早出现在哪个国家?', '0', '', '', '<p>A:英国</p><p>B:中国 (宋元时期)</p><p>C:法国</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1619', '1', '我国贴春联始于哪个朝代?', '0', '', '', '<p>A:汉朝</p><p>B:唐朝</p><p>C:五代</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1617', '1', '英国王妃戴安娜是在哪一年去世', '0', '', '', '<p>A:1996</p><p>B:1997</p><p>C:1998</p><p>D:1999</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1618', '1', '绯闻最多的美国总统是', '0', '', '', '<p>A:罗斯福</p><p>B:肯尼迪</p><p>C:约翰逊</p><p>D:克林顿</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1616', '1', '元杂剧的“楔子”即', '0', '', '', '<p>A:序幕</p><p>B:高潮</p><p>C:尾声</p><p>D:一种道具</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1615', '1', '拼音中四声起于', '0', '', '', '<p>A:汉</p><p>B:唐</p><p>C:宋</p><p>D:元</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1613', '1', '嵇康是哪一时期的琴家', '0', '', '', '<p>A:夏周</p><p>B:秦汉</p><p>C:三国</p><p>D:五代</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1614', '1', '唐代的乐队,使用的主要乐器是', '0', '', '', '<p>A:笛</p><p>B:鼓</p><p>C:琵琶</p><p>D:埙</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1612', '1', '文字狱是清朝哪位皇帝兴起的', '0', '', '', '<p>A:康熙</p><p>B:顺治</p><p>C:雍正</p><p>D:乾隆</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1611', '1', '最早的风筝用于战争是在哪个朝代?', '0', '', '', '<p>A:春秋战国</p><p>B:楚汉争霸时期</p><p>C:宋朝</p><p>D:五代</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1610', '1', '1999年11月15日,中美双方在哪里签署了关于中国加入世贸组织的双边协议?', '0', '', '', '<p>A:北京</p><p>B:多哈</p><p>C:华盛顿</p><p>D:西雅图</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1609', '1', '中国复关变成了入世,这前前后后历经了多少年的时间,充满了各种各样的挑战。', '0', '', '', '<p>A:15年多</p><p>B:12年</p><p>C:13年</p><p>D:11年</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1608', '1', '黄埔军校成立时,担任党代表的是?', '0', '', '', '<p>A:周恩来</p><p>B:恽代英</p><p>C:萧楚女</p><p>D:廖仲恺</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1607', '1', '1945年日本政府正式宣布无条件投降的时间是?', '0', '', '', '<p>A:8月14日</p><p>B:8月15日</p><p>C:9月2日</p><p>D:9月3日</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1606', '1', '人民解放军解放全国在陆的时间是?', '0', '', '', '<p>A:1949年10月</p><p>B:1950年5月</p><p>C:1951年5月</p><p>D:1951年10月</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1605', '2', '"大跃进"运动和人民公社化运动中"左"倾错误的主要标志是?(多选)', '0', '', '', '<p>A:高指标</p><p>B:瞎指挥</p><p>C:浮夸风</p><p>D:“共产风”</p>', '4', 'ACD', 'ACD', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1604', '1', '1947年国民党反动派残酷镇压国统区“反饥饿、反内战、反迫害”的学生运动,制造的流血惨案是?', '0', '', '', '<p>A:一二.一惨案</p><p>B:较场口惨案</p><p>C:五二O惨案</p><p>D:下关惨案</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1603', '1', '中国近代史上睁眼看世界的第一人是?', '0', '', '', '<p>A:龚自珍</p><p>B:林则徐</p><p>C:马建忠</p><p>D:薛福成</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1601', '1', '《王二小》在山坡上放什么动物,来给游击队放哨?', '0', '', '', '<p>A:羊</p><p>B:牛</p><p>C:鸭</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1602', '1', '放“鞭炮”这个传统习俗,可有很久的历史了,但花炮的制作形成规模是在哪个朝代?', '0', '', '', '<p>A:唐朝</p><p>B:宋朝</p><p>C:明朝</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1600', '1', '涮羊肉的创始者是谁?', '0', '', '', '<p>A:成吉思汗</p><p>B:李世民</p><p>C:忽必烈</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1599', '1', '中国古代的一个时辰代表现在的多少时间?', '0', '', '', '<p>A:1小时</p><p>B:2小时</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1598', '1', '请问八达岭万里长城是由哪个朝代所建?', '0', '', '', '<p>A:宋朝</p><p>B:明朝</p><p>C:秦始皇</p><p>D:春秋战国</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1596', '1', '陈毅同志出生于:', '0', '', '', '<p>A:1901.8.26</p><p>B:1901.8.27</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1597', '1', '下列哪一事件具有政变性质:', '0', '', '', '<p>A:七国之乱</p><p>B:土木之变</p><p>C:靖康之变</p><p>D:陈桥兵变</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1595', '1', '前奥委会主席萨马兰奇出生于:', '0', '', '', '<p>A:1920.7.17</p><p>B:1921.8.18</p><p>C:1923.9.19</p><p>D:1924.10.20</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1594', '1', '新慕尼黑机场启用时间是:', '0', '', '', '<p>A:1993.5.18</p><p>B:1990.7.16</p><p>C:1992.5.17</p><p>D:1996.7.15</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1593', '1', '我国的奴隶社会开始于', '0', '', '', '<p>A:黄帝时代</p><p>B:尧舜禹时代</p><p>C:夏</p><p>D:商</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1592', '1', '历史之父指的是', '0', '', '', '<p>A:哀思库罗斯</p><p>B:阿里斯托芬</p><p>C:希罗多德</p><p>D:伯里克利</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1591', '1', '下列哪项不是嬉皮士的典型装扮', '0', '', '', '<p>A:长发</p><p>B:喇叭裤</p><p>C:花衬衫</p><p>D:松糕鞋</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1590', '1', '马拉松比赛最初的长度以城市马拉松到哪里的距离为准', '0', '', '', '<p>A:雅典</p><p>B:斯巴达</p><p>C:特洛伊</p><p>D:罗马</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1589', '1', '黄帝氏族以什么为图腾', '0', '', '', '<p>A:风</p><p>B:云</p><p>C:雨</p><p>D:雷</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1588', '1', '下述哪种武器不属中世纪骑士的必需装备', '0', '', '', '<p>A:盾牌</p><p>B:长矛</p><p>C:剑</p><p>D:弓箭</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1587', '1', '屈原是投哪条江自尽的', '0', '', '', '<p>A:汨罗江</p><p>B:长江</p><p>C:淮河</p><p>D:丽江</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1585', '1', '下列哪位国王曾放下屠刀,立地成佛', '0', '', '', '<p>A:阿育王</p><p>B:所罗门王</p><p>C:大流士</p><p>D:冈比西斯</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1586', '1', '古奥林匹克竞赛优胜者要戴上用什么编成的王冠', '0', '', '', '<p>A:百合花</p><p>B:柳条</p><p>C:橄榄枝</p><p>D:月桂</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1584', '1', '孟尝君招收到门下的人才称为', '0', '', '', '<p>A:饭客</p><p>B:食客</p><p>C:刺客</p><p>D:吃客</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1583', '1', '甘罗多大年纪成为相国', '0', '', '', '<p>A:十岁</p><p>B:十一岁</p><p>C:十二岁</p><p>D:十三岁</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1582', '1', '古印度的种姓制度中哪一个地位最低', '0', '', '', '<p>A:婆罗门</p><p>B:刹帝利</p><p>C:吠舍</p><p>D:首陀罗</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1581', '1', '五粮液酒历次蝉联“国家名酒”金奖,九一年被评为中国“十大驰名商标”;继1915年获巴拿马金奖八十年之后,1995年再获巴拿马国际贸易博览会酒类唯一金奖。我国的五粮液最早酿造是在_________朝。', '0', '', '', '<p>A:元</p><p>B:宋</p><p>C:明</p><p>D:清</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1580', '1', '“宁可枉杀千人,不可使一人漏网”是谁的口号?', '0', '', '', '<p>A:蒋介石</p><p>B:汪精卫</p><p>C:何应钦</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1579', '1', '希腊神话中赫拉也就是罗马神话中的:', '0', '', '', '<p>A:朱诺</p><p>B:黛安娜</p><p>C:朱彼得</p><p>D:维纳斯</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1578', '1', '“五虎将”是指', '0', '', '', '<p>A:关羽、张飞、赵云、魏延、王平</p><p>B:张飞、赵云、马超、王平、刘备</p><p>C:关羽、马超、黄忠、赵云、魏延</p><p>D:关羽、张飞、赵云、马超、黄忠</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1577', '1', '谁推行一条鞭法,减轻农民负担', '0', '', '', '<p>A:赵普</p><p>B:张居正</p><p>C:王安石</p><p>D:商鞅</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1576', '1', '明代科举制度考试等级不包括:', '0', '', '', '<p>A:乡试</p><p>B:会试</p><p>C:殿试</p><p>D:院试</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1575', '1', '清代唯一一位以嫡长子身份即位的皇帝是', '0', '', '', '<p>A:道光</p><p>B:乾隆</p><p>C:胤祯</p><p>D:顺治</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1574', '1', '托洛茨基被克格勃杀害于哪国', '0', '', '', '<p>A:墨西哥</p><p>B:美国</p><p>C:阿根廷</p><p>D:苏联</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1573', '1', '被瓦刺兵俘去,后有复辟的皇帝是', '0', '', '', '<p>A:明景宗 朱祁钰</p><p>B:明武宗 朱厚照</p><p>C:明神宗 朱诩钧</p><p>D:明英宗 朱祁镇</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1572', '1', '襄樊之战发生在哪一年', '0', '', '', '<p>A:1267年</p><p>B:1367年</p><p>C:1276年</p><p>D:1376年</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1571', '1', '蒙古第一次西征是', '0', '', '', '<p>A:1234年至1241年</p><p>B:1217年至1223年</p><p>C:1253年至1258年</p><p>D:1223年至1234年</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1570', '1', '汽车竞赛始于1894年,当时的赛程为:', '0', '', '', '<p>A:巴黎-马德里</p><p>B:巴黎-里昂</p><p>C:巴黎-纽约</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1569', '1', '孔子在哪个国家出生?', '0', '', '', '<p>A:鲁国</p><p>B:齐国</p><p>C:宋国</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1568', '2', '大禹治水时把天下分为九个州,以下哪几个州是其中的5个?(多选)', '0', '', '', '<p>A:冀</p><p>B:淮</p><p>C:徐</p><p>D:青</p><p>E:荆</p><p>F:豫</p>', '6', 'ACD', 'ACD', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1567', '1', '美国帝国大厦建于哪一年?', '0', '', '', '<p>A:1930</p><p>B:1931</p><p>C:1932</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1566', '1', '世界贸易组织(WTO)是在哪界会议上正式成立的?', '0', '', '', '<p>A:马拉喀什谈判</p><p>B:马德里谈判</p><p>C:“乌拉圭回合”谈判</p><p>D:“巴拉圭回合”谈判</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1565', '1', '1991年12月,欧共体12国首脑召开的欧共体发达国家发展进程中具有里程碑意义的会议是:', '0', '', '', '<p>A:日内瓦会议</p><p>B:巴黎会议</p><p>C:罗马会议</p><p>D:马斯特里赫特会议</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1564', '1', '1990年东欧,苏联发生的事件中不包括', '0', '', '', '<p>A:两个德国统一</p><p>B:立陶宛,爱沙尼亚,拉脱维亚独立</p><p>C:东欧各国共产党纷纷丧失政权</p><p>D:南斯拉夫一分为五</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1563', '1', '标志18世纪末法国资产阶级革命结束的事件是', '0', '', '', '<p>A:雅各宾派分裂</p><p>B:热月政变</p><p>C:雾月政变</p><p>D:法兰西第一帝国建立</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1562', '1', '现在知道的我国境内的较早古人类有', '0', '', '', '<p>A:北京人</p><p>B:元谋人</p><p>C:蓝田人</p><p>D:山顶洞人</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1561', '1', '第一个提出“知识就是力量”的人是_________国著名的唯物主义哲学家和科学家弗兰西斯.培根。', '0', '', '', '<p>A:英</p><p>B:美</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1560', '1', '三国演义中的周瑜死于巴丘,是现在的:', '0', '', '', '<p>A:襄樊</p><p>B:长沙</p><p>C:岳阳</p><p>D:武汉</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1559', '1', '最早的楔形文字使用者是:', '0', '', '', '<p>A:古巴比伦人</p><p>B:苏美尔人</p><p>C:古埃及人</p><p>D:古印度人</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1558', '2', '古代社会通行的有偿婚包括哪些?(多选)', '0', '', '', '<p>A:买卖婚</p><p>B:交换婚</p><p>C:劳役婚</p><p>D:掠夺婚</p><p>E:共诺婚</p>', '5', 'AC', 'AC', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1557', '1', '中国古代婚姻法最重要的渊源是什麽?', '0', '', '', '<p>A:法</p><p>B:礼</p><p>C:宗教戒律</p><p>D:习惯</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1556', '1', '我国开始征收契税的时间是哪一年?', '0', '', '', '<p>A:1950年</p><p>B:1951年</p><p>C:1956年</p><p>D:1973年</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1555', '1', '布达拉宫始建于公元_________世纪,是藏王松赞干布为远嫁西藏的唐朝文成公主而建。布达拉宫是当今世界上海拔最高、规模最大的宫殿式建筑群,海拔3700多米,占地总面积36万余平方米。', '0', '', '', '<p>A:5</p><p>B:6</p><p>C:7</p><p>D:8</p><p>E:9</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1554', '1', '“及时雨”指谁?', '0', '', '', '<p>A:吴用</p><p>B:宋江</p><p>C:戴宇</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1553', '2', '“汉初三杰”指谁?(多选)', '0', '', '', '<p>A:韩信</p><p>B:萧何</p><p>C:刘邦</p><p>D:张良</p>', '4', 'AD', 'AD', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1552', '1', '和琛的王府是哪个?', '0', '', '', '<p>A:庆王府</p><p>B:恭王府</p><p>C:宁王府</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1551', '1', '春秋时谁二桃杀三士', '0', '', '', '<p>A:晏婴</p><p>B:孙膑</p><p>C:计然</p><p>D:宋玉</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1550', '1', '司马迁是因为替谁说情而受腐刑', '0', '', '', '<p>A:李陵</p><p>B:李广</p><p>C:杨业</p><p>D:霍去病</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1549', '1', '世界第一个试管婴儿在哪一国诞生', '0', '', '', '<p>A:美国</p><p>B:法国</p><p>C:英国</p><p>D:德国</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1548', '1', '古代体操五禽戏为谁所创', '0', '', '', '<p>A:张仲景</p><p>B:华佗</p><p>C:扁鹊</p><p>D:李时珍</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1547', '1', '陆游与唐婉分离后数年又在哪里重逢过', '0', '', '', '<p>A:后园</p><p>B:张园</p><p>C:林园</p><p>D:沈园</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1546', '1', '古时的戟是一种', '0', '', '', '<p>A:武器</p><p>B:饰物</p><p>C:农具</p><p>D:餐具</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1545', '1', '下述人物中哪位不是刺客', '0', '', '', '<p>A:晏婴</p><p>B:聂政</p><p>C:专诸</p><p>D:荆轲</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1544', '1', '明代的东厂、西厂是', '0', '', '', '<p>A:手工作坊</p><p>B:特务机关</p><p>C:皇家园林</p><p>D:兵营</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1543', '1', '清朝皇帝中最勤奋好学的是', '0', '', '', '<p>A:道光</p><p>B:同治</p><p>C:顺治</p><p>D:康熙</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1542', '1', '中国第一枚邮票是什么时期发行的', '0', '', '', '<p>A:唐朝</p><p>B:宋朝</p><p>C:明朝</p><p>D:清朝</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1541', '1', '古代的国子监是', '0', '', '', '<p>A:秘密监狱</p><p>B:特务机关</p><p>C:高等学府</p><p>D:行政部门</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1540', '1', '故宫是哪一朝兴建的?', '0', '', '', '<p>A:元朝</p><p>B:明朝</p><p>C:清朝</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1539', '1', '灭南宋统一全国的元朝皇帝是谁?', '0', '', '', '<p>A:铁木真</p><p>B:窝阔台</p><p>C:拖雷</p><p>D:忽必烈</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1538', '1', '第一个测出子午线长度的人是?', '0', '', '', '<p>A:美国人</p><p>B:中国人</p><p>C:英国人</p><p>D:法国人</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1537', '1', '唐代印制的世界上现存最早标有确切日期的雕版印刷品是?', '0', '', '', '<p>A:诗经</p><p>B:易筋经</p><p>C:金刚经</p><p>D:唐诗三百首</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1536', '1', '唐玄宗时应日本僧人邀请6次东渡,终于到达日本的僧人是谁。', '0', '', '', '<p>A:玄奘</p><p>B:玄真</p><p>C:鉴真</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1535', '1', '标志着世界殖民体系的彻底灭亡的大事是?', '0', '', '', '<p>A:纳米比亚的独立</p><p>B:津巴布伟的独立</p><p>C:干果的独立</p><p>D:朝鲜的独立</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1534', '1', '中国古代四大美人中“沉鱼”是用来形容哪一位?', '0', '', '', '<p>A:王昭君</p><p>B:杨贵妃</p><p>C:西施</p><p>D:貂禅</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1533', '2', '哪两个国家的登山运动员在同一年登上珠穆朗玛峰?(多选)', '0', '', '', '<p>A:美国</p><p>B:新西兰</p><p>C:尼泊尔</p><p>D:英国</p>', '4', 'BC', 'BC', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1532', '1', '谁最早提出大陆漂移学说?', '0', '', '', '<p>A:魏格纳</p><p>B:莫里</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1531', '1', '国家药局最早设立于什么朝代?', '0', '', '', '<p>A:唐代</p><p>B:北宋</p><p>C:南宋</p><p>D:明代</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1530', '1', '中医著名古籍《黄帝内经》约成书于', '0', '', '', '<p>A:商周时期</p><p>B:春秋战国时期</p><p>C:西汉时期</p><p>D:东汉时期</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1529', '2', '下列哪种是古代四大神兽(多选)', '0', '', '', '<p>A:青龙</p><p>B:白虎</p><p>C:朱雀</p><p>D:玄武</p>', '4', 'ACD', 'ACD', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1528', '1', '克格勃成立于哪一年?', '0', '', '', '<p>A:1953</p><p>B:1954</p><p>C:1955</p><p>D:1956</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1527', '1', '中国哪一年发射了第一颗地球同步静止轨道卫星?', '0', '', '', '<p>A:1982</p><p>B:1984</p><p>C:1986</p><p>D:1988</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1526', '1', '清朝第三个皇帝是谁?', '0', '', '', '<p>A:皇太极</p><p>B:乾隆</p><p>C:雍正</p><p>D:康熙</p><p>E:顺治</p>', '5', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1525', '1', '哪一位法国君王被称为“太阳王”:', '0', '', '', '<p>A:路易十四</p><p>B:路易十五</p><p>C:路易十六</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1524', '1', '下面哪一位不是意大利文艺复兴时期的“三杰”:', '0', '', '', '<p>A:米开朗基罗</p><p>B:达芬奇</p><p>C:乔托</p><p>D:拉菲尔</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1523', '1', '下面哪一位不是开国皇帝:', '0', '', '', '<p>A:隋炀帝</p><p>B:明太祖</p><p>C:元太祖</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1522', '3', '老子是春秋晚期的思想家', '0', '', '', '<p>A:对</p><p>B:错</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1521', '1', '第二次世界大战的转折点是:', '0', '', '', '<p>A:莫斯科保卫战</p><p>B:珍珠港事件</p><p>C:欧洲第二战场的开辟</p><p>D:斯大林格勒保卫战</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1520', '1', '山顶洞人的社会组织是:', '0', '', '', '<p>A:原始人群</p><p>B:母系氏族</p><p>C:父系氏族</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1519', '1', '山顶洞人生活在距今约:', '0', '', '', '<p>A:170万前年</p><p>B:一万八千年</p><p>C:四五十万年前</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1518', '1', '四羊方尊是:', '0', '', '', '<p>A:夏朝</p><p>B:商朝</p><p>C:西朝</p><p>D:春秋青铜器中的精品</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1517', '1', '我国有确切纪年的开始是在:', '0', '', '', '<p>A:公元前841年</p><p>B:前770年</p><p>C:前476年</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1516', '1', '我国最早制造和使用青铜器是在:', '0', '', '', '<p>A:夏</p><p>B:商</p><p>C:西周</p><p>D:春秋</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1515', '1', '抗战胜利后,美国总统杜鲁门为调处国共关系,派遣的总统驻华特使是:', '0', '', '', '<p>A:马歇尔</p><p>B:魏德迈</p><p>C:赫尔利</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1514', '1', '我国发射第一颗通信卫星是在:', '0', '', '', '<p>A:1986年</p><p>B:1984年</p><p>C:1988年</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1513', '1', '全面内战爆发后,国民党反动派在昆明杀害的民盟中央委员是:', '0', '', '', '<p>A:杜斌丞</p><p>B:杨杏佛</p><p>C:杜重远</p><p>D:李公朴</p><p>E:闻一多</p>', '5', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1512', '1', '谁背叛了刘备?', '0', '', '', '<p>A:赵云</p><p>B:马岱</p><p>C:魏延</p><p>D:孟达</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1511', '1', '谁是从曹操处投到刘备处的?', '0', '', '', '<p>A:马超</p><p>B:王平</p><p>C:黄忠</p><p>D:孟达</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1510', '1', '曹操缴榜文以擒董卓,十八路诸侯来会盟,谁为盟主?', '0', '', '', '<p>A:曹操</p><p>B:孙坚</p><p>C:袁绍</p><p>D:刘备</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1509', '1', '诸葛亮的“八阵图”被谁破了?', '0', '', '', '<p>A:司马懿</p><p>B:陆逊</p><p>C:黄承彦</p><p>D:周瑜</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1508', '1', '谁被称为“小霸王”?', '0', '', '', '<p>A:赵云</p><p>B:典韦</p><p>C:孙策</p><p>D:文丑</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1507', '1', '曹仁布的“八门金锁阵”被谁破了?', '0', '', '', '<p>A:诸葛亮</p><p>B:庞统</p><p>C:徐庶</p><p>D:姜维</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1506', '1', '在赤壁之战前,曹操曾与孙权打了一仗,结果曹军大败,两员大将被杀,他们是谁?', '0', '', '', '<p>A:马延、张剀</p><p>B:焦触、张南</p><p>C:董衡、董超</p><p>D:宋宪、魏续</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1505', '1', '三国时期,很多人结拜为义子、义父,下列哪一对不是义子、义父关系?', '0', '', '', '<p>A:吕布与丁原</p><p>B:刘备与刘封</p><p>C:马腾与马超</p><p>D:关羽与关平</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1504', '1', '“司马昭之心,路人皆知”是谁说的话?', '0', '', '', '<p>A:曹爽</p><p>B:曹髦</p><p>C:曹植</p><p>D:曹彰</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1503', '1', '谁收服了黄忠?', '0', '', '', '<p>A:赵云</p><p>B:关羽</p><p>C:魏延</p><p>D:廖化</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1502', '1', '化名“单福”的谋士是谁?', '0', '', '', '<p>A:徐庶</p><p>B:鲁肃</p><p>C:顾雍</p><p>D:虞翻</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1501', '1', '谁被誉为“一身都是胆”?', '0', '', '', '<p>A:关羽</p><p>B:张飞`</p><p>C:赵云</p><p>D:马超</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1499', '1', '仅用一百个兵劫掉曹操大营的人是谁?', '0', '', '', '<p>A:张飞</p><p>B:典韦</p><p>C:甘宁</p><p>D:陆逊</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1500', '1', '张飞于长坂坡吼死了哪位曹军大将?', '0', '', '', '<p>A:夏侯霸</p><p>B:夏侯渊</p><p>C:夏侯杰</p><p>D:夏侯敦</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1498', '1', '魏晋时期,出现“竹林七贤”,他们十分有才干且不追求功名利禄,下列谁不是竹林七贤之一?', '0', '', '', '<p>A:阮籍</p><p>B:嵇康</p><p>C:孔融</p><p>D:王戎</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1497', '1', '邓艾绕过汉中奇袭西蜀,在哪里杀死了诸葛亮的儿子诸葛瞻?', '0', '', '', '<p>A:绵竹</p><p>B:剑阁</p><p>C:定军山</p><p>D:祁山</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1496', '1', '公孙瓒被谁所灭?', '0', '', '', '<p>A:袁绍</p><p>B:袁术</p><p>C:吕布</p><p>D:曹操</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1495', '1', '关羽父子在哪里被擒?', '0', '', '', '<p>A:麦城</p><p>B:临沮</p><p>C:江陵</p><p>D:江夏</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1494', '1', '关羽水淹七军擒获的将领是谁?', '0', '', '', '<p>A:李典、于禁</p><p>B:庞德、曹仁</p><p>C:于禁、庞德</p><p>D:董衡、董超</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1493', '1', '董卓因何当上相国?', '0', '', '', '<p>A:拍马屁,贿赂大臣</p><p>B:护驾有功</p><p>C:其妹是太后</p><p>D:深得民心</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1492', '1', '孔融因何理由被曹操杀了?', '0', '', '', '<p>A:戏称曹操小名</p><p>B:说了曹操的坏话</p><p>C:借曹操之名陷害百姓</p><p>D:偷了曹操的东西</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1491', '1', '以下哪一条不是诸葛亮的功劳?', '0', '', '', '<p>A:平定南蛮,使人民安居乐业。</p><p>B:制造木牛流马。</p><p>C:为后人留下几百篇文章。</p><p>D:把蜀国建设的十分富强。</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1490', '1', '司马懿父子在哪次战役中几乎丧命?', '0', '', '', '<p>A:空城计</p><p>B:上方谷</p><p>C:汉中</p><p>D:长安</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1489', '1', '下列哪个人不是从袁绍处投到曹操的?', '0', '', '', '<p>A:陈琳</p><p>B:焦触</p><p>C:张郃</p><p>D:文聘</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1488', '1', '诸葛亮七擒孟获,期间孟获不断四处求救,下列哪个国家受到孟获的求救?', '0', '', '', '<p>A:乌戈国</p><p>B:西羌</p><p>C:吴国</p><p>D:匈奴</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1487', '1', '著名的《观沧海》是曹操攻击什么地方时写的?', '0', '', '', '<p>A:匈奴</p><p>B:乌桓</p><p>C:袁绍</p><p>D:张绣</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1486', '1', '吕布在哪里被杀?', '0', '', '', '<p>A:下邳</p><p>B:徐州</p><p>C:北海</p><p>D:豫州</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1485', '1', '谁没有参加密杀曹操的活动?', '0', '', '', '<p>A:刘备</p><p>B:马腾</p><p>C:吉太医</p><p>D:秦庆童</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1484', '1', '下列将领中,谁不是在吴蜀夷陵之战中战死的?', '0', '', '', '<p>A:张嶷</p><p>B:马忠</p><p>C:冯习</p><p>D:沙摩柯</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1483', '1', '谁说服马超投降刘备?', '0', '', '', '<p>A:诸葛亮</p><p>B:马良</p><p>C:李恢</p><p>D:简雍</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1482', '1', '下列哪一件事是真实的?', '0', '', '', '<p>A:诸葛亮草船借箭</p><p>B:蒋干盗书</p><p>C:孙策怒斩于吉</p><p>D:诸葛亮布“八卦阵”</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1481', '1', '诸葛亮初次打胜仗是在哪里?', '0', '', '', '<p>A:赤壁</p><p>B:博望坡</p><p>C:樊城</p><p>D:长坂坡</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1480', '1', '下列文人,哪一个不是袁绍的部下?', '0', '', '', '<p>A:陈琳</p><p>B:辛眦</p><p>C:逢纪</p><p>D:审配</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1479', '1', '中国第一枚邮票的是以什么图案为主图', '0', '', '', '<p>A:马</p><p>B:龙</p><p>C:牛</p><p>D:麒麟</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1478', '1', '萧何月下追谁', '0', '', '', '<p>A:刘邦</p><p>B:项羽</p><p>C:韩信</p><p>D:关羽</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1477', '1', '关羽在华容道放走了谁', '0', '', '', '<p>A:周瑜</p><p>B:项羽</p><p>C:曹操</p><p>D:张飞</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1476', '1', '中国古代伶人指的是', '0', '', '', '<p>A:聪明伶俐的人</p><p>B:以唱戏为职业的人</p><p>C:宦官</p><p>D:地位最低的人</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1475', '1', '明朝被称为九千岁的太监是', '0', '', '', '<p>A:李莲英</p><p>B:魏仲贤</p><p>C:郑和</p><p>D:小桂子</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1474', '1', '密特朗取消死刑前,法国主要采用何种方式行刑', '0', '', '', '<p>A:车裂</p><p>B:绞刑</p><p>C:上断头台</p><p>D:服毒</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1473', '1', '“五一”国际劳动节诞生于什么时候?', '0', '', '', '<p>A:1886年5月1日</p><p>B:1889年7月14日</p><p>C:1918年5月1日</p><p>D:1912年7月14日</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1472', '1', '现在世界上通用的历法——公历,有人曾似是而非地称之为“西历”。其实,究其根源,这种历法并非产生于西方,而是产生于6000多年前的', '0', '', '', '<p>A:古希腊</p><p>B:古埃及</p><p>C:古罗马</p><p>D:古印度</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1471', '1', '世界上第一次由广播公司正式播送电视节目是哪年?', '0', '', '', '<p>A:1925</p><p>B:1928</p><p>C:1936</p><p>D:1941</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1469', '1', '法国资产阶级革命爆发的时间', '0', '', '', '<p>A:1689.7.1</p><p>B:1789.7.14</p><p>C:1889.7.14</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1470', '1', '9月28日,谭嗣同等六人被杀害于北京', '0', '', '', '<p>A:午门</p><p>B:石景山</p><p>C:菜市口</p><p>D:八宝山</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1467', '1', '哪一年,我国第一颗氢弹爆炸试验成功?', '0', '', '', '<p>A:1965</p><p>B:1967</p><p>C:1969</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1468', '1', '在鸦片战争中,殉国于虎门靖远炮台的是', '0', '', '', '<p>A:关天培</p><p>B:林则徐 </p><p>C:冯子才</p><p>D:聂时成</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1466', '1', '刀耕时代用的工具是', '0', '', '', '<p>A:石斧木棒</p><p>B:锄头 </p><p>C:耙 </p><p>D:铜刀</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1465', '1', '春秋战国时期和伯乐齐名的相马专家是:', '0', '', '', '<p>A:方九皋</p><p>B:九方皋</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1464', '1', '九一八事变始于', '0', '', '', '<p>A:1930年</p><p>B:1931年</p><p>C:1932年</p><p>D:1937年</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1462', '1', '最早踏上南极洲的中国人是:', '0', '', '', '<p>A:陈德鸿和郭琨</p><p>B:董兆乾和张青松</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1463', '1', '中国历史最长的朝代是:', '0', '', '', '<p>A:周</p><p>B:汉</p><p>C:唐</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1461', '1', '最早徒步到达南极点的中国人是:', '0', '', '', '<p>A:张青松</p><p>B:秦大河</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1460', '1', '下列人类中最早使用天然火的是:', '0', '', '', '<p>A:元谋人</p><p>B:北京人</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1459', '1', '中国僵都最早、历时最长、朝代最多的古城是:', '0', '', '', '<p>A:长安</p><p>B:洛阳</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1458', '1', '中华鲟和恐龙哪一个在地球上出现的早?', '0', '', '', '<p>A:恐龙</p><p>B:中华鲟</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1457', '1', '中国是世界上最早炼锌的国家,早在什么时候开始的?', '0', '', '', '<p>A:东汉</p><p>B:西汉</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1456', '1', '中国哪位皇帝最长寿?', '0', '', '', '<p>A:乾隆</p><p>B:武则天</p><p>C:康熙</p><p>D:忽必烈</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1455', '1', '建国后上海第一任市长是:', '0', '', '', '<p>A:贺龙</p><p>B:陈毅</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1454', '1', '中国第一颗原子弹爆炸的日期是1964年的:', '0', '', '', '<p>A:4月24日</p><p>B:6月17日</p><p>C:10月16日</p><p>D:10月17日</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1453', '1', '中国历史上,政府官员最早是以什么当作工资发放?', '0', '', '', '<p>A:土地</p><p>B:粮食</p><p>C:奴隶</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1452', '1', '我国目前最早的砖墙出现在哪个朝代?', '0', '', '', '<p>A:战国</p><p>B:秦朝</p><p>C:汉朝</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1451', '1', '我国的夜市最早出现在:', '0', '', '', '<p>A:汉朝</p><p>B:唐朝</p><p>C:宋朝</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1449', '1', '中国第一个革命根据地是', '0', '', '', '<p>A:井冈山革命根据地</p><p>B:中央革命根据地</p><p>C:左右江革命根据地</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1450', '1', '和平号空间站是_________年2月20日发射的,是苏联时期发射的第三代载人空间站。它的最大特点是有6个对接口,可供多艘飞船、航天飞机和有效载荷舱对接,组成庞大的空间复合体。', '0', '', '', '<p>A:1985</p><p>B:1986</p><p>C:1987</p><p>D:1988</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1448', '1', '竹简与木牍在古代被用作记载文字的材料,其中记载较长的文字,一般用', '0', '', '', '<p>A:竹简</p><p>B:木牍</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1447', '1', '五粮液是我国的名酒,它的原名叫杂粮酒。“五粮液”之名是1929年才出现的,是谁为此酒起的名?', '0', '', '', '<p>A:当时宜宾县团练局局长雷东垣</p><p>B:晚清举人杨惠泉</p><p>C:“五粮液”传人邓子均</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1446', '1', '面包的故乡是古埃及,那么古埃及人是什么时候就开始制作面包的?', '0', '', '', '<p>A:距今5700-6900年前</p><p>B:距今7000-10000年前</p><p>C:距今2100-4000年前</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1445', '1', '旧时把多大年龄的女子称为破瓜?', '0', '', '', '<p>A:12岁</p><p>B:15岁</p><p>C:16岁</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1444', '1', '西方的悲剧源于古希腊祭祀_____ 的仪式。', '0', '', '', '<p>A:死神</p><p>B:酒神</p><p>C:太阳神</p><p>D:海神</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1443', '1', '下列中国封建社会时期的统一王朝中,统治时间较长的是:', '0', '', '', '<p>A:西汉</p><p>B:唐</p><p>C:元</p><p>D:明</p><p>E:清</p>', '5', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1441', '1', '世界上最早的“太阳历”是由谁发明的', '0', '', '', '<p>A:古代埃及人</p><p>B:古代巴比伦人</p><p>C:古代中国人</p><p>D:古代希腊人</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1442', '1', '我们今天用的数字,如“1,2,3…”是由谁最先采用的?', '0', '', '', '<p>A:古代埃及人</p><p>B:古代印度人</p><p>C:古代阿拉伯人</p><p>D:古代希腊人</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1440', '1', '人类历史上的“第二次社会大分工”的标志是出现了独立的:', '0', '', '', '<p>A:畜牧业</p><p>B:农牧业</p><p>C:手工业</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1439', '1', '下列哪个不属于“五代十国”中的“五代”:', '0', '', '', '<p>A:后魏</p><p>B:后梁</p><p>C:后唐</p><p>D:后周</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1438', '1', '以下不属于戊戌变法“六君子”的是:', '0', '', '', '<p>A:刘光第</p><p>B:林旭</p><p>C:林觉民</p><p>D:谭嗣同</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1437', '1', '被誉为“青铜时代”的是?', '0', '', '', '<p>A:原始社会</p><p>B:夏商周时期</p><p>C:春秋时期</p><p>D:战国时期</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1436', '2', '下列是中国古代唯物主义思想家的是?(多选)', '0', '', '', '<p>A:范缜</p><p>B:王充</p><p>C:王克明</p><p>D:严复</p><p>E:朱熹</p>', '5', 'AD', 'AD', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1435', '1', '勾股定理最早出现在?', '0', '', '', '<p>A:九章算术</p><p>B:周髀算经</p><p>C:方圆阐幽</p><p>D:决疑数学</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1433', '1', '中国历史上哪一位皇帝在位时间最长?', '0', '', '', '<p>A:唐太宗</p><p>B:康熙</p><p>C:乾隆</p><p>D:汉武帝</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1434', '1', '世界上第一部由国家颁布的医药著作是?', '0', '', '', '<p>A:本草纲目</p><p>B:唐本草</p><p>C:伤寒杂病论</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1432', '1', '指挥红军粉碎国民党对中央苏区第4次“围剿”的是?', '0', '', '', '<p>A:周恩来、朱德</p><p>B:毛泽东、朱德</p><p>C:朱德、陈毅</p><p>D:毛泽东、周恩来</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1431', '1', '联合国成立于', '0', '', '', '<p>A:1945年10月</p><p>B:1946年2月</p><p>C:1946年10月</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1430', '1', '百团大战发生于', '0', '', '', '<p>A:1940年2月</p><p>B:1940年7月</p><p>C:1940年8月</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1428', '1', '戊戌变法发生在那一年?', '0', '', '', '<p>A:1896</p><p>B:1898</p><p>C:1899</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1429', '2', '山西被称为三晋的三国包括:(多选)', '0', '', '', '<p>A:韩</p><p>B:燕</p><p>C:赵</p><p>D:魏</p><p>E:楚</p>', '5', 'ACD', 'ACD', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1427', '1', '列宁逝世于哪一年?', '0', '', '', '<p>A:1921</p><p>B:1918</p><p>C:1924</p><p>D:1923</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1426', '1', '我国成功发射第一颗人造卫星是那一年?', '0', '', '', '<p>A:1970</p><p>B:1971</p><p>C:1972</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1425', '1', '我国第一个不平等条约是:', '0', '', '', '<p>A:马关条约</p><p>B:南京条约</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1424', '1', '红军长征跨越了多少个省?', '0', '', '', '<p>A:9</p><p>B:10</p><p>C:11</p><p>D:12</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1423', '1', '燕京八景是谁题写的?', '0', '', '', '<p>A:康熙</p><p>B:光旭</p><p>C:乾隆</p><p>D:雍正</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1422', '1', '人类在哪一年登上月球', '0', '', '', '<p>A:1968</p><p>B:1969</p><p>C:1454</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1421', '1', '世界上最早的纸币出现在哪个国家.', '0', '', '', '<p>A:意大利</p><p>B:美国</p><p>C:英国</p><p>D:中国</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1420', '1', '最早提出冷战概念的是谁?', '0', '', '', '<p>A:杜鲁门</p><p>B:丘吉尔</p><p>C:克林顿</p><p>D:马谢尔</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1419', '1', '清朝康熙皇帝曾封一名外国传教士为钦天监正,主持古观象台的观测工作,此人是:', '0', '', '', '<p>A:南怀仁</p><p>B:汤若望</p><p>C:利马窦</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1418', '1', '清代文学家谁的书房自己命名为“九十九砚斋”', '0', '', '', '<p>A:纪晓岚</p><p>B:曹雪芹</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1417', '1', '皇太极是哪朝太祖', '0', '', '', '<p>A:元朝</p><p>B:西汉</p><p>C:清朝</p><p>D:唐朝</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1416', '1', '十二平均律起源于:', '0', '', '', '<p>A:中国</p><p>B:德国</p><p>C:意大利</p><p>D:法国</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1415', '1', '末代皇帝的年号为:', '0', '', '', '<p>A:道光</p><p>B:崇德</p><p>C:宣统</p><p>D:嘉庆</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1414', '1', '被誉为“两弹元勋”的科学家是', '0', '', '', '<p>A:钱学森</p><p>B:邓稼先</p><p>C:袁隆平</p><p>D:吴阶平</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1413', '2', '中国古代四大名琴是:(多选)', '0', '', '', '<p>A:号钟</p><p>B:秦筝</p><p>C:绿绮</p><p>D:焦尾</p><p>E:绕梁</p>', '5', 'ACD', 'ACD', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1412', '1', '中国古代战国时期越国大匠欧治子为楚王铸了三口名剑,下列四口名剑中哪一口不是', '0', '', '', '<p>A:龙渊</p><p>B:泰合</p><p>C:工布</p><p>D:湛卢</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1411', '1', '徽班进京距今已有多少年历史?', '0', '', '', '<p>A:100多年</p><p>B:200多年</p><p>C:300多年</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1410', '1', '海湾战争中多国部队的最高司令是谁?', '0', '', '', '<p>A:麦克阿瑟</p><p>B:亚历山大</p><p>C:施瓦茨科夫</p><p>D:布什</p><p>E:萨达姆</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1409', '1', '中日第二次淞沪会战发生在:', '0', '', '', '<p>A:1932年1月28日</p><p>B:1937年7月7日</p><p>C:1937年8月13日</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1408', '1', '第二次中东战争中以色列的哪只部队因冒进遭埃及部队伏击几乎损失殆尽?', '0', '', '', '<p>A:第7装甲旅</p><p>B:第202伞兵旅</p><p>C:第11机步师</p><p>D:第1步兵师</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1407', '1', '“暴怒行动”的是美军入侵哪个国家的行动代号?', '0', '', '', '<p>A:格林纳达</p><p>B:古巴</p><p>C:巴拿马</p><p>D:伊拉克</p><p>E:利比亚</p>', '5', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1406', '1', '秦始皇灭六国后,统一了全国文字,这种汉字称作:', '0', '', '', '<p>A:隶书</p><p>B:小篆</p><p>C:楷书</p><p>D:行书</p><p>E:草书</p>', '5', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1405', '1', '我们现在所说的“MTV”最早是什么名字?', '0', '', '', '<p>A:一首歌曲</p><p>B:一个电视频道</p><p>C:一部电影</p><p>D:一位明星</p><p>E:一本小说</p>', '5', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1404', '1', '项羽临死诗中提到的一个女人是谁?', '0', '', '', '<p>A:王昭君</p><p>B:西施</p><p>C:赵飞燕</p><p>D:虞姬</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1403', '1', '杭州是哪一个王朝的都城?', '0', '', '', '<p>A:北宋</p><p>B:南宋</p><p>C:明朝</p><p>D:唐朝</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1402', '1', '中国古代的神农氏是下面哪一位?', '0', '', '', '<p>A:帝喾</p><p>B:黄帝</p><p>C:炎帝</p><p>D:有巢</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1401', '1', '中国最早的纸币出现在哪一个朝代', '0', '', '', '<p>A:唐朝</p><p>B:宋朝</p><p>C:元朝</p><p>D:明朝</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1400', '1', '大禹的父亲是谁?', '0', '', '', '<p>A:尧</p><p>B:舜</p><p>C:鲧</p><p>D:共工</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1399', '1', '恺撒大帝被谁刺死的', '0', '', '', '<p>A:渥大卫</p><p>B:庞贝</p><p>C:布鲁图</p><p>D:安东尼</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1398', '1', '中国最早的现代大学是哪一所', '0', '', '', '<p>A:天津大学</p><p>B:北京大学</p><p>C:浙江大学</p><p>D:上海交大</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1397', '1', '古代的巴比伦王国的位置相当于现在的哪个国家', '0', '', '', '<p>A:伊拉克</p><p>B:伊朗</p><p>C:阿富汉</p><p>D:以色列</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1396', '1', '康熙皇帝的庙号是', '0', '', '', '<p>A:太宗</p><p>B:太祖</p><p>C:高祖</p><p>D:圣祖</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1395', '1', '我国第一套航空邮票发行于', '0', '', '', '<p>A:1950</p><p>B:1951</p><p>C:1952</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1394', '1', '法国资产阶级革命是以巴黎人民攻占何地的起义为序幕?', '0', '', '', '<p>A:凡尔赛</p><p>B:巴士底狱</p><p>C:贝尔·拉雪兹公墓</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1393', '1', '美国独立战争的序幕是哪年拉开的', '0', '', '', '<p>A:1774</p><p>B:1775</p><p>C:1776</p><p>D:1777</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1392', '1', '当代旅行家余纯顺在哪里遇难', '0', '', '', '<p>A:贺兰山</p><p>B:西藏阿里地区</p><p>C:黑龙江边陲</p><p>D:罗布泊</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1391', '1', '在我国最早介绍俄国十月革命,宣传马克思主义的是', '0', '', '', '<p>A:陈独秀</p><p>B:李大钊</p><p>C:李达</p><p>D:张国焘</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1389', '1', '下列哪种敌兵是从海上进攻中原的', '0', '', '', '<p>A:突厥</p><p>B:倭寇</p><p>C:匈奴</p><p>D:金人</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1390', '1', '哪位人物拥有无字碑', '0', '', '', '<p>A:唐玄宗</p><p>B:武则天</p><p>C:朱元璋</p><p>D:朱元璋</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1388', '1', '阿波罗号宇航员登上月球后与哪位总统通了电话', '0', '', '', '<p>A:肯尼迪</p><p>B:尼克松</p><p>C:福特</p><p>D:卡特</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1387', '1', '谁不是遇刺身亡的领导人', '0', '', '', '<p>A:齐亚·哈克</p><p>B:帕尔梅</p><p>C:英甘地</p><p>D:林肯</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1385', '1', '哪种花在历史上曾价值连城', '0', '', '', '<p>A:君子兰</p><p>B:郁金香</p><p>C:紫罗兰</p><p>D:牡丹</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1386', '1', '下列哪位大臣不是武则天时期的酷吏', '0', '', '', '<p>A:索元礼</p><p>B:周兴</p><p>C:来俊臣</p><p>D:谢瑶环</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1384', '1', '太真是谁出家时的道号', '0', '', '', '<p>A:貂蝉</p><p>B:赵飞燕</p><p>C:杨玉环</p><p>D:武则天</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1383', '1', '古巴导弹危机是谁造成的', '0', '', '', '<p>A:戈尔巴乔夫</p><p>B:勃列日涅夫</p><p>C:赫鲁晓夫</p><p>D:斯大林</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1382', '1', '韩信被称为', '0', '', '', '<p>A:楚王</p><p>B:梁王</p><p>C:淮南王</p><p>D:翼王</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1381', '1', '美国历史上第一个黑人将军是', '0', '', '', '<p>A:本杰明·戴维斯</p><p>B:科林·鲍威尔</p><p>C:麦克阿瑟</p><p>D:马歇尔</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1380', '1', '传说中耶稣死后第几天复活了', '0', '', '', '<p>A:三</p><p>B:四</p><p>C:五</p><p>D:六</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1379', '1', '下列哪位思想家被判死刑', '0', '', '', '<p>A:柏拉图</p><p>B:苏格拉底</p><p>C:卢梭</p><p>D:希波克拉底</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1378', '1', '未曾享受国葬待遇的是', '0', '', '', '<p>A:丘吉尔</p><p>B:密特朗</p><p>C:肯尼迪</p><p>D:尼克松</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1377', '1', '古城庞贝毁于', '0', '', '', '<p>A:战火</p><p>B:瘟疫</p><p>C:地震</p><p>D:火山爆发</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1376', '1', '斯巴达克思是一位', '0', '', '', '<p>A:角斗士</p><p>B:奴隶主</p><p>C:诗人</p><p>D:贱民</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1375', '1', '不属文化大革命的特殊产物是', '0', '', '', '<p>A:放卫星</p><p>B:忠字舞</p><p>C:大串联</p><p>D:语录歌</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1374', '1', '第一次进入太空的动物是', '0', '', '', '<p>A:狗</p><p>B:猴</p><p>C:昆虫</p><p>D:猫</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1373', '1', '对米开朗基罗不合适的称谓是', '0', '', '', '<p>A:音乐家</p><p>B:雕塑家</p><p>C:画家</p><p>D:建筑师</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1372', '1', '南陈王朝的陈后主在隋军攻入皇宫时与两宠妃藏在哪里', '0', '', '', '<p>A:厨房</p><p>B:水井</p><p>C:地窖</p><p>D:花园</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1371', '1', '中世纪最后一位诗人,新时代最初一位诗人指的是', '0', '', '', '<p>A:浮士德</p><p>B:维吉尔</p><p>C:但丁</p><p>D:歌德</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1370', '1', '投笔从戎的是', '0', '', '', '<p>A:班彪</p><p>B:班固</p><p>C:班超</p><p>D:班昭</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1369', '1', '为王昭君画像的画师是', '0', '', '', '<p>A:毛延寿</p><p>B:唐伯虎</p><p>C:郑板桥</p><p>D:丰子恺</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1368', '1', '人类首例心脏移植手术是哪年施行的', '0', '', '', '<p>A:1965</p><p>B:1967</p><p>C:1970</p><p>D:1972</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1367', '1', '第一个进入太空的是', '0', '', '', '<p>A:特里斯科娃</p><p>B:格伦</p><p>C:谢泼德</p><p>D:加加林</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1366', '1', '利用水力来舂米碾谷子的水碓磨是谁发明的', '0', '', '', '<p>A:沈括</p><p>B:祖冲之</p><p>C:徐光启</p><p>D:贾思勰</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1365', '1', '伊丽莎白二世加冕时年仅多少岁', '0', '', '', '<p>A:18</p><p>B:20</p><p>C:24</p><p>D:26</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1364', '1', '代表封建生产关系的是()。', '0', '', '', '<p>A:铜器</p><p>B:陶器</p><p>C:青铜</p><p>D:铁制工具</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1362', '1', '我国第一所民办高等教育机构哪年建立', '0', '', '', '<p>A:1982</p><p>B:1985</p><p>C:1988</p><p>D:1992</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1363', '1', '中国境内迄今所知年代最早的直立人是那种人?', '0', '', '', '<p>A:蓝田人 </p><p>B:山顶洞人 </p><p>C:元谋人 </p><p>D:河姆渡人</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1361', '1', '闻鸡起舞的是谁', '0', '', '', '<p>A:班超</p><p>B:辛弃疾</p><p>C:祖逖</p><p>D:霍去病</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1360', '1', '被后人称为陶朱公的是谁', '0', '', '', '<p>A:商鞅</p><p>B:范蠡</p><p>C:姜太公</p><p>D:孟尝君</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1359', '1', '王羲之最喜玩赏什么', '0', '', '', '<p>A:梅花</p><p>B:白鹅</p><p>C:小狗</p><p>D:兰花</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1357', '1', '鸿门宴是谁设的', '0', '', '', '<p>A:刘邦</p><p>B:项羽</p><p>C:项庄</p><p>D:萧何</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1358', '1', '唐代时哪个国家派往中国进行学习的人称为遣唐使', '0', '', '', '<p>A:日本</p><p>B:印度</p><p>C:英国</p><p>D:西班牙</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1356', '1', '千里送京娘的男主角是谁', '0', '', '', '<p>A:赵匡胤</p><p>B:朱元璋</p><p>C:李自成</p><p>D:洪秀全</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1355', '1', '老子是骑着什么出函谷关后再无踪影的', '0', '', '', '<p>A:马</p><p>B:牛</p><p>C:驴</p><p>D:骡子</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1354', '1', '被腰斩而亡的是', '0', '', '', '<p>A:韩非子</p><p>B:赵高</p><p>C:李斯</p><p>D:荆轲</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1353', '1', '下述哪场战争不是以少胜多', '0', '', '', '<p>A:淝水之战</p><p>B:赤壁之战</p><p>C:巨鹿之战</p><p>D:官渡之战</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1352', '1', '明代郑和下过几次西洋', '0', '', '', '<p>A:三</p><p>B:四</p><p>C:六</p><p>D:七</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1351', '1', '孙膑的老师叫什么', '0', '', '', '<p>A:孙武</p><p>B:鬼谷子</p><p>C:庞涓</p><p>D:吴起</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1350', '1', '我们今天使用的历法是从何时开始的?', '0', '', '', '<p>A:一千年前</p><p>B:两千年前</p><p>C:三千年前</p><p>D:两千年前</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1349', '1', '谁帮田忌出计在赛马中获胜', '0', '', '', '<p>A:庞涓</p><p>B:吕不韦</p><p>C:孔融</p><p>D:孙膑</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1348', '1', '战国时哪个诸侯王最喜欢细腰', '0', '', '', '<p>A:楚灵王</p><p>B:秦穆公</p><p>C:鲁惠公</p><p>D:楚庄王</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1347', '1', '中国哪个朝代对外国文化吸收最多', '0', '', '', '<p>A:唐代</p><p>B:宋代</p><p>C:清代</p><p>D:元代</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1346', '1', '卓文君与司马相如私奔后在哪里卖酒', '0', '', '', '<p>A:今南京</p><p>B:今重庆</p><p>C:今成都</p><p>D:今北京</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1345', '1', '烽火戏诸侯是为博谁一笑', '0', '', '', '<p>A:褒姒</p><p>B:杨玉环</p><p>C:西施</p><p>D:貂蝉</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1344', '1', '美国的三K党是一个反对谁的恐怖组织', '0', '', '', '<p>A:黑人</p><p>B:南北战争</p><p>C:资产阶级</p><p>D:政府</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1343', '1', '教皇保罗二世为哪位科学家平反', '0', '', '', '<p>A:伽俐略</p><p>B:布鲁诺</p><p>C:哥白尼</p><p>D:道尔顿</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1342', '1', '中国古代著名旅行家是', '0', '', '', '<p>A:李时珍</p><p>B:苏武</p><p>C:徐霞客</p><p>D:张骞</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1341', '1', '玛雅人哪个阶层的头骨被后天压成扁形', '0', '', '', '<p>A:所有阶层</p><p>B:奴隶</p><p>C:贵族</p><p>D:平民</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1340', '1', '不属于我国食品史上的四大发明的一项是', '0', '', '', '<p>A:豆酱</p><p>B:豆腐</p><p>C:豆浆</p><p>D:豆花</p><p>E:豆芽</p>', '5', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1339', '1', '日本三大棋战中,属于《朝日新闻》的围棋战事是哪一个?', '0', '', '', '<p>A:棋圣战</p><p>B:名人战</p><p>C:本因坊战</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1338', '2', '1915年,信用卡起源于美国。请问以下哪些机构是最早发行信用卡的?(多选)', '0', '', '', '<p>A:百货商店</p><p>B:银行</p><p>C:饮食业</p><p>D:娱乐业</p><p>E:汽油公司</p><p>F:信贷公司</p>', '6', 'ACD', 'ACD', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1337', '1', '谁是中国第一位注册会计师?', '0', '', '', '<p>A:潘序伦</p><p>B:秦开</p><p>C:谢霖</p><p>D:张惠生(女)</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1336', '1', '大禹治水时大禹的家在', '0', '', '', '<p>A:重庆涂山</p><p>B:山西五台山</p><p>C:四川四姑娘山</p><p>D:山东泰山</p><p>E:安徽黄山</p>', '5', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1335', '1', '成立于_________年的俄罗斯国家剧院的奠基人为尼·罗曼诺夫公爵,该团属于国家性质的机构,其创作原则是:慎重保护俄罗斯古典芭蕾舞学派的优秀传统,索与发展新的舞蹈形式。', '0', '', '', '<p>A:1877</p><p>B:1878</p><p>C:1879</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1334', '1', '中日甲午战争后,清政府与日本签定了下列哪一个丧权辱国的条约?', '0', '', '', '<p>A:《爱辉条约》</p><p>B:《天津条约》</p><p>C:《马关条约》</p><p>D:《南京条约》</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1333', '1', '下列那种人不是商朝请示上帝并传达上帝旨意的人的称呼:', '0', '', '', '<p>A:卜</p><p>B:士</p><p>C:祝</p><p>D:巫</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1332', '1', '中国历史上最早将礼和法结合起来,以“法治”充实“礼治”的思想家是:', '0', '', '', '<p>A:孔子</p><p>B:荀子</p><p>C:孟子</p><p>D:老子</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1331', '1', '首次将刑法铸在鼎上,公布成文法的是:', '0', '', '', '<p>A:邓析</p><p>B:孔子</p><p>C:子产</p><p>D:庄子</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1330', '1', '宗法等级制的核心内容是:', '0', '', '', '<p>A:男尊女卑</p><p>B:氏族通婚</p><p>C:嫡长继承制</p><p>D:分封制</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1329', '1', '夏、商的法律思想是:', '0', '', '', '<p>A:“天命”“天罚”</p><p>B:“以德配天”</p><p>C:“明德慎罚”</p><p>D:“仁义礼智信”</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1328', '1', '说起中国历史上的赔款,人们多数时候会想起丧权辱国,但是历史上有一笔赔款--"庚子赔款"却建立了一所知名学府,你知道是哪一所吗?', '0', '', '', '<p>A:复旦大学</p><p>B:南京大学</p><p>C:清华大学</p><p>D:北京大学</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1327', '1', '你知道"希望工程"诞生时间是_________年的10月30日吗?', '0', '', '', '<p>A:1988</p><p>B:1989</p><p>C:1990</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1326', '1', '清朝统治了多少年?', '0', '', '', '<p>A:270年</p><p>B:269年</p><p>C:268年</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1325', '1', '世界上最早使用地雷的是:', '0', '', '', '<p>A:宋代岳飞</p><p>B:唐代李世民</p><p>C:明代戚继光</p><p>D:清代林则徐</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1324', '1', '吕布骑的是什么马?', '0', '', '', '<p>A:地庐</p><p>B:赤兔</p><p>C:汉血宝马</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1323', '1', '尝百草的人是谁?', '0', '', '', '<p>A:华佗</p><p>B:扁鹊</p><p>C:李时珍</p><p>D:神农</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1322', '1', '最早使用"铜"的是哪个国家', '0', '', '', '<p>A:古巴比伦</p><p>B:古埃及</p><p>C:古印度</p><p>D:古中国</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1321', '3', '第一台内燃机的发明者是英国人。', '0', '', '', '<p>A:对</p><p>B:错</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1320', '3', '"爱琴文明"属于石器文明。', '0', '', '', '<p>A:对</p><p>B:错</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1318', '3', '始作俑者原指开始用陶佣殉葬的人。', '0', '', '', '<p>A:对</p><p>B:错</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1319', '3', '鲁班是鲁国人。', '0', '', '', '<p>A:对</p><p>B:错</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1317', '1', '关于14-16世纪文艺复兴的错误说法是', '0', '', '', '<p>A:欧洲资本主义萌芽和初步发展时期的艺术</p><p>B:起源并昌盛于法国,随后席卷全欧洲</p><p>C:通过复兴古希腊、罗马的民主思想来反对封建中世纪</p><p>D:倡导现实主义和人文精神</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1316', '1', '国际劳工组织于_________年6月正式宣告成立,中国是创始会员国。1946年成为联合国的一个专门机构,主管劳动劳工方面的事务。', '0', '', '', '<p>A:1909</p><p>B:1919</p><p>C:1929</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1315', '2', '西晋"三张"指的是(多选)', '0', '', '', '<p>A:张载</p><p>B:张协</p><p>C:张衡</p><p>D:张元</p>', '4', 'AD', 'AD', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1314', '1', '"和尚"作为对僧侣的称谓,起源于哪朝', '0', '', '', '<p>A:唐朝</p><p>B:东汉</p><p>C:晋朝</p><p>D:战国</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1313', '1', '中国历史上第一支海军诞生于:', '0', '', '', '<p>A:福建省</p><p>B:山东省</p><p>C:广东省</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1312', '1', '举世震惊的“切尔诺贝利”核事故发生于:', '0', '', '', '<p>A:1986年</p><p>B:1996年</p><p>C:1990年</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1311', '1', '最早的打字机是为什么人设计的?', '0', '', '', '<p>A:聋人</p><p>B:盲人</p><p>C:商人</p><p>D:作家</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1309', '1', '最早的助听器的工作原理与下列哪项最相似?', '0', '', '', '<p>A:电话机</p><p>B:麦克风</p><p>C:对讲机</p><p>D:喇叭筒</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1310', '1', '贝多芬在耳聋前本希望成为:', '0', '', '', '<p>A:歌唱家</p><p>B:指挥家</p><p>C:演奏家</p><p>D:作曲家</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1308', '1', '在明清科举考试中“大比”是指:', '0', '', '', '<p>A:乡试</p><p>B:院试</p><p>C:会试</p><p>D:殿试</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1307', '1', '水印是13世纪意大利人发明的,最早是用来:', '0', '', '', '<p>A:表示造纸厂的商标</p><p>B:防止伪造货币</p><p>C:体现贵族身份</p><p>D:表示纸张质量等级</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1306', '1', '在我国,白银用作货币最早出现在:', '0', '', '', '<p>A:春秋时期</p><p>B:唐朝</p><p>C:宋朝</p><p>D:明朝</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1305', '1', '1977年恢复高考后的第一次高考,是在哪个季节举行的?', '0', '', '', '<p>A:春</p><p>B:夏</p><p>C:秋</p><p>D:冬</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1304', '1', '西楚霸王项羽骑坐的战马叫:', '0', '', '', '<p>A:驷</p><p>B:骓</p><p>C:驹</p><p>D:骏</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1303', '1', '春卷在我国唐代以前就有,那时被称为:', '0', '', '', '<p>A:春条</p><p>B:春盘</p><p>C:春饼</p><p>D:春面</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1302', '1', '第一台机器人于1959年诞生,它被用于:', '0', '', '', '<p>A:工业</p><p>B:农业</p><p>C:军事</p><p>D:家庭</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1300', '1', '在长坂坡,单枪匹马独闯曹军重围的三国名将是:', '0', '', '', '<p>A:张飞</p><p>B:关羽</p><p>C:赵云</p><p>D:马超</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1301', '1', '火药是我国古人在什么情况下发明的?', '0', '', '', '<p>A:烹饪</p><p>B:炼丹</p><p>C:打仗</p><p>D:烧炭</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1299', '1', '“讳疾忌医”是讲古代一位国君有病却不听医生的劝告,最终病重而死。这位神医是:', '0', '', '', '<p>A:扁鹊</p><p>B:华佗</p><p>C:张仲景</p><p>D:李时珍</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1298', '1', '电控“红——绿”交通灯最早出现在:', '0', '', '', '<p>A:费城</p><p>B:底特律</p><p>C:盐湖城</p><p>D:芝加哥</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1297', '1', '2000年底,我国高速公路通车里程达到1.6万公里,跃居世界:', '0', '', '', '<p>A:第二位</p><p>B:第三位</p><p>C:第四位</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1296', '1', '我国第一套邮票“大龙票”共有几枚?', '0', '', '', '<p>A:一枚</p><p>B:二枚</p><p>C:三枚</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1294', '1', '2000年我国汽车生产量是多少?', '0', '', '', '<p>A:204.9万辆</p><p>B:205.9万辆</p><p>C:206.9万辆</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1295', '1', '据统计,2000年我国普通高等学校在校学生数为556万人,比上年增长:', '0', '', '', '<p>A:24.50%</p><p>B:31.50%</p><p>C:34.50%</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1293', '1', '2000年底,正式公布的《夏商周年表》,把我国历史纪年由公元前841年向前延伸了:', '0', '', '', '<p>A:400多年</p><p>B:800多年</p><p>C:1200多年</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1292', '1', '1990年9月22日至10月7日,在我国北京成功举办的是第几届亚运会?', '0', '', '', '<p>A:第十届</p><p>B:第十一届</p><p>C:第十二届</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1291', '1', '经有关部门统计,到2001年5月底,我国电话用户总数达到:', '0', '', '', '<p>A:1.7亿户</p><p>B:2.7亿户</p><p>C:3.7亿户</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1290', '1', '“中国共产党”这一名称最早出现在:', '0', '', '', '<p>A:宣言里</p><p>B:杂志上</p><p>C:书信中</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1289', '1', '我国发行粮油票证的最后一年是哪一年?', '0', '', '', '<p>A:1988年</p><p>B:1990年</p><p>C:1993年</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1288', '1', '所谓“走马灯”原指的是一种:', '0', '', '', '<p>A:骑马赶夜路的灯</p><p>B:供观赏的花灯</p><p>C:挂在马棚里以供夜间添草的灯</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1287', '1', '密码最早用于:', '0', '', '', '<p>A:交易</p><p>B:开锁</p><p>C:通信</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1286', '1', '人类最早发明的水上交通工具是:', '0', '', '', '<p>A:独木舟</p><p>B:木筏</p><p>C:竹排</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1285', '1', '口香糖最早起源于人们嚼食什么?', '0', '', '', '<p>A:树叶</p><p>B:树脂</p><p>C:树根</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1284', '1', '诸葛亮“挥泪斩马谡”,是因为马谡刚愎自用,失掉了:', '0', '', '', '<p>A:麦城</p><p>B:荆州</p><p>C:街亭</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1283', '1', '我国出版业中历史最悠久的出版机构是:', '0', '', '', '<p>A:中华书局</p><p>B:商务印书馆</p><p>C:新华书店</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1282', '1', '邮票的诞生最初是为了:', '0', '', '', '<p>A:支付邮费</p><p>B:加快邮递速度</p><p>C:避免邮品丢失</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1281', '1', '一星期为七天最早来自哪里?', '0', '', '', '<p>A:古埃及</p><p>B:古巴比伦</p><p>C:古罗马</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1280', '1', '由唐代诗人贾岛和韩愈斟酌诗句引申而来的词语是:', '0', '', '', '<p>A:切磋</p><p>B:推敲</p><p>C:琢磨</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1279', '1', '世界上最早的自行车是:', '0', '', '', '<p>A:前轮大</p><p>B:后轮大</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1278', '1', '我国自己设计和建造的第一座核电站是:', '0', '', '', '<p>A:大亚湾核电站</p><p>B:秦山核电站</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1277', '1', '解放前我国的人均寿命为40.8岁,2000年底,我国人均寿命达到了多少岁?', '0', '', '', '<p>A:68.8岁</p><p>B:71.8岁</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1276', '1', '1990年12月19日,新中国内地第一家证券交易所开业,它是:', '0', '', '', '<p>A:上海证券交易所</p><p>B:深圳证券交易所</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1275', '3', '新华书店是新中国成立后建立的吗?', '0', '', '', '<p>A:是</p><p>B:不是</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1274', '1', '中国作为最早使用纸币的国家,下面两种纸币中出现较早的是:', '0', '', '', '<p>A:宝钞</p><p>B:交子</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1273', '1', '“逐鹿中原”是指什么时代群雄纷争的史实?', '0', '', '', '<p>A:战国时代</p><p>B:秦末</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1272', '1', '仰韶文化时期,其建筑式样与现在的哪种建筑相类似?', '0', '', '', '<p>A:竹楼</p><p>B:窑洞</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1271', '1', '建国后,我国发行的第一枚生肖邮票的图案是哪种动物?', '0', '', '', '<p>A:鸡</p><p>B:猴</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1270', '1', '最早的“座右铭”写后是放在座位的哪一边?', '0', '', '', '<p>A:右边</p><p>B:左边</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1269', '1', '风衣起源于:', '0', '', '', '<p>A:军队的防风雨外衣</p><p>B:滑雪斗篷</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1268', '1', '现在我国实行九年义务教育,那么义务教育起源于:', '0', '', '', '<p>A:中国</p><p>B:美国</p><p>C:英国</p><p>D:法国</p><p>E:德国</p>', '5', 'E', 'E', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1267', '1', '史记所载鸿门宴是谁摆下的?', '0', '', '', '<p>A:项羽</p><p>B:刘邦</p><p>C:楚怀王</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1266', '2', '明代科举制度考试等级包括:(多选)', '0', '', '', '<p>A:乡试</p><p>B:县试</p><p>C:会试</p><p>D:省试</p><p>E:殿试</p><p>F:御试</p>', '6', 'ACE', 'ACE', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1265', '1', '用“正”字计票起源于:', '0', '', '', '<p>A:公园</p><p>B:戏院</p><p>C:澡堂</p><p>D:理发馆</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1264', '1', '古代所说的“促织”是指现在的:', '0', '', '', '<p>A:蝉</p><p>B:蝗虫</p><p>C:螳螂</p><p>D:蟋蟀</p><p>E:蝈蝈</p>', '5', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1263', '1', '创立科举制度是在:', '0', '', '', '<p>A:南朝</p><p>B:隋朝</p><p>C:唐朝</p><p>D:宋朝</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1262', '1', '清代的官服饰品中常有“顶戴花翎”一说,是官位的象征标志, “花翎”是取自什么动物的毛?', '0', '', '', '<p>A:火鸡</p><p>B:锦鸡</p><p>C:孔雀</p><p>D:燕子</p><p>E:野鸡</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1261', '1', '从古至今,北京有几次被定为都城?', '0', '', '', '<p>A:4次</p><p>B:8次</p><p>C:10次</p><p>D:11次</p><p>E:12次</p>', '5', 'E', 'E', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1260', '1', '是谁邀请关羽“单刀赴会”的?', '0', '', '', '<p>A:鲁肃</p><p>B:诸葛亮</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1259', '1', '以下哪一项不是商鞅变法的内容?', '0', '', '', '<p>A:废井田</p><p>B:奖励耕战</p><p>C:建立县制</p><p>D:减轻刑罚</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1258', '2', '下面哪四种属于我国古代计时单位?(多选)', '0', '', '', '<p>A:时</p><p>B:刻</p><p>C:分</p><p>D:秒</p><p>E:更</p><p>F:鼓</p>', '6', 'AEF', 'AEF', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1257', '2', '历史上的“两河文明”中的”两河“指的是哪两条河流?(多选)', '0', '', '', '<p>A:尼罗河</p><p>B:恒河</p><p>C:长江</p><p>D:亚马逊河</p><p>E:底格里斯河</p><p>F:幼发拉底河</p>', '6', 'EF', 'EF', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1256', '2', '解放战争进入夺取全国胜利的判定性阶段,党中央先后组织的三大战役是:(多选)', '0', '', '', '<p>A:辽沈战役</p><p>B:淮海战役</p><p>C:平津战役</p><p>D:渡江战役</p>', '4', 'AC', 'AC', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1255', '1', '李渊建唐是在什么时候?', '0', '', '', '<p>A:611年</p><p>B:618年</p><p>C:622年</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1254', '2', '初唐四杰是:(多选)', '0', '', '', '<p>A:李白</p><p>B:王勃</p><p>C:卢照邻</p><p>D:杜甫</p><p>E:骆宾王</p><p>F:杨炯</p>', '6', 'BCE', 'BCE', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1253', '1', '我国从什么时候起就有了历法?', '0', '', '', '<p>A:汉</p><p>B:商</p><p>C:周</p><p>D:夏</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1252', '1', '春秋战国时期,法家的代表人是', '0', '', '', '<p>A:庄子</p><p>B:韩非子</p><p>C:墨子</p><p>D:蒙子</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1251', '1', '吴三桂在缅甸将哪位皇帝绞死?', '0', '', '', '<p>A:永历帝</p><p>B:永嘉帝</p><p>C:崇祯帝</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1250', '1', '成吉思汗写给花剌子模的战书一共有几个字?', '0', '', '', '<p>A:4</p><p>B:6</p><p>C:12</p><p>D:24</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1249', '1', '项羽在哪里自杀?', '0', '', '', '<p>A:闽江</p><p>B:漓江</p><p>C:乌江</p><p>D:长江</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1248', '1', '被唐太宗李世民比作镜子的是谁?', '0', '', '', '<p>A:魏征</p><p>B:李靖</p><p>C:徐茂公</p><p>D:刘文静</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1247', '1', '英国占领加拿大之后将当地的法国人怎样了?', '0', '', '', '<p>A:全部杀死</p><p>B:驱逐出境</p><p>C:把他们赶到遥远的加拿大西部</p><p>D:什么也没做</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1245', '1', '第一次西方工业革命的发祥地是', '0', '', '', '<p>A:英国</p><p>B:美国</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1246', '1', '第一颗人造卫星发射成功是什么时候?', '0', '', '', '<p>A:1937年</p><p>B:1947年</p><p>C:1957年</p><p>D:1967年</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1244', '1', '中国的私学即民办教育开始于', '0', '', '', '<p>A:夏代</p><p>B:商代</p><p>C:战国</p><p>D:春秋</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1243', '1', '柏林墙是东西方冷战的象征,建于1961年,柏林墙并非牢不可破,曾经有人乘坐热气球从墙上飘过,还有人以14辆载重卡车同时撞倒墙体得以逃脱,在柏林墙修建后的28年里,先后有多少人逃跑成功?', '0', '', '', '<p>A:187866</p><p>B:187868</p><p>C:178868</p><p>D:178866</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1242', '1', '最早发现无理数的数学家是谁?', '0', '', '', '<p>A:希伯斯</p><p>B:高斯</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1241', '1', '中国史上被称为“诗界之哥伦布”“一代霸才”的爱国诗人是:', '0', '', '', '<p>A:林则徐</p><p>B:文天祥</p><p>C:黄遵宪</p><p>D:岳飞</p><p>E:魏源</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1239', '1', '到卫国战争打响前,苏联有几位元帅', '0', '', '', '<p>A:5</p><p>B:4</p><p>C:3</p><p>D:2</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1240', '1', '曹植是曹操的', '0', '', '', '<p>A:第一子</p><p>B:第三子</p><p>C:第二子</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1238', '1', '杨威利在伊谢梅伦攻防战中损失如何?', '0', '', '', '<p>A:10%</p><p>B:5%</p><p>C:0%</p><p>D:20%</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1237', '1', '杨威利因哪一战而被成为奇迹杨,魔术杨?', '0', '', '', '<p>A:伊谢梅伦</p><p>B:巴米利恩</p><p>C:奇霍萨姆</p><p>D:迪亚马特</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1236', '1', '春秋战国时期的四大死士不包括哪一个', '0', '', '', '<p>A:欲让</p><p>B:要离</p><p>C:荆坷</p><p>D:盗拓</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1235', '3', '中国最早的文字是甲骨文吗?', '0', '', '', '<p>A:是</p><p>B:不是</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1234', '1', '在战国之前“百姓”是对什么人的总称?', '0', '', '', '<p>A:奴隶</p><p>B:平民</p><p>C:贵族</p><p>D:士兵</p><p>E:乐师</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1233', '1', '世界上第一个出现在电视荧屏上的形象是:', '0', '', '', '<p>A:一只猫</p><p>B:一个挂钟</p><p>C:一个木偶头</p><p>D:一位年轻的小伙子</p><p>E:一张地图</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1232', '1', '最早的阿拉伯数字有几个?', '0', '', '', '<p>A:6个</p><p>B:7个</p><p>C:8个</p><p>D:9个</p><p>E:10个</p>', '5', 'E', 'E', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1231', '1', '超市最早诞生在:', '0', '', '', '<p>A:车库里</p><p>B:仓库里</p><p>C:广场上</p><p>D:码头上</p><p>E:行李房</p>', '5', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1230', '1', '勺在中国古代是舀什么的器具?', '0', '', '', '<p>A:米饭</p><p>B:粥</p><p>C:酒</p><p>D:水</p><p>E:药</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1229', '1', '世界上第一枚邮票是1840年5月6日在英国正式发行的“黑便士”,它是因何得名的?', '0', '', '', '<p>A:用黑色油墨印刷</p><p>B:是在垃圾桶里发现的</p><p>C:为与通用的便士区别</p><p>D:设计者名字中有“黑”字</p><p>E:该邮票是在夜晚印刷的</p>', '5', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1228', '1', '在我国古代有位名医活到101岁,被称为“百岁神医”,他是:', '0', '', '', '<p>A:扁鹊</p><p>B:华佗</p><p>C:孙思邈</p><p>D:李时珍</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1227', '1', '1991年10月16日,哪位科学家被授予“国家杰出贡献科学家”的荣誉称号?', '0', '', '', '<p>A:钱学森</p><p>B:钱三强</p><p>C:袁隆平</p><p>D:吴文俊</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1226', '1', '参加中国共产党“一大”会议的13个人,当时他们的平均年龄是:', '0', '', '', '<p>A:26岁</p><p>B:28岁</p><p>C:30岁</p><p>D:32岁</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1225', '1', '我国古代军事家孙膑是在受“膑刑”后被称为孙膑的,“膑”是指:', '0', '', '', '<p>A:股骨</p><p>B:胫骨</p><p>C:脚踝骨</p><p>D:膝盖骨</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1224', '1', '大月氏王国在5世纪后半叶亡于?', '0', '', '', '<p>A:柔然</p><p>B:鲜卑</p><p>C:厳哒</p><p>D:匈奴</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1223', '1', '击败拿破仑的滑铁卢战役的反法联军指挥官是?', '0', '', '', '<p>A:彼德大帝</p><p>B:贝当元帅</p><p>C:威灵顿将军</p><p>D:维多利亚女王</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1222', '1', '古代上对下、有道对无道的军事行动称作?', '0', '', '', '<p>A:征</p><p>B:伐</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1221', '1', '我国最早提出创建监狱的人是?', '0', '', '', '<p>A:皋陶</p><p>B:董仲舒</p><p>C:李斯</p><p>D:秦始皇</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1220', '1', '巨鹿之战中,项羽大败秦军,用的是什么战略?', '0', '', '', '<p>A:暗渡陈仓</p><p>B:以逸待劳</p><p>C:避实击虚</p><p>D:破釜沉舟</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1219', '1', '传说中武则天下令焚烧的花是什么花', '0', '', '', '<p>A:月季化</p><p>B:芍药花</p><p>C:牡丹花</p><p>D:水仙花</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1218', '1', '圆周率最早出现于', '0', '', '', '<p>A:巴比伦</p><p>B:埃及</p><p>C:印度</p><p>D:阿拉伯</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1217', '1', '中国第一颗原子弹是在哪一年研制成功的?', '0', '', '', '<p>A:1962</p><p>B:1963</p><p>C:1964</p><p>D:1965</p><p>E:1966</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1216', '1', '慈禧垂帘听政的地点是', '0', '', '', '<p>A:坤宁宫</p><p>B:养心殿</p><p>C:太和殿</p><p>D:储秀宫</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1215', '1', '雍正皇帝的陵墓是', '0', '', '', '<p>A:景陵</p><p>B:泰陵</p><p>C:裕陵</p><p>D:福陵</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1214', '1', '宋徽宗名叫', '0', '', '', '<p>A:赵佶</p><p>B:赵构</p><p>C:赵括</p><p>D:赵高</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1213', '1', '建筑行业中的鲁班奖是于哪一年创建的', '0', '', '', '<p>A:1986</p><p>B:1987</p><p>C:1988</p><p>D:1989</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1212', '1', '以下哪位是古代希腊有名的医学家', '0', '', '', '<p>A:希波达玛斯</p><p>B:苏格拉底</p><p>C:希波克拉底</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1211', '1', '台湾是哪个皇帝收复的?', '0', '', '', '<p>A:康熙</p><p>B:秦始皇</p><p>C:唐太宗</p><p>D:乾隆</p><p>E:雍正</p>', '5', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1210', '1', '唐太宗曾以何物博得杨贵妃一笑', '0', '', '', '<p>A:住院</p><p>B:法拉利</p><p>C:宠物</p><p>D:水果</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1209', '1', '我国历史上记载的第一个王朝是', '0', '', '', '<p>A:夏</p><p>B:商</p><p>C:周</p><p>D:三国</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1208', '1', '远古时代的恐龙属于', '0', '', '', '<p>A:两栖动物</p><p>B:爬行动物</p><p>C:哺乳动物</p><p>D:节肢动物</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1206', '1', '东汉的医聖是谁?', '0', '', '', '<p>A:張機</p><p>B:華佗</p><p>C:蔡倫</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1207', '1', '佛历是从什么时候开始算起的?', '0', '', '', '<p>A:佛祖诞生</p><p>B:佛祖逝世</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1205', '1', '“垂帘听政”始于何时?', '0', '', '', '<p>A:宋朝</p><p>B:元朝</p><p>C:唐朝</p><p>D:清朝</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1204', '1', '世界上最早的银行始建于哪个国家?', '0', '', '', '<p>A:意大利</p><p>B:美国</p><p>C:法国</p><p>D:瑞士</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1202', '1', '秦孝公用誰變法', '0', '', '', '<p>A:商鞅</p><p>B:李白</p><p>C:杜甫</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1203', '1', '在位时间最短的皇帝是东汉的刘贺,他只当了多久的皇帝就被废除了?', '0', '', '', '<p>A:25天</p><p>B:26天</p><p>C:27天</p><p>D:28天</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1201', '1', '宋朝有哪位變法?', '0', '', '', '<p>A:張居正</p><p>B:司馬遷</p><p>C:王安石</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1200', '1', '中國用最久的歷法是:', '0', '', '', '<p>A:時憲歷</p><p>B:授時歷</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1199', '1', '十岁以下的小娃娃就当了皇帝的,在中国历史上共有几个?', '0', '', '', '<p>A:19位</p><p>B:22位</p><p>C:25位</p><p>D:29位</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1198', '1', '下列官名中那个不是唐朝的官名?', '0', '', '', '<p>A:尚书</p><p>B:黄门</p><p>C:中书</p><p>D:巡按</p><p>E:殿中</p><p>F:御史</p>', '6', 'E', 'E', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1197', '1', '从古至今北京有几次被定为都城?', '0', '', '', '<p>A:8次</p><p>B:11次</p><p>C:12次</p><p>D:14次</p><p>E:15次</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1196', '2', '明代宦官控制的机构有哪些?(多选)', '0', '', '', '<p>A:錦衣衛</p><p>B:大廠</p><p>C:西廠</p><p>D:東廠</p>', '4', 'ACD', 'ACD', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1195', '1', '中國焚書坑儒的是谁的结果?', '0', '', '', '<p>A:秦始皇</p><p>B:李斯</p><p>C:漢武帝</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1194', '1', '铁达尼号游轮是哪一年沉没的?', '0', '', '', '<p>A:1910</p><p>B:1911</p><p>C:1912</p><p>D:1913</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1193', '1', '我国的“鞠躬”礼起源于:', '0', '', '', '<p>A:祭天的仪式</p><p>B:降者伏地叩首</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1192', '1', '我国师范教育开端于:', '0', '', '', '<p>A:京师大学堂师范馆</p><p>B:上海南洋公学师范院</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1190', '1', '古埃及人在猫的木乃伊旁边放上:', '0', '', '', '<p>A:珠宝</p><p>B:鱼干</p><p>C:老鼠的木乃伊</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1191', '1', '鞭炮和爆竹哪一个历史比较悠久?', '0', '', '', '<p>A:鞭炮</p><p>B:爆竹</p><p>C:礼炮</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1189', '1', '国际奥委会评估团对北京进行了为期几天的考察?', '0', '', '', '<p>A:4天</p><p>B:3天</p><p>C:5天</p><p>D:2天</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1187', '1', '首次世界举重比赛举行的地点是:', '0', '', '', '<p>A:体育馆</p><p>B:音乐厅</p><p>C:商场</p><p>D:咖啡馆</p><p>E:广场</p>', '5', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1188', '1', '古代政府设立“义仓”是做什么用的?', '0', '', '', '<p>A:救助孤寡</p><p>B:收集捐献场所</p><p>C:赈灾</p><p>D:救助病人</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1186', '1', '古代绘画、丝织陈列室为什么控制光线?', '0', '', '', '<p>A:以示珍贵</p><p>B:防止复制</p><p>C:减少紫外线侵害</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1185', '1', '最早的血压计用于测量谁的血压?', '0', '', '', '<p>A:牛</p><p>B:狗</p><p>C:马</p><p>D:骆驼</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1184', '1', '世界上最早制作葡萄酒的国家是:', '0', '', '', '<p>A:法国</p><p>B:意大利</p><p>C:埃及</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1183', '1', '以下不是文艺复兴时期画家的是', '0', '', '', '<p>A:乔托</p><p>B:波提切利</p><p>C:丢勒</p><p>D:列宾</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1182', '2', '被称做“意大利文艺复兴三杰”的是(多选)', '0', '', '', '<p>A:达·芬奇</p><p>B:波提切利</p><p>C:拉菲尔</p><p>D:提香</p><p>E:米开朗基罗</p>', '5', 'ACE', 'ACE', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1181', '1', '南京大屠杀提醒国人勿忘国耻,这是一个永远的民族历史的烙印,即使与日本建立邦交,也不能轻易忘却这段屈辱。请记住,南京大屠杀发生在:', '0', '', '', '<p>A:1931年</p><p>B:1933年</p><p>C:1935年</p><p>D:1937年</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1180', '1', '大革命失败后,哪次起义为毛泽东亲自领导?', '0', '', '', '<p>A:广州起义</p><p>B:南京起义</p><p>C:秋收起义</p><p>D:武昌起义</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1179', '1', '我国关于哈雷慧星的记录最早在哪个时代?', '0', '', '', '<p>A:殷商时代</p><p>B:春秋时代</p><p>C:战国时代</p><p>D:汉代</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1178', '1', '华佗是我国东汉时的名医,请问他是:', '0', '', '', '<p>A:内科医生</p><p>B:外科医生</p><p>C:手术医生</p><p>D:专门治疗各种常见病,不分科的医生</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1177', '1', '唐朝时,文成公主为促进少数民族与中原的友好远嫁吐蕃;到了唐中宗时哪位公主又代表唐朝与吐蕃和亲?', '0', '', '', '<p>A:金城公主</p><p>B:和平公主</p><p>C:太平公主</p><p>D:大明公主</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1176', '1', '我国清朝的开国皇帝是:', '0', '', '', '<p>A:顺治</p><p>B:康熙</p><p>C:皇太极</p><p>D:努尔哈赤</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1175', '1', '第二次世界大战中,意大利法西斯头目是:', '0', '', '', '<p>A:希特勒</p><p>B:丘吉尔</p><p>C:杜鲁门</p><p>D:墨索里尼</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1174', '1', '我们从封建社会发展到今天的现代化社会,总共经历了3次划时代的工业革命,请问这3次工业革命的主要内容依次是:', '0', '', '', '<p>A:蒸汽机发明、飞机,汽车等问世、电脑问世</p><p>B:机器取代手工生产、电器化、电脑和信息产业化</p><p>C:电力广泛应用、用机器制造机器、计算机网络问世</p><p>D:工厂代替手工生产、出现近代交通工具、电脑</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1173', '1', '“内阁”作为国家的最高决策机关和行政权力机关创立于', '0', '', '', '<p>A:东汉</p><p>B:宋朝</p><p>C:明朝</p><p>D:清朝</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1172', '2', '在古爬行动物中有哪些动物残存至今?(多选)', '0', '', '', '<p>A:虎</p><p>B:鳄鱼</p><p>C:龟</p><p>D:大象</p><p>E:蜥蜴</p><p>F:蛇</p>', '6', 'BCE', 'BCE', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1170', '3', '翼龙是恐龙么?', '0', '', '', '<p>A:是</p><p>B:不是</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1171', '1', '新生代距今有多少年?', '0', '', '', '<p>A:1000万年</p><p>B:2000万年</p><p>C:3000万年</p><p>D:4000万年</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1169', '2', '下面哪些是海洋中的恐龙?(多选)', '0', '', '', '<p>A:鱼龙</p><p>B:管鼻龙</p><p>C:蛇颈龙</p><p>D:海鳄龙</p><p>E:鸭嘴龙</p>', '5', 'ACD', 'ACD', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1168', '1', '恐龙世界的短跑冠军是什么龙?', '0', '', '', '<p>A:肿头龙</p><p>B:慈母龙</p><p>C:鸵鸟龙</p><p>D:剑龙</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1167', '2', '下面有哪些是食肉恐龙?(多选)', '0', '', '', '<p>A:霸王龙</p><p>B:跃龙</p><p>C:梁龙</p><p>D:亚伯达龙</p><p>E:鳄龙</p><p>F:甲龙</p>', '6', 'ADE', 'ADE', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1166', '2', '下面哪些是食草恐龙?(多选)', '0', '', '', '<p>A:甲龙</p><p>B:梁龙</p><p>C:鄂龙</p><p>D:腕龙</p><p>E:跃龙</p><p>F:鸭嘴龙</p>', '6', 'ADF', 'ADF', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1165', '1', '考古学家至今发现了多少种恐龙?', '0', '', '', '<p>A:100多种</p><p>B:200多种</p><p>C:300多种</p><p>D:400多种</p><p>E:500多种</p><p>F:600多种</p>', '6', 'E', 'E', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1164', '1', '已知的最重的恐龙是什么?', '0', '', '', '<p>A:剑龙</p><p>B:腔体龙</p><p>C:地震龙</p><p>D:腕龙</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1163', '1', '已知的最大恐龙是什么?', '0', '', '', '<p>A:剑龙</p><p>B:腔体龙</p><p>C:地震龙</p><p>D:腕龙</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1162', '1', '最古老的恐龙是什么?', '0', '', '', '<p>A:剑龙</p><p>B:腔体龙</p><p>C:地震龙</p><p>D:棘皮龙</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1161', '1', '下面所列生物发展进程的顺序那一个是正确的?', '0', '', '', '<p>A:太古代、元古代、古生代、新生代、中生代</p><p>B:太古代、元古代、中生代、古生代、新生代</p><p>C:太古代、中生代、元古代、古生代、新生代</p><p>D:太古代、元古代、古生代、中生代、新生代</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1160', '1', '最早的生命诞生于下面哪个地方?', '0', '', '', '<p>A:原始森林</p><p>B:原始草原</p><p>C:原始海洋</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1159', '3', '古代丝绸中,罗、缎、绮指的是同一种丝织物吗?', '0', '', '', '<p>A:是</p><p>B:不是</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1158', '1', '周口店猿人制造的石器是:', '0', '', '', '<p>A:打制的</p><p>B:磨制的</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1157', '1', '被称为“世界第八奇观”的是:', '0', '', '', '<p>A:长城</p><p>B:圆明园</p><p>C:秦始皇兵马俑坑</p><p>D:泰山日出</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1156', '1', '2000年11月底人们在什么地方发现了曾经被认为已经“绝种”的开普狮子?', '0', '', '', '<p>A:西伯利亚</p><p>B:南非</p><p>C:巴西</p><p>D:扎伊尔</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1155', '1', '"甲骨文"发现于:', '0', '', '', '<p>A:明末</p><p>B:清末</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1154', '1', '二战时期,为德国海军提出了"群狼战术"的海军元帅是:', '0', '', '', '<p>A:邓尼茨</p><p>B:海因里希</p><p>C:罗姆</p><p>D:格林</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1153', '1', '请问苏联是在什么时候解体的?', '0', '', '', '<p>A:1990.10</p><p>B:1990.11</p><p>C:1991.12</p><p>D:1992.10</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1152', '1', '战国时郭隗对燕昭王说“请自隗始”,是指他开始干什么呢?', '0', '', '', '<p>A:清查财产</p><p>B:聘请任用</p><p>C:晋升高官</p><p>D:严明军纪</p><p>E:撤职查办</p>', '5', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1151', '1', '古代的死刑在什么季节行刑?', '0', '', '', '<p>A:春季</p><p>B:秋季</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1150', '3', '秦朝的阿房宫遗址在西安市郊,对吗?', '0', '', '', '<p>A:对</p><p>B:不对</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1149', '1', '古代游牧民族生活存在太阳崇拜吗?', '0', '', '', '<p>A:存在</p><p>B:不存在</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1148', '1', '1955年的亚非会议是在哪里召开的?', '0', '', '', '<p>A:印尼</p><p>B:新加坡</p><p>C:巴基斯坦</p><p>D:埃及</p><p>E:也门</p>', '5', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1147', '1', '有人说,现在找不到恐龙了,因为恐龙早在多少年前就灭绝了?', '0', '', '', '<p>A:6500万年</p><p>B:55万年</p><p>C:10亿年前</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1146', '1', '西伯侯姬昌即周文王是在何地遇见的姜子牙?', '0', '', '', '<p>A:淮河边</p><p>B:长江边</p><p>C:泾水河边</p><p>D:渭水河边</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1145', '1', '人类祖先出现于地质年代的:', '0', '', '', '<p>A:第四纪</p><p>B:白垩纪</p><p>C:三叠纪</p><p>D:石炭纪</p><p>E:奥陶纪</p>', '5', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1144', '1', '明清两代科举考试的最高级别“殿试”的第一名叫状元,第二名叫:', '0', '', '', '<p>A:解元</p><p>B:会元</p><p>C:榜眼</p><p>D:探花</p><p>E:贡士</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1143', '1', '蛋筒冰淇淋最初出现的场合是:', '0', '', '', '<p>A:生日聚会</p><p>B:博览会</p><p>C:节日庆典活动</p><p>D:电影院</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1141', '1', '最早将国际法介绍到中国来的是:', '0', '', '', '<p>A:丁韪良</p><p>B:蒲安臣</p><p>C:林则徐</p><p>D:惠顿</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1142', '1', '在古代,“爵”是一种什么器皿?', '0', '', '', '<p>A:食器</p><p>B:酒器</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1140', '3', '西欧中世纪的骑士教育中是否重视文化知识教育?', '0', '', '', '<p>A:是</p><p>B:否</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1139', '1', '古时的“燕乐”最初是在什么场合中演奏的?', '0', '', '', '<p>A:射猎</p><p>B:祭祀祖先</p><p>C:饮酒吃饭</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1138', '1', '哺乳类出现于地质年代的:', '0', '', '', '<p>A:志留纪</p><p>B:三叠纪</p><p>C:奥陶纪</p><p>D:寒武纪</p><p>E:白垩纪</p>', '5', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1136', '1', '“素质教育”一词的最早出现大约在:', '0', '', '', '<p>A:1987年</p><p>B:1990年</p><p>C:1993年</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1137', '1', '第一套奥林匹克邮票是哪个国家发行的?', '0', '', '', '<p>A:希腊</p><p>B:美国</p><p>C:西班牙</p><p>D:土耳其</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1135', '1', '在亚洲反法西斯战争中,盟军中牺牲的最高级别将领是:', '0', '', '', '<p>A:何应钦</p><p>B:叶挺</p><p>C:巴顿</p><p>D:张自忠</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1134', '1', '阿姆斯特朗是乘哪个飞船成功登月的?', '0', '', '', '<p>A:阿波罗8号</p><p>B:阿波罗9号</p><p>C:阿波罗11号</p><p>D:阿波罗13号</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1133', '1', '下列哪一项不是1993年电子部提出的三金工程?', '0', '', '', '<p>A:金桥工程</p><p>B:金路工程</p><p>C:金关工程</p><p>D:金卡工程</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1132', '1', '中国共产党的创始人李大钊是被什么人杀害的?', '0', '', '', '<p>A:列强</p><p>B:军阀</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1131', '1', '是哪国人最先制作出了牛奶巧克力?', '0', '', '', '<p>A:英国</p><p>B:西班牙</p><p>C:意大利</p><p>D:瑞士</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1130', '1', '谁第一次把中国话剧带进美国白宫?', '0', '', '', '<p>A:阮玲玉</p><p>B:胡蝶</p><p>C:王莹</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1129', '1', '1980年2月发行了生肖邮票“猴票”。1992年发行的生肖邮票是:', '0', '', '', '<p>A:羊票</p><p>B:猴票</p><p>C:鸡票</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1128', '1', '中国第一座电影院是:', '0', '', '', '<p>A:北京大华电影院</p><p>B:上海虹口电影院</p><p>C:北京广和电影院</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1127', '1', '铁路和火车哪一个较早出现?', '0', '', '', '<p>A:火车</p><p>B:铁路</p><p>C:一块出现</p><p>D:先有火车后有铁路</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1126', '1', '1800年以前,西方医生认为手术成功的标志是:', '0', '', '', '<p>A:患者疼痛</p><p>B:伤口愈合</p><p>C:解除疼痛</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1125', '1', '到21世纪中叶,中国人口总量在达到峰值后将缓慢下降,这一峰值是:', '0', '', '', '<p>A:14亿</p><p>B:15亿</p><p>C:16亿</p><p>D:17亿</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1124', '1', '最初使用的海洋捕捞工具是:', '0', '', '', '<p>A:渔钩</p><p>B:渔叉</p><p>C:渔网</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1123', '1', '最早系统地确定官职的是在:', '0', '', '', '<p>A:商朝</p><p>B:西周初期</p><p>C:春秋</p><p>D:汉朝初期</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1121', '1', '古东方奴隶制法是建立在甚么土地所有制基础上的?', '0', '', '', '<p>A:国有</p><p>B:私有</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1122', '1', '最早的校园歌曲出现在:', '0', '', '', '<p>A:中国</p><p>B:英国</p><p>C:美国</p><p>D:日本</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1120', '1', '侏罗纪属于地质年代中的哪一代?', '0', '', '', '<p>A:中生代</p><p>B:新生代</p><p>C:古生代</p><p>D:元古代</p><p>E:太古代</p>', '5', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1119', '1', '中国古代名医华佗为谁所杀?', '0', '', '', '<p>A:董卓</p><p>B:曹操</p><p>C:司马思</p><p>D:吕布</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1118', '1', '西周法官在审讯中采用的方式为:', '0', '', '', '<p>A:五刑</p><p>B:五听</p><p>C:五行</p><p>D:九刑</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1117', '1', '人类最古老的绘画形式是:', '0', '', '', '<p>A:版画</p><p>B:壁画</p><p>C:彩陶</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1116', '1', '破除满汉不通婚这个祖训的是:', '0', '', '', '<p>A:康熙</p><p>B:雍正</p><p>C:乾隆</p><p>D:道光</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1115', '1', '公元618-907年,是我国古代的哪个朝代?', '0', '', '', '<p>A:唐</p><p>B:隋</p><p>C:元</p><p>D:清</p><p>E:东汉</p>', '5', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1114', '1', '“老三届”指的是那几年毕业的初、高中毕业生?', '0', '', '', '<p>A:1964--1966</p><p>B:1966--1968</p><p>C:1969--1971</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1113', '1', '清朝编写的中国历史上规模最大的《四库全书》先后誊缮了几部?', '0', '', '', '<p>A:5</p><p>B:6</p><p>C:7</p><p>D:8</p><p>E:9</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1112', '1', '最早的印玺,是盖在什么上面的?', '0', '', '', '<p>A:木版</p><p>B:印泥</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1111', '1', '自元朝以后,年代愈近建筑斗拱愈:', '0', '', '', '<p>A:细而密</p><p>B:粗而疏</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1110', '1', '世界上第一个无产阶级政党是:', '0', '', '', '<p>A:巴黎公社</p><p>B:俄国社会</p><p>C:德国社会民主工党</p><p>D:英国工党</p><p>E:匈牙利小农党</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1109', '1', '故宫是世界上最大的宫殿,共有几个朝代把它作为皇宫?', '0', '', '', '<p>A:一个</p><p>B:两个</p><p>C:三个</p><p>D:四个</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1108', '1', '帮助商鞅在秦国人民中树立威信的是:', '0', '', '', '<p>A:一根木杆</p><p>B:一柄宝剑</p><p>C:一幅画</p><p>D:一个马头</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1107', '1', '1907年11月22日,出现在大西洋上的“毛里塔尼亚”号是世界上第一艘现代化的:', '0', '', '', '<p>A:客轮</p><p>B:油轮</p><p>C:货轮</p><p>D:战舰</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1106', '1', '我国人口论思想是谁首先提出的?', '0', '', '', '<p>A:王安石</p><p>B:韩非</p><p>C:李斯</p><p>D:孔子</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1105', '1', '下列人物的历史功绩与郑成功最相似的是:', '0', '', '', '<p>A:岳飞</p><p>B:郑和</p><p>C:文天祥</p><p>D:戚继光</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1104', '1', '在远古时代金属铜的出现是:', '0', '', '', '<p>A:在烧烤兽肉的过程中</p><p>B:在烧制陶器的过程中</p><p>C:在雷电引起的大火中</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1103', '1', '人类有史以来第一次登月是在哪年?', '0', '', '', '<p>A:1965年</p><p>B:1966年</p><p>C:1969年</p><p>D:1972年</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1102', '1', '我国古代哪位政治家为自己立了块供后人评说的无字碑', '0', '', '', '<p>A:唐太宗</p><p>B:武则天</p><p>C:汉高祖</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1101', '1', '中国古代海军诞生于:', '0', '', '', '<p>A:春秋末期</p><p>B:唐朝</p><p>C:隋朝</p><p>D:明朝</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1100', '1', '以下哪一个阶级,不属于法国大革命前的第三等级?', '0', '', '', '<p>A:农民</p><p>B:下级教士</p><p>C:资产阶级</p><p>D:手工业者</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1099', '1', '“会计”业务最早出现于:', '0', '', '', '<p>A:古代埃及</p><p>B:古代巴比伦</p><p>C:古代印度</p><p>D:古代中国</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1098', '1', '“虎门销烟”的时间是:', '0', '', '', '<p>A:1839年6月</p><p>B:1840年6月</p><p>C:1841年1月</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1096', '1', '竹简与木牍在古代被用作记载文字的材料,其中记载较长的文字,一般用:', '0', '', '', '<p>A:竹简</p><p>B:木牍</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1097', '1', '属于元古代的植物化石的是:', '0', '', '', '<p>A:海绵</p><p>B:三叶虫</p><p>C:蕨类</p><p>D:藻类</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1095', '1', '古时称送考生入京师应会试的官车为“公车”,它是什么朝代的惯例?', '0', '', '', '<p>A:隋朝</p><p>B:汉朝</p><p>C:唐朝</p><p>D:宋朝</p><p>E:明朝</p>', '5', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1093', '1', '下令“破釜沉舟”的我国古代将领是:', '0', '', '', '<p>A:项庄</p><p>B:项羽</p><p>C:刘邦</p><p>D:张良</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1094', '1', '古代欧洲文明发源于:', '0', '', '', '<p>A:爱琴文明</p><p>B:两河流域文明</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1092', '1', '我国的陶器出现在:', '0', '', '', '<p>A:旧石器时代</p><p>B:新石器时代</p><p>C:青铜器时代</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1091', '1', '“击鼓喊冤”最早产生于:', '0', '', '', '<p>A:汉朝</p><p>B:魏</p><p>C:隋朝</p><p>D:宋朝</p><p>E:明朝</p>', '5', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1090', '1', '秦分天下为三十六郡。今天的江苏属于', '0', '', '', '<p>A:长沙郡</p><p>B:泗水郡</p><p>C:会稽郡</p><p>D:涿郡</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1089', '1', '祖冲之的《缀术》在什么时候被定为学校的课本?', '0', '', '', '<p>A:汉朝</p><p>B:南朝</p><p>C:隋朝</p><p>D:唐朝</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1087', '1', '太平天国中的西王是谁?', '0', '', '', '<p>A:石达开</p><p>B:韦昌辉</p><p>C:冯云山</p><p>D:萧朝贵</p><p>E:杨秀清</p><p>F:洪宣娇</p>', '6', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1088', '3', '在11月7日纪念俄国10月25日发生的“十月革命”,这样的差异与历法有关吗?', '0', '', '', '<p>A:有</p><p>B:没有</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1086', '1', '世界上最早的自动销售机销售的是:', '0', '', '', '<p>A:饮料</p><p>B:烟草</p><p>C:糖果</p><p>D:面包</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1085', '1', '我国古代第一次正式发布成文法典是:', '0', '', '', '<p>A:子产铸刑鼎</p><p>B:邓析作竹刑</p><p>C:《常法》</p><p>D:刑书</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1084', '1', '我国诗歌创作最多的朝代是:', '0', '', '', '<p>A:唐代</p><p>B:宋代</p><p>C:明代</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1083', '1', '明代以后廷试的前三名依次是:', '0', '', '', '<p>A:榜眼 状元 探花</p><p>B:状元 探花 榜眼</p><p>C:状元 榜眼 探花</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1082', '1', '我国的科举制度始于那个朝代?', '0', '', '', '<p>A:东汉</p><p>B:魏晋</p><p>C:隋朝</p><p>D:唐朝</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1081', '1', '世界上第一张圣诞卡出现在:', '0', '', '', '<p>A:英国</p><p>B:美国</p><p>C:德国</p><p>D:意大利</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1080', '1', '王昭君没有得到汉元帝的召见而远嫁匈奴单于,是因为:', '0', '', '', '<p>A:王妃对她的陷害</p><p>B:画师歪曲她的形象</p><p>C:大臣说她的坏话</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1078', '1', '我国在何时将农历正月初一正式定名为春节?', '0', '', '', '<p>A:夏朝</p><p>B:辛亥革命后</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1079', '1', '中国的尼姑最早是何时出现的?', '0', '', '', '<p>A:夏朝</p><p>B:唐朝</p><p>C:南北朝</p><p>D:金朝</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1077', '1', '最先发现石油的国家是哪个?', '0', '', '', '<p>A:伊朗</p><p>B:伊拉克</p><p>C:沙特阿拉伯</p><p>D:俄罗斯</p><p>E:中国</p>', '5', 'E', 'E', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1076', '1', '鸿门宴上范增是用什么示意项羽下决心的?', '0', '', '', '<p>A:玉玦</p><p>B:玉环</p><p>C:玉戒</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1075', '1', '新四军是哪一地区抗日的主力?', '0', '', '', '<p>A:华北</p><p>B:华东</p><p>C:华南</p><p>D:华中</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1073', '1', '三叶虫灭绝于地质年代中的:', '0', '', '', '<p>A:元古代</p><p>B:太古代</p><p>C:二叠纪</p><p>D:寒武纪</p><p>E:石炭纪</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1074', '1', '五四运动的导火线,是巴黎和会讨论中国青岛的:', '0', '', '', '<p>A:瓜分问题</p><p>B:归属问题</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1072', '3', '我国古代有人口统计机构吗?', '0', '', '', '<p>A:有</p><p>B:没有</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1071', '1', '"皇帝”作为国家元首的正式称号,始于:', '0', '', '', '<p>A:帝尧</p><p>B:朱元璋</p><p>C:汉武帝</p><p>D:秦始皇</p><p>E:商纣王</p>', '5', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1070', '1', '明,清两代科举考试中最高级别的考试是:', '0', '', '', '<p>A:院试</p><p>B:殿试</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1069', '1', '中国古代曾有多次的焚书事件,下列帝王焚书最多的是:', '0', '', '', '<p>A:秦始皇</p><p>B:汉武帝</p><p>C:忽必烈</p><p>D:朱元璋</p><p>E:乾隆</p>', '5', 'E', 'E', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1068', '1', '世界上第一颗商用通信卫星是:', '0', '', '', '<p>A:“东方红号”</p><p>B:“晨鸟号”</p><p>C:“西可尔号”</p><p>D:“泰罗斯号”</p><p>E:“实践一号”</p><p>F:“闪电-1”</p>', '6', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1067', '1', '甲骨文是写在哪上面的?', '0', '', '', '<p>A:兽皮</p><p>B:象牙</p><p>C:龟骨</p><p>D:恐龙骨</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1066', '1', '戊戌变法运动期间,维新派创办的第一份报纸是:', '0', '', '', '<p>A:中外纪闻</p><p>B:时务报</p><p>C:强学报</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1065', '1', '历史上著名的“澶渊之盟”发生在哪两朝之间?', '0', '', '', '<p>A:楚、汉</p><p>B:北宋、辽</p><p>C:金、宋</p><p>D:元、明</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1064', '1', '“经济法”这个概念,最早哪国人提出的?', '0', '', '', '<p>A:法国</p><p>B:德国</p><p>C:英国</p><p>D:西班牙</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1063', '1', '中国警察最新的警服是从何时开始更换的?', '0', '', '', '<p>A:2000年7月1日</p><p>B:2000年10月1日</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1062', '1', '3月23日,在太空工作时间最长的空间站“和平号”坠毁,它是在哪年发射升空的?', '0', '', '', '<p>A:1984</p><p>B:1985</p><p>C:1986</p><p>D:1987</p><p>E:1988</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1061', '1', '在唐代长安城经常可以见到的“新罗人”是现今我们所说的:', '0', '', '', '<p>A:朝鲜人</p><p>B:越南人</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1060', '1', '"建元”是我国哪一个皇帝使用的年号?', '0', '', '', '<p>A:明成祖</p><p>B:晋武帝</p><p>C:汉武帝</p><p>D:唐太宗</p><p>E:宋高宗</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1059', '2', '北京的故宫是哪些朝代的皇宫?(多选)', '0', '', '', '<p>A:宋朝</p><p>B:元朝</p><p>C:明朝</p><p>D:清朝</p><p>E:唐朝</p><p>F:隋朝</p>', '6', 'BCD', 'BCD', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1058', '1', '80年发行的人民币二角背面的图案是:', '0', '', '', '<p>A:国旗</p><p>B:国徽</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1057', '1', '诸葛亮的办公地点,武侯祠在什么地方?', '0', '', '', '<p>A:河南南阳</p><p>B:四川成都</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1056', '1', '原始人类在造独木舟时除了用石器砍,还用了哪些办法?', '0', '', '', '<p>A:水泡</p><p>B:火烧</p><p>C:烟熏</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1055', '1', '我国最早的私立学校产生于:', '0', '', '', '<p>A:春秋时期</p><p>B:战国时期</p><p>C:汉代</p><p>D:唐代</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1054', '1', '唐朝将协议离婚称为:', '0', '', '', '<p>A:离</p><p>B:和离</p><p>C:出妻</p><p>D:休弃</p><p>E:义绝</p>', '5', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1053', '1', '拿破仑统治时期,法国的主要对手是:', '0', '', '', '<p>A:西班牙</p><p>B:葡萄牙</p><p>C:荷兰</p><p>D:英国</p><p>E:意大利</p>', '5', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1052', '1', '从何时开始,我国有了民办报纸?', '0', '', '', '<p>A:唐朝</p><p>B:宋朝</p><p>C:元朝</p><p>D:明朝</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1051', '1', '1999年12月15日,美国正式把巴拿马运河归还给巴拿马政府。此前,美国还在该地设立了一个个什么基地?', '0', '', '', '<p>A:商品基地</p><p>B:军事基地</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1050', '1', '新石器时代属于石器时代的哪个时期?', '0', '', '', '<p>A:早期</p><p>B:中期</p><p>C:晚期</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1048', '1', '南北朝时,北方民歌艺术的最高成就是:', '0', '', '', '<p>A:木兰辞</p><p>B:敕勒歌</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1049', '1', '我国著名的赵州桥建于哪个朝代?', '0', '', '', '<p>A:唐</p><p>B:隋</p><p>C:宋</p><p>D:元</p><p>E:明</p>', '5', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1047', '1', '新中国第一部律师法于哪一年开始施行?', '0', '', '', '<p>A:1982年</p><p>B:1988年</p><p>C:1994年</p><p>D:1997年</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1045', '1', '中国第一部写在纸上的书是:', '0', '', '', '<p>A:《三国志》</p><p>B:《金刚经》</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1046', '1', '我国历史上公布第一批成文法的历史时期是:', '0', '', '', '<p>A:夏朝</p><p>B:商朝</p><p>C:周朝</p><p>D:春秋战国</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1044', '1', '我国最早制造飞机的人是:', '0', '', '', '<p>A:冯如</p><p>B:杨仙逸</p><p>C:李汉</p><p>D:韩兴华</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1043', '1', '世界上第一部成文宪法是:', '0', '', '', '<p>A:英国宪法</p><p>B:美国宪法</p><p>C:法国宪法</p><p>D:德国宪法</p><p>E:日本宪法</p>', '5', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1042', '1', '最古老的医院是设在:', '0', '', '', '<p>A:学校里</p><p>B:教堂里</p><p>C:剧院里</p><p>D:宫廷里</p><p>E:集市里</p>', '5', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1041', '1', '法国资产阶级革命爆发的时间是:', '0', '', '', '<p>A:1789年7月14日</p><p>B:1792年9月15日</p><p>C:1793年7月14日</p><p>D:1789年7月4日</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1040', '1', '在世界上首创用汤药治病的是:', '0', '', '', '<p>A:孙思邈</p><p>B:扁鹊</p><p>C:伊尹</p><p>D:李时珍</p><p>E:华佗</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1039', '1', '中国第一座佛教寺院是哪一座?', '0', '', '', '<p>A:洛阳白马寺</p><p>B:北京潭柘寺</p><p>C:五台山清凉寺</p><p>D:蒿山少林寺</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1038', '1', '新中国第一套纪念邮票是:', '0', '', '', '<p>A:庆祝中国人民政治协商会议第一届全体会议</p><p>B:中华人民共和国开国纪念</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1037', '1', '我国最早的博物馆是:', '0', '', '', '<p>A:沈阳故宫博物院</p><p>B:南通博物馆</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1036', '1', '屈原是春秋时代哪国人?', '0', '', '', '<p>A:齐国</p><p>B:楚国</p><p>C:燕国</p><p>D:秦国</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1035', '1', '赤壁之战中,假装投降以接近曹军的吴国将领是:', '0', '', '', '<p>A:黄忠</p><p>B:黄巢</p><p>C:黄盖</p><p>D:姜维</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1034', '1', '清朝官员的官帽顶部称为顶戴,顶戴为红色的是几品官?', '0', '', '', '<p>A:一二品</p><p>B:三四品</p><p>C:五六品</p><p>D:七品以下</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1033', '1', '全国性抗日战争爆发的标志是?', '0', '', '', '<p>A:九一八事件</p><p>B:七七事件</p><p>C:一一八事件</p><p>D:一二八事件</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1032', '1', '下列各朝代疆域西至最远的是:', '0', '', '', '<p>A:秦朝</p><p>B:唐朝</p><p>C:宋朝</p><p>D:清朝</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1031', '1', '宋代的代表性刑罚是:', '0', '', '', '<p>A:腰斩</p><p>B:刺配</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1030', '1', '秦朝制订的《田律》是关于哪方面的规定?', '0', '', '', '<p>A:农业</p><p>B:环境保护</p><p>C:商品交换</p><p>D:税收</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1029', '1', '第一个测出了地球质量的人是?', '0', '', '', '<p>A:卡文迪许</p><p>B:阿基米德</p><p>C:帕斯卡</p><p>D:惠更斯</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1028', '1', '古代人们用来当酒杯的青铜器叫:', '0', '', '', '<p>A:敦</p><p>B:尊</p><p>C:爵</p><p>D:鼎</p><p>E:盘</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1027', '1', '秦汉时代,人们说的“关中”指哪一带?', '0', '', '', '<p>A:函谷关以西</p><p>B:阳关以西</p><p>C:山海关以东</p><p>D:嘉峪关以东</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1026', '1', '我国宋代邢窑出白釉瓷、越窑出青釉瓷,所以有:', '0', '', '', '<p>A:“南青北白”之称</p><p>B:“北青南白”之称</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1025', '1', '我国西晋的第一代皇帝名叫:', '0', '', '', '<p>A:曹丕</p><p>B:司马睿</p><p>C:司马炎</p><p>D:司马懿</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1024', '1', '著名历史学家黄仁宇出生于哪一年', '0', '', '', '<p>A:1910年</p><p>B:1911年</p><p>C:1918年</p><p>D:1920年</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1023', '1', '在西方,中世纪的新年是', '0', '', '', '<p>A:1月1日</p><p>B:2月1日</p><p>C:3月1日</p><p>D:4月1日</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1022', '1', '避孕套最早出现在哪个国家', '0', '', '', '<p>A:埃及</p><p>B:美国</p><p>C:中国</p><p>D:日本</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1021', '1', '我国唐代学者一行和尚,他制订了什么历法?', '0', '', '', '<p>A:大明历</p><p>B:元嘉历</p><p>C:大衍历</p><p>D:公历</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1020', '1', '智利球星萨拉斯出生在哪一年?', '0', '', '', '<p>A:1972</p><p>B:1973</p><p>C:1974</p><p>D:1975</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1019', '1', '浪漫主义诗人济慈在世活了多少年?', '0', '', '', '<p>A:25</p><p>B:26</p><p>C:35</p><p>D:36</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1018', '1', '校园歌曲最早出现在', '0', '', '', '<p>A:台湾</p><p>B:巴西</p><p>C:日本</p><p>D:韩国</p><p>E:美国</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1017', '1', '我国古代的“芙蓉城”是指:', '0', '', '', '<p>A:杭州</p><p>B:洛阳</p><p>C:成都</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1016', '1', '历史上的“三八线”指的是朝鲜领土上的什么线?', '0', '', '', '<p>A:经度38度线</p><p>B:北纬38度线</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1015', '3', '秦始皇把正月改叫端月是为了避讳自己的名字,对吗?', '0', '', '', '<p>A:对</p><p>B:不对</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1014', '1', '上个世纪60年代中期成立的第三世界组织是:', '0', '', '', '<p>A:非洲人国民大会</p><p>B:非洲统一组织</p><p>C:阿拉伯国家联盟</p><p>D:77国集团</p><p>E:东南亚国家联盟</p>', '5', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1013', '1', '东汉末年我国的一位杰出的医学家是:', '0', '', '', '<p>A:扁鹊</p><p>B:华佗</p><p>C:李时珍</p><p>D:叶天士</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1012', '1', '以下哪一位是中西交往史上较早的人物?', '0', '', '', '<p>A:马可波罗</p><p>B:利马窦</p><p>C:晁衡</p><p>D:玄奘</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1011', '3', '秦桧是不是最早被称为汉奸的人?', '0', '', '', '<p>A:是</p><p>B:不是</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1010', '1', '最早进入青铜器时代的国家是:', '0', '', '', '<p>A:阿拉伯叙利亚</p><p>B:中国</p><p>C:埃及</p><p>D:印度</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1009', '1', '"九宫格”的创始人是', '0', '', '', '<p>A:欧阳洵</p><p>B:虞世南</p><p>C:智永</p><p>D:翁方纲</p><p>E:米芾</p>', '5', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1008', '1', '人类最早使用的工具,是什么材料的?', '0', '', '', '<p>A:木</p><p>B:石</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1007', '1', '我国哪位思想家曾提出:学校应成为民主议政的场所?', '0', '', '', '<p>A:王夫之</p><p>B:顾炎武</p><p>C:黄宗羲</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1006', '1', '下面不是明代的宣德炉之所以珍贵的原因是:', '0', '', '', '<p>A:有重大历史意义</p><p>B:用料精到</p><p>C:数量很少</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1005', '1', '古建筑屋顶中等级最高的是:', '0', '', '', '<p>A:悬山顶</p><p>B:重檐庑殿顶</p><p>C:重檐歇山顶</p><p>D:硬山顶</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1004', '1', '世界上最早的节目主持人是主持什么节目的?', '0', '', '', '<p>A:戏剧</p><p>B:广告</p><p>C:新闻</p><p>D:音乐</p><p>E:舞蹈</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1003', '1', '唐太宗的“太宗”指的是他的:', '0', '', '', '<p>A:谥号</p><p>B:陵号</p><p>C:庙号</p><p>D:年号</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1001', '1', '唐代人可以称“父亲”为:', '0', '', '', '<p>A:伯伯</p><p>B:哥哥</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1002', '1', '群体诉讼最早产生于:', '0', '', '', '<p>A:美国</p><p>B:法国</p><p>C:中国</p><p>D:英国</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1000', '1', '饼干最初出现的地点是:', '0', '', '', '<p>A:高山</p><p>B:海岛</p><p>C:极地</p><p>D:峡谷</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('999', '1', '阅兵是古今中外一种隆重的军事仪式,我国最早对阅兵有记载是在:', '0', '', '', '<p>A:春秋</p><p>B:战国</p><p>C:秦</p><p>D:汉</p><p>E:三国</p>', '5', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('998', '1', '“谬种流传”最早是宋朝人批评当时的:', '0', '', '', '<p>A:官场黑暗</p><p>B:科举制度</p><p>C:社会风气</p><p>D:诗词风格</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('997', '1', '世界上第一个空中犯罪问题的国际公约是:', '0', '', '', '<p>A:《东京公约》</p><p>B:《海牙公约》</p><p>C:《蒙特利尔公约》</p><p>D:《华沙公约》</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('996', '1', '2000年我国国内生产总值突破:', '0', '', '', '<p>A:1万亿美元</p><p>B:1.5万亿美元</p><p>C:2万亿美元</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('995', '1', '从何时起,对最高统治者称“王”?', '0', '', '', '<p>A:夏</p><p>B:商</p><p>C:春秋</p><p>D:周</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('994', '1', '孔乙己是科举制度的牺牲品,科举制度始创于何时?', '0', '', '', '<p>A:汉朝</p><p>B:隋朝</p><p>C:唐朝</p><p>D:元代</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('993', '1', '中国抗日战争中,最早为抗击日寇牺牲的中国将领是:', '0', '', '', '<p>A:张治中</p><p>B:张自忠</p><p>C:赵登禹</p><p>D:左权</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('992', '1', '数学符号中的"0"起源于:', '0', '', '', '<p>A:古印度</p><p>B:古希腊</p><p>C:古埃及</p><p>D:古罗马</p><p>E:中国</p>', '5', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('991', '1', '世界上第一个国家颁布的药典出现在:', '0', '', '', '<p>A:东罗马帝国时期</p><p>B:印度孔雀王朝</p><p>C:中国唐朝</p><p>D:日本德川时代</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('990', '1', '有的学校实行学分制,在我国最早提倡学分制的是', '0', '', '', '<p>A:鲁迅</p><p>B:蔡元培</p><p>C:吴玉章</p><p>D:毛泽东</p><p>E:周恩来</p>', '5', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('989', '1', '最早可卡因是一种:', '0', '', '', '<p>A:解酒药</p><p>B:麻醉剂</p><p>C:调料品</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('988', '1', '春秋时的齐国和鲁国,在现在的哪个省?', '0', '', '', '<p>A:河北</p><p>B:山东</p><p>C:江苏</p><p>D:安徽</p><p>E:河南</p>', '5', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('987', '1', '相传我国古代能作“掌上舞”的人是:', '0', '', '', '<p>A:杨玉环</p><p>B:赵飞燕</p><p>C:西施</p><p>D:貂蝉</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('986', '1', '馒头起源于', '0', '', '', '<p>A:南方</p><p>B:北方</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('985', '1', '内蒙古和林格尔壁画的产生年代是:', '0', '', '', '<p>A:汉代</p><p>B:辽代</p><p>C:元代</p><p>D:清代</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('984', '1', '古陶的年代鉴别首先应该看:', '0', '', '', '<p>A:纹样</p><p>B:器形</p><p>C:釉色</p><p>D:颜色</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('983', '1', '中国最早的教育专业刊物是:', '0', '', '', '<p>A:《教育漫话》</p><p>B:《教育界》</p><p>C:《教育论》</p><p>D:《教育学》</p><p>E:《教育杂志》</p>', '5', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('982', '1', '世界上第一个无产阶级政权建立于哪个国家?', '0', '', '', '<p>A:法国</p><p>B:俄国</p><p>C:中国</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('980', '1', '古时戒指用来表示?', '0', '', '', '<p>A:荣誉</p><p>B:富贵</p><p>C:禁戒</p><p>D:婚否</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('981', '1', '鼎有几个“耳朵”?', '0', '', '', '<p>A:没有</p><p>B:2个</p><p>C:3个</p><p>D:4个</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('979', '2', '下列姓氏中,哪些曾是古代的官名?(多选)', '0', '', '', '<p>A:欧阳</p><p>B:司马</p><p>C:上官</p><p>D:夏侯</p><p>E:司徒</p><p>F:司空</p>', '6', 'BCD', 'BCD', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('978', '1', '第一次世界杯在哪一年举行?', '0', '', '', '<p>A:1904</p><p>B:1930</p><p>C:1956</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('976', '1', '在第二次世界大战中,中途岛战役发生在哪两个国家之间?', '0', '', '', '<p>A:英德</p><p>B:美日</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('977', '1', '世界上第一部《有限责任公司法》是由哪个国家制定的?', '0', '', '', '<p>A:美国</p><p>B:德国</p><p>C:英国</p><p>D:法国</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('975', '1', '历史上“乐不思蜀”的是哪位皇帝?', '0', '', '', '<p>A:刘备</p><p>B:刘秀</p><p>C:孙权</p><p>D:刘禅</p><p>E:刘邦</p>', '5', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('974', '1', '“大禹治水”最终获得成功,是因为大禹采用了什么方法治理洪水?', '0', '', '', '<p>A:填塞</p><p>B:疏导</p><p>C:围堵</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('972', '1', '王安石变法发生在宋朝哪个皇帝在位期间?', '0', '', '', '<p>A:仁宗</p><p>B:神宗</p><p>C:英宗</p><p>D:哲宗</p><p>E:高宗</p>', '5', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('973', '1', '隋朝所取代的“周”,属于北朝还是南朝?', '0', '', '', '<p>A:北朝</p><p>B:南朝</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('971', '1', '八路军的全称是', '0', '', '', '<p>A:中国工农红军第八军</p><p>B:国民革命军第八军</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('970', '1', '我国最先出现的纸币是:', '0', '', '', '<p>A:元代的“宝钞”</p><p>B:元代的“交子”</p><p>C:宋代的“宝钞”</p><p>D:宋代的“交子”</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('969', '1', '阳春白雪和下里巴人源于什么时代?', '0', '', '', '<p>A:春秋</p><p>B:战国</p><p>C:秦代</p><p>D:唐代</p><p>E:宋代</p>', '5', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('968', '1', '清朝时,北京城的西直门是由满族那一旗驻守的?', '0', '', '', '<p>A:正黄旗</p><p>B:正红旗</p><p>C:镶黄旗</p><p>D:镶红旗</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('966', '1', '世界第一枚邮票出现在:', '0', '', '', '<p>A:英国</p><p>B:德国</p><p>C:法国</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('967', '1', '古人放爆竹最早是为了:', '0', '', '', '<p>A:庆祝节日</p><p>B:恭贺商店开张</p><p>C:庆贺生日</p><p>D:驱逐瘟神疫鬼</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('964', '1', '汉朝最先下诏废除肉刑的皇帝是:', '0', '', '', '<p>A:汉武帝</p><p>B:汉成帝</p><p>C:汉文帝</p><p>D:汉景帝</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('965', '1', '“王牌飞行员” 最早授予击落几架飞机的空军战士?', '0', '', '', '<p>A:2架</p><p>B:3架</p><p>C:5架</p><p>D:10架</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('963', '1', '把占城稻推广到江浙和淮河流域种植的是:', '0', '', '', '<p>A:北宋政府</p><p>B:南宋政府</p><p>C:元朝政府</p><p>D:唐朝政府</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('962', '1', '我国电视台播放的第一部外国电视剧是:', '0', '', '', '<p>A:朝鲜的</p><p>B:南斯拉夫的</p><p>C:古巴的</p><p>D:波兰的</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('961', '1', '我国珍稀野生动物特种纪念币系列的首枚纪念币图案是:', '0', '', '', '<p>A:大熊猫</p><p>B:金丝猴</p><p>C:扬子鳄</p><p>D:白鳍豚</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('960', '1', '康熙皇帝的庙号是:', '0', '', '', '<p>A:仁宗</p><p>B:太宗</p><p>C:穆宗</p><p>D:圣祖</p><p>E:世祖</p>', '5', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('959', '1', '最早的春联是:', '0', '', '', '<p>A:刻在木上</p><p>B:写在纸上</p><p>C:雕在石上</p><p>D:绣在绸上</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('958', '1', '中国签定的第一个不平等条约是哪个?', '0', '', '', '<p>A:望厦条约</p><p>B:南京条约</p><p>C:辛丑条约</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('957', '1', '战国时,“纸上谈兵”招致兵败的赵国将领是:', '0', '', '', '<p>A:赵奢</p><p>B:赵构</p><p>C:赵括</p><p>D:赵盾</p><p>E:赵恒</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('956', '1', '明清时期称镌刻约束在学生员条规的碑石为卧碑,它一般树于明伦堂的:', '0', '', '', '<p>A:前方</p><p>B:后方</p><p>C:左边</p><p>D:右边</p><p>E:室内</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('955', '1', '以下哪种人,不属于古代日耳曼民族?', '0', '', '', '<p>A:西哥特人</p><p>B:萨克森人</p><p>C:希洛人</p><p>D:法兰克人</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('954', '1', '在我国古代曾有一次人口普查,它是在哪个朝代进行的?', '0', '', '', '<p>A:宋朝</p><p>B:元朝</p><p>C:明朝</p><p>D:清朝</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('953', '1', '人类最早的“精子库”是为谁而建的?', '0', '', '', '<p>A:不育男子</p><p>B:参战士兵</p><p>C:单身贵族</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('952', '1', '下列王朝中统治时间最短的是:', '0', '', '', '<p>A:秦朝</p><p>B:隋朝</p><p>C:西晋</p><p>D:元朝</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('951', '1', '东汉时,谁既是杰出的科学家又是著名的文学家?', '0', '', '', '<p>A:王充</p><p>B:张衡</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('950', '1', '西汉时期,经御史大夫杜周、杜延年解释的汉律,被称为“大杜律和小杜律”,他们两人的关系是:', '0', '', '', '<p>A:父子</p><p>B:师生</p><p>C:叔侄</p><p>D:同朝官员</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('949', '1', '世界上第一枚邮票是于哪年发行的?', '0', '', '', '<p>A:1820年</p><p>B:1840年</p><p>C:1860年</p><p>D:1900年</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('947', '1', '唐高祖武德四年的开元通宝,开元所代表的意思为:', '0', '', '', '<p>A:开辟新纪元</p><p>B:年号</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('948', '1', '秦朝开始推行郡县制度,在全国设:', '0', '', '', '<p>A:24郡</p><p>B:36郡</p><p>C:20郡</p><p>D:40郡</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('945', '1', '在荷马史诗当中,特洛伊战争持续了:', '0', '', '', '<p>A:8年</p><p>B:15年</p><p>C:10年</p><p>D:11年</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('946', '1', '“尧天禹日”是指代什么的?', '0', '', '', '<p>A:改朝换代</p><p>B:太平盛世</p><p>C:一朝天子一朝臣</p><p>D:饥荒年代</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('944', '2', '人类食品历史上先后出现了五类食品,其中第四,五类食品是?(多选)', '0', '', '', '<p>A:米</p><p>B:面</p><p>C:油</p><p>D:酱油</p><p>E:醋</p>', '5', 'DE', 'DE', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('943', '1', '人类古代的“掠夺婚”产生于哪个时期?', '0', '', '', '<p>A:母权制初期</p><p>B:父权制初期</p><p>C:对偶婚时期</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('942', '1', '较早使用的活字是:', '0', '', '', '<p>A:木活字</p><p>B:铅活字</p><p>C:陶活字</p><p>D:铜活字</p><p>E:锡活字</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('941', '1', '宋代的"学象生"同现代的:', '0', '', '', '<p>A:口技</p><p>B:相声</p><p>C:舞狮子</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('940', '1', '下列官名中哪些不是唐朝的官名?', '0', '', '', '<p>A:尚书</p><p>B:黄门</p><p>C:中书</p><p>D:巡按</p><p>E:殿中</p><p>F:御史</p>', '6', 'E', 'E', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('939', '1', '方便面的发明者最初的愿望是:', '0', '', '', '<p>A:战时储备</p><p>B:节约时间</p><p>C:在家吃面</p><p>D:提高效益</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('938', '1', '世界上第一种基因移植作物是:', '0', '', '', '<p>A:番茄</p><p>B:烟草</p><p>C:白菜</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('936', '1', '据考古资料显示,我国的钻孔技术开始于:', '0', '', '', '<p>A:山顶洞人时代</p><p>B:母系氏族繁荣时期</p><p>C:父系氏族时期</p><p>D:夏朝</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('937', '1', '哪个火山的爆发毁灭了古罗马帝国的庞贝城?', '0', '', '', '<p>A:维苏威火山</p><p>B:埃特纳火山</p><p>C:圣海伦斯火山</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('935', '3', '中国历史上被称为始皇帝的不是嬴政,对吗?', '0', '', '', '<p>A:对</p><p>B:不对</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('934', '1', '哈雷慧星的最早记录是哪国人留下的?', '0', '', '', '<p>A:埃及人</p><p>B:希腊人</p><p>C:中国人</p><p>D:波斯人</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('932', '1', '涮羊肉起源于', '0', '', '', '<p>A:清朝</p><p>B:元朝</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('933', '1', '目前人类已知的最软的石头是:', '0', '', '', '<p>A:磷灰石</p><p>B:石膏</p><p>C:方解石</p><p>D:滑石</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('931', '1', '抗战时期,“八路军”下辖3个师和一个直属队,刘伯承在:', '0', '', '', '<p>A:115师</p><p>B:120师</p><p>C:129师</p><p>D:直属队</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('930', '1', '我国古代哪位文学家曾两度到杭州做官?', '0', '', '', '<p>A:欧阳修</p><p>B:杜甫</p><p>C:白居易</p><p>D:苏轼</p><p>E:韩愈</p><p>F:曹操</p>', '6', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('929', '1', '下列对清明两代“乡试”考试地点解释正确的是:', '0', '', '', '<p>A:在本乡</p><p>B:在各县县城</p><p>C:在各省省城</p><p>D:在京城书院</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('928', '1', '蒸馏酒源于中国古代的:', '0', '', '', '<p>A:炼丹术</p><p>B:造纸术</p><p>C:印刷术</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('927', '1', '古代著名的水利工程都江堰是谁设计的?', '0', '', '', '<p>A:大禹</p><p>B:李冰父子</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('926', '1', '最早的纸币源于:', '0', '', '', '<p>A:中国</p><p>B:美国</p><p>C:苏联</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('925', '1', '《阳关三叠》是甚么时候的琴曲?', '0', '', '', '<p>A:汉代</p><p>B:隋唐</p><p>C:宋元</p><p>D:明清</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('924', '1', '谁是“中山装”的创始人?', '0', '', '', '<p>A:黄隆生</p><p>B:孙中山</p><p>C:汪精卫</p><p>D:黄兴</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('923', '1', '世界水日是哪一天?', '0', '', '', '<p>A:3月23日</p><p>B:4月23日</p><p>C:5月23日</p><p>D:6月23日</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('922', '1', '现存关于遗嘱继承的最早的法规产生于:', '0', '', '', '<p>A:汉代</p><p>B:唐代</p><p>C:宋代</p><p>D:元代</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('920', '1', '请问“法律”最早出现于哪个社会?', '0', '', '', '<p>A:原始社会</p><p>B:奴隶社会</p><p>C:封建社会</p><p>D:资本主义社会</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('921', '1', '欧元什么时候正式诞生?', '0', '', '', '<p>A:1999年1月1日</p><p>B:1999年7月1日</p><p>C:1999年12月1日</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('919', '1', '一个帝王陵区只有一个主神道,一般修在谁的陵前?', '0', '', '', '<p>A:第一个埋葬者</p><p>B:年龄最大者</p><p>C:统治时间最长者</p><p>D:国力最昌盛者</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('918', '1', '早期人类家庭的进步,与哪种事业关系最密切?', '0', '', '', '<p>A:狩猎</p><p>B:捕鱼</p><p>C:造房</p><p>D:饲养</p><p>E:纺织</p>', '5', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('917', '1', '我国最早提出创建监狱的人是:', '0', '', '', '<p>A:皋陶</p><p>B:李斯</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('916', '1', '清光绪年间曾对邮票有一种非常特殊的称谓,请问当时叫什么?', '0', '', '', '<p>A:老人头</p><p>B:小孩头</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('915', '1', '我国第一所民办高等教育机构哪年建立?', '0', '', '', '<p>A:1982</p><p>B:1985</p><p>C:1988</p><p>D:1992</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('914', '1', '最早芭蕾舞出现于:', '0', '', '', '<p>A:杂技团</p><p>B:宫廷</p><p>C:学校</p><p>D:戏团</p><p>E:教会</p><p>F:军队</p>', '6', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('913', '1', '美国1787年宪法规定,解释宪法的权力在:', '0', '', '', '<p>A:众议院</p><p>B:参议院</p><p>C:最高法院</p><p>D:总统</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('912', '1', '科举中,会出现一人兼解元、会元、状元的“连中三元”,其分别是在什么考试中取得的?', '0', '', '', '<p>A:院试、乡试、殿试</p><p>B:院试、会试、殿试</p><p>C:府试、乡试、殿试</p><p>D:县试、会试、殿试</p><p>E:乡试、会试、殿试</p><p>F:童试、会试、殿试</p>', '6', 'E', 'E', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('911', '1', '我国宪法的监督权属于:', '0', '', '', '<p>A:国务院</p><p>B:全国人大</p><p>C:全国人大常委会</p><p>D:全国人大法律委员会</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('910', '1', '隋唐时期的官制中尚书省分为吏,户,礼,兵,刑,工六部,其中的礼部是掌管:', '0', '', '', '<p>A:规定礼仪,监督和教育官员和百姓懂得礼仪</p><p>B:掌管国家的典章法度,祭祀,学校,科举和接待四方宾客等事务</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('909', '1', '馒头是谁发明的?', '0', '', '', '<p>A:李冰</p><p>B:诸葛亮</p><p>C:曹操</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('908', '1', '世界上第一家麻将博物馆坐落在:', '0', '', '', '<p>A:中国</p><p>B:日本</p><p>C:法国</p><p>D:印度</p><p>E:阿拉伯</p><p>F:美国</p>', '6', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('907', '1', '发生在北京卢沟桥的历史事变名叫?', '0', '', '', '<p>A:华北事变</p><p>B:戊戌政变</p><p>C:七七事变</p><p>D:皖南事变</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('906', '1', '世界最早的公用电话亭是在:', '0', '', '', '<p>A:银行内</p><p>B:公园内</p><p>C:商店内</p><p>D:电话公司内</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('905', '1', '第一次鸦片战争发生的时间是:', '0', '', '', '<p>A:1839年3月</p><p>B:1840年6月</p><p>C:1841年1月</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('904', '1', '以下哪一位曾被称为“药王”?', '0', '', '', '<p>A:孙思邈</p><p>B:张仲景</p><p>C:李时珍</p><p>D:扁鹊</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('903', '1', '公元前594年,实行“初税亩”,按亩收税的国家是:', '0', '', '', '<p>A:楚国</p><p>B:鲁国</p><p>C:郑国</p><p>D:魏国</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('902', '1', '下列战役中,被陈毅元帅称作“人民群众用小车推出来的”是:', '0', '', '', '<p>A:淮海战役</p><p>B:平津战役</p><p>C:辽沈战役</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('901', '1', '在下列哪一年Internet网延伸入中国?', '0', '', '', '<p>A:93年</p><p>B:94年</p><p>C:95年</p><p>D:96年</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('900', '1', '中国古代哪个学派的主张,与绿色和平组织的思想相近?', '0', '', '', '<p>A:儒家</p><p>B:法家</p><p>C:佛家</p><p>D:道家</p><p>E:阴阳</p>', '5', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('899', '1', '古希腊哪个国家的儿童一出世就要受到严格挑选,体质弱的会被抛之荒野?', '0', '', '', '<p>A:雅典</p><p>B:斯巴达</p>', '2', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('898', '1', '“驸马”最初是指:', '0', '', '', '<p>A:给皇帝养马的人</p><p>B:官名</p><p>C:给皇帝牵马的人</p><p>D:马的名字</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('897', '1', '我国是什么时候采用公历的?', '0', '', '', '<p>A:鸦片战争时期</p><p>B:辛亥革命时期</p><p>C:建国前夕</p><p>D:建国后</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('896', '1', '中国古建筑学科的开拓者是:', '0', '', '', '<p>A:鲁班</p><p>B:梁思成</p><p>C:杨廷玉</p><p>D:童寓</p><p>E:吴良镛</p><p>F:刘敦桢</p>', '6', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('895', '1', '“腊八粥”最早起源于:', '0', '', '', '<p>A:祭祀</p><p>B:民间庆祝丰收的风俗</p><p>C:佛教</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('885', '1', '<p>asd&nbsp;</p>', '1', 'peadmin', '', '<p>asdas&nbsp;</p>', '4', 'A', '', '', '1483417538', '1', '', '1', '0', '0');
INSERT INTO `x2_questions` VALUES ('886', '1', '<p>asdasdsadsad</p>', '1', 'peadmin', '', '<p>asdsadsad</p>', '4', 'A', '<p>asdasdasd</p>', '', '1485101251', '1', '', '2', '0', '0');
INSERT INTO `x2_questions` VALUES ('887', '1', '<p>s阿达撒旦撒打算的222</p>', '1', 'peadmin', '', '<p>a撒旦撒打算打算</p>', '4', '<p>A</p>', '', '', '1486478140', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('894', '1', '世界上第一辆摩托车其主要材料是:', '0', '', '', '<p>A:塑料</p><p>B:木头</p><p>C:铁皮</p><p>D:自行车</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('893', '1', '仰韶文化是我国历史上哪个时代中期的文化?', '0', '', '', '<p>A:旧石器</p><p>B:新石器</p><p>C:青铜器</p><p>D:铁器</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1701', '1', '哪位唐代诗人被后人称为“鬼才”?', '0', '', '', '<p>A:李贺</p><p>B:李商隐</p><p>C:李白</p><p>D:杜甫</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1702', '1', '我国最早创办海军学校的人是', '0', '', '', '<p>A:李鸿章</p><p>B:左宗堂</p><p>C:袁世凯</p><p>D:张之洞</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1703', '1', '三国演义中的吕布为什么杀死董卓', '0', '', '', '<p>A:美女</p><p>B:财宝</p><p>C:名马</p><p>D:权利</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1704', '1', '下列不属于“唐宋八大家”之一的是:', '0', '', '', '<p>A:韩愈</p><p>B:李白</p><p>C:曾巩</p><p>D:王安石</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1705', '1', '成为我国上世纪30年代文化革命的主将的是:', '0', '', '', '<p>A:周扬</p><p>B:鲁迅</p><p>C:郭沫若</p><p>D:史量才</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1706', '2', '近代中国反帝民族解放斗争的先导是以( )为代表(多选)', '0', '', '', '<p>A:林则徐</p><p>B:曾国潘</p><p>C:魏源</p><p>D:张之洞</p>', '4', 'AC', 'AC', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1707', '1', '人类最先使用的制造器具的金属是', '0', '', '', '<p>A:铁</p><p>B:铜</p><p>C:银</p><p>D:金</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1708', '1', '在中国近代史上,清政府同外国签订的不平等条约中,赔款最多的是:', '0', '', '', '<p>A:马关条约</p><p>B:辛丑条约</p><p>C:南京条约</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1709', '1', '战国七雄中,在春秋时期称过霸的是( )', '0', '', '', '<p>A:齐、赵、燕</p><p>B:齐、楚、秦</p><p>C:楚、韩、赵</p><p>D:越、魏、秦</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1710', '1', '在我国近代最早提出“振兴中华”口号的是:', '0', '', '', '<p>A:毛泽东</p><p>B:梁启超</p><p>C:孙中山</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1711', '1', '甲骨文的发明地是:', '0', '', '', '<p>A:安阳</p><p>B:南阳</p><p>C:信阳</p><p>D:洛阳</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1712', '1', '60年代哪个国家的宇航员首次登上月球?', '0', '', '', '<p>A:苏联</p><p>B:美国</p><p>C:中国</p><p>D:英国和法国</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1713', '1', '俄罗斯最后一位沙皇是谁:', '0', '', '', '<p>A:尼古拉一世</p><p>B:尼古拉二世</p><p>C:亚历山大一世</p><p>D:亚历山大二世</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1714', '1', '最早侵占中国领土的西方殖民者是( )', '0', '', '', '<p>A:日本</p><p>B:葡萄牙</p><p>C:荷兰</p><p>D:沙俄</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1715', '1', '世界上最早的齿孔邮票是哪个国家发行的?', '0', '', '', '<p>A:法国</p><p>B:匈牙利</p><p>C:英国</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1716', '1', '“乌纱帽”始自哪个朝代', '0', '', '', '<p>A:北宋</p><p>B:南宋</p><p>C:明世宗</p><p>D:唐朝</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1717', '1', '新春燃放爆竹的风俗始于', '0', '', '', '<p>A:秦代</p><p>B:汉代</p><p>C:唐代</p><p>D:宋代</p><p>E:元代</p><p>F:明代</p>', '6', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1718', '1', '酸菜是我国北方人喜欢吃的经发酵变酸的白菜,源于', '0', '', '', '<p>A:辽宁</p><p>B:吉林</p><p>C:黑龙江</p><p>D:北京</p><p>E:河北</p><p>F:山东</p>', '6', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1719', '1', '古陶的年代鉴别首先应该看', '0', '', '', '<p>A:纹样</p><p>B:器形</p><p>C:釉色</p><p>D:颜色</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1720', '1', '1990年8月伊拉克入侵科威特后,美国大规模出兵干预,即所谓“沙漠风暴”行动。美国采取这个行动的原因是( )', '0', '', '', '<p>A:美国人中主持正义</p><p>B:联合国要求美国这样做</p><p>C:美国和伊拉克是宿敌,伊拉克和行径使美国找到打击伊拉克的机会</p><p>D:美国要保护中东的石油资源并维持其在中东的霸权地位</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1721', '1', '我国现存最早的藏书楼宁波天一阁建成于哪个朝代?', '0', '', '', '<p>A:元朝</p><p>B:明朝</p><p>C:清朝</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1722', '1', '我国第一家通讯社中兴通讯社于1904年在哪座城市创办?', '0', '', '', '<p>A:上海</p><p>B:广州</p><p>C:天津</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1723', '1', '在古代唐朝的皇宫里,夏天由宫女推动高大的水车,将水洒到宫殿的房顶上,水再顺房四周流下,这样做的主要目的是', '0', '', '', '<p>A:为了新奇、美观</p><p>B:为了寻欢作乐</p><p>C:为了清洁房顶</p><p>D:为了解暑降温</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1724', '1', '西汉时,有一名将,前后七次率军出击匈奴,屡建奇功,死后被追封为“烈侯”,他是谁?', '0', '', '', '<p>A:李广</p><p>B:卫青</p><p>C:霍去病</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1725', '1', '公元222年,以少胜多,火烧连营七百里,大败刘备的吴国名将是谁?', '0', '', '', '<p>A:吕蒙</p><p>B:周瑜</p><p>C:陆逊</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1726', '1', '人类的第一张照片是什么时候诞生的?', '0', '', '', '<p>A:1788年</p><p>B:1802年</p><p>C:1826年</p><p>D:1843年</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1727', '1', '明朝最后一个皇帝崇祯皇帝的号是什么?', '0', '', '', '<p>A:明神宗</p><p>B:明英宗</p><p>C:明思宗</p><p>D:明宣宗</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1728', '1', '顺治七年(1650)底多尔衮死后,清世祖福临为了加强对八旗的控制,对八旗的顺序进行了调整。由皇帝控制的哪三旗,称为上三旗?', '0', '', '', '<p>A:镶黄、正黄、正白</p><p>B:正黄、正红、正白</p><p>C:正白、镶白、正蓝</p><p>D:正红、镶红、镶黄</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1729', '1', '下列哪个皇帝迁都北京?', '0', '', '', '<p>A:朱元璋</p><p>B:朱隶</p><p>C:朱由检</p><p>D:爱新觉罗。玄烨</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1730', '1', '“大禹治水”主要治理的是:', '0', '', '', '<p>A:泾水</p><p>B:渭水</p><p>C:黄河</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1731', '1', '欧元于何时正式诞生', '0', '', '', '<p>A:1998年12月31日</p><p>B:1999年1月1日</p><p>C:1999年12月31日</p><p>D:2000年1月1日</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1732', '1', '下面哪个皇帝率清兵入关?', '0', '', '', '<p>A:爱新觉罗.玄烨</p><p>B:爱新觉罗.弘历</p><p>C:爱新觉罗.努尔哈赤</p><p>D:爱新觉罗.福临</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1733', '1', '正月初一吃饺子这一习惯是从什么朝代开始', '0', '', '', '<p>A:唐</p><p>B:元</p><p>C:明</p><p>D:清</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1734', '1', '挥剑决浮云,诸侯尽西来是说那个皇帝的?', '0', '', '', '<p>A:汉武帝</p><p>B:汉高祖</p><p>C:秦始皇</p><p>D:唐太宗</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1735', '1', '世界上最早的温标为', '0', '', '', '<p>A:华氏温标</p><p>B:摄氏温标</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1736', '1', '我国在本国西部地区第一次成功地爆炸了一颗原子弹是在哪一年?', '0', '', '', '<p>A:1960年</p><p>B:1962年</p><p>C:1964年</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1737', '1', '下列哪个事件不是发生在20世纪50年代', '0', '', '', '<p>A:大跃进</p><p>B:三反五反</p><p>C:四清</p><p>D:批胡风</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1738', '1', '武则天是下面哪个皇帝的母亲?', '0', '', '', '<p>A:唐高宗</p><p>B:唐玄宗</p><p>C:唐中宗</p><p>D:唐太宗</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1739', '1', '我国封建法典中规定的“十恶”不赦大罪始于( )', '0', '', '', '<p>A:《秦律》</p><p>B:《北齐律》</p><p>C:《唐律》</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1740', '1', '中国历史上开始有确切的纪年是哪一年?', '0', '', '', '<p>A:太初元年</p><p>B:共和元年 </p><p>C:太始元年</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1741', '1', '为自己立了一块《无字碑》,以供后人评说的古代政治家是谁?', '0', '', '', '<p>A:唐太宗</p><p>B:曹操</p><p>C:武则天</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1742', '1', '中国最早的院士产生于哪一年?', '0', '', '', '<p>A:1946</p><p>B:1948</p><p>C:1953</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1743', '1', '我国唐朝时,曾把‘希伯来”译为什么?', '0', '', '', '<p>A:匈奴</p><p>B:石忽</p><p>C:一赐乐业</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1744', '2', '谜语在清朝时又叫作(多选)', '0', '', '', '<p>A:谜子</p><p>B:藏头</p><p>C:切口</p><p>D:歇后</p>', '4', 'AC', 'AC', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1745', '1', '清乾隆37年开始编纂的( ),用十年编写成,包括了我国几千年的重要文化典籍,共25万多册。', '0', '', '', '<p>A:《资治通鉴》</p><p>B:《永乐大典》</p><p>C:《四库全书》</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1746', '1', '历史上出现的"文景之治"、"贞观之治"是运用了谁的贵清静思想原则', '0', '', '', '<p>A:孙子</p><p>B:老子</p><p>C:孟子</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1747', '1', '1921年来华积极帮助创建中国共产党的共产国际代表马林是哪国人?', '0', '', '', '<p>A:苏联人</p><p>B:德国人</p><p>C:荷兰人</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1748', '1', '1947年8月起至解放战争结束担任中央委总参谋长的是谁?', '0', '', '', '<p>A:周恩来</p><p>B:叶剑英</p><p>C:彭德怀</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1749', '1', '秋瑾是什么时期的著名女革命家?', '0', '', '', '<p>A:戍戌政变时期</p><p>B:辛亥革命时期</p><p>C:五四运动时期</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1750', '1', '火烧园明园事件发生于哪一年?', '0', '', '', '<p>A:1848年</p><p>B:1860年</p><p>C:1880年</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1751', '1', '中华人民共和国首都是北京。从哪个朝代起她就开始成为全国政治中心的历史?', '0', '', '', '<p>A:唐代</p><p>B:宋代</p><p>C:元代</p>', '3', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1752', '1', '中国封建帝王即位时间最长的是哪位皇帝?', '0', '', '', '<p>A:唐太宗 李世民</p><p>B:宋仁宗 赵祯</p><p>C:明神宗 朱翊钧</p><p>D:清圣祖 玄烨</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1753', '1', '西安交大西迁始于()年', '0', '', '', '<p>A:1956</p><p>B:1958</p><p>C:1960</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1754', '1', '春联正式起始于什么皇帝', '0', '', '', '<p>A:明太祖</p><p>B:宋太祖</p><p>C:唐太祖</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1755', '1', '<<人民日报>>创刊于', '0', '', '', '<p>A:五四时期</p><p>B:解放战争时期</p><p>C:抗日战争时期</p><p>D:国共十年对峙时期</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1756', '1', '"东风不与周郎便,铜雀春深锁二乔"写的是哪一场战役?', '0', '', '', '<p>A:赤壁之战</p><p>B:长勺之战</p>', '2', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '1');
INSERT INTO `x2_questions` VALUES ('1757', '1', '我国最早的女史学家是?', '0', '', '', '<p>A:班昭</p><p>B:蔡琰</p><p>C:李清照</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1758', '1', '东汉末年农民起义领袖是哪一位?', '0', '', '', '<p>A:张角</p><p>B:李自成</p><p>C:黄巢</p>', '3', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1759', '1', '世界上第一个发现地磁偏角中国人是:', '0', '', '', '<p>A:祖冲之</p><p>B:沈括</p><p>C:张衡</p>', '3', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1760', '1', '人类第一次登月是在哪年?', '0', '', '', '<p>A:1965</p><p>B:1966</p><p>C:1969</p><p>D:1972</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1761', '1', '世界上第一辆自行车是由什么材料制成的?', '0', '', '', '<p>A:铁</p><p>B:铝</p><p>C:锌</p><p>D:木头</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1762', '1', '诸葛亮第六次伐魏时谁曾到营中诈降?', '0', '', '', '<p>A:岑威</p><p>B:郑文</p><p>C:秦明</p><p>D:杜睿</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1763', '1', '曹操为收买樊城百姓人心,派谁去说降刘备?', '0', '', '', '<p>A:蒋干</p><p>B:满宠</p><p>C:荀彧</p><p>D:徐庶</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1764', '1', '谁在葭萌关下挑灯夜斗,不分胜负?', '0', '', '', '<p>A:张飞-马超</p><p>B:张飞-马岱</p><p>C:赵云-马超</p><p>D:黄忠-马超</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1765', '1', '因暗杀未遂,被曹操断九指,割舌,分肢体而死的是谁?', '0', '', '', '<p>A:华佗</p><p>B:吉平</p><p>C:王子服</p><p>D:种辑</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1766', '1', '<p>诸葛亮常自比管仲和谁?</p>', '0', '', '', '<p>A:乐毅&nbsp; B:张良&nbsp; C:孙武&nbsp; D:姜子牙</p>', '4', 'A', '<p>A</p>', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1767', '1', '周瑜为何要派诸葛亮去聚铁山袭击曹军?', '0', '', '', '<p>A:借曹操子手杀死诸葛亮</p><p>B:探明曹军的军事部署</p><p>C:试探刘备的实力</p><p>D:试探诸葛亮的才智</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1768', '1', '谁曾因谏司马昭不可伐蜀而被杀?', '0', '', '', '<p>A:胡烈</p><p>B:夏侯咸</p><p>C:句安</p><p>D:邓敦</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1769', '1', '在第二次世界大战时期,当德军封锁列宁格勒的时候,有一条被称为“生命之路”的湖,它的命名字是什么:', '0', '', '', '<p>A:拉多加湖</p><p>B:贝加尔湖</p><p>C:伏尔加湖</p><p>D:涅瓦湖</p>', '4', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1770', '1', '最近的一次俄罗斯全国性的人口普查是在哪一年:', '0', '', '', '<p>A:1992</p><p>B:1996</p><p>C:1999</p><p>D:2002</p>', '4', 'D', 'D', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1771', '1', '普京什么时候当选俄罗斯总统,他是第几任:', '0', '', '', '<p>A:2001年,第二任</p><p>B:2000年,第三任</p><p>C:2000年,第二任</p><p>D:2002年,第三任</p>', '4', 'C', 'C', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1772', '1', '在俄罗斯总共进行过几次车臣战争:', '0', '', '', '<p>A:1</p><p>B:2</p><p>C:3</p><p>D:4</p>', '4', 'B', 'B', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1773', '1', '包括我们地球在类的太阳系诞生于50亿年前,那么地球上的生命诞生于多少年前?', '0', '', '', '<p>A:40亿年前</p><p>B:20亿年前</p><p>C:10亿年前</p><p>D:1亿年前</p><p>E:500万年前</p>', '5', 'A', 'A', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1774', '1', '<p>人类诞生于多少年前?</p>', '0', '', '', '<p>A:1亿年前</p>\r\n\r\n<p>B:500万年前</p>\r\n\r\n<p>C:100万年前</p>\r\n\r\n<p>D:5千年前</p>', '4', 'B', '<p>B</p>', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '2');
INSERT INTO `x2_questions` VALUES ('1775', '1', '<p>萨达萨达撒旦<span class="math-tex">\\\\(x = {-b \\\\pm \\\\sqrt{b^2-4ac} \\\\over 2a}\\\\)</span></p>', '0', '', '', '<h1 class="wikititle" id="wkth_32419737266876725">萨达萨达是</h1>\r\n\r\n<h2 class="wikititle" id="wkth_513990554116482">二级标题</h2>\r\n\r\n<p>正文显示</p>', '4', 'B', '<p>阿三大苏打实打实</p>', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1513608081', '1', '', '0', '0', '3');
INSERT INTO `x2_questions` VALUES ('1776', '1', '<p>2222222</p>', '0', '', '', '<p>11111</p>', '4', '', '<p>111</p>', '', '1513608081', '1', '', '5', '0', '1');
INSERT INTO `x2_questions` VALUES ('1777', '6', '<p>测试问答题</p>', '1', 'peadmin', '', '', '4', '<p>问答答案</p>', '', 'a:1:{i:0;a:2:{s:7:\"knowsid\";s:1:\"1\";s:5:\"knows\";s:15:\"演示知识点\";}}', '1516786428', '1', '', '0', '0', '1');
-- ----------------------------
-- Table structure for `x2_questype`
-- ----------------------------
DROP TABLE IF EXISTS `x2_questype`;
CREATE TABLE `x2_questype` (
`questid` int(11) NOT NULL AUTO_INCREMENT,
`questype` varchar(60) NOT NULL DEFAULT '',
`questsort` int(1) NOT NULL DEFAULT '0',
`questchoice` int(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`questid`),
KEY `questchoice` (`questchoice`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_questype
-- ----------------------------
INSERT INTO `x2_questype` VALUES ('1', '单选题', '0', '1');
INSERT INTO `x2_questype` VALUES ('2', '多选题', '0', '2');
INSERT INTO `x2_questype` VALUES ('3', '判断题', '0', '4');
INSERT INTO `x2_questype` VALUES ('4', '定值填空', '0', '5');
INSERT INTO `x2_questype` VALUES ('5', '填空题', '1', '2');
INSERT INTO `x2_questype` VALUES ('6', '问答题', '1', '3');
-- ----------------------------
-- Table structure for `x2_record`
-- ----------------------------
DROP TABLE IF EXISTS `x2_record`;
CREATE TABLE `x2_record` (
`recordid` int(11) NOT NULL AUTO_INCREMENT,
`recordquestionid` int(11) NOT NULL DEFAULT '0',
`recorduserid` int(11) NOT NULL DEFAULT '0',
`recordquestion` text NOT NULL,
`recordtime` int(11) NOT NULL DEFAULT '0',
`recordsubjectid` int(11) NOT NULL DEFAULT '0',
`recordknowsid` int(11) NOT NULL DEFAULT '0',
`recordquestype` int(11) NOT NULL DEFAULT '0',
`recordexamid` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`recordid`),
KEY `recordquestionid` (`recordquestionid`,`recorduserid`,`recordtime`),
KEY `recordsubjectid` (`recordsubjectid`,`recordknowsid`,`recordquestype`),
KEY `recordexamid` (`recordexamid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_record
-- ----------------------------
-- ----------------------------
-- Table structure for `x2_reply`
-- ----------------------------
DROP TABLE IF EXISTS `x2_reply`;
CREATE TABLE `x2_reply` (
`replyid` int(11) NOT NULL AUTO_INCREMENT,
`replyuserid` int(11) NOT NULL DEFAULT '0',
`replyusername` varchar(120) NOT NULL DEFAULT '',
`replycommentid` int(11) NOT NULL DEFAULT '0',
`replytime` int(11) NOT NULL DEFAULT '0',
`replycontent` text NOT NULL,
PRIMARY KEY (`replyid`),
KEY `replyuserid` (`replyuserid`,`replycommentid`,`replytime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_reply
-- ----------------------------
-- ----------------------------
-- Table structure for `x2_sections`
-- ----------------------------
DROP TABLE IF EXISTS `x2_sections`;
CREATE TABLE `x2_sections` (
`sectionid` int(11) NOT NULL AUTO_INCREMENT,
`section` varchar(120) NOT NULL DEFAULT '',
`sectionsubjectid` int(11) NOT NULL DEFAULT '0',
`sectiondescribe` text NOT NULL,
PRIMARY KEY (`sectionid`),
KEY `section` (`section`),
KEY `sectionsubjectid` (`sectionsubjectid`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_sections
-- ----------------------------
INSERT INTO `x2_sections` VALUES ('1', '演示章节', '1', '');
INSERT INTO `x2_sections` VALUES ('5', '测试章节二', '2', '');
-- ----------------------------
-- Table structure for `x2_seminar`
-- ----------------------------
DROP TABLE IF EXISTS `x2_seminar`;
CREATE TABLE `x2_seminar` (
`seminarid` int(11) NOT NULL AUTO_INCREMENT,
`seminartitle` varchar(240) NOT NULL DEFAULT '',
`seminarcatid` int(11) NOT NULL DEFAULT '0',
`seminarthumb` varchar(240) NOT NULL DEFAULT '',
`seminargallery` tinytext NOT NULL,
`seminartpl` varchar(120) NOT NULL DEFAULT '',
`seminaruserid` int(11) NOT NULL DEFAULT '0',
`seminarusername` varchar(120) NOT NULL DEFAULT '',
`seminardescribe` text NOT NULL,
`seminartime` int(11) NOT NULL DEFAULT '0',
`seminarstatus` int(1) NOT NULL DEFAULT '0',
`seminarsequence` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`seminarid`),
KEY `seminarcatid` (`seminarcatid`),
KEY `seminarstatus` (`seminarstatus`),
KEY `seminartime` (`seminartime`),
KEY `seminarsequence` (`seminarsequence`),
KEY `seminaruserid` (`seminaruserid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_seminar
-- ----------------------------
-- ----------------------------
-- Table structure for `x2_session`
-- ----------------------------
DROP TABLE IF EXISTS `x2_session`;
CREATE TABLE `x2_session` (
`sessionid` varchar(32) NOT NULL,
`sessionuserid` int(11) NOT NULL DEFAULT '0',
`sessionusername` varchar(120) NOT NULL DEFAULT '',
`sessionpassword` varchar(32) NOT NULL DEFAULT '',
`sessionip` varchar(24) NOT NULL DEFAULT '',
`sessionmanage` tinyint(1) DEFAULT '0',
`sessiongroupid` tinyint(4) NOT NULL DEFAULT '0',
`sessioncurrent` varchar(16) NOT NULL DEFAULT '',
`sessionrandcode` char(6) NOT NULL DEFAULT '',
`sessionlogintime` int(11) NOT NULL DEFAULT '0',
`sessiontimelimit` int(11) NOT NULL DEFAULT '0',
`sessionlasttime` int(11) NOT NULL DEFAULT '0',
`sessionmaster` int(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`sessionid`),
KEY `sessionlasttime` (`sessionlasttime`),
KEY `sessioncurrent` (`sessioncurrent`),
KEY `sessionmaster` (`sessionmaster`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_session
-- ----------------------------
-- ----------------------------
-- Table structure for `x2_special`
-- ----------------------------
DROP TABLE IF EXISTS `x2_special`;
CREATE TABLE `x2_special` (
`specialid` int(11) NOT NULL AUTO_INCREMENT,
`contentspecialid` int(11) NOT NULL DEFAULT '0',
`contentcatid` int(11) NOT NULL DEFAULT '0',
`contentmoduleid` int(11) NOT NULL DEFAULT '0',
`contentuserid` int(11) NOT NULL DEFAULT '0',
`contentusername` varchar(48) NOT NULL DEFAULT '',
`contenttitle` varchar(240) NOT NULL DEFAULT '',
`contentthumb` varchar(120) DEFAULT '',
`contentlink` varchar(240) NOT NULL DEFAULT '',
`contentinputtime` int(11) NOT NULL DEFAULT '0',
`contentmodifytime` int(11) NOT NULL DEFAULT '0',
`contentsequence` int(4) NOT NULL DEFAULT '0',
`contentdescribe` text NOT NULL,
`contentinfo` text NOT NULL,
`contentstatus` int(2) NOT NULL DEFAULT '0',
`contenttemplate` varchar(120) NOT NULL DEFAULT '',
`contenttext` mediumtext NOT NULL,
PRIMARY KEY (`specialid`),
KEY `contentuserid` (`contentuserid`,`contentinputtime`,`contentmodifytime`,`contentsequence`),
KEY `contentmoduleid` (`contentmoduleid`),
KEY `contentcatid` (`contentcatid`),
KEY `contentstatus` (`contentstatus`),
KEY `contentspecialid` (`contentspecialid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_special
-- ----------------------------
-- ----------------------------
-- Table structure for `x2_specialsort`
-- ----------------------------
DROP TABLE IF EXISTS `x2_specialsort`;
CREATE TABLE `x2_specialsort` (
`sortid` int(11) NOT NULL AUTO_INCREMENT,
`sorttitle` varchar(240) NOT NULL DEFAULT '',
`sortthumb` varchar(120) NOT NULL DEFAULT '',
`sorttpl` varchar(24) NOT NULL DEFAULT '',
`sortseminarid` int(11) NOT NULL DEFAULT '0',
`sortsequence` int(11) NOT NULL DEFAULT '0',
`sortdescribe` text NOT NULL,
PRIMARY KEY (`sortid`),
KEY `sortseminarid` (`sortseminarid`,`sortsequence`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_specialsort
-- ----------------------------
-- ----------------------------
-- Table structure for `x2_subject`
-- ----------------------------
DROP TABLE IF EXISTS `x2_subject`;
CREATE TABLE `x2_subject` (
`subjectid` int(11) NOT NULL AUTO_INCREMENT,
`subject` varchar(120) NOT NULL DEFAULT '',
`subjectsetting` text NOT NULL,
PRIMARY KEY (`subjectid`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_subject
-- ----------------------------
INSERT INTO `x2_subject` VALUES ('1', '演示课程', 'a:1:{s:9:\"questypes\";a:4:{i:1;s:1:\"1\";i:2;s:1:\"1\";i:3;s:1:\"1\";i:6;s:1:\"1\";}}');
INSERT INTO `x2_subject` VALUES ('2', '测试科目二', 'a:1:{s:9:\"questypes\";a:6:{i:1;s:1:\"1\";i:2;s:1:\"1\";i:3;s:1:\"1\";i:4;s:1:\"1\";i:5;s:1:\"1\";i:6;s:1:\"1\";}}');
-- ----------------------------
-- Table structure for `x2_user`
-- ----------------------------
DROP TABLE IF EXISTS `x2_user`;
CREATE TABLE `x2_user` (
`userid` int(11) NOT NULL AUTO_INCREMENT,
`useropenid` varchar(48) NOT NULL,
`username` varchar(60) NOT NULL DEFAULT '',
`useremail` varchar(60) NOT NULL DEFAULT '',
`userpassword` char(32) NOT NULL DEFAULT '',
`usercoin` int(11) NOT NULL DEFAULT '0',
`userregip` varchar(24) NOT NULL DEFAULT '',
`userregtime` int(11) NOT NULL DEFAULT '0',
`userlogtime` int(11) NOT NULL DEFAULT '0',
`userverifytime` int(11) DEFAULT NULL,
`usergroupid` tinyint(4) NOT NULL DEFAULT '0',
`usermoduleid` int(11) NOT NULL DEFAULT '0',
`manager_apps` varchar(240) NOT NULL,
`photo` varchar(120) NOT NULL DEFAULT '',
`usertruename` varchar(24) NOT NULL DEFAULT '',
`normal_favor` varchar(250) NOT NULL DEFAULT '',
`teacher_subjects` text NOT NULL,
`userischeck` int(1) NOT NULL,
`userprofile` text NOT NULL,
`usersequence` int(11) NOT NULL,
`userreferrer` int(11) NOT NULL,
PRIMARY KEY (`userid`),
UNIQUE KEY `useremail` (`useremail`),
KEY `username` (`username`),
KEY `module` (`usercoin`),
KEY `userregtime` (`userregtime`),
KEY `usermoduleid` (`usermoduleid`),
KEY `userlogtime` (`userlogtime`),
KEY `useropenid` (`useropenid`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_user
-- ----------------------------
INSERT INTO `x2_user` VALUES ('1', '', 'peadmin', '<EMAIL>', '244153a2599be7685c32d2281f57ae67', '220', '127.0.0.1', '1471795200', '0', null, '1', '0', 'a:5:{i:0;s:4:\"user\";i:1;s:7:\"content\";i:2;s:4:\"exam\";i:3;s:6:\"course\";i:4;s:4:\"bank\";}', 'files/attach/images/content/20170717/15002573305180.png', 'test', '', '', '0', '', '2', '0');
INSERT INTO `x2_user` VALUES ('2', '', '教师管理员', '<EMAIL>', '96e79218965eb72c92a549dd5a330112', '0', '127.0.0.1', '1471795200', '0', null, '9', '0', '', 'app/core/styles/img/noimage.gif', '', '', 'a:1:{i:0;s:1:\"1\";}', '0', '', '0', '0');
INSERT INTO `x2_user` VALUES ('3', '', 'aboboli', '', '96e79218965eb72c92a549dd5a330112', '0', '127.0.0.1', '1489046159', '0', null, '8', '0', '', '', '阿卜卜', '', '', '0', '', '0', '0');
INSERT INTO `x2_user` VALUES ('4', '', 'wmlzjs', '<EMAIL>', '30d3aee234b10c1e6a0eab1262ce917d', '0', '127.0.0.1', '1490184419', '0', null, '8', '0', '', '', '', '', '', '0', '', '0', '0');
INSERT INTO `x2_user` VALUES ('5', '', 'xiaodouya', '<EMAIL>', '96e79218965eb72c92a549dd5a330112', '0', '127.0.0.1', '1492619421', '0', null, '8', '0', '', '', '', '', '', '0', '', '0', '0');
INSERT INTO `x2_user` VALUES ('6', '', 'xiaoluobo', '<EMAIL>', '96e79218965eb72c92a549dd5a330112', '0', '127.0.0.1', '1492619694', '0', null, '8', '0', '', '', '问题2', '', '', '1', '', '0', '0');
INSERT INTO `x2_user` VALUES ('7', '', '18738317214', '410782198502140077', '96e79218965eb72c92a549dd5a330112', '0', '127.0.0.1', '1492670532', '0', null, '8', '0', '', '', '问题1', '', '', '1', '', '0', '0');
INSERT INTO `x2_user` VALUES ('9', '', 'zzl', '<EMAIL>', 'a73957f4597bf809a0282daaa1f428a3', '0', '127.0.0.1', '1494210327', '0', null, '8', '0', '', '', '', '', '', '0', '', '0', '0');
INSERT INTO `x2_user` VALUES ('10', '', 'chenhua', '<EMAIL>', '814444127604540e1fba1e28ea85b181', '0', '127.0.0.1', '1494210327', '0', null, '8', '0', '', '', '', '', '', '0', '', '0', '0');
INSERT INTO `x2_user` VALUES ('11', '', 'lyx', '<EMAIL>', '24039cd1651b80de0570fddf3e5e6036', '0', '127.0.0.1', '1494210327', '0', null, '8', '0', '', 'app/core/styles/img/noimage.gif', '', '', '', '0', '', '0', '1');
-- ----------------------------
-- Table structure for `x2_user_group`
-- ----------------------------
DROP TABLE IF EXISTS `x2_user_group`;
CREATE TABLE `x2_user_group` (
`groupid` int(11) NOT NULL AUTO_INCREMENT,
`groupname` varchar(60) NOT NULL DEFAULT '',
`groupmoduleid` tinyint(4) NOT NULL DEFAULT '0',
`groupdescribe` tinytext NOT NULL,
`groupright` text NOT NULL,
`groupmoduledefault` int(1) NOT NULL DEFAULT '0',
`groupdefault` int(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`groupid`),
KEY `groupname` (`groupname`,`groupmoduleid`),
KEY `groupmoduledefault` (`groupmoduledefault`),
KEY `groupdefault` (`groupdefault`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of x2_user_group
-- ----------------------------
INSERT INTO `x2_user_group` VALUES ('1', '管理员', '1', '管理员', '', '1', '0');
INSERT INTO `x2_user_group` VALUES ('8', '普通用户', '9', '普通用户', '', '0', '1');
INSERT INTO `x2_user_group` VALUES ('9', '教师', '12', '教师', '', '0', '0');
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.