sql stringlengths 6 1.05M |
|---|
drop database kamelia_f;
create database kamelia_f;
use kamelia_f;
CREATE TABLE user (
id int(10) unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT,
username varchar(100) NOT NULL,
password varchar(100) NOT NULL,
nama varchar(255) NOT NULL,
email varchar(255) NOT NULL,
role tinyint(2) NOT NULL, -- 1: admin cabang/admin, 2: admin kom/subadmin
CONSTRAINT Un_username UNIQUE (username),
CONSTRAINT Un_email UNIQUE (email)
);
-- CREATE TABLE admin_cabang (
-- id int(10) unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT,
-- user_id int(10) unsigned NOT NULL,
-- no varchar(100) NOT NULL,
-- CONSTRAINT fk_user_id_cab FOREIGN KEY (user_id) REFERENCES user (id)
-- );
-- CREATE TABLE admin_kom (
-- id int(10) unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT,
-- user_id int(10) unsigned NOT NULL,
-- nama varchar(255) NOT NULL,
-- no varchar(100) NOT NULL,
-- CONSTRAINT fk_user_id_kom FOREIGN KEY (user_id) REFERENCES user (id)
-- );
CREATE TABLE jenis (
id int(10) unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT,
nama varchar(255) NOT NULL
);
CREATE TABLE kegiatan (
id int(10) unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT,
jenis_id int(10) unsigned,
user_id int(10) unsigned,
nama varchar(255) NOT NULL,
deskripsi text NOT NULL,
lokasi varchar(100) NOT NULL,
pembicara varchar(100) NOT NULL,
pj varchar(100) NOT NULL,
catatan varchar(255) NOT NULL,
waktu datetime NOT NULL,
status tinyint(2) NOT NULL, -- 1: diajukan, 2: selesai, 3: gagal
review text NULL,
CONSTRAINT fk_jenis_id FOREIGN KEY (jenis_id) REFERENCES jenis (id) ON DELETE SET NULL,
CONSTRAINT fk_user_id FOREIGN KEY (user_id) REFERENCES user (id) ON DELETE SET NULL
);
CREATE TABLE kategori (
id int(10) unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT,
nama varchar(255)
);
CREATE TABLE artikel (
id int(10) unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT,
user_id int(10) unsigned,
kategori_id int(10) unsigned,
judul varchar(255) NOT NULL,
slug varchar(255) NOT NULL,
isi text NOT NULL,
thumbnail varchar(255) NOT NULL,
dibuat TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
CONSTRAINT fk_artikel_kategori_id FOREIGN KEY (kategori_id) REFERENCES kategori (id) ON DELETE SET NULL,
CONSTRAINT fk_artikel_user_id FOREIGN KEY (user_id) REFERENCES user (id) ON DELETE SET NULL
);
INSERT INTO jenis (nama)
VALUES
('training'),
('seminar');
INSERT INTO kategori (nama)
VALUES
('berita'),
('essay');
INSERT INTO user (username, password, nama, email, role)
VALUES
('sapphire', '$2y$10$ELFpOBaTTwV.Ev/6mbfAJeIWvW3xHH.zixPSF.lKuYz9iJ4nd566.','Cabang asik', '<EMAIL>', '1'),
('kamelia', '$2y$10$ELFpOBaTTwV.Ev/6mbfAJeIWvW3xHH.zixPSF.lKuYz9iJ4nd566.','Komisariat asik', '<EMAIL>', '2'),
('ismi', '$2y$10$ELFpOBaTTwV.Ev/6mbfAJeIWvW3xHH.zixPSF.lKuYz9iJ4nd566.','Komisariat asik', '<EMAIL>', '2'),
('lori', '$2y$10$ELFpOBaTTwV.Ev/6mbfAJeIWvW3xHH.zixPSF.lKuYz9iJ4nd566.','Komisariat asik', '<EMAIL>', '2');
INSERT INTO kegiatan (jenis_id, user_id, nama, deskripsi, lokasi, pembicara, pj, catatan, waktu, status)
VALUES
(1, 2, 'LK1', 'Training awal', 'Ende', 'Putri', 'Mike', 'Harus bawa payung', '2020-04-02 07:16:19', 1),
(2, 3, 'LK2', 'Training tengah', 'Ende', 'Ismi', 'Lia', 'Harus bawa mantol', '2020-04-06 12:05:19', 1),
(2, 1, 'LK6', 'Training tengah', 'Ende', 'Ismi', 'Lia', 'Harus bawa mantol', '2020-04-09 05:05:19', 1),
(2, 3, 'LK8', 'Training tengah', 'Ende', 'Ismi', 'Lia', 'Harus bawa mantol', '2020-04-10 09:05:19', 1),
(2, 1, 'LK9', 'Training tengah', 'Ende', 'Ismi', 'Lia', 'Harus bawa mantol', '2020-04-23 10:05:19', 1),
(1, 2, 'LK3', 'Training akhir', 'Ende', 'Unta', 'Kamel', 'Harus bawa sampan', '2020-04-20 20:55:19', 1);
|
-- phpMyAdmin SQL Dump
-- version 4.8.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jul 21, 2020 at 11:15 AM
-- Server version: 10.1.34-MariaDB
-- PHP Version: 7.2.8
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: `abbas`
--
-- --------------------------------------------------------
--
-- Table structure for table `bookmarks`
--
CREATE TABLE `bookmarks` (
`id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`item_id` int(11) NOT NULL,
`mode` int(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `bookmarks`
--
INSERT INTO `bookmarks` (`id`, `user_id`, `item_id`, `mode`) VALUES
(1, 1, 5, 1),
(2, 1, 1, 2);
-- --------------------------------------------------------
--
-- Table structure for table `chat`
--
CREATE TABLE `chat` (
`id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `chat`
--
INSERT INTO `chat` (`id`, `user_id`, `created_at`, `updated_at`) VALUES
(76, 315, '2020-07-18 10:34:35', '2020-07-18 10:34:35'),
(77, 398, '2020-07-18 10:49:53', '2020-07-18 10:49:53'),
(78, 398, '2020-07-18 12:20:03', '2020-07-18 12:20:03'),
(79, 398, '2020-07-18 15:35:58', '2020-07-18 15:35:58'),
(80, 1, '2020-07-20 04:47:00', '2020-07-20 04:47:00'),
(81, 1, '2020-07-20 06:20:52', '2020-07-20 06:20:52');
-- --------------------------------------------------------
--
-- Table structure for table `common_question`
--
CREATE TABLE `common_question` (
`id` int(11) NOT NULL,
`category_id` int(11) NOT NULL,
`question` text NOT NULL,
`answer` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `common_question`
--
INSERT INTO `common_question` (`id`, `category_id`, `question`, `answer`) VALUES
(6, 7, '<p>asdsadsaxz</p>\r\n', '<p>sadsxz</p>\r\n\r\n<p>sa</p>\r\n'),
(7, 5, '<p style=\"text-align:right\">چرا دکمه ورود به سایت برخی از مواقع کار نمی کند؟</p>\r\n', '<p>چون طبق قوانین کارستون امکان دسترسی به سایت فقط در روزهای پنجشنبه و جمعه از ساعت 9صبح تا 9شب وجود دارد و به همین علت امکان ورود به سایت در زمان هایی غیر از رمان های مذکور امکان پذیر نمی باشد.</p>\r\n'),
(8, 5, '<p>روز شمار بالای صفحه به چه معناست؟</p>\r\n', '<p>روز شمار بالای صفحه، تعداد روز و ساعت های باقی مانده به بازگشایی سایت در زمان های مذکور را می شمارد.</p>\r\n');
-- --------------------------------------------------------
--
-- Table structure for table `config`
--
CREATE TABLE `config` (
`change_rate` int(11) NOT NULL DEFAULT '10',
`initial_point` int(11) NOT NULL DEFAULT '1000',
`id` int(11) NOT NULL,
`initial_star` int(11) NOT NULL DEFAULT '0',
`project_limit` int(11) NOT NULL,
`rev_change_rate` double NOT NULL,
`service_limit` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `config`
--
INSERT INTO `config` (`change_rate`, `initial_point`, `id`, `initial_star`, `project_limit`, `rev_change_rate`, `service_limit`) VALUES
(25, 2000, 1, 0, 1, 0.04, 1);
-- --------------------------------------------------------
--
-- Table structure for table `faq_category`
--
CREATE TABLE `faq_category` (
`id` int(11) NOT NULL,
`name` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `faq_category`
--
INSERT INTO `faq_category` (`id`, `name`) VALUES
(5, 'ورود به سایت'),
(6, 'انتخاب پروژهها'),
(7, 'صفحهی شخصی');
-- --------------------------------------------------------
--
-- Table structure for table `grade`
--
CREATE TABLE `grade` (
`id` int(11) NOT NULL,
`name` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `grade`
--
INSERT INTO `grade` (`id`, `name`) VALUES
(3, 'اول متوسطه'),
(4, 'دوم دبستان'),
(5, 'سوم دبستان'),
(8, 'ششم دبستان'),
(7, 'پنجم دبستان'),
(6, 'چهارم دبستان');
-- --------------------------------------------------------
--
-- Table structure for table `likes`
--
CREATE TABLE `likes` (
`id` int(11) NOT NULL,
`item_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`mode` int(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `likes`
--
INSERT INTO `likes` (`id`, `item_id`, `user_id`, `mode`) VALUES
(3, 5, 1, 1),
(4, 11, 1, 1);
-- --------------------------------------------------------
--
-- Table structure for table `msg`
--
CREATE TABLE `msg` (
`id` int(11) NOT NULL,
`chat_id` int(11) NOT NULL,
`text` text NOT NULL,
`is_me` tinyint(1) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`seen` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `msg`
--
INSERT INTO `msg` (`id`, `chat_id`, `text`, `is_me`, `created_at`, `updated_at`, `seen`) VALUES
(315, 76, 'سلام وقت بخیر', 1, '2020-07-18 10:34:35', '2020-07-18 10:34:35', 1),
(316, 76, 'سلام وقت بخیر', 1, '2020-07-18 10:34:35', '2020-07-18 10:34:35', 1),
(319, 76, 'سلام', 0, '2020-07-18 10:35:44', '2020-07-18 10:35:44', 1),
(323, 76, 'برای پروژه دوبله هنوز انیمیشن دریافت نکردیم لطفاً ارسال بفرمایید تا آقا علیرضا فرصت کافی داشته باشه', 1, '2020-07-18 10:38:48', '2020-07-18 10:38:48', 1),
(324, 76, 'متشکرم', 1, '2020-07-18 10:39:01', '2020-07-18 10:39:01', 1),
(325, 76, 'در سایت از چند طریق امکان دانلود وجود دارد', 0, '2020-07-18 10:39:15', '2020-07-18 10:39:15', 1),
(326, 76, 'جهت راهنمایی بیشتر به فیلم آموزشی که در سایت قرار گرفته مراجعه بفرمایید', 0, '2020-07-18 10:39:39', '2020-07-18 10:39:39', 1),
(328, 77, 'من می خاهم بروم اشپزی می توانم؟', 1, '2020-07-18 10:49:53', '2020-07-18 10:49:53', 1),
(329, 77, 'سلام. متاسفانه خیر', 0, '2020-07-18 10:51:01', '2020-07-18 10:51:01', 1),
(332, 78, 'چرا؟', 1, '2020-07-18 12:20:03', '2020-07-18 12:20:03', 0),
(333, 78, 'حا لا اگر می توانیید تمام تلاش را بکنید', 1, '2020-07-18 12:21:05', '2020-07-18 12:21:05', 0),
(334, 78, 'چون من اصلا نمی توانم این کار را انجام بدهم', 1, '2020-07-18 12:21:52', '2020-07-18 12:21:52', 0),
(335, 79, 'چرا ؟', 1, '2020-07-18 15:35:58', '2020-07-18 15:35:58', 0),
(336, 79, 'حالا اگر می توانید همه ی تلاشتان را بکنید', 1, '2020-07-18 15:37:03', '2020-07-18 15:37:03', 0),
(337, 79, 'کار من در این پروزه سخت است', 1, '2020-07-18 15:37:46', '2020-07-18 15:37:46', 0),
(338, 79, 'خوا هش', 1, '2020-07-18 15:38:10', '2020-07-18 15:38:10', 0),
(339, 80, 'sad', 1, '2020-07-20 04:47:00', '2020-07-20 04:47:00', 0),
(340, 81, 'dqs', 1, '2020-07-20 06:20:52', '2020-07-20 06:20:52', 0);
-- --------------------------------------------------------
--
-- Table structure for table `product`
--
CREATE TABLE `product` (
`id` int(11) NOT NULL,
`user_id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`price` int(11) NOT NULL,
`description` longtext COLLATE utf8mb4_unicode_ci,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`star` int(1) NOT NULL,
`hide` tinyint(1) NOT NULL DEFAULT '0',
`project_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `product_attach`
--
CREATE TABLE `product_attach` (
`id` int(11) NOT NULL,
`name` varchar(200) NOT NULL,
`product_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `product_pic`
--
CREATE TABLE `product_pic` (
`id` int(10) UNSIGNED NOT NULL,
`product_id` int(11) NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `product_trailer`
--
CREATE TABLE `product_trailer` (
`id` int(11) NOT NULL,
`name` varchar(200) NOT NULL,
`product_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `project`
--
CREATE TABLE `project` (
`id` int(11) NOT NULL,
`title` varchar(100) NOT NULL,
`description` longtext NOT NULL,
`price` int(11) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`start_reg` varchar(8) NOT NULL,
`end_reg` varchar(8) NOT NULL,
`hide` tinyint(1) NOT NULL DEFAULT '0',
`capacity` int(11) NOT NULL DEFAULT '-1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `project`
--
INSERT INTO `project` (`id`, `title`, `description`, `price`, `created_at`, `updated_at`, `start_reg`, `end_reg`, `hide`, `capacity`) VALUES
(20, 'آموزش آشپزی', '<p style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span dir=\"RTL\" lang=\"AR-SA\" style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">حتماً تا الان برنامه های زیادی در مورد آموزش آشپزی از تلویزیون دیدید، امّا تا به حال فکر کردید اگر بخواهید خودتان یک غذای خوشمزه را جلوی دوربین آموزش بدهید ، چه نکاتی را باید رعایت کنید؟در این فیلم آموزش می‌بینید تا </span></span></span></span><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span dir=\"RTL\" lang=\"AR-SA\" style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">بتوانید غذایی را که نحوه‌ی پخت آن را بلد هستید به بقیه آموزش بدهید. </span></span></span></span></p>\r\n\r\n<hr />\r\n<p> </p>\r\n\r\n<p style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span dir=\"RTL\" lang=\"AR-SA\" style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">برای اجرای هرچه بهتر این پروژه سه معیار می بایست مورد توجّه قرار بگیرد:</span></span> </span></span></p>\r\n\r\n<p style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span dir=\"RTL\" lang=\"AR-SA\" style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">1-آموزش قدم به قدم غذا</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span dir=\"RTL\" lang=\"AR-SA\" style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">2-مناسب بودن غذای آموزش داده شده</span></span></span></span></p>\r\n\r\n<p style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span dir=\"RTL\" lang=\"AR-SA\" style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">3-ضبط فیلم در فضایی آرام و مناسب</span></span></span></span></p>\r\n', 0, '2020-07-16 14:12:34', '2020-07-16 14:12:34', '13990426', '13990428', 0, -1),
(21, 'هنر دوبله', '<p dir=\"RTL\" style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">دوبله یک فعّالیت هنری است که با استفاده از آن ، زبان فیلم‌های خارجی را به زبان کشور خود برمی گردانند و روی انیمیشن‌ها و موجدات کارتونی صدا می‌گذارند. در این پروژه با بعضی از فنون دوبله آشنا می شویم و می‌آموزیم که چگونه یک فیلم را دوبله کنیم.</span></span></span></span></p>\r\n\r\n<hr />\r\n<p style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span dir=\"RTL\" lang=\"AR-SA\" style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">برای اجرای هرچه بهتر این پروژه سه معیار می بایست مورد توجّه قرار بگیرد:</span></span> </span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">1- هماهنگ بودن صدا با تصویر</span></span></span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">2- کیفیت صدا</span></span></span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">3- کلام کاملاً واضح و شمرده</span></span></span></span></p>\r\n', 0, '2020-07-16 14:38:45', '2020-07-16 14:38:45', '13990426', '13990428', 0, -1),
(22, 'ساخت زیرلیوانی', '<p dir=\"rtl\"><span dir=\"RTL\" lang=\"AR-SA\" style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">نمد یک نوع پارچه است که می‌توان به کمک آن کاردستی های زیادی تولید کرد. در این فیلم به شما آموزش داده می‌شود که چگونه با استفاده از قیچی، چسب و نمد یک زیر لیوانی زیبا و قابل استفاده درست کنید.</span></span></p>\r\n\r\n<hr />\r\n<p dir=\"RTL\" style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">برای اجرای هرچه بهتر این پروژه سه معیار می بایست مورد توجّه قرار بگیرد:</span></span> </span></span></p>\r\n\r\n<ol>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">درست برش دادن الگوها</span></span> </span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">درست برش دادن نمدها با استفاده از الگو</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">استفاده کردن از تمام نمدهای برش خورده در جای مناسب خود</span></span></span></span></li>\r\n</ol>\r\n', 0, '2020-07-16 15:10:15', '2020-07-16 15:10:15', '13990426', '13990428', 0, 20),
(23, 'ساخت کمد کاغذی', '<p dir=\"RTL\" style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">اوریگامی هنری است که در آن با استفاده از کاغذ و تا کردن ، می‌توان کاردستی های زیبا و کاربردی درست کرد.</span></span></span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">در این پروژه هنر ساخت کاردستی هم به کمک اوریگامی آمده، تا محصول نهایی ویژه تر و جذّاب‌تر شود.</span></span></span></span></p>\r\n\r\n<p dir=\"rtl\"><span dir=\"RTL\" lang=\"AR-SA\" style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">محصولی که بعد از مشاهده ی این فیلم می توانید بسازید، کمد کاغذی زیبایی است که می توان وسایل کوچک را در آن قرار داد.</span></span></p>\r\n\r\n<hr />\r\n<p dir=\"RTL\" style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">برای اجرای هرچه بهتر این پروژه سه معیار می بایست مورد توجّه قرار بگیرد:</span></span> </span></span></p>\r\n\r\n<ol>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">شباهت محصول نهایی به الگوی موجود در فیلم شبیه باشد.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">سالم بودن محصول نهایی. (پاره نبودن کاغذها)</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">استفاده از تمامی لوازم داده شده.</span></span></span></span></li>\r\n</ol>\r\n', 0, '2020-07-16 15:27:55', '2020-07-16 15:27:55', '13990426', '13990428', 0, 30),
(24, 'ساخت تابلوی میخ و کاموا', '<p dir=\"RTL\" style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">این پروژه ترکیبی از فعالیت نجّاری و بافتن کاموا یا نخ است . برای انجام این پروژه ، شما علاوه بر تعدادی میخ و یک عدد چکّش و مقداری کاموا ، به کمی علاقه ، خلّاقیت و البتّه صبر نیاز دارید. در پایان این پروژه ، یک تابلوی هنری بسیار دیدنی ، قابل ارائه می‌باشد.</span></span> </span></span></p>\r\n\r\n<hr />\r\n<p dir=\"RTL\" style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">برای اجرای هرچه بهتر این پروژه سه معیار می بایست مورد توجّه قرار بگیرد:</span></span> </span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">1- میخ های کوبیده شده در چوب در یک خط و هم اندازه و صاف باشند.</span></span> </span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">2-کاموا با دقّت نظر و با حوصله به دور میخ ها پیچیده شود.</span></span> </span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">3-</span></span> <span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">محصول نهایی به الگوی اوّلیه شبیه باشد.</span></span></span></span></p>\r\n\r\n<p> </p>\r\n', 0, '2020-07-16 15:40:39', '2020-07-16 15:40:39', '13990426', '13990428', 0, 30),
(25, 'لوستر کاغذی', '<p dir=\"RTL\" style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">اوریگامی هنری است که در آن با استفاده از کاغذ و تا کردن، می‌توان کاردستی های زیبا و کاربردی درست کرد.</span></span></span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">در این پروژه ، هنر ساخت کاردستی هم به کمک اوریگامی آمده، تا محصول نهایی ویژه تر و جذّاب تر شود.</span></span></span></span></p>\r\n\r\n<p dir=\"RTL\" style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">محصولی که بعد از مشاهده‌ی این فیلم می توانید بسازید، لوستر کاغذی زیبایی است که از آن می‌توان به عنوان چراغ خواب استفاده کرد.</span></span></span></span></p>\r\n\r\n<hr />\r\n<p dir=\"RTL\" style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">برای اجرای هرچه بهتر این پروژه سه معیار می بایست مورد توجّه قرار بگیرد:</span></span> </span></span></p>\r\n\r\n<ol>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">شباهت محصول نهایی به الگوی موجود در فیلم.</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">سالم بودن محصول نهایی (پاره نبودن کاغذها)</span></span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\"><span style=\"font-family:"B Mitra"\">استفاده از تمامی لوازم داده شده.</span></span></span></span></li>\r\n</ol>\r\n', 0, '2020-07-16 16:01:29', '2020-07-16 16:01:29', '13990426', '13990428', 0, 30),
(26, 'هنر دوبله 2', '<p dir=\"RTL\" style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\">دوبله یک فعّالیت هنری است که با استفاده از آن ، زبان فیلم‌های خارجی را به زبان کشور خود برمی گردانند و روی انیمیشن‌ها و موجدات کارتونی صدا می‌گذارند. در این پروژه با بعضی از فنون دوبله آشنا می شویم و می‌آموزیم که چگونه یک فیلم را دوبله کنیم.</span></span></span></p>\r\n\r\n<hr />\r\n<p dir=\"RTL\" style=\"margin-left:0cm; margin-right:0cm; text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\">برای اجرای هرچه بهتر این پروژه سه معیار می بایست مورد توجّه قرار بگیرد:</span> </span></span></p>\r\n\r\n<ol>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\">هماهنگ بودن صدا با تصویر</span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\">مناسب بودن کیفیت ضبط</span></span></span></li>\r\n <li dir=\"RTL\" style=\"text-align:right\"><span style=\"font-size:11pt\"><span style=\"font-family:Calibri,sans-serif\"><span style=\"font-size:16.0pt\">حسّ و لحن خوب</span></span></span></li>\r\n</ol>\r\n', 20, '2020-07-16 16:29:22', '2020-07-20 13:13:01', '13990426', '13990431', 0, 4);
-- --------------------------------------------------------
--
-- Table structure for table `project_attach`
--
CREATE TABLE `project_attach` (
`id` int(11) NOT NULL,
`name` varchar(200) NOT NULL,
`project_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `project_attach`
--
INSERT INTO `project_attach` (`id`, `name`, `project_id`) VALUES
(10, '1594924954Ashpazi Dore12-1.mp4', 20),
(11, '15949265261.mp4', 21),
(12, '15949265262.mp4', 21),
(13, '15949265263.mp4', 21),
(14, '15949265264.mp4', 21),
(15, '1594928416Zirlivani 01-1.mp4', 22),
(16, '1594929476Origami Dore 1 03-1.mp4', 23),
(17, '1594930239 تابلوی میخ و کاموا.mp4', 24),
(18, '1594931490Origami 01-1.mp4', 25),
(19, '15949331631.mp4', 26),
(20, '15949331632.mp4', 26),
(21, '15949331633.mp4', 26),
(22, '15949331634.mp4', 26);
-- --------------------------------------------------------
--
-- Table structure for table `project_buyers`
--
CREATE TABLE `project_buyers` (
`id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`project_id` int(11) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`status` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `project_buyers`
--
INSERT INTO `project_buyers` (`id`, `user_id`, `project_id`, `created_at`, `updated_at`, `status`) VALUES
(12, 1, 20, '2020-07-16 18:49:21', '2020-07-16 18:49:21', 0),
(13, 306, 20, '2020-07-16 18:52:34', '2020-07-16 18:52:34', 0),
(14, 330, 21, '2020-07-16 19:12:41', '2020-07-16 19:12:41', 0),
(15, 423, 24, '2020-07-16 22:36:27', '2020-07-16 22:36:27', 0),
(16, 332, 23, '2020-07-17 05:52:31', '2020-07-17 05:52:31', 0),
(17, 354, 22, '2020-07-17 06:01:02', '2020-07-17 06:01:02', 0),
(18, 298, 20, '2020-07-17 06:02:03', '2020-07-17 06:02:03', 0),
(19, 335, 22, '2020-07-17 06:07:53', '2020-07-17 06:07:53', 0),
(20, 368, 26, '2020-07-17 06:15:44', '2020-07-17 06:15:44', 0),
(21, 331, 21, '2020-07-17 06:19:36', '2020-07-17 06:19:36', 0),
(22, 392, 26, '2020-07-17 06:25:57', '2020-07-17 06:25:57', 0),
(23, 356, 22, '2020-07-17 06:26:58', '2020-07-17 06:26:58', 0),
(24, 291, 24, '2020-07-17 06:31:58', '2020-07-17 06:31:58', 0),
(25, 375, 24, '2020-07-17 06:36:19', '2020-07-17 06:36:19', 0),
(26, 336, 21, '2020-07-17 06:37:56', '2020-07-17 06:37:56', 0),
(27, 323, 22, '2020-07-17 07:05:51', '2020-07-17 07:05:51', 0),
(28, 370, 24, '2020-07-17 07:13:00', '2020-07-17 07:13:00', 0),
(30, 374, 24, '2020-07-17 07:21:32', '2020-07-17 07:21:32', 0),
(31, 295, 25, '2020-07-17 07:25:31', '2020-07-17 07:25:31', 0),
(32, 333, 21, '2020-07-17 07:38:00', '2020-07-17 07:38:00', 0),
(34, 388, 26, '2020-07-17 07:39:09', '2020-07-17 07:39:09', 0),
(35, 402, 26, '2020-07-17 07:40:50', '2020-07-17 07:40:50', 0),
(37, 364, 24, '2020-07-17 07:44:08', '2020-07-17 07:44:08', 0),
(38, 383, 25, '2020-07-17 07:46:45', '2020-07-17 07:46:45', 0),
(39, 411, 25, '2020-07-17 07:51:24', '2020-07-17 07:51:24', 0),
(40, 341, 21, '2020-07-17 08:03:13', '2020-07-17 08:03:13', 0),
(41, 297, 25, '2020-07-17 08:09:30', '2020-07-17 08:09:30', 0),
(42, 395, 25, '2020-07-17 08:19:03', '2020-07-17 08:19:03', 0),
(43, 377, 24, '2020-07-17 08:21:46', '2020-07-17 08:21:46', 0),
(44, 399, 26, '2020-07-17 08:26:31', '2020-07-17 08:26:31', 0),
(45, 409, 26, '2020-07-17 08:26:31', '2020-07-17 08:26:31', 0),
(46, 378, 24, '2020-07-17 08:27:24', '2020-07-17 08:27:24', 0),
(47, 299, 24, '2020-07-17 08:28:44', '2020-07-17 08:28:44', 0),
(48, 404, 24, '2020-07-17 08:29:30', '2020-07-17 08:29:30', 0),
(49, 380, 24, '2020-07-17 08:29:56', '2020-07-17 08:29:56', 0),
(50, 303, 26, '2020-07-17 08:30:20', '2020-07-17 08:30:20', 0),
(51, 304, 24, '2020-07-17 08:36:15', '2020-07-17 08:36:15', 0),
(52, 318, 22, '2020-07-17 08:37:15', '2020-07-17 08:37:15', 0),
(54, 398, 26, '2020-07-17 08:39:38', '2020-07-17 08:39:38', 0),
(55, 314, 22, '2020-07-17 08:40:52', '2020-07-17 08:40:52', 0),
(56, 343, 21, '2020-07-17 08:43:05', '2020-07-17 08:43:05', 0),
(57, 360, 24, '2020-07-17 08:44:29', '2020-07-17 08:44:29', 0),
(58, 382, 24, '2020-07-17 08:50:47', '2020-07-17 08:50:47', 0),
(59, 302, 25, '2020-07-17 09:02:54', '2020-07-17 09:02:54', 0),
(61, 340, 22, '2020-07-17 09:07:34', '2020-07-17 09:07:34', 0),
(62, 311, 22, '2020-07-17 09:19:38', '2020-07-17 09:19:38', 0),
(63, 309, 23, '2020-07-17 09:28:23', '2020-07-17 09:28:23', 0),
(64, 386, 25, '2020-07-17 09:35:37', '2020-07-17 09:35:37', 0),
(65, 371, 20, '2020-07-17 09:42:35', '2020-07-17 09:42:35', 0),
(66, 417, 25, '2020-07-17 09:56:00', '2020-07-17 09:56:00', 0),
(67, 361, 26, '2020-07-17 09:59:05', '2020-07-17 09:59:05', 0),
(68, 413, 24, '2020-07-17 10:01:36', '2020-07-17 10:01:36', 0),
(69, 420, 26, '2020-07-17 10:05:36', '2020-07-17 10:05:36', 0),
(70, 397, 26, '2020-07-17 10:13:30', '2020-07-17 10:13:30', 0),
(71, 403, 25, '2020-07-17 10:14:15', '2020-07-17 10:14:15', 0),
(72, 293, 24, '2020-07-17 10:21:40', '2020-07-17 10:21:40', 0),
(73, 412, 20, '2020-07-17 10:22:07', '2020-07-17 10:22:07', 0),
(74, 408, 24, '2020-07-17 10:27:10', '2020-07-17 10:27:10', 0),
(75, 328, 22, '2020-07-17 10:28:07', '2020-07-17 10:28:07', 0),
(76, 414, 24, '2020-07-17 10:36:40', '2020-07-17 10:36:40', 0),
(77, 405, 24, '2020-07-17 10:38:26', '2020-07-17 10:38:26', 0),
(78, 317, 22, '2020-07-17 10:54:27', '2020-07-17 10:54:27', 0),
(79, 346, 23, '2020-07-17 11:15:53', '2020-07-17 11:15:53', 0),
(80, 310, 20, '2020-07-17 11:25:50', '2020-07-17 11:25:50', 0),
(81, 363, 24, '2020-07-17 11:36:29', '2020-07-17 11:36:29', 0),
(82, 419, 20, '2020-07-17 11:56:39', '2020-07-17 11:56:39', 0),
(83, 387, 26, '2020-07-17 11:57:58', '2020-07-17 11:57:58', 0),
(84, 350, 20, '2020-07-17 12:08:01', '2020-07-17 12:08:01', 0),
(85, 381, 24, '2020-07-17 12:08:52', '2020-07-17 12:08:52', 0),
(86, 326, 20, '2020-07-17 12:20:30', '2020-07-17 12:20:30', 0),
(87, 416, 25, '2020-07-17 12:51:44', '2020-07-17 12:51:44', 0),
(88, 301, 24, '2020-07-17 13:12:14', '2020-07-17 13:12:14', 0),
(89, 369, 20, '2020-07-17 13:15:42', '2020-07-17 13:15:42', 0),
(90, 415, 24, '2020-07-17 13:26:24', '2020-07-17 13:26:24', 0),
(91, 327, 22, '2020-07-17 13:29:49', '2020-07-17 13:29:49', 0),
(92, 320, 20, '2020-07-17 13:44:39', '2020-07-17 13:44:39', 0),
(93, 324, 21, '2020-07-17 13:45:36', '2020-07-17 13:45:36', 0),
(94, 353, 22, '2020-07-17 13:52:25', '2020-07-17 13:52:25', 0),
(95, 379, 24, '2020-07-17 13:58:26', '2020-07-17 13:58:26', 0),
(96, 366, 20, '2020-07-17 14:03:50', '2020-07-17 14:03:50', 0),
(97, 394, 26, '2020-07-17 14:20:22', '2020-07-17 14:20:22', 0),
(98, 339, 21, '2020-07-17 14:36:40', '2020-07-17 14:36:40', 0),
(99, 348, 20, '2020-07-17 14:57:41', '2020-07-17 14:57:41', 0),
(100, 294, 24, '2020-07-17 15:06:45', '2020-07-17 15:06:45', 0),
(101, 367, 20, '2020-07-17 15:14:53', '2020-07-17 15:14:53', 0),
(102, 308, 20, '2020-07-17 15:49:07', '2020-07-17 15:49:07', 0),
(103, 396, 24, '2020-07-17 16:05:05', '2020-07-17 16:05:05', 0),
(104, 315, 21, '2020-07-17 16:09:45', '2020-07-17 16:09:45', 0),
(105, 401, 26, '2020-07-17 16:44:58', '2020-07-17 16:44:58', 0),
(106, 292, 25, '2020-07-17 17:03:18', '2020-07-17 17:03:18', 0),
(107, 342, 21, '2020-07-17 17:03:50', '2020-07-17 17:03:50', 0),
(108, 362, 26, '2020-07-17 17:06:51', '2020-07-17 17:06:51', 0),
(109, 389, 24, '2020-07-17 17:29:44', '2020-07-17 17:29:44', 0),
(110, 300, 26, '2020-07-17 17:37:18', '2020-07-17 17:37:18', 0),
(111, 344, 20, '2020-07-17 18:35:34', '2020-07-17 18:35:34', 0),
(112, 393, 25, '2020-07-17 18:41:09', '2020-07-17 18:41:09', 0),
(113, 325, 22, '2020-07-17 19:40:28', '2020-07-17 19:40:28', 0),
(114, 400, 20, '2020-07-17 20:16:54', '2020-07-17 20:16:54', 0),
(115, 307, 23, '2020-07-18 04:32:35', '2020-07-18 04:32:35', 0),
(116, 352, 21, '2020-07-18 05:43:01', '2020-07-18 05:43:01', 0),
(117, 376, 26, '2020-07-18 06:44:56', '2020-07-18 06:44:56', 0),
(118, 290, 20, '2020-07-18 06:51:17', '2020-07-18 06:51:17', 0),
(119, 316, 22, '2020-07-18 07:29:43', '2020-07-18 07:29:43', 0),
(120, 355, 21, '2020-07-18 07:55:06', '2020-07-18 07:55:06', 0),
(121, 390, 26, '2020-07-18 07:57:32', '2020-07-18 07:57:32', 0),
(122, 365, 20, '2020-07-18 08:19:31', '2020-07-18 08:19:31', 0),
(123, 391, 26, '2020-07-18 08:34:28', '2020-07-18 08:34:28', 0),
(124, 296, 26, '2020-07-18 09:09:04', '2020-07-18 09:09:04', 0),
(127, 319, 20, '2020-07-18 09:54:15', '2020-07-18 09:54:15', 0),
(128, 424, 24, '2020-07-18 10:17:45', '2020-07-18 10:17:45', 0),
(129, 351, 22, '2020-07-18 11:10:19', '2020-07-18 11:10:19', 0),
(130, 349, 22, '2020-07-18 12:42:01', '2020-07-18 12:42:01', 0),
(131, 334, 23, '2020-07-18 15:08:20', '2020-07-18 15:08:20', 0),
(132, 410, 26, '2020-07-18 15:44:07', '2020-07-18 15:44:07', 0),
(133, 337, 22, '2020-07-18 15:50:23', '2020-07-18 15:50:23', 0),
(134, 312, 22, '2020-07-18 16:08:11', '2020-07-18 16:08:11', 0),
(135, 421, 25, '2020-07-18 16:47:02', '2020-07-18 16:47:02', 0),
(136, 372, 20, '2020-07-18 18:54:36', '2020-07-18 18:54:36', 0);
-- --------------------------------------------------------
--
-- Table structure for table `project_grade`
--
CREATE TABLE `project_grade` (
`id` int(11) NOT NULL,
`project_id` int(11) NOT NULL,
`grade_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `project_grade`
--
INSERT INTO `project_grade` (`id`, `project_id`, `grade_id`) VALUES
(27, 20, 3),
(28, 20, 4),
(29, 20, 5),
(30, 20, 8),
(31, 20, 7),
(32, 20, 6),
(33, 21, 4),
(34, 21, 5),
(35, 22, 4),
(36, 22, 5),
(38, 23, 5),
(39, 24, 3),
(40, 24, 8),
(41, 24, 7),
(42, 24, 6),
(43, 25, 3),
(44, 25, 8),
(45, 25, 7),
(46, 25, 6),
(47, 26, 3),
(48, 26, 8),
(49, 26, 7),
(50, 26, 6),
(51, 23, 4);
-- --------------------------------------------------------
--
-- Table structure for table `project_pic`
--
CREATE TABLE `project_pic` (
`id` int(11) NOT NULL,
`name` varchar(200) NOT NULL,
`project_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `project_pic`
--
INSERT INTO `project_pic` (`id`, `name`, `project_id`) VALUES
(29, '15949249541.jpg', 20),
(30, '15949249543.jpg', 20),
(31, '15949249544.jpg', 20),
(32, '15949249545.jpg', 20),
(33, '15949265261.jpg', 21),
(34, '15949265262.jpg', 21),
(35, '15949265263.jpg', 21),
(36, '15949265264.jpg', 21),
(37, '15949284151.jpg', 22),
(38, '15949284152.jpg', 22),
(39, '15949284153.jpg', 22),
(40, '15949284154.jpg', 22),
(41, '15949294751.jpg', 23),
(42, '15949294752.jpg', 23),
(43, '15949294753.jpg', 23),
(44, '15949294754.jpg', 23),
(45, '15949302391.jpg', 24),
(46, '15949302392.jpg', 24),
(47, '15949302393.jpg', 24),
(48, '15949302394.jpg', 24),
(49, '15949314891.jpg', 25),
(50, '15949314896.jpg', 25),
(51, '15949314897.jpg', 25),
(52, '15949314898.jpg', 25),
(57, '15952669823.png', 26),
(58, '159526698233.png', 26),
(59, '159526698234.png', 26),
(60, '1595266982قیمه.png', 26);
-- --------------------------------------------------------
--
-- Table structure for table `project_tag`
--
CREATE TABLE `project_tag` (
`id` int(11) NOT NULL,
`tag_id` int(11) NOT NULL,
`project_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `project_tag`
--
INSERT INTO `project_tag` (`id`, `tag_id`, `project_id`) VALUES
(15, 1, 20),
(17, 2, 21),
(18, 3, 22),
(19, 3, 23),
(20, 3, 24),
(21, 3, 25),
(22, 2, 26);
-- --------------------------------------------------------
--
-- Table structure for table `service`
--
CREATE TABLE `service` (
`id` int(11) NOT NULL,
`title` varchar(300) NOT NULL,
`description` text NOT NULL,
`star` int(11) NOT NULL,
`hide` tinyint(1) NOT NULL DEFAULT '0',
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`capacity` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `service`
--
INSERT INTO `service` (`id`, `title`, `description`, `star`, `hide`, `created_at`, `updated_at`, `capacity`) VALUES
(10, 'تست2', '<p dir=\"rtl\">در این پروژه‌ی همیاری، مدرسه سراج از شما دعوت می کند تا برای طرح کارستون تبلیغ بسازید.</p>\r\n\r\n<p dir=\"rtl\">دانش آموزان سراجی با دیدن تبلیغ شما بیش از پیش تشویق می شوند تا در این طرح مشارکت جدّی تر و پر شور تری داشته باشند و کیفیت محصولات خود را برای درآمد زایی بیشتر، بهتر کنند.</p>\r\n\r\n<p dir=\"rtl\">پیشنهاد می کنیم فیلم زیر را ببینید تا بیشتر در مورد نحوه انجام و ساخت تبلیغات آشنا شوید.</p>\r\n\r\n<hr />\r\n<p dir=\"rtl\">ما همین ابتدای کار، روی همیاری شما حساب باز کردیم... </p>\r\n\r\n<p dir=\"rtl\">شما هم روی قول ما برای دریافت یکی دو عدد ستاره‌ی درخشان حساب باز کنید. <img alt=\"laugh\" src=\"https://cdn.ckeditor.com/4.10.1/full/plugins/smiley/images/teeth_smile.png\" style=\"height:23px; width:23px\" title=\"laugh\" /></p>\r\n', 4, 0, '2020-07-16 18:39:38', '2020-07-20 13:42:32', 100);
-- --------------------------------------------------------
--
-- Table structure for table `service_attach`
--
CREATE TABLE `service_attach` (
`id` int(11) NOT NULL,
`service_id` int(11) NOT NULL,
`name` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `service_attach`
--
INSERT INTO `service_attach` (`id`, `service_id`, `name`) VALUES
(2, 10, '159494097815-1.mp4');
-- --------------------------------------------------------
--
-- Table structure for table `service_buyer`
--
CREATE TABLE `service_buyer` (
`id` int(11) NOT NULL,
`service_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`status` tinyint(1) NOT NULL DEFAULT '0',
`star` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `service_buyer`
--
INSERT INTO `service_buyer` (`id`, `service_id`, `user_id`, `status`, `star`) VALUES
(8, 10, 1, 0, 0),
(9, 10, 385, 1, 2),
(10, 10, 423, 0, 0),
(11, 10, 392, 0, 0),
(12, 10, 354, 0, 0),
(13, 10, 335, 0, 0),
(14, 10, 298, 0, 0),
(15, 10, 331, 0, 0),
(16, 10, 291, 0, 0),
(17, 10, 336, 0, 0),
(18, 10, 323, 0, 0),
(19, 10, 364, 0, 0),
(20, 10, 295, 0, 0),
(21, 10, 374, 0, 0),
(22, 10, 322, 0, 0),
(23, 10, 345, 0, 0),
(24, 10, 388, 0, 0),
(25, 10, 333, 0, 0),
(26, 10, 347, 0, 0),
(27, 10, 402, 0, 0),
(28, 10, 398, 0, 0),
(29, 10, 360, 0, 0),
(30, 10, 409, 0, 0),
(31, 10, 380, 0, 0),
(32, 10, 318, 0, 0),
(33, 10, 299, 0, 0),
(34, 10, 303, 0, 0),
(35, 10, 311, 0, 0),
(36, 10, 371, 0, 0),
(37, 10, 420, 0, 0),
(38, 10, 317, 0, 0),
(39, 10, 314, 0, 0),
(40, 10, 326, 0, 0),
(41, 10, 397, 0, 0),
(42, 10, 416, 0, 0),
(43, 10, 324, 0, 0),
(44, 10, 353, 0, 0),
(45, 10, 367, 0, 0),
(46, 10, 315, 0, 0),
(47, 10, 396, 0, 0),
(48, 10, 300, 0, 0),
(49, 10, 389, 0, 0),
(50, 10, 342, 0, 0),
(51, 10, 343, 0, 0),
(52, 10, 297, 0, 0),
(53, 10, 304, 0, 0),
(54, 10, 417, 0, 0),
(55, 10, 290, 0, 0),
(56, 10, 413, 0, 0),
(57, 10, 390, 0, 0);
-- --------------------------------------------------------
--
-- Table structure for table `service_grade`
--
CREATE TABLE `service_grade` (
`id` int(11) NOT NULL,
`grade_id` int(11) NOT NULL,
`service_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `service_grade`
--
INSERT INTO `service_grade` (`id`, `grade_id`, `service_id`) VALUES
(13, 3, 10),
(14, 4, 10),
(15, 5, 10),
(16, 8, 10),
(17, 7, 10),
(18, 6, 10);
-- --------------------------------------------------------
--
-- Table structure for table `service_pic`
--
CREATE TABLE `service_pic` (
`id` int(11) NOT NULL,
`service_id` int(11) NOT NULL,
`name` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `service_pic`
--
INSERT INTO `service_pic` (`id`, `service_id`, `name`) VALUES
(8, 10, '15952687523.png'),
(9, 10, '159526875233.png'),
(10, 10, '159526875234.png'),
(11, 10, '1595268752قیمه.png');
-- --------------------------------------------------------
--
-- Table structure for table `tag`
--
CREATE TABLE `tag` (
`id` int(11) NOT NULL,
`name` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `tag`
--
INSERT INTO `tag` (`id`, `name`) VALUES
(1, 'آموزشی'),
(2, 'سرگرمی'),
(3, 'هنری'),
(5, 'ورزشی');
-- --------------------------------------------------------
--
-- Table structure for table `transactions`
--
CREATE TABLE `transactions` (
`id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`product_id` int(11) NOT NULL,
`status` tinyint(1) NOT NULL DEFAULT '0',
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`follow_code` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` int(11) NOT NULL,
`username` varchar(40) NOT NULL,
`password` varchar(100) NOT NULL,
`first_name` varchar(40) NOT NULL,
`last_name` varchar(40) NOT NULL,
`nid` varchar(10) DEFAULT NULL,
`level` int(1) NOT NULL,
`updated_at` varchar(100) NOT NULL,
`remember_token` varchar(100) DEFAULT NULL,
`phone_num` varchar(11) NOT NULL,
`status` tinyint(1) NOT NULL DEFAULT '1',
`created_at` varchar(100) NOT NULL,
`money` int(11) NOT NULL DEFAULT '0',
`grade_id` int(11) DEFAULT NULL,
`stars` int(11) NOT NULL DEFAULT '0',
`super_active` tinyint(1) NOT NULL DEFAULT '0',
`pic` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `username`, `password`, `first_name`, `last_name`, `nid`, `level`, `updated_at`, `remember_token`, `phone_num`, `status`, `created_at`, `money`, `grade_id`, `stars`, `super_active`, `pic`) VALUES
(1, 'admin', <PASSWORD>', 'محمد', '<PASSWORD>', '0018914372', 3, '2020-07-16 12:49:28', 'Uukun6Iwkh5tQHUzqgaD3jT3m764ozox9GEDfCkKtN2R6i2DmanjlunYohUR', '09214915905', 1, '', 2000, 4, 0, 0, NULL),
(290, 'D1.1.adhamian', <PASSWORD>', '<PASSWORD>', '<PASSWORD>', '0441589146', 1, '2020-07-16 18:22:09', 'JafG33ciZBWQxRNhJ7wr6tnbKrbVKxhHTs0dbN9EeS6gyTHeDegN8BoWm3q5', '', 1, '2020-07-16 18:22:09', 2000, 3, 0, 0, '1_01.png'),
(291, 'D1.2.behbahani', '$2y$10$QeOcPYdaRKUqzY7i0PcTHeH1bPZ0DBOqRof/hWdknHT0u89xTOJxq', 'سیدحسین', 'بهبهانی', '0441584497', 1, '2020-07-16 18:22:09', '2m2CW8YMMpcvSfTuXR82MjP1iRobFPdiAC9ldCb4gF2aNg8CwbvJkAeTZ1Du', '', 1, '2020-07-16 18:22:09', 2000, 3, 0, 0, '1_02.png'),
(292, 'D1.3.hoseini', '$2y$10$0dx3fpK9SQNRoHjrPHwWzuCFyErSI4xxZWEdUzKCcHUvQ4jXE2kOi', 'سیدابوالفضل', 'حسینی', '0151739374', 1, '2020-07-16 18:22:09', '3UZScNoEk9DX0Km9optkzndc3HC9AVH8sAhAVrttbbWUP7QAmxb8pgQQjR3R', '', 1, '2020-07-16 18:22:09', 2000, 3, 0, 0, '1_03.png'),
(293, 'D1.4.kharaghani', '$2y$10$1wGyR1MEt/bjBR1tLBrOUuX2u1PY4WyHHqSLi4Yt4.GmKV5ZC3TMa', 'حسین', 'خرقانی', '0026220245', 1, '2020-07-16 18:22:10', 'WqQyNFga974D4Xys8NPO8DAeN0fWFrsy429diX0V9LqWeJO6aXRCf3v55t9H', '', 1, '2020-07-16 18:22:10', 2000, 3, 0, 0, '1_04.png'),
(294, 'D1.5.ziar', '$2y$10$kTror/z43VAlnzos9rzZAed8skGum3Pc19N6DwqwoGK7Mr.bZ3/du', 'محمدطاها', 'زیار', '0441645852', 1, '2020-07-16 18:22:10', 'H1dStTMMecOH1uqLPuyKi8r8SXZqCHy3HfYdWlDTFScWoW01t9NsvzmP1HzL', '', 1, '2020-07-16 18:22:10', 2000, 3, 0, 0, '1_05.png'),
(295, 'D1.6.noori', '$2y$10$UNY1WHmdf7opT2btbJziS.Di6nx.o3NphqNOZRbXKqKGXVGgbOgCG', 'سیدحسین', 'سلاله نوری', '0151457761', 1, '2020-07-16 18:22:10', 'OcfhgarU0CAK3MSUfJgAMOxN0JBj210JWA1DrNemV93VxYRFYYz0ZMvQWCI8', '', 1, '2020-07-16 18:22:10', 2000, 3, 0, 0, '1_06.png'),
(296, 'D1.7.soltanizad', '$2y$10$nmfUq7pIVeKmyQeGQEZaKuP5wqcdZgrUq2FOPcXHNEjv2rHwgkYwu', 'امیرعلی', 'سلطانی زاد', '0441599222', 1, '2020-07-16 18:22:10', 'xR3SMceETQ0nSLeOCgsCE67PGxgzjLa87pDNA3b1xeNnIdP6UACI2zaxEfpP', '', 1, '2020-07-16 18:22:10', 2000, 3, 0, 0, '1_07.png'),
(297, 'D1.8.sadeghi', '$2y$10$lsXQEUGo51rcZz6eYIcpi.KROyITl.4vEKUnqjKb3ITcTLbC71cGS', 'محمدمهدی', 'صادقی', '0441553540', 1, '2020-07-16 18:22:10', 'WIFNEY3GsspLpqgpzQLq3JPgB28v0RTPXHQkFqEYG4n9Sz5vq713W15vgsfe', '', 1, '2020-07-16 18:22:10', 2000, 3, 0, 0, '1_08.png'),
(298, 'D1.9.safadoost', '$2y$10$rf.6eUt94v5e05YZyQnSJOez12jZ64SoxzaDuhfQ2XdJ57NbFtNzW', 'علیرضا', 'صفادوست', '0250894734', 1, '2020-07-16 18:22:10', 'in96KiWgmGp90pmKdjkIKzMGreHlWf1tJya9boXNnDokS3PxxWRjJv7e3boP', '', 1, '2020-07-16 18:22:10', 2000, 3, 0, 0, '1_09.png'),
(299, 'D1.10.taherian', '$2y$10$z8ZYs4QC6thpR/eGcPpNJuaU8QM4kHWZyhUSFzbGnWSOnA0k.R6HG', 'امیرمهدی', 'طاهریان', '0441600638', 1, '2020-07-16 18:22:10', 'zRk0QJl9rpu2x2zfj8P80xYAb1gGuzpwP1S9kx71MHAYeTBNCwHVKV7mj2eq', '', 1, '2020-07-16 18:22:10', 2000, 3, 0, 0, '1_10.png'),
(300, 'D1.11.abdollahi', '$2y$10$tg8xANHlkRpduleqsP0n1eEpHgqTB96j35ryRufKwnOES9Nubmwfu', 'محمدمهدی', 'عبدالهی', '0441566383', 1, '2020-07-16 18:22:10', '5d5zMjfYYWNNfPQSXY2NBLbNi1szpgPHxvvX3lKFRmKA0NUOPnUDCHOi4YpZ', '', 1, '2020-07-16 18:22:10', 2000, 3, 0, 0, '1_11.png'),
(301, 'D1.12.kayal', '$2y$10$xOvr60baWW9VCuv44IgO0u.gq1w3ybzJqK3eQ5ghBl7qWkpKGPEMW', 'سجاد', 'كیال', '0441563643', 1, '2020-07-16 18:22:10', 'dZTFLwJqoAghCcmrHtf5oDCeeZSbzidbqarNbtMKD2A8wsJTZCIRoMUv3633', '', 1, '2020-07-16 18:22:10', 2000, 3, 0, 0, '1_12.png'),
(302, 'D1.13.moradi', '$2y$10$Mtv8sEiYZnWcc260HdQZK.HFBhGrwuMeslUG/J2vY9tbaj/Yqmqay', 'محمدحسن', 'مرادی', '0251033228', 1, '2020-07-19 11:50:20', 'OSJjKIJNi8V2pSwGvR0dU3YkZMDzI71F2y5B0XgWlrV8sb1M29zWvbHldNpk', '', 1, '2020-07-16 18:22:10', 2000, 3, 0, 0, '1_13.png'),
(303, 'D1.14.moshkelgosha', '$2y$10$sNiKBs0RHh1C/I1dSsPWLehLwQxzWFrTPPG/sR0V9NmzjF.ouaOVC', 'محمدعرفان', 'مشكل گشاء', '0441591523', 1, '2020-07-16 18:22:10', 'mqgaoM9Ux6ktAwoCEVleyPCxG97gXFD1kijYz8gjUGPGZmzt1Uer6y6RVSnF', '', 1, '2020-07-16 18:22:10', 2000, 3, 0, 0, '1_14.png'),
(304, 'D1.15.hashemi', '$2y$10$8ZzbCfVRmSWcZ1tr1Y2RgOhSCU3pChV4RURUYLdUGEd1isZ0d96FK', 'سهیل', 'هاشمی', '0441531865', 1, '2020-07-16 18:22:10', 'R7pZofsUNxuVU328HAlJ0NubjEYTH1nbT4kPp7YxUJlM2QzWF5XkXhKsmd7Q', '', 1, '2020-07-16 18:22:10', 2000, 3, 0, 0, '1_15.png'),
(305, 'test1', '$2y$10$eSbPYX7ornJ5CCm3LMDLleZy7goiFr7Gpjw43YNWssyGlWxSDLd2W', 'تست', 'تست', '123456', 1, '2020-07-16 22:19:59', '7KtiEujYJJeO5HqTQFETndDnBOCGaiNnwQvu6xP5CqixzvZ0ZptbAM0h4C4U', '', 1, '2020-07-16 18:22:11', 2000, 3, 0, 0, '1.png'),
(306, 'test2', '$2y$10$.B2rQlL4ZoUGYZ6Ys/QgouxxV9qSHQi/hKewM4dlcsY5P/Nt/rCq2', 'تست2', 'تست2', '123456', 1, '2020-07-16 18:28:02', 'rNfpKVGuZQUSGKBJlWxkFodfkDfXl3tfW15vR89Fm1KwpOHiuFXOdPhdVJwg', '', 1, '2020-07-16 18:22:11', 2000, 3, 0, 0, '2.png'),
(307, 'D6.1.ebrahimi', '$2y$10$PdVDNterPhtjfeXF9CTFruKqa7XCRfq2cw7bD.ZIwJU4E/1hfZ.UO', 'محمدطاها', 'ابراهیمی', '0442109441', 1, '2020-07-16 21:15:43', 'duV8vAY8PHNwpsHpr86DvvLMVg8R9TSdLCyqSKn6dF9Lo91XKOF6V3vHledg', '', 1, '2020-07-16 18:23:17', 2000, 4, 0, 0, '6_01.png'),
(308, 'D6.2.etedal', '$2y$10$aJP5kyCgjSgFCmtrd.sb/uIln68kHp8hd9ZLBBuguPilKRgXNgYcG', 'علی', 'اعتدال منفرد', '0441969879', 1, '2020-07-16 18:23:17', '7LY5Y1jEM51mwHCmMLs7iNZ1ytEEpNNW1XhXN38sXq3X1UVPIgcniKJnU4Xk', '', 1, '2020-07-16 18:23:17', 2000, 4, 0, 0, '6_02.png'),
(309, 'D6.3.basamtabar', '$2y$10$GK1bWi.6sD9KIWPnMNVwQe6lAQXed.GF8CASA8SAIHjwQlwA65nJ2', 'سیدمحمدحسین', 'بصام تبار', '0026818043', 1, '2020-07-16 18:23:17', '9RtXh7Wc8lvRvKuG9MwtucaV4tapHuYxUl6NFyekRj673zYFBxI7ididLZQX', '', 1, '2020-07-16 18:23:17', 2000, 4, 0, 0, '6_03.png'),
(310, 'D6.4.banitaba', '$2y$10$3i1gaXY7/E6IygiT7.WUUuTi69LIP9pnfECY6fUwjBTMKYR2YFnSa', 'سیدطاها', 'بنی طبا', '0442044811', 1, '2020-07-16 18:23:18', 'k8X4q0AERNO3L81VPtXlGF7OB6RIidrXWXjfBBerlgFTL2pCb8LCx983UYRi', '', 1, '2020-07-16 18:23:18', 2000, 4, 0, 0, '6_04.png'),
(311, 'D6.5.hasankhani', '$2y$10$ZqyAeqcHTe3ioJKprwHzL.HKhNjFxyK7Ma9IyNeD9Gy.Cn.4C097O', 'علی', 'حسن خانی', '0442016107', 1, '2020-07-16 18:23:18', 'pcvv4xKLsC6bL9a06IoZwnw6mXPDGuJh49RdRbsUu6scAZgmUodTcC0IGwEE', '', 1, '2020-07-16 18:23:18', 2000, 4, 0, 0, '6_05.png'),
(312, 'D6.6.khojasteh', '$2y$10$X9Px3GxOFmtXehmx1oObROmVLbmRP5H3j.SbPQRfHMl/3qUdH7/O2', 'محمدحسین', 'خجسته خدابنده لو', '0442045832', 1, '2020-07-16 18:23:18', 'qSvCDJhfaxwU5xVkgfm0ksOKR2w5zdHNxOgjUSJMsXRCQxPrlLX40Qv2HbAC', '', 1, '2020-07-16 18:23:18', 2000, 4, 0, 0, '6_06.png'),
(313, 'D6.7.khatibi', '$2y$10$YjZjzMuOZRzmAt0aBpYlWOt6STJYSb3e3v67WGtWgtdaezyV8JnfO', 'علی', 'خطیبی', '0252049391', 1, '2020-07-16 18:23:18', 'SRVKuSvYN1vVP0HzUauXGLmLKKvXJQnsOujiixShhDDAGO8u0A5FkHXVQMi6', '', 1, '2020-07-16 18:23:18', 2000, 4, 0, 0, '6_07.png'),
(314, 'D6.8.dezfooli', '$2y$10$snAZDmA0KQYcw3as27IZd.pCfs26F2ffV8f.eh1wTy0H0LtmssV92', 'محمدعلی', 'دزفولی', '0442062281', 1, '2020-07-16 18:23:18', '0l0UjRbmiBz8CZa3jEzmMNZQuSZgnghC7sVgWZPLmOD309jRJCtF00gL1HSg', '', 1, '2020-07-16 18:23:18', 2000, 4, 0, 0, '6_08.png'),
(315, 'D6.9.zargari', '$2y$10$kHQzgy58Hhriu8n3WGIR3OibUfGpvZdacnmOk3H5VsMtdJRrH27Hu', 'علیرضا', 'زرگری', '0442098790', 1, '2020-07-16 18:23:18', 'lktykouVTy6XfxhmBqruXvP64cURWIeMJHbFnyt1m9AF3JRcaAAk5umjMRhk', '', 1, '2020-07-16 18:23:18', 2000, 4, 0, 0, '6_09.png'),
(316, 'D6.10.sadeghi', '$2y$10$PpVDOyoCdSwbT.UMEHZ5lOYa9ol8Ub7dShjAC4jYCg9H4seDTw1vC', 'سیدامیرعلی', 'سجادصادقی', '0251874151', 1, '2020-07-16 18:23:18', 'ixrDmEtoLEtusLFlneF8CieTZwkdrelPTV9KHfazAqzt8D5eMQMjxOoBDLRS', '', 1, '2020-07-16 18:23:18', 2000, 4, 0, 0, '6_10.png'),
(317, 'D6.11.soleimani', '$2y$10$iURddNp.y3Wdr0JVgyWdOedtNmjyYsg5R/VNxYtg4hnic7.BaJwEW', 'علی', 'سلیمانی', '0442130538', 1, '2020-07-16 18:23:18', 'WPdRcqkJMXSrl6afW73DX4aHEx03bjttdwZNsmUi1GIa8zQpQW3QO9eI9Z7j', '', 1, '2020-07-16 18:23:18', 2000, 4, 0, 0, '6_11.png'),
(318, 'D6.12.seyyedifar', '$2y$10$PGEtGMM.u8Xv5/z9Zu2sBeghT.KklaJrDqAtT3wEQB4vSoUjUSuR2', 'محمدسجاد', 'سیدی فر', '0442103514', 1, '2020-07-16 18:23:18', '61Q9BfUreK0uoGJRG77ASpQQhqIP2Q97UkobLbuFeGZTr2TzUMLJlN3GjwPL', '', 1, '2020-07-16 18:23:18', 2000, 4, 0, 0, '6_12.png'),
(319, 'D6.13.safavi', '$2y$10$IfXOKt7z7t62y//Ra.pb4ODC3BOkMHz6QF1labbLEFCHtYfn2Vm/m', 'سیدحسین', 'صفوی', '4712372011', 1, '2020-07-16 18:23:18', 'laRNdyJ2WKGm1PySqCdHsiusOLAbrt5DP2sK6uSCYdsaiAGdXI3bkRgsoA5H', '', 1, '2020-07-16 18:23:18', 2000, 4, 0, 0, '6_13.png'),
(320, 'D6.14.taheri', '$2y$10$R7mi7fk6Fi7gner3sN.2POXV8KZIZPMRLOAHIfg8wRMcKDHXLR51.', 'توحید', 'طاهری', '0442091796', 1, '2020-07-16 18:23:18', 'RFyS27d6ACMRshIk6JMdFqkdzjATDwaRPHBbJCBizT6ZS6vjkw4omdhgmlT1', '', 1, '2020-07-16 18:23:18', 2000, 4, 0, 0, '6_14.png'),
(321, 'D6.15.nikfarjam', '$2y$10$rYGRim.Zv7Yv4eGU72LLpeShqVp0xe/53ENpx4EF1GeL.2SBdDCJW', 'حسین', 'نیك فرجام', '0442087160', 1, '2020-07-16 18:23:18', NULL, '', 1, '2020-07-16 18:23:18', 2000, 4, 0, 0, '6_15.png'),
(322, 'D6.16.mahmoodi', '$2y$10$OljYsGc0UuL5cBO9GHu6eOE6Txtvt00TrX8J2yVGUgdg06vblek0a', 'امیرحسین', 'محمودی', '0442031378', 1, '2020-07-16 18:23:19', 'FGLFkfZFdizYmZuCsoFVbBPhWijRG6lrlvvdugDlLrMNDVjA3yC6J480nI1Y', '', 1, '2020-07-16 18:23:19', 2000, 4, 0, 0, '6_16.png'),
(323, 'D6.17.motahhari', '$2y$10$al9eWJDTXJK1HAM.3ucDc.bubAo5h.TIJyi9cs3zG80SXJIik.8X6', 'محمدصدرا', 'مطهری فریمانی', '0442003242', 1, '2020-07-16 18:23:19', 'ZJBvwTQVDWAKsiS3LPmq9GtuFReb9jBM6bvNUgAwgZ6LYYEpd5fUC6ClOxLa', '', 1, '2020-07-16 18:23:19', 2000, 4, 0, 0, '6_17.png'),
(324, 'D6.18.motazedi', '$2y$10$.5P/rAl4QD6xBN9Qe/3H.OJ.nHvc1X1kjpTKngjx7dzh9YXTCIG9O', 'سیدامیرحسین', 'معتضدی', '0442020538', 1, '2020-07-16 18:23:19', 'mYs9VaWlJBscu26Cy1cWw5PBIzLdBcO1hEy8T9eamQBO9dPM1YX16Ai8OnPc', '', 1, '2020-07-16 18:23:19', 2000, 4, 0, 0, '6_18.png'),
(325, 'D6.19.maghsoodi', '$2y$10$QjnvQgi1FLkAoaUSYFvkrOWy2mt8yqJpP/y8xu9H2vLoCeGLGwSCm', 'سیدعلی', 'مقصودی', '0442087799', 1, '2020-07-16 18:23:19', 'BBTao8iB5OjxVhl1F2cW6pyi7RKOgipoWK0AdlZgIKaOl9TiEdcIeTtlSVtO', '', 1, '2020-07-16 18:23:19', 2000, 4, 0, 0, '6_19.png'),
(326, 'D6.20.najjari', '$2y$10$ANmTeeElmxOqFr4axjotQu1IHH69WGCH4J1UYJev8v4zJvIislFUe', 'علی', 'نجاری', '0442042167', 1, '2020-07-16 18:23:19', 'q0LifIhDlg4jVU8EtZhpAmO6AdgDFh3TSUDCTMom7dOiZDShvBrREsYtgahg', '', 1, '2020-07-16 18:23:19', 2000, 4, 0, 0, '6_20.png'),
(327, 'D6.21.nikbakhtian', '$2y$10$K13A4QbH1Vg8Eg20BPQ6nekXfV/G4EADnJdB0pYeZ41.Tiec8zOk6', 'محمدحسین', 'نیك بختیان', '0251824152', 1, '2020-07-16 18:23:19', 'jYFQ3HpgLjaoMOvqtp9Kwz6geQmZEFE7H4jgVwmkgHZhhRWzsWKNq71Kj43U', '', 1, '2020-07-16 18:23:19', 2000, 4, 0, 0, '6_21.png'),
(328, 'D6.22.velayati', '$2y$10$pi4cs/0FJu9I5bbFXeS1q.BRqag8YQe3Pmd0kECPvWP3fbJDhIKgq', 'محمدحسین', 'ولایتی', '0442101821', 1, '2020-07-16 18:23:19', 'ZPEmVJVdPW1eP4CteHcl7dYmRWD3TDaRvLPRIb4xE5PO6ECDUm5Bmboh9ofh', '', 1, '2020-07-16 18:23:19', 2000, 4, 0, 0, '6_22.png'),
(329, 'test3', '$2y$10$8IhseuKhbZdTMgMUiRBTT.ONpcxTBJoxGBlY2UF1l7oHCpJ/QIQsW', 'تست', 'تست', '123456', 1, '2020-07-16 18:23:19', 'fdJtG5HJ8nG0OrgovUDmJoTopvcuc7yzVcDCoZsiwRe4F7djiGjS4rk0EPbN', '', 1, '2020-07-16 18:23:19', 2000, 4, 0, 0, '1.png'),
(330, 'test4', '$2y$10$p3VdLsN.pkZD0Nd3hUrPfuIqgnxcgGaWIu6WBjxTCGZWdnir8dM9K', 'تست', '2 تست2', '123456', 1, '2020-07-16 18:27:26', 'MRhTECjXtSixTU5ZVEC7RImh8XQnLlJkNZfA8AxXaEnWmlOUBEg7yBk7CF8p', '', 1, '2020-07-16 18:23:19', 2000, 4, 0, 0, '2.png'),
(331, 'D5.1.abrishamkar', '$2y$10$.Aed70PVU4Dr7KRW3/29CeJoywZWZOVVFbETFJjlI0MniDYTfcHH6', 'ابوالفضل', 'آل ابریشم كار', '0251598527', 1, '2020-07-16 18:24:04', '7HfJfhDbKEFn6OFxqLVdZ2mw7ItVPWjdXN3mzrcwYhpFzjbvonDD3MwuVKYJ', '', 1, '2020-07-16 18:24:04', 2000, 5, 0, 0, '5_01.png'),
(332, 'D5.2.babaee', '$2y$10$sMuthJ7yIv.nqVbNnJ8RwO.cNL4uGytR/zq5nD3Z2Vl7HeHbCy.Hu', 'علی', 'بابائی نژاد', '0441964400', 1, '2020-07-16 18:24:04', 's2xEz029UbyHJOgbXSFSKMnl7wajP2bgz5UyzK9LBuqchqUgtzAHmWKWBbxE', '', 1, '2020-07-16 18:24:04', 2000, 5, 0, 0, '5_02.png'),
(333, 'D5.3.mh.bagheri', '$2y$10$IUndH3cxcAP5CEqDQSvK2e/EbSoIzwTADimaU0PwSemf/Si2J42IK', 'سیدمحمدحسین', 'باقری', '0441943268', 1, '2020-07-16 18:24:04', 'vSnPKsn41TceVympEpNLNZOeeiWvfQgrVrYqxwFQ9PVE3KNKGOpXyjj3mPbQ', '', 1, '2020-07-16 18:24:04', 2000, 5, 0, 0, '5_03.png'),
(334, 'D5.4.ma.bagheri', '$2y$10$irWguNq7DQxDjBGOQVGmBeObwpKHzkawQLh9swiNcDO5T5sUZTgqy', 'محمدامین', 'باقری', '0152882138', 1, '2020-07-16 18:24:05', 'cqvu1jBtC4DQOkrvv5jc4erhwq01ij4UqzfKvBqKUGL6Ze7n9GZOx5Diwz6y', '', 1, '2020-07-16 18:24:05', 2000, 5, 0, 0, '5_04.png'),
(335, 'D5.5.bakhtiaripoor', '$2y$10$1d0wzk1PstPbnknE/mfl5uGBE1MABFMTnPN8R7DxIqKisJAj61xJK', 'علی', 'بختیاری پور', '0442001282', 1, '2020-07-16 18:24:05', 'RkmMWcgPl81ld60JbQh77ZA5B3x1dg0mSTFOc6oGcwGHGDp0khoQf4l0DYfn', '', 1, '2020-07-16 18:24:05', 2000, 5, 0, 0, '5_05.png'),
(336, 'D5.6.behbahani', '$2y$10$CtnhFWBBkHmUO7XZmnHn1OPBUornLCqJBtNQYrSZ7NKzmGcBIZTxq', 'سیدمهدی', 'بهبهانی', '0442042809', 1, '2020-07-16 18:24:05', '2HtH0ltShMY2CpEIHEgUvg8D2ZFoPnbZVA2hPp81QmOetQIzrV0jXoiofTr1', '', 1, '2020-07-16 18:24:05', 2000, 5, 0, 0, '5_06.png'),
(337, 'D5.7.tajik', '$2y$10$IqWZfwssREf/2RPkB2YqNOcYwz3FuOFF/awO9DN/resNdUHDJM9JG', 'محمدحسین', 'تاجیک', '0441972535', 1, '2020-07-16 18:24:05', 'a39i15CbJkmFjF19sbUQ84DKw4x4fG6wMspCClB06dnjLXJC19Zpp4CckK8x', '', 1, '2020-07-16 18:24:05', 2000, 5, 0, 0, '5_07.png'),
(338, 'D5.8.hajkazemian', '$2y$10$RsC8TCnWyx3na7IPtzHkEuraFfyat5CHefZZEferojblFuDZvtnDq', 'محمدعلی', 'حاج کاظمیان', '0441992511', 1, '2020-07-19 11:50:33', NULL, '', 1, '2020-07-16 18:24:05', 2000, 5, 0, 0, '5_08.png'),
(339, 'D5.9.kharaghani', '$2y$10$WUUS1kApsVEztZnAnAGJh.Zg0pQF8/YawOUc/RlUcuI92KRKTXrAS', 'احسان', 'خرقانی', '0251562621', 1, '2020-07-16 18:24:05', 'S1slpsJFcNM970vhM0pPQJy12FFnpXsMa1kxcBOgVjEKSHEV2VbBw9Ld0rqr', '', 1, '2020-07-16 18:24:05', 2000, 5, 0, 0, '5_09.png'),
(340, 'D5.10.khayyati', '$2y$10$dQ3OF2xfsgUZiT7VYFxpHOmXastjHFZgUZMAdCisCxMK.eyFWCOry', 'محمد', 'خیاطی', '0441967078', 1, '2020-07-16 18:24:05', 'qPCJRdLnEJG5gDhDslednQvFL2oezFxwrZcrMhleUVemdXs7GRP1rVYmQEXy', '', 1, '2020-07-16 18:24:05', 2000, 5, 0, 0, '5_10.png'),
(341, 'D5.11.zakeri', '$2y$10$xCmmXxmWesKBzHXLlQ8AauztFuHecKUD4C36BUe7nx1zbAPme82Uu', 'سیدعلی', 'ذاكری', '0251780627', 1, '2020-07-16 18:24:05', 'rpqSM0IKlkX8DXMnTlirilAMlSCslWEOgvCWRwEKBKm2selAbEgZvoy7Thjd', '', 1, '2020-07-16 18:24:05', 2000, 5, 0, 0, '5_11.png'),
(342, 'D5.12.rasekhi', '$2y$10$hWqE6XMCdNAOc8LxnuVoCeNcRkXs/4iwZUbGf.Kc1FnkxB72DhhUe', 'امیرعلی', 'راسخی', '0442029039', 1, '2020-07-16 18:24:05', 'EQ0bUApbjDsp5UFCRB3MM6HhH3grp15uDCmYqPXSGzkOGcrFDigfHA1ebCoH', '', 1, '2020-07-16 18:24:05', 2000, 5, 0, 0, '5_12.png'),
(343, 'D5.13.rohani', '$2y$10$7G/aGJQqDPDh/ws7spgsh.VYqEFjp/vQgX2Ws644Uiwu386vOUH4m', 'سیدمجتبی', 'روحانی', '0441948138', 1, '2020-07-16 18:24:05', 'o9NH83aeGpKzfveBsg6CDxm7FuvyRmCZgtwTf4HqUHlhU5jSqB2KjeRmWdXB', '', 1, '2020-07-16 18:24:05', 2000, 5, 0, 0, '5_13.png'),
(344, 'D5.14.saeedinejad', '$2y$10$MvK.O1Wyx6QYGXuLFbX.N.2nSSEqMPEYHM3sPopl1g6EN63Cp6kFO', 'امیرحسن', 'سعیدی نژاد', '0441978622', 1, '2020-07-16 18:24:05', 'A5i2oDSqB5t1G31MPBsVD4RXPVQDL57ztPwWkwNadm03biD2AApig7xEvc1o', '', 1, '2020-07-16 18:24:05', 2000, 5, 0, 0, '5_14.png'),
(345, 'D5.15.noori', '$2y$10$fMQM6GjqAa/Q5yrO25o3jOZ/eJP0FhU3yInzalSpcHNh52OqEpD8O', 'سیدعباس', 'سلاله نوری', '0152877800', 1, '2020-07-16 18:24:05', 'xJCnC626stJBAdMFZfvhJzFKAPgU1sTOQdUKHt7QNkgl9wlUhxyb1A1DPjnI', '', 1, '2020-07-16 18:24:05', 2000, 5, 0, 0, '5_15.png'),
(346, 'D5.16.seifollahi', '$2y$10$Ei1pqcRGJNT5hnlb..XhuuSTfLdCgFu3l2Fz2FIevDfFpAEAj/EXy', 'امیرعباس', 'سیف الهی', '0442044119', 1, '2020-07-16 18:24:06', '2ij4EfDft8YggTaSe0GuO9KENUNaIiTxJjs5Q3rrsKzIn5lcOEPi9xD29nvw', '', 1, '2020-07-16 18:24:06', 2000, 5, 0, 0, '5_16.png'),
(347, 'D5.17.salehnia', '$2y$10$6MA.q0PN9A.bVBtBcScmkOeD742uZW32G9cTaBChx/Pncupug8dqC', 'علی', 'صالح نیا', '1276366353', 1, '2020-07-16 18:24:06', 'NX8gSfcqmqxKpZCQmexZgVZblyDAswhntEhy36gk96LyFGuDirzkkVAh7e96', '', 1, '2020-07-16 18:24:06', 2000, 5, 0, 0, '5_17.png'),
(348, 'D5.18.safakish', '$2y$10$CruIStXnFQNd2zCC2sMFCua2rKPH6PTvc6rRZp0UmAN9SVnrn.D3C', 'محمدپویا', 'صفاكیش', '0251689379', 1, '2020-07-16 18:24:06', 'RBKTPbxthncNg853T5LMfGyPOxXJoeVrwcQ7XUcJkxmmkNEMrHH5ZomrQj3G', '', 1, '2020-07-16 18:24:06', 2000, 5, 0, 0, '5_18.png'),
(349, 'D5.19.safari', '$2y$10$jnxq5KmbEbh1KCGAFgn6cuUiOk6QAo82n1pDgiLqAs/nYrpbANCMu', 'امیرعلی', 'صفری', '0442004192', 1, '2020-07-16 18:24:06', 'zWFH6eWIDWzgj6zsKfHPpEMwMiOntfESGZhDJLY21kZvXhHgFsbCLTdGGfqt', '', 1, '2020-07-16 18:24:06', 2000, 5, 0, 0, '5_19.png'),
(350, 'D5.20.taheri', '$2y$10$FfaRr8PlqlcT6H44ysZyQ.i9G5p8xwo940wcg9CWSEwOSsmOwQqxq', 'محمدباقر', 'طاهری', '0442012519', 1, '2020-07-16 18:24:06', '6LgveThoR2iQzDAraenIYTaTnsBead6tdLq87xiWvnRSGkqxby8cE3qu1PwR', '', 1, '2020-07-16 18:24:06', 2000, 5, 0, 0, '5_20.png'),
(351, 'D5.21.alamolhoda', '$2y$10$r32gkj8ZrtMD3VEqcuGQfea.KilC0Z7bejdLh19ifXLbuqhUsJLhe', 'سیدمهدی', 'علم الهدی', '0441919979', 1, '2020-07-16 18:24:06', 'iPXXLgEe8bbQsd7joxpV3wWVHU64MzvYiogBuaTR8opJa2KVAYZvi9UtnC0F', '', 1, '2020-07-16 18:24:06', 2000, 5, 0, 0, '5_21.png'),
(352, 'D5.22.ghazian', '$2y$10$KkzJ5yTLzbDF90HT9gPp3eUh5Gnma5OTTl3dc8ToLHz2SA/XgHT3e', 'محمدبرهان', 'قاضیان', '0441980384', 1, '2020-07-16 18:24:06', 'bFCWfj9j8YBSZTmiPWAMSOQTwlYhqAzh3GZx48oVV9og1K3KXcRTLZvqtinh', '', 1, '2020-07-16 18:24:06', 2000, 5, 0, 0, '5_22.png'),
(353, 'D5.23.kashani', '$2y$10$d8xooRzw7LDulNmJ8JQUoeIuJHW5gp9GigF8dBIwPLHxFC8xSvryy', 'محمدفؤاد', 'كاشانی', '0251690822', 1, '2020-07-16 18:24:06', 'usxxMTpVLblWDcpQMaAoVcfc6cUMb6rufhG6FI0QKfvPJzpXwcmWwpaxrquE', '', 1, '2020-07-16 18:24:06', 2000, 5, 0, 0, '5_23.png'),
(354, 'D5.24.mofatteh', '$2y$10$hJh.SN8tOveTrEOvTBiocOvxQCvYcQMS7mdI0eAEZXEH2MRK0q3Ja', 'علیرضا', 'مفتح', '0441903789', 1, '2020-07-16 18:24:06', 'JjX2AkrzyPFtDJmki0bqQEKiueyBUCQLr316YvnnlvhH2F3acC7PIZvahs5F', '', 1, '2020-07-16 18:24:06', 2000, 5, 0, 0, '5_24.png'),
(355, 'D5.25.molaee', '$2y$10$063dS2yQUW5bXHyjiYIX9O8Ta2iemEwlwXFmMdAUxV9I8dAMwAyIm', 'محمدحسن', 'ملائی', '0441991531', 1, '2020-07-16 18:24:06', 't1zLqp19hTubAU7b1hga0OwC1drAfAvA3XZYrexYzO2t0KqSIYMolDm0a3Nu', '', 1, '2020-07-16 18:24:06', 2000, 5, 0, 0, '5_25.png'),
(356, 'D5.26.mirdamadi', '$2y$10$rEGbOrW.LWkVyTO78jvt9ekiqqXHWmDSJsRS82dRvu4fYWZye6/9W', 'سیدمحمدصادق', 'میردامادی', '0442001959', 1, '2020-07-16 18:24:06', 'KuiOMsje9caG3hsyNjkJ7MtZsD37K9UPGppWDJpZBEZ85JrLYHHyEBe64tqk', '', 1, '2020-07-16 18:24:06', 2000, 5, 0, 0, '5_26.png'),
(357, 'D5.27.tehrani', '$2y$10$y7/MjkDxT7Ae87gDKI/xyeP4i3nK49P4XVjH4G0IoxCNGRZVHOvGC', 'علی', 'طهرانی', '0441926241', 1, '2020-07-16 18:24:06', 'IZfJExAY6VPxu56wUnzZb715ap2XnQsRvge8vMed2wGZZkkEQNewFTGXTS6M', '', 1, '2020-07-16 18:24:06', 2000, 5, 0, 0, '5_27.png'),
(358, 'test5', '$2y$10$4OJe8QmmEMb2tc5BhGTN2.T4irlmq7kOvNr87Em135BrliC1l.iq2', 'تست', 'تست', '123456', 1, '2020-07-16 18:24:07', NULL, '', 1, '2020-07-16 18:24:07', 2000, 5, 0, 0, '1.png'),
(359, 'test6', '$2y$10$wt7SZ5yHg1WXEYufoHBas.jXSicOU4I/A/QDLjIbBrQjG/p6O9L.i', 'تست', '2 تست2', '123456', 1, '2020-07-16 18:27:50', 'zhUWu6SjlRHps8P8uD8AXzPL6J9LDPR3A6t4R56Z65R6MuqFKuzTgUAlct2Q', '', 1, '2020-07-16 18:24:07', 2000, 5, 0, 0, '2.png'),
(360, 'D4.1.hejazi', '$2y$10$e34L4enLg6eclLfVIfAriegip5BrP62ezPiZe2J268r1noXLRQIgi', 'مهدی', 'امیرزاده حجازی', '0251444491', 1, '2020-07-16 18:24:50', 'd6SrQcSVF40z1RLgroxZRWNQQnNPFr16gczwX2NNwhbo1mUKS6pVak04wA2P', '', 1, '2020-07-16 18:24:50', 2000, 6, 0, 0, '4_01.png'),
(361, 'D4.2.amini', '$2y$10$ZbD/Se8wPTVwdqLiBGBR9.52CLIHWA9qHqhqhaDqBQhpyjxxknHQu', 'علیمحمد', 'امینی', '0441806724', 1, '2020-07-16 18:24:50', 'uVSIX9bWYu0ZxEl0irdnTEilZHoukowpqWiOwRH5gbXgQtacZkQkRt9rOPFr', '', 1, '2020-07-16 18:24:50', 2000, 6, 0, 0, '4_02.png'),
(362, 'D4.23.babaisaleh', '$2y$10$MVDjQ0gltfKmdaNDjmvfrOHgbBvUt1EuPUcRnxUR1irxKRkV0mNqG', 'امیرحسین', 'بابائی صالح', '0441903525', 1, '2020-07-16 18:24:50', 'vaVJdsT5n8UEUgSDcfOOVXsqUOcXyW2VJCDA6iwrA1ZqeFBy8tJv9s2EZId4', '', 1, '2020-07-16 18:24:50', 2000, 6, 0, 0, '4_03.png'),
(363, 'D4.3.bagheri', '$2y$10$UD9MJvwh5oz3T4xLUql/vOtVv/3kojXJJl8ocBMGnxL0VVBMrI14.', 'پارسا', 'باقری', '0251458202', 1, '2020-07-16 18:24:50', 'KMpEUhmcEugxPlgr3lEMNUwXraiqp6QYiU3sjhOi9wrh3Lu5Kjj6jyzUbbsn', '', 1, '2020-07-16 18:24:50', 2000, 6, 0, 0, '4_04.png'),
(364, 'D4.4.bordbar', '$2y$10$7bt3oO9Uelo.KnPnfazIzeAPdKZsQqi.CaB8aNKafC4N9Zh9nJ9HW', 'محمدعلی', 'بردبار', '0441887880', 1, '2020-07-16 18:24:50', 'KdYVUrEzYm7pLhG8D2ZasANZ8eB2O71v5iNnuvRLQE5vcdVNRMp4hABVkX26', '', 1, '2020-07-16 18:24:50', 2000, 6, 0, 0, '4_05.png'),
(365, 'D4.5.khanzadeh', '$2y$10$Ndcic.WAGy8nOceF6/MWTOqKJQ6Bl.D13bOjveaYcigtimtnIueoG', 'محمدامین', 'خانزاده', '0441814581', 1, '2020-07-16 18:24:50', '3Q93Qaifkw5r3l3fCpPCTq84XCn0bvdHLZSZZdC7lRgYwPoTTJaiLbVkE43r', '', 1, '2020-07-16 18:24:50', 2000, 6, 0, 0, '4_06.png'),
(366, 'D4.6.khaniha', '$2y$10$vMfu5lOAROvlFTR4KCRvVOWF/wRqFA7Gx760LslnVZ1s9OfpVHg6.', 'محمد', 'خانیها', '0441822533', 1, '2020-07-16 18:24:51', 'ao0gR2hP3HT5uU5xWs79hTaBJG2gytGpBIWZMKz4ZwSltCj6yMGioSKVGbIn', '', 1, '2020-07-16 18:24:51', 2000, 6, 0, 0, '4_07.png'),
(367, 'D4.8.rahimi', '$2y$10$/GhBpkaXvfpOedRK6yBCX.GXziHxEfsSWLhDFeMCxwYIAeaGcQF4C', 'امیرحسین', 'رحیمی كشاری', '0441818854', 1, '2020-07-16 18:24:51', 'tPHVmtVEsIKKwF6hbti5IzeO3fdaXWvh6vBEll2cEGX7Zaa6Nw9d2XoGJT5R', '', 1, '2020-07-16 18:24:51', 2000, 6, 0, 0, '4_08.png'),
(368, 'D4.9.ziar', '$2y$10$h0Wuvhi2MnfEFksc9HMDkuy4EyFuzkgIXbHlusF.E7OTGJYvNLxT6', 'محمدپارسا', 'زیار', '0441879837', 1, '2020-07-16 18:24:51', 'iy4f3lwNZpezMgbQHQuLOc0eOmfLLMpBLbCTIQgH2EmbAO1GyIUTNejqdayZ', '', 1, '2020-07-16 18:24:51', 2000, 6, 0, 0, '4_09.png'),
(369, 'D4.10.saeedinejad', '$2y$10$4xGO63onqUOMOtrEGOUqBOLCqiaOnnIcXajeDWG6r5cbpRubBdvDu', 'محمد', 'سعیدی نژاد', '0441800033', 1, '2020-07-16 18:24:51', 'mSLQ2AXl5Af5VyCFvPkDfl7UwGLgKaYDZSoNYeSJ87kummO3YytivpUEw29C', '', 1, '2020-07-16 18:24:51', 2000, 6, 0, 0, '4_10.png'),
(370, 'D4.11.shafaee', '$2y$10$Scix1yPVosmRcf2UqLbw7uB.eraCbCODe1i4tGB7AsnyR0gLRaSx.', 'محمدرضا', 'شفائی', '0251433242', 1, '2020-07-16 18:24:51', 'czMYQ7aqlfmF6MS1c1y8ivOsrAzZsiUl9EKPxiFGHOT0V1nsTl5t1AUwp6QK', '', 1, '2020-07-16 18:24:51', 2000, 6, 0, 0, '4_11.png'),
(371, 'D4.12.shamsolahrari', '$2y$10$91vmam64jYPgLQG5FEKqvefASYUDjYLwZAbTkNgD611V/0znKMc2y', 'امیرحسن', 'شمس الاحراری', '0251540741', 1, '2020-07-16 18:24:51', 'DChwZZ5atkhHZw5OaETIZee3OmIoix5DJeUX4afFZ4tHyzRmVy54HycBBGiC', '', 1, '2020-07-16 18:24:51', 2000, 6, 0, 0, '4_12.png'),
(372, 'D4.13.safavi', '$2y$10$8ij2T7Z9g7TmMNvdCRqDB.6LnnU3Hep0./tES8JbN7NnpSwd6Ycn2', 'سیدعلی', 'صفوی', '4712143479', 1, '2020-07-16 18:24:51', 'Oo3EMQMIqNetIZpmgMiFycrgECImHjiNMOfGxUKQtNW5v9c6TkcNBR7CF0Kh', '', 1, '2020-07-16 18:24:51', 2000, 6, 0, 0, '4_13.png'),
(373, 'D4.22.fakharmanesh', '$2y$10$3Vron9zwKWG4CRCbEt/2kuz9AyiiHDX6iUwTJhSxksouKWjG2QP/K', 'علیعطا', 'فخارمنش', '0441895980', 1, '2020-07-16 18:24:51', 'HXTV08mYcGlpbqxwplPLfC2fdXWunXPK4LgyazByhnVPWo9VSk0q2Am2CY6J', '', 1, '2020-07-16 18:24:51', 2000, 6, 0, 0, '4_14.png'),
(374, 'D4.14.ketabi', '$2y$10$y.SmEClw5LyYzgfsIVh0denaPAGuVHsKaB1Y.PrXNOma8M7iT9N86', 'محمدصالح', 'كتابی', '0251371336', 1, '2020-07-16 18:24:51', 'C7nlIflPksHj6fdysBNdOgtEDl0ePmcW0El5pzVI6ZphrGY6YyOLntWbeAvu', '', 1, '2020-07-16 18:24:51', 2000, 6, 0, 0, '4_15.png'),
(375, 'D4.15.golshenas', '$2y$10$7HIGvq19WSwjb9YbpP8/..fGdDZymUHodUMzKn5uyYuo4ZNDrqmRK', 'محمدمهدی', 'گل شناس', '0441841740', 1, '2020-07-16 18:24:51', 'BgXqdOtelq4bafBiT4RAHOQwlwWdRQYRVkB2UXKmmUeRb4ZlFQs968wjpt87', '', 1, '2020-07-16 18:24:51', 2000, 6, 0, 0, '4_16.png'),
(376, 'D4.16.merati', '$2y$10$pVknR94oG4pdX9AcUBDYK.a.PzM7SMMRFLB1TQQsRq1KXr.uQb7Aq', 'محمدصادق', 'مرآتی شیرازی', '0441815464', 1, '2020-07-16 18:24:51', 'rshLTgcambLXUCyWcrSZ0t30s9zyTE1OghH90nJr3jDlx07oEpEsWEL8P261', '', 1, '2020-07-16 18:24:51', 2000, 6, 0, 0, '4_17.png'),
(377, 'D4.17.mobin.movahedi', '$2y$10$nthnLCOYC/k5UNinWWMhy.0/oefVOq5oaPTEZOnhlo4IvVUi3uAty', 'مبین', 'موحدی', '0441841945', 1, '2020-07-16 18:24:51', 'yhR78UGmueISihhsEk5QFE95bWhmH3233b0U8xkZlzTvVoef7PkcomPtyEOn', '', 1, '2020-07-16 18:24:51', 2000, 6, 0, 0, '4_18.png'),
(378, 'D4.17.matin.movahedi', '$2y$10$gXSWlFKnHIAlk2btJQrqC.Oh6PVGuCuvkd1mz1LlngyfL6aH0AbmO', 'متین', 'موحدی', '0441841953', 1, '2020-07-16 18:24:52', 'exxv56yGp0IfejlxMJtexwzmtLnZlr3cuzbOv0ZWZEBqNsSaB2HoSMiNutZF', '', 1, '2020-07-16 18:24:52', 2000, 6, 0, 0, '4_19.png'),
(379, 'D4.18.movahedimaram', '$2y$10$Rwws9adUKWGTaGUWtDaDJu5InicdAl77kCtU3F1eQ8i1dTTPvo84C', 'علی', 'موحدی مرام', '0441862276', 1, '2020-07-19 11:50:47', 'ZDTBoUgNGViNj3kyNRms9keoZjfT5zGg7yQgPRELTBBtNUQ5aRQrifMnhNYM', '', 1, '2020-07-16 18:24:52', 2000, 6, 0, 0, '4_20.png'),
(380, 'D4.19.moosavi', '$2y$10$RqiXxqAWryNM7rmmffWRb.Oe7MyQ75SFzaLtM1pnohn6V3NXy7Pai', 'سیدمحمدفؤاد', 'موسوی', '0441796052', 1, '2020-07-16 18:24:52', 'myAa2ou1ykwI0szIOA9b1aQvcZT2SdwXXDaDwMFmzfsplz7KCvYWuUXsyirJ', '', 1, '2020-07-16 18:24:52', 2000, 6, 0, 0, '4_21.png'),
(381, 'D4.20.nabavi', '$2y$10$7L7l21mOejkOn5sG5OU9AepXWj8q.lS.bHJsHhoRVlgthbF2NKUxm', 'سیدصدرا', 'نبوی', '0201933659', 1, '2020-07-16 18:24:52', 'Xr5qDY2DQWW8BgiBv1GuFmbgnKBfyQQZpkmwaxsll3XxArErdU2ZXtJzHXuj', '', 1, '2020-07-16 18:24:52', 2000, 6, 0, 0, '4_22.png'),
(382, 'D4.21.vajedi', '$2y$10$LuXQrJtUYzpimwHDG3uLMuuhU8OPpgHrbOoKbQvA8VfeV6BvsOH4S', 'سیدامیرعلی', 'واجدی', '0441902219', 1, '2020-07-16 21:14:12', 'qTeFPyCC03ra6Czr9gX6EAwEVEKyJDfXmhLXRZHRfpyydxH4cfMzXyXDlo8Y', '', 1, '2020-07-16 18:24:52', 2000, 6, 0, 0, '4_23.png'),
(383, 'D4.7.rahati', '$2y$10$UP/RNxgXk2bBX13W3rUP3uY4ZnG3Oa6GZG.hV6AgVFWU3lR5GedHG', 'محمدعلی', 'راحتی', '0960267905', 1, '2020-07-16 18:24:52', 'E5pruYlIZPP3YFY5sdAKI9aTZC5yhHf9yhflcbVkT9xsy8mLQhBRk1TSHhRC', '', 1, '2020-07-16 18:24:52', 2000, 6, 0, 0, '4_24.png'),
(384, 'test7', '$2y$10$2qmMeEXTUegVByCIo3aKXucamkMpzsJ7UDmgcrMt59hzGBoeXlVhC', 'تست', 'تست', '123456', 1, '2020-07-16 18:24:52', 'PlFOW9yRAislemWgy18qrzW9GgDJROLA30r8poNtyCEvNNLSNyFIbXBlZPny', '', 1, '2020-07-16 18:24:52', 2000, 6, 0, 0, '1.png'),
(385, 'test8', '$2y$10$ja6W1jR9wjeDjtDVWAOJluwvpcnZozXBT2lEgd4eE1yn02C/j1QJK', 'تست', '2 تست2', '123456', 1, '2020-07-17 06:37:35', '6QgZQhKRPaGgrOFbXevOaRUGEYGk0hU3bgN5HdMP4u1cu6ngu4lWgKwkt6hC', '', 1, '2020-07-16 18:24:52', 2000, 6, 2, 0, '2.png'),
(386, 'D3.1.ahmadi', '$2y$10$X.ai3Mi85eP0LF6yMoCPHOQDoWITPjGF4Dy7xyX.smuWlJQItlxKy', 'سیدمحمدحسن', 'احمدی', '0251267539', 1, '2020-07-16 18:25:34', 'COGZ5mNrq2Xq9I4UAUbBl3tBMt1KtiDM5Vl97TQiW8SD99CUsHBA3WBi2Ufu', '', 1, '2020-07-16 18:25:34', 2000, 7, 0, 0, '3_01.png'),
(387, 'D3.2.azhdari', '$2y$10$tfVb3LoG0Y.CioYkfecwGe2bykW0g7cM9zS2xKGdooMdfBv7FJ0EK', 'امیررضا', 'اژدری', '0441805019', 1, '2020-07-16 18:25:34', 'uiR6i1ZF8iWzfB3hYjh9z5gYhO5oQprhQi93Xp1nd14whLbI2XJEGQYuPKY3', '', 1, '2020-07-16 18:25:34', 2000, 7, 0, 0, '3_02.png'),
(388, 'D3.3.imani', '$2y$10$8qCq7JWb99ubjSn8f16i9er31ABw8KZBRGIBU7DeSjDx3yIaDWhcm', 'هویار', 'ایمانی', '0441764266', 1, '2020-07-16 18:25:35', 'fknVrqfwo6uxXRI7GNEIpqeRqfm4v28p0tkGpTwPPamyomS6nVLJVtRMQKN6', '', 1, '2020-07-16 18:25:35', 2000, 7, 0, 0, '3_03.png'),
(389, 'D3.4.bahramgiri', '$2y$10$GMYbGqBqz8UtKwBLZbsy9ebJoHTAeqP0HWQwonCY7.jaH50U6rRQ2', 'محمد', 'بهرامگیری', '0251364992', 1, '2020-07-16 18:25:35', 'gSbTHmwVsJeI61GK4IaS2vzuigenP47hlonxxxHljqAggq1HxxWBwxn5uuGP', '', 1, '2020-07-16 18:25:35', 2000, 7, 0, 0, '3_04.png'),
(390, 'D3.5.hajiabdolali', '$2y$10$CiHKXIvmV2gwGS3N5ZktcOvMNXgExBGecXGtRtXqfIowAN/Oha/Eu', 'محمدپارسا', 'حاجی عبدالعلی', '0026434520', 1, '2020-07-16 18:25:35', 'CW5fLAkybIuUN8aE1sypTv89EqWGt0PGl4DyYmgc8wnd8nkxGyBivCG1JIU0', '', 1, '2020-07-16 18:25:35', 2000, 7, 0, 0, '3_05.png'),
(391, 'D3.6.hasanzadeh', '$2y$10$2iDvkxsJCa2ApqQHPbgRBu7r67DdquwtWKOogr5VQTUy1RSrrJY0S', 'امیراحمد', 'حسن زاده', '1275921965', 1, '2020-07-16 18:25:35', 'oWRL8TYNSZDI7L5pn7vnaf3T5lTl8w9wkfYEDH9r9Jau5WWTeHzxn89xUScO', '', 1, '2020-07-16 18:25:35', 2000, 7, 0, 0, '3_06.png'),
(392, 'D3.7.dadman', '$2y$10$lv4JqHQNM.qcRtMxXuJhb.smjmqi1YmQh3QvOUXey5e9x4Q92NelO', 'امیرحسین', 'دادمان', '0441759890', 1, '2020-07-16 18:25:35', '5VO1RGYyOZSroPN5JQFnM22KoKNGOfLSBM1E200nzswsPlWimJHhggSqOShA', '', 1, '2020-07-16 18:25:35', 2000, 7, 0, 0, '3_07.png'),
(393, 'D3.8.zakeri', '$2y$10$q4Nxp7DbeROeWi6jlD6toeIWdL5M/X7RwgShPWd8SG5jbIuCZ59FC', 'محمدطاها', 'ذاكری', '0441757537', 1, '2020-07-20 08:06:02', 'SCFkH9ojwrYOqCASMqeFxKHE4skgPZertczGbKHFRrv2Q7TYmnKL2yT3ux3H', '', 1, '2020-07-16 18:25:35', 2000, 7, 0, 1, '3_08.png'),
(394, 'D3.9.sabeghi', '$2y$10$UhOexxUVlTeRkfEomWVZqeXGRfKySgUE9FBFLqOY2331gHcJY3YfW', 'علی', 'سابقی', '0026453924', 1, '2020-07-16 18:25:35', 'jt0odfndnue9ejkgykF8ygHlNbNHDINXwkIr9IQV6A19ZCKCjgOp1Kduh3YZ', '', 1, '2020-07-16 18:25:35', 2000, 7, 0, 0, '3_09.png'),
(395, 'D3.10.salimkhani', '$2y$10$oEA3UyoEhxjLrQ4tTCLF8uILA8hnGAt4MXiAoV.Yyv4a39XQoEd3m', 'محمدامین', 'سلیم خانی', '0152320938', 1, '2020-07-16 18:25:35', 'w19I066CqlrS3FXgcBmw056iQSNr5feAUtKtXnau4ygRPRewEUoOQ5ZtqzoL', '', 1, '2020-07-16 18:25:35', 2000, 7, 0, 0, '3_10.png'),
(396, 'D3.11.seyyedrezazadeh', '$2y$10$2keV0izPdCAzQEIss4MRoePyIdsVbVkhh1TP62hJE0vZdvTkFFhb.', 'سیدامیرمهدی', 'سیدرضازاده', '0152253203', 1, '2020-07-16 18:25:35', 'jZR6JQXJtfoFCcRhYdgA6UjeQhj6Xe67Z2HMo46DY2vF2Qb8jC9BxDFohPlL', '', 1, '2020-07-16 18:25:35', 2000, 7, 0, 0, '3_11.png'),
(397, 'D3.12.shirpoor', '$2y$10$./M1FH64r062KP1aYR2cAuDCbT/qtp.vZkVazBL/tkoebASxYbZCO', 'امیرعلی', 'شیرپور', '0441805371', 1, '2020-07-16 18:25:35', 'CEa628zk77q5ofOtXEUhM2ThzDp584oCzhu1HPZB5SPAaHrqOoN3gTqlLPa4', '', 1, '2020-07-16 18:25:35', 2000, 7, 0, 0, '3_12.png'),
(398, 'D3.13.sanei', '$2y$10$WRmCP57JErGEoCO7Nlru7.kog.nBWIsz6wCw1vRb8iKEIvzFVjzYq', 'امیریحیی', 'صانعی طاهری', '0441732259', 1, '2020-07-16 18:25:35', 'CqnEyu4nBSFRZqRVHvJDFCwed9ZnHzYUF0cV3eXMvmPayKyCnkBkZHfJA5l3', '', 1, '2020-07-16 18:25:35', 2000, 7, 0, 0, '3_13.png'),
(399, 'D3.14.taheri', '$2y$10$E1..gh3o2nOWhqoMFFTaCOaU3i1Q6Ui9WmWGvgdGV/YTLvtJuWfHS', 'محمد', 'طاهری', '0251204987', 1, '2020-07-16 18:25:35', '2vIrZT8p4E2rkKx1ysiJEM15NGY5v2lSJ5RRHpFMHnK1edaag4sz0PqjrqbJ', '', 1, '2020-07-16 18:25:35', 2000, 7, 0, 0, '3_14.png'),
(400, 'D3.15.adeli', '$2y$10$1K5zUJbcf7bstILNQpA/O.kBtmCqy2tub86DYcOVlT5OPI80DMXIS', 'علی', 'رضا عادلی', '0251317951', 1, '2020-07-17 16:25:24', 'DkqQpd6CCGTfw5bdzIptedvwJxTWHv3OlSkNedByifRHHOAz9yzB7tg1KGNK', '', 1, '2020-07-16 18:25:36', 2000, 7, 0, 0, '3_15.png'),
(401, 'D3.16.ghasemi', '$2y$10$S3oyodi/HJ.DTKazFE2yeuli6jf.vzI/IlWJjI6j9dSZIQVA2pLMy', 'یاسین', 'قاسمی', '0152335943', 1, '2020-07-16 18:25:36', 'cuz6WaIWZ6H1b3yCWi3bmT2IMY0UqqYSsEmlzaedHGDFGcSm0OP4zh6n6BCI', '', 1, '2020-07-16 18:25:36', 2000, 7, 0, 0, '3_16.png'),
(402, 'D3.17.mohammadi', '$2y$10$ymskwnLfOyAD0suQOr.yquXKaYiRUHTTTg8/fp5slm6ef1mayvBZq', 'امیرمحمد', 'محمدی', '0441807615', 1, '2020-07-16 18:25:36', 'HgJPdAR6vf8hw7uQRPDxVlDcw2suIIfA80jQpuBTQQ6IfN2BV7BxdYsBI2yd', '', 1, '2020-07-16 18:25:36', 2000, 7, 0, 0, '3_17.png'),
(403, 'D3.18.mohammadipoor', '$2y$10$1IfegcLGmtyOkPKAX0Gomu5w67OIeWaPwZrtK5mu1JRQP30DvHx5i', 'معین', 'محمدی پور', '0441755445', 1, '2020-07-16 18:25:36', 'DCYhBybkXPBzUSitu497V67Z7xAXuCErsHQdSMq6VGa3jtXsuvrnepWoe4w0', '', 1, '2020-07-16 18:25:36', 2000, 7, 0, 0, '3_18.png'),
(404, 'D3.19.nazeriha', '$2y$10$mgnRmrVNCPdFZe6NE4BsiutNidKdOcyfHeOvzuwvPAhRWFpEjyVFa', 'محمدعلی', 'ناظریها', '0026356112', 1, '2020-07-16 18:25:36', 'ikfnlDoBTAhR1eVv78aFuvkdTzFx6tVwfcqpmxev1KKKHSYbdluwmdbN6uUG', '', 1, '2020-07-16 18:25:36', 2000, 7, 0, 0, '3_19.png'),
(405, 'D3.20.nobahari', '$2y$10$TfxYlPctd58yErh8M3orqOtAe4y7lt.YDOIAIuemTvxfTMqHuqVgq', 'محمدحسین', 'نوبهاری', '0251204472', 1, '2020-07-16 18:25:36', 'GuqYCPGbprqfvvDP08Jl6lYd97tr1LJIriOMBWKffQ0YJCAZnOMP0dwNW51K', '', 1, '2020-07-16 18:25:36', 2000, 7, 0, 0, '3_20.png'),
(406, 'test9', '$2y$10$qV5uBVpjiRAFAjkwBZC4HucDYPEa7Vf7DYoiiWnR0VEVbAoSCv4zm', 'تست', 'تست', '123456', 1, '2020-07-16 18:25:36', 'Qsr5JHlw1QX7Cwu5C6flTwnsMkbeDeMJQZi4qjWL6AyzRo0nG3My1B1Yh3MC', '', 1, '2020-07-16 18:25:36', 2000, 7, 0, 0, '1.png'),
(407, 'test10', '$2y$10$WMdku700nd5/jBa1UEp/2.W1u26ty3NLYDriU7AI/PHBiN0PLgfX.', 'تست', '2 تست2', '123456', 1, '2020-07-16 18:28:13', 'QDGQkKYzcPDKGaHs74RHJEv6N8BanEBSjYyDF7h9nI8yyLbciuQCNvQGPlhj', '', 1, '2020-07-16 18:25:36', 2000, 7, 0, 0, '2.png'),
(408, 'D2.1.asadi', '$2y$10$rNkd7wPE.KbLN77vpYbyX.t5IGh4ThR.AyrQnL2GBw5Iqx.AFHpQm', 'محمدمصطفی', 'اسدی', '0441672515', 1, '2020-07-16 18:26:17', 'qdzvqQLoRAzqmfsC1ZVdi7XGPQJSvGAblJIuzhSomkF7HqijH50KDIfVA8D7', '', 1, '2020-07-16 18:26:17', 2000, 8, 0, 0, '2_01.png'),
(409, 'D2.2.hejazi', '$2y$10$tjbNXNnmVZmwdHasQWu2Ae3Om3Ne8xQrX3pIgqhT.uAgvcwHu8.3S', 'هادی', 'امیرزاده حجازی', '0251148807', 1, '2020-07-16 18:26:17', 'uM35uElJlYQPIET2aaXEzxzsFCQFOQygIGleOKIzhNsx63G1jjsO8xD4ysx0', '', 1, '2020-07-16 18:26:17', 2000, 8, 0, 0, '2_02.png'),
(410, 'D2.15.amin', '$2y$10$lOlAbpDPuYs.1IXk2.u9bugi42bBgiaXKSEdlU53Ky1X2Zsi1lCnq', 'سیدامیرحسین', 'امین', '0251162605', 1, '2020-07-16 18:26:17', 'KVW13436QzUCVNqHOTO0CEO971rRRjkRjgT41KxbV7JCRq4BpOj03VlwxKro', '', 1, '2020-07-16 18:26:17', 2000, 8, 0, 0, '2_03.png'),
(411, 'D2.3.ahrabinia', '$2y$10$kRezntj1Mrl2orLBZrjLx.g/VJncAvMEvnaJYF6H.BBZ9a47QNT5y', 'محمدمهدی', 'اهرابی نیا', '0250936811', 1, '2020-07-16 18:26:17', 'OKhHhfHmEkg9UUYM7cF0BYwXg6V01Nqh96MIcMC6pmLgKvm2cXkcobuYmJVe', '', 1, '2020-07-16 18:26:17', 2000, 8, 0, 0, '2_04.png'),
(412, 'D2.4.pelisieh', '$2y$10$cNIpMhn81mI8XigUqJFyrOywykeDuJVgAVC.RjLRztCTrKtzqcIeS', 'محمدحسین', 'پلیسیه', '9413004596', 1, '2020-07-16 18:26:17', 'N3JN3Dafxp9tZ85d3Zq0awREdMcfpn2WWlUfveJ6Gx39HRHnmuntlTYYxcrL', '', 1, '2020-07-16 18:26:17', 2000, 8, 0, 0, '2_05.png'),
(413, 'D2.5.jahangard', '$2y$10$f3UrA/KtRAT.2N0oBx6B.OZuyt5mGwPMPJBgOAzD0nWo0HuHvYmTu', 'مهدی', 'جهانگرد', '0441666401', 1, '2020-07-16 18:26:17', 'xteutIMFG2pFkrafUSXMPualjfU7XD0xIeXnvxlKwIlybSGgXHTEEjeMC12T', '', 1, '2020-07-16 18:26:17', 2000, 8, 0, 0, '2_06.png'),
(414, 'D2.6.chizari', '$2y$10$8Op9kLHHMp62VEFj5XOyMeb5hFciWQYgEID8bre6sl.vQbaGgyDou', 'محمدعلی', 'چیذری', '0441657583', 1, '2020-07-16 18:26:17', 'SXbMdUTV7s8A5u8g8X3lFavVWdVoRMG30ncP2WbTQsfoKWomYgfRuW7w6rBN', '', 1, '2020-07-16 18:26:17', 2000, 8, 0, 0, '2_07.png'),
(415, 'D2.7.khodaverdi', '$2y$10$dqJRyMtyziwAQzPUdzntgeE.gBKKH92SNXwelnvqSXsvjdoCv2Nr2', 'امیرعلی', 'خداوردی', '0441693105', 1, '2020-07-16 18:26:17', 'QSThHb8FJglltpkUHFaLBFmUyeUPvXKubJAb6v2Fqynp9q9G6va6dSMi6K1i', '', 1, '2020-07-16 18:26:17', 2000, 8, 0, 0, '2_08.png'),
(416, 'D2.8.khorasanchi', '$2y$10$9CSnSk2Ggnp4lS1PVv4vyORCjHTMaffDS36oll08EtJbmgrDXGHN2', 'علی', 'خراسانچی', '0441680402', 1, '2020-07-16 18:26:17', 'YASglmE8dxCp3n3hRRsUVnwy8zwxQu0XpTvWd6RaWsvOBzrZKvDjV6WQcxH8', '', 1, '2020-07-16 18:26:17', 2000, 8, 0, 0, '2_09.png'),
(417, 'D2.9.zebhideh', '$2y$10$7QMPM7J/iZEKYqIpATPytez7bJUYBJ5pp7IzmofarK.E6Bc.mEgte', 'امیرحسین', 'زبهیده', '0152031278', 1, '2020-07-16 18:26:17', 'RKm9vJE2CKfUUK8CZaja5qKGFesro789fPFS6TT6TBYErZPMUVBFhyMkBDt8', '', 1, '2020-07-16 18:26:17', 2000, 8, 0, 0, '2_10.png'),
(418, 'D2.10.fakharmanesh', '$2y$10$ig..NFrTnsJnIXooFIuq2Ocf50hfGdDIJfRVcmHKa4.5pb5awlKd.', 'امیرعلا', 'فخارمنش', '0441681484', 1, '2020-07-16 18:26:17', '6jiKVSgzt2JSji11pLWkps2G7YyGD0w1LDSjr0LMnbmxSkYLsW3HuuMzlVMX', '', 1, '2020-07-16 18:26:17', 2000, 8, 0, 0, '2_11.png'),
(419, 'D2.11.karkhaneh', '$2y$10$LephKUkOYAOTKpMjuG/bfud3kF4o0FVklILDKhDS8gkeXSyBHwgAm', 'محمدصادق', 'كارخانه', '0441702414', 1, '2020-07-16 18:26:18', 'DcjX5QcwCBky8mIklivcuy08OlGDzFgIlExyiVp3Ybgd3on6enW6MISqe2Do', '', 1, '2020-07-16 18:26:18', 2000, 8, 0, 0, '2_12.png'),
(420, 'D2.12.mohammadpazhooh', '$2y$10$XxzyxD9HGpmtnG2aXEUaoeDnoQky9FbKLNz2B/LcurIwkENLSu1Ue', 'محمدیاسین', 'محمدپژوه', '0441624677', 1, '2020-07-16 18:26:18', 'xG8f4b275781u8yAoWq2otqSMn7pw0XgK4o0ze2w2Q0r0LnuJgv5B8Dp8ERb', '', 1, '2020-07-16 18:26:18', 2000, 8, 0, 0, '2_13.png'),
(421, 'D2.13.mashayekh', '$2y$10$C0K.KLAkT7LCRqwKBde7Webq2pdgwlMb7Juv1g7Qt86ASafkZux6.', 'محمدمهدی', 'مشایخ', '0201361213', 1, '2020-07-16 18:26:18', 'yDlKFzdcCkVKYDBgEL6MiZBr5xR4LMiwiTb3jYY77gZiA3tujEdAlbdj4gbN', '', 1, '2020-07-16 18:26:18', 2000, 8, 0, 0, '2_14.png'),
(422, 'test11', '$2y$10$mxq8wcoQWzjW8TaQVn/kpO5blNMjLmA5p99sZkHrVplYLvsaMKiPG', 'تست', 'تست', '123456', 1, '2020-07-16 18:26:18', NULL, '', 1, '2020-07-16 18:26:18', 2000, 8, 0, 0, '1.png'),
(423, 'test12', '$2y$10$ciXDLNEofLTi/YC02vn/NeP7vQ3UC6/Tn6xMp70UhAXD1Myyo9UPa', 'تست2', 'تست2', '123456', 1, '2020-07-16 18:28:17', 'FMQwWEHErCAOzeElYdkQ37w8PBsdQgrP00EKZV57UeuItvp2j7NlB51DYsn8', '', 1, '2020-07-16 18:26:18', 2000, 8, 0, 0, '2.png'),
(424, 'D2.14.jodeiri', '$2y$10$KRCQvzNB.tN.1gRO2DBp/.xtjrlDWmRAVOXZCSkajUNzs2D1ts72a', 'محمد', 'جدیری', '0441696880', 1, '2020-07-18 09:29:09', 'VNAlORZDhuqgNePgxaiw8g1kbptHqcuCy5i3c1Q8fgGu7EbmlRLe5CV82u5r', '', 1, '2020-07-18 09:28:53', 2000, 8, 0, 0, '2_15.png'),
(430, 'zahra', '$2y$10$fgCeH1naBHWmmuzuMWCeHuNA/uqaRF4VHERLLlf8bvCnruV2XEtAi', 'محمد', 'فانع', '0018914373', 2, '2020-07-20 11:06:10', 'bnZ682BMJF3ZChoZh51ZbtEuOyqYl34gomWD84O3Sa4DJMXM0zmlI71b5Akm', '', 1, '2020-07-20 11:06:10', 2000, 3, 0, 0, '1.jpg'),
(431, 'sara', '$2y$10$95Q9YFWabwi8IYHdAwalCOfKg/lXwYIrl7IXDMcm0KVpSu.m1IoLe', 'احمد', 'قانع', '0020033087', 2, '2020-07-20 11:06:10', NULL, '', 1, '2020-07-20 11:06:10', 2000, 3, 0, 0, '2.jpg'),
(432, 'sharab', '$2y$10$8d0TkhR325TG2ijpAXEN5O8Z0OMPqMcll2mFRPQI1x0D1QJatOP4a', 'حسین', 'قانع', '0074804456', 2, '2020-07-20 11:06:10', NULL, '', 1, '2020-07-20 11:06:10', 2000, 3, 0, 0, '3.jpg'),
(433, 'rima', '$2y$10$G2mT3NQcQPQQm3SU.s30puNlZ.VnqRIB44ZEXjyIywlgjp0WX567q', 'حسن', 'قانع', '3861338300', 2, '2020-07-20 11:06:10', NULL, '', 1, '2020-07-20 11:06:10', 2000, 3, 0, 0, '4.jpg');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `bookmarks`
--
ALTER TABLE `bookmarks`
ADD PRIMARY KEY (`id`),
ADD KEY `user_id` (`user_id`),
ADD KEY `item_id` (`item_id`),
ADD KEY `mode` (`mode`);
--
-- Indexes for table `chat`
--
ALTER TABLE `chat`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `common_question`
--
ALTER TABLE `common_question`
ADD PRIMARY KEY (`id`),
ADD KEY `category_id` (`category_id`);
--
-- Indexes for table `config`
--
ALTER TABLE `config`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `faq_category`
--
ALTER TABLE `faq_category`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `grade`
--
ALTER TABLE `grade`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `name` (`name`);
--
-- Indexes for table `likes`
--
ALTER TABLE `likes`
ADD PRIMARY KEY (`id`),
ADD KEY `item_id` (`item_id`),
ADD KEY `user_id` (`user_id`),
ADD KEY `mode` (`mode`);
--
-- Indexes for table `msg`
--
ALTER TABLE `msg`
ADD PRIMARY KEY (`id`),
ADD KEY `chat_id` (`chat_id`);
--
-- Indexes for table `product`
--
ALTER TABLE `product`
ADD PRIMARY KEY (`id`),
ADD KEY `product_category_id_foreign` (`user_id`),
ADD KEY `project_id` (`project_id`);
--
-- Indexes for table `product_attach`
--
ALTER TABLE `product_attach`
ADD PRIMARY KEY (`id`),
ADD KEY `product_id` (`product_id`);
--
-- Indexes for table `product_pic`
--
ALTER TABLE `product_pic`
ADD PRIMARY KEY (`id`),
ADD KEY `product_pic_product_id_foreign` (`product_id`);
--
-- Indexes for table `product_trailer`
--
ALTER TABLE `product_trailer`
ADD PRIMARY KEY (`id`),
ADD KEY `product_id` (`product_id`);
--
-- Indexes for table `project`
--
ALTER TABLE `project`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `project_attach`
--
ALTER TABLE `project_attach`
ADD PRIMARY KEY (`id`),
ADD KEY `project_id` (`project_id`);
--
-- Indexes for table `project_buyers`
--
ALTER TABLE `project_buyers`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `project_unique` (`user_id`,`project_id`),
ADD KEY `user_id` (`user_id`),
ADD KEY `project_id` (`project_id`);
--
-- Indexes for table `project_grade`
--
ALTER TABLE `project_grade`
ADD PRIMARY KEY (`id`),
ADD KEY `project_id` (`project_id`),
ADD KEY `grade_id` (`grade_id`);
--
-- Indexes for table `project_pic`
--
ALTER TABLE `project_pic`
ADD PRIMARY KEY (`id`),
ADD KEY `project_id` (`project_id`);
--
-- Indexes for table `project_tag`
--
ALTER TABLE `project_tag`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `projectTagUnique` (`project_id`,`tag_id`),
ADD KEY `tag_id` (`tag_id`),
ADD KEY `project_id` (`project_id`);
--
-- Indexes for table `service`
--
ALTER TABLE `service`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `service_attach`
--
ALTER TABLE `service_attach`
ADD PRIMARY KEY (`id`),
ADD KEY `service_id` (`service_id`);
--
-- Indexes for table `service_buyer`
--
ALTER TABLE `service_buyer`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `service_unique` (`user_id`,`service_id`),
ADD KEY `service_id` (`service_id`),
ADD KEY `user_id` (`user_id`);
--
-- Indexes for table `service_grade`
--
ALTER TABLE `service_grade`
ADD PRIMARY KEY (`id`),
ADD KEY `grade_id` (`grade_id`),
ADD KEY `service_id` (`service_id`);
--
-- Indexes for table `service_pic`
--
ALTER TABLE `service_pic`
ADD PRIMARY KEY (`id`),
ADD KEY `service_id` (`service_id`);
--
-- Indexes for table `tag`
--
ALTER TABLE `tag`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `transactions`
--
ALTER TABLE `transactions`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `transaction_unique` (`user_id`,`product_id`),
ADD KEY `user_id` (`user_id`),
ADD KEY `product_id` (`product_id`),
ADD KEY `follow_code` (`follow_code`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `username` (`username`),
ADD KEY `grade_id` (`grade_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `bookmarks`
--
ALTER TABLE `bookmarks`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `chat`
--
ALTER TABLE `chat`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=82;
--
-- AUTO_INCREMENT for table `common_question`
--
ALTER TABLE `common_question`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `config`
--
ALTER TABLE `config`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `faq_category`
--
ALTER TABLE `faq_category`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT for table `grade`
--
ALTER TABLE `grade`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `likes`
--
ALTER TABLE `likes`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `msg`
--
ALTER TABLE `msg`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=341;
--
-- AUTO_INCREMENT for table `product`
--
ALTER TABLE `product`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `product_attach`
--
ALTER TABLE `product_attach`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT for table `product_pic`
--
ALTER TABLE `product_pic`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT for table `product_trailer`
--
ALTER TABLE `product_trailer`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `project`
--
ALTER TABLE `project`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;
--
-- AUTO_INCREMENT for table `project_attach`
--
ALTER TABLE `project_attach`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;
--
-- AUTO_INCREMENT for table `project_buyers`
--
ALTER TABLE `project_buyers`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=137;
--
-- AUTO_INCREMENT for table `project_grade`
--
ALTER TABLE `project_grade`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=54;
--
-- AUTO_INCREMENT for table `project_pic`
--
ALTER TABLE `project_pic`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=61;
--
-- AUTO_INCREMENT for table `project_tag`
--
ALTER TABLE `project_tag`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;
--
-- AUTO_INCREMENT for table `service`
--
ALTER TABLE `service`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT for table `service_attach`
--
ALTER TABLE `service_attach`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `service_buyer`
--
ALTER TABLE `service_buyer`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=58;
--
-- AUTO_INCREMENT for table `service_grade`
--
ALTER TABLE `service_grade`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;
--
-- AUTO_INCREMENT for table `service_pic`
--
ALTER TABLE `service_pic`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
--
-- AUTO_INCREMENT for table `tag`
--
ALTER TABLE `tag`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `transactions`
--
ALTER TABLE `transactions`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=434;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `msg`
--
ALTER TABLE `msg`
ADD CONSTRAINT `chatForeignInMsg` FOREIGN KEY (`chat_id`) REFERENCES `chat` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `product_attach`
--
ALTER TABLE `product_attach`
ADD CONSTRAINT `productForeignAttach` FOREIGN KEY (`product_id`) REFERENCES `product` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `product_pic`
--
ALTER TABLE `product_pic`
ADD CONSTRAINT `productForeignPic` FOREIGN KEY (`product_id`) REFERENCES `product` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `product_trailer`
--
ALTER TABLE `product_trailer`
ADD CONSTRAINT `productForeignTrailer` FOREIGN KEY (`product_id`) REFERENCES `product` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `project_attach`
--
ALTER TABLE `project_attach`
ADD CONSTRAINT `projectForeignInAttach` FOREIGN KEY (`project_id`) REFERENCES `project` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `project_buyers`
--
ALTER TABLE `project_buyers`
ADD CONSTRAINT `projectForeignInBuyer` FOREIGN KEY (`project_id`) REFERENCES `project` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `userForeignInBuyer` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `project_grade`
--
ALTER TABLE `project_grade`
ADD CONSTRAINT `gradeForeignInGrade` FOREIGN KEY (`grade_id`) REFERENCES `grade` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `projectForeignInGrade` FOREIGN KEY (`project_id`) REFERENCES `project` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `project_pic`
--
ALTER TABLE `project_pic`
ADD CONSTRAINT `projectForeignInPic` FOREIGN KEY (`project_id`) REFERENCES `project` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `project_tag`
--
ALTER TABLE `project_tag`
ADD CONSTRAINT `projectForeignInTag` FOREIGN KEY (`project_id`) REFERENCES `project` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `tagForeignInProject` FOREIGN KEY (`tag_id`) REFERENCES `tag` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `service_attach`
--
ALTER TABLE `service_attach`
ADD CONSTRAINT `serviceForeignInAttach` FOREIGN KEY (`service_id`) REFERENCES `service` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `service_buyer`
--
ALTER TABLE `service_buyer`
ADD CONSTRAINT `serviceForeignInBuyer` FOREIGN KEY (`service_id`) REFERENCES `service` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `userForeignInServiceBuyer` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `service_grade`
--
ALTER TABLE `service_grade`
ADD CONSTRAINT `gradeForeign` FOREIGN KEY (`grade_id`) REFERENCES `grade` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `serviceForeignInGrade` FOREIGN KEY (`service_id`) REFERENCES `service` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `transactions`
--
ALTER TABLE `transactions`
ADD CONSTRAINT `productForeignInTransaction` FOREIGN KEY (`product_id`) REFERENCES `product` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `userForeignInTransaction` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
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 */;
|
# 4 - BASES E CONCEITOS
# 4.1 - DEFINIÇÃO DE BANCO DE DADOS
# 4.1.1 - São coleções organizadas de dados que se relacinam de forma a criar algum
-- sentido (Informação). Essa coleção de dados é gerida por um sistema que
-- garante que esses dados permaneçam íntegros e atendam a alguns princípios
-- básicos que veremos mais para frente
# 4.1.2 - Informações relacionadas
# 4.1.3 - Aborda assunto em específico
# 4.1.4 - Banco de Dados vs Bando de Dados
# 4.1.5 - Não há somente uma resposta
# 4.2 - O QUE É UM SGBD
# 4.2.1 - Capacidade de gerenciar, interagir e manipular as informações do banco de dados
# 4.2.2 - Responsável por controlar a concorrência de requisições
# 4.2.3 - Disponibiliza gatilhos para manter a integridade das informações
# 4.2.4 - Garante a segurança que somente usuários com permissão possam ter
-- qualquer tipo de interação com o banco de dados (leitura, escrita,
-- alteração, remoção...)
# 4.2.5 - Controla o fluxo de informações para não gerar redundância de informações
# 4.3 - ABSTRAÇÃO E PROJEÇÃO
# 4.3.1 - Compreender o processo "humano" e transcrever de maneira lógica e organizada
# 4.3.2 - Organizar, segmentar, analisar todas as informações necessárias e exportar de
-- maneira que o SGDB compreenda
# 4.4 - BANCO DE DADOS SQL
# 4.4.1 -- Relacional
-- Todas as informações são relacionadas em torno de um problema que deve ser resolvido
-- Modelo de Entidade-Relacionamento
-- Relacionamento 1..1
-- Relacionamento 1..N
-- Relacionamento N..M
# 4.4.2 -- Transacional
-- Uma sequência de processos, que quando executadas formam apenas uma ação
-- 4 Atributos ACID
-- Gerenciado na maioria das vezes pela própria aplicação, mas há a possibilidade
-- de forçar o uso em determinadas situações
# 4.4.3 -- Normalizado
-- Tem se normalizado, um banco que atende as 5 formas normais
-- Um banco normalizado nas 5 formas normais tende a ser semânticamente melhor, organização
-- porém com perda de desempenho
-- Um banco não normalizado (desnormalizado) tende a ter um desempenho melhor,
-- porém pode existir perca de semântica
# 4.5 - ATRIBUTOS ACID
# 4.5.1 - Atomicidade: Todo processo deve ter um fim, e quando executado com falha deve ser
-- desprezada as informações (rollback), e quando finalizada com sucesso devem ser escritas
-- no repositório (commit)
# 4.5.2 - Consistência: Todos os processos devem ser executados obedecendo todas as regras
-- e restrições impostas (valores únicos [UNIQUE], chaves estrangeiras [Foreing Key],
-- valores não nulos [NOT NULL]...)
# 4.5.3 - Isolamento: Nenhuma transação pode afetar outra em andamento. Se elas forem
-- concorrentes (alteram a mesma tabela por exemplo) uma deve ser finalizada antes
-- que outra possa ser executada. Nesse momento a transação fica numa fila chamada "spool"
# 4.5.4 - Durabilidade ou Persistência: Toda informação escrita no repositório só pode ser
-- desfeita/refeita por outra transação. Isso significa que não pode ser suscetível a
-- erros de hardware por exemplo
# 4.6 - FUNCIONAMENTO BÁSICO
# 4.6.1 - Banco de Dados: Conjunto de Tabelas
# 4.6.2 - Tabelas (Entidade): Conjunto de campos com linhas
# 4.6.3 - Campos (Atributos): Responsável por armazenar uma informação.
-- E este possui parâmetros e valores para configuração
# 4.6.4 - Linhas (Registros): Uma informação pertinente ao campo da tabela
# 4.6.5 - Parâmetros e valores: Pertinentes aos campos/atributos
-- Tipo; Númerico, texto, data/hora
-- Permite nulo ?
-- Auto Incremento ?
# 4.7 - CARACTERÍSTICAS BÁSICAS
# 4.8 - SITE OFICIAL E DOCUMENTAÇÃO
-- https://github.com/mysql/mysql-server
-- https://dev.mysql.com/doc/
|
-- Multi-Table Query Practice
-- Display the ProductName and CategoryName for all products in the database. Shows 77 records.
SELECT p.productName as Product
, c.categoryName as Category
FROM [Products] as p
join Categories as c on p.categoryId = c.categoryId
-- Display the order Id and shipper CompanyName for all orders placed before August 9 2012. Shows 429 records.
SELECT o.id
, o.orderDate
, s.companyName
from [order] as o
join shipper as s on o.shipvia = s.id
where o.orderDate < ‘2012-08-09’;
-- Display the name and quantity of the products ordered in order with Id 10251. Sort by ProductName. Shows 3 records.
SELECT o.orderId
,p.productName
, o.quantity
FROM [OrderDetails] as o
join products as p on o.productId = p.productId
where o.orderId = 10251
order by p.productName
-- Display the OrderID, Customer's Company Name and the employee's LastName for every order. All columns should be labeled clearly. Displays 16,789 records.
SELECT o.orderId
, c.customerName as Customer
, e.lastname as EmployeeLastName
from orders as o
join customers as c on o.customerId = c.customerId
join employees as e on o.employeeId = e.employeeId |
-- phpMyAdmin SQL Dump
-- version 4.5.4.1deb2ubuntu2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jan 28, 2018 at 01:47 PM
-- Server version: 5.7.19
-- PHP Version: 7.0.22-0ubuntu0.16.04.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: `gst`
--
-- --------------------------------------------------------
--
-- Table structure for table `gst_bill_description`
--
CREATE TABLE `gst_bill_description` (
`description_id` int(11) NOT NULL,
`description_uuid` varchar(36) NOT NULL,
`description_wholesale_uuid` varchar(36) NOT NULL,
`description_particular` varchar(1000) NOT NULL,
`description_hsn_code` varchar(255) NOT NULL,
`description_weight` varchar(255) NOT NULL,
`description_rate` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `gst_bill_description`
--
INSERT INTO `gst_bill_description` (`description_id`, `description_uuid`, `description_wholesale_uuid`, `description_particular`, `description_hsn_code`, `description_weight`, `description_rate`) VALUES
(1, '9d4506d8-76c1-4064-b3e1-d441d6808a10', '536a2ba4-adf2-4a7a-9e06-578e237ad83e', '79', '', '79', '79'),
(2, '9f659466-a1c7-402d-ad36-90e667691dfa', '536a2ba4-adf2-4a7a-9e06-578e237ad83e', '78678', '', '687', '78678'),
(3, 'a9487135-07d2-41f8-8cf6-fbf1c04b3645', '536a2ba4-adf2-4a7a-9e06-578e237ad83e', '50', '', '78', '50'),
(4, '8a6c3dcc-e818-4480-a5c3-f4e2036ec0d8', '130c2f05-7a02-4508-bae9-098d28dde1ae', '989', '', 'sdfd', '989'),
(5, '1c70d1d5-da97-400d-85eb-45503be44267', '02716c88-46cf-43ab-8a56-a4ba4e473bad', 'editdesc', '4561', '4612', '45623'),
(6, '8c17f8d5-4fb9-4e96-9282-cfd4ff115b55', '02716c88-46cf-43ab-8a56-a4ba4e473bad', 'editdesc_1', '456465', '4688', '4564789'),
(7, '25ca40d5-6415-456c-a954-002ed2da3517', '02716c88-46cf-43ab-8a56-a4ba4e473bad', 'czxc', '5645', '456', '456'),
(8, '66e80fa6-4786-4e00-82ce-5586da2c5f27', '02716c88-46cf-43ab-8a56-a4ba4e473bad', 'cgfgdsgsg', '564', '3434', '45345'),
(15, '5f6bf2b1-6698-4a55-93c5-7833a6638628', '53b6d2e3-d24b-4e66-ae3d-19e7f7219193', 'Zvxvcxvx', '7113', '5', '200'),
(16, 'cc5a1357-ef03-4d1d-b494-4164ba35f3b0', 'ff961fd7-9d23-46b8-b69c-86142350ed24', 'Jgjhgjhgjhgh', '7113', '55', '6000'),
(17, 'd945943b-1e6e-42bb-ad3d-b0b40b2f1398', 'dd8774a0-7abd-4950-a021-8c3f952f9e11', 'ASDDSCCSC', '7113', '5', '10'),
(22, '4b0621d2-6e27-4d63-97fd-9e97e3c38f58', 'ee2abe5a-c605-4e8a-89a7-73a6d7e3c4ac', 'Gold', '7113', '2', '3000'),
(23, '54a87372-c139-40d2-af61-a992fa644fd2', 'b70be46f-eba6-41da-8f1e-eec843c72abb', 'Silver', '7113', '5', '200'),
(24, '45089b53-cb52-4b3e-a917-f46dad74c922', 'f4d79a87-1cfd-434c-acf7-399677e38a95', 'Test', '7113', '200', '1500'),
(27, '9c659b2e-7cc6-4b3b-b771-390159000f0a', '55c19ce8-5eaf-420a-ae0c-63cc73ccde71', 'MIX GOLD ORNAMENTS', '7113', '15.08', '2978'),
(28, '08c26a01-abf8-440e-892b-c922c3e7f79f', '55c19ce8-5eaf-420a-ae0c-63cc73ccde71', 'Less ring viti', '7716', '-1.5', '2650'),
(34, '054f5c42-4259-4495-bec6-2110bdc127b5', '6c46218a-5446-4592-9f4a-d5f536aaa066', 'Test for add', '7113', '50', '500');
-- --------------------------------------------------------
--
-- Table structure for table `gst_cities`
--
CREATE TABLE `gst_cities` (
`city_id` int(11) NOT NULL,
`city_name` varchar(100) NOT NULL,
`city_state` varchar(100) NOT NULL,
`state_code` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dumping data for table `gst_cities`
--
INSERT INTO `gst_cities` (`city_id`, `city_name`, `city_state`, `state_code`) VALUES
(1, 'Kolhapur', 'Maharashtra', 27),
(2, 'Port Blair', 'Andaman & Nicobar Islands', 35),
(3, 'Adilabad', 'Andhra Pradesh', 37),
(4, 'Adoni', 'Andhra Pradesh', 37),
(5, 'Amadalavalasa', 'Andhra Pradesh', 37),
(6, 'Amalapuram', 'Andhra Pradesh', 37),
(7, 'Anakapalle', 'Andhra Pradesh', 37),
(8, 'Anantapur', 'Andhra Pradesh', 37),
(9, 'Badepalle', 'Andhra Pradesh', 37),
(10, 'Banganapalle', 'Andhra Pradesh', 37),
(11, 'Bapatla', 'Andhra Pradesh', 37),
(12, 'Bellampalle', 'Andhra Pradesh', 37),
(13, 'Bethamcherla', 'Andhra Pradesh', 37),
(14, 'Bhadrachalam', 'Andhra Pradesh', 37),
(15, 'Bhainsa', 'Andhra Pradesh', 37),
(16, 'Bheemunipatnam', 'Andhra Pradesh', 37),
(17, 'Bhimavaram', 'Andhra Pradesh', 37),
(18, 'Bhongir', 'Andhra Pradesh', 37),
(19, 'Bobbili', 'Andhra Pradesh', 37),
(20, 'Bodhan', 'Andhra Pradesh', 37),
(21, 'Chilakaluripet', 'Andhra Pradesh', 37),
(22, 'Chirala', 'Andhra Pradesh', 37),
(23, 'Chittoor', 'Andhra Pradesh', 37),
(24, 'Cuddapah', 'Andhra Pradesh', 37),
(25, 'Devarakonda', 'Andhra Pradesh', 37),
(26, 'Dharmavaram', 'Andhra Pradesh', 37),
(27, 'Eluru', 'Andhra Pradesh', 37),
(28, 'Farooqnagar', 'Andhra Pradesh', 37),
(29, 'Gadwal', 'Andhra Pradesh', 37),
(30, 'Gooty', 'Andhra Pradesh', 37),
(31, 'Gudivada', 'Andhra Pradesh', 37),
(32, 'Gudur', 'Andhra Pradesh', 37),
(33, 'Guntakal', 'Andhra Pradesh', 37),
(34, 'Guntur', 'Andhra Pradesh', 37),
(35, '<NAME>', 'Andhra Pradesh', 37),
(36, 'Hindupur', 'Andhra Pradesh', 37),
(37, 'Hyderabad', 'Andhra Pradesh', 37),
(38, 'Ichchapuram', 'Andhra Pradesh', 37),
(39, 'Jaggaiahpet', 'Andhra Pradesh', 37),
(40, 'Jagtial', 'Andhra Pradesh', 37),
(41, 'Jammalamadugu', 'Andhra Pradesh', 37),
(42, 'Jangaon', 'Andhra Pradesh', 37),
(43, 'Kadapa', 'Andhra Pradesh', 37),
(44, 'Kadiri', 'Andhra Pradesh', 37),
(45, 'Kagaznagar', 'Andhra Pradesh', 37),
(46, 'Kakinada', 'Andhra Pradesh', 37),
(47, 'Kalyandurg', 'Andhra Pradesh', 37),
(48, 'Kamareddy', 'Andhra Pradesh', 37),
(49, 'Kandukur', 'Andhra Pradesh', 37),
(50, 'Karimnagar', 'Andhra Pradesh', 37),
(51, 'Kavali', 'Andhra Pradesh', 37),
(52, 'Khammam', 'Andhra Pradesh', 37),
(53, 'Koratla', 'Andhra Pradesh', 37),
(54, 'Kothagudem', 'Andhra Pradesh', 37),
(55, 'Kothapeta', 'Andhra Pradesh', 37),
(56, 'Kovvur', 'Andhra Pradesh', 37),
(57, 'Kurnool', 'Andhra Pradesh', 37),
(58, 'Kyathampalle', 'Andhra Pradesh', 37),
(59, 'Macherla', 'Andhra Pradesh', 37),
(60, 'Machilipatnam', 'Andhra Pradesh', 37),
(61, 'Madanapalle', 'Andhra Pradesh', 37),
(62, 'Mahbubnagar', 'Andhra Pradesh', 37),
(63, 'Mancherial', 'Andhra Pradesh', 37),
(64, 'Mandamarri', 'Andhra Pradesh', 37),
(65, 'Mandapeta', 'Andhra Pradesh', 37),
(66, 'Manuguru', 'Andhra Pradesh', 37),
(67, 'Markapur', 'Andhra Pradesh', 37),
(68, 'Medak', 'Andhra Pradesh', 37),
(69, 'Miryalaguda', 'Andhra Pradesh', 37),
(70, 'Mogalthur', 'Andhra Pradesh', 37),
(71, 'Nagari', 'Andhra Pradesh', 37),
(72, 'Nagarkurnool', 'Andhra Pradesh', 37),
(73, 'Nandyal', 'Andhra Pradesh', 37),
(74, 'Narasapur', 'Andhra Pradesh', 37),
(75, 'Narasaraopet', 'Andhra Pradesh', 37),
(76, 'Narayanpet', 'Andhra Pradesh', 37),
(77, 'Narsipatnam', 'Andhra Pradesh', 37),
(78, 'Nellore', 'Andhra Pradesh', 37),
(79, 'Nidadavole', 'Andhra Pradesh', 37),
(80, 'Nirmal', 'Andhra Pradesh', 37),
(81, 'Nizamabad', 'Andhra Pradesh', 37),
(82, 'Nuzvid', 'Andhra Pradesh', 37),
(83, 'Ongole', 'Andhra Pradesh', 37),
(84, 'Palacole', 'And<NAME>', 37),
(85, '<NAME>', 'Andhra Pradesh', 37),
(86, 'Palwancha', 'Andhra Pradesh', 37),
(87, 'Parvathipuram', '<NAME>', 37),
(88, 'Pedana', '<NAME>', 37),
(89, 'Peddapuram', '<NAME>', 37),
(90, 'Pithapuram', 'Andhra Pradesh', 37),
(91, 'Pondur', '<NAME>', 37),
(92, 'Ponnur', 'And<NAME>', 37),
(93, 'Proddatur', 'Andhra Pradesh', 37),
(94, 'Punganur', '<NAME>', 37),
(95, 'Puttur', 'And<NAME>', 37),
(96, 'Rajahmundry', 'And<NAME>', 37),
(97, 'Rajam', 'And<NAME>', 37),
(98, 'Ramachandrapuram', 'Andhra Pradesh', 37),
(99, 'Ramagundam', '<NAME>', 37),
(100, 'Rayachoti', '<NAME>', 37),
(101, 'Rayadurg', '<NAME>', 37),
(102, 'Renigunta', '<NAME>', 37),
(103, 'Repalle', '<NAME>', 37),
(104, 'Sadasivpet', '<NAME>', 37),
(105, 'Salur', '<NAME>', 37),
(106, 'Samalkot', 'Andhra Pradesh', 37),
(107, 'Sangareddy', 'Andhra Pradesh', 37),
(108, 'Sattenapalle', 'Andhra Pradesh', 37),
(109, 'Siddipet', '<NAME>', 37),
(110, 'Singapur', '<NAME>', 37),
(111, 'Sircilla', 'Andhra Pradesh', 37),
(112, 'Srikakulam', 'Andhra Pradesh', 37),
(113, 'Srikalahasti', 'Andhra Pradesh', 37),
(115, 'Suryapet', 'Andhra Pradesh', 37),
(116, 'Tadepalligudem', 'Andhra Pradesh', 37),
(117, 'Tadpatri', 'Andhra Pradesh', 37),
(118, 'Tandur', 'And<NAME>', 37),
(119, 'Tanuku', 'Andhra Pradesh', 37),
(120, 'Tenali', 'Andhra Pradesh', 37),
(121, 'Tirupati', 'Andhra Pradesh', 37),
(122, 'Tuni', 'Andhra Pradesh', 37),
(123, 'Uravakonda', 'Andhra Pradesh', 37),
(124, 'Venkatagiri', 'Andhra Pradesh', 37),
(125, 'Vicarabad', 'Andhra Pradesh', 37),
(126, 'Vijayawada', 'Andhra Pradesh', 37),
(127, 'Vinukonda', 'Andhra Pradesh', 37),
(128, 'Visakhapatnam', 'Andhra Pradesh', 37),
(129, 'Vizianagaram', 'Andhra Pradesh', 37),
(130, 'Wanaparthy', 'Andhra Pradesh', 37),
(131, 'Warangal', 'Andhra Pradesh', 37),
(132, 'Yellandu', 'And<NAME>', 37),
(133, 'Yemmiganur', 'Andhra Pradesh', 37),
(134, 'Yerraguntla', 'Andhra Pradesh', 37),
(135, 'Zahirabad', 'Andhra Pradesh', 37),
(136, 'Rajampet', 'Andhra Pradesh', 37),
(137, 'Along', 'Arunachal Pradesh', 12),
(138, 'Bomdila', 'Arunachal Pradesh', 12),
(139, 'Itanagar', 'Arunachal Pradesh', 12),
(140, 'Naharlagun', 'Arunachal Pradesh', 12),
(141, 'Pasighat', 'Arunachal Pradesh', 12),
(142, 'Abhayapuri', 'Assam', 18),
(143, 'Amguri', 'Assam', 18),
(144, 'Anandnagaar', 'Assam', 18),
(145, 'Barpeta', 'Assam', 18),
(146, '<NAME>', 'Assam', 18),
(147, 'Bilasipara', 'Assam', 18),
(148, 'Bongaigaon', 'Assam', 18),
(149, 'Dhekiajuli', 'Assam', 18),
(150, 'Dhubri', 'Assam', 18),
(151, 'Dibrugarh', 'Assam', 18),
(152, 'Digboi', 'Assam', 18),
(153, 'Diphu', 'Assam', 18),
(154, 'Dispur', 'Assam', 18),
(156, 'Gauripur', 'Assam', 18),
(157, 'Goalpara', 'Assam', 18),
(158, 'Golaghat', 'Assam', 18),
(159, 'Guwahati', 'Assam', 18),
(160, 'Haflong', 'Assam', 18),
(161, 'Hailakandi', 'Assam', 18),
(162, 'Hojai', 'Assam', 18),
(163, 'Jorhat', 'Assam', 18),
(164, 'Karimganj', 'Assam', 18),
(165, 'Kokrajhar', 'Assam', 18),
(166, 'Lanka', 'Assam', 18),
(167, 'Lumding', 'Assam', 18),
(168, 'Mangaldoi', 'Assam', 18),
(169, 'Mankachar', 'Assam', 18),
(170, 'Margherita', 'Assam', 18),
(171, 'Mariani', 'Assam', 18),
(172, 'Marigaon', 'Assam', 18),
(173, 'Nagaon', 'Assam', 18),
(174, 'Nalbari', 'Assam', 18),
(175, '<NAME>', 'Assam', 18),
(176, 'Rangia', 'Assam', 18),
(177, 'Sibsagar', 'Assam', 18),
(178, 'Silapathar', 'Assam', 18),
(179, 'Silchar', 'Assam', 18),
(180, 'Tezpur', 'Assam', 18),
(181, 'Tinsukia', 'Assam', 18),
(182, 'Amarpur', 'Bihar', 10),
(183, 'Araria', 'Bihar', 10),
(184, 'Areraj', 'Bihar', 10),
(185, 'Arrah', 'Bihar', 10),
(186, 'Asarganj', 'Bihar', 10),
(187, 'Aurangabad', 'Bihar', 10),
(188, 'Bagaha', 'Bihar', 10),
(189, 'Bahadurganj', 'Bihar', 10),
(190, 'Bairgania', 'Bihar', 10),
(191, 'Bakhtiarpur', 'Bihar', 10),
(192, 'Banka', 'Bihar', 10),
(193, '<NAME>', 'Bihar', 10),
(194, 'Barahiya', 'Bihar', 10),
(195, 'Barauli', 'Bihar', 10),
(196, 'Barbigha', 'Bihar', 10),
(197, 'Barh', 'Bihar', 10),
(198, 'Begusarai', 'Bihar', 10),
(199, 'Behea', 'Bihar', 10),
(200, 'Bettiah', 'Bihar', 10),
(201, 'Bhabua', 'Bihar', 10),
(202, 'Bhagalpur', 'Bihar', 10),
(203, '<NAME>', 'Bihar', 10),
(204, 'Bikramganj', 'Bihar', 10),
(205, '<NAME>', 'Bihar', 10),
(206, 'Buxar', 'Bihar', 10),
(207, '<NAME>', 'Bihar', 10),
(208, 'Chanpatia', 'Bihar', 10),
(209, 'Chhapra', 'Bihar', 10),
(210, 'Colgong', 'Bihar', 10),
(211, 'Dalsinghsarai', 'Bihar', 10),
(212, 'Darbhanga', 'Bihar', 10),
(213, 'Daudnagar', 'Bihar', 10),
(214, 'Dehri-on-Sone', 'Bihar', 10),
(215, 'Dhaka', 'Bihar', 10),
(216, 'Dighwara', 'Bihar', 10),
(217, 'Dumraon', 'Bihar', 10),
(218, 'Fatwah', 'Bihar', 10),
(219, 'Forbesganj', 'Bihar', 10),
(220, 'Gaya', 'Bihar', 10),
(221, '<NAME>', 'Bihar', 10),
(222, 'Gopalganj', 'Bihar', 10),
(223, 'Hajipur', 'Bihar', 10),
(224, 'Hilsa', 'Bihar', 10),
(225, 'Hisua', 'Bihar', 10),
(226, 'Islampur', 'Bihar', 10),
(227, 'Jagdispur', 'Bihar', 10),
(228, 'Jamalpur', 'Bihar', 10),
(229, 'Jamui', 'Bihar', 10),
(230, 'Jehanabad', 'Bihar', 10),
(231, 'Jhajha', 'Bihar', 10),
(232, 'Jhanjharpur', 'Bihar', 10),
(233, 'Jogabani', 'Bihar', 10),
(234, 'Kanti', 'Bihar', 10),
(235, 'Katihar', 'Bihar', 10),
(236, 'Khagaria', 'Bihar', 10),
(237, 'Kharagpur', 'Bihar', 10),
(238, 'Kishanganj', 'Bihar', 10),
(239, 'Lakhisarai', 'Bihar', 10),
(240, 'Lalganj', 'Bihar', 10),
(241, 'Madhepura', 'Bihar', 10),
(242, 'Madhubani', 'Bihar', 10),
(243, 'Maharajganj', 'Bihar', 10),
(244, '<NAME>', 'Bihar', 10),
(245, 'Makhdumpur', 'Bihar', 10),
(246, 'Maner', 'Bihar', 10),
(247, 'Manihari', 'Bihar', 10),
(248, 'Marhaura', 'Bihar', 10),
(249, 'Masaurhi', 'Bihar', 10),
(250, 'Mirganj', 'Bihar', 10),
(251, 'Mokameh', 'Bihar', 10),
(252, 'Motihari', 'Bihar', 10),
(253, 'Motipur', 'Bihar', 10),
(254, 'Munger', 'Bihar', 10),
(255, 'Murliganj', 'Bihar', 10),
(256, 'Muzaffarpur', 'Bihar', 10),
(257, 'Narkatiaganj', 'Bihar', 10),
(258, 'Naugachhia', 'Bihar', 10),
(259, 'Nawada', 'Bihar', 10),
(260, 'Nokha', 'Bihar', 10),
(261, 'Patna', 'Bihar', 10),
(262, 'Piro', 'Bihar', 10),
(263, 'Purnia', 'Bihar', 10),
(264, 'Rafiganj', 'Bihar', 10),
(265, 'Rajgir', 'Bihar', 10),
(266, 'Ramnagar', 'Bihar', 10),
(267, '<NAME>', 'Bihar', 10),
(268, 'Revelganj', 'Bihar', 10),
(269, 'Rosera', 'Bihar', 10),
(270, 'Saharsa', 'Bihar', 10),
(271, 'Samastipur', 'Bihar', 10),
(272, 'Sasaram', 'Bihar', 10),
(273, 'Sheikhpura', 'Bihar', 10),
(274, 'Sheohar', 'Bihar', 10),
(275, 'Sherghati', 'Bihar', 10),
(276, 'Silao', 'Bihar', 10),
(277, 'Sitamarhi', 'Bihar', 10),
(278, 'Siwan', 'Bihar', 10),
(279, 'Sonepur', 'Bihar', 10),
(280, 'Sugauli', 'Bihar', 10),
(281, 'Sultanganj', 'Bihar', 10),
(282, 'Supaul', 'Bihar', 10),
(283, 'Warisaliganj', 'Bihar', 10),
(284, 'Ahiwara', 'Chhattisgarh', 0),
(285, 'Akaltara', 'Chhattisgarh', 0),
(286, '<NAME>', 'Chhattisgarh', 0),
(287, 'Ambikapur', 'Chhattisgarh', 0),
(288, 'Arang', 'Chhattisgarh', 0),
(289, '<NAME>', 'Chhattisgarh', 0),
(290, 'Balod', 'Chhattisgarh', 0),
(291, '<NAME>', 'Chhattisgarh', 0),
(292, 'Bemetra', 'Chhattisgarh', 0),
(293, 'Bhatapara', 'Chhattisgarh', 0),
(294, 'Bilaspur', 'Chhattisgarh', 0),
(295, 'Birgaon', 'Chhattisgarh', 0),
(296, 'Champa', 'Chhattisgarh', 0),
(297, 'Chirmiri', 'Chhattisgarh', 0),
(298, 'Dalli-Rajhara', 'Chhattisgarh', 0),
(299, 'Dhamtari', 'Chhattisgarh', 0),
(300, 'Dipka', 'Chhattisgarh', 0),
(301, 'Dongargarh', 'Chhattisgarh', 0),
(302, 'Durg-<NAME>', 'Chhattisgarh', 0),
(303, 'Gobranawapara', 'Chhattisgarh', 0),
(304, 'Jagdalpur', 'Chhattisgarh', 0),
(305, 'Janjgir', 'Chhattisgarh', 0),
(306, 'Jashpurnagar', 'Chhattisgarh', 0),
(307, 'Kanker', 'Chhattisgarh', 0),
(308, 'Kawardha', 'Chhattisgarh', 0),
(309, 'Kondagaon', 'Chhattisgarh', 0),
(310, 'Korba', 'Chhattisgarh', 0),
(311, 'Mahasamund', 'Chhattisgarh', 0),
(312, 'Mahendragarh', 'Chhattisgarh', 0),
(313, 'Mungeli', 'Chhattisgarh', 0),
(314, '<NAME>', 'Chhattisgarh', 0),
(315, 'Raigarh', 'Chhattisgarh', 0),
(316, 'Raipur', 'Chhattisgarh', 0),
(317, 'Rajnandgaon', 'Chhattisgarh', 0),
(318, 'Sakti', 'Chhattisgarh', 0),
(319, '<NAME>', 'Chhattisgarh', 0),
(320, 'Amli', 'Dadra & Nagar Haveli', 26),
(321, 'Silvassa', 'Dadra & Nagar Haveli', 26),
(322, '<NAME>', 'Daman & Diu', 25),
(323, '<NAME>', 'Daman & Diu', 25),
(324, 'Asola', 'Delhi', 7),
(325, 'Delhi', 'Delhi', 7),
(326, 'Aldona', 'Goa', 30),
(327, '<NAME>', 'Goa', 30),
(328, 'Madgaon', 'Goa', 30),
(329, 'Mapusa', 'Goa', 30),
(330, 'Margao', 'Goa', 30),
(331, 'Marmagao', 'Goa', 30),
(332, 'Panaji', 'Goa', 30),
(333, 'Ahmedabad', 'Gujarat', 24),
(334, 'Amreli', 'Gujarat', 24),
(335, 'Anand', 'Gujarat', 24),
(336, 'Ankleshwar', 'Gujarat', 24),
(337, 'Bharuch', 'Gujarat', 24),
(338, 'Bhavnagar', 'Gujarat', 24),
(339, 'Bhuj', 'Gujarat', 24),
(340, 'Cambay', 'Gujarat', 24),
(341, 'Dahod', 'Gujarat', 24),
(342, 'Deesa', 'Gujarat', 24),
(343, 'Dharampur', ' India', 0),
(344, 'Dholka', 'Gujarat', 24),
(345, 'Gandhinagar', 'Gujarat', 24),
(346, 'Godhra', 'Gujarat', 24),
(347, 'Himatnagar', 'Gujarat', 24),
(348, 'Idar', 'Gujarat', 24),
(349, 'Jamnagar', 'Gujarat', 24),
(350, 'Junagadh', 'Gujarat', 24),
(351, 'Kadi', 'Gujarat', 24),
(352, 'Kalavad', 'Gujarat', 24),
(353, 'Kalol', 'Gujarat', 24),
(354, 'Kapadvanj', 'Gujarat', 24),
(355, 'Karjan', 'Gujarat', 24),
(356, 'Keshod', 'Gujarat', 24),
(357, 'Khambhalia', 'Gujarat', 24),
(358, 'Khambhat', 'Gujarat', 24),
(359, 'Kheda', 'Gujarat', 24),
(360, 'Khedbrahma', 'Gujarat', 24),
(361, 'Kheralu', 'Gujarat', 24),
(362, 'Kodinar', 'Gujarat', 24),
(363, 'Lathi', 'Gujarat', 24),
(364, 'Limbdi', 'Gujarat', 24),
(365, 'Lunawada', 'Gujarat', 24),
(366, 'Mahesana', 'Gujarat', 24),
(367, 'Mahuva', 'Gujarat', 24),
(368, 'Manavadar', 'Gujarat', 24),
(369, 'Mandvi', 'Gujarat', 24),
(370, 'Mangrol', 'Gujarat', 24),
(371, 'Mansa', 'Gujarat', 24),
(372, 'Mehmedabad', 'Gujarat', 24),
(373, 'Modasa', 'Gujarat', 24),
(374, 'Morvi', 'Gujarat', 24),
(375, 'Nadiad', 'Gujarat', 24),
(376, 'Navsari', 'Gujarat', 24),
(377, 'Padra', 'Gujarat', 24),
(378, 'Palanpur', 'Gujarat', 24),
(379, 'Palitana', 'Gujarat', 24),
(380, 'Pardi', 'Gujarat', 24),
(381, 'Patan', 'Gujarat', 24),
(382, 'Petlad', 'Gujarat', 24),
(383, 'Porbandar', 'Gujarat', 24),
(384, 'Radhanpur', 'Gujarat', 24),
(385, 'Rajkot', 'Gujarat', 24),
(386, 'Rajpipla', 'Gujarat', 24),
(387, 'Rajula', 'Gujarat', 24),
(388, 'Ranavav', 'Gujarat', 24),
(389, 'Rapar', 'Gujarat', 24),
(390, 'Salaya', 'Gujarat', 24),
(391, 'Sanand', 'Gujarat', 24),
(392, 'Savarkundla', 'Gujarat', 24),
(393, 'Sidhpur', 'Gujarat', 24),
(394, 'Sihor', 'Gujarat', 24),
(395, 'Songadh', 'Gujarat', 24),
(396, 'Surat', 'Gujarat', 24),
(397, 'Talaja', 'Gujarat', 24),
(398, 'Thangadh', 'Gujarat', 24),
(399, 'Tharad', 'Gujarat', 24),
(400, 'Umbergaon', 'Gujarat', 24),
(401, 'Umreth', 'Gujarat', 24),
(402, 'Una', 'Gujarat', 24),
(403, 'Unjha', 'Gujarat', 24),
(404, 'Upleta', 'Gujarat', 24),
(405, 'Vadnagar', 'Gujarat', 24),
(406, 'Vadodara', 'Gujarat', 24),
(407, 'Valsad', 'Gujarat', 24),
(408, 'Vapi', 'Gujarat', 24),
(409, 'Vapi', 'Gujarat', 24),
(410, 'Veraval', 'Gujarat', 24),
(411, 'Vijapur', 'Gujarat', 24),
(412, 'Viramgam', 'Gujarat', 24),
(413, 'Visnagar', 'Gujarat', 24),
(414, 'Vyara', 'Gujarat', 24),
(415, 'Wadhwan', 'Gujarat', 24),
(416, 'Wankaner', 'Gujarat', 24),
(417, 'Adalaj', 'Gujrat', 0),
(418, 'Adityana', 'Gujrat', 0),
(419, 'Alang', 'Gujrat', 0),
(420, 'Ambaji', 'Gujrat', 0),
(421, 'Ambaliyasan', 'Gujrat', 0),
(422, 'Andada', 'Gujrat', 0),
(423, 'Anjar', 'Gujrat', 0),
(424, 'Anklav', 'Gujrat', 0),
(425, 'Antaliya', 'Gujrat', 0),
(426, 'Arambhada', 'Gujrat', 0),
(427, 'Atul', 'Gujrat', 0),
(428, 'Ballabhgarh', 'Hariyana', 0),
(429, 'Ambala', 'Haryana', 6),
(430, 'Ambala', 'Haryana', 6),
(431, 'Asankhurd', 'Haryana', 6),
(432, 'Assandh', 'Haryana', 6),
(433, 'Ateli', 'Haryana', 6),
(434, 'Babiyal', 'Haryana', 6),
(435, 'Bahadurgarh', 'Haryana', 6),
(436, 'Barwala', 'Haryana', 6),
(437, 'Bhiwani', 'Haryana', 6),
(438, '<NAME>', 'Haryana', 6),
(439, 'Cheeka', 'Haryana', 6),
(440, 'Ellenabad 2', 'Haryana', 6),
(441, 'Faridabad', 'Haryana', 6),
(442, 'Fatehabad', 'Haryana', 6),
(443, 'Ganaur', 'Haryana', 6),
(444, 'Gharaunda', 'Haryana', 6),
(445, 'Gohana', 'Haryana', 6),
(446, 'Gurgaon', 'Haryana', 6),
(447, 'Haibat(<NAME>)', 'Haryana', 6),
(448, 'Hansi', 'Haryana', 6),
(449, 'Hisar', 'Haryana', 6),
(450, 'Hodal', 'Haryana', 6),
(451, 'Jhajjar', 'Haryana', 6),
(452, 'Jind', 'Haryana', 6),
(453, 'Kaithal', 'Haryana', 6),
(454, '<NAME>', 'Haryana', 6),
(455, 'Kalka', 'Haryana', 6),
(456, 'Karnal', 'Haryana', 6),
(457, 'Ladwa', 'Haryana', 6),
(458, 'Mahendragarh', 'Haryana', 6),
(459, '<NAME>', 'Haryana', 6),
(460, 'Narnaul', 'Haryana', 6),
(461, 'Narwana', 'Haryana', 6),
(462, 'Palwal', 'Haryana', 6),
(463, 'Panchkula', 'Haryana', 6),
(464, 'Panipat', 'Haryana', 6),
(465, 'Pehowa', 'Haryana', 6),
(466, 'Pinjore', 'Haryana', 6),
(467, 'Rania', 'Haryana', 6),
(468, 'Ratia', 'Haryana', 6),
(469, 'Rewari', 'Haryana', 6),
(470, 'Rohtak', 'Haryana', 6),
(471, 'Safidon', 'Haryana', 6),
(472, 'Samalkha', 'Haryana', 6),
(473, 'Shahbad', 'Haryana', 6),
(474, 'Sirsa', 'Haryana', 6),
(475, 'Sohna', 'Haryana', 6),
(476, 'Sonipat', 'Haryana', 6),
(477, 'Taraori', 'Haryana', 6),
(478, 'Thanesar', 'Haryana', 6),
(479, 'Tohana', 'Haryana', 6),
(480, 'Yamunanagar', 'Haryana', 6),
(481, 'Arki', 'Himachal Pradesh', 2),
(482, 'Baddi', 'Himachal Pradesh', 2),
(483, 'Bilaspur', 'Himachal Pradesh', 2),
(484, 'Chamba', 'Himachal Pradesh', 2),
(485, 'Dalhousie', 'Himachal Pradesh', 2),
(486, 'Dharamsala', 'Himachal Pradesh', 2),
(487, 'Hamirpur', 'Himachal Pradesh', 2),
(488, 'Mandi', 'Himachal Pradesh', 2),
(489, 'Nahan', 'Himachal Pradesh', 2),
(490, 'Shimla', 'Himachal Pradesh', 2),
(491, 'Solan', 'Himachal Pradesh', 2),
(492, 'Sundarnagar', 'Himachal Pradesh', 2),
(493, 'Jammu', 'Jammu & Kashmir', 1),
(494, 'Achabbal', 'Jammu & Kashmir', 1),
(495, 'Akhnoor', 'Jammu & Kashmir', 1),
(496, 'Anantnag', 'Jammu & Kashmir', 1),
(497, 'Arnia', 'Jammu & Kashmir', 1),
(498, 'Awantipora', 'Jammu & Kashmir', 1),
(499, 'Bandipore', 'Jammu & Kashmir', 1),
(500, 'Baramula', 'Jammu & Kashmir', 1),
(501, 'Kathua', 'Jammu & Kashmir', 1),
(502, 'Leh', 'Jammu & Kashmir', 1),
(503, 'Punch', 'Jammu & Kashmir', 1),
(504, 'Rajauri', 'Jammu & Kashmir', 1),
(505, 'Sopore', 'Jammu & Kashmir', 1),
(506, 'Srinagar', 'Jammu & Kashmir', 1),
(507, 'Udhampur', 'Jammu & Kashmir', 1),
(508, 'Amlabad', 'Jharkhand', 20),
(509, 'Ara', 'Jharkhand', 20),
(510, 'Barughutu', 'Jharkhand', 20),
(511, '<NAME>el City', 'Jharkhand', 20),
(512, 'Chaibasa', 'Jharkhand', 20),
(513, 'Chakradharpur', 'Jharkhand', 20),
(514, 'Chandrapura', 'Jharkhand', 20),
(515, 'Chatra', 'Jharkhand', 20),
(516, 'Chirkunda', 'Jharkhand', 20),
(517, 'Churi', 'Jharkhand', 20),
(518, 'Daltonganj', 'Jharkhand', 20),
(519, 'Deoghar', 'Jharkhand', 20),
(520, 'Dhanbad', 'Jharkhand', 20),
(521, 'Dumka', 'Jharkhand', 20),
(522, 'Garhwa', 'Jharkhand', 20),
(523, 'Ghatshila', 'Jharkhand', 20),
(524, 'Giridih', 'Jharkhand', 20),
(525, 'Godda', 'Jharkhand', 20),
(526, 'Gomoh', 'Jharkhand', 20),
(527, 'Gumia', 'Jharkhand', 20),
(528, 'Gumla', 'Jharkhand', 20),
(529, 'Hazaribag', 'Jharkhand', 20),
(530, 'Hussainabad', 'Jharkhand', 20),
(531, 'Jamshedpur', 'Jharkhand', 20),
(532, 'Jamtara', 'Jharkhand', 20),
(533, '<NAME>', 'Jharkhand', 20),
(534, 'Khunti', 'Jharkhand', 20),
(535, 'Lohardaga', 'Jharkhand', 20),
(536, 'Madhupur', 'Jharkhand', 20),
(537, 'Mihijam', 'Jharkhand', 20),
(538, 'Musabani', 'Jharkhand', 20),
(539, 'Pakaur', 'Jharkhand', 20),
(540, 'Patratu', 'Jharkhand', 20),
(541, 'Phusro', 'Jharkhand', 20),
(542, 'Ramngarh', 'Jharkhand', 20),
(543, 'Ranchi', 'Jharkhand', 20),
(544, 'Sahibganj', 'Jharkhand', 20),
(545, 'Saunda', 'Jharkhand', 20),
(546, 'Simdega', 'Jharkhand', 20),
(547, '<NAME>- Kathhara', 'Jharkhand', 20),
(548, 'Arasikere', 'Karnataka', 29),
(549, 'Bangalore', 'Karnataka', 29),
(550, 'Belgaum', 'Karnataka', 29),
(551, 'Bellary', 'Karnataka', 29),
(552, 'Chamrajnagar', 'Karnataka', 29),
(553, 'Chikkaballapur', 'Karnataka', 29),
(554, 'Chintamani', 'Karnataka', 29),
(555, 'Chitradurga', 'Karnataka', 29),
(556, 'Gulbarga', 'Karnataka', 29),
(557, 'Gundlupet', 'Karnataka', 29),
(558, 'Hassan', 'Karnataka', 29),
(559, 'Hospet', 'Karnataka', 29),
(560, 'Hubli', 'Karnataka', 29),
(561, 'Karkala', 'Karnataka', 29),
(562, 'Karwar', 'Karnataka', 29),
(563, 'Kolar', 'Karnataka', 29),
(564, 'Kota', 'Karnataka', 29),
(565, 'Lakshmeshwar', 'Karnataka', 29),
(566, 'Lingsugur', 'Karnataka', 29),
(567, 'Maddur', 'Karnataka', 29),
(568, 'Madhugiri', 'Karnataka', 29),
(569, 'Madikeri', 'Karnataka', 29),
(570, 'Magadi', 'Karnataka', 29),
(571, 'Mahalingpur', 'Karnataka', 29),
(572, 'Malavalli', 'Karnataka', 29),
(573, 'Malur', 'Karnataka', 29),
(574, 'Mandya', 'Karnataka', 29),
(575, 'Mangalore', 'Karnataka', 29),
(576, 'Manvi', 'Karnataka', 29),
(577, 'Mudalgi', 'Karnataka', 29),
(578, 'Mudbidri', 'Karnataka', 29),
(579, 'Muddebihal', 'Karnataka', 29),
(580, 'Mudhol', 'Karnataka', 29),
(581, 'Mulbagal', 'Karnataka', 29),
(582, 'Mundargi', 'Karnataka', 29),
(583, 'Mysore', 'Karnataka', 29),
(584, 'Nanjangud', 'Karnataka', 29),
(585, 'Pavagada', 'Karnataka', 29),
(586, 'Puttur', 'Karnataka', 29),
(587, '<NAME>', 'Karnataka', 29),
(588, 'Raichur', 'Karnataka', 29),
(589, 'Ramanagaram', 'Karnataka', 29),
(590, 'Ramdurg', 'Karnataka', 29),
(591, 'Ranibennur', 'Karnataka', 29),
(592, '<NAME>', 'Karnataka', 29),
(593, 'Ron', 'Karnataka', 29),
(594, 'Sadalgi', 'Karnataka', 29),
(595, 'Sagar', 'Karnataka', 29),
(596, 'Sakleshpur', 'Karnataka', 29),
(597, 'Sandur', 'Karnataka', 29),
(598, 'Sankeshwar', 'Karnataka', 29),
(599, 'Saundatti-Yellamma', 'Karnataka', 29),
(600, 'Savanur', 'Karnataka', 29),
(601, 'Sedam', 'Karnataka', 29),
(602, 'Shahabad', 'Karnataka', 29),
(603, 'Shahpur', 'Karnataka', 29),
(604, 'Shiggaon', 'Karnataka', 29),
(605, 'Shikapur', 'Karnataka', 29),
(606, 'Shimoga', 'Karnataka', 29),
(607, 'Shorapur', 'Karnataka', 29),
(608, 'Shrirangapattana', 'Karnataka', 29),
(609, 'Sidlaghatta', 'Karnataka', 29),
(610, 'Sindgi', 'Karnataka', 29),
(611, 'Sindhnur', 'Karnataka', 29),
(612, 'Sira', 'Karnataka', 29),
(613, 'Sirsi', 'Karnataka', 29),
(614, 'Siruguppa', 'Karnataka', 29),
(615, 'Srinivaspur', 'Karnataka', 29),
(616, 'Talikota', 'Karnataka', 29),
(617, 'Tarikere', 'Karnataka', 29),
(618, 'Tekkalakota', 'Karnataka', 29),
(619, 'Terdal', 'Karnataka', 29),
(620, 'Tiptur', 'Karnataka', 29),
(621, 'Tumkur', 'Karnataka', 29),
(622, 'Udupi', 'Karnataka', 29),
(623, 'Vijayapura', 'Karnataka', 29),
(624, 'Wadi', 'Karnataka', 29),
(625, 'Yadgir', 'Karnataka', 29),
(626, 'Adoor', 'Kerala', 32),
(627, 'Akathiyoor', 'Kerala', 32),
(628, 'Alappuzha', 'Kerala', 32),
(629, 'Ancharakandy', 'Kerala', 32),
(630, 'Aroor', 'Kerala', 32),
(631, 'Ashtamichira', 'Kerala', 32),
(632, 'Attingal', 'Kerala', 32),
(633, 'Avinissery', 'Kerala', 32),
(634, 'Chalakudy', 'Kerala', 32),
(635, 'Changanassery', 'Kerala', 32),
(636, 'Chendamangalam', 'Kerala', 32),
(637, 'Chengannur', 'Kerala', 32),
(638, 'Cherthala', 'Kerala', 32),
(639, 'Cheruthazham', 'Kerala', 32),
(640, 'Chittur-Thathamangalam', 'Kerala', 32),
(641, 'Chockli', 'Kerala', 32),
(642, 'Erattupetta', 'Kerala', 32),
(643, 'Guruvayoor', 'Kerala', 32),
(644, 'Irinjalakuda', 'Kerala', 32),
(645, 'Kadirur', 'Kerala', 32),
(646, 'Kalliasseri', 'Kerala', 32),
(647, 'Kalpetta', 'Kerala', 32),
(648, 'Kanhangad', 'Kerala', 32),
(649, 'Kanjikkuzhi', 'Kerala', 32),
(650, 'Kannur', 'Kerala', 32),
(651, 'Kasaragod', 'Kerala', 32),
(652, 'Kayamkulam', 'Kerala', 32),
(653, 'Kochi', 'Kerala', 32),
(654, 'Kodungallur', 'Kerala', 32),
(655, 'Kollam', 'Kerala', 32),
(656, 'Koothuparamba', 'Kerala', 32),
(657, 'Kothamangalam', 'Kerala', 32),
(658, 'Kottayam', 'Kerala', 32),
(659, 'Kozhikode', 'Kerala', 32),
(660, 'Kunnamkulam', 'Kerala', 32),
(661, 'Malappuram', 'Kerala', 32),
(662, 'Mattannur', 'Kerala', 32),
(663, 'Mavelikkara', 'Kerala', 32),
(664, 'Mavoor', 'Kerala', 32),
(665, 'Muvattupuzha', 'Kerala', 32),
(666, 'Nedumangad', 'Kerala', 32),
(667, 'Neyyattinkara', 'Kerala', 32),
(668, 'Ottappalam', 'Kerala', 32),
(669, 'Palai', 'Kerala', 32),
(670, 'Palakkad', 'Kerala', 32),
(671, 'Panniyannur', 'Kerala', 32),
(672, 'Pappinisseri', 'Kerala', 32),
(673, 'Paravoor', 'Kerala', 32),
(674, 'Pathanamthitta', 'Kerala', 32),
(675, 'Payyannur', 'Kerala', 32),
(676, 'Peringathur', 'Kerala', 32),
(677, 'Perinthalmanna', 'Kerala', 32),
(678, 'Perumbavoor', 'Kerala', 32),
(679, 'Ponnani', 'Kerala', 32),
(680, 'Punalur', 'Kerala', 32),
(681, 'Quilandy', 'Kerala', 32),
(682, 'Shoranur', 'Kerala', 32),
(683, 'Taliparamba', 'Kerala', 32),
(684, 'Thiruvalla', 'Kerala', 32),
(685, 'Thiruvananthapuram', 'Kerala', 32),
(686, 'Thodupuzha', 'Kerala', 32),
(687, 'Thrissur', 'Kerala', 32),
(688, 'Tirur', 'Kerala', 32),
(689, 'Vadakara', 'Kerala', 32),
(690, 'Vaikom', 'Kerala', 32),
(691, 'Varkala', 'Kerala', 32),
(692, 'Kavaratti', 'Lakshadweep', 0),
(693, '<NAME>', 'Madhya Pradesh', 23),
(694, 'Balaghat', 'Madhya Pradesh', 23),
(695, 'Betul', 'Madhya Pradesh', 23),
(696, 'Bhopal', 'Madhya Pradesh', 23),
(697, 'Burhanpur', 'Madhya Pradesh', 23),
(698, 'Chhatarpur', 'Madhya Pradesh', 23),
(699, 'Dabra', 'Madhya Pradesh', 23),
(700, 'Datia', 'Madhya Pradesh', 23),
(701, 'Dewas', 'Madhya Pradesh', 23),
(702, 'Dhar', 'Madhya Pradesh', 23),
(703, 'Fatehabad', 'Madhya Pradesh', 23),
(704, 'Gwalior', 'Madhya Pradesh', 23),
(705, 'Indore', 'Madhya Pradesh', 23),
(706, 'Itarsi', 'Madhya Pradesh', 23),
(707, 'Jabalpur', 'Madhya Pradesh', 23),
(708, 'Katni', 'Madhya Pradesh', 23),
(709, 'Kotma', 'Madhya Pradesh', 23),
(710, 'Lahar', 'Madhya Pradesh', 23),
(711, 'Lundi', 'Madhya Pradesh', 23),
(712, 'Maharajpur', 'Madhya Pradesh', 23),
(713, 'Mahidpur', 'Madhya Pradesh', 23),
(714, 'Maihar', 'Madhya Pradesh', 23),
(715, 'Malajkhand', 'Madhya Pradesh', 23),
(716, 'Manasa', 'Madhya Pradesh', 23),
(717, 'Manawar', 'Madhya Pradesh', 23),
(718, 'Mandideep', 'Madhya Pradesh', 23),
(719, 'Mandla', 'Madhya Pradesh', 23),
(720, 'Mandsaur', 'Madhya Pradesh', 23),
(721, 'Mauganj', 'Madhya Pradesh', 23),
(722, '<NAME>', 'Madhya Pradesh', 23),
(723, 'Mhowgaon', 'Madhya Pradesh', 23),
(724, 'Morena', 'Madhya Pradesh', 23),
(725, 'Multai', 'Madhya Pradesh', 23),
(726, 'Murwara', 'Madhya Pradesh', 23),
(727, 'Nagda', 'Madhya Pradesh', 23),
(728, 'Nainpur', 'Madhya Pradesh', 23),
(729, 'Narsinghgarh', 'Madhya Pradesh', 23),
(730, 'Narsinghgarh', 'Madhya Pradesh', 23),
(731, 'Neemuch', 'Madhya Pradesh', 23),
(732, 'Nepanagar', 'Madhya Pradesh', 23),
(733, 'Niwari', 'Madhya Pradesh', 23),
(734, 'Nowgong', 'Madhya Pradesh', 23),
(735, 'Nowrozabad', 'Madhya Pradesh', 23),
(736, 'Pachore', 'Madhya Pradesh', 23),
(737, 'Pali', 'Madhya Pradesh', 23),
(738, 'Panagar', 'Madhya Pradesh', 23),
(739, 'Pandhurna', 'Madhya Pradesh', 23),
(740, 'Panna', 'Madhya Pradesh', 23),
(741, 'Pasan', 'Madhya Pradesh', 23),
(742, 'Pipariya', 'Madhya Pradesh', 23),
(743, 'Pithampur', 'Madhya Pradesh', 23),
(744, 'Porsa', 'Madhya Pradesh', 23),
(745, 'Prithvipur', 'Madhya Pradesh', 23),
(746, 'Raghogarh-Vijaypur', 'Madhya Pradesh', 23),
(747, 'Rahatgarh', 'Madhya Pradesh', 23),
(748, 'Raisen', 'Madhya Pradesh', 23),
(749, 'Rajgarh', 'Madhya Pradesh', 23),
(750, 'Ratlam', 'Madhya Pradesh', 23),
(751, 'Rau', 'Madhya Pradesh', 23),
(752, 'Rehli', 'Madhya Pradesh', 23),
(753, 'Rewa', 'Madhya Pradesh', 23),
(754, 'Sabalgarh', 'Madhya Pradesh', 23),
(755, 'Sagar', 'Madhya Pradesh', 23),
(756, 'Sanawad', 'Madhya Pradesh', 23),
(757, 'Sarangpur', 'Madhya Pradesh', 23),
(758, 'Sarni', 'Madhya Pradesh', 23),
(759, 'Satna', 'Madhya Pradesh', 23),
(760, 'Sausar', 'Madhya Pradesh', 23),
(761, 'Sehore', 'Madhya Pradesh', 23),
(762, 'Sendhwa', 'Madhya Pradesh', 23),
(763, 'Seoni', 'Madhya Pradesh', 23),
(764, 'Seoni-Malwa', 'Madhya Pradesh', 23),
(765, 'Shahdol', 'Madhya Pradesh', 23),
(766, 'Shajapur', 'Madhya Pradesh', 23),
(767, 'Shamgarh', 'Madhya Pradesh', 23),
(768, 'Sheopur', 'Madhya Pradesh', 23),
(769, 'Shivpuri', 'Madhya Pradesh', 23),
(770, 'Shujalpur', 'Madhya Pradesh', 23),
(771, 'Sidhi', 'Madhya Pradesh', 23),
(772, 'Sihora', 'Madhya Pradesh', 23),
(773, 'Singrauli', 'Madhya Pradesh', 23),
(774, 'Sironj', 'Madhya Pradesh', 23),
(775, 'Sohagpur', 'Madhya Pradesh', 23),
(776, 'Tarana', 'Madhya Pradesh', 23),
(777, 'Tikamgarh', 'Madhya Pradesh', 23),
(778, 'Ujhani', 'Madhya Pradesh', 23),
(779, 'Ujjain', 'Madhya Pradesh', 23),
(780, 'Umaria', 'Madhya Pradesh', 23),
(781, 'Vidisha', 'Madhya Pradesh', 23),
(782, '<NAME>', 'Madhya Pradesh', 23),
(783, 'Ahmednagar', 'Maharashtra', 27),
(784, 'Akola', 'Maharashtra', 27),
(785, 'Amravati', 'Maharashtra', 27),
(786, 'Aurangabad', 'Maharashtra', 27),
(787, 'Baramati', 'Maharashtra', 27),
(788, 'Chalisgaon', 'Maharashtra', 27),
(789, 'Chinchani', 'Maharashtra', 27),
(790, 'Devgarh', 'Maharashtra', 27),
(791, 'Dhule', 'Maharashtra', 27),
(792, 'Dombivli', 'Maharashtra', 27),
(793, 'Durgapur', 'Maharashtra', 27),
(794, 'Ichalkaranji', 'Maharashtra', 27),
(795, 'Jalna', 'Maharashtra', 27),
(796, 'Kalyan', 'Maharashtra', 27),
(797, 'Latur', 'Maharashtra', 27),
(798, 'Loha', 'Maharashtra', 27),
(799, 'Lonar', 'Maharashtra', 27),
(800, 'Lonavla', 'Maharashtra', 27),
(801, 'Mahad', 'Maharashtra', 27),
(802, 'Mahuli', 'Maharashtra', 27),
(803, 'Malegaon', 'Maharashtra', 27),
(804, 'Malkapur', 'Maharashtra', 27),
(805, 'Manchar', 'Maharashtra', 27),
(806, 'Mangalvedhe', 'Maharashtra', 27),
(807, 'Mangrulpir', 'Maharashtra', 27),
(808, 'Manjlegaon', 'Maharashtra', 27),
(809, 'Manmad', 'Maharashtra', 27),
(810, 'Manwath', 'Maharashtra', 27),
(811, 'Mehkar', 'Maharashtra', 27),
(812, 'Mhaswad', 'Maharashtra', 27),
(813, 'Miraj', 'Maharashtra', 27),
(814, 'Morshi', 'Maharashtra', 27),
(815, 'Mukhed', 'Maharashtra', 27),
(816, 'Mul', 'Maharashtra', 27),
(817, 'Mumbai', 'Maharashtra', 27),
(818, 'Murtijapur', 'Maharashtra', 27),
(819, 'Nagpur', 'Maharashtra', 27),
(820, 'Nalasopara', 'Maharashtra', 27),
(821, 'Nanded-Waghala', 'Maharashtra', 27),
(822, 'Nandgaon', 'Maharashtra', 27),
(823, 'Nandura', 'Maharashtra', 27),
(824, 'Nandurbar', 'Maharashtra', 27),
(825, 'Narkhed', 'Maharashtra', 27),
(826, 'Nashik', 'Maharashtra', 27),
(827, '<NAME>', 'Maharashtra', 27),
(828, 'Nawapur', 'Maharashtra', 27),
(829, 'Nilanga', 'Maharashtra', 27),
(830, 'Osmanabad', 'Maharashtra', 27),
(831, 'Ozar', 'Maharashtra', 27),
(832, 'Pachora', 'Maharashtra', 27),
(833, 'Paithan', 'Maharashtra', 27),
(834, 'Palghar', 'Maharashtra', 27),
(835, 'Pandharkaoda', 'Maharashtra', 27),
(836, 'Pandharpur', 'Maharashtra', 27),
(837, 'Panvel', 'Maharashtra', 27),
(838, 'Parbhani', 'Maharashtra', 27),
(839, 'Parli', 'Maharashtra', 27),
(840, 'Parola', 'Maharashtra', 27),
(841, 'Partur', 'Maharashtra', 27),
(842, 'Pathardi', 'Maharashtra', 27),
(843, 'Pathri', 'Maharashtra', 27),
(844, 'Patur', 'Maharashtra', 27),
(845, 'Pauni', 'Maharashtra', 27),
(846, 'Pen', 'Maharashtra', 27),
(847, 'Phaltan', 'Maharashtra', 27),
(848, 'Pulgaon', 'Maharashtra', 27),
(849, 'Pune', 'Maharashtra', 27),
(850, 'Purna', 'Maharashtra', 27),
(851, 'Pusad', 'Maharashtra', 27),
(852, 'Rahuri', 'Maharashtra', 27),
(853, 'Rajura', 'Maharashtra', 27),
(854, 'Ramtek', 'Maharashtra', 27),
(855, 'Ratnagiri', 'Maharashtra', 27),
(856, 'Raver', 'Maharashtra', 27),
(857, 'Risod', 'Maharashtra', 27),
(858, 'Sailu', 'Maharashtra', 27),
(859, 'Sangamner', 'Maharashtra', 27),
(860, 'Sangli', 'Maharashtra', 27),
(861, 'Sangole', 'Maharashtra', 27),
(862, 'Sasvad', 'Maharashtra', 27),
(863, 'Satana', 'Maharashtra', 27),
(864, 'Satara', 'Maharashtra', 27),
(865, 'Savner', 'Maharashtra', 27),
(866, 'Sawantwadi', 'Maharashtra', 27),
(867, 'Shahade', 'Maharashtra', 27),
(868, 'Shegaon', 'Maharashtra', 27),
(869, 'Shendurjana', 'Maharashtra', 27),
(870, 'Shirdi', 'Maharashtra', 27),
(871, 'Shirpur-Warwade', 'Maharashtra', 27),
(872, 'Shirur', 'Maharashtra', 27),
(873, 'Shrigonda', 'Maharashtra', 27),
(874, 'Shrirampur', 'Maharashtra', 27),
(875, 'Sillod', 'Maharashtra', 27),
(876, 'Sinnar', 'Maharashtra', 27),
(877, 'Solapur', 'Maharashtra', 27),
(878, 'Soyagaon', 'Maharashtra', 27),
(879, '<NAME>', 'Maharashtra', 27),
(880, 'Talode', 'Maharashtra', 27),
(881, 'Tasgaon', 'Maharashtra', 27),
(882, 'Tirora', 'Maharashtra', 27),
(883, 'Tuljapur', 'Maharashtra', 27),
(884, 'Tumsar', 'Maharashtra', 27),
(885, 'Uran', 'Maharashtra', 27),
(886, '<NAME>', 'Maharashtra', 27),
(887, '<NAME>', 'Maharashtra', 27),
(888, 'Wai', 'Maharashtra', 27),
(889, 'Wani', 'Maharashtra', 27),
(890, 'Wardha', 'Maharashtra', 27),
(891, 'Warora', 'Maharashtra', 27),
(892, 'Warud', 'Maharashtra', 27),
(893, 'Washim', 'Maharashtra', 27),
(894, 'Yevla', 'Maharashtra', 27),
(895, 'Uchgaon', 'Maharashtra', 27),
(896, 'Udgir', 'Maharashtra', 27),
(897, 'Umarga', 'Maharastra', 0),
(898, 'Umarkhed', 'Maharastra', 0),
(899, 'Umred', 'Maharastra', 0),
(900, '<NAME>', 'Maharastra', 0),
(901, 'Vaijapur', 'Maharastra', 0),
(902, 'Vasai', 'Maharastra', 0),
(903, 'Virar', 'Maharastra', 0),
(904, 'Vita', 'Maharastra', 0),
(905, 'Yavatmal', 'Maharastra', 0),
(906, 'Yawal', 'Maharastra', 0),
(907, 'Imphal', 'Manipur', 14),
(908, 'Kakching', 'Manipur', 14),
(909, 'Lilong', 'Manipur', 14),
(910, '<NAME>', 'Manipur', 14),
(911, 'Thoubal', 'Manipur', 14),
(912, 'Jowai', 'Meghalaya', 0),
(913, 'Nongstoin', 'Meghalaya', 0),
(914, 'Shillong', 'Meghalaya', 0),
(915, 'Tura', 'Meghalaya', 0),
(916, 'Aizawl', 'Mizoram', 15),
(917, 'Champhai', 'Mizoram', 15),
(918, 'Lunglei', 'Mizoram', 15),
(919, 'Saiha', 'Mizoram', 15),
(920, 'Dimapur', 'Nagaland', 13),
(921, 'Kohima', 'Nagaland', 13),
(922, 'Mokokchung', 'Nagaland', 13),
(923, 'Tuensang', 'Nagaland', 13),
(924, 'Wokha', 'Nagaland', 13),
(925, 'Zunheboto', 'Nagaland', 13),
(950, 'Anandapur', 'Orissa', 0),
(951, 'Anugul', 'Orissa', 0),
(952, 'Asika', 'Orissa', 0),
(953, 'Balangir', 'Orissa', 0),
(954, 'Balasore', 'Orissa', 0),
(955, 'Baleshwar', 'Orissa', 0),
(956, 'Bamra', 'Orissa', 0),
(957, 'Barbil', 'Orissa', 0),
(958, 'Bargarh', 'Orissa', 0),
(959, 'Bargarh', 'Orissa', 0),
(960, 'Baripada', 'Orissa', 0),
(961, 'Basudebpur', 'Orissa', 0),
(962, 'Belpahar', 'Orissa', 0),
(963, 'Bhadrak', 'Orissa', 0),
(964, 'Bhawanipatna', 'Orissa', 0),
(965, 'Bhuban', 'Orissa', 0),
(966, 'Bhubaneswar', 'Orissa', 0),
(967, 'Biramitrapur', 'Orissa', 0),
(968, 'Brahmapur', 'Orissa', 0),
(969, 'Brajrajnagar', 'Orissa', 0),
(970, 'Byasanagar', 'Orissa', 0),
(971, 'Cuttack', 'Orissa', 0),
(972, 'Debagarh', 'Orissa', 0),
(973, 'Dhenkanal', 'Orissa', 0),
(974, 'Gunupur', 'Orissa', 0),
(975, 'Hinjilicut', 'Orissa', 0),
(976, 'Jagatsinghapur', 'Orissa', 0),
(977, 'Jajapur', 'Orissa', 0),
(978, 'Jaleswar', 'Orissa', 0),
(979, 'Jatani', 'Orissa', 0),
(980, 'Jeypur', 'Orissa', 0),
(981, 'Jharsuguda', 'Orissa', 0),
(982, 'Joda', 'Orissa', 0),
(983, 'Kantabanji', 'Orissa', 0),
(984, 'Karanjia', 'Orissa', 0),
(985, 'Kendrapara', 'Orissa', 0),
(986, 'Kendujhar', 'Orissa', 0),
(987, 'Khordha', 'Orissa', 0),
(988, 'Koraput', 'Orissa', 0),
(989, 'Malkangiri', 'Orissa', 0),
(990, 'Nabarangapur', 'Orissa', 0),
(991, 'Paradip', 'Orissa', 0),
(992, 'Parlakhemundi', 'Orissa', 0),
(993, 'Pattamundai', 'Orissa', 0),
(994, 'Phulabani', 'Orissa', 0),
(995, 'Puri', 'Orissa', 0),
(996, 'Rairangpur', 'Orissa', 0),
(997, 'Rajagangapur', 'Orissa', 0),
(998, 'Raurkela', 'Orissa', 0),
(999, 'Rayagada', 'Orissa', 0),
(1000, 'Sambalpur', 'Orissa', 0),
(1001, 'Soro', 'Orissa', 0),
(1002, 'Sunabeda', 'Orissa', 0),
(1003, 'Sundargarh', 'Orissa', 0),
(1004, 'Talcher', 'Orissa', 0),
(1005, 'Titlagarh', 'Orissa', 0),
(1006, 'Umarkote', 'Orissa', 0),
(1007, 'Karaikal', 'Pondicherry', 0),
(1008, 'Mahe', 'Pondicherry', 0),
(1009, 'Pondicherry', 'Pondicherry', 0),
(1010, 'Yanam', 'Pondicherry', 0),
(1011, 'Ahmedgarh', 'Punjab', 3),
(1012, 'Amritsar', 'Punjab', 3),
(1013, 'Barnala', 'Punjab', 3),
(1014, 'Batala', 'Punjab', 3),
(1015, 'Bathinda', 'Punjab', 3),
(1016, '<NAME>', 'Punjab', 3),
(1017, 'Budhlada', 'Punjab', 3),
(1018, 'Chandigarh', 'Punjab', 3),
(1019, 'Dasua', 'Punjab', 3),
(1020, 'Dhuri', 'Punjab', 3),
(1021, 'Dinanagar', 'Punjab', 3),
(1022, 'Faridkot', 'Punjab', 3),
(1023, 'Fazilka', 'Punjab', 3),
(1024, 'Firozpur', 'Punjab', 3),
(1025, '<NAME>.', 'Punjab', 3),
(1026, 'Giddarbaha', 'Punjab', 3),
(1027, 'Gobindgarh', 'Punjab', 3),
(1028, 'Gurdaspur', 'Punjab', 3),
(1029, 'Hoshiarpur', 'Punjab', 3),
(1030, 'Jagraon', 'Punjab', 3),
(1031, 'Jaitu', 'Punjab', 3),
(1032, 'Jalalabad', 'Punjab', 3),
(1033, 'Jalandhar', 'Punjab', 3),
(1034, '<NAME>.', 'Punjab', 3),
(1035, 'Jandiala', 'Punjab', 3),
(1036, 'Kapurthala', 'Punjab', 3),
(1037, 'Karoran', 'Punjab', 3),
(1038, 'Kartarpur', 'Punjab', 3),
(1039, 'Khanna', 'Punjab', 3),
(1040, 'Kharar', 'Punjab', 3),
(1041, '<NAME>', 'Punjab', 3),
(1042, 'Kurali', 'Punjab', 3),
(1043, 'Longowal', 'Punjab', 3),
(1044, 'Ludhiana', 'Punjab', 3),
(1045, 'Malerkotla', 'Punjab', 3),
(1046, 'Malout', 'Punjab', 3),
(1047, 'Mansa', 'Punjab', 3),
(1048, 'Maur', 'Punjab', 3),
(1049, 'Moga', 'Punjab', 3),
(1050, 'Mohali', 'Punjab', 3),
(1051, 'Morinda', 'Punjab', 3),
(1052, 'Mukerian', 'Punjab', 3),
(1053, 'Muktsar', 'Punjab', 3),
(1054, 'Nabha', 'Punjab', 3),
(1055, 'Nakodar', 'Punjab', 3),
(1056, 'Nangal', 'Punjab', 3),
(1057, 'Nawanshahr', 'Punjab', 3),
(1058, 'Pathankot', 'Punjab', 3),
(1059, 'Patiala', 'Punjab', 3),
(1060, 'Patran', 'Punjab', 3),
(1061, 'Patti', 'Punjab', 3),
(1062, 'Phagwara', 'Punjab', 3),
(1063, 'Phillaur', 'Punjab', 3),
(1064, 'Qadian', 'Punjab', 3),
(1065, 'Raikot', 'Punjab', 3),
(1066, 'Rajpura', 'Punjab', 3),
(1067, '<NAME>', 'Punjab', 3),
(1068, 'Rupnagar', 'Punjab', 3),
(1069, 'Samana', 'Punjab', 3),
(1070, 'Sangrur', 'Punjab', 3),
(1071, '<NAME>', 'Punjab', 3),
(1072, 'Sujanpur', 'Punjab', 3),
(1073, 'Sunam', 'Punjab', 3),
(1074, 'Talwara', 'Punjab', 3),
(1075, '<NAME>', 'Punjab', 3),
(1076, '<NAME>', 'Punjab', 3),
(1077, 'Zira', 'Punjab', 3),
(1078, 'Zirakpur', 'Punjab', 3),
(1079, 'Bali', 'Rajasthan', 8),
(1080, 'Banswara', 'Rajastan', 0),
(1081, 'Ajmer', 'Rajasthan', 8),
(1082, 'Alwar', 'Rajasthan', 8),
(1083, 'Bandikui', 'Rajasthan', 8),
(1084, 'Baran', 'Rajasthan', 8),
(1085, 'Barmer', 'Rajasthan', 8),
(1086, 'Bikaner', 'Rajasthan', 8),
(1087, 'Fatehpur', 'Rajasthan', 8),
(1088, 'Jaipur', 'Rajasthan', 8),
(1089, 'Jaisalmer', 'Rajasthan', 8),
(1090, 'Jodhpur', 'Rajasthan', 8),
(1091, 'Kota', 'Rajasthan', 8),
(1092, 'Lachhmangarh', 'Rajasthan', 8),
(1093, 'Ladnu', 'Rajasthan', 8),
(1094, 'Lakheri', 'Rajasthan', 8),
(1095, 'Lalsot', 'Rajasthan', 8),
(1096, 'Losal', 'Rajasthan', 8),
(1097, 'Makrana', 'Rajasthan', 8),
(1098, 'Malpura', 'Rajasthan', 8),
(1099, 'Mandalgarh', 'Rajasthan', 8),
(1100, 'Mandawa', 'Rajasthan', 8),
(1101, 'Mangrol', 'Rajasthan', 8),
(1102, '<NAME>', 'Rajasthan', 8),
(1103, '<NAME>', 'Rajasthan', 8),
(1104, 'Nadbai', 'Rajasthan', 8),
(1105, 'Nagar', 'Rajasthan', 8),
(1106, 'Nagaur', 'Rajasthan', 8),
(1107, 'Nargund', 'Rajasthan', 8),
(1108, 'Nasirabad', 'Rajasthan', 8),
(1109, 'Nathdwara', 'Rajasthan', 8),
(1110, 'Navalgund', 'Rajasthan', 8),
(1111, 'Nawalgarh', 'Rajasthan', 8),
(1112, 'Neem-Ka-Thana', 'Rajasthan', 8),
(1113, 'Nelamangala', 'Rajasthan', 8),
(1114, 'Nimbahera', 'Rajasthan', 8),
(1115, 'Nipani', 'Rajasthan', 8),
(1116, 'Niwai', 'Rajasthan', 8),
(1117, 'Nohar', 'Rajasthan', 8),
(1118, 'Nokha', 'Rajasthan', 8),
(1119, 'Pali', 'Rajasthan', 8),
(1120, 'Phalodi', 'Rajasthan', 8),
(1121, 'Phulera', 'Rajasthan', 8),
(1122, 'Pilani', 'Rajasthan', 8),
(1123, 'Pilibanga', 'Rajasthan', 8),
(1124, 'Pindwara', 'Rajasthan', 8),
(1125, '<NAME>', 'Rajasthan', 8),
(1126, 'Prantij', 'Rajasthan', 8),
(1127, 'Pratapgarh', 'Rajasthan', 8),
(1128, 'Raisinghnagar', 'Rajasthan', 8),
(1129, 'Rajakhera', 'Rajasthan', 8),
(1130, 'Rajaldesar', 'Rajasthan', 8),
(1131, '<NAME>war)', 'Rajasthan', 8),
(1132, 'Rajgarh (Churu', 'Rajasthan', 8),
(1133, 'Rajsamand', 'Rajasthan', 8),
(1134, '<NAME>', 'Rajasthan', 8),
(1135, 'Ramngarh', 'Rajasthan', 8),
(1136, 'Ratangarh', 'Rajasthan', 8),
(1137, 'Rawatbhata', 'Rajasthan', 8),
(1138, 'Rawatsar', 'Rajasthan', 8),
(1139, 'Reengus', 'Rajasthan', 8),
(1140, 'Sadri', 'Rajasthan', 8),
(1141, 'Sadulshahar', 'Rajasthan', 8),
(1142, 'Sagwara', 'Rajasthan', 8),
(1143, 'Sambhar', 'Rajasthan', 8),
(1144, 'Sanchore', 'Rajasthan', 8),
(1145, 'Sangaria', 'Rajasthan', 8),
(1146, 'Sardarshahar', 'Rajasthan', 8),
(1147, '<NAME>', 'Rajasthan', 8),
(1148, 'Shahpura', 'Rajasthan', 8),
(1149, 'Shahpura', 'Rajasthan', 8),
(1150, 'Sheoganj', 'Rajasthan', 8),
(1151, 'Sikar', 'Rajasthan', 8),
(1152, 'Sirohi', 'Rajasthan', 8),
(1153, 'Sojat', 'Rajasthan', 8),
(1154, '<NAME>', 'Rajasthan', 8),
(1155, 'Sujangarh', 'Rajasthan', 8),
(1156, 'Sumerpur', 'Rajasthan', 8),
(1157, 'Suratgarh', 'Rajasthan', 8),
(1158, 'Taranagar', 'Rajasthan', 8),
(1159, 'Todabhim', 'Rajasthan', 8),
(1160, 'Todaraisingh', 'Rajasthan', 8),
(1161, 'Tonk', 'Rajasthan', 8),
(1162, 'Udaipur', 'Rajasthan', 8),
(1163, 'Udaipurwati', 'Rajasthan', 8),
(1164, 'Vijainagar', 'Rajasthan', 8),
(1165, 'Gangtok', 'Sikkim', 11),
(1166, 'Calcutta', 'West Bengal', 19),
(1167, 'Arakkonam', 'Tamil Nadu', 33),
(1168, 'Arcot', 'Tamil Nadu', 33),
(1169, 'Aruppukkottai', 'Tamil Nadu', 33),
(1170, 'Bhavani', 'Tamil Nadu', 33),
(1171, 'Chengalpattu', 'Tamil Nadu', 33),
(1172, 'Chennai', 'Tamil Nadu', 33),
(1173, '<NAME>', 'Tamil nadu', 33),
(1174, 'Coimbatore', 'Tamil Nadu', 33),
(1175, 'Coonoor', 'Tamil Nadu', 33),
(1176, 'Cuddalore', 'Tamil Nadu', 33),
(1177, 'Dharmapuri', 'Tamil Nadu', 33),
(1178, 'Dindigul', 'Tamil Nadu', 33),
(1179, 'Erode', 'Tamil Nadu', 33),
(1180, 'Gudalur', 'Tamil Nadu', 33),
(1181, 'Gudalur', 'Tamil Nadu', 33),
(1182, 'Gudalur', 'Tamil Nadu', 33),
(1183, 'Kanchipuram', 'Tamil Nadu', 33),
(1184, 'Karaikudi', 'Tamil Nadu', 33),
(1185, 'Karungal', 'Tamil Nadu', 33),
(1186, 'Karur', 'Tamil Nadu', 33),
(1187, 'Kollankodu', 'Tamil Nadu', 33),
(1188, 'Lalgudi', 'Tamil Nadu', 33),
(1189, 'Madurai', 'Tamil Nadu', 33),
(1190, 'Nagapattinam', 'Tamil Nadu', 33),
(1191, 'Nagercoil', 'Tamil Nadu', 33),
(1192, 'Namagiripettai', 'Tamil Nadu', 33),
(1193, 'Namakkal', 'Tamil Nadu', 33),
(1194, 'Nandivaram-Guduvancheri', 'Tamil Nadu', 33),
(1195, 'Nanjikottai', 'Tamil Nadu', 33),
(1196, 'Natham', 'Tamil Nadu', 33),
(1197, 'Nellikuppam', 'Tamil Nadu', 33),
(1198, 'Neyveli', 'Tamil Nadu', 33),
(1199, '<NAME>', 'Tamil Nadu', 33),
(1200, 'Oddanchatram', 'Tamil Nadu', 33),
(1201, 'P.N.Patti', 'Tamil Nadu', 33),
(1202, 'Pacode', 'Tamil Nadu', 33),
(1203, 'Padmanabhapuram', 'Tamil Nadu', 33),
(1204, 'Palani', 'Tamil Nadu', 33),
(1205, 'Palladam', 'Tamil Nadu', 33),
(1206, 'Pallapatti', 'Tamil Nadu', 33),
(1207, 'Pallikonda', 'Tamil Nadu', 33),
(1208, 'Panagudi', 'Tamil Nadu', 33),
(1209, 'Panruti', 'Tamil Nadu', 33),
(1210, 'Paramakudi', 'Tamil Nadu', 33),
(1211, 'Parangipettai', 'Tamil Nadu', 33),
(1212, 'Pattukkottai', 'Tamil Nadu', 33),
(1213, 'Perambalur', 'Tamil Nadu', 33),
(1214, 'Peravurani', 'Tamil Nadu', 33),
(1215, 'Periyakulam', 'Tamil Nadu', 33),
(1216, 'Periyasemur', 'Tamil Nadu', 33),
(1217, 'Pernampattu', 'Tamil Nadu', 33),
(1218, 'Pollachi', 'Tamil Nadu', 33),
(1219, 'Polur', 'Tamil Nadu', 33),
(1220, 'Ponneri', 'Tamil Nadu', 33),
(1221, 'Pudukkottai', 'Tamil Nadu', 33),
(1222, 'Pudupattinam', 'Tamil Nadu', 33),
(1223, 'Puliyankudi', 'Tamil Nadu', 33),
(1224, 'Punjaipugalur', 'Tamil Nadu', 33),
(1225, 'Rajapalayam', 'Tamil Nadu', 33),
(1226, 'Ramanathapuram', 'Tamil Nadu', 33),
(1227, 'Rameshwaram', 'Tamil Nadu', 33),
(1228, 'Rasipuram', 'Tamil Nadu', 33),
(1229, 'Salem', 'Tamil Nadu', 33),
(1230, 'Sankarankoil', 'Tamil Nadu', 33),
(1231, 'Sankari', 'Tamil Nadu', 33),
(1232, 'Sathyamangalam', 'Tamil Nadu', 33),
(1233, 'Sattur', 'Tamil Nadu', 33),
(1234, 'Shenkottai', 'Tamil Nadu', 33),
(1235, 'Sholavandan', 'Tamil Nadu', 33),
(1236, 'Sholingur', 'Tamil Nadu', 33),
(1237, 'Sirkali', 'Tamil Nadu', 33),
(1238, 'Sivaganga', 'Tamil Nadu', 33),
(1239, 'Sivagiri', 'Tamil Nadu', 33),
(1240, 'Sivakasi', 'Tamil Nadu', 33),
(1241, 'Srivilliputhur', 'Tamil Nadu', 33),
(1242, 'Surandai', 'Tamil Nadu', 33),
(1243, 'Suriyampalayam', 'Tamil Nadu', 33),
(1244, 'Tenkasi', 'Tamil Nadu', 33),
(1245, 'Thammampatti', 'Tamil Nadu', 33),
(1246, 'Thanjavur', 'Tamil Nadu', 33),
(1247, 'Tharamangalam', 'Tamil Nadu', 33),
(1248, 'Tharangambadi', 'Tamil Nadu', 33),
(1249, '<NAME>', 'Tamil Nadu', 33),
(1250, 'Thirumangalam', 'Tamil Nadu', 33),
(1251, 'Thirunindravur', 'Tamil Nadu', 33),
(1252, 'Thiruparappu', 'Tamil Nadu', 33),
(1253, 'Thirupuvanam', 'Tamil Nadu', 33),
(1254, 'Thiruthuraipoondi', 'Tamil Nadu', 33),
(1255, 'Thiruvallur', 'Tamil Nadu', 33),
(1256, 'Thiruvarur', 'Tamil Nadu', 33),
(1257, 'Thoothukudi', 'Tamil Nadu', 33),
(1258, 'Thuraiyur', 'Tamil Nadu', 33),
(1259, 'Tindivanam', 'Tamil Nadu', 33),
(1260, 'Tiruchendur', 'Tamil Nadu', 33),
(1261, 'Tiruchengode', 'Tamil Nadu', 33),
(1262, 'Tiruchirappalli', 'Tamil Nadu', 33),
(1263, 'Tirukalukundram', 'Tamil Nadu', 33),
(1264, 'Tirukkoyilur', 'Tamil Nadu', 33),
(1265, 'Tirunelveli', 'Tamil Nadu', 33),
(1266, 'Tirupathur', 'Tamil Nadu', 33),
(1267, 'Tirupathur', 'Tamil Nadu', 33),
(1268, 'Tiruppur', 'Tamil Nadu', 33),
(1269, 'Tiruttani', 'Tamil Nadu', 33),
(1270, 'Tiruvannamalai', 'Tamil Nadu', 33),
(1271, 'Tiruvethipuram', 'Tamil Nadu', 33),
(1272, 'Tittakudi', 'Tamil Nadu', 33),
(1273, 'Udhagamandalam', 'Tamil Nadu', 33),
(1274, 'Udumalaipettai', 'Tamil Nadu', 33),
(1275, 'Unnamalaikadai', 'Tamil Nadu', 33),
(1276, 'Usilampatti', 'Tamil Nadu', 33),
(1277, 'Uthamapalayam', 'Tamil Nadu', 33),
(1278, 'Uthiramerur', 'Tamil Nadu', 33),
(1279, 'Vadakkuvalliyur', 'Tamil Nadu', 33),
(1280, 'Vadalur', 'Tamil Nadu', 33),
(1281, 'Vadipatti', 'Tamil Nadu', 33),
(1282, 'Valparai', 'Tamil Nadu', 33),
(1283, 'Vandavasi', 'Tamil Nadu', 33),
(1284, 'Vaniyambadi', 'Tamil Nadu', 33),
(1285, 'Vedaranyam', 'Tamil Nadu', 33),
(1286, 'Vellakoil', 'Tamil Nadu', 33),
(1287, 'Vellore', 'Tamil Nadu', 33),
(1288, 'Vikramasingapuram', 'Tamil Nadu', 33),
(1289, 'Viluppuram', 'Tamil Nadu', 33),
(1290, 'Virudhachalam', 'Tamil Nadu', 33),
(1291, 'Virudhunagar', 'Tamil Nadu', 33),
(1292, 'Viswanatham', 'Tamil Nadu', 33),
(1293, 'Agartala', 'Tripura', 16),
(1294, 'Badharghat', 'Tripura', 16),
(1295, 'Dharmanagar', 'Tripura', 16),
(1296, 'Indranagar', 'Tripura', 16),
(1297, 'Jogendranagar', 'Tripura', 16),
(1298, 'Kailasahar', 'Tripura', 16),
(1299, 'Khowai', 'Tripura', 16),
(1300, 'Pratapgarh', 'Tripura', 16),
(1301, 'Udaipur', 'Tripura', 16),
(1302, 'Achhnera', 'Uttar Pradesh', 9),
(1303, 'Adari', 'Uttar Pradesh', 9),
(1304, 'Agra', 'Uttar Pradesh', 9),
(1305, 'Aligarh', 'Uttar Pradesh', 9),
(1306, 'Allahabad', 'Uttar Pradesh', 9),
(1307, 'Amroha', 'Uttar Pradesh', 9),
(1308, 'Azamgarh', 'Uttar Pradesh', 9),
(1309, 'Bahraich', 'Uttar Pradesh', 9),
(1310, 'Ballia', 'Uttar Pradesh', 9),
(1311, 'Balrampur', 'Uttar Pradesh', 9),
(1312, 'Banda', 'Uttar Pradesh', 9),
(1313, 'Bareilly', 'Uttar Pradesh', 9),
(1314, 'Chandausi', 'Uttar Pradesh', 9),
(1315, 'Dadri', 'Uttar Pradesh', 9),
(1316, 'Deoria', 'Uttar Pradesh', 9),
(1317, 'Etawah', 'Uttar Pradesh', 9),
(1318, 'Fatehabad', 'Uttar Pradesh', 9),
(1319, 'Fatehpur', 'Uttar Pradesh', 9),
(1320, 'Fatehpur', 'Uttar Pradesh', 9),
(1321, '<NAME>', 'Uttar Pradesh', 9),
(1322, 'Hamirpur', 'Uttar Pradesh', 9),
(1323, 'Hardoi', 'Uttar Pradesh', 9),
(1324, 'Jajmau', 'Uttar Pradesh', 9),
(1325, 'Jaunpur', 'Uttar Pradesh', 9),
(1326, 'Jhansi', 'Uttar Pradesh', 9),
(1327, 'Kalpi', 'Uttar Pradesh', 9),
(1328, 'Kanpur', 'Uttar Pradesh', 9),
(1329, 'Kota', 'Uttar Pradesh', 9),
(1330, 'Laharpur', 'Uttar Pradesh', 9),
(1331, 'Lakhimpur', 'Uttar Pradesh', 9),
(1332, '<NAME>', 'Uttar Pradesh', 9),
(1333, 'Lalganj', 'Uttar Pradesh', 9),
(1334, 'Lalitpur', 'Uttar Pradesh', 9),
(1335, 'Lar', 'Uttar Pradesh', 9),
(1336, 'Loni', 'Uttar Pradesh', 9),
(1337, 'Lucknow', 'Uttar Pradesh', 9),
(1338, 'Mathura', 'Uttar Pradesh', 9),
(1339, 'Meerut', 'Uttar Pradesh', 9),
(1340, 'Modinagar', 'Uttar Pradesh', 9),
(1341, 'Muradnagar', 'Uttar Pradesh', 9),
(1342, 'Nagina', 'Uttar Pradesh', 9),
(1343, 'Najibabad', 'Uttar Pradesh', 9),
(1344, 'Nakur', 'Uttar Pradesh', 9),
(1345, 'Nanpara', 'Uttar Pradesh', 9),
(1346, 'Naraura', 'Uttar Pradesh', 9),
(1347, '<NAME>', 'Uttar Pradesh', 9),
(1348, 'Nautanwa', 'Uttar Pradesh', 9),
(1349, 'Nawabganj', 'Uttar Pradesh', 9),
(1350, 'Nehtaur', 'Uttar Pradesh', 9),
(1351, 'NOIDA', 'Uttar Pradesh', 9),
(1352, 'Noorpur', 'Uttar Pradesh', 9),
(1353, 'Obra', 'Uttar Pradesh', 9),
(1354, 'Orai', 'Uttar Pradesh', 9),
(1355, 'Padrauna', 'Uttar Pradesh', 9),
(1356, '<NAME>', 'Uttar Pradesh', 9),
(1357, 'Parasi', 'Uttar Pradesh', 9),
(1358, 'Phulpur', 'Uttar Pradesh', 9),
(1359, 'Pihani', 'Uttar Pradesh', 9),
(1360, 'Pilibhit', 'Uttar Pradesh', 9),
(1361, 'Pilkhuwa', 'Uttar Pradesh', 9),
(1362, 'Powayan', 'Uttar Pradesh', 9),
(1363, 'Pukhrayan', 'Uttar Pradesh', 9),
(1364, 'Puranpur', 'Uttar Pradesh', 9),
(1365, 'Purquazi', 'Uttar Pradesh', 9),
(1366, 'Purwa', 'Uttar Pradesh', 9),
(1367, '<NAME>', 'Uttar Pradesh', 9),
(1368, 'Rampur', 'Uttar Pradesh', 9),
(1369, '<NAME>', 'Uttar Pradesh', 9),
(1370, 'Rasra', 'Uttar Pradesh', 9),
(1371, 'Rath', 'Uttar Pradesh', 9),
(1372, 'Renukoot', 'Uttar Pradesh', 9),
(1373, 'Reoti', 'Uttar Pradesh', 9),
(1374, 'Robertsganj', 'Uttar Pradesh', 9),
(1375, 'Rudauli', 'Uttar Pradesh', 9),
(1376, 'Rudrapur', 'Uttar Pradesh', 9),
(1377, 'Sadabad', 'Uttar Pradesh', 9),
(1378, 'Safipur', 'Uttar Pradesh', 9),
(1379, 'Saharanpur', 'Uttar Pradesh', 9),
(1380, 'Sahaspur', 'Uttar Pradesh', 9),
(1381, 'Sahaswan', 'Uttar Pradesh', 9),
(1382, 'Sahawar', 'Uttar Pradesh', 9),
(1383, 'Sahjanwa', 'Uttar Pradesh', 9),
(1384, 'Saidpur', ' Ghazipur', 0),
(1385, 'Sambhal', 'Uttar Pradesh', 9),
(1386, 'Samdhan', 'Uttar Pradesh', 9),
(1387, 'Samthar', 'Uttar Pradesh', 9),
(1388, 'Sandi', 'Uttar Pradesh', 9),
(1389, 'Sandila', 'Uttar Pradesh', 9),
(1390, 'Sardhana', 'Uttar Pradesh', 9),
(1391, 'Seohara', 'Uttar Pradesh', 9),
(1392, 'Shahabad', ' Hardoi', 0),
(1393, 'Shahabad', ' Rampur', 0),
(1394, 'Shahganj', 'Uttar Pradesh', 9),
(1395, 'Shahjahanpur', 'Uttar Pradesh', 9),
(1396, 'Shamli', 'Uttar Pradesh', 9),
(1397, 'Shamsabad', ' Agra', 0),
(1398, 'Shamsabad', ' Farrukhabad', 0),
(1399, 'Sherkot', 'Uttar Pradesh', 9),
(1400, 'Shikarpur', ' Bulandshahr', 0),
(1401, 'Shikohabad', 'Uttar Pradesh', 9),
(1402, 'Shishgarh', 'Uttar Pradesh', 9),
(1403, 'Siana', 'Uttar Pradesh', 9),
(1404, 'Sikanderpur', 'Uttar Pradesh', 9),
(1405, 'Sikandra Rao', 'Uttar Pradesh', 9),
(1406, 'Sikandrabad', 'Uttar Pradesh', 9),
(1407, 'Sirsaganj', 'Uttar Pradesh', 9),
(1408, 'Sirsi', 'Uttar Pradesh', 9),
(1409, 'Sitapur', 'Uttar Pradesh', 9),
(1410, 'Soron', 'Uttar Pradesh', 9),
(1411, 'Suar', 'Uttar Pradesh', 9),
(1412, 'Sultanpur', 'Uttar Pradesh', 9),
(1413, 'Sumerpur', 'Uttar Pradesh', 9),
(1414, 'Tanda', 'Uttar Pradesh', 9),
(1415, 'Tanda', 'Uttar Pradesh', 9),
(1416, '<NAME>', 'Uttar Pradesh', 9),
(1417, 'Thakurdwara', 'Uttar Pradesh', 9),
(1418, '<NAME>', 'Uttar Pradesh', 9),
(1419, 'Tilhar', 'Uttar Pradesh', 9),
(1420, 'Tirwaganj', 'Uttar Pradesh', 9),
(1421, 'Tulsipur', 'Uttar Pradesh', 9),
(1422, 'Tundla', 'Uttar Pradesh', 9),
(1423, 'Unnao', 'Uttar Pradesh', 9),
(1424, 'Utraula', 'Uttar Pradesh', 9),
(1425, 'Varanasi', 'Uttar Pradesh', 9),
(1426, 'Vrindavan', 'Uttar Pradesh', 9),
(1427, 'Warhapur', 'Uttar Pradesh', 9),
(1428, 'Zaidpur', 'Uttar Pradesh', 9),
(1429, 'Zamania', 'Uttar Pradesh', 9),
(1430, 'Almora', 'Uttarakhand', 5),
(1431, 'Bazpur', 'Uttarakhand', 5),
(1432, 'Chamba', 'Uttarakhand', 5),
(1433, 'Dehradun', 'Uttarakhand', 5),
(1434, 'Haldwani', 'Uttarakhand', 5),
(1435, 'Haridwar', 'Uttarakhand', 5),
(1436, 'Jaspur', 'Uttarakhand', 5),
(1437, 'Kashipur', 'Uttarakhand', 5),
(1438, 'kichha', 'Uttarakhand', 5),
(1439, 'Kotdwara', 'Uttarakhand', 5),
(1440, 'Manglaur', 'Uttarakhand', 5),
(1441, 'Mussoorie', 'Uttarakhand', 5),
(1442, 'Nagla', 'Uttarakhand', 5),
(1443, 'Nainital', 'Uttarakhand', 5),
(1444, 'Pauri', 'Uttarakhand', 5),
(1445, 'Pithoragarh', 'Uttarakhand', 5),
(1446, 'Ramnagar', 'Uttarakhand', 5),
(1447, 'Rishikesh', 'Uttarakhand', 5),
(1448, 'Roorkee', 'Uttarakhand', 5),
(1449, 'Rudrapur', 'Uttarakhand', 5),
(1450, 'Sitarganj', 'Uttarakhand', 5),
(1451, 'Tehri', 'Uttarakhand', 5),
(1452, 'Muzaffarnagar', 'Uttar Pradesh', 9),
(1453, 'Adra', ' Purulia', 0),
(1454, 'Alipurduar', 'West Bengal', 19),
(1455, 'Arambagh', 'West Bengal', 19),
(1456, 'Asansol', 'West Bengal', 19),
(1457, 'Baharampur', 'West Bengal', 19),
(1458, 'Bally', 'West Bengal', 19),
(1459, 'Balurghat', 'West Bengal', 19),
(1460, 'Bankura', 'West Bengal', 19),
(1461, 'Barakar', 'West Bengal', 19),
(1462, 'Barasat', 'West Bengal', 19),
(1463, 'Bardhaman', 'West Bengal', 19),
(1464, '<NAME>', 'West Bengal', 19),
(1465, 'Chinsura', 'West Bengal', 19),
(1466, 'Contai', 'West Bengal', 19),
(1467, '<NAME>', 'West Bengal', 19);
INSERT INTO `gst_cities` (`city_id`, `city_name`, `city_state`, `state_code`) VALUES
(1468, 'Darjeeling', 'West Bengal', 19),
(1469, 'Durgapur', 'West Bengal', 19),
(1470, 'Haldia', 'West Bengal', 19),
(1471, 'Howrah', 'West Bengal', 19),
(1472, 'Islampur', 'West Bengal', 19),
(1473, 'Jhargram', 'West Bengal', 19),
(1474, 'Kharagpur', 'West Bengal', 19),
(1475, 'Kolkata', 'West Bengal', 19),
(1476, 'Mainaguri', 'West Bengal', 19),
(1477, 'Mal', 'West Bengal', 19),
(1478, 'Mathabhanga', 'West Bengal', 19),
(1479, 'Medinipur', 'West Bengal', 19),
(1480, 'Memari', 'West Bengal', 19),
(1481, 'Monoharpur', 'West Bengal', 19),
(1482, 'Murshidabad', 'West Bengal', 19),
(1483, 'Nabadwip', 'West Bengal', 19),
(1484, 'Naihati', 'West Bengal', 19),
(1485, 'Panchla', 'West Bengal', 19),
(1486, 'Pandua', 'West Bengal', 19),
(1487, '<NAME>', 'West Bengal', 19),
(1488, 'Purulia', 'West Bengal', 19),
(1489, 'Raghunathpur', 'West Bengal', 19),
(1490, 'Raiganj', 'West Bengal', 19),
(1491, 'Rampurhat', 'West Bengal', 19),
(1492, 'Ranaghat', 'West Bengal', 19),
(1493, 'Sainthia', 'West Bengal', 19),
(1494, 'Santipur', 'West Bengal', 19),
(1495, 'Siliguri', 'West Bengal', 19),
(1496, 'Sonamukhi', 'West Bengal', 19),
(1497, 'Srirampore', 'West Bengal', 19),
(1498, 'Suri', 'West Bengal', 19),
(1499, 'Taki', 'West Bengal', 19),
(1500, 'Tamluk', 'West Bengal', 19),
(1501, 'Tarakeswar', 'West Bengal', 19),
(1502, 'Chikmagalur', 'Karnataka', 29),
(1503, 'Davanagere', 'Karnataka', 29),
(1504, 'Dharwad', 'Karnataka', 29),
(1505, 'Gadag', 'Karnataka', 29),
(1506, 'Chennai', 'Tamil Nadu', 33),
(1507, 'Coimbatore', 'Tamil Nadu', 33);
-- --------------------------------------------------------
--
-- Table structure for table `gst_company`
--
CREATE TABLE `gst_company` (
`company_id` int(11) NOT NULL,
`company_uuid` varchar(36) NOT NULL,
`company_name` varchar(36) NOT NULL,
`company_address` varchar(1000) NOT NULL,
`company_pincode` varchar(36) NOT NULL,
`company_email` varchar(50) NOT NULL,
`company_profileurl` varchar(200) NOT NULL,
`company_phone` varchar(255) NOT NULL,
`company_mobile` varchar(255) NOT NULL,
`company_createdt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`company_modifydt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`company_status` int(11) NOT NULL DEFAULT '1',
`company_password` varchar(255) NOT NULL,
`company_country` varchar(255) NOT NULL,
`company_state` varchar(255) NOT NULL,
`company_city` varchar(255) NOT NULL,
`company_gstin` varchar(255) NOT NULL,
`company_registrationdt` varchar(36) DEFAULT NULL,
`company_name_entity` varchar(255) NOT NULL,
`company_pan` varchar(255) NOT NULL,
`company_branch_name` varchar(255) NOT NULL,
`company_type` varchar(255) NOT NULL,
`company_user_uuid` varchar(36) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `gst_company`
--
INSERT INTO `gst_company` (`company_id`, `company_uuid`, `company_name`, `company_address`, `company_pincode`, `company_email`, `company_profileurl`, `company_phone`, `company_mobile`, `company_createdt`, `company_modifydt`, `company_status`, `company_password`, `company_country`, `company_state`, `company_city`, `company_gstin`, `company_registrationdt`, `company_name_entity`, `company_pan`, `company_branch_name`, `company_type`, `company_user_uuid`) VALUES
(4, 'f04eaebb-f5e6-449f-951b-790f<PASSWORD>', 'XYZ Jewellers', 'Office No.-3, Mamta Restaurant, Gurukul Chowk, Ved Road, Katargam, Surat-395004', '546545', '<EMAIL>', 'employee2.png', '7897897897', '9789797898', '2017-10-06 14:56:35', '2017-11-17 16:29:59', 1, '', '', '6', '450', '22AAAAA0000A1Z5', '2005-11-29', 'Vishal', 'AAAAA0000A', 'dsfsdfsdf', '', '25156856-44ae-4a97-886b-66fbf4c69f53'),
(5, '4ffc8533-e3b6-470f-95e7-295b0a5a5dc5', 'Mshine technologies', 'Office No.-3, Mamta Restraunent, Gurukul Chowk, Ved Road, Katargam, Surat-395004', '395004', '<EMAIL>', 'employee3.png', '', '9624736996', '2017-11-08 10:41:16', '2017-11-12 07:13:59', 1, '', '', '396', '396', '24ALKPP0551E1ZD', '1996-10-25', 'Subjected To Surat Jurication', 'ALKPP0551E', '', '', '25156856-44ae-4a97-886b-66fbf4c69f53'),
(7, '66f2828c-6fdd-499e-ba30-f6ed1c2ebec3', 'Mshine technologies', 'Office No.-3, Mamta Restraunent, Gurukul Chowk, Ved Road, Katargam, Surat-395004', '395004', '<EMAIL>', 'employee3.png', '', '9624736996', '2017-11-09 11:18:17', '2017-11-12 07:38:10', 1, '', '', '24', '396', '24ALKPP0551E1ZD', '2017-07-01', 'Surat', '', '', '', '3fcee151-95cb-4ae9-a3da-ef3bcf48e569');
-- --------------------------------------------------------
--
-- Table structure for table `gst_customer`
--
CREATE TABLE `gst_customer` (
`customer_id` int(11) NOT NULL,
`customer_uuid` varchar(36) NOT NULL,
`customer_firstname` varchar(255) NOT NULL,
`customer_middlename` varchar(255) NOT NULL,
`customer_lastname` varchar(255) NOT NULL,
`customer_address` varchar(500) NOT NULL,
`customer_pincode` varchar(255) NOT NULL,
`customer_email` varchar(255) NOT NULL,
`customer_mobile` varchar(15) NOT NULL,
`customer_country` varchar(255) NOT NULL,
`customer_state` varchar(255) NOT NULL,
`customer_city` varchar(255) NOT NULL,
`customer_gstin_number` varchar(255) NOT NULL,
`customer_pan_number` varchar(255) NOT NULL,
`customer_profileurl` varchar(255) NOT NULL,
`customer_createdt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`customer_modifydt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`customer_user_uuid` varchar(36) NOT NULL,
`customer_status` varchar(15) NOT NULL DEFAULT 'active'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `gst_customer`
--
INSERT INTO `gst_customer` (`customer_id`, `customer_uuid`, `customer_firstname`, `customer_middlename`, `customer_lastname`, `customer_address`, `customer_pincode`, `customer_email`, `customer_mobile`, `customer_country`, `customer_state`, `customer_city`, `customer_gstin_number`, `customer_pan_number`, `customer_profileurl`, `customer_createdt`, `customer_modifydt`, `customer_user_uuid`, `customer_status`) VALUES
(1, 'eb273c19-8790-4198-a169-f9bacf1113b3', 'Rahul', 'Hirabhai', 'Chauhan', 'Varachha', '545454', '<EMAIL>', '7623950440', '', '24', '333', '22AAAAA0000A1Z5', '', 'employee1.png', '2017-11-15 15:15:35', '2017-11-17 16:33:21', '25156856-44ae-4a97-886b-66fbf4c69f53', 'active'),
(2, 'eb273c19-8790-4198-a169-f9bacf1113b6', 'Ravi change', 'Vasantbhai change', 'Sondaghar change', 'Scscs change', '545451', '<EMAIL>', '7623950446', '', '9', '1408', '22AAAAA0000A1Z6', 'AAAAA0000A', 'employee2.png', '2017-11-15 15:29:29', '2017-11-18 05:02:00', '25156856-44ae-4a97-886b-66fbf4c69f53', 'deactive');
-- --------------------------------------------------------
--
-- Table structure for table `gst_package`
--
CREATE TABLE `gst_package` (
`package_id` int(11) NOT NULL,
`package_name` varchar(255) NOT NULL,
`package_type` int(11) NOT NULL,
`packade_month` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `gst_package`
--
INSERT INTO `gst_package` (`package_id`, `package_name`, `package_type`, `packade_month`) VALUES
(1, 'FREE', 1, 15),
(2, 'BASIC', 2, 3),
(3, 'PREMIUM', 3, 6),
(4, 'MASTER', 4, 12);
-- --------------------------------------------------------
--
-- Table structure for table `gst_registration`
--
CREATE TABLE `gst_registration` (
`user_id` int(11) NOT NULL,
`user_uuid` varchar(36) NOT NULL,
`user_firstname` varchar(36) NOT NULL,
`user_middlename` varchar(36) NOT NULL,
`user_lastname` varchar(36) NOT NULL,
`user_email` varchar(50) NOT NULL,
`user_address` varchar(2000) NOT NULL,
`user_profileurl` varchar(255) NOT NULL,
`user_mobile` varchar(255) NOT NULL,
`user_createdt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`user_modifydt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`user_status` int(11) NOT NULL DEFAULT '1',
`user_password` varchar(255) NOT NULL,
`user_country` varchar(255) NOT NULL,
`user_state` varchar(255) NOT NULL,
`user_city` varchar(255) NOT NULL,
`user_forgot_password` varchar(36) NOT NULL,
`user_package_id` int(11) NOT NULL DEFAULT '1',
`user_package_expirydt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `gst_registration`
--
INSERT INTO `gst_registration` (`user_id`, `user_uuid`, `user_firstname`, `user_middlename`, `user_lastname`, `user_email`, `user_address`, `user_profileurl`, `user_mobile`, `user_createdt`, `user_modifydt`, `user_status`, `user_password`, `user_country`, `user_state`, `user_city`, `user_forgot_password`, `user_package_id`, `user_package_expirydt`) VALUES
(1, '25156856-44ae-4a97-886b-66fbf4c69f53', 'vishal', '', '', '<EMAIL>', '', '', '', '2017-10-04 16:40:13', '2017-11-13 13:27:31', 0, '457f8cf0fc9af872df765130c9031de0', '', '', '', 'c4e23942-456e-4c9a-a6e5-6a8eeff02a5e', 0, '2017-10-15 08:46:56'),
(2, 'f0ada259-e636-4a57-b608-ca6c10b323ea', 'root', '', '', '<EMAIL>', '', '', '', '2017-10-04 17:15:10', '2017-10-29 05:51:20', 1, '457f8cf0fc9af872df765130c9031de0', '', '', '', '', 0, '2017-10-15 08:46:56'),
(3, '3fcee151-95cb-4ae9-a3da-ef3bcf48e569', '<NAME>', '', '', '<EMAIL>', '', '', '', '2017-11-08 05:08:48', '2017-11-08 05:08:48', 1, '78f43043b6542865719bcb647f42ff8b', '', '', '', '', 1, '2017-11-08 05:08:48'),
(4, '3257dcec-88d2-42d7-937e-ebc44756e56e', 'vishal Test', '', '', '<EMAIL>', '', '', '', '2017-11-13 14:46:20', '2017-11-13 14:46:20', 1, '457f8cf0fc9af872df765130c9031de0', '', '', '', '', 1, '2017-11-13 14:46:20'),
(5, '6c87c901-6f09-470d-849d-ce35c7097b38', 'vishal Test 2', '', '', '<EMAIL>', '', '', '', '2017-11-13 14:51:05', '2017-11-13 14:51:05', 1, '457f8cf0fc9af872df765130c9031de0', '', '', '', '', 1, '2017-11-13 14:51:05');
-- --------------------------------------------------------
--
-- Table structure for table `gst_setting`
--
CREATE TABLE `gst_setting` (
`setting_id` int(11) NOT NULL,
`setting_uuid` varchar(36) NOT NULL,
`setting_user_uuid` varchar(36) NOT NULL,
`setting_type` varchar(255) NOT NULL,
`setting_value_1` varchar(255) NOT NULL,
`setting_value_2` varchar(255) NOT NULL,
`setting_value_3` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `gst_setting`
--
INSERT INTO `gst_setting` (`setting_id`, `setting_uuid`, `setting_user_uuid`, `setting_type`, `setting_value_1`, `setting_value_2`, `setting_value_3`) VALUES
(1, '6b5174e8-e766-417e-9685-3668f130f51b', '25156856-44ae-4a97-886b-66fbf4c69f53', 'invoice', 'INVOI-123', 'a:2:{i:0;s:11:"RJD/0000000";i:1;i:3;}', ''),
(2, '2cda2ad1-41a2-4572-95b7-888955630e53', '25156856-44ae-4a97-886b-66fbf4c69f53', 'dealer_tag', 'Tag - 1', 'INKLHUGTYBVFGHNJ', ''),
(5, '52e585ae-2a9a-4f0c-a938-51e443475e4a', '25156856-44ae-4a97-886b-66fbf4c69f53', 'dealer_tag', 'Dealer Of Gold, Silver And Real Diamond Jewellery', 'INKLHUGTYBVFGHNJ', ''),
(6, '6fd77d6f-a896-45a4-8e8c-66fa638ac049', 'f0ada259-e636-4a57-b608-ca6c10b323ea', 'invoice', 'hello', 'a:2:{i:0;s:16:"RAJ/17-18/000000";i:1;i:3;}', ''),
(7, 'eeaadb0b-ee18-4bfd-a936-a53ce43559a9', '3fcee151-95cb-4ae9-a3da-ef3bcf48e569', 'dealer_tag', 'Wholesaler Of Gold And Silver Ornaments', 'INVOI-124', ''),
(8, '3524599b-f0b2-43af-aad6-556bc22045ca', '3fcee151-95cb-4ae9-a3da-ef3bcf48e569', 'invoice', 'a:2:{i:0;s:11:"RJD/0000000";i:1;s:1:"1";}', 'a:2:{i:0;s:11:"RJD/0000000";i:1;i:13;}', '');
-- --------------------------------------------------------
--
-- Table structure for table `gst_state`
--
CREATE TABLE `gst_state` (
`state_id` int(11) NOT NULL,
`state_name` varchar(255) NOT NULL,
`state_code` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `gst_state`
--
INSERT INTO `gst_state` (`state_id`, `state_name`, `state_code`) VALUES
(75, 'JAMMU AND KASHMIR', 1),
(76, 'HIMACHAL PRADESH', 2),
(77, 'PUNJAB', 3),
(78, 'CHANDIGARH', 4),
(79, 'UTTARAKHAND', 5),
(80, 'HARYANA', 6),
(81, 'DELHI', 7),
(82, 'RAJASTHAN', 8),
(83, '<NAME>', 9),
(84, 'BIHAR', 10),
(85, 'SIKKIM', 11),
(86, '<NAME>', 12),
(87, 'NAGALAND', 13),
(88, 'MANIPUR', 14),
(89, 'MIZORAM', 15),
(90, 'TRIPURA', 16),
(91, 'MEGHLAYA', 17),
(92, 'ASSAM', 18),
(93, 'WEST BENGAL', 19),
(94, 'JHARKHAND', 20),
(95, 'ODISHA', 21),
(96, 'CHATTISGARH', 22),
(97, '<NAME>', 23),
(98, 'GUJARAT', 24),
(99, '<NAME>', 25),
(100, '<NAME> <NAME>', 26),
(101, 'MAHARASHTRA', 27),
(102, '<NAME>(BEFORE DIVISION)', 28),
(103, 'KARNATAKA', 29),
(104, 'GOA', 30),
(105, 'LAKSHWADEEP', 31),
(106, 'KERALA', 32),
(107, '<NAME>', 33),
(108, 'PUDUCHERRY', 34),
(109, 'ANDAMAN AND NICOBAR ISLANDS', 35),
(110, 'TELANGANA', 36),
(111, '<NAME> (NEW)', 37);
-- --------------------------------------------------------
--
-- Table structure for table `gst_wholesale_bill`
--
CREATE TABLE `gst_wholesale_bill` (
`wholesale_id` int(11) NOT NULL,
`wholesale_uuid` varchar(36) NOT NULL,
`wholesale_name` varchar(255) NOT NULL,
`wholesale_address` varchar(1000) NOT NULL,
`wholesale_state_code` int(11) NOT NULL,
`wholesale_gst_number` varchar(20) NOT NULL,
`wholesale_generatedt` varchar(255) NOT NULL,
`wholesale_invoice_number` varchar(100) NOT NULL,
`wholesale_cgst` varchar(5) NOT NULL,
`wholesale_sgst` varchar(5) NOT NULL,
`wholesale_igst` varchar(5) NOT NULL,
`wholesale_company_uuid` varchar(36) NOT NULL,
`wholesale_createdt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`wholesale_modifydt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`wholesale_status` int(11) NOT NULL DEFAULT '1',
`wholesale_dealer_tag` varchar(36) NOT NULL,
`wholesale_user_uuid` varchar(36) NOT NULL,
`wholesale_mobile_no` varchar(15) NOT NULL,
`wholesale_customer_uuid` varchar(36) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `gst_wholesale_bill`
--
INSERT INTO `gst_wholesale_bill` (`wholesale_id`, `wholesale_uuid`, `wholesale_name`, `wholesale_address`, `wholesale_state_code`, `wholesale_gst_number`, `wholesale_generatedt`, `wholesale_invoice_number`, `wholesale_cgst`, `wholesale_sgst`, `wholesale_igst`, `wholesale_company_uuid`, `wholesale_createdt`, `wholesale_modifydt`, `wholesale_status`, `wholesale_dealer_tag`, `wholesale_user_uuid`, `wholesale_mobile_no`, `wholesale_customer_uuid`) VALUES
(16, '55c19ce8-5eaf-420a-ae0c-63cc73ccde71', '<NAME>', 'Varachha', 24, '22AAAAA0000A1Z5', '2017-10-12', 'INKLHUGTYBVFGHNJ', '1.5', '1.5', '3.00', 'f04eaebb-f5e6-449f-951b-790f912e0f91', '2017-10-12 14:34:35', '2017-11-17 16:00:04', 1, '52e585ae-2a9a-4f0c-a938-51e443475e4a', '25156856-44ae-4a97-886b-66fbf4c69f53', '8546971230', 'eb273c19-8790-4198-a169-f9bacf1113b6'),
(19, 'ee2abe5a-c605-4e8a-89a7-73a6d7e3c4ac', '<NAME>', 'Varachha', 24, '24AFLPP0771E1ZD', '2017-11-09', 'RAJ/17-18-000068', '1.5', '1.5', '', '66f2828c-6fdd-499e-ba30-f6ed1c2ebec3', '2017-11-09 05:49:44', '2017-11-12 07:10:20', 1, 'eeaadb0b-ee18-4bfd-a936-a53ce43559a9', '3fcee151-95cb-4ae9-a3da-ef3bcf48e569', '7894561230', ''),
(25, 'b70be46f-eba6-41da-8f1e-eec843c72abb', 'Vishal', 'Hhhhh', 7, '22AAAAA0000A1Z5', '2017-11-16', 'RJD/000000012', '1.5', '1.5', '3.0', '66f2828c-6fdd-499e-ba30-f6ed1c2ebec3', '2017-11-12 07:39:11', '2017-11-12 07:39:11', 1, 'eeaadb0b-ee18-4bfd-a936-a53ce43559a9', '3fcee151-95cb-4ae9-a3da-ef3bcf48e569', '9796456645', ''),
(26, 'f4d79a87-1cfd-434c-acf7-399677e38a95', '', '', 0, '', '2017-11-07', 'RJD/00000001', '1.5', '1.5', '3.0', '4ffc8533-e3b6-470f-95e7-295b0a5a5dc5', '2017-11-17 15:21:32', '2017-11-17 15:28:08', 1, '52e585ae-2a9a-4f0c-a938-51e443475e4a', '25156856-44ae-4a97-886b-66fbf4c69f53', '', 'eb273c19-8790-4198-a169-f9bacf1113b3'),
(27, '6c46218a-5446-4592-9f4a-d5f536aaa066', '', '', 0, '', '2017-12-05', 'RJD/00000002', '1.5', '1.5', '3.0', 'f04eaebb-f5e6-449f-951b-790f912e0f91', '2017-11-17 16:31:01', '2017-11-17 16:34:31', 1, '52e585ae-2a9a-4f0c-a938-51e443475e4a', '25156856-44ae-4a97-886b-66fbf4c69f53', '', 'eb273c19-8790-4198-a169-f9bacf1113b6');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `gst_bill_description`
--
ALTER TABLE `gst_bill_description`
ADD PRIMARY KEY (`description_id`,`description_uuid`);
--
-- Indexes for table `gst_cities`
--
ALTER TABLE `gst_cities`
ADD PRIMARY KEY (`city_id`);
--
-- Indexes for table `gst_company`
--
ALTER TABLE `gst_company`
ADD PRIMARY KEY (`company_id`,`company_uuid`);
--
-- Indexes for table `gst_customer`
--
ALTER TABLE `gst_customer`
ADD PRIMARY KEY (`customer_id`,`customer_uuid`);
--
-- Indexes for table `gst_package`
--
ALTER TABLE `gst_package`
ADD PRIMARY KEY (`package_id`);
--
-- Indexes for table `gst_registration`
--
ALTER TABLE `gst_registration`
ADD PRIMARY KEY (`user_id`,`user_uuid`,`user_email`);
--
-- Indexes for table `gst_setting`
--
ALTER TABLE `gst_setting`
ADD PRIMARY KEY (`setting_id`,`setting_uuid`);
--
-- Indexes for table `gst_state`
--
ALTER TABLE `gst_state`
ADD PRIMARY KEY (`state_id`);
--
-- Indexes for table `gst_wholesale_bill`
--
ALTER TABLE `gst_wholesale_bill`
ADD PRIMARY KEY (`wholesale_id`,`wholesale_uuid`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `gst_bill_description`
--
ALTER TABLE `gst_bill_description`
MODIFY `description_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=35;
--
-- AUTO_INCREMENT for table `gst_cities`
--
ALTER TABLE `gst_cities`
MODIFY `city_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1624;
--
-- AUTO_INCREMENT for table `gst_company`
--
ALTER TABLE `gst_company`
MODIFY `company_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT for table `gst_customer`
--
ALTER TABLE `gst_customer`
MODIFY `customer_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `gst_package`
--
ALTER TABLE `gst_package`
MODIFY `package_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `gst_registration`
--
ALTER TABLE `gst_registration`
MODIFY `user_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `gst_setting`
--
ALTER TABLE `gst_setting`
MODIFY `setting_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `gst_state`
--
ALTER TABLE `gst_state`
MODIFY `state_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=112;
--
-- AUTO_INCREMENT for table `gst_wholesale_bill`
--
ALTER TABLE `gst_wholesale_bill`
MODIFY `wholesale_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28;
/*!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 */;
|
--EXEC tempdb..[usp_AnalyzeSpaceCapacity] @getLogInfo = 1 ,@verbose = 1
/* Created By: <NAME>
Purpose: Get Space Utilization of All DB Files along with Free space on Drives.
This considers even non-accessible DBs
*/
DECLARE @output TABLE (line varchar(2000));
DECLARE @_powershellCMD VARCHAR(400);
DECLARE @mountPointVolumes TABLE ( Volume VARCHAR(200), [Label] VARCHAR(100) NULL, [capacity(MB)] DECIMAL(20,2), [freespace(MB)] DECIMAL(20,2) ,VolumeName VARCHAR(50), [capacity(GB)] DECIMAL(20,2), [freespace(GB)] DECIMAL(20,2), [freespace(%)] DECIMAL(20,2) );
-- Begin: Get Data & Log Mount Point Volumes
SET @_powershellCMD = 'powershell.exe -c "Get-WmiObject -ComputerName ' + QUOTENAME(@@servername,'''') + ' -Class Win32_Volume -Filter ''DriveType = 3'' | select name,Label,capacity,freespace | foreach{$_.name+''|''+$_.Label+''|''+$_.capacity/1048576+''|''+$_.freespace/1048576}"';
--inserting disk name, Label, total space and free space value in to temporary table
INSERT @output
EXEC xp_cmdshell @_powershellCMD;
WITH t_RawData AS
(
SELECT ID = 1,
line,
expression = left(line,CHARINDEX('|',line)-1),
searchExpression = SUBSTRING ( line , CHARINDEX('|',line)+1, LEN(line)+1 ),
delimitorPosition = CHARINDEX('|',SUBSTRING ( line , CHARINDEX('|',line)+1, LEN(line)+1 ))
FROM @output
WHERE line like '[A-Z][:]%'
--line like 'C:\%'
--
UNION all
--
SELECT ID = ID + 1,
line,
expression = CASE WHEN delimitorPosition = 0 THEN searchExpression ELSE left(searchExpression,delimitorPosition-1) END,
searchExpression = CASE WHEN delimitorPosition = 0 THEN NULL ELSE SUBSTRING(searchExpression,delimitorPosition+1,len(searchExpression)+1) END,
delimitorPosition = CASE WHEN delimitorPosition = 0 THEN -1 ELSE CHARINDEX('|',SUBSTRING(searchExpression,delimitorPosition+1,len(searchExpression)+1)) END
FROM t_RawData
WHERE delimitorPosition >= 0
)
,T_Volumes AS
(
SELECT line, [Volume],[Label], [capacity(MB)],[freespace(MB)]
FROM (
SELECT line,
[Column] = CASE ID
WHEN 1
THEN 'Volume'
WHEN 2
THEN 'Label'
WHEN 3
THEN 'capacity(MB)'
WHEN 4
THEN 'freespace(MB)'
ELSE NULL
END,
[Value] = expression
FROM t_RawData
) as up
PIVOT (MAX([Value]) FOR [Column] IN ([Volume],[Label], [capacity(MB)],[freespace(MB)])) as pvt
--ORDER BY LINE
)
INSERT INTO @mountPointVolumes
(Volume, [Label], [capacity(MB)], [freespace(MB)] ,VolumeName, [capacity(GB)], [freespace(GB)], [freespace(%)])
SELECT Volume
,[Label]
,[capacity(MB)] = CAST([capacity(MB)] AS numeric(20,2))
,[freespace(MB)] = CAST([freespace(MB)] AS numeric(20,2))
,[Label] as VolumeName
,CAST((CAST([capacity(MB)] AS numeric(20,2))/1024.0) AS DECIMAL(20,2)) AS [capacity(GB)]
,CAST((CAST([freespace(MB)] AS numeric(20,2))/1024.0) AS DECIMAL(20,2)) AS [freespace(GB)]
,CAST((CAST([freespace(MB)] AS numeric(20,2))*100.0)/[capacity(MB)] AS DECIMAL(20,2)) AS [freespace(%)]
FROM T_Volumes v
WHERE v.Volume LIKE '[A-Z]:\Data\'
OR v.Volume LIKE '[A-Z]:\Data[0-9]\'
OR v.Volume LIKE '[A-Z]:\Data[0-9][0-9]\'
OR v.Volume LIKE '[A-Z]:\Logs\'
OR v.Volume LIKE '[A-Z]:\Logs[0-9]\'
OR v.Volume LIKE '[A-Z]:\Logs[0-9][0-9]\'
OR v.Volume LIKE '[A-Z]:\tempdb\'
OR v.Volume LIKE '[A-Z]:\tempdb[0-9]\'
OR v.Volume LIKE '[A-Z]:\tempdb[0-9][0-9]\'
OR EXISTS (SELECT * FROM sys.master_files as mf WHERE mf.physical_name LIKE (Volume+'%'));
SELECT * FROM @mountPointVolumes; |
# Script per creare le viste materializzate
use stackoverflow_march;
#vista materializzata all Questions
DROP TABLE questions_mv;
CREATE TABLE questions_mv (
q_postID INTEGER NOT NULL PRIMARY KEY
, q_title TEXT
, q_body TEXT
, q_tags TEXT
, q_postDate DATETIME NOT NULL
, q_ownerID INTEGER NOT NULL
, q_acceptedAnswerId INTEGER
, q_answerCount INTEGER
, UNIQUE INDEX pID (q_postID)
, INDEX pDate (q_postDate)
, INDEX pOwner (q_ownerID)
, INDEX pAcceptedAnsw (q_acceptedAnswerId)
);
INSERT INTO questions_mv
SELECT Id, Title, Body, Tags, CreationDate, OwnerUserId, AcceptedAnswerId, AnswerCount
FROM Posts WHERE Posts.PostTypeId = 1 AND Posts.OwnerUserId <> 0
;
#Question Score
DROP TABLE questiondownvotes_mv;
CREATE TABLE questiondownvotes_mv (
d_postID INTEGER NOT NULL
, d_ownerID INTEGER NOT NULL
, d_postDate DATETIME NOT NULL
, d_voteDate DATETIME NOT NULL
, dts_voteDate DATE NOT NULL
, d_voteID INTEGER NOT NULL PRIMARY KEY
, INDEX pID (d_postID)
, INDEX oID (d_ownerID)
, INDEX pDate (d_postDate)
, INDEX vDate (d_voteDate)
, INDEX v_ts_Date (dts_voteDate)
, UNIQUE INDEX vID (d_voteID)
, INDEX user_datavoto (d_ownerID, dts_voteDate)
);
INSERT INTO questiondownvotes_mv
SELECT Posts.Id, Posts.OwnerUserId, Posts.CreationDate, Votes.CreationDate, date(Votes.CreationDate), Votes.Id
FROM Posts INNER JOIN Votes ON Posts.Id = Votes.PostId
WHERE Posts.PostTypeId = 1 AND Votes.VoteTypeId = 3
;
#Materialized View for Question Upvotes
DROP TABLE questionupvotes_mv;
CREATE TABLE questionupvotes_mv (
u_postID INTEGER NOT NULL
, u_ownerID INTEGER NOT NULL
, u_postDate DATETIME NOT NULL
, u_voteDate DATETIME NOT NULL
, uts_voteDate DATE NOT NULL
, u_voteID INTEGER NOT NULL PRIMARY KEY
, INDEX pID (u_postID)
, INDEX oID (u_ownerID)
, INDEX pDate (u_postDate)
, INDEX vDate (u_voteDate)
, INDEX v_ts_Date (uts_voteDate)
, UNIQUE INDEX vID (u_voteID)
, INDEX user_datavoto (u_ownerID, uts_voteDate)
);
INSERT INTO questionupvotes_mv
SELECT Posts.Id, Posts.OwnerUserId, Posts.CreationDate, Votes.CreationDate, date(Votes.CreationDate), Votes.Id
FROM Posts INNER JOIN Votes ON Posts.Id = Votes.PostId
WHERE Posts.PostTypeId = 1 AND Votes.VoteTypeId = 2
;
#Materialized View for Answer Downvotes
DROP TABLE answerdownvotes_mv;
CREATE TABLE answerdownvotes_mv (
d_postID INTEGER NOT NULL
, d_ownerID INTEGER NOT NULL
, d_postDate DATETIME NOT NULL
, d_voteDate DATETIME NOT NULL
, dts_voteDate DATE NOT NULL
, d_voteID INTEGER NOT NULL PRIMARY KEY
, INDEX pID (d_postID)
, INDEX oID (d_ownerID)
, INDEX pDate (d_postDate)
, INDEX vDate (d_voteDate)
, INDEX v_ts_Date (dts_voteDate)
, UNIQUE INDEX vID (d_voteID)
, INDEX user_datavoto (d_ownerID, dts_voteDate)
);
INSERT INTO answerdownvotes_mv
SELECT Posts.Id, Posts.OwnerUserId, Posts.CreationDate, Votes.CreationDate, date(Votes.CreationDate), Votes.Id
FROM Posts INNER JOIN Votes ON Posts.Id = Votes.PostId
WHERE Posts.PostTypeId = 2 AND Votes.VoteTypeId = 3
;
#Materialized View for Answer Upvotes
DROP TABLE answerupvotes_mv;
CREATE TABLE answerupvotes_mv (
u_postID INTEGER NOT NULL
, u_ownerID INTEGER NOT NULL
, u_postDate DATETIME NOT NULL
, u_voteDate DATETIME NOT NULL
, uts_voteDate DATE NOT NULL
, u_voteID INTEGER NOT NULL PRIMARY KEY
, INDEX pID (u_postID)
, INDEX oID (u_ownerID)
, INDEX pDate (u_postDate)
, INDEX vDate (u_voteDate)
, INDEX v_ts_Date (uts_voteDate)
, UNIQUE INDEX vID (u_voteID)
, INDEX user_datavoto (u_ownerID, uts_voteDate)
);
INSERT INTO answerupvotes_mv
SELECT Posts.Id, Posts.OwnerUserId, Posts.CreationDate, Votes.CreationDate, date(Votes.CreationDate), Votes.Id
FROM Posts INNER JOIN Votes ON Posts.Id = Votes.PostId
WHERE Posts.PostTypeId = 2 AND Votes.VoteTypeId = 2
;
#risposte dell'utente accettate da altri
DROP TABLE acceptedanswer_mv;
CREATE TABLE acceptedanswer_mv (
postID INTEGER NOT NULL PRIMARY KEY
, ownerID INTEGER NOT NULL
, postDate DATETIME NOT NULL
, voteDate DATETIME NOT NULL
, ts_voteDate DATE NOT NULL
, voteID INTEGER NOT NULL
, UNIQUE INDEX pID (postID)
, INDEX oID (ownerID)
, INDEX pDate (postDate)
, INDEX vDate (voteDate)
, UNIQUE INDEX vID (voteID)
, INDEX user_dataVoto (ownerID, ts_voteDate)
);
INSERT INTO acceptedanswer_mv
SELECT Posts.Id, Posts.OwnerUserId, Posts.CreationDate, Votes.CreationDate, date(Votes.CreationDate), Votes.Id
FROM Posts INNER JOIN Votes ON Posts.Id = Votes.PostId
WHERE Posts.PostTypeId = 2 AND Votes.VoteTypeId = 1
;
#risposte accettate dall'utente alle sue domande
DROP TABLE questwithacceptedanswer_mv;
CREATE TABLE questwithacceptedanswer_mv (
postID INTEGER NOT NULL PRIMARY KEY
, ownerID INTEGER NOT NULL
, postDate DATETIME NOT NULL
, voteDate DATETIME NOT NULL
, ts_voteDate DATE NOT NULL
, voteID INTEGER NOT NULL
, UNIQUE INDEX pID (postID)
, INDEX pDate (postDate)
, INDEX vDate (voteDate)
, INDEX vID (voteID)
, INDEX user_dataVoto (ownerID, ts_voteDate)
);
INSERT INTO questwithacceptedanswer_mv
SELECT q_postID, q_ownerID, q_postDate, Votes.CreationDate, date(Votes.CreationDate), Votes.Id
FROM questions_mv INNER JOIN Votes ON questions_mv.q_acceptedAnswerId = Votes.PostId
WHERE questions_mv.q_acceptedAnswerId IS NOT NULL AND Votes.VoteTypeId = 1
;
# userscommentquestions_mv
# Vista materializzata: Contiene tutti i commenti che un utente di una domanda ha scritto alla sua domanda
DROP TABLE userscommentsquestions_mv;
CREATE TABLE userscommentsquestions_mv (
c_Id INTEGER NOT NULL PRIMARY KEY
, q_Id INTEGER NOT NULL
, userId INTEGER NOT NULL
, c_text TEXT
, c_ts_creationDate DATE NOT NULL
, INDEX idx_c_Id (c_Id)
, INDEX idx_q_Id (q_Id)
, INDEX idx_userId (userId)
, INDEX idx_c_ts_creationDate (c_ts_creationDate)
, INDEX idx_quest_dataVoto(q_Id, c_ts_creationDate)
);
INSERT INTO userscommentsquestions_mv
SELECT Comments.Id as c_Id, questions_mv.q_postID as q_Id, questions_mv.q_ownerID as userId, Comments.Text as c_text, date(Comments.CreationDate) as c_date
FROM questions_mv INNER JOIN Comments ON questions_mv.q_postId = Comments.PostId AND questions_mv.q_ownerId = Comments.UserId;
# Script per creare la tabella questionHistory_mv
# crea una tabella che contiene le domande con PostHistory non nullo
# Utile per estrarre le domande modificate e rimosse
use stackoverflow;
DROP TABLE questionsHistory_mv;
CREATE TABLE questionsHistory_mv (
Id INTEGER NOT NULL PRIMARY KEY
, postID INTEGER
, postHistoryTypeId SMALLINT
, creationDate datetime
, INDEX pID (postID)
, INDEX pDate (creationDate)
);
INSERT INTO questionsHistory_mv SELECT PostHistory.Id, PostHistory.postId, PostHistory.PostHistoryTypeId, PostHistory.CreationDate FROM questions_mv1 INNER JOIN PostHistory ON questions_mv1.q_postID = PostHistory.PostId WHERE PostHistoryTypeId IS NOT NULL;
SELECT postId, creationDate, PostHistoryTypeId FROM qutionsHistory_mv WHERE questionsHistory_mv.creationDate IN (select MAX(creationDate) from questionsHistory_mv a where questionsHistory_mv.postID = a.postId Group by a.postId )AND PostHistoryTypeId ='10' OR PostHistoryTypeId='12';
|
drop schema ims;
CREATE SCHEMA IF NOT EXISTS `ims`;
USE `ims` ;
CREATE TABLE IF NOT EXISTS `ims`.`customers` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`first_name` VARCHAR(40) DEFAULT NULL,
`surname` VARCHAR(40) DEFAULT NULL,
PRIMARY KEY (`id`)
);
CREATE TABLE IF NOT EXISTS `ims`.`items` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`name` VARCHAR(40) NOT NULL,
`value` NUMERIC(8, 2) NOT NULL
PRIMARY KEY (`id`)
);
CREATE TABLE IF NOT EXISTS `ims`.`orders` (
`order_id` INT(11) NOT NULL,
`item_id` INT(11) NOT NULL,
`product_quantity` INT(11) NOT NULL
`customer_id` INT(11) NOT NULL,
PRIMARY KEY (`order_id`, `item_id`),
FOREIGN KEY (`customer_id`) REFERENCES `ims`.`customers`(`customer_id`),
FOREIGN KEY (`item_id`) REFERENCES `ims`.`items`(`id`),
CONSTRAINT nonzeroOP CHECK (`product_quantity` > 0)
);
-- CREATE TABLE IF NOT EXISTS `ims`.`orders` (
-- `order_id` INT(11) NOT NULL AUTO_INCREMENT,
-- `customer_id` INT(11) NOT NULL,
-- PRIMARY KEY (`order_id`),
-- FOREIGN KEY (`customer_id`) REFERENCES `ims`.`customers`(`customer_id`),
-- );
--
-- CREATE TABLE IF NOT EXISTS `ims`.`order_items` (
-- `order_id` INT(11) NOT NULL,
-- `item_id` INT(11) NOT NULL,
-- `product_quantity` INT(11) NOT NULL
-- PRIMARY KEY (`order_id`, `item_id`),
-- FOREIGN KEY (`order_id`) REFERENCES `ims`.`orders`(`order_id`),
-- FOREIGN KEY (`item_id`) REFERENCES `ims`.`items`(`id`),
-- CONSTRAINT nonzeroOP CHECK (`product_quantity` > 0)
-- );
|
<reponame>michellejlim/CiRecognition
CREATE USER 'ci-dev'@'%' IDENTIFIED BY '';
GRANT ALL PRIVILEGES ON *.* TO 'ci-dev'@'%';
ALTER USER 'ci-dev' IDENTIFIED WITH mysql_native_password BY '';
FLUSH PRIVILEGES;
DROP DATABASE CIEmployeeRecognitionSystem;
CREATE DATABASE CIEmployeeRecognitionSystem;
USE CIEmployeeRecognitionSystem;
CREATE TABLE tblEmployee(
id int NOT NULL,
employeeId int NOT NULL,
firstName varchar(255) NOT NULL,
lastName varchar(255) NOT NULL,
emailCompany varchar(255) NULL,
departmentName varchar(255) NULL,
supervisorName varchar(255) NULL,
supervisorEmployeeId int NULL,
isMostRecent boolean NOT NULL,
CONSTRAINT tblEmployee_pk PRIMARY KEY (id)
);
CREATE TABLE Employee_Recognition (
id int NOT NULL,
ci_bucks int NOT NULL,
admin_level varchar(255) NOT NULL,
CONSTRAINT Employee_Recognition_pk PRIMARY KEY (id)
);
-- Table: Nomination
CREATE TABLE Nomination (
id int NOT NULL AUTO_INCREMENT,
reason varchar(255) NULL,
status varchar(255) NOT NULL,
date date NOT NULL,
nominator int NOT NULL,
nominee int NOT NULL,
award int NOT NULL,
CONSTRAINT Nomination_pk PRIMARY KEY (id)
);
-- Table: Nomination_Award
CREATE TABLE Nomination_Award (
id int NOT NULL,
name varchar(255) NOT NULL,
award_amount int NOT NULL,
CONSTRAINT Nomination_Award_pk PRIMARY KEY (id)
);
-- Reference: Nomination_Employee_Nominator (table: Nomination)
ALTER TABLE Nomination ADD CONSTRAINT Nomination_Employee_Nominator FOREIGN KEY Nomination_Employee_Nominator (nominee)
REFERENCES Employee_Recognition (id);
-- Reference: Nomination_Employee_Nominee (table: Nomination)
ALTER TABLE Nomination ADD CONSTRAINT Nomination_Employee_Nominee FOREIGN KEY Nomination_Employee_Nominee (nominator)
REFERENCES Employee_Recognition (id);
-- Reference: Nomination_Nomination_Award (table: Nomination)
ALTER TABLE Nomination ADD CONSTRAINT Nomination_Nomination_Award FOREIGN KEY Nomination_Nomination_Award (award)
REFERENCES Nomination_Award (id);
INSERT INTO Nomination_Award
VALUES(1, "Exceptional Teaching", 10);
INSERT INTO Nomination_Award
VALUES(2, "Kindness", 10);
INSERT INTO Nomination_Award
VALUES(3, "Perfect Attendence (Monthly)", 10);
INSERT INTO Nomination_Award
VALUES(4, "Other", 10);
INSERT INTO tblEmployee
VALUES(1, 11, "Jarrek", "Holmes", "<EMAIL>","IS", "Vivian", 55, true);
INSERT INTO tblEmployee
VALUES(2, 22, "Michelle", "Lim", "<EMAIL>","IS", "Jarrek", 11, true);
INSERT INTO tblEmployee
VALUES(3, 33, "Chris", "Mader", "<EMAIL>", "CI", "Vivian", 55, true);
INSERT INTO tblEmployee
VALUES(4, 44, "Brian", "Furfari", "<EMAIL>", "CI", "Vivian", 55, true);
INSERT INTO tblEmployee
VALUES(5, 55, "Vivian", "Huang", "<EMAIL>","IS", "Jarrek", 11, false);
INSERT INTO tblEmployee
VALUES(6, 55, "Viv", "Huang", "<EMAIL>","IS", "Jarrek", 11, true);
INSERT INTO Employee_Recognition
VALUES(11, 10, "user");
INSERT INTO Employee_Recognition
VALUES(22, 23, "user");
INSERT INTO Employee_Recognition
VALUES(33, 12, "user");
INSERT INTO Employee_Recognition
VALUES(44, 10, "user");
INSERT INTO Employee_Recognition
VALUES(55, 23, "admin");
INSERT INTO Nomination
VALUES(1, "You're so great", "approved", '2020-03-21', 11, 22, 1);
INSERT INTO Nomination
VALUES(2, "You're so great", "denied", '2020-03-21', 11, 22, 3);
INSERT INTO Nomination
VALUES(3, "You're so great", "pending", '2020-03-20', 11, 33, 1);
INSERT INTO Nomination
VALUES(4, "You're so great", "approved", '2020-03-19', 22, 11, 2);
INSERT INTO Nomination
VALUES(5, "You're so great", "pending", '2020-03-02', 33, 11, 3);
INSERT INTO Nomination
VALUES(6, "You're so great", "pending", '2020-01-21', 33, 22, 1);
|
-- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 21, 2022 at 03:54 AM
-- Server version: 10.4.14-MariaDB
-- PHP Version: 7.4.9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
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: `it_syamrabu`
--
-- --------------------------------------------------------
--
-- Table structure for table `pelatihan_karyawan`
--
CREATE TABLE `pelatihan_karyawan` (
`id` int(11) NOT NULL,
`tgl_update` date NOT NULL DEFAULT current_timestamp(),
`nama` int(11) NOT NULL,
`nama_pelatihan` varchar(100) NOT NULL,
`tgl_mulai_pelatihan` date NOT NULL,
`tgl_selesai_pelatihan` date NOT NULL,
`durasi_pelatihan` varchar(30) NOT NULL,
`no_sertifikat` varchar(100) NOT NULL,
`file_sertifikat` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `pelatihan_karyawan`
--
INSERT INTO `pelatihan_karyawan` (`id`, `tgl_update`, `nama`, `nama_pelatihan`, `tgl_mulai_pelatihan`, `tgl_selesai_pelatihan`, `durasi_pelatihan`, `no_sertifikat`, `file_sertifikat`) VALUES
(4, '0000-00-00', 123458, 'pelatihan up', '2022-04-01', '2022-04-04', '30 jam', '102/87/a/2020', ''),
(7, '0000-00-00', 6, 'digitalent', '2022-04-14', '2022-04-07', 'hg', 'hi', 'Sertifikat_Pelatihan_Nurhayati_Fitriani.pdf'),
(11, '2022-04-10', 6, 'jjk', '2022-04-07', '0000-00-00', 'k', 'j', 'Sertifikat_Pelatihan_Nurhayati_Fitriani1.pdf'),
(12, '2022-04-19', 6, 'gggg', '2022-03-29', '2022-04-19', 'gg', 'ggg', 'Sertifikat_Pelatihan_Nurhayati_Fitriani2.pdf');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `pelatihan_karyawan`
--
ALTER TABLE `pelatihan_karyawan`
ADD PRIMARY KEY (`id`),
ADD KEY `id` (`nama`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `pelatihan_karyawan`
--
ALTER TABLE `pelatihan_karyawan`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `pelatihan_karyawan`
--
ALTER TABLE `pelatihan_karyawan`
ADD CONSTRAINT `pelatihan_karyawan_ibfk_1` FOREIGN KEY (`nama`) REFERENCES `karyawan` (`id`) ON DELETE CASCADE;
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 */;
|
<reponame>j-adamczyk/AWS_serverless_BI_pipeline<gh_stars>0
CREATE OR REPLACE VIEW ten_most_active_cities AS
SELECT city, SUM(review_count) AS total_review_count
FROM "yelp"."business" AS business
GROUP BY city
ORDER BY SUM(review_count) DESC
LIMIT 10; |
CREATE TABLE `doctoraldb`.`phdcommittee` (
`StudentId` VARCHAR(45) NOT NULL,
`InstructorId` VARCHAR(45) NOT NULL,
PRIMARY KEY (`StudentId`,`InstructorId`),
FOREIGN KEY (`StudentId`) REFERENCES `doctoraldb`.`phdstudent` (`StudentId`),
FOREIGN KEY (`InstructorId`) REFERENCES `doctoraldb`.`tt` (`InstructorId`));
|
<filename>src/SQL/movies/insert_movie.sql
insert into movie (title, created_at, duration) values (:title, :created_at, :duration) |
--
-- PostgreSQL database dump
--
-- Dumped from database version 13.4
-- Dumped by pg_dump version 13.4
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
--
-- Name: postgis; Type: EXTENSION; Schema: -; Owner: -
--
CREATE EXTENSION IF NOT EXISTS postgis WITH SCHEMA public;
--
-- Name: EXTENSION postgis; Type: COMMENT; Schema: -; Owner:
--
COMMENT ON EXTENSION postgis IS 'PostGIS geometry and geography spatial types and functions';
SET default_tablespace = '';
SET default_table_access_method = heap;
--
-- Name: data_ver; Type: TABLE; Schema: public; Owner: insights
--
CREATE TABLE public.data_ver (
id integer NOT NULL,
created_at timestamp with time zone,
updated_at timestamp with time zone,
deleted_at timestamp with time zone,
census_year integer,
ver_string text,
source text,
notes text,
public boolean
);
ALTER TABLE public.data_ver OWNER TO insights;
--
-- Name: geo; Type: TABLE; Schema: public; Owner: insights
--
CREATE TABLE public.geo (
id integer NOT NULL,
type_id integer,
code text,
name text,
welsh_name text,
lat numeric,
long numeric,
valid boolean DEFAULT true,
wkb_geometry public.geometry(Geometry,4326),
wkb_long_lat_geom public.geometry(Geometry,4326)
);
ALTER TABLE public.geo OWNER TO insights;
--
-- Name: geo_id_seq; Type: SEQUENCE; Schema: public; Owner: insights
--
CREATE SEQUENCE public.geo_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public.geo_id_seq OWNER TO insights;
--
-- Name: geo_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: insights
--
ALTER SEQUENCE public.geo_id_seq OWNED BY public.geo.id;
--
-- Name: geo_metric; Type: TABLE; Schema: public; Owner: insights
--
CREATE TABLE public.geo_metric (
id integer NOT NULL,
geo_id integer,
category_id integer,
metric numeric,
data_ver_id integer
);
ALTER TABLE public.geo_metric OWNER TO insights;
--
-- Name: geo_metric_id_seq; Type: SEQUENCE; Schema: public; Owner: insights
--
CREATE SEQUENCE public.geo_metric_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public.geo_metric_id_seq OWNER TO insights;
--
-- Name: geo_metric_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: insights
--
ALTER SEQUENCE public.geo_metric_id_seq OWNED BY public.geo_metric.id;
--
-- Name: geo_type; Type: TABLE; Schema: public; Owner: insights
--
CREATE TABLE public.geo_type (
id integer NOT NULL,
name text
);
ALTER TABLE public.geo_type OWNER TO insights;
--
-- Name: lsoa2011_lad2020_lookup; Type: TABLE; Schema: public; Owner: insights
--
CREATE TABLE public.lsoa2011_lad2020_lookup (
id integer NOT NULL,
lsoa2011code text,
lad2020code text
);
ALTER TABLE public.lsoa2011_lad2020_lookup OWNER TO insights;
--
-- Name: lsoa2011_lad2020_lookup_id_seq; Type: SEQUENCE; Schema: public; Owner: insights
--
CREATE SEQUENCE public.lsoa2011_lad2020_lookup_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public.lsoa2011_lad2020_lookup_id_seq OWNER TO insights;
--
-- Name: lsoa2011_lad2020_lookup_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: insights
--
ALTER SEQUENCE public.lsoa2011_lad2020_lookup_id_seq OWNED BY public.lsoa2011_lad2020_lookup.id;
--
-- Name: nomis_category; Type: TABLE; Schema: public; Owner: insights
--
CREATE TABLE public.nomis_category (
id integer NOT NULL,
nomis_desc_id integer NOT NULL,
category_name text,
measurement_unit text,
stat_unit text,
long_nomis_code text,
year integer
);
ALTER TABLE public.nomis_category OWNER TO insights;
--
-- Name: nomis_category_id_seq; Type: SEQUENCE; Schema: public; Owner: insights
--
CREATE SEQUENCE public.nomis_category_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public.nomis_category_id_seq OWNER TO insights;
--
-- Name: nomis_category_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: insights
--
ALTER SEQUENCE public.nomis_category_id_seq OWNED BY public.nomis_category.id;
--
-- Name: nomis_desc; Type: TABLE; Schema: public; Owner: insights
--
CREATE TABLE public.nomis_desc (
id integer NOT NULL,
nomis_topic_id integer NOT NULL,
name text,
pop_stat text,
short_nomis_code text,
year integer
);
ALTER TABLE public.nomis_desc OWNER TO insights;
--
-- Name: nomis_desc_id_seq; Type: SEQUENCE; Schema: public; Owner: insights
--
CREATE SEQUENCE public.nomis_desc_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public.nomis_desc_id_seq OWNER TO insights;
--
-- Name: nomis_desc_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: insights
--
ALTER SEQUENCE public.nomis_desc_id_seq OWNED BY public.nomis_desc.id;
--
-- Name: nomis_topic; Type: TABLE; Schema: public; Owner: insights
--
CREATE TABLE public.nomis_topic (
id integer NOT NULL,
top_nomis_code text,
name text
);
ALTER TABLE public.nomis_topic OWNER TO insights;
--
-- Name: nomis_topic_id_seq; Type: SEQUENCE; Schema: public; Owner: insights
--
CREATE SEQUENCE public.nomis_topic_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public.nomis_topic_id_seq OWNER TO insights;
--
-- Name: nomis_topic_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: insights
--
ALTER SEQUENCE public.nomis_topic_id_seq OWNED BY public.nomis_topic.id;
--
-- Name: postcode; Type: TABLE; Schema: public; Owner: insights
--
CREATE TABLE public.postcode (
id integer NOT NULL,
geo_id integer,
pcds text
);
ALTER TABLE public.postcode OWNER TO insights;
--
-- Name: postcode_id_seq; Type: SEQUENCE; Schema: public; Owner: insights
--
CREATE SEQUENCE public.postcode_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public.postcode_id_seq OWNER TO insights;
--
-- Name: postcode_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: insights
--
ALTER SEQUENCE public.postcode_id_seq OWNED BY public.postcode.id;
--
-- Name: schema_ver; Type: TABLE; Schema: public; Owner: insights
--
CREATE TABLE public.schema_ver (
id bigint NOT NULL,
created_at timestamp with time zone,
updated_at timestamp with time zone,
deleted_at timestamp with time zone,
build_time text,
git_commit text,
version text
);
ALTER TABLE public.schema_ver OWNER TO insights;
--
-- Name: schema_ver_id_seq; Type: SEQUENCE; Schema: public; Owner: insights
--
CREATE SEQUENCE public.schema_ver_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public.schema_ver_id_seq OWNER TO insights;
--
-- Name: schema_ver_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: insights
--
ALTER SEQUENCE public.schema_ver_id_seq OWNED BY public.schema_ver.id;
--
-- Name: geo id; Type: DEFAULT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.geo ALTER COLUMN id SET DEFAULT nextval('public.geo_id_seq'::regclass);
--
-- Name: geo_metric id; Type: DEFAULT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.geo_metric ALTER COLUMN id SET DEFAULT nextval('public.geo_metric_id_seq'::regclass);
--
-- Name: lsoa2011_lad2020_lookup id; Type: DEFAULT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.lsoa2011_lad2020_lookup ALTER COLUMN id SET DEFAULT nextval('public.lsoa2011_lad2020_lookup_id_seq'::regclass);
--
-- Name: nomis_category id; Type: DEFAULT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.nomis_category ALTER COLUMN id SET DEFAULT nextval('public.nomis_category_id_seq'::regclass);
--
-- Name: nomis_desc id; Type: DEFAULT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.nomis_desc ALTER COLUMN id SET DEFAULT nextval('public.nomis_desc_id_seq'::regclass);
--
-- Name: nomis_topic id; Type: DEFAULT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.nomis_topic ALTER COLUMN id SET DEFAULT nextval('public.nomis_topic_id_seq'::regclass);
--
-- Name: postcode id; Type: DEFAULT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.postcode ALTER COLUMN id SET DEFAULT nextval('public.postcode_id_seq'::regclass);
--
-- Name: schema_ver id; Type: DEFAULT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.schema_ver ALTER COLUMN id SET DEFAULT nextval('public.schema_ver_id_seq'::regclass);
--
-- Name: data_ver data_ver_pkey; Type: CONSTRAINT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.data_ver
ADD CONSTRAINT data_ver_pkey PRIMARY KEY (id);
--
-- Name: geo_metric geo_metric_pkey; Type: CONSTRAINT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.geo_metric
ADD CONSTRAINT geo_metric_pkey PRIMARY KEY (id);
--
-- Name: geo geo_pkey; Type: CONSTRAINT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.geo
ADD CONSTRAINT geo_pkey PRIMARY KEY (id);
--
-- Name: geo_type geo_type_pkey; Type: CONSTRAINT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.geo_type
ADD CONSTRAINT geo_type_pkey PRIMARY KEY (id);
--
-- Name: lsoa2011_lad2020_lookup lsoa2011_lad2020_lookup_pkey; Type: CONSTRAINT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.lsoa2011_lad2020_lookup
ADD CONSTRAINT lsoa2011_lad2020_lookup_pkey PRIMARY KEY (id);
--
-- Name: nomis_category nomis_category_pkey; Type: CONSTRAINT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.nomis_category
ADD CONSTRAINT nomis_category_pkey PRIMARY KEY (id, nomis_desc_id);
--
-- Name: nomis_desc nomis_desc_pkey; Type: CONSTRAINT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.nomis_desc
ADD CONSTRAINT nomis_desc_pkey PRIMARY KEY (id, nomis_topic_id);
--
-- Name: nomis_topic nomis_topic_pkey; Type: CONSTRAINT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.nomis_topic
ADD CONSTRAINT nomis_topic_pkey PRIMARY KEY (id);
--
-- Name: postcode postcode_pkey; Type: CONSTRAINT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.postcode
ADD CONSTRAINT postcode_pkey PRIMARY KEY (id);
--
-- Name: schema_ver schema_ver_pkey; Type: CONSTRAINT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.schema_ver
ADD CONSTRAINT schema_ver_pkey PRIMARY KEY (id);
--
-- Name: geo_long_lat_geom_idx; Type: INDEX; Schema: public; Owner: insights
--
CREATE INDEX geo_long_lat_geom_idx ON public.geo USING gist (wkb_long_lat_geom);
--
-- Name: geo_wkb_geometry_geom_idx; Type: INDEX; Schema: public; Owner: insights
--
CREATE INDEX geo_wkb_geometry_geom_idx ON public.geo USING gist (wkb_geometry);
--
-- Name: idx_data_ver_deleted_at; Type: INDEX; Schema: public; Owner: insights
--
CREATE INDEX idx_data_ver_deleted_at ON public.data_ver USING btree (deleted_at);
--
-- Name: idx_geo_metric_category_id; Type: INDEX; Schema: public; Owner: insights
--
CREATE INDEX idx_geo_metric_category_id ON public.geo_metric USING btree (category_id);
--
-- Name: idx_geo_metric_geo_id; Type: INDEX; Schema: public; Owner: insights
--
CREATE INDEX idx_geo_metric_geo_id ON public.geo_metric USING btree (geo_id);
--
-- Name: idx_nomis_category_id; Type: INDEX; Schema: public; Owner: insights
--
CREATE UNIQUE INDEX idx_nomis_category_id ON public.nomis_category USING btree (id);
--
-- Name: idx_nomis_category_long_nomis_code; Type: INDEX; Schema: public; Owner: insights
--
CREATE UNIQUE INDEX idx_nomis_category_long_nomis_code ON public.nomis_category USING btree (long_nomis_code);
--
-- Name: idx_nomis_desc_id; Type: INDEX; Schema: public; Owner: insights
--
CREATE UNIQUE INDEX idx_nomis_desc_id ON public.nomis_desc USING btree (id);
--
-- Name: idx_nomis_desc_short_nomis_code; Type: INDEX; Schema: public; Owner: insights
--
CREATE UNIQUE INDEX idx_nomis_desc_short_nomis_code ON public.nomis_desc USING btree (short_nomis_code);
--
-- Name: idx_postcode_geo_id; Type: INDEX; Schema: public; Owner: insights
--
CREATE INDEX idx_postcode_geo_id ON public.postcode USING btree (geo_id);
--
-- Name: idx_schema_ver_deleted_at; Type: INDEX; Schema: public; Owner: insights
--
CREATE INDEX idx_schema_ver_deleted_at ON public.schema_ver USING btree (deleted_at);
--
-- Name: unique; Type: INDEX; Schema: public; Owner: insights
--
CREATE UNIQUE INDEX "unique" ON public.geo USING btree (code);
--
-- Name: geo_metric fk_data_ver_go_metrics; Type: FK CONSTRAINT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.geo_metric
ADD CONSTRAINT fk_data_ver_go_metrics FOREIGN KEY (data_ver_id) REFERENCES public.data_ver(id);
--
-- Name: geo_metric fk_geo_go_metrics; Type: FK CONSTRAINT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.geo_metric
ADD CONSTRAINT fk_geo_go_metrics FOREIGN KEY (geo_id) REFERENCES public.geo(id);
--
-- Name: postcode fk_geo_post_codes; Type: FK CONSTRAINT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.postcode
ADD CONSTRAINT fk_geo_post_codes FOREIGN KEY (geo_id) REFERENCES public.geo(id);
--
-- Name: geo fk_geo_type_geos; Type: FK CONSTRAINT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.geo
ADD CONSTRAINT fk_geo_type_geos FOREIGN KEY (type_id) REFERENCES public.geo_type(id);
--
-- Name: geo_metric fk_nomis_category_go_metrics; Type: FK CONSTRAINT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.geo_metric
ADD CONSTRAINT fk_nomis_category_go_metrics FOREIGN KEY (category_id) REFERENCES public.nomis_category(id);
--
-- Name: nomis_category fk_nomis_desc_nomis_categories; Type: FK CONSTRAINT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.nomis_category
ADD CONSTRAINT fk_nomis_desc_nomis_categories FOREIGN KEY (nomis_desc_id) REFERENCES public.nomis_desc(id);
--
-- Name: nomis_desc fk_nomis_topic_nomis_descs; Type: FK CONSTRAINT; Schema: public; Owner: insights
--
ALTER TABLE ONLY public.nomis_desc
ADD CONSTRAINT fk_nomis_topic_nomis_descs FOREIGN KEY (nomis_topic_id) REFERENCES public.nomis_topic(id);
--
-- PostgreSQL database dump complete
--
|
<filename>moat370/database/mysql/mysql_pre.sql<gh_stars>1-10
-- get average number of CPUs
select @sum_cpu_count := `COUNT` from INFORMATION_SCHEMA.INNODB_METRICS where name = 'cpu_n';
-- get total number of CPUs
SET @avg_cpu_count := @sum_cpu_count;
-- get average number of Cores
SET @avg_core_count := @sum_cpu_count;
-- get average number of Threads
SET @avg_thread_count := @sum_cpu_count;
-- get number of Hosts
SET @hosts_count := 1;
-- get spid
SELECT @moat370_spid := `x` FROM (select CONNECTION_ID() x) t;
-- get threadid
SELECT @thread_id := `THREAD_ID` FROM performance_schema.threads where PROCESSLIST_ID = @moat370_spid;
-- get database name
SELECT @database_name := `x` FROM (select IFNULL(DATABASE(),'root') x) t;
-- get host name
SET @host_name := @@hostname;
-- get rdbms version
SELECT @db_version := `x` FROM (select VERSION() x) t; |
-- file:insert.sql ln:295 expect:true
insert into key_desc values (1, 1)
|
CREATE USER typeorm;
CREATE DATABASE typeorm;
GRANT ALL PRIVILEGES ON typeorm.* TO typeorm;
|
-- 2022-02-13T08:30:53.069Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value,ValueName) VALUES (0,0,543130,541463,TO_TIMESTAMP('2022-02-13 10:30:52','YYYY-MM-DD HH24:MI:SS'),100,'EE01','Y','Scan Scale Device',TO_TIMESTAMP('2022-02-13 10:30:52','YYYY-MM-DD HH24:MI:SS'),100,'ScanScaleDevice','ScanScaleDevice')
;
-- 2022-02-13T08:30:53.074Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,IsActive) SELECT l.AD_Language, t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,'Y' FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y'AND (l.IsSystemLanguage='Y') AND t.AD_Ref_List_ID=543130 AND NOT EXISTS (SELECT 1 FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID)
;
-- 2022-02-13T08:33:04.980Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,580570,0,'CurrentScaleDeviceId',TO_TIMESTAMP('2022-02-13 10:33:04','YYYY-MM-DD HH24:MI:SS'),100,'EE01','Y','Current Scale DeviceId','Current Scale DeviceId',TO_TIMESTAMP('2022-02-13 10:33:04','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 2022-02-13T08:33:04.985Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, CommitWarning,Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName,WEBUI_NameBrowse,WEBUI_NameNew,WEBUI_NameNewBreadcrumb, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,IsActive) SELECT l.AD_Language, t.AD_Element_ID, t.CommitWarning,t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName,t.WEBUI_NameBrowse,t.WEBUI_NameNew,t.WEBUI_NameNewBreadcrumb, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,'Y' FROM AD_Language l, AD_Element t WHERE l.IsActive='Y'AND (l.IsSystemLanguage='Y' OR l.IsBaseLanguage='Y') AND t.AD_Element_ID=580570 AND NOT EXISTS (SELECT 1 FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
;
-- 2022-02-13T08:35:07.665Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DDL_NoForeignKey,EntityType,FacetFilterSeqNo,FieldLength,IsActive,IsAdvancedText,IsAllowLogging,IsAlwaysUpdateable,IsAutoApplyValidationRule,IsAutocomplete,IsCalculated,IsDimension,IsDLMPartitionBoundary,IsEncrypted,IsExcludeFromZoomTargets,IsFacetFilter,IsForceIncludeInGeneratedModel,IsGenericZoomKeyColumn,IsGenericZoomOrigin,IsIdentifier,IsKey,IsLazyLoading,IsMandatory,IsParent,IsSelectionColumn,IsShowFilterIncrementButtons,IsShowFilterInline,IsStaleable,IsSyncDatabase,IsTranslated,IsUpdateable,IsUseDocSequence,MaxFacetsToFetch,Name,SelectionColumnSeqNo,SeqNo,Updated,UpdatedBy,Version) VALUES (0,579245,580570,0,10,53027,'CurrentScaleDeviceId',TO_TIMESTAMP('2022-02-13 10:35:07','YYYY-MM-DD HH24:MI:SS'),100,'N','EE01',0,255,'Y','N','Y','N','N','N','N','N','N','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N',0,'Current Scale DeviceId',0,0,TO_TIMESTAMP('2022-02-13 10:35:07','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 2022-02-13T08:35:07.669Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,IsActive) SELECT l.AD_Language, t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,'Y' FROM AD_Language l, AD_Column t WHERE l.IsActive='Y'AND (l.IsSystemLanguage='Y') AND t.AD_Column_ID=579245 AND NOT EXISTS (SELECT 1 FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
;
-- 2022-02-13T08:35:07.708Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_Column_Translation_From_AD_Element(580570)
;
-- 2022-02-13T08:35:13.240Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ SELECT public.db_alter_table('PP_Order','ALTER TABLE public.PP_Order ADD COLUMN CurrentScaleDeviceId VARCHAR(255)')
;
|
<gh_stars>0
INSERT INTO SAM_TYPE_T (TYPEID ,AUTHORITY ,DOMAIN, KEYWORD,
DESCRIPTION,
STATUS, CREATEDBY, CREATEDDATE, LASTMODIFIEDBY,
LASTMODIFIEDDATE )
VALUES (142 , 'stanford.edu' ,'assessment.template.system' ,'System Defined' ,NULL ,1 ,1 ,
SYSDATE,1 ,SYSDATE);
UPDATE SAM_ASSESSMENTBASE_T SET TYPEID=142 WHERE ID=1;
UPDATE SAM_ASSESSMENTBASE_T SET TITLE='Default Assessment Type' WHERE ID=1;
INSERT INTO SAM_ASSESSMENTBASE_T (ID ,ISTEMPLATE ,
PARENTID ,TITLE ,DESCRIPTION ,COMMENTS,
ASSESSMENTTEMPLATEID, TYPEID, INSTRUCTORNOTIFICATION,
TESTEENOTIFICATION , MULTIPARTALLOWED, STATUS,
CREATEDBY, CREATEDDATE, LASTMODIFIEDBY,
LASTMODIFIEDDATE )
VALUES (sam_assessmentBase_id_s.nextVal,1 ,0 ,'Formative Assessment' , 'System Defined Assessment Type', '', NULL
,'142' ,1 ,1 ,1 ,1 ,'admin' ,SYSDATE ,'admin' ,SYSDATE )
;
INSERT INTO SAM_ASSESSEVALUATION_T (ASSESSMENTID,
EVALUATIONCOMPONENTS, SCORINGTYPE, NUMERICMODELID,
FIXEDTOTALSCORE, GRADEAVAILABLE, ISSTUDENTIDPUBLIC,
ANONYMOUSGRADING, AUTOSCORING,TOGRADEBOOK)
VALUES ((SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'' ,1 ,'' , NULL , NULL , NULL ,1 , NULL ,2 )
;
INSERT INTO SAM_ASSESSFEEDBACK_T (ASSESSMENTID,
FEEDBACKDELIVERY, FEEDBACKAUTHORING, SHOWQUESTIONTEXT, SHOWSTUDENTRESPONSE,
SHOWCORRECTRESPONSE, SHOWSTUDENTSCORE, SHOWSTUDENTQUESTIONSCORE,
SHOWQUESTIONLEVELFEEDBACK, SHOWSELECTIONLEVELFEEDBACK,
SHOWGRADERCOMMENTS, SHOWSTATISTICS, EDITCOMPONENTS)
VALUES ((SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
1 ,3, 1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 )
;
INSERT INTO SAM_ASSESSACCESSCONTROL_T (ASSESSMENTID,
SUBMISSIONSALLOWED, SUBMISSIONSSAVED, ASSESSMENTFORMAT,
BOOKMARKINGITEM, TIMELIMIT, TIMEDASSESSMENT,
RETRYALLOWED, LATEHANDLING, STARTDATE, DUEDATE,
SCOREDATE, FEEDBACKDATE, RETRACTDATE, AUTOSUBMIT,
ITEMNAVIGATION, ITEMNUMBERING, SUBMISSIONMESSAGE,
RELEASETO, USERNAME, PASSWORD, FINALPAGEURL,
UNLIMITEDSUBMISSIONS)
VALUES ((SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
NULL,1 ,1 , NULL , NULL , NULL , NULL ,1 ,
NULL, NULL, NULL, NULL, NULL,
1 ,2 ,1 ,'' ,'' ,'' ,'' ,'' ,
1 )
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'finalPageURL_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'anonymousRelease_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'dueDate_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'description_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'metadataQuestions_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'bgImage_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'feedbackComponents_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'retractDate_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'feedbackType_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'timedAssessmentAutoSubmit_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'toGradebook_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'displayChunking_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'recordedScore_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'authenticatedRelease_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'displayNumbering_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'submissionMessage_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'releaseDate_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'assessmentAuthor_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'passwordRequired_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'author', '')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'submissionModel_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'ipAccessType_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'timedAssessment_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'metadataAssess_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'bgColor_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'testeeIdentity_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'templateInfo_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'itemAccessType_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'lateHandling_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Formative Assessment'
AND TYPEID='142' AND ISTEMPLATE=1),
'feedbackAuthoring_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMENTBASE_T (ID ,ISTEMPLATE ,
PARENTID ,TITLE ,DESCRIPTION ,COMMENTS,
ASSESSMENTTEMPLATEID, TYPEID, INSTRUCTORNOTIFICATION,
TESTEENOTIFICATION , MULTIPARTALLOWED, STATUS,
CREATEDBY, CREATEDDATE, LASTMODIFIEDBY,
LASTMODIFIEDDATE )
VALUES (sam_assessmentBase_id_s.nextVal,1 ,0 ,'Quiz' , 'System Defined Assessment Type', '', NULL
,'142' ,1 ,1 ,1 ,1 ,'admin' ,SYSDATE ,'admin' ,SYSDATE )
;
INSERT INTO SAM_ASSESSEVALUATION_T (ASSESSMENTID,
EVALUATIONCOMPONENTS, SCORINGTYPE, NUMERICMODELID,
FIXEDTOTALSCORE, GRADEAVAILABLE, ISSTUDENTIDPUBLIC,
ANONYMOUSGRADING, AUTOSCORING,TOGRADEBOOK)
VALUES ((SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'' ,1 ,'' , NULL , NULL , NULL ,2 , NULL ,2 )
;
INSERT INTO SAM_ASSESSFEEDBACK_T (ASSESSMENTID,
FEEDBACKDELIVERY, FEEDBACKAUTHORING, SHOWQUESTIONTEXT, SHOWSTUDENTRESPONSE,
SHOWCORRECTRESPONSE, SHOWSTUDENTSCORE, SHOWSTUDENTQUESTIONSCORE,
SHOWQUESTIONLEVELFEEDBACK, SHOWSELECTIONLEVELFEEDBACK,
SHOWGRADERCOMMENTS, SHOWSTATISTICS, EDITCOMPONENTS)
VALUES ((SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
2 ,1, 1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 )
;
INSERT INTO SAM_ASSESSACCESSCONTROL_T (ASSESSMENTID,
SUBMISSIONSALLOWED, SUBMISSIONSSAVED, ASSESSMENTFORMAT,
BOOKMARKINGITEM, TIMELIMIT, TIMEDASSESSMENT,
RETRYALLOWED, LATEHANDLING, STARTDATE, DUEDATE,
SCOREDATE, FEEDBACKDATE, RETRACTDATE, AUTOSUBMIT,
ITEMNAVIGATION, ITEMNUMBERING, SUBMISSIONMESSAGE,
RELEASETO, USERNAME, PASSWORD, FINALPAGEURL,
UNLIMITEDSUBMISSIONS)
VALUES ((SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
1,1 ,3 , NULL , NULL , NULL , NULL ,2 ,
NULL, NULL, NULL, NULL, NULL,
1 ,1 ,1 ,'' ,'' ,'' ,'' ,'' ,
0 )
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'finalPageURL_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'anonymousRelease_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'dueDate_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'description_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'metadataQuestions_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'bgImage_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'feedbackComponents_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'retractDate_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'feedbackType_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'timedAssessmentAutoSubmit_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'toGradebook_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'displayChunking_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'recordedScore_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'authenticatedRelease_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'displayNumbering_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'submissionMessage_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'releaseDate_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'assessmentAuthor_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'passwordRequired_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'author', '')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'submissionModel_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'ipAccessType_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'timedAssessment_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'metadataAssess_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'bgColor_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'testeeIdentity_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'templateInfo_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'itemAccessType_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'lateHandling_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Quiz'
AND TYPEID='142' AND ISTEMPLATE=1),
'feedbackAuthoring_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMENTBASE_T (ID ,ISTEMPLATE ,
PARENTID ,TITLE ,DESCRIPTION ,COMMENTS,
ASSESSMENTTEMPLATEID, TYPEID, INSTRUCTORNOTIFICATION,
TESTEENOTIFICATION , MULTIPARTALLOWED, STATUS,
CREATEDBY, CREATEDDATE, LASTMODIFIEDBY,
LASTMODIFIEDDATE )
VALUES (sam_assessmentBase_id_s.nextVal,1 ,0 ,'Problem Set' , 'System Defined Assessment Type', '', NULL
,'142' ,1 ,1 ,1 ,1 ,'admin' ,SYSDATE ,'admin' ,SYSDATE )
;
INSERT INTO SAM_ASSESSEVALUATION_T (ASSESSMENTID,
EVALUATIONCOMPONENTS, SCORINGTYPE, NUMERICMODELID,
FIXEDTOTALSCORE, GRADEAVAILABLE, ISSTUDENTIDPUBLIC,
ANONYMOUSGRADING, AUTOSCORING,TOGRADEBOOK)
VALUES ((SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'' ,1 ,'' , NULL , NULL , NULL ,2 , NULL ,2 )
;
INSERT INTO SAM_ASSESSFEEDBACK_T (ASSESSMENTID,
FEEDBACKDELIVERY, FEEDBACKAUTHORING, SHOWQUESTIONTEXT, SHOWSTUDENTRESPONSE,
SHOWCORRECTRESPONSE, SHOWSTUDENTSCORE, SHOWSTUDENTQUESTIONSCORE,
SHOWQUESTIONLEVELFEEDBACK, SHOWSELECTIONLEVELFEEDBACK,
SHOWGRADERCOMMENTS, SHOWSTATISTICS, EDITCOMPONENTS)
VALUES ((SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
2 ,1, 1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 )
;
INSERT INTO SAM_ASSESSACCESSCONTROL_T (ASSESSMENTID,
SUBMISSIONSALLOWED, SUBMISSIONSSAVED, ASSESSMENTFORMAT,
BOOKMARKINGITEM, TIMELIMIT, TIMEDASSESSMENT,
RETRYALLOWED, LATEHANDLING, STARTDATE, DUEDATE,
SCOREDATE, FEEDBACKDATE, RETRACTDATE, AUTOSUBMIT,
ITEMNAVIGATION, ITEMNUMBERING, SUBMISSIONMESSAGE,
RELEASETO, USERNAME, PASSWORD, FINALPAGEURL,
UNLIMITEDSUBMISSIONS)
VALUES ((SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
NULL,1 ,2 , NULL , NULL , NULL , NULL ,1 ,
NULL, NULL, NULL, NULL, NULL,
1 ,2 ,1 ,'' ,'' ,'' ,'' ,'' ,
1 )
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'finalPageURL_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'anonymousRelease_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'dueDate_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'description_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'metadataQuestions_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'bgImage_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'feedbackComponents_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'retractDate_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'feedbackType_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'timedAssessmentAutoSubmit_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'toGradebook_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'displayChunking_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'recordedScore_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'authenticatedRelease_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'displayNumbering_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'submissionMessage_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'releaseDate_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'assessmentAuthor_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'passwordRequired_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'author', '')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'submissionModel_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'ipAccessType_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'timedAssessment_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'metadataAssess_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'bgColor_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'testeeIdentity_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'templateInfo_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'itemAccessType_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'lateHandling_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Problem Set'
AND TYPEID='142' AND ISTEMPLATE=1),
'feedbackAuthoring_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMENTBASE_T (ID ,ISTEMPLATE ,
PARENTID ,TITLE ,DESCRIPTION ,COMMENTS,
ASSESSMENTTEMPLATEID, TYPEID, INSTRUCTORNOTIFICATION,
TESTEENOTIFICATION , MULTIPARTALLOWED, STATUS,
CREATEDBY, CREATEDDATE, LASTMODIFIEDBY,
LASTMODIFIEDDATE )
VALUES (sam_assessmentBase_id_s.nextVal,1 ,0 ,'Survey' , 'System Defined Assessment Type', '', NULL
,'142' ,1 ,1 ,1 ,1 ,'admin' ,SYSDATE ,'admin' ,SYSDATE )
;
INSERT INTO SAM_ASSESSEVALUATION_T (ASSESSMENTID,
EVALUATIONCOMPONENTS, SCORINGTYPE, NUMERICMODELID,
FIXEDTOTALSCORE, GRADEAVAILABLE, ISSTUDENTIDPUBLIC,
ANONYMOUSGRADING, AUTOSCORING,TOGRADEBOOK)
VALUES ((SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'' ,1 ,'' , NULL , NULL , NULL ,1 , NULL ,2 )
;
INSERT INTO SAM_ASSESSFEEDBACK_T (ASSESSMENTID,
FEEDBACKDELIVERY, FEEDBACKAUTHORING, SHOWQUESTIONTEXT, SHOWSTUDENTRESPONSE,
SHOWCORRECTRESPONSE, SHOWSTUDENTSCORE, SHOWSTUDENTQUESTIONSCORE,
SHOWQUESTIONLEVELFEEDBACK, SHOWSELECTIONLEVELFEEDBACK,
SHOWGRADERCOMMENTS, SHOWSTATISTICS, EDITCOMPONENTS)
VALUES ((SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
1 ,3, 0 ,1 ,0 ,0 ,0 ,0 ,0 ,0 ,1 ,1 )
;
INSERT INTO SAM_ASSESSACCESSCONTROL_T (ASSESSMENTID,
SUBMISSIONSALLOWED, SUBMISSIONSSAVED, ASSESSMENTFORMAT,
BOOKMARKINGITEM, TIMELIMIT, TIMEDASSESSMENT,
RETRYALLOWED, LATEHANDLING, STARTDATE, DUEDATE,
SCOREDATE, FEEDBACKDATE, RETRACTDATE, AUTOSUBMIT,
ITEMNAVIGATION, ITEMNUMBERING, SUBMISSIONMESSAGE,
RELEASETO, USERNAME, PASSWORD, FINALPAGEURL,
UNLIMITEDSUBMISSIONS)
VALUES ((SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
1,1 ,1 , NULL , NULL , NULL , NULL ,1 ,
NULL, NULL, NULL, NULL, NULL,
1 ,2 ,1 ,'' ,'' ,'' ,'' ,'' ,
0 )
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'finalPageURL_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'anonymousRelease_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'dueDate_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'description_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'metadataQuestions_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'bgImage_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'feedbackComponents_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'retractDate_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'feedbackType_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'timedAssessmentAutoSubmit_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'toGradebook_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'displayChunking_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'recordedScore_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'authenticatedRelease_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'displayNumbering_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'submissionMessage_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'releaseDate_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'assessmentAuthor_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'passwordRequired_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'author', '')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'submissionModel_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'ipAccessType_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'timedAssessment_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'metadataAssess_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'bgColor_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'testeeIdentity_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'templateInfo_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'itemAccessType_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'lateHandling_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Survey'
AND TYPEID='142' AND ISTEMPLATE=1),
'feedbackAuthoring_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMENTBASE_T (ID ,ISTEMPLATE ,
PARENTID ,TITLE ,DESCRIPTION ,COMMENTS,
ASSESSMENTTEMPLATEID, TYPEID, INSTRUCTORNOTIFICATION,
TESTEENOTIFICATION , MULTIPARTALLOWED, STATUS,
CREATEDBY, CREATEDDATE, LASTMODIFIEDBY,
LASTMODIFIEDDATE )
VALUES (sam_assessmentBase_id_s.nextVal,1 ,0 ,'Test' , 'System Defined Assessment Type', '', NULL
,'142' ,1 ,1 ,1 ,1 ,'admin' ,SYSDATE ,'admin' ,SYSDATE )
;
INSERT INTO SAM_ASSESSEVALUATION_T (ASSESSMENTID,
EVALUATIONCOMPONENTS, SCORINGTYPE, NUMERICMODELID,
FIXEDTOTALSCORE, GRADEAVAILABLE, ISSTUDENTIDPUBLIC,
ANONYMOUSGRADING, AUTOSCORING,TOGRADEBOOK)
VALUES ((SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'' ,1 ,'' , NULL , NULL , NULL ,1 , NULL ,2 )
;
INSERT INTO SAM_ASSESSFEEDBACK_T (ASSESSMENTID,
FEEDBACKDELIVERY, FEEDBACKAUTHORING, SHOWQUESTIONTEXT, SHOWSTUDENTRESPONSE,
SHOWCORRECTRESPONSE, SHOWSTUDENTSCORE, SHOWSTUDENTQUESTIONSCORE,
SHOWQUESTIONLEVELFEEDBACK, SHOWSELECTIONLEVELFEEDBACK,
SHOWGRADERCOMMENTS, SHOWSTATISTICS, EDITCOMPONENTS)
VALUES ((SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
2 ,1, 1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 )
;
INSERT INTO SAM_ASSESSACCESSCONTROL_T (ASSESSMENTID,
SUBMISSIONSALLOWED, SUBMISSIONSSAVED, ASSESSMENTFORMAT,
BOOKMARKINGITEM, TIMELIMIT, TIMEDASSESSMENT,
RETRYALLOWED, LATEHANDLING, STARTDATE, DUEDATE,
SCOREDATE, FEEDBACKDATE, RETRACTDATE, AUTOSUBMIT,
ITEMNAVIGATION, ITEMNUMBERING, SUBMISSIONMESSAGE,
RELEASETO, USERNAME, PASSWORD, FINALPAGEURL,
UNLIMITEDSUBMISSIONS)
VALUES ((SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
1,1 ,1 , NULL , NULL , NULL , NULL ,2 ,
NULL, NULL, NULL, NULL, NULL,
1 ,1 ,1 ,'' ,'' ,'' ,'' ,'' ,
0 )
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'finalPageURL_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'anonymousRelease_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'dueDate_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'description_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'metadataQuestions_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'bgImage_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'feedbackComponents_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'retractDate_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'feedbackType_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'timedAssessmentAutoSubmit_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'toGradebook_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'displayChunking_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'recordedScore_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'authenticatedRelease_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'displayNumbering_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'submissionMessage_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'releaseDate_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'assessmentAuthor_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'passwordRequired_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'author', '')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'submissionModel_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'ipAccessType_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'timedAssessment_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'metadataAssess_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'bgColor_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'testeeIdentity_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'templateInfo_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'itemAccessType_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'lateHandling_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'feedbackAuthoring_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMENTBASE_T (ID ,ISTEMPLATE ,
PARENTID ,TITLE ,DESCRIPTION ,COMMENTS,
ASSESSMENTTEMPLATEID, TYPEID, INSTRUCTORNOTIFICATION,
TESTEENOTIFICATION , MULTIPARTALLOWED, STATUS,
CREATEDBY, CREATEDDATE, LASTMODIFIEDBY,
LASTMODIFIEDDATE )
VALUES (sam_assessmentBase_id_s.nextVal,1 ,0 ,'Timed Test' , 'System Defined Assessment Type', '', NULL
,'142' ,1 ,1 ,1 ,1 ,'admin' ,SYSDATE ,'admin' ,SYSDATE )
;
INSERT INTO SAM_ASSESSEVALUATION_T (ASSESSMENTID,
EVALUATIONCOMPONENTS, SCORINGTYPE, NUMERICMODELID,
FIXEDTOTALSCORE, GRADEAVAILABLE, ISSTUDENTIDPUBLIC,
ANONYMOUSGRADING, AUTOSCORING,TOGRADEBOOK)
VALUES ((SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'' ,1 ,'' , NULL , NULL , NULL ,1 , NULL ,2 )
;
INSERT INTO SAM_ASSESSFEEDBACK_T (ASSESSMENTID,
FEEDBACKDELIVERY, FEEDBACKAUTHORING, SHOWQUESTIONTEXT, SHOWSTUDENTRESPONSE,
SHOWCORRECTRESPONSE, SHOWSTUDENTSCORE, SHOWSTUDENTQUESTIONSCORE,
SHOWQUESTIONLEVELFEEDBACK, SHOWSELECTIONLEVELFEEDBACK,
SHOWGRADERCOMMENTS, SHOWSTATISTICS, EDITCOMPONENTS)
VALUES ((SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
2 ,1, 1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 )
;
INSERT INTO SAM_ASSESSACCESSCONTROL_T (ASSESSMENTID,
SUBMISSIONSALLOWED, SUBMISSIONSSAVED, ASSESSMENTFORMAT,
BOOKMARKINGITEM, TIMELIMIT, TIMEDASSESSMENT,
RETRYALLOWED, LATEHANDLING, STARTDATE, DUEDATE,
SCOREDATE, FEEDBACKDATE, RETRACTDATE, AUTOSUBMIT,
ITEMNAVIGATION, ITEMNUMBERING, SUBMISSIONMESSAGE,
RELEASETO, USERNAME, PASSWORD, FINALPAGEURL,
UNLIMITEDSUBMISSIONS)
VALUES ((SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
1,1 ,1 , NULL , NULL , NULL , NULL ,2 ,
NULL, NULL, NULL, NULL, NULL,
1 ,1 ,1 ,'' ,'' ,'' ,'' ,'' ,
0 )
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'finalPageURL_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'anonymousRelease_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'dueDate_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'description_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'metadataQuestions_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'bgImage_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'feedbackComponents_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'retractDate_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'feedbackType_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'timedAssessmentAutoSubmit_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'toGradebook_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'displayChunking_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'recordedScore_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'authenticatedRelease_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'displayNumbering_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'submissionMessage_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'releaseDate_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'assessmentAuthor_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'passwordRequired_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'author', '')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'submissionModel_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'ipAccessType_isInstructorEditable', 'false')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'timedAssessment_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'metadataAssess_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'bgColor_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'testeeIdentity_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'templateInfo_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'itemAccessType_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'lateHandling_isInstructorEditable', 'true')
;
INSERT INTO SAM_ASSESSMETADATA_T (ASSESSMENTMETADATAID, ASSESSMENTID, LABEL,
ENTRY)
VALUES(sam_assessMetaData_id_s.nextVal, (SELECT ID FROM SAM_ASSESSMENTBASE_T WHERE TITLE='Timed Test'
AND TYPEID='142' AND ISTEMPLATE=1),
'feedbackAuthoring_isInstructorEditable', 'true')
;
|
-- etldoc: layer_building[shape=record fillcolor=lightpink, style="rounded,filled",
-- etldoc: label="layer_building | <z13> z13 | <z14_> z14+ " ] ;
CREATE INDEX IF NOT EXISTS osm_building_relation_building_idx ON osm_building_relation (building) WHERE building = '' AND ST_GeometryType(geometry) = 'ST_Polygon';
CREATE INDEX IF NOT EXISTS osm_building_relation_member_idx ON osm_building_relation (member) WHERE role = 'outline';
CREATE OR REPLACE VIEW osm_all_buildings AS
(
SELECT
-- etldoc: osm_building_relation -> layer_building:z14_
-- Buildings built from relations
member AS osm_id,
geometry,
COALESCE(CleanNumeric(height), CleanNumeric(buildingheight)) AS height,
COALESCE(CleanNumeric(min_height), CleanNumeric(buildingmin_height)) AS min_height,
COALESCE(CleanNumeric(levels), CleanNumeric(buildinglevels)) AS levels,
COALESCE(CleanNumeric(min_level), CleanNumeric(buildingmin_level)) AS min_level,
nullif(material, '') AS material,
nullif(colour, '') AS colour,
FALSE AS hide_3d
FROM osm_building_relation
WHERE building = ''
AND ST_GeometryType(geometry) = 'ST_Polygon'
UNION ALL
SELECT
-- etldoc: osm_building_polygon -> layer_building:z14_
-- Standalone buildings
obp.osm_id,
obp.geometry,
COALESCE(CleanNumeric(obp.height), CleanNumeric(obp.buildingheight)) AS height,
COALESCE(CleanNumeric(obp.min_height), CleanNumeric(obp.buildingmin_height)) AS min_height,
COALESCE(CleanNumeric(obp.levels), CleanNumeric(obp.buildinglevels)) AS levels,
COALESCE(CleanNumeric(obp.min_level), CleanNumeric(obp.buildingmin_level)) AS min_level,
nullif(obp.material, '') AS material,
nullif(obp.colour, '') AS colour,
obr.role IS NOT NULL AS hide_3d
FROM osm_building_polygon obp
LEFT JOIN osm_building_relation obr ON
obp.osm_id >= 0 AND
obr.member = obp.osm_id AND
obr.role = 'outline'
WHERE ST_GeometryType(obp.geometry) IN ('ST_Polygon', 'ST_MultiPolygon')
);
CREATE OR REPLACE FUNCTION layer_building(bbox geometry, zoom_level int)
RETURNS TABLE
(
geometry geometry,
osm_id bigint,
render_height int,
render_min_height int,
colour text,
hide_3d boolean
)
AS
$$
SELECT geometry,
osm_id,
render_height,
render_min_height,
COALESCE(colour, CASE material
-- Ordered by count from taginfo
WHEN 'cement_block' THEN '#6a7880'
WHEN 'brick' THEN '#bd8161'
WHEN 'plaster' THEN '#dadbdb'
WHEN 'wood' THEN '#d48741'
WHEN 'concrete' THEN '#d3c2b0'
WHEN 'metal' THEN '#b7b1a6'
WHEN 'stone' THEN '#b4a995'
WHEN 'mud' THEN '#9d8b75'
WHEN 'steel' THEN '#b7b1a6' -- same as metal
WHEN 'glass' THEN '#5a81a0'
WHEN 'traditional' THEN '#bd8161' -- same as brick
WHEN 'masonry' THEN '#bd8161' -- same as brick
WHEN 'Brick' THEN '#bd8161' -- same as brick
WHEN 'tin' THEN '#b7b1a6' -- same as metal
WHEN 'timber_framing' THEN '#b3b0a9'
WHEN 'sandstone' THEN '#b4a995' -- same as stone
WHEN 'clay' THEN '#9d8b75' -- same as mud
END) AS colour,
CASE WHEN hide_3d THEN TRUE END AS hide_3d
FROM (
SELECT
-- etldoc: osm_building_polygon_gen1 -> layer_building:z13
osm_id,
geometry,
NULL::int AS render_height,
NULL::int AS render_min_height,
NULL::text AS material,
NULL::text AS colour,
FALSE AS hide_3d
FROM osm_building_polygon_gen1
WHERE zoom_level = 13
AND geometry && bbox
UNION ALL
SELECT
-- etldoc: osm_building_polygon -> layer_building:z14_
DISTINCT ON (osm_id) osm_id,
geometry,
ceil(COALESCE(height, levels * 3.66, 5))::int AS render_height,
floor(COALESCE(min_height, min_level * 3.66, 0))::int AS render_min_height,
material,
colour,
hide_3d
FROM osm_all_buildings
WHERE (levels IS NULL OR levels < 1000)
AND (min_level IS NULL OR min_level < 1000)
AND (height IS NULL OR height < 3000)
AND (min_height IS NULL OR min_height < 3000)
AND zoom_level >= 14
AND geometry && bbox
) AS zoom_levels
ORDER BY render_height ASC, ST_YMin(geometry) DESC;
$$ LANGUAGE SQL STABLE
-- STRICT
PARALLEL SAFE
;
-- not handled: where a building outline covers building parts
|
<reponame>thiagoifrn/evacineFlutter
create table pessoa(
id bigint not null auto_increment,
nome varchar(100) not null,
email varchar(255) not null,
telefone varchar(20) not null,
cpf varchar(30) not null,
idade int not null,
primary key (id)
); |
<filename>map-domain/src/sql/create-tables.sql<gh_stars>0
use `EASY_TRAVEL`; -- Or other DB
START TRANSACTION;
CREATE TABLE IF NOT EXISTS `street_vertex` (
`id` bigint(20) NOT NULL,
`coordinate` Point NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=Aria DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `street_edge` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`vertexStartId` bigint(20) NOT NULL,
`vertexEndId` bigint(20) NOT NULL,
`distance` DOUBLE NOT NULL,
`wayId` bigint(20) DEFAULT NULL,
`streetInfoId` bigint(20) NOT NULL,
PRIMARY KEY (`id`),
FOREIGN KEY (`vertexStartId`) REFERENCES `street_vertex` (`id`),
FOREIGN KEY (`vertexEndId`) REFERENCES `street_vertex` (`id`),
FOREIGN KEY (`streetInfoId`) REFERENCES `street_info` (`id`)
) ENGINE=Aria DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `street_info` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`address` varchar(255) DEFAULT NULL,
`wayId` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=Aria DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `ramp` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`address` varchar(255) DEFAULT NULL,
`coordinate` Point NOT NULL,
`isAccessible` boolean DEFAULT true,
`version` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`),
SPATIAL INDEX(coordinate)
) ENGINE=Aria DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `path` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`coordinates` varchar(10000) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=Aria DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `stop` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`coordinate` Point NOT NULL,
`nextStopId` bigint(20) DEFAULT NULL,
`previousStopId` bigint(20) DEFAULT NULL,
`sequence` bigint(20) NOT NULL,
`pathId` bigint(20) DEFAULT NULL,
`travelInfoId` bigint(20) NOT NULL,
`isAccessible` boolean DEFAULT true,
PRIMARY KEY (`id`)
) ENGINE=Aria DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `travel_info` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`description` varchar(1000) DEFAULT NULL,
`firstStopId` bigint(20) DEFAULT NULL,
`lastStopId` bigint(20) DEFAULT NULL,
`branch` varchar(30) DEFAULT NULL,
`name` varchar(30) DEFAULT NULL,
`sentido` varchar(30) DEFAULT NULL,
`type` varchar(30) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=Aria DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `sidewalk_vertex` (
`id` bigint(20) NOT NULL,
`coordinate` Point NOT NULL,
`streetVertexBelongToId` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`),
FOREIGN KEY (`streetVertexBelongToId`) REFERENCES `street_vertex` (`id`)
) ENGINE=Aria DEFAULT CHARSET=utf8;
ALTER TABLE `stop` ADD CONSTRAINT fk_travelInfo_id FOREIGN KEY (travelInfoId) REFERENCES `travel_info` (`id`);
CREATE TABLE IF NOT EXISTS `street_crossing_edge` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`vertexStartId` bigint(20) NOT NULL,
`vertexEndId` bigint(20) NOT NULL,
`keyValue` VARCHAR(255) DEFAULT NULL,
`rampStartId` bigint(20) DEFAULT NULL,
`rampEndId` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`),
FOREIGN KEY (`vertexStartId`) REFERENCES `sidewalk_vertex` (`id`),
FOREIGN KEY (`vertexEndId`) REFERENCES `sidewalk_vertex` (`id`),
FOREIGN KEY (`rampStartId`) REFERENCES `ramp` (`id`),
FOREIGN KEY (`rampEndId`) REFERENCES `ramp` (`id`)
) ENGINE=Aria DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `sidewalk_edge` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`vertexStartId` bigint(20) NOT NULL,
`vertexEndId` bigint(20) NOT NULL,
`keyValue` VARCHAR(255) DEFAULT NULL,
`streetEdgeBelongToId` bigint(20) NOT NULL,
`side` int NOT NULL,
`isAccessible` boolean DEFAULT true,
PRIMARY KEY (`id`),
FOREIGN KEY (`vertexStartId`) REFERENCES `sidewalk_vertex` (`id`),
FOREIGN KEY (`vertexEndId`) REFERENCES `sidewalk_vertex` (`id`),
FOREIGN KEY (`streetEdgeBelongToId`) REFERENCES `street_edge` (`id`)
) ENGINE=Aria DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `public_transport_combination` (
`fromStopId` bigint(20) NOT NULL,
`fromCoordinate` Point NOT NULL,
`toStopId` bigint(20) NOT NULL,
`toCoordinate` Point NOT NULL,
`fromTravelInfoId` bigint(20) NOT NULL,
`toTravelInfoId` bigint(20) NOT NULL,
`distance` float NOT NULL,
`walkPath` varchar(20000) DEFAULT NULL,
`enabled` boolean NOT NULL DEFAULT true,
`cost` bigint(20) NOT NULL DEFAULT 999999999999999999,
PRIMARY KEY (`fromStopId`, `toTravelInfoId`)
) ENGINE=Aria DEFAULT CHARSET=utf8;
CREATE SPATIAL INDEX `combination_from_coordinate_spatial_index` ON `public_transport_combination` (`fromCoordinate`);
CREATE SPATIAL INDEX `combination_to_coordinate_spatial_index` ON `public_transport_combination` (`toCoordinate`);
ALTER TABLE `stop` ADD CONSTRAINT `fk_stop_travel_info` FOREIGN KEY (`travelInfoId`) REFERENCES `travel_info`(`id`);
ALTER TABLE `stop` ADD CONSTRAINT `fk_stop_next_stop` FOREIGN KEY (`nextStopId`) REFERENCES `stop`(`id`);
ALTER TABLE `stop` ADD CONSTRAINT `fk_stop_previous_stop` FOREIGN KEY (`previousStopId`) REFERENCES `stop`(`id`);
ALTER TABLE `stop` ADD CONSTRAINT `fk_stop_path` FOREIGN KEY (`pathId`) REFERENCES `path`(`id`);
CREATE SPATIAL INDEX `stop_coordinate_spatial_index` ON `stop` (`coordinate`);
ALTER TABLE `travel_info` ADD CONSTRAINT `fk_travel_info_first_stop` FOREIGN KEY (`firstStopId`) REFERENCES `stop`(`id`);
ALTER TABLE `travel_info` ADD CONSTRAINT `fk_travel_info_last_stop` FOREIGN KEY (`lastStopId`) REFERENCES `stop`(`id`);
CREATE SPATIAL INDEX `street_vertex_coordinate_index` ON `street_vertex` (`coordinate`);
CREATE SPATIAL INDEX `sidewalk_vertex_coordinate_index` ON `sidewalk_vertex` (`coordinate`);
CREATE INDEX `public_transport_combination_from_ti_index` ON `public_transport_combination` (`fromTravelInfoId`);
CREATE INDEX `public_transport_combination_to_ti_index` ON `public_transport_combination` (`toTravelInfoId`);
CREATE TABLE IF NOT EXISTS `public_transport_combination_path` (
`fromStopId` bigint(20) NOT NULL,
`toTravelInfoId` bigint(20) NOT NULL,
`walkPath` varchar(20000) DEFAULT NULL,
PRIMARY KEY (`fromStopId`, `toTravelInfoId`)
) ENGINE=Aria DEFAULT CHARSET=utf8;
ALTER TABLE `public_transport_combination_path` ADD CONSTRAINT `fk_ptc_path_ptc` FOREIGN KEY (`fromStopId`, `toTravelInfoId`) REFERENCES `public_transport_combination`(`fromStopId`, `toTravelInfoId`);
/* Drop public_transport_combination columns, only run if public_transport_combination was created before
ALTER TABLE `public_transport_combination` DROP COLUMN `cost`,
DROP COLUMN `walkPath`;
*/
COMMIT;
/* UPDATE */
START TRANSACTION;
ALTER TABLE `public_transport_combination` Add column `fromCoordinate` Point AFTER `fromStopId`;
UPDATE `public_transport_combination` ptc
INNER JOIN `stop` s ON s.id = ptc.fromStopId
SET `fromCoordinate` = `coordinate`;
ALTER TABLE `public_transport_combination` CHANGE column `fromCoordinate` `fromCoordinate` Point NOT NULL;
ALTER TABLE `public_transport_combination` Add column `toCoordinate` Point AFTER `toStopId`;
UPDATE `public_transport_combination` ptc
INNER JOIN `stop` s ON s.id = ptc.toStopId
SET `toCoordinate` = `coordinate`;
ALTER TABLE `public_transport_combination` CHANGE column `toCoordinate` `toCoordinate` Point NOT NULL;
CREATE SPATIAL INDEX `combination_from_coordinate_spatial_index` ON `public_transport_combination` (`fromCoordinate`);
CREATE SPATIAL INDEX `combination_to_coordinate_spatial_index` ON `public_transport_combination` (`toCoordinate`);
INSERT INTO `public_transport_combination_path`(fromStopId, toTravelInfoId, walkPath)
SELECT fromStopId, toTravelInfoId, walkPath from `public_transport_combination`;
COMMIT;
|
<gh_stars>0
-- -----------------------------------------------------
-- Table servicio
-- -----------------------------------------------------
SELECT idservicio,nombre,descripcion,valor,imagen
FROM servicio |
ALTER DATABASE swells19 CHARACTER SET utf8 COLLATE utf8_unicode_ci;
DROP TABLE IF EXISTS cart;
DROP TABLE IF EXISTS favorites;
DROP TABLE IF EXISTS track;
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
userId BINARY(16) NOT NULL,
userActivationToken CHAR(32),
userEmail VARCHAR(32) NOT NULL,
userHash CHAR(97) NOT NULL,
userName VARCHAR(32) NOT NULL,
UNIQUE(userId),
UNIQUE(userEmail),
PRIMARY KEY(userId)
);
CREATE TABLE track (
trackId BINARY(16) NOT NULL,
trackLength DEC(5, 2) NOT NULL,
trackName VARCHAR(32),
trackPrice DEC(18, 2) NOT NULL,
UNIQUE(trackId),
PRIMARY KEY(trackId)
);
CREATE TABLE favorites (
favoritesTrackId BINARY(16) NOT NULL,
favoritesUserId BINARY(16) NOT NULL,
INDEX(favoritesTrackId),
INDEX(favoritesUserId),
FOREIGN KEY(favoritesTrackId) REFERENCES track(trackId),
FOREIGN KEY(favoritesUserId) REFERENCES `user`(userId),
PRIMARY KEY(favoritesUserId, favoritesTrackId)
);
CREATE TABLE cart (
cartTrackId BINARY(16) NOT NULL,
cartUserId BINARY(16) NOT NULL,
cartTotal DEC(18, 2) NOT NULL,
INDEX(cartTrackId),
INDEX(cartUserId),
FOREIGN KEY(cartTrackId) REFERENCES track(trackId),
FOREIGN KEY(cartUserId) REFERENCES `user`(userId),
PRIMARY KEY(cartTrackId, cartUserId)
);
|
DROP TABLE IF EXISTS RES_RISK_SCORE;
CREATE TABLE RES_RISK_SCORE(
RES_ENT_ID BIGINT,
LENS_ID SMALLINT,
QUALITY_STATE VARCHAR(10),
COLLISION_STATE VARCHAR(10),
REASON VARCHAR(500),
PRIMARY KEY(RES_ENT_ID, LENS_ID)
);
CREATE INDEX RES_RISK_SCORE_QS ON RES_RISK_SCORE(QUALITY_STATE);
CREATE INDEX RES_RISK_SCORE_CS ON RES_RISK_SCORE(COLLISION_STATE);
|
DELETE FROM nobel_prize;
INSERT INTO nobel_prize (document) values ('{"year":"2020","category":"chemistry","laureates":[{"id":"991","firstname":"Emmanuelle","surname":"Charpentier","motivation":"\"for the development of a method for genome editing\"","share":"2"},{"id":"992","firstname":"<NAME>.","surname":"Doudna","motivation":"\"for the development of a method for genome editing\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2020","category":"economics","laureates":[{"id":"995","firstname":"Paul","surname":"Milgrom","motivation":"\"for improvements to auction theory and inventions of new auction formats\"","share":"2"},{"id":"996","firstname":"Robert","surname":"Wilson","motivation":"\"for improvements to auction theory and inventions of new auction formats\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2020","category":"literature","laureates":[{"id":"993","firstname":"Louise","surname":"Glück","motivation":"\"for her unmistakable poetic voice that with austere beauty makes individual existence universal\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2020","category":"peace","laureates":[{"id":"994","motivation":"\"for its efforts to combat hunger, for its contribution to bettering conditions for peace in conflict-affected areas and for acting as a driving force in efforts to prevent the use of hunger as a weapon of war and conflict\"","share":"1","firstname":"World Food Programme"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2020","category":"physics","laureates":[{"id":"988","firstname":"Roger","surname":"Penrose","motivation":"\"for the discovery that black hole formation is a robust prediction of the general theory of relativity\"","share":"2"},{"id":"989","firstname":"Reinhard","surname":"Genzel","motivation":"\"for the discovery of a supermassive compact object at the centre of our galaxy\"","share":"4"},{"id":"990","firstname":"Andrea","surname":"Ghez","motivation":"\"for the discovery of a supermassive compact object at the centre of our galaxy\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2020","category":"medicine","laureates":[{"id":"985","firstname":"Harvey","surname":"Alter","motivation":"\"for the discovery of Hepatitis C virus\"","share":"3"},{"id":"986","firstname":"Michael","surname":"Houghton","motivation":"\"for the discovery of Hepatitis C virus\"","share":"3"},{"id":"987","firstname":"Charles","surname":"Rice","motivation":"\"for the discovery of Hepatitis C virus\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2019","category":"chemistry","laureates":[{"id":"976","firstname":"John","surname":"Goodenough","motivation":"\"for the development of lithium-ion batteries\"","share":"3"},{"id":"977","firstname":"<NAME>","surname":"Whittingham","motivation":"\"for the development of lithium-ion batteries\"","share":"3"},{"id":"978","firstname":"Akira","surname":"Yoshino","motivation":"\"for the development of lithium-ion batteries\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2019","category":"economics","laureates":[{"id":"982","firstname":"Abhijit","surname":"Banerjee","motivation":"\"for their experimental approach to alleviating global poverty\"","share":"3"},{"id":"983","firstname":"Esther","surname":"Duflo","motivation":"\"for their experimental approach to alleviating global poverty\"","share":"3"},{"id":"984","firstname":"Michael","surname":"Kremer","motivation":"\"for their experimental approach to alleviating global poverty\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2019","category":"literature","laureates":[{"id":"980","firstname":"Peter","surname":"Handke","motivation":"\"for an influential work that with linguistic ingenuity has explored the periphery and the specificity of human experience\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2019","category":"peace","laureates":[{"id":"981","firstname":"Abiy","surname":"<NAME>","motivation":"\"for his efforts to achieve peace and international cooperation, and in particular for his decisive initiative to resolve the border conflict with neighbouring Eritrea\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2019","category":"physics","overallMotivation":"\"for contributions to our understanding of the evolution of the universe and Earth’s place in the cosmos\"","laureates":[{"id":"973","firstname":"James","surname":"Peebles","motivation":"\"for theoretical discoveries in physical cosmology\"","share":"2"},{"id":"974","firstname":"Michel","surname":"Mayor","motivation":"\"for the discovery of an exoplanet orbiting a solar-type star\"","share":"4"},{"id":"975","firstname":"Didier","surname":"Queloz","motivation":"\"for the discovery of an exoplanet orbiting a solar-type star\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2019","category":"medicine","laureates":[{"id":"970","firstname":"William","surname":"Kaelin","motivation":"\"for their discoveries of how cells sense and adapt to oxygen availability\"","share":"3"},{"id":"971","firstname":"Peter","surname":"Ratcliffe","motivation":"\"for their discoveries of how cells sense and adapt to oxygen availability\"","share":"3"},{"id":"972","firstname":"Gregg","surname":"Semenza","motivation":"\"for their discoveries of how cells sense and adapt to oxygen availability\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2018","category":"chemistry","laureates":[{"id":"963","firstname":"<NAME>.","surname":"Arnold","motivation":"\"for the directed evolution of enzymes\"","share":"2"},{"id":"964","firstname":"<NAME>.","surname":"Smith","motivation":"\"for the phage display of peptides and antibodies\"","share":"4"},{"id":"965","firstname":"<NAME>.","surname":"Winter","motivation":"\"for the phage display of peptides and antibodies\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2018","category":"economics","laureates":[{"id":"968","firstname":"<NAME>.","surname":"Nordhaus","motivation":"\"for integrating climate change into long-run macroeconomic analysis\"","share":"2"},{"id":"969","firstname":"<NAME>.","surname":"Romer","motivation":"\"for integrating technological innovations into long-run macroeconomic analysis\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2018","category":"literature","laureates":[{"id":"979","firstname":"Olga","surname":"Tokarczuk","motivation":"\"for a narrative imagination that with encyclopedic passion represents the crossing of boundaries as a form of life\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2018","category":"peace","laureates":[{"id":"966","firstname":"Denis","surname":"Mukwege","motivation":"\"for their efforts to end the use of sexual violence as a weapon of war and armed conflict\"","share":"2"},{"id":"967","firstname":"Nadia","surname":"Murad","motivation":"\"for their efforts to end the use of sexual violence as a weapon of war and armed conflict\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2018","category":"physics","overallMotivation":"\"for groundbreaking inventions in the field of laser physics\"","laureates":[{"id":"960","firstname":"Arthur","surname":"Ashkin","motivation":"\"for the optical tweezers and their application to biological systems\"","share":"2"},{"id":"961","firstname":"Gérard","surname":"Mourou","motivation":"\"for their method of generating high-intensity, ultra-short optical pulses\"","share":"4"},{"id":"962","firstname":"Donna","surname":"Strickland","motivation":"\"for their method of generating high-intensity, ultra-short optical pulses\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2018","category":"medicine","laureates":[{"id":"958","firstname":"<NAME>.","surname":"Allison","motivation":"\"for their discovery of cancer therapy by inhibition of negative immune regulation\"","share":"2"},{"id":"959","firstname":"Tasuku","surname":"Honjo","motivation":"\"for their discovery of cancer therapy by inhibition of negative immune regulation\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2017","category":"chemistry","laureates":[{"id":"944","firstname":"Jacques","surname":"Dubochet","motivation":"\"for developing cryo-electron microscopy for the high-resolution structure determination of biomolecules in solution\"","share":"3"},{"id":"945","firstname":"Joachim","surname":"Frank","motivation":"\"for developing cryo-electron microscopy for the high-resolution structure determination of biomolecules in solution\"","share":"3"},{"id":"946","firstname":"Richard","surname":"Henderson","motivation":"\"for developing cryo-electron microscopy for the high-resolution structure determination of biomolecules in solution\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2017","category":"economics","laureates":[{"id":"949","firstname":"<NAME>.","surname":"Thaler","motivation":"\"for his contributions to behavioural economics\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2017","category":"literature","laureates":[{"id":"947","firstname":"Kazuo","surname":"Ishiguro","motivation":"\"who, in novels of great emotional force, has uncovered the abyss beneath our illusory sense of connection with the world\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2017","category":"peace","laureates":[{"id":"948","motivation":"\"for its work to draw attention to the catastrophic humanitarian consequences of any use of nuclear weapons and for its ground-breaking efforts to achieve a treaty-based prohibition of such weapons\"","share":"1","firstname":"International Campaign to Abolish Nuclear Weapons (ICAN)"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2017","category":"physics","laureates":[{"id":"941","firstname":"Rainer","surname":"Weiss","motivation":"\"for decisive contributions to the LIGO detector and the observation of gravitational waves\"","share":"2"},{"id":"942","firstname":"<NAME>.","surname":"Barish","motivation":"\"for decisive contributions to the LIGO detector and the observation of gravitational waves\"","share":"4"},{"id":"943","firstname":"<NAME>.","surname":"Thorne","motivation":"\"for decisive contributions to the LIGO detector and the observation of gravitational waves\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2017","category":"medicine","laureates":[{"id":"938","firstname":"<NAME>.","surname":"Hall","motivation":"\"for their discoveries of molecular mechanisms controlling the circadian rhythm\"","share":"3"},{"id":"939","firstname":"Michael","surname":"Rosbash","motivation":"\"for their discoveries of molecular mechanisms controlling the circadian rhythm\"","share":"3"},{"id":"940","firstname":"<NAME>.","surname":"Young","motivation":"\"for their discoveries of molecular mechanisms controlling the circadian rhythm\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2016","category":"chemistry","laureates":[{"id":"931","firstname":"Jean-Pierre","surname":"Sauvage","motivation":"\"for the design and synthesis of molecular machines\"","share":"3"},{"id":"932","firstname":"<NAME>","surname":"Stoddart","motivation":"\"for the design and synthesis of molecular machines\"","share":"3"},{"id":"933","firstname":"<NAME>.","surname":"Feringa","motivation":"\"for the design and synthesis of molecular machines\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2016","category":"economics","laureates":[{"id":"935","firstname":"Oliver","surname":"Hart","motivation":"\"for their contributions to contract theory\"","share":"2"},{"id":"936","firstname":"Bengt","surname":"Holmström","motivation":"\"for their contributions to contract theory\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2016","category":"literature","laureates":[{"id":"937","firstname":"Bob","surname":"Dylan","motivation":"\"for having created new poetic expressions within the great American song tradition\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2016","category":"peace","laureates":[{"id":"934","firstname":"<NAME>","surname":"Santos","motivation":"\"for his resolute efforts to bring the country''s more than 50-year-long civil war to an end\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2016","category":"physics","laureates":[{"id":"928","firstname":"<NAME>.","surname":"Thouless","motivation":"\"for theoretical discoveries of topological phase transitions and topological phases of matter\"","share":"2"},{"id":"929","firstname":"<NAME>.","surname":"Haldane","motivation":"\"for theoretical discoveries of topological phase transitions and topological phases of matter\"","share":"4"},{"id":"930","firstname":"<NAME>","surname":"Kosterlitz","motivation":"\"for theoretical discoveries of topological phase transitions and topological phases of matter\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2016","category":"medicine","laureates":[{"id":"927","firstname":"Yoshinori","surname":"Ohsumi","motivation":"\"for his discoveries of mechanisms for autophagy\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2015","category":"chemistry","laureates":[{"id":"921","firstname":"Tomas","surname":"Lindahl","motivation":"\"for mechanistic studies of DNA repair\"","share":"3"},{"id":"922","firstname":"Paul","surname":"Modrich","motivation":"\"for mechanistic studies of DNA repair\"","share":"3"},{"id":"923","firstname":"Aziz","surname":"Sancar","motivation":"\"for mechanistic studies of DNA repair\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2015","category":"economics","laureates":[{"id":"926","firstname":"Angus","surname":"Deaton","motivation":"\"for his analysis of consumption, poverty, and welfare\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2015","category":"literature","laureates":[{"id":"924","firstname":"Svetlana","surname":"Alexievich","motivation":"\"for her polyphonic writings, a monument to suffering and courage in our time\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2015","category":"peace","laureates":[{"id":"925","motivation":"\"for its decisive contribution to the building of a pluralistic democracy in Tunisia in the wake of the Jasmine Revolution of 2011\"","share":"1","firstname":"National Dialogue Quartet "}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2015","category":"physics","laureates":[{"id":"919","firstname":"Takaaki","surname":"Kajita","motivation":"\"for the discovery of neutrino oscillations, which shows that neutrinos have mass\"","share":"2"},{"id":"920","firstname":"<NAME>.","surname":"McDonald","motivation":"\"for the discovery of neutrino oscillations, which shows that neutrinos have mass\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2015","category":"medicine","laureates":[{"id":"916","firstname":"<NAME>.","surname":"Campbell","motivation":"\"for their discoveries concerning a novel therapy against infections caused by roundworm parasites\"","share":"4"},{"id":"917","firstname":"Satoshi","surname":"Ōmura","motivation":"\"for their discoveries concerning a novel therapy against infections caused by roundworm parasites\"","share":"4"},{"id":"918","firstname":"Youyou","surname":"Tu","motivation":"\"for her discoveries concerning a novel therapy against Malaria\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2014","category":"chemistry","laureates":[{"id":"909","firstname":"Eric","surname":"Betzig","motivation":"\"for the development of super-resolved fluorescence microscopy\"","share":"3"},{"id":"910","firstname":"<NAME>.","surname":"Hell","motivation":"\"for the development of super-resolved fluorescence microscopy\"","share":"3"},{"id":"911","firstname":"<NAME>.","surname":"Moerner","motivation":"\"for the development of super-resolved fluorescence microscopy\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2014","category":"economics","laureates":[{"id":"915","firstname":"Jean","surname":"Tirole","motivation":"\"for his analysis of market power and regulation\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2014","category":"literature","laureates":[{"id":"912","firstname":"Patrick","surname":"Modiano","motivation":"\"for the art of memory with which he has evoked the most ungraspable human destinies and\r\nuncovered the life-world of the occupation\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2014","category":"peace","laureates":[{"id":"913","firstname":"Kailash","surname":"Satyarthi","motivation":"\"for their struggle against the suppression of children and young people and for the right of all children to education\"","share":"2"},{"id":"914","firstname":"Malala","surname":"Yousafzai","motivation":"\"for their struggle against the suppression of children and young people and for the right of all children to education\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2014","category":"physics","laureates":[{"id":"906","firstname":"Isamu","surname":"Akasaki","motivation":"\"for the invention of efficient blue light-emitting diodes which has enabled bright and energy-saving white light sources\"","share":"3"},{"id":"907","firstname":"Hiroshi","surname":"Amano","motivation":"\"for the invention of efficient blue light-emitting diodes which has enabled bright and energy-saving white light sources\"","share":"3"},{"id":"908","firstname":"Shuji","surname":"Nakamura","motivation":"\"for the invention of efficient blue light-emitting diodes which has enabled bright and energy-saving white light sources\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2014","category":"medicine","laureates":[{"id":"903","firstname":"John","surname":"O''Keefe","motivation":"\"for their discoveries of cells that constitute a positioning system in the brain\"","share":"2"},{"id":"904","firstname":"May-Britt","surname":"Moser","motivation":"\"for their discoveries of cells that constitute a positioning system in the brain\"","share":"4"},{"id":"905","firstname":"<NAME>.","surname":"Moser","motivation":"\"for their discoveries of cells that constitute a positioning system in the brain\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2013","category":"chemistry","laureates":[{"id":"889","firstname":"Martin","surname":"Karplus","motivation":"\"for the development of multiscale models for complex chemical systems\"","share":"3"},{"id":"890","firstname":"Michael","surname":"Levitt","motivation":"\"for the development of multiscale models for complex chemical systems\"","share":"3"},{"id":"891","firstname":"Arieh","surname":"Warshel","motivation":"\"for the development of multiscale models for complex chemical systems\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2013","category":"economics","laureates":[{"id":"894","firstname":"<NAME>.","surname":"Fama","motivation":"\"for their empirical analysis of asset prices\"","share":"3"},{"id":"895","firstname":"<NAME>","surname":"Hansen","motivation":"\"for their empirical analysis of asset prices\"","share":"3"},{"id":"896","firstname":"<NAME>.","surname":"Shiller","motivation":"\"for their empirical analysis of asset prices\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2013","category":"literature","laureates":[{"id":"892","firstname":"Alice","surname":"Munro","motivation":"\"master of the contemporary short story\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2013","category":"peace","laureates":[{"id":"893","motivation":"\"for its extensive efforts to eliminate chemical weapons\"","share":"1","firstname":"Organisation for the Prohibition of Chemical Weapons"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2013","category":"physics","laureates":[{"id":"887","firstname":"François","surname":"Englert","motivation":"\"for the theoretical discovery of a mechanism that contributes to our understanding of the origin of mass of subatomic particles, and which recently was confirmed through the discovery of the predicted fundamental particle, by the ATLAS and CMS experiments at CERN''s Large Hadron Collider\"","share":"2"},{"id":"888","firstname":"Peter","surname":"Higgs","motivation":"\"for the theoretical discovery of a mechanism that contributes to our understanding of the origin of mass of subatomic particles, and which recently was confirmed through the discovery of the predicted fundamental particle, by the ATLAS and CMS experiments at CERN''s Large Hadron Collider\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2013","category":"medicine","laureates":[{"id":"884","firstname":"<NAME>.","surname":"Rothman","motivation":"\"for their discoveries of machinery regulating vesicle traffic, a major transport system in our cells\"","share":"3"},{"id":"885","firstname":"<NAME>.","surname":"Schekman","motivation":"\"for their discoveries of machinery regulating vesicle traffic, a major transport system in our cells\"","share":"3"},{"id":"886","firstname":"<NAME>.","surname":"Südhof","motivation":"\"for their discoveries of machinery regulating vesicle traffic, a major transport system in our cells\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2012","category":"chemistry","laureates":[{"id":"878","firstname":"<NAME>.","surname":"Lefkowitz","motivation":"\"for studies of G-protein-coupled receptors\"","share":"2"},{"id":"879","firstname":"Brian","surname":"Kobilka","motivation":"\"for studies of G-protein-coupled receptors\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2012","category":"economics","laureates":[{"id":"882","firstname":"<NAME>.","surname":"Roth","motivation":"\"for the theory of stable allocations and the practice of market design\"","share":"2"},{"id":"883","firstname":"<NAME>.","surname":"Shapley","motivation":"\"for the theory of stable allocations and the practice of market design\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2012","category":"literature","laureates":[{"id":"880","firstname":"Mo","surname":"Yan","motivation":"\"who with hallucinatory realism merges folk tales, history and the contemporary\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2012","category":"peace","laureates":[{"id":"881","motivation":"\"for over six decades contributed to the advancement of peace and reconciliation, democracy and human rights in Europe\"","share":"1","firstname":"European Union (EU)"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2012","category":"physics","laureates":[{"id":"876","firstname":"Serge","surname":"Haroche","motivation":"\"for ground-breaking experimental methods that enable measuring and manipulation of individual quantum systems\"","share":"2"},{"id":"877","firstname":"<NAME>.","surname":"Wineland","motivation":"\"for ground-breaking experimental methods that enable measuring and manipulation of individual quantum systems\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2012","category":"medicine","laureates":[{"id":"874","firstname":"<NAME>.","surname":"Gurdon","motivation":"\"for the discovery that mature cells can be reprogrammed to become pluripotent\"","share":"2"},{"id":"875","firstname":"Shinya","surname":"Yamanaka","motivation":"\"for the discovery that mature cells can be reprogrammed to become pluripotent\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2011","category":"chemistry","laureates":[{"id":"867","firstname":"Dan","surname":"Shechtman","motivation":"\"for the discovery of quasicrystals\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2011","category":"economics","laureates":[{"id":"872","firstname":"<NAME>.","surname":"Sargent","motivation":"\"for their empirical research on cause and effect in the macroeconomy\"","share":"2"},{"id":"873","firstname":"<NAME>.","surname":"Sims","motivation":"\"for their empirical research on cause and effect in the macroeconomy\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2011","category":"literature","laureates":[{"id":"868","firstname":"Tomas","surname":"Tranströmer","motivation":"\"because, through his condensed, translucent images, he gives us fresh access to reality\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2011","category":"peace","laureates":[{"id":"869","firstname":"Ellen","surname":"<NAME>","motivation":"\"for their non-violent struggle for the safety of women and for womens rights to full participation in peace-building work\"","share":"3"},{"id":"870","firstname":"Leymah","surname":"Gbowee","motivation":"\"for their non-violent struggle for the safety of women and for womens rights to full participation in peace-building work\"","share":"3"},{"id":"871","firstname":"Tawakkol","surname":"Karman","motivation":"\"for their non-violent struggle for the safety of women and for womens rights to full participation in peace-building work\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2011","category":"physics","laureates":[{"id":"864","firstname":"Saul","surname":"Perlmutter","motivation":"\"for the discovery of the accelerating expansion of the Universe through observations of distant supernovae\"","share":"2"},{"id":"865","firstname":"<NAME>.","surname":"Schmidt","motivation":"\"for the discovery of the accelerating expansion of the Universe through observations of distant supernovae\"","share":"4"},{"id":"866","firstname":"<NAME>.","surname":"Riess","motivation":"\"for the discovery of the accelerating expansion of the Universe through observations of distant supernovae\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2011","category":"medicine","laureates":[{"id":"861","firstname":"<NAME>.","surname":"Beutler","motivation":"\"for their discoveries concerning the activation of innate immunity\"","share":"4"},{"id":"862","firstname":"<NAME>.","surname":"Hoffmann","motivation":"\"for their discoveries concerning the activation of innate immunity\"","share":"4"},{"id":"863","firstname":"<NAME>.","surname":"Steinman","motivation":"\"for his discovery of the dendritic cell and its role in adaptive immunity\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2010","category":"chemistry","laureates":[{"id":"851","firstname":"<NAME>.","surname":"Heck","motivation":"\"for palladium-catalyzed cross couplings in organic synthesis\"","share":"3"},{"id":"852","firstname":"Ei-ichi","surname":"Negishi","motivation":"\"for palladium-catalyzed cross couplings in organic synthesis\"","share":"3"},{"id":"853","firstname":"Akira","surname":"Suzuki","motivation":"\"for palladium-catalyzed cross couplings in organic synthesis\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2010","category":"economics","laureates":[{"id":"856","firstname":"<NAME>.","surname":"Diamond","motivation":"\"for their analysis of markets with search frictions\"","share":"3"},{"id":"857","firstname":"<NAME>.","surname":"Mortensen","motivation":"\"for their analysis of markets with search frictions\"","share":"3"},{"id":"858","firstname":"<NAME>.","surname":"Pissarides","motivation":"\"for their analysis of markets with search frictions\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2010","category":"literature","laureates":[{"id":"854","firstname":"Mario","surname":"<NAME>","motivation":"\"for his cartography of structures of power and his trenchant images of the individual''s resistance, revolt, and defeat\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2010","category":"peace","laureates":[{"id":"855","firstname":"Xiaobo","surname":"Liu","motivation":"\"for his long and non-violent struggle for fundamental human rights in China\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2010","category":"physics","laureates":[{"id":"849","firstname":"Andre","surname":"Geim","motivation":"\"for groundbreaking experiments regarding the two-dimensional material graphene\"","share":"2"},{"id":"850","firstname":"Konstantin","surname":"Novoselov","motivation":"\"for groundbreaking experiments regarding the two-dimensional material graphene\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2010","category":"medicine","laureates":[{"id":"848","firstname":"<NAME>.","surname":"Edwards","motivation":"\"for the development of in vitro fertilization\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2009","category":"chemistry","laureates":[{"id":"841","firstname":"Venkatraman","surname":"Ramakrishnan","motivation":"\"for studies of the structure and function of the ribosome\"","share":"3"},{"id":"842","firstname":"<NAME>.","surname":"Steitz","motivation":"\"for studies of the structure and function of the ribosome\"","share":"3"},{"id":"843","firstname":"<NAME>.","surname":"Yonath","motivation":"\"for studies of the structure and function of the ribosome\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2009","category":"economics","laureates":[{"id":"846","firstname":"Elinor","surname":"Ostrom","motivation":"\"for her analysis of economic governance, especially the commons\"","share":"2"},{"id":"847","firstname":"<NAME>.","surname":"Williamson","motivation":"\"for his analysis of economic governance, especially the boundaries of the firm\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2009","category":"literature","laureates":[{"id":"844","firstname":"Herta","surname":"Müller","motivation":"\"who, with the concentration of poetry and the frankness of prose, depicts the landscape of the dispossessed\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2009","category":"peace","laureates":[{"id":"845","firstname":"Barack","surname":"Obama","motivation":"\"for his extraordinary efforts to strengthen international diplomacy and cooperation between peoples\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2009","category":"physics","laureates":[{"id":"838","firstname":"<NAME>.","surname":"Kao","motivation":"\"for groundbreaking achievements concerning the transmission of light in fibers for optical communication\"","share":"2"},{"id":"839","firstname":"<NAME>.","surname":"Boyle","motivation":"\"for the invention of an imaging semiconductor circuit - the CCD sensor\"","share":"4"},{"id":"840","firstname":"<NAME>.","surname":"Smith","motivation":"\"for the invention of an imaging semiconductor circuit - the CCD sensor\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2009","category":"medicine","laureates":[{"id":"835","firstname":"<NAME>.","surname":"Blackburn","motivation":"\"for the discovery of how chromosomes are protected by telomeres and the enzyme telomerase\"","share":"3"},{"id":"836","firstname":"<NAME>.","surname":"Greider","motivation":"\"for the discovery of how chromosomes are protected by telomeres and the enzyme telomerase\"","share":"3"},{"id":"837","firstname":"<NAME>.","surname":"Szostak","motivation":"\"for the discovery of how chromosomes are protected by telomeres and the enzyme telomerase\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2008","category":"chemistry","laureates":[{"id":"829","firstname":"Osamu","surname":"Shimomura","motivation":"\"for the discovery and development of the green fluorescent protein, GFP\"","share":"3"},{"id":"830","firstname":"Martin","surname":"Chalfie","motivation":"\"for the discovery and development of the green fluorescent protein, GFP\"","share":"3"},{"id":"831","firstname":"<NAME>.","surname":"Tsien","motivation":"\"for the discovery and development of the green fluorescent protein, GFP\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2008","category":"economics","laureates":[{"id":"834","firstname":"Paul","surname":"Krugman","motivation":"\"for his analysis of trade patterns and location of economic activity\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2008","category":"literature","laureates":[{"id":"832","firstname":"<NAME>","surname":"<NAME>","motivation":"\"author of new departures, poetic adventure and sensual ecstasy, explorer of a humanity beyond and below the reigning civilization\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2008","category":"peace","laureates":[{"id":"833","firstname":"Martti","surname":"Ahtisaari","motivation":"\"for his important efforts, on several continents and over more than three decades, to resolve international conflicts\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2008","category":"physics","laureates":[{"id":"826","firstname":"Yoichiro","surname":"Nambu","motivation":"\"for the discovery of the mechanism of spontaneous broken symmetry in subatomic physics\"","share":"2"},{"id":"827","firstname":"Makoto","surname":"Kobayashi","motivation":"\"for the discovery of the origin of the broken symmetry which predicts the existence of at least three families of quarks in nature\"","share":"4"},{"id":"828","firstname":"Toshihide","surname":"Maskawa","motivation":"\"for the discovery of the origin of the broken symmetry which predicts the existence of at least three families of quarks in nature\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2008","category":"medicine","laureates":[{"id":"823","firstname":"Harald","surname":"<NAME>","motivation":"\"for his discovery of human papilloma viruses causing cervical cancer\"","share":"2"},{"id":"824","firstname":"Françoise","surname":"Barré-Sinoussi","motivation":"\"for their discovery of human immunodeficiency virus\"","share":"4"},{"id":"825","firstname":"Luc","surname":"Montagnier","motivation":"\"for their discovery of human immunodeficiency virus\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2007","category":"chemistry","laureates":[{"id":"816","firstname":"Gerhard","surname":"Ertl","motivation":"\"for his studies of chemical processes on solid surfaces\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2007","category":"economics","laureates":[{"id":"820","firstname":"Leonid","surname":"Hurwicz","motivation":"\"for having laid the foundations of mechanism design theory\"","share":"3"},{"id":"821","firstname":"<NAME>.","surname":"Maskin","motivation":"\"for having laid the foundations of mechanism design theory\"","share":"3"},{"id":"822","firstname":"<NAME>.","surname":"Myerson","motivation":"\"for having laid the foundations of mechanism design theory\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2007","category":"literature","laureates":[{"id":"817","firstname":"Doris","surname":"Lessing","motivation":"\"that epicist of the female experience, who with scepticism, fire and visionary power has subjected a divided civilisation to scrutiny\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2007","category":"peace","laureates":[{"id":"818","motivation":"\"for their efforts to build up and disseminate greater knowledge about man-made climate change, and to lay the foundations for the measures that are needed to counteract such change\"","share":"2","firstname":"Intergovernmental Panel on Climate Change"},{"id":"819","firstname":"Al","surname":"Gore","motivation":"\"for their efforts to build up and disseminate greater knowledge about man-made climate change, and to lay the foundations for the measures that are needed to counteract such change\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2007","category":"physics","laureates":[{"id":"814","firstname":"Albert","surname":"Fert","motivation":"\"for the discovery of Giant Magnetoresistance\"","share":"2"},{"id":"815","firstname":"Peter","surname":"Grünberg","motivation":"\"for the discovery of Giant Magnetoresistance\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2007","category":"medicine","laureates":[{"id":"811","firstname":"<NAME>.","surname":"Capecchi","motivation":"\"for their discoveries of principles for introducing specific gene modifications in mice by the use of embryonic stem cells\"","share":"3"},{"id":"812","firstname":"<NAME>.","surname":"Evans","motivation":"\"for their discoveries of principles for introducing specific gene modifications in mice by the use of embryonic stem cells\"","share":"3"},{"id":"813","firstname":"Oliver","surname":"Smithies","motivation":"\"for their discoveries of principles for introducing specific gene modifications in mice by the use of embryonic stem cells\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2006","category":"chemistry","laureates":[{"id":"806","firstname":"<NAME>.","surname":"Kornberg","motivation":"\"for his studies of the molecular basis of eukaryotic transcription\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2006","category":"economics","laureates":[{"id":"807","firstname":"<NAME>.","surname":"Phelps","motivation":"\"for his analysis of intertemporal tradeoffs in macroeconomic policy\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2006","category":"literature","laureates":[{"id":"808","firstname":"Orhan","surname":"Pamuk","motivation":"\"who in the quest for the melancholic soul of his native city has discovered new symbols for the clash and interlacing of cultures\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2006","category":"peace","laureates":[{"id":"809","firstname":"Muhammad","surname":"Yunus","motivation":"\"for their efforts to create economic and social development from below\"","share":"2"},{"id":"810","motivation":"\"for their efforts to create economic and social development from below\"","share":"2","firstname":"Grameen Bank"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2006","category":"physics","laureates":[{"id":"804","firstname":"<NAME>.","surname":"Mather","motivation":"\"for their discovery of the blackbody form and anisotropy of the cosmic microwave background radiation\"","share":"2"},{"id":"805","firstname":"<NAME>.","surname":"Smoot","motivation":"\"for their discovery of the blackbody form and anisotropy of the cosmic microwave background radiation\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2006","category":"medicine","laureates":[{"id":"802","firstname":"<NAME>.","surname":"Fire","motivation":"\"for their discovery of RNA interference - gene silencing by double-stranded RNA\"","share":"2"},{"id":"803","firstname":"<NAME>.","surname":"Mello","motivation":"\"for their discovery of RNA interference - gene silencing by double-stranded RNA\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2005","category":"chemistry","laureates":[{"id":"794","firstname":"Yves","surname":"Chauvin","motivation":"\"for the development of the metathesis method in organic synthesis\"","share":"3"},{"id":"795","firstname":"<NAME>.","surname":"Grubbs","motivation":"\"for the development of the metathesis method in organic synthesis\"","share":"3"},{"id":"796","firstname":"<NAME>.","surname":"Schrock","motivation":"\"for the development of the metathesis method in organic synthesis\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2005","category":"economics","laureates":[{"id":"799","firstname":"<NAME>.","surname":"Aumann","motivation":"\"for having enhanced our understanding of conflict and cooperation through game-theory analysis\"","share":"2"},{"id":"800","firstname":"<NAME>.","surname":"Schelling","motivation":"\"for having enhanced our understanding of conflict and cooperation through game-theory analysis\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2005","category":"literature","laureates":[{"id":"801","firstname":"Harold","surname":"Pinter","motivation":"\"who in his plays uncovers the precipice under everyday prattle and forces entry into oppression''s closed rooms\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2005","category":"peace","laureates":[{"id":"797","motivation":"\"for their efforts to prevent nuclear energy from being used for military purposes and to ensure that nuclear energy for peaceful purposes is used in the safest possible way\"","share":"2","firstname":"International Atomic Energy Agency"},{"id":"798","firstname":"Mohamed","surname":"ElBaradei","motivation":"\"for their efforts to prevent nuclear energy from being used for military purposes and to ensure that nuclear energy for peaceful purposes is used in the safest possible way\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2005","category":"physics","laureates":[{"id":"791","firstname":"<NAME>.","surname":"Glauber","motivation":"\"for his contribution to the quantum theory of optical coherence\"","share":"2"},{"id":"792","firstname":"<NAME>.","surname":"Hall","motivation":"\"for their contributions to the development of laser-based precision spectroscopy, including the optical frequency comb technique\"","share":"4"},{"id":"793","firstname":"<NAME>.","surname":"Hänsch","motivation":"\"for their contributions to the development of laser-based precision spectroscopy, including the optical frequency comb technique\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2005","category":"medicine","laureates":[{"id":"789","firstname":"<NAME>.","surname":"Marshall","motivation":"\"for their discovery of the bacterium <i>Helicobacter pylori</i> and its role in gastritis and peptic ulcer disease\"","share":"2"},{"id":"790","firstname":"<NAME>","surname":"Warren","motivation":"\"for their discovery of the bacterium <i>Helicobacter pylori</i> and its role in gastritis and peptic ulcer disease\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2004","category":"chemistry","laureates":[{"id":"779","firstname":"Aaron","surname":"Ciechanover","motivation":"\"for the discovery of ubiquitin-mediated protein degradation\"","share":"3"},{"id":"780","firstname":"Avram","surname":"Hershko","motivation":"\"for the discovery of ubiquitin-mediated protein degradation\"","share":"3"},{"id":"781","firstname":"Irwin","surname":"Rose","motivation":"\"for the discovery of ubiquitin-mediated protein degradation\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2004","category":"economics","laureates":[{"id":"786","firstname":"<NAME>.","surname":"Kydland","motivation":"\"for their contributions to dynamic macroeconomics: the time consistency of economic policy and the driving forces behind business cycles\"","share":"2"},{"id":"787","firstname":"<NAME>.","surname":"Prescott","motivation":"\"for their contributions to dynamic macroeconomics: the time consistency of economic policy and the driving forces behind business cycles\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2004","category":"literature","laureates":[{"id":"782","firstname":"Elfriede","surname":"Jelinek","motivation":"\"for her musical flow of voices and counter-voices in novels and plays that with extraordinary linguistic zeal reveal the absurdity of society''s clichés and their subjugating power\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2004","category":"peace","laureates":[{"id":"783","firstname":"Wangari","surname":"Maathai","motivation":"\"for her contribution to sustainable development, democracy and peace\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2004","category":"physics","laureates":[{"id":"776","firstname":"<NAME>.","surname":"Gross","motivation":"\"for the discovery of asymptotic freedom in the theory of the strong interaction\"","share":"3"},{"id":"777","firstname":"<NAME>","surname":"Politzer","motivation":"\"for the discovery of asymptotic freedom in the theory of the strong interaction\"","share":"3"},{"id":"778","firstname":"Frank","surname":"Wilczek","motivation":"\"for the discovery of asymptotic freedom in the theory of the strong interaction\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2004","category":"medicine","laureates":[{"id":"774","firstname":"Richard","surname":"Axel","motivation":"\"for their discoveries of odorant receptors and the organization of the olfactory system\"","share":"2"},{"id":"775","firstname":"<NAME>.","surname":"Buck","motivation":"\"for their discoveries of odorant receptors and the organization of the olfactory system\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2003","category":"chemistry","overallMotivation":"\"for discoveries concerning channels in cell membranes\"","laureates":[{"id":"769","firstname":"Peter","surname":"Agre","motivation":"\"for the discovery of water channels\"","share":"2"},{"id":"770","firstname":"Roderick","surname":"MacKinnon","motivation":"\"for structural and mechanistic studies of ion channels\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2003","category":"economics","laureates":[{"id":"771","firstname":"<NAME>.","surname":"Engle III","motivation":"\"for methods of analyzing economic time series with time-varying volatility (ARCH)\"","share":"2"},{"id":"772","firstname":"<NAME>.","surname":"Granger","motivation":"\"for methods of analyzing economic time series with common trends (cointegration)\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2003","category":"literature","laureates":[{"id":"763","firstname":"<NAME>.","surname":"Coetzee","motivation":"\"who in innumerable guises portrays the surprising involvement of the outsider\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2003","category":"peace","laureates":[{"id":"773","firstname":"Shirin","surname":"Ebadi","motivation":"\"for her efforts for democracy and human rights. She has focused especially on the struggle for the rights of women and children\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2003","category":"physics","laureates":[{"id":"766","firstname":"Alexei","surname":"Abrikosov","motivation":"\"for pioneering contributions to the theory of superconductors and superfluids\"","share":"3"},{"id":"767","firstname":"<NAME>.","surname":"Ginzburg","motivation":"\"for pioneering contributions to the theory of superconductors and superfluids\"","share":"3"},{"id":"768","firstname":"<NAME>.","surname":"Leggett","motivation":"\"for pioneering contributions to the theory of superconductors and superfluids\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2003","category":"medicine","laureates":[{"id":"764","firstname":"<NAME>.","surname":"Lauterbur","motivation":"\"for their discoveries concerning magnetic resonance imaging\"","share":"2"},{"id":"765","firstname":"<NAME>","surname":"Mansfield","motivation":"\"for their discoveries concerning magnetic resonance imaging\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2002","category":"chemistry","overallMotivation":"\"for the development of methods for identification and structure analyses of biological macromolecules\"","laureates":[{"id":"756","firstname":"<NAME>.","surname":"Fenn","motivation":"\"for their development of soft desorption ionisation methods for mass spectrometric analyses of biological macromolecules\"","share":"4"},{"id":"757","firstname":"Koichi","surname":"Tanaka","motivation":"\"for their development of soft desorption ionisation methods for mass spectrometric analyses of biological macromolecules\"","share":"4"},{"id":"758","firstname":"Kurt","surname":"Wüthrich","motivation":"\"for his development of nuclear magnetic resonance spectroscopy for determining the three-dimensional structure of biological macromolecules in solution\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2002","category":"economics","laureates":[{"id":"759","firstname":"Daniel","surname":"Kahneman","motivation":"\"for having integrated insights from psychological research into economic science, especially concerning human judgment and decision-making under uncertainty\"","share":"2"},{"id":"760","firstname":"<NAME>.","surname":"Smith","motivation":"\"for having established laboratory experiments as a tool in empirical economic analysis, especially in the study of alternative market mechanisms\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2002","category":"literature","laureates":[{"id":"761","firstname":"Imre","surname":"Kertész","motivation":"\"for writing that upholds the fragile experience of the individual against the barbaric arbitrariness of history\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2002","category":"peace","laureates":[{"id":"762","firstname":"Jimmy","surname":"Carter","motivation":"\"for his decades of untiring effort to find peaceful solutions to international conflicts, to advance democracy and human rights, and to promote economic and social development\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2002","category":"physics","laureates":[{"id":"753","firstname":"Raymond","surname":"<NAME>.","motivation":"\"for pioneering contributions to astrophysics, in particular for the detection of cosmic neutrinos\"","share":"4"},{"id":"754","firstname":"Masatoshi","surname":"Koshiba","motivation":"\"for pioneering contributions to astrophysics, in particular for the detection of cosmic neutrinos\"","share":"4"},{"id":"755","firstname":"Riccardo","surname":"Giacconi","motivation":"\"for pioneering contributions to astrophysics, which have led to the discovery of cosmic X-ray sources\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2002","category":"medicine","laureates":[{"id":"750","firstname":"Sydney","surname":"Brenner","motivation":"\"for their discoveries concerning genetic regulation of organ development and programmed cell death''\"","share":"3"},{"id":"751","firstname":"<NAME>","surname":"Horvitz","motivation":"\"for their discoveries concerning genetic regulation of organ development and programmed cell death''\"","share":"3"},{"id":"752","firstname":"<NAME>.","surname":"Sulston","motivation":"\"for their discoveries concerning genetic regulation of organ development and programmed cell death''\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2001","category":"chemistry","laureates":[{"id":"741","firstname":"William","surname":"Knowles","motivation":"\"for their work on chirally catalysed hydrogenation reactions\"","share":"4"},{"id":"742","firstname":"Ryoji","surname":"Noyori","motivation":"\"for their work on chirally catalysed hydrogenation reactions\"","share":"4"},{"id":"743","firstname":"Barry","surname":"Sharpless","motivation":"\"for his work on chirally catalysed oxidation reactions\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2001","category":"economics","laureates":[{"id":"744","firstname":"<NAME>.","surname":"Akerlof","motivation":"\"for their analyses of markets with asymmetric information\"","share":"3"},{"id":"745","firstname":"<NAME>","surname":"Spence","motivation":"\"for their analyses of markets with asymmetric information\"","share":"3"},{"id":"746","firstname":"<NAME>.","surname":"Stiglitz","motivation":"\"for their analyses of markets with asymmetric information\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2001","category":"literature","laureates":[{"id":"747","firstname":"<NAME>.","surname":"Naipaul","motivation":"\"for having united perceptive narrative and incorruptible scrutiny in works that compel us to see the presence of suppressed histories\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2001","category":"peace","laureates":[{"id":"748","motivation":"\"for their work for a better organized and more peaceful world\"","share":"2","firstname":"United Nations"},{"id":"749","firstname":"Kofi","surname":"Annan","motivation":"\"for their work for a better organized and more peaceful world\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2001","category":"physics","laureates":[{"id":"738","firstname":"Eric","surname":"Cornell","motivation":"\"for the achievement of Bose-Einstein condensation in dilute gases of alkali atoms, and for early fundamental studies of the properties of the condensates\"","share":"3"},{"id":"739","firstname":"Wolfgang","surname":"Ketterle","motivation":"\"for the achievement of Bose-Einstein condensation in dilute gases of alkali atoms, and for early fundamental studies of the properties of the condensates\"","share":"3"},{"id":"740","firstname":"Carl","surname":"Wieman","motivation":"\"for the achievement of Bose-Einstein condensation in dilute gases of alkali atoms, and for early fundamental studies of the properties of the condensates\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2001","category":"medicine","laureates":[{"id":"737","firstname":"<NAME>","surname":"Nurse","motivation":"\"for their discoveries of key regulators of the cell cycle\"","share":"3"},{"id":"735","firstname":"Leland","surname":"Hartwell","motivation":"\"for their discoveries of key regulators of the cell cycle\"","share":"3"},{"id":"736","firstname":"Tim","surname":"Hunt","motivation":"\"for their discoveries of key regulators of the cell cycle\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2000","category":"chemistry","laureates":[{"id":"729","firstname":"Alan","surname":"Heeger","motivation":"\"for the discovery and development of conductive polymers\"","share":"3"},{"id":"730","firstname":"Alan","surname":"MacDiarmid","motivation":"\"for the discovery and development of conductive polymers\"","share":"3"},{"id":"731","firstname":"Hideki","surname":"Shirakawa","motivation":"\"for the discovery and development of conductive polymers\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2000","category":"economics","laureates":[{"id":"732","firstname":"<NAME>.","surname":"Heckman","motivation":"\"for his development of theory and methods for analyzing selective samples\"","share":"2"},{"id":"733","firstname":"<NAME>.","surname":"McFadden","motivation":"\"for his development of theory and methods for analyzing discrete choice\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2000","category":"literature","laureates":[{"id":"734","firstname":"Xingjian","surname":"Gao","motivation":"\"for an æuvre of universal validity, bitter insights and linguistic ingenuity, which has opened new paths for the Chinese novel and drama\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2000","category":"peace","laureates":[{"id":"725","firstname":"Kim","surname":"Dae-jung","motivation":"\"for his work for democracy and human rights in South Korea and in East Asia in general, and for peace and reconciliation with North Korea in particular\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2000","category":"physics","overallMotivation":"\"for basic work on information and communication technology\"","laureates":[{"id":"726","firstname":"Zhores","surname":"Alferov","motivation":"\"for developing semiconductor heterostructures used in high-speed- and opto-electronics\"","share":"4"},{"id":"727","firstname":"Herbert","surname":"Kroemer","motivation":"\"for developing semiconductor heterostructures used in high-speed- and opto-electronics\"","share":"4"},{"id":"728","firstname":"Jack","surname":"Kilby","motivation":"\"for his part in the invention of the integrated circuit\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"2000","category":"medicine","laureates":[{"id":"722","firstname":"Arvid","surname":"Carlsson","motivation":"\"for their discoveries concerning signal transduction in the nervous system\"","share":"3"},{"id":"723","firstname":"Paul","surname":"Greengard","motivation":"\"for their discoveries concerning signal transduction in the nervous system\"","share":"3"},{"id":"724","firstname":"Eric","surname":"Kandel","motivation":"\"for their discoveries concerning signal transduction in the nervous system\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1999","category":"chemistry","laureates":[{"id":"292","firstname":"Ahmed","surname":"Zewail","motivation":"\"for his studies of the transition states of chemical reactions using femtosecond spectroscopy\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1999","category":"economics","laureates":[{"id":"720","firstname":"Robert","surname":"Mundell","motivation":"\"for his analysis of monetary and fiscal policy under different exchange rate regimes and his analysis of optimum currency areas\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1999","category":"literature","laureates":[{"id":"676","firstname":"Günter","surname":"Grass","motivation":"\"whose frolicsome black fables portray the forgotten face of history\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1999","category":"peace","laureates":[{"id":"568","motivation":"\"in recognition of the organisation''s pioneering humanitarian work on several continents\"","share":"1","firstname":"Médecins Sans Frontières"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1999","category":"physics","laureates":[{"id":"158","firstname":"Gerardus","surname":"''<NAME>","motivation":"\"for elucidating the quantum structure of electroweak interactions in physics\"","share":"2"},{"id":"159","firstname":"<NAME>.","surname":"Veltman","motivation":"\"for elucidating the quantum structure of electroweak interactions in physics\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1999","category":"medicine","laureates":[{"id":"461","firstname":"Günter","surname":"Blobel","motivation":"\"for the discovery that proteins have intrinsic signals that govern their transport and localization in the cell\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1998","category":"chemistry","laureates":[{"id":"290","firstname":"Walter","surname":"Kohn","motivation":"\"for his development of the density-functional theory\"","share":"2"},{"id":"291","firstname":"John","surname":"Pople","motivation":"\"for his development of computational methods in quantum chemistry\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1998","category":"economics","laureates":[{"id":"719","firstname":"Amartya","surname":"Sen","motivation":"\"for his contributions to welfare economics\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1998","category":"literature","laureates":[{"id":"675","firstname":"José","surname":"Saramago","motivation":"\"who with parables sustained by imagination, compassion and irony continually enables us once again to apprehend an elusory reality\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1998","category":"peace","laureates":[{"id":"566","firstname":"John","surname":"Hume","motivation":"\"for their efforts to find a peaceful solution to the conflict in Northern Ireland\"","share":"2"},{"id":"567","firstname":"David","surname":"Trimble","motivation":"\"for their efforts to find a peaceful solution to the conflict in Northern Ireland\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1998","category":"physics","laureates":[{"id":"155","firstname":"<NAME>.","surname":"Laughlin","motivation":"\"for their discovery of a new form of quantum fluid with fractionally charged excitations\"","share":"3"},{"id":"156","firstname":"<NAME>.","surname":"Störmer","motivation":"\"for their discovery of a new form of quantum fluid with fractionally charged excitations\"","share":"3"},{"id":"157","firstname":"<NAME>.","surname":"Tsui","motivation":"\"for their discovery of a new form of quantum fluid with fractionally charged excitations\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1998","category":"medicine","laureates":[{"id":"458","firstname":"<NAME>.","surname":"Furchgott","motivation":"\"for their discoveries concerning nitric oxide as a signalling molecule in the cardiovascular system\"","share":"3"},{"id":"459","firstname":"<NAME>.","surname":"Ignarro","motivation":"\"for their discoveries concerning nitric oxide as a signalling molecule in the cardiovascular system\"","share":"3"},{"id":"460","firstname":"Ferid","surname":"Murad","motivation":"\"for their discoveries concerning nitric oxide as a signalling molecule in the cardiovascular system\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1997","category":"chemistry","laureates":[{"id":"287","firstname":"<NAME>.","surname":"Boyer","motivation":"\"for their elucidation of the enzymatic mechanism underlying the synthesis of adenosine triphosphate (ATP)\"","share":"4"},{"id":"288","firstname":"<NAME>.","surname":"Walker","motivation":"\"for their elucidation of the enzymatic mechanism underlying the synthesis of adenosine triphosphate (ATP)\"","share":"4"},{"id":"289","firstname":"<NAME>.","surname":"Skou","motivation":"\"for the first discovery of an ion-transporting enzyme, Na+, K+ -ATPase\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1997","category":"economics","laureates":[{"id":"717","firstname":"<NAME>.","surname":"Merton","motivation":"\"for a new method to determine the value of derivatives\"","share":"2"},{"id":"718","firstname":"Myron","surname":"Scholes","motivation":"\"for a new method to determine the value of derivatives\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1997","category":"literature","laureates":[{"id":"674","firstname":"Dario","surname":"Fo","motivation":"\"who emulates the jesters of the Middle Ages in scourging authority and upholding the dignity of the downtrodden\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1997","category":"peace","laureates":[{"id":"564","motivation":"\"for their efforts to ban and remove anti-personnel landmines\"","share":"2","firstname":"International Campaign to Ban Landmines"},{"id":"565","firstname":"Jody","surname":"Williams","motivation":"\"for their work for the banning and clearing of anti-personnel mines\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1997","category":"physics","laureates":[{"id":"152","firstname":"Steven","surname":"Chu","motivation":"\"for development of methods to cool and trap atoms with laser light\"","share":"3"},{"id":"153","firstname":"Claude","surname":"Cohen-Tannoudji","motivation":"\"for development of methods to cool and trap atoms with laser light\"","share":"3"},{"id":"154","firstname":"<NAME>.","surname":"Phillips","motivation":"\"for development of methods to cool and trap atoms with laser light\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1997","category":"medicine","laureates":[{"id":"457","firstname":"<NAME>.","surname":"Prusiner","motivation":"\"for his discovery of Prions - a new biological principle of infection\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1996","category":"chemistry","laureates":[{"id":"284","firstname":"<NAME>.","surname":"Curl Jr.","motivation":"\"for their discovery of fullerenes\"","share":"3"},{"id":"285","firstname":"<NAME>","surname":"Kroto","motivation":"\"for their discovery of fullerenes\"","share":"3"},{"id":"286","firstname":"<NAME>.","surname":"Smalley","motivation":"\"for their discovery of fullerenes\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1996","category":"economics","laureates":[{"id":"715","firstname":"<NAME>.","surname":"Mirrlees","motivation":"\"for their fundamental contributions to the economic theory of incentives under asymmetric information\"","share":"2"},{"id":"716","firstname":"William","surname":"Vickrey","motivation":"\"for their fundamental contributions to the economic theory of incentives under asymmetric information\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1996","category":"literature","laureates":[{"id":"673","firstname":"Wislawa","surname":"Szymborska","motivation":"\"for poetry that with ironic precision allows the historical and biological context to come to light in fragments of human reality\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1996","category":"peace","laureates":[{"id":"562","firstname":"<NAME>","surname":"Belo","motivation":"\"for their work towards a just and peaceful solution to the conflict in East Timor\"","share":"2"},{"id":"563","firstname":"José","surname":"Ramos-Horta","motivation":"\"for their work towards a just and peaceful solution to the conflict in East Timor\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1996","category":"physics","laureates":[{"id":"149","firstname":"<NAME>.","surname":"Lee","motivation":"\"for their discovery of superfluidity in helium-3\"","share":"3"},{"id":"150","firstname":"<NAME>.","surname":"Osheroff","motivation":"\"for their discovery of superfluidity in helium-3\"","share":"3"},{"id":"151","firstname":"<NAME>.","surname":"Richardson","motivation":"\"for their discovery of superfluidity in helium-3\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1996","category":"medicine","laureates":[{"id":"455","firstname":"<NAME>.","surname":"Doherty","motivation":"\"for their discoveries concerning the specificity of the cell mediated immune defence\"","share":"2"},{"id":"456","firstname":"<NAME>.","surname":"Zinkernagel","motivation":"\"for their discoveries concerning the specificity of the cell mediated immune defence\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1995","category":"chemistry","laureates":[{"id":"281","firstname":"<NAME>.","surname":"Crutzen","motivation":"\"for their work in atmospheric chemistry, particularly concerning the formation and decomposition of ozone\"","share":"3"},{"id":"282","firstname":"<NAME>.","surname":"Molina","motivation":"\"for their work in atmospheric chemistry, particularly concerning the formation and decomposition of ozone\"","share":"3"},{"id":"283","firstname":"<NAME>","surname":"Rowland","motivation":"\"for their work in atmospheric chemistry, particularly concerning the formation and decomposition of ozone\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1995","category":"economics","laureates":[{"id":"714","firstname":"<NAME>.","surname":"<NAME>.","motivation":"\"for having developed and applied the hypothesis of rational expectations, and thereby having transformed macroeconomic analysis and deepened our understanding of economic policy\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1995","category":"literature","laureates":[{"id":"672","firstname":"Seamus","surname":"Heaney","motivation":"\"for works of lyrical beauty and ethical depth, which exalt everyday miracles and the living past\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1995","category":"peace","laureates":[{"id":"560","firstname":"Joseph","surname":"Rotblat","motivation":"\"for their efforts to diminish the part played by nuclear arms in international politics and, in the longer run, to eliminate such arms\"","share":"2"},{"id":"561","motivation":"\"for their efforts to diminish the part played by nuclear arms in international politics and, in the longer run, to eliminate such arms\"","share":"2","firstname":"Pugwash Conferences on Science and World Affairs"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1995","category":"physics","overallMotivation":"\"for pioneering experimental contributions to lepton physics\"","laureates":[{"id":"147","firstname":"<NAME>.","surname":"Perl","motivation":"\"for the discovery of the tau lepton\"","share":"2"},{"id":"148","firstname":"Frederick","surname":"Reines","motivation":"\"for the detection of the neutrino\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1995","category":"medicine","laureates":[{"id":"452","firstname":"<NAME>.","surname":"Lewis","motivation":"\"for their discoveries concerning the genetic control of early embryonic development\"","share":"3"},{"id":"453","firstname":"Christiane","surname":"Nüsslein-Volhard","motivation":"\"for their discoveries concerning the genetic control of early embryonic development\"","share":"3"},{"id":"454","firstname":"<NAME>.","surname":"Wieschaus","motivation":"\"for their discoveries concerning the genetic control of early embryonic development\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1994","category":"chemistry","laureates":[{"id":"280","firstname":"<NAME>.","surname":"Olah","motivation":"\"for his contribution to carbocation chemistry\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1994","category":"economics","laureates":[{"id":"711","firstname":"<NAME>.","surname":"Harsanyi","motivation":"\"for their pioneering analysis of equilibria in the theory of non-cooperative games\"","share":"3"},{"id":"712","firstname":"<NAME>.","surname":"Nash Jr.","motivation":"\"for their pioneering analysis of equilibria in the theory of non-cooperative games\"","share":"3"},{"id":"713","firstname":"Reinhard","surname":"Selten","motivation":"\"for their pioneering analysis of equilibria in the theory of non-cooperative games\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1994","category":"literature","laureates":[{"id":"671","firstname":"Kenzaburo","surname":"Oe","motivation":"\"who with poetic force creates an imagined world, where life and myth condense to form a disconcerting picture of the human predicament today\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1994","category":"peace","laureates":[{"id":"557","firstname":"Yasser","surname":"Arafat","motivation":"\"for their efforts to create peace in the Middle East\"","share":"3"},{"id":"558","firstname":"Shimon","surname":"Peres","motivation":"\"for their efforts to create peace in the Middle East\"","share":"3"},{"id":"559","firstname":"Yitzhak","surname":"Rabin","motivation":"\"for their efforts to create peace in the Middle East\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1994","category":"physics","overallMotivation":"\"for pioneering contributions to the development of neutron scattering techniques for studies of condensed matter\"","laureates":[{"id":"145","firstname":"<NAME>.","surname":"Brockhouse","motivation":"\"for the development of neutron spectroscopy\"","share":"2"},{"id":"146","firstname":"<NAME>.","surname":"Shull","motivation":"\"for the development of the neutron diffraction technique\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1994","category":"medicine","laureates":[{"id":"450","firstname":"<NAME>.","surname":"Gilman","motivation":"\"for their discovery of G-proteins and the role of these proteins in signal transduction in cells\"","share":"2"},{"id":"451","firstname":"Martin","surname":"Rodbell","motivation":"\"for their discovery of G-proteins and the role of these proteins in signal transduction in cells\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1993","category":"chemistry","overallMotivation":"\"for contributions to the developments of methods within DNA-based chemistry\"","laureates":[{"id":"278","firstname":"<NAME>.","surname":"Mullis","motivation":"\"for his invention of the polymerase chain reaction (PCR) method\"","share":"2"},{"id":"279","firstname":"Michael","surname":"Smith","motivation":"\"for his fundamental contributions to the establishment of oligonucleotide-based, site-directed mutagenesis and its development for protein studies\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1993","category":"economics","laureates":[{"id":"709","firstname":"<NAME>.","surname":"Fogel","motivation":"\"for having renewed research in economic history by applying economic theory and quantitative methods in order to explain economic and institutional change\"","share":"2"},{"id":"710","firstname":"<NAME>.","surname":"North","motivation":"\"for having renewed research in economic history by applying economic theory and quantitative methods in order to explain economic and institutional change\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1993","category":"literature","laureates":[{"id":"670","firstname":"Toni","surname":"Morrison","motivation":"\"who in novels characterized by visionary force and poetic import, gives life to an essential aspect of American reality\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1993","category":"peace","laureates":[{"id":"555","firstname":"Nelson","surname":"Mandela","motivation":"\"for their work for the peaceful termination of the apartheid regime, and for laying the foundations for a new democratic South Africa\"","share":"2"},{"id":"556","firstname":"F.W.","surname":"<NAME>","motivation":"\"for their work for the peaceful termination of the apartheid regime, and for laying the foundations for a new democratic South Africa\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1993","category":"physics","laureates":[{"id":"143","firstname":"<NAME>.","surname":"Hulse","motivation":"\"for the discovery of a new type of pulsar, a discovery that has opened up new possibilities for the study of gravitation\"","share":"2"},{"id":"144","firstname":"<NAME>.","surname":"Taylor Jr.","motivation":"\"for the discovery of a new type of pulsar, a discovery that has opened up new possibilities for the study of gravitation\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1993","category":"medicine","laureates":[{"id":"448","firstname":"<NAME>.","surname":"Roberts","motivation":"\"for their discoveries of split genes\"","share":"2"},{"id":"449","firstname":"<NAME>.","surname":"Sharp","motivation":"\"for their discoveries of split genes\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1992","category":"chemistry","laureates":[{"id":"277","firstname":"<NAME>.","surname":"Marcus","motivation":"\"for his contributions to the theory of electron transfer reactions in chemical systems\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1992","category":"economics","laureates":[{"id":"708","firstname":"Gary","surname":"Becker","motivation":"\"for having extended the domain of microeconomic analysis to a wide range of human behaviour and interaction, including nonmarket behaviour\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1992","category":"literature","laureates":[{"id":"669","firstname":"Derek","surname":"Walcott","motivation":"\"for a poetic oeuvre of great luminosity, sustained by a historical vision, the outcome of a multicultural commitment\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1992","category":"peace","laureates":[{"id":"554","firstname":"Rigoberta","surname":"<NAME>","motivation":"\"for her struggle for social justice and ethno-cultural reconciliation based on respect for the rights of indigenous peoples\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1992","category":"physics","laureates":[{"id":"142","firstname":"Georges","surname":"Charpak","motivation":"\"for his invention and development of particle detectors, in particular the multiwire proportional chamber\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1992","category":"medicine","laureates":[{"id":"446","firstname":"<NAME>.","surname":"Fischer","motivation":"\"for their discoveries concerning reversible protein phosphorylation as a biological regulatory mechanism\"","share":"2"},{"id":"447","firstname":"<NAME>.","surname":"Krebs","motivation":"\"for their discoveries concerning reversible protein phosphorylation as a biological regulatory mechanism\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1991","category":"chemistry","laureates":[{"id":"276","firstname":"<NAME>.","surname":"Ernst","motivation":"\"for his contributions to the development of the methodology of high resolution nuclear magnetic resonance (NMR) spectroscopy\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1991","category":"economics","laureates":[{"id":"707","firstname":"<NAME>.","surname":"Coase","motivation":"\"for his discovery and clarification of the significance of transaction costs and property rights for the institutional structure and functioning of the economy\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1991","category":"literature","laureates":[{"id":"668","firstname":"Nadine","surname":"Gordimer","motivation":"\"who through her magnificent epic writing has - in the words of <NAME> - been of very great benefit to humanity\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1991","category":"peace","laureates":[{"id":"553","firstname":"<NAME>","motivation":"\"for her non-violent struggle for democracy and human rights\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1991","category":"physics","laureates":[{"id":"141","firstname":"Pierre-Gilles","surname":"<NAME>","motivation":"\"for discovering that methods developed for studying order phenomena in simple systems can be generalized to more complex forms of matter, in particular to liquid crystals and polymers\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1991","category":"medicine","laureates":[{"id":"444","firstname":"Erwin","surname":"Neher","motivation":"\"for their discoveries concerning the function of single ion channels in cells\"","share":"2"},{"id":"445","firstname":"Bert","surname":"Sakmann","motivation":"\"for their discoveries concerning the function of single ion channels in cells\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1990","category":"chemistry","laureates":[{"id":"275","firstname":"<NAME>","surname":"Corey","motivation":"\"for his development of the theory and methodology of organic synthesis\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1990","category":"economics","laureates":[{"id":"704","firstname":"<NAME>.","surname":"Markowitz","motivation":"\"for their pioneering work in the theory of financial economics\"","share":"3"},{"id":"705","firstname":"<NAME>.","surname":"Miller","motivation":"\"for their pioneering work in the theory of financial economics\"","share":"3"},{"id":"706","firstname":"<NAME>.","surname":"Sharpe","motivation":"\"for their pioneering work in the theory of financial economics\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1990","category":"literature","laureates":[{"id":"667","firstname":"Octavio","surname":"Paz","motivation":"\"for impassioned writing with wide horizons, characterized by sensuous intelligence and humanistic integrity\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1990","category":"peace","laureates":[{"id":"552","firstname":"Mikhail","surname":"Gorbachev","motivation":"\"for the leading role he played in the radical changes in East-West relations\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1990","category":"physics","laureates":[{"id":"138","firstname":"<NAME>.","surname":"Friedman","motivation":"\"for their pioneering investigations concerning deep inelastic scattering of electrons on protons and bound neutrons, which have been of essential importance for the development of the quark model in particle physics\"","share":"3"},{"id":"139","firstname":"<NAME>.","surname":"Kendall","motivation":"\"for their pioneering investigations concerning deep inelastic scattering of electrons on protons and bound neutrons, which have been of essential importance for the development of the quark model in particle physics\"","share":"3"},{"id":"140","firstname":"<NAME>.","surname":"Taylor","motivation":"\"for their pioneering investigations concerning deep inelastic scattering of electrons on protons and bound neutrons, which have been of essential importance for the development of the quark model in particle physics\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1990","category":"medicine","laureates":[{"id":"442","firstname":"<NAME>.","surname":"Murray","motivation":"\"for their discoveries concerning organ and cell transplantation in the treatment of human disease\"","share":"2"},{"id":"443","firstname":"<NAME>","surname":"Thomas","motivation":"\"for their discoveries concerning organ and cell transplantation in the treatment of human disease\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1989","category":"chemistry","laureates":[{"id":"273","firstname":"Sidney","surname":"Altman","motivation":"\"for their discovery of catalytic properties of RNA\"","share":"2"},{"id":"274","firstname":"<NAME>.","surname":"Cech","motivation":"\"for their discovery of catalytic properties of RNA\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1989","category":"economics","laureates":[{"id":"703","firstname":"Trygve","surname":"Haavelmo","motivation":"\"for his clarification of the probability theory foundations of econometrics and his analyses of simultaneous economic structures\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1989","category":"literature","laureates":[{"id":"666","firstname":"<NAME>","surname":"Cela","motivation":"\"for a rich and intensive prose, which with restrained compassion forms a challenging vision of man''s vulnerability\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1989","category":"peace","laureates":[{"id":"551","firstname":"Lhamo","surname":"Thondup","motivation":"\"for advocating peaceful solutions based upon tolerance and mutual respect in order to preserve the historical and cultural heritage of his people\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1989","category":"physics","laureates":[{"id":"135","firstname":"<NAME>.","surname":"Ramsey","motivation":"\"for the invention of the separated oscillatory fields method and its use in the hydrogen maser and other atomic clocks\"","share":"2"},{"id":"136","firstname":"<NAME>.","surname":"Dehmelt","motivation":"\"for the development of the ion trap technique\"","share":"4"},{"id":"137","firstname":"Wolfgang","surname":"Paul","motivation":"\"for the development of the ion trap technique\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1989","category":"medicine","laureates":[{"id":"440","firstname":"<NAME>","surname":"Bishop","motivation":"\"for their discovery of the cellular origin of retroviral oncogenes\"","share":"2"},{"id":"441","firstname":"<NAME>.","surname":"Varmus","motivation":"\"for their discovery of the cellular origin of retroviral oncogenes\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1988","category":"chemistry","laureates":[{"id":"270","firstname":"Johann","surname":"Deisenhofer","motivation":"\"for the determination of the three-dimensional structure of a photosynthetic reaction centre\"","share":"3"},{"id":"271","firstname":"Robert","surname":"Huber","motivation":"\"for the determination of the three-dimensional structure of a photosynthetic reaction centre\"","share":"3"},{"id":"272","firstname":"Hartmut","surname":"Michel","motivation":"\"for the determination of the three-dimensional structure of a photosynthetic reaction centre\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1988","category":"economics","laureates":[{"id":"702","firstname":"Maurice","surname":"Allais","motivation":"\"for his pioneering contributions to the theory of markets and efficient utilization of resources\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1988","category":"literature","laureates":[{"id":"665","firstname":"Naguib","surname":"Mahfouz","motivation":"\"who, through works rich in nuance - now clear-sightedly realistic, now evocatively ambiguous - has formed an Arabian narrative art that applies to all mankind\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1988","category":"peace","laureates":[{"id":"550","motivation":"\"for preventing armed clashes and creating conditions for negotiations\"","share":"1","firstname":"United Nations Peacekeeping Forces"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1988","category":"physics","laureates":[{"id":"132","firstname":"<NAME>.","surname":"Lederman","motivation":"\"for the neutrino beam method and the demonstration of the doublet structure of the leptons through the discovery of the muon neutrino\"","share":"3"},{"id":"133","firstname":"Melvin","surname":"Schwartz","motivation":"\"for the neutrino beam method and the demonstration of the doublet structure of the leptons through the discovery of the muon neutrino\"","share":"3"},{"id":"134","firstname":"Jack","surname":"Steinberger","motivation":"\"for the neutrino beam method and the demonstration of the doublet structure of the leptons through the discovery of the muon neutrino\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1988","category":"medicine","laureates":[{"id":"437","firstname":"<NAME>.","surname":"Black","motivation":"\"for their discoveries of important principles for drug treatment\"","share":"3"},{"id":"438","firstname":"<NAME>.","surname":"Elion","motivation":"\"for their discoveries of important principles for drug treatment\"","share":"3"},{"id":"439","firstname":"<NAME>.","surname":"Hitchings","motivation":"\"for their discoveries of important principles for drug treatment\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1987","category":"chemistry","laureates":[{"id":"267","firstname":"<NAME>.","surname":"Cram","motivation":"\"for their development and use of molecules with structure-specific interactions of high selectivity\"","share":"3"},{"id":"268","firstname":"Jean-Marie","surname":"Lehn","motivation":"\"for their development and use of molecules with structure-specific interactions of high selectivity\"","share":"3"},{"id":"269","firstname":"<NAME>.","surname":"Pedersen","motivation":"\"for their development and use of molecules with structure-specific interactions of high selectivity\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1987","category":"economics","laureates":[{"id":"701","firstname":"<NAME>.","surname":"Solow","motivation":"\"for his contributions to the theory of economic growth\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1987","category":"literature","laureates":[{"id":"664","firstname":"Joseph","surname":"Brodsky","motivation":"\"for an all-embracing authorship, imbued with clarity of thought and poetic intensity\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1987","category":"peace","laureates":[{"id":"549","firstname":"Oscar","surname":"<NAME>","motivation":"\"for his work for lasting peace in Central America\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1987","category":"physics","laureates":[{"id":"130","firstname":"<NAME>","surname":"Bednorz","motivation":"\"for their important break-through in the discovery of superconductivity in ceramic materials\"","share":"2"},{"id":"131","firstname":"<NAME>","surname":"Müller","motivation":"\"for their important break-through in the discovery of superconductivity in ceramic materials\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1987","category":"medicine","laureates":[{"id":"436","firstname":"Susumu","surname":"Tonegawa","motivation":"\"for his discovery of the genetic principle for generation of antibody diversity\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1986","category":"chemistry","laureates":[{"id":"264","firstname":"<NAME>.","surname":"Herschbach","motivation":"\"for their contributions concerning the dynamics of chemical elementary processes\"","share":"3"},{"id":"265","firstname":"<NAME>.","surname":"Lee","motivation":"\"for their contributions concerning the dynamics of chemical elementary processes\"","share":"3"},{"id":"266","firstname":"<NAME>.","surname":"Polanyi","motivation":"\"for their contributions concerning the dynamics of chemical elementary processes\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1986","category":"economics","laureates":[{"id":"700","firstname":"<NAME>.","surname":"<NAME>.","motivation":"\"for his development of the contractual and constitutional bases for the theory of economic and political decision-making\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1986","category":"literature","laureates":[{"id":"663","firstname":"Wole","surname":"Soyinka","motivation":"\"who in a wide cultural perspective and with poetic overtones fashions the drama of existence\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1986","category":"peace","laureates":[{"id":"548","firstname":"Elie","surname":"Wiesel","motivation":"\"for being a messenger to mankind: his message is one of peace, atonement and dignity\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1986","category":"physics","laureates":[{"id":"127","firstname":"Ernst","surname":"Ruska","motivation":"\"for his fundamental work in electron optics, and for the design of the first electron microscope\"","share":"2"},{"id":"128","firstname":"Gerd","surname":"Binnig","motivation":"\"for their design of the scanning tunneling microscope\"","share":"4"},{"id":"129","firstname":"Heinrich","surname":"Rohrer","motivation":"\"for their design of the scanning tunneling microscope\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1986","category":"medicine","laureates":[{"id":"434","firstname":"Stanley","surname":"Cohen","motivation":"\"for their discoveries of growth factors\"","share":"2"},{"id":"435","firstname":"Rita","surname":"Levi-Montalcini","motivation":"\"for their discoveries of growth factors\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1985","category":"chemistry","laureates":[{"id":"262","firstname":"<NAME>.","surname":"Hauptman","motivation":"\"for their outstanding achievements in the development of direct methods for the determination of crystal structures\"","share":"2"},{"id":"263","firstname":"Jerome","surname":"Karle","motivation":"\"for their outstanding achievements in the development of direct methods for the determination of crystal structures\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1985","category":"economics","laureates":[{"id":"699","firstname":"Franco","surname":"Modigliani","motivation":"\"for his pioneering analyses of saving and of financial markets\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1985","category":"literature","laureates":[{"id":"662","firstname":"Claude","surname":"Simon","motivation":"\"who in his novel combines the poet''s and the painter''s creativeness with a deepened awareness of time in the depiction of the human condition\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1985","category":"peace","laureates":[{"id":"547","motivation":"\"for spreading authoritative information and by creating awareness of the catastrophic consequences of nuclear war\"","share":"1","firstname":"International Physicians for the Prevention of Nuclear War"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1985","category":"physics","laureates":[{"id":"126","firstname":"Klaus","surname":"<NAME>","motivation":"\"for the discovery of the quantized Hall effect\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1985","category":"medicine","laureates":[{"id":"432","firstname":"<NAME>.","surname":"Brown","motivation":"\"for their discoveries concerning the regulation of cholesterol metabolism\"","share":"2"},{"id":"433","firstname":"<NAME>.","surname":"Goldstein","motivation":"\"for their discoveries concerning the regulation of cholesterol metabolism\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1984","category":"chemistry","laureates":[{"id":"261","firstname":"Bruce","surname":"Merrifield","motivation":"\"for his development of methodology for chemical synthesis on a solid matrix\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1984","category":"economics","laureates":[{"id":"698","firstname":"Richard","surname":"Stone","motivation":"\"for having made fundamental contributions to the development of systems of national accounts and hence greatly improved the basis for empirical economic analysis\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1984","category":"literature","laureates":[{"id":"661","firstname":"Jaroslav","surname":"Seifert","motivation":"\"for his poetry which endowed with freshness, sensuality and rich inventiveness provides a liberating image of the indomitable spirit and versatility of man\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1984","category":"peace","laureates":[{"id":"546","firstname":"Desmond","surname":"Tutu","motivation":"\"for his role as a unifying leader figure in the non-violent campaign to resolve the problem of apartheid in South Africa\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1984","category":"physics","laureates":[{"id":"124","firstname":"Carlo","surname":"Rubbia","motivation":"\"for their decisive contributions to the large project, which led to the discovery of the field particles W and Z, communicators of weak interaction\"","share":"2"},{"id":"125","firstname":"Simon","surname":"<NAME>","motivation":"\"for their decisive contributions to the large project, which led to the discovery of the field particles W and Z, communicators of weak interaction\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1984","category":"medicine","laureates":[{"id":"429","firstname":"<NAME>.","surname":"Jerne","motivation":"\"for theories concerning the specificity in development and control of the immune system and the discovery of the principle for production of monoclonal antibodies\"","share":"3"},{"id":"430","firstname":"<NAME>.","surname":"Köhler","motivation":"\"for theories concerning the specificity in development and control of the immune system and the discovery of the principle for production of monoclonal antibodies\"","share":"3"},{"id":"431","firstname":"César","surname":"Milstein","motivation":"\"for theories concerning the specificity in development and control of the immune system and the discovery of the principle for production of monoclonal antibodies\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1983","category":"chemistry","laureates":[{"id":"260","firstname":"Henry","surname":"Taube","motivation":"\"for his work on the mechanisms of electron transfer reactions, especially in metal complexes\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1983","category":"economics","laureates":[{"id":"697","firstname":"Gerard","surname":"Debreu","motivation":"\"for having incorporated new analytical methods into economic theory and for his rigorous reformulation of the theory of general equilibrium\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1983","category":"literature","laureates":[{"id":"660","firstname":"William","surname":"Golding","motivation":"\"for his novels which, with the perspicuity of realistic narrative art and the diversity and universality of myth, illuminate the human condition in the world of today\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1983","category":"peace","laureates":[{"id":"545","firstname":"Lech","surname":"Walesa","motivation":"\"for non-violent struggle for free trade unions and human rights in Poland\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1983","category":"physics","laureates":[{"id":"122","firstname":"Subramanyan","surname":"Chandrasekhar","motivation":"\"for his theoretical studies of the physical processes of importance to the structure and evolution of the stars\"","share":"2"},{"id":"123","firstname":"<NAME>.","surname":"Fowler","motivation":"\"for his theoretical and experimental studies of the nuclear reactions of importance in the formation of the chemical elements in the universe\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1983","category":"medicine","laureates":[{"id":"428","firstname":"Barbara","surname":"McClintock","motivation":"\"for her discovery of mobile genetic elements\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1982","category":"chemistry","laureates":[{"id":"259","firstname":"Aaron","surname":"Klug","motivation":"\"for his development of crystallographic electron microscopy and his structural elucidation of biologically important nucleic acid-protein complexes\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1982","category":"economics","laureates":[{"id":"696","firstname":"<NAME>.","surname":"Stigler","motivation":"\"for his seminal studies of industrial structures, functioning of markets and causes and effects of public regulation\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1982","category":"literature","laureates":[{"id":"659","firstname":"Gabriel","surname":"<NAME>","motivation":"\"for his novels and short stories, in which the fantastic and the realistic are combined in a richly composed world of imagination, reflecting a continent''s life and conflicts\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1982","category":"peace","laureates":[{"id":"543","firstname":"Alva","surname":"Myrdal","motivation":"\"for their work for disarmament and nuclear and weapon-free zones\"","share":"2"},{"id":"544","firstname":"Alfonso","surname":"<NAME>","motivation":"\"for their work for disarmament and nuclear and weapon-free zones\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1982","category":"physics","laureates":[{"id":"121","firstname":"<NAME>.","surname":"Wilson","motivation":"\"for his theory for critical phenomena in connection with phase transitions\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1982","category":"medicine","laureates":[{"id":"425","firstname":"<NAME>.","surname":"Bergström","motivation":"\"for their discoveries concerning prostaglandins and related biologically active substances\"","share":"3"},{"id":"426","firstname":"<NAME>.","surname":"Samuelsson","motivation":"\"for their discoveries concerning prostaglandins and related biologically active substances\"","share":"3"},{"id":"427","firstname":"<NAME>.","surname":"Vane","motivation":"\"for their discoveries concerning prostaglandins and related biologically active substances\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1981","category":"chemistry","laureates":[{"id":"257","firstname":"Kenichi","surname":"Fukui","motivation":"\"for their theories, developed independently, concerning the course of chemical reactions\"","share":"2"},{"id":"258","firstname":"Roald","surname":"Hoffmann","motivation":"\"for their theories, developed independently, concerning the course of chemical reactions\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1981","category":"economics","laureates":[{"id":"695","firstname":"James","surname":"Tobin","motivation":"\"for his analysis of financial markets and their relations to expenditure decisions, employment, production and prices\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1981","category":"literature","laureates":[{"id":"658","firstname":"Elias","surname":"Canetti","motivation":"\"for writings marked by a broad outlook, a wealth of ideas and artistic power\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1981","category":"peace","laureates":[{"id":"515","motivation":"\"for promoting the fundamental rights of refugees\"","share":"1","firstname":"Office of the United Nations High Commissioner for Refugees"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1981","category":"physics","laureates":[{"id":"118","firstname":"Nicolaas","surname":"Bloembergen","motivation":"\"for their contribution to the development of laser spectroscopy\"","share":"4"},{"id":"119","firstname":"<NAME>.","surname":"Schawlow","motivation":"\"for their contribution to the development of laser spectroscopy\"","share":"4"},{"id":"120","firstname":"<NAME>.","surname":"Siegbahn","motivation":"\"for his contribution to the development of high-resolution electron spectroscopy\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1981","category":"medicine","laureates":[{"id":"422","firstname":"<NAME>.","surname":"Sperry","motivation":"\"for his discoveries concerning the functional specialization of the cerebral hemispheres\"","share":"2"},{"id":"423","firstname":"<NAME>.","surname":"Hubel","motivation":"\"for their discoveries concerning information processing in the visual system\"","share":"4"},{"id":"424","firstname":"<NAME>.","surname":"Wiesel","motivation":"\"for their discoveries concerning information processing in the visual system\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1980","category":"chemistry","laureates":[{"id":"254","firstname":"Paul","surname":"Berg","motivation":"\"for his fundamental studies of the biochemistry of nucleic acids, with particular regard to recombinant-DNA\"","share":"2"},{"id":"255","firstname":"Walter","surname":"Gilbert","motivation":"\"for their contributions concerning the determination of base sequences in nucleic acids\"","share":"4"},{"id":"222","firstname":"Frederick","surname":"Sanger","motivation":"\"for their contributions concerning the determination of base sequences in nucleic acids\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1980","category":"economics","laureates":[{"id":"694","firstname":"<NAME>.","surname":"Klein","motivation":"\"for the creation of econometric models and the application to the analysis of economic fluctuations and economic policies\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1980","category":"literature","laureates":[{"id":"657","firstname":"Czeslaw","surname":"Milosz","motivation":"\"who with uncompromising clear-sightedness voices man''s exposed condition in a world of severe conflicts\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1980","category":"peace","laureates":[{"id":"541","firstname":"Adolfo","surname":"<NAME>","motivation":"\"for being a source of inspiration to repressed people, especially in Latin America\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1980","category":"physics","laureates":[{"id":"116","firstname":"James","surname":"Cronin","motivation":"\"for the discovery of violations of fundamental symmetry principles in the decay of neutral K-mesons\"","share":"2"},{"id":"117","firstname":"Val","surname":"Fitch","motivation":"\"for the discovery of violations of fundamental symmetry principles in the decay of neutral K-mesons\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1980","category":"medicine","laureates":[{"id":"419","firstname":"Baruj","surname":"Benacerraf","motivation":"\"for their discoveries concerning genetically determined structures on the cell surface that regulate immunological reactions\"","share":"3"},{"id":"420","firstname":"Jean","surname":"Dausset","motivation":"\"for their discoveries concerning genetically determined structures on the cell surface that regulate immunological reactions\"","share":"3"},{"id":"421","firstname":"<NAME>.","surname":"Snell","motivation":"\"for their discoveries concerning genetically determined structures on the cell surface that regulate immunological reactions\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1979","category":"chemistry","laureates":[{"id":"252","firstname":"<NAME>.","surname":"Brown","motivation":"\"for their development of the use of boron- and phosphorus-containing compounds, respectively, into important reagents in organic synthesis\"","share":"2"},{"id":"253","firstname":"Georg","surname":"Wittig","motivation":"\"for their development of the use of boron- and phosphorus-containing compounds, respectively, into important reagents in organic synthesis\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1979","category":"economics","laureates":[{"id":"692","firstname":"<NAME>.","surname":"Schultz","motivation":"\"for their pioneering research into economic development research with particular consideration of the problems of developing countries\"","share":"2"},{"id":"693","firstname":"<NAME>","surname":"Lewis","motivation":"\"for their pioneering research into economic development research with particular consideration of the problems of developing countries\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1979","category":"literature","laureates":[{"id":"655","firstname":"Odysseus","surname":"Elytis","motivation":"\"for his poetry, which, against the background of Greek tradition, depicts with sensuous strength and intellectual clear-sightedness modern man''s struggle for freedom and creativeness\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1979","category":"peace","laureates":[{"id":"540","firstname":"<NAME>","surname":"Bojaxhiu","motivation":"\"for her work for bringing help to suffering humanity\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1979","category":"physics","laureates":[{"id":"113","firstname":"Sheldon","surname":"Glashow","motivation":"\"for their contributions to the theory of the unified weak and electromagnetic interaction between elementary particles, including, inter alia, the prediction of the weak neutral current\"","share":"3"},{"id":"114","firstname":"Abdus","surname":"Salam","motivation":"\"for their contributions to the theory of the unified weak and electromagnetic interaction between elementary particles, including, inter alia, the prediction of the weak neutral current\"","share":"3"},{"id":"115","firstname":"Steven","surname":"Weinberg","motivation":"\"for their contributions to the theory of the unified weak and electromagnetic interaction between elementary particles, including, inter alia, the prediction of the weak neutral current\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1979","category":"medicine","laureates":[{"id":"417","firstname":"<NAME>.","surname":"Cormack","motivation":"\"for the development of computer assisted tomography\"","share":"2"},{"id":"418","firstname":"<NAME>.","surname":"Hounsfield","motivation":"\"for the development of computer assisted tomography\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1978","category":"chemistry","laureates":[{"id":"251","firstname":"Peter","surname":"Mitchell","motivation":"\"for his contribution to the understanding of biological energy transfer through the formulation of the chemiosmotic theory\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1978","category":"economics","laureates":[{"id":"691","firstname":"Herbert","surname":"Simon","motivation":"\"for his pioneering research into the decision-making process within economic organizations\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1978","category":"literature","laureates":[{"id":"654","firstname":"<NAME>","surname":"Singer","motivation":"\"for his impassioned narrative art which, with roots in a Polish-Jewish cultural tradition, brings universal human conditions to life\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1978","category":"peace","laureates":[{"id":"538","firstname":"Anwar","surname":"al-Sadat","motivation":"\"for jointly having negotiated peace between Egypt and Israel in 1978\"","share":"2"},{"id":"539","firstname":"Menachem","surname":"Begin","motivation":"\"for jointly having negotiated peace between Egypt and Israel in 1978\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1978","category":"physics","laureates":[{"id":"110","firstname":"Pyotr","surname":"Kapitsa","motivation":"\"for his basic inventions and discoveries in the area of low-temperature physics\"","share":"2"},{"id":"111","firstname":"Arno","surname":"Penzias","motivation":"\"for their discovery of cosmic microwave background radiation\"","share":"4"},{"id":"112","firstname":"<NAME>","surname":"Wilson","motivation":"\"for their discovery of cosmic microwave background radiation\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1978","category":"medicine","laureates":[{"id":"414","firstname":"Werner","surname":"Arber","motivation":"\"for the discovery of restriction enzymes and their application to problems of molecular genetics\"","share":"3"},{"id":"415","firstname":"Daniel","surname":"Nathans","motivation":"\"for the discovery of restriction enzymes and their application to problems of molecular genetics\"","share":"3"},{"id":"416","firstname":"<NAME>.","surname":"Smith","motivation":"\"for the discovery of restriction enzymes and their application to problems of molecular genetics\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1977","category":"chemistry","laureates":[{"id":"250","firstname":"Ilya","surname":"Prigogine","motivation":"\"for his contributions to non-equilibrium thermodynamics, particularly the theory of dissipative structures\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1977","category":"economics","laureates":[{"id":"689","firstname":"Bertil","surname":"Ohlin","motivation":"\"for their pathbreaking contribution to the theory of international trade and international capital movements\"","share":"2"},{"id":"690","firstname":"<NAME>.","surname":"Meade","motivation":"\"for their pathbreaking contribution to the theory of international trade and international capital movements\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1977","category":"literature","laureates":[{"id":"653","firstname":"Vicente","surname":"Aleixandre","motivation":"\"for a creative poetic writing which illuminates man''s condition in the cosmos and in present-day society, at the same time representing the great renewal of the traditions of Spanish poetry between the wars\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1977","category":"peace","laureates":[{"id":"537","motivation":"\"for worldwide respect for human rights\"","share":"1","firstname":"Amnesty International"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1977","category":"physics","laureates":[{"id":"107","firstname":"<NAME>.","surname":"Anderson","motivation":"\"for their fundamental theoretical investigations of the electronic structure of magnetic and disordered systems\"","share":"3"},{"id":"108","firstname":"<NAME>.","surname":"Mott","motivation":"\"for their fundamental theoretical investigations of the electronic structure of magnetic and disordered systems\"","share":"3"},{"id":"109","firstname":"<NAME>.","surname":"<NAME>","motivation":"\"for their fundamental theoretical investigations of the electronic structure of magnetic and disordered systems\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1977","category":"medicine","laureates":[{"id":"411","firstname":"Roger","surname":"Guillemin","motivation":"\"for their discoveries concerning the peptide hormone production of the brain\"","share":"4"},{"id":"412","firstname":"<NAME>.","surname":"Schally","motivation":"\"for their discoveries concerning the peptide hormone production of the brain\"","share":"4"},{"id":"413","firstname":"Rosalyn","surname":"Yalow","motivation":"\"for the development of radioimmunoassays of peptide hormones\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1976","category":"chemistry","laureates":[{"id":"249","firstname":"William","surname":"Lipscomb","motivation":"\"for his studies on the structure of boranes illuminating problems of chemical bonding\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1976","category":"economics","laureates":[{"id":"688","firstname":"Milton","surname":"Friedman","motivation":"\"for his achievements in the fields of consumption analysis, monetary history and theory and for his demonstration of the complexity of stabilization policy\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1976","category":"literature","laureates":[{"id":"652","firstname":"Saul","surname":"Bellow","motivation":"\"for the human understanding and subtle analysis of contemporary culture that are combined in his work\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1976","category":"peace","laureates":[{"id":"535","firstname":"Betty","surname":"Williams","motivation":"\"for the courageous efforts in founding a movement to put an end to the violent conflict in Northern Ireland\"","share":"2"},{"id":"536","firstname":"Mairead","surname":"Corrigan","motivation":"\"for the courageous efforts in founding a movement to put an end to the violent conflict in Northern Ireland\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1976","category":"physics","laureates":[{"id":"105","firstname":"Burton","surname":"Richter","motivation":"\"for their pioneering work in the discovery of a heavy elementary particle of a new kind\"","share":"2"},{"id":"106","firstname":"<NAME>.","surname":"Ting","motivation":"\"for their pioneering work in the discovery of a heavy elementary particle of a new kind\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1976","category":"medicine","laureates":[{"id":"409","firstname":"<NAME>.","surname":"Blumberg","motivation":"\"for their discoveries concerning new mechanisms for the origin and dissemination of infectious diseases\"","share":"2"},{"id":"410","firstname":"<NAME>","surname":"Gajdusek","motivation":"\"for their discoveries concerning new mechanisms for the origin and dissemination of infectious diseases\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1975","category":"chemistry","laureates":[{"id":"247","firstname":"John","surname":"Cornforth","motivation":"\"for his work on the stereochemistry of enzyme-catalyzed reactions\"","share":"2"},{"id":"248","firstname":"Vladimir","surname":"Prelog","motivation":"\"for his research into the stereochemistry of organic molecules and reactions\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1975","category":"economics","laureates":[{"id":"686","firstname":"<NAME>","surname":"Kantorovich","motivation":"\"for their contributions to the theory of optimum allocation of resources\"","share":"2"},{"id":"687","firstname":"<NAME>.","surname":"Koopmans","motivation":"\"for their contributions to the theory of optimum allocation of resources\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1975","category":"literature","laureates":[{"id":"651","firstname":"Eugenio","surname":"Montale","motivation":"\"for his distinctive poetry which, with great artistic sensitivity, has interpreted human values under the sign of an outlook on life with no illusions\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1975","category":"peace","laureates":[{"id":"534","firstname":"Andrei","surname":"Sakharov","motivation":"\"for his struggle for human rights in the Soviet Union, for disarmament and cooperation between all nations\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1975","category":"physics","laureates":[{"id":"102","firstname":"<NAME>.","surname":"Bohr","motivation":"\"for the discovery of the connection between collective motion and particle motion in atomic nuclei and the development of the theory of the structure of the atomic nucleus based on this connection\"","share":"3"},{"id":"103","firstname":"<NAME>.","surname":"Mottelson","motivation":"\"for the discovery of the connection between collective motion and particle motion in atomic nuclei and the development of the theory of the structure of the atomic nucleus based on this connection\"","share":"3"},{"id":"104","firstname":"James","surname":"Rainwater","motivation":"\"for the discovery of the connection between collective motion and particle motion in atomic nuclei and the development of the theory of the structure of the atomic nucleus based on this connection\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1975","category":"medicine","laureates":[{"id":"406","firstname":"David","surname":"Baltimore","motivation":"\"for their discoveries concerning the interaction between tumour viruses and the genetic material of the cell\"","share":"3"},{"id":"407","firstname":"Renato","surname":"Dulbecco","motivation":"\"for their discoveries concerning the interaction between tumour viruses and the genetic material of the cell\"","share":"3"},{"id":"408","firstname":"<NAME>.","surname":"Temin","motivation":"\"for their discoveries concerning the interaction between tumour viruses and the genetic material of the cell\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1974","category":"chemistry","laureates":[{"id":"246","firstname":"<NAME>.","surname":"Flory","motivation":"\"for his fundamental achievements, both theoretical and experimental, in the physical chemistry of the macromolecules\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1974","category":"economics","laureates":[{"id":"684","firstname":"Gunnar","surname":"Myrdal","motivation":"\"for their pioneering work in the theory of money and economic fluctuations and for their penetrating analysis of the interdependence of economic, social and institutional phenomena\"","share":"2"},{"id":"685","firstname":"Friedrich","surname":"<NAME>","motivation":"\"for their pioneering work in the theory of money and economic fluctuations and for their penetrating analysis of the interdependence of economic, social and institutional phenomena\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1974","category":"literature","laureates":[{"id":"649","firstname":"Eyvind","surname":"Johnson","motivation":"\"for a narrative art, far-seeing in lands and ages, in the service of freedom\"","share":"2"},{"id":"650","firstname":"Harry","surname":"Martinson","motivation":"\"for writings that catch the dewdrop and reflect the cosmos\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1974","category":"peace","laureates":[{"id":"532","firstname":"Seán","surname":"MacBride","motivation":"\"for his efforts to secure and develop human rights throughout the world\"","share":"2"},{"id":"533","firstname":"Eisaku","surname":"Sato","motivation":"\"for his contribution to stabilize conditions in the Pacific rim area and for signing the Nuclear Non-Proliferation Treaty\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1974","category":"physics","laureates":[{"id":"100","firstname":"Martin","surname":"Ryle","motivation":"\"for their pioneering research in radio astrophysics: Ryle for his observations and inventions, in particular of the aperture synthesis technique, and Hewish for his decisive role in the discovery of pulsars\"","share":"2"},{"id":"101","firstname":"Antony","surname":"Hewish","motivation":"\"for their pioneering research in radio astrophysics: Ryle for his observations and inventions, in particular of the aperture synthesis technique, and Hewish for his decisive role in the discovery of pulsars\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1974","category":"medicine","laureates":[{"id":"403","firstname":"Albert","surname":"Claude","motivation":"\"for their discoveries concerning the structural and functional organization of the cell\"","share":"3"},{"id":"404","firstname":"Christian","surname":"<NAME>","motivation":"\"for their discoveries concerning the structural and functional organization of the cell\"","share":"3"},{"id":"405","firstname":"<NAME>.","surname":"Palade","motivation":"\"for their discoveries concerning the structural and functional organization of the cell\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1973","category":"chemistry","laureates":[{"id":"244","firstname":"<NAME>","surname":"Fischer","motivation":"\"for their pioneering work, performed independently, on the chemistry of the organometallic, so called sandwich compounds\"","share":"2"},{"id":"245","firstname":"Geoffrey","surname":"Wilkinson","motivation":"\"for their pioneering work, performed independently, on the chemistry of the organometallic, so called sandwich compounds\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1973","category":"economics","laureates":[{"id":"683","firstname":"Wassily","surname":"Leontief","motivation":"\"for the development of the input-output method and for its application to important economic problems\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1973","category":"literature","laureates":[{"id":"648","firstname":"Patrick","surname":"White","motivation":"\"for an epic and psychological narrative art which has introduced a new continent into literature\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1973","category":"peace","laureates":[{"id":"530","firstname":"Henry","surname":"Kissinger","motivation":"\"for jointly having negotiated a cease fire in Vietnam in 1973\"","share":"2"},{"id":"531","firstname":"<NAME>","motivation":"\"for jointly having negotiated a cease fire in Vietnam in 1973\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1973","category":"physics","laureates":[{"id":"97","firstname":"Leo","surname":"Esaki","motivation":"\"for their experimental discoveries regarding tunneling phenomena in semiconductors and superconductors, respectively\"","share":"4"},{"id":"98","firstname":"Ivar","surname":"Giaever","motivation":"\"for their experimental discoveries regarding tunneling phenomena in semiconductors and superconductors, respectively\"","share":"4"},{"id":"99","firstname":"<NAME>.","surname":"Josephson","motivation":"\"for his theoretical predictions of the properties of a supercurrent through a tunnel barrier, in particular those phenomena which are generally known as the Josephson effects\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1973","category":"medicine","laureates":[{"id":"400","firstname":"Karl","surname":"<NAME>","motivation":"\"for their discoveries concerning organization and elicitation of individual and social behaviour patterns\"","share":"3"},{"id":"401","firstname":"Konrad","surname":"Lorenz","motivation":"\"for their discoveries concerning organization and elicitation of individual and social behaviour patterns\"","share":"3"},{"id":"402","firstname":"Nikolaas","surname":"Tinbergen","motivation":"\"for their discoveries concerning organization and elicitation of individual and social behaviour patterns\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1972","category":"chemistry","laureates":[{"id":"241","firstname":"Christian","surname":"Anfinsen","motivation":"\"for his work on ribonuclease, especially concerning the connection between the amino acid sequence and the biologically active conformation\"","share":"2"},{"id":"242","firstname":"Stanford","surname":"Moore","motivation":"\"for their contribution to the understanding of the connection between chemical structure and catalytic activity of the active centre of the ribonuclease molecule\"","share":"4"},{"id":"243","firstname":"<NAME>.","surname":"Stein","motivation":"\"for their contribution to the understanding of the connection between chemical structure and catalytic activity of the active centre of the ribonuclease molecule\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1972","category":"economics","laureates":[{"id":"681","firstname":"<NAME>.","surname":"Hicks","motivation":"\"for their pioneering contributions to general economic equilibrium theory and welfare theory\"","share":"2"},{"id":"682","firstname":"<NAME>.","surname":"Arrow","motivation":"\"for their pioneering contributions to general economic equilibrium theory and welfare theory\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1972","category":"literature","laureates":[{"id":"647","firstname":"Heinrich","surname":"Böll","motivation":"\"for his writing which through its combination of a broad perspective on his time and a sensitive skill in characterization has contributed to a renewal of German literature\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1972","category":"peace","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money for 1972 was allocated to the Main Fund.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1972","category":"physics","laureates":[{"id":"66","firstname":"John","surname":"Bardeen","motivation":"\"for their jointly developed theory of superconductivity, usually called the BCS-theory\"","share":"3"},{"id":"95","firstname":"<NAME>.","surname":"Cooper","motivation":"\"for their jointly developed theory of superconductivity, usually called the BCS-theory\"","share":"3"},{"id":"96","firstname":"Robert","surname":"Schrieffer","motivation":"\"for their jointly developed theory of superconductivity, usually called the BCS-theory\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1972","category":"medicine","laureates":[{"id":"398","firstname":"<NAME>.","surname":"Edelman","motivation":"\"for their discoveries concerning the chemical structure of antibodies\"","share":"2"},{"id":"399","firstname":"<NAME>.","surname":"Porter","motivation":"\"for their discoveries concerning the chemical structure of antibodies\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1971","category":"chemistry","laureates":[{"id":"240","firstname":"Gerhard","surname":"Herzberg","motivation":"\"for his contributions to the knowledge of electronic structure and geometry of molecules, particularly free radicals\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1971","category":"economics","laureates":[{"id":"680","firstname":"Simon","surname":"Kuznets","motivation":"\"for his empirically founded interpretation of economic growth which has led to new and deepened insight into the economic and social structure and process of development\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1971","category":"literature","laureates":[{"id":"645","firstname":"Pablo","surname":"Neruda","motivation":"\"for a poetry that with the action of an elemental force brings alive a continent''s destiny and dreams\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1971","category":"peace","laureates":[{"id":"529","firstname":"Willy","surname":"Brandt","motivation":"\"for paving the way for a meaningful dialogue between East and West\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1971","category":"physics","laureates":[{"id":"93","firstname":"Dennis","surname":"Gabor","motivation":"\"for his invention and development of the holographic method\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1971","category":"medicine","laureates":[{"id":"397","firstname":"<NAME>.","surname":"Sutherland, Jr.","motivation":"\"for his discoveries concerning the mechanisms of the action of hormones\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1970","category":"chemistry","laureates":[{"id":"239","firstname":"Luis","surname":"Leloir","motivation":"\"for his discovery of sugar nucleotides and their role in the biosynthesis of carbohydrates\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1970","category":"economics","laureates":[{"id":"679","firstname":"<NAME>.","surname":"Samuelson","motivation":"\"for the scientific work through which he has developed static and dynamic economic theory and actively contributed to raising the level of analysis in economic science\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1970","category":"literature","laureates":[{"id":"644","firstname":"Alexandr","surname":"Solzhenitsyn","motivation":"\"for the ethical force with which he has pursued the indispensable traditions of Russian literature\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1970","category":"peace","laureates":[{"id":"528","firstname":"Norman","surname":"Borlaug","motivation":"\"for having given a well-founded hope - the green revolution\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1970","category":"physics","laureates":[{"id":"91","firstname":"Hannes","surname":"Alfvén","motivation":"\"for fundamental work and discoveries in magnetohydro-dynamics with fruitful applications in different parts of plasma physics\"","share":"2"},{"id":"92","firstname":"Louis","surname":"Néel","motivation":"\"for fundamental work and discoveries concerning antiferromagnetism and ferrimagnetism which have led to important applications in solid state physics\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1970","category":"medicine","laureates":[{"id":"394","firstname":"<NAME>","surname":"Katz","motivation":"\"for their discoveries concerning the humoral transmitters in the nerve terminals and the mechanism for their storage, release and inactivation\"","share":"3"},{"id":"395","firstname":"Ulf","surname":"<NAME>","motivation":"\"for their discoveries concerning the humoral transmitters in the nerve terminals and the mechanism for their storage, release and inactivation\"","share":"3"},{"id":"396","firstname":"Julius","surname":"Axelrod","motivation":"\"for their discoveries concerning the humoral transmitters in the nerve terminals and the mechanism for their storage, release and inactivation\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1969","category":"chemistry","laureates":[{"id":"237","firstname":"Derek","surname":"Barton","motivation":"\"for their contributions to the development of the concept of conformation and its application in chemistry\"","share":"2"},{"id":"238","firstname":"Odd","surname":"Hassel","motivation":"\"for their contributions to the development of the concept of conformation and its application in chemistry\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1969","category":"economics","laureates":[{"id":"677","firstname":"Ragnar","surname":"Frisch","motivation":"\"for having developed and applied dynamic models for the analysis of economic processes\"","share":"2"},{"id":"678","firstname":"Jan","surname":"Tinbergen","motivation":"\"for having developed and applied dynamic models for the analysis of economic processes\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1969","category":"literature","laureates":[{"id":"643","firstname":"Samuel","surname":"Beckett","motivation":"\"for his writing, which - in new forms for the novel and drama - in the destitution of modern man acquires its elevation\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1969","category":"peace","laureates":[{"id":"527","motivation":"\"for creating international legislation insuring certain norms for working conditions in every country\"","share":"1","firstname":"International Labour Organization"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1969","category":"physics","laureates":[{"id":"90","firstname":"Murray","surname":"Gell-Mann","motivation":"\"for his contributions and discoveries concerning the classification of elementary particles and their interactions\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1969","category":"medicine","laureates":[{"id":"391","firstname":"Max","surname":"Delbrück","motivation":"\"for their discoveries concerning the replication mechanism and the genetic structure of viruses\"","share":"3"},{"id":"392","firstname":"<NAME>.","surname":"Hershey","motivation":"\"for their discoveries concerning the replication mechanism and the genetic structure of viruses\"","share":"3"},{"id":"393","firstname":"<NAME>.","surname":"Luria","motivation":"\"for their discoveries concerning the replication mechanism and the genetic structure of viruses\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1968","category":"chemistry","laureates":[{"id":"236","firstname":"Lars","surname":"Onsager","motivation":"\"for the discovery of the reciprocal relations bearing his name, which are fundamental for the thermodynamics of irreversible processes\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1968","category":"literature","laureates":[{"id":"642","firstname":"Yasunari","surname":"Kawabata","motivation":"\"for his narrative mastery, which with great sensibility expresses the essence of the Japanese mind\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1968","category":"peace","laureates":[{"id":"526","firstname":"René","surname":"Cassin","motivation":"\"for his struggle to ensure the rights of man as stipulated in the UN Declaration\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1968","category":"physics","laureates":[{"id":"89","firstname":"Luis","surname":"Alvarez","motivation":"\"for his decisive contributions to elementary particle physics, in particular the discovery of a large number of resonance states, made possible through his development of the technique of using hydrogen bubble chamber and data analysis\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1968","category":"medicine","laureates":[{"id":"388","firstname":"<NAME>.","surname":"Holley","motivation":"\"for their interpretation of the genetic code and its function in protein synthesis\"","share":"3"},{"id":"389","firstname":"<NAME>","surname":"Khorana","motivation":"\"for their interpretation of the genetic code and its function in protein synthesis\"","share":"3"},{"id":"390","firstname":"<NAME>.","surname":"Nirenberg","motivation":"\"for their interpretation of the genetic code and its function in protein synthesis\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1967","category":"chemistry","laureates":[{"id":"233","firstname":"Manfred","surname":"Eigen","motivation":"\"for their studies of extremely fast chemical reactions, effected by disturbing the equilibrium by means of very short pulses of energy\"","share":"2"},{"id":"234","firstname":"<NAME>.","surname":"Norrish","motivation":"\"for their studies of extremely fast chemical reactions, effected by disturbing the equilibrium by means of very short pulses of energy\"","share":"4"},{"id":"235","firstname":"George","surname":"Porter","motivation":"\"for their studies of extremely fast chemical reactions, effected by disturbing the equilibrium by means of very short pulses of energy\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1967","category":"literature","laureates":[{"id":"641","firstname":"<NAME>","surname":"Asturias","motivation":"\"for his vivid literary achievement, deep-rooted in the national traits and traditions of Indian peoples of Latin America\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1967","category":"peace","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1967","category":"physics","laureates":[{"id":"88","firstname":"Hans","surname":"Bethe","motivation":"\"for his contributions to the theory of nuclear reactions, especially his discoveries concerning the energy production in stars\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1967","category":"medicine","laureates":[{"id":"385","firstname":"Ragnar","surname":"Granit","motivation":"\"for their discoveries concerning the primary physiological and chemical visual processes in the eye\"","share":"3"},{"id":"386","firstname":"Keffer","surname":"Hartline","motivation":"\"for their discoveries concerning the primary physiological and chemical visual processes in the eye\"","share":"3"},{"id":"387","firstname":"George","surname":"Wald","motivation":"\"for their discoveries concerning the primary physiological and chemical visual processes in the eye\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1966","category":"chemistry","laureates":[{"id":"232","firstname":"<NAME>.","surname":"Mulliken","motivation":"\"for his fundamental work concerning chemical bonds and the electronic structure of molecules by the molecular orbital method\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1966","category":"literature","laureates":[{"id":"639","firstname":"Shmuel","surname":"Agnon","motivation":"\"for his profoundly characteristic narrative art with motifs from the life of the Jewish people\"","share":"2"},{"id":"640","firstname":"Nelly","surname":"Sachs","motivation":"\"for her outstanding lyrical and dramatic writing, which interprets Israel''s destiny with touching strength \"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1966","category":"peace","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1966","category":"physics","laureates":[{"id":"87","firstname":"Alfred","surname":"Kastler","motivation":"\"for the discovery and development of optical methods for studying Hertzian resonances in atoms\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1966","category":"medicine","laureates":[{"id":"383","firstname":"Peyton","surname":"Rous","motivation":"\"for his discovery of tumour-inducing viruses\"","share":"2"},{"id":"384","firstname":"<NAME>.","surname":"Huggins","motivation":"\"for his discoveries concerning hormonal treatment of prostatic cancer\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1965","category":"chemistry","laureates":[{"id":"231","firstname":"<NAME>.","surname":"Woodward","motivation":"\"for his outstanding achievements in the art of organic synthesis\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1965","category":"literature","laureates":[{"id":"638","firstname":"Mikhail","surname":"Sholokhov","motivation":"\"for the artistic power and integrity with which, in his epic of the Don, he has given expression to a historic phase in the life of the Russian people\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1965","category":"peace","laureates":[{"id":"525","motivation":"\"for its effort to enhance solidarity between nations and reduce the difference between rich and poor states\"","share":"1","firstname":"United Nations Children''s Fund"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1965","category":"physics","laureates":[{"id":"84","firstname":"Sin-Itiro","surname":"Tomonaga","motivation":"\"for their fundamental work in quantum electrodynamics, with deep-ploughing consequences for the physics of elementary particles\"","share":"3"},{"id":"85","firstname":"Julian","surname":"Schwinger","motivation":"\"for their fundamental work in quantum electrodynamics, with deep-ploughing consequences for the physics of elementary particles\"","share":"3"},{"id":"86","firstname":"<NAME>.","surname":"Feynman","motivation":"\"for their fundamental work in quantum electrodynamics, with deep-ploughing consequences for the physics of elementary particles\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1965","category":"medicine","laureates":[{"id":"380","firstname":"François","surname":"Jacob","motivation":"\"for their discoveries concerning genetic control of enzyme and virus synthesis\"","share":"3"},{"id":"381","firstname":"André","surname":"Lwoff","motivation":"\"for their discoveries concerning genetic control of enzyme and virus synthesis\"","share":"3"},{"id":"382","firstname":"Jacques","surname":"Monod","motivation":"\"for their discoveries concerning genetic control of enzyme and virus synthesis\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1964","category":"chemistry","laureates":[{"id":"230","firstname":"<NAME>","surname":"Hodgkin","motivation":"\"for her determinations by X-ray techniques of the structures of important biochemical substances\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1964","category":"literature","laureates":[{"id":"637","firstname":"Jean-Paul","surname":"Sartre","motivation":"\"for his work which, rich in ideas and filled with the spirit of freedom and the quest for truth, has exerted a far-reaching influence on our age\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1964","category":"peace","laureates":[{"id":"524","firstname":"<NAME>","surname":"<NAME>.","motivation":"\"for his non-violent struggle for civil rights for the Afro-American population\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1964","category":"physics","laureates":[{"id":"81","firstname":"<NAME>.","surname":"Townes","motivation":"\"for fundamental work in the field of quantum electronics, which has led to the construction of oscillators and amplifiers based on the maser-laser principle\"","share":"2"},{"id":"82","firstname":"<NAME>.","surname":"Basov","motivation":"\"for fundamental work in the field of quantum electronics, which has led to the construction of oscillators and amplifiers based on the maser-laser principle\"","share":"4"},{"id":"83","firstname":"<NAME>.","surname":"Prokhorov","motivation":"\"for fundamental work in the field of quantum electronics, which has led to the construction of oscillators and amplifiers based on the maser-laser principle\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1964","category":"medicine","laureates":[{"id":"378","firstname":"Konrad","surname":"Bloch","motivation":"\"for their discoveries concerning the mechanism and regulation of the cholesterol and fatty acid metabolism\"","share":"2"},{"id":"379","firstname":"Feodor","surname":"Lynen","motivation":"\"for their discoveries concerning the mechanism and regulation of the cholesterol and fatty acid metabolism\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1963","category":"chemistry","laureates":[{"id":"228","firstname":"Karl","surname":"Ziegler","motivation":"\"for their discoveries in the field of the chemistry and technology of high polymers\"","share":"2"},{"id":"229","firstname":"Giulio","surname":"Natta","motivation":"\"for their discoveries in the field of the chemistry and technology of high polymers\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1963","category":"literature","laureates":[{"id":"635","firstname":"Giorgos","surname":"Seferis","motivation":"\"for his eminent lyrical writing, inspired by a deep feeling for the Hellenic world of culture\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1963","category":"peace","laureates":[{"id":"482","motivation":"\"for promoting the principles of the Geneva Convention and cooperation with the UN\"","share":"2","firstname":"International Committee of the Red Cross"},{"id":"523","motivation":"\"for promoting the principles of the Geneva Convention and cooperation with the UN\"","share":"2","firstname":"League of Red Cross Societies"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1963","category":"physics","laureates":[{"id":"78","firstname":"Eugene","surname":"Wigner","motivation":"\"for his contributions to the theory of the atomic nucleus and the elementary particles, particularly through the discovery and application of fundamental symmetry principles\"","share":"2"},{"id":"79","firstname":"Maria","surname":"<NAME>","motivation":"\"for their discoveries concerning nuclear shell structure\"","share":"4"},{"id":"80","firstname":"<NAME>.","surname":"Jensen","motivation":"\"for their discoveries concerning nuclear shell structure\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1963","category":"medicine","laureates":[{"id":"375","firstname":"<NAME>","surname":"Eccles","motivation":"\"for their discoveries concerning the ionic mechanisms involved in excitation and inhibition in the peripheral and central portions of the nerve cell membrane\"","share":"3"},{"id":"376","firstname":"Alan","surname":"Hodgkin","motivation":"\"for their discoveries concerning the ionic mechanisms involved in excitation and inhibition in the peripheral and central portions of the nerve cell membrane\"","share":"3"},{"id":"377","firstname":"Andrew","surname":"Huxley","motivation":"\"for their discoveries concerning the ionic mechanisms involved in excitation and inhibition in the peripheral and central portions of the nerve cell membrane\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1962","category":"chemistry","laureates":[{"id":"226","firstname":"<NAME>.","surname":"Perutz","motivation":"\"for their studies of the structures of globular proteins\"","share":"2"},{"id":"227","firstname":"<NAME>.","surname":"Kendrew","motivation":"\"for their studies of the structures of globular proteins\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1962","category":"literature","laureates":[{"id":"634","firstname":"John","surname":"Steinbeck","motivation":"\"for his realistic and imaginative writings, combining as they do sympathetic humour and keen social perception\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1962","category":"peace","laureates":[{"id":"217","firstname":"Linus","surname":"Pauling","motivation":"\"for his fight against the nuclear arms race between East and West\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1962","category":"physics","laureates":[{"id":"77","firstname":"Lev","surname":"Landau","motivation":"\"for his pioneering theories for condensed matter, especially liquid helium\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1962","category":"medicine","laureates":[{"id":"372","firstname":"Francis","surname":"Crick","motivation":"\"for their discoveries concerning the molecular structure of nucleic acids and its significance for information transfer in living material\"","share":"3"},{"id":"373","firstname":"James","surname":"Watson","motivation":"\"for their discoveries concerning the molecular structure of nucleic acids and its significance for information transfer in living material\"","share":"3"},{"id":"374","firstname":"Maurice","surname":"Wilkins","motivation":"\"for their discoveries concerning the molecular structure of nucleic acids and its significance for information transfer in living material\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1961","category":"chemistry","laureates":[{"id":"225","firstname":"Melvin","surname":"Calvin","motivation":"\"for his research on the carbon dioxide assimilation in plants\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1961","category":"literature","laureates":[{"id":"633","firstname":"Ivo","surname":"Andric","motivation":"\"for the epic force with which he has traced themes and depicted human destinies drawn from the history of his country\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1961","category":"peace","laureates":[{"id":"520","firstname":"Dag","surname":"Hammarskjöld","motivation":"\"for developing the UN into an effective and constructive international organization, capable of giving life to the principles and aims expressed in the UN Charter\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1961","category":"physics","laureates":[{"id":"75","firstname":"Robert","surname":"Hofstadter","motivation":"\"for his pioneering studies of electron scattering in atomic nuclei and for his thereby achieved discoveries concerning the structure of the nucleons\"","share":"2"},{"id":"76","firstname":"Rudolf","surname":"Mössbauer","motivation":"\"for his researches concerning the resonance absorption of gamma radiation and his discovery in this connection of the effect which bears his name\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1961","category":"medicine","laureates":[{"id":"371","firstname":"Georg","surname":"<NAME>","motivation":"\"for his discoveries of the physical mechanism of stimulation within the cochlea\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1960","category":"chemistry","laureates":[{"id":"224","firstname":"<NAME>.","surname":"Libby","motivation":"\"for his method to use carbon-14 for age determination in archaeology, geology, geophysics, and other branches of science\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1960","category":"literature","laureates":[{"id":"631","firstname":"Saint-John","surname":"Perse","motivation":"\"for the soaring flight and the evocative imagery of his poetry which in a visionary fashion reflects the conditions of our time\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1960","category":"peace","laureates":[{"id":"519","firstname":"Albert","surname":"Luthuli","motivation":"\"for his non-violent struggle against apartheid\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1960","category":"physics","laureates":[{"id":"74","firstname":"<NAME>.","surname":"Glaser","motivation":"\"for the invention of the bubble chamber\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1960","category":"medicine","laureates":[{"id":"369","firstname":"<NAME>","surname":"Burnet","motivation":"\"for discovery of acquired immunological tolerance\"","share":"2"},{"id":"370","firstname":"Peter","surname":"Medawar","motivation":"\"for discovery of acquired immunological tolerance\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1959","category":"chemistry","laureates":[{"id":"223","firstname":"Jaroslav","surname":"Heyrovsky","motivation":"\"for his discovery and development of the polarographic methods of analysis\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1959","category":"literature","laureates":[{"id":"630","firstname":"Salvatore","surname":"Quasimodo","motivation":"\"for his lyrical poetry, which with classical fire expresses the tragic experience of life in our own times\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1959","category":"peace","laureates":[{"id":"518","firstname":"Philip","surname":"Noel-Baker","motivation":"\"for his longstanding contribution to the cause of disarmament and peace\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1959","category":"physics","laureates":[{"id":"72","firstname":"Emilio","surname":"Segrè","motivation":"\"for their discovery of the antiproton\"","share":"2"},{"id":"73","firstname":"Owen","surname":"Chamberlain","motivation":"\"for their discovery of the antiproton\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1959","category":"medicine","laureates":[{"id":"367","firstname":"Severo","surname":"Ochoa","motivation":"\"for their discovery of the mechanisms in the biological synthesis of ribonucleic acid and deoxyribonucleic acid\"","share":"2"},{"id":"368","firstname":"Arthur","surname":"Kornberg","motivation":"\"for their discovery of the mechanisms in the biological synthesis of ribonucleic acid and deoxyribonucleic acid\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1958","category":"chemistry","laureates":[{"id":"222","firstname":"Frederick","surname":"Sanger","motivation":"\"for his work on the structure of proteins, especially that of insulin\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1958","category":"literature","laureates":[{"id":"629","firstname":"Boris","surname":"Pasternak","motivation":"\"for his important achievement both in contemporary lyrical poetry and in the field of the great Russian epic tradition\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1958","category":"peace","laureates":[{"id":"517","firstname":"Georges","surname":"Pire","motivation":"\"for his efforts to help refugees to leave their camps and return to a life of freedom and dignity\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1958","category":"physics","laureates":[{"id":"70","firstname":"<NAME>.","surname":"Cherenkov","motivation":"\"for the discovery and the interpretation of the Cherenkov effect\"","share":"3"},{"id":"71","firstname":"<NAME>.","surname":"Tamm","motivation":"\"for the discovery and the interpretation of the Cherenkov effect\"","share":"3"},{"id":"721","firstname":"<NAME>.","surname":"Frank","motivation":"\"for the discovery and the interpretation of the Cherenkov effect\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1958","category":"medicine","laureates":[{"id":"364","firstname":"George","surname":"Beadle","motivation":"\"for their discovery that genes act by regulating definite chemical events\"","share":"4"},{"id":"365","firstname":"Edward","surname":"Tatum","motivation":"\"for their discovery that genes act by regulating definite chemical events\"","share":"4"},{"id":"366","firstname":"Joshua","surname":"Lederberg","motivation":"\"for his discoveries concerning genetic recombination and the organization of the genetic material of bacteria\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1957","category":"chemistry","laureates":[{"id":"221","firstname":"Lord","surname":"Todd","motivation":"\"for his work on nucleotides and nucleotide co-enzymes\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1957","category":"literature","laureates":[{"id":"628","firstname":"Albert","surname":"Camus","motivation":"\"for his important literary production, which with clear-sighted earnestness illuminates the problems of the human conscience in our times\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1957","category":"peace","laureates":[{"id":"516","firstname":"<NAME>","surname":"Pearson","motivation":"\"for his crucial contribution to the deployment of a United Nations Emergency Force in the wake of the Suez Crisis\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1957","category":"physics","laureates":[{"id":"68","firstname":"<NAME>","surname":"Yang","motivation":"\"for their penetrating investigation of the so-called parity laws which has led to important discoveries regarding the elementary particles\"","share":"2"},{"id":"69","firstname":"Tsung-Dao","surname":"Lee","motivation":"\"for their penetrating investigation of the so-called parity laws which has led to important discoveries regarding the elementary particles\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1957","category":"medicine","laureates":[{"id":"363","firstname":"Daniel","surname":"Bovet","motivation":"\"for his discoveries relating to synthetic compounds that inhibit the action of certain body substances, and especially their action on the vascular system and the skeletal muscles\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1956","category":"chemistry","laureates":[{"id":"219","firstname":"<NAME>","surname":"Hinshelwood","motivation":"\"for their researches into the mechanism of chemical reactions\"","share":"2"},{"id":"220","firstname":"Nikolay","surname":"Semenov","motivation":"\"for their researches into the mechanism of chemical reactions\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1956","category":"literature","laureates":[{"id":"627","firstname":"<NAME>","surname":"Jiménez","motivation":"\"for his lyrical poetry, which in Spanish language constitutes an example of high spirit and artistical purity\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1956","category":"peace","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1956","category":"physics","laureates":[{"id":"65","firstname":"<NAME>.","surname":"Shockley","motivation":"\"for their researches on semiconductors and their discovery of the transistor effect\"","share":"3"},{"id":"66","firstname":"John","surname":"Bardeen","motivation":"\"for their researches on semiconductors and their discovery of the transistor effect\"","share":"3"},{"id":"67","firstname":"<NAME>.","surname":"Brattain","motivation":"\"for their researches on semiconductors and their discovery of the transistor effect\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1956","category":"medicine","laureates":[{"id":"360","firstname":"<NAME>.","surname":"Cournand","motivation":"\"for their discoveries concerning heart catheterization and pathological changes in the circulatory system\"","share":"3"},{"id":"361","firstname":"Werner","surname":"Forssmann","motivation":"\"for their discoveries concerning heart catheterization and pathological changes in the circulatory system\"","share":"3"},{"id":"362","firstname":"<NAME>.","surname":"Richards","motivation":"\"for their discoveries concerning heart catheterization and pathological changes in the circulatory system\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1955","category":"chemistry","laureates":[{"id":"218","firstname":"Vincent","surname":"<NAME>","motivation":"\"for his work on biochemically important sulphur compounds, especially for the first synthesis of a polypeptide hormone\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1955","category":"literature","laureates":[{"id":"626","firstname":"Halldór","surname":"Laxness","motivation":"\"for his vivid epic power which has renewed the great narrative art of Iceland\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1955","category":"peace","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1955","category":"physics","laureates":[{"id":"63","firstname":"<NAME>.","surname":"Lamb","motivation":"\"for his discoveries concerning the fine structure of the hydrogen spectrum\"","share":"2"},{"id":"64","firstname":"Polykarp","surname":"Kusch","motivation":"\"for his precision determination of the magnetic moment of the electron\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1955","category":"medicine","laureates":[{"id":"359","firstname":"Hugo","surname":"Theorell","motivation":"\"for his discoveries concerning the nature and mode of action of oxidation enzymes\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1954","category":"chemistry","laureates":[{"id":"217","firstname":"Linus","surname":"Pauling","motivation":"\"for his research into the nature of the chemical bond and its application to the elucidation of the structure of complex substances\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1954","category":"literature","laureates":[{"id":"625","firstname":"Ernest","surname":"Hemingway","motivation":"\"for his mastery of the art of narrative, most recently demonstrated in <I>The Old Man and the Sea,</I> and for the influence that he has exerted on contemporary style\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1954","category":"peace","laureates":[{"id":"515","motivation":"\"for its efforts to heal the wounds of war by providing help and protection to refugees all over the world\"","share":"1","firstname":"Office of the United Nations High Commissioner for Refugees"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1954","category":"physics","laureates":[{"id":"61","firstname":"Max","surname":"Born","motivation":"\"for his fundamental research in quantum mechanics, especially for his statistical interpretation of the wavefunction\"","share":"2"},{"id":"62","firstname":"Walther","surname":"Bothe","motivation":"\"for the coincidence method and his discoveries made therewith\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1954","category":"medicine","laureates":[{"id":"356","firstname":"<NAME>.","surname":"Enders","motivation":"\"for their discovery of the ability of poliomyelitis viruses to grow in cultures of various types of tissue\"","share":"3"},{"id":"357","firstname":"<NAME>.","surname":"Weller","motivation":"\"for their discovery of the ability of poliomyelitis viruses to grow in cultures of various types of tissue\"","share":"3"},{"id":"358","firstname":"<NAME>.","surname":"Robbins","motivation":"\"for their discovery of the ability of poliomyelitis viruses to grow in cultures of various types of tissue\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1953","category":"chemistry","laureates":[{"id":"216","firstname":"Hermann","surname":"Staudinger","motivation":"\"for his discoveries in the field of macromolecular chemistry\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1953","category":"literature","laureates":[{"id":"624","firstname":"Winston","surname":"Churchill","motivation":"\"for his mastery of historical and biographical description as well as for brilliant oratory in defending exalted human values\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1953","category":"peace","laureates":[{"id":"514","firstname":"<NAME>.","surname":"Marshall","motivation":"\"for proposing and supervising the plan for the economic recovery of Europe\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1953","category":"physics","laureates":[{"id":"60","firstname":"Frits","surname":"Zernike","motivation":"\"for his demonstration of the phase contrast method, especially for his invention of the phase contrast microscope\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1953","category":"medicine","laureates":[{"id":"354","firstname":"Hans","surname":"Krebs","motivation":"\"for his discovery of the citric acid cycle\"","share":"2"},{"id":"355","firstname":"Fritz","surname":"Lipmann","motivation":"\"for his discovery of co-enzyme A and its importance for intermediary metabolism\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1952","category":"chemistry","laureates":[{"id":"214","firstname":"<NAME>.","surname":"Martin","motivation":"\"for their invention of partition chromatography\"","share":"2"},{"id":"215","firstname":"<NAME>.","surname":"Synge","motivation":"\"for their invention of partition chromatography\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1952","category":"literature","laureates":[{"id":"623","firstname":"François","surname":"Mauriac","motivation":"\"for the deep spiritual insight and the artistic intensity with which he has in his novels penetrated the drama of human life\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1952","category":"peace","laureates":[{"id":"513","firstname":"Albert","surname":"Schweitzer","motivation":"\"for his altruism, reverence for life, and tireless humanitarian work which has helped making the idea of brotherhood between men and nations a living one\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1952","category":"physics","laureates":[{"id":"58","firstname":"Felix","surname":"Bloch","motivation":"\"for their development of new methods for nuclear magnetic precision measurements and discoveries in connection therewith\"","share":"2"},{"id":"59","firstname":"<NAME>.","surname":"Purcell","motivation":"\"for their development of new methods for nuclear magnetic precision measurements and discoveries in connection therewith\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1952","category":"medicine","laureates":[{"id":"353","firstname":"<NAME>.","surname":"Waksman","motivation":"\"for his discovery of streptomycin, the first antibiotic effective against tuberculosis\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1951","category":"chemistry","laureates":[{"id":"212","firstname":"<NAME>.","surname":"McMillan","motivation":"\"for their discoveries in the chemistry of the transuranium elements\"","share":"2"},{"id":"213","firstname":"<NAME>.","surname":"Seaborg","motivation":"\"for their discoveries in the chemistry of the transuranium elements\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1951","category":"literature","laureates":[{"id":"622","firstname":"Pär","surname":"Lagerkvist","motivation":"\"for the artistic vigour and true independence of mind with which he endeavours in his poetry to find answers to the eternal questions confronting mankind\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1951","category":"peace","laureates":[{"id":"512","firstname":"Léon","surname":"Jouhaux","motivation":"\"for having devoted his life to the fight against war through the promotion of social justice and brotherhood among men and nations\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1951","category":"physics","laureates":[{"id":"56","firstname":"John","surname":"Cockcroft","motivation":"\"for their pioneer work on the transmutation of atomic nuclei by artificially accelerated atomic particles\"","share":"2"},{"id":"57","firstname":"<NAME>.","surname":"Walton","motivation":"\"for their pioneer work on the transmutation of atomic nuclei by artificially accelerated atomic particles\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1951","category":"medicine","laureates":[{"id":"352","firstname":"Max","surname":"Theiler","motivation":"\"for his discoveries concerning yellow fever and how to combat it\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1950","category":"chemistry","laureates":[{"id":"210","firstname":"Otto","surname":"Diels","motivation":"\"for their discovery and development of the diene synthesis\"","share":"2"},{"id":"211","firstname":"Kurt","surname":"Alder","motivation":"\"for their discovery and development of the diene synthesis\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1950","category":"literature","laureates":[{"id":"621","firstname":"Bertrand","surname":"Russell","motivation":"\"in recognition of his varied and significant writings in which he champions humanitarian ideals and freedom of thought\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1950","category":"peace","laureates":[{"id":"511","firstname":"Ralph","surname":"Bunche","motivation":"\"for his work as mediator in Palestine in 1948-1949\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1950","category":"physics","laureates":[{"id":"55","firstname":"Cecil","surname":"Powell","motivation":"\"for his development of the photographic method of studying nuclear processes and his discoveries regarding mesons made with this method\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1950","category":"medicine","laureates":[{"id":"349","firstname":"<NAME>.","surname":"Kendall","motivation":"\"for their discoveries relating to the hormones of the adrenal cortex, their structure and biological effects\"","share":"3"},{"id":"350","firstname":"Tadeus","surname":"Reichstein","motivation":"\"for their discoveries relating to the hormones of the adrenal cortex, their structure and biological effects\"","share":"3"},{"id":"351","firstname":"<NAME>.","surname":"Hench","motivation":"\"for their discoveries relating to the hormones of the adrenal cortex, their structure and biological effects\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1949","category":"chemistry","laureates":[{"id":"209","firstname":"<NAME>.","surname":"Giauque","motivation":"\"for his contributions in the field of chemical thermodynamics, particularly concerning the behaviour of substances at extremely low temperatures\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1949","category":"literature","laureates":[{"id":"620","firstname":"William","surname":"Faulkner","motivation":"\"for his powerful and artistically unique contribution to the modern American novel\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1949","category":"peace","laureates":[{"id":"510","firstname":"John","surname":"<NAME>","motivation":"\"for his lifelong effort to conquer hunger and want, thereby helping to remove a major cause of military conflict and war\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1949","category":"physics","laureates":[{"id":"54","firstname":"Hideki","surname":"Yukawa","motivation":"\"for his prediction of the existence of mesons on the basis of theoretical work on nuclear forces\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1949","category":"medicine","laureates":[{"id":"347","firstname":"Walter","surname":"Hess","motivation":"\"for his discovery of the functional organization of the interbrain as a coordinator of the activities of the internal organs\"","share":"2"},{"id":"348","firstname":"Egas","surname":"Moniz","motivation":"\"for his discovery of the therapeutic value of leucotomy in certain psychoses\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1948","category":"chemistry","laureates":[{"id":"208","firstname":"Arne","surname":"Tiselius","motivation":"\"for his research on electrophoresis and adsorption analysis, especially for his discoveries concerning the complex nature of the serum proteins\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1948","category":"literature","laureates":[{"id":"619","firstname":"T.S.","surname":"Eliot","motivation":"\"for his outstanding, pioneer contribution to present-day poetry\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1948","category":"peace","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1948","category":"physics","laureates":[{"id":"53","firstname":"<NAME>.","surname":"Blackett","motivation":"\"for his development of the Wilson cloud chamber method, and his discoveries therewith in the fields of nuclear physics and cosmic radiation\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1948","category":"medicine","laureates":[{"id":"346","firstname":"Paul","surname":"Müller","motivation":"\"for his discovery of the high efficiency of DDT as a contact poison against several arthropods\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1947","category":"chemistry","laureates":[{"id":"207","firstname":"<NAME>","surname":"Robinson","motivation":"\"for his investigations on plant products of biological importance, especially the alkaloids\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1947","category":"literature","laureates":[{"id":"618","firstname":"André","surname":"Gide","motivation":"\"for his comprehensive and artistically significant writings, in which human problems and conditions have been presented with a fearless love of truth and keen psychological insight\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1947","category":"peace","laureates":[{"id":"508","motivation":"\"for their pioneering work in the international peace movement and compassionate effort to relieve human suffering, thereby promoting the fraternity between nations\"","share":"2","firstname":"Friends Service Council"},{"id":"509","motivation":"\"for their pioneering work in the international peace movement and compassionate effort to relieve human suffering, thereby promoting the fraternity between nations\"","share":"2","firstname":"American Friends Service Committee"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1947","category":"physics","laureates":[{"id":"52","firstname":"<NAME>.","surname":"Appleton","motivation":"\"for his investigations of the physics of the upper atmosphere especially for the discovery of the so-called Appleton layer\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1947","category":"medicine","laureates":[{"id":"343","firstname":"Carl","surname":"Cori","motivation":"\"for their discovery of the course of the catalytic conversion of glycogen\"","share":"4"},{"id":"344","firstname":"Gerty","surname":"Cori","motivation":"\"for their discovery of the course of the catalytic conversion of glycogen\"","share":"4"},{"id":"345","firstname":"Bernardo","surname":"Houssay","motivation":"\"for his discovery of the part played by the hormone of the anterior pituitary lobe in the metabolism of sugar\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1946","category":"chemistry","laureates":[{"id":"204","firstname":"<NAME>.","surname":"Sumner","motivation":"\"for his discovery that enzymes can be crystallized\"","share":"2"},{"id":"205","firstname":"<NAME>.","surname":"Northrop","motivation":"\"for their preparation of enzymes and virus proteins in a pure form\"","share":"4"},{"id":"206","firstname":"<NAME>.","surname":"Stanley","motivation":"\"for their preparation of enzymes and virus proteins in a pure form\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1946","category":"literature","laureates":[{"id":"617","firstname":"Hermann","surname":"Hesse","motivation":"\"for his inspired writings which, while growing in boldness and penetration, exemplify the classical humanitarian ideals and high qualities of style\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1946","category":"peace","laureates":[{"id":"506","firstname":"<NAME>","surname":"Balch","motivation":"\"for her lifelong work for the cause of peace\"","share":"2"},{"id":"507","firstname":"<NAME>.","surname":"Mott","motivation":"\"for his contribution to the creation of a peace-promoting religious brotherhood across national boundaries\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1946","category":"physics","laureates":[{"id":"51","firstname":"<NAME>.","surname":"Bridgman","motivation":"\"for the invention of an apparatus to produce extremely high pressures, and for the discoveries he made therewith in the field of high pressure physics\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1946","category":"medicine","laureates":[{"id":"342","firstname":"<NAME>.","surname":"Muller","motivation":"\"for the discovery of the production of mutations by means of X-ray irradiation\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1945","category":"chemistry","laureates":[{"id":"203","firstname":"Artturi","surname":"Virtanen","motivation":"\"for his research and inventions in agricultural and nutrition chemistry, especially for his fodder preservation method\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1945","category":"literature","laureates":[{"id":"615","firstname":"Gabriela","surname":"Mistral","motivation":"\"for her lyric poetry which, inspired by powerful emotions, has made her name a symbol of the idealistic aspirations of the entire Latin American world\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1945","category":"peace","laureates":[{"id":"505","firstname":"Cordell","surname":"Hull","motivation":"\"for his indefatigable work for international understanding and his pivotal role in establishing the United Nations\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1945","category":"physics","laureates":[{"id":"50","firstname":"Wolfgang","surname":"Pauli","motivation":"\"for the discovery of the Exclusion Principle, also called the Pauli Principle\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1945","category":"medicine","laureates":[{"id":"339","firstname":"<NAME>","surname":"Fleming","motivation":"\"for the discovery of penicillin and its curative effect in various infectious diseases\"","share":"3"},{"id":"340","firstname":"<NAME>.","surname":"Chain","motivation":"\"for the discovery of penicillin and its curative effect in various infectious diseases\"","share":"3"},{"id":"341","firstname":"<NAME>","surname":"Florey","motivation":"\"for the discovery of penicillin and its curative effect in various infectious diseases\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1944","category":"chemistry","laureates":[{"id":"202","firstname":"Otto","surname":"Hahn","motivation":"\"for his discovery of the fission of heavy nuclei\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1944","category":"literature","laureates":[{"id":"614","firstname":"<NAME>.","surname":"Jensen","motivation":"\"for the rare strength and fertility of his poetic imagination with which is combined an intellectual curiosity of wide scope and a bold, freshly creative style\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1944","category":"peace","laureates":[{"id":"482","motivation":"\"for the great work it has performed during the war on behalf of humanity\"","share":"1","firstname":"International Committee of the Red Cross"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1944","category":"physics","laureates":[{"id":"49","firstname":"<NAME>","surname":"Rabi","motivation":"\"for his resonance method for recording the magnetic properties of atomic nuclei\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1944","category":"medicine","laureates":[{"id":"337","firstname":"Joseph","surname":"Erlanger","motivation":"\"for their discoveries relating to the highly differentiated functions of single nerve fibres\"","share":"2"},{"id":"338","firstname":"<NAME>.","surname":"Gasser","motivation":"\"for their discoveries relating to the highly differentiated functions of single nerve fibres\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1943","category":"chemistry","laureates":[{"id":"201","firstname":"George","surname":"<NAME>","motivation":"\"for his work on the use of isotopes as tracers in the study of chemical processes\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1943","category":"literature","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1943","category":"peace","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1943","category":"physics","laureates":[{"id":"48","firstname":"Otto","surname":"Stern","motivation":"\"for his contribution to the development of the molecular ray method and his discovery of the magnetic moment of the proton\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1943","category":"medicine","laureates":[{"id":"335","firstname":"Henrik","surname":"Dam","motivation":"\"for his discovery of vitamin K\"","share":"2"},{"id":"336","firstname":"<NAME>.","surname":"Doisy","motivation":"\"for his discovery of the chemical nature of vitamin K\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1942","category":"chemistry","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1942","category":"literature","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1942","category":"peace","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1942","category":"physics","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1942","category":"medicine","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1941","category":"chemistry","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1941","category":"literature","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1941","category":"peace","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1941","category":"physics","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1941","category":"medicine","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1940","category":"chemistry","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1940","category":"literature","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1940","category":"peace","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1940","category":"physics","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1940","category":"medicine","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1939","category":"chemistry","laureates":[{"id":"199","firstname":"Adolf","surname":"Butenandt","motivation":"\"for his work on sex hormones\"","share":"2"},{"id":"200","firstname":"Leopold","surname":"Ruzicka","motivation":"\"for his work on polymethylenes and higher terpenes\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1939","category":"literature","laureates":[{"id":"613","firstname":"<NAME>","surname":"Sillanpää","motivation":"\"for his deep understanding of his country''s peasantry and the exquisite art with which he has portrayed their way of life and their relationship with Nature\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1939","category":"peace","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1939","category":"physics","laureates":[{"id":"47","firstname":"Ernest","surname":"Lawrence","motivation":"\"for the invention and development of the cyclotron and for results obtained with it, especially with regard to artificial radioactive elements\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1939","category":"medicine","laureates":[{"id":"334","firstname":"Gerhard","surname":"Domagk","motivation":"\"for the discovery of the antibacterial effects of prontosil\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1938","category":"chemistry","laureates":[{"id":"198","firstname":"Richard","surname":"Kuhn","motivation":"\"for his work on carotenoids and vitamins\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1938","category":"literature","laureates":[{"id":"610","firstname":"Pearl","surname":"Buck","motivation":"\"for her rich and truly epic descriptions of peasant life in China and for her biographical masterpieces\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1938","category":"peace","laureates":[{"id":"503","motivation":"\"for having carried on the work of Fridtjof Nansen to the benefit of refugees across Europe\"","share":"1","firstname":"Nansen International Office for Refugees"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1938","category":"physics","laureates":[{"id":"46","firstname":"Enrico","surname":"Fermi","motivation":"\"for his demonstrations of the existence of new radioactive elements produced by neutron irradiation, and for his related discovery of nuclear reactions brought about by slow neutrons\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1938","category":"medicine","laureates":[{"id":"333","firstname":"Corneille","surname":"Heymans","motivation":"\"for the discovery of the role played by the sinus and aortic mechanisms in the regulation of respiration\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1937","category":"chemistry","laureates":[{"id":"196","firstname":"Norman","surname":"Haworth","motivation":"\"for his investigations on carbohydrates and vitamin C\"","share":"2"},{"id":"197","firstname":"Paul","surname":"Karrer","motivation":"\"for his investigations on carotenoids, flavins and vitamins A and B2\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1937","category":"literature","laureates":[{"id":"609","firstname":"Roger","surname":"<NAME>","motivation":"\"for the artistic power and truth with which he has depicted human conflict as well as some fundamental aspects of contemporary life in his novel-cycle <I>Les Thibault</I>\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1937","category":"peace","laureates":[{"id":"502","firstname":"Robert","surname":"Cecil","motivation":"\"for his tireless effort in support of the League of Nations, disarmament and peace\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1937","category":"physics","laureates":[{"id":"44","firstname":"Clinton","surname":"Davisson","motivation":"\"for their experimental discovery of the diffraction of electrons by crystals\"","share":"2"},{"id":"45","firstname":"<NAME>","surname":"Thomson","motivation":"\"for their experimental discovery of the diffraction of electrons by crystals\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1937","category":"medicine","laureates":[{"id":"332","firstname":"Albert","surname":"Szent-Györgyi","motivation":"\"for his discoveries in connection with the biological combustion processes, with special reference to vitamin C and the catalysis of fumaric acid\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1936","category":"chemistry","laureates":[{"id":"195","firstname":"Peter","surname":"Debye","motivation":"\"for his contributions to our knowledge of molecular structure through his investigations on dipole moments and on the diffraction of X-rays and electrons in gases\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1936","category":"literature","laureates":[{"id":"608","firstname":"Eugene","surname":"O''Neill","motivation":"\"for the power, honesty and deep-felt emotions of his dramatic works, which embody an original concept of tragedy\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1936","category":"peace","laureates":[{"id":"501","firstname":"Carlos","surname":"<NAME>","motivation":"\"for his role as father of the Argentine Antiwar Pact of 1933, which he also used as a means to mediate peace between Paraguay and Bolivia in 1935\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1936","category":"physics","laureates":[{"id":"42","firstname":"<NAME>.","surname":"Hess","motivation":"\"for his discovery of cosmic radiation\"","share":"2"},{"id":"43","firstname":"<NAME>.","surname":"Anderson","motivation":"\"for his discovery of the positron\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1936","category":"medicine","laureates":[{"id":"330","firstname":"<NAME>","surname":"Dale","motivation":"\"for their discoveries relating to chemical transmission of nerve impulses\"","share":"2"},{"id":"331","firstname":"Otto","surname":"Loewi","motivation":"\"for their discoveries relating to chemical transmission of nerve impulses\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1935","category":"chemistry","laureates":[{"id":"193","firstname":"Frédéric","surname":"Joliot","motivation":"\"in recognition of their synthesis of new radioactive elements\"","share":"2"},{"id":"194","firstname":"Irène","surname":"Joliot-Curie","motivation":"\"in recognition of their synthesis of new radioactive elements\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1935","category":"literature","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1935","category":"peace","laureates":[{"id":"500","firstname":"Carl","surname":"<NAME>","motivation":"\"for his burning love for freedom of thought and expression and his valuable contribution to the cause of peace\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1935","category":"physics","laureates":[{"id":"41","firstname":"James","surname":"Chadwick","motivation":"\"for the discovery of the neutron\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1935","category":"medicine","laureates":[{"id":"329","firstname":"Hans","surname":"Spemann","motivation":"\"for his discovery of the organizer effect in embryonic development\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1934","category":"chemistry","laureates":[{"id":"192","firstname":"<NAME>.","surname":"Urey","motivation":"\"for his discovery of heavy hydrogen\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1934","category":"literature","laureates":[{"id":"607","firstname":"Luigi","surname":"Pirandello","motivation":"\"for his bold and ingenious revival of dramatic and scenic art\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1934","category":"peace","laureates":[{"id":"499","firstname":"Arthur","surname":"Henderson","motivation":"\"for his untiring struggle and his courageous efforts as Chairman of the League of Nations Disarmament Conference 1931-34\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1934","category":"physics","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1934","category":"medicine","laureates":[{"id":"326","firstname":"<NAME>.","surname":"Whipple","motivation":"\"for their discoveries concerning liver therapy in cases of anaemia\"","share":"3"},{"id":"327","firstname":"<NAME>.","surname":"Minot","motivation":"\"for their discoveries concerning liver therapy in cases of anaemia\"","share":"3"},{"id":"328","firstname":"<NAME>.","surname":"Murphy","motivation":"\"for their discoveries concerning liver therapy in cases of anaemia\"","share":"3"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1933","category":"chemistry","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was with 1/3 allocated to the Main Fund and with 2/3 to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1933","category":"literature","laureates":[{"id":"606","firstname":"Ivan","surname":"Bunin","motivation":"\"for the strict artistry with which he has carried on the classical Russian traditions in prose writing\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1933","category":"peace","laureates":[{"id":"498","firstname":"<NAME>","surname":"Angell","motivation":"\"for having exposed by his pen the illusion of war and presented a convincing plea for international cooperation and peace\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1933","category":"physics","laureates":[{"id":"39","firstname":"Erwin","surname":"Schrödinger","motivation":"\"for the discovery of new productive forms of atomic theory\"","share":"2"},{"id":"40","firstname":"<NAME>.","surname":"Dirac","motivation":"\"for the discovery of new productive forms of atomic theory\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1933","category":"medicine","laureates":[{"id":"325","firstname":"<NAME>.","surname":"Morgan","motivation":"\"for his discoveries concerning the role played by the chromosome in heredity\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1932","category":"chemistry","laureates":[{"id":"191","firstname":"Irving","surname":"Langmuir","motivation":"\"for his discoveries and investigations in surface chemistry\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1932","category":"literature","laureates":[{"id":"605","firstname":"John","surname":"Galsworthy","motivation":"\"for his distinguished art of narration which takes its highest form in <I>The Forsyte Saga</I>\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1932","category":"peace","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1932","category":"physics","laureates":[{"id":"38","firstname":"Werner","surname":"Heisenberg","motivation":"\"for the creation of quantum mechanics, the application of which has, inter alia, led to the discovery of the allotropic forms of hydrogen\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1932","category":"medicine","laureates":[{"id":"323","firstname":"<NAME>","surname":"Sherrington","motivation":"\"for their discoveries regarding the functions of neurons\"","share":"2"},{"id":"324","firstname":"Edgar","surname":"Adrian","motivation":"\"for their discoveries regarding the functions of neurons\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1931","category":"chemistry","laureates":[{"id":"189","firstname":"Carl","surname":"Bosch","motivation":"\"in recognition of their contributions to the invention and development of chemical high pressure methods\"","share":"2"},{"id":"190","firstname":"Friedrich","surname":"Bergius","motivation":"\"in recognition of their contributions to the invention and development of chemical high pressure methods\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1931","category":"literature","laureates":[{"id":"604","firstname":"<NAME>","surname":"Karlfeldt","motivation":"\"The poetry of Erik Axel Karlfeldt\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1931","category":"peace","laureates":[{"id":"496","firstname":"Jane","surname":"Addams","motivation":"\"for their assiduous effort to revive the ideal of peace and to rekindle the spirit of peace in their own nation and in the whole of mankind\"","share":"2"},{"id":"497","firstname":"<NAME>","surname":"Butler","motivation":"\"for their assiduous effort to revive the ideal of peace and to rekindle the spirit of peace in their own nation and in the whole of mankind\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1931","category":"physics","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1931","category":"medicine","laureates":[{"id":"322","firstname":"Otto","surname":"Warburg","motivation":"\"for his discovery of the nature and mode of action of the respiratory enzyme\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1930","category":"chemistry","laureates":[{"id":"188","firstname":"Hans","surname":"Fischer","motivation":"\"for his researches into the constitution of haemin and chlorophyll and especially for his synthesis of haemin\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1930","category":"literature","laureates":[{"id":"603","firstname":"Sinclair","surname":"Lewis","motivation":"\"for his vigorous and graphic art of description and his ability to create, with wit and humour, new types of characters\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1930","category":"peace","laureates":[{"id":"495","firstname":"Nathan","surname":"Söderblom","motivation":"\"for promoting Christian unity and helping create ''that new attitude of mind which is necessary if peace between nations is to become reality''\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1930","category":"physics","laureates":[{"id":"37","firstname":"<NAME>","surname":"Raman","motivation":"\"for his work on the scattering of light and for the discovery of the effect named after him\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1930","category":"medicine","laureates":[{"id":"321","firstname":"Karl","surname":"Landsteiner","motivation":"\"for his discovery of human blood groups\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1929","category":"chemistry","laureates":[{"id":"186","firstname":"Arthur","surname":"Harden","motivation":"\"for their investigations on the fermentation of sugar and fermentative enzymes\"","share":"2"},{"id":"187","firstname":"Hans","surname":"<NAME>","motivation":"\"for their investigations on the fermentation of sugar and fermentative enzymes\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1929","category":"literature","laureates":[{"id":"602","firstname":"Thomas","surname":"Mann","motivation":"\"principally for his great novel, <I>Buddenbrooks</I>, which has won steadily increased recognition as one of the classic works of contemporary literature\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1929","category":"peace","laureates":[{"id":"494","firstname":"<NAME>.","surname":"Kellogg","motivation":"\"for his crucial role in bringing about the Briand-Kellogg Pact\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1929","category":"physics","laureates":[{"id":"36","firstname":"Louis","surname":"<NAME>","motivation":"\"for his discovery of the wave nature of electrons\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1929","category":"medicine","laureates":[{"id":"319","firstname":"Christiaan","surname":"Eijkman","motivation":"\"for his discovery of the antineuritic vitamin\"","share":"2"},{"id":"320","firstname":"<NAME>","surname":"Hopkins","motivation":"\"for his discovery of the growth-stimulating vitamins\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1928","category":"chemistry","laureates":[{"id":"185","firstname":"Adolf","surname":"Windaus","motivation":"\"for the services rendered through his research into the constitution of the sterols and their connection with the vitamins\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1928","category":"literature","laureates":[{"id":"601","firstname":"Sigrid","surname":"Undset","motivation":"\"principally for her powerful descriptions of Northern life during the Middle Ages\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1928","category":"peace","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1928","category":"physics","laureates":[{"id":"35","firstname":"<NAME>","surname":"Richardson","motivation":"\"for his work on the thermionic phenomenon and especially for the discovery of the law named after him\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1928","category":"medicine","laureates":[{"id":"318","firstname":"Charles","surname":"Nicolle","motivation":"\"for his work on typhus\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1927","category":"chemistry","laureates":[{"id":"184","firstname":"Heinrich","surname":"Wieland","motivation":"\"for his investigations of the constitution of the bile acids and related substances\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1927","category":"literature","laureates":[{"id":"600","firstname":"Henri","surname":"Bergson","motivation":"\"in recognition of his rich and vitalizing ideas and the brilliant skill with which they have been presented\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1927","category":"peace","laureates":[{"id":"492","firstname":"Ferdinand","surname":"Buisson","motivation":"\"for their contribution to the emergence in France and Germany of a public opinion which favours peaceful international cooperation\"","share":"2"},{"id":"493","firstname":"Ludwig","surname":"Quidde","motivation":"\"for their contribution to the emergence in France and Germany of a public opinion which favours peaceful international cooperation\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1927","category":"physics","laureates":[{"id":"33","firstname":"<NAME>.","surname":"Compton","motivation":"\"for his discovery of the effect named after him\"","share":"2"},{"id":"34","firstname":"C.T.R.","surname":"Wilson","motivation":"\"for his method of making the paths of electrically charged particles visible by condensation of vapour\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1927","category":"medicine","laureates":[{"id":"317","firstname":"Julius","surname":"Wagner-Jauregg","motivation":"\"for his discovery of the therapeutic value of malaria inoculation in the treatment of dementia paralytica\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1926","category":"chemistry","laureates":[{"id":"183","firstname":"The","surname":"Svedberg","motivation":"\"for his work on disperse systems\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1926","category":"literature","laureates":[{"id":"597","firstname":"Grazia","surname":"Deledda","motivation":"\"for her idealistically inspired writings which with plastic clarity picture the life on her native island and with depth and sympathy deal with human problems in general\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1926","category":"peace","laureates":[{"id":"490","firstname":"Aristide","surname":"Briand","motivation":"\"for their crucial role in bringing about the Locarno Treaty\"","share":"2"},{"id":"491","firstname":"Gustav","surname":"Stresemann","motivation":"\"for their crucial role in bringing about the Locarno Treaty\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1926","category":"physics","laureates":[{"id":"32","firstname":"<NAME>","surname":"Perrin","motivation":"\"for his work on the discontinuous structure of matter, and especially for his discovery of sedimentation equilibrium\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1926","category":"medicine","laureates":[{"id":"316","firstname":"Johannes","surname":"Fibiger","motivation":"\"for his discovery of the Spiroptera carcinoma\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1925","category":"chemistry","laureates":[{"id":"182","firstname":"Richard","surname":"Zsigmondy","motivation":"\"for his demonstration of the heterogenous nature of colloid solutions and for the methods he used, which have since become fundamental in modern colloid chemistry\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1925","category":"literature","laureates":[{"id":"596","firstname":"<NAME>","surname":"Shaw","motivation":"\"for his work which is marked by both idealism and humanity, its stimulating satire often being infused with a singular poetic beauty\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1925","category":"peace","laureates":[{"id":"488","firstname":"<NAME>","surname":"Chamberlain","motivation":"\"for his crucial role in bringing about the Locarno Treaty\"","share":"2"},{"id":"489","firstname":"<NAME>.","surname":"Dawes","motivation":"\"for his crucial role in bringing about the Dawes Plan\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1925","category":"physics","laureates":[{"id":"30","firstname":"James","surname":"Franck","motivation":"\"for their discovery of the laws governing the impact of an electron upon an atom\"","share":"2"},{"id":"31","firstname":"Gustav","surname":"Hertz","motivation":"\"for their discovery of the laws governing the impact of an electron upon an atom\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1925","category":"medicine","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1924","category":"chemistry","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1924","category":"literature","laureates":[{"id":"594","firstname":"Wladyslaw","surname":"Reymont","motivation":"\"for his great national epic, <I>The Peasants</I>\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1924","category":"peace","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1924","category":"physics","laureates":[{"id":"29","firstname":"Manne","surname":"Siegbahn","motivation":"\"for his discoveries and research in the field of X-ray spectroscopy\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1924","category":"medicine","laureates":[{"id":"315","firstname":"Willem","surname":"Einthoven","motivation":"\"for his discovery of the mechanism of the electrocardiogram\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1923","category":"chemistry","laureates":[{"id":"181","firstname":"Fritz","surname":"Pregl","motivation":"\"for his invention of the method of micro-analysis of organic substances\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1923","category":"literature","laureates":[{"id":"593","firstname":"<NAME>","surname":"Yeats","motivation":"\"for his always inspired poetry, which in a highly artistic form gives expression to the spirit of a whole nation\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1923","category":"peace","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1923","category":"physics","laureates":[{"id":"28","firstname":"<NAME>.","surname":"Millikan","motivation":"\"for his work on the elementary charge of electricity and on the photoelectric effect\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1923","category":"medicine","laureates":[{"id":"313","firstname":"<NAME>.","surname":"Banting","motivation":"\"for the discovery of insulin\"","share":"2"},{"id":"314","firstname":"John","surname":"Macleod","motivation":"\"for the discovery of insulin\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1922","category":"chemistry","laureates":[{"id":"180","firstname":"<NAME>.","surname":"Aston","motivation":"\"for his discovery, by means of his mass spectrograph, of isotopes, in a large number of non-radioactive elements, and for his enunciation of the whole-number rule\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1922","category":"literature","laureates":[{"id":"592","firstname":"Jacinto","surname":"Benavente","motivation":"\"for the happy manner in which he has continued the illustrious traditions of the Spanish drama\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1922","category":"peace","laureates":[{"id":"487","firstname":"Fridtjof","surname":"Nansen","motivation":"\"for his leading role in the repatriation of prisoners of war, in international relief work and as the League of Nations'' High Commissioner for refugees\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1922","category":"physics","laureates":[{"id":"27","firstname":"Niels","surname":"Bohr","motivation":"\"for his services in the investigation of the structure of atoms and of the radiation emanating from them\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1922","category":"medicine","laureates":[{"id":"311","firstname":"<NAME>.","surname":"Hill","motivation":"\"for his discovery relating to the production of heat in the muscle\"","share":"2"},{"id":"312","firstname":"Otto","surname":"Meyerhof","motivation":"\"for his discovery of the fixed relationship between the consumption of oxygen and the metabolism of lactic acid in the muscle\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1921","category":"chemistry","laureates":[{"id":"179","firstname":"Frederick","surname":"Soddy","motivation":"\"for his contributions to our knowledge of the chemistry of radioactive substances, and his investigations into the origin and nature of isotopes\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1921","category":"literature","laureates":[{"id":"590","firstname":"Anatole","surname":"France","motivation":"\"in recognition of his brilliant literary achievements, characterized as they are by a nobility of style, a profound human sympathy, grace, and a true Gallic temperament\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1921","category":"peace","laureates":[{"id":"485","firstname":"Hjalmar","surname":"Branting","motivation":"\"for their lifelong contributions to the cause of peace and organized internationalism\"","share":"2"},{"id":"486","firstname":"Christian","surname":"Lange","motivation":"\"for their lifelong contributions to the cause of peace and organized internationalism\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1921","category":"physics","laureates":[{"id":"26","firstname":"Albert","surname":"Einstein","motivation":"\"for his services to Theoretical Physics, and especially for his discovery of the law of the photoelectric effect\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1921","category":"medicine","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1920","category":"chemistry","laureates":[{"id":"178","firstname":"Walther","surname":"Nernst","motivation":"\"in recognition of his work in thermochemistry\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1920","category":"literature","laureates":[{"id":"589","firstname":"Knut","surname":"Hamsun","motivation":"\"for his monumental work, <I>Growth of the Soil</I>\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1920","category":"peace","laureates":[{"id":"484","firstname":"Léon","surname":"Bourgeois","motivation":"\"for his longstanding contribution to the cause of peace and justice and his prominent role in the establishment of the League of Nations\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1920","category":"physics","laureates":[{"id":"25","firstname":"<NAME>","surname":"Guillaume","motivation":"\"in recognition of the service he has rendered to precision measurements in Physics by his discovery of anomalies in nickel steel alloys\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1920","category":"medicine","laureates":[{"id":"310","firstname":"August","surname":"Krogh","motivation":"\"for his discovery of the capillary motor regulating mechanism\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1919","category":"chemistry","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1919","category":"literature","laureates":[{"id":"588","firstname":"Carl","surname":"Spitteler","motivation":"\"in special appreciation of his epic, <I>Olympian Spring</I>\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1919","category":"peace","laureates":[{"id":"483","firstname":"Woodrow","surname":"Wilson","motivation":"\"for his role as founder of the League of Nations\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1919","category":"physics","laureates":[{"id":"24","firstname":"Johannes","surname":"Stark","motivation":"\"for his discovery of the Doppler effect in canal rays and the splitting of spectral lines in electric fields\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1919","category":"medicine","laureates":[{"id":"309","firstname":"Jules","surname":"Bordet","motivation":"\"for his discoveries relating to immunity\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1918","category":"chemistry","laureates":[{"id":"177","firstname":"Fritz","surname":"Haber","motivation":"\"for the synthesis of ammonia from its elements\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1918","category":"literature","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1918","category":"peace","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1918","category":"physics","laureates":[{"id":"23","firstname":"Max","surname":"Planck","motivation":"\"in recognition of the services he rendered to the advancement of Physics by his discovery of energy quanta\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1918","category":"medicine","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1917","category":"chemistry","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1917","category":"literature","laureates":[{"id":"586","firstname":"Karl","surname":"Gjellerup","motivation":"\"for his varied and rich poetry, which is inspired by lofty ideals\"","share":"2"},{"id":"587","firstname":"Henrik","surname":"Pontoppidan","motivation":"\"for his authentic descriptions of present-day life in Denmark\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1917","category":"peace","laureates":[{"id":"482","motivation":"\"for the efforts to take care of wounded soldiers and prisoners of war and their families\"","share":"1","firstname":"International Committee of the Red Cross"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1917","category":"physics","laureates":[{"id":"22","firstname":"<NAME>","surname":"Barkla","motivation":"\"for his discovery of the characteristic Röntgen radiation of the elements\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1917","category":"medicine","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1916","category":"chemistry","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1916","category":"literature","laureates":[{"id":"585","firstname":"Verner","surname":"<NAME>","motivation":"\"in recognition of his significance as the leading representative of a new era in our literature\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1916","category":"peace","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1916","category":"physics","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1916","category":"medicine","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1915","category":"chemistry","laureates":[{"id":"176","firstname":"Richard","surname":"Willstätter","motivation":"\"for his researches on plant pigments, especially chlorophyll\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1915","category":"literature","laureates":[{"id":"584","firstname":"Romain","surname":"Rolland","motivation":"\"as a tribute to the lofty idealism of his literary production and to the sympathy and love of truth with which he has described different types of human beings\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1915","category":"peace","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1915","category":"physics","laureates":[{"id":"20","firstname":"William","surname":"Bragg","motivation":"\"for their services in the analysis of crystal structure by means of X-rays\"","share":"2"},{"id":"21","firstname":"Lawrence","surname":"Bragg","motivation":"\"for their services in the analysis of crystal structure by means of X-rays\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1915","category":"medicine","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1914","category":"chemistry","laureates":[{"id":"175","firstname":"<NAME>.","surname":"Richards","motivation":"\"in recognition of his accurate determinations of the atomic weight of a large number of chemical elements\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1914","category":"literature","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1914","category":"peace","overallMotivation":"\"No Nobel Prize was awarded this year. The prize money was allocated to the Special Fund of this prize section.\""}');
INSERT INTO nobel_prize (document) values ('{"year":"1914","category":"physics","laureates":[{"id":"19","firstname":"Max","surname":"<NAME>","motivation":"\"for his discovery of the diffraction of X-rays by crystals\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1914","category":"medicine","laureates":[{"id":"308","firstname":"Robert","surname":"Bárány","motivation":"\"for his work on the physiology and pathology of the vestibular apparatus\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1913","category":"chemistry","laureates":[{"id":"174","firstname":"Alfred","surname":"Werner","motivation":"\"in recognition of his work on the linkage of atoms in molecules by which he has thrown new light on earlier investigations and opened up new fields of research especially in inorganic chemistry\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1913","category":"literature","laureates":[{"id":"583","firstname":"Rabindranath","surname":"Tagore","motivation":"\"because of his profoundly sensitive, fresh and beautiful verse, by which, with consummate skill, he has made his poetic thought, expressed in his own English words, a part of the literature of the West\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1913","category":"peace","laureates":[{"id":"481","firstname":"Henri","surname":"<NAME>","motivation":"\"for his unparalleled contribution to the organization of peaceful internationalism\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1913","category":"physics","laureates":[{"id":"18","firstname":"Heike","surname":"<NAME>","motivation":"\"for his investigations on the properties of matter at low temperatures which led, inter alia, to the production of liquid helium\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1913","category":"medicine","laureates":[{"id":"307","firstname":"Charles","surname":"Richet","motivation":"\"in recognition of his work on anaphylaxis\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1912","category":"chemistry","laureates":[{"id":"172","firstname":"Victor","surname":"Grignard","motivation":"\"for the discovery of the so-called Grignard reagent, which in recent years has greatly advanced the progress of organic chemistry\"","share":"2"},{"id":"173","firstname":"Paul","surname":"Sabatier","motivation":"\"for his method of hydrogenating organic compounds in the presence of finely disintegrated metals whereby the progress of organic chemistry has been greatly advanced in recent years\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1912","category":"literature","laureates":[{"id":"582","firstname":"Gerhart","surname":"Hauptmann","motivation":"\"primarily in recognition of his fruitful, varied and outstanding production in the realm of dramatic art\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1912","category":"peace","laureates":[{"id":"480","firstname":"Elihu","surname":"Root","motivation":"\"for bringing about better understanding between the countries of North and South America and initiating important arbitration agreements between the United States and other countries\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1912","category":"physics","laureates":[{"id":"17","firstname":"Gustaf","surname":"Dalén","motivation":"\"for his invention of automatic regulators for use in conjunction with gas accumulators for illuminating lighthouses and buoys\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1912","category":"medicine","laureates":[{"id":"306","firstname":"Alexis","surname":"Carrel","motivation":"\"in recognition of his work on vascular suture and the transplantation of blood vessels and organs\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1911","category":"chemistry","laureates":[{"id":"6","firstname":"Marie","surname":"Curie","motivation":"\"in recognition of her services to the advancement of chemistry by the discovery of the elements radium and polonium, by the isolation of radium and the study of the nature and compounds of this remarkable element\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1911","category":"literature","laureates":[{"id":"581","firstname":"Maurice","surname":"Maeterlinck","motivation":"\"in appreciation of his many-sided literary activities, and especially of his dramatic works, which are distinguished by a wealth of imagination and by a poetic fancy, which reveals, sometimes in the guise of a fairy tale, a deep inspiration, while in a mysterious way they appeal to the readers'' own feelings and stimulate their imaginations\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1911","category":"peace","laureates":[{"id":"478","firstname":"Tobias","surname":"Asser","motivation":"\"for his role as co-founder of the Institut de droit international, initiator of the Conferences on International Private Law (Conférences de Droit international privé) at the Hague, and pioneer in the field of international legal relations\"","share":"2"},{"id":"479","firstname":"Alfred","surname":"Fried","motivation":"\"for his effort to expose and fight what he considers to be the main cause of war, namely, the anarchy in international relations\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1911","category":"physics","laureates":[{"id":"16","firstname":"Wilhelm","surname":"Wien","motivation":"\"for his discoveries regarding the laws governing the radiation of heat\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1911","category":"medicine","laureates":[{"id":"305","firstname":"Allvar","surname":"Gullstrand","motivation":"\"for his work on the dioptrics of the eye\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1910","category":"chemistry","laureates":[{"id":"169","firstname":"Otto","surname":"Wallach","motivation":"\"in recognition of his services to organic chemistry and the chemical industry by his pioneer work in the field of alicyclic compounds\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1910","category":"literature","laureates":[{"id":"580","firstname":"Paul","surname":"Heyse","motivation":"\"as a tribute to the consummate artistry, permeated with idealism, which he has demonstrated during his long productive career as a lyric poet, dramatist, novelist and writer of world-renowned short stories\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1910","category":"peace","laureates":[{"id":"477","motivation":"\"for acting as a link between the peace societies of the various countries, and helping them to organize the world rallies of the international peace movement\"","share":"1","firstname":"Permanent International Peace Bureau"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1910","category":"physics","laureates":[{"id":"15","firstname":"<NAME>","surname":"<NAME>","motivation":"\"for his work on the equation of state for gases and liquids\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1910","category":"medicine","laureates":[{"id":"304","firstname":"Albrecht","surname":"Kossel","motivation":"\"in recognition of the contributions to our knowledge of cell chemistry made through his work on proteins, including the nucleic substances\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1909","category":"chemistry","laureates":[{"id":"168","firstname":"Wilhelm","surname":"Ostwald","motivation":"\"in recognition of his work on catalysis and for his investigations into the fundamental principles governing chemical equilibria and rates of reaction\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1909","category":"literature","laureates":[{"id":"579","firstname":"Selma","surname":"Lagerlöf","motivation":"\"in appreciation of the lofty idealism, vivid imagination and spiritual perception that characterize her writings\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1909","category":"peace","laureates":[{"id":"475","firstname":"Auguste","surname":"Beernaert","motivation":"\"for their prominent position in the international movement for peace and arbitration\"","share":"2"},{"id":"476","firstname":"<NAME>","surname":"d''<NAME>","motivation":"\"for their prominent position in the international movement for peace and arbitration\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1909","category":"physics","laureates":[{"id":"13","firstname":"Guglielmo","surname":"Marconi","motivation":"\"in recognition of their contributions to the development of wireless telegraphy\"","share":"2"},{"id":"14","firstname":"Ferdinand","surname":"Braun","motivation":"\"in recognition of their contributions to the development of wireless telegraphy\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1909","category":"medicine","laureates":[{"id":"303","firstname":"Theodor","surname":"Kocher","motivation":"\"for his work on the physiology, pathology and surgery of the thyroid gland\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1908","category":"chemistry","laureates":[{"id":"167","firstname":"Ernest","surname":"Rutherford","motivation":"\"for his investigations into the disintegration of the elements, and the chemistry of radioactive substances\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1908","category":"literature","laureates":[{"id":"578","firstname":"Rudolf","surname":"Eucken","motivation":"\"in recognition of his earnest search for truth, his penetrating power of thought, his wide range of vision, and the warmth and strength in presentation with which in his numerous works he has vindicated and developed an idealistic philosophy of life\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1908","category":"peace","laureates":[{"id":"473","firstname":"<NAME>","surname":"Arnoldson","motivation":"\"for their long time work for the cause of peace as politicians, peace society leaders, orators and authors\"","share":"2"},{"id":"474","firstname":"Fredrik","surname":"Bajer","motivation":"\"for their long time work for the cause of peace as politicians, peace society leaders, orators and authors\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1908","category":"physics","laureates":[{"id":"12","firstname":"Gabriel","surname":"Lippmann","motivation":"\"for his method of reproducing colours photographically based on the phenomenon of interference\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1908","category":"medicine","laureates":[{"id":"301","firstname":"Ilya","surname":"Mechnikov","motivation":"\"in recognition of their work on immunity\"","share":"2"},{"id":"302","firstname":"Paul","surname":"Ehrlich","motivation":"\"in recognition of their work on immunity\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1907","category":"chemistry","laureates":[{"id":"166","firstname":"Eduard","surname":"Buchner","motivation":"\"for his biochemical researches and his discovery of cell-free fermentation\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1907","category":"literature","laureates":[{"id":"577","firstname":"Rudyard","surname":"Kipling","motivation":"\"in consideration of the power of observation, originality of imagination, virility of ideas and remarkable talent for narration which characterize the creations of this world-famous author\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1907","category":"peace","laureates":[{"id":"471","firstname":"<NAME>","surname":"Moneta","motivation":"\"for his work in the press and in peace meetings, both public and private, for an understanding between France and Italy\"","share":"2"},{"id":"472","firstname":"Louis","surname":"Renault","motivation":"\"for his decisive influence upon the conduct and outcome of the Hague and Geneva Conferences\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1907","category":"physics","laureates":[{"id":"11","firstname":"<NAME>.","surname":"Michelson","motivation":"\"for his optical precision instruments and the spectroscopic and metrological investigations carried out with their aid\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1907","category":"medicine","laureates":[{"id":"300","firstname":"Alphonse","surname":"Laveran","motivation":"\"in recognition of his work on the role played by protozoa in causing diseases\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1906","category":"chemistry","laureates":[{"id":"165","firstname":"Henri","surname":"Moissan","motivation":"\"in recognition of the great services rendered by him in his investigation and isolation of the element fluorine, and for the adoption in the service of science of the electric furnace called after him\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1906","category":"literature","laureates":[{"id":"576","firstname":"Giosuè","surname":"Carducci","motivation":"\"not only in consideration of his deep learning and critical research, but above all as a tribute to the creative energy, freshness of style, and lyrical force which characterize his poetic masterpieces\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1906","category":"peace","laureates":[{"id":"470","firstname":"Theodore","surname":"Roosevelt","motivation":"\"for his role in bringing to an end the bloody war recently waged between two of the world''s great powers, Japan and Russia\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1906","category":"physics","laureates":[{"id":"10","firstname":"J.J.","surname":"Thomson","motivation":"\"in recognition of the great merits of his theoretical and experimental investigations on the conduction of electricity by gases\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1906","category":"medicine","laureates":[{"id":"298","firstname":"Camillo","surname":"Golgi","motivation":"\"in recognition of their work on the structure of the nervous system\"","share":"2"},{"id":"299","firstname":"Santiago","surname":"<NAME>","motivation":"\"in recognition of their work on the structure of the nervous system\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1905","category":"chemistry","laureates":[{"id":"164","firstname":"Adolf","surname":"<NAME>","motivation":"\"in recognition of his services in the advancement of organic chemistry and the chemical industry, through his work on organic dyes and hydroaromatic compounds\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1905","category":"literature","laureates":[{"id":"575","firstname":"Henryk","surname":"Sienkiewicz","motivation":"\"because of his outstanding merits as an epic writer\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1905","category":"peace","laureates":[{"id":"468","firstname":"Bertha","surname":"<NAME>","motivation":"\"for her audacity to oppose the horrors of war\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1905","category":"physics","laureates":[{"id":"9","firstname":"Philipp","surname":"Lenard","motivation":"\"for his work on cathode rays\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1905","category":"medicine","laureates":[{"id":"297","firstname":"Robert","surname":"Koch","motivation":"\"for his investigations and discoveries in relation to tuberculosis\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1904","category":"chemistry","laureates":[{"id":"163","firstname":"<NAME>","surname":"Ramsay","motivation":"\"in recognition of his services in the discovery of the inert gaseous elements in air, and his determination of their place in the periodic system\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1904","category":"literature","laureates":[{"id":"573","firstname":"Frédéric","surname":"Mistral","motivation":"\"in recognition of the fresh originality and true inspiration of his poetic production, which faithfully reflects the natural scenery and native spirit of his people, and, in addition, his significant work as a Provençal philologist\"","share":"2"},{"id":"574","firstname":"José","surname":"Echegaray","motivation":"\"in recognition of the numerous and brilliant compositions which, in an individual and original manner, have revived the great traditions of the Spanish drama\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1904","category":"peace","laureates":[{"id":"467","motivation":"\"for its striving in public law to develop peaceful ties between nations and to make the laws of war more humane\"","share":"1","firstname":"Institute of International Law"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1904","category":"physics","laureates":[{"id":"8","firstname":"Lord","surname":"Rayleigh","motivation":"\"for his investigations of the densities of the most important gases and for his discovery of argon in connection with these studies\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1904","category":"medicine","laureates":[{"id":"296","firstname":"Ivan","surname":"Pavlov","motivation":"\"in recognition of his work on the physiology of digestion, through which knowledge on vital aspects of the subject has been transformed and enlarged\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1903","category":"chemistry","laureates":[{"id":"162","firstname":"Svante","surname":"Arrhenius","motivation":"\"in recognition of the extraordinary services he has rendered to the advancement of chemistry by his electrolytic theory of dissociation\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1903","category":"literature","laureates":[{"id":"572","firstname":"Bjørnstjerne","surname":"Bjørnson","motivation":"\"as a tribute to his noble, magnificent and versatile poetry, which has always been distinguished by both the freshness of its inspiration and the rare purity of its spirit\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1903","category":"peace","laureates":[{"id":"466","firstname":"Randal","surname":"Cremer","motivation":"\"for his longstanding and devoted effort in favour of the ideas of peace and arbitration\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1903","category":"physics","laureates":[{"id":"4","firstname":"Henri","surname":"Becquerel","motivation":"\"in recognition of the extraordinary services he has rendered by his discovery of spontaneous radioactivity\"","share":"2"},{"id":"5","firstname":"Pierre","surname":"Curie","motivation":"\"in recognition of the extraordinary services they have rendered by their joint researches on the radiation phenomena discovered by Professor <NAME>\"","share":"4"},{"id":"6","firstname":"Marie","surname":"Curie","motivation":"\"in recognition of the extraordinary services they have rendered by their joint researches on the radiation phenomena discovered by Professor <NAME>\"","share":"4"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1903","category":"medicine","laureates":[{"id":"295","firstname":"<NAME>","surname":"Finsen","motivation":"\"in recognition of his contribution to the treatment of diseases, especially lupus vulgaris, with concentrated light radiation, whereby he has opened a new avenue for medical science\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1902","category":"chemistry","laureates":[{"id":"161","firstname":"Emil","surname":"Fischer","motivation":"\"in recognition of the extraordinary services he has rendered by his work on sugar and purine syntheses\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1902","category":"literature","laureates":[{"id":"571","firstname":"Theodor","surname":"Mommsen","motivation":"\"the greatest living master of the art of historical writing, with special reference to his monumental work, <I>A history of Rome</I>\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1902","category":"peace","laureates":[{"id":"464","firstname":"Élie","surname":"Ducommun","motivation":"\"for his untiring and skilful directorship of the Bern Peace Bureau\"","share":"2"},{"id":"465","firstname":"Albert","surname":"Gobat","motivation":"\"for his eminently practical administration of the Inter-Parliamentary Union\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1902","category":"physics","laureates":[{"id":"2","firstname":"<NAME>.","surname":"Lorentz","motivation":"\"in recognition of the extraordinary service they rendered by their researches into the influence of magnetism upon radiation phenomena\"","share":"2"},{"id":"3","firstname":"Pieter","surname":"Zeeman","motivation":"\"in recognition of the extraordinary service they rendered by their researches into the influence of magnetism upon radiation phenomena\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1902","category":"medicine","laureates":[{"id":"294","firstname":"Ronald","surname":"Ross","motivation":"\"for his work on malaria, by which he has shown how it enters the organism and thereby has laid the foundation for successful research on this disease and methods of combating it\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1901","category":"chemistry","laureates":[{"id":"160","firstname":"<NAME>.","surname":"<NAME>","motivation":"\"in recognition of the extraordinary services he has rendered by the discovery of the laws of chemical dynamics and osmotic pressure in solutions\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1901","category":"literature","laureates":[{"id":"569","firstname":"Sully","surname":"Prudhomme","motivation":"\"in special recognition of his poetic composition, which gives evidence of lofty idealism, artistic perfection and a rare combination of the qualities of both heart and intellect\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1901","category":"peace","laureates":[{"id":"462","firstname":"Henry","surname":"Dunant","motivation":"\"for his humanitarian efforts to help wounded soldiers and create international understanding\"","share":"2"},{"id":"463","firstname":"Frédéric","surname":"Passy","motivation":"\"for his lifelong work for international peace conferences, diplomacy and arbitration\"","share":"2"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1901","category":"physics","laureates":[{"id":"1","firstname":"<NAME>","surname":"Röntgen","motivation":"\"in recognition of the extraordinary services he has rendered by the discovery of the remarkable rays subsequently named after him\"","share":"1"}]}');
INSERT INTO nobel_prize (document) values ('{"year":"1901","category":"medicine","laureates":[{"id":"293","firstname":"Emil","surname":"<NAME>","motivation":"\"for his work on serum therapy, especially its application against diphtheria, by which he has opened a new road in the domain of medical science and thereby placed in the hands of the physician a victorious weapon against illness and deaths\"","share":"1"}]}');
|
<gh_stars>1-10
INSERT INTO proxy_endpoint_channels (
proxy_endpoint_id,
remote_endpoint_id,
name,
created_at
)
VALUES (
(SELECT proxy_endpoints.id
FROM proxy_endpoints, apis
WHERE proxy_endpoints.id = ?
AND proxy_endpoints.api_id = ?
AND proxy_endpoints.api_id = apis.id
AND apis.account_id = ?),
(SELECT remote_endpoints.id
FROM remote_endpoints, apis
WHERE remote_endpoints.id = ?
AND remote_endpoints.api_id = ?
AND remote_endpoints.api_id = apis.id
AND apis.account_id = ?),
?,
CURRENT_TIMESTAMP
)
|
select
type || ' ' || name as resource,
case
when (arguments ->> 'virtual_network_rule') is null then 'alarm'
when (arguments -> 'virtual_network_rule' ->> 'id') is not null then 'ok'
else 'alarm'
end status,
name || case
when (arguments ->> 'virtual_network_rule') is null then ' ''virtual_network_rule'' not defined'
when (arguments -> 'virtual_network_rule' ->> 'id') is not null then ' configured with virtual network service endpointle'
else ' not configured with virtual network service endpoint'
end || '.' reason,
path || ':' || start_line
from
terraform_resource
where
type = 'azurerm_cosmosdb_account'; |
--Oracle 12c Pluggable Database Steps
--Connect to the container database as SYS
sqlplus sys/sys@wells-win2012/wcdb as sysdba
--Create Database
create pluggable database gis_admin admin user gisdba identified by gisdba roles=(DBA) file_name_convert =
('C:\app\chri6962\oradata\wcdb\pdbseed\', 'C:\app\chri6962\oradata\wcdb\gis_admin\');
--Open database
alter pluggable database gis_admin open;
--Connect to the pluggable database as SYS or the CDB DBA
alter session set container = gis_admin;
--or
conn gisdba/gisdba@wells-win2012/gis_admin
--Grant PUBLIC privileges
GRANT EXECUTE ON dbms_pipe TO public;
GRANT EXECUTE ON dbms_lock TO public;
GRANT EXECUTE ON dbms_lob TO public;
GRANT EXECUTE ON dbms_utility TO public;
GRANT EXECUTE ON dbms_sql TO public;
GRANT EXECUTE ON utl_raw TO public;
--Create SDE Tablespace
CREATE TABLESPACE SDE DATAFILE 'C:/app/chri6962/oradata/wcdb/lxpdb/SDE.dbf'
SIZE 100M AUTOEXTEND ON NEXT 51200K MAXSIZE UNLIMITED EXTENT MANAGEMENT
LOCAL UNIFORM SIZE 320K LOGGING ONLINE SEGMENT SPACE MANAGEMENT MANUAL;
--Create SDE User
create user sde identified by sde default tablespace sde;
--Grant SDE User Privileges
grant CREATE SESSION to sde;
grant CREATE TABLE to sde;
grant CREATE TRIGGER to sde;
grant CREATE SEQUENCE to sde;
grant CREATE PROCEDURE to sde;
grant EXECUTE ON DBMS_CRYPTO to sde;
grant CREATE INDEXTYPE to sde;
grant CREATE LIBRARY to sde;
grant CREATE OPERATOR to sde;
grant CREATE PUBLIC SYNONYM to sde;
grant CREATE TYPE to sde;
grant CREATE VIEW to sde;
grant DROP PUBLIC SYNONYM to sde;
grant ADMINISTER DATABASE TRIGGER to sde;
grant ALTER ANY INDEX to sde;
grant ALTER ANY TABLE to sde;
grant CREATE ANY INDEX to sde;
grant CREATE ANY TRIGGER to sde;
grant CREATE ANY VIEW to sde;
grant DROP ANY INDEX to sde;
grant DROP ANY VIEW to sde;
--grant SELECT ANY TABLE to sde; Not desirable for Oracle 12c instances (see NIM100572)
grant ALTER SESSION to sde;
grant ANALYZE ANY to sde;
grant SELECT ANY DICTIONARY to sde;
grant CREATE DATABASE LINK to sde;
grant CREATE MATERIALIZED VIEW to sde;
grant RESTRICTED SESSION to sde;
grant UNLIMITED TABLESPACE to sde;
grant ALTER SYSTEM to sde;
grant SELECT_CATALOG_ROLE to sde;
--Create geodatabase in ArcCatalog
1. Open ArcCatalog and run the Create Enterprise or Enable Enterprise Geodatabase tool
2. After the tool completes, close ArcCatalog
--Close database
alter pluggable database gis_admin close;
--Unplug database
alter pluggable database gis_admin unplug into '\\tompsett\d\chris\gis_admin.xml';
--Move the physical files to the machine where the install will occur
--\\tompsett\chris\gis_admin
--Connect to new container as SYS
sqlplus sys/sys@tompsett/wdemo as sysdba
--Create a pluggable database based off the XML
create pluggable database gis_admin using 'D:/chris/gis_admin.xml'
source_file_name_convert = ('C:\app\chri6962\oradata\wcdb\gis\', 'D:\chris\gis_admin\')
move
path_prefix = 'D:\app\oracle\oradata\wdemo\gis2\'
file_name_convert = ('D:\chris\gis_admin\','D:\app\oracle\oradata\wdemo\gis_admin\');
Resources:
Administering a CDB with SQL*Plus
http://docs.oracle.com/database/121/ADMIN/cdb_admin.htm#ADMIN13606
Creating and Removing PDBs with SQL*Plus
http://docs.oracle.com/database/121/ADMIN/cdb_plug.htm#ADMIN13549
Viewing Information About CDBs and PDBs with SQL*Plus
http://docs.oracle.com/database/121/ADMIN/cdb_mon.htm#ADMIN13719
Administering PDBs with SQL*Plus
http://docs.oracle.com/database/121/ADMIN/cdb_pdb_admin.htm#ADMIN13663
|
-- This SQL code was generated by sklearn2sql (development version).
-- Copyright 2018
-- Model : CaretRegressor_svmRadial
-- Dataset : boston
-- Database : db2
-- This SQL code can contain one or more statements, to be executed in the order they appear in this file.
-- Model deployment code
WITH kernel_input_with_scaling AS
(SELECT "ADS"."KEY" AS "KEY", (CAST("ADS"."Feature_0" AS DOUBLE) - 3.3936090099009895) / 8.010536728867239 AS "Feature_0", (CAST("ADS"."Feature_1" AS DOUBLE) - 12.113861386138614) / 24.217647441147463 AS "Feature_1", (CAST("ADS"."Feature_2" AS DOUBLE) - 10.983613861386141) / 6.826200750364282 AS "Feature_2", (CAST("ADS"."Feature_3" AS DOUBLE) - 0.07178217821782178) / 0.2584469594478702 AS "Feature_3", (CAST("ADS"."Feature_4" AS DOUBLE) - 0.5541153465346534) / 0.1181544189262098 AS "Feature_4", (CAST("ADS"."Feature_5" AS DOUBLE) - 6.299148514851484) / 0.7069171793669617 AS "Feature_5", (CAST("ADS"."Feature_6" AS DOUBLE) - 67.85049504950496) / 28.142254283925382 AS "Feature_6", (CAST("ADS"."Feature_7" AS DOUBLE) - 3.8198420792079206) / 2.0959683176629325 AS "Feature_7", (CAST("ADS"."Feature_8" AS DOUBLE) - 9.559405940594061) / 8.73962685484057 AS "Feature_8", (CAST("ADS"."Feature_9" AS DOUBLE) - 405.8019801980198) / 169.99638120813233 AS "Feature_9", (CAST("ADS"."Feature_10" AS DOUBLE) - 18.409158415841585) / 2.169479311043464 AS "Feature_10", (CAST("ADS"."Feature_11" AS DOUBLE) - 358.3797277227722) / 90.75931171894922 AS "Feature_11", (CAST("ADS"."Feature_12" AS DOUBLE) - 12.626584158415842) / 7.176826037708456 AS "Feature_12"
FROM "BOSTON" AS "ADS"),
"SV_data" AS
(SELECT "Values".sv_idx AS sv_idx, "Values".dual_coeff AS dual_coeff, "Values".sv_0 AS sv_0, "Values".sv_1 AS sv_1, "Values".sv_2 AS sv_2, "Values".sv_3 AS sv_3, "Values".sv_4 AS sv_4, "Values".sv_5 AS sv_5, "Values".sv_6 AS sv_6, "Values".sv_7 AS sv_7, "Values".sv_8 AS sv_8, "Values".sv_9 AS sv_9, "Values".sv_10 AS sv_10, "Values".sv_11 AS sv_11, "Values".sv_12 AS sv_12
FROM (SELECT 0 AS sv_idx, -0.02365466157719601 AS dual_coeff, -0.39620803415875466 AS sv_0, -0.500208016306172 AS sv_1, -0.5967615091262514 AS sv_2, -0.2777443324199778 AS sv_3, -0.898107303129517 AS sv_4, -0.9861813168492736 AS sv_5, -0.2078900641888773 AS sv_6, 1.0820096380659079 AS sv_7, -0.7505361555523434 AS sv_8, -1.01650387478809 AS sv_9, -0.23469152863075435 AS sv_10, 0.424422260897173 AS sv_11, 0.4979103328976804 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 1 AS sv_idx, -0.16096405584071918 AS dual_coeff, -0.40766169863910895 AS sv_0, -0.500208016306172 AS sv_1, -0.35504579340957737 AS sv_2, -0.2777443324199778 AS sv_3, -0.28873525717188164 AS sv_4, 0.24734366380103176 AS sv_5, 1.0393447751341693 AS sv_6, -0.6617190095480081 AS sv_7, -0.5216934334065723 AS sv_8, -0.1282496723934782 AS sv_9, 1.1481287567385847 AS sv_10, 0.4061321266006457 AS sv_11, -0.04968549558569187 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 2 AS sv_idx, 0.11483949797087935 AS dual_coeff, -0.3935540297243969 AS sv_0, -0.500208016306172 AS sv_1, -0.5279091537402898 AS sv_2, -0.2777443324199778 AS sv_3, -0.5172497744059951 AS sv_4, -0.30576214747680014 AS sv_5, -0.8581578009299528 AS sv_6, 0.7614895260304942 AS sv_7, -0.5216934334065723 AS sv_8, -0.6988500540641892 AS sv_9, 0.5489066330785392 AS sv_10, 0.424422260897173 AS sv_11, 0.02276993210167539 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 3 AS sv_idx, 1.0 AS dual_coeff, -0.3172782418863449 AS sv_0, -0.500208016306172 AS sv_1, -0.416573430137458 AS sv_2, -0.2777443324199778 AS sv_3, -0.13639224568247268 AS sv_4, -0.472684105867553 AS sv_5, 0.7586281018962188 AS sv_6, 0.09182291505564144 AS sv_7, -0.6361147944794578 AS sv_8, -0.5812004908331148 AS sv_9, 1.1942227662508968 AS sv_10, 0.3762729314539042 AS sv_11, 0.1676807874764102 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 4 AS sv_idx, -0.7549441844310496 AS dual_coeff, -0.3919511408750481 AS sv_0, -0.500208016306172 AS sv_1, -0.5967615091262514 AS sv_2, -0.2777443324199778 AS sv_3, -0.898107303129517 AS sv_4, -1.2733436689960766 AS sv_5, 0.9753840141432436 AS sv_6, 0.9781435642491328 AS sv_7, -0.7505361555523434 AS sv_8, -1.01650387478809 AS sv_9, -0.23469152863075435 AS sv_10, 0.424422260897173 AS sv_11, 2.533629176190828 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 5 AS sv_idx, 1.0 AS dual_coeff, -0.42092547903188976 AS sv_0, 2.906398682403413 AS sv_1, -1.3116540501549605 AS sv_2, -0.2777443324199778 AS sv_3, -1.1774028241934331 AS sv_4, 1.8543211615289528 AS sv_5, -1.8531029718999044 AS sv_6, 1.1689861436093074 AS sv_7, -0.864957516625229 AS sv_8, -0.3400188862094122 AS sv_9, -1.7096998330247155 AS sv_10, 0.40767466804734065 AS sv_11, -1.3260157217708546 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 6 AS sv_idx, -1.0 AS dual_coeff, 5.287097784281432 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.1754503532541023 AS sv_4, -2.5181853925881286 AS sv_5, 1.1423926678417715 AS sv_6, -1.0313333751238265 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -2.976110358342188 AS sv_11, 3.393340693173628 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 7 AS sv_idx, -1.0 AS dual_coeff, -0.41657745577466093 AS sv_0, -0.500208016306172 AS sv_1, -1.1094918151919235 AS sv_2, -0.2777443324199778 AS sv_3, -0.551103776959197 AS sv_4, 1.0013216622948533 AS sv_5, 0.6555802091886164 AS sv_6, -0.18995615336965638 AS sv_7, -0.864957516625229 AS sv_8, -0.7988521828106026 AS sv_9, -0.2807855381430647 AS sv_10, 0.424422260897173 AS sv_11, -0.9929994291308396 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 8 AS sv_idx, -0.24804516966203405 AS dual_coeff, -0.4181765995566048 AS sv_0, 2.803168176381911 AS sv_1, -1.1153515901183884 AS sv_2, -0.2777443324199778 AS sv_3, -1.3212823350445413 AS sv_4, -0.7244816363213997 AS sv_5, -1.3058831278664311 AS sv_6, 1.3319179957380567 AS sv_7, -0.6361147944794578 AS sv_8, -0.4047261459865032 AS sv_9, -1.0643836998523566 AS sv_10, 0.424422260897173 AS sv_11, -0.3325403382882988 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 9 AS sv_idx, -0.02503649572164553 AS dual_coeff, -0.4182290305002751 AS sv_0, 0.36692823427444976 AS sv_1, -0.7828093630415098 AS sv_2, -0.2777443324199778 AS sv_3, -0.9742788088742212 AS sv_4, -0.26049517570981645 AS sv_5, -0.17235630808280766 AS sv_6, 1.4288660260530257 AS sv_7, -0.6361147944794578 AS sv_8, -0.957679093172553 AS sv_9, -0.7417256332661775 AS sv_10, 0.39213907204848314 AS sv_11, -0.44540360064746726 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 10 AS sv_idx, 0.5619921754937093 AS dual_coeff, -0.420236386629366 AS sv_0, -0.500208016306172 AS sv_1, -0.5733224094203923 AS sv_2, -0.2777443324199778 AS sv_3, -0.7203737897252069 AS sv_4, 1.2531191927486995 AS sv_5, -0.23987044468434005 AS sv_6, 0.5473641519883786 AS sv_7, -0.864957516625229 AS sv_8, -0.9635615713341068 AS sv_9, -0.2807855381430647 AS sv_10, 0.37957837741110817 AS sv_11, -1.197825349708589 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 11 AS sv_idx, 0.6991536093225821 AS dual_coeff, 0.12841473985033125 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.25292878367934923 AS sv_4, -0.4189295768942595 AS sv_5, 0.946957009258388 AS sv_6, -0.6104777769898012 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -0.29847876994329714 AS sv_11, 1.211317620896374 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 12 AS sv_idx, -0.8436618173212826 AS dual_coeff, -0.12661686029675276 AS sv_0, -0.500208016306172 AS sv_1, 1.2593221988314816 AS sv_2, -0.2777443324199778 AS sv_3, 2.6819534668715894 AS sv_4, -0.23927628269404325 AS sv_5, 1.1423926678417715 AS sv_6, -1.145409526936371 AS sv_7, -0.5216934334065723 AS sv_8, -0.016482587323957482 AS sv_9, -1.7096998330247155 AS sv_10, -2.04353387228309 AS sv_11, 2.1142237197697207 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 13 AS sv_idx, -1.0 AS dual_coeff, -0.41772469475639895 AS sv_0, -0.500208016306172 AS sv_1, 0.13864024414508413 AS sv_2, -0.2777443324199778 AS sv_3, 0.15983027665804375 AS sv_4, -0.3807355694658669 AS sv_5, 0.460144550605233 AS sv_6, -0.6273196346183368 AS sv_7, -0.9793788776981146 AS sv_8, -0.7812047483259413 AS sv_9, 1.1942227662508968 AS sv_10, 0.424422260897173 AS sv_11, -0.6613765101001967 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 14 AS sv_idx, -1.0 AS dual_coeff, 2.7030012748173076 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.1754503532541023 AS sv_4, -0.44156306277775137 AS sv_5, 1.1423926678417715 AS sv_6, -1.0644445626428167 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.424422260897173 AS sv_11, 1.9707062380043583 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 15 AS sv_idx, 0.9421187988043555 AS dual_coeff, -0.34081349381529524 AS sv_0, 0.3256360318658488 AS sv_1, -1.027454966221416 AS sv_2, -0.2777443324199778 AS sv_3, 0.7861293238922805 AS sv_4, 1.462478937171 AS sv_5, 1.1423926678417715 AS sv_6, -0.9185454107219632 AS sv_7, -0.5216934334065723 AS sv_8, -0.8341470517799248 AS sv_9, -2.493297994734008 AS sv_10, 0.27446519597202784 AS sv_11, -0.6739168725845489 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 16 AS sv_idx, -0.5898085218008913 AS dual_coeff, 0.6739262514888198 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.25292878367934923 AS sv_4, -1.0385212529548482 AS sv_5, 0.09770023832332192 AS sv_6, -0.8379621315871295 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -3.908466481337472 AS sv_11, 0.6316741993974355 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 17 AS sv_idx, -0.15871288639149841 AS dual_coeff, -0.42119013046184456 AS sv_0, 2.803168176381911 AS sv_1, -1.3512075309085978 AS sv_2, -0.2777443324199778 AS sv_3, -1.4313078433424475 AS sv_4, -0.09781699592221853 AS sv_5, -1.2916696254240034 AS sv_6, 2.514044642939818 AS sv_7, -0.9793788776981146 AS sv_8, -0.9694440494956604 AS sv_9, -0.09640950009382007 AS sv_10, -0.18488161054739327 AS sv_11, 0.04227716263288975 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 18 AS sv_idx, -0.50454483251237 AS dual_coeff, 2.6215710258741454 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.234694857722206 AS sv_4, -2.3300445411816026 AS sv_5, 1.1423926678417715 AS sv_6, -1.12246070676831 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.424422260897173 AS sv_11, 2.1811056530195985 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 19 AS sv_idx, -0.23511001065665446 AS dual_coeff, -0.4107501308924492 AS sv_0, 0.5320970439088539 AS sv_1, -0.8575214933539363 AS sv_2, -0.2777443324199778 AS sv_3, -0.8557897999380144 AS sv_4, -0.5264386348408465 AS sv_5, -0.733789654558709 AS sv_6, 1.4848306124503965 AS sv_7, -0.1784293501879156 AS sv_8, -0.7164974885488504 AS sv_9, 0.5950006425908495 AS sv_10, 0.424422260897173 AS sv_11, -0.4746644464442885 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 20 AS sv_idx, 0.049576234012588476 AS dual_coeff, -0.4160581397611649 AS sv_0, -0.500208016306172 AS sv_1, 0.13864024414508413 AS sv_2, -0.2777443324199778 AS sv_3, 0.15983027665804375 AS sv_4, 0.957469283395588 AS sv_5, 0.822588862887144 AS sv_6, -0.788343060953484 AS sv_7, -0.9793788776981146 AS sv_8, -0.7812047483259413 AS sv_9, 1.1942227662508968 AS sv_10, 0.424422260897173 AS sv_11, -0.9734921985996252 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 21 AS sv_idx, -0.37545156561215065 AS dual_coeff, -0.4182739713091353 AS sv_0, 2.803168176381911 AS sv_1, -1.3292333749343548 AS sv_2, -0.2777443324199778 AS sv_3, -1.1943298254700343 AS sv_4, -0.8998911519184609 AS sv_5, -1.632793684042272 AS sv_6, 3.228034442971072 AS sv_7, -0.6361147944794578 AS sv_8, -0.4223735804711643 AS sv_9, 1.6551628613740097 AS sv_10, 0.2690663009085949 AS sv_11, -0.637689158740865 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 22 AS sv_idx, -0.20074791313743345 AS dual_coeff, 0.5158706750831376 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.3447203660201124 AS sv_4, 0.16671187034109153 AS sv_5, 1.0819852824614529 AS sv_6, -0.7799936981064765 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -0.5968503583468938 AS sv_11, 0.9312495254125118 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 23 AS sv_idx, 0.965980916671717 AS dual_coeff, 0.7639963709353635 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.3447203660201124 AS sv_4, 0.6066502522014642 AS sv_5, 0.93274350681596 AS sv_6, -0.6315658820091005 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -3.875081477169714 AS sv_11, 0.8476471088501651 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 24 AS sv_idx, -1.0 AS dual_coeff, 0.8142951228963922 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.1754503532541023 AS sv_4, -0.6325330999197135 AS sv_5, 0.353543282287024 AS sv_6, -1.1066207726814155 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -0.2227840575233301 AS sv_11, 2.4165857930035415 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 25 AS sv_idx, 1.0 AS dual_coeff, -0.4191765325537453 AS sv_0, 0.3256360318658488 AS sv_1, -1.1212113650448534 AS sv_2, -0.2777443324199778 AS sv_3, -0.9412711563848492 AS sv_4, 2.151385663749783 AS sv_5, -0.11905567392370307 AS sv_6, 0.4174003554440996 AS sv_7, -0.5216934334065723 AS sv_8, -1.1165060035345036 AS sv_9, -1.6175118140000926 AS sv_10, 0.31875817179855853 AS sv_11, -1.2354464371616458 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 26 AS sv_idx, -0.6123974367239114 AS dual_coeff, -0.4089787140098745 AS sv_0, 0.01594451380134097 AS sv_1, -0.4561269108910957 AS sv_2, -0.2777443324199778 AS sv_3, -0.2548812546186796 AS sv_4, -0.41044201968794974 AS sv_5, 0.5347654384279796 AS sv_6, 1.148327434393568 AS sv_7, -0.5216934334065723 AS sv_8, -0.5576705781868999 AS sv_9, -1.479229785463159 AS sv_10, 0.424422260897173 AS sv_11, 0.08965186535155299 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 27 AS sv_idx, -1.0 AS dual_coeff, 0.37444569466734934 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.25292878367934923 AS sv_4, -0.1940093109270596 AS sv_5, 1.0500049019659905 AS sv_6, -0.7699744626900673 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -0.6128266804733787 AS sv_11, 1.5986754843019149 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 28 AS sv_idx, 0.5258552715409837 AS dual_coeff, -0.4148884303749968 AS sv_0, -0.500208016306172 AS sv_1, 0.4257692155418607 AS sv_2, -0.2777443324199778 AS sv_3, -0.03483023802286673 AS sv_4, 0.4849952655776963 AS sv_5, 0.6129397018613326 AS sv_6, -0.1902424172386966 AS sv_7, -0.5216934334065723 AS sv_8, -0.7635573138412802 AS sv_9, -0.926101671315424 AS sv_10, 0.3790274697515741 AS sv_11, -0.4091758868037836 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 29 AS sv_idx, -0.004144620416082355 AS dual_coeff, -0.4148771951727817 AS sv_0, -0.500208016306172 AS sv_1, -1.0157354163684866 AS sv_2, -0.2777443324199778 AS sv_3, -0.37337026355488656 AS sv_4, -0.3948814981430502 AS sv_5, -0.733789654558709 AS sv_6, -0.1264055744427182 AS sv_7, -0.5216934334065723 AS sv_8, -0.6459077506102058 AS sv_9, -0.8339136522908 AS sv_10, 0.38398563868738034 AS sv_11, -0.3506541952101408 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 30 AS sv_idx, -0.707776529206044 AS dual_coeff, -0.4192714075946725 AS sv_0, 2.803168176381911 AS sv_1, -0.883890480523028 AS sv_2, -0.2777443324199778 AS sv_3, -1.2112568267466353 AS sv_4, 0.79479110360799 AS sv_5, -1.4195911474058545 AS sv_6, 0.6187392766690838 AS sv_7, -0.6361147944794578 AS sv_8, -0.9459141368494458 AS sv_9, 0.36453059502929297 AS sv_10, 0.424422260897173 AS sv_11, -1.2953615023646607 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 31 AS sv_idx, -0.011309291851308129 AS dual_coeff, 0.18002052033571173 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.2444652830410487 AS sv_4, -0.5575596779306469 AS sv_5, -0.5205871179222906 AS sv_6, -0.318488630568734 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.32878469120207693 AS sv_11, -0.1639421315542327 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 32 AS sv_idx, -0.023584086352861 AS dual_coeff, 1.806756710563842 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.9892533392114926 AS sv_4, -0.10771914599624702 AS sv_5, 1.1423926678417715 AS sv_6, -1.1611540397335853 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.3896048968146266 AS sv_11, 1.275412806927507 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 33 AS sv_idx, 0.002252814278066827 AS dual_coeff, -0.4190754157338097 AS sv_0, 0.5320970439088539 AS sv_1, -0.8970749741075738 AS sv_2, -0.2777443324199778 AS sv_3, -1.0843043171721278 AS sv_4, 0.004033690553493599 AS sv_5, -1.2667959961497544 AS sv_6, 0.7542375080148077 AS sv_7, -0.6361147944794578 AS sv_8, -0.7341449230335115 AS sv_9, 0.2723425760046707 AS sv_10, 0.424422260897173 AS sv_11, -0.8230078487874009 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 34 AS sv_idx, 0.979182092398626 AS dual_coeff, -0.4189393449514273 AS sv_0, 2.803168176381911 AS sv_1, -1.3863661804673868 AS sv_2, -0.2777443324199778 AS sv_3, -1.270501331214738 AS sv_4, 1.3790179579756237 AS sv_5, -1.0500400839027295 AS sv_6, 1.6646997434973614 AS sv_7, -0.864957516625229 AS sv_8, -0.4517859712789329 AS sv_9, -2.6776740327832527 AS sv_10, 0.3726369409009804 AS sv_11, -0.8369415848811251 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 35 AS sv_idx, 0.2274061602173589 AS dual_coeff, -0.4136837670263819 AS sv_0, 1.1514800800378695 AS sv_1, -0.6700086957070618 AS sv_2, -0.2777443324199778 AS sv_3, -0.9065708037678174 AS sv_4, 0.2586604067427776 AS sv_5, -1.2703493717603613 AS sv_6, 0.1528925404508974 AS sv_7, -0.6361147944794578 AS sv_8, -0.892971833395462 AS sv_9, -0.3729735571676869 AS sv_10, 0.424422260897173 AS sv_11, -0.7575192891468956 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 36 AS sv_idx, -0.6126340736116073 AS dual_coeff, -0.094641474792688 AS sv_0, -0.500208016306172 AS sv_1, -0.15874333337300572 AS sv_2, -0.2777443324199778 AS sv_3, -0.0856112418526697 AS sv_4, -1.8759602306440473 AS sv_5, -1.0678069619557644 AS sv_6, -0.6204493017613704 AS sv_7, -0.6361147944794578 AS sv_8, -0.598847925317776 AS sv_9, -0.004221481069197804 AS sv_10, -0.0873709548098816 AS sv_11, 0.001869327961088859 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 37 AS sv_idx, -0.1351591012264506 AS dual_coeff, 0.6364768257944167 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.25292878367934923 AS sv_4, 0.06910496246853302 AS sv_5, 0.6484734579674024 AS sv_6, -0.8431148812298541 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -3.0292178567212615 AS sv_11, 0.698556132647313 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 38 AS sv_idx, 1.0 AS dual_coeff, -0.4219191702500219 AS sv_0, 2.803168176381911 AS sv_1, -1.5416502160187047 AS sv_2, -0.2777443324199778 AS sv_3, -1.1181583197253295 AS sv_4, 2.2291882714742854 AS sv_5, -1.2739027473709683 AS sv_6, 0.8724167752835958 AS sv_7, -0.6361147944794578 AS sv_8, -0.8870893552339083 AS sv_9, -1.8479818615616488 AS sv_10, 0.3950037918780597 AS sv_11, -1.3455229523020689 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 39 AS sv_idx, -0.1367802235033604 AS dual_coeff, -0.410968593157742 AS sv_0, -0.500208016306172 AS sv_1, 0.2704851799905427 AS sv_2, -0.2777443324199778 AS sv_3, -0.9912058101508224 AS sv_4, -0.02850194540402548 AS sv_5, 0.236281887136994 AS sv_6, 0.11085946234681897 AS sv_7, -0.5216934334065723 AS sv_8, -0.045894978131726084 AS sv_9, 0.13406054746773646 AS sv_10, 0.16836038074578596 AS sv_11, -0.09148670386686517 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 40 AS sv_idx, 0.022360246813123052 AS dual_coeff, -0.38749700737467707 AS sv_0, -0.500208016306172 AS sv_1, -0.05766221589148755 AS sv_2, -0.2777443324199778 AS sv_3, -0.551103776959197 AS sv_4, -1.2549539617157397 AS sv_5, -2.062752132925716 AS sv_6, -0.110851904224864 AS sv_7, -0.6361147944794578 AS sv_8, -0.7576748356797266 AS sv_9, 0.08796653795542611 AS sv_10, -0.10411854765971398 AS sv_11, 2.3580641014098997 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 41 AS sv_idx, -0.4884289593903812 AS dual_coeff, -0.31871385105826944 AS sv_0, -0.500208016306172 AS sv_1, -0.416573430137458 AS sv_2, -0.2777443324199778 AS sv_3, -0.13639224568247268 AS sv_4, -0.9904250954524286 AS sv_5, 0.6342599555249747 AS sv_6, 0.3028470971831548 AS sv_7, -0.6361147944794578 AS sv_8, -0.5812004908331148 AS sv_9, 1.1942227662508968 AS sv_10, -0.60555469936753 AS sv_11, 0.5411049147882266 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 42 AS sv_idx, 0.9207083209972544 AS dual_coeff, -0.34690671848326354 AS sv_0, -0.500208016306172 AS sv_1, -0.7007725140710022 AS sv_2, -0.2777443324199778 AS sv_3, -0.3987607654697881 AS sv_4, 0.4510450367524586 AS sv_5, 0.460144550605233 AS sv_6, -0.26133127805036166 AS sv_7, -0.1784293501879156 AS sv_8, -0.5812004908331148 AS sv_9, -0.4651615761923109 AS sv_10, 0.424422260897173 AS sv_11, -0.7003909711626254 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 43 AS sv_idx, -1.0 AS dual_coeff, 0.3093976189095489 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.1754503532541023 AS sv_4, 0.14973675592847324 AS sv_5, 1.0002576434174923 AS sv_6, -1.0224591951835784 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.424422260897173 AS sv_11, 0.9396097670687468 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 44 AS sv_idx, 0.6070132772844927 AS dual_coeff, -0.4084082154085097 AS sv_0, -0.500208016306172 AS sv_1, -1.1856688892359664 AS sv_2, -0.2777443324199778 AS sv_3, -0.9234978050444184 AS sv_4, 0.4609471868264857 AS sv_5, -0.3571318398343702 AS sv_6, -0.15488882941222426 AS sv_7, -0.864957516625229 AS sv_8, -0.7635573138412802 AS sv_9, -0.1885975191184424 AS sv_10, -0.004404261284065946 AS sv_11, -0.832761464053008 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 45 AS sv_idx, -0.6989032491395747 AS dual_coeff, -0.2830058817072009 AS sv_0, -0.500208016306172 AS sv_1, 1.2593221988314816 AS sv_2, 3.5915215399135065 AS sv_3, 2.6819534668715894 AS sv_4, -1.8207911088030364 AS sv_5, 0.715987594568935 AS sv_6, -1.0542344846470475 AS sv_7, -0.5216934334065723 AS sv_8, -0.016482587323957482 AS sv_9, -1.7096998330247155 AS sv_10, -0.16637111318705256 AS sv_11, -0.07058609972627865 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 46 AS sv_idx, 1.0 AS dual_coeff, -0.3473011989165924 AS sv_0, 0.3256360318658488 AS sv_1, -1.027454966221416 AS sv_2, -0.2777443324199778 AS sv_3, 0.7861293238922805 AS sv_4, 3.401885758812708 AS sv_5, 0.6769004628522584 AS sv_6, -0.9632025742922442 AS sv_7, -0.5216934334065723 AS sv_8, -0.8341470517799248 AS sv_9, -2.493297994734008 AS sv_10, 0.345091557924282 AS sv_11, -1.0459476262869924 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 47 AS sv_idx, -0.046647080229994885 AS dual_coeff, -0.409500526734974 AS sv_0, 0.7385580559518592 AS sv_1, -0.8868203679862605 AS sv_2, -0.2777443324199778 AS sv_3, -1.0673773158955269 AS sv_4, 0.8457164468458473 AS sv_5, -0.4814999862056141 AS sv_6, 1.2005228798485763 AS sv_7, -0.4072720723336867 AS sv_8, -0.6223778379639908 AS sv_9, -0.8339136522908 AS sv_10, 0.3621696953698352 AS sv_11, -0.17369574681983962 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 48 AS sv_idx, 0.004472570482299033 AS dual_coeff, -0.4062735269876481 AS sv_0, -0.500208016306172 AS sv_1, -1.0157354163684866 AS sv_2, -0.2777443324199778 AS sv_3, -0.37337026355488656 AS sv_4, -1.0286191028808211 AS sv_5, 0.7337544726219698 AS sv_6, -0.583855237169057 AS sv_7, -0.5216934334065723 AS sv_8, -0.6459077506102058 AS sv_9, -0.8339136522908 AS sv_10, 0.424422260897173 AS sv_11, 0.28751091788244065 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 49 AS sv_idx, 0.06686735401806332 AS dual_coeff, 0.7232238220969059 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.234694857722206 AS sv_4, -1.0795444461186785 AS sv_5, 1.1423926678417715 AS sv_6, -1.0684522568093804 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.424422260897173 AS sv_11, 1.5290068038332927 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 50 AS sv_idx, -0.018841191713363275 AS dual_coeff, -0.4055719510271076 AS sv_0, -0.500208016306172 AS sv_1, -0.14262895232522754 AS sv_2, -0.2777443324199778 AS sv_3, -0.060220739937768226 AS sv_4, -0.8036988369136211 AS sv_5, -0.09418204464945422 AS sv_6, -0.5060391754349457 AS sv_7, -0.4072720723336867 AS sv_8, 0.15410927936110047 AS sv_9, -0.2807855381430647 AS sv_10, 0.3649242336675049 AS sv_11, 0.1370265680702162 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 51 AS sv_idx, 0.1970685979963182 AS dual_coeff, -0.3989232080273945 AS sv_0, -0.500208016306172 AS sv_1, -0.05766221589148755 AS sv_2, -0.2777443324199778 AS sv_3, -0.551103776959197 AS sv_4, -0.1657174535726941 AS sv_5, -0.9043516838678438 AS sv_6, 0.059904493657652234 AS sv_7, -0.6361147944794578 AS sv_8, -0.7576748356797266 AS sv_9, 0.08796653795542611 AS sv_10, 0.38839289996365184 AS sv_11, -0.4398301062099773 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 52 AS sv_idx, 0.7214704737832902 AS dual_coeff, 0.2837214367807285 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.5732348832542256 AS sv_4, -0.11337751746711935 AS sv_5, 1.1423926678417715 AS sv_6, -0.865968280108235 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.41109029553645127 AS sv_11, 0.552251903663206 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 53 AS sv_idx, 1.0 AS dual_coeff, -0.3578635373545517 AS sv_0, -0.500208016306172 AS sv_1, -0.7007725140710022 AS sv_2, -0.2777443324199778 AS sv_3, -0.4241512673846896 AS sv_4, 3.43159220903479 AS sv_5, 0.5383188140385865 AS sv_6, -0.44153438361120656 AS sv_7, -0.1784293501879156 AS sv_8, -0.5812004908331148 AS sv_9, -0.4651615761923109 AS sv_10, 0.26025177835605123 AS sv_11, -1.1142229331462423 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 54 AS sv_idx, 0.6727023142293964 AS dual_coeff, -0.3973802402565261 AS sv_0, 0.3256360318658488 AS sv_1, -1.1212113650448534 AS sv_2, -0.2777443324199778 AS sv_3, -0.9412711563848492 AS sv_4, 0.725476053089797 AS sv_5, -1.2667959961497544 AS sv_6, 0.13399912509424003 AS sv_7, -0.5216934334065723 AS sv_8, -1.1165060035345036 AS sv_9, -1.6175118140000926 AS sv_10, 0.424422260897173 AS sv_11, -1.0835687137400487 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 55 AS sv_idx, -0.5597566661386912 AS dual_coeff, -0.3950220961471649 AS sv_0, -0.500208016306172 AS sv_1, -0.5967615091262514 AS sv_2, -0.2777443324199778 AS sv_3, -0.898107303129517 AS sv_4, -0.3807355694658669 AS sv_5, 0.6271532043037608 AS sv_6, 0.8919781396680141 AS sv_7, -0.7505361555523434 AS sv_8, -1.01650387478809 AS sv_9, -0.23469152863075435 AS sv_10, 0.3785867436239474 AS sv_11, 0.8601874713345171 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 56 AS sv_idx, 0.5943626626946878 AS dual_coeff, -0.4218555041041365 AS sv_0, 3.629012224553932 AS sv_1, -1.4156650550997107 AS sv_2, -0.2777443324199778 AS sv_3, -1.2112568267466353 AS sv_4, 0.7311344245606693 AS sv_5, -0.971865820469376 AS sv_6, 2.149344473782525 AS sv_7, -0.5216934334065723 AS sv_8, -0.8812068770723546 AS sv_9, -1.5253237949754703 AS sv_10, 0.3803496481344557 AS sv_11, -1.2089723385835693 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 57 AS sv_idx, 0.047954252820920855 AS dual_coeff, -0.4107975684129128 AS sv_0, 0.7385580559518592 AS sv_1, -0.8868203679862605 AS sv_2, -0.2777443324199778 AS sv_3, -1.0673773158955269 AS sv_4, 0.08325089114571514 AS sv_5, -0.5312472447541117 AS sv_6, 1.5342111298598415 AS sv_7, -0.4072720723336867 AS sv_8, -0.6223778379639908 AS sv_9, -0.8339136522908 AS sv_10, 0.1583338613422675 AS sv_11, -0.19598972456979877 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 58 AS sv_idx, 0.6344216039626074 AS dual_coeff, -0.4142767360321768 AS sv_0, 0.8624346631776622 AS sv_1, -1.2896798941807173 AS sv_2, -0.2777443324199778 AS sv_3, -0.6949832878103055 AS sv_4, 1.5855485166624865 AS sv_5, 0.14389412126121293 AS sv_6, -0.34382298297879704 AS sv_7, -0.2928507112608012 AS sv_8, -1.0812111345651811 AS sv_9, -0.004221481069197804 AS sv_10, 0.424422260897173 AS sv_11, -0.857842189021712 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 59 AS sv_idx, -0.5630627943143259 AS dual_coeff, -0.3924592216863292 AS sv_0, -0.500208016306172 AS sv_1, 1.597724200834826 AS sv_2, -0.2777443324199778 AS sv_3, 0.591468809211369 AS sv_4, -0.6254601355811223 AS sv_5, 1.078431906850846 AS sv_6, -1.0263714680604619 AS sv_7, -0.6361147944794578 AS sv_8, 0.18352167016886908 AS sv_9, 1.286410785275519 AS sv_10, 0.370874036390472 AS sv_11, 1.211317620896374 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 60 AS sv_idx, 0.20702498793099192 AS dual_coeff, -0.378940776710007 AS sv_0, -0.500208016306172 AS sv_1, -0.7007725140710022 AS sv_2, 3.5915215399135065 AS sv_3, -0.3987607654697881 AS sv_4, 0.9221044617026316 AS sv_5, 0.7337544726219698 AS sv_6, -0.4571357644739009 AS sv_7, -0.1784293501879156 AS sv_8, -0.5812004908331148 AS sv_9, -0.4651615761923109 AS sv_10, 0.3671278643056407 AS sv_11, -0.4063891395850385 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 61 AS sv_idx, 0.6923083866780632 AS dual_coeff, -0.4194499224743117 AS sv_0, 2.596707164338905 AS sv_1, -1.176879226846269 AS sv_2, -0.2777443324199778 AS sv_3, -1.0673773158955269 AS sv_4, 1.0253697410460638 AS sv_5, -1.8495495962892976 AS sv_6, 0.7544283505941678 AS sv_7, -0.7505361555523434 AS sv_8, -0.9047367897185696 AS sv_9, -0.050315490581508124 AS sv_10, 0.4103190248131037 AS sv_11, -1.4834669396299411 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 62 AS sv_idx, 1.0 AS dual_coeff, -0.4134228606638321 AS sv_0, -0.500208016306172 AS sv_1, -1.1856688892359664 AS sv_2, -0.2777443324199778 AS sv_3, -0.9234978050444184 AS sv_4, 2.151385663749783 AS sv_5, -1.099787342451227 AS sv_6, -0.15488882941222426 AS sv_7, -0.864957516625229 AS sv_8, -0.7635573138412802 AS sv_9, -0.1885975191184424 AS sv_10, 0.3872910846445836 AS sv_11, -1.261920535739722 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 63 AS sv_idx, -0.910222011941152 AS dual_coeff, -0.00905794609735849 AS sv_0, -0.500208016306172 AS sv_1, 1.2593221988314816 AS sv_2, 3.5915215399135065 AS sv_3, 2.6819534668715894 AS sv_4, -1.2676852975252044 AS sv_5, 1.1423926678417715 AS sv_6, -1.1919274056554137 AS sv_7, -0.5216934334065723 AS sv_8, -0.016482587323957482 AS sv_9, -1.7096998330247155 AS sv_10, 0.424422260897173 AS sv_11, 1.9776731060512207 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 64 AS sv_idx, -0.5096300719363313 AS dual_coeff, -0.4173726584203271 AS sv_0, 0.9450190679948642 AS sv_1, -0.7212817263136291 AS sv_2, -0.2777443324199778 AS sv_3, -0.9835886595763516 AS sv_4, -0.8390636586065765 AS sv_5, -1.4018242693528193 AS sv_6, 1.3458495040313492 AS sv_7, -0.9793788776981146 AS sv_8, -0.598847925317776 AS sv_9, -0.6956316237538674 AS sv_10, 0.39268997970801667 AS sv_11, -0.02739151783573268 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 65 AS sv_idx, 0.11257288153980137 AS dual_coeff, -0.4200541266823217 AS sv_0, 0.655973651134657 AS sv_1, 0.5942377446777242 AS sv_2, -0.2777443324199778 AS sv_3, -0.762691292916709 AS sv_4, -0.12469426040886528 AS sv_5, -1.384057391299785 AS sv_6, -0.07344675867026963 AS sv_7, -0.6361147944794578 AS sv_8, -0.7988521828106026 AS sv_9, -0.09640950009382007 AS sv_10, 0.4181419135784859 AS sv_11, -0.8940699028653954 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 66 AS sv_idx, 1.0 AS dual_coeff, -0.3775863106651913 AS sv_0, 0.4082204366830508 AS sv_1, -0.7505806009459531 AS sv_2, -0.2777443324199778 AS sv_3, -1.0419868139806254 AS sv_4, 2.7723919326780906 AS sv_5, -2.112499391474214 AS sv_6, 2.42697271610674 AS sv_7, -0.2928507112608012 AS sv_8, -0.4459034931173792 AS sv_9, 0.3184365855169827 AS sv_10, 0.424422260897173 AS sv_11, -1.2661006565678392 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 67 AS sv_idx, 1.0 AS dual_coeff, -0.34998391553438873 AS sv_0, -0.500208016306172 AS sv_1, 1.597724200834826 AS sv_2, -0.2777443324199778 AS sv_3, 0.591468809211369 AS sv_4, 0.10305519129377082 AS sv_5, 1.0677717800190252 AS sv_6, -0.7120537398542542 AS sv_7, -0.6361147944794578 AS sv_8, 0.18352167016886908 AS sv_9, 1.286410785275519 AS sv_10, 0.30168003435300544 AS sv_11, -0.20992346066352352 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 68 AS sv_idx, 0.04031748513047519 AS dual_coeff, -0.4168034081747639 AS sv_0, 0.8624346631776622 AS sv_1, -1.2896798941807173 AS sv_2, -0.2777443324199778 AS sv_3, -0.6949832878103055 AS sv_4, 0.4482158510170211 AS sv_5, -0.3464717130025492 AS sv_6, -0.21462255675195888 AS sv_7, -0.2928507112608012 AS sv_8, -1.0812111345651811 AS sv_9, -0.004221481069197804 AS sv_10, 0.3854179986021686 AS sv_11, -0.5150722811160897 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 69 AS sv_idx, 0.5146394808636447 AS dual_coeff, -0.4190179913669328 AS sv_0, 0.3256360318658488 AS sv_1, -1.1212113650448534 AS sv_2, -0.2777443324199778 AS sv_3, -0.9412711563848492 AS sv_4, 0.946152540453842 AS sv_5, -1.0891272156194058 AS sv_6, 0.6798089020643397 AS sv_7, -0.5216934334065723 AS sv_8, -1.1165060035345036 AS sv_9, -1.6175118140000926 AS sv_10, 0.37296748549670095 AS sv_11, -1.1197964275837324 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 70 AS sv_idx, -0.10302793510219076 AS dual_coeff, 1.0804008873601214 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.5068338028283641 AS sv_4, -0.9211100449342354 AS sv_5, 0.7017740921265069 AS sv_6, -0.8915411857424986 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -0.7363401777408937 AS sv_11, 0.20530187492946625 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 71 AS sv_idx, -0.30312998908280503 AS dual_coeff, -0.421945385721857 AS sv_0, 2.596707164338905 AS sv_1, -1.0230601350265676 AS sv_2, -0.2777443324199778 AS sv_3, -1.2197203273849355 AS sv_4, -0.5816077566818574 AS sv_5, -0.719576152116281 AS sv_6, 1.669804782495246 AS sv_7, -0.7505361555523434 AS sv_8, 0.37176097133858815 AS sv_9, 1.2403167757632088 AS sv_10, 0.424422260897173 AS sv_11, 0.30283802758553774 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 72 AS sv_idx, -0.24992672271649316 AS dual_coeff, -0.4222749516534989 AS sv_0, 1.7708631161668849 AS sv_1, -1.2794252880594037 AS sv_2, -0.2777443324199778 AS sv_3, -1.3974538407892456 AS sv_4, 0.21763721357894883 AS sv_5, -1.2774561229815755 AS sv_6, 1.6638886625350804 AS sv_7, -0.9793788776981146 AS sv_8, -0.6223778379639908 AS sv_9, -1.4331357759508474 AS sv_10, 0.4004026869414926 AS sv_11, -0.612608433772161 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 73 AS sv_idx, -0.5968705162189 AS dual_coeff, -0.08234641850200579 AS sv_0, -0.500208016306172 AS sv_1, 1.2593221988314816 AS sv_2, -0.2777443324199778 AS sv_3, 2.6819534668715894 AS sv_4, -0.9932542811878646 AS sv_5, 0.961170511700816 AS sv_6, -1.0945499795368843 AS sv_7, -0.5216934334065723 AS sv_8, -0.016482587323957482 AS sv_9, -1.7096998330247155 AS sv_10, -0.07194554034293016 AS sv_11, 1.229431477818216 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 74 AS sv_idx, -1.0 AS dual_coeff, 10.683752398473949 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.9892533392114926 AS sv_4, 0.946152540453842 AS sv_5, 0.8545692433826072 AS sv_6, -1.146650003702212 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.424422260897173 AS sv_11, 0.638641067444298 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 75 AS sv_idx, 0.4893552487229306 AS dual_coeff, -0.39218583176576266 AS sv_0, -0.500208016306172 AS sv_1, -0.05766221589148755 AS sv_2, -0.2777443324199778 AS sv_3, -0.551103776959197 AS sv_4, -0.730140007792272 AS sv_5, 0.1723211261460686 AS sv_6, 0.25527958427763103 AS sv_7, -0.6361147944794578 AS sv_8, -0.7576748356797266 AS sv_9, 0.08796653795542611 AS sv_10, 0.3421166565627988 AS sv_11, 0.7570778242409556 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 76 AS sv_idx, -0.5051764276094625 AS dual_coeff, 3.1536202685473866 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.3629542919772557 AS sv_4, -1.618504328719327 AS sv_5, 1.1423926678417715 AS sv_6, -1.0641582987737763 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -1.624182961845834 AS sv_11, 1.0385392933341904 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 77 AS sv_idx, -0.6026995234133486 AS dual_coeff, -0.27291417340647245 AS sv_0, -0.500208016306172 AS sv_1, 1.2593221988314816 AS sv_2, -0.2777443324199778 AS sv_3, 0.4306622970836596 AS sv_4, -0.5999974639621944 AS sv_5, 0.9505103848689948 AS sv_6, -0.6650587546868113 AS sv_7, -0.5216934334065723 AS sv_8, -0.016482587323957482 AS sv_9, -1.7096998330247155 AS sv_10, -0.7281867443797908 AS sv_11, 0.25128320403875704 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 78 AS sv_idx, -0.4023538113743266 AS dual_coeff, 1.9246389489158693 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.3629542919772557 AS sv_4, -2.36399477000684 AS sv_5, 1.1423926678417715 AS sv_6, -1.081095577691992 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -3.6314701101237934 AS sv_11, 3.0296701811274187 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 79 AS sv_idx, 0.008189106730354948 AS dual_coeff, -0.34166986589524323 AS sv_0, 0.3256360318658488 AS sv_1, -1.027454966221416 AS sv_2, -0.2777443324199778 AS sv_3, 0.7861293238922805 AS sv_4, 0.7679138391213434 AS sv_5, 1.1423926678417715 AS sv_6, -0.8631533520626726 AS sv_7, -0.5216934334065723 AS sv_8, -0.8341470517799248 AS sv_9, -2.493297994734008 AS sv_10, 0.3696620395394971 AS sv_11, -0.7979271238186967 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 80 AS sv_idx, -0.01721430309189446 AS dual_coeff, -0.4177958510370944 AS sv_0, -0.500208016306172 AS sv_1, -1.1094918151919235 AS sv_2, -0.2777443324199778 AS sv_3, -0.551103776959197 AS sv_4, 0.16671187034109153 AS sv_5, -0.06220166415399176 AS sv_6, -0.3471150174727603 AS sv_7, -0.864957516625229 AS sv_8, -0.7988521828106026 AS sv_9, -0.2807855381430647 AS sv_10, 0.37241657783716686 AS sv_11, -0.5317927644285588 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 81 AS sv_idx, 1.0 AS dual_coeff, -0.41232305920255774 AS sv_0, 1.3579410920808743 AS sv_1, -1.1050969839970752 AS sv_2, -0.2777443324199778 AS sv_3, -0.9912058101508224 AS sv_4, 0.9221044617026316 AS sv_5, -1.6470071864847005 AS sv_6, 1.269083076483719 AS sv_7, -0.5216934334065723 AS sv_8, -0.045894978131726084 AS sv_9, -1.479229785463159 AS sv_10, 0.21265335657231668 AS sv_11, -1.0487343735057375 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 82 AS sv_idx, -0.3439616337108103 AS dual_coeff, -0.15461623257248744 AS sv_0, -0.500208016306172 AS sv_1, 1.2593221988314816 AS sv_2, -0.2777443324199778 AS sv_3, 2.6819534668715894 AS sv_4, -0.9494019022885996 AS sv_5, 1.1423926678417715 AS sv_6, -1.0988916482173283 AS sv_7, -0.5216934334065723 AS sv_8, -0.016482587323957482 AS sv_9, -1.7096998330247155 AS sv_10, -2.083639949897162 AS sv_11, 0.5606121453194405 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 83 AS sv_idx, 0.07495876778503527 AS dual_coeff, 0.5006257540331007 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.3629542919772557 AS sv_4, -0.9649624238335006 AS sv_5, 1.0677717800190252 AS sv_6, -1.1284245373733155 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -0.4819310205681083 AS sv_11, 1.9191514144575776 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 84 AS sv_idx, 0.39193290688512133 AS dual_coeff, -0.3800255979016612 AS sv_0, -0.500208016306172 AS sv_1, -0.15874333337300572 AS sv_2, -0.2777443324199778 AS sv_3, -0.0856112418526697 AS sv_4, -0.4627819557935245 AS sv_5, 0.3144561505703474 AS sv_6, -0.3422485316990758 AS sv_7, -0.6361147944794578 AS sv_8, -0.598847925317776 AS sv_9, -0.004221481069197804 AS sv_10, 0.41715027979132496 AS sv_11, -0.3701614257413549 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 85 AS sv_idx, -0.6793518911796721 AS dual_coeff, 2.0242702254474314 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.9892533392114926 AS sv_4, 1.4341870798166343 AS sv_5, 1.0677717800190252 AS sv_6, -1.1944560698319358 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.424422260897173 AS sv_11, 0.1133392167108846 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 86 AS sv_idx, -0.08811073833250124 AS dual_coeff, -0.4158896117279389 AS sv_0, 1.1514800800378695 AS sv_1, -1.4259196612210243 AS sv_2, -0.2777443324199778 AS sv_3, -1.0589138152572266 AS sv_4, 0.26997714968452363 AS sv_5, -0.8332841716557042 AS sv_6, 2.372296317120049 AS sv_7, -0.9793788776981146 AS sv_8, -0.41649110230961056 AS sv_9, 0.5950006425908495 AS sv_10, 0.424422260897173 AS sv_11, -0.926117495880962 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 87 AS sv_idx, 0.2291371507042832 AS dual_coeff, -0.4072172839737132 AS sv_0, -0.500208016306172 AS sv_1, -0.14262895232522754 AS sv_2, -0.2777443324199778 AS sv_3, -0.060220739937768226 AS sv_4, -0.17420501077900388 AS sv_5, 0.16521437492485455 AS sv_6, -0.5199229730833983 AS sv_7, -0.4072720723336867 AS sv_8, 0.15410927936110047 AS sv_9, -0.2807855381430647 AS sv_10, 0.3847569094107278 AS sv_11, -0.08173308860125823 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 88 AS sv_idx, 1.0 AS dual_coeff, -0.40559816649894265 AS sv_0, 0.01594451380134097 AS sv_1, -0.4561269108910957 AS sv_2, -0.2777443324199778 AS sv_3, -0.2548812546186796 AS sv_4, -0.17986338224987747 AS sv_5, 1.003811019028099 AS sv_6, 1.0165506333453682 AS sv_7, -0.5216934334065723 AS sv_8, -0.5576705781868999 AS sv_9, -1.479229785463159 AS sv_10, 0.424422260897173 AS sv_11, 0.9089555476625524 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 89 AS sv_idx, -0.06966947633355029 AS dual_coeff, -0.41557128099851215 AS sv_0, 2.3902461522959007 AS sv_1, -1.28089023179102 AS sv_2, -0.2777443324199778 AS sv_3, -1.3043553337679403 AS sv_4, 0.06486118386537812 AS sv_5, -1.696754445033198 AS sv_6, 1.912222568927508 AS sv_7, -0.5216934334065723 AS sv_8, -0.2811941045938749 AS sv_9, -1.663605823512404 AS sv_10, 0.10864199045230384 AS sv_11, -1.0668482304275793 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 90 AS sv_idx, 1.0 AS dual_coeff, -0.3569659695331485 AS sv_0, 0.3256360318658488 AS sv_1, -1.027454966221416 AS sv_2, -0.2777443324199778 AS sv_3, 0.7861293238922805 AS sv_4, 1.7270078034343102 AS sv_5, 0.7657348531174328 AS sv_6, -0.801558909574176 AS sv_7, -0.5216934334065723 AS sv_8, -0.8341470517799248 AS sv_9, -2.493297994734008 AS sv_10, 0.3304374141806786 AS sv_11, -0.7477656738812885 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 91 AS sv_idx, -0.15601210853696415 AS dual_coeff, -0.4123268042699628 AS sv_0, 0.3256360318658488 AS sv_1, -0.5894367904681705 AS sv_2, 3.5915215399135065 AS sv_3, -0.762691292916709 AS sv_4, -0.5363407849148737 AS sv_5, -0.2256569422419122 AS sv_6, 0.046593223747280144 AS sv_7, -0.7505361555523434 AS sv_8, -1.0753286564036275 AS sv_9, 0.08796653795542611 AS sv_10, 0.36316132915699595 AS sv_11, 0.1426000625077061 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 92 AS sv_idx, 1.0 AS dual_coeff, -0.3561695185316809 AS sv_0, 0.3256360318658488 AS sv_1, -1.027454966221416 AS sv_2, -0.2777443324199778 AS sv_3, 0.17675727793464474 AS sv_4, 1.6562781600483985 AS sv_5, -0.5419073715859325 AS sv_6, -0.4522215680553765 AS sv_7, -0.5216934334065723 AS sv_8, -0.8341470517799248 AS sv_9, -2.493297994734008 AS sv_10, 0.3517024498386898 AS sv_11, -1.3190488537239924 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 93 AS sv_idx, -0.2712315783492884 AS dual_coeff, -0.4067229350762505 AS sv_0, 0.01594451380134097 AS sv_1, -0.7198167825820129 AS sv_2, -0.2777443324199778 AS sv_3, -1.2281838280232362 AS sv_4, -0.9974980597910194 AS sv_5, -1.103340718061834 AS sv_6, 1.2777664138446072 AS sv_7, -0.6361147944794578 AS sv_8, -0.3576663206940733 AS sv_9, 0.2262485664923587 AS sv_10, 0.424422260897173 AS sv_11, 0.06457114038284895 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 94 AS sv_idx, -0.1519960412806553 AS dual_coeff, 2.5284936173013706 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.9892533392114926 AS sv_4, 0.11437193423551678 AS sv_5, 1.007364394638707 AS sv_6, -1.1611540397335853 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.424422260897173 AS sv_11, 1.5415471663176445 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 95 AS sv_idx, -0.32934852646043217 AS dual_coeff, -0.2747217926072956 AS sv_0, -0.500208016306172 AS sv_1, 1.597724200834826 AS sv_2, -0.2777443324199778 AS sv_3, 0.591468809211369 AS sv_4, 0.03798391937873139 AS sv_5, 1.0606650287978112 AS sv_6, -0.7389625435440389 AS sv_7, -0.6361147944794578 AS sv_8, 0.18352167016886908 AS sv_9, 1.286410785275519 AS sv_10, 0.424422260897173 AS sv_11, -0.0510788691950643 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 96 AS sv_idx, -0.26457229216476974 AS dual_coeff, -0.4197570180015234 AS sv_0, -0.500208016306172 AS sv_1, -0.9659273294935355 AS sv_2, -0.2777443324199778 AS sv_3, -0.94888830695932 AS sv_4, -0.40336905534935863 AS sv_5, -0.6875957716208184 AS sv_6, 2.000868947040309 AS sv_7, -0.7505361555523434 AS sv_8, -0.3164889735631973 AS sv_9, 0.18015455698004837 AS sv_10, 0.3003578559701239 AS sv_11, -0.292132503616498 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 97 AS sv_idx, -0.1992855356695769 AS dual_coeff, -0.35865624328861445 AS sv_0, -0.500208016306172 AS sv_1, -0.7007725140710022 AS sv_2, 3.5915215399135065 AS sv_3, -0.3987607654697881 AS sv_4, 0.4694347440327955 AS sv_5, 0.3073493993491333 AS sv_6, 0.15656626010358066 AS sv_7, -0.1784293501879156 AS sv_8, -0.5812004908331148 AS sv_9, -0.4651615761923109 AS sv_10, 0.33131886643593284 AS sv_11, -0.43007649094437045 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 98 AS sv_idx, 1.0 AS dual_coeff, -0.42176936755382105 AS sv_0, 3.216090200467922 AS sv_1, -1.4317794361474891 AS sv_2, 3.5915215399135065 AS sv_3, -1.2958918331296398 AS sv_4, 2.297088729124761 AS sv_5, -1.5297457913346704 AS sv_6, 0.9853001609751392 AS sv_7, -0.9793788776981146 AS sv_8, -1.2223906104424704 AS sv_9, -2.21673393766014 AS sv_10, 0.4092172094940356 AS sv_11, -1.3190488537239924 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 99 AS sv_idx, -0.35682980688597105 AS dual_coeff, -0.41678093777033376 AS sv_0, -0.500208016306172 AS sv_1, -0.848731830964239 AS sv_2, -0.2777443324199778 AS sv_3, -0.3310527603633841 AS sv_4, -0.4443922485131875 AS sv_5, -0.7977504155496346 AS sv_6, 0.4734603631311508 AS sv_7, -0.5216934334065723 AS sv_8, -1.0694461782420737 AS sv_9, 0.825470690152406 AS sv_10, 0.424422260897173 AS sv_11, -0.4022090187569213 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 100 AS sv_idx, -0.7190591962854624 AS dual_coeff, -0.22230582920662914 AS sv_0, -0.500208016306172 AS sv_1, -0.416573430137458 AS sv_2, -0.2777443324199778 AS sv_3, -0.13639224568247268 AS sv_4, -0.2873724401964632 AS sv_5, 1.0322380239129556 AS sv_6, -0.028646463165468806 AS sv_7, -0.6361147944794578 AS sv_8, -0.5812004908331148 AS sv_9, 1.1942227662508968 AS sv_10, -1.212765121705868 AS sv_11, 1.074767007177874 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 101 AS sv_idx, -0.593439921513429 AS dual_coeff, 0.4530259473152906 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.3870378692116148 AS sv_4, -0.41468579829110463 AS sv_5, 0.9753840141432436 AS sv_6, -0.928087539689972 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -0.4230940825298804 AS sv_11, 0.4282416524290579 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 102 AS sv_idx, 0.10203141394408327 AS dual_coeff, -0.4193425638753677 AS sv_0, 2.906398682403413 AS sv_1, -1.3116540501549605 AS sv_2, -0.2777443324199778 AS sv_3, -1.1774028241934331 AS sv_4, -0.1940093109270596 AS sv_5, -1.0464867082921223 AS sv_6, 1.1689861436093074 AS sv_7, -0.864957516625229 AS sv_8, -0.3400188862094122 AS sv_9, -1.7096998330247155 AS sv_10, 0.3899354414103468 AS sv_11, -0.724078322521957 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 103 AS sv_idx, -0.4935677180402776 AS dual_coeff, -0.4058777981985175 AS sv_0, -0.500208016306172 AS sv_1, -0.14262895232522754 AS sv_2, -0.2777443324199778 AS sv_3, -0.060220739937768226 AS sv_4, -0.063866767096982 AS sv_5, 0.5809593213658703 AS sv_6, -0.7458805870458451 AS sv_7, -0.4072720723336867 AS sv_8, 0.15410927936110047 AS sv_9, -0.2807855381430647 AS sv_10, 0.33451413086123 AS sv_11, -0.3032794924914777 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 104 AS sv_idx, -0.6628818077649377 AS dual_coeff, 1.8855903794395228 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.9638628372965908 AS sv_4, -3.0571452751887778 AS sv_5, 1.1423926678417715 AS sv_6, -1.280001256030134 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.424422260897173 AS sv_11, 3.531284680501501 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 105 AS sv_idx, 0.7697070366399174 AS dual_coeff, -0.4159944736152795 AS sv_0, 1.1514800800378695 AS sv_1, -0.6700086957070618 AS sv_2, 3.5915215399135065 AS sv_3, -0.9065708037678174 AS sv_4, 0.7452803532378514 AS sv_5, -1.4302512742376752 AS sv_6, 0.497601949420213 AS sv_7, -0.6361147944794578 AS sv_8, -0.892971833395462 AS sv_9, -0.3729735571676869 AS sv_10, 0.38640963238932957 AS sv_11, -1.1797114927867474 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 106 AS sv_idx, 0.36474379309229366 AS dual_coeff, 0.7409592129712813 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.3447203660201124 AS sv_4, -0.1614736749695405 AS sv_5, 1.096198784903881 AS sv_6, -0.7434473441590029 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.424422260897173 AS sv_11, 0.7668314395065629 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 107 AS sv_idx, -0.2860638481765092 AS dual_coeff, 0.6977498736079567 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, 3.5915215399135065 AS sv_3, 1.8271399024032409 AS sv_4, -0.1232796675411478 AS sv_5, 1.0500049019659905 AS sv_6, -0.8099559830660239 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.21320426423185082 AS sv_11, 0.6929826382098234 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 108 AS sv_idx, 0.059138730236702484 AS dual_coeff, -0.354012359706389 AS sv_0, -0.500208016306172 AS sv_1, 1.597724200834826 AS sv_2, -0.2777443324199778 AS sv_3, 0.591468809211369 AS sv_4, 0.050715255188196036 AS sv_5, 1.078431906850846 AS sv_6, -0.815442707222629 AS sv_7, -0.6361147944794578 AS sv_8, 0.18352167016886908 AS sv_9, 1.286410785275519 AS sv_10, 0.3998517792819585 AS sv_11, 0.6038067272099866 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 109 AS sv_idx, 0.30741062390584784 AS dual_coeff, -0.4200241661430815 AS sv_0, 1.1514800800378695 AS sv_1, -1.4259196612210243 AS sv_2, -0.2777443324199778 AS sv_3, -1.0589138152572266 AS sv_4, 0.9051293472900132 AS sv_5, -1.1850683571057945 AS sv_6, 2.372296317120049 AS sv_7, -0.9793788776981146 AS sv_8, -0.41649110230961056 AS sv_9, 0.5950006425908495 AS sv_10, 0.3467442809028843 AS sv_11, -0.938657858365314 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 110 AS sv_idx, -0.30939834522292387 AS dual_coeff, -0.344003042888571 AS sv_0, -0.500208016306172 AS sv_1, -0.416573430137458 AS sv_2, -0.2777443324199778 AS sv_3, -0.13639224568247268 AS sv_4, -0.2873724401964632 AS sv_5, 0.591619448197691 AS sv_6, 0.3063299742564779 AS sv_7, -0.6361147944794578 AS sv_8, -0.5812004908331148 AS sv_9, 1.1942227662508968 AS sv_10, 0.238435835038506 AS sv_11, -0.329753591069554 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 111 AS sv_idx, 0.5770952783523821 AS dual_coeff, 1.3787704075181024 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.3629542919772557 AS sv_4, 0.7820597677985267 AS sv_5, 1.1423926678417715 AS sv_6, -1.1232717877305907 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -1.9724667842032075 AS sv_11, 0.9967380850530174 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 112 AS sv_idx, -0.756267611598898 AS dual_coeff, 1.050952173998644 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.3870378692116148 AS sv_4, 0.7424511675024154 AS sv_5, 0.3073493993491333 AS sv_6, -0.9665423194310474 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -3.414853218395039 AS sv_11, 1.4091766734272615 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 113 AS sv_idx, -0.3393257633173865 AS dual_coeff, -0.4092820644696811 AS sv_0, -0.500208016306172 AS sv_1, -1.1856688892359664 AS sv_2, -0.2777443324199778 AS sv_3, -0.9234978050444184 AS sv_4, -0.19259471805934086 AS sv_5, 0.06216648221725221 AS sv_6, -0.15488882941222426 AS sv_7, -0.864957516625229 AS sv_8, -0.7635573138412802 AS sv_9, -0.1885975191184424 AS sv_10, 0.36856022422042883 AS sv_11, -0.17926924125732951 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 114 AS sv_idx, 0.8998499781321004 AS dual_coeff, -0.4167584673659037 AS sv_0, 0.8624346631776622 AS sv_1, -1.2896798941807173 AS sv_2, -0.2777443324199778 AS sv_3, -0.6949832878103055 AS sv_4, 1.3252634290023297 AS sv_5, -0.9505455668057342 AS sv_6, 0.0964508476051259 AS sv_7, -0.2928507112608012 AS sv_8, -1.0812111345651811 AS sv_9, -0.004221481069197804 AS sv_10, 0.3889438076231859 AS sv_11, -0.7937470029905793 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 115 AS sv_idx, -0.6712910963169993 AS dual_coeff, 0.01765187463524753 AS sv_0, -0.500208016306172 AS sv_1, 1.2593221988314816 AS sv_2, 3.5915215399135065 AS sv_3, 2.6819534668715894 AS sv_4, -0.20815523960424168 AS sv_5, 0.5241053115961584 AS sv_6, -0.9896819821784684 AS sv_7, -0.5216934334065723 AS sv_8, -0.016482587323957482 AS sv_9, -1.7096998330247155 AS sv_10, -2.9789750781717648 AS sv_11, 0.33349224699173147 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 116 AS sv_idx, -1.0 AS dual_coeff, 1.283870399474884 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.5732348832542256 AS sv_4, -0.5151218918991005 AS sv_5, 0.7124342189583281 AS sv_6, -0.9538512879035956 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -3.1889810779861123 AS sv_11, 2.9809021047993842 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 117 AS sv_idx, -0.08977827585418585 AS dual_coeff, 1.2085945446339723 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.21907478112614726 AS sv_4, -0.8291615085325491 AS sv_5, -0.39621897155104663 AS sv_6, -0.4752658095131175 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.424422260897173 AS sv_11, 0.29726453314804785 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 118 AS sv_idx, 0.6169344746865915 AS dual_coeff, -0.4179918428979571 AS sv_0, -0.500208016306172 AS sv_1, 0.13864024414508413 AS sv_2, -0.2777443324199778 AS sv_3, 0.15983027665804375 AS sv_4, -0.25342221137122534 AS sv_5, 0.3144561505703474 AS sv_6, -0.7310902871454317 AS sv_7, -0.9793788776981146 AS sv_8, -0.7812047483259413 AS sv_9, 1.1942227662508968 AS sv_10, 0.424422260897173 AS sv_11, -0.4941716769755028 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 119 AS sv_idx, 0.4611271559758102 AS dual_coeff, -0.40749941238489135 AS sv_0, -0.500208016306172 AS sv_1, 0.4301640467367092 AS sv_2, -0.2777443324199778 AS sv_3, -0.9912058101508224 AS sv_4, 0.5359206088155524 AS sv_5, -1.3058831278664311 AS sv_6, 1.0212739871845322 AS sv_7, -0.6361147944794578 AS sv_8, -0.6870850977410818 AS sv_9, -1.1104777093646685 AS sv_10, 0.424422260897173 AS sv_11, -0.885709661209161 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 120 AS sv_idx, 1.0 AS dual_coeff, -0.35144574017814834 AS sv_0, 0.3256360318658488 AS sv_1, -1.027454966221416 AS sv_2, -0.2777443324199778 AS sv_3, 0.17675727793464474 AS sv_4, 2.826146461651384 AS sv_5, -0.030221283658528823 AS sv_6, -0.667110312414933 AS sv_7, -0.5216934334065723 AS sv_8, -0.8341470517799248 AS sv_9, -2.493297994734008 AS sv_10, 0.28823788746037693 AS sv_11, -0.7226849489125844 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 121 AS sv_idx, -1.0 AS dual_coeff, -0.3955688759882979 AS sv_0, 0.01594451380134097 AS sv_1, -0.4561269108910957 AS sv_2, -0.2777443324199778 AS sv_3, -0.2548812546186796 AS sv_4, 0.11012815563236185 AS sv_5, 0.939850258037174 AS sv_6, 1.205580208201621 AS sv_7, -0.5216934334065723 AS sv_8, -0.5576705781868999 AS sv_9, -1.479229785463159 AS sv_10, 0.37616274992199755 AS sv_11, 1.090094116880971 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 122 AS sv_idx, -0.04635613025011066 AS dual_coeff, 0.2556047190596365 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.3447203660201124 AS sv_4, 0.5033849728580333 AS sv_5, 1.078431906850846 AS sv_6, -0.698790180588722 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -0.03404309336699331 AS sv_11, 0.7110964951316652 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 123 AS sv_idx, -0.4173038419405338 AS dual_coeff, -0.3873284793414512 AS sv_0, -0.500208016306172 AS sv_1, 1.597724200834826 AS sv_2, -0.2777443324199778 AS sv_3, 0.591468809211369 AS sv_4, -0.17703419651444002 AS sv_5, 0.914976628762925 AS sv_6, -1.0534234036847665 AS sv_7, -0.6361147944794578 AS sv_8, 0.18352167016886908 AS sv_9, 1.286410785275519 AS sv_10, 0.3272421497553814 AS sv_11, 1.6070357259581496 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 124 AS sv_idx, 0.8642798741072282 AS dual_coeff, -0.4154189815907081 AS sv_0, -0.500208016306172 AS sv_1, -1.2486614696954632 AS sv_2, -0.2777443324199778 AS sv_3, -0.5595672775974975 AS sv_4, 2.0735830560252797 AS sv_5, 0.5489789408704073 AS sv_6, -0.5147225127958336 AS sv_7, -0.7505361555523434 AS sv_8, -1.251803001250239 AS sv_9, -0.2807855381430647 AS sv_10, 0.409657935621663 AS sv_11, -0.7059644656001152 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 125 AS sv_idx, -0.11036801895429177 AS dual_coeff, 0.03552957807101356 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.8271399024032409 AS sv_4, -1.3256836051016514 AS sv_5, 1.007364394638707 AS sv_6, -0.8188301630062719 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.24691981299532956 AS sv_11, -0.3395072063351612 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 126 AS sv_idx, -0.28465429349747084 AS dual_coeff, 0.6060119508103767 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.3447203660201124 AS sv_4, 1.547354509234094 AS sv_5, 1.1175190385675227 AS sv_6, -0.6522723018696794 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.19271049929718706 AS sv_11, 0.5731525078037925 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 127 AS sv_idx, 0.6013461936309477 AS dual_coeff, -0.4133804165665752 AS sv_0, 0.4082204366830508 AS sv_1, -0.7505806009459531 AS sv_2, -0.2777443324199778 AS sv_3, -1.0419868139806254 AS sv_4, 0.930592018908941 AS sv_5, -2.169353401243925 AS sv_6, 2.42697271610674 AS sv_7, -0.2928507112608012 AS sv_8, -0.4459034931173792 AS sv_9, 0.3184365855169827 AS sv_10, 0.30531602490592946 AS sv_11, -1.267494030177212 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 128 AS sv_idx, 0.6995644720902785 AS dual_coeff, 0.04760866880800622 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.8538373289986845 AS sv_4, -0.4910738131478899 AS sv_5, 0.598726199418905 AS sv_6, -0.4524601212795766 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -3.7061731887566 AS sv_11, 0.6302808257880628 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 129 AS sv_idx, -1.0 AS dual_coeff, 1.3535411367662813 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.1754503532541023 AS sv_4, 0.062031998129941965 AS sv_5, 1.1423926678417715 AS sv_6, -1.071458027434303 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.424422260897173 AS sv_11, 1.0719802599591295 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 130 AS sv_idx, 0.005631664658314462 AS dual_coeff, -0.421077778439694 AS sv_0, 3.0096291884249164 AS sv_1, -1.5006317915334508 AS sv_2, -0.2777443324199778 AS sv_3, -1.2197203273849355 AS sv_4, 0.11861571283867164 AS sv_5, -1.1424278497785103 AS sv_6, 2.5609919174624216 AS sv_7, -0.864957516625229 AS sv_8, -0.5459056218637924 AS sv_9, -0.5112555857046212 AS sv_10, 0.424422260897173 AS sv_11, -0.9553783416777832 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 131 AS sv_idx, -0.32469050318596204 AS dual_coeff, -0.41460006018481027 AS sv_0, 1.97732412820989 AS sv_1, -1.3614621370299111 AS sv_2, -0.2777443324199778 AS sv_3, -1.2112568267466353 AS sv_4, -0.5872661281527297 AS sv_5, -1.7536084548029094 AS sv_6, 3.287481906441766 AS sv_7, -0.6361147944794578 AS sv_8, 0.0305772379684723 AS sv_9, -0.050315490581508124 AS sv_10, 0.3740693008157686 AS sv_11, -0.6739168725845489 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 132 AS sv_idx, 0.26828211136884444 AS dual_coeff, -0.4201939425321091 AS sv_0, 2.596707164338905 AS sv_1, -1.176879226846269 AS sv_2, -0.2777443324199778 AS sv_3, -1.0673773158955269 AS sv_4, 0.41850940079493826 AS sv_5, -1.6363470596528795 AS sv_6, 0.7544283505941678 AS sv_7, -0.7505361555523434 AS sv_8, -0.9047367897185696 AS sv_9, -0.050315490581508124 AS sv_10, 0.4104292063450105 AS sv_11, -1.1574175150367885 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 133 AS sv_idx, 0.6646562090365327 AS dual_coeff, -0.3677280448993757 AS sv_0, -0.500208016306172 AS sv_1, -0.7007725140710022 AS sv_2, 3.5915215399135065 AS sv_3, -0.3987607654697881 AS sv_4, 0.603821066466028 AS sv_5, -0.047988161711563684 AS sv_6, -0.08012624894787587 AS sv_7, -0.1784293501879156 AS sv_8, -0.5812004908331148 AS sv_9, -0.4651615761923109 AS sv_10, 0.020056038799241838 AS sv_11, -0.637689158740865 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 134 AS sv_idx, -1.0 AS dual_coeff, -0.40075204927684627 AS sv_0, -0.500208016306172 AS sv_1, 2.4547162838303063 AS sv_2, -0.2777443324199778 AS sv_3, 0.4645162996368616 AS sv_4, -1.2521247759803036 AS sv_5, 1.0819852824614529 AS sv_6, -0.984958628339304 AS sv_7, -0.6361147944794578 AS sv_8, 1.7953206864345888 AS sv_9, 0.7793766806400957 AS sv_10, -0.15788713523022904 AS sv_11, 1.580561627380073 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 135 AS sv_idx, 1.0 AS dual_coeff, 0.6084038005263833 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, 3.5915215399135065 AS sv_3, 0.9638628372965908 AS sv_4, -0.5999974639621944 AS sv_5, 0.7728416043386463 AS sv_6, -1.2835318437482974 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -0.1156876085099274 AS sv_11, -0.5220391491629517 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 136 AS sv_idx, 0.06295482999882797 AS dual_coeff, -0.4196022218821159 AS sv_0, -0.500208016306172 AS sv_1, -1.2896798941807173 AS sv_2, -0.2777443324199778 AS sv_3, -0.813472296746512 AS sv_4, 0.9885903264853898 AS sv_5, -0.7835369131072065 AS sv_6, 1.0698434236316967 AS sv_7, -0.7505361555523434 AS sv_8, -1.0812111345651811 AS sv_9, 0.13406054746773646 AS sv_10, 0.3994110531543312 AS sv_11, -1.3497030731301864 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 137 AS sv_idx, -0.22748789715695045 AS dual_coeff, -0.402243834459846 AS sv_0, -0.500208016306172 AS sv_1, -0.5967615091262514 AS sv_2, -0.2777443324199778 AS sv_3, -0.898107303129517 AS sv_4, -0.8730138874318141 AS sv_5, -1.2099419863800431 AS sv_6, 0.6109624415601566 AS sv_7, -0.7505361555523434 AS sv_8, -1.01650387478809 AS sv_9, -0.23469152863075435 AS sv_10, 0.424422260897173 AS sv_11, -0.33672045911641607 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 138 AS sv_idx, 1.0 AS dual_coeff, -0.4150232528015776 AS sv_0, -0.500208016306172 AS sv_1, -1.2896798941807173 AS sv_2, -0.2777443324199778 AS sv_3, -0.813472296746512 AS sv_4, 1.1993646637754074 AS sv_5, -0.4850533618162209 AS sv_6, 1.0698434236316967 AS sv_7, -0.7505361555523434 AS sv_8, -1.0812111345651811 AS sv_9, 0.13406054746773646 AS sv_10, 0.424422260897173 AS sv_11, -1.0166867804901711 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 139 AS sv_idx, -1.0 AS dual_coeff, 2.39727893898747 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.234694857722206 AS sv_4, -1.8377662232156544 AS sv_5, 0.7692882287280397 AS sv_6, -1.0980328566102078 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.424422260897173 AS sv_11, 2.698047262096776 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 140 AS sv_idx, -0.093605045754322 AS dual_coeff, -0.4189767956254775 AS sv_0, -0.500208016306172 AS sv_1, -0.848731830964239 AS sv_2, -0.2777443324199778 AS sv_3, -0.3310527603633841 AS sv_4, 0.015350433495239532 AS sv_5, -1.0429333326815151 AS sv_6, 1.2588729984879499 AS sv_7, -0.5216934334065723 AS sv_8, -1.0694461782420737 AS sv_9, 0.825470690152406 AS sv_10, 0.3417861119670781 AS sv_11, -0.8188277279592835 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 141 AS sv_idx, -1.0 AS dual_coeff, 8.055289323818345 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.1754503532541023 AS sv_4, -0.8715992945640968 AS sv_5, 1.1423926678417715 AS sv_6, -1.1424037563114482 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.2929756933323692 AS sv_11, 1.4426176400522008 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 142 AS sv_idx, 0.3026265260306892 AS dual_coeff, -0.4126214162391577 AS sv_0, 0.01594451380134097 AS sv_1, -0.4561269108910957 AS sv_2, -0.2777443324199778 AS sv_3, -0.2548812546186796 AS sv_4, -0.4061982410847961 AS sv_5, -0.044434786100956906 AS sv_6, 0.8304791184691978 AS sv_7, -0.5216934334065723 AS sv_8, -0.5576705781868999 AS sv_9, -1.479229785463159 AS sv_10, 0.4100986617492903 AS sv_11, -0.02739151783573268 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 143 AS sv_idx, -0.1378912303887658 AS dual_coeff, 0.28688976380537584 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.2444652830410487 AS sv_4, -0.2619097685775352 AS sv_5, 0.4246107944991632 AS sv_6, -0.1306995324783221 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.37792565443250653 AS sv_11, 0.3279187525542418 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 144 AS sv_idx, 0.4195967713977565 AS dual_coeff, -0.4198369127728305 AS sv_0, 1.7708631161668849 AS sv_1, -1.055288897122124 AS sv_2, -0.2777443324199778 AS sv_3, -0.5934212801506995 AS sv_4, 0.813180810888327 AS sv_5, -1.4124843961846403 AS sv_6, 1.2622127436267527 AS sv_7, -0.5216934334065723 AS sv_8, -0.21060436665523033 AS sv_9, -0.3729735571676869 AS sv_10, 0.3260301529044071 AS sv_11, -1.1170096803649872 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 145 AS sv_idx, 1.0 AS dual_coeff, 0.28417209322513265 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, 3.5915215399135065 AS sv_3, 0.6507133136794725 AS sv_4, 0.5429935731541434 AS sv_5, 1.0286846483023486 AS sv_6, -1.1751809693165585 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.18676069657422 AS sv_11, -1.2396265579897627 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 146 AS sv_idx, -0.0714048520744611 AS dual_coeff, -0.40225382130625936 AS sv_0, -0.500208016306172 AS sv_1, -0.14262895232522754 AS sv_2, -0.2777443324199778 AS sv_3, -0.060220739937768226 AS sv_4, -0.5250240419731277 AS sv_5, 0.7230943457901491 AS sv_6, -0.647310394806315 AS sv_7, -0.4072720723336867 AS sv_8, 0.15410927936110047 AS sv_9, -0.2807855381430647 AS sv_10, -0.14841152348624467 AS sv_11, 0.43660189408529276 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 147 AS sv_idx, 0.2492189228380338 AS dual_coeff, -0.41742508936399736 AS sv_0, 0.36692823427444976 AS sv_1, -0.7828093630415098 AS sv_2, -0.2777443324199778 AS sv_3, -0.9742788088742212 AS sv_4, -0.4260025412328505 AS sv_5, -1.6505605620953077 AS sv_6, 1.4288660260530257 AS sv_7, -0.6361147944794578 AS sv_8, -0.957679093172553 AS sv_9, -0.7417256332661775 AS sv_10, 0.424422260897173 AS sv_11, -0.5847409615847121 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 148 AS sv_idx, 0.36066486052065677 AS dual_coeff, -0.4116539404928608 AS sv_0, 1.1514800800378695 AS sv_1, -0.6700086957070618 AS sv_2, -0.2777443324199778 AS sv_3, -0.9065708037678174 AS sv_4, 0.7848889535339629 AS sv_5, -0.8901381814254157 AS sv_6, 0.21348505939775278 AS sv_7, -0.6361147944794578 AS sv_8, -0.892971833395462 AS sv_9, -0.3729735571676869 AS sv_10, 0.424422260897173 AS sv_11, -1.3441295786926963 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 149 AS sv_idx, 1.0 AS dual_coeff, -0.4166498604111581 AS sv_0, -0.500208016306172 AS sv_1, -1.2486614696954632 AS sv_2, -0.2777443324199778 AS sv_3, -0.5595672775974975 AS sv_4, 2.166946185294684 AS sv_5, -0.5063736154798628 AS sv_6, -0.2961123381387536 AS sv_7, -0.7505361555523434 AS sv_8, -1.251803001250239 AS sv_9, -0.2807855381430647 AS sv_10, 0.3773747467729725 AS sv_11, -1.1393036581149467 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 150 AS sv_idx, -1.0 AS dual_coeff, 2.083666994491056 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.234694857722206 AS sv_4, -2.7317889156135813 AS sv_5, 0.8296956141083581 AS sv_6, -1.135676555389002 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -0.7993640139915796 AS sv_11, 2.5085484512221234 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 151 AS sv_idx, -0.14072816752026274 AS dual_coeff, -0.41317318950349746 AS sv_0, -0.500208016306172 AS sv_1, 0.2704851799905427 AS sv_2, -0.2777443324199778 AS sv_3, -0.9912058101508224 AS sv_4, -0.6014120568299132 AS sv_5, -1.1104474692830475 AS sv_6, 0.3257482067063757 AS sv_7, -0.5216934334065723 AS sv_8, -0.045894978131726084 AS sv_9, 0.13406054746773646 AS sv_10, 0.41516701221700253 AS sv_11, -0.4913849297567581 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 152 AS sv_idx, 0.8147360425877223 AS dual_coeff, 0.15645405951171953 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.5068338028283641 AS sv_4, 0.9631276548664616 AS sv_5, -0.008901029994887202 AS sv_6, -0.6140083647079644 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.1795988970002787 AS sv_11, -0.13468128575741112 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 153 AS sv_idx, -0.2336213001196198 AS dual_coeff, 0.8026779238060184 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.9892533392114926 AS sv_4, 0.7000133814708677 AS sv_5, 1.0997521605144875 AS sv_6, -1.1745607309336374 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.424422260897173 AS sv_11, 1.2001706320213943 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 154 AS sv_idx, 1.0 AS dual_coeff, -0.4122793667494992 AS sv_0, -0.500208016306172 AS sv_1, -1.2486614696954632 AS sv_2, -0.2777443324199778 AS sv_3, -0.5595672775974975 AS sv_4, 1.2106814067171536 AS sv_5, 0.8652293702144279 AS sv_6, -0.5339976133112112 AS sv_7, -0.7505361555523434 AS sv_8, -1.251803001250239 AS sv_9, -0.2807855381430647 AS sv_10, 0.3937917950270848 AS sv_11, -1.0877488345681658 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 155 AS sv_idx, -0.0881051349930075 AS dual_coeff, -0.4191690424189352 AS sv_0, 2.803168176381911 AS sv_1, -1.1153515901183884 AS sv_2, -0.2777443324199778 AS sv_3, -1.3212823350445413 AS sv_4, -0.01294142385912467 AS sv_5, -1.7784820840771585 AS sv_6, 1.3319179957380567 AS sv_7, -0.6361147944794578 AS sv_8, -0.4047261459865032 AS sv_9, -1.0643836998523566 AS sv_10, 0.424422260897173 AS sv_11, -1.1086494387087527 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 156 AS sv_idx, -0.26462227190084575 AS dual_coeff, -0.3767324352968465 AS sv_0, -0.500208016306172 AS sv_1, -0.05766221589148755 AS sv_2, 3.5915215399135065 AS sv_3, -0.551103776959197 AS sv_4, -1.2662707046574857 AS sv_5, 0.7373078482325764 AS sv_6, -0.0738761544738301 AS sv_7, -0.6361147944794578 AS sv_8, -0.7576748356797266 AS sv_9, 0.08796653795542611 AS sv_10, 0.4061321266006457 AS sv_11, 1.5819550009894454 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 157 AS sv_idx, 1.0 AS dual_coeff, -0.42200655515613905 AS sv_0, 3.216090200467922 AS sv_1, -1.4303144924158728 AS sv_2, -0.2777443324199778 AS sv_3, -1.2789648318530387 AS sv_4, 1.3436531362826671 AS sv_5, -1.632793684042272 AS sv_6, 2.326732651297807 AS sv_7, -0.5216934334065723 AS sv_8, -1.0576812219189662 AS sv_9, -0.23469152863075435 AS sv_10, 0.4137346523022144 AS sv_11, -1.0891422081775386 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 158 AS sv_idx, 0.1898263577081766 AS dual_coeff, -0.3887428664647472 AS sv_0, -0.500208016306172 AS sv_1, -0.18950715173694616 AS sv_2, -0.2777443324199778 AS sv_3, 0.2613922843176497 AS sv_4, -0.5278532277085639 AS sv_5, -0.8972449326466296 AS sv_6, -0.6861468597061106 AS sv_7, -0.4072720723336867 AS sv_8, -0.08707232526260214 AS sv_9, 0.36453059502929297 AS sv_10, 0.424422260897173 AS sv_11, 0.13423982085147135 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 159 AS sv_idx, -0.1303992857028604 AS dual_coeff, 0.742182601656921 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.0569613443178965 AS sv_4, 0.11437193423551678 AS sv_5, 0.9860441409750644 AS sv_6, -0.883430376119691 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -3.2796604787454022 AS sv_11, 1.5958887370831696 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 160 AS sv_idx, 1.0 AS dual_coeff, 0.23711781799265375 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.234694857722206 AS sv_4, -0.3510291192437838 AS sv_5, 0.5205519359855516 AS sv_6, -0.7881999290189639 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.22036606380579207 AS sv_11, 0.8546139768970276 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 161 AS sv_idx, 0.8007178225831224 AS dual_coeff, 1.068279352525872 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.8876913315518864 AS sv_4, -0.977693759642965 AS sv_5, 1.1423926678417715 AS sv_6, -1.2092940803771894 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -0.2896642473907542 AS sv_11, -0.06919272611690598 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 162 AS sv_idx, -0.05885207743079138 AS dual_coeff, -0.12671298369348166 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.2444652830410487 AS sv_4, -0.6056558354330668 AS sv_5, -0.9221185619208784 AS sv_6, -0.04572687401820425 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.13607719189709544 AS sv_11, 0.09940548061716016 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 163 AS sv_idx, 0.1565820625217669 AS dual_coeff, -0.41693698224554293 AS sv_0, -0.500208016306172 AS sv_1, 0.4301640467367092 AS sv_2, -0.2777443324199778 AS sv_3, -0.9912058101508224 AS sv_4, 0.35343812887990006 AS sv_5, -0.5987613813556442 AS sv_6, 1.0212739871845322 AS sv_7, -0.6361147944794578 AS sv_8, -0.6870850977410818 AS sv_9, -1.1104777093646685 AS sv_10, 0.37979874047492224 AS sv_11, -0.7296518169594468 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 164 AS sv_idx, 1.0 AS dual_coeff, -0.4159919769036762 AS sv_0, 0.3256360318658488 AS sv_1, -1.1212113650448534 AS sv_2, 3.5915215399135065 AS sv_3, -0.9412711563848492 AS sv_4, 1.90383191189909 AS sv_5, -0.6449552642935346 AS sv_6, 0.6641598105568054 AS sv_7, -0.5216934334065723 AS sv_8, -1.1165060035345036 AS sv_9, -1.6175118140000926 AS sv_10, 0.2059322831260021 AS sv_11, -1.3399494578645794 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 165 AS sv_idx, 0.8582758557434227 AS dual_coeff, 0.9085771948177824 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.5732348832542256 AS sv_4, 0.22612477078525736 AS sv_5, 0.9576171360902088 AS sv_6, -0.8740313790862027 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -3.4742410640928 AS sv_11, 1.5819550009894454 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 166 AS sv_idx, 0.0033501237665295148 AS dual_coeff, -0.4076442216578856 AS sv_0, 0.01594451380134097 AS sv_1, -0.7198167825820129 AS sv_2, -0.2777443324199778 AS sv_3, -1.2281838280232362 AS sv_4, -0.5858515352850124 AS sv_5, -1.2383689912648987 AS sv_6, 1.2777664138446072 AS sv_7, -0.6361147944794578 AS sv_8, -0.3576663206940733 AS sv_9, 0.2262485664923587 AS sv_10, 0.424422260897173 AS sv_11, -0.534579511647304 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 167 AS sv_idx, -0.12747548698834146 AS dual_coeff, -0.41828270979974697 AS sv_0, 0.655973651134657 AS sv_1, 0.5942377446777242 AS sv_2, -0.2777443324199778 AS sv_3, -0.762691292916709 AS sv_4, -0.07093973143557304 AS sv_5, 0.335776404233989 AS sv_6, -0.09773147689385184 AS sv_7, -0.6361147944794578 AS sv_8, -0.7988521828106026 AS sv_9, -0.09640950009382007 AS sv_10, 0.424422260897173 AS sv_11, -0.2837722619602632 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 168 AS sv_idx, -0.38557356859174746 AS dual_coeff, -0.4121857400643737 AS sv_0, -0.500208016306172 AS sv_1, -1.0157354163684866 AS sv_2, -0.2777443324199778 AS sv_3, -0.37337026355488656 AS sv_4, 0.16529727747337405 AS sv_5, 0.5774059457552628 AS sv_6, -0.5599044934593549 AS sv_7, -0.5216934334065723 AS sv_8, -0.6459077506102058 AS sv_9, -0.8339136522908 AS sv_10, 0.4089968464302222 AS sv_11, -0.4997451714129928 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 169 AS sv_idx, 1.0 AS dual_coeff, -0.2409637550184411 AS sv_0, -0.500208016306172 AS sv_1, 1.2593221988314816 AS sv_2, -0.2777443324199778 AS sv_3, 0.4306622970836596 AS sv_4, 1.6831554245350453 AS sv_5, 0.8154821116659301 AS sv_6, -0.8821421887090098 AS sv_7, -0.5216934334065723 AS sv_8, -0.016482587323957482 AS sv_9, -1.7096998330247155 AS sv_10, 0.17684435870260887 AS sv_11, -1.5183012798642523 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 170 AS sv_idx, 0.00879819694307198 AS dual_coeff, -0.4188107643038549 AS sv_0, 1.6676326101453824 AS sv_1, -0.8296875624532282 AS sv_2, -0.2777443324199778 AS sv_3, -1.2620378305764377 AS sv_4, -0.1275234461443027 AS sv_5, -1.2987763766452176 AS sv_6, 1.6686120163742444 AS sv_7, -0.4072720723336867 AS sv_8, -0.6635551850948669 AS sv_9, -0.8339136522908 AS sv_10, 0.424422260897173 AS sv_11, -0.7644861571937581 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 171 AS sv_idx, -0.2289850592227833 AS dual_coeff, -0.4213087242630036 AS sv_0, 3.0096291884249164 AS sv_1, -1.0010859790523243 AS sv_2, -0.2777443324199778 AS sv_3, -1.0589138152572266 AS sv_4, 0.30675656424519754 AS sv_5, -1.4266978986270682 AS sv_6, 2.2497753811708163 AS sv_7, -0.6361147944794578 AS sv_8, -0.322371451724751 AS sv_9, -0.23469152863075435 AS sv_10, 0.3751711161348367 AS sv_11, -0.8731692987248088 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 172 AS sv_idx, -0.34086390912403 AS dual_coeff, -0.2697870421232803 AS sv_0, -0.500208016306172 AS sv_1, -0.416573430137458 AS sv_2, -0.2777443324199778 AS sv_3, -0.13639224568247268 AS sv_4, -0.22230116828142374 AS sv_5, 0.8474624921613929 AS sv_6, 0.07493334678226615 AS sv_7, -0.6361147944794578 AS sv_8, -0.5812004908331148 AS sv_9, 1.1942227662508968 AS sv_10, 0.424422260897173 AS sv_11, 0.8490404824595373 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 173 AS sv_idx, -0.2831243667084964 AS dual_coeff, 1.2441352343076166 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.1754503532541023 AS sv_4, -0.5830223495495761 AS sv_5, 0.954063760479602 AS sv_6, -0.9722198861670126 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.424422260897173 AS sv_11, 0.5188109370382674 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 174 AS sv_idx, 0.7005572820326671 AS dual_coeff, -0.42150970954707295 AS sv_0, 3.216090200467922 AS sv_1, -1.3131189938865766 AS sv_2, -0.2777443324199778 AS sv_3, -1.2197203273849355 AS sv_4, 0.6066502522014642 AS sv_5, -1.1282143473360826 AS sv_6, 3.963160058666465 AS sv_7, -0.5216934334065723 AS sv_8, -1.2870978702195615 AS sv_9, -0.6495376142415553 AS sv_10, 0.2873564352051222 AS sv_11, -1.1323367900680843 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 175 AS sv_idx, 1.0 AS dual_coeff, -0.41609434207941337 AS sv_0, -0.500208016306172 AS sv_1, -1.2486614696954632 AS sv_2, -0.2777443324199778 AS sv_3, -0.5595672775974975 AS sv_4, -0.20674064673652423 AS sv_5, 0.033739477332396545 AS sv_6, -0.25770526904251834 AS sv_7, -0.7505361555523434 AS sv_8, -1.251803001250239 AS sv_9, -0.2807855381430647 AS sv_10, 0.3165545411604228 AS sv_11, 0.07293138203908371 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 176 AS sv_idx, 0.9029552742939624 AS dual_coeff, -0.32555983427464685 AS sv_0, 0.3256360318658488 AS sv_1, -1.027454966221416 AS sv_2, -0.2777443324199778 AS sv_3, 0.7861293238922805 AS sv_4, 1.0112238123688817 AS sv_5, 0.5951728238082977 AS sv_6, -0.8048509440681393 AS sv_7, -0.5216934334065723 AS sv_8, -0.8341470517799248 AS sv_9, -2.493297994734008 AS sv_10, 0.28305935546075744 AS sv_11, 0.3014446539761651 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 177 AS sv_idx, -0.9587446460480482 AS dual_coeff, -0.3206213387232265 AS sv_0, 0.3256360318658488 AS sv_1, -1.027454966221416 AS sv_2, -0.2777443324199778 AS sv_3, 0.7861293238922805 AS sv_4, 1.4539913799646904 AS sv_5, 0.946957009258388 AS sv_6, -0.8306624029266028 AS sv_7, -0.5216934334065723 AS sv_8, -0.8341470517799248 AS sv_9, -2.493297994734008 AS sv_10, 0.38607908779360933 AS sv_11, -0.1918096037416816 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 178 AS sv_idx, 1.0 AS dual_coeff, -0.4137986157601358 AS sv_0, 2.803168176381911 AS sv_1, -0.883890480523028 AS sv_2, -0.2777443324199778 AS sv_3, -1.2112568267466353 AS sv_4, 1.200779256643125 AS sv_5, -1.4266978986270682 AS sv_6, 0.6187392766690838 AS sv_7, -0.6361147944794578 AS sv_8, -0.9459141368494458 AS sv_9, 0.36453059502929297 AS sv_10, 0.424422260897173 AS sv_11, -1.2633139093490944 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 179 AS sv_idx, -0.07738143013491561 AS dual_coeff, -0.2368491742961253 AS sv_0, -0.500208016306172 AS sv_1, 1.2593221988314816 AS sv_2, -0.2777443324199778 AS sv_3, 2.6819534668715894 AS sv_4, -1.2662707046574857 AS sv_5, 1.1423926678417715 AS sv_6, -1.0631086645872958 AS sv_7, -0.5216934334065723 AS sv_8, -0.016482587323957482 AS sv_9, -1.7096998330247155 AS sv_10, -0.18488161054739327 AS sv_11, 0.09104523896092541 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 180 AS sv_idx, 0.28415068781184194 AS dual_coeff, -0.4218467656135248 AS sv_0, 1.97732412820989 AS sv_1, -1.1798091143095015 AS sv_2, -0.2777443324199778 AS sv_3, -1.2958918331296398 AS sv_4, 0.4312407366044028 AS sv_5, -1.7429483279710887 AS sv_6, 1.1449399786099255 AS sv_7, -0.9793788776981146 AS sv_8, -0.828264573618371 AS sv_9, -1.294853747413914 AS sv_10, 0.20185556644545075 AS sv_11, -1.149057273380554 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 181 AS sv_idx, 0.027147446530610242 AS dual_coeff, -0.41670104299902666 AS sv_0, 2.3902461522959007 AS sv_1, -1.28089023179102 AS sv_2, -0.2777443324199778 AS sv_3, -1.3043553337679403 AS sv_4, 1.0494178197972739 AS sv_5, -2.0556453817045015 AS sv_6, 1.912222568927508 AS sv_7, -0.5216934334065723 AS sv_8, -0.2811941045938749 AS sv_9, -1.663605823512404 AS sv_10, 0.1454426221091725 AS sv_11, -1.0988958234431456 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 182 AS sv_idx, -0.003055158041879723 AS dual_coeff, -0.4198468996192439 AS sv_0, -0.500208016306172 AS sv_1, -0.848731830964239 AS sv_2, -0.2777443324199778 AS sv_3, -0.3310527603633841 AS sv_4, -0.5717056066078303 AS sv_5, -0.29317107884344457 AS sv_6, 0.8564814199070214 AS sv_7, -0.5216934334065723 AS sv_8, -1.0694461782420737 AS sv_9, 0.825470690152406 AS sv_10, 0.4013943207286535 AS sv_11, -0.2879523827883804 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 183 AS sv_idx, -0.1256107644222179 AS dual_coeff, 0.03496157618125212 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.2444652830410487 AS sv_4, 0.018179619230676958 AS sv_5, -0.5667810008601815 AS sv_6, 0.08199452221859246 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.3331919524783485 AS sv_11, -0.2851656355696356 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 184 AS sv_idx, -0.22809088123938145 AS dual_coeff, -0.32714649449857386 AS sv_0, -0.500208016306172 AS sv_1, -0.416573430137458 AS sv_2, -0.2777443324199778 AS sv_3, -0.13639224568247268 AS sv_4, 0.2770501140231147 AS sv_5, 0.9434036336477812 AS sv_6, 0.30289480782799477 AS sv_7, -0.6361147944794578 AS sv_8, -0.5812004908331148 AS sv_9, 1.1942227662508968 AS sv_10, 0.32569960830868644 AS sv_11, 0.024163305711048057 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 185 AS sv_idx, -0.11844702272541828 AS dual_coeff, -0.37593848100698213 AS sv_0, -0.500208016306172 AS sv_1, -0.7007725140710022 AS sv_2, -0.2777443324199778 AS sv_3, -0.4241512673846896 AS sv_4, 2.462596094647795 AS sv_5, 0.6626869604098304 AS sv_6, -0.2882400817401463 AS sv_7, -0.1784293501879156 AS sv_8, -0.5812004908331148 AS sv_9, -0.4651615761923109 AS sv_10, 0.319529442521906 AS sv_11, -1.32322897455211 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 186 AS sv_idx, 1.0 AS dual_coeff, -0.35871117094388805 AS sv_0, 0.3256360318658488 AS sv_1, -1.027454966221416 AS sv_2, -0.2777443324199778 AS sv_3, 0.7861293238922805 AS sv_4, 2.9690203412909253 AS sv_5, 0.840355740940179 AS sv_6, -0.7306131806970314 AS sv_7, -0.5216934334065723 AS sv_8, -0.8341470517799248 AS sv_9, -2.493297994734008 AS sv_10, 0.3138000028627529 AS sv_11, -0.935871111146569 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 187 AS sv_idx, 0.06264229670854563 AS dual_coeff, 0.30340051763830944 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, -0.18717324951227565 AS sv_4, -0.08084188150960026 AS sv_5, -0.11194892270248903 AS sv_6, -0.1887633872486553 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.424422260897173 AS sv_11, -0.2628716578196764 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 188 AS sv_idx, -0.04368717593518322 AS dual_coeff, -0.41016964544467094 AS sv_0, -0.500208016306172 AS sv_1, -0.35504579340957737 AS sv_2, -0.2777443324199778 AS sv_3, -0.28873525717188164 AS sv_4, -0.14732774629235715 AS sv_5, -0.4779466105950072 AS sv_6, -0.4971649954946976 AS sv_7, -0.5216934334065723 AS sv_8, -0.1282496723934782 AS sv_9, 1.1481287567385847 AS sv_10, 0.38685035851695687 AS sv_11, 0.05203077789849692 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 189 AS sv_idx, -1.0 AS dual_coeff, 0.15919295214059115 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.3447203660201124 AS sv_4, -0.4571235843226522 AS sv_5, 0.7124342189583281 AS sv_6, -0.5912503871192637 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -3.833212495045132 AS sv_11, 0.8894483171313388 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 190 AS sv_idx, 0.005862599227349602 AS dual_coeff, -0.418278964732342 AS sv_0, 1.6676326101453824 AS sv_1, -0.8296875624532282 AS sv_2, -0.2777443324199778 AS sv_3, -1.2620378305764377 AS sv_4, 0.37607161476339196 AS sv_5, -1.5972599279362028 AS sv_6, 1.6686120163742444 AS sv_7, -0.4072720723336867 AS sv_8, -0.6635551850948669 AS sv_9, -0.8339136522908 AS sv_10, 0.1469851635558681 AS sv_11, -0.4342566117724877 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 191 AS sv_idx, -0.7915504526727524 AS dual_coeff, -0.22033093032838166 AS sv_0, -0.500208016306172 AS sv_1, 1.597724200834826 AS sv_2, -0.2777443324199778 AS sv_3, 0.591468809211369 AS sv_4, -1.810888958729008 AS sv_5, 1.1423926678417715 AS sv_6, -1.135724266033842 AS sv_7, -0.6361147944794578 AS sv_8, 0.18352167016886908 AS sv_9, 1.286410785275519 AS sv_10, 0.424422260897173 AS sv_11, 3.0352436755649084 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 192 AS sv_idx, -0.4086479502850493 AS dual_coeff, 0.3808035707652725 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.25292878367934923 AS sv_4, 0.17802861328283745 AS sv_5, 0.2469420139688148 AS sv_6, -0.7726462588011096 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -2.869454635456412 AS sv_11, -0.08312646221063069 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 193 AS sv_idx, -0.43987033369831563 AS dual_coeff, -0.3299840072357777 AS sv_0, -0.500208016306172 AS sv_1, -0.416573430137458 AS sv_2, -0.2777443324199778 AS sv_3, -0.13639224568247268 AS sv_4, -0.5306824134440001 AS sv_5, 0.93274350681596 AS sv_6, 0.2766062425211309 AS sv_7, -0.6361147944794578 AS sv_8, -0.5812004908331148 AS sv_9, 1.1942227662508968 AS sv_10, 0.3961056071971272 AS sv_11, 0.5118440689914049 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 194 AS sv_idx, 0.1502591589901186 AS dual_coeff, -0.2560089391402101 AS sv_0, -0.500208016306172 AS sv_1, 1.2593221988314816 AS sv_2, -0.2777443324199778 AS sv_3, 0.4306622970836596 AS sv_4, -0.3298102262280108 AS sv_5, 1.1423926678417715 AS sv_6, -0.9840521260873432 AS sv_7, -0.5216934334065723 AS sv_8, -0.016482587323957482 AS sv_9, -1.7096998330247155 AS sv_10, -0.049468507833944735 AS sv_11, -0.8634156834592018 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 195 AS sv_idx, 0.4465164541276755 AS dual_coeff, -0.4093719460874016 AS sv_0, -0.500208016306172 AS sv_1, -0.35504579340957737 AS sv_2, -0.2777443324199778 AS sv_3, -0.28873525717188164 AS sv_4, 0.6816236741905308 AS sv_5, 0.1225738675975708 AS sv_6, -0.4598075605849433 AS sv_7, -0.5216934334065723 AS sv_8, -0.1282496723934782 AS sv_9, 1.1481287567385847 AS sv_10, 0.4098782986854764 AS sv_11, -0.6906373558970181 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 196 AS sv_idx, -0.31705531171530216 AS dual_coeff, -0.3956325421341832 AS sv_0, -0.500208016306172 AS sv_1, -0.18950715173694616 AS sv_2, -0.2777443324199778 AS sv_3, 0.2613922843176497 AS sv_4, -0.3849793480690217 AS sv_5, 0.4210574188885565 AS sv_6, -0.6305639584674596 AS sv_7, -0.4072720723336867 AS sv_8, -0.08707232526260214 AS sv_9, 0.36453059502929297 AS sv_10, 0.424422260897173 AS sv_11, 0.2373494679450326 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 197 AS sv_idx, -0.6043092709877885 AS dual_coeff, 1.3132442114882608 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.3447203660201124 AS sv_4, -0.12893803901202014 AS sv_5, 0.9647238873114228 AS sv_6, -0.7622453382259802 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -2.839925984905391 AS sv_11, 0.3543928511323183 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 198 AS sv_idx, 1.0 AS dual_coeff, -0.4217231783891592 AS sv_0, 3.216090200467922 AS sv_1, -1.0596837283169729 AS sv_2, -0.2777443324199778 AS sv_3, -1.3551363375977432 AS sv_4, 1.6336446741649062 AS sv_5, -1.1957284839376148 AS sv_6, 1.2005228798485763 AS sv_7, -0.7505361555523434 AS sv_8, -0.9517966150109992 AS sv_9, -1.1565717188769793 AS sv_10, 0.3080705632035993 AS sv_11, -1.3260157217708546 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 199 AS sv_idx, -0.21857505934673785 AS dual_coeff, -0.4113480933214508 AS sv_0, -0.500208016306172 AS sv_1, 2.148543043922519 AS sv_2, -0.2777443324199778 AS sv_3, 0.2275382817644477 AS sv_4, -0.5943390924913221 AS sv_5, 0.9931508921962786 AS sv_6, -0.8652526204356344 AS sv_7, -0.864957516625229 AS sv_8, -1.2812153920580078 AS sv_9, 0.3184365855169827 AS sv_10, 0.2313842169964714 AS sv_11, 0.6901958909910781 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 200 AS sv_idx, -0.0045715660442362605 AS dual_coeff, -0.4204685808084773 AS sv_0, 1.7708631161668849 AS sv_1, -1.055288897122124 AS sv_2, -0.2777443324199778 AS sv_3, -0.5934212801506995 AS sv_4, 0.5613832804344804 AS sv_5, -0.4068790983828677 AS sv_6, 0.9123505850147124 AS sv_7, -0.5216934334065723 AS sv_8, -0.21060436665523033 AS sv_9, -0.3729735571676869 AS sv_10, 0.424422260897173 AS sv_11, -0.7589126627562682 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 201 AS sv_idx, 0.12857327459643514 AS dual_coeff, -0.4066817393347952 AS sv_0, -0.500208016306172 AS sv_1, -0.05766221589148755 AS sv_2, 3.5915215399135065 AS sv_3, -0.551103776959197 AS sv_4, -0.3326394119634469 AS sv_5, -0.3109379568964794 AS sv_6, 0.2000783681977008 AS sv_7, -0.6361147944794578 AS sv_8, -0.7576748356797266 AS sv_9, 0.08796653795542611 AS sv_10, 0.2527594341863893 AS sv_11, 0.2833307970543234 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 202 AS sv_idx, 0.9668186047622612 AS dual_coeff, -0.4111496047489847 AS sv_0, -0.500208016306172 AS sv_1, -1.2486614696954632 AS sv_2, -0.2777443324199778 AS sv_3, -0.5595672775974975 AS sv_4, 0.3732424290279545 AS sv_5, 0.9860441409750644 AS sv_6, -0.4641492292653873 AS sv_7, -0.7505361555523434 AS sv_8, -1.251803001250239 AS sv_9, -0.2807855381430647 AS sv_10, 0.424422260897173 AS sv_11, -0.9679187041621352 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 203 AS sv_idx, -0.4429759988441199 AS dual_coeff, -0.4133517043831367 AS sv_0, 0.7385580559518592 AS sv_1, -0.8868203679862605 AS sv_2, -0.2777443324199778 AS sv_3, -1.0673773158955269 AS sv_4, 0.25724581387505896 AS sv_5, -1.7536084548029094 AS sv_6, 1.1307699170924324 AS sv_7, -0.4072720723336867 AS sv_8, -0.6223778379639908 AS sv_9, -0.8339136522908 AS sv_10, 0.23171476159219204 AS sv_11, -0.8731692987248088 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 204 AS sv_idx, -1.0 AS dual_coeff, 2.814666701277001 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.0569613443178965 AS sv_4, -1.407729991429309 AS sv_5, 0.7550747262856115 AS sv_6, -1.0364384141217111 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -2.545410750118533 AS sv_11, 1.9525923810825168 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 205 AS sv_idx, -0.4990299571827466 AS dual_coeff, 0.9630429584447968 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.9638628372965908 AS sv_4, -1.9707379527811697 AS sv_5, 1.1423926678417715 AS sv_6, -1.2622528961496382 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.424422260897173 AS sv_11, 3.085405125502318 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 206 AS sv_idx, 0.34781353094974093 AS dual_coeff, -0.4153515703774177 AS sv_0, -0.500208016306172 AS sv_1, -1.0157354163684866 AS sv_2, -0.2777443324199778 AS sv_3, -0.37337026355488656 AS sv_4, 0.7933765107402726 AS sv_5, 0.2327285115263872 AS sv_6, -0.43156285883963763 AS sv_7, -0.5216934334065723 AS sv_8, -0.6459077506102058 AS sv_9, -0.8339136522908 AS sv_10, 0.3623900584336485 AS sv_11, -0.7951403765999518 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 207 AS sv_idx, -1.0 AS dual_coeff, 0.8153312582117808 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.5732348832542256 AS sv_4, -0.06811054570013561 AS sv_5, 1.0215778970811342 AS sv_6, -0.7737913142772708 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.3320901371592803 AS sv_11, 0.5313512995226194 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 208 AS sv_idx, -0.22443537034431066 AS dual_coeff, -0.41595078116222095 AS sv_0, -0.500208016306172 AS sv_1, -0.9659273294935355 AS sv_2, -0.2777443324199778 AS sv_3, -0.94888830695932 AS sv_4, -0.5674618280046753 AS sv_5, -0.5525674984177537 AS sv_6, 2.000868947040309 AS sv_7, -0.7505361555523434 AS sv_8, -0.3164889735631973 AS sv_9, 0.18015455698004837 AS sv_10, 0.06864609437013794 AS sv_11, 0.006049448789206115 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 209 AS sv_idx, -0.8584895104512315 AS dual_coeff, -0.4187346145999528 AS sv_0, -0.500208016306172 AS sv_1, -1.1094918151919235 AS sv_2, -0.2777443324199778 AS sv_3, -0.551103776959197 AS sv_4, 0.14973675592847324 AS sv_5, 0.21496163347335234 AS sv_6, -0.3472104387624404 AS sv_7, -0.864957516625229 AS sv_8, -0.7988521828106026 AS sv_9, -0.2807855381430647 AS sv_10, 0.38751144770839757 AS sv_11, -0.6167885546002785 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 210 AS sv_idx, -0.16701548315420067 AS dual_coeff, -0.33303748552667106 AS sv_0, -0.500208016306172 AS sv_1, -0.416573430137458 AS sv_2, -0.2777443324199778 AS sv_3, -0.13639224568247268 AS sv_4, -0.8093572083844934 AS sv_5, 0.05861310660664544 AS sv_6, -0.011136656509172695 AS sv_7, -0.6361147944794578 AS sv_8, -0.5812004908331148 AS sv_9, 1.1942227662508968 AS sv_10, 0.3588642494126311 AS sv_11, -0.18762948291356432 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 211 AS sv_idx, -0.7632323014724042 AS dual_coeff, 0.5820060687441956 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.25292878367934923 AS sv_4, -1.2337350686999664 AS sv_5, 0.978937389753851 AS sv_6, -0.6631980395380495 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -0.06390228851373468 AS sv_11, 0.7682248131159357 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 212 AS sv_idx, 1.0 AS dual_coeff, -0.3864184279620312 AS sv_0, -0.500208016306172 AS sv_1, -0.7007725140710022 AS sv_2, -0.2777443324199778 AS sv_3, -0.4241512673846896 AS sv_4, 1.9618302194755384 AS sv_5, -1.8069090889620143 AS sv_6, -0.2121893138651166 AS sv_7, -0.1784293501879156 AS sv_8, -0.5812004908331148 AS sv_9, -0.4651615761923109 AS sv_10, 0.210780270529901 AS sv_11, -1.2131524594116865 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 213 AS sv_idx, 1.0 AS dual_coeff, 0.7288763771668834 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.6507133136794725 AS sv_4, -0.1176212960702742 AS sv_5, 1.1423926678417715 AS sv_6, -1.2646861390364799 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.0856140502837837 AS sv_11, -0.4314698645537428 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 214 AS sv_idx, 0.7309687377909686 AS dual_coeff, -0.4138123476739543 AS sv_0, 1.3579410920808743 AS sv_1, -1.1050969839970752 AS sv_2, -0.2777443324199778 AS sv_3, -0.9912058101508224 AS sv_4, 0.6830382670582495 AS sv_5, -0.9505455668057342 AS sv_6, -0.014905797451536047 AS sv_7, -0.5216934334065723 AS sv_8, -0.045894978131726084 AS sv_9, -1.479229785463159 AS sv_10, 0.391037256729415 AS sv_11, -0.8285813432248906 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 215 AS sv_idx, -0.02809969853712416 AS dual_coeff, -0.3642875763099636 AS sv_0, -0.500208016306172 AS sv_1, -0.15874333337300572 AS sv_2, -0.2777443324199778 AS sv_3, -0.0856112418526697 AS sv_4, -0.2633243614452526 AS sv_5, -0.3215980837283005 AS sv_6, 0.08686100799227701 AS sv_7, -0.6361147944794578 AS sv_8, -0.598847925317776 AS sv_9, -0.004221481069197804 AS sv_10, 0.4170400982594183 AS sv_11, 0.014409690445440874 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 216 AS sv_idx, 0.3371331017135796 AS dual_coeff, -0.4165974294674879 AS sv_0, 1.1514800800378695 AS sv_1, -0.6700086957070618 AS sv_2, 3.5915215399135065 AS sv_3, -0.9065708037678174 AS sv_4, 0.6490880382330118 AS sv_5, -1.2419223668755055 AS sv_6, 0.12297796613619025 AS sv_7, -0.6361147944794578 AS sv_8, -0.892971833395462 AS sv_9, -0.3729735571676869 AS sv_10, 0.424422260897173 AS sv_11, -1.267494030177212 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 217 AS sv_idx, -0.5196463430288758 AS dual_coeff, -0.3972728816575822 AS sv_0, 0.01594451380134097 AS sv_1, -0.4561269108910957 AS sv_2, -0.2777443324199778 AS sv_3, -0.2548812546186796 AS sv_4, -0.9451581236854448 AS sv_5, 1.1423926678417715 AS sv_6, 1.0793378419548652 AS sv_7, -0.5216934334065723 AS sv_8, -0.5576705781868999 AS sv_9, -1.479229785463159 AS sv_10, 0.3112658276288965 AS sv_11, 2.411012298566052 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 218 AS sv_idx, 0.3534683952991977 AS dual_coeff, -0.4153241065497809 AS sv_0, -0.500208016306172 AS sv_1, -1.0157354163684866 AS sv_2, -0.2777443324199778 AS sv_3, -0.37337026355488656 AS sv_4, 0.3491943502767452 AS sv_5, -1.2348156156542913 AS sv_6, -0.3280307595367428 AS sv_7, -0.5216934334065723 AS sv_8, -0.6459077506102058 AS sv_9, -0.8339136522908 AS sv_10, 0.35897443094453785 AS sv_11, -1.0166867804901711 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 219 AS sv_idx, -0.7210127384852641 AS dual_coeff, -0.3919898399049 AS sv_0, -0.500208016306172 AS sv_1, -0.15874333337300572 AS sv_2, -0.2777443324199778 AS sv_3, -0.0856112418526697 AS sv_4, -0.840478251474295 AS sv_5, 0.34998990667641716 AS sv_6, 0.05971365107829209 AS sv_7, -0.6361147944794578 AS sv_8, -0.598847925317776 AS sv_9, -0.004221481069197804 AS sv_10, 0.41913354736564734 AS sv_11, -0.15697526350737032 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 220 AS sv_idx, -0.7371032386532077 AS dual_coeff, 5.959924110709394 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.3629542919772557 AS sv_4, -0.7669194223529472 AS sv_5, 1.1423926678417715 AS sv_6, -1.1483198762716131 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -3.920035542187685 AS sv_11, -0.3506541952101408 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 221 AS sv_idx, -0.7073339659481734 AS dual_coeff, 0.03738837985970537 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.3447203660201124 AS sv_4, 0.1087135627646444 AS sv_5, 0.7302010970113632 AS sv_6, -0.5976913241726696 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.36415296294415744 AS sv_11, 0.281937423444951 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 222 AS sv_idx, 0.12681863924864953 AS dual_coeff, 0.2257228262349781 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, 3.5915215399135065 AS sv_3, 1.8271399024032409 AS sv_4, -0.24352006129719814 AS sv_5, 0.5525323164810145 AS sv_6, -0.5234535608015616 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.40822557570687473 AS sv_11, -0.1597620107261152 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 223 AS sv_idx, -0.15035197556841856 AS dual_coeff, 0.08785815656556296 AS sv_0, -0.500208016306172 AS sv_1, 1.2593221988314816 AS sv_2, -0.2777443324199778 AS sv_3, 2.6819534668715894 AS sv_4, -1.175736761123518 AS sv_5, 1.1423926678417715 AS sv_6, -1.148892404009694 AS sv_7, -0.5216934334065723 AS sv_8, -0.016482587323957482 AS sv_9, -1.7096998330247155 AS sv_10, 0.424422260897173 AS sv_11, 1.9219381616763231 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 224 AS sv_idx, -0.15409016298454983 AS dual_coeff, -0.4134078803942121 AS sv_0, -0.500208016306172 AS sv_1, 0.4301640467367092 AS sv_2, -0.2777443324199778 AS sv_3, -0.9912058101508224 AS sv_4, -0.41044201968794974 AS sv_5, -0.9079050594784506 AS sv_6, 0.8029023657516525 AS sv_7, -0.6361147944794578 AS sv_8, -0.6870850977410818 AS sv_9, -1.1104777093646685 AS sv_10, 0.424422260897173 AS sv_11, -0.31024636053833965 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 225 AS sv_idx, 1.0 AS dual_coeff, -0.17269991471552962 AS sv_0, -0.500208016306172 AS sv_1, 1.2593221988314816 AS sv_2, -0.2777443324199778 AS sv_3, 0.4306622970836596 AS sv_4, 2.3055762863310716 AS sv_5, 1.007364394638707 AS sv_6, -0.8463592050789772 AS sv_7, -0.5216934334065723 AS sv_8, -0.016482587323957482 AS sv_9, -1.7096998330247155 AS sv_10, 0.12032123283442397 AS sv_11, -1.2438066788178803 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 226 AS sv_idx, 0.2146900220519443 AS dual_coeff, 0.10831995651079307 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.8271399024032409 AS sv_4, -0.26473895431297134 AS sv_5, 0.4779114286582679 AS sv_6, -0.6253634981798949 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.3565504372425887 AS sv_11, 0.006049448789206115 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 227 AS sv_idx, -0.6670787267610278 AS dual_coeff, -0.4104430353652375 AS sv_0, -0.500208016306172 AS sv_1, 2.4547162838303063 AS sv_2, -0.2777443324199778 AS sv_3, 0.4645162996368616 AS sv_4, -0.4472214342486249 AS sv_5, 1.0997521605144875 AS sv_6, -0.9311887316045748 AS sv_7, -0.6361147944794578 AS sv_8, 1.7953206864345888 AS sv_9, 0.7793766806400957 AS sv_10, 0.3496090007324608 AS sv_11, 0.7584711978503283 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 228 AS sv_idx, -0.7225756832875958 AS dual_coeff, 1.556286602516073 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.0569613443178965 AS sv_4, -0.5702910137401114 AS sv_5, 0.978937389753851 AS sv_6, -0.9113888139959568 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -3.8640633239790345 AS sv_11, 1.639083318973716 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 229 AS sv_idx, -0.2408963147430394 AS dual_coeff, -0.3839117295122708 AS sv_0, -0.500208016306172 AS sv_1, -0.15874333337300572 AS sv_2, -0.2777443324199778 AS sv_3, -0.0856112418526697 AS sv_4, -0.5448283421211834 AS sv_5, 0.5454255652598003 AS sv_6, 0.08528655671255565 AS sv_7, -0.6361147944794578 AS sv_8, -0.598847925317776 AS sv_9, -0.004221481069197804 AS sv_10, 0.3561097111149613 AS sv_11, 0.7946989116940116 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 230 AS sv_idx, -0.6623968564017908 AS dual_coeff, 0.10346135573067984 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, 3.5915215399135065 AS sv_3, 1.8271399024032409 AS sv_4, -0.7018481504379078 AS sv_5, 0.7515213506750048 AS sv_6, -0.9137266355931188 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -0.058833938046021786 AS sv_11, 0.28054404983557857 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 231 AS sv_idx, 0.3010967917783692 AS dual_coeff, -0.13265266059784409 AS sv_0, -0.500208016306172 AS sv_1, 1.2593221988314816 AS sv_2, -0.2777443324199778 AS sv_3, 2.6819534668715894 AS sv_4, -1.5746519498200622 AS sv_5, 0.9220833799841393 AS sv_6, -1.0926892643881223 AS sv_7, -0.5216934334065723 AS sv_8, -0.016482587323957482 AS sv_9, -1.7096998330247155 AS sv_10, -0.015312232942838578 AS sv_11, 2.186679147457088 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 232 AS sv_idx, 0.10349319424778307 AS dual_coeff, -0.3810629815728519 AS sv_0, -0.500208016306172 AS sv_1, -0.5279091537402898 AS sv_2, -0.2777443324199778 AS sv_3, -0.5172497744059951 AS sv_4, 0.16388268460565536 AS sv_5, -0.986079322911804 AS sv_6, 0.42999596568187104 AS sv_7, -0.5216934334065723 AS sv_8, -0.6988500540641892 AS sv_9, 0.5489066330785392 AS sv_10, 0.424422260897173 AS sv_11, -0.9066102653497474 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 233 AS sv_idx, 1.0 AS dual_coeff, -0.3842787461179628 AS sv_0, -0.500208016306172 AS sv_1, -0.7007725140710022 AS sv_2, -0.2777443324199778 AS sv_3, -0.4241512673846896 AS sv_4, 2.7822940827521174 AS sv_5, 0.3713101603400588 AS sv_6, -0.44153438361120656 AS sv_7, -0.1784293501879156 AS sv_8, -0.5812004908331148 AS sv_9, -0.4651615761923109 AS sv_10, 0.2938571455876233 AS sv_11, -1.1824982400054924 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 234 AS sv_idx, -1.0 AS dual_coeff, 0.534097918143372 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.1754503532541023 AS sv_4, -0.7810653510301293 AS sv_5, 1.1033055361250945 AS sv_6, -1.0431656150441573 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.38255327877259204 AS sv_11, 1.0162453155842315 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 235 AS sv_idx, -0.06415108542306336 AS dual_coeff, -0.32497185869205863 AS sv_0, -0.500208016306172 AS sv_1, -0.15874333337300572 AS sv_2, -0.2777443324199778 AS sv_3, -0.0856112418526697 AS sv_4, -0.2505930256357892 AS sv_5, -0.5348006203647188 AS sv_6, -0.5627671321497577 AS sv_7, -0.6361147944794578 AS sv_8, -0.598847925317776 AS sv_9, -0.004221481069197804 AS sv_10, 0.424422260897173 AS sv_11, -0.926117495880962 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 236 AS sv_idx, 0.269175520398169 AS dual_coeff, -0.19890415134845787 AS sv_0, -0.500208016306172 AS sv_1, 1.2593221988314816 AS sv_2, -0.2777443324199778 AS sv_3, 0.4306622970836596 AS sv_4, -0.5971682782267583 AS sv_5, 0.4032905408355216 AS sv_6, -0.6650587546868113 AS sv_7, -0.5216934334065723 AS sv_8, -0.016482587323957482 AS sv_9, -1.7096998330247155 AS sv_10, -1.4408408927529297 AS sv_11, -0.06779935250753356 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 237 AS sv_idx, -0.4905743854148833 AS dual_coeff, 0.4960343013945458 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.0569613443178965 AS sv_4, -0.15015693202779454 AS sv_5, 0.36420340911884475 AS sv_6, -0.8989840463375453 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -2.882896782349041 AS sv_11, 1.2391850930838233 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 238 AS sv_idx, -0.10398873383530614 AS dual_coeff, -0.4214235729967575 AS sv_0, 3.422551212510926 AS sv_1, -1.3936908991254675 AS sv_2, -0.2777443324199778 AS sv_3, -1.2789648318530387 AS sv_4, 1.182389549362788 AS sv_5, -1.9170637328908304 AS sv_6, 1.829015204326472 AS sv_7, -0.7505361555523434 AS sv_8, -0.0223650654855112 AS sv_9, -0.6495376142415553 AS sv_10, 0.2855935306946138 AS sv_11, -1.1393036581149467 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 239 AS sv_idx, 0.386092325546818 AS dual_coeff, -0.2646700316922207 AS sv_0, -0.500208016306172 AS sv_1, 1.2593221988314816 AS sv_2, 3.5915215399135065 AS sv_3, 0.4306622970836596 AS sv_4, -0.06952513856785432 AS sv_5, 0.8794428726568556 AS sv_6, -0.9644430510580853 AS sv_7, -0.5216934334065723 AS sv_8, -0.016482587323957482 AS sv_9, -1.7096998330247155 AS sv_10, -0.21441026109841396 AS sv_11, -0.9929994291308396 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 240 AS sv_idx, -0.3133591293544074 AS dual_coeff, -0.4164838290895355 AS sv_0, -0.500208016306172 AS sv_1, -0.9512778921773734 AS sv_2, -0.2777443324199778 AS sv_3, -0.8896438024912163 AS sv_4, 0.4680201511650768 AS sv_5, -0.4175392252146886 AS sv_6, 0.2947839982051875 AS sv_7, -0.7505361555523434 AS sv_8, -0.934149180526338 AS sv_9, 0.04187252844311416 AS sv_10, 0.3737387562200485 AS sv_11, -0.8494819473654771 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 241 AS sv_idx, -0.017617122162218963 AS dual_coeff, 0.211791175488302 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.3447203660201124 AS sv_4, -0.0030392737850974513 AS sv_5, 0.8510158677719997 AS sv_6, -0.6925877967595164 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.29429787171525007 AS sv_11, 0.6470013091005326 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 242 AS sv_idx, 0.06458764772178567 AS dual_coeff, -0.3937924656825165 AS sv_0, -0.500208016306172 AS sv_1, -0.18950715173694616 AS sv_2, -0.2777443324199778 AS sv_3, 0.2613922843176497 AS sv_4, -0.3962960910107676 AS sv_5, -0.09062866903884742 AS sv_6, -0.6730741430199384 AS sv_7, -0.4072720723336867 AS sv_8, -0.08707232526260214 AS sv_9, 0.36453059502929297 AS sv_10, 0.424422260897173 AS sv_11, 0.040883789023517324 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 243 AS sv_idx, -0.7744481929004099 AS dual_coeff, 1.376585784865174 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.5732348832542256 AS sv_4, 0.2289539565206948 AS sv_5, 0.9043165019311042 AS sv_6, -0.8670179142947159 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -3.645793709271677 AS sv_11, 0.7556844506315835 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 244 AS sv_idx, -0.051491458018428166 AS dual_coeff, 1.5207583964004452 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.21907478112614726 AS sv_4, -0.5278532277085639 AS sv_5, 0.11191374076575 AS sv_6, -0.4348548933336006 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.11415106704764352 AS sv_11, 0.7668314395065629 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 245 AS sv_idx, -0.23652970180252406 AS dual_coeff, -0.4153827792724594 AS sv_0, -0.500208016306172 AS sv_1, -1.1343958586293994 AS sv_2, -0.2777443324199778 AS sv_3, -0.7965452954699109 AS sv_4, -0.6098996140362216 AS sv_5, -1.4942120352286008 AS sv_6, 0.6654479979674865 AS sv_7, -0.6361147944794578 AS sv_8, 0.14234432303799302 AS sv_9, -0.6956316237538674 AS sv_10, 0.2650997657599501 AS sv_11, -0.3701614257413549 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 246 AS sv_idx, 0.5301663781955803 AS dual_coeff, -0.3518264886976588 AS sv_0, -0.500208016306172 AS sv_1, -0.7007725140710022 AS sv_2, -0.2777443324199778 AS sv_3, -0.3987607654697881 AS sv_4, 2.8827301763601128 AS sv_5, 0.1936413798097102 AS sv_6, 0.008854103678805625 AS sv_7, -0.1784293501879156 AS sv_8, -0.5812004908331148 AS sv_9, -0.4651615761923109 AS sv_10, 0.30333275733160775 AS sv_11, -1.415191632770691 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 247 AS sv_idx, 0.44126474733516896 AS dual_coeff, 0.1450915250048874 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.3870378692116148 AS sv_4, -3.8733653598622015 AS sv_5, 0.7124342189583281 AS sv_6, -1.052803165301846 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -0.04054380374949446 AS sv_11, -0.7672729044125028 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 248 AS sv_idx, -0.887607229279143 AS dual_coeff, 1.0216907140074172 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.234694857722206 AS sv_4, -1.7868408799777986 AS sv_5, 1.0357913995235624 AS sv_6, -0.9779928741926576 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.424422260897173 AS sv_11, 1.8188285145827616 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 249 AS sv_idx, 0.04346783675856464 AS dual_coeff, -0.41850866219985 AS sv_0, 0.5320970439088539 AS sv_1, -0.8970749741075738 AS sv_2, -0.2777443324199778 AS sv_3, -1.0843043171721278 AS sv_4, 0.6052356593337467 AS sv_5, -1.2206021132118638 AS sv_6, 0.7542375080148077 AS sv_7, -0.6361147944794578 AS sv_8, -0.7341449230335115 AS sv_9, 0.2723425760046707 AS sv_10, 0.424422260897173 AS sv_11, -1.0222602749276608 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 250 AS sv_idx, 0.34130691652183176 AS dual_coeff, -0.4017906813038385 AS sv_0, -0.500208016306172 AS sv_1, -0.735931163629791 AS sv_2, -0.2777443324199778 AS sv_3, -0.466468770576192 AS sv_4, -0.4712695129998343 AS sv_5, -1.3378635083618942 AS sv_6, 0.013100351069569574 AS sv_7, -0.5216934334065723 AS sv_8, -0.745909879356619 AS sv_9, 0.36453059502929297 AS sv_10, 0.3861892693255161 AS sv_11, -0.3478674479913957 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 251 AS sv_idx, 0.4387758223888649 AS dual_coeff, -0.4120758847538265 AS sv_0, 0.9037268655862633 AS sv_1, -0.7168868951187805 AS sv_2, -0.2777443324199778 AS sv_3, -1.0250598127040242 AS sv_4, 0.2770501140231147 AS sv_5, -1.7571618304135166 AS sv_6, 0.7976541948192474 AS sv_7, -0.2928507112608012 AS sv_8, -0.4517859712789329 AS sv_9, -1.0643836998523566 AS sv_10, 0.27799100499304513 AS sv_11, -0.5512999949597733 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 252 AS sv_idx, 0.7501271146057946 AS dual_coeff, -0.42201903871415575 AS sv_0, 0.9450190679948642 AS sv_1, -1.3863661804673868 AS sv_2, -0.2777443324199778 AS sv_3, -0.94888830695932 AS sv_4, 1.3323363933409214 AS sv_5, -0.6591687667359626 AS sv_6, 1.5353561853360027 AS sv_7, -0.9793788776981146 AS sv_8, -0.7164974885488504 AS sv_9, -1.3409477569262247 AS sv_10, 0.400623050005306 AS sv_11, -0.994392802740212 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 253 AS sv_idx, -0.07979457365551641 AS dual_coeff, -0.4181291620361412 AS sv_0, 2.3902461522959007 AS sv_1, -1.28089023179102 AS sv_2, -0.2777443324199778 AS sv_3, -1.3043553337679403 AS sv_4, 0.8089370322851736 AS sv_5, -0.726682903337495 AS sv_6, 1.912222568927508 AS sv_7, -0.5216934334065723 AS sv_8, -0.2811941045938749 AS sv_9, -1.663605823512404 AS sv_10, 0.35787261562547024 AS sv_11, -0.9135771333966098 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 254 AS sv_idx, -0.6171852889628273 AS dual_coeff, -0.3752880876343103 AS sv_0, -0.500208016306172 AS sv_1, 2.148543043922519 AS sv_2, -0.2777443324199778 AS sv_3, 0.2275382817644477 AS sv_4, -0.9706207953043728 AS sv_5, 0.9860441409750644 AS sv_6, -0.9840998367321832 AS sv_7, -0.864957516625229 AS sv_8, -1.2812153920580078 AS sv_9, 0.3184365855169827 AS sv_10, 0.010029519395724 AS sv_11, 2.0389815448636086 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 255 AS sv_idx, -0.9402209825180862 AS dual_coeff, 1.1745393983643195 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.5732348832542256 AS sv_4, -0.6297039141842772 AS sv_5, 1.0215778970811342 AS sv_6, -0.9180683042735628 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -1.2985965350612598 AS sv_11, 1.555480902411369 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 256 AS sv_idx, 0.07022730615248947 AS dual_coeff, -0.40597891501845307 AS sv_0, -0.500208016306172 AS sv_1, -0.5967615091262514 AS sv_2, -0.2777443324199778 AS sv_3, -0.898107303129517 AS sv_4, -0.18410716085303236 AS sv_5, -2.176460152465139 AS sv_6, 0.9070069927926278 AS sv_7, -0.7505361555523434 AS sv_8, -1.01650387478809 AS sv_9, -0.23469152863075435 AS sv_10, 0.275346648227282 AS sv_11, -0.9498048472402938 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 257 AS sv_idx, -0.2997556434149076 AS dual_coeff, 0.9695718592875489 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.5732348832542256 AS sv_4, 0.4666055582973581 AS sv_5, 0.9505103848689948 AS sv_6, -0.8087632169450227 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -2.7383386124873277 AS sv_11, 1.4830254747240013 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 258 AS sv_idx, -0.6561091534843264 AS dual_coeff, -0.4192277151416138 AS sv_0, 0.9037268655862633 AS sv_1, -0.7168868951187805 AS sv_2, -0.2777443324199778 AS sv_3, -1.0250598127040242 AS sv_4, 0.4114364364563472 AS sv_5, -0.9754191960799832 AS sv_6, 0.7976541948192474 AS sv_7, -0.2928507112608012 AS sv_8, -0.4517859712789329 AS sv_9, -1.0643836998523566 AS sv_10, 0.41175138472789197 AS sv_11, -0.4356499853818601 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 259 AS sv_idx, -1.0 AS dual_coeff, 0.9288504930369595 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.0569613443178965 AS sv_4, 0.6830382670582495 AS sv_5, 0.8154821116659301 AS sv_6, -0.954376104996836 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -3.7110211761604983 AS sv_11, 1.8341556242858583 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 260 AS sv_idx, 0.2101133616526841 AS dual_coeff, -0.407734103275606 AS sv_0, -0.500208016306172 AS sv_1, -0.5967615091262514 AS sv_2, -0.2777443324199778 AS sv_3, -0.898107303129517 AS sv_4, 0.66606315264563 AS sv_5, -2.307935050057597 AS sv_6, 0.9070069927926278 AS sv_7, -0.7505361555523434 AS sv_8, -1.01650387478809 AS sv_9, -0.23469152863075435 AS sv_10, 0.2978236807362681 AS sv_11, -1.084962087349421 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 261 AS sv_idx, -0.049885704561907364 AS dual_coeff, -0.41277371564696186 AS sv_0, -0.500208016306172 AS sv_1, 0.2704851799905427 AS sv_2, -0.2777443324199778 AS sv_3, -0.9912058101508224 AS sv_4, -0.22513035401686118 AS sv_5, -0.7835369131072065 AS sv_6, 0.1291326393205555 AS sv_7, -0.5216934334065723 AS sv_8, -0.045894978131726084 AS sv_9, 0.13406054746773646 AS sv_10, 0.3149018181818205 AS sv_11, -0.3283602174601816 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 262 AS sv_idx, -0.83644154357648 AS dual_coeff, 1.105243167813424 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 0.25292878367934923 AS sv_4, -0.6537519929354879 AS sv_5, -0.28961770323283764 AS sv_6, -0.8694034465367182 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -3.6770852643332064 AS sv_11, 0.4268482788196855 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 263 AS sv_idx, 1.0 AS dual_coeff, -0.4197108288368615 AS sv_0, 3.422551212510926 AS sv_1, -1.3936908991254675 AS sv_2, -0.2777443324199778 AS sv_3, -1.2789648318530387 AS sv_4, 0.9560546905278692 AS sv_5, -1.8673164743423327 AS sv_6, 1.829015204326472 AS sv_7, -0.7505361555523434 AS sv_8, -0.0223650654855112 AS sv_9, -0.6495376142415553 AS sv_10, 0.424422260897173 AS sv_11, -1.1239765484118498 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 264 AS sv_idx, -0.5717047423248434 AS dual_coeff, -0.4022076321415975 AS sv_0, 0.5320970439088539 AS sv_1, -0.8575214933539363 AS sv_2, -0.2777443324199778 AS sv_3, -0.8557897999380144 AS sv_4, -0.4712695129998343 AS sv_5, 0.9078698775417116 AS sv_6, 1.4306790305569472 AS sv_7, -0.1784293501879156 AS sv_8, -0.7164974885488504 AS sv_9, 0.5950006425908495 AS sv_10, 0.21706061784858813 AS sv_11, 0.25267657764812945 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 265 AS sv_idx, -0.3423924836067671 AS dual_coeff, 0.5441109800285951 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.3447203660201124 AS sv_4, 0.002619097685776143 AS sv_5, 0.5631924433128352 AS sv_6, -0.4946363313181752 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -0.9494312604486322 AS sv_11, 0.5020904537257977 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 266 AS sv_idx, -0.8280902851273108 AS dual_coeff, -0.3811915622204243 AS sv_0, -0.500208016306172 AS sv_1, 1.597724200834826 AS sv_2, -0.2777443324199778 AS sv_3, 0.591468809211369 AS sv_4, 0.2247101779175399 AS sv_5, 1.1033055361250945 AS sv_6, -0.8117212769251054 AS sv_7, -0.6361147944794578 AS sv_8, 0.18352167016886908 AS sv_9, 1.286410785275519 AS sv_10, 0.40392849596251 AS sv_11, -0.003704166476401064 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 267 AS sv_idx, 1.0 AS dual_coeff, -0.4211352028065709 AS sv_0, 3.422551212510926 AS sv_1, -1.2164327075999068 AS sv_2, -0.2777443324199778 AS sv_3, -1.1680929734913024 AS sv_4, 2.454108537441487 AS sv_5, -1.2774561229815755 AS sv_6, 0.6193595150520046 AS sv_7, -0.6361147944794578 AS sv_8, -1.0694461782420737 AS sv_9, -1.7096998330247155 AS sv_10, 0.3544569881363597 AS sv_11, -1.3580633147864212 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 268 AS sv_idx, -0.5319525391669034 AS dual_coeff, -0.2673752187144472 AS sv_0, -0.500208016306172 AS sv_1, -0.416573430137458 AS sv_2, -0.2777443324199778 AS sv_3, -0.13639224568247268 AS sv_4, -1.0314482886162573 AS sv_5, 1.074878531240239 AS sv_6, -0.010468707481412156 AS sv_7, -0.6361147944794578 AS sv_8, -0.5812004908331148 AS sv_9, 1.1942227662508968 AS sv_10, 0.20042320653066248 AS sv_11, 1.169516412615201 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 269 AS sv_idx, 0.14288080027092537 AS dual_coeff, -0.4031214285884225 AS sv_0, 0.4082204366830508 AS sv_1, -0.7505806009459531 AS sv_2, -0.2777443324199778 AS sv_3, -1.0419868139806254 AS sv_4, 0.1893453562245834 AS sv_5, -0.6662755179571764 AS sv_6, 1.9116023305445873 AS sv_7, -0.2928507112608012 AS sv_8, -0.4459034931173792 AS sv_9, 0.3184365855169827 AS sv_10, 0.17992944159599875 AS sv_11, -0.4328632381631152 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 270 AS sv_idx, -0.034455314876631324 AS dual_coeff, -0.4093369921249548 AS sv_0, 0.3256360318658488 AS sv_1, -0.5894367904681705 AS sv_2, -0.2777443324199778 AS sv_3, -0.762691292916709 AS sv_4, 0.33787760733499916 AS sv_5, -0.32515145933890727 AS sv_6, 0.046593223747280144 AS sv_7, -0.7505361555523434 AS sv_8, -1.0753286564036275 AS sv_9, 0.08796653795542611 AS sv_10, 0.4030470437072551 AS sv_11, -0.6822771142407834 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 271 AS sv_idx, -1.0 AS dual_coeff, -0.0766326939977462 AS sv_0, -0.500208016306172 AS sv_1, 1.2593221988314816 AS sv_2, -0.2777443324199778 AS sv_3, 2.6819534668715894 AS sv_4, -1.9749817313843248 AS sv_5, 1.064218404408418 AS sv_6, -1.1803337189592826 AS sv_7, -0.5216934334065723 AS sv_8, -0.016482587323957482 AS sv_9, -1.7096998330247155 AS sv_10, 0.424422260897173 AS sv_11, 2.321836387566216 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 272 AS sv_idx, -0.2480313022373632 AS dual_coeff, 0.08049410569149099 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, -0.18717324951227565 AS sv_4, -0.09923158878993725 AS sv_5, 0.8119287360553235 AS sv_6, -0.3437752723339572 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.4071237603878066 AS sv_11, 0.03391692097665499 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 273 AS sv_idx, -0.8276256170578818 AS dual_coeff, -0.11821043232828345 AS sv_0, -0.500208016306172 AS sv_1, 1.2593221988314816 AS sv_2, -0.2777443324199778 AS sv_3, 2.6819534668715894 AS sv_4, -1.452996963196293 AS sv_5, 0.9291901312053532 AS sv_6, -0.9940236508589122 AS sv_7, -0.5216934334065723 AS sv_8, -0.016482587323957482 AS sv_9, -1.7096998330247155 AS sv_10, -2.972143823193543 AS sv_11, 0.4895500912414458 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 274 AS sv_idx, 1.0 AS dual_coeff, -0.23401540662632644 AS sv_0, -0.500208016306172 AS sv_1, 1.2593221988314816 AS sv_2, 3.5915215399135065 AS sv_3, 0.4306622970836596 AS sv_4, 2.9364847053334056 AS sv_5, 0.9256367555947465 AS sv_6, -0.7909671464196864 AS sv_7, -0.5216934334065723 AS sv_8, -0.016482587323957482 AS sv_9, -1.7096998330247155 AS sv_10, 0.33131886643593284 AS sv_11, -1.2967548759740335 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 275 AS sv_idx, 1.0 AS dual_coeff, 0.790280502339599 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.5732348832542256 AS sv_4, 0.15115134879619072 AS sv_5, 1.0428981507447763 AS sv_6, -0.8371987612696886 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.3038836649911412 AS sv_11, 0.9605103712093332 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 276 AS sv_idx, -0.1448254391614818 AS dual_coeff, -0.4014436383909733 AS sv_0, -0.500208016306172 AS sv_1, -0.18950715173694616 AS sv_2, -0.2777443324199778 AS sv_3, 0.2613922843176497 AS sv_4, -1.032862881483976 AS sv_5, 0.20074813103092423 AS sv_6, -0.6774635223452224 AS sv_7, -0.4072720723336867 AS sv_8, -0.08707232526260214 AS sv_9, 0.36453059502929297 AS sv_10, 0.4119717477917054 AS sv_11, 0.3446392358667111 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 277 AS sv_idx, -0.1409188698170858 AS dual_coeff, -0.4136388262175216 AS sv_0, -0.500208016306172 AS sv_1, -0.735931163629791 AS sv_2, -0.2777443324199778 AS sv_3, -0.466468770576192 AS sv_4, -0.635362285655151 AS sv_5, -0.9363320643633064 AS sv_6, 0.05456090143556752 AS sv_7, -0.5216934334065723 AS sv_8, -0.745909879356619 AS sv_9, 0.36453059502929297 AS sv_10, 0.424422260897173 AS sv_11, -0.5373662588660488 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 278 AS sv_idx, 0.2823574172532539 AS dual_coeff, -0.40855926646051216 AS sv_0, -0.500208016306172 AS sv_1, -1.1856688892359664 AS sv_2, -0.2777443324199778 AS sv_3, -0.9234978050444184 AS sv_4, 2.5036192878116257 AS sv_5, 0.2895825212960985 AS sv_6, -0.15488882941222426 AS sv_7, -0.864957516625229 AS sv_8, -0.7635573138412802 AS sv_9, -0.1885975191184424 AS sv_10, 0.424422260897173 AS sv_11, -1.172744624739885 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 279 AS sv_idx, 0.2490422579199481 AS dual_coeff, -0.3812202744038628 AS sv_0, 0.4082204366830508 AS sv_1, -0.7505806009459531 AS sv_2, -0.2777443324199778 AS sv_3, -1.0419868139806254 AS sv_4, -0.27039732578384496 AS sv_5, -1.1708548546633664 AS sv_6, 2.0208597072282877 AS sv_7, -0.2928507112608012 AS sv_8, -0.4459034931173792 AS sv_9, 0.3184365855169827 AS sv_10, 0.35038027145580825 AS sv_11, -0.4830246881005233 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 280 AS sv_idx, -1.0 AS dual_coeff, 0.4149673239896709 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.3447203660201124 AS sv_4, 0.636356702423547 AS sv_5, 0.8794428726568556 AS sv_6, -0.713866744358176 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -3.9451569314624337 AS sv_11, 0.6706886604598643 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 281 AS sv_idx, 0.1277446779416378 AS dual_coeff, 0.7742428753554997 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.1754503532541023 AS sv_4, 0.14832216306075452 AS sv_5, 1.1423926678417715 AS sv_6, -1.0404938189331148 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, 0.19535485606295014 AS sv_11, 1.0705868863497567 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 282 AS sv_idx, -0.1982036854033362 AS dual_coeff, -0.3621017053012333 AS sv_0, -0.500208016306172 AS sv_1, -0.15874333337300572 AS sv_2, -0.2777443324199778 AS sv_3, -0.0856112418526697 AS sv_4, 0.4750931155036678 AS sv_5, 0.5205519359855516 AS sv_6, -0.23967064529298196 AS sv_7, -0.6361147944794578 AS sv_8, -0.598847925317776 AS sv_9, -0.004221481069197804 AS sv_10, 0.424422260897173 AS sv_11, -1.1267632956305946 AS sv_12 FROM SYSIBM.SYSDUMMY1 UNION ALL SELECT 283 AS sv_idx, -0.6850027123269036 AS dual_coeff, 1.4710114177037563 AS sv_0, -0.500208016306172 AS sv_1, 1.0425105265522838 AS sv_2, -0.2777443324199778 AS sv_3, 1.5732348832542256 AS sv_4, -0.20815523960424168 AS sv_5, 1.1423926678417715 AS sv_6, -0.9091941243333148 AS sv_7, 1.6523124269782534 AS sv_8, 1.5306091691646715 AS sv_9, 0.825470690152406 AS sv_10, -3.84599355274632 AS sv_11, 1.92611828250444 AS sv_12 FROM SYSIBM.SYSDUMMY1) AS "Values"),
kernel_dp AS
(SELECT t."KEY" AS "KEY", t.dot_product AS dot_product
FROM (SELECT full_join_data_sv."KEY" AS "KEY", sum(CAST(full_join_data_sv.dot_prod1 AS DOUBLE)) + 0.00144783162917792 AS dot_product
FROM (SELECT kernel_input_with_scaling."KEY" AS "KEY", "SV_data".dual_coeff * exp(least(100.0, greatest(-100.0, -1.0 * (power(kernel_input_with_scaling."Feature_0" - "SV_data".sv_0, 2) + power(kernel_input_with_scaling."Feature_1" - "SV_data".sv_1, 2) + power(kernel_input_with_scaling."Feature_2" - "SV_data".sv_2, 2) + power(kernel_input_with_scaling."Feature_3" - "SV_data".sv_3, 2) + power(kernel_input_with_scaling."Feature_4" - "SV_data".sv_4, 2) + power(kernel_input_with_scaling."Feature_5" - "SV_data".sv_5, 2) + power(kernel_input_with_scaling."Feature_6" - "SV_data".sv_6, 2) + power(kernel_input_with_scaling."Feature_7" - "SV_data".sv_7, 2) + power(kernel_input_with_scaling."Feature_8" - "SV_data".sv_8, 2) + power(kernel_input_with_scaling."Feature_9" - "SV_data".sv_9, 2) + power(kernel_input_with_scaling."Feature_10" - "SV_data".sv_10, 2) + power(kernel_input_with_scaling."Feature_11" - "SV_data".sv_11, 2) + power(kernel_input_with_scaling."Feature_12" - "SV_data".sv_12, 2))))) AS dot_prod1
FROM kernel_input_with_scaling, "SV_data") AS full_join_data_sv GROUP BY full_join_data_sv."KEY") AS t)
SELECT kernel_dp."KEY" AS "KEY", 22.57896039603961 + 9.065927700483163 * kernel_dp.dot_product AS "Estimator"
FROM kernel_dp |
--+ holdcas on;
set system parameters 'compat_mode=cubrid';
select '1' + '1' from db_root;
select 'plus ' + 'can ' + 'be ' + 'used ' + 'as ' + 'concat' from db_root;
CREATE TABLE t (col1 varchar(255), col2 varchar(255));
INSERT INTO t VALUES('1', '1');
INSERT INTO t VALUES('2', '2');
INSERT INTO t VALUES('3', '3');
INSERT INTO t VALUES('4', '4');
SELECT col1 + col2 FROM t ORDER BY col1, col2;
UPDATE t SET col1 = col1 + 1;
SELECT col1 FROM t ORDER BY col1;
set system parameters 'plus_as_concat=no';
SELECT col1 + col2 FROM t ORDER BY col1, col2;
UPDATE t SET col1 = col1 + 1;
SELECT col1 FROM t ORDER BY col1;
DROP TABLE t;
--test if setting mysql_mode sets plus_as_concat to no
set system parameters 'plus_as_concat = yes';
SELECT IF ('1' + '1' = '11', 'Ok', 'Nok') FROM db_root;
set system parameters 'compat_mode = mysql';
SELECT IF ('1' + '1' = '2', 'Ok', 'Nok') FROM db_root;
set system parameters 'compat_mode = cubrid';
SELECT IF ('1' + '1' = '11', 'Ok', 'Nok') FROM db_root;
--host variables
$char, $1
SELECT IF ('1' + ? = '11', 'Ok', 'Nok') FROM db_root;
set system parameters 'plus_as_concat=no';
$char, $1
SELECT IF ('1' + ? = '2', 'Ok', 'Nok') FROM db_root;
set system parameters 'plus_as_concat=yes';
commit;
--+ holdcas off;
|
Opened "TEST.h5" with sec2 driver.
Monitoring dataset /DSET_CMPD...
dimension 0: 10->13 (increases)
Data:
(10) {{{2, 2, 2}}, {4, 4}}, {{{3, 3, 3}}, {5, 5}}, {{{4, 4, 4}}, {6,
(12) 6}}
|
<reponame>KashafNazir/Promotions_Backend<filename>promotions.sql
-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Feb 28, 2019 at 05:47 PM
-- Server version: 5.7.24
-- PHP Version: 7.2.11
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: `promotions`
--
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(255) 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, '2019_02_27_171644_create_promotion_table', 1);
-- --------------------------------------------------------
--
-- Table structure for table `promotions`
--
CREATE TABLE `promotions` (
`id` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`content` text COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `promotions`
--
INSERT INTO `promotions` (`id`, `created_at`, `updated_at`, `content`) VALUES
(1, '2019-02-27 12:44:15', '2019-02-27 12:44:15', 'Some content');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `promotions`
--
ALTER TABLE `promotions`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `promotions`
--
ALTER TABLE `promotions`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
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 */;
|
<filename>SQL/Basic Select/Weather Observation Station 9.sql
/*
Query the list of CITY names from STATION that do not start with vowels. Your result cannot contain duplicates.
Input Format
The STATION table is described as follows:
STATION
Field Type
ID NUMBER
CITY VARCHAR2(21)
STATE VARCHAR2(2)
LAT_N NUMBER
LONG_W NUMBER
*/
SELECT DISTINCT CITY FROM STATION
WHERE LEFT(CITY, 1) NOT IN ('a', 'e', 'i', 'o', 'u');
/*
ALTERNATIVE
*/
SELECT DISTINCT CITY FROM STATION WHERE CITY REGEXP '^[^aeiou]';
|
<filename>tests/rarible_v2_log_decoding.sql
WITH log_data AS (
-- 'Purchases' in ETH
SELECT
'Rarible' as platform,
'2' as platform_version,
contract_address AS exchange_contract_address,
'Trade' as evt_type,
tx_hash AS evt_tx_hash,
block_time AS evt_block_time,
block_number AS evt_block_number,
"index" AS evt_index,
substring(data FROM 365 FOR 20) AS nft_contract_address,
CAST(bytea2numericpy(substring(data FROM 385 FOR 32)) AS TEXT) AS nft_token_id,
substring(data FROM 77 FOR 20) AS seller,
substring(data FROM 109 FOR 20) AS buyer,
bytea2numericpy(substring(data FROM 129 FOR 32)) original_amount_raw,
bytea2numericpy(substring(data FROM 129 FOR 32)) / 10^18 AS original_amount, -- :todo: :remove: :for-testing:
'\x0000000000000000000000000000000000000000'::bytea as original_currency_contract,
'\xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2'::bytea as currency_contract,
'Buy' AS category -- ? 'Purchase'
FROM ethereum."logs"
WHERE "contract_address" = '\x9757f2d2b135150bbeb65308d4a91804107cd8d6'
AND topic1 = '\x268820db288a211986b26a8fda86b1e0046281b21206936bb0e61c67b5c79ef4'
AND length(data) = 512
AND "tx_hash" IN (
'\x8d0fcc7df9537146ccbe868503e6caa2d68ba9f0288304c28949e9c885458146', -- purchased ETH
'\xa6b105513a5d9417857adc565413f329f0b25321fe0ef2347c377b2ea5bc106f' -- purchased ETH
)
UNION ALL
-- 'Bid Accepted' non-ETH
SELECT
'Rarible' as platform,
'2' as platform_version,
contract_address AS exchange_contract_address,
'Trade' as evt_type,
tx_hash AS evt_tx_hash,
block_time AS evt_block_time,
block_number AS evt_block_number,
"index" AS evt_index,
substring(data FROM 493 FOR 20) AS nft_contract_address, -- different !
CAST(bytea2numericpy(substring(data FROM 513 FOR 32)) AS TEXT) AS nft_token_id, -- different !
substring(data FROM 109 FOR 20) AS seller,
substring(data FROM 77 FOR 20) AS buyer,
bytea2numericpy(substring(data FROM 161 FOR 32)) AS original_amount_raw,
bytea2numericpy(substring(data FROM 161 FOR 32)) / 10^18 AS original_amount, -- :todo: :remove: :for-testing:
substring(data FROM 365 FOR 20) AS original_currency_contract,
substring(data FROM 365 FOR 20) AS currency_contract,
'Offer Accepted' AS category -- 'Bid Accepted'
FROM ethereum."logs"
WHERE "contract_address" = '\x9757f2d2b135150bbeb65308d4a91804107cd8d6'
AND topic1 = '\x268820db288a211986b26a8fda86b1e0046281b21206936bb0e61c67b5c79ef4'
AND length(data) = 544
AND bytea2numericpy(substring(data FROM 225 FOR 32)) = 384
AND "tx_hash" IN (
'\xef0198728876e5375f25262bdad54f4c4a94f440f290ddf99ed3338ad1a98509', -- bid accepted RARI
'\x0f782b0871c2fa3e65d58fdd5c0893c326db7d13e57063aac8deea117b780efc', -- bid accepted RARI
'\xc858b5d64e38e7d47ddb312ef0494a7ba5a4ae9d7ddbfc1916ca665f316ab205', -- bid accepted WETH
'\xacfb865cf02d299fe50cb7a15b62d15de0ef9bf43873ee8e84b8abb6d93e0c40' -- bid accepted WETH
)
UNION ALL
-- 'Purchases' in non-ETH currencies
SELECT
'Rarible' as platform,
'2' as platform_version,
contract_address AS exchange_contract_address,
'Trade' as evt_type,
tx_hash AS evt_tx_hash,
block_time AS evt_block_time,
block_number AS evt_block_number,
"index" AS evt_index,
substring(data FROM 365 FOR 20) AS nft_contract_address, -- different !
CAST(bytea2numericpy(substring(data FROM 385 FOR 32)) AS TEXT) AS nft_token_id, -- different !
substring(data FROM 77 FOR 20) AS seller,
substring(data FROM 109 FOR 20) AS buyer,
bytea2numericpy(substring(data FROM 129 FOR 32)) AS original_amount_raw,
bytea2numericpy(substring(data FROM 129 FOR 32)) / 10^18 AS original_amount, -- :todo: :remove: :for-testing:
substring(data FROM 525 FOR 20) AS original_currency_contract,
substring(data FROM 525 FOR 20) AS currency_contract,
'Buy' AS category -- 'Bid Accepted'
FROM ethereum."logs"
WHERE "contract_address" = '\x9757f2d2b135150bbeb65308d4a91804107cd8d6'
AND topic1 = '\x268820db288a211986b26a8fda86b1e0046281b21206936bb0e61c67b5c79ef4'
AND length(data) = 544
AND bytea2numericpy(substring(data FROM 225 FOR 32)) = 416
AND "tx_hash" IN (
'\xba3443c5b8045a53e6c99f703a1e2d20beb8a3963cabaab1c97a010c9a1c09b9', -- purchase RARI
'\xbc718a900de44ddb89c2117ff6d8a1a76169f8270233e74dee856d1468f5dfad' -- purchase USDC
)
)
|
<reponame>Masum-jubayel/Restaurant-website-
-- phpMyAdmin SQL Dump
-- version 4.6.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Nov 30, 2017 at 04:35 PM
-- Server version: 5.7.14
-- PHP Version: 5.6.25
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_ciproject`
--
-- --------------------------------------------------------
--
-- Table structure for table `tbl_contact`
--
CREATE TABLE `tbl_contact` (
`id` int(11) NOT NULL,
`first_name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`msg` text NOT NULL,
`number` varchar(50) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dumping data for table `tbl_contact`
--
INSERT INTO `tbl_contact` (`id`, `first_name`, `email`, `msg`, `number`) VALUES
(1, 'masum', '<EMAIL>', 'masjsn', '01420'),
(2, 'masum', '<EMAIL>', 'nmgfjhftyh', '01420'),
(3, 'masum', '<EMAIL>', 'bvnvhgjhfg', '01420'),
(4, 'nammi', '<EMAIL>', 'nammi', '01755411'),
(5, 'asima', '<EMAIL>', 'asimn', '01755411'),
(6, 'masum', '<EMAIL>', 'dafa', '01755411');
-- --------------------------------------------------------
--
-- Table structure for table `tbl_review`
--
CREATE TABLE `tbl_review` (
`id` int(11) NOT NULL,
`re_name` varchar(60) NOT NULL,
`re_email` varchar(100) NOT NULL,
`re_body` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dumping data for table `tbl_review`
--
INSERT INTO `tbl_review` (`id`, `re_name`, `re_email`, `re_body`) VALUES
(1, 'masum', '<EMAIL>', 'masum'),
(2, 'nammi', '<EMAIL>', 'nammi '),
(3, 'tawsif', '<EMAIL>', 'tawsif');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `tbl_contact`
--
ALTER TABLE `tbl_contact`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `tbl_review`
--
ALTER TABLE `tbl_review`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `tbl_contact`
--
ALTER TABLE `tbl_contact`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `tbl_review`
--
ALTER TABLE `tbl_review`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
/*!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 */;
|
ALTER TABLE `scenes` ADD COLUMN `format` varchar(255);
|
<reponame>bhuism/citaten<gh_stars>1-10
DELETE FROM quote;
DELETE FROM author;
DELETE FROM genre;
|
SELECT Username,
SUBSTRING (
Email,
CHARINDEX('@', Email) + 1, -- Email is the string to cut from, charindex takes the first letter after @
LEN(Email) - CHARINDEX('@', Email) -- Len takes all symbols after @
)
AS [Email Provider]
FROM Users
ORDER BY [Email Provider],
Username |
<filename>sayur.sql
-- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Jul 05, 2020 at 01:11 PM
-- Server version: 10.4.11-MariaDB
-- PHP Version: 7.2.29
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
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: `sayur`
--
-- --------------------------------------------------------
--
-- Table structure for table `ci_sessions`
--
CREATE TABLE `ci_sessions` (
`id` varchar(128) NOT NULL,
`ip_address` varchar(45) NOT NULL,
`timestamp` int(10) UNSIGNED NOT NULL DEFAULT 0,
`data` blob NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `ci_sessions`
--
INSERT INTO `ci_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES
('eab5e5433d65cc58d747fb9a0f7f136ff120c63c', '::1', 1593904276, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539333930343237363b),
('48cdde0ec3acce3abd3776ecdf64efad835d08c1', '::1', 1593905551, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539333930353535313b),
('2979894a23456358ff736f92e6de7312f4e4b693', '::1', 1593905868, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539333930353836383b),
('<KEY>', '::1', 1593907040, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539333930373034303b),
('<KEY>', '::1', 1593907368, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539333930373336383b7265646972656374696f6e7c4e3b),
('be003aa7d4fc560f6ba284ea66a74f39b06a7d1f', '::1', 1593907699, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539333930373639393b7265646972656374696f6e7c4e3b6c6f67696e5f666c6173687c733a31363a22426572686173696c206c6f676f757421223b5f5f63695f766172737c613a313a7b733a31313a226c6f67696e5f666c617368223b733a333a226f6c64223b7d),
('580f809f53e5fc72a34a99465c9224d14d883c46', '::1', 1593908108, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539333930383130383b7265646972656374696f6e7c4e3b5f5f4143544956455f53455353494f4e5f444154417c733a3235363a2231353561353163633963353037623232313466643337663566326637363763363939663633373663376263666534626336383833373366653563653363663535323530313663353264313934303137326138353666363235616434393935326331613732633531633836633765383261353630386165373366323032303232375770696f3065623846544c713343374d49646768543852774d376f466b546f4235734244745130694e676f67625145456e59554d395a57596c7a42414f324850375a3461646576615566396643357a64336c7974647a4e766339325035624c445338312b56314a6d7950693846425a727376674a5a777a354c47687174746676223b),
('3eca1c0b69706596df68e44fc3d9288afb3181b9', '::1', 1593908160, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539333930383130383b7265646972656374696f6e7c4e3b5f5f4143544956455f53455353494f4e5f444154417c733a3235363a2231353561353163633963353037623232313466643337663566326637363763363939663633373663376263666534626336383833373366653563653363663535323530313663353264313934303137326138353666363235616434393935326331613732633531633836633765383261353630386165373366323032303232375770696f3065623846544c713343374d49646768543852774d376f466b546f4235734244745130694e676f67625145456e59554d395a57596c7a42414f324850375a3461646576615566396643357a64336c7974647a4e766339325035624c445338312b56314a6d7950693846425a727376674a5a777a354c47687174746676223b),
('fed2cd1b0f23c22bdad11a51ea4b9d5be5182b19', '::1', 1593924023, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539333932343032333b6c6f67696e5f666c6173687c733a31373a22416e64612062656c756d206c6f67696e21223b5f5f63695f766172737c613a313a7b733a31313a226c6f67696e5f666c617368223b733a333a226f6c64223b7d7265646972656374696f6e7c4e3b),
('6335dbba11ba0a80e4cab29b4bd7042c6b0e7099', '::1', 1593944426, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539333934343432343b);
-- --------------------------------------------------------
--
-- Table structure for table `contacts`
--
CREATE TABLE `contacts` (
`id` int(10) NOT NULL,
`parent_id` int(10) DEFAULT NULL,
`name` varchar(32) NOT NULL,
`subject` varchar(128) DEFAULT NULL,
`email` varchar(64) NOT NULL,
`message` mediumtext NOT NULL,
`contact_date` datetime DEFAULT NULL,
`status` tinyint(1) DEFAULT 1,
`reply_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `contacts`
--
INSERT INTO `contacts` (`id`, `parent_id`, `name`, `subject`, `email`, `message`, `contact_date`, `status`, `reply_at`) VALUES
(1, NULL, '<NAME>', 'Pengiriman kok lama?', '<EMAIL>', 'pengiriman pesanan saya kok lama ya', '2020-03-29 07:40:13', 2, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `coupons`
--
CREATE TABLE `coupons` (
`id` bigint(20) NOT NULL,
`name` varchar(191) NOT NULL,
`code` varchar(32) NOT NULL,
`credit` decimal(8,2) NOT NULL,
`start_date` date NOT NULL,
`expired_date` date NOT NULL,
`is_active` tinyint(4) DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `coupons`
--
INSERT INTO `coupons` (`id`, `name`, `code`, `credit`, `start_date`, `expired_date`, `is_active`) VALUES
(1, '#DiRumahAja', 'DIRUMAHAJA19', '5000.00', '2020-03-27', '2020-04-03', 1),
(2, 'Buah Merah Meriah', 'BUAHMERAH', '5000.00', '2020-03-27', '2020-03-30', 0);
-- --------------------------------------------------------
--
-- Table structure for table `customers`
--
CREATE TABLE `customers` (
`id` bigint(20) NOT NULL,
`user_id` bigint(20) UNSIGNED DEFAULT NULL,
`name` varchar(191) NOT NULL,
`phone_number` varchar(32) DEFAULT NULL,
`address` varchar(191) NOT NULL,
`profile_picture` varchar(191) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `customers`
--
INSERT INTO `customers` (`id`, `user_id`, `name`, `phone_number`, `address`, `profile_picture`) VALUES
(6, 7, '<NAME>', '081328907767', 'Jl. Garuda No.41, Lempeh, Kec. Sumbawa, Kabupaten Sumbawa, Nusa Tenggara Bar. 84316', 'agung.png'),
(7, 8, '<NAME>', '081918054344', 'sumbawa besar', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `orders`
--
CREATE TABLE `orders` (
`id` bigint(20) NOT NULL,
`user_id` bigint(20) UNSIGNED DEFAULT NULL,
`coupon_id` bigint(20) DEFAULT NULL,
`order_number` varchar(16) NOT NULL,
`order_status` enum('1','2','3','4','5') DEFAULT '1',
`order_date` datetime NOT NULL,
`total_price` decimal(8,2) DEFAULT NULL,
`total_items` int(10) DEFAULT NULL,
`payment_method` int(11) DEFAULT 1,
`delivery_data` text DEFAULT NULL,
`delivered_date` datetime DEFAULT NULL,
`finish_date` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `orders`
--
INSERT INTO `orders` (`id`, `user_id`, `coupon_id`, `order_number`, `order_status`, `order_date`, `total_price`, `total_items`, `payment_method`, `delivery_data`, `delivered_date`, `finish_date`) VALUES
(5, 7, NULL, 'TJL2932027019', '2', '2020-03-29 08:14:50', '271000.00', 2, 1, '{\"customer\":{\"name\":\"<NAME>\",\"phone_number\":\"081328907767\",\"address\":\"Kost Indah Jaya Belakang No. 19, Jl. Medan Baru VI, Kandang Limun, Bengkulu\"},\"note\":\"\"}', NULL, NULL),
(6, 7, NULL, 'JQZ2932017914', '1', '2020-03-29 08:15:13', '350000.00', 1, 2, '{\"customer\":{\"name\":\"<NAME>\",\"phone_number\":\"081328907767\",\"address\":\"Kost Indah Jaya Belakang No. 19, Jl. Medan Baru VI, Kandang Limun, Bengkulu\"},\"note\":\"\"}', NULL, NULL),
(7, 7, NULL, 'TIB3032037078', '2', '2020-03-30 08:49:42', '78000.00', 3, 1, '{\"customer\":{\"name\":\"<NAME>\",\"phone_number\":\"081328907767\",\"address\":\"Kost Indah Jaya Belakang No. 19, Jl. Medan Baru VI, Kandang Limun, Bengkulu\"},\"note\":\"\"}', NULL, NULL),
(8, 7, NULL, 'GPS3032027749', '1', '2020-03-30 09:14:27', '360000.00', 2, 1, '{\"customer\":{\"name\":\"<NAME>\",\"phone_number\":\"081328907767\",\"address\":\"Kost Indah Jaya Belakang No. 19, Jl. Medan Baru VI, Kandang Limun, Bengkulu\"},\"note\":\"\"}', NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `order_item`
--
CREATE TABLE `order_item` (
`id` bigint(20) NOT NULL,
`order_id` bigint(20) DEFAULT NULL,
`product_id` bigint(20) DEFAULT NULL,
`order_qty` int(10) NOT NULL,
`order_price` decimal(8,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `order_item`
--
INSERT INTO `order_item` (`id`, `order_id`, `product_id`, `order_qty`, `order_price`) VALUES
(3, 4, 2, 1, '31000.00'),
(4, 4, 8, 13, '20000.00'),
(5, 5, 2, 1, '31000.00'),
(6, 5, 13, 12, '20000.00'),
(7, 6, 9, 10, '35000.00'),
(8, 7, 10, 1, '12000.00'),
(9, 7, 9, 1, '35000.00'),
(10, 7, 2, 1, '31000.00'),
(11, 8, 9, 1, '35000.00'),
(12, 8, 1, 5, '65000.00');
-- --------------------------------------------------------
--
-- Table structure for table `payments`
--
CREATE TABLE `payments` (
`id` bigint(20) NOT NULL,
`order_id` bigint(20) DEFAULT NULL,
`payment_price` decimal(8,2) DEFAULT NULL,
`payment_date` datetime NOT NULL,
`picture_name` varchar(191) DEFAULT NULL,
`payment_status` enum('1','2','3') DEFAULT '1',
`confirmed_date` datetime DEFAULT NULL,
`payment_data` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `payments`
--
INSERT INTO `payments` (`id`, `order_id`, `payment_price`, `payment_date`, `picture_name`, `payment_status`, `confirmed_date`, `payment_data`) VALUES
(4, 5, '271000.00', '2020-03-29 08:20:39', 'category-1.jpg', '1', NULL, '{\"transfer_to\":\"bri\",\"source\":{\"bank\":\"Bank BRI\",\"name\":\"Agung Tri Saputra\",\"number\":\"12-345-678-9\"}}'),
(5, 7, '78000.00', '2020-03-30 08:51:08', 'html5.jpg', '2', NULL, '{\"transfer_to\":\"btn\",\"source\":{\"bank\":\"BANK BCA\",\"name\":\"MMS\",\"number\":\"123-456\"}}');
-- --------------------------------------------------------
--
-- Table structure for table `products`
--
CREATE TABLE `products` (
`id` bigint(20) NOT NULL,
`category_id` int(10) DEFAULT NULL,
`sku` varchar(32) DEFAULT NULL,
`name` varchar(191) NOT NULL,
`description` varchar(191) DEFAULT NULL,
`picture_name` varchar(191) DEFAULT NULL,
`price` decimal(8,2) NOT NULL,
`current_discount` decimal(8,2) DEFAULT 0.00,
`stock` int(10) NOT NULL,
`product_unit` varchar(32) DEFAULT NULL,
`is_available` tinyint(1) DEFAULT 1,
`add_date` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `products`
--
INSERT INTO `products` (`id`, `category_id`, `sku`, `name`, `description`, `picture_name`, `price`, `current_discount`, `stock`, `product_unit`, `is_available`, `add_date`) VALUES
(1, 2, 'SB750372', 'Strawberry', NULL, 'category-2.jpg', '70000.00', '5000.00', 50, 'Kg', 1, '2020-03-26 15:02:52'),
(2, 1, 'BS350420', 'Brokoli', NULL, 'product-6.jpg', '33000.00', '2000.00', 10, 'Kg', 1, '2020-03-26 15:03:40'),
(4, 1, 'TS120790', 'Tomat', NULL, 'product-5.jpg', '10000.00', '0.00', 20, 'Kg', 1, '2020-03-26 19:36:30'),
(5, 1, 'WS120811', 'Wortel', NULL, 'product-7.jpg', '12000.00', '0.00', 20, 'Kg', 1, '2020-03-26 19:36:51'),
(8, 1, 'PS220885', 'Paprika', NULL, 'product-12.jpg', '20000.00', '0.00', 20, 'Kg', 1, '2020-03-26 19:38:05'),
(9, 2, 'AB450163', 'Apel', NULL, 'product-10.jpg', '40000.00', '5000.00', 50, 'Kg', 1, '2020-03-26 19:42:43'),
(10, 1, 'BMS120283', '<NAME>', NULL, 'product-9.jpg', '12000.00', '0.00', 20, 'Kg', 1, '2020-03-26 19:44:42'),
(11, 1, 'URS13301', '<NAME>', NULL, 'product-4.jpg', '15000.00', '0.00', 3, 'Kg', 1, '2020-03-26 19:45:01'),
(12, 1, 'BPS15347', '<NAME>', NULL, 'product-111.jpg', '15000.00', '0.00', 5, 'Kg', 1, '2020-03-26 19:45:47'),
(13, 1, 'KPS223370', 'Kacang Polong', NULL, 'product-3.jpg', '20000.00', '0.00', 23, 'Kg', 1, '2020-03-26 19:46:10'),
(14, 1, 'CMS410424', 'Cabai Merah', NULL, 'product-121.jpg', '40000.00', '7000.00', 10, 'Kg', 1, '2020-03-26 19:47:04');
-- --------------------------------------------------------
--
-- Table structure for table `product_category`
--
CREATE TABLE `product_category` (
`id` int(10) NOT NULL,
`name` varchar(191) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `product_category`
--
INSERT INTO `product_category` (`id`, `name`) VALUES
(1, 'Sayur'),
(2, 'Buah');
-- --------------------------------------------------------
--
-- Table structure for table `reviews`
--
CREATE TABLE `reviews` (
`id` bigint(20) NOT NULL,
`user_id` bigint(20) UNSIGNED DEFAULT NULL,
`order_id` bigint(20) DEFAULT NULL,
`title` varchar(191) DEFAULT NULL,
`review_text` mediumtext NOT NULL,
`review_date` datetime NOT NULL,
`status` tinyint(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `reviews`
--
INSERT INTO `reviews` (`id`, `user_id`, `order_id`, `title`, `review_text`, `review_date`, `status`) VALUES
(2, 7, 6, 'Sangat puas', 'Pengiriman cepat dan sayur segar', '2020-03-30 08:31:31', 1),
(3, 7, 5, 'Buah segar', 'Buah segar dan kualitasnya sangat bagus', '2020-03-30 08:33:10', 1);
-- --------------------------------------------------------
--
-- Table structure for table `roles`
--
CREATE TABLE `roles` (
`id` int(10) NOT NULL,
`role_name` varchar(191) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `roles`
--
INSERT INTO `roles` (`id`, `role_name`) VALUES
(1, 'Admin'),
(2, 'Customer');
-- --------------------------------------------------------
--
-- Table structure for table `settings`
--
CREATE TABLE `settings` (
`id` int(10) NOT NULL,
`key` varchar(32) NOT NULL,
`content` varchar(191) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `settings`
--
INSERT INTO `settings` (`id`, `key`, `content`) VALUES
(1, 'current_theme_name', 'vegefoods'),
(2, 'store_name', '<NAME>'),
(3, 'store_phone_number', '081918054344'),
(4, 'store_email', '<EMAIL>'),
(5, 'store_tagline', 'Belanja Sayur Segar 24 Jam'),
(6, 'store_logo', 'Logo.png'),
(7, 'max_product_image_size', '20000'),
(8, 'store_description', 'Belanja sayur dan buah dengan murah, mudah dan cepat'),
(9, 'store_address', 'Seketeng, Sumbawa Sub-District, Sumbawa Regency, West Nusa Tenggara 84313'),
(10, 'min_shop_to_free_shipping_cost', '20000'),
(11, 'shipping_cost', '3000'),
(12, 'payment_banks', '{\"bri\":{\"bank\":\"BRI\",\"name\":\"<NAME>\",\"number\":\"9999-999-99-9\"},\"btn\":{\"bank\":\"BNI\",\"name\":\"<NAME>\",\"number\":\"4444-444-44-4\"},\"bni\":{\"bank\":\"BTN\",\"name\":\"<NAME>');
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`username` varchar(16) COLLATE utf8mb4_unicode_ci NOT NULL,
`password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`profile_picture` varchar(128) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`role_id` int(10) DEFAULT 0,
`register_date` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `name`, `email`, `email_verified_at`, `username`, `password`, `profile_picture`, `role_id`, `register_date`) VALUES
(7, NULL, '<EMAIL>', NULL, 'robbi', '$2y$10$tin9aX4Uz.wlBhZYuD4Fju9q1.O07BwUKxp6yvveTeIrrsa46fqDC', NULL, 2, '2020-03-29 08:14:30'),
(8, 'Mr.obi', '<EMAIL>', NULL, 'bii13', '$2y$10$adl2JdZYCE1uUSf5JM/npeCcbRQi0i1IVlPVdxwb60HMzEQsRRWrS', 'Ninja-Warrior-Assassin-Japan-Fighter-Avatar-Martial_arts-512.png', 1, '2020-07-05 02:02:48');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `ci_sessions`
--
ALTER TABLE `ci_sessions`
ADD KEY `ci_sessions_timestamp` (`timestamp`);
--
-- Indexes for table `contacts`
--
ALTER TABLE `contacts`
ADD PRIMARY KEY (`id`),
ADD KEY `FK_contacts_contacts` (`parent_id`);
--
-- Indexes for table `coupons`
--
ALTER TABLE `coupons`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `customers`
--
ALTER TABLE `customers`
ADD PRIMARY KEY (`id`),
ADD KEY `FK_customers_users` (`user_id`);
--
-- Indexes for table `orders`
--
ALTER TABLE `orders`
ADD PRIMARY KEY (`id`),
ADD KEY `FK_orders_users` (`user_id`),
ADD KEY `FK_orders_coupons` (`coupon_id`);
--
-- Indexes for table `order_item`
--
ALTER TABLE `order_item`
ADD PRIMARY KEY (`id`),
ADD KEY `order_id` (`order_id`),
ADD KEY `product_id` (`product_id`);
--
-- Indexes for table `payments`
--
ALTER TABLE `payments`
ADD PRIMARY KEY (`id`),
ADD KEY `order_id` (`order_id`);
--
-- Indexes for table `products`
--
ALTER TABLE `products`
ADD PRIMARY KEY (`id`),
ADD KEY `FK_products_product_category` (`category_id`);
--
-- Indexes for table `product_category`
--
ALTER TABLE `product_category`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `reviews`
--
ALTER TABLE `reviews`
ADD PRIMARY KEY (`id`),
ADD KEY `FK_reviews_users` (`user_id`),
ADD KEY `FK_reviews_orders` (`order_id`);
--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `settings`
--
ALTER TABLE `settings`
ADD PRIMARY KEY (`id`) USING BTREE;
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`) USING BTREE,
ADD UNIQUE KEY `users_email_unique` (`email`) USING BTREE,
ADD KEY `role_id` (`role_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `contacts`
--
ALTER TABLE `contacts`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `coupons`
--
ALTER TABLE `coupons`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `customers`
--
ALTER TABLE `customers`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT for table `orders`
--
ALTER TABLE `orders`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `order_item`
--
ALTER TABLE `order_item`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT for table `payments`
--
ALTER TABLE `payments`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `products`
--
ALTER TABLE `products`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;
--
-- AUTO_INCREMENT for table `product_category`
--
ALTER TABLE `product_category`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `reviews`
--
ALTER TABLE `reviews`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `roles`
--
ALTER TABLE `roles`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `settings`
--
ALTER TABLE `settings`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `contacts`
--
ALTER TABLE `contacts`
ADD CONSTRAINT `FK_contacts_contacts` FOREIGN KEY (`parent_id`) REFERENCES `contacts` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION;
--
-- Constraints for table `customers`
--
ALTER TABLE `customers`
ADD CONSTRAINT `FK_customers_users` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE;
--
-- Constraints for table `orders`
--
ALTER TABLE `orders`
ADD CONSTRAINT `FK_orders_coupons` FOREIGN KEY (`coupon_id`) REFERENCES `coupons` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
ADD CONSTRAINT `FK_orders_users` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE;
--
-- Constraints for table `payments`
--
ALTER TABLE `payments`
ADD CONSTRAINT `FK_payments_orders` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
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 */;
|
<filename>db/src/main/resources/db/migration/V1_047__remove_varchar_size_contraints.sql
-- Remove size constraints from all varchar columns where they are specified
ALTER TABLE address ALTER COLUMN address_line_1 TYPE varchar;
ALTER TABLE address ALTER COLUMN address_line_2 TYPE varchar;
ALTER TABLE address ALTER COLUMN town_or_city TYPE varchar;
ALTER TABLE address ALTER COLUMN postcode TYPE varchar;
ALTER TABLE address ALTER COLUMN county TYPE varchar;
ALTER TABLE claim ALTER COLUMN dwp_household_identifier TYPE varchar;
ALTER TABLE claim ALTER COLUMN hmrc_household_identifier TYPE varchar;
ALTER TABLE claim ALTER COLUMN claim_status TYPE varchar;
ALTER TABLE claim ALTER COLUMN eligibility_status TYPE varchar;
ALTER TABLE claim ALTER COLUMN card_account_id TYPE varchar;
ALTER TABLE claim ALTER COLUMN device_fingerprint_hash TYPE varchar;
ALTER TABLE claim ALTER COLUMN web_ui_version TYPE varchar;
ALTER TABLE claim ALTER COLUMN card_status TYPE varchar;
ALTER TABLE claimant ALTER COLUMN first_name TYPE varchar;
ALTER TABLE claimant ALTER COLUMN last_name TYPE varchar;
ALTER TABLE claimant ALTER COLUMN nino TYPE varchar;
ALTER TABLE claimant ALTER COLUMN phone_number TYPE varchar;
ALTER TABLE claimant ALTER COLUMN email_address TYPE varchar;
ALTER TABLE message_queue ALTER COLUMN message_type TYPE varchar;
ALTER TABLE message_queue ALTER COLUMN status TYPE varchar;
ALTER TABLE payment ALTER COLUMN card_account_id TYPE varchar;
ALTER TABLE payment ALTER COLUMN payment_reference TYPE varchar;
ALTER TABLE payment ALTER COLUMN payment_status TYPE varchar;
ALTER TABLE payment_cycle ALTER COLUMN eligibility_status TYPE varchar;
ALTER TABLE payment_cycle ALTER COLUMN payment_cycle_status TYPE varchar;
|
DROP TABLE IF EXISTS `country`;
CREATE TABLE `country` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`iso` char(2) NOT NULL,
`name` varchar(80) NOT NULL,
`nicename` varchar(80) NOT NULL,
`iso3` char(3) DEFAULT NULL,
`numcode` int(6) DEFAULT NULL,
`phonecode` int(5) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB;
INSERT INTO `country` VALUES
(1,'AF','AFGHANISTAN','Afghanistan','AFG',4,93),(2,'AL','ALBANIA','Albania','ALB',8,355),(3,'DZ','ALGERIA','Algeria','DZA',12,213),(4,'AS','AMERICAN SAMOA','American Samoa','ASM',16,1684),(5,'AD','ANDORRA','Andorra','AND',20,376),(6,'AO','ANGOLA','Angola','AGO',24,244),
(7,'AI','ANGUILLA','Anguilla','AIA',660,1264),(8,'AQ','ANTARCTICA','Antarctica',NULL,NULL,0),(9,'AG','ANTIGUA AND BARBUDA','Antigua and Barbuda','ATG',28,1268),(10,'AR','ARGENTINA','Argentina','ARG',32,54),(11,'AM','ARMENIA','Armenia','ARM',51,374),(12,'AW','ARUBA','Aruba','ABW',533,297),
(13,'AU','AUSTRALIA','Australia','AUS',36,61),(14,'AT','AUSTRIA','Austria','AUT',40,43),(15,'AZ','AZERBAIJAN','Azerbaijan','AZE',31,994),(16,'BS','BAHAMAS','Bahamas','BHS',44,1242),(17,'BH','BAHRAIN','Bahrain','BHR',48,973),(18,'BD','BANGLADESH','Bangladesh','BGD',50,880),
(19,'BB','BARBADOS','Barbados','BRB',52,1246),(20,'BY','BELARUS','Belarus','BLR',112,375),(21,'BE','BELGIUM','Belgium','BEL',56,32),(22,'BZ','BELIZE','Belize','BLZ',84,501),(23,'BJ','BENIN','Benin','BEN',204,229),(24,'BM','BERMUDA','Bermuda','BMU',60,1441),
(25,'BT','BHUTAN','Bhutan','BTN',64,975),(26,'BO','BOLIVIA','Bolivia','BOL',68,591),(27,'BA','BOSNIA AND HERZEGOVINA','Bosnia and Herzegovina','BIH',70,387),(28,'BW','BOTSWANA','Botswana','BWA',72,267),(29,'BV','BOUVET ISLAND','Bouvet Island',NULL,NULL,0),(30,'BR','BRAZIL','Brazil','BRA',76,55),
(31,'IO','BRITISH INDIAN OCEAN TERRITORY','British Indian Ocean Territory',NULL,NULL,246),(32,'BN','BRUNEI DARUSSALAM','Brunei Darussalam','BRN',96,673),(33,'BG','BULGARIA','Bulgaria','BGR',100,359),(34,'BF','BURKINA FASO','Burkina Faso','BFA',854,226),(35,'BI','BURUNDI','Burundi','BDI',108,257),(36,'KH','CAMBODIA','Cambodia','KHM',116,855),
(37,'CM','CAMEROON','Cameroon','CMR',120,237),(38,'CA','CANADA','Canada','CAN',124,1),(39,'CV','CAPE VERDE','Cape Verde','CPV',132,238),(40,'KY','CAYMAN ISLANDS','Cayman Islands','CYM',136,1345),(41,'CF','CENTRAL AFRICAN REPUBLIC','Central African Republic','CAF',140,236),(42,'TD','CHAD','Chad','TCD',148,235),
(43,'CL','CHILE','Chile','CHL',152,56),(44,'CN','CHINA','China','CHN',156,86),(45,'CX','CHRISTMAS ISLAND','Christmas Island',NULL,NULL,61),(46,'CC','COCOS (KEELING) ISLANDS','Cocos (Keeling) Islands',NULL,NULL,672),(47,'CO','COLOMBIA','Colombia','COL',170,57),(48,'KM','COMOROS','Comoros','COM',174,269),
(49,'CG','CONGO','Congo','COG',178,242),(50,'CD','CONGO, THE DEMOCRATIC REPUBLIC OF THE','Congo, the Democratic Republic of the','COD',180,243),(51,'CK','COOK ISLANDS','Cook Islands','COK',184,682),(52,'CR','COSTA RICA','Costa Rica','CRI',188,506),(53,'CI','COTE D\'IVOIRE','Cote D\'Ivoire','CIV',384,225),(54,'HR','CROATIA','Croatia','HRV',191,385),
(55,'CU','CUBA','Cuba','CUB',192,53),(56,'CY','CYPRUS','Cyprus','CYP',196,357),(57,'CZ','CZECH REPUBLIC','Czech Republic','CZE',203,420),(58,'DK','DENMARK','Denmark','DNK',208,45),(59,'DJ','DJIBOUTI','Djibouti','DJI',262,253),(60,'DM','DOMINICA','Dominica','DMA',212,1767),
(61,'DO','DOMINICAN REPUBLIC','Dominican Republic','DOM',214,1809),(62,'EC','ECUADOR','Ecuador','ECU',218,593),(63,'EG','EGYPT','Egypt','EGY',818,20),(64,'SV','EL SALVADOR','El Salvador','SLV',222,503),(65,'GQ','EQUATORIAL GUINEA','Equatorial Guinea','GNQ',226,240),(66,'ER','ERITREA','Eritrea','ERI',232,291),
(67,'EE','ESTONIA','Estonia','EST',233,372),(68,'ET','ETHIOPIA','Ethiopia','ETH',231,251),(69,'FK','FALKLAND ISLANDS (MALVINAS)','Falkland Islands (Malvinas)','FLK',238,500),(70,'FO','FAROE ISLANDS','Faroe Islands','FRO',234,298),(71,'FJ','FIJI','Fiji','FJI',242,679),(72,'FI','FINLAND','Finland','FIN',246,358),
(73,'FR','FRANCE','France','FRA',250,33),(74,'GF','FRENCH GUIANA','French Guiana','GUF',254,594),(75,'PF','FRENCH POLYNESIA','French Polynesia','PYF',258,689),(76,'TF','FRENCH SOUTHERN TERRITORIES','French Southern Territories',NULL,NULL,0),(77,'GA','GABON','Gabon','GAB',266,241),(78,'GM','GAMBIA','Gambia','GMB',270,220),
(79,'GE','GEORGIA','Georgia','GEO',268,995),(80,'DE','GERMANY','Germany','DEU',276,49),(81,'GH','GHANA','Ghana','GHA',288,233),(82,'GI','GIBRALTAR','Gibraltar','GIB',292,350),(83,'GR','GREECE','Greece','GRC',300,30),(84,'GL','GREENLAND','Greenland','GRL',304,299),
(85,'GD','GRENADA','Grenada','GRD',308,1473),(86,'GP','GUADELOUPE','Guadeloupe','GLP',312,590),(87,'GU','GUAM','Guam','GUM',316,1671),(88,'GT','GUATEMALA','Guatemala','GTM',320,502),(89,'GN','GUINEA','Guinea','GIN',324,224),(90,'GW','GUINEA-BISSAU','Guinea-Bissau','GNB',624,245),
(91,'GY','GUYANA','Guyana','GUY',328,592),(92,'HT','HAITI','Haiti','HTI',332,509),(93,'HM','HEARD ISLAND AND MCDONALD ISLANDS','Heard Island and Mcdonald Islands',NULL,NULL,0),(94,'VA','HOLY SEE (VATICAN CITY STATE)','Holy See (Vatican City State)','VAT',336,39),(95,'HN','HONDURAS','Honduras','HND',340,504),(96,'HK','HONG KONG','Hong Kong','HKG',344,852),
(97,'HU','HUNGARY','Hungary','HUN',348,36),(98,'IS','ICELAND','Iceland','ISL',352,354),(99,'IN','INDIA','India','IND',356,91),(100,'ID','INDONESIA','Indonesia','IDN',360,62),(101,'IR','IRAN, ISLAMIC REPUBLIC OF','Iran, Islamic Republic of','IRN',364,98),(102,'IQ','IRAQ','Iraq','IRQ',368,964),
(103,'IE','IRELAND','Ireland','IRL',372,353),(104,'IL','ISRAEL','Israel','ISR',376,972),(105,'IT','ITALY','Italy','ITA',380,39),(106,'JM','JAMAICA','Jamaica','JAM',388,1876),(107,'JP','JAPAN','Japan','JPN',392,81),(108,'JO','JORDAN','Jordan','JOR',400,962),
(109,'KZ','KAZAKHSTAN','Kazakhstan','KAZ',398,7),(110,'KE','KENYA','Kenya','KEN',404,254),(111,'KI','KIRIBATI','Kiribati','KIR',296,686),(112,'KP','KOREA, DEMOCRATIC PEOPLE\'S REPUBLIC OF','Korea, Democratic People\'s Republic of','PRK',408,850),(113,'KR','KOREA, REPUBLIC OF','Korea, Republic of','KOR',410,82),(114,'KW','KUWAIT','Kuwait','KWT',414,965),
(115,'KG','KYRGYZSTAN','Kyrgyzstan','KGZ',417,996),(116,'LA','LAO PEOPLE\'S DEMOCRATIC REPUBLIC','Lao People\'s Democratic Republic','LAO',418,856),(117,'LV','LATVIA','Latvia','LVA',428,371),(118,'LB','LEBANON','Lebanon','LBN',422,961),(119,'LS','LESOTHO','Lesotho','LSO',426,266),(120,'LR','LIBERIA','Liberia','LBR',430,231),
(121,'LY','<NAME>','Libyan Arab Jamahiriya','LBY',434,218),(122,'LI','LIECHTENSTEIN','Liechtenstein','LIE',438,423),(123,'LT','LITHUANIA','Lithuania','LTU',440,370),(124,'LU','LUXEMBOURG','Luxembourg','LUX',442,352),(125,'MO','MACAO','Macao','MAC',446,853),(126,'MK','MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF','Macedonia, the Former Yugoslav Republic of','MKD',807,389),
(127,'MG','MADAGASCAR','Madagascar','MDG',450,261),(128,'MW','MALAWI','Malawi','MWI',454,265),(129,'MY','MALAYSIA','Malaysia','MYS',458,60),(130,'MV','MALDIVES','Maldives','MDV',462,960),(131,'ML','MALI','Mali','MLI',466,223),(132,'MT','MALTA','Malta','MLT',470,356),
(133,'MH','MARSHALL ISLANDS','Marshall Islands','MHL',584,692),(134,'MQ','MARTINIQUE','Martinique','MTQ',474,596),(135,'MR','MAURITANIA','Mauritania','MRT',478,222),(136,'MU','MAURITIUS','Mauritius','MUS',480,230),(137,'YT','MAYOTTE','Mayotte',NULL,NULL,269),(138,'MX','MEXICO','Mexico','MEX',484,52),
(139,'FM','MICRONESIA, FEDERATED STATES OF','Micronesia, Federated States of','FSM',583,691),(140,'MD','MOLDOVA, REPUBLIC OF','Moldova, Republic of','MDA',498,373),(141,'MC','MONACO','Monaco','MCO',492,377),(142,'MN','MONGOLIA','Mongolia','MNG',496,976),(143,'MS','MONTSERRAT','Montserrat','MSR',500,1664),(144,'MA','MOROCCO','Morocco','MAR',504,212),
(145,'MZ','MOZAMBIQUE','Mozambique','MOZ',508,258),(146,'MM','MYANMAR','Myanmar','MMR',104,95),(147,'NA','NAMIBIA','Namibia','NAM',516,264),(148,'NR','NAURU','Nauru','NRU',520,674),(149,'NP','NEPAL','Nepal','NPL',524,977),(150,'NL','NETHERLANDS','Netherlands','NLD',528,31),
(151,'AN','NETHERLANDS ANTILLES','Netherlands Antilles','ANT',530,599),(152,'NC','NEW CALEDONIA','New Caledonia','NCL',540,687),(153,'NZ','NEW ZEALAND','New Zealand','NZL',554,64),(154,'NI','NICARAGUA','Nicaragua','NIC',558,505),(155,'NE','NIGER','Niger','NER',562,227),(156,'NG','NIGERIA','Nigeria','NGA',566,234),
(157,'NU','NIUE','Niue','NIU',570,683),(158,'NF','NORFOLK ISLAND','Norfolk Island','NFK',574,672),(159,'MP','NORTHERN MARIANA ISLANDS','Northern Mariana Islands','MNP',580,1670),(160,'NO','NORWAY','Norway','NOR',578,47),(161,'OM','OMAN','Oman','OMN',512,968),(162,'PK','PAKISTAN','Pakistan','PAK',586,92),
(163,'PW','PALAU','Palau','PLW',585,680),(164,'PS','PALESTINIAN TERRITORY, OCCUPIED','Palestinian Territory, Occupied',NULL,NULL,970),(165,'PA','PANAMA','Panama','PAN',591,507),(166,'PG','PAPUA NEW GUINEA','Papua New Guinea','PNG',598,675),(167,'PY','PARAGUAY','Paraguay','PRY',600,595),(168,'PE','PERU','Peru','PER',604,51),
(169,'PH','PHILIPPINES','Philippines','PHL',608,63),(170,'PN','PITCAIRN','Pitcairn','PCN',612,0),(171,'PL','POLAND','Poland','POL',616,48),(172,'PT','PORTUGAL','Portugal','PRT',620,351),(173,'PR','PUERTO RICO','Puerto Rico','PRI',630,1787),(174,'QA','QATAR','Qatar','QAT',634,974),
(175,'RE','REUNION','Reunion','REU',638,262),(176,'RO','ROMANIA','Romania','ROM',642,40),(177,'RU','RUSSIAN FEDERATION','Russian Federation','RUS',643,7),(178,'RW','RWANDA','Rwanda','RWA',646,250),(179,'SH','SAINT HELENA','Saint Helena','SHN',654,290),(180,'KN','SAINT KITTS AND NEVIS','Saint Kitts and Nevis','KNA',659,1869),
(181,'LC','SAINT LUCIA','Saint Lucia','LCA',662,1758),(182,'PM','SAINT PIERRE AND MIQUELON','Saint Pierre and Miquelon','SPM',666,508),(183,'VC','SAINT VINCENT AND THE GRENADINES','Saint Vincent and the Grenadines','VCT',670,1784),(184,'WS','SAMOA','Samoa','WSM',882,684),(185,'SM','SAN MARINO','San Marino','SMR',674,378),(186,'ST','SAO TOME AND PRINCIPE','Sao Tome and Principe','STP',678,239),
(187,'SA','SAUDI ARABIA','Saudi Arabia','SAU',682,966),(188,'SN','SENEGAL','Senegal','SEN',686,221),(190,'SC','SEYCHELLES','Seychelles','SYC',690,248),(191,'SL','SIERRA LEONE','Sierra Leone','SLE',694,232),(192,'SG','SINGAPORE','Singapore','SGP',702,65),(193,'SK','SLOVAKIA','Slovakia','SVK',703,421),
(194,'SI','SLOVENIA','Slovenia','SVN',705,386),(195,'SB','SOLOMON ISLANDS','Solomon Islands','SLB',90,677),(196,'SO','SOMALIA','Somalia','SOM',706,252),(197,'ZA','SOUTH AFRICA','South Africa','ZAF',710,27),(198,'GS','SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS','South Georgia and the South Sandwich Islands',NULL,NULL,0),(199,'ES','SPAIN','Spain','ESP',724,34),
(200,'LK','SRI LANKA','Sri Lanka','LKA',144,94),(201,'SD','SUDAN','Sudan','SDN',736,249),(202,'SR','SURINAME','Suriname','SUR',740,597),(203,'SJ','SVALBARD AND JAN MAYEN','Svalbard and Jan Mayen','SJM',744,47),(204,'SZ','SWAZILAND','Swaziland','SWZ',748,268),(205,'SE','SWEDEN','Sweden','SWE',752,46),
(206,'CH','SWITZERLAND','Switzerland','CHE',756,41),(207,'SY','SYRIAN ARAB REPUBLIC','Syrian Arab Republic','SYR',760,963),(208,'TW','TAIWAN, PROVINCE OF CHINA','Taiwan, Province of China','TWN',158,886),(209,'TJ','TAJIKISTAN','Tajikistan','TJK',762,992),(210,'TZ','TANZANIA, UNITED REPUBLIC OF','Tanzania, United Republic of','TZA',834,255),(211,'TH','THAILAND','Thailand','THA',764,66),
(212,'TL','TIMOR-LESTE','Timor-Leste',NULL,NULL,670),(213,'TG','TOGO','Togo','TGO',768,228),(214,'TK','TOKELAU','Tokelau','TKL',772,690),(215,'TO','TONGA','Tonga','TON',776,676),(216,'TT','TRINIDAD AND TOBAGO','Trinidad and Tobago','TTO',780,1868),(217,'TN','TUNISIA','Tunisia','TUN',788,216),
(218,'TR','TURKEY','Turkey','TUR',792,90),(219,'TM','TURKMENISTAN','Turkmenistan','TKM',795,7370),(220,'TC','TURKS AND CAICOS ISLANDS','Turks and Caicos Islands','TCA',796,1649),(221,'TV','TUVALU','Tuvalu','TUV',798,688),(222,'UG','UGANDA','Uganda','UGA',800,256),(223,'UA','UKRAINE','Ukraine','UKR',804,380),
(224,'AE','UNITED ARAB EMIRATES','United Arab Emirates','ARE',784,971),(225,'GB','UNITED KINGDOM','United Kingdom','GBR',826,44),(226,'US','UNITED STATES','United States','USA',840,1),(227,'UM','UNITED STATES MINOR OUTLYING ISLANDS','United States Minor Outlying Islands',NULL,NULL,1),(228,'UY','URUGUAY','Uruguay','URY',858,598),(229,'UZ','UZBEKISTAN','Uzbekistan','UZB',860,998),
(230,'VU','VANUATU','Vanuatu','VUT',548,678),(231,'VE','VENEZUELA','Venezuela','VEN',862,58),(232,'VN','VIET NAM','Viet Nam','VNM',704,84),(233,'VG','VIRGIN ISLANDS, BRITISH','Virgin Islands, British','VGB',92,1284),(234,'VI','VIRGIN ISLANDS, U.S.','Virgin Islands, U.s.','VIR',850,1340),(235,'WF','WALLIS AND FUTUNA','Wallis and Futuna','WLF',876,681),
(236,'EH','WESTERN SAHARA','Western Sahara','ESH',732,212),(237,'YE','YEMEN','Yemen','YEM',887,967),(238,'ZM','ZAMBIA','Zambia','ZMB',894,260),(239,'ZW','ZIMBABWE','Zimbabwe','ZWE',716,263),(240,'RS','SERBIA','Serbia','SRB',688,381),(241,'AP','ASIA PACIFIC REGION','Asia / Pacific Region','0',0,0),
(242,'ME','MONTENEGRO','Montenegro','MNE',499,382),(243,'AX','ALAND ISLANDS','Aland Islands','ALA',248,358),(244,'BQ','BONAIRE, SINT EUSTATIUS AND SABA','Bonaire, Sint Eustatius and Saba','BES',535,599),(245,'CW','CURACAO','Curacao','CUW',531,599),(246,'GG','GUERNSEY','Guernsey','GGY',831,44),(247,'IM','ISLE OF MAN','Isle of Man','IMN',833,44),
(248,'JE','JERSEY','Jersey','JEY',832,44),(249,'XK','KOSOVO','Kosovo','---',0,381),(250,'BL','SAINT BARTHELEMY','Saint Barthelemy','BLM',652,590),(251,'MF','SAINT MARTIN','Saint Martin','MAF',663,590),(252,'SX','SINT MAARTEN','Sint Maarten','SXM',534,1),(253,'SS','SOUTH SUDAN','South Sudan','SSD',728,211);
|
<reponame>HaruhiYunona/Sakura_Chat_Room
-- phpMyAdmin SQL Dump
-- version 4.4.15.10
-- https://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: 2021-06-11 17:49:07
-- 服务器版本: 5.6.49-log
-- PHP Version: 5.6.40
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: `acghouse`
--
-- --------------------------------------------------------
--
-- 表的结构 `user`
--
CREATE TABLE IF NOT EXISTS `user` (
`uid` int(10) NOT NULL COMMENT 'uid',
`nickName` varchar(200) NOT NULL COMMENT '昵称',
`passWd` varchar(200) NOT NULL COMMENT '密码',
`exp` int(10) NOT NULL COMMENT '经验',
`glory` varchar(200) NOT NULL COMMENT '荣誉'
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
--
-- 转存表中的数据 `user`
--
--
-- Indexes for dumped tables
--
--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`uid`),
ADD UNIQUE KEY `uid` (`uid`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
MODIFY `uid` int(10) NOT NULL AUTO_INCREMENT COMMENT 'uid',AUTO_INCREMENT=2;
/*!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 */;
|
<reponame>danieldiamond/gitlab-analytics
{% macro hash_of_column_in_view(column) %}
{% set results = run_query("select ENCRYPT('{{ get_salt(column|lower) }}', '{{ get_salt(column|lower) }}')::VARCHAR") %}
sha2(
TRIM(
LOWER(
{{column|lower}} || '{{results.columns[0].values()[0]}}'
)
)
) AS {{column|lower}}_hash,
{% endmacro %} |
<reponame>Shuttl-Tech/antlr_psql<filename>src/test/resources/sql/select/0b659944.sql
-- file:collate.icu.utf8.sql ln:120 expect:true
SELECT 'Türkiye' COLLATE "en-x-icu" ILIKE '%KI%' AS "true"
|
UPDATE `sys_objects_actions` SET `Caption` = '{shareCpt}' WHERE `Type` = 'bx_files' AND `Caption` = '_bx_files_action_share';
-- delete unused language keys
DELETE `sys_localization_strings` FROM `sys_localization_strings`, `sys_localization_keys` WHERE `sys_localization_keys`.`ID` = `sys_localization_strings`.`IDKey` AND `sys_localization_keys`.`Key` IN('_bx_files_action_share');
DELETE FROM `sys_localization_keys` WHERE `Key` IN('_bx_files_action_share');
-- update module version
UPDATE `sys_modules` SET `version` = '1.1.2' WHERE `uri` = 'files' AND `version` = '1.1.1';
|
<reponame>ESPORTMOH/PROYECTO_ESPORT_G6
-- Generado en Oracle SQL Developer Data Modeler 4.1.1.888
-- autor <NAME>
-- fecha: 2018-04-19 13:30:57 CEST
-- sitio: Oracle Database 12c - Puesto A222P12
-- tipo: Oracle Database 12c
-- version: OPCION 1
-- notas: faltan que las claves primarias sean autoincrementales y reordenar codigo a mi gusto
-- porque este es el autogenerado, aun asi no ha generado ningun tipo de error al crear
CREATE TABLE ADMINISTRADOR
(
COD_ADMIN VARCHAR2 (10) NOT NULL ,
NOMBRE VARCHAR2 (20) NOT NULL ,
APELLIDO VARCHAR2 (20) NOT NULL ,
LOGIN_COD_LOGIN NUMBER (10) NOT NULL ,
COD_ADMIN1 VARCHAR2 (10) NOT NULL
) ;
ALTER TABLE ADMINISTRADOR ADD CONSTRAINT ADMINISTRADOR_PK PRIMARY KEY ( COD_ADMIN ) ;
CREATE TABLE DUENO
(
COD_DUENO NUMBER (10) NOT NULL ,
NOMBRE VARCHAR2 (20) NOT NULL ,
APELLIDOS VARCHAR2 (20) NOT NULL ,
"USER" VARCHAR2 (8) NOT NULL ,
PASS VARCHAR2 (8) NOT NULL ,
EQUIPO_COD_EQUIPO NUMBER (8) NOT NULL ,
LOGIN_COD_LOGIN NUMBER (10) NOT NULL ,
COD_ADMIN VARCHAR2 (10) NOT NULL
) ;
ALTER TABLE DUENO ADD CONSTRAINT DUENO_PK PRIMARY KEY ( COD_DUENO ) ;
CREATE TABLE EQUIPO
(
COD_EQUIPO NUMBER (8) NOT NULL ,
NOMBRE VARCHAR2 (20) NOT NULL ,
PRESUPUESTO NUMBER (6) NOT NULL ,
ANO_FUNDACION DATE NOT NULL ,
CIUDAD VARCHAR2 (20) NOT NULL ,
ESTADIO VARCHAR2 (20) NOT NULL ,
DUENO_COD_DUENO NUMBER (10) NOT NULL ,
PARTIDO_COD_PARTIDO NUMBER (10) NOT NULL ,
PARTIDO_COD_PARTIDO1 NUMBER (10) NOT NULL
) ;
ALTER TABLE EQUIPO ADD CONSTRAINT EQUIPO_PK PRIMARY KEY ( COD_EQUIPO ) ;
CREATE TABLE JORNADA
(
COD_JORNADA NUMBER (14) NOT NULL ,
FECHA_INICIO DATE NOT NULL ,
FECHA_FIN DATE NOT NULL ,
EQUIPO_LOCAL VARCHAR2 (20) NOT NULL ,
EQUIPO_VISITANTE VARCHAR2 (20) NOT NULL ,
NUMERO_TEMPORADA NUMBER (2) NOT NULL
) ;
ALTER TABLE JORNADA ADD CONSTRAINT JORNADA_PK PRIMARY KEY ( COD_JORNADA ) ;
CREATE TABLE JUGADOR
(
COD_JUGADOR NUMBER (48) NOT NULL ,
NOMBRE VARCHAR2 (20) NOT NULL ,
APELLIDO VARCHAR2 (20) NOT NULL ,
NICKNAME VARCHAR2 (10) NOT NULL ,
SUELDO NUMBER NOT NULL ,
FECHA_NACIMIENTO DATE ,
NACIONALIDAD VARCHAR2 (20) ,
POSICION VARCHAR2 (10) ,
EQUIPO_COD_EQUIPO NUMBER (8) NOT NULL
) ;
ALTER TABLE JUGADOR ADD CONSTRAINT JUGADOR_PK PRIMARY KEY ( COD_JUGADOR ) ;
CREATE TABLE LOGIN
(
COD_LOGIN NUMBER (10) NOT NULL ,
"USER" VARCHAR2 (8) NOT NULL ,
PASS VARCHAR2 (8) NOT NULL ,
ADMINISTRADOR_COD_ADMIN VARCHAR2 (10) NOT NULL ,
DUENO_COD_DUENO NUMBER (10) NOT NULL ,
USUARIO_USUARIO_ID NUMBER NOT NULL
) ;
ALTER TABLE LOGIN ADD CONSTRAINT LOGIN_PK PRIMARY KEY ( COD_LOGIN ) ;
CREATE TABLE PARTIDO
(
COD_PARTIDO NUMBER (10) NOT NULL ,
FECHA DATE NOT NULL ,
HORA DATE NOT NULL ,
PUNTOS_LOCAL VARCHAR2 (3) NOT NULL ,
PUNTOS_VISITANTE VARCHAR2 (3) NOT NULL ,
EQUIPO_COD_EQUIPO NUMBER (8) NOT NULL ,
EQUIPO_COD_EQUIPO1 NUMBER (8) NOT NULL ,
JORNADA_COD_JORNADA NUMBER (14) NOT NULL
) ;
ALTER TABLE PARTIDO ADD CONSTRAINT PARTIDO_PK PRIMARY KEY ( JORNADA_COD_JORNADA, COD_PARTIDO ) ;
CREATE TABLE USUARIO
(
COD_USUARIO NUMBER (10) NOT NULL ,
NOMBRE VARCHAR2 (20) NOT NULL ,
APELLIDO VARCHAR2 (20) NOT NULL ,
FECHA_NACIMIENTO DATE NOT NULL ,
LOGIN_COD_LOGIN NUMBER (10) NOT NULL ,
COD_ADMIN VARCHAR2 (10) NOT NULL
) ;
ALTER TABLE USUARIO ADD CONSTRAINT USUARIO_PK PRIMARY KEY ( COD_USUARIO ) ;
ALTER TABLE ADMINISTRADOR ADD CONSTRAINT ADMINISTRADOR_LOGIN_FK FOREIGN KEY ( LOGIN_COD_LOGIN ) REFERENCES LOGIN ( COD_LOGIN ) ;
ALTER TABLE DUENO ADD CONSTRAINT DUENO_EQUIPO_FK FOREIGN KEY ( EQUIPO_COD_EQUIPO ) REFERENCES EQUIPO ( COD_EQUIPO ) ;
ALTER TABLE DUENO ADD CONSTRAINT DUENO_LOGIN_FK FOREIGN KEY ( LOGIN_COD_LOGIN ) REFERENCES LOGIN ( COD_LOGIN ) ;
ALTER TABLE EQUIPO ADD CONSTRAINT EQUIPO_DUENO_FK FOREIGN KEY ( DUENO_COD_DUENO ) REFERENCES DUENO ( COD_DUENO ) ;
ALTER TABLE EQUIPO ADD CONSTRAINT EQUIPO_PARTIDO_FK FOREIGN KEY ( PARTIDO_COD_PARTIDO ) REFERENCES PARTIDO ( JORNADA_COD_JORNADA, COD_PARTIDO ) ;
ALTER TABLE EQUIPO ADD CONSTRAINT EQUIPO_PARTIDO_FKv1 FOREIGN KEY ( PARTIDO_COD_PARTIDO1 ) REFERENCES PARTIDO ( JORNADA_COD_JORNADA, COD_PARTIDO ) ;
ALTER TABLE JUGADOR ADD CONSTRAINT JUGADOR_EQUIPO_FK FOREIGN KEY ( EQUIPO_COD_EQUIPO ) REFERENCES EQUIPO ( COD_EQUIPO ) ;
ALTER TABLE LOGIN ADD CONSTRAINT LOGIN_ADMINISTRADOR_FK FOREIGN KEY ( ADMINISTRADOR_COD_ADMIN ) REFERENCES ADMINISTRADOR ( COD_ADMIN ) ;
ALTER TABLE LOGIN ADD CONSTRAINT LOGIN_DUENO_FK FOREIGN KEY ( DUENO_COD_DUENO ) REFERENCES DUENO ( COD_DUENO ) ;
ALTER TABLE LOGIN ADD CONSTRAINT LOGIN_USUARIO_FK FOREIGN KEY ( USUARIO_USUARIO_ID ) REFERENCES USUARIO ( COD_USUARIO ) ;
ALTER TABLE PARTIDO ADD CONSTRAINT PARTIDO_EQUIPO_FK FOREIGN KEY ( EQUIPO_COD_EQUIPO ) REFERENCES EQUIPO ( COD_EQUIPO ) ;
ALTER TABLE PARTIDO ADD CONSTRAINT PARTIDO_EQUIPO_FKv1 FOREIGN KEY ( EQUIPO_COD_EQUIPO1 ) REFERENCES EQUIPO ( COD_EQUIPO ) ;
ALTER TABLE PARTIDO ADD CONSTRAINT PARTIDO_JORNADA_FK FOREIGN KEY ( JORNADA_COD_JORNADA ) REFERENCES JORNADA ( COD_JORNADA ) ;
ALTER TABLE USUARIO ADD CONSTRAINT USUARIO_LOGIN_FK FOREIGN KEY ( LOGIN_COD_LOGIN ) REFERENCES LOGIN ( COD_LOGIN ) ;
CREATE SEQUENCE USUARIO_COD_USUARIO_SEQ START WITH 1 NOCACHE ORDER ;
CREATE OR REPLACE TRIGGER USUARIO_COD_USUARIO_TRG BEFORE
INSERT ON USUARIO FOR EACH ROW WHEN (NEW.COD_USUARIO IS NULL) BEGIN :NEW.COD_USUARIO := USUARIO_COD_USUARIO_SEQ.NEXTVAL;
END;
/
-- Informe de Resumen de Oracle SQL Developer Data Modeler:
--
-- CREATE TABLE 8
-- CREATE INDEX 0
-- ALTER TABLE 22
-- CREATE VIEW 0
-- ALTER VIEW 0
-- CREATE PACKAGE 0
-- CREATE PACKAGE BODY 0
-- CREATE PROCEDURE 0
-- CREATE FUNCTION 0
-- CREATE TRIGGER 1
-- ALTER TRIGGER 0
-- CREATE COLLECTION TYPE 0
-- CREATE STRUCTURED TYPE 0
-- CREATE STRUCTURED TYPE BODY 0
-- CREATE CLUSTER 0
-- CREATE CONTEXT 0
-- CREATE DATABASE 0
-- CREATE DIMENSION 0
-- CREATE DIRECTORY 0
-- CREATE DISK GROUP 0
-- CREATE ROLE 0
-- CREATE ROLLBACK SEGMENT 0
-- CREATE SEQUENCE 1
-- CREATE MATERIALIZED VIEW 0
-- CREATE SYNONYM 0
-- CREATE TABLESPACE 0
-- CREATE USER 0
--
-- DROP TABLESPACE 0
-- DROP DATABASE 0
--
-- REDACTION POLICY 0
-- TSDP POLICY 0
--
-- ORDS DROP SCHEMA 0
-- ORDS ENABLE SCHEMA 0
-- ORDS ENABLE OBJECT 0
--
-- ERRORS 0
-- WARNINGS 0
|
<filename>sql/dim_sneakers/pull_from_staging.sql<gh_stars>0
SELECT * FROM dim_sneakers WHERE updated_at = DATE('{{ ds }}') |
<reponame>SevDan/reports
alter table REPORT_REPORT add DELETE_TS timestamp^
alter table REPORT_REPORT add DELETED_BY varchar(50)^
alter table REPORT_GROUP add DELETE_TS timestamp^
alter table REPORT_GROUP add DELETED_BY varchar(50)^
alter table REPORT_TEMPLATE add DELETE_TS timestamp^
alter table REPORT_TEMPLATE add DELETED_BY varchar(50)^
alter table REPORT_GROUP drop constraint REPORT_GROUP_UNIQ_TITLE^
alter table REPORT_GROUP add constraint REPORT_GROUP_UNIQ_TITLE unique (TITLE, DELETE_TS)^
alter table REPORT_REPORT drop constraint REPORT_REPORT_UNIQ_NAME^
alter table REPORT_REPORT add constraint REPORT_REPORT_UNIQ_NAME unique (NAME, DELETE_TS)^
|
<reponame>bcui6611/gpudb
select sum(lo_extendedprice*lo_discount) as revenue
from lineorder,ddate
where lo_orderdate = d_datekey
and d_year = 1993 and lo_discount>=1
and lo_discount<=3
and lo_quantity<25;
|
<gh_stars>1-10
drop type if exists language; |
<gh_stars>10-100
CREATE TABLE handle (
ROWID INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE,
id TEXT NOT NULL,
country TEXT,
service TEXT NOT NULL,
uncanonicalized_id TEXT,
person_centric_id TEXT,
UNIQUE (id, service)
) |
CREATE TABLE public.documents (
pk_documents SERIAL8,
doc_stuff TEXT,
CONSTRAINT idx_documents PRIMARY KEY (pk_documents)
);
CREATE TABLE public.docs_usage (
pk_docs_usage SERIAL8,
fk_documents BIGINT,
fk_library_profile BIGINT,
place_used TEXT,
CONSTRAINT idx_docs_usage PRIMARY KEY (pk_docs_usage)
);
CREATE TABLE public.library_profile (
pk_library_profile SERIAL8,
library_name TEXT,
CONSTRAINT idx_library_profile PRIMARY KEY (pk_library_profile)
);
CREATE INDEX es_documents ON documents USING zombodb ((documents.*));
CREATE INDEX es_docs_usage ON docs_usage USING zombodb ((docs_usage.*));
CREATE INDEX es_library_profile ON library_profile USING zombodb ((library_profile.*));
CREATE FUNCTION documents_shadow(anyelement) RETURNS anyelement IMMUTABLE STRICT PARALLEL SAFE LANGUAGE c AS '$libdir/zombodb.so', 'shadow_wrapper';
CREATE INDEX idxdocuments_master_view_shadow ON documents USING zombodb (documents_shadow(documents.*))
WITH (
shadow = true,
options = $$
docs_usage_data:(pk_documents=<public.docs_usage.es_docs_usage>fk_documents),
fk_library_profile=<public.library_profile.es_library_profile>pk_library_profile
$$
);
CREATE OR REPLACE VIEW documents_master_view AS
SELECT
documents.*,
(SELECT json_agg(row_to_json(du.*)) AS json_agg
FROM (SELECT
docs_usage.*,
(SELECT library_profile.library_name
FROM library_profile
WHERE library_profile.pk_library_profile = docs_usage.fk_library_profile) AS library_name
FROM docs_usage
WHERE documents.pk_documents = docs_usage.fk_documents) du) AS usage_data,
documents_shadow(documents) AS zdb
FROM public.documents;
INSERT INTO documents (doc_stuff)
VALUES ('Every good boy does fine.'), ('Sally sells sea shells down by the seashore.'),
('The quick brown fox jumps over the lazy dog.');
INSERT INTO library_profile (library_name) VALUES ('GSO Public Library'), ('Library of Congress'), ('The interwebs.');
INSERT INTO docs_usage (fk_documents, fk_library_profile, place_used)
VALUES (1, 1, 'somewhere'), (2, 2, 'anywhere'), (3, 3, 'everywhere'), (3, 1, 'somewhere');
SELECT count(*) FROM documents_master_view WHERE public.documents_master_view.zdb ==> 'somewhere';
SELECT count(*) FROM documents_master_view WHERE public.documents_master_view.zdb ==> 'GSO';
set enable_indexscan to off;
set enable_bitmapscan to off;
explain (costs off) SELECT count(*) FROM documents_master_view WHERE public.documents_master_view.zdb ==> 'somewhere';
SELECT count(*) FROM documents_master_view WHERE public.documents_master_view.zdb ==> 'somewhere';
DROP TABLE documents CASCADE;
DROP TABLE docs_usage CASCADE;
DROP TABLE library_profile CASCADE;
DROP FUNCTION documents_shadow CASCADE; |
<gh_stars>1-10
-- @author prabhd
-- @created 2012-12-05 12:00:00
-- @modified 2012-12-05 12:00:00
-- @tags dml HAWQ
-- @db_name dmldb
-- @description test15: Join with DISTINCT
\echo --start_ignore
set gp_enable_column_oriented_table=on;
\echo --end_ignore
SELECT COUNT(*) FROM dml_heap_s;
SELECT COUNT(*) FROM (SELECT DISTINCT dml_heap_r.a,dml_heap_r.b,dml_heap_s.c FROM dml_heap_s INNER JOIN dml_heap_r on dml_heap_s.a = dml_heap_r.a)foo;
INSERT INTO dml_heap_s SELECT DISTINCT dml_heap_r.a,dml_heap_r.b,dml_heap_s.c FROM dml_heap_s INNER JOIN dml_heap_r on dml_heap_s.a = dml_heap_r.a ;
SELECT COUNT(*) FROM dml_heap_s;
|
/**
* MySQL
*/
DROP TABLE IF EXISTS `post`;
CREATE TABLE `post` (
`id` INT(11) NOT NULL PRIMARY KEY AUTO_INCREMENT,
`title` VARCHAR(255) NOT NULL,
`body` TEXT NOT NULL
);
|
BEGIN;
CREATE OR REPLACE VIEW bpp_zewnetrzne_bazy_wydawnictwo_ciagle_view AS
SELECT
ARRAY [
(SELECT id
FROM django_content_type
WHERE
django_content_type.app_label = 'bpp' AND
django_content_type.model = 'wydawnictwo_ciagle'),
bpp_wydawnictwo_ciagle_zewnetrzna_baza_danych.rekord_id
] :: INTEGER [2] AS rekord_id,
baza_id,
INFO
FROM bpp_wydawnictwo_ciagle_zewnetrzna_baza_danych;
CREATE OR REPLACE VIEW bpp_zewnetrzne_bazy_view AS
SELECT *
FROM bpp_zewnetrzne_bazy_wydawnictwo_ciagle_view;
COMMIT;
|
<gh_stars>0
-- --------------------------------------------------------
-- Hôte : 127.0.0.1
-- Version du serveur: 10.4.11-MariaDB - mariadb.org binary distribution
-- SE du serveur: Win64
-- HeidiSQL Version: 10.2.0.5599
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
-- Listage de la structure de la base pour fastfood
CREATE DATABASE IF NOT EXISTS `fastfood` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `fastfood`;
-- Listage de la structure de la table fastfood. cartes
CREATE TABLE IF NOT EXISTS `cartes` (
`id` int(11) NOT NULL,
`country` varchar(2) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Les données exportées n'étaient pas sélectionnées.
-- Listage de la structure de la table fastfood. cartes_items
CREATE TABLE IF NOT EXISTS `cartes_items` (
`carte_id` int(11) DEFAULT NULL,
`item_id` int(11) DEFAULT NULL,
KEY `FK_cartes_items_cartes` (`carte_id`),
KEY `FK_cartes_items_items` (`item_id`),
CONSTRAINT `FK_cartes_items_cartes` FOREIGN KEY (`carte_id`) REFERENCES `cartes` (`id`),
CONSTRAINT `FK_cartes_items_items` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Les données exportées n'étaient pas sélectionnées.
-- Listage de la structure de la table fastfood. cmd_items
CREATE TABLE IF NOT EXISTS `cmd_items` (
`cmd_id` int(11) NOT NULL,
`item_id` int(11) NOT NULL,
`quantite` int(11) NOT NULL,
KEY `FK__commandes` (`cmd_id`),
KEY `FK__items` (`item_id`),
CONSTRAINT `FK__commandes` FOREIGN KEY (`cmd_id`) REFERENCES `commandes` (`id`),
CONSTRAINT `FK__items` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Les données exportées n'étaient pas sélectionnées.
-- Listage de la structure de la table fastfood. cmd_menus
CREATE TABLE IF NOT EXISTS `cmd_menus` (
`cmd_id` int(11) NOT NULL,
`menu_id` int(11) NOT NULL,
`quantite` int(11) NOT NULL,
KEY `FK_cmd_menus_commandes` (`cmd_id`),
KEY `FK_cmd_menus_menus` (`menu_id`),
CONSTRAINT `FK_cmd_menus_commandes` FOREIGN KEY (`cmd_id`) REFERENCES `commandes` (`id`),
CONSTRAINT `FK_cmd_menus_menus` FOREIGN KEY (`menu_id`) REFERENCES `menus` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Les données exportées n'étaient pas sélectionnées.
-- Listage de la structure de la table fastfood. commandes
CREATE TABLE IF NOT EXISTS `commandes` (
`id` int(11) NOT NULL,
`date` datetime NOT NULL,
`restaurant_id` int(11) NOT NULL,
`total` decimal(10,2) NOT NULL DEFAULT 0.00,
`paiement_id` int(11) NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
KEY `FK_commandes_restaurants` (`restaurant_id`),
KEY `FK_commandes_paiements` (`paiement_id`),
CONSTRAINT `FK_commandes_paiements` FOREIGN KEY (`paiement_id`) REFERENCES `paiements` (`id`),
CONSTRAINT `FK_commandes_restaurants` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Les données exportées n'étaient pas sélectionnées.
-- Listage de la structure de la table fastfood. fonctions
CREATE TABLE IF NOT EXISTS `fonctions` (
`id` int(11) NOT NULL,
`name` varchar(50) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Les données exportées n'étaient pas sélectionnées.
-- Listage de la structure de la table fastfood. ingredients
CREATE TABLE IF NOT EXISTS `ingredients` (
`id` int(11) NOT NULL,
`name` varchar(50) NOT NULL DEFAULT '',
`prix_achat` decimal(10,2) NOT NULL DEFAULT 0.00,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Les données exportées n'étaient pas sélectionnées.
-- Listage de la structure de la table fastfood. ingredients_items
CREATE TABLE IF NOT EXISTS `ingredients_items` (
`ingredient_id` int(11) NOT NULL,
`item_id` int(11) NOT NULL,
`name` varchar(50) NOT NULL,
`quant_par_itm` decimal(10,2) NOT NULL,
KEY `FK_ingredients_items_ingredients` (`ingredient_id`),
KEY `FK_ingredients_items_items` (`item_id`),
CONSTRAINT `FK_ingredients_items_ingredients` FOREIGN KEY (`ingredient_id`) REFERENCES `ingredients` (`id`),
CONSTRAINT `FK_ingredients_items_items` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Les données exportées n'étaient pas sélectionnées.
-- Listage de la structure de la table fastfood. items
CREATE TABLE IF NOT EXISTS `items` (
`id` int(11) NOT NULL,
`items_type_id` int(11) NOT NULL,
`nom` varchar(50) NOT NULL DEFAULT '',
`prix_vente` decimal(10,2) NOT NULL DEFAULT 0.00,
PRIMARY KEY (`id`),
KEY `FK_items_items_type` (`items_type_id`),
CONSTRAINT `FK_items_items_type` FOREIGN KEY (`items_type_id`) REFERENCES `items_type` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Les données exportées n'étaient pas sélectionnées.
-- Listage de la structure de la table fastfood. items_type
CREATE TABLE IF NOT EXISTS `items_type` (
`id` int(11) NOT NULL,
`name` varchar(50) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Les données exportées n'étaient pas sélectionnées.
-- Listage de la structure de la table fastfood. menus
CREATE TABLE IF NOT EXISTS `menus` (
`id` int(11) NOT NULL,
`nom` varchar(50) NOT NULL DEFAULT '',
`plat_id` int(11) NOT NULL DEFAULT 0,
`boisson_id` int(11) NOT NULL DEFAULT 0,
`dessert_id` int(11) NOT NULL DEFAULT 0,
`prix_vente` decimal(10,2) NOT NULL DEFAULT 0.00,
PRIMARY KEY (`id`),
KEY `FK_menus_items` (`plat_id`),
KEY `FK_menus_items_2` (`boisson_id`),
KEY `FK_menus_items_3` (`dessert_id`),
CONSTRAINT `FK_menus_items` FOREIGN KEY (`plat_id`) REFERENCES `items` (`id`),
CONSTRAINT `FK_menus_items_2` FOREIGN KEY (`boisson_id`) REFERENCES `items` (`id`),
CONSTRAINT `FK_menus_items_3` FOREIGN KEY (`dessert_id`) REFERENCES `items` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Les données exportées n'étaient pas sélectionnées.
-- Listage de la structure de la table fastfood. paiements
CREATE TABLE IF NOT EXISTS `paiements` (
`id` int(11) NOT NULL,
`name` varchar(50) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Les données exportées n'étaient pas sélectionnées.
-- Listage de la structure de la table fastfood. postes
CREATE TABLE IF NOT EXISTS `postes` (
`salarie_id` int(11) NOT NULL,
`start_date` date NOT NULL,
`end_date` date NOT NULL,
`fonction_id` int(11) NOT NULL DEFAULT 0,
`restaurant_id` int(11) NOT NULL DEFAULT 0,
`formation` tinyint(1) NOT NULL DEFAULT 0,
KEY `FK_postes_salaries` (`salarie_id`),
KEY `FK_postes_fonctions` (`fonction_id`),
KEY `FK_postes_restaurants` (`restaurant_id`),
CONSTRAINT `FK_postes_fonctions` FOREIGN KEY (`fonction_id`) REFERENCES `fonctions` (`id`),
CONSTRAINT `FK_postes_restaurants` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`),
CONSTRAINT `FK_postes_salaries` FOREIGN KEY (`salarie_id`) REFERENCES `salaries` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Les données exportées n'étaient pas sélectionnées.
-- Listage de la structure de la table fastfood. restaurants
CREATE TABLE IF NOT EXISTS `restaurants` (
`id` int(11) NOT NULL,
`places` int(11) NOT NULL,
`esp_enf` tinyint(1) NOT NULL,
`borne_rapide` tinyint(1) NOT NULL,
`mobi_reduite` tinyint(1) NOT NULL,
`parking` tinyint(1) NOT NULL,
`country` varchar(2) NOT NULL DEFAULT '',
`postal_code` int(11) NOT NULL,
`carte_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `FK_restaurants_cartes` (`carte_id`),
CONSTRAINT `FK_restaurants_cartes` FOREIGN KEY (`carte_id`) REFERENCES `cartes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Les données exportées n'étaient pas sélectionnées.
-- Listage de la structure de la table fastfood. salaires
CREATE TABLE IF NOT EXISTS `salaires` (
`id` int(11) NOT NULL,
`note` int(11) NOT NULL,
`salaire` decimal(10,2) NOT NULL DEFAULT 0.00,
`manager_id` int(11) NOT NULL DEFAULT 0,
`salarie_id` int(11) NOT NULL DEFAULT 0,
`annee` year(4) NOT NULL DEFAULT 0000,
PRIMARY KEY (`id`),
KEY `FK_salaires_salaries` (`manager_id`),
KEY `FK_salaires_salaries_2` (`salarie_id`),
CONSTRAINT `FK_salaires_salaries` FOREIGN KEY (`manager_id`) REFERENCES `salaries` (`id`),
CONSTRAINT `FK_salaires_salaries_2` FOREIGN KEY (`salarie_id`) REFERENCES `salaries` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Les données exportées n'étaient pas sélectionnées.
-- Listage de la structure de la table fastfood. salaries
CREATE TABLE IF NOT EXISTS `salaries` (
`id` int(11) NOT NULL,
`firstname` varchar(50) NOT NULL DEFAULT '',
`lastname` varchar(50) NOT NULL DEFAULT '',
`address_line1` varchar(50) NOT NULL DEFAULT '',
`address_line2` varchar(50) NOT NULL DEFAULT '',
`address_city` varchar(50) NOT NULL DEFAULT '',
`address_postcode` varchar(50) NOT NULL DEFAULT '',
`country` varchar(2) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Les données exportées n'étaient pas sélectionnées.
-- Listage de la structure de la table fastfood. stock
CREATE TABLE IF NOT EXISTS `stock` (
`restaurant_id` int(11) NOT NULL,
`ingredient_id` int(11) NOT NULL,
`quantite_stock` decimal(10,2) NOT NULL DEFAULT 0.00,
KEY `FK__restaurants` (`restaurant_id`),
KEY `FK_stock_ingredients` (`ingredient_id`),
CONSTRAINT `FK__restaurants` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`),
CONSTRAINT `FK_stock_ingredients` FOREIGN KEY (`ingredient_id`) REFERENCES `ingredients` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Les données exportées n'étaient pas sélectionnées.
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
<reponame>lekkimworld/SensorCentral<filename>schema/manualsteps_5_to_6.sql
>> Database
update sensor set type='delta' where type='counter';
>> Environment vars
SMARTME_KEY
APP_DOMAIN
|
-- phpMyAdmin SQL Dump
-- version 4.8.4
-- https://www.phpmyadmin.net/
--
-- Hôte : 127.0.0.1
-- Généré le : jeu. 25 mars 2021 à 14:21
-- Version du serveur : 10.1.37-MariaDB
-- Version de PHP : 7.3.1
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 */;
--
-- Base de données : `proeducation`
--
-- --------------------------------------------------------
--
-- Structure de la table `classes`
--
CREATE TABLE `classes` (
`id_c` bigint(20) UNSIGNED NOT NULL,
`nom_c` 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;
--
-- Déchargement des données de la table `classes`
--
INSERT INTO `classes` (`id_c`, `nom_c`, `created_at`, `updated_at`) VALUES
(1, '3ans', NULL, '2020-09-15 09:22:07'),
(2, '4ans\r\n', NULL, NULL),
(3, '5ans', '2020-07-17 12:19:14', '2020-07-17 12:19:14'),
(4, '6ans', '2020-07-17 12:19:24', '2020-07-17 12:19:24');
-- --------------------------------------------------------
--
-- Structure de la table `clubs`
--
CREATE TABLE `clubs` (
`id` bigint(20) UNSIGNED NOT NULL,
`nom` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`prix` double NOT NULL,
`image` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`size` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`age` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`horaire_debut` time(6) NOT NULL,
`horaire_fin` time(6) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Déchargement des données de la table `clubs`
--
INSERT INTO `clubs` (`id`, `nom`, `description`, `prix`, `image`, `size`, `age`, `horaire_debut`, `horaire_fin`, `created_at`, `updated_at`) VALUES
(4, 'club musique', 'Club de musique', 20, 'class-1_1610140253.jpg', '15', '3-12', '15:30:00.000000', '17:30:00.000000', '2021-01-08 20:10:53', '2021-01-08 20:10:53'),
(5, 'club peinture', 'peinture', 20, 'class-5_1610140546.jpg', '12', '3-12', '15:30:00.000000', '15:30:00.000000', '2021-01-08 20:15:46', '2021-01-08 20:15:46'),
(6, 'club Bricolage', 'club bricolage', 15, 'event-3_1610140729.jpg', '15', '3-12', '12:30:00.000000', '13:30:00.000000', '2021-01-08 20:18:49', '2021-01-08 20:18:49');
-- --------------------------------------------------------
--
-- Structure de la table `coefs`
--
CREATE TABLE `coefs` (
`id_coef` bigint(20) UNSIGNED NOT NULL,
`nom_coef` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Déchargement des données de la table `coefs`
--
INSERT INTO `coefs` (`id_coef`, `nom_coef`, `created_at`, `updated_at`) VALUES
(1, '1', '2020-07-29 11:41:44', '2020-07-29 11:41:44'),
(2, '2', '2020-07-29 11:41:59', '2020-07-29 11:41:59');
-- --------------------------------------------------------
--
-- Structure de la table `cours`
--
CREATE TABLE `cours` (
`id_co` bigint(20) UNSIGNED NOT NULL,
`nom_co` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`file` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`ens_id` bigint(20) UNSIGNED NOT NULL,
`mat_id` bigint(20) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Déchargement des données de la table `cours`
--
INSERT INTO `cours` (`id_co`, `nom_co`, `description`, `file`, `ens_id`, `mat_id`, `created_at`, `updated_at`) VALUES
(1, 'Chapitre1', 'c\'est le contenu de la première séance', 'service-invoice-template-fr_1596537662.pdf', 3, 6, '2020-08-04 09:33:26', '2020-08-04 09:33:26'),
(2, 'Chapitre2', 'c\'est le contenu de la deuxième séance', 'service-invoice-template-fr_1596537662.pdf', 3, 6, '2020-08-04 09:38:16', '2020-08-04 09:38:16'),
(4, 'Chapitre1', 'c\'est le contenu de la première séance', 'service-invoice-template-fr_1596537662.pdf', 3, 7, '2020-08-04 09:44:03', '2020-08-04 09:44:03'),
(5, 'Chapitre2', 'c\'est le contenu de la deuxième séance', 'service-invoice-template-fr_1596537662.pdf', 3, 7, '2020-08-04 09:44:50', '2020-08-04 09:44:50'),
(6, 'Chapitre3', 'c\'est le contenu de la troixième séance', 'service-invoice-template-fr_1596537662.pdf', 3, 7, '2020-08-04 09:47:06', '2020-08-04 09:47:06');
-- --------------------------------------------------------
--
-- Structure de la table `eleves`
--
CREATE TABLE `eleves` (
`id` bigint(20) UNSIGNED NOT NULL,
`nom` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`prenom` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`lieu_naiss` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`date_naiss` date NOT NULL,
`sexe` tinyint(1) NOT NULL,
`nom_p` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`nom_m` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`prenom_p` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`prenom_m` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`add_p` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`add_m` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`tel_p` int(11) DEFAULT NULL,
`tel_m` int(11) DEFAULT NULL,
`gsm_p` int(11) NOT NULL,
`gsm_m` int(11) NOT NULL,
`profession_p` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`profession_m` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_p` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_m` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`par_id` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Déchargement des données de la table `eleves`
--
INSERT INTO `eleves` (`id`, `nom`, `prenom`, `lieu_naiss`, `date_naiss`, `sexe`, `nom_p`, `nom_m`, `prenom_p`, `prenom_m`, `add_p`, `add_m`, `tel_p`, `tel_m`, `gsm_p`, `gsm_m`, `profession_p`, `profession_m`, `email_p`, `email_m`, `par_id`, `created_at`, `updated_at`) VALUES
(1, 'amira', 'bennani', 'SOUSSE', '2020-06-29', 0, 'bennani', 'ddd', 'hamadi', 'bennani', 'SOUSSE', 'SOUSSE', NULL, NULL, 25250250, 23230230, 'ddd', 'mmm', '<EMAIL>', '<EMAIL>', 0, '2020-07-28 12:05:04', '2020-07-28 12:05:04'),
(2, '3ans', 'b', 'SOUSSE', '2020-07-06', 0, 'hhamadi', 'kima', 'amira', 'dfd', 'SOUSSE', 'SOUSSE', NULL, NULL, 25250250, 986856856, 'ddddd', 'rien', '<EMAIL>', '<EMAIL>', 0, '2020-07-20 07:08:26', '2020-07-20 07:08:26'),
(3, 'islem', 'aaaaa', 'SOUSSE', '2020-06-29', 0, 'amira', 'bennani', 'mmm', 'bennani', 'SOUSSE', 'SOUSSE', NULL, NULL, 25250250, 23230230, 'ddd', 'mmm', '<EMAIL>', '<EMAIL>', 0, '2020-07-20 07:09:34', '2020-07-20 07:09:34'),
(4, '<NAME>', 'amira', 'sousse', '2020-06-29', 0, 'bennani', 'bennani', 'hamadi', 'dfd', 'SOUSSE', 'SOUSSE', 20200200, NULL, 25250250, 23230230, 'ddd', 'mmm', '<EMAIL>', '<EMAIL>', 0, '2020-07-20 07:10:49', '2020-07-20 07:10:49'),
(5, 'amira', 'bennani', 'SOUSSE', '2020-06-29', 0, 'hhamadi', 'ddd', 'bennani', 'bennani', 'SOUSSE', 'SOUSSE', 20200200, 21210210, 25250250, 23230230, 'rien', 'mmm', '<EMAIL>', '<EMAIL>', 0, '2020-07-15 09:32:16', '2020-07-15 09:32:16'),
(6, 'amira', 'bennani', 'SOUSSE', '2020-06-29', 0, 'hhamadi', 'ddd', 'bennani', 'bennani', 'SOUSSE', 'SOUSSE', 20200200, 21210210, 25250250, 23230230, 'rien', 'mmm', '<EMAIL>', '<EMAIL>', 0, '2020-07-15 09:32:16', '2020-07-15 09:32:16'),
(7, 'fffff', 'hhh', 'SOUSSE', '2020-06-29', 0, 'hhaggggmadi', 'dddjrtdhfdh', 'bennanittt', 'bennaniturtur', 'SOUSSE', 'SOUSSE', 20200200, 21210220, 25250250, 23230230, 'rien', 'mmm', '<EMAIL>', '<EMAIL>', 0, '2020-07-15 08:32:16', '2020-07-15 08:32:16'),
(8, 'amira', 'bennani', 'SOUSSE', '2020-06-29', 0, 'hhamadi', 'ddd', 'bennani', 'bennani', 'SOUSSE', 'SOUSSE', 20200200, 21210210, 25250250, 23230230, 'rien', 'mmm', '<EMAIL>', '<EMAIL>', 0, '2020-07-15 09:32:16', '2020-07-15 09:32:16'),
(9, 'fffff', 'hhh', 'SOUSSE', '2020-06-29', 0, 'hhaggggmadi', 'dddjrtdhfdh', 'bennanittt', 'bennaniturtur', 'SOUSSE', 'SOUSSE', 20200200, 21210220, 25250250, 23230230, 'rien', 'mmm', '<EMAIL>', '<EMAIL>', 0, '2020-07-15 08:32:16', '2020-07-15 08:32:16'),
(10, 'amira', 'bennani', 'SOUSSE', '2020-06-29', 0, 'hhamadi', 'ddd', 'bennani', 'bennani', 'SOUSSE', 'SOUSSE', 20200200, 21210210, 25250250, 23230230, 'rien', 'mmm', '<EMAIL>', '<EMAIL>', 0, '2020-07-15 09:32:16', '2020-07-15 09:32:16'),
(11, 'fffff', 'hhh', 'SOUSSE', '2020-06-29', 0, 'hhaggggmadi', 'dddjrtdhfdh', 'bennanittt', 'bennaniturtur', 'SOUSSE', 'SOUSSE', 20200200, 21210220, 25250250, 23230230, 'rien', 'mmm', '<EMAIL>', '<EMAIL>', 0, '2020-07-15 08:32:16', '2020-07-15 08:32:16'),
(12, 'dddddddd', 'ggggggg', 'ccccccccc', '2020-06-29', 0, 'bennani', 'kima', 'hamadi', 'dfd', 'SOUSSE', 'SOUSSE', NULL, NULL, 25250250, 23230230, 'ddddd', 'rien', '<EMAIL>', '<EMAIL>', 0, '2020-07-20 07:52:33', '2020-07-20 07:52:33'),
(13, 'islemddd', 'fqfqsf', 'SOUSSE', '2020-06-29', 0, 'qsvwv', 'ddd', 'vbdfvbds', 'dfd', 'SOUSSE', 'SOUSSE', NULL, NULL, 25250250, 23230230, 'mmm', 'mmm', '<EMAIL>', '<EMAIL>', 0, '2020-07-20 08:07:37', '2020-07-20 08:07:37'),
(14, 'test', 'test', 'SOUSSE', '2000-02-25', 0, 'bennani', 'kima', 'bennani', 'bennani', 'SOUSSE', 'SOUSSE', NULL, NULL, 21200200, 23230230, 'ddddd', 'mmm', '<EMAIL>', '<EMAIL>', 18, '2020-08-06 10:04:51', '2020-08-06 10:04:51'),
(15, 'test1', 'test1', 'SOUSSE', '2020-08-03', 0, 'fffffff', 'kima', 'ggggggggg', 'bennani', 'SOUSSE', 'SOUSSE', NULL, NULL, 25250250, 23230230, 'doctor', 'mmm', '<EMAIL>', '<EMAIL>', 18, '2020-08-06 13:23:32', '2020-08-06 13:23:32'),
(16, 'lolll', 'hdgdgdg', 'ddddd', '2020-07-27', 0, 'bennan', 'bennani', 'mmm', 'dfd', 'SOUSSE', 'SOUSSE', NULL, NULL, 25250250, 23230230, 'ddd', 'mmm', '<EMAIL>', '<EMAIL>', 17, '2020-08-10 09:05:53', '2020-08-10 09:05:53'),
(17, 'test3', 'test3', 'dddddd', '2020-08-03', 0, 'dddd', 'bennani', 'dddd', 'bennani', 'SOUSSE', 'SOUSSE', NULL, NULL, 25250250, 23230230, 'pompier', 'mmm', '<EMAIL>', '<EMAIL>', 18, '2020-08-10 09:50:09', '2020-08-10 09:50:09'),
(18, 'test4', 'test4', 'sousse', '2020-07-27', 0, 'bennani', 'kima', 'bennani', 'bennani', 'SOUSSE', 'SOUSSE', NULL, NULL, 25250250, 23230230, 'ddd', 'mmm', '<EMAIL>', '<EMAIL>', 18, '2020-08-10 09:55:35', '2020-08-10 09:55:35'),
(20, 'test5', 'tes5', 'zssssd', '2000-03-20', 1, 'dsddsd', 'bennani', 'dqqd', 'dfd', 'SOUSSE', 'SOUSSE', NULL, NULL, 25250250, 23230230, 'ddd', 'mmm', '<EMAIL>', '<EMAIL>', 17, '2020-08-10 10:23:00', '2020-08-10 10:23:00');
-- --------------------------------------------------------
--
-- Structure de la table `eleve_classes`
--
CREATE TABLE `eleve_classes` (
`id` bigint(20) UNSIGNED NOT NULL,
`eleve_id` bigint(20) UNSIGNED NOT NULL,
`classe_id` bigint(20) UNSIGNED NOT NULL,
`groupe_id` bigint(20) UNSIGNED DEFAULT '0',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Déchargement des données de la table `eleve_classes`
--
INSERT INTO `eleve_classes` (`id`, `eleve_id`, `classe_id`, `groupe_id`, `created_at`, `updated_at`) VALUES
(1, 1, 1, 1, NULL, '2020-07-28 12:06:40'),
(2, 2, 2, 3, NULL, '2020-07-28 13:14:49'),
(3, 3, 3, 2, NULL, '2020-07-28 13:15:29'),
(4, 4, 1, 1, NULL, '2020-07-28 13:15:35'),
(5, 5, 2, 3, NULL, '2020-07-28 13:15:42'),
(6, 6, 1, 1, NULL, '2020-07-28 13:15:50'),
(7, 7, 4, 1, NULL, '2020-07-28 13:16:23'),
(8, 8, 2, 3, NULL, '2020-07-28 13:16:41'),
(9, 9, 3, 2, NULL, '2020-07-28 13:17:06'),
(10, 10, 4, 1, NULL, '2020-07-28 13:17:17'),
(11, 11, 2, 3, NULL, '2020-07-28 13:16:56'),
(12, 12, 3, 1, NULL, '2020-07-28 13:16:49'),
(13, 13, 4, 3, NULL, '2020-07-28 13:16:33'),
(14, 14, 2, 1, NULL, '2020-08-06 11:38:00'),
(15, 15, 1, 2, NULL, '2020-08-10 09:27:01'),
(16, 16, 4, 0, NULL, NULL),
(17, 17, 1, 0, NULL, NULL),
(18, 18, 3, 1, NULL, NULL),
(19, 19, 1, 1, NULL, NULL),
(20, 20, 1, 1, NULL, '2020-08-10 11:54:40');
-- --------------------------------------------------------
--
-- Structure de la table `enseignants`
--
CREATE TABLE `enseignants` (
`id_en` bigint(20) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Déchargement des données de la table `enseignants`
--
INSERT INTO `enseignants` (`id_en`, `created_at`, `updated_at`) VALUES
(3, '2020-07-20 09:53:32', '2020-07-20 09:53:32'),
(5, '2020-07-21 08:46:37', '2020-07-21 08:46:37'),
(6, '2020-07-21 10:19:18', '2020-07-21 10:19:18'),
(7, '2020-07-23 14:00:48', '2020-07-23 14:00:48'),
(9, '2020-07-23 14:01:11', '2020-07-23 14:01:11'),
(12, '2020-07-23 13:56:13', '2020-07-23 13:56:13'),
(14, '2020-07-27 08:37:28', '2020-07-27 08:37:28'),
(15, '2020-08-05 10:10:06', '2020-08-05 10:10:06'),
(16, '2020-08-05 10:06:34', '2020-08-05 10:06:34'),
(17, '2020-08-05 10:21:00', '2020-08-05 10:21:00');
-- --------------------------------------------------------
--
-- Structure de la table `enseignant_classes`
--
CREATE TABLE `enseignant_classes` (
`id` bigint(20) UNSIGNED NOT NULL,
`ens_id` bigint(20) UNSIGNED NOT NULL,
`classe_id` bigint(20) UNSIGNED NOT NULL,
`groupe_id` int(50) NOT NULL,
`mat_id` bigint(20) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Déchargement des données de la table `enseignant_classes`
--
INSERT INTO `enseignant_classes` (`id`, `ens_id`, `classe_id`, `groupe_id`, `mat_id`, `created_at`, `updated_at`) VALUES
(16, 3, 1, 1, 6, '2020-08-17 10:24:14', '2020-08-17 10:24:14'),
(22, 3, 1, 1, 7, NULL, NULL);
-- --------------------------------------------------------
--
-- Structure de la table `evenements`
--
CREATE TABLE `evenements` (
`id` int(11) NOT NULL,
`description` varchar(255) NOT NULL,
`prix` float NOT NULL,
`telephone` varchar(15) NOT NULL,
`dated` date NOT NULL,
`datef` date NOT NULL,
`heured` time(6) NOT NULL,
`heuref` time(6) NOT NULL,
`location` varchar(255) NOT NULL,
`titre` varchar(255) NOT NULL,
`image` varchar(255) 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;
--
-- Déchargement des données de la table `evenements`
--
INSERT INTO `evenements` (`id`, `description`, `prix`, `telephone`, `dated`, `datef`, `heured`, `heuref`, `location`, `titre`, `image`, `created_at`, `updated_at`) VALUES
(3, 'event', 50, '53097766', '2021-01-01', '2021-01-01', '12:00:00.000000', '15:00:00.000000', 'hotel Sousse Place', 'Event', 'event-2_1610141418.jpg', '2021-01-08 20:30:18', '2021-01-08 20:30:18'),
(4, 'event2', 20, '53097766', '2021-02-01', '2021-02-01', '15:30:00.000000', '17:30:00.000000', 'Sousse', 'event2', 'activities-2_1610142633.jpg', '2021-01-08 20:50:34', '2021-01-08 20:50:34');
-- --------------------------------------------------------
--
-- Structure de la table `events`
--
CREATE TABLE `events` (
`id` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`event_title` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
`event_start_date` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL,
`event_start_time` time(6) NOT NULL,
`event_end_date` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL,
`event_end_time` time(6) NOT NULL,
`event_description` text COLLATE utf8mb4_unicode_ci,
`location` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`phone` varchar(8) COLLATE utf8mb4_unicode_ci NOT NULL,
`image` int(255) NOT NULL,
`prix` float NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Structure de la table `galleries`
--
CREATE TABLE `galleries` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL,
`cover_image` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Déchargement des données de la table `galleries`
--
INSERT INTO `galleries` (`id`, `name`, `description`, `cover_image`, `created_at`, `updated_at`) VALUES
(2, 'hh', 'gggg', '2_1600947699.jpg', '2020-09-24 09:41:39', '2020-09-24 09:41:39'),
(3, 'enfant1', 'enfant1', '3_1610139636.jpg', '2021-01-08 20:00:36', '2021-01-08 20:00:36'),
(4, 'enfant2', 'enfant2', '11_1610139703.jpg', '2021-01-08 20:01:44', '2021-01-08 20:01:44'),
(5, 'enfant3', 'enfant3', '13_1610139736.jpg', '2021-01-08 20:02:16', '2021-01-08 20:02:16');
-- --------------------------------------------------------
--
-- Structure de la table `groupes`
--
CREATE TABLE `groupes` (
`id_g` bigint(20) UNSIGNED NOT NULL,
`nom_g` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Déchargement des données de la table `groupes`
--
INSERT INTO `groupes` (`id_g`, `nom_g`, `created_at`, `updated_at`) VALUES
(1, 'groupe 1', '2020-07-17 09:31:51', '2020-07-17 09:31:51'),
(2, 'groupe 2', '2020-07-17 09:31:55', '2020-07-17 09:31:55'),
(3, 'groupe 3', '2020-07-20 12:06:55', '2020-07-20 12:06:55');
-- --------------------------------------------------------
--
-- Structure de la table `groupe_classes`
--
CREATE TABLE `groupe_classes` (
`id` bigint(20) UNSIGNED NOT NULL,
`groupe_id` bigint(20) UNSIGNED NOT NULL,
`classe_id` bigint(20) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Déchargement des données de la table `groupe_classes`
--
INSERT INTO `groupe_classes` (`id`, `groupe_id`, `classe_id`, `created_at`, `updated_at`) VALUES
(1, 1, 1, '2020-07-27 11:45:17', '2020-07-27 11:45:17'),
(2, 2, 1, '2020-07-27 11:45:20', '2020-07-27 11:45:20'),
(3, 3, 1, '2020-07-27 11:45:22', '2020-07-27 11:45:22'),
(4, 1, 2, '2020-07-27 12:28:33', '2020-07-27 12:28:33'),
(5, 3, 2, '2020-07-27 12:28:37', '2020-07-27 12:28:37'),
(6, 1, 3, '2020-07-28 13:15:07', '2020-07-28 13:15:07'),
(7, 2, 3, '2020-07-28 13:15:10', '2020-07-28 13:15:10'),
(8, 1, 4, '2020-07-28 13:16:06', '2020-07-28 13:16:06'),
(9, 3, 4, '2020-07-28 13:16:09', '2020-07-28 13:16:09');
-- --------------------------------------------------------
--
-- Structure de la table `matieres`
--
CREATE TABLE `matieres` (
`id_m` bigint(20) UNSIGNED NOT NULL,
`nom_m` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`coef_m` int(50) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Déchargement des données de la table `matieres`
--
INSERT INTO `matieres` (`id_m`, `nom_m`, `coef_m`, `created_at`, `updated_at`) VALUES
(7, 'math', 0, '2020-07-27 09:50:36', '2020-07-29 11:04:34'),
(8, 'Anglais', 0, '2020-07-29 11:02:41', '2020-07-29 11:02:41'),
(9, 'italien', 0, '2020-09-09 09:59:00', '2020-09-09 09:59:00'),
(10, 'histoire', 0, '2020-09-09 12:06:18', '2020-09-09 12:06:18');
-- --------------------------------------------------------
--
-- Structure de la table `matiere_classes`
--
CREATE TABLE `matiere_classes` (
`id` bigint(20) UNSIGNED NOT NULL,
`mat_id` bigint(20) UNSIGNED NOT NULL,
`classe_id` bigint(20) UNSIGNED NOT NULL,
`coef_id` bigint(20) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Déchargement des données de la table `matiere_classes`
--
INSERT INTO `matiere_classes` (`id`, `mat_id`, `classe_id`, `coef_id`, `created_at`, `updated_at`) VALUES
(1, 6, 1, 2, '2020-07-29 12:59:11', '2020-07-29 12:59:11'),
(2, 7, 4, 2, '2020-07-29 13:02:33', '2020-07-29 13:02:33'),
(4, 7, 1, 2, '2020-07-29 13:06:43', '2020-07-29 13:06:43'),
(5, 9, 1, 2, '2020-07-29 13:09:40', '2020-09-15 12:11:24'),
(6, 8, 1, 2, '2020-09-11 12:41:23', '2020-09-11 12:41:23');
-- --------------------------------------------------------
--
-- Structure de la 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;
--
-- Déchargement des données de la 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_08_10_034632_create_events_table', 1),
(4, '2020_04_17_110126_slider_images_table', 1),
(5, '2020_04_18_180829_create_galleries_table', 1),
(6, '2020_04_20_201509_create_photos_table', 1),
(7, '2020_04_22_123232_create_eleves_table', 1),
(8, '2020_04_22_124019_create_classes_table', 1),
(9, '2020_04_30_132009_create_test_table', 1),
(10, '2020_05_01_120247_create_notifications_table', 1),
(11, '2020_05_01_211303_create_relcams_table', 1),
(12, '2020_07_02_085439_create_eleve_classe_table', 1),
(13, '2020_07_02_132755_create_parents_table', 1),
(14, '2020_07_13_111616_create_clubs_table', 1),
(15, '2020_07_13_132040_create_enseignants_table', 1),
(16, '2020_07_14_093948_create_enseignant_classe_table', 1),
(17, '2020_07_14_105815_create_groupes_table', 1),
(18, '2020_07_14_133907_create_groupe_classes_table', 1),
(19, '2020_07_23_084808_create_presence_table', 2),
(20, '2020_07_27_091027_create_matieres_table', 3),
(21, '2020_07_27_092122_create_enseignant_matieres_table', 3),
(22, '2020_07_29_120809_create_cours_table', 4),
(23, '2020_07_29_122852_create_coef_table', 5),
(24, '2020_07_29_124959_create_matiere_classes_table', 6),
(25, '2020_08_04_092639_create_notes_table', 7);
-- --------------------------------------------------------
--
-- Structure de la table `notes`
--
CREATE TABLE `notes` (
`id_n` bigint(20) UNSIGNED NOT NULL,
`note` float NOT NULL,
`note1` float DEFAULT NULL,
`mat_id` bigint(20) UNSIGNED NOT NULL,
`classe_id` bigint(20) UNSIGNED NOT NULL,
`groupe_id` bigint(20) UNSIGNED NOT NULL,
`coef_id` bigint(20) UNSIGNED NOT NULL,
`eleve_id` bigint(20) UNSIGNED NOT NULL,
`ens_id` bigint(20) UNSIGNED NOT NULL,
`valid` tinyint(1) DEFAULT '0',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Déchargement des données de la table `notes`
--
INSERT INTO `notes` (`id_n`, `note`, `note1`, `mat_id`, `classe_id`, `groupe_id`, `coef_id`, `eleve_id`, `ens_id`, `valid`, `created_at`, `updated_at`) VALUES
(63, 1, 2, 7, 1, 2, 2, 15, 3, 0, '2020-08-19 15:52:01', '2020-08-19 15:52:01'),
(64, 11, NULL, 6, 1, 1, 2, 1, 3, 0, '2020-08-21 15:21:11', '2020-08-21 15:21:11'),
(65, 14, NULL, 6, 1, 1, 2, 4, 3, 0, '2020-08-21 15:21:12', '2020-08-21 15:21:12'),
(66, 11, NULL, 6, 1, 1, 2, 6, 3, 0, '2020-08-21 15:21:12', '2020-08-21 15:21:12'),
(67, 10, NULL, 6, 1, 1, 2, 20, 3, 0, '2020-08-21 15:21:13', '2020-08-21 15:21:13'),
(68, 10, NULL, 7, 1, 1, 2, 1, 3, 0, '2021-01-09 23:42:04', '2021-01-09 23:42:04'),
(69, 12, NULL, 7, 1, 1, 2, 4, 3, 0, '2021-01-09 23:42:05', '2021-01-09 23:42:05'),
(70, 14, NULL, 7, 1, 1, 2, 6, 3, 0, '2021-01-09 23:42:05', '2021-01-09 23:42:05'),
(71, 15, NULL, 7, 1, 1, 2, 20, 3, 0, '2021-01-09 23:42:05', '2021-01-09 23:42:05');
-- --------------------------------------------------------
--
-- Structure de la table `notifications`
--
CREATE TABLE `notifications` (
`id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
`type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`notifiable_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`notifiable_id` bigint(20) UNSIGNED NOT NULL,
`data` text COLLATE utf8mb4_unicode_ci NOT NULL,
`read_at` timestamp NULL DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Structure de la 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;
-- --------------------------------------------------------
--
-- Structure de la table `photos`
--
CREATE TABLE `photos` (
`id` bigint(20) UNSIGNED NOT NULL,
`description` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL,
`image` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`gallery_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`gallery_id` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Structure de la table `presences`
--
CREATE TABLE `presences` (
`id` bigint(20) UNSIGNED NOT NULL,
`classe_id` bigint(20) UNSIGNED NOT NULL,
`groupe_id` int(20) NOT NULL,
`ens_id` bigint(20) UNSIGNED NOT NULL,
`eleve_id` bigint(20) UNSIGNED NOT NULL,
`status` tinyint(1) NOT NULL,
`date` datetime NOT NULL,
`mat_id` int(20) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Déchargement des données de la table `presences`
--
INSERT INTO `presences` (`id`, `classe_id`, `groupe_id`, `ens_id`, `eleve_id`, `status`, `date`, `mat_id`, `created_at`, `updated_at`) VALUES
(43, 1, 1, 3, 1, 0, '2020-08-23 00:00:00', 6, '2020-08-23 19:42:52', '2020-08-23 19:42:52'),
(44, 1, 1, 3, 4, 1, '2020-08-23 00:00:00', 6, '2020-08-23 19:42:52', '2020-08-23 19:42:52'),
(45, 1, 1, 3, 6, 0, '2020-08-23 00:00:00', 6, '2020-08-23 19:42:52', '2020-08-23 19:42:52'),
(46, 1, 1, 3, 20, 1, '2020-08-23 00:00:00', 6, '2020-08-23 19:42:53', '2020-08-23 19:42:53'),
(47, 1, 1, 3, 1, 0, '2020-08-25 00:00:00', 6, '2020-08-25 13:51:55', '2020-08-25 13:51:55'),
(48, 1, 1, 3, 4, 0, '2020-08-25 00:00:00', 6, '2020-08-25 13:51:55', '2020-08-25 13:51:55'),
(49, 1, 1, 3, 6, 0, '2020-08-25 00:00:00', 6, '2020-08-25 13:51:55', '2020-08-25 13:51:55'),
(50, 1, 1, 3, 20, 0, '2020-08-25 00:00:00', 6, '2020-08-25 13:51:55', '2020-08-25 13:51:55'),
(51, 1, 2, 3, 15, 1, '2021-01-09 00:00:00', 7, '2021-01-09 22:48:52', '2021-01-09 22:48:52'),
(52, 1, 1, 3, 1, 1, '2021-01-09 00:00:00', 7, '2021-01-09 22:56:57', '2021-01-09 22:56:57'),
(53, 1, 1, 3, 4, 0, '2021-01-09 00:00:00', 7, '2021-01-09 22:56:57', '2021-01-09 22:56:57'),
(54, 1, 1, 3, 6, 1, '2021-01-09 00:00:00', 7, '2021-01-09 22:56:57', '2021-01-09 22:56:57'),
(55, 1, 1, 3, 20, 0, '2021-01-09 00:00:00', 7, '2021-01-09 22:56:58', '2021-01-09 22:56:58');
-- --------------------------------------------------------
--
-- Structure de la table `reclams`
--
CREATE TABLE `reclams` (
`id` bigint(20) UNSIGNED NOT NULL,
`message` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`nom_e` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`prenom_e` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`nom_p` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`prenom_p` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`tel` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`sujet` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Déchargement des données de la table `reclams`
--
INSERT INTO `reclams` (`id`, `message`, `email`, `nom_e`, `prenom_e`, `nom_p`, `prenom_p`, `tel`, `sujet`, `created_at`, `updated_at`) VALUES
(1, 'réclamation a a propos le transport', '<EMAIL>', 'malek', 'slama', 'malek', 'slama', '53097766', 'réclamations', '2021-01-09 21:26:59', '2021-01-09 21:26:59'),
(2, 'grande école bravo!..', '<EMAIL>', '', '', 'banneni', 'amira', '53097766', 'Remerciement', '2021-01-09 22:06:13', '2021-01-09 22:06:13');
-- --------------------------------------------------------
--
-- Structure de la table `slider_images`
--
CREATE TABLE `slider_images` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`sliderid` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Structure de la table `sorties`
--
CREATE TABLE `sorties` (
`id` int(11) NOT NULL,
`titre` varchar(255) NOT NULL,
`description` varchar(255) NOT NULL,
`date_s` date NOT NULL,
`prix` float NOT NULL,
`image` varchar(255) NOT NULL,
`telephone` varchar(100) 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;
--
-- Déchargement des données de la table `sorties`
--
INSERT INTO `sorties` (`id`, `titre`, `description`, `date_s`, `prix`, `image`, `telephone`, `created_at`, `updated_at`) VALUES
(1, 'sortie', 'sortie', '2020-02-02', 14747, '1_1600944043.jpg', '12345678', '2021-01-08 22:52:32', '2020-09-24 09:07:59'),
(2, 'sortie', 'sortie', '2021-01-08', 15, 'slider-4_1610145284.jpg', '12345678', '2021-01-08 21:34:44', '2021-01-08 21:34:44');
-- --------------------------------------------------------
--
-- Structure de la table `tests`
--
CREATE TABLE `tests` (
`id` bigint(20) UNSIGNED NOT NULL,
`nom` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`prenom` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`lieu_naiss` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`date_naiss` date NOT NULL,
`nom_p` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`nom_m` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`prenom_p` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`prenom_m` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`add_p` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`add_m` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`tel_p` int(11) NOT NULL,
`tel_m` int(11) NOT NULL,
`gsm_p` int(11) NOT NULL,
`gsm_m` int(11) NOT NULL,
`profession_p` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`profession_m` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_p` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_m` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Structure de la table `tuteurs`
--
CREATE TABLE `tuteurs` (
`id_p` bigint(20) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Déchargement des données de la table `tuteurs`
--
INSERT INTO `tuteurs` (`id_p`, `created_at`, `updated_at`) VALUES
(18, '2020-08-05 10:22:47', '2020-08-05 10:22:47');
-- --------------------------------------------------------
--
-- Structure de la table `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`usertype` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`verif` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT 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;
--
-- Déchargement des données de la table `users`
--
INSERT INTO `users` (`id`, `name`, `email`, `usertype`, `email_verified_at`, `password`, `verif`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'adddd', '<EMAIL>', 'admin', NULL, '$2y$10$MNbNzfznILW8Hw7VJDd67uuXdw1tbv0w4G0hOTyrhq.J.Dst/HSlO', NULL, NULL, '2020-07-16 14:00:30', '2020-07-16 14:00:30'),
(3, 'mira', '<EMAIL>', 'enseignant', NULL, '$2y$10$v1lppoCXfSmT0uNvPuogxO14hg6oGvE.gLXAQANHJbmdO0RwKFOeW', 'enseignant', NULL, '2020-07-20 09:51:57', '2020-07-20 09:53:33'),
(5, 'zz', '<EMAIL>', 'enseignant', NULL, '$2y$10$BAa1bX.w1NOHzqe4p4IDfutFH35cUaBGUCrDa32x0D0VpjMIdiM8u', 'enseignant', NULL, '2020-07-21 08:37:13', '2020-07-21 08:46:38'),
(6, 'aa', '<EMAIL>', 'enseignant', NULL, '$2y$10$0cOuLsBVfg3U8fAIX0bcIu.Ge7xPvHqJJQMiyXLhbzKgzo4Vtxj96', 'enseignant', NULL, '2020-07-21 08:45:10', '2020-07-21 10:19:19'),
(7, 'f1', '<EMAIL>', 'enseignant', NULL, '$2y$10$spSR5FGLRjQQkweJY3N3i.xpJ5FrSB7kKCsBEVsa.cJRitP7R/Bdy', 'enseignant', NULL, '2020-07-22 11:47:58', '2020-07-23 14:00:48'),
(9, 'dddd', '<EMAIL>', 'enseignant', NULL, '$2y$10$XNXg34e9bXZ31wV5tMf0oep4TPZmtMUz.6snNYz6OlYFGcd8euEra', 'enseignant', NULL, '2020-07-23 13:27:23', '2020-07-23 14:01:12'),
(10, 'bb', '<EMAIL>', 'enseignant', NULL, '$2y$10$G8FseI9r7tPH1Qh2xy2z2eVtEDtQzzPksaKWdcbepZ3XqnoW7bRp2', NULL, NULL, '2020-07-23 13:28:01', '2020-07-23 13:28:01'),
(11, 'hhh', '<EMAIL>', 'enseignant', NULL, '$2y$10$WDlyVW6XPk9nsTsoHmJfQuBYnUnjcm1bmNvEmz3mdLKIj/ZyyEAFS', NULL, NULL, '2020-07-23 13:46:21', '2020-07-23 13:46:21'),
(12, 'fff', '<EMAIL>', 'enseignant', NULL, '$2y$10$eulK7rV6VsVONxcVJjBRheZu8Rs67dcsm7ZUHaQXvS/G7DiIQyb6m', 'enseignant', NULL, '2020-07-23 13:47:47', '2020-07-23 13:56:13'),
(13, 'mm', '<EMAIL>', 'enseignant', NULL, '$2y$10$OSmzsVHN0mvc8Nw18xjkXuvllZp4vvX.VzA8IkzoNz3EPsT9wAoxi', NULL, NULL, '2020-07-23 13:49:11', '2020-07-23 13:49:11'),
(14, 'haythem', '<EMAIL>', 'enseignant', NULL, '$2y$10$FBWu8ts7ba8VoTh2jkl1kumr0vOGs/mq.ozFl9DDe55.nbzNVDNvy', 'enseignant', NULL, '2020-07-27 08:36:59', '2020-07-27 08:37:28'),
(15, 'koukou', '<EMAIL>', 'parent', NULL, '$2y$10$8x57dRsQqpMHTbkPIDRs/ujk/dBKPIWISKcoPIToLDOT9fvIPQ8zO', 'parent', NULL, '2020-08-05 09:41:04', '2020-08-05 10:10:06'),
(16, 'malek', '<EMAIL>', 'parent', NULL, '$2y$10$xw9eYINeLrcShVlapwcVuu87U0eNaJ7xXv78smBiLTPEBIRdLdLCC', 'parent', NULL, '2020-08-05 09:43:01', '2020-08-05 10:06:34'),
(17, 'amira', '<EMAIL>', 'parent', NULL, '$2y$10$XsyD.ApS.VTUyr9dxVLZRO0IZ2tv5WzD6YgkJWFMBbiWuLuXcVja2', 'parent', NULL, '2020-08-05 10:20:37', '2020-08-05 10:21:00'),
(18, 'cc', '<EMAIL>', 'parent', NULL, '$2y$10$h/WwbvW4Z2X8DgFU.wKwIuCskPHalETv4z0dmnCxacEin5QYyQ5vO', 'parent', NULL, '2020-08-05 10:22:38', '2020-08-05 10:22:48'),
(19, 'parent', '<EMAIL>', 'parent', NULL, '$2y$10$6ZQkDuqaam5lzdLBHo0/me3I9IJTWxhmO4si2pi6Fcs1fF1kfrKmC', NULL, NULL, '2020-08-06 10:09:43', '2020-08-06 10:09:43');
--
-- Index pour les tables déchargées
--
--
-- Index pour la table `classes`
--
ALTER TABLE `classes`
ADD PRIMARY KEY (`id_c`);
--
-- Index pour la table `clubs`
--
ALTER TABLE `clubs`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `coefs`
--
ALTER TABLE `coefs`
ADD PRIMARY KEY (`id_coef`);
--
-- Index pour la table `cours`
--
ALTER TABLE `cours`
ADD PRIMARY KEY (`id_co`);
--
-- Index pour la table `eleves`
--
ALTER TABLE `eleves`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `eleve_classes`
--
ALTER TABLE `eleve_classes`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `enseignants`
--
ALTER TABLE `enseignants`
ADD PRIMARY KEY (`id_en`);
--
-- Index pour la table `enseignant_classes`
--
ALTER TABLE `enseignant_classes`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `evenements`
--
ALTER TABLE `evenements`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `events`
--
ALTER TABLE `events`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `galleries`
--
ALTER TABLE `galleries`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `groupes`
--
ALTER TABLE `groupes`
ADD PRIMARY KEY (`id_g`);
--
-- Index pour la table `groupe_classes`
--
ALTER TABLE `groupe_classes`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `matieres`
--
ALTER TABLE `matieres`
ADD PRIMARY KEY (`id_m`);
--
-- Index pour la table `matiere_classes`
--
ALTER TABLE `matiere_classes`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `notes`
--
ALTER TABLE `notes`
ADD PRIMARY KEY (`id_n`);
--
-- Index pour la table `notifications`
--
ALTER TABLE `notifications`
ADD PRIMARY KEY (`id`),
ADD KEY `notifications_notifiable_type_notifiable_id_index` (`notifiable_type`,`notifiable_id`);
--
-- Index pour la table `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Index pour la table `photos`
--
ALTER TABLE `photos`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `presences`
--
ALTER TABLE `presences`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `reclams`
--
ALTER TABLE `reclams`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `slider_images`
--
ALTER TABLE `slider_images`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `sorties`
--
ALTER TABLE `sorties`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `tests`
--
ALTER TABLE `tests`
ADD PRIMARY KEY (`id`);
--
-- Index pour la table `tuteurs`
--
ALTER TABLE `tuteurs`
ADD PRIMARY KEY (`id_p`);
--
-- Index pour la table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`);
--
-- AUTO_INCREMENT pour les tables déchargées
--
--
-- AUTO_INCREMENT pour la table `classes`
--
ALTER TABLE `classes`
MODIFY `id_c` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT pour la table `clubs`
--
ALTER TABLE `clubs`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT pour la table `coefs`
--
ALTER TABLE `coefs`
MODIFY `id_coef` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT pour la table `cours`
--
ALTER TABLE `cours`
MODIFY `id_co` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT pour la table `eleves`
--
ALTER TABLE `eleves`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;
--
-- AUTO_INCREMENT pour la table `eleve_classes`
--
ALTER TABLE `eleve_classes`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;
--
-- AUTO_INCREMENT pour la table `enseignants`
--
ALTER TABLE `enseignants`
MODIFY `id_en` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;
--
-- AUTO_INCREMENT pour la table `enseignant_classes`
--
ALTER TABLE `enseignant_classes`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;
--
-- AUTO_INCREMENT pour la table `evenements`
--
ALTER TABLE `evenements`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT pour la table `events`
--
ALTER TABLE `events`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT pour la table `galleries`
--
ALTER TABLE `galleries`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT pour la table `groupes`
--
ALTER TABLE `groupes`
MODIFY `id_g` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT pour la table `groupe_classes`
--
ALTER TABLE `groupe_classes`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- AUTO_INCREMENT pour la table `matieres`
--
ALTER TABLE `matieres`
MODIFY `id_m` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT pour la table `matiere_classes`
--
ALTER TABLE `matiere_classes`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT pour la table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=26;
--
-- AUTO_INCREMENT pour la table `notes`
--
ALTER TABLE `notes`
MODIFY `id_n` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=72;
--
-- AUTO_INCREMENT pour la table `photos`
--
ALTER TABLE `photos`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT pour la table `presences`
--
ALTER TABLE `presences`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=56;
--
-- AUTO_INCREMENT pour la table `reclams`
--
ALTER TABLE `reclams`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT pour la table `slider_images`
--
ALTER TABLE `slider_images`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT pour la table `sorties`
--
ALTER TABLE `sorties`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT pour la table `tests`
--
ALTER TABLE `tests`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT pour la table `tuteurs`
--
ALTER TABLE `tuteurs`
MODIFY `id_p` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;
--
-- AUTO_INCREMENT pour la table `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;
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 */;
|
INSERT INTO `fmi_categories` (`id`, `name`, `slug`, `created_at`, `updated_at`) VALUES
(4, 'Abstract', 'abstract', '2016-06-22 00:00:00', '2016-06-22 00:00:00'),
(5, 'City', 'city', '2016-06-22 00:00:00', '2016-06-22 00:00:00'),
(6, 'People', 'people', '2016-06-22 00:00:00', '2016-06-22 00:00:00'),
(7, 'Transport', 'transport', '2016-06-22 00:00:00', '2016-06-22 00:00:00'),
(8, 'Animals', 'animals', '2016-06-22 00:00:00', '2016-06-22 00:00:00'),
(9, 'Food', 'food', '2016-06-22 00:00:00', '2016-06-22 00:00:00'),
(10, 'Nature', 'nature', '2016-06-22 00:00:00', '2016-06-22 00:00:00'),
(11, 'Business', 'business', '2016-06-22 00:00:00', '2016-06-22 00:00:00'),
(12, 'Nightlife', 'nightlife', '2016-06-22 00:00:00', '2016-06-22 00:00:00'),
(13, 'Sports', 'sports', '2016-06-22 00:00:00', '2016-06-22 00:00:00'),
(14, 'Cats', 'cats', '2016-06-22 00:00:00', '2016-06-22 00:00:00'),
(15, 'Dogs', 'Dogs', '2016-06-22 00:00:00', '2016-06-22 00:00:00'),
(16, 'Fashion', 'fashion', '2016-06-22 00:00:00', '2016-06-22 00:00:00'),
(17, 'Technics', 'technics', '2016-06-22 00:00:00', '2016-06-22 00:00:00'); |
-- MySQL dump 10.13 Distrib 8.0.26, for Linux (x86_64)
--
-- Host: localhost Database: Insurance_company
-- ------------------------------------------------------
-- Server version 8.0.26-0ubuntu0.20.04.3
/*!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 */;
/*!50503 SET NAMES utf8mb4 */;
/*!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 `Beneficiaries`
--
DROP DATABASE IF EXISTS dna_database;
CREATE SCHEMA dna_database;
USE dna_database;
DROP TABLE IF EXISTS `Beneficiaries`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Beneficiaries` (
`policy_id` varchar(15) NOT NULL,
`name_of_beneficiary` varchar(100) NOT NULL,
PRIMARY KEY (`policy_id`,`name_of_beneficiary`),
FULLTEXT KEY `name_of_beneficiary` (`name_of_beneficiary`),
CONSTRAINT `Beneficiaries_ibfk_1` FOREIGN KEY (`policy_id`) REFERENCES `Life` (`policy_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Beneficiaries`
--
LOCK TABLES `Beneficiaries` WRITE;
/*!40000 ALTER TABLE `Beneficiaries` DISABLE KEYS */;
INSERT INTO `Beneficiaries` VALUES ('Life#234567','Rohit'),('Life#234567','Sumit');
/*!40000 ALTER TABLE `Beneficiaries` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Cashless_Hospitals`
--
DROP TABLE IF EXISTS `Cashless_Hospitals`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Cashless_Hospitals` (
`policy_id` varchar(15) NOT NULL,
`name_of_hospital` varchar(50) NOT NULL,
PRIMARY KEY (`policy_id`,`name_of_hospital`),
FULLTEXT KEY `name_of_hospital` (`name_of_hospital`),
CONSTRAINT `Cashless_Hospitals_ibfk_1` FOREIGN KEY (`policy_id`) REFERENCES `Medical` (`policy_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Cashless_Hospitals`
--
LOCK TABLES `Cashless_Hospitals` WRITE;
/*!40000 ALTER TABLE `Cashless_Hospitals` DISABLE KEYS */;
INSERT INTO `Cashless_Hospitals` VALUES ('medi#123456','Galaxy-Care-Hospital'),('medi#123456','Kohinoor-International-Hospital');
/*!40000 ALTER TABLE `Cashless_Hospitals` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Claim_Date`
--
DROP TABLE IF EXISTS `Claim_Date`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Claim_Date` (
`policy_id` varchar(15) NOT NULL,
`date_of_claim` date NOT NULL,
PRIMARY KEY (`policy_id`),
CONSTRAINT `Claim_Date_ibfk_1` FOREIGN KEY (`policy_id`) REFERENCES `Resolves_Claims` (`policy_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Claim_Date`
--
LOCK TABLES `Claim_Date` WRITE;
/*!40000 ALTER TABLE `Claim_Date` DISABLE KEYS */;
INSERT INTO `Claim_Date` VALUES ('hous#345678','2010-01-01');
/*!40000 ALTER TABLE `Claim_Date` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Claim_Report`
--
DROP TABLE IF EXISTS `Claim_Report`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Claim_Report` (
`policy_id` varchar(15) NOT NULL,
`claim_report` varchar(1000) DEFAULT NULL,
PRIMARY KEY (`policy_id`),
CONSTRAINT `Claim_Report_ibfk_1` FOREIGN KEY (`policy_id`) REFERENCES `Resolves_Claims` (`policy_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Claim_Report`
--
LOCK TABLES `Claim_Report` WRITE;
/*!40000 ALTER TABLE `Claim_Report` DISABLE KEYS */;
INSERT INTO `Claim_Report` VALUES ('hous#345678','House burned down due to gas leak.-Categorized as accident.-Claim Approved.');
/*!40000 ALTER TABLE `Claim_Report` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Conditions_Covered`
--
DROP TABLE IF EXISTS `Conditions_Covered`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Conditions_Covered` (
`policy_id` varchar(15) NOT NULL,
`name_of_condition` varchar(50) NOT NULL,
PRIMARY KEY (`policy_id`,`name_of_condition`),
FULLTEXT KEY `name_of_condition` (`name_of_condition`),
CONSTRAINT `Conditions_Covered_ibfk_1` FOREIGN KEY (`policy_id`) REFERENCES `Medical` (`policy_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Conditions_Covered`
--
LOCK TABLES `Conditions_Covered` WRITE;
/*!40000 ALTER TABLE `Conditions_Covered` DISABLE KEYS */;
INSERT INTO `Conditions_Covered` VALUES ('medi#123456','Covid-19'),('medi#123456','Dengue'),('medi#123456','Injury'),('medi#123456','Malaria');
/*!40000 ALTER TABLE `Conditions_Covered` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Customer`
--
DROP TABLE IF EXISTS `Customer`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Customer` (
`aadhar_no` varchar(20) NOT NULL,
`date_of_birth` date NOT NULL,
`first_name` varchar(50) NOT NULL,
`middle_name` varchar(50) DEFAULT NULL,
`surname` varchar(50) DEFAULT NULL,
`email_id` varchar(100) NOT NULL,
`customer_status` varchar(15) DEFAULT 'normal',
`street_address` varchar(100) NOT NULL,
`zip_code` varchar(6) NOT NULL,
`city` varchar(20) NOT NULL,
`state` varchar(20) NOT NULL,
PRIMARY KEY (`aadhar_no`),
FULLTEXT KEY `first_name` (`first_name`,`middle_name`,`surname`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Customer`
--
LOCK TABLES `Customer` WRITE;
/*!40000 ALTER TABLE `Customer` DISABLE KEYS */;
INSERT INTO `Customer` VALUES ('567812340987','2000-11-05','Alok','Kumar','Arora','<EMAIL>','Gold','<NAME>','654321','Noida','UP');
/*!40000 ALTER TABLE `Customer` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Customer_Age`
--
DROP TABLE IF EXISTS `Customer_Age`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Customer_Age` (
`age` int NOT NULL,
`customer_aadhar_no` varchar(20) NOT NULL,
PRIMARY KEY (`age`,`customer_aadhar_no`),
KEY `customer_aadhar_no` (`customer_aadhar_no`),
CONSTRAINT `Customer_Age_ibfk_1` FOREIGN KEY (`customer_aadhar_no`) REFERENCES `Customer` (`aadhar_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Customer_Age`
--
LOCK TABLES `Customer_Age` WRITE;
/*!40000 ALTER TABLE `Customer_Age` DISABLE KEYS */;
INSERT INTO `Customer_Age` VALUES (19,'567812340987');
/*!40000 ALTER TABLE `Customer_Age` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Customer_Contact`
--
DROP TABLE IF EXISTS `Customer_Contact`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Customer_Contact` (
`contact_number` varchar(15) NOT NULL,
`customer_aadhar_no` varchar(20) NOT NULL,
PRIMARY KEY (`contact_number`,`customer_aadhar_no`),
KEY `customer_aadhar_no` (`customer_aadhar_no`),
CONSTRAINT `Customer_Contact_ibfk_1` FOREIGN KEY (`customer_aadhar_no`) REFERENCES `Customer` (`aadhar_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Customer_Contact`
--
LOCK TABLES `Customer_Contact` WRITE;
/*!40000 ALTER TABLE `Customer_Contact` DISABLE KEYS */;
INSERT INTO `Customer_Contact` VALUES ('6388181026','567812340987'),('9415617669','567812340987');
/*!40000 ALTER TABLE `Customer_Contact` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Customer_Dependant`
--
DROP TABLE IF EXISTS `Customer_Dependant`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Customer_Dependant` (
`first_name` varchar(50) NOT NULL,
`middle_name` varchar(50) NOT NULL,
`surname` varchar(50) NOT NULL,
`date_of_birth` date NOT NULL,
PRIMARY KEY (`first_name`,`middle_name`,`surname`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Customer_Dependant`
--
LOCK TABLES `Customer_Dependant` WRITE;
/*!40000 ALTER TABLE `Customer_Dependant` DISABLE KEYS */;
INSERT INTO `Customer_Dependant` VALUES ('Nitin','Kumar','Arora','2001-12-06');
/*!40000 ALTER TABLE `Customer_Dependant` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Customer_Dependant_Age`
--
DROP TABLE IF EXISTS `Customer_Dependant_Age`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Customer_Dependant_Age` (
`dependant_first_name` varchar(50) NOT NULL,
`dependant_middle_name` varchar(50) NOT NULL,
`dependant_surname` varchar(50) NOT NULL,
`age` int NOT NULL,
PRIMARY KEY (`dependant_first_name`,`dependant_middle_name`,`dependant_surname`,`age`),
CONSTRAINT `Customer_Dependant_Age_ibfk_1` FOREIGN KEY (`dependant_first_name`, `dependant_middle_name`, `dependant_surname`) REFERENCES `Customer_Dependant` (`first_name`, `middle_name`, `surname`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Customer_Dependant_Age`
--
LOCK TABLES `Customer_Dependant_Age` WRITE;
/*!40000 ALTER TABLE `Customer_Dependant_Age` DISABLE KEYS */;
INSERT INTO `Customer_Dependant_Age` VALUES ('Nitin','Kumar','Arora',18);
/*!40000 ALTER TABLE `Customer_Dependant_Age` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Customer_License_No`
--
DROP TABLE IF EXISTS `Customer_License_No`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Customer_License_No` (
`policy_id` varchar(15) NOT NULL,
`customer_license_no` varchar(18) NOT NULL,
PRIMARY KEY (`policy_id`,`customer_license_no`),
CONSTRAINT `Customer_License_No_ibfk_1` FOREIGN KEY (`policy_id`) REFERENCES `Vehicle` (`policy_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Customer_License_No`
--
LOCK TABLES `Customer_License_No` WRITE;
/*!40000 ALTER TABLE `Customer_License_No` DISABLE KEYS */;
INSERT INTO `Customer_License_No` VALUES ('vehi#570852','379467087330');
/*!40000 ALTER TABLE `Customer_License_No` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Depends_On`
--
DROP TABLE IF EXISTS `Depends_On`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Depends_On` (
`dependant_first_name` varchar(50) NOT NULL,
`dependant_middle_name` varchar(50) NOT NULL,
`dependant_surname` varchar(50) NOT NULL,
`customer_aadhar_no` varchar(20) NOT NULL,
PRIMARY KEY (`dependant_first_name`,`dependant_middle_name`,`dependant_surname`,`customer_aadhar_no`),
KEY `customer_aadhar_no` (`customer_aadhar_no`),
CONSTRAINT `Depends_On_ibfk_1` FOREIGN KEY (`dependant_first_name`, `dependant_middle_name`, `dependant_surname`) REFERENCES `Customer_Dependant` (`first_name`, `middle_name`, `surname`),
CONSTRAINT `Depends_On_ibfk_2` FOREIGN KEY (`customer_aadhar_no`) REFERENCES `Customer` (`aadhar_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Depends_On`
--
LOCK TABLES `Depends_On` WRITE;
/*!40000 ALTER TABLE `Depends_On` DISABLE KEYS */;
INSERT INTO `Depends_On` VALUES ('Nitin','Kumar','Arora','567812340987');
/*!40000 ALTER TABLE `Depends_On` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Employee`
--
DROP TABLE IF EXISTS `Employee`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Employee` (
`department_no` int NOT NULL,
`serial_no` int NOT NULL,
`aadhar_no` varchar(20) NOT NULL,
`date_of_birth` date NOT NULL,
`first_name` varchar(50) NOT NULL,
`middle_name` varchar(50) DEFAULT NULL,
`surname` varchar(50) DEFAULT NULL,
`email_id` varchar(100) NOT NULL,
`street_address` varchar(100) NOT NULL,
`zip_code` varchar(6) NOT NULL,
`city` varchar(20) NOT NULL,
`state` varchar(20) NOT NULL,
`sup_department_no` int DEFAULT NULL,
`sup_serial_no` int DEFAULT NULL,
PRIMARY KEY (`department_no`,`serial_no`),
KEY `sup_department_no` (`sup_department_no`,`sup_serial_no`),
FULLTEXT KEY `first_name` (`first_name`,`middle_name`,`surname`),
CONSTRAINT `Employee_ibfk_1` FOREIGN KEY (`sup_department_no`, `sup_serial_no`) REFERENCES `Employee` (`department_no`, `serial_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Employee`
--
LOCK TABLES `Employee` WRITE;
/*!40000 ALTER TABLE `Employee` DISABLE KEYS */;
INSERT INTO `Employee` VALUES (12,1,'123409875678','2005-06-30','Srijan','Mohan','Aggrawal','<EMAIL>','N-10/63 D, Jawahar Nagar','567890','Noida','UP',NULL,NULL);
/*!40000 ALTER TABLE `Employee` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Employee_Age`
--
DROP TABLE IF EXISTS `Employee_Age`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Employee_Age` (
`age` int NOT NULL,
`employee_serial_no` int NOT NULL,
`employee_department_no` int NOT NULL,
PRIMARY KEY (`age`,`employee_serial_no`,`employee_department_no`),
KEY `employee_department_no` (`employee_department_no`,`employee_serial_no`),
CONSTRAINT `Employee_Age_ibfk_1` FOREIGN KEY (`employee_department_no`, `employee_serial_no`) REFERENCES `Employee` (`department_no`, `serial_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Employee_Age`
--
LOCK TABLES `Employee_Age` WRITE;
/*!40000 ALTER TABLE `Employee_Age` DISABLE KEYS */;
INSERT INTO `Employee_Age` VALUES (15,1,12);
/*!40000 ALTER TABLE `Employee_Age` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Employee_Contact`
--
DROP TABLE IF EXISTS `Employee_Contact`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Employee_Contact` (
`contact_number` varchar(15) NOT NULL,
`employee_serial_no` int NOT NULL,
`employee_department_no` int NOT NULL,
PRIMARY KEY (`contact_number`,`employee_serial_no`,`employee_department_no`),
KEY `employee_department_no` (`employee_department_no`,`employee_serial_no`),
CONSTRAINT `Employee_Contact_ibfk_1` FOREIGN KEY (`employee_department_no`, `employee_serial_no`) REFERENCES `Employee` (`department_no`, `serial_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Employee_Contact`
--
LOCK TABLES `Employee_Contact` WRITE;
/*!40000 ALTER TABLE `Employee_Contact` DISABLE KEYS */;
/*!40000 ALTER TABLE `Employee_Contact` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Employee_Dependant`
--
DROP TABLE IF EXISTS `Employee_Dependant`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Employee_Dependant` (
`first_name` varchar(50) NOT NULL,
`middle_name` varchar(50) NOT NULL,
`surname` varchar(50) NOT NULL,
`date_of_birth` date NOT NULL,
PRIMARY KEY (`first_name`,`middle_name`,`surname`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Employee_Dependant`
--
LOCK TABLES `Employee_Dependant` WRITE;
/*!40000 ALTER TABLE `Employee_Dependant` DISABLE KEYS */;
INSERT INTO `Employee_Dependant` VALUES ('Amit','M','Aggrawal','2005-06-29');
/*!40000 ALTER TABLE `Employee_Dependant` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Employee_Dependant_Age`
--
DROP TABLE IF EXISTS `Employee_Dependant_Age`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Employee_Dependant_Age` (
`age` int NOT NULL,
`dependant_first_name` varchar(50) NOT NULL,
`dependant_middle_name` varchar(50) NOT NULL,
`dependant_surname` varchar(50) NOT NULL,
PRIMARY KEY (`age`,`dependant_first_name`,`dependant_middle_name`,`dependant_surname`),
KEY `dependant_first_name` (`dependant_first_name`,`dependant_middle_name`,`dependant_surname`),
CONSTRAINT `Employee_Dependant_Age_ibfk_1` FOREIGN KEY (`dependant_first_name`, `dependant_middle_name`, `dependant_surname`) REFERENCES `Employee_Dependant` (`first_name`, `middle_name`, `surname`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Employee_Dependant_Age`
--
LOCK TABLES `Employee_Dependant_Age` WRITE;
/*!40000 ALTER TABLE `Employee_Dependant_Age` DISABLE KEYS */;
INSERT INTO `Employee_Dependant_Age` VALUES (15,'Amit','M','Aggrawal');
/*!40000 ALTER TABLE `Employee_Dependant_Age` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `House`
--
DROP TABLE IF EXISTS `House`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `House` (
`policy_id` varchar(15) NOT NULL,
`replacement_cost` decimal(18,2) NOT NULL,
`street_address` varchar(100) NOT NULL,
`zip_code` varchar(6) NOT NULL,
`city` varchar(20) NOT NULL,
`state` varchar(20) NOT NULL,
PRIMARY KEY (`policy_id`),
CONSTRAINT `House_ibfk_1` FOREIGN KEY (`policy_id`) REFERENCES `Policy` (`policy_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `House`
--
LOCK TABLES `House` WRITE;
/*!40000 ALTER TABLE `House` DISABLE KEYS */;
INSERT INTO `House` VALUES ('hous#345678',200000.00,'iiith nagar','456789','Noida ','UP');
/*!40000 ALTER TABLE `House` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Life`
--
DROP TABLE IF EXISTS `Life`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Life` (
`policy_id` varchar(15) NOT NULL,
`death_value_benefit` decimal(18,2) NOT NULL,
`medical_history` varchar(1000) DEFAULT NULL,
PRIMARY KEY (`policy_id`),
CONSTRAINT `Life_ibfk_1` FOREIGN KEY (`policy_id`) REFERENCES `Policy` (`policy_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Life`
--
LOCK TABLES `Life` WRITE;
/*!40000 ALTER TABLE `Life` DISABLE KEYS */;
INSERT INTO `Life` VALUES ('Life#234567',300000.00,'healthy. - fit.');
/*!40000 ALTER TABLE `Life` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Medical`
--
DROP TABLE IF EXISTS `Medical`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Medical` (
`policy_id` varchar(15) NOT NULL,
`death_value_benefit` decimal(18,2) NOT NULL,
PRIMARY KEY (`policy_id`),
CONSTRAINT `Medical_ibfk_1` FOREIGN KEY (`policy_id`) REFERENCES `Policy` (`policy_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Medical`
--
LOCK TABLES `Medical` WRITE;
/*!40000 ALTER TABLE `Medical` DISABLE KEYS */;
INSERT INTO `Medical` VALUES ('medi#123456',300000.00);
/*!40000 ALTER TABLE `Medical` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Policy`
--
DROP TABLE IF EXISTS `Policy`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Policy` (
`policy_id` varchar(15) NOT NULL,
`terms_and_conditions` varchar(1000) DEFAULT NULL,
`date_of_issue` date NOT NULL,
`durantion_in_months` int NOT NULL,
`premium_value` decimal(18,2) NOT NULL,
`sum_assured` decimal(18,2) NOT NULL,
`customer_aadhar_no` varchar(20) NOT NULL,
`employee_department_no` int NOT NULL,
`employee_serial_no` int NOT NULL,
PRIMARY KEY (`policy_id`),
KEY `customer_aadhar_no` (`customer_aadhar_no`),
KEY `employee_department_no` (`employee_department_no`,`employee_serial_no`),
CONSTRAINT `Policy_ibfk_1` FOREIGN KEY (`customer_aadhar_no`) REFERENCES `Customer` (`aadhar_no`),
CONSTRAINT `Policy_ibfk_2` FOREIGN KEY (`employee_department_no`, `employee_serial_no`) REFERENCES `Employee` (`department_no`, `serial_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Policy`
--
LOCK TABLES `Policy` WRITE;
/*!40000 ALTER TABLE `Policy` DISABLE KEYS */;
INSERT INTO `Policy` VALUES ('hous#345678','its regular policy','2007-07-07',12,3000.00,300000.00,'567812340987',12,1),('Life#234567','it is a regular policy. - it cannot be transferred to anyone.','2007-07-07',12,3000.00,300000.00,'567812340987',12,1),('medi#123456','its regular policy.','2007-07-07',12,3000.00,300000.00,'567812340987',12,1),('trav#975369','its regular travel policy','2007-07-07',12,3000.00,300000.00,'567812340987',12,1),('vehi#570852','its regular vehicle policy.- it cannot be transferred','2007-07-07',12,3000.00,300000.00,'567812340987',12,1);
/*!40000 ALTER TABLE `Policy` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Provided_By`
--
DROP TABLE IF EXISTS `Provided_By`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Provided_By` (
`employee_department_no` int NOT NULL,
`employee_serial_no` int NOT NULL,
`dependant_first_name` varchar(50) NOT NULL,
`dependant_middle_name` varchar(50) NOT NULL,
`dependant_surname` varchar(50) NOT NULL,
PRIMARY KEY (`employee_department_no`,`employee_serial_no`,`dependant_first_name`,`dependant_middle_name`,`dependant_surname`),
KEY `dependant_first_name` (`dependant_first_name`,`dependant_middle_name`,`dependant_surname`),
CONSTRAINT `Provided_By_ibfk_1` FOREIGN KEY (`employee_department_no`, `employee_serial_no`) REFERENCES `Employee` (`department_no`, `serial_no`),
CONSTRAINT `Provided_By_ibfk_2` FOREIGN KEY (`dependant_first_name`, `dependant_middle_name`, `dependant_surname`) REFERENCES `Employee_Dependant` (`first_name`, `middle_name`, `surname`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Provided_By`
--
LOCK TABLES `Provided_By` WRITE;
/*!40000 ALTER TABLE `Provided_By` DISABLE KEYS */;
INSERT INTO `Provided_By` VALUES (12,1,'Amit','M','Aggrawal');
/*!40000 ALTER TABLE `Provided_By` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Resolves_Claims`
--
DROP TABLE IF EXISTS `Resolves_Claims`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Resolves_Claims` (
`TPA_id` varchar(20) NOT NULL,
`employee_department_no` int NOT NULL,
`employee_serial_no` int NOT NULL,
`policy_id` varchar(15) NOT NULL,
`customer_aadhar_no` varchar(20) NOT NULL,
PRIMARY KEY (`TPA_id`,`employee_department_no`,`employee_serial_no`,`policy_id`,`customer_aadhar_no`),
KEY `employee_department_no` (`employee_department_no`,`employee_serial_no`),
KEY `policy_id` (`policy_id`),
KEY `customer_aadhar_no` (`customer_aadhar_no`),
CONSTRAINT `Resolves_Claims_ibfk_1` FOREIGN KEY (`TPA_id`) REFERENCES `TPA` (`TPA_id`),
CONSTRAINT `Resolves_Claims_ibfk_2` FOREIGN KEY (`employee_department_no`, `employee_serial_no`) REFERENCES `Employee` (`department_no`, `serial_no`),
CONSTRAINT `Resolves_Claims_ibfk_3` FOREIGN KEY (`policy_id`) REFERENCES `Policy` (`policy_id`),
CONSTRAINT `Resolves_Claims_ibfk_4` FOREIGN KEY (`customer_aadhar_no`) REFERENCES `Customer` (`aadhar_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Resolves_Claims`
--
LOCK TABLES `Resolves_Claims` WRITE;
/*!40000 ALTER TABLE `Resolves_Claims` DISABLE KEYS */;
INSERT INTO `Resolves_Claims` VALUES ('5678-9853',12,1,'hous#345678','567812340987');
/*!40000 ALTER TABLE `Resolves_Claims` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `TPA`
--
DROP TABLE IF EXISTS `TPA`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `TPA` (
`TPA_id` varchar(20) NOT NULL,
`TPA_name` varchar(50) NOT NULL,
`street_address` varchar(100) NOT NULL,
`zip_code` varchar(6) NOT NULL,
`city` varchar(20) NOT NULL,
`state` varchar(20) NOT NULL,
PRIMARY KEY (`TPA_id`),
FULLTEXT KEY `TPA_name` (`TPA_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `TPA`
--
LOCK TABLES `TPA` WRITE;
/*!40000 ALTER TABLE `TPA` DISABLE KEYS */;
INSERT INTO `TPA` VALUES ('5678-9853','NRC','N-12/64 D, <NAME>','369649','Noida','UP');
/*!40000 ALTER TABLE `TPA` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `TPA_Contact_Info`
--
DROP TABLE IF EXISTS `TPA_Contact_Info`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `TPA_Contact_Info` (
`contact_number` varchar(15) NOT NULL,
`TPA_id` varchar(20) NOT NULL,
PRIMARY KEY (`contact_number`,`TPA_id`),
KEY `TPA_id` (`TPA_id`),
CONSTRAINT `TPA_Contact_Info_ibfk_1` FOREIGN KEY (`TPA_id`) REFERENCES `TPA` (`TPA_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `TPA_Contact_Info`
--
LOCK TABLES `TPA_Contact_Info` WRITE;
/*!40000 ALTER TABLE `TPA_Contact_Info` DISABLE KEYS */;
INSERT INTO `TPA_Contact_Info` VALUES ('9026816423','5678-9853'),('9026816426','5678-9853');
/*!40000 ALTER TABLE `TPA_Contact_Info` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `TPA_Investigations_Conducted`
--
DROP TABLE IF EXISTS `TPA_Investigations_Conducted`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `TPA_Investigations_Conducted` (
`type` varchar(30) NOT NULL,
`TPA_id` varchar(20) NOT NULL,
PRIMARY KEY (`type`,`TPA_id`),
KEY `TPA_id` (`TPA_id`),
CONSTRAINT `TPA_Investigations_Conducted_ibfk_1` FOREIGN KEY (`TPA_id`) REFERENCES `TPA` (`TPA_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `TPA_Investigations_Conducted`
--
LOCK TABLES `TPA_Investigations_Conducted` WRITE;
/*!40000 ALTER TABLE `TPA_Investigations_Conducted` DISABLE KEYS */;
INSERT INTO `TPA_Investigations_Conducted` VALUES ('drug-overdose','5678-9853'),('smuggling','5678-9853');
/*!40000 ALTER TABLE `TPA_Investigations_Conducted` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Travel`
--
DROP TABLE IF EXISTS `Travel`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Travel` (
`policy_id` varchar(15) NOT NULL,
`itenerary` varchar(1000) DEFAULT NULL,
`airline_and_hotel_bookings` varchar(1000) DEFAULT NULL,
PRIMARY KEY (`policy_id`),
CONSTRAINT `Travel_ibfk_1` FOREIGN KEY (`policy_id`) REFERENCES `Policy` (`policy_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Travel`
--
LOCK TABLES `Travel` WRITE;
/*!40000 ALTER TABLE `Travel` DISABLE KEYS */;
INSERT INTO `Travel` VALUES ('trav#975369','Visit India Gate. Eat at Leopold Cafe.','Indigo, Hotel Taj');
/*!40000 ALTER TABLE `Travel` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Travel_Destinations`
--
DROP TABLE IF EXISTS `Travel_Destinations`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Travel_Destinations` (
`policy_id` varchar(15) NOT NULL,
`destination` varchar(20) NOT NULL,
PRIMARY KEY (`policy_id`,`destination`),
CONSTRAINT `Travel_Destinations_ibfk_1` FOREIGN KEY (`policy_id`) REFERENCES `Travel` (`policy_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Travel_Destinations`
--
LOCK TABLES `Travel_Destinations` WRITE;
/*!40000 ALTER TABLE `Travel_Destinations` DISABLE KEYS */;
INSERT INTO `Travel_Destinations` VALUES ('trav#975369','Delhi'),('trav#975369','Hyderabad'),('trav#975369','Mumbai');
/*!40000 ALTER TABLE `Travel_Destinations` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Vehicle`
--
DROP TABLE IF EXISTS `Vehicle`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Vehicle` (
`policy_id` varchar(15) NOT NULL,
`license_plate_no` varchar(12) NOT NULL,
PRIMARY KEY (`policy_id`),
CONSTRAINT `Vehicle_ibfk_1` FOREIGN KEY (`policy_id`) REFERENCES `Policy` (`policy_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Vehicle`
--
LOCK TABLES `Vehicle` WRITE;
/*!40000 ALTER TABLE `Vehicle` DISABLE KEYS */;
INSERT INTO `Vehicle` VALUES ('vehi#570852','MH01KL5164');
/*!40000 ALTER TABLE `Vehicle` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `Vehicle_Colours`
--
DROP TABLE IF EXISTS `Vehicle_Colours`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `Vehicle_Colours` (
`policy_id` varchar(15) NOT NULL,
`colour` varchar(20) NOT NULL,
PRIMARY KEY (`policy_id`,`colour`),
CONSTRAINT `Vehicle_Colours_ibfk_1` FOREIGN KEY (`policy_id`) REFERENCES `Vehicle` (`policy_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `Vehicle_Colours`
--
LOCK TABLES `Vehicle_Colours` WRITE;
/*!40000 ALTER TABLE `Vehicle_Colours` DISABLE KEYS */;
INSERT INTO `Vehicle_Colours` VALUES ('vehi#570852','blue'),('vehi#570852','green');
/*!40000 ALTER TABLE `Vehicle_Colours` 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 2021-10-24 20:25:24
|
/* ---------------------------------------------- */
/* The extension UUID must be added to database. */
/* You can see if UUID is already supported by: */
/* ---------------------------------------------- */
SELECT uuid_generate_v4();
/* ---------------------------------------------- */
/* It must be added by superuser. */
/* Bash commands, assuming database: collabauth */
/* sudo su postgres */
/* psql collabauth postgres */
/* ---------------------------------------------- */
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
SELECT uuid_generate_v4();
|
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Jul 14, 2017 at 04:26 AM
-- Server version: 10.1.13-MariaDB
-- PHP Version: 5.6.23
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: `prj_tour`
--
-- --------------------------------------------------------
--
-- Table structure for table `customers`
--
CREATE TABLE `customers` (
`customer_id` int(10) UNSIGNED NOT NULL,
`customer_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`dob` date NOT NULL,
`gender` tinyint(4) NOT NULL,
`phone_number` varchar(13) COLLATE utf8_unicode_ci NOT NULL,
`email` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`username` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`password` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`address` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`passport` varchar(15) COLLATE utf8_unicode_ci NOT NULL,
`code_reset_password` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `discount_code`
--
CREATE TABLE `discount_code` (
`discount_code_id` int(10) UNSIGNED NOT NULL,
`discount_code_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`start_date` date NOT NULL,
`end_date` date NOT NULL,
`employee_id` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `employees`
--
CREATE TABLE `employees` (
`employee_id` int(10) UNSIGNED NOT NULL,
`email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`password` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`level` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`dob` date NOT NULL,
`gender` tinyint(4) NOT NULL,
`phone_number` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`address` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`employee_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`avatar` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `employees`
--
INSERT INTO `employees` (`employee_id`, `email`, `password`, `level`, `dob`, `gender`, `phone_number`, `address`, `employee_name`, `avatar`, `created_at`, `updated_at`) VALUES
(3, '<EMAIL>', <PASSWORD>', '1', '1995-10-25', 1, '0966120499', 'Hà Nội', 'Trác', 'R4Z3EM_IMG_9599.JPG', '2017-07-13 05:19:19', '2017-07-13 05:19:19');
-- --------------------------------------------------------
--
-- Table structure for table `history`
--
CREATE TABLE `history` (
`history_id` int(10) UNSIGNED NOT NULL,
`action` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`employee_id` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2017_07_11_015552_employees', 1),
(2, '2017_07_11_015628_services', 1),
(3, '2017_07_11_015640_vehicles', 1),
(4, '2017_07_11_015656_places', 1),
(5, '2017_07_11_015755_discount_code', 1),
(6, '2017_07_11_015814_history', 2),
(7, '2017_07_11_015835_customers', 2),
(8, '2017_07_11_015853_tours', 2),
(9, '2017_07_11_015914_tour_coupons', 2),
(10, '2017_07_11_015924_tour_images', 2);
-- --------------------------------------------------------
--
-- Table structure for table `places`
--
CREATE TABLE `places` (
`place_id` int(10) UNSIGNED NOT NULL,
`place_name` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
`description` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`image` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`parent_id` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `services`
--
CREATE TABLE `services` (
`service_id` int(10) UNSIGNED NOT NULL,
`service_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`detail` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`service_icon` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `services`
--
INSERT INTO `services` (`service_id`, `service_name`, `detail`, `service_icon`, `created_at`, `updated_at`) VALUES
(1, 'Ẩm thực', 'Full', 's5Rj2ECol_kieu2012111301.jpg', '2017-07-13 18:58:12', '2017-07-13 18:58:12');
-- --------------------------------------------------------
--
-- Table structure for table `tours`
--
CREATE TABLE `tours` (
`tour_id` int(10) UNSIGNED NOT NULL,
`tour_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`base_prices` double(8,2) NOT NULL,
`sale_prices` double(8,2) NOT NULL,
`discount_code_id` int(10) UNSIGNED NOT NULL,
`content` text COLLATE utf8_unicode_ci NOT NULL,
`begin_time` date NOT NULL,
`duration` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`max_custom_number` int(11) NOT NULL,
`start_place` int(11) NOT NULL,
`journey` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`vehicle` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`locked` tinyint(4) NOT NULL,
`schedule` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`note` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`overview` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `tour_coupon`
--
CREATE TABLE `tour_coupon` (
`tour_coupon_id` int(10) UNSIGNED NOT NULL,
`status` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`customer_id` int(10) UNSIGNED NOT NULL,
`tour_id` int(11) NOT NULL,
`service_id` int(11) NOT NULL,
`children_number` int(11) NOT NULL,
`adult_number` int(11) NOT NULL,
`price` double(8,2) NOT NULL,
`created_tour_date` datetime NOT NULL,
`history_id` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `tour_images`
--
CREATE TABLE `tour_images` (
`tour_images_id` int(10) UNSIGNED NOT NULL,
`image` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`tour_id` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `vehicles`
--
CREATE TABLE `vehicles` (
`vehicle_id` int(10) UNSIGNED NOT NULL,
`vehicle_name` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
`vehicle_image` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `vehicles`
--
INSERT INTO `vehicles` (`vehicle_id`, `vehicle_name`, `vehicle_image`, `created_at`, `updated_at`) VALUES
(1, 'bus', 'GGhyeGGnn_Rosso-Bia-Lamborghini-Aventador-SV-4.jpg', '2017-07-13 18:51:04', '2017-07-13 18:51:04');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `customers`
--
ALTER TABLE `customers`
ADD PRIMARY KEY (`customer_id`);
--
-- Indexes for table `discount_code`
--
ALTER TABLE `discount_code`
ADD PRIMARY KEY (`discount_code_id`);
--
-- Indexes for table `employees`
--
ALTER TABLE `employees`
ADD PRIMARY KEY (`employee_id`),
ADD UNIQUE KEY `employees_email_unique` (`email`);
--
-- Indexes for table `history`
--
ALTER TABLE `history`
ADD PRIMARY KEY (`history_id`),
ADD KEY `history_employee_id_foreign` (`employee_id`);
--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `places`
--
ALTER TABLE `places`
ADD PRIMARY KEY (`place_id`);
--
-- Indexes for table `services`
--
ALTER TABLE `services`
ADD PRIMARY KEY (`service_id`);
--
-- Indexes for table `tours`
--
ALTER TABLE `tours`
ADD PRIMARY KEY (`tour_id`),
ADD KEY `tours_discount_code_id_foreign` (`discount_code_id`);
--
-- Indexes for table `tour_coupon`
--
ALTER TABLE `tour_coupon`
ADD PRIMARY KEY (`tour_coupon_id`),
ADD KEY `tour_coupon_customer_id_foreign` (`customer_id`),
ADD KEY `tour_coupon_history_id_foreign` (`history_id`);
--
-- Indexes for table `tour_images`
--
ALTER TABLE `tour_images`
ADD PRIMARY KEY (`tour_images_id`),
ADD KEY `tour_images_tour_id_foreign` (`tour_id`);
--
-- Indexes for table `vehicles`
--
ALTER TABLE `vehicles`
ADD PRIMARY KEY (`vehicle_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `customers`
--
ALTER TABLE `customers`
MODIFY `customer_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `discount_code`
--
ALTER TABLE `discount_code`
MODIFY `discount_code_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `employees`
--
ALTER TABLE `employees`
MODIFY `employee_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `history`
--
ALTER TABLE `history`
MODIFY `history_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT for table `places`
--
ALTER TABLE `places`
MODIFY `place_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `services`
--
ALTER TABLE `services`
MODIFY `service_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `tours`
--
ALTER TABLE `tours`
MODIFY `tour_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `tour_coupon`
--
ALTER TABLE `tour_coupon`
MODIFY `tour_coupon_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `tour_images`
--
ALTER TABLE `tour_images`
MODIFY `tour_images_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `vehicles`
--
ALTER TABLE `vehicles`
MODIFY `vehicle_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `history`
--
ALTER TABLE `history`
ADD CONSTRAINT `history_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`employee_id`);
--
-- Constraints for table `tours`
--
ALTER TABLE `tours`
ADD CONSTRAINT `tours_discount_code_id_foreign` FOREIGN KEY (`discount_code_id`) REFERENCES `discount_code` (`discount_code_id`);
--
-- Constraints for table `tour_coupon`
--
ALTER TABLE `tour_coupon`
ADD CONSTRAINT `tour_coupon_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`customer_id`),
ADD CONSTRAINT `tour_coupon_history_id_foreign` FOREIGN KEY (`history_id`) REFERENCES `history` (`history_id`);
--
-- Constraints for table `tour_images`
--
ALTER TABLE `tour_images`
ADD CONSTRAINT `tour_images_tour_id_foreign` FOREIGN KEY (`tour_id`) REFERENCES `tours` (`tour_id`);
/*!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 */;
|
--=========================================================================================
-- Author: <NAME>
-- Date: 10/25/2003
-- History: Modified on a whim to meet my needs.
--=========================================================================================
select
convert(varchar(32), o.name) as 'Table'
, convert(varchar(40), c.name) as 'Colunn'
, convert(varchar(16), t.name) as 'Type'
, c.length
from sysobjects o
inner join syscolumns c
on o.id = c.id
inner join systypes t
on c.xtype = t.xtype
-- and t.name in ('char', 'varchar')
where
o.name like 'nte34t_notetranmntryadj'
-- c.name like '%nbr%'
and o.xtype = 'U'
order by o.name, c.colorder, c.name |
CREATE DATABASE IF NOT EXISTS `dbintranet` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `dbintranet`;
-- MySQL dump 10.13 Distrib 5.7.17, for Win64 (x86_64)
--
-- Host: 127.0.0.1 Database: dbintranet
-- ------------------------------------------------------
-- Server version 5.5.5-10.1.30-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 `accesos`
--
DROP TABLE IF EXISTS `accesos`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `accesos` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`acc_logo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`acc_nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`acc_enlace` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`acc_descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
`acc_estado` tinyint(1) NOT NULL DEFAULT '1',
`idusuarioregistra` int(10) unsigned NOT NULL,
`idusuariomodifica` int(10) unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `accesos_idusuarioregistra_foreign` (`idusuarioregistra`),
KEY `accesos_idusuariomodifica_foreign` (`idusuariomodifica`),
CONSTRAINT `accesos_idusuariomodifica_foreign` FOREIGN KEY (`idusuariomodifica`) REFERENCES `users` (`id`),
CONSTRAINT `accesos_idusuarioregistra_foreign` FOREIGN KEY (`idusuarioregistra`) REFERENCES `users` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `accesos`
--
LOCK TABLES `accesos` WRITE;
/*!40000 ALTER TABLE `accesos` DISABLE KEYS */;
INSERT INTO `accesos` VALUES (1,'archivo/acceso/correo.png','CORREO','https://correo.fonabosque.gob.bo/','Correo Electrónico Institucional, uso exclusivo del personal de FONABOSQUE.',1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(2,'archivo/acceso/sigec.png','SIGEC','http://sigec.fonabosque.gob.bo/','Sistema de Gestión de Correspondencia, uso exlusivo del perosnal de FONABOSQUE.',1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(3,'archivo/acceso/biometrico.png','PERSONAL','http://personal.fonabosque.gob.bo/','Sistema Integral de Recursos Humanos, para consultar sus marcaciones y registrar sus boletas de salida',1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(4,'archivo/acceso/sigma.png','SIGMA/SIGEP','https://sigep.sigma.gob.bo/','Sistema de Gestion Pública, ingreso para entidades públicas y beneficiarios',1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(5,'archivo/acceso/mmaya2.png','MMAyA','http://www.mmaya.gob.bo/','Sitio Oficial (Págian Web) del Ministerio de Medio Ambiente y Agua. <b>www.mmaya.gob.bo</b>',1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(6,'archivo/acceso/web.png','SITIO WEB','http://www.fonabosque.gob.bo/','Sitio Oficial (Págian Web) de la institución. <b>www.fonabosque.gob.bo</b>',1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00');
/*!40000 ALTER TABLE `accesos` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `banners`
--
DROP TABLE IF EXISTS `banners`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `banners` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`ban_nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`ban_nombreoriginal` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`ban_descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
`ban_estado` tinyint(1) NOT NULL DEFAULT '1',
`idusuarioregistra` int(10) unsigned NOT NULL,
`idusuariomodifica` int(10) unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `banners_idusuarioregistra_foreign` (`idusuarioregistra`),
KEY `banners_idusuariomodifica_foreign` (`idusuariomodifica`),
CONSTRAINT `banners_idusuariomodifica_foreign` FOREIGN KEY (`idusuariomodifica`) REFERENCES `users` (`id`),
CONSTRAINT `banners_idusuarioregistra_foreign` FOREIGN KEY (`idusuarioregistra`) REFERENCES `users` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `banners`
--
LOCK TABLES `banners` WRITE;
/*!40000 ALTER TABLE `banners` DISABLE KEYS */;
INSERT INTO `banners` VALUES (1,'archivo/banner/presentacion4.png','presentacion4.png','',1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(2,'archivo/banner/presentacion1.png','presentacion1.png','',1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(3,'archivo/banner/presentacion2.png','presentacion2.png','',1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(4,'archivo/banner/presentacion3.png','presentacion3.png','',1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00');
/*!40000 ALTER TABLE `banners` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `contactos`
--
DROP TABLE IF EXISTS `contactos`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `contactos` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`con_direccion` text COLLATE utf8mb4_unicode_ci NOT NULL,
`con_telefono` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`con_correo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`con_latitud` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`con_longitud` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`con_estado` tinyint(1) NOT NULL DEFAULT '1',
`idusuarioregistra` int(10) unsigned NOT NULL,
`idusuariomodifica` int(10) unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `contactos_idusuarioregistra_foreign` (`idusuarioregistra`),
KEY `contactos_idusuariomodifica_foreign` (`idusuariomodifica`),
CONSTRAINT `contactos_idusuariomodifica_foreign` FOREIGN KEY (`idusuariomodifica`) REFERENCES `users` (`id`),
CONSTRAINT `contactos_idusuarioregistra_foreign` FOREIGN KEY (`idusuarioregistra`) REFERENCES `users` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `contactos`
--
LOCK TABLES `contactos` WRITE;
/*!40000 ALTER TABLE `contactos` DISABLE KEYS */;
INSERT INTO `contactos` VALUES (1,'La Paz, Zona Obrajes, Calle 14 Nro. 490','(+591) 2 2129838 - (+591) 2 2128772','<EMAIL>','0','0',1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00');
/*!40000 ALTER TABLE `contactos` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `documentos`
--
DROP TABLE IF EXISTS `documentos`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `documentos` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`doc_nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`doc_nombreoriginal` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`doc_tamanio` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`doc_tipo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`doc_descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
`doc_estado` tinyint(1) NOT NULL DEFAULT '1',
`idtipodocumento` int(10) unsigned NOT NULL,
`idusuarioregistra` int(10) unsigned NOT NULL,
`idusuariomodifica` int(10) unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `documentos_idtipodocumento_foreign` (`idtipodocumento`),
KEY `documentos_idusuarioregistra_foreign` (`idusuarioregistra`),
KEY `documentos_idusuariomodifica_foreign` (`idusuariomodifica`),
CONSTRAINT `documentos_idtipodocumento_foreign` FOREIGN KEY (`idtipodocumento`) REFERENCES `tipodocumentos` (`id`),
CONSTRAINT `documentos_idusuariomodifica_foreign` FOREIGN KEY (`idusuariomodifica`) REFERENCES `users` (`id`),
CONSTRAINT `documentos_idusuarioregistra_foreign` FOREIGN KEY (`idusuarioregistra`) REFERENCES `users` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `documentos`
--
LOCK TABLES `documentos` WRITE;
/*!40000 ALTER TABLE `documentos` DISABLE KEYS */;
INSERT INTO `documentos` VALUES (1,'archivo/documento/formulario1_2_viajes.xlsx','formulario1_2_viajes.xls','193','xlsx','Formulario 1-2 Pasajes y Viáticos',1,1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(2,'archivo/documento/solitiuddematerial.xlsx','solitiuddematerial.xlsx','42','xlsx','Solicitud de Materiales',1,1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(3,'archivo/documento/ingresofinesdesemana.xls','ingresofinesdesemana.xls','53','xls','Formularios de Ingreso de Fines de Semana',1,1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(4,'archivo/documento/desvinculacion.pdf','desvinculacion.pdf','199','pdf','Formulario de Desvinculación',1,1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(5,'archivo/documento/internos.pdf','internos.pdf','174','pdf','Comunicación Interna',1,1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00');
/*!40000 ALTER TABLE `documentos` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `eventos`
--
DROP TABLE IF EXISTS `eventos`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `eventos` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`eve_logo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`eve_logonombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`eve_nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`eve_descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
`eve_lugar` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`eve_fechaini` date NOT NULL,
`eve_fechafin` date DEFAULT NULL,
`eve_horaini` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`eve_horafin` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`idusuarioregistra` int(10) unsigned NOT NULL,
`idusuariomodifica` int(10) unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `eventos_eve_nombre_unique` (`eve_nombre`),
KEY `eventos_idusuarioregistra_foreign` (`idusuarioregistra`),
KEY `eventos_idusuariomodifica_foreign` (`idusuariomodifica`),
CONSTRAINT `eventos_idusuariomodifica_foreign` FOREIGN KEY (`idusuariomodifica`) REFERENCES `users` (`id`),
CONSTRAINT `eventos_idusuarioregistra_foreign` FOREIGN KEY (`idusuarioregistra`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `eventos`
--
LOCK TABLES `eventos` WRITE;
/*!40000 ALTER TABLE `eventos` DISABLE KEYS */;
/*!40000 ALTER TABLE `eventos` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `migrations`
--
DROP TABLE IF EXISTS `migrations`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `migrations` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `migrations`
--
LOCK TABLES `migrations` WRITE;
/*!40000 ALTER TABLE `migrations` DISABLE KEYS */;
INSERT INTO `migrations` VALUES (1,'2014_10_12_000000_create_users_table',1),(2,'2014_10_12_100000_create_password_resets_table',1),(3,'2018_03_12_130117_create_tipodocumentos_table',1),(4,'2018_03_12_130309_create_documentos_table',1),(5,'2018_03_12_131027_create_banners_table',1),(6,'2018_03_12_131709_create_misiones_table',1),(7,'2018_03_12_131726_create_visiones_table',1),(8,'2018_03_12_131747_create_objetivos_table',1),(9,'2018_03_12_131815_create_accesos_table',1),(10,'2018_03_12_131931_create_ministerios_table',1),(11,'2018_03_12_131950_create_contactos_table',1),(12,'2018_03_12_133608_create_eventos_table',1);
/*!40000 ALTER TABLE `migrations` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ministerios`
--
DROP TABLE IF EXISTS `ministerios`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ministerios` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`min_logo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`min_nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`min_enlace` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`min_descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
`min_estado` tinyint(1) NOT NULL DEFAULT '1',
`idusuarioregistra` int(10) unsigned NOT NULL,
`idusuariomodifica` int(10) unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `ministerios_idusuarioregistra_foreign` (`idusuarioregistra`),
KEY `ministerios_idusuariomodifica_foreign` (`idusuariomodifica`),
CONSTRAINT `ministerios_idusuariomodifica_foreign` FOREIGN KEY (`idusuariomodifica`) REFERENCES `users` (`id`),
CONSTRAINT `ministerios_idusuarioregistra_foreign` FOREIGN KEY (`idusuarioregistra`) REFERENCES `users` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ministerios`
--
LOCK TABLES `ministerios` WRITE;
/*!40000 ALTER TABLE `ministerios` DISABLE KEYS */;
INSERT INTO `ministerios` VALUES (1,'sin logo','Ministerio de Medio Ambiente y Aguas','http://www.mmaya.gob.bo','Ministerio de Medio Ambiente y Aguas',1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(2,'sin logo','Ministerio de Econonía y Finanzas Públicas','https://sigep.sigma.gob.bo','Ministerio de Econonía y Finanzas Públicas',1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(3,'sin logo','Ministerio de Desarrollo Rural y Tierras','http://www.ruralytierras.gob.bo','Ministerio de Desarrollo Rural y Tierras',1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(4,'sin logo','Ministerio de la Presidencia','http://presidencia.gob.bo/','Ministerio de la Presidencia',1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(5,'sin logo','Ministerio de Comunicación','http://www.comunicacion.gob.bo/','Ministerio de Comunicación',1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(6,'sin logo','Ministerio de Transparencia Institucional y Lucha Contra la Corrupción','http://www.transparencia.gob.bo/','Ministerio de Transparencia Institucional y Lucha Contra la Corrupción',1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00');
/*!40000 ALTER TABLE `ministerios` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `misiones`
--
DROP TABLE IF EXISTS `misiones`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `misiones` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`mis_descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
`mis_estado` tinyint(1) NOT NULL DEFAULT '1',
`idusuarioregistra` int(10) unsigned NOT NULL,
`idusuariomodifica` int(10) unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `misiones_idusuarioregistra_foreign` (`idusuarioregistra`),
KEY `misiones_idusuariomodifica_foreign` (`idusuariomodifica`),
CONSTRAINT `misiones_idusuariomodifica_foreign` FOREIGN KEY (`idusuariomodifica`) REFERENCES `users` (`id`),
CONSTRAINT `misiones_idusuarioregistra_foreign` FOREIGN KEY (`idusuarioregistra`) REFERENCES `users` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `misiones`
--
LOCK TABLES `misiones` WRITE;
/*!40000 ALTER TABLE `misiones` DISABLE KEYS */;
INSERT INTO `misiones` VALUES (1,'Promover, administrar y otorgar recursos financieros para el manejo sustentable de bosques, con enfoque de gestión integral de cuencas, conservación de los bosques y suelos forestales, recuperación de suelos degradados en áreas forestales y manejo integral del fuego',1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00');
/*!40000 ALTER TABLE `misiones` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `objetivos`
--
DROP TABLE IF EXISTS `objetivos`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `objetivos` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`obj_descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
`obj_estado` tinyint(1) NOT NULL DEFAULT '1',
`idusuarioregistra` int(10) unsigned NOT NULL,
`idusuariomodifica` int(10) unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `objetivos_idusuarioregistra_foreign` (`idusuarioregistra`),
KEY `objetivos_idusuariomodifica_foreign` (`idusuariomodifica`),
CONSTRAINT `objetivos_idusuariomodifica_foreign` FOREIGN KEY (`idusuariomodifica`) REFERENCES `users` (`id`),
CONSTRAINT `objetivos_idusuarioregistra_foreign` FOREIGN KEY (`idusuarioregistra`) REFERENCES `users` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `objetivos`
--
LOCK TABLES `objetivos` WRITE;
/*!40000 ALTER TABLE `objetivos` DISABLE KEYS */;
INSERT INTO `objetivos` VALUES (1,'<p><b>1.</b> Promover la conservación y preservación, a través de la producción, forestación, reforestación y transferencia de conocimientos y tecnologías forestales en armonía y equilibrio con la Madre Tierra.<br><b>2.</b> Realizar la gestión eficiente de administración de los recursos económicos para el Vivir Bien.</p>',1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00');
/*!40000 ALTER TABLE `objetivos` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `password_resets`
--
DROP TABLE IF EXISTS `password_resets`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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,
KEY `password_resets_email_index` (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `password_resets`
--
LOCK TABLES `password_resets` WRITE;
/*!40000 ALTER TABLE `password_resets` DISABLE KEYS */;
/*!40000 ALTER TABLE `password_resets` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `tipodocumentos`
--
DROP TABLE IF EXISTS `tipodocumentos`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tipodocumentos` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`tip_nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`tip_descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
`tip_estado` tinyint(1) NOT NULL DEFAULT '1',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `tipodocumentos_tip_nombre_unique` (`tip_nombre`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tipodocumentos`
--
LOCK TABLES `tipodocumentos` WRITE;
/*!40000 ALTER TABLE `tipodocumentos` DISABLE KEYS */;
INSERT INTO `tipodocumentos` VALUES (1,'FORMULARIO','Documentos Formulario de Tipo Excel y PDFs',1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(2,'CIRCULAR','Documentos Circulares',1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(3,'COMUNICADO','Documentos de Comunicación',1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(4,'INSTRUCTIVO','Documentos de Instrucción',1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(5,'RESOLUCION','Documentos de Resolución Administrativa',1,'2018-03-12 12:30:00','2018-03-12 12:30:00'),(6,'REGLAMENTO','Documentos de Tipo Reglamento',1,'2018-03-12 12:30:00','2018-03-12 12:30:00');
/*!40000 ALTER TABLE `tipodocumentos` 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,
`us_nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`us_paterno` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`us_materno` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`us_nombrecompleto` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`us_carnet` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`us_expedido` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`us_genero` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`us_foto` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`us_fechanacimiento` date NOT NULL,
`us_direccion` text COLLATE utf8mb4_unicode_ci NOT NULL,
`us_cargo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`us_jefes` enum('DIRECCION','COORDINADOR','AUDITOR','NORMAL') COLLATE utf8mb4_unicode_ci NOT NULL,
`us_tipo` enum('ADMINISTRADOR','USUARIO','FORMULARIO','DOCUMENTO','BANNER','SISTEMAS') COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`us_cuenta` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`us_estado` tinyint(1) NOT NULL DEFAULT '1',
`us_obs` text 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,
PRIMARY KEY (`id`),
UNIQUE KEY `users_email_unique` (`email`),
UNIQUE KEY `users_us_cuenta_unique` (`us_cuenta`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!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','Admin','Admin','Super Administrador','0','LP','Masculino','','2010-01-01','-','-','NORMAL','ADMINISTRADOR','<EMAIL>','admin','123',1,'-',NULL,'2018-03-12 12:30:00','2018-03-12 12:30:00');
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `visiones`
--
DROP TABLE IF EXISTS `visiones`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `visiones` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`vis_descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
`vis_estado` tinyint(1) NOT NULL DEFAULT '1',
`idusuarioregistra` int(10) unsigned NOT NULL,
`idusuariomodifica` int(10) unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `visiones_idusuarioregistra_foreign` (`idusuarioregistra`),
KEY `visiones_idusuariomodifica_foreign` (`idusuariomodifica`),
CONSTRAINT `visiones_idusuariomodifica_foreign` FOREIGN KEY (`idusuariomodifica`) REFERENCES `users` (`id`),
CONSTRAINT `visiones_idusuarioregistra_foreign` FOREIGN KEY (`idusuarioregistra`) REFERENCES `users` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `visiones`
--
LOCK TABLES `visiones` WRITE;
/*!40000 ALTER TABLE `visiones` DISABLE KEYS */;
INSERT INTO `visiones` VALUES (1,'Posicionarse como una entidad pública reconocida y fortalecida a nivel nacional e internacional, que realiza una oportuna y eficiente canalización, gestión y administración de los recursos financieros para programas y proyectos de desarrollo sustentable de bosques, aportando al crecimiento económico y social de la población bajo el principio del Suma Qamaña (Vivir Bien)',1,1,1,'2018-03-12 12:30:00','2018-03-12 12:30:00');
/*!40000 ALTER TABLE `visiones` 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-03-27 8:27:49
|
ALTER TABLE [dbo].[ApplicationRoles]
ADD CONSTRAINT [FK_ApplicationRoles_Roles] FOREIGN KEY ([RoleID]) REFERENCES [dbo].[Roles] ([RoleID]) ON DELETE NO ACTION ON UPDATE NO ACTION;
|
CREATE TYPE sphinx_search_result AS (id int, weight int);
CREATE OR REPLACE FUNCTION sphinx_select(
/*index*/ varchar,
/*query*/ varchar,
/*condition*/ varchar,
/*order*/ varchar,
/*offset*/ int,
/*limit*/ int,
/*options*/ varchar)
RETURNS SETOF sphinx_search_result
AS 'sphinx', 'pg_sphinx_select'
LANGUAGE C IMMUTABLE;
CREATE OR REPLACE FUNCTION sphinx_replace(
/*index*/ varchar,
/*id*/ int,
/*data*/ varchar[])
RETURNS VOID
AS 'sphinx', 'pg_sphinx_replace'
LANGUAGE C IMMUTABLE;
CREATE OR REPLACE FUNCTION sphinx_delete(
/*index*/ varchar,
/*id*/ int)
RETURNS VOID
AS 'sphinx', 'pg_sphinx_delete'
LANGUAGE C IMMUTABLE;
CREATE OR REPLACE FUNCTION sphinx_snippet(
/*index*/ varchar,
/*query*/ varchar,
/*data*/ varchar,
/*before*/ varchar,
/*after*/ varchar)
RETURNS VARCHAR
AS 'sphinx', 'pg_sphinx_snippet'
LANGUAGE C IMMUTABLE;
CREATE OR REPLACE FUNCTION sphinx_snippet_options(
/*index*/ varchar,
/*query*/ varchar,
/*data*/ varchar,
/*options*/ varchar[])
RETURNS VARCHAR
AS 'sphinx', 'pg_sphinx_snippet_options'
LANGUAGE C IMMUTABLE;
CREATE TABLE sphinx_config (
"key" varchar(32) NOT NULL,
"value" varchar(255) NOT NULL,
PRIMARY KEY ("key")
);
GRANT ALL ON sphinx_config TO PUBLIC;
INSERT INTO sphinx_config ("key", "value") VALUES
('host', '127.0.0.1'),
('port', '9306'),
('username', ''),
('password', ''),
('prefix', '');
SELECT pg_catalog.pg_extension_config_dump('sphinx_config', '');
|
<reponame>MikeBeaton/SqlDataComparisonUtils<filename>src/master/clean/drop_sp_ExportChangedRows.sql
IF EXISTS(SELECT * FROM sys.objects WHERE schema_id = 1 AND type = 'P' AND name = 'sp_ExportChanged')
DROP PROCEDURE sp_ExportChanged
GO
|
CREATE VIEW [dbo].[Assessments_For_User]
AS
select
AssessmentId = a.Assessment_Id,
AssessmentName = Assessment_Name,
AssessmentDate = Assessment_Date,
AssessmentCreatedDate,
CreatorName = u.FirstName + ' ' + u.LastName,
LastModifiedDate = LastAccessedDate,
MarkedForReview = isnull(mark_for_review,0),
c.UserId
from ASSESSMENTS a
join INFORMATION i on a.Assessment_Id = i.Id
join USERS u on a.AssessmentCreatorId = u.UserId
join ASSESSMENT_CONTACTS c on a.Assessment_Id = c.Assessment_Id
left join (select distinct a.Assessment_Id,Mark_For_Review from ASSESSMENTS a join Answer_Standards_InScope v on a.Assessment_Id = v.Assessment_Id
where v.Mark_For_Review = 1
union
select distinct a.Assessment_Id,Mark_For_Review from ASSESSMENTS a join Answer_Components_InScope v on a.Assessment_Id = v.Assessment_Id
where v.Mark_For_Review = 1) b on a.Assessment_Id = b.Assessment_Id
|
DELETE FROM weather WHERE city = 'Hayward'; |
<reponame>DukeMobileTech/AndroidiSEE
ALTER TABLE Questions ADD COLUMN Position STRING; |
-- file:subscription.sql ln:91 expect:true
ALTER SUBSCRIPTION testsub_foo SET (synchronous_commit = local)
|
<filename>regex101/sql/getStoredExpression.sql
SELECT *
FROM expressions
INNER JOIN versions
ON versions.expressionId = expressions.id
INNER JOIN (SELECT COUNT(*) AS versionCount FROM versions)
ON versions.expressionId = expressions.id
WHERE expressions.permalinkfragment=:permalinkFragment
AND versions.version = :version;
|
-- Function: de_metas_acct.acctbalanceuntildate(numeric, numeric, date, character)
-- DROP FUNCTION de_metas_acct.acctbalanceuntildate(numeric, numeric, date, character);
CREATE OR REPLACE FUNCTION de_metas_acct.acctbalanceuntildate(p_account_id numeric, p_c_acctschema_id numeric, p_dateacct date, p_includepostingtypestatistical character DEFAULT 'N'::bpchar)
RETURNS de_metas_acct.balanceamt AS
$BODY$
-- NOTE: we use COALESCE(SUM(..)) just to make sure we are not returning null
SELECT ROW(SUM((Balance).Balance), SUM((Balance).Debit), SUM((Balance).Credit))::de_metas_acct.BalanceAmt
FROM (
(
SELECT
(case
-- When the account is Expense/Revenue => we shall consider only the Year to Date amount
when ev.AccountType in ('E', 'R') and fas.DateAcct>=date_trunc('year', $3) then ROW(fas.AmtAcctDr_YTD - fas.AmtAcctCr_YTD, fas.AmtAcctDr_YTD, fas.AmtAcctCr_YTD)::de_metas_acct.BalanceAmt
when ev.AccountType in ('E', 'R') then ROW(0, 0, 0)::de_metas_acct.BalanceAmt
-- For any other account => we consider from the beginning to Date amount
else ROW(fas.AmtAcctDr - fas.AmtAcctCr, fas.AmtAcctDr, fas.AmtAcctCr)::de_metas_acct.BalanceAmt
end) as Balance
FROM Fact_Acct_Summary fas
INNER JOIN C_ElementValue ev on (ev.C_ElementValue_ID=fas.Account_ID)
WHERE true
and fas.Account_ID=$1 -- p_Account_ID
and fas.C_AcctSchema_ID=$2 -- p_C_AcctSchema_ID
and fas.PostingType='A'
and fas.PA_ReportCube_ID is null
and fas.DateAcct < $3 -- p_DateAcct
ORDER BY fas.DateAcct DESC
LIMIT 1
)
-- For PostingType=Statistical
UNION ALL
(
SELECT
(case
-- When the account is Expense/Revenue => we shall consider only the Year to Date amount
when ev.AccountType in ('E', 'R') and fas.DateAcct>=date_trunc('year', $3) then ROW(fas.AmtAcctDr_YTD - fas.AmtAcctCr_YTD, fas.AmtAcctDr_YTD, fas.AmtAcctCr_YTD)::de_metas_acct.BalanceAmt
when ev.AccountType in ('E', 'R') then ROW(0, 0, 0)::de_metas_acct.BalanceAmt
-- For any other account => we consider from the beginning to Date amount
else ROW(fas.AmtAcctDr - fas.AmtAcctCr, fas.AmtAcctDr, fas.AmtAcctCr)::de_metas_acct.BalanceAmt
end) as Balance
FROM Fact_Acct_Summary fas
INNER JOIN C_ElementValue ev on (ev.C_ElementValue_ID=fas.Account_ID)
WHERE true
and $4='Y' -- p_IncludePostingTypeStatistical
and fas.Account_ID=$1 -- p_Account_ID
and fas.C_AcctSchema_ID=$2 -- p_C_AcctSchema_ID
and fas.PostingType='S'
and fas.PA_ReportCube_ID is null
and fas.DateAcct < $3 -- p_DateAcct
ORDER BY fas.DateAcct DESC
LIMIT 1
)
-- Default value:
UNION ALL
(
SELECT ROW(0, 0, 0)::de_metas_acct.BalanceAmt
)
) t
$BODY$
LANGUAGE sql STABLE
COST 100;
ALTER FUNCTION de_metas_acct.acctbalanceuntildate(numeric, numeric, date, character)
OWNER TO metasfresh;
|
DELETE FROM `spell_affect` WHERE `entry` IN (16113,16114,16115,16116,16040,22804);
INSERT INTO `spell_affect` VALUES
(16113,0,0,0,0,0,0,0x0000000090100000,0),
(16114,0,0,0,0,0,0,0x0000000090100000,0),
(16115,0,0,0,0,0,0,0x0000000090100000,0),
(16116,0,0,0,0,0,0,0x0000000090100000,0),
(16040,0,0,0,0,0,0,0x0000000090100000,0),
(22804,0,0,0,0,0,0,0x0000000090100000,0);
|
update idm.users
set application = 'water_admin',
date_updated = now()
where admin = 1;
update idm.users
set application = 'water_vml',
date_updated = now()
where application is null;
alter table idm.users
drop column admin;
|
CREATE TABLE IF NOT EXISTS `trn_supplierpgmplan` (
`SupplierPgmPlanId` INT(11) NOT NULL AUTO_INCREMENT,
`PgmNo` INT(11) NULL DEFAULT 0,
`PgmDate` DATE NULL DEFAULT NULL,
`SupplierId` INT(11) NOT NULL DEFAULT '0',
`ItemId` INT(11) NOT NULL DEFAULT '0',
`UomId` INT(11) NOT NULL DEFAULT '0',
`ReqPgmQty` DECIMAL(15,3) NOT NULL DEFAULT '0.000',
`TotalBales` DECIMAL(15,2) NOT NULL DEFAULT '0.00',
`TotalQty` DECIMAL(15,3) NOT NULL DEFAULT '0.000',
`PgmRemarks` TEXT NULL DEFAULT NULL,
`cUserId` INT(11) NOT NULL DEFAULT '0',
`cDate` DATE NULL DEFAULT NULL,
`cTime` TIME NULL DEFAULT NULL,
`CompanyId` INT(11) NOT NULL DEFAULT '0',
`FinancialYearId` INT(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`SupplierPgmPlanId`)
)
COLLATE='utf8_unicode_ci'
ENGINE=InnoDB;
CREATE TABLE IF NOT EXISTS `trn_supplierpgmplandetail` (
`SupplierPgmPlanDetailId` INT(11) NOT NULL AUTO_INCREMENT,
`SupplierPgmPlanId` INT(11) NOT NULL DEFAULT '0',
`CiDetailId` INT(11) NOT NULL DEFAULT '0',
`CiId` INT(11) NOT NULL DEFAULT '0',
`ItemId` INT(11) NOT NULL DEFAULT '0',
`MillLotNo` VARCHAR(200) NULL DEFAULT NULL COLLATE 'utf8_unicode_ci',
`SupplierBaleNo` VARCHAR(200) NULL DEFAULT NULL COLLATE 'utf8_unicode_ci',
`bUomId` INT(11) NOT NULL DEFAULT '0',
`sUomId` INT(11) NOT NULL DEFAULT '0',
`PgmQty` DECIMAL(15,3) NOT NULL DEFAULT '0.000',
`PgmRate` DECIMAL(15,2) NOT NULL DEFAULT '0.00',
`PgmAmount` DECIMAL(15,2) NOT NULL DEFAULT '0.00',
PRIMARY KEY (`SupplierPgmPlanDetailId`)
)
COLLATE='utf8_unicode_ci'
ENGINE=InnoDB;
INSERT INTO `menu` (`menu_id`, `ModuleId`, `role_id`, `menu_name`, `menu_title`, `menu_image`, `menu_template`, `menu_order`, `parent`, `target`, `menu_default`, `menu_status`, `external_link`, `show_after_login`, `entry_by`, `IsTop`, `IsSideMenu`, `IsFooter`, `IsListing`, `IsAdd`, `IsEdit`, `IsDelete`, `IsView`, `IsPrint`, `IsApprove`, `IsUnApprove`, `IsEmail`, `IsSMS`, `IsExportExcel`, `IsExportPDF`, `IsImport`) VALUES (318, 11, 0, 'Supplier Program Chart', 'Supplier Program Chart', NULL, 'supplierpgmchart', 3, 0, '_self', '0', '1', NULL, '0', 1, '1', '0', '0', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `menu` (`menu_id`, `ModuleId`, `role_id`, `menu_name`, `menu_title`, `menu_image`, `menu_template`, `menu_order`, `parent`, `target`, `menu_default`, `menu_status`, `external_link`, `show_after_login`, `entry_by`, `IsTop`, `IsSideMenu`, `IsFooter`, `IsListing`, `IsAdd`, `IsEdit`, `IsDelete`, `IsView`, `IsPrint`, `IsApprove`, `IsUnApprove`, `IsEmail`, `IsSMS`, `IsExportExcel`, `IsExportPDF`, `IsImport`) VALUES (319, 11, 0, 'Listing', 'Listing', NULL, 'listing', 1, 318, '_self', '0', '1', NULL, '0', 1, '1', '0', '0', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `menu` (`menu_id`, `ModuleId`, `role_id`, `menu_name`, `menu_title`, `menu_image`, `menu_template`, `menu_order`, `parent`, `target`, `menu_default`, `menu_status`, `external_link`, `show_after_login`, `entry_by`, `IsTop`, `IsSideMenu`, `IsFooter`, `IsListing`, `IsAdd`, `IsEdit`, `IsDelete`, `IsView`, `IsPrint`, `IsApprove`, `IsUnApprove`, `IsEmail`, `IsSMS`, `IsExportExcel`, `IsExportPDF`, `IsImport`) VALUES (320, 11, 0, 'Add', 'Add', NULL, 'add', 2, 318, '_self', '0', '1', NULL, '0', 1, '1', '0', '0', 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `menu` (`menu_id`, `ModuleId`, `role_id`, `menu_name`, `menu_title`, `menu_image`, `menu_template`, `menu_order`, `parent`, `target`, `menu_default`, `menu_status`, `external_link`, `show_after_login`, `entry_by`, `IsTop`, `IsSideMenu`, `IsFooter`, `IsListing`, `IsAdd`, `IsEdit`, `IsDelete`, `IsView`, `IsPrint`, `IsApprove`, `IsUnApprove`, `IsEmail`, `IsSMS`, `IsExportExcel`, `IsExportPDF`, `IsImport`) VALUES (321, 11, 0, 'Edit', 'Edit', NULL, 'edit', 3, 318, '_self', '0', '1', NULL, '0', 1, '1', '0', '0', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `menu` (`menu_id`, `ModuleId`, `role_id`, `menu_name`, `menu_title`, `menu_image`, `menu_template`, `menu_order`, `parent`, `target`, `menu_default`, `menu_status`, `external_link`, `show_after_login`, `entry_by`, `IsTop`, `IsSideMenu`, `IsFooter`, `IsListing`, `IsAdd`, `IsEdit`, `IsDelete`, `IsView`, `IsPrint`, `IsApprove`, `IsUnApprove`, `IsEmail`, `IsSMS`, `IsExportExcel`, `IsExportPDF`, `IsImport`) VALUES (322, 11, 0, 'Delete', 'Delete', NULL, 'delete', 4, 318, '_self', '0', '1', NULL, '0', 1, '1', '0', '0', 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `menu` (`menu_id`, `ModuleId`, `role_id`, `menu_name`, `menu_title`, `menu_image`, `menu_template`, `menu_order`, `parent`, `target`, `menu_default`, `menu_status`, `external_link`, `show_after_login`, `entry_by`, `IsTop`, `IsSideMenu`, `IsFooter`, `IsListing`, `IsAdd`, `IsEdit`, `IsDelete`, `IsView`, `IsPrint`, `IsApprove`, `IsUnApprove`, `IsEmail`, `IsSMS`, `IsExportExcel`, `IsExportPDF`, `IsImport`) VALUES (323, 11, 0, 'View', 'View', NULL, 'View', 5, 318, '_self', '0', '1', NULL, '0', 1, '1', '0', '0', 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0); |
UPDATE service_details SET service_description=${service_description},policy_uri=${policy_uri},service_name=${service_name},logo_uri=${logo_uri},integration_environment=${integration_environment},protocol=${protocol},country=${country},website_url=${website_url} WHERE id=${id} RETURNING id
|
# Tasks schema
# --- !Ups
CREATE SEQUENCE task_id_seq;
CREATE TABLE task(
id integer NOT NULL DEFAULT nextval('task_id_seq'),
label varchar(255)
);
|
CREATE TABLE roles (
id serial PRIMARY KEY,
title text
);
CREATE TABLE rules (
id serial PRIMARY KEY,
title text
);
CREATE TABLE users (
id serial PRIMARY KEY,
name text,
role_id serial REFERENCES roles (id)
);
CREATE TABLE rules_of_roles (
role_id serial REFERENCES roles (id),
rule_id serial REFERENCES rules (id),
is_active boolean,
CONSTRAINT id PRIMARY KEY (role_id, rule_id)
);
CREATE TABLE categories (
id serial PRIMARY KEY,
title text
);
CREATE TABLE states (
id serial PRIMARY KEY,
title text
);
CREATE TABLE items (
id serial PRIMARY KEY,
description text,
user_id serial REFERENCES users (id),
cat_id serial REFERENCES categories (id),
st_id serial REFERENCES states (id)
);
CREATE TABLE attaches (
id serial PRIMARY KEY,
content text,
item_id serial REFERENCES items (id)
);
CREATE TABLE comments (
id serial PRIMARY KEY,
content text,
item serial REFERENCES items (id),
user_id serial REFERENCES users (id)
);
INSERT INTO roles (title)
VALUES ('admin'),
('user');
INSERT INTO rules (title)
VALUES ('can create new item'),
('can remove item'),
('can block user');
INSERT INTO rules_of_roles (role_id, rule_id, is_active)
VALUES (1, 1, true),
(1, 2, true),
(1, 3, true),
(2, 1, true);
INSERT INTO users (id, name, role_id)
VALUES (1, 'Alex', 2),
(2, 'Kate', 2),
(777, 'Veniamin', 1);
INSERT INTO categories (title)
VALUES ('offers'),
('complaints');
INSERT INTO states (title)
VALUES ('is active'),
('completed'),
('removed');
INSERT INTO items (id, description, user_id, cat_id, st_id)
VALUES (1, 'Lets take a party!', 1, 1, 1),
(2, 'I have a small salary', 2, 2, 3),
(3, 'Staff reduction is required', 777, 1, 2);
INSERT INTO attaches (id, content, item_id)
VALUES (12, 'some beer...', 1),
(32, 'declaration', 3);
INSERT INTO comments (id, content, item, user_id)
VALUES (12, 'OK', 1, 2);
|
-- phpMyAdmin SQL Dump
-- version 4.6.4
-- https://www.phpmyadmin.net/
--
-- Anamakine: 127.0.0.1
-- Üretim Zamanı: 27 Şub 2017, 13:28:55
-- Sunucu sürümü: 5.7.14
-- PHP Sürümü: 5.6.30
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 */;
--
-- Veritabanı: `rat`
--
-- --------------------------------------------------------
--
-- Tablo için tablo yapısı `r4t`
--
CREATE TABLE `r4t` (
`id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`passwd` varchar(255) NOT NULL,
`userid` int(11) NOT NULL,
`startup` int(11) NOT NULL,
`hidetaskman` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Tablo döküm verisi `r4t`
--
-- --------------------------------------------------------
--
-- Tablo için tablo yapısı `settings`
--
CREATE TABLE `settings` (
`id` int(11) NOT NULL,
`server_ip` text NOT NULL,
`server_port` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Tablo döküm verisi `settings`
--
-- --------------------------------------------------------
--
-- Tablo için tablo yapısı `users`
--
CREATE TABLE `users` (
`id` int(10) UNSIGNED NOT NULL,
`username` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
`password` char(40) COLLATE utf8_unicode_ci NOT NULL,
`name` varchar(120) COLLATE utf8_unicode_ci NOT NULL,
`email` varchar(70) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`active` char(1) COLLATE utf8_unicode_ci NOT NULL,
`auth` int(11) NOT NULL DEFAULT '1',
`token` longtext COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Tablo döküm verisi `users`
--
-- --------------------------------------------------------
--
-- Tablo için tablo yapısı `victims`
--
CREATE TABLE `victims` (
`id` int(11) NOT NULL,
`rat_id` int(11) NOT NULL,
`hash` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Tablo döküm verisi `victims`
--
-- --------------------------------------------------------
--
-- Tablo için tablo yapısı `victim_info`
--
CREATE TABLE `victim_info` (
`id` int(11) NOT NULL,
`victim_id` int(11) NOT NULL,
`ip_address` varchar(255) NOT NULL,
`pc_name` varchar(255) NOT NULL,
`os` varchar(255) NOT NULL,
`country` varchar(255) NOT NULL,
`created_at` date NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dökümü yapılmış tablolar için indeksler
--
--
-- Tablo için indeksler `r4t`
--
ALTER TABLE `r4t`
ADD PRIMARY KEY (`id`);
--
-- Tablo için indeksler `settings`
--
ALTER TABLE `settings`
ADD PRIMARY KEY (`id`);
--
-- Tablo için indeksler `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`);
--
-- Tablo için indeksler `victims`
--
ALTER TABLE `victims`
ADD PRIMARY KEY (`id`);
--
-- Tablo için indeksler `victim_info`
--
ALTER TABLE `victim_info`
ADD PRIMARY KEY (`id`);
--
-- Dökümü yapılmış tablolar için AUTO_INCREMENT değeri
--
--
-- Tablo için AUTO_INCREMENT değeri `r4t`
--
ALTER TABLE `r4t`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- Tablo için AUTO_INCREMENT değeri `settings`
--
ALTER TABLE `settings`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- Tablo için AUTO_INCREMENT değeri `users`
--
ALTER TABLE `users`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- Tablo için AUTO_INCREMENT değeri `victims`
--
ALTER TABLE `victims`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- Tablo için AUTO_INCREMENT değeri `victim_info`
--
ALTER TABLE `victim_info`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
/*!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 */;
|
<filename>cohort-evaluator-spark/src/test/resources/column-mapping-validation/cql/ParameterMeasure-1.0.0.cql
library "ParameterMeasure" version '1.0.0'
using "CohortTest" version '0.0.1'
parameter NumberToCheck Integer
context Patient
define "cohort":
NumberToCheck
|
DROP VIEW IF EXISTS _timescaledb_internal.hypertable_chunk_local_size;
DROP VIEW IF EXISTS _timescaledb_internal.compressed_chunk_stats;
|
<gh_stars>1-10
CREATE DATABASE yii2_app_basic;
CREATE DATABASE yii2_app_basic_test;
|
-- @testpoint:opengauss关键字collation_name(非保留),作为字段数据类型(合理报错)
--前置条件
drop table if exists collation_name_test cascade;
--关键字不带引号-合理报错
create table collation_name_test(id int,name collation_name);
--关键字带双引号-合理报错
create table collation_name_test(id int,name "collation_name");
--关键字带单引号-合理报错
create table collation_name_test(id int,name 'collation_name');
--关键字带反引号-合理报错
create table collation_name_test(id int,name `collation_name`);
|
<reponame>Yanci0/openGauss-server<gh_stars>100-1000
DROP FUNCTION IF EXISTS pg_catalog.gs_index_advise(cstring);
SET LOCAL inplace_upgrade_next_system_object_oids = IUO_PROC,4888;
CREATE OR REPLACE FUNCTION pg_catalog.gs_index_advise(cstring) returns table ("table" text, "column" text) language INTERNAL NOT FENCED as 'gs_index_advise';
|
INSERT INTO mentor4you_db.users (avatar, email, first_name, last_name, password, registration_date, role, status) VALUES
('https://awss3mentor4you.s3.eu-west-3.amazonaws.com/avatars/adminAvatar.jpeg','<EMAIL>', 'Admin', 'Admino', '$2a$10$iFfOLYfhGHPURIbw5kWwlepRKL5YCQ9ye7KItSGBrogUn3M9H5RLu', '2021-09-13 10:42:19.236442', 'ADMIN',true),
('https://awss3mentor4you.s3.eu-west-3.amazonaws.com/avatars/moderatorAvatar.jpg','<EMAIL>', 'Moder', 'Mod', '$2a$10$iFfOLYfhGHPURIbw5kWwlepRKL5YCQ9ye7KItSGBrogUn3M9H5RLu', '2021-09-13 10:42:19.236442', 'MODERATOR',true),
('https://awss3mentor4you.s3.eu-west-3.amazonaws.com/avatars/moderatorAvatar.jpg','<EMAIL>', 'Mod', 'Moder', '$2a$10$iFfOLYfhGHPURIbw5kWwlepRKL5YCQ9ye7KItSGBrogUn3M9H5RLu', '2021-09-13 10:42:19.236442', 'MODERATOR',true),
('https://awss3mentor4you.s3.eu-west-3.amazonaws.com/avatars/moderatorAvatar.jpg','<EMAIL>', 'Modest', 'Moderovich', '$2a$10$iFfOLYfhGHPURIbw5kWwlepRKL5YCQ9ye7KItSGBrogUn3M9H5RLu', '2021-09-13 10:42:19.236442', 'MODERATOR',true),
('https://awss3mentor4you.s3.eu-west-3.amazonaws.com/avatars/standartUserAvatar.png','<EMAIL>', 'Andrii', 'Android', '$2a$10$iFfOLYfhGHPURIbw5kWwlepRKL5YCQ9ye7KItSGBrogUn3M9H5RLu', '2021-09-13 10:42:19.236442', 'MENTOR',true),
('https://awss3mentor4you.s3.eu-west-3.amazonaws.com/avatars/standartUserAvatar.png','<EMAIL>', 'Mykola', 'Myhalkov', '$2a$10$iFfOLYfhGHPURIbw5kWwlepRKL5YCQ9ye7KItSGBrogUn3M9H5RLu', '2021-09-13 10:42:19.236442', 'MENTOR',true),
('https://awss3mentor4you.s3.eu-west-3.amazonaws.com/avatars/standartUserAvatar.png','<EMAIL>', 'Vasyl', 'Vasyliv', '$2a$10$iFfOLYfhGHPURIbw5kWwlepRKL5YCQ9ye7KItSGBrogUn3M9H5RLu', '2021-09-13 10:42:19.236442', 'MENTOR',true),
('https://awss3mentor4you.s3.eu-west-3.amazonaws.com/avatars/standartUserAvatar.png','<EMAIL>', 'Ivan', 'Ivanov', '$2a$10$iFfOLYfhGHPURIbw5kWwlepRKL5YCQ9ye7KItSGBrogUn3M9H5RLu', '2021-09-13 10:42:19.236442', 'MENTOR',true),
('https://awss3mentor4you.s3.eu-west-3.amazonaws.com/avatars/standartUserAvatar.png','<EMAIL>', 'Leonard', 'Vasyliv', '$2a$10$iFfOLYfhGHPURIbw5kWwlepRKL5YCQ9ye7KItSGBrogUn3M9H5RLu', '2021-09-13 10:42:19.236442', 'MENTOR',true),
('https://awss3mentor4you.s3.eu-west-3.amazonaws.com/avatars/standartUserAvatar.png','<EMAIL>', 'Orest', 'Knyazev', '$2a$10$iFfOLYfhGHPURIbw5kWwlepRKL5YCQ9ye7KItSGBrogUn3M9H5RLu', '2021-09-13 10:42:19.236442', 'MENTEE',true),
('https://awss3mentor4you.s3.eu-west-3.amazonaws.com/avatars/standartUserAvatar.png','<EMAIL>', 'Dmytro', 'Vasiv', '$2a$10$iFfOLYfhGHPURIbw5kWwlepRKL5YCQ9ye7KItSGBrogUn3M9H5RLu', '2021-09-13 10:42:19.236442', 'MENTEE',true),
('https://awss3mentor4you.s3.eu-west-3.amazonaws.com/avatars/standartUserAvatar.png','<EMAIL>', 'Bogdan', 'Ivanov', '$2a$10$iFfOLYfhGHPURIbw5kWwlepRKL5YCQ9ye7KItSGBrogUn3M9H5RLu', '2021-09-13 10:42:19.236442', 'MENTEE',true),
('https://awss3mentor4you.s3.eu-west-3.amazonaws.com/avatars/standartUserAvatar.png','<EMAIL>', 'Peter', 'Kwit', '$2a$10$iFfOLYfhGHPURIbw5kWwlepRKL5YCQ9ye7KItSGBrogUn3M9H5RLu', '2021-09-13 10:42:19.236442', 'MENTEE',true),
('https://awss3mentor4you.s3.eu-west-3.amazonaws.com/avatars/standartUserAvatar.png','<EMAIL>', 'Herasim', 'Nechai', '$2a$10$iFfOLYfhGHPURIbw5kWwlepRKL5YCQ9ye7KItSGBrogUn3M9H5RLu', '2021-09-13 10:42:19.236442', 'MENTEE',true);
COMMIT;
INSERT INTO mentor4you_db.accounts (id, last_visit) VALUES
(1,'2021-09-13 10:42:19.236442'),
(2,'2021-09-13 10:42:19.236442'),
(3,'2021-09-13 10:42:19.236442'),
(4,'2021-09-13 10:42:19.236442'),
(5,'2021-09-13 10:42:19.236442'),
(6,'2021-09-13 10:42:19.236442'),
(7,'2021-09-13 10:42:19.236442'),
(8,'2021-09-13 10:42:19.236442'),
(9,'2021-09-13 10:42:19.236442'),
(10,'2021-09-13 10:42:19.236442'),
(11,'2021-09-13 10:42:19.236442'),
(12,'2021-09-13 10:42:19.236442'),
(13,'2021-09-13 10:42:19.236442'),
(14,'2021-09-13 10:42:19.236442');
COMMIT;
INSERT INTO mentor4you_db.mentors (id, description, is_offline_in, is_offline_out,
is_online, showable_status, group_serv,rating) VALUES
(5, 'Java', 1, 1, 1, 1, 'YES',5),
(6, 'Web', 1, 1, 1, 1, 'YES',4),
(7, 'ArtI', 1, 0, 1, 1, 'YES',3),
(8, 'Design', 0, 1, 1, 1, 'YES',4),
(9, 'Mobile', 0, 0, 1, 1, 'YES',5);
COMMIT;
INSERT INTO mentor4you_db.mentees VALUES
(10),
(11),
(12),
(13),
(14);
COMMIT;
INSERT INTO mentor4you_db.categories (name) VALUES
('Java'),
('Python'),
('HTML'),
('TypeScript'),
('JavaScript'),
('Kotlin'),
('CSS');
COMMIT;
INSERT INTO mentor4you_db.languages (id, name) VALUES
(1,'Ukrainian'),
(2,'English'),
(3,'Russian'),
(4,'Polish');
COMMIT;
INSERT INTO mentor4you_db.languages_to_accounts (account_id, languages_id) VALUES
(1,1),(1,2),
(2,1),(2,2),
(3,1),(3,2),
(4,1),(4,2),
(5,1),(5,2),
(6,1),(6,2),
(7,1),(7,2),
(8,1),(8,2),
(9,1),(9,2),
(10,1),(10,2),
(11,1),(11,2),
(12,1),(12,2),
(13,1),(13,2),
(14,1),(14,2);
COMMIT;
INSERT INTO mentor4you_db.type_contacts (id, name) VALUES
(1, 'PhoneNumFirst'),
(2, 'PhoneNumSecond'),
(3, 'LinkedIn'),
(4, 'Facebook'),
(5, 'Telegram'),
(6, 'Skype'),
(7, 'GitHub');
COMMIT;
INSERT INTO mentor4you_db.contacts_to_accounts (contact_data, accounts_id, type_contacts_id) VALUES
('+380998877666', 1, 1), ('My-site URL', 1, 3), ('My GitHub URL',1, 7),
('+380998877667', 2, 1),
('+380998877668', 3, 1),
('+380998877669', 4, 1),
('+380998877670', 5, 1),('My-site URL', 5, 3), ('My GitHub URL',5, 7),
('+380998877671', 6, 1),('My-site URL', 6, 3), ('My GitHub URL',6, 7),
('+380998877672', 7, 1),('My-site URL', 7, 3), ('My GitHub URL',7, 7),
('+380998877673', 8, 1),('My-site URL', 8, 3), ('My GitHub URL',8, 7),
('+380998877674', 9, 1),('My-site URL', 9, 3), ('My GitHub URL',9, 7),
('+380998877675', 9, 1),('My-site URL', 9, 3), ('My GitHub URL',9, 7),
('+380998877676', 9, 1),('My-site URL', 9, 3), ('My GitHub URL',9, 7),
('+380998877677', 9, 1),('My-site URL', 9, 3), ('My GitHub URL',9, 7),
('+380998877678', 9, 1),('My-site URL', 9, 3), ('My GitHub URL',9, 7),
('+380998877679', 9, 1),('My-site URL', 9, 3), ('My GitHub URL',9, 7);
COMMIT;
INSERT INTO mentor4you_db.mentors_to_categories (id, currency, rate,categories_id ,mentors_id) VALUES
(1, 'UAH', 150, 1,5),
(4, 'UAH', 175, 2,6),
(2, 'USD', 10, 2,7),
(5, 'UAH', 230, 3,8),
(6, 'UAH', 250, 4,9);
COMMIT;
INSERT INTO mentor4you_db.educations (id,description,name,education) VALUES
(1,'description','higher education',5),
(2,'description','higher education',6),
(3,'description','higher education',7),
(4,'description','higher education',8),
(5,'description','higher education',9);
COMMIT;
INSERT INTO mentor4you_db.certificats (id,description,link,name,certificats) VALUES
(1,'description','http://link','Very Cool Certificate',5),
(2,'description','http://link','Very Cool Certificate',6),
(3,'description','http://link','Very Cool Certificate',7),
(4,'description','http://link','Very Cool Certificate',8),
(5,'description','http://link','Very Cool Certificate',9),
(6,'description','http://link','Very Cool Certificate',5),
(7,'description','http://link','Very Cool Certificate',8),
(8,'description','http://link','Very Cool Certificate',9);
COMMIT;
INSERT INTO mentor4you_db.city (name) VALUES
('Poltava'),
('Ostroh'),
('Kyiv'),
('Rivne')
('Lviv');
COMMIT;
INSERT INTO mentor4you_db.city_to_mentors (city_id, mentor_id) VALUES
('3', '5'),
('1', '6'),
('3', '7'),
('2', '8'),
('4', '9');
COMMIT; |
<gh_stars>0
/*
Navicat Premium Data Transfer
Source Server : Local
Source Server Type : MySQL
Source Server Version : 50533
Source Host : localhost
Source Database : detoxthai_lte
Target Server Type : MySQL
Target Server Version : 50533
File Encoding : utf-8
Date: 06/10/2015 10:46:40 AM
*/
SET NAMES utf8;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for `tb_facebook`
-- ----------------------------
DROP TABLE IF EXISTS `tb_facebook`;
CREATE TABLE `tb_facebook` (
`ID` int(6) NOT NULL AUTO_INCREMENT,
`FACEBOOK_ID` varchar(50) NOT NULL,
`NAME` varchar(150) NOT NULL,
`LINK` varchar(250) NOT NULL,
`CREATE_DATE` datetime NOT NULL,
PRIMARY KEY (`ID`),
UNIQUE KEY `ID` (`FACEBOOK_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 1172.16.58.3
-- Generation Time: Mar 31, 2019 at 08:42 PM
-- Server version: 10.1.38-MariaDB
-- PHP Version: 7.3.2
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: `canteen`
--
-- --------------------------------------------------------
--
-- Table structure for table `admins`
--
CREATE TABLE `admins` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`ID_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`contact` int(11) NOT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`password` varchar(255) 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 `admins`
--
INSERT INTO `admins` (`id`, `name`, `ID_number`, `contact`, `email`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'sandalanka', '<PASSWORD>20020073056', 714220524, '<EMAIL>', <PASSWORD>$4XMIayely<PASSWORD>.V<PASSWORD>hOS0l6fP<PASSWORD>jvAWIuTNCkKZ<PASSWORD>', NULL, '2019-03-30 22:47:28', '2019-03-30 22:47:28'),
(2, 'admin', '741', 456, '<EMAIL>', <PASSWORD>FUa<PASSWORD>', NULL, '2019-03-31 01:24:44', '2019-03-31 01:24:44');
-- --------------------------------------------------------
--
-- Table structure for table `feedback`
--
CREATE TABLE `feedback` (
`id` bigint(20) UNSIGNED NOT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`comment` varchar(255) 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 `feedback`
--
INSERT INTO `feedback` (`id`, `email`, `comment`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, '<EMAIL>', '1245', NULL, '2019-03-30 11:54:00', '2019-03-30 11:54:00');
-- --------------------------------------------------------
--
-- Table structure for table `foods`
--
CREATE TABLE `foods` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`price` varchar(255) 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 `foods`
--
INSERT INTO `foods` (`id`, `name`, `price`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'rice', '35', NULL, '2019-03-31 00:27:06', '2019-03-31 00:27:06'),
(2, 'bun', '20', NULL, '2019-03-31 00:32:10', '2019-03-31 00:32:10');
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(255) 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, '2019_03_28_160458_create_admins_table', 1),
(2, '2019_03_28_160523_create_students_table', 1),
(3, '2019_03_28_160542_create_feedback_table', 1),
(4, '2019_03_28_160611_create_foods_table', 1),
(5, '2019_03_28_160631_create_orders_table', 1),
(6, '2019_03_30_171052_create_users_table', 1);
-- --------------------------------------------------------
--
-- Table structure for table `orders`
--
CREATE TABLE `orders` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`sid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`date` date NOT NULL,
`food` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`amount` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`contact` int(11) 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 `orders`
--
INSERT INTO `orders` (`id`, `name`, `sid`, `date`, `food`, `amount`, `contact`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'saman', '113', '2019-03-27', 'rice', '2', 789456, NULL, '2019-03-31 00:58:59', '2019-03-31 00:58:59');
-- --------------------------------------------------------
--
-- Table structure for table `students`
--
CREATE TABLE `students` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`sid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`faculty` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`password` varchar(255) 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 `students`
--
INSERT INTO `students` (`id`, `name`, `sid`, `faculty`, `email`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'admin', '1233020020073056', 'applied', '<EMAIL>', <PASSWORD>', NULL, '2019-03-30 11:52:24', '2019-03-30 11:52:24'),
(2, 'kamal', '838473489555909', 'applied', '<EMAIL>', <PASSWORD>', NULL, '2019-03-30 12:01:56', '2019-03-30 12:01:56'),
(3, 'kalana', '116935752050016', 'applied', '<EMAIL>', <PASSWORD>cZyEorpRDTAPzh0luYFuAxwQzqGweXDB.BJ0mDI5hOQ12TdYzzG', NULL, '2019-03-30 12:14:56', '2019-03-30 12:14:56');
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`sid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`faculty` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`password` varchar(255) 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`, `sid`, `faculty`, `email`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'admin', '12330<PASSWORD>', 'applied', '<EMAIL>', <PASSWORD>', NULL, '2019-03-30 12:13:02', '2019-03-30 12:13:02'),
(2, 'kalana', '116935752050016', 'applied', '<EMAIL>', <PASSWORD>', NULL, '2019-03-30 12:20:00', '2019-03-30 12:20:00');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `admins`
--
ALTER TABLE `admins`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `feedback`
--
ALTER TABLE `feedback`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `foods`
--
ALTER TABLE `foods`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `orders`
--
ALTER TABLE `orders`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `students`
--
ALTER TABLE `students`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `admins`
--
ALTER TABLE `admins`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `feedback`
--
ALTER TABLE `feedback`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `foods`
--
ALTER TABLE `foods`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `orders`
--
ALTER TABLE `orders`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `students`
--
ALTER TABLE `students`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
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 */;
|
-- phpMyAdmin SQL Dump
-- version 4.9.5deb2
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Feb 22, 2021 at 01:09 PM
-- Server version: 8.0.23-0ubuntu0.20.04.1
-- PHP Version: 7.4.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: `Inframind`
--
-- --------------------------------------------------------
--
-- Table structure for table `customers`
--
CREATE TABLE `customers` (
`cid` int NOT NULL,
`name` varchar(80) NOT NULL,
`csat` float NOT NULL,
`address1` varchar(255) NOT NULL,
`address2` varchar(255) NOT NULL,
`city` varchar(80) NOT NULL,
`state` varchar(80) NOT NULL,
`country` varchar(80) NOT NULL,
`pin` int NOT NULL,
`phone` varchar(15) NOT NULL,
`email` varchar(80) NOT NULL,
`image` varchar(255) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`modified_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `customers`
--
INSERT INTO `customers` (`cid`, `name`, `csat`, `address1`, `address2`, `city`, `state`, `country`, `pin`, `phone`, `email`, `image`, `created_at`, `modified_at`) VALUES
(1, '<NAME>', 0.3726, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/rsz_self_picture.jpg', '2021-01-10 14:53:15', '2021-01-10 14:53:15'),
(9, '<NAME>', 0.7474, '146/B, Kulia, Beleghata Main Road', 'Beleghata', 'Delhi', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-26 19:33:44', '2021-01-26 19:33:44'),
(10, '<NAME>', -0.9, '146/B, Beleghata Main Road', 'Beleghata', 'Mumbai', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL> ', 'http://localhost:3000/images/female.png', '2021-01-10 14:53:15', '2021-01-10 14:53:15'),
(11, '<NAME>', -0.42, '146/B, Beleghata Main Road', 'Beleghata', 'Bangalore', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-22 20:11:49', '2021-01-22 20:11:49'),
(12, '<NAME> ', 0.45, '146/B, Beleghata Main Road', 'Beleghata', 'Hyderabad', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL> ', ' \r\nhttp://localhost:3000/images/female.png', '2021-01-22 21:38:59', '2021-01-22 21:38:59'),
(13, '<NAME>', -0.12, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-22 21:39:54', '2021-01-22 21:39:54'),
(14, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-22 21:41:17', '2021-01-22 21:41:17'),
(15, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-26 19:33:44', '2021-01-26 19:33:44'),
(16, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-10 14:53:15', '2021-01-10 14:53:15'),
(17, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-22 20:11:49', '2021-01-22 20:11:49'),
(18, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-22 21:38:59', '2021-01-22 21:38:59'),
(19, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-22 21:39:54', '2021-01-22 21:39:54'),
(20, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-22 21:41:17', '2021-01-22 21:41:17'),
(21, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-26 19:33:44', '2021-01-26 19:33:44'),
(22, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-10 14:53:15', '2021-01-10 14:53:15'),
(23, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-22 20:11:49', '2021-01-22 20:11:49'),
(24, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-22 21:38:59', '2021-01-22 21:38:59'),
(25, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', ' \r\nhttp://localhost:3000/images/female.png', '2021-01-22 21:39:54', '2021-01-22 21:39:54'),
(26, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-22 21:41:17', '2021-01-22 21:41:17'),
(27, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', ' \r\nhttp://localhost:3000/images/female.png', '2021-01-26 19:33:44', '2021-01-26 19:33:44'),
(28, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-10 14:53:15', '2021-01-10 14:53:15'),
(29, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-22 20:11:49', '2021-01-22 20:11:49'),
(30, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', ' \r\nhttp://localhost:3000/images/female.png', '2021-01-22 21:38:59', '2021-01-22 21:38:59'),
(31, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-22 21:39:54', '2021-01-22 21:39:54'),
(32, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-22 21:41:17', '2021-01-22 21:41:17'),
(33, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-26 19:33:44', '2021-01-26 19:33:44'),
(34, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-10 14:53:15', '2021-01-10 14:53:15'),
(35, '<NAME>', 0, '146/B, Beleghata Main Road', 'Beleghata', 'Kolkata', 'West Bengal', 'India', 700010, '9564641639', '<EMAIL>', 'http://localhost:3000/images/male.png', '2021-01-22 20:11:49', '2021-01-22 20:11:49');
-- --------------------------------------------------------
--
-- Table structure for table `feedbacks`
--
CREATE TABLE `feedbacks` (
`fid` int NOT NULL,
`cid` int NOT NULL,
`pid` int NOT NULL,
`csat` float DEFAULT NULL,
`comment` text NOT NULL,
`comment_csat` float DEFAULT NULL,
`image` varchar(255) NOT NULL,
`image_csat` float DEFAULT NULL,
`audio` varchar(255) NOT NULL,
`audio_csat` float DEFAULT NULL,
`video` varchar(255) NOT NULL,
`video_csat` float DEFAULT NULL,
`chat_text` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`chat_csat` float DEFAULT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`modified_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `feedbacks`
--
INSERT INTO `feedbacks` (`fid`, `cid`, `pid`, `csat`, `comment`, `comment_csat`, `image`, `image_csat`, `audio`, `audio_csat`, `video`, `video_csat`, `chat_text`, `chat_csat`, `created_at`, `modified_at`) VALUES
(1, 1, 1, 0.2, 'good product', NULL, '', NULL, '', 0, '', 0, '', 0, '2021-01-12 14:43:00', '2021-01-12 14:43:00'),
(2, 1, 2, 0.7, 'awesome', 0, '', 0, '', 0, '', 0, '', 0, '2021-01-16 10:30:28', '2021-01-16 10:30:28'),
(3, 1, 3, 0.65, 'best', 0, '', 0, '', 0, '', 0, '', 0, '2020-10-16 10:37:02', '2020-10-16 10:37:02'),
(6, 10, 2, 0.7, 'Awesome phone', 0, '', 0, '', 0, '', 0, '', 0, '2021-01-30 18:51:13', '2021-01-30 18:51:13'),
(7, 10, 3, 0.6369, 'Best Quality', NULL, '', NULL, '', NULL, '', NULL, '', NULL, '2021-02-07 08:14:45', '2021-02-07 08:14:45'),
(8, 10, 2, 0, 'Not as expected. Dont buy', NULL, '', NULL, '', NULL, '', NULL, '', NULL, '2021-02-07 10:05:33', '2021-02-07 10:05:33'),
(9, 1, 1, -0.5423, 'Bad product', NULL, '', NULL, '', NULL, '', NULL, '', NULL, '2021-02-07 10:06:23', '2021-02-07 10:06:23'),
(10, 1, 3, 0.8555, 'Best Product. Love it', NULL, '', NULL, '', NULL, '', NULL, '', NULL, '2021-02-10 19:36:56', '2021-02-10 19:36:56'),
(11, 9, 2, 0.7474, 'Very good phone. Good camera quality.', NULL, '', NULL, '', NULL, '', NULL, '', NULL, '2021-02-19 06:10:32', '2021-02-19 06:10:32');
-- --------------------------------------------------------
--
-- Table structure for table `products`
--
CREATE TABLE `products` (
`pid` int NOT NULL,
`name` varchar(120) NOT NULL,
`image` varchar(255) NOT NULL,
`quantity` varchar(80) NOT NULL,
`hashtag` varchar(150) NOT NULL,
`csat` float NOT NULL,
`price` int NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`modfied_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `products`
--
INSERT INTO `products` (`pid`, `name`, `image`, `quantity`, `hashtag`, `csat`, `price`, `created_at`, `modfied_at`) VALUES
(1, 'Sony Bravia 138.8 cm (55 inches) 4K Ultra HD Certified Android LED TV 55X7500H (Black) (2020 Model)', 'https://images-na.ssl-images-amazon.com/images/I/81Nw2ifyBzL._SL1500_.jpg', '1', 'SonyBRAVIA', -0.1711, 60999, '2021-01-12 14:41:46', '2021-01-12 14:41:46'),
(2, 'Samsung Galaxy M21 (Midnight Blue, 4GB RAM, 64GB Storage)', 'https://images-na.ssl-images-amazon.com/images/I/71dujTTJDZL._SY500_.jpg', '1', 'm21', 0.5368, 13999, '2021-01-16 10:29:44', '2021-01-16 10:29:44'),
(3, '\r\nboAt Bassheads 100 in Ear Wired Earphones with Mic(Black)', 'https://images-na.ssl-images-amazon.com/images/I/719elVA3FvL._SL1500_.jpg', '1', 'boat', 2.5, 399, '2021-01-16 10:36:37', '2021-01-16 10:36:37');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `customers`
--
ALTER TABLE `customers`
ADD PRIMARY KEY (`cid`);
--
-- Indexes for table `feedbacks`
--
ALTER TABLE `feedbacks`
ADD PRIMARY KEY (`fid`);
--
-- Indexes for table `products`
--
ALTER TABLE `products`
ADD PRIMARY KEY (`pid`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `customers`
--
ALTER TABLE `customers`
MODIFY `cid` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=36;
--
-- AUTO_INCREMENT for table `feedbacks`
--
ALTER TABLE `feedbacks`
MODIFY `fid` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
--
-- AUTO_INCREMENT for table `products`
--
ALTER TABLE `products`
MODIFY `pid` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
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 */;
|
-- Skal inneholde det samme som i migreringsfilene --
-- Hvis vi ikke lenger trenger database sync mot Arena så kan vi istedenfor bruke Flyway og migrere som vanlig for test --
-- V1_1__inital.sql
create table OPPFOLGINGSBRUKER (
PERSON_ID NUMBER not null,
FODSELSNR VARCHAR2(33) not null,
ETTERNAVN VARCHAR2(90) not null,
FORNAVN VARCHAR2(90) not null,
NAV_KONTOR VARCHAR2(24),
FORMIDLINGSGRUPPEKODE VARCHAR2(15) not null,
ISERV_FRA_DATO DATE,
KVALIFISERINGSGRUPPEKODE VARCHAR2(15) not null,
RETTIGHETSGRUPPEKODE VARCHAR2(15) not null,
HOVEDMAALKODE VARCHAR2(30),
SIKKERHETSTILTAK_TYPE_KODE VARCHAR2(12),
FR_KODE VARCHAR2(6),
HAR_OPPFOLGINGSSAK VARCHAR2(3),
SPERRET_ANSATT VARCHAR2(3),
ER_DOED VARCHAR2(3) not null,
DOED_FRA_DATO DATE,
TIDSSTEMPEL DATE
);
-- V1_2__aktormapping.sql
CREATE TABLE METADATA (
OPPFOLGINGSBRUKER_SIST_ENDRING TIMESTAMP NOT NULL
);
INSERT INTO METADATA (OPPFOLGINGSBRUKER_SIST_ENDRING)
VALUES (TO_TIMESTAMP('1970-01-01 00:00:00.000000', 'YYYY-MM-DD HH24:MI:SS.FF6'));
-- V1_3__metadata_fnr.sql
ALTER TABLE METADATA
ADD FODSELSNR VARCHAR2(33);
-- V1_4__feilede_kafka_meldinger.sql
CREATE TABLE FEILEDE_KAFKA_BRUKERE (
FODSELSNR VARCHAR2(33) NOT NULL,
TIDSPUNKT_FEILET TIMESTAMP NOT NULL
);
-- V1_5__legg_shedlock_tabell.sql
CREATE TABLE shedlock(
name VARCHAR(64),
lock_until TIMESTAMP(3) NULL,
locked_at TIMESTAMP(3) NULL,
locked_by VARCHAR(255),
PRIMARY KEY (name)
);
-- V1_6__fjern_shedlock_tabell.sql
DROP TABLE shedlock;
-- V1_7__fjern_feilede_kafka_brukere.sql
DROP TABLE FEILEDE_KAFKA_BRUKERE;
-- V1_8__kafka_producer_record.sql
CREATE SEQUENCE KAFKA_PRODUCER_RECORD_ID_SEQ;
CREATE TABLE KAFKA_PRODUCER_RECORD (
ID NUMBER(18) NOT NULL PRIMARY KEY,
TOPIC VARCHAR(100) NOT NULL,
KEY BLOB,
VALUE BLOB,
HEADERS_JSON CLOB,
CREATED_AT TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL
);
-- V1_9__kafka_producer_record.sql (Trigger stottes ikke i H2 databasen)
CREATE TABLE OPPDATERTE_BRUKERE
(
FNR VARCHAR(33),
TIDSSTEMPEL DATE,
PRIMARY KEY (FNR)
); |
<reponame>jyogu-i/spring-boot-rest-example
SELECT * FROM public."Message"
WHERE date=(SELECT MAX(date) FROM public."Message" WHERE chat_id=/* chat.getChatId() */1); |
<reponame>cressie176/marv-better-sqlite3-driver
CREATE TABLE IF NOT EXISTS migrations (
level INTEGER,
comment TEXT,
"timestamp" INTEGER,
checksum TEXT,
namespace TEXT DEFAULT 'default',
PRIMARY KEY (level, namespace)
);
CREATE TABLE IF NOT EXISTS migrations_lock (dummy_column INT NOT NULL DEFAULT 1);
|
<filename>03_your_first_database_data/01_add_data_with_insert/07_exercises.sql<gh_stars>0
ALTER TABLE
celebrities
ALTER COLUMN
last_name DROP NOT NULL;
INSERT INTO
celebrities (first_name, occupation, date_of_birth, deceased)
VALUES
('Madonna', 'Singer, Actress', '1958-08-16', false),
('Prince', 'Singer, Songwriter, Musician, Actor', '1958-06-07', true);
|
<gh_stars>0
CREATE OR REPLACE FUNCTION @extschema@.is_url_array(
test_array text[])
RETURNS boolean AS
$BODY$
SELECT bool_and(@extschema@.is_url(test)) FROM unnest(test_array) a(test);
$BODY$
LANGUAGE SQL IMMUTABLE
PARALLEL SAFE
COST 1;
|
<gh_stars>0
CREATE TABLE cab_types
(
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
cab_type VARCHAR(32) NOT NULL UNIQUE,
created_at DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL
) |
set serveroutput on;
set verify off;
declare
id DONOR.DID%TYPE := '&DonorID';
begin
delete from DONOR where DID=id;
end;
/ |
<gh_stars>10-100
INSERT INTO `oxpayments` (`OXID`, `OXACTIVE`, `OXDESC`, `OXADDSUM`, `OXADDSUMTYPE`, `OXADDSUMRULES`, `OXFROMBONI`, `OXFROMAMOUNT`, `OXTOAMOUNT`, `OXVALDESC`, `OXCHECKED`, `OXDESC_1`, `OXVALDESC_1`, `OXDESC_2`, `OXVALDESC_2`, `OXDESC_3`, `OXVALDESC_3`, `OXLONGDESC`, `OXLONGDESC_1`, `OXLONGDESC_2`, `OXLONGDESC_3`, `OXSORT`)
VALUES ('bestitamazon', 1, 'Amazon Pay', 0, 'abs', 15, 0, 0, 99999999, '', 0, 'Amazon Pay', '', '', '', '', '', '', '', '', '', 0);
ALTER TABLE `oxorder` ADD `BESTITAMAZONORDERREFERENCEID` VARCHAR( 32 ) NOT NULL;
ALTER TABLE `oxorder` ADD `BESTITAMAZONAUTHORIZATIONID` VARCHAR( 32 ) NOT NULL;
ALTER TABLE `oxorder` ADD `BESTITAMAZONCAPTUREID` VARCHAR( 32 ) NOT NULL;
ALTER TABLE `oxorder` CHANGE `OXTRANSSTATUS` `OXTRANSSTATUS` VARCHAR( 60 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT 'Order status: NOT_FINISHED, OK, ERROR';
CREATE TABLE IF NOT EXISTS `bestitamazonrefunds` (
`ID` VARCHAR( 32 ) COLLATE utf8_unicode_ci NOT NULL,
`OXORDERID` VARCHAR( 32 ) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
`BESTITAMAZONREFUNDID` VARCHAR( 32 ) COLLATE utf8_unicode_ci NOT NULL,
`AMOUNT` DOUBLE( 10, 2 ) NOT NULL,
`STATE` VARCHAR( 32 ) COLLATE utf8_unicode_ci NOT NULL,
`ERROR` VARCHAR( 255 ) COLLATE utf8_unicode_ci NOT NULL,
`TIMESTAMP` DATETIME NOT NULL,
UNIQUE KEY `ID` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE IF NOT EXISTS `bestitamazonobject2reference` (
`OXOBJECTID` VARCHAR( 32 ) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
`AMAZONORDERREFERENCEID` VARCHAR( 32 ) NOT NULL,
PRIMARY KEY(`OXOBJECTID`, `AMAZONORDERREFERENCEID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `oxcontents` (`OXID`, `OXLOADID`, `OXSHOPID`, `OXSNIPPET`, `OXTYPE`, `OXACTIVE`, `OXACTIVE_1`, `OXPOSITION`, `OXTITLE`, `OXCONTENT`, `OXTITLE_1`, `OXCONTENT_1`, `OXACTIVE_2`, `OXTITLE_2`, `OXCONTENT_2`, `OXACTIVE_3`, `OXTITLE_3`, `OXCONTENT_3`, `OXCATID`, `OXFOLDER`, `OXTERMVERSION`, `OXTIMESTAMP`) VALUES
('bestitAmazonInvalidPaymentEmail', 'bestitAmazonInvalidPaymentEmail', 1, 1, 0, 1, 1, '', 'Amazon Pay Rejected Payment Email', '[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_VALUED_CUSUTOMER"}],<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_THANKYOU"}] [{$shop->oxshops__oxname->value}].<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_PAYMENTS_DECLINED"}].<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_PLEASE_GOTO"}] <a href="[{$order->getAmazonChangePaymentLink()}]">[{$order->getAmazonChangePaymentLink()}]</a> [{oxmultilang ident="BESTITAMAZONPAY_EMAIL_PLEASE_UPDATE_PAYMENT"}].<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_KIND_REGARDS"}],', 'Amazon Pay Rejected Payment Email', '[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_VALUED_CUSUTOMER"}],<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_THANKYOU"}] [{$shop->oxshops__oxname->value}].<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_PAYMENTS_DECLINED"}].<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_PLEASE_GOTO"}] <a href="[{$order->getAmazonChangePaymentLink()}]">[{$order->getAmazonChangePaymentLink()}]</a> [{oxmultilang ident="BESTITAMAZONPAY_EMAIL_PLEASE_UPDATE_PAYMENT"}].<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_KIND_REGARDS"}],', 1, 'Amazon Pays Rejected Payment Email', '[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_VALUED_CUSUTOMER"}],<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_THANKYOU"}] [{$shop->oxshops__oxname->value}].<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_PAYMENTS_DECLINED"}].<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_PLEASE_GOTO"}] <a href="[{$order->getAmazonChangePaymentLink()}]">[{$order->getAmazonChangePaymentLink()}]</a> [{oxmultilang ident="BESTITAMAZONPAY_EMAIL_PLEASE_UPDATE_PAYMENT"}].<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_KIND_REGARDS"}],', 0, '', '[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_VALUED_CUSUTOMER"}],<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_THANKYOU"}] [{$shop->oxshops__oxname->value}].<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_PAYMENTS_DECLINED"}].<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_PLEASE_GOTO"}] <a href="[{$order->getAmazonChangePaymentLink()}]">[{$order->getAmazonChangePaymentLink()}]</a> [{oxmultilang ident="BESTITAMAZONPAY_EMAIL_PLEASE_UPDATE_PAYMENT"}].<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_KIND_REGARDS"}],', '30e44ab83fdee7564.23264141', 'CMSFOLDER_EMAILS', '', '2015-06-19 13:18:56'),
('bestitAmazonRejectedPaymentEmail', 'bestitAmazonRejectedPaymentEmail', 1, 1, 0, 1, 1, '', 'Amazon Pay Invalid Payment Email', '[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_VALUED_CUSUTOMER"}],<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_DECLINED_TEXT"}] [{$shop->oxshops__oxname->value}].\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_CONTACT_US"}].<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_KIND_REGARDS"}],', 'Amazon Pay Invalid Payment Email', '[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_VALUED_CUSUTOMER"}],<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_DECLINED_TEXT"}] [{$shop->oxshops__oxname->value}].\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_CONTACT_US"}].<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_KIND_REGARDS"}],', 1, 'Amazon Pay Invalid Payment Email', '[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_VALUED_CUSUTOMER"}],<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_DECLINED_TEXT"}] [{$shop->oxshops__oxname->value}].\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_CONTACT_US"}].<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_KIND_REGARDS"}],', 0, 'Amazon Pay Invalid Payment Email', '[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_VALUED_CUSUTOMER"}],<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_DECLINED_TEXT"}] [{$shop->oxshops__oxname->value}].\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_CONTACT_US"}].<br />\r\n<br />\r\n[{oxmultilang ident="BESTITAMAZONPAY_EMAIL_KIND_REGARDS"}],', '30e44ab83fdee7564.23264141', 'CMSFOLDER_EMAILS', '', '2015-06-19 13:18:29');
ALTER TABLE `oxuser` ADD `BESTITAMAZONID` VARCHAR( 50 ) NOT NULL; |
<reponame>Shuttl-Tech/antlr_psql<filename>src/test/resources/sql/drop_user/55b6b438.sql<gh_stars>10-100
-- file:privileges.sql ln:1114 expect:true
DROP USER regress_user2
|
-- added
select define_function_args('category_tree__copy','source_tree,dest_tree,creation_user,creation_ip');
--
-- procedure category_tree__copy/4
--
CREATE OR REPLACE FUNCTION category_tree__copy(
p_source_tree integer,
p_dest_tree integer,
p_creation_user integer,
p_creation_ip varchar
) RETURNS integer AS $$
DECLARE
v_new_left_ind integer;
v_category_id integer;
source record;
BEGIN
select coalesce(max(right_ind),0) into v_new_left_ind
from categories
where tree_id = p_dest_tree;
for source in (select category_id, parent_id, left_ind, right_ind from categories where tree_id = p_source_tree) loop
v_category_id := acs_object__new (
null,
'category', -- object_type
now(), -- creation_date
p_creation_user, -- creation_user
p_creation_ip, -- creation_ip
p_dest_tree -- context_id
);
insert into categories
(category_id, tree_id, parent_id, left_ind, right_ind)
values
(v_category_id, p_dest_tree, source.parent_id, source.left_ind + v_new_left_ind, source.right_ind + v_new_left_ind);
end loop;
-- correct parent_ids
update categories
set parent_id = (select t.category_id
from categories s, categories t
where s.category_id = categories.parent_id
and t.tree_id = p_dest_tree
and s.left_ind + v_new_left_ind = t.left_ind)
where tree_id = p_dest_tree;
-- copy all translations
insert into category_translations
(category_id, locale, name, description)
(select ct.category_id, t.locale, t.name, t.description
from category_translations t, categories cs, categories ct
where ct.tree_id = p_dest_tree
and cs.tree_id = p_source_tree
and cs.left_ind + v_new_left_ind = ct.left_ind
and t.category_id = cs.category_id);
-- for debugging reasons
perform category_tree__check_nested_ind(p_dest_tree);
return 0;
END;
$$ LANGUAGE plpgsql;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.