sql
stringlengths
6
1.05M
<filename>research_queries.sql -- SQLite select count(member_id) as count, member_id, movie_id from scrotten_movie_to_member_scrottenmovietomember group by member_id having count(member_id) > 1 -- select * -- from scrotten_movie_to_member_scrottenmovietomember s -- where s.member_id = '/celebrity/1040476-jerry_adler' -- select * -- from scrotten_movie_to_member_scrottenmovietomember -- where movie_id in ('/m/driveways', '/m/a_most_violent_year') -- select movie_id || ',' || group_concat(member_id, ',') -- from scrotten_movie_to_member_scrottenmovietomember -- where movie_id in ('/m/driveways', '/m/a_most_violent_year') -- group by movie_id select ''''||movie_id || ',' || member_id||''',' from scrotten_movie_to_member_scrottenmovietomember select * from scrotten_movie_to_member_scrottenmovietomember -- select count(member_id), member_id -- from scrotten_movie_to_member_scrottenmovietomember -- where movie_id in ('/m/driveways', '/m/a_most_violent_year') -- group by member_id
-- Lab 7: Using Table Expressions /* 1. Retrieving Product Information AdventureWorks sells many products that are variants of the same product model. You must write queries that retrieve information about these products. INSTRUCTIONS 50 XP Retrieve the product ID, product name, product model name, and product model summary for each product from the SalesLT.Product table and the SalesLT.vProductModelCatalogDescription view. Make sure to use the aliases provided, and default column names elsewhere. */ SELECT P.ProductID, P.Name AS ProductName, PC.Name AS ProductModel, PC.Summary FROM [SalesLT].[Product] AS P INNER JOIN [SalesLT].[vProductModelCatalogDescription] AS PC ON P.ProductModelID = PC.ProductModelID /* 2. Retrieving Product Information (2) You are only interested in products which have a listed color in the database. */ DECLARE @Colors AS TABLE (Color nvarchar(15)) INSERT INTO @Colors SELECT DISTINCT P.Color FROM [SalesLT].[Product] AS P SELECT P.ProductID, P.Name, P.Color FROM [SalesLT].[Product] AS P WHERE P.Color IN (SELECT Color FROM @Colors) /* 3. Retrieving Product Information (3) The AdventureWorksLT database includes a table-valued function named dbo.ufnGetAllCategories, which returns a table of product categories (e.g. 'Road Bikes') and parent categories (for example 'Bikes'). */ SELECT C.ParentProductCategoryName AS ParentCategory, C.ProductCategoryName AS Category, P.ProductID, P.Name AS ProductName FROM SalesLT.Product AS P JOIN [dbo].[ufnGetAllCategories]() AS C ON P.ProductCategoryID = C.ProductCategoryID ORDER BY ParentCategory, Category, ProductName; SELECT * FROM [dbo].[ufnGetAllCategories]() /* 4. Retrieving Customer Sales Revenue Each AdventureWorks customer is a retail company with a named contact. You must create queries that return the total revenue for each customer, including the company and customer contact names. INSTRUCTIONS 100 XP Retrieve a list of customers in the format Company (Contact Name) together with the total revenue for each customer. Use a derived table or a common table expression to retrieve the details for each sales order, and then query the derived table or CTE to aggregate and group the data. Make sure to use the aliases provided, and default column names elsewhere. */ SELECT CompanyContact, SUM(SalesAmount) AS Revenue FROM (SELECT CONCAT(c.CompanyName, CONCAT(' (' + c.FirstName + ' ', c.LastName + ')')), SOH.TotalDue FROM SalesLT.SalesOrderHeader AS SOH JOIN SalesLT.Customer AS c ON SOH.CustomerID = c.CustomerID) AS CustomerSales(CompanyContact, SalesAmount) GROUP BY CompanyContact ORDER BY CompanyContact;
<gh_stars>0 -- phpMyAdmin SQL Dump -- version 4.0.10deb1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Aug 09, 2016 at 11:01 PM -- Server version: 5.5.47-0ubuntu0.14.04.1 -- PHP Version: 5.5.9-1ubuntu4.17 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `pgee` -- -- -------------------------------------------------------- -- -- Table structure for table `admins` -- CREATE TABLE IF NOT EXISTS `admins` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `username` varchar(45) DEFAULT NULL, `password` varchar(60) DEFAULT NULL, `full_name` varchar(60) DEFAULT NULL, `information` varchar(255) DEFAULT NULL, `avatar` varchar(255) NOT NULL, `phone` varchar(45) DEFAULT NULL, `email` varchar(60) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `id_UNIQUE` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; -- -- Dumping data for table `admins` -- INSERT INTO `admins` (`id`, `username`, `password`, `full_name`, `information`, `avatar`, `phone`, `email`) VALUES (1, 'admin', '<PASSWORD>', 'Administrator', 'Administrator', 'https://pixabay.com/static/uploads/photo/2016/03/31/19/58/avatar-1295429_960_720.png', 'null', 'null'); -- -------------------------------------------------------- -- -- Table structure for table `categories` -- CREATE TABLE IF NOT EXISTS `categories` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(45) DEFAULT NULL, `description` varchar(45) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `id_UNIQUE` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `posts` -- CREATE TABLE IF NOT EXISTS `posts` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(255) DEFAULT NULL, `description` varchar(255) DEFAULT NULL, `content` longtext, `image` varchar(255) NOT NULL, `date` varchar(45) DEFAULT NULL, `author_id` int(11) DEFAULT NULL, `category_id` int(11) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `id_UNIQUE` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `posts_images` -- CREATE TABLE IF NOT EXISTS `posts_images` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `posts_id` int(11) DEFAULT NULL, `image` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `id_UNIQUE` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `projects` -- CREATE TABLE IF NOT EXISTS `projects` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(255) DEFAULT NULL, `description` varchar(255) DEFAULT NULL, `content` longtext, `image` varchar(255) NOT NULL, `date` varchar(45) DEFAULT NULL, `author_id` int(11) DEFAULT NULL, `category_id` int(11) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `id_UNIQUE` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `projects_images` -- CREATE TABLE IF NOT EXISTS `projects_images` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `projects_id` int(11) DEFAULT NULL, `image` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `id_UNIQUE` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `school` -- CREATE TABLE IF NOT EXISTS `school` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(255) DEFAULT NULL, `description` varchar(255) DEFAULT NULL, `content` longtext, `image` varchar(255) NOT NULL, `date` varchar(45) DEFAULT NULL, `author_id` int(11) DEFAULT NULL, `category_id` int(11) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `id_UNIQUE` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `school_images` -- CREATE TABLE IF NOT EXISTS `school_images` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `posts_id` int(11) DEFAULT NULL, `image` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `id_UNIQUE` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE IF NOT EXISTS `users` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `username` varchar(45) DEFAULT NULL, `password` varchar(60) DEFAULT NULL, `full_name` varchar(60) DEFAULT NULL, `interests` varchar(255) DEFAULT NULL, `phone` varchar(45) DEFAULT NULL, `email` varchar(60) DEFAULT NULL, `address` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `id_UNIQUE` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; /*!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 */;
CREATE DATABASE Bamazon; USE Bamazon; CREATE TABLE Products (ItemID int AUTO_INCREMENT, ProductName varchar(50) NOT NULL, DepartmentName varchar(50) NOT NULL, Price varchar(30) NOT NULL, StockQuantity int NOT NULL, PRIMARY KEY(ItemID) ); describe Products; select * from Products; INSERT INTO Products (ProductName, DepartmentName, Price, StockQuantity) VALUES ("BMW E60 M5 Carbon Fiber Side Skirts ", "Automotive", 495.95, 50); INSERT INTO Products (ProductName, DepartmentName, Price, StockQuantity) VALUES ("Slow drip charger 120V", "Automotive", 99.99, 54); INSERT INTO Products (ProductName, DepartmentName, Price, StockQuantity) VALUES ("iGloo Cooler", "Home, Garden & Tools", 129.45, 12); INSERT INTO Products (ProductName, DepartmentName, Price, StockQuantity) VALUES ("Nintendo Switch", "Toys, Gaming", 299.99, 25); INSERT INTO Products (ProductName, DepartmentName, Price, StockQuantity) VALUES ("Monopoly - The Disney Edition", "Toys, Kids & Baby", 29.99, 25); INSERT INTO Products (ProductName, DepartmentName, Price, StockQuantity) VALUES ("Tiger Onesie", "Clothing, Shoes & Jewelry", 49.99, 9); INSERT INTO Products (ProductName, DepartmentName, Price, StockQuantity) VALUES ("<NAME>", "Clothing, Shoes & Jewelry", 99.95, 4); INSERT INTO Products (ProductName, DepartmentName, Price, StockQuantity) VALUES ("Gold Fish 5gal Bucket", "Grocery", 9.99, 1000); INSERT INTO Products (ProductName, DepartmentName, Price, StockQuantity) VALUES ("XBox 1X 1TB", "Electronics & Computers", 299.99, 23); INSERT INTO Products (ProductName, DepartmentName, Price, StockQuantity) VALUES ("Apple iWatch", "Electronics & Computers", 495.95, 135); select * from Products;
<filename>SQL/evaluation/evaluation_northwind.sql<gh_stars>1-10 -- 1 Liste des contacts français -- On travail sur la table Custommers, on affiche la liste des contacts français SELECT customers.CompanyName AS Société, customers.ContactName AS Contact, customers.ContactTitle AS Fonction, customers.Phone AS Téléphone FROM customers WHERE customers.Country LIKE '%France%' ; -- 2 Produits vendus par le fournisseur "Exotic liquids" -- J'ai choisi de faire un INNER JOIN entre les tables Products et Suppliers pour pouvoir mettre une condition WHERE qui porte sur le nom de la companie -- et ne pas avoir besoin de retrouver son id SELECT products.ProductName AS Produit, products.UnitPrice AS Prix FROM products INNER JOIN suppliers ON products.SupplierID=suppliers.SupplierID WHERE suppliers.CompanyName = 'Exotic Liquids' ; -- 3 Nombre de produits vendus par les fournisseurs Français dans l'ordre décroissant -- WHERE puis GROUP BY puis ORDER BY, ordre à respecter SELECT suppliers.CompanyName AS Fournisseur, COUNT(products.ProductID) AS Nbre_Produit FROM suppliers INNER JOIN products ON suppliers.SupplierID=products.SupplierID WHERE suppliers.Country LIKE '%France%' GROUP BY(suppliers.CompanyName) ORDER BY Nbre_Produit DESC ; -- 4 Liste des clients Français avec plus de 10 commandes -- On travaille sur l'intersection de 2 tables, on met nos condition, on compte et on groupe, condition sur le groupe SELECT customers.CompanyName AS CLIENT, COUNT(orders.OrderID) AS Nbre_Commandes FROM customers INNER JOIN orders ON customers.CustomerID=orders.CustomerID WHERE customers.Country LIKE '%France%' GROUP BY(customers.CompanyName) HAVING Nbre_Commandes >10 ; -- 5 Liste des clients ayant un chiffre d'affaires > 30 000 -- On fait la somme sur une opération entre 2 colonnes, GROUP BY sur 2 colonnes car sinon la taille des différents éléments dans le select n'est plus -- compatible (plus de lignes pays que de lignes autres), condition sur le CA, classement par ordre decroissant SELECT customers.CompanyName AS Clients, SUM(`order details`.UnitPrice * `order details`.Quantity) AS CA, customers.Country AS Pays FROM customers INNER JOIN orders ON customers.CustomerID=orders.CustomerID INNER JOIN `order details` ON orders.OrderID=`order details`.OrderID GROUP BY Clients, Pays HAVING CA>30000 ORDER BY CA DESC ; -- 6 Liste des pays dont les clients ont passé commande de produits fournis par "Exotic Liquids" -- On fait en sorte de relier les tables Customers et Suppliers, on affiche les pays distincts qui ont commandés chez "Exotic Liquids", on classe par ordre alphabétique -- '' sert a forcer les choses, sert ici a utiliser order details comme table malgrès l'espace SELECT DISTINCT customers.Country AS Pays FROM customers INNER JOIN orders ON customers.CustomerID=orders.CustomerID INNER JOIN `order details` ON orders.OrderID=`order details`.OrderID INNER JOIN products ON `order details`.ProductID=products.ProductID INNER JOIN suppliers ON products.SupplierID=suppliers.SupplierID WHERE suppliers.CompanyName LIKE '%Exotic Liquids%' ORDER BY Pays ; -- 7 Montant des ventes de 1997 -- Je ne suis pas surt de comprendre pourquoi la condition WHERE n'a pas besoin d'être dans une sous requête... J'ai essayé d'écrire la même chose avec une sous requête -- mais je n'ai pas réussi... SELECT SUM(`order details`.UnitPrice * `order details`.Quantity) AS Montant_Ventes_97 FROM orders INNER JOIN `order details` ON orders.OrderID=`order details`.OrderID WHERE YEAR(orders.OrderDate)=1997 ; -- Montant des ventes de 1997 mois par mois -- Il a suffit de modifier légèrement la requête précédente, notons l'usage des fonction YEAR() et MONTH(), bien pratiques ! SELECT MONTH(orders.OrderDate) AS Mois_97, SUM(`order details`.UnitPrice * `order details`.Quantity) AS Montant_Ventes_97 FROM orders INNER JOIN `order details` ON orders.OrderID=`order details`.OrderID WHERE YEAR(orders.OrderDate)=1997 GROUP BY MONTH(orders.OrderDate) ; -- 9 Depuis quelle date le client "Du monde entier" n'a plus commandé ? -- La fonction DATE() extrait la date, MAX() sélectionne la plus grande, la dernière donc SELECT MAX(date(orders.OrderDate)) AS Dernière_commande_Du_Monde_Entier FROM orders INNER JOIN customers ON orders.CustomerID=customers.CustomerID WHERE customers.CompanyName LIKE '%Du monde entier%' ; -- 10 Quel est le délai moyen de livraison en jours ? -- Ici j'ai imbriqué une sous requête car j'avais un message d'erreur si j'essayais d'utiliser la fonction ROUND() directement -- dans le 1er SELECT SELECT ROUND(Délai_Moyen_Livraison_Jours) AS Délai_Moyen_Livraison_Jours FROM( SELECT AVG(DATEDIFF(orders.ShippedDate, orders.OrderDate)) AS Délai_Moyen_Livraison_Jours FROM orders ) AS Moy ;
<gh_stars>1-10 ALTER TABLE [dbo].[ZFC_SECURITY_FUNCT_RLS] ADD CONSTRAINT [FK_ZFC_FUNCT_PER_RLS_ZFC_RLS_SE] FOREIGN KEY ([RLS_SE_SEQ_ID]) REFERENCES [dbo].[ZFC_SECURITY_RLS_SE] ([RLS_SE_SEQ_ID]) ON DELETE CASCADE ON UPDATE CASCADE;
<filename>src/test/resources/sql/begin/fe6d4df1.sql<gh_stars>10-100 -- file:plpgsql.sql ln:2013 expect:false begin open c1(20, param1 := 21)
<filename>SQL/627. SwapSalary.sql<gh_stars>100-1000 # We want to swap the sex-column in the salary table # Therefor we do an update-query on the salary table and set the sex-column. # Now we enter the case-block, which looks at the sex-value for each altered row. # if it matches 'm' we will set it to 'f'. otherwise it will be set to 'm'. update salary set sex = case sex when 'm' then 'f' else 'm' end;
drop database if exists lab3; create database lab3; use lab3; CREATE TABLE `rol` ( `idrol` int(11) NOT NULL, `rol` varchar(45) DEFAULT NULL, PRIMARY KEY (`idrol`) ); create TABLE `usuario` ( `idusuario` int(11) NOT NULL AUTO_INCREMENT, `usuario` varchar(45) DEFAULT NULL, `contraseña` varchar(45) DEFAULT NULL, `correo` varchar(45) DEFAULT NULL, `nombre` varchar(45) DEFAULT NULL, `apellido_paterno` varchar(45) DEFAULT NULL, `apellido_materno` varchar(45) DEFAULT NULL, `telefono` varchar(45) DEFAULT NULL, `idrol` int(11) DEFAULT NULL, PRIMARY KEY (`idusuario`), KEY `fk_rol_idx` (`idrol`), CONSTRAINT `fk_rol` FOREIGN KEY (`idrol`) REFERENCES `rol` (`idrol`) );
<reponame>sagarmahapatro/rentabook --liquibase formatted sql --changeset rent_a_book:release_0.0.2.add_user_role_table.sql insert into user(firstName,lastName,email,password) values('appadmin','app!@#','<EMAIL>','<PASSWORD>'); insert into role(role_name,role_description) values('superuser','user having all powers'); insert into role(role_name,role_description) values('admin','user manage app'); insert into role(role_name,role_description) values('customer','user use app'); insert into user_role(user_id,role_id)values((select id from user where firstName = 'appadmin'),(select id from role where role_name = 'superuser')); insert into user_role(user_id,role_id)values((select id from user where firstName = 'appadmin'),(select id from role where role_name = 'admin'));
use accompany; create table user( user_id int primary key not null auto_increment, user_name varchar(100), email varchar(100) not null unique, phone_number varchar(20) not null unique, head_portrait_path varchar(100), user_password varchar(100), motto varchar(100)); create table user_message( user_id int, send_time datetime, content varchar(1000), audio_path varchar(100) ); create table robot_message( user_id int, robot_id int, send_time datetime, content varchar(1000), audio_path varchar(100) ); create table robot( robot_id int primary key not null auto_increment, robot_name varchar(100), robot_setting varchar(1000) );
CREATE TABLE IF NOT EXISTS %AUDIT_TABLE_NAME% ( version BIGINT NOT NULL, -- guaranteed to be contiguous and strictly increasing who VARCHAR(%USER_UID_LEN%) NOT NULL, at_time TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), PRIMARY KEY (version) ) %TABLESPACE%; DO $$ BEGIN IF NOT EXISTS (SELECT 1 FROM pg_tables WHERE tablename = '%AUDIT_TABLE_NAME%' AND schemaname = 'public' AND tableowner = '%USER%') THEN ALTER TABLE %AUDIT_TABLE_NAME% OWNER TO %USER%; END IF; IF NOT EXISTS (SELECT 1 FROM pg_indexes WHERE schemaname = 'public' and indexname = '%AUDIT_TABLE_NAME%_at_time') THEN CREATE INDEX %AUDIT_TABLE_NAME%_at_time ON %AUDIT_TABLE_NAME% (at_time) %TABLESPACE%; END IF; END$$; CREATE TABLE IF NOT EXISTS %TABLE_NAME% ( version BIGINT NOT NULL REFERENCES %AUDIT_TABLE_NAME% (version), -- guaranteed to be contiguous and strictly increasing subversion BIGINT NOT NULL, -- guaranteed to be contiguous and strictly increasing within a version what VARCHAR(%OPERATION_LEN%) NOT NULL, aux BYTEA NOT NULL, PRIMARY KEY (version, subversion) ) %TABLESPACE%; DO $$ BEGIN IF NOT EXISTS (SELECT 1 FROM pg_tables WHERE tablename = '%TABLE_NAME%' AND schemaname = 'public' AND tableowner = '%USER%') THEN ALTER TABLE %TABLE_NAME% OWNER TO %USER%; END IF; END$$;
CREATE SEQUENCE "SQ_MEDIA_ID" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 3781669 NOCACHE NOORDER NOCYCLE
# --- !Ups INSERT INTO user (name,email,password,salt,created) VALUES ('alice','<EMAIL>','password','salt','2014-01-01 00:00:00'); INSERT INTO user (name,email,password,salt,created) VALUES ('ben','<EMAIL>','password','salt','2014-01-01 00:00:00'); INSERT INTO user (name,email,password,salt,created) VALUES ('carl','<EMAIL>','password','salt','2014-01-01 00:00:00'); INSERT INTO user (name,email,password,salt,created) VALUES ('danielle','<EMAIL>','password','salt','2014-01-01 00:00:00'); INSERT INTO user (name,email,password,salt,created) VALUES ('earl','<EMAIL>','password','salt','2014-01-01 00:00:00'); INSERT INTO user (name,email,password,salt,created) VALUES ('fred','<EMAIL>','password','salt','2014-01-01 00:00:00'); INSERT INTO user (name,email,password,salt,created) VALUES ('gina','<EMAIL>','password','salt','2014-01-01 00:00:00'); INSERT INTO user (name,email,password,salt,created) VALUES ('harry','<EMAIL>','password','salt','2014-01-01 00:00:00'); # --- !Downs DELETE FROM user;
BEGIN SET plhql.onerror = SETERROR; HOST 'abcd'; IF HOSTCODE <> 0 THEN PRINT 'Correct'; END IF; EXCEPTION WHEN OTHERS THEN PRINT 'FAILED'; END
# MY SQL SCRIPT TO INITIALISE THE LOG AND SFN DB'S ON THE MY SQL SERVER CREATE DATABASE IF NOT EXISTS sfn_database; CREATE DATABASE IF NOT EXISTS log_database;
select xmlelement("other_attrs", xmlelement("parsing_user_id", parsing_user_id)).getClobVal() other from f
create extension if not exists pg_trgm; create index repository_name_idx on repository using gin (name gin_trgm_ops); drop function if exists get_all_repositories(boolean); drop function if exists get_org_repositories(uuid, text, boolean); drop function if exists get_repositories_by_kind(int, boolean); drop function if exists get_user_repositories(uuid, boolean); ---- create above / drop below ---- drop index if exists repository_name_idx;
DO $$ DECLARE identity_id1 integer; DECLARE identity_id2 integer; DECLARE identity_id3 integer; DECLARE thread_id1 integer; DECLARE comment_id1 integer; DECLARE comment_id3 integer; BEGIN WITH t1 as( DELETE FROM comment WHERE thread_id = (SELECT id FROM thread WHERE client_id = 'demo') ), t2 as ( DELETE FROM identity WHERE id IN (SELECT identity_id FROM comment WHERE thread_id = (SELECT id FROM thread WHERE client_id = 'demo')) ) DELETE FROM thread WHERE client_id = 'demo' ; INSERT INTO identity VALUES (nextval('identity_id_seq'), now(), '{"remote_addrs": ["172.17.42.1"]}') RETURNING id INTO identity_id1; INSERT INTO identity VALUES (nextval('identity_id_seq'), now(), '{"names": ["joe"], "remote_addrs": ["172.17.42.1"]}') RETURNING id INTO identity_id2; INSERT INTO identity VALUES (nextval('identity_id_seq'), now(), '{"names": ["claire"], "remote_addrs": ["172.17.42.1"]}') RETURNING id INTO identity_id3; INSERT INTO thread VALUES (nextval('thread_id_seq'), 'demo', now(), '{}') RETURNING id INTO thread_id1; INSERT INTO comment VALUES (nextval('comment_id_seq'), identity_id2, thread_id1, NULL, NULL, now(), now(), 'Does it do markdown?', '{"hash": "80d635ccd165", "author": "joe", "remote_addr": "172.17.42.1"}') RETURNING id INTO comment_id1; INSERT INTO comment VALUES (nextval('comment_id_seq'), identity_id1, thread_id1, comment_id1, NULL, now(), now(), '> Does it *do markdown?* It **sure** **[does](https://pg-discuss.readthedocs.org/en/latest/features.html#pluggable-comment-renderer)!**', '{"hash": "80d635ccd111", "author": "claire", "remote_addr": "172.17.42.1"}'); INSERT INTO comment VALUES (nextval('comment_id_seq'), identity_id2, thread_id1, NULL, NULL, now(), now(), 'But how does it handle unicode?', '{"hash": "80d635ccd165", "author": "joe", "remote_addr": "172.17.42.1"}') RETURNING id INTO comment_id3; INSERT INTO comment VALUES (nextval('comment_id_seq'), identity_id1, thread_id1, comment_id3, NULL, now(), now(), '# very n̴̩͙̮i̴̧̟̮c̷̤ę̶̨̩l̶͕͕͍y̶̫̤̤ ❀✌❃', '{"hash": "80d635ccd111", "author": "claire", "remote_addr": "172.17.42.1"}'); INSERT INTO comment VALUES (nextval('comment_id_seq'), identity_id3, thread_id1, NULL, NULL, now(), now(), 'Code? ``` from random import randint def roll(): print(randint(1,6)) if __name__ == ''''__main__'''': roll() ```', '{"hash": "80d635ccd000", "remote_addr": "172.17.42.1"}'); END$$
-- upgrade -- ALTER TABLE "clinic" ADD "drug_license" VARCHAR(1000); ALTER TABLE "clinic" ADD "gst_percentage" DOUBLE PRECISION NOT NULL DEFAULT 0; -- downgrade -- ALTER TABLE "clinic" DROP COLUMN "drug_license"; ALTER TABLE "clinic" DROP COLUMN "gst_percentage";
-- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Servidor: 127.0.0.1:3306 -- Tiempo de generación: 23-01-2021 a las 13:44:10 -- Versión del servidor: 5.7.31 -- Versión de PHP: 7.3.21 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 */; -- -- Base de datos: `angular` -- -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `users` -- DROP TABLE IF EXISTS `users`; CREATE TABLE IF NOT EXISTS `users` ( `id` int(4) NOT NULL, `user` varchar(20) NOT NULL, `pass` varchar(20) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='tabla para ejercicio de claro '; -- -- Volcado de datos para la tabla `users` -- INSERT INTO `users` (`id`, `user`, `pass`) VALUES (3, '<EMAIL>', '<PASSWORD>'), (4, '<EMAIL>', '987654321'), (3, '<EMAIL>', '<PASSWORD>'), (4, '<EMAIL>', '<PASSWORD>'); 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/2-insert-dandelion-sql-v2.sql INSERT INTO schedule_status (id, name) VALUES (NULL, 'Confirmed'), (NULL, 'Confirmed (Edited)'); INSERT INTO schedule_status (id, name) VALUES (NULL, 'Cancelled'), (NULL, 'Done');
-- -- Database: `pmb` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `desa` -- CREATE TABLE `desa` ( `NO` varchar(20) NOT NULL, `ID_DESA` varchar(20) NOT NULL, `DES` varchar(20) NOT NULL, `ID_KECAMATAN` varchar(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `desa` -- INSERT INTO `desa` (`NO`, `ID_DESA`, `DES`, `ID_KECAMATAN`) VALUES ('1', 'DS01', 'Klesem', 'KC01'), ('2', 'DS02', 'Bodas', 'KC01'), ('3', 'DS03', 'Gembong', 'KC01'), ('4', 'DS04', 'Sukoharjo', 'KC01'), ('5', 'DS05', '<NAME>', 'KC01'), ('6', 'DS06', 'Bubak', 'KC01'), ('7', 'DS07', '<NAME>', 'KC01'), ('8', 'DS08', 'Luragung', 'KC01'), ('9', 'DS09', 'Kandangserang', 'KC01'), ('10', 'DS10', 'Wangkelang', 'KC01'), ('100', 'DS100', 'Kalijoyo', 'KC08'), ('101', 'DS101', 'Wonorejo', 'KC08'), ('102', 'DS102', '<NAME>', 'KC08'), ('103', 'DS103', 'Kutorojo', 'KC08'), ('104', 'DS104', 'Kajen', 'KC08'), ('105', 'DS105', 'Nyamok', 'KC08'), ('106', 'DS106', 'Tanjung Kulon', 'KC08'), ('107', 'DS107', '<NAME>', 'KC08'), ('108', 'DS108', 'Gejig', 'KC08'), ('109', 'DS109', '<NAME>', 'KC08'), ('11', 'DS11', 'Lambur', 'KC01'), ('110', 'DS110', 'Sangkanjoyo', 'KC08'), ('111', 'DS111', 'Salit', 'KC08'), ('112', 'DS112', 'Sambiroto', 'KC08'), ('113', 'DS113', 'Rowolaku', 'KC08'), ('114', 'DS114', 'Windurejo', 'KC09'), ('115', 'DS115', '<NAME>', 'KC09'), ('116', 'DS116', 'Brondang', 'KC09'), ('117', 'DS117', 'Podosari', 'KC09'), ('118', 'DS118', 'Kwasen', 'KC09'), ('119', 'DS119', 'Langensari', 'KC09'), ('12', 'DS12', 'Tajur', 'KC01'), ('120', 'DS120', 'Jagung', 'KC09'), ('121', 'DS121', '<NAME>', 'KC09'), ('122', 'DS122', 'Karangrejo', 'KC09'), ('123', 'DS123', 'karyomukti', 'KC09'), ('124', 'DS124', 'Kesesi', 'KC09'), ('125', 'DS125', 'Srinahan', 'KC09'), ('126', 'DS126', 'Kaibahan', 'KC09'), ('127', 'DS127', '<NAME>', 'KC09'), ('128', 'DS128', 'Krandon', 'KC09'), ('129', 'DS129', 'Ponolawen', 'KC09'), ('13', 'DS13', 'Trajumas', 'KC01'), ('130', 'DS130', 'Kalimade', 'KC09'), ('131', 'DS131', 'Sidomulyo', 'KC09'), ('132', 'DS132', 'Sukorejo', 'KC09'), ('133', 'DS133', 'Sidosari', 'KC09'), ('134', 'DS134', 'Mulyorejo', 'KC09'), ('135', 'DS135', 'Pantirejo', 'KC09'), ('136', 'DS136', 'Kwigaran', 'KC09'), ('137', 'DS137', '<NAME>', 'KC10'), ('138', 'DS138', 'Mrican', 'KC10'), ('139', 'DS139', 'Bulaksari', 'KC10'), ('14', 'DS14', '<NAME>', 'KC01'), ('140', 'DS140', '<NAME>', 'KC10'), ('141', 'DS141', '<NAME>', 'KC10'), ('142', 'DS142', 'Kalijambe', 'KC10'), ('143', 'DS143', 'Purworejo', 'KC10'), ('144', 'DS144', 'Kedungjaran', 'KC10'), ('145', 'DS145', 'Klunjukan', 'KC10'), ('146', 'DS146', '<NAME>', 'KC10'), ('147', 'DS147', 'Purwodadi', 'KC10'), ('148', 'DS148', 'Bul<NAME>', 'KC10'), ('149', 'DS149', 'Tegal Suruh', 'KC10'), ('15', 'DS15', 'Werdi', 'KC02'), ('150', 'DS150', 'K<NAME>', 'KC10'), ('151', 'DS151', 'Sijeruk', 'KC10'), ('152', 'DS152', 'Sragi', 'KC10'), ('153', 'DS153', 'Tegalontar', 'KC10'), ('154', 'DS154', 'Mejasem', 'KC11'), ('155', 'DS155', 'Wonosari', 'KC11'), ('156', 'DS156', 'Tengeng Wetan', 'KC11'), ('157', 'DS157', 'Tunjungsari', 'KC11'), ('158', 'DS158', 'B<NAME>', 'KC11'), ('159', 'DS159', 'Pait', 'KC11'), ('16', 'DS16', 'Winduaji', 'KC02'), ('160', 'DS160', 'Tengeng Kulon', 'KC11'), ('161', 'DS161', 'Rembun', 'KC11'), ('162', 'DS162', 'Yosorejo', 'KC11'), ('163', 'DS163', 'Siwalan', 'KC11'), ('164', 'DS164', '<NAME>', 'KC11'), ('165', 'DS165', 'Depok', 'KC11'), ('166', 'DS166', 'Blacanan', 'KC11'), ('167', 'DS167', 'Bukur', 'KC12'), ('168', 'DS168', 'SM Jomblang Bogo', 'KC12'), ('169', 'DS169', '<NAME>', 'KC12'), ('17', 'DS17', 'Krandegan', 'KC02'), ('170', 'DS170', '<NAME>', 'KC12'), ('171', 'DS171', '<NAME>', 'KC12'), ('172', 'DS172', '<NAME>', 'KC12'), ('173', 'DS173', '<NAME>', 'KC12'), ('174', 'DS174', 'Duwet', 'KC12'), ('175', 'DS175', 'Ketitang Kidul', 'KC12'), ('176', 'DS176', 'Menjangan', 'KC12'), ('177', 'DS177', 'Ketitang Lor', 'KC12'), ('178', 'DS178', 'Rejosari', 'KC12'), ('179', 'DS179', 'Bojong Lor', 'KC12'), ('18', 'DS18', 'Lumeneng', 'KC02'), ('180', 'DS180', '<NAME>', 'KC12'), ('181', 'DS181', 'Wiroditan', '182'), ('182', 'DS182', 'Kemasan', 'KC12'), ('183', 'DS183', 'Jajarwayang', 'KC12'), ('184', 'DS184', 'Babalan Lor', 'KC12'), ('185', 'DS185', 'Babalan Kidul', 'KC12'), ('186', 'DS186', 'Karangsari', 'KC12'), ('187', 'DS187', 'Sembung Jambu', 'KC12'), ('188', 'DS188', 'Kalipancur', 'KC12'), ('189', 'DS189', '<NAME>', 'KC13'), ('19', 'DS19', 'Tanggeran', 'KC02'), ('190', 'DS190', 'Sastrodirjan', 'KC13'), ('191', 'DS191', '<NAME>', 'KC13'), ('192', 'DS192', '<NAME>', 'KC13'), ('193', 'DS193', 'Kwagen', 'KC13'), ('194', 'DS194', 'Getas', 'KC13'), ('195', 'DS195', 'Rowokkembu', 'KC13'), ('196', 'DS196', 'Wonopringgo', 'KC13'), ('197', 'DS197', 'Sampih', 'KC13'), ('198', 'DS198', 'Gondang', 'KC13'), ('199', 'DS199', 'Wonorejo', 'KC13'), ('20', 'DS20', 'Kaliboja', 'KC02'), ('200', 'DS200', '<NAME>', 'KC13'), ('201', 'DS201', '<NAME>', 'KC13'), ('202', 'DS202', 'Surobayan', 'KC13'), ('203', 'DS203', '<NAME>', 'KC14'), ('204', 'DS204', 'Langkap', 'KC14'), ('205', 'DS205', 'Pejomblangan', 'KC14'), ('206', 'DS206', 'Tosaran', 'KC14'), ('207', 'DS207', '<NAME>', 'KC14'), ('208', 'DS208', '<NAME>', 'KC14'), ('209', 'DS209', 'Kedungwuni Timur', 'KC14'), ('21', 'DS21', 'Kaliombo', 'KC02'), ('210', 'DS210', 'Podo', 'KC14'), ('211', 'DS211', 'Kwayangan', 'KC14'), ('212', 'DS212', 'Proto', 'KC14'), ('213', 'DS213', 'Salakbrojo', 'KC14'), ('214', 'DS214', 'Ambokembng', 'KC14'), ('215', 'DS215', 'Pekajangan', 'KC14'), ('216', 'DS216', 'Tangkil Tengah', 'KC14'), ('217', 'DS217', 'Tangkil Kulon', 'KC14'), ('218', 'DS218', 'Karang Dowo', 'KC14'), ('219', 'DS219', 'Bugangan', 'KC14'), ('22', 'DS22', 'Botosari', 'KC02'), ('220', 'DS220', 'Rengas', 'KC14'), ('221', 'DS221', 'Kedungwuni Barat', 'KC14'), ('222', 'DS222', 'Kalilembu', 'KC15'), ('223', 'DS223', 'Kaligawe', 'KC15'), ('224', 'DS224', 'Kedungkebo', 'KC15'), ('225', 'DS225', 'Pagumengan Mas', 'KC15'), ('226', 'DS226', 'Logandeng', 'KC15'), ('227', 'DS227', 'Jrebeng Kembang', 'KC15'), ('228', 'DS228', 'KB Rowo Pucang', 'KC15'), ('229', 'DS229', 'Pangkah', 'KC15'), ('23', 'DS23', 'Sawangan', 'KC02'), ('230', 'DS230', 'Karangdadap', 'KC15'), ('231', 'DS231', 'Kebonsari', 'KC15'), ('232', 'DS232', 'Pegandon', 'KC15'), ('233', 'DS233', 'Coprayan', 'KC16'), ('234', 'DS234', 'Sapugarut', 'KC16'), ('235', 'DS235', 'Wonoyoso', 'KC16'), ('236', 'DS236', 'Bligo', 'KC16'), ('237', 'DS237', 'Pakumbulan', 'KC16'), ('238', 'DS238', 'Watusalam', 'KC16'), ('239', 'DS239', '<NAME>', 'KC16'), ('24', 'DS24', 'Paninggaran', 'KC02'), ('240', 'DS240', '<NAME>', 'KC16'), ('241', 'DS241', 'Kertijayan', 'KC16'), ('242', 'DS242', 'Pawedan', 'KC16'), ('243', 'DS243', 'Wuled', 'KC17'), ('244', 'DS244', 'Ngalian', 'KC17'), ('245', 'DS245', 'Pandanarum', 'KC17'), ('246', 'DS246', 'Karanganyar', 'KC17'), ('247', 'DS247', 'Slirejo', 'KC17'), ('148', 'DS248', 'Pucung', 'KC17'), ('249', 'DS249', 'Sidorejo', 'KC17'), ('25', 'DS25', 'Domiyang', 'KC02'), ('250', 'DS250', 'Curug', 'KC17'), ('251', 'DS251', 'Samborejo', 'KC17'), ('252', 'DS252', 'Tanjung', 'KC17'), ('253', 'DS253', 'Dadirejo', 'KC17'), ('254', 'DS254', 'Pacar', 'KC17'), ('255', 'DS255', 'Karangjompo', 'KC17'), ('256', 'DS256', 'Tegaldowo', 'KC17'), ('257', 'DS257', 'Mulyorejo', 'KC17'), ('258', 'DS258', 'Jeruksari', 'KC17'), ('259', 'DS259', 'Kadipaten', 'KC18'), ('26', 'DS26', 'Notogiwang', 'KC02'), ('260', 'DS260', 'Delegukang', 'KC18'), ('261', 'DS261', 'Karangjati', 'KC18'), ('262', 'DS262', 'Petukanan', 'KC18'), ('263', 'DS263', 'Wiradesa', 'KC18'), ('264', 'DS264', '<NAME>', 'KC18'), ('265', 'DS265', 'Bondansari', 'KC18'), ('266', 'DS266', '<NAME>', 'KC18'), ('267', 'DS267', 'Kampil', 'KC18'), ('268', 'DS268', 'Gumawang', 'KC18'), ('269', 'DS269', 'Kepatihan', 'KC18'), ('27', 'DS27', 'Lambanggelun', 'KC02'), ('270', 'DS270', 'Mayangan', 'KC18'), ('271', 'DS271', 'Pekuncen', 'KC18'), ('272', 'DS272', 'Bener', 'KC18'), ('273', 'DS273', 'Kemplong', 'KC18'), ('274', 'DS274', 'Kauman', 'KC18'), ('275', 'DS275', 'Werdi', 'KC19'), ('276', 'DS276', 'Rowoyoso', 'KC19'), ('277', 'DS277', 'Bebel', 'KC19'), ('278', 'DS278', '<NAME>', 'KC19'), ('279', 'DS279', 'Sijambe', 'KC19'), ('28', 'DS28', 'Tenogo', 'KC02'), ('280', 'DS280', 'Pesanggrahan', 'KC19'), ('281', 'DS281', 'Pecakaran', 'KC19'), ('282', 'DS282', 'Api-Api', 'KC19'), ('283', 'DS283', '<NAME>', 'KC19'), ('284', 'DS284', 'Tratebang', 'KC19'), ('285', 'DS285', 'Semut', 'KC19'), ('29', 'DS29', 'Pedagung', 'KC02'), ('30', 'DS30', '<NAME>', 'KC03'), ('31', 'DS31', 'Pamutih', 'KC03'), ('32', 'DS32', 'Depok', 'KC03'), ('33', 'DS33', 'Wonosido', 'KC03'), ('34', 'DS34', 'Timbangsari', 'KC03'), ('35', 'DS35', 'Sidomulyo', 'KC03'), ('36', 'DS36', 'Kutorembet', 'KC03'), ('37', 'DS37', 'Lebakbarang', 'KC03'), ('38', 'DS38', 'Kepundutan', 'KC03'), ('39', 'DS39', 'Bantarkulon', 'KC03'), ('40', 'DS40', 'Mendolo', 'KC03'), ('41', 'DS41', 'Sumego', 'KC04'), ('42', 'DS42', 'Songgodadi', 'KC04'), ('43', 'DS43', '<NAME>', 'KC04'), ('44', 'DS44', 'Gumelem', 'KC04'), ('45', 'DS45', 'Tlogohendro', 'KC04'), ('46', 'DS46', 'Yosorejo', 'KC04'), ('47', 'DS47', 'Tlogopakis', 'KC04'), ('48', 'DS48', 'Kasimpar', 'KC04'), ('49', 'DS49', 'Kayupuring', 'KC04'), ('50', 'DS50', 'Mesoyi', 'KC05'), ('51', 'DS51', 'Jolotigo', 'KC05'), ('52', 'DS52', 'Sengare', 'KC05'), ('53', 'DS53', 'Donowangun', 'KC05'), ('54', 'DS54', 'Talun', 'KC05'), ('55', 'DS55', 'Banjarsari', 'KC05'), ('56', 'DS56', 'Kalirejo', 'KC05'), ('57', 'DS57', 'Batursari', 'KC05'), ('58', 'DS58', 'Karangasem', 'KC05'), ('59', 'DS59', 'Krompeng', 'KC05'), ('60', 'DS60', 'Pungangan', 'KC06'), ('61', 'DS61', 'Sidoharjo', 'KC06'), ('62', 'DS62', '<NAME>', 'KC06'), ('63', 'DS63', 'Rogoselo', 'KC06'), ('64', 'DS64', 'Harjosari', 'KC06'), ('65', 'DS65', 'Larikan', 'KC06'), ('66', 'DS66', 'Sawangan', 'KC06'), ('67', 'DS67', 'Dororejo', 'KC06'), ('68', 'DS68', 'Doro', 'KC06'), ('69', 'DS69', 'Randusari', 'KC06'), ('70', 'DS70', 'Kutosari', 'KC06'), ('71', 'DS71', '<NAME>', 'KC06'), ('72', 'DS72', 'Kalimojosari', 'KC06'), ('73', 'DS73', 'Bligorejo', 'KC06'), ('74', 'DS74', 'Gutomo', 'KC07'), ('75', 'DS75', 'Limbangan', 'KC07'), ('76', 'DS76', 'Karanggondang', 'KC07'), ('77', 'DS77', 'Lolong', 'KC07'), ('78', 'DS78', 'Pedawang', 'KC07'), ('79', 'DS79', 'Pododadi', 'KC07'), ('80', 'DS80', '<NAME>', 'KC07'), ('81', 'DS81', 'Karangsari', 'KC07'), ('82', 'DS82', 'Kulu', 'KC07'), ('83', 'DS83', 'Banjarejo', 'KC07'), ('84', 'DS84', 'Wonosari', 'KC07'), ('85', 'DS85', 'Sukosari', 'KC07'), ('86', 'DS86', 'Sidomukti', 'KC07'), ('87', 'DS87', 'Kayugeritan', 'KC07'), ('88', 'DS88', 'Kutosari', 'KC07'), ('89', 'DS89', 'Tambakroto', 'KC08'), ('90', 'DS90', 'Kutorejo', 'KC08'), ('91', 'DS91', 'Linggoasri', 'KC08'), ('92', 'DS92', 'Brengkolang', 'KC08'), ('93', 'DS93', 'Pringsurat', 'KC08'), ('94', 'DS94', 'Sukoyoso', 'KC08'), ('95', 'DS95', '<NAME>', 'KC08'), ('96', 'DS96', 'Kajongan', 'KC08'), ('97', 'DS97', 'Pekiringan Ageng', 'KC08'), ('98', 'DS98', 'Gandarum', 'KC08'), ('99', 'DS99', '<NAME>', 'KC08'); -- -------------------------------------------------------- -- -- Struktur dari tabel `kecamatan` -- CREATE TABLE `kecamatan` ( `NO` varchar(20) NOT NULL, `ID_KECAMATAN` varchar(20) NOT NULL, `KECAMATAN` varchar(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `kecamatan` -- INSERT INTO `kecamatan` (`NO`, `ID_KECAMATAN`, `KECAMATAN`) VALUES ('1', 'KC01', 'Kandangserang'), ('2', 'KC02', 'Paninggaran'), ('3', 'KC03', 'Lebakbarang'), ('4', 'KC04', 'Petungkriyono'), ('5', 'KC05', 'Talun'), ('6', 'KC06', 'Doro'), ('7', 'KC07', 'Karanganyar'), ('8', 'KC08', 'Kajen'), ('9', 'KC09', 'Kesesi'), ('10', 'KC10', 'Sragi'), ('11', 'KC11', 'Siwalan'), ('12', 'KC12', 'Bojong'), ('13', 'KC13', 'Wonopringgo'), ('14', 'KC14', 'Kedungwungi'), ('15', 'KC15', 'Karangdadap'), ('16', 'KC16', 'Buaran'), ('17', 'KC17', 'Tirto'), ('18', 'KC18', 'Wiradesa'), ('19', 'KC19', 'Wonokerto'); -- -------------------------------------------------------- -- -- Struktur dari tabel `laporan` -- CREATE TABLE `laporan` ( `NO` varchar(20) NOT NULL, `ID_DESA` varchar(20) NOT NULL, `ID_KECAMATAN` varchar(20) NOT NULL, `OP_BAKU` varchar(20) NOT NULL, `OP_JUMLAH` varchar(20) NOT NULL, `OP_MINGGU1` varchar(20) NOT NULL, `JUMLAH_M1` varchar(20) NOT NULL, `OP_MINGU2` varchar(20) NOT NULL, `JUMLAH_M2` varchar(20) NOT NULL, `OP_MINGUU3` varchar(20) NOT NULL, `JUMLAH_M3` varchar(20) NOT NULL, `TANGGAL_SETOR` varchar(20) NOT NULL, `DENDA_M1` varchar(20) NOT NULL, `JML_DENDA_M1` varchar(20) NOT NULL, `DENDA_M2` varchar(20) NOT NULL, `JML_DENDA_M2` varchar(20) NOT NULL, `DENDA_M3` varchar(20) NOT NULL, `JML_DENDA_M3` varchar(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `laporan` -- INSERT INTO `laporan` (`NO`, `ID_DESA`, `ID_KECAMATAN`, `OP_BAKU`, `OP_JUMLAH`, `OP_MINGGU1`, `JUMLAH_M1`, `OP_MINGU2`, `JUMLAH_M2`, `OP_MINGUU3`, `JUMLAH_M3`, `TANGGAL_SETOR`, `DENDA_M1`, `JML_DENDA_M1`, `DENDA_M2`, `JML_DENDA_M2`, `DENDA_M3`, `JML_DENDA_M3`) VALUES ('1', 'DS01', 'KC01', '1420', '12850379', '1420', '12850379', '0', '0', '1420', '12850379', '21 Mei 2016', '0', '0', '0', '0', '0', '0'), ('2', 'DS02', 'KC01', '1602', '13757648', '1602', '13757648', '0', '0', '1602', '13757648', '12 Mei 2016', '0', '0', '0', '0', '0', '0'), ('3', 'DS03', 'KC01', '3319', '40008790', '3319', '40008790', '0', '0', '3319', '40008790', '26 September 2016', '0', '0', '0', '0', '0', '0'), ('4', 'DS04', 'KC01', '1650', '17967603', '1650', '17967603', '0', '0', '1650', '17967603', '22 September 2016', '0', '0', '0', '0', '0', '0'), ('5', 'DS05', 'KC01', '2864', '45834675', '654', '10997298', '138', '1960270', '792', '12957568', '11 Oktober 2016', '0', '0', '138', '39206', '138', '39206'), ('6', 'DS06', 'KC01', '1317', '20961587', '1317', '20961587', '0', '0', '1317', '20961587', '22 September 2016', '0', '0', '0', '0', '0', '0'), ('7', 'DS07', 'KC01', '2057', '28360839', '2057', '28360839', '0', '0', '2057', '28360839', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('8', 'DS08', 'KC01', '3051', '44880520', '2236', '30888324', '373', '2446669', '2609', '33334993', '14 Oktober 2016', '2', '425', '373', '48930', '375', '49355'), ('9', 'DS09', 'KC01', '1120', '16534617', '1120', '16534617', '0', '0', '1120', '16534617', '22 September 2016', '0', '0', '0', '0', '0', '0'), ('10', 'DS10', 'KC01', '1960', '32025837', '1688', '27618453', '170', '2174245', '1858', '20792698', '14 Oktober 2016', '155', '72549', '170', '43492', '325', '116041'), ('100', 'DS100', 'KC08', '1781', '143476104', '502', '83129429', '0', '0', '502', '83129429', '7 Oktober 2016', '1', '1174', '0', '0', '1', '1174'), ('101', 'DS101', 'KC08', '1316', '41083091', '1316', '41083091', '0', '0', '1316', '41083091', '31 Mei 2016', '0', '0', '0', '0', '0', '0'), ('102', 'DS102', 'KC08', '1407', '35345247', '1407', '35345247', '0', '0', '1.407', '35345247', '27 Seotember 2016', '0', '0', '0', '0', '0', '0'), ('103', 'DS103', 'KC08', '979', '19804570', '165', '3494790', '814', '16409780', '979', '19804570', '11 Oktober 2016', '0', '0', '814', '326212', '814', '326212'), ('104', 'DS104', 'KC08', '1555', '118365723', '1215', '92361712', '12', '1516652', '1227', '93878364', '11 Oktober 2016', '31', '40283', '12', '30334', '43', '60617'), ('105', 'DS105', 'KC08', '1613', '83748827', '974', '60750181', '69', '3908037', '1043', '64658218', '14 Oktober 2016', '54', '56479', '69', '78162', '123', '134641'), ('106', 'DS106', 'KC08', '1549', '51290588', '1157', '39256778', '176', '4808755', '1333', '44065533', '13 Oktober 2016', '24', '8920', '176', '96177', '200', '105097'), ('107', 'DS107', 'KC08', '1561', '54311882', '1.451', '48927089', '1', '52344', '1452', '48979433', '10 Oktober 2016', '18', '19342', '1', '1047', '19', '20389'), ('108', 'DS108', 'KC08', '3313', '138567584', '2922', '116442612', '0', '0', '2922', '116442612', '7 Oktober 2016', '38', '31485', '0', '0', '38', '31485'), ('109', 'DS109', 'KC08', '2940', '94412353', '2520', '84073214', '6', '153488', '2526', '84226702', '14 Oktober 2016', '116', '77109', '6', '3071', '122', '80180'), ('11', 'DS11', 'KC01', '2742', '35727678', '2742', '35727678', '0', '0', '2742', '35727678', '20 Juni 2016', '0', '0', '0', '0', '0', '0'), ('110', 'DS110', 'KC08', '1123', '53096328', '650', '26950640', '9', '375404', '659', '27326044', '13 Oktober 2016', '0', '0', '9', '7508', '9', '7508'), ('111', 'DS111', 'KC08', '1231', '38240527', '1231', '38240527', '0', '0', '1231', '38240527', '31 Agustus 2016', '0', '0', '0', '0', '0', '0'), ('112', 'DS112', 'KC08', '1490', '44118852', '1320', '39825280', '0', '0', '1320', '39825280', '4 Oktober 2016', '117', '75641', '0', '0', '117', '75641'), ('113', 'DS113', 'KC08', '1258', '67074236', '716', '36009696', '38', '2724024', '754', '38733720', '12 Oktober 2016', '0', '0', '38', '54479', '38', '54479'), ('114', 'DS114', 'KC09', '3844', '61480670', '1626', '23753074', '72', '1380473', '1698', '25133547', '10 Oktober 2016', '231', '71892', '72', '27610', '303', '99502'), ('115', 'DS115', 'KC09', '1930', '29307019', '1930', '29307019', '0', '0', '1930', '29307019', '20 September 2016', '0', '0', '0', '0', '0', '0'), ('116', 'DS116', 'KC09', '1575', '25972299', '1423', '23780998', '0', '0', '1423', '23780998', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('117', 'DS117', 'KC09', '2398', '48681745', '1178', '20543673', '70', '1489035', '1248', '22032708', '10 Oktober 2016', '183', '82363', '70', '29778', '253', '112141'), ('118', 'DS118', 'KC09', '2311', '102549336', '1807', '74781635', '62', '1573768', '1869', '76335403', '11 Oktober 2016', '27', '23699', '62', '31476', '89', '55175'), ('119', 'DS119', 'KC09', '1526', '66570401', '645', '31101972', '72', '3693415', '717', '34795387', '11 Oktober 2016', '7', '4641', '72', '73867', '79', '78508'), ('12', 'DS12', 'KC01', '1448', '22939597', '817', '13064004', '311', '1941128', '1128', '15005132', '14 Oktober 2016', '109', '37827', '311', '38822', '420', '76649'), ('120', 'DS120', 'KC09', '1962', '89820341', '941', '46023615', '0', '0', '941', '46023615', '7 Oktober 2016', '168', '131843', '0', '0', '168', '131843'), ('121', 'DS121', 'KC09', '910', '44259659', '525', '28378733', '0', '0', '525', '28278733', '5 Oktober 2016', '34', '32847', '0', '0', '34', '32847'), ('122', 'DS122', 'KC09', '1343', '56591590', '1342', '53795630', '1', '2795960', '1343', '56591590', '13 Oktober 2016', '0', '0', '1', '55919', '1', '55919'), ('123', 'DS123', 'KC09', '1838', '82446204', '1838', '82446204', '0', '0', '1838', '82446204', '21 September 2016', '0', '0', '0', '0', '0', '0'), ('124', 'DS124', 'KC09', '3895', '138033695', '3125', '101458762', '54', '5155155', '3179', '106613917', '13 Oktober 2016', '54', '49639', '54', '103107', '108', '152746'), ('125', 'DS125', 'KC09', '1180', '47715239', '598', '25302727', '103', '3891051', '701', '29193778', '13 Oktober 2016', '44', '35142', '103', '77824', '147', '112966'), ('126', 'DS126', 'KC09', '2096', '90044693', '1052', '48675675', '36', '1191730', '1088', '49867405', '11 Oktober 2016', '34', '43164', '36', '23834', '70', '66998'), ('127', 'DS127', 'KC09', '1046', '34116698', '622', '18979228', '66', '1346599', '688', '20325827', '13 Oktober 2016', '38', '24282', '66', '26931', '104', '51213'), ('128', 'DS128', 'KC09', '2231', '99081150', '1301', '55905423', '10', '8704264', '1311', '64609687', '11 Oktober 2016', '158', '223105', '74', '79491', '232', '302596'), ('129', 'DS129', 'KC09', '2257', '73327330', '2257', '73327330', '0', '0', '2257', '73327330', '22 September 2016', '0', '0', '0', '0', '0', '0'), ('13', 'DS13', 'KC01', '1664', '19939597', '1664', '19939597', '0', '0', '1664', '19939597', '26 September 2016', '0', '0', '0', '0', '0', '0'), ('130', 'DS130', 'KC09', '1394', '52380911', '779', '30500162', '74', '3974584', '853', '34474746', '14 Oktober 2016', '158', '223105', '74', '79491', '232', '302596'), ('131', 'DS131', 'KC09', '1813', '61595137', '1391', '61595137', '0', '0', '1391', '61595137', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('132', 'DS132', 'KC09', '2485', '50326715', '1643', '27357401', '110', '3480020', '1753', '30837421', '13 Oktober 2016', '260', '91171', '110', '69598', '370', '160769'), ('133', 'DS133', 'KC09', '1978', '93260634', '1676', '74502726', '187', '5583152', '1863', '80085878', '11 Oktober 2016', '24', '26367', '187', '111665', '211', '138032'), ('134', 'DS134', 'KC09', '1890', '70837571', '1299', '48734707', '59', '1861778', '1358', '50596485', '13 Oktober 2016', '143', '110456', '59', '37233', '202', '147689'), ('135', 'DS135', 'KC09', '1676', '65952955', '1232', '45904682', '122', '3403372', '1354', '49308054', '13 Oktober 2016', '10', '23245', '122', '68068', '132', '91313'), ('136', 'DS136', 'KC09', '1283', '60334349', '859', '35925513', '0', '0', '859', '35925513', '6 Oktober 2016', '38', '68592', '0', '0', '38', '68592'), ('137', 'DS137', 'KC10', '1121', '36163591', '603', '17722707', '0', '0', '603', '17722707', '29 September 2016', '0', '0', '0', '0', '0', '0'), ('138', 'DS138', 'KC10', '1265', '29885056', '1265', '29885056', '0', '0', '1265', '29885056', '26 September 2016', '0', '0', '0', '0', '0', '0'), ('139', 'DS139', 'KC10', '2843', '84027966', '1631', '39550713', '0', '0', '1631', '39550713', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('14', 'DS14', 'KC01', '1436', '17392300', '955', '11686364', '179', '1960787', '1134', '13647151', '13 Oktober 2016', '82', '18733', '179', '39217', '261', '57950'), ('140', 'DS140', 'KC10', '1652', '52967102', '425', '10929122', '0', '0', '425', '10929122', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('141', 'DS141', 'KC10', '1606', '48400982', '1324', '37746140', '17', '448160', '1341', '38194300', '10 Oktober 2016', '12', '7966', '17', '8964', '29', '16930'), ('142', 'DS142', 'KC10', '2113', '59283598', '859', '27782712', '37', '1556334', '896', '29339046', '14 Oktober 2016', '33', '20189', '37', '31128', '70', '51317'), ('143', 'DS143', 'KC10', '2007', '72347625', '980', '41987325', '281', '6670776', '1261', '48658101', '12 Oktober 2016', '50', '30947', '281', '133412', '332', '164359'), ('144', 'DS144', 'KC10', '1543', '32409103', '1429', '28041019', '0', '0', '1429', '28041019', '7 Oktober 2016', '61', '23563', '0', '0', '61', '23563'), ('145', 'DS145', 'KC10', '1848', '29599530', '494', '7486186', '0', '0', '494', '7486186', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('146', 'DS146', 'KC10', '2921', '81247622', '591', '17571694', '33', '1222830', '624', '18794524', '11 Oktober 2016', '0', '0', '33', '24458', '33', '24458'), ('147', 'DS147', 'KC10', '1230', '29929555', '694', '19226081', '0', '0', '694', '19226081', '5 Oktober 2016', '115', '66726', '0', '0', '115', '66726'), ('148', 'DS148', 'KC10', '2866', '72306142', '2866', '72306142', '0', '0', '2866', '71306142', '26 September 2016', '0', '0', '0', '0', '0', '0'), ('149', 'DS149', 'KC10', '2907', '64075955', '973', '20663185', '1', '14880', '974', '20678065', '10 Oktober 2016', '47', '25601', '1', '298', '48', '25899'), ('15', 'DS15', 'KC02', '1985', '23797610', '214', '2997401', '0', '0', '214', '2997401', '26 September 2016', '0', '0', '0', '0', '0', '0'), ('150', 'DS150', 'KC10', '2725', '61185476', '1364', '28648952', '42', '1040090', '1406', '29689042', '10 Oktober 2016', '0', '0', '42', '20804', '42', '20804'), ('151', 'DS151', 'KC10', '1790', '41518548', '703', '13659311', '54', '1049567', '757', '14708878', '14 Oktober 2016', '0', '0', '54', '20991', '54', '20991'), ('152', 'DS152', 'KC10', '226', '162120638', '2021', '153644303', '42', '1795248', '2063', '155439551', '12 Oktober 2016', '145', '97306', '42', '35904', '187', '133210'), ('153', 'DS153', 'KC10', '2371', '68844359', '1665', '45214330', '7', '133886', '1672', '45348216', '10 Oktober 2016', '161', '133404', '7', '2678', '168', '136082'), ('154', 'DS154', 'KC11', '1018', '17876269', '136', '4089316', '0', '0', '136', '4089316', '29 Juni 2016', '0', '0', '0', '0', '0', '0'), ('155', 'DS155', 'KC11', '1114', '63559308', '260', '15334155', '1', '119680', '261', '15453835', '11 Oktober 2016', '0', '0', '1', '2394', '1', '2394'), ('156', 'DS156', 'KC11', '3287', '78623622', '2312', '56643450', '14', '245095', '2326', '56888545', '10 Oktober 2016', '0', '0', '14', '4904', '14', '4904'), ('157', 'DS157', 'KC11', '1411', '43701731', '679', '21101396', '0', '0', '679', '21101396', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('158', 'DS158', 'KC11', '1877', '65721656', '800', '28051259', '0', '0', '800', '28051259', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('159', 'DS159', 'KC11', '1953', '150326401', '1953', '150326401', '0', '0', '1953', '150326401', '4 Oktober 2016', '162', '164784', '0', '0', '162', '164784'), ('16', 'DS16', 'KC02', '2093', '14301741', '780', '9071198', '0', '0', '780', '9071198', '15 Agustus 2016', '0', '0', '0', '0', '0', '0'), ('160', 'DS160', 'KC11', '1584', '54183570', '1395', '46893874', '24', '1242086', '1419', '48135960', '11 Oktober 2016', '51', '40026', '24', '24843', '75', '64869'), ('161', 'DS161', 'KC11', '2232', '59037566', '572', '13132828', '0', '0', '572', '13132828', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('162', 'DS162', 'KC11', '1902', '82043681', '891', '56331872', '0', '0', '891', '56331872', '6 Oktober 2016', '63', '24412', '0', '0', '63', '24412'), ('163', 'DS163', 'KC11', '1920', '88939466', '1651', '82124921', '0', '0', '1651', '82124921', '6 Oktober 2016', '25', '10172', '0', '0', '25', '10172'), ('164', 'DS164', 'KC11', '1978', '54561322', '200', '5156309', '0', '0', '200', '5156309', '24 Agustus 2016', '0', '0', '0', '0', '0', '0'), ('165', 'DS165', 'KC11', '2312', '44686693', '1045', '18064033', '53', '718480', '1098', '18782513', '10 Oktober 2016', '0', '0', '53', '14368', '53', '14368'), ('166', 'DS166', 'KC11', '1624', '37946668', '1388', '26044135', '0', '0', '1388', '26004135', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('167', 'DS167', 'KC12', '2010', '67936531', '789', '23364594', '0', '0', '789', '23364594', '6 Oktober 2016', '1', '110', '0', '0', '1', '110'), ('168', 'DS168', 'KC12', '3791', '108628411', '3791', '108628411', '0', '0', '3791', '108628411', '4 Oktober 2016', '375', '249400', '0', '0', '375', '249400'), ('169', 'DS169', 'KC12', '1321', '57873518', '1321', '57873518', '0', '0', '1321', '57873518', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('17', 'DS17', 'KC02', '1608', '21285571', '1608', '21285571', '0', '0', '1608', '21285571', '21 September 2016', '0', '0', '0', '0', '0', '0'), ('170', 'DS170', 'KC12', '2514', '74588618', '1750', '53515389', '30', '1680644', '1780', '55196033', '10 Oktober 2016', '142', '61480', '30', '33615', '172', '95095'), ('171', 'DS171', 'KC12', '1542', '47711980', '1542', '47711980', '0', '0', '1542', '47711980', '19 September 2016', '0', '0', '0', '0', '0', '0'), ('172', 'DS172', 'KC12', '1370', '58854994', '663', '28186468', '77', '2671332', '740', '30857800', '13 Oktober 2016', '169', '134046', '77', '53427', '246', '187473'), ('173', 'DS173', 'KC12', '1226', '81837330', '613', '46322015', '0', '0', '613', '46322015', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('174', 'DS174', 'KC12', '922', '42302497', '922', '42302497', '0', '0', '922', '42302497', '27 September 2016', '0', '0', '0', '0', '0', '0'), ('175', 'DS175', 'KC12', '887', '29295206', '226', '9218043', '1', '41796', '227', '9259839', '13 Oktober 2016', '0', '0', '1', '836', '1', '836'), ('176', 'DS176', 'KC12', '1028', '37997437', '562', '20119155', '0', '0', '562', '20119155', '5 Oktober 2016', '28', '19115', '0', '0', '28', '19115'), ('177', 'DS177', 'KC12', '567', '23432463', '567', '23432463', '0', '0', '567', '23432463', '5 April 2016', '0', '0', '0', '0', '0', '0'), ('178', 'DS178', 'KC12', '659', '32878705', '659', '32878705', '0', '0', '659', '32878705', '26 September 2016', '0', '0', '0', '0', '0', '0'), ('179', 'DS179', 'KC12', '1160', '55885961', '660', '31229743', '0', '0', '660', '31229743', '7 Oktober 2016', '47', '44928', '0', '0', '47', '44928'), ('18 ', 'DS18', 'KC02', '2672', '36039244', '1429', '18901694', '0', '0', '1429', '18901694', '14 September 2016', '0', '0', '0', '0', '0', '0'), ('180', 'DS180', 'KC12', '1243', '55157373', '740', '39966256', '39', '1468553', '779', '41434809', '14 Oktober 2016', '118', '147831', '39', '29367', '157', '177198'), ('181', 'DS181', 'KC12', '1411', '57455239', '846', '31390187', '36', '1942307', '882', '33332494', '14 Oktober 2016', '0', '0', '36', '38846', '36', '38846'), ('182', 'DS182', 'KC12', '590', '20061686', '590', '20061686', '0', '0', '590', '20061686', '3 Agustus 2016', '0', '0', '0', '0', '0', '0'), ('183', 'DS183', 'KC12', '1247', '36648961', '475', '13961177', '24', '2469534', '499', '16430711', '11 Oktober 2016', '0', '0', '24', '49391', '24', '49391'), ('184', 'DS184', 'KC12', '1247', '45200184', '844', '31637230', '0', '0', '844', '31637230', '7 Oktober 2016', '346', '224786', '0', '0', '346', '224786'), ('185', 'DS185', 'KC12', '1013', '32454440', '545', '17314353', '85', '3551819', '630', '20866172', '11 Oktober 2016', '0', '0', '85', '71036', '85', '71036'), ('186', 'DS186', 'KC12', '885', '41199921', '325', '17922291', '0', '0', '325', '17922291', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('187', 'DS187', 'KC12', '2239', '72136758', '1171', '32294153', '0', '0', '1171', '32294153', '3 Oktober 2016', '15', '6273', '0', '0', '15', '6273'), ('188', 'DS188', 'KC12', '3753', '119931989', '3753', '119931989', '0', '0', '3753', '119931989', '27 September 2016', '0', '0', '0', '0', '0', '0'), ('189', 'DS189', 'KC13', '1753', '53015502', '1005', '26833863', '0', '0', '1005', '26833863', '6 Oktober 2016', '50', '15498', '0', '0', '5', '15498'), ('19', 'DS19', 'KC02', '1581', '25331742', '1581', '25331742', '0', '0', '1581', '25331742', '2 September 2016', '0', '0', '0', '0', '0', '0'), ('190', 'DS190', 'KC13', '1576', '39306411', '1210', '29198836', '64', '1598333', '1274', '30797169', '15 Oktober 2016', '0', '0', '64', '31970', '64', '31970'), ('191', 'DS191', 'KC13', '2191', '51931592', '1460', '33165741', '0', '0', '1460', '33165741', '27 September 2016', '0', '0', '0', '0', '0', '0'), ('192', 'DS192', 'KC13', '1695', '30586903', '1695', '30586903', '0', '0', '1695', '30586903', '14 September 2016', '0', '0', '0', '0', '0', '0'), ('193', 'DS193', 'KC13', '893', '18646016', '893', '18646016', '0', '0', '893', '18646016', '27 September 2016', '0', '0', '0', '0', '0', '0'), ('194', 'DS194', 'KC13', '1023', '30970423', '1023', '30970423', '0', '0', '1023', '30970423', '27 September 2016', '0', '0', '0', '0', '0', '0'), ('195', 'DS195', 'KC13', '1366', '55608903', '1366', '55608903', '0', '0', '1366', '55608903', '21 September 2016', '0', '0', '0', '0', '0', '0'), ('196', 'DS196', 'KC13', '927', '26817948', '927', '26817948', '0', '0', '927', '26817948', '20 September 2016', '0', '0', '0', '0', '0', '0'), ('197', 'DS197', 'KC13', '611', '11238482', '611', '11238482', '0', '0', '611', '11238482', '28 September 2016', '0', '0', '0', '0', '0', '0'), ('198', 'DS198', 'KC13', '492', '16109754', '492', '16109754', '0', '0', '492', '16109754', '3 Oktober 2016', '38', '24695', '0', '0', '38', '25695'), ('199', 'DS199', 'KC13', '1574', '49097594', '1042', '26096211', '149', '5383033', '1191', '31479244', '13 Oktober 2016', '0', '0', '149', '107663', '149', '107663'), ('20', 'DS20', 'KC02', '1719', '33765795', '1079', '22684083', '103', '1468425', '1182', '24152508', '11 Oktober 2016', '0', '0', '103', '29372', '103', '29372'), ('200', 'DS200', 'KC13', '560', '15715299', '560', '15715299', '0', '0', '560', '15715299', '21 Maret 2016', '0', '0', '0', '0', '0', '0'), ('201', 'DS201', 'KC13', '794', '52997186', '346', '31163754', '20', '1498506', '366', '32662260', '13 Oktober 2016', '49', '37457', '20', '29971', '69', '67428'), ('202', 'DS202', 'KC13', '658', '28029728', '658', '28029728', '0', '0', '658', '28029728', '28 September 2016', '0', '0', '0', '0', '0', '0'), ('203', 'DS203', 'KC14', '742', '19309563', '742', '19309563', '0', '0', '742', '19309563', '23 September 2016', '0', '0', '0', '0', '0', '0'), ('204', 'DS204', 'KC14', '1231', '35654091', '872', '26614628', '1', '51840', '873', '26666468', '13 Oktober 2016', '0', '0', '1', '1037', '1', '1037'), ('205', 'DS205', 'KC14', '973', '35372609', '601', '20267260', '38', '1063379', '639', '21330639', '13 Oktober 2016', '0', '0', '38', '21266', '38', '21266'), ('206', 'DS206', 'KC14', '923', '22418679', '923', '22418679', '0', '0', '923', '22418679', '22 September 2016', '0', '0', '0', '0', '0', '0'), ('207', 'DS207', 'KC14', '1090', '47450916', '717', '33133960', '0', '0', '717', '33133960', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('208', 'DS208', 'KC14', '1193', '25402931', '1008', '20541083', '0', '0', '1008', '20541083', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('209', 'DS209', 'KC14', '3923', '290373433', '2690', '121880150', '11', '562526', '2701', '122442676', '13 Oktober 2016', '56', '48397', '11', '11250', '67', '59647'), ('21', 'DS21', 'KC02', '1159', '14215491', '959', '11861637', '0', '0', '959', '11861637', '27 September 2016', '0', '0', '0', '0', '0', '0'), ('210', 'DS210', 'KC14', '1790', '71171358', '1356', '52186784', '3', '135117', '1359', '52321901', '14 Oktober 2016', '1', '1029', '3', '2702', '4', '3731'), ('211', 'DS211', 'KC14', '958', '30255794', '640', '18862027', '0', '0', '640', '18862027', '6 Oktober 2016', '59', '37667', '0', '0', '59', '37667'), ('212', 'DS212', 'KC14', '1033', '23903900', '1033', '23903900', '0', '0', '1033', '29903900', '22 Juli 2016', '0', '0', '0', '0', '0', '0'), ('213', 'DS213', 'KC14', '1449', '32693408', '1449', '32693408', '0', '0', '1449', '32693408', ' 11 Agustus 2016', '0', '0', '0', '0', '0', '0'), ('214', 'DS214', 'KC14', '1733', '109836820', '1071', '84726384', '4', '1120682', '1075', '85847066', '10 Oktober 2016', '50', '50879', '4', '22414', '54', '73293'), ('215', 'DS215', 'KC14', '2841', '129420281', '1998', '96263468', '30', '909887', '2028', '97173355', '11 Oktober 2016', '5', '4873', '30', '18199', '35', '23072'), ('216', 'DS216', 'KC14', '1290', '46051363', '1290', '46051363', '0', '0', '1290', '46051363', '26 September 2016', '0', '0', '0', '0', '0', '0'), ('217', 'DS217', 'KC14', '1951', '40501827', '1219', '24789795', '195', '4467851', '1414', '29257646', '12 Oktober 2016', '0', '0', '195', '89350', '195', '89350'), ('218', 'DS218', 'KC14', '985', '30960520', '865', '27345178', '0', '0', '865', '27345178', '4 Oktober 2016', '31', '18451', '0', '0', '31', '18451'), ('219', 'DS219', 'KC14', '655', '27270423', '655', '27270423', '0', '0', '655', '27270423', '22 September 2016', '0', '0', '0', '0', '0', '0'), ('22', 'DS22', 'KC02', '1614', '16110749', '1614', '16110749', '0', '0', '1614', '16110749', '7 September 2016', '0', '0', '0', '0', '0', '0'), ('220', 'DS220', 'KC14', '1418', '42832117', '1022', '31680156', '40', '921281', '1062', '32601437', '14 Oktober 2016', '0', '0', '40', '18425', '40', '18245'), ('221', 'DS221', 'KC14', '2729', '153995853', '1901', '112464413', '70', '3046799', '1971', '115511212', '13 Oktober 2016', '16', '20605', '70', '60938', '86', '81543'), ('222', 'DS222', 'KC15', '997', '21357796', '997', '21357796', '0', '0', '997', '21357796', '12 Mei 2016', '0', '0', '0', '0', '0', '0'), ('223', 'DS223', 'KC15', '872', '26586789', '366', '11576532', '0', '0', '366', '11576532', '3 Oktober 2016', '45', '26282', '0', '0', '45', '26282'), ('224', 'DS224', 'KC15', '1370', '33698794', '1370', '33698794', '0', '0', '1370', '33698794', '21 September 2016', '0', '0', '0', '0', '0', '0'), ('225', 'DS225', 'KC15', '1485', '49482342', '1485', '49482342', '0', '0', '1485', '49482342', '21 September 2016', '0', '0', '0', '0', '0', '0'), ('226', 'DS226', 'KC15', '1515', '31144368', '1515', '31144368', '0', '0', '1515', '31144368', '13 Mei 2016', '0', '0', '0', '0', '0', '0'), ('227', 'DS227', 'KC15', '1420', '34089083', '1420', '34089083', '0', '0', '1420', '34089083', '23 Juni 2016', '0', '0', '0', '0', '0', '0'), ('228', 'DS228', 'KC15', '1912', '44624046', '1082', '21736380', '0', '0', '1082', '21736380', '4 Oktober 2016', '63', '18499', '0', '0', '63', '18499'), ('229', 'DS229', 'KC15', '801', '19610449', '436', '10453278', '243', '5367806', '679', '15821084', '13 Oktober 2016', '98', '38086', '243', '107358', '341', '145444'), ('23', 'DS23', 'KC02', '2040', '30008054', '1509', '20695177', '7', '101940', '1516', '20797117', '12 Oktober 2016', '115', '48613', '7', '2039', '122', '50652'), ('230', 'DS230', 'KC15', '1378', '36203453', '1378', '36203453', '0', '0', '1378', '36203453', '23 September 2016', '0', '0', '0', '0', '0', '0'), ('231', 'DS231', 'KC15', '1232', '27347031', '1232', '27347031', '0', '0', '1232', '27347031', '9 Juni 2016', '0', '0', '0', '0', '0', '0'), ('232', 'DS232', 'KC15', '1142', '28621805', '1142', '28621805', '0', '0', '1142', '28621805', '26 Mei 2016', '0', '0', '0', '0', '0', '0'), ('233', 'DS233', 'KC16', '1445', '124724470', '653', '56670608', '2', '134796', '655', '56805404', '13 Oktober 2016', '38', '81657', '2', '2696', '40', '84353'), ('234', 'DS234', 'KC16', '829', '118819479', '675', '109830298', '1', '46877', '676', '109877175', '12 Oktober 2016', '5', '16282', '1', '938', '6', '17220'), ('235', 'DS235', 'KC16', '980', '46227269', '651', '32457200', '0', '0', '651', '32457200', '6 Oktober 2016', '1', '466', '0', '0', '1', '466'), ('236', 'DS236', 'KC16', '999', '56841145', '484', '29274793', '0', '0', '484', '29274793', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('237', 'DS237', 'KC16', '1437', '45437553', '418', '11060609', '0', '0', '418', '11060609', '6 September 2016', '0', '0', '0', '0', '0', '0'), ('238', 'DS238', 'KC16', '1305', '166342178', '370', '8368112', '1', '358450', '371', '84039562', '10 Oktober 2016', '2', '5203', '1', '7169', '3', '12372'), ('239', 'DS239', 'KC16', '1081', '71062805', '607', '50755915', '4', '137678', '611', '50893593', '12 Oktober 2016', '2', '2174', '4', '2753', '6', '4927'), ('24', 'DS24', 'KC02', '2384', '52067037', '1433', '35194558', '0', '0', '1433', '35194558', '5 Oktober 2016', '7', '2912', '0', '0', '7', '2912'), ('240', 'DS240', 'KC16', '1683', '101096631', '698', '41998222', '39', '1882040', '737', '43879262', '11 Oktober 2016', '34', '48963', '39', '37641', '73', '86604'), ('241', 'DS241', 'KC16', '1450', '90113544', '804', '61807805', '0', '0', '804', '61807805', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('242', 'DS242', 'KC16', '1480', '40183977', '744', '20506576', '37', '781426', '781', '21288002', '11 Oktober 2016', '0', '0', '37', '15630', '37', '15630'), ('243', 'DS243', 'KC17', '1074', '31073791', '1074', '31073791', '0', '0', '1074', '31073791', '17 Mei 2016', '0', '0', '0', '0', '0', '0'), ('144', 'DS244', 'KC17', '1111', '37242919', '647', '22254959', '0', '0', '647', '22254959', '3 Oktober 2016', '13', '6680', '0', '0', '13', '6680'), ('245', 'DS245', 'KC17', '1762', '77269756', '1418', '65871175', '0', '0', '1418', '65871175', '4 Oktober 2016', '20', '15510', '0', '0', '20', '15510'), ('246', 'DS246', 'KC17', '1786', '32628457', '1786', '32628457', '0', '0', '1786', '32628457', '23 September 2016', '0', '0', '0', '0', '0', '0'), ('247', 'DS247', 'KC17', '1698', '22078869', '746', '9307157', '1', '14280', '747', '9321437', '11 Oktober 2016', '81', '20712', '1', '286', '82', '20712'), ('248', 'DS248', 'KC17', '840', '21027374', '840', '21027374', '0', '0', '840', '21027374', '23 September 2016', '0', '0', '0', '0', '0', '0'), ('249', 'DS249', 'KC17', '1546', '50889651', '619', '17723778', '0', '0', '619', '17723778', '7 Oktober 2016', '19', '9272', '0', '0', '19', '9272'), ('25', 'DS25', 'KC02', '2818', '42025372', '682', '8272732', '0', '0', '682', '8272732', '29 September 2016', '0', '0', '0', '0', '0', '0'), ('250', 'DS250', 'KC17', '1297', '54128412', '578', '21424506', '0', '0', '578', '21424506', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('251', 'DS251', 'KC17', '1265', '73189558', '454', '37010002', '11', '979106', '465', '37989108', '13 Oktober 2016', '6', '3848', '11', '19582', '17', '23430'), ('252', 'DS252', 'KC17', '1753', '71750882', '818', '30582462', '14', '607694', '832', '31190156', '14 Oktober 2016', '2', '2328', '14', '12155', '16', '14483'), ('253', 'DS253', 'KC17', '2432', '88933902', '1053', '35886266', '97', '2080702', '1150', '38966968', '14 Oktober 2016', '7', '75271', '97', '61617', '104', '136888'), ('254', 'DS254', 'KC17', '901', '84065803', '337', '51706322', '0', '0', '337', '51706322', '7 Oktober 2016', '1', '1066', '0', '0', '1', '1066'), ('255', 'DS255', 'KC17', '1381', '69898993', '340', '32472374', '0', '0', '340', '32472374', '3 Oktober 2016', '1', '851', '0', '0', '1', '851'), ('256', 'DS256', 'KC17', '701', '15876741', '165', '2445562', '0', '0', '165', '2445562', '27 September 2016', '0', '0', '0', '0', '0', '0'), ('257', 'DS257', 'KC17', '742', '12739100', '22', '430106', '0', '0', '22', '430106', '28 Juni 2016', '0', '0', '0', '0', '0', '0'), ('258', 'DS258', 'KC17', '1728', '27788768', '29', '770876', '0', '0', '29', '770876', '6 Oktober 2016', '5', '2493', '0', '0', '5', '2493'), ('259', 'DS259', 'KC18', '1710', '63914530', '992', '33496019', '0', '0', '992', '3496019', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('26', 'DS26', 'KC02', '2322', '35093458', '1182', '17861278', '0', '0', '1182', '17861278', '7 Oktober 2016', '68', '21865', '0', '0', '68', '21865'), ('260', 'DS260', 'KC18', '779', '28661525', '779', '28661525', '0', '0', '779', '28661525', '29 September 2016', '0', '0', '0', '0', '0', '0'), ('261', 'DS261', 'KC18', '812', '20211212', '812', '20211212', '0', '0', '812', '20211212', '22 September 2016', '0', '0', '0', '0', '0', '0'), ('262', 'DS262', 'KC18', '871', '31732017', '871', '31732017', '0', '0', '871', '31732017', '29 September 2016', '0', '0', '0', '0', '0', '0'), ('263', 'DS263', 'KC18', '2225', '69939340', '1498', '43447226', '0', '0', '1498', '43447226', '6 Oktober 2016', '60', '68011', '0', '0', '60', '68011'), ('264', 'DS264', 'KC18', '949', '35805146', '440', '16813382', '0', '0', '440', '16813382', '5 Oktober 2016', '1', '913', '0', '0', '1', '913'), ('265', 'DS265', 'KC18', '1544', '150658999', '1043', '113739284', '60', '7146126', '1103', '120885410', '11 Oktober 2016', '0', '0', '60', '142925', '60', '142925'), ('266', 'DS266', 'KC18', '1202', '36663934', '665', '23073534', '0', '0', '665', '23073534', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('267', 'DS267', 'KC18', '1185', '45398091', '966', '34366966', '0', '0', '966', '34366966', '4 Oktober 2016', '3', '4180', '0', '0', '3', '4180'), ('268', 'DS268', 'KC18', '1139', '69324268', '920', '57111815', '0', '0', '920', '57111815', '5 Oktober 2016', '1', '690', '0', '0', '1', '690'), ('269', 'DS269', 'KC18', '871', '58170970', '666', '42444835', '24', '2973437', '690', '45418272', '13 Oktober 2016', '27', '14470', '24', '59471', '51', '74211'), ('27', 'DS27', 'KC02', '2981', '45949552', '1732', '24105567', '597', '4901887', '2329', '29007454', '12 Oktober 2016', '234', '51176', '597', '98046', '831', '149222'), ('270', 'DS270', 'KC18', '844', '42270552', '708', '36852685', '135', '5380430', '843', '42233115', '13 Oktober 2016', '166', '78364', '135', '107609', '301', '185973'), ('271', 'DS271', 'KC18', '2061', '166338261', '843', '49727331', '6', '322964', '849', '50050295', '14 Oktober 2016', '16', '29774', '6', '6458', '22', '36232'), ('272', 'DS272', 'KC18', '1483', '180296487', '1078', '156454606', '0', '0', '1078', '156454606', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('273', 'DS273', 'KC18', '904', '38218770', '904', '38218770', '0', '0', '904', '38218770', '20 September 2016', '0', '0', '0', '0', '0', '0'), ('274', 'DS274', 'KC18', '1165', '73954927', '728', '55093384', '10', '126120', '738', '55219504', '10 Oktober 2016', '12', '7081', '10', '2522', '22', '9603'), ('275', 'DS275', 'KC19', '1591', '36437750', '1591', '36437750', '0', '0', '1591', '36437750', '28 September 2016', '0', '0', '0', '0', '0', '0'), ('276', 'DS276', 'KC19', '2136', '55508523', '82', '1594801', '18', '355834', '100', '1950635', '14 Oktober 2016', '7', '7099', '18', '7115', '25', '14214'), ('277', 'DS277', 'KC19', '1718', '49551482', '312', '10597784', '1', '34695', '313', '10632479', '10 Oktober 2016', '28', '22395', '1', '694', '29', '23089'), ('278', 'DS278', 'KC19', '786', '14653344', '204', '4153450', '0', '0', '204', '4153450', '16 September 2016', '0', '0', '0', '0', '0', '0'), ('279', 'DS279', 'KC19', '1264', '33572744', '234', '5481314', '47', '11087377', '281', '6589691', '10 Oktober 2016', '0', '0', '47', '22170', '47', '22170'), ('28', 'DS28', 'KC02', '1109', '27065016', '829', '21113787', '41', '649798', '870', '21763585', '12 Oktober 2016', '0', '0', '41', '12997', '41', '12997'), ('280', 'DS280', 'KC19', '866', '18517360', '135', '2689296', '0', '0', '135', '2689296', '29 September 2016', '0', '0', '0', '0', '0', '0'), ('281', 'DS281', 'KC19', '1215', '20205832', '0', '0', '0', '0', '0', '0', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('282', 'DS282', 'KC19', '1581', '32410653', '206', '3497306', '0', '0', '206', '3497306', '4 Oktober 2016', '1', '739', '0', '0', '1', '739'), ('283', 'DS283', 'KC19', '1635', '30207968', '277', '3666114', '0', '0', '277', '2666114', '29 September 2016', '0', '0', '0', '0', '0', '0'), ('284', 'DS284', 'KC19', '908', '27625048', '171', '2935742', '0', '0', '171', '2935742', '29 September 2016', '0', '0', '0', '0', '0', '0'), ('285', 'DS285', 'KC19', '1207', '43182392', '176', '3869922', '0', '0', '176', '2869922', '8 September 2016', '0', '0', '0', '0', '0', '0'), ('29', 'DS29', 'KC02', '436', '10194074', '436', '10194074', '0', '0', '436', '10194074', '7 September 2016', '0', '0', '0', '0', '0', '0'), ('30', 'DS30', 'KC03', '1069', '21731854', '1069', '21731854', '0', '0', '1069', '21731854', '25 Mei 2016', '0', '0', '0', '0', '0', '0'), ('31', 'DS31', 'KC03', '905', '14004687', '905', '14004687', '0', '0', '905', '14004687', '23 Mei 2016', '0', '0', '0', '0', '0', '0'), ('32', 'DS32', 'KC03', '359', '6055330', '359', '6055330', '0', '0', '359', '6055330', '23 Maret 2016', '0', '0', '0', '0', '0', '0'), ('33', 'DS33', 'KC03', '346', '4155255', '346', '4155255', '0', '0', '346', '4155255', '21 Maret 2016', '0', '0', '0', '0', '0', '0'), ('34', 'DS34', 'KC03', '541', '9125505', '541', '9125505', '0', '0', '541', '9125505', '9 Mei 2016', '0', '0', '0', '0', '0', '0'), ('35', 'DS35', 'KC03', '2083', '32104614', '2083', '32104614', '0', '0', '2083', '32104614', '19 Juli 2016', '0', '0', '0', '0', '0', '0'), ('36', 'DS36', 'KC03', '352', '8311870', '352', '8311870', '0', '0', '352', '8311870', '6 Juni 2016', '0', '0', '0', '0', '0', '0'), ('37', 'DS37', 'KC03', '1563', '27053298', '1563', '27053298', '0', '0', '1563', '27053298', '18 Juli 2016', '0', '0', '0', '0', '0', '0'), ('38', 'DS38', 'KC03', '434', '6445602', '434', '6445602', '0', '0', '434', '6445602', '9 Mei 2016', '0', '0', '0', '0', '0', '0'), ('39', 'DS39', 'KC03', '699', '14674058', '699', '14674058', '0', '0', '699', '14674058', '20 Juli 2016', '0', '0', '0', '0', '0', '0'), ('40', 'DS40', 'KC03', '535', '9540259', '535', '9540259', '0', '0', '535', '9540259', '15 Juli 2016', '0', '0', '0', '0', '0', '0'), ('41', 'DS41', 'KC04', '2141', '26866338', '2141', '26866338', '0', '0', '2141', '26866338', '29 April 2016', '0', '0', '0', '0', '0', '0'), ('42', 'DS42', 'KC04', '1164', '10863019', '1164', '10863019', '0', '0', '1164', '10863019', '18 Mei 2016', '0', '0', '0', '0', '0', '0'), ('43', 'DS43', 'KC04', '400', '4938220', '400', '4938220', '0', '0', '400', '4938220', '13 Mei 2016', '0', '0', '0', '0', '0', '0'), ('44', 'DS44', 'KC04', '591', '8230802', '591', '8230802', '0', '0', '591', '8230802', '10 Mei 2016', '0', '0', '0', '0', '0', '0'), ('45', 'DS45', 'KC04', '1603', '26240871', '1603', '26240871', '0', '0', '1603', '26240871', '10 Mei 2016', '0', '0', '0', '0', '0', '0'), ('46', 'DS46', 'KC04', '1161', '19293622', '1161', '19293622', '0', '0', '1161', '19293622', '1 Agustus 2016', '0', '0', '0', '0', '0', '0'), ('47', 'DS47', 'KC04', '1982', '16764595', '1982', '16764595', '0', '0', '1982', '16764595', '10 Mei 1016', '0', '0', '0', '0', '0', '0'), ('48', 'DS48', 'KC04', '934', '12013635', '934', '12013635', '0', '0', '934', '12013635', '11 Agustus 2016', '0', '0', '0', '0', '0', '0'), ('49', 'DS49', 'KC04', '1394', '22264936', '1394', '22264936', '0', '0', '1394', '22264936', '9 Agustus 2016', '0', '0', '0', '0', '0', '0'), ('50', 'DS50', 'KC05', '2832', '51431382', '2115', '36925534', '0', '0', '2115', '36925534', '7 Oktober 2016', '130', '58837', '0', '0', '130', '58837'), ('51', 'DS51', 'KC05', '1696', '30301507', '1287', '22459903', '0', '0', '1287', '22459903', '15 September 2016', '0', '0', '0', '0', '0', '0'), ('52', 'DS52', 'KC05', '4258', '70592688', '3072', '50914441', '0', '0', '3072', '50914441', '7 Oktober 2016', '53', '16787', '0', '0', '53', '16787'), ('53', 'DS53', 'KC05', '3488', '56693744', '1546', '23695996', '0', '0', '1546', '23695996', '29 September 2016', '0', '0', '0', '0', '0', '0'), ('54', 'DS54', 'KC05', '2456', '54002135', '867', '19181644', '0', '0', '867', '19181644', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('55', 'DS55', 'KC05', '1840', '41731123', '1306', '27251815', '22', '507942', '1328', '27759757', '12 Oktober 2016', '24', '11506', '22', '10160', '46', '21666'), ('56', 'DS56', 'KC05', '1684', '50028349', '1099', '33789015', '0', '0', '1099', '33789015', '7 Oktober 2016', '64', '42135', '0', '0', '64', '42135'), ('57', 'DS57', 'KC05', '1473', '28562656', '1089', '20535009', '0', '0', '1089', '20535009', '7 Oktober 2016', '234', '95483', '0', '0', '234', '95483'), ('58', 'DS58', 'KC05', '1876', '37136295', '1314', '26090441', '0', '0', '1314', '26090441', '7 Oktober 2016', '76', '28025', '0', '0', '76', '28025'), ('59', 'DS59', 'KC05', '1713', '41305924', '976', '23237710', '0', '0', '976', '23237710', '29 September 2016', '0', '0', '0', '0', '0', '0'), ('60', 'DS60', 'KC06', '503', '10584199', '503', '10584199', '0', '0', '503', '10584199', '26 September 2016', '0', '0', '0', '0', '0', '0'), ('61', 'DS61', 'KC06', '665', '14088184', '665', '14088184', '0', '0', '665', '14088184', '5 Agustus 2016', '0', '0', '0', '0', '0', '0'), ('62', 'DS62', 'KC06', '2806', '63492640', '2806', '63492640', '0', '0', '2806', '63492640', '21 September 2016', '0', '0', '0', '0', '0', '0'), ('63', 'DS63', 'KC06', '2875', '96628935', '879', '30899196', '295', '9108903', '1174', '40008099', '12 Oktober 2016', '0', '0', '295', '182176', '295', '182176'), ('64', 'DS64', 'KC06', '1450', '56631578', '1033', '38457785', '0', '0', '1033', '38457785', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('65', 'DS65', 'KC06', '1097', '39550817', '1097', '39550817', '0', '0', '1097', '39550817', '18 Mei 2016', '0', '0', '0', '0', '0', '0'), ('66', 'DS66', 'KC06', '1863', '78867714', '1081', '43836520', '46', '2175673', '1127', '46012193', '11 Oktober 2016', '2', '3619', '46', '43510', '48', '47129'), ('67', 'DS67', 'KC06', '2603', '70307729', '1606', '42534097', '0', '0', '1606', '42534097', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('68', 'DS68', 'KC06', '1971', '55103958', '1283', '37168088', '4', '56166', '1287', '37224254', '10 Oktober 2016', '29', '26014', '4', '1123', '33', '27137'), ('69', 'DS69', 'KC06', '1215', '29201811', '745', '17277458', '0', '0', '745', '17277458', '7 Oktober 2016', '6', '4013', '0', '0', '6', '4013'), ('70', 'DS70', 'KC06', '1231', '41810570', '931', '28482707', '1', '12632', '932', '28495339', '14 Oktober 2016', '16', '13022', '1', '253', '17', '13275'), ('71', 'DS71', 'KC06', '2635', '70152530', '2635', '70152530', '0', '0', '2635', '70152530', '26 September 2016', '0', '0', '0', '0', '0', '0'), ('72', 'DS72', 'KC06', '2671', '66741244', '1511', '36953776', '0', '0', '1511', '36953776', '7 Oktober 2016', '2', '9466', '0', '0', '2', '9466'), ('73', 'DS73', 'KC06', '2422', '67373054', '1599', '45413896', '15', '413085', '1574', '45826981', '11 Oktober 2016', '18', '14781', '15', '8263', '33', '23044'), ('74', 'DS74', 'KC07', '1491', '52192999', '465', '14076635', '0', '0', '465', '14076635', '29 September 2016', '0', '0', '0', '0', '0', '0'), ('75', 'DS75', 'KC07', '1486', '56020116', '720', '17270968', '3', '40180', '723', '17311148', '13 Oktober 2016', '396', '196555', '3', '804', '399', '197359'), ('76', 'DS76', 'KC07', '1022', '29557783', '1022', '29557783', '0', '0', '1022', '29557783', '17 September 2016', '0', '0', '0', '0', '0', '0'), ('77', 'DS77', 'KC07', '1687', '40107043', '1687', '40107043', '0', '0', '1687', '40107043', '29 September 2016', '0', '0', '0', '0', '0', '0'), ('78', 'DS78', 'KC07', '1482', '56808484', '403', '12900529', '0', '0', '403', '12900529', '4 Oktober 2016', '23', '15576', '0', '0', '23', '15576'), ('79', 'DS79', 'KC07', '3008', '66267333', '1894', '40463248', '149', '3088944', '2043', '43552192', '13 Oktober 2016', '0', '0', '149', '61783', '149', '61783'), ('80', 'DS80', 'KC07', '2410', '113647963', '1063', '52119006', '0', '0', '1063', '52119006', '30 September 2016', '0', '0', '0', '0', '0', '0'), ('81', 'DS81', 'KC07', '2194', '125395856', '814', '41476443', '2', '122140', '816', '41598583', '5 Oktober 2016', '1', '1750', '0', '0', '1', '1750'), ('82', 'DS82', 'KC07', '1512', '67271598', '814', '41476443', '2', '122140', '816', '41598583', '11 Oktober 2016', '22', '27521', '2', '2443', '24', '29964'), ('83', 'DS83', 'KC07', '998', '37008358', '628', '20477803', '54', '2219589', '682', '22697392', '12 Oktober 2016', '26', '21131', '54', '44392', '80', '65523'), ('84', 'DS84', 'KC07', '1719', '41014266', '1719', '41014266', '0', '0', '1719', '41014266', '28 September 2016', '0', '0', '0', '0', '0', '0'), ('85', 'DS85', 'KC07', '1593', '38431307', '1593', '38431307', '0', '0', '1593', '38431307', '28 September 2016', '0', '0', '0', '0', '0', '0'), ('86', 'DS86', 'KC07', '1417', '57273408', '1130', '41891351', '81', '3879984', '1211', '45771335', '10 Oktober 2016', '0', '0', '81', '77602', '81', '77602'), ('87', 'DS87', 'KC07', '1234', '34474436', '1234', '34474436', '0', '0', '1234', '34474436', '29 September 2016', '0', '0', '0', '0', '0', '0'), ('88', 'DS88', 'KC07', '1384', '53865437', '840', '26821734', '0', '0', '840', '26821734', '5 Oktober 2016', '110', '76580', '0', '0', '110', '76580'), ('89', 'DS89', 'KC08', '1843', '43642518', '1843', '43642518', '0', '0', '1843', '43642518', '22 September 2016', '0', '0', '0', '0', '0', '0'), ('90', 'DS90', 'KC08', '1306', '50870253', '1306', '50870253', '0', '0', '1306', '50870253', '22 September 2016', '0', '0', '0', '0', '0', '0'), ('91', 'DS91', 'KC08', '1298', '37819918', '870', '25101331', '29', '1278521', '899', '26379852', '11 Oktober 2016', '117', '71662', '29', '25572', '146', '97234'), ('92', 'DS92', 'KC08', '491', '9614737', '491', '9614737', '0', '0', '491', '9614737', '25 Agustus 2016', '0', '0', '0', '0', '0', '0'), ('93', 'DS93', 'KC08', '1083', '22510695', '1083', '22510695', '0', '0', '1083', '22510695', '26 September 2016', '0', '0', '0', '0', '0', '0'), ('94', 'DS94', 'KC08', '1010', '33329027', '1010', '33329027', '0', '0', '1010', '33329027', '23 September 2016', '0', '0', '0', '0', '0', '0'), ('95', 'DS95', 'KC08', '1282', '52870564', '1282', '52870564', '0', '0', '1282', '52870564', '19 September 2016', '0', '0', '0', '0', '0', '0'), ('96', 'DS96', 'KC08', '836', '41984114', '836', '41984114', '0', '0', '836', '41984114', '27 September 2016', '0', '0', '0', '0', '0', '0'), ('97', 'DS97', 'KC08', '939', '23760278', '939', '23760278', '0', '0', '939', '23760278', '27 September 2016', '0', '0', '0', '0', '0', '0'), ('98', 'DS98', 'KC08', '2666', '106076698', '683', '26521310', '58', '2477694', '741', '28999004', '12 Oktober 2016', '2', '1754', '58', '49554', '60', '51308'), ('99', 'DS99', 'KC08', '999', '26880470', '999', '26880470', '0', '0', '999', '26880470', '20 September 2016', '0', '0', '0', '0', '0', '00'); -- -------------------------------------------------------- -- -- Struktur dari tabel `surat` -- CREATE TABLE `surat` ( `nomer_surat` varchar(10) NOT NULL, `judul_surat` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `surat` -- INSERT INTO `surat` (`nomer_surat`, `judul_surat`) VALUES ('1', 'surat Karang Gondang'), ('2', 'Surat Werdi'), ('3', 'Surat Tajur'), ('4', 'Surat Werdi'), ('5', 'Surat Tajur'), ('6', 'Surat Krandegan'), ('7', 'Surat '), ('8', 'Surat '), ('9', 'Surat '), ('10', 'Surat Kutosari'), ('11', 'Surat '), ('12', 'Surat '), ('13', 'Surat '), ('14', 'Surat Wangkelang'), ('15', 'Surat Pungangan'), ('16', 'Surat Dororejo'), ('17', 'Surat '), ('18', 'Surat Gembong'), ('19', 'Surat Tajur'), ('20', 'Surat Tajur'), ('21', 'Surat Tajur'), ('22', 'Surat Tajur'), ('23', 'Surat Tajur'), ('24', 'Surat Pungangan'), ('25', 'Surat Pungangan'), ('26', 'Surat Pungangan'), ('27', 'Surat Kutorejo'), ('28', 'Surat Mesoyi'), ('29', 'Surat Timbangsari'), ('30', 'Surat Timbangsari'), ('31', 'Surat Banjarsari'), ('32', 'Surat Banjarsari'), ('33', 'Surat Gumelem'), ('34', 'Surat Gumelem'), ('35', 'Surat Gumelem'), ('36', 'Surat Gumelem'), ('37', 'Surat Gumelem'), ('38', 'Surat Gumelem'), ('39', 'Surat Gumelem'), ('40', 'Surat Gumelem'), ('41', 'Surat Mendolo'), ('42', 'Surat Mendolo'), ('43', 'Surat Pedawang'), ('44', 'Surat Pedawang'), ('45', 'Surat Pedawang'), ('46', 'Surat Pedawang'), ('47', 'Surat Pedawang'), ('48', 'Surat Kutosari'), ('49', 'Surat Kutosari'), ('50', 'Surat Kutorejo'), ('51', 'Surat Mesoyi'), ('52', 'Surat Mesoyi'), ('1', 'Surat Batursari'), ('1', 'Surat Batursari'), ('1', 'Surat '), ('1', 'Surat Legok Kalong'), ('1', 'Surat '), ('1', 'Surat Kayupuring'), ('1', 'Surat Doro'), ('1', 'Surat Kutorejo'), ('1', 'Surat Legok Kalong'), ('1', 'Surat Dororejo'), ('1', 'Surat Dororejo'), ('1', 'Surat Pungangan'), ('1', 'Surat Pungangan'), ('1', 'Surat Pungangan'), ('1', 'Surat Tambakroto'), ('1', 'Surat Banjarsari'), ('1', 'Surat Banjarsari'), ('1', 'Surat Kalirejo'), ('1', 'Surat Dororejo'), ('1', 'Surat Werdi'), ('1', 'Surat Wangkelang'), ('1', 'Surat Kutorejo'), ('1', 'Surat Wangkelang'), ('76', 'Surat '), ('77', 'Surat '), ('78', 'Surat '), ('79', 'Surat '), ('80', 'Surat '), ('81', 'Surat '), ('82', 'Surat '), ('83', 'Surat '), ('84', 'Surat '), ('85', 'Surat '), ('86', 'Surat '), ('1', 'Surat Tajur'), ('1', 'Surat Tajur'), ('1', 'Surat Banjarsari'), ('1', 'Surat Kalirejo'), ('1', 'Surat Tanggeran'), ('92', 'Surat '); -- -------------------------------------------------------- -- -- Struktur dari tabel `tagihan` -- CREATE TABLE `tagihan` ( `id_desa` varchar(50) DEFAULT NULL, `id_tagihan` varchar(60) DEFAULT NULL, `id_kecamatan` varchar(25) NOT NULL, `op_realisasi` varchar(50) DEFAULT NULL, `jml_realisasi` varchar(50) DEFAULT NULL, `op_selisih` varchar(50) DEFAULT NULL, `jml_selisih` varchar(50) DEFAULT NULL, `id_tghan` int(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `tagihan` -- INSERT INTO `tagihan` (`id_desa`, `id_tagihan`, `id_kecamatan`, `op_realisasi`, `jml_realisasi`, `op_selisih`, `jml_selisih`, `id_tghan`) VALUES ('DS01', 'TGH01', 'KC01', '2340', '17895670', '0', '0', 1), ('DS02', 'TGH02', 'KC02', '1602', '13757648', '0', '0', 2), ('DS03', 'TGH03', 'KC03', '3319', '40008790', '0', '0', 3), ('DS04', 'TGH04', 'KC04', '1650', '17967603', '0', '0', 4), ('DS05', 'TGH05', 'KC05', '792', '12957568', '2072', '32877107', 5), ('DS06', 'TGH06', 'KC06', '1317', '20961587', '0', '0', 6), ('DS07', 'TGH07', 'KC07', '2057', '28360839', '0', '0', 7), ('DS08', 'TGH08', 'KC08', '2609', '33334993', '442', '11545527', 8), ('DS09', 'TGH09', 'KC09', '1120', '16534617', '0', '0', 9), ('DS10', 'TGH10', 'KC10', '1858', '29792698', '102', '2233139', 10), ('DS11', 'TGH11', 'KC11', '2742', '35727678', '0', '0', 11), ('DS12', 'TGH12', 'KC12', '1128', '15005132', '320', '7987904', 12), ('DS13', 'TGH13', 'KC13', '1664', '19939597', '0', '0', 13), ('DS14', 'TGH14', 'KC14', '1134', '13647151', '302', '3745149', 14), ('DS15', 'TGH15', 'KC15', '214', '2997401', '1771', '20800209', 15), ('DS16', 'TGH16', 'KC16', '780', '9071198', '1313', '15230543', 16), ('DS17', 'TGH17', 'KC17', '1608', '21285571', '0', '0', 17), ('DS18', 'TGH18', 'KC18', '1429', '18901694', '1243', '17137550', 18), ('DS19', 'TGH19', 'KC19', '1581', '25331741', '0', '0', 19), ('DS20', 'TGH20', 'KC20', '1182', '24152508', '537', '9613287', 20), ('DS21', 'TGH21', 'KC21', '959', '11861637', '200', '2353854', 21), ('DS22', 'TGH22', 'KC22', '1614', '16110749', '0', '0', 22), ('DS23', 'TGH23', 'KC23', '1516', '20797117', '524', '9210937', 23), ('DS24', 'TGH24', 'KC24', '1433', '35194558', '951', '16872479', 24), ('DS25', 'TGH25', 'KC25', '682', '8272732', '2136', '33752640', 25), ('DS26', 'TGH26', 'KC26', '1182', '17861278', '1140', '17232180', 26), ('DS27', 'TGH27', 'KC27', '2329', '29007454', '652', '16942098', 27), ('DS28', 'TGH28', 'KC28', '870', '21763585', '239', '5301431', 28), ('DS29', 'TGH29', 'KC29', '436', '10194074', '0', '0', 29), ('DS30', 'TGH30', 'KC30', '1069', '21731854', '0', '0', 30), ('DS31', 'TGH31', 'KC31', '905', '14004687', '0', '0', 31), ('DS32', 'TGH32', 'KC32', '359', '6055330', '0', '0', 32), ('DS33', 'TGH33', 'KC33', '346', '4155255', '0', '0', 33), ('DS34', 'TGH34', 'KC34', '541', '9125505', '0', '0', 34), ('DS35', 'TGH35', 'KC35', '2083', '32104614', '0', '0', 35), ('DS36', 'TGH36', 'KC36', '352', '8311870', '0', '0', 36), ('DS37', 'TGH37', 'KC37', '1563', '27053298', '0', '0', 37), ('DS38', 'TGH38', 'KC38', '434', '6445602', '0', '0', 38), ('DS39', 'TGH39', 'KC39', '699', '14674058', '0', '0', 39), ('DS40', 'TGH40', 'KC40', '535', '9540259', '0', '0', 40), ('DS41', 'TGH41', 'KC41', '2141', '26866338', '0', '0', 41), ('DS42', 'TGH42', 'KC42', '1164', '10863019', '0', '0', 42), ('DS43', 'TGH43', 'KC43', '400', '4938220', '0', '0', 43), ('DS44', 'TGH44', 'KC44', '591', '8230802', '0', '0', 44), ('DS45', 'TGH45', 'KC45', '1603', '26240871', '0', '0', 45), ('DS46', 'TGH46', 'KC46', '1161', '19293622', '0', '0', 46), ('DS47', 'TGH47', 'KC47', '1982', '16764595', '0', '0', 47), ('DS48', 'TGH48', 'KC48', '934', '12013635', '0', '0', 48), ('DS49', 'TGH49', 'KC49', '1394', '22264936', '0', '0', 49), ('DS50', 'TGH50', 'KC50', '2115', '36925534', '717', '14505848', 50), ('DS51', 'TGH51', 'KC51', '1287', '22459903', '409', '7841604', 51), ('DS52', 'TGH52', 'KC52', '3072', '50914441', '1186', '19678247', 52), ('DS53', 'TGH53', 'KC53', '1546', '23695996', '1942', '32997748', 53), ('DS54', 'TGH54', 'KC54', '867', '19181644', '1589', '34820491', 54), ('DS55', 'TGH55', 'KC55', '1328', '27759757', '512', '13971366', 55), ('DS56', 'TGH56', 'KC56', '1099', '33789015', '585', '16239334', 56), ('DS57', 'TGH57', 'KC57', '1089', '20535009', '384', '8027647', 57), ('DS58', 'TGH58', 'KC58', '1314', '26090441', '562', '11054854', 58), ('DS59', 'TGH59', 'KC59', '976', '23237710', '737', '19068214', 59), ('DS60', 'TGH60', 'KC60', '503', '10584199', '0', '0', 60), ('DS61', 'TGH61', 'KC61', '665', '14088184', '0', '0', 61), ('DS62', 'TGH62', 'KC62', '2806', '63492640', '0', '0', 62), ('DS63', 'TGH63', 'KC63', '1174', '40008099', '1701', '56620836', 63), ('DS64', 'TGH64', 'KC64', '1033', '38457785', '417', '18173793', 64), ('DS65', 'TGH65', 'KC65', '1097', '39550817', '0', '0', 65), ('DS66', 'TGH66', 'KC66', '1127', '46012193', '736', '32855521', 66), ('DS67', 'TGH67', 'KC67', '1606', '42534097', '997', '27773632', 67), ('DS68', 'TGH68', 'KC68', '1287', '37224254', '684', '17878704', 68), ('DS69', 'TGH69', 'DS69', '745', '17277458', '470', '11924353', 69), ('DS70', 'TGH70', 'DS70', '932', '28495339', '299', '13315231', 70), ('DS71', 'TGH71', 'DS71', '2635', '70152530', '0', '0', 71), ('DS72', 'TGH72', 'DS72', '1511', '36953776', '1160', '29787468', 72), ('DS73', 'TGH73', 'DS73', '1574', '45826981', '848', '21546073', 73), ('DS74', 'TGH74', 'DS74', '465', '14076635', '1026', '38116364', 74), ('DS75', 'TGH75', 'DS75', '723', '17311148', '763', '38708869', 75), ('DS76', 'TGH76', 'DS76', '1022', '29557783', '0', '0', 76), ('DS77', 'TGH77', 'DS77', '1687', '40107043', '0', '0', 77), ('DS78', 'TGH78', 'DS78', '403', '12900529', '1079', '43907955', 78), ('DS79', 'TGH79', 'DS79', '2043', '43552192', '965', '22715141', 79), ('DS80', 'TGH80', 'DS80', '1063', '52119006', '1347', '61528957', 80), ('DS81', 'TGH81', 'DS81', '1143', '67380807', '1051', '58015049', 81), ('DS82', 'TGH82', 'DS82', '816', '41598583', '696', '25673015', 82), ('DS83', 'TGH83', 'DS83', '682', '22697392', '316', '14310966', 83), ('DS84', 'TGH84', 'DS84', '1719', '41014266', '0', '0', 84), ('DS85', 'TGH85', 'DS85', '1593', '38431307', '0', '0', 85), ('DS86', 'TGH86', 'DS86', '1211', '45771335', '206', '11502073', 86), ('DS87', 'TGH87', 'DS87', '1234', '34474436', '0', '0', 87), ('DS88', 'TGH88', 'KC88', '840', '26821734', '544', '27043703', 88), ('DS89', 'TGH89', 'KC89', '1843', '43642518', '0', '0', 89), ('DS90', 'TGH90', 'KC90', '1306', '50870253', '0', '0', 90), ('DS91', 'TGH91', 'KC91', '899', '26379852', '399', '11440066', 91), ('DS92', 'TGH92', 'KC92', '491', '5614737', '0', '0', 92), ('DS93', 'TGH93', 'KC93', '1083', '22510695', '0', '0', 93), ('DS94', 'TGH94', 'KC94', '1010', '33329027', '0', '0', 94), ('DS95', 'TGH95', 'KC95', '1282', '52870564', '0', '0', 95), ('DS96', 'TGH96', 'KC96', '836', '41984114', '0', '0', 96), ('DS97', 'TGH97', 'KC97', '939', '23760278', '0', '0', 97), ('DS98', 'TGH98', 'KC98', '741', '28999004', '1925', '77077694', 98), ('DS99', 'TGH99', 'KC99', '999', '26880470', '0', '0', 99), ('DS100', 'TGH100', 'KC100', '502', '83129429', '1279', '60346675', 100), ('DS101', 'TGH101', 'KC101', '1316', '41803091', '0', '0', 101), ('DS102', 'TGH102', 'KC102', '1407', '35345247', '0', '0', 102), ('DS103', 'TGH103', 'KC103', '979', '19804570', '0', '0', 103), ('DS104', 'TGH104', 'KC104', '1227', '93878364', '328', '24487359', 104), ('DS105', 'TGH105', 'KC105', '1043', '54658218', '570', '19090609', 105), ('DS106', 'TGH106', 'KC106', '1333', '44065533', '216', '7225055', 106), ('DS107', 'TGH107', 'KC107', '1452', '48979433', '109', '5332449', 107), ('DS108', 'TGH108', 'KC108', '2922', '116442612', '391', '22124972', 108), ('DS109', 'TGH109', 'KC109', '2526', '84226702', '414', '10185651', 109), ('DS110', 'TGH110', 'KC110', '659', '27326044', '464', '25770284', 110), ('DS111', 'TGH111', 'KC111', '1231', '38240527', '0', '0', 111), ('DS112', 'TGH112', 'KC112', '1320', '39825280', '170', '4293572', 112), ('DS113', 'TGH113', 'KC113', '754', '38733720', '504', '28340516', 113), ('DS114', 'TGH114', 'KC114', '1698', '25133547', '2146', '36347123', 114), ('DS115', 'TGH115', 'KC115', '1930', '29307019', '0', '0', 115), ('DS116', 'TGH116', 'KC116', '1423', '23780998', '152', '2191301', 116), ('DS117', 'TGH117', 'KC117', '1248', '22032708', '1150', '26649037', 117), ('DS118', 'TGH118', 'KC118', '1869', '76355403', '442', '26193933', 118), ('DS119', 'TGH119', 'KC119', '717', '34795387', '809', '31775014', 119), ('DS120', 'TGH120', 'KC120', '941', '40023615', '1021', '43796726', 120), ('DS121', 'TGH121', 'KC121', '525', '29378733', '385', '14880926', 121), ('DS122', 'TGH122', 'KC122', '1343', '56591590', '0', '0', 122), ('DS123', 'TGH123', 'KC123', '1838', '82446204', '0', '0', 123), ('DS124', 'TGH124', 'KC124', '3179', '106613917', '716', '31419778', 124), ('DS125', 'TGH125', 'KC125', '701', '29193778', '479', '18521461', 125), ('DS126', 'TGH126', 'KC126', '1088', '49867405', '1008', '40177288', 126), ('DS127', 'TGH127', 'KC127', '688', '20325827', '358', '13790871', 127), ('DS128', 'TGH128', 'KC128', '1311', '64609687', '920', '34471463', 128), ('DS129', 'TGH128', 'KC129', '2257', '73327330', '0', '0', 129), ('DS130', 'TGH130', 'KC130', '853', '34474746', '541', '17906165', 130), ('DS131', 'TGH131', 'KC131', '1391', '45238875', '422', '16356262', 131), ('DS132', 'TGH132', 'KC132', '1753', '30837421', '732', '19489294', 132), ('DS133', 'TGH133', 'KC133', '1863', '80085878', '115', '13174756', 133), ('DS134', 'TGH134', 'KC134', '1358', '50596485', '532', '20241086', 134), ('DS135', 'TGH135', 'KC135', '1354', '49308054', '322', '16644901', 135), ('DS136', 'TGH136', 'KC136', '859', '35925513', '424', '24408836', 136), ('DS137', 'TGH137', 'KC137', '603', '17722707', '518', '18440884', 137), ('DS138', 'TGH138', 'KC138', '1265', '29885056', '0', '0', 138), ('DS139', 'TGH139', 'KC139', '1631', '39550713', '1212', '44477253', 139), ('DS140', 'TGH140', 'KC140', '425', '10929122', '2227', '42037980', 140), ('DS141', 'TGH141', 'KC141', '1341', '38194300', '265', '10206682', 141), ('DS142', 'TGH142', 'KC142', '896', '29339046', '1217', '29944552', 142), ('DS143', 'TGH143', 'KC143', '1261', '48658101', '746', '23689524', 143), ('DS144', 'TGH144', 'KC144', '1429', '28041019', '114', '4368084', 144), ('DS145', 'TGH145', 'KC145', '494', '7486186', '1354', '22113344', 145), ('DS146', 'TGH146', 'KC146', '624', '18794524', '2297', '62453098', 146), ('DS147', 'TGH147', 'KC147', '694', '19226081', '536', '10703474', 147), ('DS148', 'TGH148', 'KC148', '2866', '72306142', '0', '0', 148), ('DS149', 'TGH149', 'KC149', '974', '20678065', '1933', '43397890', 149), ('DS150', 'TGH150', 'KC150', '1406', '29689042', '1319', '31496434', 150), ('DS151', 'TGH151', 'KC151', '757', '14708878', '1033', '26809670', 151), ('DS152', 'TGH152', 'KC152', '2063', '155439551', '163', '6681087', 152), ('DS153', 'TGH153', 'KC153', '1672', '45348216', '699', '23496143', 153), ('DS154', 'TGH154', 'KC154', '136', '4089316', '882', '13786953', 154), ('DS155', 'TGH155', 'KC155', '261', '15453835', '853', '48105473', 155), ('DS156', 'TGH156', 'KC156', '2326', '56888545', '961', '21735077', 156), ('DS157', 'TGH157', 'KC157', '679', '21101396', '732', '22600335', 157), ('DS158', 'TGH158', 'KC158', '800', '28051259', '1077', '37670397', 158), ('DS159', 'TGH159', 'KC159', '1953', '150326401', '0', '0', 159), ('DS160', 'TGH160', 'KC160', '1419', '48135960', '165', '6047610', 160), ('DS161', 'TGH161', 'KC161', '572', '13132828', '1660', '45904738', 161), ('DS162', 'TGH162', 'KC162', '891', '56331872', '1011', '25711809', 162), ('DS163', 'TGH163', 'KC163', '1651', '82124921', '269', '6814545', 163), ('DS164', 'TGH164', 'KC164', '200', '5156309', '1778', '49405013', 164), ('DS165', 'TGH165', 'KC165', '1098', '18782513', '1214', '25904180', 165), ('DS166', 'TGH166', 'KC166', '1388', '26044135', '236', '11902533', 166), ('DS167', 'TGH167', 'KC167', '789', '23364594', '1221', '44571937', 167), ('DS168', 'TGH168', 'KC168', '3791', '108628411', '0', '0', 168), ('DS169', 'TGH169', 'KC169', '1321', '57873518', '0', '0', 169), ('DS170', 'TGH170', 'KC170', '1780', '55196033', '734', '19392585', 170), ('DS171', 'TGH171', 'KC171', '1542', '47711980', '0', '0', 171), ('DS172', 'TGH172', 'KC172', '740', '30857800', '630', '27997194', 172), ('DS173', 'TGH173', 'KC173', '613', '46322015', '613', '35515315', 173), ('DS174', 'TGH174', 'KC174', '922', '42302497', '0', '0', 174), ('DS175', 'TGH175', 'KC175', '227', '9259839', '660', '20035367', 175), ('DS176', 'TGH176', 'KC176', '562', '20119155', '466', '17878282', 176), ('DS177', 'TGH177', 'KC177', '567', '23432463', '0', '0', 177), ('DS178', 'TGH178', 'KC178', '659', '32878705', '0', '0', 178), ('DS179', 'TGH179', 'KC179', '660', '31229743', '500', '24656218', 179), ('DS180', 'TGH180', 'KC180', '779', '41434809', '464', '13722564', 180), ('DS181', 'TGH181', 'KC181', '882', '33332494', '529', '24122745', 181), ('DS182', 'TGH182', 'KC182', '590', '20061686', '0', '0', 182), ('DS183', 'TGH183', 'KC183', '599', '16430711', '748', '20218250', 183), ('DS184', 'TGH184', 'KC184', '844', '31637230', '403', '13562954', 184), ('DS185', 'TGH185', 'KC185', '630', '20866172', '383', '11588268', 185), ('DS186', 'TGH186', 'KC186', '325', '17922291', '560', '23277630', 186), ('DS187', 'TGH187', 'KC187', '1171', '32294153', '1068', '39842605', 187), ('DS188', 'TGH188', 'KC188', '3753', '119931989', '0', '0', 188), ('DS189', 'TGH189', 'KC189', '1005', '26833863', '748', '16181639', 189), ('DS190', 'TGH190', 'KC190', '1274', '30797169', '302', '8509242', 190), ('DS191', 'TGH191', 'KC191', '1460', '33165741', '731', '18765851', 191), ('DS192', 'TGH192', 'KC192', '1695', '30586903', '0', '0', 192), ('DS193', 'TGH193', 'KC193', '893', '18646016', '0', '0', 193), ('DS194', 'TGH194', 'KC194', '1023', '30970423', '0', '0', 194), ('DS195', 'TGH195', 'KC195', '1366', '55608903', '0', '0', 195), ('DS196', 'TGH196', 'KC196', '927', '26817948', '0', '0', 196), ('DS197', 'TGH197', 'KC197', '611', '11238482', '0', '0', 197), ('DS198', 'TGH198', 'KC198', '492', '16109754', '0', '0', 198), ('DS199', 'TGH199', 'KC199', '1191', '31479244', '383', '17618350', 199), ('DS200', 'TGH200', 'KC200', '560', '15715299', '0', '0', 200), ('DS201', 'TGH201', 'KC201', '366', '32662260', '428', '20334926', 201), ('DS202', 'TGH202', 'KC202', '658', '28029728', '0', '0', 202), ('DS203', 'TGH203', 'KC203', '742', '19309563', '0', '0', 203), ('DS204', 'TGH204', 'KC204', '873', '26666468', '358', '8987623', 204), ('DS205', 'TGH205', 'KC205', '639', '21330639', '334', '14041970', 205), ('DS206', 'TGH206', 'KC206', '923', '22418679', '0', '0', 206), ('DS207', 'TGH207', 'KC207', '717', '33133960', '373', '14316956', 207), ('DS208', 'TGH208', 'KC208', '1008', '20541083', '185', '4861848', 208), ('DS209', 'TGH209', 'KC209', '2701', '122442676', '1222', '67930757', 209), ('DS210', 'TGH210', 'KC210', '1359', '52321901', '431', '18849457', 210), ('DS211', 'TGH211', 'KC211', '640', '18862027', '318', '11393767', 211), ('DS212', 'TGH212', 'KC212', '1033', '29903900', '0', '0', 212), ('DS213', 'TGH213', 'KC213', '1449', '32693408', '0', '0', 213), ('DS214', 'TGH214', 'KC214', '1075', '85847066', '0', '0', 214), ('DS215', 'TGH215', 'KC215', '2.28', '97173355', '813', '32246926', 215), ('DS216', 'TGH216', 'KC216', '1290', '46051363', '0', '0', 216), ('DS217', 'TGH217', 'KC217', '1414', '29257646', '537', '11244181', 217), ('DS218', 'TGH218', 'KC218', '865', '27345178', '120', '3615342', 218), ('DS219', 'TGH219', 'KC219', '655', '27270423', '0', '0', 219), ('DS220', 'TGH220', 'KC220', '1062', '32601437', '356', '10230680', 220), ('DS221', 'TGH221', 'KC221', '1971', '115511212', '758', '38484641', 221), ('DS222', 'TGH222', 'KC222', '997', '21357796', '0', '0', 222), ('DS223', 'TGH223', 'KC223', '366', '11576532', '506', '15010257', 223), ('DS224', 'TGH224', 'KC224', '1370', '33698794', '0', '0', 224), ('DS225', 'TGH225', 'KC225', '1485', '49482342', '0', '0', 225), ('DS226', 'TGH226', 'KC226', '1515', '31144368', '0', '0', 226), ('DS227', 'TGH227', 'KC227', '1420', '34089083', '0', '0', 227), ('DS228', 'TGH228', 'KC228', '1082', '21736380', '830', '22887666', 228), ('DS229', 'TGH229', 'KC229', '679', '15821084', '122', '3789365', 229), ('DS230', 'TGH230', 'KC230', '1378', '36203453', '0', '0', 230), ('DS231', 'TGH231', 'KC231', '1232', '27347031', '0', '0', 231), ('DS232', 'TGH232', 'KC232', '1142', '28621805', '0', '0', 232), ('DS233', 'TGH233', 'KC233', '655', '56805404', '790', '67919066', 233), ('DS234', 'TGH234', 'KC234', '676', '109877175', '153', '8942304', 234), ('DS235', 'TGH235', 'KC235', '651', '32457200', '329', '13770069', 235), ('DS236', 'TGH236', 'KC236', '484', '29274793', '515', '27566352', 236), ('DS237', 'TGH237', 'KC237', '418', '11060609', '1019', '34376944', 237), ('DS238', 'TGH238', 'KC238', '371', '84039562', '934', '82302616', 238), ('DS239', 'TGH239', 'KC239', '611', '50893593', '470', '20169212', 239), ('DS240', 'TGH240', 'KC240', '737', '43879262', '946', '57217369', 240), ('DS241', 'TGH241', 'KC241', '804', '61807805', '646', '28305739', 241), ('DS242', 'TGH242', 'KC242', '781', '21288002', '699', '18895975', 242), ('DS243', 'TGH243', 'KC243', '1074', '31073791', '0', '0', 243), ('DS244', 'TGH244', 'KC244', '647', '22254959', '464', '14987960', 244), ('DS245', 'TGH245', 'KC245', '1418', '65871175', '344', '11398581', 245), ('DS246', 'TGH246', 'KC246', '1786', '32628457', '0', '0', 246), ('DS247', 'TGH247', 'KC247', '747', '9321437', '951', '12757432', 247), ('DS248', 'TGH248', 'KC248', '840', '21027374', '0', '0', 248), ('DS249', 'TGH249', 'KC249', '619', '17723778', '927', '331651873', 249), ('DS250', 'TGH250', 'KC250', '578', '21424506', '719', '32703906', 250), ('DS251', 'TGH251', 'KC251', '465', '37989108', '800', '35200450', 251), ('DS252', 'TGH252', 'KC252', '832', '31190156', '921', '40560726', 252), ('DS253', 'TGH253', 'KC253', '1150', '38966968', '1282', '49966934', 253), ('DS254', 'TGH254', 'KC254', '337', '51706322', '564', '32359481', 254), ('DS255', 'TGH255', 'KC255', '340', '32472374', '1041', '37426619', 255), ('DS256', 'TGH256', 'KC256', '165', '2445562', '536', '13431179', 256), ('DS257', 'TGH257', 'KC257', '22', '430106', '720', '12308994', 257), ('DS258', 'TGH258', 'KC258', '29', '770876', '1699', '27017892', 258), ('DS259', 'TGH259', 'KC259', '992', '33496019', '718', '30418511', 259), ('DS260', 'TGH260', 'KC260', '779', '28661525', '0', '0', 260), ('DS261', 'TGH261', 'KC261', '812', '20211212', '0', '0', 261), ('DS262', 'TGH262', 'KC262', '871', '31732017', '0', '0', 262), ('DS263', 'TGH263', 'KC263', '1498', '43447226', '727', '19492114', 263), ('DS264', 'TGH264', 'KC264', '440', '16813382', '509', '18991764', 264), ('DS265', 'TGH265', 'KC265', '1103', '120885410', '441', '29773589', 265), ('DS266', 'TGH266', 'KC266', '665', '23073534', '537', '13590400', 266), ('DS267', 'TGH267', 'KC267', '966', '34366966', '219', '11031125', 267), ('DS268', 'TGH268', 'KC268', '920', '57111815', '219', '12212453', 268), ('DS269', 'TGH269', 'KC269', '690', '45418272', '181', '12752698', 269), ('DS270', 'TGH270', 'KC270', '843', '42233115', '1', '37437', 270), ('DS271', 'TGH271', 'KC271', '849', '50050295', '1212', '116287966', 271), ('DS272', 'TGH272', 'KC272', '1078', '156454606', '405', '23841881', 272), ('DS273', 'TGH273', 'KC273', '904', '38218770', '0', '0', 273), ('DS274', 'TGH274', 'KC274', '738', '55219504', '427', '18735423', 274), ('DS275', 'TGH275', 'KC275', '1591', '36437750', '0', '0', 275), ('DS276', 'TGH276', 'KC278', '100', '1950635', '2.036', '53557888', 276), ('DS277', 'TGH277', 'KC277', '313', '10632479', '1405', '38919003', 277), ('DS278', 'TGH278', 'KC278', '204', '4153450', '582', '10499894', 278), ('DS279', 'TGH279', 'KC279', '281', '6589691', '983', '26983053', 279), ('DS280', 'TGH280', 'KC280', '135', '2689296', '731', '15828064', 280), ('DS281', 'TGH281', 'KC281', '0', '0', '1215', '20205832', 281), ('DS282', 'TGH282', 'KC282', '206', '3497306', '1375', '28913347', 282), ('DS283', 'TGH283', 'KC283', '277', '3666114', '1358', '26541854', 283), ('DS284', 'TGH284', 'KC284', '171', '2935742', '737', '24689306', 284), ('DS285', 'TGH285', 'KC285', '176', '3869922', '1031', '39312470', 285); -- -------------------------------------------------------- -- -- Struktur dari tabel `users` -- CREATE TABLE `users` ( `id` int(4) NOT NULL, `username` varchar(30) NOT NULL, `password` varchar(30) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `users` -- INSERT INTO `users` (`id`, `username`, `password`) VALUES (1, 'admin', '<PASSWORD>'); -- -- Indexes for dumped tables -- -- -- Indexes for table `desa` -- ALTER TABLE `desa` ADD PRIMARY KEY (`ID_DESA`); -- -- Indexes for table `kecamatan` -- ALTER TABLE `kecamatan` ADD PRIMARY KEY (`ID_KECAMATAN`); -- -- Indexes for table `laporan` -- ALTER TABLE `laporan` ADD PRIMARY KEY (`ID_DESA`); -- -- Indexes for table `tagihan` -- ALTER TABLE `tagihan` ADD PRIMARY KEY (`id_tghan`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `tagihan` -- ALTER TABLE `tagihan` MODIFY `id_tghan` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=286; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
select name from Employee where months < 10 and salary > 2000 order by employee_id;
<filename>SCRIPTS/fscanavg.sql REM FILE NAME: fscanavg.sql REM LOCATION: System Monitoring\Reports REM FUNCTION: Report the average lengths of the full table scans by user REM TESTED ON: 7.3.3.5, 8.0.4.1, 8.1.5, 8.1.7, 9.0.1 REM PLATFORM: non-specific REM REQUIRES: Full_Table_Scans (created by fullscan.sql) REM REM This is a part of the Knowledge Xpert for Oracle Administration library. REM Copyright (C) 2001 Quest Software REM All rights reserved. REM REM******************** Knowledge Xpert for Oracle Administration ******************** REM TTITLE 'AVERAGE SCAN LENGTH OF FULL TABLE SCANS BY USER ' SPOOL rep_out\fscanavg SELECT "User Process", ( "Rows Retrieved" - ("Short Scans" * 5) ) / ("Long Scans") "Average Long Scan Length" FROM full_table_scans WHERE "Long Scans" != 0 ORDER BY "Long Scans" DESC; SPOOL OFF TTITLE OFF
USE [Commerce] GO /****** Object: Table [dbo].[Product] Script Date: 9/7/2017 8:22:58 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Product]( [ID] [int] IDENTITY(1,1) NOT NULL, [CategoryID] [int] NULL, [Description] [nvarchar](50) NULL, [DiscountAmount] [decimal](18, 0) NULL, [DiscountPercent] [decimal](18, 0) NULL, [LargePhotoFile] [nvarchar](max) NULL, [ListPrice] [decimal](18, 0) NULL, [Name] [nvarchar](50) NULL, [SummaryDescription] [nvarchar](max) NULL, [ThumbnailFileName] [nvarchar](max) NULL ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] GO
CREATE TABLE IF NOT EXISTS `xcolab_BalloonLink` ( `uuid_` varchar(75) NOT NULL PRIMARY KEY, `targetUrl` varchar(75) DEFAULT NULL, `visits` int(11) DEFAULT NULL, `balloonUserUuid` varchar(75) DEFAULT NULL, `createDate` datetime DEFAULT NULL, INDEX `IX_1AD9FFEC` (`balloonUserUuid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; CREATE TABLE IF NOT EXISTS `xcolab_BalloonText` ( id_ bigint auto_increment PRIMARY KEY, name varchar(75) null, textBeforeForm longtext null, textBeforeShareButtons longtext null, emailTemplate longtext null, emailSubjectTemplate varchar(255) null, shareTitle varchar(255) null, shareDescription text null, enabled tinyint null, INDEX `IX_CE6BAAA5` (`enabled`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; CREATE TABLE IF NOT EXISTS `xcolab_BalloonUserTracking` ( `uuid_` varchar(75) NOT NULL PRIMARY KEY, `email` varchar(200) DEFAULT NULL, `parent` varchar(75) DEFAULT NULL, `ip` varchar(75) DEFAULT NULL, `createDate` datetime DEFAULT NULL, `registrationDate` datetime DEFAULT NULL, `formFiledDate` datetime DEFAULT NULL, `userId` bigint(20) DEFAULT NULL, `balloonTextId` bigint(20) DEFAULT NULL, `referrer` varchar(500) DEFAULT NULL, `latitude` double DEFAULT NULL, `longitude` double DEFAULT NULL, `city` varchar(75) DEFAULT NULL, `country` varchar(75) DEFAULT NULL, `extraData` longtext, `balloonLinkUuid` varchar(75) DEFAULT NULL, `balloonLinkContext` varchar(75) DEFAULT NULL, `userAgent` varchar(500) DEFAULT NULL, INDEX `IX_AFDD82EB` (`email`(50)) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; CREATE TABLE IF NOT EXISTS `xcolab_TrackedVisit` ( `id_` bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY, `uuid_` varchar(36) DEFAULT NULL, `ip` varchar(45) DEFAULT NULL, `city` varchar(255) DEFAULT NULL, `country` varchar(2) DEFAULT NULL, `url` varchar(2048) DEFAULT NULL, `browser` longtext, `headers` longtext, `referer` varchar(2048) DEFAULT NULL, `createDate` datetime DEFAULT NULL, INDEX `IX_21569857` (`uuid_`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; CREATE TABLE IF NOT EXISTS `xcolab_TrackedVisitor2User` ( `uuid_` varchar(36) NOT NULL PRIMARY KEY, `userId` bigint(20) DEFAULT NULL, `createDate` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
<gh_stars>0 use mysql; grant usage on * to 'myfx'@'localhost', '<EMAIL>'@'<EMAIL>'; revoke all privileges, grant option from 'myfx'@'localhost', '<EMAIL>'@'<EMAIL>'; grant select, insert, update, delete, lock tables, create, execute, drop, create temporary tables on `myfx`.* to 'myfx'@'localhost' identified by 'passwd', '<EMAIL>'<EMAIL>' identified by 'passwd'; flush privileges;
<reponame>bbortt/codebase<gh_stars>0 ALTER TABLE game ADD COLUMN possession_team_id BIGINT, ADD CONSTRAINT fk_team3 FOREIGN KEY (possession_team_id) REFERENCES team (id);
CREATE TABLE IF NOT EXISTS `bbs_replies` ( `replyid` int(10) UNSIGNED NOT NULL, `threadid` int(10) UNSIGNED NOT NULL, `postercid` int(10) UNSIGNED NOT NULL, `timestamp` bigint(20) UNSIGNED NOT NULL, `content` varchar(26) NOT NULL DEFAULT '', `guildid` int(11) NOT NULL DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; ALTER TABLE `bbs_replies` ADD PRIMARY KEY (`replyid`);
<filename>migrations/auth/templates/template.up.sql<gh_stars>100-1000 -- Put upgrade SQL here
SET search_path = public; DROP FUNCTION gp_heap_distribution_check(text); DROP FUNCTION gp_distribution_policy_heap_table_check(oid, smallint[]);
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; CREATE TABLE `auth_assignment` ( `item_name` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, `user_id` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; CREATE TABLE `auth_item` ( `name` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, `type` smallint(6) NOT NULL, `description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `rule_name` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `data` blob DEFAULT NULL, `created_at` int(11) DEFAULT NULL, `updated_at` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; INSERT INTO `auth_item` (`name`, `type`, `description`, `rule_name`, `data`, `created_at`, `updated_at`) VALUES ('Access db', 2, 'Access db', NULL, NULL, 1577737693, 1577737693), ('Access db1', 2, 'Access db1', NULL, NULL, 1577737634, 1577737634), ('Access db2', 2, 'Access db2', NULL, NULL, 1578741528, 1578741528), ('Access db3', 2, 'Access db3', NULL, NULL, 1581581742, 1581581762), ('Access db4', 2, 'Access db4', NULL, NULL, 1581667052, 1581667052), ('Access db5', 2, 'Access db5', NULL, NULL, 1584401458, 1584401458), ('Access db6', 2, 'Access db6', NULL, NULL, 1584401458, 1584401458), ('Access db7', 2, 'Access db7', NULL, NULL, 1579035389, 1579035389), ('Access db8', 2, 'Access db8', NULL, NULL, 1579035389, 1579035389), ('Access db9', 2, 'Access db9', NULL, NULL, 1579035389, 1579035389), ('Access db10', 2, 'Access db10', NULL, NULL, 1579035389, 1579035389), ('Access paypalagreement', 2, 'Access the Paypal Agreement', NULL, NULL, 1577804284, 1577804284), ('Access Session', 2, 'Access Session', NULL, NULL, 1565127671, 1565209503), ('Access Sessiondetail', 2, 'Access Sessiondetail', NULL, NULL, 1565127753, 1565127753), ('admin', 1, 'Administrator of the first database which serves to record all user data of the site. Users that are allowed to signup are designated a Manager role manually. ', NULL, NULL, 1577666562, 1584471479), ('Create Carousal', 2, 'Create Carousal', NULL, NULL, 1544661317, 1544661317), ('Create Company', 2, 'Create Company', NULL, NULL, 1512856530, 1549635086), ('Create Daily Clean', 2, 'Create Daily Clean', NULL, NULL, 1512856530, 1512856530), ('Create Daily Job Sheet', 2, 'Create Daily Job Sheet', NULL, NULL, 1512856530, 1512856530), ('Create Employee', 2, 'Create Employee', NULL, NULL, 1512856530, 1549631754), ('Create Gocardlesscustomer', 2, 'Create Gocardlesscustomer', NULL, NULL, 1564057944, 1564057944), ('Create House', 2, 'Create House', NULL, NULL, 1512856530, 1549631786), ('Create Instruction', 2, 'Create Instruction', NULL, NULL, 1549631630, 1549635056), ('Create Legal', 2, 'Create Legal', NULL, NULL, 1563032629, 1563032629), ('Create Mandate', 2, 'Create Mandate', NULL, NULL, 1564647598, 1564647598), ('Create Messagelog', 2, 'Create Messagelog', NULL, NULL, 1544660727, 1544660727), ('Create Messaging', 2, 'Create Messaging', NULL, NULL, 1544659806, 1544659991), ('Create Postalcode', 2, 'Create Postalcode', NULL, NULL, 1512856531, 1549634117), ('Create Street', 2, 'Create Street', NULL, NULL, 1512856530, 1512856530), ('Create Tax', 2, 'Create Tax', NULL, NULL, 1544662943, 1544662943), ('createItem', 2, 'Create item', NULL, NULL, 1577666562, 1577666562), ('Delete Carousal', 2, 'Delete Carousal', NULL, NULL, 1544661364, 1544661364), ('Delete Company', 2, 'Delete Company', NULL, NULL, 1512856530, 1512856530), ('Delete Daily Clean', 2, 'Delete Daily Clean', NULL, NULL, 1512856530, 1512856530), ('Delete Daily Job Sheet', 2, 'Delete Daily Job Sheet', NULL, NULL, 1512856530, 1512856530), ('Delete Employee', 2, 'Delete Employee', NULL, NULL, 1512856530, 1512856530), ('Delete House', 2, 'Delete House', NULL, NULL, 1512856530, 1512856530), ('Delete Instruction', 2, 'Delete Instruction', NULL, NULL, 1549634229, 1549634229), ('Delete Mandate', 2, 'Delete Mandate', NULL, NULL, 1564647708, 1564647708), ('Delete Messagelog', 2, 'Delete Messagelog', NULL, NULL, 1544660767, 1544660767), ('Delete Messaging', 2, 'Delete Messaging', NULL, NULL, 1544660079, 1544660079), ('Delete Postalcode', 2, 'Delete Postalcode', NULL, NULL, 1512856531, 1512856531), ('Delete Street', 2, 'Delete Street', NULL, NULL, 1512856531, 1549633538), ('Delete Tax', 2, 'Delete Tax', NULL, NULL, 1544662983, 1544662983), ('deleteItem', 2, 'Delete item', NULL, NULL, 1577666562, 1577666562), ('demo', 1, 'demo', NULL, NULL, 1584405564, 1584889800), ('Import Houses', 2, 'Import Houses', NULL, NULL, 1573842472, 1573842472), ('Manage Admin', 2, 'Manage Admin', NULL, NULL, 1577744346, 1577744346), ('Manage Basic', 2, 'Perform Basic Tasks', NULL, NULL, 1578419959, 1578419959), ('Manage Money', 2, 'Manage Money', NULL, NULL, 1546700864, 1546700864), ('manageRoles', 2, 'Manage Roles and Permissions', NULL, NULL, 1577666562, 1577666562), ('manageUsers', 2, 'Manage Users', NULL, NULL, 1577666562, 1577666562), ('Mdb0', 1, 'Manager of db', NULL, NULL, 1577738006, 1583578098), ('Mdb1', 1, 'Manager of db1', NULL, NULL, 1577738006, 1583578098), ('Mdb2', 1, 'Manager of db2', NULL, NULL, 1578741488, 1584409353), ('Mdb3', 1, 'Manager of db3', NULL, NULL, 1581581720, 1581666851), ('Mdb4', 1, 'Manager of db4', NULL, NULL, 1581666990, 1583577278), ('Mdb5', 1, 'Manager of db5', NULL, NULL, 1584401245, 1584471624), ('Mdb6', 1, 'Manager of db6', NULL, NULL, 1584401245, 1584471624), ('Mdb7', 1, 'Manager of db7', NULL, NULL, 1579035344, 1584471378), ('Mdb8', 1, 'Manager of db8', NULL, NULL, 1579035344, 1584471378), ('Mdb9', 1, 'Manager of db9', NULL, NULL, 1579035344, 1584471378), ('Mdb10', 1, 'Manager of db10', NULL, NULL, 1579035344, 1584471378), ('See Prices', 2, 'See Prices', NULL, NULL, 1583610917, 1583610917), ('Subscription Free Privilege', 2, 'A Paypal Subscription is Not Necessary For This User', NULL, NULL, 1580914633, 1580914876), ('support', 1, 'Create, update, delete all company specific data specific to designated company database. Mdb roles subservient to support role. ', NULL, NULL, 1577666562, 1584883604), ('Udb0', 1, 'Subcontractor of db', NULL, NULL, 1583583080, 1583583080), ('Udb1', 1, 'Subcontractor of db1', NULL, NULL, 1583583080, 1583583080), ('Udb2', 1, 'Subcontractor of db2', NULL, NULL, 1583583080, 1583583080), ('Udb3', 1, 'Subcontractor of db3', NULL, NULL, 1583578326, 1583580986), ('Udb4', 1, 'Subcontractor of db4', NULL, NULL, 1583577262, 1583581014), ('Udb5', 1, 'Subcontractor of db5', NULL, NULL, 1584402344, 1584471662), ('Udb6', 1, 'Subcontractor of db6', NULL, NULL, 1584402344, 1584471662), ('Udb7', 1, 'Subcontractor of db7', NULL, NULL, 1584402344, 1584471662), ('Udb8', 1, 'Subcontractor of db8', NULL, NULL, 1584402344, 1584471662), ('Udb9', 1, 'Subcontractor of db9', NULL, NULL, 1584402344, 1584471662), ('Udb10', 1, 'Subcontractor of db10', NULL, NULL, 1584402344, 1584471662), ('Update Carousal', 2, 'Update Carousal', NULL, NULL, 1544661341, 1544661341), ('Update Company', 2, 'Update Company', NULL, NULL, 1512856530, 1512856530), ('Update Daily Clean', 2, 'Update Daily Clean', NULL, NULL, 1512856530, 1512856530), ('Update Daily Job Sheet', 2, 'Update Daily Job Sheet', NULL, NULL, 1512856530, 1512856530), ('Update Employee', 2, 'Update Employee', NULL, NULL, 1512856530, 1512856530), ('Update House', 2, 'Update House', NULL, NULL, 1512856530, 1512856530), ('Update Instruction', 2, 'Update Instruction', NULL, NULL, 1549634253, 1549634253), ('Update Mandate', 2, 'Update Mandate', NULL, NULL, 1564647635, 1564647635), ('Update Messagelog', 2, 'Update Messagelog', NULL, NULL, 1544660748, 1544660748), ('Update Messaging', 2, 'Update Messaging', NULL, NULL, 1544660035, 1544660035), ('Update Postalcode', 2, 'Update Postalcode', NULL, NULL, 1512856531, 1512856531), ('Update Street', 2, 'Update Street', NULL, NULL, 1512856531, 1512856531), ('Update Tax', 2, 'Update Tax', NULL, NULL, 1544662962, 1544662962), ('updateCommonUser', 2, 'Update user data, but not those of \'admin\'', NULL, NULL, 1577666562, 1577666562), ('updateCreatedItem', 2, 'Update own item', NULL, NULL, 1577666562, 1577666562), ('updateItem', 2, 'Update item', NULL, NULL, 1577666562, 1577666562), ('updateUser', 2, 'Update user data', NULL, NULL, 1577666562, 1577666562), ('View Bulletin Board', 2, 'View Bulletin Board', NULL, NULL, 1563826631, 1563826631), ('View Carousal', 2, 'View Carousal', NULL, NULL, 1558795525, 1558795525), ('View Company', 2, 'View Company', NULL, NULL, 1512856530, 1512856530), ('View Daily Clean', 2, 'View Daily Clean', NULL, NULL, 1546702743, 1546702743), ('View House', 2, 'View House', NULL, NULL, 1583581575, 1583581575), ('View Instruction', 2, 'View Instruction', NULL, NULL, 1549634202, 1549635005), ('View Mandate', 2, 'View Mandate', NULL, NULL, 1564647670, 1564647670), ('View Revenue Reports', 2, 'View Revenue Reports', NULL, NULL, 1564039903, 1564039903); ALTER TABLE `auth_item` ADD PRIMARY KEY (`name`), ADD KEY `rule_name` (`rule_name`), ADD KEY `idx-auth_item-type` (`type`); SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; CREATE TABLE `auth_item_child` ( `parent` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, `child` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; INSERT INTO `auth_item_child` (`parent`, `child`) VALUES ('admin', 'Access db'), ('admin', 'Access paypalagreement'), ('admin', 'Access Session'), ('admin', 'Access Sessiondetail'), ('admin', 'Create Carousal'), ('admin', 'Create Company'), ('admin', 'Create Daily Clean'), ('admin', 'Create Daily Job Sheet'), ('admin', 'Create Employee'), ('admin', 'Create Gocardlesscustomer'), ('admin', 'Create House'), ('admin', 'Create Instruction'), ('admin', 'Create Legal'), ('admin', 'Create Mandate'), ('admin', 'Create Messagelog'), ('admin', 'Create Messaging'), ('admin', 'Create Postalcode'), ('admin', 'Create Street'), ('admin', 'Create Tax'), ('admin', 'createItem'), ('admin', 'Delete Carousal'), ('admin', 'Delete Company'), ('admin', 'Delete Daily Clean'), ('admin', 'Delete Daily Job Sheet'), ('admin', 'Delete Employee'), ('admin', 'Delete House'), ('admin', 'Delete Instruction'), ('admin', 'Delete Mandate'), ('admin', 'Delete Messagelog'), ('admin', 'Delete Messaging'), ('admin', 'Delete Postalcode'), ('admin', 'Delete Street'), ('admin', 'Delete Tax'), ('admin', 'deleteItem'), ('admin', 'Import Houses'), ('admin', 'Manage Admin'), ('admin', 'Manage Basic'), ('admin', 'Manage Money'), ('admin', 'manageRoles'), ('admin', 'manageUsers'), ('admin', 'See Prices'), ('admin', 'Subscription Free Privilege'), ('admin', 'Update Carousal'), ('admin', 'Update Company'), ('admin', 'Update Daily Clean'), ('admin', 'Update Daily Job Sheet'), ('admin', 'Update Employee'), ('admin', 'Update House'), ('admin', 'Update Instruction'), ('admin', 'Update Mandate'), ('admin', 'Update Messagelog'), ('admin', 'Update Messaging'), ('admin', 'Update Postalcode'), ('admin', 'Update Street'), ('admin', 'Update Tax'), ('admin', 'updateCreatedItem'), ('admin', 'updateItem'), ('admin', 'updateUser'), ('admin', 'View Bulletin Board'), ('admin', 'View Carousal'), ('admin', 'View Company'), ('admin', 'View Daily Clean'), ('admin', 'View House'), ('admin', 'View Instruction'), ('admin', 'View Mandate'), ('admin', 'View Revenue Reports'), ('demo', 'Create Carousal'), ('demo', 'Create Daily Clean'), ('demo', 'Create Daily Job Sheet'), ('demo', 'Create Employee'), ('demo', 'Create Gocardlesscustomer'), ('demo', 'Create House'), ('demo', 'Create Instruction'), ('demo', 'Create Mandate'), ('demo', 'Create Messagelog'), ('demo', 'Create Messaging'), ('demo', 'Create Postalcode'), ('demo', 'Create Street'), ('demo', 'Create Tax'), ('demo', 'Delete Carousal'), ('demo', 'Delete Daily Clean'), ('demo', 'Delete Daily Job Sheet'), ('demo', 'Delete Employee'), ('demo', 'Delete House'), ('demo', 'Delete Instruction'), ('demo', 'Delete Mandate'), ('demo', 'Delete Messagelog'), ('demo', 'Delete Messaging'), ('demo', 'Delete Postalcode'), ('demo', 'Delete Street'), ('demo', 'Delete Tax'), ('demo', 'Import Houses'), ('demo', 'Manage Basic'), ('demo', 'Manage Money'), ('demo', 'manageUsers'), ('demo', 'See Prices'), ('demo', 'Update Carousal'), ('demo', 'Update Daily Clean'), ('demo', 'Update Daily Job Sheet'), ('demo', 'Update Employee'), ('demo', 'Update House'), ('demo', 'Update Instruction'), ('demo', 'Update Mandate'), ('demo', 'Update Messagelog'), ('demo', 'Update Messaging'), ('demo', 'Update Postalcode'), ('demo', 'Update Street'), ('demo', 'Update Tax'), ('demo', 'View Carousal'), ('demo', 'View Company'), ('demo', 'View Daily Clean'), ('demo', 'View House'), ('demo', 'View Instruction'), ('demo', 'View Revenue Reports'), ('employee', 'Manage Basic'), ('Mdb0', 'Access db'), ('Mdb0', 'manageUsers'), ('Mdb0', 'Subscription Free Privilege'), ('Mdb0', 'support'), ('Mdb1', 'Access db1'), ('Mdb1', 'Subscription Free Privilege'), ('Mdb1', 'support'), ('Mdb2', 'Access db2'), ('Mdb2', 'Subscription Free Privilege'), ('Mdb2', 'support'), ('Mdb3', 'Access db3'), ('Mdb3', 'Subscription Free Privilege'), ('Mdb3', 'support'), ('Mdb4', 'Access db4'), ('Mdb4', 'Subscription Free Privilege'), ('Mdb4', 'support'), ('Mdb5', 'Access db5'), ('Mdb5', 'Subscription Free Privilege'), ('Mdb5', 'support'), ('Mdb6', 'Access db6'), ('Mdb6', 'Subscription Free Privilege'), ('Mdb6', 'support'), ('Mdb7', 'Access db7'), ('Mdb7', 'Subscription Free Privilege'), ('Mdb7', 'support'), ('Mdb8', 'Access db8'), ('Mdb8', 'Subscription Free Privilege'), ('Mdb8', 'support'), ('Mdb9', 'Access db9'), ('Mdb9', 'Subscription Free Privilege'), ('Mdb9', 'support'), ('Mdb10', 'Access db10'), ('Mdb10', 'Subscription Free Privilege'), ('Mdb10', 'support'), ('support', 'Create Carousal'), ('support', 'Create Daily Clean'), ('support', 'Create Daily Job Sheet'), ('support', 'Create Employee'), ('support', 'Create Gocardlesscustomer'), ('support', 'Create House'), ('support', 'Create Instruction'), ('support', 'Create Mandate'), ('support', 'Create Messagelog'), ('support', 'Create Messaging'), ('support', 'Create Postalcode'), ('support', 'Create Street'), ('support', 'Create Tax'), ('support', 'Delete Carousal'), ('support', 'Delete Daily Clean'), ('support', 'Delete Daily Job Sheet'), ('support', 'Delete Employee'), ('support', 'Delete House'), ('support', 'Delete Instruction'), ('support', 'Delete Mandate'), ('support', 'Delete Messagelog'), ('support', 'Delete Messaging'), ('support', 'Delete Postalcode'), ('support', 'Delete Street'), ('support', 'Delete Tax'), ('support', 'Import Houses'), ('support', 'Manage Basic'), ('support', 'Manage Admin'), ('support', 'Manage Money'), ('support', 'manageUsers'), ('support', 'See Prices'), ('support', 'Update Carousal'), ('support', 'Update Company'), ('support', 'Update Daily Clean'), ('support', 'Update Daily Job Sheet'), ('support', 'Update Employee'), ('support', 'Update House'), ('support', 'Update Instruction'), ('support', 'Update Mandate'), ('support', 'Update Messagelog'), ('support', 'Update Messaging'), ('support', 'Update Postalcode'), ('support', 'Update Street'), ('support', 'Update Tax'), ('support', 'updateCommonUser'), ('support', 'View Bulletin Board'), ('support', 'View Carousal'), ('support', 'View Company'), ('support', 'View Daily Clean'), ('support', 'View House'), ('support', 'View Instruction'), ('support', 'View Mandate'), ('support', 'View Revenue Reports'), ('Udb0', 'Access db'), ('Udb0', 'Subscription Free Privilege'), ('Udb0', 'View Daily Clean'), ('Udb0', 'employee'), ('Udb1', 'Access db1'), ('Udb1', 'Subscription Free Privilege'), ('Udb1', 'View Daily Clean'), ('Udb1', 'employee'), ('Udb2', 'Access db2'), ('Udb2', 'Subscription Free Privilege'), ('Udb2', 'View Daily Clean'), ('Udb2', 'employee'), ('Udb3', 'Access db3'), ('Udb3', 'Subscription Free Privilege'), ('Udb3', 'View Daily Clean'), ('Udb3', 'employee'), ('Udb4', 'Access db4'), ('Udb4', 'Subscription Free Privilege'), ('Udb4', 'View Daily Clean'), ('Udb4', 'employee'), ('Udb5', 'Access db5'), ('Udb5', 'Subscription Free Privilege'), ('Udb5', 'View Daily Clean'), ('Udb5', 'employee'), ('Udb6', 'Access db6'), ('Udb6', 'Subscription Free Privilege'), ('Udb6', 'View Daily Clean'), ('Udb6', 'employee'), ('Udb7', 'Access db7'), ('Udb7', 'Subscription Free Privilege'), ('Udb7', 'View Daily Clean'), ('Udb7', 'employee'), ('Udb8', 'Access db8'), ('Udb8', 'Subscription Free Privilege'), ('Udb8', 'View Daily Clean'), ('Udb8', 'employee'), ('Udb9', 'Access db9'), ('Udb9', 'Subscription Free Privilege'), ('Udb9', 'View Daily Clean'), ('Udb9', 'employee'), ('Udb10', 'Access db10'), ('Udb10', 'Subscription Free Privilege'), ('Udb10', 'View Daily Clean'), ('Udb10', 'employee'), ('updateCommonUser', 'updateUser'), ('updateCreatedItem', 'updateItem'); ALTER TABLE `auth_item_child` ADD PRIMARY KEY (`parent`,`child`), ADD KEY `child` (`child`); CREATE TABLE `auth_rule` ( `name` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, `data` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` int(11) DEFAULT NULL, `updated_at` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; INSERT INTO `auth_rule` (`name`, `data`, `created_at`, `updated_at`) VALUES ('hasNotRole', 'O:29:\"sjaakp\\pluto\\rbac\\NotRoleRule\":3:{s:4:\"name\";s:10:\"hasNotRole\";s:9:\"createdAt\";i:1577666562;s:9:\"updatedAt\";i:1577666562;}', 1577666562, 1577666562), ('hasRole', 'O:26:\"sjaakp\\pluto\\rbac\\RoleRule\":3:{s:4:\"name\";s:7:\"hasRole\";s:9:\"createdAt\";i:1577666562;s:9:\"updatedAt\";i:1577666562;}', 1577666562, 1577666562), ('isCreator', 'O:29:\"sjaakp\\pluto\\rbac\\CreatorRule\":3:{s:4:\"name\";s:9:\"isCreator\";s:9:\"createdAt\";i:1577666562;s:9:\"updatedAt\";i:1577666562;}', 1577666562, 1577666562), ('isCreatorOrUpdater', 'O:38:\"sjaakp\\pluto\\rbac\\CreatorOrUpdaterRule\":3:{s:4:\"name\";s:18:\"isCreatorOrUpdater\";s:9:\"createdAt\";i:1577666562;s:9:\"updatedAt\";i:1577666562;}', 1577666562, 1577666562), ('isUpdater', 'O:29:\"sjaakp\\pluto\\rbac\\UpdaterRule\":3:{s:4:\"name\";s:9:\"isUpdater\";s:9:\"createdAt\";i:1577666562;s:9:\"updatedAt\";i:1577666562;}', 1577666562, 1577666562); COMMIT;
DROP FUNCTION IF EXISTS get_case_transactions_by_type(TEXT, INTEGER); CREATE FUNCTION get_case_transactions_by_type(case_id TEXT, transaction_type INTEGER) RETURNS SETOF form_processor_casetransaction AS $$ CLUSTER '{{ PL_PROXY_CLUSTER_NAME }}'; RUN ON hash_string(case_id, 'siphash24'); $$ LANGUAGE plproxy;
-- @describe: 存储过程中调试语句 CREATE OR REPLACE PROCEDURE proc_raise6(user_id in integer) AS BEGIN RAISE EXCEPTION 'Noexistence ID --> %',user_id USING HINT = 'Please check your user ID'; END; / call proc_raise6(300011); drop PROCEDURE proc_raise6;
<filename>web/dbWebSource/table_types/select_options_tt.sql CREATE TYPE select_options_tt AS TABLE( select_id INT NULL ,code VARCHAR(30) NULL ,table_name VARCHAR(30) NULL ,text VARCHAR(500) NULL ,value VARCHAR(500) NULL ,condition_text VARCHAR(100) NULL ,order_by VARCHAR(100) NULL)
<gh_stars>0 -- phpMyAdmin SQL Dump -- version 4.6.5.2 -- https://www.phpmyadmin.net/ -- -- Хост: 127.0.0.1:3306 -- Время создания: Мар 15 2018 г., 23:31 -- Версия сервера: 5.5.53 -- Версия PHP: 7.0.14 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 */; -- -- База данных: `webshop` -- -- -------------------------------------------------------- -- -- Структура таблицы `categories` -- CREATE TABLE `categories` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `description` text 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; -- -- Дамп данных таблицы `categories` -- INSERT INTO `categories` (`id`, `name`, `slug`, `description`, `created_at`, `updated_at`) VALUES (1, 'Телевизоры', 'televizory', 'Описание категории телевизоров', '2018-03-15 15:49:31', '2018-03-15 16:04:06'), (4, 'Мобильные', 'mobile', 'Описание категории мобильные', '2018-03-15 15:50:50', '2018-03-15 15:50:50'); -- -------------------------------------------------------- -- -- Структура таблицы `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; -- -- Дамп данных таблицы `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_03_14_191635_create_posts_table', 1), (4, '2018_03_14_191655_create_categories_table', 1), (5, '2018_03_14_191717_create_products_table', 1), (6, '2018_03_15_202405_add_column_price_to_product', 2); -- -------------------------------------------------------- -- -- Структура таблицы `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; -- -------------------------------------------------------- -- -- Структура таблицы `posts` -- CREATE TABLE `posts` ( `id` int(10) UNSIGNED NOT NULL, `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `content` text COLLATE utf8mb4_unicode_ci NOT NULL, `image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 'img/no-image.jpg', `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Структура таблицы `products` -- CREATE TABLE `products` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `content` text COLLATE utf8mb4_unicode_ci NOT NULL, `image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 'img/no-product-image.jpg', `category_id` int(11) NOT NULL, `active` tinyint(1) NOT NULL DEFAULT '1', `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `price` decimal(10,2) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Дамп данных таблицы `products` -- INSERT INTO `products` (`id`, `name`, `slug`, `content`, `image`, `category_id`, `active`, `created_at`, `updated_at`, `price`) VALUES (1, 'Samsung', 'samsung', 'Описание телевизора samsung', 'img/no-product-image.jpg', 1, 1, '2018-03-15 16:30:51', '2018-03-15 17:30:02', '123.15'), (2, 'Nokia', 'nokia', 'Описание телефона Nokia', 'img/no-product-image.jpg', 4, 1, '2018-03-15 16:46:49', '2018-03-15 17:30:15', '123.15'), (3, 'LG', 'lg', 'Описание телевизора LG', 'img/no-product-image.jpg', 1, 1, '2018-03-15 16:47:14', '2018-03-15 17:30:30', '50.00'), (4, 'Xiaome', 'xiaome', 'Описание телефона Xiaome', 'img/no-product-image.jpg', 4, 1, '2018-03-15 16:47:38', '2018-03-15 17:30:38', '45.00'), (5, 'LG', 'lg-1', 'Lorem ipsum dollor', 'img/no-product-image.jpg', 1, 1, '2018-03-15 17:09:23', '2018-03-15 17:30:46', '100.00'), (6, 'Mobilephone', 'mobilephone', 'Lorem ipsum dollor', 'img/no-product-image.jpg', 4, 1, '2018-03-15 17:09:53', '2018-03-15 17:30:54', '90.00'); -- -------------------------------------------------------- -- -- Структура таблицы `users` -- CREATE TABLE `users` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Дамп данных таблицы `users` -- INSERT INTO `users` (`id`, `name`, `email`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES (1, 'admin', '<EMAIL>', <PASSWORD>', 'OyNcYwJ9reg2TszKrtvqXQih4n4ZVYDaUgiTno0mRmVrIcDdnfyMxGIiCIaQ', '2018-03-15 15:42:50', '2018-03-15 15:42:50'); -- -- Индексы сохранённых таблиц -- -- -- Индексы таблицы `categories` -- ALTER TABLE `categories` ADD PRIMARY KEY (`id`); -- -- Индексы таблицы `migrations` -- ALTER TABLE `migrations` ADD PRIMARY KEY (`id`); -- -- Индексы таблицы `password_resets` -- ALTER TABLE `password_resets` ADD KEY `password_resets_email_index` (`email`); -- -- Индексы таблицы `posts` -- ALTER TABLE `posts` ADD PRIMARY KEY (`id`); -- -- Индексы таблицы `products` -- ALTER TABLE `products` ADD PRIMARY KEY (`id`); -- -- Индексы таблицы `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `users_email_unique` (`email`); -- -- AUTO_INCREMENT для сохранённых таблиц -- -- -- AUTO_INCREMENT для таблицы `categories` -- ALTER TABLE `categories` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT для таблицы `migrations` -- ALTER TABLE `migrations` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT для таблицы `posts` -- ALTER TABLE `posts` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT для таблицы `products` -- ALTER TABLE `products` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT для таблицы `users` -- ALTER TABLE `users` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, 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>kwalm1/seniorMVCBar_N013 -- phpMyAdmin SQL Dump -- version 4.9.0.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Aug 29, 2019 at 06:52 PM -- Server version: 10.4.6-MariaDB -- PHP Version: 7.3.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: `dbdrinks` -- -- -------------------------------------------------------- -- -- Table structure for table `drinkqueue` -- CREATE TABLE `drinkqueue` ( `Id` int(50) NOT NULL, `Drink` varchar(50) NOT NULL, `Quantity` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `drinkqueue` -- INSERT INTO `drinkqueue` (`Id`, `Drink`, `Quantity`) VALUES (1, '<NAME>', 'one'), (2, '<NAME>', 'three'), (3, '<NAME>', 'four'), (4, '<NAME>', 'one'), (5, '<NAME>', 'three'), (6, '<NAME>', 'two'), (7, '<NAME>', 'four'); -- -- Indexes for dumped tables -- -- -- Indexes for table `drinkqueue` -- ALTER TABLE `drinkqueue` ADD PRIMARY KEY (`Id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `drinkqueue` -- ALTER TABLE `drinkqueue` MODIFY `Id` int(50) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; 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>rafiq/codeWars<gh_stars>0 select (n * 2 - 4) * 90 as res from angle;
CREATE TABLE catalogue.Suppliers_History ( Id int NOT NULL, [Name] nvarchar(255) NOT NULL, LegalName nvarchar(255) NOT NULL, Summary nvarchar(1100) NULL, SupplierUrl nvarchar(1000) NULL, [Address] nvarchar(500) NULL, Deleted bit NOT NULL, LastUpdated datetime2(7) NOT NULL, LastUpdatedBy int NULL, IsActive bit NOT NULL, SysStartTime datetime2(0) NOT NULL, SysEndTime datetime2(0) NOT NULL );
-- file:plpgsql.sql ln:4662 expect:true ANALYZE transition_table_level2
-- Scenario: -- * One junction table record per unique pair of nodes (enforced by PK constraint) -- * No additional junction table columns drop schema if exists a cascade; create schema a; create table a.foo ( foo_id integer primary key, foo_name text not null ); create table a.bar ( bar_id integer primary key, bar_name text not null ); create table a.junction ( j_foo_id integer references a.foo (foo_id), j_bar_id integer references a.bar (bar_id), primary key (j_foo_id, j_bar_id) );
<gh_stars>1-10 ------------------ select null as maint, 'nsp_a' UNION select 'analyze pg_amop', 'nsp_b' UNION select null, 'nsp_c' ------------------
SELECT mukey, pwsl1pomu FROM Valu1
-- Name: user_validated(text, text); Type: FUNCTION; Schema: basic_auth; Owner: - -- CREATE FUNCTION basic_auth.user_validated(email text, pass text) RETURNS timestamp with time zone LANGUAGE plpgsql AS $$ begin return ( select validated from basic_auth.users where users.email = user_validated.email and users.pass = crypt(user_validated.pass, users.pass) ); end; $$; --
-- 2019-07-01T15:09:08.926 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator INSERT INTO AD_Table_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Table_ID,AD_Table_Process_ID,Created,CreatedBy,EntityType,IsActive,Updated,UpdatedBy,WEBUI_DocumentAction,WEBUI_IncludedTabTopAction,WEBUI_ViewAction,WEBUI_ViewQuickAction,WEBUI_ViewQuickAction_Default) VALUES (0,0,221,600,540726,TO_TIMESTAMP('2019-07-01 15:09:08','YYYY-MM-DD HH24:MI:SS'),100,'D','Y',TO_TIMESTAMP('2019-07-01 15:09:08','YYYY-MM-DD HH24:MI:SS'),100,'Y','N','Y','N','N') ; -- 2019-07-02T13:56:41.966 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_Process_Para SET IsActive='N',Updated=TO_TIMESTAMP('2019-07-02 13:56:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=333 ; -- 2019-07-02T13:56:43.279 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_Process_Para SET IsActive='N',Updated=TO_TIMESTAMP('2019-07-02 13:56:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=334 ; -- 2019-07-02T13:56:54.330 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_Process_Para SET IsActive='N',Updated=TO_TIMESTAMP('2019-07-02 13:56:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=335 ; -- 2019-07-02T13:56:54.848 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_Process_Para SET IsActive='Y',Updated=TO_TIMESTAMP('2019-07-02 13:56:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=333 ; -- 2019-07-02T13:56:55.247 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_Process_Para SET IsActive='Y',Updated=TO_TIMESTAMP('2019-07-02 13:56:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=334 ; -- 2019-07-02T13:56:56.628 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_Process_Para SET IsActive='Y',Updated=TO_TIMESTAMP('2019-07-02 13:56:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=335 ; -- 2019-07-02T13:57:10.704 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_Process_Para SET IsActive='N',Updated=TO_TIMESTAMP('2019-07-02 13:57:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=335 ; -- 2019-07-02T13:57:11.246 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_Process_Para SET IsActive='N',Updated=TO_TIMESTAMP('2019-07-02 13:57:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=334 ; -- 2019-07-02T13:57:12.341 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_Process_Para SET IsActive='N',Updated=TO_TIMESTAMP('2019-07-02 13:57:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=333 ; -- 2019-07-02T13:57:28.015 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_Process SET Classname='de.metas.banking.impexp.BankStatementImportProcess',Updated=TO_TIMESTAMP('2019-07-02 13:57:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=221 ; -- 2019-07-02T14:01:42.435 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_Process SET Classname='de.metas.banking.impexp.ImportBankStatement',Updated=TO_TIMESTAMP('2019-07-02 14:01:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=221 ; -- 2019-07-03T12:00:33.724 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_Process_Para SET IsActive='Y',Updated=TO_TIMESTAMP('2019-07-03 12:00:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=335 ; -- 2019-07-03T12:00:34.173 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_Process_Para SET IsActive='Y',Updated=TO_TIMESTAMP('2019-07-03 12:00:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=334 ; -- 2019-07-03T12:00:35.617 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_Process_Para SET IsActive='Y',Updated=TO_TIMESTAMP('2019-07-03 12:00:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=333 ; -- 2019-07-03T15:04:09.181 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_Process_Para SET IsCentrallyMaintained='N',Updated=TO_TIMESTAMP('2019-07-03 15:04:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=333 ; -- 2019-07-03T15:04:10.011 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_Process_Para SET IsCentrallyMaintained='N',Updated=TO_TIMESTAMP('2019-07-03 15:04:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=334 ; -- 2019-07-03T15:04:11.112 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_Process_Para SET IsCentrallyMaintained='N',Updated=TO_TIMESTAMP('2019-07-03 15:04:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=336 ;
CREATE OR REPLACE VIEW rv_c_rfq_unanswered AS SELECT q.ad_client_id, q.ad_org_id, q.c_rfq_id, q.name, q.description, q.help, q.salesrep_id, q.c_rfq_topic_id , q.quotetype, q.isquotetotalamt, q.isquoteallqty, q.c_currency_id , q.dateresponse, q.isrfqresponseaccepted, q.dateworkstart, q.deliverydays, q.dateworkcomplete , r.c_bpartner_id, r.c_bpartner_location_id, r.ad_user_id FROM c_rfq q JOIN c_rfqresponse r ON q.c_rfq_id = r.c_rfq_id WHERE r.iscomplete = 'N' AND q.processed = 'N' ;
select * from {{ var('ar_invoice_item') }}
<filename>Windows/Server/SQL Server/GetDatabaseCreationDate.sql SELECT * FROM sys.databases ORDER BY create_date
<reponame>beichenRoot/TG-Snowflake-Connector create database test_connect; use database test_connect; create schema friend; use schema friend; create table persons(ID varchar(64)); create table friends(PERSON1 varchar(64), PERSON2 varchar(64)); create table coworkers(PERSON1 varchar(64), PERSON2 varchar(64)); INSERT INTO friend.persons (ID) values ('person1'), ('person2'), ('person3'), ('person4'), ('person5'), ('person6'), ('person7'), ('person8'), ('person9'), ('person10'), ('person11'), ('person12'); INSERT INTO friend.friends (PERSON1,PERSON2) values ('person1','person2'),('person1','person3'),('person1','person4'),('person2','person8'), ('person3','person9'), ('person4','person6'), ('person5','person6'), ('person6','person9'), ('person7','person9'), ('person8','person10'), ('person9','person8'), ('person10','person12'), ('person11','person12'), ('person12','person8'), ('person12','person9'); INSERT INTO friend.coworkers (PERSON1,PERSON2) values ('person1','person4'), ('person1','person5'), ('person1','person6'), ('person2','person3'), ('person2','person4'), ('person3','person5'), ('person3','person6'), ('person4','person5'), ('person4','person6'), ('person5','person6'), ('person7','person9'), ('person7','person5'), ('person7','person4'), ('person8','person9'), ('person9','person2'), ('person10','person7'), ('person11','person7'), ('person12','person7'); #drop database test_connect cascade
<filename>OpenSim/Data/MSSQL/Resources/013_RegionStore.sql BEGIN TRANSACTION CREATE TABLE dbo.Tmp_prims ( UUID uniqueidentifier NOT NULL, RegionUUID uniqueidentifier NULL, ParentID int NULL, CreationDate int NULL, Name varchar(255) NULL, SceneGroupID uniqueidentifier NULL, Text varchar(255) NULL, Description varchar(255) NULL, SitName varchar(255) NULL, TouchName varchar(255) NULL, ObjectFlags int NULL, CreatorID uniqueidentifier NULL, OwnerID uniqueidentifier NULL, GroupID uniqueidentifier NULL, LastOwnerID uniqueidentifier NULL, OwnerMask int NULL, NextOwnerMask int NULL, GroupMask int NULL, EveryoneMask int NULL, BaseMask int NULL, PositionX float(53) NULL, PositionY float(53) NULL, PositionZ float(53) NULL, GroupPositionX float(53) NULL, GroupPositionY float(53) NULL, GroupPositionZ float(53) NULL, VelocityX float(53) NULL, VelocityY float(53) NULL, VelocityZ float(53) NULL, AngularVelocityX float(53) NULL, AngularVelocityY float(53) NULL, AngularVelocityZ float(53) NULL, AccelerationX float(53) NULL, AccelerationY float(53) NULL, AccelerationZ float(53) NULL, RotationX float(53) NULL, RotationY float(53) NULL, RotationZ float(53) NULL, RotationW float(53) NULL, SitTargetOffsetX float(53) NULL, SitTargetOffsetY float(53) NULL, SitTargetOffsetZ float(53) NULL, SitTargetOrientW float(53) NULL, SitTargetOrientX float(53) NULL, SitTargetOrientY float(53) NULL, SitTargetOrientZ float(53) NULL, PayPrice int NOT NULL DEFAULT ((0)), PayButton1 int NOT NULL DEFAULT ((0)), PayButton2 int NOT NULL DEFAULT ((0)), PayButton3 int NOT NULL DEFAULT ((0)), PayButton4 int NOT NULL DEFAULT ((0)), LoopedSound uniqueidentifier NOT NULL DEFAULT ('00000000-0000-0000-0000-000000000000'), LoopedSoundGain float(53) NOT NULL DEFAULT ((0.0)), TextureAnimation image NULL, OmegaX float(53) NOT NULL DEFAULT ((0.0)), OmegaY float(53) NOT NULL DEFAULT ((0.0)), OmegaZ float(53) NOT NULL DEFAULT ((0.0)), CameraEyeOffsetX float(53) NOT NULL DEFAULT ((0.0)), CameraEyeOffsetY float(53) NOT NULL DEFAULT ((0.0)), CameraEyeOffsetZ float(53) NOT NULL DEFAULT ((0.0)), CameraAtOffsetX float(53) NOT NULL DEFAULT ((0.0)), CameraAtOffsetY float(53) NOT NULL DEFAULT ((0.0)), CameraAtOffsetZ float(53) NOT NULL DEFAULT ((0.0)), ForceMouselook tinyint NOT NULL DEFAULT ((0)), ScriptAccessPin int NOT NULL DEFAULT ((0)), AllowedDrop tinyint NOT NULL DEFAULT ((0)), DieAtEdge tinyint NOT NULL DEFAULT ((0)), SalePrice int NOT NULL DEFAULT ((10)), SaleType tinyint NOT NULL DEFAULT ((0)), ColorR int NOT NULL DEFAULT ((0)), ColorG int NOT NULL DEFAULT ((0)), ColorB int NOT NULL DEFAULT ((0)), ColorA int NOT NULL DEFAULT ((0)), ParticleSystem image NULL, ClickAction tinyint NOT NULL DEFAULT ((0)), Material tinyint NOT NULL DEFAULT ((3)), CollisionSound uniqueidentifier NOT NULL DEFAULT ('00000000-0000-0000-0000-000000000000'), CollisionSoundVolume float(53) NOT NULL DEFAULT ((0.0)), LinkNumber int NOT NULL DEFAULT ((0)) ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] IF EXISTS(SELECT * FROM dbo.prims) EXEC('INSERT INTO dbo.Tmp_prims (UUID, RegionUUID, ParentID, CreationDate, Name, SceneGroupID, Text, Description, SitName, TouchName, ObjectFlags, CreatorID, OwnerID, GroupID, LastOwnerID, OwnerMask, NextOwnerMask, GroupMask, EveryoneMask, BaseMask, PositionX, PositionY, PositionZ, GroupPositionX, GroupPositionY, GroupPositionZ, VelocityX, VelocityY, VelocityZ, AngularVelocityX, AngularVelocityY, AngularVelocityZ, AccelerationX, AccelerationY, AccelerationZ, RotationX, RotationY, RotationZ, RotationW, SitTargetOffsetX, SitTargetOffsetY, SitTargetOffsetZ, SitTargetOrientW, SitTargetOrientX, SitTargetOrientY, SitTargetOrientZ, PayPrice, PayButton1, PayButton2, PayButton3, PayButton4, LoopedSound, LoopedSoundGain, TextureAnimation, OmegaX, OmegaY, OmegaZ, CameraEyeOffsetX, CameraEyeOffsetY, CameraEyeOffsetZ, CameraAtOffsetX, CameraAtOffsetY, CameraAtOffsetZ, ForceMouselook, ScriptAccessPin, AllowedDrop, DieAtEdge, SalePrice, SaleType, ColorR, ColorG, ColorB, ColorA, ParticleSystem, ClickAction, Material, CollisionSound, CollisionSoundVolume, LinkNumber) SELECT CONVERT(uniqueidentifier, UUID), CONVERT(uniqueidentifier, RegionUUID), ParentID, CreationDate, Name, CONVERT(uniqueidentifier, SceneGroupID), Text, Description, SitName, TouchName, ObjectFlags, CONVERT(uniqueidentifier, CreatorID), CONVERT(uniqueidentifier, OwnerID), CONVERT(uniqueidentifier, GroupID), CONVERT(uniqueidentifier, LastOwnerID), OwnerMask, NextOwnerMask, GroupMask, EveryoneMask, BaseMask, PositionX, PositionY, PositionZ, GroupPositionX, GroupPositionY, GroupPositionZ, VelocityX, VelocityY, VelocityZ, AngularVelocityX, AngularVelocityY, AngularVelocityZ, AccelerationX, AccelerationY, AccelerationZ, RotationX, RotationY, RotationZ, RotationW, SitTargetOffsetX, SitTargetOffsetY, SitTargetOffsetZ, SitTargetOrientW, SitTargetOrientX, SitTargetOrientY, SitTargetOrientZ, PayPrice, PayButton1, PayButton2, PayButton3, PayButton4, CONVERT(uniqueidentifier, LoopedSound), LoopedSoundGain, TextureAnimation, OmegaX, OmegaY, OmegaZ, CameraEyeOffsetX, CameraEyeOffsetY, CameraEyeOffsetZ, CameraAtOffsetX, CameraAtOffsetY, CameraAtOffsetZ, ForceMouselook, ScriptAccessPin, AllowedDrop, DieAtEdge, SalePrice, SaleType, ColorR, ColorG, ColorB, ColorA, ParticleSystem, ClickAction, Material, CONVERT(uniqueidentifier, CollisionSound), CollisionSoundVolume, LinkNumber FROM dbo.prims WITH (HOLDLOCK TABLOCKX)') DROP TABLE dbo.prims EXECUTE sp_rename N'dbo.Tmp_prims', N'prims', 'OBJECT' ALTER TABLE dbo.prims ADD CONSTRAINT PK__prims__10566F31 PRIMARY KEY CLUSTERED ( UUID ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] CREATE NONCLUSTERED INDEX prims_regionuuid ON dbo.prims ( RegionUUID ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] CREATE NONCLUSTERED INDEX prims_parentid ON dbo.prims ( ParentID ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] COMMIT
UPDATE `oxconfigdisplay` SET OXGROUPING='navigation' WHERE OXCFGVARNAME='blLongNavbar' AND OXCFGMODULE='theme:roxid3';
-- ============================================= -- Author: dbo -- Create date: 2020-10-13 -- Description: add new user to user role table, Auth system -- ============================================= CREATE PROCEDURE [dbo].[spUserRole_AddUserRole_Auth] @UserId nvarchar(256), @RoleId nvarchar(256) AS BEGIN SET NOCOUNT ON; INSERT INTO UserRoles (UserId,RoleId) VALUES (@UserId,@RoleId) END
<reponame>dannbuckley/monopoly-sql USE [Monopoly] GO /****** Object: StoredProcedure [Player].[uspBuyUtilityAtAuction] Script Date: 2/19/2022 10:37:03 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROC [Player].[uspBuyUtilityAtAuction] @player int, @utility varchar(50), @bid int AS BEGIN SET NOCOUNT ON; BEGIN TRY EXECUTE [Player].[uspPayAmount] @player, @bid; INSERT INTO [Player].[UtilitiesOwned] ([player], [utility], [acquisition_method]) VALUES (@player, @utility, 'WON AT AUCTION'); END TRY BEGIN CATCH THROW 50001, 'Player cannot afford utility at given bid amount.', 1; END CATCH END GO
<reponame>hseyindemir/Index-SQL SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_CATALOG='dbName'
<filename>database/PermissionGroupMember.sql CREATE TABLE PermissionGroupMember( Id int IDENTITY(1,1) PRIMARY KEY NOT NULL, GroupId int FOREIGN KEY REFERENCES PermissionGroup(Id), UserId int FOREIGN KEY REFERENCES [User](Id), Enabled bit NOT NULL DEFAULT 1 );
-- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Nov 28, 2016 at 11:13 AM -- Server version: 10.1.13-MariaDB -- PHP Version: 5.6.21 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: `rpl3` -- -- -------------------------------------------------------- -- -- Table structure for table `materi` -- CREATE TABLE `materi` ( `id` int(11) NOT NULL, `judul` varchar(50) NOT NULL, `kode_matkul` int(11) NOT NULL, `filename` varchar(255) NOT NULL, `location` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `matkul` -- CREATE TABLE `matkul` ( `kode_matkul` int(11) NOT NULL, `nama_matkul` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `matkul` -- INSERT INTO `matkul` (`kode_matkul`, `nama_matkul`) VALUES (1, 'Desain Analisis Algoritma'), (2, 'Jaringan Komputer'), (3, 'Teori Bahasa Automata'), (4, 'Implementasi Perangkat Lunak'); -- -------------------------------------------------------- -- -- Table structure for table `online` -- CREATE TABLE `online` ( `ip` varchar(20) NOT NULL, `id_user` int(50) NOT NULL, `tanggal` date NOT NULL, `online` varchar(1) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `online` -- INSERT INTO `online` (`ip`, `id_user`, `tanggal`, `online`) VALUES ('::1', 5, '2016-11-15', 'Y'), ('::1', 6, '2016-04-21', 'Y'), ('::1', 8, '2016-04-20', 'Y'); -- -------------------------------------------------------- -- -- Table structure for table `soal_quiz` -- CREATE TABLE `soal_quiz` ( `id_quiz` int(5) NOT NULL, `mata_kuliah` varchar(255) NOT NULL, `quiz_ke` int(11) NOT NULL, `no_soal` int(11) NOT NULL, `soal` text NOT NULL, `a` varchar(1000) NOT NULL, `b` varchar(1000) NOT NULL, `c` varchar(1000) NOT NULL, `d` varchar(1000) NOT NULL, `kunci` varchar(1000) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `soal_quiz` -- INSERT INTO `soal_quiz` (`id_quiz`, `mata_kuliah`, `quiz_ke`, `no_soal`, `soal`, `a`, `b`, `c`, `d`, `kunci`) VALUES (1, 'Q', 1, 1, 'Q', 'q', 'q', 'q', 'q', 'c'), (2, 'We', 1, 2, 'Qwewq', 'qe', 'qeq', 'qe', 'qwe', 'd'), (3, 'Sdad', 4, 3, 'Sadasd', 'saad', 'sa', 'adsa', 'dad', 'd'), (4, 'Sdad', 4, 3, 'Sadasd', 'saad', 'sa', 'adsa', 'dad', 'd'); -- -------------------------------------------------------- -- -- Table structure for table `soal_tugas` -- CREATE TABLE `soal_tugas` ( `id` int(11) NOT NULL, `judul_tugas` varchar(50) NOT NULL, `kode_matkul` int(11) NOT NULL, `keterangan` varchar(50) NOT NULL, `filename` varchar(255) NOT NULL, `location` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `user` -- CREATE TABLE `user` ( `id_user` int(9) NOT NULL, `nomor_induk` varchar(50) DEFAULT NULL, `nama_lengkap` varchar(100) NOT NULL, `username` varchar(50) NOT NULL, `password` varchar(50) NOT NULL, `alamat` varchar(150) DEFAULT NULL, `tempat_lahir` varchar(100) DEFAULT NULL, `tanggal_lahir` date DEFAULT NULL, `jenis_kelamin` enum('L','P') NOT NULL, `agama` varchar(20) DEFAULT NULL, `email` varchar(50) NOT NULL, `hp` varchar(20) DEFAULT NULL, `foto` varchar(150) DEFAULT 'localhost/aaaa/images/person-icon.png', `blokir` enum('Y','N') NOT NULL DEFAULT 'N', `id_session` varchar(100) NOT NULL, `id_session_soal` varchar(100) NOT NULL, `level` varchar(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `user` -- INSERT INTO `user` (`id_user`, `nomor_induk`, `nama_lengkap`, `username`, `password`, `alamat`, `tempat_lahir`, `tanggal_lahir`, `jenis_kelamin`, `agama`, `email`, `hp`, `foto`, `blokir`, `id_session`, `id_session_soal`, `level`) VALUES (5, NULL, 'admin', 'admin', 'admin', NULL, NULL, NULL, 'L', NULL, '<EMAIL>', NULL, 'localhost/aaaa/images/person-icon.png', 'N', 'r94a73ani499kkn1ar0c2tko83', '', 'admin'), (6, '12345', 'dosen1', 'dosen1', 'dosen1', NULL, NULL, NULL, 'L', NULL, '<EMAIL>', NULL, 'localhost/aaaa/images/person-icon.png', 'N', 'js57aod2fq9q1o3tcmqr4jpph5', '', 'dosen'), (8, '54321', 'mahasiswa1', 'mahasiswa1', 'mahasiswa1', NULL, NULL, NULL, 'L', NULL, '<EMAIL>', NULL, 'localhost/aaaa/images/person-icon.png', 'N', 'avi23t0jv4e9r8eueres831va2', '', 'siswa'), (9, '1232', 'qwqw', 'joni', 'joni', 'andand', 'owqwq', '0000-00-00', 'L', 'Islam', '<EMAIL>', '09888828', 'localhost/aaaa/images/person-icon.png', 'N', '', '', 'dosen'), (10, '13213131', 'wqeqwe', 'qw', '006d2143154327a64d86a264aea225f3', 'asas', 'eqewq', '0000-00-00', 'P', 'Islam', '<EMAIL>', '081123456789', 'localhost/aaaa/images/person-icon.png', 'N', '', '', 'dosen'); -- -------------------------------------------------------- -- -- Table structure for table `user_matkul` -- CREATE TABLE `user_matkul` ( `id_user` int(11) NOT NULL, `kode_matkul` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `user_matkul` -- INSERT INTO `user_matkul` (`id_user`, `kode_matkul`) VALUES (6, 1), (9, 3); -- -- Indexes for dumped tables -- -- -- Indexes for table `materi` -- ALTER TABLE `materi` ADD PRIMARY KEY (`id`), ADD KEY `fk_materi_matkul` (`kode_matkul`); -- -- Indexes for table `matkul` -- ALTER TABLE `matkul` ADD PRIMARY KEY (`kode_matkul`); -- -- Indexes for table `online` -- ALTER TABLE `online` ADD PRIMARY KEY (`id_user`); -- -- Indexes for table `soal_quiz` -- ALTER TABLE `soal_quiz` ADD PRIMARY KEY (`id_quiz`); -- -- Indexes for table `soal_tugas` -- ALTER TABLE `soal_tugas` ADD PRIMARY KEY (`id`), ADD KEY `fk_soaltugas_matkul` (`kode_matkul`); -- -- Indexes for table `user` -- ALTER TABLE `user` ADD PRIMARY KEY (`id_user`); -- -- Indexes for table `user_matkul` -- ALTER TABLE `user_matkul` ADD KEY `fk_usermatkul_user` (`id_user`), ADD KEY `fk_usermatkul_matkul` (`kode_matkul`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `materi` -- ALTER TABLE `materi` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `matkul` -- ALTER TABLE `matkul` MODIFY `kode_matkul` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `soal_quiz` -- ALTER TABLE `soal_quiz` MODIFY `id_quiz` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `soal_tugas` -- ALTER TABLE `soal_tugas` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `user` -- ALTER TABLE `user` MODIFY `id_user` int(9) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; -- -- Constraints for dumped tables -- -- -- Constraints for table `materi` -- ALTER TABLE `materi` ADD CONSTRAINT `fk_materi_matkul` FOREIGN KEY (`kode_matkul`) REFERENCES `matkul` (`kode_matkul`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `soal_tugas` -- ALTER TABLE `soal_tugas` ADD CONSTRAINT `fk_soaltugas_matkul` FOREIGN KEY (`kode_matkul`) REFERENCES `matkul` (`kode_matkul`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `user_matkul` -- ALTER TABLE `user_matkul` ADD CONSTRAINT `fk_usermatkul_matkul` FOREIGN KEY (`kode_matkul`) REFERENCES `matkul` (`kode_matkul`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `fk_usermatkul_user` FOREIGN KEY (`id_user`) REFERENCES `user` (`id_user`) ON DELETE CASCADE ON UPDATE CASCADE; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/* 3 - Informar todas as obras cadastradas no acervo, ordenada por data de publicacao */ SELECT ID_Obra, Data_Publicacao FROM Obra Order by Data_Publicacao ASC; /* 4 - Informar a contagem de todas as obras cadastradas no acervo atualmente */ SELECT COUNT(ID_Obra) AS "Quantidade_obras_atual" FROM Obra; SELECT * FROM Estoque; SELECT SUM(Quantidade_Livro) AS "Quantidade_obras_atual_Estoque" FROM Estoque; /* 5 - Informar quais datas ocorreram emprestimos de livros - retornar um registro para cada data */ DESC Emprestimo; SELECT Data_Emprestimo FROM Emprestimo ORDER BY Data_Emprestimo; SELECT Data_Emprestimo FROM Emprestimo GROUP BY Data_Emprestimo; /* 6 - Informar todos os emprestimos que a recepcionista <NAME> fez no horario das 8 hrs */ DESC Emprestimo; DESC Funcionario; SELECT ID_Funcionario, Nome_Funcionario FROM Funcionario; SELECT ID_Emprestimo FROM Emprestimo WHERE ID_Funcionario = 8 AND Hora_Emprestimo = '08:00:00'; /* 7 - Pesquisa de devolucao de livros entre as datas 29/03/2012 a 02/02/2013 */ DESC Devolucao; SELECT ID_Devolucao, Data_Devolucao FROM Devolucao WHERE Data_Devolucao BETWEEN '2012-03-29' AND '2013-02-02'; /* Outra forma*/ SELECT ID_Devolucao, Data_Devolucao FROM Devolucao WHERE Data_Devolucao >= '2012-03-29' AND Data_Devolucao <= '2013-02-02'; /* 8 - Reservas de livros com data maior ou igual 18/08/2011 */ DESC Reserva; SELECT ID_Reserva, Data_Reserva FROM Reserva WHERE Data_Reserva >= '2011-08-18'; /* 9 - Devolucoes de livros com data menor 29/03/2012 */ DESC Devolucao; SELECT ID_Devolucao, Data_Devolucao FROM Devolucao WHERE Data_Devolucao < '2012-03-29'; /* 10 - Obras existentes no acervo que tenham os titulos diferentes de 'O Conde de Monte Cristo' e 'Filhos e Amantes' */ DESC Obra; SELECT ID_Obra, Titulo_Obra FROM Obra WHERE Titulo_Obra <> 'O Conde de Monte Cristo' AND Titulo_Obra <> 'Filhos e Amantes'; /* 11 - Quantas Obras do genero ficcao exitem no acervo */ DESC Obra; SELECT ID_Obra, Genero FROM Obra WHERE Genero = 'Ficção'; SELECT COUNT(Genero) AS "Quantidade_Obras_Ficção" FROM Obra WHERE Genero = 'Ficção'; /* 12 - Identificar qual livro tem maior quantidade em estoque */ DESC Estoque; SELECT MAX(Quantidade_Livro) AS "Maior_qdd_estoque" FROM Estoque; SELECT ID_Estoque, Quantidade_Livro AS "Maior_qdd_estoque" FROM Estoque WHERE Quantidade_Livro = (SELECT MAX(Quantidade_Livro) FROM Estoque); SELECT O.Titulo_Obra, E.Quantidade_Livro AS "Maior_qdd_estoque" FROM Estoque E INNER JOIN Obra O ON E.ID_Estoque = O.ID_Obra WHERE Quantidade_Livro = (SELECT MAX(Quantidade_Livro) FROM Estoque); /* 13 - Identificar qual livro tem menor quantidade em estoque */ SELECT MIN(Quantidade_Livro) AS "Menor_qdd_estoque" FROM Estoque; SELECT ID_Estoque, Quantidade_Livro AS "Menor_qdd_estoque" FROM Estoque WHERE Quantidade_Livro = (SELECT MIN(Quantidade_Livro) FROM Estoque); SELECT O.Titulo_Obra, E.Quantidade_Livro AS "Menor_qdd_estoque" FROM Estoque E INNER JOIN Obra O ON E.ID_Estoque = O.ID_Obra WHERE Quantidade_Livro = (SELECT MIN(Quantidade_Livro) FROM Estoque); /* 14 - Identificar a quantidade de registros de usuarios */ DESC Usuario; SELECT COUNT(ID_Usuario) AS "Registros_de_Usuarios" FROM Usuario; /* 15 - Identificar as obras com os maiores numeros de publicações agrupados por gênero */ DESC Obra; SELECT ID_Obra, Numero_Publicacao, Genero FROM Obra ORDER BY Numero_Publicacao DESC; SELECT MAX(Numero_Publicacao), Genero FROM Obra GROUP BY Genero ORDER BY MAX(Numero_Publicacao) DESC; /*Traz resultado errado*/ SELECT ID_Obra, MAX(Numero_Publicacao), Genero FROM Obra GROUP BY Genero ORDER BY MAX(Numero_Publicacao) DESC; CREATE VIEW Query AS SELECT ID_Obra, MAX(Numero_Publicacao) AS 'MAX_PUB', Genero FROM Obra GROUP BY Genero ORDER BY MAX(Numero_Publicacao) DESC; SELECT O.Titulo_Obra, O.ID_Obra, Q.MAX_PUB, O.Genero FROM Query Q INNER JOIN Obra O ON (Q.MAX_PUB = O.Numero_Publicacao AND Q.Genero = O.Genero) ORDER BY Q.MAX_PUB DESC; /* 16 - Alterar a obra "Discurso do Método" para gênero político */ SELECT ID_Obra, Titulo_Obra, Genero FROM Obra WHERE Titulo_Obra = "Discurso do Método"; UPDATE Obra SET Genero = "Política" WHERE ID_Obra = 29 OR Titulo_Obra = "Discurso do Método"; /* 17 - Alterar o bairro do usuario "<NAME>" de 'IAPI' para 'Mooca' */ DESC Usuario; SELECT ID_Usuario, Nome_Usuario, Bairro FROM Usuario; SELECT ID_Usuario, Nome_Usuario, Bairro FROM Usuario WHERE Nome_Usuario = "<NAME>"; UPDATE Usuario SET Bairro = "Mooca" WHERE Nome_Usuario = "<NAME>" OR ID_Usuario = 25; SELECT ID_Usuario, Nome_Usuario, Bairro FROM Usuario WHERE Nome_Usuario = "<NAME>"; /* 18 - Alterar a quantidade da obras 'Filho Nativo', 'Vidas Secas' e 'Dom Casmurro' (Retirar uma unidade de cada obra em estoque)*/ DESC Estoque; SELECT E.ID_Estoque, E.ID_Obra, O.Titulo_Obra, E.Quantidade_Livro FROM Estoque E INNER JOIN Obra O ON E.ID_Obra = O.ID_Obra WHERE Titulo_Obra = 'Filho Nativo' OR Titulo_Obra = 'Vidas Secas' OR Titulo_Obra = 'Dom Casmurro'; UPDATE Estoque SET Quantidade_Livro = (Quantidade_Livro - 1) WHERE ID_Estoque = 18; UPDATE Estoque SET Quantidade_Livro = (Quantidade_Livro - 1) WHERE ID_Estoque = 28; UPDATE Estoque SET Quantidade_Livro = (Quantidade_Livro - 1) WHERE ID_Estoque = 23; /* 19 - Inserir dados de 5 usuarios */ DESC Usuario; INSERT INTO Usuario VALUES ('31','<NAME>','Rua Amazonas 58','Pirai','65495421','02170251','29426487532'); INSERT INTO Usuario VALUES (32,'<NAME>','Rua Ipiranga 123','<NAME>',58466577,02182637,12214765549); INSERT INTO Usuario VALUES (33,'<NAME>','Avenida dos Mongos 51','Campo Grande',51848978,52412365,65458647298); INSERT INTO Usuario VALUES (34,'<NAME>','Travessa dos irmãos 48','Cotia',89457986,23124005,34125165175); INSERT INTO Usuario VALUES (35,'<NAME>','Avenida Ampére 414','<NAME>',58442654,05728368,19310721435); /* 20 - Verificar se existe duplicidade de usuarios */ DESC Usuario; SELECT ID_Usuario, Nome_Usuario, CPF FROM Usuario ORDER BY Nome_Usuario; SELECT Nome_Usuario FROM Usuario GROUP BY Nome_Usuario HAVING COUNT(Nome_Usuario) > 1; SELECT CPF FROM Usuario GROUP BY CPF HAVING COUNT(CPF) > 1; /* 21 - Excluir registros dos usuarios duplicados*/ SELECT Nome_Usuario, ID_Usuario FROM Usuario GROUP BY Nome_Usuario HAVING COUNT(Nome_Usuario) > 1; DELETE FROM Usuario WHERE ID_Usuario = 32; DELETE FROM Usuario WHERE ID_Usuario = 35; /* 22 - Inserir valor individual de cada obra -> Adc Valor_Livro na tabela Obra (Definir o tipo de dado e o valor de cada titulo) */ DESC Obra; ALTER TABLE Obra ADD Valor_Livro FLOAT(7,2); /*INSERT INTO Obra(Valor_Livro) VALUES (90.00);*/ UPDATE Obra SET Valor_Livro = 90.00 WHERE ID_Obra = 1; UPDATE Obra SET Valor_Livro = 55.00 WHERE ID_Obra = 2; UPDATE Obra SET Valor_Livro = 20.00 WHERE ID_Obra = 3; SELECT ID_Obra, Valor_Livro FROM Obra; /* 23 - Modificar o tipo de dado do campo Multa_Atraso da tabela Devolução de Varchar(2) para Varchar(3) */ DESC Devolucao; ALTER TABLE Devolucao MODIFY COLUMN Multa_Atraso VARCHAR(3); /* 24 - Modificar os registros do campo Multa_Atraso da tabela Devolução 0 para não e 1 para SIM */ UPDATE Devolucao SET Multa_Atraso = 'Não' WHERE Multa_Atraso = 0; UPDATE Devolucao SET Multa_Atraso = 'SIM' WHERE Multa_Atraso = 1; UPDATE Devolucao SET Multa_Atraso = 'SIM' WHERE ID_Devolucao = 28; SELECT ID_Devolucao, Multa_Atraso FROM Devolucao; /* 25 - Excluir o campo Valor_livro da tabela Obra */ ALTER TABLE Obra DROP Valor_Livro; /* 26 - Listar todos os livros que já foram emprestados e os nomes dos funcionarios que autorizaram o emprestimo */ DESC Emprestimo; SELECT E.ID_Emprestimo, O.Titulo_Obra, F.Nome_Funcionario FROM Emprestimo E INNER JOIN Obra O ON E.ID_Obra = O.ID_Obra INNER JOIN Funcionario F ON E.ID_Funcionario = F.ID_Funcionario WHERE E.Data_Emprestimo IS NOT NULL ORDER BY O.Titulo_Obra; SELECT E.ID_Emprestimo, O.Titulo_Obra FROM Obra O INNER JOIN Emprestimo E ON O.ID_Obra = E.ID_Obra; /* 27 - Listar todos os livros que já foram Devolvidos e o valor total de cada livro */ DESC Devolucao; DESC Estoque; SELECT D.ID_Devolucao, O.Titulo_Obra, E.Valor_Unitario FROM Devolucao D INNER JOIN Obra O ON D.ID_Obra = O.ID_Obra INNER JOIN Estoque E ON E.ID_Estoque = D.ID_Estoque WHERE D.Data_Devolucao IS NOT NULL; /* 28 - Listar todos os Usuarios que realizaram emprestimo com a data de entrega para o dia 21/08/2011 */ SELECT E.Data_Entrega, U.Nome_Usuario FROM Emprestimo E INNER JOIN Usuario U ON E.ID_Usuario = U.ID_Usuario; SELECT E.Data_Entrega, U.Nome_Usuario FROM Emprestimo E INNER JOIN Usuario U ON E.ID_Usuario = U.ID_Usuario WHERE E.Data_Entrega = '2011-08-21'; /* 29 - Listar todos as obras que tiveram a data de publicacao menor que 04/03/2013, com a quantidade de cada livro e o seu valor */ SELECT Data_Publicacao, Titulo_Obra FROM Obra; SELECT O.Data_Publicacao, O.Titulo_Obra, E.Quantidade_Livro, E.Valor_Unitario FROM Obra O INNER JOIN Estoque E ON O.ID_Obra = E.ID_Obra WHERE O.Data_Publicacao < '2013-03-04' ORDER BY O.Data_Publicacao; /* 30 - Listar todos os funcionarios, com seus respectivos cargos e salarios */ DESC Funcionario; DESC Cargo; SELECT F.Nome_Funcionario, C.Nome_Cargo, C.Salario FROM Funcionario F INNER JOIN Cargo C ON F.ID_Cargo = C.ID_Cargo; /* 31 - Listar todos os livros com os nomes dos autores, nomes das editoras e qdd de livros em estoque */ SELECT O.Titulo_Obra, A.Nome_Autor, E.Nome_Editora, Es.Quantidade_Livro FROM Obra O INNER JOIN Autor A ON O.ID_Autor = A.ID_Autor INNER JOIN Editora E ON O.ID_Editora = E.ID_Editora INNER JOIN Estoque Es ON Es.ID_Obra = O.ID_Obra; /* 32 - Lista de todos os funcionarios da biblioteca e seus respectivos departamentos */ DESC Departamento; SELECT F.Nome_Funcionario, D.Nome_Departamento FROM Funcionario F INNER JOIN Departamento D ON F.ID_Departamento = D.ID_Departamento; /* 33 - Criar uma Visão que retorne o livro e o valor dele */ SELECT O.Titulo_Obra, E.Valor_Unitario FROM Obra O INNER JOIN Estoque E ON E.ID_Obra = O.ID_Obra; CREATE VIEW Livro_Preço AS SELECT O.Titulo_Obra, E.Valor_Unitario FROM Obra O INNER JOIN Estoque E ON E.ID_Obra = O.ID_Obra; SELECT * FROM Livro_Preço; /* 34 - Listar cod do livro, nome do livro cujo valor do livro seja maior que R$ 90,00 */ SELECT E.ID_Obra, O.Titulo_Obra, E.Valor_Unitario FROM Obra O INNER JOIN Estoque E ON E.ID_Obra = O.ID_Obra; SELECT E.ID_Obra, O.Titulo_Obra, E.Valor_Unitario FROM Obra O INNER JOIN Estoque E ON E.ID_Obra = O.ID_Obra WHERE E.Valor_Unitario > '90' ORDER BY O.ID_Obra; /* 35 - Atualizar o salario do auxiliar financeiro para 12% sobre seu salario atual */ UPDATE Cargo SET Salario = (Salario*1.12) Where Nome_Cargo = 'Auxiliar Financeiro' OR ID_Cargo = 9; UPDATE Cargo SET Salario = (1904 - (1700*0.12)) Where ID_Cargo = 9; SELECT * FROM Cargo; /* 36 - Atualizar a data de admissao da funcionaria <NAME> pra ultimo dia do mes atual (31/10/2021) */ SELECT Nome_Funcionario, Data_Admissao FROM Funcionario WHERE Nome_Funcionario = '<NAME>'; UPDATE Funcionario SET Data_Admissao = '1966-10-31' WHERE Nome_Funcionario = '<NAME>'; SELECT Nome_Funcionario, Data_Admissao FROM Funcionario WHERE Nome_Funcionario = '<NAME>'; /* 37 - Mostrar todos os dados da tabela obra */ SELECT * FROM Obra; /* 38 - Listar todos os funcionarios da biblioteca com cod, nome e departamento, classificando a ordem pelo nome */ SELECT F.ID_Funcionario, F.Nome_Funcionario, D.Nome_Departamento FROM Funcionario F INNER JOIN Departamento D ON F.ID_Departamento = D.ID_Departamento ORDER BY F.Nome_Funcionario; /* 39 - Listar quantidade de logradouro de usuarios agrupados por numero do CEP */ SELECT COUNT(Logradouro) FROM Usuario; SELECT COUNT(Logradouro) FROM Usuario GROUP BY CEP; SELECT COUNT(Logradouro), Logradouro, ID_Usuario, CEP FROM Usuario GROUP BY CEP ORDER BY CEP; SELECT Logradouro FROM Usuario GROUP BY CEP HAVING COUNT(CEP) > 1; /* 40 - Listar quantidade de endereços agrupados por usuario */ SELECT Nome_Usuario, Logradouro FROM Usuario ORDER BY Nome_Usuario; SELECT COUNT(Logradouro) FROM Usuario GROUP BY Nome_Usuario; SELECT Logradouro FROM Usuario GROUP BY Nome_Usuario HAVING COUNT(Nome_Usuario) > 1; /* 41 - Lista dos funcionarios da recepcao que nao prestaram atendimento até o presente momento */ /* INNER QUERY REVISAR */ SELECT Nome_Departamento FROM Departamento WHERE ID_Departamento = '7' OR Nome_Departamento = 'Recepção'; SELECT F.Nome_Funcionario, E.ID_Emprestimo FROM Funcionario F LEFT JOIN Emprestimo E ON F.ID_Funcionario = E.ID_Funcionario WHERE F.ID_Cargo = 12 AND E.ID_Emprestimo IS NULL; SELECT F.Nome_Funcionario FROM Funcionario F LEFT JOIN Emprestimo E ON F.ID_Funcionario = E.ID_Funcionario INNER JOIN Departamento DP ON DP.ID_Departamento = F.ID_Departamento WHERE DP.ID_Departamento = 7 AND F.ID_Funcionario <> '11' AND F.ID_Funcionario <> '8' AND F.ID_Funcionario <> '1'; SELECT F.Nome_Funcionario FROM Funcionario F LEFT JOIN Devolucao D ON D.ID_Funcionario = F.ID_Funcionario INNER JOIN Departamento DP ON DP.ID_Departamento = F.ID_Departamento WHERE DP.ID_Departamento = 7 AND F.ID_Funcionario <> '11' AND F.ID_Funcionario <> '8' AND F.ID_Funcionario <> '1'; SELECT F.Nome_Funcionario FROM Funcionario F LEFT JOIN Reserva R ON R.ID_Funcionario = F.ID_Funcionario INNER JOIN Departamento DP ON DP.ID_Departamento = F.ID_Departamento WHERE DP.ID_Departamento = 7 AND F.ID_Funcionario <> '11' AND F.ID_Funcionario <> '8' AND F.ID_Funcionario <> '1'; SELECT F.Nome_Funcionario FROM Funcionario F INNER JOIN Emprestimo E ON F.ID_Funcionario = E.ID_Funcionario INNER JOIN Devolucao D ON D.ID_Funcionario = F.ID_Funcionario INNER JOIN Reserva R ON R.ID_Funcionario = F.ID_Funcionario INNER JOIN Departamento DP ON DP.ID_Departamento = F.ID_Departamento WHERE F.ID_Funcionario <> '11' AND F.ID_Funcionario <> '8' AND F.ID_Funcionario <> '1'; DESC Funcionario; SELECT * FROM Funcionario; INSERT INTO Funcionario VALUES ('50','12','7','<NAME>','2021-08-23', '9999-01-01'); SELECT F.ID_Funcionario, F.Nome_Funcionario, D.Nome_Departamento, D.ID_Departamento, C.Nome_Cargo, C.ID_Cargo FROM Funcionario F INNER JOIN Departamento D ON F.ID_Departamento = D.ID_Departamento INNER JOIN Cargo C ON C.ID_Cargo = D.ID_Cargo; /* 42 - Busca de informacoes de todas as obras que foram reservadas no dia 18/08/2011 as 15:00 e o nome do responsavel pela reserva */ DESC Obra; SELECT O.Titulo_Obra, R.Data_Reserva, R.Hora_Reserva FROM Obra O INNER JOIN Reserva R ON R.ID_Obra = O.ID_Obra; SELECT O.Titulo_Obra, R.Data_Reserva, R.Hora_Reserva, F.Nome_Funcionario FROM Obra O INNER JOIN Reserva R ON R.ID_Obra = O.ID_Obra INNER JOIN Funcionario F ON F.ID_Funcionario = R.ID_Funcionario; SELECT O.Titulo_Obra, R.Data_Reserva, R.Hora_Reserva, F.Nome_Funcionario FROM Obra O INNER JOIN Reserva R ON R.ID_Obra = O.ID_Obra INNER JOIN Funcionario F ON F.ID_Funcionario = R.ID_Funcionario WHERE Data_Reserva = '2011-08-18' AND Hora_Reserva = '15:00:00'; /* 43 - Informacoes de quando a usuaria <NAME> e <NAME> pegaram livro emprestado qual livro foi pego, e o valor unitario dos livros pegos */ SELECT U.Nome_Usuario, E.Data_Emprestimo, E.Hora_Emprestimo, O.Titulo_Obra, Es.Valor_Unitario FROM Emprestimo E INNER JOIN Usuario U ON E.ID_Usuario = U.ID_Usuario INNER JOIN Obra O ON E.ID_Obra = O.ID_Obra INNER JOIN Estoque Es ON Es.ID_Obra = E.ID_Obra; SELECT U.Nome_Usuario, E.Data_Emprestimo, E.Hora_Emprestimo, O.Titulo_Obra, Es.Valor_Unitario FROM Emprestimo E INNER JOIN Usuario U ON E.ID_Usuario = U.ID_Usuario INNER JOIN Obra O ON E.ID_Obra = O.ID_Obra INNER JOIN Estoque Es ON Es.ID_Obra = E.ID_Obra WHERE U.Nome_Usuario = '<NAME>' OR U.Nome_Usuario = '<NAME>'; /* 44 - Relacionar a primeira pessoa que reservou(Reserva), pegou emprestado(Emprestimo) e entregou(Devolucao) um livro e as respectivas informacoes dos usuarios (completa) */ SELECT MIN(R.Data_Reserva), MIN(R.Hora_Reserva) FROM Reserva R; SELECT MIN(E.Data_Emprestimo), MIN(E.Hora_Emprestimo) FROM Emprestimo E; SELECT MIN(D.Data_Devolucao), MIN(D.Hora_Devolucao) FROM Devolucao D; SELECT U.Nome_Usuario, R.Data_Reserva FROM Usuario U INNER JOIN Reserva R ON U.ID_Usuario = R.ID_Usuario ORDER BY R.Data_Reserva ASC, R.Hora_Reserva LIMIT 1; SELECT U.Nome_Usuario, E.Data_Emprestimo FROM Usuario U INNER JOIN Emprestimo E ON U.ID_Usuario = E.ID_Usuario ORDER BY E.Data_Emprestimo ASC, E.Hora_Emprestimo LIMIT 1; SELECT U.Nome_Usuario, D.Data_Devolucao FROM Usuario U INNER JOIN Devolucao D ON U.ID_Usuario = D.ID_Usuario ORDER BY D.Data_Devolucao ASC, D.Hora_Devolucao LIMIT 1; SELECT U.Nome_Usuario, R.Data_Reserva, E.Data_Emprestimo, D.Data_Devolucao FROM Usuario U INNER JOIN Reserva R ON U.ID_Usuario = R.ID_Usuario INNER JOIN Emprestimo E ON U.ID_Usuario = E.ID_Usuario INNER JOIN Devolucao D ON U.ID_Usuario = D.ID_Usuario ORDER BY R.Data_Reserva ASC, R.Hora_Reserva, E.Data_Emprestimo ASC, E.Hora_Emprestimo, D.Data_Devolucao ASC, D.Hora_Devolucao LIMIT 1; SELECT * FROM Usuario U INNER JOIN( SELECT R.Data_Reserva, E.Data_Emprestimo, D.Data_Devolucao, R.ID_Usuario FROM Reserva R INNER JOIN Emprestimo E ON R.ID_Usuario = E.ID_Usuario INNER JOIN Devolucao D ON E.ID_Usuario = D.ID_Usuario ORDER BY R.Data_Reserva ASC, R.Hora_Reserva, E.Data_Emprestimo ASC, E.Hora_Emprestimo, D.Data_Devolucao ASC, D.Hora_Devolucao LIMIT 1) AS VW ON VW.ID_Usuario = U.ID_Usuario; /* 45 - Quantas obras cada editora tem na biblioteca */ SELECT O.ID_Editora, E.Nome_Editora FROM Obra O INNER JOIN Editora E ON O.ID_Editora = E.ID_Editora; SELECT O.ID_Editora, E.Nome_Editora, COUNT(E.Nome_Editora) AS 'Qdd_obras_por_editora' FROM Obra O INNER JOIN Editora E ON O.ID_Editora = E.ID_Editora GROUP BY O.ID_Editora HAVING COUNT(E.Nome_Editora); SELECT E.Nome_Editora, COUNT(E.Nome_Editora) AS 'Qdd_obras_por_editora' FROM Obra O INNER JOIN Editora E ON O.ID_Editora = E.ID_Editora GROUP BY O.ID_Editora HAVING COUNT(O.ID_Editora); SELECT E.Nome_Editora, COUNT(E.Nome_Editora) AS 'Qdd_obras_por_editora' FROM Obra O INNER JOIN Editora E ON O.ID_Editora = E.ID_Editora GROUP BY E.Nome_Editora HAVING COUNT(E.Nome_Editora); SELECT E.Nome_Editora, COUNT(E.Nome_Editora) AS 'Qdd_obras_por_editora' FROM Obra O INNER JOIN Editora E ON O.ID_Editora = E.ID_Editora GROUP BY E.Nome_Editora HAVING COUNT(O.ID_Editora); /* 46 - Mostrar todos os livros que nao foram devolvidos antes do dia 03/02/2013 quantidade de dias em atraso e para cada dia aplicar multa de R$ 5 e mostrar o nome do usuario e do livro pego e o total a receber pela biblioteca FALTA FAZER A DIFERENCA DE DIAS (03/02/2013 - 02/02/2013) = 1 DIA E O CALCULO DA MULTA*/ SELECT E.ID_Emprestimo, E.Data_Entrega, D.Data_Devolucao, D.ID_Devolucao, O.Titulo_Obra, U.Nome_Usuario FROM Emprestimo E LEFT JOIN Devolucao D ON E.ID_Emprestimo = D.ID_Emprestimo INNER JOIN Obra O ON O.ID_Obra = E.ID_Obra INNER JOIN Usuario U ON U.ID_Usuario = E.ID_Usuario; SELECT E.ID_Emprestimo, E.Data_Entrega, D.Data_Devolucao, D.ID_Devolucao, O.Titulo_Obra, U.Nome_Usuario FROM Emprestimo E LEFT JOIN Devolucao D ON E.ID_Emprestimo = D.ID_Emprestimo INNER JOIN Obra O ON O.ID_Obra = E.ID_Obra INNER JOIN Usuario U ON U.ID_Usuario = E.ID_Usuario WHERE D.ID_Devolucao IS NULL; SELECT E.ID_Emprestimo,E.Data_Entrega, '2013-02-03' AS 'Data_Ex', D.Data_Devolucao, O.Titulo_Obra, U.Nome_Usuario, '1' AS 'dias_atraso', '5' AS 'Multa_dia', (1*5) AS 'Total_multa' FROM Emprestimo E LEFT JOIN Devolucao D ON E.ID_Emprestimo = D.ID_Emprestimo INNER JOIN Obra O ON O.ID_Obra = E.ID_Obra INNER JOIN Usuario U ON U.ID_Usuario = E.ID_Usuario WHERE ID_Devolucao IS NULL AND E.Data_Entrega < '2013-02-03'; SELECT E.ID_Emprestimo,E.Data_Entrega, '2013-02-03' AS 'Data_Ex', D.Data_Devolucao, O.Titulo_Obra, U.Nome_Usuario, ('Data_Ex' - E.Data_Entrega) AS 'dias_atraso', '5' AS 'Multa_dia', (1*5) AS 'Total_multa' FROM Emprestimo E LEFT JOIN Devolucao D ON E.ID_Emprestimo = D.ID_Emprestimo INNER JOIN Obra O ON O.ID_Obra = E.ID_Obra INNER JOIN Usuario U ON U.ID_Usuario = E.ID_Usuario WHERE ID_Devolucao IS NULL AND E.Data_Entrega < '2013-02-03'; /* 47- Listar todos os Usuarios que morem numa avenida. Exibir o nome e logradouro em ordem de cpf do maior para o menor */ SELECT ID_Usuario, Logradouro, Nome_Usuario, CPF FROM Usuario WHERE Logradouro LIKE 'Avenida%' ORDER BY CPF DESC; /* 48- Listar todos os livros que foram emprestados mais de uma vez entre os anos de 2011 ate 2013 agrupados pelo nome do livro */ SELECT ID_Obra, Data_Emprestimo FROM Emprestimo ORDER BY ID_Obra; SELECT ID_Obra FROM Emprestimo GROUP BY ID_Obra HAVING COUNT(ID_Obra) > 1; SELECT ID_Obra, Data_Emprestimo FROM Emprestimo WHERE ID_Obra = 27; SELECT E.ID_Obra, O.Titulo_Obra, COUNT(E.ID_Obra) AS 'Qdd_emprestimos' FROM Obra O INNER JOIN Emprestimo E ON O.ID_Obra = E.ID_Obra WHERE (E.Data_Emprestimo BETWEEN '2011-01-01' AND '2013-12-31') GROUP BY O.Titulo_Obra HAVING COUNT(E.ID_Obra) > 1; /* 49- Verificar o valor medio dos livros e verificar quais sao os que estao abaixo dessa media, referente a devolucao e emprestimo */ SELECT Valor_Unitario FROM Estoque; SELECT AVG(Valor_Unitario) AS 'Valor_medio_livros(R$)' FROM Estoque; SELECT TRUNCATE (AVG(Valor_Unitario),2) AS 'Valor_medio_livros(R$)' FROM Estoque; SELECT E.ID_Obra, O.Titulo_Obra, E.Valor_Unitario FROM Estoque E INNER JOIN Obra O ON E.ID_Obra = O.ID_Obra WHERE E.Valor_Unitario < (SELECT TRUNCATE (AVG(E.Valor_Unitario),2) AS 'Valor_medio_livros(R$)' FROM Estoque E) ORDER BY E.ID_Obra; SELECT O.Titulo_Obra, E.Valor_Unitario AS 'Abaixo_valor_medio' FROM Estoque E INNER JOIN Obra O ON E.ID_Obra = O.ID_Obra INNER JOIN Devolucao D ON D.ID_Obra = O.ID_Obra INNER JOIN Emprestimo Em ON Em.ID_Obra = O.ID_Obra WHERE E.Valor_Unitario < (SELECT TRUNCATE (AVG(E.Valor_Unitario),2) AS 'Valor_medio_livros(R$)' FROM Estoque E) ORDER BY Em.ID_Obra; SELECT ID_Obra from Devolucao ORDER BY ID_Obra; SELECT ID_Obra from Emprestimo ORDER BY ID_Obra; /* 50 - Verificar qual a media do salario dos funcionarios e quem sao os que ganham mais que a media */ SELECT TRUNCATE(AVG(Salario),2) FROM Cargo; SELECT F.Nome_Funcionario, C.Salario FROM Funcionario F INNER JOIN Cargo C ON F.ID_Cargo = C.ID_Cargo; SELECT F.Nome_Funcionario, C.Salario FROM Funcionario F INNER JOIN Cargo C ON F.ID_Cargo = C.ID_Cargo WHERE C.Salario > (SELECT TRUNCATE(AVG(C.Salario),2) FROM Cargo C); /* 51 - Mostrar todos os usuarios com cadastro na biblioteca e os que nunca tiverem levado livro, mostrar o nome em letras maiusculas */ SELECT U.ID_Usuario AS 'Usu_cadastrado', U.Nome_Usuario, E.ID_Usuario AS 'Usu_emprestimo' FROM Usuario U LEFT JOIN Emprestimo E ON U.ID_Usuario = E.ID_Usuario; SELECT UCASE (U.Nome_Usuario) AS 'Nomes_Cadastrados', U.ID_Usuario AS 'Usu_cadastrado', E.ID_Usuario AS 'Usu_emprestimo' FROM Usuario U LEFT JOIN Emprestimo E ON U.ID_Usuario = E.ID_Usuario WHERE E.ID_Usuario IS NULL UNION SELECT LCASE (U.Nome_Usuario) AS 'Nomes_Cadastrados', U.ID_Usuario AS 'Usu_cadastrado', E.ID_Usuario AS 'Usu_emprestimo' FROM Usuario U LEFT JOIN Emprestimo E ON U.ID_Usuario = E.ID_Usuario WHERE E.ID_Usuario IS NOT NULL; /* 52 - Verificar todos os usuarios que ja pegaram um livro e ordenar pelo CEP */ SELECT U.ID_Usuario AS 'Usu_cadastrado', U.Nome_Usuario, E.ID_Usuario AS 'Usu_emprestimo', U.CEP FROM Usuario U LEFT JOIN Emprestimo E ON U.ID_Usuario = E.ID_Usuario WHERE E.ID_Usuario IS NOT NULL ORDER BY U.CEP; /* 53 - Listar todos os livros que ja foram reservados e emprestados, quantos estao disponiveis no momento e classificar por genero */ SELECT R.ID_Obra, O.Titulo_Obra, Es.Quantidade_Livro AS 'Disponiveis_Momento', O.Genero FROM Reserva R INNER JOIN Obra O ON R.ID_Obra = O.ID_Obra INNER JOIN Emprestimo E ON E.ID_Obra = O.ID_Obra INNER JOIN Estoque Es ON Es.ID_Obra = O.ID_Obra ORDER BY O.Genero; /* 54 - Qual horario a biblioteca tem mais movimentacao e qual horario tem menos movimentacao avaliar todas as horas de devolucao, emprestimo e reserva REFAZER */ SELECT R.Hora_Reserva FROM Reserva R; SELECT R.Hora_Reserva FROM Reserva R WHERE Hora_Reserva BETWEEN '07:00:00' AND '19:00:00'; SELECT R.Hora_Reserva FROM Reserva R WHERE R.Hora_Reserva LIKE '15:%' AND (R.Hora_Reserva BETWEEN '07:00:00' AND '19:00:00'); SELECT R.Hora_Reserva FROM Reserva R GROUP BY Hora_Reserva HAVING COUNT(Hora_Reserva)<=1; SELECT R.Hora_Reserva FROM Reserva R GROUP BY Hora_Reserva HAVING COUNT(Hora_Reserva)>2; SELECT R.Hora_Reserva AS 'Maior_Movimento_Reserva' FROM Reserva R GROUP BY Hora_Reserva HAVING COUNT(Hora_Reserva LIKE '15:%') > 3; SELECT E.Hora_Emprestimo FROM Emprestimo E; SELECT E.Hora_Emprestimo FROM Emprestimo E WHERE Hora_Emprestimo BETWEEN '07:00:00' AND '19:00:00'; SELECT E.Hora_Emprestimo FROM Emprestimo E GROUP BY Hora_Emprestimo HAVING COUNT(Hora_Emprestimo)<=1; SELECT E.Hora_Emprestimo AS 'Maior_Movimento_Emprestimo' FROM Emprestimo E GROUP BY Hora_Emprestimo HAVING COUNT(Hora_Emprestimo)>4; SELECT D.Hora_Devolucao FROM Devolucao D; SELECT D.Hora_Devolucao FROM Devolucao D GROUP BY Hora_Devolucao HAVING COUNT(Hora_Devolucao)<=1; SELECT D.Hora_Devolucao AS 'Maior_Movimento_Devolucao' FROM Devolucao D GROUP BY Hora_Devolucao HAVING COUNT(Hora_Devolucao)>4; SELECT R.Hora_Reserva, Hora_Emprestimo, Hora_Devolucao FROM Reserva R INNER JOIN Emprestimo E ON INNER JOIN Devolucao D ON /* 55 - Quais sao os 3 autores que tem mais livros lidos no ano de 2012 e 2013 e os 2 que tem menos obras lidas */ SELECT ID_Obra FROM Emprestimo; SELECT A.Nome_Autor, O.Titulo_Obra, A.ID_Autor, E.Data_Emprestimo FROM Autor A INNER JOIN Obra O ON A.ID_Autor = O.ID_Autor INNER JOIN Emprestimo E ON O.ID_Obra = E.ID_Obra WHERE E.Data_Emprestimo BETWEEN '2012-01-01' AND '2013-12-31'; SELECT A.Nome_Autor, A.ID_Autor, COUNT(A.ID_Autor) AS 'Maximo' FROM Autor A INNER JOIN Obra O ON A.ID_Autor = O.ID_Autor INNER JOIN Emprestimo E ON O.ID_Obra = E.ID_Obra WHERE E.Data_Emprestimo BETWEEN '2012-01-01' AND '2013-12-31' GROUP BY A.ID_Autor ORDER BY Maximo DESC LIMIT 3; SELECT A.Nome_Autor, A.ID_Autor, COUNT(A.ID_Autor) AS 'Minimo' FROM Autor A INNER JOIN Obra O ON A.ID_Autor = O.ID_Autor INNER JOIN Emprestimo E ON O.ID_Obra = E.ID_Obra WHERE E.Data_Emprestimo BETWEEN '2012-01-01' AND '2013-12-31' GROUP BY A.ID_Autor ORDER BY Minimo ASC LIMIT 3; /* 56 - Exibir lista de todos os livros por recepcionista e o total de emprestimos e devol que cada um fez FALTA SOMAR AS 2 QUERY'S - FEITO !!!! */ SELECT O.Titulo_Obra, E.ID_Emprestimo, F.Nome_Funcionario FROM Obra O INNER JOIN Emprestimo E ON O.ID_Obra = E.ID_Obra INNER JOIN Funcionario F ON E.ID_Funcionario = F.ID_Funcionario ORDER BY F.Nome_Funcionario; SELECT F.Nome_Funcionario, COUNT(F.Nome_Funcionario) AS 'Total_Emprestimo' FROM Obra O INNER JOIN Emprestimo E ON O.ID_Obra = E.ID_Obra INNER JOIN Funcionario F ON E.ID_Funcionario = F.ID_Funcionario GROUP BY Nome_Funcionario; SELECT O.Titulo_Obra, D.ID_Devolucao, F.Nome_Funcionario FROM Obra O INNER JOIN Devolucao D ON O.ID_Obra = D.ID_Obra INNER JOIN Funcionario F ON D.ID_Funcionario = F.ID_Funcionario ORDER BY F.Nome_Funcionario; SELECT F.Nome_Funcionario, COUNT(F.Nome_Funcionario) AS 'Total_Devolucao' FROM Obra O INNER JOIN Devolucao D ON O.ID_Obra = D.ID_Obra INNER JOIN Funcionario F ON D.ID_Funcionario = F.ID_Funcionario GROUP BY Nome_Funcionario; DROP VIEW Total_emp_recepcionista; CREATE VIEW Total_emp_recepcionista AS SELECT F.Nome_Funcionario, COUNT(F.Nome_Funcionario) AS 'Total_Emprestimo' FROM Obra O INNER JOIN Emprestimo E ON O.ID_Obra = E.ID_Obra INNER JOIN Funcionario F ON E.ID_Funcionario = F.ID_Funcionario GROUP BY Nome_Funcionario; SELECT * FROM Total_emp_recepcionista; DROP VIEW Total_dev_recepcionista; CREATE VIEW Total_dev_recepcionista AS SELECT F.Nome_Funcionario, COUNT(F.Nome_Funcionario) AS 'Total_Devolucao' FROM Obra O INNER JOIN Devolucao D ON O.ID_Obra = D.ID_Obra INNER JOIN Funcionario F ON D.ID_Funcionario = F.ID_Funcionario GROUP BY Nome_Funcionario; SELECT * FROM Total_dev_recepcionista; SELECT TE.Nome_Funcionario, TE.Total_Emprestimo, TD.Total_Devolucao, (Total_Emprestimo + Total_Devolucao) AS 'Total_Atend_funcionario' FROM Total_emp_recepcionista TE INNER JOIN Total_dev_recepcionista TD ON TE.Nome_Funcionario = TD.Nome_Funcionario; /* 57 - Listar os usuarios que trabalham nas editoras por meio de endereco cadastrado mostrar nome, telefone e nome da editora que trabalha */ SELECT U.Nome_Usuario, U.Telefone, E.Nome_Editora FROM Usuario U INNER JOIN Editora E ON U.Logradouro = E.Logradouro; /* 58 - Criar uma visao que traga todos os livros e o preco da editora Leya */ SELECT Nome_Editora FROM Editora WHERE ID_Editora = 6 OR Nome_Editora = 'Leya'; SELECT O.Titulo_Obra, Es.Valor_Unitario, E.Nome_Editora FROM Obra O INNER JOIN Estoque Es ON O.ID_Obra = Es.ID_Obra INNER JOIN Editora E ON E.ID_Editora = O.ID_Editora WHERE E.Nome_Editora = 'Leya' OR E.ID_Editora = 6; CREATE VIEW PRECOS_LEYA AS SELECT O.Titulo_Obra, Es.Valor_Unitario, E.Nome_Editora FROM Obra O INNER JOIN Estoque Es ON O.ID_Obra = Es.ID_Obra INNER JOIN Editora E ON E.ID_Editora = O.ID_Editora WHERE E.Nome_Editora = 'Leya' OR E.ID_Editora = 6; SELECT * FROM PRECOS_LEYA; /* 59 - A Editora saraiva aumentou em 16% o valor de seus livros, atualize os preços dos livros da editora na porcentagem designada PROCURAR ALTERNATIVA DE RESOLUCAO */ UPDATE Estoque SET Valor_Unitario = (Valor_Unitario*1.16) WHERE ID_Obra = 14 OR ID_Obra = 20 OR ID_Obra = 30; SELECT E.Nome_Editora, Es.Valor_Unitario, O.Titulo_Obra, O.ID_Obra FROM Obra O INNER JOIN Editora E ON O.ID_Editora = E.ID_Editora INNER JOIN Estoque Es ON O.ID_Obra = Es.ID_Obra WHERE E.Nome_Editora = 'Saraiva' OR E.ID_Editora = 3; SELECT E.Nome_Editora FROM Editora E INNER JOIN Obra O ON E.ID_Editora = O.ID_Obra WHERE E.Nome_Editora = 'Saraiva' OR E.ID_Editora = 3; /* 60 - Verificar quais obras foram publicadas menos vezes, mostrar qual é o autor, a editora e nome da obra */ SELECT A.Nome_Autor, E.Nome_Editora, O.Titulo_Obra, O.Numero_Publicacao FROM Obra O INNER JOIN Autor A ON O.ID_Autor = A.ID_Autor INNER JOIN Editora E ON O.ID_Editora = E.ID_Editora ORDER BY O.Numero_Publicacao ASC; /* 61 - Relacionar todos os Nomes e CPF dos usuarios que tenham o CPF iniciado pela sequencia de numeros 193, inibir o restante dos numeros por '*' porem mostrar os 2 ultimos numeros */ SELECT Nome_Usuario, concat(substr(CPF, 1,3), '******', substr(CPF, 10,11)) AS CPF FROM Usuario WHERE CPF LIKE '193%'; /* 62 - Gerar um relatorio da media de livros que sao emprestados em cada ano. A media de livros por editora e por autor Fazer um calculo de 20% de aumento em 3 anos PESQUISAR OUTRA RESOLUCAO / ARRUMAR */ SELECT E.ID_Emprestimo, E.Data_Emprestimo, O.Titulo_Obra FROM Emprestimo E INNER JOIN Obra O ON E.ID_Obra = O.ID_Obra ORDER BY E.Data_Emprestimo; SELECT '2011' AS 'ANO', COUNT(E.Data_Emprestimo) AS 'Qdd_emprestimo', (COUNT(E.Data_Emprestimo)*1.2) AS 'Qdd_emprestimo_3anos' FROM Emprestimo E INNER JOIN Obra O ON E.ID_Obra = O.ID_Obra WHERE E.Data_Emprestimo LIKE '2011%' UNION SELECT '2012' AS 'ANO', COUNT(E.Data_Emprestimo) AS 'Qdd_emprestimo', (COUNT(E.Data_Emprestimo)*1.2) AS 'Qdd_emprestimo_3anos' FROM Emprestimo E INNER JOIN Obra O ON E.ID_Obra = O.ID_Obra WHERE E.Data_Emprestimo LIKE '2012%' UNION SELECT '2013' AS 'ANO', COUNT(E.Data_Emprestimo) AS 'Qdd_emprestimo',(COUNT(E.Data_Emprestimo)*1.2) AS 'Qdd_emprestimo_3anos' FROM Emprestimo E INNER JOIN Obra O ON E.ID_Obra = O.ID_Obra WHERE E.Data_Emprestimo LIKE '2013%'; SELECT E.Data_Emprestimo, O.Titulo_Obra, Ed.Nome_Editora FROM Emprestimo E INNER JOIN Obra O ON E.ID_Obra = O.ID_Obra INNER JOIN Editora Ed ON Ed.ID_Editora = O.ID_Editora ORDER BY Ed.Nome_Editora; SELECT Ed.Nome_Editora, COUNT(Ed.Nome_Editora) AS 'Qdd_Emp_Editora',(COUNT(Ed.Nome_Editora)*1.2) AS 'Qdd_Emp_Editora_3anos' FROM Emprestimo E INNER JOIN Obra O ON E.ID_Obra = O.ID_Obra INNER JOIN Editora Ed ON Ed.ID_Editora = O.ID_Editora INNER JOIN Autor A ON A.ID_Autor = O.ID_Autor GROUP BY Ed.Nome_Editora ORDER BY Qdd_Emp_Editora DESC; SELECT E.Data_Emprestimo, O.Titulo_Obra, Ed.Nome_Editora, A.Nome_Autor FROM Emprestimo E INNER JOIN Obra O ON E.ID_Obra = O.ID_Obra INNER JOIN Editora Ed ON Ed.ID_Editora = O.ID_Editora INNER JOIN Autor A ON A.ID_Autor = O.ID_Autor ORDER BY A.Nome_Autor; SELECT A.Nome_Autor, COUNT(A.Nome_Autor) AS 'Qdd_Emp_Autor',(COUNT(A.Nome_Autor)*1.2) AS 'Qdd_Emp_Autor_3anos' FROM Emprestimo E INNER JOIN Obra O ON E.ID_Obra = O.ID_Obra INNER JOIN Editora Ed ON Ed.ID_Editora = O.ID_Editora INNER JOIN Autor A ON A.ID_Autor = O.ID_Autor GROUP BY A.Nome_Autor ORDER BY Qdd_Emp_Autor DESC; /* 63 - Gerar um relatorio de Obras com a quantidade e valores unitarios que estao no estoque criando no excel, em formato de tabela dinamica com as seguintes informacoes Selecionar os Títulos das Obras da Tabela Obra e na tabela Estoque selecionar a quantidade e o valor unitario de cada Obra Somar o total geral, mostrar planilha e grafico no resultado final */ SELECT (Quantidade_Livro * Valor_Unitario) AS 'Valor_Total_obra_Est' FROM Estoque; SELECT (E.Quantidade_Livro * E.Valor_Unitario) AS 'Valor_Total_obra_Est' FROM Estoque E; SELECT O.Titulo_Obra, E.Quantidade_Livro, E.Valor_Unitario, (E.Quantidade_Livro * E.Valor_Unitario) AS 'Valor_Total_obra_Est' FROM Obra O INNER JOIN Estoque E ON E.ID_Obra = O.ID_Obra; CREATE VIEW Valor_em_Estoque AS SELECT O.Titulo_Obra, E.Quantidade_Livro, E.Valor_Unitario, (E.Quantidade_Livro * E.Valor_Unitario) AS 'Valor_Total_obra_Est' FROM Obra O INNER JOIN Estoque E ON E.ID_Obra = O.ID_Obra; SELECT * FROM Valor_em_Estoque; SELECT SUM(Valor_Total_obra_Est) AS 'Valor_Total_Geral_Estoque' FROM Valor_em_Estoque;
<gh_stars>0 CREATE TABLE `Customer` ( `id` varchar(50) NOT NULL DEFAULT '', `name` varchar(100) NOT NULL DEFAULT '', `created_time` datetime NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; CREATE TABLE `Group` ( `id` varchar(50) NOT NULL DEFAULT '', `name` varchar(100) NOT NULL DEFAULT '', `customer_id` varchar(50) NOT NULL DEFAULT '', `role_id` varchar(50) DEFAULT '', PRIMARY KEY (`id`), UNIQUE KEY `name_idx` (`name`), KEY `Group_Role` (`role_id`), KEY `Customer_Group` (`customer_id`), -- CONSTRAINT `Group_Role` FOREIGN KEY (`role_id`) REFERENCES `Role` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; CREATE TABLE `User` ( `id` varchar(100) NOT NULL DEFAULT '', `email` varchar(100) NOT NULL DEFAULT '', `auth_type` varchar(10) NOT NULL DEFAULT '', `name` varchar(100) NOT NULL DEFAULT '', `family_name` varchar(50) NOT NULL DEFAULT '', `given_name` varchar(50) NOT NULL DEFAULT '', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; CREATE TABLE `Role` ( `id` varchar(50) NOT NULL DEFAULT '', `name` varchar(100) NOT NULL DEFAULT '', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; CREATE TABLE `Function` ( `id` varchar(50) NOT NULL DEFAULT '', `name` varchar(100) NOT NULL DEFAULT '', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; CREATE TABLE `Group_User` ( `id` varchar(50) NOT NULL DEFAULT '', `group_id` varchar(50) NOT NULL DEFAULT '', `user_id` varchar(100) NOT NULL DEFAULT '', PRIMARY KEY (`id`), KEY `Group_has_User` (`group_id`), KEY `User_in_Group` (`user_id`), CONSTRAINT `Group_has_User` FOREIGN KEY (`group_id`) REFERENCES `Group` (`id`), CONSTRAINT `User_in_Group` FOREIGN KEY (`user_id`) REFERENCES `User` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; CREATE TABLE `InvitedUser` ( `id` varchar(50) NOT NULL DEFAULT '', `email` varchar(100) NOT NULL DEFAULT '', `auth_type` varchar(10) NOT NULL DEFAULT '', `group_id` varchar(50) NOT NULL DEFAULT '', `invited_at` datetime NOT NULL, `invited_by` varchar(100) NOT NULL DEFAULT '', `state` varchar(10) NOT NULL DEFAULT '', PRIMARY KEY (`id`), KEY `Group_InvitedUser` (`group_id`), CONSTRAINT `Group_InvitedUser` FOREIGN KEY (`group_id`) REFERENCES `Group` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; CREATE TABLE `Token` ( `id` varchar(50) NOT NULL DEFAULT '', `access_token` mediumtext NOT NULL, `refresh_token` mediumtext NOT NULL, `user_id` varchar(100) NOT NULL DEFAULT '', `refreshed_time` datetime NOT NULL, PRIMARY KEY (`id`), KEY `User_Token` (`user_id`), CONSTRAINT `User_Token` FOREIGN KEY (`user_id`) REFERENCES `User` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; CREATE TABLE `Permission` ( `id` varchar(100) NOT NULL DEFAULT '', `action` varchar(1) NOT NULL DEFAULT '', `res_name` varchar(20) NOT NULL DEFAULT '', `value` varchar(36) DEFAULT NULL, `group_id` varchar(50) DEFAULT NULL, `user_id` varchar(50) DEFAULT NULL, PRIMARY KEY (`id`), KEY `Group_Index` (`group_id`), KEY `User_Index` (`user_id`), KEY `Res_Name_Index` (`res_name`), CONSTRAINT `Group_Permission` FOREIGN KEY (`group_id`) REFERENCES `Group` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `User_Permission` FOREIGN KEY (`user_id`) REFERENCES `User` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=latin1; CREATE TABLE `Function_Permission` ( `id` varchar(50) NOT NULL DEFAULT '', `function_id` varchar(50) NOT NULL DEFAULT '', `permission_id` varchar(100) NOT NULL DEFAULT '', PRIMARY KEY (`id`), KEY `Function_has_Permission` (`function_id`), KEY `Permission_in_Function` (`permission_id`), CONSTRAINT `Function_has_Permission` FOREIGN KEY (`function_id`) REFERENCES `Function` (`id`), CONSTRAINT `Permission_in_Function` FOREIGN KEY (`permission_id`) REFERENCES `Permission` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; CREATE TABLE `Role_Function` ( `id` varchar(50) NOT NULL DEFAULT '', `role_id` varchar(50) NOT NULL DEFAULT '', `function_id` varchar(50) NOT NULL DEFAULT '', PRIMARY KEY (`id`), KEY `Role_has_Function` (`role_id`), KEY `Function_in_Role` (`function_id`), CONSTRAINT `Function_in_Role` FOREIGN KEY (`function_id`) REFERENCES `Function` (`id`), CONSTRAINT `Role_has_Function` FOREIGN KEY (`role_id`) REFERENCES `Role` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/* leave this l:see LICENSE file g:utility k:download,web,get,internet v:140108.1506\s.zaglio: moved @dbs before @uri for fast db search v:131215\s.zaglio: @uri -> @src v:131208.0900\s.zaglio: refined load from smb v:130531\s.zaglio: excl. sys dbs and test, removed try-catch r:130529\s.zaglio: added dbs option r:130416\s.zaglio: added alter opt r:130415\s.zaglio: adding unpre opt r:130202\s.zaglio: run a script from @uri t: sp__script_run 'forms|tasks', 'i:\Documenti\dropbox\PAE\download\utility.sql' ,@dbg=1 t:sp__script_run 'forms|tasks','\\localhost\xch\utility.sql',@dbg=1 t:sp__script_run 'forms|tasks','http://localhost/downloads/utility.sql',@dbg=1 */ CREATE proc sp__script_run @dbs sysname = null, @src nvarchar(max) = null, @opt sysname = null, @dbg int=0 as begin -- set nocount on added to prevent extra result sets from -- interferring with select statements. -- and resolve a wrong error when called remotelly -- @@nestlevel is >1 if called by other sp set nocount on declare @proc sysname, @err int, @ret int, -- @ret: 0=OK -1=HELP, any=error id @err_msg nvarchar(2000) -- used before raise -- ======================================================== params set/adjust == select @proc=object_name(@@procid), @err=0, @ret=0, @dbg=isnull(@dbg,0), -- is the verbosity level @opt=nullif(@opt,''), @opt=case when @opt is null then '||' else dbo.fn__str_quote(@opt,'|') end -- @param=nullif(@param,''), -- ============================================================== declaration == declare -- generic common -- @run bit, @unpre bit,@alter bit, @crlf nvarchar(2),@cr nchar(1),@lf nchar(1), @i int,@n int,@j int, -- index, counter -- options -- @sel bit,@print bit, -- select and print option for utils @uri nvarchar(1024), @all_db nvarchar(4000), -- option @db sysname, @end_declare bit -- =========================================================== initialization == select -- @sel=charindex('|sel|',@opt),@print=charindex('|print|',@opt), -- @run=charindex('|run|',@opt)|dbo.fn__isjob(@@spid) -- |cast(@@nestlevel-1 as bit), -- when called by parent/master SP @alter=charindex('|alter|',@opt), @crlf=crlf,@cr=cr,@lf=lf, @src=nullif(@src,''), @uri=ltrim(rtrim(isnull(left(@src,1024),''))), @db=db_name(), @dbs=nullif(@dbs,''), @end_declare=1 from fn__sym() if charindex(@cr,@uri)>0 select @uri=left(@uri,charindex(@cr,@uri)-1) -- if @print=0 and @sel=0 and dbo.fn__isConsole()=1 select @print=1 -- ======================================================== second params chk == if @dbs is null and @uri is null goto help -- =============================================================== #tbls init == -- ===================================================================== body == select @dbs=isnull(@dbs,@db) select @all_db=isnull(@all_db+',','')+name -- select * from sys.databases cross apply fn__str_table(replace(@dbs,',','|'),'|') where name like token and not name in ('master','tempdb','model','msdb','Resource','Distribution') and left(name,12)!='ReportServer' order by name /* t:sp__script_run '%' t:sp__script_run 'forms,ruler,tasks', 'I:\Documenti\dropbox\PAE\download\utility.sql',@dbg=1 t:sp__script_run 'forms,ruler,tasks,xx' */ if (isnull(@all_db,'')!='' and @all_db!=@db) or @dbg>0 exec sp__printf '-- to execute on:\n%s',@all_db if isnull(@all_db,'')='' raiserror('no dbs found',16,1) if dbo.fn__str_count(@all_db,',')<dbo.fn__str_count(@dbs,',') raiserror('selected dbs are less than filters',16,1) -- list only dbs if @uri is null goto ret -- check king of uri if left(@uri,6)='ftp://' raiserror('ftp not yet supported',16,1) if @uri like '\\%@%' raiserror('smb path with uid&pwd not yer supported',16,1) if patindex('http%://%',@uri)>0 begin if @dbg>0 exec sp__printf '-- getting via web' exec sp__web @uri,@rsp=@src out,@rcq='get' if charindex('<pre>',@src)>0 and (charindex('/>',@src)>0 or charindex('</pre>',@src)>0) select @unpre=charindex('|unpre|',@opt) -- select @src=replace(@src,@crlf+@crlf,@crlf) if @unpre=1 begin /* sp__script_run 'http://xoomer.virgilio.it/stezagl/io/eng/my_works/source/sp_source/code_sql/fn__at.htm', @dbg=1,@opt='unpre|alter' */ select @i=charindex('<pre ',@src),@j=charindex('>',@src,@i),@i=@j+1 select @j=charindex('</pre>',@src) select @src=substring(@src,@i,@j-@i) while left(@src,1) in (@cr,@lf) select @src=substring(@src,2,len(@src)) while right(@src,1) in (@cr,@lf) select @src=left(@src,len(@src)-1) end select @uri=null end -- file /uri) path to windows path if left(@uri,8)='file:///' select @uri=replace(substring(@uri,9,1024),'/','\') if patindex('%:%\%',@uri)>0 or left(@uri,2)='\\' begin if @dbg>0 exec sp__printf '-- reading file %s',@uri -- not the faster but read 2MB in 7 seconds on localmachine select @src='' exec sp__file_read_stream @uri,@out=@src out -- sp__file_read_stream 'I:\Documenti\web_sites\PAE\download\utility.sql' select @n=len(@src) if @dbg>0 exec sp__printf '-- loaded %d chars',@n select @uri=null end if @alter=1 begin select @i=charindex('create function',@src) if @i=0 select @i=charindex('create proc',@src) if @i=0 select @i=charindex('create procedure',@src) if @i=0 select @i=charindex('create view',@src) if @i>0 select @src=left(@src,@i-1)+'alter '+substring(@src,@i+7,len(@src)) end -- ########################## -- ## -- ## execute script -- ## -- ######################################################## if @src is null goto err_ems -- if is a direct code if not @uri is null begin -- remove initial returns while left(@src,1) in (@cr,@lf) select @src=stuff(@src,1,1,N'') -- encapsulate select @src='exec('''+replace(@src,'''','''''')+''')' end if @dbg>0 exec sp__printsql @src declare cs cursor local for select token from fn__str_table(@all_db,',') open cs while 1=1 begin fetch next from cs into @db if @@fetch_status!=0 break if (isnull(@dbs,'')!='' and @dbs!=@db) or @dbg>0 exec sp__printframe 'updating %s',@db if @dbg=0 begin exec('use ['+@db+']'+@crlf+@src) end else exec sp__printf 'use [%s] ...',@db end -- cursor cs close cs deallocate cs -- ================================================================== dispose == dispose: -- drop temp tables, flush data, etc. goto ret -- ===================================================================== help == help: exec sp__usage @proc,' Scope load a script from a file or a url or a remote server or a contant and execute it on local db or on multiple dbs Parameters @dbs multi like expression separated by comma or pipe where run the script @src can be the source code of script or the path of the file or web address %:% or %\% or file:///% is a file \\% or %:%@\\% is a smb file (not yet supported) ftp://[usr:pwd@]... is a ftp file (not yet supported) @opt options alter replace create function/view/proc with alter @dbg debug level 1 show basic info and do not execute the script Examples sp__script_run "%" -- list all dbs (w.out sys.dbs) sp__script_run "%tst%|%bak%" -- list all dbs that likes tst or bak -- run script.sql in all selected dbs sp__script_run "%tst%|%bak%","c:\script.sql" -- get the script from internet and run into local db sp__script_run @src="http\\site.com\utility.sql" -- run constant script over all (non system) dbs sp__script_run "%","select db_name()" ' select @ret=-1 goto ret -- =================================================================== errors == err_ems: exec sp__err 'empty script',@proc goto ret -- ===================================================================== exit == ret: return @ret end -- proc sp__script_run
<gh_stars>1-10 -- Drop and recreate companies table DROP TABLE IF EXISTS companies; CREATE TABLE companies ( id SERIAL, name varchar(255) NOT NULL, created_at timestamp NOT NULL ); -- Insert example records INSERT INTO companies (id, name, created_at) VALUES (1, 'Google', current_timestamp), (2, 'Apple', current_timestamp), (3, 'Microsoft', current_timestamp); -- Drop and recreate company_attributes table DROP TABLE IF EXISTS company_attributes; CREATE TABLE company_attributes ( id SERIAL, company_id int NOT NULL, url varchar(255) NOT NULL ); -- Insert example records TRUNCATE TABLE company_attributes; INSERT INTO company_attributes (id, company_id, url) VALUES (1, 1, 'https://google.com'), (2, 2, 'https://apple.com'), (3, 3, 'https://microsoft.com');
<gh_stars>10-100 IF EXISTS (SELECT * FROM sys.views WHERE object_id = OBJECT_ID(N'[dbo].[vw_carrot_ContentChild]')) DROP VIEW [dbo].[vw_carrot_ContentChild] GO CREATE VIEW [dbo].[vw_carrot_ContentChild] AS SELECT DISTINCT cc.SiteID, cc.Root_ContentID, cc.[FileName], cc.RetireDate, cc.GoLiveDate, cc.IsRetired, cc.IsUnReleased, cp.Root_ContentID as Parent_ContentID, cp.[FileName] AS ParentFileName, cp.RetireDate AS ParentRetireDate, cp.GoLiveDate AS ParentGoLiveDate, cp.IsRetired as IsParentRetired, cp.IsUnReleased as IsParentUnReleased FROM dbo.vw_carrot_Content AS cc INNER JOIN dbo.vw_carrot_Content AS cp ON cc.Parent_ContentID = cp.Root_ContentID WHERE cp.IsLatestVersion = 1 AND cc.IsLatestVersion = 1 AND cc.SiteID = cp.SiteID GO --=================================== GO ALTER TABLE [dbo].[carrot_ContentComment] ALTER COLUMN [CommenterName] [nvarchar](256) NOT NULL ALTER TABLE [dbo].[carrot_ContentComment] ALTER COLUMN [CommenterEmail] [nvarchar](256) NOT NULL ALTER TABLE [dbo].[carrot_ContentComment] ALTER COLUMN [CommenterURL] [nvarchar](256) NOT NULL GO UPDATE [dbo].[carrot_Content] SET [NavOrder] = 5 WHERE ISNULL([NavOrder], -1) = -1 GO ALTER TABLE [dbo].[carrot_Content] ALTER COLUMN [NavOrder] [int] NOT NULL GO --=================================== IF EXISTS (SELECT * FROM sys.foreign_keys WHERE object_id = OBJECT_ID(N'[dbo].[carrot_RootContent_CreateUserId_FK]') AND parent_object_id = OBJECT_ID(N'[dbo].[carrot_RootContent]')) ALTER TABLE [dbo].[carrot_RootContent] DROP CONSTRAINT [carrot_RootContent_CreateUserId_FK] GO IF NOT EXISTS( select * from [INFORMATION_SCHEMA].[COLUMNS] where table_name = 'carrot_RootContent' and column_name = 'ShowInSiteNav') BEGIN ALTER TABLE [dbo].[carrot_RootContent] ADD [ShowInSiteNav] [bit] NULL ALTER TABLE [dbo].[carrot_RootContent] ADD [CreateUserId] [uniqueidentifier] NULL END GO ALTER TABLE [dbo].[carrot_RootContent] ALTER COLUMN [ShowInSiteNav] [bit] NULL ALTER TABLE [dbo].[carrot_RootContent] ALTER COLUMN [CreateUserId] [uniqueidentifier] NULL GO declare @BlogEntry uniqueidentifier declare @ContentEntry uniqueidentifier set @BlogEntry = (select top 1 [ContentTypeID] from [dbo].[carrot_ContentType] where [ContentTypeValue] = 'BlogEntry') set @ContentEntry = (select top 1 [ContentTypeID] from [dbo].[carrot_ContentType] where [ContentTypeValue] = 'ContentEntry') UPDATE [dbo].[carrot_RootContent] SET [ShowInSiteNav] = 1 WHERE ISNULL([ShowInSiteNav], 1) = 1 AND [ContentTypeID] = @ContentEntry UPDATE [dbo].[carrot_RootContent] SET [ShowInSiteNav] = 0 WHERE ISNULL([ShowInSiteNav], 1) = 1 AND [ContentTypeID] = @BlogEntry UPDATE RC SET [CreateUserId] = c.EditUserId FROM [dbo].[carrot_RootContent] as RC JOIN (SELECT [Root_ContentID], min([EditDate]) as [OldestRec] FROM [dbo].[carrot_Content] GROUP BY [Root_ContentID]) CD on RC.Root_ContentID = CD.Root_ContentID JOIN [dbo].[carrot_Content] C on RC.Root_ContentID = C.Root_ContentID AND CD.[OldestRec] = C.[EditDate] AND CD.Root_ContentID = C.Root_ContentID WHERE RC.[CreateUserId] is null GO ALTER TABLE [dbo].[carrot_RootContent] ALTER COLUMN [ShowInSiteNav] [bit] NOT NULL ALTER TABLE [dbo].[carrot_RootContent] ALTER COLUMN [CreateUserId] [uniqueidentifier] NOT NULL GO ALTER TABLE [dbo].[carrot_RootContent] WITH CHECK ADD CONSTRAINT [carrot_RootContent_CreateUserId_FK] FOREIGN KEY([CreateUserId]) REFERENCES [dbo].[aspnet_Users] ([UserId]) GO ALTER TABLE [dbo].[carrot_RootContent] CHECK CONSTRAINT [carrot_RootContent_CreateUserId_FK] GO --============================== SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER VIEW [dbo].[vw_carrot_Content] AS select rc.Root_ContentID, rc.SiteID, rc.Heartbeat_UserId, rc.EditHeartbeat, rc.[FileName], rc.PageActive, rc.ShowInSiteNav, rc.CreateUserId, rc.CreateDate, c.ContentID, c.Parent_ContentID, c.IsLatestVersion, c.TitleBar, c.NavMenuText, c.PageHead, c.PageText, c.LeftPageText, c.RightPageText, c.NavOrder, c.EditUserId, c.EditDate, c.TemplateFile, c.MetaKeyword, c.MetaDescription, ct.ContentTypeID, ct.ContentTypeValue, rc.PageSlug, rc.PageThumbnail, s.TimeZone, rc.RetireDate, rc.GoLiveDate, rc.GoLiveDateLocal, cast(case when rc.RetireDate < GetUTCDate() then 1 else 0 end as bit) as IsRetired, cast(case when rc.GoLiveDate > GetUTCDate() then 1 else 0 end as bit) as IsUnReleased from [dbo].carrot_RootContent AS rc INNER JOIN [dbo].carrot_Sites AS s ON rc.SiteID = s.SiteID INNER JOIN [dbo].carrot_Content AS c ON rc.Root_ContentID = c.Root_ContentID INNER JOIN [dbo].carrot_ContentType AS ct ON rc.ContentTypeID = ct.ContentTypeID GO --============================== IF NOT EXISTS( select * from [INFORMATION_SCHEMA].[COLUMNS] where table_name = 'carrot_ContentTag' and column_name = 'IsPublic') BEGIN ALTER TABLE [dbo].[carrot_ContentTag] ADD [IsPublic] [bit] NULL ALTER TABLE [dbo].[carrot_ContentCategory] ADD [IsPublic] [bit] NULL END GO ALTER TABLE [dbo].[carrot_ContentTag] ALTER COLUMN [IsPublic] [bit] NULL ALTER TABLE [dbo].[carrot_ContentCategory] ALTER COLUMN [IsPublic] [bit] NULL GO UPDATE [dbo].[carrot_ContentTag] SET [IsPublic] = 1 WHERE ISNULL([IsPublic], 1) = 1 UPDATE [dbo].[carrot_ContentCategory] SET [IsPublic] = 1 WHERE ISNULL([IsPublic], 1) = 1 GO ALTER TABLE [dbo].[carrot_ContentTag] ALTER COLUMN [IsPublic] [bit] NOT NULL ALTER TABLE [dbo].[carrot_ContentCategory] ALTER COLUMN [IsPublic] [bit] NOT NULL GO --======================================== GO ALTER VIEW [dbo].[vw_carrot_TagURL] AS SELECT s.SiteID, cc.ContentTagID, cc.TagText, cc.IsPublic, ISNULL(cc2.TheCount, 0) AS UseCount, '/'+s.Blog_FolderPath +'/'+ s.Blog_TagPath +'/'+ cc.TagSlug + '.aspx' as TagUrl FROM [dbo].carrot_Sites AS s INNER JOIN [dbo].carrot_ContentTag AS cc ON s.SiteID = cc.SiteID LEFT JOIN (SELECT ContentTagID, COUNT(Root_ContentID) AS TheCount FROM dbo.carrot_TagContentMapping GROUP BY ContentTagID) AS cc2 ON cc.ContentTagID = cc2.ContentTagID GO ALTER VIEW [dbo].[vw_carrot_TagCounted] AS SELECT cc.ContentTagID, cc.SiteID, cc.TagText, cc.TagSlug, cc.IsPublic, ISNULL(cc2.TheCount, 0) AS UseCount FROM dbo.carrot_ContentTag AS cc LEFT JOIN (SELECT ContentTagID, COUNT(Root_ContentID) AS TheCount FROM dbo.carrot_TagContentMapping GROUP BY ContentTagID) AS cc2 ON cc.ContentTagID = cc2.ContentTagID GO ALTER VIEW [dbo].[vw_carrot_CategoryURL] AS SELECT s.SiteID, cc.ContentCategoryID, cc.CategoryText, cc.IsPublic, ISNULL(cc2.TheCount, 0) AS UseCount, '/'+s.Blog_FolderPath +'/'+ s.Blog_CategoryPath +'/'+ cc.CategorySlug + '.aspx' as CategoryUrl FROM [dbo].carrot_Sites AS s INNER JOIN [dbo].carrot_ContentCategory AS cc ON s.SiteID = cc.SiteID LEFT JOIN (SELECT ContentCategoryID, COUNT(Root_ContentID) AS TheCount FROM dbo.carrot_CategoryContentMapping GROUP BY ContentCategoryID) AS cc2 ON cc.ContentCategoryID = cc2.ContentCategoryID GO ALTER VIEW [dbo].[vw_carrot_CategoryCounted] AS SELECT cc.ContentCategoryID, cc.SiteID, cc.CategoryText, cc.CategorySlug, cc.IsPublic, ISNULL(cc2.TheCount, 0) AS UseCount FROM dbo.carrot_ContentCategory AS cc LEFT JOIN (SELECT ContentCategoryID, COUNT(Root_ContentID) AS TheCount FROM dbo.carrot_CategoryContentMapping GROUP BY ContentCategoryID) AS cc2 ON cc.ContentCategoryID = cc2.ContentCategoryID GO --===================================== IF NOT EXISTS( select * from [INFORMATION_SCHEMA].[COLUMNS] where table_name = 'carrot_RootContent' and column_name = 'ShowInSiteMap') BEGIN ALTER TABLE [dbo].[carrot_RootContent] ADD [ShowInSiteMap] [bit] NULL ALTER TABLE [dbo].[carrot_RootContent] ADD [BlockIndex] [bit] NULL END GO ALTER TABLE [dbo].[carrot_RootContent] ALTER COLUMN [ShowInSiteMap] [bit] NULL ALTER TABLE [dbo].[carrot_RootContent] ALTER COLUMN [BlockIndex] [bit] NULL GO declare @BlogEntry uniqueidentifier declare @ContentEntry uniqueidentifier set @BlogEntry = (select top 1 [ContentTypeID] from [dbo].[carrot_ContentType] where [ContentTypeValue] = 'BlogEntry') set @ContentEntry = (select top 1 [ContentTypeID] from [dbo].[carrot_ContentType] where [ContentTypeValue] = 'ContentEntry') UPDATE [dbo].[carrot_RootContent] SET [ShowInSiteMap] = 1 WHERE ISNULL([ShowInSiteMap], 1) = 1 AND [ContentTypeID] = @ContentEntry UPDATE [dbo].[carrot_RootContent] SET [ShowInSiteMap] = 0 WHERE ISNULL([ShowInSiteMap], 1) = 1 AND [ContentTypeID] = @BlogEntry UPDATE [dbo].[carrot_RootContent] SET [BlockIndex] = 0 WHERE ISNULL([BlockIndex], 0) = 0 GO ALTER TABLE [dbo].[carrot_RootContent] ALTER COLUMN [ShowInSiteMap] [bit] NOT NULL ALTER TABLE [dbo].[carrot_RootContent] ALTER COLUMN [BlockIndex] [bit] NOT NULL GO --=============================== GO IF NOT EXISTS( select * from [INFORMATION_SCHEMA].[COLUMNS] where table_name = 'carrot_Sites' and column_name = 'Blog_DatePath') BEGIN ALTER TABLE [dbo].[carrot_Sites] ADD [Blog_DatePath] [nvarchar](64) NULL END GO update [dbo].[carrot_Sites] set [Blog_DatePath] = 'date' where isnull([Blog_DatePath], '') = '' update [dbo].[carrot_Sites] set [Blog_DatePath] = REPLACE([Blog_DatePath], '/', '') GO --================================================ GO ALTER VIEW [dbo].[vw_carrot_Content] AS select rc.Root_ContentID, rc.SiteID, rc.Heartbeat_UserId, rc.EditHeartbeat, rc.[FileName], rc.PageActive, rc.ShowInSiteNav, rc.ShowInSiteMap, rc.BlockIndex, rc.CreateUserId, rc.CreateDate, c.ContentID, c.Parent_ContentID, c.IsLatestVersion, c.TitleBar, c.NavMenuText, c.PageHead, c.PageText, c.LeftPageText, c.RightPageText, c.NavOrder, c.EditUserId, c.EditDate, c.TemplateFile, c.MetaKeyword, c.MetaDescription, ct.ContentTypeID, ct.ContentTypeValue, rc.PageSlug, rc.PageThumbnail, s.TimeZone, rc.RetireDate, rc.GoLiveDate, rc.GoLiveDateLocal, cast(case when rc.RetireDate < GetUTCDate() then 1 else 0 end as bit) as IsRetired, cast(case when rc.GoLiveDate > GetUTCDate() then 1 else 0 end as bit) as IsUnReleased from [dbo].carrot_RootContent AS rc INNER JOIN [dbo].carrot_Sites AS s ON rc.SiteID = s.SiteID INNER JOIN [dbo].carrot_Content AS c ON rc.Root_ContentID = c.Root_ContentID INNER JOIN [dbo].carrot_ContentType AS ct ON rc.ContentTypeID = ct.ContentTypeID GO --==============
/***** Book *****/ DECLARE @BookKey INT = 8; DECLARE @FirstAuthorKey INT = 8; DECLARE @Book TABLE ( BookKey INT NOT NULL, BookName NVARCHAR(500) NOT NULL, AlternateBookName NVARCHAR(500) NULL, Slug CHAR(50) NOT NULL ); INSERT INTO @Book ( BookKey, BookName, AlternateBookName, Slug ) VALUES (@BookKey, N'Opera Nova (Marozzo)', 'A New Work', 'Marozzo'); MERGE INTO Sources.Book t USING @Book s ON t.BookKey = s.BookKey WHEN NOT MATCHED THEN INSERT ( BookKey, BookName, AlternateBookName, BookSlug ) VALUES (s.BookKey, s.BookName, s.AlternateBookName, s.Slug) WHEN MATCHED AND s.BookName <> t.BookName OR s.AlternateBookName <> t.AlternateBookName OR s.Slug <> t.BookSlug THEN UPDATE SET t.BookName = s.BookName, t.AlternateBookName = s.AlternateBookName, t.BookSlug = s.Slug; DECLARE @AlternateBookName TABLE ( BookKey INT NOT NULL, AlternateBookName NVARCHAR(500) NOT NULL ); --INSERT INTO @AlternateBookName --( -- BookKey, -- AlternateBookName --) --VALUES --(@BookKey, N'On Fencing, or the Science of Arms'); MERGE INTO Sources.AlternateBookName t USING @AlternateBookName s ON s.BookKey = t.BookKey AND s.AlternateBookName = t.AlternateBookName WHEN NOT MATCHED THEN INSERT ( BookKey, AlternateBookName ) VALUES (s.BookKey, s.AlternateBookName) WHEN NOT MATCHED BY SOURCE AND t.BookKey = @BookKey THEN DELETE; /**** AUTHOR *******/ DECLARE @Author TABLE ( AuthorKey INT NOT NULL, AuthorName NVARCHAR(500) NOT NULL, AuthorSlug CHAR(50) NOT NULL ); INSERT INTO @Author ( AuthorKey, AuthorName, AuthorSlug ) VALUES (@FirstAuthorKey, N'<NAME>', 'Marozzo'); MERGE INTO Sources.Author t USING @Author s ON s.AuthorKey = t.AuthorKey WHEN NOT MATCHED THEN INSERT ( AuthorKey, AuthorName, AuthorSlug ) VALUES (s.AuthorKey, s.AuthorName, s.AuthorSlug) WHEN MATCHED AND t.AuthorName <> s.AuthorName THEN UPDATE SET t.AuthorName = s.AuthorName, t.AuthorSlug = s.AuthorSlug; MERGE INTO Sources.BookAuthor t USING @Author s ON t.BookKey = @BookKey AND s.AuthorKey = t.AuthorKey WHEN NOT MATCHED THEN INSERT ( BookKey, AuthorKey ) VALUES (@BookKey, s.AuthorKey) WHEN NOT MATCHED BY SOURCE AND t.BookKey = @BookKey THEN DELETE; /************ SECTIONS *************/ DECLARE @Section TABLE ( SectionKey INT NOT NULL PRIMARY KEY, ParentSectionKey INT NULL, SectionName NVARCHAR(250) NOT NULL, PageReference NVARCHAR(50) NULL, DisplayOrder FLOAT NOT NULL ); INSERT INTO @Section ( SectionKey, ParentSectionKey, SectionName, PageReference, DisplayOrder ) VALUES (@BookKey * 1000 + 900, NULL, 'Extras', NULL, -1), (@BookKey * 1000 + 901, @BookKey * 1000 + 900, 'History', NULL, 1), (@BookKey * 1000 + 902, @BookKey * 1000 + 900, 'Weapons and Equipment', NULL, 2), (@BookKey * 1000 + 903, @BookKey * 1000 + 900, 'General Discussion', NULL, 3), (@BookKey * 1000 + 904, @BookKey * 1000 + 900, 'Misc. Drills and Lessons', NULL, 4); INSERT INTO @Section ( SectionKey, ParentSectionKey, SectionName, PageReference, DisplayOrder ) VALUES (8001,NULL,'Book 1',NULL,1), (8002,8001,'Sword and Buckler',NULL,1), (8003,8002,'Assault 1 Part 1','Cap 10',1), (8004,8002,'Assault 1 Part 2','Cap 10.2',2), (8005,8002,'Assault 1 Part 3','Cap 10.3',3), (8006,8002,'Assault 1 Part 4','Cap 10.4',4), (8007,8002,'Assault 1 Part 5','Cap 10.5',5), (8008,8002,'Assault 1 Part 6','Cap 10.6',6), (8009,8002,'Assault 1 Part 7','Cap 10.7',7), (8010,8002,'Assault 2 Part 1','Cap 11',8), (8011,8002,'Assault 2 Part 2','Cap 11.2',9), (8012,8002,'Assault 2 Part 3','Cap 11.3',10), (8013,8002,'Assault 2 Part 4','Cap 11.4',11), (8014,8002,'Assault 2 Part 5','Cap 11.5',12), (8015,8002,'Assault 2 Part 6','Cap 11.6',13), (8016,8002,'Assault 2 Part 7','Cap 11.7',14), (8017,8002,'Assault 2 Part 8','Cap 11.8',15), (8018,8002,'Assault 3 Part 1 with Counter','Cap 13/14',16), (8019,8002,'Assault 3 Part 2 with Counter','Cap 14/15',17), (8020,8002,'Assault 3 Part 3 with Counter','Cap 15/16',18), (8021,8002,'Assault 3 Part 4 with Counter','Cap 16/17',19), (8022,8002,'Assault 3 Part 5 with Counter','Cap 17/18',20), (8023,8002,'Assault 3 Part 6 with Counter',NULL,21), (8024,8002,'Assault 3 Part 7 with 4 Counters',NULL,22), (8025,8002,'Assault 3 Part 8 with Counter',NULL,23), (8026,8001,'Half Sword Plays',NULL,2), (8027,8026,'True Edge on True Edge 1 with Counter',NULL,1), (8028,8026,'True Edge on True Edge 2 with Counter',NULL,2), (8029,8026,'True Edge on True Edge 3 with Counter',NULL,3), (8030,8026,'True Edge on True Edge 4 with Counter',NULL,4), (8031,8026,'True Edge on True Edge 5 with Counter',NULL,5), (8032,8026,'True Edge on True Edge 6 with Counter',NULL,6), (8033,NULL,'Book 2',NULL,2), (8034,8033,'Sword and Dagger',NULL,1), (8035,8034,'Sword & Dagger 1',NULL,1), (8036,8034,'Sword & Dagger 2',NULL,2), (8037,8034,'Sword & Dagger 3',NULL,3), (8038,8034,'Sword & Dagger 4',NULL,4), (8039,8034,'Sword & Dagger 5',NULL,5), (8040,8034,'Sword & Dagger 6',NULL,6), (8041,8034,'Sword & Dagger 7',NULL,7), (8042,8034,'Sword & Dagger 8',NULL,8), (8043,8034,'Sword & Dagger 9',NULL,9), (8044,8034,'Sword & Dagger 10 (Capitolo 46)',NULL,10), (8045,8034,'Sword & Dagger 11 (Capitolo 47)',NULL,11), (8046,8034,'Sword & Dagger 12 (Capitolo 48)',NULL,12), (8047,8034,'Sword & Dagger 13 (Capitolo 49)',NULL,13), (8048,8034,'Sword & Dagger 14 (Capitolo 50)',NULL,14), (8049,8033,'Dagger Alone',NULL,2), (8050,8049,'Dagger 1',NULL,1), (8051,8049,'Dagger 2',NULL,2), (8052,8049,'Dagger 3',NULL,3), (8053,8049,'Dagger 4',NULL,4), (8054,8049,'Dagger 5',NULL,5), (8055,8033,'Dagger and Cape',NULL,3), (8056,8055,'Dagger & Cape 1',NULL,1), (8057,8055,'Dagger & Cape 2',NULL,2), (8058,8055,'Dagger & Cape 3',NULL,3), (8059,8055,'Dagger & Cape 4',NULL,4), (8060,8055,'Dagger & Cape 5',NULL,5), (8061,8033,'Sword and Cape',NULL,4), (8062,8061,'Sword & Cape 1',NULL,1), (8063,8061,'Sword & Cape 2',NULL,2), (8064,8061,'Sword & Cape 3',NULL,3), (8065,8061,'Sword & Cape 4',NULL,4), (8066,8061,'Sword & Cape 5',NULL,5), (8067,8061,'Sword & Cape 6',NULL,6), (8068,8061,'Sword & Cape 7',NULL,7), (8069,8061,'Sword & Cape 8',NULL,8), (8070,8061,'Sword & Cape 9',NULL,9), (8071,8061,'Sword & Cape 10',NULL,10), (8072,8033,'Two Swords',NULL,5), (8073,8072,'Two Swords 1',NULL,1), (8074,8072,'Two Swords 2',NULL,2), (8075,8072,'Two Swords 3',NULL,3), (8076,8072,'Two Swords 4',NULL,4), (8077,8072,'Two Swords 5',NULL,5), (8078,8072,'Two Swords 6',NULL,6), (8079,8072,'Two Swords 7',NULL,7), (8080,8072,'Two Swords 8',NULL,8), (8081,8033,'Sword and Large Buckler',NULL,6), (8082,8081,'Sword & Large Buckler Intro (Capitolo 85)',NULL,1), (8083,8081,'Sword & Large Buckler 1 (Capitolo 86)',NULL,2), (8084,8081,'Sword & Large Buckler 2 (Capitolo 87)',NULL,3), (8085,8081,'Sword & Large Buckler 3',NULL,4), (8086,8081,'Sword & Large Buckler 4',NULL,5), (8087,8081,'Sword & Large Buckler 5',NULL,6), (8088,8081,'Sword & Large Buckler 6',NULL,7), (8089,8081,'Sword & Large Buckler 7',NULL,8), (8090,8081,'Sword & Large Buckler 8',NULL,9), (8091,8033,'Sword Alone',NULL,7), (8092,8091,'Sword 1 (Capitolo 94)',NULL,1), (8093,8091,'Sword 2 (Capitolo 95)',NULL,2), (8094,8091,'Sword 3 (Capitolo 96)',NULL,3), (8095,8091,'Sword 4 (Capitolo 97)',NULL,4), (8096,8091,'Sword 5 (Capitolo 98)',NULL,5), (8097,8091,'Sword 6 (Capitolo 99)',NULL,6), (8098,8091,'Sword 7 (Capitolo 100)',NULL,7), (8099,8033,'Sword and Rotella',NULL,8), (8100,8099,'Sword & Rotella Intro (Capitolo 101)',NULL,1), (8101,8099,'Sword & Rotella 1 (Capitolo 102)',NULL,2), (8102,8099,'Sword & Rotella 2 (Capitolo 103)',NULL,3), (8103,8099,'Sword & Rotella 3 (Capitolo 104)',NULL,4), (8104,8099,'Sword & Rotella 4 (Capitolo 105)',NULL,5), (8105,8099,'Sword & Rotella 5 (Capitolo 106)',NULL,6), (8106,8099,'Sword & Rotella 6 (Capitolo 107)',NULL,7), (8107,8099,'Sword & Rotella 7 (Capitolo 108)',NULL,8), (8108,8099,'Sword & Rotella 8 (Capitolo 109)',NULL,9), (8109,8099,'Sword & Rotella 9 (Capitolo 110)',NULL,10), (8110,8099,'Sword & Rotella 10 (Capitolo 111)',NULL,11), (8111,8099,'Sword & Rotella 11 (Capitolo 112)',NULL,12), (8112,8033,'Sword and Targa',NULL,9), (8113,8112,'Sword & Targa Assault 1 Part 1',NULL,1), (8114,8112,'Sword & Targa Assault 1 Part 2',NULL,2), (8115,8112,'Sword & Targa Assault 1 Part 3',NULL,3), (8116,8112,'Sword & Targa Assault 1 Part 4',NULL,4), (8117,8112,'Sword & Targa Assault 1 Part 5',NULL,5), (8118,8112,'Sword & Targa Assault 1 Part 6',NULL,6), (8119,8112,'Sword & Targa Assault 1 Part 7',NULL,7), (8120,8112,'Sword & Targa Assault 1 Part 8',NULL,8), (8121,8112,'Sword & Targa Assault 1 Part 9',NULL,9), (8122,8112,'Sword & Targa Assault 1 Part 10',NULL,10), (8123,8112,'Sword & Targa Assault 1 Part 11',NULL,11), (8124,8112,'Sword & Targa Assault 1 Part 12',NULL,12), (8125,8112,'Sword & Targa Assault 2 Part 1',NULL,13), (8126,8112,'Sword & Targa Assault 2 Part 2',NULL,14), (8127,8112,'Sword & Targa Assault 2 Part 3',NULL,15), (8128,8112,'Sword & Targa Assault 2 Part 4',NULL,16), (8129,8112,'Sword & Targa Assault 2 Part 5',NULL,17), (8130,8112,'Sword & Targa Assault 2 Part 6',NULL,18), (8131,8112,'Sword & Targa Assault 2 Part 7',NULL,19), (8132,8112,'Sword & Targa Assault 2 Part 8',NULL,20), (8133,8112,'Sword & Targa Assault 2 Part 9',NULL,21), (8134,8112,'Sword & Targa Assault 2 Part 10',NULL,22), (8135,8112,'Sword & Targa Assault 2 Part 11',NULL,23), (8136,8033,'Against the Left Handed',NULL,10), (8137,8136,'Left Handed 1',NULL,1), (8138,8136,'Left Handed 2',NULL,2), (8139,8136,'Left Handed 3',NULL,3), (8140,8136,'Left Handed 4',NULL,4), (8141,8033,'Sword and Imbraciatura',NULL,11), (8142,8141,'Sword & Imbraciatura 1',NULL,1), (8143,8141,'Sword & Imbraciatura 2',NULL,2), (8144,8141,'Sword & Imbraciatura 3',NULL,3), (8145,8141,'Sword & Imbraciatura 4',NULL,4), (8146,8033,'Mixed Weapons',NULL,12), (8147,8146,'Imbraciatura vs Pole Arms',NULL,1), (8148,8146,'Targa vs Pole Arms 1',NULL,2), (8149,8146,'Targa vs Pole Arms 2',NULL,3), (8150,8146,'Targa vs Pole Arms 3',NULL,4), (8151,8146,'Man vs Horse',NULL,5), (8152,NULL,'Book 3',NULL,3), (8153,8152,'Great Sword',NULL,1), (8154,8153,'Assault 1 Part 1',NULL,1), (8155,8153,'Assault 1 Part 2',NULL,2), (8156,8153,'Assault 1 Part 3',NULL,3), (8157,8153,'Assault 1 Part 4',NULL,4), (8158,8153,'Assault 1 Part 5',NULL,5), (8159,8153,'Assault 1 Part 6',NULL,6), (8160,8153,'Assault 1 Part 7',NULL,7), (8161,8153,'Assault 1 Part 8',NULL,8), (8162,8153,'Assault 1 Part 9',NULL,9), (8163,8153,'Assault 1 Part 10',NULL,10), (8164,8153,'Assault 2 Part 1',NULL,11), (8165,8153,'Assault 2 Part 2',NULL,12), (8166,8153,'Assault 2 Part 3',NULL,13), (8167,8153,'Assault 2 Part 4',NULL,14), (8168,8153,'Assault 2 Part 5',NULL,15), (8169,8153,'Assault 2 Part 6',NULL,16), (8170,8153,'Assault 2 Part 7',NULL,17), (8171,8153,'Assault 2 Part 8',NULL,18), (8172,8153,'Assault 2 Part 9',NULL,19), (8173,8153,'Assault 2 Part 10',NULL,20), (8174,8153,'True Edge on True Edge 1',NULL,21), (8175,8153,'True Edge on True Edge 2',NULL,22), (8176,8153,'True Edge on True Edge 3',NULL,23), (8177,8153,'True Edge on True Edge 4',NULL,24), (8178,8153,'True Edge on True Edge 5',NULL,25), (8179,8153,'True Edge on True Edge 6',NULL,26), (8180,8153,'True Edge on True Edge 7',NULL,27), (8181,8153,'True Edge on True Edge 8',NULL,28), (8182,8153,'True Edge on True Edge 9',NULL,29), (8183,8153,'True Edge on True Edge 10',NULL,30), (8184,8153,'True Edge on True Edge 11',NULL,31), (8185,8153,'True Edge on True Edge 12',NULL,32), (8186,8153,'True Edge on True Edge 13 (Definition)',NULL,33), (8187,8153,'False Edge on False Edge 1',NULL,34), (8188,8153,'False Edge on False Edge 2',NULL,35), (8189,8153,'False Edge on False Edge 3',NULL,36), (8190,8153,'False Edge on False Edge 4',NULL,37), (8191,8153,'False Edge on False Edge 5',NULL,38), (8192,8153,'False Edge on False Edge 6',NULL,39), (8193,8153,'False Edge on False Edge 7',NULL,40), (8194,NULL,'Book 4',NULL,4), (8195,8194,'Partisan and Rotella',NULL,1), (8196,8195,'Partisan & Rotella 1',NULL,1), (8197,8195,'Partisan & Rotella 2',NULL,2), (8198,8195,'Partisan & Rotella 3',NULL,3), (8199,8195,'Partisan & Rotella 4',NULL,4), (8200,8195,'Partisan & Rotella 5',NULL,5), (8201,8195,'Partisan & Rotella 6',NULL,6), (8202,8195,'Partisan & Rotella 7',NULL,7), (8203,8195,'Partisan & Rotella 8',NULL,8), (8204,8194,'Partisan',NULL,2), (8205,8204,'Partisan 1',NULL,1), (8206,8204,'Partisan 2',NULL,2), (8207,8204,'Partisan 3',NULL,3), (8208,8204,'Partisan 4',NULL,4), (8209,8204,'Partisan 5',NULL,5), (8210,8204,'Partisan 6',NULL,6), (8211,8194,'Pike',NULL,3), (8212,8211,'Pike 1',NULL,1), (8213,8211,'Pike 2',NULL,2), (8214,8211,'Pike 3',NULL,3), (8215,8211,'Pike 4',NULL,4), (8216,8194,'Spiedo',NULL,4), (8217,8216,'Spiedo 1',NULL,1), (8218,8216,'Spiedo 2',NULL,2), (8219,8216,'Spiedo 3',NULL,3), (8220,8216,'Spiedo 4',NULL,4), (8221,8216,'Spiedo 5',NULL,5), (8222,8216,'Spiedo 6',NULL,6), (8223,8194,'Bill',NULL,5), (8224,8223,'<NAME>',NULL,1), (8225,8223,'<NAME>',NULL,2), (8226,8223,'<NAME>',NULL,3), (8227,8223,'<NAME>',NULL,4), (8228,8223,'<NAME>',NULL,5), (8229,8194,'Mixed Weapons',NULL,6), (8230,8229,'Mixed Polearm 1',NULL,1), (8231,8229,'Mixed Polearm 2',NULL,2), (8232,NULL,'Book 5',NULL,5), (8233,8232,'Wrestling (with the Dagger)',NULL,1), (8234,8233,'Wrestling 1',NULL,1), (8235,8233,'Wrestling 2',NULL,2), (8236,8233,'Wrestling 3',NULL,3), (8237,8233,'Wrestling 4',NULL,4), (8238,8233,'Wrestling 5',NULL,5), (8239,8233,'Wrestling 6',NULL,6), (8240,8233,'Wrestling 7',NULL,7), (8241,8233,'Wrestling 8',NULL,8), (8242,8233,'Wrestling 9',NULL,9), (8243,8233,'Wrestling 10',NULL,10), (8244,8233,'Wrestling 11',NULL,11), (8245,8233,'Wrestling 12',NULL,12), (8246,8233,'Wrestling 13',NULL,13), (8247,8233,'Wrestling 14',NULL,14), (8248,8233,'Wrestling 15',NULL,15), (8249,8233,'Wrestling 16',NULL,16), (8250,8233,'Wrestling 17',NULL,17), (8251,8233,'Wrestling 18',NULL,18), (8252,8233,'Wrestling 19',NULL,19), (8253,8233,'Wrestling 20',NULL,20), (8254,8233,'Wrestling 21',NULL,21), (8255,8233,'Wrestling 22',NULL,22); MERGE INTO Sources.Section t USING @Section s ON t.SectionKey = s.SectionKey WHEN NOT MATCHED THEN INSERT ( SectionKey, BookKey, ParentSectionKey, SectionName, DisplayOrder, PageReference ) VALUES (s.SectionKey, @BookKey, s.ParentSectionKey, s.SectionName, s.DisplayOrder, s.PageReference) WHEN MATCHED THEN UPDATE SET t.BookKey = @BookKey, t.ParentSectionKey = s.ParentSectionKey, t.SectionName = s.SectionName, t.PageReference = s.PageReference, t.DisplayOrder = s.DisplayOrder WHEN NOT MATCHED BY SOURCE AND t.BookKey = @BookKey THEN DELETE; /********** VIDEOS *************/ DECLARE @Video TABLE ( SectionKey INT NOT NULL, VideoServiceKey INT NOT NULL, VideoServiceVideoId VARCHAR(11) NULL, CreatedByUserKey INT NOT NULL DEFAULT (-1), StartTime TIME NULL ); INSERT INTO @Video ( SectionKey, VideoServiceKey, VideoServiceVideoId, StartTime ) VALUES (8003,1,'paxk0FAUBuA',NULL), (8003,1,'O0qB9dA0z6o',NULL), (8003,1,'966FlGmHMxY',NULL), (8003,1,'aAx8e8nYKmU',NULL), (8003,1,'DrmbJXnk54c',NULL), (8003,1,'hytftALwAHA',NULL), (8004,1,'UeoqbZUm09A',NULL), (8004,1,'Q-QyFhO6gR8',NULL), (8004,1,'W0oaB4S8wMw',NULL), (8005,1,'SC6yxEqWDdI',NULL), (8005,1,'F-E4WHQKuQE',NULL), (8005,1,'GY84q9VHoCM',NULL), (8005,1,'RZLwLqVa828',NULL), (8006,1,'yyFQ84YVnDw',NULL), (8006,1,'di3jmJUq-7o',NULL), (8007,1,'qHQCWcjeo54',NULL), (8008,1,'Ezj6oXW59NQ',NULL), (8009,1,'uhX_Ytuo0rg',NULL), (8010,1,'D71YmcR1f8c',NULL), (8011,1,'_wYKYtoIM44',NULL), (8012,1,'DBR0zVl7NLk',NULL), (8045,1,'3uywmOu9rOg',NULL), (8073,1,'S8xGvWkdjQ4',NULL), (8074,1,'rJCtyl-WRCI',NULL), (8094,1,'hREnZNhRDKs',NULL), (8154,1,'xuqPBe7AKXA',NULL), (8154,1,'Xoq5jeT2UE0',NULL), (8154,1,'gSdgHDfGPEs',NULL), (8154,1,'f-ZXWQFRlw0',NULL), (8154,1,'8KSKUQr_KKo',NULL), (8154,1,'lrDKaCcXeVA',NULL), (8154,1,'G6E0nvaPcTM',NULL), (8154,1,'8gY4X32o_Y4',NULL), (8155,1,'gSdgHDfGPEs',NULL), (8155,1,'8KSKUQr_KKo',NULL), (8155,1,'7VdF9ogX81o',NULL), (8155,1,'lrDKaCcXeVA',NULL), (8155,1,'8gY4X32o_Y4',NULL), (8156,1,'XX9ecISUn40',NULL), (8156,1,'8KSKUQr_KKo',NULL), (8156,1,'jLAs034EZFw',NULL), (8156,1,'lrDKaCcXeVA',NULL), (8156,1,'8gY4X32o_Y4',NULL), (8157,1,'N4Xx334tHko',NULL), (8157,1,'lrDKaCcXeVA',NULL), (8157,1,'8gY4X32o_Y4',NULL), (8158,1,'kQdEK3U3FW8',NULL), (8158,1,'lrDKaCcXeVA',NULL), (8158,1,'8gY4X32o_Y4',NULL), (8159,1,'lXah7HbPOlo',NULL), (8159,1,'lrDKaCcXeVA',NULL), (8159,1,'8gY4X32o_Y4',NULL), (8160,1,'pZ5d9Sf98lQ',NULL), (8160,1,'lrDKaCcXeVA',NULL), (8161,1,'Nim3fIPt4Po',NULL), (8161,1,'lrDKaCcXeVA',NULL), (8161,1,'8gY4X32o_Y4',NULL), (8162,1,'OuvLj2bibBA',NULL), (8162,1,'lrDKaCcXeVA',NULL), (8162,1,'8gY4X32o_Y4',NULL), (8163,1,'h7lK48eTpOM',NULL), (8163,1,'lrDKaCcXeVA',NULL), (8163,1,'8gY4X32o_Y4',NULL), (8174,1,'1qMhNmK5dfM',NULL), (8175,1,'TcUdjcX7gG4',NULL), (8176,1,'1GgJUtvcjOI',NULL), (8177,1,'AxjoJU_dWQc',NULL), (8178,1,'lKIMy_HU_7s',NULL), (8179,1,'GhkQlx0_fmY',NULL), (8180,1,'HosunYQz8l0',NULL), (8181,1,'0--Q6wez4gY',NULL), (8234,1,'q-CQOExyqjI',NULL), (8234,1,'L3QjuFWXUDw',NULL), (8235,1,'X5EiyWV9rRs',NULL), (8236,1,'CwOJ1A2kdN4',NULL), (8236,1,'L3QjuFWXUDw',NULL), (8237,1,'mrj-8H0SVM4',NULL), (8238,1,'NWvidJBd6rs',NULL), (8239,1,'nOmBqHXF_Ks',NULL), (8240,1,'AGv6Pg5xSPQ',NULL), (8241,1,'X6d1ebdKoAc',NULL), (8242,1,'JrCBQ7LjZaI',NULL), (8243,1,'LN6361Jk3_U',NULL), (8244,1,'UMpAKsx_HMs',NULL), (8245,1,'SbCUJSCe8I0',NULL), (8246,1,'j4Fuctmko84',NULL), (8247,1,'h4rQreNqmro',NULL), (8248,1,'E_ZjpSmpqrY',NULL), (8249,1,'Eqr_5kukvbQ',NULL), (8250,1,'SSfUoUkkOZU',NULL), (8251,1,'uwAzQbyhhVQ',NULL), (8252,1,'jUg8kjJ72Tw',NULL), (8253,1,'DA--CqzaHB8',NULL), (8254,1,'V-MKsADZhyM',NULL), (8255,1,'Pvz0oNkqLjs',NULL); MERGE INTO Interpretations.Video t USING @Video s ON s.SectionKey = t.SectionKey AND s.VideoServiceKey = t.VideoServiceKey AND s.VideoServiceVideoId = t.VideoServiceVideoId AND (s.StartTime = t.StartTime OR (s.StartTime IS NULL AND t.StartTime IS NULL)) WHEN NOT MATCHED THEN INSERT ( SectionKey, VideoServiceKey, VideoServiceVideoId, Url, StartTime, CreatedByUserKey ) VALUES (s.SectionKey, s.VideoServiceKey, s.VideoServiceVideoId, NULL, StartTime, s.CreatedByUserKey) ; /**** WEAPONS *******/ --EXEC Sources.AddWeaponsForSection 7002, 1; --EXEC Sources.AddWeaponsForSection 7051, 10; --EXEC Sources.AddWeaponsForSection 7099, 17; --EXEC Sources.AddWeaponsForSection 7113, 1; --EXEC Sources.AddWeaponsForSection 7168, 10; --EXEC Sources.AddWeaponsForSection 7202, 9, 8; --EXEC Sources.AddWeaponsForSection 7208, 1, 19;
<filename>src/test/resources/sql/drop_role/7d420248.sql -- file:foreign_data.sql ln:10 expect:true DROP ROLE IF EXISTS regress_foreign_data_user, regress_test_role, regress_test_role2, regress_test_role_super, regress_test_indirect, regress_unprivileged_role
-- file:int8.sql ln:105 expect:true SELECT '' AS to_char_3, to_char( (q1 * -1), '9999999999999999PR'), to_char( (q2 * -1), '9999999999999999.999PR') FROM INT8_TBL
INSERT INTO `#__joomlawatch_ip2c` (`start`, `end`, `a2`, `a3`, `country`) VALUES (1410236712, 1410236719, 'GB', 'GBR', 'UNITED KINGDOM'), (1410236720, 1410236895, 'FR', 'FRA', 'FRANCE'), (1410236896, 1410236903, 'GB', 'GBR', 'UNITED KINGDOM'), (1410236904, 1410237183, 'FR', 'FRA', 'FRANCE'), (1410237184, 1410237439, 'GB', 'GBR', 'UNITED KINGDOM'), (1410237440, 1410237863, 'FR', 'FRA', 'FRANCE'), (1410237864, 1410237871, 'GB', 'GBR', 'UNITED KINGDOM'), (1410237872, 1410237951, 'FR', 'FRA', 'FRANCE'), (1410237952, 1410238207, 'GB', 'GBR', 'UNITED KINGDOM'), (1410238208, 1410238247, 'FR', 'FRA', 'FRANCE'), (1410238248, 1410238255, 'GB', 'GBR', 'UNITED KINGDOM'), (1410238256, 1410238463, 'FR', 'FRA', 'FRANCE'), (1410238464, 1410238527, 'GB', 'GBR', 'UNITED KINGDOM'), (1410238528, 1410238559, 'FR', 'FRA', 'FRANCE'), (1410238560, 1410238567, 'GB', 'GBR', 'UNITED KINGDOM'), (1410238568, 1410238591, 'FR', 'FRA', 'FRANCE'), (1410238592, 1410238655, 'GB', 'GBR', 'UNITED KINGDOM'), (1410238656, 1410238695, 'FR', 'FRA', 'FRANCE'), (1410238696, 1410238703, 'GB', 'GBR', 'UNITED KINGDOM'), (1410238704, 1410238775, 'FR', 'FRA', 'FRANCE'), (1410238776, 1410238783, 'GB', 'GBR', 'UNITED KINGDOM'), (1410238784, 1410238975, 'FR', 'FRA', 'FRANCE'), (1410238976, 1410239231, 'GB', 'GBR', 'UNITED KINGDOM'), (1410239232, 1410239599, 'FR', 'FRA', 'FRANCE'), (1410239600, 1410239679, 'GB', 'GBR', 'UNITED KINGDOM'), (1410239680, 1410239719, 'FR', 'FRA', 'FRANCE'), (1410239720, 1410239727, 'GB', 'GBR', 'UNITED KINGDOM'), (1410239728, 1410239751, 'FR', 'FRA', 'FRANCE'), (1410239752, 1410239759, 'GB', 'GBR', 'UNITED KINGDOM'), (1410239760, 1410239775, 'FR', 'FRA', 'FRANCE'), (1410239776, 1410239783, 'GB', 'GBR', 'UNITED KINGDOM'), (1410239784, 1410239831, 'FR', 'FRA', 'FRANCE'), (1410239832, 1410239839, 'GB', 'GBR', 'UNITED KINGDOM'), (1410239840, 1410239847, 'FR', 'FRA', 'FRANCE'), (1410239848, 1410239863, 'GB', 'GBR', 'UNITED KINGDOM'), (1410239864, 1410239935, 'FR', 'FRA', 'FRANCE'), (1410239936, 1410239943, 'GB', 'GBR', 'UNITED KINGDOM'), (1410239944, 1410239951, 'FR', 'FRA', 'FRANCE'), (1410239952, 1410239959, 'GB', 'GBR', 'UNITED KINGDOM'), (1410239960, 1410239975, 'FR', 'FRA', 'FRANCE'), (1410239976, 1410239983, 'GB', 'GBR', 'UNITED KINGDOM'), (1410239984, 1410239999, 'FR', 'FRA', 'FRANCE'), (1410240000, 1410240255, 'GB', 'GBR', 'UNITED KINGDOM'), (1410240256, 1410240287, 'FR', 'FRA', 'FRANCE'), (1410240288, 1410240303, 'GB', 'GBR', 'UNITED KINGDOM'), (1410240304, 1410240319, 'FR', 'FRA', 'FRANCE'), (1410240320, 1410240327, 'GB', 'GBR', 'UNITED KINGDOM'), (1410240328, 1410240367, 'FR', 'FRA', 'FRANCE'), (1410240368, 1410240383, 'GB', 'GBR', 'UNITED KINGDOM'), (1410240384, 1410240423, 'FR', 'FRA', 'FRANCE'), (1410240424, 1410240431, 'GB', 'GBR', 'UNITED KINGDOM'), (1410240432, 1410240455, 'FR', 'FRA', 'FRANCE'), (1410240456, 1410240471, 'GB', 'GBR', 'UNITED KINGDOM'), (1410240472, 1410240487, 'FR', 'FRA', 'FRANCE'), (1410240488, 1410240503, 'GB', 'GBR', 'UNITED KINGDOM'), (1410240504, 1410240511, 'FR', 'FRA', 'FRANCE'), (1410240512, 1410240767, 'GB', 'GBR', 'UNITED KINGDOM'), (1410240768, 1410240775, 'FR', 'FRA', 'FRANCE'), (1410240776, 1410240791, 'GB', 'GBR', 'UNITED KINGDOM'), (1410240792, 1410240807, 'FR', 'FRA', 'FRANCE'), (1410240808, 1410240895, 'GB', 'GBR', 'UNITED KINGDOM'), (1410240896, 1410240927, 'FR', 'FRA', 'FRANCE'), (1410240928, 1410240935, 'GB', 'GBR', 'UNITED KINGDOM'), (1410240936, 1410240943, 'FR', 'FRA', 'FRANCE'), (1410240944, 1410240951, 'GB', 'GBR', 'UNITED KINGDOM'), (1410240952, 1410240967, 'FR', 'FRA', 'FRANCE'), (1410240968, 1410240975, 'GB', 'GBR', 'UNITED KINGDOM'), (1410240976, 1410241015, 'FR', 'FRA', 'FRANCE'), (1410241016, 1410241055, 'GB', 'GBR', 'UNITED KINGDOM'), (1410241056, 1410241103, 'FR', 'FRA', 'FRANCE'), (1410241104, 1410241111, 'GB', 'GBR', 'UNITED KINGDOM'), (1410241112, 1410241119, 'FR', 'FRA', 'FRANCE'), (1410241120, 1410241127, 'GB', 'GBR', 'UNITED KINGDOM'), (1410241128, 1410241151, 'FR', 'FRA', 'FRANCE'), (1410241152, 1410241159, 'GB', 'GBR', 'UNITED KINGDOM'), (1410241160, 1410241167, 'FR', 'FRA', 'FRANCE'), (1410241168, 1410241191, 'GB', 'GBR', 'UNITED KINGDOM'), (1410241192, 1410241199, 'FR', 'FRA', 'FRANCE'), (1410241200, 1410241207, 'GB', 'GBR', 'UNITED KINGDOM'), (1410241208, 1410241255, 'FR', 'FRA', 'FRANCE'), (1410241256, 1410241263, 'GB', 'GBR', 'UNITED KINGDOM'), (1410241264, 1410241279, 'FR', 'FRA', 'FRANCE'), (1410241280, 1410241535, 'GB', 'GBR', 'UNITED KINGDOM'), (1410241536, 1410241551, 'FR', 'FRA', 'FRANCE'), (1410241552, 1410241559, 'GB', 'GBR', 'UNITED KINGDOM'), (1410241560, 1410241575, 'FR', 'FRA', 'FRANCE'), (1410241576, 1410241583, 'GB', 'GBR', 'UNITED KINGDOM'), (1410241584, 1410241655, 'FR', 'FRA', 'FRANCE'), (1410241656, 1410241663, 'GB', 'GBR', 'UNITED KINGDOM'), (1410241664, 1410241671, 'FR', 'FRA', 'FRANCE'), (1410241672, 1410241687, 'GB', 'GBR', 'UNITED KINGDOM'), (1410241688, 1410241711, 'FR', 'FRA', 'FRANCE'), (1410241712, 1410241727, 'GB', 'GBR', 'UNITED KINGDOM'), (1410241728, 1410241735, 'FR', 'FRA', 'FRANCE'), (1410241736, 1410241743, 'GB', 'GBR', 'UNITED KINGDOM'), (1410241744, 1410242047, 'FR', 'FRA', 'FRANCE'), (1410242048, 1410242303, 'GB', 'GBR', 'UNITED KINGDOM'), (1410242304, 1410242311, 'FR', 'FRA', 'FRANCE'), (1410242312, 1410242319, 'GB', 'GBR', 'UNITED KINGDOM'), (1410242320, 1410242327, 'FR', 'FRA', 'FRANCE'), (1410242328, 1410242335, 'GB', 'GBR', 'UNITED KINGDOM'), (1410242336, 1410242383, 'FR', 'FRA', 'FRANCE'), (1410242384, 1410242391, 'GB', 'GBR', 'UNITED KINGDOM'), (1410242392, 1410242423, 'FR', 'FRA', 'FRANCE'), (1410242424, 1410242439, 'GB', 'GBR', 'UNITED KINGDOM'), (1410242440, 1410242463, 'FR', 'FRA', 'FRANCE'), (1410242464, 1410242471, 'GB', 'GBR', 'UNITED KINGDOM'), (1410242472, 1410242559, 'FR', 'FRA', 'FRANCE'), (1410242560, 1410242815, 'GB', 'GBR', 'UNITED KINGDOM'), (1410242816, 1410242887, 'FR', 'FRA', 'FRANCE'), (1410242888, 1410242895, 'GB', 'GBR', 'UNITED KINGDOM'), (1410242896, 1410243479, 'FR', 'FRA', 'FRANCE'), (1410243480, 1410243487, 'GB', 'GBR', 'UNITED KINGDOM'), (1410243488, 1410244143, 'FR', 'FRA', 'FRANCE'), (1410244144, 1410244151, 'GB', 'GBR', 'UNITED KINGDOM'), (1410244152, 1410244207, 'FR', 'FRA', 'FRANCE'), (1410244208, 1410244215, 'GB', 'GBR', 'UNITED KINGDOM'), (1410244216, 1410244287, 'FR', 'FRA', 'FRANCE'), (1410244288, 1410244295, 'GB', 'GBR', 'UNITED KINGDOM'), (1410244296, 1410244383, 'FR', 'FRA', 'FRANCE'), (1410244384, 1410244391, 'GB', 'GBR', 'UNITED KINGDOM'), (1410244392, 1410244423, 'FR', 'FRA', 'FRANCE'), (1410244424, 1410244839, 'GB', 'GBR', 'UNITED KINGDOM'), (1410244840, 1410244847, 'FR', 'FRA', 'FRANCE'), (1410244848, 1410244863, 'GB', 'GBR', 'UNITED KINGDOM'), (1410244864, 1410244879, 'FR', 'FRA', 'FRANCE'), (1410244880, 1410244895, 'GB', 'GBR', 'UNITED KINGDOM'), (1410244896, 1410245039, 'FR', 'FRA', 'FRANCE'), (1410245040, 1410245047, 'GB', 'GBR', 'UNITED KINGDOM'), (1410245048, 1410245087, 'FR', 'FRA', 'FRANCE'), (1410245088, 1410245095, 'GB', 'GBR', 'UNITED KINGDOM'), (1410245096, 1410245119, 'FR', 'FRA', 'FRANCE'), (1410245120, 1410245375, 'GB', 'GBR', 'UNITED KINGDOM'), (1410245376, 1410245495, 'FR', 'FRA', 'FRANCE'), (1410245496, 1410245503, 'GB', 'GBR', 'UNITED KINGDOM'), (1410245504, 1410245535, 'FR', 'FRA', 'FRANCE'), (1410245536, 1410246919, 'GB', 'GBR', 'UNITED KINGDOM'), (1410246920, 1410246927, 'FR', 'FRA', 'FRANCE'), (1410246928, 1410246943, 'GB', 'GBR', 'UNITED KINGDOM'), (1410246944, 1410246959, 'FR', 'FRA', 'FRANCE'), (1410246960, 1410246967, 'GB', 'GBR', 'UNITED KINGDOM'), (1410246968, 1410246983, 'FR', 'FRA', 'FRANCE'), (1410246984, 1410246999, 'GB', 'GBR', 'UNITED KINGDOM'), (1410247000, 1410247007, 'FR', 'FRA', 'FRANCE'), (1410247008, 1410247015, 'GB', 'GBR', 'UNITED KINGDOM'), (1410247016, 1410247023, 'FR', 'FRA', 'FRANCE'), (1410247024, 1410247031, 'GB', 'GBR', 'UNITED KINGDOM'), (1410247032, 1410247039, 'FR', 'FRA', 'FRANCE'), (1410247040, 1410247047, 'GB', 'GBR', 'UNITED KINGDOM'), (1410247048, 1410247071, 'FR', 'FRA', 'FRANCE'), (1410247072, 1410247095, 'GB', 'GBR', 'UNITED KINGDOM'), (1410247096, 1410247103, 'FR', 'FRA', 'FRANCE'), (1410247104, 1410247111, 'GB', 'GBR', 'UNITED KINGDOM'), (1410247112, 1410247143, 'FR', 'FRA', 'FRANCE'), (1410247144, 1410247151, 'GB', 'GBR', 'UNITED KINGDOM'), (1410247152, 1410247159, 'FR', 'FRA', 'FRANCE'), (1410247160, 1410247679, 'GB', 'GBR', 'UNITED KINGDOM'), (1410247680, 1410247727, 'FR', 'FRA', 'FRANCE'), (1410247728, 1410247743, 'GB', 'GBR', 'UNITED KINGDOM'), (1410247744, 1410247751, 'FR', 'FRA', 'FRANCE'), (1410247752, 1410247759, 'GB', 'GBR', 'UNITED KINGDOM'), (1410247760, 1410247767, 'FR', 'FRA', 'FRANCE'), (1410247768, 1410247775, 'GB', 'GBR', 'UNITED KINGDOM'), (1410247776, 1410247935, 'FR', 'FRA', 'FRANCE'), (1410247936, 1410248191, 'GB', 'GBR', 'UNITED KINGDOM'), (1410248192, 1410248223, 'FR', 'FRA', 'FRANCE'), (1410248224, 1410248255, 'GB', 'GBR', 'UNITED KINGDOM'), (1410248256, 1410248295, 'FR', 'FRA', 'FRANCE'), (1410248296, 1410248303, 'GB', 'GBR', 'UNITED KINGDOM'), (1410248304, 1410248359, 'FR', 'FRA', 'FRANCE'), (1410248360, 1410248367, 'GB', 'GBR', 'UNITED KINGDOM'), (1410248368, 1410248375, 'FR', 'FRA', 'FRANCE'), (1410248376, 1410248399, 'GB', 'GBR', 'UNITED KINGDOM'), (1410248400, 1410248423, 'FR', 'FRA', 'FRANCE'), (1410248424, 1410248431, 'GB', 'GBR', 'UNITED KINGDOM'), (1410248432, 1410248623, 'FR', 'FRA', 'FRANCE'), (1410248624, 1410248631, 'GB', 'GBR', 'UNITED KINGDOM'), (1410248632, 1410249215, 'FR', 'FRA', 'FRANCE'), (1410249216, 1410249471, 'GB', 'GBR', 'UNITED KINGDOM'), (1410249472, 1410249503, 'FR', 'FRA', 'FRANCE'), (1410249504, 1410249519, 'GB', 'GBR', 'UNITED KINGDOM'), (1410249520, 1410249543, 'FR', 'FRA', 'FRANCE'), (1410249544, 1410249551, 'GB', 'GBR', 'UNITED KINGDOM'), (1410249552, 1410249559, 'FR', 'FRA', 'FRANCE'), (1410249560, 1410249575, 'GB', 'GBR', 'UNITED KINGDOM'), (1410249576, 1410249583, 'FR', 'FRA', 'FRANCE'), (1410249584, 1410249591, 'GB', 'GBR', 'UNITED KINGDOM'), (1410249592, 1410249607, 'FR', 'FRA', 'FRANCE'), (1410249608, 1410249631, 'GB', 'GBR', 'UNITED KINGDOM'), (1410249632, 1410249647, 'FR', 'FRA', 'FRANCE'), (1410249648, 1410249663, 'GB', 'GBR', 'UNITED KINGDOM'), (1410249664, 1410249679, 'FR', 'FRA', 'FRANCE'), (1410249680, 1410249687, 'GB', 'GBR', 'UNITED KINGDOM'), (1410249688, 1410249727, 'FR', 'FRA', 'FRANCE'), (1410249728, 1410249743, 'GB', 'GBR', 'UNITED KINGDOM'), (1410249744, 1410249751, 'FR', 'FRA', 'FRANCE'), (1410249752, 1410249759, 'GB', 'GBR', 'UNITED KINGDOM'), (1410249760, 1410249767, 'FR', 'FRA', 'FRANCE'), (1410249768, 1410249775, 'GB', 'GBR', 'UNITED KINGDOM'), (1410249776, 1410249879, 'FR', 'FRA', 'FRANCE'), (1410249880, 1410249911, 'GB', 'GBR', 'UNITED KINGDOM'), (1410249912, 1410249983, 'FR', 'FRA', 'FRANCE'), (1410249984, 1410250159, 'GB', 'GBR', 'UNITED KINGDOM'), (1410250160, 1410250167, 'FR', 'FRA', 'FRANCE'), (1410250168, 1410250239, 'GB', 'GBR', 'UNITED KINGDOM'), (1410250240, 1410250255, 'FR', 'FRA', 'FRANCE'), (1410250256, 1410250271, 'GB', 'GBR', 'UNITED KINGDOM'), (1410250272, 1410250367, 'FR', 'FRA', 'FRANCE'), (1410250368, 1410250439, 'GB', 'GBR', 'UNITED KINGDOM'), (1410250440, 1410250535, 'FR', 'FRA', 'FRANCE'), (1410250536, 1410250543, 'GB', 'GBR', 'UNITED KINGDOM'), (1410250544, 1410250567, 'FR', 'FRA', 'FRANCE'), (1410250568, 1410250575, 'GB', 'GBR', 'UNITED KINGDOM'), (1410250576, 1410250583, 'FR', 'FRA', 'FRANCE'), (1410250584, 1410250591, 'GB', 'GBR', 'UNITED KINGDOM'), (1410250592, 1410250631, 'FR', 'FRA', 'FRANCE'), (1410250632, 1410250639, 'GB', 'GBR', 'UNITED KINGDOM'), (1410250640, 1410250655, 'FR', 'FRA', 'FRANCE'), (1410250656, 1410250671, 'GB', 'GBR', 'UNITED KINGDOM'), (1410250672, 1410250679, 'FR', 'FRA', 'FRANCE'), (1410250680, 1410250687, 'GB', 'GBR', 'UNITED KINGDOM'), (1410250688, 1410250727, 'FR', 'FRA', 'FRANCE'), (1410250728, 1410250735, 'GB', 'GBR', 'UNITED KINGDOM'), (1410250736, 1410250743, 'FR', 'FRA', 'FRANCE'), (1410250744, 1410252799, 'GB', 'GBR', 'UNITED KINGDOM'), (1410252800, 1410253055, 'FR', 'FRA', 'FRANCE'), (1410253056, 1410253311, 'GB', 'GBR', 'UNITED KINGDOM'), (1410253312, 1410253639, 'FR', 'FRA', 'FRANCE'), (1410253640, 1410253655, 'GB', 'GBR', 'UNITED KINGDOM'), (1410253656, 1410253775, 'FR', 'FRA', 'FRANCE'), (1410253776, 1410253783, 'GB', 'GBR', 'UNITED KINGDOM'), (1410253784, 1410253823, 'FR', 'FRA', 'FRANCE'), (1410253824, 1410254847, 'GB', 'GBR', 'UNITED KINGDOM'), (1410254848, 1410254871, 'FR', 'FRA', 'FRANCE'), (1410254872, 1410254879, 'GB', 'GBR', 'UNITED KINGDOM'), (1410254880, 1410254887, 'FR', 'FRA', 'FRANCE'), (1410254888, 1410254895, 'GB', 'GBR', 'UNITED KINGDOM'), (1410254896, 1410254991, 'FR', 'FRA', 'FRANCE'), (1410254992, 1410254999, 'GB', 'GBR', 'UNITED KINGDOM'), (1410255000, 1410255031, 'FR', 'FRA', 'FRANCE'), (1410255032, 1410255039, 'GB', 'GBR', 'UNITED KINGDOM'), (1410255040, 1410255047, 'FR', 'FRA', 'FRANCE'), (1410255048, 1410255055, 'GB', 'GBR', 'UNITED KINGDOM'), (1410255056, 1410255079, 'FR', 'FRA', 'FRANCE'), (1410255080, 1410255087, 'GB', 'GBR', 'UNITED KINGDOM'), (1410255088, 1410255103, 'FR', 'FRA', 'FRANCE'), (1410255104, 1410255111, 'GB', 'GBR', 'UNITED KINGDOM'), (1410255112, 1410255119, 'FR', 'FRA', 'FRANCE'), (1410255120, 1410255135, 'GB', 'GBR', 'UNITED KINGDOM'), (1410255136, 1410255231, 'FR', 'FRA', 'FRANCE'), (1410255232, 1410255239, 'GB', 'GBR', 'UNITED KINGDOM'), (1410255240, 1410255271, 'FR', 'FRA', 'FRANCE'), (1410255272, 1410255279, 'GB', 'GBR', 'UNITED KINGDOM'), (1410255280, 1410255655, 'FR', 'FRA', 'FRANCE'), (1410255656, 1410255663, 'GB', 'GBR', 'UNITED KINGDOM'), (1410255664, 1410255711, 'FR', 'FRA', 'FRANCE'), (1410255712, 1410255743, 'GB', 'GBR', 'UNITED KINGDOM'), (1410255744, 1410255871, 'FR', 'FRA', 'FRANCE'), (1410255872, 1410255879, 'GB', 'GBR', 'UNITED KINGDOM'), (1410255880, 1410255927, 'FR', 'FRA', 'FRANCE'), (1410255928, 1410255935, 'GB', 'GBR', 'UNITED KINGDOM'), (1410255936, 1410255943, 'FR', 'FRA', 'FRANCE'), (1410255944, 1410255951, 'GB', 'GBR', 'UNITED KINGDOM'), (1410255952, 1410256319, 'FR', 'FRA', 'FRANCE'), (1410256320, 1410256327, 'GB', 'GBR', 'UNITED KINGDOM'), (1410256328, 1410256375, 'FR', 'FRA', 'FRANCE'), (1410256376, 1410256639, 'GB', 'GBR', 'UNITED KINGDOM'), (1410256640, 1410256703, 'FR', 'FRA', 'FRANCE'), (1410256704, 1410256711, 'GB', 'GBR', 'UNITED KINGDOM'), (1410256712, 1410256895, 'FR', 'FRA', 'FRANCE'), (1410256896, 1410257151, 'GB', 'GBR', 'UNITED KINGDOM'), (1410257152, 1410257239, 'FR', 'FRA', 'FRANCE'), (1410257240, 1410257247, 'GB', 'GBR', 'UNITED KINGDOM'), (1410257248, 1410257639, 'FR', 'FRA', 'FRANCE'), (1410257640, 1410257647, 'GB', 'GBR', 'UNITED KINGDOM'), (1410257648, 1410257703, 'FR', 'FRA', 'FRANCE'), (1410257704, 1410257711, 'GB', 'GBR', 'UNITED KINGDOM'), (1410257712, 1410257743, 'FR', 'FRA', 'FRANCE'), (1410257744, 1410257791, 'GB', 'GBR', 'UNITED KINGDOM'), (1410257792, 1410257855, 'FR', 'FRA', 'FRANCE'), (1410257856, 1410268671, 'GB', 'GBR', 'UNITED KINGDOM'), (1410268672, 1410269183, 'FR', 'FRA', 'FRANCE'), (1410269184, 1410334719, 'LT', 'LTU', 'LITHUANIA'), (1410334720, 1410341887, 'ES', 'ESP', 'SPAIN'), (1410341888, 1410342911, 'MA', 'MAR', 'MOROCCO'), (1410342912, 1410351103, 'SK', 'SVK', 'SLOVAKIA'), (1410351104, 1410359295, 'CH', 'CHE', 'SWITZERLAND'), (1410359296, 1410367487, 'CZ', 'CZE', 'CZECH REPUBLIC'), (1410367488, 1410375679, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1410375680, 1410383871, 'DK', 'DNK', 'DENMARK'), (1410383872, 1410392063, 'NO', 'NOR', 'NORWAY'), (1410392064, 1410397183, 'DE', 'DEU', 'GERMANY'), (1410397184, 1410397439, 'PL', 'POL', 'POLAND'), (1410397440, 1410399487, 'DE', 'DEU', 'GERMANY'), (1410399488, 1410399743, 'TR', 'TUR', 'TURKEY'), (1410399744, 1410400063, 'DE', 'DEU', 'GERMANY'), (1410400064, 1410400127, 'TR', 'TUR', 'TURKEY'), (1410400128, 1410400255, 'DE', 'DEU', 'GERMANY'), (1410400256, 1410408447, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1410408448, 1410416639, 'IT', 'ITA', 'ITALY'), (1410416640, 1410424831, 'TR', 'TUR', 'TURKEY'), (1410424832, 1410433023, 'DE', 'DEU', 'GERMANY'), (1410433024, 1410441215, 'BE', 'BEL', 'BELGIUM'), (1410441216, 1410449407, 'DE', 'DEU', 'GERMANY'), (1410449408, 1410457599, 'SE', 'SWE', 'SWEDEN'), (1410457600, 1410465791, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1410465792, 1410473983, 'ES', 'ESP', 'SPAIN'), (1410473984, 1410490367, 'JO', 'JOR', 'JORDAN'), (1410490368, 1410498559, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1410498560, 1410506751, 'IT', 'ITA', 'ITALY'), (1410506752, 1410514943, 'IE', 'IRL', 'IRELAND'), (1410514944, 1410523135, 'GB', 'GBR', 'UNITED KINGDOM'), (1410523136, 1410531327, 'PT', 'PRT', 'PORTUGAL'), (1410531328, 1410539519, 'DE', 'DEU', 'GERMANY'), (1410539520, 1410542591, 'GB', 'GBR', 'UNITED KINGDOM'), (1410542592, 1410543103, 'IE', 'IRL', 'IRELAND'), (1410543104, 1410547711, 'GB', 'GBR', 'UNITED KINGDOM'), (1410547712, 1410555903, 'CZ', 'CZE', 'CZECH REPUBLIC'), (1410555904, 1410564095, 'GB', 'GBR', 'UNITED KINGDOM'), (1410564096, 1410572287, 'SE', 'SWE', 'SWEDEN'), (1410572288, 1410573439, 'DE', 'DEU', 'GERMANY'), (1410573440, 1410573567, 'CH', 'CHE', 'SWITZERLAND'), (1410573568, 1410574727, 'DE', 'DEU', 'GERMANY'), (1410574728, 1410574735, 'UA', 'UKR', 'UKRAINE'), (1410574736, 1410575111, 'DE', 'DEU', 'GERMANY'), (1410575112, 1410575119, 'IT', 'ITA', 'ITALY'), (1410575120, 1410575295, 'DE', 'DEU', 'GERMANY'), (1410575296, 1410575327, 'IT', 'ITA', 'ITALY'), (1410575328, 1410575359, 'SI', 'SVN', 'SLOVENIA'), (1410575360, 1410575551, 'DE', 'DEU', 'GERMANY'), (1410575552, 1410575615, 'IT', 'ITA', 'ITALY'), (1410575616, 1410575775, 'DE', 'DEU', 'GERMANY'), (1410575776, 1410575791, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1410575792, 1410575823, 'DE', 'DEU', 'GERMANY'), (1410575824, 1410575839, 'BG', 'BGR', 'BULGARIA'), (1410575840, 1410575855, 'IT', 'ITA', 'ITALY'), (1410575856, 1410575871, 'DE', 'DEU', 'GERMANY'), (1410575872, 1410575999, 'IE', 'IRL', 'IRELAND'), (1410576000, 1410576063, 'DE', 'DEU', 'GERMANY'), (1410576064, 1410576127, 'IT', 'ITA', 'ITALY'), (1410576128, 1410576255, 'IE', 'IRL', 'IRELAND'), (1410576256, 1410576383, 'IT', 'ITA', 'ITALY'), (1410576384, 1410588671, 'DE', 'DEU', 'GERMANY'), (1410588672, 1410596863, 'GB', 'GBR', 'UNITED KINGDOM'), (1410596864, 1410597839, 'ES', 'ESP', 'SPAIN'), (1410597840, 1410597855, 'FR', 'FRA', 'FRANCE'), (1410597856, 1410605055, 'ES', 'ESP', 'SPAIN'), (1410605056, 1410613247, 'CH', 'CHE', 'SWITZERLAND'), (1410613248, 1410621439, 'AL', 'ALB', 'ALBANIA'), (1410621440, 1410629631, 'NO', 'NOR', 'NORWAY'), (1410629632, 1410637823, 'FI', 'FIN', 'FINLAND'), (1410637824, 1410646015, 'AT', 'AUT', 'AUSTRIA'), (1410646016, 1410654207, 'GB', 'GBR', 'UNITED KINGDOM'), (1410654208, 1410662399, 'SI', 'SVN', 'SLOVENIA'), (1410662400, 1410670591, 'HU', 'HUN', 'HUNGARY'), (1410670592, 1410678783, 'DE', 'DEU', 'GERMANY'), (1410678784, 1410686975, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1410686976, 1410695167, 'CZ', 'CZE', 'CZECH REPUBLIC'), (1410695168, 1410703359, 'GB', 'GBR', 'UNITED KINGDOM'), (1410703360, 1410711551, 'ES', 'ESP', 'SPAIN'), (1410711552, 1410719743, 'BG', 'BGR', 'BULGARIA'), (1410719744, 1410727935, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1410727936, 1410736127, 'BG', 'BGR', 'BULGARIA'), (1410736128, 1410744319, 'CS', 'SCG', 'SERBIA AND MONTENEGRO'), (1410744320, 1410745223, 'FR', 'FRA', 'FRANCE'), (1410745224, 1410745231, 'AE', 'ARE', 'UNITED ARAB EMIRATES'), (1410745232, 1410745247, 'FR', 'FRA', 'FRANCE'), (1410745248, 1410745279, 'US', 'USA', 'UNITED STATES'), (1410745280, 1410752511, 'FR', 'FRA', 'FRANCE'), (1410752512, 1410754559, 'US', 'USA', 'UNITED STATES'), (1410754560, 1410755071, 'DE', 'DEU', 'GERMANY'), (1410755072, 1410755583, 'RO', 'ROM', 'ROMANIA'), (1410755584, 1410755839, 'US', 'USA', 'UNITED STATES'), (1410755840, 1410756095, 'DE', 'DEU', 'GERMANY'), (1410756096, 1410756608, 'US', 'USA', 'UNITED STATES'), (1410756609, 1410760703, 'NL', 'NLD', 'NETHERLANDS'), (1410760704, 1410768895, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1410768896, 1410777087, 'GB', 'GBR', 'UNITED KINGDOM'), (1410777088, 1410785279, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1410785280, 1410793471, 'SA', 'SAU', 'SAUDI ARABIA'), (1410793472, 1410801663, 'GB', 'GBR', 'UNITED KINGDOM'), (1410801664, 1410818047, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1410818048, 1410826239, 'SA', 'SAU', 'SAUDI ARABIA'), (1410826240, 1410834431, 'SE', 'SWE', 'SWEDEN'), (1410834432, 1410842623, 'PL', 'POL', 'POLAND'), (1410842624, 1410850815, 'BE', 'BEL', 'BELGIUM'), (1410850816, 1410859007, 'DE', 'DEU', 'GERMANY'), (1410859008, 1411383295, 'NL', 'NLD', 'NETHERLANDS'), (1411383296, 1411448831, 'LT', 'LTU', 'LITHUANIA'), (1411448832, 1411451391, 'IT', 'ITA', 'ITALY'), (1411451392, 1411451903, 'DE', 'DEU', 'GERMANY'), (1411451904, 1411452159, 'IT', 'ITA', 'ITALY'), (1411452160, 1411452415, 'DE', 'DEU', 'GERMANY'), (1411452416, 1411453439, 'IT', 'ITA', 'ITALY'), (1411453440, 1411454207, 'DE', 'DEU', 'GERMANY'), (1411454208, 1411454975, 'IT', 'ITA', 'ITALY'), (1411454976, 1411455743, 'DE', 'DEU', 'GERMANY'), (1411455744, 1411456255, 'IT', 'ITA', 'ITALY'), (1411456256, 1411456511, 'DE', 'DEU', 'GERMANY'), (1411456512, 1411457279, 'IT', 'ITA', 'ITALY'), (1411457280, 1411457535, 'DE', 'DEU', 'GERMANY'), (1411457536, 1411465215, 'IT', 'ITA', 'ITALY'), (1411465216, 1411465471, 'GB', 'GBR', 'UNITED KINGDOM'), (1411465472, 1411481855, 'IT', 'ITA', 'ITALY'), (1411481856, 1411483903, 'DE', 'DEU', 'GERMANY'), (1411483904, 1411514367, 'IT', 'ITA', 'ITALY'), (1411514368, 1411579903, 'FI', 'FIN', 'FINLAND'), (1411579904, 1411645439, 'NL', 'NLD', 'NETHERLANDS'), (1411710976, 1411776511, 'FR', 'FRA', 'FRANCE'), (1411776512, 1411780607, 'GR', 'GRC', 'GREECE'), (1411780608, 1411784703, 'PL', 'POL', 'POLAND'), (1411784704, 1411788799, 'GB', 'GBR', 'UNITED KINGDOM'), (1411788800, 1411792895, 'IT', 'ITA', 'ITALY'), (1411792896, 1411796991, 'DE', 'DEU', 'GERMANY'), (1411796992, 1411805183, 'PL', 'POL', 'POLAND'), (1411805184, 1411809279, 'AT', 'AUT', 'AUSTRIA'), (1411809280, 1411813375, 'LV', 'LVA', 'LATVIA'), (1411813376, 1411817471, 'NO', 'NOR', 'NORWAY'), (1411817472, 1411821567, 'PL', 'POL', 'POLAND'), (1411821568, 1411825663, 'CZ', 'CZE', 'CZECH REPUBLIC'), (1411825664, 1411829759, 'DE', 'DEU', 'GERMANY'), (1411829760, 1411833855, 'PL', 'POL', 'POLAND'), (1411833856, 1411837951, 'NL', 'NLD', 'NETHERLANDS'), (1411837952, 1411842047, 'BG', 'BGR', 'BULGARIA'), (1411842048, 1411907583, 'PT', 'PRT', 'PORTUGAL'), (1411908096, 1411908351, 'GB', 'GBR', 'UNITED KINGDOM'), (1411911680, 1411915775, 'US', 'USA', 'UNITED STATES'), (1411919872, 1411923967, 'DE', 'DEU', 'GERMANY'), (1411940352, 1411973119, 'PL', 'POL', 'POLAND'), (1411973120, 1411978255, 'SI', 'SVN', 'SLOVENIA'), (1411978256, 1411978271, 'HR', 'HRV', 'CROATIA'), (1411978272, 1412001791, 'SI', 'SVN', 'SLOVENIA'), (1412001792, 1412002815, 'RO', 'ROM', 'ROMANIA'), (1412002816, 1412003839, 'BA', 'BIH', 'BOSNIA AND HERZEGOVINA'), (1412003840, 1412004863, 'BG', 'BGR', 'BULGARIA'), (1412004864, 1412005887, 'SI', 'SVN', 'SLOVENIA'), (1412005888, 1412038655, 'NL', 'NLD', 'NETHERLANDS'), (1412038656, 1412071423, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1412071424, 1412104191, 'CZ', 'CZE', 'CZECH REPUBLIC'), (1412104192, 1412136959, 'GB', 'GBR', 'UNITED KINGDOM'), (1412136960, 1412169727, 'BG', 'BGR', 'BULGARIA'), (1412169728, 1412202495, 'TR', 'TUR', 'TURKEY'), (1412202496, 1412235263, 'DE', 'DEU', 'GERMANY'), (1412235264, 1412237567, 'GB', 'GBR', 'UNITED KINGDOM'), (1412237568, 1412237823, 'US', 'USA', 'UNITED STATES'), (1412237824, 1412300799, 'GB', 'GBR', 'UNITED KINGDOM'), (1412300800, 1412333567, 'DE', 'DEU', 'GERMANY'), (1412333568, 1412366335, 'LT', 'LTU', 'LITHUANIA'), (1412366336, 1412399103, 'SK', 'SVK', 'SLOVAKIA'), (1412399104, 1412415487, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1412415488, 1412431871, 'IR', 'IRN', 'ISLAMIC REPUBLIC OF IRAN'), (1412431872, 1412562943, 'NO', 'NOR', 'NORWAY'), (1412562944, 1412628479, 'EE', 'EST', 'ESTONIA'), (1412628480, 1412641791, 'TR', 'TUR', 'TURKEY'), (1412641792, 1412642815, 'DE', 'DEU', 'GERMANY'), (1412642816, 1412644863, 'TR', 'TUR', 'TURKEY'), (1412661248, 1412677631, 'GB', 'GBR', 'UNITED KINGDOM'), (1412677632, 1412685823, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1412685824, 1412689151, 'IE', 'IRL', 'IRELAND'), (1412689152, 1412689407, 'GB', 'GBR', 'UNITED KINGDOM'), (1412689408, 1412694015, 'IE', 'IRL', 'IRELAND'), (1412694016, 1412710399, 'EE', 'EST', 'ESTONIA'), (1412710400, 1412726783, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1412726784, 1412743167, 'SI', 'SVN', 'SLOVENIA'), (1412743168, 1412775935, 'NO', 'NOR', 'NORWAY'), (1412775936, 1412792319, 'NL', 'NLD', 'NETHERLANDS'), (1412792320, 1412798463, 'US', 'USA', 'UNITED STATES'), (1412800512, 1412804607, 'US', 'USA', 'UNITED STATES'), (1412808704, 1412825087, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1412825088, 1412830463, 'IQ', 'IRQ', 'IRAQ'), (1412830464, 1412833279, 'LB', 'LBN', 'LEBANON'), (1412833280, 1412833535, 'CI', 'CIV', 'COTE D''IVOIRE'), (1412833536, 1412841471, 'LB', 'LBN', 'LEBANON'), (1412841472, 1412857855, 'UZ', 'UZB', 'UZBEKISTAN'), (1412857856, 1412874239, 'BG', 'BGR', 'BULGARIA'), (1412874240, 1412890623, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1412890624, 1412907007, 'LT', 'LTU', 'LITHUANIA'), (1412907008, 1412923391, 'SE', 'SWE', 'SWEDEN'), (1412923392, 1412939775, 'FR', 'FRA', 'FRANCE'), (1412939776, 1412956159, 'CH', 'CHE', 'SWITZERLAND'), (1412956160, 1413480447, 'DE', 'DEU', 'GERMANY'), (1413480448, 1414004735, 'GB', 'GBR', 'UNITED KINGDOM'), (1414004736, 1414266879, 'CH', 'CHE', 'SWITZERLAND'), (1414266880, 1414529023, 'ES', 'ESP', 'SPAIN'), (1414529024, 1415053311, 'NL', 'NLD', 'NETHERLANDS'), (1415053312, 1415184383, 'ES', 'ESP', 'SPAIN'), (1415184384, 1415315455, 'PT', 'PRT', 'PORTUGAL'), (1415315456, 1415446527, 'GB', 'GBR', 'UNITED KINGDOM'), (1415446528, 1415577599, 'IL', 'ISR', 'ISRAEL'), (1415577600, 1416101887, 'FR', 'FRA', 'FRANCE'), (1416101888, 1416364031, 'NL', 'NLD', 'NETHERLANDS'), (1416364032, 1416626175, 'IL', 'ISR', 'ISRAEL'), (1416626176, 1417150463, 'AT', 'AUT', 'AUSTRIA'), (1417150464, 1417674751, 'ES', 'ESP', 'SPAIN'), (1417674752, 1421869055, 'DE', 'DEU', 'GERMANY'), (1421869056, 1422393343, 'BE', 'BEL', 'BELGIUM'), (1422393344, 1422393599, 'IT', 'ITA', 'ITALY'), (1422393600, 1422399743, 'DE', 'DEU', 'GERMANY'), (1422399744, 1422399999, 'IT', 'ITA', 'ITALY'), (1422400000, 1422458879, 'DE', 'DEU', 'GERMANY'), (1422475264, 1422491647, 'DE', 'DEU', 'GERMANY'), (1422491648, 1422508031, 'GB', 'GBR', 'UNITED KINGDOM'), (1422508032, 1422512127, 'BG', 'BGR', 'BULGARIA'), (1422512128, 1422516223, 'PL', 'POL', 'POLAND'), (1422516224, 1422520319, 'BY', 'BLR', 'BELARUS'), (1422520320, 1422524415, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1422524416, 1422589951, 'NO', 'NOR', 'NORWAY'), (1422589952, 1422655487, 'IE', 'IRL', 'IRELAND'), (1422655488, 1422721023, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1422721024, 1422729215, 'PL', 'POL', 'POLAND'), (1422729216, 1422737407, 'NO', 'NOR', 'NORWAY'), (1422745600, 1422753791, 'EG', 'EGY', 'EGYPT'), (1422753792, 1422761983, 'FR', 'FRA', 'FRANCE'), (1422761984, 1422778367, 'PL', 'POL', 'POLAND'), (1422778368, 1422786559, 'GR', 'GRC', 'GREECE'), (1422786560, 1422852095, 'HU', 'HUN', 'HUNGARY'), (1422852096, 1422853119, 'FR', 'FRA', 'FRANCE'), (1422853120, 1422853631, 'DE', 'DEU', 'GERMANY'), (1422853632, 1422853919, 'FR', 'FRA', 'FRANCE'), (1422853920, 1422854143, 'DE', 'DEU', 'GERMANY'), (1422854144, 1422854151, 'FR', 'FRA', 'FRANCE'), (1422854152, 1422856191, 'DE', 'DEU', 'GERMANY'), (1422856192, 1422856575, 'FR', 'FRA', 'FRANCE'), (1422856576, 1422856703, 'DE', 'DEU', 'GERMANY'), (1422856704, 1422857471, 'FR', 'FRA', 'FRANCE'), (1422857472, 1422857727, 'DE', 'DEU', 'GERMANY'), (1422857728, 1422857855, 'FR', 'FRA', 'FRANCE'), (1422857856, 1422857919, 'DE', 'DEU', 'GERMANY'), (1422857920, 1422858143, 'FR', 'FRA', 'FRANCE'), (1422858144, 1422858239, 'DE', 'DEU', 'GERMANY'), (1422858240, 1422858623, 'FR', 'FRA', 'FRANCE'), (1422858624, 1422917631, 'DE', 'DEU', 'GERMANY'), (1422917632, 1423441919, 'NO', 'NOR', 'NORWAY'), (1423441920, 1423704063, 'SE', 'SWE', 'SWEDEN'), (1423704064, 1423966207, 'IT', 'ITA', 'ITALY'), (1423966208, 1424097279, 'HU', 'HUN', 'HUNGARY'), (1424097280, 1424228351, 'CH', 'CHE', 'SWITZERLAND'), (1424228352, 1424359423, 'IL', 'ISR', 'ISRAEL'), (1424359424, 1424490495, 'FI', 'FIN', 'FINLAND'), (1424490496, 1424523263, 'ES', 'ESP', 'SPAIN'), (1424523264, 1424556031, 'RO', 'ROM', 'ROMANIA'), (1424588800, 1424589311, 'DE', 'DEU', 'GERMANY'), (1424589312, 1424589567, 'FR', 'FRA', 'FRANCE'), (1424589568, 1424590719, 'GB', 'GBR', 'UNITED KINGDOM'), (1424590720, 1424591423, 'SE', 'SWE', 'SWEDEN'), (1424591424, 1424591439, 'GB', 'GBR', 'UNITED KINGDOM'), (1424591440, 1424591479, 'SE', 'SWE', 'SWEDEN'), (1424591480, 1424591487, 'GB', 'GBR', 'UNITED KINGDOM'), (1424591488, 1424591551, 'SE', 'SWE', 'SWEDEN'), (1424591552, 1424592639, 'GB', 'GBR', 'UNITED KINGDOM'), (1424592640, 1424593407, 'FR', 'FRA', 'FRANCE'), (1424593408, 1424593663, 'DE', 'DEU', 'GERMANY'), (1424593664, 1424593727, 'SK', 'SVK', 'SLOVAKIA'), (1424593728, 1424593791, 'HU', 'HUN', 'HUNGARY'), (1424593792, 1424593919, 'DE', 'DEU', 'GERMANY'), (1424593920, 1424593967, 'FR', 'FRA', 'FRANCE'), (1424593968, 1424593983, 'GB', 'GBR', 'UNITED KINGDOM'), (1424593984, 1424594055, 'FR', 'FRA', 'FRANCE'), (1424594056, 1424594063, 'IT', 'ITA', 'ITALY'), (1424594064, 1424594175, 'FR', 'FRA', 'FRANCE'), (1424594176, 1424595175, 'GB', 'GBR', 'UNITED KINGDOM'), (1424595176, 1424595179, 'FR', 'FRA', 'FRANCE'), (1424595180, 1424595455, 'GB', 'GBR', 'UNITED KINGDOM'), (1424595456, 1424595575, 'IT', 'ITA', 'ITALY'), (1424595576, 1424595583, 'GB', 'GBR', 'UNITED KINGDOM'), (1424595584, 1424596479, 'IT', 'ITA', 'ITALY'), (1424596480, 1424596575, 'FR', 'FRA', 'FRANCE'), (1424596576, 1424596591, 'GB', 'GBR', 'UNITED KINGDOM'), (1424596592, 1424596991, 'FR', 'FRA', 'FRANCE'), (1424596992, 1424597503, 'CZ', 'CZE', 'CZECH REPUBLIC'), (1424597504, 1424597759, 'FR', 'FRA', 'FRANCE'), (1424597760, 1424598015, 'IT', 'ITA', 'ITALY'), (1424598016, 1424599039, 'GB', 'GBR', 'UNITED KINGDOM'), (1424599040, 1424599231, 'DK', 'DNK', 'DENMARK'), (1424599232, 1424599263, 'GB', 'GBR', 'UNITED KINGDOM'), (1424599264, 1424599279, 'DK', 'DNK', 'DENMARK'), (1424599280, 1424599295, 'GB', 'GBR', 'UNITED KINGDOM'), (1424599296, 1424599551, 'DK', 'DNK', 'DENMARK'), (1424599552, 1424599847, 'HU', 'HUN', 'HUNGARY'), (1424599848, 1424599871, 'GB', 'GBR', 'UNITED KINGDOM'), (1424599872, 1424599875, 'HU', 'HUN', 'HUNGARY'), (1424599876, 1424599879, 'GB', 'GBR', 'UNITED KINGDOM'), (1424599880, 1424599887, 'HU', 'HUN', 'HUNGARY'), (1424599888, 1424599903, 'GB', 'GBR', 'UNITED KINGDOM'), (1424599904, 1424599935, 'HU', 'HUN', 'HUNGARY'), (1424599936, 1424600063, 'GB', 'GBR', 'UNITED KINGDOM'), (1424600064, 1424600319, 'CH', 'CHE', 'SWITZERLAND'), (1424600320, 1424600575, 'GB', 'GBR', 'UNITED KINGDOM'), (1424600576, 1424600831, 'FR', 'FRA', 'FRANCE'), (1424600832, 1424601087, 'BE', 'BEL', 'BELGIUM'), (1424601088, 1424601343, 'GB', 'GBR', 'UNITED KINGDOM'), (1424601344, 1424601599, 'ES', 'ESP', 'SPAIN'), (1424601600, 1424601855, 'CH', 'CHE', 'SWITZERLAND'), (1424601856, 1424602111, 'GB', 'GBR', 'UNITED KINGDOM'), (1424602112, 1424602623, 'DE', 'DEU', 'GERMANY'), (1424602624, 1424602879, 'GB', 'GBR', 'UNITED KINGDOM'), (1424602880, 1424602911, 'US', 'USA', 'UNITED STATES'), (1424602912, 1424602927, 'FR', 'FRA', 'FRANCE'), (1424602928, 1424603055, 'US', 'USA', 'UNITED STATES'), (1424603056, 1424603063, 'NL', 'NLD', 'NETHERLANDS'), (1424603064, 1424603071, 'US', 'USA', 'UNITED STATES'), (1424603072, 1424603135, 'GB', 'GBR', 'UNITED KINGDOM'), (1424603136, 1424603263, 'SK', 'SVK', 'SLOVAKIA'), (1424603264, 1424603391, 'GB', 'GBR', 'UNITED KINGDOM'), (1424603392, 1424603647, 'DE', 'DEU', 'GERMANY'), (1424603648, 1424603903, 'GB', 'GBR', 'UNITED KINGDOM'), (1424603904, 1424604159, 'ES', 'ESP', 'SPAIN'), (1424604160, 1424604543, 'NL', 'NLD', 'NETHERLANDS'), (1424604544, 1424604671, 'GB', 'GBR', 'UNITED KINGDOM'), (1424604672, 1424604967, 'NL', 'NLD', 'NETHERLANDS'), (1424604968, 1424604975, 'GB', 'GBR', 'UNITED KINGDOM'), (1424604976, 1424605175, 'NL', 'NLD', 'NETHERLANDS'), (1424605176, 1424605439, 'GB', 'GBR', 'UNITED KINGDOM'), (1424605440, 1424605583, 'BG', 'BGR', 'BULGARIA'), (1424605584, 1424605631, 'GB', 'GBR', 'UNITED KINGDOM'), (1424605632, 1424605695, 'BG', 'BGR', 'BULGARIA'), (1424605696, 1424607103, 'GB', 'GBR', 'UNITED KINGDOM'), (1424607104, 1424607119, 'SK', 'SVK', 'SLOVAKIA'), (1424607120, 1424607167, 'GB', 'GBR', 'UNITED KINGDOM'), (1424607168, 1424607199, 'SK', 'SVK', 'SLOVAKIA'), (1424607200, 1424607215, 'GB', 'GBR', 'UNITED KINGDOM'), (1424607216, 1424607231, 'SK', 'SVK', 'SLOVAKIA'), (1424607232, 1424607487, 'GB', 'GBR', 'UNITED KINGDOM'), (1424607488, 1424607871, 'DE', 'DEU', 'GERMANY'), (1424607872, 1424608031, 'GB', 'GBR', 'UNITED KINGDOM'), (1424608032, 1424608127, 'FR', 'FRA', 'FRANCE'), (1424608128, 1424608255, 'GB', 'GBR', 'UNITED KINGDOM'), (1424608256, 1424608511, 'FR', 'FRA', 'FRANCE'), (1424608512, 1424609023, 'ES', 'ESP', 'SPAIN'), (1424609024, 1424609279, 'DE', 'DEU', 'GERMANY'), (1424609280, 1424609395, 'CH', 'CHE', 'SWITZERLAND'), (1424609396, 1424609399, 'GB', 'GBR', 'UNITED KINGDOM'), (1424609400, 1424609727, 'CH', 'CHE', 'SWITZERLAND'), (1424609728, 1424610303, 'GB', 'GBR', 'UNITED KINGDOM'), (1424610304, 1424610559, 'TZ', 'TZA', 'UNITED REPUBLIC OF TANZANIA'), (1424610560, 1424610631, 'PL', 'POL', 'POLAND'), (1424610632, 1424610687, 'GB', 'GBR', 'UNITED KINGDOM'), (1424610688, 1424610815, 'PL', 'POL', 'POLAND'), (1424610816, 1424611071, 'FR', 'FRA', 'FRANCE'), (1424611072, 1424611327, 'BE', 'BEL', 'BELGIUM'), (1424611328, 1424611583, 'PL', 'POL', 'POLAND'), (1424611584, 1424612095, 'GB', 'GBR', 'UNITED KINGDOM'), (1424612096, 1424612223, 'CZ', 'CZE', 'CZECH REPUBLIC'), (1424612224, 1424612607, 'GB', 'GBR', 'UNITED KINGDOM'), (1424612608, 1424612671, 'AE', 'ARE', 'UNITED ARAB EMIRATES'), (1424612672, 1424612863, 'GB', 'GBR', 'UNITED KINGDOM'), (1424612864, 1424613119, 'BE', 'BEL', 'BELGIUM'), (1424613120, 1424613375, 'GB', 'GBR', 'UNITED KINGDOM'), (1424613376, 1424613631, 'ES', 'ESP', 'SPAIN'), (1424613632, 1424614143, 'IT', 'ITA', 'ITALY'), (1424614144, 1424614399, 'GB', 'GBR', 'UNITED KINGDOM'), (1424614400, 1424614415, 'FR', 'FRA', 'FRANCE'), (1424614416, 1424614655, 'IT', 'ITA', 'ITALY'), (1424614656, 1424614911, 'FR', 'FRA', 'FRANCE'), (1424614912, 1424615167, 'RO', 'ROM', 'ROMANIA'), (1424615168, 1424615423, 'GB', 'GBR', 'UNITED KINGDOM'), (1424615424, 1424615935, 'IT', 'ITA', 'ITALY'), (1424615936, 1424616191, 'FR', 'FRA', 'FRANCE'), (1424616192, 1424616447, 'IT', 'ITA', 'ITALY'), (1424616448, 1424616495, 'ES', 'ESP', 'SPAIN'), (1424616496, 1424616511, 'IT', 'ITA', 'ITALY'), (1424616512, 1424616703, 'ES', 'ESP', 'SPAIN'), (1424616704, 1424616959, 'US', 'USA', 'UNITED STATES'), (1424616960, 1424617215, 'FR', 'FRA', 'FRANCE'), (1424617216, 1424617395, 'IT', 'ITA', 'ITALY'), (1424617396, 1424617399, 'GB', 'GBR', 'UNITED KINGDOM'), (1424617400, 1424617407, 'IT', 'ITA', 'ITALY'), (1424617408, 1424617423, 'ES', 'ESP', 'SPAIN'), (1424617424, 1424617471, 'IT', 'ITA', 'ITALY'), (1424617472, 1424617727, 'US', 'USA', 'UNITED STATES'), (1424617728, 1424618023, 'IT', 'ITA', 'ITALY'), (1424618024, 1424618239, 'GB', 'GBR', 'UNITED KINGDOM'), (1424618240, 1424618495, 'NL', 'NLD', 'NETHERLANDS'), (1424618496, 1424618751, 'GB', 'GBR', 'UNITED KINGDOM'), (1424618752, 1424619007, 'FR', 'FRA', 'FRANCE'), (1424619008, 1424619775, 'IT', 'ITA', 'ITALY'), (1424619776, 1424619811, 'BE', 'BEL', 'BELGIUM'), (1424619812, 1424619815, 'GB', 'GBR', 'UNITED KINGDOM'), (1424619816, 1424620031, 'BE', 'BEL', 'BELGIUM'), (1424620032, 1424621055, 'GB', 'GBR', 'UNITED KINGDOM'), (1424621056, 1424621567, 'IT', 'ITA', 'ITALY'), (1424621568, 1424625663, 'PL', 'POL', 'POLAND'), (1424625664, 1424629759, 'GB', 'GBR', 'UNITED KINGDOM'), (1424629760, 1424637951, 'PL', 'POL', 'POLAND'), (1424637952, 1424642047, 'FI', 'FIN', 'FINLAND'), (1424642048, 1424646143, 'DK', 'DNK', 'DENMARK'), (1424646144, 1424650239, 'RO', 'ROM', 'ROMANIA'), (1424650240, 1424654335, 'PL', 'POL', 'POLAND'), (1424654336, 1424687103, 'NO', 'NOR', 'NORWAY'), (1424687104, 1424719871, 'SA', 'SAU', 'SAUDI ARABIA'), (1424719872, 1424722431, 'IE', 'IRL', 'IRELAND'), (1424722432, 1424723199, 'CZ', 'CZE', 'CZECH REPUBLIC'), (1424723200, 1424724735, 'DE', 'DEU', 'GERMANY'), (1424724736, 1424724991, 'IE', 'IRL', 'IRELAND'), (1424724992, 1424727039, 'GB', 'GBR', 'UNITED KINGDOM'), (1424727040, 1424727295, 'IE', 'IRL', 'IRELAND'), (1424727296, 1424727551, 'SL', 'SLE', 'SIERRA LEONE'), (1424727552, 1424728063, 'PL', 'POL', 'POLAND'), (1424728064, 1424728319, 'IE', 'IRL', 'IRELAND'), (1424728320, 1424729855, 'FR', 'FRA', 'FRANCE'), (1424729856, 1424730367, 'DE', 'DEU', 'GERMANY'), (1424730368, 1424730623, 'ES', 'ESP', 'SPAIN'), (1424730624, 1424730879, 'GB', 'GBR', 'UNITED KINGDOM'), (1424730880, 1424733183, 'IE', 'IRL', 'IRELAND'), (1424733184, 1424733951, 'NL', 'NLD', 'NETHERLANDS'), (1424733952, 1424735103, 'SE', 'SWE', 'SWEDEN'), (1424735104, 1424736127, 'DE', 'DEU', 'GERMANY'), (1424736128, 1424736383, 'AT', 'AUT', 'AUSTRIA'), (1424736384, 1424736895, 'FR', 'FRA', 'FRANCE'), (1424736896, 1424737151, 'DE', 'DEU', 'GERMANY'), (1424737152, 1424737279, 'GB', 'GBR', 'UNITED KINGDOM'), (1424737280, 1424737407, 'DK', 'DNK', 'DENMARK'), (1424737408, 1424737535, 'AT', 'AUT', 'AUSTRIA'), (1424737536, 1424738815, 'DE', 'DEU', 'GERMANY'), (1424738816, 1424739839, 'SE', 'SWE', 'SWEDEN'), (1424739840, 1424739967, 'DE', 'DEU', 'GERMANY'), (1424739968, 1424740095, 'ES', 'ESP', 'SPAIN'), (1424740096, 1424746495, 'DE', 'DEU', 'GERMANY'), (1424746496, 1424749055, 'IE', 'IRL', 'IRELAND'), (1424749056, 1424749311, 'SL', 'SLE', 'SIERRA LEONE'), (1424749312, 1424750079, 'DE', 'DEU', 'GERMANY'), (1424750080, 1424750335, 'FR', 'FRA', 'FRANCE'), (1424750336, 1424750591, 'GB', 'GBR', 'UNITED KINGDOM'), (1424750592, 1424750847, 'FR', 'FRA', 'FRANCE'), (1424750848, 1424751103, 'IE', 'IRL', 'IRELAND'), (1424751104, 1424751359, 'ES', 'ESP', 'SPAIN'), (1424751360, 1424751615, 'AT', 'AUT', 'AUSTRIA'), (1424751616, 1424752127, 'IE', 'IRL', 'IRELAND'), (1424752128, 1424752383, 'DE', 'DEU', 'GERMANY'), (1424752384, 1424752639, 'NL', 'NLD', 'NETHERLANDS'), (1424752640, 1424785407, 'HU', 'HUN', 'HUNGARY'), (1424785408, 1424818175, 'NO', 'NOR', 'NORWAY'), (1424818176, 1424850943, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1424850944, 1424883711, 'LV', 'LVA', 'LATVIA'), (1424883712, 1424916479, 'DK', 'DNK', 'DENMARK'), (1424916480, 1424949247, 'BG', 'BGR', 'BULGARIA'), (1424949248, 1424982015, 'GB', 'GBR', 'UNITED KINGDOM'), (1424982016, 1425014783, 'FI', 'FIN', 'FINLAND'), (1425014784, 1425031167, 'LT', 'LTU', 'LITHUANIA'), (1425031168, 1425047551, 'FI', 'FIN', 'FINLAND'), (1425047552, 1425063935, 'IT', 'ITA', 'ITALY'), (1425063936, 1425080319, 'KZ', 'KAZ', 'KAZAKHSTAN'), (1425080320, 1425096703, 'IR', 'IRN', 'ISLAMIC REPUBLIC OF IRAN'), (1425096704, 1425113087, 'CH', 'CHE', 'SWITZERLAND'), (1425113088, 1425121535, 'NL', 'NLD', 'NETHERLANDS'), (1425121536, 1425122303, 'DE', 'DEU', 'GERMANY'), (1425122304, 1425145855, 'NL', 'NLD', 'NETHERLANDS'), (1425145856, 1425162239, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1425162240, 1425178623, 'CZ', 'CZE', 'CZECH REPUBLIC'), (1425178624, 1425195007, 'BG', 'BGR', 'BULGARIA'), (1425195008, 1425211391, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1425211392, 1425227775, 'SE', 'SWE', 'SWEDEN'), (1425227776, 1425244159, 'RO', 'ROM', 'ROMANIA'), (1425244160, 1425260543, 'NO', 'NOR', 'NORWAY'), (1425260544, 1425276927, 'NL', 'NLD', 'NETHERLANDS'), (1425276928, 1425287167, 'SE', 'SWE', 'SWEDEN'), (1425287168, 1425293311, 'DE', 'DEU', 'GERMANY'), (1425293312, 1425309695, 'CZ', 'CZE', 'CZECH REPUBLIC'), (1425309696, 1425326079, 'NL', 'NLD', 'NETHERLANDS'), (1425326080, 1425342463, 'SE', 'SWE', 'SWEDEN'), (1425342464, 1425358847, 'NL', 'NLD', 'NETHERLANDS'), (1425358848, 1425375231, 'SK', 'SVK', 'SLOVAKIA'), (1425375232, 1425391615, 'DE', 'DEU', 'GERMANY'), (1425391616, 1425407999, 'LV', 'LVA', 'LATVIA'), (1425408000, 1425424383, 'NL', 'NLD', 'NETHERLANDS'), (1425424384, 1425424639, 'DE', 'DEU', 'GERMANY'), (1425424640, 1425424895, 'IR', 'IRN', 'ISLAMIC REPUBLIC OF IRAN'), (1425424896, 1425425151, 'IQ', 'IRQ', 'IRAQ'), (1425425152, 1425426303, 'DE', 'DEU', 'GERMANY'), (1425426304, 1425426319, 'IR', 'IRN', 'ISLAMIC REPUBLIC OF IRAN'), (1425426320, 1425426343, 'DE', 'DEU', 'GERMANY'), (1425426344, 1425426352, 'IR', 'IRN', 'ISLAMIC REPUBLIC OF IRAN'), (1425426353, 1425426431, 'DE', 'DEU', 'GERMANY'), (1425426432, 1425428479, 'KW', 'KWT', 'KUWAIT'), (1425428480, 1425430527, 'GB', 'GBR', 'UNITED KINGDOM'), (1425430528, 1425432575, 'SE', 'SWE', 'SWEDEN'), (1425432576, 1425434623, 'GB', 'GBR', 'UNITED KINGDOM'), (1425434624, 1425436671, 'FR', 'FRA', 'FRANCE'), (1425436672, 1425438719, 'GB', 'GBR', 'UNITED KINGDOM'), (1425438720, 1425439743, 'DE', 'DEU', 'GERMANY'), (1425439744, 1425439759, 'HK', 'HKG', 'HONG KONG'), (1425439760, 1425440767, 'DE', 'DEU', 'GERMANY'), (1425440768, 1425442815, 'SE', 'SWE', 'SWEDEN'), (1425442816, 1425444863, 'GB', 'GBR', 'UNITED KINGDOM'), (1425444864, 1425445139, 'IT', 'ITA', 'ITALY'), (1425445140, 1425445141, 'GB', 'GBR', 'UNITED KINGDOM'), (1425445142, 1425446911, 'IT', 'ITA', 'ITALY'), (1425446912, 1425448959, 'GB', 'GBR', 'UNITED KINGDOM'), (1425448960, 1425451007, 'NL', 'NLD', 'NETHERLANDS'), (1425451008, 1425455103, 'GB', 'GBR', 'UNITED KINGDOM'), (1425455104, 1425457151, 'IE', 'IRL', 'IRELAND'), (1425457152, 1425458271, 'GB', 'GBR', 'UNITED KINGDOM'), (1425458272, 1425458287, 'US', 'USA', 'UNITED STATES'), (1425458288, 1425459199, 'GB', 'GBR', 'UNITED KINGDOM'), (1425459200, 1425461247, 'DE', 'DEU', 'GERMANY'), (1425461248, 1425463295, 'ES', 'ESP', 'SPAIN'), (1425463296, 1425465343, 'BE', 'BEL', 'BELGIUM'), (1425465344, 1425467135, 'FR', 'FRA', 'FRANCE'), (1425467136, 1425467391, 'ES', 'ESP', 'SPAIN'), (1425467392, 1425469439, 'CH', 'CHE', 'SWITZERLAND'), (1425469440, 1425471487, 'DK', 'DNK', 'DENMARK'), (1425471488, 1425473535, 'DE', 'DEU', 'GERMANY'), (1425473536, 1425506303, 'RO', 'ROM', 'ROMANIA'), (1425506304, 1425522687, 'NO', 'NOR', 'NORWAY'), (1425522688, 1425539071, 'IT', 'ITA', 'ITALY'), (1425539072, 1425801215, 'FI', 'FIN', 'FINLAND'), (1425801216, 1425817599, 'BG', 'BGR', 'BULGARIA'), (1425817600, 1425833983, 'DE', 'DEU', 'GERMANY'), (1425833984, 1425850367, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1425850368, 1425866751, 'GB', 'GBR', 'UNITED KINGDOM'), (1425866752, 1425883135, 'CH', 'CHE', 'SWITZERLAND'), (1425883136, 1425899519, 'RU', 'RUS', 'RUSSIAN FEDERATION'), (1425899520, 1425915903, 'IT', 'ITA', 'ITALY'), (1425915904, 1425932287, 'FI', 'FIN', 'FINLAND'), (1425932288, 1425948671, 'GR', 'GRC', 'GREECE'), (1425948672, 1425965055, 'DE', 'DEU', 'GERMANY'), (1425965056, 1425965100, 'ES', 'ESP', 'SPAIN'), (1425965101, 1425965112, 'FR', 'FRA', 'FRANCE'), (1425965113, 1425965116, 'ZA', 'ZAF', 'SOUTH AFRICA'), (1425965117, 1425965120, 'FR', 'FRA', 'FRANCE'), (1425965121, 1425965503, 'IT', 'ITA', 'ITALY'), (1425965504, 1425965567, 'FR', 'FRA', 'FRANCE'), (1425965568, 1425965568, 'IT', 'ITA', 'ITALY'), (1425965569, 1425965572, 'NG', 'NGA', 'NIGERIA'), (1425965573, 1425965576, 'US', 'USA', 'UNITED STATES'), (1425965577, 1425965580, 'FR', 'FRA', 'FRANCE'), (1425965581, 1425965584, 'BJ', 'BEN', 'BENIN'), (1425965585, 1425965588, 'ES', 'ESP', 'SPAIN'), (1425965589, 1425965592, 'IT', 'ITA', 'ITALY'), (1425965593, 1425965631, 'FR', 'FRA', 'FRANCE'), (1425965632, 1425965952, 'IT', 'ITA', 'ITALY'), (1425965953, 1425965992, 'ZA', 'ZAF', 'SOUTH AFRICA'), (1425965993, 1425966015, 'IT', 'ITA', 'ITALY'), (1425966016, 1425966079, 'ZA', 'ZAF', 'SOUTH AFRICA'), (1425966080, 1425966080, 'IT', 'ITA', 'ITALY'), (1425966081, 1425966088, 'DE', 'DEU', 'GERMANY'), (1425966089, 1425966104, 'IT', 'ITA', 'ITALY'), (1425966105, 1425966128, 'DE', 'DEU', 'GERMANY'), (1425966129, 1425966144, 'IT', 'ITA', 'ITALY'), (1425966145, 1425966152, 'DE', 'DEU', 'GERMANY'), (1425966153, 1425966208, 'IT', 'ITA', 'ITALY'), (1425966209, 1425966224, 'DE', 'DEU', 'GERMANY'), (1425966225, 1425966271, 'IT', 'ITA', 'ITALY'), (1425966272, 1425966335, 'DE', 'DEU', 'GERMANY'), (1425966336, 1425966592, 'IT', 'ITA', 'ITALY'), (1425966593, 1425966608, 'FR', 'FRA', 'FRANCE'), (1425966609, 1425966720, 'IT', 'ITA', 'ITALY'), (1425966721, 1425966728, 'BJ', 'BEN', 'BENIN'), (1425966729, 1425966735, 'IT', 'ITA', 'ITALY'), (1425966736, 1425966751, 'BJ', 'BEN', 'BENIN'), (1425966752, 1425966784, 'IT', 'ITA', 'ITALY'), (1425966785, 1425966808, 'BJ', 'BEN', 'BENIN'), (1425966809, 1425966815, 'IT', 'ITA', 'ITALY'), (1425966816, 1425966847, 'BJ', 'BEN', 'BENIN'), (1425966848, 1425966852, 'IT', 'ITA', 'ITALY'), (1425966853, 1425966896, 'DE', 'DEU', 'GERMANY'), (1425966897, 1425966911, 'IT', 'ITA', 'ITALY'), (1425966912, 1425966975, 'DE', 'DEU', 'GERMANY'), (1425966976, 1425967039, 'IT', 'ITA', 'ITALY'), (1425967040, 1425967103, 'DE', 'DEU', 'GERMANY'), (1425967104, 1425967104, 'IT', 'ITA', 'ITALY'), (1425967105, 1425967120, 'TR', 'TUR', 'TURKEY'), (1425967121, 1425967876, 'IT', 'ITA', 'ITALY'), (1425967877, 1425967892, 'DE', 'DEU', 'GERMANY'), (1425967893, 1425967896, 'IT', 'ITA', 'ITALY'), (1425967897, 1425967904, 'DE', 'DEU', 'GERMANY'), (1425967905, 1425967912, 'IT', 'ITA', 'ITALY'), (1425967913, 1425967924, 'DE', 'DEU', 'GERMANY'), (1425967925, 1425967928, 'IT', 'ITA', 'ITALY'), (1425967929, 1425967940, 'DE', 'DEU', 'GERMANY'), (1425967941, 1425967999, 'IT', 'ITA', 'ITALY'), (1425968000, 1425968127, 'DE', 'DEU', 'GERMANY'), (1425968128, 1425968639, 'DZ', 'DZA', 'ALGERIA'), (1425968640, 1425969663, 'IT', 'ITA', 'ITALY'), (1425969664, 1425969727, 'FR', 'FRA', 'FRANCE'), (1425969728, 1425969791, 'IT', 'ITA', 'ITALY'), (1425969792, 1425969855, 'FR', 'FRA', 'FRANCE'), (1425969856, 1425969919, 'IT', 'ITA', 'ITALY'), (1425969920, 1425969983, 'ZA', 'ZAF', 'SOUTH AFRICA'), (1425969984, 1425970047, 'IT', 'ITA', 'ITALY'), (1425970048, 1425970111, 'DE', 'DEU', 'GERMANY'), (1425970112, 1425970176, 'IT', 'ITA', 'ITALY'), (1425970177, 1425970180, 'DE', 'DEU', 'GERMANY'), (1425970181, 1425970184, 'IT', 'ITA', 'ITALY'), (1425970185, 1425970188, 'GB', 'GBR', 'UNITED KINGDOM'), (1425970189, 1425970192, 'DE', 'DEU', 'GERMANY'), (1425970193, 1425970239, 'GB', 'GBR', 'UNITED KINGDOM'), (1425970240, 1425970688, 'IT', 'ITA', 'ITALY'), (1425970689, 1425970751, 'DE', 'DEU', 'GERMANY'), (1425970752, 1425971007, 'IT', 'ITA', 'ITALY'), (1425971008, 1425971071, 'NL', 'NLD', 'NETHERLANDS'), (1425971072, 1425971199, 'IT', 'ITA', 'ITALY'), (1425971200, 1425971455, 'NL', 'NLD', 'NETHERLANDS'), (1425971456, 1425971711, 'IT', 'ITA', 'ITALY'), (1425971712, 1425971727, 'AE', 'ARE', 'UNITED ARAB EMIRATES'), (1425971728, 1425971743, 'US', 'USA', 'UNITED STATES'), (1425971744, 1425971775, 'IT', 'ITA', 'ITALY'), (1425971776, 1425971839, 'DE', 'DEU', 'GERMANY'), (1425971840, 1425971903, 'SE', 'SWE', 'SWEDEN'), (1425971904, 1425972351, 'IT', 'ITA', 'ITALY'), (1425972352, 1425972415, 'FR', 'FRA', 'FRANCE'), (1425972416, 1425972607, 'IT', 'ITA', 'ITALY'), (1425972608, 1425972671, 'FR', 'FRA', 'FRANCE'), (1425972672, 1425972863, 'IT', 'ITA', 'ITALY'), (1425972864, 1425972927, 'FR', 'FRA', 'FRANCE'), (1425972928, 1425973119, 'IT', 'ITA', 'ITALY'), (1425973120, 1425973183, 'FR', 'FRA', 'FRANCE'), (1425973184, 1425973248, 'IT', 'ITA', 'ITALY'), (1425973249, 1425973260, 'PL', 'POL', 'POLAND'), (1425973261, 1425973264, 'IT', 'ITA', 'ITALY'), (1425973265, 1425973268, 'DE', 'DEU', 'GERMANY'), (1425973269, 1425973272, 'FR', 'FRA', 'FRANCE'), (1425973273, 1425973276, 'PL', 'POL', 'POLAND'), (1425973277, 1425973280, 'IT', 'ITA', 'ITALY'), (1425973281, 1425973300, 'PL', 'POL', 'POLAND'), (1425973301, 1425973308, 'DE', 'DEU', 'GERMANY'), (1425973309, 1425973332, 'PL', 'POL', 'POLAND'), (1425973333, 1425973336, 'DE', 'DEU', 'GERMANY'), (1425973337, 1425973439, 'IT', 'ITA', 'ITALY'), (1425973440, 1425973503, 'PL', 'POL', 'POLAND'), (1425973504, 1425973759, 'IT', 'ITA', 'ITALY'), (1425973760, 1425973823, 'PL', 'POL', 'POLAND'), (1425973824, 1425974847, 'IT', 'ITA', 'ITALY'), (1425974848, 1425974911, 'SE', 'SWE', 'SWEDEN'), (1425974912, 1425975039, 'IT', 'ITA', 'ITALY'), (1425975040, 1425975103, 'FR', 'FRA', 'FRANCE'), (1425975104, 1425975167, 'IT', 'ITA', 'ITALY'), (1425975168, 1425975231, 'FR', 'FRA', 'FRANCE'), (1425975232, 1425975296, 'IT', 'ITA', 'ITALY'), (1425975297, 1425975360, 'PE', 'PER', 'PERU'), (1425975361, 1425976064, 'IT', 'ITA', 'ITALY'), (1425976065, 1425976126, 'FR', 'FRA', 'FRANCE'), (1425976127, 1425976191, 'IT', 'ITA', 'ITALY'), (1425976192, 1425976255, 'FR', 'FRA', 'FRANCE'), (1425976256, 1425976320, 'IT', 'ITA', 'ITALY'), (1425976321, 1425976328, 'FR', 'FRA', 'FRANCE'), (1425976329, 1425976336, 'GB', 'GBR', 'UNITED KINGDOM'), (1425976337, 1425976344, 'IT', 'ITA', 'ITALY'), (1425976345, 1425976352, 'FR', 'FRA', 'FRANCE'), (1425976353, 1425976368, 'GB', 'GBR', 'UNITED KINGDOM'), (1425976369, 1425976372, 'FR', 'FRA', 'FRANCE'), (1425976373, 1425976380, 'GB', 'GBR', 'UNITED KINGDOM'), (1425976381, 1425976388, 'FR', 'FRA', 'FRANCE'), (1425976389, 1425976392, 'IT', 'ITA', 'ITALY'), (1425976393, 1425976432, 'FR', 'FRA', 'FRANCE'), (1425976433, 1425976440, 'GB', 'GBR', 'UNITED KINGDOM'), (1425976441, 1425976448, 'FR', 'FRA', 'FRANCE'), (1425976449, 1425976464, 'GB', 'GBR', 'UNITED KINGDOM'), (1425976465, 1425976832, 'IT', 'ITA', 'ITALY'), (1425976833, 1425976852, 'ES', 'ESP', 'SPAIN'), (1425976853, 1425976896, 'IT', 'ITA', 'ITALY'), (1425976897, 1425976932, 'ES', 'ESP', 'SPAIN'), (1425976933, 1425976936, 'IT', 'ITA', 'ITALY'), (1425976937, 1425976944, 'ES', 'ESP', 'SPAIN'), (1425976945, 1425976960, 'IT', 'ITA', 'ITALY'), (1425976961, 1425977008, 'GB', 'GBR', 'UNITED KINGDOM'), (1425977009, 1425977016, 'IT', 'ITA', 'ITALY'), (1425977017, 1425977040, 'GB', 'GBR', 'UNITED KINGDOM'), (1425977041, 1425977087, 'IT', 'ITA', 'ITALY'), (1425977088, 1425977088, 'GB', 'GBR', 'UNITED KINGDOM'), (1425977089, 1425977151, 'IT', 'ITA', 'ITALY'), (1425977152, 1425977215, 'GB', 'GBR', 'UNITED KINGDOM'), (1425977216, 1425977279, 'DE', 'DEU', 'GERMANY'), (1425977280, 1425977343, 'GB', 'GBR', 'UNITED KINGDOM'), (1425977344, 1425977855, 'IT', 'ITA', 'ITALY'), (1425977856, 1425978111, 'DE', 'DEU', 'GERMANY'), (1425978112, 1425978367, 'BG', 'BGR', 'BULGARIA'), (1425978368, 1425979392, 'IT', 'ITA', 'ITALY'), (1425979393, 1425979400, 'DE', 'DEU', 'GERMANY'), (1425979401, 1425979412, 'IT', 'ITA', 'ITALY'), (1425979413, 1425979416, 'DE', 'DEU', 'GERMANY'), (1425979417, 1425979436, 'IT', 'ITA', 'ITALY'), (1425979437, 1425979456, 'DE', 'DEU', 'GERMANY'), (1425979457, 1425979460, 'IT', 'ITA', 'ITALY'), (1425979461, 1425979464, 'DE', 'DEU', 'GERMANY'), (1425979465, 1425979472, 'IT', 'ITA', 'ITALY'), (1425979473, 1425979476, 'DE', 'DEU', 'GERMANY'), (1425979477, 1425979480, 'IT', 'ITA', 'ITALY'), (1425979481, 1425979488, 'DE', 'DEU', 'GERMANY'), (1425979489, 1425979519, 'IT', 'ITA', 'ITALY'), (1425979520, 1425979583, 'DE', 'DEU', 'GERMANY'), (1425979584, 1425979652, 'IT', 'ITA', 'ITALY'), (1425979653, 1425979656, 'AE', 'ARE', 'UNITED ARAB EMIRATES'), (1425979657, 1425979660, 'IT', 'ITA', 'ITALY'), (1425979661, 1425979692, 'AE', 'ARE', 'UNITED ARAB EMIRATES'), (1425979693, 1425979704, 'IT', 'ITA', 'ITALY'), (1425979705, 1425979708, 'AE', 'ARE', 'UNITED ARAB EMIRATES'), (1425979709, 1425979711, 'IT', 'ITA', 'ITALY'), (1425979712, 1425979775, 'DE', 'DEU', 'GERMANY'), (1425979776, 1425979839, 'US', 'USA', 'UNITED STATES'), (1425979840, 1425979904, 'IT', 'ITA', 'ITALY'), (1425979905, 1425979968, 'AE', 'ARE', 'UNITED ARAB EMIRATES'), (1425979969, 1425979976, 'IT', 'ITA', 'ITALY'), (1425979977, 1425979984, 'FR', 'FRA', 'FRANCE'), (1425979985, 1425979999, 'IT', 'ITA', 'ITALY'), (1425980000, 1425980031, 'US', 'USA', 'UNITED STATES'), (1425980032, 1425980095, 'DE', 'DEU', 'GERMANY'), (1425980096, 1425980159, 'AE', 'ARE', 'UNITED ARAB EMIRATES');
<filename>modules/core/db/init/hsql/20.create-db.sql -- begin IMAGEFIELD_CUSTOMER alter table IMAGEFIELD_CUSTOMER add constraint FK_IMAGEFIELD_CUSTOMER_LOGO foreign key (LOGO_ID) references SYS_FILE(ID)^ create index IDX_IMAGEFIELD_CUSTOMER_LOGO on IMAGEFIELD_CUSTOMER (LOGO_ID)^ -- end IMAGEFIELD_CUSTOMER
<gh_stars>0 -- Stored procedure with help from http://www.mysqltutorial.org/mysql-stored-procedure-tutorial.aspx DROP TABLE IF EXISTS Grades; CREATE TABLE Grades ( id INT(11) NOT NULL AUTO_INCREMENT, `name` varchar(50) DEFAULT NULL, `grade` INT(3) DEFAULT 0, PRIMARY KEY (`id`) ); INSERT INTO Grades (`name`, `grade`) VALUES ("john", 100), ("jill", 98), ("mary", 80), ("Kent", 55), ("pete", 60); DROP PROCEDURE IF EXISTS GetTopHalf; DELIMITER $$ CREATE PROCEDURE GetTopHalf() BEGIN DECLARE gradeCount INT DEFAULT 0; DECLARE half INT DEFAULT 0; SELECT count(*) INTO gradeCount from Grades; IF gradeCount > 0 THEN SET half = gradeCount/2; END IF; SELECT `name`, `grade` FROM Grades ORDER BY `grade` DESC LIMIT half; END$$ DELIMITER ; CALL GetTopHalf();
if object_id('dbo.MemberRoleDeleteOne', 'P') is not null drop procedure dbo.MemberRoleDeleteOne go create procedure dbo.MemberRoleDeleteOne @memberID int, @roleID int as delete from dbo.MemberRole where memberID = @memberID and roleID = @roleID go
<filename>presto-product-tests/src/main/resources/sql-tests/testcases/group-by/runAggregatesWithWherePredicatesAndGroupByOrdinal.sql -- database: presto; tables: nation; groups: group-by; select n_regionkey, count(*), sum(n_regionkey) from nation where n_regionkey > 2 group by 1
/* * Copyright 2018-2021 Crown Copyright * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ CREATE TABLE IF NOT EXISTS completeness ( `id` INTEGER PRIMARY KEY, `entity_type` INTEGER, `entity_id` VARCHAR(255) ); CREATE TABLE IF NOT EXISTS resources ( `id` INTEGER PRIMARY KEY AUTO_INCREMENT, `resource_id` VARCHAR(255) UNIQUE NOT NULL, `parent_id` VARCHAR(255), `resource` VARCHAR ); CREATE TABLE IF NOT EXISTS types ( `id` INTEGER PRIMARY KEY AUTO_INCREMENT, `resource_id` VARCHAR(255) UNIQUE NOT NULL, `type` VARCHAR(255) ); CREATE TABLE IF NOT EXISTS serialised_formats ( `id` INTEGER PRIMARY KEY AUTO_INCREMENT, `resource_id` VARCHAR(255) UNIQUE NOT NULL, `serialised_format` VARCHAR(255) );
<reponame>jlmasa/IEC -- phpMyAdmin SQL Dump -- version 4.8.5 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Jul 31, 2019 at 05:41 AM -- 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: `tdd_inventory_clone` -- -- -------------------------------------------------------- -- -- Table structure for table `auth_assignment` -- CREATE TABLE `auth_assignment` ( `item_name` varchar(64) COLLATE utf8_unicode_ci NOT NULL, `user_id` varchar(64) COLLATE utf8_unicode_ci NOT NULL, `created_at` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `auth_assignment` -- INSERT INTO `auth_assignment` (`item_name`, `user_id`, `created_at`) VALUES ('admin', '1', 1564466407), ('admin', '4', 1564534661), ('permission_admin', '4', 1564534663), ('sysadmin', '1', 1564467819), ('sysadmin', '4', 1564534658), ('view post', '2', 1564468347); -- -------------------------------------------------------- -- -- Table structure for table `auth_item` -- CREATE TABLE `auth_item` ( `name` varchar(64) COLLATE utf8_unicode_ci NOT NULL, `type` smallint(6) NOT NULL, `description` text COLLATE utf8_unicode_ci, `rule_name` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL, `data` blob, `created_at` int(11) DEFAULT NULL, `updated_at` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `auth_item` -- INSERT INTO `auth_item` (`name`, `type`, `description`, `rule_name`, `data`, `created_at`, `updated_at`) VALUES ('/*', 2, NULL, NULL, NULL, NULL, NULL), ('/admin/*', 2, NULL, NULL, NULL, NULL, NULL), ('/materials/index', 2, NULL, NULL, NULL, 1564468171, 1564468171), ('/materials/pdf', 2, NULL, NULL, NULL, 1564468137, 1564468137), ('/materials/view', 2, NULL, NULL, NULL, 1564468133, 1564468133), ('admin', 1, NULL, NULL, NULL, 1564466407, 1564466407), ('author', 1, NULL, NULL, NULL, 1564466406, 1564466406), ('createPost', 2, 'Create a post', NULL, NULL, 1564466406, 1564466406), ('editor', 1, 'editing capabilities', NULL, NULL, 1564467870, 1564467870), ('permission_admin', 2, 'permission to add/setup/modify permissions', NULL, NULL, NULL, NULL), ('sysadmin', 1, 'can do anything in the entire system', NULL, NULL, NULL, 1564467804), ('updatePost', 2, 'Update post', NULL, NULL, 1564466406, 1564466406), ('view post', 2, 'view post', NULL, NULL, 1564468084, 1564468084); -- -------------------------------------------------------- -- -- Table structure for table `auth_item_child` -- CREATE TABLE `auth_item_child` ( `parent` varchar(64) COLLATE utf8_unicode_ci NOT NULL, `child` varchar(64) COLLATE utf8_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `auth_item_child` -- INSERT INTO `auth_item_child` (`parent`, `child`) VALUES ('admin', 'author'), ('admin', 'updatePost'), ('author', 'createPost'), ('editor', 'createPost'), ('sysadmin', '/*'), ('sysadmin', '/admin/*'), ('sysadmin', 'admin'), ('sysadmin', 'permission_admin'), ('view post', '/materials/index'), ('view post', '/materials/pdf'), ('view post', '/materials/view'); -- -------------------------------------------------------- -- -- Table structure for table `auth_rule` -- CREATE TABLE `auth_rule` ( `name` varchar(64) COLLATE utf8_unicode_ci NOT NULL, `data` blob, `created_at` int(11) DEFAULT NULL, `updated_at` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `migration` -- CREATE TABLE `migration` ( `version` varchar(180) NOT NULL, `apply_time` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `migration` -- INSERT INTO `migration` (`version`, `apply_time`) VALUES ('m000000_000000_base', 1564464768), ('m140506_102106_rbac_init', 1564464774), ('m150112_135159_create_users_table', 1564465576), ('m170907_052038_rbac_add_index_on_auth_assignment_user_id', 1564464774), ('m180523_151638_rbac_updates_indexes_without_prefix', 1564464775), ('m190730_055708_init_rbac', 1564466407); -- -------------------------------------------------------- -- -- Table structure for table `tbl_category` -- CREATE TABLE `tbl_category` ( `id` int(11) NOT NULL, `category` varchar(100) NOT NULL, `title` varchar(255) NOT NULL, `year` int(4) NOT NULL, `logo` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `tbl_media` -- CREATE TABLE `tbl_media` ( `id` int(11) NOT NULL, `category_id` int(11) NOT NULL, `file_name` varchar(255) NOT NULL, `file_type` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `tbl_name` -- CREATE TABLE `tbl_name` ( `id` int(11) NOT NULL, `category_id` int(11) NOT NULL, `name` varchar(255) NOT NULL, `role` varchar(255) NOT NULL, `position` varchar(255) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `tbl_tags` -- CREATE TABLE `tbl_tags` ( `id` int(11) NOT NULL, `category_id` int(11) NOT NULL, `tags` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `user` -- CREATE TABLE `user` ( `id` int(11) NOT NULL, `username` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `auth_key` varchar(32) COLLATE utf8_unicode_ci NOT NULL, `displayname` varchar(50) COLLATE utf8_unicode_ci NOT NULL, `password_hash` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `password_reset_token` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `role` smallint(6) NOT NULL DEFAULT '10', `status` smallint(6) NOT NULL DEFAULT '10', `created_at` int(11) NOT NULL, `updated_at` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `user` -- INSERT INTO `user` (`id`, `username`, `auth_key`, `displayname`, `password_hash`, `password_reset_token`, `email`, `role`, `status`, `created_at`, `updated_at`) VALUES (1, 'jlmasa', '<PASSWORD>', '', '$2y$13$rqioGkxrrGqepwkw2esJkexkgGikNuh9.MuDIFSgxqBKKTeg/Cbfi', NULL, '<EMAIL>', 10, 10, 1564467529, 1564467529), (3, 'guest', 'gW4gpQ1U876E71ikuTnR6hLgVWrnqDeI', '', '$2y$13$4aOfZthKF4LFsM/xRbCABulJjByl/hJBSKSkRHX7CBMuiYwdGIo5a', NULL, '<EMAIL>', 10, 10, 1564469793, 1564469793), (4, 'admin', 'NE4m-6DCDPGlVqG_clmkEL1flD9D_KF0', '', '$2y$13$MffcKtn7/QUibU52xGMZSORjaGHdiS6TrJ4OfbC9Htt7LRiIWx.qC', NULL, '<EMAIL>', 10, 10, 1564534628, 1564534628); -- -- Indexes for dumped tables -- -- -- Indexes for table `auth_assignment` -- ALTER TABLE `auth_assignment` ADD PRIMARY KEY (`item_name`,`user_id`), ADD KEY `idx-auth_assignment-user_id` (`user_id`); -- -- Indexes for table `auth_item` -- ALTER TABLE `auth_item` ADD PRIMARY KEY (`name`), ADD KEY `rule_name` (`rule_name`), ADD KEY `idx-auth_item-type` (`type`); -- -- Indexes for table `auth_item_child` -- ALTER TABLE `auth_item_child` ADD PRIMARY KEY (`parent`,`child`), ADD KEY `child` (`child`); -- -- Indexes for table `auth_rule` -- ALTER TABLE `auth_rule` ADD PRIMARY KEY (`name`); -- -- Indexes for table `migration` -- ALTER TABLE `migration` ADD PRIMARY KEY (`version`); -- -- Indexes for table `tbl_category` -- ALTER TABLE `tbl_category` ADD PRIMARY KEY (`id`); -- -- Indexes for table `tbl_media` -- ALTER TABLE `tbl_media` ADD PRIMARY KEY (`id`), ADD KEY `category_id` (`category_id`); -- -- Indexes for table `tbl_name` -- ALTER TABLE `tbl_name` ADD PRIMARY KEY (`id`), ADD KEY `category_id` (`category_id`); -- -- Indexes for table `tbl_tags` -- ALTER TABLE `tbl_tags` ADD PRIMARY KEY (`id`), ADD KEY `category_id` (`category_id`); -- -- Indexes for table `user` -- ALTER TABLE `user` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `tbl_category` -- ALTER TABLE `tbl_category` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `tbl_name` -- ALTER TABLE `tbl_name` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `tbl_tags` -- ALTER TABLE `tbl_tags` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `user` -- ALTER TABLE `user` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- Constraints for dumped tables -- -- -- Constraints for table `auth_assignment` -- ALTER TABLE `auth_assignment` ADD CONSTRAINT `auth_assignment_ibfk_1` FOREIGN KEY (`item_name`) REFERENCES `auth_item` (`name`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `auth_item` -- ALTER TABLE `auth_item` ADD CONSTRAINT `auth_item_ibfk_1` FOREIGN KEY (`rule_name`) REFERENCES `auth_rule` (`name`) ON DELETE SET NULL ON UPDATE CASCADE; -- -- Constraints for table `auth_item_child` -- ALTER TABLE `auth_item_child` ADD CONSTRAINT `auth_item_child_ibfk_1` FOREIGN KEY (`parent`) REFERENCES `auth_item` (`name`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `auth_item_child_ibfk_2` FOREIGN KEY (`child`) REFERENCES `auth_item` (`name`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `tbl_media` -- ALTER TABLE `tbl_media` ADD CONSTRAINT `tbl_media_ibfk_1` FOREIGN KEY (`category_id`) REFERENCES `tbl_category` (`id`); -- -- Constraints for table `tbl_name` -- ALTER TABLE `tbl_name` ADD CONSTRAINT `tbl_name_ibfk_1` FOREIGN KEY (`category_id`) REFERENCES `tbl_category` (`id`); -- -- Constraints for table `tbl_tags` -- ALTER TABLE `tbl_tags` ADD CONSTRAINT `tbl_tags_ibfk_1` FOREIGN KEY (`category_id`) REFERENCES `tbl_category` (`id`); COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
insert into etsis.canvaslms_web_audit (audience, action, event_timestamp, payload_json) values (:audience, :action, systimestamp, :payload)
-- phpMyAdmin SQL Dump -- version 4.8.5 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: May 31, 2020 at 05:42 PM -- Server version: 10.1.39-MariaDB -- PHP Version: 7.3.5 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `id13908114_library` -- -- -------------------------------------------------------- -- -- Table structure for table `book` -- CREATE TABLE `book` ( `id_books` int(11) NOT NULL, `title` varchar(200) NOT NULL, `author` varchar(25) NOT NULL, `quantity` int(11) NOT NULL, `year` year(4) NOT NULL, `id_shelf` int(11) NOT NULL, `file_name` varchar(200) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `book` -- INSERT INTO `book` (`id_books`, `title`, `author`, `quantity`, `year`, `id_shelf`, `file_name`) VALUES (1, 'Web Programming', 'Rudi', 10, 2015, 2, 'webbook.jpg'), (5, 'c++ programming', 'ilham', 19, 2015, 2, 'buku_c++_programming35.jpg'); -- -- Triggers `book` -- DELIMITER $$ CREATE TRIGGER `insert_quantity_book1` AFTER INSERT ON `book` FOR EACH ROW BEGIN UPDATE borrowing SET quantity_b=quantity_b-NEW.quantity WHERE id_book= NEW.id_books; END $$ DELIMITER ; -- -------------------------------------------------------- -- -- Table structure for table `borrowing` -- CREATE TABLE `borrowing` ( `id_borrowings` int(11) NOT NULL, `dates` date NOT NULL, `limit` date NOT NULL, `quantity_b` int(11) NOT NULL, `id_book` int(11) NOT NULL, `id_student` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `borrowing` -- INSERT INTO `borrowing` (`id_borrowings`, `dates`, `limit`, `quantity_b`, `id_book`, `id_student`) VALUES (7, '2020-05-31', '2020-05-31', 1, 5, 1); -- -- Triggers `borrowing` -- DELIMITER $$ CREATE TRIGGER `update_quantity_book` AFTER UPDATE ON `borrowing` FOR EACH ROW BEGIN UPDATE book SET quantity=quantity+OLD.quantity_b WHERE id_books= NEW.id_book; UPDATE book SET quantity=quantity-NEW.quantity_b WHERE id_books= NEW.id_book; END $$ DELIMITER ; -- -------------------------------------------------------- -- -- Table structure for table `major` -- CREATE TABLE `major` ( `id_major` int(11) NOT NULL, `major_name` varchar(200) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `major` -- INSERT INTO `major` (`id_major`, `major_name`) VALUES (1, 'Informatics engineering'), (2, 'psychology'); -- -------------------------------------------------------- -- -- Table structure for table `operator` -- CREATE TABLE `operator` ( `id_operators` int(11) NOT NULL, `nim` varchar(15) NOT NULL, `name` varchar(200) NOT NULL, `gender` varchar(1) NOT NULL, `phone` varchar(13) NOT NULL, `address` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `operator` -- INSERT INTO `operator` (`id_operators`, `nim`, `name`, `gender`, `phone`, `address`) VALUES (1, '252323204320', '<NAME>', 'L', '+628951000307', 'jl.parung'); -- -------------------------------------------------------- -- -- Table structure for table `shelf` -- CREATE TABLE `shelf` ( `id_shelfs` int(11) NOT NULL, `shelf_name` varchar(200) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `shelf` -- INSERT INTO `shelf` (`id_shelfs`, `shelf_name`) VALUES (1, 'SQL'), (2, 'Programming'); -- -------------------------------------------------------- -- -- Table structure for table `student` -- CREATE TABLE `student` ( `id_students` int(11) NOT NULL, `nim` varchar(15) NOT NULL, `name` varchar(200) NOT NULL, `gender` varchar(1) NOT NULL, `semester` varchar(2) NOT NULL, `phone` varchar(15) NOT NULL, `address` text NOT NULL, `id_major` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `student` -- INSERT INTO `student` (`id_students`, `nim`, `name`, `gender`, `semester`, `phone`, `address`, `id_major`) VALUES (1, '41518010007', '<NAME>', 'L', '4', '+6289510003066', 'jl.pedongkelan', 1), (2, '41518010021', '<NAME>', 'L', '4', '+6289510003068', 'jl.bekasi', 1), (3, '41518010022', 'm. beryl boran akbar', 'L', '4', '+6289510003077', 'jl.meruya', 1); -- -------------------------------------------------------- -- -- Table structure for table `transaction` -- CREATE TABLE `transaction` ( `id_transactions` int(11) NOT NULL, `transaction_date` date NOT NULL, `transaction_total` varchar(15) NOT NULL, `id_operator` int(11) NOT NULL, `id_borrowing` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `user` -- CREATE TABLE `user` ( `id_login` int(11) NOT NULL, `username` varchar(500) NOT NULL, `email` varchar(500) NOT NULL, `image` varchar(500) NOT NULL, `password` varchar(500) NOT NULL, `role_id` int(11) NOT NULL, `is_active` int(1) NOT NULL, `date_created` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `user` -- INSERT INTO `user` (`id_login`, `username`, `email`, `image`, `password`, `role_id`, `is_active`, `date_created`) VALUES (1, 'ilham', '<EMAIL>', 'foto-gw.jpg', <PASSWORD>', 1, 1, 1588438316), (2, 'dyki', '<PASSWORD>2345<EMAIL>', 'dyki_image.jpg', <PASSWORD>', 1, 1, 1589087300); -- -------------------------------------------------------- -- -- Table structure for table `user_access_menu` -- CREATE TABLE `user_access_menu` ( `id` int(11) NOT NULL, `role_id` int(11) NOT NULL, `menu_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `user_access_menu` -- INSERT INTO `user_access_menu` (`id`, `role_id`, `menu_id`) VALUES (1, 1, 1), (2, 1, 2), (3, 2, 2); -- -------------------------------------------------------- -- -- Table structure for table `user_menu` -- CREATE TABLE `user_menu` ( `id` int(11) NOT NULL, `menu` varchar(600) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `user_menu` -- INSERT INTO `user_menu` (`id`, `menu`) VALUES (1, 'Admin'), (2, 'User'); -- -------------------------------------------------------- -- -- Table structure for table `user_role` -- CREATE TABLE `user_role` ( `id` int(11) NOT NULL, `role` varchar(500) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `user_role` -- INSERT INTO `user_role` (`id`, `role`) VALUES (1, 'Admin'), (2, 'Member'); -- -------------------------------------------------------- -- -- Table structure for table `user_sub_menu` -- CREATE TABLE `user_sub_menu` ( `id` int(11) NOT NULL, `menu_id` int(11) NOT NULL, `title` varchar(600) NOT NULL, `url` varchar(600) NOT NULL, `icon` varchar(600) NOT NULL, `is_active` int(1) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `user_sub_menu` -- INSERT INTO `user_sub_menu` (`id`, `menu_id`, `title`, `url`, `icon`, `is_active`) VALUES (1, 1, 'Dashboard', 'admin', 'fas fa-fw-fa-techmometer-alt', 1), (2, 2, 'Books', 'books/read', 'fas fa-fw fa-book', 1); -- -- Indexes for dumped tables -- -- -- Indexes for table `book` -- ALTER TABLE `book` ADD PRIMARY KEY (`id_books`), ADD KEY `book_ibfk_2` (`id_shelf`); -- -- Indexes for table `borrowing` -- ALTER TABLE `borrowing` ADD PRIMARY KEY (`id_borrowings`), ADD KEY `id_book` (`id_book`), ADD KEY `id_student` (`id_student`); -- -- Indexes for table `major` -- ALTER TABLE `major` ADD PRIMARY KEY (`id_major`); -- -- Indexes for table `operator` -- ALTER TABLE `operator` ADD PRIMARY KEY (`id_operators`), ADD UNIQUE KEY `nim` (`nim`); -- -- Indexes for table `shelf` -- ALTER TABLE `shelf` ADD PRIMARY KEY (`id_shelfs`); -- -- Indexes for table `student` -- ALTER TABLE `student` ADD PRIMARY KEY (`id_students`), ADD UNIQUE KEY `nim` (`nim`), ADD KEY `id_major` (`id_major`); -- -- Indexes for table `transaction` -- ALTER TABLE `transaction` ADD PRIMARY KEY (`id_transactions`), ADD KEY `id_operator` (`id_operator`), ADD KEY `id_transaction` (`id_borrowing`); -- -- Indexes for table `user` -- ALTER TABLE `user` ADD PRIMARY KEY (`id_login`), ADD KEY `fk_role` (`role_id`); -- -- Indexes for table `user_access_menu` -- ALTER TABLE `user_access_menu` ADD PRIMARY KEY (`id`), ADD KEY `fk_role_id` (`role_id`), ADD KEY `menu_id` (`menu_id`); -- -- Indexes for table `user_menu` -- ALTER TABLE `user_menu` ADD PRIMARY KEY (`id`); -- -- Indexes for table `user_role` -- ALTER TABLE `user_role` ADD PRIMARY KEY (`id`); -- -- Indexes for table `user_sub_menu` -- ALTER TABLE `user_sub_menu` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `book` -- ALTER TABLE `book` MODIFY `id_books` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `borrowing` -- ALTER TABLE `borrowing` MODIFY `id_borrowings` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT for table `major` -- ALTER TABLE `major` MODIFY `id_major` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `operator` -- ALTER TABLE `operator` MODIFY `id_operators` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `shelf` -- ALTER TABLE `shelf` MODIFY `id_shelfs` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `student` -- ALTER TABLE `student` MODIFY `id_students` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `transaction` -- ALTER TABLE `transaction` MODIFY `id_transactions` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `user` -- ALTER TABLE `user` MODIFY `id_login` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `user_access_menu` -- ALTER TABLE `user_access_menu` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `user_menu` -- ALTER TABLE `user_menu` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `user_role` -- ALTER TABLE `user_role` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `user_sub_menu` -- ALTER TABLE `user_sub_menu` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- Constraints for dumped tables -- -- -- Constraints for table `book` -- ALTER TABLE `book` ADD CONSTRAINT `book_ibfk_2` FOREIGN KEY (`id_shelf`) REFERENCES `shelf` (`id_shelfs`); -- -- Constraints for table `borrowing` -- ALTER TABLE `borrowing` ADD CONSTRAINT `borrowing_ibfk_1` FOREIGN KEY (`id_book`) REFERENCES `book` (`id_books`), ADD CONSTRAINT `borrowing_ibfk_2` FOREIGN KEY (`id_student`) REFERENCES `student` (`id_students`); -- -- Constraints for table `student` -- ALTER TABLE `student` ADD CONSTRAINT `student_ibfk_1` FOREIGN KEY (`id_major`) REFERENCES `major` (`id_major`); -- -- Constraints for table `transaction` -- ALTER TABLE `transaction` ADD CONSTRAINT `transaction_ibfk_1` FOREIGN KEY (`id_operator`) REFERENCES `operator` (`id_operators`), ADD CONSTRAINT `transaction_ibfk_3` FOREIGN KEY (`id_borrowing`) REFERENCES `borrowing` (`id_borrowings`); -- -- Constraints for table `user` -- ALTER TABLE `user` ADD CONSTRAINT `user_ibfk_1` FOREIGN KEY (`role_id`) REFERENCES `user_role` (`id`); COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/* 1. Analise a tabela rental e responda: a. Qual é a ordenação padrão da tabela? Qual comando você utilizou para analisar? Resposta: Ascendente da coluna rental_id. */ /* b. Qual consulta SQL você pode usar para ordenar os registros de forma descendente por data de retorno do DVD? */ SELECT * FROM sakila.rental ORDER BY return_date DESC; /* c. Qual consulta SQL você pode usar para ordenar os registros de forma combinada: ascendente por id do consumidor, e ascendente por data de retorno do DVD? */ SELECT * FROM sakila.rental ORDER BY customer_id, return_date; /* d. O que acontece com os valores NULL na ordenação? Resposta: São exibidos no começo da ordenação. Temos valores null na coluna return_date. Nesse caso, após a ordenação da coluna customer_id, o valor null da coluna return_date aparece antes de todos os outros. */ /*2. Quais são as combinações únicas de features especiais (coluna special_features) dos filmes? Qual consulta você utilizou para chegar a esse resultado?*/ SELECT DISTINCT special_features FROM film; /* 3. Você está ajudando a equipe de desenvolvimento a criar uma nova funcionalidade no sistema da locadora, permitindo que a equipe de atendentes liste os consumidores de maneira similar a seus celulares, ordenando por sobrenome ascendente e nome descendente (exemplo abaixo). Qual consulta SQL você pode usar para esse objetivo? */ SELECT last_name, first_name FROM customer ORDER BY last_name ASC, first_name DESC;
<filename>NEWARSIPLIDE.sql -- phpMyAdmin SQL Dump -- version 5.0.1 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Waktu pembuatan: 08 Jun 2020 pada 07.46 -- Versi server: 10.4.11-MariaDB -- Versi PHP: 7.4.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: `arsip_lide` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `banakun` -- CREATE TABLE `banakun` ( `id_ban` char(10) NOT NULL, `id_user` char(10) DEFAULT NULL, `start_date` date DEFAULT NULL, `finish_date` date DEFAULT NULL, `alasan` varchar(255) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Struktur dari tabel `datapengguna` -- CREATE TABLE `datapengguna` ( `id_datapengguna` char(10) NOT NULL, `nip` char(18) NOT NULL, `nama` varchar(255) NOT NULL, `tgl_lahir` date NOT NULL, `foto_profil` varchar(100) DEFAULT 'undefined', `create_time` datetime DEFAULT NULL, `update_time` datetime DEFAULT NULL, `id_gender` char(1) DEFAULT NULL, `id_jabatan` char(5) DEFAULT NULL, `id_user` char(10) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `datapengguna` -- INSERT INTO `datapengguna` (`id_datapengguna`, `nip`, `nama`, `tgl_lahir`, `foto_profil`, `create_time`, `update_time`, `id_gender`, `id_jabatan`, `id_user`) VALUES ('ADM0000000', '010203040506070809', '<NAME>', '1999-09-10', 'undefined', '2020-02-10 00:00:00', '2020-02-10 00:00:00', 'M', 'JB000', 'USL0000000'), ('DP1fbe2211', '12924919491492144', 'Member Arsip', '0000-00-00', 'undefined', '2020-06-08 12:27:57', '2020-06-08 12:27:57', 'M', 'JB003', 'USLfcfc2a6'), ('DP90e88b73', '23941929148122', 'Chief Arsip', '0000-00-00', 'undefined', '2020-06-08 12:32:11', '2020-06-08 12:32:11', 'F', 'JB001', 'USL4faf1d1'), ('DPd0b2da67', '41412421424142', 'Operator', '0000-00-00', 'undefined', '2020-06-08 12:33:04', '2020-06-08 12:33:04', 'M', 'JB009', 'USLb65579d'); -- -------------------------------------------------------- -- -- Struktur dari tabel `disposisi` -- CREATE TABLE `disposisi` ( `id_disposisi` char(20) NOT NULL, `id_dokumen` char(20) DEFAULT NULL, `id_kode` char(9) DEFAULT NULL, `id_upload` char(10) DEFAULT NULL, `no_agenda` varchar(50) DEFAULT NULL, `perihal` varchar(254) DEFAULT NULL, `dituju` varchar(254) DEFAULT NULL, `pengirim` varchar(254) DEFAULT NULL, `isi_disposisi` varchar(500) DEFAULT NULL, `tgl_penerimaan` date DEFAULT NULL, `tgl_pembuatan` date DEFAULT NULL, `create_time` datetime DEFAULT NULL, `update_time` datetime DEFAULT NULL, `sampah` bit(1) DEFAULT b'0' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `disposisi` -- INSERT INTO `disposisi` (`id_disposisi`, `id_dokumen`, `id_kode`, `id_upload`, `no_agenda`, `perihal`, `dituju`, `pengirim`, `isi_disposisi`, `tgl_penerimaan`, `tgl_pembuatan`, `create_time`, `update_time`, `sampah`) VALUES ('DI85113294710799a877', 'DK1dd6d4018056966484', '362.0.0.0', 'ADM0000000', '', '', 'faf', 'fsasf', 'asfaf', '2020-06-05', '2020-06-01', '2020-06-07 16:12:41', '2020-06-07 16:12:41', b'0'), ('DIa6f43810504971b7e7', 'DKada7d7710a8044bde9', '172.16.17.32', 'ADM0000000', '', '', 's', 'ssss', 's', '2020-06-03', '2020-06-02', '2020-06-07 16:10:19', '2020-06-07 16:10:19', b'0'), ('DIfbab0b442ad9949a20', 'DKa33c40ba4bfa7ee200', '192.168.127.12', 'ADM0000000', '', '', 's', 's', 's', '2020-06-06', '2020-06-01', '2020-06-07 16:03:19', '2020-06-07 16:03:19', b'0'); -- -------------------------------------------------------- -- -- Struktur dari tabel `dokumen` -- CREATE TABLE `dokumen` ( `id_dokumen` char(20) NOT NULL, `nama` varchar(255) NOT NULL, `nama_file` varchar(40) DEFAULT NULL, `ekstensi` varchar(5) DEFAULT NULL, `byte_file` varchar(10) DEFAULT NULL, `type_file` varchar(10) DEFAULT NULL, `create_time` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `dokumen` -- INSERT INTO `dokumen` (`id_dokumen`, `nama`, `nama_file`, `ekstensi`, `byte_file`, `type_file`, `create_time`) VALUES ('DK1dd6d4018056966484', 'Story of Spirit', '09873797593437a92b2c19f92de0c7f0', '.docx', '17.56', NULL, '2020-06-07 16:12:41'), ('DK388d5a743034298c74', '17_11_1228', '429234aa940ec77972f6982b694ce47d', '.pdf', '132.89', NULL, '2020-06-07 01:06:29'), ('DKa33c40ba4bfa7ee200', 'test', '5cd7cbfe97b72459240a88c6f4623d18', '.png', '3301.67', NULL, '2020-06-07 16:03:19'), ('DKada7d7710a8044bde9', 'WhatsApp Image 2019-10-14 at 12_40_03 PM_jpeg', '92fe91ca232b1dba4be4e4a94043e8ae', '.pdf', '24.73', NULL, '2020-06-07 16:10:19'), ('DKf00591cff80bbb0589', 'Untitled-3 with text', '1424541b43ac1b4dd234b875b2d916e6', '.png', '530.37', NULL, '2020-06-08 12:24:47'), ('DKf200b96c53d186d730', '17_11_1228 <NAME>', 'cd4604d203b5117cab515ae56bfbe426', '.docx', '24.13', NULL, '2020-06-07 16:11:00'); -- -------------------------------------------------------- -- -- Struktur dari tabel `gender` -- CREATE TABLE `gender` ( `id_gender` char(1) NOT NULL, `nama` varchar(12) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `gender` -- INSERT INTO `gender` (`id_gender`, `nama`) VALUES ('F', 'Perempuan'), ('M', 'Laki-laki'); -- -------------------------------------------------------- -- -- Struktur dari tabel `jabatan` -- CREATE TABLE `jabatan` ( `id_jabatan` char(5) NOT NULL, `nama` varchar(100) NOT NULL, `id_role` char(5) DEFAULT 'RL003' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `jabatan` -- INSERT INTO `jabatan` (`id_jabatan`, `nama`, `id_role`) VALUES ('JB000', 'Administrator', 'RL000'), ('JB001', 'Kepala Desa', 'RL002'), ('JB002', 'Kepala Seksi Pemerintahan', 'RL003'), ('JB003', 'Kepala Seksi Kesejahteraan', 'RL003'), ('JB004', 'Kepala Seksi Pelayanan', 'RL003'), ('JB005', 'Kepala Urusan Tata Usaha', 'RL003'), ('JB006', 'Kepala Urusan Keuangan', 'RL003'), ('JB007', 'Kepala Urusan Perencanaan', 'RL003'), ('JB008', 'Dukuh', 'RL003'), ('JB009', 'Staf', 'RL001'), ('JB010', 'Ketua - BPD', 'RL003'), ('JB011', 'Wakil Ketua - BPD', 'RL003'), ('JB012', 'Sekretaris - BPD', 'RL003'), ('JB013', 'Ketua POKJA Pemerintahan - BPD', 'RL003'), ('JB014', 'Ketua POKJA Kemasyarakatan - BPD', 'RL003'), ('JB015', 'Ketua POKJA Pembangunan - BPD', 'RL003'), ('JB016', 'Anggota - BPD', 'RL003'), ('JB017', 'Rukun Tetangga (RT)', 'RL003'), ('JB018', 'Rukun Warga (RW)', 'RL003'); -- -------------------------------------------------------- -- -- Struktur dari tabel `jenis_arsip` -- CREATE TABLE `jenis_arsip` ( `id_jenisarsip` char(5) NOT NULL, `nama` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Struktur dari tabel `kode` -- CREATE TABLE `kode` ( `id_kode` char(9) NOT NULL, `nama` varchar(200) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `kode` -- INSERT INTO `kode` (`id_kode`, `nama`) VALUES ('172.16.58.3', 'PEMERINTAHAN DESA / KELURAHAN'), ('172.16.17.32', 'Pamong Desa, Meliputi: Pencalonan, Pemilihan, Meninggal, Pengangkatan, Pemberhenian.'), ('172.16.31.10', 'Penghasilan Pamong Desa'), ('172.16.58.3', 'Kekayaan Desa'), ('192.168.127.12', 'Dewan Tingkat Desa, Dewan Marga, Rembug Desa'), ('192.168.127.12', 'Administrasi Desa'), ('172.16.58.3', 'Kewilayahan'), ('146.1.0.0', 'Pembentukan Desa/Kelurahan'), ('146.2.0.0', 'Pemekaran Desa/Kelurahan'), ('146.3.0.0', 'Perubahan Batas Wilayah / Perluasan Desa / Kelurahan'), ('146.4.0.0', 'Perubahan Nama Desa / Kelurahan'), ('146.5.0.0', 'Kerjasama Antar Desa / Kelurahan'), ('147.0.0.0', 'Lembaga-lembaga Tingkat Desa'), ('148.0.0.0', 'Perangkat Kelurahan'), ('148.1.0.0', 'Kepala Kelurahan'), ('148.2.0.0', 'Sekretaris Kelurahan'), ('148.3.0.0', 'Staf Kelurahan'), ('149.0.0.0', 'Dewan Kelurahan'), ('149.1.0.0', 'Rukun Tetangga'), ('149.2.0.0', 'Rukun Warga'), ('149.3.0.0', 'Rukun Kampung'), ('172.16.58.3', 'Legislatif MPR/DPR/DPD'), ('192.168.127.12', 'Keanggotaan MPR'), ('192.168.3.11', 'Pencalonan'), ('192.168.3.11', 'Pemberhentian'), ('192.168.127.12', 'Recall'), ('172.16.31.10', 'Pelanggaran'), ('172.16.17.32', 'Persidangan'), ('172.16.17.32', 'Kesejahteraan'), ('192.168.3.11', 'Keuangan'), ('192.168.3.11', 'Penghargaan'), ('172.16.17.32', 'Hak'), ('155.0.0.0', 'Keanggotaan DPR Pencalonan Pengangkatan'), ('156.0.0.0', 'Persidangan Sidang Pleno Dengan Pendapat / Rapat Komisi Reces'), ('157.0.0.0', 'Kesejahteraan'), ('1172.16.17.32', 'Keuangan'), ('192.168.3.11', 'Penghargaan'), ('158.0.0.0', 'Jawaban Pemerintah'), ('159.0.0.0', 'Hak'), ('172.16.17.32', 'DPRD PROVINSI '), ('172.16.58.3', 'Keanggotaan'), ('172.16.17.32', 'Pencalonan'), ('192.168.127.12', 'Pengangkatan'), ('172.16.31.10', 'Pemberhentian'), ('192.168.3.11', 'Recall'), ('172.16.17.32', 'Meninggal'), ('172.16.31.10', 'Pelanggaran'), ('192.168.127.12', 'Persidangan'), ('172.16.58.3', 'Reses'), ('1172.16.17.32', 'Kesejahteraan'), ('192.168.127.12', 'Keuangan'), ('192.168.127.12', 'Penghargaan'), ('192.168.3.11', 'Hak'), ('192.168.3.11', 'Sekretaris DPRD Provinsi'), ('192.168.127.12', 'DPRD KABUPATEN'), ('172.16.58.3', 'Keanggotaan'), ('192.168.3.11', 'Pencalonan'), ('172.16.58.3', 'Pengangkatan'), ('1192.168.3.11', 'Pemberhentian'), ('192.168.3.11', 'Recall'), ('1172.16.17.32', 'Pelanggaran'), ('1192.168.127.12', 'Persidangan'), ('173.0.0.0', 'Kesejahteraan'), ('173.1.0.0', 'Keuangan'), ('172.16.17.32', 'Penghargaan'), ('1172.16.31.10', 'Hak'), ('175.0.0.0', 'Sekretaris DPRD Kabupaten / Kota'), ('192.168.127.12', 'HUKUM'), ('192.168.127.12', 'Konstitusi'), ('172.16.58.3', 'Dasar Negara'), ('192.168.127.12', 'Undang – Undang Dasar'), ('192.168.3.11', 'GBHN'), ('172.16.31.10', 'Amnesti, Abolisi, dan Grasi'), ('172.16.58.3', 'Perdata'), ('172.16.17.32', 'Tanah'), ('192.168.3.11', 'Rumah'), ('1192.168.127.12', 'Utang / Piutang'), ('172.16.17.32', 'Gadai'), ('172.16.17.32', 'Hipotik'), ('192.168.3.11', 'Notariat'), ('192.168.127.12', 'Pidana'), ('192.168.127.12', 'Penyidik Pegawai Negeri Sipil (PPNS)'), ('172.16.17.32', 'Peradilan'), ('172.16.31.10', 'Bantuan Hukum'), ('172.16.17.32', 'Hukum International'), ('185.0.0.0', 'Imigrasi'), ('185.1.0.0', 'Visa'), ('185.2.0.0', 'Paspor'), ('185.3.0.0', 'Exit'), ('185.4.0.0', 'Reentry'), ('185.5.0.0', 'Lintas Batas / Batas antar Negara'), ('1172.16.58.3', 'Kepenjaraan'), ('1172.16.58.3', 'Kejaksaan'), ('1172.16.31.10', 'Peraturan Perundang-undangan'), ('1172.16.31.10', 'TAP MPR'), ('192.168.127.12', 'Undang-undang'), ('192.168.127.12', 'Peraturan'), ('192.168.3.11', 'Peraturan Pemerintah'), ('172.16.58.3', 'Peraturan Menteri'), ('192.168.127.12', 'Peraturan Lembaga Non Departemen'), ('172.16.17.32', 'Peraturan Daerah'), ('172.16.58.3', 'Peraturan'), ('172.16.58.3', 'Peraturan Kabupaten / Kota'), ('1192.168.3.11', 'Keputusan'), ('172.16.31.10', 'Presiden'), ('172.16.58.3', 'Menteri'), ('192.168.3.11', 'Lembaga Non Departemen'), ('172.16.17.32', 'Gubernur'), ('192.168.127.12', 'Bupati / Walikota'), ('172.16.17.32', 'Instruksi'), ('172.16.17.32', 'Presiden'), ('172.16.31.10', 'Menteri'), ('172.16.31.10', 'Lembaga Non Departemen'), ('1172.16.58.3', 'Gubernur'), ('1192.168.3.11', 'Bupati / Walikota'), ('189.0.0.0', 'Hukum Adat'), ('189.1.0.0', 'Tokoh Adat / Masyarakat'), ('192.168.127.12', 'HUBUNGAN LUAR NEGERI'), ('192.168.3.11', 'Perwakilan Asing'), ('192.0.0.0', 'Tamu Negara'), ('1192.168.3.11', 'Kerjasama dengan Negara Asing'), ('172.16.17.32', 'Asean'), ('192.168.127.12', 'Bamtuan Luar Negeri / Hibah'), ('172.16.31.10', 'Perwakilan RI DI Luar Negeri / Hibah'), ('1172.16.17.32', ' PBB'), ('172.16.58.3', 'Laporan Luar Negeri'), ('172.16.31.10', 'Hutang Luar Negeri PHLN / LOAN'), ('192.168.3.11', 'POLITIK'), ('192.168.127.12', 'Kebijaksanaan Umum'), ('192.168.3.11', 'Orde Baru'), ('172.16.58.3', 'Reformasi'), ('192.168.3.11', 'KEPARTAIAN'), ('172.16.58.3', 'Lambang Partai'), ('172.16.17.32', 'Kartu Tanda Anggota'), ('172.16.31.10', 'Bantuan Keuangan Parpol'), ('192.168.3.11', 'ORGANISASI KEMASYARAKATAN'), ('172.16.17.32', 'Berdasarkan Perjuangan'), ('221.1.0.0', 'Perintis Kemerdekaan'), ('221.2.0.0', 'Angkatan 45'), ('221.3.0.0', 'Veteran'), ('222.0.0.0', 'Berdasarkan Kekaryaan'), ('222.1.0.0', 'PEPBAPKI'), ('2192.168.3.11', 'Wredatama'), ('223.0.0.0', 'Berdasarkan Kerohanian'), ('224.0.0.0', 'Lembaga Adat'), ('225.0.0.0', 'Lembaga Swadaya Masyarakat'), ('172.16.31.10', 'ORGANISASI PROFESI DAN FUNGSIONAL'), ('192.168.3.11', 'Ikatan Dokter Indonesia'), ('172.16.17.32', 'Persatuan Guru Republik Indonesia'), ('233.0.0.0', 'PERSATUAN SARJANA HUKUM INDONESIA'), ('172.16.17.32', 'Persatuan Advokat Indonesia'), ('235.0.0.0', 'Lembaga Bantuan Hukum'), ('236.0.0.0', 'Korps Pegawai Republik Indonesia'), ('192.168.127.12', 'Persatuan Wartawan Indonesia'), ('172.16.31.10', 'Ikatan Cendekiawan Muslim Indonesia (ICMII)'), ('192.168.3.11', 'Organisasi Profesi dan Fungsional lainnya'), ('240.0.0.0', 'ORGANISASI PEMUDA'), ('241.0.0.0', 'Komite Nasional Pemuda Indonesia'), ('242.0.0.0', 'Organisasi Mahasiswa'), ('243.0.0.0', 'Organisasi Pelajar'), ('244.0.0.0', 'Gerakan Pemuda Ansor'), ('245.0.0.0', 'Gerakan Pemuda Islam Indonesia'), ('246.0.0.0', 'Gerakan Pemuda Marhaenis'), ('250.0.0.0', 'ORGANISASI BURUH, TANI, NELAYAN DAN ANGKUTAN'), ('251.0.0.0', 'Federasi Buruh Seluruh Indonesia'), ('252.0.0.0', 'Organisasi Buruh International'), ('253.0.0.0', 'Himpunan Kerukunan Tani Indonesia'), ('254.0.0.0', 'Himpunan Nelayan Seluruh Indonesia'), ('255.0.0.0', 'Keluarga Supir Proposional Seluruh Indoneisa (SPSI)'), ('260.0.0.0', 'ORGANISASI WANITA'), ('261.0.0.0', 'Dharma Wanita'), ('262.0.0.0', 'Persatuan Wanita Indonesia'), ('263.0.0.0', 'Pemberdayaan Perempuan (Wanita)'), ('264.0.0.0', 'Kongres Wanita'), ('270.0.0.0', 'PEMILIHAN UMUM'), ('271.0.0.0', 'Pencalonan'), ('272.0.0.0', 'Nomor Urut Partai / Tanda Gambar '), ('273.0.0.0', 'Kampanye'), ('274.0.0.0', 'Petugas Pemilu'), ('275.0.0.0', 'Pemilih / Daftar Pemilh'), ('276.0.0.0', 'Sarana'), ('276.1.0.0', 'TPS'), ('276.2.0.0', 'Kendaraan'), ('276.3.0.0', 'Surat Suara'), ('276.4.0.0', 'Kotak Suara'), ('276.5.0.0', 'Dana'), ('277.0.0.0', 'Pemungutan Suara / Penghitungan Suara'), ('278.0.0.0', 'Penetapan Hasil Pemilu'), ('279.0.0.0', 'Penetapan Perolehan Jumlah Kursi Dan Calon Terpilih'), ('280.0.0.0', 'Pengucapan Sumpah Janji MPR, DPR, DPD'), ('300.0.0.0', 'KEAMANAN / KETERTIBAN'), ('301.0.0.0', 'Keamanan'), ('302.0.0.0', 'Ketertiban'), ('310.0.0.0', 'PERTAHANAN'), ('311.0.0.0', 'Darat'), ('312.0.0.0', 'Laut'), ('313.0.0.0', 'Udara'), ('314.0.0.0', 'Perbatasan'), ('320.0.0.0', 'KEMILITERAN'), ('321.0.0.0', 'Latihan Militer'), ('322.0.0.0', 'Wajib Militer'), ('323.0.0.0', 'Operasi Militer'), ('324.0.0.0', 'Kekayaan TNI Pejabat Sipil dari TNI'), ('324.1.0.0', 'TMMD'), ('330.0.0.0', 'KEAMANAN'), ('331.0.0.0', 'Kepolisian'), ('331.1.0.0', 'Polisi Pamong Praja'), ('331.2.0.0', 'Kamra'), ('331.3.0.0', 'Kamling'), ('331.4.0.0', 'Jaga Wana'), ('332.0.0.0', 'Huru – hara / Demonstrasi'), ('333.0.0.0', 'Senjata Api / Tajam'), ('334.0.0.0', 'Bahan Peledak'), ('335.0.0.0', 'Surat- surat kaleng'), ('336.0.0.0', 'Perjudian'), ('337.0.0.0', 'Pengaduan'), ('338.0.0.0', 'Himbauan / Larangan'), ('339.0.0.0', 'Terroris'), ('340.0.0.0', 'PERTAHANAN SIPIL'), ('341.0.0.0', 'Perlindungan Sipil'), ('350.0.0.0', 'KEJAHATAN'), ('351.0.0.0', 'Makar / Pemberontakan'), ('352.0.0.0', 'Pembunuhan'), ('353.0.0.0', 'Penganiayaan, Pencurian'), ('354.0.0.0', 'Subversi / Penyelundupan / Narkotika'), ('355.0.0.0', 'Pemalsuan'), ('356.0.0.0', 'Korupsi / Penyelewengan / Penyalahgunaan / Penyalahgunaan Jabatan'), ('357.0.0.0', 'Perkosaan / Perbuatan Cabul'), ('358.0.0.0', 'Kenakalan'), ('359.0.0.0', 'Kejahatan Lainnya'), ('360.0.0.0', 'BENCANA'), ('361.0.0.0', 'Gunung Berapi / Gempa'), ('362.0.0.0', 'Banjir / Tanah Longsor'), ('363.0.0.0', '<NAME>'), ('364.0.0.0', 'Kebakaran'), ('364.1.0.0', 'Pemadam Kebakaran'), ('365.0.0.0', 'Kekeringan'), ('366.0.0.0', 'Tsunami'), ('370.0.0.0', 'KECELAKAAN / SAR'), ('371.0.0.0', 'Darat'), ('372.0.0.0', 'Udara'), ('373.0.0.0', 'Laut'), ('374.0.0.0', 'Sungai / Danau'); -- -------------------------------------------------------- -- -- Struktur dari tabel `log_activity` -- CREATE TABLE `log_activity` ( `id_log` char(20) NOT NULL, `id_logtipe` char(5) DEFAULT NULL, `description` varchar(254) DEFAULT NULL, `created_time` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `log_activity` -- INSERT INTO `log_activity` (`id_log`, `id_logtipe`, `description`, `created_time`) VALUES ('LG0a1d2d25567e992468', 'LT001', 'Login Data ( id_user => USLb65579d, username => operator, email => undefined, ), User Data ( id_datapengguna => DPd0b2da67 ). ID_TriggerUser => USL0000000', '2020-06-08 12:33:05'), ('LG9504a318aadc20022f', 'LT005', 'Create New Surat surat_masuk ( ID_Surat => SM12f508f16d3f1147f8 , ID_TriggerUser => ADM0000000 )', '2020-06-08 12:24:47'), ('LGcc00fc36b7585a98cd', 'LT003', '(ID_User => USL4faf1d1 , Email => undefined , Username => chief , ID_TriggerUser => USL0000000)', '2020-06-08 12:32:34'), ('LGd6cb6eb3143a54cf8b', 'LT001', 'Login Data ( id_user => USLfcfc2a6, username => member, email => undefined, => ), User Data ( id_datapengguna => DP1fbe2211 ). ID_TriggerUser => USL0000000', '2020-06-08 12:27:57'), ('LGdfc5e81789418034f7', 'LT001', 'Login Data ( id_user => USL4faf1d1, username => Chief, email => undefined, ), User Data ( id_datapengguna => DP90e88b73 ). ID_TriggerUser => USL0000000', '2020-06-08 12:32:12'); -- -------------------------------------------------------- -- -- Struktur dari tabel `log_tipe` -- CREATE TABLE `log_tipe` ( `id_logtipe` char(5) NOT NULL, `nama` varchar(100) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `log_tipe` -- INSERT INTO `log_tipe` (`id_logtipe`, `nama`) VALUES ('LT001', 'New Account'), ('LT002', 'Recover Surat'), ('LT003', 'Edit Account'), ('LT004', 'Change Password'), ('LT005', 'New Surat'), ('LT006', 'Edit Surat'), ('LT007', 'Delete Surat'), ('LT008', 'Upload Document'), ('LT009', 'Ban Account'), ('LT010', 'Unban Account'), ('LT011', 'Unknown Type'), ('LT012', 'Temporary Delete Surat'), ('LT013', 'Download File'); -- -------------------------------------------------------- -- -- Struktur dari tabel `lupapass` -- CREATE TABLE `lupapass` ( `id_lupapass` char(10) NOT NULL, `kodeganti` varchar(30) DEFAULT NULL, `id_user` char(10) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `lupapass` -- INSERT INTO `lupapass` (`id_lupapass`, `kodeganti`, `id_user`) VALUES ('272af6148c', 'd668adebb5ebd2b3b7b9ac3ae3eee6', NULL), ('2bc68ee024', '667fdd5bb1bf98e4c460a53a089007', 'USL0000000'), ('80a030268e', '496c3609c68dbba40c938f5475d9e6', 'USL0000000'), ('9db81ed78c', 'c55c381d2d8e44a9f68f06929a203f', 'USL0000000'), ('ac03b6bdff', 'c53b68f1c3199a20c1387fa8ec95ad', NULL), ('ec55164194', 'de05c30285bec92c44ace89096eb65', NULL); -- -------------------------------------------------------- -- -- Struktur dari tabel `role` -- CREATE TABLE `role` ( `id_role` char(5) NOT NULL, `nama` varchar(25) DEFAULT NULL, `r_arsip` bit(1) NOT NULL DEFAULT b'0', `w_suratmasuk` bit(1) NOT NULL DEFAULT b'0', `w_suratkeluar` bit(1) NOT NULL DEFAULT b'0', `w_disposisi` bit(1) NOT NULL DEFAULT b'0', `dt_arsip` bit(1) NOT NULL DEFAULT b'0', `dtu_arsip` bit(1) NOT NULL DEFAULT b'0', `dp_arsip` bit(1) NOT NULL DEFAULT b'0', `admin` bit(1) NOT NULL DEFAULT b'0' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `role` -- INSERT INTO `role` (`id_role`, `nama`, `r_arsip`, `w_suratmasuk`, `w_suratkeluar`, `w_disposisi`, `dt_arsip`, `dtu_arsip`, `dp_arsip`, `admin`) VALUES ('RL000', 'Admin', b'1', b'1', b'1', b'1', b'1', b'1', b'1', b'1'), ('RL001', 'Operator', b'1', b'1', b'1', b'0', b'1', b'1', b'0', b'0'), ('RL002', 'Chief', b'1', b'0', b'0', b'1', b'1', b'1', b'0', b'0'), ('RL003', 'Member', b'1', b'0', b'0', b'0', b'0', b'0', b'0', b'0'); -- -------------------------------------------------------- -- -- Struktur dari tabel `surat_keluar` -- CREATE TABLE `surat_keluar` ( `id_suratkeluar` char(20) NOT NULL, `id_dokumen` char(20) DEFAULT NULL, `id_kode` char(9) DEFAULT NULL, `id_upload` char(10) DEFAULT NULL, `no_surat` varchar(25) DEFAULT NULL, `surat_dikirim` varchar(254) DEFAULT NULL, `isi_ringkas` varchar(254) DEFAULT NULL, `keterangan` varchar(254) DEFAULT NULL, `lokasi_arsip` varchar(100) DEFAULT NULL, `tgl_penerimaan` date DEFAULT NULL, `tgl_pembuatan` date DEFAULT NULL, `create_time` datetime DEFAULT NULL, `update_time` datetime DEFAULT NULL, `sampah` bit(1) NOT NULL DEFAULT b'0' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `surat_keluar` -- INSERT INTO `surat_keluar` (`id_suratkeluar`, `id_dokumen`, `id_kode`, `id_upload`, `no_surat`, `surat_dikirim`, `isi_ringkas`, `keterangan`, `lokasi_arsip`, `tgl_penerimaan`, `tgl_pembuatan`, `create_time`, `update_time`, `sampah`) VALUES ('SK38d67ecf5c5d417d0a', 'DKf200b96c53d186d730', '172.16.17.32', 'ADM0000000', 'safasf', 'fafaf', 'faf', 'afsfa', 'afasf', '2020-06-04', '2020-06-01', '2020-06-07 16:11:00', '2020-06-07 16:11:00', b'0'), ('SK8b4307ae5aca70e3dd', 'DK388d5a743034298c74', '192.168.127.12', 'ADM0000000', 'sd', 'ds', 'ds', 'ds', 'ds', '2020-06-03', '2020-06-07', '2020-06-07 01:06:29', '2020-06-07 01:06:29', b'0'); -- -------------------------------------------------------- -- -- Struktur dari tabel `surat_masuk` -- CREATE TABLE `surat_masuk` ( `id_suratmasuk` char(20) NOT NULL, `id_dokumen` char(20) DEFAULT NULL, `id_kode` char(9) DEFAULT NULL, `id_upload` char(10) DEFAULT NULL, `no_surat` varchar(25) DEFAULT NULL, `asal_surat` varchar(254) DEFAULT NULL, `isi_ringkas` varchar(254) DEFAULT NULL, `keterangan` varchar(254) DEFAULT NULL, `lokasi_arsip` varchar(100) DEFAULT NULL, `tgl_penerimaan` date DEFAULT NULL, `tgl_pembuatan` date DEFAULT NULL, `create_time` datetime DEFAULT NULL, `update_time` datetime DEFAULT NULL, `sampah` bit(1) DEFAULT b'0' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `surat_masuk` -- INSERT INTO `surat_masuk` (`id_suratmasuk`, `id_dokumen`, `id_kode`, `id_upload`, `no_surat`, `asal_surat`, `isi_ringkas`, `keterangan`, `lokasi_arsip`, `tgl_penerimaan`, `tgl_pembuatan`, `create_time`, `update_time`, `sampah`) VALUES ('SM12f508f16d3f1147f8', 'DKf00591cff80bbb0589', '192.168.127.12', 'ADM0000000', 'ad', 'dsaad', 'sad', 'sdaads', 'sada', '2020-06-06', '2020-06-08', '2020-06-08 12:24:47', '2020-06-08 12:24:47', b'0'); -- -------------------------------------------------------- -- -- Struktur dari tabel `userlogin` -- CREATE TABLE `userlogin` ( `id_user` char(10) NOT NULL, `password` char(60) NOT NULL, `email` varchar(255) NOT NULL, `username` varchar(254) NOT NULL, `created_time` datetime DEFAULT NULL, `update_time` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `userlogin` -- INSERT INTO `userlogin` (`id_user`, `password`, `email`, `username`, `created_time`, `update_time`) VALUES ('USL0000000', '$2y$10$q07PTe3qt8PIGXPlBRfrQ.wKXHH6fOllpx49ze33eVQCdpZv73QSa', '<EMAIL>', 'admin', NULL, NULL), ('USL4faf1d1', '$2y$10$B7IzUPbWgLdhWyFsh37dcu99Zzv4KdTRMNULCqGBvOdRrmJkGCur6', 'undefined', 'chief', NULL, '2020-06-08 12:32:34'), ('USLb65579d', '$2y$10$WJB3PhRFpHY.aFavsRcbKO9Cn7jMA8qR/s4VCXOLa.bKZRz0VB.Wy', 'undefined', 'operator', NULL, NULL), ('USLfcfc2a6', '$2y$10$TypQrUKSg1Q76qYOzYSu8.cA4hl/pUiqbVXzsE3mkFlSS9/I0tq7G', 'undefined', 'member', NULL, NULL); -- -- Indexes for dumped tables -- -- -- Indeks untuk tabel `banakun` -- ALTER TABLE `banakun` ADD PRIMARY KEY (`id_ban`), ADD KEY `id_user` (`id_user`); -- -- Indeks untuk tabel `datapengguna` -- ALTER TABLE `datapengguna` ADD PRIMARY KEY (`id_datapengguna`), ADD KEY `id_jabatan` (`id_jabatan`), ADD KEY `id_user` (`id_user`), ADD KEY `id_gender` (`id_gender`); -- -- Indeks untuk tabel `disposisi` -- ALTER TABLE `disposisi` ADD PRIMARY KEY (`id_disposisi`), ADD KEY `id_dokumen` (`id_dokumen`), ADD KEY `id_kode` (`id_kode`), ADD KEY `id_upload` (`id_upload`); -- -- Indeks untuk tabel `dokumen` -- ALTER TABLE `dokumen` ADD PRIMARY KEY (`id_dokumen`); -- -- Indeks untuk tabel `gender` -- ALTER TABLE `gender` ADD PRIMARY KEY (`id_gender`); -- -- Indeks untuk tabel `jabatan` -- ALTER TABLE `jabatan` ADD PRIMARY KEY (`id_jabatan`), ADD KEY `fk_idrole` (`id_role`); -- -- Indeks untuk tabel `jenis_arsip` -- ALTER TABLE `jenis_arsip` ADD PRIMARY KEY (`id_jenisarsip`); -- -- Indeks untuk tabel `kode` -- ALTER TABLE `kode` ADD PRIMARY KEY (`id_kode`); -- -- Indeks untuk tabel `log_activity` -- ALTER TABLE `log_activity` ADD PRIMARY KEY (`id_log`), ADD KEY `id_logtipe` (`id_logtipe`); -- -- Indeks untuk tabel `log_tipe` -- ALTER TABLE `log_tipe` ADD PRIMARY KEY (`id_logtipe`); -- -- Indeks untuk tabel `lupapass` -- ALTER TABLE `lupapass` ADD PRIMARY KEY (`id_lupapass`); -- -- Indeks untuk tabel `role` -- ALTER TABLE `role` ADD PRIMARY KEY (`id_role`) USING BTREE; -- -- Indeks untuk tabel `surat_keluar` -- ALTER TABLE `surat_keluar` ADD PRIMARY KEY (`id_suratkeluar`), ADD KEY `id_dokumen` (`id_dokumen`), ADD KEY `id_kode` (`id_kode`), ADD KEY `id_upload` (`id_upload`); -- -- Indeks untuk tabel `surat_masuk` -- ALTER TABLE `surat_masuk` ADD PRIMARY KEY (`id_suratmasuk`), ADD KEY `id_dokumen` (`id_dokumen`), ADD KEY `id_kode` (`id_kode`), ADD KEY `id_upload` (`id_upload`); -- -- Indeks untuk tabel `userlogin` -- ALTER TABLE `userlogin` ADD PRIMARY KEY (`id_user`); -- -- Ketidakleluasaan untuk tabel pelimpahan (Dumped Tables) -- -- -- Ketidakleluasaan untuk tabel `banakun` -- ALTER TABLE `banakun` ADD CONSTRAINT `banakun_ibfk_1` FOREIGN KEY (`id_user`) REFERENCES `userlogin` (`id_user`); -- -- Ketidakleluasaan untuk tabel `datapengguna` -- ALTER TABLE `datapengguna` ADD CONSTRAINT `datapengguna_ibfk_1` FOREIGN KEY (`id_jabatan`) REFERENCES `jabatan` (`id_jabatan`), ADD CONSTRAINT `datapengguna_ibfk_2` FOREIGN KEY (`id_user`) REFERENCES `userlogin` (`id_user`), ADD CONSTRAINT `datapengguna_ibfk_3` FOREIGN KEY (`id_gender`) REFERENCES `gender` (`id_gender`); -- -- Ketidakleluasaan untuk tabel `disposisi` -- ALTER TABLE `disposisi` ADD CONSTRAINT `disposisi_ibfk_1` FOREIGN KEY (`id_dokumen`) REFERENCES `dokumen` (`id_dokumen`), ADD CONSTRAINT `disposisi_ibfk_2` FOREIGN KEY (`id_kode`) REFERENCES `kode` (`id_kode`), ADD CONSTRAINT `disposisi_ibfk_3` FOREIGN KEY (`id_upload`) REFERENCES `datapengguna` (`id_datapengguna`); -- -- Ketidakleluasaan untuk tabel `jabatan` -- ALTER TABLE `jabatan` ADD CONSTRAINT `fk_idrole` FOREIGN KEY (`id_role`) REFERENCES `role` (`id_role`); -- -- Ketidakleluasaan untuk tabel `log_activity` -- ALTER TABLE `log_activity` ADD CONSTRAINT `log_activity_ibfk_1` FOREIGN KEY (`id_logtipe`) REFERENCES `log_tipe` (`id_logtipe`); -- -- Ketidakleluasaan untuk tabel `surat_keluar` -- ALTER TABLE `surat_keluar` ADD CONSTRAINT `surat_keluar_ibfk_1` FOREIGN KEY (`id_dokumen`) REFERENCES `dokumen` (`id_dokumen`), ADD CONSTRAINT `surat_keluar_ibfk_2` FOREIGN KEY (`id_kode`) REFERENCES `kode` (`id_kode`), ADD CONSTRAINT `surat_keluar_ibfk_3` FOREIGN KEY (`id_upload`) REFERENCES `datapengguna` (`id_datapengguna`); -- -- Ketidakleluasaan untuk tabel `surat_masuk` -- ALTER TABLE `surat_masuk` ADD CONSTRAINT `surat_masuk_ibfk_1` FOREIGN KEY (`id_dokumen`) REFERENCES `dokumen` (`id_dokumen`), ADD CONSTRAINT `surat_masuk_ibfk_2` FOREIGN KEY (`id_kode`) REFERENCES `kode` (`id_kode`), ADD CONSTRAINT `surat_masuk_ibfk_3` FOREIGN KEY (`id_upload`) REFERENCES `datapengguna` (`id_datapengguna`); 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 */;
CREATE TABLE IF NOT EXISTS `location` ( `id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(100), `address_country` varchar(100), `address_city` varchar(100), `address_county` varchar(100), `address_street_address` varchar(100) );
<reponame>LibrariesWest/reporting-solution<gh_stars>0 --------------------------------------------------------------- -- table: fund. indexes --------------------------------------------------------------- -- index: cuix_fund_key -- drop index cuix_fund_key; create unique index cuix_fund_key on fund using btree (key); alter table fund cluster on cuix_fund_key; -- index: ix_fund_library -- drop index ix_fund_library; create index ix_fund_library on fund using btree (library); -- index: ix_fund_id -- drop index ix_fund_id; create index ix_fund_id on fund using btree (id); -- index: ix_fund_namekey -- drop index ix_fund_namekey; create index ix_fund_namekey on fund using btree (name_key);
CREATE OR REPLACE FUNCTION simple_val(_saved_answers jsonb, _survey_questions jsonb) RETURNS jsonb AS $$ SELECT jsonb_object_agg( value->>'questionId', CASE WHEN pg_typeof(value)::text <> 'jsonb' THEN value WHEN _survey_questions->(value->>'questionId')->>'componentType' = 'input' THEN value - 'questionId' ELSE value - 'questionId' - 'answer' END ) FROM ( SELECT value FROM jsonb_each(_saved_answers) ) a $$ LANGUAGE SQL; UPDATE sample_values sv SET saved_answers = simple_val(sv.saved_answers, survey_questions) FROM ( SELECT sample_value_uid, survey_questions, saved_answers FROM sample_values, user_plots, plots, projects WHERE project_uid = project_rid AND plot_uid = plot_rid AND user_plot_uid = user_plot_rid AND sample_value_uid < 8000000 ) x WHERE sv.sample_value_uid = x.sample_value_uid; UPDATE sample_values sv SET saved_answers = simple_val(sv.saved_answers, survey_questions) FROM ( SELECT sample_value_uid, survey_questions, saved_answers FROM sample_values, user_plots, plots, projects WHERE project_uid = project_rid AND plot_uid = plot_rid AND user_plot_uid = user_plot_rid AND sample_value_uid >= 8000000 ) x WHERE sv.sample_value_uid = x.sample_value_uid;
--item f /* T1 <- pi (p_id) (pecas) T2 <- pi (f_nome, endereco, p_id) (fornecedores THETA_JOIN(fornecedores.f_id=catalogo.f_id) catalogo) T3 <- T2 dividido por T1 T4 <- listar(f_nome, f_endereco) (T3) */ --item g /* T1 <- pi (p_id) (sigma(cor='vermelho')) (pecas) T2 <- pi (p_id) (sigma(cor='verde')) (pecas) T3 <- pi (f_id, p_id) (fornecedores * catalogo) T4 <- T3 dividido por T1 T5 <- T3 dividido por T2 T6 <- T4 UNION T5 T7 <- listar(f_id) (T6) */ --item h /* T1 <- pi (p_id, p_nome, preco) (pecas) T2 <- pi (f_id, f_nome, p_id) (fornecedores) T3 <- (T2 NATURAL_JOIN (T1)) T4 <- listar(f_id, f_nome, p_nome, preco) (T3) */ --item i /*not finished*/ SELECT DISTINCT * FROM ((SELECT p.p_id FROM fornecedores f JOIN catalogo c ON f.f_id = c.f_id JOIN pecas p ON c.p_id = p.p_id) INTERSECT (SELECT DISTINCT p.p_id FROM fornecedores f JOIN catalogo c ON f.f_id = c.f_id JOIN pecas p ON c.p_id = p.p_id))
SET DEFINE OFF; CREATE TABLE AFW_21_PLUGN_MENU ( SEQNC NUMBER(10), CODE VARCHAR2(23 BYTE), DATE_CREAT DATE, UTILS_CREAT VARCHAR2(123 BYTE), DATE_MODFC DATE, UTILS_MODFC VARCHAR2(123 BYTE), DNR_REF_PRODT NUMBER(10), REF_DV_TYPE_MENU NUMBER(10), LARGR_REGN_MENU NUMBER(4), HAUTR_REGN_MENU NUMBER(4), REF_DV_ORIEN_MENU NUMBER(10), REF_DV_COULR_THEME NUMBER(10), REF_DV_COULR_PRINC NUMBER(10), REF_MENU NUMBER(10), REF_DV_FORMT_MENU NUMBER(10), REF_PRODT NUMBER(10) ) LOGGING NOCOMPRESS NOCACHE MONITORING /
CREATE TABLE MYTODOLIST.CATEGORIES ( id serial NOT NULL, name VARCHAR(256) NOT NULL );
# Time: O(p * b + blogb) # Space: O(p * b) WITH arrival_time_cte AS ( SELECT bus_id, b.arrival_time, capacity, count(passenger_id) AS prefix_sum FROM Buses b LEFT JOIN Passengers p ON p.arrival_time <= b.arrival_time GROUP BY bus_id ORDER BY arrival_time ) SELECT bus_id, passengers_cnt FROM ( SELECT bus_id, capacity, prefix_sum, @passengers_cnt := LEAST(capacity, prefix_sum-@accum) as passengers_cnt, @accum := @accum + @passengers_cnt FROM arrival_time_cte, (SELECT @accum := 0, @passengers_cnt := 0) init ) t ORDER BY bus_id;
<filename>egov/egov-pgr/src/main/resources/db/migration/main/V20161020152213__pgr_citizen_rating_update_dml.sql update egpgr_complaint set citizenfeedback = 5 where citizenfeedback=1; update egpgr_complaint set citizenfeedback = 2 where citizenfeedback=2;
CREATE INDEX scannable_items_envelope_id_idx ON scannable_items (envelope_id); CREATE INDEX non_scannable_items_envelope_id_idx ON non_scannable_items (envelope_id); CREATE INDEX payments_envelope_id_idx ON payments (envelope_id);
<filename>docs/comic.sql -- MySQL dump 10.13 Distrib 8.0.15, for macos10.14 (x86_64) -- -- Host: localhost Database: comic -- ------------------------------------------------------ -- Server version 8.0.15 /*!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 */; 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 `chapter` -- DROP TABLE IF EXISTS `chapter`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `chapter` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `search_id` int(11) DEFAULT NULL, `url` varchar(1000) DEFAULT NULL, `title` varchar(1000) DEFAULT NULL, `page_size` int(11) DEFAULT NULL, `create_time` bigint(20) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1699 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `chapter` -- LOCK TABLES `chapter` WRITE; /*!40000 ALTER TABLE `chapter` DISABLE KEYS */; INSERT INTO `chapter` VALUES (1,1,'https://www.manhuagui.com/comic/20224/431432.html','第32话',41,1557637868691),(2,1,'https://www.manhuagui.com/comic/20224/431433.html','第33话',41,1557637868692),(3,1,'https://www.manhuagui.com/comic/20224/431431.html','第31话',39,1557637868693),(4,1,'https://www.manhuagui.com/comic/20224/431430.html','第30话',40,1557637868694),(5,1,'https://www.manhuagui.com/comic/20224/431428.html','第28话',39,1557637868695),(6,1,'https://www.manhuagui.com/comic/20224/431429.html','第29话',38,1557637868695),(7,1,'https://www.manhuagui.com/comic/20224/431427.html','第27话',41,1557637868697),(8,1,'https://www.manhuagui.com/comic/20224/409787.html','第26话 礼物',42,1557637868696),(9,1,'https://www.manhuagui.com/comic/20224/407386.html','第24话 川木',42,1557637868697),(10,1,'https://www.manhuagui.com/comic/20224/408321.html','第25话 共鸣',42,1557637868698),(11,1,'https://www.manhuagui.com/comic/20224/405763.html','第23话 楔',42,1557637868705),(12,1,'https://www.manhuagui.com/comic/20224/404368.html','第22话 激斗决着!',42,1557637868710),(13,1,'https://www.manhuagui.com/comic/20224/401600.html','第19话 人偶',42,1557637868710),(14,1,'https://www.manhuagui.com/comic/20224/401601.html','第20话 科学忍具',42,1557637868711),(15,1,'https://www.manhuagui.com/comic/20224/403041.html','第21话 使用方法',42,1557637868703),(16,1,'https://www.manhuagui.com/comic/20224/337213.html','第18回',43,1557637868715),(17,1,'https://www.manhuagui.com/comic/20224/317749.html','第15回 背后的影…!!',44,1557637868716),(18,1,'https://www.manhuagui.com/comic/20224/327537.html','第16回 器',44,1557637868716),(19,1,'https://www.manhuagui.com/comic/20224/305614.html','第13回',44,1557637868718),(20,1,'https://www.manhuagui.com/comic/20224/310533.html','第14回',44,1557637868719),(21,1,'https://www.manhuagui.com/comic/20224/327538.html','第17回 青',44,1557637868714),(22,1,'https://www.manhuagui.com/comic/20224/297916.html','第11回 新的任务!!',48,1557637868724),(23,1,'https://www.manhuagui.com/comic/20224/276550.html','第08回',45,1557637868726),(24,1,'https://www.manhuagui.com/comic/20224/299272.html','第12回 朋友…!',44,1557637868725),(25,1,'https://www.manhuagui.com/comic/20224/288532.html','第09回',46,1557637868727),(26,1,'https://www.manhuagui.com/comic/20224/269857.html','第7回',46,1557637868729),(27,1,'https://www.manhuagui.com/comic/20224/257744.html','第05回',48,1557637868739),(28,1,'https://www.manhuagui.com/comic/20224/251020.html','第04回',49,1557637868743),(29,1,'https://www.manhuagui.com/comic/20224/264328.html','第06回',48,1557637868730),(30,1,'https://www.manhuagui.com/comic/20224/246184.html','第03回',52,1557637868746),(31,1,'https://www.manhuagui.com/comic/20224/288533.html','第10回',46,1557637868754),(32,1,'https://www.manhuagui.com/comic/20224/240487.html','第02回',50,1557637868750),(33,1,'https://www.manhuagui.com/comic/20224/233848.html','第1回',58,1557637868758),(34,1,'https://www.manhuagui.com/comic/20224/247103.html','岸本齐史X池本干雄对谈',2,1557637868764),(35,1,'https://www.manhuagui.com/comic/20224/297917.html','番外01',2,1557637868786),(36,11,'https://www.tohomh123.com/yirenzhixia/433.html','410(15P)',15,1557643407539),(37,11,'https://www.tohomh123.com/yirenzhixia/432.html','409(16P)',16,1557643407547),(38,11,'https://www.tohomh123.com/yirenzhixia/431.html','408(14P)',14,1557643407552),(39,11,'https://www.tohomh123.com/yirenzhixia/430.html','签售预告(2P)',2,1557643407557),(40,11,'https://www.tohomh123.com/yirenzhixia/429.html','407(21P)',21,1557643407561),(41,11,'https://www.tohomh123.com/yirenzhixia/428.html','406(17P)',17,1557643407567),(42,11,'https://www.tohomh123.com/yirenzhixia/427.html','405(16P)',16,1557643407572),(43,11,'https://www.tohomh123.com/yirenzhixia/426.html','404(19P)',19,1557643407578),(44,11,'https://www.tohomh123.com/yirenzhixia/425.html','403(23P)',23,1557643407583),(45,11,'https://www.tohomh123.com/yirenzhixia/423.html','402(13P)',13,1557643407588),(46,11,'https://www.tohomh123.com/yirenzhixia/422.html','401(15P)',15,1557643407592),(47,11,'https://www.tohomh123.com/yirenzhixia/421.html','400(23P)',23,1557643407596),(48,11,'https://www.tohomh123.com/yirenzhixia/420.html','399(15P)',15,1557643407601),(49,11,'https://www.tohomh123.com/yirenzhixia/418.html','398(15P)',15,1557643407605),(50,11,'https://www.tohomh123.com/yirenzhixia/417.html','397(19P)',19,1557643407609),(51,11,'https://www.tohomh123.com/yirenzhixia/416.html','396(16P)',16,1557643407613),(52,11,'https://www.tohomh123.com/yirenzhixia/415.html','395(17P)',17,1557643407619),(53,11,'https://www.tohomh123.com/yirenzhixia/414.html','394(17P)',17,1557643407624),(54,11,'https://www.tohomh123.com/yirenzhixia/413.html','393(13P)',13,1557643407628),(55,11,'https://www.tohomh123.com/yirenzhixia/412.html','392(16P)',16,1557643407633),(56,11,'https://www.tohomh123.com/yirenzhixia/411.html','391(15P)',15,1557643407638),(57,11,'https://www.tohomh123.com/yirenzhixia/410.html','390(12P)',12,1557643407642),(58,11,'https://www.tohomh123.com/yirenzhixia/409.html','389(21P)',21,1557643407646),(59,11,'https://www.tohomh123.com/yirenzhixia/408.html','388(13P)',13,1557643407651),(60,11,'https://www.tohomh123.com/yirenzhixia/407.html','387(15P)',15,1557643407655),(61,11,'https://www.tohomh123.com/yirenzhixia/406.html','386(13P)',13,1557643407661),(62,11,'https://www.tohomh123.com/yirenzhixia/405.html','385(14P)',14,1557643407668),(63,11,'https://www.tohomh123.com/yirenzhixia/404.html','384(15P)',15,1557643407673),(64,11,'https://www.tohomh123.com/yirenzhixia/403.html','383(15P)',15,1557643407678),(65,11,'https://www.tohomh123.com/yirenzhixia/402.html','382(16P)',16,1557643407682),(66,11,'https://www.tohomh123.com/yirenzhixia/401.html','番外・武侯奇门 下(28P)',28,1557643407687),(67,11,'https://www.tohomh123.com/yirenzhixia/400.html','381(17P)',17,1557643407692),(68,11,'https://www.tohomh123.com/yirenzhixia/399.html','380(16P)',16,1557643407696),(69,11,'https://www.tohomh123.com/yirenzhixia/398.html','379(16P)',16,1557643407702),(70,11,'https://www.tohomh123.com/yirenzhixia/397.html','番外・武侯奇门 上(25P)',25,1557643407708),(71,11,'https://www.tohomh123.com/yirenzhixia/396.html','378(16P)',16,1557643407712),(72,11,'https://www.tohomh123.com/yirenzhixia/395.html','377(16P)',16,1557643407718),(73,11,'https://www.tohomh123.com/yirenzhixia/394.html','376(14P)',14,1557643407723),(74,11,'https://www.tohomh123.com/yirenzhixia/393.html','375(15P)',15,1557643407728),(75,11,'https://www.tohomh123.com/yirenzhixia/392.html','双11...(1P)',1,1557643407732),(76,11,'https://www.tohomh123.com/yirenzhixia/391.html','374(14P)',14,1557643407737),(77,11,'https://www.tohomh123.com/yirenzhixia/390.html','373(15P)',15,1557643407741),(78,11,'https://www.tohomh123.com/yirenzhixia/388.html','372(17P)',17,1557643407746),(79,11,'https://www.tohomh123.com/yirenzhixia/387.html','371(15P)',15,1557643407751),(80,11,'https://www.tohomh123.com/yirenzhixia/386.html','370(12P)',12,1557643407756),(81,11,'https://www.tohomh123.com/yirenzhixia/385.html','369(15P)',15,1557643407760),(82,11,'https://www.tohomh123.com/yirenzhixia/384.html','368(13P)',13,1557643407766),(83,11,'https://www.tohomh123.com/yirenzhixia/383.html','367(15P)',15,1557643407772),(84,11,'https://www.tohomh123.com/yirenzhixia/382.html','366(16P)',16,1557643407776),(85,11,'https://www.tohomh123.com/yirenzhixia/381.html','365(17P)',17,1557643407780),(86,11,'https://www.tohomh123.com/yirenzhixia/380.html','番外・湘西巫蛊下篇(32P)',32,1557643407784),(87,11,'https://www.tohomh123.com/yirenzhixia/379.html','重要拉票广告!(1P)',1,1557643407789),(88,11,'https://www.tohomh123.com/yirenzhixia/378.html','364(19P)',19,1557643407794),(89,11,'https://www.tohomh123.com/yirenzhixia/377.html','番外・湘西巫蛊上篇(21P)',21,1557643407798),(90,11,'https://www.tohomh123.com/yirenzhixia/376.html','363(15P)',15,1557643407802),(91,11,'https://www.tohomh123.com/yirenzhixia/375.html','362(16P)',16,1557643407806),(92,11,'https://www.tohomh123.com/yirenzhixia/374.html','361(16P)',16,1557643407811),(93,11,'https://www.tohomh123.com/yirenzhixia/373.html','360(15P)',15,1557643407817),(94,11,'https://www.tohomh123.com/yirenzhixia/372.html','359(11P)',11,1557643407821),(95,11,'https://www.tohomh123.com/yirenzhixia/371.html','358(15P)',15,1557643407826),(96,11,'https://www.tohomh123.com/yirenzhixia/370.html','357(20P)',20,1557643407830),(97,11,'https://www.tohomh123.com/yirenzhixia/369.html','一人之下单行本预售!(1P)',1,1557643407834),(98,11,'https://www.tohomh123.com/yirenzhixia/368.html','356(16P)',16,1557643407838),(99,11,'https://www.tohomh123.com/yirenzhixia/367.html','355(17P)',17,1557643407843),(100,11,'https://www.tohomh123.com/yirenzhixia/366.html','特别番外?三十六贼之魏淑芬(52P)',52,1557643407847),(101,11,'https://www.tohomh123.com/yirenzhixia/365.html','354(17P)',17,1557643407851),(102,11,'https://www.tohomh123.com/yirenzhixia/364.html','353(20P)',20,1557643407854),(103,11,'https://www.tohomh123.com/yirenzhixia/363.html','宝儿姐应援活动!(1P)',1,1557643407858),(104,11,'https://www.tohomh123.com/yirenzhixia/362.html','352(14P)',14,1557643407863),(105,11,'https://www.tohomh123.com/yirenzhixia/361.html','351(15P)',15,1557643407867),(106,11,'https://www.tohomh123.com/yirenzhixia/360.html','350(14P)',14,1557643407870),(107,11,'https://www.tohomh123.com/yirenzhixia/359.html','349(16P)',16,1557643407874),(108,11,'https://www.tohomh123.com/yirenzhixia/358.html','348(16P)',16,1557643407878),(109,11,'https://www.tohomh123.com/yirenzhixia/357.html','347.六库仙贼(17P)',17,1557643407881),(110,11,'https://www.tohomh123.com/yirenzhixia/356.html','346(19P)',19,1557643407885),(111,11,'https://www.tohomh123.com/yirenzhixia/355.html','345(19P)',19,1557643407889),(112,11,'https://www.tohomh123.com/yirenzhixia/354.html','344(18P)',18,1557643407893),(113,11,'https://www.tohomh123.com/yirenzhixia/353.html','343(17P)',17,1557643407896),(114,11,'https://www.tohomh123.com/yirenzhixia/352.html','绝版礼盒 全网发售(1P)',1,1557643407900),(115,11,'https://www.tohomh123.com/yirenzhixia/351.html','342(17P)',17,1557643407904),(116,11,'https://www.tohomh123.com/yirenzhixia/350.html','341(18P)',18,1557643407907),(117,11,'https://www.tohomh123.com/yirenzhixia/349.html','官方画集预售啦!(1P)',1,1557643407911),(118,11,'https://www.tohomh123.com/yirenzhixia/348.html','340(19P)',19,1557643407916),(119,11,'https://www.tohomh123.com/yirenzhixia/347.html','339.这不巧了么(18P)',18,1557643407921),(120,11,'https://www.tohomh123.com/yirenzhixia/346.html','一人之下手游番外(11P)',11,1557643407925),(121,11,'https://www.tohomh123.com/yirenzhixia/345.html','338.森林之神的庇佑(16P)',16,1557643407929),(122,11,'https://www.tohomh123.com/yirenzhixia/344.html','337.godmother(20P)',20,1557643407934),(123,11,'https://www.tohomh123.com/yirenzhixia/343.html','336(17P)',17,1557643407938),(124,11,'https://www.tohomh123.com/yirenzhixia/342.html','335(17P)',17,1557643407942),(125,11,'https://www.tohomh123.com/yirenzhixia/341.html','一人之下粉丝资料网站!(1P)',1,1557643407946),(126,11,'https://www.tohomh123.com/yirenzhixia/340.html','334.二十四节通天谷(21P)',21,1557643407950),(127,11,'https://www.tohomh123.com/yirenzhixia/339.html','333.张怀义的子孙(17P)',17,1557643407954),(128,11,'https://www.tohomh123.com/yirenzhixia/338.html','332(22P)',22,1557643407957),(129,11,'https://www.tohomh123.com/yirenzhixia/337.html','331.山谷(17P)',17,1557643407961),(130,11,'https://www.tohomh123.com/yirenzhixia/336.html','腾讯动漫6周年福利活动!(1P)',1,1557643407967),(131,11,'https://www.tohomh123.com/yirenzhixia/335.html','330.他们也是我们(15P)',15,1557643407972),(132,11,'https://www.tohomh123.com/yirenzhixia/334.html','329 变异?的猴子(17P)',17,1557643407977),(133,11,'https://www.tohomh123.com/yirenzhixia/333.html','328(16P)',16,1557643407982),(134,11,'https://www.tohomh123.com/yirenzhixia/332.html','327(15P)',15,1557643407986),(135,11,'https://www.tohomh123.com/yirenzhixia/331.html','326.请务必带上我们(21P)',21,1557643407990),(136,11,'https://www.tohomh123.com/yirenzhixia/330.html','通知(1P)',1,1557643407994),(137,11,'https://www.tohomh123.com/yirenzhixia/329.html','325.心机VS心机(15P)',15,1557643407998),(138,11,'https://www.tohomh123.com/yirenzhixia/328.html','324.迷之生物体(17P)',17,1557643408002),(139,11,'https://www.tohomh123.com/yirenzhixia/327.html','单行本预售(1P)',1,1557643408006),(140,11,'https://www.tohomh123.com/yirenzhixia/326.html','323.有趣的人(16P)',16,1557643408010),(141,11,'https://www.tohomh123.com/yirenzhixia/325.html','322(15P)',15,1557643408016),(142,11,'https://www.tohomh123.com/yirenzhixia/324.html','321(16P)',16,1557643408020),(143,11,'https://www.tohomh123.com/yirenzhixia/323.html','320(19P)',19,1557643408025),(144,11,'https://www.tohomh123.com/yirenzhixia/322.html','宝姐生日快乐!(16P)',16,1557643408030),(145,11,'https://www.tohomh123.com/yirenzhixia/321.html','318(15P)',15,1557643408034),(146,11,'https://www.tohomh123.com/yirenzhixia/320.html','317(18P)',18,1557643408039),(147,11,'https://www.tohomh123.com/yirenzhixia/319.html','316(12P)',12,1557643408044),(148,11,'https://www.tohomh123.com/yirenzhixia/318.html','315(15P)',15,1557643408051),(149,11,'https://www.tohomh123.com/yirenzhixia/317.html','314(16P)',16,1557643408056),(150,11,'https://www.tohomh123.com/yirenzhixia/316.html','313(15P)',15,1557643408061),(151,11,'https://www.tohomh123.com/yirenzhixia/315.html','312(16P)',16,1557643408067),(152,11,'https://www.tohomh123.com/yirenzhixia/314.html','311(22P)',22,1557643408074),(153,11,'https://www.tohomh123.com/yirenzhixia/313.html','310(16P)',16,1557643408079),(154,11,'https://www.tohomh123.com/yirenzhixia/312.html','309(15P)',15,1557643408084),(155,11,'https://www.tohomh123.com/yirenzhixia/311.html','粉丝大福利活动(2P)',2,1557643408089),(156,11,'https://www.tohomh123.com/yirenzhixia/310.html','308(17P)',17,1557643408094),(157,11,'https://www.tohomh123.com/yirenzhixia/309.html','307(17P)',17,1557643408098),(158,11,'https://www.tohomh123.com/yirenzhixia/308.html','306(19P)',19,1557643408102),(159,11,'https://www.tohomh123.com/yirenzhixia/307.html','305(13P)',13,1557643408106),(160,11,'https://www.tohomh123.com/yirenzhixia/306.html','304(18P)',18,1557643408110),(161,11,'https://www.tohomh123.com/yirenzhixia/305.html','303(19P)',19,1557643408117),(162,11,'https://www.tohomh123.com/yirenzhixia/304.html','302(39P)',39,1557643408122),(163,11,'https://www.tohomh123.com/yirenzhixia/303.html','301(34P)',34,1557643408126),(164,11,'https://www.tohomh123.com/yirenzhixia/302.html','300(19P)',19,1557643408131),(165,11,'https://www.tohomh123.com/yirenzhixia/301.html','299(18P)',18,1557643408136),(166,11,'https://www.tohomh123.com/yirenzhixia/300.html','298(19P)',19,1557643408140),(167,11,'https://www.tohomh123.com/yirenzhixia/299.html','297(18P)',18,1557643408144),(168,11,'https://www.tohomh123.com/yirenzhixia/298.html','296(17P)',17,1557643408149),(169,11,'https://www.tohomh123.com/yirenzhixia/297.html','295(15P)',15,1557643408155),(170,11,'https://www.tohomh123.com/yirenzhixia/296.html','一人之下 X 品客薯片(25P)',25,1557643408159),(171,11,'https://www.tohomh123.com/yirenzhixia/295.html','294(17P)',17,1557643408164),(172,11,'https://www.tohomh123.com/yirenzhixia/294.html','293(17P)',17,1557643408170),(173,11,'https://www.tohomh123.com/yirenzhixia/293.html','292(16P)',16,1557643408174),(174,11,'https://www.tohomh123.com/yirenzhixia/292.html','291(18P)',18,1557643408180),(175,11,'https://www.tohomh123.com/yirenzhixia/291.html','290(19P)',19,1557643408186),(176,11,'https://www.tohomh123.com/yirenzhixia/290.html','289(18P)',18,1557643408190),(177,11,'https://www.tohomh123.com/yirenzhixia/289.html','288(18P)',18,1557643408195),(178,11,'https://www.tohomh123.com/yirenzhixia/288.html','287(17P)',17,1557643408199),(179,11,'https://www.tohomh123.com/yirenzhixia/287.html','286(17P)',17,1557643408205),(180,11,'https://www.tohomh123.com/yirenzhixia/286.html','285(17P)',17,1557643408210),(181,11,'https://www.tohomh123.com/yirenzhixia/285.html','284(17P)',17,1557643408217),(182,11,'https://www.tohomh123.com/yirenzhixia/284.html','283(17P)',17,1557643408221),(183,11,'https://www.tohomh123.com/yirenzhixia/283.html','282(17P)',17,1557643408226),(184,11,'https://www.tohomh123.com/yirenzhixia/282.html','281(14P)',14,1557643408231),(185,11,'https://www.tohomh123.com/yirenzhixia/281.html','280(17P)',17,1557643408235),(186,11,'https://www.tohomh123.com/yirenzhixia/280.html','279(16P)',16,1557643408239),(187,11,'https://www.tohomh123.com/yirenzhixia/279.html','278(20P)',20,1557643408244),(188,11,'https://www.tohomh123.com/yirenzhixia/278.html','277(15P)',15,1557643408249),(189,11,'https://www.tohomh123.com/yirenzhixia/277.html','276(15P)',15,1557643408254),(190,11,'https://www.tohomh123.com/yirenzhixia/276.html','275(15P)',15,1557643408258),(191,11,'https://www.tohomh123.com/yirenzhixia/275.html','274(18P)',18,1557643408266),(192,11,'https://www.tohomh123.com/yirenzhixia/274.html','273(15P)',15,1557643408271),(193,11,'https://www.tohomh123.com/yirenzhixia/273.html','272(15P)',15,1557643408275),(194,11,'https://www.tohomh123.com/yirenzhixia/272.html','271(15P)',15,1557643408280),(195,11,'https://www.tohomh123.com/yirenzhixia/271.html','270(18P)',18,1557643408284),(196,11,'https://www.tohomh123.com/yirenzhixia/270.html','269(18P)',18,1557643408288),(197,11,'https://www.tohomh123.com/yirenzhixia/269.html','268(17P)',17,1557643408292),(198,11,'https://www.tohomh123.com/yirenzhixia/268.html','267(20P)',20,1557643408297),(199,11,'https://www.tohomh123.com/yirenzhixia/267.html','266(15P)',15,1557643408301),(200,11,'https://www.tohomh123.com/yirenzhixia/266.html','265(20P)',20,1557643408305),(201,11,'https://www.tohomh123.com/yirenzhixia/265.html','264(19P)',19,1557643408309),(202,11,'https://www.tohomh123.com/yirenzhixia/264.html','263(20P)',20,1557643408316),(203,11,'https://www.tohomh123.com/yirenzhixia/263.html','262(16P)',16,1557643408321),(204,11,'https://www.tohomh123.com/yirenzhixia/262.html','261(17P)',17,1557643408325),(205,11,'https://www.tohomh123.com/yirenzhixia/261.html','260(16P)',16,1557643408330),(206,11,'https://www.tohomh123.com/yirenzhixia/260.html','259(18P)',18,1557643408335),(207,11,'https://www.tohomh123.com/yirenzhixia/259.html','258(20P)',20,1557643408340),(208,11,'https://www.tohomh123.com/yirenzhixia/258.html','257(23P)',23,1557643408344),(209,11,'https://www.tohomh123.com/yirenzhixia/257.html','256(20P)',20,1557643408347),(210,11,'https://www.tohomh123.com/yirenzhixia/256.html','255(17P)',17,1557643408352),(211,11,'https://www.tohomh123.com/yirenzhixia/255.html','254(17P)',17,1557643408355),(212,11,'https://www.tohomh123.com/yirenzhixia/254.html','253(17P)',17,1557643408359),(213,11,'https://www.tohomh123.com/yirenzhixia/253.html','252.我叫陈朵(17P)',17,1557643408365),(214,11,'https://www.tohomh123.com/yirenzhixia/252.html','251.新生(23P)',23,1557643408370),(215,11,'https://www.tohomh123.com/yirenzhixia/251.html','250.异类(23P)',23,1557643408374),(216,11,'https://www.tohomh123.com/yirenzhixia/250.html','249.尝试(16P)',16,1557643408378),(217,11,'https://www.tohomh123.com/yirenzhixia/249.html','248.同类(13P)',13,1557643408382),(218,11,'https://www.tohomh123.com/yirenzhixia/248.html','247.蛊童的困惑(12P)',12,1557643408386),(219,11,'https://www.tohomh123.com/yirenzhixia/247.html','246.蛊童的真面目(11P)',11,1557643408391),(220,11,'https://www.tohomh123.com/yirenzhixia/246.html','245.蛊身圣童(16P)',16,1557643408395),(221,11,'https://www.tohomh123.com/yirenzhixia/245.html','244.蛊的培养皿(18P)',18,1557643408400),(222,11,'https://www.tohomh123.com/yirenzhixia/244.html','243.有麻烦找老四(17P)',17,1557643408404),(223,11,'https://www.tohomh123.com/yirenzhixia/243.html','242.在笑(17P)',17,1557643408407),(224,11,'https://www.tohomh123.com/yirenzhixia/242.html','241.禽兽(17P)',17,1557643408412),(225,11,'https://www.tohomh123.com/yirenzhixia/241.html','240.各自行动(16P)',16,1557643408417),(226,11,'https://www.tohomh123.com/yirenzhixia/240.html','239.神机与术(13P)',13,1557643408421),(227,11,'https://www.tohomh123.com/yirenzhixia/239.html','238.乾之三爻(18P)',18,1557643408424),(228,11,'https://www.tohomh123.com/yirenzhixia/238.html','237.真实的疼痛(14P)',14,1557643408428),(229,11,'https://www.tohomh123.com/yirenzhixia/237.html','236.真实与虚幻【彩】(17P)',17,1557643408431),(230,11,'https://www.tohomh123.com/yirenzhixia/236.html','236.真实与虚幻【黑白】(17P)',17,1557643408436),(231,11,'https://www.tohomh123.com/yirenzhixia/235.html','235.没事老斩天做甚(17P)',17,1557643408439),(232,11,'https://www.tohomh123.com/yirenzhixia/234.html','234.没毛病(20P)',20,1557643408444),(233,11,'https://www.tohomh123.com/yirenzhixia/233.html','233.尬撩现场(19P)',19,1557643408448),(234,11,'https://www.tohomh123.com/yirenzhixia/232.html','232.人口红线(14P)',14,1557643408455),(235,11,'https://www.tohomh123.com/yirenzhixia/231.html','231.干叔叔(16P)',16,1557643408459),(236,11,'https://www.tohomh123.com/yirenzhixia/230.html','230.命格轻贱(18P)',18,1557643408465),(237,11,'https://www.tohomh123.com/yirenzhixia/229.html','229.变化(17P)',17,1557643408469),(238,11,'https://www.tohomh123.com/yirenzhixia/228.html','228.“利己”(17P)',17,1557643408474),(239,11,'https://www.tohomh123.com/yirenzhixia/227.html','227.不要转身(17P)',17,1557643408477),(240,11,'https://www.tohomh123.com/yirenzhixia/226.html','226.帅哥小心身后(16P)',16,1557643408482),(241,11,'https://www.tohomh123.com/yirenzhixia/225.html','225.不要走夜路(15P)',15,1557643408487),(242,11,'https://www.tohomh123.com/yirenzhixia/224.html','224.修身炉(16P)',16,1557643408490),(243,11,'https://www.tohomh123.com/yirenzhixia/223.html','223.用诚意打动(17P)',17,1557643408495),(244,11,'https://www.tohomh123.com/yirenzhixia/222.html','222.你说了可不算(13P)',13,1557643408499),(245,11,'https://www.tohomh123.com/yirenzhixia/221.html','221.武侯派不要面子的吗?(14P)',14,1557643408504),(246,11,'https://www.tohomh123.com/yirenzhixia/220.html','220.新截(15P)',15,1557643408515),(247,11,'https://www.tohomh123.com/yirenzhixia/219.html','219.操刀鬼与刀(13P)',13,1557643408519),(248,11,'https://www.tohomh123.com/yirenzhixia/218.html','218.上面的人(22P)',22,1557643408524),(249,11,'https://www.tohomh123.com/yirenzhixia/217.html','217.别扭(27P)',27,1557643408528),(250,11,'https://www.tohomh123.com/yirenzhixia/216.html','216.鎏金如意(20P)',20,1557643408532),(251,11,'https://www.tohomh123.com/yirenzhixia/215.html','215.你们这是找抽(28P)',28,1557643408536),(252,11,'https://www.tohomh123.com/yirenzhixia/214.html','214.倾情蛊(19P)',19,1557643408540),(253,11,'https://www.tohomh123.com/yirenzhixia/213.html','213.服下去(28P)',28,1557643408546),(254,11,'https://www.tohomh123.com/yirenzhixia/212.html','212.不幸的根源(26P)',26,1557643408553),(255,11,'https://www.tohomh123.com/yirenzhixia/211.html','211.一发入魂(13P)',13,1557643408558),(256,11,'https://www.tohomh123.com/yirenzhixia/210.html','210.我在你身后(23P)',23,1557643408562),(257,11,'https://www.tohomh123.com/yirenzhixia/209.html','209.法宝(25P)',25,1557643408567),(258,11,'https://www.tohomh123.com/yirenzhixia/208.html','208.药仙会(30P)',30,1557643408572),(259,11,'https://www.tohomh123.com/yirenzhixia/207.html','207.爱之马杀鸡(22P)',22,1557643408577),(260,11,'https://www.tohomh123.com/yirenzhixia/206.html','206.我真好运(21P)',21,1557643408582),(261,11,'https://www.tohomh123.com/yirenzhixia/205.html','205.不用杀(29P)',29,1557643408587),(262,11,'https://www.tohomh123.com/yirenzhixia/204.html','204.贵人之姿(25P)',25,1557643408591),(263,11,'https://www.tohomh123.com/yirenzhixia/203.html','203.大慈大悲手(24P)',24,1557643408595),(264,11,'https://www.tohomh123.com/yirenzhixia/202.html','抢红包要手快(26P)',26,1557643408599),(265,11,'https://www.tohomh123.com/yirenzhixia/201.html','201.临时工的真相(24P)',24,1557643408603),(266,11,'https://www.tohomh123.com/yirenzhixia/200.html','200.神机百炼(23P)',23,1557643408607),(267,11,'https://www.tohomh123.com/yirenzhixia/199.html','199.私人武装是犯法的(21P)',21,1557643408612),(268,11,'https://www.tohomh123.com/yirenzhixia/198.html','198 有事情找前台(29P)',29,1557643408617),(269,11,'https://www.tohomh123.com/yirenzhixia/197.html','197(27P)',27,1557643408622),(270,11,'https://www.tohomh123.com/yirenzhixia/196.html','196.化吾为王(18P)',18,1557643408626),(271,11,'https://www.tohomh123.com/yirenzhixia/195.html','195.怪胎(14P)',14,1557643408630),(272,11,'https://www.tohomh123.com/yirenzhixia/194.html','194.淘气的小桃园(18P)',18,1557643408634),(273,11,'https://www.tohomh123.com/yirenzhixia/193.html','193.姿势是由身体柔韧度决定的(20P)',20,1557643408638),(274,11,'https://www.tohomh123.com/yirenzhixia/192.html','192.有钱就是可以为所欲为(16P)',16,1557643408642),(275,11,'https://www.tohomh123.com/yirenzhixia/191.html','191归元阵(19P)',19,1557643408645),(276,11,'https://www.tohomh123.com/yirenzhixia/190.html','190.是板砖动的手(13P)',13,1557643408649),(277,11,'https://www.tohomh123.com/yirenzhixia/189.html','189.最后三个(21P)',21,1557643408654),(278,11,'https://www.tohomh123.com/yirenzhixia/188.html','188.都是惯匪(14P)',14,1557643408659),(279,11,'https://www.tohomh123.com/yirenzhixia/187.html','187.惯匪(17P)',17,1557643408667),(280,11,'https://www.tohomh123.com/yirenzhixia/186.html','186.入室(19P)',19,1557643408671),(281,11,'https://www.tohomh123.com/yirenzhixia/185.html','185.坑爹(16P)',16,1557643408677),(282,11,'https://www.tohomh123.com/yirenzhixia/184.html','184.没想到吧(16P)',16,1557643408681),(283,11,'https://www.tohomh123.com/yirenzhixia/183.html','183.天师度与守宫砂(20P)',20,1557643408687),(284,11,'https://www.tohomh123.com/yirenzhixia/182.html','182.你们都有的(20P)',20,1557643408692),(285,11,'https://www.tohomh123.com/yirenzhixia/181.html','181.专业且正规(18P)',18,1557643408696),(286,11,'https://www.tohomh123.com/yirenzhixia/180.html','180.好多诸葛(16P)',16,1557643408701),(287,11,'https://www.tohomh123.com/yirenzhixia/179.html','179.我们一起开公司吧(19P)',19,1557643408706),(288,11,'https://www.tohomh123.com/yirenzhixia/178.html','178.聚会(18P)',18,1557643408716),(289,11,'https://www.tohomh123.com/yirenzhixia/177.html','177.蓝色小药丸(17P)',17,1557643408722),(290,11,'https://www.tohomh123.com/yirenzhixia/176.html','176.北京欢迎你(20P)',20,1557643408727),(291,11,'https://www.tohomh123.com/yirenzhixia/175.html','175.戴孝(15P)',15,1557643408731),(292,11,'https://www.tohomh123.com/yirenzhixia/174.html','174.晚安(17P)',17,1557643408738),(293,11,'https://www.tohomh123.com/yirenzhixia/173.html','173.您的命,我背了(16P)',16,1557643408742),(294,11,'https://www.tohomh123.com/yirenzhixia/172.html','172.神满不思睡(15P)',15,1557643408747),(295,11,'https://www.tohomh123.com/yirenzhixia/171.html','171.全性龚庆(24P)',24,1557643408750),(296,11,'https://www.tohomh123.com/yirenzhixia/170.html','170.一波未平(19P)',19,1557643408755),(297,11,'https://www.tohomh123.com/yirenzhixia/169.html','169.不要相信卖惨的(18P)',18,1557643408760),(298,11,'https://www.tohomh123.com/yirenzhixia/168.html','168.打架的时候要卖惨(14P)',14,1557643408766),(299,11,'https://www.tohomh123.com/yirenzhixia/167.html','167.汇合(16P)',16,1557643408772),(300,11,'https://www.tohomh123.com/yirenzhixia/166.html','166.故人(18P)',18,1557643408776),(301,11,'https://www.tohomh123.com/yirenzhixia/165.html','165.女孩还是女士(15P)',15,1557643408780),(302,11,'https://www.tohomh123.com/yirenzhixia/164.html','164.活着本身就是奇迹(23P)',23,1557643408785),(303,11,'https://www.tohomh123.com/yirenzhixia/163.html','163.四个选择(19P)',19,1557643408788),(304,11,'https://www.tohomh123.com/yirenzhixia/162.html','162.决不妥协(16P)',16,1557643408793),(305,11,'https://www.tohomh123.com/yirenzhixia/161.html','161.可以杀吗?(20P)',20,1557643408797),(306,11,'https://www.tohomh123.com/yirenzhixia/160.html','160.净心咒(18P)',18,1557643408801),(307,11,'https://www.tohomh123.com/yirenzhixia/159.html','159.己不由心,身不由己(17P)',17,1557643408806),(308,11,'https://www.tohomh123.com/yirenzhixia/158.html','158.错了什么(17P)',17,1557643408811),(309,11,'https://www.tohomh123.com/yirenzhixia/157.html','157.愤怒与仇恨(17P)',17,1557643408816),(310,11,'https://www.tohomh123.com/yirenzhixia/156.html','156.十二劳情阵(16P)',16,1557643408821),(311,11,'https://www.tohomh123.com/yirenzhixia/155.html','155.不取一毫(14P)',14,1557643408825),(312,11,'https://www.tohomh123.com/yirenzhixia/154.html','154.不拔一毛(15P)',15,1557643408828),(313,11,'https://www.tohomh123.com/yirenzhixia/153.html','153.大闹龙虎山(13P)',13,1557643408832),(314,11,'https://www.tohomh123.com/yirenzhixia/152.html','152.仙人之姿(15P)',15,1557643408836),(315,11,'https://www.tohomh123.com/yirenzhixia/151.html','151.偷袭是没用的(16P)',16,1557643408843),(316,11,'https://www.tohomh123.com/yirenzhixia/150.html','150.打不过就撤(16P)',16,1557643408848),(317,11,'https://www.tohomh123.com/yirenzhixia/149.html','149.三一门与逆生三重(15P)',15,1557643408853),(318,11,'https://www.tohomh123.com/yirenzhixia/148.html','148.不要脸的确很轻松(13P)',13,1557643408858),(319,11,'https://www.tohomh123.com/yirenzhixia/147.html','147.炼器与化物(15P)',15,1557643408862),(320,11,'https://www.tohomh123.com/yirenzhixia/146.html','146.交战(13P)',13,1557643408868),(321,11,'https://www.tohomh123.com/yirenzhixia/145.html','145.想要?找我啊(13P)',13,1557643408873),(322,11,'https://www.tohomh123.com/yirenzhixia/144.html','144.天师度(12P)',12,1557643408877),(323,11,'https://www.tohomh123.com/yirenzhixia/143.html','143.五百块(11P)',11,1557643408881),(324,11,'https://www.tohomh123.com/yirenzhixia/142.html','142.相反的决定(19P)',19,1557643408886),(325,11,'https://www.tohomh123.com/yirenzhixia/141.html','141.天师的份量(13P)',13,1557643408890),(326,11,'https://www.tohomh123.com/yirenzhixia/140.html','140.那一晚(11P)',11,1557643408894),(327,11,'https://www.tohomh123.com/yirenzhixia/139.html','139.理想中完美的自己(13P)',13,1557643408897),(328,11,'https://www.tohomh123.com/yirenzhixia/138.html','138.小白长虫(15P)',15,1557643408902),(329,11,'https://www.tohomh123.com/yirenzhixia/137.html','137.十年空白期(16P)',16,1557643408907),(330,11,'https://www.tohomh123.com/yirenzhixia/136.html','136.猴与猪(18P)',18,1557643408911),(331,11,'https://www.tohomh123.com/yirenzhixia/135.html','135.迅雷(18P)',18,1557643408917),(332,11,'https://www.tohomh123.com/yirenzhixia/134.html','134.降宫与水脏(18P)',18,1557643408922),(333,11,'https://www.tohomh123.com/yirenzhixia/133.html','133.堂堂正正(13P)',13,1557643408926),(334,11,'https://www.tohomh123.com/yirenzhixia/132.html','132.决赛(13P)',13,1557643408931),(335,11,'https://www.tohomh123.com/yirenzhixia/131.html','131.无处可去(17P)',17,1557643408935),(336,11,'https://www.tohomh123.com/yirenzhixia/130.html','130.西方异人(11P)',11,1557643408940),(337,11,'https://www.tohomh123.com/yirenzhixia/129.html','129.大风车呀吱悠悠的转(13P)',13,1557643408944),(338,11,'https://www.tohomh123.com/yirenzhixia/128.html','128.奥斯卡影帝(11P)',11,1557643408949),(339,11,'https://www.tohomh123.com/yirenzhixia/127.html','127.卧薪尝胆(15P)',15,1557643408954),(340,11,'https://www.tohomh123.com/yirenzhixia/126.html','126.子仲爷爷(14P)',14,1557643408958),(341,11,'https://www.tohomh123.com/yirenzhixia/125.html','125.快走!(11P)',11,1557643408962),(342,11,'https://www.tohomh123.com/yirenzhixia/124.html','124.服灵(11P)',11,1557643408968),(343,11,'https://www.tohomh123.com/yirenzhixia/123.html','123.给我听话!(11P)',11,1557643408973),(344,11,'https://www.tohomh123.com/yirenzhixia/122.html','122.就不听话!(12P)',12,1557643408978),(345,11,'https://www.tohomh123.com/yirenzhixia/121.html','121.选择(13P)',13,1557643408982),(346,11,'https://www.tohomh123.com/yirenzhixia/120.html','120.常清静(12P)',12,1557643408987),(347,11,'https://www.tohomh123.com/yirenzhixia/119.html','119.大姐你看看周围!(14P)',14,1557643408992),(348,11,'https://www.tohomh123.com/yirenzhixia/118.html','118.拘灵遣将(12P)',12,1557643408996),(349,11,'https://www.tohomh123.com/yirenzhixia/117.html','117.来吧柳大爷!(14P)',14,1557643409001),(350,11,'https://www.tohomh123.com/yirenzhixia/116.html','116.唯手熟尔(12P)',12,1557643409007),(351,11,'https://www.tohomh123.com/yirenzhixia/115.html','115.一起埋了吧(12P)',12,1557643409012),(352,11,'https://www.tohomh123.com/yirenzhixia/114.html','114.要听爸妈的话(13P)',13,1557643409017),(353,11,'https://www.tohomh123.com/yirenzhixia/113.html','113.针锋相对(11P)',11,1557643409022),(354,11,'https://www.tohomh123.com/yirenzhixia/112.html','112.吕良(11P)',11,1557643409026),(355,11,'https://www.tohomh123.com/yirenzhixia/111.html','111.打架的时候别call(12P)',12,1557643409030),(356,11,'https://www.tohomh123.com/yirenzhixia/110.html','110.奇门格局(12P)',12,1557643409036),(357,11,'https://www.tohomh123.com/yirenzhixia/109.html','109.风后奇门(21P)',21,1557643409040),(358,11,'https://www.tohomh123.com/yirenzhixia/108.html','108.飞蛾扑火(11P)',11,1557643409044),(359,11,'https://www.tohomh123.com/yirenzhixia/107.html','107.术士(11P)',11,1557643409048),(360,11,'https://www.tohomh123.com/yirenzhixia/106.html','106.王也VS诸葛青(11P)',11,1557643409054),(361,11,'https://www.tohomh123.com/yirenzhixia/105.html','105.不动如山(11P)',11,1557643409058),(362,11,'https://www.tohomh123.com/yirenzhixia/104.html','104.连续中出(12P)',12,1557643409064),(363,11,'https://www.tohomh123.com/yirenzhixia/103.html','103.神莹内敛(12P)',12,1557643409070),(364,11,'https://www.tohomh123.com/yirenzhixia/102.html','102.冯宝宝VS萧宵(12P)',12,1557643409074),(365,11,'https://www.tohomh123.com/yirenzhixia/101.html','101.无耻并不等于无能(12P)',12,1557643409079),(366,11,'https://www.tohomh123.com/yirenzhixia/100.html','100.对阵唐文龙(12P)',12,1557643409084),(367,11,'https://www.tohomh123.com/yirenzhixia/99.html','99.龙虎山遛鸟(11P)',11,1557643409088),(368,11,'https://www.tohomh123.com/yirenzhixia/98.html','98.醉(9P)',9,1557643409093),(369,11,'https://www.tohomh123.com/yirenzhixia/97.html','97.篝火晚会(9P)',9,1557643409097),(370,11,'https://www.tohomh123.com/yirenzhixia/96.html','96.给我们看看你的xx吧(11P)',11,1557643409102),(371,11,'https://www.tohomh123.com/yirenzhixia/95.html','95.田师爷(11P)',11,1557643409107),(372,11,'https://www.tohomh123.com/yirenzhixia/94.html','94.你嘴最松,我嘴最严(11P)',11,1557643409112),(373,11,'https://www.tohomh123.com/yirenzhixia/93.html','93.三十六贼(11P)',11,1557643409117),(374,11,'https://www.tohomh123.com/yirenzhixia/92.html','92.达成共识(11P)',11,1557643409122),(375,11,'https://www.tohomh123.com/yirenzhixia/91.html','91.会谈(11P)',11,1557643409127),(376,11,'https://www.tohomh123.com/yirenzhixia/90.html','90.出阳神(11P)',11,1557643409131),(377,11,'https://www.tohomh123.com/yirenzhixia/89.html','89.曜星社(11P)',11,1557643409136),(378,11,'https://www.tohomh123.com/yirenzhixia/88.html','88.采访?(11P)',11,1557643409141),(379,11,'https://www.tohomh123.com/yirenzhixia/87.html','87.诸葛狐狸(11P)',11,1557643409145),(380,11,'https://www.tohomh123.com/yirenzhixia/86.html','86.武侯奇门(11P)',11,1557643409149),(381,11,'https://www.tohomh123.com/yirenzhixia/85.html','85.小火神VS诸葛青(11P)',11,1557643409154),(382,11,'https://www.tohomh123.com/yirenzhixia/84.html','84.吕良的过去?(11P)',11,1557643409159),(383,11,'https://www.tohomh123.com/yirenzhixia/83.html','83.老和尚又是你(11P)',11,1557643409164),(384,11,'https://www.tohomh123.com/yirenzhixia/82.html','82.芳草天(12P)',12,1557643409168),(385,11,'https://www.tohomh123.com/yirenzhixia/81.html','81.无色之炁(11P)',11,1557643409172),(386,11,'https://www.tohomh123.com/yirenzhixia/80.html','80.流彩虹(11P)',11,1557643409176),(387,11,'https://www.tohomh123.com/yirenzhixia/79.html','79.冯宝宝VS王二狗(11P)',11,1557643409180),(388,11,'https://www.tohomh123.com/yirenzhixia/78.html','78.太极(11P)',11,1557643409184),(389,11,'https://www.tohomh123.com/yirenzhixia/77.html','77.王也VS铁马骝(13P)',13,1557643409187),(390,11,'https://www.tohomh123.com/yirenzhixia/76.html','76.冰雪女神玲珑大人!(13P)',13,1557643409191),(391,11,'https://www.tohomh123.com/yirenzhixia/75.html','75.机智的一逼(13P)',13,1557643409194),(392,11,'https://www.tohomh123.com/yirenzhixia/74.html','74.小师叔嫉妒我?(13P)',13,1557643409198),(393,11,'https://www.tohomh123.com/yirenzhixia/73.html','73.斩仙飞刀(15P)',15,1557643409201),(394,11,'https://www.tohomh123.com/yirenzhixia/72.html','72.田野埋麒麟(13P)',13,1557643409205),(395,11,'https://www.tohomh123.com/yirenzhixia/71.html','71.风(15P)',15,1557643409209),(396,11,'https://www.tohomh123.com/yirenzhixia/70.html','70.强者的尊严?(13P)',13,1557643409215),(397,11,'https://www.tohomh123.com/yirenzhixia/69.html','69.干翻苍穹!(14P)',14,1557643409221),(398,11,'https://www.tohomh123.com/yirenzhixia/68.html','68.爱的教育(11P)',11,1557643409225),(399,11,'https://www.tohomh123.com/yirenzhixia/67.html','67.罗天大醮(11P)',11,1557643409229),(400,11,'https://www.tohomh123.com/yirenzhixia/66.html','66.万众瞩目(12P)',12,1557643409233),(401,11,'https://www.tohomh123.com/yirenzhixia/65.html','65.各显神通(11P)',11,1557643409238),(402,11,'https://www.tohomh123.com/yirenzhixia/64.html','64.天师继承与真相(11P)',11,1557643409242),(403,11,'https://www.tohomh123.com/yirenzhixia/63.html','63.前往龙虎山(14P)',14,1557643409246),(404,11,'https://www.tohomh123.com/yirenzhixia/62.html','62.诸葛青(11P)',11,1557643409249),(405,11,'https://www.tohomh123.com/yirenzhixia/61.html','61.雷烟炮(11P)',11,1557643409253),(406,11,'https://www.tohomh123.com/yirenzhixia/60.html','60.阿威十八式(11P)',11,1557643409257),(407,11,'https://www.tohomh123.com/yirenzhixia/59.html','59.命运(10P)',10,1557643409260),(408,11,'https://www.tohomh123.com/yirenzhixia/58.html','58.通天箓(11P)',11,1557643409266),(409,11,'https://www.tohomh123.com/yirenzhixia/57.html','57.留在你身边(12P)',12,1557643409270),(410,11,'https://www.tohomh123.com/yirenzhixia/56.html','56.还想照顾你(15P)',15,1557643409275),(411,11,'https://www.tohomh123.com/yirenzhixia/55.html','55.张锡林之死(18P)',18,1557643409279),(412,11,'https://www.tohomh123.com/yirenzhixia/54.html','54.异动(13P)',13,1557643409284),(413,11,'https://www.tohomh123.com/yirenzhixia/53.html','53.话头太难(16P)',16,1557643409288),(414,11,'https://www.tohomh123.com/yirenzhixia/52.html','52.认识的人(14P)',14,1557643409292),(415,11,'https://www.tohomh123.com/yirenzhixia/51.html','51.极品(12P)',12,1557643409296),(416,11,'https://www.tohomh123.com/yirenzhixia/50.html','50.入世(12P)',12,1557643409300),(417,11,'https://www.tohomh123.com/yirenzhixia/49.html','49.我也有的(11P)',11,1557643409303),(418,11,'https://www.tohomh123.com/yirenzhixia/48.html','48.怪物(12P)',12,1557643409307),(419,11,'https://www.tohomh123.com/yirenzhixia/47.html','47.全灭(10P)',10,1557643409310),(420,11,'https://www.tohomh123.com/yirenzhixia/46.html','46.杀戮(12P)',12,1557643409315),(421,11,'https://www.tohomh123.com/yirenzhixia/45.html','45.喜欢是什么(11P)',11,1557643409319),(422,11,'https://www.tohomh123.com/yirenzhixia/44.html','44.提亲(12P)',12,1557643409323),(423,11,'https://www.tohomh123.com/yirenzhixia/43.html','43.阿无(11P)',11,1557643409327),(424,11,'https://www.tohomh123.com/yirenzhixia/42.html','42.苏醒(12P)',12,1557643409331),(425,11,'https://www.tohomh123.com/yirenzhixia/41.html','41.凶手(15P)',15,1557643409335),(426,11,'https://www.tohomh123.com/yirenzhixia/40.html','40.大魔王(11P)',11,1557643409338),(427,11,'https://www.tohomh123.com/yirenzhixia/39.html','39.跟踪(11P)',11,1557643409342),(428,11,'https://www.tohomh123.com/yirenzhixia/38.html','38.刮骨刀(15P)',15,1557643409345),(429,11,'https://www.tohomh123.com/yirenzhixia/37.html','37.异人(15P)',15,1557643409348),(430,11,'https://www.tohomh123.com/yirenzhixia/36.html','36.一根筋(16P)',16,1557643409352),(431,11,'https://www.tohomh123.com/yirenzhixia/35.html','35.再会(14P)',14,1557643409356),(432,11,'https://www.tohomh123.com/yirenzhixia/34.html','34.打赌(15P)',15,1557643409359),(433,11,'https://www.tohomh123.com/yirenzhixia/33.html','33.大师对小妞(14P)',14,1557643409364),(434,11,'https://www.tohomh123.com/yirenzhixia/32.html','32.做人不能太坦率(15P)',15,1557643409369),(435,11,'https://www.tohomh123.com/yirenzhixia/31.html','31.理解万岁(14P)',14,1557643409374),(436,11,'https://www.tohomh123.com/yirenzhixia/30.html','30.三四的美学(15P)',15,1557643409378),(437,11,'https://www.tohomh123.com/yirenzhixia/29.html','29.八奇技(15P)',15,1557643409382),(438,11,'https://www.tohomh123.com/yirenzhixia/28.html','28.好感度减10(17P)',17,1557643409387),(439,11,'https://www.tohomh123.com/yirenzhixia/27.html','27.好感度加1(17P)',17,1557643409391),(440,11,'https://www.tohomh123.com/yirenzhixia/26.html','26.因为我有个姐姐……(12P)',12,1557643409395),(441,11,'https://www.tohomh123.com/yirenzhixia/25.html','25.师叔我不好欺负!(13P)',13,1557643409398),(442,11,'https://www.tohomh123.com/yirenzhixia/24.html','24.师叔欺负人!(13P)',13,1557643409402),(443,11,'https://www.tohomh123.com/yirenzhixia/23.html','23.风莎燕(13P)',13,1557643409405),(444,11,'https://www.tohomh123.com/yirenzhixia/22.html','22.金光咒(13P)',13,1557643409409),(445,11,'https://www.tohomh123.com/yirenzhixia/21.html','21.好工作不易找,易找的…(13P)',13,1557643409413),(446,11,'https://www.tohomh123.com/yirenzhixia/20.html','20.遗产(13P)',13,1557643409418),(447,11,'https://www.tohomh123.com/yirenzhixia/19.html','19.全性(10P)',10,1557643409423),(448,11,'https://www.tohomh123.com/yirenzhixia/18.html','18.新世界的大门(9P)',9,1557643409426),(449,11,'https://www.tohomh123.com/yirenzhixia/17.html','17.正义的补刀……(10P)',10,1557643409430),(450,11,'https://www.tohomh123.com/yirenzhixia/16.html','16.正义必将战胜邪恶!(10P)',10,1557643409435),(451,11,'https://www.tohomh123.com/yirenzhixia/15.html','15.离谱的绑匪和营救者(13P)',13,1557643409439),(452,11,'https://www.tohomh123.com/yirenzhixia/14.html','14.大家都想要我的肾么?(13P)',13,1557643409443),(453,11,'https://www.tohomh123.com/yirenzhixia/13.html','13.卧槽,又被运气套住了!(12P)',12,1557643409447),(454,11,'https://www.tohomh123.com/yirenzhixia/12.html','12.强力反弹中!(10P)',10,1557643409450),(455,11,'https://www.tohomh123.com/yirenzhixia/11.html','11.运气的触底反弹(10P)',10,1557643409454),(456,11,'https://www.tohomh123.com/yirenzhixia/10.html','10.恶劣的开始也算开始(10P)',10,1557643409458),(457,11,'https://www.tohomh123.com/yirenzhixia/9.html','9.遗体(10P)',10,1557643409462),(458,11,'https://www.tohomh123.com/yirenzhixia/8.html','8.同类(9P)',9,1557643409467),(459,11,'https://www.tohomh123.com/yirenzhixia/7.html','7.张楚岚2(9P)',9,1557643409470),(460,11,'https://www.tohomh123.com/yirenzhixia/6.html','6.张楚岚1(10P)',10,1557643409474),(461,11,'https://www.tohomh123.com/yirenzhixia/5.html','5.愉快的会面(8P)',8,1557643409478),(462,11,'https://www.tohomh123.com/yirenzhixia/4.html','4.大学快成义务教育了(9P)',9,1557643409481),(463,11,'https://www.tohomh123.com/yirenzhixia/3.html','3.一大波丧尸(9P)',9,1557643409485),(464,11,'https://www.tohomh123.com/yirenzhixia/2.html','2.姐姐2(18P)',18,1557643409489),(465,11,'https://www.tohomh123.com/yirenzhixia/1.html','1.姐姐1(18P)',18,1557643409492),(466,11,'https://www.tohomh123.com/yirenzhixia/1.html','1.姐姐1(18P)\n ',18,1557643409496),(467,11,'https://www.tohomh123.com/yirenzhixia/2.html','2.姐姐2(18P)\n ',18,1557643409500),(468,11,'https://www.tohomh123.com/yirenzhixia/3.html','3.一大波丧尸(9P)\n ',9,1557643409505),(469,11,'https://www.tohomh123.com/yirenzhixia/4.html','4.大学快成义务教育了(9P)\n ',9,1557643409509),(470,11,'https://www.tohomh123.com/yirenzhixia/5.html','5.愉快的会面(8P)\n ',8,1557643409512),(471,11,'https://www.tohomh123.com/yirenzhixia/6.html','6.张楚岚1(10P)\n ',10,1557643409518),(472,11,'https://www.tohomh123.com/yirenzhixia/7.html','7.张楚岚2(9P)\n ',9,1557643409522),(473,11,'https://www.tohomh123.com/yirenzhixia/8.html','8.同类(9P)\n ',9,1557643409526),(474,11,'https://www.tohomh123.com/yirenzhixia/9.html','9.遗体(10P)\n ',10,1557643409530),(475,11,'https://www.tohomh123.com/yirenzhixia/10.html','10.恶劣的开始也算开始(10P)\n ',10,1557643409534),(476,11,'https://www.tohomh123.com/yirenzhixia/11.html','11.运气的触底反弹(10P)\n ',10,1557643409538),(477,11,'https://www.tohomh123.com/yirenzhixia/12.html','12.强力反弹中!(10P)\n ',10,1557643409542),(478,11,'https://www.tohomh123.com/yirenzhixia/13.html','13.卧槽,又被运气套住了!(12P)\n ',12,1557643409545),(479,11,'https://www.tohomh123.com/yirenzhixia/14.html','14.大家都想要我的肾么?(13P)\n ',13,1557643409549),(480,11,'https://www.tohomh123.com/yirenzhixia/15.html','15.离谱的绑匪和营救者(13P)\n ',13,1557643409553),(481,11,'https://www.tohomh123.com/yirenzhixia/16.html','16.正义必将战胜邪恶!(10P)\n ',10,1557643409557),(482,11,'https://www.tohomh123.com/yirenzhixia/17.html','17.正义的补刀……(10P)\n ',10,1557643409560),(483,11,'https://www.tohomh123.com/yirenzhixia/18.html','18.新世界的大门(9P)\n ',9,1557643409570),(484,11,'https://www.tohomh123.com/yirenzhixia/19.html','19.全性(10P)\n ',10,1557643409575),(485,11,'https://www.tohomh123.com/yirenzhixia/20.html','20.遗产(13P)\n ',13,1557643409579),(486,11,'https://www.tohomh123.com/yirenzhixia/21.html','21.好工作不易找,易找的…(13P)\n ',13,1557643409584),(487,11,'https://www.tohomh123.com/yirenzhixia/22.html','22.金光咒(13P)\n ',13,1557643409587),(488,11,'https://www.tohomh123.com/yirenzhixia/23.html','23.风莎燕(13P)\n ',13,1557643409591),(489,11,'https://www.tohomh123.com/yirenzhixia/24.html','24.师叔欺负人!(13P)\n ',13,1557643409594),(490,11,'https://www.tohomh123.com/yirenzhixia/25.html','25.师叔我不好欺负!(13P)\n ',13,1557643409598),(491,11,'https://www.tohomh123.com/yirenzhixia/26.html','26.因为我有个姐姐……(12P)\n ',12,1557643409602),(492,11,'https://www.tohomh123.com/yirenzhixia/27.html','27.好感度加1(17P)\n ',17,1557643409606),(493,11,'https://www.tohomh123.com/yirenzhixia/28.html','28.好感度减10(17P)\n ',17,1557643409609),(494,11,'https://www.tohomh123.com/yirenzhixia/29.html','29.八奇技(15P)\n ',15,1557643409614),(495,11,'https://www.tohomh123.com/yirenzhixia/30.html','30.三四的美学(15P)\n ',15,1557643409619),(496,11,'https://www.tohomh123.com/yirenzhixia/31.html','31.理解万岁(14P)\n ',14,1557643409623),(497,11,'https://www.tohomh123.com/yirenzhixia/32.html','32.做人不能太坦率(15P)\n ',15,1557643409627),(498,11,'https://www.tohomh123.com/yirenzhixia/33.html','33.大师对小妞(14P)\n ',14,1557643409631),(499,11,'https://www.tohomh123.com/yirenzhixia/34.html','34.打赌(15P)\n ',15,1557643409635),(500,11,'https://www.tohomh123.com/yirenzhixia/35.html','35.再会(14P)\n ',14,1557643409640),(501,11,'https://www.tohomh123.com/yirenzhixia/36.html','36.一根筋(16P)\n ',16,1557643409644),(502,11,'https://www.tohomh123.com/yirenzhixia/37.html','37.异人(15P)\n ',15,1557643409647),(503,11,'https://www.tohomh123.com/yirenzhixia/38.html','38.刮骨刀(15P)\n ',15,1557643409651),(504,11,'https://www.tohomh123.com/yirenzhixia/39.html','39.跟踪(11P)\n ',11,1557643409655),(505,11,'https://www.tohomh123.com/yirenzhixia/40.html','40.大魔王(11P)\n ',11,1557643409658),(506,11,'https://www.tohomh123.com/yirenzhixia/41.html','41.凶手(15P)\n ',15,1557643409663),(507,11,'https://www.tohomh123.com/yirenzhixia/42.html','42.苏醒(12P)\n ',12,1557643409670),(508,11,'https://www.tohomh123.com/yirenzhixia/43.html','43.阿无(11P)\n ',11,1557643409674),(509,11,'https://www.tohomh123.com/yirenzhixia/44.html','44.提亲(12P)\n ',12,1557643409678),(510,11,'https://www.tohomh123.com/yirenzhixia/45.html','45.喜欢是什么(11P)\n ',11,1557643409682),(511,11,'https://www.tohomh123.com/yirenzhixia/46.html','46.杀戮(12P)\n ',12,1557643409685),(512,11,'https://www.tohomh123.com/yirenzhixia/47.html','47.全灭(10P)\n ',10,1557643409689),(513,11,'https://www.tohomh123.com/yirenzhixia/48.html','48.怪物(12P)\n ',12,1557643409692),(514,11,'https://www.tohomh123.com/yirenzhixia/49.html','49.我也有的(11P)\n ',11,1557643409697),(515,11,'https://www.tohomh123.com/yirenzhixia/50.html','50.入世(12P)\n ',12,1557643409701),(516,11,'https://www.tohomh123.com/yirenzhixia/51.html','51.极品(12P)\n ',12,1557643409705),(517,11,'https://www.tohomh123.com/yirenzhixia/52.html','52.认识的人(14P)\n ',14,1557643409709),(518,11,'https://www.tohomh123.com/yirenzhixia/53.html','53.话头太难(16P)\n ',16,1557643409715),(519,11,'https://www.tohomh123.com/yirenzhixia/54.html','54.异动(13P)\n ',13,1557643409719),(520,11,'https://www.tohomh123.com/yirenzhixia/55.html','55.张锡林之死(18P)\n ',18,1557643409723),(521,11,'https://www.tohomh123.com/yirenzhixia/56.html','56.还想照顾你(15P)\n ',15,1557643409726),(522,11,'https://www.tohomh123.com/yirenzhixia/57.html','57.留在你身边(12P)\n ',12,1557643409731),(523,11,'https://www.tohomh123.com/yirenzhixia/58.html','58.通天箓(11P)\n ',11,1557643409735),(524,11,'https://www.tohomh123.com/yirenzhixia/59.html','59.命运(10P)\n ',10,1557643409738),(525,11,'https://www.tohomh123.com/yirenzhixia/60.html','60.阿威十八式(11P)\n ',11,1557643409742),(526,11,'https://www.tohomh123.com/yirenzhixia/61.html','61.雷烟炮(11P)\n ',11,1557643409745),(527,11,'https://www.tohomh123.com/yirenzhixia/62.html','62.诸葛青(11P)\n ',11,1557643409749),(528,11,'https://www.tohomh123.com/yirenzhixia/63.html','63.前往龙虎山(14P)\n ',14,1557643409753),(529,11,'https://www.tohomh123.com/yirenzhixia/64.html','64.天师继承与真相(11P)\n ',11,1557643409758),(530,11,'https://www.tohomh123.com/yirenzhixia/65.html','65.各显神通(11P)\n ',11,1557643409764),(531,11,'https://www.tohomh123.com/yirenzhixia/66.html','66.万众瞩目(12P)\n ',12,1557643409769),(532,11,'https://www.tohomh123.com/yirenzhixia/67.html','67.罗天大醮(11P)\n ',11,1557643409773),(533,11,'https://www.tohomh123.com/yirenzhixia/68.html','68.爱的教育(11P)\n ',11,1557643409777),(534,11,'https://www.tohomh123.com/yirenzhixia/69.html','69.干翻苍穹!(14P)\n ',14,1557643409781),(535,11,'https://www.tohomh123.com/yirenzhixia/70.html','70.强者的尊严?(13P)\n ',13,1557643409785),(536,11,'https://www.tohomh123.com/yirenzhixia/71.html','71.风(15P)\n ',15,1557643409789),(537,11,'https://www.tohomh123.com/yirenzhixia/72.html','72.田野埋麒麟(13P)\n ',13,1557643409792),(538,11,'https://www.tohomh123.com/yirenzhixia/73.html','73.斩仙飞刀(15P)\n ',15,1557643409795),(539,11,'https://www.tohomh123.com/yirenzhixia/74.html','74.小师叔嫉妒我?(13P)\n ',13,1557643409799),(540,11,'https://www.tohomh123.com/yirenzhixia/75.html','75.机智的一逼(13P)\n ',13,1557643409803),(541,11,'https://www.tohomh123.com/yirenzhixia/76.html','76.冰雪女神玲珑大人!(13P)\n ',13,1557643409806),(542,11,'https://www.tohomh123.com/yirenzhixia/77.html','77.王也VS铁马骝(13P)\n ',13,1557643409810),(543,11,'https://www.tohomh123.com/yirenzhixia/78.html','78.太极(11P)\n ',11,1557643409815),(544,11,'https://www.tohomh123.com/yirenzhixia/79.html','79.冯宝宝VS王二狗(11P)\n ',11,1557643409820),(545,11,'https://www.tohomh123.com/yirenzhixia/80.html','80.流彩虹(11P)\n ',11,1557643409824),(546,11,'https://www.tohomh123.com/yirenzhixia/81.html','81.无色之炁(11P)\n ',11,1557643409828),(547,11,'https://www.tohomh123.com/yirenzhixia/82.html','82.芳草天(12P)\n ',12,1557643409832),(548,11,'https://www.tohomh123.com/yirenzhixia/83.html','83.老和尚又是你(11P)\n ',11,1557643409836),(549,11,'https://www.tohomh123.com/yirenzhixia/84.html','84.吕良的过去?(11P)\n ',11,1557643409840),(550,11,'https://www.tohomh123.com/yirenzhixia/85.html','85.小火神VS诸葛青(11P)\n ',11,1557643409844),(551,11,'https://www.tohomh123.com/yirenzhixia/86.html','86.武侯奇门(11P)\n ',11,1557643409848),(552,11,'https://www.tohomh123.com/yirenzhixia/87.html','87.诸葛狐狸(11P)\n ',11,1557643409852),(553,11,'https://www.tohomh123.com/yirenzhixia/88.html','88.采访?(11P)\n ',11,1557643409856),(554,11,'https://www.tohomh123.com/yirenzhixia/89.html','89.曜星社(11P)\n ',11,1557643409860),(555,11,'https://www.tohomh123.com/yirenzhixia/90.html','90.出阳神(11P)\n ',11,1557643409865),(556,11,'https://www.tohomh123.com/yirenzhixia/91.html','91.会谈(11P)\n ',11,1557643409869),(557,11,'https://www.tohomh123.com/yirenzhixia/92.html','92.达成共识(11P)\n ',11,1557643409873),(558,11,'https://www.tohomh123.com/yirenzhixia/93.html','93.三十六贼(11P)\n ',11,1557643409877),(559,11,'https://www.tohomh123.com/yirenzhixia/94.html','94.你嘴最松,我嘴最严(11P)\n ',11,1557643409881),(560,11,'https://www.tohomh123.com/yirenzhixia/95.html','95.田师爷(11P)\n ',11,1557643409885),(561,11,'https://www.tohomh123.com/yirenzhixia/96.html','96.给我们看看你的xx吧(11P)\n ',11,1557643409888),(562,11,'https://www.tohomh123.com/yirenzhixia/97.html','97.篝火晚会(9P)\n ',9,1557643409892),(563,11,'https://www.tohomh123.com/yirenzhixia/98.html','98.醉(9P)\n ',9,1557643409895),(564,11,'https://www.tohomh123.com/yirenzhixia/99.html','99.龙虎山遛鸟(11P)\n ',11,1557643409898),(565,11,'https://www.tohomh123.com/yirenzhixia/100.html','100.对阵唐文龙(12P)\n ',12,1557643409903),(566,11,'https://www.tohomh123.com/yirenzhixia/101.html','101.无耻并不等于无能(12P)\n ',12,1557643409907),(567,11,'https://www.tohomh123.com/yirenzhixia/102.html','102.冯宝宝VS萧宵(12P)\n ',12,1557643409912),(568,11,'https://www.tohomh123.com/yirenzhixia/103.html','103.神莹内敛(12P)\n ',12,1557643409917),(569,11,'https://www.tohomh123.com/yirenzhixia/104.html','104.连续中出(12P)\n ',12,1557643409922),(570,11,'https://www.tohomh123.com/yirenzhixia/105.html','105.不动如山(11P)\n ',11,1557643409926),(571,11,'https://www.tohomh123.com/yirenzhixia/106.html','106.王也VS诸葛青(11P)\n ',11,1557643409929),(572,11,'https://www.tohomh123.com/yirenzhixia/107.html','107.术士(11P)\n ',11,1557643409933),(573,11,'https://www.tohomh123.com/yirenzhixia/108.html','108.飞蛾扑火(11P)\n ',11,1557643409936),(574,11,'https://www.tohomh123.com/yirenzhixia/109.html','109.风后奇门(21P)\n ',21,1557643409940),(575,11,'https://www.tohomh123.com/yirenzhixia/110.html','110.奇门格局(12P)\n ',12,1557643409944),(576,11,'https://www.tohomh123.com/yirenzhixia/111.html','111.打架的时候别call(12P)\n ',12,1557643409947),(577,11,'https://www.tohomh123.com/yirenzhixia/112.html','112.吕良(11P)\n ',11,1557643409951),(578,11,'https://www.tohomh123.com/yirenzhixia/113.html','113.针锋相对(11P)\n ',11,1557643409955),(579,11,'https://www.tohomh123.com/yirenzhixia/114.html','114.要听爸妈的话(13P)\n ',13,1557643409958),(580,11,'https://www.tohomh123.com/yirenzhixia/115.html','115.一起埋了吧(12P)\n ',12,1557643409962),(581,11,'https://www.tohomh123.com/yirenzhixia/116.html','116.唯手熟尔(12P)\n ',12,1557643409967),(582,11,'https://www.tohomh123.com/yirenzhixia/117.html','117.来吧柳大爷!(14P)\n ',14,1557643409971),(583,11,'https://www.tohomh123.com/yirenzhixia/118.html','118.拘灵遣将(12P)\n ',12,1557643409974),(584,11,'https://www.tohomh123.com/yirenzhixia/119.html','119.大姐你看看周围!(14P)\n ',14,1557643409978),(585,11,'https://www.tohomh123.com/yirenzhixia/120.html','120.常清静(12P)\n ',12,1557643409981),(586,11,'https://www.tohomh123.com/yirenzhixia/121.html','121.选择(13P)\n ',13,1557643409985),(587,11,'https://www.tohomh123.com/yirenzhixia/122.html','122.就不听话!(12P)\n ',12,1557643409990),(588,11,'https://www.tohomh123.com/yirenzhixia/123.html','123.给我听话!(11P)\n ',11,1557643409994),(589,11,'https://www.tohomh123.com/yirenzhixia/124.html','124.服灵(11P)\n ',11,1557643409998),(590,11,'https://www.tohomh123.com/yirenzhixia/125.html','125.快走!(11P)\n ',11,1557643410002),(591,11,'https://www.tohomh123.com/yirenzhixia/126.html','126.子仲爷爷(14P)\n ',14,1557643410006),(592,11,'https://www.tohomh123.com/yirenzhixia/127.html','127.卧薪尝胆(15P)\n ',15,1557643410009),(593,11,'https://www.tohomh123.com/yirenzhixia/128.html','128.奥斯卡影帝(11P)\n ',11,1557643410013),(594,11,'https://www.tohomh123.com/yirenzhixia/129.html','129.大风车呀吱悠悠的转(13P)\n ',13,1557643410018),(595,11,'https://www.tohomh123.com/yirenzhixia/130.html','130.西方异人(11P)\n ',11,1557643410022),(596,11,'https://www.tohomh123.com/yirenzhixia/131.html','131.无处可去(17P)\n ',17,1557643410026),(597,11,'https://www.tohomh123.com/yirenzhixia/132.html','132.决赛(13P)\n ',13,1557643410030),(598,11,'https://www.tohomh123.com/yirenzhixia/133.html','133.堂堂正正(13P)\n ',13,1557643410035),(599,11,'https://www.tohomh123.com/yirenzhixia/134.html','134.降宫与水脏(18P)\n ',18,1557643410040),(600,11,'https://www.tohomh123.com/yirenzhixia/135.html','135.迅雷(18P)\n ',18,1557643410044),(601,11,'https://www.tohomh123.com/yirenzhixia/136.html','136.猴与猪(18P)\n ',18,1557643410047),(602,11,'https://www.tohomh123.com/yirenzhixia/137.html','137.十年空白期(16P)\n ',16,1557643410051),(603,11,'https://www.tohomh123.com/yirenzhixia/138.html','138.小白长虫(15P)\n ',15,1557643410055),(604,11,'https://www.tohomh123.com/yirenzhixia/139.html','139.理想中完美的自己(13P)\n ',13,1557643410058),(605,11,'https://www.tohomh123.com/yirenzhixia/140.html','140.那一晚(11P)\n ',11,1557643410062),(606,11,'https://www.tohomh123.com/yirenzhixia/141.html','141.天师的份量(13P)\n ',13,1557643410068),(607,11,'https://www.tohomh123.com/yirenzhixia/142.html','142.相反的决定(19P)\n ',19,1557643410074),(608,11,'https://www.tohomh123.com/yirenzhixia/143.html','143.五百块(11P)\n ',11,1557643410078),(609,11,'https://www.tohomh123.com/yirenzhixia/144.html','144.天师度(12P)\n ',12,1557643410082),(610,11,'https://www.tohomh123.com/yirenzhixia/145.html','145.想要?找我啊(13P)\n ',13,1557643410085),(611,11,'https://www.tohomh123.com/yirenzhixia/146.html','146.交战(13P)\n ',13,1557643410089),(612,11,'https://www.tohomh123.com/yirenzhixia/147.html','147.炼器与化物(15P)\n ',15,1557643410093),(613,11,'https://www.tohomh123.com/yirenzhixia/148.html','148.不要脸的确很轻松(13P)\n ',13,1557643410096),(614,11,'https://www.tohomh123.com/yirenzhixia/149.html','149.三一门与逆生三重(15P)\n ',15,1557643410100),(615,11,'https://www.tohomh123.com/yirenzhixia/150.html','150.打不过就撤(16P)\n ',16,1557643410104),(616,11,'https://www.tohomh123.com/yirenzhixia/151.html','151.偷袭是没用的(16P)\n ',16,1557643410107),(617,11,'https://www.tohomh123.com/yirenzhixia/152.html','152.仙人之姿(15P)\n ',15,1557643410111),(618,11,'https://www.tohomh123.com/yirenzhixia/153.html','153.大闹龙虎山(13P)\n ',13,1557643410116),(619,11,'https://www.tohomh123.com/yirenzhixia/154.html','154.不拔一毛(15P)\n ',15,1557643410120),(620,11,'https://www.tohomh123.com/yirenzhixia/155.html','155.不取一毫(14P)\n ',14,1557643410124),(621,11,'https://www.tohomh123.com/yirenzhixia/156.html','156.十二劳情阵(16P)\n ',16,1557643410127),(622,11,'https://www.tohomh123.com/yirenzhixia/157.html','157.愤怒与仇恨(17P)\n ',17,1557643410131),(623,11,'https://www.tohomh123.com/yirenzhixia/158.html','158.错了什么(17P)\n ',17,1557643410135),(624,11,'https://www.tohomh123.com/yirenzhixia/159.html','159.己不由心,身不由己(17P)\n ',17,1557643410140),(625,11,'https://www.tohomh123.com/yirenzhixia/160.html','160.净心咒(18P)\n ',18,1557643410144),(626,11,'https://www.tohomh123.com/yirenzhixia/161.html','161.可以杀吗?(20P)\n ',20,1557643410148),(627,11,'https://www.tohomh123.com/yirenzhixia/162.html','162.决不妥协(16P)\n ',16,1557643410152),(628,11,'https://www.tohomh123.com/yirenzhixia/163.html','163.四个选择(19P)\n ',19,1557643410156),(629,11,'https://www.tohomh123.com/yirenzhixia/164.html','164.活着本身就是奇迹(23P)\n ',23,1557643410159),(630,11,'https://www.tohomh123.com/yirenzhixia/165.html','165.女孩还是女士(15P)\n ',15,1557643410163),(631,11,'https://www.tohomh123.com/yirenzhixia/166.html','166.故人(18P)\n ',18,1557643410171),(632,11,'https://www.tohomh123.com/yirenzhixia/167.html','167.汇合(16P)\n ',16,1557643410177),(633,11,'https://www.tohomh123.com/yirenzhixia/168.html','168.打架的时候要卖惨(14P)\n ',14,1557643410181),(634,11,'https://www.tohomh123.com/yirenzhixia/169.html','169.不要相信卖惨的(18P)\n ',18,1557643410185),(635,11,'https://www.tohomh123.com/yirenzhixia/170.html','170.一波未平(19P)\n ',19,1557643410189),(636,11,'https://www.tohomh123.com/yirenzhixia/171.html','171.全性龚庆(24P)\n ',24,1557643410194),(637,11,'https://www.tohomh123.com/yirenzhixia/172.html','172.神满不思睡(15P)\n ',15,1557643410198),(638,11,'https://www.tohomh123.com/yirenzhixia/173.html','173.您的命,我背了(16P)\n ',16,1557643410202),(639,11,'https://www.tohomh123.com/yirenzhixia/174.html','174.晚安(17P)\n ',17,1557643410206),(640,11,'https://www.tohomh123.com/yirenzhixia/175.html','175.戴孝(15P)\n ',15,1557643410209),(641,11,'https://www.tohomh123.com/yirenzhixia/176.html','176.北京欢迎你(20P)\n ',20,1557643410215),(642,11,'https://www.tohomh123.com/yirenzhixia/177.html','177.蓝色小药丸(17P)\n ',17,1557643410219),(643,11,'https://www.tohomh123.com/yirenzhixia/178.html','178.聚会(18P)\n ',18,1557643410223),(644,11,'https://www.tohomh123.com/yirenzhixia/179.html','179.我们一起开公司吧(19P)\n ',19,1557643410227),(645,11,'https://www.tohomh123.com/yirenzhixia/180.html','180.好多诸葛(16P)\n ',16,1557643410231),(646,11,'https://www.tohomh123.com/yirenzhixia/181.html','181.专业且正规(18P)\n ',18,1557643410235),(647,11,'https://www.tohomh123.com/yirenzhixia/182.html','182.你们都有的(20P)\n ',20,1557643410238),(648,11,'https://www.tohomh123.com/yirenzhixia/183.html','183.天师度与守宫砂(20P)\n ',20,1557643410241),(649,11,'https://www.tohomh123.com/yirenzhixia/184.html','184.没想到吧(16P)\n ',16,1557643410246),(650,11,'https://www.tohomh123.com/yirenzhixia/185.html','185.坑爹(16P)\n ',16,1557643410250),(651,11,'https://www.tohomh123.com/yirenzhixia/186.html','186.入室(19P)\n ',19,1557643410255),(652,11,'https://www.tohomh123.com/yirenzhixia/187.html','187.惯匪(17P)\n ',17,1557643410259),(653,11,'https://www.tohomh123.com/yirenzhixia/188.html','188.都是惯匪(14P)\n ',14,1557643410265),(654,11,'https://www.tohomh123.com/yirenzhixia/189.html','189.最后三个(21P)\n ',21,1557643410269),(655,11,'https://www.tohomh123.com/yirenzhixia/190.html','190.是板砖动的手(13P)\n ',13,1557643410273),(656,11,'https://www.tohomh123.com/yirenzhixia/191.html','191归元阵(19P)\n ',19,1557643410277),(657,11,'https://www.tohomh123.com/yirenzhixia/192.html','192.有钱就是可以为所欲为(16P)\n ',16,1557643410281),(658,11,'https://www.tohomh123.com/yirenzhixia/193.html','193.姿势是由身体柔韧度决定的(20P)\n ',20,1557643410285),(659,11,'https://www.tohomh123.com/yirenzhixia/194.html','194.淘气的小桃园(18P)\n ',18,1557643410288),(660,11,'https://www.tohomh123.com/yirenzhixia/195.html','195.怪胎(14P)\n ',14,1557643410292),(661,11,'https://www.tohomh123.com/yirenzhixia/196.html','196.化吾为王(18P)\n ',18,1557643410295),(662,11,'https://www.tohomh123.com/yirenzhixia/197.html','197(27P)\n ',27,1557643410298),(663,11,'https://www.tohomh123.com/yirenzhixia/198.html','198 有事情找前台(29P)\n ',29,1557643410302),(664,11,'https://www.tohomh123.com/yirenzhixia/199.html','199.私人武装是犯法的(21P)\n ',21,1557643410307),(665,11,'https://www.tohomh123.com/yirenzhixia/200.html','200.神机百炼(23P)\n ',23,1557643410313),(666,11,'https://www.tohomh123.com/yirenzhixia/201.html','201.临时工的真相(24P)\n ',24,1557643410317),(667,11,'https://www.tohomh123.com/yirenzhixia/202.html','抢红包要手快(26P)\n ',26,1557643410321),(668,11,'https://www.tohomh123.com/yirenzhixia/203.html','203.大慈大悲手(24P)\n ',24,1557643410325),(669,11,'https://www.tohomh123.com/yirenzhixia/204.html','204.贵人之姿(25P)\n ',25,1557643410329),(670,11,'https://www.tohomh123.com/yirenzhixia/205.html','205.不用杀(29P)\n ',29,1557643410332),(671,11,'https://www.tohomh123.com/yirenzhixia/206.html','206.我真好运(21P)\n ',21,1557643410336),(672,11,'https://www.tohomh123.com/yirenzhixia/207.html','207.爱之马杀鸡(22P)\n ',22,1557643410340),(673,11,'https://www.tohomh123.com/yirenzhixia/208.html','208.药仙会(30P)\n ',30,1557643410343),(674,11,'https://www.tohomh123.com/yirenzhixia/209.html','209.法宝(25P)\n ',25,1557643410346),(675,11,'https://www.tohomh123.com/yirenzhixia/210.html','210.我在你身后(23P)\n ',23,1557643410350),(676,11,'https://www.tohomh123.com/yirenzhixia/211.html','211.一发入魂(13P)\n ',13,1557643410354),(677,11,'https://www.tohomh123.com/yirenzhixia/212.html','212.不幸的根源(26P)\n ',26,1557643410357),(678,11,'https://www.tohomh123.com/yirenzhixia/213.html','213.服下去(28P)\n ',28,1557643410361),(679,11,'https://www.tohomh123.com/yirenzhixia/214.html','214.倾情蛊(19P)\n ',19,1557643410366),(680,11,'https://www.tohomh123.com/yirenzhixia/215.html','215.你们这是找抽(28P)\n ',28,1557643410371),(681,11,'https://www.tohomh123.com/yirenzhixia/216.html','216.鎏金如意(20P)\n ',20,1557643410376),(682,11,'https://www.tohomh123.com/yirenzhixia/217.html','217.别扭(27P)\n ',27,1557643410380),(683,11,'https://www.tohomh123.com/yirenzhixia/218.html','218.上面的人(22P)\n ',22,1557643410385),(684,11,'https://www.tohomh123.com/yirenzhixia/219.html','219.操刀鬼与刀(13P)\n ',13,1557643410389),(685,11,'https://www.tohomh123.com/yirenzhixia/220.html','220.新截(15P)\n ',15,1557643410393),(686,11,'https://www.tohomh123.com/yirenzhixia/221.html','221.武侯派不要面子的吗?(14P)\n ',14,1557643410397),(687,11,'https://www.tohomh123.com/yirenzhixia/222.html','222.你说了可不算(13P)\n ',13,1557643410402),(688,11,'https://www.tohomh123.com/yirenzhixia/223.html','223.用诚意打动(17P)\n ',17,1557643410405),(689,11,'https://www.tohomh123.com/yirenzhixia/224.html','224.修身炉(16P)\n ',16,1557643410409),(690,11,'https://www.tohomh123.com/yirenzhixia/225.html','225.不要走夜路(15P)\n ',15,1557643410412),(691,11,'https://www.tohomh123.com/yirenzhixia/226.html','226.帅哥小心身后(16P)\n ',16,1557643410417),(692,11,'https://www.tohomh123.com/yirenzhixia/227.html','227.不要转身(17P)\n ',17,1557643410421),(693,11,'https://www.tohomh123.com/yirenzhixia/228.html','228.“利己”(17P)\n ',17,1557643410425),(694,11,'https://www.tohomh123.com/yirenzhixia/229.html','229.变化(17P)\n ',17,1557643410429),(695,11,'https://www.tohomh123.com/yirenzhixia/230.html','230.命格轻贱(18P)\n ',18,1557643410433),(696,11,'https://www.tohomh123.com/yirenzhixia/231.html','231.干叔叔(16P)\n ',16,1557643410438),(697,11,'https://www.tohomh123.com/yirenzhixia/232.html','232.人口红线(14P)\n ',14,1557643410442),(698,11,'https://www.tohomh123.com/yirenzhixia/233.html','233.尬撩现场(19P)\n ',19,1557643410446),(699,11,'https://www.tohomh123.com/yirenzhixia/234.html','234.没毛病(20P)\n ',20,1557643410450),(700,11,'https://www.tohomh123.com/yirenzhixia/235.html','235.没事老斩天做甚(17P)\n ',17,1557643410453),(701,11,'https://www.tohomh123.com/yirenzhixia/236.html','236.真实与虚幻【黑白】(17P)\n ',17,1557643410457),(702,11,'https://www.tohomh123.com/yirenzhixia/237.html','236.真实与虚幻【彩】(17P)\n ',17,1557643410461),(703,11,'https://www.tohomh123.com/yirenzhixia/238.html','237.真实的疼痛(14P)\n ',14,1557643410466),(704,11,'https://www.tohomh123.com/yirenzhixia/239.html','238.乾之三爻(18P)\n ',18,1557643410471),(705,11,'https://www.tohomh123.com/yirenzhixia/240.html','239.神机与术(13P)\n ',13,1557643410476),(706,11,'https://www.tohomh123.com/yirenzhixia/241.html','240.各自行动(16P)\n ',16,1557643410480),(707,11,'https://www.tohomh123.com/yirenzhixia/242.html','241.禽兽(17P)\n ',17,1557643410483),(708,11,'https://www.tohomh123.com/yirenzhixia/243.html','242.在笑(17P)\n ',17,1557643410487),(709,11,'https://www.tohomh123.com/yirenzhixia/244.html','243.有麻烦找老四(17P)\n ',17,1557643410491),(710,11,'https://www.tohomh123.com/yirenzhixia/245.html','244.蛊的培养皿(18P)\n ',18,1557643410494),(711,11,'https://www.tohomh123.com/yirenzhixia/246.html','245.蛊身圣童(16P)\n ',16,1557643410498),(712,11,'https://www.tohomh123.com/yirenzhixia/247.html','246.蛊童的真面目(11P)\n ',11,1557643410502),(713,11,'https://www.tohomh123.com/yirenzhixia/248.html','247.蛊童的困惑(12P)\n ',12,1557643410506),(714,11,'https://www.tohomh123.com/yirenzhixia/249.html','248.同类(13P)\n ',13,1557643410509),(715,11,'https://www.tohomh123.com/yirenzhixia/250.html','249.尝试(16P)\n ',16,1557643410513),(716,11,'https://www.tohomh123.com/yirenzhixia/251.html','250.异类(23P)\n ',23,1557643410518),(717,11,'https://www.tohomh123.com/yirenzhixia/252.html','251.新生(23P)\n ',23,1557643410521),(718,11,'https://www.tohomh123.com/yirenzhixia/253.html','252.我叫陈朵(17P)\n ',17,1557643410525),(719,11,'https://www.tohomh123.com/yirenzhixia/254.html','253(17P)\n ',17,1557643410529),(720,11,'https://www.tohomh123.com/yirenzhixia/255.html','254(17P)\n ',17,1557643410533),(721,11,'https://www.tohomh123.com/yirenzhixia/256.html','255(17P)\n ',17,1557643410542),(722,11,'https://www.tohomh123.com/yirenzhixia/257.html','256(20P)\n ',20,1557643410546),(723,11,'https://www.tohomh123.com/yirenzhixia/258.html','257(23P)\n ',23,1557643410550),(724,11,'https://www.tohomh123.com/yirenzhixia/259.html','258(20P)\n ',20,1557643410555),(725,11,'https://www.tohomh123.com/yirenzhixia/260.html','259(18P)\n ',18,1557643410560),(726,11,'https://www.tohomh123.com/yirenzhixia/261.html','260(16P)\n ',16,1557643410565),(727,11,'https://www.tohomh123.com/yirenzhixia/262.html','261(17P)\n ',17,1557643410571),(728,11,'https://www.tohomh123.com/yirenzhixia/263.html','262(16P)\n ',16,1557643410575),(729,11,'https://www.tohomh123.com/yirenzhixia/264.html','263(20P)\n ',20,1557643410579),(730,11,'https://www.tohomh123.com/yirenzhixia/265.html','264(19P)\n ',19,1557643410584),(731,11,'https://www.tohomh123.com/yirenzhixia/266.html','265(20P)\n ',20,1557643410588),(732,11,'https://www.tohomh123.com/yirenzhixia/267.html','266(15P)\n ',15,1557643410592),(733,11,'https://www.tohomh123.com/yirenzhixia/268.html','267(20P)\n ',20,1557643410596),(734,11,'https://www.tohomh123.com/yirenzhixia/269.html','268(17P)\n ',17,1557643410600),(735,11,'https://www.tohomh123.com/yirenzhixia/270.html','269(18P)\n ',18,1557643410603),(736,11,'https://www.tohomh123.com/yirenzhixia/271.html','270(18P)\n ',18,1557643410607),(737,11,'https://www.tohomh123.com/yirenzhixia/272.html','271(15P)\n ',15,1557643410612),(738,11,'https://www.tohomh123.com/yirenzhixia/273.html','272(15P)\n ',15,1557643410617),(739,11,'https://www.tohomh123.com/yirenzhixia/274.html','273(15P)\n ',15,1557643410621),(740,11,'https://www.tohomh123.com/yirenzhixia/275.html','274(18P)\n ',18,1557643410626),(741,11,'https://www.tohomh123.com/yirenzhixia/276.html','275(15P)\n ',15,1557643410629),(742,11,'https://www.tohomh123.com/yirenzhixia/277.html','276(15P)\n ',15,1557643410634),(743,11,'https://www.tohomh123.com/yirenzhixia/278.html','277(15P)\n ',15,1557643410638),(744,11,'https://www.tohomh123.com/yirenzhixia/279.html','278(20P)\n ',20,1557643410643),(745,11,'https://www.tohomh123.com/yirenzhixia/280.html','279(16P)\n ',16,1557643410646),(746,11,'https://www.tohomh123.com/yirenzhixia/281.html','280(17P)\n ',17,1557643410650),(747,11,'https://www.tohomh123.com/yirenzhixia/282.html','281(14P)\n ',14,1557643410654),(748,11,'https://www.tohomh123.com/yirenzhixia/283.html','282(17P)\n ',17,1557643410658),(749,11,'https://www.tohomh123.com/yirenzhixia/284.html','283(17P)\n ',17,1557643410663),(750,11,'https://www.tohomh123.com/yirenzhixia/285.html','284(17P)\n ',17,1557643410667),(751,11,'https://www.tohomh123.com/yirenzhixia/286.html','285(17P)\n ',17,1557643410671),(752,11,'https://www.tohomh123.com/yirenzhixia/287.html','286(17P)\n ',17,1557643410675),(753,11,'https://www.tohomh123.com/yirenzhixia/288.html','287(17P)\n ',17,1557643410678),(754,11,'https://www.tohomh123.com/yirenzhixia/289.html','288(18P)\n ',18,1557643410682),(755,11,'https://www.tohomh123.com/yirenzhixia/290.html','289(18P)\n ',18,1557643410686),(756,11,'https://www.tohomh123.com/yirenzhixia/291.html','290(19P)\n ',19,1557643410690),(757,11,'https://www.tohomh123.com/yirenzhixia/292.html','291(18P)\n ',18,1557643410693),(758,11,'https://www.tohomh123.com/yirenzhixia/293.html','292(16P)\n ',16,1557643410698),(759,11,'https://www.tohomh123.com/yirenzhixia/294.html','293(17P)\n ',17,1557643410702),(760,11,'https://www.tohomh123.com/yirenzhixia/295.html','294(17P)\n ',17,1557643410706),(761,11,'https://www.tohomh123.com/yirenzhixia/296.html','一人之下 X 品客薯片(25P)\n ',25,1557643410713),(762,11,'https://www.tohomh123.com/yirenzhixia/297.html','295(15P)\n ',15,1557643410718),(763,11,'https://www.tohomh123.com/yirenzhixia/298.html','296(17P)\n ',17,1557643410723),(764,11,'https://www.tohomh123.com/yirenzhixia/299.html','297(18P)\n ',18,1557643410742),(765,11,'https://www.tohomh123.com/yirenzhixia/300.html','298(19P)\n ',19,1557643410747),(766,11,'https://www.tohomh123.com/yirenzhixia/301.html','299(18P)\n ',18,1557643410752),(767,11,'https://www.tohomh123.com/yirenzhixia/302.html','300(19P)\n ',19,1557643410756),(768,11,'https://www.tohomh123.com/yirenzhixia/303.html','301(34P)\n ',34,1557643410761),(769,11,'https://www.tohomh123.com/yirenzhixia/304.html','302(39P)\n ',39,1557643410769),(770,11,'https://www.tohomh123.com/yirenzhixia/305.html','303(19P)\n ',19,1557643410774),(771,11,'https://www.tohomh123.com/yirenzhixia/306.html','304(18P)\n ',18,1557643410779),(772,11,'https://www.tohomh123.com/yirenzhixia/307.html','305(13P)\n ',13,1557643410783),(773,11,'https://www.tohomh123.com/yirenzhixia/308.html','306(19P)\n ',19,1557643410788),(774,11,'https://www.tohomh123.com/yirenzhixia/309.html','307(17P)\n ',17,1557643410792),(775,11,'https://www.tohomh123.com/yirenzhixia/310.html','308(17P)\n ',17,1557643410797),(776,11,'https://www.tohomh123.com/yirenzhixia/311.html','粉丝大福利活动(2P)\n ',2,1557643410802),(777,11,'https://www.tohomh123.com/yirenzhixia/312.html','309(15P)\n ',15,1557643410807),(778,11,'https://www.tohomh123.com/yirenzhixia/313.html','310(16P)\n ',16,1557643410812),(779,11,'https://www.tohomh123.com/yirenzhixia/314.html','311(22P)\n ',22,1557643410818),(780,11,'https://www.tohomh123.com/yirenzhixia/315.html','312(16P)\n ',16,1557643410825),(781,11,'https://www.tohomh123.com/yirenzhixia/316.html','313(15P)\n ',15,1557643410832),(782,11,'https://www.tohomh123.com/yirenzhixia/317.html','314(16P)\n ',16,1557643410837),(783,11,'https://www.tohomh123.com/yirenzhixia/318.html','315(15P)\n ',15,1557643410841),(784,11,'https://www.tohomh123.com/yirenzhixia/319.html','316(12P)\n ',12,1557643410846),(785,11,'https://www.tohomh123.com/yirenzhixia/320.html','317(18P)\n ',18,1557643410850),(786,11,'https://www.tohomh123.com/yirenzhixia/321.html','318(15P)\n ',15,1557643410854),(787,11,'https://www.tohomh123.com/yirenzhixia/322.html','宝姐生日快乐!(16P)\n ',16,1557643410859),(788,11,'https://www.tohomh123.com/yirenzhixia/323.html','320(19P)\n ',19,1557643410866),(789,11,'https://www.tohomh123.com/yirenzhixia/324.html','321(16P)\n ',16,1557643410872),(790,11,'https://www.tohomh123.com/yirenzhixia/325.html','322(15P)\n ',15,1557643410877),(791,11,'https://www.tohomh123.com/yirenzhixia/326.html','323.有趣的人(16P)\n ',16,1557643410898),(792,11,'https://www.tohomh123.com/yirenzhixia/327.html','单行本预售(1P)\n ',1,1557643410904),(793,11,'https://www.tohomh123.com/yirenzhixia/328.html','324.迷之生物体(17P)\n ',17,1557643410909),(794,11,'https://www.tohomh123.com/yirenzhixia/329.html','325.心机VS心机(15P)\n ',15,1557643410915),(795,11,'https://www.tohomh123.com/yirenzhixia/330.html','通知(1P)\n ',1,1557643410922),(796,11,'https://www.tohomh123.com/yirenzhixia/331.html','326.请务必带上我们(21P)\n ',21,1557643410927),(797,11,'https://www.tohomh123.com/yirenzhixia/332.html','327(15P)\n ',15,1557643410931),(798,11,'https://www.tohomh123.com/yirenzhixia/333.html','328(16P)\n ',16,1557643410935),(799,11,'https://www.tohomh123.com/yirenzhixia/334.html','329 变异?的猴子(17P)\n ',17,1557643410939),(800,11,'https://www.tohomh123.com/yirenzhixia/335.html','330.他们也是我们(15P)\n ',15,1557643410943),(801,11,'https://www.tohomh123.com/yirenzhixia/336.html','腾讯动漫6周年福利活动!(1P)\n ',1,1557643410948),(802,11,'https://www.tohomh123.com/yirenzhixia/337.html','331.山谷(17P)\n ',17,1557643410952),(803,11,'https://www.tohomh123.com/yirenzhixia/338.html','332(22P)\n ',22,1557643410956),(804,11,'https://www.tohomh123.com/yirenzhixia/339.html','333.张怀义的子孙(17P)\n ',17,1557643410961),(805,11,'https://www.tohomh123.com/yirenzhixia/340.html','334.二十四节通天谷(21P)\n ',21,1557643410966),(806,11,'https://www.tohomh123.com/yirenzhixia/341.html','一人之下粉丝资料网站!(1P)\n ',1,1557643410972),(807,11,'https://www.tohomh123.com/yirenzhixia/342.html','335(17P)\n ',17,1557643410976),(808,11,'https://www.tohomh123.com/yirenzhixia/343.html','336(17P)\n ',17,1557643410980),(809,11,'https://www.tohomh123.com/yirenzhixia/344.html','337.godmother(20P)\n ',20,1557643410984),(810,11,'https://www.tohomh123.com/yirenzhixia/345.html','338.森林之神的庇佑(16P)\n ',16,1557643410988),(811,11,'https://www.tohomh123.com/yirenzhixia/346.html','一人之下手游番外(11P)\n ',11,1557643410991),(812,11,'https://www.tohomh123.com/yirenzhixia/347.html','339.这不巧了么(18P)\n ',18,1557643410995),(813,11,'https://www.tohomh123.com/yirenzhixia/348.html','340(19P)\n ',19,1557643410998),(814,11,'https://www.tohomh123.com/yirenzhixia/349.html','官方画集预售啦!(1P)\n ',1,1557643411002),(815,11,'https://www.tohomh123.com/yirenzhixia/350.html','341(18P)\n ',18,1557643411006),(816,11,'https://www.tohomh123.com/yirenzhixia/351.html','342(17P)\n ',17,1557643411010),(817,11,'https://www.tohomh123.com/yirenzhixia/352.html','绝版礼盒 全网发售(1P)\n ',1,1557643411013),(818,11,'https://www.tohomh123.com/yirenzhixia/353.html','343(17P)\n ',17,1557643411019),(819,11,'https://www.tohomh123.com/yirenzhixia/354.html','344(18P)\n ',18,1557643411023),(820,11,'https://www.tohomh123.com/yirenzhixia/355.html','345(19P)\n ',19,1557643411027),(821,11,'https://www.tohomh123.com/yirenzhixia/356.html','346(19P)\n ',19,1557643411031),(822,11,'https://www.tohomh123.com/yirenzhixia/357.html','347.六库仙贼(17P)\n ',17,1557643411037),(823,11,'https://www.tohomh123.com/yirenzhixia/358.html','348(16P)\n ',16,1557643411042),(824,11,'https://www.tohomh123.com/yirenzhixia/359.html','349(16P)\n ',16,1557643411046),(825,11,'https://www.tohomh123.com/yirenzhixia/360.html','350(14P)\n ',14,1557643411050),(826,11,'https://www.tohomh123.com/yirenzhixia/361.html','351(15P)\n ',15,1557643411053),(827,11,'https://www.tohomh123.com/yirenzhixia/362.html','352(14P)\n ',14,1557643411057),(828,11,'https://www.tohomh123.com/yirenzhixia/363.html','宝儿姐应援活动!(1P)\n ',1,1557643411061),(829,11,'https://www.tohomh123.com/yirenzhixia/364.html','353(20P)\n ',20,1557643411065),(830,11,'https://www.tohomh123.com/yirenzhixia/365.html','354(17P)\n ',17,1557643411071),(831,11,'https://www.tohomh123.com/yirenzhixia/366.html','特别番外?三十六贼之魏淑芬(52P)\n ',52,1557643411075),(832,11,'https://www.tohomh123.com/yirenzhixia/367.html','355(17P)\n ',17,1557643411079),(833,11,'https://www.tohomh123.com/yirenzhixia/368.html','356(16P)\n ',16,1557643411084),(834,11,'https://www.tohomh123.com/yirenzhixia/369.html','一人之下单行本预售!(1P)\n ',1,1557643411087),(835,11,'https://www.tohomh123.com/yirenzhixia/370.html','357(20P)\n ',20,1557643411092),(836,11,'https://www.tohomh123.com/yirenzhixia/371.html','358(15P)\n ',15,1557643411097),(837,11,'https://www.tohomh123.com/yirenzhixia/372.html','359(11P)\n ',11,1557643411101),(838,11,'https://www.tohomh123.com/yirenzhixia/373.html','360(15P)\n ',15,1557643411105),(839,11,'https://www.tohomh123.com/yirenzhixia/374.html','361(16P)\n ',16,1557643411109),(840,11,'https://www.tohomh123.com/yirenzhixia/375.html','362(16P)\n ',16,1557643411112),(841,11,'https://www.tohomh123.com/yirenzhixia/376.html','363(15P)\n ',15,1557643411117),(842,11,'https://www.tohomh123.com/yirenzhixia/377.html','番外・湘西巫蛊上篇(21P)\n ',21,1557643411122),(843,11,'https://www.tohomh123.com/yirenzhixia/378.html','364(19P)\n ',19,1557643411127),(844,11,'https://www.tohomh123.com/yirenzhixia/379.html','重要拉票广告!(1P)\n ',1,1557643411131),(845,11,'https://www.tohomh123.com/yirenzhixia/380.html','番外・湘西巫蛊下篇(32P)\n ',32,1557643411136),(846,11,'https://www.tohomh123.com/yirenzhixia/381.html','365(17P)\n ',17,1557643411140),(847,11,'https://www.tohomh123.com/yirenzhixia/382.html','366(16P)\n ',16,1557643411144),(848,11,'https://www.tohomh123.com/yirenzhixia/383.html','367(15P)\n ',15,1557643411147),(849,11,'https://www.tohomh123.com/yirenzhixia/384.html','368(13P)\n ',13,1557643411152),(850,11,'https://www.tohomh123.com/yirenzhixia/385.html','369(15P)\n ',15,1557643411156),(851,11,'https://www.tohomh123.com/yirenzhixia/386.html','370(12P)\n ',12,1557643411160),(852,11,'https://www.tohomh123.com/yirenzhixia/387.html','371(15P)\n ',15,1557643411166),(853,11,'https://www.tohomh123.com/yirenzhixia/388.html','372(17P)\n ',17,1557643411173),(854,11,'https://www.tohomh123.com/yirenzhixia/390.html','373(15P)\n ',15,1557643411178),(855,11,'https://www.tohomh123.com/yirenzhixia/391.html','374(14P)\n ',14,1557643411183),(856,11,'https://www.tohomh123.com/yirenzhixia/392.html','双11...(1P)\n ',1,1557643411188),(857,11,'https://www.tohomh123.com/yirenzhixia/393.html','375(15P)\n ',15,1557643411193),(858,11,'https://www.tohomh123.com/yirenzhixia/394.html','376(14P)\n ',14,1557643411197),(859,11,'https://www.tohomh123.com/yirenzhixia/395.html','377(16P)\n ',16,1557643411202),(860,11,'https://www.tohomh123.com/yirenzhixia/396.html','378(16P)\n ',16,1557643411206),(861,11,'https://www.tohomh123.com/yirenzhixia/397.html','番外・武侯奇门 上(25P)\n ',25,1557643411211),(862,11,'https://www.tohomh123.com/yirenzhixia/398.html','379(16P)\n ',16,1557643411216),(863,11,'https://www.tohomh123.com/yirenzhixia/399.html','380(16P)\n ',16,1557643411221),(864,11,'https://www.tohomh123.com/yirenzhixia/400.html','381(17P)\n ',17,1557643411226),(865,11,'https://www.tohomh123.com/yirenzhixia/401.html','番外・武侯奇门 下(28P)\n ',28,1557643411230),(866,11,'https://www.tohomh123.com/yirenzhixia/402.html','382(16P)\n ',16,1557643411234),(867,11,'https://www.tohomh123.com/yirenzhixia/403.html','383(15P)\n ',15,1557643411237),(868,11,'https://www.tohomh123.com/yirenzhixia/404.html','384(15P)\n ',15,1557643411241),(869,11,'https://www.tohomh123.com/yirenzhixia/405.html','385(14P)\n ',14,1557643411245),(870,11,'https://www.tohomh123.com/yirenzhixia/406.html','386(13P)\n ',13,1557643411249),(871,11,'https://www.tohomh123.com/yirenzhixia/407.html','387(15P)\n ',15,1557643411253),(872,11,'https://www.tohomh123.com/yirenzhixia/408.html','388(13P)\n ',13,1557643411257),(873,11,'https://www.tohomh123.com/yirenzhixia/409.html','389(21P)\n ',21,1557643411261),(874,11,'https://www.tohomh123.com/yirenzhixia/410.html','390(12P)\n ',12,1557643411266),(875,11,'https://www.tohomh123.com/yirenzhixia/411.html','391(15P)\n ',15,1557643411271),(876,11,'https://www.tohomh123.com/yirenzhixia/412.html','392(16P)\n ',16,1557643411276),(877,11,'https://www.tohomh123.com/yirenzhixia/413.html','393(13P)\n ',13,1557643411281),(878,11,'https://www.tohomh123.com/yirenzhixia/414.html','394(17P)\n ',17,1557643411285),(879,11,'https://www.tohomh123.com/yirenzhixia/415.html','395(17P)\n ',17,1557643411289),(880,11,'https://www.tohomh123.com/yirenzhixia/416.html','396(16P)\n ',16,1557643411293),(881,11,'https://www.tohomh123.com/yirenzhixia/417.html','397(19P)\n ',19,1557643411297),(882,11,'https://www.tohomh123.com/yirenzhixia/418.html','398(15P)\n ',15,1557643411301),(883,11,'https://www.tohomh123.com/yirenzhixia/420.html','399(15P)\n ',15,1557643411305),(884,11,'https://www.tohomh123.com/yirenzhixia/421.html','400(23P)\n ',23,1557643411308),(885,11,'https://www.tohomh123.com/yirenzhixia/422.html','401(15P)\n ',15,1557643411313),(886,11,'https://www.tohomh123.com/yirenzhixia/423.html','402(13P)\n ',13,1557643411319),(887,11,'https://www.tohomh123.com/yirenzhixia/425.html','403(23P)\n ',23,1557643411324),(888,11,'https://www.tohomh123.com/yirenzhixia/426.html','404(19P)\n ',19,1557643411328),(889,11,'https://www.tohomh123.com/yirenzhixia/427.html','405(16P)\n ',16,1557643411332),(890,11,'https://www.tohomh123.com/yirenzhixia/428.html','406(17P)\n ',17,1557643411336),(891,11,'https://www.tohomh123.com/yirenzhixia/429.html','407(21P)\n ',21,1557643411341),(892,11,'https://www.tohomh123.com/yirenzhixia/430.html','签售预告(2P)\n ',2,1557643411344),(893,11,'https://www.tohomh123.com/yirenzhixia/431.html','408(14P)\n ',14,1557643411348),(894,11,'https://www.tohomh123.com/yirenzhixia/432.html','409(16P)\n ',16,1557643411352),(895,11,'https://www.tohomh123.com/yirenzhixia/433.html','410(15P)\n ',15,1557643411357),(896,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/21.html','第21话',8,1557645548346),(897,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/20.html','第20话',10,1557645548358),(898,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/19.html','第19话',10,1557645548364),(899,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/18.html','第18话',10,1557645548370),(900,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/17.html','第17话',10,1557645548375),(901,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/16.html','第16话',10,1557645548380),(902,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/15.html','第15话',12,1557645548386),(903,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/14.html','第14话',9,1557645548391),(904,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/13.html','第13话',11,1557645548396),(905,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/12.html','第12话',9,1557645548402),(906,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/11.html','第11话',8,1557645548408),(907,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/10.html','第10话',9,1557645548413),(908,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/9.html','第09话',7,1557645548418),(909,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/8.html','第08话',8,1557645548423),(910,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/7.html','第07话',7,1557645548430),(911,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/6.html','第06话',7,1557645548436),(912,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/5.html','第05话',7,1557645548441),(913,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/4.html','第04话',7,1557645548447),(914,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/3.html','第03话',7,1557645548452),(915,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/2.html','第02话',7,1557645548457),(916,12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/1.html','第01话',13,1557645548462),(917,13,'https://www.tohomh123.com/yaoguaimingchan/483.html','438.处决',16,1557840824749),(918,13,'https://www.tohomh123.com/yaoguaimingchan/482.html','437.上岸',16,1557840824779),(919,13,'https://www.tohomh123.com/yaoguaimingchan/481.html','436.去吧!',16,1557840824807),(920,13,'https://www.tohomh123.com/yaoguaimingchan/480.html','435.叛道',17,1557840824827),(921,13,'https://www.tohomh123.com/yaoguaimingchan/479.html','434.都吃了',13,1557840824849),(922,13,'https://www.tohomh123.com/yaoguaimingchan/478.html','433.本能',14,1557840824871),(923,13,'https://www.tohomh123.com/yaoguaimingchan/477.html','432.加速',15,1557840824890),(924,13,'https://www.tohomh123.com/yaoguaimingchan/476.html','431.闷响',15,1557840824912),(925,13,'https://www.tohomh123.com/yaoguaimingchan/475.html','430.灵穴',16,1557840824931),(926,13,'https://www.tohomh123.com/yaoguaimingchan/474.html','429.各方',17,1557840824949),(927,13,'https://www.tohomh123.com/yaoguaimingchan/473.html','428.失联',15,1557840824967),(928,13,'https://www.tohomh123.com/yaoguaimingchan/472.html','427.诛杀',16,1557840824986),(929,13,'https://www.tohomh123.com/yaoguaimingchan/471.html','426.救',15,1557840825004),(930,13,'https://www.tohomh123.com/yaoguaimingchan/470.html','425.惨案',15,1557840825023),(931,13,'https://www.tohomh123.com/yaoguaimingchan/469.html','424.认输',15,1557840825040),(932,13,'https://www.tohomh123.com/yaoguaimingchan/468.html','423.读空气',14,1557840825060),(933,13,'https://www.tohomh123.com/yaoguaimingchan/467.html','422.嗔怪',17,1557840825078),(934,13,'https://www.tohomh123.com/yaoguaimingchan/466.html','春节活动小说明~',1,1557840825099),(935,13,'https://www.tohomh123.com/yaoguaimingchan/465.html','421.死角',18,1557840825120),(936,13,'https://www.tohomh123.com/yaoguaimingchan/464.html','420.变化(补)',5,1557840825137),(937,13,'https://www.tohomh123.com/yaoguaimingchan/463.html','420.变化',14,1557840825154),(938,13,'https://www.tohomh123.com/yaoguaimingchan/462.html','419.偷人',15,1557840825173),(939,13,'https://www.tohomh123.com/yaoguaimingchan/461.html','418.二阶段',16,1557840825190),(940,13,'https://www.tohomh123.com/yaoguaimingchan/460.html','417.营救',14,1557840825209),(941,13,'https://www.tohomh123.com/yaoguaimingchan/459.html','416.声东击西',15,1557840825226),(942,13,'https://www.tohomh123.com/yaoguaimingchan/458.html','415.敲门',15,1557840825244),(943,13,'https://www.tohomh123.com/yaoguaimingchan/457.html','414.过夜',18,1557840825264),(944,13,'https://www.tohomh123.com/yaoguaimingchan/456.html','番外',26,1557840825285),(945,13,'https://www.tohomh123.com/yaoguaimingchan/455.html','413.山洞',15,1557840825304),(946,13,'https://www.tohomh123.com/yaoguaimingchan/454.html','412.赞赞赞',16,1557840825322),(947,13,'https://www.tohomh123.com/yaoguaimingchan/453.html','411.战前准备',14,1557840825340),(948,13,'https://www.tohomh123.com/yaoguaimingchan/452.html','410.攀岩',16,1557840825358),(949,13,'https://www.tohomh123.com/yaoguaimingchan/451.html','409.擦身',14,1557840825377),(950,13,'https://www.tohomh123.com/yaoguaimingchan/450.html','408.出海',16,1557840825398),(951,13,'https://www.tohomh123.com/yaoguaimingchan/449.html','407.备战',15,1557840825420),(952,13,'https://www.tohomh123.com/yaoguaimingchan/448.html','406.十',16,1557840825437),(953,13,'https://www.tohomh123.com/yaoguaimingchan/447.html','405.中华田园犬',14,1557840825455),(954,13,'https://www.tohomh123.com/yaoguaimingchan/446.html','404.名犬',17,1557840825473),(955,13,'https://www.tohomh123.com/yaoguaimingchan/445.html','老师我要请假',3,1557840825491),(956,13,'https://www.tohomh123.com/yaoguaimingchan/444.html','403.一时大意',15,1557840825509),(957,13,'https://www.tohomh123.com/yaoguaimingchan/443.html','402.酒桌文化',16,1557840825526),(958,13,'https://www.tohomh123.com/yaoguaimingchan/442.html','401.桌下',16,1557840825545),(959,13,'https://www.tohomh123.com/yaoguaimingchan/440.html','400.爆表',14,1557840825563),(960,13,'https://www.tohomh123.com/yaoguaimingchan/439.html','399.狗与狗',14,1557840825586),(961,13,'https://www.tohomh123.com/yaoguaimingchan/437.html','398.挚友',16,1557840825609),(962,13,'https://www.tohomh123.com/yaoguaimingchan/436.html','379.孤岛',15,1557840825628),(963,13,'https://www.tohomh123.com/yaoguaimingchan/435.html','396.你好香啊',15,1557840825645),(964,13,'https://www.tohomh123.com/yaoguaimingchan/434.html','395.调查',12,1557840825666),(965,13,'https://www.tohomh123.com/yaoguaimingchan/433.html','394.惊坐起',11,1557840825683),(966,13,'https://www.tohomh123.com/yaoguaimingchan/432.html','392.我全都要',11,1557840825706),(967,13,'https://www.tohomh123.com/yaoguaimingchan/431.html','391.酒后',14,1557840825724),(968,13,'https://www.tohomh123.com/yaoguaimingchan/430.html','390.你好漂亮',14,1557840825753),(969,13,'https://www.tohomh123.com/yaoguaimingchan/429.html','付费说明',6,1557840825771),(970,13,'https://www.tohomh123.com/yaoguaimingchan/428.html','389.尤关部门',13,1557840825789),(971,13,'https://www.tohomh123.com/yaoguaimingchan/427.html','388.还有吗',12,1557840825807),(972,13,'https://www.tohomh123.com/yaoguaimingchan/426.html','387.亲妈',11,1557840825826),(973,13,'https://www.tohomh123.com/yaoguaimingchan/425.html','386.约饭',10,1557840825844),(974,13,'https://www.tohomh123.com/yaoguaimingchan/424.html','385.真香',10,1557840825862),(975,13,'https://www.tohomh123.com/yaoguaimingchan/423.html','384.怎样养狗',11,1557840825879),(976,13,'https://www.tohomh123.com/yaoguaimingchan/422.html','383.误会,吗?',10,1557840825897),(977,13,'https://www.tohomh123.com/yaoguaimingchan/421.html','382.话家',13,1557840825916),(978,13,'https://www.tohomh123.com/yaoguaimingchan/420.html','381.话家',12,1557840825941),(979,13,'https://www.tohomh123.com/yaoguaimingchan/419.html','380.出省',12,1557840825963),(980,13,'https://www.tohomh123.com/yaoguaimingchan/418.html','379.汪汪汪',14,1557840825982),(981,13,'https://www.tohomh123.com/yaoguaimingchan/417.html','378.公开处刑',12,1557840826000),(982,13,'https://www.tohomh123.com/yaoguaimingchan/416.html','377.洗剪吹',14,1557840826020),(983,13,'https://www.tohomh123.com/yaoguaimingchan/415.html','376.狗(下)',9,1557840826039),(984,13,'https://www.tohomh123.com/yaoguaimingchan/414.html','376.狗(上)',9,1557840826058),(985,13,'https://www.tohomh123.com/yaoguaimingchan/413.html','375.新任务',14,1557840826075),(986,13,'https://www.tohomh123.com/yaoguaimingchan/412.html','374.惊喜',12,1557840826094),(987,13,'https://www.tohomh123.com/yaoguaimingchan/411.html','373.倔',12,1557840826117),(988,13,'https://www.tohomh123.com/yaoguaimingchan/410.html','372.公司',14,1557840826137),(989,13,'https://www.tohomh123.com/yaoguaimingchan/409.html','371.醒了',14,1557840826156),(990,13,'https://www.tohomh123.com/yaoguaimingchan/408.html','370.两米八',10,1557840826175),(991,13,'https://www.tohomh123.com/yaoguaimingchan/407.html','369.疯了',13,1557840826194),(992,13,'https://www.tohomh123.com/yaoguaimingchan/406.html','368.大梦初醒',11,1557840826212),(993,13,'https://www.tohomh123.com/yaoguaimingchan/405.html','367.治疗',14,1557840826230),(994,13,'https://www.tohomh123.com/yaoguaimingchan/404.html','366.三个妖',15,1557840826248),(995,13,'https://www.tohomh123.com/yaoguaimingchan/403.html','365.一天一话看一年',12,1557840826266),(996,13,'https://www.tohomh123.com/yaoguaimingchan/402.html','364.不敢说话',11,1557840826284),(997,13,'https://www.tohomh123.com/yaoguaimingchan/401.html','359.副校长',11,1557840826302),(998,13,'https://www.tohomh123.com/yaoguaimingchan/400.html','354.互相伤害(上)',8,1557840826318),(999,13,'https://www.tohomh123.com/yaoguaimingchan/399.html','351.平息(下)',9,1557840826336),(1000,13,'https://www.tohomh123.com/yaoguaimingchan/398.html','363.捡到宝',10,1557840826353),(1001,13,'https://www.tohomh123.com/yaoguaimingchan/397.html','362.男女有别',13,1557840826372),(1002,13,'https://www.tohomh123.com/yaoguaimingchan/396.html','361.天衣无缝',1,1557840826389),(1003,13,'https://www.tohomh123.com/yaoguaimingchan/395.html','360.我来!',12,1557840826406),(1004,13,'https://www.tohomh123.com/yaoguaimingchan/394.html','360.副校长',10,1557840826425),(1005,13,'https://www.tohomh123.com/yaoguaimingchan/393.html','358.蚀',10,1557840826443),(1006,13,'https://www.tohomh123.com/yaoguaimingchan/392.html','357.拾',12,1557840826461),(1007,13,'https://www.tohomh123.com/yaoguaimingchan/391.html','356.殷',10,1557840826478),(1008,13,'https://www.tohomh123.com/yaoguaimingchan/390.html','355.平息',11,1557840826496),(1009,13,'https://www.tohomh123.com/yaoguaimingchan/389.html','354.互相伤害(下)',14,1557840826514),(1010,13,'https://www.tohomh123.com/yaoguaimingchan/388.html','354.互相伤害',8,1557840826532),(1011,13,'https://www.tohomh123.com/yaoguaimingchan/387.html','353.一辈子',13,1557840826550),(1012,13,'https://www.tohomh123.com/yaoguaimingchan/386.html','352.红蓝',13,1557840826567),(1013,13,'https://www.tohomh123.com/yaoguaimingchan/385.html','351.平息(上)下',9,1557840826586),(1014,13,'https://www.tohomh123.com/yaoguaimingchan/384.html','351.平息(上)',10,1557840826605),(1015,13,'https://www.tohomh123.com/yaoguaimingchan/383.html','351.平息',10,1557840826625),(1016,13,'https://www.tohomh123.com/yaoguaimingchan/382.html','350.躲',16,1557840826644),(1017,13,'https://www.tohomh123.com/yaoguaimingchan/381.html','349.合力',16,1557840826663),(1018,13,'https://www.tohomh123.com/yaoguaimingchan/380.html','348.闭嘴吧',12,1557840826682),(1019,13,'https://www.tohomh123.com/yaoguaimingchan/379.html','302.又见(新年快乐',9,1557840826704),(1020,13,'https://www.tohomh123.com/yaoguaimingchan/378.html','347.交给我',12,1557840826722),(1021,13,'https://www.tohomh123.com/yaoguaimingchan/377.html','346.临界',14,1557840826740),(1022,13,'https://www.tohomh123.com/yaoguaimingchan/376.html','345.声音',13,1557840826759),(1023,13,'https://www.tohomh123.com/yaoguaimingchan/375.html','344.住手',13,1557840826777),(1024,13,'https://www.tohomh123.com/yaoguaimingchan/374.html','343.我愿意',11,1557840826795),(1025,13,'https://www.tohomh123.com/yaoguaimingchan/373.html','342.赶上',11,1557840826813),(1026,13,'https://www.tohomh123.com/yaoguaimingchan/372.html','341.都怪你',12,1557840826833),(1027,13,'https://www.tohomh123.com/yaoguaimingchan/371.html','340.拖延',13,1557840826851),(1028,13,'https://www.tohomh123.com/yaoguaimingchan/370.html','339.燃尽',12,1557840826870),(1029,13,'https://www.tohomh123.com/yaoguaimingchan/369.html','338.争执',13,1557840826888),(1030,13,'https://www.tohomh123.com/yaoguaimingchan/368.html','337.不能躲',11,1557840826907),(1031,13,'https://www.tohomh123.com/yaoguaimingchan/367.html','336.抵达',11,1557840826925),(1032,13,'https://www.tohomh123.com/yaoguaimingchan/366.html','335.2V2',11,1557840826944),(1033,13,'https://www.tohomh123.com/yaoguaimingchan/365.html','334.先来',12,1557840826961),(1034,13,'https://www.tohomh123.com/yaoguaimingchan/364.html','333.水御',11,1557840826979),(1035,13,'https://www.tohomh123.com/yaoguaimingchan/363.html','332.故意',21,1557840826999),(1036,13,'https://www.tohomh123.com/yaoguaimingchan/362.html','331.立场',12,1557840827017),(1037,13,'https://www.tohomh123.com/yaoguaimingchan/361.html','330.懦夫',10,1557840827041),(1038,13,'https://www.tohomh123.com/yaoguaimingchan/360.html','329.现在',18,1557840827070),(1039,13,'https://www.tohomh123.com/yaoguaimingchan/359.html','328.立场',14,1557840827090),(1040,13,'https://www.tohomh123.com/yaoguaimingchan/358.html','327.冰与火',10,1557840827107),(1041,13,'https://www.tohomh123.com/yaoguaimingchan/357.html','326.对狐',13,1557840827127),(1042,13,'https://www.tohomh123.com/yaoguaimingchan/356.html','325.谈兵',11,1557840827145),(1043,13,'https://www.tohomh123.com/yaoguaimingchan/355.html','324.play',13,1557840827162),(1044,13,'https://www.tohomh123.com/yaoguaimingchan/354.html','323.友谊',11,1557840827192),(1045,13,'https://www.tohomh123.com/yaoguaimingchan/353.html','322.自爆',16,1557840827216),(1046,13,'https://www.tohomh123.com/yaoguaimingchan/352.html','321.助攻',13,1557840827234),(1047,13,'https://www.tohomh123.com/yaoguaimingchan/351.html','320.粉笔',14,1557840827265),(1048,13,'https://www.tohomh123.com/yaoguaimingchan/350.html','319.再挡路',12,1557840827283),(1049,13,'https://www.tohomh123.com/yaoguaimingchan/349.html','318.挡路',13,1557840827305),(1050,13,'https://www.tohomh123.com/yaoguaimingchan/348.html','317.指派',13,1557840827324),(1051,13,'https://www.tohomh123.com/yaoguaimingchan/347.html','316.保护',16,1557840827342),(1052,13,'https://www.tohomh123.com/yaoguaimingchan/346.html','315.爆发',14,1557840827360),(1053,13,'https://www.tohomh123.com/yaoguaimingchan/345.html','314.赴会',13,1557840827377),(1054,13,'https://www.tohomh123.com/yaoguaimingchan/344.html','313.人质',12,1557840827397),(1055,13,'https://www.tohomh123.com/yaoguaimingchan/343.html','312.泪雨',18,1557840827415),(1056,13,'https://www.tohomh123.com/yaoguaimingchan/342.html','311.去看看(下)',15,1557840827432),(1057,13,'https://www.tohomh123.com/yaoguaimingchan/341.html','311.去看看(上)',12,1557840827450),(1058,13,'https://www.tohomh123.com/yaoguaimingchan/340.html','310.因为你',15,1557840827469),(1059,13,'https://www.tohomh123.com/yaoguaimingchan/339.html','309.不要去',13,1557840827487),(1060,13,'https://www.tohomh123.com/yaoguaimingchan/338.html','308.同志',17,1557840827506),(1061,13,'https://www.tohomh123.com/yaoguaimingchan/337.html','307.怨憎会',15,1557840827524),(1062,13,'https://www.tohomh123.com/yaoguaimingchan/336.html','306.八苦',14,1557840827542),(1063,13,'https://www.tohomh123.com/yaoguaimingchan/335.html','305.半血',15,1557840827560),(1064,13,'https://www.tohomh123.com/yaoguaimingchan/334.html','304.认怂',13,1557840827577),(1065,13,'https://www.tohomh123.com/yaoguaimingchan/333.html','303.珍宝(下)',13,1557840827602),(1066,13,'https://www.tohomh123.com/yaoguaimingchan/332.html','303.珍宝(上)',12,1557840827625),(1067,13,'https://www.tohomh123.com/yaoguaimingchan/331.html','302.又见',20,1557840827647),(1068,13,'https://www.tohomh123.com/yaoguaimingchan/330.html','301.鹤发童颜',12,1557840827666),(1069,13,'https://www.tohomh123.com/yaoguaimingchan/329.html','300.何从',14,1557840827685),(1070,13,'https://www.tohomh123.com/yaoguaimingchan/328.html','299.解除(下)',10,1557840827704),(1071,13,'https://www.tohomh123.com/yaoguaimingchan/327.html','299.解除(上)',10,1557840827722),(1072,13,'https://www.tohomh123.com/yaoguaimingchan/326.html','298.冰与火',18,1557840827742),(1073,13,'https://www.tohomh123.com/yaoguaimingchan/324.html','297.亮兵器',15,1557840827761),(1074,13,'https://www.tohomh123.com/yaoguaimingchan/323.html','296.双属',14,1557840827780),(1075,13,'https://www.tohomh123.com/yaoguaimingchan/322.html','295.笼中战(下)',10,1557840827799),(1076,13,'https://www.tohomh123.com/yaoguaimingchan/321.html','295.笼中战(上)',11,1557840827820),(1077,13,'https://www.tohomh123.com/yaoguaimingchan/320.html','294.陆印',13,1557840827838),(1078,13,'https://www.tohomh123.com/yaoguaimingchan/319.html','293.墓',13,1557840827857),(1079,13,'https://www.tohomh123.com/yaoguaimingchan/318.html','292.别提',14,1557840827876),(1080,13,'https://www.tohomh123.com/yaoguaimingchan/317.html','291.修养',10,1557840827896),(1081,13,'https://www.tohomh123.com/yaoguaimingchan/316.html','290.竹林深处',16,1557840827913),(1082,13,'https://www.tohomh123.com/yaoguaimingchan/315.html','289.辞官',13,1557840827934),(1083,13,'https://www.tohomh123.com/yaoguaimingchan/314.html','288.关门',13,1557840827952),(1084,13,'https://www.tohomh123.com/yaoguaimingchan/312.html','287.剑',11,1557840827970),(1085,13,'https://www.tohomh123.com/yaoguaimingchan/311.html','286.碎',11,1557840827988),(1086,13,'https://www.tohomh123.com/yaoguaimingchan/310.html','285.一万小时',15,1557840828006),(1087,13,'https://www.tohomh123.com/yaoguaimingchan/308.html','284.西三袭',14,1557840828024),(1088,13,'https://www.tohomh123.com/yaoguaimingchan/307.html','283.联系',10,1557840828042),(1089,13,'https://www.tohomh123.com/yaoguaimingchan/306.html','282.殇魂',12,1557840828060),(1090,13,'https://www.tohomh123.com/yaoguaimingchan/305.html','281.送别离',18,1557840828078),(1091,13,'https://www.tohomh123.com/yaoguaimingchan/304.html','280.交叠',12,1557840828096),(1092,13,'https://www.tohomh123.com/yaoguaimingchan/303.html','279.找到你',18,1557840828114),(1093,13,'https://www.tohomh123.com/yaoguaimingchan/302.html','278.疗伤',12,1557840828133),(1094,13,'https://www.tohomh123.com/yaoguaimingchan/301.html','277.元神攻击',13,1557840828152),(1095,13,'https://www.tohomh123.com/yaoguaimingchan/300.html','276.故技重施',14,1557840828171),(1096,13,'https://www.tohomh123.com/yaoguaimingchan/299.html','275.焚',16,1557840828192),(1097,13,'https://www.tohomh123.com/yaoguaimingchan/297.html','274.破碎',10,1557840828214),(1098,13,'https://www.tohomh123.com/yaoguaimingchan/296.html','273.冲杀',13,1557840828232),(1099,13,'https://www.tohomh123.com/yaoguaimingchan/295.html','272.对穿',14,1557840828249),(1100,13,'https://www.tohomh123.com/yaoguaimingchan/293.html','271.决战',9,1557840828268),(1101,13,'https://www.tohomh123.com/yaoguaimingchan/292.html','270.人妖殊途',10,1557840828286),(1102,13,'https://www.tohomh123.com/yaoguaimingchan/291.html','269.战火',13,1557840828304),(1103,13,'https://www.tohomh123.com/yaoguaimingchan/290.html','268.一方',13,1557840828321),(1104,13,'https://www.tohomh123.com/yaoguaimingchan/289.html','267.搞不懂',10,1557840828340),(1105,13,'https://www.tohomh123.com/yaoguaimingchan/288.html','266.闪耀夜空',13,1557840828358),(1106,13,'https://www.tohomh123.com/yaoguaimingchan/287.html','265.瓮中狐',18,1557840828376),(1107,13,'https://www.tohomh123.com/yaoguaimingchan/286.html','264.胶着(下)',11,1557840828394),(1108,13,'https://www.tohomh123.com/yaoguaimingchan/285.html','264.胶着(上)',12,1557840828412),(1109,13,'https://www.tohomh123.com/yaoguaimingchan/284.html','263.增生',13,1557840828430),(1110,13,'https://www.tohomh123.com/yaoguaimingchan/283.html','262.GPS',11,1557840828448),(1111,13,'https://www.tohomh123.com/yaoguaimingchan/281.html','261.特效的一话',14,1557840828466),(1112,13,'https://www.tohomh123.com/yaoguaimingchan/280.html','260.停车',12,1557840828484),(1113,13,'https://www.tohomh123.com/yaoguaimingchan/279.html','259.分割',15,1557840828502),(1114,13,'https://www.tohomh123.com/yaoguaimingchan/278.html','258.变阵',15,1557840828521),(1115,13,'https://www.tohomh123.com/yaoguaimingchan/277.html','257.送装备',12,1557840828540),(1116,13,'https://www.tohomh123.com/yaoguaimingchan/276.html','256.舆论',11,1557840828558),(1117,13,'https://www.tohomh123.com/yaoguaimingchan/275.html','255.白泽',11,1557840828576),(1118,13,'https://www.tohomh123.com/yaoguaimingchan/274.html','254.互助',11,1557840828608),(1119,13,'https://www.tohomh123.com/yaoguaimingchan/273.html','253.分组',11,1557840828627),(1120,13,'https://www.tohomh123.com/yaoguaimingchan/272.html','252.以力破巧',12,1557840828651),(1121,13,'https://www.tohomh123.com/yaoguaimingchan/271.html','251.交接(下)',9,1557840828670),(1122,13,'https://www.tohomh123.com/yaoguaimingchan/270.html','251.交接(上)',8,1557840828689),(1123,13,'https://www.tohomh123.com/yaoguaimingchan/269.html','250.牺牲(修正版)',13,1557840828708),(1124,13,'https://www.tohomh123.com/yaoguaimingchan/267.html','249.各处',10,1557840828726),(1125,13,'https://www.tohomh123.com/yaoguaimingchan/266.html','248.顶班',12,1557840828743),(1126,13,'https://www.tohomh123.com/yaoguaimingchan/265.html','247.发现',10,1557840828761),(1127,13,'https://www.tohomh123.com/yaoguaimingchan/264.html','246.窗',9,1557840828778),(1128,13,'https://www.tohomh123.com/yaoguaimingchan/263.html','245.突入',11,1557840828796),(1129,13,'https://www.tohomh123.com/yaoguaimingchan/262.html','244.又天降之物',11,1557840828814),(1130,13,'https://www.tohomh123.com/yaoguaimingchan/261.html','243.任意门',12,1557840828832),(1131,13,'https://www.tohomh123.com/yaoguaimingchan/260.html','242.乱穿',11,1557840828850),(1132,13,'https://www.tohomh123.com/yaoguaimingchan/259.html','241.出大事',11,1557840828867),(1133,13,'https://www.tohomh123.com/yaoguaimingchan/258.html','240.破与封',10,1557840828885),(1134,13,'https://www.tohomh123.com/yaoguaimingchan/256.html','239.秒',9,1557840828902),(1135,13,'https://www.tohomh123.com/yaoguaimingchan/255.html','238.乱',14,1557840828920),(1136,13,'https://www.tohomh123.com/yaoguaimingchan/254.html','237.点穴',14,1557840828937),(1137,13,'https://www.tohomh123.com/yaoguaimingchan/253.html','236.对答如流',10,1557840828955),(1138,13,'https://www.tohomh123.com/yaoguaimingchan/252.html','235.试炼',10,1557840828973),(1139,13,'https://www.tohomh123.com/yaoguaimingchan/251.html','234.快穿上!',13,1557840828990),(1140,13,'https://www.tohomh123.com/yaoguaimingchan/250.html','233.转移',13,1557840829008),(1141,13,'https://www.tohomh123.com/yaoguaimingchan/249.html','232.真相',9,1557840829026),(1142,13,'https://www.tohomh123.com/yaoguaimingchan/248.html','231.胜败',11,1557840829045),(1143,13,'https://www.tohomh123.com/yaoguaimingchan/247.html','230.为了羁绊',11,1557840829063),(1144,13,'https://www.tohomh123.com/yaoguaimingchan/246.html','229.以多欺少',10,1557840829082),(1145,13,'https://www.tohomh123.com/yaoguaimingchan/245.html','228.受死吧',11,1557840829100),(1146,13,'https://www.tohomh123.com/yaoguaimingchan/244.html','227.交锋',10,1557840829118),(1147,13,'https://www.tohomh123.com/yaoguaimingchan/243.html','226.召唤',9,1557840829135),(1148,13,'https://www.tohomh123.com/yaoguaimingchan/242.html','225.出息',10,1557840829156),(1149,13,'https://www.tohomh123.com/yaoguaimingchan/241.html','224.巧遇',11,1557840829174),(1150,13,'https://www.tohomh123.com/yaoguaimingchan/240.html','223.搭讪',11,1557840829192),(1151,13,'https://www.tohomh123.com/yaoguaimingchan/239.html','222.眼镜',12,1557840829209),(1152,13,'https://www.tohomh123.com/yaoguaimingchan/238.html','221.美丽的误会',13,1557840829227),(1153,13,'https://www.tohomh123.com/yaoguaimingchan/237.html','220.求援',13,1557840829250),(1154,13,'https://www.tohomh123.com/yaoguaimingchan/236.html','219.抱佛脚',10,1557840829268),(1155,13,'https://www.tohomh123.com/yaoguaimingchan/235.html','218.涌动',10,1557840829292),(1156,13,'https://www.tohomh123.com/yaoguaimingchan/234.html','217.易主',10,1557840829314),(1157,13,'https://www.tohomh123.com/yaoguaimingchan/233.html','216.花落',11,1557840829333),(1158,13,'https://www.tohomh123.com/yaoguaimingchan/232.html','215.国际长途',10,1557840829350),(1159,13,'https://www.tohomh123.com/yaoguaimingchan/231.html','214.迟到',10,1557840829368),(1160,13,'https://www.tohomh123.com/yaoguaimingchan/230.html','213.招标会',10,1557840829387),(1161,13,'https://www.tohomh123.com/yaoguaimingchan/229.html','212.卓青拾',10,1557840829404),(1162,13,'https://www.tohomh123.com/yaoguaimingchan/227.html','211.有情况',13,1557840829422),(1163,13,'https://www.tohomh123.com/yaoguaimingchan/226.html','210.望子成龙',10,1557840829441),(1164,13,'https://www.tohomh123.com/yaoguaimingchan/225.html','209.麻将',10,1557840829458),(1165,13,'https://www.tohomh123.com/yaoguaimingchan/224.html','208.一个接一个',9,1557840829475),(1166,13,'https://www.tohomh123.com/yaoguaimingchan/223.html','207.长大了',9,1557840829493),(1167,13,'https://www.tohomh123.com/yaoguaimingchan/222.html','206.人去',9,1557840829512),(1168,13,'https://www.tohomh123.com/yaoguaimingchan/221.html','205.分道扬镳',8,1557840829529),(1169,13,'https://www.tohomh123.com/yaoguaimingchan/220.html','204.彩虹',8,1557840829546),(1170,13,'https://www.tohomh123.com/yaoguaimingchan/219.html','203.散场',8,1557840829562),(1171,13,'https://www.tohomh123.com/yaoguaimingchan/218.html','202.恭贺',9,1557840829581),(1172,13,'https://www.tohomh123.com/yaoguaimingchan/217.html','201.臣服',13,1557840829599),(1173,13,'https://www.tohomh123.com/yaoguaimingchan/216.html','200.远去',13,1557840829617),(1174,13,'https://www.tohomh123.com/yaoguaimingchan/215.html','199.赴约',9,1557840829636),(1175,13,'https://www.tohomh123.com/yaoguaimingchan/214.html','198.逐',12,1557840829660),(1176,13,'https://www.tohomh123.com/yaoguaimingchan/213.html','197.想长大',11,1557840829682),(1177,13,'https://www.tohomh123.com/yaoguaimingchan/212.html','196.炼药',9,1557840829703),(1178,13,'https://www.tohomh123.com/yaoguaimingchan/210.html','195.满载',9,1557840829722),(1179,13,'https://www.tohomh123.com/yaoguaimingchan/209.html','194.命',9,1557840829741),(1180,13,'https://www.tohomh123.com/yaoguaimingchan/208.html','193.时光荏苒',10,1557840829758),(1181,13,'https://www.tohomh123.com/yaoguaimingchan/206.html','192.我会努力的!',10,1557840829778),(1182,13,'https://www.tohomh123.com/yaoguaimingchan/205.html','191.见家长',9,1557840829797),(1183,13,'https://www.tohomh123.com/yaoguaimingchan/204.html','190.送你见龙王',11,1557840829813),(1184,13,'https://www.tohomh123.com/yaoguaimingchan/203.html','189.再次',9,1557840829831),(1185,13,'https://www.tohomh123.com/yaoguaimingchan/202.html','188.小龙女',10,1557840829849),(1186,13,'https://www.tohomh123.com/yaoguaimingchan/201.html','187.三元',9,1557840829866),(1187,13,'https://www.tohomh123.com/yaoguaimingchan/200.html','186.秀',12,1557840829883),(1188,13,'https://www.tohomh123.com/yaoguaimingchan/199.html','185.大乱斗',13,1557840829899),(1189,13,'https://www.tohomh123.com/yaoguaimingchan/198.html','184.群愤',10,1557840829916),(1190,13,'https://www.tohomh123.com/yaoguaimingchan/197.html','183.羞耻拳',9,1557840829934),(1191,13,'https://www.tohomh123.com/yaoguaimingchan/196.html','182.看热闹',10,1557840829951),(1192,13,'https://www.tohomh123.com/yaoguaimingchan/195.html','181.眼力决定实力',10,1557840829968),(1193,13,'https://www.tohomh123.com/yaoguaimingchan/194.html','180.原来!(节日快乐:)',13,1557840829985),(1194,13,'https://www.tohomh123.com/yaoguaimingchan/193.html','179.计划开始',12,1557840830013),(1195,13,'https://www.tohomh123.com/yaoguaimingchan/192.html','178.墨镜',11,1557840830032),(1196,13,'https://www.tohomh123.com/yaoguaimingchan/191.html','177.说漏嘴(下)',7,1557840830049),(1197,13,'https://www.tohomh123.com/yaoguaimingchan/190.html','177.说漏嘴(上)',7,1557840830065),(1198,13,'https://www.tohomh123.com/yaoguaimingchan/189.html','176.拔旗小分队',11,1557840830082),(1199,13,'https://www.tohomh123.com/yaoguaimingchan/188.html','175.BEACH',15,1557840830101),(1200,13,'https://www.tohomh123.com/yaoguaimingchan/187.html','174.JUMP',7,1557840830118),(1201,13,'https://www.tohomh123.com/yaoguaimingchan/186.html','173.去海边',11,1557840830134),(1202,13,'https://www.tohomh123.com/yaoguaimingchan/185.html','172.埋单',11,1557840830151),(1203,13,'https://www.tohomh123.com/yaoguaimingchan/184.html','171.边吃边聊',11,1557840830167),(1204,13,'https://www.tohomh123.com/yaoguaimingchan/183.html','170.吃',11,1557840830184),(1205,13,'https://www.tohomh123.com/yaoguaimingchan/182.html','169.小巷',12,1557840830201),(1206,13,'https://www.tohomh123.com/yaoguaimingchan/181.html','168.看着你',11,1557840830217),(1207,13,'https://www.tohomh123.com/yaoguaimingchan/180.html','167.车车',10,1557840830233),(1208,13,'https://www.tohomh123.com/yaoguaimingchan/179.html','166.请救兵',10,1557840830250),(1209,13,'https://www.tohomh123.com/yaoguaimingchan/178.html','165.一家人',15,1557840830267),(1210,13,'https://www.tohomh123.com/yaoguaimingchan/177.html','164.来电显示',16,1557840830284),(1211,13,'https://www.tohomh123.com/yaoguaimingchan/176.html','163.卖',11,1557840830300),(1212,13,'https://www.tohomh123.com/yaoguaimingchan/175.html','162.龙开口',11,1557840830318),(1213,13,'https://www.tohomh123.com/yaoguaimingchan/174.html','161.起床气',11,1557840830335),(1214,13,'https://www.tohomh123.com/yaoguaimingchan/173.html','160.我有一个要求',10,1557840830352),(1215,13,'https://www.tohomh123.com/yaoguaimingchan/172.html','159.约',11,1557840830368),(1216,13,'https://www.tohomh123.com/yaoguaimingchan/171.html','158.又是相亲',10,1557840830385),(1217,13,'https://www.tohomh123.com/yaoguaimingchan/170.html','157.介绍你俩认识~',10,1557840830402),(1218,13,'https://www.tohomh123.com/yaoguaimingchan/169.html','156.封口',10,1557840830420),(1219,13,'https://www.tohomh123.com/yaoguaimingchan/167.html','155.突突突',10,1557840830437),(1220,13,'https://www.tohomh123.com/yaoguaimingchan/166.html','154.床咚',11,1557840830455),(1221,13,'https://www.tohomh123.com/yaoguaimingchan/165.html','153.事后',10,1557840830472),(1222,13,'https://www.tohomh123.com/yaoguaimingchan/164.html','152.插入充电',11,1557840830489),(1223,13,'https://www.tohomh123.com/yaoguaimingchan/163.html','151.黎明',10,1557840830507),(1224,13,'https://www.tohomh123.com/yaoguaimingchan/162.html','150.七夕快乐~',11,1557840830524),(1225,13,'https://www.tohomh123.com/yaoguaimingchan/161.html','149.不共戴天',10,1557840830541),(1226,13,'https://www.tohomh123.com/yaoguaimingchan/160.html','148.搂搂抱抱不像话',10,1557840830559),(1227,13,'https://www.tohomh123.com/yaoguaimingchan/159.html','147.炼妖',10,1557840830576),(1228,13,'https://www.tohomh123.com/yaoguaimingchan/158.html','146.充人品送手机',10,1557840830593),(1229,13,'https://www.tohomh123.com/yaoguaimingchan/157.html','145.左拥右抱',10,1557840830620),(1230,13,'https://www.tohomh123.com/yaoguaimingchan/156.html','144.抱',10,1557840830648),(1231,13,'https://www.tohomh123.com/yaoguaimingchan/155.html','143.互勉',11,1557840830672),(1232,13,'https://www.tohomh123.com/yaoguaimingchan/154.html','142.碎一地',10,1557840830691),(1233,13,'https://www.tohomh123.com/yaoguaimingchan/153.html','141.沈泪',11,1557840830708),(1234,13,'https://www.tohomh123.com/yaoguaimingchan/152.html','140.谢幕',11,1557840830726),(1235,13,'https://www.tohomh123.com/yaoguaimingchan/151.html','139.破茧而出的光芒',11,1557840830745),(1236,13,'https://www.tohomh123.com/yaoguaimingchan/149.html','138.惊坐起',11,1557840830765),(1237,13,'https://www.tohomh123.com/yaoguaimingchan/148.html','137.吐出来',10,1557840830783),(1238,13,'https://www.tohomh123.com/yaoguaimingchan/147.html','136.教育通',10,1557840830804),(1239,13,'https://www.tohomh123.com/yaoguaimingchan/146.html','135.口遁',9,1557840830825),(1240,13,'https://www.tohomh123.com/yaoguaimingchan/145.html','134.知熊莫若熊!',10,1557840830845),(1241,13,'https://www.tohomh123.com/yaoguaimingchan/144.html','133.攻略',9,1557840830865),(1242,13,'https://www.tohomh123.com/yaoguaimingchan/143.html','132.外挂限免',10,1557840830896),(1243,13,'https://www.tohomh123.com/yaoguaimingchan/142.html','131.不省心',11,1557840830921),(1244,13,'https://www.tohomh123.com/yaoguaimingchan/140.html','130.道别离',10,1557840830945),(1245,13,'https://www.tohomh123.com/yaoguaimingchan/139.html','129.帅不过三秒',10,1557840830968),(1246,13,'https://www.tohomh123.com/yaoguaimingchan/138.html','128.力量解放',9,1557840830992),(1247,13,'https://www.tohomh123.com/yaoguaimingchan/136.html','127.拉出一人',10,1557840831016),(1248,13,'https://www.tohomh123.com/yaoguaimingchan/135.html','126.duangduang',10,1557840831042),(1249,13,'https://www.tohomh123.com/yaoguaimingchan/134.html','125.说好一起到白头…',10,1557840831066),(1250,13,'https://www.tohomh123.com/yaoguaimingchan/133.html','端午贺图系列',5,1557840831090),(1251,13,'https://www.tohomh123.com/yaoguaimingchan/131.html','124.开车别催!',10,1557840831115),(1252,13,'https://www.tohomh123.com/yaoguaimingchan/130.html','123.砰砰砰',10,1557840831139),(1253,13,'https://www.tohomh123.com/yaoguaimingchan/129.html','122.转移',11,1557840831160),(1254,13,'https://www.tohomh123.com/yaoguaimingchan/128.html','121.NC粉',11,1557840831177),(1255,13,'https://www.tohomh123.com/yaoguaimingchan/127.html','120.是急救电话。',11,1557840831194),(1256,13,'https://www.tohomh123.com/yaoguaimingchan/126.html','119.作战开始',11,1557840831212),(1257,13,'https://www.tohomh123.com/yaoguaimingchan/125.html','118.抖M封',10,1557840831230),(1258,13,'https://www.tohomh123.com/yaoguaimingchan/124.html','117.跨世纪',11,1557840831248),(1259,13,'https://www.tohomh123.com/yaoguaimingchan/121.html','116.重见天日',10,1557840831266),(1260,13,'https://www.tohomh123.com/yaoguaimingchan/120.html','115.杨教授',10,1557840831284),(1261,13,'https://www.tohomh123.com/yaoguaimingchan/119.html','114.命中注定',10,1557840831301),(1262,13,'https://www.tohomh123.com/yaoguaimingchan/118.html','113.意料之中…',10,1557840831320),(1263,13,'https://www.tohomh123.com/yaoguaimingchan/117.html','112.超纲考',10,1557840831340),(1264,13,'https://www.tohomh123.com/yaoguaimingchan/116.html','111.又换衣服,摔笔!',10,1557840831366),(1265,13,'https://www.tohomh123.com/yaoguaimingchan/115.html','110.我要成为偶像',10,1557840831393),(1266,13,'https://www.tohomh123.com/yaoguaimingchan/113.html','109.身残志坚',10,1557840831422),(1267,13,'https://www.tohomh123.com/yaoguaimingchan/112.html','108.射偏',10,1557840831447),(1268,13,'https://www.tohomh123.com/yaoguaimingchan/111.html','107.私人教练',12,1557840831465),(1269,13,'https://www.tohomh123.com/yaoguaimingchan/110.html','106.争风吃醋',9,1557840831483),(1270,13,'https://www.tohomh123.com/yaoguaimingchan/109.html','105.批量',11,1557840831500),(1271,13,'https://www.tohomh123.com/yaoguaimingchan/108.html','104.变身',11,1557840831518),(1272,13,'https://www.tohomh123.com/yaoguaimingchan/107.html','103.海扁王',10,1557840831535),(1273,13,'https://www.tohomh123.com/yaoguaimingchan/106.html','102.山顶洞人',11,1557840831553),(1274,13,'https://www.tohomh123.com/yaoguaimingchan/105.html','101.血',11,1557840831571),(1275,13,'https://www.tohomh123.com/yaoguaimingchan/104.html','100.道元',11,1557840831591),(1276,13,'https://www.tohomh123.com/yaoguaimingchan/103.html','99.借机上位',10,1557840831612),(1277,13,'https://www.tohomh123.com/yaoguaimingchan/102.html','98.黑影',13,1557840831631),(1278,13,'https://www.tohomh123.com/yaoguaimingchan/101.html','97.心疼',13,1557840831663),(1279,13,'https://www.tohomh123.com/yaoguaimingchan/100.html','96.自己作主',10,1557840831683),(1280,13,'https://www.tohomh123.com/yaoguaimingchan/99.html','95.香车美人',11,1557840831700),(1281,13,'https://www.tohomh123.com/yaoguaimingchan/98.html','94.被求婚【周年活动',11,1557840831718),(1282,13,'https://www.tohomh123.com/yaoguaimingchan/97.html','93.是陷阱',12,1557840831736),(1283,13,'https://www.tohomh123.com/yaoguaimingchan/96.html','92.没有最惨',11,1557840831753),(1284,13,'https://www.tohomh123.com/yaoguaimingchan/95.html','91.比惨',11,1557840831770),(1285,13,'https://www.tohomh123.com/yaoguaimingchan/94.html','90.又加更!夸我!',10,1557840831791),(1286,13,'https://www.tohomh123.com/yaoguaimingchan/93.html','89.谢谢惠顾~',11,1557840831812),(1287,13,'https://www.tohomh123.com/yaoguaimingchan/92.html','88.雷云',12,1557840831830),(1288,13,'https://www.tohomh123.com/yaoguaimingchan/91.html','87.独孤',10,1557840831848),(1289,13,'https://www.tohomh123.com/yaoguaimingchan/90.html','86.是鸟?是飞机?是大妈!',11,1557840831867),(1290,13,'https://www.tohomh123.com/yaoguaimingchan/89.html','85.加更啦~!夸我!',10,1557840831883),(1291,13,'https://www.tohomh123.com/yaoguaimingchan/88.html','84.作战开始',11,1557840831905),(1292,13,'https://www.tohomh123.com/yaoguaimingchan/87.html','83.修罗炼狱',11,1557840831923),(1293,13,'https://www.tohomh123.com/yaoguaimingchan/86.html','82.包治百病',11,1557840831940),(1294,13,'https://www.tohomh123.com/yaoguaimingchan/85.html','81.三缺一',12,1557840831960),(1295,13,'https://www.tohomh123.com/yaoguaimingchan/84.html','80.友情毁灭之早餐',13,1557840831977),(1296,13,'https://www.tohomh123.com/yaoguaimingchan/83.html','79.这话14P!',15,1557840831994),(1297,13,'https://www.tohomh123.com/yaoguaimingchan/81.html','78.先记下,秋后算',11,1557840832012),(1298,13,'https://www.tohomh123.com/yaoguaimingchan/79.html','77.言传不如身教',12,1557840832030),(1299,13,'https://www.tohomh123.com/yaoguaimingchan/78.html','76.秘技',13,1557840832048),(1300,13,'https://www.tohomh123.com/yaoguaimingchan/77.html','75.就决定是你了,小阳人!',13,1557840832065),(1301,13,'https://www.tohomh123.com/yaoguaimingchan/76.html','74.男主角',13,1557840832089),(1302,13,'https://www.tohomh123.com/yaoguaimingchan/75.html','73.承转',12,1557840832106),(1303,13,'https://www.tohomh123.com/yaoguaimingchan/74.html','72.上铺的兄弟',13,1557840832123),(1304,13,'https://www.tohomh123.com/yaoguaimingchan/73.html','71.雨过天晴',12,1557840832141),(1305,13,'https://www.tohomh123.com/yaoguaimingchan/72.html','70.伞下人',13,1557840832159),(1306,13,'https://www.tohomh123.com/yaoguaimingchan/71.html','69.雨伞杀',13,1557840832176),(1307,13,'https://www.tohomh123.com/yaoguaimingchan/70.html','68.收割',16,1557840832194),(1308,13,'https://www.tohomh123.com/yaoguaimingchan/68.html','67.快男2',14,1557840832212),(1309,13,'https://www.tohomh123.com/yaoguaimingchan/66.html','66.请勿模仿',13,1557840832231),(1310,13,'https://www.tohomh123.com/yaoguaimingchan/65.html','65.醒来',12,1557840832247),(1311,13,'https://www.tohomh123.com/yaoguaimingchan/64.html','64.情劫',13,1557840832266),(1312,13,'https://www.tohomh123.com/yaoguaimingchan/63.html','63.严惩',12,1557840832282),(1313,13,'https://www.tohomh123.com/yaoguaimingchan/62.html','62.对不起',12,1557840832299),(1314,13,'https://www.tohomh123.com/yaoguaimingchan/61.html','61.两小无猜',12,1557840832315),(1315,13,'https://www.tohomh123.com/yaoguaimingchan/60.html','60.组合技',13,1557840832332),(1316,13,'https://www.tohomh123.com/yaoguaimingchan/59.html','59.交锋',12,1557840832351),(1317,13,'https://www.tohomh123.com/yaoguaimingchan/58.html','58.挡枪赢女友',12,1557840832368),(1318,13,'https://www.tohomh123.com/yaoguaimingchan/57.html','57.比就比!',12,1557840832386),(1319,13,'https://www.tohomh123.com/yaoguaimingchan/56.html','56.襄儿',14,1557840832403),(1320,13,'https://www.tohomh123.com/yaoguaimingchan/55.html','55.我会负责的!',14,1557840832420),(1321,13,'https://www.tohomh123.com/yaoguaimingchan/54.html','54.束缚',9,1557840832438),(1322,13,'https://www.tohomh123.com/yaoguaimingchan/53.html','53.对峙',13,1557840832455),(1323,13,'https://www.tohomh123.com/yaoguaimingchan/52.html','52.无限危机',12,1557840832475),(1324,13,'https://www.tohomh123.com/yaoguaimingchan/51.html','51.生活大爆炸',12,1557840832492),(1325,13,'https://www.tohomh123.com/yaoguaimingchan/50.html','50.带你飞',12,1557840832509),(1326,13,'https://www.tohomh123.com/yaoguaimingchan/49.html','49.这次是真保不住了——我说的',12,1557840832527),(1327,13,'https://www.tohomh123.com/yaoguaimingchan/48.html','48.学推土机哪家强?',13,1557840832544),(1328,13,'https://www.tohomh123.com/yaoguaimingchan/47.html','47.故地重游',12,1557840832562),(1329,13,'https://www.tohomh123.com/yaoguaimingchan/46.html','46.踢皮球',11,1557840832579),(1330,13,'https://www.tohomh123.com/yaoguaimingchan/45.html','45.关爱精神分裂,从我和我做起',11,1557840832598),(1331,13,'https://www.tohomh123.com/yaoguaimingchan/44.html','44.当NPC头上亮起叹号',13,1557840832615),(1332,13,'https://www.tohomh123.com/yaoguaimingchan/43.html','43.Again',13,1557840832633),(1333,13,'https://www.tohomh123.com/yaoguaimingchan/42.html','42.根本停不下来',13,1557840832650),(1334,13,'https://www.tohomh123.com/yaoguaimingchan/41.html','41.妈妈说陌生人给的吃的不要随',13,1557840832667),(1335,13,'https://www.tohomh123.com/yaoguaimingchan/40.html','40.食之东方',13,1557840832686),(1336,13,'https://www.tohomh123.com/yaoguaimingchan/39.html','39.铁胆火车侠',11,1557840832703),(1337,13,'https://www.tohomh123.com/yaoguaimingchan/38.html','38.好人卡',11,1557840832719),(1338,13,'https://www.tohomh123.com/yaoguaimingchan/37.html','037.ACE!',12,1557840832736),(1339,13,'https://www.tohomh123.com/yaoguaimingchan/36.html','36.便当',12,1557840832753),(1340,13,'https://www.tohomh123.com/yaoguaimingchan/35.html','35.光的折射',12,1557840832770),(1341,13,'https://www.tohomh123.com/yaoguaimingchan/34.html','34.送上门',12,1557840832789),(1342,13,'https://www.tohomh123.com/yaoguaimingchan/33.html','33.你是我的,任务',11,1557840832806),(1343,13,'https://www.tohomh123.com/yaoguaimingchan/32.html','32.九五年开始实行双休日',14,1557840832823),(1344,13,'https://www.tohomh123.com/yaoguaimingchan/31.html','31.另一个开始',12,1557840832841),(1345,13,'https://www.tohomh123.com/yaoguaimingchan/30.html','30.落叶归根',14,1557840832857),(1346,13,'https://www.tohomh123.com/yaoguaimingchan/29.html','29.念奴娇·合欢花',14,1557840832875),(1347,13,'https://www.tohomh123.com/yaoguaimingchan/28.html','28.这一话全是特效!',12,1557840832893),(1348,13,'https://www.tohomh123.com/yaoguaimingchan/27.html','27.拆迁办的话归',14,1557840832910),(1349,13,'https://www.tohomh123.com/yaoguaimingchan/26.html','26.请续费',12,1557840832927),(1350,13,'https://www.tohomh123.com/yaoguaimingchan/25.html','25.快男',11,1557840832944),(1351,13,'https://www.tohomh123.com/yaoguaimingchan/24.html','24.透心凉!',12,1557840832962),(1352,13,'https://www.tohomh123.com/yaoguaimingchan/23.html','23.我要上厕所!',13,1557840832979),(1353,13,'https://www.tohomh123.com/yaoguaimingchan/22.html','22.十八变',14,1557840832998),(1354,13,'https://www.tohomh123.com/yaoguaimingchan/21.html','21.未成年',13,1557840833017),(1355,13,'https://www.tohomh123.com/yaoguaimingchan/20.html','20.你有本事偷男人',13,1557840833036),(1356,13,'https://www.tohomh123.com/yaoguaimingchan/19.html','19.乘虚而入',14,1557840833055),(1357,13,'https://www.tohomh123.com/yaoguaimingchan/18.html','18.事件升级',15,1557840833073),(1358,13,'https://www.tohomh123.com/yaoguaimingchan/17.html','17.新人物!',12,1557840833091),(1359,13,'https://www.tohomh123.com/yaoguaimingchan/16.html','16.神器',13,1557840833108),(1360,13,'https://www.tohomh123.com/yaoguaimingchan/15.html','15.合欢林',11,1557840833127),(1361,13,'https://www.tohomh123.com/yaoguaimingchan/14.html','14.身外之物 不要在意',12,1557840833146),(1362,13,'https://www.tohomh123.com/yaoguaimingchan/13.html','13.拆迁办',12,1557840833165),(1363,13,'https://www.tohomh123.com/yaoguaimingchan/12.html','12.黄瓜二块五一斤',13,1557840833201),(1364,13,'https://www.tohomh123.com/yaoguaimingchan/11.html','11.初体验!',13,1557840833221),(1365,13,'https://www.tohomh123.com/yaoguaimingchan/10.html','10.以形补形',14,1557840833239),(1366,13,'https://www.tohomh123.com/yaoguaimingchan/9.html','9.亚拉那一卡?',14,1557840833259),(1367,13,'https://www.tohomh123.com/yaoguaimingchan/8.html','8.相遇',12,1557840833276),(1368,13,'https://www.tohomh123.com/yaoguaimingchan/7.html','7.演员的自我修养',13,1557840833293),(1369,13,'https://www.tohomh123.com/yaoguaimingchan/6.html','6.天降之物',13,1557840833313),(1370,13,'https://www.tohomh123.com/yaoguaimingchan/5.html','5.飞来艳福',16,1557840833331),(1371,13,'https://www.tohomh123.com/yaoguaimingchan/4.html','4.马克思主义哲学!',17,1557840833356),(1372,13,'https://www.tohomh123.com/yaoguaimingchan/3.html','3.梦中人',13,1557840833373),(1373,13,'https://www.tohomh123.com/yaoguaimingchan/2.html','2.镇寝之宝!',14,1557840833391),(1374,13,'https://www.tohomh123.com/yaoguaimingchan/1.html','1.精气',22,1557840833408),(1375,14,'https://www.tohomh123.com/biaoren/318.html','第七十话',17,1557841279555),(1376,14,'https://www.tohomh123.com/biaoren/317.html','第70话',17,1557841279567),(1377,14,'https://www.tohomh123.com/biaoren/316.html','第69话',19,1557841279573),(1378,14,'https://www.tohomh123.com/biaoren/315.html','第68话(2)',19,1557841279579),(1379,14,'https://www.tohomh123.com/biaoren/314.html','第68话(1)',12,1557841279584),(1380,14,'https://www.tohomh123.com/biaoren/313.html','第66话(3)',10,1557841279589),(1381,14,'https://www.tohomh123.com/biaoren/312.html','第66话(2)',9,1557841279593),(1382,14,'https://www.tohomh123.com/biaoren/311.html','第65话(3)',10,1557841279598),(1383,14,'https://www.tohomh123.com/biaoren/310.html','第65话(2)',9,1557841279602),(1384,14,'https://www.tohomh123.com/biaoren/309.html','第65话(1)',9,1557841279609),(1385,14,'https://www.tohomh123.com/biaoren/308.html','第63话(2)',13,1557841279614),(1386,14,'https://www.tohomh123.com/biaoren/307.html','第63话(1)',7,1557841279620),(1387,14,'https://www.tohomh123.com/biaoren/306.html','第9话三',8,1557841279625),(1388,14,'https://www.tohomh123.com/biaoren/305.html','第9话二',8,1557841279630),(1389,14,'https://www.tohomh123.com/biaoren/304.html','第9话一',8,1557841279635),(1390,14,'https://www.tohomh123.com/biaoren/303.html','第8话二',13,1557841279640),(1391,14,'https://www.tohomh123.com/biaoren/302.html','第8话一',12,1557841279644),(1392,14,'https://www.tohomh123.com/biaoren/301.html','第7话三',8,1557841279649),(1393,14,'https://www.tohomh123.com/biaoren/300.html','第7话二',7,1557841279655),(1394,14,'https://www.tohomh123.com/biaoren/299.html','第7话一',6,1557841279659),(1395,14,'https://www.tohomh123.com/biaoren/298.html','第6话二',10,1557841279665),(1396,14,'https://www.tohomh123.com/biaoren/297.html','第6话 一',12,1557841279669),(1397,14,'https://www.tohomh123.com/biaoren/296.html','第5话 四',12,1557841279674),(1398,14,'https://www.tohomh123.com/biaoren/295.html','第5话 三',11,1557841279678),(1399,14,'https://www.tohomh123.com/biaoren/294.html','第5话 二',6,1557841279683),(1400,14,'https://www.tohomh123.com/biaoren/293.html','第5话 一',9,1557841279688),(1401,14,'https://www.tohomh123.com/biaoren/292.html','第4话 下',13,1557841279693),(1402,14,'https://www.tohomh123.com/biaoren/291.html','第4话 中',14,1557841279699),(1403,14,'https://www.tohomh123.com/biaoren/290.html','第4话 上',9,1557841279704),(1404,14,'https://www.tohomh123.com/biaoren/289.html','第3话 下',15,1557841279709),(1405,14,'https://www.tohomh123.com/biaoren/288.html','第3话 上',13,1557841279713),(1406,14,'https://www.tohomh123.com/biaoren/287.html','第2话 下',12,1557841279719),(1407,14,'https://www.tohomh123.com/biaoren/286.html','第2话 上',14,1557841279723),(1408,14,'https://www.tohomh123.com/biaoren/285.html','第1话 下',24,1557841279728),(1409,14,'https://www.tohomh123.com/biaoren/284.html','第1话 上',27,1557841279734),(1410,14,'https://www.tohomh123.com/biaoren/283.html','第六十九话',19,1557841279739),(1411,14,'https://www.tohomh123.com/biaoren/282.html','第六十八话二',19,1557841279743),(1412,14,'https://www.tohomh123.com/biaoren/281.html','第69话 叔宝',19,1557841279749),(1413,14,'https://www.tohomh123.com/biaoren/280.html','第68话 劫难2',19,1557841279754),(1414,14,'https://www.tohomh123.com/biaoren/279.html','第六十八话',13,1557841279759),(1415,14,'https://www.tohomh123.com/biaoren/278.html','第66话 谛听和隗知',13,1557841279764),(1416,14,'https://www.tohomh123.com/biaoren/277.html','第65话 丙子椒林1',9,1557841279768),(1417,14,'https://www.tohomh123.com/biaoren/276.html','第63话 八柱国之刀2',13,1557841279773),(1418,14,'https://www.tohomh123.com/biaoren/275.html','第63话 八柱国之刀1',7,1557841279779),(1419,14,'https://www.tohomh123.com/biaoren/274.html','第62话 打铁人',19,1557841279783),(1420,14,'https://www.tohomh123.com/biaoren/273.html','第56话1',11,1557841279790),(1421,14,'https://www.tohomh123.com/biaoren/272.html','第52话2',12,1557841279794),(1422,14,'https://www.tohomh123.com/biaoren/271.html','第50话 家园',15,1557841279799),(1423,14,'https://www.tohomh123.com/biaoren/270.html','42话镖人',16,1557841279804),(1424,14,'https://www.tohomh123.com/biaoren/269.html','第50话',15,1557841279808),(1425,14,'https://www.tohomh123.com/biaoren/268.html','第45话',10,1557841279813),(1426,14,'https://www.tohomh123.com/biaoren/267.html','32话祈祷',16,1557841279817),(1427,14,'https://www.tohomh123.com/biaoren/266.html','番外03',8,1557841279823),(1428,14,'https://www.tohomh123.com/biaoren/265.html','第24话',19,1557841279828),(1429,14,'https://www.tohomh123.com/biaoren/264.html','第24话 掠夺者们',18,1557841279832),(1430,14,'https://www.tohomh123.com/biaoren/263.html','第23话',18,1557841279836),(1431,14,'https://www.tohomh123.com/biaoren/262.html','第22话',15,1557841279840),(1432,14,'https://www.tohomh123.com/biaoren/261.html','第21话',16,1557841279844),(1433,14,'https://www.tohomh123.com/biaoren/260.html','第20话',17,1557841279848),(1434,14,'https://www.tohomh123.com/biaoren/259.html','第19话',17,1557841279851),(1435,14,'https://www.tohomh123.com/biaoren/258.html','第18话',23,1557841279855),(1436,14,'https://www.tohomh123.com/biaoren/257.html','第17话',25,1557841279859),(1437,14,'https://www.tohomh123.com/biaoren/256.html','第16话',24,1557841279862),(1438,14,'https://www.tohomh123.com/biaoren/255.html','第15话',24,1557841279867),(1439,14,'https://www.tohomh123.com/biaoren/254.html','第14话',26,1557841279872),(1440,14,'https://www.tohomh123.com/biaoren/253.html','第13话',27,1557841279876),(1441,14,'https://www.tohomh123.com/biaoren/252.html','第12话',29,1557841279881),(1442,14,'https://www.tohomh123.com/biaoren/251.html','第11话',24,1557841279885),(1443,14,'https://www.tohomh123.com/biaoren/250.html','第10话',25,1557841279889),(1444,14,'https://www.tohomh123.com/biaoren/249.html','第09话',25,1557841279893),(1445,14,'https://www.tohomh123.com/biaoren/248.html','第08话',25,1557841279897),(1446,14,'https://www.tohomh123.com/biaoren/247.html','第07话',23,1557841279903),(1447,14,'https://www.tohomh123.com/biaoren/246.html','第06话',23,1557841279909),(1448,14,'https://www.tohomh123.com/biaoren/245.html','第05话',45,1557841279913),(1449,14,'https://www.tohomh123.com/biaoren/244.html','第04话',37,1557841279918),(1450,14,'https://www.tohomh123.com/biaoren/243.html','第03话',28,1557841279922),(1451,14,'https://www.tohomh123.com/biaoren/242.html','第02话',26,1557841279926),(1452,14,'https://www.tohomh123.com/biaoren/241.html','第01话',51,1557841279930),(1453,14,'https://www.tohomh123.com/biaoren/240.html','第68话二',20,1557841279934),(1454,14,'https://www.tohomh123.com/biaoren/239.html','第68话一',14,1557841279939),(1455,14,'https://www.tohomh123.com/biaoren/238.html','第67话',19,1557841279943),(1456,14,'https://www.tohomh123.com/biaoren/237.html','第六十七话',19,1557841279946),(1457,14,'https://www.tohomh123.com/biaoren/236.html','第六十六话三',11,1557841279951),(1458,14,'https://www.tohomh123.com/biaoren/235.html','第66话三',11,1557841279954),(1459,14,'https://www.tohomh123.com/biaoren/234.html','第六十六话二',11,1557841279958),(1460,14,'https://www.tohomh123.com/biaoren/233.html','新年快乐',4,1557841279962),(1461,14,'https://www.tohomh123.com/biaoren/232.html','第66话',15,1557841279966),(1462,14,'https://www.tohomh123.com/biaoren/231.html','第六十六话',14,1557841279970),(1463,14,'https://www.tohomh123.com/biaoren/230.html','特别篇12',10,1557841279974),(1464,14,'https://www.tohomh123.com/biaoren/229.html','特别篇十二',9,1557841279977),(1465,14,'https://www.tohomh123.com/biaoren/228.html','第六十五话三',11,1557841279982),(1466,14,'https://www.tohomh123.com/biaoren/227.html','第六十五话二',10,1557841279986),(1467,14,'https://www.tohomh123.com/biaoren/226.html','第六十五话一',10,1557841279990),(1468,14,'https://www.tohomh123.com/biaoren/225.html','第六十四话',35,1557841279995),(1469,14,'https://www.tohomh123.com/biaoren/224.html','第六十三话二',14,1557841279999),(1470,14,'https://www.tohomh123.com/biaoren/223.html','第六十三话一',8,1557841280004),(1471,14,'https://www.tohomh123.com/biaoren/222.html','第六十二话',20,1557841280009),(1472,14,'https://www.tohomh123.com/biaoren/221.html','第六十一话',26,1557841280014),(1473,14,'https://www.tohomh123.com/biaoren/220.html','第六十话',18,1557841280018),(1474,14,'https://www.tohomh123.com/biaoren/219.html','第五十九话',18,1557841280022),(1475,14,'https://www.tohomh123.com/biaoren/218.html','第五十话上',16,1557841280026),(1476,14,'https://www.tohomh123.com/biaoren/217.html','第65话三',12,1557841280031),(1477,14,'https://www.tohomh123.com/biaoren/216.html','第65话二',11,1557841280035),(1478,14,'https://www.tohomh123.com/biaoren/215.html','第65话一',10,1557841280039),(1479,14,'https://www.tohomh123.com/biaoren/214.html','第64话',35,1557841280043),(1480,14,'https://www.tohomh123.com/biaoren/213.html','第63话二',15,1557841280048),(1481,14,'https://www.tohomh123.com/biaoren/212.html','第63话一',8,1557841280052),(1482,14,'https://www.tohomh123.com/biaoren/211.html','第62话',20,1557841280056),(1483,14,'https://www.tohomh123.com/biaoren/210.html','第61话',26,1557841280060),(1484,14,'https://www.tohomh123.com/biaoren/209.html','第60话',18,1557841280065),(1485,14,'https://www.tohomh123.com/biaoren/208.html','第59话',18,1557841280069),(1486,14,'https://www.tohomh123.com/biaoren/207.html','真假四格篇',2,1557841280073),(1487,14,'https://www.tohomh123.com/biaoren/206.html','第五十八话',19,1557841280078),(1488,14,'https://www.tohomh123.com/biaoren/205.html','第五十七话',19,1557841280083),(1489,14,'https://www.tohomh123.com/biaoren/204.html','第五十六话三',13,1557841280087),(1490,14,'https://www.tohomh123.com/biaoren/203.html','第五十六话二',9,1557841280092),(1491,14,'https://www.tohomh123.com/biaoren/202.html','第五十六话一',12,1557841280096),(1492,14,'https://www.tohomh123.com/biaoren/201.html','第五十五话二',19,1557841280101),(1493,14,'https://www.tohomh123.com/biaoren/200.html','第五十五话一',12,1557841280105),(1494,14,'https://www.tohomh123.com/biaoren/199.html','第五十四话二',14,1557841280108),(1495,14,'https://www.tohomh123.com/biaoren/198.html','第五十四话一',13,1557841280112),(1496,14,'https://www.tohomh123.com/biaoren/197.html','第五十三话',31,1557841280116),(1497,14,'https://www.tohomh123.com/biaoren/196.html','第五十二话二',13,1557841280120),(1498,14,'https://www.tohomh123.com/biaoren/195.html','第五十二话一',9,1557841280124),(1499,14,'https://www.tohomh123.com/biaoren/194.html','第58话',19,1557841280128),(1500,14,'https://www.tohomh123.com/biaoren/193.html','第57话',18,1557841280133),(1501,14,'https://www.tohomh123.com/biaoren/192.html','第56话三',13,1557841280138),(1502,14,'https://www.tohomh123.com/biaoren/191.html','第56话二',9,1557841280143),(1503,14,'https://www.tohomh123.com/biaoren/190.html','第56话一',12,1557841280148),(1504,14,'https://www.tohomh123.com/biaoren/189.html','休刊公告',2,1557841280152),(1505,14,'https://www.tohomh123.com/biaoren/188.html','第55话二',19,1557841280156),(1506,14,'https://www.tohomh123.com/biaoren/187.html','第55话一',12,1557841280160),(1507,14,'https://www.tohomh123.com/biaoren/186.html','第54话二',14,1557841280165),(1508,14,'https://www.tohomh123.com/biaoren/185.html','第54话一',13,1557841280169),(1509,14,'https://www.tohomh123.com/biaoren/184.html','第53话',31,1557841280173),(1510,14,'https://www.tohomh123.com/biaoren/183.html','请假条',1,1557841280176),(1511,14,'https://www.tohomh123.com/biaoren/182.html','第52话二',13,1557841280180),(1512,14,'https://www.tohomh123.com/biaoren/181.html','第52话一',9,1557841280185),(1513,14,'https://www.tohomh123.com/biaoren/180.html','第51话二',17,1557841280189),(1514,14,'https://www.tohomh123.com/biaoren/179.html','第五十一话二',17,1557841280193),(1515,14,'https://www.tohomh123.com/biaoren/178.html','第五十一话一',17,1557841280197),(1516,14,'https://www.tohomh123.com/biaoren/177.html','特别篇十一',15,1557841280201),(1517,14,'https://www.tohomh123.com/biaoren/176.html','第五十话五',19,1557841280205),(1518,14,'https://www.tohomh123.com/biaoren/175.html','第五十话四',16,1557841280209),(1519,14,'https://www.tohomh123.com/biaoren/174.html','第五十话三',6,1557841280214),(1520,14,'https://www.tohomh123.com/biaoren/173.html','第五十话二',17,1557841280220),(1521,14,'https://www.tohomh123.com/biaoren/172.html','第五十话一',16,1557841280225),(1522,14,'https://www.tohomh123.com/biaoren/171.html','特别篇十',10,1557841280230),(1523,14,'https://www.tohomh123.com/biaoren/170.html','第四十九话',25,1557841280234),(1524,14,'https://www.tohomh123.com/biaoren/169.html','第四十八话',34,1557841280238),(1525,14,'https://www.tohomh123.com/biaoren/168.html','特别篇九',7,1557841280243),(1526,14,'https://www.tohomh123.com/biaoren/167.html','第四十七话',19,1557841280247),(1527,14,'https://www.tohomh123.com/biaoren/166.html','第四十六话',18,1557841280250),(1528,14,'https://www.tohomh123.com/biaoren/165.html','第四十五话下',11,1557841280254),(1529,14,'https://www.tohomh123.com/biaoren/164.html','第四十五话上',11,1557841280258),(1530,14,'https://www.tohomh123.com/biaoren/163.html','第四十四话',19,1557841280262),(1531,14,'https://www.tohomh123.com/biaoren/162.html','第四十三话',16,1557841280265),(1532,14,'https://www.tohomh123.com/biaoren/161.html','第四十二话',16,1557841280269),(1533,14,'https://www.tohomh123.com/biaoren/160.html','第四十一话',16,1557841280273),(1534,14,'https://www.tohomh123.com/biaoren/159.html','第四十话',21,1557841280279),(1535,14,'https://www.tohomh123.com/biaoren/158.html','第三十九话',18,1557841280285),(1536,14,'https://www.tohomh123.com/biaoren/157.html','第三十八话',17,1557841280290),(1537,14,'https://www.tohomh123.com/biaoren/156.html','第三十七话',17,1557841280294),(1538,14,'https://www.tohomh123.com/biaoren/155.html','第三十六话',17,1557841280298),(1539,14,'https://www.tohomh123.com/biaoren/154.html','第三十五话',17,1557841280302),(1540,14,'https://www.tohomh123.com/biaoren/153.html','第三十四话',17,1557841280308),(1541,14,'https://www.tohomh123.com/biaoren/152.html','第三十三话',20,1557841280312),(1542,14,'https://www.tohomh123.com/biaoren/151.html','第三十二话',16,1557841280317),(1543,14,'https://www.tohomh123.com/biaoren/150.html','第三十一话',16,1557841280321),(1544,14,'https://www.tohomh123.com/biaoren/149.html','第三十话',16,1557841280325),(1545,14,'https://www.tohomh123.com/biaoren/148.html','第二十九话',22,1557841280328),(1546,14,'https://www.tohomh123.com/biaoren/147.html','第二十八话',19,1557841280332),(1547,14,'https://www.tohomh123.com/biaoren/146.html','第二十七话',20,1557841280336),(1548,14,'https://www.tohomh123.com/biaoren/145.html','第二十六话',18,1557841280340),(1549,14,'https://www.tohomh123.com/biaoren/144.html','第二十五话',17,1557841280344),(1550,14,'https://www.tohomh123.com/biaoren/143.html','第二十四话',20,1557841280348),(1551,14,'https://www.tohomh123.com/biaoren/142.html','第二十三话',20,1557841280352),(1552,14,'https://www.tohomh123.com/biaoren/141.html','第二十二话',17,1557841280355),(1553,14,'https://www.tohomh123.com/biaoren/140.html','第二十一话',18,1557841280359),(1554,14,'https://www.tohomh123.com/biaoren/139.html','第二十话',19,1557841280363),(1555,14,'https://www.tohomh123.com/biaoren/138.html','第十九话',17,1557841280368),(1556,14,'https://www.tohomh123.com/biaoren/137.html','第十八话下',13,1557841280372),(1557,14,'https://www.tohomh123.com/biaoren/136.html','第十八话上',12,1557841280376),(1558,14,'https://www.tohomh123.com/biaoren/135.html','第十七话下',14,1557841280380),(1559,14,'https://www.tohomh123.com/biaoren/134.html','第十七话上',12,1557841280384),(1560,14,'https://www.tohomh123.com/biaoren/133.html','第十六话下',14,1557841280388),(1561,14,'https://www.tohomh123.com/biaoren/132.html','第十六话上',12,1557841280391),(1562,14,'https://www.tohomh123.com/biaoren/131.html','第十五话下',13,1557841280397),(1563,14,'https://www.tohomh123.com/biaoren/130.html','第十五话上',13,1557841280402),(1564,14,'https://www.tohomh123.com/biaoren/129.html','第十四话中',14,1557841280406),(1565,14,'https://www.tohomh123.com/biaoren/128.html','第十四话上',14,1557841280411),(1566,14,'https://www.tohomh123.com/biaoren/127.html','第十三话下',11,1557841280415),(1567,14,'https://www.tohomh123.com/biaoren/126.html','第十三话中',9,1557841280418),(1568,14,'https://www.tohomh123.com/biaoren/125.html','第十三话上',9,1557841280422),(1569,14,'https://www.tohomh123.com/biaoren/124.html','第十二话下',11,1557841280426),(1570,14,'https://www.tohomh123.com/biaoren/123.html','第十二话中',9,1557841280430),(1571,14,'https://www.tohomh123.com/biaoren/122.html','第十二话上',11,1557841280434),(1572,14,'https://www.tohomh123.com/biaoren/121.html','第十一话下',13,1557841280437),(1573,14,'https://www.tohomh123.com/biaoren/120.html','第十一话上',13,1557841280442),(1574,14,'https://www.tohomh123.com/biaoren/119.html','第十话下',13,1557841280446),(1575,14,'https://www.tohomh123.com/biaoren/118.html','第十话上',14,1557841280452),(1576,14,'https://www.tohomh123.com/biaoren/117.html','第九话下',9,1557841280457),(1577,14,'https://www.tohomh123.com/biaoren/116.html','第九话中',9,1557841280461),(1578,14,'https://www.tohomh123.com/biaoren/115.html','第九话上',9,1557841280465),(1579,14,'https://www.tohomh123.com/biaoren/114.html','第八话下',14,1557841280469),(1580,14,'https://www.tohomh123.com/biaoren/113.html','第八话上',13,1557841280473),(1581,14,'https://www.tohomh123.com/biaoren/112.html','第七话下',10,1557841280477),(1582,14,'https://www.tohomh123.com/biaoren/111.html','第七话中',9,1557841280481),(1583,14,'https://www.tohomh123.com/biaoren/110.html','第七话上',8,1557841280485),(1584,14,'https://www.tohomh123.com/biaoren/109.html','第六话下',13,1557841280488),(1585,14,'https://www.tohomh123.com/biaoren/108.html','第六话上',14,1557841280492),(1586,14,'https://www.tohomh123.com/biaoren/107.html','预告篇',11,1557841280496),(1587,14,'https://www.tohomh123.com/biaoren/106.html','第五话下',26,1557841280500),(1588,14,'https://www.tohomh123.com/biaoren/105.html','第五话中',12,1557841280504),(1589,14,'https://www.tohomh123.com/biaoren/104.html','第五话上',11,1557841280507),(1590,14,'https://www.tohomh123.com/biaoren/103.html','第四话下',15,1557841280511),(1591,14,'https://www.tohomh123.com/biaoren/102.html','第四话中',16,1557841280515),(1592,14,'https://www.tohomh123.com/biaoren/101.html','第四话上',11,1557841280519),(1593,14,'https://www.tohomh123.com/biaoren/100.html','第三话下',17,1557841280523),(1594,14,'https://www.tohomh123.com/biaoren/99.html','第三话上',15,1557841280526),(1595,14,'https://www.tohomh123.com/biaoren/98.html','第二话下',14,1557841280530),(1596,14,'https://www.tohomh123.com/biaoren/97.html','第二话上',15,1557841280534),(1597,14,'https://www.tohomh123.com/biaoren/96.html','第一话下',26,1557841280538),(1598,14,'https://www.tohomh123.com/biaoren/95.html','第一话上',29,1557841280541),(1599,14,'https://www.tohomh123.com/biaoren/94.html','第51话一',17,1557841280545),(1600,14,'https://www.tohomh123.com/biaoren/93.html','话归预告',5,1557841280549),(1601,14,'https://www.tohomh123.com/biaoren/92.html','特别篇11',15,1557841280553),(1602,14,'https://www.tohomh123.com/biaoren/91.html','第50话五',19,1557841280557),(1603,14,'https://www.tohomh123.com/biaoren/90.html','第50话四',16,1557841280561),(1604,14,'https://www.tohomh123.com/biaoren/89.html','第50话三',6,1557841280566),(1605,14,'https://www.tohomh123.com/biaoren/88.html','第50话二',18,1557841280570),(1606,14,'https://www.tohomh123.com/biaoren/87.html','第50话一',16,1557841280574),(1607,14,'https://www.tohomh123.com/biaoren/86.html','特别篇10',10,1557841280578),(1608,14,'https://www.tohomh123.com/biaoren/85.html','第49话',25,1557841280582),(1609,14,'https://www.tohomh123.com/biaoren/84.html','第48话',34,1557841280586),(1610,14,'https://www.tohomh123.com/biaoren/83.html','特别篇9',5,1557841280590),(1611,14,'https://www.tohomh123.com/biaoren/82.html','第47话',19,1557841280594),(1612,14,'https://www.tohomh123.com/biaoren/81.html','第46话',17,1557841280598),(1613,14,'https://www.tohomh123.com/biaoren/80.html','第45话二',11,1557841280601),(1614,14,'https://www.tohomh123.com/biaoren/79.html','第45话一',11,1557841280605),(1615,14,'https://www.tohomh123.com/biaoren/78.html','第44话',19,1557841280609),(1616,14,'https://www.tohomh123.com/biaoren/77.html','第43话',17,1557841280613),(1617,14,'https://www.tohomh123.com/biaoren/76.html','第42话',17,1557841280617),(1618,14,'https://www.tohomh123.com/biaoren/75.html','第41话',17,1557841280621),(1619,14,'https://www.tohomh123.com/biaoren/74.html','第40话',21,1557841280624),(1620,14,'https://www.tohomh123.com/biaoren/73.html','第39话',18,1557841280628),(1621,14,'https://www.tohomh123.com/biaoren/72.html','第38话',17,1557841280632),(1622,14,'https://www.tohomh123.com/biaoren/71.html','第37话',17,1557841280635),(1623,14,'https://www.tohomh123.com/biaoren/70.html','第36话',17,1557841280640),(1624,14,'https://www.tohomh123.com/biaoren/69.html','第35话',17,1557841280643),(1625,14,'https://www.tohomh123.com/biaoren/68.html','第34话',16,1557841280647),(1626,14,'https://www.tohomh123.com/biaoren/67.html','特别篇人设和背景',13,1557841280651),(1627,14,'https://www.tohomh123.com/biaoren/66.html','第33话',20,1557841280654),(1628,14,'https://www.tohomh123.com/biaoren/65.html','第32话',17,1557841280658),(1629,14,'https://www.tohomh123.com/biaoren/64.html','第31话',16,1557841280662),(1630,14,'https://www.tohomh123.com/biaoren/63.html','第30话',16,1557841280667),(1631,14,'https://www.tohomh123.com/biaoren/62.html','第29话',22,1557841280672),(1632,14,'https://www.tohomh123.com/biaoren/61.html','第28话',19,1557841280677),(1633,14,'https://www.tohomh123.com/biaoren/60.html','第27话',20,1557841280682),(1634,14,'https://www.tohomh123.com/biaoren/59.html','第26话',18,1557841280686),(1635,14,'https://www.tohomh123.com/biaoren/58.html','中秋特别篇',6,1557841280690),(1636,14,'https://www.tohomh123.com/biaoren/57.html','第25话',17,1557841280696),(1637,14,'https://www.tohomh123.com/biaoren/56.html','第24话一',20,1557841280701),(1638,14,'https://www.tohomh123.com/biaoren/55.html','第23话一',20,1557841280706),(1639,14,'https://www.tohomh123.com/biaoren/54.html','第22话一',17,1557841280710),(1640,14,'https://www.tohomh123.com/biaoren/53.html','第21话一',18,1557841280714),(1641,14,'https://www.tohomh123.com/biaoren/52.html','第20话一',19,1557841280718),(1642,14,'https://www.tohomh123.com/biaoren/51.html','第19话一',19,1557841280722),(1643,14,'https://www.tohomh123.com/biaoren/50.html','第18话二',13,1557841280726),(1644,14,'https://www.tohomh123.com/biaoren/49.html','第18话一',12,1557841280730),(1645,14,'https://www.tohomh123.com/biaoren/48.html','第17话二',14,1557841280734),(1646,14,'https://www.tohomh123.com/biaoren/47.html','第17话一',13,1557841280738),(1647,14,'https://www.tohomh123.com/biaoren/46.html','第16话二',14,1557841280741),(1648,14,'https://www.tohomh123.com/biaoren/45.html','第16话一',12,1557841280745),(1649,14,'https://www.tohomh123.com/biaoren/44.html','第15话二',13,1557841280749),(1650,14,'https://www.tohomh123.com/biaoren/43.html','第15话一',13,1557841280752),(1651,14,'https://www.tohomh123.com/biaoren/42.html','第14话二',14,1557841280756),(1652,14,'https://www.tohomh123.com/biaoren/41.html','第14话一',14,1557841280760),(1653,14,'https://www.tohomh123.com/biaoren/40.html','第13话三',11,1557841280764),(1654,14,'https://www.tohomh123.com/biaoren/39.html','第13话二',9,1557841280768),(1655,14,'https://www.tohomh123.com/biaoren/38.html','第13话一',9,1557841280772),(1656,14,'https://www.tohomh123.com/biaoren/37.html','第12话三',11,1557841280776),(1657,14,'https://www.tohomh123.com/biaoren/36.html','第12话二',9,1557841280780),(1658,14,'https://www.tohomh123.com/biaoren/35.html','第12话一',11,1557841280783),(1659,14,'https://www.tohomh123.com/biaoren/34.html','第11话二',13,1557841280787),(1660,14,'https://www.tohomh123.com/biaoren/33.html','第11话一',13,1557841280792),(1661,14,'https://www.tohomh123.com/biaoren/32.html','第10话二',13,1557841280796),(1662,14,'https://www.tohomh123.com/biaoren/31.html','第10话一',14,1557841280800),(1663,14,'https://www.tohomh123.com/biaoren/30.html','番外',2,1557841280804),(1664,14,'https://www.tohomh123.com/biaoren/29.html','贺岁篇',2,1557841280808),(1665,14,'https://www.tohomh123.com/biaoren/28.html','第09话三',9,1557841280811),(1666,14,'https://www.tohomh123.com/biaoren/27.html','第09话二',9,1557841280815),(1667,14,'https://www.tohomh123.com/biaoren/26.html','第09话一',9,1557841280819),(1668,14,'https://www.tohomh123.com/biaoren/25.html','第08话二',14,1557841280823),(1669,14,'https://www.tohomh123.com/biaoren/24.html','第08话一',13,1557841280826),(1670,14,'https://www.tohomh123.com/biaoren/23.html','休息一下',2,1557841280830),(1671,14,'https://www.tohomh123.com/biaoren/22.html','第07话三',10,1557841280834),(1672,14,'https://www.tohomh123.com/biaoren/21.html','第07话二',8,1557841280838),(1673,14,'https://www.tohomh123.com/biaoren/20.html','第07话一',7,1557841280842),(1674,14,'https://www.tohomh123.com/biaoren/19.html','第06话二',12,1557841280846),(1675,14,'https://www.tohomh123.com/biaoren/18.html','第06话一',13,1557841280850),(1676,14,'https://www.tohomh123.com/biaoren/17.html','预告',10,1557841280854),(1677,14,'https://www.tohomh123.com/biaoren/16.html','番外篇第一话后记',9,1557841280858),(1678,14,'https://www.tohomh123.com/biaoren/15.html','第05话四',14,1557841280862),(1679,14,'https://www.tohomh123.com/biaoren/14.html','第05话三',12,1557841280866),(1680,14,'https://www.tohomh123.com/biaoren/13.html','番外篇之武器篇',4,1557841280870),(1681,14,'https://www.tohomh123.com/biaoren/12.html','第05话二',11,1557841280873),(1682,14,'https://www.tohomh123.com/biaoren/11.html','第05话一',10,1557841280877),(1683,14,'https://www.tohomh123.com/biaoren/10.html','第04话 下',14,1557841280881),(1684,14,'https://www.tohomh123.com/biaoren/9.html','番外篇',7,1557841280885),(1685,14,'https://www.tohomh123.com/biaoren/8.html','第04话 中',15,1557841280889),(1686,14,'https://www.tohomh123.com/biaoren/7.html','第04话 上',10,1557841280893),(1687,14,'https://www.tohomh123.com/biaoren/6.html','第03话 下',16,1557841280898),(1688,14,'https://www.tohomh123.com/biaoren/5.html','第03话 上',14,1557841280902),(1689,14,'https://www.tohomh123.com/biaoren/4.html','第02话 下',13,1557841280908),(1690,14,'https://www.tohomh123.com/biaoren/3.html','第02话 上',15,1557841280913),(1691,14,'https://www.tohomh123.com/biaoren/2.html','第01话 下',25,1557841280918),(1692,14,'https://www.tohomh123.com/biaoren/1.html','第01话 上',28,1557841280923),(1693,22,'https://www.manhuagui.com/comic/24673/312466.html','Cheerio3',127,1558018678051),(1694,22,'https://www.manhuagui.com/comic/24673/312465.html','Cheerio2',126,1558018678063),(1695,22,'https://www.manhuagui.com/comic/24673/312464.html','Cheerio1',139,1558018678070),(1696,22,'https://www.manhuagui.com/comic/24673/312463.html','原画集03',121,1558018678076),(1697,22,'https://www.manhuagui.com/comic/24673/312462.html','原画集02',83,1558018678082),(1698,22,'https://www.manhuagui.com/comic/24673/312461.html','原画集01',79,1558018678087); /*!40000 ALTER TABLE `chapter` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `images` -- DROP TABLE IF EXISTS `images`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `images` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `chapter_id` int(11) DEFAULT NULL, `url` varchar(1000) DEFAULT NULL, `create_time` bigint(20) DEFAULT NULL, `page` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=107 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `images` -- LOCK TABLES `images` WRITE; /*!40000 ALTER TABLE `images` DISABLE KEYS */; INSERT INTO `images` VALUES (1,896,'https://mh3.xitangwenhua.com/upload/qingrangxingzixiaojiexingfuba/2712154/0000.jpg',1557645605844,1),(2,896,'https://mh3.xitangwenhua.com/upload/qingrangxingzixiaojiexingfuba/2712154/0001.jpg',1557645605855,2),(3,896,'https://mh3.xitangwenhua.com/upload/qingrangxingzixiaojiexingfuba/2712154/0002.jpg',1557645605861,3),(4,896,'https://mh3.xitangwenhua.com/upload/qingrangxingzixiaojiexingfuba/2712154/0003.jpg',1557645605866,4),(5,896,'https://mh3.xitangwenhua.com/upload/qingrangxingzixiaojiexingfuba/2712154/0004.jpg',1557645605871,5),(6,896,'https://mh3.xitangwenhua.com/upload/qingrangxingzixiaojiexingfuba/2712154/0005.jpg',1557645605875,6),(7,896,'https://mh3.xitangwenhua.com/upload/qingrangxingzixiaojiexingfuba/2712154/0006.jpg',1557645605880,7),(8,1375,'https://mh1.xitangwenhua.com/upload/biaoren/319/0000.jpg',1557841324593,1),(9,1375,'https://mh1.xitangwenhua.com/upload/biaoren/319/0001.jpg',1557841324603,2),(10,1375,'https://mh1.xitangwenhua.com/upload/biaoren/319/0002.jpg',1557841324610,3),(11,1375,'https://mh1.xitangwenhua.com/upload/biaoren/319/0003.jpg',1557841324616,4),(12,1375,'https://mh1.xitangwenhua.com/upload/biaoren/319/0004.jpg',1557841324622,5),(13,1375,'https://mh1.xitangwenhua.com/upload/biaoren/319/0005.jpg',1557841324628,6),(14,1375,'https://mh1.xitangwenhua.com/upload/biaoren/319/0006.jpg',1557841324637,7),(15,1375,'https://mh1.xitangwenhua.com/upload/biaoren/319/0007.jpg',1557841324644,8),(16,1375,'https://mh1.xitangwenhua.com/upload/biaoren/319/0008.jpg',1557841324652,9),(17,1375,'https://mh1.xitangwenhua.com/upload/biaoren/319/0009.jpg',1557841324657,10),(18,1375,'https://mh1.xitangwenhua.com/upload/biaoren/319/0010.jpg',1557841324665,11),(19,1375,'https://mh1.xitangwenhua.com/upload/biaoren/319/0011.jpg',1557841324671,12),(20,1375,'https://mh1.xitangwenhua.com/upload/biaoren/319/0012.jpg',1557841324678,13),(21,1375,'https://mh1.xitangwenhua.com/upload/biaoren/319/0013.jpg',1557841324683,14),(22,1375,'https://mh1.xitangwenhua.com/upload/biaoren/319/0014.jpg',1557841324689,15),(23,1375,'https://mh1.xitangwenhua.com/upload/biaoren/319/0015.jpg',1557841324695,16),(24,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-001-5168.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768627,1),(25,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-002-cca4.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768633,2),(26,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-003-6705.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768638,3),(27,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-004-459f.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768645,4),(28,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-005-6be8.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768650,5),(29,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-006-7d41.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768654,6),(30,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-007-b6df.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768659,7),(31,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-008-b954.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768663,8),(32,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-009-7bdf.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768667,9),(33,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-010-9cfa.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768670,10),(34,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-011-0b50.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768674,11),(35,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-012-19a2.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768678,12),(36,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-013-6ee7.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768681,13),(37,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-014-a9a0.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768685,14),(38,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-015-c23f.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768688,15),(39,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-016-b94b.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768692,16),(40,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-017-3d13.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768696,17),(41,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-018-3f8b.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768700,18),(42,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-019-36e9.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768704,19),(43,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-020-8219.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768707,20),(44,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-021-ba9e.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768711,21),(45,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-022-3fa8.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768715,22),(46,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-023-8582.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768718,23),(47,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-024-6892.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768722,24),(48,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-025-893a.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768727,25),(49,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-026-9ab4.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768731,26),(50,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-027-3ef2.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768735,27),(51,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-028-3a8d.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768738,28),(52,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-029-083c.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768742,29),(53,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-030-f4fb.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768746,30),(54,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-031-c394.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768750,31),(55,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-032-a9c4.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768754,32),(56,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-033-ea3f.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768758,33),(57,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-034-d70d.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768762,34),(58,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-035-5c40.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768766,35),(59,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-036-c61f.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768770,36),(60,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-037-6aad.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768773,37),(61,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-038-699d.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768777,38),(62,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-039-e9b2.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768781,39),(63,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-040-e1c2.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768784,40),(64,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-041-e86c.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768788,41),(65,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-042-39a8.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768792,42),(66,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-043-d361.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768796,43),(67,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-044-f972.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768799,44),(68,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-045-77b4.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768803,45),(69,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-046-6433.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768807,46),(70,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-047-c63c.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768810,47),(71,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-048-d15d.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768814,48),(72,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-049-1469.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768817,49),(73,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-050-cbbe.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768821,50),(74,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-051-bf7c.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768825,51),(75,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-052-dc9a.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768828,52),(76,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-053-79da.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768832,53),(77,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-054-e6a4.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768836,54),(78,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-055-be22.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768840,55),(79,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-056-f27d.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768844,56),(80,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-057-122e.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768848,57),(81,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-058-9ea6.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768852,58),(82,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-059-4a9e.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768855,59),(83,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-060-db72.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768859,60),(84,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-061-866a.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768864,61),(85,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-062-4d37.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768867,62),(86,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-063-35fa.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768872,63),(87,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-064-c862.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768876,64),(88,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-065-4f5a.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768880,65),(89,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-066-b60a.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768884,66),(90,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-067-3799.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768887,67),(91,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-068-ac8d.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768891,68),(92,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-069-c5ea.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768894,69),(93,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-070-d408.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768898,70),(94,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-071-57fe.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768902,71),(95,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-072-26b2.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768905,72),(96,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-073-e5d8.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768909,73),(97,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-074-fbcf.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768913,74),(98,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-075-1f7a.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768917,75),(99,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-076-747a.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768920,76),(100,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-077-aac1.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768924,77),(101,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-078-8f65.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768928,78),(102,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-079-4438.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768931,79),(103,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-080-21ee.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768935,80),(104,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-081-d331.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768938,81),(105,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-082-7669.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768942,82),(106,1697,'https://i.hamreus.com/ps2/m/CARDCAPTOR/yhj/原画集02/seemh-083-c29a.jpg.webp?cid=312462&md5=6-h6AqUgvvyEyTUW5YsBXw',1558018768948,83); /*!40000 ALTER TABLE `images` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `search` -- DROP TABLE IF EXISTS `search`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `search` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `url` varchar(1000) DEFAULT NULL, `title` varchar(1000) DEFAULT NULL, `introduce` varchar(1000) DEFAULT NULL, `create_time` bigint(20) unsigned DEFAULT NULL, `area` varchar(100) DEFAULT NULL, `author` varchar(100) DEFAULT NULL, `category` varchar(100) DEFAULT NULL, `cover` varchar(1000) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=46 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `search` -- LOCK TABLES `search` WRITE; /*!40000 ALTER TABLE `search` DISABLE KEYS */; INSERT INTO `search` VALUES (1,'https://www.manhuagui.com/comic/20224/','博人传BORUTO(BORUTO-NARUTO NEXT GENERATIONS- 博人传-火影忍者新生代- )','简介:七代目火影漩涡鸣人治理的木叶村。那是经历了战争的历史之后人们讴歌和平的时代。但是鸣人与其儿子漩涡博人的关系却并不和平…[详情]',1557637834659,'地区:日本漫画','作者:岸本齐史,池本幹雄','类型:冒险,格斗',NULL),(2,'https://www.manhuagui.com/comic/21432/','火影忍者秘传‧阵之书','简介:火影忍者角色设定公式集「秘传・阵之书」,收录了纵横在忍界的270位角色以及232种术,是历代最大规模的设定集![详情]',1557637834659,'地区:日本漫画','作者:岸本齐史','类型:格斗',NULL),(3,'https://www.manhuagui.com/comic/19187/','火影忍者外传~第七代火影与绯色的花月~','简介:震荡世界的忍界大战结束後,已经过了好一段时间,现在人们正享受着和平的世界。木叶忍者村也开始培育新一代的忍者。但是,拥有写轮眼的不明人物却开始蠢动,佐助和小樱的女儿.纱罗妲被盯上了!?[详情]',1557637834660,'地区:日本漫画','作者:岸本斉史','类型:冒险,格斗',NULL),(4,'https://www.manhuagui.com/comic/22356/','与你的未来(火影忍者同人)','简介:火影忍者“虐狗(划掉)”同人漫画,太治愈了!大家一定要看![详情]',1557637834660,'地区:日本漫画','作者:里美','类型:爱情,治愈',NULL),(5,'https://www.manhuagui.com/comic/1305/','火影忍者秘传・者之书(火影忍者-者之书)','简介:《者之书》是日本漫画《火影忍者》的第4部官方资料设定集,由原作作者岸本齐史亲编。由集英社出版,于2008年9月在日本发售。其中收录的人物以及相关数据自漫画第二部开头的鸣人归乡开始,至“兄弟之战”、斑道出宇智波鼬的真相结束。[详情]',1557637834666,'地区:日本漫画','作者:岸本齐史','类型:热血,格斗',NULL),(6,'https://www.manhuagui.com/comic/1390/','火影忍者-临之书','简介:《临之书》是日本漫画《火影忍者》发布的第一部官方资料集,由原作作者岸本齐史亲编。由集英社出版。其中收录的数据及人物相关数据自鸣人毕业到中忍考试第三场(8月6日)结束。[详情]',1557637834668,'地区:日本漫画','作者:岸本齐史','类型:热血,格斗,武侠',NULL),(7,'https://www.manhuagui.com/comic/4952/','火影忍者-皆之书','简介:继火影忍者临之书、兵之书、斗之书、者之书后,岸本齐史推出最新的火影忍者资料集:《皆之书》为日本人气漫画《火影忍者》的官方角色资料片,由原作作者岸本齐史亲编。由集英社出版,将在09年12月份发售。[详情]',1557637834668,'地区:日本漫画','作者:岸本齐史','类型:热血,格斗',NULL),(8,'https://www.manhuagui.com/comic/1391/','火影忍者-斗之书','简介:《斗之书》为日本人气漫画《火影忍者》的官方角色资料片,由原作作者岸本齐史亲编,由集英社出版。详细介绍了《火影忍者》里的人物和术。[详情]',1557637834671,'地区:日本漫画','作者:岸本齐史','类型:热血,格斗,武侠',NULL),(9,'https://www.manhuagui.com/comic/1316/','火影忍者兵之书','简介:这是一个忍者的世界。在这里,忍者的职业是所有少年们的梦想!“女人,跟我走!”乌尔奇奥拉·西法——《死神》。主人公鸣人因为身上封印着邪恶的九尾狐,无父无母的他受尽了村人的冷落。无可奈何之下,鸣人拼命用各种恶作剧试图吸引大家的注意力。在依卡鲁老师的关心下,鸣人始终保持着乐观的精神。为了让更多的人认可自己,他下定决心要成为第五代火影!火影是世界上最强的五位忍者之一的封号,也是木和忍者村的首领。鸣人怀着过人的自信与勇气开始了训练,但一切要比他想象的要困难的多! 鸣人的同伴,是有老师来确定同班同学—酷酷的帅哥佐助和聪明可爱的小孩小樱,虽然鸣人对小樱颇有好感,无奈小樱只关心佐助一人而已! 不久[详情]',1557637834672,'地区:日本漫画','作者:岸本齐史','类型:热血,格斗',NULL),(10,'https://www.manhuagui.com/comic/14982/','宇智波佐助的写轮眼传(火影忍者衍生漫画)','简介:宇智波佐助…将化身进入爆笑的世界!!?[详情]',1557637834664,'地区:日本漫画','作者:平健史','类型:冒险,搞笑',NULL),(11,'https://www.tohomh123.com/yirenzhixia/','一人之下',NULL,1557643183657,NULL,NULL,NULL,NULL),(12,'https://www.tohomh123.com/qingrangxingzixiaojiexingfuba/','请让幸子小姐幸福吧',NULL,1557645459311,NULL,NULL,NULL,NULL),(13,'https://www.tohomh123.com/yaoguaimingchan/','妖怪名单',NULL,1557840689178,NULL,NULL,NULL,NULL),(14,'https://www.tohomh123.com/biaoren/','镖人',NULL,1557841129606,NULL,NULL,NULL,NULL),(15,'https://www.tohomh123.com/zuiainidenashinian/','最爱你的那十年',NULL,1558014935317,NULL,NULL,NULL,'https://mh1.xitangwenhua.com/pic/manhua/images/532953201938.jpg'),(16,'https://www.tohomh123.com/youzaishoushichongchongtianshengshengzai/','悠哉兽世:种种田,生生崽',NULL,1558014940416,NULL,NULL,NULL,'https://mh1.xitangwenhua.com/pic/manhua/images/2707352019425.jpg'),(17,'https://www.tohomh123.com/dierrensheng/','第二人生',NULL,1558014946502,NULL,NULL,NULL,'https://mh1.xitangwenhua.com/pic/manhua/images/915587201958.jpg'),(18,'https://www.tohomh123.com/zhendechouguniang/','朕的丑姑娘',NULL,1558014948309,NULL,NULL,NULL,'https://mh1.xitangwenhua.com/pic/manhua/images/5409372019228.jpg'),(19,'https://www.tohomh123.com/shidaiyaonie/','时代妖孽',NULL,1558014950142,NULL,NULL,NULL,'https://mh1.xitangwenhua.com/pic/manhua/images/2544832019227.jpg'),(20,'https://www.tohomh123.com/yuanzun/','元尊',NULL,1558014951953,NULL,NULL,NULL,'https://mh1.xitangwenhua.com/upload/yuanzun/cover.jpg'),(21,'https://www.tohomh123.com/shenbilianren/','神秘恋人',NULL,1558014953797,NULL,NULL,NULL,'https://mh1.xitangwenhua.com/pic/manhua/images/438196201938.jpg'),(22,'https://www.manhuagui.com/comic/24673/','魔卡少女樱原画集(百变小樱)','简介:魔卡少女樱(百变小樱)原画集[详情]',1558018659016,'地区:日本漫画','作者:CLAMP','类型:爱情,魔法','https://cf.hamreus.com/cpic/b/24673.jpg'),(23,'https://www.manhuagui.com/comic/20224/','博人传BORUTO(BORUTO-NARUTO NEXT GENERATIONS- 博人传-火影忍者新生代- )','七代目火影漩涡鸣人治理的木叶村。那是经历了战争的历史之后人们讴歌和平的时代。但是鸣人与其儿子漩涡博人的关系却并不和平…[详情]',1558278585704,'日本漫画','岸本齐史,池本幹雄','冒险,格斗','https://cf.hamreus.com/cpic/b/20224.jpg'),(24,'https://www.manhuagui.com/comic/22356/','与你的未来(火影忍者同人)','火影忍者“虐狗(划掉)”同人漫画,太治愈了!大家一定要看![详情]',1558278585716,'日本漫画','里美','爱情,治愈','https://cf.hamreus.com/cpic/b/22356.jpg'),(25,'https://www.manhuagui.com/comic/21432/','火影忍者秘传‧阵之书','火影忍者角色设定公式集「秘传・阵之书」,收录了纵横在忍界的270位角色以及232种术,是历代最大规模的设定集![详情]',1558278585722,'日本漫画','岸本齐史','格斗','https://cf.hamreus.com/cpic/b/21432.jpg'),(26,'https://www.manhuagui.com/comic/14982/','宇智波佐助的写轮眼传(火影忍者衍生漫画)','宇智波佐助…将化身进入爆笑的世界!!?[详情]',1558278585727,'日本漫画','平健史','冒险,搞笑','https://cf.hamreus.com/cpic/b/14982.jpg'),(27,'https://www.manhuagui.com/comic/19187/','火影忍者外传~第七代火影与绯色的花月~','震荡世界的忍界大战结束後,已经过了好一段时间,现在人们正享受着和平的世界。木叶忍者村也开始培育新一代的忍者。但是,拥有写轮眼的不明人物却开始蠢动,佐助和小樱的女儿.纱罗妲被盯上了!?[详情]',1558278585732,'日本漫画','岸本斉史','冒险,格斗','https://cf.hamreus.com/cpic/b/19187.jpg'),(28,'https://www.manhuagui.com/comic/1305/','火影忍者秘传・者之书(火影忍者-者之书)','《者之书》是日本漫画《火影忍者》的第4部官方资料设定集,由原作作者岸本齐史亲编。由集英社出版,于2008年9月在日本发售。其中收录的人物以及相关数据自漫画第二部开头的鸣人归乡开始,至“兄弟之战”、斑道出宇智波鼬的真相结束。[详情]',1558278585736,'日本漫画','岸本齐史','热血,格斗','https://cf.hamreus.com/cpic/b/1305.jpg'),(29,'https://www.manhuagui.com/comic/1390/','火影忍者-临之书','《临之书》是日本漫画《火影忍者》发布的第一部官方资料集,由原作作者岸本齐史亲编。由集英社出版。其中收录的数据及人物相关数据自鸣人毕业到中忍考试第三场(8月6日)结束。[详情]',1558278585741,'日本漫画','岸本齐史','热血,格斗,武侠','https://cf.hamreus.com/cpic/b/1390.jpg'),(30,'https://www.manhuagui.com/comic/1391/','火影忍者-斗之书','《斗之书》为日本人气漫画《火影忍者》的官方角色资料片,由原作作者岸本齐史亲编,由集英社出版。详细介绍了《火影忍者》里的人物和术。[详情]',1558278585745,'日本漫画','岸本齐史','热血,格斗,武侠','https://cf.hamreus.com/cpic/b/1391.jpg'),(31,'https://www.manhuagui.com/comic/4952/','火影忍者-皆之书','继火影忍者临之书、兵之书、斗之书、者之书后,岸本齐史推出最新的火影忍者资料集:《皆之书》为日本人气漫画《火影忍者》的官方角色资料片,由原作作者岸本齐史亲编。由集英社出版,将在09年12月份发售。[详情]',1558278585750,'日本漫画','岸本齐史','热血,格斗','https://cf.hamreus.com/cpic/b/4952.jpg'),(32,'https://www.manhuagui.com/comic/1316/','火影忍者兵之书','这是一个忍者的世界。在这里,忍者的职业是所有少年们的梦想!“女人,跟我走!”乌尔奇奥拉·西法——《死神》。主人公鸣人因为身上封印着邪恶的九尾狐,无父无母的他受尽了村人的冷落。无可奈何之下,鸣人拼命用各种恶作剧试图吸引大家的注意力。在依卡鲁老师的关心下,鸣人始终保持着乐观的精神。为了让更多的人认可自己,他下定决心要成为第五代火影!火影是世界上最强的五位忍者之一的封号,也是木和忍者村的首领。鸣人怀着过人的自信与勇气开始了训练,但一切要比他想象的要困难的多! 鸣人的同伴,是有老师来确定同班同学—酷酷的帅哥佐助和聪明可爱的小孩小樱,虽然鸣人对小樱颇有好感,无奈小樱只关心佐助一人而已! 不久[详情]',1558278585754,'日本漫画','岸本齐史','热血,格斗','https://cf.hamreus.com/cpic/b/1316.jpg'),(33,'https://www.manhuagui.com/comic/20224/','博人传BORUTO(BORUTO-NARUTO NEXT GENERATIONS- 博人传-火影忍者新生代- )','七代目火影漩涡鸣人治理的木叶村。那是经历了战争的历史之后人们讴歌和平的时代。但是鸣人与其儿子漩涡博人的关系却并不和平…[详情]',1558623585942,'日本漫画','岸本齐史,池本幹雄','冒险,格斗','https://cf.hamreus.com/cpic/b/20224.jpg'),(34,'https://www.manhuagui.com/comic/22356/','与你的未来(火影忍者同人)','火影忍者“虐狗(划掉)”同人漫画,太治愈了!大家一定要看![详情]',1558623585951,'日本漫画','里美','爱情,治愈','https://cf.hamreus.com/cpic/b/22356.jpg'),(35,'https://www.manhuagui.com/comic/21432/','火影忍者秘传‧阵之书','火影忍者角色设定公式集「秘传・阵之书」,收录了纵横在忍界的270位角色以及232种术,是历代最大规模的设定集![详情]',1558623585957,'日本漫画','岸本齐史','格斗','https://cf.hamreus.com/cpic/b/21432.jpg'),(36,'https://www.manhuagui.com/comic/14982/','宇智波佐助的写轮眼传(火影忍者衍生漫画)','宇智波佐助…将化身进入爆笑的世界!!?[详情]',1558623585961,'日本漫画','平健史','冒险,搞笑','https://cf.hamreus.com/cpic/b/14982.jpg'),(37,'https://www.manhuagui.com/comic/19187/','火影忍者外传~第七代火影与绯色的花月~','震荡世界的忍界大战结束後,已经过了好一段时间,现在人们正享受着和平的世界。木叶忍者村也开始培育新一代的忍者。但是,拥有写轮眼的不明人物却开始蠢动,佐助和小樱的女儿.纱罗妲被盯上了!?[详情]',1558623585966,'日本漫画','岸本斉史','冒险,格斗','https://cf.hamreus.com/cpic/b/19187.jpg'),(38,'https://www.manhuagui.com/comic/1305/','火影忍者秘传・者之书(火影忍者-者之书)','《者之书》是日本漫画《火影忍者》的第4部官方资料设定集,由原作作者岸本齐史亲编。由集英社出版,于2008年9月在日本发售。其中收录的人物以及相关数据自漫画第二部开头的鸣人归乡开始,至“兄弟之战”、斑道出宇智波鼬的真相结束。[详情]',1558623585971,'日本漫画','岸本齐史','热血,格斗','https://cf.hamreus.com/cpic/b/1305.jpg'),(39,'https://www.manhuagui.com/comic/1390/','火影忍者-临之书','《临之书》是日本漫画《火影忍者》发布的第一部官方资料集,由原作作者岸本齐史亲编。由集英社出版。其中收录的数据及人物相关数据自鸣人毕业到中忍考试第三场(8月6日)结束。[详情]',1558623585975,'日本漫画','岸本齐史','热血,格斗,武侠','https://cf.hamreus.com/cpic/b/1390.jpg'),(40,'https://www.manhuagui.com/comic/1391/','火影忍者-斗之书','《斗之书》为日本人气漫画《火影忍者》的官方角色资料片,由原作作者岸本齐史亲编,由集英社出版。详细介绍了《火影忍者》里的人物和术。[详情]',1558623585979,'日本漫画','岸本齐史','热血,格斗,武侠','https://cf.hamreus.com/cpic/b/1391.jpg'),(41,'https://www.manhuagui.com/comic/4952/','火影忍者-皆之书','继火影忍者临之书、兵之书、斗之书、者之书后,岸本齐史推出最新的火影忍者资料集:《皆之书》为日本人气漫画《火影忍者》的官方角色资料片,由原作作者岸本齐史亲编。由集英社出版,将在09年12月份发售。[详情]',1558623585985,'日本漫画','岸本齐史','热血,格斗','https://cf.hamreus.com/cpic/b/4952.jpg'),(42,'https://www.manhuagui.com/comic/1316/','火影忍者兵之书','这是一个忍者的世界。在这里,忍者的职业是所有少年们的梦想!“女人,跟我走!”乌尔奇奥拉·西法——《死神》。主人公鸣人因为身上封印着邪恶的九尾狐,无父无母的他受尽了村人的冷落。无可奈何之下,鸣人拼命用各种恶作剧试图吸引大家的注意力。在依卡鲁老师的关心下,鸣人始终保持着乐观的精神。为了让更多的人认可自己,他下定决心要成为第五代火影!火影是世界上最强的五位忍者之一的封号,也是木和忍者村的首领。鸣人怀着过人的自信与勇气开始了训练,但一切要比他想象的要困难的多! 鸣人的同伴,是有老师来确定同班同学—酷酷的帅哥佐助和聪明可爱的小孩小樱,虽然鸣人对小樱颇有好感,无奈小樱只关心佐助一人而已! 不久[详情]',1558623585991,'日本漫画','岸本齐史','热血,格斗','https://cf.hamreus.com/cpic/b/1316.jpg'),(43,'https://www.manhuagui.com/comic/21175/','镖人','“镖”,指的是受雇的武夫,其保护的目标,亦指官府悬赏通缉的目标。隋末民乱前夕,江湖上掀起了一阵腥风血雨,各路人马的恩怨情仇逐渐展开。 [详情]',1558623605107,'内地漫画','新漫画,许先哲','武侠,悬疑,历史','https://cf.hamreus.com/cpic/b/21175.jpg'),(44,'https://www.tohomh123.com/yaoshenji/','妖神记',NULL,1558970670403,NULL,NULL,NULL,'https://mh1.xitangwenhua.com/upload/yaoshenji/cover.jpg'),(45,'https://www.tohomh123.com/baieji/','白垩纪',NULL,1558972987165,NULL,NULL,NULL,'https://mh1.xitangwenhua.com/upload/baiji/cover.jpg'); /*!40000 ALTER TABLE `search` 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 2019-05-28 21:42:29
<gh_stars>10-100 SELECT a * b IS NULL as mul FROM is_bench;
<reponame>IASA-GR/appdb-core /* Copyright (C) 2015 IASA - Institute of Accelerating Systems and Applications (http://www.iasa.gr) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ /* EGI AppDB incremental SQL script Previous version: 8.23.3 New version: 8.23.4 Author: <EMAIL> */ START TRANSACTION; CREATE OR REPLACE FUNCTION public.consume_app(xml_in text, http_method integer, userid integer) RETURNS text LANGUAGE plpgsql AS $function$ DECLARE i INT; rec RECORD; xtmp XML[]; xtmp2 XML[]; x XML; xapp XML; _appid INT; _appguid UUID; userguid uuid; jtmp JSON; _metatype INT; _intauths INT[]; _extauths TEXT[]; RM_POST CONSTANT INT := 2; RM_PUT CONSTANT INT := 4; RM_DELETE CONSTANT INT := 8; RE_OK CONSTANT INT := 0; RE_ACCESS_DENIED CONSTANT INT := 1; RE_ITEM_NOT_FOUND CONSTANT INT := 2; RE_INVALID_REPRESENTATION CONSTANT INT := 3; RE_INVALID_METHOD CONSTANT INT := 4; RE_INVALID_RESOURCE CONSTANT INT := 5; RE_BACKEND_ERROR CONSTANT INT := 6; RE_INVALID_OPERATION CONSTANT INT := 7; BEGIN IF NOT $3 IS NULL THEN userguid := (SELECT guid FROM researchers WHERE id = $3); END IF; IF $2 NOT IN (RM_PUT, RM_POST, RM_DELETE) THEN RAISE EXCEPTION 'APPDB_REST_API_ERROR %', RE_INVALID_METHOD; END IF; BEGIN xtmp := xpath('//application:application', REPLACE($1, 'xmlns:appdb:', 'xmlns:appdb=')::XML, appdb_xpathns()); EXCEPTION WHEN OTHERS THEN RAISE EXCEPTION 'APPDB_REST_API_ERROR %', RE_INVALID_REPRESENTATION; END; IF ARRAY_LENGTH(xtmp, 1) = 0 THEN RAISE NOTICE 'EXCEPTION1'; RAISE EXCEPTION 'APPDB_REST_API_ERROR %', RE_INVALID_REPRESENTATION; END IF; xapp := xtmp[1]; IF xpath_exists('//application:application/@metatype', xapp, appdb_xpathns()) THEN _metatype := COALESCE((((xpath('//application:application/@metatype', xapp, appdb_xpathns()))[1])::TEXT)::INT, 0); END IF; IF ($2 = RM_PUT AND ((NOT xpath_exists('//application:application/discipline:discipline', xapp, appdb_xpathns())) OR (NOT xpath_exists('//application:application/application:category', xapp, appdb_xpathns())))) THEN RAISE EXCEPTION 'APPDB_REST_API_ERROR %', RE_INVALID_REPRESENTATION; END IF; IF $2 = RM_POST THEN x := (xpath('//application:application/@id', xapp, appdb_xpathns()))[1]; IF (x IS NULL) OR NOT (x::TEXT ~ '^[0-9]+$') THEN RAISE EXCEPTION 'APPDB_REST_API_ERROR %', RE_INVALID_REPRESENTATION; END IF; _appid := (x::TEXT)::INT; IF xpath_exists('//application:application/application:name/text()', xapp, appdb_xpathns()) THEN jtmp := validate_app_name(REGEXP_REPLACE( unescapexml(((xpath('//application:application/application:name/text()', xapp, appdb_xpathns()))[1])::TEXT), '-DELETED-.{8}-.{4}-.{4}-.{4}-.{12}', '' ), _appid)::JSON; IF NOT (jtmp->>'valid')::BOOLEAN THEN RAISE EXCEPTION 'APPDB_REST_API_ERROR %, %', RE_BACKEND_ERROR, jtmp->>'reason'; END IF; END IF; UPDATE applications a SET name = CASE WHEN EXISTS (SELECT 1 FROM permissions WHERE actor = userguid AND actionid = 5 AND ((object IS NULL) OR object = a.guid)) THEN COALESCE(unescapexml(((xpath('//application:application/application:name/text()', xapp, appdb_xpathns()))[1])::TEXT), a.name) ELSE a.name END , description = CASE WHEN EXISTS (SELECT 1 FROM permissions WHERE actor = userguid AND actionid = 6 AND ((object IS NULL) OR object = a.guid)) THEN COALESCE(unescapexml(((xpath('//application:application/application:description/text()', xapp, appdb_xpathns()))[1])::TEXT), a.description) ELSE a.description END, abstract = CASE WHEN EXISTS (SELECT 1 FROM permissions WHERE actor = userguid AND actionid = 7 AND ((object IS NULL) OR object = a.guid)) THEN COALESCE(unescapexml(((xpath('//application:application/application:abstract/text()', xapp, appdb_xpathns()))[1])::TEXT), a.abstract) ELSE a.abstract END, statusid = CASE WHEN EXISTS (SELECT 1 FROM permissions WHERE actor = userguid AND actionid = 9 AND ((object IS NULL) OR object = a.guid)) THEN COALESCE((((xpath('//application:application/application:status/@id', xapp, appdb_xpathns()))[1])::TEXT)::INT, a.statusid) ELSE a.statusid END, tool = COALESCE((((xpath('//application:application/@tool', xapp, appdb_xpathns()))[1])::TEXT)::BOOLEAN, a.tool), lastupdated = NOW(), tagpolicy = CASE WHEN $3 IN (a.addedby, a."owner") OR EXISTS (SELECT 1 FROM actor_group_members WHERE actorid = userguid AND groupid IN (-1, -2)) THEN COALESCE((((xpath('//application:application/@tagPolicy', xapp, appdb_xpathns()))[1])::TEXT)::INT, a.tagpolicy) ELSE a.tagpolicy END, "owner" = CASE WHEN EXISTS (SELECT 1 FROM permissions WHERE actor = userguid AND actionid = 23 AND ((object IS NULL) OR object = a.guid)) THEN COALESCE((((xpath('//application:application/application:owner/@id', xapp, appdb_xpathns()))[1])::TEXT)::INT, a."owner") ELSE a."owner" END, metatype = CASE WHEN _metatype IN (0,1,2) THEN _metatype ELSE a.metatype END WHERE id = _appid; ELSIF $2 = RM_PUT THEN IF EXISTS (SELECT 1 FROM permissions WHERE actor = userguid AND actionid = 3) THEN -- Insert Software permission jtmp := validate_app_name(REGEXP_REPLACE( unescapexml(((xpath('//application:application/application:name/text()', xapp, appdb_xpathns()))[1])::TEXT), '-DELETED-.{8}-.{4}-.{4}-.{4}-.{12}', '' ))::JSON; IF NOT (jtmp->>'valid')::BOOLEAN THEN RAISE EXCEPTION 'APPDB_REST_API_ERROR %, %', RE_BACKEND_ERROR, jtmp->>'reason'; END IF; INSERT INTO applications (name, description, abstract, statusid, dateadded, addedby, tool, tagpolicy, metatype, "owner", cname) VALUES ( unescapexml(((xpath('//application:application/application:name/text()', xapp, appdb_xpathns()))[1])::TEXT), unescapexml(((xpath('//application:application/application:description/text()', xapp, appdb_xpathns()))[1])::TEXT), unescapexml(((xpath('//application:application/application:abstract/text()', xapp, appdb_xpathns()))[1])::TEXT), COALESCE((((xpath('//application:application/application:status/@id', xapp, appdb_xpathns()))[1])::TEXT)::INT, 6), NOW(), $3, COALESCE((((xpath('//application:application/@tool', xapp, appdb_xpathns()))[1])::TEXT)::BOOLEAN, FALSE), COALESCE((((xpath('//application:application/@tagPolicy', xapp, appdb_xpathns()))[1])::TEXT)::INT, 2), CASE WHEN _metatype IN (0,1,2) THEN _metatype ELSE 0 END, COALESCE((((xpath('//application:application/application:owner/@id', xapp, appdb_xpathns()))[1])::TEXT)::INT, $3), unescapexml(((xpath('//application:application/@cname', xapp, appdb_xpathns()))[1])::TEXT) ) RETURNING id INTO _appid; ELSE RAISE EXCEPTION 'APPDB_REST_API_ERROR %', RE_ACCESS_DENIED; END IF; END IF; _appguid := (SELECT guid FROM applications WHERE id = _appid); IF can_mod_app_tags(_appid, $3) THEN IF xpath_exists('//application:application/application:tag[@xsi:nil="true"]', xapp, appdb_xpathns()) THEN DELETE FROM __app_tags WHERE appid = _appid; ELSIF xpath_exists('//application:application/application:tag', xapp, appdb_xpathns()) THEN xtmp := xpath('//application:application/application:tag/text()', xapp, appdb_xpathns()); DELETE FROM __app_tags WHERE (appid = _appid) AND (NOT tag = ANY(unescapexml(xtmp::TEXT[]))); INSERT INTO __app_tags (appid, researcherid, tag) SELECT _appid, $3, xtag FROM UNNEST(unescapexml(xtmp::TEXT[])) AS xtag WHERE (NOT xtag IS NULL) AND (NOT EXISTS (SELECT 1 FROM app_tags WHERE (appid = _appid) AND (xtag = tag))); END IF; END IF; IF EXISTS (SELECT 1 FROM permissions WHERE actor = userguid AND actionid = 26 AND ((object IS NULL) OR object = _appguid)) THEN IF xpath_exists('//application:application/application:category', xapp, appdb_xpathns()) THEN xtmp := xpath('//application:application/application:category/@id', xapp, appdb_xpathns()); DELETE FROM appcategories WHERE (appid = _appid) AND (NOT categoryid = ANY((xtmp::TEXT[])::INT[])); -- Must set primary category before any other, or a trigger will try to set the first existing category as primary -- and a check condition might misfire x := (xpath('//application:application/application:category[@primary="true"]/@id', xapp, appdb_xpathns()))[1]; IF NOT x IS NULL THEN IF EXISTS (SELECT 1 FROM appcategories WHERE (appid = _appid) AND (categoryid = (x::TEXT)::INT)) THEN UPDATE appcategories SET isprimary = TRUE WHERE appid = _appid AND categoryid = (x::TEXT)::INT; ELSE INSERT INTO appcategories (appid, categoryid, isprimary) VALUES (_appid, (x::TEXT)::INT, TRUE); END IF; END IF; INSERT INTO appcategories (appid, categoryid) SELECT _appid, xcat::INT FROM UNNEST(xtmp::TEXT[]) AS xcat WHERE (NOT xcat IS NULL) AND (NOT EXISTS (SELECT 1 FROM appcategories WHERE (appid = _appid) AND (categoryid = xcat::INT))); END IF; END IF; IF EXISTS (SELECT 1 FROM permissions WHERE actor = userguid AND actionid = 10 AND ((object IS NULL) OR object = _appguid)) THEN IF xpath_exists('//application:application/discipline:discipline', xapp, appdb_xpathns()) THEN xtmp := xpath('//application:application/discipline:discipline/@id', xapp, appdb_xpathns()); DELETE FROM appdisciplines WHERE (appid = _appid) AND (NOT disciplineid = ANY((xtmp::TEXT[])::INT[])); INSERT INTO appdisciplines (appid, disciplineid) SELECT _appid, xdisc::INT FROM UNNEST(xtmp::TEXT[]) AS xdisc WHERE (NOT xdisc IS NULL) AND (NOT EXISTS (SELECT 1 FROM appdisciplines WHERE (appid = _appid) AND (disciplineid = xdisc::INT))); END IF; END IF; IF EXISTS (SELECT 1 FROM permissions WHERE actor = userguid AND actionid = 31 AND ((object IS NULL) OR object = _appguid)) THEN IF xpath_exists('//application:application/application:language[@xsi:nil="true"]', xapp, appdb_xpathns()) THEN DELETE FROM appproglangs WHERE (appid = _appid); ELSIF xpath_exists('//application:application/application:language', xapp, appdb_xpathns()) THEN xtmp := xpath('//application:application/application:language/@id', xapp, appdb_xpathns()); DELETE FROM appproglangs WHERE (appid = _appid) AND (NOT proglangid = ANY((xtmp::TEXT[])::INT[])); INSERT INTO appproglangs (appid, proglangid) SELECT _appid, xlang::INT FROM UNNEST(xtmp::TEXT[]) AS xlang WHERE (NOT xlang IS NULL) AND (NOT EXISTS (SELECT 1 FROM appproglangs WHERE (appid = _appid) AND (proglangid = xlang::INT))); END IF; END IF; IF EXISTS (SELECT 1 FROM permissions WHERE actor = userguid AND actionid = 33 AND ((object IS NULL) OR object = _appguid)) THEN IF xpath_exists('//application:application/application:license[@xsi:nil="true"]', xapp, appdb_xpathns()) THEN DELETE FROM app_licenses WHERE (appid = _appid) ; ELSIF xpath_exists('//application:application/application:license', xapp, appdb_xpathns()) THEN xtmp := xpath('//application:application/application:license/@id', xapp, appdb_xpathns()); DELETE FROM app_licenses WHERE (appid = _appid) AND (NOT licenseid = ANY((xtmp::TEXT[])::INT[])); INSERT INTO app_licenses (appid, licenseid) SELECT _appid, xlic::INT FROM UNNEST(xtmp::TEXT[]) AS xlic WHERE (NOT xlic IS NULL) AND (NOT EXISTS (SELECT 1 FROM app_licenses WHERE (appid = _appid) AND (licenseid = xlic::INT))); END IF; END IF; IF EXISTS (SELECT 1 FROM permissions WHERE actor = userguid AND actionid = 12 AND ((object IS NULL) OR object = _appguid)) THEN IF xpath_exists('//application:application/regional:country[@xsi:nil="true"]', xapp, appdb_xpathns()) THEN DELETE FROM appmanualcountries WHERE (appid = _appid); ELSIF xpath_exists('//application:application/regional:country', xapp, appdb_xpathns()) THEN xtmp := xpath('//application:application/regional:country/@id', xapp, appdb_xpathns()); DELETE FROM appmanualcountries WHERE (appid = _appid) AND (NOT countryid = ANY((xtmp::TEXT[])::INT[])); INSERT INTO appmanualcountries (appid, countryid) SELECT _appid, xcountry::INT FROM UNNEST(xtmp::TEXT[]) AS xcountry WHERE (NOT xcountry IS NULL) AND (NOT EXISTS (SELECT 1 FROM appmanualcountries WHERE (appid = _appid) AND (countryid = xcountry::INT))); END IF; END IF; IF EXISTS (SELECT 1 FROM permissions WHERE actor = userguid AND actionid = 14 AND ((object IS NULL) OR object = _appguid)) THEN IF xpath_exists('//application:application/application:url[@xsi:nil="true"]', xapp, appdb_xpathns()) THEN DELETE FROM app_urls WHERE (appid = _appid); ELSIF xpath_exists('//application:application/application:url', xapp, appdb_xpathns()) THEN xtmp := xpath('//application:application/application:url', xapp, appdb_xpathns()); WITH xurls AS ( SELECT unescapexml(((xpath('//application:url/@type', xu, appdb_xpathns()))[1])::TEXT) AS description, unescapexml(((xpath('//application:url/@title', xu, appdb_xpathns()))[1])::TEXT) AS title, unescapexml(((xpath('//application:url/text()', xu, appdb_xpathns()))[1])::TEXT) AS url FROM UNNEST(xtmp) AS xu ) DELETE FROM app_urls au WHERE (au.appid = _appid) AND (NOT EXISTS (SELECT 1 FROM xurls WHERE NOT ((au.title, au.description, au.url) IS DISTINCT FROM (xurls.title, xurls.description, xurls.url)))); WITH xurls AS ( SELECT unescapexml(((xpath('//application:url/@type', xu, appdb_xpathns()))[1])::TEXT) AS description, unescapexml(((xpath('//application:url/@title', xu, appdb_xpathns()))[1])::TEXT) AS title, unescapexml(((xpath('//application:url/text()', xu, appdb_xpathns()))[1])::TEXT) AS url FROM UNNEST(xtmp) AS xu ) INSERT INTO app_urls (appid, title, description, url) SELECT _appid, xurls.title, xurls.description, xurls.url FROM xurls WHERE (NOT xurls.url IS NULL) AND (NOT EXISTS (SELECT 1 FROM app_urls au WHERE (au.appid = _appid) AND NOT ((au.title, au.description, au.url) IS DISTINCT FROM (xurls.title, xurls. description, xurls.url)))); END IF; END IF; -- KEEP IN PHP: logo, relations (?) IF EXISTS (SELECT 1 FROM permissions WHERE actor = userguid AND actionid = 13 AND ((object IS NULL) OR object = _appguid)) THEN IF xpath_exists('//application:application/vo:vo[@xsi:nil="true"]', xapp, appdb_xpathns()) THEN DELETE FROM __app_vos WHERE (appid = _appid); ELSIF xpath_exists('//application:application/vo:vo', xapp, appdb_xpathns()) THEN xtmp := xpath('//application:application/vo:vo/@id', xapp, appdb_xpathns()); DELETE FROM __app_vos WHERE (appid = _appid) AND (NOT void = ANY((xtmp::TEXT[])::INT[])); INSERT INTO __app_vos (appid, void) SELECT _appid, xvo::INT FROM UNNEST(xtmp::TEXT[]) AS xvo WHERE (NOT xvo IS NULL) AND (NOT EXISTS (SELECT 1 FROM __app_vos WHERE (appid = _appid) AND (void = xvo::INT))); END IF; END IF; IF EXISTS (SELECT 1 FROM permissions WHERE actor = userguid AND actionid = 20 AND ((object IS NULL) OR object = _appguid)) THEN IF xpath_exists('//application:application/middleware:middleware[@xsi:nil="true"]', xapp, appdb_xpathns()) THEN DELETE FROM app_middlewares WHERE (appid = _appid); ELSIF xpath_exists('//application:application/middleware:middleware', xapp, appdb_xpathns()) THEN xtmp := xpath('//application:application/middleware:middleware/@id', xapp, appdb_xpathns()); DELETE FROM app_middlewares WHERE (appid = _appid) AND (NOT middlewareid = ANY((xtmp::TEXT[])::INT[])) AND (NOT middlewareid = 5); INSERT INTO app_middlewares (appid, middlewareid) SELECT _appid, xmw::INT FROM UNNEST(xtmp::TEXT[]) AS xmw WHERE (NOT xmw IS NULL) AND (xmw::INT <> 5) AND (NOT EXISTS (SELECT 1 FROM app_middlewares WHERE (appid = _appid) AND (middlewareid = xmw::INT))); -- handle "custom" middlewares (id=5) seperately... xtmp := xpath('//application:application/middleware:middleware[@id="5"]', xapp, appdb_xpathns()); IF ARRAY_LENGTH(xtmp, 1) > 0 THEN FOR i IN 1..ARRAY_LENGTH(xtmp, 1) LOOP DELETE FROM app_middlewares WHERE (appid = _appid) AND (middlewareid = 5) AND NOT EXISTS ( SELECT 1 FROM app_middlewares WHERE (appid = _appid) AND (middlewareid = 5) AND ("comment" = unescapexml(((xpath('//middleware:middleware/text()', xtmp[i], appdb_xpathns()))[1])::TEXT)) AND (link = unescapexml(((xpath('//middleware:middleware/@link', xtmp[i], appdb_xpathns()))[1])::TEXT)) ); END LOOP; FOR i IN 1..ARRAY_LENGTH(xtmp, 1) LOOP INSERT INTO app_middlewares (appid, middlewareid, "comment", link) VALUES ( _appid, 5, unescapexml(((xpath('//middleware:middleware/@comment', xtmp[i], appdb_xpathns()))[1])::TEXT), unescapexml(((xpath('//middleware:middleware/@link', xtmp[i], appdb_xpathns()))[1])::TEXT) ); END LOOP; END IF; END IF; END IF; IF xpath_exists('//application:application/application:contact[@xsi:nil="true"]', xapp, appdb_xpathns()) THEN IF $2 <> RM_PUT THEN -- remove all contacts, unless we are inserting a new application -- that would remove automatically added contacts via AFTER triggers DELETE FROM researchers_apps WHERE appid = _appid; END IF; ELSIF xpath_exists('//application:application/application:contact[not(@xsi:nil="true")]', xapp, appdb_xpathns()) THEN xtmp := xpath('//application:application/application:contact/@id', xapp, appdb_xpathns()); -- RAISE LOG 'CONTACTS XML --> %', xtmp; -- if can disassociate IF EXISTS (SELECT 1 FROM permissions WHERE actor = userguid AND actionid = 17 AND ((object IS NULL) OR object = _appguid)) THEN DELETE FROM appcontact_vos WHERE (appid = _appid) AND NOT (researcherid = ANY((xtmp::TEXT[])::INT[])); DELETE FROM appcontact_middlewares WHERE (appid = _appid) AND NOT (researcherid = ANY((xtmp::TEXT[])::INT[])); DELETE FROM appcontact_otheritems WHERE (appid = _appid) AND NOT (researcherid = ANY((xtmp::TEXT[])::INT[])); DELETE FROM researchers_apps WHERE (appid = _appid) AND NOT (researcherid = ANY((xtmp::TEXT[])::INT[])); -- RETURNING researcherid INTO i; RAISE LOG 'del1: %', i; END IF; -- if can associate IF EXISTS (SELECT 1 FROM permissions WHERE actor = userguid AND actionid = 16 AND ((object IS NULL) OR object = _appguid)) THEN INSERT INTO researchers_apps (appid, researcherid) SELECT _appid, xres FROM UNNEST((xtmp::TEXT[])::INT[]) AS xres --WHERE (NOT xres IS NULL) AND NOT EXISTS (SELECT 1 FROM researchers_apps WHERE appid = _appid AND researcherid = ANY((xtmp::TEXT[])::INT[])) WHERE (NOT xres IS NULL) AND (NOT EXISTS (SELECT 1 FROM researchers_apps WHERE appid = _appid AND researcherid = xres)); -- RETURNING researcherid INTO i; RAISE LOG 'Added %', i; IF xpath_exists('//application:application/application:contact/application:contactItem', xapp, appdb_xpathns()) THEN IF ARRAY_LENGTH(xtmp, 1) > 0 THEN FOR i IN 1..ARRAY_LENGTH(xtmp, 1) LOOP IF xpath_exists('//application:application/application:contact[@id="' || xtmp[i]::TEXT || '"]/application:contactItem[@xsi:nil="true"]', xapp, appdb_xpathns()) THEN DELETE FROM appcontact_vos WHERE (appid = _appid) AND (researcherid = (xtmp[i]::TEXT)::INT); -- RETURNING * INTO rec; RAISE NOTICE '%', rec; DELETE FROM appcontact_middlewares WHERE (appid = _appid) AND (researcherid = (xtmp[i]::TEXT)::INT); -- RETURNING * INTO rec; RAISE NOTICE '%', rec; DELETE FROM appcontact_otheritems WHERE (appid = _appid) AND (researcherid = (xtmp[i]::TEXT)::INT); -- RETURNING * INTO rec; RAISE NOTICE '%', rec; ELSE xtmp2 := xpath('//application:application/application:contact[@id="' || xtmp[i]::TEXT || '"]/application:contactItem', xapp, appdb_xpathns()); WITH xcon AS ( SELECT unescapexml((xpath('//application:contact/@type', xt, appdb_xpathns()))[1]::TEXT) AS "type", unescapexml((xpath('//application:contact/@note', xt, appdb_xpathns()))[1]::TEXT) AS "note", unescapexml((xpath('//application:contact/@id', xt, appdb_xpathns()))[1]::TEXT) AS "itemid", unescapexml((xpath('//application:contact/text()', xt, appdb_xpathns()))[1]::TEXT) AS "item" FROM UNNEST(xtmp2) AS xt ) DELETE FROM appcontact_vos WHERE (appid = _appid) AND (researcherid = (xtmp[i]::TEXT)::INT) AND NOT EXISTS ( SELECT 1 FROM xcon WHERE (xcon.type = 'vo') AND (xcon.itemid = void::TEXT) /*AND NOT (xcon.note IS DISTINCT FROM appcontact_vos.note)*/ ); -- RETURNING * INTO rec; RAISE NOTICE 'deleted: %', rec; WITH xcon AS ( SELECT unescapexml((xpath('//application:contact/@type', xt, appdb_xpathns()))[1]::TEXT) AS "type", unescapexml((xpath('//application:contact/@note', xt, appdb_xpathns()))[1]::TEXT) AS "note", unescapexml((xpath('//application:contact/@id', xt, appdb_xpathns()))[1]::TEXT) AS "itemid", unescapexml((xpath('//application:contact/text()', xt, appdb_xpathns()))[1]::TEXT) AS "item" FROM UNNEST(xtmp2) AS xt ) DELETE FROM appcontact_middlewares WHERE (appid = _appid) AND (researcherid = (xtmp[i]::TEXT)::INT) AND NOT EXISTS ( SELECT 1 FROM xcon INNER JOIN app_middlewares ON app_middlewares.id::TEXT = xcon.itemid WHERE (xcon.type = 'middleware') AND (CASE xcon.itemid WHEN '5' THEN xcon.item = app_middlewares.comment ELSE xcon.itemid = app_middlewares.middlewareid::TEXT END) AND NOT (xcon.note IS DISTINCT FROM appcontact_middlewares.note) ); WITH xcon AS ( SELECT unescapexml((xpath('//application:contact/@type', xt, appdb_xpathns()))[1]::TEXT) AS "type", unescapexml((xpath('//application:contact/@note', xt, appdb_xpathns()))[1]::TEXT) AS "note", unescapexml((xpath('//application:contact/@id', xt, appdb_xpathns()))[1]::TEXT) AS "itemid", unescapexml((xpath('//application:contact/text()', xt, appdb_xpathns()))[1]::TEXT) AS "item" FROM UNNEST(xtmp2) AS xt ) DELETE FROM appcontact_otheritems WHERE (appid = _appid) AND (researcherid = (xtmp[i]::TEXT)::INT) AND NOT EXISTS ( SELECT 1 FROM xcon WHERE (xcon.type = 'other') AND (xcon.itemid = item) AND NOT (xcon.note IS DISTINCT FROM appcontact_otheritems.note) ); WITH xcon AS ( SELECT unescapexml((xpath('//application:contact/@type', xt, appdb_xpathns()))[1]::TEXT) AS "type", unescapexml((xpath('//application:contact/@note', xt, appdb_xpathns()))[1]::TEXT) AS "note", unescapexml((xpath('//application:contact/@id', xt, appdb_xpathns()))[1]::TEXT) AS "itemid", unescapexml((xpath('//application:contact/text()', xt, appdb_xpathns()))[1]::TEXT) AS "item" FROM UNNEST(xtmp2) AS xt ) INSERT INTO appcontact_vos (appid, researcherid, void, note) SELECT _appid, (xtmp[i]::TEXT)::INT, xcon.itemid::INT, xcon.note FROM xcon WHERE (xcon.type = 'vo') AND NOT (xcon.itemid IS NULL) AND NOT EXISTS ( SELECT 1 FROM appcontact_vos WHERE (appid = _appid) AND (researcherid = (xtmp[i]::TEXT)::INT) AND (void::TEXT = xcon.itemid) AND NOT (xcon.note IS DISTINCT FROM appcontact_vos.note) ); WITH xcon AS ( SELECT unescapexml((xpath('//application:contact/@type', xt, appdb_xpathns()))[1]::TEXT) AS "type", unescapexml((xpath('//application:contact/@note', xt, appdb_xpathns()))[1]::TEXT) AS "note", unescapexml((xpath('//application:contact/@id', xt, appdb_xpathns()))[1]::TEXT) AS "itemid", unescapexml((xpath('//application:contact/text()', xt, appdb_xpathns()))[1]::TEXT) AS "item" FROM UNNEST(xtmp2) AS xt ) INSERT INTO appcontact_middlewares (appid, researcherid, appmiddlewareid, note) SELECT __appid, __researcherid, __appmiddlewareid, __note FROM ( SELECT _appid AS __appid, (xtmp[i]::TEXT)::INT AS __researcherid, (SELECT id FROM app_middlewares WHERE appid = _appid AND ( CASE xcon.itemid -- tata WHEN '5' THEN (app_middlewares.middlewareid = 5) AND (app_middlewares.comment = xcon.item) ELSE app_middlewares.middlewareid::TEXT = xcon.itemid END) ) AS __appmiddlewareid, xcon.note AS __note FROM xcon WHERE (xcon.type = 'middleware') AND NOT (xcon.itemid IS NULL) AND NOT EXISTS ( SELECT 1 FROM appcontact_middlewares WHERE (appid = _appid) AND (researcherid = (xtmp[i]::TEXT)::INT) AND ( CASE xcon.itemid -- lala WHEN '5' THEN appmiddlewareid = (SELECT id FROM app_middlewares WHERE (middlewareid = 5) AND ("comment" = xcon.item) AND (appid = _appid)) ELSE appmiddlewareid = (SELECT id FROM app_middlewares WHERE (middlewareid::TEXT = xcon.itemid) AND (appid = _appid)) END ) AND NOT (xcon.note IS DISTINCT FROM appcontact_middlewares.note) ) ) AS t WHERE NOT __appmiddlewareid IS NULL; WITH xcon AS ( SELECT unescapexml((xpath('//application:contact/@type', xt, appdb_xpathns()))[1]::TEXT) AS "type", unescapexml((xpath('//application:contact/@note', xt, appdb_xpathns()))[1]::TEXT) AS "note", unescapexml((xpath('//application:contact/text()', xt, appdb_xpathns()))[1]::TEXT) AS "item" FROM UNNEST(xtmp2) AS xt ) INSERT INTO appcontact_otheritems (appid, researcherid, item, note) SELECT _appid, (xtmp[i]::TEXT)::INT, xcon.item, xcon.note FROM xcon WHERE (xcon.type = 'other') AND NOT (xcon.item IS NULL) AND NOT EXISTS ( SELECT 1 FROM appcontact_otheritems WHERE (appid = _appid) AND (researcherid = (xtmp[i]::TEXT)::INT) AND (item = xcon.item) AND NOT (xcon.note IS DISTINCT FROM appcontact_otheritems.note) ); END IF; END LOOP; END IF; END IF; END IF; END IF; -- END contacts IF EXISTS (SELECT 1 FROM permissions WHERE actor = userguid AND actionid = 15 AND ((object IS NULL) OR object = _appguid)) THEN IF xpath_exists('//application:application/publication:publication[@xsi:nil="true"]', xapp, appdb_xpathns()) THEN DELETE FROM appdocuments WHERE appid = _appid; ELSIF xpath_exists('//application:application/publication:publication', xapp, appdb_xpathns()) THEN DELETE FROM appdocuments WHERE (appid = _appid) AND NOT (id = ANY( ((xpath('//application:application/publication:publication/@id', xapp, appdb_xpathns()))::TEXT[])::INT[] )); xtmp := xpath('//application:application/publication:publication', xapp, appdb_xpathns()); PERFORM consume_doc(xdoc, _appid) FROM UNNEST(xtmp::TEXT[]) AS xdoc; END IF; END IF; RETURN '{"id": ' || _appid::TEXT || ', "guid": "' || (SELECT guid::TEXT FROM applications WHERE id = _appid) || '"}'; --RETURN app_to_xml_ext(_appid); END; $function$ ; CREATE OR REPLACE FUNCTION public.consume_doc(xml_in text, appid_in integer) RETURNS text LANGUAGE plpgsql AS $function$ DECLARE _docid INT; _appid INT; xtmp XML[]; xdoc XML; BEGIN xdoc := $1::XML; _appid := $2; _docid := (((xpath('//publication:publication/@id', xdoc, appdb_xpathns()))[1])::TEXT)::INT AS xid; -- prevent overwriting other app's publications data IF EXISTS (SELECT 1 FROM appdocuments WHERE id = _docid AND appid <> _appid) THEN RETURN NULL; END IF; IF NOT _docid IS NULL THEN WITH x AS ( SELECT unescapexml(((xpath('//publication:publication/publication:title/text()', xdoc, appdb_xpathns()))[1])::TEXT) AS xtitle, unescapexml(((xpath('//publication:publication/publication:url/text()', xdoc, appdb_xpathns()))[1])::TEXT) AS xurl, unescapexml(((xpath('//publication:publication/publication:conference/text()', xdoc, appdb_xpathns()))[1])::TEXT) AS xconference, unescapexml(((xpath('//publication:publication/publication:proceedings/text()', xdoc, appdb_xpathns()))[1])::TEXT) AS xproceedings, unescapexml(((xpath('//publication:publication/publication:isbn/text()', xdoc, appdb_xpathns()))[1])::TEXT) AS xisbn, (((xpath('//publication:publication/publication:startPage/text()', xdoc, appdb_xpathns()))[1])::TEXT)::INT AS xstartpage, (((xpath('//publication:publication/publication:endPage/text()', xdoc, appdb_xpathns()))[1])::TEXT)::INT AS xendpage, unescapexml(((xpath('//publication:publication/publication:volume/text()', xdoc, appdb_xpathns()))[1])::TEXT) AS xvolume, unescapexml(((xpath('//publication:publication/publication:publisher/text()', xdoc, appdb_xpathns()))[1])::TEXT) AS xpublisher, unescapexml(((xpath('//publication:publication/publication:journal/text()', xdoc, appdb_xpathns()))[1])::TEXT) AS xjournal, (((xpath('//publication:publication/publication:year/text()', xdoc, appdb_xpathns()))[1])::TEXT)::INT AS xyear, (((xpath('//publication:publication/publication:type/@id', xdoc, appdb_xpathns()))[1])::TEXT)::INT AS xtype, CASE WHEN NOT (xpath('//publication:publication/publication:author[@main="true" and @type="internal"]', xdoc, appdb_xpathns()))[1] IS NULL THEN (SELECT name FROM researchers WHERE id = (((xpath('//publication:publication/publication:author[@main="true" and @type="internal"]/person:person/@id', xdoc, appdb_xpathns()))[1])::TEXT)::INT) ELSE unescapexml(((xpath('//publication:publication/publication:author[@main="true" and @type="external"]/publication:extAuthor/text()', xdoc, appdb_xpathns()))[1])::TEXT) END AS xmainauthor ) UPDATE appdocuments SET title = xtitle, url = xurl, conference = xconference, proceedings = xproceedings, isbn = xisbn, pagestart = xstartpage, pageend = xendpage, volume = xvolume, publisher = xpublisher, "year" = xyear, doctypeid = xtype, journal = xjournal, mainauthor = xmainauthor FROM x WHERE (id = _docid) AND (appid = _appid); ELSE WITH x AS ( SELECT unescapexml(((xpath('//publication:publication/publication:title/text()', xdoc, appdb_xpathns()))[1])::TEXT) AS xtitle, unescapexml(((xpath('//publication:publication/publication:url/text()', xdoc, appdb_xpathns()))[1])::TEXT) AS xurl, unescapexml(((xpath('//publication:publication/publication:conference/text()', xdoc, appdb_xpathns()))[1])::TEXT) AS xconference, unescapexml(((xpath('//publication:publication/publication:proceedings/text()', xdoc, appdb_xpathns()))[1])::TEXT) AS xproceedings, unescapexml(((xpath('//publication:publication/publication:isbn/text()', xdoc, appdb_xpathns()))[1])::TEXT) AS xisbn, (((xpath('//publication:publication/publication:startPage/text()', xdoc, appdb_xpathns()))[1])::TEXT)::INT AS xstartpage, (((xpath('//publication:publication/publication:endPage/text()', xdoc, appdb_xpathns()))[1])::TEXT)::INT AS xendpage, unescapexml(((xpath('//publication:publication/publication:volume/text()', xdoc, appdb_xpathns()))[1])::TEXT) AS xvolume, unescapexml(((xpath('//publication:publication/publication:publisher/text()', xdoc, appdb_xpathns()))[1])::TEXT) AS xpublisher, unescapexml(((xpath('//publication:publication/publication:journal/text()', xdoc, appdb_xpathns()))[1])::TEXT) AS xjournal, (((xpath('//publication:publication/publication:year/text()', xdoc, appdb_xpathns()))[1])::TEXT)::INT AS xyear, (((xpath('//publication:publication/publication:type/@id', xdoc, appdb_xpathns()))[1])::TEXT)::INT AS xtype, CASE WHEN NOT (xpath('//publication:publication/publication:author[@main="true" and @type="internal"]', xdoc, appdb_xpathns()))[1] IS NULL THEN (SELECT name FROM researchers WHERE id = (((xpath('//publication:publication/publication:author[@main="true" and @type="internal"]/person:person/@id', xdoc, appdb_xpathns()))[1])::TEXT)::INT) ELSE unescapexml(((xpath('//publication:publication/publication:author[@main="true" and @type="external"]/publication:extAuthor/text()', xdoc, appdb_xpathns()))[1])::TEXT) END AS xmainauthor ) INSERT INTO appdocuments (appid, title, url, conference, proceedings, isbn, pagestart, pageend, volume, publisher, "year", mainauthor, doctypeid, journal) SELECT _appid, xtitle, xurl, xconference, xproceedings, xisbn, xstartpage, xendpage, xvolume, xpublisher, xyear, xmainauthor, xtype, xjournal FROM x RETURNING id INTO _docid; END IF; -- sync external authors IF xpath_exists('//publication:publication/publication:author[@type="external"]', xdoc, appdb_xpathns()) THEN xtmp := xpath('//publication:publication/publication:author[@type="external"]', xdoc, appdb_xpathns()); WITH xext AS ( SELECT unescapexml((xpath('//publication:author/publication:extAuthor/text()', x, appdb_xpathns()))[1]::TEXT) AS x FROM UNNEST(xtmp) AS x ) DELETE FROM extauthors WHERE (docid = _docid) AND NOT (LOWER(author) IN (SELECT LOWER(x) FROM xext)); --FIXME: author = ANY ... should be case-insensitive WITH xauth AS ( SELECT (((xpath('//publication:author/@main', x, appdb_xpathns()))[1])::TEXT)::BOOLEAN AS xmain, unescapexml(((xpath('//publication:author/publication:extAuthor/text()', x, appdb_xpathns()))[1])::TEXT) AS xauthor FROM UNNEST(xtmp) AS x ) INSERT INTO extauthors (docid, author, main) SELECT _docid, xauthor, COALESCE(xmain, FALSE) FROM xauth WHERE NOT (xauthor IS NULL) AND NOT EXISTS (SELECT 1 FROM extauthors WHERE (docid = _docid) AND LOWER(author) = LOWER(xauthor)); ELSE DELETE FROM extauthors WHERE (docid = _docid); END IF; -- sync internal authors IF xpath_exists('//publication:publication/publication:author[@type="internal"]', xdoc, appdb_xpathns()) THEN DELETE FROM intauthors WHERE (docid = _docid) AND NOT ( authorid = ANY( ((xpath( '//publication:publication/publication:author[@type="internal"]/person:person/@id'::TEXT, xdoc, appdb_xpathns() ))::TEXT[])::INT[] ) ); xtmp := xpath('//publication:publication/publication:author[@type="internal"]', xdoc, appdb_xpathns()); WITH xauth AS ( SELECT (((xpath('//publication:author/@main', x, appdb_xpathns()))[1])::TEXT)::BOOLEAN AS xmain, (((xpath('//publication:author/person:person/@id', x, appdb_xpathns()))[1])::TEXT)::INT AS xauthorid FROM UNNEST(xtmp) AS x ) INSERT INTO intauthors (docid, authorid, main) SELECT _docid, xauthorid, COALESCE(xmain, FALSE) FROM xauth WHERE NOT (xauthorid IS NULL) AND NOT EXISTS (SELECT 1 FROM intauthors WHERE (docid = _docid) AND (authorid = xauthorid)); ELSE DELETE FROM intauthors WHERE (docid = _docid); END IF; RETURN '{"id": ' || _docid::TEXT || ', "guid": "' || (SELECT guid::TEXT FROM appdocuments WHERE id = _docid) || '"}'; END; $function$ ; CREATE OR REPLACE FUNCTION public.trfn_applications() RETURNS trigger LANGUAGE plpgsql AS $function$ DECLARE mFields TEXT[]; BEGIN mFields = NULL::TEXT[]; IF TG_OP = 'INSERT' THEN IF TG_LEVEL = 'ROW' THEN IF TG_WHEN = 'AFTER' THEN IF (NOT NEW.addedby IS NULL) AND (EXISTS (SELECT id FROM researchers WHERE id = NEW.addedby AND accounttype = 0)) THEN INSERT INTO researchers_apps (appid, researcherid, iskeycontact) SELECT NEW.id, NEW.addedby, FALSE WHERE NOT EXISTS (SELECT 1 FROM researchers_apps WHERE appid = NEW.id AND researcherid = NEW.addedby); ELSIF NOT NEW.owner IS NULL THEN INSERT INTO researchers_apps (appid, researcherid, iskeycontact) SELECT NEW.id, NEW.owner, FALSE WHERE NOT EXISTS (SELECT 1 FROM researchers_apps WHERE appid = NEW.id AND researcherid = NEW.owner); END IF; INSERT INTO news ("timestamp", subjectguid, "action") VALUES (NOW(), NEW.guid, 'insert'); -- NOTIFY invalidate_cache, 'permissions'; -- PERFORM pg_notify('cache_delta', 'id = ' || NEW.id::text || ',applications'); IF (NEW.cname IS NULL) THEN INSERT INTO app_cnames (appid, value) VALUES (NEW.id, normalize_cname(NEW.name)); END IF; INSERT INTO cache.appxmlcache (id,"xml") SELECT NEW.id, __app_to_xml(NEW.id); END IF; END IF; RETURN NEW; ELSIF TG_OP = 'UPDATE' THEN IF TG_LEVEL = 'ROW' THEN IF TG_WHEN = 'BEFORE' THEN IF (OLD.name != NEW.name) THEN mFields := array_append(mFields,'name'); END IF; IF (OLD.description != NEW.description) THEN mFields := array_append(mFields,'description'); END IF; IF (OLD.abstract != NEW.abstract) THEN mFields := array_append(mFields,'abstract'); END IF; IF (OLD.statusid != NEW.statusid) THEN mFields := array_append(mFields,'status'); END IF; IF ((OLD::applications).links != (NEW::applications).links) THEN mFields := array_append(mFields,'urls'); END IF; IF (COALESCE((OLD::applications).disciplineid, ARRAY[-1]) != COALESCE((NEW::applications).disciplineid, ARRAY[-1])) THEN mFields := array_append(mFields,'discipline'); END IF; IF (COALESCE((OLD::applications).categoryid, ARRAY[-1]) != COALESCE((NEW::applications).categoryid, ARRAY[-1])) THEN mFields := array_append(mFields,'category'); END IF; IF NOT mFields IS NULL THEN INSERT INTO news ("timestamp", subjectguid, "action", fields) VALUES (NOW(), NEW.guid, 'update', mFields); DELETE FROM app_validation_log WHERE appid = OLD.id; END IF; -- NEW.lastupdated = NOW(); ELSIF TG_WHEN = 'AFTER' THEN IF OLD.moderated <> NEW.moderated OR OLD.deleted <> NEW.deleted OR OLD.lastupdated <> NEW.lastupdated OR OLD.addedby <> NEW.addedby OR OLD.owner <> NEW.owner OR (OLD::applications).links <> (NEW::applications).links OR OLD.rating <> NEW.rating THEN -- the rest of the properties are taken care by the trigger in the "news" table -- NOTIFY invalidate_cache, 'filters'; END IF; IF OLD.owner <> NEW.owner OR OLD.addedby <> NEW.addedby THEN PERFORM request_permissions_refresh(); END IF; -- IF (NEW.name, NEW.description, NEW.abstract, NEW.statusid, NEW.dateadded, NEW.addedby, NEW.lastupdated, NEW.rating, NEW.moderated, NEW.deleted, NEW.disciplineid, NEW.owner, NEW.categoryid, NEW.links) IS DISTINCT FROM (OLD.name, OLD.description, OLD.abstract, OLD.statusid, OLD.dateadded, OLD.addedby, OLD.lastupdated, OLD.rating, OLD.moderated, OLD.deleted, OLD.disciplineid, OLD.owner, OLD.categoryid, OLD.links) THEN -- PERFORM pg_notify('cache_delta', 'id = ' || NEW.id::text || ',applications'); -- END IF; IF (NEW.deleted IS TRUE AND OLD.deleted IS FALSE) OR (NEW.moderated IS TRUE AND OLD.moderated IS FALSE) THEN UPDATE app_cnames SET enabled = FALSE WHERE appid = NEW.id; END IF; UPDATE cache.appxmlcache SET "xml" = __app_to_xml(NEW.id) WHERE id = NEW.id; END IF; END IF; RETURN NEW; ELSIF TG_OP = 'DELETE' THEN IF TG_LEVEL = 'ROW' THEN IF TG_WHEN = 'AFTER' THEN INSERT INTO news ("timestamp", subjectguid, "action") VALUES (NOW(), OLD.guid, 'delete'); END IF; END IF; RETURN OLD; END IF; END;$function$ ; CREATE OR REPLACE FUNCTION public.trfn_vapp_versions_pidhandle() RETURNS trigger LANGUAGE plpgsql AS $function$ DECLARE vav_suffix TEXT; BEGIN IF TG_WHEN = 'AFTER' THEN IF TG_OP = 'INSERT' THEN vav_suffix := NULL; IF NEW.published AND NOT NEW.archived THEN vav_suffix = 'latest'; ELSIF NEW.published AND NEW.archived THEN vav_suffix = 'previous/' || (NEW.id)::TEXT; -- ELSE -- IGNORE all other cases END IF; IF NOT vav_suffix IS NULL THEN INSERT INTO pidhandles (url, suffix, entrytype, entryid) VALUES ( 'http://' || (SELECT data FROM config WHERE var = 'ui-host') || '/store/vappliance/' || (SELECT cname FROM applications WHERE id = (SELECT appid FROM vapplications WHERE id = NEW.vappid)) || '/vaversion/' || vav_suffix, NEW.guid, 'vappliance_version'::e_entity, NEW.id ); END IF; ELSIF TG_OP = 'UPDATE' THEN vav_suffix := NULL; IF NEW.published AND NOT NEW.archived THEN vav_suffix = 'latest'; ELSIF NEW.published AND NEW.archived THEN vav_suffix = 'previous/' || (NEW.id)::TEXT; -- ELSE -- IGNORE all other cases END IF; IF NOT vav_suffix IS NULL THEN IF EXISTS (SELECT 1 FROM pidhandles WHERE suffix = NEW.guid::TEXT) THEN UPDATE pidhandles SET url = 'http://' || (SELECT data FROM config WHERE var = 'ui-host') || '/store/vappliance/' || (SELECT cname FROM applications WHERE id = (SELECT appid FROM vapplications WHERE id = NEW.vappid)) || '/vaversion/' || vav_suffix, result = result | 4 WHERE suffix = NEW.guid::TEXT; ELSE INSERT INTO pidhandles (url, suffix, entrytype, entryid) VALUES ( 'http://' || (SELECT data FROM config WHERE var = 'ui-host') || '/store/vappliance/' || (SELECT cname FROM applications WHERE id = (SELECT appid FROM vapplications WHERE id = NEW.vappid)) || '/vaversion/' || vav_suffix, NEW.guid, 'vappliance_version'::e_entity, NEW.id ); END IF; END IF; ELSIF TG_OP = 'DELETE' THEN UPDATE pidhandles SET result = result | 8 WHERE suffix = OLD.guid::TEXT; END IF; RETURN NULL; END IF; END; $function$; INSERT INTO version (major,minor,revision,notes) SELECT 8, 23, 4, E'Improve xpath compatibility across PostgreSQL versions + bugfixes' WHERE NOT EXISTS (SELECT * FROM version WHERE major=8 AND minor=23 AND revision=4); COMMIT;
/* Navicat Premium Data Transfer Source Server : Rool阿里云服务器 Source Server Type : MySQL Source Server Version : 50564 Source Host : 192.168.3.11:3306 Source Schema : roll_race Target Server Type : MySQL Target Server Version : 50564 File Encoding : 65001 Date: 26/05/2020 11:14:08 */ SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- -- Table structure for bet_record -- ---------------------------- DROP TABLE IF EXISTS `bet_record`; CREATE TABLE `bet_record` ( `id` int(12) NOT NULL AUTO_INCREMENT, `roomId` int(12) NULL DEFAULT NULL, `raceNum` int(2) NULL DEFAULT NULL, `landCorner` int(5) NOT NULL DEFAULT 0, `bridg` int(5) NOT NULL DEFAULT 0, `skyCorner` int(5) NOT NULL DEFAULT 0, `middle` int(5) NOT NULL DEFAULT 0, `land` int(5) NOT NULL DEFAULT 0, `sky` int(5) NOT NULL DEFAULT 0, `userId` int(12) NULL DEFAULT NULL, `creatTime` datetime NULL DEFAULT NULL, `modTime` datetime NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 2277 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; -- ---------------------------- -- Table structure for cost_record -- ---------------------------- DROP TABLE IF EXISTS `cost_record`; CREATE TABLE `cost_record` ( `id` int(12) NOT NULL AUTO_INCREMENT, `userId` int(12) NOT NULL, `roomId` int(12) NOT NULL, `cost` int(5) NOT NULL, `modTime` datetime NULL, `creatTime` datetime NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = MyISAM AUTO_INCREMENT = 612 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Fixed; -- ---------------------------- -- Table structure for race -- ---------------------------- DROP TABLE IF EXISTS `race`; CREATE TABLE `race` ( `id` int(12) NOT NULL AUTO_INCREMENT, `roomId` int(12) NULL DEFAULT NULL, `raceNum` int(2) NULL DEFAULT NULL, `playState` int(2) NULL DEFAULT NULL, `landlordScore` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `skyScore` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `middleScore` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `landScore` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `points` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `landlordId` int(12) NULL DEFAULT NULL, `creatTime` datetime NULL DEFAULT NULL, `modTime` datetime NULL DEFAULT NULL, `landResult` varchar(8) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `middleResult` varchar(8) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `bridgResult` varchar(8) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `landCornerResult` varchar(8) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `skyCornerResult` varchar(8) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `skyResult` varchar(8) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 18375 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; -- ---------------------------- -- Table structure for recharge_record -- ---------------------------- DROP TABLE IF EXISTS `recharge_record`; CREATE TABLE `recharge_record` ( `id` int(12) NOT NULL AUTO_INCREMENT, `userId` int(12) NOT NULL, `cost` int(5) NOT NULL, `platform` int(2) NOT NULL, `modTime` datetime NULL, `creatTime` datetime NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = MyISAM AUTO_INCREMENT = 1562 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Fixed; -- ---------------------------- -- Table structure for room -- ---------------------------- DROP TABLE IF EXISTS `room`; CREATE TABLE `room` ( `id` int(12) NOT NULL AUTO_INCREMENT, `creatUserId` int(12) NULL DEFAULT NULL, `memberLimit` int(3) NULL DEFAULT NULL, `playCount` int(3) NULL DEFAULT NULL, `roomState` int(2) NULL DEFAULT NULL, `roomFee` float(4, 2) NULL DEFAULT NULL, `roomPay` int(1) NULL DEFAULT NULL, `playMode` int(2) NULL DEFAULT NULL, `costLimit` int(3) NULL DEFAULT NULL, `oningRaceNum` int(2) NULL DEFAULT NULL, `creatTime` datetime NULL DEFAULT NULL, `modTime` datetime NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1499 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; -- ---------------------------- -- Table structure for room_player -- ---------------------------- DROP TABLE IF EXISTS `room_player`; CREATE TABLE `room_player` ( `id` bigint(12) NOT NULL AUTO_INCREMENT, `nick` varchar(80) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `userId` bigint(12) NULL DEFAULT NULL, `icon` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `roomId` bigint(12) NULL DEFAULT NULL, `modTime` datetime NULL DEFAULT NULL, `creatTime` datetime NULL DEFAULT NULL, `roleType` tinyint(2) NULL DEFAULT NULL, `score` int(8) NULL DEFAULT NULL, `state` tinyint(2) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1102 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; -- ---------------------------- -- Table structure for user -- ---------------------------- DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `id` bigint(12) NOT NULL AUTO_INCREMENT, `icon` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `nick` varchar(80) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `score` int(8) NULL DEFAULT NULL COMMENT '暂时不用', `diamond` int(8) NULL DEFAULT NULL, `password` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `phone` varchar(15) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `type` tinyint(2) NULL DEFAULT NULL COMMENT '1作弊用户, 0普通用户', `creatTime` datetime NULL DEFAULT NULL, `modTime` datetime NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 3440 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; SET FOREIGN_KEY_CHECKS = 1;
-- -- Kill cl_collation index. -- @since 1.27 -- DROP INDEX /*i*/cl_collation ON /*_*/categorylinks;
<reponame>hackthebox/dbt_stripe_source {% macro get_card_columns() %} {% set columns = [ {"name": "_fivetran_synced", "datatype": dbt_utils.type_timestamp()}, {"name": "account_id", "datatype": dbt_utils.type_string()}, {"name": "address_city", "datatype": dbt_utils.type_string()}, {"name": "address_country", "datatype": dbt_utils.type_string()}, {"name": "address_line_1", "datatype": dbt_utils.type_string()}, {"name": "address_line_1_check", "datatype": dbt_utils.type_string()}, {"name": "address_line_2", "datatype": dbt_utils.type_string()}, {"name": "address_state", "datatype": dbt_utils.type_string()}, {"name": "address_zip", "datatype": dbt_utils.type_string()}, {"name": "address_zip_check", "datatype": dbt_utils.type_string()}, {"name": "brand", "datatype": dbt_utils.type_string()}, {"name": "connected_account_id", "datatype": dbt_utils.type_string()}, {"name": "country", "datatype": dbt_utils.type_string()}, {"name": "created", "datatype": dbt_utils.type_timestamp()}, {"name": "currency", "datatype": dbt_utils.type_string()}, {"name": "customer_id", "datatype": dbt_utils.type_string()}, {"name": "cvc_check", "datatype": dbt_utils.type_string()}, {"name": "dynamic_last_4", "datatype": dbt_utils.type_string()}, {"name": "exp_month", "datatype": dbt_utils.type_int()}, {"name": "exp_year", "datatype": dbt_utils.type_int()}, {"name": "fingerprint", "datatype": dbt_utils.type_string()}, {"name": "funding", "datatype": dbt_utils.type_string()}, {"name": "id", "datatype": dbt_utils.type_string()}, {"name": "is_deleted", "datatype": "boolean"}, {"name": "last_4", "datatype": dbt_utils.type_string()}, {"name": "name", "datatype": dbt_utils.type_string()}, {"name": "network", "datatype": dbt_utils.type_string()}, {"name": "recipient", "datatype": dbt_utils.type_string()}, {"name": "tokenization_method", "datatype": dbt_utils.type_string()} ] %} {{ return(columns) }} {% endmacro %}
<gh_stars>1-10 DROP TABLE IF EXISTS test.count; CREATE TABLE test.count (x UInt64) ENGINE = MergeTree ORDER BY tuple(); INSERT INTO test.count SELECT * FROM numbers(1234567); SELECT count() FROM remote('127.0.0.{1,2}', test.count); SELECT count() / 2 FROM remote('127.0.0.{1,2}', test.count); DROP TABLE test.count;
DROP PROCEDURE IF EXISTS upgrade_schema_to_1_1_1; DELIMITER '//' CREATE PROCEDURE upgrade_schema_to_1_1_1() BEGIN IF(NOT EXISTS(SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA='hirs_db' AND TABLE_NAME='Certificate' AND COLUMN_NAME='tcgCredentialMajorVersion')) THEN ALTER TABLE Certificate ADD tcgCredentialMajorVersion int(11) DEFAULT NULL; END IF; IF(NOT EXISTS(SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA='hirs_db' AND TABLE_NAME='Certificate' AND COLUMN_NAME='tcgCredentialMinorVersion')) THEN ALTER TABLE Certificate ADD tcgCredentialMinorVersion int(11) DEFAULT NULL; END IF; IF(NOT EXISTS(SELECT * FROM information_schema.COLUMNS WHERE TABLE_SCHEMA='hirs_db' AND TABLE_NAME='Certificate' AND COLUMN_NAME='tcgCredentialRevisionLevel')) THEN ALTER TABLE Certificate ADD tcgCredentialRevisionLevel int(11) DEFAULT NULL; END IF; END// DELIMITER ';' CALL upgrade_schema_to_1_1_1; DROP PROCEDURE upgrade_schema_to_1_1_1;
<gh_stars>0 -- -- PostgreSQL database dump -- SET statement_timeout = 0; SET lock_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; SET check_function_bodies = false; SET client_min_messages = warning; -- -- Name: pguser; Type: DATABASE; Schema: -; Owner: pguser -- CREATE DATABASE pguser WITH TEMPLATE = template0 ENCODING = 'UTF8' LC_COLLATE = 'C' LC_CTYPE = 'C'; ALTER DATABASE pguser OWNER TO pguser; \connect pguser SET statement_timeout = 0; SET lock_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; SET check_function_bodies = false; SET client_min_messages = warning; -- -- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -- CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog; -- -- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: -- COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language'; SET search_path = public, pg_catalog; -- -- Name: bar(character varying); Type: FUNCTION; Schema: public; Owner: pguser -- CREATE FUNCTION bar(character varying) RETURNS boolean LANGUAGE plpgsql AS $_$ BEGIN return ($1 like '%HIT from Haifa%') or ($1 like '%Hit from Haifa%'); END $_$; ALTER FUNCTION public.bar(character varying) OWNER TO pguser; -- -- Name: blocked(timestamp without time zone); Type: FUNCTION; Schema: public; Owner: pguser -- CREATE FUNCTION blocked(timestamp without time zone) RETURNS TABLE(s integer, t timestamp without time zone, h character varying, c bigint) LANGUAGE plpgsql AS $_$ BEGIN return query select status, max(at_time) t, host, count(*) from reply where status >= 400 and at_time > $1 group by status, host order by t; END $_$; ALTER FUNCTION public.blocked(timestamp without time zone) OWNER TO pguser; -- -- Name: es_ip(character varying); Type: FUNCTION; Schema: public; Owner: pguser -- CREATE FUNCTION es_ip(character varying) RETURNS boolean LANGUAGE plpgsql AS $_$ BEGIN return ($1 similar to '\d+.\d+.\d+.\d+'); END $_$; ALTER FUNCTION public.es_ip(character varying) OWNER TO pguser; -- -- Name: foo(integer); Type: FUNCTION; Schema: public; Owner: pguser -- CREATE FUNCTION foo(integer) RETURNS integer LANGUAGE plpgsql AS $$ BEGIN return 0; END $$; ALTER FUNCTION public.foo(integer) OWNER TO pguser; -- -- Name: id(character varying[]); Type: FUNCTION; Schema: public; Owner: pguser -- CREATE FUNCTION id(character varying[]) RETURNS character varying[] LANGUAGE plpgsql AS $_$ BEGIN return $1; END $_$; ALTER FUNCTION public.id(character varying[]) OWNER TO pguser; -- -- Name: is_bookmarkable(character varying); Type: FUNCTION; Schema: public; Owner: pguser -- CREATE FUNCTION is_bookmarkable(character varying) RETURNS boolean LANGUAGE plpgsql AS $_$ BEGIN return ($1 not like '%.jpg' and $1 not like '%.png' and $1 not like '%.gif' and $1 not like '%.css' and $1 not like '%.js' and $1 not like '%.ico' and $1 not like '%.jpeg' and $1 not like '%.ttf' and $1 not like '%.JPG' and $1 not like '%.svg' and $1 not like '%.json'); END $_$; ALTER FUNCTION public.is_bookmarkable(character varying) OWNER TO pguser; -- -- Name: last(character varying[]); Type: FUNCTION; Schema: public; Owner: pguser -- CREATE FUNCTION last(character varying[]) RETURNS character varying LANGUAGE plpgsql AS $_$ BEGIN return ($1)[array_upper($1,1)]; END $_$; ALTER FUNCTION public.last(character varying[]) OWNER TO pguser; -- -- Name: latest(timestamp without time zone); Type: FUNCTION; Schema: public; Owner: pguser -- CREATE FUNCTION latest(timestamp without time zone) RETURNS TABLE(t timestamp without time zone, h character varying, c bigint) LANGUAGE plpgsql AS $_$ BEGIN return query select max(at_time) t, host, count(*) from reply where status = 200 and at_time > $1 group by host order by t; END $_$; ALTER FUNCTION public.latest(timestamp without time zone) OWNER TO pguser; -- -- Name: longpath(character varying); Type: FUNCTION; Schema: public; Owner: pguser -- CREATE FUNCTION longpath(character varying) RETURNS boolean LANGUAGE plpgsql AS $_$ BEGIN return (array_length(regexp_split_to_array($1, '/'), 1) > 3); END $_$; ALTER FUNCTION public.longpath(character varying) OWNER TO pguser; -- -- Name: no_tld(character varying); Type: FUNCTION; Schema: public; Owner: pguser -- CREATE FUNCTION no_tld(character varying) RETURNS character varying LANGUAGE plpgsql AS $_$ BEGIN return (select (array_agg(unnest))[array_upper(array_agg(unnest),1)] from unnest(regexp_split_to_array($1,'\.')) where unnest not in (select tld from tlds)); END $_$; ALTER FUNCTION public.no_tld(character varying) OWNER TO pguser; -- -- Name: no_tld_arr(character varying); Type: FUNCTION; Schema: public; Owner: pguser -- CREATE FUNCTION no_tld_arr(character varying) RETURNS character varying[] LANGUAGE plpgsql AS $_$ BEGIN return (select array_agg(unnest) from unnest(regexp_split_to_array($1,'\.')) where unnest not in (select tld from tlds)); END $_$; ALTER FUNCTION public.no_tld_arr(character varying) OWNER TO pguser; SET default_tablespace = ''; SET default_with_oids = false; -- -- Name: banned; Type: TABLE; Schema: public; Owner: pguser; Tablespace: -- CREATE TABLE banned ( url character varying(256) ); ALTER TABLE public.banned OWNER TO pguser; -- -- Name: filtro; Type: TABLE; Schema: public; Owner: pguser; Tablespace: -- CREATE TABLE filtro ( host character varying(256) ); ALTER TABLE public.filtro OWNER TO pguser; -- -- Name: navigation; Type: TABLE; Schema: public; Owner: pguser; Tablespace: -- CREATE TABLE navigation ( at_time timestamp without time zone, instance integer, scheme character varying(10), host character varying(256), path character varying(256), fragment character varying(256), query json ); ALTER TABLE public.navigation OWNER TO pguser; -- -- Name: reply; Type: TABLE; Schema: public; Owner: pguser; Tablespace: -- CREATE TABLE reply ( at_time timestamp without time zone NOT NULL, instance integer NOT NULL, idx integer NOT NULL, status integer, scheme character varying(10), host character varying(256) NOT NULL, port integer, path character varying(2048) NOT NULL, fragment character varying(2048), query json, headers json ); ALTER TABLE public.reply OWNER TO pguser; -- -- Name: request; Type: TABLE; Schema: public; Owner: pguser; Tablespace: -- CREATE TABLE request ( at_time timestamp without time zone NOT NULL, instance integer NOT NULL, idx integer NOT NULL, op character varying(10), scheme character varying(10), host character varying(256) NOT NULL, port integer, path character varying(2048) NOT NULL, fragment character varying(2048), query json, headers json, data json, source character varying(256) ); ALTER TABLE public.request OWNER TO pguser; -- -- Name: tlds; Type: TABLE; Schema: public; Owner: pguser; Tablespace: -- CREATE TABLE tlds ( tld character varying(256) ); ALTER TABLE public.tlds OWNER TO pguser; -- -- Name: banned_url_key; Type: CONSTRAINT; Schema: public; Owner: pguser; Tablespace: -- ALTER TABLE ONLY banned ADD CONSTRAINT banned_url_key UNIQUE (url); -- -- Name: filtro_host_key; Type: CONSTRAINT; Schema: public; Owner: pguser; Tablespace: -- ALTER TABLE ONLY filtro ADD CONSTRAINT filtro_host_key UNIQUE (host); -- -- Name: tlds_tld_key; Type: CONSTRAINT; Schema: public; Owner: pguser; Tablespace: -- ALTER TABLE ONLY tlds ADD CONSTRAINT tlds_tld_key UNIQUE (tld); -- -- Name: navigation_host_path_idx; Type: INDEX; Schema: public; Owner: pguser; Tablespace: -- CREATE INDEX navigation_host_path_idx ON navigation USING btree (host, path); -- -- Name: public; Type: ACL; Schema: -; Owner: pgsql -- REVOKE ALL ON SCHEMA public FROM PUBLIC; REVOKE ALL ON SCHEMA public FROM pgsql; GRANT ALL ON SCHEMA public TO pgsql; GRANT ALL ON SCHEMA public TO PUBLIC; -- -- PostgreSQL database dump complete --
<reponame>taritom/bn-api<filename>db/migrations/00000000000007_artists/down.sql DROP INDEX IF EXISTS index_artists_name; DROP INDEX IF EXISTS index_artists_organization_id DROP TABLE IF EXISTS artists;
<reponame>hirokai/virtual-poster ALTER TABLE poster DROP COLUMN attr1_key, DROP COLUMN attr1_val, DROP COLUMN attr2_key, DROP COLUMN attr2_val, DROP COLUMN attr3_key, DROP COLUMN attr3_val, DROP COLUMN attr4_key, DROP COLUMN attr4_val, DROP COLUMN attr5_key, DROP COLUMN attr5_val; DELETE FROM schema_version; INSERT INTO schema_version ("version") VALUES ('20210208b');
BEGIN TRANSACTION; DROP TABLE IF EXISTS tbl_data_reading; CREATE TABLE tbl_data_reading ( ID integer primary key, FileURL varchar, FileName varchar, ReadDate timestamp, LastScrapeDate timestamp ); COMMIT;
<reponame>capteinn/amolana<filename>db/amolana.sql -- phpMyAdmin SQL Dump -- version 4.7.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Sep 03, 2020 at 09:26 AM -- Server version: 10.1.29-MariaDB -- PHP Version: 7.2.0 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: `amolana` -- -- -------------------------------------------------------- -- -- Table structure for table `durasi` -- CREATE TABLE `durasi` ( `id_durasi` int(11) NOT NULL, `kode_pesanan` varchar(255) DEFAULT NULL, `id_terapis` varchar(255) DEFAULT NULL, `durasi` time DEFAULT NULL, `status_durasi` varchar(255) DEFAULT NULL, `tanggal` date DEFAULT NULL, `id_client` int(255) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT; -- -- Dumping data for table `durasi` -- INSERT INTO `durasi` (`id_durasi`, `kode_pesanan`, `id_terapis`, `durasi`, `status_durasi`, `tanggal`, `id_client`) VALUES (2, 'BOOK-3340C1', '5', '20:00:00', '0', '2019-08-03', 73), (3, 'BOOK-3340C1', '5', '20:30:00', '0', '2019-08-03', 73), (4, 'BOOK-3340C1', '5', '21:00:00', '0', '2019-08-03', 73), (5, 'BOOK-3340C1', '5', '21:30:00', '0', '2019-08-03', 73), (6, 'BOOK-3340C1', '5', '22:00:00', '0', '2019-08-03', 73), (7, 'BOOK-3503020C2', '3', '16:00:00', '0', '2019-08-03', 73), (8, 'BOOK-3503020C2', '3', '16:30:00', '0', '2019-08-03', 73), (9, 'BOOK-3503020C2', '3', '17:00:00', '0', '2019-08-03', 73), (10, 'BOOK-3503020C2', '3', '17:30:00', '0', '2019-08-03', 73), (11, 'BOOK-3503020C2', '3', '18:00:00', '0', '2019-08-03', 73), (12, 'BOOK-230232C3', '5', '08:00:00', '0', '2020-09-03', 74); -- -------------------------------------------------------- -- -- Table structure for table `foto_transfer` -- CREATE TABLE `foto_transfer` ( `id_foto` int(11) NOT NULL, `kode_pesanan_foto` varchar(255) DEFAULT NULL, `file_name` varchar(255) DEFAULT NULL, `file_size` varchar(255) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT; -- -- Dumping data for table `foto_transfer` -- INSERT INTO `foto_transfer` (`id_foto`, `kode_pesanan_foto`, `file_name`, `file_size`) VALUES (10, 'BOOK-3340C1', 'Aminem.JPG', '12464'), (11, 'BOOK-3503020C2', 'Puji.JPG', '13401'), (12, 'BOOK-230232C3', '1024px-Noun_Project_Community_icon_986471.svg.png', '34889'); -- -------------------------------------------------------- -- -- Table structure for table `gaji` -- CREATE TABLE `gaji` ( `id_gaji` int(11) NOT NULL, `id_terapis` int(11) DEFAULT NULL, `tunjangan` varchar(255) DEFAULT NULL, `potongan_lainya` varchar(255) DEFAULT NULL, `tanggal_awal` date DEFAULT NULL, `tanggal_akhir` date DEFAULT NULL, `pendapatan_pesanan` varchar(255) DEFAULT NULL, `jumlah_pesanan` varchar(255) DEFAULT NULL, `total_jam` varchar(255) DEFAULT NULL, `tip` varchar(255) DEFAULT NULL, `absen` varchar(255) DEFAULT NULL, `gaji_pokok` varchar(255) DEFAULT NULL, `total` varchar(255) DEFAULT NULL, `keterangan` longtext, `tanggal_input` date DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT; -- -------------------------------------------------------- -- -- Table structure for table `kabupaten` -- CREATE TABLE `kabupaten` ( `id_kab` char(4) NOT NULL, `id_prov` char(2) NOT NULL, `nama_kab` tinytext NOT NULL, `id_jenis` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT; -- -- Dumping data for table `kabupaten` -- INSERT INTO `kabupaten` (`id_kab`, `id_prov`, `nama_kab`, `id_jenis`) VALUES ('1101', '11', 'KAB. ACEH SELATAN', 1), ('1102', '11', 'KAB. ACEH TENGGARA', 1), ('1103', '11', 'KAB. ACEH TIMUR', 1), ('1104', '11', 'KAB. ACEH TENGAH', 1), ('1105', '11', 'KAB. ACEH BARAT', 1), ('1106', '11', 'KAB. ACEH BESAR', 1), ('1107', '11', 'KAB. PIDIE', 1), ('1108', '11', 'KAB. ACEH UTARA', 1), ('1109', '11', 'KAB. SIMEULUE', 1), ('1110', '11', 'KAB. ACEH SINGKIL', 1), ('1111', '11', 'KAB. BIREUEN', 1), ('1112', '11', 'KAB. ACEH BARAT DAYA', 1), ('1113', '11', 'KAB. GAYO LUES', 1), ('1114', '11', 'KAB. ACEH JAYA', 1), ('1115', '11', 'KAB. NAGAN RAYA', 1), ('1116', '11', 'KAB. ACEH TAMIANG', 1), ('1117', '11', 'KAB. BENER MERIAH', 1), ('1118', '11', 'KAB. PIDIE JAYA', 1), ('1171', '11', 'KOTA BANDA ACEH', 2), ('1172', '11', 'KOTA SABANG', 2), ('1173', '11', 'KOTA LHOKSEUMAWE', 2), ('1174', '11', 'KOTA LANGSA', 2), ('1175', '11', 'KOTA SUBULUSSALAM', 2), ('1201', '12', 'KAB. TAPANULI TENGAH', 1), ('1202', '12', 'KAB. TAPANULI UTARA', 1), ('1203', '12', 'KAB. TAPANULI SELATAN', 1), ('1204', '12', 'KAB. NIAS', 1), ('1205', '12', 'KAB. LANGKAT', 1), ('1206', '12', 'KAB. KARO', 1), ('1207', '12', 'KAB. DELI SERDANG', 1), ('1208', '12', 'KAB. SIMALUNGUN', 1), ('1209', '12', 'KAB. ASAHAN', 1), ('1210', '12', 'KAB. LABUHANBATU', 1), ('1211', '12', 'KAB. DAIRI', 1), ('1212', '12', 'KAB. TOBA SAMOSIR', 1), ('1213', '12', 'KAB. MANDAILING NATAL', 1), ('1214', '12', 'KAB. NIAS SELATAN', 1), ('1215', '12', 'KAB. PAKPAK BHARAT', 1), ('1216', '12', 'KAB. HUMBANG HASUNDUTAN', 1), ('1217', '12', 'KAB. SAMOSIR', 1), ('1218', '12', 'KAB. SERDANG BEDAGAI', 1), ('1219', '12', 'KAB. BATU BARA', 1), ('1220', '12', 'KAB. PADANG LAWAS UTARA', 1), ('1221', '12', 'KAB. PADANG LAWAS', 1), ('1222', '12', 'KAB. LABUHANBATU SELATAN', 1), ('1223', '12', 'KAB. LABUHANBATU UTARA', 1), ('1224', '12', 'KAB. NIAS UTARA', 1), ('1225', '12', 'KAB. NIAS BARAT', 1), ('1271', '12', 'KOTA MEDAN', 2), ('1272', '12', 'KOTA PEMATANG SIANTAR', 2), ('1273', '12', 'KOTA SIBOLGA', 2), ('1274', '12', 'KOTA TANJUNG BALAI', 2), ('1275', '12', 'KOTA BINJAI', 2), ('1276', '12', 'KOTA TEBING TINGGI', 2), ('1277', '12', 'KOTA PADANGSIDIMPUAN', 2), ('1278', '12', 'KOTA GUNUNGSITOLI', 2), ('1301', '13', 'KAB. PESISIR SELATAN', 1), ('1302', '13', 'KAB. SOLOK', 1), ('1303', '13', 'KAB. SIJUNJUNG', 1), ('1304', '13', 'KAB. TANAH DATAR', 1), ('1305', '13', 'KAB. PADANG PARIAMAN', 1), ('1306', '13', 'KAB. AGAM', 1), ('1307', '13', 'KAB. LIMA PULUH KOTA', 1), ('1308', '13', 'KAB. PASAMAN', 1), ('1309', '13', 'KAB. KEPULAUAN MENTAWAI', 1), ('1310', '13', 'KAB. DHARMASRAYA', 1), ('1311', '13', 'KAB. SOLOK SELATAN', 1), ('1312', '13', 'KAB. PASAMAN BARAT', 1), ('1371', '13', 'KOTA PADANG', 2), ('1372', '13', 'KOTA SOLOK', 2), ('1373', '13', 'KOTA SAWAHLUNTO', 2), ('1374', '13', 'KOTA PADANG PANJANG', 2), ('1375', '13', 'KOTA BUKITTINGGI', 2), ('1376', '13', 'KOTA PAYAKUMBUH', 2), ('1377', '13', 'KOTA PARIAMAN', 2), ('1401', '14', 'KAB. KAMPAR', 1), ('1402', '14', 'KAB. INDRAGIRI HULU', 1), ('1403', '14', 'KAB. BENGKALIS', 1), ('1404', '14', 'KAB. INDRAGIRI HILIR', 1), ('1405', '14', 'KAB. PELALAWAN', 1), ('1406', '14', 'KAB. ROKAN HULU', 1), ('1407', '14', 'KAB. ROKAN HILIR', 1), ('1408', '14', 'KAB. SIAK', 1), ('1409', '14', 'KAB. KUANTAN SINGINGI', 1), ('1410', '14', 'KAB. KEPULAUAN MERANTI', 1), ('1471', '14', 'KOTA PEKANBARU', 2), ('1472', '14', 'KOTA DUMAI', 2), ('1501', '15', 'KAB. KERINCI', 1), ('1502', '15', 'KAB. MERANGIN', 1), ('1503', '15', 'KAB. SAROLANGUN', 1), ('1504', '15', 'KAB. BATANGHARI', 1), ('1505', '15', 'KAB. MUARO JAMBI', 1), ('1506', '15', 'KAB. TANJUNG JABUNG BARAT', 1), ('1507', '15', 'KAB. TANJUNG JABUNG TIMUR', 1), ('1508', '15', 'KAB. BUNGO', 1), ('1509', '15', 'KAB. TEBO', 1), ('1571', '15', 'KOTA JAMBI', 2), ('1572', '15', 'KOTA SUNGAI PENUH', 2), ('1601', '16', 'KAB. OGAN KOMERING ULU', 1), ('1602', '16', 'KAB. OGAN KOMERING ILIR', 1), ('1603', '16', 'KAB. MUARA ENIM', 1), ('1604', '16', 'KAB. LAHAT', 1), ('1605', '16', 'KAB. MUSI RAWAS', 1), ('1606', '16', 'KAB. MUSI BANYUASIN', 1), ('1607', '16', 'KAB. BANYUASIN', 1), ('1608', '16', 'KAB. OGAN KOMERING ULU TIMUR', 1), ('1609', '16', 'KAB. OGAN KOMERING ULU SELATAN', 1), ('1610', '16', 'KAB. OGAN ILIR', 1), ('1611', '16', 'KAB. EMPAT LAWANG', 1), ('1612', '16', 'KAB. PENUKAL ABAB LEMATANG ILIR', 1), ('1613', '16', 'KAB. MUSI RAWAS UTARA', 1), ('1671', '16', 'KOTA PALEMBANG', 2), ('1672', '16', 'KOTA PAGAR ALAM', 2), ('1673', '16', 'KOTA LUBUK LINGGAU', 2), ('1674', '16', 'KOTA PRABUMULIH', 2), ('1701', '17', 'KAB. BENGKULU SELATAN', 1), ('1702', '17', 'KAB. REJANG LEBONG', 1), ('1703', '17', 'KAB. BENGKULU UTARA', 1), ('1704', '17', 'KAB. KAUR', 1), ('1705', '17', 'KAB. SELUMA', 1), ('1706', '17', 'KAB. MUKO MUKO', 1), ('1707', '17', 'KAB. LEBONG', 1), ('1708', '17', 'KAB. KEPAHIANG', 1), ('1709', '17', 'KAB. BENGKULU TENGAH', 1), ('1771', '17', 'KOTA BENGKULU', 2), ('1801', '18', 'KAB. LAMPUNG SELATAN', 1), ('1802', '18', 'KAB. LAMPUNG TENGAH', 1), ('1803', '18', 'KAB. LAMPUNG UTARA', 1), ('1804', '18', 'KAB. LAMPUNG BARAT', 1), ('1805', '18', 'KAB. TULANG BAWANG', 1), ('1806', '18', 'KAB. TANGGAMUS', 1), ('1807', '18', 'KAB. LAMPUNG TIMUR', 1), ('1808', '18', 'KAB. WAY KANAN', 1), ('1809', '18', 'KAB. PESAWARAN', 1), ('1810', '18', 'KAB. PRINGSEWU', 1), ('1811', '18', 'KAB. MESUJI', 1), ('1812', '18', 'KAB. TULANG BAWANG BARAT', 1), ('1813', '18', 'KAB. PESISIR BARAT', 1), ('1871', '18', 'KOTA BANDAR LAMPUNG', 2), ('1872', '18', 'KOTA METRO', 2), ('1901', '19', 'KAB. BANGKA', 1), ('1902', '19', 'KAB. BELITUNG', 1), ('1903', '19', 'KAB. BANGKA SELATAN', 1), ('1904', '19', 'KAB. BANGKA TENGAH', 1), ('1905', '19', 'KAB. BANGKA BARAT', 1), ('1906', '19', 'KAB. BELITUNG TIMUR', 1), ('1971', '19', 'KOTA PANGKAL PINANG', 2), ('2101', '21', 'KAB. BINTAN', 1), ('2102', '21', 'KAB. KARIMUN', 1), ('2103', '21', 'KAB. NATUNA', 1), ('2104', '21', 'KAB. LINGGA', 1), ('2105', '21', 'KAB. KEPULAUAN ANAMBAS', 1), ('2171', '21', 'KOTA BATAM', 2), ('2172', '21', 'KOTA TANJUNG PINANG', 2), ('3101', '31', 'KAB. ADM. KEP. SERIBU', 1), ('3171', '31', 'KOTA ADM. JAKARTA PUSAT', 2), ('3172', '31', 'KOTA ADM. JAKARTA UTARA', 2), ('3173', '31', 'KOTA ADM. JAKARTA BARAT', 2), ('3174', '31', 'KOTA ADM. JAKARTA SELATAN', 2), ('3175', '31', 'KOTA ADM. JAKARTA TIMUR', 2), ('3201', '32', 'KAB. BOGOR', 1), ('3202', '32', 'KAB. SUKABUMI', 1), ('3203', '32', 'KAB. CIANJUR', 1), ('3204', '32', 'KAB. BANDUNG', 1), ('3205', '32', 'KAB. GARUT', 1), ('3206', '32', 'KAB. TASIKMALAYA', 1), ('3207', '32', 'KAB. CIAMIS', 1), ('3208', '32', 'KAB. KUNINGAN', 1), ('3209', '32', 'KAB. CIREBON', 1), ('3210', '32', 'KAB. MAJALENGKA', 1), ('3211', '32', 'KAB. SUMEDANG', 1), ('3212', '32', 'KAB. INDRAMAYU', 1), ('3213', '32', 'KAB. SUBANG', 1), ('3214', '32', 'KAB. PURWAKARTA', 1), ('3215', '32', 'KAB. KARAWANG', 1), ('3216', '32', 'KAB. BEKASI', 1), ('3217', '32', 'KAB. BANDUNG BARAT', 1), ('3218', '32', 'KAB. PANGANDARAN', 1), ('3271', '32', 'KOTA BOGOR', 2), ('3272', '32', 'KOTA SUKABUMI', 2), ('3273', '32', 'KOTA BANDUNG', 2), ('3274', '32', 'KOTA CIREBON', 2), ('3275', '32', 'KOTA BEKASI', 2), ('3276', '32', 'KOTA DEPOK', 2), ('3277', '32', 'KOTA CIMAHI', 2), ('3278', '32', 'KOTA TASIKMALAYA', 2), ('3279', '32', 'KOTA BANJAR', 2), ('3301', '33', 'KAB. CILACAP', 1), ('3302', '33', 'KAB. BANYUMAS', 1), ('3303', '33', 'KAB. PURBALINGGA', 1), ('3304', '33', 'KAB. BANJARNEGARA', 1), ('3305', '33', 'KAB. KEBUMEN', 1), ('3306', '33', 'KAB. PURWOREJO', 1), ('3307', '33', 'KAB. WONOSOBO', 1), ('3308', '33', 'KAB. MAGELANG', 1), ('3309', '33', 'KAB. BOYOLALI', 1), ('3310', '33', 'KAB. KLATEN', 1), ('3311', '33', 'KAB. SUKOHARJO', 1), ('3312', '33', 'KAB. WONOGIRI', 1), ('3313', '33', 'KAB. KARANGANYAR', 1), ('3314', '33', 'KAB. SRAGEN', 1), ('3315', '33', 'KAB. GROBOGAN', 1), ('3316', '33', 'KAB. BLORA', 1), ('3317', '33', 'KAB. REMBANG', 1), ('3318', '33', 'KAB. PATI', 1), ('3319', '33', 'KAB. KUDUS', 1), ('3320', '33', 'KAB. JEPARA', 1), ('3321', '33', 'KAB. DEMAK', 1), ('3322', '33', 'KAB. SEMARANG', 1), ('3323', '33', 'KAB. TEMANGGUNG', 1), ('3324', '33', 'KAB. KENDAL', 1), ('3325', '33', 'KAB. BATANG', 1), ('3326', '33', 'KAB. PEKALONGAN', 1), ('3327', '33', 'KAB. PEMALANG', 1), ('3328', '33', 'KAB. TEGAL', 1), ('3329', '33', 'KAB. BREBES', 1), ('3371', '33', 'KOTA MAGELANG', 2), ('3372', '33', 'KOTA SURAKARTA', 2), ('3373', '33', 'KOTA SALATIGA', 2), ('3374', '33', 'KOTA SEMARANG', 2), ('3375', '33', 'KOTA PEKALONGAN', 2), ('3376', '33', 'KOTA TEGAL', 2), ('3401', '34', 'KAB. KULON PROGO', 1), ('3402', '34', 'KAB. BANTUL', 1), ('3403', '34', 'KAB. GUNUNG KIDUL', 1), ('3404', '34', 'KAB. SLEMAN', 1), ('3471', '34', 'KOTA YOGYAKARTA', 2), ('3501', '35', 'KAB. PACITAN', 1), ('3502', '35', 'KAB. PONOROGO', 1), ('3503', '35', 'KAB. TRENGGALEK', 1), ('3504', '35', 'KAB. TULUNGAGUNG', 1), ('3505', '35', 'KAB. BLITAR', 1), ('3506', '35', 'KAB. KEDIRI', 1), ('3507', '35', 'KAB. MALANG', 1), ('3508', '35', 'KAB. LUMAJANG', 1), ('3509', '35', 'KAB. JEMBER', 1), ('3510', '35', 'KAB. BANYUWANGI', 1), ('3511', '35', 'KAB. BONDOWOSO', 1), ('3512', '35', 'KAB. SITUBONDO', 1), ('3513', '35', 'KAB. PROBOLINGGO', 1), ('3514', '35', 'KAB. PASURUAN', 1), ('3515', '35', 'KAB. SIDOARJO', 1), ('3516', '35', 'KAB. MOJOKERTO', 1), ('3517', '35', 'KAB. JOMBANG', 1), ('3518', '35', 'KAB. NGANJUK', 1), ('3519', '35', 'KAB. MADIUN', 1), ('3520', '35', 'KAB. MAGETAN', 1), ('3521', '35', 'KAB. NGAWI', 1), ('3522', '35', 'KAB. BOJONEGORO', 1), ('3523', '35', 'KAB. TUBAN', 1), ('3524', '35', 'KAB. LAMONGAN', 1), ('3525', '35', 'KAB. GRESIK', 1), ('3526', '35', 'KAB. BANGKALAN', 1), ('3527', '35', 'KAB. SAMPANG', 1), ('3528', '35', 'KAB. PAMEKASAN', 1), ('3529', '35', 'KAB. SUMENEP', 1), ('3571', '35', 'KOTA KEDIRI', 2), ('3572', '35', 'KOTA BLITAR', 2), ('3573', '35', 'KOTA MALANG', 2), ('3574', '35', 'KOTA PROBOLINGGO', 2), ('3575', '35', 'KOTA PASURUAN', 2), ('3576', '35', 'KOTA MOJOKERTO', 2), ('3577', '35', 'KOTA MADIUN', 2), ('3578', '35', 'KOTA SURABAYA', 2), ('3579', '35', 'KOTA BATU', 2), ('3601', '36', 'KAB. PANDEGLANG', 1), ('3602', '36', 'KAB. LEBAK', 1), ('3603', '36', 'KAB. TANGERANG', 1), ('3604', '36', 'KAB. SERANG', 1), ('3671', '36', 'KOTA TANGERANG', 2), ('3672', '36', 'KOTA CILEGON', 2), ('3673', '36', 'KOTA SERANG', 2), ('3674', '36', 'KOTA TANGERANG SELATAN', 2), ('5101', '51', 'KAB. JEMBRANA', 1), ('5102', '51', 'KAB. TABANAN', 1), ('5103', '51', 'KAB. BADUNG', 1), ('5104', '51', 'KAB. GIANYAR', 1), ('5105', '51', 'KAB. KLUNGKUNG', 1), ('5106', '51', 'KAB. BANGLI', 1), ('5107', '51', 'KAB. KARANGASEM', 1), ('5108', '51', 'KAB. BULELENG', 1), ('5171', '51', 'KOTA DENPASAR', 2), ('5201', '52', 'KAB. LOMBOK BARAT', 1), ('5202', '52', 'KAB. LOMBOK TENGAH', 1), ('5203', '52', 'KAB. LOMBOK TIMUR', 1), ('5204', '52', 'KAB. SUMBAWA', 1), ('5205', '52', 'KAB. DOMPU', 1), ('5206', '52', 'KAB. BIMA', 1), ('5207', '52', 'KAB. SUMBAWA BARAT', 1), ('5208', '52', 'KAB. LOMBOK UTARA', 1), ('5271', '52', 'KOTA MATARAM', 2), ('5272', '52', 'KOTA BIMA', 2), ('5301', '53', 'KAB. KUPANG', 1), ('5302', '53', 'KAB TIMOR TENGAH SELATAN', 1), ('5303', '53', 'KAB. TIMOR TENGAH UTARA', 1), ('5304', '53', 'KAB. BELU', 1), ('5305', '53', 'KAB. ALOR', 1), ('5306', '53', 'KAB. FLORES TIMUR', 1), ('5307', '53', 'KAB. SIKKA', 1), ('5308', '53', 'KAB. ENDE', 1), ('5309', '53', 'KAB. NGADA', 1), ('5310', '53', 'KAB. MANGGARAI', 1), ('5311', '53', 'KAB. SUMBA TIMUR', 1), ('5312', '53', 'KAB. SUMBA BARAT', 1), ('5313', '53', 'KAB. LEMBATA', 1), ('5314', '53', 'KAB. ROTE NDAO', 1), ('5315', '53', 'KAB. MANGGARAI BARAT', 1), ('5316', '53', 'KAB. NAGEKEO', 1), ('5317', '53', 'KAB. SUMBA TENGAH', 1), ('5318', '53', 'KAB. SUMBA BARAT DAYA', 1), ('5319', '53', 'KAB. MANGGARAI TIMUR', 1), ('5320', '53', 'KAB. SABU RAIJUA', 1), ('5321', '53', 'KAB. MALAKA', 1), ('5371', '53', 'KOTA KUPANG', 2), ('6101', '61', 'KAB. SAMBAS', 1), ('6102', '61', 'KAB. MEMPAWAH', 1), ('6103', '61', 'KAB. SANGGAU', 1), ('6104', '61', 'KAB. KETAPANG', 1), ('6105', '61', 'KAB. SINTANG', 1), ('6106', '61', 'KAB. KAPUAS HULU', 1), ('6107', '61', 'KAB. BENGKAYANG', 1), ('6108', '61', 'KAB. LANDAK', 1), ('6109', '61', 'KAB. SEKADAU', 1), ('6110', '61', 'KAB. MELAWI', 1), ('6111', '61', 'KAB. KAYONG UTARA', 1), ('6112', '61', 'KAB. KUBU RAYA', 1), ('6171', '61', 'KOTA PONTIANAK', 2), ('6172', '61', 'KOTA SINGKAWANG', 2), ('6201', '62', 'KAB. KOTAWARINGIN BARAT', 1), ('6202', '62', 'KAB. KOTAWARINGIN TIMUR', 1), ('6203', '62', 'KAB. KAPUAS', 1), ('6204', '62', 'KAB. BARITO SELATAN', 1), ('6205', '62', 'KAB. BARITO UTARA', 1), ('6206', '62', 'KAB. KATINGAN', 1), ('6207', '62', 'KAB. SERUYAN', 1), ('6208', '62', 'KAB. SUKAMARA', 1), ('6209', '62', 'KAB. LAMANDAU', 1), ('6210', '62', 'KAB. GUNUNG MAS', 1), ('6211', '62', 'KAB. PULANG PISAU', 1), ('6212', '62', 'KAB. MURUNG RAYA', 1), ('6213', '62', 'KAB. BARITO TIMUR', 1), ('6271', '62', 'KOTA PALANGKARAYA', 2), ('6301', '63', 'KAB. TANAH LAUT', 1), ('6302', '63', 'KAB. KOTABARU', 1), ('6303', '63', 'KAB. BANJAR', 1), ('6304', '63', 'KAB. BARITO KUALA', 1), ('6305', '63', 'KAB. TAPIN', 1), ('6306', '63', 'KAB. HULU SUNGAI SELATAN', 1), ('6307', '63', 'KAB. HULU SUNGAI TENGAH', 1), ('6308', '63', 'KAB. HULU SUNGAI UTARA', 1), ('6309', '63', 'KAB. TABALONG', 1), ('6310', '63', 'KAB. TANAH BUMBU', 1), ('6311', '63', 'KAB. BALANGAN', 1), ('6371', '63', 'KOTA BANJARMASIN', 2), ('6372', '63', 'KOTA BANJARBARU', 2), ('6401', '64', 'KAB. PASER', 1), ('6402', '64', 'KAB. KUTAI KARTANEGARA', 1), ('6403', '64', 'KAB. BERAU', 1), ('6407', '64', 'KAB. KUTAI BARAT', 1), ('6408', '64', 'KAB. KUTAI TIMUR', 1), ('6409', '64', 'KAB. PENAJAM PASER UTARA', 1), ('6411', '64', 'KAB. MAHAKAM ULU', 1), ('6471', '64', 'KOTA BALIKPAPAN', 2), ('6472', '64', 'KOTA SAMARINDA', 2), ('6474', '64', 'KOTA BONTANG', 2), ('6501', '65', 'KAB. BULUNGAN', 1), ('6502', '65', 'KAB. MALINAU', 1), ('6503', '65', 'KAB. NUNUKAN', 1), ('6504', '65', 'KAB. TANA TIDUNG', 1), ('6571', '65', 'KOTA TARAKAN', 2), ('7101', '71', 'KAB. BOLAANG MONGONDOW', 1), ('7102', '71', 'KAB. MINAHASA', 1), ('7103', '71', 'KAB. KEPULAUAN SANGIHE', 1), ('7104', '71', 'KAB. KEPULAUAN TALAUD', 1), ('7105', '71', 'KAB. MINAHASA SELATAN', 1), ('7106', '71', 'KAB. MINAHASA UTARA', 1), ('7107', '71', 'KAB. MINAHASA TENGGARA', 1), ('7108', '71', 'KAB. BOLAANG MONGONDOW UTARA', 1), ('7109', '71', 'KAB. KEP. SIAU TAGULANDANG BIARO', 1), ('7110', '71', 'KAB. BOLAANG MONGONDOW TIMUR', 1), ('7111', '71', 'KAB. BOLAANG MONGONDOW SELATAN', 1), ('7171', '71', 'KOTA MANADO', 2), ('7172', '71', 'KOTA BITUNG', 2), ('7173', '71', 'KOTA TOMOHON', 2), ('7174', '71', 'KOTA KOTAMOBAGU', 2), ('7201', '72', 'KAB. BANGGAI', 1), ('7202', '72', 'KAB. POSO', 1), ('7203', '72', 'KAB. DONGGALA', 1), ('7204', '72', 'KAB. TOLI TOLI', 1), ('7205', '72', 'KAB. BUOL', 1), ('7206', '72', 'KAB. MOROWALI', 1), ('7207', '72', 'KAB. BANGGAI KEPULAUAN', 1), ('7208', '72', 'KAB. <NAME>', 1), ('7209', '72', 'KAB. TOJO UNA UNA', 1), ('7210', '72', 'KAB. SIGI', 1), ('7211', '72', 'KAB. BANGGAI LAUT', 1), ('7212', '72', 'KAB. MOROWALI UTARA', 1), ('7271', '72', 'KOTA PALU', 2), ('7301', '73', 'KAB. KEPULAUAN SELAYAR', 1), ('7302', '73', 'KAB. BULUKUMBA', 1), ('7303', '73', 'KAB. BANTAENG', 1), ('7304', '73', 'KAB. JENEPONTO', 1), ('7305', '73', 'KAB. TAKALAR', 1), ('7306', '73', 'KAB. GOWA', 1), ('7307', '73', 'KAB. SINJAI', 1), ('7308', '73', 'KAB. BONE', 1), ('7309', '73', 'KAB. MAROS', 1), ('7310', '73', 'KAB. PANGKAJENE KEPULAUAN', 1), ('7311', '73', 'KAB. BARRU', 1), ('7312', '73', 'KAB. SOPPENG', 1), ('7313', '73', 'KAB. WAJO', 1), ('7314', '73', 'KAB. SIDENRENG RAPPANG', 1), ('7315', '73', 'KAB. PINRANG', 1), ('7316', '73', 'KAB. ENREKANG', 1), ('7317', '73', 'KAB. LUWU', 1), ('7318', '73', 'KAB. TANA TORAJA', 1), ('7322', '73', 'KAB. LUWU UTARA', 1), ('7324', '73', 'KAB. LUWU TIMUR', 1), ('7326', '73', 'KAB. TORAJA UTARA', 1), ('7371', '73', 'KOTA MAKASSAR', 2), ('7372', '73', 'KOTA PARE PARE', 2), ('7373', '73', 'KOTA PALOPO', 2), ('7401', '74', 'KAB. KOLAKA', 1), ('7402', '74', 'KAB. KONAWE', 1), ('7403', '74', 'KAB. MUNA', 1), ('7404', '74', 'KAB. BUTON', 1), ('7405', '74', 'KAB. KONAWE SELATAN', 1), ('7406', '74', 'KAB. BOMBANA', 1), ('7407', '74', 'KAB. WAKATOBI', 1), ('7408', '74', 'KAB. KOLAKA UTARA', 1), ('7409', '74', 'KAB. KONAWE UTARA', 1), ('7410', '74', 'KAB. BUTON UTARA', 1), ('7411', '74', 'KAB. KOLAKA TIMUR', 1), ('7412', '74', 'KAB. KONAWE KEPULAUAN', 1), ('7413', '74', 'KAB. MUNA BARAT', 1), ('7414', '74', 'KAB. BUTON TENGAH', 1), ('7415', '74', 'KAB. BUTON SELATAN', 1), ('7471', '74', 'KOTA KENDARI', 2), ('7472', '74', 'KOTA BAU BAU', 2), ('7501', '75', 'KAB. GORONTALO', 1), ('7502', '75', 'KAB. BOALEMO', 1), ('7503', '75', 'KAB. BONE BOLANGO', 1), ('7504', '75', 'KAB. PAHUWATO', 1), ('7505', '75', 'KAB. GORONTALO UTARA', 1), ('7571', '75', 'KOTA GORONTALO', 2), ('7601', '76', 'KAB. MAMUJU UTARA', 1), ('7602', '76', 'KAB. MAMUJU', 1), ('7603', '76', 'KAB. MAMASA', 1), ('7604', '76', 'KAB. POLEWALI MANDAR', 1), ('7605', '76', 'KAB. MAJENE', 1), ('7606', '76', 'KAB. MAMUJU TENGAH', 1), ('8101', '81', 'KAB. MALUKU TENGAH', 1), ('8102', '81', 'KAB. MALUKU TENGGARA', 1), ('8103', '81', 'KAB MALUKU TENGGARA BARAT', 1), ('8104', '81', 'KAB. BURU', 1), ('8105', '81', 'KAB. SERAM BAGIAN TIMUR', 1), ('8106', '81', 'KAB. SERAM BAGIAN BARAT', 1), ('8107', '81', 'KAB. KEPULAUAN ARU', 1), ('8108', '81', 'KAB. MALUKU BARAT DAYA', 1), ('8109', '81', 'KAB. BURU SELATAN', 1), ('8171', '81', 'KOTA AMBON', 2), ('8172', '81', 'KOTA TUAL', 2), ('8201', '82', 'KAB. HALMAHERA BARAT', 1), ('8202', '82', 'KAB. HALMAHERA TENGAH', 1), ('8203', '82', 'KAB. HALMAHERA UTARA', 1), ('8204', '82', 'KAB. HALMAHERA SELATAN', 1), ('8205', '82', 'KAB. KEPULAUAN SULA', 1), ('8206', '82', 'KAB. HALMAHERA TIMUR', 1), ('8207', '82', 'KAB. PULAU MOROTAI', 1), ('8208', '82', 'KAB. PULAU TALIABU', 1), ('8271', '82', 'KOTA TERNATE', 2), ('8272', '82', 'KOTA TIDORE KEPULAUAN', 2), ('9101', '91', 'KAB. MERAUKE', 1), ('9102', '91', 'KAB. JAYAWIJAYA', 1), ('9103', '91', 'KAB. JAYAPURA', 1), ('9104', '91', 'KAB. NABIRE', 1), ('9105', '91', 'KAB. KEPULAUAN YAPEN', 1), ('9106', '91', 'KAB. BIAK NUMFOR', 1), ('9107', '91', 'KAB. PUNCAK JAYA', 1), ('9108', '91', 'KAB. PANIAI', 1), ('9109', '91', 'KAB. MIMIKA', 1), ('9110', '91', 'KAB. SARMI', 1), ('9111', '91', 'KAB. KEEROM', 1), ('9112', '91', 'KAB PEGUNUNGAN BINTANG', 1), ('9113', '91', 'KAB. YAHUKIMO', 1), ('9114', '91', 'KAB. TOLIKARA', 1), ('9115', '91', 'KAB. WAROPEN', 1), ('9116', '91', 'KAB. <NAME>', 1), ('9117', '91', 'KAB. MAPPI', 1), ('9118', '91', 'KAB. ASMAT', 1), ('9119', '91', 'KAB. SUPIORI', 1), ('9120', '91', 'KAB. MAMBERAMO RAYA', 1), ('9121', '91', 'KAB. MAMBERAMO TENGAH', 1), ('9122', '91', 'KAB. YALIMO', 1), ('9123', '91', 'KAB. LANNY JAYA', 1), ('9124', '91', 'KAB. NDUGA', 1), ('9125', '91', 'KAB. PUNCAK', 1), ('9126', '91', 'KAB. DOGIYAI', 1), ('9127', '91', 'KAB. INTAN JAYA', 1), ('9128', '91', 'KAB. DEIYAI', 1), ('9171', '91', 'KOTA JAYAPURA', 2), ('9201', '92', 'KAB. SORONG', 1), ('9202', '92', 'KAB. MANOKWARI', 1), ('9203', '92', 'KAB. FAK FAK', 1), ('9204', '92', 'KAB. SORONG SELATAN', 1), ('9205', '92', 'KAB. RAJA AMPAT', 1), ('9206', '92', 'KAB. TELUK BINTUNI', 1), ('9207', '92', 'KAB. TELUK WONDAMA', 1), ('9208', '92', 'KAB. KAIMANA', 1), ('9209', '92', 'KAB. TAMBRAUW', 1), ('9210', '92', 'KAB. MAYBRAT', 1), ('9211', '92', 'KAB. MANOKWARI SELATAN', 1), ('9212', '92', 'KAB. PEGUNUNGAN ARFAK', 1), ('9271', '92', 'KOTA SORONG', 2); -- -------------------------------------------------------- -- -- Table structure for table `kecamatan` -- CREATE TABLE `kecamatan` ( `id_kec` char(6) NOT NULL, `id_kab` char(4) NOT NULL, `nama_kec` tinytext NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT; -- -- Dumping data for table `kecamatan` -- INSERT INTO `kecamatan` (`id_kec`, `id_kab`, `nama_kec`) VALUES ('110101', '1101', 'Bakongan'), ('110102', '1101', 'Kluet Utara'), ('110103', '1101', 'Kluet Selatan'), ('110104', '1101', 'Labuhan Haji'), ('110105', '1101', 'Meukek'), ('110106', '1101', 'Samadua'), ('110107', '1101', 'Sawang'), ('110108', '1101', 'Tapaktuan'), ('110109', '1101', 'Trumon'), ('110110', '1101', 'Pasi Raja'), ('110111', '1101', 'Labuhan Haji Timur'), ('110112', '1101', 'Labuhan Haji Barat'), ('110113', '1101', 'Kluet Tengah'), ('110114', '1101', 'Kluet Timur'), ('110115', '1101', 'Bakongan Timur'), ('110116', '1101', 'Trumon Timur'), ('110117', '1101', 'Kota Bahagia'), ('110118', '1101', 'Trumon Tengah'), ('110201', '1102', 'Lawe Alas'), ('110202', '1102', '<NAME>-Gala'), ('110203', '1102', 'Bambel'), ('110204', '1102', 'Babussalam'), ('110205', '1102', 'Badar'), ('110206', '1102', '<NAME>'), ('110207', '1102', '<NAME>'), ('110208', '1102', '<NAME>'), ('110209', '1102', '<NAME>'), ('110210', '1102', 'Semadam'), ('110211', '1102', '<NAME>'), ('110212', '1102', 'Ketambe'), ('110213', '1102', '<NAME>'), ('110214', '1102', '<NAME>'), ('110215', '1102', '<NAME>'), ('110216', '1102', 'Leuser'), ('110301', '1103', '<NAME>'), ('110302', '1103', 'Julok'), ('110303', '1103', '<NAME>'), ('110304', '1103', '<NAME>'), ('110305', '1103', 'Serbajadi'), ('110306', '1103', 'Nurussalam'), ('110307', '1103', 'Peureulak'), ('110308', '1103', 'Rantau Selamat'), ('110309', '1103', '<NAME>'), ('110310', '1103', '<NAME>ulak'), ('110311', '1103', '<NAME>'), ('110312', '1103', 'Madat'), ('110313', '1103', '<NAME>'), ('110314', '1103', '<NAME>'), ('110315', '1103', '<NAME>'), ('110316', '1103', 'Peudawa'), ('110317', '1103', 'Peureulak Timur'), ('110318', '1103', 'Peureulak Barat'), ('110319', '1103', 'Sungai Raya'), ('110320', '1103', '<NAME>'), ('110321', '1103', '<NAME>'), ('110322', '1103', '<NAME>'), ('110323', '1103', 'Idi Timur'), ('110324', '1103', 'Peunaron'), ('110401', '1104', 'Linge'), ('110402', '1104', '<NAME>ara'), ('110403', '1104', 'Bebesen'), ('110407', '1104', 'Pegasing'), ('110408', '1104', 'Bintang'), ('110410', '1104', 'Ketol'), ('110411', '1104', 'Kebayakan'), ('110412', '1104', 'Kute Panang'), ('110413', '1104', 'Celala'), ('110417', '1104', '<NAME>'), ('110418', '1104', '<NAME>'), ('110419', '1104', '<NAME>'), ('110420', '1104', 'Bies'), ('110421', '1104', '<NAME>'), ('110501', '1105', '<NAME>'), ('110502', '1105', 'Kaway XVI'), ('110503', '1105', '<NAME>'), ('110504', '1105', 'Woyla'), ('110505', '1105', 'Samatiga'), ('110506', '1105', 'Bubon'), ('110507', '1105', '<NAME>'), ('110508', '1105', '<NAME>'), ('110509', '1105', 'Meureubo'), ('110510', '1105', '<NAME>'), ('110511', '1105', '<NAME>'), ('110512', '1105', '<NAME>'), ('110601', '1106', 'Lhoong'), ('110602', '1106', 'Lhoknga'), ('110603', '1106', 'Indrapuri'), ('110604', '1106', 'Seulimeum'), ('110605', '1106', 'Montasik'), ('110606', '1106', 'Sukamakmur'), ('110607', '1106', '<NAME>'), ('110608', '1106', '<NAME>'), ('110609', '1106', 'Mesjid Raya'), ('110610', '1106', 'Ingin Jaya'), ('110611', '1106', 'Kuta Baro'), ('110612', '1106', 'Darussalam'), ('110613', '1106', 'Pulo Aceh'), ('110614', '1106', 'Lembah Seulawah'), ('110615', '1106', 'Kota Jantho'), ('110616', '1106', 'Kota Cot Glie'), ('110617', '1106', 'Kuta Malaka'), ('110618', '1106', 'Simpang Tiga'), ('110619', '1106', 'Darul Kamal'), ('110620', '1106', 'Baitussalam'), ('110621', '1106', 'Krueng Barona Jaya'), ('110622', '1106', 'Leupung'), ('110623', '1106', 'Blang Bintang'), ('110703', '1107', 'Batee'), ('110704', '1107', 'Delima'), ('110705', '1107', 'Geumpang'), ('110706', '1107', 'Geulumpang Tiga'), ('110707', '1107', 'Indra Jaya'), ('110708', '1107', 'Kembang Tanjong'), ('110709', '1107', 'Kota Sigli'), ('110711', '1107', 'Mila'), ('110712', '1107', '<NAME>'), ('110713', '1107', 'Mutiara'), ('110714', '1107', '<NAME>'), ('110715', '1107', '<NAME>'), ('110716', '1107', 'Pidie'), ('110717', '1107', 'Sakti'), ('110718', '1107', '<NAME>iga'), ('110719', '1107', 'Tangse'), ('110721', '1107', 'Tiro/Truseb'), ('110722', '1107', 'Keumala'), ('110724', '1107', 'Muti<NAME>'), ('110725', '1107', 'Grong-grong'), ('110727', '1107', 'Mane'), ('110729', '1107', '<NAME>o'), ('110731', '1107', 'Titeue'), ('110801', '1108', 'Baktiya'), ('110802', '1108', 'Dewantara'), ('110803', '1108', 'Kuta Makmur'), ('110804', '1108', 'Lhoksukon'), ('110805', '1108', 'Matangkuli'), ('110806', '1108', '<NAME>'), ('110807', '1108', '<NAME>'), ('110808', '1108', 'Samudera'), ('110809', '1108', 'Seunuddon'), ('110810', '1108', '<NAME>'), ('110811', '1108', '<NAME>'), ('110812', '1108', 'Tanah Luas'), ('110813', '1108', '<NAME>'), ('110814', '1108', '<NAME>'), ('110815', '1108', 'Sawang'), ('110816', '1108', 'Nisam'), ('110817', '1108', 'Cot Girek'), ('110818', '1108', 'Langkahan'), ('110819', '1108', 'Baktiya Barat'), ('110820', '1108', 'Paya Bakong'), ('110821', '1108', 'Nibong'), ('110822', '1108', 'Simpang Kramat'), ('110823', '1108', 'Lapang'), ('110824', '1108', 'Pirak Timur'), ('110825', '1108', 'Geuredong Pase'), ('110826', '1108', 'Banda Baro'), ('110827', '1108', 'Nisam Antara'), ('110901', '1109', 'Simeulue Tengah'), ('110902', '1109', 'Salang'), ('110903', '1109', 'Teupah Barat'), ('110904', '1109', 'Simeulue Timur'), ('110905', '1109', 'Teluk Dalam'), ('110906', '1109', 'Simeulue Barat'), ('110907', '1109', 'Teupah Selatan'), ('110908', '1109', 'Alapan'), ('110909', '1109', 'Teupah Tengah'), ('110910', '1109', '<NAME>'), ('111001', '1110', 'Pulau Banyak'), ('111002', '1110', 'Simpang Kanan'), ('111004', '1110', 'Singkil'), ('111006', '1110', '<NAME>'), ('111009', '1110', 'Kota Baharu'), ('111010', '1110', 'Singkil Utara'), ('111011', '1110', 'Danau Paris'), ('111012', '1110', '<NAME>'), ('111013', '1110', 'Singkohor'), ('111014', '1110', 'Kuala Baru'), ('111016', '1110', 'Pulau Banyak Barat'), ('111101', '1111', 'Samalanga'), ('111102', '1111', 'Jeunieb'), ('111103', '1111', 'Peudada'), ('111104', '1111', 'Jeumpa'), ('111105', '1111', 'Peusangan'), ('111106', '1111', 'Makmur'), ('111107', '1111', 'Gandapura'), ('111108', '1111', 'Pandrah'), ('111109', '1111', 'Juli'), ('111110', '1111', 'Jangka'), ('111111', '1111', '<NAME>'), ('111112', '1111', 'Peulimbang'), ('111113', '1111', 'Kota Juang'), ('111114', '1111', 'Kuala'), ('111115', '1111', 'Peusangan Siblah Krueng'), ('111116', '1111', 'Peusangan Selatan'), ('111117', '1111', 'Kuta Blang'), ('111201', '1112', '<NAME>'), ('111202', '1112', 'Tangan-Tangan'), ('111203', '1112', 'Manggeng'), ('111204', '1112', 'Susoh'), ('111205', '1112', 'Kuala Batee'), ('111206', '1112', 'B<NAME>'), ('111207', '1112', 'Setia'), ('111208', '1112', 'Jeumpa'), ('111209', '1112', '<NAME>'), ('111301', '1113', 'Blangkejeren'), ('111302', '1113', 'Kutapanjang'), ('111303', '1113', '<NAME>'), ('111304', '1113', 'Terangun'), ('111305', '1113', 'Pining'), ('111306', '1113', 'Blangpegayon'), ('111307', '1113', 'Puteri Betung'), ('111308', '1113', '<NAME>'), ('111309', '1113', 'Blangjerango'), ('111310', '1113', '<NAME>'), ('111311', '1113', '<NAME>'), ('111401', '1114', 'Teunom'), ('111402', '1114', '<NAME>'), ('111403', '1114', '<NAME>'), ('111404', '1114', 'Sampoiniet'), ('111405', '1114', 'Jaya'), ('111406', '1114', 'Panga'), ('111407', '1114', 'Indra Jaya'), ('111408', '1114', '<NAME>'), ('111409', '1114', '<NAME>'), ('111501', '1115', 'Kuala'), ('111502', '1115', 'Seunagan'), ('111503', '1115', 'Seunagan Timur'), ('111504', '1115', 'Beutong'), ('111505', '1115', '<NAME>'), ('111506', '1115', '<NAME>'), ('111507', '1115', '<NAME>'), ('111508', '1115', 'Tadu Raya'), ('111509', '1115', '<NAME>'), ('111510', '1115', 'Beutong Ateuh Banggalang'), ('111601', '1116', '<NAME>'), ('111602', '1116', 'Bendahara'), ('111603', '1116', 'Karang Baru'), ('111604', '1116', 'Seruway'), ('111605', '1116', 'Kota Kualasinpang'), ('111606', '1116', 'Kejuruan Muda'), ('111607', '1116', 'Tamiang Hulu'), ('111608', '1116', 'Rantau'), ('111609', '1116', 'Banda Mulia'), ('111610', '1116', 'Bandar Pusaka'), ('111611', '1116', 'Tenggulun'), ('111612', '1116', 'Sekerak'), ('111701', '1117', '<NAME>o'), ('111702', '1117', 'Permata'), ('111703', '1117', '<NAME>'), ('111704', '1117', 'Bandar'), ('111705', '1117', 'Bukit'), ('111706', '1117', 'Wih Pesam'), ('111707', '1117', 'Tim<NAME>ajah'), ('111708', '1117', 'B<NAME>ipah'), ('111709', '1117', 'Mesidah'), ('111710', '1117', 'Gajah Putih'), ('111801', '1118', 'Meureudu'), ('111802', '1118', 'Ulim'), ('111803', '1118', 'Jangka Buaya'), ('111804', '1118', 'Bandar Dua'), ('111805', '1118', 'Meurah Dua'), ('111806', '1118', 'Bandar Baru'), ('111807', '1118', 'Panteraja'), ('111808', '1118', 'Trienggadeng'), ('117101', '1171', 'Baiturrahman'), ('117102', '1171', 'Kuta Alam'), ('117103', '1171', 'Meuraxa'), ('117104', '1171', '<NAME>'), ('117105', '1171', '<NAME>'), ('117106', '1171', 'Kuta Raja'), ('117107', '1171', 'Banda Raya'), ('117108', '1171', 'Jaya Baru'), ('117109', '1171', '<NAME>'), ('117201', '1172', 'Sukakarya'), ('117202', '1172', 'Sukajaya'), ('117301', '1173', 'Muara Dua'), ('117302', '1173', 'Banda Sakti'), ('117303', '1173', 'Blang Mangat'), ('117304', '1173', 'Muara Satu'), ('117401', '1174', 'Langsa Timur'), ('117402', '1174', 'Langsa Barat'), ('117403', '1174', 'Langsa Kota'), ('117404', '1174', 'Langsa Lama'), ('117405', '1174', 'Langsa Baro'), ('117501', '1175', '<NAME>'), ('117502', '1175', 'Penanggalan'), ('117503', '1175', 'Rundeng'), ('117504', '1175', 'Sultan Daulat'), ('117505', '1175', 'Longkib'), ('120101', '1201', 'Barus'), ('120102', '1201', 'Sorkam'), ('120103', '1201', 'Pandan'), ('120104', '1201', 'Pinangsori'), ('120105', '1201', 'Manduamas'), ('120106', '1201', 'Kolang'), ('120107', '1201', 'Tapian Nauli'), ('120108', '1201', 'Sibabangun'), ('120109', '1201', '<NAME>'), ('120110', '1201', 'Sorkam Barat'), ('120111', '1201', 'Sirandorung'), ('120112', '1201', '<NAME>'), ('120113', '1201', 'Sitahuis'), ('120114', '1201', 'Tukka'), ('120115', '1201', 'Badiri'), ('120116', '1201', '<NAME>'), ('120117', '1201', 'Barus Utara'), ('120118', '1201', 'Suka Bangun'), ('120119', '1201', 'Lumut'), ('120120', '1201', 'Sarudik'), ('120201', '1202', 'Tarutung'), ('120202', '1202', '<NAME>'), ('120203', '1202', '<NAME>'), ('120204', '1202', 'Sipoholon'), ('120205', '1202', 'Pahae Julu'), ('120206', '1202', 'Pahae Jae'), ('120207', '1202', 'Simangumban'), ('120208', '1202', '<NAME>'), ('120209', '1202', 'Siborong-Borong'), ('120210', '1202', 'Pagaran'), ('120211', '1202', 'Parmonangan'), ('120212', '1202', 'Sipahutar'), ('120213', '1202', 'Pangaribuan'), ('120214', '1202', 'Garoga'), ('120215', '1202', 'Muara'), ('120301', '1203', 'Angkola Barat'), ('120302', '1203', 'Batang Toru'), ('120303', '1203', 'Angkola Timur'), ('120304', '1203', 'Sipirok'), ('120305', '1203', '<NAME>'), ('120306', '1203', 'Angkola Selatan'), ('120307', '1203', 'Batang Angkola'), ('120314', '1203', 'Arse'), ('120320', '1203', 'Marancar'), ('120321', '1203', '<NAME>'), ('120322', '1203', 'A<NAME>ah'), ('120329', '1203', '<NAME>'), ('120330', '1203', 'Tano Tombangan Angkola'), ('120331', '1203', 'An<NAME>'), ('120405', '1204', 'Hiliduho'), ('120406', '1204', 'Gido'), ('120410', '1204', 'Idanogawo'), ('120411', '1204', 'Bawolato'), ('120420', '1204', 'Hiliserangkai'), ('120421', '1204', 'Botomuzoi'), ('120427', '1204', 'Ulugawo'), ('120428', '1204', 'Ma\'u'), ('120429', '1204', 'Somolo-molo'), ('120435', '1204', 'Sogae\'adu'), ('120501', '1205', 'Bahorok'), ('120502', '1205', 'Salapian'), ('120503', '1205', 'Kuala'), ('120504', '1205', 'Sei Bingei'), ('120505', '1205', 'Binjai'), ('120506', '1205', 'Selesai'), ('120507', '1205', 'Stabat'), ('120508', '1205', 'Wampu'), ('120509', '1205', 'Secanggang'), ('120510', '1205', 'Hinai'), ('120511', '1205', 'Tanjung Pura'), ('120512', '1205', 'Padang Tualang'), ('120513', '1205', 'Gebang'), ('120514', '1205', 'Babalan'), ('120515', '1205', 'Pangkalan Susu'), ('120516', '1205', 'Besitang'), ('120517', '1205', 'Sei Lepan'), ('120518', '1205', '<NAME>'), ('120519', '1205', 'Batang Serangan'), ('120520', '1205', 'Sawit Seberang'), ('120521', '1205', 'Sirapit'), ('120522', '1205', 'Kutambaru'), ('120523', '1205', 'Pematang Jaya'), ('120601', '1206', 'Kabanjahe'), ('120602', '1206', 'Berastagi'), ('120603', '1206', 'Barusjahe'), ('120604', '1206', 'Tigapanah'), ('120605', '1206', 'Merek'), ('120606', '1206', 'Munte'), ('120607', '1206', 'Juhar'), ('120608', '1206', 'Tigabinanga'), ('120609', '1206', 'Laubaleng'), ('120610', '1206', 'Mardingding'), ('120611', '1206', 'Payung'), ('120612', '1206', '<NAME>'), ('120613', '1206', 'Kutabuluh'), ('120614', '1206', '<NAME>'), ('120615', '1206', 'Merdeka'), ('120616', '1206', 'Naman Teran'), ('120617', '1206', 'Tiganderket'), ('120701', '1207', '<NAME>'), ('120702', '1207', 'Tanjung Morawa'), ('120703', '1207', 'Sibolangit'), ('120704', '1207', 'Kutalimbaru'), ('120705', '1207', '<NAME>'), ('120706', '1207', 'Namorambe'), ('120707', '1207', 'Sibiru-biru'), ('120708', '1207', 'STM Hilir'), ('120709', '1207', '<NAME>ba'), ('120719', '1207', 'Galang'), ('120720', '1207', 'STM Hulu'), ('120721', '1207', 'Patumbak'), ('120722', '1207', 'Deli Tua'), ('120723', '1207', 'Sunggal'), ('120724', '1207', 'Hamparan Perak'), ('120725', '1207', 'Labuhan Deli'), ('120726', '1207', 'Percut Sei Tuan'), ('120727', '1207', '<NAME>'), ('120728', '1207', '<NAME>'), ('120731', '1207', '<NAME>'), ('120732', '1207', '<NAME>'), ('120733', '1207', 'Beringin'), ('120801', '1208', 'Siantar'), ('120802', '1208', '<NAME>'), ('120803', '1208', 'Gunung Maligas'), ('120804', '1208', 'Panei'), ('120805', '1208', 'Panombeian Pane'), ('120806', '1208', '<NAME>'), ('120807', '1208', '<NAME>hean'), ('120808', '1208', 'Bosar Maligas'), ('120809', '1208', 'Sidamanik'), ('120810', '1208', 'Pematang Sidamanik'), ('120811', '1208', 'Tanah Jawa'), ('120812', '1208', 'Hatonduhan'), ('120813', '1208', '<NAME>'), ('120814', '1208', 'Purba'), ('120815', '1208', '<NAME>'), ('120816', '1208', '<NAME>'), ('120817', '1208', '<NAME> Nanggar'), ('120818', '1208', 'Huta Bayu Raja'), ('120819', '1208', 'J<NAME>'), ('120820', '1208', '<NAME>'), ('120821', '1208', 'Pematang Bandar'), ('120822', '1208', 'Bandar Huluan'), ('120823', '1208', 'Bandar'), ('120824', '1208', 'Bandar Masilam'), ('120825', '1208', 'Silimakuta'), ('120826', '1208', '<NAME>'), ('120827', '1208', 'Silou Kahean'), ('120828', '1208', 'Tapian Dolok'), ('120829', '1208', 'Raya'), ('120830', '1208', 'Ujung Padang'), ('120831', '1208', 'Pamatang Silima Huta'), ('120908', '1209', 'Meranti'), ('120909', '1209', 'Air Joman'), ('120910', '1209', 'Tanjung Balai'), ('120911', '1209', 'Sei Kepayang'), ('120912', '1209', 'Simpang Empat'), ('120913', '1209', 'Air Batu'), ('120914', '1209', 'Pulau Rakyat'), ('120915', '1209', 'Bandar Pulau'), ('120916', '1209', 'Buntu Pane'), ('120917', '1209', 'Bandar Pasir Mandoge'), ('120918', '1209', 'Aek Kuasan'), ('120919', '1209', 'Kota Kisaran Barat'), ('120920', '1209', 'Kota Kisaran Timur'), ('120921', '1209', 'Aek Songsongan'), ('120922', '1209', 'Rahunig'), ('120923', '1209', 'Sei Dadap'), ('120924', '1209', 'Sei Kepayang Barat'), ('120925', '1209', 'Sei Kepayang Timur'), ('120926', '1209', 'Tinggi Raja'), ('120927', '1209', 'Setia Janji'), ('120928', '1209', 'Silau Laut'), ('120929', '1209', 'Rawang Panca Arga'), ('120930', '1209', 'Pulo Bandring'), ('120931', '1209', 'Teluk Dalam'), ('120932', '1209', 'Aek Ledong'), ('121001', '1210', 'Rantau Utara'), ('121002', '1210', 'Rantau Selatan'), ('121007', '1210', 'Bilah Barat'), ('121008', '1210', 'Bilah Hilir'), ('121009', '1210', 'Bilah Hulu'), ('121014', '1210', 'Pangkatan'), ('121018', '1210', 'Panai Tengah'), ('121019', '1210', 'Panai Hilir'), ('121020', '1210', 'Panai Hulu'), ('121101', '1211', 'Sidikalang'), ('121102', '1211', 'Sumbul'), ('121103', '1211', 'Tigalingga'), ('121104', '1211', 'Siempat Nempu'), ('121105', '1211', '<NAME>'), ('121106', '1211', '<NAME>'), ('121107', '1211', 'Siempat Nempu Hulu'), ('121108', '1211', 'Siempat Nempu Hilir'), ('121109', '1211', 'Pegag<NAME>'), ('121110', '1211', 'Parbuluan'), ('121111', '1211', '<NAME>'), ('121112', '1211', '<NAME>'), ('121113', '1211', 'Brampu'), ('121114', '1211', 'Silahisabungan'), ('121115', '1211', 'Sitinjo'), ('121201', '1212', 'Balige'), ('121202', '1212', 'Laguboti'), ('121203', '1212', 'Silaen'), ('121204', '1212', 'Habinsaran'), ('121205', '1212', '<NAME>'), ('121206', '1212', 'Borbor'), ('121207', '1212', 'Porsea'), ('121208', '1212', 'Ajibata'), ('121209', '1212', 'Lumb<NAME>'), ('121210', '1212', 'Uluan'), ('121219', '1212', 'Sigumpar'), ('121220', '1212', '<NAME>'), ('121221', '1212', 'Nassau'), ('121222', '1212', 'Tampahan'), ('121223', '1212', 'Bonatua Lunasi'), ('121224', '1212', 'Parmaksian'), ('121301', '1213', 'Panyabungan'), ('121302', '1213', 'Panyabungan Utara'), ('121303', '1213', 'Panyabungan Timur'), ('121304', '1213', 'Panyabungan Selatan'), ('121305', '1213', 'Panyabungan Barat'), ('121306', '1213', 'Siabu'), ('121307', '1213', 'Bukit Malintang'), ('121308', '1213', 'Kotanopan'), ('121309', '1213', 'Lembah Sorik Marapi'), ('121310', '1213', 'Tambangan'), ('121311', '1213', 'Ulu Pungkut'), ('121312', '1213', 'Muara Sipongi'), ('121313', '1213', 'Batang Natal'), ('121314', '1213', 'Lingga Bayu'), ('121315', '1213', 'Batahan'), ('121316', '1213', 'Natal'), ('121317', '1213', '<NAME>'), ('121318', '1213', '<NAME>'), ('121319', '1213', '<NAME>'), ('121320', '1213', '<NAME>'), ('121321', '1213', 'Pakantan'), ('121322', '1213', 'Sinunukan'), ('121323', '1213', 'Naga Juang'), ('121401', '1214', 'Lolomatua'), ('121402', '1214', 'Gomo'), ('121403', '1214', 'Lahusa'), ('121404', '1214', 'Hibala'), ('121405', '1214', 'Pulau-Pulau Batu'), ('121406', '1214', 'Teluk Dalam'), ('121407', '1214', 'Amandraya'), ('121408', '1214', 'Lalowa\'u'), ('121409', '1214', 'Susua'), ('121410', '1214', 'Maniamolo'), ('121411', '1214', 'Hilimegai'), ('121412', '1214', 'Toma'), ('121413', '1214', 'Mazino'), ('121414', '1214', 'Umbunasi'), ('121415', '1214', 'Aramo'), ('121416', '1214', 'Pulau-Pulau Batu Timur'), ('121417', '1214', 'Mazo'), ('121418', '1214', 'Fanayama'), ('121419', '1214', 'Ulunoyo'), ('121420', '1214', 'Huruna'), ('121421', '1214', 'O\'o\'u'), ('121422', '1214', 'Onohazumba'), ('121423', '1214', 'Hilisalawa\'ahe'), ('121424', '1214', 'Ulususua'), ('121425', '1214', 'Sidua\'ori'), ('121426', '1214', 'Somambawa'), ('121427', '1214', 'Boronadu'), ('121428', '1214', 'Simuk'), ('121429', '1214', 'Pulau-Pulau Batu Barat'), ('121430', '1214', 'Pulau-Pulau Batu Utara'), ('121431', '1214', 'Tanah Masa'), ('121501', '1215', 'Sitelu Tali Urang Jehe'), ('121502', '1215', 'Kerajaan'), ('121503', '1215', 'Salak'), ('121504', '1215', 'Sitelu Tali Urang Julu'), ('121505', '1215', 'Pergetteng Getteng Sengkut'), ('121506', '1215', 'Pagindar'), ('121507', '1215', 'Tinada'), ('121508', '1215', 'Siempat Rube'), ('121601', '1216', 'Parlilitan'), ('121602', '1216', 'Pollung'), ('121603', '1216', 'Baktiraja'), ('121604', '1216', 'Paranginan'), ('121605', '1216', '<NAME>'), ('121606', '1216', '<NAME>'), ('121607', '1216', 'Sijamapolang'), ('121608', '1216', '<NAME>'), ('121609', '1216', 'Pakkat'), ('121610', '1216', 'Tarabintang'), ('121701', '1217', 'Simanindo'), ('121702', '1217', '<NAME>'), ('121703', '1217', 'Nainggolan'), ('121704', '1217', 'Palipi'), ('121705', '1217', 'Harian'), ('121706', '1217', 'Sianjar Mula Mula'), ('121707', '1217', 'Ronggur Nihuta'), ('121708', '1217', 'Pangururan'), ('121709', '1217', 'Sitio-tio'), ('121801', '1218', '<NAME>'), ('121802', '1218', 'Perbaungan'), ('121803', '1218', '<NAME>'), ('121804', '1218', 'Sei. Rampah'), ('121805', '1218', 'Tanjung Beringin'), ('121806', '1218', 'Bandar Khalifah'), ('121807', '1218', '<NAME>'), ('121808', '1218', 'Sipispis'), ('121809', '1218', '<NAME>'), ('121810', '1218', 'Kotarih'), ('121811', '1218', 'Silinda'), ('121812', '1218', '<NAME>'), ('121813', '1218', 'Tebing Tinggi'), ('121814', '1218', 'Pegajahan'), ('121815', '1218', 'Sei Bamban'), ('121816', '1218', 'Tebing Syahbandar'), ('121817', '1218', 'Bintang Bayu'), ('121901', '1219', '<NAME>'), ('121902', '1219', 'Sei Suka'), ('121903', '1219', 'Air Putih'), ('121904', '1219', 'Lima Puluh'), ('121905', '1219', 'Talawi'), ('121906', '1219', 'Tanjung Tiram'), ('121907', '1219', 'Sei Balai'), ('122001', '1220', '<NAME>'), ('122002', '1220', 'Dolok'), ('122003', '1220', 'Halongonan'), ('122004', '1220', 'Padang Bolak'), ('122005', '1220', 'Padang Bolak Julu'), ('122006', '1220', 'Portibi'), ('122007', '1220', 'Batang Onang'), ('122008', '1220', 'Simangambat'), ('122009', '1220', 'Hulu Sihapas'), ('122101', '1221', 'Sosopan'), ('122102', '1221', 'Barumun Tengah'), ('122103', '1221', 'Huristak'), ('122104', '1221', 'Lubuk Barumun'), ('122105', '1221', 'Huta Raja Tinggi'), ('122106', '1221', 'Ulu Barumun'), ('122107', '1221', 'Barumun'), ('122108', '1221', 'Sosa'), ('122109', '1221', 'Batang Lubu Sutam'), ('122110', '1221', 'Barumun Selatan'), ('122111', '1221', 'Aek Nabara Barumun'), ('122112', '1221', 'Sihapas Barumun'), ('122201', '1222', 'Kotapinang'), ('122202', '1222', 'Kampung Rakyat'), ('122203', '1222', 'Torgamba'), ('122204', '1222', 'Sungai Kanan'), ('122205', '1222', 'Silangkitang'), ('122301', '1223', 'Kualuh Hulu'), ('122302', '1223', 'Kualuh Leidong'), ('122303', '1223', 'Kualuh Hilir'), ('122304', '1223', 'Aek Kuo'), ('122305', '1223', 'Marbau'), ('122306', '1223', 'Na IX - X'), ('122307', '1223', 'Aek Natas'), ('122308', '1223', 'Kualuh Selatan'), ('122401', '1224', 'Lotu'), ('122402', '1224', 'Sawo'), ('122403', '1224', 'Tuhemberua'), ('122404', '1224', 'Sitolu Ori'), ('122405', '1224', 'Namoh<NAME>wa'), ('122406', '1224', 'Alasa Talumuzoi'), ('122407', '1224', 'Alasa'), ('122408', '1224', 'Tugala Oyo'), ('122409', '1224', 'Afulu'), ('122410', '1224', 'Lahewa'), ('122411', '1224', 'Lahe<NAME>'), ('122501', '1225', 'Lahomi'), ('122502', '1225', 'Sirombu'), ('122503', '1225', '<NAME>'), ('122504', '1225', 'Moro\'o'), ('122505', '1225', 'Mandrehe'), ('122506', '1225', '<NAME>'), ('122507', '1225', 'Lolofitu Moi'), ('122508', '1225', 'Ulu Moro\'o'), ('127101', '1271', 'Medan Kota'), ('127102', '1271', 'Medan Sunggal'), ('127103', '1271', 'Medan Helvetia'), ('127104', '1271', '<NAME>'), ('127105', '1271', 'Medan Barat'), ('127106', '1271', 'Medan Deli'), ('127107', '1271', 'Medan Tuntungan'), ('127108', '1271', 'Medan Belawan'), ('127109', '1271', 'Medan Amplas'), ('127110', '1271', 'Medan Area'), ('127111', '1271', 'Medan Johor'), ('127112', '1271', 'Medan Marelan'), ('127113', '1271', 'Medan Labuhan'), ('127114', '1271', 'Medan Tembung'), ('127115', '1271', 'Medan Maimun'), ('127116', '1271', 'Medan Polonia'), ('127117', '1271', 'Medan Baru'), ('127118', '1271', 'Medan Perjuangan'), ('127119', '1271', '<NAME>'), ('127120', '1271', 'Medan Timur'), ('127121', '1271', 'Medan Selayang'), ('127201', '1272', 'Siantar Timur'), ('127202', '1272', 'Siantar Barat'), ('127203', '1272', 'Siantar Utara'), ('127204', '1272', 'Siantar Selatan'), ('127205', '1272', 'Siantar Marihat'), ('127206', '1272', 'Siantar Martoba'), ('127207', '1272', 'Siantar Sitalasari'), ('127208', '1272', 'Siantar Marimbun'), ('127301', '1273', 'Sibolga Utara'), ('127302', '1273', 'Sibolga Kota'), ('127303', '1273', 'Sibolga Selatan'), ('127304', '1273', 'Sibolga Sambas'), ('127401', '1274', 'Tanjung Balai Selatan'), ('127402', '1274', 'Tanjung Balai Utara'), ('127403', '1274', 'Sei Tualang Raso'), ('127404', '1274', 'Teluk Nibung'), ('127405', '1274', 'Datuk Bandar'), ('127406', '1274', 'Datuk Bandar Timur'), ('127501', '1275', 'Binjai Utara'), ('127502', '1275', 'Binjai Kota'), ('127503', '1275', 'Binjai Barat'), ('127504', '1275', 'Binjai Timur'), ('127505', '1275', 'Binjai Selatan'), ('127601', '1276', 'Padang Hulu'), ('127602', '1276', 'Rambutan'), ('127603', '1276', '<NAME>'), ('127604', '1276', 'Bajenis'), ('127605', '1276', 'Tebing Tinggi Kota'), ('127701', '1277', 'Padangsidimpuan Utara'), ('127702', '1277', 'Padangsidimpuan Selatan'), ('127703', '1277', 'Padangsidimpuan Batunadua'), ('127704', '1277', 'Padangsidimpuan Hutaimbaru'), ('127705', '1277', 'Padangsidimpuan Tenggara'), ('127706', '1277', 'Padangsidimpuan Angkola Julu'), ('127801', '1278', 'Gunungsitoli'), ('127802', '1278', 'Gunungsitoli Selatan'), ('127803', '1278', 'Gunungsitoli Utara'), ('127804', '1278', 'Gunungsitoli Idanoi'), ('127805', '1278', 'Gunungsitoli Alo\'oa'), ('127806', '1278', 'Gunungsitoli Barat'), ('130101', '1301', 'Pancung Soal'), ('130102', '1301', 'R<NAME>'), ('130103', '1301', 'Lengayang'), ('130104', '1301', 'Batang Kapas'), ('130105', '1301', 'IV Jurai'), ('130106', '1301', 'Bayang'), ('130107', '1301', 'Koto XI Tarusan'), ('130108', '1301', 'Sutera'), ('130109', '1301', 'Linggo Sari Baganti'), ('130110', '1301', 'Lunang'), ('130111', '1301', 'Basa Ampek Balai Tapan'), ('130112', '1301', 'IV Nagari Bayang Utara'), ('130113', '1301', 'Airpura'), ('130114', '1301', 'Ranah Ampek Hulu Tapan'), ('130115', '1301', 'Silaut'), ('130203', '1302', 'Pantai Cermin'), ('130204', '1302', 'Lembah Gumanti'), ('130205', '1302', 'Payung Sekaki'), ('130206', '1302', 'Lembang Jaya'), ('130207', '1302', 'Gunung Talang'), ('130208', '1302', 'Bukit Sundi'), ('130209', '1302', 'IX Koto Sungai Lasi'), ('130210', '1302', 'Kubung'), ('130211', '1302', 'X Koto Singkarak'), ('130212', '1302', 'X Koto Diatas'), ('130213', '1302', '<NAME>'), ('130217', '1302', '<NAME>'), ('130218', '1302', 'Tigo Lurah'), ('130219', '1302', '<NAME>'), ('130303', '1303', 'Tanjung Gadang'), ('130304', '1303', 'Sijunjung'), ('130305', '1303', 'IV Nagari'), ('130306', '1303', 'Kamang Baru'), ('130307', '1303', 'Lubuak Tarok'), ('130308', '1303', 'Koto VII'), ('130309', '1303', 'Sumpur Kudus'), ('130310', '1303', 'Kupitan'), ('130401', '1304', 'X Koto'), ('130402', '1304', 'Batipuh'), ('130403', '1304', 'Rambatan'), ('130404', '1304', 'Lima Kaum'), ('130405', '1304', 'Tanjung Emas'), ('130406', '1304', 'Lintau Buo'), ('130407', '1304', 'Sungayang'), ('130408', '1304', 'Sungai Tarab'), ('130409', '1304', 'Pariangan'), ('130410', '1304', 'Salimpauang'), ('130411', '1304', 'Padang Ganting'), ('130412', '1304', 'Tanjuang Baru'), ('130413', '1304', 'Lintau Buo Utara'), ('130414', '1304', 'Batipuah Selatan'), ('130501', '1305', 'Lubuk Alung'), ('130502', '1305', 'Batang Anai'), ('130503', '1305', 'Nan Sabaris'), ('130504', '1305', 'x Enam Lingkuang'), ('130505', '1305', 'VII Koto Sungai Sarik'), ('130506', '1305', 'V Koto Kampung Dalam'), ('130507', '1305', 'Sungai Garingging'), ('130508', '1305', 'Sungai Limau'), ('130509', '1305', 'IV Koto Aur Malintang'), ('130510', '1305', 'Ulakan Tapakih'), ('130511', '1305', 'Sintuak Toboh Gadang'), ('130512', '1305', 'Padang Sago'), ('130513', '1305', 'Batang Gasan'), ('130514', '1305', 'V Koto Timur'), ('130515', '1305', 'x Kayu Tanam'), ('130516', '1305', 'Patamuan'), ('130517', '1305', 'Enam Lingkung'), ('130601', '1306', 'Tanjung Mutiara'), ('130602', '1306', 'Lubuk Basung'), ('130603', '1306', 'Tanjung Raya'), ('130604', '1306', 'Matur'), ('130605', '1306', 'IV Koto'), ('130606', '1306', 'Banuhampu'), ('130607', '1306', 'Ampek Angkek'), ('130608', '1306', 'Baso'), ('130609', '1306', 'Tilatang Kamang'), ('130610', '1306', 'Palupuh'), ('130611', '1306', 'Pelembayan'), ('130612', '1306', 'Sungai Pua'), ('130613', '1306', 'Ampek Nagari'), ('130614', '1306', 'Candung'), ('130615', '1306', 'Kamang Magek'), ('130616', '1306', 'Malalak'), ('130701', '1307', 'Suliki'), ('130702', '1307', 'Guguak'), ('130703', '1307', 'Payakumbuh'), ('130704', '1307', 'Luak'), ('130705', '1307', 'Harau'), ('130706', '1307', 'Pangkalan Koto Baru'), ('130707', '1307', 'Kapur IX'), ('130708', '1307', 'Gunuang Omeh'), ('130709', '1307', '<NAME>'), ('130710', '1307', 'Situj<NAME>'), ('130711', '1307', 'Mungka'), ('130712', '1307', 'Bukik Barisan'), ('130713', '1307', 'Akabiluru'), ('130804', '1308', 'Bonjol'), ('130805', '1308', 'Lubuk Sikaping'), ('130807', '1308', 'Panti'), ('130808', '1308', 'Mapat Tunggul'), ('130812', '1308', 'Duo Koto'), ('130813', '1308', '<NAME>'), ('130814', '1308', 'Rao'), ('130815', '1308', 'Mapat Tunggul Selatan'), ('130816', '1308', '<NAME>'), ('130817', '1308', 'Pad<NAME>elugur'), ('130818', '1308', 'Rao Utara'), ('130819', '1308', 'Rao Selatan'), ('130901', '1309', 'Pagai Utara'), ('130902', '1309', 'Sipora Selatan'), ('130903', '1309', 'Siberut Selatan'), ('130904', '1309', 'Siberut Utara'), ('130905', '1309', 'Siberut Barat'), ('130906', '1309', 'Siberut Barat Daya'), ('130907', '1309', 'Siberut Tengah'), ('130908', '1309', 'Sipora Utara'), ('130909', '1309', 'Sikakap'), ('130910', '1309', 'Pagai Selatan'), ('131001', '1310', 'Koto Baru'), ('131002', '1310', 'Pulau Punjung'), ('131003', '1310', 'Sungai Rumbai'), ('131004', '1310', 'Sitiung'), ('131005', '1310', 'Sembilan Koto'), ('131006', '1310', 'Timpeh'), ('131007', '1310', 'Koto Salak'), ('131008', '1310', 'Tiumang'), ('131009', '1310', '<NAME>'), ('131010', '1310', 'Asam Jujuhan'), ('131011', '1310', 'Koto Besar'), ('131101', '1311', 'Sangir'), ('131102', '1311', '<NAME>'), ('131103', '1311', 'Koto Parik Gadang Diateh'), ('131104', '1311', '<NAME>'), ('131105', '1311', '<NAME>'), ('131106', '1311', '<NAME>'), ('131107', '1311', '<NAME>'), ('131201', '1312', 'Sungaiberemas'), ('131202', '1312', 'L<NAME>ang'), ('131203', '1312', 'Pasaman'), ('131204', '1312', 'Talamau'), ('131205', '1312', 'Kinali'), ('131206', '1312', 'Gunungtuleh'), ('131207', '1312', '<NAME>'), ('131208', '1312', 'Koto Balingka'), ('131209', '1312', 'Sungaiaur'), ('131210', '1312', '<NAME>'), ('131211', '1312', 'Sasak Ranah Pesisir'), ('137101', '1371', 'Padang Selatan'), ('137102', '1371', 'Padang Timur'), ('137103', '1371', 'Padang Barat'), ('137104', '1371', 'Padang Utara'), ('137105', '1371', 'Bungus Teluk Kabung'), ('137106', '1371', 'Lubuk Begalung'), ('137107', '1371', 'Lubuk Kilangan'), ('137108', '1371', 'Pauh'), ('137109', '1371', 'Kuranji'), ('137110', '1371', 'Nanggalo'), ('137111', '1371', 'Koto Tangah'), ('137201', '1372', 'Lubuk Sikarah'), ('137202', '1372', 'Tanjung Harapan'), ('137301', '1373', 'Lembah Segar'), ('137302', '1373', 'Barangin'), ('137303', '1373', 'Silungkang'), ('137304', '1373', 'Talawi'), ('137401', '1374', 'Padang Panjang Timur'), ('137402', '1374', 'Padang Panjang Barat'), ('137501', '1375', 'Guguak Panjang'), ('137502', '1375', 'Mandiangin K. Selayan'), ('137503', '1375', 'Aur Birugo Tigo Baleh'), ('137601', '1376', 'Payakumbuh Barat'), ('137602', '1376', 'Payakumbuh Utara'), ('137603', '1376', 'Payakumbuh Timur'), ('137604', '1376', 'Lamposi Tigo Nagori'), ('137605', '1376', 'Payakumbuh Selatan'), ('137701', '1377', 'Pariaman Tengah'), ('137702', '1377', 'Pariaman Utara'), ('137703', '1377', 'Pariaman Selatan'), ('137704', '1377', 'Pariaman Timur'), ('140101', '1401', 'Bangkinang Kota'), ('140102', '1401', 'Kampar'), ('140103', '1401', 'Tambang'), ('140104', '1401', 'XIII Koto Kampar'), ('140105', '1401', 'Kuok'), ('140106', '1401', 'Siak Hulu'), ('140107', '1401', 'Kampar Kiri'), ('140108', '1401', 'Kampar Kiri Hilir'), ('140109', '1401', 'Kampar Kiri Hulu'), ('140110', '1401', 'Tapung'), ('140111', '1401', 'Tapung Hilir'), ('140112', '1401', 'Tapung Hulu'), ('140113', '1401', 'Salo'), ('140114', '1401', 'Rumbio Jaya'), ('140115', '1401', 'Bangkinang'), ('140116', '1401', 'Perhentian Raja'), ('140117', '1401', 'Kamp<NAME>'), ('140118', '1401', 'Kampar Utara'), ('140119', '1401', 'Kampar Kiri Tengah'), ('140120', '1401', 'Gunung Sahilan'), ('140121', '1401', 'Koto Kampar Hulu'), ('140201', '1402', 'Rengat'), ('140202', '1402', 'Rengat Barat'), ('140203', '1402', 'Kelayang'), ('140204', '1402', '<NAME>yu'), ('140205', '1402', 'Peranap'), ('140206', '1402', 'Siberida'), ('140207', '1402', 'Batang Cenaku'), ('140208', '1402', 'Batang Gangsal'), ('140209', '1402', 'Lirik'), ('140210', '1402', 'Kuala Cenaku'), ('140211', '1402', 'Sungai Lala'), ('140212', '1402', 'Lubuk Batu Jaya'), ('140213', '1402', 'Rakit Kulim'), ('140214', '1402', 'Batang Peranap'), ('140301', '1403', 'Bengkalis'), ('140302', '1403', 'Bantan'), ('140303', '1403', 'Bukit Batu'), ('140309', '1403', 'Mandau'), ('140310', '1403', 'Rupat'), ('140311', '1403', 'Rupat Utara'), ('140312', '1403', 'Siak Kecil'), ('140313', '1403', 'Pinggir'), ('140401', '1404', 'Reteh'), ('140402', '1404', 'Enok'), ('140403', '1404', 'Kuala Indragiri'), ('140404', '1404', 'Tembilahan'), ('140405', '1404', 'Tempuling'), ('140406', '1404', 'Gaung Anak Serka'), ('140407', '1404', 'Mandah'), ('140408', '1404', 'Kateman'), ('140409', '1404', 'Keritang'), ('140410', '1404', 'Tanah Merah'), ('140411', '1404', 'Batang Tuaka'), ('140412', '1404', 'Gaung'), ('140413', '1404', 'Tembilahan Hulu'), ('140414', '1404', 'Kemuning'), ('140415', '1404', 'Pelangiran'), ('140416', '1404', 'Teluk Belengkong'), ('140417', '1404', 'Pulau Burung'), ('140418', '1404', 'Concong'), ('140419', '1404', 'Kempas'), ('140420', '1404', 'Sungai Batang'), ('140501', '1405', 'Ukui'), ('140502', '1405', 'Pangkalan Kerinci'), ('140503', '1405', 'Pangkalan Kuras'), ('140504', '1405', 'Pangkalan Lesung'), ('140505', '1405', 'Langgam'), ('140506', '1405', 'Pelalawan'), ('140507', '1405', 'Kerumutan'), ('140508', '1405', 'Bunut'), ('140509', '1405', 'Teluk Meranti'), ('140510', '1405', 'Kuala Kampar'), ('140511', '1405', 'Bandar Sei Kijang'), ('140512', '1405', 'Bandar Petalangan'), ('140601', '1406', 'Ujung Batu'), ('140602', '1406', 'Rokan IV Koto'), ('140603', '1406', 'Rambah'), ('140604', '1406', 'Tambusai'), ('140605', '1406', 'Kepenuhan'), ('140606', '1406', 'Kunto Darussalam'), ('140607', '1406', 'Rambah Samo'), ('140608', '1406', 'Rambah Hilir'), ('140609', '1406', 'Tambusai Utara'), ('140610', '1406', 'Bangun Purba'), ('140611', '1406', 'Tandun'), ('140612', '1406', 'Kabun'), ('140613', '1406', 'Bonai Darussalam'), ('140614', '1406', 'Pagaran Tapah Darussalam'), ('140615', '1406', 'Kepenuhan Hulu'), ('140616', '1406', 'Pendalian IV Koto'), ('140701', '1407', 'Kubu'), ('140702', '1407', 'Bangko'), ('140703', '1407', 'Tanah Putih'), ('140704', '1407', 'Rimba Melintang'), ('140705', '1407', 'Bagan Sinembah'), ('140706', '1407', 'Pasir Limau Kapas'), ('140707', '1407', 'Sinaboi'), ('140708', '1407', 'Pujud'), ('140709', '1407', 'Tanah Putih Tanjung Melawan'), ('140710', '1407', 'Bangko Pusako'), ('140711', '1407', 'Simpang Kanan'), ('140712', '1407', 'Batu Hampar'), ('140713', '1407', 'Rantau Kopar'), ('140714', '1407', 'Pekaitan'), ('140715', '1407', 'Kubu Babussalam'), ('140801', '1408', 'Siak'), ('140802', '1408', 'Sungai Apit'), ('140803', '1408', 'Minas'), ('140804', '1408', 'Tualang'), ('140805', '1408', 'Sungai Mandau'), ('140806', '1408', 'Dayun'), ('140807', '1408', '<NAME>'), ('140808', '1408', 'Bunga Raya'), ('140809', '1408', 'Koto Gasib'), ('140810', '1408', 'Kandis'), ('140811', '1408', 'Lubuk Dalam'), ('140812', '1408', 'Sabak Auh'), ('140813', '1408', 'Mempura'), ('140814', '1408', 'Pusako'), ('140901', '1409', 'Kuantan Mudik'), ('140902', '1409', 'Kuantan Tengah'), ('140903', '1409', 'Singingi'), ('140904', '1409', '<NAME>'), ('140905', '1409', 'Cerenti'), ('140906', '1409', 'Benai'), ('140907', '1409', 'Gunungtoar'), ('140908', '1409', '<NAME>'), ('140909', '1409', 'Pangean'), ('140910', '1409', '<NAME>'), ('140911', '1409', 'Inuman'), ('140912', '1409', 'Hulu Kuantan'), ('140913', '1409', 'Kuantan Hilir Seberang'), ('140914', '1409', 'Sentajo Raya'), ('140915', '1409', 'Pucuk Rantau'), ('141001', '1410', 'Tebing Tinggi'), ('141002', '1410', 'Rangsang Barat'), ('141003', '1410', 'Rangsang'), ('141004', '1410', 'Tebing Tinggi Barat'), ('141005', '1410', 'Merbau'), ('141006', '1410', 'Pulaumerbau'), ('141007', '1410', 'Tebing Tinggi Timur'), ('141008', '1410', 'T<NAME>u'), ('141009', '1410', 'Rangsang Pesisir'), ('147101', '1471', 'Sukajadi'), ('147102', '1471', 'Pekanbaru Kota'), ('147103', '1471', 'Sail'), ('147104', '1471', 'Lima Puluh'), ('147105', '1471', 'Senapelan'), ('147106', '1471', 'Rumbai'), ('147107', '1471', 'Bukit Raya'), ('147108', '1471', 'Tampan'), ('147109', '1471', '<NAME>'), ('147110', '1471', 'Tenayan Raya'), ('147111', '1471', 'Payung Sekaki'), ('147112', '1471', 'Rumbai Pesisir'), ('147201', '1472', 'Dumai Barat'), ('147202', '1472', 'Dumai Timur'), ('147203', '1472', 'Bukit Kapur'), ('147204', '1472', 'Sungai Sembilan'), ('147205', '1472', 'Medang Kampai'), ('147206', '1472', 'Dumai Kota'), ('147207', '1472', 'Dumai Selatan'), ('150101', '1501', 'Gunung Raya'), ('150102', '1501', 'Danau Kerinci'), ('150104', '1501', 'Sitinjau Laut'), ('150105', '1501', 'Air Hangat'), ('150106', '1501', 'Gunung Kerinci'), ('150107', '1501', 'Batang Merangin'), ('150108', '1501', 'Keliling Danau'), ('150109', '1501', 'Kayu Aro'), ('150111', '1501', 'Air Hangat Timur'), ('150115', '1501', 'Gunung Tujuh'), ('150116', '1501', 'Siulak'), ('150117', '1501', 'Depati Tujuh'), ('150118', '1501', 'Siulak Mukai'), ('150119', '1501', 'Kayu Aro Barat'), ('150120', '1501', 'Bukitkerman'), ('150121', '1501', 'Air Hangat Barat'), ('150201', '1502', 'Jangkat'), ('150202', '1502', 'Bangko'), ('150203', '1502', 'Muara Siau'), ('150204', '1502', 'Sungai Manau'), ('150205', '1502', 'Tabir'), ('150206', '1502', 'Pamenang'), ('150207', '1502', 'Tabir Ulu'), ('150208', '1502', 'Tabir Selatan'), ('150209', '1502', 'Lembah Masurai'), ('150210', '1502', 'Bangko Barat'), ('150211', '1502', '<NAME>'), ('150212', '1502', 'Batang Masumai'), ('150213', '1502', 'Pamenang Barat'), ('150214', '1502', '<NAME>'), ('150215', '1502', '<NAME>'), ('150216', '1502', '<NAME>'), ('150217', '1502', 'Pangkalan Jambu'), ('150218', '1502', 'Sungai Tenang'), ('150219', '1502', '<NAME>'), ('150220', '1502', 'Pamenang Selatan'), ('150221', '1502', '<NAME>'), ('150222', '1502', 'Tabir Lintas'), ('150223', '1502', 'Tabir Barat'), ('150224', '1502', 'Tiang Pumpung'), ('150301', '1503', '<NAME>'), ('150302', '1503', 'Limun'), ('150303', '1503', 'Sarolangun'), ('150304', '1503', 'Pauh'), ('150305', '1503', 'Pelawan'), ('150306', '1503', 'Mandiangin'), ('150307', '1503', '<NAME>am'), ('150308', '1503', 'Bathin VIII'), ('150309', '1503', 'Singkut'), ('150310', '1503', '<NAME>'), ('150401', '1504', 'Mersam'), ('150402', '1504', '<NAME>'), ('150403', '1504', '<NAME>'), ('150404', '1504', 'Batin XXIV'), ('150405', '1504', 'Pemayung'), ('150406', '1504', '<NAME>'), ('150407', '1504', 'Bajubang'), ('150408', '1504', '<NAME>'), ('150501', '1505', 'Jambi Luar Kota'), ('150502', '1505', 'Sekernan'), ('150503', '1505', 'Kumpeh'), ('150504', '1505', '<NAME>'), ('150505', '1505', 'Mestong'), ('150506', '1505', 'Kumpeh Ulu'), ('150507', '1505', 'Sungai Bahar'), ('150508', '1505', 'Sungai Gelam'), ('150509', '1505', 'Bahar Utara'), ('150510', '1505', 'Bahar Selatan'), ('150511', '1505', 'Taman Rajo'), ('150601', '1506', 'Tungkal Ulu'), ('150602', '1506', 'Tungkal Ilir'), ('150603', '1506', 'Pengabuan'), ('150604', '1506', 'Betara'), ('150605', '1506', 'Merlung'), ('150606', '1506', 'Tebing Tinggi'), ('150607', '1506', 'Batang Asam'), ('150608', '1506', '<NAME>'), ('150609', '1506', 'Muara Papalik'), ('150610', '1506', 'Seberang Kota'), ('150611', '1506', 'Bram Itam'), ('150612', '1506', 'Kuala Betara'), ('150613', '1506', 'Senyerang'), ('150701', '1507', 'Mu<NAME> Timur'), ('150702', '1507', 'Nipah Panjang'), ('150703', '1507', 'Mendahara'), ('150704', '1507', 'Rantau Rasau'), ('150705', '1507', 'S a d u'), ('150706', '1507', 'Dendang'), ('150707', '1507', 'Muara Sabak Barat'), ('150708', '1507', 'Kuala Jambi'), ('150709', '1507', 'Mendahara Ulu'), ('150710', '1507', 'Geragai'), ('150711', '1507', 'Berbak'), ('150801', '1508', 'Tanah Tumbuh'), ('150802', '1508', 'Rantau Pandan'), ('150803', '1508', '<NAME>'), ('150804', '1508', 'Jujuhan'), ('150805', '1508', 'Tanah Sepenggal'), ('150806', '1508', 'Pelepat'), ('150807', '1508', '<NAME>'), ('150808', '1508', 'Muko-muko Bathin VII'), ('150809', '1508', '<NAME>'), ('150810', '1508', 'Batin II Babeko'), ('150811', '1508', 'Bathin III'), ('150812', '1508', '<NAME>'), ('150813', '1508', 'Rimbo Tengah'), ('150814', '1508', 'Bathin III Ulu'), ('150815', '1508', 'Bathin II Pelayang'), ('150816', '1508', 'Jujuhan Ilir'), ('150817', '1508', 'Tanah Sepenggal Lintas'), ('150901', '1509', '<NAME>engah'), ('150902', '1509', '<NAME>'), ('150903', '1509', 'Tebo Ulu'), ('150904', '1509', '<NAME>'), ('150905', '1509', 'Sumay'), ('150906', '1509', 'VII Koto'), ('150907', '1509', 'Rimbo Ulu'), ('150908', '1509', '<NAME>'), ('150909', '1509', 'Teng<NAME>lir'), ('150910', '1509', 'Serai Serumpun'), ('150911', '1509', 'VII Koto Ilir'), ('150912', '1509', '<NAME>'), ('157101', '1571', 'Telanaipura'), ('157102', '1571', 'Jambi Selatan'), ('157103', '1571', 'Jambi Timur'), ('157104', '1571', 'Pasar Jambi'), ('157105', '1571', 'Pelayangan'), ('157106', '1571', '<NAME>'), ('157107', '1571', 'Kota Baru'), ('157108', '1571', 'Jelutung'), ('157201', '1572', 'Sungai Penuh'), ('157202', '1572', '<NAME>'), ('157203', '1572', 'Hamparan Rawang'), ('157204', '1572', 'Tanah Kampung'), ('157205', '1572', '<NAME>'), ('157206', '1572', '<NAME>gi'), ('157207', '1572', 'Koto Baru'), ('157208', '1572', '<NAME>'), ('160107', '1601', '<NAME>'), ('160108', '1601', 'Pengandonan'), ('160109', '1601', 'Peninjauan'), ('160113', '1601', 'Baturaja Barat'), ('160114', '1601', '<NAME>'), ('160120', '1601', '<NAME>'), ('160121', '1601', 'Semidang Aji'), ('160122', '1601', 'Lubuk Batang'), ('160128', '1601', 'Lengkiti'), ('160129', '1601', '<NAME>'), ('160130', '1601', 'Lubuk Raja'), ('160131', '1601', 'Muara Jaya'), ('160202', '1602', 'Tanjung Lubuk'), ('160203', '1602', 'Pedamaran'), ('160204', '1602', 'Mesuji'), ('160205', '1602', 'Kayu Agung'), ('160208', '1602', 'Sirah Pulau Padang'), ('160211', '1602', 'Tulung Selapan'), ('160212', '1602', 'Pampangan'), ('160213', '1602', 'Lempuing'), ('160214', '1602', 'Air Sugihan'), ('160215', '1602', '<NAME>'), ('160217', '1602', 'Jejawi'), ('160218', '1602', 'Cengal'), ('160219', '1602', 'Pangkalan Lampam'), ('160220', '1602', 'Mesuji Makmur'), ('160221', '1602', 'Mesuji Raya'), ('160222', '1602', 'Lempuing Jaya'), ('160223', '1602', '<NAME>'), ('160224', '1602', '<NAME>'), ('160301', '1603', 'Tanjung Agung'), ('160302', '1603', '<NAME>'), ('160303', '1603', 'Rambang Dangku'), ('160304', '1603', '<NAME>'), ('160306', '1603', 'Gelumbang'), ('160307', '1603', '<NAME>'), ('160308', '1603', '<NAME> Laut'), ('160309', '1603', '<NAME>at Tengah'), ('160310', '1603', 'Semende Darat Ulu'), ('160311', '1603', '<NAME>'), ('160314', '1603', 'Lubai'), ('160315', '1603', 'Rambang'), ('160316', '1603', 'Sungai Rotan'), ('160317', '1603', 'Lembak'), ('160319', '1603', 'Benakat'), ('160321', '1603', 'Kelekar'), ('160322', '1603', '<NAME>'), ('160323', '1603', 'Belimbing'), ('160324', '1603', '<NAME>'), ('160325', '1603', 'Lubai Ulu'), ('160401', '1604', 'Tanjungsakti Pumu'), ('160406', '1604', 'Jarai'), ('160407', '1604', 'Kota Agung'), ('160408', '1604', 'Pulaupinang'), ('160409', '1604', 'Merapi Barat'), ('160410', '1604', 'Lahat'), ('160412', '1604', 'Pajar Bulan'), ('160415', '1604', 'Mulak Ulu'), ('160416', '1604', 'Kikim Selatan'), ('160417', '1604', 'Kikim Timur'), ('160418', '1604', 'Kikim Tengah'), ('160419', '1604', 'Kikim Barat'), ('160420', '1604', 'Pseksu'), ('160421', '1604', 'Gumay Talang'), ('160422', '1604', 'Pagar Gunung'), ('160423', '1604', 'Merapi Timur'), ('160424', '1604', 'Tanjung Sakti Pumi'), ('160425', '1604', 'Gumay Ulu'), ('160426', '1604', 'Merapi Selatan'), ('160427', '1604', 'Tanjungtebat'), ('160428', '1604', 'Muarapayang'), ('160429', '1604', 'Sukamerindu'), ('160501', '1605', 'Tugumulyo'), ('160502', '1605', 'Muara Lakitan'), ('160503', '1605', 'Muara Kelingi'), ('160508', '1605', 'Jayaloka'), ('160509', '1605', '<NAME>'), ('160510', '1605', 'STL Ulu Terawas'), ('160511', '1605', 'Selangit'), ('160512', '1605', 'Megang Sakti'), ('160513', '1605', 'Purwodadi'), ('160514', '1605', 'BTS. Ulu'), ('160518', '1605', 'Tiang Pumpung Kepungut'), ('160519', '1605', 'Sumber Harta'), ('160520', '1605', 'Tuah Negeri'), ('160521', '1605', 'Suka Karya'), ('160601', '1606', 'Sekayu'), ('160602', '1606', 'Lais'), ('160603', '1606', 'Sungai Keruh'), ('160604', '1606', 'Batang Hari Leko'), ('160605', '1606', 'Sanga Desa'), ('160606', '1606', '<NAME>'), ('160607', '1606', 'Sungai Lilin'), ('160608', '1606', 'Keluang'), ('160609', '1606', 'Bay<NAME>'), ('160610', '1606', 'Plakat Tinggi'), ('160611', '1606', 'Lalan'), ('160612', '1606', 'Tungkal Jaya'), ('160613', '1606', 'Lawang Wetan'), ('160614', '1606', 'B<NAME>at'), ('160701', '1607', 'Banyuasin I'), ('160702', '1607', 'Banyuasin II'), ('160703', '1607', 'Banyuasin III'), ('160704', '1607', 'Pulau Rimau'), ('160705', '1607', 'Betung'), ('160706', '1607', 'Rambutan'), ('160707', '1607', '<NAME>'), ('160708', '1607', '<NAME>'), ('160709', '1607', 'Makarti Jaya'), ('160710', '1607', 'Talang Kelapa'), ('160711', '1607', 'Rantau Bayur'), ('160712', '1607', 'Tanjung Lago'), ('160713', '1607', '<NAME>'), ('160714', '1607', 'Air Salek'), ('160715', '1607', 'Tungkal Ilir'), ('160716', '1607', 'Suak Tapeh'), ('160717', '1607', 'Sembawa'), ('160718', '1607', 'Sumber Marga Telang'), ('160719', '1607', 'Air Kumbang'), ('160801', '1608', 'Martapura'), ('160802', '1608', 'Buay Madang'), ('160803', '1608', 'Belitang'), ('160804', '1608', 'Cempaka'), ('160805', '1608', 'Buay Pemuka Peliung'), ('160806', '1608', 'Madang Suku II'), ('160807', '1608', 'Madang Suku I'), ('160808', '1608', 'Semendawai Suku III'), ('160809', '1608', 'Belitang II'), ('160810', '1608', 'Belitang III'), ('160811', '1608', 'Bunga Mayang'), ('160812', '1608', 'Buay Madang Timur'), ('160813', '1608', 'Madang Suku III'), ('160814', '1608', 'Semendawai Barat'), ('160815', '1608', 'Semendawai Timur'), ('160816', '1608', 'Jayapura'), ('160817', '1608', 'Belitang Jaya'), ('160818', '1608', 'Belitang Madang Raya'), ('160819', '1608', 'Belitang Mulya'), ('160820', '1608', 'Buay Pemuka Bangsa Raja'), ('160901', '1609', 'Muara Dua'), ('160902', '1609', 'Pulau Beringin'), ('160903', '1609', 'Banding Agung'), ('160904', '1609', 'Muara Dua Kisam'), ('160905', '1609', 'Simpang'), ('160906', '1609', 'Buay Sandang Aji'), ('160907', '1609', 'Buay Runjung'), ('160908', '1609', 'Mekakau Ilir'), ('160909', '1609', 'Buay Pemaca'), ('160910', '1609', 'Kisam Tinggi'), ('160911', '1609', 'Kisam Ilir'), ('160912', '1609', 'Buay Pematang Ribu Ranau Tengah'), ('160913', '1609', 'Warkuk Ranau Selatan'), ('160914', '1609', 'Runjung Agung'), ('160915', '1609', 'Sungai Are'), ('160916', '1609', 'Sindang Danau'), ('160917', '1609', 'Buana Pemaca'), ('160918', '1609', 'Tiga Dihaji'), ('160919', '1609', 'Buay Rawan'), ('161001', '1610', 'Muara Kuang'), ('161002', '1610', 'Tanjung Batu'), ('161003', '1610', 'Tanjung Raja'), ('161004', '1610', 'Indralaya'), ('161005', '1610', 'Pemulutan'), ('161006', '1610', 'Rantau Alai'), ('161007', '1610', 'Indralaya Utara'), ('161008', '1610', 'Indralaya Selatan'), ('161009', '1610', 'Pemulutan Selatan'), ('161010', '1610', 'Pemulutan Barat'), ('161011', '1610', 'Rantau Panjang'), ('161012', '1610', 'Sungai Pinang'), ('161013', '1610', 'Kandis'), ('161014', '1610', 'Rambang Kuang'), ('161015', '1610', 'Lubuk Keliat'), ('161016', '1610', 'Payaraman'), ('161101', '1611', 'Muara Pinang'), ('161102', '1611', 'Pendopo'), ('161103', '1611', 'Ulu Musi'), ('161104', '1611', 'Tebing Tinggi'), ('161105', '1611', 'Lintang Kanan'), ('161106', '1611', 'Talang Padang'), ('161107', '1611', 'Pasemah Air Keruh'), ('161108', '1611', 'Sikap Dalam'), ('161109', '1611', 'Saling'), ('161110', '1611', 'Pendopo Barat'), ('161201', '1612', 'Talang Ubi'), ('161202', '1612', 'Penukal Utara'), ('161203', '1612', 'Penukal'), ('161204', '1612', 'Abab'), ('161205', '1612', 'Tanah Abang'), ('161301', '1613', 'Rupit'), ('161302', '1613', 'Rawas Ulu'), ('161303', '1613', 'Nibung'), ('161304', '1613', '<NAME>'), ('161305', '1613', 'Karang Dapo'), ('161306', '1613', 'Karang Jaya'), ('161307', '1613', 'Ulu Rawas'), ('167101', '1671', 'Ilir Barat II'), ('167102', '1671', 'Seberang Ulu I'), ('167103', '1671', 'Seberang Ulu II'), ('167104', '1671', 'Ilir Barat I'), ('167105', '1671', 'Ilir Timur I'), ('167106', '1671', 'Ilir Timur II'), ('167107', '1671', 'Sukarami'), ('167108', '1671', 'Sako'), ('167109', '1671', 'Kemuning'), ('167110', '1671', 'Kalidoni'), ('167111', '1671', 'Bukit Kecil'), ('167112', '1671', 'Gandus'), ('167113', '1671', 'Kertapati'), ('167114', '1671', 'Plaju'), ('167115', '1671', 'Alang-alang Lebar'), ('167116', '1671', 'Sematang Borang'), ('167201', '1672', 'Pagar Alam Utara'), ('167202', '1672', 'Pagar Alam Selatan'), ('167203', '1672', 'Dempo Utara'), ('167204', '1672', 'Dempo Selatan'), ('167205', '1672', 'Dempo Tengah'), ('167301', '1673', 'Lubuk Linggau Timur I'), ('167302', '1673', 'Lubuk Linggau Barat I'), ('167303', '1673', 'Lubuk Linggau Selatan I'), ('167304', '1673', 'Lubuk Linggau Utara I'), ('167305', '1673', 'Lubuk Linggau Timur II'), ('167306', '1673', 'Lubuk Linggau Barat II'), ('167307', '1673', 'Lubuk Linggau Selatan II'), ('167308', '1673', 'Lubuk Linggau Utara II'), ('167401', '1674', 'Prabumulih Barat'), ('167402', '1674', 'Prabumulih Timur'), ('167403', '1674', 'Cambai'), ('167404', '1674', 'Rambang Kpk Tengah'), ('167405', '1674', 'Prabumulih Utara'), ('167406', '1674', 'Prabumulih Selatan'), ('170101', '1701', 'Kedurang'), ('170102', '1701', 'Seginim'), ('170103', '1701', 'Pino'), ('170104', '1701', 'Manna'), ('170105', '1701', 'Kota Manna'), ('170106', '1701', 'Pino Raya'), ('170107', '1701', 'Kedurang Ilir'), ('170108', '1701', 'Air Nipis'), ('170109', '1701', '<NAME>anna'), ('170110', '1701', 'Bunga Mas'), ('170111', '1701', '<NAME>'), ('170206', '1702', 'Kota Padang'), ('170207', '1702', 'Padang Ulak Tanding'), ('170208', '1702', 'Sindang Kelingi'), ('170209', '1702', 'Curup'), ('170210', '1702', 'Bermani Ulu'), ('170211', '1702', 'Selupu Rejang'), ('170216', '1702', 'Curup Utara'), ('170217', '1702', 'Curup Timur'), ('170218', '1702', 'Curup Selatan'), ('170219', '1702', 'Curup Tengah'), ('170220', '1702', 'Binduriang'), ('170221', '1702', 'Sindang Beliti Ulu'), ('170222', '1702', 'Sindang Dataran'), ('170223', '1702', 'Sindang Beliti Ilir'), ('170224', '1702', 'Bermani Ulu Raya'), ('170301', '1703', 'Enggano'), ('170306', '1703', 'Kerkap'), ('170307', '1703', 'Kota Arga Makmur'), ('170308', '1703', 'Giri Mulya'), ('170309', '1703', 'Padang Jaya'), ('170310', '1703', 'Lais'), ('170311', '1703', 'Batik Nau'), ('170312', '1703', 'Ketahun'), ('170313', '1703', 'Napal Putih'), ('170314', '1703', 'Putri Hijau'), ('170315', '1703', 'Air Besi'), ('170316', '1703', 'Air Napal'), ('170319', '1703', 'Hulu Palik'), ('170320', '1703', 'Air Padang'), ('170321', '1703', 'Arma Jaya'), ('170322', '1703', 'Tanjung Agung Palik'), ('170323', '1703', 'Ulok Kupai'), ('170401', '1704', 'Kinal'), ('170402', '1704', 'Tanjung Kemuning'), ('170403', '1704', 'Kaur Utara'), ('170404', '1704', '<NAME>'), ('170405', '1704', '<NAME>'), ('170406', '1704', 'Maje'), ('170407', '1704', 'Nasal'), ('170408', '1704', 'Semidang Gumay'), ('170409', '1704', 'Kelam Tengah'), ('170410', '1704', 'Luas'), ('170411', '1704', '<NAME>'), ('170412', '1704', 'Tetap'), ('170413', '1704', 'Lungkang Kule'), ('170414', '1704', 'Padang Guci Hilir'), ('170415', '1704', 'Padang Guci Hulu'), ('170501', '1705', 'Sukaraja'), ('170502', '1705', 'Seluma'), ('170503', '1705', 'Talo'), ('170504', '1705', 'Semidang Alas'), ('170505', '1705', 'Semidang Alas Maras'), ('170506', '1705', 'Air Periukan'), ('170507', '1705', 'Lubuk Sandi'), ('170508', '1705', 'Seluma Barat'), ('170509', '1705', 'Seluma Timur'), ('170510', '1705', 'Seluma Utara'); INSERT INTO `kecamatan` (`id_kec`, `id_kab`, `nama_kec`) VALUES ('170511', '1705', 'Seluma Selatan'), ('170512', '1705', 'Talo Kecil'), ('170513', '1705', 'Ulu Talo'), ('170514', '1705', 'Ilir Talo'), ('170601', '1706', 'Lubuk Pinang'), ('170602', '1706', 'Kota Mukomuko'), ('170603', '1706', 'Teras Terunjam'), ('170604', '1706', 'Pondok Suguh'), ('170605', '1706', 'Ipuh'), ('170606', '1706', 'Malin Deman'), ('170607', '1706', 'Air Rami'), ('170608', '1706', 'Teramang Jaya'), ('170609', '1706', 'Selagan Raya'), ('170610', '1706', 'Penarik'), ('170611', '1706', 'XIV Koto'), ('170612', '1706', 'V Koto'), ('170613', '1706', 'Air Majunto'), ('170614', '1706', 'Air Dikit'), ('170615', '1706', 'Sungai Rumbai'), ('170701', '1707', 'Lebong Utara'), ('170702', '1707', 'Lebong Atas'), ('170703', '1707', 'Lebong Tengah'), ('170704', '1707', 'Lebong Selatan'), ('170705', '1707', '<NAME>'), ('170706', '1707', 'Topos'), ('170707', '1707', '<NAME>'), ('170708', '1707', '<NAME>'), ('170709', '1707', 'Pelabai'), ('170710', '1707', 'Amen'), ('170711', '1707', 'Uram Jaya'), ('170712', '1707', 'Pinang Belapis'), ('170801', '1708', '<NAME>'), ('170802', '1708', '<NAME>'), ('170803', '1708', 'Tebat Karai'), ('170804', '1708', 'Kepahiang'), ('170805', '1708', 'Merigi'), ('170806', '1708', 'Kebawetan'), ('170807', '1708', 'Seberang Musi'), ('170808', '1708', '<NAME>'), ('170901', '1709', '<NAME>'), ('170902', '1709', 'Talang Empat'), ('170903', '1709', 'Pondok Kelapa'), ('170904', '1709', 'Pematang Tiga'), ('170905', '1709', 'Pagar Jati'), ('170906', '1709', 'Taba Penanjung'), ('170907', '1709', '<NAME>'), ('170908', '1709', '<NAME>'), ('170909', '1709', 'Pondok Kubang'), ('170910', '1709', 'Bang Haji'), ('177101', '1771', 'Selebar'), ('177102', '1771', 'Gading Cempaka'), ('177103', '1771', 'Teluk Segara'), ('177104', '1771', 'Muara Bangka Hulu'), ('177105', '1771', 'Kampung Melayu'), ('177106', '1771', 'Ratu Agung'), ('177107', '1771', 'Ratu Samban'), ('177108', '1771', 'Sungai Serut'), ('177109', '1771', 'Singaran Pati'), ('180104', '1801', 'Natar'), ('180105', '1801', 'Tanjung Bintang'), ('180106', '1801', 'Kalianda'), ('180107', '1801', 'Sidomulyo'), ('180108', '1801', 'Katibung'), ('180109', '1801', 'Penengahan'), ('180110', '1801', 'Palas'), ('180113', '1801', 'Jati Agung'), ('180114', '1801', 'Ketapang'), ('180115', '1801', 'Sragi'), ('180116', '1801', 'Raja Basa'), ('180117', '1801', 'Candipuro'), ('180118', '1801', 'Merbau Mataram'), ('180121', '1801', 'Bakauheni'), ('180122', '1801', 'Tanjung Sari'), ('180123', '1801', '<NAME>'), ('180124', '1801', '<NAME>'), ('180201', '1802', 'Kalirejo'), ('180202', '1802', '<NAME>'), ('180203', '1802', 'Padang Ratu'), ('180204', '1802', 'Gunung Sugih'), ('180205', '1802', 'Trimurjo'), ('180206', '1802', 'Punggur'), ('180207', '1802', 'Terbanggi Besar'), ('180208', '1802', 'Seputih Raman'), ('180209', '1802', 'Rumbia'), ('180210', '1802', 'Seputih Banyak'), ('180211', '1802', 'Seputih Mataram'), ('180212', '1802', 'Seputih Surabaya'), ('180213', '1802', 'Terusan Nunyai'), ('180214', '1802', 'Bumi Ratu Nuban'), ('180215', '1802', 'Bekri'), ('180216', '1802', 'Seputih Agung'), ('180217', '1802', '<NAME>'), ('180218', '1802', 'Bandar Mataram'), ('180219', '1802', 'Pubian'), ('180220', '1802', 'Selagai Lingga'), ('180221', '1802', 'An<NAME>'), ('180222', '1802', 'Sendang Agung'), ('180223', '1802', 'Kota Gajah'), ('180224', '1802', '<NAME>'), ('180225', '1802', 'Way Seputih'), ('180226', '1802', 'Bandar Surabaya'), ('180227', '1802', 'Anak Ratu Aji'), ('180228', '1802', 'Put<NAME>ia'), ('180301', '1803', 'Bukit Kemuning'), ('180302', '1803', 'Kotabumi'), ('180303', '1803', 'Sungkai Selatan'), ('180304', '1803', 'Tanjung Raja'), ('180305', '1803', 'Abung Timur'), ('180306', '1803', 'Abung Barat'), ('180307', '1803', 'Abung Selatan'), ('180308', '1803', 'Sungkai Utara'), ('180309', '1803', 'Kotabumi Utara'), ('180310', '1803', 'Kotabumi Selatan'), ('180311', '1803', 'Abung Tengah'), ('180312', '1803', 'Abung Tinggi'), ('180313', '1803', 'Abung Semuli'), ('180314', '1803', 'Abung Surakarta'), ('180315', '1803', 'Muara Sungkai'), ('180316', '1803', '<NAME>'), ('180317', '1803', 'Hulu Sungkai'), ('180318', '1803', 'Sungkai Tengah'), ('180319', '1803', '<NAME>'), ('180320', '1803', 'Sungkai Jaya'), ('180321', '1803', 'Sungkai Barat'), ('180322', '1803', 'Abung Kunang'), ('180323', '1803', 'Blambangan Pagar'), ('180404', '1804', 'Balik Bukit'), ('180405', '1804', 'Sumber Jaya'), ('180406', '1804', 'Belalau'), ('180407', '1804', 'Way Tenong'), ('180408', '1804', 'Sekincau'), ('180409', '1804', 'Suoh'), ('180410', '1804', 'Batu Brak'), ('180411', '1804', 'Sukau'), ('180415', '1804', 'Gedung Surian'), ('180418', '1804', 'Kebun Tebu'), ('180419', '1804', 'Air Hitam'), ('180420', '1804', 'Pagar Dewa'), ('180421', '1804', 'Batu Ketulis'), ('180422', '1804', 'Lumbok Seminung'), ('180423', '1804', 'Bandar Negeri Suoh'), ('180502', '1805', 'Menggala'), ('180506', '1805', '<NAME>'), ('180508', '1805', 'Banjar Agung'), ('180511', '1805', '<NAME>'), ('180512', '1805', 'Raw<NAME>atan'), ('180513', '1805', 'Penawar Tama'), ('180518', '1805', 'Raw<NAME>itu Timur'), ('180520', '1805', 'Banjar Margo'), ('180522', '1805', '<NAME>'), ('180523', '1805', 'Penawar Aji'), ('180525', '1805', 'Dente Teladas'), ('180526', '1805', '<NAME>ji'), ('180527', '1805', '<NAME>'), ('180529', '1805', 'Banjar Baru'), ('180530', '1805', 'Menggala Timur'), ('180601', '1806', 'Kota Agung'), ('180602', '1806', 'Talang Padang'), ('180603', '1806', 'Wonosobo'), ('180604', '1806', '<NAME>'), ('180609', '1806', '<NAME>'), ('180611', '1806', 'Pugung'), ('180612', '1806', 'Semaka'), ('180613', '1806', 'Sumber Rejo'), ('180615', '1806', 'Ulu Belu'), ('180616', '1806', 'Pematang Sawa'), ('180617', '1806', 'Klumbayan'), ('180618', '1806', 'Kota Agung Barat'), ('180619', '1806', 'Kota Agung Timur'), ('180620', '1806', 'Gisting'), ('180621', '1806', 'Gunung Alip'), ('180624', '1806', 'Limau'), ('180625', '1806', 'Bandar Negeri Semuong'), ('180626', '1806', 'Air Naningan'), ('180627', '1806', 'Bulok'), ('180628', '1806', 'Klumbayan Barat'), ('180701', '1807', 'Sukadana'), ('180702', '1807', 'Labuhan Maringgai'), ('180703', '1807', 'Jabung'), ('180704', '1807', 'Pekalongan'), ('180705', '1807', 'Sekampung'), ('180706', '1807', 'Batanghari'), ('180707', '1807', 'Way Jepara'), ('180708', '1807', 'Purbolinggo'), ('180709', '1807', 'Raman Utara'), ('180710', '1807', 'Metro Kibang'), ('180711', '1807', 'Marga Tiga'), ('180712', '1807', 'Sekampung Udik'), ('180713', '1807', 'Batanghari Nuban'), ('180714', '1807', 'Bumi Agung'), ('180715', '1807', '<NAME>'), ('180716', '1807', 'Mataram Baru'), ('180717', '1807', 'Melinting'), ('180718', '1807', 'Gunung Pelindung'), ('180719', '1807', 'Pasir Sakti'), ('180720', '1807', 'Waway Karya'), ('180721', '1807', 'Labuhan Ratu'), ('180722', '1807', 'Braja Selebah'), ('180723', '1807', 'Way Bungur'), ('180724', '1807', 'Marga Sekampung'), ('180801', '1808', 'Blambangan Umpu'), ('180802', '1808', 'Kasui'), ('180803', '1808', 'Banjit'), ('180804', '1808', 'Baradatu'), ('180805', '1808', 'Bahuga'), ('180806', '1808', 'Pakuan Ratu'), ('180807', '1808', 'Negeri Agung'), ('180808', '1808', 'Way Tuba'), ('180809', '1808', 'Rebang Tangkas'), ('180810', '1808', 'Gunung Labuhan'), ('180811', '1808', 'Negara Batin'), ('180812', '1808', 'Negeri Besar'), ('180813', '1808', 'Buay Bahuga'), ('180814', '1808', '<NAME>'), ('180901', '1809', '<NAME>'), ('180902', '1809', '<NAME>'), ('180903', '1809', 'Tegineneng'), ('180904', '1809', 'Way Lima'), ('180905', '1809', '<NAME>'), ('180906', '1809', '<NAME>'), ('180907', '1809', 'Kedondong'), ('180908', '1809', '<NAME>'), ('180909', '1809', 'Way Khilau'), ('181001', '1810', 'Pringsewu'), ('181002', '1810', '<NAME>'), ('181003', '1810', 'Ambarawa'), ('181004', '1810', 'Pardasuka'), ('181005', '1810', 'Pagelaran'), ('181006', '1810', 'Banyumas'), ('181007', '1810', 'Adiluwih'), ('181008', '1810', 'Sukoharjo'), ('181009', '1810', 'Pagelaran Utara'), ('181101', '1811', 'Mesuji'), ('181102', '1811', '<NAME>'), ('181103', '1811', '<NAME>'), ('181104', '1811', '<NAME>'), ('181105', '1811', '<NAME>ang'), ('181106', '1811', 'Panca Jaya'), ('181107', '1811', 'Tanjung Raya'), ('181201', '1812', 'Tulang Bawang Tengah'), ('181202', '1812', 'Tumijajar'), ('181203', '1812', 'Tulang Bawang Udik'), ('181204', '1812', 'Gunung Terang'), ('181205', '1812', 'Gunung Agung'), ('181206', '1812', '<NAME>'), ('181207', '1812', 'Lambu Kibang'), ('181208', '1812', 'Pagar Dewa'), ('181301', '1813', 'Pesisir Tengah'), ('181302', '1813', 'Pesisir Selatan'), ('181303', '1813', 'Lemong'), ('181304', '1813', 'Pesisir Utara'), ('181305', '1813', 'Karya Penggawa'), ('181306', '1813', 'Pulaupisang'), ('181307', '1813', '<NAME>'), ('181308', '1813', 'Krui Selatan'), ('181309', '1813', 'Ngambur'), ('181310', '1813', 'Bengkunat'), ('181311', '1813', 'Bengkunat Belimbing'), ('187101', '1871', 'Kedaton'), ('187102', '1871', 'Sukarame'), ('187103', '1871', 'Tanjungkarang Barat'), ('187104', '1871', 'Panjang'), ('187105', '1871', 'Tanjungkarang Timur'), ('187106', '1871', 'Tanjungkarang Pusat'), ('187107', '1871', 'Telukbetung Selatan'), ('187108', '1871', 'Telukbetung Barat'), ('187109', '1871', 'Telukbetung Utara'), ('187110', '1871', 'Rajabasa'), ('187111', '1871', 'Tanjung Senang'), ('187112', '1871', 'Sukabumi'), ('187113', '1871', 'Kemiling'), ('187114', '1871', 'Labuhan Ratu'), ('187115', '1871', 'Way Halim'), ('187116', '1871', 'Langkapura'), ('187117', '1871', 'Enggal'), ('187118', '1871', 'Kedamaian'), ('187119', '1871', 'Telukbetung Timur'), ('187120', '1871', 'Bumi Waras'), ('187201', '1872', 'Metro Pusat'), ('187202', '1872', 'Metro Utara'), ('187203', '1872', 'Metro Barat'), ('187204', '1872', 'Metro Timur'), ('187205', '1872', 'Metro Selatan'), ('190101', '1901', 'Sungailiat'), ('190102', '1901', 'Belinyu'), ('190103', '1901', 'Merawang'), ('190104', '1901', 'Mendo Barat'), ('190105', '1901', 'Pemali'), ('190106', '1901', 'Bakam'), ('190107', '1901', '<NAME>'), ('190108', '1901', 'Puding Besar'), ('190201', '1902', 'Tanjung Pandan'), ('190202', '1902', 'Membalong'), ('190203', '1902', 'Selat Nasik'), ('190204', '1902', 'Sijuk'), ('190205', '1902', 'Badau'), ('190301', '1903', 'Toboali'), ('190302', '1903', 'Lepar Pongok'), ('190303', '1903', 'Air Gegas'), ('190304', '1903', 'Simpang Rimba'), ('190305', '1903', 'Payung'), ('190306', '1903', 'Tukak Sadai'), ('190307', '1903', 'Pulaubesar'), ('190308', '1903', 'Kepulauan Pongok'), ('190401', '1904', 'Koba'), ('190402', '1904', 'Pangkalan Baru'), ('190403', '1904', 'Sungai Selan'), ('190404', '1904', 'Simpang Katis'), ('190405', '1904', 'Namang'), ('190406', '1904', 'Lubuk Besar'), ('190501', '1905', 'Mentok'), ('190502', '1905', '<NAME>'), ('190503', '1905', 'Jebus'), ('190504', '1905', 'Kelapa'), ('190505', '1905', 'Tempilang'), ('190506', '1905', 'Parittiga'), ('190601', '1906', 'Manggar'), ('190602', '1906', 'Gantung'), ('190603', '1906', 'Dendang'), ('190604', '1906', '<NAME>'), ('190605', '1906', 'Damar'), ('190606', '1906', '<NAME>'), ('190607', '1906', '<NAME>'), ('197101', '1971', 'Bukitintan'), ('197102', '1971', 'Taman Sari'), ('197103', '1971', 'Pangkal Balam'), ('197104', '1971', 'Rangkui'), ('197105', '1971', 'Gerunggang'), ('197106', '1971', 'Gabek'), ('197107', '1971', 'Girimaya'), ('210104', '2101', 'Gunung Kijang'), ('210106', '2101', 'Bintan Timur'), ('210107', '2101', 'Bintan Utara'), ('210108', '2101', 'Teluk Bintan'), ('210109', '2101', 'Tambelan'), ('210110', '2101', 'Telok Sebong'), ('210112', '2101', 'Toapaya'), ('210113', '2101', 'Mantang'), ('210114', '2101', 'Bintan Pesisir'), ('210115', '2101', 'Seri Kuala Lobam'), ('210201', '2102', 'Moro'), ('210202', '2102', 'Kundur'), ('210203', '2102', 'Karimun'), ('210204', '2102', 'Meral'), ('210205', '2102', 'Tebing'), ('210206', '2102', 'Buru'), ('210207', '2102', 'Kundur Utara'), ('210208', '2102', 'Kundur Barat'), ('210209', '2102', 'Durai'), ('210210', '2102', 'Meral Barat'), ('210211', '2102', 'Ungar'), ('210212', '2102', 'Belat'), ('210304', '2103', 'Midai'), ('210305', '2103', 'Bunguran Barat'), ('210306', '2103', 'Serasan'), ('210307', '2103', 'Bunguran Timur'), ('210308', '2103', 'Bunguran Utara'), ('210309', '2103', 'Subi'), ('210310', '2103', 'Pulau Laut'), ('210311', '2103', 'Pulau Tiga'), ('210315', '2103', 'Bunguran Timur Laut'), ('210316', '2103', 'Bunguran Tengah'), ('210318', '2103', 'Bunguran Selatan'), ('210319', '2103', 'Serasan Timur'), ('210401', '2104', 'Singkep'), ('210402', '2104', 'Lingga'), ('210403', '2104', 'Senayang'), ('210404', '2104', 'Singkep Barat'), ('210405', '2104', 'Lingga Utara'), ('210406', '2104', 'Singkep Pesisir'), ('210407', '2104', 'Lingga Timur'), ('210408', '2104', 'Selayar'), ('210409', '2104', 'Singkep Selatan'), ('210501', '2105', 'Siantan'), ('210502', '2105', 'Palmatak'), ('210503', '2105', 'Siantan Timur'), ('210504', '2105', 'Siantan Selatan'), ('210505', '2105', 'Jemaja Timur'), ('210506', '2105', 'Jemaja'), ('210507', '2105', 'Siantan Tengah'), ('217101', '2171', 'Belakang Padang'), ('217102', '2171', 'Batu Ampar'), ('217103', '2171', 'Sekupang'), ('217104', '2171', 'Nongsa'), ('217105', '2171', 'Bulang'), ('217106', '2171', 'Lubuk Baja'), ('217107', '2171', 'Sei Beduk'), ('217108', '2171', 'Galang'), ('217109', '2171', 'Bengkong'), ('217110', '2171', 'Batam Kota'), ('217111', '2171', 'Sagulung'), ('217112', '2171', 'Batu Aji'), ('217201', '2172', 'Tanjung Pinang Barat'), ('217202', '2172', 'Tanjung Pinang Timur'), ('217203', '2172', 'Tanjung Pinang Kota'), ('217204', '2172', 'Bukit Bestari'), ('310101', '3101', 'Kepulauan Seribu Utara'), ('310102', '3101', 'Kepulauan Seribu Selatan.'), ('317101', '3171', 'Gambir'), ('317102', '3171', 'Sawah Besar'), ('317103', '3171', 'Kemayoran'), ('317104', '3171', 'Senen'), ('317105', '3171', 'Cempaka Putih'), ('317106', '3171', 'Menteng'), ('317107', '3171', 'Tanah Abang'), ('317108', '3171', 'Johar Baru'), ('317201', '3172', 'Penjaringan'), ('317202', '3172', 'Tanjung Priok'), ('317203', '3172', 'Koja'), ('317204', '3172', 'Cilincing'), ('317205', '3172', 'Pademangan'), ('317206', '3172', 'Kelapa Gading'), ('317301', '3173', 'Cengkareng'), ('317302', '3173', 'Grogol Petamburan'), ('317303', '3173', 'Taman Sari'), ('317304', '3173', 'Tambora'), ('317305', '3173', 'K<NAME>'), ('317306', '3173', 'Kalideres'), ('317307', '3173', 'Pal Merah'), ('317308', '3173', 'Kembangan'), ('317401', '3174', 'Tebet'), ('317402', '3174', 'Setiabudi'), ('317403', '3174', 'Mampang Prapatan'), ('317404', '3174', 'Pasar Minggu'), ('317405', '3174', 'Kebayoran Lama'), ('317406', '3174', 'Cilandak'), ('317407', '3174', 'Kebayoran Baru'), ('317408', '3174', 'Pancoran'), ('317409', '3174', 'Jagakarsa'), ('317410', '3174', 'Pesanggrahan'), ('317501', '3175', 'Matraman'), ('317502', '3175', 'Pulogadung'), ('317503', '3175', 'Jatinegara'), ('317504', '3175', 'Kramatjati'), ('317505', '3175', '<NAME>'), ('317506', '3175', 'Cakung'), ('317507', '3175', '<NAME>'), ('317508', '3175', 'Makasar'), ('317509', '3175', 'Ciracas'), ('317510', '3175', 'Cipayung'), ('320101', '3201', 'Cibinong'), ('320102', '3201', '<NAME>'), ('320103', '3201', 'Citeureup'), ('320104', '3201', 'Sukaraja'), ('320105', '3201', 'Babakan Madang'); -- -------------------------------------------------------- -- -- Table structure for table `pesan` -- CREATE TABLE `pesan` ( `id_pesanan` int(11) NOT NULL, `id_terapis` varchar(255) DEFAULT NULL, `id_client` int(255) DEFAULT NULL, `kode_pesanan` varchar(255) DEFAULT NULL, `nama_pemesan` varchar(255) DEFAULT NULL, `alamat` varchar(255) DEFAULT NULL, `price` varchar(255) DEFAULT NULL, `status_pesan` int(255) DEFAULT NULL, `tanggal` date DEFAULT NULL, `comment_status` int(11) DEFAULT NULL, `status_transfer` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT; -- -- Dumping data for table `pesan` -- INSERT INTO `pesan` (`id_pesanan`, `id_terapis`, `id_client`, `kode_pesanan`, `nama_pemesan`, `alamat`, `price`, `status_pesan`, `tanggal`, `comment_status`, `status_transfer`) VALUES (1, '5', 73, 'BOOK-3340C1', 'suharyadi', 'citra batam', '120000', 0, '2019-08-03', 1, 1), (2, '3', 73, 'BOOK-3503020C2', 'suharyadi kedua', 'qwerty', '120000', 0, '2019-08-03', 1, 1), (3, '5', 74, 'BOOK-230232C3', 'agus', 'simpang tiga', '0', 0, '2020-09-03', 1, 1); -- -------------------------------------------------------- -- -- Table structure for table `provinsi` -- CREATE TABLE `provinsi` ( `id_prov` char(2) NOT NULL, `nama` tinytext NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT; -- -- Dumping data for table `provinsi` -- INSERT INTO `provinsi` (`id_prov`, `nama`) VALUES ('11', 'Aceh'), ('12', 'Sumatera Utara'), ('13', 'Sumatera Barat'), ('14', 'Riau'), ('15', 'Jambi'), ('16', 'Sumatera Selatan'), ('17', 'Bengkulu'), ('18', 'Lampung'), ('19', 'Kepulauan Bangka Belitung'), ('21', 'Kepulauan Riau'), ('31', 'DKI Jakarta'), ('32', 'Jawa Barat'), ('33', 'Jawa Tengah'), ('34', 'DI Yogyakarta'), ('35', 'Jawa Timur'), ('36', 'Banten'), ('51', 'Bali'), ('52', 'Nusa Tenggara Barat'), ('53', 'Nusa Tenggara Timur'), ('61', 'Kalimantan Barat'), ('62', 'Kalimantan Tengah'), ('63', 'Kalimantan Selatan'), ('64', 'Kalimantan Timur'), ('65', 'Kalimantan Utara'), ('71', 'Sulawesi Utara'), ('72', 'Sulawesi Tengah'), ('73', 'Sulawesi Selatan'), ('74', 'Sulawesi Tenggara'), ('75', 'Gorontalo'), ('76', 'Sulawesi Barat'), ('81', 'Maluku'), ('82', 'Maluku Utara'), ('91', 'Papua Barat'), ('92', 'Papua'); -- -------------------------------------------------------- -- -- Table structure for table `terapis` -- CREATE TABLE `terapis` ( `id_terapis` int(10) UNSIGNED NOT NULL, `kode_terapis` varchar(255) DEFAULT NULL, `nik` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, `nama_terapis` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, `umur` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, `no_telepon` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, `agama` varchar(255) DEFAULT NULL, `jenis_kelamin` varchar(255) DEFAULT NULL, `alamat` varchar(255) DEFAULT NULL, `provinsi` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, `kabupaten` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, `tempat_lahir` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, `tanggal_lahir` date DEFAULT NULL, `file_name` varchar(255) DEFAULT NULL, `file_size` varchar(255) DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT; -- -- Dumping data for table `terapis` -- INSERT INTO `terapis` (`id_terapis`, `kode_terapis`, `nik`, `nama_terapis`, `umur`, `no_telepon`, `agama`, `jenis_kelamin`, `alamat`, `provinsi`, `kabupaten`, `tempat_lahir`, `tanggal_lahir`, `file_name`, `file_size`, `created_at`) VALUES (2, 'TRP-22030N1', '', 'Sunarti', '44', '', 'Islam', 'Wanita', 'Tiban Lama', '21', '2171', 'Tulung Agung', '2019-06-08', 'Sunarti.jpg', '11457', '2019-07-24 14:50:04'), (3, 'TRP-030027N3', '', 'Puji Astutik', '57', '', 'Islam', 'Wanita', 'Komp. Lumbung Rezeki Blok A no. 4', '21', '2171', 'Surabaya', '1967-06-06', 'Puji.JPG', '13401', '2019-07-24 14:49:49'), (4, 'TRP-20222N4', '', 'Gamiati', '49', '', 'Islam', 'Wanita', 'Bengkong Bengkel', '21', '2171', 'Tulung Agung', '1970-06-21', 'Gamiati.JPG', '11786', '2019-07-24 14:48:25'), (5, 'TRP-03082N5', '', 'D<NAME>', '58', '', 'Islam', 'Wanita', 'Bukit Senyum', '21', '2171', 'Tulung Agung', '1961-12-23', 'Dewi Risma.JPG', '12240', '2019-07-31 08:19:30'); -- -------------------------------------------------------- -- -- Table structure for table `usergroup` -- CREATE TABLE `usergroup` ( `id` int(11) NOT NULL, `nama` varchar(255) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT; -- -- Dumping data for table `usergroup` -- INSERT INTO `usergroup` (`id`, `nama`) VALUES (1, 'Administrator'); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, `alamat` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, `no_telp` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, `username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, `password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, `jabatan` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, `usergroup` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `last_login` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `name`, `alamat`, `no_telp`, `username`, `password`, `jabatan`, `usergroup`, `created_at`, `updated_at`, `last_login`) VALUES (70, 'Suharyadi', 'Kos', '12341234', 'suharyadi', '<PASSWORD>', 'staff', '1', '2019-01-08 08:21:02', '2019-03-05 04:00:51', '2020-09-03 06:19:15'), (73, 'suharyadi client', 'kos 1', '12345678', 'qwerty', 'b1b3773a05c0ed0176787a4f1574ff0075f7521e', 'main game', '2', '2019-07-31 13:37:52', '0000-00-00 00:00:00', '2019-08-06 09:48:26'), (74, 'abdur', 'minomartani', '08383838383', 'abdur', '<PASSWORD>', 'mahasiswa', '2', '2020-09-03 06:10:58', '0000-00-00 00:00:00', '2020-09-03 06:13:40'); -- -------------------------------------------------------- -- -- Table structure for table `waktu_pesan` -- CREATE TABLE `waktu_pesan` ( `id` int(11) NOT NULL, `waktu` time DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT; -- -- Dumping data for table `waktu_pesan` -- INSERT INTO `waktu_pesan` (`id`, `waktu`) VALUES (1, '08:00:00'), (2, '08:30:00'), (3, '09:00:00'), (4, '09:30:00'), (5, '10:00:00'), (6, '10:30:00'), (7, '11:00:00'), (8, '11:30:00'), (9, '12:00:00'), (10, '12:30:00'), (11, '13:00:00'), (12, '13:30:00'), (13, '14:00:00'), (14, '14:30:00'), (15, '15:00:00'), (16, '15:30:00'), (17, '16:00:00'), (18, '16:30:00'), (19, '17:00:00'), (20, '17:30:00'), (21, '18:00:00'), (22, '18:30:00'), (23, '19:00:00'), (24, '19:30:00'), (25, '20:00:00'), (26, '20:30:00'), (27, '21:00:00'), (28, '21:30:00'), (30, '22:00:00'); -- -- Indexes for dumped tables -- -- -- Indexes for table `durasi` -- ALTER TABLE `durasi` ADD PRIMARY KEY (`id_durasi`) USING BTREE; -- -- Indexes for table `foto_transfer` -- ALTER TABLE `foto_transfer` ADD PRIMARY KEY (`id_foto`) USING BTREE; -- -- Indexes for table `gaji` -- ALTER TABLE `gaji` ADD PRIMARY KEY (`id_gaji`) USING BTREE; -- -- Indexes for table `kabupaten` -- ALTER TABLE `kabupaten` ADD PRIMARY KEY (`id_kab`) USING BTREE; -- -- Indexes for table `kecamatan` -- ALTER TABLE `kecamatan` ADD PRIMARY KEY (`id_kec`) USING BTREE; -- -- Indexes for table `pesan` -- ALTER TABLE `pesan` ADD PRIMARY KEY (`id_pesanan`) USING BTREE; -- -- Indexes for table `provinsi` -- ALTER TABLE `provinsi` ADD PRIMARY KEY (`id_prov`) USING BTREE; -- -- Indexes for table `terapis` -- ALTER TABLE `terapis` ADD PRIMARY KEY (`id_terapis`) USING BTREE; -- -- Indexes for table `usergroup` -- ALTER TABLE `usergroup` ADD PRIMARY KEY (`id`) USING BTREE; -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`) USING BTREE; -- -- Indexes for table `waktu_pesan` -- ALTER TABLE `waktu_pesan` ADD PRIMARY KEY (`id`) USING BTREE; -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `durasi` -- ALTER TABLE `durasi` MODIFY `id_durasi` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13; -- -- AUTO_INCREMENT for table `foto_transfer` -- ALTER TABLE `foto_transfer` MODIFY `id_foto` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13; -- -- AUTO_INCREMENT for table `gaji` -- ALTER TABLE `gaji` MODIFY `id_gaji` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `pesan` -- ALTER TABLE `pesan` MODIFY `id_pesanan` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `terapis` -- ALTER TABLE `terapis` MODIFY `id_terapis` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `usergroup` -- ALTER TABLE `usergroup` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=75; -- -- AUTO_INCREMENT for table `waktu_pesan` -- ALTER TABLE `waktu_pesan` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31; 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>adityadees/florist -- phpMyAdmin SQL Dump -- version 4.7.9 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Dec 18, 2018 at 06:27 AM -- Server version: 10.1.31-MariaDB -- PHP Version: 7.2.3 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `gantri` -- -- -------------------------------------------------------- -- -- Table structure for table `kategori` -- CREATE TABLE `kategori` ( `kategori_id` int(11) NOT NULL, `kategori_nama` varchar(50) NOT NULL, `kategori_ket` text NOT NULL, `kategori_gambar` varchar(50) NOT NULL DEFAULT 'defaultkat.png' ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `kategori` -- INSERT INTO `kategori` (`kategori_id`, `kategori_nama`, `kategori_ket`, `kategori_gambar`) VALUES (10, 'Elektronik', 'peralatan elektronik\r\n', '0_f3ee8418-870f-4b29-82e8-c9967d04486d_540_540.jpg'), (11, 'Fashion', 'Baju celanan dan lainlain\r\n', 'hbz-fashion-politics-index5-1522870340.jpg'), (12, 'Otomotif', '', 'defaultkat.png'), (13, 'Makanan & Minuman', '', 'defaultkat.png'), (14, '<NAME>', '', 'defaultkat.png'); -- -------------------------------------------------------- -- -- Table structure for table `keranjang` -- CREATE TABLE `keranjang` ( `keranjang_id` int(11) NOT NULL, `produk_kode` varchar(15) NOT NULL, `user_id` int(11) NOT NULL, `keranjang_qty` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `list` -- CREATE TABLE `list` ( `list_id` int(11) NOT NULL, `sk_id` int(11) NOT NULL, `list_nama` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `list` -- INSERT INTO `list` (`list_id`, `sk_id`, `list_nama`) VALUES (10, 7, 'Antena'), (11, 7, '<NAME>'), (12, 8, 'AC'), (13, 8, '<NAME>'), (14, 9, '<NAME>'), (15, 9, 'Aksesoris Hijab'), (16, 10, '<NAME>'), (17, 10, '<NAME>'), (18, 11, '<NAME>'), (19, 11, '<NAME>'), (20, 12, '<NAME>'), (21, 12, '<NAME>'), (22, 13, 'Spion'), (23, 13, 'Lampu'), (24, 14, 'Oli Motor'), (25, 14, 'Oli Mobil'), (26, 15, 'Snack'), (27, 15, 'Wafer'), (28, 16, '<NAME>'), (29, 16, 'Soda'), (30, 17, '<NAME>'), (31, 17, '<NAME>'), (32, 18, '<NAME>'), (33, 18, '<NAME>'); -- -------------------------------------------------------- -- -- Table structure for table `pembayaran` -- CREATE TABLE `pembayaran` ( `pembayaran_kode` int(11) NOT NULL, `pemesanan_kode` varchar(15) NOT NULL, `pembayaran_nama` varchar(50) DEFAULT NULL, `pembayaran_pesan` text, `pembayaran_status` enum('pending','selesai','belumbayar') DEFAULT 'pending', `pembayaran_method` enum('ditempat','transfer') NOT NULL, `pembayaran_tanggal` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, `pembayaran_bukti` varchar(50) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `pembayaran` -- INSERT INTO `pembayaran` (`pembayaran_kode`, `pemesanan_kode`, `pembayaran_nama`, `pembayaran_pesan`, `pembayaran_status`, `pembayaran_method`, `pembayaran_tanggal`, `pembayaran_bukti`) VALUES (2, 'INV90111182748', NULL, NULL, 'selesai', 'ditempat', '2018-12-18 00:30:15', NULL), (3, 'INV5561118292', 'budi', NULL, 'selesai', 'transfer', '2018-12-17 03:40:36', 'a168aed1818caefbc649299892d9af3c_(1).jpg'), (4, 'INV1581218112', NULL, NULL, 'belumbayar', 'transfer', NULL, NULL), (5, 'INV7811218177', NULL, NULL, 'pending', 'ditempat', '2018-12-18 00:30:12', NULL); -- -------------------------------------------------------- -- -- Table structure for table `pemesanan` -- CREATE TABLE `pemesanan` ( `pemesanan_kode` varchar(15) NOT NULL, `user_id` int(11) NOT NULL, `pemesanan_subtotal` int(11) NOT NULL, `pemesanan_ongkir` int(11) NOT NULL, `pemesanan_total` int(11) NOT NULL, `pemesanan_status` enum('waiting','selesai') NOT NULL DEFAULT 'waiting', `pemesanan_tanggal` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `pemesanan` -- INSERT INTO `pemesanan` (`pemesanan_kode`, `user_id`, `pemesanan_subtotal`, `pemesanan_ongkir`, `pemesanan_total`, `pemesanan_status`, `pemesanan_tanggal`) VALUES ('INV1581218112', 4, 290500, 0, 290500, 'waiting', '2018-12-12 00:05:05'), ('INV5561118292', 4, 2625, 5000, 7625, 'selesai', '2018-10-11 08:38:33'), ('INV7811218177', 4, 977400, 0, 977400, 'waiting', '2018-12-18 00:27:27'), ('INV90111182748', 4, 276400, 0, 276400, 'selesai', '2018-11-27 07:18:15'); -- -------------------------------------------------------- -- -- Table structure for table `pemesanan_detailp` -- CREATE TABLE `pemesanan_detailp` ( `pdp_id` int(11) NOT NULL, `pemesanan_kode` varchar(15) NOT NULL, `produk_kode` varchar(15) NOT NULL, `pdp_qty` int(11) NOT NULL, `pdp_bonus` int(11) NOT NULL, `pdp_harga` int(11) NOT NULL, `pdp_diskon` int(11) NOT NULL, `pdp_subtotal` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `pemesanan_detailp` -- INSERT INTO `pemesanan_detailp` (`pdp_id`, `pemesanan_kode`, `produk_kode`, `pdp_qty`, `pdp_bonus`, `pdp_harga`, `pdp_diskon`, `pdp_subtotal`) VALUES (3, 'INV90111182748', 'PRD1261120187', 2, 1, 125000, 0, 250000), (4, 'INV90111182748', 'PRD1941120181', 1, 0, 26400, 12, 26400), (5, 'INV5561118292', 'PRD13311201810', 1, 0, 2625, 25, 2625), (6, 'INV1581218112', 'PRD1261120187', 2, 1, 125000, 0, 250000), (7, 'INV1581218112', 'PRD13311201810', 3, 0, 3500, 0, 10500), (8, 'INV1581218112', 'PRD1941120181', 1, 0, 30000, 0, 30000), (9, 'INV7811218177', 'PRD1261120187', 4, 2, 125000, 0, 500000), (10, 'INV7811218177', 'PRD2841120189', 1, 0, 439000, 0, 439000), (11, 'INV7811218177', 'PRD21911201810', 1, 0, 34900, 0, 34900), (12, 'INV7811218177', 'PRD13311201810', 1, 0, 3500, 0, 3500); -- -------------------------------------------------------- -- -- Table structure for table `pemesanan_ship` -- CREATE TABLE `pemesanan_ship` ( `ps_id` int(11) NOT NULL, `pemesanan_kode` varchar(15) NOT NULL, `ps_nama` varchar(50) NOT NULL, `ps_email` varchar(50) NOT NULL, `ps_tel` varchar(50) NOT NULL, `ps_alamat` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `pemesanan_ship` -- INSERT INTO `pemesanan_ship` (`ps_id`, `pemesanan_kode`, `ps_nama`, `ps_email`, `ps_tel`, `ps_alamat`) VALUES (1, 'INV90111182748', 'tesadmin', '<EMAIL>', '082222333', 'jl.aaa44411'), (2, 'INV5561118292', 'AdityaDS', '<EMAIL>', '082222333', 'jl.aaa44411'), (3, 'INV1581218112', 'AdityaDS', '<EMAIL>', '082222333', 'jl.aaa44411\r\n'), (4, 'INV7811218177', 'AdityaDS', '<EMAIL>', '082222333', 'jl.aaa444112'); -- -------------------------------------------------------- -- -- Table structure for table `produk` -- CREATE TABLE `produk` ( `produk_kode` varchar(15) NOT NULL, `list_id` int(11) NOT NULL, `produk_nama` varchar(150) NOT NULL, `produk_harga` int(11) NOT NULL, `produk_ket` text NOT NULL, `produk_up` enum('yes','no') NOT NULL DEFAULT 'no', `produk_gambar` varchar(150) NOT NULL DEFAULT 'images/default.php' ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `produk` -- INSERT INTO `produk` (`produk_kode`, `list_id`, `produk_nama`, `produk_harga`, `produk_ket`, `produk_up`, `produk_gambar`) VALUES ('PRD1261120187', 10, 'Antena Tv (SUPER JERNIH)BISA DIPUTAR 360 DERAJAT)', 125000, '# NEW PRODUCT #\r\n\r\n> SUDAH TERMASUK KABEL +-/- 10 METER\r\n> SUDAH TERMASUK BOOSTER DAN REMOTE\r\nCOCOK UNTUK DAERAH YANG SUSAH MENDAPATKAN SINYAL\r\n# BISA DI PUTAR 360 DERAJAT \r\n\r\nAntena Remote Digital berkualitas tinggi\r\nsangat mudah dan praktis dipasang untuk memperkuat dan memperjelas gambar pada layar televisi maupun kekuatan sinyal radio. Karena antenna ini mempermudah mendapatkan channel UHF / VHF TV dan FM Radio. Sangat efektif digunakan pada TV LED / digital maupun TV analog.\r\nPraktis dan sangat mudah dipasang.\r\n>>>BISA DI PASANG INDOOR DAN OUTDOOR<<', 'yes', 'antena.jpg'), ('PRD13311201810', 15, 'Bros Dagu Kecil Hijab Jilbab Aksesoris Wanita Korea Murah Terbaru', 3500, 'Bros Dagu Kecil Hijab Aksesoris Wanita Korea Murah Terbaru\r\n\r\nBEST SELLER.....\r\n\r\nBROS KECIL, BROS DAGU\r\nBros dagu dengan model yang cantik, kecil mungil, berkilauan dan elegant saat dipakai. \r\nBerfungsi sebagai pemanis untuk disematkan pada hijab / busana anda, membuat penampilan anda menjadi makin sempurna. \r\n\r\nTahan lama, hindari kontak dengan zat kimia, seperti parfum dan hand&body lotion.\r\n\r\nharga untuk 1 pcs\r\n\r\npilihan MODEL BOLEH CAMPUR\r\n\r\ncantumkan nomer model yang anda inginkan pada catatan untuk penjual. \r\nJika tidak, kami akan kirimkan secara random sesuai dengan stock yang tersedia.\r\n\r\nwarna dasar : silver\r\nmata : crystal putih bening\r\njarum : runcing', 'no', '281709992_2a4b25ba-db94-4fa1-a966-458cc6e09b5b_2048_2048.jpg'), ('PRD1441120180', 11, 'Kabel Loop Out Antena TV', 14400, 'kabel loop antena biasa digunakan untuk menghubungkan perangkat TV ke Set Top Box / STB atau ke konektor antena dinding.\r\n\r\nUntuk pemasangan dari TV ke STB biasanya menggunakan jenis Male to Female, sedangkan pemasangan dari TV ke konektor antena dinding pilih male to male.\r\n\r\nkeunggulan produk kami\r\n1. Buatan sendiri jadi mutu jelas terjamin.\r\n2. Konektor Antena menggukanan jenis metalik yang lebih awet dibandingkan jenis PVC.\r\n3. Kabel menggunakan standar yang biasanya digunakan untuk parabola.\r\n4. Pemasangan terisolasi untuk menghindari konsleting antara kutup positif & negatif\r\n5. Stok selalu baru karena kami hanya membuat kabel loop jika ada pesanan saja.\r\n\r\nkonektor sesuai pesanan\r\n1. male to male\r\n2. male to female\r\n3. female to female\r\n\r\nPanjang Kabel Bisa memilih 1meter Atau 1,5meter\r\n\r\nJika tidak memberikan keterangan maka akan dikirim kabel konektor male to femalr (untuk set top box)', 'no', '1030452_3e57acc0-a731-4320-a6cb-9436c9cc2e6e.jpg'), ('PRD1941120181', 13, 'Kipas Angin Mini fan / kipas angin portable / kipas angin gengam', 30000, 'Kapasitas Baterai : 2000mAh\r\nJenis Baterai : Battery 18650 lithium\r\nukuran produk : 150 x 130 x 42mm\r\nDaya Penggunaan :\r\n-- Kecepatan Pelan : 6 1/2 jam\r\n-- Kecepatan Sedang : 3 1/2 jam\r\n-- Kecepatan Maksimal : 1 1/2 jam\r\nAda Anti Slip pada kaki Kipas sehingga tidak mudah berpindah dari tempat nya.\r\n\r\nPaket Berisi :\r\n1 pc Head Kipas Angin\r\n1 pc Baterai (Khusus)\r\n1 pc Kabel data Micro\r\n\r\nFitur :\r\n1. Bentuk yang sempurna , dapat berotasi sampai dengan 330 drajat dan disesuaikan dengan penggunaan pribadi.\r\n\r\n2. Daya baterai : 2000mAh dengan 18650 lithium batteries\r\nOutput listrik 5V/1A, dan dapat juga digunakan sebagai PowerBank HP.\r\n\r\n3. Penampilan yang indah, detail cetakan yang menarik\r\n4. 3 Sayap kipas, Mudah dibawa, Hembusan yang kuat juga menjadikan alasan kenapa Anda harus membeli produk ini.\r\n\r\n5. Dengan Dinamo DC brushless tembaga yang memiliki keunggulan durabilitas yang lama, tidak terlalu panas dan efisiensi output kipas lebih baik.\r\n\r\n6. Bahan baku dari plastik ABS757 import , Hasil cetakan / kompresi yang baik, bermutu tinggi dan penampilan baik.\r\n7. Dengan sirkuit perlindungan built-in, kipas akan mati secara otomatis ketika sesuatu menyisipkan dan memblokir daun kipas untuk melindungi jari-jari Anda dari pemotongan', 'no', '39266273_d7265a67-71e9-48de-a0b8-7b73f9c2f898_700_700.png'), ('PRD1941120182', 20, 'M, L - Baju Kaos Polos Raglan Reglan Lengan Panjang Oblong Cowok Cewek', 350000, '', 'no', '163957_d335156a-457d-407d-ba4f-5a74addcb914.jpg'), ('PRD21911201810', 14, 'Kain diamond crepe/seruti diamond/bahan kerudung', 34900, 'Nama Kain = Diamond Crepe\r\n\r\nBidang / Lebar kain = 150 cm / 1,5 meter\r\n\r\n', 'no', '5486357_6d3a3b1c-e944-40a0-a2f8-6d06c2687cf9_567_644.jpeg'), ('PRD2331120188', 10, 'Antenna Antena Tv outdoor dengan remote dan booster + kabel PF 850', 89500, 'Antena TV Outdoor dengan Remote + Booster dan + Kabel\r\n\r\nKeunggulan :\r\n1. Kokoh ( pipa alumunium yang awet ) dan dapat berputar 360 Derajat, sehingga memudahkan untuk mencari frekuensi dengan remote\r\n2. Dual frekuensi ( UHF / VHF ) \r\n3. Tahan terhadap cuaca hujan atau panas\r\n4. Motor remote tidak berisik\r\n5. Dilengkapi dengan remote control\r\n6. Dilengkapi juga dengan booster untuk memperkuat sinyal tangkapan\r\n\r\nCocok untuk Type TV : TV Tabung, Plasma, LCD, LED\r\n\r\nSpesifikasi:\r\n- Antena + Mesin Rotari \r\n- Kabel + Jack\r\n- Remote\r\nAntena TV Tipe : PF 850 Built in Booster For VHF / UHF \r\nChannels Gain : VHF (25dB), UHF (28dB) Channels : VHF (1-12), UHF (21-69) Impedance : 75 \r\nPower : AC 220V 50Hz \r\nBaterai Remote : 2x AAA (tidak termasuk dlm paket)\r\nSuper Performance : 25dB Gain PF 850 \r\nAntena TV dilengkapi remote control untuk mempermudah memindahkan arah antena sesuai keinginan. \r\nAntena ini dilengkapi dengan BOOSTER dan KABEL 3C Coaxial 10 meter. \r\nLow Noise PF 850 TV Remote Controlled Rotatting Antenna dapat menangkap siaran jarak jauh dengan tingkat gangguan rendah. \r\n\r\nNotes: Semua BARANG Telah Kami Periksa & Tes Bagus, Tidak dapat ditukar/ dikembalikan. Terima kasih. Selamat Berbelanja.', 'no', '192305922_4cd45451-7f31-4759-b0e1-3fc725668346_2048_0.jpg'), ('PRD2361120189', 21, 'baju tidur', 150000, '', 'no', '4673608_107a9f9f-0569-4003-97d1-50b602794fcf_644_644.jpg'), ('PRD2831120186', 19, 'CELANA PENDEK / CELANA PENDEK KATUN / CELANA PENDEK PRIA', 70000, '', 'no', '0_04184b9a-7de0-46d0-9912-d0283c915547_640_640.jpg'), ('PRD2841120189', 10, 'Baju Kaos Motif Polos Raglan Reglan Baju Lengan Panjang Cowok Pria - Hijau Navy', 439000, '', 'no', '146826054_451e9648-626e-415d-8b00-67c6a6bc012e_1024_1024.jpg'), ('PRD291120181', 21, 'Baju Tidur / Piyama / Baju Tidur Wanita Setelan', 35900, '', 'no', '0_d7e05e25-929a-42dc-adb5-a4b1b9b5980c_640_640.jpg'), ('PRD32911201810', 18, 'JOGGER STRIPE PANTS', 70000, '', 'no', '5568708_5f04a50b-72b3-4a6a-9a36-52e4d102c41a_1000_1000.jpg'), ('PRD331120183', 13, 'Kipas angin hello kitty / kipas angin duduk / kipas angin usb', 68000, 'Kipas angin hello kitty / kipas angin duduk / kipas angin usb', 'no', '170248_4785e809-d4af-44a6-be2b-9048dcb3d1bc.jpg'), ('PRD3811120186', 25, 'Oli Mobil 1 SAE 5W30 API SN kemasan galon 4 liter', 550000, '', 'no', 'images/default.php'), ('PRD421120186', 24, 'ARAL BASIC ENERGY 2T OLI SAMPING MOTOR (100% FROM GERMANY)', 88000, '', 'no', '5245680_bb2e3ce4-5f1b-4672-ac19-1131e97665a4_1333_20001.jpg'), ('PRD4331120181', 16, 'jaket denim jeans Levis', 119000, 'jaket denim jeans Levis', 'no', '0_f3ee8418-870f-4b29-82e8-c9967d04486d_540_540.jpg'), ('PRD4331120187', 11, 'kabel tv / kabel antena tv rg 6 rg6 / kabel coaxial', 3500, 'kabel antena tv . rg 6 berkualitas .\r\nharga adalah per meter. \r\ntanpa jack\r\ncatatan: \r\ntidak perlu tanyakan stock ready atau tidak, langsung pesan aja. selama masih ada di etalase barang pasti masih ready stock.', 'no', '1787574_6ce74cc7-21f4-469e-9934-35cf500c3c001.jpg'), ('PRD43411201810', 12, 'AC AQUA SPLIT 1/2 PK PROMO TERMURAH !!! / AC AQUA SANYO 0.5 PK', 2388000, 'PROMO AC HARGA PABRIK !!!\r\nMOHON TANYAKAN ONGKIR KEPADA KAMI \r\n\r\nHANYA TERIMA ORDER VIA TIKI\r\n\r\nHARGA YANG TERTERA ADALAH HARGA UNIT \r\nPEMBELIAN HRS BERIKUT PAKET PEMASANGAN \r\n\r\n\r\nMulti-function Filter\r\nKombinasi 3 filter terdiri dari filter ion silver, filter antioksidan dan filter vitamin C untuk memenuhi berbagai kebutuhan anda secara bersamaan.\r\n\r\nI Feel Function\r\n\r\n\r\nGaransi kompressor 5 tahun\r\nGaransi lebih lama dari 3 tahun menjadi 5 tahun.\r\n\r\nWatt 390\r\nCapacity (Cooling)5000 BTU/h\r\nAir Circulation (in/out door)450 m2/h\r\nMoisture Removal0.8 L/h\r\nAvailable Voltage Range145-264 V\r\nRunning Amperes1.57 A\r\nPower Input320 WC.O.P4.17 W/W\r\nControl Microprocessor\r\nCompressor Rotary\r\nFan Speed3 Speed & AutO', 'no', '249056231_207328ff-f00d-4fb5-82b4-2a72400131ef_720_720.jpg'), ('PRD4831120185', 10, ' ANTENA /ANTENNA TV DIGITAL DALAM INDOOR MODEL PF HD.14 HD14', 350000, 'panjang kabel 120cm', 'no', '70898167_cded5c0b-cb30-4833-8fb8-70fafccc9942_1164_655.jpg'), ('PRD4931120183', 10, 'KABEL ANTENA TV 20 METER', 45000, 'Kabel Antena tv outdoor 20 meter\r\nsudah siap pakai tinggal colok karena sudah terpasang kepala nya langsung', 'no', '412411_e7c83a92-e8ae-11e4-b9f6-60f164efb121.jpg'), ('PRD5061120185', 23, 'Lampu Mobil Led H4 Dual Beam Plug n Play', 584000, '', 'no', 'a.jpg'), ('PRD541120181', 18, 'celana panjang sobek pria / celana panjang strech sobek pria - Cokelat Muda, 32', 225000, 'celana panjang sobek pria / celana panjang strech sobek pria - Cokelat Muda, 32', 'no', 'images/default.php'), ('PRD6811201810', 17, 'jaket pria semi kulit 01 - Hitam, S', 150000, '', 'no', 'images/default.php'), ('PRD7121120182', 24, 'Oli Yamalube Yamaha Matic Motor Oil 20 W 40 0.8L', 335000, '', 'no', '5245680_bb2e3ce4-5f1b-4672-ac19-1131e97665a4_1333_2000.jpg'), ('PRD7211120180', 16, 'Jaket Jeans Jaket Levis Jaket Pria Jaket Grosir Jaket Murah', 125000, 'JAKET JEANS LEVI\'S\r\n\r\nWarna : BioBlitz / Biru Muda & BioWash / Biru Tua\r\n\r\nSize : M L XL\r\n\r\nPrediksi ukuran :\r\n\r\nM = Panjang 56 x Lebar dada 47-49 x Panjang tangan 57-58\r\n\r\nL = Panjang 58 x Lebar dada 48-50 x Panjang tangan 58\r\n\r\nXL = Panjang 60 x Lebar dada 52x Panjang tangan 58\r\n\r\n- Bahan Jeans Tebal / Denim\r\n\r\n- Terdapat tag kulit pada bagian punggung dalam jaket\r\n\r\n- Aksesoris dan Kancing terdapat logo levis ', 'no', '266982080_033a4af3-f52a-4fb3-9dc5-608cf5fb4fb6_720_720.jpg'), ('PRD72311201810', 23, 'Tumblr Lamp / Lampu Tumblr / Lampu Natal / Lampu Hias LED 10 Meter', 29900, '', 'no', '144840623_d4575c64-c864-41d0-8690-9f3affd13491_540_540.jpg'), ('PRD7581120184', 19, 'celana cargo pendek celana pendek celana pdl', 95000, '', 'no', '2020893_bc973f34-bb2e-409b-849c-529c5f6289c3.jpg'), ('PRD7681120181', 10, 'Antena TV digital indoor outdoor PX DA - 5200', 133000, 'SPESIAL PROMO !!!\r\npacking rapi.\r\n\r\nbarang original, komplit n bergaransi resmi PX 18 BULAN.... \r\n\r\nbagi konsumen yg kurang mengerti dengan cara pemasangannya nanti bisa chat sama kita dan dengan senang hati akan kita pandu n bantu sampai bisa\r\n\r\ngaransi uang kembali 100 persen apabila barang yg di terima bukan original alias KW\r\n\r\nmodel terbaru dari PX DA 5700\r\n\r\nDigital TV Antenna Indoor / Outdoor DA-5200 \r\n\r\nDA-5200 adalah sebuah antena desain khusus untuk menerima sinyal digital terrestrial broadcasting. Dengan menggunakan teknologi dan sirkuit tingkat kebisingan rendah, akan memberikan daya terima sinyal yang baik. Dan desain yang menarik dan model yang bergaya,dimana akan bekerja sangat baik dengan STB (Set Top Box) Digital Anda.\r\n\r\nDengan model yang Anti Air dan tahan terhadap Sinar UV, Antena seri DA-5200 dapat dipasang pada dinding, jendela dan dengan disediakannya aksesoris kunci pada tiang, Anda dapat memasang DA-5200 pada tiang kayu atau tiang besi. Dengan mekanisme tiang antena multi arah, Anda dapat mengatur ke arah mana saja untuk mendapatkan sinyal yang terbaik.\r\n\r\nBila ingin mendapatkan informasi lebih lengkap mengenai produk DA-5200, baik mengenai perangkat dan solusinya. Hubungi kami dan tinggalkan nomer kontak Anda, Sales kami akan segera menghubungi Anda.\r\n\r\nFitur :\r\n* Desain yang menarik dan bergaya.\r\n* Metode Instalasi beragam, instalasi pada wall-mounted atau pole-mounted\r\n* UHF 470~870MHz\r\n* VHF 47~230MHz\r\n* Meningkatkan sinyal 203dB\r\n* Teknologi amplifier kebisingan rendah\r\n* Pengaturan Arah yang luas\r\n* Anti air dan tahan sinar UV and anti-UV housing\r\n\r\n\r\nisi box :\r\n1. main unit\r\n2. 3 meter antena kabel\r\n3. power inserter dan adaptor\r\n4. Dudukan antena yang fleksibel ke segala arah\r\n5. cable scrap untuk pengikat dudukan\r\n6. Stand\r\n7. manual book dan garansi card\r\n\r\nantena setiap daerah beda frekuensi n kalau ada yg dapat signal kurang bagus gak bisa komplen atau retur. makasih', 'no', 'images/default.php'), ('PRD7701120180', 22, 'Spion Tomok Full Cnc V2 Rizoma Universal - Vering Semua Motor', 989000, '', 'no', '0_955637b8-b7b7-41d8-bcbc-893a24dea9c7_700_933.jpg'), ('PRD8101120189', 14, 'Kain wolpeach / kain wolfis / bahan syar\'i, kerudung, dress, longdres,', 25000, 'Selamat datang di toko kami .. insyaAllah barang2 kami tidak akan mengecewakan anda ...\r\n\r\nNama Kain = Wolpeach\r\n\r\nBidang / Lebar kain = 150 cm / 1,5 meter\r\n\r\nKain wolpeach yg sangat diminati, bahan berstektur, adem, jatuh dan lembut,\r\n\r\nRefrensi cocok dijadikan, baju muslim, seragaman, dress, kerudung, blouse, dll\r\n\r\nNB : HARGA UNTUK ( 100cm x 150cm ) YA SAY\r\n\r\n????????minimal order : 2 / 2meter\r\n', 'no', '5486357_6d4d9f3a-e9d5-4487-a5fa-b744777fb4b6_650_858.jpg'), ('PRD8581120186', 17, 'jaket pria moderen .semi kulit - Merah', 1650000, '', 'no', '2759703_a588644a-2a9b-459c-8514-b823621c9809_700_700.jpg'), ('PRD8751120183', 25, 'Oli Gear - Mobil 1 Syn Gear Lube LS 75W-90 (1 liter)', 297000, '', 'no', '23677706_d8d2051d-0897-49b5-bd1c-6f9c2384a4bc.jpg'), ('PRD941120189', 15, 'Klip Turki Hijab Mutiara Lonjong / Clip Peniti Tuspin Jilbab Kerudung', 970, 'Klip Turki yang sedang hits membuat jilbab anda lebih awet karena kain tidak ditembus jarum atau peniti konvensional. \r\nPenggunaan juga mudah, cukup diselipkan dan didorong pada kerudung dibawah dagu, atau tempat yang lazim dipasang peniti atau jarum. ^_^ ', 'no', '70918915_4ce9fe0e-5907-4b90-9cb8-8108913f251d_800_800.jpg'), ('PRD9631120183', 10, 'Antena PF Digital HDU-25 - Very High Gain serta Cocok untuk TV Analog dan TV Digital - Perak', 199900, 'PENTING: Order Antena PF HDU 25 TIDAK BISA PAKAI Gojek SAMEDAY / Grab SAMEDAY (JANGAN PILIH YANG 6 jam ya) karena ukurannya sangat besar (sebesar orang dewasa) sehingga tidak bisa dibawa oleh driver Sameday 6 jam yang juga bawa paket-paket lain.\r\n\r\nJadi cuma bisa pakai yang 3 jam (INSTANT) atau JNE ya..\r\n\r\nAntena PF Digital HDU-25 adalah versi tertinggi dengan daya tangkap sinyal PALING TINGGI dan PEKA dari keluarga PF. Jadi jangan heran dengan harganya yang relatif cukup mahal dibandingkan antena biasa\r\n\r\nAntena TV UHF PF HDU-25 ini Produk ASLI INDONESIA, dirancang khusus untuk TV Analog dan TV Digital DVB-T2 di Indonesia. \r\n\r\nFitur:\r\n- Kualitas tinggi dengan bahan alumunium, sangat baik dan peka terhadap sinyal TV analog dan digital DVB-T2\r\n- Didesain untuk menerima sinyal TV UHF, VHF, dan DVB-T2\r\n- Panjang antena 1,6 meter alias 160 cm (TERBESAR DI KELASNYA, antena ini SETINGGI ORANG DEWASA)\r\n- Ringan tapi kokoh dan Mudah dipasang\r\n- Didukung dengan lengan pengunci, sehingga antena tidak mudah roboh, miring, goyang, dan patah.\r\n- Terbukti SANGAT AWET\r\n\r\nFITUR UNGGULAN:\r\nMemiliki Gain (daya tangkap) sinyal yang sangat tinggi, yakni sekitar 7,6 dB ~ 13,7 dB\r\n\r\nBisa digunakan untuk:\r\n- Menerima siaran TV Analog biasa\r\n- Menerima siaran TV Digital (dengan syarat TV yang digunakan sudah berstandar DVB-T2 atau menggunakan Set Top Box DVB-T2)\r\n\r\nKelengkapan:\r\n- Antena\r\n- Lengan Pengunci\r\n\r\n<< FAQ >>\r\nCalon pembeli: mahal banget kok belum termasuk kabel, di toko ga sampe 100 ribu tuh\r\nYusuf Computer: antena ini panjangnya 1,6 meter (antena ini setinggi orang dewasa) berbahan FULL aluminum yang kokoh dengan kualitas premium VIP. Sudah beda kelasnya dibanding antena 100 ribuan\r\n\r\nCATATAN:\r\n- Antena PF HDU-25 ini juga bisa diambil di rumah saya di Bekasi Timur (buat janji terlebih dahulu ya via pesan Tokopedia)\r\n- Per Juni 2018, Barang GARANSI 100% AMAN sampai tujuan diasuransikan. Jika barang diterima rusak, uang dan ongkir akan dikembalikan 100% (hubungi seller max 24 jam setelah barang diterima)', 'no', '318894_603bb317-1c8c-4420-9f63-8973cfba180f_1571_9721.jpg'), ('PRD9791120184', 10, 'Kabel Antena TV 20 M', 28000, 'Kabel Antena TV 20 M\r\n\r\nMerk di gambar adalah Maxtron (Merk Tidak Terikat)\r\n\r\nKami akan mengirimkan merk lain dengan harga dan kualitas yang sama jika stok habis\r\n\r\nSudah termasuk 1 buah colokan ke TV\r\n\r\nDiameter kabel 6,5mm\r\n\r\n\r\nTERIMA KASIH Telah berbelanja di Toko Kami\r\n\r\n~~~ Love toko kami supaya anda lebih mudah menemukan perlengkapan dan keperluan rumah tercinta anda. Terima kasih. Salam', 'no', '1787574_6ce74cc7-21f4-469e-9934-35cf500c3c00.jpg'), ('PRD9921120182', 22, 'Spion Motor Rep. RIZOMA CIRCUIT 744 NMAX AEROX XMAX VARIO CBR DLL', 345000, '', 'no', '716621_9d596cd1-7299-482a-9e5e-996081f4f32d_354_472.jpg'), ('PRD9931120186', 12, 'AC midea portable 1pk type baru MPF - 09CRN', 3500000, 'AC Portable\r\n1 PK 900 Watt Kapasitas Pendinginan (Btu/h)9.000\r\nuntuk barang kami set 1kg , brng diantar pke supir toko ongkir jakarat 50rb , tanegrang bekasi 100rb , depok bogor tmbh 150rb , ongkir bsa di bayarkan cash ditempat setelah brng sampai\r\nAuto swing\r\nAuto restart fuction\r\nFashion design\r\nWashable filter\r\nTimer\r\nNo bucket design\r\nsleep mode\r\nSelf-diagnosis and auto-protection function\r\nDimensi:W430xD320xH720\r\nBerat:29 Kg', 'no', '20328187_6d1b390e-89a7-4ca6-bfe1-30b8cc9997b0_500_500.jpg'); -- -------------------------------------------------------- -- -- Table structure for table `promo` -- CREATE TABLE `promo` ( `promo_id` int(11) NOT NULL, `produk_kode` varchar(15) NOT NULL, `promo_diskon` int(11) NOT NULL, `promo_start` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `promo_end` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `promo` -- INSERT INTO `promo` (`promo_id`, `produk_kode`, `promo_diskon`, `promo_start`, `promo_end`) VALUES (5, 'PRD1261120187', 20, '2018-11-20 02:13:15', '2018-11-22 00:00:00'), (6, 'PRD13311201810', 25, '2018-11-13 00:00:00', '2018-11-30 00:00:00'), (7, 'PRD1941120181', 12, '2018-11-05 00:00:00', '2018-11-29 00:00:00'), (8, 'PRD2361120189', 14, '2018-11-21 00:00:00', '2018-11-30 00:00:00'); -- -------------------------------------------------------- -- -- Table structure for table `rekening` -- CREATE TABLE `rekening` ( `rekening_id` int(11) NOT NULL, `rekening_bank` varchar(25) NOT NULL, `rekening_nama` varchar(50) NOT NULL, `rekening_nomor` varchar(25) NOT NULL, `rekening_gambar` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `rekening` -- INSERT INTO `rekening` (`rekening_id`, `rekening_bank`, `rekening_nama`, `rekening_nomor`, `rekening_gambar`) VALUES (2, 'BRI', '<NAME>', '11250368', 'Logo_BRI.png'), (3, 'BCA', '<NAME>', '22263589608', '800px-BNI_logo_svg.png'); -- -------------------------------------------------------- -- -- Table structure for table `slider` -- CREATE TABLE `slider` ( `slider_id` int(11) NOT NULL, `slider_judul` varchar(50) NOT NULL, `slider_ket` text NOT NULL, `slider_gambar` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `slider` -- INSERT INTO `slider` (`slider_id`, `slider_judul`, `slider_ket`, `slider_gambar`) VALUES (10, '', '', 'TB1sCJ0r4YaK1RjSZFnXXa80pXa.jpg'), (11, 'Slide 2', 'Slide 2 Slide 2 Slide 2 Slide 2 Slide 2 Slide 2 ', 'pikpik.jpg'), (12, 'Slide 3', 'Slide 3 Slide 3 Slide 3 Slide 3 Slide 3 Slide 3 ', 'flowers-3441662_1920.jpg'), (13, 'slide 4', 'slide 4 slide 4 slide 4 slide 4 slide 4 slide 4 ', 'girl-751070_1920.jpg'); -- -------------------------------------------------------- -- -- Table structure for table `sub_kategori` -- CREATE TABLE `sub_kategori` ( `sk_id` int(11) NOT NULL, `kategori_id` int(11) NOT NULL, `sk_nama` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `sub_kategori` -- INSERT INTO `sub_kategori` (`sk_id`, `kategori_id`, `sk_nama`) VALUES (7, 10, 'Aksesoris TV'), (8, 10, 'Pendingin & Penyejuk'), (9, 11, 'Hijab'), (10, 11, 'Jaket'), (11, 11, 'Celana'), (12, 11, 'Baju'), (13, 12, 'Aksesoris Motor'), (14, 12, 'Oli'), (15, 13, 'Makanan Ringan'), (16, 13, 'Minuman Kaleng'), (17, 14, 'Kompor'), (18, 14, 'Gelas'); -- -------------------------------------------------------- -- -- Table structure for table `user` -- CREATE TABLE `user` ( `user_id` int(11) NOT NULL, `user_username` varchar(25) NOT NULL, `user_password` varchar(50) NOT NULL, `user_nama` varchar(50) NOT NULL, `user_email` varchar(50) NOT NULL, `user_tel` char(12) NOT NULL, `user_alamat` text NOT NULL, `user_jk` enum('L','P') NOT NULL, `user_role` enum('customer','admin','pemilik') NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `user` -- INSERT INTO `user` (`user_id`, `user_username`, `user_password`, `user_nama`, `user_email`, `user_tel`, `user_alamat`, `user_jk`, `user_role`) VALUES (1, 'admin', '<PASSWORD>', 'admin', '<EMAIL>', '082222333', 'jl.aaa44411', 'L', 'admin'), (4, 'adityads', '202cb962ac59075b964b07152d234b70', 'AdityaDS', '<EMAIL>', '082222333', 'jl.aaa444112', 'L', 'customer'), (5, 'wayan', '202cb962ac59075b964b07152d234b70', 'Wayan', '<EMAIL>', '082222333', 'jl.aaa444', 'P', 'admin'), (6, 'ranama', '202cb962ac59075b964b07152d234b70', 'Ranama', '<EMAIL>', '082280681966', 'jl.aaa444', 'P', 'customer'); -- -- Indexes for dumped tables -- -- -- Indexes for table `kategori` -- ALTER TABLE `kategori` ADD PRIMARY KEY (`kategori_id`); -- -- Indexes for table `keranjang` -- ALTER TABLE `keranjang` ADD PRIMARY KEY (`keranjang_id`), ADD KEY `produk_kode` (`produk_kode`); -- -- Indexes for table `list` -- ALTER TABLE `list` ADD PRIMARY KEY (`list_id`), ADD KEY `sk_id` (`sk_id`); -- -- Indexes for table `pembayaran` -- ALTER TABLE `pembayaran` ADD PRIMARY KEY (`pembayaran_kode`), ADD KEY `pemesanan_kode` (`pemesanan_kode`); -- -- Indexes for table `pemesanan` -- ALTER TABLE `pemesanan` ADD PRIMARY KEY (`pemesanan_kode`), ADD KEY `user_id` (`user_id`); -- -- Indexes for table `pemesanan_detailp` -- ALTER TABLE `pemesanan_detailp` ADD PRIMARY KEY (`pdp_id`), ADD KEY `pemesanan_kode` (`pemesanan_kode`), ADD KEY `produk_kode` (`produk_kode`); -- -- Indexes for table `pemesanan_ship` -- ALTER TABLE `pemesanan_ship` ADD PRIMARY KEY (`ps_id`), ADD KEY `pemesanan_kode` (`pemesanan_kode`); -- -- Indexes for table `produk` -- ALTER TABLE `produk` ADD PRIMARY KEY (`produk_kode`), ADD KEY `list_id` (`list_id`); -- -- Indexes for table `promo` -- ALTER TABLE `promo` ADD PRIMARY KEY (`promo_id`), ADD KEY `produk_kode` (`produk_kode`); -- -- Indexes for table `rekening` -- ALTER TABLE `rekening` ADD PRIMARY KEY (`rekening_id`); -- -- Indexes for table `slider` -- ALTER TABLE `slider` ADD PRIMARY KEY (`slider_id`); -- -- Indexes for table `sub_kategori` -- ALTER TABLE `sub_kategori` ADD PRIMARY KEY (`sk_id`), ADD KEY `kategori_id` (`kategori_id`); -- -- Indexes for table `user` -- ALTER TABLE `user` ADD PRIMARY KEY (`user_id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `kategori` -- ALTER TABLE `kategori` MODIFY `kategori_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15; -- -- AUTO_INCREMENT for table `keranjang` -- ALTER TABLE `keranjang` MODIFY `keranjang_id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `list` -- ALTER TABLE `list` MODIFY `list_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34; -- -- AUTO_INCREMENT for table `pembayaran` -- ALTER TABLE `pembayaran` MODIFY `pembayaran_kode` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `pemesanan_detailp` -- ALTER TABLE `pemesanan_detailp` MODIFY `pdp_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13; -- -- AUTO_INCREMENT for table `pemesanan_ship` -- ALTER TABLE `pemesanan_ship` MODIFY `ps_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `promo` -- ALTER TABLE `promo` MODIFY `promo_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT for table `rekening` -- ALTER TABLE `rekening` MODIFY `rekening_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `slider` -- ALTER TABLE `slider` MODIFY `slider_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14; -- -- AUTO_INCREMENT for table `sub_kategori` -- ALTER TABLE `sub_kategori` MODIFY `sk_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19; -- -- AUTO_INCREMENT for table `user` -- ALTER TABLE `user` MODIFY `user_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- Constraints for dumped tables -- -- -- Constraints for table `keranjang` -- ALTER TABLE `keranjang` ADD CONSTRAINT `keranjang_ibfk_1` FOREIGN KEY (`produk_kode`) REFERENCES `produk` (`produk_kode`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `list` -- ALTER TABLE `list` ADD CONSTRAINT `list_ibfk_1` FOREIGN KEY (`sk_id`) REFERENCES `sub_kategori` (`sk_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `pembayaran` -- ALTER TABLE `pembayaran` ADD CONSTRAINT `pembayaran_ibfk_1` FOREIGN KEY (`pemesanan_kode`) REFERENCES `pemesanan` (`pemesanan_kode`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `pemesanan` -- ALTER TABLE `pemesanan` ADD CONSTRAINT `pemesanan_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `user` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `pemesanan_detailp` -- ALTER TABLE `pemesanan_detailp` ADD CONSTRAINT `pemesanan_detailp_ibfk_1` FOREIGN KEY (`pemesanan_kode`) REFERENCES `pemesanan` (`pemesanan_kode`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `pemesanan_detailp_ibfk_2` FOREIGN KEY (`produk_kode`) REFERENCES `produk` (`produk_kode`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `pemesanan_ship` -- ALTER TABLE `pemesanan_ship` ADD CONSTRAINT `pemesanan_ship_ibfk_1` FOREIGN KEY (`pemesanan_kode`) REFERENCES `pemesanan` (`pemesanan_kode`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `produk` -- ALTER TABLE `produk` ADD CONSTRAINT `produk_ibfk_1` FOREIGN KEY (`list_id`) REFERENCES `list` (`list_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `promo` -- ALTER TABLE `promo` ADD CONSTRAINT `promo_ibfk_1` FOREIGN KEY (`produk_kode`) REFERENCES `produk` (`produk_kode`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `sub_kategori` -- ALTER TABLE `sub_kategori` ADD CONSTRAINT `sub_kategori_ibfk_1` FOREIGN KEY (`kategori_id`) REFERENCES `kategori` (`kategori_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 */;
--liquibase formatted sql --changeset <NAME>:db-init -- Create a keyspace CREATE SCHEMA IF NOT EXISTS cookbook; CREATE SEQUENCE cookbook.user_seq START WITH 1 INCREMENT BY 1 ; -- Create users table CREATE TABLE cookbook.users ( id BIGINT DEFAULT nextval('cookbook.user_seq') PRIMARY KEY, username VARCHAR(12) NOT NULL, email VARCHAR(30) NOT NULL UNIQUE, password_hash VARCHAR NOT NULL UNIQUE, date_created TIMESTAMP DEFAULT CURRENT_TIMESTAMP, is_locked BOOLEAN DEFAULT FALSE, is_disabled BOOLEAN DEFAULT FALSE, is_editor BOOLEAN DEFAULT FALSE, require_password_reset BOOLEAN DEFAULT FALSE ); -- Create admins table CREATE TABLE cookbook.admins ( id BIGINT DEFAULT nextval('cookbook.user_seq') PRIMARY KEY, username VARCHAR(12) NOT NULL UNIQUE, email VARCHAR(30) NOT NULL UNIQUE, password_hash VARCHAR NOT NULL, date_created TIMESTAMP DEFAULT CURRENT_TIMESTAMP, is_locked BOOLEAN DEFAULT FALSE, is_disabled BOOLEAN DEFAULT FALSE, require_password_reset BOOLEAN DEFAULT FALSE ); -- Create login_attempts table CREATE TABLE cookbook.login_attempts ( id BIGINT GENERATED ALWAYS AS IDENTITY(MINVALUE 1 START WITH 1 CACHE 20) PRIMARY KEY, user_id BIGINT UNIQUE, admin_id BIGINT UNIQUE, attempt_counter INT NOT NULL CHECK(attempt_counter BETWEEN 0 AND 10), CONSTRAINT fk_user FOREIGN KEY(user_id) REFERENCES cookbook.users(id) ON DELETE CASCADE, CONSTRAINT fk_admin FOREIGN KEY(admin_id) REFERENCES cookbook.admins(id) ON DELETE CASCADE );