text
stringlengths
6
9.38M
-- MySQL dump 10.13 Distrib 8.0.17, for Win64 (x86_64) -- -- Host: localhost Database: fly_db -- ------------------------------------------------------ -- Server version 8.0.17 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!50503 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `users` -- DROP TABLE IF EXISTS `users`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `users` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `email` varchar(50) DEFAULT NULL, `password` varchar(120) DEFAULT NULL, `username` varchar(20) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `UKr43af9ap4edm43mmtq01oddj6` (`username`), UNIQUE KEY `UK6dotkott2kjsp8vw4d0m25fb7` (`email`) ) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `users` -- LOCK TABLES `users` WRITE; /*!40000 ALTER TABLE `users` DISABLE KEYS */; INSERT INTO `users` VALUES (1,'iambharat@hcl.com','$2a$10$A02Yi0AFDR2U2jIwpIeA6eEgcxi1zGsNx3K5brF7SibcObf8z41yq','bharatpatel'),(2,'erbharat@hcl.com','$2a$10$HBnx95nHeL/6sE0nJpYCgOeZ.Z7oDVw4/Pl/HYHW5h.c0PJn/bb9i','erbharat'),(3,'arun@iiht.com','$2a$10$Q5EWjKJWX5aou3VJJhgiUeOfxXDNpRdduFCztLoUKImAnk8bdD8am','arun'),(4,'admin@iiht.com','$2a$10$MQN9gjTkvr.Gd64duUNtOuYgmDNSwYOnCl9s.FmPBdbakouh2rdSy','admin'),(5,'anand@iiht.com','$2a$10$YtcPCRhNhLuOGec8/mYiIuv3xAbEu8//8/V.typKay5YRGnCMr5fa','anand'),(6,'bharat.patel@hcl.com','$2a$10$Ab3dGk4jrFV8o16k/MP6tOpozR/EuJ.br5eBlXuCnbiesJwqlV7/a','admin1'),(7,'iambharat.p@hcl.com','$2a$10$2deJ281x04gyyWkO9xVYKe7EpA.EZhE9PXaqZWvqSy9jqUj9kyzUu','iam'),(8,'and@hcl.com','$2a$10$xuSlI0bRDkDCOU2cZs5TFO4YoBOtrMOp55JxxjoWol9POUyVd8Qsq','and'),(9,'iamer@iiht.com','$2a$10$AGHikG0f7g5EgRp9z3fqs..ZWUZjv6lfvvyrpBvrLs.pJAjRoLrIi','iamer'),(10,'durgeshpatel@gmail.com','$2a$10$rNyTk9DLH1M8j7AqYglRGe8cKsIBcLgNAD9OF23ucXWkBo5eb0DYW','durgesh'); /*!40000 ALTER TABLE `users` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2021-07-10 21:01:23
drop procedure if exists deleteSentOrExpiredAppRequests# -- delete expired or sent app requests that are at least n months old create procedure deleteSentOrExpiredAppRequests(ageInMonths int) begin declare done int default false; declare deleteDate datetime default date_sub(now(), interval ageInMonths month); declare minAppRequestTargetId, maxAppRequestTargetId int; declare appRequestId int; declare appRequestIdCursor cursor for select id from APP_REQUEST where expiry_dt < deleteDate or sent < deleteDate; declare continue handler for not found set done = 1; open appRequestIdCursor; readAppRequestIdLoop: loop fetch appRequestIdCursor into appRequestId; if done then leave readAppRequestIdLoop; end if; select min(id), max(id) into minAppRequestTargetId, maxAppRequestTargetId from APP_REQUEST_TARGET where app_request_id = appRequestId; while minAppRequestTargetId <= maxAppRequestTargetId do start transaction; delete from APP_REQUEST_TARGET where app_request_id = appRequestId and id <= minAppRequestTargetId + 1000; commit; set minAppRequestTargetId = minAppRequestTargetId + 1000; end while; delete from APP_REQUEST where id = appRequestId; end loop; close appRequestIdCursor; end # drop event if exists evt_deleteAppRequests# create event evt_deleteAppRequests on schedule every 10 day_hour comment 'Delete expired/sent application requests' do call deleteSentOrExpiredAppRequests(2)#
DROP TABLE IF EXISTS `users`; CREATE TABLE `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `screen_name` varchar(255) CHARACTER SET utf8 NOT NULL UNIQUE, `name` varchar(255) CHARACTER SET utf8 DEFAULT NULL, `image` text NOT NULL, `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), INDEX(`screen_name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; DROP TABLE IF EXISTS `tweets`; CREATE TABLE `tweets` ( `id` bigint(11) NOT NULL, `screen_name` varchar(255) CHARACTER SET utf8 DEFAULT NULL, `text` text NOT NULL, `created_at` datetime NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; DROP TABLE IF EXISTS `events`; CREATE TABLE `events` ( `id` varchar(255) CHARACTER SET utf8 DEFAULT NULL, `link` text NOT NULL, `description` text NOT NULL, `title` text NOT NULL, `image` text NOT NULL, `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; DROP TABLE IF EXISTS `user_event`; CREATE TABLE `user_event` ( `user_id` int(11) NOT NULL, `event_id` varchar(255) CHARACTER SET utf8 NOT NULL, `score` float NOT NULL, PRIMARY KEY (`user_id`,`event_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS users ( id INT AUTO_INCREMENT PRIMARY KEY, user VARCHAR(100) NOT NULL, pass VARCHAR(64) NOT NULL, ); CREATE TABLE IF NOT EXISTS permissions ( id INT AUTO_INCREMENT PRIMARY KEY, user_id INT NOT NULL, permission VARCHAR(40) ); CREATE TABLE IF NOT EXISTS roles ( id INT AUTO_INCREMENT PRIMARY KEY, user_id INT NOT NULL, role VARCHAR(40) ); -- Default user is admin:admin INSERT INTO users (id, user, pass) VALUES (NULL, 'admin', '8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918'); SET @last_id = (SELECT LAST_INSERT_ID() FROM users WHERE user = 'admin'); INSERT INTO permissions (id, user_id, permission) VALUES (NULL, @last_id, 'read'); INSERT INTO permissions (id, user_id, permission) VALUES (NULL, @last_id, 'write'); INSERT INTO permissions (id, user_id, permission) VALUES (NULL, @last_id, 'delete'); INSERT INTO roles (id, user_id, role) VALUES (NULL, @last_id, 'admin');
CREATE TABLE `staffrole` ( `staffRoleId` int PRIMARY KEY AUTO_INCREMENT, `staffNum` varchar(255), `staffRoleNo` int, `loginTime` datetime, `staffDelete` varchar(255) ); CREATE TABLE `logbook` ( `logbookId` int PRIMARY KEY AUTO_INCREMENT, `logbookMat` varchar(255), `logbookDesc` text, `logbookAttach` varchar(255), `logbookComment` text, `logDeleteReason` varchar(255), `logbookDelete` varchar(255), `logbookDate` date, `logbookTime` timestamp ); CREATE TABLE `siwespost` ( `siwesPostId` int PRIMARY KEY AUTO_INCREMENT, `siwesOfficer` varchar(255), `siwesMat` varchar(255), `siwesCompName` varchar(255), `siwesCompAdd` text, `siwesCompCountry` varchar(255), `siwesCompState` varchar(255), `siwesCompDate` date, `siwesCompTime` time, `siwesCompLetter` varchar(255), `siwesSupervisor` varchar(255), `siwesSupervisorNo` varchar(255), `siwesSupervisorSkype` varchar(255), `siwesStudentSkype` varchar(255) ); CREATE TABLE `reglist` ( `matno` int, `fname` varchar(255), `sname` varchar(255), `mname` varchar(255), `sex` varchar(255), `college` varchar(255), `dept` varchar(255), `program` varchar(255), `yog` int, `level` varchar(255), `studentshipStatus` varchar(255) ); CREATE TABLE `countries` ( `countryid` int PRIMARY KEY AUTO_INCREMENT, `countryname` varchar(255) ); CREATE TABLE `states` ( `stateid` int PRIMARY KEY AUTO_INCREMENT, `statename` varchar(255) ); CREATE TABLE `roles` ( `roleId` int PRIMARY KEY AUTO_INCREMENT, `roleName` varchar(255) ); CREATE TABLE `stafflist` ( `staffId` int PRIMARY KEY AUTO_INCREMENT, `fname` varchar(255), `sname` varchar(255), `mname` varchar(255), `sex` varchar(255), `college` varchar(255), `dept` varchar(255), `program` varchar(255) ); ALTER TABLE `reglist` ADD FOREIGN KEY (`matno`) REFERENCES `siwespost` (`siwesMat`); ALTER TABLE `reglist` ADD FOREIGN KEY (`matno`) REFERENCES `logbook` (`logbookMat`); ALTER TABLE `reglist` ADD FOREIGN KEY (`matno`) REFERENCES `staffrole` (`staffNum`);
CREATE SCHEMA IF NOT EXISTS `Lab-MySQL` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ; USE `Lab-MySQL` ; -- ----------------------------------------------------- -- Table `Lab-MySQL`.`Cars` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `Lab-MySQL`.`Cars` ( `idCars` INT NOT NULL AUTO_INCREMENT, `VIN` VARCHAR(50) NOT NULL, `Manufacturer` VARCHAR(50) NULL, `Model` VARCHAR(100) NULL, `Year` YEAR NULL, `Color` VARCHAR(45) NULL, `Carscol` VARCHAR(45) NULL, PRIMARY KEY (`idCars`, `VIN`)) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `Lab-MySQL`.`Customers` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `Lab-MySQL`.`Customers` ( `idCustomers` INT NOT NULL AUTO_INCREMENT, `Name` VARCHAR(50) NOT NULL, `Phone` INT NULL, `Email` VARCHAR(100) NULL, `Adress` VARCHAR(200) NULL, `Postal Code` INT NULL, PRIMARY KEY (`idCustomers`)) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `Lab-MySQL`.`Salesperson` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `Lab-MySQL`.`Salesperson` ( `idSalesperson` INT NOT NULL AUTO_INCREMENT, `Name` VARCHAR(50) NULL, `Store` VARCHAR(100) NULL, PRIMARY KEY (`idSalesperson`)) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `Lab-MySQL`.`Invoices` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `Lab-MySQL`.`Invoices` ( `idInvoices` INT NOT NULL AUTO_INCREMENT, `Number` BIGINT(20) NOT NULL, `Date` DATETIME NULL, `Car_ID` INT NULL, `Customer_ID` INT NULL, `Salesperson_ID` INT NULL, PRIMARY KEY (`idInvoices`, `Number`), INDEX `cars_idx` (`Car_ID` ASC), INDEX `customers_idx` (`Customer_ID` ASC), INDEX `sales_idx` (`Salesperson_ID` ASC), CONSTRAINT `cars` FOREIGN KEY (`Car_ID`) REFERENCES `Lab-MySQL`.`Cars` (`idCars`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `customers` FOREIGN KEY (`Customer_ID`) REFERENCES `Lab-MySQL`.`Customers` (`idCustomers`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `sales` FOREIGN KEY (`Salesperson_ID`) REFERENCES `Lab-MySQL`.`Salesperson` (`idSalesperson`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB;
/** Employees and Costumers that are named the same **/ SELECT FIRSTNAME FROM CUSTOMER INTERSECT SELECT FIRSTNAME FROM EMPLOYEE; /** Unique names between customer and employee **/ SELECT FIRSTNAME, 'CUSTOMER' FROM CUSTOMER UNION SELECT FIRSTNAME, 'EMPLOYEE' FROM EMPLOYEE; /** Unique names between customer and employee (AND WHEN THEY REPEAT: Steve, Robert) **/ SELECT FIRSTNAME, 'CUSTOMER' FROM CUSTOMER UNION ALL SELECT FIRSTNAME, 'EMPLOYEE' FROM EMPLOYEE ORDER BY FIRSTNAME; /** Employee Names that Customer don't have **/ SELECT FIRSTNAME FROM EMPLOYEE MINUS SELECT FIRSTNAME FROM CUSTOMER ORDER BY FIRSTNAME;
--Checklist 24 Os medicos que trabalham em cada clinica select * from medico, clinica where nomeclinica = nome_clinica
#Daniel Barragán #https://github.com/beduExpert/A1-Introduccion-a-Bases-de-Datos-Santander/blob/main/Sesion-02/Reto-01/Readme.md USE tienda; SHOW tables; #¿Qué artículos incluyen la palabra Pasta en su nombre? SELECT * FROM articulo WHERE nombre LIKE '%pasta%'; #¿Qué artículos incluyen la palabra Cannelloni en su nombre? SELECT * FROM articulo WHERE nombre LIKE '%cannelloni%'; #¿Qué nombres están separados por un guión (-) por ejemplo Puree - Kiwi? SELECT * FROM articulo WHERE nombre LIKE '%-%'; #¿Qué puestos incluyen la palabra Designer? SELECT * FROM puesto WHERE nombre LIKE '%Designer%'; #¿Qué puestos incluyen la palabra Developer? SELECT * FROM puesto WHERE nombre LIKE '%Developer%';
-- Use JSON_VALUE to access json data SELECT StockItemName FROM (SELECT StockItemName, JSON_VALUE(CustomFields, '$.CountryOfManufacture') AS Country FROM WideWorldImporters.Warehouse.StockItems) AS Temp WHERE Country = 'China';
select * from tacomacabsbeds
drop table if exists t_schedule_task; CREATE TABLE t_schedule_task ( task_id bigint unsigned NOT NULL AUTO_INCREMENT, task_name varchar(30) COMMENT '调度任务名称', task_mode char(2) COMMENT '调度定时方式 01-cronTask 02-fixedRateTask 03-fixedDelayTask 04-triggerTask', url varchar(60) COMMENT '调度任务URL', method varchar(10) COMMENT '调用方式 get post', param varchar(200) COMMENT '参数(Json字符串)', content_type char(2) COMMENT'01-application/json 02-application/x-www-form-urlencoded', cron varchar(20) COMMENT 'cron表达式', initial_delay varchar(20) COMMENT '初始延迟', fixed_delay varchar(20) COMMENT '固定延迟', fixed_rate varchar(20) COMMENT '固定频率', is_imd_exe char(1) COMMENT '是否立即执行 Y-是, N-否', last_execute_begin datetime COMMENT '上次调度开始时间', last_execute_end datetime COMMENT '上次调度结束时间', next_execute_time datetime COMMENT '下次调度开始时间', status char(1) COMMENT '调度状态 0-移除(暂停) 1-正常', proc_state char(2) COMMENT '调度执行状态 00-执行完成(等待执行) 01-执行中', create_uid varchar(30) COMMENT '录入人', create_time timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '录入时间', last_modify_uid varchar(30) COMMENT '最后修改人', last_modify_time timestamp NOT NULL ON UPDATE CURRENT_TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT '最后修改时间', PRIMARY KEY (task_id)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='调度任务表';
SELECT 'ФИО: Безруких Игорь'; -- оконные функции : убрал пользователей у который 1 оценка, при расчёте получается деление на ноль. SELECT userId, movieId, MIN(rating) OVER (PARTITION BY userId) min_rating, MAX(rating) OVER (PARTITION BY userId) max_rating, (MAX(rating) OVER (PARTITION BY userId) - MIN(rating) OVER (PARTITION BY userId)) diff_rating, (rating - MIN(rating) OVER (PARTITION BY userId))/(MAX(rating) OVER (PARTITION BY userId) - MIN(rating) OVER (PARTITION BY userId)) normed_rating, AVG(rating) OVER (PARTITION BY userId) avg_rating FROM (SELECT DISTINCT userId, rating, movieId FROM ratings WHERE userId <>0 and userId in (select userID from ratings group by userid having count(rating)>1)) as sample ORDER BY userId, rating DESC LIMIT 30; -- команды создания таблицы psql --host $APP_POSTGRES_HOST -U postgres -c "CREATE TABLE keywords (id integer, tags text)" -- команда заполнения таблицы psql --host $APP_POSTGRES_HOST -U postgres -c "\\copy keywords FROM '/data/keywords.csv' DELIMITER ',' CSV HEADER" -- запрос 3.1 ЗАПРОС1 select movieId, avg(rating) from ratings where movieid in (select movieid from ratings group by movieid having count(rating)>50) group by movieid order by avg(rating) desc, movieid asc limit 150; -- запрос 3.2 ЗАПРОС2 WITH top_rated as (select movieId, avg(rating) as avg_rating from ratings where movieid in (select movieid from ratings group by movieid having count(rating)>50) group by movieid order by avg(rating) desc, movieid asc limit 150 ) select tr.movieId, tr.avg_rating, k.tags from top_rated tr join keywords k on k.id=tr.movieId limit 10; -- запрос 3.3 ЗАПРОС3 WITH top_rated as (select movieId, avg(rating) as avg_rating from ratings where movieid in (select movieid from ratings group by movieid having count(rating)>50) group by movieid order by avg(rating) desc, movieid asc limit 150 ) select tr.movieId, tr.avg_rating, k.tags INTO top_rated_tags from top_rated tr join keywords k on k.id=tr.movieId limit 10; -- команда выгрузки таблицы в файл \copy (select * from top_rated_tags) to '\data\top_rated_tags' with CSV header delimiter as E'\t';
-- ---------------------------------------------------------------------------- -- MySQL Workbench Migration -- Migrated Schemata: students -- Source Schemata: students -- Created: Mon Mar 5 01:57:16 2018 -- Workbench Version: 6.3.10 -- ---------------------------------------------------------------------------- SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------------------------------------------------------- -- Schema students -- ---------------------------------------------------------------------------- DROP SCHEMA IF EXISTS `students` ; CREATE SCHEMA IF NOT EXISTS `students` ; -- ---------------------------------------------------------------------------- -- Table students.student_answers -- ---------------------------------------------------------------------------- CREATE TABLE IF NOT EXISTS `students`.`student_answers` ( `Id` INT NOT NULL AUTO_INCREMENT, `ans` VARCHAR(256) NULL, PRIMARY KEY (`Id`)); -- ---------------------------------------------------------------------------- -- Table students.Table -- ---------------------------------------------------------------------------- CREATE TABLE IF NOT EXISTS `students`.`Table` ( `Id` INT NOT NULL, PRIMARY KEY (`Id`)); -- ---------------------------------------------------------------------------- -- Table students.soal_tes -- ---------------------------------------------------------------------------- CREATE TABLE IF NOT EXISTS `students`.`soal_tes` ( `Id` INT NOT NULL AUTO_INCREMENT, `ep_id` INT NULL, `question` VARCHAR(300) NULL, `ans1` VARCHAR(256) NULL, `ans2` VARCHAR(256) NULL, `ans3` VARCHAR(256) NULL, `rightans` VARCHAR(256) NULL, PRIMARY KEY (`Id`), CONSTRAINT `FK_soal_tes_ToEP` FOREIGN KEY (`ep_id`) REFERENCES `students`.`exam_packets` (`ep_id`) ON DELETE NO ACTION ON UPDATE NO ACTION); -- ---------------------------------------------------------------------------- -- Table students.students -- ---------------------------------------------------------------------------- CREATE TABLE IF NOT EXISTS `students`.`students` ( `Id` INT NOT NULL AUTO_INCREMENT, `name` VARCHAR(256) NULL, `department` VARCHAR(256) NULL, `faculty` VARCHAR(256) NULL, PRIMARY KEY (`Id`)); -- ---------------------------------------------------------------------------- -- Table students.admins -- ---------------------------------------------------------------------------- CREATE TABLE IF NOT EXISTS `students`.`admins` ( `admin_id` INT NOT NULL AUTO_INCREMENT, `name` VARCHAR(256) NULL, `username` VARCHAR(20) NULL, `password` VARCHAR(50) NULL, `last_login` DATETIME(6) NULL, `is_on` TINYINT(1) NULL, PRIMARY KEY (`admin_id`)); -- ---------------------------------------------------------------------------- -- Table students.subjects -- ---------------------------------------------------------------------------- CREATE TABLE IF NOT EXISTS `students`.`subjects` ( `subjects_id` INT NOT NULL, `name` VARCHAR(100) NULL, `description` VARCHAR(256) NULL, PRIMARY KEY (`subjects_id`)); -- ---------------------------------------------------------------------------- -- Table students.exam_packets -- ---------------------------------------------------------------------------- CREATE TABLE IF NOT EXISTS `students`.`exam_packets` ( `ep_id` INT NOT NULL AUTO_INCREMENT, `subjects_id` INT NULL, `name` VARCHAR(100) NULL, `description` VARCHAR(256) NULL, PRIMARY KEY (`ep_id`)); -- ---------------------------------------------------------------------------- -- Table students.exam_info -- ---------------------------------------------------------------------------- CREATE TABLE IF NOT EXISTS `students`.`exam_info` ( `ep_id` INT NOT NULL, `start_date` DATE NULL, `start_time` TIME(6) NULL, `end_date` DATE NULL, `end_time` TIME(6) NULL, `duration` INT NULL); -- ---------------------------------------------------------------------------- -- Table students.exam_packets_info -- ---------------------------------------------------------------------------- CREATE TABLE IF NOT EXISTS `students`.`exam_packets_info` ( `ep_id` INT NOT NULL, `start_date` DATE NULL, `start_time` TIME(6) NULL, `end_date` DATE NULL, `end_time` TIME(6) NULL, `duration` INT NULL); SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO ini_master (yakkyoku_code, program, section, keycode, data, biko, start_use_date, end_use_date) VALUES ('0000001', 'Bf_Get_Picking', '受信', 'TYPE', '0', '0.ファイル受信 1.AWS連携', 0, 99999999) / INSERT INTO ini_master (yakkyoku_code, program, section, keycode, data, biko, start_use_date, end_use_date) VALUES ('0000001', 'Bf_Get_Picking', '受信', 'PATH', 'D:\MEDZ2\BF_NSIPS\', 'NSIPS保存フォルダPATH。INDEX,DATAフォルダは含まない', 0, 99999999) / INSERT INTO ini_master (yakkyoku_code, program, section, keycode, data, biko, start_use_date, end_use_date) VALUES ('0000001', 'Bf_Get_Picking', '受信', '間隔', '5000', 'ファイル確認間隔(単位:ミリ秒)', 0, 99999999) / INSERT INTO ini_master (yakkyoku_code, program, section, keycode, data, biko, start_use_date, end_use_date) VALUES ('0000001', 'Bf_Get_Picking', '受信ファイル', 'BKPATH', 'D:\MEDZ2\BF_NSIPS\DATA_RecvHistory\', '受信ファイルのバックアップパス', 0, 99999999) / INSERT INTO ini_master (yakkyoku_code, program, section, keycode, data, biko, start_use_date, end_use_date) VALUES ('0000001', 'Bf_Get_Picking', '受信ファイル', 'BK期間', '2', 'バックアップ期間(単位:月)', 0, 99999999) / INSERT INTO ini_master (yakkyoku_code, program, section, keycode, data, biko, start_use_date, end_use_date) VALUES ('0000001', 'Bf_Get_Picking', '受信スキップ保存', 'PATH', 'D:\MEDZ2\BF_NSIPS\DATA_Skip\', '受信Skip保存パス(処理中断時には移動しません)', 0, 99999999) / INSERT INTO ini_master (yakkyoku_code, program, section, keycode, data, biko, start_use_date, end_use_date) VALUES ('0000001', 'Bf_Get_Picking', 'PDSZERO', '送信', '1', 'PDSZEROデータ送信区分0.送信なし 1.送信する(デフォルト)', 0, 99999999) /
-- phpMyAdmin SQL Dump -- version 4.1.6 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Jul 18, 2014 at 02:36 PM -- Server version: 5.6.16 -- PHP Version: 5.5.9 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `regsystem` -- -- -------------------------------------------------------- -- -- Table structure for table `groups` -- CREATE TABLE IF NOT EXISTS `groups` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(20) NOT NULL, `permissions` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Dumping data for table `groups` -- INSERT INTO `groups` (`id`, `name`, `permissions`) VALUES (1, 'Standard user', ''), (2, 'Administrator', '{"admin": 1}'); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE IF NOT EXISTS `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(20) NOT NULL, `password` varchar(64) NOT NULL, `salt` varchar(32) NOT NULL, `name` varchar(50) NOT NULL, `joined` datetime NOT NULL, `group` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=13 ; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `username`, `password`, `salt`, `name`, `joined`, `group`) VALUES (4, 'triibu', 'd54c47e3180c7346ac5e51041c2324be62c356fdaec6fcdcdf4cb4858d710414', '€k‹NcÝê\Z}иˆ¥ƒKØG6¹‡K…ñÂXߺ<‰', 'Triibu Faty Cat', '2014-07-14 23:29:37', 2), (6, 'epani', 'd438382adfaa479d341a234edcc9e538421fcef1ebb4d64705f78373ad812523', '²Ü;—âŒ& ð™ðð{°Ã¾æy³²I`h¶%)å›', 'Evelin Pani', '2014-07-14 23:48:38', 2), (7, 'manin', '44dbfaf8a4555af097f52b7cb8c11965069dce389cf4faa7bc234207e72e9364', '¦/+#õiuŠ­jó¹@¨:´S”ÓŽ;,F7ŠKJŽo', 'Manin Meller', '2014-07-15 10:36:17', 2), (8, 'miranda', 'b5ba0981374e28c756461e517b02e03d1e2d48b10cc3b7b49cdecd58717789e8', 'á­ÖÜ–dšÐ…§ùê5Ê•ÿÞ¦šŠgk¡jÆÛ¡©E<', 'MIranda Meller', '2014-07-15 22:21:57', 1), (9, 'melymel', 'newPassword', ' zmÌåäøFÿùñ^Yñ–C«‹¡ä&҇ϕ¯kÜ', 'Mirian Mel', '2014-07-15 22:23:32', 1), (10, 'gfuret', '45efa044078c6fbacc4d71286cbc16578240a662a1843da6d8f4072f79140da3', '…ë#‚*¾\\R˜Û‘´G7¤•#o«s3{® ÿ', 'Gabriel Furet', '2014-07-18 10:08:33', 1), (11, 'sucubus', '942205ec3e6b699481696134bd697656ac9d42798f0059716efc23819ec7a1e3', '(\nãýe™±(ðLö$CY —lÓlÝŸÐïœ\r&®&(x', 'Sucubus Under', '2014-07-18 10:32:30', 1), (12, 'incubus', 'aaa50588a80e6d6ec7a9a18a204970377f81a60280380259cfa6bfe4473f400d', 'yƆZ! €?”sL12… @šbõçÀ/ŽœÚx', 'Incubus Up', '2014-07-18 10:33:27', 1); -- -------------------------------------------------------- -- -- Table structure for table `users_session` -- CREATE TABLE IF NOT EXISTS `users_session` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `hash` varchar(64) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; /*!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 SELECT matchid, player FROM goal WHERE teamid = 'GER'; -- 2 SELECT id,stadium,team1,team2 FROM game WHERE id = 1012; -- 3 SELECT player, teamid, stadium, mdate FROM game JOIN goal ON (id=matchid) WHERE teamid = 'GER'; -- 4 SELECT team1,team2, player FROM game JOIN goal ON (id=matchid) WHERE player LIKE 'Mario%'; -- 5 SELECT player, teamid, coach, gtime FROM goal JOIN eteam ON (teamid=id) WHERE gtime<=10; -- 6 SELECT mdate, teamname FROM game JOIN eteam ON (team1=eteam.id) WHERE coach = 'Fernando Santos'; -- 7 SELECT player FROM game JOIN goal ON (id=matchid) WHERE stadium = 'National Stadium, Warsaw'; -- 8 SELECT DISTINCT player FROM game JOIN goal ON matchid = id WHERE (team1='GER' OR team2='GER') AND teamid != 'GER' -- 9 SELECT teamname, COUNT(player) FROM eteam JOIN goal ON id=teamid GROUP BY teamname; -- 10 SELECT stadium, COUNT(player) FROM game JOIN goal ON id=matchid GROUP BY stadium; -- 11 SELECT matchid, mdate, COUNT(teamid) FROM game JOIN goal ON matchid = id WHERE (team1 = 'POL' OR team2 = 'POL') GROUP BY matchid, mdate -- 12 SELECT matchid, mdate, COUNT(teamid) FROM game JOIN goal ON matchid = id WHERE(team1 = 'GER' OR team2 = 'GER') AND teamid = 'GER' GROUP BY matchid, mdate; -- 13 SELECT mdate, team1, SUM(CASE WHEN teamid=team1 THEN 1 ELSE 0 END) as score1, team2, SUM(CASE WHEN teamid=team2 THEN 1 ELSE 0 END)as score2 FROM game LEFT JOIN goal ON matchid = id GROUP BY team1,mdate,team2,matchid ORDER BY mdate, matchid, team1, team2;
CREATE TABLE Time ( day DATE, time TIME ); CREATE FUNCTION daysSince (d DATE) RETURNS INTEGER DETERMINISTIC RETURN DATEDIFF(CURDATE(), d); CREATE FUNCTION hoursSince (t TIME) RETURNS INTEGER DETERMINISTIC RETURN HOUR(TIMEDIFF(CURTIME(), t)); CREATE FUNCTION secsSince (t TIME) RETURNS INTEGER DETERMINISTIC RETURN TIME_TO_SEC(TIMEDIFF(CURTIME(), t)); CREATE VIEW TimeSince AS SELECT *, daysSince(day), hoursSince(time), secsSince(time) FROM Time;
CREATE TABLE poems (poem_id SERIAL PRIMARY KEY, content TEXT, title VARCHAR(250) NOT NULL, creation_date TIMESTAMP DEFAULT now());
SELECT * FROM KNOWLEDGE_USERS ORDER BY INSERT_DATETIME %s;
SELECT LOWER(TRIM(product_name)) product_name, DATE_FORMAT(sale_date, "%Y-%m") sale_date, count(sale_id) total FROM sales GROUP BY 1, 2 ORDER BY 1, 2 ////// select lower(trim(product_name)) product_name, date_format(sale_date, "%Y-%m") sale_date, count(*) total from sales group by 1, 2 order by 1, 2
/* Exercise 3 - Play with OpenStreetMap */ /* Visually inspect and evaluate planet* tables through pgAdmin III */ --Have a closer look at planet_osm_point table: SELECT * FROM planet_osm_point LIMIT 100; --Can we find Dev8D conference venue? :) SELECT name, ST_AsText(way), ST_AsgeoJSON(way), * FROM planet_osm_point WHERE name ILIKE '%university%' AND name ILIKE '%union%'; -- Check out available tags by using skeys() function (part of hstore extension) SELECT DISTINCT skeys(tags)::varchar(200) AS tag FROM planet_osm_point ORDER BY tag; -- There are loads of differnet tags but we are interested in OSM amenities, let's query available types: SELECT DISTINCT amenity FROM planet_osm_point ORDER BY amenity; --Look at OSM points through QGIS and try to overly boundary dataset --Ha! OSM and boundaries don't sit on each other but why?? --Must be using different coordinate system but which? Use ST_SRID() to find out! --ST_SRID(geom) - Returns the spatial reference identifier for the ST_Geometry as defined in spatial_ref_sys table http://www.postgis.org/docs/ST_SRID.html SELECT DISTINCT ST_SRID(way) FROM planet_osm_point; --SRID/SRS=900913 stands for Google projection --We need to apply coordinate transformation to align boundaries with OSM --For this use function ST_Transform() http://www.postgis.org/docs/ST_Transform.html --ST_Transform(geom, srid) - Returns a new geometry with its coordinates transformed to the SRID referenced by the integer parameter ALTER TABLE london DROP COLUMN IF EXISTS geom900913; --clean up SELECT AddGeometryColumn('public','london','geom900913',900913,'POLYGON',2); --register new geometry column UPDATE london SET geom900913 = ST_Transform(geom,900913); --reproject boundaries --Go and view data in QGIS now!
CREATE DATABASE db_tebatsai;
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; CREATE TABLE `cadastro` ( `id` int(11) NOT NULL, `nome` varchar(100) NOT NULL, `cpf` varchar(11) NOT NULL, `idade` int(3) NOT NULL, `created_at` datetime NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=ucs2; ALTER TABLE `cadastro` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `cpf` (`cpf`); ALTER TABLE `cadastro` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=0; COMMIT;
/* Navicat Premium Data Transfer Source Server : 183.91.11.56-pgr Source Server Type : PostgreSQL Source Server Version : 110001 Source Host : 183.91.11.56:5432 Source Catalog : vnp_gateway Source Schema : prod Target Server Type : PostgreSQL Target Server Version : 110001 File Encoding : 65001 Date: 03/12/2019 08:43:32 */ -- ---------------------------- -- Table structure for memories -- ---------------------------- DROP TABLE IF EXISTS "prod"."memories"; CREATE TABLE "prod"."memories" ( "id" uuid NOT NULL DEFAULT uuid_generate_v1(), "memory_at" varchar(32) COLLATE "pg_catalog"."default", "object" varchar(100) COLLATE "pg_catalog"."default", "operation" varchar(30) COLLATE "pg_catalog"."default", "created_at" varchar(32) COLLATE "pg_catalog"."default", "memory_end_at" varchar(32) COLLATE "pg_catalog"."default" ) ; COMMENT ON COLUMN "prod"."memories"."memory_at" IS 'Time get data last'; COMMENT ON COLUMN "prod"."memories"."object" IS 'Object in SF'; COMMENT ON COLUMN "prod"."memories"."operation" IS 'Insert, Update, Delete ...'; COMMENT ON COLUMN "prod"."memories"."created_at" IS 'Time now'; COMMENT ON COLUMN "prod"."memories"."memory_end_at" IS 'Time get data first'; -- ---------------------------- -- Primary Key structure for table memories -- ---------------------------- ALTER TABLE "prod"."memories" ADD CONSTRAINT "memories_pkey" PRIMARY KEY ("id");
INSERT INTO Country ( id, version, code, name) VALUES (1, 0, '643','Российская Федерация'); INSERT INTO Country ( id, version, code, name) VALUES (2, 0, '112','Республика Беларусь'); INSERT INTO Document_type (id, version, doc_type_code, doc_type_name) VALUES (1, 0, '21','Паспорт гражданина РФ'); INSERT INTO Document_type (id, version, doc_type_code, doc_type_name) VALUES (2, 0, '03','Свидетельство о рождении'); INSERT INTO Document (id, version, doc_type_id, doc_number, doc_date) VALUES (1, 0, 1, '4562126712', '2013-03-12'); INSERT INTO Document (id, version, doc_type_id, doc_number, doc_date) VALUES (2, 0, 1, '4789678133', '2015-09-25'); INSERT INTO Organization (id, version, name, full_name,inn, kpp, address, phone, is_active) VALUES (1, 0, 'Рога и Копыта', 'ООО Рога и Копыта и товарищи','123456789012','123456789','г.Мшанск, ул. Ленина, д.2, строение 7', '89177523456', TRUE); INSERT INTO Organization (id, version, name, full_name, inn, kpp, address, is_active) VALUES (2, 0, 'Рога и Копыта', 'ООО Салют', '123456789012', '123456789', 'г.Большая Поляна, ул. Батырская, д.1', TRUE); INSERT INTO Office (id, version, org_id, name, address, phone, is_active) VALUES (1, 0, 1, 'Офис 1', 'г.Мшанск, ул. Ленина, д.2, строение 7, к.2', '89177523456', TRUE ); INSERT INTO Office (id, version, org_id, name, address, is_active) VALUES (2, 0, 2, 'Офис 2', 'г.Большая Поляна, ул. Батырская, д.1, к.2', TRUE ); INSERT INTO User (id, version, office_id, doc_id, country_id, first_name, last_name, middle_name, phone, position, is_identified) VALUES (1, 0, 1, 1, 1, 'Владимир','Железняк','Сергеевич','89177523111','менеджер',TRUE ); INSERT INTO User (id, version, office_id, doc_id, country_id, first_name, last_name, middle_name, phone, position, is_identified) VALUES (2, 0, 2, 2, 1, 'Николай','Медведков','Алексеевич','89177523111','секретарь',TRUE );
/*数据字典值*/
/* Create Tables */ CREATE TABLE "ADM_TPROT" ( "PROT_PROT" NUMBER(38) NOT NULL, -- ID DE LA TABLA "PROT_NOMB" VARCHAR2(1) NULL, -- NOMBRE DEL MÉTODO DE PROTECCIÓN "PROT_CREA" NUMBER(38) NULL, -- ID DEL CREADOR DEL REGISTRO "PROT_UPDA" NUMBER(38) NULL, -- ID DEL USUARIO ACTUALIZADOR DEL REGISTRO "PROT_ESTA" VARCHAR2(1) NULL -- ESTADO DEL MÉTODO DE RECUPERACIÓN ) ; / /* Create Primary Keys, Indexes, Uniques, Checks, Triggers */ ALTER TABLE "ADM_TPROT" ADD CONSTRAINT "PK_ADM_TPROT" PRIMARY KEY ("PROT_PROT") USING INDEX ;
--DROP DATABASE IF EXISTS pethospitalinvoice; --CREATE DATABASE pethospitalinvoice; BEGIN TRANSACTION; CREATE TABLE hospital ( hospital_id serial, name varchar(100) NOT NULL, taxrate real NOT NULL, CONSTRAINT pk_hospital PRIMARY KEY(hospital_id) ); CREATE TABLE pet ( pet_id serial, name varchar(64) NOT NULL, owner_id int NOT NULL, CONSTRAINT pk_pet PRIMARY KEY(pet_id) ); CREATE TABLE owner ( owner_id serial, first_name varchar(64) NOT NULL, last_name varchar(64) NOT NULL, address1 varchar(100) NOT NULL, address2 varchar(100) NOT NULL, prefix varchar(11) NULL, CONSTRAINT pk_owner PRIMARY KEY(owner_id) ); ALTER TABLE pet ADD CONSTRAINT fk_pet_ownerid_ref_owner_ownerid FOREIGN KEY(owner_id) REFERENCES owner(owner_id); CREATE TABLE procedure ( procedure_id serial, name varchar(100) NOT NULL, cost money NOT NULL, is_paid boolean NOT NULL, CONSTRAINT pk_procedureid PRIMARY KEY(procedure_id) ); CREATE TABLE pet_procedure ( pet_id int NOT NULL, visit_date date NOT NULL, procedure_id int NOT NULL, hospital_id int NOT NULL, CONSTRAINT pk_pet_procedure_composite PRIMARY KEY(pet_id, visit_date, procedure_id), CONSTRAINT fk_pet_procedure_petid_ref_pet_petid FOREIGN KEY(pet_id) REFERENCES pet(pet_id), CONSTRAINT fk_pet_procedure_procedureid_ref_procedure_procedureid FOREIGN KEY(procedure_id) REFERENCES procedure(procedure_id), CONSTRAINT fk_pet_procedure_hospitalid_ref_hospital_hospitalid FOREIGN KEY(hospital_id) REFERENCES hospital(hospital_id) ); CREATE TABLE invoice ( invoice_id serial, invoice_date date NOT NULL, owner_id int NOT NULL, CONSTRAINT pk_invoice_id PRIMARY KEY(invoice_id), CONSTRAINT fk_invoice_ownerid_ref_owner_owner_id FOREIGN KEY(owner_id) REFERENCES owner(owner_id) ); COMMIT;
-- ============================================= -- Author: Javier -- Create date: September 2011 -- Description: <Description,,> -- ============================================= CREATE PROCEDURE spDBManualInvoiceTruncate AS BEGIN SET NOCOUNT ON; TRUNCATE TABLE [Import.ManualInvoice] END
/** * Games that friends have (user_id = 5) */ SELECT game.title, users.name FROM (((( SELECT F1.user1 FROM friendship F1 WHERE F1.user2 = 5 UNION SELECT F2.user2 FROM friendship F2 WHERE F2.user1 = 5) INNER JOIN ownership on (ownership.user_id = user1)) INNER JOIN users on (user1 = users.id)) INNER JOIN game on (game_id = game.id)) ORDER BY game.id DESC;
DROP TABLE IF EXISTS `@target_database@`.`skipped_dates`; DROP TABLE IF EXISTS `timetracker_migration_temp`.`confirmed_dates`; -- CREATE TABLE "confirmed_dates" ------------------------------ CREATE TABLE `timetracker_migration_temp`.`confirmed_dates` ( `id` Int( 11 ) AUTO_INCREMENT NOT NULL, `created` Timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `date` Date NOT NULL, `did` Int( 11 ) NULL, `area` Enum( 'admin', 'developer' ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `day_status_id` Int( 11 ) NULL, `pings` Int( 11 ) NOT NULL, PRIMARY KEY ( `id` ) ) CHARACTER SET = latin1 COLLATE = latin1_swedish_ci ENGINE = InnoDB; -- ------------------------------------------------------------- -- CREATE INDEX "date" ----------------------------------------- CREATE INDEX `date` USING BTREE ON `timetracker_migration_temp`.`confirmed_dates`( `date` ); -- ------------------------------------------------------------- -- CREATE INDEX "day_status_id" -------------------------------- CREATE INDEX `day_status_id` USING BTREE ON `timetracker_migration_temp`.`confirmed_dates`( `day_status_id` ); -- ------------------------------------------------------------- -- CREATE INDEX "did" ------------------------------------------ CREATE INDEX `did` USING BTREE ON `timetracker_migration_temp`.`confirmed_dates`( `did` ); INSERT INTO `timetracker_migration_temp`.`confirmed_dates` ( `id`, `created`, `date`, `did`, `area`, `day_status_id`, `pings` ) (SELECT * FROM ( SELECT `id`, `created`, `date`, `did`, `area`, `day_status_id`, `pings` FROM `@source_database@`.`confirmed_dates` WHERE `@source_database@`.`confirmed_dates`.`did` IS NULL ) AS x); -- ------------------------------------------------------------- -- CREATE TABLE "skipped_dates" -------------------------------- CREATE TABLE `@target_database@`.`skipped_dates` ( `id` Char( 36 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `created_at` DateTime NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` DateTime NULL DEFAULT CURRENT_TIMESTAMP, `date` Date NULL, `skipped_by` Char( 36 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL, PRIMARY KEY ( `id` ) ) CHARACTER SET = utf8 COLLATE = utf8_general_ci ENGINE = InnoDB; -- --------------------- INSERT INTO `@target_database@`.`skipped_dates` ( `id`, `date`, `skipped_by`) (SELECT * FROM ( SELECT UUID() `id`, `date`, '1' `skipped_by` FROM `timetracker_migration_temp`.`confirmed_dates` WHERE 1 ) AS x);
--资源跟终端的中间表-- CREATE TABLE resource_terminal( rId BIGINT(11), tId BIGINT(11) );
SELECT --TOP 3 c.content_id AS c__id -- ,ce.content_id AS ce_id ,c.content_status AS c__status ,ce.content_status AS ce_status ,c.content_title AS c__title -- ,ce.content_title AS ce_title ,cf.FolderPath ,cf.FolderIdPath ,c.last_edit_lname + ', ' + c.last_edit_fname AS editor ,ce.last_edit_lname + ', ' + ce.last_edit_fname AS editor_ce ,c.last_edit_date ,ce.last_edit_date ,c.last_edit_date - ce.last_edit_date AS edit_diff ,c.content_type ,c.content_subtype --,* FROM content AS c LEFT JOIN content_edit AS ce ON c.content_id = ce.content_id LEFT JOIN content_folder_tbl AS cf ON c.folder_id = cf.folder_id WHERE c.content_status != ce.content_status --AND ce.content_id IS NULL --AND c.content_id IN () --AND cf.FolderPath NOT LIKE '%%' --AND ce.last_edit_lname + ', ' + ce.last_edit_fname IN () --AND (c.content_status = '' OR ce.content_status = '') ORDER BY cf.FolderPath, c.content_id ;
/*количество преподавателей в каждой из школ*/ select sc.Number,(select count(SchoolId) from Teacher as t where t.SchoolId=sc.SchoolId) from School as sc select sc.Number,(select count(SchoolId) from Teacher as t where t.SchoolId=sc.SchoolId) from School as sc where sc.SchoolId=1 select * from Pupil /*школа с наибольшим количеством учеников*/ /*лучше переделай с max*/ select top(1) sc.Number,(select count(SchoolId) from Pupil as pup where pup.SchoolId=sc.SchoolId) as CountOfPupils from School as sc order by CountOfPupils desc /*средний возраст учеников каждой из школ*/ select sc.Number,(select avg(pup.Age) from pupil as pup where pup.SchoolId=sc.SchoolId) from School as sc /*количество преподавателей мужского пока в каждой из школ*/ select sc.Number,(select count(SchoolId) from Teacher as t where t.SchoolId=sc.SchoolId and t.Gender='мужской') from School as sc /*количество преподавателей женского пола в каждой из школ*/ select sc.Number,(select count(*) from Teacher as t where t.SchoolId=sc.SchoolId and t.Gender='женский') from School as sc /*данные о школе с наибольшим количеством учеников(“”“ ћќ∆Ќќ ѕ≈–≈ƒ≈Ћј“№)*/ select top 1 (select count(*) from Pupil as pup where pup.SchoolId=sc.SchoolId) CountOfPupils,* from School as sc order by CountOfPupils desc /*—редний возраст мальчиков каждой из школ*/ select sc.Number,(select avg(pup.Age) from Pupil as pup where pup.SchoolId=sc.SchoolId and pup.Gender='мужской') as AvgAgeOfBoys from School as sc /*—редний возраст девочек каждой из школ*/ select sc.Number,(select avg(pup.Age) from Pupil as pup where pup.SchoolId=sc.SchoolId and pup.Gender='женский') as AvgAgeOfGirls from School as sc select * from Pupil exec sp_AveregeAgeOfPupils 1
-- Create a table schema for each of the six CSV files and specify Data Types, Primary Keys and Foreign Keys CREATE TABLE "departments" ( "dept_no" VARCHAR (4) NOT NULL, "dept_name" VARCHAR (30) NOT NULL, CONSTRAINT "pk_departments" PRIMARY KEY ( "dept_no" ) ); CREATE TABLE "employees" ( "emp_no" INT NOT NULL, "birth_date" DATE NOT NULL, "first_name" VARCHAR (30) NOT NULL, "last_name" VARCHAR (30) NOT NULL, "gender" VARCHAR (1) NOT NULL, "hire_date" DATE NOT NULL, CONSTRAINT "pk_employees" PRIMARY KEY ( "emp_no" ) ); CREATE TABLE "dept_emp" ( "emp_no" INT NOT NULL, "dept_no" VARCHAR (4) NOT NULL, "from_date" DATE NOT NULL, "to_date" DATE NOT NULL, CONSTRAINT "pk_dept_emp" PRIMARY KEY ( "emp_no","dept_no" ) ); CREATE TABLE "dept_manager" ( "dept_no" VARCHAR (4) NOT NULL, "emp_no" INT NOT NULL, "from_date" DATE NOT NULL, "to_date" DATE NOT NULL, CONSTRAINT "pk_dept_manager" PRIMARY KEY ( "dept_no","emp_no" ) ); CREATE TABLE "salaries" ( "emp_no" INT NOT NULL, "salary" INT NOT NULL, "from_date" DATE NOT NULL, "to_date" DATE NOT NULL, CONSTRAINT "pk_salaries" PRIMARY KEY ( "emp_no" ) ); CREATE TABLE "titles" ( "emp_no" INT NOT NULL, "title" VARCHAR (50) NOT NULL, "from_date" DATE NOT NULL, "to_date" DATE NOT NULL );
export FILEPATH=file:///complaints.csv // Complaints, companies, responses. // Uniqueness constraints. CREATE CONSTRAINT ON (c:Complaint) ASSERT c.id IS UNIQUE; CREATE CONSTRAINT ON (c:Company) ASSERT c.name IS UNIQUE; CREATE CONSTRAINT ON (r:Response) ASSERT r.name IS UNIQUE; // Load. :auto USING PERIODIC COMMIT 1000 LOAD CSV WITH HEADERS FROM {FILEPATH} AS line WITH line, SPLIT(line.`Date received`, "-") AS date WHERE line.`Company response to consumer` IS NOT NULL AND line.Company IS NOT NULL CREATE (complaint:Complaint { id: toInteger(line.`Complaint ID`) }) SET complaint.year = toInteger(date[0]), complaint.month = toInteger(date[1]), complaint.day = toInteger(date[2]) MERGE (company:Company { name: toUpper(line.Company) }) MERGE (response:Response { name: toUpper(line.`Company response to consumer`) }) CREATE (complaint)-[:AGAINST]->(company) CREATE (response)-[r:TO]->(complaint) SET r.timely = CASE line.`Timely response?` WHEN 'Yes' THEN true ELSE false END, r.disputed = CASE line.`Consumer disputed?` WHEN 'Yes' THEN true ELSE false END ; // Products, issues. // Uniqueness constraints. CREATE CONSTRAINT ON (p:Product) ASSERT p.name IS UNIQUE; CREATE CONSTRAINT ON (i:Issue) ASSERT i.name IS UNIQUE; // Load. :auto USING PERIODIC COMMIT 1000 LOAD CSV WITH HEADERS FROM {FILEPATH} AS line WITH line WHERE line.Product IS NOT NULL AND line.Issue IS NOT NULL MATCH (complaint:Complaint { id: toInteger(line.`Complaint ID`) }) MERGE (product:Product { name: toUpper(line.Product) }) MERGE (issue:Issue {name: toUpper(line.Issue) }) CREATE (complaint)-[:ABOUT]->(product) CREATE (complaint)-[:WITH]->(issue) ; // Sub issues, sub products. // Uniqueness constraints. CREATE CONSTRAINT ON (s:SubProduct) ASSERT s.name IS UNIQUE; CREATE CONSTRAINT ON (s:SubIssue) ASSERT s.name IS UNIQUE; // Load. export FILEPATH=file:///subissues.csv :auto USING PERIODIC COMMIT 1000 LOAD CSV WITH HEADERS FROM {FILEPATH} AS line WITH line WHERE line.`Sub-issue` <> '' AND line.`Sub-issue` IS NOT NULL MATCH (complaint:Complaint { id: toInteger(line.`Complaint ID`) }) MATCH (complaint)-[:WITH]->(issue:Issue) MERGE (subIssue:SubIssue { name: toUpper(line.`Sub-issue`) }) MERGE (subIssue)-[:IN_CATEGORY]->(issue) CREATE (complaint)-[:WITH]->(subIssue) ; export FILEPATH=file:///subproducts.csv :auto USING PERIODIC COMMIT 1000 LOAD CSV WITH HEADERS FROM {FILEPATH} AS line WITH line WHERE line.`Sub-product` <> '' AND line.`Sub-product` IS NOT NULL MATCH (complaint:Complaint { id: toInteger(line.`Complaint ID`) }) MATCH (complaint)-[:ABOUT]->(product:Product) MERGE (subProduct:SubProduct { name: toUpper(line.`Sub-product`) }) MERGE (subProduct)-[:IN_CATEGORY]->(product) CREATE (complaint)-[:ABOUT]->(subProduct) ;
ALTER TABLE hydro_serving.model_version RENAME COLUMN model_contract TO model_signature; ALTER TABLE hydro_serving.model_version ALTER COLUMN model_signature SET DATA TYPE json USING model_signature::json
create table `users` ( id int primary key not null auto_increment, name text not null, password text not null, type int not null ) DEFAULT CHARACTER SET=utf8; create table `news` ( `id` int not null auto_increment primary key unique, `news_id` int, `title` text, `content` text, `author` text, `team` int, `created` date, `images` int, `image_src1` text, `image_src2` text, `image_alt1` text, `image_alt2` text ) CHARACTER SET 'utf8';
SELECT NAME FROM STUDENTS WHERE MARKS > 75 ORDER BY RIGHT(NAME, 3), ID;
SELECT (CASE WHEN TC004='0118' THEN '内销' ELSE '外销' END) X002, (RTRIM(COPTD.TD001)+'-'+RTRIM(COPTD.TD002)+'-'+RTRIM(COPTD.TD003)+(CASE WHEN X.UDF51='1' THEN '(新增)' WHEN X.UDF51='0' THEN '(变更)' ELSE '' END)) as X001, RTRIM(COPMA.MA002) as COPMAMA002, RTRIM(COPTC.TC015) as COPTCTC015, (CASE WHEN X.TF003 IS NULL THEN '' WHEN X.TF003 IS NOT NULL AND X.TF017 = 'Y' THEN '指定结束'+':'+'变更版本号'+X.TF003+'_'+X.UDF11 ELSE '变更版本号'+X.TF003+'_'+X.UDF11 END) as X006, SUBSTRING(RTRIM(COPTD.TD013),1,4)+'-'+SUBSTRING(RTRIM(COPTD.TD013),5,2)+'-'+SUBSTRING(RTRIM(COPTD.TD013),7,2) AS COPTDTD013, RTRIM(COPTD.UDF03) as COPTDUDF03, RTRIM(COPTD.UDF01) as COPTDUDF01, RTRIM(COPTD.TD005) as COPTDTD005, RTRIM(COPTD.UDF08) as COPTDUDF08, RTRIM(COPTD.TD006) as COPTDTD006, CONVERT(INT, COPTD.TD008) as COPTDTD008, CONVERT(INT, COPTD.TD024) as COPTDTD024, RTRIM(COPTD.TD053) as COPTDTD053, RTRIM(COPTQ.TQ003) as COPTQTQ003, RTRIM(COPTD.TD020) as X008, RTRIM(COPTD.TD204) as COPTDTD204, RTRIM(COPTC.TC035) as COPTCTC035, RTRIM(CMSMV.MV002) as CMSMVMV002, RTRIM(COPTC.TC012) as COPTCTC012, RTRIM(COPTD.TD014) as COPTDTD014, (CASE WHEN TC004='0118' THEN INVMB.UDF04 ELSE INVMB.UDF05 END) X003, RTRIM(COPTD.UDF05) as COPTDUDF05, RTRIM(COPTD.UDF10) AS COPTDUDF10, (CASE WHEN COPTC.UDF09='否' THEN '' ELSE '是' END) X005, SUBSTRING(RTRIM(COPTC.TC003),1,4)+'-'+SUBSTRING(RTRIM(COPTC.TC003),5,2)+'-'+SUBSTRING(RTRIM(COPTC.TC003),7,2) AS COPTCTC003, (CASE WHEN K.TDUDF52 IS NOT NULL THEN '是' ELSE '' END) X007 FROM COPTD LEFT JOIN COPTC On COPTD.TD001=COPTC.TC001 and COPTD.TD002=COPTC.TC002 LEFT JOIN COPTQ On COPTD.TD053=COPTQ.TQ002 and COPTD.TD004=COPTQ.TQ001 LEFT JOIN COPMA On COPTC.TC004=COPMA.MA001 LEFT JOIN CMSMV On COPTC.TC006=CMSMV.MV001 LEFT JOIN INVMB ON COPTD.TD004=INVMB.MB001 LEFT JOIN ( SELECT TF001,TF002,TF104,TF017,TF003,UDF11,UDF51 FROM COPTF WHERE COPTF.UDF08>='201806250000' AND COPTF.UDF08<='201806270000') X On COPTD.TD001=X.TF001 and COPTD.TD002=X.TF002 AND COPTD.TD003=X.TF104 LEFT JOIN (SELECT TD001 AS TDTD001, TD002 AS TDTD002, TD003 AS TDTD003, TD013 AS TDTD013, UDF52 AS TDUDF52 FROM COPTD) K ON TDTD001 = TD001 AND TDTD002 = TD002 AND TDTD003 = TD003 AND CONVERT(INT, SUBSTRING(COPTD.CREATE_DATE, 1, 8)) = CONVERT(INT, TDUDF52) AND CONVERT(INT, TD013) - CONVERT(INT, TDUDF52) <=2 WHERE 1=1 AND (COPTC.TC027 = 'Y') AND COPTD.TD004 NOT LIKE '6%' AND COPTD.TD004 NOT LIKE '7%' AND (COPTD.UDF12>='201806250000' AND COPTD.UDF12<='201806270000') ORDER BY X002,COPTDTD013,TD001,TD002,TD003
-- Toon alle rijen in grootboekstamtemp onder elkaar: -- SELECT * FROM grootboekstamtemp -- ORDER BY nummer,boekjaar -- -- Selecteer als volgt uit: -- - Van de meeste records zullen er 3 gelijke zijn, verwijder daarvan de 2 nieuwste. -- - Zijn er 2 nieuwere, verwijder dan de nieuwste; is er 1 nieuwere dan laten staan. -- - Is er een oudere maar geen nieuwere dan is de oudere in nieuwe jaargangen -- verwijderd. Kopieer dan het oudere naar 1 jaar jonger en zet "active" op 0. -- -- 'Verwijderen' wil zeggen: noteer de "id" en verwijder die records, zoals hieronder. -- -- In de huidige ML "administratie" geeft dit het volgende resultaat: DELETE FROM "grootboekstamtemp" WHERE "id" IN (65,129,66,130,67,131,68,132,69,133,70,134,71,135,72,136,73,137,74,138,75,139,192,76 ,140,77,141,78,142,79,143,80,144,81,145,82,146,83,147,84,148,85,149,86,150,87,151,88 ,152,89,153,90,154,91,155,92,156,93,157,94,158,125,189,95,159,96,160,97,161,98,162,99 ,163,100,164,101,165,102,166,103,167,104,168,105,169,106,170,107,171,108,172,109,173 ,110,174,111,175,112,176,113,177,114,178,115,179,116,180,124,188,190,191,181,118,182 ,119,183,120,184,121,185,122,186,123,187)
-- use this procedure to change candidate status and check whether it is qualified CREATE PROC spChangeStatus @FirstName varchar(100), @LastName varchar(100), @StatusID int = 1 AS -- check if the candidate is valid IF(NOT EXISTS(SELECT 1 FROM Candidates WHERE firstName = @FirstName AND lastName = @LastName)) BEGIN PRINT 'ERROR: There is no such candidate!'; RETURN; END; -- check if the status is valid ELSE IF (@StatusID > (SELECT COUNT(*) FROM candidateStatus)) BEGIN PRINT 'ERROR: There is no such status!'; RETURN; END; -- update the status ELSE BEGIN UPDATE Candidates SET statusId = @StatusID WHERE firstName = @FirstName AND lastName = @LastName; END;
INSERT INTO HELLO VALUES (1, 'AAA'); INSERT INTO HELLO VALUES (2, 'bbb');
UPDATE messages SET is_sent=0,is_received=0,jump=0; DELETE FROM messages WHERE final_destination_id=1;
DROP TABLE ParametroBooleano; DROP TABLE ParametroString; DROP TABLE ParametroNumerico; DROP TABLE TipoDeCamino; DROP TABLE Camino; DROP TABLE ModalidadDeAccidente; DROP TABLE DenunciaPolicial; DROP TABLE Peritaje; DROP TABLE MedicionBooleano; DROP TABLE MedicionString; DROP TABLE MedicionNumerico; DROP TABLE ResponsablePeritaje; DROP TABLE RespRealizaPeritaje; DROP TABLE Persona; DROP TABLE Responsable; DROP TABLE Testigo; DROP TABLE Participante; DROP TABLE TipoDeAntecedente; DROP TABLE AntecedentePenal; DROP TABLE CategoriaDeLicencia; DROP TABLE LicenciaDeConducir; DROP TABLE CategoriaDelVehiculo; DROP TABLE Vehiculo; DROP TABLE PersonaDuenaDeVehiculo; DROP TABLE PersonaPuedeManejarVehiculo; DROP TABLE TipoDeInfraccion; DROP TABLE Multa; DROP TABLE CompaniaDeSeguros; DROP TABLE TipoDeCobertura; DROP TABLE Poliza; DROP TABLE PolizaTieneTipoDeCobertura;
CREATE TABLE CAMPAIGN_RUN_AUDIT( CAMPAIGN_ID bigint NOT NULL DISTKEY, RUN_ID bigint NOT NULL, NAME character varying(max), SEGMENT_SIZE bigint DEFAULT 0 NOT NULL, RUN_TS TIMESTAMP SORTKEY, PRIMARY KEY (CAMPAIGN_ID,RUN_ID) ); GRANT SELECT ON CAMPAIGN_RUN_AUDIT TO GROUP READ_ONLY; GRANT ALL ON CAMPAIGN_RUN_AUDIT TO GROUP READ_WRITE; GRANT ALL ON CAMPAIGN_RUN_AUDIT TO GROUP SCHEMA_MANAGER;
/* Navicat MySQL Data Transfer Source Server : local Source Server Type : MySQL Source Server Version : 50721 Source Host : localhost:3306 Source Schema : accounts_data Target Server Type : MySQL Target Server Version : 50721 File Encoding : 65001 Date: 15/03/2018 20:34:26 */ SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- -- Table structure for account_table -- ---------------------------- DROP TABLE IF EXISTS `account_table`; CREATE TABLE `account_table` ( `account_id` int(255) NOT NULL AUTO_INCREMENT, `username` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `note` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `money` double(255, 2) NOT NULL, `time` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `shared` bit(1) NOT NULL, PRIMARY KEY (`account_id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of account_table -- ---------------------------- INSERT INTO `account_table` VALUES (1, 'h', 'h', 3.00, '2018/03/15 14:12:37', b'0'); INSERT INTO `account_table` VALUES (2, 'h', 'h', 3.00, '2018/03/15 14:13:07', b'0'); INSERT INTO `account_table` VALUES (3, '1', '1', 1.00, '1', b'0'); INSERT INTO `account_table` VALUES (4, 'hil', 'qqq', -300.00, '2018/03/15 15:24:59', b'1'); INSERT INTO `account_table` VALUES (5, '小名', '测试', 100.00, '2018/03/15 19:59:49', b'1'); -- ---------------------------- -- Table structure for comment_table -- ---------------------------- DROP TABLE IF EXISTS `comment_table`; CREATE TABLE `comment_table` ( `account_id` int(255) NOT NULL, `content` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `time` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `comment_id` int(255) NOT NULL AUTO_INCREMENT, `writer` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, PRIMARY KEY (`comment_id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of comment_table -- ---------------------------- INSERT INTO `comment_table` VALUES (4, 'hahahha', '2018/03/15 18:55:57', 1, 'helll'); -- ---------------------------- -- Table structure for user_table -- ---------------------------- DROP TABLE IF EXISTS `user_table`; CREATE TABLE `user_table` ( `username` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `password` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `theme` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `balance` double(255, 0) NOT NULL, `signs` int(255) NOT NULL, PRIMARY KEY (`username`) USING BTREE ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of user_table -- ---------------------------- INSERT INTO `user_table` VALUES ('admin', 'admin', 'THEME0', 0, 0); INSERT INTO `user_table` VALUES ('helll', '123', 'THEME0', 100, 0); INSERT INTO `user_table` VALUES ('hello', '122121212', 'THEME0', 0, 0); INSERT INTO `user_table` VALUES ('hil', 'aaa', 'THEME1', 0, 0); INSERT INTO `user_table` VALUES ('hill', '123', 'THEME0', 100, 0); INSERT INTO `user_table` VALUES ('小名', '123', 'THEME0', 1100, 1); SET FOREIGN_KEY_CHECKS = 1;
DROP TABLE regimenes CASCADE;
/*由于对于不同的报警信息都需要一个处理的结果和时间,而有的字表不一致*/ /*所以提取共有的字段添加到总表中,并删除各个表中冗余的字段*/ /*报警总表*/ ALTER TABLE t_base_alarm_info RENAME alarm_time to alarm_start_time; ALTER TABLE t_base_alarm_info ADD alarm_end_time TIMESTAMP; /*报警分表*/ ALTER TABLE t_overman_alarm DROP alarm_start_time; ALTER TABLE t_overman_alarm DROP alarm_state; ALTER TABLE t_overman_alarm DROP alarm_end_time; ALTER TABLE t_ls_staff_alarm DROP alarm_time; ALTER TABLE t_region_special_alarm DROP alert_time; /*修改卡的字段 staff_name int8 为varchar*/ ALTER TABLE t_ls_card_info ALTER COLUMN staff_name TYPE VARCHAR(40); /*修改员工的字段 staff_birthday varchar 为 date*/ ALTER TABLE t_base_staff_info ALTER COLUMN staff_birthday TYPE DATE USING(staff_birthday::date); /*为实时表新增三个字段作为冗余字段*/ ALTER TABLE t_ls_staff_info ADD job_name VARCHAR(100); ALTER TABLE t_ls_staff_info ADD job_id VARCHAR(40); ALTER TABLE t_ls_staff_info ADD unit_name VARCHAR(60);
drop table if exists wr_user; create table wr_user ( id bigint not null auto_increment comment '主键', email varchar(128) not null comment '公司邮箱', fullname varchar(128) not null comment '姓名', createtime timestamp not null default '2000-1-1 0:0:0' comment '记录创建时间', updatetime timestamp not null default CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP comment '记录更新时间', status tinyint not null default 0 comment '状态,0:正常,-1:删除', role tinyint not null default 0 comment '角色,0:组员,1:组长,10:主管', superiorId bigint not null default -1 comment '直接汇报人userId,-1:未指定', primary key (id), unique key uk_email (email), index idx_superiorId (superiorId) ) engine=InnoDB default charset=utf8 collate utf8_general_ci comment '用户表'; drop table if exists wr_report; create table wr_report ( id bigint not null auto_increment comment '主键', reporterId bigint not null comment '报告人userId', superiorId bigint not null comment '直接汇报人userId', startDate date not null comment '开始日期', endDate date not null comment '结束日期', createtime timestamp not null default '2000-1-1 0:0:0' comment '记录创建时间', updatetime timestamp not null default CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP comment '记录更新时间', status tinyint not null default 0 comment '状态,0:草稿,1:已提交', primary key (id), index idx_reporterId (reporterId), index idx_superiorId (superiorId) ) engine=InnoDB default charset=utf8 collate utf8_general_ci comment '周报主表'; drop table if exists wr_reportDoneTask; create table wr_reportDoneTask ( id bigint not null auto_increment comment '主键', reportId bigint not null comment '周报主表ID', content text not null comment '工作内容', rate int not null default 100 comment '完成率', delay tinyint not null default 0 comment '是否延迟,1:是,0:否', startDate date not null comment '开始日期', endDate date not null comment '结束日期', owner varchar(128) not null comment '工作承担人', createtime timestamp not null default '2000-1-1 0:0:0' comment '记录创建时间', updatetime timestamp not null default CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP comment '记录更新时间', primary key (id), index idx_reportId (reportId) ) engine=InnoDB default charset=utf8 collate utf8_general_ci comment '周报已完成工作表'; drop table if exists wr_reportTodoTask; create table wr_reportTodoTask ( id bigint not null auto_increment comment '主键', reportId bigint not null comment '周报主表ID', content text not null comment '工作内容', startDate date not null comment '开始日期', endDate date not null comment '结束日期', owner varchar(128) not null comment '工作承担人', createtime timestamp not null default '2000-1-1 0:0:0' comment '记录创建时间', updatetime timestamp not null default CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP comment '记录更新时间', primary key (id), index idx_reportId (reportId) ) engine=InnoDB default charset=utf8 collate utf8_general_ci comment '周报计划工作表'; drop table if exists wr_reportOthers; create table wr_reportOthers ( id bigint not null auto_increment comment '主键', reportId bigint not null comment '周报主表ID', risk text comment '风险', suggestion text comment '建议', createtime timestamp not null default '2000-1-1 0:0:0' comment '记录创建时间', updatetime timestamp not null default CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP comment '记录更新时间', primary key (id), unique key uk_reportId (reportId) ) engine=InnoDB default charset=utf8 collate utf8_general_ci comment '周报其它信息表'; #请保证插入user表的第一条记录与配置文件中管理员的邮箱一致 insert into `wr_user`(email, fullname, createtime) values ('hzliujian3@corp.netease.com', '刘剑', now());
CREATE TABLE aluno( id SERIAL, nome VARCHAR(255), cpf CHAR(11), observacao TEXT, idade INTEGER, dinheiro NUMERIC(10,2), altura real, ativo BOOLEAN, data_nascimento DATE, hora_aula TIME, matriculado_em timestamp ); SELECT * FROM aluno; INSERT INTO aluno (nome, cpf, observacao, idade, dinheiro, altura, ativo, data_nascimento, hora_aula, matriculado_em) VALUES ('Lucas', '12345678901', 'lorem alguma coisa', 24, 100.0, 1.76, TRUE,'1996-01-03', '00:00:00', '20-09-2020 12:32:45' ); SELECT * FROM aluno WHERE id = 1; UPDATE aluno SET nome = 'beninca', cpf = '01987654321', observacao = 'texto update', idade = 25, dinheiro = 50.0, altura = 1.76, ativo = FALSE, data_nascimento = '1996-01-03', hora_aula = '00:00:01', matriculado_em = '2020-01-02 15:00:00' WHERE id = 1; DELETE FROM aluno WHERE nome = 'beninca'; SELECT nome AS "nome do aluno", idade, matriculado_em AS quando_se_matriculou FROM aluno; INSERT INTO aluno (nome) values('vinicius dias'); INSERT INTO aluno (nome) values('rafael jose'); INSERT INTO aluno (nome) values('tiago josue'); INSERT INTO aluno (nome) values('vinicius'); SELECT * FROM aluno WHERE nome =
//Test that two transactions run in parallel do not violate data integrity 1. Open session 1 using IDE //Create xx_balances table create table xx_balances (id NUMBER primary key, account_number VARCHAR2(200), amount NUMBER); 2. Open session 2 using IDE and check that table exists select * from xx_balances; 3. Insert data to xx_balances table using session 1 insert into xx_balances values (1, 'Account A', 500); insert into xx_balances values (2, 'Account B', 500); insert into xx_balances values (3, 'Account C', 500); 4. Using session 2 check that inserted in step 3. data do not appear because transactions were not COMMITED (PERMANENTLY SAVED) select * from xx_balances; -- 0 rows returned 5. COMMIT (permanently save) transactions using session 1 COMMIT; 6. Using session 2 check that now 3 records are visible select * from xx_balances; -- 3 rows returned 7. Using session 1 run an update statement for 'Account A' and DO NOT COMMIT transaction update xx_balances set amount = 400 where account_number = 'Account A'; -- Transaction completed, but not saved 8. Using session 2 run an update statement for same 'Account A' record update xx_balances set amount = 300 where account_number = 'Account A'; -- Update is running and do not complete as record is locked by session 1 as there transaction is NOT SAVED 9. Commit (save) transaction using session 1 COMMIT; 10. Once transaction done by session 1 is commited(saved), transaction in session 2 is completed. Commit transaction done by session 2. COMMIT; 11. Check that data is up to date in both sessions: select * from xx_balances; -- Both sessions should return 300 amount for 'Account A'.
SET NAMES UTF8; DROP DATABASE IN EXISTS xq; CREATE DATABASE xq CHARSET=UTF8; USE xq; #用户信息 CREATE TABLE xq_user( uid INT PRIMARY KEY AUTO_INCREMENT, uname VARCHRA(32), upwd VARCHAR(32), email VARCHAR(64), phone CHAR(11), avatar VARCHAR(128), user_name VARCHAR(32), gender INT ); #用户信息插入 INSERT INTO xq_user VALUES (NULL, 'dingding', '123456', 'ding@qq.com', '13501234567', 'img/avatar/default.png', '丁伟', '1'), (NULL, 'dangdang', '123456', 'dang@qq.com', '13501234568', 'img/avatar/default.png', '林当', '1'), (NULL, 'doudou', '123456', 'dou@qq.com', '13501234569', 'img/avatar/default.png', '窦志强', '1'),
-- For Filtering Restaurant select accounts_restaurant.* from accounts_restaurant join browse_package on accounts_restaurant.id = browse_package.restaurant_id join browse_ingredientlist on browse_package.id = browse_ingredientlist.package_id join browse_ingredient on browse_ingredientlist.ingredient_id = browse_ingredient.id where lower(browse_ingredient.name) like '%%' || lower('bu') || '%%' or lower(browse_package.pkg_name) like '%%' || lower('bu') || '%%' union distinct select accounts_restaurant.* from accounts_restaurant where lower(accounts_restaurant.restaurant_name) like '%%' || lower('bu') || '%%'; -- -- For Filtering Branch select distinct accounts_restaurantbranch.* from accounts_restaurantbranch join accounts_restaurant on accounts_restaurantbranch.restaurant_id = accounts_restaurant.id join browse_package on accounts_restaurant.id = browse_package.restaurant_id join browse_ingredientlist on browse_package.id = browse_ingredientlist.package_id join browse_ingredient on browse_ingredientlist.ingredient_id = browse_ingredient.id where lower(browse_package.category) like '%%' || lower('bu') || '%%' or lower(accounts_restaurant.restaurant_name) like '%%' || lower('bu') || '%%' or lower(accounts_restaurantbranch.branch_name) like '%%' || lower('bu') || '%%'; -- select accounts_restaurant.* from accounts_restaurant where lower(accounts_restaurant.restaurant_name) LIKE '%%' || lower('tak') || '%%';
USE hutoma; ALTER TABLE `hutoma`.`entity` ADD COLUMN `hidden` tinyint(1) NOT NULL DEFAULT 0; DROP PROCEDURE IF EXISTS `getEntities`; DELIMITER ;; CREATE DEFINER=`entityUser`@`127.0.0.1` PROCEDURE `getEntities`( IN in_dev_id VARCHAR(50)) BEGIN SELECT `name`, `isSystem` FROM `entity` WHERE (`entity`.`dev_id`=`in_dev_id` OR `entity`.`isSystem`=1) AND (`entity`.`hidden`<>1); END ;; DELIMITER ;
-- After running the geocode cache on ~1000 addresses, I noticed that there were -- postal codes in the form of 'A2B' that were being stored. Unfortunately, -- these aren't sufficiently precise to show on the map and should rightfully be -- stored in `GeocodeMiss`. This migration deletes the mistaken hits and then -- adds a check constraint on `GeocodeHit.PostalCode` to enfornce a length == 7. -- First, to delete the broken entries. DELETE FROM GeocodeHit WHERE length(PostalCode) != 7; -- Then, delete "dangling" rows from `GeocodeQuery`. DELETE FROM GeocodeQuery WHERE Id NOT IN ( SELECT GeocodeQueryId FROM GeocodeMiss UNION SELECT GeocodeQueryId FROM GeocodeHit ); -- Now, to add the check constraint. As sqlite3 doesn't support ADD CONSTRAINT -- in ALTER TABLE statements, this will be done in four steps. -- 1. Create a new table with the same schema as `GeocodeHit` + our check constraint; CREATE TABLE GeocodeHit_copy ( Id INTEGER PRIMARY KEY, GeocodeQueryId INTEGER NOT NULL UNIQUE REFERENCES GeocodeQuery(Id), FormattedAddress TEXT NOT NULL, Latitude REAL NOT NULL, Longitude REAL NOT NULL, PostalCode TEXT NOT NULL, StreetNumber TEXT, -- The name of the service used to geocode this entry QueryProvider TEXT NOT NULL, LastQueriedAt TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP, CHECK(length(PostalCode = 7)) ); -- 2. Insert all the rows from `GeocodeHit` into our new table; INSERT INTO GeocodeHit_copy SELECT * FROM GeocodeHit; -- 3. Drop `GeocodeHit`; DROP TABLE GeocodeHit; -- 4. Rename our copied table to `GeocodeHit`. ALTER TABLE GeocodeHit_copy RENAME TO GeocodeHit;
-- phpMyAdmin SQL Dump -- version 3.5.1 -- http://www.phpmyadmin.net -- -- Servidor: localhost -- Tiempo de generación: 16-06-2013 a las 04:18:53 -- Versión del servidor: 5.5.24-log -- Versión de PHP: 5.4.3 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 */; -- -- Base de datos: `vallesaludss` -- -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `atencionmedica` -- CREATE TABLE IF NOT EXISTS `atencionmedica` ( `NRegistro` varchar(8) NOT NULL, `CedPac` varchar(12) NOT NULL, `CedMed` varchar(12) NOT NULL, `Motivo` varchar(255) NOT NULL, `FechaAtenc` datetime NOT NULL, `hora` time NOT NULL, PRIMARY KEY (`NRegistro`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `citas` -- CREATE TABLE IF NOT EXISTS `citas` ( `idCitas` varchar(10) NOT NULL, `idPaciente` varchar(12) NOT NULL, `idMedico` varchar(45) NOT NULL, `Fecha` date NOT NULL, `Hora` time NOT NULL, PRIMARY KEY (`idCitas`), KEY `idpac_idx` (`idPaciente`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `citas` -- INSERT INTO `citas` (`idCitas`, `idPaciente`, `idMedico`, `Fecha`, `Hora`) VALUES ('1306-00001', '1065653', '1065652', '2013-06-17', '09:00:00'), ('1306-00002', '1478523', '1065652', '2013-06-17', '08:30:00'), ('1306-00003', '1478523', '1065653', '2013-06-18', '10:00:00'), ('1306-00004', '1065653', '1065653', '2013-06-18', '08:00:00'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `cum` -- CREATE TABLE IF NOT EXISTS `cum` ( `idCUM` varchar(20) NOT NULL, `Expediente` varchar(45) NOT NULL, `Producto` varchar(45) DEFAULT NULL, `RegistroSanitario` varchar(45) DEFAULT NULL, `Vencimiento` date DEFAULT NULL, `EstadoRegistro` varchar(45) DEFAULT NULL, `Presentacion` varchar(45) NOT NULL, `Cantidad` varchar(3) NOT NULL, `Unidad` varchar(4) NOT NULL, `Fabricante` varchar(60) DEFAULT NULL, PRIMARY KEY (`idCUM`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `cum` -- INSERT INTO `cum` (`idCUM`, `Expediente`, `Producto`, `RegistroSanitario`, `Vencimiento`, `EstadoRegistro`, `Presentacion`, `Cantidad`, `Unidad`, `Fabricante`) VALUES ('10121-01', '10121', 'TRIMETOPRIM SULFA TABLETAS.', 'INVIMA 2005M-8432-R2', '2015-12-19', 'Vigente', 'CAJA X 20 TABLETAS EN BLISTER PVC/ALUMINIO X ', '20', 'U', 'LABORATORIOS ECAR S.A.'), ('10121-02', '10121', '', '', '0000-00-00', '', 'CAJA X 100 TABLETAS EN BLISTER PVC/ALUMINIO X', '100', 'U', ''), ('10121-03', '10121', '', '', '0000-00-00', '', 'CAJA X 250 TABLETAS EN BLISTER PVC/ALUMINIO X', '250', 'U', ''), ('10816-01', '10816', 'IBUPROFENO SUSPENSION 100 MG / 5 ML.', 'INVIMA 2006M-005761 R1', '2016-11-10', 'Vigente', 'FRASCO PET X 100 ML. CON TAPA PILFER PROFF EN', '100', 'ml', 'GENFAR S.A.'), ('10816-02', '10816', '', '', '0000-00-00', '', 'FRASCO PET X 120 ML. CON TAPA PILFER PROFF EN', '120', 'ml', ''), ('11492-01', '11492', 'AMOXICILINA POLVO PARA SUSPENSIÓN 500 MG / 5 ', 'INVIMA 2006M-004374 - R1', '2016-06-22', 'Vigente', 'CAJA CON UN FRASCO POR 45 G DE POLVO PARA REC', '45', 'g', 'GENFAR S.A'), ('11492-02', '11492', '', '', '0000-00-00', '', 'CAJA CON UN FRASCO POR 60 G DE POLVO PARA REC', '60', 'g', ''), ('11697-01', '11697', 'ACIDO FUSIDICO CREMA 2%', 'INVIMA 2006 M-005236 R1', '2016-08-03', 'Vigente', 'TUBO COLAPSIBLE DE ALUMINIO POR 10 G.', '10', 'g', 'GENFAR S.A.'), ('11697-02', '11697', '', '', '0000-00-00', '', 'TUBO COLAPSIBLE DE ALUMINIO POR 15 G.', '15', 'g', ''), ('14960-01', '14960', 'ENALAPRIL 20 MG. TABLETAS', 'INVIMA 2006M-005544 R1', '2016-08-14', 'Vigente', 'CAJA POR 10 TABLETAS EN EMPAQUE BLISTER ALUMI', '10', 'U', 'PRODUCTORA DE CAPSULAS DE GELATINA S. A. "PROCAPS S. A."'), ('14960-02', '14960', '', '', '0000-00-00', '', 'CAJA POR 20 TABLETAS EN EMPAQUE BLISTER ALUMI', '20', 'U', ''), ('14960-03', '14960', '', '', '0000-00-00', '', 'CAJA POR 30 TABLETAS EN EMPAQUE BLISTER ALUMI', '30', 'U', ''), ('14960-04', '14960', '', '', '0000-00-00', '', 'CAJA POR 100 TABLETAS EN EMPAQUE BLISTER ALUM', '100', 'U', ''), ('14960-05', '14960', '', '', '0000-00-00', '', 'CAJA POR 250 TABLETAS EN EMPAQUE BLISTER ALUM', '250', 'U', ''), ('14961-01', '14961', 'ENALAPRIL 5 MG TABLETAS', 'INVIMA 2006 M-005447 R1', '2016-09-12', 'Vigente', 'CAJA POR 30 TABLETAS EN BLISTER PVDC AMBAR/AL', '30', 'U', 'PROCAPS S.A.'), ('14961-02', '14961', '', '', '0000-00-00', '', 'CAJA POR 50 TABLETAS EN BLISTER PVDC AMBAR/AL', '50', 'U', ''), ('14961-03', '14961', '', '', '0000-00-00', '', 'CAJA POR 100 TABLETAS EN BLISTER PVDC AMBAR/A', '100', 'U', ''), ('14961-04', '14961', '', '', '0000-00-00', '', 'CAJA POR 10 TABLETAS EN BLISTER PVDC AMBAR/AL', '10', 'U', ''), ('14962-01', '14962', 'CAPTOPRIL 50 MG. TABLETAS.', 'INVIMA 2006 M-004738-R1', '2016-08-04', 'Vigente', 'CAJA POR 30 TABLETAS EN SISTEMA BLISTER FOIL ', '30', 'U', 'PROCAPS S.A.'), ('14962-02', '14962', '', '', '0000-00-00', '', 'CAJA POR 100 TABLETAS EN SISTEMA BLISTER FOIL', '100', 'U', ''), ('14962-03', '14962', '', '', '0000-00-00', '', 'CAJA POR 220 TABLETAS EN SISTEMA BLISTER FOIL', '220', 'U', ''), ('17583-01', '17583', 'AMOXICILINA 500 MG CAPSULAS', 'INVIMA 2005M-002840 - R1', '2015-09-21', 'Vigente', 'CAJA X 20 CAPSULAS EN BLISTER PVC/ALUMINIO', '20', 'U', 'SYNTOFARMA S.A.'), ('17583-02', '17583', '', '', '0000-00-00', '', 'CAJA X 50 CAPSULAS EN BLISTER PVC/ALUMINIO', '50', 'U', ''), ('17583-03', '17583', '', '', '0000-00-00', '', 'CAJA X 100 CAPSULAS EN BLISTER PVC/ALUMINIO', '100', 'U', ''), ('17583-04', '17583', '', '', '0000-00-00', '', 'CAJA X 250 CAPSULAS EN BLISTER PVC/ALUMINIO', '250', 'U', ''), ('17583-05', '17583', '', '', '0000-00-00', '', 'CAJA X 300 CAPSULAS EN BLISTER PVC/ALUMINIO', '300', 'U', ''), ('17584-01', '17584', 'AMOXICILINA 250 MG / 5 ML. . POLVO PARA RECON', 'INVIMA 2005 M-002628-R1', '2015-10-21', 'Vigente', 'FRASCO X 45 ML. , EN VIDRIO TIPO III AMBAR', '45', 'ml', 'SYNTOFARMA S.A.'), ('17584-02', '17584', '', '', '0000-00-00', '', 'FRASCO X 60 ML. , EN VIDRIO TIPO III AMBAR.', '60', 'ml', ''), ('17584-03', '17584', '', '', '0000-00-00', '', 'FRASCO X 90 ML. , EN VIDRIO TIPO III AMBAR.', '90', 'ml', ''), ('17584-04', '17584', '', '', '0000-00-00', '', 'FRASCO X 100 ML. , EN VIDRIO TIPO III AMBAR.', '100', 'ml', ''), ('17584-05', '17584', '', '', '0000-00-00', '', 'FRASCO X 45 ML. , EN PET AMBAR.', '45', 'ml', ''), ('17584-06', '17584', '', '', '0000-00-00', '', 'FRASCO X 60 ML. , EN PET AMBAR.', '60', 'ml', ''), ('17584-07', '17584', '', '', '0000-00-00', '', 'FRASCO X 90ML. , EN PET AMBAR.', '9', 'ml', ''), ('17584-08', '17584', '', '', '0000-00-00', '', 'FRASCO X 100ML. , EN PET AMBAR.', '100', 'ml', ''), ('17587-01', '17587', 'AMPICILINA 500 MG CAPSULAS', 'INVIMA 2005M-002629-R1', '2015-08-25', 'Vigente', 'CAJA X 20 CAPSULAS EN BLISTER PVC/ALUMINIO', '20', 'U', 'SYNTOFARMA S.A.'), ('17587-02', '17587', '', '', '0000-00-00', '', 'CAJA X 50 CAPSULAS EN BLISTER PVC/ALUMINIO', '50', 'U', ''), ('17587-03', '17587', '', '', '0000-00-00', '', 'CAJA X 100 CAPSULAS EN BLISTER PVC/ALUMINIO', '100', 'U', ''), ('17587-04', '17587', '', '', '0000-00-00', '', 'CAJA X 250 CAPSULAS EN BLISTER PVC/ALUMINIO', '250', 'U', ''), ('17702-01', '17702', 'PEDIASURE', 'INVIMA 2006M-003161 R1', '2016-03-29', 'Vigente', 'LATA POR 400 G SABOR VAINILLA', '400', 'g', 'ABBOTT LABORATORIES B.V., ROSS PRODUCT MANUFACTURER'), ('17702-02', '17702', '', '', '0000-00-00', '', 'LATA POR 900G PARA EL SABOR VAINILLA', '900', 'g', ''), ('17702-03', '17702', '', '', '0000-00-00', '', 'LATA POR 400 G SABOR CHOCOLATE', '400', 'g', ''), ('17702-04', '17702', '', '', '0000-00-00', '', 'LATA POR 400 G SABOR FRESA', '400', 'g', ''), ('17702-05', '17702', '', '', '0000-00-00', '', 'MM SOBRE SABOR A VAINILLA X 45,4 G', '45,', 'g', ''), ('17702-06', '17702', '', '', '0000-00-00', '', 'MM SOBRE SABOR A FRESA X 45,4 G', '45,', 'g', ''), ('19901974-01', '19901974', 'METOCARBAMOL TABLETAS 500 MG', 'INVIMA M-13621', '2009-09-14', 'Vigente', 'CAJA DE CARTULINA X 20 BLISTER 2X10 PVC/FOIL ', '20', 'U', 'BLISTECO S.A.'), ('19901974-02', '19901974', '', '', '0000-00-00', '', 'CAJA DE CARTULINA X 30 BLISTER 3X10 PVC/FOIL ', '30', 'U', ''), ('19901974-03', '19901974', '', '', '0000-00-00', '', 'CAJA DE CARTULINA X 40 BLISTER 4X10 PVC/FOIL ', '40', 'U', ''), ('19901974-04', '19901974', '', '', '0000-00-00', '', 'CAJA DE CARTULINA X 50 BLISTER 5X10 PVC/FOIL ', '50', 'U', ''), ('20472-01', '20472', 'DICLOFENACO 50MG. TABLETA CUBIERTA', 'INVIMA 2005 M-006042-R2', '2015-07-05', 'Vigente', 'CAJA POR 20 TABLETAS CUBIERTAS CON PELICULA', '20', 'U', 'TECNOQUIMICAS S.A.'), ('20679-01', '20679', 'TRIMETOPRIM SULFA MK SUSPENSION', 'INVIMA 2004M-006179 R2', '2014-08-23', 'Vigente', 'FRASCO DE VIDRIO AMBAR X 60 ML..', '60', 'ml', 'TECNOQUIMICAS S.A.'), ('20679-02', '20679', '', '', '0000-00-00', '', '', '', '', 'TECNOFAR TQ S.A.'), ('2202-01', '2202', 'PLITICAN TABLETAS', 'INVIMA 2006M-007695-R2', '2016-07-31', 'Vigente', 'CAJA POR 4 TABLETAS EN BLISTER PVC/ALUMINIO', '4', 'U', 'SANOFI - AVENTIS DE COLOMBIA S.A.'), ('2202-02', '2202', '', '', '0000-00-00', '', 'CAJA POR 20 TABLETAS EN BLISTER DE PVC/ALUMIN', '20', 'U', ''), ('2203-01', '2203', 'ACETAMINOFEN JARABE X 150 MG / 5 ML', 'INVIMA 2006M-007901-R2', '2016-05-24', 'Vigente', 'FRASCO AMBAR POR 60 ML', '60', 'ml', 'GENFAR S.A.'), ('2203-02', '2203', '', '', '0000-00-00', '', 'FRASCO AMBAR POR 120 ML', '120', 'ml', ''), ('22796-01', '22796', 'DICLOFENACO GEL AL 1%', 'INVIMA M-013372', '2009-08-10', 'Vigente', 'TUBO COLAPSIBLE POR 50G', '50', 'g', 'FARMACOOP S.A.'), ('22796-02', '22796', '', '', '0000-00-00', '', '', '', '', 'COOPERATIVA DE COSMETICOS Y POPULARES COSMEPOP'), ('23597-01', '23597', 'AMPICILINA POLVO PARA SUSPENSION X 250 MG/5 M', 'INVIMA 2007M-007513-R2', '2017-04-04', 'Vigente', 'FRASCO CON 30 G DE POLVO PARA RECONSTITUIR A ', '60', 'ml', 'GENFAR S.A.'), ('23597-02', '23597', '', '', '0000-00-00', '', 'FRASCO CON 50 G DE POLVO PARA RECONSTITUIR A ', '100', 'ml', ''), ('24207-01', '24207', 'CLOTRIMAZOL MK 1% CREMA VAGINAL.', 'INVIMA 2006 M-007579-R2', '2016-08-08', 'Vigente', 'TUBO COLAPSIBLE DE ALUMINIO POR 20 G CON APLI', '20', 'g', 'TECNOFAR TQ S.A.'), ('24207-02', '24207', '', '', '0000-00-00', '', 'TUBO COLAPSIBLE DE ALUMINIO POR 40 G CON 6 A', '40', 'g', ''), ('25040-01', '25040', 'ACETAMINOFEN MK 500 MG. TABLETAS', 'INVIMA 2005 M-007907-R2', '2015-09-20', 'Vigente', 'CAJA POR 10 TABLETAS EN TIRAS POR 2 TABLETAS ', '10', 'U', 'FABRIFARMA S.A.'), ('25040-02', '25040', '', '', '0000-00-00', '', 'CAJA POR 20 TABLETAS EN TIRAS POR 2 TABLETAS ', '20', 'U', 'TECNOQUIMICAS S.A.'), ('25040-03', '25040', '', '', '0000-00-00', '', 'CAJA POR 30 TABLETAS EN TIRAS POR 2 TABLETAS ', '30', 'U', ''), ('25040-04', '25040', '', '', '0000-00-00', '', 'CAJA POR 50 TABLETAS EN TIRAS POR 2 TABLETAS ', '50', 'U', ''), ('25040-05', '25040', '', '', '0000-00-00', '', 'CAJA POR 60 TABLETAS EN TIRAS POR 2 TABLETAS ', '60', 'U', ''), ('25040-06', '25040', '', '', '0000-00-00', '', 'CAJA POR 10 TABLETAS EN TIRAS POR 10 TABLETAS', '10', 'U', ''), ('25040-07', '25040', '', '', '0000-00-00', '', 'CAJA POR 30 TABLETAS EN TIRAS POR 10 TABLETAS', '30', 'U', ''), ('25040-08', '25040', '', '', '0000-00-00', '', 'CAJA POR 50 TABLETAS EN TIRAS POR 10 TABLETAS', '50', 'U', ''), ('25317-01', '25317', 'VITAMINA C TABLETAS.', 'INVIMA 2005 M-007884-R2', '2015-10-14', 'Vigente', 'MUESTRA MEDICA: PORTAMUESTRA POR 1 TABLETA.', '1', 'U', 'GENFAR S.A.'), ('25317-02', '25317', '', '', '0000-00-00', '', 'TIRA EN PAPEL FOIL DE ALUMINIO PLASTIFICADO-P', '10', 'U', ''), ('25317-03', '25317', '', '', '0000-00-00', '', 'BOLSA METALIZADA POR 12 TABLETAS EN FOIL DE A', '12', 'U', ''), ('25317-04', '25317', '', '', '0000-00-00', '', 'CAJA POR 50 TABLETAS EN FOIL DE ALUMINIO PLAS', '50', 'U', ''), ('25317-05', '25317', '', '', '0000-00-00', '', 'CAJA DISPENSADORA POR 100 TABLETAS EN FOIL DE', '100', 'U', ''), ('25318-01', '25318', 'TIAMINA TABLETAS 300 MG', 'INVIMA 2005 M-007885-R2', '2015-08-23', 'Vigente', 'CAJA CARTON POR 250 TABLETAS EN BLISTER DE PV', '250', 'U', 'GENFAR S.A.'), ('25318-02', '25318', '', '', '0000-00-00', '', 'CAJA CARTON POR 540 TABLETAS EN BLISTER DE PV', '540', 'U', ''), ('26577-01', '26577', 'IBUPROFENO TABLETAS 200 MG.', 'INVIMA M-14214', '2010-03-29', 'Vigente', 'CAJA POR 10 TABLETAS EN BLISTER PVC/ALUMINIO', '10', 'U', 'COLOMPACK S.A.'), ('26577-02', '26577', '', '', '0000-00-00', '', 'CAJA POR 200 TABLETAS EN BLISTER PVC/ALUMINIO', '200', 'U', 'EDMOPHARMA'), ('26802-01', '26802', 'ADRENALINA SOLUCION INYECTABLE DE 1MG/ML', 'INVIMA 2008M-000070-R3', '2018-04-08', 'Vigente', 'CAJA DE CARTULINA POR 25 AMPOLLAS DE VIDRIO A', '25', 'ml', 'ARBOFARMA S.A.'), ('27156-01', '27156', 'TETRACICLINA DE 500 MG CAPSULAS', 'INVIMA M-009030-R1', '2009-05-25', 'Vigente', 'CAJA X 240 CAPSULAS EN FOIL DE ALUMINIO', '240', 'U', 'LAGUNAS E HIJOS LTDA'), ('27447-01', '27447', 'COMPLEJO B JARABE', 'M-009298', '2009-05-07', 'Vigente', 'FRASCO POR 120 ML..', '120', 'U', 'TECNIMICRO PHARMA S.A.'), ('30666-01', '30666', 'AMPICILINA 500 MG CAPSULAS.', 'INVIMA 2001M-010688- R1', '2011-12-05', 'Vigente', 'CAJA POR 10 CÁPSULAS EN BLISTER PVC/ALUMINIO', '10', 'U', 'GENMED S.A.'), ('30666-02', '30666', '', '', '0000-00-00', '', 'CAJA POR 100 CÁPSULAS EN BLISTER PVC/ALUMINIO', '100', 'U', 'MANUFACTURERA MUNDIAL FARMACEUTICA S.A.(MMFSA)'), ('30864-01', '30864', 'VITAMINA C 1 G TABLETA EFERVESCENTE', 'INVIMA 2008 M-009980-R-2', '2019-01-29', 'Vigente', 'TUBO POR 10 TABLETAS EN POLIPROPILENO DE ALTA', '10', 'U', 'TECNOQUIMICAS S.A.'), ('30864-02', '30864', '', '', '0000-00-00', '', 'TUBO POR 13 TABLETAS EN POLIPROPILENO DE ALTA', '13', 'U', 'TECNOFAR TQ S.A.'), ('30864-03', '30864', '', '', '0000-00-00', '', 'TUBO POR 15 TABLETAS EN POLIPROPILENO DE ALTA', '15', 'U', ''), ('30864-04', '30864', '', '', '0000-00-00', '', 'BOLSA CON 2 TUBOS DE POLIPROPILENO DE ALTA DE', '20', 'U', ''), ('30864-05', '30864', '', '', '0000-00-00', '', 'BOLSA CON 3 TUBOS DE POLIPROPILENO DE ALTA DE', '30', 'U', ''), ('30865-01', '30865', 'VITAMINA C 500 MG. TABLETAS MASTICABLES', 'INVIMA 2009 M-009979-R2', '2019-03-05', 'Vigente', 'CAJA POR 4 TABLETAS MASTICABLES EN FOIL ALUMI', '4', 'U', 'TECNOQUIMICAS S.A.'), ('30865-02', '30865', '', '', '0000-00-00', '', 'CAJA POR 6 TABLETAS MASTICABLES EN FOIL ALUMI', '6', 'U', 'TECNOFAR TQ S.A.'), ('30865-03', '30865', '', '', '0000-00-00', '', 'CAJA POR 8 TABLETAS MASTICABLES EN FOIL ALUMI', '8', 'U', ''), ('30865-04', '30865', '', '', '0000-00-00', '', 'CAJA POR 10 TABLETAS MASTICABLES EN FOIL ALUM', '10', 'U', ''), ('30865-05', '30865', '', '', '0000-00-00', '', 'CAJA POR 2 TABLETAS MASTICABLES EN FOIL ALUMI', '2', 'U', ''), ('30865-06', '30865', '', '', '0000-00-00', '', 'CAJA POR 3 TABLETAS MASTICABLES EN FOIL ALUMI', '3', 'U', ''), ('30865-07', '30865', '', '', '0000-00-00', '', 'CAJA POR 20 TABLETAS MASTICABLES EN FOIL ALUM', '20', 'U', ''), ('30865-08', '30865', '', '', '0000-00-00', '', 'CAJA POR 50 TABLETAS MASTICABLES EN FOIL ALUM', '50', 'U', ''), ('30865-09', '30865', '', '', '0000-00-00', '', 'CAJA POR 90 TABLETAS MASTICABLES EN FOIL ALUM', '90', 'U', ''), ('30865-10', '30865', '', '', '0000-00-00', '', 'CAJA POR 100 TABLETAS MASTICABLES EN FOIL ALU', '100', 'U', ''), ('31190-01', '31190', 'NAPROXENO TABLETAS 500 MG', 'INVIMA M-010156-R1', '2009-05-09', 'Vigente', 'CAJA POR 10 TABLETAS EN BLISTER DE PVC /ALUMI', '10', 'U', 'GENFAR S.A.'), ('31190-02', '31190', '', '', '0000-00-00', '', 'CAJA POR 20 TABLETAS EN BLISTER DE PVC /ALUMI', '20', 'U', ''), ('31190-03', '31190', '', '', '0000-00-00', '', 'CAJA POR 300 TABLETAS EN BLISTER DE PVC/ ALUM', '300', 'U', ''), ('31191-01', '31191', 'NAPROXENO CAPSULAS X 250 MG.', 'INVIMA M-010129-R1', '2009-06-01', 'Vigente', 'CAJA POR 10 CAPSULAS EN BLISTER DE PVC INCOLO', '10', 'U', 'GENFAR S.A.'), ('31191-02', '31191', '', '', '0000-00-00', '', 'CAJA POR 220 CAPSULAS EN BLISTER DE PVC INCOL', '220', 'U', ''), ('31404-08', '31404', 'ACEITE DE HIGADO DE BACALAO', 'INVIMA 2009 M-012785 R1', '2019-03-16', 'Vigente', 'CAJA DE CARTULINA POR 40 CAPSULAS BLISTER 10 ', '40', 'U', 'PROCAPS S.A.'), ('31404-09', '31404', '', '', '0000-00-00', '', 'CAJA DE CARTULINA POR 50 CAPSULAS BLISTER 10 ', '50', 'U', ''), ('31404-10', '31404', '', '', '0000-00-00', '', 'CAJA DE CARTULINA POR 60 CAPSULAS BLISTER 10 ', '60', 'U', ''), ('31404-12', '31404', '', '', '0000-00-00', '', 'CAJA DE CARTULINA POR 70 CAPSULAS BLISTER 10 ', '70', 'U', ''), ('31404-13', '31404', '', '', '0000-00-00', '', 'CAJA DE CARTULINA POR 80 CAPSULAS BLISTER 10 ', '80', 'U', ''), ('31404-14', '31404', '', '', '0000-00-00', '', 'CAJA DE CARTULINA POR 100 CAPSULAS BLISTER 10', '100', 'U', ''), ('31404-15', '31404', '', '', '0000-00-00', '', 'CAJA DE CARTULINA POR 120 CAPSULAS BLISTER 10', '120', 'U', ''), ('31404-16', '31404', '', '', '0000-00-00', '', 'CAJA DE CARTULINA POR 150 CAPSULAS BLISTER 10', '150', 'U', ''), ('31404-17', '31404', '', '', '0000-00-00', '', 'CAJA DE CARTULINA POR 30 CAPSULAS EN BLISTER ', '30', 'U', ''), ('31404-18', '31404', '', '', '0000-00-00', '', 'FRASCO PVC AMBAR POR 30 CAPSULAS', '30', 'U', ''), ('31408-01', '31408', 'VOLTAREN 75 MG AMPOLLAS /3 ML.', 'INVIMA M-001322 R1', '2009-03-16', 'En tramite renov', 'CAJA POR 5 AMPOLLAS DE VIDRIO INCOLORO TIPO I', '5', 'U', 'NOVARTIS BIOCIENCIAS S.A.'), ('31408-02', '31408', '', '', '0000-00-00', '', 'CAJA POR 6 AMPOLLAS DE VIDRIO INCOLORO TIPO I', '6', 'U', ''), ('31408-03', '31408', '', '', '0000-00-00', '', 'CAJA POR 10 AMPOLLAS DE VIDRIO INCOLORO TIPO ', '10', 'U', ''), ('31408-04', '31408', '', '', '0000-00-00', '', 'PRESENTACIÓN HOSPITALARIA POR 60 AMPOLLAS DE ', '60', 'U', ''), ('31408-05', '31408', '', '', '0000-00-00', '', 'PRESENTACIÓN HOSPITALARIA POR 100 AMPOLLAS DE', '100', 'U', ''), ('31462-01', '31462', 'DULCOLAX® 5MG GRAGEAS', 'INVIMA 2008 M- 001357 R3', '2018-06-19', 'Vigente', 'CAJA POR 10 GRAGEAS EN BLISTER PVC/ALUMINIO P', '10', 'U', 'BOEHRINGER INGELHEIM S. A.'), ('31462-02', '31462', '', '', '0000-00-00', '', 'CAJA POR 20 GRAGEAS EN BLISTER PVC/ALUMINIO P', '20', 'U', ''), ('31462-03', '31462', '', '', '0000-00-00', '', 'CAJA POR 30 GRAGEAS EN BLISTER PVC/ALUMINIO P', '30', 'U', ''), ('31462-04', '31462', '', '', '0000-00-00', '', 'CAJA POR 50 GRAGEAS EN BLISTER PVC/ALUMINIO P', '50', 'U', ''), ('31813-01', '31813', 'BINOTAL ® 500MG. COMPRIMIDOS AROMATIZADOS', 'INVIMA 2008 M-001183-R3', '2018-10-29', 'Vigente', 'MUESTRA MÉDICA CAJA DE CARTON X 2 COMPRIMIDO', '2', 'U', 'BAYER DE MEXICO SA DE CV.'), ('31813-02', '31813', '', '', '0000-00-00', '', 'CAJA DE CARTON X 10 COMPRIMIDOS EN FOIL ALUMI', '10', 'U', ''), ('31813-03', '31813', '', '', '0000-00-00', '', 'CAJA DE CARTON X 12 COMPRIMIDOS EN FOIL ALUMI', '12', 'U', ''), ('31813-05', '31813', '', '', '0000-00-00', '', 'CAJA DE CARTON X 50 COMPRIMIDOS EN FOIL ALUMI', '50', 'U', ''), ('31836-01', '31836', 'SAL DE FRUTAS LUA', 'INVIMA 2008M-010211-R2', '2018-06-24', 'Vigente', 'DOS SOBRES DE ALUMINIO POLIPROPILENO POR 5G.', '2', 'U', 'TECNOFAR TQ S.A.'), ('31836-02', '31836', '', '', '0000-00-00', '', 'SOBRE ALUMINIO/POLIPROPILENO POR 5G, EN CAJA ', '3', 'U', 'TECNOQUIMICAS S.A.'), ('31836-03', '31836', '', '', '0000-00-00', '', 'SOBRE ALUMINIO/POLIPROPILENO POR 5G, EN CAJA ', '4', 'U', ''), ('31836-04', '31836', '', '', '0000-00-00', '', 'SOBRE ALUMINIO/POLIPROPILENO POR 5G, EN CAJA ', '6', 'U', ''), ('31836-05', '31836', '', '', '0000-00-00', '', 'SOBRE ALUMINIO/POLIPROPILENO POR 5G, EN CAJA ', '8', 'U', ''), ('31994-01', '31994', 'METRONIDAZOL TABLETAS 250 MG.', 'INVIMA 2008 M-010297-R2', '2019-01-23', 'Vigente', 'BLISTER PVC/ALUMINIO POR 10 TABLETAS EN CAJA ', '250', 'U', 'LABORATORIOS ECAR S.A.'), ('31994-02', '31994', '', '', '0000-00-00', '', 'BLISTER PVC/ALUMINIO POR 10 TABLETAS EN CAJA ', '10', 'U', ''), ('31994-03', '31994', '', '', '0000-00-00', '', 'BLISTER PVC/ALUMINIO POR 10 TABLETAS EN CAJA ', '40', 'U', ''), ('32187-01', '32187', 'DOLEX NIÑOS 100 MG TABLETAS MASTICABLES', 'INVIMA M-011879-R1', '2010-06-13', 'Vigente', 'SOBRE POR 2 TABLETAS.', '2', 'U', 'GLAXOSMITHKLINE PANAMA S.A.'), ('32187-02', '32187', '', '', '0000-00-00', '', 'CAJA POR 20 TABLETAS EN TIRAS DE POLYPAPER PO', '20', 'U', ''), ('32187-03', '32187', '', '', '0000-00-00', '', 'CAJA POR 100 TABLETAS EN TIRAS DE POLYPAPER P', '100', 'U', ''), ('32187-04', '32187', '', '', '0000-00-00', '', 'CAJA POR 4 TABLETAS', '4', 'U', ''), ('32187-05', '32187', '', '', '0000-00-00', '', 'SOBRE POR 4 TABLETAS', '4', 'U', ''), ('32187-06', '32187', '', '', '0000-00-00', '', 'TIRA POLYPAPER POR 10 TABLETAS', '10', 'U', ''), ('32187-07', '32187', '', '', '0000-00-00', '', 'MUESTRA MEDICA: CAJA POR 4 TABLETAS', '4', 'U', ''), ('32221-01', '32221', 'MEBENDAZOL 100 MG / 5 ML', 'INVIMA 2008 M-010553 R2', '2018-11-07', 'Vigente', 'FRASCO DE POLIETILENO DE ALTA DENSIDAD POR 30', '30', 'ml', 'TECNOFAR TQ S.A.'), ('32249-01', '32249', 'ASPIRINA 500 MG TABLETA EFERVESCENTE', 'INVIMA 2008 M-001514 R3', '2018-09-02', 'Vigente', 'CAJA POR 12 TABLETAS EFERVESCENTES EN SOBRE L', '12', 'U', 'BAYER S.A.'), ('32249-02', '32249', '', '', '0000-00-00', '', 'CAJA POR 14 TABLETAS EFERVESCENTES EN SOBRE L', '14', 'U', ''), ('32249-03', '32249', '', '', '0000-00-00', '', 'CAJA POR 50 TABLETAS EFERVESCENTES EN SOBRE L', '50', 'U', ''), ('32249-04', '32249', '', '', '0000-00-00', '', 'CAJA POR 56 TABLETAS EFERVESCENTES EN SOBRE ', '56', 'U', ''), ('32375-01', '32375', 'DICLOFENACO INYECTABLE 75 MG/3 ML', 'INVIMA 2009 M-010572-R-2', '2019-02-17', 'Vigente', 'CAJA DE CARTON CARTULINA POR 5 AMPOLLETAS DE ', '15', 'ml', 'VIDRIO TECNICO DE COLOMBIA S.A.( VITECO S.A)'), ('32375-02', '32375', '', '', '0000-00-00', '', '', '', '', 'GENFAR S.A.'), ('32377-01', '32377', 'KOLA GRANULADA JGB TARRITO ROJO', 'INVIMA M-001363-R2', '2008-12-20', 'En tramite renov', 'SACHETS EN LAMINADO PAPEL POUCH, ALUMINIO POL', '10', 'g', 'J.G.B. S.A.'), ('32377-02', '32377', '', '', '0000-00-00', '', 'SACHETS EN LAMINADO PAPEL POUCH, ALUMINIO POL', '25', 'g', ''), ('32377-03', '32377', '', '', '0000-00-00', '', 'SACHETS EN LAMINADO PAPEL POUCH, ALUMINIO POL', '30', 'g', ''), ('32377-04', '32377', '', '', '0000-00-00', '', 'SACHETS EN LAMINADO PAPEL POUCH, ALUMINIO POL', '50', 'g', ''), ('32377-05', '32377', '', '', '0000-00-00', '', 'TARRO DE POLIETILENO X 85 G EN EL SABOR DE VA', '85', 'g', ''), ('32377-06', '32377', '', '', '0000-00-00', '', 'TARRO DE POLIETILENO X 135 G EN EL SABOR DE V', '135', 'g', ''), ('32377-07', '32377', '', '', '0000-00-00', '', 'TARRO DE POLIETILENO X 330 G EN EL SABOR DE V', '330', 'g', ''), ('32377-08', '32377', '', '', '0000-00-00', '', 'TARRO DE POLIETILENO X 380 G EN EL SABOR DE V', '380', 'g', ''), ('32377-09', '32377', '', '', '0000-00-00', '', 'TARRO DE POLIETILENO X 1000 G EN EL SABOR DE ', '100', 'g', ''), ('32377-10', '32377', '', '', '0000-00-00', '', 'TARRO DE POLIETILENO X 85 G EN EL SABOR DE FR', '85', 'g', ''), ('33496-01', '33496', 'AMOXICILINA CAPSULAS 500 MG', 'INVIMA M-010611-R1', '2009-05-25', 'Vigente', 'CAJA X 320 CÁPSULAS (32 BLISTER DE ALIMUNIO/P', '320', 'U', 'MANUFACTURERA MUNDIAL FARMACEUTICA S.A.'), ('33496-02', '33496', '', '', '0000-00-00', '', 'CAJA DE CARTON CARTULINA POR 2 BLISTER DE ALU', '20', 'U', ''), ('33496-03', '33496', '', '', '0000-00-00', '', 'CAJA DE CARTON CARTULINA POR 5 BLISTER DE ALU', '50', 'U', ''), ('3521-01', '3521', 'ALERCET JARABE', 'INVIMA 2005M-002103-R1', '2015-06-30', 'Vigente', 'FRASCO DE VIDRIO AMBAR Y TAPA METALICA POR 30', '30', 'U', 'PROCAPS S.A.'), ('3521-02', '3521', '', '', '0000-00-00', '', 'FRASCO DE VIDRIO AMBAR Y TAPA METALICA POR 60', '60', 'U', ''), ('3749-01', '3749', 'CALMIDOL', 'INVIMA 2005M-002418-R1', '2015-07-26', 'Vigente', 'CAJA X 12 GRAGEAS EN BLISTER X 6 GRAGEAS CADA', '12', 'U', ''), ('4098-01', '4098', 'CEBION 500MG TABLETAS MASTICABLES', 'INVIMA 2005M- 0007923-R2', '2015-08-30', 'Vigente', 'CAJA DISPENSADORA POR 30 TABLETAS EN TIRAS DE', '30', 'U', 'MERCK S.A.'), ('4098-02', '4098', '', '', '0000-00-00', '', 'DISPLAY GANCHERA POR 40 TABLETAS MASTICABLES ', '40', 'U', ''), ('4098-03', '4098', '', '', '0000-00-00', '', 'CAJA DISPENSADORA POR 50 TABLETAS EN TIRAS DE', '50', 'U', ''), ('4098-04', '4098', '', '', '0000-00-00', '', 'CAJA DISPENSADORA POR 100 TABLETAS EN TIRAS D', '100', 'U', ''), ('4098-05', '4098', '', '', '0000-00-00', '', 'CAJA DISPENSADORA POR 200 TABLETAS EN TIRAS D', '200', 'U', ''), ('4098-06', '4098', '', '', '0000-00-00', '', 'CAJA DISPENSADORA POR 24 TABLETAS ENVASADAS E', '24', 'U', ''), ('4098-07', '4098', '', '', '0000-00-00', '', 'CAJA DISPENSADORA POR 144 TABLETAS ENVASADAS ', '144', 'U', ''), ('4098-08', '4098', '', '', '0000-00-00', '', 'CAJA DISPENSADORA POR 160 TABLETAS MASTICABLE', '160', 'U', ''), ('4098-09', '4098', '', '', '0000-00-00', '', 'PRESENTACIÓN MUESTRA MEDICA: FOIL POR 2 TABLE', '2', 'U', ''), ('4098-10', '4098', '', '', '0000-00-00', '', 'PRESENTACIÓN MUESTRA MEDICA: FOIL POR 4 TABLE', '4', 'U', ''), ('43696-01', '43696', 'CEFRADINA TABLETAS X 500 MG.', 'INVIMA 2006 M-004922 R1', '2016-07-28', 'Vigente', 'CAJA POR 24 TABLETAS EN FOIL DE ALUMINIO', '24', 'U', 'SYNTOFARMA S.A.'), ('43696-02', '43696', '', '', '0000-00-00', '', 'CAJA POR 140 TABLETAS EN FOIL DE ALUMINIO', '140', 'U', 'GENFAR S.A'), ('43697-01', '43697', 'CEFRADINA 1 G TABLETAS', 'INVIMA 2007M-005415-R1', '2017-06-28', 'Vigente', 'CAJA POR 6 TABLETAS EN FOIL DE ALUMINIO.', '6', 'U', 'SYNTOFARMA S.A.'), ('43697-02', '43697', '', '', '0000-00-00', '', '', '', '', 'GENFAR S.A'), ('43726-01', '43726', 'CLOTRIMAZOL 1% CREMA VAGINAL', 'INVIMA 2005M-000273R1', '2015-03-23', 'Vigente', 'CAJA CON TUBO COLAPSIBLE DE ALUMINIO POR 40 G', '40', 'g', 'ARBOFARMA S.A.'), ('43727-01', '43727', 'CLOTRIMAZOL 1% CREMA TOPICA', 'INVIMA 2005M-002512 - R1', '2015-09-06', 'Vigente', 'CAJA CON UN TUBO COLAPSIBLE DE ALUMINIO X 40 ', '40', 'g', 'ARBOFARMA S.A.'), ('43727-02', '43727', '', '', '0000-00-00', '', '', '', '', 'LABORATORIOS FARPAG LTDA.'), ('43730-01', '43730', 'NAPROXENO SÓDICO 125MG/5ML SUSPENSIÓN PEDIÁTR', 'INVIMA 2002 M-012962-R1', '2012-02-21', 'Vigente', 'CAJAS CON FRASCO DE VIDRIO ÁMBAR CON 18,60 G ', '80', 'ml', 'TECNOQUIMICAS S.A.'), ('43730-02', '43730', '', '', '0000-00-00', '', 'CAJAS CON FRASCO DE VIDRIO ÁMBAR CON 13,95 G ', '60', 'ml', ''), ('43730-03', '43730', '', '', '0000-00-00', '', 'CAJAS CON FRASCO PEAD CON 18,60 G PARA RECONS', '80', 'ml', ''), ('43730-04', '43730', '', '', '0000-00-00', '', 'CAJAS CON FRASCO PEAD CON 13,95 G PARA RECONS', '60', 'ml', ''), ('43731-01', '43731', 'NAPROXENO SODICO 275 MG TABLETAS CUBIERTAS', 'INVIMA 2001M- 012687 R1', '2012-01-28', 'Vigente', 'CAJA PLAGADIZA POR 10 TABLETAS EN BLISTER PVC', '10', 'U', 'TECNOQUIMICAS S.A.'), ('43731-02', '43731', '', '', '0000-00-00', '', 'CAJA PLAGADIZA POR 20 TABLETAS EN BLISTER PVC', '20', 'U', ''), ('43731-03', '43731', '', '', '0000-00-00', '', 'CAJA PLAGADIZA POR 30 TABLETAS EN BLISTER PVC', '30', 'U', ''), ('43731-04', '43731', '', '', '0000-00-00', '', 'CAJA PLAGADIZA POR 40 TABLETAS EN BLISTER PVC', '40', 'U', ''), ('43731-05', '43731', '', '', '0000-00-00', '', 'CAJA PLAGADIZA POR 50 TABLETAS EN BLISTER PVC', '50', 'U', ''), ('43731-06', '43731', '', '', '0000-00-00', '', 'CAJA PLAGADIZA POR 60 TABLETAS EN BLISTER PVC', '60', 'U', ''), ('43731-07', '43731', '', '', '0000-00-00', '', 'CAJA PLAGADIZA POR 70 TABLETAS EN BLISTER PVC', '70', 'U', ''), ('43731-08', '43731', '', '', '0000-00-00', '', 'CAJA PLAGADIZA POR 80 TABLETAS EN BLISTER PVC', '80', 'U', ''), ('43774-01', '43774', 'AMPICILINA 500 MG INYECTABLE', 'INVIMA 2002 M-013116 - R1', '2012-02-08', 'Vigente', 'CAJA X 50 VIALES.', '25', 'g', 'VITROFARMA S.A.'), ('43774-02', '43774', '', '', '0000-00-00', '', 'MUESTRA MEDICA: CAJA X 1 VIAL', ',5', 'g', ''), ('43774-03', '43774', '', '', '0000-00-00', '', 'CAJA X 10 VIALES.', '5', 'g', ''), ('43775-01', '43775', 'AMPICILINA 1000 MG. TABLETAS', 'INVIMA 2002 M-012829 R1', '2012-03-18', 'Vigente', 'CAJA DE CARTON TIPO PVP IMPRESO POR 250 TABLE', '250', 'U', 'SYNTOFARMA S.A.'), ('43775-02', '43775', '', '', '0000-00-00', '', 'CAJA DE CARTON TIPO PVP IMPRESO POR 24 TABLET', '24', 'U', 'GENMED S.A'), ('43775-03', '43775', '', '', '0000-00-00', '', 'CAJA DE CARTON TIPO PVP IMPRESO POR 48 TABLET', '48', 'U', 'GENMED S.A.'), ('43775-04', '43775', '', '', '0000-00-00', '', 'CAJA DE CARTON TIPO PVP IMPRESO POR 50 TABLET', '50', 'U', ''), ('43776-01', '43776', 'AMPICILINA 1000 INYECTABLE.', 'INVIMA 2002 M-013114 R1', '2012-04-11', 'Vigente', 'CAJA POR 50 FRASCOS VIALES.', '50', 'U', 'VITROFARMA S.A.'), ('43776-02', '43776', '', '', '0000-00-00', '', 'MUESTRA MEDICA CAJA POR 1 FRASCO VIAL.', '1', 'U', ''), ('43776-03', '43776', '', '', '0000-00-00', '', 'CAJA POR 1 FRASCO VIAL', '1', 'U', ''), ('44020-01', '44020', 'CLOTRIMAZOL 200 MG TABLETAS', 'INVIMA 2002 M-012785 -R1', '2012-05-17', 'Vigente', 'CAJAS CON 10 TABLETAS EN TIRAS DE POLIETILENO', '10', 'U', 'COOPERATIVA DE TRABAJO ASOCIADO DE PRODUCCION, COMERCIALIZAC'), ('44020-02', '44020', '', '', '0000-00-00', '', 'CAJAS CON 3 TABLETAS EN TIRAS DE POLIETILENO-', '3', 'U', ''), ('44020-03', '44020', '', '', '0000-00-00', '', 'CAJAS CON 5 TABLETAS EN TIRAS DE POLIETILENO-', '5', 'U', ''), ('44061-01', '44061', 'CLOTRIMAZOL CREMA 1%', 'INVIMA 2002 M-012916-R1', '2012-03-18', 'Vigente', 'CAJA CON TUBO COLAPSIBLE DE ALUMINIO POR 60G.', '60', 'g', 'LABORATORIOS CALIFORNIA S.A.'), ('44061-02', '44061', '', '', '0000-00-00', '', 'MUESTRA MEDICA: CAJA CON TUBO COLAPSIBLE DE A', '10', 'g', ''), ('44061-03', '44061', '', '', '0000-00-00', '', 'CAJA CON TUBO COLAPSIBLE DE ALUMINIO POR 20G.', '20', 'g', ''), ('44061-04', '44061', '', '', '0000-00-00', '', 'CAJA CON TUBO COLAPSIBLE DE ALUMINIO POR 40G.', '40', 'g', ''), ('44061-05', '44061', '', '', '0000-00-00', '', 'CAJA CON TUBO COLAPSIBLE DE POLIETILENO LAMIN', '10', 'g', ''), ('44061-06', '44061', '', '', '0000-00-00', '', 'CAJA CON TUBO COLAPSIBLE DE POLIETILENO LAMIN', '20', 'g', ''), ('44061-07', '44061', '', '', '0000-00-00', '', 'CAJA CON TUBO COLAPSIBLE DE POLIETILENO LAMIN', '40', 'g', ''), ('44061-10', '44061', '', '', '0000-00-00', '', ' MUESTRA MEDICA:CAJA CON TUBO COLAPSIBLE DE P', '10', 'g', ''), ('44062-01', '44062', 'CLOTRIMAZOL 100 MG TABLETA VAGINAL', 'INVIMA 2005M-003025 - R1', '2015-09-22', 'Vigente', 'CJA X 200 TABLETAS EN ALUFOIL/ALUMINIO/POLIET', '200', 'U', 'LABORATORIOS CALIFORNIA S.A.'), ('44062-02', '44062', '', '', '0000-00-00', '', 'MUESTRA MEDICA: CAJA X 6 TABLETAS EN ALUFOIL/', '6', 'U', ''), ('44062-03', '44062', '', '', '0000-00-00', '', 'CJA X 6 TABLETAS EN ALUFOIL/ALUMINIO/POLIETIL', '6', 'U', ''), ('44063-01', '44063', 'CLOTRIMAZOL SOLUCION TOPICA', 'INVIMA 2002 M-013353 R-1', '2012-08-29', 'Vigente', 'FRASCO VIDRIO AMBAR DE 60 ML.', '60', 'ml', 'LABORATORIOS CALIFORNIA S.A.'), ('44063-02', '44063', '', '', '0000-00-00', '', 'MUESTRA MEDICA FRASCO X 30 ML', '30', 'ml', ''), ('44063-03', '44063', '', '', '0000-00-00', '', 'FRASCO PET AMBAR DE 30 ML.', '30', 'ml', ''), ('44063-04', '44063', '', '', '0000-00-00', '', 'FRASCO PET AMBAR DE 60 ML.', '60', 'ml', ''), ('44063-05', '44063', '', '', '0000-00-00', '', 'FRASCO VIDRIO AMBAR DE 30 ML.', '30', 'ml', ''), ('44193-01', '44193', 'ACIDO RETINOICO AL 0.05%', 'INVIMA M-010884', '2012-02-25', 'Vigente', 'TUBO POR 30 G.', '30', 'U', 'GALEZ PRODUCCION LTDA'), ('44193-02', '44193', '', '', '0000-00-00', '', 'TUBO POR 15 G.', '15', 'U', ''), ('44194-01', '44194', 'CLOTRIMAZOL', 'INVIMA M-010683', '2012-02-25', 'Vigente', 'CAJA POR 6 TABLETAS EN SOBRE, + APLICADOR.', '6', 'U', 'GALEZ PRODUCCION LTDA'), ('44237-01', '44237', 'ACETAMINOFEN JARABE', 'INVIMA M-000725-r1', '2015-06-01', 'Vigente', 'FRASCO DE POLIETILENTERFTALATO (PET) POR 120 ', '120', 'ml', 'BIOCHEM FARMACEUTICA DE COLOMBIA S.A.'), ('44237-02', '44237', '', '', '0000-00-00', '', 'FRASCO DE VIDRIO POR 60 ML', '60', 'ml', ''), ('44237-03', '44237', '', '', '0000-00-00', '', 'FRASCO DE VIDRIO POR 90 ML', '90', 'ml', ''), ('44237-04', '44237', '', '', '0000-00-00', '', 'FRASCO DE VIDRIO POR 120 ML', '120', 'ml', ''), ('44250-01', '44250', 'AMOXICILINA 500 MG CAPSULAS', 'INVIMA M-13667', '2010-07-05', 'Vigente', 'CAJA POR 48 CAPSULAS, EN BLISTER PACK', '48', 'U', 'GONHER FARMACEUTICA LTDA.'), ('44250-02', '44250', '', '', '0000-00-00', '', 'CAJA POR 24 CAPSULAS, EN BLISTER PACK', '24', 'U', 'GENMED S.A.'), ('44250-03', '44250', '', '', '0000-00-00', '', '', '', '', 'SYNTOFARMA S.A.'), ('44275-01', '44275', 'AMPICILINA 500 MG INYECTABLE', 'M-010131', '2012-02-25', 'Vigente', 'CAJA POR 50 AMPOLLAS.', '50', 'U', 'VITROFARMA S.A.'), ('44275-02', '44275', '', '', '0000-00-00', '', 'CAJA POR 10 AMPOLLAS.', '10', 'U', ''), ('6327-01', '6327', 'AMBROXOL 30 MG / 5ML', 'INVIMA 2007M-005295 R1', '2017-04-27', 'Vigente', 'FRASCO POR 120', '120', 'ml', 'PROCAPS S.A.'), ('6328-01', '6328', 'AMBROXOL 15 MG / 5 ML', 'INVIMA 2006 M-005048 R1', '2016-07-31', 'Vigente', 'FRASCO POR 120 ML.', '120', 'ml', 'PROCAPS S.A.'), ('7038-01', '7038', 'AGRIPPAL S1', 'INVIMA 2005M- 001894 R1', '2015-07-21', 'Vigente', 'CAJA DE CARTÓN CON BLISTER DE PVC O PET CON U', '1', 'U', 'NOVARTIS VACCINES AND DIAGNOSTICS S.R.L'), ('7614-01', '7614', 'CLOTRIMAZOL CREMA GENERICO', 'INVIMA 2005 M-002609-R1', '2015-12-19', 'Vigente', 'TUBO COLAPSIBLE POR 15 GRAMOS', '15', 'g', 'LABORATORIOS AMERICA S.A.'), ('7614-02', '7614', '', '', '0000-00-00', '', 'TUBO COLAPSIBLE POR 20 GRAMOS', '20', 'g', ''), ('7614-03', '7614', '', '', '0000-00-00', '', 'TUBO COLAPSIBLE POR 30 GRAMOS', '30', 'g', ''), ('7614-04', '7614', '', '', '0000-00-00', '', 'TUBO COLAPSIBLE POR 40 GRAMOS', '40', 'g', ''), ('9455-01', '9455', 'KETOCONAZOL SUSPENSION 2 G/ 100 ML', 'INVIMA 2005M-002328R1', '2015-09-02', 'Vigente', 'FRASCO EN PEAD BLANCO POR 30 ML.', '30', 'U', 'LABORATORIOS AMERICA S.A.'), ('9811-01', '9811', 'IBUPROFENO 200 MG', 'INVIMA 2006M-003807 -R1', '2016-05-02', 'Vigente', 'CAJA POR 10 TABLETAS, EN BLISTER PVC / ALUMI', '10', 'U', 'LABORATORIOS CALIFORNIA S.A.'), ('9811-02', '9811', '', '', '0000-00-00', '', 'CAJA POR 12 TABLETAS, EN BLISTER PVC / ALUMI', '12', 'U', ''), ('9811-03', '9811', '', '', '0000-00-00', '', 'CAJA POR 20 TABLETAS, EN BLISTER PVC / ALUMI', '20', 'U', ''), ('9811-04', '9811', '', '', '0000-00-00', '', 'CAJA POR 24 TABLETAS, EN BLISTER PVC / ALUMIN', '24', 'U', ''), ('9811-05', '9811', '', '', '0000-00-00', '', 'CAJA POR 30 TABLETAS, EN BLISTER PVC / ALUMI', '30', 'U', ''), ('9811-06', '9811', '', '', '0000-00-00', '', 'CAJA POR 50 TABLETAS, EN BLISTER PVC / ALUMI', '50', 'U', ''), ('9811-07', '9811', '', '', '0000-00-00', '', 'CAJA POR 60 TABLETAS, EN BLISTER PVC / ALUMI', '60', 'U', ''), ('9811-08', '9811', '', '', '0000-00-00', '', 'CAJA POR 100 TABLETAS, EN BLISTER PVC / ALUM', '100', 'U', ''), ('9811-09', '9811', '', '', '0000-00-00', '', 'CAJA POR 200 TABLETAS, EN BLISTER PVC / ALUM', '200', 'U', ''), ('9811-10', '9811', '', '', '0000-00-00', '', 'CAJA POR 250 TABLETAS, EN BLISTER PVC / ALUM', '250', 'U', ''), ('9812-01', '9812', 'METOCARBAMOL TABLETAS 750MG', 'INVIMA 2005 M-002325 R1', '2015-09-22', 'Vigente', 'MUESTRA MÉDICA: CAJA POR 6 TABLETAS EN BLISTE', '6', 'U', 'LABORATORIOS CALIFORNIA S.A.'), ('9812-02', '9812', '', '', '0000-00-00', '', 'MUESTRA MÉDICA: CAJA POR 10 TABLETAS EN BLIST', '10', 'U', ''), ('9812-03', '9812', '', '', '0000-00-00', '', 'CAJA POR 10 TABLETAS EN ENVASE BLISTER ALUMIN', '10', 'U', ''), ('9812-04', '9812', '', '', '0000-00-00', '', 'CAJA POR 20 TABLETAS EN ENVASE BLISTER ALUMIN', '20', 'U', ''), ('9812-05', '9812', '', '', '0000-00-00', '', 'CAJA POR 30 TABLETAS EN ENVASE BLISTER ALUMIN', '30', 'U', ''), ('9812-06', '9812', '', '', '0000-00-00', '', 'CAJA POR 50 TABLETAS EN ENVASE BLISTER ALUMIN', '50', 'U', ''), ('9812-07', '9812', '', '', '0000-00-00', '', 'CAJA POR 60 TABLETAS EN ENVASE BLISTER ALUMIN', '60', 'U', ''), ('9812-08', '9812', '', '', '0000-00-00', '', 'CAJA POR 100 TABLETAS EN ENVASE BLISTER ALUMI', '100', 'U', ''), ('9812-09', '9812', '', '', '0000-00-00', '', 'CAJA POR 200 TABLETAS EN ENVASE BLISTER ALUMI', '200', 'U', ''), ('9812-10', '9812', '', '', '0000-00-00', '', 'CAJA POR 250 TABLETAS EN ENVASE BLISTER ALUMI', '250', 'U', ''), ('9855-01', '9855', 'LORATADINA TABLETAS 10 MG', 'INVIMA 2005 M-002539 R-1', '2015-10-31', 'Vigente', 'CAJA PLEGADIZA POR 10 TABLETAS', '10', 'U', 'COLOMPACK S.A.'), ('9855-02', '9855', '', '', '0000-00-00', '', 'CAJA PLEGADIZA POR 20 TABLETAS', '20', 'U', ''), ('9855-03', '9855', '', '', '0000-00-00', '', 'CAJA PLEGADIZA POR 30 TABLETAS', '30', 'U', ''), ('9855-04', '9855', '', '', '0000-00-00', '', 'CAJA PLEGADIZA POR 50 TABLETAS', '50', 'U', ''), ('9855-05', '9855', '', '', '0000-00-00', '', 'CAJA PLEGADIZA POR 100 TABLETAS', '100', 'U', ''), ('9855-06', '9855', '', '', '0000-00-00', '', 'CAJA PLEGADIZA POR 200 TABLETAS', '200', 'U', ''), ('9855-07', '9855', '', '', '0000-00-00', '', 'CAJA PLEGADIZA POR 300 TABLETAS', '300', 'U', ''); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `departamentos` -- CREATE TABLE IF NOT EXISTS `departamentos` ( `CodDepart` varchar(3) NOT NULL, `Nombre` varchar(45) NOT NULL, PRIMARY KEY (`CodDepart`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `departamentos` -- INSERT INTO `departamentos` (`CodDepart`, `Nombre`) VALUES ('001', 'Cesar'), ('002', 'Cundinamarca'), ('003', 'Atlantico'), ('004', 'Bolivar'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `detallediagnostico` -- CREATE TABLE IF NOT EXISTS `detallediagnostico` ( `idDiagn` varchar(45) NOT NULL, `Nhistoria` varchar(16) NOT NULL, `CedPac` varchar(12) NOT NULL, `CedMed` varchar(12) NOT NULL, `Fecha` datetime NOT NULL, `Cap` varchar(4) NOT NULL, `CodDiag` varchar(4) NOT NULL, `NombreDiag` varchar(255) NOT NULL, `Observ` varchar(255) DEFAULT NULL, PRIMARY KEY (`idDiagn`), KEY `Nhis_Fk_idx` (`Nhistoria`), KEY `sub_enf_fk_idx` (`CodDiag`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `enfermedades` -- CREATE TABLE IF NOT EXISTS `enfermedades` ( `Capitulo` varchar(3) NOT NULL, `Descripcion` varchar(130) NOT NULL, `Codigos` varchar(7) NOT NULL, PRIMARY KEY (`Capitulo`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `enfermedades` -- INSERT INTO `enfermedades` (`Capitulo`, `Descripcion`, `Codigos`) VALUES ('C01', ' ENFERMEDADES INFECCIOSAS Y PARASITARIAS', 'A00-B99'), ('C02', 'TUMORES ', 'C00-D48'), ('C03', 'ENFERMEDADES DE LA SANGRE Y DE LOS ORGANOS HEMATOPOYETICOS, Y CIERTOS TRASTORNOS QUE AFECTAN EL MECANISMO DE LA INMUNIDAD ', 'D50-D89'), ('C04', 'ENFERMEDADES ENDOCRINAS, NUTRICIONALES Y METABOLICAS', 'E00-E90'), ('C05', 'TRASTORNOS MENTALES Y DEL COMPORTAMIENTO', 'F00-F99'), ('C06', 'ENFERMEDADES DEL SISTEMA NERVIOSO', 'G00-G99'), ('C07', 'ENFERMEDADES DEL OJO Y SUS ANEXOS', 'H00-H59'), ('C08', 'ENFERMEDADES DEL OIDO Y DE LA APOFISIS MASTOIDES', 'H60-H95'), ('C09', 'ENFERMEDADES DEL SISTEMA CIRCULATORIO', 'I00-I99'), ('C10', 'ENFERMEDADES DEL SISTEMA RESPIRATORIO', 'J00-J99'), ('C11', 'ENFERMEDADES DEL SISTEMA DIGESTIVO', 'K00-K93'), ('C12', 'ENFERMEDADES DE LA PIEL Y DEL TEJIDO SUBCUTANEO', 'L00-L99'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `formula` -- CREATE TABLE IF NOT EXISTS `formula` ( `idFormula` varchar(12) NOT NULL, `CedPac` varchar(12) NOT NULL, `CedMed` varchar(12) NOT NULL, `fecha` datetime NOT NULL, `CodMedicam` varchar(20) NOT NULL, `NombMed` varchar(255) NOT NULL, `Desc` varchar(45) DEFAULT NULL, `Cantidad` int(11) NOT NULL, `Dosis` varchar(45) NOT NULL, `Duracion` int(11) NOT NULL, PRIMARY KEY (`idFormula`), KEY `id_Medicamento_idx` (`CodMedicam`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `gruposenfermedades` -- CREATE TABLE IF NOT EXISTS `gruposenfermedades` ( `IdGrupo` int(4) NOT NULL AUTO_INCREMENT, `Capitulo` varchar(3) NOT NULL, `Descripcion` varchar(165) NOT NULL, `Codigos` varchar(7) NOT NULL, PRIMARY KEY (`IdGrupo`), KEY `Capitulo_FK_idx` (`Capitulo`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=23 ; -- -- Volcado de datos para la tabla `gruposenfermedades` -- INSERT INTO `gruposenfermedades` (`IdGrupo`, `Capitulo`, `Descripcion`, `Codigos`) VALUES (1, 'C01', 'ENFERMEDADES INFECCIOSAS INTESTINALES', 'A00-A09'), (2, 'C01', 'TUBERCULOSIS', 'A15-A19'), (3, 'C01', 'CIERTAS ZOONOSIS BACTERIANAS', 'A20-A28'), (4, 'C01', 'OTRAS ENFERMEDADES BACTERIANAS', 'A30-A49'), (5, 'C01', 'INFECCIONES CON MODO DE TRANSMISIÓN PREDOMINANTEMENTE SEXUAL', 'A50-A64'), (6, 'C01', 'OTRAS ENFERMEDADES DEBIDAS A ESPIROQUETAS', 'A65-A69'), (7, 'C01', 'OTRAS ENFERMEDADES CAUSADAS POR CLAMIDIAS', 'A70-A74'), (8, 'C01', 'RICKETTSIOSIS', 'A75-A79'), (9, 'C01', 'INFECCIONES VIRALES DEL SISTEMA NERVIOSO CENTRAL', 'A80-A89'), (10, 'C01', 'FIEBRES VIRALES TRANSMITIDAS POR ARTROPODOS Y FIEBRES VIRALES HEMORRAGICAS', 'A90-A99'), (11, 'C01', 'INFECCIONES VIRALES CARACTERIZADAS POR LESIONES DE LA PIEL Y DE LAS MEMBRANAS MUCOSAS', 'B00-B09'), (12, 'C01', 'HEPATITIS VIRAL ', 'B15-B19'), (13, 'C01', 'ENFERMEDAD POR VIRUS DE LA INMUNODEFICIENCIA HUMANA (VIH)', 'B20-B24'), (14, 'C01', 'OTRAS ENFERMEDADES VIRALES', 'B25-B34'), (15, 'C01', 'MICOSIS', 'B35-B49'), (16, 'C01', 'ENFERMEDADES DEBIDAS A PROTOZOARIOS', 'B50-B64'), (17, 'C01', 'HELMINTIASIS', 'B65-B83'), (18, 'C01', 'PEDICULOSIS, ACARIASIS Y OTRAS INFESTACIONES', 'B85-B89'), (19, 'C01', 'SECUELAS DE ENFERMEDADES INFECCIOSAS Y PARASITARIAS', 'B90-B94'), (20, 'C01', 'BACTERIAS, VIRUS Y OTROS AGENTES INFECCIOSOS', 'B95-B97'), (21, 'C01', 'OTRAS ENFERMEDADES INFECCIOSAS', 'B99'), (22, 'C02', 'TUMORES MALIGNOS DEL LABIO DE LA CAVIDAD BUCAL Y DE FARINGE', 'C00-C14'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `historiasclinicas` -- CREATE TABLE IF NOT EXISTS `historiasclinicas` ( `idHistoria` varchar(16) NOT NULL, `IdPaciente` varchar(12) NOT NULL, `IdMedico` varchar(12) NOT NULL, `FecAtencion` date NOT NULL, `Observaciones` varchar(255) DEFAULT NULL, `AntPerson` varchar(255) DEFAULT NULL, `AntFamilia` varchar(255) DEFAULT NULL, `Edad` int(11) NOT NULL, `Peso` varchar(5) NOT NULL, `Talla` varchar(5) NOT NULL, `PreSis` varchar(45) DEFAULT NULL, `PreDias` varchar(45) DEFAULT NULL, PRIMARY KEY (`idHistoria`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `horario` -- CREATE TABLE IF NOT EXISTS `horario` ( `HoraInicio` time NOT NULL, `HoraFinal` time NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `horario` -- INSERT INTO `horario` (`HoraInicio`, `HoraFinal`) VALUES ('08:00:00', '08:29:00'), ('08:30:00', '08:59:00'), ('09:00:00', '09:29:00'), ('09:30:00', '09:59:00'), ('10:00:00', '10:29:00'), ('10:30:00', '10:59:00'), ('11:00:00', '11:29:00'), ('11:30:00', '11:59:00'), ('12:00:00', '12:29:00'), ('12:30:00', '12:59:00'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `municipios` -- CREATE TABLE IF NOT EXISTS `municipios` ( `idMuni` varchar(4) NOT NULL, `Nombre` varchar(45) NOT NULL, `CodDepart` varchar(3) NOT NULL, PRIMARY KEY (`idMuni`), KEY `departa_FK_idx` (`CodDepart`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `municipios` -- INSERT INTO `municipios` (`idMuni`, `Nombre`, `CodDepart`) VALUES ('0001', 'AGUACHICA', '001'), ('0002', 'VALLEDUPAR', '001'), ('0003', 'BECERRIL', '001'), ('0004', 'TAMALAMEQUE', '001'), ('0005', 'BOSCONIA', '001'), ('0006', 'EL PASO', '001'), ('0007', 'LA GLORIA', '001'), ('0008', 'ASTREA', '001'), ('0009', 'LA PAZ', '001'), ('0010', 'EL COPEY', '001'), ('0011', 'SANTA FE DE BOGOTA', '002'), ('0012', 'CAJICA', '002'), ('0013', 'CHIA', '002'), ('0014', 'FACATATIVA', '002'), ('0015', 'GIRARDOT', '002'), ('0016', 'FUSAGASUGA', '002'), ('0017', 'MADRID', '002'), ('0018', 'SOACHA', '002'), ('0019', 'UBATE', '002'), ('0020', 'GUADUAS', '002'), ('0021', 'BARRANQUILLA', '003'), ('0022', 'SOLEDAD', '003'), ('0023', 'SABANAGRANDE', '003'), ('0024', 'SANTA LUCIA', '003'), ('0025', 'MALAMBO', '003'), ('0026', 'CAMPO DE LA CRUZ', '003'), ('0027', 'PALO NUEVO', '003'), ('0028', 'SANTO TOMAS', '003'), ('0029', 'BARANOA', '003'), ('0030', 'LURUACO', '003'), ('0031', 'CARTAGENA', '004'), ('0032', 'CORDOBA', '004'), ('0033', 'CARMEN DE BOLIVAR', '004'), ('0034', 'MOMPOX', '004'), ('0035', 'MONTE CRISTO', '004'), ('0036', 'TURBACO', '004'), ('0037', 'SANTA CATALINA', '004'), ('0038', 'MARGARITA', '004'), ('0039', 'MAHATES', '004'), ('0040', 'EL GUAMO', '004'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `nivel` -- CREATE TABLE IF NOT EXISTS `nivel` ( `idNivel` varchar(2) NOT NULL, `Nivel` varchar(45) NOT NULL, PRIMARY KEY (`idNivel`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `nivel` -- INSERT INTO `nivel` (`idNivel`, `Nivel`) VALUES ('01', 'ADMINISTRADOR'), ('02', 'MEDICO'), ('03', 'SECRETARIO'), ('04', 'PACIENTE'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `persona` -- CREATE TABLE IF NOT EXISTS `persona` ( `Nafilia` varchar(10) NOT NULL, `FecAfilia` date NOT NULL, `TipoDoc` varchar(3) NOT NULL, `Identificacion` varchar(12) NOT NULL DEFAULT '', `Nombre` varchar(35) NOT NULL, `Apellidos` varchar(35) NOT NULL, `FecNac` date NOT NULL, `sexo` varchar(10) NOT NULL, `EstaCivil` varchar(20) NOT NULL, `Municipio` varchar(4) NOT NULL, `Barrio` varchar(45) NOT NULL, `Direccion` varchar(45) NOT NULL, `Telefono` varchar(15) NOT NULL, `Email` varchar(45) NOT NULL, `Estrato` varchar(2) NOT NULL, `Estado` varchar(15) NOT NULL, `Clave` varchar(50) NOT NULL, `Nivel` varchar(2) NOT NULL, `TipoAfil` varchar(3) DEFAULT NULL, `Escolaridad` varchar(45) DEFAULT NULL, `Codprofe` varchar(10) DEFAULT NULL, `Especialidad` varchar(45) DEFAULT NULL, PRIMARY KEY (`Nafilia`), UNIQUE KEY `Identificacion_UNIQUE` (`Identificacion`), UNIQUE KEY `codprofe_UNIQUE` (`Codprofe`), KEY `nivel_Fk_idx` (`Nivel`), KEY `doc_Fk_idx` (`TipoDoc`), KEY `muni_Fk_idx` (`Municipio`), KEY `tip_afil_idx` (`TipoAfil`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `persona` -- INSERT INTO `persona` (`Nafilia`, `FecAfilia`, `TipoDoc`, `Identificacion`, `Nombre`, `Apellidos`, `FecNac`, `sexo`, `EstaCivil`, `Municipio`, `Barrio`, `Direccion`, `Telefono`, `Email`, `Estrato`, `Estado`, `Clave`, `Nivel`, `TipoAfil`, `Escolaridad`, `Codprofe`, `Especialidad`) VALUES ('2013-00001', '2013-06-15', 'C.C', '1212121', 'daniel', 'martinez', '2013-06-11', 'Masculino', 'Soltero', '0012', 'san jorge', 'cra 12 # 13-4', '547896', 'wdam12@hotmail.com', '3', 'Activo', '7c4a8d09ca3762af61e59520943dc26494f8941b', '04', '001', 'Especializacion', NULL, NULL), ('2013-00002', '2013-06-15', 'C.C', '1065652', 'Jose Daniel', 'Arias Arias', '1965-02-14', 'Masculino', 'Viudo(a)', '0002', 'victoria', 'cra 36 # 54 -21', '5602317', 'josue@hotmail.com', '2', 'Activo', '9f3349ce16d0d0fe87881d8bb1c6f554684be366', '02', NULL, NULL, 'mt5478', 'Medico General'), ('2013-00003', '2013-06-15', 'C.C', '1065653', 'Marco jose', 'Perez Martinez', '1958-06-14', 'Masculino', 'Casado', '0002', 'sabanas', 'cll 10 $ 14 - 23', '5781487', 'marcos@hotmail.com', '3', 'Activo', '3829486b93ec44395f0b980424bae9b6fb07b7bc', '02', NULL, NULL, 'm3bn456', 'Neurologo'), ('2013-00004', '2013-05-30', 'C.C', '12345', 'wendell daniel', 'arias martinez', '1993-11-15', 'masculino', 'soltero', '0002', 'San joaquin', 'cra 9 # 12-32', '5487978', 'wdam12@hotmail.com', '3', 'Activo', 'd033e22ae348aeb5660fc2140aec35850c4da997', '01', NULL, NULL, NULL, NULL), ('2013-00005', '2013-06-16', 'C.C', '1478523', 'leam esther', 'pumarejo caceres', '1992-10-11', 'Femenino', 'Casado', '0013', 'dindalito', 'trav 23 #12 -34', '6547892', 'leam@hotmail.com', '6', 'Activo', 'd033e22ae348aeb5660fc2140aec35850c4da997', '04', '002', 'Universitaria', NULL, NULL); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `subgrupoenfermedades` -- CREATE TABLE IF NOT EXISTS `subgrupoenfermedades` ( `Codigo` varchar(4) NOT NULL, `Descripcion` varchar(255) NOT NULL, `GrupoMortalidad` varchar(3) NOT NULL, `Capitulo` varchar(3) NOT NULL, `IdSubgrupo` int(4) NOT NULL, PRIMARY KEY (`Codigo`), KEY `SubGrupo_FK_idx` (`IdSubgrupo`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `subgrupoenfermedades` -- INSERT INTO `subgrupoenfermedades` (`Codigo`, `Descripcion`, `GrupoMortalidad`, `Capitulo`, `IdSubgrupo`) VALUES ('A000', 'DESCRIPCION COLERA DEBIDO A VIBRIO CHOLERAE O1, BIOTIPO CHOLERAE', '1', 'C01', 1), ('A001', 'COLERA DEBIDO A VIBRIO CHOLERAE O1, BIOTIPO EL TOR', '1', 'C01', 1), ('A009', 'COLERA NO ESPECIFICADO', '1', 'C01', 1), ('A010', 'FIEBRE TIFOIDEA', '1', 'C01', 1), ('A011', 'FIEBRE PARATIFOIDEA A', '1', 'C01', 1), ('A012', 'FIEBRE PARATIFOIDEA B', '1', 'C01', 1), ('A013', 'FIEBRE PARATIFOIDEA C', '1', 'C01', 1), ('A014', 'FIEBRE PARATIFOIDEA, NO ESPECIFICADA', '1', 'C01', 1), ('A020', 'ENTERITIS DEBIDA A SALMONELLA', '1', 'C01', 1), ('A021', 'SEPTICEMIA DEBIDA A SALMONELLA', '1', 'C01', 1), ('A022', 'INFECCIONES LOCALIZADAS DEBIDA A SALMONELLA', '1', 'C01', 1), ('A039', 'SHIGELOSIS DE TIPO NO ESPECIFICADO', '1', 'C01', 1), ('A040', 'INFECCION DEBIDA A ESCHERICHIA COLI ENTEROPATOGENA', '1', 'C01', 1), ('A041', 'INFECCION DEBIDA A ESCHERICHIA COLI ENTEROTOXIGENA', '1', 'C01', 1), ('A042', 'INFECCION DEBIDA A ESCHERICHIA COLI ENTEROINVASIVA', '1', 'C01', 1), ('A043', 'INFECCION DEBIDA A ESCHERICHIA COLI ENTEROHEMORRAGICA', '1', 'C01', 1), ('A044', 'OTRAS INFECCIONES INTESTINALES DEBIDAS A ESCHERICHIA COLI', '1', 'C01', 1), ('A045', 'ENTERITIS DEBIDA A CAMPYLOBACTER', '1', 'C01', 1), ('A046', 'ENTERITIS DEBIDA A YERSINIA ENTEROCOLITICA', '1', 'C01', 1), ('A047', 'ENTEROCOLITIS DEBIDA A CLOSTRIDIUM DIFFICILE', '1', 'C01', 1); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `tipoafiliado` -- CREATE TABLE IF NOT EXISTS `tipoafiliado` ( `Codigo` varchar(3) NOT NULL, `Descripcion` varchar(35) NOT NULL, PRIMARY KEY (`Codigo`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `tipoafiliado` -- INSERT INTO `tipoafiliado` (`Codigo`, `Descripcion`) VALUES ('001', 'Cotizante'), ('002', 'Beneficiario'), ('003', 'Vinculado'), ('004', 'Otro'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `tipodocumento` -- CREATE TABLE IF NOT EXISTS `tipodocumento` ( `idTipoDoc` varchar(3) NOT NULL, `Descripcion` varchar(35) NOT NULL, PRIMARY KEY (`idTipoDoc`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `tipodocumento` -- INSERT INTO `tipodocumento` (`idTipoDoc`, `Descripcion`) VALUES ('C.C', 'CEDULA DE CIUDADANIA'), ('N.N', 'OTRO'), ('P.S', 'PASAPORTE'), ('R.C', 'REGISTRO CIVIL'), ('T.I', 'TARJETA DE INDENTIDAD'); -- -- Restricciones para tablas volcadas -- -- -- Filtros para la tabla `atencionmedica` -- ALTER TABLE `atencionmedica` ADD CONSTRAINT `idcita_Fk` FOREIGN KEY (`NRegistro`) REFERENCES `citas` (`idCitas`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `citas` -- ALTER TABLE `citas` ADD CONSTRAINT `idpac` FOREIGN KEY (`idPaciente`) REFERENCES `persona` (`Identificacion`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `detallediagnostico` -- ALTER TABLE `detallediagnostico` ADD CONSTRAINT `Nhis_Fk` FOREIGN KEY (`Nhistoria`) REFERENCES `historiasclinicas` (`idHistoria`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `sub_enf_fk` FOREIGN KEY (`CodDiag`) REFERENCES `subgrupoenfermedades` (`Codigo`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `formula` -- ALTER TABLE `formula` ADD CONSTRAINT `id_Medicamento` FOREIGN KEY (`CodMedicam`) REFERENCES `cum` (`idCUM`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `gruposenfermedades` -- ALTER TABLE `gruposenfermedades` ADD CONSTRAINT `Capitulo_FK` FOREIGN KEY (`Capitulo`) REFERENCES `enfermedades` (`Capitulo`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `municipios` -- ALTER TABLE `municipios` ADD CONSTRAINT `departa_FK` FOREIGN KEY (`CodDepart`) REFERENCES `departamentos` (`CodDepart`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `persona` -- ALTER TABLE `persona` ADD CONSTRAINT `munic_Fk` FOREIGN KEY (`Municipio`) REFERENCES `municipios` (`idMuni`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `nivela_Fk` FOREIGN KEY (`Nivel`) REFERENCES `nivel` (`idNivel`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `tidoc_Fk` FOREIGN KEY (`TipoDoc`) REFERENCES `tipodocumento` (`idTipoDoc`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `tip_afil` FOREIGN KEY (`TipoAfil`) REFERENCES `tipoafiliado` (`Codigo`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `subgrupoenfermedades` -- ALTER TABLE `subgrupoenfermedades` ADD CONSTRAINT `SubGrupo_FK` FOREIGN KEY (`IdSubgrupo`) REFERENCES `gruposenfermedades` (`IdGrupo`) ON DELETE NO ACTION ON UPDATE NO ACTION; /*!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 */;
/* ---------------------------------------------------- */ /* Generated by Enterprise Architect Version 13.5 */ /* Created On : 22-Feb-2020 4:33:33 PM */ /* DBMS : PostgreSQL */ /* ---------------------------------------------------- */ /* Drop Sequences for Autonumber Columns */ /* Drop Tables */ DROP TABLE IF EXISTS Accidente CASCADE ; DROP TABLE IF EXISTS Avion CASCADE ; DROP TABLE IF EXISTS Entidad CASCADE ; DROP TABLE IF EXISTS Fabricante CASCADE ; DROP TABLE IF EXISTS Situacion CASCADE ; DROP TABLE IF EXISTS Vuelo CASCADE ; /* Create Tables */ CREATE TABLE Accidente ( k_numaccidente serial NOT NULL, w_ntsbdoc varchar(100) NULL, "d_conclusion" varchar(500) NOT NULL, n_heridos numeric NULL, n_muertos numeric NULL ) ; CREATE TABLE Avion ( k_nommodelo varchar(50) NOT NULL, d_general varchar(200) NULL, k_nomfabricante varchar(50) NULL ) ; CREATE TABLE Entidad ( k_nomentidad varchar(50) NOT NULL, f_fundacion date NULL, s_tipo varchar(50) NOT NULL ) ; CREATE TABLE Fabricante ( k_nomfabricante varchar(50) NOT NULL, f_fundacion date NULL, u_headquarter varchar(50) NULL ) ; CREATE TABLE Situacion ( k_num integer NOT NULL, un_lat numeric(8,6) NOT NULL, un_lon numeric(9,6) NOT NULL, u_nomlugar varchar(30) NULL, f_hora timestamp with time zone NOT NULL, "d_situacion" varchar(200) NOT NULL, iframe_osm varchar(200) NOT NULL, un_altitud integer NULL, k_numaccidente serial NOT NULL ) ; CREATE TABLE Vuelo ( k_nomvuelo varchar(10) NOT NULL, f_salida timestamp with time zone NOT NULL, u_ciudadorigen varchar(50) NOT NULL, u_ciudaddestino varchar(50) NULL, "i_registroavion" varchar(6) NOT NULL, k_nomentidad varchar(50) NULL, k_nommodelo varchar(50) NULL, k_numaccidente serial NOT NULL ) ; /* Create Primary Keys, Indexes, Uniques, Checks */ ALTER TABLE Accidente ADD CONSTRAINT PK_numaccidente PRIMARY KEY (k_numaccidente) ; ALTER TABLE Accidente ADD CONSTRAINT CHK_heridosmayorcero CHECK (n_heridos >= 0) ; ALTER TABLE Accidente ADD CONSTRAINT CHK_muertosmayorcero CHECK (n_muertos >= 0) ; ALTER TABLE Avion ADD CONSTRAINT PK_nommodelo PRIMARY KEY (k_nommodelo) ; ALTER TABLE Entidad ADD CONSTRAINT PK_nomentidad PRIMARY KEY (k_nomentidad) ; ALTER TABLE Entidad ADD CONSTRAINT CHK_tipoentidad CHECK (s_tipo in ('Militar','Comercial','Privado')) ; ALTER TABLE Fabricante ADD CONSTRAINT PK_nomfabricante PRIMARY KEY (k_nomfabricante) ; ALTER TABLE Situacion ADD CONSTRAINT PK_num PRIMARY KEY (k_num,k_numaccidente) ; ALTER TABLE Situacion ADD CONSTRAINT CHK_latitud CHECK (un_lat <= 90 AND un_lat >= -90) ; ALTER TABLE Situacion ADD CONSTRAINT CHK_longitud CHECK (un_lon <= 180 AND un_lon >= -180) ; ALTER TABLE Vuelo ADD CONSTRAINT PK_Vuelo PRIMARY KEY (k_nomvuelo,f_salida) ; /* Create Foreign Key Constraints */ ALTER TABLE Avion ADD CONSTRAINT FK_Avion_Fabricante FOREIGN KEY (k_nomfabricante) REFERENCES Fabricante (k_nomfabricante) ON DELETE No Action ON UPDATE No Action ; ALTER TABLE Situacion ADD CONSTRAINT FK_Situacion_Accidente FOREIGN KEY (k_numaccidente) REFERENCES Accidente (k_numaccidente) ON DELETE Cascade ON UPDATE Cascade ; ALTER TABLE Vuelo ADD CONSTRAINT FK_Vuelo_Accidente FOREIGN KEY (k_numaccidente) REFERENCES Accidente (k_numaccidente) ON DELETE No Action ON UPDATE No Action ; ALTER TABLE Vuelo ADD CONSTRAINT FK_Vuelo_Avion FOREIGN KEY (k_nommodelo) REFERENCES Avion (k_nommodelo) ON DELETE No Action ON UPDATE No Action ; ALTER TABLE Vuelo ADD CONSTRAINT FK_Vuelo_Entidad FOREIGN KEY (k_nomentidad) REFERENCES Entidad (k_nomentidad) ON DELETE No Action ON UPDATE No Action ; /* Create Table Comments, Sequences for Autonumber Columns */
delete from HtmlLabelIndex where id=24487 / delete from HtmlLabelInfo where indexid=24487 / INSERT INTO HtmlLabelIndex values(24487,'聊天服务器地址') / INSERT INTO HtmlLabelInfo VALUES(24487,'聊天服务器地址',7) / INSERT INTO HtmlLabelInfo VALUES(24487,'Messager Server',8) / INSERT INTO HtmlLabelInfo VALUES(24487,'聊天服务器地址',9) / delete from HtmlLabelIndex where id=24488 / delete from HtmlLabelInfo where indexid=24488 / INSERT INTO HtmlLabelIndex values(24488,'聊天记录保存') / INSERT INTO HtmlLabelInfo VALUES(24488,'聊天记录保存',7) / INSERT INTO HtmlLabelInfo VALUES(24488,'Messager record save',8) / INSERT INTO HtmlLabelInfo VALUES(24488,'聊天记录保存',9) / delete from HtmlLabelIndex where id=24489 / delete from HtmlLabelInfo where indexid=24489 / INSERT INTO HtmlLabelIndex values(24489,'不保存') / INSERT INTO HtmlLabelInfo VALUES(24489,'不保存',7) / INSERT INTO HtmlLabelInfo VALUES(24489,'Not save',8) / INSERT INTO HtmlLabelInfo VALUES(24489,'不保存',9) / delete from HtmlLabelIndex where id=24490 / delete from HtmlLabelInfo where indexid=24490 / INSERT INTO HtmlLabelIndex values(24490,'一个月') / INSERT INTO HtmlLabelInfo VALUES(24490,'一个月',7) / INSERT INTO HtmlLabelInfo VALUES(24490,'One Month',8) / INSERT INTO HtmlLabelInfo VALUES(24490,'一个月',9) / delete from HtmlLabelIndex where id=24491 / delete from HtmlLabelInfo where indexid=24491 / INSERT INTO HtmlLabelIndex values(24491,'三个月') / INSERT INTO HtmlLabelInfo VALUES(24491,'三个月',7) / INSERT INTO HtmlLabelInfo VALUES(24491,'Three Month',8) / INSERT INTO HtmlLabelInfo VALUES(24491,'三个月',9) / delete from HtmlLabelIndex where id=20729 / delete from HtmlLabelInfo where indexid=20729 / INSERT INTO HtmlLabelIndex values(20729,'半年') / INSERT INTO HtmlLabelInfo VALUES(20729,'半年',7) / INSERT INTO HtmlLabelInfo VALUES(20729,'Half year',8) / INSERT INTO HtmlLabelInfo VALUES(20729,'半年',9) / delete from HtmlLabelIndex where id=24492 / delete from HtmlLabelInfo where indexid=24492 / INSERT INTO HtmlLabelIndex values(24492,'传送的文件保存目录') / INSERT INTO HtmlLabelInfo VALUES(24492,'传送的文件保存目录',7) / INSERT INTO HtmlLabelInfo VALUES(24492,'Directory to save file in Message',8) / INSERT INTO HtmlLabelInfo VALUES(24492,'传送的文件保存目录',9) / delete from HtmlLabelIndex where id=24493 / delete from HtmlLabelInfo where indexid=24493 / INSERT INTO HtmlLabelIndex values(24493,'如果不设置即为不保存聊天时传送的文件') / INSERT INTO HtmlLabelInfo VALUES(24493,'如果不设置即为不保存聊天时传送的文件',7) / INSERT INTO HtmlLabelInfo VALUES(24493,'If you do not set shall not save message file transfer',8) / INSERT INTO HtmlLabelInfo VALUES(24493,'如果不设置即为不保存聊天时传送的文件',9) / delete from HtmlLabelIndex where id=24494 / delete from HtmlLabelInfo where indexid=24494 / INSERT INTO HtmlLabelIndex values(24494,'附件大小限制') / INSERT INTO HtmlLabelInfo VALUES(24494,'附件大小限制',7) / INSERT INTO HtmlLabelInfo VALUES(24494,'Attachment size limit',8) / INSERT INTO HtmlLabelInfo VALUES(24494,'附件大小限制',9) / delete from HtmlLabelIndex where id=24495 / delete from HtmlLabelInfo where indexid=24495 / INSERT INTO HtmlLabelIndex values(24495,'Flash版本不对,不能传送文件') / INSERT INTO HtmlLabelInfo VALUES(24495,'Flash版本不对,不能传送文件',7) / INSERT INTO HtmlLabelInfo VALUES(24495,'Flash version does not match, can not transfer files',8) / INSERT INTO HtmlLabelInfo VALUES(24495,'Flash版本不对,不能传送文件',9) / delete from HtmlLabelIndex where id=24496 / delete from HtmlLabelInfo where indexid=24496 / INSERT INTO HtmlLabelIndex values(24496,'聊天窗口大小') / INSERT INTO HtmlLabelInfo VALUES(24496,'聊天窗口大小',7) / INSERT INTO HtmlLabelInfo VALUES(24496,'Chat window size',8) / INSERT INTO HtmlLabelInfo VALUES(24496,'聊天窗口大小',9) / delete from HtmlLabelIndex where id=24497 / delete from HtmlLabelInfo where indexid=24497 / INSERT INTO HtmlLabelIndex values(24497,'最大高度') / INSERT INTO HtmlLabelInfo VALUES(24497,'最大高度',7) / INSERT INTO HtmlLabelInfo VALUES(24497,'Maximum height',8) / INSERT INTO HtmlLabelInfo VALUES(24497,'最大高度',9) / delete from HtmlLabelIndex where id=24498 / delete from HtmlLabelInfo where indexid=24498 / INSERT INTO HtmlLabelIndex values(24498,'会议窗口大小') / INSERT INTO HtmlLabelInfo VALUES(24498,'会议窗口大小',7) / INSERT INTO HtmlLabelInfo VALUES(24498,'Conference size of the window',8) / INSERT INTO HtmlLabelInfo VALUES(24498,'会议窗口大小',9) / delete from HtmlLabelIndex where id=24499 / delete from HtmlLabelInfo where indexid=24499 / INSERT INTO HtmlLabelIndex values(24499,'是否允许调试') / INSERT INTO HtmlLabelInfo VALUES(24499,'是否允许调试',7) / INSERT INTO HtmlLabelInfo VALUES(24499,'Whether to allow debugging',8) / INSERT INTO HtmlLabelInfo VALUES(24499,'是否允许调试',9) / delete from HtmlLabelIndex where id=24500 / delete from HtmlLabelInfo where indexid=24500 / INSERT INTO HtmlLabelIndex values(24500,'允许调试人员的登录ID') / INSERT INTO HtmlLabelInfo VALUES(24500,'允许调试人员的登录ID',7) / INSERT INTO HtmlLabelInfo VALUES(24500,'Staff login ID to allow debugging',8) / INSERT INTO HtmlLabelInfo VALUES(24500,'允许调试人员的登录ID',9) / delete from HtmlLabelIndex where id=24501 / delete from HtmlLabelInfo where indexid=24501 / INSERT INTO HtmlLabelIndex values(24501,'间隔时间(秒)') / INSERT INTO HtmlLabelInfo VALUES(24501,'间隔时间(秒)',7) / INSERT INTO HtmlLabelInfo VALUES(24501,'Interval(Second)',8) / INSERT INTO HtmlLabelInfo VALUES(24501,'间隔时间(秒)',9) / delete from HtmlLabelIndex where id=24502 / delete from HtmlLabelInfo where indexid=24502 / INSERT INTO HtmlLabelIndex values(24502,'请选择图片') / INSERT INTO HtmlLabelInfo VALUES(24502,'请选择图片',7) / INSERT INTO HtmlLabelInfo VALUES(24502,'Please Select a picture',8) / INSERT INTO HtmlLabelInfo VALUES(24502,'请选择图片',9) / delete from HtmlLabelIndex where id=24503 / delete from HtmlLabelInfo where indexid=24503 / INSERT INTO HtmlLabelIndex values(24503,'点击拖动并在下图中选中相关区域') / INSERT INTO HtmlLabelInfo VALUES(24503,'点击拖动并在下图中选中相关区域',7) / INSERT INTO HtmlLabelInfo VALUES(24503,'Click and drag the picture below to select the relevant region',8) / INSERT INTO HtmlLabelInfo VALUES(24503,'点击拖动并在下图中选中相关区域',9) / delete from HtmlLabelIndex where id=24504 / delete from HtmlLabelInfo where indexid=24504 / INSERT INTO HtmlLabelIndex values(24504,'确认设置') / INSERT INTO HtmlLabelInfo VALUES(24504,'确认设置',7) / INSERT INTO HtmlLabelInfo VALUES(24504,'Confirm the setting',8) / INSERT INTO HtmlLabelInfo VALUES(24504,'确认设置',9) / delete from HtmlLabelIndex where id=24505 / delete from HtmlLabelInfo where indexid=24505 / INSERT INTO HtmlLabelIndex values(24505,'重新选取') / INSERT INTO HtmlLabelInfo VALUES(24505,'重新选取',7) / INSERT INTO HtmlLabelInfo VALUES(24505,'Re-selected',8) / INSERT INTO HtmlLabelInfo VALUES(24505,'重新选取',9) / delete from HtmlLabelIndex where id=24506 / delete from HtmlLabelInfo where indexid=24506 / INSERT INTO HtmlLabelIndex values(24506,'请选择JPG或GIF的图片') / INSERT INTO HtmlLabelInfo VALUES(24506,'请选择JPG或GIF的图片',7) / INSERT INTO HtmlLabelInfo VALUES(24506,'Please select the JPG or GIF images',8) / INSERT INTO HtmlLabelInfo VALUES(24506,'请选择JPG或GIF的图片',9) / delete from HtmlLabelIndex where id=19819 / delete from HtmlLabelInfo where indexid=19819 / INSERT INTO HtmlLabelIndex values(19819,'请稍候') / INSERT INTO HtmlLabelInfo VALUES(19819,'请稍候',7) / INSERT INTO HtmlLabelInfo VALUES(19819,'Please wait',8) / INSERT INTO HtmlLabelInfo VALUES(19819,'請稍候',9) / delete from HtmlLabelIndex where id=24506 / delete from HtmlLabelInfo where indexid=24506 / INSERT INTO HtmlLabelIndex values(24506,'请选择JPG或GIF的图片') / INSERT INTO HtmlLabelInfo VALUES(24506,'请选择JPG或GIF的图片',7) / INSERT INTO HtmlLabelInfo VALUES(24506,'Please select the JPG or GIF images',8) / INSERT INTO HtmlLabelInfo VALUES(24506,'请选择JPG或GIF的图片',9) / delete from HtmlLabelIndex where id=24508 / delete from HtmlLabelInfo where indexid=24508 / INSERT INTO HtmlLabelIndex values(24508,'正在登录聊天服务器') / INSERT INTO HtmlLabelInfo VALUES(24508,'正在登录聊天服务器',7) / INSERT INTO HtmlLabelInfo VALUES(24508,'Logining',8) / INSERT INTO HtmlLabelInfo VALUES(24508,'正在登录聊天服务器',9) / delete from HtmlLabelIndex where id=24509 / delete from HtmlLabelInfo where indexid=24509 / INSERT INTO HtmlLabelIndex values(24509,'确定要退出吗') / INSERT INTO HtmlLabelInfo VALUES(24509,'确定要退出吗',7) / INSERT INTO HtmlLabelInfo VALUES(24509,'Sure to quit',8) / INSERT INTO HtmlLabelInfo VALUES(24509,'确定要退出吗',9) / delete from HtmlLabelIndex where id=24510 / delete from HtmlLabelInfo where indexid=24510 / INSERT INTO HtmlLabelIndex values(24510,'隐藏聊天面板') / INSERT INTO HtmlLabelInfo VALUES(24510,'隐藏聊天面板',7) / INSERT INTO HtmlLabelInfo VALUES(24510,'Hide chat panel',8) / INSERT INTO HtmlLabelInfo VALUES(24510,'隐藏聊天面板',9) / delete from HtmlLabelIndex where id=24511 / delete from HtmlLabelInfo where indexid=24511 / INSERT INTO HtmlLabelIndex values(24511,'点击更换头像') / INSERT INTO HtmlLabelInfo VALUES(24511,'点击更换头像',7) / INSERT INTO HtmlLabelInfo VALUES(24511,'Click to change picture',8) / INSERT INTO HtmlLabelInfo VALUES(24511,'点击更换头像',9) / delete from HtmlLabelIndex where id=24512 / delete from HtmlLabelInfo where indexid=24512 / INSERT INTO HtmlLabelIndex values(24512,'点击切换用户状态') / INSERT INTO HtmlLabelInfo VALUES(24512,'点击切换用户状态',7) / INSERT INTO HtmlLabelInfo VALUES(24512,'Click Switch User Status',8) / INSERT INTO HtmlLabelInfo VALUES(24512,'点击切换用户状态',9) / delete from HtmlLabelIndex where id=24513 / delete from HtmlLabelInfo where indexid=24513 / INSERT INTO HtmlLabelIndex values(24513,'头像') / INSERT INTO HtmlLabelInfo VALUES(24513,'头像',7) / INSERT INTO HtmlLabelInfo VALUES(24513,'Avatar',8) / INSERT INTO HtmlLabelInfo VALUES(24513,'头像',9) / delete from HtmlLabelIndex where id=24514 / delete from HtmlLabelInfo where indexid=24514 / INSERT INTO HtmlLabelIndex values(24514,'风格') / INSERT INTO HtmlLabelInfo VALUES(24514,'风格',7) / INSERT INTO HtmlLabelInfo VALUES(24514,'Style',8) / INSERT INTO HtmlLabelInfo VALUES(24514,'风格',9) / delete from HtmlLabelIndex where id=24515 / delete from HtmlLabelInfo where indexid=24515 / INSERT INTO HtmlLabelIndex values(24515,'最近') / INSERT INTO HtmlLabelInfo VALUES(24515,'最近',7) / INSERT INTO HtmlLabelInfo VALUES(24515,'Recent',8) / INSERT INTO HtmlLabelInfo VALUES(24515,'最近',9) / delete from HtmlLabelIndex where id=18511 / delete from HtmlLabelInfo where indexid=18511 / INSERT INTO HtmlLabelIndex values(18511,'同部门') / INSERT INTO HtmlLabelInfo VALUES(18511,'同部门',7) / INSERT INTO HtmlLabelInfo VALUES(18511,'in the same department',8) / INSERT INTO HtmlLabelInfo VALUES(18511,'同部門',9) / delete from HtmlLabelIndex where id=24516 / delete from HtmlLabelInfo where indexid=24516 / INSERT INTO HtmlLabelIndex values(24516,'发起会议') / INSERT INTO HtmlLabelInfo VALUES(24516,'发起会议',7) / INSERT INTO HtmlLabelInfo VALUES(24516,'Launch meeting',8) / INSERT INTO HtmlLabelInfo VALUES(24516,'发起会议',9) / delete from HtmlLabelIndex where id=24517 / delete from HtmlLabelInfo where indexid=24517 / INSERT INTO HtmlLabelIndex values(24517,'刷新会议') / INSERT INTO HtmlLabelInfo VALUES(24517,'刷新会议',7) / INSERT INTO HtmlLabelInfo VALUES(24517,'Refresh Conference',8) / INSERT INTO HtmlLabelInfo VALUES(24517,'刷新会议',9) / delete from HtmlLabelIndex where id=24518 / delete from HtmlLabelInfo where indexid=24518 / INSERT INTO HtmlLabelIndex values(24518,'蓝色') / INSERT INTO HtmlLabelInfo VALUES(24518,'蓝色',7) / INSERT INTO HtmlLabelInfo VALUES(24518,'Blue',8) / INSERT INTO HtmlLabelInfo VALUES(24518,'蓝色',9) / delete from HtmlLabelIndex where id=24519 / delete from HtmlLabelInfo where indexid=24519 / INSERT INTO HtmlLabelIndex values(24519,'黄色') / INSERT INTO HtmlLabelInfo VALUES(24519,'黄色',7) / INSERT INTO HtmlLabelInfo VALUES(24519,'Yellow',8) / INSERT INTO HtmlLabelInfo VALUES(24519,'黄色',9) / delete from HtmlLabelIndex where id=24520 / delete from HtmlLabelInfo where indexid=24520 / INSERT INTO HtmlLabelIndex values(24520,'红色') / INSERT INTO HtmlLabelInfo VALUES(24520,'红色',7) / INSERT INTO HtmlLabelInfo VALUES(24520,'Red',8) / INSERT INTO HtmlLabelInfo VALUES(24520,'红色',9) / delete from HtmlLabelIndex where id=19096 / delete from HtmlLabelInfo where indexid=19096 / INSERT INTO HtmlLabelIndex values(19096,'空闲') / INSERT INTO HtmlLabelInfo VALUES(19096,'空闲',7) / INSERT INTO HtmlLabelInfo VALUES(19096,'vacancy',8) / INSERT INTO HtmlLabelInfo VALUES(19096,'空閒',9) / delete from HtmlLabelIndex where id=24521 / delete from HtmlLabelInfo where indexid=24521 / INSERT INTO HtmlLabelIndex values(24521,'繁忙') / INSERT INTO HtmlLabelInfo VALUES(24521,'繁忙',7) / INSERT INTO HtmlLabelInfo VALUES(24521,'Busy',8) / INSERT INTO HtmlLabelInfo VALUES(24521,'繁忙',9) / delete from HtmlLabelIndex where id=24522 / delete from HtmlLabelInfo where indexid=24522 / INSERT INTO HtmlLabelIndex values(24522,'会议密码') / INSERT INTO HtmlLabelInfo VALUES(24522,'会议密码',7) / INSERT INTO HtmlLabelInfo VALUES(24522,'Meeting Password',8) / INSERT INTO HtmlLabelInfo VALUES(24522,'会议密码',9) / delete from HtmlLabelIndex where id=16631 / delete from HtmlLabelInfo where indexid=16631 / INSERT INTO HtmlLabelIndex values(16631,'确认') / INSERT INTO HtmlLabelInfo VALUES(16631,'确认',7) / INSERT INTO HtmlLabelInfo VALUES(16631,'Confirm',8) / INSERT INTO HtmlLabelInfo VALUES(16631,'確認',9) / delete from HtmlLabelIndex where id=24523 / delete from HtmlLabelInfo where indexid=24523 / INSERT INTO HtmlLabelIndex values(24523,'个人图像设置') / INSERT INTO HtmlLabelInfo VALUES(24523,'个人图像设置',7) / INSERT INTO HtmlLabelInfo VALUES(24523,'Personal Image settings',8) / INSERT INTO HtmlLabelInfo VALUES(24523,'个人图像设置',9) / delete from HtmlLabelIndex where id=24524 / delete from HtmlLabelInfo where indexid=24524 / INSERT INTO HtmlLabelIndex values(24524,'设置用户主题') / INSERT INTO HtmlLabelInfo VALUES(24524,'设置用户主题',7) / INSERT INTO HtmlLabelInfo VALUES(24524,'Set user topics',8) / INSERT INTO HtmlLabelInfo VALUES(24524,'设置用户主题',9) / delete from HtmlLabelIndex where id=24525 / delete from HtmlLabelInfo where indexid=24525 / INSERT INTO HtmlLabelIndex values(24525,'设置用户状态') / INSERT INTO HtmlLabelInfo VALUES(24525,'设置用户状态',7) / INSERT INTO HtmlLabelInfo VALUES(24525,'Set user status',8) / INSERT INTO HtmlLabelInfo VALUES(24525,'设置用户状态',9) / delete from HtmlLabelIndex where id=24526 / delete from HtmlLabelInfo where indexid=24526 / INSERT INTO HtmlLabelIndex values(24526,'消息盒') / INSERT INTO HtmlLabelInfo VALUES(24526,'消息盒',7) / INSERT INTO HtmlLabelInfo VALUES(24526,'Message Box',8) / INSERT INTO HtmlLabelInfo VALUES(24526,'消息盒',9) / delete from HtmlLabelIndex where id=24527 / delete from HtmlLabelInfo where indexid=24527 / INSERT INTO HtmlLabelIndex values(24527,'搜索所有的人员') / INSERT INTO HtmlLabelInfo VALUES(24527,'搜索所有的人员',7) / INSERT INTO HtmlLabelInfo VALUES(24527,'Search all the staff',8) / INSERT INTO HtmlLabelInfo VALUES(24527,'搜索所有的人员',9) / delete from HtmlLabelIndex where id=24528 / delete from HtmlLabelInfo where indexid=24528 / INSERT INTO HtmlLabelIndex values(24528,'请检查Messager License是否正确') / INSERT INTO HtmlLabelInfo VALUES(24528,'请检查Messager License是否正确',7) / INSERT INTO HtmlLabelInfo VALUES(24528,'Please check Messager License is correct',8) / INSERT INTO HtmlLabelInfo VALUES(24528,'请检查Messager License是否正确',9) / delete from HtmlLabelIndex where id=18639 / delete from HtmlLabelInfo where indexid=18639 / INSERT INTO HtmlLabelIndex values(18639,'标识码') / INSERT INTO HtmlLabelInfo VALUES(18639,'标识码',7) / INSERT INTO HtmlLabelInfo VALUES(18639,'ID Code',8) / INSERT INTO HtmlLabelInfo VALUES(18639,'標識碼',9) / delete from HtmlLabelIndex where id=24529 / delete from HtmlLabelInfo where indexid=24529 / INSERT INTO HtmlLabelIndex values(24529,'没有权限使用') / INSERT INTO HtmlLabelInfo VALUES(24529,'没有权限使用',7) / INSERT INTO HtmlLabelInfo VALUES(24529,'Do not have permission to use',8) / INSERT INTO HtmlLabelInfo VALUES(24529,'没有权限使用',9) / delete from HtmlLabelIndex where id=24530 / delete from HtmlLabelInfo where indexid=24530 / INSERT INTO HtmlLabelIndex values(24530,'聊天消息') / INSERT INTO HtmlLabelInfo VALUES(24530,'聊天消息',7) / INSERT INTO HtmlLabelInfo VALUES(24530,'Chat message',8) / INSERT INTO HtmlLabelInfo VALUES(24530,'聊天消息',9) / delete from HtmlLabelIndex where id=24531 / delete from HtmlLabelInfo where indexid=24531 / INSERT INTO HtmlLabelIndex values(24531,'发送者') / INSERT INTO HtmlLabelInfo VALUES(24531,'发送者',7) / INSERT INTO HtmlLabelInfo VALUES(24531,'Sender',8) / INSERT INTO HtmlLabelInfo VALUES(24531,'发送者',9) / delete from HtmlLabelIndex where id=24532 / delete from HtmlLabelInfo where indexid=24532 / INSERT INTO HtmlLabelIndex values(24532,'消息') / INSERT INTO HtmlLabelInfo VALUES(24532,'消息',7) / INSERT INTO HtmlLabelInfo VALUES(24532,'message',8) / INSERT INTO HtmlLabelInfo VALUES(24532,'消息',9) / delete from HtmlLabelIndex where id=24533 / delete from HtmlLabelInfo where indexid=24533 / INSERT INTO HtmlLabelIndex values(24533,'用户') / INSERT INTO HtmlLabelInfo VALUES(24533,'用户',7) / INSERT INTO HtmlLabelInfo VALUES(24533,'User',8) / INSERT INTO HtmlLabelInfo VALUES(24533,'用户',9) / delete from HtmlLabelIndex where id=24544 / delete from HtmlLabelInfo where indexid=24544 / INSERT INTO HtmlLabelIndex values(24544,'短信发送失败') / INSERT INTO HtmlLabelInfo VALUES(24544,'短信发送失败',7) / INSERT INTO HtmlLabelInfo VALUES(24544,'SMS sending fails',8) / INSERT INTO HtmlLabelInfo VALUES(24544,'短信发送失败',9) / delete from HtmlLabelIndex where id=24543 / delete from HtmlLabelInfo where indexid=24543 / INSERT INTO HtmlLabelIndex values(24543,'短信已经发送') / INSERT INTO HtmlLabelInfo VALUES(24543,'短信已经发送',7) / INSERT INTO HtmlLabelInfo VALUES(24543,'SMS has been sent',8) / INSERT INTO HtmlLabelInfo VALUES(24543,'短信已经发送',9) / delete from HtmlLabelIndex where id=24547 / delete from HtmlLabelInfo where indexid=24547 / INSERT INTO HtmlLabelIndex values(24547,'在线') / INSERT INTO HtmlLabelInfo VALUES(24547,'在线',7) / INSERT INTO HtmlLabelInfo VALUES(24547,'online',8) / INSERT INTO HtmlLabelInfo VALUES(24547,'在線',9) /
-- update BlazonMultipleRequestFinalizeInExecutionJob UPDATE JobInstance set name = 'Blazon Multiple Request Finalize In Execution Job', description = 'Blazon Multiple Request Finalize In Execution Job.', externalJobDetailId = 'Blazon Multiple Request Finalize In Execution Job' where job_id in ( select id from Job where className like '%BlazonMultipleRequestFinalizeInExecutionJob'); update Job set className = 'com.blazon.requests.engine.jobs.BlazonMultipleRequestFinalizeInExecutionJob', description = 'Blazon Multiple Request Finalize In Execution Job.', displayName = 'Blazon Multiple Request Finalize In Execution Job' where className like '%BlazonMultipleRequestFinalizeInExecutionJob'; -- update BlazonRequestExecutionQueueJob UPDATE JobInstance set name = 'Blazon Request Execution Queue Job', description = 'Blazon Request Execution Queue Job.', externalJobDetailId = 'Blazon Request Execution Queue Job' where job_id in ( select id from Job where className like '%BlazonRequestExecutionQueueJob'); update Job set className = 'com.blazon.requests.engine.jobs.BlazonRequestExecutionQueueJob', description = 'Blazon Request Execution Queue Job.', displayName = 'Blazon Request Execution Queue Job' where className like '%BlazonRequestExecutionQueueJob'; -- update BlazonRequestNewVerifierJob UPDATE JobInstance set name = 'Blazon Request New Verifier Job', description = 'Blazon Request New Verifier Job.', externalJobDetailId = 'Blazon Request New Verifier Job' where job_id in ( select id from Job where className like '%BlazonRequestNewVerifierJob'); update Job set className = 'com.blazon.requests.engine.jobs.BlazonRequestNewVerifierJob', description = 'Blazon Request New Verifier Job.', displayName = 'Blazon Request New Verifier Job' where className like '%BlazonRequestNewVerifierJob'; -- update BlazonRequestQueueJob UPDATE JobInstance set name = 'Blazon Request Queue Job', description = 'Blazon Request Queue Job.', externalJobDetailId = 'Blazon Request Queue Job' where job_id in ( select id from Job where className like '%BlazonRequestQueueJob'); update Job set className = 'com.blazon.requests.engine.jobs.BlazonRequestQueueJob', description = 'Blazon Request Queue Job.', displayName = 'Blazon Request Queue Job' where className like '%BlazonRequestQueueJob'; -- update BlazonRequestWaitingDependenciesVerifierJob UPDATE JobInstance set name = 'Blazon Request Waiting Dependencies Verifier Job', description = 'Blazon Request Waiting Dependencies Verifier Job.', externalJobDetailId = 'Blazon Request Waiting Dependencies Verifier Job' where job_id in ( select id from Job where className like '%BlazonRequestWaitingDependenciesVerifierJob'); update Job set className = 'com.blazon.requests.engine.jobs.BlazonRequestWaitingDependenciesVerifierJob', description = 'Blazon Request Waiting Dependencies Verifier Job.', displayName = 'Blazon Request Waiting Dependencies Verifier Job' where className like '%BlazonRequestWaitingDependenciesVerifierJob'; -- update BlazonRequestWaitingResolvingEntryDependenciesFunctionJob UPDATE JobInstance set name = 'Blazon Request Waiting Resolving Entry Dependencies Function Job', description = 'Blazon Request Waiting Resolving Entry Dependencies Function Job.', externalJobDetailId = 'Blazon Request Waiting Resolving Entry Dependencies Function Job' where job_id in ( select id from Job where className like '%BlazonRequestWaitingResolvingEntryDependenciesFunctionJob'); update Job set className = 'com.blazon.requests.engine.jobs.BlazonRequestWaitingResolvingEntryDependenciesFunctionJob', description = 'Blazon Request Waiting Resolving Entry Dependencies Function Job.', displayName = 'Blazon Request Waiting Resolving Entry Dependencies Function Job' where className like '%BlazonRequestWaitingResolvingEntryDependenciesFunctionJob'; -- com.blazon.authentication.module.securechannel.jobs.SecureChannelSendTokenJob UPDATE JobInstance set name = 'Secure Channel Send Token Job', description = 'Secure Channel Send Token Job.', externalJobDetailId = 'Secure Channel Send Token Job' where job_id in ( select id from Job where className like '%SecureChannelSendTokenJob'); update Job set className = 'com.blazon.authentication.module.securechannel.jobs.SecureChannelSendTokenJob', description = 'Secure Channel Send Token Job.', displayName = 'Secure Channel Send Token Job' where className like '%SecureChannelSendTokenJob'; -- com.blazon.accountmanagement.jobs.FindAccountReadyToRemove UPDATE JobInstance set name = 'Find Account Ready To Remove', description = 'Find Account Ready To Remove.', externalJobDetailId = 'Find Account Ready To Remove' where job_id in ( select id from Job where className like '%FindAccountReadyToRemove'); update Job set className = 'com.blazon.accountmanagement.jobs.FindAccountReadyToRemove', description = 'Find Account Ready To Remove.', displayName = 'Find Account Ready To Remove' where className like '%FindAccountReadyToRemove'; -- com.blazon.accountmanagement.temporaryaccounts.jobs.RevokeExpiredTemporaryAccountsJob UPDATE JobInstance set name = 'Revoke Expired Temporary Accounts Job', description = 'Revoke Expired Temporary Accounts Job.', externalJobDetailId = 'Revoke Expired Temporary Accounts Job' where job_id in ( select id from Job where className like '%RevokeExpiredTemporaryAccountsJob'); update Job set className = 'com.blazon.accountmanagement.temporaryaccounts.jobs.RevokeExpiredTemporaryAccountsJob', description = 'Revoke Expired Temporary Accounts Job.', displayName = 'Revoke Expired Temporary Accounts Job' where className like '%RevokeExpiredTemporaryAccountsJob'; -- com.blazon.certification.process.statemachine.jobs.CertificationCancelExecutionQueueJob UPDATE JobInstance set name = 'Certification Cancel Execution Queue Job', description = 'Certification Cancel Execution Queue Job.', externalJobDetailId = 'Certification Cancel Execution Queue Job' where job_id in ( select id from Job where className like '%CertificationCancelExecutionQueueJob'); update Job set className = 'com.blazon.certification.process.statemachine.jobs.CertificationCancelExecutionQueueJob', description = 'Certification Cancel Execution Queue Job.', displayName = 'Certification Cancel Execution Queue Job' where className like '%CertificationCancelExecutionQueueJob'; -- com.blazon.certification.process.statemachine.jobs.CertificationQueueJob UPDATE JobInstance set name = 'Certification Queue Job', description = 'Certification Queue Job.', externalJobDetailId = 'Certification Queue Job' where job_id in ( select id from Job where className like '%CertificationQueueJob'); update Job set className = 'com.blazon.certification.process.statemachine.jobs.CertificationQueueJob', description = 'Certification Queue Job.', displayName = 'Certification Queue Job' where className like '%CertificationQueueJob'; -- com.blazon.certification.process.statemachine.jobs.CertificationRevokeExecutionQueueJob UPDATE JobInstance set name = 'Certification Revoke Execution Queue Job', description = 'Certification Revoke Execution Queue Job.', externalJobDetailId = 'Certification Revoke Execution Queue Job' where job_id in ( select id from Job where className like '%CertificationRevokeExecutionQueueJob'); update Job set className = 'com.blazon.certification.process.statemachine.jobs.CertificationRevokeExecutionQueueJob', description = 'Certification Revoke Execution Queue Job.', displayName = 'Certification Revoke Execution Queue Job' where className like '%CertificationRevokeExecutionQueueJob'; -- com.blazon.certification.types.campaigns.jobs.CertificationCampaignExecutionInstanceJob UPDATE JobInstance set name = 'Certification Campaign Execution Instance Job', description = 'Certification Campaign Execution Instance Job.', externalJobDetailId = 'Certification Campaign Execution Instance Job' where job_id in ( select id from Job where className like '%CertificationCampaignExecutionInstanceJob'); update Job set className = 'com.blazon.certification.types.campaigns.jobs.CertificationCampaignExecutionInstanceJob', description = 'Certification Campaign Execution Instance Job.', displayName = 'Certification Campaign Execution Instance Job' where className like '%CertificationCampaignExecutionInstanceJob'; -- com.blazon.certification.types.campaigns.jobs.CertificationCampaignFinalizeJob UPDATE JobInstance set name = 'Certification Campaign Finalize Job', description = 'Certification Campaign Finalize Job.', externalJobDetailId = 'Certification Campaign Finalize Job' where job_id in ( select id from Job where className like '%CertificationCampaignFinalizeJob'); update Job set className = 'com.blazon.certification.types.campaigns.jobs.CertificationCampaignFinalizeJob', description = 'Certification Campaign Finalize Job.', displayName = 'Certification Campaign Finalize Job' where className like '%CertificationCampaignFinalizeJob'; -- com.blazon.certification.types.campaigns.jobs.CertificationCampaignFinalizeWithDeadlineReachedJob UPDATE JobInstance set name = 'Certification Campaign Finalize With Deadline Reached Job', description = 'Certification Campaign Finalize With Deadline Reached Job.', externalJobDetailId = 'Certification Campaign Finalize With Deadline Reached Job' where job_id in ( select id from Job where className like '%CertificationCampaignFinalizeWithDeadlineReachedJob'); update Job set className = 'com.blazon.certification.types.campaigns.jobs.CertificationCampaignFinalizeWithDeadlineReachedJob', description = 'Certification Campaign Finalize With Deadline Reached Job.', displayName = 'Certification Campaign Finalize With Deadline Reached Job' where className like '%CertificationCampaignFinalizeWithDeadlineReachedJob'; -- com.blazon.certification.types.campaigns.jobs.CertificationCampaignSearchWithDeadlineReachedJob UPDATE JobInstance set name = 'Certification Campaign Search With Deadline Reached Job', description = 'Certification Campaign Search With Deadline Reached Job.', externalJobDetailId = 'Certification Campaign Search With Deadline Reached Job' where job_id in ( select id from Job where className like '%CertificationCampaignSearchWithDeadlineReachedJob'); update Job set className = 'com.blazon.certification.types.campaigns.jobs.CertificationCampaignSearchWithDeadlineReachedJob', description = 'Certification Campaign Search With Deadline Reached Job.', displayName = 'Certification Campaign Search With Deadline Reached Job' where className like '%CertificationCampaignSearchWithDeadlineReachedJob'; -- com.blazon.certification.types.campaigns.jobs.CertificationCampaignStartJob UPDATE JobInstance set name = 'Certification Campaign Start Job', description = 'Certification Campaign Start Job.', externalJobDetailId = 'Certification Campaign Start Job' where job_id in ( select id from Job where className like '%CertificationCampaignStartJob'); update Job set className = 'com.blazon.certification.types.campaigns.jobs.CertificationCampaignStartJob', description = 'Certification Campaign Start Job.', displayName = 'Certification Campaign Start Job' where className like '%CertificationCampaignStartJob'; -- com.blazon.certification.types.micro.jobs.MicroCertificationExecutionInstanceFinalizeJob UPDATE JobInstance set name = 'Micro Certification Execution Instance Finalize Job', description = 'Micro Certification Execution Instance Finalize Job.', externalJobDetailId = 'Micro Certification Execution Instance Finalize Job' where job_id in ( select id from Job where className like '%MicroCertificationExecutionInstanceFinalizeJob'); update Job set className = 'com.blazon.certification.types.micro.jobs.MicroCertificationExecutionInstanceFinalizeJob', description = 'Micro Certification Execution Instance Finalize Job.', displayName = 'Micro Certification Execution Instance Finalize Job' where className like '%MicroCertificationExecutionInstanceFinalizeJob'; -- com.blazon.certification.types.micro.jobs.MicroCertificationExecutionInstanceStartJob UPDATE JobInstance set name = 'Micro Certification Execution Instance Start Job', description = 'Micro Certification Execution Instance Start Job.', externalJobDetailId = 'Micro Certification Execution Instance Start Job' where job_id in ( select id from Job where className like '%MicroCertificationExecutionInstanceStartJob'); update Job set className = 'com.blazon.certification.types.micro.jobs.MicroCertificationExecutionInstanceStartJob', description = 'Micro Certification Execution Instance Start Job.', displayName = 'Micro Certification Execution Instance Start Job' where className like '%MicroCertificationExecutionInstanceStartJob'; -- com.blazon.certification.types.micro.jobs.MicroCertificationFinalizeWithDeadlineReachedJob UPDATE JobInstance set name = 'Micro Certification Finalize With Deadline Reached Job', description = 'Micro Certification Finalize With Deadline Reached Job.', externalJobDetailId = 'Micro Certification Finalize With Deadline Reached Job' where job_id in ( select id from Job where className like '%MicroCertificationFinalizeWithDeadlineReachedJob'); update Job set className = 'com.blazon.certification.types.micro.jobs.MicroCertificationFinalizeWithDeadlineReachedJob', description = 'Micro Certification Finalize With Deadline Reached Job.', displayName = 'Micro Certification Finalize With Deadline Reached Job' where className like '%MicroCertificationFinalizeWithDeadlineReachedJob'; -- com.blazon.certification.types.micro.jobs.MicroCertificationSearchWithDeadlineReachedJob UPDATE JobInstance set name = 'Micro Certification Search With Deadline Reached Job', description = 'Micro Certification Search With Deadline Reached Job.', externalJobDetailId = 'Micro Certification Search With Deadline Reached Job' where job_id in ( select id from Job where className like '%MicroCertificationSearchWithDeadlineReachedJob'); update Job set className = 'com.blazon.certification.types.micro.jobs.MicroCertificationSearchWithDeadlineReachedJob', description = 'Micro Certification Search With Deadline Reached Job.', displayName = 'Micro Certification Search With Deadline Reached Job' where className like '%MicroCertificationSearchWithDeadlineReachedJob'; -- com.blazon.certification.types.policies.periodicitybased.jobs.CertificationPolicyPeriodicityExecutorJob UPDATE JobInstance set name = 'Certification Policy Periodicity Executor Job', description = 'Certification Policy Periodicity Executor Job.', externalJobDetailId = 'Certification Policy Periodicity Executor Job' where job_id in ( select id from Job where className like '%CertificationPolicyPeriodicityExecutorJob'); update Job set className = 'com.blazon.certification.types.policies.periodicitybased.jobs.CertificationPolicyPeriodicityExecutorJob', description = 'Certification Policy Periodicity Executor Job.', displayName = 'Certification Policy Periodicity Executor Job' where className like '%CertificationPolicyPeriodicityExecutorJob'; -- com.blazon.certification.types.policies.periodicitybased.jobs.CertificationPolicyPeriodicityFinalizeWithDeadlineReachedJob UPDATE JobInstance set name = 'Certification Policy Periodicity Finalize With Deadline Reached Job', description = 'Certification Policy Periodicity Finalize With Deadline Reached Job.', externalJobDetailId = 'Certification Policy Periodicity Finalize With Deadline Reached Job' where job_id in ( select id from Job where className like '%CertificationPolicyPeriodicityFinalizeWithDeadlineReachedJob'); update Job set className = 'com.blazon.certification.types.policies.periodicitybased.jobs.CertificationPolicyPeriodicityFinalizeWithDeadlineReachedJob', description = 'Certification Policy Periodicity Finalize With Deadline Reached Job.', displayName = 'Certification Policy Periodicity Finalize With Deadline Reached Job' where className like '%CertificationPolicyPeriodicityFinalizeWithDeadlineReachedJob'; -- com.blazon.certification.types.policies.userattributeschangebased.instance.jobs.CertificationPolicyUserChangeExecutionInstanceFinalizeJob UPDATE JobInstance set name = 'Certification Policy User Change Execution Instance Finalize Job', description = 'Certification Policy User Change Execution Instance Finalize Job.', externalJobDetailId = 'Certification Policy User Change Execution Instance Finalize Job' where job_id in ( select id from Job where className like '%CertificationPolicyUserChangeExecutionInstanceFinalizeJob'); update Job set className = 'com.blazon.certification.types.policies.userattributeschangebased.instance.jobs.CertificationPolicyUserChangeExecutionInstanceFinalizeJob', description = 'Certification Policy User Change Execution Instance Finalize Job.', displayName = 'Certification Policy User Change Execution Instance Finalize Job' where className like '%CertificationPolicyUserChangeExecutionInstanceFinalizeJob'; -- com.blazon.certification.types.policies.userattributeschangebased.instance.jobs.CertificationPolicyUserChangeFinalizeWithDeadlineReachedJob UPDATE JobInstance set name = 'Certification Policy User Change Finalize With Deadline Reached Job', description = 'Certification Policy User Change Finalize With Deadline Reached Job.', externalJobDetailId = 'Certification Policy User Change Finalize With Deadline Reached Job' where job_id in ( select id from Job where className like '%CertificationPolicyUserChangeFinalizeWithDeadlineReachedJob'); update Job set className = 'com.blazon.certification.types.policies.userattributeschangebased.instance.jobs.CertificationPolicyUserChangeFinalizeWithDeadlineReachedJob', description = 'Certification Policy User Change Finalize With Deadline Reached Job.', displayName = 'Certification Policy User Change Finalize With Deadline Reached Job' where className like '%CertificationPolicyUserChangeFinalizeWithDeadlineReachedJob'; -- com.blazon.certification.types.policies.userattributeschangebased.instance.jobs.CertificationPolicyUserChangeSearchWithDeadlineReachedJob UPDATE JobInstance set name = 'Certification Policy User Change Search With Deadline Reached Job', description = 'Certification Policy User Change Search With Deadline Reached Job.', externalJobDetailId = 'Certification Policy User Change Search With Deadline Reached Job' where job_id in ( select id from Job where className like '%CertificationPolicyUserChangeSearchWithDeadlineReachedJob'); update Job set className = 'com.blazon.certification.types.policies.userattributeschangebased.instance.jobs.CertificationPolicyUserChangeSearchWithDeadlineReachedJob', description = 'Certification Policy User Change Search With Deadline Reached Job.', displayName = 'Certification Policy User Change Search With Deadline Reached Job' where className like '%CertificationPolicyUserChangeSearchWithDeadlineReachedJob'; -- com.blazon.email.job.SendEmailQueueJob UPDATE JobInstance set name = 'Send Email Queue Job', description = 'Send Email Queue Job.', externalJobDetailId = 'Send Email Queue Job' where job_id in ( select id from Job where className like '%SendEmailQueueJob'); update Job set className = 'com.blazon.email.job.SendEmailQueueJob', description = 'Send Email Queue Job.', displayName = 'Send Email Queue Job' where className like '%SendEmailQueueJob'; -- com.blazon.entitlementmanagement.jobs.FindMembershipEntitlementReadyToRemove UPDATE JobInstance set name = 'Find Membership Entitlement Ready To Remove', description = 'Find Membership Entitlement Ready To Remove.', externalJobDetailId = 'Find Membership Entitlement Ready To Remove' where job_id in ( select id from Job where className like '%FindMembershipEntitlementReadyToRemove'); update Job set className = 'com.blazon.entitlementmanagement.jobs.FindMembershipEntitlementReadyToRemove', description = 'Find Membership Entitlement Ready To Remove.', displayName = 'Find Membership Entitlement Ready To Remove' where className like '%FindMembershipEntitlementReadyToRemove'; -- com.blazon.passwordpolicy.jobs.PasswordPolicyValidationJob UPDATE JobInstance set name = 'Password Policy Validation Job', description = 'Password Policy Validation Job.', externalJobDetailId = 'Password Policy Validation Job' where job_id in ( select id from Job where className like '%PasswordPolicyValidationJob'); update Job set className = 'com.blazon.passwordpolicy.jobs.PasswordPolicyValidationJob', description = 'Password Policy Validation Job.', displayName = 'Password Policy Validation Job' where className like '%PasswordPolicyValidationJob'; -- com.blazon.humantasks.escalations.policy.jobs.TaskEscalationPeriodicJob UPDATE JobInstance set name = 'Task Escalation Periodic Job', description = 'Task Escalation Periodic Job.', externalJobDetailId = 'Task Escalation Periodic Job' where job_id in ( select id from Job where className like '%TaskEscalationPeriodicJob'); update Job set className = 'com.blazon.humantasks.escalations.policy.jobs.TaskEscalationPeriodicJob', description = 'Task Escalation Periodic Job.', displayName = 'Task Escalation Periodic Job' where className like '%TaskEscalationPeriodicJob'; -- com.blazon.humantasks.escalations.policy.jobs.TaskEscalationTimeBasedJob UPDATE JobInstance set name = 'Task Escalation Time Based Job', description = 'Task Escalation Time Based Job.', externalJobDetailId = 'Task Escalation Time Based Job' where job_id in ( select id from Job where className like '%TaskEscalationTimeBasedJob'); update Job set className = 'com.blazon.humantasks.escalations.policy.jobs.TaskEscalationTimeBasedJob', description = 'Task Escalation Time Based Job.', displayName = 'Task Escalation Time Based Job' where className like '%TaskEscalationTimeBasedJob'; -- com.blazon.humantasks.escalations.auto.jobs.FindTasksReadyToCancelationJob UPDATE JobInstance set name = 'Find Tasks Ready To Cancelation Job', description = 'Find Tasks Ready To Cancelation Job.', externalJobDetailId = 'Find Tasks Ready To Cancelation Job' where job_id in ( select id from Job where className like '%FindTasksReadyToCancelationJob'); update Job set className = 'com.blazon.humantasks.escalations.auto.jobs.FindTasksReadyToCancelationJob', description = 'Find Tasks Ready To Cancelation Job.', displayName = 'Find Tasks Ready To Cancelation Job' where className like '%FindTasksReadyToCancelationJob'; -- com.blazon.humantasks.escalations.auto.jobs.FindTasksToWaitingEscalationJob UPDATE JobInstance set name = 'Find Tasks To Waiting Escalation Job', description = 'Find Tasks To Waiting Escalation Job.', externalJobDetailId = 'Find Tasks To Waiting Escalation Job' where job_id in ( select id from Job where className like '%FindTasksToWaitingEscalationJob'); update Job set className = 'com.blazon.humantasks.escalations.auto.jobs.FindTasksToWaitingEscalationJob', description = 'Find Tasks To Waiting Escalation Job.', displayName = 'Find Tasks To Waiting Escalation Job' where className like '%FindTasksToWaitingEscalationJob'; -- com.blazon.humantasks.escalations.auto.jobs.ResolveTasksInWaitingEscalationJob UPDATE JobInstance set name = 'Resolve Tasks In Waiting Escalation Job', description = 'Resolve Tasks In Waiting Escalation Job.', externalJobDetailId = 'Resolve Tasks In Waiting Escalation Job' where job_id in ( select id from Job where className like '%ResolveTasksInWaitingEscalationJob'); update Job set className = 'com.blazon.humantasks.escalations.auto.jobs.ResolveTasksInWaitingEscalationJob', description = 'Resolve Tasks In Waiting Escalation Job.', displayName = 'Resolve Tasks In Waiting Escalation Job' where className like '%ResolveTasksInWaitingEscalationJob'; -- com.blazon.provisioning.engine.jobs.ProvisioningDispatchFailoverWorkflowExecutionJob UPDATE JobInstance set name = 'Provisioning Dispatch Failover Workflow Execution Job', description = 'Provisioning Dispatch Failover Workflow Execution Job.', externalJobDetailId = 'Provisioning Dispatch Failover Workflow Execution Job' where job_id in ( select id from Job where className like '%ProvisioningDispatchFailoverWorkflowExecutionJob'); update Job set className = 'com.blazon.provisioning.engine.jobs.ProvisioningDispatchFailoverWorkflowExecutionJob', description = 'Provisioning Dispatch Failover Workflow Execution Job.', displayName = 'Provisioning Dispatch Failover Workflow Execution Job' where className like '%ProvisioningDispatchFailoverWorkflowExecutionJob'; -- com.blazon.provisioning.engine.jobs.ProvisioningDispatchToWaitingResourceAdapterPullingJob UPDATE JobInstance set name = 'Provisioning Dispatch To Waiting Resource Adapter Pulling Job', description = 'Provisioning Dispatch To Waiting Resource Adapter Pulling Job.', externalJobDetailId = 'Provisioning Dispatch To Waiting Resource Adapter Pulling Job' where job_id in ( select id from Job where className like '%ProvisioningDispatchToWaitingResourceAdapterPullingJob'); update Job set className = 'com.blazon.provisioning.engine.jobs.ProvisioningDispatchToWaitingResourceAdapterPullingJob', description = 'Provisioning Dispatch To Waiting Resource Adapter Pulling Job.', displayName = 'Provisioning Dispatch To Waiting Resource Adapter Pulling Job' where className like '%ProvisioningDispatchToWaitingResourceAdapterPullingJob'; -- com.blazon.provisioning.engine.jobs.ProvisioningWaitingAssignToTaskQueueExecutionJob UPDATE JobInstance set name = 'Provisioning Waiting Assign To Task Queue Execution Job', description = 'Provisioning Waiting Assign To Task Queue Execution Job.', externalJobDetailId = 'Provisioning Waiting Assign To Task Queue Execution Job' where job_id in ( select id from Job where className like '%ProvisioningWaitingAssignToTaskQueueExecutionJob'); update Job set className = 'com.blazon.provisioning.engine.jobs.ProvisioningWaitingAssignToTaskQueueExecutionJob', description = 'Provisioning Waiting Assign To Task Queue Execution Job.', displayName = 'Provisioning Waiting Assign To Task Queue Execution Job' where className like '%ProvisioningWaitingAssignToTaskQueueExecutionJob'; -- com.blazon.provisioning.engine.jobs.ProvisioningWaitingWorkflowExecutionJob UPDATE JobInstance set name = 'Provisioning Waiting Workflow Execution Job', description = 'Provisioning Waiting Workflow Execution Job.', externalJobDetailId = 'Provisioning Waiting Workflow Execution Job' where job_id in ( select id from Job where className like '%ProvisioningWaitingWorkflowExecutionJob'); update Job set className = 'com.blazon.provisioning.engine.jobs.ProvisioningWaitingWorkflowExecutionJob', description = 'Provisioning Waiting Workflow Execution Job.', displayName = 'Provisioning Waiting Workflow Execution Job' where className like '%ProvisioningWaitingWorkflowExecutionJob'; -- com.blazon.reconciliation.engine.jobs.ReconciliationBatchEntryCertifierJob UPDATE JobInstance set name = 'Reconciliation Batch Entry Certifier Job', description = 'Reconciliation Batch Entry Certifier Job.', externalJobDetailId = 'Reconciliation Batch Entry Certifier Job' where job_id in ( select id from Job where className like '%ReconciliationBatchEntryCertifierJob'); update Job set className = 'com.blazon.reconciliation.engine.jobs.ReconciliationBatchEntryCertifierJob', description = 'Reconciliation Batch Entry Certifier Job.', displayName = 'Reconciliation Batch Entry Certifier Job' where className like '%ReconciliationBatchEntryCertifierJob'; -- com.blazon.reconciliation.engine.jobs.ReconciliationStep01_NotProcessedToAssociatingRulesJob UPDATE JobInstance set name = 'Reconciliation Step01 Not Processed To Associating Rules Job', description = 'Reconciliation Step01 Not Processed To Associating Rules Job.', externalJobDetailId = 'Reconciliation Batch Entry Certifier Job' where job_id in ( select id from Job where className like '%ReconciliationStep01_NotProcessedToAssociatingRulesJob'); update Job set className = 'com.blazon.reconciliation.engine.jobs.ReconciliationStep01_NotProcessedToAssociatingRulesJob', description = 'Reconciliation Batch Entry Certifier Job.', displayName = 'Reconciliation Batch Entry Certifier Job' where className like '%ReconciliationStep01_NotProcessedToAssociatingRulesJob'; -- com.blazon.reconciliation.engine.jobs.ReconciliationStep02_RulesAssociatedToDiscoveringSituationJob UPDATE JobInstance set name = 'Reconciliation Step02 Rules Associated To Discovering Situation Job', description = 'Reconciliation Step02 Rules Associated To Discovering Situation Job.', externalJobDetailId = 'Reconciliation Step02 Rules Associated To Discovering Situation Job' where job_id in ( select id from Job where className like '%ReconciliationStep02_RulesAssociatedToDiscoveringSituationJob'); update Job set className = 'com.blazon.reconciliation.engine.jobs.ReconciliationStep02_RulesAssociatedToDiscoveringSituationJob', description = 'Reconciliation Step02 Rules Associated To Discovering Situation Job.', displayName = 'Reconciliation Step02 Rules Associated To Discovering Situation Job' where className like '%ReconciliationStep02_RulesAssociatedToDiscoveringSituationJob'; -- com.blazon.reconciliation.engine.jobs.ReconciliationStep03_SituationDiscoveredToAttributeMappingJob UPDATE JobInstance set name = 'Reconciliation Step03 Situation Discovered To Attribute Mapping Job', description = 'Reconciliation Step03 Situation Discovered To Attribute Mapping Job.', externalJobDetailId = 'Reconciliation Step03 Situation Discovered To Attribute Mapping Job' where job_id in ( select id from Job where className like '%ReconciliationStep03_SituationDiscoveredToAttributeMappingJob'); update Job set className = 'com.blazon.reconciliation.engine.jobs.ReconciliationStep03_SituationDiscoveredToAttributeMappingJob', description = 'Reconciliation Step03 Situation Discovered To Attribute Mapping Job.', displayName = 'Reconciliation Step03 Situation Discovered To Attribute Mapping Job' where className like '%ReconciliationStep03_SituationDiscoveredToAttributeMappingJob'; -- com.blazon.reconciliation.engine.jobs.ReconciliationStep04_MappedAttributesToInvokingActionJob UPDATE JobInstance set name = 'Reconciliation Step04 Mapped Attributes To Invoking Action Job', description = 'Reconciliation Step04 Mapped Attributes To Invoking Action Job.', externalJobDetailId = 'Reconciliation Step04 Mapped Attributes To Invoking Action Job' where job_id in ( select id from Job where className like '%ReconciliationStep04_MappedAttributesToInvokingActionJob'); update Job set className = 'com.blazon.reconciliation.engine.jobs.ReconciliationStep04_MappedAttributesToInvokingActionJob', description = 'Reconciliation Step04 Mapped Attributes To Invoking Action Job.', displayName = 'Reconciliation Step04 Mapped Attributes To Invoking Action Job' where className like '%ReconciliationStep04_MappedAttributesToInvokingActionJob'; -- com.blazon.reconciliation.engine.jobs.ReconciliationStepReadyToInvokeActionJob UPDATE JobInstance set name = 'Reconciliation Step Ready To Invoke Action Job', description = 'Reconciliation Step Ready To Invoke Action Job.', externalJobDetailId = 'Reconciliation Step Ready To Invoke Action Job' where job_id in ( select id from Job where className like '%ReconciliationStepReadyToInvokeActionJob'); update Job set className = 'com.blazon.reconciliation.engine.jobs.ReconciliationStepReadyToInvokeActionJob', description = 'Reconciliation Step Ready To Invoke Action Job.', displayName = 'Reconciliation Step Ready To Invoke Action Job' where className like '%ReconciliationStepReadyToInvokeActionJob'; -- com.blazon.rolemanagement.role.jobs.FindMembershipRoleReadyToRemove UPDATE JobInstance set name = 'Find Membership Role Ready To Remove', description = 'Find Membership Role Ready To Remove.', externalJobDetailId = 'Find Membership Role Ready To Remove' where job_id in ( select id from Job where className like '%FindMembershipRoleReadyToRemove'); update Job set className = 'com.blazon.rolemanagement.role.jobs.FindMembershipRoleReadyToRemove', description = 'Find Membership Role Ready To Remove.', displayName = 'Find Membership Role Ready To Remove' where className like '%FindMembershipRoleReadyToRemove'; -- com.blazon.rolemanagement.rolerights.jobs.RoleRightsUserVerifierJob UPDATE JobInstance set name = 'Role Rights User Verifier Job', description = 'Role Rights User Verifier Job.', externalJobDetailId = 'Role Rights User Verifier Job' where job_id in ( select id from Job where className like '%RoleRightsUserVerifierJob'); update Job set className = 'com.blazon.rolemanagement.rolerights.jobs.RoleRightsUserVerifierJob', description = 'Role Rights User Verifier Job.', displayName = 'Role Rights User Verifier Job' where className like '%RoleRightsUserVerifierJob'; -- com.blazon.rolemanagement.rolerights.process.jobs.RoleRightEntryProcessorJob UPDATE JobInstance set name = 'Role Right Entry Processor Job', description = 'Role Right Entry Processor Job.', externalJobDetailId = 'Role Right Entry Processor Job' where job_id in ( select id from Job where className like '%RoleRightEntryProcessorJob'); update Job set className = 'com.blazon.rolemanagement.rolerights.process.jobs.RoleRightEntryProcessorJob', description = 'Role Right Entry Processor Job.', displayName = 'Role Right Entry Processor Jobs' where className like '%RoleRightEntryProcessorJob'; -- com.blazon.rolemanagement.rolerights.process.jobs.RoleRightEntryToExecutionJob UPDATE JobInstance set name = 'Role Right Entry To Execution Job', description = 'Role Right Entry To Execution Job.', externalJobDetailId = 'Role Right Entry To Execution Job' where job_id in ( select id from Job where className like '%RoleRightEntryToExecutionJob'); update Job set className = 'com.blazon.rolemanagement.rolerights.process.jobs.RoleRightEntryToExecutionJob', description = 'Role Right Entry To Execution Job.', displayName = 'Role Right Entry To Execution Jobs' where className like '%RoleRightEntryToExecutionJob'; -- com.blazon.rolemanagement.rolerights.revoke.jobs.RoleRightRevokeProcessorJob UPDATE JobInstance set name = 'Role Right Revoke Processor Job', description = 'Role Right Revoke Processor Job.', externalJobDetailId = 'Role Right Revoke Processor Job' where job_id in ( select id from Job where className like '%RoleRightRevokeProcessorJob'); update Job set className = 'com.blazon.rolemanagement.rolerights.revoke.jobs.RoleRightRevokeProcessorJob', description = 'Role Right Revoke Processor Job.', displayName = 'Role Right Revoke Processor Job' where className like '%RoleRightRevokeProcessorJob'; -- com.blazon.rolemanagement.rolerights.revoke.notifications.jobs.RoleRightEntryWaitingResolutionSinceLastExecutionNotificationJob UPDATE JobInstance set name = 'Role Right Entry Waiting Resolution Since Last Execution Notification Job', description = 'Role Right Entry Waiting Resolution Since Last Execution Notification Job.', externalJobDetailId = 'Role Right Entry Waiting Resolution Since Last Execution Notification Job' where job_id in ( select id from Job where className like '%RoleRightEntryWaitingResolutionSinceLastExecutionNotificationJob'); update Job set className = 'com.blazon.rolemanagement.rolerights.revoke.notifications.jobs.RoleRightEntryWaitingResolutionSinceLastExecutionNotificationJob', description = 'Role Right Entry Waiting Resolution Since Last Execution Notification Job.', displayName = 'Role Right Entry Waiting Resolution Since Last Execution Notification Job' where className like '%RoleRightEntryWaitingResolutionSinceLastExecutionNotificationJob'; -- com.blazon.rolemanagement.assignmentpolicy.jobs.AssignmentProcessorPhaseOneJob UPDATE JobInstance set name = 'Role Right Assignment Processor Phase One Job', description = 'Role Right Assignment Processor Phase One Job.', externalJobDetailId = 'Role Right Assignment Processor Phase One Job' where job_id in ( select id from Job where className like '%AssignmentProcessorPhaseOneJob'); update Job set className = 'com.blazon.rolemanagement.assignmentpolicy.jobs.AssignmentProcessorPhaseOneJob', description = 'Role Right Assignment Processor Phase One Job.', displayName = 'Role Right Assignment Processor Phase One Job' where className like '%AssignmentProcessorPhaseOneJob'; -- com.blazon.rolemanagement.assignmentpolicy.jobs.AssignmentProcessorPhaseTwoJob UPDATE JobInstance set name = 'Role Right Assignment Processor Phase Two Job', description = 'Role Right Assignment Processor Phase Two Job.', externalJobDetailId = 'Role Right Assignment Processor Phase Two Job' where job_id in ( select id from Job where className like '%AssignmentProcessorPhaseTwoJob'); update Job set className = 'com.blazon.rolemanagement.assignmentpolicy.jobs.AssignmentProcessorPhaseTwoJob', description = 'Role Right Assignment Processor Phase Two Job.', displayName = 'Role Right Assignment Processor Phase Two Job' where className like '%AssignmentProcessorPhaseTwoJob'; -- com.blazon.rolemanagement.assignmentpolicy.jobs.AssignmentRoleKeepProcessorJob UPDATE JobInstance set name = 'Role Right Assignment Role Keep Processor Job', description = 'Role Right Assignment Role Keep Processor Job.', externalJobDetailId = 'Role Right Assignment Role Keep Processor Job' where job_id in ( select id from Job where className like '%AssignmentRoleKeepProcessorJob'); update Job set className = 'com.blazon.rolemanagement.assignmentpolicy.jobs.AssignmentRoleKeepProcessorJob', description = 'Role Right Assignment Role Keep Processor Job.', displayName = 'Role Right Assignment Role Keep Processor Job' where className like '%AssignmentRoleKeepProcessorJob'; -- com.blazon.rolemanagement.assignmentpolicy.jobs.AssignmentRoleRevokeProcessorJob UPDATE JobInstance set name = 'Role Right Assignment Role Revoke Processor Job', description = 'Role Right Assignment Role Revoke Processor Job.', externalJobDetailId = 'Role Right Assignment Role Revoke Processor Job' where job_id in ( select id from Job where className like '%AssignmentRoleRevokeProcessorJob'); update Job set className = 'com.blazon.rolemanagement.assignmentpolicy.jobs.AssignmentRoleRevokeProcessorJob', description = 'Role Right Assignment Role Revoke Processor Job.', displayName = 'Role Right Assignment Role Revoke Processor Job' where className like '%AssignmentRoleRevokeProcessorJob'; -- com.blazon.sod.engine.discovery.jobs.SodPolicyExecutorJob UPDATE JobInstance set name = 'Sod Policy Executor Job', description = 'Sod Policy Executor Job.', externalJobDetailId = 'Sod Policy Executor Job' where job_id in ( select id from Job where className like '%SodPolicyExecutorJob'); update Job set className = 'com.blazon.sod.engine.discovery.jobs.SodPolicyExecutorJob', description = 'Sod Policy Executor Job.', displayName = 'Sod Policy Executor Job' where className like '%SodPolicyExecutorJob'; -- com.blazon.sod.engine.statemachine.jobs.SodEntryInfoProcessorJob UPDATE JobInstance set name = 'Sod Entry Info Processor Job', description = 'Sod Entry Info Processor Job.', externalJobDetailId = 'Sod Entry Info Processor Job' where job_id in ( select id from Job where className like '%SodEntryInfoProcessorJob'); update Job set className = 'com.blazon.sod.engine.statemachine.jobs.SodEntryInfoProcessorJob', description = 'Sod Entry Info Processor Job.', displayName = 'Sod Entry Info Processor Job' where className like '%SodEntryInfoProcessorJob'; -- com.blazon.sod.engine.statemachine.jobs.SodEntryToExecutionJob UPDATE JobInstance set name = 'Sod Entry To Execution Processor Job', description = 'Sod Entry To Execution Processor Job.', externalJobDetailId = 'Sod Entry To Execution Processor Job' where job_id in ( select id from Job where className like '%SodEntryToExecutionJob'); update Job set className = 'com.blazon.sod.engine.statemachine.jobs.SodEntryToExecutionJob', description = 'Sod Entry To Execution Processor Job.', displayName = 'Sod Entry To Execution Processor Job' where className like '%SodEntryToExecutionJob'; -- com.blazon.usermanagement.jobs.CalculateUserRiskJob UPDATE JobInstance set name = 'Calculate User Risk Job', description = 'Calculate User Risk Job.', externalJobDetailId = 'Calculate User Risk Job' where job_id in ( select id from Job where className like '%CalculateUserRiskJob'); update Job set className = 'com.blazon.usermanagement.jobs.CalculateUserRiskJob', description = 'Calculate User Risk Job.', displayName = 'Calculate User Risk Job' where className like '%CalculateUserRiskJob'; -- com.blazon.usermanagement.jobs.FindUserReadyToRemove UPDATE JobInstance set name = 'Find User Ready To Remove', description = 'Find User Ready To Remove.', externalJobDetailId = 'Find User Ready To Remove' where job_id in ( select id from Job where className like '%FindUserReadyToRemove'); update Job set className = 'com.blazon.usermanagement.jobs.FindUserReadyToRemove', description = 'Find User Ready To Remove.', displayName = 'Find User Ready To Remove' where className like '%FindUserReadyToRemove'; -- com.blazon.usermanagement.jobs.InactivateAccountsFromInactivatedUsersJob UPDATE JobInstance set name = 'Inactivate Accounts From Inactivated Users Job', description = 'Inactivate Accounts From Inactivated Users Job.', externalJobDetailId = 'Inactivate Accounts From Inactivated Users Job' where job_id in ( select id from Job where className like '%InactivateAccountsFromInactivatedUsersJob'); update Job set className = 'com.blazon.usermanagement.jobs.InactivateAccountsFromInactivatedUsersJob', description = 'Inactivate Accounts From Inactivated Users Job.', displayName = 'Inactivate Accounts From Inactivated Users Job' where className like '%InactivateAccountsFromInactivatedUsersJob'; -- remove RevokeAccountsJob delete from JobExecution where instance_id IN ( select instance.id from JobInstance instance join Job job on job.id = instance.job_id where job.className like '%RevokeAccountsJob' ); delete from JobInstance where job_id IN ( select id from Job where className like '%RevokeAccountsJob' ); delete from Job where className like '%RevokeAccountsJob'; -- remove RevokeEntitlementsJob delete from JobExecution where instance_id IN ( select instance.id from JobInstance instance join Job job on job.id = instance.job_id where job.className like '%RevokeEntitlementsJob' ); delete from JobInstance where job_id IN ( select id from Job where className like '%RevokeEntitlementsJob' ); delete from Job where className like '%RevokeEntitlementsJob'; -- remove RevokeMembershipEntitlementsJob delete from JobExecution where instance_id IN ( select instance.id from JobInstance instance join Job job on job.id = instance.job_id where job.className like '%RevokeMembershipEntitlementsJob' ); delete from JobInstance where job_id IN ( select id from Job where className like '%RevokeMembershipEntitlementsJob' ); delete from Job where className like '%RevokeMembershipEntitlementsJob'; -- remove RevokeMembershipRolesJob delete from JobExecution where instance_id IN ( select instance.id from JobInstance instance join Job job on job.id = instance.job_id where job.className like '%RevokeMembershipRolesJob' ); delete from JobInstance where job_id IN ( select id from Job where className like '%RevokeMembershipRolesJob' ); delete from Job where className like '%RevokeMembershipRolesJob'; -- remove RevokeRolesJob delete from JobExecution where instance_id IN ( select instance.id from JobInstance instance join Job job on job.id = instance.job_id where job.className like '%RevokeRolesJob' ); delete from JobInstance where job_id IN ( select id from Job where className like '%RevokeRolesJob' ); delete from Job where className like '%RevokeRolesJob'; -- remove RevokeUsersJob delete from JobExecution where instance_id IN ( select instance.id from JobInstance instance join Job job on job.id = instance.job_id where job.className like '%RevokeUsersJob' ); delete from JobInstance where job_id IN ( select id from Job where className like '%RevokeUsersJob' ); delete from Job where className like '%RevokeUsersJob';
INSERT INTO GROUPS ( GROUP_ID, GROUP_KEY, GROUP_NAME, DESCRIPTION, PARENT_GROUP_KEY, GROUP_CLASS, ROW_ID, INSERT_USER, INSERT_DATETIME, UPDATE_USER, UPDATE_DATETIME, DELETE_FLAG ) VALUES (0,'g-all','ALL USERS','全てのユーザが所属するグループ',null,0,'g-all',0,'2015-07-04 00:00:00',null,null,0); ALTER TABLE USERS DROP COLUMN IF EXISTS MAIL_ADDRESS; ALTER TABLE USERS DROP COLUMN IF EXISTS AUTH_LDAP; ALTER TABLE PROVISIONAL_REGISTRATIONS DROP COLUMN IF EXISTS MAIL_ADDRESS; ALTER TABLE USERS ADD COLUMN MAIL_ADDRESS character varying(256); ALTER TABLE USERS ADD COLUMN AUTH_LDAP integer; ALTER TABLE PROVISIONAL_REGISTRATIONS ADD COLUMN MAIL_ADDRESS character varying(256); comment on column USERS.MAIL_ADDRESS is 'メールアドレス'; comment on column PROVISIONAL_REGISTRATIONS.MAIL_ADDRESS is 'メールアドレス'; comment on column USERS.AUTH_LDAP is 'LDAP認証ユーザかどうか'; -- LDAP認証設定 drop table if exists LDAP_CONFIGS cascade; create table LDAP_CONFIGS ( SYSTEM_NAME character varying(64) not null , HOST character varying(256) not null , PORT integer not null , USE_SSL integer , USE_TLS integer , BIND_DN character varying(256) , BIND_PASSWORD character varying(1048) , SALT character varying(1048) , BASE_DN character varying(256) not null , FILTER character varying(256) , ID_ATTR character varying(256) not null , NAME_ATTR character varying(256) , MAIL_ATTR character varying(256) , ADMIN_CHECK_FILTER character varying(256) , AUTH_TYPE integer not null , ROW_ID character varying(64) , INSERT_USER integer , INSERT_DATETIME timestamp , UPDATE_USER integer , UPDATE_DATETIME timestamp , DELETE_FLAG integer , constraint LDAP_CONFIGS_PKC primary key (SYSTEM_NAME) ) ; comment on table LDAP_CONFIGS is 'LDAP認証設定'; comment on column LDAP_CONFIGS.SYSTEM_NAME is 'システム名'; comment on column LDAP_CONFIGS.HOST is 'HOST'; comment on column LDAP_CONFIGS.PORT is 'PORT'; comment on column LDAP_CONFIGS.USE_SSL is 'USE_SSL'; comment on column LDAP_CONFIGS.USE_TLS is 'USE_TLS'; comment on column LDAP_CONFIGS.BIND_DN is 'BIND_DN'; comment on column LDAP_CONFIGS.BIND_PASSWORD is 'BIND_PASSWORD'; comment on column LDAP_CONFIGS.SALT is 'SALT'; comment on column LDAP_CONFIGS.BASE_DN is 'BASE_DN'; comment on column LDAP_CONFIGS.FILTER is 'FILTER'; comment on column LDAP_CONFIGS.ID_ATTR is 'ID_ATTR'; comment on column LDAP_CONFIGS.NAME_ATTR is 'NAME_ATTR'; comment on column LDAP_CONFIGS.MAIL_ATTR is 'MAIL_ATTR'; comment on column LDAP_CONFIGS.ADMIN_CHECK_FILTER is 'ADMIN_CHECK_FILTER'; comment on column LDAP_CONFIGS.AUTH_TYPE is 'AUTH_TYPE 0:DB認証,1:LDAP認証,2:DB認証+LDAP認証(LDAP優先)'; comment on column LDAP_CONFIGS.ROW_ID is '行ID'; comment on column LDAP_CONFIGS.INSERT_USER is '登録ユーザ'; comment on column LDAP_CONFIGS.INSERT_DATETIME is '登録日時'; comment on column LDAP_CONFIGS.UPDATE_USER is '更新ユーザ'; comment on column LDAP_CONFIGS.UPDATE_DATETIME is '更新日時'; comment on column LDAP_CONFIGS.DELETE_FLAG is '削除フラグ';
-- ----------------------------------------------------------------------------------- -- File Name : https://oracle-base.com/dba/11g/statistics_global_prefs.sql -- Author : Tim Hall -- Description : Displays the top-level global statistics preferences. -- Requirements : Access to the DBMS_STATS package. -- Call Syntax : @statistics_global_prefs -- Last Modified: 08-NOV-2022 -- ----------------------------------------------------------------------------------- SET SERVEROUTPUT ON DECLARE PROCEDURE display(p_param IN VARCHAR2) AS l_result VARCHAR2(32767); BEGIN l_result := DBMS_STATS.get_prefs (pname => p_param); DBMS_OUTPUT.put_line(RPAD(p_param, 30, ' ') || ' : ' || l_result); END; BEGIN display('APPROXIMATE_NDV_ALGORITHM'); display('AUTO_STAT_EXTENSIONS'); display('AUTO_TASK_STATUS'); display('AUTO_TASK_MAX_RUN_TIME'); display('AUTO_TASK_INTERVAL'); display('CASCADE'); display('CONCURRENT'); display('DEGREE'); display('ESTIMATE_PERCENT'); display('GLOBAL_TEMP_TABLE_STATS'); display('GRANULARITY'); display('INCREMENTAL'); display('INCREMENTAL_STALENESS'); display('INCREMENTAL_LEVEL'); display('METHOD_OPT'); display('NO_INVALIDATE'); display('OPTIONS'); display('PREFERENCE_OVERRIDES_PARAMETER'); display('PUBLISH'); display('STALE_PERCENT'); display('STAT_CATEGORY'); display('TABLE_CACHED_BLOCKS'); display('WAIT_TIME_TO_UPDATE_STATS'); END; /
-- phpMyAdmin SQL Dump -- version 4.6.4 -- https://www.phpmyadmin.net/ -- -- Host: localhost:3306 -- Generation Time: May 16, 2017 at 02:04 PM -- Server version: 5.6.33 -- PHP Version: 5.6.27 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; -- -- Database: `tods2` -- -- -------------------------------------------------------- -- -- Table structure for table `allocation` -- CREATE TABLE `allocation` ( `allocation_id` int(30) NOT NULL, `baseallocation_id` int(30) DEFAULT NULL, `print_order_delivary_id` int(30) DEFAULT NULL, `health_facility_level_id` int(10) NOT NULL, `tool_id` int(10) NOT NULL, `quantity` bigint(60) NOT NULL, `allocated_by` varchar(20) NOT NULL, `date_allocated` date NOT NULL, `created_at_in_db` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `date_updated` date NOT NULL, `status` int(3) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `allocation` -- INSERT INTO `allocation` (`allocation_id`, `baseallocation_id`, `print_order_delivary_id`, `health_facility_level_id`, `tool_id`, `quantity`, `allocated_by`, `date_allocated`, `created_at_in_db`, `date_updated`, `status`) VALUES (1, 1, 1, 2, 1, 100, 'Steven', '2017-02-07', '2017-02-06 21:00:00', '0000-00-00', 0), (2, 1, 1, 3, 2, 500, 'Steven', '2017-02-08', '2017-02-14 21:00:00', '0000-00-00', 0), (3, 1, 1, 4, 3, 400, 'Steven', '2017-02-09', '2017-02-12 21:00:00', '0000-00-00', 0), (4, 1, 1, 2, 4, 200, 'Steven', '2017-02-10', '2017-02-06 21:00:00', '0000-00-00', 0), (5, 1, 1, 3, 5, 500, 'Steven', '2017-02-11', '2017-02-14 21:00:00', '0000-00-00', 0), (6, 1, 1, 4, 6, 400, 'Steven', '2017-02-12', '2017-02-12 21:00:00', '0000-00-00', 1), (7, 1, 2, 3, 1, 100, 'Kaaye', '2017-02-07', '2017-02-06 21:00:00', '0000-00-00', 0), (8, 1, 2, 5, 1, 500, 'Kaaye', '2017-02-08', '2017-02-14 21:00:00', '0000-00-00', 0), (9, 1, 2, 4, 1, 400, 'Kaaye', '2017-02-09', '2017-02-12 21:00:00', '0000-00-00', 0), (10, 1, 2, 2, 2, 200, 'Kaaye', '2017-02-10', '2017-02-06 21:00:00', '0000-00-00', 0), (11, 1, 2, 4, 2, 500, 'Kaaye', '2017-02-11', '2017-02-14 21:00:00', '0000-00-00', 0), (12, 1, 2, 5, 2, 400, 'Kaaye', '2017-02-12', '2017-02-12 21:00:00', '0000-00-00', 1); -- -------------------------------------------------------- -- -- Table structure for table `base_allocation` -- CREATE TABLE `base_allocation` ( `baseallocation_id` int(10) UNSIGNED NOT NULL, `date_allocated` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `allocated_by` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `facilitylevel_id` int(10) UNSIGNED NOT NULL, `baseallocationtools_id` int(10) UNSIGNED NOT NULL, `printorder_id` int(10) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `base_allocation` -- INSERT INTO `base_allocation` (`baseallocation_id`, `date_allocated`, `allocated_by`, `facilitylevel_id`, `baseallocationtools_id`, `printorder_id`, `created_at`, `updated_at`) VALUES (1, '2017-02-08 00:00:00', 'Steven Okyaya', 1, 1, 1, '2017-02-07 21:00:00', NULL), (2, '2017-02-08 00:00:00', 'Ocyaya', 2, 2, 2, '2017-02-13 21:00:00', NULL); -- -------------------------------------------------------- -- -- Table structure for table `base_allocation_tools` -- CREATE TABLE `base_allocation_tools` ( `baseallocationtools_id` int(10) UNSIGNED NOT NULL, `facility_level_id` int(10) UNSIGNED NOT NULL, `tools_id` int(10) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `base_allocation_tools` -- INSERT INTO `base_allocation_tools` (`baseallocationtools_id`, `facility_level_id`, `tools_id`, `created_at`, `updated_at`) VALUES (1, 1, 1, '2017-02-13 21:00:00', NULL), (2, 2, 2, '2017-02-06 21:00:00', NULL), (3, 2, 1, '2017-02-14 21:00:00', NULL), (4, 3, 2, '2017-02-14 21:00:00', NULL); -- -------------------------------------------------------- -- -- Table structure for table `delivery` -- CREATE TABLE `delivery` ( `delivery_id` int(10) UNSIGNED NOT NULL, `lpo_number` int(30) NOT NULL, `date_delivered` date NOT NULL, `delivered_by` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `received_by` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `printingorder_id` int(10) UNSIGNED NOT NULL, `comment` varchar(300) COLLATE utf8_unicode_ci NOT NULL, `total_tools_delivered` bigint(100) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `delivery` -- INSERT INTO `delivery` (`delivery_id`, `lpo_number`, `date_delivered`, `delivered_by`, `received_by`, `printingorder_id`, `comment`, `total_tools_delivered`, `created_at`, `updated_at`) VALUES (1, 0, '2017-02-08', 'Inline', 'Steven', 1, '', 0, '2017-02-07 21:00:00', NULL), (7, 23456, '2017-05-03', 'Inline', 'Kaye', 1, 'Next Week will deliver the balance', 0, NULL, NULL), (8, 23456, '2017-05-01', 'Inline', 'Isaac', 1, 'Welldone', 0, NULL, NULL), (9, 523452, '2017-05-03', 'Inline', 'Isaac', 1, 'fdsfsd', 0, NULL, NULL), (10, 23456, '2017-05-03', 'Inline', 'Isaac', 1, 'gfdg', 0, NULL, NULL), (11, 12345, '2017-05-11', 'Inline', 'Isaac', 1, 'ggdfgdfg', 0, NULL, NULL), (12, 12345, '2017-05-11', 'Inline', 'Isaac', 1, 'ggdfgdfg', 0, NULL, NULL), (13, 23456, '2017-05-09', 'Inline', 'Isaac', 1, 'Testing', 0, NULL, NULL), (14, 1000, '2017-05-10', 'Inline', 'Isaac', 1, 'test', 1000, NULL, NULL), (15, 1000, '2017-05-10', 'Inline', 'Isaac', 1, 'test', 1600, NULL, NULL), (16, 1000, '2017-05-04', 'Inline', 'Isaac', 1, 'test', 4474, NULL, NULL), (17, 1000, '2017-05-04', 'Inline', 'Isaac', 1, 'test', 4474, NULL, NULL), (18, 1000, '2017-05-02', 'Inline', 'Isaac', 1, 'test', 3582, NULL, NULL), (19, 1000, '2017-05-02', 'Inline', 'Isaac', 1, 'test', 920, NULL, NULL), (20, 1000, '2017-05-03', 'Inline', 'Isaac', 1, 'test', 35240, NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `distribution` -- CREATE TABLE `distribution` ( `distribution_id` int(10) UNSIGNED NOT NULL, `date_received` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `distributed_by` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `received_by` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `comments` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `ip_id` int(10) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `distribution` -- INSERT INTO `distribution` (`distribution_id`, `date_received`, `distributed_by`, `received_by`, `comments`, `ip_id`, `created_at`, `updated_at`) VALUES (1, '2017-02-13 00:00:00', 'IDI', 'Isaac Muwonge', 'Tools recieved', 1, '2017-02-14 21:00:00', NULL), (2, '2017-02-10 00:00:00', 'MUJHU', 'Alice ', 'tools Recived', 5, '2017-02-13 21:00:00', NULL); -- -------------------------------------------------------- -- -- Table structure for table `district` -- CREATE TABLE `district` ( `district_id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `code` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `latitude` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `longitude` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `region_id` int(10) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `district` -- INSERT INTO `district` (`district_id`, `name`, `code`, `latitude`, `longitude`, `region_id`, `created_at`, `updated_at`) VALUES (1, 'Kampala', '200', '0.7832794', '32.8908209', 1, '2017-02-14 21:00:00', NULL), (2, 'Wakiso', '201', '0.121314', '32.890480', 1, '2017-02-12 21:00:00', NULL), (3, 'Soroti', '201', '0.121314', '31.890480', 2, '2017-02-12 21:00:00', NULL), (4, 'Mbarara', '203', '32.9889080', '0.89080323', 3, '2017-02-13 21:00:00', NULL), (5, 'Kabalore', '204', '32.8889080', '0.89080323', 3, '2017-02-13 21:00:00', NULL), (6, 'Gulu', '203', '32.0889080', '0.89080323', 4, '2017-02-13 21:00:00', NULL), (7, 'Kalangala', '206', '32.0089080', '0.99080323', 5, '2017-02-14 03:00:00', NULL); -- -------------------------------------------------------- -- -- Table structure for table `facility_level` -- CREATE TABLE `facility_level` ( `facilitylevel_id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `facility_level` -- INSERT INTO `facility_level` (`facilitylevel_id`, `name`, `description`, `created_at`, `updated_at`) VALUES (1, 'Clinic', 'Clinics', NULL, NULL), (2, 'HCII', 'Health Center Two', NULL, NULL), (3, 'HCIII', 'Health Center Three', NULL, NULL), (4, 'HCIV', 'Health Center four', NULL, NULL), (5, 'Hospital', 'General Hospital', NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `funding_agency` -- CREATE TABLE `funding_agency` ( `funding_agency_id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `short_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `funding_agency` -- INSERT INTO `funding_agency` (`funding_agency_id`, `name`, `short_name`, `created_at`, `updated_at`) VALUES (1, 'Center for Disease Control', 'CDC', '2017-02-11 21:00:00', '2017-02-11 21:00:00'), (2, 'USAID', 'USAID', '2017-02-11 21:00:00', '2017-02-11 21:00:00'); -- -------------------------------------------------------- -- -- Table structure for table `health_facility` -- CREATE TABLE `health_facility` ( `healthfacility_id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `code` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `ip_id` int(10) NOT NULL, `facilitylevel_id` int(10) NOT NULL, `subcounty_id` int(10) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `health_facility` -- INSERT INTO `health_facility` (`healthfacility_id`, `name`, `code`, `ip_id`, `facilitylevel_id`, `subcounty_id`, `created_at`, `updated_at`) VALUES (1, 'Kisenyi HCIV', '20333', 1, 2, 1, '2017-02-13 21:00:00', NULL), (2, 'Komamboga HCIV', '7877829', 4, 3, 1, '2017-02-08 21:00:00', NULL), (5, 'Kiswa', '3323', 1, 2, 1, '2017-04-08 18:50:58', '2017-04-08 18:50:58'), (6, 'Kawaala HCII', '2010', 4, 2, 1, '2017-04-16 22:37:12', '2017-04-16 22:37:12'), (7, 'hjkasf', '423', 1, 4, 1, '2017-04-17 00:03:28', '2017-04-17 00:03:28'), (8, 'kjhkui', '657', 1, 1, 1, '2017-04-18 02:34:40', '2017-04-18 02:34:40'), (9, 'rtrewye', '23442', 1, 1, 1, '2017-04-18 02:58:55', '2017-04-18 02:58:55'), (10, 'fsaduifjhsd', '1241234', 4, 5, 1, '2017-04-18 05:03:29', '2017-04-18 05:03:29'), (11, 'yyyyyyy', '22222', 5, 3, 1, '2017-04-18 05:19:21', '2017-04-18 05:19:21'), (12, 'ppppp', '33333', 1, 2, 1, '2017-04-18 05:34:26', '2017-04-18 05:34:26'), (13, 'qqqqqq', '53432', 1, 1, 1, '2017-04-18 05:36:32', '2017-04-18 05:36:32'), (14, 'Kibiito', '33339', 4, 3, 1, '2017-04-21 06:54:38', '2017-04-21 06:54:38'), (15, 'Kirudu', '1000', 4, 5, 1, '2017-04-21 06:57:02', '2017-04-21 06:57:02'), (16, 'Matugga ', '242345', 4, 4, 1, '2017-04-23 08:59:32', '2017-04-23 08:59:32'); -- -------------------------------------------------------- -- -- Table structure for table `h_facility_implementing_partner` -- CREATE TABLE `h_facility_implementing_partner` ( `id` int(10) NOT NULL, `health_facility_id` int(20) DEFAULT NULL, `facilitylevel_id` int(20) DEFAULT NULL, `ip_id` int(20) DEFAULT NULL, `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `h_facility_implementing_partner` -- INSERT INTO `h_facility_implementing_partner` (`id`, `health_facility_id`, `facilitylevel_id`, `ip_id`, `created_at`, `updated_at`) VALUES (1, 6, 2, 4, '0000-00-00 00:00:00', '0000-00-00 00:00:00'), (2, 2, 3, 4, '0000-00-00 00:00:00', '0000-00-00 00:00:00'), (3, 10, 5, 4, '2017-04-18 08:03:29', '2017-04-18 08:03:29'), (4, 13, 1, 1, '2017-04-18 08:36:53', '2017-04-18 08:36:53'), (5, 14, 3, 4, '2017-04-21 09:54:38', '2017-04-21 09:54:38'), (6, 15, 5, 4, '2017-04-21 09:57:02', '2017-04-21 09:57:02'), (7, 16, 4, 4, '2017-04-23 11:59:32', '2017-04-23 11:59:32'); -- -------------------------------------------------------- -- -- Table structure for table `implementing_partner` -- CREATE TABLE `implementing_partner` ( `ip_id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `comprehensive_partner` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `funding_agency_id` int(10) UNSIGNED NOT NULL, `regions` int(10) DEFAULT NULL, `districts` int(10) DEFAULT NULL, `vision` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `location` varchar(120) COLLATE utf8_unicode_ci DEFAULT NULL, `about` varchar(120) COLLATE utf8_unicode_ci DEFAULT NULL, `image` varchar(50) COLLATE utf8_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `implementing_partner` -- INSERT INTO `implementing_partner` (`ip_id`, `name`, `comprehensive_partner`, `funding_agency_id`, `regions`, `districts`, `vision`, `location`, `about`, `image`, `created_at`, `updated_at`) VALUES (1, 'IDI', 'Yes', 1, 0, 0, NULL, NULL, NULL, '', '2017-02-11 21:00:00', '2017-02-11 21:00:00'), (4, 'Baylor', 'Yes', 1, 2, 30, 'A healthy and fulfilled life for every HIV infected and affected child & their family in Africa.', 'Head Office P.O.Box 72052, Clock Tower Tel: 0417-119100/200/125 Email: admin@baylor-uganda.org www.baylor-uganda.org', 'Program Areas:\r\nMaternal & Child Health,\r\nComprehensive HIV Care,\r\nHealth Systems Strengthening,', '1490365535.jpeg', '2017-02-12 10:03:53', '2017-02-12 10:03:53'), (5, 'Mujuh', 'Yes', 1, 0, 0, NULL, NULL, NULL, '', '2017-02-12 10:05:48', '2017-02-12 10:05:48'), (6, 'Assist', 'Yes', 2, 0, 0, NULL, NULL, NULL, '', '2017-02-12 10:07:27', '2017-02-12 10:07:27'), (7, 'UPMB', 'No', 1, 0, 0, NULL, NULL, NULL, '', '2017-02-12 11:04:58', '2017-02-12 11:04:58'), (18, 'Taso', 'Yes', 1, 0, 0, NULL, NULL, NULL, '', '2017-02-21 21:00:00', NULL), (22, 'Kalangala Comprehensive', 'Yes', 1, 0, 0, NULL, NULL, NULL, '', '2017-02-26 03:39:34', '2017-02-26 03:39:34'), (23, 'Isaac', 'No', 1, 0, 0, NULL, NULL, NULL, '', '2017-03-19 17:37:32', '2017-03-19 17:37:32'), (24, 'RTI', 'No', 1, 4, 0, NULL, NULL, NULL, '', '2017-03-22 21:51:05', '2017-03-22 21:51:05'); -- -------------------------------------------------------- -- -- Table structure for table `ip_order` -- CREATE TABLE `ip_order` ( `order_id` int(10) UNSIGNED NOT NULL, `lpo_number` int(11) NOT NULL, `date_ordered` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `ordered_by` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `comments` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `ip_id` int(10) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `ip_order_details` -- CREATE TABLE `ip_order_details` ( `toolsordered_id` int(10) UNSIGNED NOT NULL, `lpo_number` int(50) NOT NULL, `order_id` int(50) NOT NULL, `tools_id` int(10) UNSIGNED NOT NULL, `quantity` int(11) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `migrations` -- CREATE TABLE `migrations` ( `migration` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `batch` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `migrations` -- INSERT INTO `migrations` (`migration`, `batch`) VALUES ('2017_01_17_0001_create_user_table', 1), ('2017_01_17_0002_create_roles_table', 1), ('2017_01_17_0003_create_region1_table', 1), ('2017_01_17_0004_create_district1_table', 1), ('2017_01_17_0005_create_subcounty_table', 1), ('2017_01_17_0006_create_facilityLevel_table', 1), ('2017_01_17_0007_create_healthFacility_table', 1), ('2017_01_17_0008_create_serviceArea_table', 1), ('2017_01_17_0009_create_packaging_table', 1), ('2017_01_17_0010_create_toolsPicked_table', 1), ('2017_01_17_0011_create_tool_table', 1), ('2017_01_17_0012_create_baseAllocationTools_table', 1), ('2017_01_17_0013_create_printingOrder_table', 1), ('2017_01_17_0014_create_baseAllocation_table', 1), ('2017_01_17_0015_create_toolsOrderedForPrinting_table', 1), ('2017_01_17_0016_create_allocation_table', 1), ('2017_01_17_0017_create_delivery_table', 1), ('2017_01_17_0018_create_toolsDelivered_table', 1), ('2017_01_17_0019_create_fundingAgency_table', 1), ('2017_01_17_0020_create_implementingPartner_table', 1), ('2017_01_17_0021_create_pickUp_table', 1), ('2017_01_17_0022_create_order_table', 1), ('2017_01_17_0023_create_distribution_table', 1), ('2017_01_17_0024_create_toolsDistributed_table', 1), ('2017_01_17_0025_create_toolsOrdered_table', 1), ('2017_03_17_082337_entrust_setup_tables', 2), ('2017_03_17_084539_entrust_setup_tables', 3); -- -------------------------------------------------------- -- -- Table structure for table `packaging` -- CREATE TABLE `packaging` ( `package_id` int(10) UNSIGNED NOT NULL, `package_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `quantity` int(11) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `packaging` -- INSERT INTO `packaging` (`package_id`, `package_name`, `quantity`, `created_at`, `updated_at`) VALUES (1, 'Passal', 500, '2017-02-13 21:00:00', NULL), (2, 'Box', 20, '2017-02-14 21:00:00', NULL); -- -------------------------------------------------------- -- -- Table structure for table `permissions` -- CREATE TABLE `permissions` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `display_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `description` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `permission_role` -- CREATE TABLE `permission_role` ( `permission_id` int(10) UNSIGNED NOT NULL, `role_id` int(10) UNSIGNED NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `pick_up` -- CREATE TABLE `pick_up` ( `pickup_id` int(10) UNSIGNED NOT NULL, `number` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `date_picked` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `picked_by` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `given_by` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `comment` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `toolspicked_id` int(10) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `pick_up` -- INSERT INTO `pick_up` (`pickup_id`, `number`, `date_picked`, `picked_by`, `given_by`, `comment`, `toolspicked_id`, `created_at`, `updated_at`) VALUES (1, '26272', '2017-02-08 00:00:00', 'IDI - Edison', 'Mets - Kaye Militon', 'Will come back with balance', 1, '2017-02-07 21:00:00', NULL), (2, '895435', '2017-02-14 00:00:00', 'Taso', 'Lyavera', 'Finished all what was allocated to', 2, '2017-02-13 21:00:00', NULL); -- -------------------------------------------------------- -- -- Table structure for table `printing_orders` -- CREATE TABLE `printing_orders` ( `printorder_id` int(10) UNSIGNED NOT NULL, `lpo_number` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `date_ordered` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `tools_duration` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `ordered_by` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL, `ordered_to` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL, `comment` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `tools_id` int(10) UNSIGNED DEFAULT NULL, `total_tools_ordered` bigint(80) NOT NULL, `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `printing_orders` -- INSERT INTO `printing_orders` (`printorder_id`, `lpo_number`, `date_ordered`, `tools_duration`, `ordered_by`, `ordered_to`, `comment`, `tools_id`, `total_tools_ordered`, `created_at`, `updated_at`) VALUES (1, '12345', '2017-02-14 00:00:00', '1 Quoter', NULL, NULL, 'When should we get the first delivary', 1, 0, '2017-02-13 21:00:00', NULL), (2, '23456', '2017-02-14 00:00:00', '1 Quoter', NULL, NULL, 'Urgent', 2, 0, '2017-02-13 21:00:00', NULL), (4, '523452', '2017-04-28', 'gdsfg', 'rewte', 'wetwe', 'tgfdgfdsfg', NULL, 0, NULL, NULL), (5, '4324', '2017-04-28', 'tsstr', 'fgfhgfh', 'fghfg', 'rtyshgfghgfxh', NULL, 0, '2017-04-28 13:01:48', '2017-04-28 13:01:48'), (6, '1000', '2017-05-02', '1', 'METS', 'Inline', 'Testing', NULL, 2200, '2017-05-09 12:22:46', '2017-05-09 12:22:46'); -- -------------------------------------------------------- -- -- Table structure for table `print_order_details` -- CREATE TABLE `print_order_details` ( `id` int(10) NOT NULL, `lpo_number` int(50) NOT NULL, `printorder_id` int(30) NOT NULL, `tools_id` int(20) NOT NULL, `quantity_ordered` float NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `print_order_details` -- INSERT INTO `print_order_details` (`id`, `lpo_number`, `printorder_id`, `tools_id`, `quantity_ordered`, `created_at`) VALUES (1, 523452, 4, 1, 53, '2017-04-28 11:47:44'), (2, 523452, 4, 2, 53, '2017-04-28 11:47:44'), (3, 523452, 4, 3, 54354, '2017-04-28 11:47:44'), (4, 523452, 4, 4, 3453, '2017-04-28 11:47:44'), (5, 523452, 4, 5, 34534, '2017-04-28 11:47:44'), (6, 523452, 4, 6, 5345, '2017-04-28 11:47:44'), (7, 4324, 5, 1, 454, '2017-04-28 13:01:48'), (8, 4324, 5, 2, 453, '2017-04-28 13:01:48'), (9, 4324, 5, 3, 4565, '2017-04-28 13:01:48'), (10, 4324, 5, 4, 2545, '2017-04-28 13:01:48'), (11, 4324, 5, 5, 56676, '2017-04-28 13:01:48'), (12, 4324, 5, 6, 5235, '2017-04-28 13:01:48'), (13, 1000, 6, 1, 500, '2017-05-09 12:22:46'), (14, 1000, 6, 2, 300, '2017-05-09 12:22:46'), (15, 1000, 6, 3, 200, '2017-05-09 12:22:46'), (16, 1000, 6, 4, 700, '2017-05-09 12:22:46'), (17, 1000, 6, 5, 400, '2017-05-09 12:22:46'), (18, 1000, 6, 6, 100, '2017-05-09 12:22:46'); -- -------------------------------------------------------- -- -- Table structure for table `region` -- CREATE TABLE `region` ( `region_id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `code` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `region` -- INSERT INTO `region` (`region_id`, `name`, `code`, `created_at`, `updated_at`) VALUES (1, 'Central', '100', '2017-02-14 21:00:00', NULL), (2, 'Estern', '101', '2017-02-14 21:00:00', NULL), (3, 'Western', '102', '2017-02-14 23:00:00', NULL), (4, 'Northan', '102', '2017-02-15 00:00:00', NULL), (5, 'Southern', '102', '2017-02-15 02:00:00', NULL); -- -------------------------------------------------------- -- -- Table structure for table `roles` -- CREATE TABLE `roles` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `display_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `description` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `roles_1` -- CREATE TABLE `roles_1` ( `role_id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `status` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `user_id` int(10) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `roles_1` -- INSERT INTO `roles_1` (`role_id`, `name`, `status`, `user_id`, `created_at`, `updated_at`) VALUES (1, 'Administrator', 'Active', 1, '2017-02-05 21:00:00', NULL), (2, 'Implimenting Partner', 'Active', 2, '2017-02-13 21:00:00', NULL), (3, 'Printing Company', 'Active', 9, '2017-01-31 21:00:00', NULL); -- -------------------------------------------------------- -- -- Table structure for table `role_user` -- CREATE TABLE `role_user` ( `user_id` int(10) UNSIGNED NOT NULL, `role_id` int(10) UNSIGNED NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `service_area` -- CREATE TABLE `service_area` ( `servicearea_id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `healthfacility_id` int(10) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `service_area` -- INSERT INTO `service_area` (`servicearea_id`, `name`, `description`, `healthfacility_id`, `created_at`, `updated_at`) VALUES (1, 'Kampala', 'Distributes in Kampala', 2, '2017-02-13 21:00:00', NULL), (2, 'Mengo', 'Distribtus ariound Mengo Kisenyi', 1, '2017-02-11 21:00:00', NULL); -- -------------------------------------------------------- -- -- Table structure for table `store` -- CREATE TABLE `store` ( `id` int(10) NOT NULL, `Name` varchar(30) NOT NULL, `Capacity` varchar(60) NOT NULL, `Location` varchar(60) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `store` -- INSERT INTO `store` (`id`, `Name`, `Capacity`, `Location`) VALUES (1, 'Red Conatiner', '1000 torns', 'Mets office'), (2, 'Grew Container', '1000 torns', 'Mets Offices'), (3, 'Blue Conatiner', '1000 torns', 'Mets Offices'), (4, 'WareHouse', '10000 torns', 'Industrial Area'); -- -------------------------------------------------------- -- -- Table structure for table `subcounty` -- CREATE TABLE `subcounty` ( `subcounty_id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `code` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `longitude` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `latitude` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `district_id` int(10) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `subcounty` -- INSERT INTO `subcounty` (`subcounty_id`, `name`, `code`, `longitude`, `latitude`, `district_id`, `created_at`, `updated_at`) VALUES (1, 'Kampala Central', '20kpc', '11242141', '12412414', 1, '2017-04-04 21:00:00', NULL); -- -------------------------------------------------------- -- -- Table structure for table `tools` -- CREATE TABLE `tools` ( `tools_id` int(20) UNSIGNED NOT NULL, `code` varchar(20) DEFAULT NULL, `name` varchar(100) DEFAULT NULL, `specification` varchar(100) DEFAULT NULL, `servicearea_id` int(10) UNSIGNED DEFAULT NULL, `package_id` int(10) UNSIGNED DEFAULT NULL, `description` varchar(100) DEFAULT NULL, `stock_status` bigint(50) NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` date DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `tools` -- INSERT INTO `tools` (`tools_id`, `code`, `name`, `specification`, `servicearea_id`, `package_id`, `description`, `stock_status`, `created_at`, `updated_at`) VALUES (1, '302', 'ART CARD', 'saggs', 1, 1, 'agasgdsaga', 37755, '2017-03-16 04:21:15', '2017-03-16'), (2, '467', 'SMC CArds', 'yellow cards', 2, 2, 'bule cards', 964, '2017-03-16 04:22:16', '2017-03-16'), (3, '035a', 'Safe Male Circumcission Client Form', 'SMC cards', 1, 2, NULL, 1176, '0000-00-00 00:00:00', NULL), (4, '073', 'Child Register', 'Child Registration Cards', 2, 2, 'Child Registration Cards', 795, '0000-00-00 00:00:00', NULL), (5, '096a', 'Heath Unit TB Register', 'Heath Unit TB Register', 2, 1, 'Heath Unit TB Register cards', 0, '2017-04-13 15:05:21', NULL), (6, '089', 'TB Laboratory Register', 'TB Laboratory Register', 3, 4, 'TB Laboratory Register', 600, '2017-04-13 15:05:21', NULL); -- -------------------------------------------------------- -- -- Table structure for table `tools_delivered` -- CREATE TABLE `tools_delivered` ( `toolsdelivered_id` int(10) UNSIGNED NOT NULL, `lpo_number` int(50) NOT NULL, `quantity` int(11) NOT NULL, `tools_id` int(10) UNSIGNED NOT NULL, `delivery_id` int(10) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `tools_delivered` -- INSERT INTO `tools_delivered` (`toolsdelivered_id`, `lpo_number`, `quantity`, `tools_id`, `delivery_id`, `created_at`, `updated_at`) VALUES (1, 0, 200, 1, 1, '2017-02-14 21:00:00', NULL), (2, 0, 300, 2, 1, '2017-02-14 21:00:00', NULL), (3, 23456, 10, 1, 7, NULL, NULL), (4, 23456, 20, 2, 7, NULL, NULL), (5, 23456, 10, 3, 7, NULL, NULL), (6, 23456, 20, 4, 7, NULL, NULL), (7, 23456, 20, 5, 7, NULL, NULL), (8, 23456, 30, 6, 7, NULL, NULL), (9, 23456, 400, 1, 8, '2017-05-09 08:52:05', NULL), (10, 23456, 200, 2, 8, '2017-05-09 08:52:05', NULL), (11, 23456, 500, 3, 8, '2017-05-09 08:52:05', NULL), (12, 23456, 300, 4, 8, '2017-05-09 08:52:05', NULL), (13, 23456, 500, 5, 8, '2017-05-09 08:52:05', NULL), (14, 23456, 100, 6, 8, '2017-05-09 08:52:05', NULL), (15, 523452, 3202, 1, 9, '2017-05-09 08:56:04', NULL), (16, 523452, 300, 2, 9, '2017-05-09 08:56:04', NULL), (17, 523452, 2323, 3, 9, '2017-05-09 08:56:04', NULL), (18, 523452, 343, 4, 9, '2017-05-09 08:56:04', NULL), (19, 523452, 234, 5, 9, '2017-05-09 08:56:04', NULL), (20, 523452, 234, 6, 9, '2017-05-09 08:56:04', NULL), (21, 23456, 32, 1, 10, '2017-05-09 08:58:14', NULL), (22, 23456, 554, 2, 10, '2017-05-09 08:58:14', NULL), (23, 23456, 65, 3, 10, '2017-05-09 08:58:14', NULL), (24, 23456, 453, 4, 10, '2017-05-09 08:58:14', NULL), (25, 23456, 346, 5, 10, '2017-05-09 08:58:14', NULL), (26, 23456, 75, 6, 10, '2017-05-09 08:58:14', NULL), (27, 12345, 35345, 1, 11, '2017-05-09 09:24:06', NULL), (28, 12345, 324, 2, 11, '2017-05-09 09:24:06', NULL), (29, 12345, 243, 3, 11, '2017-05-09 09:24:06', NULL), (30, 12345, 2345, 4, 11, '2017-05-09 09:24:06', NULL), (31, 12345, 646, 5, 11, '2017-05-09 09:24:06', NULL), (32, 12345, 4646, 6, 11, '2017-05-09 09:24:06', NULL), (33, 12345, 35345, 1, 12, '2017-05-09 09:28:19', NULL), (34, 12345, 324, 2, 12, '2017-05-09 09:28:19', NULL), (35, 12345, 243, 3, 12, '2017-05-09 09:28:19', NULL), (36, 12345, 2345, 4, 12, '2017-05-09 09:28:19', NULL), (37, 12345, 646, 5, 12, '2017-05-09 09:28:19', NULL), (38, 12345, 4646, 6, 12, '2017-05-09 09:28:19', NULL), (39, 23456, 200, 1, 13, '2017-05-09 10:08:22', NULL), (40, 23456, 100, 2, 13, '2017-05-09 10:08:22', NULL), (41, 23456, 300, 3, 13, '2017-05-09 10:08:22', NULL), (42, 23456, 150, 4, 13, '2017-05-09 10:08:22', NULL), (43, 23456, 120, 5, 13, '2017-05-09 10:08:22', NULL), (44, 23456, 350, 6, 13, '2017-05-09 10:08:22', NULL), (45, 1000, 300, 1, 14, '2017-05-09 12:35:41', NULL), (46, 1000, 0, 2, 14, '2017-05-09 12:35:41', NULL), (47, 1000, 200, 3, 14, '2017-05-09 12:35:41', NULL), (48, 1000, 0, 4, 14, '2017-05-09 12:35:41', NULL), (49, 1000, 500, 5, 14, '2017-05-09 12:35:41', NULL), (50, 1000, 0, 6, 14, '2017-05-09 12:35:41', NULL), (51, 1000, 300, 1, 15, '2017-05-09 12:38:43', NULL), (52, 1000, 300, 2, 15, '2017-05-09 12:38:43', NULL), (53, 1000, 200, 3, 15, '2017-05-09 12:38:43', NULL), (54, 1000, 100, 4, 15, '2017-05-09 12:38:43', NULL), (55, 1000, 500, 5, 15, '2017-05-09 12:38:43', NULL), (56, 1000, 200, 6, 15, '2017-05-09 12:38:43', NULL), (57, 1000, 0, 1, 16, '2017-05-09 12:47:28', NULL), (58, 1000, 8, 2, 16, '2017-05-09 12:47:28', NULL), (59, 1000, 4234, 3, 16, '2017-05-09 12:47:28', NULL), (60, 1000, 0, 4, 16, '2017-05-09 12:47:28', NULL), (61, 1000, 232, 5, 16, '2017-05-09 12:47:28', NULL), (62, 1000, 0, 6, 16, '2017-05-09 12:47:28', NULL), (63, 1000, 0, 1, 17, '2017-05-09 12:48:40', NULL), (64, 1000, 8, 2, 17, '2017-05-09 12:48:40', NULL), (65, 1000, 4234, 3, 17, '2017-05-09 12:48:40', NULL), (66, 1000, 0, 4, 17, '2017-05-09 12:48:40', NULL), (67, 1000, 232, 5, 17, '2017-05-09 12:48:40', NULL), (68, 1000, 0, 6, 17, '2017-05-09 12:48:40', NULL), (69, 1000, 2423, 1, 18, '2017-05-09 12:52:45', NULL), (70, 1000, 564, 2, 18, '2017-05-09 12:52:45', NULL), (71, 1000, 0, 3, 18, '2017-05-09 12:52:45', NULL), (72, 1000, 545, 4, 18, '2017-05-09 12:52:45', NULL), (73, 1000, 0, 5, 18, '2017-05-09 12:52:45', NULL), (74, 1000, 50, 6, 18, '2017-05-09 12:52:45', NULL), (75, 1000, 34532, 1, 20, '2017-05-09 13:06:32', NULL), (76, 1000, 0, 2, 20, '2017-05-09 13:06:32', NULL), (77, 1000, 676, 3, 20, '2017-05-09 13:06:32', NULL), (78, 1000, 0, 4, 20, '2017-05-09 13:06:32', NULL), (79, 1000, 32, 5, 20, '2017-05-09 13:06:32', NULL), (80, 1000, 0, 6, 20, '2017-05-09 13:06:32', NULL); -- -------------------------------------------------------- -- -- Table structure for table `tools_distributed` -- CREATE TABLE `tools_distributed` ( `toolsdistributed_id` int(10) UNSIGNED NOT NULL, `quantity` int(11) NOT NULL, `toolspicked_id` int(10) UNSIGNED NOT NULL, `distribution_id` int(10) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `tools_distributed` -- INSERT INTO `tools_distributed` (`toolsdistributed_id`, `quantity`, `toolspicked_id`, `distribution_id`, `created_at`, `updated_at`) VALUES (1, 50, 1, 1, '2017-02-13 21:00:00', NULL), (2, 20, 2, 2, '2017-02-13 21:00:00', NULL); -- -------------------------------------------------------- -- -- Table structure for table `tools_ordered_for_printing` -- CREATE TABLE `tools_ordered_for_printing` ( `toolsforprinting_id` int(10) UNSIGNED NOT NULL, `tool` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `quantity` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `printingorder_id` int(10) UNSIGNED NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `tools_picked` -- CREATE TABLE `tools_picked` ( `toolspicked_id` int(10) UNSIGNED NOT NULL, `quantity_ordered` int(11) NOT NULL, `tool_id` bigint(50) UNSIGNED NOT NULL, `quantity_authorized` int(11) NOT NULL, `quantity_collected` int(11) NOT NULL, `comments` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `tools_picked` -- INSERT INTO `tools_picked` (`toolspicked_id`, `quantity_ordered`, `tool_id`, `quantity_authorized`, `quantity_collected`, `comments`, `created_at`, `updated_at`) VALUES (1, 200, 0, 150, 150, 'They have balance', '2017-02-14 21:00:00', NULL), (2, 300, 0, 200, 100, 'They have balance to be collected', '2017-02-13 21:00:00', NULL), (3, 500, 0, 400, 235, 'Should come back in second quoter ', '2017-02-16 21:00:00', NULL); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `firstname` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `lastname` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `othernames` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `password` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `remember_token` varchar(30) COLLATE utf8_unicode_ci NOT NULL, `organization` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `phoneone` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `phonetwo` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `phonethree` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `ip` varchar(60) COLLATE utf8_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `name`, `firstname`, `lastname`, `othernames`, `password`, `remember_token`, `organization`, `email`, `phoneone`, `phonetwo`, `phonethree`, `ip`, `created_at`, `updated_at`) VALUES (1, 'imwota', 'Isaac', 'Mwoatsubi', 'Kisitu', 'kisss', '', 'Mets', 'isallzack16@gmail.com', '873837373', '949484949', '98484848', '', '2017-02-08 21:00:00', NULL), (2, 'dkusiima', 'Daisy', 'Kusima', 'Tumusime', 'daisy', '', 'Mets', 'dkusiima@gmail.com', '8759275298', '940248602', '', '', '2017-02-09 21:00:00', NULL), (8, 'DFDASFASD', '', 'dfsF', NULL, 'sagsag', '', NULL, 'sdgs@fsgfs.gsg', '2525245', '52462462', NULL, 'hdsf', '2017-02-09 14:26:56', '2017-02-09 14:26:56'), (9, 'osx', '', 'Ocyaya', NULL, '', '', NULL, 'osx@mk.co', '958029590', '90368908609', NULL, 'Mets', '2017-02-09 14:32:35', '2017-02-09 14:32:35'), (10, 'kvsadhfla', '', 'kjshdfkjsda', NULL, 'udafhasdkf', '', NULL, 'fdafjha@hjfkha.cdda', '4325235', '325325253', NULL, '425245', '2017-02-10 03:09:46', '2017-02-10 03:09:46'), (11, 'smuwanga', '', 'muwanga', NULL, 'jdflk', '', NULL, 'sm@hdssd.cjd', '888888', '88888', NULL, '8888', '2017-02-10 03:11:08', '2017-02-10 03:11:08'), (12, 'asdgsdg', 'fadfsd', 'asdgsadg', NULL, 'sddsa', '', NULL, 'sdgs@fsgfs.gsg', '423643', '324632', NULL, 'sgfsg', '2017-02-10 04:34:15', '2017-02-10 04:34:15'), (16, 'isall', '', '', NULL, '$2y$10$nHxUrCksciqhFpGz4/iv0eW3G.PSHUlvYUy0rIVZIlj.anKBaf2JC', 'MWIw9MonioSHp1r8kaMc07mrJ4hnKb', NULL, 'isallzack@yahoo.com', '', NULL, NULL, '', '2017-03-18 15:08:56', '2017-05-10 07:30:11'), (17, 'Isaac Mwotasubi', '', '', NULL, '$2y$10$.CHzl5Yd.PUE5sTZi7dEZO0vS0d/lVQImXBa313chSaRQJ1yhSv2G', '', NULL, 'isallzack@gmail.com', '', NULL, NULL, '', '2017-03-18 16:47:07', '2017-03-18 16:47:07'), (18, 'hjkfah', '', '', NULL, '$2y$10$Se4nawfM7N6x3zrvIEH56u8mK8x0dQ1ZmU7GTl7JA4AhgpnoQudQC', '', NULL, 'jhdfkja@hjkdkf.sakdld', '', NULL, NULL, '', '2017-03-18 17:21:46', '2017-03-18 17:21:46'), (19, 'fsfsd', '', '', NULL, '$2y$10$0hQ9Ybc3gF8CKJDTILQerebG3e8rkdg4FLWbIBIlz4vrQplNY95VK', '', NULL, 'dfads@fdffdd.cds', '', NULL, NULL, '', '2017-03-18 17:25:21', '2017-03-18 17:25:21'), (20, 'dhafjhk', '', '', NULL, '$2y$10$aHyQ2PRFexeAPIWyJwXosuTJE.KFHu7LkPlHeD5VjEm4Irdj5Rnb6', '', NULL, 'assad@haj.ahjk', '', NULL, NULL, '', '2017-03-18 17:30:45', '2017-03-18 17:30:45'), (21, 'dkfjaa', '', '', NULL, '$2y$10$mbHx98bqUKY47obeudbvdOcaBGiiT1ZqvpJ9VKqjPf50gmVOpa3Zu', '', NULL, 'asdfj@jksd.cioas', '', NULL, NULL, '', '2017-03-18 17:32:12', '2017-03-18 17:32:12'), (22, 'fsdggs', '', '', NULL, '$2y$10$TX3EHsvhoijGP4Fj9bhVt.yXIe3.8IoeIuv.qtsDbPO0OhM.0qFEe', 'B59rcS2UQZ5HTJ5nLTFh4SFSRftk82', NULL, 'safds@gagas.dsd', '', NULL, NULL, '', '2017-03-18 17:33:36', '2017-03-18 17:41:42'), (23, '', 'Im', 'TAATA', NULL, 'dmin', '', NULL, '', '774446829', '0774446829', NULL, 'IDI', '2017-03-19 17:40:22', '2017-03-19 17:40:22'), (24, 'admin', '', '', NULL, '$2y$10$UMAikNSBA34ITgWfRoyceuKQpMwJC1acMwReyUknitdvtdivo9JVS', '80jFeJtIiM4DM53HKMLs5kPdelK8vf', NULL, 'admin@localhost.com', '', NULL, NULL, '', '2017-03-19 17:47:45', '2017-03-19 19:32:57'); -- -- Indexes for dumped tables -- -- -- Indexes for table `allocation` -- ALTER TABLE `allocation` ADD PRIMARY KEY (`allocation_id`); -- -- Indexes for table `base_allocation` -- ALTER TABLE `base_allocation` ADD PRIMARY KEY (`baseallocation_id`), ADD KEY `base_allocation_facilitylevel_id_foreign` (`facilitylevel_id`); -- -- Indexes for table `base_allocation_tools` -- ALTER TABLE `base_allocation_tools` ADD PRIMARY KEY (`baseallocationtools_id`), ADD KEY `base_allocation_tools_tools_id_foreign` (`tools_id`); -- -- Indexes for table `delivery` -- ALTER TABLE `delivery` ADD PRIMARY KEY (`delivery_id`), ADD KEY `delivery_printingorder_id_foreign` (`printingorder_id`); -- -- Indexes for table `distribution` -- ALTER TABLE `distribution` ADD PRIMARY KEY (`distribution_id`), ADD KEY `distribution_ip_id_foreign` (`ip_id`); -- -- Indexes for table `district` -- ALTER TABLE `district` ADD PRIMARY KEY (`district_id`), ADD KEY `district_region_id_foreign` (`region_id`); -- -- Indexes for table `facility_level` -- ALTER TABLE `facility_level` ADD PRIMARY KEY (`facilitylevel_id`); -- -- Indexes for table `funding_agency` -- ALTER TABLE `funding_agency` ADD PRIMARY KEY (`funding_agency_id`); -- -- Indexes for table `health_facility` -- ALTER TABLE `health_facility` ADD PRIMARY KEY (`healthfacility_id`); -- -- Indexes for table `h_facility_implementing_partner` -- ALTER TABLE `h_facility_implementing_partner` ADD PRIMARY KEY (`id`); -- -- Indexes for table `implementing_partner` -- ALTER TABLE `implementing_partner` ADD PRIMARY KEY (`ip_id`), ADD KEY `implementing_partner_fundingagency_id_foreign` (`funding_agency_id`); -- -- Indexes for table `ip_order` -- ALTER TABLE `ip_order` ADD PRIMARY KEY (`order_id`), ADD KEY `order_ip_id_foreign` (`ip_id`); -- -- Indexes for table `ip_order_details` -- ALTER TABLE `ip_order_details` ADD PRIMARY KEY (`toolsordered_id`), ADD KEY `tools_ordered_tools_id_foreign` (`tools_id`); -- -- Indexes for table `packaging` -- ALTER TABLE `packaging` ADD PRIMARY KEY (`package_id`); -- -- Indexes for table `permissions` -- ALTER TABLE `permissions` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `permissions_name_unique` (`name`); -- -- Indexes for table `permission_role` -- ALTER TABLE `permission_role` ADD PRIMARY KEY (`permission_id`,`role_id`), ADD KEY `permission_role_role_id_foreign` (`role_id`); -- -- Indexes for table `pick_up` -- ALTER TABLE `pick_up` ADD PRIMARY KEY (`pickup_id`), ADD KEY `pick_up_toolspicked_id_foreign` (`toolspicked_id`); -- -- Indexes for table `printing_orders` -- ALTER TABLE `printing_orders` ADD PRIMARY KEY (`printorder_id`), ADD KEY `printing_order_tools_id_foreign` (`tools_id`); -- -- Indexes for table `print_order_details` -- ALTER TABLE `print_order_details` ADD PRIMARY KEY (`id`); -- -- Indexes for table `region` -- ALTER TABLE `region` ADD PRIMARY KEY (`region_id`); -- -- Indexes for table `roles` -- ALTER TABLE `roles` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `roles_name_unique` (`name`); -- -- Indexes for table `roles_1` -- ALTER TABLE `roles_1` ADD PRIMARY KEY (`role_id`), ADD KEY `roles_user_id_foreign` (`user_id`); -- -- Indexes for table `role_user` -- ALTER TABLE `role_user` ADD PRIMARY KEY (`user_id`,`role_id`), ADD KEY `role_user_role_id_foreign` (`role_id`); -- -- Indexes for table `service_area` -- ALTER TABLE `service_area` ADD PRIMARY KEY (`servicearea_id`), ADD KEY `service_area_healthfacility_id_foreign` (`healthfacility_id`); -- -- Indexes for table `store` -- ALTER TABLE `store` ADD PRIMARY KEY (`id`); -- -- Indexes for table `subcounty` -- ALTER TABLE `subcounty` ADD PRIMARY KEY (`subcounty_id`), ADD KEY `subcounty_district_id_foreign` (`district_id`); -- -- Indexes for table `tools` -- ALTER TABLE `tools` ADD PRIMARY KEY (`tools_id`); -- -- Indexes for table `tools_delivered` -- ALTER TABLE `tools_delivered` ADD PRIMARY KEY (`toolsdelivered_id`), ADD KEY `tools_delivered_tools_id_foreign` (`tools_id`), ADD KEY `tools_delivered_delivery_id_foreign` (`delivery_id`); -- -- Indexes for table `tools_distributed` -- ALTER TABLE `tools_distributed` ADD PRIMARY KEY (`toolsdistributed_id`), ADD KEY `tools_distributed_toolspicked_id_foreign` (`toolspicked_id`), ADD KEY `tools_distributed_distribution_id_foreign` (`distribution_id`); -- -- Indexes for table `tools_ordered_for_printing` -- ALTER TABLE `tools_ordered_for_printing` ADD PRIMARY KEY (`toolsforprinting_id`), ADD KEY `tools_ordered_for_printing_printingorder_id_foreign` (`printingorder_id`); -- -- Indexes for table `tools_picked` -- ALTER TABLE `tools_picked` ADD PRIMARY KEY (`toolspicked_id`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `allocation` -- ALTER TABLE `allocation` MODIFY `allocation_id` int(30) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13; -- -- AUTO_INCREMENT for table `base_allocation` -- ALTER TABLE `base_allocation` MODIFY `baseallocation_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `base_allocation_tools` -- ALTER TABLE `base_allocation_tools` MODIFY `baseallocationtools_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `delivery` -- ALTER TABLE `delivery` MODIFY `delivery_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21; -- -- AUTO_INCREMENT for table `distribution` -- ALTER TABLE `distribution` MODIFY `distribution_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `district` -- ALTER TABLE `district` MODIFY `district_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT for table `facility_level` -- ALTER TABLE `facility_level` MODIFY `facilitylevel_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `funding_agency` -- ALTER TABLE `funding_agency` MODIFY `funding_agency_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `health_facility` -- ALTER TABLE `health_facility` MODIFY `healthfacility_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; -- -- AUTO_INCREMENT for table `h_facility_implementing_partner` -- ALTER TABLE `h_facility_implementing_partner` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT for table `implementing_partner` -- ALTER TABLE `implementing_partner` MODIFY `ip_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25; -- -- AUTO_INCREMENT for table `ip_order` -- ALTER TABLE `ip_order` MODIFY `order_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `ip_order_details` -- ALTER TABLE `ip_order_details` MODIFY `toolsordered_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `packaging` -- ALTER TABLE `packaging` MODIFY `package_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `permissions` -- ALTER TABLE `permissions` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `pick_up` -- ALTER TABLE `pick_up` MODIFY `pickup_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `printing_orders` -- ALTER TABLE `printing_orders` MODIFY `printorder_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT for table `print_order_details` -- ALTER TABLE `print_order_details` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19; -- -- AUTO_INCREMENT for table `region` -- ALTER TABLE `region` MODIFY `region_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `roles` -- ALTER TABLE `roles` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `roles_1` -- ALTER TABLE `roles_1` MODIFY `role_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `service_area` -- ALTER TABLE `service_area` MODIFY `servicearea_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `store` -- ALTER TABLE `store` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `subcounty` -- ALTER TABLE `subcounty` MODIFY `subcounty_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `tools` -- ALTER TABLE `tools` MODIFY `tools_id` int(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT for table `tools_delivered` -- ALTER TABLE `tools_delivered` MODIFY `toolsdelivered_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=81; -- -- AUTO_INCREMENT for table `tools_distributed` -- ALTER TABLE `tools_distributed` MODIFY `toolsdistributed_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `tools_ordered_for_printing` -- ALTER TABLE `tools_ordered_for_printing` MODIFY `toolsforprinting_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `tools_picked` -- ALTER TABLE `tools_picked` MODIFY `toolspicked_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25; -- -- Constraints for dumped tables -- -- -- Constraints for table `base_allocation` -- ALTER TABLE `base_allocation` ADD CONSTRAINT `base_allocation_facilitylevel_id_foreign` FOREIGN KEY (`facilitylevel_id`) REFERENCES `facility_level` (`facilitylevel_id`); -- -- Constraints for table `base_allocation_tools` -- ALTER TABLE `base_allocation_tools` ADD CONSTRAINT `base_allocation_tools_tools_id_foreign` FOREIGN KEY (`tools_id`) REFERENCES `tools` (`tools_id`); -- -- Constraints for table `delivery` -- ALTER TABLE `delivery` ADD CONSTRAINT `delivery_printingorder_id_foreign` FOREIGN KEY (`printingorder_id`) REFERENCES `printing_orders` (`printorder_id`); -- -- Constraints for table `distribution` -- ALTER TABLE `distribution` ADD CONSTRAINT `distribution_ip_id_foreign` FOREIGN KEY (`ip_id`) REFERENCES `implementing_partner` (`ip_id`); -- -- Constraints for table `district` -- ALTER TABLE `district` ADD CONSTRAINT `district_region_id_foreign` FOREIGN KEY (`region_id`) REFERENCES `region` (`region_id`); -- -- Constraints for table `implementing_partner` -- ALTER TABLE `implementing_partner` ADD CONSTRAINT `implementing_partner_fundingagency_id_foreign` FOREIGN KEY (`funding_agency_id`) REFERENCES `funding_agency` (`funding_agency_id`); -- -- Constraints for table `ip_order` -- ALTER TABLE `ip_order` ADD CONSTRAINT `order_ip_id_foreign` FOREIGN KEY (`ip_id`) REFERENCES `implementing_partner` (`ip_id`); -- -- Constraints for table `ip_order_details` -- ALTER TABLE `ip_order_details` ADD CONSTRAINT `tools_ordered_tools_id_foreign` FOREIGN KEY (`tools_id`) REFERENCES `tools` (`tools_id`); -- -- Constraints for table `permission_role` -- ALTER TABLE `permission_role` ADD CONSTRAINT `permission_role_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `permission_role_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `pick_up` -- ALTER TABLE `pick_up` ADD CONSTRAINT `pick_up_toolspicked_id_foreign` FOREIGN KEY (`toolspicked_id`) REFERENCES `tools_picked` (`toolspicked_id`); -- -- Constraints for table `printing_orders` -- ALTER TABLE `printing_orders` ADD CONSTRAINT `printing_order_tools_id_foreign` FOREIGN KEY (`tools_id`) REFERENCES `tools` (`tools_id`); -- -- Constraints for table `roles_1` -- ALTER TABLE `roles_1` ADD CONSTRAINT `roles_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `role_user` -- ALTER TABLE `role_user` ADD CONSTRAINT `role_user_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `role_user_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `service_area` -- ALTER TABLE `service_area` ADD CONSTRAINT `service_area_healthfacility_id_foreign` FOREIGN KEY (`healthfacility_id`) REFERENCES `health_facility` (`healthfacility_id`); -- -- Constraints for table `subcounty` -- ALTER TABLE `subcounty` ADD CONSTRAINT `subcounty_district_id_foreign` FOREIGN KEY (`district_id`) REFERENCES `district` (`district_id`); -- -- Constraints for table `tools_delivered` -- ALTER TABLE `tools_delivered` ADD CONSTRAINT `tools_delivered_delivery_id_foreign` FOREIGN KEY (`delivery_id`) REFERENCES `delivery` (`delivery_id`), ADD CONSTRAINT `tools_delivered_tools_id_foreign` FOREIGN KEY (`tools_id`) REFERENCES `tools` (`tools_id`); -- -- Constraints for table `tools_distributed` -- ALTER TABLE `tools_distributed` ADD CONSTRAINT `tools_distributed_distribution_id_foreign` FOREIGN KEY (`distribution_id`) REFERENCES `distribution` (`distribution_id`), ADD CONSTRAINT `tools_distributed_toolspicked_id_foreign` FOREIGN KEY (`toolspicked_id`) REFERENCES `tools_picked` (`toolspicked_id`); -- -- Constraints for table `tools_ordered_for_printing` -- ALTER TABLE `tools_ordered_for_printing` ADD CONSTRAINT `tools_ordered_for_printing_printingorder_id_foreign` FOREIGN KEY (`printingorder_id`) REFERENCES `printing_orders` (`printorder_id`);
CREATE DATABASE IF NOT EXISTS `purchaseorderdb` /*!40100 DEFAULT CHARACTER SET utf8 */; USE `purchaseorderdb`; -- MySQL dump 10.15 Distrib 10.0.20-MariaDB, for debian-linux-gnu (x86_64) -- -- Host: localhost Database: purchaseorderdb -- ------------------------------------------------------ -- Server version 10.0.20-MariaDB-1~precise-log /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `purchaseorder` -- DROP TABLE IF EXISTS `purchaseorder`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `purchaseorder` ( `id` int(11) NOT NULL AUTO_INCREMENT, `accountid` int(11) DEFAULT NULL, `providerid` int(11) NOT NULL, `taxrate` decimal(10,2) NOT NULL DEFAULT '0.07', `tax` decimal(10,2) NOT NULL DEFAULT '0.07', `subtotal` decimal(10,2) DEFAULT '0.00', `total` decimal(10,2) NOT NULL DEFAULT '0.00', `billto_name` varchar(100) CHARACTER SET big5 COLLATE big5_bin NOT NULL, `billto_company` varchar(100) DEFAULT NULL, `billto_address` text NOT NULL, `billto_phone` varchar(45) NOT NULL, `billto_city` varchar(45) NOT NULL, `billto_state` varchar(45) NOT NULL, `billto_country` varchar(45) NOT NULL, `billto_zipcode` varchar(10) DEFAULT '00000', `shipto_name` varchar(100) NOT NULL, `shipto_company` varchar(100) NOT NULL, `shipto_address` text NOT NULL, `shipto_phone` varchar(45) NOT NULL, `shipto_city` varchar(45) NOT NULL, `shipto_state` varchar(45) NOT NULL, `shipto_country` varchar(45) NOT NULL, `shipto_zipcode` varchar(10) NOT NULL DEFAULT '00000', `created_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `fk_purchaseorder` (`accountid`), KEY `fk_purchaseorder_trader` (`providerid`), KEY `fk_purchaseorder_provider` (`providerid`), KEY `fk_purchaseorder_account` (`accountid`), CONSTRAINT `fk_purchaseorder_provider` FOREIGN KEY (`providerid`) REFERENCES `provider` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `purchaseorder` -- LOCK TABLES `purchaseorder` WRITE; /*!40000 ALTER TABLE `purchaseorder` DISABLE KEYS */; /*!40000 ALTER TABLE `purchaseorder` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `product` -- DROP TABLE IF EXISTS `product`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `product` ( `id` int(11) NOT NULL AUTO_INCREMENT, `productcode` varchar(50) NOT NULL, `productname` varchar(100) NOT NULL, `description` text NOT NULL, `price` decimal(10,2) NOT NULL DEFAULT '0.00', `displayable` smallint(6) NOT NULL DEFAULT '1', `providerid` int(11) NOT NULL, `category` varchar(100) NOT NULL, `image` varchar(100) DEFAULT NULL, `taxable` smallint(6) NOT NULL DEFAULT '1', PRIMARY KEY (`id`), UNIQUE KEY `productcode_UNIQUE` (`productcode`), KEY `fk_product` (`providerid`), CONSTRAINT `fk_product` FOREIGN KEY (`providerid`) REFERENCES `provider` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `product` -- LOCK TABLES `product` WRITE; /*!40000 ALTER TABLE `product` DISABLE KEYS */; INSERT INTO `product` VALUES (1,'L00023','LAPTOP ASUS','Computer laptop with 4GB of RAM, 100TB HD, 15\'\' wide screen',1250.99,1,1,'COMPUTURES','laptop_asus.jpg',1),(2,'KX-TGJ310SP','Telefono Inalambrico Digital','Telefono inalambrico con bateria de gran duracion, permites conversaciones de hasta de 15 horas.',200.00,1,1,'TELEFONOS','telefono_inalambrico.jpg',1),(3,'P89030','OMEGA 6','Omega 6, Acidos grasos para mejor salud arterial ',25.99,1,2,'HEALTH','omega6.jpeg',1),(4,'P505000','USB Device','This is a test please ignore this.',25.99,1,3,'Electronic','default.jpg',1); /*!40000 ALTER TABLE `product` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tbl_user` -- DROP TABLE IF EXISTS `tbl_user`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tbl_user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(128) NOT NULL, `password` varchar(128) NOT NULL, `email` varchar(128) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tbl_user` -- LOCK TABLES `tbl_user` WRITE; /*!40000 ALTER TABLE `tbl_user` DISABLE KEYS */; INSERT INTO `tbl_user` VALUES (1,'test1','pass1','test1@example.com'),(2,'test2','pass2','test2@example.com'),(3,'test3','pass3','test3@example.com'),(4,'test4','pass4','test4@example.com'),(5,'test5','pass5','test5@example.com'),(6,'test6','pass6','test6@example.com'),(7,'test7','pass7','test7@example.com'),(8,'test8','pass8','test8@example.com'),(9,'test9','pass9','test9@example.com'),(10,'test10','pass10','test10@example.com'),(11,'test11','pass11','test11@example.com'),(12,'test12','pass12','test12@example.com'),(13,'test13','pass13','test13@example.com'),(14,'test14','pass14','test14@example.com'),(15,'test15','pass15','test15@example.com'),(16,'test16','pass16','test16@example.com'),(17,'test17','pass17','test17@example.com'),(18,'test18','pass18','test18@example.com'),(19,'test19','pass19','test19@example.com'),(20,'test20','pass20','test20@example.com'),(21,'test21','pass21','test21@example.com'); /*!40000 ALTER TABLE `tbl_user` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `purchaseorder_items` -- DROP TABLE IF EXISTS `purchaseorder_items`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `purchaseorder_items` ( `id` int(11) NOT NULL AUTO_INCREMENT, `purchaseorderid` int(11) NOT NULL, `productid` int(11) NOT NULL, `quantity` int(11) NOT NULL, `price` decimal(10,2) NOT NULL DEFAULT '0.00', PRIMARY KEY (`id`), KEY `fk_purchaseorder_items` (`purchaseorderid`), CONSTRAINT `fk_purchaseorder_items` FOREIGN KEY (`purchaseorderid`) REFERENCES `purchaseorder` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `purchaseorder_items` -- LOCK TABLES `purchaseorder_items` WRITE; /*!40000 ALTER TABLE `purchaseorder_items` DISABLE KEYS */; /*!40000 ALTER TABLE `purchaseorder_items` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `provider` -- DROP TABLE IF EXISTS `provider`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `provider` ( `id` int(11) NOT NULL AUTO_INCREMENT, `code` varchar(45) NOT NULL, `name` varchar(45) NOT NULL, `ruc` varchar(60) NOT NULL, `dv` smallint(6) NOT NULL, `phone` varchar(45) NOT NULL, `email` varchar(255) NOT NULL, `address` text NOT NULL, `contactname` varchar(50) NOT NULL, `managing_director` varchar(60) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `code_UNIQUE` (`code`), UNIQUE KEY `name_UNIQUE` (`name`), UNIQUE KEY `ruc_UNIQUE` (`ruc`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `provider` -- LOCK TABLES `provider` WRITE; /*!40000 ALTER TABLE `provider` DISABLE KEYS */; INSERT INTO `provider` VALUES (1,'PA-ELECTRONIC','PANASONIC','102023',59,'3982000','carlos.escobar@eliorcorp.com','Ave. Transismica, Building 100','S. Gutierrez','XXXXX'),(2,'NSSA','Natural Store, S.A','40300',200,'00105040404','cescobarabdiel@gmail.com','20th street, Ave. 500','Steven T.',''),(3,'P6060','Pineapplet Tecnologies','R003033',50,'507605050','miariana@pineappletc.com','test','Mariana','Miguel'); /*!40000 ALTER TABLE `provider` ENABLE KEYS */; UNLOCK TABLES; -- -- Dumping events for database 'purchaseorderdb' -- -- -- Dumping routines for database 'purchaseorderdb' -- /*!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 2015-07-15 2:49:18
-- Create a table to hold Nasdaq stock data -- Table 1 CREATE TABLE tech_stocks( ticker VARCHAR(5) NOT NULL, market_cap FLOAT(53) NOT NULL, ipo_year INT NOT NULL, PRIMARY KEY (ticker) ); -- Display Nasdaq stock data table select * from tech_stocks; -- Create a table from the Nasdaq stock data table by ascending order of IPO year -- Table 2 SELECT ticker, market_cap, ipo_year INTO ipo_year FROM tech_stocks ORDER BY ipo_year ASC; -- Display IPO year table SELECT * FROM ipo_year; -- Create a table for stocks that IPO'd between 1972 and 2013 and organized in descending order of market cap -- Tabel 3 SELECT ticker, market_cap, ipo_year INTO market_cap FROM ipo_year WHERE ipo_year BETWEEN '1970' AND '2013' ORDER BY market_cap DESC; -- Display market cap table (1972-2013) SELECT * FROM market_cap; -- Create a table for the top five stocks with the highest market cap (1970-2013) -- Tabel 4 SELECT ticker, market_cap, ipo_year INTO blue_chip FROM market_cap LIMIT 5; -- Display top five table (1970-2015) SELECT * FROM blue_chip -- Create a table for stocks with IPO year between 2018 and 2019 organized in descending order of market cap -- Tabel 5 SELECT ticker, market_cap, ipo_year INTO new_market_cap FROM ipo_year WHERE ipo_year BETWEEN '2018' AND '2019' ORDER BY market_cap DESC; -- Display market cap table (2018-2021) SELECT * FROM new_market_cap; -- Crate a table for the top five stocks with the highest market cap (2018-2019) -- Tabel 6 SELECT ticker, market_cap, ipo_year INTO new_ipos FROM new_market_cap LIMIT 5; -- Display top five table (2018-2019) SELECT * FROM new_ipos; -- Create a table to join company name for blue chip tabel -- Table 7 CREATE TABLE bluechip( ticker VARCHAR(5) NOT NULL, company_name VARCHAR(10) NOT NULL, PRIMARY KEY (ticker) ); -- Display blue chip table SELECT * FROM bluechip; -- Creat a table to join company name for ne IPO's -- Table 8 CREATE TABLE newipos( ticker VARCHAR(5) NOT NULL, company_name VARCHAR(15) NOT NULL, PRIMARY KEY (ticker) ); -- Display new IPO table SELECT * FROM newipos; -- Retrieve the columns needed from the table to join. SELECT new_ipos.ticker, newipos.company_name, new_ipos.market_cap, new_ipos.ipo_year -- Create a new table using the INTO clause. -- Table 9 INTO new_ipos_list -- Join both tables on the primary key. FROM new_ipos INNER JOIN newipos ON new_ipos.ticker = newipos.ticker; -- Display new joined tabel. SELECT * FROM new_ipos_list; -- Retrieve the columns needed from the table to join. SELECT blue_chip.ticker, bluechip.company_name, blue_chip.market_cap, blue_chip.ipo_year -- Create a new table using the INTO clause. -- Table 10 INTO blue_chip_list -- Join both tables on the primary key. FROM blue_chip INNER JOIN bluechip ON blue_chip.ticker = bluechip.ticker; -- Display new joined tabel. SELECT * FROM blue_chip_list;
CREATE TABLE requisito_academico ( id SERIAL NOT NULL PRIMARY KEY, malla_curricular INT NOT NULL, titulacion_id INT NOT NULL REFERENCES titulaciones(id) );
INSERT INTO Customer1 (NomorCustomer, NamaAkhir, NamaAwal) VALUES ('12512','Joni','Ansori')
CREATE OR REPLACE VIEW rezerwacje_do_anulowania AS SELECT w.kraj, w.data, w.nazwa AS nazwa_wycieczki, o.imie, o.nazwisko, o.kontakt FROM rezerwacje r JOIN wycieczki w ON w.id_wycieczki = r.id_wycieczki JOIN osoby o ON o.id_osoby = r.id_osoby WHERE r.status = 'N' AND w.data BETWEEN SYSDATE AND SYSDATE + INTERVAL '7' DAY;
CREATE TABLE Renter ( user_id serial PRIMARY KEY NOT NULL, session_id VARCHAR(255) NOT NULL, login_id VARCHAR(255) NOT NULL, first_name VARCHAR(255) NOT NULL, last_name VARCHAR(255) NOT NULL, city VARCHAR(255) NOT NULL, zip integer NOT NULL, address VARCHAR(255) NOT NULL, email VARCHAR(255) NOT NULL, phone integer NOT NULL, rating integer NOT NULL) CREATE TABLE Tools ( tool_id serial PRIMARY KEY NOT NULL, user_id integer NOT NULL, brand VARCHAR(255) NOT NULL, model VARCHAR(255) NOT NULL, description VARCHAR(255) NOT NULL, category_id integer NOT NULL, S3_image VARCHAR(255) NOT NULL, day_price integer NOT NULL, hour_price integer NOT NULL, week_price integer NOT NULL, deposit integer NOT NULL, available BOOLEAN NOT NULL, rating integer NOT NULL, first_name VARCHAR(255) NOT NULL); CREATE TABLE Authusers ( authkey VARCHAR(255) NOT NULL, user_id integer NOT NULL, email VARCHAR(255) NOT NULL ); CREATE TABLE Reviews ( rental_id serial PRIMARY KEY NOT NULL, rating integer NOT NULL, user_id integer NOT NULL, date DATE NOT NULL); CREATE TABLE Favorites ( tool_id integer NOT NULL, user_id integer NOT NULL, listing_id integer NOT NULL); CREATE TABLE Pending ( rental_id serial PRIMARY KEY NOT NULL, user_id integer NOT NULL, tool_id integer NOT NULL, duration TIME NOT NULL, date DATE NOT NULL); CREATE TABLE Approved ( rental_id integer NOT NULL, user_id integer NOT NULL, tool_id integer NOT NULL); CREATE TABLE Marketplace ( listing_id serial PRIMARY KEY NOT NULL, user_id integer NOT NULL, S3_image VARCHAR(255) NOT NULL, tool_price integer NOT NULL, description VARCHAR(255) NOT NULL, brand VARCHAR(255) NOT NULL, model VARCHAR(255) NOT NULL, category VARCHAR(255) NOT NULL, phone integer NOT NULL); CREATE TABLE Category ( category_id serial PRIMARY KEY NOT NULL, outdoor VARCHAR(255) NOT NULL, home_improvement VARCHAR(255) NOT NULL, safety VARCHAR(255) NOT NULL, woodworking VARCHAR(255) NOT NULL, hardware VARCHAR(255) NOT NULL, automotive VARCHAR(255) NOT NULL, plumbing VARCHAR(255) NOT NULL, electrical VARCHAR(255) NOT NULL, recreational VARCHAR(255) NOT NULL);
/* Navicat MySQL Data Transfer Source Server : Local DB Source Server Version : 50713 Source Host : localhost:3306 Source Database : app-dev Target Server Type : MYSQL Target Server Version : 50713 File Encoding : 65001 Date: 2017-04-10 20:08:00 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for sys_dictionary -- ---------------------------- DROP TABLE IF EXISTS `sys_dictionary`; CREATE TABLE `sys_dictionary` ( `id` int(11) NOT NULL AUTO_INCREMENT, `create_time` datetime DEFAULT NULL, `is_deleted` int(11) DEFAULT '0', `update_time` datetime DEFAULT NULL, `code` varchar(20) NOT NULL, `description` longtext, `is_fixed` int(11) DEFAULT '0', `name` varchar(100) DEFAULT NULL, `sequence` int(11) DEFAULT '0', `status` int(11) DEFAULT '0', `type` int(11) DEFAULT '0', `parent_id` int(11) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `UK_ah1isfy5alow4rtkty9vri85r` (`code`), KEY `FKnd95at2xgu5eb9http5x3jdk` (`parent_id`), CONSTRAINT `FKnd95at2xgu5eb9http5x3jdk` FOREIGN KEY (`parent_id`) REFERENCES `sys_dictionary` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_dictionary -- ---------------------------- -- ---------------------------- -- Table structure for sys_dictionary_type -- ---------------------------- DROP TABLE IF EXISTS `sys_dictionary_type`; CREATE TABLE `sys_dictionary_type` ( `id` int(11) NOT NULL AUTO_INCREMENT, `create_time` datetime DEFAULT NULL, `is_deleted` int(11) DEFAULT '0', `update_time` datetime DEFAULT NULL, `code` varchar(20) NOT NULL, `description` longtext, `is_fixed` int(11) DEFAULT '0', `name` varchar(100) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `UK_hrpfljty1s5rqoii84gwvtscw` (`code`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_dictionary_type -- ---------------------------- -- ---------------------------- -- Table structure for sys_log -- ---------------------------- DROP TABLE IF EXISTS `sys_log`; CREATE TABLE `sys_log` ( `id` int(11) NOT NULL AUTO_INCREMENT, `create_time` datetime DEFAULT NULL, `is_deleted` int(11) DEFAULT '0', `update_time` datetime DEFAULT NULL, `content` longtext, `description` longtext, `ip` varchar(100) DEFAULT NULL, `module` varchar(200) DEFAULT NULL, `response_time` varchar(100) DEFAULT NULL, `username` varchar(100) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=277 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_log -- ---------------------------- INSERT INTO `sys_log` VALUES ('269', '2017-04-10 20:05:43', '0', '2017-04-10 20:05:43', '[类名]:io.zhijian.system.service.impl.RoleService,[方法]:update,[参数]:name=超级管理员&code=admin&description=超级管理员&,[IP]:169.254.12.85', '修改角色信息', '169.254.12.85', '系统角色', null, 'admin'); INSERT INTO `sys_log` VALUES ('270', '2017-04-10 20:05:43', '0', '2017-04-10 20:05:43', '[类名]:io.zhijian.system.service.impl.RoleService,[方法]:update,[参数]:name=超级管理员&code=admin&description=超级管理员&,[IP]:169.254.12.85', '修改角色信息', '169.254.12.85', '系统角色', null, 'admin'); INSERT INTO `sys_log` VALUES ('271', '2017-04-10 20:05:54', '0', '2017-04-10 20:05:54', '[类名]:io.zhijian.system.service.impl.RoleService,[方法]:deleteUserRole,[参数]:null,[IP]:169.254.12.85', '删除角色下指定的用户', '169.254.12.85', '系统角色', null, 'admin'); INSERT INTO `sys_log` VALUES ('272', '2017-04-10 20:05:54', '0', '2017-04-10 20:05:54', '[类名]:io.zhijian.system.service.impl.RoleService,[方法]:deleteUserRole,[参数]:null,[IP]:169.254.12.85', '删除角色下指定的用户', '169.254.12.85', '系统角色', null, 'admin'); INSERT INTO `sys_log` VALUES ('273', '2017-04-10 20:06:07', '0', '2017-04-10 20:06:07', '[类名]:io.zhijian.system.service.impl.RoleService,[方法]:deleteUserRole,[参数]:null,[IP]:169.254.12.85', '删除角色下指定的用户', '169.254.12.85', '系统角色', null, 'admin'); INSERT INTO `sys_log` VALUES ('274', '2017-04-10 20:06:07', '0', '2017-04-10 20:06:07', '[类名]:io.zhijian.system.service.impl.RoleService,[方法]:deleteUserRole,[参数]:null,[IP]:169.254.12.85', '删除角色下指定的用户', '169.254.12.85', '系统角色', null, 'admin'); INSERT INTO `sys_log` VALUES ('275', '2017-04-10 20:07:33', '0', '2017-04-10 20:07:33', '[类名]:io.zhijian.system.service.impl.UserService,[方法]:update,[参数]:username=admin&name=admin&mobile=&email=&gender=0&,[IP]:169.254.12.85', '更新用户信息', '169.254.12.85', '系统用户', null, 'admin'); INSERT INTO `sys_log` VALUES ('276', '2017-04-10 20:07:33', '0', '2017-04-10 20:07:33', '[类名]:io.zhijian.system.service.impl.UserService,[方法]:update,[参数]:username=admin&name=admin&mobile=&email=&gender=0&,[IP]:169.254.12.85', '更新用户信息', '169.254.12.85', '系统用户', null, 'admin'); -- ---------------------------- -- Table structure for sys_resource -- ---------------------------- DROP TABLE IF EXISTS `sys_resource`; CREATE TABLE `sys_resource` ( `id` int(11) NOT NULL AUTO_INCREMENT, `create_time` datetime DEFAULT NULL, `is_deleted` int(11) DEFAULT '0', `update_time` datetime DEFAULT NULL, `code` longtext, `description` longtext, `icon` varchar(100) DEFAULT NULL, `is_fixed` int(11) DEFAULT '0', `name` varchar(100) DEFAULT NULL, `sequence` int(11) DEFAULT '0', `status` int(11) DEFAULT '0', `type` varchar(100) DEFAULT NULL, `url` longtext, `parent_id` int(11) DEFAULT NULL, PRIMARY KEY (`id`), KEY `FK3fekum3ead5klp7y4lckn5ohi` (`parent_id`), CONSTRAINT `FK3fekum3ead5klp7y4lckn5ohi` FOREIGN KEY (`parent_id`) REFERENCES `sys_resource` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_resource -- ---------------------------- INSERT INTO `sys_resource` VALUES ('1', null, '0', '2017-04-02 16:31:00', null, '', null, '0', '系统设置', '1', '0', '1', '', null); INSERT INTO `sys_resource` VALUES ('2', null, '0', '2017-04-02 16:31:08', null, '', null, '0', '系统监控', '2', '0', '1', '', null); INSERT INTO `sys_resource` VALUES ('3', null, '0', '2017-04-07 12:10:33', null, '', null, '0', '用户管理', '1', '0', '1', '/admin/user/list', '1'); INSERT INTO `sys_resource` VALUES ('4', null, '0', '2017-04-02 16:29:32', null, 'aaa', null, '0', '角色管理', '2', '0', '1', '/admin/role/list', '1'); INSERT INTO `sys_resource` VALUES ('5', null, '0', '2017-04-07 12:10:57', null, '', null, '0', '菜单管理', '4', '0', '1', '/admin/menu/list', '1'); INSERT INTO `sys_resource` VALUES ('6', null, '0', null, null, null, null, '0', '日志记录', '0', '0', '1', '/admin/log/list', '2'); INSERT INTO `sys_resource` VALUES ('7', null, '0', null, null, null, null, '0', '数据库监控', '0', '0', '1', '/druid/index.html', '2'); INSERT INTO `sys_resource` VALUES ('9', '2017-04-01 21:33:22', '0', '2017-04-07 19:44:00', 'sys:menu:add', '添加菜单', null, '0', '添加', null, '0', '2', null, '5'); INSERT INTO `sys_resource` VALUES ('10', '2017-04-06 20:21:45', '0', '2017-04-06 20:21:45', null, '', null, '0', '权限管理', '3', '0', '1', '/admin/permission/list', '1'); INSERT INTO `sys_resource` VALUES ('11', '2017-04-07 12:05:08', '0', '2017-04-07 12:05:08', null, '', null, '0', '字典管理', '5', '0', '1', '/admin/dict/list', '1'); -- ---------------------------- -- Table structure for sys_role -- ---------------------------- DROP TABLE IF EXISTS `sys_role`; CREATE TABLE `sys_role` ( `id` int(11) NOT NULL AUTO_INCREMENT, `create_time` datetime DEFAULT NULL, `is_deleted` int(11) DEFAULT '0', `update_time` datetime DEFAULT NULL, `code` varchar(100) NOT NULL, `description` longtext, `name` varchar(100) DEFAULT NULL, `status` int(11) NOT NULL DEFAULT '0', `is_fixed` int(11) DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `UK_plpigyqwsqfn7mn66npgf9ftp` (`code`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_role -- ---------------------------- INSERT INTO `sys_role` VALUES ('1', '2017-03-31 18:23:40', '0', '2017-04-10 20:05:43', 'admin', '超级管理员', '超级管理员', '0', '1'); -- ---------------------------- -- Table structure for sys_role_resource -- ---------------------------- DROP TABLE IF EXISTS `sys_role_resource`; CREATE TABLE `sys_role_resource` ( `role_id` int(11) NOT NULL, `resource_id` int(11) NOT NULL, PRIMARY KEY (`role_id`,`resource_id`), KEY `FKkj7e3cva1e2s3nsd0yghpbsnk` (`resource_id`), CONSTRAINT `FK7urjh5xeujvp29nihwbs5b9kr` FOREIGN KEY (`role_id`) REFERENCES `sys_role` (`id`), CONSTRAINT `FKkj7e3cva1e2s3nsd0yghpbsnk` FOREIGN KEY (`resource_id`) REFERENCES `sys_resource` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_role_resource -- ---------------------------- INSERT INTO `sys_role_resource` VALUES ('1', '1'); INSERT INTO `sys_role_resource` VALUES ('1', '2'); INSERT INTO `sys_role_resource` VALUES ('1', '3'); INSERT INTO `sys_role_resource` VALUES ('1', '4'); INSERT INTO `sys_role_resource` VALUES ('1', '5'); INSERT INTO `sys_role_resource` VALUES ('1', '6'); INSERT INTO `sys_role_resource` VALUES ('1', '7'); INSERT INTO `sys_role_resource` VALUES ('1', '10'); INSERT INTO `sys_role_resource` VALUES ('1', '11'); -- ---------------------------- -- Table structure for sys_user -- ---------------------------- DROP TABLE IF EXISTS `sys_user`; CREATE TABLE `sys_user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `create_time` datetime DEFAULT NULL, `is_deleted` int(11) DEFAULT '0', `update_time` datetime DEFAULT NULL, `email` varchar(50) DEFAULT NULL, `gender` int(11) DEFAULT '0', `mobile` varchar(40) DEFAULT NULL, `name` varchar(200) DEFAULT NULL, `password` varchar(200) NOT NULL, `status` int(11) NOT NULL DEFAULT '0', `username` varchar(100) NOT NULL, `is_fixed` int(11) DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `UK_51bvuyvihefoh4kp5syh2jpi4` (`username`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_user -- ---------------------------- INSERT INTO `sys_user` VALUES ('1', '2017-03-26 19:57:50', '0', '2017-04-10 20:07:33', '', '0', '', 'admin', 'e10adc3949ba59abbe56e057f20f883e', '0', 'admin', '1'); -- ---------------------------- -- Table structure for sys_user_role -- ---------------------------- DROP TABLE IF EXISTS `sys_user_role`; CREATE TABLE `sys_user_role` ( `user_id` int(11) NOT NULL, `role_id` int(11) NOT NULL, PRIMARY KEY (`user_id`,`role_id`), KEY `FKhh52n8vd4ny9ff4x9fb8v65qx` (`role_id`), CONSTRAINT `FKb40xxfch70f5qnyfw8yme1n1s` FOREIGN KEY (`user_id`) REFERENCES `sys_user` (`id`), CONSTRAINT `FKhh52n8vd4ny9ff4x9fb8v65qx` FOREIGN KEY (`role_id`) REFERENCES `sys_role` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_user_role -- ---------------------------- INSERT INTO `sys_user_role` VALUES ('1', '1');
ALTER TABLE `report` add info_id BIGINT;
SELECT PET.PETID, PET.PET_FIRST_NAME, PET.PET_MIDDLE_NAME, PET.SPECIESID, PET.BREEDID, PET.GENDERID, PET.COLORING, PET.BIRTH_DATE, PET.TEMPERAMENT_NOTES FROM PET UNION ALL SELECT ANIMAL_FACTS.PETID, ANIMAL_FACTS.PET_FIRST_NAME, ANIMAL_FACTS.PET_MIDDLE_NAME, ANIMAL_FACTS.SPECIESID, ANIMAL_FACTS.BREEDID, ANIMAL_FACTS.GENDERID, ANIMAL_FACTS.COLORING, ANIMAL_FACTS.BIRTH_DATE, ANIMAL_FACTS.TEMPERAMENT_NOTES FROM ANIMAL_FACTS; INSERT INTO PET(OWNERID, PET_FIRST_NAME) VALUES(71, 'Suzie'); INSERT INTO PET(OWNERID, PET_FIRST_NAME) VALUES(71, 'Marisol'); INSERT INTO PET(OWNERID, PET_FIRST_NAME) VALUES(71, 'Jeffery'); INSERT INTO PET(OWNERID, PET_FIRST_NAME) VALUES(59, 'Jason'); INSERT INTO PET(OWNERID, PET_FIRST_NAME) VALUES(99, 'Hillary'); INSERT INTO PET(OWNERID, PET_FIRST_NAME) VALUES(257, 'Wade'); INSERT INTO PET(OWNERID, PET_FIRST_NAME) VALUES(186, 'Rover'); INSERT INTO PET(OWNERID, PET_FIRST_NAME) VALUES(186, 'Tweety'); UPDATE "DAVEDBA"."PET" SET SPECIESID = '2', BREEDID = '47', GENDERID = '2', COLORING = 'Black', BIRTH_DATE = TO_DATE('2016-12-21 00:00:00', 'YYYY-MM-DD HH24:MI:SS'), IS_LIVING = '1' WHERE ROWID = 'AAAWmCAAHAAAADLAAA' AND ORA_ROWSCN = '3214916' UPDATE "DAVEDBA"."PET" SET SPECIESID = '4', BREEDID = '43', GENDERID = '3', COLORING = 'Greenish Brown', BIRTH_DATE = TO_DATE('2010-06-23 14:25:41', 'YYYY-MM-DD HH24:MI:SS'), IS_LIVING = 'Y' WHERE ROWID = 'AAAWmCAAHAAAADLAAB' AND ORA_ROWSCN = '3214916' UPDATE "DAVEDBA"."PET" SET SPECIESID = '2', BREEDID = '47', GENDERID = '4', COLORING = 'Brown/Tan', BIRTH_DATE = TO_DATE('2009-03-21 14:26:16', 'YYYY-MM-DD HH24:MI:SS'), IS_LIVING = 'y' WHERE ROWID = 'AAAWmCAAHAAAADLAAC' AND ORA_ROWSCN = '3214916' UPDATE "DAVEDBA"."PET" SET SPECIESID = '2', BREEDID = '58', GENDERID = '3', COLORING = 'White base brown & black', BIRTH_DATE = TO_DATE('2009-08-18 00:00:00', 'YYYY-MM-DD HH24:MI:SS'), IS_LIVING = '1' WHERE ROWID = 'AAAWmCAAHAAAADLAAD' AND ORA_ROWSCN = '3214916' UPDATE "DAVEDBA"."PET" SET SPECIESID = '2', BREEDID = '48', GENDERID = '2', COLORING = 'Brown', BIRTH_DATE = TO_DATE('2000-01-30 00:00:00', 'YYYY-MM-DD HH24:MI:SS'), IS_LIVING = 'Y' WHERE ROWID = 'AAAWmCAAHAAAADLAAE' AND ORA_ROWSCN = '3214916' UPDATE "DAVEDBA"."PET" SET SPECIESID = '3', BREEDID = '54', GENDERID = '4', COLORING = 'No fur, only skin', BIRTH_DATE = TO_DATE('2007-03-16 00:00:00', 'YYYY-MM-DD HH24:MI:SS'), IS_LIVING = 'Y' WHERE ROWID = 'AAAWmCAAHAAAADLAAF' AND ORA_ROWSCN = '3214916' UPDATE "DAVEDBA"."PET" SET SPECIESID = '2', BREEDID = '57', GENDERID = '4', COLORING = 'White & Black', BIRTH_DATE = TO_DATE('2008-06-25 00:00:00', 'YYYY-MM-DD HH24:MI:SS'), IS_LIVING = 'Y' WHERE ROWID = 'AAAWmCAAHAAAADLAAG' AND ORA_ROWSCN = '3214916' UPDATE "DAVEDBA"."PET" SET SPECIESID = '1', BREEDID = '44', GENDERID = '6', COLORING = 'Yellow', BIRTH_DATE = TO_DATE('2000-02-22 00:00:00', 'YYYY-MM-DD HH24:MI:SS'), IS_LIVING = 'Y' WHERE ROWID = 'AAAWmCAAHAAAADLAAH' AND ORA_ROWSCN = '3214916'
/*Quick Clean */ DELETE FROM nyc_yellow_taxi_trips_2018_01 WHERE date_part('month', tpep_pickup_datetime) != 01 DELETE FROM nyc_yellow_taxi_trips_2018_02 WHERE date_part('month', tpep_pickup_datetime) != 02; DELETE FROM nyc_yellow_taxi_trips_2018_03 WHERE date_part('month', tpep_pickup_datetime) != 03; DELETE FROM nyc_yellow_taxi_trips_2018_04 WHERE date_part('month', tpep_pickup_datetime) != 04; DELETE FROM nyc_yellow_taxi_trips_2018_05 WHERE date_part('month', tpep_pickup_datetime) != 05; DELETE FROM nyc_yellow_taxi_trips_2018_06 WHERE date_part('month', tpep_pickup_datetime) != 06; DELETE FROM nyc_yellow_taxi_trips_2018_07 WHERE date_part('month', tpep_pickup_datetime) != 07; DELETE FROM nyc_yellow_taxi_trips_2018_08 WHERE date_part('month', tpep_pickup_datetime) != 08; DELETE FROM nyc_yellow_taxi_trips_2018_09 WHERE date_part('month', tpep_pickup_datetime) != 09; DELETE FROM nyc_yellow_taxi_trips_2018_10 WHERE date_part('month', tpep_pickup_datetime) != 10; DELETE FROM nyc_yellow_taxi_trips_2018_11 WHERE date_part('month', tpep_pickup_datetime) != 11; DELETE FROM nyc_yellow_taxi_trips_2018_12 WHERE date_part('month', tpep_pickup_datetime) != 12; DELETE FROM nyc_yellow_taxi_trips_2019_01 WHERE date_part('month', tpep_pickup_datetime) != 01; DELETE FROM nyc_yellow_taxi_trips_2019_02 WHERE date_part('month', tpep_pickup_datetime) != 02; DELETE FROM fhv_tripdata_2018_01 WHERE date_part('month', tpep_pickup_datetime) != 01; DELETE FROM fhv_tripdata_2018_02 WHERE date_part('month', tpep_pickup_datetime) != 02; DELETE FROM fhv_tripdata_2018_03 WHERE date_part('month', tpep_pickup_datetime) != 03; DELETE FROM fhv_tripdata_2018_04 WHERE date_part('month', tpep_pickup_datetime) != 04; DELETE FROM fhv_tripdata_2018_05 WHERE date_part('month', tpep_pickup_datetime) != 05; DELETE FROM fhv_tripdata_2018_06 WHERE date_part('month', tpep_pickup_datetime) != 06; DELETE FROM fhv_tripdata_2018_07 WHERE date_part('month', tpep_pickup_datetime) != 07; DELETE FROM fhv_tripdata_2018_08 WHERE date_part('month', tpep_pickup_datetime) != 08; DELETE FROM fhv_tripdata_2018_09 WHERE date_part('month', tpep_pickup_datetime) != 09; DELETE FROM fhv_tripdata_2018_10 WHERE date_part('month', tpep_pickup_datetime) != 10; DELETE FROM fhv_tripdata_2018_11 WHERE date_part('month', tpep_pickup_datetime) != 11; DELETE FROM fhv_tripdata_2018_12 WHERE date_part('month', tpep_pickup_datetime) != 12; DELETE FROM fhv_tripdata_2019_01 WHERE date_part('month', tpep_pickup_datetime) != 01; DELETE FROM fhv_tripdata_2019_02 WHERE date_part('month', tpep_pickup_datetime) != 02; /*########################################################*/ /* Union all in one big table*/ SELECT * INTO taxi FROM ( SELECT * FROM nyc_yellow_taxi_trips_2018_01 UNION SELECT * FROM nyc_yellow_taxi_trips_2018_02 UNION SELECT * FROM nyc_yellow_taxi_trips_2018_03 UNION SELECT * FROM nyc_yellow_taxi_trips_2018_04 UNION SELECT * FROM nyc_yellow_taxi_trips_2018_05 UNION SELECT * FROM nyc_yellow_taxi_trips_2018_06 UNION SELECT * FROM nyc_yellow_taxi_trips_2018_07 UNION SELECT * FROM nyc_yellow_taxi_trips_2018_08 UNION SELECT * FROM nyc_yellow_taxi_trips_2018_09 UNION SELECT * FROM nyc_yellow_taxi_trips_2018_10 UNION SELECT * FROM nyc_yellow_taxi_trips_2018_11 UNION SELECT * FROM nyc_yellow_taxi_trips_2018_12 UNION SELECT * FROM nyc_yellow_taxi_trips_2019_01 UNION SELECT * FROM nyc_yellow_taxi_trips_2019_02 ) t SELECT * INTO fhv FROM ( SELECT * FROM fhv_tripdata_2018_01 UNION SELECT * FROM fhv_tripdata_2018_02 UNION SELECT * FROM fhv_tripdata_2018_03 UNION SELECT * FROM fhv_tripdata_2018_04 UNION SELECT * FROM fhv_tripdata_2018_05 UNION SELECT * FROM fhv_tripdata_2018_06 UNION SELECT * FROM fhv_tripdata_2018_07 UNION SELECT * FROM fhv_tripdata_2018_08 UNION SELECT * FROM fhv_tripdata_2018_09 UNION SELECT * FROM fhv_tripdata_2018_10 UNION SELECT * FROM fhv_tripdata_2018_11 UNION SELECT * FROM fhv_tripdata_2018_12 ) f; DELETE FROM taxi WHERE date_part('year', tpep_pickup_datetime) NOT IN (2018,2019); DELETE FROM fhv WHERE date_part('year', tpep_pickup_datetime) NOT IN (2018,2019);
create schema ffms; # 创建Derby用户t_user数据表 create table ffms.t_user ( id int generated always as identity(start with 1, increment by 1), username varchar(8) not null, password varchar(8) not null, primary key(id) ); insert into ffms.t_user(username,password) values('zj','zj'); # 创建Derby用户t_account账户表(包括银行卡,理财卡,炒股卡等账户) create table ffms.t_account ( id int generated always as identity(start with 1, increment by 1), account_name varchar(10) not null, account_type varchar(),//记录卡的类型:借记卡,信用卡等 account_balance varchar(8) not null, income decimal(10,2), payout decimal(10,2), remarks varchar(40), primary key(id) ); #创建Derby收入类型t_income_type表 create table ffms.t_income_type ( id int generated always as identity (start with 1, increment by 1), parent_id int not null WITH DEFAULT 0, name varchar(40) not null, primary key(id) ); insert into ffms.t_income_type(id,parent_id,name) values(1,0,'工资'); insert into ffms.t_income_type(id,parent_id,name) values(1,0,'奖金'); #创建Derby收入类型t_payout_type表 create table ffms.t_payout_type ( id int generated always as identity (start with 1, increment by 1), parent_id int not null WITH DEFAULT 0, name varchar(40) not null, primary key(id) ); insert into ffms.t_payout_type(id,parent_id,name) values(1,0,'衣食'); insert into ffms.t_payout_type(id,parent_id,name) values(1,0,'房租'); #创建Derby账本簿t_account_book表 create table ffms.t_account_book ( id int generated always as identity (start with 1, increment by 1), ab_type char(10) not null, //收入或支出 sub_type int not null, //子类别 record_date date not null, amount decimal(10,2) not null, //支付方式:现金,信用卡。。。,如果用户选择的是卡,界面上还应提供哪个银行的,同步更新账户信息表 payment_method varchar(8) not null, owner_id int not null, //记录拥有者 description varchar(255), primary key(id) );
DROP TABLE IF EXISTS users; DROP TABLE IF EXISTS widgets; CREATE TABLE users ( id INTEGER PRIMARY KEY AUTOINCREMENT, first_name TEXT UNIQUE NULL, name TEXT UNIQUE NULL, email TEXT UNIQUE NULL, password TEXT NOT NULL, facebookId TEXT NULL ); CREATE TABLE widgets ( id INTEGER PRIMARY KEY AUTOINCREMENT, created TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, name TEXT NOT NULL );
SELECT OBJECT_SCHEMA_NAME(object_id) AS SchemaName, name AS TableName FROM sys.tables WHERE OBJECTPROPERTY(object_id, 'tablehasprimaryKey') = 0 ORDER BY SchemaName, TableName;
-- phpMyAdmin SQL Dump -- version 4.8.5 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: May 29, 2019 at 12:33 AM -- Server version: 10.1.40-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: `twitter-test` -- -- -------------------------------------------------------- -- -- Table structure for table `comment` -- CREATE TABLE `comment` ( `id` int(11) NOT NULL, `user_id` int(11) NOT NULL, `tweet_id` int(11) NOT NULL, `body` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `created` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `migration_versions` -- CREATE TABLE `migration_versions` ( `version` varchar(14) COLLATE utf8mb4_unicode_ci NOT NULL, `executed_at` datetime NOT NULL COMMENT '(DC2Type:datetime_immutable)' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `migration_versions` -- INSERT INTO `migration_versions` (`version`, `executed_at`) VALUES ('20190528104915', '2019-05-28 21:56:50'), ('20190528130139', '2019-05-28 21:56:50'), ('20190528132954', '2019-05-28 21:56:50'); -- -------------------------------------------------------- -- -- Table structure for table `tweet` -- CREATE TABLE `tweet` ( `id` int(11) NOT NULL, `user_id` int(11) NOT NULL, `tweet` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `views` int(11) NOT NULL, `created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `tweet` -- INSERT INTO `tweet` (`id`, `user_id`, `tweet`, `views`, `created`) VALUES (8, 1, 'I am Groot. I am Groot. I am Groot. I am Groot. I am Groot. We are Groot. I am Groot. We are Groot. I am Groot. I am Groot. We are Groot. We are Groot. We are Groot. I am Groot. We are Groot. We are Groot.', 6, '2019-05-29 00:04:19'), (9, 1, 'I am Groot. I am Groot. I am Groot.', 2, '2019-05-29 00:04:34'), (10, 1, 'Hodor hodor hodor hodor hodor hodor hodor. Hodor hodor hodor hodor hodor hodor hodor hodor hodor. Hodor hodor hodor hodor hodor hodor hodor hodor hodor. Hodor hodor hodor hodor hodor hodor hodor hodor hodor.', 5, '2019-05-29 00:06:36'), (11, 2, 'Hodor hodor hodor hodor hodor hodor hodor. Hodor hodor hodor hodor hodor hodor hodor hodor hodor. Hodor hodor hodor hodor hodor hodor hodor hodor hodor. Hodor', 7, '2019-05-29 00:07:08'), (12, 2, 'Yes. Why? Why is this still under discussion? No, no no no no no, I don\'t like him. I don\'t care who he knows. We\'re supposed to trust him with our product? Big Man. Big Generalissimo! Big fry cook is more like it...', 3, '2019-05-29 00:08:48'), (13, 2, 'Did you not plan for this contingency? I mean the Starship Enterprise had a self-destruct button. I\'m just saying. Yeah, you do seem to have a little \'shit creek\' action going. Hey, nobody appreciates a passionate woman more than I do.', 2, '2019-05-29 00:09:31'), (14, 2, 'We are Groot. I am Groot. I am Groot. We are Groot. We are Groot. We are Groot. We are Groot. I am Groot. We are Groot. We are Groot. I am Groot. I am Groot. We are Groot. We are Groot.', 3, '2019-05-29 00:10:04'), (15, 1, 'I am Groot. I am Groot. I am Groot. I am Groot. I am Groot. We are Groot. I am Groot. We are Groot. I am Groot. I am Groot. We are Groot. We are Groot. We are Groot. I am Groot. We are Groot. We are Groot.', 6, '2019-05-29 00:04:19'), (16, 1, 'I am Groot. I am Groot. I am Groot.', 2, '2019-05-29 00:04:34'), (17, 1, 'Hodor hodor hodor hodor hodor hodor hodor. Hodor hodor hodor hodor hodor hodor hodor hodor hodor. Hodor hodor hodor hodor hodor hodor hodor hodor hodor. Hodor hodor hodor hodor hodor hodor hodor hodor hodor.', 5, '2019-05-29 00:06:36'), (18, 2, 'Hodor hodor hodor hodor hodor hodor hodor. Hodor hodor hodor hodor hodor hodor hodor hodor hodor. Hodor hodor hodor hodor hodor hodor hodor hodor hodor. Hodor', 7, '2019-05-29 00:07:08'), (19, 2, 'Yes. Why? Why is this still under discussion? No, no no no no no, I don\'t like him. I don\'t care who he knows. We\'re supposed to trust him with our product? Big Man. Big Generalissimo! Big fry cook is more like it...', 3, '2019-05-29 00:08:48'), (20, 2, 'Did you not plan for this contingency? I mean the Starship Enterprise had a self-destruct button. I\'m just saying. Yeah, you do seem to have a little \'shit creek\' action going. Hey, nobody appreciates a passionate woman more than I do.', 2, '2019-05-29 00:09:31'), (21, 2, 'We are Groot. I am Groot. I am Groot. We are Groot. We are Groot. We are Groot. We are Groot. I am Groot. We are Groot. We are Groot. I am Groot. I am Groot. We are Groot. We are Groot.', 3, '2019-05-29 00:10:04'); -- -------------------------------------------------------- -- -- Table structure for table `user` -- CREATE TABLE `user` ( `id` int(11) NOT NULL, `email` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL, `roles` longtext COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '(DC2Type:json)', `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `user` -- INSERT INTO `user` (`id`, `email`, `roles`, `password`) VALUES (1, 'admin@admin.com', '[\"ROLE_USER\"]', '$argon2i$v=19$m=1024,t=2,p=2$YVNkZUVZLmlzOGJvQXoyQw$bMYDnxbFLruoXbtiSK58PLbzbW7AmNsJ8Njfk3wzeIE'), (2, 'user@user.com', '[\"ROLE_USER\"]', '$argon2i$v=19$m=1024,t=2,p=2$emRaU1l5WEptbnU4Z0Q3ZA$x5vYENNtL7QYlPpv4GTO+EaKvvtaVMjBEUfk8FUn4dQ'); -- -- Indexes for dumped tables -- -- -- Indexes for table `comment` -- ALTER TABLE `comment` ADD PRIMARY KEY (`id`), ADD KEY `IDX_9474526CA76ED395` (`user_id`), ADD KEY `IDX_9474526C1041E39B` (`tweet_id`); -- -- Indexes for table `migration_versions` -- ALTER TABLE `migration_versions` ADD PRIMARY KEY (`version`); -- -- Indexes for table `tweet` -- ALTER TABLE `tweet` ADD PRIMARY KEY (`id`), ADD KEY `IDX_3D660A3BA76ED395` (`user_id`); -- -- Indexes for table `user` -- ALTER TABLE `user` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `UNIQ_8D93D649E7927C74` (`email`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `comment` -- ALTER TABLE `comment` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `tweet` -- ALTER TABLE `tweet` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22; -- -- AUTO_INCREMENT for table `user` -- ALTER TABLE `user` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- Constraints for dumped tables -- -- -- Constraints for table `comment` -- ALTER TABLE `comment` ADD CONSTRAINT `FK_9474526C1041E39B` FOREIGN KEY (`tweet_id`) REFERENCES `tweet` (`id`), ADD CONSTRAINT `FK_9474526CA76ED395` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`); -- -- Constraints for table `tweet` -- ALTER TABLE `tweet` ADD CONSTRAINT `FK_3D660A3BA76ED395` FOREIGN KEY (`user_id`) REFERENCES `user` (`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 */;
alter table CarInfo add usefee number(10,2) / INSERT INTO workflow_billfield ( billid, fieldname, fieldlabel, fielddbtype, fieldhtmltype, type, dsporder, viewtype,detailtable) VALUES (163,'usefee',21064,'number(10,2)',1,3,5.50,0,'') / INSERT INTO workflow_billfield ( billid, fieldname, fieldlabel, fielddbtype, fieldhtmltype, type, dsporder, viewtype,detailtable) VALUES (163,'totalfee',2019,'number(10,2)',1,3,6.50,0,'') / alter table CarUseApprove add usefee number(10,2) / alter table CarUseApprove add totalfee number(10,2) /
UPDATE mtg.tournament_decks SET "format" = CASE WHEN event_url LIKE '%ST' THEN 'Standard' WHEN event_url LIKE '%MO' THEN 'Modern' WHEN event_url LIKE '%LE' THEN 'Legacy' WHEN event_url LIKE '%VI' THEN 'Vintage' WHEN event_url LIKE '%LI' THEN 'Limited' WHEN event_url LIKE '%EX' THEN 'Extended' WHEN event_url LIKE '%PAU' THEN 'Pauper' WHEN event_url LIKE '%PEA' THEN 'Peasant' WHEN event_url LIKe '%PI' THEN 'Pioneer' WHEN event_url LIKE '%EDHM' THEN 'EDH Online' WHEN event_url LIKE '%EDHP' THEN 'EDH Peasant' WHEN event_url LIKE '%EDH' THEN 'Elder Dragon Highlander' WHEN event_url LIKE '%HIGH' THEN 'Highlander' WHEN event_url LIKE '%HI' THEN 'Historic' WHEN event_url LIKE '%CHL' THEN 'Canadian Highlander' WHEN event_url LIKE '%BL' THEN 'Block' END WHERE "format" IS NULL;
SELECT * FROM Rav; SELECT * FROM Book; SELECT * FROM VolunteerGroup; SELECT * FROM BeitMidrashHall; SELECT * FROM Placed; SELECT * FROM Teaches; SELECT * FROM Student; SELECT * FROM Studies;
SELECT DISTINCT ConceptName, Image FROM Annotations WHERE Image IS NOT NULL AND ( ConceptName = '' OR ConceptName LIKE ' %' ) ORDER BY ConceptName ASC
create table user( user_id int auto_increment, name varchar(20) unique, passwd binary(20), index(user_id) );
-- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: -- Версия на сървъра: 10.1.19-MariaDB -- PHP Version: 5.6.28 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: `hangman` -- -- -------------------------------------------------------- -- -- Структура на таблица `users` -- CREATE TABLE `users` ( `email` varchar(30) NOT NULL, `password` varchar(30) NOT NULL, `birthdate` date NOT NULL, `gender` varchar(30) NOT NULL, `total_games` int(11) NOT NULL, `won_games` int(11) NOT NULL, `date_deleted` tinyint(1) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Схема на данните от таблица `users` -- INSERT INTO `users` (`email`, `password`, `birthdate`, `gender`, `total_games`, `won_games`, `date_deleted`) VALUES ('adasdaggg@abv.bg', 'ss', '2017-03-22', 'M', 21, 6, 0), ('ajijijsen@abv.bg', '2828', '2017-03-18', 'M', 0, 0, 0), ('asasdasdasdasdasdasden@abv.bg', '1234', '2017-03-14', 'M', 0, 0, NULL), ('asekkokon@abv.bg', '5858', '2017-02-01', 'M', 0, 0, 0), ('asen@abv.bg', '123', '2017-03-15', 'M', 37, 16, 0), ('test1@abv.bg', '123', '2017-03-01', 'M', 12, 1, NULL), ('test@abv.bg', '123', '2017-03-01', 'M', 3, 0, NULL); -- -- Indexes for dumped tables -- -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`email`); /*!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 */;
delete from PluginValues where PluginId = @PluginId
SELECT USERS.*, KNOWLEDGE_USERS.KNOWLEDGE_ID FROM KNOWLEDGE_USERS INNER JOIN USERS ON KNOWLEDGE_USERS.USER_ID = USERS.USER_ID WHERE KNOWLEDGE_USERS.KNOWLEDGE_ID IN (${knowledgeIds}) AND KNOWLEDGE_USERS.USER_ID NOT IN (0, KNOWLEDGE_USERS.INSERT_USER) ORDER BY KNOWLEDGE_USERS.KNOWLEDGE_ID
-- phpMyAdmin SQL Dump -- version 4.5.2 -- http://www.phpmyadmin.net -- -- Client : 127.0.0.1 -- Généré le : Jeu 23 Mars 2017 à 20:05 -- Version du serveur : 5.7.9 -- Version de PHP : 5.6.16 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 */; -- -- Base de données : `projetppd` -- -- -------------------------------------------------------- -- -- Structure de la table `attribut` -- DROP TABLE IF EXISTS `attribut`; CREATE TABLE IF NOT EXISTS `attribut` ( `id` int(11) NOT NULL AUTO_INCREMENT, `PairId` int(11) NOT NULL, `Attr1` varchar(200) NOT NULL, `Attr2` varchar(200) NOT NULL, `Val` float NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=2161 DEFAULT CHARSET=latin1; -- -- Contenu de la table `attribut` -- INSERT INTO `attribut` (`id`, `PairId`, `Attr1`, `Attr2`, `Val`) VALUES (1, 1, 'arnie morton''s of chicago', 'arnie morton''s of chicago', 1), (2, 1, '435 s. la cienega blv.', '435 s. la cienega blvd.', 0.9), (3, 1, 'los angeles', 'los angeles', 1), (4, 1, '310/246-1501', '310-246-1501', 0.9), (5, 1, 'american', 'steakhouses', 0), (6, 2, 'arnie morton''s of chicago', 'art''s deli', 0), (7, 2, '435 s. la cienega blv.', '12224 ventura blvd.', 0), (8, 2, 'los angeles', 'studio city', 0), (9, 2, '310/246-1501', '818-762-1221', 0.2), (10, 2, 'american', 'delis', 0.4), (11, 3, 'arnie morton''s of chicago', 'bel-air hotel', 0), (12, 3, '435 s. la cienega blv.', '701 stone canyon rd.', 0), (13, 3, 'los angeles', 'bel air', 0.1), (14, 3, '310/246-1501', '310-472-1211', 0.4), (15, 3, 'american', 'californian', 0.3), (16, 4, 'arnie morton''s of chicago', 'cafe bizou', 0), (17, 4, '435 s. la cienega blv.', '14016 ventura blvd.', 0), (18, 4, 'los angeles', 'sherman oaks', 0.1), (19, 4, '310/246-1501', '818-788-3536', 0.1), (20, 4, 'american', 'french bistro', 0), (21, 5, 'arnie morton''s of chicago', 'campanile', 0), (22, 5, '435 s. la cienega blv.', '624 s. la brea ave.', 0), (23, 5, 'los angeles', 'los angeles', 1), (24, 5, '310/246-1501', '213-938-1447', 0.1), (25, 5, 'american', 'californian', 0.3), (26, 6, 'arnie morton''s of chicago', 'chinois on main', 0), (27, 6, '435 s. la cienega blv.', '2709 main st.', 0), (28, 6, 'los angeles', 'santa monica', 0), (29, 6, '310/246-1501', '310-392-9025', 0.2), (30, 6, 'american', 'pacific new wave', 0), (31, 7, 'arnie morton''s of chicago', 'citrus', 0), (32, 7, '435 s. la cienega blv.', '6703 melrose ave.', 0), (33, 7, 'los angeles', 'los angeles', 1), (34, 7, '310/246-1501', '213-857-0034', 0), (35, 7, 'american', 'californian', 0.3), (36, 8, 'arnie morton''s of chicago', 'fenix at the argyle', 0), (37, 8, '435 s. la cienega blv.', '8358 sunset blvd.', 0), (38, 8, 'los angeles', 'w. hollywood', 0), (39, 8, '310/246-1501', '213-848-6677', 0.1), (40, 8, 'american', 'french (new)', 0), (41, 9, 'arnie morton''s of chicago', 'granita', 0), (42, 9, '435 s. la cienega blv.', '23725 w. malibu rd.', 0), (43, 9, 'los angeles', 'malibu', 0), (44, 9, '310/246-1501', '310-456-0488', 0.3), (45, 9, 'american', 'californian', 0.3), (46, 10, 'arnie morton''s of chicago', 'grill the', 0), (47, 10, '435 s. la cienega blv.', '9560 dayton way', 0), (48, 10, 'los angeles', 'beverly hills', 0), (49, 10, '310/246-1501', '310-276-0615', 0.4), (50, 10, 'american', 'american (traditional)', 0), (51, 11, 'arnie morton''s of chicago', 'katsu', 0), (52, 11, '435 s. la cienega blv.', '1972 hillhurst ave.', 0), (53, 11, 'los angeles', 'los feliz', 0.5), (54, 11, '310/246-1501', '213-665-1891', 0.2), (55, 11, 'american', 'japanese', 0.2), (56, 12, 'arnie morton''s of chicago', 'l''orangerie', 0), (57, 12, '435 s. la cienega blv.', '903 n. la cienega blvd.', 0.5), (58, 12, 'los angeles', 'w. hollywood', 0), (59, 12, '310/246-1501', '310-652-9770', 0.2), (60, 12, 'american', 'french (classic)', 0), (61, 13, 'arnie morton''s of chicago', 'le chardonnay (los angeles)', 0), (62, 13, '435 s. la cienega blv.', '8284 melrose ave.', 0), (63, 13, 'los angeles', 'los angeles', 1), (64, 13, '310/246-1501', '213-655-8880', 0), (65, 13, 'american', 'french bistro', 0), (66, 14, 'arnie morton''s of chicago', 'locanda veneta', 0), (67, 14, '435 s. la cienega blv.', '8638 w. third st.', 0), (68, 14, 'los angeles', 'los angeles', 1), (69, 14, '310/246-1501', '310-274-1893', 0.4), (70, 14, 'american', 'italian', 0.5), (71, 15, 'arnie morton''s of chicago', 'matsuhisa', 0), (72, 15, '435 s. la cienega blv.', '129 n. la cienega blvd.', 0.5), (73, 15, 'los angeles', 'beverly hills', 0), (74, 15, '310/246-1501', '310-659-9639', 0.2), (75, 15, 'american', 'seafood', 0.3), (76, 16, 'arnie morton''s of chicago', 'palm the (los angeles)', 0), (77, 16, '435 s. la cienega blv.', '9001 santa monica blvd.', 0), (78, 16, 'los angeles', 'w. hollywood', 0), (79, 16, '310/246-1501', '310-550-8811', 0.3), (80, 16, 'american', 'steakhouses', 0), (81, 17, 'arnie morton''s of chicago', 'patina', 0), (82, 17, '435 s. la cienega blv.', '5955 melrose ave.', 0), (83, 17, 'los angeles', 'los angeles', 1), (84, 17, '310/246-1501', '213-467-1108', 0.3), (85, 17, 'american', 'californian', 0.3), (86, 18, 'arnie morton''s of chicago', 'philippe the original', 0), (87, 18, '435 s. la cienega blv.', '1001 n. alameda st.', 0), (88, 18, 'los angeles', 'chinatown', 0), (89, 18, '310/246-1501', '213-628-3781', 0.1), (90, 18, 'american', 'cafeterias', 0.4), (91, 19, 'arnie morton''s of chicago', 'pinot bistro', 0), (92, 19, '435 s. la cienega blv.', '12969 ventura blvd.', 0), (93, 19, 'los angeles', 'studio city', 0), (94, 19, '310/246-1501', '818-990-0500', 0.2), (95, 19, 'american', 'french bistro', 0), (96, 20, 'arnie morton''s of chicago', 'rex il ristorante', 0), (97, 20, '435 s. la cienega blv.', '617 s. olive st.', 0), (98, 20, 'los angeles', 'los angeles', 1), (99, 20, '310/246-1501', '213-627-2300', 0.1), (100, 20, 'american', 'nuova cucina italian', 0), (101, 21, 'arnie morton''s of chicago', 'spago (los angeles)', 0), (102, 21, '435 s. la cienega blv.', '8795 sunset blvd.', 0), (103, 21, 'los angeles', 'w. hollywood', 0), (104, 21, '310/246-1501', '310-652-4025', 0.2), (105, 21, 'american', 'californian', 0.3), (106, 22, 'arnie morton''s of chicago', 'valentino', 0), (107, 22, '435 s. la cienega blv.', '3115 pico blvd.', 0), (108, 22, 'los angeles', 'santa monica', 0), (109, 22, '310/246-1501', '310-829-4313', 0.2), (110, 22, 'american', 'italian', 0.5), (111, 23, 'arnie morton''s of chicago', 'yujean kang''s', 0), (112, 23, '435 s. la cienega blv.', '67 n. raymond ave.', 0), (113, 23, 'los angeles', 'pasadena', 0.2), (114, 23, '310/246-1501', '818-585-0855', 0), (115, 23, 'american', 'chinese', 0.2), (116, 24, 'arnie morton''s of chicago', '21 club', 0), (117, 24, '435 s. la cienega blv.', '21 w. 52nd st.', 0), (118, 24, 'los angeles', 'new york city', 0), (119, 24, '310/246-1501', '212-582-7200', 0.1), (120, 24, 'american', 'american (new)', 0.4), (121, 25, 'arnie morton''s of chicago', 'aquavit', 0), (122, 25, '435 s. la cienega blv.', '13 w. 54th st.', 0), (123, 25, 'los angeles', 'new york city', 0), (124, 25, '310/246-1501', '212-307-7311', 0.1), (125, 25, 'american', 'scandinavian', 0.1), (126, 26, 'arnie morton''s of chicago', 'aureole', 0), (127, 26, '435 s. la cienega blv.', '34 e. 61st st.', 0), (128, 26, 'los angeles', 'new york city', 0), (129, 26, '310/246-1501', '212-319-1660', 0.1), (130, 26, 'american', 'american (new)', 0.4), (131, 27, 'arnie morton''s of chicago', 'cafe lalo', 0), (132, 27, '435 s. la cienega blv.', '201 w. 83rd st.', 0), (133, 27, 'los angeles', 'new york city', 0), (134, 27, '310/246-1501', '212-496-6031', 0.2), (135, 27, 'american', 'coffeehouses', 0), (136, 28, 'arnie morton''s of chicago', 'cafe des artistes', 0), (137, 28, '435 s. la cienega blv.', '1 w. 67th st.', 0), (138, 28, 'los angeles', 'new york city', 0), (139, 28, '310/246-1501', '212-877-3500', 0.2), (140, 28, 'american', 'french (classic)', 0), (141, 29, 'arnie morton''s of chicago', 'carmine''s', 0), (142, 29, '435 s. la cienega blv.', '2450 broadway', 0), (143, 29, 'los angeles', 'new york city', 0), (144, 29, '310/246-1501', '212-362-2200', 0.1), (145, 29, 'american', 'italian', 0.5), (146, 30, 'arnie morton''s of chicago', 'carnegie deli', 0), (147, 30, '435 s. la cienega blv.', '854 seventh ave.', 0), (148, 30, 'los angeles', 'new york city', 0), (149, 30, '310/246-1501', '212-757-2245', 0), (150, 30, 'american', 'delis', 0.4), (151, 31, 'arnie morton''s of chicago', 'chanterelle', 0), (152, 31, '435 s. la cienega blv.', '2 harrison st.', 0), (153, 31, 'los angeles', 'new york city', 0), (154, 31, '310/246-1501', '212-966-6960', 0.1), (155, 31, 'american', 'french (new)', 0), (156, 32, 'arnie morton''s of chicago', 'daniel', 0), (157, 32, '435 s. la cienega blv.', '20 e. 76th st.', 0), (158, 32, 'los angeles', 'new york city', 0), (159, 32, '310/246-1501', '212-288-0033', 0.1), (160, 32, 'american', 'french (new)', 0), (161, 33, 'arnie morton''s of chicago', 'dawat', 0), (162, 33, '435 s. la cienega blv.', '210 e. 58th st.', 0), (163, 33, 'los angeles', 'new york city', 0), (164, 33, '310/246-1501', '212-355-7555', 0.1), (165, 33, 'american', 'indian', 0.5), (166, 34, 'arnie morton''s of chicago', 'felidia', 0), (167, 34, '435 s. la cienega blv.', '243 e. 58th st.', 0), (168, 34, 'los angeles', 'new york city', 0), (169, 34, '310/246-1501', '212-758-1479', 0.1), (170, 34, 'american', 'italian', 0.5), (171, 35, 'arnie morton''s of chicago', 'four seasons', 0), (172, 35, '435 s. la cienega blv.', '99 e. 52nd st.', 0), (173, 35, 'los angeles', 'new york city', 0), (174, 35, '310/246-1501', '212-754-9494', 0), (175, 35, 'american', 'american (new)', 0.4), (176, 36, 'arnie morton''s of chicago', 'gotham bar & grill', 0), (177, 36, '435 s. la cienega blv.', '12 e. 12th st.', 0), (178, 36, 'los angeles', 'new york city', 0), (179, 36, '310/246-1501', '212-620-4020', 0), (180, 36, 'american', 'american (new)', 0.4), (181, 37, 'arnie morton''s of chicago', 'gramercy tavern', 0), (182, 37, '435 s. la cienega blv.', '42 e. 20th st.', 0), (183, 37, 'los angeles', 'new york city', 0), (184, 37, '310/246-1501', '212-477-0777', 0), (185, 37, 'american', 'american (new)', 0.4), (186, 38, 'arnie morton''s of chicago', 'island spice', 0), (187, 38, '435 s. la cienega blv.', '402 w. 44th st.', 0), (188, 38, 'los angeles', 'new york city', 0), (189, 38, '310/246-1501', '212-765-1737', 0.1), (190, 38, 'american', 'caribbean', 0.4), (191, 39, 'arnie morton''s of chicago', 'jo jo', 0), (192, 39, '435 s. la cienega blv.', '160 e. 64th st.', 0), (193, 39, 'los angeles', 'new york city', 0), (194, 39, '310/246-1501', '212-223-5656', 0.1), (195, 39, 'american', 'french bistro', 0), (196, 40, 'arnie morton''s of chicago', 'la caravelle', 0), (197, 40, '435 s. la cienega blv.', '33 w. 55th st.', 0), (198, 40, 'los angeles', 'new york city', 0), (199, 40, '310/246-1501', '212-586-4252', 0.1), (200, 40, 'american', 'french (classic)', 0), (201, 41, 'arnie morton''s of chicago', 'la cote basque', 0), (202, 41, '435 s. la cienega blv.', '60 w. 55th st.', 0), (203, 41, 'los angeles', 'new york city', 0), (204, 41, '310/246-1501', '212-688-6525', 0.1), (205, 41, 'american', 'french (classic)', 0), (206, 42, 'arnie morton''s of chicago', 'le bernardin', 0), (207, 42, '435 s. la cienega blv.', '155 w. 51st st.', 0), (208, 42, 'los angeles', 'new york city', 0), (209, 42, '310/246-1501', '212-489-1515', 0.2), (210, 42, 'american', 'seafood', 0.3), (211, 43, 'arnie morton''s of chicago', 'les celebrites', 0), (212, 43, '435 s. la cienega blv.', '155 w. 58th st.', 0), (213, 43, 'los angeles', 'new york city', 0), (214, 43, '310/246-1501', '212-484-5113', 0.1), (215, 43, 'american', 'french (classic)', 0), (216, 44, 'arnie morton''s of chicago', 'lespinasse (new york city)', 0), (217, 44, '435 s. la cienega blv.', '2 e. 55th st.', 0), (218, 44, 'los angeles', 'new york city', 0), (219, 44, '310/246-1501', '212-339-6719', 0), (220, 44, 'american', 'asian', 0.6), (221, 45, 'arnie morton''s of chicago', 'lutece', 0), (222, 45, '435 s. la cienega blv.', '249 e. 50th st.', 0), (223, 45, 'los angeles', 'new york city', 0), (224, 45, '310/246-1501', '212-752-2225', 0), (225, 45, 'american', 'french (classic)', 0), (226, 46, 'arnie morton''s of chicago', 'manhattan ocean club', 0), (227, 46, '435 s. la cienega blv.', '57 w. 58th st.', 0), (228, 46, 'los angeles', 'new york city', 0), (229, 46, '310/246-1501', '212-371-7777', 0), (230, 46, 'american', 'seafood', 0.3), (231, 47, 'arnie morton''s of chicago', 'march', 0), (232, 47, '435 s. la cienega blv.', '405 e. 58th st.', 0), (233, 47, 'los angeles', 'new york city', 0), (234, 47, '310/246-1501', '212-754-6272', 0), (235, 47, 'american', 'american (new)', 0.4), (236, 48, 'arnie morton''s of chicago', 'mesa grill', 0), (237, 48, '435 s. la cienega blv.', '102 fifth ave.', 0), (238, 48, 'los angeles', 'new york city', 0), (239, 48, '310/246-1501', '212-807-7400', 0.1), (240, 48, 'american', 'southwestern', 0), (241, 49, 'arnie morton''s of chicago', 'mi cocina', 0), (242, 49, '435 s. la cienega blv.', '57 jane st.', 0), (243, 49, 'los angeles', 'new york city', 0), (244, 49, '310/246-1501', '212-627-8273', 0), (245, 49, 'american', 'mexican', 0.8), (246, 50, 'arnie morton''s of chicago', 'montrachet', 0), (247, 50, '435 s. la cienega blv.', '239 w. broadway', 0), (248, 50, 'los angeles', 'new york city', 0), (249, 50, '310/246-1501', '212-219-2777', 0.1), (250, 50, 'american', 'french bistro', 0), (251, 51, 'arnie morton''s of chicago', 'oceana', 0), (252, 51, '435 s. la cienega blv.', '55 e. 54th st.', 0), (253, 51, 'los angeles', 'new york city', 0), (254, 51, '310/246-1501', '212-759-5941', 0.1), (255, 51, 'american', 'seafood', 0.3), (256, 52, 'arnie morton''s of chicago', 'park avenue cafe (new york city)', 0), (257, 52, '435 s. la cienega blv.', '100 e. 63rd st.', 0), (258, 52, 'los angeles', 'new york city', 0), (259, 52, '310/246-1501', '212-644-1900', 0.3), (260, 52, 'american', 'american (new)', 0.4), (261, 53, 'arnie morton''s of chicago', 'petrossian', 0), (262, 53, '435 s. la cienega blv.', '182 w. 58th st.', 0), (263, 53, 'los angeles', 'new york city', 0), (264, 53, '310/246-1501', '212-245-2214', 0.2), (265, 53, 'american', 'russian', 0.5), (266, 54, 'arnie morton''s of chicago', 'picholine', 0), (267, 54, '435 s. la cienega blv.', '35 w. 64th st.', 0), (268, 54, 'los angeles', 'new york city', 0), (269, 54, '310/246-1501', '212-724-8585', 0.2), (270, 54, 'american', 'mediterranean', 0.1), (271, 55, 'arnie morton''s of chicago', 'pisces', 0), (272, 55, '435 s. la cienega blv.', '95 ave. a', 0), (273, 55, 'los angeles', 'new york city', 0), (274, 55, '310/246-1501', '212-260-6660', 0.1), (275, 55, 'american', 'seafood', 0.3), (276, 56, 'arnie morton''s of chicago', 'rainbow room', 0), (277, 56, '435 s. la cienega blv.', '30 rockefeller plaza', 0), (278, 56, 'los angeles', 'new york city', 0), (279, 56, '310/246-1501', '212-632-5000', 0.1), (280, 56, 'american', 'american (new)', 0.4), (281, 57, 'arnie morton''s of chicago', 'river cafe', 0), (282, 57, '435 s. la cienega blv.', '1 water st.', 0), (283, 57, 'los angeles', 'brooklyn', 0), (284, 57, '310/246-1501', '718-522-5200', 0.1), (285, 57, 'american', 'american (new)', 0.4), (286, 58, 'arnie morton''s of chicago', 'san domenico', 0), (287, 58, '435 s. la cienega blv.', '240 central park s.', 0), (288, 58, 'los angeles', 'new york city', 0), (289, 58, '310/246-1501', '212-265-5959', 0.1), (290, 58, 'american', 'italian', 0.5), (291, 59, 'arnie morton''s of chicago', 'second avenue deli', 0), (292, 59, '435 s. la cienega blv.', '156 second ave.', 0), (293, 59, 'los angeles', 'new york city', 0), (294, 59, '310/246-1501', '212-677-0606', 0.1), (295, 59, 'american', 'delis', 0.4), (296, 60, 'arnie morton''s of chicago', 'seryna', 0), (297, 60, '435 s. la cienega blv.', '11 e. 53rd st.', 0), (298, 60, 'los angeles', 'new york city', 0), (299, 60, '310/246-1501', '212-980-9393', 0), (300, 60, 'american', 'japanese', 0.2), (301, 61, 'arnie morton''s of chicago', 'shun lee palace', 0), (302, 61, '435 s. la cienega blv.', '155 e. 55th st.', 0), (303, 61, 'los angeles', 'new york city', 0), (304, 61, '310/246-1501', '212-371-8844', 0), (305, 61, 'american', 'chinese', 0.2), (306, 62, 'arnie morton''s of chicago', 'sign of the dove', 0), (307, 62, '435 s. la cienega blv.', '1110 third ave.', 0), (308, 62, 'los angeles', 'new york city', 0), (309, 62, '310/246-1501', '212-861-8080', 0), (310, 62, 'american', 'american (new)', 0.4), (311, 63, 'arnie morton''s of chicago', 'smith & wollensky', 0), (312, 63, '435 s. la cienega blv.', '797 third ave.', 0), (313, 63, 'los angeles', 'new york city', 0), (314, 63, '310/246-1501', '212-753-1530', 0.2), (315, 63, 'american', 'steakhouses', 0), (316, 64, 'arnie morton''s of chicago', 'tavern on the green', 0), (317, 64, '435 s. la cienega blv.', 'central park west', 0), (318, 64, 'los angeles', 'new york city', 0), (319, 64, '310/246-1501', '212-873-3200', 0.1), (320, 64, 'american', 'american (new)', 0.4), (321, 65, 'arnie morton''s of chicago', 'uncle nick''s', 0), (322, 65, '435 s. la cienega blv.', '747 ninth ave.', 0), (323, 65, 'los angeles', 'new york city', 0), (324, 65, '310/246-1501', '212-245-7992', 0.2), (325, 65, 'american', 'greek', 0.3), (326, 66, 'arnie morton''s of chicago', 'union square cafe', 0), (327, 66, '435 s. la cienega blv.', '21 e. 16th st.', 0), (328, 66, 'los angeles', 'new york city', 0), (329, 66, '310/246-1501', '212-243-4020', 0.2), (330, 66, 'american', 'american (new)', 0.4), (331, 67, 'arnie morton''s of chicago', 'virgil''s real bbq', 0), (332, 67, '435 s. la cienega blv.', '152 w. 44th st.', 0), (333, 67, 'los angeles', 'new york city', 0), (334, 67, '310/246-1501', '212-921-9494', 0), (335, 67, 'american', 'bbq', 0.2), (336, 68, 'arnie morton''s of chicago', 'chin''s', 0), (337, 68, '435 s. la cienega blv.', '3200 las vegas blvd. s.', 0), (338, 68, 'los angeles', 'las vegas', 0.4), (339, 68, '310/246-1501', '702-733-8899', 0), (340, 68, 'american', 'chinese', 0.2), (341, 69, 'arnie morton''s of chicago', 'coyote cafe (las vegas)', 0), (342, 69, '435 s. la cienega blv.', '3799 las vegas blvd. s.', 0), (343, 69, 'los angeles', 'las vegas', 0.4), (344, 69, '310/246-1501', '702-891-7349', 0), (345, 69, 'american', 'southwestern', 0), (346, 70, 'arnie morton''s of chicago', 'le montrachet bistro', 0), (347, 70, '435 s. la cienega blv.', '3000 paradise rd.', 0), (348, 70, 'los angeles', 'las vegas', 0.4), (349, 70, '310/246-1501', '702-732-5651', 0), (350, 70, 'american', 'french bistro', 0), (351, 71, 'arnie morton''s of chicago', 'palace court', 0), (352, 71, '435 s. la cienega blv.', '3570 las vegas blvd. s.', 0), (353, 71, 'los angeles', 'las vegas', 0.4), (354, 71, '310/246-1501', '702-731-7110', 0), (355, 71, 'american', 'french (new)', 0), (356, 72, 'arnie morton''s of chicago', 'second street grill', 0), (357, 72, '435 s. la cienega blv.', '200 e. fremont st.', 0), (358, 72, 'los angeles', 'las vegas', 0.4), (359, 72, '310/246-1501', '702-385-6277', 0), (360, 72, 'american', 'pacific rim', 0.2), (361, 73, 'arnie morton''s of chicago', 'steak house the', 0), (362, 73, '435 s. la cienega blv.', '2880 las vegas blvd. s.', 0), (363, 73, 'los angeles', 'las vegas', 0.4), (364, 73, '310/246-1501', '702-734-0410', 0), (365, 73, 'american', 'steakhouses', 0), (366, 74, 'arnie morton''s of chicago', 'tillerman the', 0), (367, 74, '435 s. la cienega blv.', '2245 e. flamingo rd.', 0), (368, 74, 'los angeles', 'las vegas', 0.4), (369, 74, '310/246-1501', '702-731-4036', 0), (370, 74, 'american', 'steakhouses', 0), (371, 75, 'arnie morton''s of chicago', 'abruzzi', 0), (372, 75, '435 s. la cienega blv.', '2355 peachtree rd. ne', 0), (373, 75, 'los angeles', 'atlanta', 0.1), (374, 75, '310/246-1501', '404-261-8186', 0), (375, 75, 'american', 'italian', 0.5), (376, 76, 'arnie morton''s of chicago', 'bacchanalia', 0), (377, 76, '435 s. la cienega blv.', '3125 piedmont rd.', 0), (378, 76, 'los angeles', 'atlanta', 0.1), (379, 76, '310/246-1501', '404-365-0410', 0), (380, 76, 'american', 'californian', 0.3), (381, 77, 'arnie morton''s of chicago', 'bone''s restaurant', 0), (382, 77, '435 s. la cienega blv.', '3130 piedmont rd. ne', 0), (383, 77, 'los angeles', 'atlanta', 0.1), (384, 77, '310/246-1501', '404-237-2663', 0), (385, 77, 'american', 'steakhouses', 0), (386, 78, 'arnie morton''s of chicago', 'brasserie le coze', 0), (387, 78, '435 s. la cienega blv.', '3393 peachtree rd.', 0), (388, 78, 'los angeles', 'atlanta', 0.1), (389, 78, '310/246-1501', '404-266-1440', 0.2), (390, 78, 'american', 'french bistro', 0), (391, 79, 'arnie morton''s of chicago', 'buckhead diner', 0), (392, 79, '435 s. la cienega blv.', '3073 piedmont rd.', 0), (393, 79, 'los angeles', 'atlanta', 0.1), (394, 79, '310/246-1501', '404-262-3336', 0), (395, 79, 'american', 'american (new)', 0.4), (396, 80, 'arnie morton''s of chicago', 'ciboulette restaurant', 0), (397, 80, '435 s. la cienega blv.', '1529 piedmont ave.', 0), (398, 80, 'los angeles', 'atlanta', 0.1), (399, 80, '310/246-1501', '404-874-7600', 0), (400, 80, 'american', 'french (new)', 0), (401, 81, 'arnie morton''s of chicago', 'delectables', 0), (402, 81, '435 s. la cienega blv.', '1 margaret mitchell sq.', 0), (403, 81, 'los angeles', 'atlanta', 0.1), (404, 81, '310/246-1501', '404-681-2909', 0), (405, 81, 'american', 'cafeterias', 0.4), (406, 82, 'arnie morton''s of chicago', 'georgia grille', 0), (407, 82, '435 s. la cienega blv.', '2290 peachtree rd.', 0), (408, 82, 'los angeles', 'atlanta', 0.1), (409, 82, '310/246-1501', '404-352-3517', 0), (410, 82, 'american', 'southwestern', 0), (411, 83, 'arnie morton''s of chicago', 'hedgerose heights inn the', 0), (412, 83, '435 s. la cienega blv.', '490 e. paces ferry rd. ne', 0), (413, 83, 'los angeles', 'atlanta', 0.1), (414, 83, '310/246-1501', '404-233-7673', 0), (415, 83, 'american', 'continental', 0.1), (416, 84, 'arnie morton''s of chicago', 'heera of india', 0), (417, 84, '435 s. la cienega blv.', '595 piedmont ave.', 0), (418, 84, 'los angeles', 'atlanta', 0.1), (419, 84, '310/246-1501', '404-876-4408', 0.1), (420, 84, 'american', 'indian', 0.5), (421, 85, 'arnie morton''s of chicago', 'indigo coastal grill', 0), (422, 85, '435 s. la cienega blv.', '1397 n. highland ave.', 0), (423, 85, 'los angeles', 'atlanta', 0.1), (424, 85, '310/246-1501', '404-876-0676', 0), (425, 85, 'american', 'eclectic', 0.3), (426, 86, 'arnie morton''s of chicago', 'la grotta', 0), (427, 86, '435 s. la cienega blv.', '2637 peachtree rd. ne', 0), (428, 86, 'los angeles', 'atlanta', 0.1), (429, 86, '310/246-1501', '404-231-1368', 0.1), (430, 86, 'american', 'italian', 0.5), (431, 87, 'arnie morton''s of chicago', 'mary mac''s tea room', 0), (432, 87, '435 s. la cienega blv.', '224 ponce de leon ave.', 0), (433, 87, 'los angeles', 'atlanta', 0.1), (434, 87, '310/246-1501', '404-876-1800', 0.2), (435, 87, 'american', 'southern/soul', 0), (436, 88, 'arnie morton''s of chicago', 'nikolai''s roof', 0), (437, 88, '435 s. la cienega blv.', '255 courtland st.', 0), (438, 88, 'los angeles', 'atlanta', 0.1), (439, 88, '310/246-1501', '404-221-6362', 0), (440, 88, 'american', 'continental', 0.1), (441, 89, 'arnie morton''s of chicago', 'pano''s & paul''s', 0), (442, 89, '435 s. la cienega blv.', '1232 w. paces ferry rd.', 0), (443, 89, 'los angeles', 'atlanta', 0.1), (444, 89, '310/246-1501', '404-261-3662', 0), (445, 89, 'american', 'american (new)', 0.4), (446, 90, 'arnie morton''s of chicago', 'ritz-carlton cafe (buckhead)', 0), (447, 90, '435 s. la cienega blv.', '3434 peachtree rd. ne', 0), (448, 90, 'los angeles', 'atlanta', 0.1), (449, 90, '310/246-1501', '404-237-2700', 0.1), (450, 90, 'american', 'american (new)', 0.4), (451, 91, 'arnie morton''s of chicago', 'ritz-carlton dining room (buckhead)', 0), (452, 91, '435 s. la cienega blv.', '3434 peachtree rd. ne', 0), (453, 91, 'los angeles', 'atlanta', 0.1), (454, 91, '310/246-1501', '404-237-2700', 0.1), (455, 91, 'american', 'american (new)', 0.4), (456, 92, 'arnie morton''s of chicago', 'ritz-carlton restaurant', 0), (457, 92, '435 s. la cienega blv.', '181 peachtree st.', 0), (458, 92, 'los angeles', 'atlanta', 0.1), (459, 92, '310/246-1501', '404-659-0400', 0), (460, 92, 'american', 'french (classic)', 0), (461, 93, 'arnie morton''s of chicago', 'toulouse', 0), (462, 93, '435 s. la cienega blv.', '293-b peachtree rd.', 0), (463, 93, 'los angeles', 'atlanta', 0.1), (464, 93, '310/246-1501', '404-351-9533', 0), (465, 93, 'american', 'french (new)', 0), (466, 94, 'arnie morton''s of chicago', 'veni vidi vici', 0), (467, 94, '435 s. la cienega blv.', '41 14th st.', 0), (468, 94, 'los angeles', 'atlanta', 0.1), (469, 94, '310/246-1501', '404-875-8424', 0), (470, 94, 'american', 'italian', 0.5), (471, 95, 'arnie morton''s of chicago', 'alain rondelli', 0), (472, 95, '435 s. la cienega blv.', '126 clement st.', 0), (473, 95, 'los angeles', 'san francisco', 0), (474, 95, '310/246-1501', '415-387-0408', 0.1), (475, 95, 'american', 'french (new)', 0), (476, 96, 'arnie morton''s of chicago', 'aqua', 0), (477, 96, '435 s. la cienega blv.', '252 california st.', 0), (478, 96, 'los angeles', 'san francisco', 0), (479, 96, '310/246-1501', '415-956-9662', 0.1), (480, 96, 'american', 'american (new)', 0.4), (481, 97, 'arnie morton''s of chicago', 'boulevard', 0), (482, 97, '435 s. la cienega blv.', '1 mission st.', 0), (483, 97, 'los angeles', 'san francisco', 0), (484, 97, '310/246-1501', '415-543-6084', 0.1), (485, 97, 'american', 'american (new)', 0.4), (486, 98, 'arnie morton''s of chicago', 'cafe claude', 0), (487, 98, '435 s. la cienega blv.', '7 claude ln.', 0), (488, 98, 'los angeles', 'san francisco', 0), (489, 98, '310/246-1501', '415-392-3505', 0.2), (490, 98, 'american', 'french bistro', 0), (491, 99, 'arnie morton''s of chicago', 'campton place', 0), (492, 99, '435 s. la cienega blv.', '340 stockton st.', 0), (493, 99, 'los angeles', 'san francisco', 0), (494, 99, '310/246-1501', '415-955-5555', 0.1), (495, 99, 'american', 'american (new)', 0.4), (496, 100, 'arnie morton''s of chicago', 'chez michel', 0), (497, 100, '435 s. la cienega blv.', '804 north point st.', 0), (498, 100, 'los angeles', 'san francisco', 0), (499, 100, '310/246-1501', '415-775-7036', 0), (500, 100, 'american', 'californian', 0.3), (501, 101, 'arnie morton''s of chicago', 'fleur de lys', 0), (502, 101, '435 s. la cienega blv.', '777 sutter st.', 0), (503, 101, 'los angeles', 'san francisco', 0), (504, 101, '310/246-1501', '415-673-7779', 0), (505, 101, 'american', 'french (new)', 0), (506, 102, 'arnie morton''s of chicago', 'fringale', 0), (507, 102, '435 s. la cienega blv.', '570 fourth st.', 0), (508, 102, 'los angeles', 'san francisco', 0), (509, 102, '310/246-1501', '415-543-0573', 0.2), (510, 102, 'american', 'french bistro', 0), (511, 103, 'arnie morton''s of chicago', 'hawthorne lane', 0), (512, 103, '435 s. la cienega blv.', '22 hawthorne st.', 0), (513, 103, 'los angeles', 'san francisco', 0), (514, 103, '310/246-1501', '415-777-9779', 0), (515, 103, 'american', 'californian', 0.3), (516, 104, 'arnie morton''s of chicago', 'khan toke thai house', 0), (517, 104, '435 s. la cienega blv.', '5937 geary blvd.', 0), (518, 104, 'los angeles', 'san francisco', 0), (519, 104, '310/246-1501', '415-668-6654', 0), (520, 104, 'american', 'thai', 0.3), (521, 105, 'arnie morton''s of chicago', 'la folie', 0), (522, 105, '435 s. la cienega blv.', '2316 polk st.', 0), (523, 105, 'los angeles', 'san francisco', 0), (524, 105, '310/246-1501', '415-776-5577', 0.2), (525, 105, 'american', 'french (new)', 0), (526, 106, 'arnie morton''s of chicago', 'lulu restaurant-bis-cafe', 0), (527, 106, '435 s. la cienega blv.', '816 folsom st.', 0), (528, 106, 'los angeles', 'san francisco', 0), (529, 106, '310/246-1501', '415-495-5775', 0), (530, 106, 'american', 'mediterranean', 0.1), (531, 107, 'arnie morton''s of chicago', 'masa''s', 0), (532, 107, '435 s. la cienega blv.', '648 bush st.', 0), (533, 107, 'los angeles', 'san francisco', 0), (534, 107, '310/246-1501', '415-989-7154', 0.1), (535, 107, 'american', 'french (new)', 0), (536, 108, 'arnie morton''s of chicago', 'mifune', 0), (537, 108, '435 s. la cienega blv.', '1737 post st.', 0), (538, 108, 'los angeles', 'san francisco', 0), (539, 108, '310/246-1501', '415-922-0337', 0), (540, 108, 'american', 'japanese', 0.2), (541, 109, 'arnie morton''s of chicago', 'plumpjack cafe', 0), (542, 109, '435 s. la cienega blv.', '3127 fillmore st.', 0), (543, 109, 'los angeles', 'san francisco', 0), (544, 109, '310/246-1501', '415-563-4755', 0), (545, 109, 'american', 'american (new)', 0.4), (546, 110, 'arnie morton''s of chicago', 'postrio', 0), (547, 110, '435 s. la cienega blv.', '545 post st.', 0), (548, 110, 'los angeles', 'san francisco', 0), (549, 110, '310/246-1501', '415-776-7825', 0.1), (550, 110, 'american', 'californian', 0.3), (551, 111, 'arnie morton''s of chicago', 'ritz-carlton dining room (san francisco)', 0), (552, 111, '435 s. la cienega blv.', '600 stockton st.', 0), (553, 111, 'los angeles', 'san francisco', 0), (554, 111, '310/246-1501', '415-296-7465', 0.2), (555, 111, 'american', 'french (new)', 0), (556, 112, 'arnie morton''s of chicago', 'rose pistola', 0), (557, 112, '435 s. la cienega blv.', '532 columbus ave.', 0), (558, 112, 'los angeles', 'san francisco', 0), (559, 112, '310/246-1501', '415-399-0499', 0), (560, 112, 'american', 'italian', 0.5), (561, 113, 'arnie morton''s of chicago', 'barney greengrass', 0), (562, 113, '435 s. la cienega blv.', '9570 wilshire blvd.', 0), (563, 113, 'los angeles', 'beverly hills', 0), (564, 113, '310/246-1501', '310/777-5877', 0.3), (565, 113, 'american', 'american', 1), (566, 114, 'arnie morton''s of chicago', 'bistro garden', 0), (567, 114, '435 s. la cienega blv.', '176 n. canon dr.', 0), (568, 114, 'los angeles', 'los angeles', 1), (569, 114, '310/246-1501', '310/550-3900', 0.4), (570, 114, 'american', 'californian', 0.3), (571, 115, 'arnie morton''s of chicago', 'broadway deli', 0), (572, 115, '435 s. la cienega blv.', '3rd st. promenade', 0), (573, 115, 'los angeles', 'santa monica', 0), (574, 115, '310/246-1501', '310/451-0616', 0.4), (575, 115, 'american', 'american', 1), (576, 116, 'arnie morton''s of chicago', 'ca''del sol', 0), (577, 116, '435 s. la cienega blv.', '4100 cahuenga blvd.', 0), (578, 116, 'los angeles', 'los angeles', 1), (579, 116, '310/246-1501', '818/985-4669', 0.1), (580, 116, 'american', 'italian', 0.5), (581, 117, 'arnie morton''s of chicago', 'california pizza kitchen', 0), (582, 117, '435 s. la cienega blv.', '207 s. beverly dr.', 0), (583, 117, 'los angeles', 'los angeles', 1), (584, 117, '310/246-1501', '310/275-1101', 0.7), (585, 117, 'american', 'californian', 0.3), (586, 118, 'arnie morton''s of chicago', 'cava', 0), (587, 118, '435 s. la cienega blv.', '3rd st.', 0), (588, 118, 'los angeles', 'los angeles', 1), (589, 118, '310/246-1501', '213/658-8898', 0.1), (590, 118, 'american', 'mediterranean', 0.1), (591, 119, 'arnie morton''s of chicago', 'chan dara', 0), (592, 119, '435 s. la cienega blv.', '310 n. larchmont blvd.', 0), (593, 119, 'los angeles', 'los angeles', 1), (594, 119, '310/246-1501', '213/467-1052', 0.3), (595, 119, 'american', 'asian', 0.6), (596, 120, 'arnie morton''s of chicago', 'dining room', 0), (597, 120, '435 s. la cienega blv.', '9500 wilshire blvd.', 0), (598, 120, 'los angeles', 'los angeles', 1), (599, 120, '310/246-1501', '310/275-5200', 0.5), (600, 120, 'american', 'californian', 0.3), (601, 121, 'arnie morton''s of chicago', 'drago', 0), (602, 121, '435 s. la cienega blv.', '2628 wilshire blvd.', 0), (603, 121, 'los angeles', 'santa monica', 0), (604, 121, '310/246-1501', '310/828-1585', 0.5), (605, 121, 'american', 'italian', 0.5), (606, 122, 'arnie morton''s of chicago', 'dynasty room', 0), (607, 122, '435 s. la cienega blv.', '930 hilgard ave.', 0), (608, 122, 'los angeles', 'los angeles', 1), (609, 122, '310/246-1501', '310/208-8765', 0.4), (610, 122, 'american', 'continental', 0.1), (611, 123, 'arnie morton''s of chicago', 'ed debevic''s', 0), (612, 123, '435 s. la cienega blv.', '134 n. la cienega', 0.2), (613, 123, 'los angeles', 'los angeles', 1), (614, 123, '310/246-1501', '310/659-1952', 0.4), (615, 123, 'american', 'american', 1), (616, 124, 'arnie morton''s of chicago', 'gilliland''s', 0), (617, 124, '435 s. la cienega blv.', '2424 main st.', 0), (618, 124, 'los angeles', 'santa monica', 0), (619, 124, '310/246-1501', '310/392-3901', 0.5), (620, 124, 'american', 'american', 1), (621, 125, 'arnie morton''s of chicago', 'hard rock cafe', 0), (622, 125, '435 s. la cienega blv.', '8600 beverly blvd.', 0), (623, 125, 'los angeles', 'los angeles', 1), (624, 125, '310/246-1501', '310/276-7605', 0.6), (625, 125, 'american', 'american', 1), (626, 126, 'arnie morton''s of chicago', 'il fornaio cucina italiana', 0), (627, 126, '435 s. la cienega blv.', '301 n. beverly dr.', 0), (628, 126, 'los angeles', 'los angeles', 1), (629, 126, '310/246-1501', '310/550-8330', 0.3), (630, 126, 'american', 'italian', 0.5), (631, 127, 'arnie morton''s of chicago', 'jackson''s farm', 0), (632, 127, '435 s. la cienega blv.', '439 n. beverly drive', 0), (633, 127, 'los angeles', 'los angeles', 1), (634, 127, '310/246-1501', '310/273-5578', 0.5), (635, 127, 'american', 'californian', 0.3), (636, 128, 'arnie morton''s of chicago', 'joss', 0), (637, 128, '435 s. la cienega blv.', '9255 sunset blvd.', 0), (638, 128, 'los angeles', 'los angeles', 1), (639, 128, '310/246-1501', '310/276-1886', 0.6), (640, 128, 'american', 'asian', 0.6), (641, 129, 'arnie morton''s of chicago', 'le dome', 0), (642, 129, '435 s. la cienega blv.', '8720 sunset blvd.', 0), (643, 129, 'los angeles', 'los angeles', 1), (644, 129, '310/246-1501', '310/659-6919', 0.3), (645, 129, 'american', 'french', 0.4), (646, 130, 'arnie morton''s of chicago', 'mon kee seafood restaurant', 0), (647, 130, '435 s. la cienega blv.', '679 n. spring st.', 0), (648, 130, 'los angeles', 'los angeles', 1), (649, 130, '310/246-1501', '213/628-6717', 0.1), (650, 130, 'american', 'asian', 0.6), (651, 131, 'arnie morton''s of chicago', 'nate ''n'' al''s', 0), (652, 131, '435 s. la cienega blv.', '414 n. beverly dr.', 0), (653, 131, 'los angeles', 'los angeles', 1), (654, 131, '310/246-1501', '310/274-0101', 0.6), (655, 131, 'american', 'american', 1), (656, 132, 'arnie morton''s of chicago', 'ocean avenue', 0), (657, 132, '435 s. la cienega blv.', '1401 ocean ave.', 0), (658, 132, 'los angeles', 'santa monica', 0), (659, 132, '310/246-1501', '310/394-5669', 0.3), (660, 132, 'american', 'american', 1), (661, 133, 'arnie morton''s of chicago', 'pacific dining car', 0), (662, 133, '435 s. la cienega blv.', '6th st.', 0), (663, 133, 'los angeles', 'los angeles', 1), (664, 133, '310/246-1501', '213/483-6000', 0.2), (665, 133, 'american', 'american', 1), (666, 134, 'arnie morton''s of chicago', 'pinot hollywood', 0), (667, 134, '435 s. la cienega blv.', '1448 n. gower st.', 0), (668, 134, 'los angeles', 'los angeles', 1), (669, 134, '310/246-1501', '213/461-8800', 0.3), (670, 134, 'american', 'californian', 0.3), (671, 135, 'arnie morton''s of chicago', 'prego', 0), (672, 135, '435 s. la cienega blv.', '362 n. camden dr.', 0), (673, 135, 'los angeles', 'los angeles', 1), (674, 135, '310/246-1501', '310/277-7346', 0.4), (675, 135, 'american', 'italian', 0.5), (676, 136, 'arnie morton''s of chicago', 'remi', 0), (677, 136, '435 s. la cienega blv.', '3rd st. promenade', 0), (678, 136, 'los angeles', 'santa monica', 0), (679, 136, '310/246-1501', '310/393-6545', 0.4), (680, 136, 'american', 'italian', 0.5), (681, 137, 'arnie morton''s of chicago', 'roscoe''s house of chicken ''n'' waffles', 0), (682, 137, '435 s. la cienega blv.', '1514 n. gower st.', 0), (683, 137, 'los angeles', 'los angeles', 1), (684, 137, '310/246-1501', '213/466-9329', 0.2), (685, 137, 'american', 'american', 1), (686, 138, 'arnie morton''s of chicago', 'sofi', 0), (687, 138, '435 s. la cienega blv.', '3rd st.', 0), (688, 138, 'los angeles', 'los angeles', 1), (689, 138, '310/246-1501', '213/651-0346', 0.1), (690, 138, 'american', 'mediterranean', 0.1), (691, 139, 'arnie morton''s of chicago', 'tavola calda', 0), (692, 139, '435 s. la cienega blv.', '7371 melrose ave.', 0), (693, 139, 'los angeles', 'los angeles', 1), (694, 139, '310/246-1501', '213/658-6340', 0.1), (695, 139, 'american', 'italian', 0.5), (696, 140, 'arnie morton''s of chicago', 'tommy tang''s', 0), (697, 140, '435 s. la cienega blv.', '7313 melrose ave.', 0), (698, 140, 'los angeles', 'los angeles', 1), (699, 140, '310/246-1501', '213/937-5733', 0.1), (700, 140, 'american', 'asian', 0.6), (701, 141, 'arnie morton''s of chicago', 'trader vic''s', 0), (702, 141, '435 s. la cienega blv.', '9876 wilshire blvd.', 0), (703, 141, 'los angeles', 'los angeles', 1), (704, 141, '310/246-1501', '310/276-6345', 0.5), (705, 141, 'american', 'asian', 0.6), (706, 142, 'arnie morton''s of chicago', 'west beach cafe', 0), (707, 142, '435 s. la cienega blv.', '60 n. venice blvd.', 0), (708, 142, 'los angeles', 'los angeles', 1), (709, 142, '310/246-1501', '310/823-5396', 0.3), (710, 142, 'american', 'american', 1), (711, 143, 'arnie morton''s of chicago', '9 jones street', 0), (712, 143, '435 s. la cienega blv.', '9 jones st.', 0), (713, 143, 'los angeles', 'new york', 0), (714, 143, '310/246-1501', '212/989-1220', 0.2), (715, 143, 'american', 'american', 1), (716, 144, 'arnie morton''s of chicago', 'agrotikon', 0), (717, 144, '435 s. la cienega blv.', '322 e. 14 st. between 1st and 2nd aves.', 0), (718, 144, 'los angeles', 'new york', 0), (719, 144, '310/246-1501', '212/473-2602', 0.2), (720, 144, 'american', 'mediterranean', 0.1), (721, 145, 'arnie morton''s of chicago', 'alamo', 0), (722, 145, '435 s. la cienega blv.', '304 e. 48th st.', 0), (723, 145, 'los angeles', 'new york', 0), (724, 145, '310/246-1501', '212/ 759-0590', 0.1), (725, 145, 'american', 'mexican', 0.8), (726, 146, 'arnie morton''s of chicago', 'ambassador grill', 0), (727, 146, '435 s. la cienega blv.', '1 united nations plaza at 44th st.', 0), (728, 146, 'los angeles', 'new york', 0), (729, 146, '310/246-1501', '212/702-5014', 0.3), (730, 146, 'american', 'american', 1), (731, 147, 'arnie morton''s of chicago', 'anche vivolo', 0), (732, 147, '435 s. la cienega blv.', '222 e. 58th st. between 2nd and 3rd aves.', 0), (733, 147, 'los angeles', 'new york', 0), (734, 147, '310/246-1501', '212/308-0112', 0.1), (735, 147, 'american', 'italian', 0.5), (736, 148, 'arnie morton''s of chicago', 'arturo''s', 0), (737, 148, '435 s. la cienega blv.', '106 w. houston st. off thompson st.', 0), (738, 148, 'los angeles', 'new york', 0), (739, 148, '310/246-1501', '212/677-3820', 0.1), (740, 148, 'american', 'italian', 0.5), (741, 149, 'arnie morton''s of chicago', 'bar anise', 0), (742, 149, '435 s. la cienega blv.', '1022 3rd ave. between 60th and 61st sts.', 0), (743, 149, 'los angeles', 'new york', 0), (744, 149, '310/246-1501', '212/355-1112', 0.2), (745, 149, 'american', 'mediterranean', 0.1), (746, 150, 'arnie morton''s of chicago', 'ben benson''s', 0), (747, 150, '435 s. la cienega blv.', '123 w. 52nd st.', 0), (748, 150, 'los angeles', 'new york', 0), (749, 150, '310/246-1501', '212/581-8888', 0.1), (750, 150, 'american', 'american', 1), (751, 151, 'arnie morton''s of chicago', 'billy''s', 0), (752, 151, '435 s. la cienega blv.', '948 1st ave. between 52nd and 53rd sts.', 0), (753, 151, 'los angeles', 'new york', 0), (754, 151, '310/246-1501', '212/753-1870', 0.2), (755, 151, 'american', 'american', 1), (756, 152, 'arnie morton''s of chicago', 'bolo', 0), (757, 152, '435 s. la cienega blv.', '23 e. 22nd st.', 0), (758, 152, 'los angeles', 'new york', 0), (759, 152, '310/246-1501', '212/228-2200', 0.3), (760, 152, 'american', 'mediterranean', 0.1), (761, 153, 'arnie morton''s of chicago', 'bouterin', 0), (762, 153, '435 s. la cienega blv.', '420 e. 59th st. off 1st ave.', 0), (763, 153, 'los angeles', 'new york', 0), (764, 153, '310/246-1501', '212/758-0323', 0.1), (765, 153, 'american', 'french', 0.4), (766, 154, 'arnie morton''s of chicago', 'bruno', 0), (767, 154, '435 s. la cienega blv.', '240 e. 58th st.', 0), (768, 154, 'los angeles', 'new york', 0), (769, 154, '310/246-1501', '212/688-4190', 0.2), (770, 154, 'american', 'italian', 0.5), (771, 155, 'arnie morton''s of chicago', 'c3', 0), (772, 155, '435 s. la cienega blv.', '103 waverly pl. near washington sq.', 0), (773, 155, 'los angeles', 'new york', 0), (774, 155, '310/246-1501', '212/254-1200', 0.4), (775, 155, 'american', 'american', 1), (776, 156, 'arnie morton''s of chicago', 'cafe bianco', 0), (777, 156, '435 s. la cienega blv.', '1486 2nd ave. between 77th and 78th sts.', 0), (778, 156, 'los angeles', 'new york', 0), (779, 156, '310/246-1501', '212/988-2655', 0.1), (780, 156, 'american', 'coffee bar', 0.2), (781, 157, 'arnie morton''s of chicago', 'cafe la fortuna', 0), (782, 157, '435 s. la cienega blv.', '69 w. 71st st.', 0), (783, 157, 'los angeles', 'new york', 0), (784, 157, '310/246-1501', '212/724-5846', 0.2), (785, 157, 'american', 'coffee bar', 0.2), (786, 158, 'arnie morton''s of chicago', 'cafe pierre', 0), (787, 158, '435 s. la cienega blv.', '2 e. 61st st.', 0), (788, 158, 'los angeles', 'new york', 0), (789, 158, '310/246-1501', '212/940-8185', 0.2), (790, 158, 'american', 'french', 0.4), (791, 159, 'arnie morton''s of chicago', 'cafe fes', 0), (792, 159, '435 s. la cienega blv.', '246 w. 4th st. at charles st.', 0), (793, 159, 'los angeles', 'new york', 0), (794, 159, '310/246-1501', '212/924-7653', 0.2), (795, 159, 'american', 'mediterranean', 0.1), (796, 160, 'arnie morton''s of chicago', 'caffe dell''artista', 0), (797, 160, '435 s. la cienega blv.', '46 greenwich ave.', 0), (798, 160, 'los angeles', 'new york', 0), (799, 160, '310/246-1501', '212/645-4431', 0.3), (800, 160, 'american', 'coffee bar', 0.2), (801, 161, 'arnie morton''s of chicago', 'caffe reggio', 0), (802, 161, '435 s. la cienega blv.', '119 macdougal st. between 3rd and bleecker sts.', 0), (803, 161, 'los angeles', 'new york', 0), (804, 161, '310/246-1501', '212/475-9557', 0.2), (805, 161, 'american', 'coffee bar', 0.2), (806, 162, 'arnie morton''s of chicago', 'caffe vivaldi', 0), (807, 162, '435 s. la cienega blv.', '32 jones st. at bleecker st.', 0), (808, 162, 'los angeles', 'new york', 0), (809, 162, '310/246-1501', '212/691-7538', 0.2), (810, 162, 'american', 'coffee bar', 0.2), (811, 163, 'arnie morton''s of chicago', 'capsouto freres', 0), (812, 163, '435 s. la cienega blv.', '451 washington st. near watts st.', 0), (813, 163, 'los angeles', 'new york', 0), (814, 163, '310/246-1501', '212/966-4900', 0.3), (815, 163, 'american', 'french', 0.4), (816, 164, 'arnie morton''s of chicago', 'casa la femme', 0), (817, 164, '435 s. la cienega blv.', '150 wooster st. between houston and prince sts.', 0), (818, 164, 'los angeles', 'new york', 0), (819, 164, '310/246-1501', '212/505-0005', 0.2), (820, 164, 'american', 'middle eastern', 0), (821, 165, 'arnie morton''s of chicago', 'chez jacqueline', 0), (822, 165, '435 s. la cienega blv.', '72 macdougal st. between w. houston and bleecker sts.', 0), (823, 165, 'los angeles', 'new york', 0), (824, 165, '310/246-1501', '212/505-0727', 0.1), (825, 165, 'american', 'french', 0.4), (826, 166, 'arnie morton''s of chicago', 'china grill', 0), (827, 166, '435 s. la cienega blv.', '60 w. 53rd st.', 0), (828, 166, 'los angeles', 'new york', 0), (829, 166, '310/246-1501', '212/333-7788', 0.1), (830, 166, 'american', 'american', 1), (831, 167, 'arnie morton''s of chicago', 'coco pazzo', 0), (832, 167, '435 s. la cienega blv.', '23 e. 74th st.', 0), (833, 167, 'los angeles', 'new york', 0), (834, 167, '310/246-1501', '212/794-0205', 0.2), (835, 167, 'american', 'italian', 0.5), (836, 168, 'arnie morton''s of chicago', 'corrado cafe', 0), (837, 168, '435 s. la cienega blv.', '1013 3rd ave. between 60th and 61st sts.', 0), (838, 168, 'los angeles', 'new york', 0), (839, 168, '310/246-1501', '212/753-5100', 0.2), (840, 168, 'american', 'coffee bar', 0.2), (841, 169, 'arnie morton''s of chicago', 'da nico', 0), (842, 169, '435 s. la cienega blv.', '164 mulberry st. between grand and broome sts.', 0), (843, 169, 'los angeles', 'new york', 0), (844, 169, '310/246-1501', '212/343-1212', 0.3), (845, 169, 'american', 'italian', 0.5), (846, 170, 'arnie morton''s of chicago', 'diva', 0), (847, 170, '435 s. la cienega blv.', '341 w. broadway near grand st.', 0), (848, 170, 'los angeles', 'new york', 0), (849, 170, '310/246-1501', '212/941-9024', 0.2), (850, 170, 'american', 'italian', 0.5), (851, 171, 'arnie morton''s of chicago', 'docks', 0), (852, 171, '435 s. la cienega blv.', '633 3rd ave. at 40th st.', 0), (853, 171, 'los angeles', 'new york', 0), (854, 171, '310/246-1501', '212/ 986-8080', 0.1), (855, 171, 'american', 'seafood', 0.3), (856, 172, 'arnie morton''s of chicago', 'el teddy''s', 0), (857, 172, '435 s. la cienega blv.', '219 w. broadway between franklin and white sts.', 0), (858, 172, 'los angeles', 'new york', 0), (859, 172, '310/246-1501', '212/941-7070', 0.2), (860, 172, 'american', 'mexican', 0.8), (861, 173, 'arnie morton''s of chicago', 'empire korea', 0), (862, 173, '435 s. la cienega blv.', '6 e. 32nd st.', 0), (863, 173, 'los angeles', 'new york', 0), (864, 173, '310/246-1501', '212/725-1333', 0.2), (865, 173, 'american', 'asian', 0.6), (866, 174, 'arnie morton''s of chicago', 'evergreen cafe', 0), (867, 174, '435 s. la cienega blv.', '1288 1st ave. at 69th st.', 0), (868, 174, 'los angeles', 'new york', 0), (869, 174, '310/246-1501', '212/744-3266', 0.2), (870, 174, 'american', 'asian', 0.6), (871, 175, 'arnie morton''s of chicago', 'felix', 0), (872, 175, '435 s. la cienega blv.', '340 w. broadway at grand st.', 0), (873, 175, 'los angeles', 'new york', 0), (874, 175, '310/246-1501', '212/431-0021', 0.2), (875, 175, 'american', 'french', 0.4), (876, 176, 'arnie morton''s of chicago', 'fifty seven fifty seven', 0), (877, 176, '435 s. la cienega blv.', '57 e. 57th st.', 0), (878, 176, 'los angeles', 'new york', 0), (879, 176, '310/246-1501', '212/758-5757', 0.1), (880, 176, 'american', 'american', 1), (881, 177, 'arnie morton''s of chicago', 'fiorello''s roman cafe', 0), (882, 177, '435 s. la cienega blv.', '1900 broadway between 63rd and 64th sts.', 0), (883, 177, 'los angeles', 'new york', 0), (884, 177, '310/246-1501', '212/595-5330', 0.1), (885, 177, 'american', 'italian', 0.5), (886, 178, 'arnie morton''s of chicago', 'first', 0), (887, 178, '435 s. la cienega blv.', '87 1st ave. between 5th and 6th sts.', 0), (888, 178, 'los angeles', 'new york', 0), (889, 178, '310/246-1501', '212/674-3823', 0.1), (890, 178, 'american', 'american', 1), (891, 179, 'arnie morton''s of chicago', 'fleur de jour', 0), (892, 179, '435 s. la cienega blv.', '348 e. 62nd st.', 0), (893, 179, 'los angeles', 'new york', 0), (894, 179, '310/246-1501', '212/355-2020', 0.1), (895, 179, 'american', 'coffee bar', 0.2), (896, 180, 'arnie morton''s of chicago', 'follonico', 0), (897, 180, '435 s. la cienega blv.', '6 w. 24th st.', 0), (898, 180, 'los angeles', 'new york', 0), (899, 180, '310/246-1501', '212/691-6359', 0.1), (900, 180, 'american', 'italian', 0.5), (901, 181, 'arnie morton''s of chicago', 'french roast', 0), (902, 181, '435 s. la cienega blv.', '458 6th ave. at 11th st.', 0), (903, 181, 'los angeles', 'new york', 0), (904, 181, '310/246-1501', '212/533-2233', 0.1), (905, 181, 'american', 'french', 0.4), (906, 182, 'arnie morton''s of chicago', 'frico bar', 0), (907, 182, '435 s. la cienega blv.', '402 w. 43rd st. off 9th ave.', 0), (908, 182, 'los angeles', 'new york', 0), (909, 182, '310/246-1501', '212/564-7272', 0.1), (910, 182, 'american', 'italian', 0.5), (911, 183, 'arnie morton''s of chicago', 'gabriela''s', 0), (912, 183, '435 s. la cienega blv.', '685 amsterdam ave. at 93rd st.', 0), (913, 183, 'los angeles', 'new york', 0), (914, 183, '310/246-1501', '212/961-0574', 0.2), (915, 183, 'american', 'mexican', 0.8), (916, 184, 'arnie morton''s of chicago', 'gianni''s', 0), (917, 184, '435 s. la cienega blv.', '15 fulton st.', 0), (918, 184, 'los angeles', 'new york', 0), (919, 184, '310/246-1501', '212/608-7300', 0.2), (920, 184, 'american', 'seafood', 0.3), (921, 185, 'arnie morton''s of chicago', 'global', 0), (922, 185, '435 s. la cienega blv.', '33 93 2nd ave. between 5th and 6th sts.', 0), (923, 185, 'los angeles', 'new york', 0), (924, 185, '310/246-1501', '212/477-8427', 0.1), (925, 185, 'american', 'american', 1), (926, 186, 'arnie morton''s of chicago', 'grand ticino', 0), (927, 186, '435 s. la cienega blv.', '228 thompson st. between w. 3rd and bleecker sts.', 0), (928, 186, 'los angeles', 'new york', 0), (929, 186, '310/246-1501', '212/777-5922', 0.1), (930, 186, 'american', 'italian', 0.5), (931, 187, 'arnie morton''s of chicago', 'hard rock cafe', 0), (932, 187, '435 s. la cienega blv.', '221 w. 57th st.', 0), (933, 187, 'los angeles', 'new york', 0), (934, 187, '310/246-1501', '212/489-6565', 0.2), (935, 187, 'american', 'american', 1), (936, 188, 'arnie morton''s of chicago', 'home', 0), (937, 188, '435 s. la cienega blv.', '20 cornelia st. between bleecker and w. 4th st.', 0), (938, 188, 'los angeles', 'new york', 0), (939, 188, '310/246-1501', '212/243-9579', 0.4), (940, 188, 'american', 'american', 1), (941, 189, 'arnie morton''s of chicago', 'i trulli', 0), (942, 189, '435 s. la cienega blv.', '122 e. 27th st. between lexington and park aves.', 0), (943, 189, 'los angeles', 'new york', 0), (944, 189, '310/246-1501', '212/481-7372', 0.1), (945, 189, 'american', 'italian', 0.5), (946, 190, 'arnie morton''s of chicago', 'il nido', 0), (947, 190, '435 s. la cienega blv.', '251 e. 53rd st.', 0), (948, 190, 'los angeles', 'new york', 0), (949, 190, '310/246-1501', '212/753-8450', 0.2), (950, 190, 'american', 'italian', 0.5), (951, 191, 'arnie morton''s of chicago', 'indochine', 0), (952, 191, '435 s. la cienega blv.', '430 lafayette st. between 4th st. and astor pl.', 0), (953, 191, 'los angeles', 'new york', 0), (954, 191, '310/246-1501', '212/505-5111', 0.2), (955, 191, 'american', 'asian', 0.6), (956, 192, 'arnie morton''s of chicago', 'ipanema', 0), (957, 192, '435 s. la cienega blv.', '13 w. 46th st.', 0), (958, 192, 'los angeles', 'new york', 0), (959, 192, '310/246-1501', '212/730-5848', 0.1), (960, 192, 'american', 'latin american', 0.4), (961, 193, 'arnie morton''s of chicago', 'jewel of india', 0), (962, 193, '435 s. la cienega blv.', '15 w. 44th st.', 0), (963, 193, 'los angeles', 'new york', 0), (964, 193, '310/246-1501', '212/869-5544', 0.2), (965, 193, 'american', 'asian', 0.6), (966, 194, 'arnie morton''s of chicago', 'joe allen', 0), (967, 194, '435 s. la cienega blv.', '326 w. 46th st.', 0), (968, 194, 'los angeles', 'new york', 0), (969, 194, '310/246-1501', '212/581-6464', 0.1), (970, 194, 'american', 'american', 1), (971, 195, 'arnie morton''s of chicago', 'l''absinthe', 0), (972, 195, '435 s. la cienega blv.', '227 e. 67th st.', 0), (973, 195, 'los angeles', 'new york', 0), (974, 195, '310/246-1501', '212/794-4950', 0.2), (975, 195, 'american', 'french', 0.4), (976, 196, 'arnie morton''s of chicago', 'l''auberge du midi', 0), (977, 196, '435 s. la cienega blv.', '310 w. 4th st. between w. 12th and bank sts.', 0), (978, 196, 'los angeles', 'new york', 0), (979, 196, '310/246-1501', '212/242-4705', 0.4), (980, 196, 'american', 'french', 0.4), (981, 197, 'arnie morton''s of chicago', 'la reserve', 0), (982, 197, '435 s. la cienega blv.', '4 w. 49th st.', 0), (983, 197, 'los angeles', 'new york', 0), (984, 197, '310/246-1501', '212/247-2993', 0.3), (985, 197, 'american', 'french', 0.4), (986, 198, 'arnie morton''s of chicago', 'lattanzi ristorante', 0), (987, 198, '435 s. la cienega blv.', '361 w. 46th st.', 0), (988, 198, 'los angeles', 'new york', 0), (989, 198, '310/246-1501', '212/315-0980', 0.1), (990, 198, 'american', 'italian', 0.5), (991, 199, 'arnie morton''s of chicago', 'le chantilly', 0), (992, 199, '435 s. la cienega blv.', '106 e. 57th st.', 0), (993, 199, 'los angeles', 'new york', 0), (994, 199, '310/246-1501', '212/751-2931', 0.2), (995, 199, 'american', 'french', 0.4), (996, 200, 'arnie morton''s of chicago', 'le gamin', 0), (997, 200, '435 s. la cienega blv.', '50 macdougal st. between houston and prince sts.', 0), (998, 200, 'los angeles', 'new york', 0), (999, 200, '310/246-1501', '212/254-4678', 0.2), (1000, 200, 'american', 'coffee bar', 0.2), (1001, 201, 'arnie morton''s of chicago', 'le madri', 0), (1002, 201, '435 s. la cienega blv.', '168 w. 18th st.', 0); INSERT INTO `attribut` (`id`, `PairId`, `Attr1`, `Attr2`, `Val`) VALUES (1003, 201, 'los angeles', 'new york', 0), (1004, 201, '310/246-1501', '212/727-8022', 0.1), (1005, 201, 'american', 'italian', 0.5), (1006, 202, 'arnie morton''s of chicago', 'le perigord', 0), (1007, 202, '435 s. la cienega blv.', '405 e. 52nd st.', 0), (1008, 202, 'los angeles', 'new york', 0), (1009, 202, '310/246-1501', '212/755-6244', 0.1), (1010, 202, 'american', 'french', 0.4), (1011, 203, 'arnie morton''s of chicago', 'les halles', 0), (1012, 203, '435 s. la cienega blv.', '411 park ave. s between 28th and 29th sts.', 0), (1013, 203, 'los angeles', 'new york', 0), (1014, 203, '310/246-1501', '212/679-4111', 0.2), (1015, 203, 'american', 'french', 0.4), (1016, 204, 'arnie morton''s of chicago', 'lola', 0), (1017, 204, '435 s. la cienega blv.', '30 west 22nd st. between 5th and 6th ave.', 0), (1018, 204, 'los angeles', 'new york', 0), (1019, 204, '310/246-1501', '212/675-6700', 0.2), (1020, 204, 'american', 'american', 1), (1021, 205, 'arnie morton''s of chicago', 'mad fish', 0), (1022, 205, '435 s. la cienega blv.', '2182 broadway between 77th and 78th sts.', 0), (1023, 205, 'los angeles', 'new york', 0), (1024, 205, '310/246-1501', '212/787-0202', 0.2), (1025, 205, 'american', 'seafood', 0.3), (1026, 206, 'arnie morton''s of chicago', 'mangia e bevi', 0), (1027, 206, '435 s. la cienega blv.', '800 9th ave. at 53rd st.', 0), (1028, 206, 'los angeles', 'new york', 0), (1029, 206, '310/246-1501', '212/956-3976', 0.2), (1030, 206, 'american', 'italian', 0.5), (1031, 207, 'arnie morton''s of chicago', 'manila garden', 0), (1032, 207, '435 s. la cienega blv.', '325 e. 14th st. between 1st and 2nd aves.', 0), (1033, 207, 'los angeles', 'new york', 0), (1034, 207, '310/246-1501', '212/777-6314', 0.1), (1035, 207, 'american', 'asian', 0.6), (1036, 208, 'arnie morton''s of chicago', 'marquet patisserie', 0), (1037, 208, '435 s. la cienega blv.', '15 e. 12th st. between 5th ave. and university pl.', 0), (1038, 208, 'los angeles', 'new york', 0), (1039, 208, '310/246-1501', '212/229-9313', 0.2), (1040, 208, 'american', 'coffee bar', 0.2), (1041, 209, 'arnie morton''s of chicago', 'matthew''s', 0), (1042, 209, '435 s. la cienega blv.', '1030 3rd ave. at 61st st.', 0), (1043, 209, 'los angeles', 'new york', 0), (1044, 209, '310/246-1501', '212/838-4343', 0.1), (1045, 209, 'american', 'american', 1), (1046, 210, 'arnie morton''s of chicago', 'milan cafe and coffee bar', 0), (1047, 210, '435 s. la cienega blv.', '120 w. 23rd st.', 0), (1048, 210, 'los angeles', 'new york', 0), (1049, 210, '310/246-1501', '212/807-1801', 0.4), (1050, 210, 'american', 'coffee bar', 0.2), (1051, 211, 'arnie morton''s of chicago', 'montien', 0), (1052, 211, '435 s. la cienega blv.', '1134 1st ave. between 62nd and 63rd sts.', 0), (1053, 211, 'los angeles', 'new york', 0), (1054, 211, '310/246-1501', '212/421-4433', 0.1), (1055, 211, 'american', 'asian', 0.6), (1056, 212, 'arnie morton''s of chicago', 'motown cafe', 0), (1057, 212, '435 s. la cienega blv.', '104 w. 57th st. near 6th ave.', 0), (1058, 212, 'los angeles', 'new york', 0), (1059, 212, '310/246-1501', '212/581-8030', 0.1), (1060, 212, 'american', 'american', 1), (1061, 213, 'arnie morton''s of chicago', 'new york noodletown', 0), (1062, 213, '435 s. la cienega blv.', '28 1/2 bowery at bayard st.', 0), (1063, 213, 'los angeles', 'new york', 0), (1064, 213, '310/246-1501', '212/349-0923', 0.2), (1065, 213, 'american', 'asian', 0.6), (1066, 214, 'arnie morton''s of chicago', 'odeon', 0), (1067, 214, '435 s. la cienega blv.', '145 w. broadway at thomas st.', 0), (1068, 214, 'los angeles', 'new york', 0), (1069, 214, '310/246-1501', '212/233-0507', 0.4), (1070, 214, 'american', 'american', 1), (1071, 215, 'arnie morton''s of chicago', 'osteria al droge', 0), (1072, 215, '435 s. la cienega blv.', '142 w. 44th st.', 0), (1073, 215, 'los angeles', 'new york', 0), (1074, 215, '310/246-1501', '212/944-3643', 0.2), (1075, 215, 'american', 'italian', 0.5), (1076, 216, 'arnie morton''s of chicago', 'pacifica', 0), (1077, 216, '435 s. la cienega blv.', '138 lafayette st. between canal and howard sts.', 0), (1078, 216, 'los angeles', 'new york', 0), (1079, 216, '310/246-1501', '212/941-4168', 0.2), (1080, 216, 'american', 'asian', 0.6), (1081, 217, 'arnie morton''s of chicago', 'pamir', 0), (1082, 217, '435 s. la cienega blv.', '1065 1st ave. at 58th st.', 0), (1083, 217, 'los angeles', 'new york', 0), (1084, 217, '310/246-1501', '212/644-9258', 0.2), (1085, 217, 'american', 'middle eastern', 0), (1086, 218, 'arnie morton''s of chicago', 'patria', 0), (1087, 218, '435 s. la cienega blv.', '250 park ave. s at 20th st.', 0), (1088, 218, 'los angeles', 'new york', 0), (1089, 218, '310/246-1501', '212/777-6211', 0.2), (1090, 218, 'american', 'latin american', 0.4), (1091, 219, 'arnie morton''s of chicago', 'pen & pencil', 0), (1092, 219, '435 s. la cienega blv.', '205 e. 45th st.', 0), (1093, 219, 'los angeles', 'new york', 0), (1094, 219, '310/246-1501', '212/682-8660', 0.1), (1095, 219, 'american', 'american', 1), (1096, 220, 'arnie morton''s of chicago', 'persepolis', 0), (1097, 220, '435 s. la cienega blv.', '1423 2nd ave. between 74th and 75th sts.', 0), (1098, 220, 'los angeles', 'new york', 0), (1099, 220, '310/246-1501', '212/535-1100', 0.3), (1100, 220, 'american', 'middle eastern', 0), (1101, 221, 'arnie morton''s of chicago', 'pomaire', 0), (1102, 221, '435 s. la cienega blv.', '371 w. 46th st. off 9th ave.', 0), (1103, 221, 'los angeles', 'new york', 0), (1104, 221, '310/246-1501', '212/ 956-3055', 0.1), (1105, 221, 'american', 'latin american', 0.4), (1106, 222, 'arnie morton''s of chicago', 'post house', 0), (1107, 222, '435 s. la cienega blv.', '28 e. 63rd st.', 0), (1108, 222, 'los angeles', 'new york', 0), (1109, 222, '310/246-1501', '212/935-2888', 0.1), (1110, 222, 'american', 'american', 1), (1111, 223, 'arnie morton''s of chicago', 'red tulip', 0), (1112, 223, '435 s. la cienega blv.', '439 e. 75th st.', 0), (1113, 223, 'los angeles', 'new york', 0), (1114, 223, '310/246-1501', '212/734-4893', 0.1), (1115, 223, 'american', 'eastern european', 0), (1116, 224, 'arnie morton''s of chicago', 'republic', 0), (1117, 224, '435 s. la cienega blv.', '37a union sq. w between 16th and 17th sts.', 0), (1118, 224, 'los angeles', 'new york', 0), (1119, 224, '310/246-1501', '212/627-7172', 0.1), (1120, 224, 'american', 'asian', 0.6), (1121, 225, 'arnie morton''s of chicago', 'rosa mexicano', 0), (1122, 225, '435 s. la cienega blv.', '1063 1st ave. at 58th st.', 0), (1123, 225, 'los angeles', 'new york', 0), (1124, 225, '310/246-1501', '212/753-7407', 0.2), (1125, 225, 'american', 'mexican', 0.8), (1126, 226, 'arnie morton''s of chicago', 's.p.q.r', 0), (1127, 226, '435 s. la cienega blv.', '133 mulberry st. between hester and grand sts.', 0), (1128, 226, 'los angeles', 'new york', 0), (1129, 226, '310/246-1501', '212/925-3120', 0.2), (1130, 226, 'american', 'italian', 0.5), (1131, 227, 'arnie morton''s of chicago', 'sammy''s roumanian steak house', 0), (1132, 227, '435 s. la cienega blv.', '157 chrystie st. at delancey st.', 0), (1133, 227, 'los angeles', 'new york', 0), (1134, 227, '310/246-1501', '212/673-0330', 0.1), (1135, 227, 'american', 'east european', 0.2), (1136, 228, 'arnie morton''s of chicago', 'sant ambroeus', 0), (1137, 228, '435 s. la cienega blv.', '1000 madison ave. between 77th and 78th sts.', 0), (1138, 228, 'los angeles', 'new york', 0), (1139, 228, '310/246-1501', '212/570-2211', 0.2), (1140, 228, 'american', 'coffee bar', 0.2), (1141, 229, 'arnie morton''s of chicago', 'sea grill', 0), (1142, 229, '435 s. la cienega blv.', '19 w. 49th st.', 0), (1143, 229, 'los angeles', 'new york', 0), (1144, 229, '310/246-1501', '212/332-7610', 0.1), (1145, 229, 'american', 'seafood', 0.3), (1146, 230, 'arnie morton''s of chicago', 'seventh regiment mess and bar', 0), (1147, 230, '435 s. la cienega blv.', '643 park ave. at 66th st.', 0), (1148, 230, 'los angeles', 'new york', 0), (1149, 230, '310/246-1501', '212/744-4107', 0.3), (1150, 230, 'american', 'american', 1), (1151, 231, 'arnie morton''s of chicago', 'shaan', 0), (1152, 231, '435 s. la cienega blv.', '57 w. 48th st.', 0), (1153, 231, 'los angeles', 'new york', 0), (1154, 231, '310/246-1501', '212/ 977-8400', 0.1), (1155, 231, 'american', 'asian', 0.6), (1156, 232, 'arnie morton''s of chicago', 'spring street natural restaurant & bar', 0), (1157, 232, '435 s. la cienega blv.', '62 spring st. at lafayette st.', 0), (1158, 232, 'los angeles', 'new york', 0), (1159, 232, '310/246-1501', '212/966-0290', 0.2), (1160, 232, 'american', 'american', 1), (1161, 233, 'arnie morton''s of chicago', 'stingray', 0), (1162, 233, '435 s. la cienega blv.', '428 amsterdam ave. between 80th and 81st sts.', 0), (1163, 233, 'los angeles', 'new york', 0), (1164, 233, '310/246-1501', '212/501-7515', 0.2), (1165, 233, 'american', 'seafood', 0.3), (1166, 234, 'arnie morton''s of chicago', 't salon', 0), (1167, 234, '435 s. la cienega blv.', '143 mercer st. at prince st.', 0), (1168, 234, 'los angeles', 'new york', 0), (1169, 234, '310/246-1501', '212/925-3700', 0.2), (1170, 234, 'american', 'coffee bar', 0.2), (1171, 235, 'arnie morton''s of chicago', 'tapika', 0), (1172, 235, '435 s. la cienega blv.', '950 8th ave. at 56th st.', 0), (1173, 235, 'los angeles', 'new york', 0), (1174, 235, '310/246-1501', '212/ 397-3737', 0), (1175, 235, 'american', 'american', 1), (1176, 236, 'arnie morton''s of chicago', 'terrace', 0), (1177, 236, '435 s. la cienega blv.', '400 w. 119th st. between amsterdam and morningside aves.', 0), (1178, 236, 'los angeles', 'new york', 0), (1179, 236, '310/246-1501', '212/666-9490', 0.2), (1180, 236, 'american', 'continental', 0.1), (1181, 237, 'arnie morton''s of chicago', 'the savannah club', 0), (1182, 237, '435 s. la cienega blv.', '2420 broadway at 89th st.', 0), (1183, 237, 'los angeles', 'new york', 0), (1184, 237, '310/246-1501', '212/496-1066', 0.3), (1185, 237, 'american', 'american', 1), (1186, 238, 'arnie morton''s of chicago', 'triangolo', 0), (1187, 238, '435 s. la cienega blv.', '345 e. 83rd st.', 0), (1188, 238, 'los angeles', 'new york', 0), (1189, 238, '310/246-1501', '212/472-4488', 0.1), (1190, 238, 'american', 'italian', 0.5), (1191, 239, 'arnie morton''s of chicago', 'trois jean', 0), (1192, 239, '435 s. la cienega blv.', '154 e. 79th st. between lexington and 3rd aves.', 0), (1193, 239, 'los angeles', 'new york', 0), (1194, 239, '310/246-1501', '212/988-4858', 0.1), (1195, 239, 'american', 'coffee bar', 0.2), (1196, 240, 'arnie morton''s of chicago', 'turkish kitchen', 0), (1197, 240, '435 s. la cienega blv.', '386 3rd ave. between 27th and 28th sts.', 0), (1198, 240, 'los angeles', 'new york', 0), (1199, 240, '310/246-1501', '212/679-1810', 0.2), (1200, 240, 'american', 'middle eastern', 0), (1201, 241, 'arnie morton''s of chicago', 'veniero''s pasticceria', 0), (1202, 241, '435 s. la cienega blv.', '342 e. 11th st. near 1st ave.', 0), (1203, 241, 'los angeles', 'new york', 0), (1204, 241, '310/246-1501', '212/674-7264', 0.1), (1205, 241, 'american', 'coffee bar', 0.2), (1206, 242, 'arnie morton''s of chicago', 'victor''s cafe', 0), (1207, 242, '435 s. la cienega blv.', '52 236 w. 52nd st.', 0), (1208, 242, 'los angeles', 'new york', 0), (1209, 242, '310/246-1501', '212/586-7714', 0.2), (1210, 242, 'american', 'latin american', 0.4), (1211, 243, 'arnie morton''s of chicago', 'vong', 0), (1212, 243, '435 s. la cienega blv.', '200 e. 54th st.', 0), (1213, 243, 'los angeles', 'new york', 0), (1214, 243, '310/246-1501', '212/486-9592', 0.3), (1215, 243, 'american', 'american', 1), (1216, 244, 'arnie morton''s of chicago', 'west', 0), (1217, 244, '435 s. la cienega blv.', '63rd street steakhouse 44 w. 63rd st.', 0), (1218, 244, 'los angeles', 'new york', 0), (1219, 244, '310/246-1501', '212/246-6363', 0.4), (1220, 244, 'american', 'american', 1), (1221, 245, 'arnie morton''s of chicago', 'zen palate', 0), (1222, 245, '435 s. la cienega blv.', '34 union sq. e at 16th st.', 0), (1223, 245, 'los angeles', 'new york', 0), (1224, 245, '310/246-1501', '212/614-9291', 0.2), (1225, 245, 'american', 'and 212/614-9345 asian', 0), (1226, 246, 'arnie morton''s of chicago', 'abbey', 0), (1227, 246, '435 s. la cienega blv.', '163 ponce de leon ave.', 0), (1228, 246, 'los angeles', 'atlanta', 0.1), (1229, 246, '310/246-1501', '404/876-8532', 0.2), (1230, 246, 'american', 'international', 0.1), (1231, 247, 'arnie morton''s of chicago', 'annie''s thai castle', 0), (1232, 247, '435 s. la cienega blv.', '3195 roswell rd.', 0), (1233, 247, 'los angeles', 'atlanta', 0.1), (1234, 247, '310/246-1501', '404/264-9546', 0.2), (1235, 247, 'american', 'asian', 0.6), (1236, 248, 'arnie morton''s of chicago', 'atlanta fish market', 0), (1237, 248, '435 s. la cienega blv.', '265 pharr rd.', 0), (1238, 248, 'los angeles', 'atlanta', 0.1), (1239, 248, '310/246-1501', '404/262-3165', 0.1), (1240, 248, 'american', 'american', 1), (1241, 249, 'arnie morton''s of chicago', 'bertolini''s', 0), (1242, 249, '435 s. la cienega blv.', '3500 peachtree rd. phipps plaza', 0), (1243, 249, 'los angeles', 'atlanta', 0.1), (1244, 249, '310/246-1501', '404/233-2333', 0.1), (1245, 249, 'american', 'italian', 0.5), (1246, 250, 'arnie morton''s of chicago', 'cafe renaissance', 0), (1247, 250, '435 s. la cienega blv.', '7050 jimmy carter blvd. norcross', 0), (1248, 250, 'los angeles', 'atlanta', 0.1), (1249, 250, '310/246-1501', '770/441--0291', 0.2), (1250, 250, 'american', 'american', 1), (1251, 251, 'arnie morton''s of chicago', 'cassis', 0), (1252, 251, '435 s. la cienega blv.', '3300 peachtree rd. grand hyatt', 0), (1253, 251, 'los angeles', 'atlanta', 0.1), (1254, 251, '310/246-1501', '404/365-8100', 0.1), (1255, 251, 'american', 'mediterranean', 0.1), (1256, 252, 'arnie morton''s of chicago', 'coco loco', 0), (1257, 252, '435 s. la cienega blv.', '40 buckhead crossing mall on the sidney marcus blvd.', 0), (1258, 252, 'los angeles', 'atlanta', 0.1), (1259, 252, '310/246-1501', '404/364-0212', 0), (1260, 252, 'american', 'caribbean', 0.4), (1261, 253, 'arnie morton''s of chicago', 'dante''s down the hatch buckhead', 0), (1262, 253, '435 s. la cienega blv.', '3380 peachtree rd.', 0), (1263, 253, 'los angeles', 'atlanta', 0.1), (1264, 253, '310/246-1501', '404/266-1600', 0.4), (1265, 253, 'american', 'continental', 0.1), (1266, 254, 'arnie morton''s of chicago', 'fat matt''s rib shack', 0), (1267, 254, '435 s. la cienega blv.', '1811 piedmont ave. near cheshire bridge rd.', 0), (1268, 254, 'los angeles', 'atlanta', 0.1), (1269, 254, '310/246-1501', '404/607-1622', 0.1), (1270, 254, 'american', 'barbecue', 0.3), (1271, 255, 'arnie morton''s of chicago', 'holt bros. bar-b-q', 0), (1272, 255, '435 s. la cienega blv.', '6359 jimmy carter blvd. at buford hwy. norcross', 0), (1273, 255, 'los angeles', 'atlanta', 0.1), (1274, 255, '310/246-1501', '770/242-3984', 0.3), (1275, 255, 'american', 'barbecue', 0.3), (1276, 256, 'arnie morton''s of chicago', 'hsu''s gourmet', 0), (1277, 256, '435 s. la cienega blv.', '192 peachtree center ave. at international blvd.', 0), (1278, 256, 'los angeles', 'atlanta', 0.1), (1279, 256, '310/246-1501', '404/659-2788', 0), (1280, 256, 'american', 'asian', 0.6), (1281, 257, 'arnie morton''s of chicago', 'kamogawa', 0), (1282, 257, '435 s. la cienega blv.', '3300 peachtree rd. grand hyatt', 0), (1283, 257, 'los angeles', 'atlanta', 0.1), (1284, 257, '310/246-1501', '404/841-0314', 0.1), (1285, 257, 'american', 'asian', 0.6), (1286, 258, 'arnie morton''s of chicago', 'little szechuan', 0), (1287, 258, '435 s. la cienega blv.', 'c buford hwy. northwoods plaza doraville', 0), (1288, 258, 'los angeles', 'atlanta', 0.1), (1289, 258, '310/246-1501', '770/451-0192', 0.2), (1290, 258, 'american', 'asian', 0.6), (1291, 259, 'arnie morton''s of chicago', 'luna si', 0), (1292, 259, '435 s. la cienega blv.', '1931 peachtree rd.', 0), (1293, 259, 'los angeles', 'atlanta', 0.1), (1294, 259, '310/246-1501', '404/355-5993', 0), (1295, 259, 'american', 'continental', 0.1), (1296, 260, 'arnie morton''s of chicago', 'mckinnon''s louisiane', 0), (1297, 260, '435 s. la cienega blv.', '3209 maple dr.', 0), (1298, 260, 'los angeles', 'atlanta', 0.1), (1299, 260, '310/246-1501', '404/237-1313', 0.2), (1300, 260, 'american', 'southern', 0.3), (1301, 261, 'arnie morton''s of chicago', 'nickiemoto''s: a sushi bar', 0), (1302, 261, '435 s. la cienega blv.', '247 buckhead ave. east village sq.', 0), (1303, 261, 'los angeles', 'atlanta', 0.1), (1304, 261, '310/246-1501', '404/842-0334', 0.1), (1305, 261, 'american', 'fusion', 0.4), (1306, 262, 'arnie morton''s of chicago', 'pleasant peasant', 0), (1307, 262, '435 s. la cienega blv.', '555 peachtree st. at linden ave.', 0), (1308, 262, 'los angeles', 'atlanta', 0.1), (1309, 262, '310/246-1501', '404/874-3223', 0), (1310, 262, 'american', 'american', 1), (1311, 263, 'arnie morton''s of chicago', 'r.j.''s uptown kitchen & wine bar', 0), (1312, 263, '435 s. la cienega blv.', '870 n. highland ave.', 0), (1313, 263, 'los angeles', 'atlanta', 0.1), (1314, 263, '310/246-1501', '404/875-7775', 0), (1315, 263, 'american', 'american', 1), (1316, 264, 'arnie morton''s of chicago', 'sa tsu ki', 0), (1317, 264, '435 s. la cienega blv.', '3043 buford hwy.', 0), (1318, 264, 'los angeles', 'atlanta', 0.1), (1319, 264, '310/246-1501', '404/325-5285', 0), (1320, 264, 'american', 'asian', 0.6), (1321, 265, 'arnie morton''s of chicago', 'south city kitchen', 0), (1322, 265, '435 s. la cienega blv.', '1144 crescent ave.', 0), (1323, 265, 'los angeles', 'atlanta', 0.1), (1324, 265, '310/246-1501', '404/873-7358', 0), (1325, 265, 'american', 'southern', 0.3), (1326, 266, 'arnie morton''s of chicago', 'stringer''s fish camp and oyster bar', 0), (1327, 266, '435 s. la cienega blv.', '3384 shallowford rd. chamblee', 0), (1328, 266, 'los angeles', 'atlanta', 0.1), (1329, 266, '310/246-1501', '770/458-7145', 0.1), (1330, 266, 'american', 'southern', 0.3), (1331, 267, 'arnie morton''s of chicago', 'taste of new orleans', 0), (1332, 267, '435 s. la cienega blv.', '889 w. peachtree st.', 0), (1333, 267, 'los angeles', 'atlanta', 0.1), (1334, 267, '310/246-1501', '404/874-5535', 0.1), (1335, 267, 'american', 'southern', 0.3), (1336, 268, 'arnie morton''s of chicago', 'antonio''s', 0), (1337, 268, '435 s. la cienega blv.', '3700 w. flamingo', 0), (1338, 268, 'los angeles', 'las vegas', 0.4), (1339, 268, '310/246-1501', '702/252-7737', 0.1), (1340, 268, 'american', 'italian', 0.5), (1341, 269, 'arnie morton''s of chicago', 'bamboo garden', 0), (1342, 269, '435 s. la cienega blv.', '4850 flamingo rd.', 0), (1343, 269, 'los angeles', 'las vegas', 0.4), (1344, 269, '310/246-1501', '702/871-3262', 0), (1345, 269, 'american', 'asian', 0.6), (1346, 270, 'arnie morton''s of chicago', 'bertolini''s', 0), (1347, 270, '435 s. la cienega blv.', '3570 las vegas blvd. s', 0), (1348, 270, 'los angeles', 'las vegas', 0.4), (1349, 270, '310/246-1501', '702/735-4663', 0), (1350, 270, 'american', 'italian', 0.5), (1351, 271, 'arnie morton''s of chicago', 'bistro', 0), (1352, 271, '435 s. la cienega blv.', '3400 las vegas blvd. s', 0), (1353, 271, 'los angeles', 'las vegas', 0.4), (1354, 271, '310/246-1501', '702/791-7111', 0.1), (1355, 271, 'american', 'continental', 0.1), (1356, 272, 'arnie morton''s of chicago', 'bugsy''s diner', 0), (1357, 272, '435 s. la cienega blv.', '3555 las vegas blvd. s', 0), (1358, 272, 'los angeles', 'las vegas', 0.4), (1359, 272, '310/246-1501', '702/733-3111', 0.1), (1360, 272, 'american', 'coffee shops/diners', 0), (1361, 273, 'arnie morton''s of chicago', 'cafe roma', 0), (1362, 273, '435 s. la cienega blv.', '3570 las vegas blvd. s', 0), (1363, 273, 'los angeles', 'las vegas', 0.4), (1364, 273, '310/246-1501', '702/731-7547', 0.1), (1365, 273, 'american', 'coffee shops/diners', 0), (1366, 274, 'arnie morton''s of chicago', 'carnival world', 0), (1367, 274, '435 s. la cienega blv.', '3700 w. flamingo rd.', 0), (1368, 274, 'los angeles', 'las vegas', 0.4), (1369, 274, '310/246-1501', '702/252-7777', 0.1), (1370, 274, 'american', 'buffets', 0.2), (1371, 275, 'arnie morton''s of chicago', 'circus circus', 0), (1372, 275, '435 s. la cienega blv.', '2880 las vegas blvd. s', 0), (1373, 275, 'los angeles', 'las vegas', 0.4), (1374, 275, '310/246-1501', '702/734-0410', 0), (1375, 275, 'american', 'buffets', 0.2), (1376, 276, 'arnie morton''s of chicago', 'feast', 0), (1377, 276, '435 s. la cienega blv.', '2411 w. sahara ave.', 0), (1378, 276, 'los angeles', 'las vegas', 0.4), (1379, 276, '310/246-1501', '702/367-2411', 0.1), (1380, 276, 'american', 'buffets', 0.2), (1381, 277, 'arnie morton''s of chicago', 'golden steer', 0), (1382, 277, '435 s. la cienega blv.', '308 w. sahara ave.', 0), (1383, 277, 'los angeles', 'las vegas', 0.4), (1384, 277, '310/246-1501', '702/384-4470', 0), (1385, 277, 'american', 'steak houses', 0), (1386, 278, 'arnie morton''s of chicago', 'mandarin court', 0), (1387, 278, '435 s. la cienega blv.', '1510 e. flamingo rd.', 0), (1388, 278, 'los angeles', 'las vegas', 0.4), (1389, 278, '310/246-1501', '702/737-1234', 0.1), (1390, 278, 'american', 'asian', 0.6), (1391, 279, 'arnie morton''s of chicago', 'mary''s diner', 0), (1392, 279, '435 s. la cienega blv.', '5111 w. boulder hwy.', 0), (1393, 279, 'los angeles', 'las vegas', 0.4), (1394, 279, '310/246-1501', '702/454-8073', 0), (1395, 279, 'american', 'coffee shops/diners', 0), (1396, 280, 'arnie morton''s of chicago', 'pamplemousse', 0), (1397, 280, '435 s. la cienega blv.', '400 e. sahara ave.', 0), (1398, 280, 'los angeles', 'las vegas', 0.4), (1399, 280, '310/246-1501', '702/733-2066', 0), (1400, 280, 'american', 'continental', 0.1), (1401, 281, 'arnie morton''s of chicago', 'the bacchanal', 0), (1402, 281, '435 s. la cienega blv.', '3570 las vegas blvd. s', 0), (1403, 281, 'los angeles', 'las vegas', 0.4), (1404, 281, '310/246-1501', '702/731-7525', 0.1), (1405, 281, 'american', 'only in las vegas', 0), (1406, 282, 'arnie morton''s of chicago', 'viva mercado''s', 0), (1407, 282, '435 s. la cienega blv.', '6182 w. flamingo rd.', 0), (1408, 282, 'los angeles', 'las vegas', 0.4), (1409, 282, '310/246-1501', '702/871-8826', 0), (1410, 282, 'american', 'mexican', 0.8), (1411, 283, 'arnie morton''s of chicago', '2223', 0), (1412, 283, '435 s. la cienega blv.', '2223 market st.', 0), (1413, 283, 'los angeles', 'san francisco', 0), (1414, 283, '310/246-1501', '415/431-0692', 0.1), (1415, 283, 'american', 'american', 1), (1416, 284, 'arnie morton''s of chicago', 'bardelli''s', 0), (1417, 284, '435 s. la cienega blv.', '243 o''farrell st.', 0), (1418, 284, 'los angeles', 'san francisco', 0), (1419, 284, '310/246-1501', '415/982-0243', 0.1), (1420, 284, 'american', 'old san francisco', 0), (1421, 285, 'arnie morton''s of chicago', 'bistro roti', 0), (1422, 285, '435 s. la cienega blv.', '155 steuart st.', 0), (1423, 285, 'los angeles', 'san francisco', 0), (1424, 285, '310/246-1501', '415/495-6500', 0.3), (1425, 285, 'american', 'french', 0.4), (1426, 286, 'arnie morton''s of chicago', 'bizou', 0), (1427, 286, '435 s. la cienega blv.', '598 fourth st.', 0), (1428, 286, 'los angeles', 'san francisco', 0), (1429, 286, '310/246-1501', '415/543-2222', 0.2), (1430, 286, 'american', 'french', 0.4), (1431, 287, 'arnie morton''s of chicago', 'cafe adriano', 0), (1432, 287, '435 s. la cienega blv.', '3347 fillmore st.', 0), (1433, 287, 'los angeles', 'san francisco', 0), (1434, 287, '310/246-1501', '415/474-4180', 0.2), (1435, 287, 'american', 'italian', 0.5), (1436, 288, 'arnie morton''s of chicago', 'california culinary academy', 0), (1437, 288, '435 s. la cienega blv.', '625 polk st.', 0), (1438, 288, 'los angeles', 'san francisco', 0), (1439, 288, '310/246-1501', '415/771-3500', 0.3), (1440, 288, 'american', 'french', 0.4), (1441, 289, 'arnie morton''s of chicago', 'carta', 0), (1442, 289, '435 s. la cienega blv.', '1772 market st.', 0), (1443, 289, 'los angeles', 'san francisco', 0), (1444, 289, '310/246-1501', '415/863-3516', 0.2), (1445, 289, 'american', 'american', 1), (1446, 290, 'arnie morton''s of chicago', 'cypress club', 0), (1447, 290, '435 s. la cienega blv.', '500 jackson st.', 0), (1448, 290, 'los angeles', 'san francisco', 0), (1449, 290, '310/246-1501', '415/296-8555', 0.4), (1450, 290, 'american', 'american', 1), (1451, 291, 'arnie morton''s of chicago', 'faz', 0), (1452, 291, '435 s. la cienega blv.', '161 sutter st.', 0), (1453, 291, 'los angeles', 'san francisco', 0), (1454, 291, '310/246-1501', '415/362-0404', 0.2), (1455, 291, 'american', 'greek and middle eastern', 0), (1456, 292, 'arnie morton''s of chicago', 'garden court', 0), (1457, 292, '435 s. la cienega blv.', 'market and new montgomery sts.', 0), (1458, 292, 'los angeles', 'san francisco', 0), (1459, 292, '310/246-1501', '415/546-5011', 0.5), (1460, 292, 'american', 'old san francisco', 0), (1461, 293, 'arnie morton''s of chicago', 'grand cafe hotel monaco', 0), (1462, 293, '435 s. la cienega blv.', '501 geary st.', 0), (1463, 293, 'los angeles', 'san francisco', 0), (1464, 293, '310/246-1501', '415/292-0101', 0.4), (1465, 293, 'american', 'american', 1), (1466, 294, 'arnie morton''s of chicago', 'harbor village', 0), (1467, 294, '435 s. la cienega blv.', '4 embarcadero center', 0), (1468, 294, 'los angeles', 'san francisco', 0), (1469, 294, '310/246-1501', '415/781-8833', 0.1), (1470, 294, 'american', 'asian', 0.6), (1471, 295, 'arnie morton''s of chicago', 'harry denton''s', 0), (1472, 295, '435 s. la cienega blv.', '161 steuart st.', 0), (1473, 295, 'los angeles', 'san francisco', 0), (1474, 295, '310/246-1501', '415/882-1333', 0.2), (1475, 295, 'american', 'american', 1), (1476, 296, 'arnie morton''s of chicago', 'helmand', 0), (1477, 296, '435 s. la cienega blv.', '430 broadway', 0), (1478, 296, 'los angeles', 'san francisco', 0), (1479, 296, '310/246-1501', '415/362-0641', 0.2), (1480, 296, 'american', 'greek and middle eastern', 0), (1481, 297, 'arnie morton''s of chicago', 'hong kong villa', 0), (1482, 297, '435 s. la cienega blv.', '2332 clement st.', 0), (1483, 297, 'los angeles', 'san francisco', 0), (1484, 297, '310/246-1501', '415/752-8833', 0.1), (1485, 297, 'american', 'asian', 0.6), (1486, 298, 'arnie morton''s of chicago', 'il fornaio levi''s plaza', 0), (1487, 298, '435 s. la cienega blv.', '1265 battery st.', 0), (1488, 298, 'los angeles', 'san francisco', 0), (1489, 298, '310/246-1501', '415/986-0100', 0.3), (1490, 298, 'american', 'italian', 0.5), (1491, 299, 'arnie morton''s of chicago', 'jack''s', 0), (1492, 299, '435 s. la cienega blv.', '615 sacramento st.', 0), (1493, 299, 'los angeles', 'san francisco', 0), (1494, 299, '310/246-1501', '415/986-9854', 0.2), (1495, 299, 'american', 'old san francisco', 0), (1496, 300, 'arnie morton''s of chicago', 'katia''s', 0), (1497, 300, '435 s. la cienega blv.', '600 5th ave.', 0), (1498, 300, 'los angeles', 'san francisco', 0), (1499, 300, '310/246-1501', '415/668-9292', 0.1), (1500, 300, 'american', '', 0.2), (1501, 301, 'arnie morton''s of chicago', 'kyo-ya. sheraton palace hotel', 0), (1502, 301, '435 s. la cienega blv.', '2 new montgomery st. at market st.', 0), (1503, 301, 'los angeles', 'san francisco', 0), (1504, 301, '310/246-1501', '415/546-5000', 0.4), (1505, 301, 'american', 'asian', 0.6), (1506, 302, 'arnie morton''s of chicago', 'le central', 0), (1507, 302, '435 s. la cienega blv.', '453 bush st.', 0), (1508, 302, 'los angeles', 'san francisco', 0), (1509, 302, '310/246-1501', '415/391-2233', 0.1), (1510, 302, 'american', 'french', 0.4), (1511, 303, 'arnie morton''s of chicago', 'macarthur park', 0), (1512, 303, '435 s. la cienega blv.', '607 front st.', 0), (1513, 303, 'los angeles', 'san francisco', 0), (1514, 303, '310/246-1501', '415/398-5700', 0.2), (1515, 303, 'american', 'american', 1), (1516, 304, 'arnie morton''s of chicago', 'maykadeh', 0), (1517, 304, '435 s. la cienega blv.', '470 green st.', 0), (1518, 304, 'los angeles', 'san francisco', 0), (1519, 304, '310/246-1501', '415/362-8286', 0.1), (1520, 304, 'american', 'greek and middle eastern', 0), (1521, 305, 'arnie morton''s of chicago', 'millennium', 0), (1522, 305, '435 s. la cienega blv.', '246 mcallister st.', 0), (1523, 305, 'los angeles', 'san francisco', 0), (1524, 305, '310/246-1501', '415/487-9800', 0.2), (1525, 305, 'american', 'vegetarian', 0.4), (1526, 306, 'arnie morton''s of chicago', 'north india', 0), (1527, 306, '435 s. la cienega blv.', '3131 webster st.', 0), (1528, 306, 'los angeles', 'san francisco', 0), (1529, 306, '310/246-1501', '415/931-1556', 0.3), (1530, 306, 'american', 'asian', 0.6), (1531, 307, 'arnie morton''s of chicago', 'oritalia', 0), (1532, 307, '435 s. la cienega blv.', '1915 fillmore st.', 0), (1533, 307, 'los angeles', 'san francisco', 0), (1534, 307, '310/246-1501', '415/346-1333', 0.4), (1535, 307, 'american', 'italian', 0.5), (1536, 308, 'arnie morton''s of chicago', 'palio d''asti', 0), (1537, 308, '435 s. la cienega blv.', '640 sacramento st.', 0), (1538, 308, 'los angeles', 'san francisco', 0), (1539, 308, '310/246-1501', '415/395-9800', 0.2), (1540, 308, 'american', 'italian', 0.5), (1541, 309, 'arnie morton''s of chicago', 'pastis', 0), (1542, 309, '435 s. la cienega blv.', '1015 battery st.', 0), (1543, 309, 'los angeles', 'san francisco', 0), (1544, 309, '310/246-1501', '415/391-2555', 0.2), (1545, 309, 'american', 'french', 0.4), (1546, 310, 'arnie morton''s of chicago', 'r&g lounge', 0), (1547, 310, '435 s. la cienega blv.', '631 b kearny st.', 0), (1548, 310, 'los angeles', 'san francisco', 0), (1549, 310, '310/246-1501', '415/982-7877', 0.1), (1550, 310, 'american', 'or 415/982-3811 asian', 0), (1551, 311, 'arnie morton''s of chicago', 'rumpus', 0), (1552, 311, '435 s. la cienega blv.', '1 tillman pl.', 0), (1553, 311, 'los angeles', 'san francisco', 0), (1554, 311, '310/246-1501', '415/421-2300', 0.2), (1555, 311, 'american', 'american', 1), (1556, 312, 'arnie morton''s of chicago', 'scala''s bistro', 0), (1557, 312, '435 s. la cienega blv.', '432 powell st.', 0), (1558, 312, 'los angeles', 'san francisco', 0), (1559, 312, '310/246-1501', '415/395-8555', 0.2), (1560, 312, 'american', 'italian', 0.5), (1561, 313, 'arnie morton''s of chicago', 'splendido embarcadero', 0), (1562, 313, '435 s. la cienega blv.', '4', 0), (1563, 313, 'los angeles', 'san francisco', 0), (1564, 313, '310/246-1501', '415/986-3222', 0.2), (1565, 313, 'american', 'mediterranean', 0.1), (1566, 314, 'arnie morton''s of chicago', 'stars cafe', 0), (1567, 314, '435 s. la cienega blv.', '500 van ness ave.', 0), (1568, 314, 'los angeles', 'san francisco', 0), (1569, 314, '310/246-1501', '415/861-4344', 0.1), (1570, 314, 'american', 'american', 1), (1571, 315, 'arnie morton''s of chicago', 'straits cafe', 0), (1572, 315, '435 s. la cienega blv.', '3300 geary blvd.', 0), (1573, 315, 'los angeles', 'san francisco', 0), (1574, 315, '310/246-1501', '415/668-1783', 0.2), (1575, 315, 'american', 'asian', 0.6), (1576, 316, 'arnie morton''s of chicago', 'tadich grill', 0), (1577, 316, '435 s. la cienega blv.', '240 california st.', 0), (1578, 316, 'los angeles', 'san francisco', 0), (1579, 316, '310/246-1501', '415/391-2373', 0.1), (1580, 316, 'american', 'seafood', 0.3), (1581, 317, 'arnie morton''s of chicago', 'thepin', 0), (1582, 317, '435 s. la cienega blv.', '298 gough st.', 0), (1583, 317, 'los angeles', 'san francisco', 0), (1584, 317, '310/246-1501', '415/863-9335', 0.1), (1585, 317, 'american', 'asian', 0.6), (1586, 318, 'arnie morton''s of chicago', 'vertigo', 0), (1587, 318, '435 s. la cienega blv.', '600 montgomery st.', 0), (1588, 318, 'los angeles', 'san francisco', 0), (1589, 318, '310/246-1501', '415/433-7250', 0.2), (1590, 318, 'american', 'mediterranean', 0.1), (1591, 319, 'arnie morton''s of chicago', 'vivande ristorante', 0), (1592, 319, '435 s. la cienega blv.', '670 golden gate ave.', 0), (1593, 319, 'los angeles', 'san francisco', 0), (1594, 319, '310/246-1501', '415/673-9245', 0.1), (1595, 319, 'american', 'italian', 0.5), (1596, 320, 'arnie morton''s of chicago', 'wu kong', 0), (1597, 320, '435 s. la cienega blv.', '101 spear st.', 0), (1598, 320, 'los angeles', 'san francisco', 0), (1599, 320, '310/246-1501', '415/957-9300', 0.2), (1600, 320, 'american', 'asian', 0.6), (1601, 321, 'arnie morton''s of chicago', 'yaya cuisine', 0), (1602, 321, '435 s. la cienega blv.', '1220 9th ave.', 0), (1603, 321, 'los angeles', 'san francisco', 0), (1604, 321, '310/246-1501', '415/566-6966', 0.2), (1605, 321, 'american', 'greek and middle eastern', 0), (1606, 322, 'arnie morton''s of chicago', 'zarzuela', 0), (1607, 322, '435 s. la cienega blv.', '2000 hyde st.', 0), (1608, 322, 'los angeles', 'san francisco', 0), (1609, 322, '310/246-1501', '415/346-0800', 0.4), (1610, 322, 'american', 'mexican/latin american/spanish', 0), (1611, 323, 'arnie morton''s of chicago', 'apple pan the', 0), (1612, 323, '435 s. la cienega blv.', '10801 w. pico blvd.', 0), (1613, 323, 'los angeles', 'west la', 0.1), (1614, 323, '310/246-1501', '310-475-3585', 0.3), (1615, 323, 'american', 'american', 1), (1616, 324, 'arnie morton''s of chicago', 'baja fresh', 0), (1617, 324, '435 s. la cienega blv.', '3345 kimber dr.', 0), (1618, 324, 'los angeles', 'westlake village', 0), (1619, 324, '310/246-1501', '805-498-4049', 0), (1620, 324, 'american', 'mexican', 0.8), (1621, 325, 'arnie morton''s of chicago', 'benita''s frites', 0), (1622, 325, '435 s. la cienega blv.', '1433 third st. promenade', 0), (1623, 325, 'los angeles', 'santa monica', 0), (1624, 325, '310/246-1501', '310-458-2889', 0.2), (1625, 325, 'american', 'fast food', 0.2), (1626, 326, 'arnie morton''s of chicago', 'bistro 45', 0), (1627, 326, '435 s. la cienega blv.', '45 s. mentor ave.', 0), (1628, 326, 'los angeles', 'pasadena', 0.2), (1629, 326, '310/246-1501', '818-795-2478', 0), (1630, 326, 'american', 'californian', 0.3), (1631, 327, 'arnie morton''s of chicago', 'brighton coffee shop', 0), (1632, 327, '435 s. la cienega blv.', '9600 brighton way', 0), (1633, 327, 'los angeles', 'beverly hills', 0), (1634, 327, '310/246-1501', '310-276-7732', 0.4), (1635, 327, 'american', 'coffee shops', 0), (1636, 328, 'arnie morton''s of chicago', 'bruno''s', 0), (1637, 328, '435 s. la cienega blv.', '3838 centinela ave.', 0), (1638, 328, 'los angeles', 'mar vista', 0), (1639, 328, '310/246-1501', '310-397-5703', 0.3), (1640, 328, 'american', 'italian', 0.5), (1641, 329, 'arnie morton''s of chicago', 'cafe blanc', 0), (1642, 329, '435 s. la cienega blv.', '9777 little santa monica blvd.', 0), (1643, 329, 'los angeles', 'beverly hills', 0), (1644, 329, '310/246-1501', '310-888-0108', 0.3), (1645, 329, 'american', 'pacific new wave', 0), (1646, 330, 'arnie morton''s of chicago', 'chez melange', 0), (1647, 330, '435 s. la cienega blv.', '1716 pch', 0), (1648, 330, 'los angeles', 'redondo beach', 0), (1649, 330, '310/246-1501', '310-540-1222', 0.4), (1650, 330, 'american', 'eclectic', 0.3), (1651, 331, 'arnie morton''s of chicago', 'don antonio''s', 0), (1652, 331, '435 s. la cienega blv.', '1136 westwood blvd.', 0), (1653, 331, 'los angeles', 'westwood', 0), (1654, 331, '310/246-1501', '310-209-1422', 0.4), (1655, 331, 'american', 'italian', 0.5), (1656, 332, 'arnie morton''s of chicago', 'falafel king', 0), (1657, 332, '435 s. la cienega blv.', '1059 broxton ave.', 0), (1658, 332, 'los angeles', 'westwood', 0), (1659, 332, '310/246-1501', '310-208-4444', 0.3), (1660, 332, 'american', 'middle eastern', 0), (1661, 333, 'arnie morton''s of chicago', 'gumbo pot the', 0), (1662, 333, '435 s. la cienega blv.', '6333 w. third st.', 0), (1663, 333, 'los angeles', 'la', 0.1), (1664, 333, '310/246-1501', '213-933-0358', 0), (1665, 333, 'american', 'cajun/creole', 0), (1666, 334, 'arnie morton''s of chicago', 'indo cafe', 0), (1667, 334, '435 s. la cienega blv.', '10428 1/2 national blvd.', 0), (1668, 334, 'los angeles', 'la', 0.1), (1669, 334, '310/246-1501', '310-815-1290', 0.3), (1670, 334, 'american', 'indonesian', 0.3), (1671, 335, 'arnie morton''s of chicago', 'jiraffe', 0), (1672, 335, '435 s. la cienega blv.', '502 santa monica blvd', 0), (1673, 335, 'los angeles', 'santa monica', 0), (1674, 335, '310/246-1501', '310-917-6671', 0.3), (1675, 335, 'american', 'californian', 0.3), (1676, 336, 'arnie morton''s of chicago', 'joe''s', 0), (1677, 336, '435 s. la cienega blv.', '1023 abbot kinney blvd.', 0), (1678, 336, 'los angeles', 'venice', 0.1), (1679, 336, '310/246-1501', '310-399-5811', 0.3), (1680, 336, 'american', 'american (new)', 0.4), (1681, 337, 'arnie morton''s of chicago', 'johnnie''s pastrami', 0), (1682, 337, '435 s. la cienega blv.', '4017 s. sepulveda blvd.', 0), (1683, 337, 'los angeles', 'culver city', 0), (1684, 337, '310/246-1501', '310-397-6654', 0.2), (1685, 337, 'american', 'delis', 0.4), (1686, 338, 'arnie morton''s of chicago', 'johnny rockets (la)', 0), (1687, 338, '435 s. la cienega blv.', '7507 melrose ave.', 0), (1688, 338, 'los angeles', 'la', 0.1), (1689, 338, '310/246-1501', '213-651-3361', 0.1), (1690, 338, 'american', 'american', 1), (1691, 339, 'arnie morton''s of chicago', 'kokomo cafe', 0), (1692, 339, '435 s. la cienega blv.', '6333 w. third st.', 0), (1693, 339, 'los angeles', 'la', 0.1), (1694, 339, '310/246-1501', '213-933-0773', 0), (1695, 339, 'american', 'american', 1), (1696, 340, 'arnie morton''s of chicago', 'la cachette', 0), (1697, 340, '435 s. la cienega blv.', '10506 little santa monica blvd.', 0), (1698, 340, 'los angeles', 'century city', 0), (1699, 340, '310/246-1501', '310-470-4992', 0.2), (1700, 340, 'american', 'french (new)', 0), (1701, 341, 'arnie morton''s of chicago', 'la serenata de garibaldi', 0), (1702, 341, '435 s. la cienega blv.', '1842 e. first', 0), (1703, 341, 'los angeles', 'st. boyle hts.', 0), (1704, 341, '310/246-1501', '213-265-2887', 0.1), (1705, 341, 'american', 'mexican/tex-mex', 0), (1706, 342, 'arnie morton''s of chicago', 'local nochol', 0), (1707, 342, '435 s. la cienega blv.', '30869 thousand oaks blvd.', 0), (1708, 342, 'los angeles', 'westlake village', 0), (1709, 342, '310/246-1501', '818-706-7706', 0.2), (1710, 342, 'american', 'health food', 0), (1711, 343, 'arnie morton''s of chicago', 'mani''s bakery & espresso bar', 0), (1712, 343, '435 s. la cienega blv.', '519 s. fairfax ave.', 0), (1713, 343, 'los angeles', 'la', 0.1), (1714, 343, '310/246-1501', '213-938-8800', 0.1), (1715, 343, 'american', 'desserts', 0.2), (1716, 344, 'arnie morton''s of chicago', 'maxwell''s cafe', 0), (1717, 344, '435 s. la cienega blv.', '13329 washington blvd.', 0), (1718, 344, 'los angeles', 'marina del rey', 0), (1719, 344, '310/246-1501', '310-306-7829', 0.3), (1720, 344, 'american', 'american', 1), (1721, 345, 'arnie morton''s of chicago', 'mishima', 0), (1722, 345, '435 s. la cienega blv.', '8474 w. third st.', 0), (1723, 345, 'los angeles', 'la', 0.1), (1724, 345, '310/246-1501', '213-782-0181', 0.1), (1725, 345, 'american', 'noodle shops', 0), (1726, 346, 'arnie morton''s of chicago', 'mulberry st.', 0), (1727, 346, '435 s. la cienega blv.', '17040 ventura blvd.', 0), (1728, 346, 'los angeles', 'encino', 0), (1729, 346, '310/246-1501', '818-906-8881', 0.2), (1730, 346, 'american', 'pizza', 0.3), (1731, 347, 'arnie morton''s of chicago', 'ocean star', 0), (1732, 347, '435 s. la cienega blv.', '145 n. atlantic blvd.', 0), (1733, 347, 'los angeles', 'monterey park', 0), (1734, 347, '310/246-1501', '818-308-2128', 0), (1735, 347, 'american', 'seafood', 0.3), (1736, 348, 'arnie morton''s of chicago', 'parkway grill', 0), (1737, 348, '435 s. la cienega blv.', '510 s. arroyo pkwy.', 0), (1738, 348, 'los angeles', 'pasadena', 0.2), (1739, 348, '310/246-1501', '818-795-1001', 0.3), (1740, 348, 'american', 'californian', 0.3), (1741, 349, 'arnie morton''s of chicago', 'pink''s famous chili dogs', 0), (1742, 349, '435 s. la cienega blv.', '709 n. la brea ave.', 0), (1743, 349, 'los angeles', 'la', 0.1), (1744, 349, '310/246-1501', '213-931-4223', 0), (1745, 349, 'american', 'hot dogs', 0.2), (1746, 350, 'arnie morton''s of chicago', 'r-23', 0), (1747, 350, '435 s. la cienega blv.', '923 e. third st.', 0), (1748, 350, 'los angeles', 'los angeles', 1), (1749, 350, '310/246-1501', '213-687-7178', 0), (1750, 350, 'american', 'japanese', 0.2), (1751, 351, 'arnie morton''s of chicago', 'rubin''s red hots', 0), (1752, 351, '435 s. la cienega blv.', '15322 ventura blvd.', 0), (1753, 351, 'los angeles', 'encino', 0), (1754, 351, '310/246-1501', '818-905-6515', 0.1), (1755, 351, 'american', 'hot dogs', 0.2), (1756, 352, 'arnie morton''s of chicago', 'russell''s burgers', 0), (1757, 352, '435 s. la cienega blv.', '1198 pch', 0), (1758, 352, 'los angeles', 'seal beach', 0.1), (1759, 352, '310/246-1501', '310-596-9556', 0.4), (1760, 352, 'american', 'hamburgers', 0.3), (1761, 353, 'arnie morton''s of chicago', 'shiro', 0), (1762, 353, '435 s. la cienega blv.', '1505 mission st. s.', 0), (1763, 353, 'los angeles', 'pasadena', 0.2), (1764, 353, '310/246-1501', '818-799-4774', 0), (1765, 353, 'american', 'pacific new wave', 0), (1766, 354, 'arnie morton''s of chicago', 'sweet lady jane', 0), (1767, 354, '435 s. la cienega blv.', '8360 melrose ave.', 0), (1768, 354, 'los angeles', 'la', 0.1), (1769, 354, '310/246-1501', '213-653-7145', 0), (1770, 354, 'american', 'desserts', 0.2), (1771, 355, 'arnie morton''s of chicago', 'tommy''s', 0), (1772, 355, '435 s. la cienega blv.', '2575 beverly blvd.', 0), (1773, 355, 'los angeles', 'la', 0.1), (1774, 355, '310/246-1501', '213-389-9060', 0), (1775, 355, 'american', 'hamburgers', 0.3), (1776, 356, 'arnie morton''s of chicago', 'water grill', 0), (1777, 356, '435 s. la cienega blv.', '544 s. grand ave.', 0), (1778, 356, 'los angeles', 'los angeles', 1), (1779, 356, '310/246-1501', '213-891-0900', 0.1), (1780, 356, 'american', 'seafood', 0.3), (1781, 357, 'arnie morton''s of chicago', 'afghan kebab house', 0), (1782, 357, '435 s. la cienega blv.', '764 ninth ave.', 0), (1783, 357, 'los angeles', 'new york city', 0), (1784, 357, '310/246-1501', '212-307-1612', 0.1), (1785, 357, 'american', 'afghan', 0.5), (1786, 358, 'arnie morton''s of chicago', 'benny''s burritos', 0), (1787, 358, '435 s. la cienega blv.', '93 ave. a', 0), (1788, 358, 'los angeles', 'new york city', 0), (1789, 358, '310/246-1501', '212-254-2054', 0.1), (1790, 358, 'american', 'mexican', 0.8), (1791, 359, 'arnie morton''s of chicago', 'corner bistro', 0), (1792, 359, '435 s. la cienega blv.', '331 w. fourth st.', 0), (1793, 359, 'los angeles', 'new york city', 0), (1794, 359, '310/246-1501', '212-242-9502', 0.4), (1795, 359, 'american', 'hamburgers', 0.3), (1796, 360, 'arnie morton''s of chicago', 'cucina di pesce', 0), (1797, 360, '435 s. la cienega blv.', '87 e. fourth st.', 0), (1798, 360, 'los angeles', 'new york city', 0), (1799, 360, '310/246-1501', '212-260-6800', 0.2), (1800, 360, 'american', 'seafood', 0.3), (1801, 361, 'arnie morton''s of chicago', 'ej''s luncheonette', 0), (1802, 361, '435 s. la cienega blv.', '432 sixth ave.', 0), (1803, 361, 'los angeles', 'new york city', 0), (1804, 361, '310/246-1501', '212-473-5555', 0.1), (1805, 361, 'american', 'diners', 0.3), (1806, 362, 'arnie morton''s of chicago', 'elias corner', 0), (1807, 362, '435 s. la cienega blv.', '24-02 31st st.', 0), (1808, 362, 'los angeles', 'queens', 0.1), (1809, 362, '310/246-1501', '718-932-1510', 0.2), (1810, 362, 'american', 'greek', 0.3), (1811, 363, 'arnie morton''s of chicago', 'gray''s papaya', 0), (1812, 363, '435 s. la cienega blv.', '2090 broadway', 0), (1813, 363, 'los angeles', 'new york city', 0), (1814, 363, '310/246-1501', '212-799-0243', 0), (1815, 363, 'american', 'hot dogs', 0.2), (1816, 364, 'arnie morton''s of chicago', 'jackson diner', 0), (1817, 364, '435 s. la cienega blv.', '37-03 74th st.', 0), (1818, 364, 'los angeles', 'queens', 0.1), (1819, 364, '310/246-1501', '718-672-1232', 0.1), (1820, 364, 'american', 'indian', 0.5), (1821, 365, 'arnie morton''s of chicago', 'john''s pizzeria', 0), (1822, 365, '435 s. la cienega blv.', '48 w. 65th st.', 0), (1823, 365, 'los angeles', 'new york city', 0), (1824, 365, '310/246-1501', '212-721-7001', 0.2), (1825, 365, 'american', 'pizza', 0.3), (1826, 366, 'arnie morton''s of chicago', 'kiev', 0), (1827, 366, '435 s. la cienega blv.', '117 second ave.', 0), (1828, 366, 'los angeles', 'new york city', 0), (1829, 366, '310/246-1501', '212-674-4040', 0), (1830, 366, 'american', 'ukrainian', 0.4), (1831, 367, 'arnie morton''s of chicago', 'la caridad', 0), (1832, 367, '435 s. la cienega blv.', '2199 broadway', 0), (1833, 367, 'los angeles', 'new york city', 0), (1834, 367, '310/246-1501', '212-874-2780', 0), (1835, 367, 'american', 'cuban', 0.4), (1836, 368, 'arnie morton''s of chicago', 'lemongrass grill', 0), (1837, 368, '435 s. la cienega blv.', '61a seventh ave.', 0), (1838, 368, 'los angeles', 'brooklyn', 0), (1839, 368, '310/246-1501', '718-399-7100', 0.1), (1840, 368, 'american', 'thai', 0.3), (1841, 369, 'arnie morton''s of chicago', 'marnie''s noodle shop', 0), (1842, 369, '435 s. la cienega blv.', '466 hudson st.', 0), (1843, 369, 'los angeles', 'new york city', 0), (1844, 369, '310/246-1501', '212-741-3214', 0.1), (1845, 369, 'american', 'asian', 0.6), (1846, 370, 'arnie morton''s of chicago', 'mitali east-west', 0), (1847, 370, '435 s. la cienega blv.', '296 bleecker st.', 0), (1848, 370, 'los angeles', 'new york city', 0), (1849, 370, '310/246-1501', '212-989-1367', 0.1), (1850, 370, 'american', 'indian', 0.5), (1851, 371, 'arnie morton''s of chicago', 'moustache', 0), (1852, 371, '435 s. la cienega blv.', '405 atlantic ave.', 0), (1853, 371, 'los angeles', 'brooklyn', 0), (1854, 371, '310/246-1501', '718-852-5555', 0.1), (1855, 371, 'american', 'middle eastern', 0), (1856, 372, 'arnie morton''s of chicago', 'one if by land tibs', 0), (1857, 372, '435 s. la cienega blv.', '17 barrow st.', 0), (1858, 372, 'los angeles', 'new york city', 0), (1859, 372, '310/246-1501', '212-228-0822', 0.1), (1860, 372, 'american', 'continental', 0.1), (1861, 373, 'arnie morton''s of chicago', 'palm', 0), (1862, 373, '435 s. la cienega blv.', '837 second ave.', 0), (1863, 373, 'los angeles', 'new york city', 0), (1864, 373, '310/246-1501', '212-687-2953', 0), (1865, 373, 'american', 'steakhouses', 0), (1866, 374, 'arnie morton''s of chicago', 'patsy''s pizza', 0), (1867, 374, '435 s. la cienega blv.', '19 old fulton st.', 0), (1868, 374, 'los angeles', 'brooklyn', 0), (1869, 374, '310/246-1501', '718-858-4300', 0.1), (1870, 374, 'american', 'pizza', 0.3), (1871, 375, 'arnie morton''s of chicago', 'rose of india', 0), (1872, 375, '435 s. la cienega blv.', '308 e. sixth st.', 0), (1873, 375, 'los angeles', 'new york city', 0), (1874, 375, '310/246-1501', '212-533-5011', 0.2), (1875, 375, 'american', 'indian', 0.5), (1876, 376, 'arnie morton''s of chicago', 'sarabeth''s', 0), (1877, 376, '435 s. la cienega blv.', '1295 madison ave.', 0), (1878, 376, 'los angeles', 'new york city', 0), (1879, 376, '310/246-1501', '212-410-7335', 0), (1880, 376, 'american', 'american', 1), (1881, 377, 'arnie morton''s of chicago', 'stick to your ribs', 0), (1882, 377, '435 s. la cienega blv.', '5-16 51st ave.', 0), (1883, 377, 'los angeles', 'queens', 0.1), (1884, 377, '310/246-1501', '718-937-3030', 0), (1885, 377, 'american', 'bbq', 0.2), (1886, 378, 'arnie morton''s of chicago', 'sylvia''s', 0), (1887, 378, '435 s. la cienega blv.', '328 lenox ave.', 0), (1888, 378, 'los angeles', 'new york city', 0), (1889, 378, '310/246-1501', '212-996-0660', 0.1), (1890, 378, 'american', 'southern/soul', 0), (1891, 379, 'arnie morton''s of chicago', 'szechuan kitchen', 0), (1892, 379, '435 s. la cienega blv.', '1460 first ave.', 0), (1893, 379, 'los angeles', 'new york city', 0), (1894, 379, '310/246-1501', '212-249-4615', 0.2), (1895, 379, 'american', 'chinese', 0.2), (1896, 380, 'arnie morton''s of chicago', 'thai house cafe', 0), (1897, 380, '435 s. la cienega blv.', '151 hudson st.', 0), (1898, 380, 'los angeles', 'new york city', 0), (1899, 380, '310/246-1501', '212-334-1085', 0.1), (1900, 380, 'american', 'thai', 0.3), (1901, 381, 'arnie morton''s of chicago', 'veselka', 0), (1902, 381, '435 s. la cienega blv.', '144 second ave.', 0), (1903, 381, 'los angeles', 'new york city', 0), (1904, 381, '310/246-1501', '212-228-9682', 0.1), (1905, 381, 'american', 'ukrainian', 0.4), (1906, 382, 'arnie morton''s of chicago', 'windows on the world', 0), (1907, 382, '435 s. la cienega blv.', '107th fl.', 0), (1908, 382, 'los angeles', 'new york city', 0), (1909, 382, '310/246-1501', '212-524-7000', 0.2), (1910, 382, 'american', 'eclectic', 0.3), (1911, 383, 'arnie morton''s of chicago', 'yama', 0), (1912, 383, '435 s. la cienega blv.', '122 e. 17th st.', 0), (1913, 383, 'los angeles', 'new york city', 0), (1914, 383, '310/246-1501', '212-475-0969', 0), (1915, 383, 'american', 'japanese', 0.2), (1916, 384, 'arnie morton''s of chicago', 'andre''s french restaurant', 0), (1917, 384, '435 s. la cienega blv.', '401 s. 6th st.', 0), (1918, 384, 'los angeles', 'las vegas', 0.4), (1919, 384, '310/246-1501', '702-385-5016', 0.1), (1920, 384, 'american', 'french (classic)', 0), (1921, 385, 'arnie morton''s of chicago', 'buzio''s in the rio', 0), (1922, 385, '435 s. la cienega blv.', '3700 w. flamingo rd.', 0), (1923, 385, 'los angeles', 'las vegas', 0.4), (1924, 385, '310/246-1501', '702-252-7697', 0), (1925, 385, 'american', 'seafood', 0.3), (1926, 386, 'arnie morton''s of chicago', 'fiore rotisserie & grille', 0), (1927, 386, '435 s. la cienega blv.', '3700 w. flamingo rd.', 0), (1928, 386, 'los angeles', 'las vegas', 0.4), (1929, 386, '310/246-1501', '702-252-7702', 0.1), (1930, 386, 'american', 'italian', 0.5), (1931, 387, 'arnie morton''s of chicago', 'madame ching''s', 0), (1932, 387, '435 s. la cienega blv.', '3300 las vegas blvd. s.', 0), (1933, 387, 'los angeles', 'las vegas', 0.4), (1934, 387, '310/246-1501', '702-894-7111', 0), (1935, 387, 'american', 'asian', 0.6), (1936, 388, 'arnie morton''s of chicago', 'michael''s (las vegas)', 0), (1937, 388, '435 s. la cienega blv.', '3595 las vegas blvd. s.', 0), (1938, 388, 'los angeles', 'las vegas', 0.4), (1939, 388, '310/246-1501', '702-737-7111', 0), (1940, 388, 'american', 'continental', 0.1), (1941, 389, 'arnie morton''s of chicago', 'moongate', 0), (1942, 389, '435 s. la cienega blv.', '3400 las vegas blvd. s.', 0), (1943, 389, 'los angeles', 'las vegas', 0.4), (1944, 389, '310/246-1501', '702-791-7352', 0), (1945, 389, 'american', 'chinese', 0.2), (1946, 390, 'arnie morton''s of chicago', 'nicky blair''s', 0), (1947, 390, '435 s. la cienega blv.', '3925 paradise rd.', 0), (1948, 390, 'los angeles', 'las vegas', 0.4), (1949, 390, '310/246-1501', '702-792-9900', 0), (1950, 390, 'american', 'italian', 0.5), (1951, 391, 'arnie morton''s of chicago', 'spago (las vegas)', 0), (1952, 391, '435 s. la cienega blv.', '3500 las vegas blvd. s.', 0), (1953, 391, 'los angeles', 'las vegas', 0.4), (1954, 391, '310/246-1501', '702-369-6300', 0.1), (1955, 391, 'american', 'californian', 0.3), (1956, 392, 'arnie morton''s of chicago', 'stefano''s', 0), (1957, 392, '435 s. la cienega blv.', '129 fremont st.', 0), (1958, 392, 'los angeles', 'las vegas', 0.4), (1959, 392, '310/246-1501', '702-385-7111', 0), (1960, 392, 'american', 'italian', 0.5), (1961, 393, 'arnie morton''s of chicago', 'tre visi', 0), (1962, 393, '435 s. la cienega blv.', '3799 las vegas blvd. s.', 0), (1963, 393, 'los angeles', 'las vegas', 0.4), (1964, 393, '310/246-1501', '702-891-7331', 0), (1965, 393, 'american', 'italian', 0.5), (1966, 394, 'arnie morton''s of chicago', 'alon''s at the terrace', 0), (1967, 394, '435 s. la cienega blv.', '659 peachtree st.', 0), (1968, 394, 'los angeles', 'atlanta', 0.1), (1969, 394, '310/246-1501', '404-724-0444', 0); INSERT INTO `attribut` (`id`, `PairId`, `Attr1`, `Attr2`, `Val`) VALUES (1970, 394, 'american', 'sandwiches', 0.3), (1971, 395, 'arnie morton''s of chicago', 'barbecue kitchen', 0), (1972, 395, '435 s. la cienega blv.', '1437 virginia ave.', 0), (1973, 395, 'los angeles', 'atlanta', 0.1), (1974, 395, '310/246-1501', '404-766-9906', 0.1), (1975, 395, 'american', 'bbq', 0.2), (1976, 396, 'arnie morton''s of chicago', 'bobby & june''s kountry kitchen', 0), (1977, 396, '435 s. la cienega blv.', '375 14th st.', 0), (1978, 396, 'los angeles', 'atlanta', 0.1), (1979, 396, '310/246-1501', '404-876-3872', 0), (1980, 396, 'american', 'southern/soul', 0), (1981, 397, 'arnie morton''s of chicago', 'brookhaven cafe', 0), (1982, 397, '435 s. la cienega blv.', '4274 peachtree rd.', 0), (1983, 397, 'los angeles', 'atlanta', 0.1), (1984, 397, '310/246-1501', '404-231-5907', 0.1), (1985, 397, 'american', 'vegetarian', 0.4), (1986, 398, 'arnie morton''s of chicago', 'canoe', 0), (1987, 398, '435 s. la cienega blv.', '4199 paces ferry rd.', 0), (1988, 398, 'los angeles', 'atlanta', 0.1), (1989, 398, '310/246-1501', '770-432-2663', 0), (1990, 398, 'american', 'american (new)', 0.4), (1991, 399, 'arnie morton''s of chicago', 'carey''s corner', 0), (1992, 399, '435 s. la cienega blv.', '1215 powers ferry rd.', 0), (1993, 399, 'los angeles', 'marietta', 0.1), (1994, 399, '310/246-1501', '770-933-0909', 0.1), (1995, 399, 'american', 'hamburgers', 0.3), (1996, 400, 'arnie morton''s of chicago', 'chopstix', 0), (1997, 400, '435 s. la cienega blv.', '4279 roswell rd.', 0), (1998, 400, 'los angeles', 'atlanta', 0.1), (1999, 400, '310/246-1501', '404-255-4868', 0), (2000, 400, 'american', 'chinese', 0.2), (2001, 401, 'arnie morton''s of chicago', 'eats', 0), (2002, 401, '435 s. la cienega blv.', '600 ponce de leon ave.', 0), (2003, 401, 'los angeles', 'atlanta', 0.1), (2004, 401, '310/246-1501', '404-888-9149', 0), (2005, 401, 'american', 'italian', 0.5), (2006, 402, 'arnie morton''s of chicago', 'frijoleros', 0), (2007, 402, '435 s. la cienega blv.', '1031 peachtree st. ne', 0), (2008, 402, 'los angeles', 'atlanta', 0.1), (2009, 402, '310/246-1501', '404-892-8226', 0), (2010, 402, 'american', 'tex-mex', 0.3), (2011, 403, 'arnie morton''s of chicago', 'harold''s barbecue', 0), (2012, 403, '435 s. la cienega blv.', '171 mcdonough blvd.', 0), (2013, 403, 'los angeles', 'atlanta', 0.1), (2014, 403, '310/246-1501', '404-627-9268', 0), (2015, 403, 'american', 'bbq', 0.2), (2016, 404, 'arnie morton''s of chicago', 'house of chan', 0), (2017, 404, '435 s. la cienega blv.', '2469 cobb pkwy.', 0), (2018, 404, 'los angeles', 'smyrna', 0), (2019, 404, '310/246-1501', '770-955-9444', 0), (2020, 404, 'american', 'chinese', 0.2), (2021, 405, 'arnie morton''s of chicago', 'java jive', 0), (2022, 405, '435 s. la cienega blv.', '790 ponce de leon ave.', 0), (2023, 405, 'los angeles', 'atlanta', 0.1), (2024, 405, '310/246-1501', '404-876-6161', 0.1), (2025, 405, 'american', 'coffee shops', 0), (2026, 406, 'arnie morton''s of chicago', 'kalo''s coffee house', 0), (2027, 406, '435 s. la cienega blv.', '1248 clairmont rd.', 0), (2028, 406, 'los angeles', 'decatur', 0), (2029, 406, '310/246-1501', '404-325-3733', 0), (2030, 406, 'american', 'coffeehouses', 0), (2031, 407, 'arnie morton''s of chicago', 'lettuce souprise you (at)', 0), (2032, 407, '435 s. la cienega blv.', '3525 mall blvd.', 0), (2033, 407, 'los angeles', 'duluth', 0), (2034, 407, '310/246-1501', '770-418-9969', 0), (2035, 407, 'american', 'cafeterias', 0.4), (2036, 408, 'arnie morton''s of chicago', 'morton''s of chicago (atlanta)', 0), (2037, 408, '435 s. la cienega blv.', '303 peachtree st. ne', 0), (2038, 408, 'los angeles', 'atlanta', 0.1), (2039, 408, '310/246-1501', '404-577-4366', 0), (2040, 408, 'american', 'steakhouses', 0), (2041, 409, 'arnie morton''s of chicago', 'nava', 0), (2042, 409, '435 s. la cienega blv.', '3060 peachtree rd.', 0), (2043, 409, 'los angeles', 'atlanta', 0.1), (2044, 409, '310/246-1501', '404-240-1984', 0.2), (2045, 409, 'american', 'southwestern', 0), (2046, 410, 'arnie morton''s of chicago', 'original pancake house (at)', 0), (2047, 410, '435 s. la cienega blv.', '4330 peachtree rd.', 0), (2048, 410, 'los angeles', 'atlanta', 0.1), (2049, 410, '310/246-1501', '404-237-4116', 0), (2050, 410, 'american', 'american', 1), (2051, 411, 'arnie morton''s of chicago', 'rainbow restaurant', 0), (2052, 411, '435 s. la cienega blv.', '2118 n. decatur rd.', 0), (2053, 411, 'los angeles', 'decatur', 0), (2054, 411, '310/246-1501', '404-633-3538', 0), (2055, 411, 'american', 'vegetarian', 0.4), (2056, 412, 'arnie morton''s of chicago', 'riviera', 0), (2057, 412, '435 s. la cienega blv.', '519 e. paces ferry rd.', 0), (2058, 412, 'los angeles', 'atlanta', 0.1), (2059, 412, '310/246-1501', '404-262-7112', 0), (2060, 412, 'american', 'mediterranean', 0.1), (2061, 413, 'arnie morton''s of chicago', 'soto', 0), (2062, 413, '435 s. la cienega blv.', '3330 piedmont rd.', 0), (2063, 413, 'los angeles', 'atlanta', 0.1), (2064, 413, '310/246-1501', '404-233-2005', 0.1), (2065, 413, 'american', 'japanese', 0.2), (2066, 414, 'arnie morton''s of chicago', 'tortillas', 0), (2067, 414, '435 s. la cienega blv.', '774 ponce de leon ave. ne', 0), (2068, 414, 'los angeles', 'atlanta', 0.1), (2069, 414, '310/246-1501', '404-892-0193', 0), (2070, 414, 'american', 'tex-mex', 0.3), (2071, 415, 'arnie morton''s of chicago', 'veggieland', 0), (2072, 415, '435 s. la cienega blv.', '220 sandy springs circle', 0), (2073, 415, 'los angeles', 'atlanta', 0.1), (2074, 415, '310/246-1501', '404-231-3111', 0.1), (2075, 415, 'american', 'vegetarian', 0.4), (2076, 416, 'arnie morton''s of chicago', 'zab-e-lee', 0), (2077, 416, '435 s. la cienega blv.', '4837 old national hwy.', 0), (2078, 416, 'los angeles', 'college park', 0), (2079, 416, '310/246-1501', '404-768-2705', 0.1), (2080, 416, 'american', 'thai', 0.3), (2081, 417, 'arnie morton''s of chicago', 'cafe flore', 0), (2082, 417, '435 s. la cienega blv.', '2298 market st.', 0), (2083, 417, 'los angeles', 'san francisco', 0), (2084, 417, '310/246-1501', '415-621-8579', 0.1), (2085, 417, 'american', 'californian', 0.3), (2086, 418, 'arnie morton''s of chicago', 'campo santo', 0), (2087, 418, '435 s. la cienega blv.', '240 columbus ave.', 0), (2088, 418, 'los angeles', 'san francisco', 0), (2089, 418, '310/246-1501', '415-433-9623', 0), (2090, 418, 'american', 'mexican', 0.8), (2091, 419, 'arnie morton''s of chicago', 'doidge''s', 0), (2092, 419, '435 s. la cienega blv.', '2217 union st.', 0), (2093, 419, 'los angeles', 'san francisco', 0), (2094, 419, '310/246-1501', '415-921-2149', 0), (2095, 419, 'american', 'american', 1), (2096, 420, 'arnie morton''s of chicago', 'dusit thai', 0), (2097, 420, '435 s. la cienega blv.', '3221 mission st.', 0), (2098, 420, 'los angeles', 'san francisco', 0), (2099, 420, '310/246-1501', '415-826-4639', 0.1), (2100, 420, 'american', 'thai', 0.3), (2101, 421, 'arnie morton''s of chicago', 'emerald garden restaurant', 0), (2102, 421, '435 s. la cienega blv.', '1550 california st.', 0), (2103, 421, 'los angeles', 'san francisco', 0), (2104, 421, '310/246-1501', '415-673-1155', 0.1), (2105, 421, 'american', 'vietnamese', 0.1), (2106, 422, 'arnie morton''s of chicago', 'hamburger mary''s', 0), (2107, 422, '435 s. la cienega blv.', '1582 folsom st.', 0), (2108, 422, 'los angeles', 'san francisco', 0), (2109, 422, '310/246-1501', '415-626-1985', 0.2), (2110, 422, 'american', 'hamburgers', 0.3), (2111, 423, 'arnie morton''s of chicago', 'la cumbre', 0), (2112, 423, '435 s. la cienega blv.', '515 valencia st.', 0), (2113, 423, 'los angeles', 'san francisco', 0), (2114, 423, '310/246-1501', '415-863-8205', 0.1), (2115, 423, 'american', 'mexican', 0.8), (2116, 424, 'arnie morton''s of chicago', 'la taqueria', 0), (2117, 424, '435 s. la cienega blv.', '2889 mission st.', 0), (2118, 424, 'los angeles', 'san francisco', 0), (2119, 424, '310/246-1501', '415-285-7117', 0.1), (2120, 424, 'american', 'mexican', 0.8), (2121, 425, 'arnie morton''s of chicago', 'marnee thai', 0), (2122, 425, '435 s. la cienega blv.', '2225 irving st.', 0), (2123, 425, 'los angeles', 'san francisco', 0), (2124, 425, '310/246-1501', '415-665-9500', 0.2), (2125, 425, 'american', 'thai', 0.3), (2126, 426, 'arnie morton''s of chicago', 'mo''s burgers', 0), (2127, 426, '435 s. la cienega blv.', '1322 grant st.', 0), (2128, 426, 'los angeles', 'san francisco', 0), (2129, 426, '310/246-1501', '415-788-3779', 0), (2130, 426, 'american', 'hamburgers', 0.3), (2131, 427, 'arnie morton''s of chicago', 'roosevelt tamale parlor', 0), (2132, 427, '435 s. la cienega blv.', '2817 24th st.', 0), (2133, 427, 'los angeles', 'san francisco', 0), (2134, 427, '310/246-1501', '415-550-9213', 0), (2135, 427, 'american', 'mexican', 0.8), (2136, 428, 'arnie morton''s of chicago', 'san francisco bbq', 0), (2137, 428, '435 s. la cienega blv.', '1328 18th st.', 0), (2138, 428, 'los angeles', 'san francisco', 0), (2139, 428, '310/246-1501', '415-431-8956', 0), (2140, 428, 'american', 'thai', 0.3), (2141, 429, 'arnie morton''s of chicago', 'swan oyster depot', 0), (2142, 429, '435 s. la cienega blv.', '1517 polk st.', 0), (2143, 429, 'los angeles', 'san francisco', 0), (2144, 429, '310/246-1501', '415-673-1101', 0.3), (2145, 429, 'american', 'seafood', 0.3), (2146, 430, 'arnie morton''s of chicago', 'ti couz', 0), (2147, 430, '435 s. la cienega blv.', '3108 16th st.', 0), (2148, 430, 'los angeles', 'san francisco', 0), (2149, 430, '310/246-1501', '415-252-7373', 0.1), (2150, 430, 'american', 'french', 0.4), (2151, 431, 'arnie morton''s of chicago', 'tu lan', 0), (2152, 431, '435 s. la cienega blv.', '8 sixth st.', 0), (2153, 431, 'los angeles', 'san francisco', 0), (2154, 431, '310/246-1501', '415-626-0927', 0.1), (2155, 431, 'american', 'vietnamese', 0.1), (2156, 432, 'arnie morton''s of chicago', 'wa-ha-ka oaxaca mexican grill', 0), (2157, 432, '435 s. la cienega blv.', '2141 polk st.', 0), (2158, 432, 'los angeles', 'san francisco', 0), (2159, 432, '310/246-1501', '415-775-1055', 0.1), (2160, 432, 'american', 'mexican', 0.8); -- -------------------------------------------------------- -- -- Structure de la table `pair` -- DROP TABLE IF EXISTS `pair`; CREATE TABLE IF NOT EXISTS `pair` ( `Id` int(11) NOT NULL AUTO_INCREMENT, `Entry1` varchar(200) NOT NULL, `Entry2` varchar(200) NOT NULL, PRIMARY KEY (`Id`) ) ENGINE=MyISAM AUTO_INCREMENT=433 DEFAULT CHARSET=latin1; -- -- Contenu de la table `pair` -- INSERT INTO `pair` (`Id`, `Entry1`, `Entry2`) VALUES (1, ' arnie morton''s of chicago, "435 s. la cienega blv.", "los angeles", "310/246-1501", "american", ''0''', 'arnie morton''s of chicago, "435 s. la cienega blvd.", "los angeles", "310-246-1501", "steakhouses", ''0'''), (2, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'art''s deli, "12224 ventura blvd.", "studio city", "818-762-1221", "delis", ''1'''), (3, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'bel-air hotel, "701 stone canyon rd.", "bel air", "310-472-1211", "californian", ''2'''), (4, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'cafe bizou, "14016 ventura blvd.", "sherman oaks", "818-788-3536", "french bistro", ''3'''), (5, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'campanile, "624 s. la brea ave.", "los angeles", "213-938-1447", "californian", ''4'''), (6, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'chinois on main, "2709 main st.", "santa monica", "310-392-9025", "pacific new wave", ''5'''), (7, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'citrus, "6703 melrose ave.", "los angeles", "213-857-0034", "californian", ''6'''), (8, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'fenix at the argyle, "8358 sunset blvd.", "w. hollywood", "213-848-6677", "french (new)", ''7'''), (9, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'granita, "23725 w. malibu rd.", "malibu", "310-456-0488", "californian", ''8'''), (10, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'grill the, "9560 dayton way", "beverly hills", "310-276-0615", "american (traditional)", ''9'''), (11, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'katsu, "1972 hillhurst ave.", "los feliz", "213-665-1891", "japanese", ''10'''), (12, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'l''orangerie, "903 n. la cienega blvd.", "w. hollywood", "310-652-9770", "french (classic)", ''11'''), (13, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'le chardonnay (los angeles), "8284 melrose ave.", "los angeles", "213-655-8880", "french bistro", ''12'''), (14, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'locanda veneta, "8638 w. third st.", "los angeles", "310-274-1893", "italian", ''13'''), (15, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'matsuhisa, "129 n. la cienega blvd.", "beverly hills", "310-659-9639", "seafood", ''14'''), (16, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'palm the (los angeles), "9001 santa monica blvd.", "w. hollywood", "310-550-8811", "steakhouses", ''15'''), (17, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'patina, "5955 melrose ave.", "los angeles", "213-467-1108", "californian", ''16'''), (18, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'philippe the original, "1001 n. alameda st.", "chinatown", "213-628-3781", "cafeterias", ''17'''), (19, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'pinot bistro, "12969 ventura blvd.", "studio city", "818-990-0500", "french bistro", ''18'''), (20, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'rex il ristorante, "617 s. olive st.", "los angeles", "213-627-2300", "nuova cucina italian", ''19'''), (21, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'spago (los angeles), "8795 sunset blvd.", "w. hollywood", "310-652-4025", "californian", ''20'''), (22, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'valentino, "3115 pico blvd.", "santa monica", "310-829-4313", "italian", ''21'''), (23, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'yujean kang''s, "67 n. raymond ave.", "pasadena", "818-585-0855", "chinese", ''22'''), (24, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', '21 club, "21 w. 52nd st.", "new york city", "212-582-7200", "american (new)", ''23'''), (25, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'aquavit, "13 w. 54th st.", "new york city", "212-307-7311", "scandinavian", ''24'''), (26, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'aureole, "34 e. 61st st.", "new york city", "212-319-1660", "american (new)", ''25'''), (27, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'cafe lalo, "201 w. 83rd st.", "new york city", "212-496-6031", "coffeehouses", ''26'''), (28, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'cafe des artistes, "1 w. 67th st.", "new york city", "212-877-3500", "french (classic)", ''27'''), (29, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'carmine''s, "2450 broadway", "new york city", "212-362-2200", "italian", ''28'''), (30, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'carnegie deli, "854 seventh ave.", "new york city", "212-757-2245", "delis", ''29'''), (31, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'chanterelle, "2 harrison st.", "new york city", "212-966-6960", "french (new)", ''30'''), (32, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'daniel, "20 e. 76th st.", "new york city", "212-288-0033", "french (new)", ''31'''), (33, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'dawat, "210 e. 58th st.", "new york city", "212-355-7555", "indian", ''32'''), (34, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'felidia, "243 e. 58th st.", "new york city", "212-758-1479", "italian", ''33'''), (35, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'four seasons, "99 e. 52nd st.", "new york city", "212-754-9494", "american (new)", ''34'''), (36, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'gotham bar & grill, "12 e. 12th st.", "new york city", "212-620-4020", "american (new)", ''35'''), (37, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'gramercy tavern, "42 e. 20th st.", "new york city", "212-477-0777", "american (new)", ''36'''), (38, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'island spice, "402 w. 44th st.", "new york city", "212-765-1737", "caribbean", ''37'''), (39, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'jo jo, "160 e. 64th st.", "new york city", "212-223-5656", "french bistro", ''38'''), (40, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'la caravelle, "33 w. 55th st.", "new york city", "212-586-4252", "french (classic)", ''39'''), (41, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'la cote basque, "60 w. 55th st.", "new york city", "212-688-6525", "french (classic)", ''40'''), (42, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'le bernardin, "155 w. 51st st.", "new york city", "212-489-1515", "seafood", ''41'''), (43, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'les celebrites, "155 w. 58th st.", "new york city", "212-484-5113", "french (classic)", ''42'''), (44, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'lespinasse (new york city), "2 e. 55th st.", "new york city", "212-339-6719", "asian", ''43'''), (45, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'lutece, "249 e. 50th st.", "new york city", "212-752-2225", "french (classic)", ''44'''), (46, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'manhattan ocean club, "57 w. 58th st.", "new york city", "212-371-7777", "seafood", ''45'''), (47, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'march, "405 e. 58th st.", "new york city", "212-754-6272", "american (new)", ''46'''), (48, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'mesa grill, "102 fifth ave.", "new york city", "212-807-7400", "southwestern", ''47'''), (49, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'mi cocina, "57 jane st.", "new york city", "212-627-8273", "mexican", ''48'''), (50, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'montrachet, "239 w. broadway", "new york city", "212-219-2777", "french bistro", ''49'''), (51, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'oceana, "55 e. 54th st.", "new york city", "212-759-5941", "seafood", ''50'''), (52, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'park avenue cafe (new york city), "100 e. 63rd st.", "new york city", "212-644-1900", "american (new)", ''51'''), (53, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'petrossian, "182 w. 58th st.", "new york city", "212-245-2214", "russian", ''52'''), (54, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'picholine, "35 w. 64th st.", "new york city", "212-724-8585", "mediterranean", ''53'''), (55, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'pisces, "95 ave. a", "new york city", "212-260-6660", "seafood", ''54'''), (56, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'rainbow room, "30 rockefeller plaza", "new york city", "212-632-5000", "american (new)", ''55'''), (57, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'river cafe, "1 water st.", "brooklyn", "718-522-5200", "american (new)", ''56'''), (58, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'san domenico, "240 central park s.", "new york city", "212-265-5959", "italian", ''57'''), (59, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'second avenue deli, "156 second ave.", "new york city", "212-677-0606", "delis", ''58'''), (60, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'seryna, "11 e. 53rd st.", "new york city", "212-980-9393", "japanese", ''59'''), (61, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'shun lee palace, "155 e. 55th st.", "new york city", "212-371-8844", "chinese", ''60'''), (62, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'sign of the dove, "1110 third ave.", "new york city", "212-861-8080", "american (new)", ''61'''), (63, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'smith & wollensky, "797 third ave.", "new york city", "212-753-1530", "steakhouses", ''62'''), (64, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'tavern on the green, "central park west", "new york city", "212-873-3200", "american (new)", ''63'''), (65, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'uncle nick''s, "747 ninth ave.", "new york city", "212-245-7992", "greek", ''64'''), (66, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'union square cafe, "21 e. 16th st.", "new york city", "212-243-4020", "american (new)", ''65'''), (67, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'virgil''s real bbq, "152 w. 44th st.", "new york city", "212-921-9494", "bbq", ''66'''), (68, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'chin''s, "3200 las vegas blvd. s.", "las vegas", "702-733-8899", "chinese", ''67'''), (69, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'coyote cafe (las vegas), "3799 las vegas blvd. s.", "las vegas", "702-891-7349", "southwestern", ''68'''), (70, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'le montrachet bistro, "3000 paradise rd.", "las vegas", "702-732-5651", "french bistro", ''69'''), (71, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'palace court, "3570 las vegas blvd. s.", "las vegas", "702-731-7110", "french (new)", ''70'''), (72, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'second street grill, "200 e. fremont st.", "las vegas", "702-385-6277", "pacific rim", ''71'''), (73, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'steak house the, "2880 las vegas blvd. s.", "las vegas", "702-734-0410", "steakhouses", ''72'''), (74, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'tillerman the, "2245 e. flamingo rd.", "las vegas", "702-731-4036", "steakhouses", ''73'''), (75, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'abruzzi, "2355 peachtree rd. ne", "atlanta", "404-261-8186", "italian", ''74'''), (76, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'bacchanalia, "3125 piedmont rd.", "atlanta", "404-365-0410", "californian", ''75'''), (77, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'bone''s restaurant, "3130 piedmont rd. ne", "atlanta", "404-237-2663", "steakhouses", ''76'''), (78, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'brasserie le coze, "3393 peachtree rd.", "atlanta", "404-266-1440", "french bistro", ''77'''), (79, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'buckhead diner, "3073 piedmont rd.", "atlanta", "404-262-3336", "american (new)", ''78'''), (80, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'ciboulette restaurant, "1529 piedmont ave.", "atlanta", "404-874-7600", "french (new)", ''79'''), (81, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'delectables, "1 margaret mitchell sq.", "atlanta", "404-681-2909", "cafeterias", ''80'''), (82, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'georgia grille, "2290 peachtree rd.", "atlanta", "404-352-3517", "southwestern", ''81'''), (83, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'hedgerose heights inn the, "490 e. paces ferry rd. ne", "atlanta", "404-233-7673", "continental", ''82'''), (84, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'heera of india, "595 piedmont ave.", "atlanta", "404-876-4408", "indian", ''83'''), (85, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'indigo coastal grill, "1397 n. highland ave.", "atlanta", "404-876-0676", "eclectic", ''84'''), (86, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'la grotta, "2637 peachtree rd. ne", "atlanta", "404-231-1368", "italian", ''85'''), (87, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'mary mac''s tea room, "224 ponce de leon ave.", "atlanta", "404-876-1800", "southern/soul", ''86'''), (88, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'nikolai''s roof, "255 courtland st.", "atlanta", "404-221-6362", "continental", ''87'''), (89, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'pano''s & paul''s, "1232 w. paces ferry rd.", "atlanta", "404-261-3662", "american (new)", ''88'''), (90, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'ritz-carlton cafe (buckhead), "3434 peachtree rd. ne", "atlanta", "404-237-2700", "american (new)", ''89'''), (91, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'ritz-carlton dining room (buckhead), "3434 peachtree rd. ne", "atlanta", "404-237-2700", "american (new)", ''90'''), (92, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'ritz-carlton restaurant, "181 peachtree st.", "atlanta", "404-659-0400", "french (classic)", ''91'''), (93, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'toulouse, "293-b peachtree rd.", "atlanta", "404-351-9533", "french (new)", ''92'''), (94, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'veni vidi vici, "41 14th st.", "atlanta", "404-875-8424", "italian", ''93'''), (95, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'alain rondelli, "126 clement st.", "san francisco", "415-387-0408", "french (new)", ''94'''), (96, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'aqua, "252 california st.", "san francisco", "415-956-9662", "american (new)", ''95'''), (97, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'boulevard, "1 mission st.", "san francisco", "415-543-6084", "american (new)", ''96'''), (98, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'cafe claude, "7 claude ln.", "san francisco", "415-392-3505", "french bistro", ''97'''), (99, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'campton place, "340 stockton st.", "san francisco", "415-955-5555", "american (new)", ''98'''), (100, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'chez michel, "804 north point st.", "san francisco", "415-775-7036", "californian", ''99'''), (101, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'fleur de lys, "777 sutter st.", "san francisco", "415-673-7779", "french (new)", ''100'''), (102, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'fringale, "570 fourth st.", "san francisco", "415-543-0573", "french bistro", ''101'''), (103, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'hawthorne lane, "22 hawthorne st.", "san francisco", "415-777-9779", "californian", ''102'''), (104, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'khan toke thai house, "5937 geary blvd.", "san francisco", "415-668-6654", "thai", ''103'''), (105, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'la folie, "2316 polk st.", "san francisco", "415-776-5577", "french (new)", ''104'''), (106, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'lulu restaurant-bis-cafe, "816 folsom st.", "san francisco", "415-495-5775", "mediterranean", ''105'''), (107, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'masa''s, "648 bush st.", "san francisco", "415-989-7154", "french (new)", ''106'''), (108, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'mifune, "1737 post st.", "san francisco", "415-922-0337", "japanese", ''107'''), (109, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'plumpjack cafe, "3127 fillmore st.", "san francisco", "415-563-4755", "american (new)", ''108'''), (110, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'postrio, "545 post st.", "san francisco", "415-776-7825", "californian", ''109'''), (111, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'ritz-carlton dining room (san francisco), "600 stockton st.", "san francisco", "415-296-7465", "french (new)", ''110'''), (112, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'rose pistola, "532 columbus ave.", "san francisco", "415-399-0499", "italian", ''111'''), (113, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'barney greengrass, "9570 wilshire blvd.", "beverly hills", "310/777-5877", "american", ''113'''), (114, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'bistro garden, "176 n. canon dr.", "los angeles", "310/550-3900", "californian", ''115'''), (115, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'broadway deli, "3rd st. promenade", "santa monica", "310/451-0616", "american", ''117'''), (116, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'ca''del sol, "4100 cahuenga blvd.", "los angeles", "818/985-4669", "italian", ''119'''), (117, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'california pizza kitchen, "207 s. beverly dr.", "los angeles", "310/275-1101", "californian", ''121'''), (118, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'cava, "3rd st.", "los angeles", "213/658-8898", "mediterranean", ''123'''), (119, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'chan dara, "310 n. larchmont blvd.", "los angeles", "213/467-1052", "asian", ''125'''), (120, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'dining room, "9500 wilshire blvd.", "los angeles", "310/275-5200", "californian", ''127'''), (121, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'drago, "2628 wilshire blvd.", "santa monica", "310/828-1585", "italian", ''129'''), (122, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'dynasty room, "930 hilgard ave.", "los angeles", "310/208-8765", "continental", ''131'''), (123, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'ed debevic''s, "134 n. la cienega", "los angeles", "310/659-1952", "american", ''133'''), (124, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'gilliland''s, "2424 main st.", "santa monica", "310/392-3901", "american", ''135'''), (125, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'hard rock cafe, "8600 beverly blvd.", "los angeles", "310/276-7605", "american", ''137'''), (126, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'il fornaio cucina italiana, "301 n. beverly dr.", "los angeles", "310/550-8330", "italian", ''139'''), (127, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'jackson''s farm, "439 n. beverly drive", "los angeles", "310/273-5578", "californian", ''141'''), (128, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'joss, "9255 sunset blvd.", "los angeles", "310/276-1886", "asian", ''143'''), (129, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'le dome, "8720 sunset blvd.", "los angeles", "310/659-6919", "french", ''145'''), (130, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'mon kee seafood restaurant, "679 n. spring st.", "los angeles", "213/628-6717", "asian", ''147'''), (131, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'nate ''n'' al''s, "414 n. beverly dr.", "los angeles", "310/274-0101", "american", ''149'''), (132, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'ocean avenue, "1401 ocean ave.", "santa monica", "310/394-5669", "american", ''151'''), (133, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'pacific dining car, "6th st.", "los angeles", "213/483-6000", "american", ''153'''), (134, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'pinot hollywood, "1448 n. gower st.", "los angeles", "213/461-8800", "californian", ''155'''), (135, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'prego, "362 n. camden dr.", "los angeles", "310/277-7346", "italian", ''157'''), (136, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'remi, "3rd st. promenade", "santa monica", "310/393-6545", "italian", ''159'''), (137, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'roscoe''s house of chicken ''n'' waffles, "1514 n. gower st.", "los angeles", "213/466-9329", "american", ''161'''), (138, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'sofi, "3rd st.", "los angeles", "213/651-0346", "mediterranean", ''163'''), (139, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'tavola calda, "7371 melrose ave.", "los angeles", "213/658-6340", "italian", ''165'''), (140, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'tommy tang''s, "7313 melrose ave.", "los angeles", "213/937-5733", "asian", ''167'''), (141, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'trader vic''s, "9876 wilshire blvd.", "los angeles", "310/276-6345", "asian", ''169'''), (142, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'west beach cafe, "60 n. venice blvd.", "los angeles", "310/823-5396", "american", ''171'''), (143, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', '9 jones street, "9 jones st.", "new york", "212/989-1220", "american", ''173'''), (144, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'agrotikon, "322 e. 14 st. between 1st and 2nd aves.", "new york", "212/473-2602", "mediterranean", ''175'''), (145, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'alamo, "304 e. 48th st.", "new york", "212/ 759-0590", "mexican", ''177'''), (146, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'ambassador grill, "1 united nations plaza at 44th st.", "new york", "212/702-5014", "american", ''179'''), (147, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'anche vivolo, "222 e. 58th st. between 2nd and 3rd aves.", "new york", "212/308-0112", "italian", ''181'''), (148, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'arturo''s, "106 w. houston st. off thompson st.", "new york", "212/677-3820", "italian", ''183'''), (149, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'bar anise, "1022 3rd ave. between 60th and 61st sts.", "new york", "212/355-1112", "mediterranean", ''185'''), (150, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'ben benson''s, "123 w. 52nd st.", "new york", "212/581-8888", "american", ''187'''), (151, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'billy''s, "948 1st ave. between 52nd and 53rd sts.", "new york", "212/753-1870", "american", ''189'''), (152, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'bolo, "23 e. 22nd st.", "new york", "212/228-2200", "mediterranean", ''191'''), (153, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'bouterin, "420 e. 59th st. off 1st ave.", "new york", "212/758-0323", "french", ''193'''), (154, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'bruno, "240 e. 58th st.", "new york", "212/688-4190", "italian", ''195'''), (155, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'c3, "103 waverly pl. near washington sq.", "new york", "212/254-1200", "american", ''197'''), (156, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'cafe bianco, "1486 2nd ave. between 77th and 78th sts.", "new york", "212/988-2655", "coffee bar", ''199'''), (157, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'cafe la fortuna, "69 w. 71st st.", "new york", "212/724-5846", "coffee bar", ''201'''), (158, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'cafe pierre, "2 e. 61st st.", "new york", "212/940-8185", "french", ''203'''), (159, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'cafe fes, "246 w. 4th st. at charles st.", "new york", "212/924-7653", "mediterranean", ''205'''), (160, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'caffe dell''artista, "46 greenwich ave.", "new york", "212/645-4431", "coffee bar", ''207'''), (161, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'caffe reggio, "119 macdougal st. between 3rd and bleecker sts.", "new york", "212/475-9557", "coffee bar", ''209'''), (162, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'caffe vivaldi, "32 jones st. at bleecker st.", "new york", "212/691-7538", "coffee bar", ''211'''), (163, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'capsouto freres, "451 washington st. near watts st.", "new york", "212/966-4900", "french", ''213'''), (164, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'casa la femme, "150 wooster st. between houston and prince sts.", "new york", "212/505-0005", "middle eastern", ''215'''), (165, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'chez jacqueline, "72 macdougal st. between w. houston and bleecker sts.", "new york", "212/505-0727", "french", ''217'''), (166, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'china grill, "60 w. 53rd st.", "new york", "212/333-7788", "american", ''219'''), (167, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'coco pazzo, "23 e. 74th st.", "new york", "212/794-0205", "italian", ''221'''), (168, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'corrado cafe, "1013 3rd ave. between 60th and 61st sts.", "new york", "212/753-5100", "coffee bar", ''223'''), (169, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'da nico, "164 mulberry st. between grand and broome sts.", "new york", "212/343-1212", "italian", ''225'''), (170, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'diva, "341 w. broadway near grand st.", "new york", "212/941-9024", "italian", ''227'''), (171, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'docks, "633 3rd ave. at 40th st.", "new york", "212/ 986-8080", "seafood", ''229'''), (172, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'el teddy''s, "219 w. broadway between franklin and white sts.", "new york", "212/941-7070", "mexican", ''231'''), (173, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'empire korea, "6 e. 32nd st.", "new york", "212/725-1333", "asian", ''233'''), (174, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'evergreen cafe, "1288 1st ave. at 69th st.", "new york", "212/744-3266", "asian", ''235'''), (175, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'felix, "340 w. broadway at grand st.", "new york", "212/431-0021", "french", ''237'''), (176, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'fifty seven fifty seven, "57 e. 57th st.", "new york", "212/758-5757", "american", ''239'''), (177, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'fiorello''s roman cafe, "1900 broadway between 63rd and 64th sts.", "new york", "212/595-5330", "italian", ''241'''), (178, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'first, "87 1st ave. between 5th and 6th sts.", "new york", "212/674-3823", "american", ''243'''), (179, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'fleur de jour, "348 e. 62nd st.", "new york", "212/355-2020", "coffee bar", ''245'''), (180, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'follonico, "6 w. 24th st.", "new york", "212/691-6359", "italian", ''247'''), (181, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'french roast, "458 6th ave. at 11th st.", "new york", "212/533-2233", "french", ''249'''), (182, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'frico bar, "402 w. 43rd st. off 9th ave.", "new york", "212/564-7272", "italian", ''251'''), (183, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'gabriela''s, "685 amsterdam ave. at 93rd st.", "new york", "212/961-0574", "mexican", ''253'''), (184, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'gianni''s, "15 fulton st.", "new york", "212/608-7300", "seafood", ''255'''), (185, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'global, "33 93 2nd ave. between 5th and 6th sts.", "new york", "212/477-8427", "american", ''257'''), (186, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'grand ticino, "228 thompson st. between w. 3rd and bleecker sts.", "new york", "212/777-5922", "italian", ''259'''), (187, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'hard rock cafe, "221 w. 57th st.", "new york", "212/489-6565", "american", ''261'''), (188, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'home, "20 cornelia st. between bleecker and w. 4th st.", "new york", "212/243-9579", "american", ''263'''), (189, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'i trulli, "122 e. 27th st. between lexington and park aves.", "new york", "212/481-7372", "italian", ''265'''), (190, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'il nido, "251 e. 53rd st.", "new york", "212/753-8450", "italian", ''267'''), (191, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'indochine, "430 lafayette st. between 4th st. and astor pl.", "new york", "212/505-5111", "asian", ''269'''), (192, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'ipanema, "13 w. 46th st.", "new york", "212/730-5848", "latin american", ''271'''), (193, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'jewel of india, "15 w. 44th st.", "new york", "212/869-5544", "asian", ''273'''), (194, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'joe allen, "326 w. 46th st.", "new york", "212/581-6464", "american", ''275'''), (195, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'l''absinthe, "227 e. 67th st.", "new york", "212/794-4950", "french", ''277'''), (196, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'l''auberge du midi, "310 w. 4th st. between w. 12th and bank sts.", "new york", "212/242-4705", "french", ''279'''), (197, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'la reserve, "4 w. 49th st.", "new york", "212/247-2993", "french", ''281'''), (198, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'lattanzi ristorante, "361 w. 46th st.", "new york", "212/315-0980", "italian", ''283'''), (199, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'le chantilly, "106 e. 57th st.", "new york", "212/751-2931", "french", ''285'''), (200, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'le gamin, "50 macdougal st. between houston and prince sts.", "new york", "212/254-4678", "coffee bar", ''287'''), (201, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'le madri, "168 w. 18th st.", "new york", "212/727-8022", "italian", ''289'''), (202, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'le perigord, "405 e. 52nd st.", "new york", "212/755-6244", "french", ''291'''), (203, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'les halles, "411 park ave. s between 28th and 29th sts.", "new york", "212/679-4111", "french", ''293'''), (204, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'lola, "30 west 22nd st. between 5th and 6th ave.", "new york", "212/675-6700", "american", ''295'''), (205, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'mad fish, "2182 broadway between 77th and 78th sts.", "new york", "212/787-0202", "seafood", ''297'''), (206, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'mangia e bevi, "800 9th ave. at 53rd st.", "new york", "212/956-3976", "italian", ''299'''), (207, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'manila garden, "325 e. 14th st. between 1st and 2nd aves.", "new york", "212/777-6314", "asian", ''301'''), (208, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'marquet patisserie, "15 e. 12th st. between 5th ave. and university pl.", "new york", "212/229-9313", "coffee bar", ''303'''), (209, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'matthew''s, "1030 3rd ave. at 61st st.", "new york", "212/838-4343", "american", ''305'''), (210, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'milan cafe and coffee bar, "120 w. 23rd st.", "new york", "212/807-1801", "coffee bar", ''307'''), (211, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'montien, "1134 1st ave. between 62nd and 63rd sts.", "new york", "212/421-4433", "asian", ''309'''), (212, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'motown cafe, "104 w. 57th st. near 6th ave.", "new york", "212/581-8030", "american", ''311'''), (213, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'new york noodletown, "28 1/2 bowery at bayard st.", "new york", "212/349-0923", "asian", ''313'''), (214, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'odeon, "145 w. broadway at thomas st.", "new york", "212/233-0507", "american", ''315'''), (215, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'osteria al droge, "142 w. 44th st.", "new york", "212/944-3643", "italian", ''317'''), (216, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'pacifica, "138 lafayette st. between canal and howard sts.", "new york", "212/941-4168", "asian", ''319'''), (217, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'pamir, "1065 1st ave. at 58th st.", "new york", "212/644-9258", "middle eastern", ''321'''), (218, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'patria, "250 park ave. s at 20th st.", "new york", "212/777-6211", "latin american", ''323'''), (219, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'pen & pencil, "205 e. 45th st.", "new york", "212/682-8660", "american", ''325'''), (220, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'persepolis, "1423 2nd ave. between 74th and 75th sts.", "new york", "212/535-1100", "middle eastern", ''327'''), (221, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'pomaire, "371 w. 46th st. off 9th ave.", "new york", "212/ 956-3055", "latin american", ''329'''), (222, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'post house, "28 e. 63rd st.", "new york", "212/935-2888", "american", ''331'''), (223, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'red tulip, "439 e. 75th st.", "new york", "212/734-4893", "eastern european", ''333'''), (224, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'republic, "37a union sq. w between 16th and 17th sts.", "new york", "212/627-7172", "asian", ''335'''), (225, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'rosa mexicano, "1063 1st ave. at 58th st.", "new york", "212/753-7407", "mexican", ''337'''), (226, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 's.p.q.r, "133 mulberry st. between hester and grand sts.", "new york", "212/925-3120", "italian", ''339'''), (227, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'sammy''s roumanian steak house, "157 chrystie st. at delancey st.", "new york", "212/673-0330", "east european", ''341'''), (228, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'sant ambroeus, "1000 madison ave. between 77th and 78th sts.", "new york", "212/570-2211", "coffee bar", ''343'''), (229, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'sea grill, "19 w. 49th st.", "new york", "212/332-7610", "seafood", ''345'''), (230, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'seventh regiment mess and bar, "643 park ave. at 66th st.", "new york", "212/744-4107", "american", ''347'''), (231, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'shaan, "57 w. 48th st.", "new york", "212/ 977-8400", "asian", ''349'''), (232, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'spring street natural restaurant & bar, "62 spring st. at lafayette st.", "new york", "212/966-0290", "american", ''351'''), (233, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'stingray, "428 amsterdam ave. between 80th and 81st sts.", "new york", "212/501-7515", "seafood", ''353'''), (234, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 't salon, "143 mercer st. at prince st.", "new york", "212/925-3700", "coffee bar", ''355'''), (235, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'tapika, "950 8th ave. at 56th st.", "new york", "212/ 397-3737", "american", ''357'''), (236, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'terrace, "400 w. 119th st. between amsterdam and morningside aves.", "new york", "212/666-9490", "continental", ''359'''), (237, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'the savannah club, "2420 broadway at 89th st.", "new york", "212/496-1066", "american", ''361'''), (238, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'triangolo, "345 e. 83rd st.", "new york", "212/472-4488", "italian", ''363'''), (239, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'trois jean, "154 e. 79th st. between lexington and 3rd aves.", "new york", "212/988-4858", "coffee bar", ''365'''), (240, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'turkish kitchen, "386 3rd ave. between 27th and 28th sts.", "new york", "212/679-1810", "middle eastern", ''367'''), (241, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'veniero''s pasticceria, "342 e. 11th st. near 1st ave.", "new york", "212/674-7264", "coffee bar", ''369'''), (242, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'victor''s cafe, "52 236 w. 52nd st.", "new york", "212/586-7714", "latin american", ''371'''), (243, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'vong, "200 e. 54th st.", "new york", "212/486-9592", "american", ''373'''), (244, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'west, "63rd street steakhouse 44 w. 63rd st.", "new york", "212/246-6363", "american", ''375'''), (245, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'zen palate, "34 union sq. e at 16th st.", "new york", "212/614-9291", "and 212/614-9345 asian", ''377'''), (246, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'abbey, "163 ponce de leon ave.", "atlanta", "404/876-8532", "international", ''379'''), (247, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'annie''s thai castle, "3195 roswell rd.", "atlanta", "404/264-9546", "asian", ''381'''), (248, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'atlanta fish market, "265 pharr rd.", "atlanta", "404/262-3165", "american", ''383'''), (249, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'bertolini''s, "3500 peachtree rd. phipps plaza", "atlanta", "404/233-2333", "italian", ''385'''), (250, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'cafe renaissance, "7050 jimmy carter blvd. norcross", "atlanta", "770/441--0291", "american", ''387'''), (251, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'cassis, "3300 peachtree rd. grand hyatt", "atlanta", "404/365-8100", "mediterranean", ''389'''); INSERT INTO `pair` (`Id`, `Entry1`, `Entry2`) VALUES (252, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'coco loco, "40 buckhead crossing mall on the sidney marcus blvd.", "atlanta", "404/364-0212", "caribbean", ''391'''), (253, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'dante''s down the hatch buckhead, "3380 peachtree rd.", "atlanta", "404/266-1600", "continental", ''393'''), (254, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'fat matt''s rib shack, "1811 piedmont ave. near cheshire bridge rd.", "atlanta", "404/607-1622", "barbecue", ''395'''), (255, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'holt bros. bar-b-q, "6359 jimmy carter blvd. at buford hwy. norcross", "atlanta", "770/242-3984", "barbecue", ''397'''), (256, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'hsu''s gourmet, "192 peachtree center ave. at international blvd.", "atlanta", "404/659-2788", "asian", ''399'''), (257, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'kamogawa, "3300 peachtree rd. grand hyatt", "atlanta", "404/841-0314", "asian", ''401'''), (258, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'little szechuan, "c buford hwy. northwoods plaza doraville", "atlanta", "770/451-0192", "asian", ''403'''), (259, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'luna si, "1931 peachtree rd.", "atlanta", "404/355-5993", "continental", ''405'''), (260, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'mckinnon''s louisiane, "3209 maple dr.", "atlanta", "404/237-1313", "southern", ''407'''), (261, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'nickiemoto''s: a sushi bar, "247 buckhead ave. east village sq.", "atlanta", "404/842-0334", "fusion", ''409'''), (262, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'pleasant peasant, "555 peachtree st. at linden ave.", "atlanta", "404/874-3223", "american", ''411'''), (263, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'r.j.''s uptown kitchen & wine bar, "870 n. highland ave.", "atlanta", "404/875-7775", "american", ''413'''), (264, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'sa tsu ki, "3043 buford hwy.", "atlanta", "404/325-5285", "asian", ''415'''), (265, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'south city kitchen, "1144 crescent ave.", "atlanta", "404/873-7358", "southern", ''417'''), (266, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'stringer''s fish camp and oyster bar, "3384 shallowford rd. chamblee", "atlanta", "770/458-7145", "southern", ''419'''), (267, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'taste of new orleans, "889 w. peachtree st.", "atlanta", "404/874-5535", "southern", ''421'''), (268, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'antonio''s, "3700 w. flamingo", "las vegas", "702/252-7737", "italian", ''423'''), (269, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'bamboo garden, "4850 flamingo rd.", "las vegas", "702/871-3262", "asian", ''425'''), (270, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'bertolini''s, "3570 las vegas blvd. s", "las vegas", "702/735-4663", "italian", ''427'''), (271, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'bistro, "3400 las vegas blvd. s", "las vegas", "702/791-7111", "continental", ''429'''), (272, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'bugsy''s diner, "3555 las vegas blvd. s", "las vegas", "702/733-3111", "coffee shops/diners", ''431'''), (273, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'cafe roma, "3570 las vegas blvd. s", "las vegas", "702/731-7547", "coffee shops/diners", ''433'''), (274, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'carnival world, "3700 w. flamingo rd.", "las vegas", "702/252-7777", "buffets", ''435'''), (275, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'circus circus, "2880 las vegas blvd. s", "las vegas", "702/734-0410", "buffets", ''437'''), (276, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'feast, "2411 w. sahara ave.", "las vegas", "702/367-2411", "buffets", ''439'''), (277, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'golden steer, "308 w. sahara ave.", "las vegas", "702/384-4470", "steak houses", ''441'''), (278, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'mandarin court, "1510 e. flamingo rd.", "las vegas", "702/737-1234", "asian", ''443'''), (279, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'mary''s diner, "5111 w. boulder hwy.", "las vegas", "702/454-8073", "coffee shops/diners", ''445'''), (280, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'pamplemousse, "400 e. sahara ave.", "las vegas", "702/733-2066", "continental", ''447'''), (281, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'the bacchanal, "3570 las vegas blvd. s", "las vegas", "702/731-7525", "only in las vegas", ''449'''), (282, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'viva mercado''s, "6182 w. flamingo rd.", "las vegas", "702/871-8826", "mexican", ''451'''), (283, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', '2223, "2223 market st.", "san francisco", "415/431-0692", "american", ''453'''), (284, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'bardelli''s, "243 o''farrell st.", "san francisco", "415/982-0243", "old san francisco", ''455'''), (285, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'bistro roti, "155 steuart st.", "san francisco", "415/495-6500", "french", ''457'''), (286, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'bizou, "598 fourth st.", "san francisco", "415/543-2222", "french", ''459'''), (287, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'cafe adriano, "3347 fillmore st.", "san francisco", "415/474-4180", "italian", ''461'''), (288, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'california culinary academy, "625 polk st.", "san francisco", "415/771-3500", "french", ''463'''), (289, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'carta, "1772 market st.", "san francisco", "415/863-3516", "american", ''465'''), (290, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'cypress club, "500 jackson st.", "san francisco", "415/296-8555", "american", ''467'''), (291, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'faz, "161 sutter st.", "san francisco", "415/362-0404", "greek and middle eastern", ''469'''), (292, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'garden court, "market and new montgomery sts.", "san francisco", "415/546-5011", "old san francisco", ''471'''), (293, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'grand cafe hotel monaco, "501 geary st.", "san francisco", "415/292-0101", "american", ''473'''), (294, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'harbor village, "4 embarcadero center", "san francisco", "415/781-8833", "asian", ''475'''), (295, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'harry denton''s, "161 steuart st.", "san francisco", "415/882-1333", "american", ''477'''), (296, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'helmand, "430 broadway", "san francisco", "415/362-0641", "greek and middle eastern", ''479'''), (297, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'hong kong villa, "2332 clement st.", "san francisco", "415/752-8833", "asian", ''481'''), (298, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'il fornaio levi''s plaza, "1265 battery st.", "san francisco", "415/986-0100", "italian", ''483'''), (299, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'jack''s, "615 sacramento st.", "san francisco", "415/986-9854", "old san francisco", ''485'''), (300, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'katia''s, "600 5th ave.", "san francisco", "415/668-9292", "", ''487'''), (301, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'kyo-ya. sheraton palace hotel, "2 new montgomery st. at market st.", "san francisco", "415/546-5000", "asian", ''489'''), (302, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'le central, "453 bush st.", "san francisco", "415/391-2233", "french", ''491'''), (303, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'macarthur park, "607 front st.", "san francisco", "415/398-5700", "american", ''493'''), (304, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'maykadeh, "470 green st.", "san francisco", "415/362-8286", "greek and middle eastern", ''495'''), (305, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'millennium, "246 mcallister st.", "san francisco", "415/487-9800", "vegetarian", ''497'''), (306, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'north india, "3131 webster st.", "san francisco", "415/931-1556", "asian", ''499'''), (307, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'oritalia, "1915 fillmore st.", "san francisco", "415/346-1333", "italian", ''501'''), (308, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'palio d''asti, "640 sacramento st.", "san francisco", "415/395-9800", "italian", ''503'''), (309, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'pastis, "1015 battery st.", "san francisco", "415/391-2555", "french", ''505'''), (310, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'r&g lounge, "631 b kearny st.", "san francisco", "415/982-7877", "or 415/982-3811 asian", ''507'''), (311, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'rumpus, "1 tillman pl.", "san francisco", "415/421-2300", "american", ''509'''), (312, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'scala''s bistro, "432 powell st.", "san francisco", "415/395-8555", "italian", ''511'''), (313, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'splendido embarcadero, "4", "san francisco", "415/986-3222", "mediterranean", ''513'''), (314, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'stars cafe, "500 van ness ave.", "san francisco", "415/861-4344", "american", ''515'''), (315, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'straits cafe, "3300 geary blvd.", "san francisco", "415/668-1783", "asian", ''517'''), (316, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'tadich grill, "240 california st.", "san francisco", "415/391-2373", "seafood", ''519'''), (317, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'thepin, "298 gough st.", "san francisco", "415/863-9335", "asian", ''521'''), (318, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'vertigo, "600 montgomery st.", "san francisco", "415/433-7250", "mediterranean", ''523'''), (319, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'vivande ristorante, "670 golden gate ave.", "san francisco", "415/673-9245", "italian", ''525'''), (320, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'wu kong, "101 spear st.", "san francisco", "415/957-9300", "asian", ''527'''), (321, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'yaya cuisine, "1220 9th ave.", "san francisco", "415/566-6966", "greek and middle eastern", ''529'''), (322, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'zarzuela, "2000 hyde st.", "san francisco", "415/346-0800", "mexican/latin american/spanish", ''531'''), (323, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'apple pan the, "10801 w. pico blvd.", "west la", "310-475-3585", "american", ''534'''), (324, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'baja fresh, "3345 kimber dr.", "westlake village", "805-498-4049", "mexican", ''536'''), (325, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'benita''s frites, "1433 third st. promenade", "santa monica", "310-458-2889", "fast food", ''538'''), (326, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'bistro 45, "45 s. mentor ave.", "pasadena", "818-795-2478", "californian", ''540'''), (327, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'brighton coffee shop, "9600 brighton way", "beverly hills", "310-276-7732", "coffee shops", ''542'''), (328, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'bruno''s, "3838 centinela ave.", "mar vista", "310-397-5703", "italian", ''544'''), (329, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'cafe blanc, "9777 little santa monica blvd.", "beverly hills", "310-888-0108", "pacific new wave", ''546'''), (330, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'chez melange, "1716 pch", "redondo beach", "310-540-1222", "eclectic", ''548'''), (331, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'don antonio''s, "1136 westwood blvd.", "westwood", "310-209-1422", "italian", ''550'''), (332, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'falafel king, "1059 broxton ave.", "westwood", "310-208-4444", "middle eastern", ''552'''), (333, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'gumbo pot the, "6333 w. third st.", "la", "213-933-0358", "cajun/creole", ''554'''), (334, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'indo cafe, "10428 1/2 national blvd.", "la", "310-815-1290", "indonesian", ''556'''), (335, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'jiraffe, "502 santa monica blvd", "santa monica", "310-917-6671", "californian", ''558'''), (336, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'joe''s, "1023 abbot kinney blvd.", "venice", "310-399-5811", "american (new)", ''560'''), (337, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'johnnie''s pastrami, "4017 s. sepulveda blvd.", "culver city", "310-397-6654", "delis", ''562'''), (338, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'johnny rockets (la), "7507 melrose ave.", "la", "213-651-3361", "american", ''564'''), (339, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'kokomo cafe, "6333 w. third st.", "la", "213-933-0773", "american", ''566'''), (340, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'la cachette, "10506 little santa monica blvd.", "century city", "310-470-4992", "french (new)", ''568'''), (341, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'la serenata de garibaldi, "1842 e. first", "st. boyle hts.", "213-265-2887", "mexican/tex-mex", ''570'''), (342, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'local nochol, "30869 thousand oaks blvd.", "westlake village", "818-706-7706", "health food", ''572'''), (343, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'mani''s bakery & espresso bar, "519 s. fairfax ave.", "la", "213-938-8800", "desserts", ''574'''), (344, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'maxwell''s cafe, "13329 washington blvd.", "marina del rey", "310-306-7829", "american", ''576'''), (345, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'mishima, "8474 w. third st.", "la", "213-782-0181", "noodle shops", ''578'''), (346, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'mulberry st., "17040 ventura blvd.", "encino", "818-906-8881", "pizza", ''580'''), (347, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'ocean star, "145 n. atlantic blvd.", "monterey park", "818-308-2128", "seafood", ''582'''), (348, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'parkway grill, "510 s. arroyo pkwy.", "pasadena", "818-795-1001", "californian", ''584'''), (349, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'pink''s famous chili dogs, "709 n. la brea ave.", "la", "213-931-4223", "hot dogs", ''586'''), (350, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'r-23, "923 e. third st.", "los angeles", "213-687-7178", "japanese", ''588'''), (351, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'rubin''s red hots, "15322 ventura blvd.", "encino", "818-905-6515", "hot dogs", ''590'''), (352, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'russell''s burgers, "1198 pch", "seal beach", "310-596-9556", "hamburgers", ''592'''), (353, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'shiro, "1505 mission st. s.", "pasadena", "818-799-4774", "pacific new wave", ''594'''), (354, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'sweet lady jane, "8360 melrose ave.", "la", "213-653-7145", "desserts", ''596'''), (355, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'tommy''s, "2575 beverly blvd.", "la", "213-389-9060", "hamburgers", ''598'''), (356, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'water grill, "544 s. grand ave.", "los angeles", "213-891-0900", "seafood", ''600'''), (357, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'afghan kebab house, "764 ninth ave.", "new york city", "212-307-1612", "afghan", ''602'''), (358, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'benny''s burritos, "93 ave. a", "new york city", "212-254-2054", "mexican", ''604'''), (359, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'corner bistro, "331 w. fourth st.", "new york city", "212-242-9502", "hamburgers", ''606'''), (360, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'cucina di pesce, "87 e. fourth st.", "new york city", "212-260-6800", "seafood", ''608'''), (361, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'ej''s luncheonette, "432 sixth ave.", "new york city", "212-473-5555", "diners", ''610'''), (362, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'elias corner, "24-02 31st st.", "queens", "718-932-1510", "greek", ''612'''), (363, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'gray''s papaya, "2090 broadway", "new york city", "212-799-0243", "hot dogs", ''614'''), (364, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'jackson diner, "37-03 74th st.", "queens", "718-672-1232", "indian", ''616'''), (365, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'john''s pizzeria, "48 w. 65th st.", "new york city", "212-721-7001", "pizza", ''618'''), (366, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'kiev, "117 second ave.", "new york city", "212-674-4040", "ukrainian", ''620'''), (367, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'la caridad, "2199 broadway", "new york city", "212-874-2780", "cuban", ''622'''), (368, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'lemongrass grill, "61a seventh ave.", "brooklyn", "718-399-7100", "thai", ''624'''), (369, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'marnie''s noodle shop, "466 hudson st.", "new york city", "212-741-3214", "asian", ''626'''), (370, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'mitali east-west, "296 bleecker st.", "new york city", "212-989-1367", "indian", ''628'''), (371, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'moustache, "405 atlantic ave.", "brooklyn", "718-852-5555", "middle eastern", ''630'''), (372, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'one if by land tibs, "17 barrow st.", "new york city", "212-228-0822", "continental", ''632'''), (373, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'palm, "837 second ave.", "new york city", "212-687-2953", "steakhouses", ''634'''), (374, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'patsy''s pizza, "19 old fulton st.", "brooklyn", "718-858-4300", "pizza", ''636'''), (375, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'rose of india, "308 e. sixth st.", "new york city", "212-533-5011", "indian", ''638'''), (376, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'sarabeth''s, "1295 madison ave.", "new york city", "212-410-7335", "american", ''640'''), (377, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'stick to your ribs, "5-16 51st ave.", "queens", "718-937-3030", "bbq", ''642'''), (378, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'sylvia''s, "328 lenox ave.", "new york city", "212-996-0660", "southern/soul", ''644'''), (379, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'szechuan kitchen, "1460 first ave.", "new york city", "212-249-4615", "chinese", ''646'''), (380, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'thai house cafe, "151 hudson st.", "new york city", "212-334-1085", "thai", ''648'''), (381, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'veselka, "144 second ave.", "new york city", "212-228-9682", "ukrainian", ''650'''), (382, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'windows on the world, "107th fl.", "new york city", "212-524-7000", "eclectic", ''652'''), (383, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'yama, "122 e. 17th st.", "new york city", "212-475-0969", "japanese", ''654'''), (384, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'andre''s french restaurant, "401 s. 6th st.", "las vegas", "702-385-5016", "french (classic)", ''656'''), (385, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'buzio''s in the rio, "3700 w. flamingo rd.", "las vegas", "702-252-7697", "seafood", ''658'''), (386, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'fiore rotisserie & grille, "3700 w. flamingo rd.", "las vegas", "702-252-7702", "italian", ''660'''), (387, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'madame ching''s, "3300 las vegas blvd. s.", "las vegas", "702-894-7111", "asian", ''662'''), (388, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'michael''s (las vegas), "3595 las vegas blvd. s.", "las vegas", "702-737-7111", "continental", ''664'''), (389, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'moongate, "3400 las vegas blvd. s.", "las vegas", "702-791-7352", "chinese", ''666'''), (390, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'nicky blair''s, "3925 paradise rd.", "las vegas", "702-792-9900", "italian", ''668'''), (391, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'spago (las vegas), "3500 las vegas blvd. s.", "las vegas", "702-369-6300", "californian", ''670'''), (392, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'stefano''s, "129 fremont st.", "las vegas", "702-385-7111", "italian", ''672'''), (393, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'tre visi, "3799 las vegas blvd. s.", "las vegas", "702-891-7331", "italian", ''674'''), (394, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'alon''s at the terrace, "659 peachtree st.", "atlanta", "404-724-0444", "sandwiches", ''676'''), (395, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'barbecue kitchen, "1437 virginia ave.", "atlanta", "404-766-9906", "bbq", ''678'''), (396, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'bobby & june''s kountry kitchen, "375 14th st.", "atlanta", "404-876-3872", "southern/soul", ''680'''), (397, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'brookhaven cafe, "4274 peachtree rd.", "atlanta", "404-231-5907", "vegetarian", ''682'''), (398, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'canoe, "4199 paces ferry rd.", "atlanta", "770-432-2663", "american (new)", ''684'''), (399, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'carey''s corner, "1215 powers ferry rd.", "marietta", "770-933-0909", "hamburgers", ''686'''), (400, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'chopstix, "4279 roswell rd.", "atlanta", "404-255-4868", "chinese", ''688'''), (401, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'eats, "600 ponce de leon ave.", "atlanta", "404-888-9149", "italian", ''690'''), (402, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'frijoleros, "1031 peachtree st. ne", "atlanta", "404-892-8226", "tex-mex", ''692'''), (403, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'harold''s barbecue, "171 mcdonough blvd.", "atlanta", "404-627-9268", "bbq", ''694'''), (404, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'house of chan, "2469 cobb pkwy.", "smyrna", "770-955-9444", "chinese", ''696'''), (405, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'java jive, "790 ponce de leon ave.", "atlanta", "404-876-6161", "coffee shops", ''698'''), (406, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'kalo''s coffee house, "1248 clairmont rd.", "decatur", "404-325-3733", "coffeehouses", ''700'''), (407, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'lettuce souprise you (at), "3525 mall blvd.", "duluth", "770-418-9969", "cafeterias", ''702'''), (408, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'morton''s of chicago (atlanta), "303 peachtree st. ne", "atlanta", "404-577-4366", "steakhouses", ''704'''), (409, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'nava, "3060 peachtree rd.", "atlanta", "404-240-1984", "southwestern", ''706'''), (410, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'original pancake house (at), "4330 peachtree rd.", "atlanta", "404-237-4116", "american", ''708'''), (411, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'rainbow restaurant, "2118 n. decatur rd.", "decatur", "404-633-3538", "vegetarian", ''710'''), (412, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'riviera, "519 e. paces ferry rd.", "atlanta", "404-262-7112", "mediterranean", ''712'''), (413, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'soto, "3330 piedmont rd.", "atlanta", "404-233-2005", "japanese", ''714'''), (414, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'tortillas, "774 ponce de leon ave. ne", "atlanta", "404-892-0193", "tex-mex", ''716'''), (415, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'veggieland, "220 sandy springs circle", "atlanta", "404-231-3111", "vegetarian", ''718'''), (416, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'zab-e-lee, "4837 old national hwy.", "college park", "404-768-2705", "thai", ''720'''), (417, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'cafe flore, "2298 market st.", "san francisco", "415-621-8579", "californian", ''722'''), (418, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'campo santo, "240 columbus ave.", "san francisco", "415-433-9623", "mexican", ''724'''), (419, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'doidge''s, "2217 union st.", "san francisco", "415-921-2149", "american", ''726'''), (420, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'dusit thai, "3221 mission st.", "san francisco", "415-826-4639", "thai", ''728'''), (421, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'emerald garden restaurant, "1550 california st.", "san francisco", "415-673-1155", "vietnamese", ''730'''), (422, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'hamburger mary''s, "1582 folsom st.", "san francisco", "415-626-1985", "hamburgers", ''732'''), (423, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'la cumbre, "515 valencia st.", "san francisco", "415-863-8205", "mexican", ''734'''), (424, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'la taqueria, "2889 mission st.", "san francisco", "415-285-7117", "mexican", ''736'''), (425, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'marnee thai, "2225 irving st.", "san francisco", "415-665-9500", "thai", ''738'''), (426, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'mo''s burgers, "1322 grant st.", "san francisco", "415-788-3779", "hamburgers", ''740'''), (427, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'roosevelt tamale parlor, "2817 24th st.", "san francisco", "415-550-9213", "mexican", ''742'''), (428, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'san francisco bbq, "1328 18th st.", "san francisco", "415-431-8956", "thai", ''744'''), (429, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'swan oyster depot, "1517 polk st.", "san francisco", "415-673-1101", "seafood", ''746'''), (430, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'ti couz, "3108 16th st.", "san francisco", "415-252-7373", "french", ''748'''), (431, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'tu lan, "8 sixth st.", "san francisco", "415-626-0927", "vietnamese", ''750'''), (432, ' arnie morton''s of chicago, 435 s. la cienega blv., los angeles, 310/246-1501, american, ''0''', 'wa-ha-ka oaxaca mexican grill, "2141 polk st.", "san francisco", "415-775-1055", "mexican", ''752'''); -- -------------------------------------------------------- -- -- Structure de la table `tablesimilarr` -- DROP TABLE IF EXISTS `tablesimilarr`; CREATE TABLE IF NOT EXISTS `tablesimilarr` ( `id` int(11) NOT NULL AUTO_INCREMENT, `idPair` int(11) NOT NULL, `idAttribut1` int(11) DEFAULT NULL, `idAttribut2` int(11) DEFAULT NULL, `idAttribut3` int(11) DEFAULT NULL, `idAttribut4` int(11) DEFAULT NULL, `idAttribut5` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=433 DEFAULT CHARSET=latin1; -- -- Contenu de la table `tablesimilarr` -- INSERT INTO `tablesimilarr` (`id`, `idPair`, `idAttribut1`, `idAttribut2`, `idAttribut3`, `idAttribut4`, `idAttribut5`) VALUES (1, 1, 1, 2, 3, 4, 5), (2, 2, 6, 7, 8, 9, 10), (3, 3, 11, 12, 13, 14, 15), (4, 4, 16, 17, 18, 19, 20), (5, 5, 21, 22, 23, 24, 25), (6, 6, 26, 27, 28, 29, 30), (7, 7, 31, 32, 33, 34, 35), (8, 8, 36, 37, 38, 39, 40), (9, 9, 41, 42, 43, 44, 45), (10, 10, 46, 47, 48, 49, 50), (11, 11, 51, 52, 53, 54, 55), (12, 12, 56, 57, 58, 59, 60), (13, 13, 61, 62, 63, 64, 65), (14, 14, 66, 67, 68, 69, 70), (15, 15, 71, 72, 73, 74, 75), (16, 16, 76, 77, 78, 79, 80), (17, 17, 81, 82, 83, 84, 85), (18, 18, 86, 87, 88, 89, 90), (19, 19, 91, 92, 93, 94, 95), (20, 20, 96, 97, 98, 99, 100), (21, 21, 101, 102, 103, 104, 105), (22, 22, 106, 107, 108, 109, 110), (23, 23, 111, 112, 113, 114, 115), (24, 24, 116, 117, 118, 119, 120), (25, 25, 121, 122, 123, 124, 125), (26, 26, 126, 127, 128, 129, 130), (27, 27, 131, 132, 133, 134, 135), (28, 28, 136, 137, 138, 139, 140), (29, 29, 141, 142, 143, 144, 145), (30, 30, 146, 147, 148, 149, 150), (31, 31, 151, 152, 153, 154, 155), (32, 32, 156, 157, 158, 159, 160), (33, 33, 161, 162, 163, 164, 165), (34, 34, 166, 167, 168, 169, 170), (35, 35, 171, 172, 173, 174, 175), (36, 36, 176, 177, 178, 179, 180), (37, 37, 181, 182, 183, 184, 185), (38, 38, 186, 187, 188, 189, 190), (39, 39, 191, 192, 193, 194, 195), (40, 40, 196, 197, 198, 199, 200), (41, 41, 201, 202, 203, 204, 205), (42, 42, 206, 207, 208, 209, 210), (43, 43, 211, 212, 213, 214, 215), (44, 44, 216, 217, 218, 219, 220), (45, 45, 221, 222, 223, 224, 225), (46, 46, 226, 227, 228, 229, 230), (47, 47, 231, 232, 233, 234, 235), (48, 48, 236, 237, 238, 239, 240), (49, 49, 241, 242, 243, 244, 245), (50, 50, 246, 247, 248, 249, 250), (51, 51, 251, 252, 253, 254, 255), (52, 52, 256, 257, 258, 259, 260), (53, 53, 261, 262, 263, 264, 265), (54, 54, 266, 267, 268, 269, 270), (55, 55, 271, 272, 273, 274, 275), (56, 56, 276, 277, 278, 279, 280), (57, 57, 281, 282, 283, 284, 285), (58, 58, 286, 287, 288, 289, 290), (59, 59, 291, 292, 293, 294, 295), (60, 60, 296, 297, 298, 299, 300), (61, 61, 301, 302, 303, 304, 305), (62, 62, 306, 307, 308, 309, 310), (63, 63, 311, 312, 313, 314, 315), (64, 64, 316, 317, 318, 319, 320), (65, 65, 321, 322, 323, 324, 325), (66, 66, 326, 327, 328, 329, 330), (67, 67, 331, 332, 333, 334, 335), (68, 68, 336, 337, 338, 339, 340), (69, 69, 341, 342, 343, 344, 345), (70, 70, 346, 347, 348, 349, 350), (71, 71, 351, 352, 353, 354, 355), (72, 72, 356, 357, 358, 359, 360), (73, 73, 361, 362, 363, 364, 365), (74, 74, 366, 367, 368, 369, 370), (75, 75, 371, 372, 373, 374, 375), (76, 76, 376, 377, 378, 379, 380), (77, 77, 381, 382, 383, 384, 385), (78, 78, 386, 387, 388, 389, 390), (79, 79, 391, 392, 393, 394, 395), (80, 80, 396, 397, 398, 399, 400), (81, 81, 401, 402, 403, 404, 405), (82, 82, 406, 407, 408, 409, 410), (83, 83, 411, 412, 413, 414, 415), (84, 84, 416, 417, 418, 419, 420), (85, 85, 421, 422, 423, 424, 425), (86, 86, 426, 427, 428, 429, 430), (87, 87, 431, 432, 433, 434, 435), (88, 88, 436, 437, 438, 439, 440), (89, 89, 441, 442, 443, 444, 445), (90, 90, 446, 447, 448, 449, 450), (91, 91, 451, 452, 453, 454, 455), (92, 92, 456, 457, 458, 459, 460), (93, 93, 461, 462, 463, 464, 465), (94, 94, 466, 467, 468, 469, 470), (95, 95, 471, 472, 473, 474, 475), (96, 96, 476, 477, 478, 479, 480), (97, 97, 481, 482, 483, 484, 485), (98, 98, 486, 487, 488, 489, 490), (99, 99, 491, 492, 493, 494, 495), (100, 100, 496, 497, 498, 499, 500), (101, 101, 501, 502, 503, 504, 505), (102, 102, 506, 507, 508, 509, 510), (103, 103, 511, 512, 513, 514, 515), (104, 104, 516, 517, 518, 519, 520), (105, 105, 521, 522, 523, 524, 525), (106, 106, 526, 527, 528, 529, 530), (107, 107, 531, 532, 533, 534, 535), (108, 108, 536, 537, 538, 539, 540), (109, 109, 541, 542, 543, 544, 545), (110, 110, 546, 547, 548, 549, 550), (111, 111, 551, 552, 553, 554, 555), (112, 112, 556, 557, 558, 559, 560), (113, 113, 561, 562, 563, 564, 565), (114, 114, 566, 567, 568, 569, 570), (115, 115, 571, 572, 573, 574, 575), (116, 116, 576, 577, 578, 579, 580), (117, 117, 581, 582, 583, 584, 585), (118, 118, 586, 587, 588, 589, 590), (119, 119, 591, 592, 593, 594, 595), (120, 120, 596, 597, 598, 599, 600), (121, 121, 601, 602, 603, 604, 605), (122, 122, 606, 607, 608, 609, 610), (123, 123, 611, 612, 613, 614, 615), (124, 124, 616, 617, 618, 619, 620), (125, 125, 621, 622, 623, 624, 625), (126, 126, 626, 627, 628, 629, 630), (127, 127, 631, 632, 633, 634, 635), (128, 128, 636, 637, 638, 639, 640), (129, 129, 641, 642, 643, 644, 645), (130, 130, 646, 647, 648, 649, 650), (131, 131, 651, 652, 653, 654, 655), (132, 132, 656, 657, 658, 659, 660), (133, 133, 661, 662, 663, 664, 665), (134, 134, 666, 667, 668, 669, 670), (135, 135, 671, 672, 673, 674, 675), (136, 136, 676, 677, 678, 679, 680), (137, 137, 681, 682, 683, 684, 685), (138, 138, 686, 687, 688, 689, 690), (139, 139, 691, 692, 693, 694, 695), (140, 140, 696, 697, 698, 699, 700), (141, 141, 701, 702, 703, 704, 705), (142, 142, 706, 707, 708, 709, 710), (143, 143, 711, 712, 713, 714, 715), (144, 144, 716, 717, 718, 719, 720), (145, 145, 721, 722, 723, 724, 725), (146, 146, 726, 727, 728, 729, 730), (147, 147, 731, 732, 733, 734, 735), (148, 148, 736, 737, 738, 739, 740), (149, 149, 741, 742, 743, 744, 745), (150, 150, 746, 747, 748, 749, 750), (151, 151, 751, 752, 753, 754, 755), (152, 152, 756, 757, 758, 759, 760), (153, 153, 761, 762, 763, 764, 765), (154, 154, 766, 767, 768, 769, 770), (155, 155, 771, 772, 773, 774, 775), (156, 156, 776, 777, 778, 779, 780), (157, 157, 781, 782, 783, 784, 785), (158, 158, 786, 787, 788, 789, 790), (159, 159, 791, 792, 793, 794, 795), (160, 160, 796, 797, 798, 799, 800), (161, 161, 801, 802, 803, 804, 805), (162, 162, 806, 807, 808, 809, 810), (163, 163, 811, 812, 813, 814, 815), (164, 164, 816, 817, 818, 819, 820), (165, 165, 821, 822, 823, 824, 825), (166, 166, 826, 827, 828, 829, 830), (167, 167, 831, 832, 833, 834, 835), (168, 168, 836, 837, 838, 839, 840), (169, 169, 841, 842, 843, 844, 845), (170, 170, 846, 847, 848, 849, 850), (171, 171, 851, 852, 853, 854, 855), (172, 172, 856, 857, 858, 859, 860), (173, 173, 861, 862, 863, 864, 865), (174, 174, 866, 867, 868, 869, 870), (175, 175, 871, 872, 873, 874, 875), (176, 176, 876, 877, 878, 879, 880), (177, 177, 881, 882, 883, 884, 885), (178, 178, 886, 887, 888, 889, 890), (179, 179, 891, 892, 893, 894, 895), (180, 180, 896, 897, 898, 899, 900), (181, 181, 901, 902, 903, 904, 905), (182, 182, 906, 907, 908, 909, 910), (183, 183, 911, 912, 913, 914, 915), (184, 184, 916, 917, 918, 919, 920), (185, 185, 921, 922, 923, 924, 925), (186, 186, 926, 927, 928, 929, 930), (187, 187, 931, 932, 933, 934, 935), (188, 188, 936, 937, 938, 939, 940), (189, 189, 941, 942, 943, 944, 945), (190, 190, 946, 947, 948, 949, 950), (191, 191, 951, 952, 953, 954, 955), (192, 192, 956, 957, 958, 959, 960), (193, 193, 961, 962, 963, 964, 965), (194, 194, 966, 967, 968, 969, 970), (195, 195, 971, 972, 973, 974, 975), (196, 196, 976, 977, 978, 979, 980), (197, 197, 981, 982, 983, 984, 985), (198, 198, 986, 987, 988, 989, 990), (199, 199, 991, 992, 993, 994, 995), (200, 200, 996, 997, 998, 999, 1000), (201, 201, 1001, 1002, 1003, 1004, 1005), (202, 202, 1006, 1007, 1008, 1009, 1010), (203, 203, 1011, 1012, 1013, 1014, 1015), (204, 204, 1016, 1017, 1018, 1019, 1020), (205, 205, 1021, 1022, 1023, 1024, 1025), (206, 206, 1026, 1027, 1028, 1029, 1030), (207, 207, 1031, 1032, 1033, 1034, 1035), (208, 208, 1036, 1037, 1038, 1039, 1040), (209, 209, 1041, 1042, 1043, 1044, 1045), (210, 210, 1046, 1047, 1048, 1049, 1050), (211, 211, 1051, 1052, 1053, 1054, 1055), (212, 212, 1056, 1057, 1058, 1059, 1060), (213, 213, 1061, 1062, 1063, 1064, 1065), (214, 214, 1066, 1067, 1068, 1069, 1070), (215, 215, 1071, 1072, 1073, 1074, 1075), (216, 216, 1076, 1077, 1078, 1079, 1080), (217, 217, 1081, 1082, 1083, 1084, 1085), (218, 218, 1086, 1087, 1088, 1089, 1090), (219, 219, 1091, 1092, 1093, 1094, 1095), (220, 220, 1096, 1097, 1098, 1099, 1100), (221, 221, 1101, 1102, 1103, 1104, 1105), (222, 222, 1106, 1107, 1108, 1109, 1110), (223, 223, 1111, 1112, 1113, 1114, 1115), (224, 224, 1116, 1117, 1118, 1119, 1120), (225, 225, 1121, 1122, 1123, 1124, 1125), (226, 226, 1126, 1127, 1128, 1129, 1130), (227, 227, 1131, 1132, 1133, 1134, 1135), (228, 228, 1136, 1137, 1138, 1139, 1140), (229, 229, 1141, 1142, 1143, 1144, 1145), (230, 230, 1146, 1147, 1148, 1149, 1150), (231, 231, 1151, 1152, 1153, 1154, 1155), (232, 232, 1156, 1157, 1158, 1159, 1160), (233, 233, 1161, 1162, 1163, 1164, 1165), (234, 234, 1166, 1167, 1168, 1169, 1170), (235, 235, 1171, 1172, 1173, 1174, 1175), (236, 236, 1176, 1177, 1178, 1179, 1180), (237, 237, 1181, 1182, 1183, 1184, 1185), (238, 238, 1186, 1187, 1188, 1189, 1190), (239, 239, 1191, 1192, 1193, 1194, 1195), (240, 240, 1196, 1197, 1198, 1199, 1200), (241, 241, 1201, 1202, 1203, 1204, 1205), (242, 242, 1206, 1207, 1208, 1209, 1210), (243, 243, 1211, 1212, 1213, 1214, 1215), (244, 244, 1216, 1217, 1218, 1219, 1220), (245, 245, 1221, 1222, 1223, 1224, 1225), (246, 246, 1226, 1227, 1228, 1229, 1230), (247, 247, 1231, 1232, 1233, 1234, 1235), (248, 248, 1236, 1237, 1238, 1239, 1240), (249, 249, 1241, 1242, 1243, 1244, 1245), (250, 250, 1246, 1247, 1248, 1249, 1250), (251, 251, 1251, 1252, 1253, 1254, 1255), (252, 252, 1256, 1257, 1258, 1259, 1260), (253, 253, 1261, 1262, 1263, 1264, 1265), (254, 254, 1266, 1267, 1268, 1269, 1270), (255, 255, 1271, 1272, 1273, 1274, 1275), (256, 256, 1276, 1277, 1278, 1279, 1280), (257, 257, 1281, 1282, 1283, 1284, 1285), (258, 258, 1286, 1287, 1288, 1289, 1290), (259, 259, 1291, 1292, 1293, 1294, 1295), (260, 260, 1296, 1297, 1298, 1299, 1300), (261, 261, 1301, 1302, 1303, 1304, 1305), (262, 262, 1306, 1307, 1308, 1309, 1310), (263, 263, 1311, 1312, 1313, 1314, 1315), (264, 264, 1316, 1317, 1318, 1319, 1320), (265, 265, 1321, 1322, 1323, 1324, 1325), (266, 266, 1326, 1327, 1328, 1329, 1330), (267, 267, 1331, 1332, 1333, 1334, 1335), (268, 268, 1336, 1337, 1338, 1339, 1340), (269, 269, 1341, 1342, 1343, 1344, 1345), (270, 270, 1346, 1347, 1348, 1349, 1350), (271, 271, 1351, 1352, 1353, 1354, 1355), (272, 272, 1356, 1357, 1358, 1359, 1360), (273, 273, 1361, 1362, 1363, 1364, 1365), (274, 274, 1366, 1367, 1368, 1369, 1370), (275, 275, 1371, 1372, 1373, 1374, 1375), (276, 276, 1376, 1377, 1378, 1379, 1380), (277, 277, 1381, 1382, 1383, 1384, 1385), (278, 278, 1386, 1387, 1388, 1389, 1390), (279, 279, 1391, 1392, 1393, 1394, 1395), (280, 280, 1396, 1397, 1398, 1399, 1400), (281, 281, 1401, 1402, 1403, 1404, 1405), (282, 282, 1406, 1407, 1408, 1409, 1410), (283, 283, 1411, 1412, 1413, 1414, 1415), (284, 284, 1416, 1417, 1418, 1419, 1420), (285, 285, 1421, 1422, 1423, 1424, 1425), (286, 286, 1426, 1427, 1428, 1429, 1430), (287, 287, 1431, 1432, 1433, 1434, 1435), (288, 288, 1436, 1437, 1438, 1439, 1440), (289, 289, 1441, 1442, 1443, 1444, 1445), (290, 290, 1446, 1447, 1448, 1449, 1450), (291, 291, 1451, 1452, 1453, 1454, 1455), (292, 292, 1456, 1457, 1458, 1459, 1460), (293, 293, 1461, 1462, 1463, 1464, 1465), (294, 294, 1466, 1467, 1468, 1469, 1470), (295, 295, 1471, 1472, 1473, 1474, 1475), (296, 296, 1476, 1477, 1478, 1479, 1480), (297, 297, 1481, 1482, 1483, 1484, 1485), (298, 298, 1486, 1487, 1488, 1489, 1490), (299, 299, 1491, 1492, 1493, 1494, 1495), (300, 300, 1496, 1497, 1498, 1499, 1500), (301, 301, 1501, 1502, 1503, 1504, 1505), (302, 302, 1506, 1507, 1508, 1509, 1510), (303, 303, 1511, 1512, 1513, 1514, 1515), (304, 304, 1516, 1517, 1518, 1519, 1520), (305, 305, 1521, 1522, 1523, 1524, 1525), (306, 306, 1526, 1527, 1528, 1529, 1530), (307, 307, 1531, 1532, 1533, 1534, 1535), (308, 308, 1536, 1537, 1538, 1539, 1540), (309, 309, 1541, 1542, 1543, 1544, 1545), (310, 310, 1546, 1547, 1548, 1549, 1550), (311, 311, 1551, 1552, 1553, 1554, 1555), (312, 312, 1556, 1557, 1558, 1559, 1560), (313, 313, 1561, 1562, 1563, 1564, 1565), (314, 314, 1566, 1567, 1568, 1569, 1570), (315, 315, 1571, 1572, 1573, 1574, 1575), (316, 316, 1576, 1577, 1578, 1579, 1580), (317, 317, 1581, 1582, 1583, 1584, 1585), (318, 318, 1586, 1587, 1588, 1589, 1590), (319, 319, 1591, 1592, 1593, 1594, 1595), (320, 320, 1596, 1597, 1598, 1599, 1600), (321, 321, 1601, 1602, 1603, 1604, 1605), (322, 322, 1606, 1607, 1608, 1609, 1610), (323, 323, 1611, 1612, 1613, 1614, 1615), (324, 324, 1616, 1617, 1618, 1619, 1620), (325, 325, 1621, 1622, 1623, 1624, 1625), (326, 326, 1626, 1627, 1628, 1629, 1630), (327, 327, 1631, 1632, 1633, 1634, 1635), (328, 328, 1636, 1637, 1638, 1639, 1640), (329, 329, 1641, 1642, 1643, 1644, 1645), (330, 330, 1646, 1647, 1648, 1649, 1650), (331, 331, 1651, 1652, 1653, 1654, 1655), (332, 332, 1656, 1657, 1658, 1659, 1660), (333, 333, 1661, 1662, 1663, 1664, 1665), (334, 334, 1666, 1667, 1668, 1669, 1670), (335, 335, 1671, 1672, 1673, 1674, 1675), (336, 336, 1676, 1677, 1678, 1679, 1680), (337, 337, 1681, 1682, 1683, 1684, 1685), (338, 338, 1686, 1687, 1688, 1689, 1690), (339, 339, 1691, 1692, 1693, 1694, 1695), (340, 340, 1696, 1697, 1698, 1699, 1700), (341, 341, 1701, 1702, 1703, 1704, 1705), (342, 342, 1706, 1707, 1708, 1709, 1710), (343, 343, 1711, 1712, 1713, 1714, 1715), (344, 344, 1716, 1717, 1718, 1719, 1720), (345, 345, 1721, 1722, 1723, 1724, 1725), (346, 346, 1726, 1727, 1728, 1729, 1730), (347, 347, 1731, 1732, 1733, 1734, 1735), (348, 348, 1736, 1737, 1738, 1739, 1740), (349, 349, 1741, 1742, 1743, 1744, 1745), (350, 350, 1746, 1747, 1748, 1749, 1750), (351, 351, 1751, 1752, 1753, 1754, 1755), (352, 352, 1756, 1757, 1758, 1759, 1760), (353, 353, 1761, 1762, 1763, 1764, 1765), (354, 354, 1766, 1767, 1768, 1769, 1770), (355, 355, 1771, 1772, 1773, 1774, 1775), (356, 356, 1776, 1777, 1778, 1779, 1780), (357, 357, 1781, 1782, 1783, 1784, 1785), (358, 358, 1786, 1787, 1788, 1789, 1790), (359, 359, 1791, 1792, 1793, 1794, 1795), (360, 360, 1796, 1797, 1798, 1799, 1800), (361, 361, 1801, 1802, 1803, 1804, 1805), (362, 362, 1806, 1807, 1808, 1809, 1810), (363, 363, 1811, 1812, 1813, 1814, 1815), (364, 364, 1816, 1817, 1818, 1819, 1820), (365, 365, 1821, 1822, 1823, 1824, 1825), (366, 366, 1826, 1827, 1828, 1829, 1830), (367, 367, 1831, 1832, 1833, 1834, 1835), (368, 368, 1836, 1837, 1838, 1839, 1840), (369, 369, 1841, 1842, 1843, 1844, 1845), (370, 370, 1846, 1847, 1848, 1849, 1850), (371, 371, 1851, 1852, 1853, 1854, 1855), (372, 372, 1856, 1857, 1858, 1859, 1860), (373, 373, 1861, 1862, 1863, 1864, 1865), (374, 374, 1866, 1867, 1868, 1869, 1870), (375, 375, 1871, 1872, 1873, 1874, 1875), (376, 376, 1876, 1877, 1878, 1879, 1880), (377, 377, 1881, 1882, 1883, 1884, 1885), (378, 378, 1886, 1887, 1888, 1889, 1890), (379, 379, 1891, 1892, 1893, 1894, 1895), (380, 380, 1896, 1897, 1898, 1899, 1900), (381, 381, 1901, 1902, 1903, 1904, 1905), (382, 382, 1906, 1907, 1908, 1909, 1910), (383, 383, 1911, 1912, 1913, 1914, 1915), (384, 384, 1916, 1917, 1918, 1919, 1920), (385, 385, 1921, 1922, 1923, 1924, 1925), (386, 386, 1926, 1927, 1928, 1929, 1930), (387, 387, 1931, 1932, 1933, 1934, 1935), (388, 388, 1936, 1937, 1938, 1939, 1940), (389, 389, 1941, 1942, 1943, 1944, 1945), (390, 390, 1946, 1947, 1948, 1949, 1950), (391, 391, 1951, 1952, 1953, 1954, 1955), (392, 392, 1956, 1957, 1958, 1959, 1960), (393, 393, 1961, 1962, 1963, 1964, 1965), (394, 394, 1966, 1967, 1968, 1969, 1970), (395, 395, 1971, 1972, 1973, 1974, 1975), (396, 396, 1976, 1977, 1978, 1979, 1980), (397, 397, 1981, 1982, 1983, 1984, 1985), (398, 398, 1986, 1987, 1988, 1989, 1990), (399, 399, 1991, 1992, 1993, 1994, 1995), (400, 400, 1996, 1997, 1998, 1999, 2000), (401, 401, 2001, 2002, 2003, 2004, 2005), (402, 402, 2006, 2007, 2008, 2009, 2010), (403, 403, 2011, 2012, 2013, 2014, 2015), (404, 404, 2016, 2017, 2018, 2019, 2020), (405, 405, 2021, 2022, 2023, 2024, 2025), (406, 406, 2026, 2027, 2028, 2029, 2030), (407, 407, 2031, 2032, 2033, 2034, 2035), (408, 408, 2036, 2037, 2038, 2039, 2040), (409, 409, 2041, 2042, 2043, 2044, 2045), (410, 410, 2046, 2047, 2048, 2049, 2050), (411, 411, 2051, 2052, 2053, 2054, 2055), (412, 412, 2056, 2057, 2058, 2059, 2060), (413, 413, 2061, 2062, 2063, 2064, 2065), (414, 414, 2066, 2067, 2068, 2069, 2070), (415, 415, 2071, 2072, 2073, 2074, 2075), (416, 416, 2076, 2077, 2078, 2079, 2080), (417, 417, 2081, 2082, 2083, 2084, 2085), (418, 418, 2086, 2087, 2088, 2089, 2090), (419, 419, 2091, 2092, 2093, 2094, 2095), (420, 420, 2096, 2097, 2098, 2099, 2100), (421, 421, 2101, 2102, 2103, 2104, 2105), (422, 422, 2106, 2107, 2108, 2109, 2110), (423, 423, 2111, 2112, 2113, 2114, 2115), (424, 424, 2116, 2117, 2118, 2119, 2120), (425, 425, 2121, 2122, 2123, 2124, 2125), (426, 426, 2126, 2127, 2128, 2129, 2130), (427, 427, 2131, 2132, 2133, 2134, 2135), (428, 428, 2136, 2137, 2138, 2139, 2140), (429, 429, 2141, 2142, 2143, 2144, 2145), (430, 430, 2146, 2147, 2148, 2149, 2150), (431, 431, 2151, 2152, 2153, 2154, 2155), (432, 432, 2156, 2157, 2158, 2159, 2160); -- -------------------------------------------------------- -- -- Structure de la table `tablesimilarrprime` -- DROP TABLE IF EXISTS `tablesimilarrprime`; CREATE TABLE IF NOT EXISTS `tablesimilarrprime` ( `id` int(11) NOT NULL AUTO_INCREMENT, `idPair` int(11) NOT NULL, `idAttribut1` int(11) DEFAULT NULL, `idAttribut2` int(11) DEFAULT NULL, `idAttribut3` int(11) DEFAULT NULL, `idAttribut4` int(11) DEFAULT NULL, `idAttribut5` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=433 DEFAULT CHARSET=latin1; -- -- Contenu de la table `tablesimilarrprime` -- INSERT INTO `tablesimilarrprime` (`id`, `idPair`, `idAttribut1`, `idAttribut2`, `idAttribut3`, `idAttribut4`, `idAttribut5`) VALUES (1, 0, 1, 2, 3, 4, -1), (2, 0, -1, -1, -1, -1, -1), (3, 0, -1, -1, -1, -1, -1), (4, 0, -1, -1, -1, -1, -1), (5, 0, -1, -1, 23, -1, -1), (6, 0, -1, -1, -1, -1, -1), (7, 0, -1, -1, 33, -1, -1), (8, 0, -1, -1, -1, -1, -1), (9, 0, -1, -1, -1, -1, -1), (10, 0, -1, -1, -1, -1, -1), (11, 0, -1, -1, 53, -1, -1), (12, 0, -1, 57, -1, -1, -1), (13, 0, -1, -1, 63, -1, -1), (14, 0, -1, -1, 68, -1, 70), (15, 0, -1, 72, -1, -1, -1), (16, 0, -1, -1, -1, -1, -1), (17, 0, -1, -1, 83, -1, -1), (18, 0, -1, -1, -1, -1, -1), (19, 0, -1, -1, -1, -1, -1), (20, 0, -1, -1, 98, -1, -1), (21, 0, -1, -1, -1, -1, -1), (22, 0, -1, -1, -1, -1, 110), (23, 0, -1, -1, -1, -1, -1), (24, 0, -1, -1, -1, -1, -1), (25, 0, -1, -1, -1, -1, -1), (26, 0, -1, -1, -1, -1, -1), (27, 0, -1, -1, -1, -1, -1), (28, 0, -1, -1, -1, -1, -1), (29, 0, -1, -1, -1, -1, 145), (30, 0, -1, -1, -1, -1, -1), (31, 0, -1, -1, -1, -1, -1), (32, 0, -1, -1, -1, -1, -1), (33, 0, -1, -1, -1, -1, 165), (34, 0, -1, -1, -1, -1, 170), (35, 0, -1, -1, -1, -1, -1), (36, 0, -1, -1, -1, -1, -1), (37, 0, -1, -1, -1, -1, -1), (38, 0, -1, -1, -1, -1, -1), (39, 0, -1, -1, -1, -1, -1), (40, 0, -1, -1, -1, -1, -1), (41, 0, -1, -1, -1, -1, -1), (42, 0, -1, -1, -1, -1, -1), (43, 0, -1, -1, -1, -1, -1), (44, 0, -1, -1, -1, -1, 220), (45, 0, -1, -1, -1, -1, -1), (46, 0, -1, -1, -1, -1, -1), (47, 0, -1, -1, -1, -1, -1), (48, 0, -1, -1, -1, -1, -1), (49, 0, -1, -1, -1, -1, 245), (50, 0, -1, -1, -1, -1, -1), (51, 0, -1, -1, -1, -1, -1), (52, 0, -1, -1, -1, -1, -1), (53, 0, -1, -1, -1, -1, 265), (54, 0, -1, -1, -1, -1, -1), (55, 0, -1, -1, -1, -1, -1), (56, 0, -1, -1, -1, -1, -1), (57, 0, -1, -1, -1, -1, -1), (58, 0, -1, -1, -1, -1, 290), (59, 0, -1, -1, -1, -1, -1), (60, 0, -1, -1, -1, -1, -1), (61, 0, -1, -1, -1, -1, -1), (62, 0, -1, -1, -1, -1, -1), (63, 0, -1, -1, -1, -1, -1), (64, 0, -1, -1, -1, -1, -1), (65, 0, -1, -1, -1, -1, -1), (66, 0, -1, -1, -1, -1, -1), (67, 0, -1, -1, -1, -1, -1), (68, 0, -1, -1, -1, -1, -1), (69, 0, -1, -1, -1, -1, -1), (70, 0, -1, -1, -1, -1, -1), (71, 0, -1, -1, -1, -1, -1), (72, 0, -1, -1, -1, -1, -1), (73, 0, -1, -1, -1, -1, -1), (74, 0, -1, -1, -1, -1, -1), (75, 0, -1, -1, -1, -1, 375), (76, 0, -1, -1, -1, -1, -1), (77, 0, -1, -1, -1, -1, -1), (78, 0, -1, -1, -1, -1, -1), (79, 0, -1, -1, -1, -1, -1), (80, 0, -1, -1, -1, -1, -1), (81, 0, -1, -1, -1, -1, -1), (82, 0, -1, -1, -1, -1, -1), (83, 0, -1, -1, -1, -1, -1), (84, 0, -1, -1, -1, -1, 420), (85, 0, -1, -1, -1, -1, -1), (86, 0, -1, -1, -1, -1, 430), (87, 0, -1, -1, -1, -1, -1), (88, 0, -1, -1, -1, -1, -1), (89, 0, -1, -1, -1, -1, -1), (90, 0, -1, -1, -1, -1, -1), (91, 0, -1, -1, -1, -1, -1), (92, 0, -1, -1, -1, -1, -1), (93, 0, -1, -1, -1, -1, -1), (94, 0, -1, -1, -1, -1, 470), (95, 0, -1, -1, -1, -1, -1), (96, 0, -1, -1, -1, -1, -1), (97, 0, -1, -1, -1, -1, -1), (98, 0, -1, -1, -1, -1, -1), (99, 0, -1, -1, -1, -1, -1), (100, 0, -1, -1, -1, -1, -1), (101, 0, -1, -1, -1, -1, -1), (102, 0, -1, -1, -1, -1, -1), (103, 0, -1, -1, -1, -1, -1), (104, 0, -1, -1, -1, -1, -1), (105, 0, -1, -1, -1, -1, -1), (106, 0, -1, -1, -1, -1, -1), (107, 0, -1, -1, -1, -1, -1), (108, 0, -1, -1, -1, -1, -1), (109, 0, -1, -1, -1, -1, -1), (110, 0, -1, -1, -1, -1, -1), (111, 0, -1, -1, -1, -1, -1), (112, 0, -1, -1, -1, -1, 560), (113, 0, -1, -1, -1, -1, 565), (114, 0, -1, -1, 568, -1, -1), (115, 0, -1, -1, -1, -1, 575), (116, 0, -1, -1, 578, -1, 580), (117, 0, -1, -1, 583, 584, -1), (118, 0, -1, -1, 588, -1, -1), (119, 0, -1, -1, 593, -1, 595), (120, 0, -1, -1, 598, 599, -1), (121, 0, -1, -1, -1, 604, 605), (122, 0, -1, -1, 608, -1, -1), (123, 0, -1, -1, 613, -1, 615), (124, 0, -1, -1, -1, 619, 620), (125, 0, -1, -1, 623, 624, 625), (126, 0, -1, -1, 628, -1, 630), (127, 0, -1, -1, 633, 634, -1), (128, 0, -1, -1, 638, 639, 640), (129, 0, -1, -1, 643, -1, -1), (130, 0, -1, -1, 648, -1, 650), (131, 0, -1, -1, 653, 654, 655), (132, 0, -1, -1, -1, -1, 660), (133, 0, -1, -1, 663, -1, 665), (134, 0, -1, -1, 668, -1, -1), (135, 0, -1, -1, 673, -1, 675), (136, 0, -1, -1, -1, -1, 680), (137, 0, -1, -1, 683, -1, 685), (138, 0, -1, -1, 688, -1, -1), (139, 0, -1, -1, 693, -1, 695), (140, 0, -1, -1, 698, -1, 700), (141, 0, -1, -1, 703, 704, 705), (142, 0, -1, -1, 708, -1, 710), (143, 0, -1, -1, -1, -1, 715), (144, 0, -1, -1, -1, -1, -1), (145, 0, -1, -1, -1, -1, 725), (146, 0, -1, -1, -1, -1, 730), (147, 0, -1, -1, -1, -1, 735), (148, 0, -1, -1, -1, -1, 740), (149, 0, -1, -1, -1, -1, -1), (150, 0, -1, -1, -1, -1, 750), (151, 0, -1, -1, -1, -1, 755), (152, 0, -1, -1, -1, -1, -1), (153, 0, -1, -1, -1, -1, -1), (154, 0, -1, -1, -1, -1, 770), (155, 0, -1, -1, -1, -1, 775), (156, 0, -1, -1, -1, -1, -1), (157, 0, -1, -1, -1, -1, -1), (158, 0, -1, -1, -1, -1, -1), (159, 0, -1, -1, -1, -1, -1), (160, 0, -1, -1, -1, -1, -1), (161, 0, -1, -1, -1, -1, -1), (162, 0, -1, -1, -1, -1, -1), (163, 0, -1, -1, -1, -1, -1), (164, 0, -1, -1, -1, -1, -1), (165, 0, -1, -1, -1, -1, -1), (166, 0, -1, -1, -1, -1, 830), (167, 0, -1, -1, -1, -1, 835), (168, 0, -1, -1, -1, -1, -1), (169, 0, -1, -1, -1, -1, 845), (170, 0, -1, -1, -1, -1, 850), (171, 0, -1, -1, -1, -1, -1), (172, 0, -1, -1, -1, -1, 860), (173, 0, -1, -1, -1, -1, 865), (174, 0, -1, -1, -1, -1, 870), (175, 0, -1, -1, -1, -1, -1), (176, 0, -1, -1, -1, -1, 880), (177, 0, -1, -1, -1, -1, 885), (178, 0, -1, -1, -1, -1, 890), (179, 0, -1, -1, -1, -1, -1), (180, 0, -1, -1, -1, -1, 900), (181, 0, -1, -1, -1, -1, -1), (182, 0, -1, -1, -1, -1, 910), (183, 0, -1, -1, -1, -1, 915), (184, 0, -1, -1, -1, -1, -1), (185, 0, -1, -1, -1, -1, 925), (186, 0, -1, -1, -1, -1, 930), (187, 0, -1, -1, -1, -1, 935), (188, 0, -1, -1, -1, -1, 940), (189, 0, -1, -1, -1, -1, 945), (190, 0, -1, -1, -1, -1, 950), (191, 0, -1, -1, -1, -1, 955), (192, 0, -1, -1, -1, -1, -1), (193, 0, -1, -1, -1, -1, 965), (194, 0, -1, -1, -1, -1, 970), (195, 0, -1, -1, -1, -1, -1), (196, 0, -1, -1, -1, -1, -1), (197, 0, -1, -1, -1, -1, -1), (198, 0, -1, -1, -1, -1, 990), (199, 0, -1, -1, -1, -1, -1), (200, 0, -1, -1, -1, -1, -1), (201, 0, -1, -1, -1, -1, 1005), (202, 0, -1, -1, -1, -1, -1), (203, 0, -1, -1, -1, -1, -1), (204, 0, -1, -1, -1, -1, 1020), (205, 0, -1, -1, -1, -1, -1), (206, 0, -1, -1, -1, -1, 1030), (207, 0, -1, -1, -1, -1, 1035), (208, 0, -1, -1, -1, -1, -1), (209, 0, -1, -1, -1, -1, 1045), (210, 0, -1, -1, -1, -1, -1), (211, 0, -1, -1, -1, -1, 1055), (212, 0, -1, -1, -1, -1, 1060), (213, 0, -1, -1, -1, -1, 1065), (214, 0, -1, -1, -1, -1, 1070), (215, 0, -1, -1, -1, -1, 1075), (216, 0, -1, -1, -1, -1, 1080), (217, 0, -1, -1, -1, -1, -1), (218, 0, -1, -1, -1, -1, -1), (219, 0, -1, -1, -1, -1, 1095), (220, 0, -1, -1, -1, -1, -1), (221, 0, -1, -1, -1, -1, -1), (222, 0, -1, -1, -1, -1, 1110), (223, 0, -1, -1, -1, -1, -1), (224, 0, -1, -1, -1, -1, 1120), (225, 0, -1, -1, -1, -1, 1125), (226, 0, -1, -1, -1, -1, 1130), (227, 0, -1, -1, -1, -1, -1), (228, 0, -1, -1, -1, -1, -1), (229, 0, -1, -1, -1, -1, -1), (230, 0, -1, -1, -1, -1, 1150), (231, 0, -1, -1, -1, -1, 1155), (232, 0, -1, -1, -1, -1, 1160), (233, 0, -1, -1, -1, -1, -1), (234, 0, -1, -1, -1, -1, -1), (235, 0, -1, -1, -1, -1, 1175), (236, 0, -1, -1, -1, -1, -1), (237, 0, -1, -1, -1, -1, 1185), (238, 0, -1, -1, -1, -1, 1190), (239, 0, -1, -1, -1, -1, -1), (240, 0, -1, -1, -1, -1, -1), (241, 0, -1, -1, -1, -1, -1), (242, 0, -1, -1, -1, -1, -1), (243, 0, -1, -1, -1, -1, 1215), (244, 0, -1, -1, -1, -1, 1220), (245, 0, -1, -1, -1, -1, -1), (246, 0, -1, -1, -1, -1, -1), (247, 0, -1, -1, -1, -1, 1235), (248, 0, -1, -1, -1, -1, 1240), (249, 0, -1, -1, -1, -1, 1245), (250, 0, -1, -1, -1, -1, 1250), (251, 0, -1, -1, -1, -1, -1), (252, 0, -1, -1, -1, -1, -1), (253, 0, -1, -1, -1, -1, -1), (254, 0, -1, -1, -1, -1, -1), (255, 0, -1, -1, -1, -1, -1), (256, 0, -1, -1, -1, -1, 1280), (257, 0, -1, -1, -1, -1, 1285), (258, 0, -1, -1, -1, -1, 1290), (259, 0, -1, -1, -1, -1, -1), (260, 0, -1, -1, -1, -1, -1), (261, 0, -1, -1, -1, -1, -1), (262, 0, -1, -1, -1, -1, 1310), (263, 0, -1, -1, -1, -1, 1315), (264, 0, -1, -1, -1, -1, 1320), (265, 0, -1, -1, -1, -1, -1), (266, 0, -1, -1, -1, -1, -1), (267, 0, -1, -1, -1, -1, -1), (268, 0, -1, -1, -1, -1, 1340), (269, 0, -1, -1, -1, -1, 1345), (270, 0, -1, -1, -1, -1, 1350), (271, 0, -1, -1, -1, -1, -1), (272, 0, -1, -1, -1, -1, -1), (273, 0, -1, -1, -1, -1, -1), (274, 0, -1, -1, -1, -1, -1), (275, 0, -1, -1, -1, -1, -1), (276, 0, -1, -1, -1, -1, -1), (277, 0, -1, -1, -1, -1, -1), (278, 0, -1, -1, -1, -1, 1390), (279, 0, -1, -1, -1, -1, -1), (280, 0, -1, -1, -1, -1, -1), (281, 0, -1, -1, -1, -1, -1), (282, 0, -1, -1, -1, -1, 1410), (283, 0, -1, -1, -1, -1, 1415), (284, 0, -1, -1, -1, -1, -1), (285, 0, -1, -1, -1, -1, -1), (286, 0, -1, -1, -1, -1, -1), (287, 0, -1, -1, -1, -1, 1435), (288, 0, -1, -1, -1, -1, -1), (289, 0, -1, -1, -1, -1, 1445), (290, 0, -1, -1, -1, -1, 1450), (291, 0, -1, -1, -1, -1, -1), (292, 0, -1, -1, -1, 1459, -1), (293, 0, -1, -1, -1, -1, 1465), (294, 0, -1, -1, -1, -1, 1470), (295, 0, -1, -1, -1, -1, 1475), (296, 0, -1, -1, -1, -1, -1), (297, 0, -1, -1, -1, -1, 1485), (298, 0, -1, -1, -1, -1, 1490), (299, 0, -1, -1, -1, -1, -1), (300, 0, -1, -1, -1, -1, -1), (301, 0, -1, -1, -1, -1, 1505), (302, 0, -1, -1, -1, -1, -1), (303, 0, -1, -1, -1, -1, 1515), (304, 0, -1, -1, -1, -1, -1), (305, 0, -1, -1, -1, -1, -1), (306, 0, -1, -1, -1, -1, 1530), (307, 0, -1, -1, -1, -1, 1535), (308, 0, -1, -1, -1, -1, 1540), (309, 0, -1, -1, -1, -1, -1), (310, 0, -1, -1, -1, -1, -1), (311, 0, -1, -1, -1, -1, 1555), (312, 0, -1, -1, -1, -1, 1560), (313, 0, -1, -1, -1, -1, -1), (314, 0, -1, -1, -1, -1, 1570), (315, 0, -1, -1, -1, -1, 1575), (316, 0, -1, -1, -1, -1, -1), (317, 0, -1, -1, -1, -1, 1585), (318, 0, -1, -1, -1, -1, -1), (319, 0, -1, -1, -1, -1, 1595), (320, 0, -1, -1, -1, -1, 1600), (321, 0, -1, -1, -1, -1, -1), (322, 0, -1, -1, -1, -1, -1), (323, 0, -1, -1, -1, -1, 1615), (324, 0, -1, -1, -1, -1, 1620), (325, 0, -1, -1, -1, -1, -1), (326, 0, -1, -1, -1, -1, -1), (327, 0, -1, -1, -1, -1, -1), (328, 0, -1, -1, -1, -1, 1640), (329, 0, -1, -1, -1, -1, -1), (330, 0, -1, -1, -1, -1, -1), (331, 0, -1, -1, -1, -1, 1655), (332, 0, -1, -1, -1, -1, -1), (333, 0, -1, -1, -1, -1, -1), (334, 0, -1, -1, -1, -1, -1), (335, 0, -1, -1, -1, -1, -1), (336, 0, -1, -1, -1, -1, -1), (337, 0, -1, -1, -1, -1, -1), (338, 0, -1, -1, -1, -1, 1690), (339, 0, -1, -1, -1, -1, 1695), (340, 0, -1, -1, -1, -1, -1), (341, 0, -1, -1, -1, -1, -1), (342, 0, -1, -1, -1, -1, -1), (343, 0, -1, -1, -1, -1, -1), (344, 0, -1, -1, -1, -1, 1720), (345, 0, -1, -1, -1, -1, -1), (346, 0, -1, -1, -1, -1, -1), (347, 0, -1, -1, -1, -1, -1), (348, 0, -1, -1, -1, -1, -1), (349, 0, -1, -1, -1, -1, -1), (350, 0, -1, -1, 1748, -1, -1), (351, 0, -1, -1, -1, -1, -1), (352, 0, -1, -1, -1, -1, -1), (353, 0, -1, -1, -1, -1, -1), (354, 0, -1, -1, -1, -1, -1), (355, 0, -1, -1, -1, -1, -1), (356, 0, -1, -1, 1778, -1, -1), (357, 0, -1, -1, -1, -1, 1785), (358, 0, -1, -1, -1, -1, 1790), (359, 0, -1, -1, -1, -1, -1), (360, 0, -1, -1, -1, -1, -1), (361, 0, -1, -1, -1, -1, -1), (362, 0, -1, -1, -1, -1, -1), (363, 0, -1, -1, -1, -1, -1), (364, 0, -1, -1, -1, -1, 1820), (365, 0, -1, -1, -1, -1, -1), (366, 0, -1, -1, -1, -1, -1), (367, 0, -1, -1, -1, -1, -1), (368, 0, -1, -1, -1, -1, -1), (369, 0, -1, -1, -1, -1, 1845), (370, 0, -1, -1, -1, -1, 1850), (371, 0, -1, -1, -1, -1, -1), (372, 0, -1, -1, -1, -1, -1), (373, 0, -1, -1, -1, -1, -1), (374, 0, -1, -1, -1, -1, -1), (375, 0, -1, -1, -1, -1, 1875), (376, 0, -1, -1, -1, -1, 1880), (377, 0, -1, -1, -1, -1, -1), (378, 0, -1, -1, -1, -1, -1), (379, 0, -1, -1, -1, -1, -1), (380, 0, -1, -1, -1, -1, -1), (381, 0, -1, -1, -1, -1, -1), (382, 0, -1, -1, -1, -1, -1), (383, 0, -1, -1, -1, -1, -1), (384, 0, -1, -1, -1, -1, -1), (385, 0, -1, -1, -1, -1, -1), (386, 0, -1, -1, -1, -1, 1930), (387, 0, -1, -1, -1, -1, 1935), (388, 0, -1, -1, -1, -1, -1), (389, 0, -1, -1, -1, -1, -1), (390, 0, -1, -1, -1, -1, 1950), (391, 0, -1, -1, -1, -1, -1), (392, 0, -1, -1, -1, -1, 1960), (393, 0, -1, -1, -1, -1, 1965), (394, 0, -1, -1, -1, -1, -1), (395, 0, -1, -1, -1, -1, -1), (396, 0, -1, -1, -1, -1, -1), (397, 0, -1, -1, -1, -1, -1), (398, 0, -1, -1, -1, -1, -1), (399, 0, -1, -1, -1, -1, -1), (400, 0, -1, -1, -1, -1, -1), (401, 0, -1, -1, -1, -1, 2005), (402, 0, -1, -1, -1, -1, -1), (403, 0, -1, -1, -1, -1, -1), (404, 0, -1, -1, -1, -1, -1), (405, 0, -1, -1, -1, -1, -1), (406, 0, -1, -1, -1, -1, -1), (407, 0, -1, -1, -1, -1, -1), (408, 0, -1, -1, -1, -1, -1), (409, 0, -1, -1, -1, -1, -1), (410, 0, -1, -1, -1, -1, 2050), (411, 0, -1, -1, -1, -1, -1), (412, 0, -1, -1, -1, -1, -1), (413, 0, -1, -1, -1, -1, -1), (414, 0, -1, -1, -1, -1, -1), (415, 0, -1, -1, -1, -1, -1), (416, 0, -1, -1, -1, -1, -1), (417, 0, -1, -1, -1, -1, -1), (418, 0, -1, -1, -1, -1, 2090), (419, 0, -1, -1, -1, -1, 2095), (420, 0, -1, -1, -1, -1, -1), (421, 0, -1, -1, -1, -1, -1), (422, 0, -1, -1, -1, -1, -1), (423, 0, -1, -1, -1, -1, 2115), (424, 0, -1, -1, -1, -1, 2120), (425, 0, -1, -1, -1, -1, -1), (426, 0, -1, -1, -1, -1, -1), (427, 0, -1, -1, -1, -1, 2135), (428, 0, -1, -1, -1, -1, -1), (429, 0, -1, -1, -1, -1, -1), (430, 0, -1, -1, -1, -1, -1), (431, 0, -1, -1, -1, -1, -1), (432, 0, -1, -1, -1, -1, 2160); /*!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 group_id, project_id, group_name, description from tbl_groups where group_id in (%1) order by project_id, group_name
1. Create a package procedure,which would generate *.csv files using ref cursor and dynamic query. Pass only select and from part of a query hardcoded in a procedure body: create or replace PACKAGE XX_DB_COURSE AS PROCEDURE MAIN; PROCEDURE GENERATE_XML_FILE(p_dir VARCHAR2, p_file VARCHAR2); PROCEDURE GENERATE_XML_FILE_PER_ORDER(p_dir VARCHAR2, p_file VARCHAR2, p_customer_id NUMBER, p_order_id NUMBER, p_order_number VARCHAR2, p_total_amount NUMBER); PROCEDURE GENERATE_XML_FILE_USE_JOB; PROCEDURE GENERATE_DYNAMIC_TXT(p_where_clause VARCHAR2); END XX_DB_COURSE; / create or replace PACKAGE BODY XX_DB_COURSE AS C_MAX_LENGTH NUMBER:= 32767; PROCEDURE MAIN IS BEGIN NULL; END; PROCEDURE GENERATE_XML_FILE(p_dir VARCHAR2, p_file VARCHAR2) IS cursor v_data is SELECT t.data_rec.getClobVal() as xml_data FROM ( SELECT XMLELEMENT( "customers", XMLAGG(XMLELEMENT( "customer", XMLFOREST(xc.account_number AS "customer_number", xc.customer_name AS "customer_name", xc.customer_id AS "customer_id" ,( SELECT XMLAGG(XMLELEMENT( "order", XMLFOREST(xo.order_id AS "order_id", xo.order_number AS "order_number", xo.total_amount AS "total_amount",( SELECT XMLAGG(XMLELEMENT( "lines", XMLFOREST(xl.line_id AS "line_id", xl.line_number AS "line_number", xi.name AS "item", xl.unit_price * quantity AS "price", xl.status AS "status") )) FROM xx_order_lines xl, xx_items xi WHERE xo.order_id = xl.order_id and xi.item_id = xl.item_id ) "lines") )) FROM xx_orders xo WHERE xo.customer_id = xc.customer_id ) "orders") )) ) as data_rec FROM xx_customers xc) t; fhandle utl_file.file_type; BEGIN fhandle := utl_file.fopen( p_dir -- File location , p_file -- File name , 'w' -- Open mode: w = write. , C_MAX_LENGTH ); FOR v_data_rec in v_data LOOP utl_file.put(fhandle, v_data_rec.xml_data || CHR(10)); END LOOP; utl_file.fclose(fhandle); END; PROCEDURE GENERATE_XML_FILE_PER_ORDER(p_dir VARCHAR2, p_file VARCHAR2, p_customer_id NUMBER, p_order_id NUMBER, p_order_number VARCHAR2, p_total_amount NUMBER) IS cursor v_data(p_order_id NUMBER) is SELECT t.data_rec.getClobVal() as xml_data FROM ( SELECT XMLELEMENT( "customers", XMLAGG(XMLELEMENT( "customer", XMLFOREST(xc.account_number AS "customer_number", xc.customer_name AS "customer_name", xc.customer_id AS "customer_id" ,( SELECT XMLAGG(XMLELEMENT( "order", XMLFOREST(xo.order_id AS "order_id", xo.order_number AS "order_number", xo.total_amount AS "total_amount",( SELECT XMLAGG(XMLELEMENT( "lines", XMLFOREST(xl.line_id AS "line_id", xl.line_number AS "line_number", xi.name AS "item", xl.unit_price * quantity AS "price", xl.status AS "status") )) FROM xx_order_lines xl, xx_items xi WHERE xo.order_id = xl.order_id and xi.item_id = xl.item_id ) "lines") )) FROM (select p_order_id order_id, p_customer_id customer_id, p_order_number order_number, p_total_amount total_amount from dual) xo WHERE xo.customer_id = xc.customer_id and xo.order_id = p_order_id ) "orders") )) ) as data_rec FROM xx_customers xc where xc.customer_id = p_customer_id) t; fhandle utl_file.file_type; BEGIN DBMS_OUTPUT.PUT_LINE('p_order_id: ' || p_order_id); fhandle := utl_file.fopen( p_dir -- File location , p_file -- File name , 'w' -- Open mode: w = write. , C_MAX_LENGTH ); FOR v_data_rec in v_data(p_order_id) LOOP DBMS_OUTPUT.PUT_LINE(v_data_rec.xml_data); utl_file.put(fhandle, v_data_rec.xml_data || CHR(10)); END LOOP; utl_file.fclose(fhandle); END; PROCEDURE UPDATE_HIST(p_order_id NUMBER, p_customer_id NUMBER) IS BEGIN UPDATE xx_orders_hist SET status = 'S' WHERE order_id = p_order_id AND customer_id = p_customer_id; END; PROCEDURE GENERATE_XML_FILE_USE_JOB IS cursor v_data(p_order_id NUMBER, p_customer_id NUMBER) is SELECT t.data_rec.getClobVal() as xml_data FROM ( SELECT XMLELEMENT( "customers", XMLAGG(XMLELEMENT( "customer", XMLFOREST(xc.account_number AS "customer_number", xc.customer_name AS "customer_name", xc.customer_id AS "customer_id" ,( SELECT XMLAGG(XMLELEMENT( "order", XMLFOREST(xo.order_id AS "order_id", xo.order_number AS "order_number", xo.total_amount AS "total_amount",( SELECT XMLAGG(XMLELEMENT( "lines", XMLFOREST(xl.line_id AS "line_id", xl.line_number AS "line_number", xi.name AS "item", xl.unit_price * quantity AS "price", xl.status AS "status") )) FROM xx_order_lines xl, xx_items xi WHERE xo.order_id = xl.order_id and xi.item_id = xl.item_id ) "lines") )) FROM xx_orders xo WHERE xo.customer_id = xc.customer_id and xo.order_id = p_order_id ) "orders") )) ) as data_rec FROM xx_customers xc where xc.customer_id = p_customer_id) t; fhandle utl_file.file_type; BEGIN FOR v_new_order_rec in (SELECT order_id, customer_id from XX_ORDERS_HIST WHERE status = 'N') LOOP fhandle := utl_file.fopen( 'XX_OUTPUT' -- File location , 'XX_NEW_ORDER_' || v_new_order_rec.order_id || '_' || SYSDATE || '.xml' -- File name , 'w' -- Open mode: w = write. , C_MAX_LENGTH ); FOR v_data_rec in v_data(v_new_order_rec.order_id, v_new_order_rec.customer_id) LOOP DBMS_OUTPUT.PUT_LINE(v_data_rec.xml_data); utl_file.put(fhandle, v_data_rec.xml_data || CHR(10)); END LOOP; update_hist(v_new_order_rec.order_id, v_new_order_rec.customer_id); utl_file.fclose(fhandle); END LOOP; END; PROCEDURE GENERATE_DYNAMIC_TXT(p_where_clause VARCHAR2) IS TYPE cur_type IS REF CURSOR; TYPE row_type IS RECORD (order_id NUMBER, order_number VARCHAR2(100), total_amount NUMBER); v_cursor cur_type; l_sql VARCHAR2(3000):= 'SELECT order_id, order_number, total_amount FROM xx_orders '; l_row_type row_type; fhandle utl_file.file_type; BEGIN l_sql := l_sql || p_where_clause; OPEN v_cursor FOR l_sql; LOOP FETCH v_cursor into l_row_type; EXIT WHEN v_cursor%notfound; fhandle := utl_file.fopen( 'XX_OUTPUT' -- File location , 'XX_DYN_ORDER_' || l_row_type.order_id || '_' || SYSDATE || '.csv' -- File name , 'w' -- Open mode: w = write. , C_MAX_LENGTH ); utl_file.put(fhandle, l_row_type.order_id || ',' || l_row_type.order_number || ',' || l_row_type.total_amount || CHR(10)); utl_file.fclose(fhandle); END LOOP; CLOSE v_cursor; END; END XX_DB_COURSE; / 2. Create a declare statement to run new created procedure and pass WHERE clause as a parameter: DECLARE BEGIN -- XX_DB_COURSE.GENERATE_XML_FILE_USE_JOB; XX_DB_COURSE.GENERATE_DYNAMIC_TXT('where order_id in (1,2)'); END;
CREATE TABLE `system_colortheme_settings` ( `id` int(11) NOT NULL auto_increment, `logo_border` tinyint(4) default NULL, `header_text` varchar(100) default NULL, `theme_id` varchar(30) default NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; insert into system_colortheme_settings(theme_id) values ('blue');
-- phpMyAdmin SQL Dump -- version 5.0.4 -- https://www.phpmyadmin.net/ -- -- Хост: 127.0.0.1:3306 -- Время создания: Окт 17 2021 г., 13:20 -- Версия сервера: 8.0.19 -- Версия PHP: 7.4.14 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 */; -- -- База данных: `project` -- -- -------------------------------------------------------- -- -- Структура таблицы `users` -- CREATE TABLE `users` ( `id` int UNSIGNED NOT NULL, `email` varchar(249) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, `password` varchar(255) CHARACTER SET latin1 COLLATE latin1_general_cs NOT NULL, `username` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` tinyint UNSIGNED NOT NULL DEFAULT '0', `verified` tinyint UNSIGNED NOT NULL DEFAULT '0', `resettable` tinyint UNSIGNED NOT NULL DEFAULT '1', `roles_mask` int UNSIGNED NOT NULL DEFAULT '0', `registered` int UNSIGNED NOT NULL, `last_login` int UNSIGNED DEFAULT NULL, `force_logout` mediumint UNSIGNED NOT NULL DEFAULT '0' ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Дамп данных таблицы `users` -- INSERT INTO `users` (`id`, `email`, `password`, `username`, `status`, `verified`, `resettable`, `roles_mask`, `registered`, `last_login`, `force_logout`) VALUES (1, 'johndoe@gmail.com', '$2y$10$hz8IkEb9acTjvO2oBImCuOeQtH98ZCVZDm0YIEGurNey0bAWbl/Qy', 'John Doe', 0, 1, 1, 0, 1611122995, 1611409894, 1), (3, 'dicaprio@gmail.com', '$2y$10$paAU3.clO1PY5Ka91A8kUeBmF1dRWk58VcuyTpRNy2o9Ztdg1vXca', 'Di', 0, 1, 1, 0, 1611123231, NULL, 1), (25, 'Qqq@qq.qq', '$2y$10$LLYAw.2hrrqp0tvzuPBgfuIyQ/uiyH0J8yZbawSGqHjvrQn3fvq8S', 'Q', 0, 1, 1, 0, 1634465239, NULL, 0), (26, 'supermen@ya.ru', '$2y$10$LlG0Wz1WMjD6BQcmMESDPOMWLG2cp/cSVvDiIitKDpkjqZitmVi0C', 'SuperMen', 0, 1, 1, 0, 1634465330, NULL, 0), (24, 'Serg@ya.ru', '$2y$10$Z3RdxKybwX4x0PTFMq4j2OvR9uIhTYJTfmk12hvxSr/YtwwXKJX9O', 'Serg', 0, 1, 1, 0, 1634465158, NULL, 0), (23, 'sky@in.is', '$2y$10$eJyavrq9sNTfE/POmR/J/O8AvKfWMlDyQrRfnVqMqdOVgx3ciqMyW', 'Sky', 0, 1, 1, 0, 1634465042, NULL, 0), (22, 'webzavhoz@gmail.com', '$2y$10$hioVb1Ddwy8ID8kQ6ugPFOMI7jLguLxnwgOkO.f9d7JGNl6kFaMIO', 'ZavXoz', 0, 1, 1, 1, 1634462659, 1634463698, 0); -- -------------------------------------------------------- -- -- Структура таблицы `users_confirmations` -- CREATE TABLE `users_confirmations` ( `id` int UNSIGNED NOT NULL, `user_id` int UNSIGNED NOT NULL, `email` varchar(249) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, `selector` varchar(16) CHARACTER SET latin1 COLLATE latin1_general_cs NOT NULL, `token` varchar(255) CHARACTER SET latin1 COLLATE latin1_general_cs NOT NULL, `expires` int UNSIGNED NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Структура таблицы `users_data` -- CREATE TABLE `users_data` ( `id` int NOT NULL, `email` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `username` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `job` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `address` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `phone` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `avatar` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT 'img/demo/avatars/avatar-m.png', `status` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT 'online', `vk` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `telegram` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `instagram` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Дамп данных таблицы `users_data` -- INSERT INTO `users_data` (`id`, `email`, `username`, `job`, `address`, `phone`, `avatar`, `status`, `vk`, `telegram`, `instagram`) VALUES (1, 'johndoe@gmail.com', 'John Doe', 'Administrator', 'Irkutsk, Russia', '+7 234 345 23 12', 'upload/avatars/6007c948a9439.png', 'online', NULL, NULL, NULL), (3, 'dicaprio@gmail.com', 'Leonardo Dicaprio', 'Wolf from Wall Street', 'Leonardo Dicaprio', '+7 435 562 54 21', 'upload/avatars/6007ca1fc328a.jpg', 'afk', 'vkontakte', '3454566', 'instagram'), (22, 'webzavhoz@gmail.com', 'ZavXoz', 'Google', 'Silicon Valley', '+2424242424', 'upload/avatars/616bec206d889.JPG', 'online', 'google.com', 'google.com', 'google.com'), (23, 'sky@in.is', 'Sky', 'Sky', 'Israel', '+45673883', 'upload/avatars/616bf512f30f4.png', 'afk', '', '', ''), (24, 'Serg@ya.ru', 'Serg', 'it', 'Moskow', '+5656565477', 'upload/avatars/616bf586ce27d.JPG', 'online', '', '', ''), (25, 'Qqq@qq.qq', 'Q', 'no vork', 'Kiev', '+12345', 'upload/avatars/616bf5d750032.JPG', 'busy', '', '', ''), (26, 'supermen@ya.ru', 'SuperMen', 'World', 'World', '+123', 'upload/avatars/616bf632d47d9.JPG', 'online', '', '', ''); -- -------------------------------------------------------- -- -- Структура таблицы `users_remembered` -- CREATE TABLE `users_remembered` ( `id` bigint UNSIGNED NOT NULL, `user` int UNSIGNED NOT NULL, `selector` varchar(24) CHARACTER SET latin1 COLLATE latin1_general_cs NOT NULL, `token` varchar(255) CHARACTER SET latin1 COLLATE latin1_general_cs NOT NULL, `expires` int UNSIGNED NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Структура таблицы `users_resets` -- CREATE TABLE `users_resets` ( `id` bigint UNSIGNED NOT NULL, `user` int UNSIGNED NOT NULL, `selector` varchar(20) CHARACTER SET latin1 COLLATE latin1_general_cs NOT NULL, `token` varchar(255) CHARACTER SET latin1 COLLATE latin1_general_cs NOT NULL, `expires` int UNSIGNED NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Структура таблицы `users_throttling` -- CREATE TABLE `users_throttling` ( `bucket` varchar(44) CHARACTER SET latin1 COLLATE latin1_general_cs NOT NULL, `tokens` float UNSIGNED NOT NULL, `replenished_at` int UNSIGNED NOT NULL, `expires_at` int UNSIGNED NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Индексы сохранённых таблиц -- -- -- Индексы таблицы `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `email` (`email`); -- -- Индексы таблицы `users_confirmations` -- ALTER TABLE `users_confirmations` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `selector` (`selector`), ADD KEY `email_expires` (`email`,`expires`), ADD KEY `user_id` (`user_id`); -- -- Индексы таблицы `users_data` -- ALTER TABLE `users_data` ADD PRIMARY KEY (`id`); -- -- Индексы таблицы `users_remembered` -- ALTER TABLE `users_remembered` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `selector` (`selector`), ADD KEY `user` (`user`); -- -- Индексы таблицы `users_resets` -- ALTER TABLE `users_resets` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `selector` (`selector`), ADD KEY `user_expires` (`user`,`expires`); -- -- Индексы таблицы `users_throttling` -- ALTER TABLE `users_throttling` ADD PRIMARY KEY (`bucket`), ADD KEY `expires_at` (`expires_at`); -- -- AUTO_INCREMENT для сохранённых таблиц -- -- -- AUTO_INCREMENT для таблицы `users` -- ALTER TABLE `users` MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27; -- -- AUTO_INCREMENT для таблицы `users_confirmations` -- ALTER TABLE `users_confirmations` MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT для таблицы `users_remembered` -- ALTER TABLE `users_remembered` MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT для таблицы `users_resets` -- ALTER TABLE `users_resets` MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT; 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 [ADM].[C_ROL] ( [ID_ROL] INT IDENTITY (1, 1) NOT NULL, [CL_ROL] NVARCHAR (30) NOT NULL, [NB_ROL] NVARCHAR (100) NOT NULL, [XML_AUTORIZACION] XML NULL, [FG_ACTIVO] BIT CONSTRAINT [DF_C_ROL_FG_ACTIVO] DEFAULT ((1)) NOT NULL, [FE_INACTIVO] DATETIME NULL, [FE_CREACION] DATETIME NOT NULL, [FE_MODIFICACION] DATETIME NULL, [CL_USUARIO_APP_CREA] NVARCHAR (50) NOT NULL, [CL_USUARIO_APP_MODIFICA] NVARCHAR (50) NULL, [NB_PROGRAMA_CREA] NVARCHAR (50) NOT NULL, [NB_PROGRAMA_MODIFICA] NVARCHAR (50) NULL, CONSTRAINT [PK_C_ROL] PRIMARY KEY CLUSTERED ([ID_ROL] ASC), CONSTRAINT [UC_CL_ROL] UNIQUE NONCLUSTERED ([CL_ROL] ASC), CONSTRAINT [UC_NB_ROL] UNIQUE NONCLUSTERED ([NB_ROL] ASC) );
-- 데이터 초기화 drop table sadare_user cascade constraints; drop table sadare_category1 cascade constraints; drop sequence seq_sadare_category1; drop table sadare_category2 cascade constraints; drop sequence seq_sadare_category2; drop table sadare_category3 cascade constraints; drop sequence seq_sadare_category3; drop table sadare_product cascade constraints; drop sequence seq_sadare_product; drop table sadare_reply cascade constraints; drop sequence seq_sadare_reply; drop table sadare_wish cascade constraints; drop sequence seq_sadare_wish; drop table sadare_notice; drop sequence seq_sadare_notice; drop table sadare_alram; drop sequence seq_sadare_alram; drop table sadare_report; drop sequence seq_sadare_report; -- 작성자 : 한병조 create table sadare_user( user_id VARCHAR2(20) PRIMARY KEY, user_pwd VARCHAR2(20) NOT NULL, user_name VARCHAR2(50) NOT NULL, user_nickname VARCHAR2(50), user_email VARCHAR2(50) NOT NULL, user_tel VARCHAR2(20), user_postcode VARCHAR2(50), user_addr1 VARCHAR2(255), user_addr2 VARCHAR2(255), user_birth date, user_regdate date, user_score number, user_scorecount number, user_type number ); -- 작성자 황선민 create table sadare_category1( category_num number primary key, category_name varchar2(50) not null ); create sequence seq_sadare_category1; create table sadare_category2( category_num number primary key, category_name varchar2(50) not null, parent_category_num number references sadare_category1(category_num) on delete cascade ); create sequence seq_sadare_category2; create table sadare_category3( category_num number primary key, category_name varchar2(50) not null, parent_category_num number references sadare_category2(category_num) on delete cascade ); create sequence seq_sadare_category3; -- 작성자 한병조 create table sadare_product( product_num number primary key, product_name varchar2(50) not null, product_price number not null, product_info varchar2(500), category1_num number references sadare_category1(category_num), category2_num number references sadare_category2(category_num), category3_num number references sadare_category3(category_num), user_id varchar2(20) references sadare_user(user_id) on delete cascade, product_add_date date, product_hit number default 0, product_result number default 1 ); create sequence seq_sadare_product; -- 작성자 한병조 create table sadare_reply( reply_num number primary key, user_id varchar2(50) references sadare_user(user_id) on delete cascade, reply_content varchar2(1000), product_num number references sadare_product(product_num) on delete cascade, reply_date date not null, parent_reply_num number ); create sequence seq_sadare_reply; --작성자 정다영 create table sadare_wish( wish_num number primary key, product_num number references sadare_product(product_num) on delete cascade, user_id varchar2(20) references sadare_user(user_id) on delete cascade ); create sequence seq_sadare_wish; --작성자 배건섭 create table sadare_notice( notice_num number primary key, notice_title varchar2(50) not null, notice_content varchar2(500) not null, notice_date date, notice_hits number default 0 ); create sequence seq_sadare_notice; --작성자 한병조 create table sadare_alram( alram_num number primary key, user_id varchar2(20) references sadare_user(user_id) on delete cascade, product_num number references sadare_product(product_num) on delete cascade, alram_type number not null, -- 1: 판매글에 댓글 등록 -- 2: 관심글 상태 변경 alram_count number not null, alram_add_date date not null, alram_href varchar2(200) not null, alram_read number not null ); create sequence seq_sadare_alram; --작성자 정다영 create table sadare_report( report_num number primary key, product_num number not null, report_title varchar2(50) not null, report_content varchar2(500) not null, report_date date, report_writer_id varchar2(20) references sadare_user(user_id) on delete cascade, report_user_id varchar2(20) ); CREATE SEQUENCE seq_sadare_report; -- 카테고리에 기본값 추가 insert into sadare_category1 values (0, 'a'); insert into sadare_category2 values (0, 'a', 0); insert into sadare_category3 values (0, 'a', 0); commit;
SET SERVEROUTPUT ON DECLARE v_tab_exists NUMBER := 0; v_col_exists NUMBER := 0; BEGIN -- check if table is already existing SELECT 1 INTO v_tab_exists FROM all_tables WHERE table_name = 'GIPI_WGRP_ITEMS_BENEFICIARY' AND owner = 'CPI'; IF v_tab_exists = 1 THEN -- include all columns of the table BEGIN SELECT 1 INTO v_col_exists FROM all_tab_cols WHERE table_name = 'GIPI_WGRP_ITEMS_BENEFICIARY' AND owner = 'CPI' AND column_name = 'PAR_ID'; IF v_col_exists = 1 THEN -- modify column if table and column are already existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary MODIFY par_id NUMBER(12)'); dbms_output.put_line('Column PAR_ID has been modified to NUMBER(12)'); END IF; EXCEPTION WHEN NO_DATA_FOUND THEN -- add column if column is not yet existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary ADD par_id NUMBER(12)'); dbms_output.put_line('Column PAR_ID has been added to GIPI_WGRP_ITEMS_BENEFICIARY'); END; BEGIN SELECT 1 INTO v_col_exists FROM all_tab_cols WHERE table_name = 'GIPI_WGRP_ITEMS_BENEFICIARY' AND owner = 'CPI' AND column_name = 'ITEM_NO'; IF v_col_exists = 1 THEN -- modify column if table and column are already existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary MODIFY item_no NUMBER(9)'); dbms_output.put_line('Column ITEM_NO has been modified to NUMBER(9)'); END IF; EXCEPTION WHEN NO_DATA_FOUND THEN -- add column if column is not yet existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary ADD item_no NUMBER(9)'); dbms_output.put_line('Column ITEM_NO has been added to GIPI_WGRP_ITEMS_BENEFICIARY'); END; BEGIN SELECT 1 INTO v_col_exists FROM all_tab_cols WHERE table_name = 'GIPI_WGRP_ITEMS_BENEFICIARY' AND owner = 'CPI' AND column_name = 'GROUPED_ITEM_NO'; IF v_col_exists = 1 THEN -- modify column if table and column are already existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary MODIFY grouped_item_no NUMBER(9)'); dbms_output.put_line('Column GROUPED_ITEM_NO has been modified to NUMBER(9)'); END IF; EXCEPTION WHEN NO_DATA_FOUND THEN -- add column if column is not yet existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary ADD grouped_item_no NUMBER(9)'); dbms_output.put_line('Column GROUPED_ITEM_NO has been added to GIPI_WGRP_ITEMS_BENEFICIARY'); END; BEGIN SELECT 1 INTO v_col_exists FROM all_tab_cols WHERE table_name = 'GIPI_WGRP_ITEMS_BENEFICIARY' AND owner = 'CPI' AND column_name = 'BENEFICIARY_NO'; IF v_col_exists = 1 THEN -- modify column if table and column are already existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary MODIFY beneficiary_no NUMBER(5)'); dbms_output.put_line('Column BENEFICIARY_NO has been modified to NUMBER(5)'); END IF; EXCEPTION WHEN NO_DATA_FOUND THEN -- add column if column is not yet existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary ADD beneficiary_no NUMBER(5)'); dbms_output.put_line('Column BENEFICIARY_NO has been added to GIPI_WGRP_ITEMS_BENEFICIARY'); END; BEGIN SELECT 1 INTO v_col_exists FROM all_tab_cols WHERE table_name = 'GIPI_WGRP_ITEMS_BENEFICIARY' AND owner = 'CPI' AND column_name = 'BENEFICIARY_NAME'; IF v_col_exists = 1 THEN -- modify column if table and column are already existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary MODIFY beneficiary_name VARCHAR2(30)'); dbms_output.put_line('Column BENEFICIARY_NAME has been modified to VARCHAR2(30)'); END IF; EXCEPTION WHEN NO_DATA_FOUND THEN -- add column if column is not yet existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary ADD beneficiary_name VARCHAR2(30)'); dbms_output.put_line('Column BENEFICIARY_NAME has been added to GIPI_WGRP_ITEMS_BENEFICIARY'); END; BEGIN SELECT 1 INTO v_col_exists FROM all_tab_cols WHERE table_name = 'GIPI_WGRP_ITEMS_BENEFICIARY' AND owner = 'CPI' AND column_name = 'BENEFICIARY_ADDR'; IF v_col_exists = 1 THEN -- modify column if table and column are already existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary MODIFY beneficiary_addr VARCHAR2(50)'); dbms_output.put_line('Column BENEFICIARY_ADDR has been modified to VARCHAR2(50)'); END IF; EXCEPTION WHEN NO_DATA_FOUND THEN -- add column if column is not yet existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary ADD beneficiary_addr VARCHAR2(50)'); dbms_output.put_line('Column BENEFICIARY_ADDR has been added to GIPI_WGRP_ITEMS_BENEFICIARY'); END; BEGIN SELECT 1 INTO v_col_exists FROM all_tab_cols WHERE table_name = 'GIPI_WGRP_ITEMS_BENEFICIARY' AND owner = 'CPI' AND column_name = 'RELATION'; IF v_col_exists = 1 THEN -- modify column if table and column are already existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary MODIFY relation VARCHAR2(15)'); dbms_output.put_line('Column RELATION has been modified to VARCHAR2(15)'); END IF; EXCEPTION WHEN NO_DATA_FOUND THEN -- add column if column is not yet existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary ADD relation VARCHAR2(15)'); dbms_output.put_line('Column RELATION has been added to GIPI_WGRP_ITEMS_BENEFICIARY'); END; BEGIN SELECT 1 INTO v_col_exists FROM all_tab_cols WHERE table_name = 'GIPI_WGRP_ITEMS_BENEFICIARY' AND owner = 'CPI' AND column_name = 'DATE_OF_BIRTH'; IF v_col_exists = 1 THEN -- modify column if table and column are already existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary MODIFY date_of_birth DATE'); dbms_output.put_line('Column DATE_OF_BIRTH has been modified to DATE'); END IF; EXCEPTION WHEN NO_DATA_FOUND THEN -- add column if column is not yet existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary ADD date_of_birth DATE'); dbms_output.put_line('Column DATE_OF_BIRTH has been added to GIPI_WGRP_ITEMS_BENEFICIARY'); END; BEGIN SELECT 1 INTO v_col_exists FROM all_tab_cols WHERE table_name = 'GIPI_WGRP_ITEMS_BENEFICIARY' AND owner = 'CPI' AND column_name = 'AGE'; IF v_col_exists = 1 THEN -- modify column if table and column are already existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary MODIFY age NUMBER(3)'); dbms_output.put_line('Column AGE has been modified to NUMBER(3)'); END IF; EXCEPTION WHEN NO_DATA_FOUND THEN -- add column if column is not yet existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary ADD age NUMBER(3)'); dbms_output.put_line('Column AGE has been added to GIPI_WGRP_ITEMS_BENEFICIARY'); END; BEGIN SELECT 1 INTO v_col_exists FROM all_tab_cols WHERE table_name = 'GIPI_WGRP_ITEMS_BENEFICIARY' AND owner = 'CPI' AND column_name = 'CIVIL_STATUS'; IF v_col_exists = 1 THEN -- modify column if table and column are already existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary MODIFY civil_status VARCHAR2(1)'); dbms_output.put_line('Column CIVIL_STATUS has been modified to VARCHAR2(1)'); END IF; EXCEPTION WHEN NO_DATA_FOUND THEN -- add column if column is not yet existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary ADD civil_status VARCHAR2(1)'); dbms_output.put_line('Column CIVIL_STATUS has been added to GIPI_WGRP_ITEMS_BENEFICIARY'); END; BEGIN SELECT 1 INTO v_col_exists FROM all_tab_cols WHERE table_name = 'GIPI_WGRP_ITEMS_BENEFICIARY' AND owner = 'CPI' AND column_name = 'SEX'; IF v_col_exists = 1 THEN -- modify column if table and column are already existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary MODIFY sex VARCHAR2(1)'); dbms_output.put_line('Column SEX has been modified to VARCHAR2(1)'); END IF; EXCEPTION WHEN NO_DATA_FOUND THEN -- add column if column is not yet existing EXECUTE IMMEDIATE('ALTER TABLE gipi_wgrp_items_beneficiary ADD sex VARCHAR2(1)'); dbms_output.put_line('Column SEX has been added to GIPI_WGRP_ITEMS_BENEFICIARY'); END; END IF; EXCEPTION WHEN NO_DATA_FOUND THEN -- DDL to create table if it is not yet existing EXECUTE IMMEDIATE('CREATE TABLE CPI.GIPI_WGRP_ITEMS_BENEFICIARY ( PAR_ID NUMBER(12) NOT NULL, ITEM_NO NUMBER(9) NOT NULL, GROUPED_ITEM_NO NUMBER(9) NOT NULL, BENEFICIARY_NO NUMBER(5) NOT NULL, BENEFICIARY_NAME VARCHAR2(30 BYTE) NOT NULL, BENEFICIARY_ADDR VARCHAR2(50 BYTE), RELATION VARCHAR2(15 BYTE), DATE_OF_BIRTH DATE, AGE NUMBER(3), CIVIL_STATUS VARCHAR2(1 BYTE), SEX VARCHAR2(1 BYTE) ) TABLESPACE WORKING_DATA PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 128K NEXT 128K MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCOMPRESS NOCACHE NOPARALLEL MONITORING'); EXECUTE IMMEDIATE('COMMENT ON TABLE CPI.GIPI_WGRP_ITEMS_BENEFICIARY IS ''This is the working transaction table for the beneficiaries of the grouped item(s) stored in table GIPI_GROUPED_ITEMS per person insured in Personal Accident and Casualty policy.'''); EXECUTE IMMEDIATE('CREATE UNIQUE INDEX CPI.WGRP_ITEMS_BENEFICIARY_PK ON CPI.GIPI_WGRP_ITEMS_BENEFICIARY (PAR_ID, ITEM_NO, GROUPED_ITEM_NO, BENEFICIARY_NO) LOGGING TABLESPACE INDEXES PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 128K NEXT 128K MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 0 BUFFER_POOL DEFAULT ) NOPARALLEL'); EXECUTE IMMEDIATE('CREATE PUBLIC SYNONYM GIPI_WGRP_ITEMS_BENEFICIARY FOR CPI.GIPI_WGRP_ITEMS_BENEFICIARY'); EXECUTE IMMEDIATE('ALTER TABLE CPI.GIPI_WGRP_ITEMS_BENEFICIARY ADD ( CONSTRAINT WGRP_ITEMS_BENEFICIARY_PK PRIMARY KEY (PAR_ID, ITEM_NO, GROUPED_ITEM_NO, BENEFICIARY_NO) USING INDEX TABLESPACE INDEXES PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 128K NEXT 128K MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 0 ))'); EXECUTE IMMEDIATE('ALTER TABLE CPI.GIPI_WGRP_ITEMS_BENEFICIARY ADD ( CONSTRAINT WGROUPED_ITEMS_WGRP_ITM_BEN_FK FOREIGN KEY (PAR_ID, ITEM_NO, GROUPED_ITEM_NO) REFERENCES CPI.GIPI_WGROUPED_ITEMS (PAR_ID,ITEM_NO,GROUPED_ITEM_NO))'); EXECUTE IMMEDIATE('GRANT ALTER, DELETE, INDEX, INSERT, REFERENCES, SELECT, UPDATE ON CPI.GIPI_WGRP_ITEMS_BENEFICIARY TO PUBLIC'); dbms_output.put_line('GIPI_WGRP_ITEMS_BENEFICIARY table created'); END;
DROP TABLE IF EXISTS auth_admin; DROP TABLE IF EXISTS auth_function; DROP TABLE IF EXISTS auth_menu; DROP TABLE IF EXISTS auth_permission; DROP TABLE IF EXISTS auth_role; DROP TABLE IF EXISTS auth_role_permission; DROP TABLE IF EXISTS auth_user; DROP TABLE IF EXISTS auth_user_role; CREATE TABLE `auth_admin` ( `ID` DOUBLE NOT NULL AUTO_INCREMENT COMMENT '主键', `USER_ID` DOUBLE DEFAULT NULL COMMENT '用户ID', `NAME` VARCHAR(80) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '名称', `EMAIL` VARCHAR(200) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '邮箱', `TEL` VARCHAR(60) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '电话', `DEPART_ID` DOUBLE DEFAULT NULL COMMENT '部门ID(废弃)', `JOB_NO` VARCHAR(60) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '工号', `TYPE` DOUBLE DEFAULT NULL COMMENT '类型', PRIMARY KEY (`ID`), UNIQUE KEY `auth_admin_pk` (`ID`) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ; CREATE TABLE `auth_function` ( `ID` DOUBLE NOT NULL AUTO_INCREMENT COMMENT '主键', `PARENT_ID` DOUBLE DEFAULT NULL COMMENT '父功能点ID', `NAME` VARCHAR(128) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '功能名称', `FUNCTION_INDEX` DOUBLE DEFAULT NULL COMMENT '排序索引', PRIMARY KEY (`ID`), UNIQUE KEY `auth_function_pk` (`ID`) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='功能点表'; CREATE TABLE `auth_menu` ( `ID` DOUBLE NOT NULL AUTO_INCREMENT COMMENT '主键', `PERMISSION` VARCHAR(400) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '权限ID', `PARENT_ID` DOUBLE DEFAULT NULL COMMENT '父菜单ID', `NAME` VARCHAR(400) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '菜单名称', `URL` VARCHAR(800) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '菜单URL', `MENU_INDEX` DOUBLE DEFAULT NULL COMMENT '排序索引', `CREATE_TIME` DATETIME DEFAULT NULL COMMENT '创建时间', PRIMARY KEY (`ID`), UNIQUE KEY `auth_menu_pk` (`ID`) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='菜单表'; CREATE TABLE `auth_permission` ( `PERMISSION` VARCHAR(400) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '权限', `NAME` VARCHAR(400) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '权限名称', `FUNCTION_ID` DOUBLE DEFAULT NULL COMMENT '功能ID', `CREATE_TIME` DATETIME DEFAULT NULL COMMENT '创建时间' ) ENGINE=INNODB DEFAULT CHARSET=utf8 COMMENT='权限表'; CREATE TABLE `auth_role` ( `ID` DOUBLE NOT NULL AUTO_INCREMENT COMMENT '主键', `NAME` VARCHAR(128) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '角色名称', `CREATE_TIME` DATETIME DEFAULT NULL COMMENT '创建时间', PRIMARY KEY (`ID`), UNIQUE KEY `auth_role_pk` (`ID`) ) ENGINE=INNODB AUTO_INCREMENT=206 DEFAULT CHARSET=utf8 COMMENT='角色表'; CREATE TABLE `auth_role_permission` ( `ID` DOUBLE NOT NULL AUTO_INCREMENT COMMENT '主键', `ROLE_ID` DOUBLE DEFAULT NULL COMMENT '角色ID', `PERMISSION` VARCHAR(400) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '权限ID', PRIMARY KEY (`ID`), UNIQUE KEY `auth_role_permission_pk` (`ID`) ) ENGINE=INNODB AUTO_INCREMENT=1953 DEFAULT CHARSET=utf8 COMMENT='角色权限关系表'; CREATE TABLE `auth_user` ( `USER_ID` DOUBLE NOT NULL AUTO_INCREMENT COMMENT '用户ID', `USERNAME` VARCHAR(200) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '用户名称', `PASSWORD` VARCHAR(200) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '密码', `USER_STATUS` VARCHAR(8) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '用户状态', `USER_TYPE` VARCHAR(8) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '用户类型', `CREATE_TIME` DATETIME DEFAULT NULL COMMENT '创建时间', `LOCALE` VARCHAR(10) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '语言(废弃)', PRIMARY KEY (`USER_ID`), UNIQUE KEY `auth_user_pk` (`USER_ID`), UNIQUE KEY `auth_user_uk1` (`USERNAME`) ) ENGINE=INNODB AUTO_INCREMENT=302 DEFAULT CHARSET=utf8 COMMENT='用户基本信息表'; CREATE TABLE `auth_user_role` ( `ID` DOUBLE NOT NULL AUTO_INCREMENT COMMENT '主键', `USER_ID` DOUBLE DEFAULT NULL COMMENT '用户ID', `ROLE_ID` DOUBLE DEFAULT NULL COMMENT '角色ID', PRIMARY KEY (`ID`), UNIQUE KEY `auth_user_role_pk` (`ID`) ) ENGINE=INNODB AUTO_INCREMENT=422 DEFAULT CHARSET=utf8 COMMENT='用户角色关系表';
CREATE TABLE "DEMO"."CFG_VALUE" ( "ID" NUMBER(6,0), "PADRE" NUMBER, "CLAVE" VARCHAR2(30 BYTE), "VALOR" VARCHAR2(50 BYTE), "VALOR_ALTERNO" VARCHAR2(50 BYTE), "FECHA_CREACION" TIMESTAMP (6), "ESTADO" CHAR(1 BYTE) DEFAULT '1' ) ; COMMENT ON COLUMN "DEMO"."CFG_VALUE"."PADRE" IS 'Referencia recursiva al padre (tipo de configuración)'; COMMENT ON TABLE "DEMO"."CFG_VALUE" IS 'Tabla que almacena los valores de configuracion'; -------------------------------------------------------- -- DDL for Sequence SEQ_CFG_VALUE -------------------------------------------------------- CREATE SEQUENCE "DEMO"."SEQ_CFG_VALUE" MINVALUE 1 MAXVALUE 999999999999 INCREMENT BY 1 START WITH 1;
SELECT * FROM BLOB_TABLE WHERE NO = ? ; ;
CREATE EXTENSION IF NOT EXISTS postgis; DROP SCHEMA IF EXISTS dila CASCADE ; CREATE SCHEMA dila ; DROP TABLE IF EXISTS dila.organisme; CREATE TABLE dila.organisme ( id text primary key, insee text, date_maj date, pivot_local text, nom text, source text, email text, commentaire text, geom geometry(MultiPoint,4326) );
create database fxmysql; -- Creates the new database create user 'fxmysqluser'@'%' identified by 'fxmysqlpassword'; -- Creates the user grant all on fxmysql.* to 'fxmysqluser'@'%'; -- Gives all privileges to the new user on the newly created database
-- phpMyAdmin SQL Dump -- version 5.0.1 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Generation Time: May 31, 2021 at 11:21 AM -- Server version: 10.4.11-MariaDB -- PHP Version: 7.4.3 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `pessdb_nelson` -- -- -------------------------------------------------------- -- -- Table structure for table `dispatch` -- CREATE TABLE `dispatch` ( `incident_id` int(11) NOT NULL, `patrolcar_id` varchar(10) NOT NULL, `time_dispatched` datetime NOT NULL, `time_arrived` datetime DEFAULT NULL, `time_completed` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `incident` -- CREATE TABLE `incident` ( `incident_id` int(11) NOT NULL, `caller_name` varchar(30) NOT NULL, `phone_number` varchar(10) NOT NULL, `incident_type_id` varchar(3) NOT NULL, `incident_location` varchar(50) NOT NULL, `incident_desc` varchar(100) NOT NULL, `incident_status_id` varchar(1) NOT NULL, `time_called` datetime NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `incident_status` -- CREATE TABLE `incident_status` ( `incident_status_id` varchar(1) NOT NULL, `incident_type_desc` varchar(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `incident_status` -- INSERT INTO `incident_status` (`incident_status_id`, `incident_type_desc`) VALUES ('1', 'Pending'), ('2', 'Dispatched'), ('3', 'Completed'), ('4', 'Duplicated'); -- -------------------------------------------------------- -- -- Table structure for table `incident_type` -- CREATE TABLE `incident_type` ( `incident_type_id` varchar(3) NOT NULL, `incident_type_desc` varchar(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `incident_type` -- INSERT INTO `incident_type` (`incident_type_id`, `incident_type_desc`) VALUES ('010', 'Fire'), ('020', 'Riot'), ('030', 'Burglary'), ('040', 'Domestic Violent'), ('050', 'Fallen Tree'), ('060', 'Traffic Accident'), ('070', 'Loan Shark'), ('999', 'Others'); -- -------------------------------------------------------- -- -- Table structure for table `patrolcar` -- CREATE TABLE `patrolcar` ( `patrolcar_id` varchar(10) NOT NULL, `patrolcar_status_id` varchar(1) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `patrolcar` -- INSERT INTO `patrolcar` (`patrolcar_id`, `patrolcar_status_id`) VALUES ('QX1234A', '1'), ('QX1342G', '1'), ('QX3456B', '2'), ('QX5555D', '2'), ('QX1111J', '3'), ('QX2288D', '3'), ('QX2222K', '4'), ('QX8769P', '4'); -- -------------------------------------------------------- -- -- Table structure for table `patrolcar_status` -- CREATE TABLE `patrolcar_status` ( `patrolcar_status_id` varchar(1) NOT NULL, `patrolcar_status_desc` varchar(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `patrolcar_status` -- INSERT INTO `patrolcar_status` (`patrolcar_status_id`, `patrolcar_status_desc`) VALUES ('1', 'Dispatched'), ('2', 'Patrol'), ('3', 'Free'), ('4', 'Arrived'); -- -- Indexes for dumped tables -- -- -- Indexes for table `dispatch` -- ALTER TABLE `dispatch` ADD PRIMARY KEY (`incident_id`,`patrolcar_id`); -- -- Indexes for table `incident` -- ALTER TABLE `incident` ADD PRIMARY KEY (`incident_id`); -- -- Indexes for table `incident_status` -- ALTER TABLE `incident_status` ADD PRIMARY KEY (`incident_status_id`); -- -- Indexes for table `incident_type` -- ALTER TABLE `incident_type` ADD PRIMARY KEY (`incident_type_id`); -- -- Indexes for table `patrolcar` -- ALTER TABLE `patrolcar` ADD PRIMARY KEY (`patrolcar_id`), ADD KEY `patrolcar_status_id` (`patrolcar_status_id`), ADD KEY `patrolcar_id` (`patrolcar_id`); -- -- Indexes for table `patrolcar_status` -- ALTER TABLE `patrolcar_status` ADD PRIMARY KEY (`patrolcar_status_id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `incident` -- ALTER TABLE `incident` MODIFY `incident_id` int(11) NOT NULL AUTO_INCREMENT; -- -- Constraints for dumped tables -- -- -- Constraints for table `dispatch` -- ALTER TABLE `dispatch` ADD CONSTRAINT `dispatch_ibfk_1` FOREIGN KEY (`incident_id`) REFERENCES `incident` (`incident_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 */;