Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- phpMyAdmin SQL Dump
- -- version 4.6.5.2
- -- https://www.phpmyadmin.net/
- --
- -- Host: 127.0.0.1
- -- Generation Time: Oct 22, 2017 at 03:19 PM
- -- 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: `examonline`
- --
- -- --------------------------------------------------------
- --
- -- Table structure for table `questions`
- --
- CREATE TABLE `questions` (
- `id` INT(11) NOT NULL,
- `name` VARCHAR(70) NOT NULL,
- `time` VARCHAR(30) DEFAULT NULL,
- `random` INT(11) DEFAULT NULL,
- `score` INT(11) NOT NULL,
- `created_at` TIMESTAMP NULL DEFAULT NULL,
- `updated_at` TIMESTAMP NULL DEFAULT NULL,
- `deleted_at` TIMESTAMP NULL DEFAULT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- --
- -- Dumping data for table `questions`
- --
- INSERT INTO `questions` (`id`, `name`, `time`, `random`, `score`, `created_at`, `updated_at`, `deleted_at`) VALUES
- (1, 'HTML5', '120', NULL, 70, '2017-09-07 10:09:54', '2017-10-06 19:16:12', NULL),
- (2, 'CSS3', '120', NULL, 80, '2017-09-07 11:42:56', '2017-10-06 18:54:07', NULL),
- (3, 'a', '12', NULL, 100, '2017-10-04 23:31:48', '2017-10-04 23:31:57', '2017-10-04 23:31:57'),
- (4, 'a', '12', NULL, 100, '2017-10-04 23:31:51', '2017-10-04 23:32:00', '2017-10-04 23:32:00'),
- (5, 'Hello', '10', NULL, 10, '2017-10-04 23:32:11', '2017-10-06 18:54:09', NULL),
- (6, 'PHP\'s Test', '120', NULL, 90, '2017-10-06 18:29:00', '2017-10-06 18:54:11', NULL);
- -- --------------------------------------------------------
- --
- -- Table structure for table `question_list`
- --
- CREATE TABLE `question_list` (
- `id` INT(11) NOT NULL,
- `questions_id` INT(11) NOT NULL,
- `question` text NOT NULL,
- `answer` VARCHAR(70) DEFAULT NULL,
- `note` text,
- `gen_id` VARCHAR(50) DEFAULT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- --
- -- Dumping data for table `question_list`
- --
- INSERT INTO `question_list` (`id`, `questions_id`, `question`, `answer`, `note`, `gen_id`) VALUES
- (1, 1, '<p>Apa itu HTML?</p>', 'option_1_1', 'Hello, world!', NULL),
- (2, 1, '<p>Tag table?</p>', 'option_2_3', 'Place your note here', NULL),
- (3, 1, '<p>Tag title?</p>', 'option_3_6', 'Testing', NULL),
- (6, 5, '<p>Your question #1</p>', 'option_1_1', 'asdasdasdasd', NULL),
- (16, 6, '<p>Your question #1</p>', 'option_1_1', NULL, NULL),
- (17, 6, '<p>Your question #2</p>', 'option_2_3', NULL, NULL),
- (18, 6, '<p>Your question #3</p>', NULL, NULL, NULL),
- (31, 2, '<p>Penulisan mana untuk membuat <em>transition </em>yang benar?</p>', 'option_2_5', NULL, NULL),
- (32, 2, '<p>Pseudo-class selector pada CSS untuk menempatkan <em>content </em>sebelum pada element?</p>', 'option_3_10', NULL, NULL),
- (33, 2, '<p>Apa itu CSS?</p>', 'option_1_1', NULL, NULL),
- (34, 2, '<p>Bagaimana menyisipkan CSS pada HTML?</p>', 'option_4_13', NULL, NULL),
- (35, 2, '<p>Your question #5</p>', 'option_5_15', NULL, NULL),
- (36, 2, '<p>Your question #6</p>', 'option_6_19', NULL, NULL),
- (37, 2, '<p>Your question #7</p>', 'option_7_20', NULL, NULL),
- (38, 2, '<p>Your question #8</p>', 'option_8_24', NULL, NULL),
- (39, 2, '<p>Your question #9</p>', 'option_9_28', NULL, NULL),
- (40, 2, '<p>Your question #10</p>', 'option_10_29', NULL, NULL),
- (41, 2, '<p>Your question #11</p>', 'option_11_31', NULL, NULL),
- (42, 2, '<p>Your question #12</p>', 'option_12_34', NULL, NULL);
- -- --------------------------------------------------------
- --
- -- Table structure for table `question_options`
- --
- CREATE TABLE `question_options` (
- `id` INT(11) NOT NULL,
- `question_list_id` VARCHAR(50) NOT NULL,
- `option_text` text NOT NULL,
- `gen_id` VARCHAR(70) NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- --
- -- Dumping data for table `question_options`
- --
- INSERT INTO `question_options` (`id`, `question_list_id`, `option_text`, `gen_id`) VALUES
- (1, '1', 'Hypertext Markup Language', 'option_1_1'),
- (2, '1', 'How To Meet Ladies', 'option_1_2'),
- (3, '2', '<table>', 'option_2_3'),
- (4, '2', '<tr>', 'option_2_4'),
- (5, '2', '<td>', 'option_2_5'),
- (6, '3', '<title>', 'option_3_6'),
- (7, '3', '<meta>', 'option_3_7'),
- (8, '6', 'Optisson', 'option_1_1'),
- (9, '6', 'Optioaan', 'option_1_2'),
- (10, '6', 'Op22tion', 'option_1_3'),
- (11, '7', 'Cascading Style Sheet', 'option_1_1'),
- (12, '7', 'Cascading Style Shit', 'option_1_2'),
- (13, '7', 'Cascading Sit Down', 'option_1_3'),
- (14, '8', 'transvision: 10s;', 'option_2_4'),
- (15, '8', 'transition: all .3s;', 'option_2_5'),
- (16, '8', 'transition: all .4s', 'option_2_6'),
- (17, '8', 'transjakarta: 20s', 'option_2_7'),
- (18, '9', '.class:after', 'option_3_8'),
- (19, '9', ':after.class', 'option_3_9'),
- (20, '9', '.class:before', 'option_3_10'),
- (21, '9', ':before.class', 'option_3_11'),
- (22, '10', '<link href=\"style.css\">', 'option_4_12'),
- (23, '10', '<link href=\"style.css\" rel=\"stylesheet\">', 'option_4_13'),
- (24, '10', '<link href=\"style.css\" rel=\"text/javascript\">', 'option_4_14'),
- (25, '12', 'Option', 'option_1_1'),
- (26, '12', 'Option', 'option_1_2'),
- (27, '13', 'Option', 'option_1_1'),
- (28, '13', 'Option', 'option_1_2'),
- (29, '14', 'Option', 'option_1_1'),
- (30, '14', 'Option', 'option_1_2'),
- (31, '15', 'Option', 'option_2_3'),
- (32, '16', 'Option', 'option_1_1'),
- (33, '16', 'Option', 'option_1_2'),
- (34, '17', 'Option', 'option_2_3'),
- (35, '19', 'Cascading Style Sheet', 'option_1_1'),
- (36, '19', 'Cascading Style Shit', 'option_1_2'),
- (37, '19', 'Cascading Sit Down', 'option_1_3'),
- (38, '20', 'transvision: 10s;', 'option_2_4'),
- (39, '20', 'transition: all .3s;', 'option_2_5'),
- (40, '20', 'transition: all .4s', 'option_2_6'),
- (41, '20', 'transjakarta: 20s', 'option_2_7'),
- (42, '21', '.class:after', 'option_3_8'),
- (43, '21', ':after.class', 'option_3_9'),
- (44, '21', '.class:before', 'option_3_10'),
- (45, '21', ':before.class', 'option_3_11'),
- (46, '22', '<link href=', 'option_4_12'),
- (47, '22', '<link href=', 'option_4_13'),
- (48, '22', '<link href=', 'option_4_14'),
- (49, '23', 'Option', 'option_5_15'),
- (50, '23', 'Option', 'option_5_16'),
- (51, '23', 'Option', 'option_5_17'),
- (52, '24', 'Option', 'option_6_18'),
- (53, '24', 'Option', 'option_6_19'),
- (54, '25', 'Option', 'option_7_20'),
- (55, '25', 'Option', 'option_7_21'),
- (56, '25', 'Option', 'option_7_22'),
- (57, '25', 'Option', 'option_7_23'),
- (58, '26', 'Option', 'option_8_24'),
- (59, '26', 'Option', 'option_8_25'),
- (60, '27', 'Option', 'option_9_26'),
- (61, '27', 'Option', 'option_9_27'),
- (62, '27', 'Option', 'option_9_28'),
- (63, '28', 'Option', 'option_10_29'),
- (64, '28', 'Option', 'option_10_30'),
- (65, '29', 'Option', 'option_11_31'),
- (66, '29', 'Option', 'option_11_32'),
- (67, '29', 'Option', 'option_11_33'),
- (68, '30', 'Option', 'option_12_34'),
- (69, '30', 'Option', 'option_12_35'),
- (70, '31', 'transvision: 10s;', 'option_2_4'),
- (71, '31', 'transition: all .3s;', 'option_2_5'),
- (72, '31', 'transition: all .4s', 'option_2_6'),
- (73, '31', 'transjakarta: 20s', 'option_2_7'),
- (74, '32', '.class:after', 'option_3_8'),
- (75, '32', ':after.class', 'option_3_9'),
- (76, '32', '.class:before', 'option_3_10'),
- (77, '32', ':before.class', 'option_3_11'),
- (78, '33', 'Cascading Style Sheet', 'option_1_1'),
- (79, '33', 'Cascading Style Shit', 'option_1_2'),
- (80, '33', 'Cascading Sit Down', 'option_1_3'),
- (81, '34', '<link href=', 'option_4_12'),
- (82, '34', '<link href=', 'option_4_13'),
- (83, '34', '<link href=', 'option_4_14'),
- (84, '35', 'Option', 'option_5_15'),
- (85, '35', 'Option', 'option_5_16'),
- (86, '35', 'Option', 'option_5_17'),
- (87, '36', 'Option', 'option_6_18'),
- (88, '36', 'Option', 'option_6_19'),
- (89, '37', 'Option', 'option_7_20'),
- (90, '37', 'Option', 'option_7_21'),
- (91, '37', 'Option', 'option_7_22'),
- (92, '37', 'Option', 'option_7_23'),
- (93, '38', 'Option', 'option_8_24'),
- (94, '38', 'Option', 'option_8_25'),
- (95, '39', 'Option', 'option_9_26'),
- (96, '39', 'Option', 'option_9_27'),
- (97, '39', 'Option', 'option_9_28'),
- (98, '40', 'Option', 'option_10_29'),
- (99, '40', 'Option', 'option_10_30'),
- (100, '41', 'Option', 'option_11_31'),
- (101, '41', 'Option', 'option_11_32'),
- (102, '41', 'Option', 'option_11_33'),
- (103, '42', 'Option', 'option_12_34'),
- (104, '42', 'Option', 'option_12_35');
- --
- -- Indexes for dumped tables
- --
- --
- -- Indexes for table `questions`
- --
- ALTER TABLE `questions`
- ADD PRIMARY KEY (`id`);
- --
- -- Indexes for table `question_list`
- --
- ALTER TABLE `question_list`
- ADD PRIMARY KEY (`id`),
- ADD KEY `questions_id` (`questions_id`);
- --
- -- Indexes for table `question_options`
- --
- ALTER TABLE `question_options`
- ADD PRIMARY KEY (`id`),
- ADD KEY `question_list_id` (`question_list_id`);
- --
- -- AUTO_INCREMENT for dumped tables
- --
- --
- -- AUTO_INCREMENT for table `questions`
- --
- ALTER TABLE `questions`
- MODIFY `id` INT(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
- --
- -- AUTO_INCREMENT for table `question_list`
- --
- ALTER TABLE `question_list`
- MODIFY `id` INT(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=43;
- --
- -- AUTO_INCREMENT for table `question_options`
- --
- ALTER TABLE `question_options`
- MODIFY `id` INT(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=105;
- /*!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 */;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement