text
stringlengths
6
9.38M
Select A.[variant.BaseCatalogSKU] As sku, A.[variant.ProductClassification] as ProdType From Gamestop_Catalog_GSProcesses.dbo.vw_EndecaCatalog_US_GameStopBase A With(NoLock) Where A.[variant.ProductClassification] = 'GiftCard' Order By NEWID()
SELECT RESULT_ORDER_QTY, RESULT_QTY, (PICKED_QTY / PICK_QTY) PROGRESS_RATE, ROUND((PICK_ENDED_AT - PICK_STARTED_AT) * 24, 2) JOB_UPH FROM ( SELECT COUNT(SKU_CD) RESULT_ORDER_QTY, SUM(PICK_QTY) PICK_QTY, SUM(PICKED_QTY) RESULT_QTY, TO_DATE(REPLACE(MIN(PICK_ENDED_AT), '-', ''), 'YYYYMMDD HH24:MI:SS') PICK_ENDED_AT, TO_DATE(REPLACE(MIN(PICK_STARTED_AT), '-', ''), 'YYYYMMDD HH24:MI:SS') PICK_STARTED_AT FROM JOB_INSTANCES a WHERE DOMAIN_ID = :domainId AND BATCH_ID = :batchId )
SET foreign_key_checks = 0; / DROP TABLE IF EXISTS user_roles; / DROP TABLE IF EXISTS users; / SET foreign_key_checks = 1;
-- phpMyAdmin SQL Dump -- version 3.5.2.2 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Jun 19, 2014 at 12:16 PM -- Server version: 5.5.27 -- PHP Version: 5.4.7 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `basic` -- -- -------------------------------------------------------- -- -- Table structure for table `fms_pr_active_category` -- CREATE TABLE IF NOT EXISTS `fms_pr_active_category` ( `id_fms_pr_active_category` int(11) NOT NULL AUTO_INCREMENT, `active_category_name` varchar(255) NOT NULL, `active_category_name_alt_1` varchar(255) NOT NULL, `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id_fms_pr_active_category`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Dumping data for table `fms_pr_active_category` -- INSERT INTO `fms_pr_active_category` (`id_fms_pr_active_category`, `active_category_name`, `active_category_name_alt_1`, `timestamp`) VALUES (1, 'Active', 'Available', '2014-02-27 19:06:50'), (2, 'Not Active', 'Unavailable', '2014-02-27 19:06:47'); -- -------------------------------------------------------- -- -- Table structure for table `fms_pr_gender_category` -- CREATE TABLE IF NOT EXISTS `fms_pr_gender_category` ( `id_fms_pr_gender_category` int(11) NOT NULL AUTO_INCREMENT, `gender_category_name` varchar(255) NOT NULL, `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id_fms_pr_gender_category`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Dumping data for table `fms_pr_gender_category` -- INSERT INTO `fms_pr_gender_category` (`id_fms_pr_gender_category`, `gender_category_name`, `timestamp`) VALUES (1, 'male', '2014-05-02 12:38:30'), (2, 'female', '2014-05-02 12:38:30'); -- -------------------------------------------------------- -- -- Table structure for table `fms_pr_headline_category` -- CREATE TABLE IF NOT EXISTS `fms_pr_headline_category` ( `id_fms_pr_headline_category` int(11) NOT NULL AUTO_INCREMENT, `headline_category_name` varchar(255) NOT NULL, PRIMARY KEY (`id_fms_pr_headline_category`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_pr_marital_status_category` -- CREATE TABLE IF NOT EXISTS `fms_pr_marital_status_category` ( `id_fms_pr_marital_status_category` int(11) NOT NULL AUTO_INCREMENT, `marital_status_category_name` varchar(255) NOT NULL, `id_fms_pr_active_category` int(11) NOT NULL, `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id_fms_pr_marital_status_category`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Dumping data for table `fms_pr_marital_status_category` -- INSERT INTO `fms_pr_marital_status_category` (`id_fms_pr_marital_status_category`, `marital_status_category_name`, `id_fms_pr_active_category`, `timestamp`) VALUES (1, 'Menikah', 1, '2014-02-16 17:38:41'), (2, 'Belum Menikah', 1, '2014-02-16 17:38:52'); -- -------------------------------------------------------- -- -- Table structure for table `fms_pr_member_tag` -- CREATE TABLE IF NOT EXISTS `fms_pr_member_tag` ( `id_fms_pr_member_tag` int(11) NOT NULL AUTO_INCREMENT, `member_tag_name` varchar(255) NOT NULL, `table` varchar(255) NOT NULL, `prompt` text, `id_fms_pr_active_category` int(11) NOT NULL, `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id_fms_pr_member_tag`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_pr_menu_category` -- CREATE TABLE IF NOT EXISTS `fms_pr_menu_category` ( `id_fms_pr_menu_category` int(11) NOT NULL AUTO_INCREMENT, `menu_category_name` varchar(255) NOT NULL, PRIMARY KEY (`id_fms_pr_menu_category`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_pr_module_category` -- CREATE TABLE IF NOT EXISTS `fms_pr_module_category` ( `id_fms_pr_module_category` int(11) NOT NULL AUTO_INCREMENT, `nama_kategori_module` varchar(255) NOT NULL, PRIMARY KEY (`id_fms_pr_module_category`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_pr_nationality_category` -- CREATE TABLE IF NOT EXISTS `fms_pr_nationality_category` ( `id_fms_pr_nationality_category` int(11) NOT NULL AUTO_INCREMENT, `nationality_category_name` varchar(255) NOT NULL, `id_fms_pr_active_category` int(11) NOT NULL, `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id_fms_pr_nationality_category`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_pr_portfolio_category` -- CREATE TABLE IF NOT EXISTS `fms_pr_portfolio_category` ( `id_fms_pr_portfolio_category` int(11) NOT NULL AUTO_INCREMENT, `portfolio_category_name` varchar(255) NOT NULL, PRIMARY KEY (`id_fms_pr_portfolio_category`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_pr_portfolio_tag` -- CREATE TABLE IF NOT EXISTS `fms_pr_portfolio_tag` ( `id_fms_pr_portfolio_tag` int(11) NOT NULL AUTO_INCREMENT, `portfolio_tag_name` varchar(255) NOT NULL, PRIMARY KEY (`id_fms_pr_portfolio_tag`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_pr_post_category` -- CREATE TABLE IF NOT EXISTS `fms_pr_post_category` ( `id_fms_pr_post_category` int(11) NOT NULL AUTO_INCREMENT, `post_category_name` varchar(255) NOT NULL, PRIMARY KEY (`id_fms_pr_post_category`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_pr_post_tag` -- CREATE TABLE IF NOT EXISTS `fms_pr_post_tag` ( `id_fms_pr_post_tag` int(11) NOT NULL AUTO_INCREMENT, `post_tag_name` varchar(255) NOT NULL, PRIMARY KEY (`id_fms_pr_post_tag`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_pr_product_category` -- CREATE TABLE IF NOT EXISTS `fms_pr_product_category` ( `id_fms_pr_product_category` int(11) NOT NULL AUTO_INCREMENT, `product_category_name` varchar(255) NOT NULL, PRIMARY KEY (`id_fms_pr_product_category`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_pr_religion_category` -- CREATE TABLE IF NOT EXISTS `fms_pr_religion_category` ( `id_fms_pr_religion_category` int(11) NOT NULL AUTO_INCREMENT, `religion_category_name` varchar(255) NOT NULL, `id_fms_pr_active_category` int(11) NOT NULL, `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id_fms_pr_religion_category`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; -- -- Dumping data for table `fms_pr_religion_category` -- INSERT INTO `fms_pr_religion_category` (`id_fms_pr_religion_category`, `religion_category_name`, `id_fms_pr_active_category`, `timestamp`) VALUES (1, 'Islam', 1, '2014-02-16 17:30:22'), (2, 'Katolik', 1, '2014-02-16 17:31:22'), (3, 'Protestan', 1, '2014-02-16 17:31:57'), (4, 'Hindu', 1, '2014-02-16 17:34:39'), (5, 'Budha', 1, '2014-02-16 17:35:06'), (6, 'Konghucu', 1, '2014-02-16 17:35:42'); -- -------------------------------------------------------- -- -- Table structure for table `fms_pr_static_module_category` -- CREATE TABLE IF NOT EXISTS `fms_pr_static_module_category` ( `id_fms_pr_static_module_category` int(11) NOT NULL AUTO_INCREMENT, `static_module_category_name` varchar(255) NOT NULL, PRIMARY KEY (`id_fms_pr_static_module_category`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Dumping data for table `fms_pr_static_module_category` -- INSERT INTO `fms_pr_static_module_category` (`id_fms_pr_static_module_category`, `static_module_category_name`) VALUES (1, 'General'), (2, 'Blog'), (3, 'Shop'), (4, 'Miscellaneous'); -- -------------------------------------------------------- -- -- Table structure for table `fms_pr_timezone` -- CREATE TABLE IF NOT EXISTS `fms_pr_timezone` ( `id_fms_pr_timezone` int(11) NOT NULL AUTO_INCREMENT, `timezone_name` varchar(50) NOT NULL, `location` varchar(20) NOT NULL, PRIMARY KEY (`id_fms_pr_timezone`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=413 ; -- -- Dumping data for table `fms_pr_timezone` -- INSERT INTO `fms_pr_timezone` (`id_fms_pr_timezone`, `timezone_name`, `location`) VALUES (1, 'Africa/Abidjan', 'UTC +0000'), (2, 'Africa/Accra', 'UTC +0000'), (3, 'Africa/Addis_Ababa', 'UTC +0300'), (4, 'Africa/Algiers', 'UTC +0100'), (5, 'Africa/Asmara', 'UTC +0300'), (6, 'Africa/Bamako', 'UTC +0000'), (7, 'Africa/Bangui', 'UTC +0100'), (8, 'Africa/Banjul', 'UTC +0000'), (9, 'Africa/Bissau', 'UTC +0000'), (10, 'Africa/Blantyre', 'UTC +0200'), (11, 'Africa/Brazzaville', 'UTC +0100'), (12, 'Africa/Bujumbura', 'UTC +0200'), (13, 'Africa/Cairo', 'UTC +0200'), (14, 'Africa/Casablanca', 'UTC +0000'), (15, 'Africa/Ceuta', 'UTC +0100'), (16, 'Africa/Conakry', 'UTC +0000'), (17, 'Africa/Dakar', 'UTC +0000'), (18, 'Africa/Dar_es_Salaam', 'UTC +0300'), (19, 'Africa/Djibouti', 'UTC +0300'), (20, 'Africa/Douala', 'UTC +0100'), (21, 'Africa/El_Aaiun', 'UTC +0000'), (22, 'Africa/Freetown', 'UTC +0000'), (23, 'Africa/Gaborone', 'UTC +0200'), (24, 'Africa/Harare', 'UTC +0200'), (25, 'Africa/Johannesburg', 'UTC +0200'), (26, 'Africa/Kampala', 'UTC +0300'), (27, 'Africa/Khartoum', 'UTC +0300'), (28, 'Africa/Kigali', 'UTC +0200'), (29, 'Africa/Kinshasa', 'UTC +0100'), (30, 'Africa/Lagos', 'UTC +0100'), (31, 'Africa/Libreville', 'UTC +0100'), (32, 'Africa/Lome', 'UTC +0000'), (33, 'Africa/Luanda', 'UTC +0100'), (34, 'Africa/Lubumbashi', 'UTC +0200'), (35, 'Africa/Lusaka', 'UTC +0200'), (36, 'Africa/Malabo', 'UTC +0100'), (37, 'Africa/Maputo', 'UTC +0200'), (38, 'Africa/Maseru', 'UTC +0200'), (39, 'Africa/Mbabane', 'UTC +0200'), (40, 'Africa/Mogadishu', 'UTC +0300'), (41, 'Africa/Monrovia', 'UTC +0000'), (42, 'Africa/Nairobi', 'UTC +0300'), (43, 'Africa/Ndjamena', 'UTC +0100'), (44, 'Africa/Niamey', 'UTC +0100'), (45, 'Africa/Nouakchott', 'UTC +0000'), (46, 'Africa/Ouagadougou', 'UTC +0000'), (47, 'Africa/Porto', 'UTC +0100'), (48, 'Africa/Sao_Tome', 'UTC +0000'), (49, 'Africa/Tripoli', 'UTC +0200'), (50, 'Africa/Tunis', 'UTC +0100'), (51, 'Africa/Windhoek', 'UTC +0200'), (52, 'America/Adak', 'UTC -1000'), (53, 'America/Anchorage', 'UTC -0900'), (54, 'America/Anguilla', 'UTC -0400'), (55, 'America/Antigua', 'UTC -0400'), (56, 'America/Araguaina', 'UTC -0300'), (57, 'America/Argentina/Buenos_Aires', 'UTC -0300'), (58, 'America/Argentina/Catamarca', 'UTC -0300'), (59, 'America/Argentina/Cordoba', 'UTC -0300'), (60, 'America/Argentina/Jujuy', 'UTC -0300'), (61, 'America/Argentina/La_Rioja', 'UTC -0300'), (62, 'America/Argentina/Mendoza', 'UTC -0300'), (63, 'America/Argentina/Rio_Gallegos', 'UTC -0300'), (64, 'America/Argentina/Salta', 'UTC -0300'), (65, 'America/Argentina/San_Juan', 'UTC -0300'), (66, 'America/Argentina/San_Luis', 'UTC -0300'), (67, 'America/Argentina/Tucuman', 'UTC -0300'), (68, 'America/Argentina/Ushuaia', 'UTC -0300'), (69, 'America/Aruba', 'UTC -0400'), (70, 'America/Asuncion', 'UTC -0300'), (71, 'America/Atikokan', 'UTC -0500'), (72, 'America/Bahia_Banderas', 'UTC -0600'), (73, 'America/Bahia', 'UTC -0300'), (74, 'America/Barbados', 'UTC -0400'), (75, 'America/Belem', 'UTC -0300'), (76, 'America/Belize', 'UTC -0600'), (77, 'America/Blanc', 'UTC -0400'), (78, 'America/Boa_Vista', 'UTC -0400'), (79, 'America/Bogota', 'UTC -0500'), (80, 'America/Boise', 'UTC -0700'), (81, 'America/Cambridge_Bay', 'UTC -0700'), (82, 'America/Campo_Grande', 'UTC -0300'), (83, 'America/Cancun', 'UTC -0600'), (84, 'America/Caracas', 'UTC -0430'), (85, 'America/Cayenne', 'UTC -0300'), (86, 'America/Cayman', 'UTC -0500'), (87, 'America/Chicago', 'UTC -0600'), (88, 'America/Chihuahua', 'UTC -0700'), (89, 'America/Costa_Rica', 'UTC -0600'), (90, 'America/Cuiaba', 'UTC -0300'), (91, 'America/Curacao', 'UTC -0400'), (92, 'America/Danmarkshavn', 'UTC +0000'), (93, 'America/Dawson_Creek', 'UTC -0700'), (94, 'America/Dawson', 'UTC -0800'), (95, 'America/Denver', 'UTC -0700'), (96, 'America/Detroit', 'UTC -0500'), (97, 'America/Dominica', 'UTC -0400'), (98, 'America/Edmonton', 'UTC -0700'), (99, 'America/Eirunepe', 'UTC -0400'), (100, 'America/El_Salvador', 'UTC -0600'), (101, 'America/Fortaleza', 'UTC -0300'), (102, 'America/Glace_Bay', 'UTC -0400'), (103, 'America/Godthab', 'UTC -0300'), (104, 'America/Goose_Bay', 'UTC -0400'), (105, 'America/Grand_Turk', 'UTC -0500'), (106, 'America/Grenada', 'UTC -0400'), (107, 'America/Guadeloupe', 'UTC -0400'), (108, 'America/Guatemala', 'UTC -0600'), (109, 'America/Guayaquil', 'UTC -0500'), (110, 'America/Guyana', 'UTC -0400'), (111, 'America/Halifax', 'UTC -0400'), (112, 'America/Havana', 'UTC -0500'), (113, 'America/Hermosillo', 'UTC -0700'), (114, 'America/Indiana/Indianapolis', 'UTC -0500'), (115, 'America/Indiana/Knox', 'UTC -0600'), (116, 'America/Indiana/Marengo', 'UTC -0500'), (117, 'America/Indiana/Petersburg', 'UTC -0500'), (118, 'America/Indiana/Tell_City', 'UTC -0600'), (119, 'America/Indiana/Vevay', 'UTC -0500'), (120, 'America/Indiana/Vincennes', 'UTC -0500'), (121, 'America/Indiana/Winamac', 'UTC -0500'), (122, 'America/Inuvik', 'UTC -0700'), (123, 'America/Iqaluit', 'UTC -0500'), (124, 'America/Jamaica', 'UTC -0500'), (125, 'America/Juneau', 'UTC -0900'), (126, 'America/Kentucky/Louisville', 'UTC -0500'), (127, 'America/Kentucky/Monticello', 'UTC -0500'), (128, 'America/Kralendijk', 'UTC -0400'), (129, 'America/La_Paz', 'UTC -0400'), (130, 'America/Lima', 'UTC -0500'), (131, 'America/Los_Angeles', 'UTC -0800'), (132, 'America/Lower_Princes', 'UTC -0400'), (133, 'America/Maceio', 'UTC -0300'), (134, 'America/Managua', 'UTC -0600'), (135, 'America/Manaus', 'UTC -0400'), (136, 'America/Marigot', 'UTC -0400'), (137, 'America/Martinique', 'UTC -0400'), (138, 'America/Matamoros', 'UTC -0600'), (139, 'America/Mazatlan', 'UTC -0700'), (140, 'America/Menominee', 'UTC -0600'), (141, 'America/Merida', 'UTC -0600'), (142, 'America/Metlakatla', 'UTC -0800'), (143, 'America/Mexico_City', 'UTC -0600'), (144, 'America/Miquelon', 'UTC -0300'), (145, 'America/Moncton', 'UTC -0400'), (146, 'America/Monterrey', 'UTC -0600'), (147, 'America/Montevideo', 'UTC -0200'), (148, 'America/Montreal', 'UTC -0500'), (149, 'America/Montserrat', 'UTC -0400'), (150, 'America/Nassau', 'UTC -0500'), (151, 'America/New_York', 'UTC -0500'), (152, 'America/Nipigon', 'UTC -0500'), (153, 'America/Nome', 'UTC -0900'), (154, 'America/Noronha', 'UTC -0200'), (155, 'America/North_Dakota/Beulah', 'UTC -0600'), (156, 'America/North_Dakota/Center', 'UTC -0600'), (157, 'America/North_Dakota/New_Salem', 'UTC -0600'), (158, 'America/Ojinaga', 'UTC -0700'), (159, 'America/Panama', 'UTC -0500'), (160, 'America/Pangnirtung', 'UTC -0500'), (161, 'America/Paramaribo', 'UTC -0300'), (162, 'America/Phoenix', 'UTC -0700'), (163, 'America/Port_of_Spain', 'UTC -0400'), (164, 'America/Port', 'UTC -0500'), (165, 'America/Porto_Velho', 'UTC -0400'), (166, 'America/Puerto_Rico', 'UTC -0400'), (167, 'America/Rainy_River', 'UTC -0600'), (168, 'America/Rankin_Inlet', 'UTC -0600'), (169, 'America/Recife', 'UTC -0300'), (170, 'America/Regina', 'UTC -0600'), (171, 'America/Resolute', 'UTC -0500'), (172, 'America/Rio_Branco', 'UTC -0400'), (173, 'America/Santa_Isabel', 'UTC -0800'), (174, 'America/Santarem', 'UTC -0300'), (175, 'America/Santiago', 'UTC -0300'), (176, 'America/Santo_Domingo', 'UTC -0400'), (177, 'America/Sao_Paulo', 'UTC -0200'), (178, 'America/Scoresbysund', 'UTC -0100'), (179, 'America/Shiprock', 'UTC -0700'), (180, 'America/Sitka', 'UTC -0900'), (181, 'America/St_Barthelemy', 'UTC -0400'), (182, 'America/St_Johns', 'UTC -0330'), (183, 'America/St_Kitts', 'UTC -0400'), (184, 'America/St_Lucia', 'UTC -0400'), (185, 'America/St_Thomas', 'UTC -0400'), (186, 'America/St_Vincent', 'UTC -0400'), (187, 'America/Swift_Current', 'UTC -0600'), (188, 'America/Tegucigalpa', 'UTC -0600'), (189, 'America/Thule', 'UTC -0400'), (190, 'America/Thunder_Bay', 'UTC -0500'), (191, 'America/Tijuana', 'UTC -0800'), (192, 'America/Toronto', 'UTC -0500'), (193, 'America/Tortola', 'UTC -0400'), (194, 'America/Vancouver', 'UTC -0800'), (195, 'America/Whitehorse', 'UTC -0800'), (196, 'America/Winnipeg', 'UTC -0600'), (197, 'America/Yakutat', 'UTC -0900'), (198, 'America/Yellowknife', 'UTC -0700'), (199, 'Antarctica/Casey', 'UTC +0800'), (200, 'Antarctica/Davis', 'UTC +0700'), (201, 'Antarctica/DumontDUrville', 'UTC +1000'), (202, 'Antarctica/Macquarie', 'UTC +1100'), (203, 'Antarctica/Mawson', 'UTC +0500'), (204, 'Antarctica/McMurdo', 'UTC +1300'), (205, 'Antarctica/Palmer', 'UTC -0300'), (206, 'Antarctica/Rothera', 'UTC -0300'), (207, 'Antarctica/South_Pole', 'UTC +1300'), (208, 'Antarctica/Syowa', 'UTC +0300'), (209, 'Antarctica/Vostok', 'UTC +0600'), (210, 'Arctic/Longyearbyen', 'UTC +0100'), (211, 'Asia/Aden', 'UTC +0300'), (212, 'Asia/Almaty', 'UTC +0600'), (213, 'Asia/Amman', 'UTC +0200'), (214, 'Asia/Anadyr', 'UTC +1200'), (215, 'Asia/Aqtau', 'UTC +0500'), (216, 'Asia/Aqtobe', 'UTC +0500'), (217, 'Asia/Ashgabat', 'UTC +0500'), (218, 'Asia/Baghdad', 'UTC +0300'), (219, 'Asia/Bahrain', 'UTC +0300'), (220, 'Asia/Baku', 'UTC +0400'), (221, 'Asia/Bangkok', 'UTC +0700'), (222, 'Asia/Beirut', 'UTC +0200'), (223, 'Asia/Bishkek', 'UTC +0600'), (224, 'Asia/Brunei', 'UTC +0800'), (225, 'Asia/Choibalsan', 'UTC +0800'), (226, 'Asia/Chongqing', 'UTC +0800'), (227, 'Asia/Colombo', 'UTC +0530'), (228, 'Asia/Damascus', 'UTC +0200'), (229, 'Asia/Dhaka', 'UTC +0600'), (230, 'Asia/Dili', 'UTC +0900'), (231, 'Asia/Dubai', 'UTC +0400'), (232, 'Asia/Dushanbe', 'UTC +0500'), (233, 'Asia/Gaza', 'UTC +0200'), (234, 'Asia/Harbin', 'UTC +0800'), (235, 'Asia/Ho_Chi_Minh', 'UTC +0700'), (236, 'Asia/Hong_Kong', 'UTC +0800'), (237, 'Asia/Hovd', 'UTC +0700'), (238, 'Asia/Irkutsk', 'UTC +0900'), (239, 'Asia/Jakarta', 'UTC +0700'), (240, 'Asia/Jayapura', 'UTC +0900'), (241, 'Asia/Jerusalem', 'UTC +0200'), (242, 'Asia/Kabul', 'UTC +0430'), (243, 'Asia/Kamchatka', 'UTC +1200'), (244, 'Asia/Karachi', 'UTC +0500'), (245, 'Asia/Kashgar', 'UTC +0800'), (246, 'Asia/Kathmandu', 'UTC +0545'), (247, 'Asia/Kolkata', 'UTC +0530'), (248, 'Asia/Krasnoyarsk', 'UTC +0800'), (249, 'Asia/Kuala_Lumpur', 'UTC +0800'), (250, 'Asia/Kuching', 'UTC +0800'), (251, 'Asia/Kuwait', 'UTC +0300'), (252, 'Asia/Macau', 'UTC +0800'), (253, 'Asia/Magadan', 'UTC +1200'), (254, 'Asia/Makassar', 'UTC +0800'), (255, 'Asia/Manila', 'UTC +0800'), (256, 'Asia/Muscat', 'UTC +0400'), (257, 'Asia/Nicosia', 'UTC +0200'), (258, 'Asia/Novokuznetsk', 'UTC +0700'), (259, 'Asia/Novosibirsk', 'UTC +0700'), (260, 'Asia/Omsk', 'UTC +0700'), (261, 'Asia/Oral', 'UTC +0500'), (262, 'Asia/Phnom_Penh', 'UTC +0700'), (263, 'Asia/Pontianak', 'UTC +0700'), (264, 'Asia/Pyongyang', 'UTC +0900'), (265, 'Asia/Qatar', 'UTC +0300'), (266, 'Asia/Qyzylorda', 'UTC +0600'), (267, 'Asia/Rangoon', 'UTC +0630'), (268, 'Asia/Riyadh', 'UTC +0300'), (269, 'Asia/Sakhalin', 'UTC +1100'), (270, 'Asia/Samarkand', 'UTC +0500'), (271, 'Asia/Seoul', 'UTC +0900'), (272, 'Asia/Shanghai', 'UTC +0800'), (273, 'Asia/Singapore', 'UTC +0800'), (274, 'Asia/Taipei', 'UTC +0800'), (275, 'Asia/Tashkent', 'UTC +0500'), (276, 'Asia/Tbilisi', 'UTC +0400'), (277, 'Asia/Tehran', 'UTC +0330'), (278, 'Asia/Thimphu', 'UTC +0600'), (279, 'Asia/Tokyo', 'UTC +0900'), (280, 'Asia/Ulaanbaatar', 'UTC +0800'), (281, 'Asia/Urumqi', 'UTC +0800'), (282, 'Asia/Vientiane', 'UTC +0700'), (283, 'Asia/Vladivostok', 'UTC +1100'), (284, 'Asia/Yakutsk', 'UTC +1000'), (285, 'Asia/Yekaterinburg', 'UTC +0600'), (286, 'Asia/Yerevan', 'UTC +0400'), (287, 'Atlantic/Azores', 'UTC -0100'), (288, 'Atlantic/Bermuda', 'UTC -0400'), (289, 'Atlantic/Canary', 'UTC +0000'), (290, 'Atlantic/Cape_Verde', 'UTC -0100'), (291, 'Atlantic/Faroe', 'UTC +0000'), (292, 'Atlantic/Madeira', 'UTC +0000'), (293, 'Atlantic/Reykjavik', 'UTC +0000'), (294, 'Atlantic/South_Georgia', 'UTC -0200'), (295, 'Atlantic/St_Helena', 'UTC +0000'), (296, 'Atlantic/Stanley', 'UTC -0300'), (297, 'Australia/Adelaide', 'UTC +1030'), (298, 'Australia/Brisbane', 'UTC +1000'), (299, 'Australia/Broken_Hill', 'UTC +1030'), (300, 'Australia/Currie', 'UTC +1100'), (301, 'Australia/Darwin', 'UTC +0930'), (302, 'Australia/Eucla', 'UTC +0845'), (303, 'Australia/Hobart', 'UTC +1100'), (304, 'Australia/Lindeman', 'UTC +1000'), (305, 'Australia/Lord_Howe', 'UTC +1100'), (306, 'Australia/Melbourne', 'UTC +1100'), (307, 'Australia/Perth', 'UTC +0800'), (308, 'Australia/Sydney', 'UTC +1100'), (309, 'Europe/Amsterdam', 'UTC +0100'), (310, 'Europe/Andorra', 'UTC +0100'), (311, 'Europe/Athens', 'UTC +0200'), (312, 'Europe/Belgrade', 'UTC +0100'), (313, 'Europe/Berlin', 'UTC +0100'), (314, 'Europe/Bratislava', 'UTC +0100'), (315, 'Europe/Brussels', 'UTC +0100'), (316, 'Europe/Bucharest', 'UTC +0200'), (317, 'Europe/Budapest', 'UTC +0100'), (318, 'Europe/Chisinau', 'UTC +0200'), (319, 'Europe/Copenhagen', 'UTC +0100'), (320, 'Europe/Dublin', 'UTC +0000'), (321, 'Europe/Gibraltar', 'UTC +0100'), (322, 'Europe/Guernsey', 'UTC +0000'), (323, 'Europe/Helsinki', 'UTC +0200'), (324, 'Europe/Isle_of_Man', 'UTC +0000'), (325, 'Europe/Istanbul', 'UTC +0200'), (326, 'Europe/Jersey', 'UTC +0000'), (327, 'Europe/Kaliningrad', 'UTC +0300'), (328, 'Europe/Kiev', 'UTC +0200'), (329, 'Europe/Lisbon', 'UTC +0000'), (330, 'Europe/Ljubljana', 'UTC +0100'), (331, 'Europe/London', 'UTC +0000'), (332, 'Europe/Luxembourg', 'UTC +0100'), (333, 'Europe/Madrid', 'UTC +0100'), (334, 'Europe/Malta', 'UTC +0100'), (335, 'Europe/Mariehamn', 'UTC +0200'), (336, 'Europe/Minsk', 'UTC +0200'), (337, 'Europe/Monaco', 'UTC +0100'), (338, 'Europe/Moscow', 'UTC +0400'), (339, 'Europe/Oslo', 'UTC +0100'), (340, 'Europe/Paris', 'UTC +0100'), (341, 'Europe/Podgorica', 'UTC +0100'), (342, 'Europe/Prague', 'UTC +0100'), (343, 'Europe/Riga', 'UTC +0200'), (344, 'Europe/Rome', 'UTC +0100'), (345, 'Europe/Samara', 'UTC +0400'), (346, 'Europe/San_Marino', 'UTC +0100'), (347, 'Europe/Sarajevo', 'UTC +0100'), (348, 'Europe/Simferopol', 'UTC +0200'), (349, 'Europe/Skopje', 'UTC +0100'), (350, 'Europe/Sofia', 'UTC +0200'), (351, 'Europe/Stockholm', 'UTC +0100'), (352, 'Europe/Tallinn', 'UTC +0200'), (353, 'Europe/Tirane', 'UTC +0100'), (354, 'Europe/Uzhgorod', 'UTC +0200'), (355, 'Europe/Vaduz', 'UTC +0100'), (356, 'Europe/Vatican', 'UTC +0100'), (357, 'Europe/Vienna', 'UTC +0100'), (358, 'Europe/Vilnius', 'UTC +0200'), (359, 'Europe/Volgograd', 'UTC +0400'), (360, 'Europe/Warsaw', 'UTC +0100'), (361, 'Europe/Zagreb', 'UTC +0100'), (362, 'Europe/Zaporozhye', 'UTC +0200'), (363, 'Europe/Zurich', 'UTC +0100'), (364, 'Indian/Antananarivo', 'UTC +0300'), (365, 'Indian/Chagos', 'UTC +0600'), (366, 'Indian/Christmas', 'UTC +0700'), (367, 'Indian/Cocos', 'UTC +0630'), (368, 'Indian/Comoro', 'UTC +0300'), (369, 'Indian/Kerguelen', 'UTC +0500'), (370, 'Indian/Mahe', 'UTC +0400'), (371, 'Indian/Maldives', 'UTC +0500'), (372, 'Indian/Mauritius', 'UTC +0400'), (373, 'Indian/Mayotte', 'UTC +0300'), (374, 'Indian/Reunion', 'UTC +0400'), (375, 'Pacific/Apia', 'UTC -1100'), (376, 'Pacific/Auckland', 'UTC +1300'), (377, 'Pacific/Chatham', 'UTC +1345'), (378, 'Pacific/Chuuk', 'UTC +1000'), (379, 'Pacific/Easter', 'UTC -0500'), (380, 'Pacific/Efate', 'UTC +1100'), (381, 'Pacific/Enderbury', 'UTC +1300'), (382, 'Pacific/Fakaofo', 'UTC -1000'), (383, 'Pacific/Fiji', 'UTC +1200'), (384, 'Pacific/Funafuti', 'UTC +1200'), (385, 'Pacific/Galapagos', 'UTC -0600'), (386, 'Pacific/Gambier', 'UTC -0900'), (387, 'Pacific/Guadalcanal', 'UTC +1100'), (388, 'Pacific/Guam', 'UTC +1000'), (389, 'Pacific/Honolulu', 'UTC -1000'), (390, 'Pacific/Johnston', 'UTC -1000'), (391, 'Pacific/Kiritimati', 'UTC +1400'), (392, 'Pacific/Kosrae', 'UTC +1100'), (393, 'Pacific/Kwajalein', 'UTC +1200'), (394, 'Pacific/Majuro', 'UTC +1200'), (395, 'Pacific/Marquesas', 'UTC -0930'), (396, 'Pacific/Midway', 'UTC -1100'), (397, 'Pacific/Nauru', 'UTC +1200'), (398, 'Pacific/Niue', 'UTC -1100'), (399, 'Pacific/Norfolk', 'UTC +1130'), (400, 'Pacific/Noumea', 'UTC +1100'), (401, 'Pacific/Pago_Pago', 'UTC -1100'), (402, 'Pacific/Palau', 'UTC +0900'), (403, 'Pacific/Pitcairn', 'UTC -0800'), (404, 'Pacific/Pohnpei', 'UTC +1100'), (405, 'Pacific/Port_Moresby', 'UTC +1000'), (406, 'Pacific/Rarotonga', 'UTC -1000'), (407, 'Pacific/Saipan', 'UTC +1000'), (408, 'Pacific/Tahiti', 'UTC -1000'), (409, 'Pacific/Tarawa', 'UTC +1200'), (410, 'Pacific/Tongatapu', 'UTC +1300'), (411, 'Pacific/Wake', 'UTC +1200'), (412, 'Pacific/Wallis', 'UTC +1200'); -- -------------------------------------------------------- -- -- Table structure for table `fms_pr_valuta_category` -- CREATE TABLE IF NOT EXISTS `fms_pr_valuta_category` ( `id_fms_pr_valuta_category` int(11) NOT NULL AUTO_INCREMENT, `valuta_category_name` varchar(255) NOT NULL, `symbol` varchar(10) NOT NULL, PRIMARY KEY (`id_fms_pr_valuta_category`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `fms_pr_valuta_category` -- INSERT INTO `fms_pr_valuta_category` (`id_fms_pr_valuta_category`, `valuta_category_name`, `symbol`) VALUES (1, 'Rupiah', 'Rp.'); -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_backlink` -- CREATE TABLE IF NOT EXISTS `fms_sm_backlink` ( `id_fms_sm_backlink` int(11) NOT NULL AUTO_INCREMENT, `owner_name` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `phone_number` varchar(25) NOT NULL, `link` varchar(255) NOT NULL, `image_url` varchar(255) NOT NULL, PRIMARY KEY (`id_fms_sm_backlink`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_city` -- CREATE TABLE IF NOT EXISTS `fms_sm_city` ( `id_fms_sm_city` int(11) NOT NULL AUTO_INCREMENT, `id_fms_sm_country` int(11) NOT NULL, `city_name` varchar(255) NOT NULL, `id_fms_pr_active_category` int(11) NOT NULL, `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id_fms_sm_city`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; -- -- Dumping data for table `fms_sm_city` -- INSERT INTO `fms_sm_city` (`id_fms_sm_city`, `id_fms_sm_country`, `city_name`, `id_fms_pr_active_category`, `timestamp`) VALUES (1, 1, 'Jakarta Pusat', 1, '2014-03-05 07:07:52'), (2, 1, 'Jakarta Selatan', 1, '2014-03-05 07:07:56'), (3, 1, 'Jakarta Utara', 1, '2014-03-05 07:07:55'), (4, 1, 'Jakarta Barat', 1, '2014-03-05 07:07:57'), (5, 1, 'Jakarta Timur', 1, '2014-03-05 07:07:59'), (6, 1, 'Depok', 1, '2014-03-05 07:08:00'); -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_country` -- CREATE TABLE IF NOT EXISTS `fms_sm_country` ( `id_fms_sm_country` int(11) NOT NULL AUTO_INCREMENT, `country_name` varchar(255) NOT NULL, PRIMARY KEY (`id_fms_sm_country`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `fms_sm_country` -- INSERT INTO `fms_sm_country` (`id_fms_sm_country`, `country_name`) VALUES (1, 'Indonesia'); -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_customer` -- CREATE TABLE IF NOT EXISTS `fms_sm_customer` ( `id_fms_sm_customer` int(11) NOT NULL AUTO_INCREMENT, `email` varchar(255) NOT NULL, `password` varchar(255) NOT NULL, `fullname` varchar(255) NOT NULL, `address` text NOT NULL, `phone` varchar(20) NOT NULL, `bod` date NOT NULL, `id_fms_sm_active_category` int(11) NOT NULL, PRIMARY KEY (`id_fms_sm_customer`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_history` -- CREATE TABLE IF NOT EXISTS `fms_sm_history` ( `id_fms_sm_history` int(11) NOT NULL AUTO_INCREMENT, `id_fms_sm_user` int(11) NOT NULL, `id_fms_sm_member` int(11) NOT NULL, `id_fms_sm_client` int(11) NOT NULL, `id_data` int(11) NOT NULL, `table_name` varchar(255) NOT NULL, `action` varchar(255) NOT NULL, `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id_fms_sm_history`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_member` -- CREATE TABLE IF NOT EXISTS `fms_sm_member` ( `id_fms_sm_member` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(255) NOT NULL, `password` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `full_name` varchar(255) NOT NULL, `place_of_birth` varchar(255) NOT NULL, `date_of_birth` date NOT NULL, `id_fms_pr_religion_category` int(11) NOT NULL, `id_fms_pr_marital_status_category` int(11) NOT NULL, `id_fms_pr_nationality_category` int(11) NOT NULL, `identification_number` varchar(255) NOT NULL, `id_fms_pr_member_tag` text NOT NULL, `is_online` int(11) NOT NULL, `last_seen` datetime NOT NULL, `last_login` datetime NOT NULL, `member_signature` int(11) NOT NULL, `img_url` text NOT NULL, `id_fms_pr_active_category` int(11) NOT NULL, `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id_fms_sm_member`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_menu` -- CREATE TABLE IF NOT EXISTS `fms_sm_menu` ( `id_fms_sm_menu` int(11) NOT NULL AUTO_INCREMENT, `id_menu_parent` int(11) DEFAULT NULL, `id_menu_category` int(11) NOT NULL, `menu_name` varchar(255) NOT NULL, `page_url` varchar(255) NOT NULL, `icon_url` varchar(255) DEFAULT NULL, `order_number` int(11) NOT NULL, PRIMARY KEY (`id_fms_sm_menu`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_module` -- CREATE TABLE IF NOT EXISTS `fms_sm_module` ( `id_fms_sm_module` int(11) NOT NULL AUTO_INCREMENT, `module_name` varchar(255) NOT NULL, `id_parent_module` int(11) NOT NULL, `table_name` varchar(255) NOT NULL, `id_fms_pr_module_category` int(11) NOT NULL, `img` varchar(255) DEFAULT NULL, PRIMARY KEY (`id_fms_sm_module`), KEY `id_mf_pr_kategori_module` (`id_fms_pr_module_category`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_officer` -- CREATE TABLE IF NOT EXISTS `fms_sm_officer` ( `id_fms_sm_officer` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(255) NOT NULL, `password` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `full_name` varchar(255) NOT NULL, `phone_number` varchar(20) NOT NULL, `photo` varchar(255) NOT NULL, PRIMARY KEY (`id_fms_sm_officer`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_order` -- CREATE TABLE IF NOT EXISTS `fms_sm_order` ( `id_fms_sm_order` int(11) NOT NULL, `id_fms_pr_order_category` int(11) NOT NULL, `id_fms_sm_customer` int(11) NOT NULL, `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id_fms_sm_order`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_order_detail` -- CREATE TABLE IF NOT EXISTS `fms_sm_order_detail` ( `id_fms_sm_order_detail` int(11) NOT NULL AUTO_INCREMENT, `id_fms_sm_order` int(11) NOT NULL, `id_fms_sm_product` int(11) NOT NULL, `quantity` int(11) NOT NULL, PRIMARY KEY (`id_fms_sm_order_detail`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_order_temp` -- CREATE TABLE IF NOT EXISTS `fms_sm_order_temp` ( `id_fms_sm_order_temp` int(11) NOT NULL AUTO_INCREMENT, `id_fms_sm_product` int(11) NOT NULL, `id_session` varchar(255) NOT NULL, `quantity` int(11) NOT NULL, `timestamp_temp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `stock_temp` int(11) NOT NULL, PRIMARY KEY (`id_fms_sm_order_temp`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_page` -- CREATE TABLE IF NOT EXISTS `fms_sm_page` ( `id_fms_sm_page` int(11) NOT NULL AUTO_INCREMENT, `id_fms_sm_menu` int(11) NOT NULL, `page_name` varchar(255) NOT NULL, `description` text NOT NULL, `icon_url` varchar(255) NOT NULL, PRIMARY KEY (`id_fms_sm_page`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_portfolio` -- CREATE TABLE IF NOT EXISTS `fms_sm_portfolio` ( `id_fms_sm_portfolio` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(255) NOT NULL, `title` varchar(255) NOT NULL, `description` text NOT NULL, `file_url` varchar(255) NOT NULL, `image_url` varchar(255) NOT NULL, PRIMARY KEY (`id_fms_sm_portfolio`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_portfolio_comment` -- CREATE TABLE IF NOT EXISTS `fms_sm_portfolio_comment` ( `id_fms_sm_portfolio_comment` int(11) NOT NULL AUTO_INCREMENT, `id_fms_sm_portfolio` int(11) NOT NULL, `id_fms_sm_active_category` int(11) NOT NULL, `name` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `url` varchar(255) NOT NULL, `description` text NOT NULL, `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id_fms_sm_portfolio_comment`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_post` -- CREATE TABLE IF NOT EXISTS `fms_sm_post` ( `id_fms_sm_post` int(11) NOT NULL AUTO_INCREMENT, `id_fms_pr_post_category` int(11) NOT NULL, `id_fms_pr_headline_category` int(11) NOT NULL, `username` varchar(255) NOT NULL, `title` varchar(255) NOT NULL, `seo_title` varchar(255) NOT NULL, `description` text NOT NULL, `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `view` int(11) NOT NULL, `id_fms_pr_post_tag` text NOT NULL, `image_url` text NOT NULL, PRIMARY KEY (`id_fms_sm_post`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_post_comment` -- CREATE TABLE IF NOT EXISTS `fms_sm_post_comment` ( `id_fms_sm_post_comment` int(11) NOT NULL AUTO_INCREMENT, `id_fms_sm_post` int(11) NOT NULL, `id_fms_sm_active_category` int(11) NOT NULL, `name` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `url` varchar(255) NOT NULL, `description` text NOT NULL, `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id_fms_sm_post_comment`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_product` -- CREATE TABLE IF NOT EXISTS `fms_sm_product` ( `id_fms_sm_product` int(5) NOT NULL AUTO_INCREMENT, `id_fms_pr_product_category` int(5) NOT NULL, `product_name` varchar(100) COLLATE latin1_general_ci NOT NULL, `seo` varchar(100) COLLATE latin1_general_ci NOT NULL, `description` text COLLATE latin1_general_ci NOT NULL, `price` int(20) NOT NULL, `stock` int(5) NOT NULL, `weight` decimal(5,2) unsigned NOT NULL DEFAULT '0.00', `tgl_masuk` date NOT NULL, `image_url` varchar(100) COLLATE latin1_general_ci NOT NULL, `has_sold` int(5) NOT NULL DEFAULT '1', `discount` int(5) NOT NULL, PRIMARY KEY (`id_fms_sm_product`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_static_module` -- CREATE TABLE IF NOT EXISTS `fms_sm_static_module` ( `id_fms_sm_static_module` int(11) NOT NULL AUTO_INCREMENT, `module_name` varchar(255) NOT NULL, `id_parent_module` int(11) DEFAULT NULL, `table_name` varchar(255) NOT NULL, `id_fms_pr_module_category` int(11) NOT NULL, `img` varchar(255) DEFAULT NULL, PRIMARY KEY (`id_fms_sm_static_module`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=31 ; -- -- Dumping data for table `fms_sm_static_module` -- INSERT INTO `fms_sm_static_module` (`id_fms_sm_static_module`, `module_name`, `id_parent_module`, `table_name`, `id_fms_pr_module_category`, `img`) VALUES (3, 'Post', 0, 'fms_sm_post', 2, ''), (4, 'Portfolios', 0, 'fms_sm_portfolio', 2, ''), (5, 'Testimonials', 0, 'fms_sm_testimonials', 2, NULL), (6, 'Subscribers', 0, 'fms_sm_subscriber', 2, NULL), (12, 'Product', 0, 'fms_sm_product', 3, ''), (13, 'Orders', 0, 'fms_sm_order', 3, ''), (14, 'Shop Preferences', 0, 'fms_sm_shop_preference', 3, ''), (15, 'Menus', 0, 'fms_sm_menu', 1, ''), (16, 'Appearances', 0, 'fms_sm_appearances', 1, ''), (17, 'User', 0, 'fms_sm_users', 1, ''), (18, 'Product Category', 12, 'fms_pr_product_category', 3, ''), (19, 'Post Category', 3, 'fms_pr_post_category', 2, ''), (20, 'Post Tags', 3, 'fms_pr_post_tag', 2, ''), (21, 'Post Comments', 3, 'fms_sm_post_comment', 2, ''), (22, 'Portfolios Categories', 4, 'fms_pr_portfolio_category', 2, ''), (23, 'Portfolios Tags', 4, 'fms_pr_portfolio_tag', 2, ''), (24, 'Portfolios Comments', 4, 'fms_sm_portfolio_comment', 2, ''), (25, 'Member', 17, 'fms_sm_member', 1, ''), (26, 'Officer', 17, 'fms_sm_officer', 1, ''), (27, 'Module Management', 0, 'fms_sm_module', 1, ''), (28, 'Module Category', 27, 'fms_pr_module_category', 1, ''), (29, 'Backlink', 0, 'fms_sm_backlink', 2, ''), (30, 'Kategori Headline', 3, 'fms_pr_headline_category', 2, ''); -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_subscriber` -- CREATE TABLE IF NOT EXISTS `fms_sm_subscriber` ( `id_fms_sm_subscriber` int(11) NOT NULL AUTO_INCREMENT, `email` varchar(255) NOT NULL, PRIMARY KEY (`id_fms_sm_subscriber`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_testimonial` -- CREATE TABLE IF NOT EXISTS `fms_sm_testimonial` ( `id_fms_sm_testimonial` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `web_url` varchar(255) DEFAULT NULL, `description` text NOT NULL, `image_url` varchar(255) NOT NULL, PRIMARY KEY (`id_fms_sm_testimonial`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fms_sm_user` -- CREATE TABLE IF NOT EXISTS `fms_sm_user` ( `id_fms_sm_user` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(255) NOT NULL, `password` varchar(255) NOT NULL, `link_to_id_member` int(11) DEFAULT NULL, `last_login` text NOT NULL, PRIMARY KEY (`id_fms_sm_user`), UNIQUE KEY `username` (`username`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Dumping data for table `fms_sm_user` -- INSERT INTO `fms_sm_user` (`id_fms_sm_user`, `username`, `password`, `link_to_id_member`, `last_login`) VALUES (2, 'febri', '0cc175b9c0f1b6a831c399e269772661', 1, '-'), (1, 'admin', '4db4364bf5e54b5a0e8b0e1fb04737d0', 4, '132'); /*!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 */;
DELIMITER $$ USE `cci_gh_go_dev`$$ DROP PROCEDURE IF EXISTS `SPPartnerSeasonPaxOpenings`$$ CREATE DEFINER=`phanipothula`@`%` PROCEDURE `SPPartnerSeasonPaxOpenings`(IN partnerId INT, IN seasonId INT, IN depPgmId INT, IN depPgmOptionId INT) BEGIN DECLARE goId,sId,pgmId,pgmOptionId,cnt INT; SET @goId = partnerId; SET @sId = seasonId; SET @pgmId = depPgmId; SET @pgmOptionId = depPgmOptionId; IF (@pgmId = 1) THEN CASE @pgmOptionId WHEN 1 THEN SET @cnt = (SELECT COUNT(*) FROM Participants p INNER JOIN ParticipantStatus ps ON p.participantStatusId = ps.participantStatusId WHERE partnerGoId = @goId AND seasonId = @sId AND departmentProgramId = @pgmId AND departmentProgramOptionId IN (1,2) AND ps.participantStatusName= 'Accepted'); SELECT ((psa.maxPax + psa.maxGuaranteedPax) - @cnt) AS Openings FROM PartnerSeasonAllocation psa INNER JOIN PartnerSeason ps ON psa.partnerSeasonId = ps.partnerSeasonId WHERE ps.partnerGoId = @goId AND ps.seasonId = @sId AND ps.departmentProgramId = @pgmId AND psa.departmentProgramOptionId = @pgmOptionId; WHEN 3 THEN SET @cnt = (SELECT COUNT(*) FROM Participants p INNER JOIN ParticipantStatus ps ON p.participantStatusId = ps.participantStatusId WHERE partnerGoId = @goId AND seasonId = @sId AND departmentProgramId = @pgmId AND departmentProgramOptionId IN (3,4) AND ps.participantStatusName= 'Accepted'); SELECT ((psa.maxPax + psa.maxGuaranteedPax) - @cnt) AS Openings FROM PartnerSeasonAllocation psa INNER JOIN PartnerSeason ps ON psa.partnerSeasonId = ps.partnerSeasonId WHERE ps.partnerGoId = @goId AND ps.seasonId = @sId AND ps.departmentProgramId = @pgmId AND psa.departmentProgramOptionId = @pgmOptionId; ELSE BEGIN END; END CASE; END IF; IF (@pgmId = 2) THEN CASE @pgmOptionId WHEN 5 THEN SET @cnt = (SELECT COUNT(*) FROM Participants p INNER JOIN ParticipantStatus ps ON p.participantStatusId = ps.participantStatusId WHERE partnerGoId = @goId AND seasonId = @sId AND departmentProgramId = @pgmId AND departmentProgramOptionId IN (5,7) AND ps.participantStatusName= 'Accepted'); SELECT ((psa.maxPax + psa.maxGuaranteedPax) - @cnt) AS Openings FROM PartnerSeasonAllocation psa INNER JOIN PartnerSeason ps ON psa.partnerSeasonId = ps.partnerSeasonId WHERE ps.partnerGoId = @goId AND ps.seasonId = @sId AND ps.departmentProgramId = @pgmId AND psa.departmentProgramOptionId = @pgmOptionId; WHEN 8 THEN SET @cnt = (SELECT COUNT(*) FROM Participants p INNER JOIN ParticipantStatus ps ON p.participantStatusId = ps.participantStatusId WHERE partnerGoId = @goId AND seasonId = @sId AND departmentProgramId = @pgmId AND departmentProgramOptionId IN (8,9) AND ps.participantStatusName= 'Accepted'); SELECT ((psa.maxPax + psa.maxGuaranteedPax) - @cnt) AS Openings FROM PartnerSeasonAllocation psa INNER JOIN PartnerSeason ps ON psa.partnerSeasonId = ps.partnerSeasonId WHERE ps.partnerGoId = @goId AND ps.seasonId = @sId AND ps.departmentProgramId = @pgmId AND psa.departmentProgramOptionId = @pgmOptionId; ELSE BEGIN END; END CASE; END IF; END$$ DELIMITER ;
SELECT --A.保険カテゴリーコード A.INSURANCE_CATEGORY, --ISNULL(B.回収ステータス, 0) = 回収ステータス ISNULL(B.WITHDRAW_STATUS, 0) AS STATUS_FOR_OTHER, --ISNULL(C.支払ステータス, 0) = 支払ステータス ISNULL(C.PAY_STATE, 0) AS PAY_STATE FROM --保険明細情報(A) OBJ_INSURANCE_INFO A --その他入金情報(B) INNER JOIN OTHER_WITHDRAW_INFO B ON B.SUPPLIES_NO = A.SUPPLIES_NO --B.物件番号 = A.物件番号 AND B.WITHDRAW_TYPE_DETAIL = A.INSURANCE_CATEGORY --B.入金小分類 = A.保険カテゴリーコード AND B.COUPON = A.COUPON --B.回数 = A.回数 --支払情報(C) INNER JOIN PAY_INFO C ON C.SUPPLIES_NO = A.SUPPLIES_NO --C.物件番号 = A.物件番号 WHERE --A.物件番号 = 画面.物件番号 A.SUPPLIES_NO = /*suppliesNo*/ --AND A.回数 = '1' AND A.COUPON = /*coupon*/ --AND B.予定回収方法 = 4:相殺 ※コードマスタ(067:予定/実回収方法) AND B.SCHEDULE_WITHDRAW_METHOD = /*realAppropriation*/ --AND C.支払小分類 = 10:物件代金 ※コードマスタ(151:支払小分類) AND C.PAY_TYPE_DETAIL = /*payTypeDetailArticlePrice*/
-- $Id: create_user_dslmon3.sql,v 1.2 2009/07/20 10:59:51 a59603 Exp $ PROMPT create_user_dslmon3.sql CREATE USER dslmon3 IDENTIFIED BY tdc / GRANT dba TO dslmon3 / SHOW ERRORS
/* Navicat MySQL Data Transfer Source Server : 127.0.0.1 Source Server Version : 100126 Source Host : 127.0.0.1:3306 Source Database : shawn Target Server Type : MYSQL Target Server Version : 100126 File Encoding : 65001 Date: 2017-10-28 14:42:16 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for ss_migrations -- ---------------------------- DROP TABLE IF EXISTS `ss_migrations`; CREATE TABLE `ss_migrations` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `migration` varchar(255) NOT NULL, `batch` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; -- ---------------------------- -- Table structure for ss_password_resets -- ---------------------------- DROP TABLE IF EXISTS `ss_password_resets`; CREATE TABLE `ss_password_resets` ( `email` varchar(255) NOT NULL, `token` varchar(255) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, KEY `password_resets_email_index` (`email`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Table structure for ss_users -- ---------------------------- DROP TABLE IF EXISTS `ss_users`; CREATE TABLE `ss_users` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `email` varchar(100) NOT NULL, `password` varchar(255) NOT NULL, `remember_token` varchar(100) DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `users_email_unique` (`email`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; SET FOREIGN_KEY_CHECKS=1;
set statistics time on --常见写法:这种写法,每次b.PKCommunity='' 后面的变量发生变化,SQL在执行时都需要重新编译 SELECT a.PKHouseDealRent FROM HouseDealRent a WITH(NOLOCK) JOIN Houses b WITH(NOLOCK) ON b.PKHouse=a.PKHouse WHERE b.PKCommunity='9DF75A44-494E-4412-89CB-9A01354A5CEE' ORDER BY a.LastRefreshTime DESC --参数化写法:这种写法,每次b.PKCommunity='' 后面的变量发生变化,SQL在执行时不需要重新编译 exec sp_executesql N'SELECT a.PKHouseDealRent FROM HouseDealRent a WITH(NOLOCK) JOIN Houses b WITH(NOLOCK) ON b.PKHouse=a.PKHouse WHERE b.PKCommunity=@PKObject ORDER BY a.LastRefreshTime DESC', N'@PKObject uniqueidentifier', @PKObject=N'9DF75A44-494E-4412-89CB-9A02355A5CEE'
select * from NEXT_TBL
# ************************************************************ # Sequel Pro SQL dump # Version 4541 # # http://www.sequelpro.com/ # https://github.com/sequelpro/sequelpro # # Host: 127.0.0.1 (MySQL 5.5.42) # Database: booking_system # Generation Time: 2017-03-28 12:17:20 +0000 # ************************************************************ /*!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 */; /*!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 */; # Dump of table booking_memberships # ------------------------------------------------------------ DROP TABLE IF EXISTS `booking_memberships`; CREATE TABLE `booking_memberships` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; LOCK TABLES `booking_memberships` WRITE; /*!40000 ALTER TABLE `booking_memberships` DISABLE KEYS */; INSERT INTO `booking_memberships` (`id`, `title`) VALUES (1,'Basic'), (2,'Royal'); /*!40000 ALTER TABLE `booking_memberships` ENABLE KEYS */; UNLOCK TABLES; # Dump of table booking_sessions # ------------------------------------------------------------ DROP TABLE IF EXISTS `booking_sessions`; CREATE TABLE `booking_sessions` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `session_date` varchar(255) DEFAULT NULL, `booked_by` int(11) DEFAULT NULL, `instructor_id` int(11) DEFAULT NULL, `status` int(1) DEFAULT NULL, `booking_type` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; LOCK TABLES `booking_sessions` WRITE; /*!40000 ALTER TABLE `booking_sessions` DISABLE KEYS */; INSERT INTO `booking_sessions` (`id`, `session_date`, `booked_by`, `instructor_id`, `status`, `booking_type`) VALUES (13,'Sat Mar 25 2017',1,0,1,1), (14,'Fri Mar 03 2017',2,0,0,1), (15,'Wed Mar 29 2017',1,6,1,3), (16,'Wed Mar 29 2017',1,0,1,1), (17,'Wed Mar 29 2017',1,0,1,1), (18,'Wed Mar 29 2017',1,0,1,1), (19,'Wed Mar 29 2017',1,0,1,1); /*!40000 ALTER TABLE `booking_sessions` ENABLE KEYS */; UNLOCK TABLES; # Dump of table booking_types # ------------------------------------------------------------ DROP TABLE IF EXISTS `booking_types`; CREATE TABLE `booking_types` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(255) DEFAULT NULL, `instructor_option` int(1) DEFAULT NULL, `price` int(20) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; LOCK TABLES `booking_types` WRITE; /*!40000 ALTER TABLE `booking_types` DISABLE KEYS */; INSERT INTO `booking_types` (`id`, `title`, `instructor_option`, `price`) VALUES (1,'Without instructor',0,500), (2,'With instructor',1,1500), (3,'With instructor (+ 2 extra hours)',1,1800); /*!40000 ALTER TABLE `booking_types` ENABLE KEYS */; UNLOCK TABLES; # Dump of table booking_users # ------------------------------------------------------------ DROP TABLE IF EXISTS `booking_users`; CREATE TABLE `booking_users` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `username` varchar(255) DEFAULT NULL, `password` varchar(255) DEFAULT NULL, `access_level` int(2) DEFAULT NULL, `membership_level` int(2) DEFAULT NULL, `first_name` varchar(255) DEFAULT NULL, `last_name` varchar(255) DEFAULT NULL, `email_address` varchar(255) DEFAULT NULL, `mobile_number_code` varchar(5) DEFAULT NULL, `mobile_number` varchar(15) DEFAULT NULL, `current_address` varchar(255) DEFAULT NULL, `current_town` varchar(50) DEFAULT NULL, `current_country` varchar(80) DEFAULT NULL, `address_postcode` varchar(10) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; LOCK TABLES `booking_users` WRITE; /*!40000 ALTER TABLE `booking_users` DISABLE KEYS */; INSERT INTO `booking_users` (`id`, `username`, `password`, `access_level`, `membership_level`, `first_name`, `last_name`, `email_address`, `mobile_number_code`, `mobile_number`, `current_address`, `current_town`, `current_country`, `address_postcode`) VALUES (1,'koko','44975e9cea8531cefd5256e14c93a307',1,1,'Nikola','Donchev','me@donchev.net','44','1111111','sample current address','sample current town','United Kingdom','cv1'), (2,'manager_test','44975e9cea8531cefd5256e14c93a307',1,1,'First name 1','Last name 1',NULL,NULL,NULL,NULL,NULL,NULL,NULL), (3,'slope_test','44975e9cea8531cefd5256e14c93a307',3,1,'First name 2','Last name 2',NULL,NULL,NULL,NULL,NULL,NULL,NULL), (4,'instructor_one','44975e9cea8531cefd5256e14c93a307',2,1,'John','Doe','',NULL,NULL,NULL,NULL,NULL,NULL), (5,'member_test','44975e9cea8531cefd5256e14c93a307',4,1,'First name 3','Last name 3',NULL,NULL,NULL,NULL,NULL,NULL,NULL), (6,'instructor_two','44975e9cea8531cefd5256e14c93a307',2,1,'Tomasz','Prabucki','',NULL,NULL,NULL,NULL,NULL,NULL); /*!40000 ALTER TABLE `booking_users` ENABLE KEYS */; UNLOCK TABLES; # Dump of table ci_sessions # ------------------------------------------------------------ DROP TABLE IF EXISTS `ci_sessions`; CREATE TABLE `ci_sessions` ( `id` varchar(128) NOT NULL, `ip_address` varchar(45) NOT NULL, `timestamp` int(10) unsigned NOT NULL DEFAULT '0', `data` blob NOT NULL, KEY `ci_sessions_timestamp` (`timestamp`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; LOCK TABLES `ci_sessions` WRITE; /*!40000 ALTER TABLE `ci_sessions` DISABLE KEYS */; INSERT INTO `ci_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('fe924125233cea74800fa5d62081185e262b17ea','::1',1490691248,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303639313234383B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('252afdbbb0f1a08a9c19091abfb69f5bd89fe4ed','::1',1490691571,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303639313537313B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('c6be2c74cb197801ff2fb7d4d9b0173e44697297','::1',1490692221,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303639323232313B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('6ec1585ec76fe81a3a2c6a706b045b4d285a7357','::1',1490692529,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303639323532393B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('463e280c53541c2a35148474d029a6e38d5cc335','127.0.0.1',1490692832,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303639323833323B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('9c520af03e6aa3636a96a03a677a521eb30905cc','127.0.0.1',1490693182,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303639333138323B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('9e2c16a13d221294bda3b1a583b5740db3e5c4ed','127.0.0.1',1490693522,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303639333532323B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('88d735ea7d97d3ab2f9977b74f9e6cb9ec6c7d0a','127.0.0.1',1490694133,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303639343133333B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('691ea68d7207f44fc419af7a974545eb1bf9d65c','127.0.0.1',1490694590,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303639343539303B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('89e46b541f610f6da43e02b94b9f10a10943e691','127.0.0.1',1490696018,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303639363031383B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('388e6cb3083fd352a4a925a4709890aee1f7f722','127.0.0.1',1490696331,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303639363333313B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('2efea5af803df678f52c6ba19c0982dbbe1d1072','127.0.0.1',1490696651,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303639363635313B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('33f557df2590fd7335250c8856bc6b1c89ed16e1','127.0.0.1',1490697029,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303639373032393B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('bc5765593a671f617d41a050695f4b05eb792d2e','127.0.0.1',1490697424,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303639373432343B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('61b9e8b4c9e78473b91d19d3fc6970ea5a204b92','127.0.0.1',1490699309,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303639393330393B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('3a6319ba91e32918b17bf5f2b878d42f199ee5c3','127.0.0.1',1490699787,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303639393738373B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('a00b7b08381fa8bb4031854dc2c946004eb23669','127.0.0.1',1490700396,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303730303339363B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('25e36ae5a567cb3a1481e657f345f4f8bb52cc25','127.0.0.1',1490701301,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303730313330313B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('0cf0f8df0417ded62e3d55e6ad57bd16fdc3a699','127.0.0.1',1490701607,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303730313630373B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('7c3f981173fd29e795c8fe44060dd807c2021b4d','127.0.0.1',1490701933,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303730313933333B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('2a82d5f8136adc7ad599950e8cba009c88d297ae','127.0.0.1',1490702236,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303730323233363B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'), ('d733c0360bf0e6dba67b1c15d30b570a85c97b9f','127.0.0.1',1490702240,X'5F5F63695F6C6173745F726567656E65726174657C693A313439303730323233363B69647C733A313A2231223B757365726E616D657C733A343A226B6F6B6F223B69735F6C6F676765645F696E7C623A313B757365725F6C6576656C7C733A313A2231223B'); /*!40000 ALTER TABLE `ci_sessions` ENABLE KEYS */; UNLOCK TABLES; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_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 */;
select * from pg_stat_undo_logs; \watch
DROP DATABASE IF EXISTS employeetracker_db; CREATE DATABASE employeetracker_db; USE employeetracker_db; CREATE TABLE department ( id INT(10) AUTO_INCREMENT NOT NULL, name VARCHAR(30) NOT NULL, PRIMARY KEY (id) ) ; CREATE TABLE role ( id INT (10) AUTO_INCREMENT NOT NULL, title VARCHAR(30) NOT NULL, salary DECIMAL(10,2) NOT NULL, department_id INT(10) NOT NULL, PRIMARY KEY (id) ); CREATE TABLE employee ( id INT(10) AUTO_INCREMENT NOT NULL, first_name VARCHAR(30) NOT NULL, last_name VARCHAR(30) NOT NULL, role_id INT (10) NOT NULL, manager_id INT (10), PRIMARY KEY (id) ); -- INSERTS FOR DEPARTMENT TABLE INSERT INTO department (id, name) VALUES (1, " Rabiah"); INSERT INTO department (id, name) VALUES (2, "Tammy"); INSERT INTO department (id, name) VALUES (3, "Edna"); INSERT INTO department (id, name) VALUES (4, "Irv"); INSERT INTO department (id, name) VALUES (5, "Diane"); -- INSERTED VALUE IN ROLE TABLE INSERT INTO role (id, title, salary, department_id ) VALUES (1, " manager",50000.00, 1); INSERT INTO role (id, title, salary, department_id ) VALUES (2, " employee", 40000.00, 2); INSERT INTO role (id, title, salary, department_id ) VALUES (3, " inturn",30000.00, 3); INSERT INTO role (id, title, salary, department_id ) VALUES (4, " engineer",20000.00, 4); INSERT INTO role (id, title, salary, department_id ) VALUES (5, " student",10000.00, 5); -- INSERTED VALUE IN EMPLOYEE TABLE INSERT INTO employee (id, first_name, last_name, role_id, manager_id) VALUES (1,"Rabiah", "Hogans", 1, 1); INSERT INTO employee (id, first_name, last_name, role_id, manager_id) VALUES (2,"Tammy", "Clark", 2, 2);INSERT INTO employee (id, first_name, last_name, role_id, manager_id) VALUES (3,"Edna", "Johnson", 3, 3);INSERT INTO employee (id, first_name, last_name, role_id, manager_id) VALUES (4,"Irv", "Rockington", 4, 4);INSERT INTO employee (id, first_name, last_name, role_id, manager_id) VALUES (5,"Diane", "White", 5, 5);
-- -------------------------------------------------------- -- Host: 127.0.0.1 -- Server version: 10.1.9-MariaDB - mariadb.org binary distribution -- Server OS: Win32 -- HeidiSQL Version: 9.4.0.5125 -- -------------------------------------------------------- /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET NAMES utf8 */; /*!50503 SET NAMES utf8mb4 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; -- Dumping structure for table gameoforum.message CREATE TABLE IF NOT EXISTS `Message` ( `messageId` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `threadId` int(10) unsigned NOT NULL, `userId` int(10) unsigned NOT NULL, `message` varchar(10000) NOT NULL, `postingTime` bigint(20) NOT NULL, PRIMARY KEY (`messageId`), KEY `threadId` (`threadId`), KEY `userId` (`userId`) ) ENGINE=MyISAM AUTO_INCREMENT=2527 DEFAULT CHARSET=utf8; -- Dumping data for table gameoforum.message: 2,526 rows /*!40000 ALTER TABLE `Message` DISABLE KEYS */; INSERT INTO `Message` (`messageId`, `threadId`, `userId`, `message`, `postingTime`) VALUES (1, 175, 33, 'Give up, they attack fast with spells.', 1437869506), (2, 175, 20, 'Maybe you can escape well with magic.', 1437869618), (3, 175, 46, 'Seriously, try to summon well with luck.', 1437869829), (4, 175, 46, 'They really escape fast with mounts.', 1437870031), (5, 175, 17, 'Try to summon slowly on horses.', 1437870756), (6, 175, 17, 'Try to summon well with items.', 1437871313), (7, 175, 33, 'Try to escape slowly using magic.', 1437871727), (8, 175, 17, 'Give up, they cast fast using swords.', 1437872057), (9, 175, 46, 'Give up, they attack slowly with luck.', 1437872824), (10, 175, 33, 'Try to escape fast on knives.', 1437873789), (11, 175, 20, 'Give up, they attack well with magic.', 1437874200), (12, 175, 33, 'Try to jump slowly with horses.', 1437874861), (13, 175, 33, 'They really attack well with horses.', 1437875371), (14, 175, 46, 'Try to defend fast with staffs.', 1437875831), (15, 175, 33, 'Try to summon badly with horses.', 1437876824), (16, 175, 33, 'They really summon well with knives.', 1437876969), (17, 175, 17, 'They really escape slowly on knives.', 1437877617), (18, 175, 33, 'Seriously, try to defend badly on horses.', 1437877735), (19, 175, 46, 'Give up, they jump fast on spells.', 1437878725), (20, 175, 17, 'Mmm... oh I know, cast well with mounts.', 1437879549), (21, 175, 33, 'Try to attack slowly on magic.', 1437880475), (22, 175, 17, 'Maybe you can escape badly using mounts.', 1437881459), (23, 175, 33, 'Give up, they cast fast using lances.', 1437882310), (24, 175, 33, 'Maybe you can jump fast using items.', 1437883256), (25, 175, 46, 'They really attack well using spells.', 1437883711), (26, 1, 23, 'Give up, they summon slowly on magic.', 1523763576), (27, 1, 42, 'Try to attack fast on spells.', 1523763949), (28, 1, 44, 'Try to jump well using knives.', 1523764807), (29, 1, 23, 'Give up, they attack slowly with luck.', 1523764934), (30, 1, 44, 'Try to jump badly on horses.', 1523764998), (31, 1, 42, 'They really attack fast using staffs.', 1523765734), (32, 1, 42, 'Maybe you can escape fast with magic.', 1523766650), (33, 1, 42, 'Try to summon fast with staffs.', 1523767378), (34, 2, 41, 'They really escape well with horses.', 1409844667), (35, 2, 37, 'They really summon badly on horses.', 1409845514), (36, 2, 41, 'They really defend fast on luck.', 1409845861), (37, 2, 37, 'Seriously, try to jump slowly with staffs.', 1409845943), (38, 2, 30, 'Give up, they attack badly using staffs.', 1409846149), (39, 2, 30, 'Seriously, try to cast slowly using swords.', 1409846299), (40, 3, 46, 'Maybe you can summon fast using lances.', 1423150103), (41, 3, 46, 'Give up, they defend badly with horses.', 1423150318), (42, 3, 30, 'Mmm... oh I know, attack well with swords.', 1423151230), (43, 3, 30, 'Try to attack slowly on luck.', 1423152199), (44, 3, 36, 'Mmm... oh I know, cast fast with swords.', 1423152818), (45, 3, 31, 'Try to attack slowly on staffs.', 1423153497), (46, 4, 29, 'Mmm... oh I know, summon well on mounts.', 1420209495), (47, 4, 26, 'Maybe you can cast badly using items.', 1420210283), (48, 4, 26, 'Mmm... oh I know, cast badly with magic.', 1420210469), (49, 4, 48, 'Give up, they jump well using mounts.', 1420210844), (50, 4, 26, 'Give up, they defend fast with luck.', 1420211638), (51, 4, 29, 'Try to jump fast using mounts.', 1420212506), (52, 4, 29, 'Mmm... oh I know, summon fast on staffs.', 1420213086), (53, 4, 29, 'Maybe you can defend slowly with spells.', 1420213240), (54, 4, 26, 'Try to summon well using spells.', 1420214204), (55, 4, 29, 'Seriously, try to jump fast on swords.', 1420215073), (56, 4, 29, 'Maybe you can defend badly using swords.', 1420215937), (57, 4, 48, 'Mmm... oh I know, cast slowly with horses.', 1420216175), (58, 4, 29, 'They really cast well on knives.', 1420216997), (59, 4, 26, 'They really escape fast with horses.', 1420217134), (60, 4, 21, 'Try to summon well with spells.', 1420217764), (61, 4, 26, 'Mmm... oh I know, cast badly with mounts.', 1420218653), (62, 4, 26, 'They really attack fast using swords.', 1420218889), (63, 5, 17, 'Give up, they summon fast on items.', 1518787613), (64, 5, 33, 'Maybe you can attack well on swords.', 1518788418), (65, 5, 33, 'They really cast badly with swords.', 1518788488), (66, 5, 33, 'Maybe you can jump fast using mounts.', 1518788816), (67, 5, 46, 'Try to defend badly with spells.', 1518788949), (68, 6, 9, 'Seriously, try to escape fast using luck.', 1456818902), (69, 6, 9, 'Maybe you can jump well using swords.', 1456819720), (70, 6, 21, 'Give up, they escape well on horses.', 1456820625), (71, 6, 8, 'Seriously, try to summon fast with staffs.', 1456820888), (72, 6, 8, 'Maybe you can escape badly on mounts.', 1456821381), (73, 6, 9, 'Maybe you can jump badly using swords.', 1456822275), (74, 6, 21, 'Give up, they defend fast with luck.', 1456822579), (75, 6, 21, 'Mmm... oh I know, attack fast with luck.', 1456822867), (76, 6, 9, 'They really defend slowly with spells.', 1456823690), (77, 6, 8, 'Try to summon well using mounts.', 1456824415), (78, 6, 21, 'Mmm... oh I know, summon badly using horses.', 1456825007), (79, 6, 9, 'Maybe you can attack badly using luck.', 1456825585), (80, 6, 8, 'Seriously, try to cast slowly on magic.', 1456825694), (81, 6, 8, 'Maybe you can attack badly on swords.', 1456826075), (82, 6, 8, 'Mmm... oh I know, cast fast on luck.', 1456826155), (83, 6, 21, 'Maybe you can cast slowly using luck.', 1456826348), (84, 6, 8, 'Mmm... oh I know, summon fast on magic.', 1456826490), (85, 6, 9, 'Maybe you can attack slowly with staffs.', 1456827291), (86, 6, 8, 'They really cast fast using staffs.', 1456828230), (87, 6, 21, 'Give up, they defend badly using knives.', 1456828781), (88, 6, 9, 'Seriously, try to escape slowly with horses.', 1456829155), (89, 6, 21, 'They really jump badly with spells.', 1456829521), (90, 7, 31, 'Seriously, try to jump fast with spells.', 1467407130), (91, 7, 47, 'Mmm... oh I know, defend fast on mounts.', 1467407627), (92, 7, 31, 'Maybe you can jump fast using spells.', 1467408409), (93, 7, 31, 'Seriously, try to attack badly with spells.', 1467408545), (94, 7, 31, 'Give up, they attack fast with knives.', 1467408793), (95, 7, 47, 'Seriously, try to defend slowly with staffs.', 1467409351), (96, 7, 31, 'Seriously, try to escape badly on knives.', 1467409767), (97, 8, 7, 'Mmm... oh I know, jump slowly using mounts.', 1468947119), (98, 8, 45, 'Maybe you can jump fast with magic.', 1468947978), (99, 8, 7, 'Try to escape well using magic.', 1468948241), (100, 8, 34, 'They really cast well with horses.', 1468948337), (101, 8, 34, 'Give up, they defend fast using horses.', 1468948659), (102, 8, 17, 'Mmm... oh I know, defend well on knives.', 1468949342), (103, 8, 17, 'Maybe you can escape well with knives.', 1468950290), (104, 8, 45, 'Mmm... oh I know, cast badly using spells.', 1468950382), (105, 8, 17, 'Seriously, try to defend slowly using luck.', 1468951172), (106, 8, 45, 'Give up, they summon well with mounts.', 1468952029), (107, 8, 45, 'They really summon slowly using items.', 1468953018), (108, 8, 7, 'Mmm... oh I know, attack well on staffs.', 1468953148), (109, 8, 7, 'Mmm... oh I know, attack well on luck.', 1468953510), (110, 8, 45, 'Seriously, try to attack fast on spells.', 1468953619), (111, 8, 17, 'Seriously, try to escape slowly using items.', 1468954580), (112, 8, 17, 'They really escape slowly using magic.', 1468955456), (113, 8, 7, 'Mmm... oh I know, escape slowly using magic.', 1468956249), (114, 8, 34, 'Try to jump slowly using mounts.', 1468957127), (115, 8, 17, 'Give up, they attack well using staffs.', 1468957205), (116, 8, 17, 'They really cast badly with mounts.', 1468957842), (117, 8, 34, 'Seriously, try to summon badly using magic.', 1468958660), (118, 8, 7, 'Try to attack slowly with mounts.', 1468959238), (119, 8, 17, 'They really summon badly on staffs.', 1468959368), (120, 8, 7, 'They really attack slowly with swords.', 1468959791), (121, 8, 17, 'Try to jump slowly using horses.', 1468960604), (122, 9, 22, 'Give up, they jump badly on mounts.', 1407716895), (123, 9, 3, 'Seriously, try to summon well with swords.', 1407717478), (124, 9, 5, 'Seriously, try to summon slowly on magic.', 1407718046), (125, 9, 5, 'Try to summon slowly with lances.', 1407718144), (126, 9, 3, 'They really summon badly with spells.', 1407718493), (127, 9, 22, 'Give up, they summon well using magic.', 1407718824), (128, 9, 5, 'Give up, they jump fast on items.', 1407719408), (129, 9, 4, 'Mmm... oh I know, attack badly on lances.', 1407719745), (130, 9, 3, 'Give up, they summon well on luck.', 1407720603), (131, 9, 22, 'Try to cast well with lances.', 1407720687), (132, 9, 4, 'Maybe you can defend fast on knives.', 1407721538), (133, 9, 5, 'Seriously, try to cast badly on staffs.', 1407721863), (134, 9, 22, 'Seriously, try to cast slowly using mounts.', 1407722070), (135, 9, 5, 'Mmm... oh I know, defend well using knives.', 1407722158), (136, 9, 3, 'Give up, they attack slowly on items.', 1407722376), (137, 9, 4, 'They really cast well with horses.', 1407723318), (138, 9, 5, 'Mmm... oh I know, defend fast on items.', 1407723924), (139, 10, 40, 'Try to cast badly with lances.', 1406420300), (140, 10, 40, 'Seriously, try to attack badly using items.', 1406420438), (141, 10, 45, 'Mmm... oh I know, summon badly using lances.', 1406421056), (142, 10, 13, 'Seriously, try to escape well with luck.', 1406421601), (143, 10, 45, 'They really attack badly using luck.', 1406421858), (144, 10, 40, 'Mmm... oh I know, attack well using luck.', 1406422471), (145, 10, 8, 'Maybe you can attack well on magic.', 1406422879), (146, 10, 13, 'Mmm... oh I know, defend fast with horses.', 1406423787), (147, 10, 13, 'Seriously, try to jump slowly with knives.', 1406424104), (148, 10, 8, 'Maybe you can attack well on lances.', 1406424814), (149, 10, 40, 'Give up, they defend slowly with spells.', 1406425273), (150, 10, 45, 'They really jump fast using magic.', 1406425467), (151, 11, 10, 'Mmm... oh I know, summon slowly on horses.', 1427006668), (152, 11, 49, 'Mmm... oh I know, jump badly on swords.', 1427007160), (153, 11, 49, 'Seriously, try to escape fast with swords.', 1427007736), (154, 11, 49, 'They really cast badly with swords.', 1427008087), (155, 11, 10, 'Mmm... oh I know, defend fast on items.', 1427008154), (156, 11, 28, 'Maybe you can attack well using swords.', 1427009014), (157, 11, 23, 'They really cast well with luck.', 1427009593), (158, 11, 23, 'Maybe you can defend slowly with mounts.', 1427010148), (159, 11, 10, 'Maybe you can cast well on spells.', 1427010585), (160, 11, 10, 'Maybe you can cast well on magic.', 1427011358), (161, 12, 19, 'Maybe you can defend well with mounts.', 1399899556), (162, 12, 21, 'Give up, they attack badly using lances.', 1399900170), (163, 12, 19, 'Try to jump badly using lances.', 1399900412), (164, 12, 47, 'Try to cast well with spells.', 1399900545), (165, 12, 19, 'Give up, they escape slowly using staffs.', 1399901459), (166, 12, 4, 'Mmm... oh I know, jump fast on horses.', 1399901622), (167, 12, 47, 'They really defend well using staffs.', 1399902453), (168, 12, 19, 'Mmm... oh I know, jump badly on mounts.', 1399903287), (169, 12, 4, 'Maybe you can attack fast using items.', 1399903805), (170, 12, 4, 'Give up, they jump well using lances.', 1399904221), (171, 12, 21, 'Mmm... oh I know, defend fast using swords.', 1399904805), (172, 12, 4, 'Maybe you can cast fast with luck.', 1399905204), (173, 12, 19, 'Seriously, try to cast fast using staffs.', 1399905682), (174, 12, 21, 'Try to escape well with lances.', 1399906020), (175, 12, 47, 'Give up, they summon fast with horses.', 1399906979), (176, 12, 19, 'Mmm... oh I know, defend badly using magic.', 1399907947), (177, 12, 4, 'Give up, they jump slowly using items.', 1399908430), (178, 13, 32, 'Mmm... oh I know, cast fast using mounts.', 1523451883), (179, 13, 16, 'They really attack badly on luck.', 1523452009), (180, 13, 43, 'Try to summon badly on knives.', 1523452288), (181, 13, 32, 'They really escape badly with staffs.', 1523452663), (182, 13, 5, 'Try to jump badly with luck.', 1523453411), (183, 13, 43, 'Give up, they defend fast on lances.', 1523454024), (184, 13, 43, 'Try to summon well on horses.', 1523454436), (185, 13, 16, 'Give up, they cast fast with magic.', 1523454780), (186, 13, 5, 'Maybe you can defend badly on spells.', 1523455487), (187, 13, 43, 'Maybe you can attack fast on knives.', 1523456140), (188, 13, 5, 'Maybe you can defend well with mounts.', 1523456672), (189, 14, 31, 'Try to defend slowly with horses.', 1464110195), (190, 14, 29, 'Maybe you can defend fast with knives.', 1464110986), (191, 14, 29, 'Maybe you can escape fast using mounts.', 1464111219), (192, 14, 50, 'Mmm... oh I know, defend slowly using luck.', 1464111426), (193, 14, 29, 'Seriously, try to jump fast on luck.', 1464112409), (194, 14, 31, 'They really summon badly on staffs.', 1464113185), (195, 14, 50, 'Give up, they jump fast with lances.', 1464113252), (196, 14, 31, 'Maybe you can cast fast on spells.', 1464113833), (197, 14, 31, 'Mmm... oh I know, cast fast with luck.', 1464114187), (198, 14, 1, 'They really cast slowly on luck.', 1464114256), (199, 14, 1, 'Mmm... oh I know, escape slowly using spells.', 1464114820), (200, 14, 1, 'Maybe you can attack well on items.', 1464115071), (201, 14, 1, 'Maybe you can escape slowly with luck.', 1464115557), (202, 14, 29, 'They really cast well with lances.', 1464115832), (203, 14, 29, 'Seriously, try to summon badly on staffs.', 1464116781), (204, 14, 29, 'Maybe you can defend slowly on mounts.', 1464117409), (205, 14, 29, 'Maybe you can summon badly with knives.', 1464117949), (206, 14, 1, 'Mmm... oh I know, escape well using lances.', 1464118646), (207, 14, 50, 'Give up, they attack slowly using mounts.', 1464119510), (208, 15, 35, 'They really defend well on lances.', 1496192450), (209, 15, 2, 'Give up, they attack fast using mounts.', 1496193450), (210, 15, 39, 'They really attack badly with knives.', 1496193779), (211, 15, 35, 'Give up, they cast well on magic.', 1496194634), (212, 15, 39, 'Maybe you can summon slowly with horses.', 1496194713), (213, 15, 2, 'Maybe you can jump well using knives.', 1496195305), (214, 15, 2, 'Mmm... oh I know, summon slowly using horses.', 1496195691), (215, 15, 2, 'Maybe you can escape badly on mounts.', 1496195898), (216, 15, 2, 'Maybe you can jump fast on magic.', 1496196454), (217, 15, 35, 'Maybe you can attack badly with knives.', 1496196589), (218, 15, 2, 'Give up, they cast fast on luck.', 1496196937), (219, 15, 2, 'They really attack fast on luck.', 1496197194), (220, 15, 39, 'Mmm... oh I know, summon fast on spells.', 1496197475), (221, 15, 2, 'Maybe you can jump well on horses.', 1496197983), (222, 16, 3, 'Mmm... oh I know, summon badly with staffs.', 1399626494), (223, 16, 30, 'Mmm... oh I know, escape well using lances.', 1399627294), (224, 16, 17, 'They really escape slowly on items.', 1399627658), (225, 16, 25, 'Try to attack slowly with staffs.', 1399628091), (226, 16, 3, 'Seriously, try to summon slowly with magic.', 1399628348), (227, 16, 25, 'They really attack fast on swords.', 1399628636), (228, 16, 30, 'Try to attack badly with luck.', 1399628856), (229, 16, 3, 'Seriously, try to escape fast using mounts.', 1399629048), (230, 17, 29, 'Give up, they cast fast on swords.', 1496739687), (231, 17, 33, 'Seriously, try to escape fast on spells.', 1496740572), (232, 17, 29, 'Try to jump well with luck.', 1496740744), (233, 17, 37, 'They really summon well with magic.', 1496741491), (234, 17, 37, 'Maybe you can jump slowly with spells.', 1496742122), (235, 17, 37, 'They really attack well on swords.', 1496742432), (236, 17, 15, 'Maybe you can cast well on spells.', 1496742634), (237, 17, 33, 'Seriously, try to attack well using items.', 1496743292), (238, 17, 29, 'Mmm... oh I know, escape well on mounts.', 1496744283), (239, 17, 33, 'Maybe you can defend fast on mounts.', 1496744824), (240, 17, 15, 'They really summon well with staffs.', 1496744958), (241, 17, 15, 'Mmm... oh I know, jump slowly with lances.', 1496745532), (242, 17, 15, 'Seriously, try to defend fast on items.', 1496745784), (243, 17, 29, 'They really cast badly on spells.', 1496746195), (244, 17, 15, 'They really summon well on magic.', 1496746955), (245, 18, 45, 'Give up, they defend well using lances.', 1511939452), (246, 18, 27, 'Give up, they defend slowly with knives.', 1511939820), (247, 18, 45, 'They really jump slowly using magic.', 1511940109), (248, 18, 27, 'Mmm... oh I know, summon slowly using spells.', 1511940357), (249, 18, 1, 'They really jump fast on luck.', 1511940872), (250, 18, 1, 'Try to defend slowly on luck.', 1511941606), (251, 18, 7, 'They really summon well on horses.', 1511942127), (252, 18, 45, 'Maybe you can defend well on lances.', 1511942883), (253, 18, 1, 'Give up, they jump well with magic.', 1511943842), (254, 18, 27, 'Give up, they defend fast using mounts.', 1511944617), (255, 18, 27, 'Give up, they cast well using staffs.', 1511945452), (256, 18, 27, 'Mmm... oh I know, attack fast using lances.', 1511946025), (257, 18, 1, 'Seriously, try to defend badly using luck.', 1511946558), (258, 18, 7, 'They really attack fast with swords.', 1511946664), (259, 18, 1, 'Mmm... oh I know, attack slowly using lances.', 1511946801), (260, 18, 1, 'Give up, they attack well with spells.', 1511947043), (261, 18, 45, 'They really summon badly on knives.', 1511947424), (262, 18, 45, 'Give up, they defend fast using swords.', 1511947685), (263, 18, 45, 'Seriously, try to defend badly with luck.', 1511947963), (264, 18, 45, 'Maybe you can jump slowly with luck.', 1511948894), (265, 19, 41, 'Give up, they summon fast with horses.', 1527781033), (266, 19, 50, 'They really cast slowly using luck.', 1527781095), (267, 19, 28, 'Seriously, try to summon fast with items.', 1527781262), (268, 19, 43, 'Try to attack slowly using staffs.', 1527782142), (269, 19, 41, 'Give up, they cast badly with spells.', 1527782480), (270, 19, 50, 'They really summon badly using horses.', 1527782857), (271, 19, 50, 'Seriously, try to attack slowly on magic.', 1527783247), (272, 19, 43, 'Mmm... oh I know, jump fast on luck.', 1527783623), (273, 19, 43, 'Give up, they summon badly with knives.', 1527784446), (274, 19, 41, 'Mmm... oh I know, cast badly on knives.', 1527784983), (275, 19, 41, 'Give up, they summon badly on magic.', 1527785675), (276, 19, 43, 'Maybe you can attack fast on luck.', 1527786406), (277, 19, 43, 'Maybe you can defend well on magic.', 1527786587), (278, 19, 28, 'Mmm... oh I know, escape well on knives.', 1527787261), (279, 19, 43, 'Maybe you can attack badly on magic.', 1527787600), (280, 19, 43, 'Try to jump slowly with magic.', 1527788073), (281, 19, 41, 'Try to attack badly with swords.', 1527788239), (282, 20, 6, 'Maybe you can attack badly with horses.', 1427353152), (283, 20, 6, 'Mmm... oh I know, escape well using knives.', 1427353741), (284, 20, 6, 'Maybe you can cast fast using luck.', 1427354024), (285, 20, 46, 'Seriously, try to cast badly using knives.', 1427354593), (286, 20, 46, 'Try to cast fast on items.', 1427354903), (287, 20, 46, 'Seriously, try to jump badly on luck.', 1427355361), (288, 20, 7, 'Give up, they attack fast on spells.', 1427355820), (289, 21, 28, 'Maybe you can defend fast with magic.', 1402288024), (290, 21, 28, 'Try to jump well using staffs.', 1402288262), (291, 21, 44, 'Seriously, try to attack slowly with magic.', 1402288778), (292, 21, 29, 'Maybe you can escape badly on items.', 1402289208), (293, 21, 28, 'Seriously, try to attack well using magic.', 1402289626), (294, 21, 28, 'Seriously, try to cast fast using spells.', 1402289866), (295, 21, 17, 'Mmm... oh I know, escape slowly with horses.', 1402290738), (296, 21, 29, 'Maybe you can summon slowly with luck.', 1402291514), (297, 21, 28, 'Try to jump well on luck.', 1402292063), (298, 21, 17, 'Maybe you can defend badly on knives.', 1402292552), (299, 21, 29, 'They really attack badly using staffs.', 1402292644), (300, 21, 17, 'They really cast slowly with horses.', 1402292795), (301, 21, 28, 'They really jump badly using staffs.', 1402293726), (302, 21, 28, 'Try to escape slowly on mounts.', 1402294299), (303, 21, 44, 'Give up, they escape badly using horses.', 1402294436), (304, 21, 29, 'Maybe you can jump badly using swords.', 1402294983), (305, 21, 29, 'They really defend fast on horses.', 1402295108), (306, 21, 44, 'Try to escape badly on luck.', 1402296050), (307, 21, 28, 'Mmm... oh I know, escape badly using staffs.', 1402296204), (308, 21, 17, 'They really escape well with lances.', 1402297097), (309, 21, 44, 'Seriously, try to attack badly on luck.', 1402297537), (310, 21, 28, 'Mmm... oh I know, summon fast using staffs.', 1402297962), (311, 22, 48, 'Mmm... oh I know, escape well with lances.', 1492023417), (312, 22, 27, 'Give up, they summon badly on spells.', 1492023750), (313, 22, 45, 'They really summon well on swords.', 1492024680), (314, 22, 37, 'Try to defend slowly on horses.', 1492025007), (315, 22, 27, 'Mmm... oh I know, summon fast on spells.', 1492025676), (316, 22, 27, 'Try to defend fast with items.', 1492025767), (317, 22, 45, 'Mmm... oh I know, jump badly with horses.', 1492026453), (318, 22, 27, 'Seriously, try to cast badly with staffs.', 1492026782), (319, 22, 27, 'Give up, they jump slowly with staffs.', 1492027603), (320, 22, 45, 'They really escape slowly on lances.', 1492028509), (321, 22, 48, 'Mmm... oh I know, summon badly using horses.', 1492029202), (322, 23, 7, 'Try to cast slowly using items.', 1491536373), (323, 23, 35, 'Give up, they escape fast on swords.', 1491536660), (324, 23, 35, 'Try to defend fast with magic.', 1491537643), (325, 23, 44, 'Try to jump well on horses.', 1491538139), (326, 23, 11, 'Try to defend well on swords.', 1491538707), (327, 23, 11, 'Give up, they summon badly with staffs.', 1491538896), (328, 23, 11, 'They really defend well on knives.', 1491539384), (329, 23, 35, 'Mmm... oh I know, summon well with knives.', 1491539478), (330, 23, 35, 'Mmm... oh I know, defend badly on magic.', 1491540322), (331, 23, 44, 'Give up, they defend fast on magic.', 1491540930), (332, 23, 35, 'Seriously, try to jump badly using staffs.', 1491541206), (333, 23, 35, 'Try to cast fast with items.', 1491541377), (334, 23, 7, 'They really defend badly with items.', 1491541472), (335, 23, 11, 'Maybe you can escape fast using spells.', 1491542155), (336, 23, 7, 'Mmm... oh I know, cast well with knives.', 1491542977), (337, 23, 11, 'Try to summon fast using luck.', 1491543746), (338, 23, 44, 'Seriously, try to summon fast on luck.', 1491543968), (339, 24, 42, 'Give up, they summon slowly with luck.', 1432700887), (340, 24, 42, 'Mmm... oh I know, attack fast on staffs.', 1432701861), (341, 24, 16, 'Try to cast badly with knives.', 1432702641), (342, 24, 11, 'Try to cast slowly with mounts.', 1432703552), (343, 24, 16, 'Seriously, try to cast slowly with spells.', 1432704455), (344, 24, 42, 'Maybe you can jump badly with spells.', 1432704556), (345, 24, 42, 'Mmm... oh I know, cast fast with luck.', 1432705220), (346, 24, 12, 'They really escape badly on knives.', 1432705974), (347, 24, 42, 'Try to defend badly with horses.', 1432706951), (348, 25, 41, 'Mmm... oh I know, defend fast with magic.', 1423137811), (349, 25, 41, 'Mmm... oh I know, attack well on horses.', 1423138342), (350, 25, 9, 'Seriously, try to summon slowly with mounts.', 1423138760), (351, 25, 41, 'Try to cast fast with spells.', 1423139481), (352, 25, 4, 'Maybe you can summon slowly with lances.', 1423140049), (353, 25, 4, 'Seriously, try to jump well using magic.', 1423140540), (354, 25, 4, 'They really escape badly with luck.', 1423141208), (355, 25, 4, 'Maybe you can summon fast on magic.', 1423141426), (356, 26, 1, 'Give up, they attack badly on horses.', 1512365636), (357, 26, 45, 'Maybe you can cast slowly on knives.', 1512366325), (358, 26, 30, 'Try to summon slowly with horses.', 1512367138), (359, 26, 1, 'They really jump well on horses.', 1512367707), (360, 26, 30, 'They really jump well with staffs.', 1512368505), (361, 26, 45, 'Give up, they escape fast with lances.', 1512368588), (362, 26, 45, 'They really summon fast using luck.', 1512369360), (363, 26, 45, 'Give up, they escape fast with spells.', 1512369838), (364, 26, 45, 'Try to summon slowly on swords.', 1512370196), (365, 26, 35, 'Seriously, try to summon fast with swords.', 1512371022), (366, 26, 30, 'They really cast badly using luck.', 1512371579), (367, 26, 45, 'Seriously, try to escape badly using luck.', 1512371999), (368, 26, 45, 'Give up, they attack slowly on horses.', 1512372220), (369, 26, 45, 'Maybe you can cast well using luck.', 1512373000), (370, 26, 35, 'Try to summon well on items.', 1512373564), (371, 26, 30, 'Maybe you can jump slowly using staffs.', 1512374257), (372, 26, 35, 'Maybe you can defend badly on lances.', 1512374461), (373, 26, 1, 'Give up, they escape slowly on knives.', 1512375350), (374, 26, 45, 'They really attack fast on magic.', 1512375953), (375, 27, 39, 'Give up, they cast fast with staffs.', 1485975935), (376, 27, 40, 'Give up, they escape fast with items.', 1485976113), (377, 27, 39, 'Maybe you can escape slowly on staffs.', 1485977013), (378, 27, 2, 'Mmm... oh I know, jump fast with lances.', 1485977950), (379, 27, 12, 'Maybe you can defend well using swords.', 1485978348), (380, 27, 39, 'Try to defend slowly using staffs.', 1485978492), (381, 27, 2, 'They really jump well on luck.', 1485979441), (382, 27, 39, 'Give up, they jump fast using items.', 1485979791), (383, 27, 12, 'Give up, they jump well with staffs.', 1485980580), (384, 27, 12, 'They really jump well with swords.', 1485981166), (385, 27, 12, 'Seriously, try to attack fast on spells.', 1485981383), (386, 27, 39, 'Seriously, try to attack well with items.', 1485982233), (387, 27, 39, 'Give up, they attack fast with spells.', 1485982590), (388, 27, 39, 'Seriously, try to escape slowly using mounts.', 1485982773), (389, 27, 40, 'Mmm... oh I know, summon badly on spells.', 1485983450), (390, 27, 39, 'Try to summon fast with horses.', 1485983871), (391, 27, 40, 'Try to cast fast with spells.', 1485984237), (392, 27, 39, 'They really cast well using knives.', 1485984986), (393, 27, 39, 'Try to attack slowly with staffs.', 1485985952), (394, 27, 40, 'Seriously, try to jump badly using spells.', 1485986333), (395, 28, 31, 'Maybe you can cast badly on spells.', 1409589596), (396, 28, 8, 'They really summon badly on spells.', 1409589894), (397, 28, 31, 'Try to jump fast using spells.', 1409590038), (398, 28, 8, 'Maybe you can jump badly using staffs.', 1409590769), (399, 28, 8, 'Maybe you can summon well using items.', 1409591264), (400, 28, 8, 'Try to summon fast on items.', 1409591324), (401, 28, 8, 'Try to cast well on knives.', 1409591519), (402, 28, 13, 'Give up, they cast fast using items.', 1409592391), (403, 28, 13, 'Give up, they summon well with spells.', 1409592987), (404, 28, 8, 'Try to defend badly using horses.', 1409593132), (405, 28, 8, 'They really defend well with swords.', 1409593332), (406, 28, 31, 'Mmm... oh I know, attack badly with knives.', 1409593535), (407, 28, 8, 'Mmm... oh I know, jump slowly on luck.', 1409594457), (408, 28, 31, 'They really cast fast on staffs.', 1409595035), (409, 28, 8, 'Maybe you can summon fast with luck.', 1409595716), (410, 29, 16, 'Try to defend slowly on horses.', 1400407154), (411, 29, 29, 'Mmm... oh I know, cast badly with mounts.', 1400408017), (412, 29, 29, 'Seriously, try to attack well on staffs.', 1400408269), (413, 29, 46, 'Maybe you can summon slowly using horses.', 1400408396), (414, 29, 46, 'Maybe you can summon badly on luck.', 1400409388), (415, 29, 46, 'They really summon fast on lances.', 1400409733), (416, 29, 16, 'Seriously, try to cast well on lances.', 1400410020), (417, 29, 37, 'Maybe you can jump badly with lances.', 1400410169), (418, 29, 37, 'Mmm... oh I know, defend slowly with luck.', 1400410595), (419, 29, 37, 'Maybe you can summon slowly using items.', 1400411503), (420, 29, 16, 'They really defend slowly using knives.', 1400411996), (421, 29, 46, 'They really summon slowly on knives.', 1400412600), (422, 29, 16, 'Seriously, try to defend badly with staffs.', 1400412819), (423, 29, 37, 'Seriously, try to escape well on items.', 1400413140), (424, 29, 29, 'Try to cast badly on knives.', 1400414087), (425, 29, 37, 'Give up, they jump badly with knives.', 1400414936), (426, 29, 46, 'Maybe you can attack fast on luck.', 1400415831), (427, 29, 46, 'Try to escape fast with magic.', 1400415941), (428, 29, 16, 'Seriously, try to defend slowly on staffs.', 1400416303), (429, 29, 37, 'Give up, they cast fast with staffs.', 1400416898), (430, 29, 46, 'Maybe you can escape well on items.', 1400417183), (431, 29, 16, 'Give up, they attack well using staffs.', 1400417656), (432, 29, 16, 'Maybe you can jump slowly with mounts.', 1400418308), (433, 29, 16, 'Try to escape well on luck.', 1400418525), (434, 30, 20, 'Maybe you can defend well with luck.', 1521603063), (435, 30, 27, 'Seriously, try to escape slowly using horses.', 1521603569), (436, 30, 17, 'They really defend well on items.', 1521604190), (437, 30, 36, 'They really defend badly on items.', 1521604602), (438, 30, 17, 'Seriously, try to defend badly with horses.', 1521605048), (439, 30, 20, 'Mmm... oh I know, summon well with staffs.', 1521605145), (440, 30, 36, 'Maybe you can jump slowly using spells.', 1521605769), (441, 30, 17, 'Maybe you can summon badly using spells.', 1521606204), (442, 30, 20, 'They really jump slowly on staffs.', 1521606482), (443, 30, 27, 'They really cast slowly using magic.', 1521606622), (444, 30, 17, 'Seriously, try to jump slowly with items.', 1521606837), (445, 30, 20, 'Give up, they cast slowly using horses.', 1521606971), (446, 30, 36, 'They really summon slowly on horses.', 1521607702), (447, 30, 20, 'Give up, they jump well using luck.', 1521607844), (448, 30, 17, 'Seriously, try to jump badly using swords.', 1521607986), (449, 30, 17, 'Try to defend slowly on magic.', 1521608940), (450, 30, 20, 'Try to defend badly with items.', 1521609439), (451, 30, 27, 'Mmm... oh I know, summon badly on luck.', 1521609932), (452, 30, 36, 'They really escape fast on lances.', 1521610826), (453, 30, 36, 'Try to cast fast on items.', 1521610935), (454, 30, 20, 'Mmm... oh I know, escape badly using items.', 1521611786), (455, 31, 31, 'Seriously, try to defend badly using mounts.', 1460592518), (456, 31, 5, 'Maybe you can summon badly with staffs.', 1460593421), (457, 31, 23, 'Mmm... oh I know, defend badly on mounts.', 1460593526), (458, 31, 5, 'Seriously, try to escape well with spells.', 1460594128), (459, 31, 23, 'Maybe you can summon fast on mounts.', 1460595056), (460, 31, 23, 'Mmm... oh I know, cast slowly on swords.', 1460595724), (461, 31, 5, 'They really summon well with magic.', 1460596059), (462, 31, 23, 'Give up, they defend badly with magic.', 1460596900), (463, 31, 23, 'Maybe you can defend fast on swords.', 1460597646), (464, 31, 5, 'Mmm... oh I know, summon fast using items.', 1460597790), (465, 31, 5, 'Maybe you can attack fast with mounts.', 1460598182), (466, 31, 45, 'Seriously, try to attack badly on staffs.', 1460599182), (467, 31, 5, 'Seriously, try to attack badly using lances.', 1460599774), (468, 31, 45, 'Mmm... oh I know, attack slowly on horses.', 1460600512), (469, 31, 45, 'Maybe you can summon badly on swords.', 1460600604), (470, 31, 23, 'Seriously, try to jump well with luck.', 1460601556), (471, 31, 23, 'They really cast fast using spells.', 1460602493), (472, 31, 5, 'Maybe you can escape badly using mounts.', 1460603352), (473, 31, 45, 'Give up, they cast slowly with spells.', 1460603708), (474, 31, 45, 'Seriously, try to cast fast using horses.', 1460604261), (475, 31, 45, 'Maybe you can attack well using knives.', 1460605115), (476, 31, 23, 'They really defend slowly using luck.', 1460605382), (477, 31, 31, 'Try to jump slowly using knives.', 1460605888), (478, 31, 5, 'Maybe you can cast slowly with magic.', 1460606782), (479, 31, 23, 'Seriously, try to cast slowly using horses.', 1460607195), (480, 32, 3, 'Try to attack fast on spells.', 1491277916), (481, 32, 4, 'Mmm... oh I know, escape well using magic.', 1491278544), (482, 32, 26, 'Maybe you can defend well on magic.', 1491278629), (483, 32, 4, 'Seriously, try to summon fast on mounts.', 1491278916), (484, 32, 3, 'They really jump badly with swords.', 1491279564), (485, 32, 3, 'Seriously, try to summon well using items.', 1491280161), (486, 32, 3, 'Maybe you can attack slowly with staffs.', 1491280265), (487, 32, 3, 'They really summon badly using horses.', 1491281233), (488, 32, 4, 'Maybe you can cast well on luck.', 1491281509), (489, 32, 26, 'Give up, they attack fast using spells.', 1491281757), (490, 32, 7, 'Try to defend slowly on knives.', 1491282064), (491, 32, 3, 'Maybe you can cast slowly on luck.', 1491282393), (492, 32, 7, 'Maybe you can attack slowly using staffs.', 1491282716), (493, 32, 26, 'Mmm... oh I know, cast well with swords.', 1491283286), (494, 32, 7, 'Try to cast well using mounts.', 1491283623), (495, 32, 7, 'Mmm... oh I know, cast well with horses.', 1491284086), (496, 33, 35, 'They really jump slowly on lances.', 1453667767), (497, 33, 13, 'Give up, they jump fast with items.', 1453667979), (498, 33, 8, 'They really cast well on swords.', 1453668200), (499, 33, 35, 'Seriously, try to escape slowly using staffs.', 1453668646), (500, 33, 25, 'Seriously, try to summon slowly on items.', 1453669620), (501, 33, 8, 'Mmm... oh I know, defend badly with horses.', 1453669958), (502, 33, 8, 'Give up, they escape well with magic.', 1453670185), (503, 33, 25, 'Give up, they jump fast with staffs.', 1453670421), (504, 33, 35, 'Give up, they attack well using horses.', 1453670802), (505, 33, 35, 'They really defend well on luck.', 1453671783), (506, 33, 13, 'Give up, they defend fast using swords.', 1453671930), (507, 33, 13, 'Maybe you can cast fast with staffs.', 1453672715), (508, 34, 31, 'Give up, they attack fast using items.', 1428104872), (509, 34, 15, 'Seriously, try to escape well with mounts.', 1428105233), (510, 34, 42, 'Mmm... oh I know, defend fast with horses.', 1428105701), (511, 34, 31, 'Maybe you can attack fast with spells.', 1428106336), (512, 34, 15, 'Maybe you can attack slowly using luck.', 1428106701), (513, 34, 15, 'Mmm... oh I know, escape fast on staffs.', 1428106920), (514, 34, 31, 'They really cast slowly using luck.', 1428107715), (515, 35, 18, 'They really attack well using swords.', 1448028530), (516, 35, 14, 'Seriously, try to escape fast on magic.', 1448028764), (517, 35, 14, 'Mmm... oh I know, defend fast on knives.', 1448028863), (518, 35, 6, 'Try to cast fast with staffs.', 1448029736), (519, 35, 14, 'Give up, they summon fast with knives.', 1448030061), (520, 35, 12, 'Give up, they attack slowly using staffs.', 1448030660), (521, 35, 12, 'Seriously, try to cast well on lances.', 1448030972), (522, 35, 6, 'Mmm... oh I know, cast badly on spells.', 1448031324), (523, 35, 12, 'Seriously, try to escape well on swords.', 1448032256), (524, 35, 6, 'Seriously, try to escape badly with swords.', 1448033218), (525, 35, 18, 'Try to escape slowly using staffs.', 1448034168), (526, 35, 6, 'Mmm... oh I know, cast well on horses.', 1448034421), (527, 35, 14, 'Maybe you can defend slowly using swords.', 1448035211), (528, 35, 18, 'Seriously, try to defend fast with luck.', 1448035279), (529, 35, 18, 'Mmm... oh I know, defend fast with magic.', 1448035961), (530, 35, 18, 'They really summon well using lances.', 1448036209), (531, 35, 6, 'Seriously, try to defend slowly on swords.', 1448036585), (532, 35, 6, 'Try to defend badly on spells.', 1448037116), (533, 35, 12, 'Give up, they cast fast with swords.', 1448038012), (534, 36, 8, 'Try to defend slowly with staffs.', 1479528552), (535, 36, 8, 'Mmm... oh I know, jump fast using luck.', 1479529086), (536, 36, 16, 'Give up, they attack slowly with spells.', 1479529852), (537, 36, 43, 'Mmm... oh I know, escape slowly using horses.', 1479530130), (538, 36, 17, 'Maybe you can summon badly on swords.', 1479530765), (539, 36, 17, 'Seriously, try to cast well using luck.', 1479530882), (540, 36, 17, 'Maybe you can jump well with mounts.', 1479531148), (541, 36, 16, 'Maybe you can defend fast with staffs.', 1479531934), (542, 36, 43, 'Give up, they jump slowly on lances.', 1479532037), (543, 36, 17, 'They really escape badly on mounts.', 1479532870), (544, 36, 43, 'Try to attack well on swords.', 1479533186), (545, 36, 8, 'Maybe you can attack slowly with staffs.', 1479533395), (546, 36, 8, 'Seriously, try to defend slowly on horses.', 1479534043), (547, 36, 43, 'They really escape badly with spells.', 1479534367), (548, 36, 43, 'Give up, they defend badly on spells.', 1479534757), (549, 36, 43, 'Maybe you can cast fast on knives.', 1479535281), (550, 36, 43, 'Mmm... oh I know, cast badly using magic.', 1479535706), (551, 36, 17, 'They really summon badly on knives.', 1479536430), (552, 36, 43, 'Seriously, try to jump well on luck.', 1479537132), (553, 36, 8, 'Give up, they defend fast on items.', 1479537293), (554, 36, 43, 'Maybe you can attack slowly on mounts.', 1479538258), (555, 37, 22, 'Maybe you can defend badly on mounts.', 1413616065), (556, 37, 22, 'Give up, they escape badly using lances.', 1413616459), (557, 37, 8, 'Mmm... oh I know, escape well on spells.', 1413616883), (558, 37, 22, 'Seriously, try to escape fast using luck.', 1413617538), (559, 37, 22, 'Maybe you can attack slowly with spells.', 1413617899), (560, 37, 22, 'Try to defend badly with lances.', 1413618072), (561, 37, 49, 'Mmm... oh I know, jump badly using magic.', 1413619026), (562, 37, 7, 'They really jump slowly with spells.', 1413619688), (563, 38, 19, 'Seriously, try to jump fast using swords.', 1502748465), (564, 38, 19, 'Try to cast fast with spells.', 1502749223), (565, 38, 19, 'Seriously, try to defend badly using swords.', 1502749357), (566, 38, 19, 'Seriously, try to escape slowly with lances.', 1502749880), (567, 38, 19, 'Maybe you can summon badly using lances.', 1502750411), (568, 38, 37, 'Try to attack fast using luck.', 1502750511), (569, 38, 40, 'Maybe you can summon fast on staffs.', 1502751044), (570, 38, 40, 'Mmm... oh I know, escape fast on knives.', 1502751442), (571, 38, 50, 'Maybe you can attack badly using horses.', 1502751863), (572, 38, 19, 'Try to defend well using spells.', 1502752602), (573, 39, 23, 'Try to cast badly on lances.', 1490633561), (574, 39, 41, 'Seriously, try to summon well with staffs.', 1490634345), (575, 39, 50, 'They really defend badly with lances.', 1490634480), (576, 39, 50, 'Mmm... oh I know, attack badly with knives.', 1490634700), (577, 39, 37, 'Mmm... oh I know, summon fast using magic.', 1490634848), (578, 39, 41, 'They really jump slowly on luck.', 1490635721), (579, 39, 23, 'Give up, they jump well on magic.', 1490635919), (580, 39, 37, 'Maybe you can summon slowly using horses.', 1490636898), (581, 40, 42, 'They really attack badly using magic.', 1463715879), (582, 40, 42, 'Maybe you can escape slowly on items.', 1463716076), (583, 40, 42, 'Try to cast badly on items.', 1463716905), (584, 40, 19, 'Give up, they jump slowly with swords.', 1463717275), (585, 40, 42, 'Mmm... oh I know, escape badly with knives.', 1463717892), (586, 41, 26, 'Try to summon badly with magic.', 1485110155), (587, 41, 26, 'Maybe you can attack well using lances.', 1485110427), (588, 41, 26, 'Give up, they cast fast with magic.', 1485110556), (589, 41, 47, 'Try to jump badly using horses.', 1485111223), (590, 41, 47, 'Maybe you can summon badly on items.', 1485111855), (591, 41, 47, 'Give up, they jump badly on horses.', 1485112437), (592, 41, 26, 'Try to escape fast using horses.', 1485112887), (593, 41, 47, 'Mmm... oh I know, attack fast using staffs.', 1485113538), (594, 41, 26, 'Seriously, try to cast badly on staffs.', 1485114481), (595, 41, 24, 'Give up, they attack slowly using spells.', 1485115024), (596, 41, 47, 'Maybe you can escape well on items.', 1485115291), (597, 41, 24, 'Mmm... oh I know, jump slowly with staffs.', 1485115530), (598, 41, 26, 'Maybe you can jump well using magic.', 1485116321), (599, 41, 26, 'Mmm... oh I know, defend fast using swords.', 1485116976), (600, 41, 24, 'Maybe you can escape fast using staffs.', 1485117825), (601, 42, 26, 'Try to jump badly on lances.', 1441531239), (602, 42, 24, 'They really jump slowly using staffs.', 1441531669), (603, 42, 24, 'Mmm... oh I know, escape fast using spells.', 1441532466), (604, 42, 26, 'They really summon well on knives.', 1441533245), (605, 42, 26, 'Maybe you can escape fast on items.', 1441533843), (606, 42, 19, 'They really cast badly on magic.', 1441534346), (607, 42, 20, 'Mmm... oh I know, jump fast on knives.', 1441534523), (608, 42, 19, 'They really defend well with staffs.', 1441534871), (609, 42, 24, 'Maybe you can defend badly with staffs.', 1441535265), (610, 43, 16, 'Maybe you can jump slowly with mounts.', 1495213908), (611, 43, 11, 'Maybe you can defend well with swords.', 1495214767), (612, 43, 47, 'Give up, they escape fast using items.', 1495215050), (613, 43, 38, 'Try to cast well on luck.', 1495215122), (614, 43, 16, 'Maybe you can cast slowly on items.', 1495215268), (615, 43, 11, 'Maybe you can jump slowly with magic.', 1495215360), (616, 43, 11, 'They really attack slowly using mounts.', 1495215930), (617, 43, 11, 'Give up, they summon well with luck.', 1495216706), (618, 43, 16, 'Mmm... oh I know, attack slowly with items.', 1495217158), (619, 43, 47, 'Try to escape fast on staffs.', 1495217703), (620, 43, 16, 'Seriously, try to defend slowly using horses.', 1495218257), (621, 44, 12, 'They really cast slowly using items.', 1426063653), (622, 44, 11, 'They really attack well using staffs.', 1426064172), (623, 44, 12, 'They really attack slowly on magic.', 1426064749), (624, 44, 22, 'Mmm... oh I know, cast slowly with mounts.', 1426064966), (625, 44, 12, 'They really attack well using magic.', 1426065505), (626, 44, 22, 'Maybe you can summon slowly using lances.', 1426065767), (627, 44, 22, 'Give up, they cast well on staffs.', 1426066044), (628, 44, 3, 'Give up, they escape well on horses.', 1426066624), (629, 44, 22, 'Give up, they cast fast on mounts.', 1426066789), (630, 44, 11, 'Try to escape well using horses.', 1426067546), (631, 44, 22, 'They really escape fast on staffs.', 1426068541), (632, 44, 22, 'Give up, they jump fast with swords.', 1426069101), (633, 44, 12, 'They really jump slowly on staffs.', 1426069290), (634, 44, 3, 'Give up, they escape slowly with items.', 1426070228), (635, 44, 12, 'They really attack badly on lances.', 1426071134), (636, 44, 3, 'Try to attack well using items.', 1426071228), (637, 44, 12, 'Try to escape slowly with staffs.', 1426071945), (638, 44, 22, 'Seriously, try to summon fast with spells.', 1426072576), (639, 44, 3, 'Seriously, try to cast badly using spells.', 1426073091), (640, 45, 45, 'Mmm... oh I know, attack well using knives.', 1390432580), (641, 45, 21, 'Seriously, try to jump slowly using knives.', 1390432822), (642, 45, 45, 'Maybe you can cast badly on lances.', 1390432888), (643, 45, 17, 'They really jump fast with horses.', 1390433740), (644, 45, 21, 'Mmm... oh I know, escape badly using lances.', 1390434532), (645, 45, 45, 'Mmm... oh I know, cast well using luck.', 1390435220), (646, 45, 27, 'Give up, they jump badly with lances.', 1390436008), (647, 45, 45, 'Try to defend badly with swords.', 1390436322), (648, 45, 21, 'Give up, they summon slowly with staffs.', 1390437117), (649, 46, 25, 'Seriously, try to escape well on luck.', 1487067753), (650, 46, 25, 'They really summon fast using luck.', 1487067825), (651, 46, 26, 'Mmm... oh I know, attack fast on horses.', 1487067998), (652, 46, 31, 'Mmm... oh I know, defend slowly using luck.', 1487068065), (653, 46, 26, 'Mmm... oh I know, defend slowly on luck.', 1487069063), (654, 46, 36, 'Give up, they jump well using swords.', 1487069405), (655, 46, 31, 'Mmm... oh I know, attack fast on luck.', 1487069769), (656, 46, 25, 'Give up, they cast well with luck.', 1487070251), (657, 46, 31, 'They really escape slowly with magic.', 1487070965), (658, 46, 26, 'They really escape badly using staffs.', 1487071504), (659, 46, 31, 'Try to jump fast using mounts.', 1487072256), (660, 46, 25, 'Mmm... oh I know, defend slowly with swords.', 1487072968), (661, 46, 26, 'Give up, they escape badly with spells.', 1487073088), (662, 46, 36, 'Maybe you can summon slowly using lances.', 1487073524), (663, 46, 26, 'Seriously, try to jump badly using staffs.', 1487073717), (664, 46, 26, 'Mmm... oh I know, summon well on magic.', 1487074689), (665, 46, 31, 'Try to attack well with swords.', 1487075231), (666, 46, 26, 'Give up, they attack well on items.', 1487075638), (667, 46, 36, 'Mmm... oh I know, cast badly with mounts.', 1487076030), (668, 47, 37, 'Try to attack well on lances.', 1434460876), (669, 47, 30, 'Give up, they attack well with spells.', 1434461185), (670, 47, 16, 'Mmm... oh I know, attack slowly using swords.', 1434461399), (671, 47, 30, 'They really escape slowly using magic.', 1434461748), (672, 47, 37, 'Try to defend badly on swords.', 1434462005), (673, 47, 45, 'Mmm... oh I know, jump fast on luck.', 1434462169), (674, 48, 12, 'Give up, they attack well using spells.', 1496934833), (675, 48, 34, 'They really cast well with lances.', 1496935638), (676, 48, 38, 'Maybe you can summon well with horses.', 1496935994), (677, 48, 38, 'Try to summon fast using staffs.', 1496936823), (678, 48, 38, 'Give up, they attack fast on items.', 1496937078), (679, 48, 42, 'Try to jump fast on items.', 1496937277), (680, 48, 38, 'Seriously, try to attack badly with magic.', 1496937557), (681, 48, 12, 'Give up, they jump slowly on swords.', 1496938349), (682, 48, 12, 'Seriously, try to jump badly using swords.', 1496938644), (683, 48, 38, 'Give up, they summon fast on mounts.', 1496939123), (684, 48, 42, 'Try to escape fast with swords.', 1496939918), (685, 48, 38, 'Give up, they attack slowly using staffs.', 1496940603), (686, 48, 12, 'Maybe you can jump slowly on mounts.', 1496940850), (687, 48, 38, 'Mmm... oh I know, defend badly using magic.', 1496941652), (688, 48, 34, 'Mmm... oh I know, defend well with staffs.', 1496941807), (689, 48, 38, 'Maybe you can jump slowly with staffs.', 1496942327), (690, 48, 34, 'Give up, they defend slowly with horses.', 1496942877), (691, 48, 34, 'Maybe you can jump well using luck.', 1496943346), (692, 48, 34, 'Mmm... oh I know, escape slowly using items.', 1496943758), (693, 48, 34, 'Seriously, try to jump fast with staffs.', 1496944082), (694, 48, 38, 'Mmm... oh I know, defend fast with knives.', 1496944944), (695, 48, 38, 'Give up, they jump badly with luck.', 1496945366), (696, 48, 42, 'Maybe you can summon well on magic.', 1496945968), (697, 48, 34, 'They really escape fast on staffs.', 1496946851), (698, 49, 22, 'Seriously, try to attack slowly with items.', 1504621646), (699, 49, 29, 'Seriously, try to jump fast using luck.', 1504622275), (700, 49, 13, 'Mmm... oh I know, cast well on mounts.', 1504622587), (701, 49, 44, 'Seriously, try to escape slowly on horses.', 1504622682), (702, 49, 44, 'Try to summon badly on lances.', 1504622962), (703, 49, 44, 'Maybe you can cast slowly using staffs.', 1504623390), (704, 50, 48, 'Mmm... oh I know, summon badly on items.', 1517901453), (705, 50, 20, 'They really attack slowly using luck.', 1517901682), (706, 50, 34, 'They really jump badly using mounts.', 1517902588), (707, 50, 27, 'Give up, they jump fast using spells.', 1517902687), (708, 50, 20, 'Seriously, try to escape badly using luck.', 1517903052), (709, 50, 27, 'Give up, they summon badly using items.', 1517903483), (710, 50, 20, 'Mmm... oh I know, attack fast using mounts.', 1517904271), (711, 50, 34, 'Try to cast slowly on swords.', 1517904688), (712, 50, 20, 'Seriously, try to summon badly using spells.', 1517905220), (713, 50, 48, 'Seriously, try to cast slowly with horses.', 1517905430), (714, 50, 48, 'Mmm... oh I know, escape well on spells.', 1517905687), (715, 50, 34, 'Give up, they attack fast on knives.', 1517906269), (716, 51, 2, 'Give up, they summon slowly using staffs.', 1391091432), (717, 51, 7, 'Seriously, try to summon well with mounts.', 1391091822), (718, 51, 3, 'Seriously, try to defend badly on spells.', 1391092272), (719, 51, 3, 'Seriously, try to cast slowly with swords.', 1391092672), (720, 51, 3, 'They really escape badly with magic.', 1391092829), (721, 51, 3, 'Maybe you can escape fast using luck.', 1391093219), (722, 51, 2, 'They really escape slowly with spells.', 1391093879), (723, 51, 2, 'Mmm... oh I know, escape badly on magic.', 1391094287), (724, 51, 14, 'Mmm... oh I know, cast slowly using spells.', 1391095187), (725, 52, 43, 'Mmm... oh I know, cast well with luck.', 1514849605), (726, 52, 43, 'Seriously, try to jump well using horses.', 1514850568), (727, 52, 18, 'Give up, they jump badly using horses.', 1514850898), (728, 52, 30, 'Mmm... oh I know, escape fast with horses.', 1514851615), (729, 52, 30, 'They really jump fast on staffs.', 1514852254), (730, 52, 18, 'Give up, they jump fast with swords.', 1514853009), (731, 53, 3, 'Mmm... oh I know, defend well on horses.', 1475288278), (732, 53, 43, 'Try to cast slowly using horses.', 1475289183), (733, 53, 43, 'Try to cast well using horses.', 1475290125), (734, 53, 3, 'Seriously, try to attack well on swords.', 1475290245), (735, 53, 43, 'Maybe you can cast well with swords.', 1475291034), (736, 53, 3, 'Give up, they defend well on horses.', 1475291503), (737, 53, 3, 'They really cast well on luck.', 1475292161), (738, 53, 29, 'Maybe you can cast fast with mounts.', 1475292666), (739, 53, 3, 'Seriously, try to summon badly with items.', 1475293029), (740, 53, 29, 'Seriously, try to summon badly on knives.', 1475293515), (741, 53, 3, 'Give up, they escape slowly using magic.', 1475294426), (742, 53, 3, 'Try to cast well on swords.', 1475294499), (743, 53, 3, 'Mmm... oh I know, jump well with luck.', 1475294780), (744, 53, 43, 'Mmm... oh I know, defend well with staffs.', 1475294916), (745, 53, 43, 'Mmm... oh I know, attack fast on magic.', 1475295016), (746, 53, 3, 'Seriously, try to attack well using spells.', 1475295569), (747, 53, 3, 'Mmm... oh I know, summon well on lances.', 1475296402), (748, 53, 43, 'Seriously, try to defend slowly using mounts.', 1475296956), (749, 53, 3, 'They really jump well on lances.', 1475297631), (750, 53, 3, 'Try to cast badly on knives.', 1475298472), (751, 53, 3, 'They really cast well using items.', 1475298775), (752, 53, 43, 'Give up, they cast slowly with mounts.', 1475299529), (753, 53, 29, 'Try to jump fast on magic.', 1475299915), (754, 53, 3, 'Give up, they escape well on horses.', 1475300610), (755, 54, 34, 'Seriously, try to defend well with mounts.', 1498837226), (756, 54, 44, 'Seriously, try to attack well with magic.', 1498837803), (757, 54, 42, 'Mmm... oh I know, jump slowly using staffs.', 1498838008), (758, 54, 42, 'Try to summon badly on items.', 1498838629), (759, 54, 34, 'Mmm... oh I know, defend badly on items.', 1498839287), (760, 54, 42, 'Try to jump slowly on magic.', 1498839729), (761, 54, 6, 'Seriously, try to attack badly with swords.', 1498840242), (762, 54, 6, 'Maybe you can summon slowly on spells.', 1498840354), (763, 54, 34, 'Mmm... oh I know, defend badly on mounts.', 1498840722), (764, 54, 6, 'Give up, they summon well using knives.', 1498841642), (765, 54, 42, 'Mmm... oh I know, attack badly on magic.', 1498842400), (766, 54, 44, 'Mmm... oh I know, cast badly with luck.', 1498843279), (767, 54, 6, 'Mmm... oh I know, attack badly with mounts.', 1498843712), (768, 54, 6, 'Seriously, try to cast badly with spells.', 1498844384), (769, 54, 34, 'Seriously, try to cast slowly using items.', 1498844659), (770, 54, 34, 'Maybe you can attack well with lances.', 1498844858), (771, 54, 42, 'Seriously, try to summon badly on staffs.', 1498845524), (772, 54, 34, 'They really cast slowly with staffs.', 1498846457), (773, 54, 6, 'Give up, they escape badly with spells.', 1498847356), (774, 54, 34, 'Give up, they summon slowly using mounts.', 1498848235), (775, 55, 37, 'Seriously, try to escape slowly on spells.', 1509888067), (776, 55, 20, 'Give up, they summon badly using lances.', 1509888604), (777, 55, 43, 'Maybe you can summon fast with swords.', 1509889024), (778, 55, 5, 'Mmm... oh I know, jump slowly using horses.', 1509890023), (779, 55, 43, 'Give up, they defend slowly using magic.', 1509890373), (780, 55, 5, 'Seriously, try to cast well using magic.', 1509890811), (781, 55, 20, 'Seriously, try to attack fast on mounts.', 1509891492), (782, 55, 5, 'Maybe you can cast badly on horses.', 1509892294), (783, 55, 37, 'They really attack fast on spells.', 1509892551), (784, 55, 37, 'Mmm... oh I know, summon badly using staffs.', 1509892810), (785, 55, 43, 'Mmm... oh I know, defend slowly with spells.', 1509893353), (786, 55, 43, 'Seriously, try to defend well on luck.', 1509893481), (787, 55, 20, 'Try to attack fast using horses.', 1509893661), (788, 56, 29, 'Give up, they defend well with swords.', 1396638130), (789, 56, 21, 'Maybe you can jump badly using items.', 1396638579), (790, 56, 21, 'Mmm... oh I know, escape well with knives.', 1396639178), (791, 56, 12, 'Maybe you can escape fast using staffs.', 1396639817), (792, 56, 21, 'Seriously, try to cast well with swords.', 1396640528), (793, 56, 29, 'Maybe you can jump badly using lances.', 1396640702), (794, 57, 27, 'They really defend well using spells.', 1405443696), (795, 57, 39, 'Mmm... oh I know, attack well using horses.', 1405444415), (796, 57, 39, 'Try to attack slowly with knives.', 1405445041), (797, 57, 27, 'Seriously, try to jump slowly using lances.', 1405445348), (798, 57, 27, 'Try to attack slowly on knives.', 1405445719), (799, 57, 10, 'Give up, they cast well using staffs.', 1405446451), (800, 57, 10, 'Seriously, try to defend slowly with staffs.', 1405447186), (801, 57, 27, 'Try to cast slowly using knives.', 1405447369), (802, 57, 39, 'Try to jump badly using mounts.', 1405448038), (803, 57, 39, 'They really jump slowly with mounts.', 1405448520), (804, 57, 39, 'Try to defend well using knives.', 1405448901), (805, 57, 10, 'They really attack badly using lances.', 1405449806), (806, 57, 39, 'They really jump slowly on knives.', 1405450081), (807, 57, 27, 'Mmm... oh I know, cast slowly using items.', 1405450206), (808, 57, 39, 'Try to escape fast on horses.', 1405450584), (809, 57, 39, 'Try to summon slowly with luck.', 1405451352), (810, 57, 39, 'Give up, they attack well on swords.', 1405452254), (811, 57, 10, 'They really defend well using items.', 1405453243), (812, 58, 43, 'They really cast slowly using items.', 1469756672), (813, 58, 43, 'Give up, they escape well on magic.', 1469757021), (814, 58, 37, 'Give up, they jump fast using swords.', 1469757902), (815, 58, 43, 'Give up, they attack well with spells.', 1469758116), (816, 58, 4, 'Seriously, try to cast fast on spells.', 1469758866), (817, 58, 46, 'They really summon fast with spells.', 1469759316), (818, 58, 37, 'Mmm... oh I know, summon well with luck.', 1469760316), (819, 58, 43, 'Mmm... oh I know, escape fast using luck.', 1469761104), (820, 58, 43, 'They really defend slowly with horses.', 1469761671), (821, 58, 46, 'Seriously, try to summon badly with lances.', 1469762399), (822, 58, 37, 'Mmm... oh I know, jump fast using magic.', 1469762496), (823, 58, 4, 'They really attack well with spells.', 1469763454), (824, 58, 4, 'Mmm... oh I know, summon fast with items.', 1469764073), (825, 59, 23, 'Seriously, try to escape badly using swords.', 1412571588), (826, 59, 17, 'Give up, they defend slowly using staffs.', 1412572350), (827, 59, 6, 'Maybe you can defend fast with spells.', 1412572668), (828, 59, 23, 'Give up, they jump badly using lances.', 1412573391), (829, 59, 23, 'Give up, they cast slowly with items.', 1412574167), (830, 59, 49, 'Seriously, try to escape badly on staffs.', 1412574868), (831, 60, 43, 'Maybe you can escape slowly on staffs.', 1423627648), (832, 60, 43, 'Seriously, try to jump well with luck.', 1423628250), (833, 60, 22, 'Give up, they defend badly on swords.', 1423628675), (834, 60, 43, 'Maybe you can cast well using magic.', 1423629530), (835, 60, 3, 'Maybe you can cast fast on staffs.', 1423630341), (836, 61, 13, 'Give up, they cast slowly with staffs.', 1424795770), (837, 61, 5, 'Give up, they summon slowly with magic.', 1424796263), (838, 61, 5, 'Give up, they summon badly on horses.', 1424796896), (839, 61, 13, 'Maybe you can attack badly using lances.', 1424797265), (840, 61, 5, 'Mmm... oh I know, escape fast with horses.', 1424798194), (841, 61, 5, 'Mmm... oh I know, defend badly using staffs.', 1424799075), (842, 61, 5, 'Seriously, try to attack fast using luck.', 1424799296), (843, 61, 32, 'Mmm... oh I know, defend well with knives.', 1424799446), (844, 61, 13, 'Try to cast well on knives.', 1424799508), (845, 61, 5, 'Try to jump fast on staffs.', 1424800039), (846, 61, 5, 'Try to attack well on items.', 1424800432), (847, 61, 13, 'Give up, they cast fast with items.', 1424800538), (848, 61, 49, 'Seriously, try to cast slowly with magic.', 1424800608), (849, 61, 49, 'Give up, they attack slowly using luck.', 1424801466), (850, 61, 13, 'Mmm... oh I know, attack slowly using knives.', 1424801716), (851, 61, 13, 'They really jump fast using items.', 1424802113), (852, 61, 49, 'Maybe you can cast badly with knives.', 1424802752), (853, 61, 13, 'Try to summon fast with mounts.', 1424803722), (854, 61, 49, 'Try to attack badly using mounts.', 1424803903), (855, 61, 49, 'Seriously, try to cast fast with lances.', 1424804788), (856, 61, 49, 'Give up, they jump fast with magic.', 1424805152), (857, 61, 49, 'Give up, they cast well using lances.', 1424805876), (858, 61, 5, 'Try to cast badly on luck.', 1424806432), (859, 62, 42, 'Mmm... oh I know, summon fast using items.', 1414196955), (860, 62, 37, 'Try to attack well using horses.', 1414197100), (861, 62, 46, 'Mmm... oh I know, jump well on horses.', 1414197988), (862, 62, 46, 'Mmm... oh I know, summon well on luck.', 1414198616), (863, 62, 49, 'Maybe you can jump slowly on swords.', 1414198685), (864, 62, 42, 'Seriously, try to jump slowly with lances.', 1414199438), (865, 62, 46, 'Give up, they jump badly with luck.', 1414200111), (866, 62, 37, 'Mmm... oh I know, attack well using luck.', 1414200741), (867, 62, 37, 'Try to defend badly with lances.', 1414200951), (868, 62, 37, 'Maybe you can attack fast with magic.', 1414201261), (869, 62, 42, 'Seriously, try to defend slowly with staffs.', 1414201449), (870, 62, 42, 'Maybe you can defend badly on items.', 1414202055), (871, 62, 42, 'Seriously, try to escape slowly on magic.', 1414202520), (872, 63, 1, 'Maybe you can cast fast using knives.', 1441183693), (873, 63, 39, 'Mmm... oh I know, escape well with items.', 1441183869), (874, 63, 27, 'Maybe you can defend fast on items.', 1441184059), (875, 63, 27, 'They really summon fast using swords.', 1441184470), (876, 63, 26, 'Seriously, try to escape badly on magic.', 1441185025), (877, 63, 1, 'They really cast fast using knives.', 1441185606), (878, 63, 26, 'Try to cast fast with lances.', 1441185742), (879, 63, 39, 'Seriously, try to defend well using mounts.', 1441186103), (880, 63, 39, 'Try to summon well with staffs.', 1441186581), (881, 63, 26, 'Try to cast fast on knives.', 1441186762), (882, 63, 1, 'Mmm... oh I know, jump fast with swords.', 1441187170), (883, 63, 27, 'They really attack slowly using magic.', 1441187757), (884, 63, 1, 'They really attack badly on spells.', 1441188177), (885, 63, 39, 'Try to cast badly using staffs.', 1441188661), (886, 63, 26, 'They really escape slowly on mounts.', 1441189116), (887, 63, 26, 'Mmm... oh I know, defend well using horses.', 1441189638), (888, 63, 1, 'Maybe you can defend badly with magic.', 1441190610), (889, 63, 26, 'They really summon well with magic.', 1441191518), (890, 63, 27, 'They really jump well using spells.', 1441192086), (891, 63, 39, 'Give up, they escape fast with luck.', 1441192177), (892, 63, 1, 'Maybe you can escape well with mounts.', 1441192929), (893, 63, 1, 'Mmm... oh I know, attack slowly using mounts.', 1441193116), (894, 63, 39, 'Give up, they cast well with swords.', 1441193900), (895, 63, 26, 'Give up, they attack fast on magic.', 1441194174), (896, 64, 10, 'They really attack fast with staffs.', 1454677708), (897, 64, 10, 'Maybe you can defend badly using lances.', 1454677954), (898, 64, 10, 'Give up, they summon well with items.', 1454678240), (899, 64, 20, 'Mmm... oh I know, escape slowly using items.', 1454678409), (900, 64, 20, 'Seriously, try to cast slowly using lances.', 1454678697), (901, 64, 35, 'Mmm... oh I know, defend well with mounts.', 1454679217), (902, 64, 39, 'They really jump fast with knives.', 1454679740), (903, 64, 20, 'They really attack well using luck.', 1454679942), (904, 64, 10, 'Give up, they summon fast on mounts.', 1454680618), (905, 64, 20, 'Mmm... oh I know, escape slowly on items.', 1454681120), (906, 64, 39, 'Seriously, try to cast slowly using luck.', 1454681967), (907, 64, 20, 'Seriously, try to cast badly with magic.', 1454682290), (908, 64, 10, 'Give up, they escape fast on swords.', 1454682757), (909, 64, 35, 'They really attack slowly with luck.', 1454683100), (910, 64, 35, 'Try to escape badly using lances.', 1454683864), (911, 64, 39, 'Seriously, try to cast fast with items.', 1454683955), (912, 64, 35, 'Give up, they cast badly with mounts.', 1454684117), (913, 64, 20, 'Try to jump fast with luck.', 1454684345), (914, 64, 10, 'Maybe you can cast badly using spells.', 1454684773), (915, 64, 39, 'Give up, they summon badly on knives.', 1454685490), (916, 65, 12, 'Try to escape fast on luck.', 1506707551), (917, 65, 15, 'Try to defend slowly on items.', 1506707861), (918, 65, 40, 'Mmm... oh I know, attack well using luck.', 1506708240), (919, 65, 40, 'Try to cast badly on swords.', 1506709011), (920, 65, 40, 'Maybe you can jump well on lances.', 1506709622), (921, 65, 12, 'Mmm... oh I know, attack well using lances.', 1506710288), (922, 65, 27, 'Seriously, try to attack slowly with swords.', 1506710422), (923, 65, 27, 'Mmm... oh I know, defend well on staffs.', 1506711075), (924, 65, 40, 'They really attack well with lances.', 1506711248), (925, 65, 40, 'Seriously, try to jump badly with magic.', 1506711989), (926, 65, 40, 'Give up, they attack slowly on horses.', 1506712987), (927, 65, 15, 'Mmm... oh I know, summon well on staffs.', 1506713685), (928, 65, 15, 'Try to escape badly on spells.', 1506713790), (929, 65, 12, 'They really defend fast with magic.', 1506714447), (930, 65, 27, 'Mmm... oh I know, defend fast with staffs.', 1506714598), (931, 65, 40, 'Try to attack well on lances.', 1506714952), (932, 65, 27, 'Seriously, try to jump badly with lances.', 1506715815), (933, 65, 40, 'Maybe you can jump fast on mounts.', 1506716581), (934, 65, 12, 'Maybe you can cast well on luck.', 1506716984), (935, 66, 28, 'Give up, they attack badly using swords.', 1467758540), (936, 66, 41, 'Maybe you can escape badly using luck.', 1467759146), (937, 66, 22, 'Give up, they attack badly with spells.', 1467759586), (938, 66, 15, 'Seriously, try to cast badly using luck.', 1467760241), (939, 66, 28, 'Mmm... oh I know, jump well using knives.', 1467761043), (940, 66, 28, 'Seriously, try to jump fast using spells.', 1467761960), (941, 66, 22, 'Try to cast slowly with staffs.', 1467762083), (942, 66, 41, 'Mmm... oh I know, defend badly on luck.', 1467762914), (943, 66, 22, 'Seriously, try to escape badly on staffs.', 1467763314), (944, 66, 41, 'Give up, they attack slowly with knives.', 1467764311), (945, 66, 41, 'Give up, they escape well using lances.', 1467764522), (946, 66, 22, 'Maybe you can attack badly on mounts.', 1467764725), (947, 66, 15, 'Give up, they jump fast on lances.', 1467765667), (948, 66, 28, 'They really defend slowly with swords.', 1467766211), (949, 66, 28, 'Try to attack badly with lances.', 1467766617), (950, 66, 22, 'Maybe you can cast slowly on staffs.', 1467766963), (951, 66, 41, 'Seriously, try to jump badly using lances.', 1467767410), (952, 66, 22, 'They really summon well with lances.', 1467767510), (953, 66, 28, 'Try to cast badly on magic.', 1467768483), (954, 66, 22, 'Give up, they cast fast on knives.', 1467769146), (955, 66, 28, 'They really summon slowly using mounts.', 1467769731), (956, 67, 44, 'Try to cast fast on magic.', 1391304758), (957, 67, 38, 'Try to defend slowly with staffs.', 1391304848), (958, 67, 38, 'They really defend well with knives.', 1391305668), (959, 67, 44, 'Give up, they attack fast using items.', 1391306334), (960, 67, 39, 'Give up, they jump well on items.', 1391306506), (961, 67, 39, 'Maybe you can defend badly using swords.', 1391307179), (962, 67, 24, 'Give up, they cast badly using lances.', 1391307589), (963, 67, 24, 'They really escape fast using luck.', 1391307762), (964, 67, 24, 'Mmm... oh I know, defend fast on staffs.', 1391308345), (965, 67, 39, 'Maybe you can summon well on lances.', 1391308684), (966, 67, 38, 'They really attack slowly on magic.', 1391308778), (967, 67, 39, 'Try to defend slowly using mounts.', 1391309748), (968, 67, 24, 'Maybe you can cast well using knives.', 1391309922), (969, 67, 44, 'Mmm... oh I know, defend badly with luck.', 1391310585), (970, 67, 24, 'They really defend badly with horses.', 1391311012), (971, 67, 44, 'Mmm... oh I know, attack slowly on items.', 1391311867), (972, 67, 39, 'Mmm... oh I know, summon badly with magic.', 1391312792), (973, 67, 38, 'They really defend fast on luck.', 1391313032), (974, 67, 44, 'They really jump slowly using luck.', 1391313945), (975, 67, 38, 'Seriously, try to summon fast on items.', 1391314531), (976, 67, 38, 'They really escape badly on knives.', 1391315298), (977, 67, 38, 'Seriously, try to cast well on lances.', 1391315480), (978, 67, 38, 'Give up, they summon badly with staffs.', 1391316200), (979, 67, 38, 'Mmm... oh I know, jump well with knives.', 1391316525), (980, 67, 24, 'Maybe you can summon well with items.', 1391317302), (981, 68, 13, 'Give up, they cast badly using spells.', 1455116385), (982, 68, 43, 'Give up, they escape slowly using luck.', 1455116630), (983, 68, 26, 'Seriously, try to defend fast with swords.', 1455116812), (984, 68, 26, 'They really attack well on knives.', 1455117071), (985, 68, 13, 'Give up, they defend well with horses.', 1455117728), (986, 68, 28, 'Try to defend fast on items.', 1455118638), (987, 68, 28, 'Give up, they summon badly with staffs.', 1455118989), (988, 68, 13, 'Mmm... oh I know, cast slowly with magic.', 1455119628), (989, 68, 26, 'Seriously, try to summon badly on swords.', 1455120526), (990, 68, 43, 'Try to escape slowly using luck.', 1455121131), (991, 68, 28, 'Maybe you can attack fast with horses.', 1455121480), (992, 68, 28, 'Seriously, try to summon fast with spells.', 1455121960), (993, 68, 26, 'They really summon slowly with magic.', 1455122820), (994, 68, 13, 'Try to cast slowly on mounts.', 1455122925), (995, 68, 26, 'They really jump well using luck.', 1455123328), (996, 68, 13, 'Give up, they summon fast with knives.', 1455123731), (997, 68, 28, 'Give up, they cast well using mounts.', 1455124430), (998, 68, 13, 'Maybe you can cast well using magic.', 1455125319), (999, 68, 28, 'They really cast fast using luck.', 1455126027), (1000, 68, 43, 'Maybe you can defend fast on swords.', 1455126895), (1001, 68, 26, 'Mmm... oh I know, jump well on items.', 1455127054), (1002, 68, 13, 'They really defend well using knives.', 1455127358), (1003, 69, 42, 'Seriously, try to escape badly using magic.', 1527367493), (1004, 69, 42, 'Maybe you can cast fast using luck.', 1527368072), (1005, 69, 42, 'They really escape badly with lances.', 1527369062), (1006, 69, 7, 'Give up, they summon slowly with horses.', 1527369380), (1007, 69, 7, 'Give up, they cast badly on knives.', 1527370369), (1008, 69, 27, 'Give up, they summon slowly with luck.', 1527370749), (1009, 70, 2, 'Maybe you can defend badly on items.', 1414924670), (1010, 70, 2, 'Maybe you can cast well with magic.', 1414924958), (1011, 70, 2, 'Try to attack well on staffs.', 1414925380), (1012, 70, 12, 'Give up, they summon badly using magic.', 1414926161), (1013, 70, 2, 'Try to defend badly on staffs.', 1414926494), (1014, 70, 33, 'Give up, they jump slowly with knives.', 1414927141), (1015, 70, 13, 'Maybe you can attack slowly on magic.', 1414927219), (1016, 70, 13, 'Mmm... oh I know, summon slowly with swords.', 1414928206), (1017, 70, 13, 'Maybe you can attack slowly with mounts.', 1414928687), (1018, 70, 2, 'Mmm... oh I know, cast well with staffs.', 1414929435), (1019, 70, 12, 'Give up, they escape badly with swords.', 1414929685), (1020, 70, 13, 'Seriously, try to defend fast with swords.', 1414930461), (1021, 70, 2, 'Seriously, try to escape fast using spells.', 1414931144), (1022, 70, 33, 'Maybe you can defend badly with horses.', 1414932134), (1023, 70, 2, 'Maybe you can jump badly on spells.', 1414932351), (1024, 70, 13, 'Try to defend well on items.', 1414933244), (1025, 70, 2, 'Seriously, try to summon slowly with mounts.', 1414933914), (1026, 70, 2, 'They really attack badly with spells.', 1414934460), (1027, 70, 33, 'They really attack well with spells.', 1414934776), (1028, 71, 10, 'Mmm... oh I know, cast well using luck.', 1458899177), (1029, 71, 48, 'Seriously, try to cast slowly using knives.', 1458899955), (1030, 71, 10, 'Give up, they defend well on horses.', 1458900357), (1031, 71, 10, 'They really defend slowly with spells.', 1458900730), (1032, 71, 37, 'Give up, they summon fast on magic.', 1458901449), (1033, 71, 4, 'Maybe you can jump well with swords.', 1458901971), (1034, 71, 37, 'Seriously, try to cast badly with luck.', 1458902523), (1035, 71, 4, 'Maybe you can jump fast on knives.', 1458903038), (1036, 71, 48, 'Maybe you can escape slowly on mounts.', 1458903120), (1037, 71, 10, 'Maybe you can attack well using spells.', 1458904062), (1038, 71, 48, 'Mmm... oh I know, escape badly with swords.', 1458904152), (1039, 71, 4, 'They really summon slowly with horses.', 1458904802), (1040, 71, 4, 'Maybe you can cast slowly on knives.', 1458904975), (1041, 71, 48, 'Try to defend well with knives.', 1458905817), (1042, 71, 37, 'They really escape badly with mounts.', 1458906694), (1043, 71, 10, 'Seriously, try to attack badly with magic.', 1458907533), (1044, 71, 4, 'Mmm... oh I know, cast badly using items.', 1458907686), (1045, 71, 4, 'They really escape badly using swords.', 1458908571), (1046, 71, 4, 'Try to attack slowly on knives.', 1458908753), (1047, 72, 11, 'They really cast fast on staffs.', 1412205328), (1048, 72, 27, 'Maybe you can escape slowly with lances.', 1412205958), (1049, 72, 28, 'Seriously, try to defend well with mounts.', 1412206168), (1050, 72, 11, 'Mmm... oh I know, escape badly on lances.', 1412206732), (1051, 72, 31, 'Mmm... oh I know, cast fast on mounts.', 1412207562), (1052, 72, 11, 'Maybe you can escape well on knives.', 1412208067), (1053, 72, 11, 'Give up, they escape slowly using luck.', 1412208382), (1054, 72, 27, 'Give up, they summon badly on staffs.', 1412209235), (1055, 72, 11, 'Mmm... oh I know, cast fast with lances.', 1412209961), (1056, 72, 31, 'Mmm... oh I know, summon slowly using swords.', 1412210435), (1057, 72, 27, 'Try to jump slowly on knives.', 1412211359), (1058, 72, 31, 'Seriously, try to escape slowly on spells.', 1412211505), (1059, 72, 27, 'Maybe you can summon fast using horses.', 1412211576), (1060, 72, 27, 'They really defend well with spells.', 1412211930), (1061, 72, 31, 'Mmm... oh I know, attack well with luck.', 1412212688), (1062, 72, 31, 'Try to jump well using items.', 1412212932), (1063, 72, 31, 'Seriously, try to defend badly with horses.', 1412213904), (1064, 72, 28, 'Give up, they defend well with lances.', 1412214357), (1065, 72, 27, 'Mmm... oh I know, escape slowly on items.', 1412215137), (1066, 72, 31, 'Maybe you can attack well on staffs.', 1412215462), (1067, 72, 31, 'Give up, they jump slowly on lances.', 1412215986), (1068, 73, 40, 'They really cast badly with swords.', 1487319101), (1069, 73, 2, 'Give up, they cast slowly using lances.', 1487319513), (1070, 73, 38, 'Seriously, try to cast badly with swords.', 1487319859), (1071, 73, 38, 'They really cast well using mounts.', 1487320017), (1072, 73, 38, 'They really defend slowly on lances.', 1487320858), (1073, 73, 2, 'Mmm... oh I know, cast badly using spells.', 1487321248), (1074, 74, 26, 'They really escape badly using magic.', 1460622545), (1075, 74, 48, 'Try to escape badly using mounts.', 1460622779), (1076, 74, 26, 'Seriously, try to escape slowly with magic.', 1460623620), (1077, 74, 48, 'Mmm... oh I know, summon fast on magic.', 1460624197), (1078, 74, 48, 'Maybe you can escape fast on swords.', 1460624816), (1079, 74, 48, 'Maybe you can attack badly on knives.', 1460625070), (1080, 74, 43, 'Maybe you can cast slowly with magic.', 1460625329), (1081, 74, 48, 'Give up, they attack badly with knives.', 1460625567), (1082, 75, 13, 'Seriously, try to cast slowly using horses.', 1437353633), (1083, 75, 38, 'Give up, they jump fast using lances.', 1437354629), (1084, 75, 13, 'Seriously, try to attack fast on staffs.', 1437355620), (1085, 75, 19, 'Seriously, try to escape slowly using swords.', 1437356016), (1086, 75, 7, 'Try to attack badly on lances.', 1437356359), (1087, 75, 19, 'Seriously, try to escape fast using luck.', 1437356449), (1088, 75, 38, 'Mmm... oh I know, cast well using swords.', 1437357448), (1089, 76, 10, 'Give up, they escape badly with staffs.', 1504733480), (1090, 76, 47, 'Give up, they defend badly using luck.', 1504734153), (1091, 76, 10, 'They really summon badly on staffs.', 1504734531), (1092, 76, 10, 'Try to cast slowly on knives.', 1504735265), (1093, 76, 47, 'Try to summon fast using staffs.', 1504735610), (1094, 76, 10, 'Maybe you can jump slowly with staffs.', 1504735766), (1095, 77, 41, 'Give up, they escape well on mounts.', 1481833105), (1096, 77, 22, 'Try to jump slowly with luck.', 1481833641), (1097, 77, 9, 'Seriously, try to attack slowly on spells.', 1481833767), (1098, 77, 14, 'Mmm... oh I know, defend slowly using mounts.', 1481834396), (1099, 77, 14, 'Seriously, try to jump slowly using luck.', 1481835394), (1100, 77, 22, 'Give up, they summon badly with swords.', 1481835793), (1101, 77, 9, 'Try to attack slowly using swords.', 1481836537), (1102, 77, 9, 'They really jump fast using staffs.', 1481837212), (1103, 77, 14, 'Try to attack fast on luck.', 1481837275), (1104, 77, 41, 'Try to escape slowly on luck.', 1481837382), (1105, 77, 14, 'Seriously, try to attack fast on knives.', 1481837996), (1106, 77, 22, 'They really cast well on swords.', 1481838329), (1107, 77, 41, 'Mmm... oh I know, escape well on lances.', 1481839181), (1108, 77, 22, 'Seriously, try to summon fast on swords.', 1481840071), (1109, 77, 9, 'Mmm... oh I know, summon slowly using staffs.', 1481840693), (1110, 77, 14, 'Maybe you can cast well with horses.', 1481841466), (1111, 77, 9, 'Try to defend fast with knives.', 1481842003), (1112, 78, 6, 'Seriously, try to attack fast using spells.', 1422576356), (1113, 78, 25, 'Maybe you can defend well on items.', 1422577019), (1114, 78, 30, 'Give up, they cast slowly on magic.', 1422577102), (1115, 78, 30, 'Seriously, try to summon slowly using items.', 1422577806), (1116, 78, 30, 'Give up, they attack badly using magic.', 1422578724), (1117, 78, 6, 'Seriously, try to escape badly on staffs.', 1422579230), (1118, 78, 30, 'Seriously, try to summon fast with mounts.', 1422579803), (1119, 78, 1, 'Seriously, try to escape well on lances.', 1422580803), (1120, 78, 25, 'Give up, they cast fast using luck.', 1422581551), (1121, 78, 30, 'Give up, they summon badly using knives.', 1422582500), (1122, 78, 6, 'They really defend slowly using spells.', 1422582684), (1123, 78, 6, 'Mmm... oh I know, attack fast on magic.', 1422582901), (1124, 78, 1, 'Mmm... oh I know, jump badly using swords.', 1422583362), (1125, 78, 25, 'Seriously, try to attack slowly using items.', 1422583693), (1126, 78, 1, 'Give up, they cast slowly using horses.', 1422584386), (1127, 78, 6, 'Give up, they escape slowly on staffs.', 1422585092), (1128, 78, 6, 'Mmm... oh I know, jump slowly on luck.', 1422585411), (1129, 78, 25, 'Give up, they summon badly on luck.', 1422586021), (1130, 78, 30, 'They really defend fast with lances.', 1422586578), (1131, 79, 30, 'Give up, they defend fast using staffs.', 1426318950), (1132, 79, 27, 'Seriously, try to defend fast using knives.', 1426319269), (1133, 79, 47, 'They really cast slowly on swords.', 1426319819), (1134, 79, 2, 'Maybe you can summon badly using swords.', 1426319917), (1135, 79, 47, 'Try to defend badly with swords.', 1426320794), (1136, 80, 1, 'Seriously, try to cast well with items.', 1484473493), (1137, 80, 24, 'Maybe you can jump badly using staffs.', 1484473971), (1138, 80, 12, 'Try to escape slowly with staffs.', 1484474308), (1139, 80, 1, 'They really summon slowly using swords.', 1484475101), (1140, 80, 12, 'They really jump badly using mounts.', 1484475933), (1141, 80, 1, 'Maybe you can jump slowly using horses.', 1484476366), (1142, 80, 24, 'Give up, they attack fast on mounts.', 1484476884), (1143, 80, 1, 'Seriously, try to cast slowly using magic.', 1484476961), (1144, 80, 1, 'Mmm... oh I know, summon slowly using mounts.', 1484477843), (1145, 80, 24, 'Give up, they cast fast with luck.', 1484478005), (1146, 80, 24, 'They really cast badly using mounts.', 1484478520), (1147, 80, 1, 'Give up, they cast slowly with luck.', 1484479002), (1148, 81, 40, 'Give up, they escape well with spells.', 1493811654), (1149, 81, 30, 'Try to summon slowly with mounts.', 1493812314), (1150, 81, 40, 'Give up, they attack slowly with staffs.', 1493812441), (1151, 81, 7, 'Give up, they jump fast on spells.', 1493813345), (1152, 81, 40, 'Maybe you can cast badly with magic.', 1493814211), (1153, 81, 30, 'Seriously, try to attack well with magic.', 1493814440), (1154, 81, 40, 'Mmm... oh I know, escape slowly with luck.', 1493814625), (1155, 81, 30, 'Try to cast well using lances.', 1493814965), (1156, 81, 30, 'Seriously, try to attack slowly with mounts.', 1493815500), (1157, 81, 30, 'Seriously, try to defend badly with spells.', 1493815887), (1158, 81, 40, 'They really summon badly with knives.', 1493816335), (1159, 81, 30, 'Seriously, try to summon fast using magic.', 1493817195), (1160, 81, 7, 'They really summon badly using mounts.', 1493818001), (1161, 81, 30, 'Mmm... oh I know, cast slowly on horses.', 1493818250), (1162, 81, 30, 'Seriously, try to escape badly with staffs.', 1493818963), (1163, 81, 40, 'Mmm... oh I know, jump well on mounts.', 1493819245), (1164, 81, 30, 'They really attack well using swords.', 1493819510), (1165, 81, 7, 'Give up, they cast slowly with knives.', 1493820074), (1166, 81, 40, 'Give up, they defend well on luck.', 1493820935), (1167, 81, 30, 'Mmm... oh I know, jump well with items.', 1493821566), (1168, 81, 40, 'Try to summon badly with swords.', 1493822141), (1169, 82, 45, 'Try to attack badly with mounts.', 1475793324), (1170, 82, 16, 'They really jump slowly using magic.', 1475793402), (1171, 82, 16, 'Mmm... oh I know, escape fast on spells.', 1475793681), (1172, 82, 16, 'Try to escape slowly using knives.', 1475794008), (1173, 82, 35, 'Maybe you can defend slowly using horses.', 1475794913), (1174, 82, 40, 'Mmm... oh I know, jump well using items.', 1475795310), (1175, 82, 16, 'Try to escape badly on staffs.', 1475795507), (1176, 82, 35, 'Try to summon badly on lances.', 1475796073), (1177, 82, 35, 'They really summon slowly using items.', 1475796782), (1178, 82, 16, 'Mmm... oh I know, defend slowly on magic.', 1475797389), (1179, 82, 16, 'Try to escape badly using staffs.', 1475798095), (1180, 82, 16, 'Seriously, try to jump well using lances.', 1475798846), (1181, 82, 35, 'Give up, they cast well using mounts.', 1475798971), (1182, 82, 35, 'Maybe you can cast badly on horses.', 1475799146), (1183, 82, 45, 'They really attack badly using magic.', 1475799950), (1184, 82, 16, 'Seriously, try to jump badly on lances.', 1475800281), (1185, 82, 16, 'Mmm... oh I know, summon well on spells.', 1475800846), (1186, 82, 35, 'Maybe you can cast well using staffs.', 1475801570), (1187, 82, 35, 'Give up, they cast badly on knives.', 1475801674), (1188, 82, 16, 'Seriously, try to defend badly with staffs.', 1475802356), (1189, 83, 38, 'Seriously, try to summon slowly using lances.', 1453654222), (1190, 83, 39, 'Try to cast fast on lances.', 1453654824), (1191, 83, 39, 'Mmm... oh I know, jump well on lances.', 1453655503), (1192, 83, 29, 'They really defend badly using magic.', 1453655709), (1193, 83, 39, 'They really jump slowly with items.', 1453656101), (1194, 83, 39, 'They really attack fast with knives.', 1453656378), (1195, 83, 38, 'Try to summon slowly on staffs.', 1453657003), (1196, 83, 38, 'Give up, they attack fast using knives.', 1453657636), (1197, 84, 35, 'Try to escape well using luck.', 1410329189), (1198, 84, 35, 'Try to attack fast using mounts.', 1410330018), (1199, 84, 17, 'Seriously, try to escape well with swords.', 1410330174), (1200, 84, 17, 'Mmm... oh I know, summon slowly using luck.', 1410331005), (1201, 84, 35, 'Seriously, try to attack badly with magic.', 1410331287), (1202, 84, 35, 'Mmm... oh I know, defend badly with items.', 1410331516), (1203, 84, 30, 'Try to cast badly with mounts.', 1410332466), (1204, 84, 30, 'Maybe you can cast fast with luck.', 1410333420), (1205, 84, 35, 'Mmm... oh I know, defend well on mounts.', 1410334159), (1206, 84, 30, 'Maybe you can jump badly with luck.', 1410334995), (1207, 84, 35, 'Seriously, try to summon badly on lances.', 1410335883), (1208, 84, 35, 'Give up, they escape well using horses.', 1410336690), (1209, 84, 35, 'Maybe you can defend fast on knives.', 1410337196), (1210, 84, 35, 'Mmm... oh I know, attack badly using horses.', 1410337495), (1211, 84, 30, 'Seriously, try to defend badly with staffs.', 1410337679), (1212, 84, 30, 'Try to jump badly on staffs.', 1410338049), (1213, 84, 30, 'Mmm... oh I know, cast slowly with lances.', 1410339019), (1214, 84, 17, 'They really escape badly on swords.', 1410339516), (1215, 84, 30, 'Try to jump well with magic.', 1410340357), (1216, 85, 29, 'Give up, they summon badly on staffs.', 1410718305), (1217, 85, 46, 'Mmm... oh I know, defend well using swords.', 1410718889), (1218, 85, 9, 'They really jump well using horses.', 1410719679), (1219, 85, 9, 'Maybe you can attack fast using lances.', 1410720054), (1220, 85, 46, 'Seriously, try to attack fast on knives.', 1410720607), (1221, 85, 46, 'Seriously, try to jump fast on staffs.', 1410720704), (1222, 85, 46, 'Maybe you can escape well with lances.', 1410721536), (1223, 85, 46, 'Give up, they escape well on swords.', 1410721985), (1224, 85, 29, 'Maybe you can cast fast on horses.', 1410722635), (1225, 85, 41, 'Seriously, try to attack fast using spells.', 1410722936), (1226, 85, 9, 'Give up, they defend badly on items.', 1410723742), (1227, 85, 46, 'Mmm... oh I know, summon slowly on horses.', 1410724232), (1228, 86, 35, 'Seriously, try to defend slowly with staffs.', 1526892971), (1229, 86, 31, 'Seriously, try to cast slowly on horses.', 1526893173), (1230, 86, 35, 'They really attack well with magic.', 1526893816), (1231, 86, 35, 'They really jump slowly using mounts.', 1526893905), (1232, 86, 32, 'Try to summon slowly on luck.', 1526894639), (1233, 86, 42, 'Mmm... oh I know, defend badly using luck.', 1526895437), (1234, 86, 35, 'Mmm... oh I know, defend fast using magic.', 1526895848), (1235, 86, 42, 'Mmm... oh I know, summon fast with spells.', 1526896030), (1236, 86, 42, 'Give up, they defend fast using swords.', 1526896533), (1237, 87, 11, 'Try to attack well with mounts.', 1515466196), (1238, 87, 11, 'Give up, they summon slowly using magic.', 1515466948), (1239, 87, 11, 'Give up, they cast slowly with staffs.', 1515467485), (1240, 87, 10, 'Maybe you can attack well with horses.', 1515468032), (1241, 87, 10, 'Try to jump slowly on luck.', 1515468255), (1242, 87, 11, 'They really jump fast with lances.', 1515469015), (1243, 87, 35, 'They really summon slowly with knives.', 1515469097), (1244, 87, 35, 'Give up, they escape slowly on lances.', 1515469639), (1245, 88, 36, 'Maybe you can defend badly on magic.', 1530204861), (1246, 88, 41, 'Give up, they jump slowly using swords.', 1530205835), (1247, 88, 19, 'Seriously, try to attack slowly with spells.', 1530206412), (1248, 88, 36, 'Mmm... oh I know, cast fast on knives.', 1530206863), (1249, 88, 31, 'Give up, they summon badly using lances.', 1530207588), (1250, 88, 41, 'Try to defend slowly with luck.', 1530208349), (1251, 88, 36, 'Seriously, try to jump badly using knives.', 1530208963), (1252, 88, 31, 'Maybe you can defend badly with luck.', 1530209694), (1253, 88, 19, 'Maybe you can attack badly using lances.', 1530210427), (1254, 88, 19, 'Give up, they defend well on luck.', 1530210768), (1255, 89, 21, 'Give up, they summon badly on items.', 1512820587), (1256, 89, 15, 'Maybe you can escape badly with lances.', 1512821211), (1257, 89, 10, 'Seriously, try to defend badly using knives.', 1512821901), (1258, 89, 15, 'Give up, they attack fast on magic.', 1512822413), (1259, 89, 10, 'They really attack slowly on horses.', 1512822620), (1260, 89, 10, 'Seriously, try to cast well with items.', 1512822834), (1261, 89, 10, 'Maybe you can summon fast on mounts.', 1512823817), (1262, 89, 10, 'Try to cast well on staffs.', 1512824194), (1263, 89, 10, 'Mmm... oh I know, jump well using staffs.', 1512825017), (1264, 89, 10, 'Try to attack slowly using swords.', 1512825676), (1265, 89, 15, 'Maybe you can attack fast on spells.', 1512826561), (1266, 89, 15, 'Give up, they jump fast on horses.', 1512826734), (1267, 89, 15, 'Give up, they attack fast on items.', 1512827169), (1268, 89, 21, 'Try to cast badly on lances.', 1512827834), (1269, 89, 10, 'Mmm... oh I know, defend well with luck.', 1512828742), (1270, 89, 15, 'They really summon badly with magic.', 1512829367), (1271, 89, 10, 'Maybe you can summon fast on items.', 1512830155), (1272, 89, 10, 'Seriously, try to defend well using spells.', 1512830728), (1273, 89, 21, 'Try to escape badly with staffs.', 1512831085), (1274, 90, 30, 'Mmm... oh I know, jump fast using items.', 1483902121), (1275, 90, 22, 'Seriously, try to escape fast with spells.', 1483902753), (1276, 90, 13, 'Mmm... oh I know, summon badly using spells.', 1483903470), (1277, 90, 13, 'Try to defend fast on swords.', 1483904396), (1278, 90, 22, 'They really cast fast with luck.', 1483905343), (1279, 90, 10, 'Try to escape slowly using luck.', 1483905731), (1280, 90, 22, 'Try to jump well using items.', 1483906238), (1281, 90, 22, 'Seriously, try to attack badly on swords.', 1483906756), (1282, 90, 22, 'They really summon badly with knives.', 1483906911), (1283, 90, 30, 'Mmm... oh I know, summon fast on magic.', 1483907659), (1284, 90, 13, 'Mmm... oh I know, summon badly using lances.', 1483908239), (1285, 90, 30, 'Maybe you can escape well on luck.', 1483908790), (1286, 90, 30, 'Maybe you can escape badly with staffs.', 1483908906), (1287, 90, 22, 'Maybe you can jump badly using items.', 1483909126), (1288, 90, 22, 'Give up, they summon badly on luck.', 1483909401), (1289, 90, 30, 'They really escape slowly using horses.', 1483910016), (1290, 90, 22, 'Try to attack fast with lances.', 1483910203), (1291, 91, 29, 'Seriously, try to escape well using items.', 1476314597), (1292, 91, 29, 'Seriously, try to defend fast using knives.', 1476314890), (1293, 91, 20, 'Seriously, try to jump fast with staffs.', 1476315011), (1294, 91, 22, 'Mmm... oh I know, jump well with swords.', 1476315420), (1295, 91, 9, 'Try to summon slowly on mounts.', 1476316337), (1296, 91, 9, 'Try to escape badly on horses.', 1476316931), (1297, 91, 22, 'Give up, they summon badly using swords.', 1476317836), (1298, 91, 20, 'Try to jump slowly using swords.', 1476318172), (1299, 91, 20, 'They really cast slowly on lances.', 1476318424), (1300, 91, 22, 'Mmm... oh I know, jump well with lances.', 1476318885), (1301, 91, 22, 'Mmm... oh I know, jump well using spells.', 1476319460), (1302, 91, 9, 'Mmm... oh I know, jump badly using mounts.', 1476320454), (1303, 91, 29, 'Mmm... oh I know, summon well with staffs.', 1476321116), (1304, 91, 29, 'Give up, they escape badly on horses.', 1476321619), (1305, 91, 9, 'Mmm... oh I know, jump badly on horses.', 1476322441), (1306, 91, 9, 'Maybe you can jump badly on horses.', 1476323372), (1307, 91, 29, 'Maybe you can escape slowly on staffs.', 1476323607), (1308, 91, 20, 'Try to cast slowly on luck.', 1476323783), (1309, 91, 20, 'Seriously, try to defend fast using swords.', 1476323843), (1310, 92, 6, 'They really cast well using knives.', 1460445753), (1311, 92, 10, 'Seriously, try to cast fast using swords.', 1460446752), (1312, 92, 10, 'Seriously, try to jump badly with swords.', 1460447473), (1313, 92, 31, 'Give up, they jump well using magic.', 1460447622), (1314, 92, 10, 'Mmm... oh I know, escape fast with horses.', 1460448252), (1315, 92, 31, 'They really escape well on swords.', 1460448581), (1316, 92, 6, 'They really cast well using mounts.', 1460449287), (1317, 92, 31, 'Maybe you can summon badly using items.', 1460449800), (1318, 92, 10, 'Mmm... oh I know, defend slowly with spells.', 1460450064), (1319, 92, 10, 'Try to defend badly on horses.', 1460450398), (1320, 92, 10, 'Give up, they jump badly using swords.', 1460451046), (1321, 92, 31, 'Seriously, try to jump well on spells.', 1460451357), (1322, 92, 31, 'Give up, they jump badly with magic.', 1460452155), (1323, 92, 10, 'They really escape badly with swords.', 1460452561), (1324, 92, 31, 'Mmm... oh I know, attack well on items.', 1460452736), (1325, 93, 49, 'Maybe you can attack well on horses.', 1409013650), (1326, 93, 27, 'Seriously, try to attack badly using spells.', 1409013729), (1327, 93, 48, 'Maybe you can defend slowly with luck.', 1409014693), (1328, 93, 10, 'Mmm... oh I know, escape badly using staffs.', 1409015535), (1329, 93, 49, 'Mmm... oh I know, attack badly on items.', 1409015678), (1330, 93, 27, 'Maybe you can escape badly using lances.', 1409015762), (1331, 93, 27, 'Try to jump slowly with knives.', 1409016592), (1332, 93, 49, 'Mmm... oh I know, jump badly using mounts.', 1409017465), (1333, 93, 27, 'Try to escape slowly with swords.', 1409018155), (1334, 93, 48, 'Try to summon slowly using magic.', 1409019041), (1335, 94, 28, 'Mmm... oh I know, jump slowly on luck.', 1460983104), (1336, 94, 6, 'Try to defend badly on knives.', 1460984086), (1337, 94, 8, 'They really summon fast on magic.', 1460984571), (1338, 94, 8, 'Try to cast well on mounts.', 1460985414), (1339, 94, 8, 'Try to summon well using swords.', 1460985505), (1340, 94, 28, 'Maybe you can jump well on magic.', 1460986292), (1341, 94, 15, 'Seriously, try to cast well with items.', 1460987007), (1342, 94, 28, 'They really defend fast with swords.', 1460987081), (1343, 95, 43, 'Try to escape well with mounts.', 1526205404), (1344, 95, 24, 'Maybe you can jump fast with knives.', 1526205708), (1345, 95, 43, 'Try to cast fast on magic.', 1526206662), (1346, 95, 43, 'They really cast fast with spells.', 1526206888), (1347, 95, 24, 'They really escape badly using magic.', 1526207586), (1348, 95, 8, 'Try to jump well using items.', 1526207827), (1349, 95, 23, 'They really jump well on horses.', 1526208048), (1350, 95, 24, 'Try to defend fast using luck.', 1526208972), (1351, 95, 43, 'Maybe you can escape badly using staffs.', 1526209043), (1352, 95, 23, 'They really jump slowly using items.', 1526209596), (1353, 95, 8, 'Maybe you can summon slowly on spells.', 1526210060), (1354, 95, 43, 'Try to summon slowly on spells.', 1526210707), (1355, 95, 8, 'They really jump badly on mounts.', 1526211063), (1356, 95, 8, 'Mmm... oh I know, defend badly with swords.', 1526211617), (1357, 95, 24, 'Mmm... oh I know, cast well with luck.', 1526212130), (1358, 95, 23, 'Give up, they cast fast with items.', 1526212772), (1359, 95, 43, 'Maybe you can escape fast using lances.', 1526212992), (1360, 95, 23, 'Give up, they cast well on luck.', 1526213641), (1361, 95, 24, 'Try to cast badly using luck.', 1526213818), (1362, 95, 8, 'Seriously, try to attack well on horses.', 1526214553), (1363, 95, 23, 'Maybe you can cast slowly with staffs.', 1526214732), (1364, 95, 43, 'Seriously, try to attack fast using mounts.', 1526215142), (1365, 95, 8, 'Maybe you can cast badly on staffs.', 1526215282), (1366, 95, 43, 'They really attack badly with swords.', 1526215656), (1367, 96, 41, 'They really cast fast with spells.', 1394933780), (1368, 96, 4, 'They really jump badly on horses.', 1394934568), (1369, 96, 41, 'Seriously, try to cast well with swords.', 1394934924), (1370, 96, 4, 'They really summon slowly with magic.', 1394935840), (1371, 96, 19, 'Give up, they defend slowly using spells.', 1394936525), (1372, 96, 41, 'Seriously, try to summon fast using knives.', 1394937000), (1373, 96, 41, 'Try to attack slowly using magic.', 1394937451), (1374, 96, 41, 'Mmm... oh I know, jump slowly with knives.', 1394938051), (1375, 97, 26, 'Try to summon badly using mounts.', 1412427962), (1376, 97, 46, 'Seriously, try to attack well on swords.', 1412428934), (1377, 97, 45, 'Try to defend badly using spells.', 1412429847), (1378, 97, 43, 'Give up, they escape well with spells.', 1412430652), (1379, 97, 46, 'They really attack fast using knives.', 1412430845), (1380, 97, 45, 'They really escape badly with swords.', 1412431611), (1381, 98, 40, 'Mmm... oh I know, escape slowly on spells.', 1437011050), (1382, 98, 35, 'Maybe you can attack badly on spells.', 1437011538), (1383, 98, 11, 'They really summon well using staffs.', 1437011696), (1384, 98, 40, 'Try to defend slowly on swords.', 1437011977), (1385, 98, 11, 'Seriously, try to cast fast with horses.', 1437012561), (1386, 98, 11, 'Seriously, try to escape fast using staffs.', 1437013140), (1387, 98, 11, 'Give up, they summon slowly using magic.', 1437013372), (1388, 98, 11, 'Seriously, try to cast slowly with magic.', 1437014289), (1389, 98, 11, 'Maybe you can cast badly using swords.', 1437014915), (1390, 98, 40, 'Seriously, try to attack fast with spells.', 1437015219), (1391, 98, 31, 'Seriously, try to summon slowly on magic.', 1437015614), (1392, 98, 40, 'Seriously, try to jump slowly with horses.', 1437016468), (1393, 98, 11, 'Mmm... oh I know, jump well using items.', 1437016664), (1394, 98, 35, 'Give up, they attack fast with spells.', 1437017277), (1395, 98, 31, 'Maybe you can escape badly on items.', 1437017458), (1396, 98, 35, 'Give up, they summon well with horses.', 1437018061), (1397, 98, 35, 'They really cast fast on items.', 1437018689), (1398, 98, 11, 'Maybe you can defend well using magic.', 1437018846), (1399, 98, 40, 'Maybe you can cast slowly using swords.', 1437019208), (1400, 99, 35, 'Give up, they jump fast using spells.', 1502076278), (1401, 99, 35, 'Maybe you can attack well with mounts.', 1502076530), (1402, 99, 15, 'Try to defend fast using knives.', 1502077357), (1403, 99, 44, 'Give up, they summon slowly using staffs.', 1502077481), (1404, 99, 15, 'Mmm... oh I know, defend fast with knives.', 1502077895), (1405, 99, 44, 'Give up, they cast well with spells.', 1502077973), (1406, 99, 44, 'Give up, they cast slowly with spells.', 1502078360), (1407, 99, 44, 'Maybe you can defend badly using lances.', 1502078957), (1408, 99, 35, 'Maybe you can escape badly with items.', 1502079208), (1409, 100, 42, 'Seriously, try to defend fast on staffs.', 1464325004), (1410, 100, 13, 'Maybe you can jump well on items.', 1464325124), (1411, 100, 25, 'Give up, they attack fast using items.', 1464325238), (1412, 100, 42, 'Try to escape slowly using horses.', 1464325562), (1413, 100, 7, 'Give up, they defend badly with horses.', 1464326268), (1414, 100, 7, 'They really jump fast using lances.', 1464327096), (1415, 100, 7, 'Maybe you can summon badly with magic.', 1464327347), (1416, 100, 42, 'They really defend well using luck.', 1464328072), (1417, 100, 7, 'They really summon well on spells.', 1464328850), (1418, 100, 42, 'Seriously, try to jump badly on swords.', 1464329016), (1419, 100, 13, 'Give up, they attack badly with items.', 1464329441), (1420, 100, 25, 'Give up, they escape fast using items.', 1464330030), (1421, 100, 42, 'Give up, they jump fast with knives.', 1464331012), (1422, 100, 42, 'Maybe you can defend well using mounts.', 1464331883), (1423, 100, 25, 'Give up, they jump fast on knives.', 1464332551), (1424, 100, 42, 'They really defend fast with spells.', 1464332920), (1425, 100, 13, 'Maybe you can cast fast with horses.', 1464333767), (1426, 100, 7, 'They really defend well using luck.', 1464334129), (1427, 100, 13, 'Seriously, try to attack well using luck.', 1464334781), (1428, 100, 13, 'They really jump slowly using magic.', 1464335551), (1429, 100, 42, 'Give up, they jump fast using horses.', 1464335846), (1430, 100, 7, 'They really summon fast with items.', 1464336531), (1431, 100, 42, 'Seriously, try to attack slowly with staffs.', 1464336633), (1432, 101, 15, 'Seriously, try to summon slowly on swords.', 1453302359), (1433, 101, 13, 'Try to defend fast with spells.', 1453302993), (1434, 101, 13, 'Seriously, try to summon badly on staffs.', 1453303979), (1435, 101, 15, 'Mmm... oh I know, attack well with horses.', 1453304041), (1436, 101, 50, 'Try to attack badly using horses.', 1453304622), (1437, 101, 50, 'Maybe you can escape slowly with mounts.', 1453304802), (1438, 101, 19, 'Mmm... oh I know, cast well using knives.', 1453305211), (1439, 101, 15, 'Give up, they summon badly on horses.', 1453305273), (1440, 101, 19, 'Mmm... oh I know, escape slowly on swords.', 1453305809), (1441, 101, 50, 'Try to escape badly with luck.', 1453306658), (1442, 101, 19, 'Mmm... oh I know, attack well on knives.', 1453306874), (1443, 101, 13, 'Try to summon well on items.', 1453307716), (1444, 101, 19, 'Try to attack fast using knives.', 1453308615), (1445, 101, 50, 'Maybe you can summon slowly on swords.', 1453308743), (1446, 101, 15, 'Mmm... oh I know, defend fast on items.', 1453309128), (1447, 101, 13, 'Mmm... oh I know, jump slowly with lances.', 1453309904), (1448, 102, 5, 'Maybe you can summon slowly using spells.', 1453997743), (1449, 102, 26, 'Try to defend slowly using spells.', 1453998329), (1450, 102, 5, 'Mmm... oh I know, jump well on knives.', 1453999323), (1451, 102, 14, 'Give up, they escape badly using mounts.', 1453999441), (1452, 102, 27, 'Try to escape slowly with mounts.', 1453999956), (1453, 102, 27, 'Try to jump slowly with knives.', 1454000377), (1454, 102, 27, 'Seriously, try to defend fast with horses.', 1454001228), (1455, 102, 26, 'Mmm... oh I know, cast fast on knives.', 1454001527), (1456, 102, 26, 'Maybe you can defend slowly with lances.', 1454002181), (1457, 103, 11, 'Try to defend well on luck.', 1491601246), (1458, 103, 11, 'Seriously, try to attack fast with knives.', 1491601822), (1459, 103, 37, 'Mmm... oh I know, defend badly using spells.', 1491602216), (1460, 103, 36, 'They really summon slowly using magic.', 1491602662), (1461, 103, 36, 'Seriously, try to defend badly on horses.', 1491603084), (1462, 103, 11, 'Maybe you can defend badly using horses.', 1491603871), (1463, 103, 26, 'Mmm... oh I know, summon well using items.', 1491604482), (1464, 103, 11, 'Give up, they escape slowly using magic.', 1491605347), (1465, 103, 26, 'They really cast slowly on spells.', 1491605667), (1466, 103, 11, 'Maybe you can jump fast using mounts.', 1491605846), (1467, 103, 11, 'Try to escape fast on swords.', 1491606700), (1468, 103, 36, 'Give up, they escape fast with luck.', 1491607387), (1469, 103, 11, 'Give up, they attack well using swords.', 1491607729), (1470, 103, 37, 'Give up, they attack fast with items.', 1491608023), (1471, 104, 27, 'Give up, they attack well on staffs.', 1486497558), (1472, 104, 43, 'They really cast badly with items.', 1486497888), (1473, 104, 37, 'Give up, they attack well on spells.', 1486498085), (1474, 104, 27, 'Mmm... oh I know, escape badly using spells.', 1486498710), (1475, 104, 37, 'Give up, they attack well using knives.', 1486499270), (1476, 104, 19, 'Maybe you can cast badly with spells.', 1486500141), (1477, 104, 19, 'Mmm... oh I know, escape well with staffs.', 1486500440), (1478, 105, 36, 'They really jump slowly with luck.', 1494870354), (1479, 105, 42, 'Seriously, try to escape fast on magic.', 1494870655), (1480, 105, 36, 'Maybe you can cast fast using horses.', 1494871086), (1481, 105, 42, 'Maybe you can escape badly with items.', 1494872005), (1482, 105, 8, 'Give up, they escape well on items.', 1494872399), (1483, 105, 8, 'Seriously, try to summon badly using magic.', 1494873219), (1484, 105, 8, 'They really defend well on luck.', 1494873316), (1485, 105, 42, 'Mmm... oh I know, attack well using swords.', 1494873985), (1486, 105, 36, 'Mmm... oh I know, escape badly with swords.', 1494874222), (1487, 105, 42, 'Maybe you can summon badly on swords.', 1494874331), (1488, 105, 12, 'Maybe you can defend fast on horses.', 1494875116), (1489, 106, 38, 'They really cast badly on items.', 1519160692), (1490, 106, 38, 'Try to escape well using mounts.', 1519160813), (1491, 106, 2, 'Maybe you can summon well on spells.', 1519160933), (1492, 106, 38, 'Try to defend slowly using spells.', 1519161297), (1493, 106, 23, 'Try to summon well using lances.', 1519161383), (1494, 106, 2, 'Seriously, try to escape slowly using knives.', 1519161772), (1495, 106, 23, 'Maybe you can jump well on swords.', 1519162371), (1496, 106, 38, 'Maybe you can summon well on spells.', 1519162860), (1497, 106, 23, 'Maybe you can jump fast on spells.', 1519163415), (1498, 106, 38, 'Give up, they escape fast using items.', 1519163864), (1499, 106, 38, 'Maybe you can attack well with lances.', 1519164639), (1500, 106, 38, 'Mmm... oh I know, defend badly with mounts.', 1519165022), (1501, 106, 23, 'They really attack well using mounts.', 1519165814), (1502, 106, 2, 'Give up, they escape slowly on lances.', 1519165945), (1503, 106, 38, 'Give up, they jump slowly using mounts.', 1519166406), (1504, 106, 19, 'Mmm... oh I know, defend fast with luck.', 1519166691), (1505, 106, 2, 'Maybe you can jump fast on staffs.', 1519166756), (1506, 106, 38, 'Seriously, try to escape badly with magic.', 1519167576), (1507, 106, 38, 'Try to attack well using items.', 1519167782), (1508, 106, 38, 'Give up, they summon well using knives.', 1519168338), (1509, 106, 2, 'Seriously, try to jump fast using lances.', 1519168689), (1510, 106, 2, 'Give up, they defend well with horses.', 1519169079), (1511, 106, 19, 'They really defend slowly on horses.', 1519170042), (1512, 106, 2, 'Try to cast badly with knives.', 1519170485), (1513, 106, 19, 'They really attack fast on swords.', 1519171466), (1514, 107, 46, 'Seriously, try to defend fast with swords.', 1515884269), (1515, 107, 46, 'Give up, they jump fast with mounts.', 1515885180), (1516, 107, 21, 'Mmm... oh I know, defend badly using knives.', 1515885514), (1517, 107, 17, 'Seriously, try to cast well on staffs.', 1515886034), (1518, 107, 17, 'Maybe you can cast fast using horses.', 1515886208), (1519, 107, 46, 'Mmm... oh I know, cast well with items.', 1515886318), (1520, 107, 21, 'Seriously, try to attack slowly using spells.', 1515886783), (1521, 107, 8, 'Try to cast well with lances.', 1515887736), (1522, 107, 8, 'Try to summon well on knives.', 1515888254), (1523, 107, 17, 'They really jump well with luck.', 1515889186), (1524, 107, 17, 'They really jump well using horses.', 1515889691), (1525, 107, 21, 'Maybe you can defend badly on horses.', 1515890199), (1526, 108, 8, 'Mmm... oh I know, defend fast on mounts.', 1528821492), (1527, 108, 18, 'Give up, they escape well on luck.', 1528821648), (1528, 108, 21, 'They really jump well using lances.', 1528822017), (1529, 108, 21, 'Maybe you can jump badly with staffs.', 1528822083), (1530, 108, 18, 'Seriously, try to cast well using items.', 1528822188), (1531, 108, 8, 'Mmm... oh I know, jump slowly using luck.', 1528822510), (1532, 108, 21, 'Maybe you can summon badly using spells.', 1528823241), (1533, 108, 40, 'They really escape well with luck.', 1528824135), (1534, 108, 21, 'They really attack well on luck.', 1528824894), (1535, 108, 18, 'Mmm... oh I know, cast well with knives.', 1528825500), (1536, 108, 21, 'Maybe you can attack well with items.', 1528825789), (1537, 108, 40, 'Try to summon badly using swords.', 1528826107), (1538, 108, 40, 'Seriously, try to attack well using spells.', 1528826783), (1539, 108, 40, 'Try to escape fast on items.', 1528827003), (1540, 108, 21, 'They really summon fast on magic.', 1528827838), (1541, 108, 40, 'Try to summon slowly with spells.', 1528828403), (1542, 108, 40, 'Mmm... oh I know, jump slowly on swords.', 1528829029), (1543, 108, 8, 'Try to cast fast with swords.', 1528829355), (1544, 108, 18, 'They really jump well with swords.', 1528829657), (1545, 108, 21, 'Give up, they summon fast using spells.', 1528830184), (1546, 108, 18, 'Maybe you can cast badly using spells.', 1528830847), (1547, 108, 40, 'Try to defend badly with items.', 1528831075), (1548, 108, 8, 'Maybe you can escape well on swords.', 1528831728), (1549, 109, 46, 'They really summon slowly using magic.', 1442146249), (1550, 109, 34, 'Try to escape badly on swords.', 1442146690), (1551, 109, 46, 'Try to defend fast with magic.', 1442147274), (1552, 109, 37, 'Seriously, try to escape slowly on staffs.', 1442147569), (1553, 109, 37, 'Maybe you can jump well using swords.', 1442147962), (1554, 109, 34, 'Seriously, try to escape fast with luck.', 1442148701), (1555, 109, 46, 'Maybe you can summon slowly on horses.', 1442149479), (1556, 109, 34, 'Try to attack well on luck.', 1442149743), (1557, 109, 46, 'Seriously, try to escape slowly using magic.', 1442150064), (1558, 109, 37, 'Try to summon badly using magic.', 1442150157), (1559, 109, 37, 'Maybe you can escape well with knives.', 1442151031), (1560, 109, 22, 'Seriously, try to attack well on staffs.', 1442151367), (1561, 109, 46, 'They really cast badly with swords.', 1442152289), (1562, 109, 37, 'Maybe you can jump badly using items.', 1442153190), (1563, 109, 22, 'Mmm... oh I know, summon slowly on knives.', 1442153538), (1564, 109, 22, 'Maybe you can escape badly using spells.', 1442154442), (1565, 109, 37, 'Seriously, try to jump fast with items.', 1442154584), (1566, 109, 46, 'Seriously, try to cast badly on lances.', 1442155491), (1567, 109, 22, 'Mmm... oh I know, cast well using staffs.', 1442156230), (1568, 109, 22, 'Seriously, try to jump fast with spells.', 1442156975), (1569, 110, 44, 'They really summon slowly using knives.', 1513159351), (1570, 110, 33, 'Try to jump badly on luck.', 1513160330), (1571, 110, 33, 'Seriously, try to cast well using items.', 1513161247), (1572, 110, 10, 'Maybe you can escape slowly using mounts.', 1513162096), (1573, 110, 33, 'Maybe you can summon badly using spells.', 1513162888), (1574, 110, 44, 'They really escape badly with staffs.', 1513163082), (1575, 110, 44, 'Maybe you can defend badly using luck.', 1513163728), (1576, 110, 33, 'Mmm... oh I know, cast well on knives.', 1513164582), (1577, 110, 33, 'Maybe you can summon badly on magic.', 1513165460), (1578, 110, 44, 'Try to escape fast with mounts.', 1513165964), (1579, 110, 33, 'Give up, they jump fast on luck.', 1513166478), (1580, 110, 10, 'Seriously, try to cast well using knives.', 1513166914), (1581, 110, 33, 'Seriously, try to attack fast on staffs.', 1513167221), (1582, 110, 40, 'Try to attack well using lances.', 1513168073), (1583, 110, 33, 'They really cast slowly using staffs.', 1513168191), (1584, 110, 33, 'Seriously, try to escape fast using magic.', 1513168346), (1585, 110, 10, 'Give up, they attack fast on horses.', 1513168664), (1586, 110, 40, 'Seriously, try to cast well with magic.', 1513169063), (1587, 110, 40, 'Seriously, try to escape badly on magic.', 1513169976), (1588, 110, 33, 'Mmm... oh I know, escape slowly with knives.', 1513170269), (1589, 110, 44, 'They really summon slowly on mounts.', 1513170342), (1590, 111, 45, 'Try to cast fast using spells.', 1518800859), (1591, 111, 28, 'Give up, they defend well using knives.', 1518801593), (1592, 111, 43, 'Try to jump well with mounts.', 1518802187), (1593, 111, 43, 'Seriously, try to defend fast with staffs.', 1518802746), (1594, 111, 43, 'Maybe you can defend badly with spells.', 1518802924), (1595, 111, 28, 'Try to jump well using lances.', 1518803657), (1596, 111, 35, 'Give up, they attack fast using horses.', 1518803886), (1597, 111, 28, 'They really attack well on mounts.', 1518804091), (1598, 111, 45, 'Try to jump slowly with spells.', 1518804293), (1599, 111, 35, 'They really jump slowly using staffs.', 1518805143), (1600, 111, 28, 'Seriously, try to summon fast on horses.', 1518805635), (1601, 111, 35, 'Mmm... oh I know, attack badly on mounts.', 1518806465), (1602, 111, 35, 'Try to summon well using lances.', 1518807279), (1603, 111, 45, 'Maybe you can summon slowly using spells.', 1518808260), (1604, 111, 28, 'Give up, they escape fast on lances.', 1518808486), (1605, 111, 43, 'They really cast well with luck.', 1518808584), (1606, 111, 28, 'Give up, they attack fast using horses.', 1518809190), (1607, 111, 35, 'Give up, they jump fast on lances.', 1518810114), (1608, 111, 28, 'Give up, they escape fast on magic.', 1518810290), (1609, 111, 43, 'Mmm... oh I know, cast badly using spells.', 1518810481), (1610, 111, 28, 'Try to summon well on luck.', 1518810859), (1611, 111, 43, 'Try to summon well using staffs.', 1518811041), (1612, 111, 28, 'They really escape fast using horses.', 1518811942), (1613, 112, 12, 'Mmm... oh I know, jump slowly using items.', 1438468373), (1614, 112, 33, 'Maybe you can attack slowly on staffs.', 1438468509), (1615, 112, 12, 'They really escape well using staffs.', 1438468872), (1616, 112, 33, 'Maybe you can cast slowly with items.', 1438469223), (1617, 112, 12, 'Try to cast fast with magic.', 1438469455), (1618, 112, 33, 'Give up, they summon well with staffs.', 1438469765), (1619, 112, 26, 'Give up, they defend fast with magic.', 1438470674), (1620, 112, 33, 'Maybe you can attack slowly on spells.', 1438471505), (1621, 112, 16, 'They really defend slowly on knives.', 1438472194), (1622, 112, 33, 'Seriously, try to jump fast with items.', 1438472543), (1623, 112, 26, 'Give up, they summon well on swords.', 1438473528), (1624, 112, 26, 'Maybe you can cast slowly using spells.', 1438473926), (1625, 112, 26, 'Give up, they escape fast on lances.', 1438474634), (1626, 112, 33, 'They really attack slowly on knives.', 1438475171), (1627, 112, 16, 'Give up, they defend slowly on staffs.', 1438476026), (1628, 112, 26, 'Seriously, try to cast slowly on lances.', 1438476601), (1629, 112, 33, 'They really defend badly on spells.', 1438476717), (1630, 112, 16, 'Maybe you can attack badly on spells.', 1438477355), (1631, 113, 19, 'Give up, they summon fast on items.', 1500148551), (1632, 113, 19, 'Mmm... oh I know, escape badly with horses.', 1500149413), (1633, 113, 20, 'They really cast badly using knives.', 1500149976), (1634, 113, 19, 'Mmm... oh I know, cast fast using staffs.', 1500150065), (1635, 113, 19, 'Maybe you can summon well using items.', 1500150431), (1636, 113, 25, 'Maybe you can defend well using spells.', 1500150679), (1637, 113, 25, 'Maybe you can cast badly on magic.', 1500151104), (1638, 113, 19, 'Seriously, try to defend badly with magic.', 1500151389), (1639, 113, 25, 'Seriously, try to defend badly with staffs.', 1500151922), (1640, 113, 19, 'Seriously, try to escape slowly on spells.', 1500152136), (1641, 114, 33, 'Seriously, try to escape badly on magic.', 1506232079), (1642, 114, 28, 'Mmm... oh I know, defend badly with lances.', 1506233076), (1643, 114, 5, 'Seriously, try to jump well on spells.', 1506233382), (1644, 114, 5, 'Mmm... oh I know, summon badly using swords.', 1506234035), (1645, 114, 33, 'Mmm... oh I know, defend well on knives.', 1506235014), (1646, 114, 5, 'Try to cast well on swords.', 1506235938), (1647, 114, 33, 'Mmm... oh I know, escape badly with swords.', 1506236055), (1648, 114, 33, 'Give up, they jump well with swords.', 1506236824), (1649, 114, 40, 'They really escape fast on knives.', 1506237786), (1650, 114, 28, 'Give up, they jump well on items.', 1506238471), (1651, 114, 40, 'Mmm... oh I know, cast slowly on lances.', 1506239470), (1652, 114, 5, 'Give up, they cast badly using spells.', 1506240467), (1653, 114, 28, 'Maybe you can cast well on staffs.', 1506240659), (1654, 114, 5, 'Try to jump badly using items.', 1506240789), (1655, 114, 5, 'Try to defend slowly with luck.', 1506241071), (1656, 114, 40, 'Try to escape slowly on knives.', 1506241657), (1657, 114, 5, 'Try to cast fast on swords.', 1506242561), (1658, 114, 40, 'Mmm... oh I know, attack slowly on items.', 1506243490), (1659, 114, 40, 'They really summon fast on magic.', 1506243863), (1660, 114, 5, 'Mmm... oh I know, escape fast using knives.', 1506244841), (1661, 114, 33, 'Mmm... oh I know, attack badly on swords.', 1506245230), (1662, 114, 40, 'Maybe you can escape fast using items.', 1506245764), (1663, 114, 33, 'Seriously, try to summon slowly with items.', 1506246631), (1664, 114, 28, 'Give up, they attack well on luck.', 1506246994), (1665, 115, 10, 'Maybe you can escape slowly using luck.', 1455396164), (1666, 115, 41, 'Seriously, try to defend fast on mounts.', 1455396396), (1667, 115, 41, 'Maybe you can defend badly using staffs.', 1455397391), (1668, 115, 50, 'Maybe you can escape slowly with items.', 1455398116), (1669, 115, 10, 'Mmm... oh I know, attack fast with swords.', 1455398472), (1670, 115, 10, 'They really escape fast with items.', 1455399281), (1671, 115, 15, 'Seriously, try to summon well using items.', 1455399466), (1672, 115, 15, 'Try to defend slowly on horses.', 1455399644), (1673, 115, 15, 'Maybe you can attack slowly on magic.', 1455399918), (1674, 115, 50, 'They really defend slowly using spells.', 1455400876), (1675, 115, 15, 'They really escape slowly using lances.', 1455401425), (1676, 115, 50, 'Mmm... oh I know, attack slowly on spells.', 1455401818), (1677, 115, 10, 'Seriously, try to attack badly with items.', 1455402472), (1678, 115, 50, 'Give up, they jump badly using knives.', 1455402673), (1679, 115, 41, 'Mmm... oh I know, summon badly with lances.', 1455403246), (1680, 115, 50, 'Seriously, try to escape fast on staffs.', 1455403511), (1681, 115, 41, 'Mmm... oh I know, defend badly with knives.', 1455404412), (1682, 115, 41, 'Maybe you can jump fast using mounts.', 1455405030), (1683, 115, 50, 'They really escape slowly using magic.', 1455405843), (1684, 115, 50, 'Give up, they defend badly with swords.', 1455406735), (1685, 115, 41, 'Maybe you can jump slowly on knives.', 1455407008), (1686, 116, 11, 'Give up, they defend badly on knives.', 1391496943), (1687, 116, 11, 'Seriously, try to escape fast with lances.', 1391497291), (1688, 116, 45, 'They really escape badly with magic.', 1391498131), (1689, 116, 39, 'Seriously, try to attack slowly using luck.', 1391498756), (1690, 116, 14, 'Try to summon slowly using staffs.', 1391498831), (1691, 117, 24, 'Maybe you can escape fast with lances.', 1512808697), (1692, 117, 24, 'Give up, they jump well on horses.', 1512809178), (1693, 117, 5, 'Maybe you can jump well with lances.', 1512809730), (1694, 117, 5, 'They really jump badly on luck.', 1512810406), (1695, 117, 7, 'Maybe you can defend fast on swords.', 1512810586), (1696, 117, 24, 'Maybe you can defend well using knives.', 1512810810), (1697, 117, 38, 'Maybe you can attack fast with swords.', 1512811259), (1698, 117, 38, 'Seriously, try to summon badly using magic.', 1512811975), (1699, 117, 24, 'Try to defend well on knives.', 1512812954), (1700, 117, 5, 'Maybe you can cast well with horses.', 1512813014), (1701, 117, 7, 'Give up, they defend fast with items.', 1512813617), (1702, 117, 38, 'Seriously, try to cast fast using lances.', 1512814604), (1703, 118, 26, 'Maybe you can cast fast with swords.', 1435163226), (1704, 118, 20, 'Try to cast badly with horses.', 1435164203), (1705, 118, 14, 'Maybe you can summon slowly using knives.', 1435164833), (1706, 118, 26, 'Try to jump badly on knives.', 1435165617), (1707, 118, 26, 'Give up, they escape slowly on staffs.', 1435165867), (1708, 118, 20, 'They really defend fast with lances.', 1435165990), (1709, 118, 50, 'Seriously, try to jump fast using swords.', 1435166559), (1710, 118, 20, 'Mmm... oh I know, attack badly with swords.', 1435167405), (1711, 118, 50, 'Mmm... oh I know, defend well using spells.', 1435167551), (1712, 118, 14, 'They really escape badly on lances.', 1435168469), (1713, 118, 20, 'Try to cast badly on lances.', 1435168959), (1714, 118, 26, 'Maybe you can defend fast using lances.', 1435169471), (1715, 118, 14, 'Give up, they attack slowly using magic.', 1435169724), (1716, 118, 26, 'They really escape well on mounts.', 1435169836), (1717, 118, 26, 'They really escape well on lances.', 1435170658), (1718, 118, 26, 'Seriously, try to summon well on luck.', 1435170989), (1719, 118, 26, 'Seriously, try to defend well with knives.', 1435171632), (1720, 118, 26, 'Give up, they attack badly on staffs.', 1435172278), (1721, 118, 50, 'Try to escape badly with lances.', 1435172568), (1722, 118, 26, 'Maybe you can summon badly with luck.', 1435173543), (1723, 118, 50, 'Mmm... oh I know, defend slowly on horses.', 1435174393), (1724, 118, 50, 'Seriously, try to escape badly on magic.', 1435174798), (1725, 118, 50, 'Try to jump slowly using staffs.', 1435175657), (1726, 118, 50, 'Give up, they jump well on staffs.', 1435176126), (1727, 118, 26, 'They really cast fast with mounts.', 1435176432), (1728, 119, 12, 'Maybe you can cast badly on mounts.', 1413811391), (1729, 119, 15, 'Try to escape badly on lances.', 1413811455), (1730, 119, 15, 'Maybe you can jump well using mounts.', 1413811754), (1731, 119, 9, 'Seriously, try to escape badly with horses.', 1413812205), (1732, 119, 9, 'Mmm... oh I know, attack badly with spells.', 1413812574), (1733, 119, 9, 'Mmm... oh I know, summon badly with lances.', 1413813308), (1734, 119, 9, 'They really attack fast on lances.', 1413813933), (1735, 119, 9, 'Seriously, try to attack slowly with horses.', 1413814864), (1736, 119, 15, 'Seriously, try to cast well using knives.', 1413815492), (1737, 120, 10, 'Seriously, try to escape well on magic.', 1514250748), (1738, 120, 17, 'Give up, they attack fast with luck.', 1514251011), (1739, 120, 17, 'Seriously, try to jump fast using horses.', 1514251841), (1740, 120, 3, 'Give up, they summon well using items.', 1514252296), (1741, 120, 10, 'Maybe you can escape fast with spells.', 1514252434), (1742, 120, 10, 'Mmm... oh I know, summon badly on spells.', 1514252956), (1743, 120, 10, 'Try to summon slowly on knives.', 1514253711), (1744, 120, 10, 'They really attack badly with swords.', 1514254431), (1745, 120, 10, 'They really escape slowly using knives.', 1514254707), (1746, 120, 3, 'Try to escape badly using mounts.', 1514255296), (1747, 120, 10, 'Mmm... oh I know, jump slowly using knives.', 1514255576), (1748, 120, 3, 'Mmm... oh I know, defend well on mounts.', 1514255886), (1749, 120, 10, 'Give up, they attack slowly on swords.', 1514256644), (1750, 120, 44, 'Seriously, try to jump fast with mounts.', 1514257516), (1751, 120, 44, 'Seriously, try to defend slowly on staffs.', 1514258246), (1752, 120, 3, 'Maybe you can jump badly on staffs.', 1514258487), (1753, 120, 17, 'Seriously, try to attack slowly on swords.', 1514258915), (1754, 120, 17, 'They really escape fast with items.', 1514259240), (1755, 121, 37, 'Maybe you can cast badly on staffs.', 1498153710), (1756, 121, 26, 'Seriously, try to summon badly with luck.', 1498154334), (1757, 121, 40, 'Mmm... oh I know, escape fast using swords.', 1498154845), (1758, 121, 26, 'Mmm... oh I know, cast fast with magic.', 1498155489), (1759, 121, 26, 'Mmm... oh I know, jump fast on swords.', 1498155623), (1760, 121, 40, 'Maybe you can cast fast on spells.', 1498155717), (1761, 121, 26, 'Try to defend well on horses.', 1498156697), (1762, 121, 26, 'Try to attack fast on staffs.', 1498156898), (1763, 121, 26, 'Try to jump slowly on items.', 1498157446), (1764, 121, 35, 'Give up, they jump slowly using spells.', 1498158146), (1765, 121, 37, 'Seriously, try to summon badly using spells.', 1498158388), (1766, 121, 37, 'Seriously, try to escape badly with lances.', 1498159378), (1767, 121, 35, 'Seriously, try to defend badly using horses.', 1498159911), (1768, 121, 35, 'Try to attack fast with staffs.', 1498160098), (1769, 121, 37, 'Mmm... oh I know, cast fast on lances.', 1498160823), (1770, 121, 40, 'Seriously, try to defend slowly with horses.', 1498161799), (1771, 122, 17, 'Try to escape fast using mounts.', 1515105142), (1772, 122, 16, 'Give up, they cast well using lances.', 1515105629), (1773, 122, 16, 'Seriously, try to attack well on staffs.', 1515106232), (1774, 122, 50, 'Try to cast well on mounts.', 1515106847), (1775, 122, 50, 'Seriously, try to cast well with magic.', 1515107396), (1776, 123, 40, 'Seriously, try to defend well on lances.', 1415465039), (1777, 123, 40, 'Give up, they cast fast with horses.', 1415465494), (1778, 123, 41, 'Try to attack badly on luck.', 1415466429), (1779, 123, 20, 'They really cast fast with swords.', 1415467256), (1780, 123, 17, 'Maybe you can summon well on items.', 1415467347), (1781, 123, 40, 'Give up, they cast badly on items.', 1415467993), (1782, 123, 17, 'Maybe you can summon badly on staffs.', 1415468780), (1783, 123, 41, 'Seriously, try to cast badly using lances.', 1415469020), (1784, 123, 17, 'Maybe you can defend badly using luck.', 1415469645), (1785, 123, 20, 'Mmm... oh I know, defend badly using swords.', 1415470437), (1786, 123, 40, 'Mmm... oh I know, summon well on luck.', 1415471291), (1787, 124, 28, 'Maybe you can cast slowly with magic.', 1429109164), (1788, 124, 44, 'Mmm... oh I know, attack badly using mounts.', 1429109915), (1789, 124, 44, 'Seriously, try to defend well with spells.', 1429110194), (1790, 124, 28, 'Give up, they defend well using items.', 1429110591), (1791, 124, 4, 'They really escape fast on lances.', 1429111164), (1792, 124, 4, 'Try to attack badly with staffs.', 1429111799), (1793, 124, 4, 'Mmm... oh I know, summon slowly with magic.', 1429112209), (1794, 124, 44, 'They really cast badly with knives.', 1429112686), (1795, 124, 21, 'Maybe you can cast badly using items.', 1429113068), (1796, 124, 21, 'Try to summon well with spells.', 1429113894), (1797, 124, 44, 'Seriously, try to summon well on lances.', 1429114734), (1798, 124, 4, 'Seriously, try to cast fast using luck.', 1429114850), (1799, 125, 41, 'Give up, they escape slowly with items.', 1469213662), (1800, 125, 47, 'Seriously, try to summon well using items.', 1469214461), (1801, 125, 47, 'They really escape well on items.', 1469214712), (1802, 125, 47, 'Give up, they summon well on swords.', 1469215448), (1803, 125, 27, 'Seriously, try to escape well on swords.', 1469216271), (1804, 125, 27, 'Try to summon well using staffs.', 1469216940), (1805, 125, 47, 'Mmm... oh I know, escape badly using swords.', 1469217184), (1806, 125, 27, 'Maybe you can summon fast with magic.', 1469217417), (1807, 126, 46, 'Maybe you can summon well using spells.', 1530956959), (1808, 126, 46, 'Maybe you can attack fast with items.', 1530957264), (1809, 126, 5, 'Maybe you can attack fast on swords.', 1530957989), (1810, 126, 5, 'Give up, they summon badly with magic.', 1530958870), (1811, 126, 17, 'Maybe you can defend slowly using knives.', 1530959192), (1812, 126, 17, 'They really attack badly using lances.', 1530959949), (1813, 126, 5, 'Give up, they jump badly with luck.', 1530960415), (1814, 126, 46, 'Mmm... oh I know, cast badly using mounts.', 1530960711), (1815, 126, 46, 'Mmm... oh I know, defend badly on knives.', 1530961700), (1816, 126, 5, 'They really summon fast on items.', 1530962633), (1817, 126, 5, 'They really defend well on horses.', 1530962761), (1818, 126, 24, 'Try to jump slowly on luck.', 1530963567), (1819, 126, 24, 'Seriously, try to cast well on mounts.', 1530964246), (1820, 126, 5, 'Give up, they summon fast using staffs.', 1530965192), (1821, 126, 46, 'Try to cast slowly with knives.', 1530965730), (1822, 126, 5, 'Give up, they escape fast with horses.', 1530965869), (1823, 126, 24, 'Maybe you can jump badly on magic.', 1530966381), (1824, 126, 46, 'Try to escape badly with spells.', 1530966465), (1825, 126, 24, 'Seriously, try to summon well using items.', 1530967167), (1826, 126, 17, 'Seriously, try to attack fast using spells.', 1530967619), (1827, 126, 17, 'Mmm... oh I know, defend slowly with items.', 1530968093), (1828, 126, 17, 'They really summon fast with mounts.', 1530968453), (1829, 126, 17, 'Mmm... oh I know, summon well with luck.', 1530969040), (1830, 126, 5, 'Maybe you can cast slowly with swords.', 1530969794), (1831, 127, 46, 'Try to cast badly with staffs.', 1530162246), (1832, 127, 46, 'Seriously, try to cast slowly using mounts.', 1530163136), (1833, 127, 24, 'They really cast badly with spells.', 1530163551), (1834, 127, 46, 'Maybe you can cast fast on staffs.', 1530163827), (1835, 127, 24, 'Try to jump slowly using lances.', 1530164524), (1836, 127, 32, 'Mmm... oh I know, attack fast using swords.', 1530165398), (1837, 127, 20, 'Maybe you can defend badly using mounts.', 1530166391), (1838, 127, 20, 'Give up, they jump well with staffs.', 1530167060), (1839, 127, 46, 'Maybe you can defend fast with magic.', 1530168043), (1840, 127, 46, 'They really summon fast on mounts.', 1530168431), (1841, 127, 24, 'Maybe you can jump fast using items.', 1530168853), (1842, 127, 20, 'Give up, they summon well with items.', 1530169582), (1843, 127, 46, 'Try to escape slowly on spells.', 1530170319), (1844, 127, 20, 'They really attack slowly with spells.', 1530170382), (1845, 128, 5, 'Maybe you can summon fast using staffs.', 1402440262), (1846, 128, 38, 'Try to jump fast using mounts.', 1402441121), (1847, 128, 3, 'Mmm... oh I know, attack slowly with staffs.', 1402441688), (1848, 128, 3, 'They really jump fast with horses.', 1402441762), (1849, 128, 3, 'Try to jump well with staffs.', 1402441859), (1850, 128, 8, 'Seriously, try to summon well on staffs.', 1402441920), (1851, 128, 8, 'Seriously, try to defend fast with staffs.', 1402442092), (1852, 128, 38, 'Give up, they escape fast using swords.', 1402442719), (1853, 128, 3, 'Seriously, try to jump well with magic.', 1402442950), (1854, 128, 8, 'Try to defend well with luck.', 1402443299), (1855, 128, 3, 'Maybe you can jump slowly using spells.', 1402444102), (1856, 128, 38, 'They really defend badly with knives.', 1402444196), (1857, 128, 3, 'They really summon badly with spells.', 1402444974), (1858, 128, 3, 'They really escape badly with magic.', 1402445743), (1859, 129, 4, 'They really summon fast using swords.', 1454595983), (1860, 129, 4, 'Mmm... oh I know, jump badly with knives.', 1454596855), (1861, 129, 46, 'They really cast well with horses.', 1454597779), (1862, 129, 21, 'Try to jump badly with items.', 1454598771), (1863, 129, 46, 'They really attack badly on magic.', 1454599536), (1864, 129, 46, 'Maybe you can escape fast on items.', 1454600091), (1865, 129, 21, 'Try to attack fast with horses.', 1454600421), (1866, 129, 46, 'They really attack fast using magic.', 1454601143), (1867, 129, 21, 'Maybe you can cast slowly with magic.', 1454601723), (1868, 129, 4, 'They really attack slowly using items.', 1454602268), (1869, 129, 21, 'Seriously, try to jump slowly on lances.', 1454602580), (1870, 129, 21, 'Mmm... oh I know, cast slowly on mounts.', 1454603110), (1871, 129, 46, 'Maybe you can escape badly using lances.', 1454603519), (1872, 129, 46, 'Seriously, try to defend badly on lances.', 1454604060), (1873, 129, 4, 'Give up, they summon badly on mounts.', 1454604891), (1874, 129, 4, 'Seriously, try to summon well using swords.', 1454605555), (1875, 129, 46, 'Try to summon fast on staffs.', 1454606063), (1876, 129, 21, 'Give up, they cast well with items.', 1454606239), (1877, 129, 46, 'Try to defend badly with knives.', 1454606736), (1878, 129, 46, 'Maybe you can summon slowly with magic.', 1454607590), (1879, 129, 4, 'Maybe you can summon fast on staffs.', 1454607802), (1880, 129, 46, 'Mmm... oh I know, summon fast on horses.', 1454608069), (1881, 129, 21, 'Seriously, try to summon fast with magic.', 1454608968), (1882, 129, 46, 'Mmm... oh I know, attack slowly on luck.', 1454609186), (1883, 130, 23, 'Mmm... oh I know, summon slowly with lances.', 1407426657), (1884, 130, 24, 'Seriously, try to cast badly on spells.', 1407427070), (1885, 130, 23, 'They really attack badly on magic.', 1407427503), (1886, 130, 24, 'Give up, they defend slowly using mounts.', 1407427598), (1887, 130, 23, 'They really jump fast using lances.', 1407427812), (1888, 130, 8, 'Seriously, try to attack well using magic.', 1407428108), (1889, 130, 8, 'Try to defend fast on luck.', 1407428314), (1890, 130, 23, 'Maybe you can defend well on horses.', 1407429050), (1891, 130, 24, 'Seriously, try to summon slowly on swords.', 1407429586), (1892, 130, 8, 'Seriously, try to cast well on lances.', 1407430512), (1893, 130, 8, 'Give up, they summon badly with knives.', 1407430641), (1894, 130, 23, 'They really defend badly on magic.', 1407431203), (1895, 130, 8, 'Seriously, try to summon well using mounts.', 1407431338), (1896, 130, 24, 'They really cast fast with magic.', 1407432169), (1897, 130, 8, 'Mmm... oh I know, cast badly with horses.', 1407432515), (1898, 130, 8, 'Give up, they jump badly on horses.', 1407432943), (1899, 130, 24, 'Seriously, try to summon fast on staffs.', 1407433371), (1900, 131, 7, 'Mmm... oh I know, jump well using lances.', 1466344372), (1901, 131, 21, 'Maybe you can escape well with items.', 1466345315), (1902, 131, 7, 'Maybe you can defend well with spells.', 1466346291), (1903, 131, 21, 'They really summon well on luck.', 1466346422), (1904, 131, 7, 'Try to escape fast on swords.', 1466347407), (1905, 131, 13, 'Mmm... oh I know, defend fast with staffs.', 1466347593), (1906, 131, 13, 'Seriously, try to cast slowly using horses.', 1466347991), (1907, 131, 7, 'Give up, they cast slowly on lances.', 1466348551), (1908, 131, 13, 'Mmm... oh I know, cast badly using spells.', 1466349278), (1909, 131, 7, 'Maybe you can escape well with spells.', 1466349944), (1910, 131, 46, 'They really summon slowly with items.', 1466350823), (1911, 131, 21, 'Mmm... oh I know, defend slowly using knives.', 1466351354), (1912, 131, 13, 'Give up, they defend badly on magic.', 1466351536), (1913, 131, 46, 'Maybe you can cast badly using luck.', 1466352129), (1914, 131, 46, 'Give up, they escape fast using magic.', 1466352769), (1915, 131, 46, 'Mmm... oh I know, summon well using items.', 1466353453), (1916, 131, 7, 'Seriously, try to escape badly using horses.', 1466353590), (1917, 131, 21, 'Mmm... oh I know, summon badly with mounts.', 1466354050), (1918, 132, 49, 'Maybe you can summon well with staffs.', 1442288409), (1919, 132, 44, 'Seriously, try to summon well on swords.', 1442288776), (1920, 132, 44, 'Seriously, try to summon slowly with knives.', 1442289448), (1921, 132, 25, 'Give up, they summon well using items.', 1442290179), (1922, 132, 25, 'Mmm... oh I know, escape slowly on knives.', 1442290601), (1923, 132, 44, 'Mmm... oh I know, defend well using mounts.', 1442291392), (1924, 132, 25, 'Give up, they attack fast on knives.', 1442291955), (1925, 132, 49, 'Mmm... oh I know, cast well on horses.', 1442292228), (1926, 132, 25, 'Try to defend fast on luck.', 1442292973), (1927, 132, 44, 'Maybe you can escape slowly with lances.', 1442293061), (1928, 132, 49, 'Try to jump fast with spells.', 1442293299), (1929, 132, 44, 'Mmm... oh I know, attack well using swords.', 1442293459), (1930, 132, 49, 'Seriously, try to cast fast with items.', 1442293729), (1931, 132, 49, 'Seriously, try to jump fast on mounts.', 1442294412), (1932, 132, 25, 'Give up, they jump slowly using luck.', 1442295106), (1933, 132, 49, 'Mmm... oh I know, jump well with mounts.', 1442295264), (1934, 132, 25, 'Mmm... oh I know, attack badly on swords.', 1442295420), (1935, 132, 49, 'Seriously, try to cast badly on luck.', 1442295574), (1936, 132, 25, 'Seriously, try to cast badly with lances.', 1442296227), (1937, 132, 25, 'Try to cast slowly with magic.', 1442296768), (1938, 133, 3, 'Give up, they cast badly using magic.', 1408621752), (1939, 133, 49, 'Try to escape fast using spells.', 1408622011), (1940, 133, 13, 'Give up, they cast fast with magic.', 1408622369), (1941, 133, 3, 'Give up, they summon fast with items.', 1408623251), (1942, 133, 49, 'Give up, they attack fast on lances.', 1408623344), (1943, 133, 3, 'Give up, they attack fast on horses.', 1408623914), (1944, 133, 13, 'Give up, they cast badly with knives.', 1408624798), (1945, 134, 10, 'Mmm... oh I know, cast slowly with horses.', 1444144764), (1946, 134, 38, 'Mmm... oh I know, escape fast using swords.', 1444145089), (1947, 134, 10, 'Mmm... oh I know, escape slowly using items.', 1444145520), (1948, 134, 46, 'Try to defend badly using luck.', 1444146072), (1949, 134, 11, 'Mmm... oh I know, escape well using magic.', 1444146695), (1950, 134, 38, 'Give up, they summon fast on horses.', 1444147334), (1951, 134, 11, 'Give up, they attack slowly using horses.', 1444148159), (1952, 134, 10, 'Maybe you can cast well using lances.', 1444149006), (1953, 134, 46, 'Seriously, try to cast badly with staffs.', 1444149369), (1954, 135, 49, 'Mmm... oh I know, jump badly with magic.', 1530258964), (1955, 135, 49, 'Seriously, try to jump fast using lances.', 1530259795), (1956, 135, 49, 'They really cast slowly with lances.', 1530260727), (1957, 135, 32, 'Seriously, try to jump fast on knives.', 1530261521), (1958, 135, 27, 'Maybe you can jump badly using horses.', 1530262375), (1959, 135, 49, 'Maybe you can jump fast on horses.', 1530263297), (1960, 135, 14, 'Try to cast well on swords.', 1530264015), (1961, 135, 32, 'Give up, they cast well with items.', 1530264095), (1962, 135, 32, 'Give up, they summon fast using lances.', 1530264180), (1963, 135, 14, 'They really escape badly with swords.', 1530264340), (1964, 135, 49, 'They really escape badly on mounts.', 1530264706), (1965, 135, 14, 'Maybe you can defend well on luck.', 1530265217), (1966, 135, 32, 'Give up, they cast well with mounts.', 1530265461), (1967, 136, 9, 'Try to escape fast with magic.', 1427509476), (1968, 136, 9, 'Try to cast badly with staffs.', 1427509884), (1969, 136, 38, 'Try to defend fast using mounts.', 1427510391), (1970, 136, 27, 'Give up, they cast fast with items.', 1427510967), (1971, 136, 27, 'Seriously, try to defend badly with staffs.', 1427511526), (1972, 136, 13, 'Give up, they jump slowly with horses.', 1427511645), (1973, 136, 13, 'They really summon badly with knives.', 1427511975), (1974, 136, 9, 'Try to escape fast on spells.', 1427512224), (1975, 136, 13, 'Give up, they jump slowly using staffs.', 1427512290), (1976, 136, 9, 'Seriously, try to attack well with horses.', 1427513246), (1977, 136, 9, 'Seriously, try to jump slowly with lances.', 1427513445), (1978, 136, 27, 'Try to cast well with mounts.', 1427514369), (1979, 136, 13, 'Give up, they escape badly using swords.', 1427514922), (1980, 136, 13, 'Seriously, try to defend badly on magic.', 1427515398), (1981, 136, 38, 'Give up, they attack slowly with lances.', 1427515969), (1982, 136, 38, 'Try to summon badly on horses.', 1427516772), (1983, 136, 38, 'Try to attack badly using staffs.', 1427517738), (1984, 137, 22, 'Maybe you can defend fast on mounts.', 1525697896), (1985, 137, 22, 'They really cast slowly using mounts.', 1525698147), (1986, 137, 21, 'Give up, they attack fast using horses.', 1525698977), (1987, 137, 21, 'Seriously, try to attack badly using luck.', 1525699646), (1988, 137, 48, 'Maybe you can escape fast with magic.', 1525700494), (1989, 137, 22, 'Maybe you can attack fast on items.', 1525700931), (1990, 137, 21, 'Seriously, try to attack well on magic.', 1525701418), (1991, 137, 22, 'They really escape fast using lances.', 1525702292), (1992, 137, 21, 'Give up, they defend slowly with mounts.', 1525703245), (1993, 137, 22, 'Maybe you can escape fast with swords.', 1525703603), (1994, 137, 42, 'Maybe you can summon badly using swords.', 1525703877), (1995, 137, 22, 'Maybe you can attack badly using horses.', 1525704799), (1996, 138, 4, 'They really defend badly using spells.', 1414613174), (1997, 138, 27, 'They really cast slowly on swords.', 1414613876), (1998, 138, 27, 'Seriously, try to jump slowly using spells.', 1414614065), (1999, 138, 4, 'Try to defend badly using horses.', 1414614533), (2000, 138, 4, 'Give up, they attack fast on lances.', 1414615293), (2001, 138, 4, 'They really defend well on swords.', 1414615731), (2002, 139, 42, 'Mmm... oh I know, cast fast with mounts.', 1454154324), (2003, 139, 50, 'Try to cast badly on staffs.', 1454154737), (2004, 139, 42, 'Give up, they defend slowly on staffs.', 1454155321), (2005, 139, 42, 'Maybe you can escape badly on items.', 1454156169), (2006, 139, 13, 'Maybe you can summon fast on knives.', 1454156771), (2007, 139, 12, 'Seriously, try to summon badly with spells.', 1454157626), (2008, 139, 42, 'Mmm... oh I know, defend well on knives.', 1454157702), (2009, 139, 50, 'Try to cast badly with luck.', 1454158109), (2010, 139, 42, 'They really defend fast on magic.', 1454158948), (2011, 139, 12, 'Seriously, try to attack badly with mounts.', 1454159125), (2012, 139, 42, 'Give up, they cast well on horses.', 1454159209), (2013, 139, 13, 'They really attack fast on magic.', 1454159719), (2014, 139, 13, 'Mmm... oh I know, summon fast using knives.', 1454159832), (2015, 139, 50, 'Seriously, try to summon slowly on knives.', 1454160150), (2016, 140, 14, 'Maybe you can attack well on horses.', 1484926575), (2017, 140, 14, 'Try to jump well with knives.', 1484926643), (2018, 140, 25, 'Maybe you can attack fast with staffs.', 1484927116), (2019, 140, 25, 'Try to jump well with spells.', 1484927824), (2020, 140, 14, 'Maybe you can escape badly on magic.', 1484928751), (2021, 140, 14, 'Try to defend fast with staffs.', 1484929349), (2022, 140, 25, 'Seriously, try to defend badly with mounts.', 1484929445), (2023, 140, 38, 'Mmm... oh I know, defend fast on knives.', 1484929820), (2024, 140, 38, 'They really escape well on spells.', 1484930458), (2025, 140, 37, 'Try to summon fast on luck.', 1484931431), (2026, 140, 37, 'Try to escape fast on mounts.', 1484932205), (2027, 140, 37, 'Try to cast badly using lances.', 1484932338), (2028, 141, 35, 'Seriously, try to defend badly with swords.', 1434775391), (2029, 141, 8, 'Give up, they attack badly using mounts.', 1434775693), (2030, 141, 50, 'Mmm... oh I know, escape well with spells.', 1434775912), (2031, 141, 50, 'Seriously, try to summon slowly with horses.', 1434776856), (2032, 141, 10, 'Mmm... oh I know, cast well on luck.', 1434777082), (2033, 141, 10, 'Mmm... oh I know, defend slowly on items.', 1434777274), (2034, 141, 50, 'Mmm... oh I know, defend well on knives.', 1434777447), (2035, 141, 50, 'Maybe you can escape fast using mounts.', 1434778327), (2036, 141, 35, 'Seriously, try to summon slowly using knives.', 1434778888), (2037, 141, 10, 'They really defend fast using luck.', 1434779874), (2038, 141, 10, 'Mmm... oh I know, escape fast on magic.', 1434780154), (2039, 141, 10, 'Give up, they attack slowly using items.', 1434780385), (2040, 141, 35, 'Maybe you can cast badly on knives.', 1434780999), (2041, 141, 8, 'Try to cast slowly on horses.', 1434781952), (2042, 141, 50, 'Maybe you can cast well using lances.', 1434782874), (2043, 141, 8, 'Maybe you can defend fast with knives.', 1434783134), (2044, 141, 35, 'Maybe you can cast slowly on magic.', 1434783619), (2045, 142, 5, 'Seriously, try to jump badly using spells.', 1431797507), (2046, 142, 47, 'They really attack well with horses.', 1431797654), (2047, 142, 11, 'Try to attack slowly with lances.', 1431798178), (2048, 142, 5, 'They really jump fast with magic.', 1431799003), (2049, 142, 5, 'Seriously, try to escape fast using knives.', 1431799086), (2050, 142, 47, 'Seriously, try to attack badly on items.', 1431799609), (2051, 142, 5, 'Mmm... oh I know, cast well using luck.', 1431799905), (2052, 142, 5, 'Maybe you can attack badly using items.', 1431800316), (2053, 142, 10, 'Mmm... oh I know, defend fast with knives.', 1431801061), (2054, 142, 10, 'Give up, they summon well on knives.', 1431801414), (2055, 142, 10, 'Give up, they summon well on knives.', 1431801992), (2056, 142, 10, 'Mmm... oh I know, attack well using swords.', 1431802104), (2057, 142, 10, 'Seriously, try to jump badly with horses.', 1431802494), (2058, 142, 5, 'Try to attack well with staffs.', 1431802581), (2059, 142, 11, 'They really jump badly on lances.', 1431803073), (2060, 142, 5, 'Mmm... oh I know, cast slowly on items.', 1431804058), (2061, 142, 11, 'They really attack fast on magic.', 1431804853), (2062, 143, 28, 'Seriously, try to summon well on items.', 1459036910), (2063, 143, 27, 'They really defend well on luck.', 1459037501), (2064, 143, 24, 'Mmm... oh I know, defend well on lances.', 1459037890), (2065, 143, 27, 'Seriously, try to summon badly using knives.', 1459038206), (2066, 143, 24, 'Try to defend well with knives.', 1459038294), (2067, 143, 28, 'Maybe you can cast badly on knives.', 1459038503), (2068, 143, 25, 'Maybe you can defend well on staffs.', 1459038913), (2069, 143, 27, 'Mmm... oh I know, defend fast using magic.', 1459039110), (2070, 143, 24, 'Seriously, try to escape slowly using items.', 1459039304), (2071, 144, 33, 'They really jump badly with mounts.', 1526854857), (2072, 144, 35, 'Seriously, try to summon badly using staffs.', 1526855605), (2073, 144, 35, 'They really jump badly on spells.', 1526856001), (2074, 144, 46, 'Try to attack badly with items.', 1526856223), (2075, 144, 35, 'Seriously, try to jump well using horses.', 1526857152), (2076, 145, 35, 'Give up, they summon well on magic.', 1445352126), (2077, 145, 49, 'Mmm... oh I know, cast well using spells.', 1445352354), (2078, 145, 13, 'Seriously, try to escape badly using horses.', 1445352926), (2079, 145, 49, 'Seriously, try to summon badly on items.', 1445353667), (2080, 145, 13, 'Seriously, try to defend badly with lances.', 1445354348), (2081, 146, 27, 'They really cast well on lances.', 1466170712), (2082, 146, 32, 'Try to attack badly with luck.', 1466171711), (2083, 146, 27, 'Mmm... oh I know, escape slowly using magic.', 1466172169), (2084, 146, 39, 'Give up, they escape fast using horses.', 1466172804), (2085, 146, 32, 'Maybe you can escape well using lances.', 1466172989), (2086, 146, 32, 'Try to jump fast using horses.', 1466173953), (2087, 146, 39, 'Mmm... oh I know, summon slowly with lances.', 1466174235), (2088, 146, 27, 'Seriously, try to cast badly with items.', 1466174574), (2089, 146, 39, 'Give up, they attack slowly using staffs.', 1466174933), (2090, 146, 39, 'They really attack badly with spells.', 1466175730), (2091, 146, 27, 'Try to defend well on luck.', 1466175881), (2092, 146, 26, 'They really attack badly using spells.', 1466176850), (2093, 146, 32, 'They really summon slowly with horses.', 1466176918), (2094, 146, 39, 'Give up, they attack badly using spells.', 1466177073), (2095, 146, 26, 'Mmm... oh I know, summon well on horses.', 1466177528), (2096, 146, 26, 'They really escape fast on swords.', 1466178104), (2097, 147, 4, 'Seriously, try to attack well with spells.', 1412784075), (2098, 147, 50, 'Try to jump well with spells.', 1412784362), (2099, 147, 50, 'Maybe you can summon well on items.', 1412785253), (2100, 147, 50, 'Try to jump fast using swords.', 1412785759), (2101, 147, 4, 'Mmm... oh I know, defend well on swords.', 1412786728), (2102, 147, 4, 'Give up, they jump fast using staffs.', 1412787358), (2103, 147, 4, 'Maybe you can jump badly on horses.', 1412788343), (2104, 147, 4, 'They really cast fast on swords.', 1412789231), (2105, 147, 21, 'Try to summon badly on spells.', 1412790081), (2106, 148, 11, 'Give up, they defend fast using staffs.', 1483272416), (2107, 148, 1, 'Seriously, try to cast badly on items.', 1483272521), (2108, 148, 11, 'Seriously, try to defend fast using luck.', 1483273212), (2109, 148, 1, 'They really defend fast with swords.', 1483274004), (2110, 148, 46, 'Mmm... oh I know, attack slowly on knives.', 1483274822), (2111, 148, 11, 'They really cast badly with spells.', 1483275623), (2112, 148, 1, 'Maybe you can defend slowly on lances.', 1483276498), (2113, 148, 11, 'Seriously, try to defend badly using spells.', 1483277464), (2114, 148, 28, 'Give up, they escape badly on luck.', 1483277828), (2115, 148, 46, 'Seriously, try to escape fast using luck.', 1483278559), (2116, 148, 1, 'Maybe you can defend well on horses.', 1483278896), (2117, 148, 28, 'Try to attack well on items.', 1483279407), (2118, 148, 11, 'Try to attack slowly with mounts.', 1483279680), (2119, 148, 1, 'Mmm... oh I know, attack badly on mounts.', 1483280652), (2120, 149, 22, 'They really escape slowly on swords.', 1461002405), (2121, 149, 22, 'They really cast badly on knives.', 1461003142), (2122, 149, 22, 'Give up, they summon slowly using knives.', 1461003929), (2123, 149, 35, 'Maybe you can jump badly on horses.', 1461004798), (2124, 149, 20, 'They really jump fast with mounts.', 1461005328), (2125, 149, 22, 'Maybe you can attack fast using mounts.', 1461006278), (2126, 149, 20, 'They really summon badly using mounts.', 1461006631), (2127, 149, 26, 'Mmm... oh I know, escape well with lances.', 1461007371), (2128, 149, 20, 'Maybe you can summon well using staffs.', 1461008351), (2129, 149, 26, 'Try to attack well using luck.', 1461008739), (2130, 149, 22, 'Give up, they attack well using magic.', 1461009610), (2131, 149, 26, 'Give up, they defend well with staffs.', 1461009934), (2132, 149, 35, 'Maybe you can summon well using staffs.', 1461010299), (2133, 149, 22, 'They really escape well on swords.', 1461011069), (2134, 149, 35, 'They really attack slowly using mounts.', 1461011733), (2135, 149, 26, 'Mmm... oh I know, cast slowly with lances.', 1461012635), (2136, 149, 35, 'Give up, they jump fast with swords.', 1461013028), (2137, 150, 16, 'Try to defend slowly using luck.', 1422892111), (2138, 150, 15, 'Give up, they attack slowly on staffs.', 1422892408), (2139, 150, 43, 'Maybe you can defend badly on items.', 1422893396), (2140, 150, 43, 'Maybe you can jump fast with spells.', 1422893655), (2141, 150, 43, 'Try to escape slowly with items.', 1422894347), (2142, 150, 43, 'Give up, they cast fast with staffs.', 1422894797), (2143, 150, 43, 'Seriously, try to defend badly using lances.', 1422895619), (2144, 150, 43, 'Try to attack fast using luck.', 1422895821), (2145, 150, 43, 'Maybe you can jump fast on horses.', 1422895985), (2146, 150, 3, 'They really attack badly with lances.', 1422896446), (2147, 150, 15, 'Seriously, try to summon fast on staffs.', 1422896937), (2148, 150, 15, 'Give up, they jump fast using magic.', 1422897220), (2149, 150, 15, 'Try to escape well on horses.', 1422897771), (2150, 150, 3, 'Seriously, try to escape well using knives.', 1422898594), (2151, 150, 43, 'They really jump well with horses.', 1422899547), (2152, 150, 3, 'They really jump well with luck.', 1422900064), (2153, 150, 16, 'Try to cast slowly on knives.', 1422900408), (2154, 150, 3, 'Maybe you can summon slowly using magic.', 1422901229), (2155, 150, 16, 'Maybe you can summon slowly with staffs.', 1422901423), (2156, 151, 40, 'Seriously, try to summon slowly with items.', 1451022793), (2157, 151, 42, 'Try to summon well on spells.', 1451022881), (2158, 151, 42, 'Give up, they jump well using magic.', 1451023147), (2159, 151, 40, 'Seriously, try to defend slowly using magic.', 1451023987), (2160, 151, 40, 'They really defend fast on lances.', 1451024424), (2161, 151, 40, 'Seriously, try to cast badly with magic.', 1451025231), (2162, 151, 40, 'Give up, they summon well with lances.', 1451026152), (2163, 151, 40, 'Seriously, try to summon fast using lances.', 1451026350), (2164, 151, 42, 'Seriously, try to summon fast using staffs.', 1451027261), (2165, 151, 24, 'Maybe you can attack badly using mounts.', 1451027740), (2166, 151, 40, 'Maybe you can cast fast with lances.', 1451027925), (2167, 151, 40, 'They really attack well on luck.', 1451028781), (2168, 151, 42, 'Give up, they attack slowly with swords.', 1451029715), (2169, 151, 42, 'Maybe you can escape well using items.', 1451030457), (2170, 151, 40, 'Try to summon well on mounts.', 1451030755), (2171, 151, 40, 'They really attack slowly with lances.', 1451031217), (2172, 151, 42, 'Mmm... oh I know, jump slowly using luck.', 1451031949), (2173, 151, 42, 'Try to cast fast using swords.', 1451032169), (2174, 151, 40, 'Give up, they cast well using magic.', 1451032286), (2175, 151, 24, 'They really summon badly using knives.', 1451033210), (2176, 151, 42, 'Give up, they cast well using knives.', 1451033414), (2177, 151, 40, 'Seriously, try to defend fast using knives.', 1451033499), (2178, 151, 40, 'Give up, they defend fast on spells.', 1451033891), (2179, 151, 42, 'Try to cast slowly on mounts.', 1451034780), (2180, 151, 40, 'Maybe you can attack fast on lances.', 1451035334), (2181, 152, 25, 'Try to summon fast on spells.', 1503346302), (2182, 152, 25, 'Try to cast slowly using horses.', 1503346673), (2183, 152, 40, 'Mmm... oh I know, jump badly using swords.', 1503346782), (2184, 152, 23, 'Give up, they defend badly on items.', 1503347016), (2185, 152, 25, 'Give up, they summon fast using lances.', 1503347362), (2186, 153, 36, 'Seriously, try to attack fast using magic.', 1398220682), (2187, 153, 36, 'They really jump slowly on horses.', 1398221634), (2188, 153, 17, 'Maybe you can attack well on knives.', 1398222143), (2189, 153, 17, 'Maybe you can attack well on lances.', 1398222690), (2190, 153, 36, 'Mmm... oh I know, summon fast with items.', 1398223285), (2191, 153, 5, 'Mmm... oh I know, summon fast using knives.', 1398223755), (2192, 153, 36, 'Try to escape slowly on items.', 1398224391), (2193, 153, 19, 'They really summon fast on staffs.', 1398225215), (2194, 153, 36, 'Maybe you can escape fast using swords.', 1398225442), (2195, 153, 5, 'Give up, they escape fast on mounts.', 1398225515), (2196, 153, 5, 'Seriously, try to cast well using knives.', 1398225578), (2197, 153, 17, 'Give up, they cast slowly with horses.', 1398225929), (2198, 153, 19, 'Mmm... oh I know, jump badly on staffs.', 1398226135), (2199, 153, 17, 'Try to defend well with mounts.', 1398227091), (2200, 153, 5, 'Give up, they attack fast using spells.', 1398227710), (2201, 154, 47, 'Maybe you can jump badly on mounts.', 1438191041), (2202, 154, 14, 'Seriously, try to escape well on mounts.', 1438191949), (2203, 154, 14, 'Maybe you can attack well on luck.', 1438192287), (2204, 154, 14, 'Mmm... oh I know, defend badly using horses.', 1438192792), (2205, 154, 35, 'Maybe you can defend badly on staffs.', 1438193265), (2206, 154, 35, 'Give up, they defend well using staffs.', 1438193342), (2207, 154, 14, 'Mmm... oh I know, escape slowly using mounts.', 1438193876), (2208, 154, 35, 'They really cast slowly on items.', 1438194262), (2209, 154, 14, 'They really cast well on lances.', 1438194953), (2210, 154, 35, 'They really defend slowly on swords.', 1438195519), (2211, 154, 47, 'Seriously, try to attack well on spells.', 1438195656), (2212, 154, 35, 'Maybe you can jump slowly with knives.', 1438196411), (2213, 154, 35, 'Try to escape well on lances.', 1438196532), (2214, 155, 50, 'Try to cast badly with staffs.', 1464855883), (2215, 155, 33, 'Mmm... oh I know, summon well using knives.', 1464856233), (2216, 155, 50, 'Mmm... oh I know, escape slowly using items.', 1464856993), (2217, 155, 50, 'Mmm... oh I know, cast well using lances.', 1464857970), (2218, 155, 33, 'Try to escape badly with magic.', 1464858060), (2219, 155, 45, 'Give up, they cast well on knives.', 1464858793), (2220, 155, 45, 'Mmm... oh I know, jump fast using horses.', 1464859017), (2221, 155, 33, 'They really summon well with magic.', 1464859773), (2222, 155, 45, 'Give up, they summon well with mounts.', 1464860480), (2223, 155, 50, 'Mmm... oh I know, attack slowly using items.', 1464860711), (2224, 156, 23, 'Seriously, try to summon fast on horses.', 1501543042), (2225, 156, 21, 'Mmm... oh I know, cast well using spells.', 1501543485), (2226, 156, 35, 'Maybe you can escape fast on staffs.', 1501543978), (2227, 156, 23, 'Mmm... oh I know, defend well using mounts.', 1501544720), (2228, 156, 21, 'Mmm... oh I know, defend fast using luck.', 1501545327), (2229, 156, 35, 'Mmm... oh I know, defend slowly using staffs.', 1501545894), (2230, 156, 21, 'Try to summon slowly with magic.', 1501546119), (2231, 156, 33, 'Mmm... oh I know, jump slowly using mounts.', 1501546821), (2232, 156, 23, 'Mmm... oh I know, jump well using luck.', 1501547650), (2233, 156, 21, 'Mmm... oh I know, jump fast with items.', 1501547789), (2234, 156, 23, 'Try to defend well with mounts.', 1501548578), (2235, 156, 33, 'Try to summon well using lances.', 1501549127), (2236, 156, 21, 'They really attack badly with spells.', 1501549782), (2237, 156, 35, 'Try to summon fast on lances.', 1501550269), (2238, 156, 33, 'Mmm... oh I know, escape badly on items.', 1501550533), (2239, 156, 33, 'Mmm... oh I know, attack fast on lances.', 1501551146), (2240, 156, 33, 'Mmm... oh I know, jump fast with mounts.', 1501551345), (2241, 156, 23, 'Maybe you can jump badly on knives.', 1501551464), (2242, 156, 23, 'Maybe you can escape slowly with spells.', 1501551646), (2243, 156, 33, 'They really defend well on mounts.', 1501552551), (2244, 156, 21, 'They really summon well using lances.', 1501552728), (2245, 156, 23, 'Mmm... oh I know, attack well on horses.', 1501553705), (2246, 156, 21, 'Try to summon fast with lances.', 1501554055), (2247, 157, 28, 'Maybe you can attack fast with staffs.', 1412572666), (2248, 157, 14, 'Try to jump fast using horses.', 1412573523), (2249, 157, 28, 'Maybe you can attack slowly on luck.', 1412574132), (2250, 157, 14, 'Give up, they summon slowly with spells.', 1412574746), (2251, 157, 14, 'Try to defend well using mounts.', 1412574961), (2252, 157, 28, 'Mmm... oh I know, escape fast with staffs.', 1412575042), (2253, 157, 14, 'Give up, they summon well with spells.', 1412576012), (2254, 157, 28, 'Try to attack slowly using staffs.', 1412576718), (2255, 157, 10, 'Maybe you can attack well with luck.', 1412577535), (2256, 157, 10, 'Mmm... oh I know, summon fast with staffs.', 1412577902), (2257, 157, 14, 'Mmm... oh I know, summon well on spells.', 1412578553), (2258, 157, 14, 'Try to cast well with horses.', 1412578810), (2259, 157, 10, 'Seriously, try to defend well with items.', 1412579425), (2260, 157, 28, 'Give up, they summon well on spells.', 1412580065), (2261, 157, 28, 'Maybe you can defend badly on horses.', 1412580623), (2262, 157, 14, 'Give up, they attack fast with knives.', 1412581622), (2263, 157, 14, 'They really attack well using mounts.', 1412582365), (2264, 157, 10, 'Maybe you can jump fast on magic.', 1412583130), (2265, 157, 10, 'Maybe you can defend fast with horses.', 1412583350), (2266, 157, 14, 'Maybe you can cast slowly on mounts.', 1412583958), (2267, 157, 28, 'Give up, they summon slowly with mounts.', 1412584271), (2268, 157, 30, 'Seriously, try to cast fast with spells.', 1412584341), (2269, 157, 28, 'Seriously, try to jump fast on items.', 1412584664), (2270, 158, 3, 'Give up, they defend badly on swords.', 1478377520), (2271, 158, 24, 'Try to attack fast on magic.', 1478377700), (2272, 158, 3, 'Try to defend badly on luck.', 1478378162), (2273, 158, 3, 'Try to attack well using lances.', 1478378509), (2274, 158, 43, 'Seriously, try to cast badly with horses.', 1478378986), (2275, 158, 31, 'Try to attack well on knives.', 1478379654), (2276, 158, 43, 'Try to defend slowly using items.', 1478379754), (2277, 158, 3, 'Maybe you can jump badly with knives.', 1478380141), (2278, 158, 43, 'Give up, they cast slowly on items.', 1478380985), (2279, 158, 43, 'They really attack well on lances.', 1478381754), (2280, 158, 31, 'Maybe you can escape slowly using swords.', 1478381911), (2281, 158, 43, 'Try to attack well with magic.', 1478382142), (2282, 158, 31, 'They really jump badly on spells.', 1478382682), (2283, 158, 43, 'Maybe you can attack badly with staffs.', 1478382838), (2284, 158, 3, 'They really escape well on spells.', 1478383107), (2285, 158, 3, 'They really cast fast with magic.', 1478383284), (2286, 159, 49, 'Give up, they attack badly with knives.', 1457830886), (2287, 159, 34, 'They really jump badly using lances.', 1457831097), (2288, 159, 45, 'Try to attack well on lances.', 1457831408), (2289, 159, 49, 'Give up, they escape fast with lances.', 1457832078), (2290, 159, 6, 'Maybe you can escape badly with knives.', 1457832874), (2291, 159, 34, 'Try to summon badly on swords.', 1457833345), (2292, 159, 6, 'Try to attack well using lances.', 1457833559), (2293, 159, 34, 'Mmm... oh I know, cast badly with swords.', 1457834383), (2294, 159, 34, 'They really defend well with items.', 1457835087), (2295, 159, 45, 'They really cast well using spells.', 1457836057), (2296, 159, 34, 'Maybe you can attack badly on lances.', 1457836220), (2297, 160, 33, 'Seriously, try to summon well using spells.', 1446165502), (2298, 160, 13, 'They really defend badly with staffs.', 1446166049), (2299, 160, 33, 'Give up, they escape fast on luck.', 1446166202), (2300, 160, 33, 'They really summon slowly using mounts.', 1446167032), (2301, 160, 33, 'Mmm... oh I know, jump slowly with spells.', 1446167186), (2302, 160, 48, 'Maybe you can escape slowly using staffs.', 1446168007), (2303, 160, 22, 'Seriously, try to cast slowly using spells.', 1446168635), (2304, 160, 22, 'Give up, they defend badly with items.', 1446169359), (2305, 160, 13, 'Seriously, try to escape badly with spells.', 1446169690), (2306, 161, 45, 'Maybe you can cast slowly with magic.', 1443280503), (2307, 161, 45, 'Try to defend slowly on magic.', 1443280921), (2308, 161, 38, 'They really summon well with mounts.', 1443281570), (2309, 161, 27, 'Try to attack badly with luck.', 1443281785), (2310, 161, 45, 'Maybe you can defend badly on lances.', 1443282128), (2311, 161, 25, 'Seriously, try to attack fast using knives.', 1443283037), (2312, 161, 38, 'Maybe you can cast fast with swords.', 1443283665), (2313, 161, 27, 'Seriously, try to escape well using staffs.', 1443284249), (2314, 161, 27, 'They really attack slowly on swords.', 1443284627), (2315, 161, 38, 'Give up, they defend well on items.', 1443284813), (2316, 161, 27, 'Mmm... oh I know, jump badly on luck.', 1443285455), (2317, 161, 25, 'Give up, they summon fast using mounts.', 1443285751), (2318, 161, 45, 'Mmm... oh I know, defend badly with horses.', 1443285976), (2319, 161, 45, 'Mmm... oh I know, cast slowly using knives.', 1443286592), (2320, 161, 45, 'Give up, they attack well with spells.', 1443286859), (2321, 161, 45, 'Give up, they escape slowly on items.', 1443287224), (2322, 162, 38, 'They really defend slowly on staffs.', 1478404090), (2323, 162, 38, 'Mmm... oh I know, escape slowly on staffs.', 1478404544), (2324, 162, 26, 'They really defend slowly with lances.', 1478405387), (2325, 162, 49, 'Seriously, try to cast well using lances.', 1478405813), (2326, 162, 26, 'Give up, they escape fast with mounts.', 1478406755), (2327, 162, 38, 'Mmm... oh I know, cast slowly on magic.', 1478406848), (2328, 162, 26, 'Mmm... oh I know, cast slowly on swords.', 1478407612), (2329, 162, 26, 'Try to escape well on knives.', 1478407946), (2330, 162, 26, 'They really escape badly with staffs.', 1478408449), (2331, 162, 49, 'Maybe you can summon slowly on knives.', 1478409326), (2332, 162, 49, 'They really jump slowly using items.', 1478409481), (2333, 162, 26, 'Give up, they jump well on horses.', 1478410066), (2334, 162, 49, 'Mmm... oh I know, cast fast on lances.', 1478410346), (2335, 162, 38, 'Give up, they attack slowly using knives.', 1478410444), (2336, 162, 49, 'Mmm... oh I know, summon fast on mounts.', 1478411362), (2337, 163, 30, 'Seriously, try to defend badly on swords.', 1388786308), (2338, 163, 40, 'Try to cast well with staffs.', 1388787302), (2339, 163, 8, 'Try to jump badly using staffs.', 1388787567), (2340, 163, 8, 'Give up, they attack well on luck.', 1388788358), (2341, 163, 30, 'They really cast slowly with staffs.', 1388788923), (2342, 163, 30, 'Mmm... oh I know, attack badly using knives.', 1388789714), (2343, 163, 9, 'They really cast fast on swords.', 1388790689), (2344, 163, 30, 'Seriously, try to defend well with magic.', 1388791359), (2345, 163, 9, 'They really summon fast using magic.', 1388791648), (2346, 163, 30, 'Maybe you can summon fast on luck.', 1388792515), (2347, 163, 40, 'Maybe you can attack fast with magic.', 1388793276), (2348, 163, 40, 'Seriously, try to cast badly on magic.', 1388793496), (2349, 163, 30, 'Mmm... oh I know, summon slowly with knives.', 1388794436), (2350, 164, 31, 'Mmm... oh I know, attack well on lances.', 1391967161), (2351, 164, 33, 'Mmm... oh I know, attack well using luck.', 1391968080), (2352, 164, 30, 'Seriously, try to escape slowly with lances.', 1391968775), (2353, 164, 43, 'Give up, they cast fast with horses.', 1391969624), (2354, 164, 30, 'Give up, they attack fast using horses.', 1391969750), (2355, 164, 30, 'Try to cast badly on spells.', 1391970745), (2356, 164, 30, 'Maybe you can cast slowly on horses.', 1391971568), (2357, 164, 30, 'Try to summon slowly using swords.', 1391972496), (2358, 164, 31, 'Give up, they defend slowly using swords.', 1391973138), (2359, 164, 30, 'Try to cast well on magic.', 1391973616), (2360, 164, 43, 'Maybe you can attack badly using mounts.', 1391973746), (2361, 164, 31, 'Try to defend slowly with luck.', 1391974314), (2362, 164, 31, 'Mmm... oh I know, attack badly with horses.', 1391974588), (2363, 164, 33, 'Try to attack well on mounts.', 1391975331), (2364, 164, 31, 'Mmm... oh I know, jump badly with spells.', 1391975645), (2365, 164, 30, 'Mmm... oh I know, escape badly on spells.', 1391975902), (2366, 165, 16, 'Mmm... oh I know, attack fast using swords.', 1492860322), (2367, 165, 16, 'Give up, they attack slowly with knives.', 1492860411), (2368, 165, 33, 'Give up, they defend well with mounts.', 1492861275), (2369, 165, 19, 'Try to summon slowly using mounts.', 1492861761), (2370, 165, 16, 'Give up, they summon fast on mounts.', 1492862600), (2371, 165, 33, 'Maybe you can defend badly on spells.', 1492863230), (2372, 165, 19, 'They really attack badly with luck.', 1492863672), (2373, 165, 21, 'Try to cast badly using luck.', 1492863982), (2374, 165, 33, 'Mmm... oh I know, summon badly on mounts.', 1492864500), (2375, 165, 16, 'Mmm... oh I know, attack well using knives.', 1492864634), (2376, 165, 33, 'Try to attack slowly using horses.', 1492865093), (2377, 165, 21, 'They really attack slowly using lances.', 1492866090), (2378, 165, 16, 'They really summon fast with items.', 1492866554), (2379, 165, 19, 'Mmm... oh I know, cast well with lances.', 1492866924), (2380, 165, 16, 'Give up, they cast badly using lances.', 1492867553), (2381, 165, 16, 'They really escape fast on horses.', 1492868544), (2382, 165, 21, 'Mmm... oh I know, jump well with knives.', 1492868737), (2383, 165, 21, 'Seriously, try to attack fast with lances.', 1492868898), (2384, 165, 21, 'Try to escape badly with swords.', 1492869571), (2385, 165, 16, 'Give up, they jump fast on lances.', 1492869678), (2386, 165, 33, 'Mmm... oh I know, jump badly with mounts.', 1492869883), (2387, 165, 16, 'Mmm... oh I know, summon slowly using luck.', 1492870686), (2388, 165, 21, 'They really cast well using lances.', 1492871020), (2389, 165, 16, 'Give up, they escape fast using staffs.', 1492871721), (2390, 165, 33, 'Mmm... oh I know, jump badly on items.', 1492872353), (2391, 166, 2, 'Give up, they escape slowly on lances.', 1459456665), (2392, 166, 16, 'Try to jump fast using horses.', 1459457165), (2393, 166, 2, 'They really cast fast using lances.', 1459457756), (2394, 166, 9, 'Mmm... oh I know, defend well on magic.', 1459458365), (2395, 166, 16, 'Try to attack slowly using magic.', 1459458468), (2396, 166, 9, 'Give up, they defend well on horses.', 1459458776), (2397, 166, 13, 'Maybe you can summon fast on knives.', 1459459464), (2398, 166, 2, 'They really escape badly on items.', 1459460313), (2399, 166, 16, 'They really summon badly using knives.', 1459460854), (2400, 166, 16, 'Mmm... oh I know, summon slowly using swords.', 1459461733), (2401, 166, 13, 'Give up, they escape slowly on swords.', 1459462177), (2402, 166, 2, 'Mmm... oh I know, jump fast on staffs.', 1459462442), (2403, 166, 9, 'They really escape badly using knives.', 1459462502), (2404, 166, 13, 'Give up, they escape badly on lances.', 1459462876), (2405, 166, 13, 'Try to jump badly on magic.', 1459463724), (2406, 166, 16, 'Mmm... oh I know, escape slowly on magic.', 1459464247), (2407, 166, 2, 'Mmm... oh I know, attack fast using swords.', 1459464605), (2408, 166, 2, 'They really summon slowly on knives.', 1459465067), (2409, 166, 13, 'Mmm... oh I know, cast well using mounts.', 1459465297), (2410, 166, 13, 'Mmm... oh I know, defend well with horses.', 1459465530), (2411, 166, 16, 'They really cast badly with items.', 1459465999), (2412, 166, 13, 'Give up, they cast fast using lances.', 1459466626), (2413, 166, 13, 'Maybe you can summon well with items.', 1459467532), (2414, 166, 9, 'Try to summon slowly using staffs.', 1459468253), (2415, 166, 13, 'They really defend well with staffs.', 1459468327), (2416, 167, 41, 'Maybe you can escape slowly on luck.', 1436172332), (2417, 167, 28, 'Try to defend badly with luck.', 1436172724), (2418, 167, 41, 'Give up, they jump badly using magic.', 1436173585), (2419, 167, 49, 'They really summon fast using knives.', 1436174050), (2420, 167, 41, 'Maybe you can cast slowly on knives.', 1436174965), (2421, 167, 9, 'Give up, they attack fast with swords.', 1436175660), (2422, 167, 28, 'Give up, they summon slowly on knives.', 1436176588), (2423, 167, 41, 'They really summon fast with magic.', 1436177225), (2424, 167, 49, 'They really escape badly using items.', 1436177354), (2425, 167, 41, 'They really cast slowly with lances.', 1436177843), (2426, 167, 41, 'Maybe you can defend well using mounts.', 1436178412), (2427, 167, 41, 'Mmm... oh I know, jump slowly using staffs.', 1436178842), (2428, 167, 9, 'They really cast badly on lances.', 1436179563), (2429, 168, 36, 'Seriously, try to jump badly using swords.', 1433504204), (2430, 168, 41, 'Seriously, try to attack slowly on items.', 1433504694), (2431, 168, 41, 'Try to cast slowly with knives.', 1433505016), (2432, 168, 10, 'Maybe you can escape fast using lances.', 1433505104), (2433, 168, 10, 'Try to escape slowly with items.', 1433505920), (2434, 168, 41, 'Seriously, try to attack slowly on magic.', 1433506880), (2435, 168, 41, 'Maybe you can attack well using magic.', 1433507214), (2436, 168, 41, 'They really cast slowly with mounts.', 1433507836), (2437, 168, 41, 'Mmm... oh I know, jump slowly with knives.', 1433508043), (2438, 168, 41, 'Give up, they summon well using swords.', 1433508529), (2439, 168, 36, 'Mmm... oh I know, cast fast on luck.', 1433508941), (2440, 168, 10, 'Seriously, try to summon slowly using mounts.', 1433509374), (2441, 168, 41, 'Maybe you can cast well on luck.', 1433510156), (2442, 168, 10, 'They really jump badly with items.', 1433510217), (2443, 168, 41, 'Try to attack well on lances.', 1433511104), (2444, 169, 10, 'Maybe you can cast well using items.', 1480320400), (2445, 169, 11, 'Try to summon fast with staffs.', 1480321293), (2446, 169, 10, 'Give up, they jump slowly using lances.', 1480321963), (2447, 169, 12, 'They really attack well on staffs.', 1480322927), (2448, 169, 10, 'Mmm... oh I know, cast well on magic.', 1480323727), (2449, 169, 11, 'Maybe you can summon badly with knives.', 1480324311), (2450, 169, 13, 'Mmm... oh I know, cast fast using luck.', 1480324411), (2451, 169, 12, 'Seriously, try to cast well using horses.', 1480324498), (2452, 170, 23, 'Mmm... oh I know, escape well with magic.', 1404438533), (2453, 170, 18, 'Seriously, try to escape slowly on lances.', 1404438869), (2454, 170, 18, 'Mmm... oh I know, defend fast on magic.', 1404439595), (2455, 170, 32, 'Give up, they escape fast on luck.', 1404440504), (2456, 170, 18, 'Give up, they jump slowly with items.', 1404441021), (2457, 170, 18, 'Mmm... oh I know, jump slowly with knives.', 1404441350), (2458, 170, 18, 'Mmm... oh I know, cast well with mounts.', 1404442056), (2459, 170, 32, 'They really defend fast with horses.', 1404442895), (2460, 170, 32, 'Try to attack slowly with staffs.', 1404442970), (2461, 170, 18, 'They really defend well on luck.', 1404443457), (2462, 171, 42, 'Give up, they defend slowly using spells.', 1441103173), (2463, 171, 17, 'Maybe you can jump slowly using mounts.', 1441103979), (2464, 171, 29, 'Seriously, try to escape slowly using horses.', 1441104088), (2465, 171, 29, 'Maybe you can attack slowly with lances.', 1441104191), (2466, 171, 29, 'Give up, they escape slowly with items.', 1441104285), (2467, 171, 29, 'Try to defend badly with luck.', 1441105066), (2468, 171, 42, 'Seriously, try to defend fast using mounts.', 1441105400), (2469, 171, 29, 'Seriously, try to escape fast using mounts.', 1441105469), (2470, 171, 29, 'Try to attack well on magic.', 1441106085), (2471, 171, 42, 'Mmm... oh I know, summon badly on mounts.', 1441106819), (2472, 171, 42, 'Maybe you can cast fast using staffs.', 1441107385), (2473, 171, 29, 'Seriously, try to jump fast on knives.', 1441108191), (2474, 171, 29, 'Maybe you can cast well on magic.', 1441108850), (2475, 171, 17, 'Seriously, try to cast fast using mounts.', 1441109659), (2476, 172, 46, 'Seriously, try to cast fast using knives.', 1462324517), (2477, 172, 7, 'Seriously, try to cast slowly with spells.', 1462325309), (2478, 172, 7, 'Maybe you can attack slowly with staffs.', 1462325988), (2479, 172, 7, 'Seriously, try to summon badly using horses.', 1462326975), (2480, 172, 46, 'Maybe you can cast fast on spells.', 1462327861), (2481, 172, 5, 'Try to defend fast using luck.', 1462328691), (2482, 172, 46, 'They really jump well with spells.', 1462328804), (2483, 172, 46, 'Give up, they escape fast with magic.', 1462329168), (2484, 172, 5, 'Try to summon badly with swords.', 1462329854), (2485, 172, 5, 'They really defend fast with swords.', 1462330174), (2486, 172, 5, 'Mmm... oh I know, cast well using horses.', 1462330565), (2487, 172, 5, 'Give up, they defend badly on horses.', 1462331038), (2488, 172, 5, 'Mmm... oh I know, cast badly using spells.', 1462331333), (2489, 172, 7, 'Mmm... oh I know, attack badly using spells.', 1462332290), (2490, 172, 7, 'Mmm... oh I know, escape fast using knives.', 1462333040), (2491, 173, 47, 'Seriously, try to cast badly on swords.', 1419676934), (2492, 173, 7, 'Try to attack badly using magic.', 1419677875), (2493, 173, 7, 'Try to attack slowly using luck.', 1419678277), (2494, 173, 7, 'Maybe you can escape well using spells.', 1419678970), (2495, 173, 28, 'Mmm... oh I know, escape fast on horses.', 1419679587), (2496, 173, 7, 'Maybe you can attack fast on magic.', 1419679992), (2497, 173, 7, 'Give up, they cast slowly with luck.', 1419680581), (2498, 173, 44, 'They really jump badly on spells.', 1419680953), (2499, 173, 28, 'They really summon badly using mounts.', 1419681454), (2500, 173, 7, 'They really summon fast on items.', 1419682052), (2501, 173, 28, 'Seriously, try to summon slowly using magic.', 1419682896), (2502, 173, 7, 'Mmm... oh I know, cast well using knives.', 1419683334), (2503, 174, 34, 'Seriously, try to jump badly using lances.', 1433464405), (2504, 174, 34, 'Mmm... oh I know, attack badly with staffs.', 1433465320), (2505, 174, 34, 'Give up, they attack slowly using luck.', 1433465640), (2506, 174, 34, 'Seriously, try to defend badly using swords.', 1433465961), (2507, 174, 3, 'Give up, they attack fast with magic.', 1433466702), (2508, 174, 3, 'Give up, they escape well on lances.', 1433466936), (2509, 174, 39, 'They really defend well with swords.', 1433467844), (2510, 174, 34, 'Give up, they escape slowly using knives.', 1433468309), (2511, 174, 39, 'Seriously, try to attack fast on spells.', 1433468628), (2512, 174, 28, 'Mmm... oh I know, escape fast on knives.', 1433469513), (2513, 174, 28, 'Try to cast badly using magic.', 1433470195), (2514, 174, 34, 'They really summon slowly with mounts.', 1433470405), (2515, 174, 28, 'Seriously, try to summon badly on horses.', 1433470628), (2516, 174, 3, 'Give up, they attack slowly with lances.', 1433470836), (2517, 174, 39, 'Seriously, try to summon badly on mounts.', 1433471166), (2518, 174, 3, 'Mmm... oh I know, cast well using staffs.', 1433471849), (2519, 174, 34, 'Try to escape well with luck.', 1433472583), (2520, 174, 28, 'They really defend fast with spells.', 1433473138), (2521, 174, 28, 'Maybe you can cast fast using mounts.', 1433473544), (2522, 174, 28, 'Maybe you can summon badly on horses.', 1433473901), (2523, 174, 3, 'Mmm... oh I know, defend slowly on luck.', 1433474146), (2524, 174, 28, 'Give up, they escape fast on knives.', 1433474352), (2525, 174, 39, 'Try to attack fast on spells.', 1433474685), (2526, 174, 34, 'Give up, they defend well on items.', 1433474823); /*!40000 ALTER TABLE `Message` ENABLE KEYS */; /*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */; /*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
-- phpMyAdmin SQL Dump -- version 4.1.14 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Mar 26, 2016 at 10:19 AM -- Server version: 5.6.17 -- PHP Version: 5.5.12 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: `airlines` -- -- -------------------------------------------------------- -- -- Table structure for table `flight_details` -- CREATE TABLE IF NOT EXISTS `flight_details` ( `id` int(11) NOT NULL AUTO_INCREMENT, `flightname` varchar(100) NOT NULL, `frm` varchar(100) NOT NULL, `fto` varchar(100) NOT NULL, `amount` int(100) NOT NULL, `seatavil` int(50) NOT NULL, `doc` date NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Dumping data for table `flight_details` -- INSERT INTO `flight_details` (`id`, `flightname`, `frm`, `fto`, `amount`, `seatavil`, `doc`) VALUES (1, 'Spice jet', 'Chennai', 'Banglore', 20000, 248, '2016-03-27'), (2, 'Indian Airlines', 'Chennai', 'Banglore', 30000, 298, '2016-03-27'), (3, 'Spicejet', 'coimbathore', 'Mumbai', 3500, 285, '2016-03-28'); -- -------------------------------------------------------- -- -- Table structure for table `ticket` -- CREATE TABLE IF NOT EXISTS `ticket` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(100) NOT NULL, `flightname` varchar(100) NOT NULL, `frm` varchar(100) NOT NULL, `fto` varchar(100) NOT NULL, `amount` int(11) NOT NULL, `avail` int(11) NOT NULL, `pass` int(11) NOT NULL, `ref_no` int(11) NOT NULL, `flight_id` int(11) NOT NULL, `total` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ; -- -- Dumping data for table `ticket` -- INSERT INTO `ticket` (`id`, `name`, `flightname`, `frm`, `fto`, `amount`, `avail`, `pass`, `ref_no`, `flight_id`, `total`) VALUES (1, 'aaa', 'Spicejet', 'coimbathore', 'Mumbai', 3500, 297, 3, 32850, 0, 10500), (3, 'aaa', 'Spicejet', 'coimbathore', 'Mumbai', 3500, 294, 3, 21903, 0, 10500), (4, 'aaa', 'Spicejet', 'coimbathore', 'Mumbai', 3500, 291, 3, 23091, 0, 10500), (5, 'aaa', 'Spicejet', 'coimbathore', 'Mumbai', 3500, 288, 3, 51069, 0, 10500), (6, 'aaa', 'Spicejet', 'coimbathore', 'Mumbai', 3500, 288, 3, 30899, 0, 10500), (7, 'aaa', 'Spicejet', 'coimbathore', 'Mumbai', 3500, 288, 3, 1229, 0, 10500), (8, 'sudheesh s', 'Spice jet', 'Chennai', 'Banglore', 20000, 250, 2, 50504, 0, 40000); -- -------------------------------------------------------- -- -- Table structure for table `user` -- CREATE TABLE IF NOT EXISTS `user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(50) NOT NULL, `username` varchar(50) NOT NULL, `email` varchar(100) NOT NULL, `password` varchar(50) NOT NULL, `phone` varchar(12) NOT NULL, `secret` varchar(100) DEFAULT 'not defined', `account_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Dumping data for table `user` -- INSERT INTO `user` (`id`, `name`, `username`, `email`, `password`, `phone`, `secret`, `account_created`) VALUES (1, 'sudheesh', 'sudheesh', 'sudheesh@gmail.com', 'sduheesh', '9999999999', '123', '2016-03-25 15:44:03'), (2, 'sudheesh', 'aaa', 'aaaa', '123', '1111', '111', '2016-03-25 15:58:36'), (3, '', '', '', '', '', '', '2016-03-26 05:29:06'), (4, 'SUDHEESH', 'SUDHEESH1223', '2dsudheesh@gmail.com', 'ASSSS', '9786819939', '123', '2016-03-26 09:17:46'); /*!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 */;
--================================= DROP VIEW view_GetAllCategory; CREATE VIEW view_GetAllCategory AS SELECT * FROM Category WHERE CategoryType='category' SELECT * FROM view_GetAllCategory; --================================= DROP VIEW view_GetAllTag; CREATE VIEW view_GetAllTag AS SELECT * FROM Category WHERE CategoryType='tag' SELECT * FROM view_GetAllTag; --================================= DROP VIEW view_GetAllPost; CREATE VIEW view_GetAllPost AS SELECT * FROM Posts WHERE type = 'post' SELECT * FROM view_GetAllPost; --================================= DROP VIEW view_GetAllPostPublish; CREATE VIEW view_GetAllPostPublish AS SELECT * FROM Posts WHERE status = 'publish' AND created <= getdate() AND type='post' SELECT * FROM view_GetAllPostPublish; --================================= DROP VIEW view_GetAllImage; CREATE VIEW view_GetAllImage AS SELECT * FROM Posts WHERE type='attachment' SELECT * FROM view_GetAllImage; --================================= DROP VIEW view_GetAllMenuItem; CREATE VIEW view_GetAllMenuItem AS SELECT * FROM Posts WHERE type='nav_menu_item' SELECT * FROM view_GetAllMenuItem; --================================= DROP VIEW view_GetAllPage; CREATE VIEW view_GetAllPage AS SELECT * FROM Posts WHERE type='page' SELECT * FROM view_GetAllPage; --================================= drop View view_GetAllTagHavePost create View view_GetAllTagHavePost as select distinct c.CategoryID, c.CategoryName, c.Slug, c.Count from posts p, categoryrelationships r, category c where p.PostID = r.PostID and c.CategoryID = r.CategoryID and c.CategoryType = 'tag'
-- phpMyAdmin SQL Dump -- version 4.7.7 -- https://www.phpmyadmin.net/ -- -- Host: localhost:3306 -- Generation Time: 2019 年 10 月 26 日 12:56 -- サーバのバージョン: 5.6.38 -- PHP Version: 7.2.1 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; -- -- Database: `gs_db4` -- -- -------------------------------------------------------- -- -- テーブルの構造 `gs_an_table` -- CREATE TABLE `gs_an_table` ( `id` int(12) NOT NULL, `name` varchar(64) COLLATE utf8_unicode_ci NOT NULL, `email` varchar(128) COLLATE utf8_unicode_ci NOT NULL, `naiyou` text COLLATE utf8_unicode_ci, `indate` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- テーブルのデータのダンプ `gs_an_table` -- INSERT INTO `gs_an_table` (`id`, `name`, `email`, `naiyou`, `indate`) VALUES (1, '111', 'test1@test.jp', 'テスト1', '2019-10-05 15:36:52'), (2, 'TEST2', 'test2@test.jp', 'テスト2', '2019-10-05 15:37:04'), (3, 'TEST3', 'test3@test.jp', 'TEST3', '2019-10-05 15:37:29'); -- -------------------------------------------------------- -- -- テーブルの構造 `gs_user_table` -- CREATE TABLE `gs_user_table` ( `id` int(12) NOT NULL, `name` varchar(64) COLLATE utf8_unicode_ci NOT NULL, `lid` varchar(128) COLLATE utf8_unicode_ci NOT NULL, `lpw` varchar(256) COLLATE utf8_unicode_ci NOT NULL, `kanri_flg` int(1) NOT NULL, `life_flg` int(1) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- テーブルのデータのダンプ `gs_user_table` -- INSERT INTO `gs_user_table` (`id`, `name`, `lid`, `lpw`, `kanri_flg`, `life_flg`) VALUES (1, 'テスト1管理者', 'test1', '$2y$10$pj.tmkqQorUsot5u2hPN9eohftnGTSHm0pvEvi78bOncFKA1dmefK', 1, 0), (2, 'テスト2一般', 'test2', '$2y$10$agmW79VukwoR7fdQRJGvD.WlEoa4BhCju6UCKTdXo6cpGJI6y0WEC', 0, 0), (3, 'テスト3', 'test3', 'test3', 0, 0); -- -- Indexes for dumped tables -- -- -- Indexes for table `gs_an_table` -- ALTER TABLE `gs_an_table` ADD PRIMARY KEY (`id`); -- -- Indexes for table `gs_user_table` -- ALTER TABLE `gs_user_table` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `gs_an_table` -- ALTER TABLE `gs_an_table` MODIFY `id` int(12) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `gs_user_table` -- ALTER TABLE `gs_user_table` MODIFY `id` int(12) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
 CREATE PROCEDURE ERP.Usp_Sel_Proyecto_RptVentasDetalle @IdProyecto INT, @FechaDesde DATETIME, @FechaHasta DATETIME AS SELECT C.IdTipoComprobante, C.Serie, C.Documento, C.TipoCambio, C.Fecha, CASE WHEN P.IdMoneda = 1 AND C.IdMoneda = 1 THEN C.Total WHEN P.IdMoneda = 2 AND C.IdMoneda = 2 THEN C.Total WHEN P.IdMoneda = 2 AND C.IdMoneda = 1 THEN C.Total / C.TipoCambio WHEN P.IdMoneda = 1 AND C.IdMoneda = 2 THEN C.Total * C.TipoCambio ELSE 0 END Importe FROM ERP.Comprobante C INNER JOIN ERP.Proyecto P ON P.ID = C.IdProyecto WHERE C.IdComprobanteEstado IN (1, 2) AND C.IdTipoComprobante IN (2, 3, 4, 13) AND C.Flag = 1 AND C.FlagBorrador = 0 AND C.IdProyecto = @IdProyecto AND (@FechaDesde IS NULL OR @FechaDesde <= C.Fecha) AND (@FechaHasta IS NULL OR @FechaHasta >= C.Fecha)
CREATE TABLE `phone_code` ( `id` int NOT NULL AUTO_INCREMENT, `userId` int NOT NULL, `phone` varchar(255) NOT NULL, `code` varchar(255) NOT NULL, `expireTime` datetime NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=312 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
SELECT 'Josh Smith' MyName , '@sqldeployhelmet' TwitterHandle , 'Database Admin' [What I do] , 'Intellitect' [Our Sponsor!] , 'http://www.sqlsaturday.com/822/Sessions/SessionEvaluation.aspx' [Session Feedback] , 'http://www.sqlsaturday.com/822/EventEval.aspx' [SQL Saturday Feedback] /* Quick Introduction to Azure Data Studio */ /* 1. Servers/Connections 2. Folders 3. Search 4. git 5. appstore 6. Azure Resource */ /* Onto the SQL! */ USE Movies /* Let's SELECT from a table */ SELECT * FROM Film /* What about filters? <,>,=, !=/<> Also LIKE '%_', IN/NOT IN */ SELECT FilmName, FilmReleaseDate, FilmOscarNominations, FilmBoxOfficeDollars FROM Film --WHERE FilmBoxOfficeDollars = NULL -- <-- don't do this! /* WHERE FilmBoxOfficeDollars IS NOT NULL ORDER BY FilmReleaseDate */ /* WHERE (FilmReleaseDate >= '01/01/2006' AND FilmReleaseDate < '2012-01-02') OR FilmID = 1 */ ORDER BY FilmReleaseDate DESC; --WHERE FilmName LIKE 'Ameri_a' --WHERE FilmName LIKE 'America%' --WHERE filmName LIKE '%Die Hard%' /* Filtering one table is fine but what about combining data? */ SELECT f.FilmName AS [Name] , f.FilmReleaseDate [Release Date] , c.CountryName -- , l.LanguageID -- , f.FilmLanguageID -- , l.[Language] FROM Film f FULL OUTER JOIN Country c ON f.FilmCountryID = c.CountryID /*FROM Film f JOIN [Language] l ON f.FilmLanguageID = l.LanguageID WHERE FilmReleaseDate < '1970-01-01' OR l.[Language] = 'Japanese'*/ ORDER BY FilmReleaseDate /* aggregating data COUNT(*), MAX, MIN, AVG */ SELECT YEAR(FilmReleaseDate) FilmYear, COUNT(*) RowNumbers, MAX(FilmOscarNominations) MaxOscar, MIN(FilmOscarNominations) MinOscar, AVG(FilmOscarNominations) AvgOscar , SUM(FilmOscarNominations) SumOscars FROM Film WHERE FilmOscarNominations IS NOT NULL AND FilmOscarNominations > 0 GROUP BY YEAR(FilmReleaseDate) WITH ROLLUP HAVING MIN(FilmOscarNominations) > 2 ORDER BY FilmYear --WHERE FilmReleaseDate IS NOT NULL /* rank/row number/ntile */ SELECT FilmName, YEAR(FilmReleaseDate) FilmYear, FilmOscarNominations, FilmOscarWins , ROW_NUMBER() OVER (PARTITION BY YEAR(FilmReleaseDate) ORDER BY FilmOscarNominations DESC, FilmOscarWins DESC) OscarWins FROM Film WHERE FilmReleaseDate IS NOT NULL AND FilmReleaseDate > '1976-01-01' ORDER BY FilmYear /* ntile */ /* multi table aggregations */
GRANT SELECT, INSERT, UPDATE, DELETE ON *.* TO 'totemsoft'@'%'; GRANT XA_RECOVER_ADMIN ON *.* TO 'totemsoft'@'%'; FLUSH PRIVILEGES; INSERT INTO department (deptno) VALUES ('IT'), ('HR') ; INSERT INTO employee (empid, deptno) VALUES ('100000001', 'IT'), ('100000001', 'HR'), ('100000002', 'IT') ;
select distinct city from station where (city like '%a' or city like '%e' or city like'%i' or city like'%o' or city like'%u') and (city like 'A%' or city like 'E%' or city like'I%' or city like'O%' or city like'U%');
CREATE TABLE tmp ( id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT, x INTEGER default 0, y INTEGER default 0, width INTEGER default 100, height INTEGER default 30, style TEXT default "", href TEXT default "", svg TEXT default "" ); INSERT INTO tmp(name,x,y,style,href) SELECT name,x,y,style,href FROM knowledge;
-- Your SQL goes here ALTER TABLE standups ADD COLUMN done integer[]
drop database if exists SMSSP; create database SMSSP; use SMSSP; drop table if exists users; create table users( id bigint, name varchar(255), age int, email varchar(255), gender varchar(10), password varchar(255)); drop table if exists teacher; create table teacher( userId bigint, speciality varchar(255), courses bigint); drop table if exists student; create table student( userId bigint, courses bigint); drop table if exists admin_; create table admin_( userId bigint, loginTime bigint); insert into admin_ values(
insert into t_clients (client_id, client_secret) values ('acme', 'acmesecret'); insert into t_client_entries (client_id, name, data) values ('acme', 'GRANT_TYPE', 'authorization_code'); insert into t_client_entries (client_id, name, data) values ('acme', 'GRANT_TYPE', 'refresh_token'); insert into t_client_entries (client_id, name, data) values ('acme', 'SCOPE', 'scope1'); insert into t_client_entries (client_id, name, data) values ('acme', 'SCOPE', 'scope2'); insert into t_client_entries (client_id, name, data) values ('acme', 'SCOPE', 'scope3');
USE testDB; show tables; insert into users values (0,"Steven Smith","Smithst","help123","Foremen", 20.20), (1,"Jacob Tellep","jtellp","help123","Foremen", 40.20), (2,"Sanish Rai","sanish.rai","help123","Foremen", 15.20); insert into weather#once inserted this tables will not be adjusted unless the JSA form is changed values (0,"Sun"), (1,"Rain"), (2,"Overcast"), (3,"Windy"), (4,"Hail"), (5,"Snow"); insert into hazard #Another table that will not be changed unless the JSA form is changed values (0,"Confined Space"), (1,"Fall Protection"), (2,"Sharp/Hot/Cold Surfaces"), (3,"Electric Shock Hazard"), (4,"Irritants-Respiratory/Skin"), (5,"Envrionment Extremes"), (6,"Pinch/Crush/Strike Hazard"), (7,"Lifting Hazard"), (8,"Short Services Employees"), (9,"Fore or Explosion Potential"), (10,"Potential Release of Energy"), (11,"Elevated Work Load"), (12,"Excavation"), (13,"Hazardous Chemical Exposure"), (14,"High Noise Levels"), (15,"Water or Drowning Harzard"); insert into jsa_form #annoyingly long but right now what we need to do. Added a '^' symbol to define to designate each line break. So when using split() we will split at '^'. values(1,"01/01/2020","HGCarte","Steven Smith","Fayetville Bridge",10,10,0,"123 broadway beckley wv 25801","10.021356541,111.01510,111121.13213",2,"1.no major steps to follow^","1.not potiental hazards^","not removing hazard",0,"SJS");
select date_sub(curdate(),interval 1 day) 统计日期, t1.department_name 部门名称, t2.yes_trial_deal_rate 当日试听课关单率, t2.rc7_trial_deal_rate 近7日试听课关单率, t2.rc30_trial_deal_rate 近30日试听课关单率, t4.new_order/t3.tomonth_new_keys 当月新粒子转化率, t4.oc_order/t3.tomonth_oc_keys 当月OC粒子转化率, t5.rc30_order_rate 近30日新粒子总装率 from( select cdme.center, cdme.region, cdme.department, cdme.department_name from bidata.charlie_dept_month_end cdme where cdme.stats_date=curdate() and cdme.class='CC' and cdme.department_name like 'CC%' group by cdme.department_name ) as t1 left join( select b.department_name, count(distinct case when date(b.adjust_start_time)=date_sub(curdate(),interval 1 day) then b.contract_id end)/count(distinct case when date(b.adjust_start_time)=date_sub(curdate(),interval 1 day) then b.student_intention_id end) yes_trial_deal_rate, count(distinct case when date(b.adjust_start_time)>=date_sub(curdate(),interval 7 day) then b.contract_id end)/count(distinct case when date(b.adjust_start_time)>=date_sub(curdate(),interval 7 day) then b.student_intention_id end) rc7_trial_deal_rate, count(distinct case when date(b.adjust_start_time)>=date_sub(curdate(),interval 30 day) then b.contract_id end)/count(distinct case when date(b.adjust_start_time)>=date_sub(curdate(),interval 30 day) then b.student_intention_id end) rc30_trial_deal_rate from( select cdme.department_name, lpo.student_intention_id, lpo.apply_user_id, lp.adjust_start_time, a.max_date, a.contract_id from hfjydb.lesson_plan_order lpo left join hfjydb.lesson_relation lr on lpo.order_id = lr.order_id left join hfjydb.lesson_plan lp on lr.plan_id = lp.lesson_plan_id left join hfjydb.view_student s on s.student_intention_id = lpo.student_intention_id inner join bidata.charlie_dept_month_end cdme on cdme.user_id = lpo.apply_user_id and cdme.stats_date=curdate() and cdme.class = 'CC' and cdme.date>=date_format(date_sub(curdate(),interval 1 day),'%Y-%m-01') left join ( select max(tcp.pay_date) max_date, tc.contract_id, tc.student_intention_id, sum(tcp.sum/100) real_pay_amount, (tc.sum-666)*10 contract_amount, tcp.submit_user_id, cdme.department_name from hfjydb.view_tms_contract_payment tcp left join hfjydb.view_tms_contract tc on tc.contract_id = tcp.contract_id inner join bidata.charlie_dept_month_end cdme on cdme.user_id = tcp.submit_user_id and cdme.stats_date = curdate() and cdme.class = 'CC' and cdme.date >= date_format(date_sub(curdate(),interval 1 day),'%Y-%m-01') where tcp.pay_status in (2,4) and tc.status<>8 group by tc.contract_id, cdme.department_name having max(tcp.pay_date)>=date_sub(curdate(),interval 30 day) and max(tcp.pay_date)<=date_sub(curdate(),interval 1 day) and real_pay_amount>=contract_amount ) as a on a.student_intention_id=lpo.student_intention_id and a.department_name=cdme.department_name where lp.lesson_type = 2 and date(lpo.apply_time)>=date_sub(curdate(),interval 30 day) and date(lpo.apply_time)<=date_sub(curdate(),interval 1 day) and lp.status in (3,5) and lp.solve_status <> 6 and s.account_type = 1 ) as b group by b.department_name ) as t2 on t2.department_name=t1.department_name left join ( select c.department_name, count(case when s.create_time>=date_format(date_sub(curdate(),interval 1 day),'%Y-%m-01') then c.intention_id end) tomonth_new_keys, count(case when s.create_time<date_format(date_sub(curdate(),interval 1 day),'%Y-%m-01') then c.intention_id end) tomonth_oc_keys from( select tpel.intention_id, cdme.department_name from hfjydb.tms_pool_exchange_log tpel inner join bidata.charlie_dept_month_end cdme on cdme.user_id = tpel.track_userid and cdme.stats_date=curdate() and cdme.class = 'CC' and cdme.date>=date_format(date_sub(curdate(),interval 1 day),'%Y-%m-01') where date(tpel.into_pool_date)>=date_format(date_sub(curdate(),interval 1 day),'%Y-%m-01') and date(tpel.into_pool_date)<=date_sub(curdate(),interval 1 day) union all select tnn.student_intention_id, cdme.department_name from hfjydb.tms_new_name_get_log tnn inner join bidata.charlie_dept_month_end cdme on cdme.user_id = tnn.user_id and cdme.stats_date=curdate() and cdme.class = 'CC' and cdme.date>=date_format(date_sub(curdate(),interval 1 day),'%Y-%m-01') where tnn.create_time>=date_format(date_sub(curdate(),interval 1 day),'%Y-%m-01') and tnn.create_time<curdate() and student_intention_id<>0 ) as c left join hfjydb.view_student s on s.student_intention_id=c.intention_id group by c.department_name ) as t3 on t3.department_name=t1.department_name left join ( select d.department_name, count(case when d.is_new=1 then d.contract_id end) as new_order, count(case when d.is_new=0 then d.contract_id end) as oc_order from( select max(tcp.pay_date) max_date, tc.contract_id, tc.student_intention_id, sum(tcp.sum/100) real_pay_amount, (tc.sum-666)*10 contract_amount, tcp.submit_user_id, case when s.create_time>=date_format(date_sub(curdate(),interval 1 day),'%Y-%m-01') then 1 else 0 end is_new, cdme.department_name from hfjydb.view_tms_contract_payment tcp left join hfjydb.view_tms_contract tc on tc.contract_id=tcp.contract_id left join hfjydb.view_student s on s.student_intention_id=tc.student_intention_id inner join bidata.charlie_dept_month_end cdme on cdme.user_id=tcp.submit_user_id and cdme.stats_date=curdate() and cdme.class='CC' and cdme.date>=date_format(date_sub(curdate(),interval 1 day),'%Y-%m-01') where tcp.pay_status in (2,4) and tc.status<>8 group by tc.contract_id, cdme.department_name having max(tcp.pay_date)>=date_format(date_sub(curdate(),interval 1 day),'%Y-%m-01') and max(tcp.pay_date)<curdate() and real_pay_amount>=contract_amount ) as d group by d.department_name ) as t4 on t4.department_name=t1.department_name left join ( select f.department_name, count(distinct f.contract_id)/count(distinct f.intention_id) as rc30_order_rate from( select tpel.intention_id, cdme.department_name, e.contract_id from hfjydb.tms_pool_exchange_log tpel left join hfjydb.view_student s on s.student_intention_id = tpel.intention_id inner join bidata.charlie_dept_month_end cdme on cdme.user_id=tpel.track_userid and cdme.stats_date=curdate() and cdme.class='CC' and cdme.date>=date_format(date_sub(curdate(),interval 1 day),'%Y-%m-01') left join ( select min(tcp.pay_date) min_date, tc.contract_id, tc.student_intention_id, sum(tcp.sum/100) real_pay_amount, (tc.sum-666) * 10 contract_amount, tcp.submit_user_id, cdme.department_name from hfjydb.view_tms_contract_payment tcp left join hfjydb.view_tms_contract tc on tc.contract_id = tcp.contract_id inner join bidata.charlie_dept_month_end cdme on cdme.user_id = tcp.submit_user_id and cdme.stats_date=curdate() and cdme.class = 'CC' and cdme.date>=date_format(date_sub(curdate(),interval 1 day),'%Y-%m-01') where tcp.pay_status in (2,4) and tc.status<>8 group by tc.contract_id, cdme.department_name having max(tcp.pay_date)>=date_sub(curdate(),interval 30 day) and max(tcp.pay_date)<=date_sub(curdate(),interval 1 day) and real_pay_amount>=contract_amount ) as e on e.student_intention_id=tpel.intention_id and e.department_name=cdme.department_name where s.create_time>=date_sub(curdate(),interval 30 day) and s.create_time<=date_sub(curdate(),interval 1 day) group by tpel.intention_id, cdme.department_name ) as f group by f.department_name ) as t5 on t5.department_name=t1.department_name
/* 用户订单管理系统 */ /*Alter database character set utf8; 更改库的字符集*/ /*创建库*/ CREATE DATABASE r_user DEFAULT CHARSET utf8 COLLATE utf8_general_ci; /*会员表*/ CREATE TABLE r_user( uid INT(10) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, user CHAR(30), password VARCHAR(50) NOT NULL, email VARCHAR(30) NOT NULL DEFAULT '', qq INT(12) UNSIGNED NOT NULL DEFAULT '0', tell INT(11) UNSIGNED NOT NULL DEFAULT '0', shop_user CHAR(30), shop_password VARCHAR(50) NOT NULL, statu TINYINT ); /*购买记录*/ CREATE TABLE r_record( id INT(20) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, goods_id INT(20) UNSIGNED NOT NULL, uid INT(10) UNSIGNED NOT NULL, goods_name CHAR(60), order_time INT(10) UNSIGNED NOT NULL, expire_time INT(10) UNSIGNED NOT NULL ); /*产品*/ CREATE TABLE r_goods( goods_id INT(20) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, goods_name CHAR(60) NOT NULL DEFAULT '', price FLOAT(6,1) NOT NULL DEFAULT '0.0', describes TEXT, validity_time INT(10) UNSIGNED NOT NULL ); /*订单*/ CREATE TABLE r_order( id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, uid INT(10) UNSIGNED NOT NULL, time INT(10) UNSIGNED NOT NULL ); :update /*关系表*/ CREATE TABLE r_relation( id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, uid INT(10) UNSIGNED NOT NULL, goods_id INT(20) UNSIGNED NOT NULL ); CREATE TABLE `app_margin`.`tb_status` ( `appid` int(10) UNSIGNED NOT NULL, `freeze` int(10) NOT NULL DEFAULT 0, `create_time` datetime NOT NULL, `change_time` datetime NOT NULL, PRIMARY KEY (`appid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; insert into r_user(user,password,email,shop_user,shop_password,statu) values('admin',md5('admin'),'admin@admin.com','adminshop',md5('adminshop'),0);
-- phpMyAdmin SQL Dump -- version 4.5.4.1deb2ubuntu2.1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Nov 15, 2018 at 05:29 PM -- Server version: 5.7.24-0ubuntu0.16.04.1 -- PHP Version: 7.0.32-2+ubuntu16.04.1+deb.sury.org+1 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `gudang` -- -- -------------------------------------------------------- -- -- Table structure for table `barangs` -- CREATE TABLE `barangs` ( `id` int(10) UNSIGNED NOT NULL, `part_number` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `description` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `category_id` int(10) UNSIGNED DEFAULT NULL, `brand_id` int(10) UNSIGNED DEFAULT NULL, `satuan_id` int(10) UNSIGNED DEFAULT NULL, `price` decimal(8,2) NOT NULL, `cover` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `stok` int(11) DEFAULT '0', `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `barangs` -- INSERT INTO `barangs` (`id`, `part_number`, `description`, `category_id`, `brand_id`, `satuan_id`, `price`, `cover`, `stok`, `created_at`, `updated_at`) VALUES (1, '12345', 'Loremipsum doler si amet', 1, 1, 1, '12000.00', 'cover.jpg', 17, '2018-10-31 07:07:49', '2018-11-01 09:52:18'), (2, '0019238928392', 'Loremipsum doler si amet', 19, 10, 1, '670000.00', 'img.jpg', 69, '2018-10-31 07:13:35', '2018-11-02 07:13:41'); -- -------------------------------------------------------- -- -- Table structure for table `brands` -- CREATE TABLE `brands` ( `id` int(10) UNSIGNED NOT NULL, `brand_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `brands` -- INSERT INTO `brands` (`id`, `brand_name`, `slug`, `created_at`, `updated_at`) VALUES (1, 'Ut.Jf', 'utjf', '2018-10-31 07:07:48', '2018-10-31 07:07:48'), (2, 'Rerum.Sy', 'rerumsy', '2018-10-31 07:07:48', '2018-10-31 07:07:48'), (3, 'Est ab.vv', 'est-abvv', '2018-10-31 07:07:48', '2018-10-31 07:07:48'), (4, 'Enim.Dh', 'enimdh', '2018-10-31 07:07:48', '2018-10-31 07:07:48'), (5, 'Optio.4N', 'optio4n', '2018-10-31 07:07:48', '2018-10-31 07:07:48'), (6, 'Eos.ZP', 'eoszp', '2018-10-31 07:07:48', '2018-10-31 07:07:48'), (7, 'Sint.os', 'sintos', '2018-10-31 07:07:48', '2018-10-31 07:07:48'), (8, 'Vel.jN', 'veljn', '2018-10-31 07:07:48', '2018-10-31 07:07:48'), (9, 'Quia.Nf', 'quianf', '2018-10-31 07:07:49', '2018-10-31 07:07:49'), (10, 'In.KW', 'inkw', '2018-10-31 07:07:49', '2018-10-31 07:07:49'); -- -------------------------------------------------------- -- -- Table structure for table `categories` -- CREATE TABLE `categories` ( `id` int(10) UNSIGNED NOT NULL, `category_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `categories` -- INSERT INTO `categories` (`id`, `category_name`, `slug`, `created_at`, `updated_at`) VALUES (1, 'Dolore ut.Zu', 'dolore-utzu', '2018-10-31 07:07:46', '2018-10-31 07:07:46'), (2, 'Quod eaque.YS', 'quod-eaqueys', '2018-10-31 07:07:47', '2018-10-31 07:07:47'), (3, 'Iusto et.0u', 'iusto-et0u', '2018-10-31 07:07:47', '2018-10-31 07:07:47'), (4, 'Qui nam sit.az', 'qui-nam-sitaz', '2018-10-31 07:07:47', '2018-10-31 07:07:47'), (5, 'Esse id qui.WT', 'esse-id-quiwt', '2018-10-31 07:07:47', '2018-10-31 07:07:47'), (6, 'Fuga libero.8u', 'fuga-libero8u', '2018-10-31 07:07:47', '2018-10-31 07:07:47'), (7, 'Iusto.BU', 'iustobu', '2018-10-31 07:07:47', '2018-10-31 07:07:47'), (8, 'Quibusdam.Pw', 'quibusdampw', '2018-10-31 07:07:47', '2018-10-31 07:07:47'), (9, 'Quas.dU', 'quasdu', '2018-10-31 07:07:47', '2018-10-31 07:07:47'), (10, 'Iste aut qui.Dv', 'iste-aut-quidv', '2018-10-31 07:07:47', '2018-10-31 07:07:47'), (11, 'Nemo autem.R4', 'nemo-autemr4', '2018-10-31 07:07:47', '2018-10-31 07:07:47'), (12, 'Ut possimus.si', 'ut-possimussi', '2018-10-31 07:07:47', '2018-10-31 07:07:47'), (13, 'Sint cumque.OY', 'sint-cumqueoy', '2018-10-31 07:07:47', '2018-10-31 07:07:47'), (14, 'Et quis.82', 'et-quis82', '2018-10-31 07:07:47', '2018-10-31 07:07:47'), (15, 'Perferendis.6x', 'perferendis6x', '2018-10-31 07:07:47', '2018-10-31 07:07:47'), (16, 'Aut aut.pA', 'aut-autpa', '2018-10-31 07:07:47', '2018-10-31 07:07:47'), (17, 'Vero nihil.E4', 'vero-nihile4', '2018-10-31 07:07:47', '2018-10-31 07:07:47'), (18, 'Inventore.vw', 'inventorevw', '2018-10-31 07:07:47', '2018-10-31 07:07:47'), (19, 'Repudiandae.rz', 'repudiandaerz', '2018-10-31 07:07:47', '2018-10-31 07:07:47'), (20, 'Repellendus.lY', 'repellendusly', '2018-10-31 07:07:47', '2018-10-31 07:07:47'), (21, 'Sunt.u3', 'suntu3', '2018-10-31 07:07:48', '2018-10-31 07:07:48'), (22, 'Et velit.Ar', 'et-velitar', '2018-10-31 07:07:48', '2018-10-31 07:07:48'), (23, 'Impedit ex.Tl', 'impedit-extl', '2018-10-31 07:07:48', '2018-10-31 07:07:48'), (24, 'Consequatur.gy', 'consequaturgy', '2018-10-31 07:07:48', '2018-10-31 07:07:48'), (25, 'Et harum.0Y', 'et-harum0y', '2018-10-31 07:07:48', '2018-10-31 07:07:48'), (26, 'Quaerat.c6', 'quaeratc6', '2018-10-31 07:07:48', '2018-10-31 07:07:48'), (27, 'Et.3r', 'et3r', '2018-10-31 07:07:48', '2018-10-31 07:07:48'), (28, 'Vitae et.0y', 'vitae-et0y', '2018-10-31 07:07:48', '2018-10-31 07:07:48'), (29, 'Beatae qui.Kv', 'beatae-quikv', '2018-10-31 07:07:48', '2018-10-31 07:07:48'), (30, 'Sed quisquam.1K', 'sed-quisquam1k', '2018-10-31 07:07:48', '2018-10-31 07:07:48'); -- -------------------------------------------------------- -- -- Table structure for table `migrations` -- CREATE TABLE `migrations` ( `id` int(10) UNSIGNED NOT NULL, `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `batch` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `migrations` -- INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES (299, '2014_10_12_000000_create_users_table', 1), (300, '2014_10_12_100000_create_password_resets_table', 1), (301, '2018_10_24_150756_penyesuaian_table_users', 1), (302, '2018_10_24_155109_create_categories_table', 1), (303, '2018_10_24_160643_create_brands_table', 1), (304, '2018_10_24_160712_create_satuans_table', 1), (305, '2018_10_24_160923_create_barangs_table', 1), (306, '2018_10_24_170350_create_transactions_table', 1), (307, '2018_10_31_135307_create_orders_table', 1); -- -------------------------------------------------------- -- -- Table structure for table `orders` -- CREATE TABLE `orders` ( `id` int(10) UNSIGNED NOT NULL, `transaction_id` int(10) UNSIGNED DEFAULT NULL, `barang_id` int(10) UNSIGNED DEFAULT NULL, `amount` int(11) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `orders` -- INSERT INTO `orders` (`id`, `transaction_id`, `barang_id`, `amount`, `created_at`, `updated_at`) VALUES (1, 1, 1, 2, NULL, NULL), (3, 3, 1, 2, NULL, NULL), (6, 5, 1, 3, NULL, NULL), (7, 5, 2, 2, NULL, NULL), (8, 3, 2, 5, NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `password_resets` -- CREATE TABLE `password_resets` ( `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `satuans` -- CREATE TABLE `satuans` ( `id` int(10) UNSIGNED NOT NULL, `satuan_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `slug` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `satuans` -- INSERT INTO `satuans` (`id`, `satuan_name`, `slug`, `created_at`, `updated_at`) VALUES (1, 'Qui.1D', 'qui1d', '2018-10-31 07:07:49', '2018-10-31 07:07:49'), (2, 'Qui.rO', 'quiro', '2018-10-31 07:07:49', '2018-10-31 07:07:49'), (3, 'Qui.xB', 'quixb', '2018-10-31 07:07:49', '2018-10-31 07:07:49'), (4, 'Quia.DV', 'quiadv', '2018-10-31 07:07:49', '2018-10-31 07:07:49'), (5, 'Quia.4E', 'quia4e', '2018-10-31 07:07:49', '2018-10-31 07:07:49'); -- -------------------------------------------------------- -- -- Table structure for table `transactions` -- CREATE TABLE `transactions` ( `id` int(10) UNSIGNED NOT NULL, `picker` date NOT NULL, `faktur_number` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `remark` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `supplier` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` enum('IN','OUT') COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `transactions` -- INSERT INTO `transactions` (`id`, `picker`, `faktur_number`, `remark`, `supplier`, `status`, `created_at`, `updated_at`) VALUES (1, '2018-10-10', '1312454656', 'lorem ipsum', 'Dedy', 'IN', '2018-10-31 07:12:10', '2018-10-31 07:12:10'), (2, '2018-10-25', '56785878', 'Siap mantap jiwa', 'Sirait', 'OUT', '2018-10-31 07:14:09', '2018-10-31 07:14:09'), (3, '2018-11-08', '848484', 'JOSS', 'Dedy dant', 'IN', '2018-10-31 10:15:07', '2018-11-02 07:12:56'), (4, '2018-11-22', '21', 'Oke oce', 'Dan', 'IN', '2018-10-31 10:31:45', '2018-10-31 10:31:45'), (5, '2018-11-09', '02932093029', 'Jos gandos', 'Wahyu', 'IN', '2018-11-01 09:52:18', '2018-11-01 09:52:18'); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `roles` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `status` enum('ACTIVE','INACTIVE') COLLATE utf8mb4_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `name`, `email`, `password`, `remember_token`, `created_at`, `updated_at`, `roles`, `status`) VALUES (1, 'Dedy dantry', 'dedydantry@gmail.com', '$2y$10$VJ33JtqVbDqAaiS13UyX0eV1g81Tl3pchLf/yKZZ7Wz.nFFY8m.I2', NULL, '2018-10-31 07:07:46', '2018-10-31 07:07:46', '["ADMIN"]', 'ACTIVE'); -- -- Indexes for dumped tables -- -- -- Indexes for table `barangs` -- ALTER TABLE `barangs` ADD PRIMARY KEY (`id`), ADD KEY `barangs_category_id_foreign` (`category_id`), ADD KEY `barangs_brand_id_foreign` (`brand_id`), ADD KEY `barangs_satuan_id_foreign` (`satuan_id`); -- -- Indexes for table `brands` -- ALTER TABLE `brands` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `brands_slug_unique` (`slug`); -- -- Indexes for table `categories` -- ALTER TABLE `categories` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `categories_slug_unique` (`slug`); -- -- Indexes for table `migrations` -- ALTER TABLE `migrations` ADD PRIMARY KEY (`id`); -- -- Indexes for table `orders` -- ALTER TABLE `orders` ADD PRIMARY KEY (`id`), ADD KEY `orders_barang_id_foreign` (`barang_id`), ADD KEY `orders_transaction_id_foreign` (`transaction_id`); -- -- Indexes for table `password_resets` -- ALTER TABLE `password_resets` ADD KEY `password_resets_email_index` (`email`); -- -- Indexes for table `satuans` -- ALTER TABLE `satuans` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `satuans_slug_unique` (`slug`); -- -- Indexes for table `transactions` -- ALTER TABLE `transactions` ADD PRIMARY KEY (`id`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `users_email_unique` (`email`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `barangs` -- ALTER TABLE `barangs` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `brands` -- ALTER TABLE `brands` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; -- -- AUTO_INCREMENT for table `categories` -- ALTER TABLE `categories` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31; -- -- AUTO_INCREMENT for table `migrations` -- ALTER TABLE `migrations` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=308; -- -- AUTO_INCREMENT for table `orders` -- ALTER TABLE `orders` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT for table `satuans` -- ALTER TABLE `satuans` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `transactions` -- ALTER TABLE `transactions` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- Constraints for dumped tables -- -- -- Constraints for table `barangs` -- ALTER TABLE `barangs` ADD CONSTRAINT `barangs_brand_id_foreign` FOREIGN KEY (`brand_id`) REFERENCES `brands` (`id`), ADD CONSTRAINT `barangs_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`), ADD CONSTRAINT `barangs_satuan_id_foreign` FOREIGN KEY (`satuan_id`) REFERENCES `satuans` (`id`); -- -- Constraints for table `orders` -- ALTER TABLE `orders` ADD CONSTRAINT `orders_barang_id_foreign` FOREIGN KEY (`barang_id`) REFERENCES `barangs` (`id`), ADD CONSTRAINT `orders_transaction_id_foreign` FOREIGN KEY (`transaction_id`) REFERENCES `transactions` (`id`); /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
USE Passagerarmanifest /*1A*/ SELECT Person.Förnamn, Person.Efternamn, Person.Avdelningsnamn, Person.Ursprungsplanet, Person.Kön, Ras.RasNamn, Rang.RangNamn FROM Person JOIN Ras ON Ras.RasID=Person.RasID JOIN Rang ON Rang.RangID=Person.RangID JOIN Status ON Status.StatusID=Person.StatusID; /*1B*/ SELECT Person.Förnamn, Person.Efternamn, Status.Dödsorsak, Status.Tidpunkt FROM Person JOIN Status ON Person.StatusID=Status.StatusID; /*1C*/ SELECT Person.Förnamn, Rang.RangNamn, Rang.Månadslön FROM Person JOIN Status ON Status.StatusID=Person.StatusID JOIN Rang ON Rang.RangID=Person.RangID WHERE Rang.Månadslön>50000 AND Rang.RangNamn='Kapten' /*1D*/ SELECT Person.Förnamn, Person.Ursprungsplanet FROM Person JOIN Status ON Status.StatusID=Person.StatusID WHERE Person.Ursprungsplanet='Tellus' /*1E*/ SELECT Person.Förnamn, Person.Efternamn, Status.Tidpunkt FROM Person JOIN Status on Status.StatusID=Person.StatusID WHERE Status.Tidpunkt BETWEEN '2016-01-01' AND '2016-03-01' /*1F*/ SELECT Person.Förnamn, Person.Efternamn, Rang.RangNamn COUNT FROM Person JOIN Status ON Status.StatusID=Person.StatusID JOIN Rang ON Rang.RangID=Person.RangID WHERE Rang.RangNamn='Vakt' OR Rang.RangNamn='Forskare' /*2*/ SELECT MAX(Månadslön) FROM Person JOIN Status ON Status.StatusID=Person.StatusID JOIN Rang ON Rang.RangID=Person.RangID /*3*/ SELECT COUNT(*), Status.Dödsorsak FROM Person JOIN Status ON Status.StatusID=Person.StatusID GROUP BY Status.Dödsorsak /*4, döda*/ SELECT AVG(Rang.Månadslön) FROM Person JOIN Rang ON Rang.RangID=Person.RangID JOIN Status ON Status.StatusID=Person.StatusID WHERE Person.StatusID>0; /*4,levande*/ SELECT AVG(Rang.Månadslön) FROM Person JOIN Rang ON Rang.RangID=Person.RangID WHERE Person.StatusID=0 /*SELECT CrewMember.FirstName, CrewMember.LastName, Planet.PlanetName, CrewMember.Gender, Species.SpeciesName, [Rank].RankName FROM CrewMember JOIN Species ON Species.SpeciesID = CrewMember.SpeciesID JOIN CauseOfDeath ON CauseOfDeath.DeathID = CrewMember.CauseOfDeathID JOIN Planet ON Planet.PlanetID = CrewMember.PlanetID JOIN [Rank] ON [Rank].RankID = CrewMember.RankID */
SELECT answered FROM Languages WHERE answered="Lambda" OR answered="200 OK"
-- qtde, media, menor valor, maior valor e soma total dos contratos SELECT TO_CHAR(COUNT(1), '99G999G999') QTDE, TO_CHAR(MIN(VALOR_FINAL), 'L99G999G999D99') MENOR_VALOR, TO_CHAR(MAX(VALOR_FINAL), 'L99G999G999D99') MAIOR_VALOR, TO_CHAR(AVG(VALOR_FINAL), 'L99G999G999D99') MEDIA_VALOR, TO_CHAR(SUM(VALOR_FINAL), 'L99G999G999D99') TOTAL_VALOR FROM CONTRATO CO; -- quantidade de alunos por idade SELECT TRUNC(TRUNC(MONTHS_BETWEEN(SYSDATE, AL.DT_NASC)) / 12) IDADE, COUNT(1) QTDE FROM ALUNO AL GROUP BY TRUNC(TRUNC(MONTHS_BETWEEN(SYSDATE, AL.DT_NASC)) / 12) ORDER BY 2; -- somar valores de um aluno e qtde de curso -- somar valores de cursos vendidos por data -- somar valores de cursos vendidos por estado -- somar valores de por faixa estária -- média de idades por estado
SELECT DISTINCT FundoNombre, '01' AS Dummie FROM TB_Fundo WHERE (((TB_Fundo.FundoID)<>"05"));
SELECT * FROM philly_salaries; SELECT COUNT(*) FROM philly_economic; SELECT * FROM boston_salaries; SELECT COUNT(*) from boston_economic_total; SELECT * from nyc_salaries; SELECT COUNT(*) from nyc_economic_fixed;
ALTER TABLE `tp1`.`funcionario` ADD CONSTRAINT `FK_Funcionario_Persona` FOREIGN KEY (`DNI`) REFERENCES `tp1`.`persona` (`DNI`) ON DELETE NO ACTION ON UPDATE NO ACTION; ALTER TABLE `tp1`.`siniestro` ADD INDEX `FK_Sinietro_TipoColision_idx` (`idTipoColision` ASC) COMMENT '', ADD INDEX `FK_Siniestro_TipoCausaProbable_idx` (`idTipoCausaProbable` ASC) COMMENT '', ADD INDEX `FK_Siniestro_TipoAccidente_idx` (`idTipoAccidente` ASC) COMMENT '', ADD INDEX `FK_Siniestro_Lugar_idx` (`idLugar` ASC) COMMENT ''; ALTER TABLE `tp1`.`siniestro` ADD CONSTRAINT `FK_Siniestro_TipoColision` FOREIGN KEY (`idTipoColision`) REFERENCES `tp1`.`tipocolision` (`idTipoColision`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `FK_Siniestro_TipoCausaProbable` FOREIGN KEY (`idTipoCausaProbable`) REFERENCES `tp1`.`tipocausaprobable` (`idTipoCausaProbable`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `FK_Siniestro_TipoAccidente` FOREIGN KEY (`idTipoAccidente`) REFERENCES `tp1`.`tipoaccidente` (`idTipoAccidente`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `FK_Siniestro_Lugar` FOREIGN KEY (`idLugar`) REFERENCES `tp1`.`lugar` (`idLugar`) ON DELETE NO ACTION ON UPDATE NO ACTION;
SELECT * FROM Aircraft SELECT * FROM Flight SELECT * FROM Pilot
------------------------------------------------------ -- Autor : Colegio Santa Joaquina de Vedruna -- Descripción : Script 0 - Formación SQL -- Responsable : Juan Alejandro Téllez Rubio -- Alumno 1: Daniel Vazquez Muñoz -- Alumno 2: Diego López Strickland -- Alumno 3: Fátima Prieto Alvear -- Alumno 4: Juan Manuel Hermida Acuña -- Alumno 5: Alexei Viadero Sanchez ------------------------------------------------------ -- Crea las claves foráneas despues de la inserción de datos para que no haya ningún problema ALTER TABLE students ADD CONSTRAINT fk_Students_idSchool FOREIGN KEY (idSchool) REFERENCES highschool(idSchool); ALTER TABLE subjects ADD CONSTRAINT fk_Subject_idTeacher FOREIGN KEY (idTeacher) REFERENCES teachers(idTeacher); ALTER TABLE class ADD CONSTRAINT fk_Class_idStudent FOREIGN KEY (idStudent) REFERENCES students(idStudent); ALTER TABLE class ADD CONSTRAINT fk_Class_idSubjects FOREIGN KEY (idSubjects) REFERENCES subjects(idSubjects); ALTER TABLE highschool ADD CONSTRAINT fk_Highschool_idPrincipal FOREIGN KEY (idPrincipal) REFERENCES schoolprincipal(idPrincipal);
SELECT TIPO, COUNT (*) AS CONT FROM LOG_TOTAIS1 WHERE TS_CODE >= TO_TIMESTAMP ('2018-12-02 23:57:15.000') GROUP BY TIPO;
INSERT INTO types_spectacle( id, nom, description, is_default) VALUES (DEFAULT, 'Humour', 'Spectacle qui fait rire.', false); INSERT INTO types_spectacle( id, nom, description, is_default) VALUES (DEFAULT, 'Heavy Metal', 'Spectacle de musique heavy metal.', true); INSERT INTO types_spectacle( id, nom, description, is_default) VALUES (DEFAULT, 'Country', 'Spectacle de musique country.', false); INSERT INTO types_spectacle( id, nom, description, is_default) VALUES (DEFAULT, 'Classique', 'Spectacle de musique classique.', false); INSERT INTO adresses( id, no_civique, no_appartement, nom_rue, code_postal, ville, province) VALUES (DEFAULT, 59, null, 'Ste-Catherine Est', 'H2X1K5', 'Montreal', 'Qc'); INSERT INTO salles( id, nom, capacite, adresse_id) VALUES (DEFAULT, 'Metropolis', 3500, currval('adresse_id_seq')); INSERT INTO adresses( id, no_civique, no_appartement, nom_rue, code_postal, ville, province) VALUES (DEFAULT, 1225, null, 'St-Laurent', 'H2X2S6', 'Montreal', 'Qc'); INSERT INTO salles( id, nom, capacite, adresse_id) VALUES (DEFAULT, 'Club Soda', 1500, currval('adresse_id_seq')); INSERT INTO salles( id, nom, capacite, adresse_id) VALUES (DEFAULT, 'Impérail', 2500, currval('adresse_id_seq')); INSERT INTO adresses( id, no_civique, no_appartement, nom_rue, code_postal, ville, province) VALUES (DEFAULT, 252, null, 'St-Joseph Est', 'G1K3A9', 'Québec', 'Qc'); INSERT INTO types_billet( id, nom, description, is_default) VALUES (DEFAULT, 'Admission générale', 'Admission générale sur le parterre.', true); INSERT INTO statut_commandes( id, nom, description, is_default) VALUES (DEFAULT, 'Reçue', 'La commande a été reçue et est en attente d''être traitée.', true); INSERT INTO statut_commandes( id, nom, description, is_default) VALUES (DEFAULT, 'Traitée', 'La commande a été traitée et est en attente d''être envoyée.', false); INSERT INTO statut_commandes( id, nom, description, is_default) VALUES (DEFAULT, 'Envoyée', 'La commande a été envoyée.', false); INSERT INTO spectacles( id, type_spectacle_id, nom, poster_url) VALUES (DEFAULT, 2, 'Lancement d''album Decrepit Birth', 'styles/images/decrepit-birth-event.jpg'); INSERT INTO artistes( id, nom, description) VALUES (DEFAULT, 'Decrepit Birth', 'Decrepit Birth is a death metal band from Santa Cruz, California, USA. They have released two studio albums through Unique Leader Records and one through Nuclear Blast, and a demo independently. [Wkipedia]'); INSERT INTO tags( id, nom, url) VALUES (DEFAULT, 'Technical Death Metal', 'http://en.wikipedia.org/wiki/Technical_death_metal'); INSERT INTO artistes_tags( artiste_id, tag_id) VALUES (currval('artiste_id_seq'), currval('tag_id_seq')); INSERT INTO tags( id, nom, url) VALUES (DEFAULT, 'Heavy Metal', 'http://en.wikipedia.org/wiki/Heavy_metal_music'); INSERT INTO artistes_tags( artiste_id, tag_id) VALUES (currval('artiste_id_seq'), currval('tag_id_seq')); INSERT INTO artistes_spectacles( artiste_id, spectacle_id) VALUES (currval('artiste_id_seq'), currval('spectacle_id_seq')); COMMIT;
SELECT TOP 1 M.MONTH_RATE FROM MONTH_RATE_MST M WHERE 1=1 /*IF (businessDate != null)*/ AND M.APPLICATION_DATE <= /*businessDate*/ -- 料率マスタ.適用年月日 <= パラメータ.業務日付 /*END*/ /*IF (caseNo != null)*/ AND M.CASE_NO = CAST(/*caseNo*/ AS CHAR(4)) -- 料率マスタ.案件番号 = パラメータ.案件番号 /*END*/ /*IF (contractPeriod != null)*/ AND M.RATE_PERIOD = /*contractPeriod*/ -- 料率マスタ.期間上限 >= パラメータ.契約期間 /*END*/ /*IF (rateSetFlg != ONE_VALUE)*/ AND M.DOWN_PAY_STEP = /*downpayMoneyRate*/ -- 料率マスタ.頭金上限 >= パラメータ.頭金比率 /*END*/ ORDER BY M.APPLICATION_DATE DESC, -- 適用年月日 DESC 1 M.RATE_PERIOD ASC, -- 期間上限 ASC 2 M.DOWN_PAY_STEP ASC -- 頭金上限 ASC 3
CREATE DATABASE week4; \c week4 CREATE TABLE moma_artists ( id SERIAL PRIMARY KEY, constituent_id INTEGER UNIQUE NOT NULL, display_name TEXT NOT NULL, artist_bio TEXT, nationality TEXT, gender TEXT, begin_date SMALLINT NOT NULL, end_date SMALLINT NOT NULL, wiki_qid TEXT, ulan INT ); \copy moma_artists (constituent_id, display_name, artist_bio, nationality, gender, begin_date, end_date, wiki_qid, ulan) from '/data/moma/Artists.csv' WITH CSV HEADER QUOTE '"' CREATE TABLE moma_artworks ( id SERIAL PRIMARY KEY, title TEXT, artist TEXT, constituent_id TEXT, -- sometimes is multiple e.g. "1234, 3394" artist_bio TEXT, nationality TEXT, begin_date TEXT, end_date TEXT, gender TEXT, date TEXT, medium TEXT, dimensions TEXT, creditline TEXT, accessionnumber TEXT, classification TEXT, department TEXT, date_acquired DATE, cataloged TEXT, object_id INT, url TEXT, thumbnail_url TEXT, circumference NUMERIC, depth NUMERIC, diameter NUMERIC, height NUMERIC, length NUMERIC, weight NUMERIC, width NUMERIC, seat_height NUMERIC, duration NUMERIC ); \copy moma_artworks (title, artist, constituent_id, artist_bio, nationality, begin_date, end_date, gender, date, medium, dimensions, creditline, accessionnumber, classification, department, date_acquired, cataloged, object_id, url, thumbnail_url, circumference, depth, diameter, height, length, weight, width, seat_height, duration) from '/data/moma/Artworks.csv' WITH CSV HEADER QUOTE '"'
-------------------------------------------------------- -- DDL for Index I_CLOSED_POSITIONS_UNIQ -------------------------------------------------------- CREATE UNIQUE INDEX "I_CLOSED_POSITIONS_UNIQ" ON "T_CLOSED_POSITIONS" ("PRODUCT", "BETACTION", "BET#", "BETOPEN", "BETCLOSE", "PROFITBRUTTO", "PROFIT", "TIMEOPEN", "TIMECLOSE") ;
CREATE LOGIN [Redmond\SqlCL01] FROM WINDOWS WITH DEFAULT_LANGUAGE = [us_english];
CREATE PROC [ERP].[Usp_Sel_GuiaRemisionDetalleExport_By_ID] @IdGuiaRemision INT AS BEGIN SELECT GRD.Cantidad, GRD.Peso, PRO.CodigoReferencia Codigo, UM.CodigoSunat UnidadMedida, ISNULL(GRD.Lote +'-','')+ GRD.Nombre Descripcion, GRD.Nombre DescripcionSinLote, GRD.PrecioUnitarioLista PrecioUnitario, GRD.PrecioTotal ImporteTotal, (SELECT [ERP].[ObtenerValorParametroByAbreviaturaFecha](G.IdEmpresa, 'VPU2', G.Fecha)) AS FlagPrecio2Decimal FROM ERP.GuiaRemisionDetalle GRD INNER JOIN ERP.GuiaRemision G ON G.ID = GRD.IdGuiaRemision INNER JOIN ERP.Producto PRO ON PRO.ID = GRD.IdProducto INNER JOIN PLE.T6UnidadMedida UM ON UM.ID = PRO.IdUnidadMedida WHERE GRD.IdGuiaRemision = @IdGuiaRemision END
CREATE TABLE IF NOT EXISTS `sessions` ( `id` int(11) NOT NULL, `uid` int(11) NOT NULL, `hash` varchar(40) COLLATE utf8_unicode_ci NOT NULL, `logindate` datetime NOT NULL, `expiredate` datetime NOT NULL, `ip` varchar(15) COLLATE utf8_unicode_ci NOT NULL, `agent` varchar(200) COLLATE utf8_unicode_ci NOT NULL, `cookie_crc` varchar(40) COLLATE utf8_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; ALTER TABLE `sessions` ADD PRIMARY KEY (`id`); ALTER TABLE `sessions` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -------------------------------------------------------- CREATE TABLE IF NOT EXISTS `users` ( `id` int(11) NOT NULL, `username` varchar(30) COLLATE utf8_unicode_ci NOT NULL, `password` varchar(60) COLLATE utf8_unicode_ci NOT NULL, `email` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `isactive` tinyint(1) NOT NULL DEFAULT '0', `isadmin` tinyint(1) NOT NULL DEFAULT '0', `ismod` tinyint(1) NOT NULL DEFAULT '0', `registered` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `username` (`username`), ADD UNIQUE KEY `email` (`email`); ALTER TABLE `users` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--Creating tables for moderna and pfizer datasets (1) DROP TABLE IF EXISTS moderna; DROP TABLE IF EXISTS pfizer; DROP TABLE IF EXISTS gamestop; DROP TABLE IF EXISTS reddit; CREATE TABLE moderna( Jurisdiction TEXT, Week_of_Allocations TEXT, First_Dose_Allocations INT, Second_Dose_Allocations INT ); CREATE TABLE pfizer( Jurisdiction TEXT, Week_of_Allocations TEXT, First_Dose_Allocations INT, Second_Dose_Allocations INT ); --Create tables for GME and Reddit (2) CREATE TABLE gamestop( date DATE, high_price INT, low_price INT ); CREATE TABLE reddit( title TEXT, id TEXT, url TEXT, date DATE ); SELECT * FROM moderna; SELECT * FROM pfizer; SELECT * FROM gamestop; SELECT * FROM reddit; -- --After running Pandas to import the data run the rest of this file SELECT * FROM pfizer AS p JOIN moderna AS m ON p."Jurisdiction" = m."Jurisdiction"; SELECT * FROM gamestop as g JOIN reddit as r on g.date = r.date
/* to replace the whole view, drop it before * creating the new view. Run the script * removing the regular expression for '--'. * Otherwise, it will try to create a new view * or update an old view without dropping. */ --drop view if exists clean.jocojims2inmatedata_view; drop view if exists clean.jocomentalhealthdiagnoses_view; /* Create view to present cleaned data. * This view makes the following changes: * * - Converts all string columns to upper * - Converts all missing string values to NULL rather * than empty strings or special null values * - Encodes dates * * */ create or replace view clean.jocomentalhealthdiagnoses_view as ( select patid as patid, date(dx_date) as dx_date, dx_code as dx_code, upper(dx_description) as dx_description from ( select distinct * from public.jocomentalhealthdiagnoses) as mentalhealthdiagnoses); /* drop the existing table and replace with a table * created from the view. */ drop table if exists clean.jocomentalhealthdiagnoses; create table clean.jocomentalhealthdiagnoses as select * from clean.jocomentalhealthdiagnoses_view;
 CREATE TABLE LineProfile ( id int , LineType varchar(50) not null primary key, LineName varchar(50) not null unique, Fee1 number(18,2), Fee2 number(18,2), Fee3 number(18,2), Fee4 number(18,2), Fee5 number(18,2), Fee6 number(18,2) )
-- phpMyAdmin SQL Dump -- version 4.8.0 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Sep 04, 2018 at 12:08 PM -- Server version: 10.1.31-MariaDB -- PHP Version: 7.2.4 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: `sis_13` -- -- -------------------------------------------------------- -- -- Table structure for table `r_academic_year` -- CREATE TABLE `r_academic_year` ( `Academic_Year_ID` int(11) NOT NULL, `Academic_Year_Code` varchar(100) NOT NULL, `Academic_Year_Description` varchar(100) NOT NULL, `Academic_Year_Active_Flag` enum('Present','Used','Not Used','To be Used') NOT NULL DEFAULT 'Not Used', `Academic_Year_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Academic_Year_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Academic_Year_Date_Update` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_academic_year` -- INSERT INTO `r_academic_year` (`Academic_Year_ID`, `Academic_Year_Code`, `Academic_Year_Description`, `Academic_Year_Active_Flag`, `Academic_Year_Display_Status`, `Academic_Year_Date_Added`, `Academic_Year_Date_Update`) VALUES (1, 'Nw8ZppgQPxdZ4/lI7MWohg==', 'WzMwG7yRvn3aAvKlxQNzNA==', 'Present', 'Active', '2018-08-02 04:10:43', '2018-09-03 13:48:33'), (2, 'qEmiI5/0XZY1EFyZ3Pnk6w==', 'mcctP57D/WKwY5t8ETo/jg==', 'Used', 'Active', '2018-08-02 04:11:03', '2018-09-03 13:48:33'), (3, '0fAtwElD4mZI0N+Nrsxb3g==', 'KrWaPpJ3me479gIH9Ul4WQ==', 'Used', 'Active', '2018-08-02 04:11:30', '2018-08-21 13:46:44'), (4, 'ELaf4pXwa3mc3exdJrGzSQ==', '0WjdYtbrdVQWbuEaq4wf9Q==', 'Used', 'Active', '2018-08-02 04:11:30', '2018-08-21 13:46:49'); -- -------------------------------------------------------- -- -- Table structure for table `r_admin` -- CREATE TABLE `r_admin` ( `Admin_ID` int(11) NOT NULL, `Admin_First_Name` varchar(100) NOT NULL, `Admin_Middle_Name` varchar(100) NOT NULL, `Admin_Last_Name` varchar(100) NOT NULL, `Admin_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Admin_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Admin_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_admin` -- INSERT INTO `r_admin` (`Admin_ID`, `Admin_First_Name`, `Admin_Middle_Name`, `Admin_Last_Name`, `Admin_Display_Status`, `Admin_Date_Added`, `Admin_Date_Updated`) VALUES (2, 'YEtxmhwpaUX5E9xNcmL0YA==', 'Plm+4blDu99iSdAlQ6HDOw==', 'CK1ST42XWtXYwKep6B039Q==', 'Active', '2018-07-27 16:28:32', '2018-07-27 19:02:13'); -- -------------------------------------------------------- -- -- Table structure for table `r_awards` -- CREATE TABLE `r_awards` ( `Awards_ID` int(11) NOT NULL, `Awards_Code` varchar(100) NOT NULL, `Awards_Description` varchar(100) NOT NULL, `Awards_MinimunGWA` float NOT NULL, `Awards_MinimunGrade` float NOT NULL, `Awards_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Awards_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Awards_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `r_campus` -- CREATE TABLE `r_campus` ( `Campus_ID` int(11) NOT NULL, `Campus_Code` varchar(100) NOT NULL, `Campus_Name` varchar(100) NOT NULL, `Campus_Address` varchar(500) NOT NULL, `Campus_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Campus_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Campus_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_campus` -- INSERT INTO `r_campus` (`Campus_ID`, `Campus_Code`, `Campus_Name`, `Campus_Address`, `Campus_Display_Status`, `Campus_Date_Added`, `Campus_Date_Updated`) VALUES (1, '9MzEpGHDLzrTqfuU7IGSoQ==', 'Rq1HODXTbrTHi3O5M0Pf9PF2Jidi9EscWAdJ2tArgQXBP/bXvFhfseMpkqSmg8xdxABv+agNpwHbt4SmjaeeXA==', 'AfY3B9zwzpSx50hezTLNr/ObnVzqoXvhr0nBC5+5iCI=', 'Active', '2018-08-02 04:31:50', '2018-08-02 04:31:50'), (2, 'J6kQ1Mh0VQAq2tI+gxodew==', 'Rq1HODXTbrTHi3O5M0Pf9PF2Jidi9EscWAdJ2tArgQVonvLTaDrlZ2j8dtSqtNc0', 'Rq1HODXTbrTHi3O5M0Pf9PF2Jidi9EscWAdJ2tArgQXHp/dASSnl7xHNdm9oK5ISVzn5Oj/gEfTnrmmAPgIcuQ==', 'Active', '2018-08-02 04:32:24', '2018-08-23 15:24:07'), (3, '8JRTHRIfr3As583KCwhXZA==', '8JRTHRIfr3As583KCwhXZA==', '8JRTHRIfr3As583KCwhXZA==', 'Active', '2018-08-02 23:43:14', '2018-08-02 23:43:14'); -- -------------------------------------------------------- -- -- Table structure for table `r_campus_course` -- CREATE TABLE `r_campus_course` ( `Campus_Course_ID` int(11) NOT NULL, `Campus_Course_CourseID` int(11) NOT NULL, `Campus_Course_CampusID` int(11) NOT NULL, `Campus_Course_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Campus_Course_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Campus_Course_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_campus_course` -- INSERT INTO `r_campus_course` (`Campus_Course_ID`, `Campus_Course_CourseID`, `Campus_Course_CampusID`, `Campus_Course_Display_Status`, `Campus_Course_Date_Added`, `Campus_Course_Date_Updated`) VALUES (6, 17, 1, 'Active', '2018-08-20 22:38:46', '2018-08-20 22:38:46'), (7, 17, 2, 'Active', '2018-08-20 22:38:46', '2018-08-20 22:38:46'), (8, 18, 2, 'Active', '2018-09-01 14:47:39', '2018-09-01 14:47:39'), (9, 18, 1, 'Active', '2018-09-01 14:47:39', '2018-09-01 14:47:39'); -- -------------------------------------------------------- -- -- Table structure for table `r_cashier` -- CREATE TABLE `r_cashier` ( `Cashier_ID` int(11) NOT NULL, `Cashier_First_Name` varchar(200) NOT NULL, `Cashier_Middle_Name` varchar(200) NOT NULL, `Cashier_Last_Name` varchar(200) NOT NULL, `Cashier_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Cashier_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Cashier_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_cashier` -- INSERT INTO `r_cashier` (`Cashier_ID`, `Cashier_First_Name`, `Cashier_Middle_Name`, `Cashier_Last_Name`, `Cashier_Display_Status`, `Cashier_Date_Added`, `Cashier_Date_Updated`) VALUES (1, 'YEtxmhwpaUX5E9xNcmL0YA==', 'Plm+4blDu99iSdAlQ6HDOw==', 'CK1ST42XWtXYwKep6B039Q==', 'Active', '2018-08-02 14:12:09', '2018-08-02 14:12:09'); -- -------------------------------------------------------- -- -- Table structure for table `r_course` -- CREATE TABLE `r_course` ( `Course_ID` int(11) NOT NULL, `Course_Code` varchar(100) DEFAULT NULL, `Course_Description` varchar(100) DEFAULT NULL, `Course_Years` int(11) NOT NULL, `Course_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Course_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Course_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_course` -- INSERT INTO `r_course` (`Course_ID`, `Course_Code`, `Course_Description`, `Course_Years`, `Course_Display_Status`, `Course_Date_Added`, `Course_Date_Updated`) VALUES (17, 'lcppOKK5pTkV/cBXHxenhQ==', 'jIfgeSiidraBf4ezTp/2WMf55jtPwW4j3EEdgsjTHiR+wJiEeBaozlbkxa1GAV+2', 4, 'Active', '2018-08-20 22:38:46', '2018-08-20 22:38:46'), (18, 'sFm1jYcG/rhj1tYVu0THFQ==', 'mI7uBb9KoW17jXbrQ1a4l8p2HUmnmoGhCBPBV+kroHKagv8vqTNHA7fRDc21GFq+', 4, 'Active', '2018-09-01 14:47:38', '2018-09-01 14:47:38'); -- -------------------------------------------------------- -- -- Table structure for table `r_course_fee` -- CREATE TABLE `r_course_fee` ( `Course_Fee_ID` int(11) NOT NULL, `Course_Fee_CourseID` int(11) NOT NULL, `Course_Fee_AcademicYearID` int(11) NOT NULL, `Course_Fee_YearLevel` enum('1','2','3','4','5') NOT NULL, `Course_Fee_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Course_Fee_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Course_Fee_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_course_fee` -- INSERT INTO `r_course_fee` (`Course_Fee_ID`, `Course_Fee_CourseID`, `Course_Fee_AcademicYearID`, `Course_Fee_YearLevel`, `Course_Fee_Display_Status`, `Course_Fee_Date_Added`, `Course_Fee_Date_Updated`) VALUES (1, 17, 2, '1', 'Active', '2018-08-26 17:35:36', '2018-08-26 17:35:36'); -- -------------------------------------------------------- -- -- Table structure for table `r_course_fee_items` -- CREATE TABLE `r_course_fee_items` ( `Course_Fee_Item_ID` int(11) NOT NULL, `Course_Fee_Item_CourseFeeID` int(11) NOT NULL, `Course_Fee_Item_FeeID` int(11) NOT NULL, `Course_Fee_Item_Amount` decimal(10,2) NOT NULL, `Course_Fee_Item_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Course_Fee_Item_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Course_Fee_Item_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_course_fee_items` -- INSERT INTO `r_course_fee_items` (`Course_Fee_Item_ID`, `Course_Fee_Item_CourseFeeID`, `Course_Fee_Item_FeeID`, `Course_Fee_Item_Amount`, `Course_Fee_Item_Display_Status`, `Course_Fee_Item_Date_Added`, `Course_Fee_Item_Date_Updated`) VALUES (1, 1, 6, '100.00', 'Active', '2018-08-26 17:35:36', '2018-08-26 17:35:36'); -- -------------------------------------------------------- -- -- Table structure for table `r_curriculum` -- CREATE TABLE `r_curriculum` ( `Curriculum_ID` int(11) NOT NULL, `Curriculum_Code` varchar(100) NOT NULL, `Curriculum_SemesterID` int(11) NOT NULL, `Curriculum_CourseID` int(11) NOT NULL, `Curriculum_CurriculumYearID` int(11) NOT NULL, `Curriculum_YearLevel` enum('First Year','Second Year','Third Year','Fourth Year','Fifth Year') NOT NULL, `Curriculum_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Curriculum_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Curriculum_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_curriculum` -- INSERT INTO `r_curriculum` (`Curriculum_ID`, `Curriculum_Code`, `Curriculum_SemesterID`, `Curriculum_CourseID`, `Curriculum_CurriculumYearID`, `Curriculum_YearLevel`, `Curriculum_Display_Status`, `Curriculum_Date_Added`, `Curriculum_Date_Updated`) VALUES (59, '+VLDRNNaeotxYY+AefAXXA==', 8, 17, 1, 'First Year', 'Active', '2018-08-30 16:59:22', '2018-08-30 16:59:22'), (60, 'hhJ6I5M1+a8eUF6TdxtPyw==', 9, 17, 1, 'First Year', 'Active', '2018-08-30 16:59:48', '2018-08-30 16:59:48'), (61, 'tNMw0x0OjbZRt58Sxh4Vtw==', 8, 17, 1, 'Second Year', 'Active', '2018-08-30 17:01:02', '2018-08-30 17:01:02'), (62, 'y3nr8zTapSoNS89L2tWLUg==', 8, 18, 1, 'First Year', 'Active', '2018-09-01 14:48:36', '2018-09-01 14:50:19'), (63, 'XymmuEw2PAWoONqqtlkBpQ==', 9, 17, 1, 'Second Year', 'Active', '2018-09-02 15:58:59', '2018-09-02 15:58:59'), (64, 'LtIAyXvIorDCteOIFZ2gUw==', 8, 17, 1, 'Third Year', 'Active', '2018-09-03 22:33:15', '2018-09-03 22:33:15'); -- -------------------------------------------------------- -- -- Table structure for table `r_curriculumitem` -- CREATE TABLE `r_curriculumitem` ( `CurriculumItem_ID` int(11) NOT NULL, `CurriculumItem_CurriculumID` int(11) NOT NULL, `CurriculumItem_SubjectID` int(11) NOT NULL, `CurriculumItem_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `CurriculumItem_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `CurriculumItem_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_curriculumitem` -- INSERT INTO `r_curriculumitem` (`CurriculumItem_ID`, `CurriculumItem_CurriculumID`, `CurriculumItem_SubjectID`, `CurriculumItem_Display_Status`, `CurriculumItem_Date_Added`, `CurriculumItem_Date_Updated`) VALUES (86, 59, 67, 'Active', '2018-08-30 16:59:22', '2018-08-30 16:59:22'), (87, 59, 66, 'Active', '2018-08-30 16:59:22', '2018-08-30 16:59:22'), (88, 59, 72, 'Active', '2018-08-30 16:59:22', '2018-08-30 16:59:22'), (89, 59, 80, 'Active', '2018-08-30 16:59:22', '2018-08-30 16:59:22'), (90, 60, 69, 'Active', '2018-08-30 16:59:48', '2018-08-30 16:59:48'), (91, 60, 81, 'Active', '2018-08-30 16:59:48', '2018-08-30 16:59:48'), (92, 60, 68, 'Active', '2018-08-30 16:59:48', '2018-08-30 16:59:48'), (93, 61, 74, 'Active', '2018-08-30 17:01:02', '2018-08-30 17:01:02'), (94, 61, 73, 'Active', '2018-08-30 17:01:02', '2018-08-30 17:01:02'), (95, 62, 74, 'Active', '2018-09-01 14:48:36', '2018-09-01 14:48:36'), (96, 62, 71, 'Active', '2018-09-01 14:48:36', '2018-09-01 14:48:36'), (97, 62, 80, 'Active', '2018-09-01 14:48:36', '2018-09-01 14:48:36'), (98, 63, 79, 'Inactive', '2018-09-02 15:58:59', '2018-09-02 15:59:09'), (99, 63, 68, 'Active', '2018-09-02 15:58:59', '2018-09-02 15:59:09'), (100, 64, 77, 'Active', '2018-09-03 22:33:15', '2018-09-03 22:33:15'); -- -------------------------------------------------------- -- -- Table structure for table `r_curriculumyear` -- CREATE TABLE `r_curriculumyear` ( `CurriculumYear_ID` int(11) NOT NULL, `CurriculumYear_Code` varchar(200) NOT NULL, `CurriculumYear_Description` varchar(200) NOT NULL, `CurriculumYear_Ative_Flag` enum('Active','Inactive') NOT NULL DEFAULT 'Inactive', `CurriculumYear_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `CurriculumYear_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `CurriculumYear_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_curriculumyear` -- INSERT INTO `r_curriculumyear` (`CurriculumYear_ID`, `CurriculumYear_Code`, `CurriculumYear_Description`, `CurriculumYear_Ative_Flag`, `CurriculumYear_Display_Status`, `CurriculumYear_Date_Added`, `CurriculumYear_Date_Updated`) VALUES (1, 'qEmiI5/0XZY1EFyZ3Pnk6w==', 'mcctP57D/WKwY5t8ETo/jg==', 'Active', 'Active', '2018-08-02 07:14:09', '2018-08-02 07:25:06'), (2, 'JYAxs5DNonwjmZquAxcc/A==', '2nlX+AOfrgX4Eh4PuvjsUg==', 'Inactive', 'Active', '2018-08-09 12:10:32', '2018-08-09 12:10:32'); -- -------------------------------------------------------- -- -- Table structure for table `r_degree` -- CREATE TABLE `r_degree` ( `Degree_ID` int(11) NOT NULL, `Degree_Code` varchar(100) NOT NULL, `Degree_Description` varchar(100) NOT NULL, `Degree_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Degree_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Degree_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_degree` -- INSERT INTO `r_degree` (`Degree_ID`, `Degree_Code`, `Degree_Description`, `Degree_Display_Status`, `Degree_Date_Added`, `Degree_Date_Updated`) VALUES (1, 'MIT', 'Masteral in Information Technology', 'Active', '2018-08-29 17:53:23', '2018-08-29 17:53:23'), (2, 'ME-S', 'Masteral in Education major in Science', 'Active', '2018-09-04 14:17:13', '2018-09-04 14:17:13'), (3, 'ME-H', 'Masteral in Education major in History', 'Active', '2018-09-04 14:18:01', '2018-09-04 14:18:01'), (4, 'ME-P', 'Masteral in Education major in Pyschology', 'Active', '2018-09-04 14:20:53', '2018-09-04 14:20:53'), (5, 'ME-M', 'Masteral in Education major in Math', 'Active', '2018-09-04 14:20:53', '2018-09-04 14:20:53'), (6, 'MA', 'Masteral in Accountancy ', 'Active', '2018-09-04 14:23:45', '2018-09-04 14:23:45'), (7, 'MAF', 'Master of Applied Finance', 'Active', '2018-09-04 14:25:17', '2018-09-04 14:25:17'), (8, 'MEcon', 'Master of Economics', 'Active', '2018-09-04 14:25:17', '2018-09-04 14:25:17'), (9, 'MMC', 'Master of Mass Communication', 'Active', '2018-09-04 14:26:27', '2018-09-04 14:26:27'), (10, 'MMPhy', 'Master of Physics', 'Active', '2018-09-04 14:26:27', '2018-09-04 14:26:27'), (11, 'MSHRD', 'Master of Science in Human Resource Development', 'Active', '2018-09-04 14:27:55', '2018-09-04 14:27:55'), (12, 'MST', 'Master of Science in Taxation', 'Active', '2018-09-04 14:27:55', '2018-09-04 14:27:55'), (13, 'MSM', 'Master of Science in Management', 'Active', '2018-09-04 14:29:41', '2018-09-04 14:29:41'), (14, 'MH', 'Master of Humanities', 'Active', '2018-09-04 14:29:41', '2018-09-04 14:29:41'), (15, 'MC', 'Master of Counseling', 'Active', '2018-09-04 14:30:08', '2018-09-04 14:30:08'); -- -------------------------------------------------------- -- -- Table structure for table `r_documents` -- CREATE TABLE `r_documents` ( `Documents_ID` int(11) NOT NULL, `Documents_Description` varchar(200) NOT NULL, `Documents_Mandatory` enum('Yes','No') NOT NULL, `Documents_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Documents_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Documents_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_documents` -- INSERT INTO `r_documents` (`Documents_ID`, `Documents_Description`, `Documents_Mandatory`, `Documents_Display_Status`, `Documents_Date_Added`, `Documents_Date_Updated`) VALUES (3, 'CGGHScsAWoVVbd9g4j72pg==', 'Yes', 'Active', '2018-09-04 15:45:34', '2018-09-04 15:45:34'); -- -------------------------------------------------------- -- -- Table structure for table `r_faculty_degree` -- CREATE TABLE `r_faculty_degree` ( `Faculty_Degree_ID` int(11) NOT NULL, `Faculty_Degree_ProfessorID` int(11) NOT NULL, `Faculty_Degree_DegreeID` int(11) NOT NULL, `Faculty_Degree_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Faculty_Degree_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Faculty_Degree_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_faculty_degree` -- INSERT INTO `r_faculty_degree` (`Faculty_Degree_ID`, `Faculty_Degree_ProfessorID`, `Faculty_Degree_DegreeID`, `Faculty_Degree_Display_Status`, `Faculty_Degree_Date_Added`, `Faculty_Degree_Date_Updated`) VALUES (6, 8, 1, 'Active', '2018-09-04 14:33:14', '2018-09-04 14:33:14'), (7, 9, 1, 'Active', '2018-09-04 14:33:30', '2018-09-04 15:49:26'), (8, 10, 6, 'Active', '2018-09-04 14:34:47', '2018-09-04 15:50:39'), (9, 11, 13, 'Active', '2018-09-04 14:35:43', '2018-09-04 14:35:43'), (10, 12, 9, 'Active', '2018-09-04 14:39:14', '2018-09-04 14:39:14'), (11, 13, 9, 'Active', '2018-09-04 14:41:35', '2018-09-04 14:41:35'), (12, 14, 14, 'Active', '2018-09-04 14:43:48', '2018-09-04 14:43:48'), (13, 15, 3, 'Active', '2018-09-04 14:44:58', '2018-09-04 14:44:58'), (14, 16, 5, 'Active', '2018-09-04 14:46:09', '2018-09-04 14:46:09'), (15, 17, 3, 'Active', '2018-09-04 14:47:35', '2018-09-04 14:47:35'); -- -------------------------------------------------------- -- -- Table structure for table `r_faculty_subject` -- CREATE TABLE `r_faculty_subject` ( `Faculty_Subject_ID` int(11) NOT NULL, `Faculty_Subject_SubjectID` int(11) NOT NULL, `Faculty_Subject_ProfessorID` int(11) NOT NULL, `Faculty_Subject_Display_Status` enum('Active','Inactive') NOT NULL, `Faculty_Subject_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Faculty_Subject_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_faculty_subject` -- INSERT INTO `r_faculty_subject` (`Faculty_Subject_ID`, `Faculty_Subject_SubjectID`, `Faculty_Subject_ProfessorID`, `Faculty_Subject_Display_Status`, `Faculty_Subject_Date_Added`, `Faculty_Subject_Date_Updated`) VALUES (36, 66, 8, 'Active', '2018-09-04 14:33:14', '2018-09-04 14:33:14'), (37, 68, 8, 'Active', '2018-09-04 14:33:14', '2018-09-04 14:33:14'), (38, 66, 9, 'Active', '2018-09-04 14:33:30', '2018-09-04 15:49:26'), (39, 68, 9, 'Active', '2018-09-04 14:33:31', '2018-09-04 15:49:26'), (40, 65, 10, 'Active', '2018-09-04 14:34:47', '2018-09-04 15:50:39'), (41, 78, 11, 'Active', '2018-09-04 14:35:43', '2018-09-04 14:35:43'), (42, 75, 12, 'Active', '2018-09-04 14:39:15', '2018-09-04 14:39:15'), (43, 77, 12, 'Active', '2018-09-04 14:39:15', '2018-09-04 14:39:15'), (44, 76, 13, 'Active', '2018-09-04 14:41:35', '2018-09-04 14:41:35'), (45, 74, 14, 'Active', '2018-09-04 14:43:48', '2018-09-04 14:43:48'), (46, 82, 14, 'Active', '2018-09-04 14:43:49', '2018-09-04 14:43:49'), (47, 72, 15, 'Active', '2018-09-04 14:44:58', '2018-09-04 14:44:58'), (48, 73, 15, 'Active', '2018-09-04 14:44:59', '2018-09-04 14:44:59'), (49, 78, 16, 'Active', '2018-09-04 14:46:09', '2018-09-04 14:46:09'), (50, 79, 16, 'Active', '2018-09-04 14:46:09', '2018-09-04 14:46:09'), (51, 70, 17, 'Active', '2018-09-04 14:47:35', '2018-09-04 14:47:35'), (52, 71, 17, 'Active', '2018-09-04 14:47:35', '2018-09-04 14:47:35'), (53, 67, 9, 'Active', '2018-09-04 15:49:26', '2018-09-04 15:49:26'), (54, 82, 10, 'Active', '2018-09-04 15:50:17', '2018-09-04 15:50:39'), (55, 85, 10, 'Active', '2018-09-04 15:50:17', '2018-09-04 15:50:39'), (56, 83, 10, 'Active', '2018-09-04 15:50:39', '2018-09-04 15:50:39'), (57, 84, 10, 'Active', '2018-09-04 15:50:39', '2018-09-04 15:50:39'); -- -------------------------------------------------------- -- -- Table structure for table `r_fee` -- CREATE TABLE `r_fee` ( `Fee_ID` int(11) NOT NULL, `Fee_Code` varchar(100) NOT NULL, `Fee_Type` enum('Basic','Laboratory','Miscellaneous','Other') NOT NULL DEFAULT 'Basic', `Fee_Description` varchar(100) NOT NULL, `Fee_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Fee_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Fee_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_fee` -- INSERT INTO `r_fee` (`Fee_ID`, `Fee_Code`, `Fee_Type`, `Fee_Description`, `Fee_Display_Status`, `Fee_Date_Added`, `Fee_Date_Updated`) VALUES (1, '42ZRjdyDnZ8yd6Ij1ZK/rA==', 'Basic', 'cSnJkkz9pXcynsQwlSpvJA==', 'Active', '2018-08-02 04:13:40', '2018-08-02 04:13:40'), (2, 'o5MzTS0lx0J9pt+rKELnZA==', 'Basic', 'pXtNL/C18SWl1gX1uW/kzQ==', 'Active', '2018-08-02 04:14:13', '2018-08-02 04:14:13'), (3, '+KCf0DJHsulp0u7/A3sirQ==', 'Basic', 'xAlYxqzTwEYseaBvX23yqxA30lXjdcsggcukKbQQhTg=', 'Active', '2018-08-02 04:14:28', '2018-08-02 04:14:28'), (4, '3x1xwlOdU510K0qGPB54IA==', 'Basic', 'Wb/W1PdiE4ebAyDeCaKDttAUJ82go9SyQskDXkYXTLM=', 'Active', '2018-08-02 04:14:43', '2018-08-02 04:14:43'), (5, '9prg8G8jM/LSL2QlIFSLBw==', 'Laboratory', '0LbOhlCbet/3FOJlwoggkw==', 'Active', '2018-08-02 04:15:06', '2018-08-02 04:16:07'), (6, 'N1HF1+NSMw6fef8Mor0ubg==', 'Laboratory', 'kvk9VYAB2K14JPHWoYGOEg==', 'Active', '2018-08-02 04:15:20', '2018-08-02 04:16:10'), (7, 'jGD7rk6IpAN9E1X8GSXH+g==', 'Laboratory', '4UwpxaElmVjcYzMQAyu8ykV1rdrCM3VSpYLJQ9I+H98=', 'Active', '2018-08-02 04:15:32', '2018-08-02 04:16:04'), (8, '9CPH3NTrm+QH+XoanQF5uw==', 'Laboratory', '4UwpxaElmVjcYzMQAyu8ykV1rdrCM3VSpYLJQ9I+H98=', 'Active', '2018-08-02 04:15:43', '2018-08-02 04:16:00'), (9, 'TZiuzU6Ewn5LOaoDAEvCRg==', 'Miscellaneous', 'bZvYBRE1RjEq7vokD5Pc/b+ecRQqAjTqGFxpD7WIw6k=', 'Active', '2018-08-02 04:16:31', '2018-08-02 04:17:57'), (10, 'J7UNz1R9jCf23qUlt3Pi3g==', 'Miscellaneous', 'CafpCQx5thSvB3VGJ34UmhH0/qJKHMZHWcaILUcyH8w=', 'Active', '2018-08-02 04:16:43', '2018-08-02 04:18:01'), (11, 'PoBPH/JYOc6AQXght9yqWA==', 'Miscellaneous', 'c1zPBdHcghI4cpYhWTBJQw==', 'Active', '2018-08-02 04:16:56', '2018-08-02 04:18:05'), (12, '8yGyIvV+mYx5mlqkD1NYSw==', 'Other', '3uDL9tT7s+e7c74npQeImGSQnqqwmPDzyuuvXjQC+Z4=', 'Active', '2018-08-02 04:18:31', '2018-08-02 04:19:07'), (13, '9dpOXH9FL0ZyPJuWsVOfBg==', 'Other', 'TO0pEpBkgjDacwSIyUCyTA==', 'Active', '2018-08-02 04:18:47', '2018-08-02 04:19:10'), (14, 'R+8NtMaLv2NG0IcVypjKDw==', 'Other', 'ppSkgMlC6frmSWN4HIHvdw==', 'Active', '2018-08-02 04:18:59', '2018-08-02 04:19:15'), (15, 'B1CbGbdifFooO7iM1gsBBg==', 'Other', 'If1RdxOUvrPxbqdbGeyiBPIogE8f2ARj+wkozTayYOo=', 'Active', '2018-08-02 04:20:21', '2018-08-02 04:20:30'); -- -------------------------------------------------------- -- -- Table structure for table `r_grade_opening` -- CREATE TABLE `r_grade_opening` ( `Grade_Opening_ID` int(11) NOT NULL, `Grade_Opening_Open` enum('Yes','No') NOT NULL, `Grade_Opening_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Grade_Opening_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Grade_Opening_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_grade_opening` -- INSERT INTO `r_grade_opening` (`Grade_Opening_ID`, `Grade_Opening_Open`, `Grade_Opening_Display_Status`, `Grade_Opening_Date_Added`, `Grade_Opening_Date_Updated`) VALUES (1, 'Yes', 'Active', '2018-08-19 18:04:29', '2018-08-23 20:26:02'); -- -------------------------------------------------------- -- -- Table structure for table `r_mandatory_fee` -- CREATE TABLE `r_mandatory_fee` ( `Mandatory_Fee_ID` int(11) NOT NULL, `Mandatory_Fee_AcademicYearID` int(11) NOT NULL, `Mandatory_Fee_FeeID` int(11) NOT NULL, `Mandatory_Fee_Amount` decimal(10,2) NOT NULL, `Mandatory_Fee_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Mandatory_Fee_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Mandatory_Fee_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_mandatory_fee` -- INSERT INTO `r_mandatory_fee` (`Mandatory_Fee_ID`, `Mandatory_Fee_AcademicYearID`, `Mandatory_Fee_FeeID`, `Mandatory_Fee_Amount`, `Mandatory_Fee_Display_Status`, `Mandatory_Fee_Date_Added`, `Mandatory_Fee_Date_Updated`) VALUES (1, 2, 4, '1100.00', 'Active', '2018-08-02 04:23:27', '2018-08-02 04:23:27'); -- -------------------------------------------------------- -- -- Table structure for table `r_prerequisite` -- CREATE TABLE `r_prerequisite` ( `Prerequisite_ID` int(11) NOT NULL, `Prerequisite_Main_SubjectID` int(11) NOT NULL, `Prerequisite_Prequisite_SubjectID` int(11) NOT NULL, `Prerequisite_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Prerequisite_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Prerequisite_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `r_professor` -- CREATE TABLE `r_professor` ( `Professor_ID` int(11) NOT NULL, `Professor_Code` varchar(100) NOT NULL, `Professor_FirstName` varchar(100) NOT NULL, `Professor_MiddleName` varchar(100) NOT NULL, `Professor_LastName` varchar(100) NOT NULL, `Professor_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Professor_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Professor_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_professor` -- INSERT INTO `r_professor` (`Professor_ID`, `Professor_Code`, `Professor_FirstName`, `Professor_MiddleName`, `Professor_LastName`, `Professor_Display_Status`, `Professor_Date_Added`, `Professor_Date_Updated`) VALUES (8, '2018-00001', 'olYyybuAZHiS4jCCacsUBA==', '0dhMKWstS4s5FYkBC229bA==', 'QdxIznjBUgbBn9QRU+VNIQ==', 'Active', '2018-09-04 14:33:14', '2018-09-04 14:33:14'), (9, '2018-00002', 'YRC8WFcoWjTYQ8ynLCZhWw==', '0dhMKWstS4s5FYkBC229bA==', 'QdxIznjBUgbBn9QRU+VNIQ==', 'Active', '2018-09-04 14:33:30', '2018-09-04 15:49:01'), (10, '2018-00003', 'J4jgpR7vdpDsx1uS165JEA==', 'P94fxJOe/d1qfqcMtmdoKw==', 'ZSlTlOa/54DT9OJi4P1VKQ==', 'Active', '2018-09-04 14:34:47', '2018-09-04 14:34:47'), (11, '2018-00004', 'nUMUy0qv7qn69o15cyiHWw==', 'wsCoVpCqpD7EPIGSDzaOBg==', 'FbKbciGFt+Xm0H7X+OnAiQ==', 'Active', '2018-09-04 14:35:42', '2018-09-04 14:35:42'), (12, '2018-00005', 'yfNoUUL+O+DsHadVGQej4Q==', 'HmuLvEkMrk9Ceitmnd9nOQ==', 'cupuhIl2U9hgq3wVIcTNOQ==', 'Active', '2018-09-04 14:39:14', '2018-09-04 14:39:14'), (13, '2018-00006', 'CL7qsZtcoz2lsI2R+sojMA==', 'ddv187lL70qIr63TzXyplA==', 'T7WYETlR1Nse+A1BR9pCYg==', 'Active', '2018-09-04 14:41:35', '2018-09-04 14:41:35'), (14, '2018-00007', 'RZidhSb5M+V1ZqVjrbfB1w==', 'qqaScO+OUW0e11CUpP5YHg==', 'jkDLSHwFqlb7G3rLLZXIgA==', 'Active', '2018-09-04 14:43:48', '2018-09-04 14:43:48'), (15, '2018-00008', '2KcyGvZI6FBelrMhltzZNg==', '2j1sdImV4xSOPy+KFPdc9A==', 'jkDLSHwFqlb7G3rLLZXIgA==', 'Active', '2018-09-04 14:44:58', '2018-09-04 14:44:58'), (16, '2018-00009', 'byPkUYDPpNHQb93paBdFLA==', '2j1sdImV4xSOPy+KFPdc9A==', 'CH9a4rZhtbU/aMhmSMb6Aw==', 'Active', '2018-09-04 14:46:08', '2018-09-04 14:46:08'), (17, '2018-00010', 't6niRAaYf1yhyfc8z4yvaw==', 'irWy92C3JmBqJGdNMhO0dg==', 'jiSXlwqztP6v1af2xmDpug==', 'Active', '2018-09-04 14:47:35', '2018-09-04 14:47:35'); -- -------------------------------------------------------- -- -- Table structure for table `r_registation_opening` -- CREATE TABLE `r_registation_opening` ( `Registation_Opening_ID` int(11) NOT NULL, `Registation_Opening_CourseID` int(11) DEFAULT NULL, `Registation_Opening_YearLevel` enum('First Year','Second Year','Third Year','Fourth Year','Fifth Year') NOT NULL, `Registation_Opening_Status` enum('Yes','No') NOT NULL, `Registation_Opening_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Registation_Opening_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Registation_Opening_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_registation_opening` -- INSERT INTO `r_registation_opening` (`Registation_Opening_ID`, `Registation_Opening_CourseID`, `Registation_Opening_YearLevel`, `Registation_Opening_Status`, `Registation_Opening_Display_Status`, `Registation_Opening_Date_Added`, `Registation_Opening_Date_Updated`) VALUES (1, 17, 'First Year', 'Yes', 'Active', '2018-08-21 16:58:43', '2018-09-01 17:14:23'), (2, 17, 'Second Year', 'Yes', 'Active', '2018-08-21 16:58:43', '2018-08-29 12:12:05'), (3, 17, 'Third Year', 'No', 'Active', '2018-08-21 16:58:43', '2018-09-03 22:52:44'), (4, 17, 'Fourth Year', 'No', 'Active', '2018-08-21 16:58:43', '2018-08-21 17:00:59'), (5, 17, 'Fifth Year', 'No', 'Active', '2018-08-21 16:58:44', '2018-08-21 17:01:04'); -- -------------------------------------------------------- -- -- Table structure for table `r_registrar` -- CREATE TABLE `r_registrar` ( `Registrar_ID` int(11) NOT NULL, `Registrar_First_Name` varchar(200) NOT NULL, `Registrar_Middle_Name` varchar(200) NOT NULL, `Registrar_Last_Name` varchar(200) NOT NULL, `Registrar_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Registrar_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Registrar_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_registrar` -- INSERT INTO `r_registrar` (`Registrar_ID`, `Registrar_First_Name`, `Registrar_Middle_Name`, `Registrar_Last_Name`, `Registrar_Display_Status`, `Registrar_Date_Added`, `Registrar_Date_Updated`) VALUES (1, 'YEtxmhwpaUX5E9xNcmL0YA==', 'Plm+4blDu99iSdAlQ6HDOw==', 'CK1ST42XWtXYwKep6B039Q==', 'Active', '2018-07-29 09:29:33', '2018-07-29 09:29:33'); -- -------------------------------------------------------- -- -- Table structure for table `r_room` -- CREATE TABLE `r_room` ( `Room_ID` int(11) NOT NULL, `Room_Code` varchar(100) NOT NULL, `Room_CampusID` int(11) NOT NULL, `Room_Description` varchar(100) NOT NULL, `Room_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Room_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Room_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_room` -- INSERT INTO `r_room` (`Room_ID`, `Room_Code`, `Room_CampusID`, `Room_Description`, `Room_Display_Status`, `Room_Date_Added`, `Room_Date_Updated`) VALUES (1, 'edcmYZ6p60DmloUEjfaG/A==', 2, 'hMdMPkmW/+oEJdW8w4fqDw==', 'Active', '2018-08-05 15:53:11', '2018-08-20 23:53:17'), (2, 'aTvCPjV+EyFfmG97T7yAFA==', 2, 'aTvCPjV+EyFfmG97T7yAFA==', 'Active', '2018-08-05 15:55:43', '2018-08-20 23:53:19'), (3, 'Ei9Ovwm+4IyyTY1aaqjyQg==', 1, '97TYgdsyCNAS0+qbvDcjdY//9SQWST9XqSxkd9a1ll4=', 'Active', '2018-09-04 13:57:17', '2018-09-04 13:57:17'), (4, '9J+FwdlyEeJJ5Bk9vow3Mg==', 2, 'Xn1wSwNwMa4D2ecV6Ow1BGBqHlWNzx/HLOLpzXkQS2o=', 'Active', '2018-09-04 14:06:50', '2018-09-04 14:06:50'), (5, 'iftd0BJAAOpyfSEqQIJRqQ==', 2, 'Xn1wSwNwMa4D2ecV6Ow1BJaPBTOuT9P9fpj+TMuIkaE=', 'Active', '2018-09-04 14:07:59', '2018-09-04 14:07:59'), (6, 'vj7NfQ0fvKAYEVilBQ8iRw==', 2, 'Xn1wSwNwMa4D2ecV6Ow1BMDTO+nuGGWPqKu4Q/XkQzs=', 'Active', '2018-09-04 14:08:26', '2018-09-04 14:08:26'), (7, 'SYhEv8eGWbPA2mN7O7ZxKA==', 2, 'Xn1wSwNwMa4D2ecV6Ow1BF3ElxLV+CAcDRh9XYONq2o=', 'Active', '2018-09-04 14:08:55', '2018-09-04 14:08:55'), (8, 'vX9aqD6fAsDrGPJNTDQxuw==', 2, 'Xn1wSwNwMa4D2ecV6Ow1BMGEJW2CSzbSLo9azFjqOdU=', 'Active', '2018-09-04 14:09:18', '2018-09-04 14:09:18'); -- -------------------------------------------------------- -- -- Table structure for table `r_section` -- CREATE TABLE `r_section` ( `Section_ID` int(11) NOT NULL, `Section_Code` varchar(100) NOT NULL, `Section_Section` varchar(100) NOT NULL, `Section_Year` enum('First Year','Second Year','Third Year','Fourth Year','Fifth Year') NOT NULL, `Section_CampusID` int(11) NOT NULL, `Section_CourseID` int(11) NOT NULL, `Section_Display_Status` enum('Active','Inactive') NOT NULL, `Section_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Section_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_section` -- INSERT INTO `r_section` (`Section_ID`, `Section_Code`, `Section_Section`, `Section_Year`, `Section_CampusID`, `Section_CourseID`, `Section_Display_Status`, `Section_Date_Added`, `Section_Date_Updated`) VALUES (6, 'BSIT-CM 1-1', '1', 'First Year', 2, 17, 'Active', '2018-08-20 22:38:59', '2018-08-20 22:38:59'), (7, 'BSIT-CM 2-1', '1', 'Second Year', 2, 17, 'Active', '2018-08-20 22:39:12', '2018-08-20 22:39:12'), (8, 'BSIT-CM 1-2', '2', 'First Year', 2, 17, 'Active', '2018-08-23 02:33:03', '2018-08-23 02:33:03'), (9, 'BBTE-CM 1-1', '1', 'First Year', 2, 18, 'Active', '2018-09-01 14:47:50', '2018-09-01 14:47:50'); -- -------------------------------------------------------- -- -- Table structure for table `r_semester` -- CREATE TABLE `r_semester` ( `Semester_ID` int(11) NOT NULL, `Semester_Code` varchar(100) NOT NULL, `Semester_Description` varchar(100) NOT NULL, `Semester_Sequence` enum('1','2','3','4') NOT NULL, `Semester_Active_Flag` enum('Active','Inactive','To be Used') NOT NULL DEFAULT 'Inactive', `Semester_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Semester_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Semester_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_semester` -- INSERT INTO `r_semester` (`Semester_ID`, `Semester_Code`, `Semester_Description`, `Semester_Sequence`, `Semester_Active_Flag`, `Semester_Display_Status`, `Semester_Date_Added`, `Semester_Date_Updated`) VALUES (8, 'JAf1Hlc/Gtb6XCm1y7MiAA==', 'P7I0qX/sDmywrwb6zWrZbg==', '1', 'Active', 'Active', '2018-07-30 20:11:28', '2018-07-30 20:11:28'), (9, '3w7k0lW7Bk1hW5/L8WHQkA==', '9+EqntrFg0c/CreWSDoTWw==', '2', 'Inactive', 'Active', '2018-07-30 20:12:16', '2018-07-30 20:12:16'), (10, 'rYpY2pWQC5nB+Z1mTYXlrg==', 'fmdICxI2e5LZ2HRD0TVLhQ==', '3', 'Inactive', 'Active', '2018-07-30 20:12:16', '2018-07-30 20:12:16'); -- -------------------------------------------------------- -- -- Table structure for table `r_student_application` -- CREATE TABLE `r_student_application` ( `Student_Application_ID` int(11) NOT NULL, `Student_Application_StudentProfileID` int(11) NOT NULL, `Student_Application_Application_Number` varchar(100) NOT NULL, `Student_Application_Display_Status` enum('Active','Inactive') NOT NULL, `Student_Application_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Student_Application_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_student_application` -- INSERT INTO `r_student_application` (`Student_Application_ID`, `Student_Application_StudentProfileID`, `Student_Application_Application_Number`, `Student_Application_Display_Status`, `Student_Application_Date_Added`, `Student_Application_Date_Updated`) VALUES (9, 9, '2018-00001', 'Active', '2018-09-04 14:52:25', '2018-09-04 14:52:25'), (10, 10, '2018-00002', 'Active', '2018-09-04 14:53:45', '2018-09-04 14:53:45'), (11, 11, '2018-00003', 'Active', '2018-09-04 14:55:23', '2018-09-04 14:55:23'); -- -------------------------------------------------------- -- -- Table structure for table `r_student_document` -- CREATE TABLE `r_student_document` ( `Student_Document_ID` int(11) NOT NULL, `Student_Document_StudentApplicationID` int(11) NOT NULL, `Student_Document_DocumentID` int(11) NOT NULL, `Student_Document_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Student_Document_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Student_Document_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_student_document` -- INSERT INTO `r_student_document` (`Student_Document_ID`, `Student_Document_StudentApplicationID`, `Student_Document_DocumentID`, `Student_Document_Display_Status`, `Student_Document_Date_Added`, `Student_Document_Date_Updated`) VALUES (9, 9, 3, 'Active', '2018-09-04 15:45:55', '2018-09-04 15:45:55'), (10, 10, 3, 'Active', '2018-09-04 15:46:02', '2018-09-04 15:46:02'); -- -------------------------------------------------------- -- -- Table structure for table `r_student_profile` -- CREATE TABLE `r_student_profile` ( `Student_Profile_ID` int(11) NOT NULL, `Student_Profile_First_Name` varchar(100) NOT NULL, `Student_Profile_Middle_Name` varchar(100) NOT NULL, `Student_Profile_Last_Name` varchar(100) NOT NULL, `Student_Profile_Date_Of_Birth` date NOT NULL, `Student_Profile_Place_Of_Birth` varchar(100) NOT NULL, `Student_Profile_Gender` enum('Male','Female') NOT NULL, `Student_Profile_Civil_Status` varchar(100) NOT NULL, `Student_Profile_Address` varchar(500) NOT NULL, `Student_Profile_Contact_Number` varchar(100) NOT NULL, `Student_Profile_Email_Address` varchar(100) NOT NULL, `Student_Profile_Display_Status` enum('Active','Inactve') NOT NULL DEFAULT 'Active', `Student_Profile_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Student_Profile_Date_Updated` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_student_profile` -- INSERT INTO `r_student_profile` (`Student_Profile_ID`, `Student_Profile_First_Name`, `Student_Profile_Middle_Name`, `Student_Profile_Last_Name`, `Student_Profile_Date_Of_Birth`, `Student_Profile_Place_Of_Birth`, `Student_Profile_Gender`, `Student_Profile_Civil_Status`, `Student_Profile_Address`, `Student_Profile_Contact_Number`, `Student_Profile_Email_Address`, `Student_Profile_Display_Status`, `Student_Profile_Date_Added`, `Student_Profile_Date_Updated`) VALUES (9, 'CHnQda3j/A2zst7RDGVbrw==', 'IqF0AT2nAxDEDYfeM1ekjA==', 'qTPgbq925/uwuDA9x/BPQQ==', '2000-05-04', 'zmTpdFarKcxLCqZZLY/e/A==', 'Male', 'Single', 'QA4BGdmnTB9H++bSR8XsTR36q0ZVmaC8jCzbul640asxsJL4qD8pxJ3foa8ryE/j', 'jpFgwP3kqiioikMaDleVKA==', '+KsxAxCrlgK/I7NPiChkjg==', 'Active', '2018-09-04 14:52:25', '2018-09-04 14:52:25'), (10, 'TNLS5JzpXj4/OBy47X/SXg==', 'pIijdF9zQS1xOr36hOmyww==', 'V0KHrlK+sMJfYn/C9k2ayQ==', '2000-07-06', 'rrV1i6K4diNTlq9HNMES4A==', 'Male', 'Single', 'uyRCromTlt0mM0JPmZSLCw==', 'O0KxN2YMMOi+UdcKggUF1g==', 'uyRCromTlt0mM0JPmZSLCw==', 'Active', '2018-09-04 14:53:45', '2018-09-04 14:53:45'), (11, 'ixYpcC7i7kn/If8kUOvu7w==', 'Q+GvO9wzlrYgPpdmU6CYBg==', '4w/w9z0lEiXyIeVW7TkF0Q==', '2000-03-31', 'rrV1i6K4diNTlq9HNMES4A==', 'Female', 'Single', 'rrV1i6K4diNTlq9HNMES4A==', 'XeJwpT2iuA47f4poGR7D/A==', 'fWUrapKSMZvYeRguD/vSwg==', 'Active', '2018-09-04 14:55:23', '2018-09-04 14:55:23'); -- -------------------------------------------------------- -- -- Table structure for table `r_subject` -- CREATE TABLE `r_subject` ( `Subject_ID` int(11) NOT NULL, `Subject_Code` varchar(100) NOT NULL, `Subject_Description` varchar(100) NOT NULL, `Subject_Lecture_Units` int(11) NOT NULL DEFAULT '0', `Subject_Laboratory_Units` int(11) NOT NULL DEFAULT '0', `Subject_Lecture_Hours` int(11) NOT NULL DEFAULT '0', `Subject_Laboratory_Hours` int(11) NOT NULL DEFAULT '0', `Subject_Tuition_Hours` int(11) NOT NULL DEFAULT '0', `Subject_Type` enum('Academic','Non-Academic') NOT NULL, `Subject_Group` int(11) DEFAULT NULL, `Subject_Credited_Units` int(11) NOT NULL DEFAULT '0', `Subject_Display_Stat` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Subject_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Subject_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_subject` -- INSERT INTO `r_subject` (`Subject_ID`, `Subject_Code`, `Subject_Description`, `Subject_Lecture_Units`, `Subject_Laboratory_Units`, `Subject_Lecture_Hours`, `Subject_Laboratory_Hours`, `Subject_Tuition_Hours`, `Subject_Type`, `Subject_Group`, `Subject_Credited_Units`, `Subject_Display_Stat`, `Subject_Date_Added`, `Subject_Date_Updated`) VALUES (65, '4LxDhvXMWqBMCFnVXJc8ZA==', 't5a7ymD9Jb37vRi8gnxDgMLcM8nX4DbkR3uUrw12bbQ=', 3, 0, 3, 0, 3, 'Academic', 0, 3, 'Active', '2018-07-30 19:11:50', '2018-07-30 19:11:50'), (66, 'CeIl1Elz9hPJWNJOZ1xLtA==', 'KhB8qIyylgXxqOlL1n5QINZ438BPqqHO6Wr5ykZG6/vb5jlFH9WvDmOINZ+31Vghcb6AmD7S3X85Ji8l5lLV0Q==', 2, 1, 2, 3, 3, 'Academic', 0, 3, 'Active', '2018-07-30 19:12:15', '2018-08-02 06:03:11'), (67, 'QUTN3cNHxr+i8vpKAl7g6w==', 'N9zSAZx9L+fS8U40tuoMiZpjVZIIRcbBi0j24QaeSRMsvWiRgec/qvjcUA3DJN6z', 2, 1, 2, 3, 3, 'Academic', 0, 3, 'Active', '2018-07-30 19:12:57', '2018-08-02 06:03:18'), (68, '0QHU1UkMdZM9mX2pRNxHuQ==', 'itzqSddl8THd/ZNOAXbAEw==', 2, 1, 2, 3, 3, 'Academic', NULL, 3, 'Active', '2018-07-30 19:14:31', '2018-09-03 21:12:44'), (69, '22VkeEJJDPg4341vpxADJA==', '2C+tjiDifDw8KBiID2x38kCjhGOsI0nEAgZpj++EruxBcblKHax1QGYdsaOQ7KSz', 3, 0, 3, 0, 3, 'Academic', 0, 3, 'Active', '2018-07-30 19:15:04', '2018-07-30 19:15:04'), (70, '6bPMKx4UE9Ydatalk582Zw==', 's1x/ZZx9PU9KKa1R1on5b8cdh2xXAXfV77CO9cBUK2MsRkN/CLS0vtZ3+CHoWjM2', 3, 0, 3, 0, 3, 'Academic', NULL, 3, 'Active', '2018-07-30 19:15:34', '2018-09-02 15:03:27'), (71, 'Dff9+GMBIe+FqCbvNP9qaA==', 'o/fOHE4UsHykF+GPrvk4Hsh/voMs2k3QogME0ncFxuE/YQGndKT5ljTI5txe1mtI', 3, 0, 3, 0, 3, 'Academic', 0, 3, 'Active', '2018-07-30 19:15:53', '2018-07-30 19:15:53'), (72, 'Sj1LAzaGAofW1MwTgPTo3Q==', 'hkKBoN2MbbsJWOFWpqsjSXsL6EongZeCFe1cdBN9Uo0R6Q9I34/iNaa8VApebT2g', 3, 0, 3, 0, 3, 'Academic', 0, 3, 'Active', '2018-07-30 19:16:08', '2018-07-30 19:16:08'), (73, 'vsDRVTBKRUw5m+hIAQLk+g==', 'ApjXPc6XZRXuJizT/YmgxQV6NOlExVrjqo19tP+dIvYPI1PXijZ9uEfQ3L2FLimU', 3, 0, 3, 0, 3, 'Academic', 0, 3, 'Active', '2018-07-30 19:16:25', '2018-07-30 19:16:25'), (74, '6NQGA7ZJOeYRvD9/s2Ztrg==', '949544fRUWyxIQIa+PxLel3MpEqz7w2CLz73M7VRoqE=', 3, 0, 3, 0, 3, 'Academic', 0, 3, 'Active', '2018-07-30 19:16:42', '2018-07-30 19:16:42'), (75, 'KvbJ6WzKrFEB1+DLHng+GQ==', 'Ene5pJ6t7Bo9Lc1/IGrfHJ3avG2cz8n132FlLgCdLnlCddil/xIMVwVNpm98qP0+', 3, 0, 3, 0, 3, 'Academic', 0, 3, 'Active', '2018-07-30 19:16:59', '2018-07-30 19:16:59'), (76, 'zEuJ4MmbtWtmjZ640rocvg==', 'NskNzI6T706Wv7hkAfwcxEeM2BBQf/xqMmQ0P4QCTnw=', 3, 0, 3, 0, 3, 'Academic', 0, 3, 'Active', '2018-07-30 19:17:14', '2018-07-30 19:17:14'), (77, 't+YP/GXIaxGDzsKM2QPXxg==', '7aR0BJRU799yr1GBkuRAXei1/lyOh4pui17PwFXAvto=', 3, 0, 3, 0, 3, 'Academic', 0, 3, 'Active', '2018-07-30 19:17:38', '2018-07-30 19:17:38'), (78, 'XJf0kdFO3vw55L0APpPIKg==', 'aG0z4wspUvg8hlfXYoMYsg==', 3, 0, 3, 0, 3, 'Academic', 0, 3, 'Active', '2018-07-30 19:18:03', '2018-07-30 19:18:03'), (79, 'zN3nft48KV88eMysv80Vmw==', 'oSPbPQMTMGLdDSmkyhDrbQd5sPgo6J4AuLim2Do+4mLWQ7XIB5y6cl2Zrt80F9R0', 3, 0, 3, 0, 3, 'Academic', 0, 3, 'Active', '2018-07-30 19:18:29', '2018-07-30 19:18:29'), (80, 'SbIUtEsH115Ql6HPMxi39A==', '+LHuJDgP+iT5LW3q6dUDWQ==', 3, 0, 3, 0, 3, 'Non-Academic', 0, 3, 'Active', '2018-07-30 19:46:11', '2018-07-30 19:46:11'), (81, 'JzBLnP0WA5icTSbuXtSaUw==', 'ORDOBPDvvC6HM/kHhw4tIA==', 3, 0, 3, 0, 3, 'Non-Academic', 0, 3, 'Active', '2018-07-30 19:46:24', '2018-07-30 19:46:24'), (82, 'MI6XosgO5h106L7LPx08yA==', 'Zus95WrUIt3kpPIKkDvsh+k8/ViPW574tEjY90dNrxgmcmNBwK/ZoMO+V+NvQ7xg', 3, 0, 3, 0, 3, 'Non-Academic', 80, 3, 'Active', '2018-07-30 19:47:03', '2018-07-30 19:47:03'), (83, '2+c5lyP1MXPUk/mNdyJhVw==', 'p3Epn713d5L3HdKSxJQp/DePVoPRIxMjhVbSRQ6dhPKkTch5TdvrnBRwkurijCzr', 3, 0, 3, 0, 3, 'Non-Academic', 80, 3, 'Active', '2018-07-30 19:47:27', '2018-07-30 19:47:27'), (84, 'hq98mJdu/MoelVZfQR3LNw==', 'p3Epn713d5L3HdKSxJQp/DePVoPRIxMjhVbSRQ6dhPLLnP/XTE5W5ZzFY8736O8H', 2, 0, 3, 0, 3, 'Non-Academic', 81, 3, 'Active', '2018-08-21 21:37:26', '2018-08-21 21:37:26'), (85, '0AyW1OoSyHoTO9M5yWR/nw==', 'Zus95WrUIt3kpPIKkDvsh06TdII2EHuPt3fHNYxiBQbKvwKInXX2jmINtoPKnQ/c', 3, 0, 3, 0, 3, 'Non-Academic', 81, 3, 'Active', '2018-08-21 21:38:09', '2018-08-21 21:38:09'); -- -------------------------------------------------------- -- -- Table structure for table `r_subject_fee` -- CREATE TABLE `r_subject_fee` ( `Subject_Fee_ID` int(11) NOT NULL, `Subject_Fee_AcademicYearID` int(11) NOT NULL, `Subject_Fee_SubjectID` int(11) NOT NULL, `Subject_Fee_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Subject_Fee_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Subject_Fee_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_subject_fee` -- INSERT INTO `r_subject_fee` (`Subject_Fee_ID`, `Subject_Fee_AcademicYearID`, `Subject_Fee_SubjectID`, `Subject_Fee_Display_Status`, `Subject_Fee_Date_Added`, `Subject_Fee_Date_Updated`) VALUES (1, 2, 84, 'Active', '2018-08-26 19:53:56', '2018-08-26 19:53:56'); -- -------------------------------------------------------- -- -- Table structure for table `r_subject_fee_items` -- CREATE TABLE `r_subject_fee_items` ( `Subject_Fee_Items_ID` int(11) NOT NULL, `Subject_Fee_Items_SubjectFeeID` int(11) NOT NULL, `Subject_Fee_Items_FeeID` int(11) NOT NULL, `Subject_Fee_Items_Amount` decimal(10,2) NOT NULL, `Subject_Fee_Items_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Subject_Fee_Items_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Subject_Fee_Items_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_subject_fee_items` -- INSERT INTO `r_subject_fee_items` (`Subject_Fee_Items_ID`, `Subject_Fee_Items_SubjectFeeID`, `Subject_Fee_Items_FeeID`, `Subject_Fee_Items_Amount`, `Subject_Fee_Items_Display_Status`, `Subject_Fee_Items_Date_Added`, `Subject_Fee_Items_Date_Updated`) VALUES (1, 1, 15, '150.00', 'Active', '2018-08-26 19:53:56', '2018-08-26 19:53:56'), (2, 1, 13, '50.00', 'Active', '2018-08-26 20:01:45', '2018-08-26 20:01:45'); -- -------------------------------------------------------- -- -- Table structure for table `r_tuition_fee` -- CREATE TABLE `r_tuition_fee` ( `Tuition_Fee_ID` int(11) NOT NULL, `Tuition_Fee_AcademicYearID` int(11) NOT NULL, `Tuition_Fee_CourseID` int(11) NOT NULL, `Tuition_Fee_Year_Level` enum('1','2','3','4','5') NOT NULL, `Tuition_Fee_Amount` decimal(10,2) NOT NULL, `Tuition_Fee_Display_Status` enum('Active','Inactive') NOT NULL, `Tuition_Fee_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Tuition_Fee_Date-Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `r_unit_fee` -- CREATE TABLE `r_unit_fee` ( `Unit_Fee_ID` int(11) NOT NULL, `Unit_Fee_Description` varchar(200) NOT NULL, `Unit_Fee_Amount` decimal(10,2) NOT NULL, `Unit_Fee_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Unit_Fee_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Unit_Fee_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_unit_fee` -- INSERT INTO `r_unit_fee` (`Unit_Fee_ID`, `Unit_Fee_Description`, `Unit_Fee_Amount`, `Unit_Fee_Display_Status`, `Unit_Fee_Date_Added`, `Unit_Fee_Date_Updated`) VALUES (2, 'pHay1L+45QHi7eKcZH2+Mg==', '300.00', 'Active', '2018-08-20 22:47:00', '2018-08-20 22:47:00'); -- -------------------------------------------------------- -- -- Table structure for table `r_user_account` -- CREATE TABLE `r_user_account` ( `User_Account_ID` int(11) NOT NULL, `User_Account_Reference` int(11) NOT NULL, `User_Account_Type` enum('Registrar','Student','Faculty','Admin','Cashier') NOT NULL, `User_Account_Username` varchar(100) NOT NULL, `User_Account_Password` varchar(100) NOT NULL, `User_Account_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `User_Account_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `User_Account_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `r_user_account` -- INSERT INTO `r_user_account` (`User_Account_ID`, `User_Account_Reference`, `User_Account_Type`, `User_Account_Username`, `User_Account_Password`, `User_Account_Display_Status`, `User_Account_Date_Added`, `User_Account_Date_Updated`) VALUES (2, 2, 'Admin', 'y+mVyG5T+ATd37oOK30C5A==', 'y+mVyG5T+ATd37oOK30C5A==', 'Active', '2018-07-27 16:28:55', '2018-07-27 19:02:39'), (3, 1, 'Registrar', 'dmncaAX9FRAIBHjb4acBeg==', 'dmncaAX9FRAIBHjb4acBeg==', 'Active', '2018-07-29 09:30:51', '2018-07-29 09:30:51'), (4, 1, 'Cashier', 'mN4YjK/gxTX+IIx+gIBsFA==', 'mN4YjK/gxTX+IIx+gIBsFA==', 'Active', '2018-08-02 14:14:50', '2018-08-02 14:14:50'), (20, 5, 'Faculty', 'gu1lL4wf7RCapJENXiuyPQ==', 'gu1lL4wf7RCapJENXiuyPQ==', 'Active', '2018-08-30 17:02:34', '2018-08-30 17:02:34'), (23, 6, 'Faculty', 'eeNTOfE46teUCDiKhEWlUA==', 'eeNTOfE46teUCDiKhEWlUA==', 'Active', '2018-08-31 01:15:29', '2018-08-31 01:15:29'), (25, 7, 'Faculty', 'k6IXfpOwTkFgxQ2YVWdzVQ==', 'k6IXfpOwTkFgxQ2YVWdzVQ==', 'Active', '2018-09-01 15:27:02', '2018-09-01 15:27:02'), (26, 6, 'Student', 'OdICL0b4JffaA+iN8N2KnQ==', 'OdICL0b4JffaA+iN8N2KnQ==', 'Active', '2018-09-01 16:03:08', '2018-09-01 16:03:08'), (27, 7, 'Student', 'vUhkbStK1Suay8gSvPR1xA==', 'vUhkbStK1Suay8gSvPR1xA==', 'Active', '2018-09-01 16:04:17', '2018-09-01 16:04:17'), (28, 8, 'Student', 'X25gHwy8AqQsBIyqq2JPAA==', 'X25gHwy8AqQsBIyqq2JPAA==', 'Active', '2018-09-01 20:48:30', '2018-09-01 20:48:30'), (29, 8, 'Faculty', 'gu1lL4wf7RCapJENXiuyPQ==', 'gu1lL4wf7RCapJENXiuyPQ==', 'Active', '2018-09-04 14:33:14', '2018-09-04 14:33:14'), (30, 9, 'Faculty', 'eeNTOfE46teUCDiKhEWlUA==', 'eeNTOfE46teUCDiKhEWlUA==', 'Active', '2018-09-04 14:33:30', '2018-09-04 14:33:30'), (31, 10, 'Faculty', 'k6IXfpOwTkFgxQ2YVWdzVQ==', 'k6IXfpOwTkFgxQ2YVWdzVQ==', 'Active', '2018-09-04 14:34:47', '2018-09-04 14:34:47'), (32, 11, 'Faculty', '/E09iG7+BnJNKmwDWRLp8w==', '/E09iG7+BnJNKmwDWRLp8w==', 'Active', '2018-09-04 14:35:43', '2018-09-04 14:35:43'), (33, 12, 'Faculty', '20KPeQciPfYF+UBhFE/dxg==', '20KPeQciPfYF+UBhFE/dxg==', 'Active', '2018-09-04 14:39:14', '2018-09-04 14:39:14'), (34, 13, 'Faculty', 'HbxloNFMAjyJFr3VeN024A==', 'HbxloNFMAjyJFr3VeN024A==', 'Active', '2018-09-04 14:41:35', '2018-09-04 14:41:35'), (35, 14, 'Faculty', '7BzvKv1SFkBIhcFVfuUx/w==', '7BzvKv1SFkBIhcFVfuUx/w==', 'Active', '2018-09-04 14:43:48', '2018-09-04 14:43:48'), (36, 15, 'Faculty', 'rwXrq1axOfu/oPh2T/MVaw==', 'rwXrq1axOfu/oPh2T/MVaw==', 'Active', '2018-09-04 14:44:58', '2018-09-04 14:44:58'), (37, 16, 'Faculty', 'w/nhYQuOZ+zb99FTFPonAQ==', 'w/nhYQuOZ+zb99FTFPonAQ==', 'Active', '2018-09-04 14:46:08', '2018-09-04 14:46:08'), (38, 17, 'Faculty', 'mi+Ao6OYKoW/618/MMOVlw==', 'mi+Ao6OYKoW/618/MMOVlw==', 'Active', '2018-09-04 14:47:35', '2018-09-04 14:47:35'); -- -------------------------------------------------------- -- -- Table structure for table `t_assign_section_fee_item` -- CREATE TABLE `t_assign_section_fee_item` ( `Assign_Section_Fee_Item_ID` int(11) NOT NULL, `Assign_Section_Fee_Item_Section_ID` int(11) NOT NULL, `Assign_Section_Fee_Item_Fee_ID` int(11) NOT NULL, `Assign_Section_Fee_Item_Display_Status` enum('Active','Inactive') NOT NULL, `Assign_Section_Fee_Item_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Assign_Section_Fee_Item_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `t_enrollment` -- CREATE TABLE `t_enrollment` ( `Enrollment_ID` int(11) NOT NULL, `Enrollment_Student_Account_ID` int(11) NOT NULL, `Enrollment_Academic_Year_ID` int(11) NOT NULL, `Enrollment_Course_ID` int(11) NOT NULL, `Enrollment_Semester_ID` int(11) NOT NULL, `Enrollment_Section_ID` int(11) NOT NULL, `Enrollment_Assign_Section_Curriculum_ID` int(11) NOT NULL, `Enrollment_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Enrollment_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Enrollment_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `t_enrollment_status` -- CREATE TABLE `t_enrollment_status` ( `Enrollment_Status_ID` int(11) NOT NULL, `Enrollment_Status_Section_ID` int(11) NOT NULL, `Enrollment_Status_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Enrollment_Status_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Enrollment_Status_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `t_payment` -- CREATE TABLE `t_payment` ( `Payment_ID` int(11) NOT NULL, `Payment_Student_Account_ID` int(11) NOT NULL, `Payment_Balance` decimal(10,2) NOT NULL, `Payment_Display_Status` enum('Active','Inactive') NOT NULL, `Payment_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Payment_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `t_payment_history` -- CREATE TABLE `t_payment_history` ( `Payment_History_ID` int(11) NOT NULL, `Payment_History_Payment_ID` int(11) NOT NULL, `Payment_History_Paymount_Amount` int(11) NOT NULL, `Payment_History_Remaining_Balance` int(11) NOT NULL, `Payment_History_Display_Status` enum('Active','Inactive') NOT NULL, `Payment_History_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Payment_History_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `t_schedule` -- CREATE TABLE `t_schedule` ( `Schedule_ID` int(11) NOT NULL, `Schedule_ProfessorID` int(11) DEFAULT NULL, `Schedule_CurriculumItemID` int(11) NOT NULL, `Schedule_SectionID` int(11) NOT NULL, `Schedule_ChildrenID` int(11) DEFAULT NULL, `Schedule_AcademicYearID` int(11) NOT NULL, `Schedule_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Schedule_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Schedule_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `t_schedule` -- INSERT INTO `t_schedule` (`Schedule_ID`, `Schedule_ProfessorID`, `Schedule_CurriculumItemID`, `Schedule_SectionID`, `Schedule_ChildrenID`, `Schedule_AcademicYearID`, `Schedule_Display_Status`, `Schedule_Date_Added`, `Schedule_Date_Updated`) VALUES (23, 15, 88, 6, NULL, 1, 'Active', '2018-09-04 15:48:30', '2018-09-04 15:48:30'), (24, 9, 87, 6, NULL, 1, 'Active', '2018-09-04 15:48:43', '2018-09-04 15:48:43'), (25, 9, 86, 6, NULL, 1, 'Active', '2018-09-04 15:49:41', '2018-09-04 15:49:41'), (26, 14, 89, 6, 82, 1, 'Active', '2018-09-04 15:50:01', '2018-09-04 15:50:01'), (27, 10, 89, 6, 83, 1, 'Active', '2018-09-04 15:51:03', '2018-09-04 15:51:03'); -- -------------------------------------------------------- -- -- Table structure for table `t_schedule_items` -- CREATE TABLE `t_schedule_items` ( `Schedule_Items_ID` int(11) NOT NULL, `Schedule_Items_ScheduleID` int(11) NOT NULL, `Schedule_Items_RoomID` int(11) DEFAULT NULL, `Schedule_Items_Date` enum('M','T','W','TH','F','S','SU') NOT NULL, `Schedule_Items_Time_Start` time NOT NULL DEFAULT '00:00:00', `Schedule_Items_Time_End` time NOT NULL DEFAULT '00:00:00', `Schedule_Items_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Schedule_Items_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Schedule_Items_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `t_schedule_items` -- INSERT INTO `t_schedule_items` (`Schedule_Items_ID`, `Schedule_Items_ScheduleID`, `Schedule_Items_RoomID`, `Schedule_Items_Date`, `Schedule_Items_Time_Start`, `Schedule_Items_Time_End`, `Schedule_Items_Display_Status`, `Schedule_Items_Date_Added`, `Schedule_Items_Date_Updated`) VALUES (29, 23, 4, 'T', '07:30:00', '10:30:00', 'Active', '2018-09-04 15:48:30', '2018-09-04 15:48:30'), (30, 24, 4, 'T', '07:30:00', '07:30:00', 'Active', '2018-09-04 15:48:43', '2018-09-04 15:48:43'), (31, 25, NULL, 'T', '07:30:00', '10:30:00', 'Active', '2018-09-04 15:49:41', '2018-09-04 15:49:41'), (32, 26, 2, 'SU', '07:30:00', '10:30:00', 'Active', '2018-09-04 15:50:01', '2018-09-04 15:50:01'), (33, 27, 6, 'SU', '13:30:00', '16:30:00', 'Active', '2018-09-04 15:51:03', '2018-09-04 15:51:03'); -- -------------------------------------------------------- -- -- Table structure for table `t_students_grade` -- CREATE TABLE `t_students_grade` ( `Students_Grade_ID` int(11) NOT NULL, `Students_Grade_StudentTakenCurriculumSubjectID` int(11) NOT NULL, `Students_Grade_FacultyID` int(11) DEFAULT NULL, `Students_Grade_Grade` enum('1.00','1.25','1.50','1.75','2.00','2.25','2.50','2.75','3.00','5.00','I','Not S','D') NOT NULL, `Students_Grade_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Students_Grade_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Students_Grade_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `t_student_account` -- CREATE TABLE `t_student_account` ( `Student_Account_ID` int(11) NOT NULL, `Student_Account_Student_Profile_ID` int(11) NOT NULL, `Student_Account_Student_Number` varchar(100) NOT NULL, `Student_Account_Scholastic_Status` enum('Regular','Regular(Warning)','Irregular') NOT NULL, `Student_Account_Year` enum('First Year','Second Year','Third Year','Fourth Year','Fifth Year') NOT NULL, `Student_Account_CourseID` int(11) NOT NULL, `Student_Account_SectionID` int(11) NOT NULL, `Student_Account_CampusID` int(11) NOT NULL, `Student_Account_CurriculumYearID` int(11) NOT NULL, `Student_Account_Type` enum('New Enrollee','Transferee') NOT NULL, `Student_Account_Display_Status` enum('Active','Inactive') DEFAULT 'Active', `Student_Account_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Student_Account_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `t_student_enrolled` -- CREATE TABLE `t_student_enrolled` ( `Student_Enrolled_ID` int(11) NOT NULL, `Student_Enrolled_StudentAccountID` int(11) NOT NULL, `Student_Enrolled_AcadamicYearID` int(11) NOT NULL, `Student_Enrolled_SemesterID` int(11) NOT NULL, `Student_Enrolled_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Student_Enrolled_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Student_Enrolled_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `t_student_taken_curriculum_subject` -- CREATE TABLE `t_student_taken_curriculum_subject` ( `Student_Taken_Curriculum_Subject_ID` int(11) NOT NULL, `Student_Taken_Curriculum_Subject_SubjectID` int(11) NOT NULL, `Student_Taken_Curriculum_Subject_StudentAccountID` int(11) NOT NULL, `Student_Taken_Curriculum_Subject_Taken_Status` enum('true','false') NOT NULL, `Student_Taken_Curriculum_Subject_YearLevel` enum('First Year','Second Year','Third Year','Fourth Year','Fifth Year') DEFAULT 'First Year', `Student_Taken_Curriculum_Subject_SemesterID` int(11) DEFAULT NULL, `Student_Taken_Curriculum_Subject_AcademicIYearID` int(11) DEFAULT NULL, `Student_Taken_Curriculum_Subject_SectionID` int(11) DEFAULT NULL, `Student_Taken_Curriculum_Subject_CourseID` int(11) DEFAULT NULL, `Student_Taken_Curriculum_Subject_Display_Status` enum('Active','Inactive') NOT NULL DEFAULT 'Active', `Student_Taken_Curriculum_Subject_Date_Added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `Student_Taken_Curriculum_Subject_Date_Updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Indexes for dumped tables -- -- -- Indexes for table `r_academic_year` -- ALTER TABLE `r_academic_year` ADD PRIMARY KEY (`Academic_Year_ID`); -- -- Indexes for table `r_admin` -- ALTER TABLE `r_admin` ADD PRIMARY KEY (`Admin_ID`); -- -- Indexes for table `r_awards` -- ALTER TABLE `r_awards` ADD PRIMARY KEY (`Awards_ID`); -- -- Indexes for table `r_campus` -- ALTER TABLE `r_campus` ADD PRIMARY KEY (`Campus_ID`); -- -- Indexes for table `r_campus_course` -- ALTER TABLE `r_campus_course` ADD PRIMARY KEY (`Campus_Course_ID`), ADD KEY `Campus_Course_CourseID` (`Campus_Course_CourseID`), ADD KEY `Campus_Course_CampusID` (`Campus_Course_CampusID`); -- -- Indexes for table `r_cashier` -- ALTER TABLE `r_cashier` ADD PRIMARY KEY (`Cashier_ID`); -- -- Indexes for table `r_course` -- ALTER TABLE `r_course` ADD PRIMARY KEY (`Course_ID`); -- -- Indexes for table `r_course_fee` -- ALTER TABLE `r_course_fee` ADD PRIMARY KEY (`Course_Fee_ID`), ADD KEY `Course_Fee_CourseID` (`Course_Fee_CourseID`), ADD KEY `Course_Fee_AcademicYearID` (`Course_Fee_AcademicYearID`); -- -- Indexes for table `r_course_fee_items` -- ALTER TABLE `r_course_fee_items` ADD PRIMARY KEY (`Course_Fee_Item_ID`), ADD KEY `Course_Fee_Item_CourseFeeID` (`Course_Fee_Item_CourseFeeID`), ADD KEY `Course_Fee_Item_FeeID` (`Course_Fee_Item_FeeID`); -- -- Indexes for table `r_curriculum` -- ALTER TABLE `r_curriculum` ADD PRIMARY KEY (`Curriculum_ID`), ADD KEY `Curriculum_SemesterID` (`Curriculum_SemesterID`), ADD KEY `Curriculum_CourseID` (`Curriculum_CourseID`), ADD KEY `Curriculum_CurriculumYearID` (`Curriculum_CurriculumYearID`); -- -- Indexes for table `r_curriculumitem` -- ALTER TABLE `r_curriculumitem` ADD PRIMARY KEY (`CurriculumItem_ID`), ADD KEY `FK_CurriculumItem_CurriculumID` (`CurriculumItem_CurriculumID`), ADD KEY `FK_CurriculumItem_SubjectID` (`CurriculumItem_SubjectID`); -- -- Indexes for table `r_curriculumyear` -- ALTER TABLE `r_curriculumyear` ADD PRIMARY KEY (`CurriculumYear_ID`); -- -- Indexes for table `r_degree` -- ALTER TABLE `r_degree` ADD PRIMARY KEY (`Degree_ID`); -- -- Indexes for table `r_documents` -- ALTER TABLE `r_documents` ADD PRIMARY KEY (`Documents_ID`); -- -- Indexes for table `r_faculty_degree` -- ALTER TABLE `r_faculty_degree` ADD PRIMARY KEY (`Faculty_Degree_ID`), ADD KEY `Faculty_Degree_DegreeID` (`Faculty_Degree_DegreeID`), ADD KEY `Faculty_Degree_ProfessorID` (`Faculty_Degree_ProfessorID`); -- -- Indexes for table `r_faculty_subject` -- ALTER TABLE `r_faculty_subject` ADD PRIMARY KEY (`Faculty_Subject_ID`), ADD KEY `Faculty_Subject_SubjectID` (`Faculty_Subject_SubjectID`), ADD KEY `Faculty_Subject_ProfessorID` (`Faculty_Subject_ProfessorID`); -- -- Indexes for table `r_fee` -- ALTER TABLE `r_fee` ADD PRIMARY KEY (`Fee_ID`); -- -- Indexes for table `r_grade_opening` -- ALTER TABLE `r_grade_opening` ADD PRIMARY KEY (`Grade_Opening_ID`); -- -- Indexes for table `r_mandatory_fee` -- ALTER TABLE `r_mandatory_fee` ADD PRIMARY KEY (`Mandatory_Fee_ID`), ADD KEY `Mandatory_Fee_FeeID` (`Mandatory_Fee_FeeID`), ADD KEY `Mandatory_Fee_AcademicYearID` (`Mandatory_Fee_AcademicYearID`); -- -- Indexes for table `r_prerequisite` -- ALTER TABLE `r_prerequisite` ADD PRIMARY KEY (`Prerequisite_ID`), ADD KEY `Prerequisite_Main_SubjectID` (`Prerequisite_Main_SubjectID`), ADD KEY `Prerequisite_Prequisite_SubjectID` (`Prerequisite_Prequisite_SubjectID`); -- -- Indexes for table `r_professor` -- ALTER TABLE `r_professor` ADD PRIMARY KEY (`Professor_ID`); -- -- Indexes for table `r_registation_opening` -- ALTER TABLE `r_registation_opening` ADD PRIMARY KEY (`Registation_Opening_ID`), ADD KEY `Registation_Opening_CourseID` (`Registation_Opening_CourseID`); -- -- Indexes for table `r_registrar` -- ALTER TABLE `r_registrar` ADD PRIMARY KEY (`Registrar_ID`); -- -- Indexes for table `r_room` -- ALTER TABLE `r_room` ADD PRIMARY KEY (`Room_ID`), ADD KEY `Room_CampusID` (`Room_CampusID`); -- -- Indexes for table `r_section` -- ALTER TABLE `r_section` ADD PRIMARY KEY (`Section_ID`), ADD KEY `Section_CourseID` (`Section_CourseID`), ADD KEY `Section_CampusID` (`Section_CampusID`); -- -- Indexes for table `r_semester` -- ALTER TABLE `r_semester` ADD PRIMARY KEY (`Semester_ID`); -- -- Indexes for table `r_student_application` -- ALTER TABLE `r_student_application` ADD PRIMARY KEY (`Student_Application_ID`), ADD KEY `Student_Application_StudentProfileID` (`Student_Application_StudentProfileID`); -- -- Indexes for table `r_student_document` -- ALTER TABLE `r_student_document` ADD PRIMARY KEY (`Student_Document_ID`), ADD KEY `Student_Document_StudentApplicationID` (`Student_Document_StudentApplicationID`), ADD KEY `Student_Document_DocumentID` (`Student_Document_DocumentID`); -- -- Indexes for table `r_student_profile` -- ALTER TABLE `r_student_profile` ADD PRIMARY KEY (`Student_Profile_ID`); -- -- Indexes for table `r_subject` -- ALTER TABLE `r_subject` ADD PRIMARY KEY (`Subject_ID`); -- -- Indexes for table `r_subject_fee` -- ALTER TABLE `r_subject_fee` ADD PRIMARY KEY (`Subject_Fee_ID`), ADD KEY `Subject_Fee_AcademicYearID` (`Subject_Fee_AcademicYearID`), ADD KEY `Subject_Fee_SubjectID` (`Subject_Fee_SubjectID`); -- -- Indexes for table `r_subject_fee_items` -- ALTER TABLE `r_subject_fee_items` ADD PRIMARY KEY (`Subject_Fee_Items_ID`), ADD KEY `Subject_Fee_Items_FeeID` (`Subject_Fee_Items_FeeID`), ADD KEY `Subject_Fee_Items_SubjectFeeID` (`Subject_Fee_Items_SubjectFeeID`); -- -- Indexes for table `r_tuition_fee` -- ALTER TABLE `r_tuition_fee` ADD PRIMARY KEY (`Tuition_Fee_ID`), ADD KEY `Tuition_Fee_AcademicYearID` (`Tuition_Fee_AcademicYearID`), ADD KEY `Tuition_Fee_CourseID` (`Tuition_Fee_CourseID`); -- -- Indexes for table `r_unit_fee` -- ALTER TABLE `r_unit_fee` ADD PRIMARY KEY (`Unit_Fee_ID`); -- -- Indexes for table `r_user_account` -- ALTER TABLE `r_user_account` ADD PRIMARY KEY (`User_Account_ID`); -- -- Indexes for table `t_assign_section_fee_item` -- ALTER TABLE `t_assign_section_fee_item` ADD PRIMARY KEY (`Assign_Section_Fee_Item_ID`), ADD KEY `Assign_Curriculum_Fee_Item_Fee_ID` (`Assign_Section_Fee_Item_Fee_ID`), ADD KEY `Assign_Curriculum_Fee_Item_Curriculum_ID` (`Assign_Section_Fee_Item_Section_ID`); -- -- Indexes for table `t_enrollment` -- ALTER TABLE `t_enrollment` ADD PRIMARY KEY (`Enrollment_ID`), ADD KEY `Enrollment_Academic_Year_ID` (`Enrollment_Academic_Year_ID`), ADD KEY `Enrollment_Course_ID` (`Enrollment_Course_ID`), ADD KEY `Enrollment_Semester_ID` (`Enrollment_Semester_ID`), ADD KEY `Enrollment_Assign_Section_Curriculum_ID` (`Enrollment_Assign_Section_Curriculum_ID`), ADD KEY `Enrollment_Student_Account_ID` (`Enrollment_Student_Account_ID`); -- -- Indexes for table `t_enrollment_status` -- ALTER TABLE `t_enrollment_status` ADD PRIMARY KEY (`Enrollment_Status_ID`); -- -- Indexes for table `t_payment` -- ALTER TABLE `t_payment` ADD PRIMARY KEY (`Payment_ID`), ADD KEY `Payment_Student_Account_ID` (`Payment_Student_Account_ID`); -- -- Indexes for table `t_payment_history` -- ALTER TABLE `t_payment_history` ADD PRIMARY KEY (`Payment_History_ID`), ADD KEY `Payment_History_Payment_ID` (`Payment_History_Payment_ID`); -- -- Indexes for table `t_schedule` -- ALTER TABLE `t_schedule` ADD PRIMARY KEY (`Schedule_ID`), ADD KEY `Schedule_CurriculumItemID` (`Schedule_CurriculumItemID`), ADD KEY `Schedule_ProfessorID` (`Schedule_ProfessorID`), ADD KEY `Schedule_SectionID` (`Schedule_SectionID`), ADD KEY `Schedule_ChildrenID` (`Schedule_ChildrenID`), ADD KEY `Schedule_AcademicYearID` (`Schedule_AcademicYearID`); -- -- Indexes for table `t_schedule_items` -- ALTER TABLE `t_schedule_items` ADD PRIMARY KEY (`Schedule_Items_ID`), ADD KEY `Schedule_Items_ScheduleID` (`Schedule_Items_ScheduleID`), ADD KEY `Schedule_Items_RoomID` (`Schedule_Items_RoomID`); -- -- Indexes for table `t_students_grade` -- ALTER TABLE `t_students_grade` ADD PRIMARY KEY (`Students_Grade_ID`), ADD KEY `Students_Grade_StudentTakenCurriculumSubjectID` (`Students_Grade_StudentTakenCurriculumSubjectID`), ADD KEY `Students_Grade_FacultyID` (`Students_Grade_FacultyID`); -- -- Indexes for table `t_student_account` -- ALTER TABLE `t_student_account` ADD PRIMARY KEY (`Student_Account_ID`), ADD KEY `Student_Account_Student_Profile_ID` (`Student_Account_Student_Profile_ID`), ADD KEY `Student_Account_CourseID` (`Student_Account_CourseID`), ADD KEY `Student_Account_SectionID` (`Student_Account_SectionID`), ADD KEY `Student_Account_CampusID` (`Student_Account_CampusID`), ADD KEY `t_student_account_ibfk_4` (`Student_Account_CurriculumYearID`); -- -- Indexes for table `t_student_enrolled` -- ALTER TABLE `t_student_enrolled` ADD PRIMARY KEY (`Student_Enrolled_ID`), ADD KEY `Student_Enrolled_StudentAccountID` (`Student_Enrolled_StudentAccountID`), ADD KEY `Student_Enrolled_AcadamicYearID` (`Student_Enrolled_AcadamicYearID`), ADD KEY `Student_Enrolled_SemesterID` (`Student_Enrolled_SemesterID`); -- -- Indexes for table `t_student_taken_curriculum_subject` -- ALTER TABLE `t_student_taken_curriculum_subject` ADD PRIMARY KEY (`Student_Taken_Curriculum_Subject_ID`), ADD KEY `Student_Taken_Curriculum_Subject_SemesterID` (`Student_Taken_Curriculum_Subject_SemesterID`), ADD KEY `Student_Taken_Curriculum_Subject_AcademicIYearID` (`Student_Taken_Curriculum_Subject_AcademicIYearID`), ADD KEY `Student_Taken_Curriculum_Subject_SubjectID` (`Student_Taken_Curriculum_Subject_SubjectID`), ADD KEY `Student_Taken_Curriculum_Subject_StudentAccountID` (`Student_Taken_Curriculum_Subject_StudentAccountID`), ADD KEY `Student_Taken_Curriculum_Subject_SectionID` (`Student_Taken_Curriculum_Subject_SectionID`), ADD KEY `Student_Taken_Curriculum_Subject_CourseID` (`Student_Taken_Curriculum_Subject_CourseID`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `r_academic_year` -- ALTER TABLE `r_academic_year` MODIFY `Academic_Year_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `r_admin` -- ALTER TABLE `r_admin` MODIFY `Admin_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `r_awards` -- ALTER TABLE `r_awards` MODIFY `Awards_ID` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `r_campus` -- ALTER TABLE `r_campus` MODIFY `Campus_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `r_campus_course` -- ALTER TABLE `r_campus_course` MODIFY `Campus_Course_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; -- -- AUTO_INCREMENT for table `r_cashier` -- ALTER TABLE `r_cashier` MODIFY `Cashier_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `r_course` -- ALTER TABLE `r_course` MODIFY `Course_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19; -- -- AUTO_INCREMENT for table `r_course_fee` -- ALTER TABLE `r_course_fee` MODIFY `Course_Fee_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `r_course_fee_items` -- ALTER TABLE `r_course_fee_items` MODIFY `Course_Fee_Item_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `r_curriculum` -- ALTER TABLE `r_curriculum` MODIFY `Curriculum_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=65; -- -- AUTO_INCREMENT for table `r_curriculumitem` -- ALTER TABLE `r_curriculumitem` MODIFY `CurriculumItem_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=101; -- -- AUTO_INCREMENT for table `r_curriculumyear` -- ALTER TABLE `r_curriculumyear` MODIFY `CurriculumYear_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `r_degree` -- ALTER TABLE `r_degree` MODIFY `Degree_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16; -- -- AUTO_INCREMENT for table `r_documents` -- ALTER TABLE `r_documents` MODIFY `Documents_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `r_faculty_degree` -- ALTER TABLE `r_faculty_degree` MODIFY `Faculty_Degree_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16; -- -- AUTO_INCREMENT for table `r_faculty_subject` -- ALTER TABLE `r_faculty_subject` MODIFY `Faculty_Subject_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=58; -- -- AUTO_INCREMENT for table `r_fee` -- ALTER TABLE `r_fee` MODIFY `Fee_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16; -- -- AUTO_INCREMENT for table `r_grade_opening` -- ALTER TABLE `r_grade_opening` MODIFY `Grade_Opening_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `r_mandatory_fee` -- ALTER TABLE `r_mandatory_fee` MODIFY `Mandatory_Fee_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `r_prerequisite` -- ALTER TABLE `r_prerequisite` MODIFY `Prerequisite_ID` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `r_professor` -- ALTER TABLE `r_professor` MODIFY `Professor_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18; -- -- AUTO_INCREMENT for table `r_registation_opening` -- ALTER TABLE `r_registation_opening` MODIFY `Registation_Opening_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `r_registrar` -- ALTER TABLE `r_registrar` MODIFY `Registrar_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `r_room` -- ALTER TABLE `r_room` MODIFY `Room_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT for table `r_section` -- ALTER TABLE `r_section` MODIFY `Section_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; -- -- AUTO_INCREMENT for table `r_semester` -- ALTER TABLE `r_semester` MODIFY `Semester_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; -- -- AUTO_INCREMENT for table `r_student_application` -- ALTER TABLE `r_student_application` MODIFY `Student_Application_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12; -- -- AUTO_INCREMENT for table `r_student_document` -- ALTER TABLE `r_student_document` MODIFY `Student_Document_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; -- -- AUTO_INCREMENT for table `r_student_profile` -- ALTER TABLE `r_student_profile` MODIFY `Student_Profile_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12; -- -- AUTO_INCREMENT for table `r_subject` -- ALTER TABLE `r_subject` MODIFY `Subject_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=86; -- -- AUTO_INCREMENT for table `r_subject_fee` -- ALTER TABLE `r_subject_fee` MODIFY `Subject_Fee_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `r_subject_fee_items` -- ALTER TABLE `r_subject_fee_items` MODIFY `Subject_Fee_Items_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `r_tuition_fee` -- ALTER TABLE `r_tuition_fee` MODIFY `Tuition_Fee_ID` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `r_unit_fee` -- ALTER TABLE `r_unit_fee` MODIFY `Unit_Fee_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `r_user_account` -- ALTER TABLE `r_user_account` MODIFY `User_Account_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=39; -- -- AUTO_INCREMENT for table `t_assign_section_fee_item` -- ALTER TABLE `t_assign_section_fee_item` MODIFY `Assign_Section_Fee_Item_ID` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `t_enrollment` -- ALTER TABLE `t_enrollment` MODIFY `Enrollment_ID` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `t_enrollment_status` -- ALTER TABLE `t_enrollment_status` MODIFY `Enrollment_Status_ID` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `t_payment` -- ALTER TABLE `t_payment` MODIFY `Payment_ID` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `t_payment_history` -- ALTER TABLE `t_payment_history` MODIFY `Payment_History_ID` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `t_schedule` -- ALTER TABLE `t_schedule` MODIFY `Schedule_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28; -- -- AUTO_INCREMENT for table `t_schedule_items` -- ALTER TABLE `t_schedule_items` MODIFY `Schedule_Items_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34; -- -- AUTO_INCREMENT for table `t_students_grade` -- ALTER TABLE `t_students_grade` MODIFY `Students_Grade_ID` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `t_student_account` -- ALTER TABLE `t_student_account` MODIFY `Student_Account_ID` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `t_student_enrolled` -- ALTER TABLE `t_student_enrolled` MODIFY `Student_Enrolled_ID` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `t_student_taken_curriculum_subject` -- ALTER TABLE `t_student_taken_curriculum_subject` MODIFY `Student_Taken_Curriculum_Subject_ID` int(11) NOT NULL AUTO_INCREMENT; -- -- Constraints for dumped tables -- -- -- Constraints for table `r_campus_course` -- ALTER TABLE `r_campus_course` ADD CONSTRAINT `r_campus_course_ibfk_1` FOREIGN KEY (`Campus_Course_CourseID`) REFERENCES `r_course` (`Course_ID`), ADD CONSTRAINT `r_campus_course_ibfk_2` FOREIGN KEY (`Campus_Course_CampusID`) REFERENCES `r_campus` (`Campus_ID`); -- -- Constraints for table `r_course_fee` -- ALTER TABLE `r_course_fee` ADD CONSTRAINT `r_course_fee_ibfk_1` FOREIGN KEY (`Course_Fee_CourseID`) REFERENCES `r_course` (`Course_ID`), ADD CONSTRAINT `r_course_fee_ibfk_3` FOREIGN KEY (`Course_Fee_AcademicYearID`) REFERENCES `r_academic_year` (`Academic_Year_ID`); -- -- Constraints for table `r_course_fee_items` -- ALTER TABLE `r_course_fee_items` ADD CONSTRAINT `r_course_fee_items_ibfk_1` FOREIGN KEY (`Course_Fee_Item_CourseFeeID`) REFERENCES `r_course_fee` (`Course_Fee_ID`), ADD CONSTRAINT `r_course_fee_items_ibfk_2` FOREIGN KEY (`Course_Fee_Item_FeeID`) REFERENCES `r_fee` (`Fee_ID`); -- -- Constraints for table `r_curriculum` -- ALTER TABLE `r_curriculum` ADD CONSTRAINT `r_curriculum_ibfk_1` FOREIGN KEY (`Curriculum_SemesterID`) REFERENCES `r_semester` (`Semester_ID`), ADD CONSTRAINT `r_curriculum_ibfk_2` FOREIGN KEY (`Curriculum_CourseID`) REFERENCES `r_course` (`Course_ID`), ADD CONSTRAINT `r_curriculum_ibfk_3` FOREIGN KEY (`Curriculum_CurriculumYearID`) REFERENCES `r_curriculumyear` (`CurriculumYear_ID`); -- -- Constraints for table `r_curriculumitem` -- ALTER TABLE `r_curriculumitem` ADD CONSTRAINT `FK_CurriculumItem_CurriculumID` FOREIGN KEY (`CurriculumItem_CurriculumID`) REFERENCES `r_curriculum` (`Curriculum_ID`), ADD CONSTRAINT `FK_CurriculumItem_SubjectID` FOREIGN KEY (`CurriculumItem_SubjectID`) REFERENCES `r_subject` (`Subject_ID`); -- -- Constraints for table `r_faculty_degree` -- ALTER TABLE `r_faculty_degree` ADD CONSTRAINT `r_faculty_degree_ibfk_1` FOREIGN KEY (`Faculty_Degree_DegreeID`) REFERENCES `r_degree` (`Degree_ID`), ADD CONSTRAINT `r_faculty_degree_ibfk_2` FOREIGN KEY (`Faculty_Degree_ProfessorID`) REFERENCES `r_professor` (`Professor_ID`); -- -- Constraints for table `r_faculty_subject` -- ALTER TABLE `r_faculty_subject` ADD CONSTRAINT `r_faculty_subject_ibfk_1` FOREIGN KEY (`Faculty_Subject_SubjectID`) REFERENCES `r_subject` (`Subject_ID`), ADD CONSTRAINT `r_faculty_subject_ibfk_2` FOREIGN KEY (`Faculty_Subject_ProfessorID`) REFERENCES `r_professor` (`Professor_ID`); -- -- Constraints for table `r_mandatory_fee` -- ALTER TABLE `r_mandatory_fee` ADD CONSTRAINT `r_mandatory_fee_ibfk_1` FOREIGN KEY (`Mandatory_Fee_FeeID`) REFERENCES `r_fee` (`Fee_ID`), ADD CONSTRAINT `r_mandatory_fee_ibfk_2` FOREIGN KEY (`Mandatory_Fee_AcademicYearID`) REFERENCES `r_academic_year` (`Academic_Year_ID`); -- -- Constraints for table `r_prerequisite` -- ALTER TABLE `r_prerequisite` ADD CONSTRAINT `r_prerequisite_ibfk_1` FOREIGN KEY (`Prerequisite_Main_SubjectID`) REFERENCES `r_subject` (`Subject_ID`), ADD CONSTRAINT `r_prerequisite_ibfk_2` FOREIGN KEY (`Prerequisite_Prequisite_SubjectID`) REFERENCES `r_subject` (`Subject_ID`); -- -- Constraints for table `r_registation_opening` -- ALTER TABLE `r_registation_opening` ADD CONSTRAINT `r_registation_opening_ibfk_1` FOREIGN KEY (`Registation_Opening_CourseID`) REFERENCES `r_course` (`Course_ID`); -- -- Constraints for table `r_room` -- ALTER TABLE `r_room` ADD CONSTRAINT `r_room_ibfk_1` FOREIGN KEY (`Room_CampusID`) REFERENCES `r_campus` (`Campus_ID`); -- -- Constraints for table `r_section` -- ALTER TABLE `r_section` ADD CONSTRAINT `r_section_ibfk_2` FOREIGN KEY (`Section_CourseID`) REFERENCES `r_course` (`Course_ID`), ADD CONSTRAINT `r_section_ibfk_3` FOREIGN KEY (`Section_CampusID`) REFERENCES `r_campus` (`Campus_ID`); -- -- Constraints for table `r_student_application` -- ALTER TABLE `r_student_application` ADD CONSTRAINT `r_student_application_ibfk_1` FOREIGN KEY (`Student_Application_StudentProfileID`) REFERENCES `r_student_profile` (`Student_Profile_ID`); -- -- Constraints for table `r_student_document` -- ALTER TABLE `r_student_document` ADD CONSTRAINT `r_student_document_ibfk_1` FOREIGN KEY (`Student_Document_StudentApplicationID`) REFERENCES `r_student_application` (`Student_Application_ID`), ADD CONSTRAINT `r_student_document_ibfk_2` FOREIGN KEY (`Student_Document_DocumentID`) REFERENCES `r_documents` (`Documents_ID`); -- -- Constraints for table `r_subject_fee` -- ALTER TABLE `r_subject_fee` ADD CONSTRAINT `r_subject_fee_ibfk_1` FOREIGN KEY (`Subject_Fee_AcademicYearID`) REFERENCES `r_academic_year` (`Academic_Year_ID`), ADD CONSTRAINT `r_subject_fee_ibfk_2` FOREIGN KEY (`Subject_Fee_SubjectID`) REFERENCES `r_subject` (`Subject_ID`); -- -- Constraints for table `r_subject_fee_items` -- ALTER TABLE `r_subject_fee_items` ADD CONSTRAINT `r_subject_fee_items_ibfk_2` FOREIGN KEY (`Subject_Fee_Items_FeeID`) REFERENCES `r_fee` (`Fee_ID`), ADD CONSTRAINT `r_subject_fee_items_ibfk_3` FOREIGN KEY (`Subject_Fee_Items_SubjectFeeID`) REFERENCES `r_subject_fee` (`Subject_Fee_ID`); -- -- Constraints for table `r_tuition_fee` -- ALTER TABLE `r_tuition_fee` ADD CONSTRAINT `r_tuition_fee_ibfk_1` FOREIGN KEY (`Tuition_Fee_AcademicYearID`) REFERENCES `r_academic_year` (`Academic_Year_ID`), ADD CONSTRAINT `r_tuition_fee_ibfk_2` FOREIGN KEY (`Tuition_Fee_CourseID`) REFERENCES `r_course` (`Course_ID`); -- -- Constraints for table `t_assign_section_fee_item` -- ALTER TABLE `t_assign_section_fee_item` ADD CONSTRAINT `t_assign_section_fee_item_ibfk_1` FOREIGN KEY (`Assign_Section_Fee_Item_Fee_ID`) REFERENCES `r_fee` (`Fee_ID`), ADD CONSTRAINT `t_assign_section_fee_item_ibfk_2` FOREIGN KEY (`Assign_Section_Fee_Item_Section_ID`) REFERENCES `r_section` (`Section_ID`); -- -- Constraints for table `t_enrollment` -- ALTER TABLE `t_enrollment` ADD CONSTRAINT `t_enrollment_ibfk_1` FOREIGN KEY (`Enrollment_Academic_Year_ID`) REFERENCES `r_academic_year` (`Academic_Year_ID`), ADD CONSTRAINT `t_enrollment_ibfk_2` FOREIGN KEY (`Enrollment_Course_ID`) REFERENCES `r_course` (`Course_ID`), ADD CONSTRAINT `t_enrollment_ibfk_3` FOREIGN KEY (`Enrollment_Semester_ID`) REFERENCES `r_semester` (`Semester_ID`), ADD CONSTRAINT `t_enrollment_ibfk_4` FOREIGN KEY (`Enrollment_Assign_Section_Curriculum_ID`) REFERENCES `r_curriculum` (`Curriculum_ID`), ADD CONSTRAINT `t_enrollment_ibfk_5` FOREIGN KEY (`Enrollment_Student_Account_ID`) REFERENCES `t_student_account` (`Student_Account_ID`); -- -- Constraints for table `t_payment` -- ALTER TABLE `t_payment` ADD CONSTRAINT `t_payment_ibfk_1` FOREIGN KEY (`Payment_Student_Account_ID`) REFERENCES `t_student_account` (`Student_Account_ID`); -- -- Constraints for table `t_payment_history` -- ALTER TABLE `t_payment_history` ADD CONSTRAINT `t_payment_history_ibfk_1` FOREIGN KEY (`Payment_History_Payment_ID`) REFERENCES `t_payment` (`Payment_ID`); -- -- Constraints for table `t_schedule` -- ALTER TABLE `t_schedule` ADD CONSTRAINT `t_schedule_ibfk_1` FOREIGN KEY (`Schedule_CurriculumItemID`) REFERENCES `r_curriculumitem` (`CurriculumItem_ID`), ADD CONSTRAINT `t_schedule_ibfk_2` FOREIGN KEY (`Schedule_ProfessorID`) REFERENCES `r_professor` (`Professor_ID`), ADD CONSTRAINT `t_schedule_ibfk_4` FOREIGN KEY (`Schedule_SectionID`) REFERENCES `r_section` (`Section_ID`), ADD CONSTRAINT `t_schedule_ibfk_5` FOREIGN KEY (`Schedule_ChildrenID`) REFERENCES `r_subject` (`Subject_ID`), ADD CONSTRAINT `t_schedule_ibfk_6` FOREIGN KEY (`Schedule_AcademicYearID`) REFERENCES `r_academic_year` (`Academic_Year_ID`); -- -- Constraints for table `t_schedule_items` -- ALTER TABLE `t_schedule_items` ADD CONSTRAINT `t_schedule_items_ibfk_1` FOREIGN KEY (`Schedule_Items_ScheduleID`) REFERENCES `t_schedule` (`Schedule_ID`), ADD CONSTRAINT `t_schedule_items_ibfk_2` FOREIGN KEY (`Schedule_Items_RoomID`) REFERENCES `r_room` (`Room_ID`); -- -- Constraints for table `t_students_grade` -- ALTER TABLE `t_students_grade` ADD CONSTRAINT `t_students_grade_ibfk_1` FOREIGN KEY (`Students_Grade_StudentTakenCurriculumSubjectID`) REFERENCES `t_student_taken_curriculum_subject` (`Student_Taken_Curriculum_Subject_ID`), ADD CONSTRAINT `t_students_grade_ibfk_2` FOREIGN KEY (`Students_Grade_FacultyID`) REFERENCES `r_professor` (`Professor_ID`); -- -- Constraints for table `t_student_account` -- ALTER TABLE `t_student_account` ADD CONSTRAINT `t_student_account_ibfk_1` FOREIGN KEY (`Student_Account_Student_Profile_ID`) REFERENCES `r_student_profile` (`Student_Profile_ID`), ADD CONSTRAINT `t_student_account_ibfk_2` FOREIGN KEY (`Student_Account_CourseID`) REFERENCES `r_course` (`Course_ID`), ADD CONSTRAINT `t_student_account_ibfk_3` FOREIGN KEY (`Student_Account_SectionID`) REFERENCES `r_section` (`Section_ID`), ADD CONSTRAINT `t_student_account_ibfk_4` FOREIGN KEY (`Student_Account_CurriculumYearID`) REFERENCES `r_curriculumyear` (`CurriculumYear_ID`), ADD CONSTRAINT `t_student_account_ibfk_5` FOREIGN KEY (`Student_Account_CampusID`) REFERENCES `r_campus` (`Campus_ID`); -- -- Constraints for table `t_student_enrolled` -- ALTER TABLE `t_student_enrolled` ADD CONSTRAINT `t_student_enrolled_ibfk_1` FOREIGN KEY (`Student_Enrolled_StudentAccountID`) REFERENCES `t_student_account` (`Student_Account_ID`), ADD CONSTRAINT `t_student_enrolled_ibfk_2` FOREIGN KEY (`Student_Enrolled_AcadamicYearID`) REFERENCES `r_academic_year` (`Academic_Year_ID`), ADD CONSTRAINT `t_student_enrolled_ibfk_3` FOREIGN KEY (`Student_Enrolled_SemesterID`) REFERENCES `r_semester` (`Semester_ID`); -- -- Constraints for table `t_student_taken_curriculum_subject` -- ALTER TABLE `t_student_taken_curriculum_subject` ADD CONSTRAINT `t_student_taken_curriculum_subject_ibfk_1` FOREIGN KEY (`Student_Taken_Curriculum_Subject_SemesterID`) REFERENCES `r_semester` (`Semester_ID`), ADD CONSTRAINT `t_student_taken_curriculum_subject_ibfk_2` FOREIGN KEY (`Student_Taken_Curriculum_Subject_AcademicIYearID`) REFERENCES `r_academic_year` (`Academic_Year_ID`), ADD CONSTRAINT `t_student_taken_curriculum_subject_ibfk_3` FOREIGN KEY (`Student_Taken_Curriculum_Subject_SubjectID`) REFERENCES `r_subject` (`Subject_ID`), ADD CONSTRAINT `t_student_taken_curriculum_subject_ibfk_4` FOREIGN KEY (`Student_Taken_Curriculum_Subject_StudentAccountID`) REFERENCES `t_student_account` (`Student_Account_ID`), ADD CONSTRAINT `t_student_taken_curriculum_subject_ibfk_5` FOREIGN KEY (`Student_Taken_Curriculum_Subject_SectionID`) REFERENCES `r_section` (`Section_ID`), ADD CONSTRAINT `t_student_taken_curriculum_subject_ibfk_6` FOREIGN KEY (`Student_Taken_Curriculum_Subject_CourseID`) REFERENCES `r_course` (`Course_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 */;
-- phpMyAdmin SQL Dump -- version 4.8.5 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: May 03, 2021 at 07:43 PM -- Server version: 10.1.38-MariaDB -- PHP Version: 7.3.2 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `formulir_peserta_didik` -- -- -------------------------------------------------------- -- -- Table structure for table `pendaftaran` -- CREATE TABLE `pendaftaran` ( `id_pendaftaran` int(11) NOT NULL, `jenis_pendaftaran` varchar(10) NOT NULL, `tanggal_masuk_sekolah` date NOT NULL, `nis` varchar(15) NOT NULL, `nomor_peserta_ujian` varchar(15) NOT NULL, `pernah_paud` varchar(10) NOT NULL, `pernah_tk` varchar(10) NOT NULL, `no_seri_skhun` varchar(15) NOT NULL, `no_seri_ijazah` varchar(15) NOT NULL, `hobi` varchar(30) NOT NULL, `cita_cita` varchar(30) NOT NULL, `nama_lengkap` varchar(50) NOT NULL, `jenis_kelamin` varchar(15) NOT NULL, `nisn` varchar(15) NOT NULL, `nik` varchar(15) NOT NULL, `tempat_lahir` varchar(20) NOT NULL, `tanggal_lahir` date NOT NULL, `agama` varchar(10) NOT NULL, `berkebutuhan_khusus` varchar(20) NOT NULL, `alamat_jalan` varchar(50) NOT NULL, `rt` varchar(10) NOT NULL, `rw` varchar(10) NOT NULL, `dusun` varchar(20) NOT NULL, `kelurahan_desa` varchar(20) NOT NULL, `kecamatan` varchar(20) NOT NULL, `kode_pos` varchar(10) NOT NULL, `tempat_tinggal` varchar(20) NOT NULL, `moda_transportasi` varchar(20) NOT NULL, `nomor_hp` varchar(15) NOT NULL, `nomor_telepon` varchar(15) NOT NULL, `email_pribadi` varchar(30) NOT NULL, `penerima_kps_kks_pkh_kip` varchar(10) NOT NULL, `no_kps_kks_pkh_kip` varchar(15) NOT NULL, `kewarganegaraan` varchar(10) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `pendaftaran` -- INSERT INTO `pendaftaran` (`id_pendaftaran`, `jenis_pendaftaran`, `tanggal_masuk_sekolah`, `nis`, `nomor_peserta_ujian`, `pernah_paud`, `pernah_tk`, `no_seri_skhun`, `no_seri_ijazah`, `hobi`, `cita_cita`, `nama_lengkap`, `jenis_kelamin`, `nisn`, `nik`, `tempat_lahir`, `tanggal_lahir`, `agama`, `berkebutuhan_khusus`, `alamat_jalan`, `rt`, `rw`, `dusun`, `kelurahan_desa`, `kecamatan`, `kode_pos`, `tempat_tinggal`, `moda_transportasi`, `nomor_hp`, `nomor_telepon`, `email_pribadi`, `penerima_kps_kks_pkh_kip`, `no_kps_kks_pkh_kip`, `kewarganegaraan`) VALUES (1, 'siswa_baru', '2021-05-01', '167271', '127127', 'ya', 'ya', '1273031', '24643', 'memasak', 'chef', 'Ajeng Laras Wangi Ajeng Laras Wangi', 'perempuan', '1537', '19172651', 'lamongan', '2021-04-09', 'islam', 'tidak', 'jl. mawar', '07', '04', 'lawan', 'kedungwangi', 'sambeng', '60294', 'bersama_orang_tua', 'kendaraan_pribadi', '082257364033', '082257364033', '19082010058@student.upnjatim.a', 'ya', '7281', 'WNI'), (2, 'siswa_baru', '2021-04-04', '12346', '123459', 'ya', 'ya', '12730314', '2464323', 'memasak', 'chef', 'ajeng wangi', 'perempuan', '0010454862', '127127127127127', 'lamongan', '2021-04-15', 'kristen', 'tidak', 'jl. mawar', '7', '4', 'lawan', 'kedungwangi', 'sambeng', '60294', 'wali', 'kereta_api', '082257364033', '082257364033', '19082010058@student.upnjatim.a', 'ya', '728134', 'WNA'), (3, 'siswa_baru', '2021-04-03', '12345', '234556', 'ya', 'ya', '738542', '833618', 'renang', 'dokter', 'sabha paramartha', 'laki-laki', '61375', '93735173174', 'lamongan', '2021-04-14', 'kristen', 'tidak', 'jl. melati', '07', '05', 'pataan', 'berjo', 'sambeng', '62284', 'bersama_orang_tua', 'jalan_kaki', '0822546382722', '018297634232', 'ajenglaras6@gmail.com', 'ya', '53161839', 'WNI'); -- -- Indexes for dumped tables -- -- -- Indexes for table `pendaftaran` -- ALTER TABLE `pendaftaran` ADD PRIMARY KEY (`id_pendaftaran`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `pendaftaran` -- ALTER TABLE `pendaftaran` MODIFY `id_pendaftaran` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
USE employees; -- Problem 1, Find all the employees with the same hire date as employee 101010 using a sub-query. -- 69 Rows SELECT emp_no, first_name, last_name, hire_date FROM employees WHERE hire_date IN ( -- could also use WHERE hire_date = (......), because there is only one hire_date we are looking for SELECT hire_date FROM employees WHERE emp_no = 101010) LIMIT 100; -- Problem 2, Find all the titles held by all employees with the first name Aamod. SELECT DISTINCT title FROM titles WHERE emp_no IN ( -- in this case, there are multiple employees with the first name 'Aamod', can't use = 'equal', will return more than one row SELECT emp_no FROM employees WHERE first_name = 'Aamod') LIMIT 100; -- Problem 3, How many people in the employees table are no longer working for the company SELECT emp_no, first_name, last_name, hire_date FROM employees WHERE emp_no NOT IN ( SELECT emp_no FROM salaries WHERE to_date > NOW()); -- Problem 4, Find all the current department managers that are female. SELECT emp_no, first_name, last_name, gender FROM employees WHERE emp_no IN (SELECT emp_no FROM dept_manager WHERE to_date > NOW()) AND gender = 'F'; -- Problem 5, Find all the employees that currently have a -- higher than average salary SELECT employees.first_name, employees.last_name, salaries.salary FROM employees JOIN salaries ON employees.emp_no = salaries.emp_no WHERE salaries.salary > (SELECT AVG(salaries.salary) FROM salaries) AND to_date > NOW() ; -- Problem 6, current salaries are within 1 standard deviation of the highest salary? SELECT employees.first_name, employees.last_name, salaries.salary FROM employees JOIN salaries ON employees.emp_no = salaries.emp_no WHERE salaries.salary > (SELECT MAX(salaries.salary) FROM salaries) - (SELECT STDDEV(salaries.salary) FROM salaries) -- (SELECT MAX(salaries.salary) - STDDEV(salaries.salary) FROM salaries) AND to_date > NOW() ; -- ------------------------------------------ -- just miscellaneous data validation to make sure no typos on employee to_dates SELECT * FROM dept_manager WHERE to_date > NOW() AND to_date != '9999-01-01'; -- Bonus -- Find all the department names that currently have female managers SELECT dept_name FROM departments WHERE dept_no IN ( SELECT dept_no FROM dept_manager WHERE emp_no IN ( SELECT emp_no FROM employees WHERE gender = 'F' AND to_date > NOW() ) ) ; -- Find first and last name of employee with the highest salary SELECT first_name, last_name FROM employees WHERE emp_no = ( SELECT emp_no FROM salaries ORDER BY salary DESC LIMIT 1 ) ; -- Find the department name that the employee with the highes salary works in. SELECT dept_name FROM departments WHERE dept_no = ( SELECT dept_no FROM dept_no WHERE emp_no = ( SELECT emp_no FROM employees WHERE emp_no = ( SELECT emp_no FROM salaries ORDER BY salary DESC LIMIT 1 ) ) ) ;
CREATE TABLE Usuarios( id SERIAL PRIMARY KEY, nome VARCHAR(255) NOT NULL, email VARCHAR(255) NOT NULL, senha VARCHAR(255) NOT NULL ); CREATE TABLE Categoria( id SERIAL PRIMARY KEY, nome VARCHAR (255) NOT NULL ); CREATE TABLE MetaGasto( id SERIAL PRIMARY KEY, dataCadastro DATE, descricao VARCHAR(255) NOT NULL, dataVencimento DATE, valorMeta NUMERIC(50,2), valorDisponivelMeta NUMERIC(50,2), idCategoria INTEGER NOT NULL, FOREIGN KEY (idCategoria) REFERENCES Categoria (id) ); CREATE TABLE ContaBancaria( id SERIAL PRIMARY KEY, nomeConta VARCHAR (255), saldo NUMERIC(50,20) ); CREATE TABLE Transacao( id SERIAL PRIMARY KEY, recorrencia BOOLEAN, dataTransacao date, valor NUMERIC(50,2), idContaOrigem INTEGER, idCategoria INTEGER, tipoTransacao INTEGER, FOREIGN KEY (idCategoria) REFERENCES Categoria(id), FOREIGN KEY (idContaOrigem) REFERENCES ContaBancaria(id) )
/** * SQL for searching Shikugun information * @author HaiTTH * @version $Id: GetShikugunListService_getShikugunList_Sel_01.sql 23837 2014-08-28 08:30:35Z p_chan_hai $ */ SELECT MA.SHIKUGUN_CD, MA.SHIKUGUN_NM FROM MA_CM_MA_SHIKUGUN MA WHERE MA.TODOFUKEN_CD = /*todofukenCd*/'10' ORDER BY MA.SHIKUGUN_CD ASC
CREATE PROCEDURE [DW].[usp_Dashboard-HCAEnrollment] AS SELECT ROW_NUMBER() OVER (ORDER BY SchoolYear) AS RowNumber , SchoolYear , MAX(EnrollmentCount) AS EnrollmentCount FROM ( SELECT CONVERT(VARCHAR(4), SchoolEndYear - 1) + '-' + CONVERT(VARCHAR(4), SchoolEndYear) AS SchoolYear , CalendarMonth , SUM(EnrollmentCount) AS EnrollmentCount FROM DW.FactEnrollment GROUP BY CONVERT(VARCHAR(4), SchoolEndYear - 1) + '-' + CONVERT(VARCHAR(4), SchoolEndYear) , CalendarMonth) src GROUP BY SchoolYear ORDER BY 1 RETURN 0
/* SQLyog Ultimate v12.08 (64 bit) MySQL - 5.6.24 : Database - pf ********************************************************************* */ CREATE TABLE `system_users` ( `id` int(20) NOT NULL AUTO_INCREMENT, `username` char(60) DEFAULT NULL, `password` char(60) DEFAULT NULL, `nickname` char(60) DEFAULT NULL, `role_id` int(20) DEFAULT NULL, `gender` smallint(1) DEFAULT NULL, `age` int(3) DEFAULT NULL, `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `login_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `ip` char(60) DEFAULT NULL, PRIMARY KEY (`id`), KEY `FKwieroi23` (`role_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 CREATE TABLE `system_roles` ( `id` int(20) NOT NULL AUTO_INCREMENT, `role_name` char(20) NOT NULL DEFAULT '', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 CREATE TABLE `system_menus` ( `Id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(50) NOT NULL DEFAULT '', `href` varchar(200) NOT NULL DEFAULT '', `permission` varchar(80) NOT NULL DEFAULT '', `type` smallint(1) NOT NULL DEFAULT '0', `sort` int(4) NOT NULL DEFAULT '0', `parent_id` int(11) DEFAULT NULL, `icon` varchar(150) DEFAULT NULL, PRIMARY KEY (`Id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 CREATE TABLE `system_role_menu` ( `role_id` int(20) NOT NULL, `menu_id` bigint(20) NOT NULL, KEY `Fkewrwer2` (`menu_id`), KEY `FKwerw23w` (`role_id`), CONSTRAINT `FKwerw23w` FOREIGN KEY (`role_id`) REFERENCES `system_roles` (`id`), CONSTRAINT `Fkewrwer2` FOREIGN KEY (`menu_id`) REFERENCES `system_menus` (`Id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('1','系统管理','/system','','0','1','-1',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('2','系统日志','/login','','0','2','-1',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('3','会员管理','/member','','0','3','-1',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('4','用户管理','/system/users','users:list','0','1','1',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('5','角色管理','/system/roles','roles:list','0','2','1',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('6','权限管理','/system/menus','menus:list','0','3','1',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('7','新增','/system/users/insert','users:insert','1','1','4',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('8','编辑','/system/users/update/*','users:update','1','2','4',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('9','删除','/system/users/delete/*','users:delete','1','3','4',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('10','查询','/system/users','users:select','1','4','4',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('11','新增','/system/roles/insert','roles:insert','1','1','5',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('12','编辑','/system/roles/update/*','roles:update','1','2','5',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('13','删除','/system/roles/delete/*','roles:delete','1','3','5',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('14','查询','/system/roles','roles:select','1','4','5',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('15','新增','/system/menus/insert','menus:insert','1','1','6',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('16','编辑','/system/menus/update/*','menus:update','1','2','6',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('17','删除','/system/menus/delete/*','menus:delete','1','3','6',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('18','查询','/system/menus/select','menus:select','1','4','6',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('19','登录日志','/login/logins','login:logins','0','1','2',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('20','访问日志','/login/access','login:access','0','2','2',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('21','站点统计','/member/count','member:count','0','1','3',NULL); insert into `system_menus` (`Id`, `name`, `href`, `permission`, `type`, `sort`, `parent_id`, `icon`) values('22','会员记录','/member/auth','member:auth','0','2','3',NULL);
DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `uspSubjectEnroll`( IN i_SubjectCode varchar(12), IN i_StudentID int, out o_SubjectAlreadyEnrolled int ) BEGIN declare i_SubjectID int; set i_SubjectID=(Select SubjectID from tblSubjectDetails where SubjectCode=i_SubjectCode); IF EXISTS(Select StudentXSubjectID from tblStudentXSubjectsEnroll where StudentID=i_StudentID and SubjectID=i_SubjectID and IsActive=1) THen set o_SubjectAlreadyEnrolled=1; else set o_SubjectAlreadyEnrolled=0; INSERT INTO tblstudentxsubjectsenroll ( `StudentID`, `SubjectID`, `IsActive`) VALUES ( i_StudentID, i_SubjectID, 1); END IF; END$$ DELIMITER ;
CREATE TABLE hibernate_sequence ( next_val BIGINT ); INSERT INTO hibernate_sequence VALUES (1); CREATE TABLE podcast ( id VARCHAR(255) NOT NULL, created_by BIGINT, created_date DATETIME, last_modified_by BIGINT, last_modified_date DATETIME, PRIMARY KEY (id) ); CREATE TABLE post ( id VARCHAR(255) NOT NULL, created_by BIGINT, created_date DATETIME, last_modified_by BIGINT, last_modified_date DATETIME, podcast_id VARCHAR(255), PRIMARY KEY (id) ); CREATE TABLE profile ( id VARCHAR(255) NOT NULL, created_by BIGINT, created_date DATETIME, last_modified_by BIGINT, last_modified_date DATETIME, user_id VARCHAR(255), PRIMARY KEY (id) ); CREATE TABLE subscription ( id VARCHAR(255) NOT NULL, created_by BIGINT, created_date DATETIME, last_modified_by BIGINT, last_modified_date DATETIME, podcast_id VARCHAR(255), profile_id VARCHAR(255), PRIMARY KEY (id) ); CREATE TABLE user ( id VARCHAR(255) NOT NULL, created_by BIGINT, created_date DATETIME, last_modified_by BIGINT, last_modified_date DATETIME, PRIMARY KEY (id) ); ALTER TABLE post ADD CONSTRAINT post_podcast_fk FOREIGN KEY (podcast_id) REFERENCES podcast (id); ALTER TABLE profile ADD CONSTRAINT profile_user_fk FOREIGN KEY (user_id) REFERENCES user (id); ALTER TABLE subscription ADD CONSTRAINT subscription_podcast_fk FOREIGN KEY (podcast_id) REFERENCES podcast (id); ALTER TABLE subscription ADD CONSTRAINT subscription_profile_fk FOREIGN KEY (profile_id) REFERENCES profile (id); CREATE TABLE aud_podcast ( id VARCHAR(255) NOT NULL, rev INTEGER NOT NULL, revtype TINYINT, PRIMARY KEY (id, rev) ); CREATE TABLE aud_post ( id VARCHAR(255) NOT NULL, rev INTEGER NOT NULL, revtype TINYINT, podcast_id VARCHAR(255), PRIMARY KEY (id, rev) ); CREATE TABLE aud_profile ( id VARCHAR(255) NOT NULL, rev INTEGER NOT NULL, revtype TINYINT, user_id VARCHAR(255), PRIMARY KEY (id, rev) ); CREATE TABLE aud_subscription ( id VARCHAR(255) NOT NULL, rev INTEGER NOT NULL, revtype TINYINT, podcast_id VARCHAR(255), profile_id VARCHAR(255), PRIMARY KEY (id, rev) ); CREATE TABLE aud_user ( id VARCHAR(255) NOT NULL, rev INTEGER NOT NULL, revtype TINYINT, PRIMARY KEY (id, rev) ); CREATE TABLE revinfo ( rev INTEGER NOT NULL AUTO_INCREMENT, revtstmp BIGINT, PRIMARY KEY (rev) ); ALTER TABLE aud_podcast ADD CONSTRAINT aud_podcast_rev_fk FOREIGN KEY (rev) REFERENCES revinfo (rev); ALTER TABLE aud_post ADD CONSTRAINT aud_post_rev_fk FOREIGN KEY (rev) REFERENCES revinfo (rev); ALTER TABLE aud_profile ADD CONSTRAINT aud_profile_rev_fk FOREIGN KEY (rev) REFERENCES revinfo (rev); ALTER TABLE aud_subscription ADD CONSTRAINT aud_subscription_rev_fk FOREIGN KEY (rev) REFERENCES revinfo (rev); ALTER TABLE aud_user ADD CONSTRAINT aud_user_rev_fk FOREIGN KEY (rev) REFERENCES revinfo (rev);
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED Select ss.name as SchemaName , st.name as TableName ,s.name as Indexname ,STATS_DATE(s.id,s.indid) as 'Statistics Last updated' ,s.rowcnt as 'Row Count' ,s.rowmodctr as 'number of Changes' ,CAST((CAST (s.rowmodctr as decimal(28,2))/CAST(s.rowcnt as decimal(28,2))* 100.0) as decimal (28,2)) as'% Row Changed' from sys.sysindexes s INNER JOIN sys.tables st on st.[object_id]=s.[id] INNER JOIN sys.schemas ss on ss.[schema_id]=st.[schema_id] where s.id>100 and s.indid>0 and s.rowcnt>= 500 Order by schemaname,tablename,Indexname
-- SCRIPT PARA BORRAR LOS USUARIOS Y ROLES CREADOS DROP USER PACIENTE_ANTONIO; DROP USER MEDICO_JUAN; DROP USER GESTOR_PEDRO; DROP USER ADMINISTRADOR_JUAN; commit; DROP ROLE PACIENTE; DROP ROLE MEDICO; DROP ROLE GESTOR_INFO; DROP ROLE ADMIN_0711; commit;
DELETE FROM posts WHERE id = $1 AND active=false; SELECT * FROM posts WHERE active = false AND seller_id = $2 ORDER BY time_posted DESC;
-- phpMyAdmin SQL Dump -- version 5.1.0 -- https://www.phpmyadmin.net/ -- -- Servidor: 127.0.0.1 -- Tiempo de generación: 15-05-2021 a las 02:28:47 -- Versión del servidor: 10.4.19-MariaDB -- Versión de PHP: 8.0.6 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Base de datos: `productdb` -- -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `producttb` -- CREATE TABLE `producttb` ( `id` int(11) NOT NULL, `product_name` varchar(25) NOT NULL, `product_price` float DEFAULT NULL, `product_image` varchar(100) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Volcado de datos para la tabla `producttb` -- INSERT INTO `producttb` (`id`, `product_name`, `product_price`, `product_image`) VALUES (1, 'Apple MacBook Pro', 1799, './upload/product1.png'), (2, 'Sony E7 Headphones', 147, './upload/product2.png'), (3, 'Sony Xperia Z4', 459, './upload/product3.png'), (4, 'Samsung Galaxy A50', 278, './upload/product4.png'); -- -- Índices para tablas volcadas -- -- -- Indices de la tabla `producttb` -- ALTER TABLE `producttb` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT de las tablas volcadas -- -- -- AUTO_INCREMENT de la tabla `producttb` -- ALTER TABLE `producttb` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
CREATE TABLE IF NOT EXISTS solicitud ( folio SERIAL PRIMARY KEY, fecha_rec TIMESTAMP WITH TIME ZONE, fecha_serv TIMESTAMP WITH TIME ZONE, hora time with time zone, estado smallint, id_afiliado integer NOT NULL, cantidad_pet Integer DEFAULT 0 NOT NULL, cantidad_papel Integer DEFAULT 0 NOT NULL, cantidad_vidrio Integer DEFAULT 0 NOT NULL, cantidad_alu Integer DEFAULT 0 NOT NULL, CONSTRAINT afiliado_fk FOREIGN KEY (id_afiliado) REFERENCES afiliado (id) MATCH SIMPLE ON UPDATE NO ACTION ON DELETE NO ACTION );
SELECT /*IF (maxCount != null && maxCount != "")*/ TOP /*$maxCount*/65001 /*END*/ LIMIT.CUSTOMER_CODE AS customerCodeSearch,--交易方代码 CST.CUSTOMER_NAME AS customerName,--交易方名称 CODE5.CODE_NAME AS limitType,--额度种类 LIMIT.LIMIT_NO AS limit_no,--额度号 CUR.CURRENCY_ID AS currencyIdSearch,--币种 ISNULL(LIMIT.AMOUNT,0) AS amount,--额度总金额 ISNULL(T.limitRelease,0) AS limitRelease,--额度金额(已释放) --ISNULL(T.limitUsed,0) AS limitUsed, --额度金额(已用) ISNULL(T.limitApplying,0) AS limitApplying,--额度金额(申请中) LIMIT.START_DATE AS startDate,--起始日 LIMIT.END_DATE AS endDate, --到期日 CODE4.CODE_NAME AS overStatus, --额度到期状态 CODE2.CODE_NAME AS msgType, --消息类型 CODE3.CODE_NAME AS freezingStatus,--冻结状态 CODE1.CODE_NAME AS cycleTypeCyle,--循环类型 (CASE WHEN LIMIT.CYCLE_FLG=/*dto.codeLimitCycleTypeCyle*/''--循环类型 = 1:循环(318:循环类型) THEN ISNULL(LIMIT.AMOUNT,0) - ISNULL(T.limitUsed,0) -ISNULL(T.limitApplying,0)+ISNULL(T.limitRelease,0) --额度金额(可用)= LIMIT.额度金额 - 额度金额(已使用)-额度金额(申请中)+额度金额(已释放) WHEN LIMIT.CYCLE_FLG=/*dto.codeLimitCycleTypeOnce*/''--循环类型 = 0:非循环(318:循环类型) THEN ISNULL(LIMIT.AMOUNT,0)- ISNULL(T.limitUsed,0)- ISNULL(T.limitApplying,0) -- ISNULL(T.limitRelease,0)--额度金额 - 额度金额(已使用)-额度金额(申请中) END) AS limitUsable, --额度金额(可用) (CASE WHEN LIMIT.CYCLE_FLG=/*dto.codeLimitCycleTypeCyle*/''--循环类型 = 1:循环(318:循环类型) THEN ISNULL(T.limitUsed,0) -ISNULL(T.limitRelease,0) --额度金额(已用)= 额度金额(已使用)- 额度金额(已释放) WHEN LIMIT.CYCLE_FLG=/*dto.codeLimitCycleTypeOnce*/''--循环类型 = 0:非循环(318:循环类型) THEN ISNULL(T.limitUsed,0) -- ISNULL(T.limitRelease,0)--额度金额 - 额度金额(已使用)-额度金额(申请中) END) AS limitUsed --额度金额(可用) FROM (SELECT T1.*, CASE WHEN T1.END_DATE>=/*dto.sysDate*/'' --到期日>=系统时间 THEN 0-- 到期状态=0(未到期) WHEN T1.END_DATE<=/*dto.sysDate*/''--到期日<系统时间 THEN 1-- 到期状态=1(已到期) END AS EFLG-- 额度到期状态FLG FROM LIMIT_VALID AS T1 /*BEGIN*/ WHERE -- 参数.交易方代码<>NULL /*IF(dto.customerCodeSearch!=null)*/ AND CUSTOMER_CODE=/*dto.customerCodeSearch*/''--额度信息表.交易方代码 = 参数.交易方代码 /*END*/ --参数.币种<>NULL /*IF(dto.currencyIdSearch!=null)*/ AND CURRENCY_ID= /*dto.currencyIdSearch*/''--AND 额度信息表.币种 = 参数.币种 /*END*/ /*END*/ )AS LIMIT LEFT JOIN (SELECT * FROM (SELECT '31' AS LIMIT_TYPE, -- 额度种类 SUM(LIMIT_TRANSFER_USED) AS limitUsed, --SUM (受让已使用额度) AS 额度金额(已使用) SUM(LIMIT_TRANSFER_RELEASE) AS limitRelease, --SUM (受让已释放额度) AS 额度金额(已释放) SUM(LIMIT_TRANSFER_APPLYING) AS limitApplying, --SUM (受让申请中额度) AS 额度金额(申请中) F1.BUYER_CODE AS customerCodeSearch, --买卖关联.买方代码 AS 交易方代码 F1.CURRENCY_ID FROM VIEW_INVOICE_LIMIT_INFO AS V1 --债权别额度使用信息VIEW INNER JOIN FCONTRACT_BASEINFO AS F1 --买卖关联 ON V1.CONTRACT_ID = F1.CONTRACT_ID --ON 债权别额度使用信息VIEW.买卖关联ID = 买卖关联.买卖关联ID --AND F1.RECOUSE_FLAG != dto.codeRecouseFlagRepo'' --买卖关联.有无追索权 != 2:有追索权(402:有无追索权) INNER JOIN F_CASE_MST AS C1 --保理案件属性表 ON F1.CASE_NO=C1.CASE_NO --买卖关联.业务类型 = 保理案件属性表.案件属性号 AND C1.BUYER_LIMIT_CHECK_FLG != /*dto.codeYesnoFlgNo*/'' --保理案件属性表.买方交易方额度检查要否 != 0:不要(097:共通要否区分) GROUP BY F1.BUYER_CODE, F1.CURRENCY_ID UNION ALL SELECT '32' AS LIMIT_TYPE,-- 额度种类 SUM(LIMIT_FINANCING_USED) AS limitUsed, --SUM (融资已使用额度) AS 额度金额(已使用), SUM(LIMIT_FINANCING_RELEASE) AS limitRelease, --SUM (融资已释放额度) AS 额度金额(已释放) SUM(LIMIT_FINANCING_APPLYING) AS limitApplying, --SUM (融资申请中额度) AS 额度金额(申请中) F2.SELLER_CODE AS customerCodeSearch, --买卖关联.买方代码 AS 交易方代码 F2.CURRENCY_ID FROM VIEW_INVOICE_LIMIT_INFO AS V2 --债权别额度使用信息VIEW INNER JOIN FCONTRACT_BASEINFO AS F2 --买卖关联 ON V2.CONTRACT_ID = F2.CONTRACT_ID --ON 债权别额度使用信息VIEW.买卖关联ID = 买卖关联.买卖关联ID INNER JOIN F_CASE_MST AS C2 --保理案件属性表 ON F2.CASE_NO = C2.CASE_NO --买卖关联.业务类型 = 保理案件属性表.案件属性号 AND C2.SELLER_LIMIT_CHECK_FLG != /*dto.codeYesnoFlgNo*/'' --保理案件属性表.卖方交易方额度检查要否!= 0:不要(097:共通要否区分) GROUP BY F2.SELLER_CODE, F2.CURRENCY_ID ) AS TEMP11 ) AS T ON LIMIT.LIMIT_ID=T.LIMIT_TYPE --额度ID = T.额度种类 AND LIMIT.CUSTOMER_CODE=T.customerCodeSearch--交易方代码 = T.交易方代码 AND LIMIT.CURRENCY_ID=T.CURRENCY_ID --币种 = T.币种 LEFT JOIN CUSTOMER_MST AS CST ON LIMIT.CUSTOMER_CODE=CST.CUSTOMER_CODE--交易方代码 = CST.交易方代码 LEFT JOIN CURRENCY_MST AS CUR ON LIMIT.CURRENCY_ID=CUR.CURRENCY_ID--通貨ID = CUR.通貨ID LEFT JOIN CODE_MASTER AS CODE1 ON LIMIT.CYCLE_FLG=CODE1.CODE_ID --额度循环可否FLG AND CODE1.COUNTRY_ID = /*dto.countryId*/''--国ID AND CODE1.CODE_TYPE = /*dto.codeKnbLimitCycleTypeCyle*/''--额度循环类型 318: LEFT JOIN CODE_MASTER AS CODE2 ON LIMIT.INFO_TYPE=CODE2.CODE_ID--超过额度时提示类型FLG = CODE2.CODE_ID AND CODE2.COUNTRY_ID = /*dto.countryId*/''--国I AND CODE2.CODE_TYPE = /*dto.codeKnbLimitInfoType*/''--额度提示类型 LEFT JOIN CODE_MASTER AS CODE3 ON LIMIT.FREEZING_FLG = CODE3.CODE_ID --冻结类型FLG AND CODE3.COUNTRY_ID = /*dto.countryId*/'' --国I AND CODE3.CODE_TYPE = /*dto.codeKnbLimitFreezingStatus*/'' --317:额度冻结状态 LEFT JOIN CODE_MASTER AS CODE4 ON LIMIT.EFLG = CODE4.CODE_ID AND CODE4.COUNTRY_ID = /*dto.countryId*/'' --国I AND CODE4.CODE_TYPE = /*dto.codeKnbLimitOverStatus*/'' --316:额度到期状态 LEFT JOIN CODE_MASTER AS CODE5 ON LIMIT.LIMIT_ID = CODE5.CODE_ID AND CODE5.COUNTRY_ID = /*dto.countryId*/'' --国I AND CODE5.CODE_TYPE = /*dto.codeKbnLimitTypeName*/''--322:额度种类 ORDER BY LIMIT.CUSTOMER_CODE, CODE5.CODE_NAME, CUR.CURRENCY_ID
-- seed is used to prepopulate the table use employee_db; -- populate departments INSERT INTO departments (department_name) VALUES ("Finance"), ("Operations Management"), ("Human Resources"), ("Marketing"), ("IT"); -- populate employee_roles INSERT INTO employee_roles (title, salary, department_id) VALUE ("Financial Analyst", 90000, 1), ("Operations Manager", 65000, 2), ("HR Generalist", 70000, 3), ("Market Manager", 80000, 4), ("Network Engineer", 50000, 5); -- populate employees INSERT INTO employees (first_name, last_name, role_id, manager_id) VALUE ("Bob", "Ross", 1, NULL), ("Steve", "Austin", 2, 1), ("Roger", "Smith", 3, 2), ("Ira", "Smith", 3, 2), ("Marge", "Simpson", 4, 3), ("Lois", "Griffin", 4, 3), ("Tina", "Belcher", 5, 4), ("Jeremy", "Clarkson", 5, 4);
SELECT 'INSERT INTO "province" (id, code, "name", country_id, created_at, updated_at) VALUES (' + CAST( id AS varchar(50) ) + ', ''' + code + ''', ''' + [name] + ''', 1, date_trunc(''second'', LOCALTIMESTAMP), date_trunc(''second'', LOCALTIMESTAMP));' FROM tblState WHERE id < 14
# ************************************************************ # Sequel Pro SQL dump # Version 4541 # # http://www.sequelpro.com/ # https://github.com/sequelpro/sequelpro # # Host: 127.0.0.1 (MySQL 5.7.29) # Database: wedding # Generation Time: 2020-04-27 03:03:14 +0000 # ************************************************************ /*!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 */; /*!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 */; # Dump of table album # ------------------------------------------------------------ DROP TABLE IF EXISTS `album`; CREATE TABLE `album` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `current_number` int(11) NOT NULL DEFAULT '0', `max_number` int(11) NOT NULL DEFAULT '5', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # Dump of table album_photo # ------------------------------------------------------------ DROP TABLE IF EXISTS `album_photo`; CREATE TABLE `album_photo` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `albumid` int(11) NOT NULL, `address` varchar(100) NOT NULL DEFAULT '', `upload_time` datetime NOT NULL, `order_number` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # Dump of table bill # ------------------------------------------------------------ DROP TABLE IF EXISTS `bill`; CREATE TABLE `bill` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `type` varchar(20) NOT NULL DEFAULT '', `money` double NOT NULL, `remark` varchar(100) DEFAULT NULL, `time` datetime NOT NULL, `userid` int(11) NOT NULL, `balance` double NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # Dump of table comment # ------------------------------------------------------------ DROP TABLE IF EXISTS `comment`; CREATE TABLE `comment` ( `id` int(11) NOT NULL, `happiness_id` int(11) NOT NULL, `sender_id` int(11) NOT NULL, `content` varchar(500) NOT NULL, `state` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # Dump of table date_apply # ------------------------------------------------------------ DROP TABLE IF EXISTS `date_apply`; CREATE TABLE `date_apply` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `userid1` int(11) NOT NULL, `userid2` int(11) NOT NULL, `applyinfo` varchar(50) DEFAULT NULL, `replyinfo` varchar(50) DEFAULT '', `result` varchar(10) NOT NULL DEFAULT '', `applydate` date NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # Dump of table date_record # ------------------------------------------------------------ DROP TABLE IF EXISTS `date_record`; CREATE TABLE `date_record` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `userid2` int(11) NOT NULL, `userid1` int(11) NOT NULL, `start_date` date NOT NULL, `end_date` date NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # Dump of table date_standard # ------------------------------------------------------------ DROP TABLE IF EXISTS `date_standard`; CREATE TABLE `date_standard` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `agemin` int(11) NOT NULL, `agemax` int(11) NOT NULL, `heightmin` int(11) NOT NULL, `heightmax` int(11) NOT NULL, `salary` varchar(30) NOT NULL DEFAULT '', `education` varchar(30) NOT NULL DEFAULT '', `address` varchar(100) NOT NULL DEFAULT '', `marrige` tinyint(4) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # Dump of table friend_apply # ------------------------------------------------------------ DROP TABLE IF EXISTS `friend_apply`; CREATE TABLE `friend_apply` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `userid1` int(11) NOT NULL, `userid2` int(11) NOT NULL, `applyInfo` varchar(50) DEFAULT '', `result` varchar(10) NOT NULL DEFAULT '', `replyInfo` varchar(50) NOT NULL DEFAULT '', `applydate` date NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # Dump of table happiness # ------------------------------------------------------------ DROP TABLE IF EXISTS `happiness`; CREATE TABLE `happiness` ( `id` int(11) NOT NULL, `sender_id` int(11) NOT NULL, `time` date NOT NULL, `content` varchar(500) NOT NULL, `likes` int(11) NOT NULL, `state` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # Dump of table happiness_likes # ------------------------------------------------------------ DROP TABLE IF EXISTS `happiness_likes`; CREATE TABLE `happiness_likes` ( `id` int(11) NOT NULL, `happiness_id` int(11) NOT NULL, `like_id` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # Dump of table happiness_photo # ------------------------------------------------------------ DROP TABLE IF EXISTS `happiness_photo`; CREATE TABLE `happiness_photo` ( `id` int(11) NOT NULL, `happiness_id` int(11) NOT NULL, `photo` mediumblob NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # Dump of table system_message # ------------------------------------------------------------ DROP TABLE IF EXISTS `system_message`; CREATE TABLE `system_message` ( `id` int(11) NOT NULL, `sender_id` int(11) NOT NULL, `receiver_id` int(11) NOT NULL, `content` varchar(500) NOT NULL, `state` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # Dump of table user # ------------------------------------------------------------ DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(50) NOT NULL DEFAULT '', `password` varchar(50) NOT NULL DEFAULT '', `phone` varchar(11) NOT NULL DEFAULT '', `usertype` tinyint(4) NOT NULL DEFAULT '0', `limit_browse` tinyint(4) NOT NULL DEFAULT '1', `limit_message` tinyint(4) NOT NULL DEFAULT '1', `fullname` varchar(20) NOT NULL DEFAULT '', `sex` tinyint(4) NOT NULL, `birthday` date NOT NULL, `height` int(11) NOT NULL, `introduction` varchar(1000) DEFAULT NULL, `address` varchar(100) NOT NULL DEFAULT '', `education` varchar(50) NOT NULL DEFAULT '', `marrige` tinyint(4) NOT NULL, `salary` varchar(50) NOT NULL DEFAULT '', `balance` int(11) NOT NULL DEFAULT '0', `trueness` int(11) NOT NULL DEFAULT '60', `profession` varchar(30) NOT NULL DEFAULT '', `albumid` int(11) unsigned NOT NULL, `standardid` int(11) NOT NULL, `vip_enddate` date NOT NULL, PRIMARY KEY (`id`), KEY `user2album` (`albumid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # Dump of table user_relation # ------------------------------------------------------------ DROP TABLE IF EXISTS `user_relation`; CREATE TABLE `user_relation` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `userid1` int(11) NOT NULL, `userid2` int(11) NOT NULL, `remark` varchar(50) DEFAULT NULL, `type` tinyint(4) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # Dump of table wedding # ------------------------------------------------------------ DROP TABLE IF EXISTS `wedding`; CREATE TABLE `wedding` ( `id` int(11) NOT NULL, `applicant_id` int(11) NOT NULL, `name` varchar(30) NOT NULL, `phone` varchar(20) NOT NULL, `email` varchar(50) NOT NULL, `total` int(11) NOT NULL, `start` date NOT NULL DEFAULT '2000-01-01', `end` date NOT NULL DEFAULT '2000-01-01', `location` varchar(500) NOT NULL, `detail` varchar(500) NOT NULL, `state` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; # Dump of table wedding_record # ------------------------------------------------------------ DROP TABLE IF EXISTS `wedding_record`; CREATE TABLE `wedding_record` ( `id` int(11) NOT NULL, `wedding_id` int(11) NOT NULL, `approver_id` int(11) NOT NULL, `time` date NOT NULL, `result` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_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 */;
use master; create database myproject; use myproject; ## 创建宿舍 create table dorm( dormid char(7) primary key, peoplenum int not null ) ## 宿舍的详细信息,里面有空床位,和已占位的描述 ## eg. emptybed : 1,2,6 fullbedid : 3,4,5 create table detaildorm( dormid char(7) foreign key references dorms, peoplenum int not null, emptybedid varchar(20), fullbedid varchar(20) ) create table classes( classid char(4) primary key, classname varchar(20) not null ) create table student( studentid char(9) primary key, name char(10) not null, sex char(2) not null, birthday date, nationname varchar(15), enrollmentyear date not null, contactway varchar(20) not null, classid char(4) foreign key references classes, dormid char(7) foreign key references dorms, bedid char(2) not null ) create table limit ( username varchar(15) primary key, password varchar(15) not null, name char(10) not null, level char(10) not null ) Create Table dormhealth (dormid char(7) foreign key references dorm ,checkdate date not null ,electricityandsmell int ,ground int ,desk int ,bed int ,washtable int ,toilet int ,balcony int ,totalscore as electricityandsmell+ground+desk+bed+washtable+toilet+balcony ,note char(150) ,rectificationornot bit not null primary key(dormid,checkdate) ) alter table student add unique(dormid,bedid)
SELECT * FROM TB_Calibre
delete from Value where code = 1000 or code = 1001; delete from Holder where code = 1000 or code = 1001; insert into Holder values(1, '2011-09-30', 1000, 'Съобщения', 'Messages'); insert into Value values (1, '2011-09-30', 'Грешно потребителско име и/или парола', 'loginFailed', 'Wrong username and/or password', 1000); insert into Value values (2, '2011-09-30', 'Грешен защитен код', 'captchaNotMatching', 'CAPTCHA doesn''t match', 1000); insert into Value values (3, '2011-09-30', 'Не е въведен защитен код', 'captchaMissing', 'CAPTCHA is required', 1000); insert into Value values (4, '2011-09-30', 'Моля въведете адрес', 'address', 'Please add your address', 1000); insert into Value values (5, '2011-09-30', 'Моля въведете пощески адрес', 'e-mail', 'Please add e-mail address', 1000); insert into Value values (6, '2011-09-30', 'Моля въведете парола', 'password', 'Please write password', 1000); insert into Value values (7, '2011-09-30', 'Повторете паролата', 'retypePassword', 'Please retype password', 1000); insert into Value values (8, '2011-09-30', 'Задачата е успешно създадена!', 'completeCreateIssue', 'Issue created!', 1000); insert into Value values (9, '2011-09-30', 'Регистрацията е успешна!', 'completeRegistration', 'You are now registered!', 1000); insert into Value values (10, '2011-09-30', 'Моля попълнете си адресната информация за да завършите регистрацията', 'alert', 'Please remember to fill your address information to complete registration', 1000); insert into Holder values(2, '2011-09-30', 1001, 'Етикети', 'Labels'); insert into Value values (11, '2011-09-30', 'Трите имена', 'fullName', 'Full name', 1001); insert into Value values (12, '2011-09-30', 'Изглед на продукта', 'shopProductScreen', 'Product View', 1001); insert into Value values (13, '2011-09-30', 'Софтуерни продукти', 'shopSoftwareProducts', 'Software products', 1001); insert into Value values (14, '2011-09-30', 'Хардуерни продукти', 'shopHardwareProducts', 'Hardware products', 1001); insert into Value values (15, '2011-09-30', 'Име и описание', 'shopNameDescription', 'Name and description', 1001); insert into Value values (16, '2011-09-30', 'Купи', 'shopBuy', 'Buy', 1001); insert into Value values (17, '2011-09-30', 'Брой продукти', 'shopItemNumber', 'Item number', 1001); insert into Value values (18, '2011-09-30', 'Обща сума', 'shopTotalPrice', 'Total price', 1001); insert into Value values (19, '2011-09-30', 'Изчисти', 'shopClear', 'Clear', 1001); insert into Value values (20, '2011-09-30', 'Кошница с покупки', 'shopCart', 'Shopping Cart', 1001); insert into Value values (21, '2011-09-30', 'Избор на Проект', 'searchProject', 'Search Project', 1001); insert into Value values (22, '2011-09-30', 'код', 'id', 'Id', 1001); insert into Value values (23, '2011-09-30', 'Търсене на задача', 'issueSearch', 'Issue Search', 1001); insert into Value values (24, '2011-09-30', 'Начало', 'home', 'Home', 1001); insert into Value values (25, '2011-09-30', 'Форум', 'forum', 'Forum', 1001); insert into Value values (26, '2011-09-30', 'Въпроси и отговори', 'FAQ', 'FAQ', 1001); insert into Value values (27, '2011-09-30', 'Магазин', 'shop', 'E-Shop', 1001); insert into Value values (28, '2011-09-30', 'Контакти', 'contactUs', 'contact us', 1001); insert into Value values (29, '2011-09-30', 'Решение', 'issueDecision', 'Decision', 1001); insert into Value values (30, '2011-09-30', 'Приоритет', 'issuePriority', 'Priority', 1001); insert into Value values (31, '2011-09-30', 'Дата на създаване', 'issueCreateDate', 'Create date', 1001); insert into Value values (32, '2011-09-30', 'Редактирай', 'edit', 'Edit', 1001); insert into Value values (33, '2011-09-30', 'Запази', 'save', 'Save', 1001); insert into Value values (34, '2011-09-30', 'Заглавие', 'threadTitle', 'Title', 1001); insert into Value values (35, '2011-09-30', 'Дати', 'date', 'Date', 1001); insert into Value values (36, '2011-09-30', 'Регистрацията е приключена, изпратена е електронна поща за проверка', 'compReg', 'Registration done, e-mail for verification sent', 1001); insert into Value values (37, '2011-09-30', 'Детайли на задача', 'issueDetail', 'Issue detail', 1001); insert into Value values (38, '2011-09-30', 'Дата от', 'dateFrom', 'Date from', 1001); insert into Value values (39, '2011-09-30', 'Дата до', 'dateTo', 'Date to', 1001); insert into Value values (40, '2011-09-30', 'Намерен резултат', 'issueResult', 'Results found', 1001); insert into Value values (41, '2011-09-30', 'Отказ', 'issueCancel', 'Cancel', 1001); insert into Value values (42, '2011-09-30', 'Търсене на потребители', 'userSearch', 'User search', 1001); insert into Value values (43, '2011-09-30', 'Община', 'municipality', 'Municipality', 1001); insert into Value values (44, '2011-09-30', 'Тип на потребител', 'userType', 'User type', 1001); insert into Value values (45, '2011-09-30', 'Вход', 'loginTitle', 'Login', 1001); insert into Value values (46, '2011-09-30', 'Държава', 'country', 'Country', 1001); insert into Value values (47, '2011-09-30', 'Избери опция', 'choiceOption', 'Choice option', 1001); insert into Value values (48, '2011-09-30', 'Град', 'city', 'City', 1001); insert into Value values (49, '2011-09-30', 'Пощенски код', 'postCode', 'Post Code', 1001); insert into Value values (50, '2011-09-30', 'Телефон за връзка', 'phone', 'Phone ', 1001); insert into Value values (51, '2011-09-30', 'Създаване на проект', 'projectCreate', 'Create Project', 1001); insert into Value values (52, '2011-09-30', 'Фирма', 'company', 'Company', 1001); insert into Value values (53, '2011-09-30', 'Име', 'name', 'Name', 1001); insert into Value values (54, '2011-09-30', 'Описание', 'description', 'Description', 1001); insert into Value values (55, '2011-09-30', 'Привилегии', 'privileges', 'Privileges', 1001); insert into Value values (56, '2011-09-30', 'Проект', 'projectName', 'Project name', 1001); insert into Value values (57, '2011-09-30', 'Детайли на проект', 'projectDetail', 'Project detail', 1001); insert into Value values (58, '2011-09-30', 'Кратко име ', 'shortProjectName', 'Short name', 1001); insert into Value values (59, '2011-09-30', 'Описание', 'privilegesDescription', 'Privileges Description', 1001); insert into Value values (60, '2011-09-30', 'Регистрация на потребител', 'userRegistration', 'User Registration', 1001); insert into Value values (61, '2011-09-30', 'Добавяне на потребител/служител', 'newUserEmployee', 'New user/employee', 1001); insert into Value values (62, '2011-09-30', 'Добавяне на потребителска група', 'newUserGroup', 'New user/group', 1001); insert into Value values (63, '2011-09-30', 'Добавяне на продукт', 'newProduct', 'New product', 1001); insert into Value values (64, '2011-09-30', 'Софтуер', 'software', 'Software', 1001); insert into Value values (65, '2011-09-30', 'Наименование', 'productName', 'Product Name ', 1001); insert into Value values (66, '2011-09-30', 'Сериен №', 'serialNumber', 'Serial Number', 1001); insert into Value values (67, '2011-09-30', 'Версия', 'version', 'Version', 1001); insert into Value values (68, '2011-09-30', 'Снимка', 'image', 'Image', 1001); insert into Value values (69, '2011-09-30', 'Създаване на задача', 'issueCreate', 'Issue create ', 1001); insert into Value values (70, '2011-09-30', 'Цена', 'price', 'Price', 1001); insert into Value values (71, '2011-09-30', 'Хардуер', 'hardware', 'Hardware', 1001); insert into Value values (72, '2011-09-30', 'Заглавие на задачата', 'issueTask', 'Task title', 1001); insert into Value values (73, '2011-09-30', 'Номер', 'issueNumber', 'Number', 1001); insert into Value values (74, '2011-09-30', 'Създадено от', 'issueCreatedFrom', 'Created by', 1001); insert into Value values (75, '2011-09-30', 'Генерирай', 'generate', 'Generate', 1001); insert into Value values (76, '2011-09-30', 'Принтиране', 'print', 'Print', 1001); insert into Value values (77, '2011-09-30', 'Назначено на', 'issueOwnerCreate', 'Appointed on', 1001); insert into Value values (78, '2011-09-30', 'Производител', 'manufacturer', 'Manufacturer', 1001); insert into Value values (79, '2011-09-30', 'Статус', 'issueStatus', 'Status', 1001); insert into Value values (80, '2011-09-30', 'Гаранционен период', 'warranity', 'Warranity', 1001); insert into Value values (81, '2011-09-30', 'Тегло', 'weight', 'Weight', 1001); insert into Value values (82, '2011-09-30', 'Добавяне на фирма', 'newCompany', 'New company', 1001); insert into Value values (83, '2011-09-30', 'Потребител', 'user', 'User', 1001); insert into Value values (84, '2011-09-30', 'Служител', 'employee', 'Employee', 1001); insert into Value values (85, '2011-09-30', 'Търсене на потребител/служител', 'searchUserEmployee', 'Search user/employee', 1001); insert into Value values (86, '2011-09-30', 'Търсене на продукт', 'searchProduct', 'Search product', 1001); insert into Value values (87, '2011-09-30', 'Булстат', 'bulstat', 'Bulstat', 1001); insert into Value values (88, '2011-09-30', 'Представители', 'representatives', 'Representatives', 1001); insert into Value values (89, '2011-09-30', 'Търсене', 'search', 'Search', 1001); insert into Value values (90, '2011-09-30', 'Интернет адрес', 'webSite', 'Web Site', 1001); insert into Value values (91, '2011-09-30', 'Търсене на фирма', 'searchCompany', 'Search company', 1001); insert into Value values (92, '2011-09-30', 'Продукт', 'product', 'Product', 1001); insert into Value values (93, '2011-09-30', 'Улица', 'street', 'Street', 1001); insert into Value values (94, '2011-09-30', 'Парола', 'password', 'Password', 1001); insert into Value values (95, '2011-09-30', 'Имейл Адрес', 'email', 'E-mail Address', 1001); insert into Value values (96, '2011-09-30', 'Адрес', 'address', 'Address', 1001); insert into Value values (97, '2011-09-30', 'Регистрация', 'registration', 'Registration', 1001); insert into Value values (98, '2011-09-30', 'Създай задача', 'createIssue', 'Create', 1001); insert into Value values (99, '2011-09-30', 'Отказ', 'cancel', 'Cancel', 1001); insert into Value values (100, '2011-09-30', 'Тип задача', 'type', 'Type Issue', 1001); insert into Value values (101, '2011-09-30', 'Приоритет', 'priority', 'Priority', 1001); insert into Value values (102, '2011-09-30', 'Статус', 'status', 'Status', 1001); insert into Value values (103, '2011-09-30', 'Решение', 'resolution', 'Resolution', 1001); insert into Value values (104, '2011-09-30', 'Възложител', 'reporter', 'Reporter', 1001); insert into Value values (105, '2011-09-30', 'Изпълнител', 'assignee', 'Assignee', 1001); insert into Value values (106, '2011-09-30', 'Дата на създаване', 'dateCreated', 'Date Created', 1001); insert into Value values (107, '2011-09-30', 'Крайна дата', 'dateEnded', 'Date Ended', 1001); insert into Value values (108, '2011-09-30', 'Бъг', 'bug', 'Bug', 1001); insert into Value values (109, '2011-09-30', 'Подобрение', 'improvement', 'Improvement', 1001); insert into Value values (110, '2011-09-30', 'Ново свойство', 'newFeature', 'New Feature', 1001); insert into Value values (111, '2011-09-30', 'Задача', 'task', 'Task', 1001); insert into Value values (112, '2011-09-30', 'Важен', 'major', 'Major', 1001); insert into Value values (113, '2011-09-30', 'Маловажен', 'minor', 'Minor', 1001); insert into Value values (114, '2011-09-30', 'Незначителен', 'trivial', 'Trivial', 1001); insert into Value values (115, '2011-09-30', 'Отворен ', 'open', 'Open', 1001); insert into Value values (116, '2011-09-30', 'В прогрес', 'inProgress', 'In Progress', 1001); insert into Value values (117, '2011-09-30', 'Решен', 'resolved', 'Resolved', 1001); insert into Value values (118, '2011-09-30', 'Подновен ', 'reopened', 'Reopened', 1001); insert into Value values (119, '2011-09-30', 'Затворен', 'closed', 'Closed', 1001); insert into Value values (120, '2011-09-30', 'Установено', 'fixed', 'Fixed', 1001); insert into Value values (121, '2011-09-30', 'Няма решение', 'woNotFix', 'Won''t Fix', 1001); insert into Value values (122, '2011-09-30', 'Повторение', 'duplicate', 'Duplicate', 1001); insert into Value values (123, '2011-09-30', 'Служители', 'staff', 'Staff', 1001); insert into Value values (124, '2011-09-30', 'Незавършен', 'incomplete', 'Incomplete', 1001); insert into Value values (125, '2011-09-30', 'Невъзпроизводим', 'cannotReproduce', 'Cann''t Reproduce', 1001); insert into Value values (126, '2011-09-30', 'Задача по поръчка', 'customIssue', 'Custom Issue', 1001); insert into Value values (127, '2011-09-30', 'Критично', 'critical', 'Critical', 1001); insert into Value values (128, '2011-09-30', 'Потвърди парола', 'confirmPassword', 'Confirm Password', 1001); insert into Value values (129, '2011-09-30', 'Заглавие на задача', 'titleIssue', 'Тitle Issue', 1001); insert into Value values (130, '2011-09-30', 'Отчет задачи?', 'issueReport', 'Issue Report', 1001); insert into Value values (131, '2011-09-30', 'наименование', 'groupName', 'Group Name', 1001); insert into Value values (132, '2011-09-30', 'Продукти', 'products', 'Products', 1001); insert into Value values (133, '2011-09-30', 'Влез', 'login', 'Login', 1001); insert into Value values (134, '2011-09-30', 'Излез', 'logout', 'Logout', 1001); insert into Value values (135, '2011-09-30', 'Профил', 'profile', 'Profile', 1001); insert into Value values (136, '2011-09-30', 'Лична информация', 'generalInformation', 'General information', 1001); insert into Value values (137, '2011-09-30', 'Роля', 'role', 'Role', 1001); insert into Value values (138, '2011-09-30', 'Фирми', 'companies', 'Companies', 1001); insert into Value values (139, '2011-09-30', 'Добави Фирми', 'associateCompanies', 'Associate Companies', 1001); insert into Value values (140, '2011-09-30', 'Добави/Премахни', 'addRemove', 'Add/Remove', 1001); insert into Value values (141, '2011-09-30', 'Добави', 'add', 'Add', 1001); insert into Value values (142, '2011-09-30', 'Премахни', 'remove', 'Remove', 1001); insert into Value values (143, '2011-09-30', 'Кошница', 'shoppingCart', 'Shopping Cart', 1001); insert into Value values (144, '2011-09-30', 'Добавяне на продукти', 'addProducts', 'Add Products', 1001); insert into Value values (145, '2011-09-30', 'Търсене на проект', 'projectSearch', 'Project Search', 1001); insert into Value values (146, '2011-09-30', 'Започни Нова Тема', 'startThread', 'Start a New Thread', 1001); insert into Value values (147, '2011-09-30', 'Текст', 'text', 'Text', 1001); insert into Value values (148, '2011-09-30', 'Коментирай', 'post', 'Post', 1001); insert into Value values (149, '2011-09-30', 'каза', 'said', 'said', 1001); insert into Value values (150, '2011-09-30', 'Отказ', 'cancel', 'Cancel', 1001); insert into Value values (151, '2011-09-30', 'Администриране', 'admin', 'Admin', 1001); insert into Value values (152, '2011-09-30', 'Търсене на Групи от Права', 'searchGroup', 'Privilege Group Search', 1001); insert into Value values (153, '2011-09-30', 'Създаване на Група от Права', 'createGroup', 'Create Privilege Group', 1001); insert into Value values (154, '2011-09-30', 'Проекти и Задачи', 'issuesAndProjects', 'Projects & Issues', 1001); insert into Value values (155, '2011-09-30', 'Търсене на Теми', 'searchThread', 'Search Forum Threads', 1001); insert into Value values (156, '2011-09-30', 'Създадена от', 'threadCreateBy', 'Created By', 1001); insert into Value values (157, '2011-09-30', 'ЛВ.', 'shopBgn', 'BGN', 1001); insert into Value values (158, '2011-09-30', 'Изпрати имейл!', 'sendMailContactUs', 'Send Mail!', 1001); insert into Value values (159, '2011-09-30', 'Ако имате въпроси и проблеми, пишете ни!', 'descriptionContactUs', 'If you have questions or problems, please contact us!', 1001); insert into Value values (160, '2011-09-30', 'Име на продукта', 'shopProductTitle', 'Product title', 1001); insert into Value values (161, '2011-09-30', 'Тип', 'shopProductType', 'Type', 1001); insert into Value values (162, '2011-09-30', 'Стойност', 'shopProductValue', 'Value', 1001); insert into Value values (163, '2011-09-30', 'Операция', 'shopProductOperation', 'Operation', 1001); insert into Value values (164, '2011-09-30', 'Премахни', 'shopProductRemove', 'Remove', 1001); insert into Value values (165, '2011-09-30', 'Поръчай', 'shopProductOrder', 'Order', 1001);
CREATE TABLE percent_change ( department varchar(20), spend_2014 numeric(10,2), spend_2017 numeric(10,2) ); INSERT INTO percent_change VALUES ('Building', 250000, 289000), ('Assessor', 178556, 179500), ('Library', 87777, 90001), ('Clerk', 451980, 650000), ('Police', 250000, 223000), ('Recreation', 199000, 195000); SELECT department, spend_2014, spend_2017, round( (spend_2017 - spend_2014) / spend_2014 * 100, 1) AS "pct_change" FROM percent_change; SELECT sum(p0010001) AS "County Sum", round(avg(p0010001), 0) AS "County Average" FROM us_counties_2010;
-- MySQL dump 10.13 Distrib 5.7.27, for Linux (x86_64) -- -- Host: localhost Database: smartphones -- ------------------------------------------------------ -- Server version 5.7.27-0ubuntu0.18.04.1 /*!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 `smartphone_details` -- DROP TABLE IF EXISTS `smartphone_details`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `smartphone_details` ( `smartphone_id` int(10) unsigned NOT NULL, `model_name` varchar(50) NOT NULL, `company_name` varchar(30) NOT NULL, `price` decimal(64,2) NOT NULL, `os` varchar(10) NOT NULL, `release_date` date NOT NULL, PRIMARY KEY (`smartphone_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `smartphone_details` -- LOCK TABLES `smartphone_details` WRITE; /*!40000 ALTER TABLE `smartphone_details` DISABLE KEYS */; INSERT INTO `smartphone_details` VALUES (1,'Pixel 3','Google',57000.00,'Android','2018-10-09'),(2,'iPhone XR','Apple',49999.00,'iOS','2018-09-12'),(3,'iPhone 11 Pro','Apple',99900.00,'iOS','2019-09-10'),(4,'Galaxy Note 10 Plus','Samsung',85000.00,'Android','2019-08-07'),(5,'iPhone XS Max','Apple',94999.00,'iOS','2018-09-12'),(6,'Galaxy A50s','Samsung',19499.00,'Android','2019-08-22'),(7,'Galaxy S9','Samsung',44990.00,'Android','2018-03-16'),(8,'ROG Phone II','Asus',37999.00,'Android','2019-09-23'),(9,'Mi A3','Xiaomi',12999.00,'Android','2019-08-21'),(10,'Galaxy A10','Samsung',7990.00,'Android','2019-03-12'); /*!40000 ALTER TABLE `smartphone_details` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2019-10-02 17:37:29
USE burger_db; INSERT INTO burgers (burger_name, devoured) VALUES ('Double Bacon Cheeseburger', false); INSERT INTO burgers (burger_name, devoured) VALUES ('Triple-Stacked Avocado Burger', false); INSERT INTO burgers (burger_name, devoured) VALUES ('Cali-Chicken Cheeseburger', false); INSERT INTO burgers (burger_name, devoured) VALUES ('Southern Style Veggie Burger', true); INSERT INTO burgers (burger_name, devoured) VALUES ('Spicy Pepper Jack Mushroom Burger', true); INSERT INTO burgers (burger_name, devoured) VALUES ('Tequila Lime Burger', true); INSERT INTO burgers (burger_name, devoured) VALUES('Vegetarian Fried Chicken', false); INSERT INTO burgers (burger_name, devoured) VALUES('Beef Burger', false); INSERT INTO burgers (burger_name, devoured) VALUES('Turkey Burger', false); INSERT INTO burgers (burger_name, devoured) VALUES ('Triple-Stacked Avocado Burger', false); INSERT INTO burgers (burger_name, devoured) VALUES ('Cali-Chicken Cheeseburger', false); INSERT INTO burgers (burger_name, devoured) VALUES ('Southern Style Veggie Burger', true);
-- phpMyAdmin SQL Dump -- version 2.10.3 -- http://www.phpmyadmin.net -- -- Servidor: localhost -- Tiempo de generación: 21-04-2015 a las 11:17:44 -- Versión del servidor: 5.6.23 -- Versión de PHP: 5.2.6 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; -- -- Base de datos: `cafeteria` -- CREATE DATABASE `cafeteria` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; USE `cafeteria`; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `bocatasemana` -- CREATE TABLE `bocatasemana` ( `cod` int(11) NOT NULL AUTO_INCREMENT, `nombre` varchar(250) NOT NULL, `precio` varchar(10) NOT NULL, `fecha` date NOT NULL, `cafeteria` int(11) NOT NULL, PRIMARY KEY (`cod`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=78 ; -- -- Volcar la base de datos para la tabla `bocatasemana` -- INSERT INTO `bocatasemana` VALUES (3, 'Bocadillo de lomo con queso, patatas y refresco', '5.5', '2013-01-14', 1); INSERT INTO `bocatasemana` VALUES (2, 'Bocadillo de pimientos, patatas y refresco pequeño', '3.44', '2013-01-14', 2); INSERT INTO `bocatasemana` VALUES (4, 'Bocadillo de tortilla', '3', '2013-03-04', 1); INSERT INTO `bocatasemana` VALUES (72, 'Bocadillo de tortilla con mahonesa, patatas y refresco pequeño', '3', '2013-03-11', 1); INSERT INTO `bocatasemana` VALUES (74, 'Bocadillo de lomo con queso, patatas y refresco', '3.5', '2013-03-18', 1); INSERT INTO `bocatasemana` VALUES (75, 'Tortilla', '3', '2014-02-03', 1); INSERT INTO `bocatasemana` VALUES (76, 'Queso', '4', '2014-02-03', 2); INSERT INTO `bocatasemana` VALUES (77, 'Bocadillo de pechuga empanada con mahonesa', '3.5', '2015-04-20', 1); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `cafeteria` -- CREATE TABLE `cafeteria` ( `cod` int(11) NOT NULL AUTO_INCREMENT, `nombre` varchar(150) NOT NULL, `descr` text, `nunico` varchar(20) NOT NULL, PRIMARY KEY (`cod`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ; -- -- Volcar la base de datos para la tabla `cafeteria` -- INSERT INTO `cafeteria` VALUES (1, 'Cafetería 1', NULL, '43d251a'); INSERT INTO `cafeteria` VALUES (2, 'Cafetería 2', NULL, '3y6tgew'); INSERT INTO `cafeteria` VALUES (3, 'Cafetería 3', NULL, '3d2a1w'); INSERT INTO `cafeteria` VALUES (4, 'Cafetería 4', NULL, 'ds21q14'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `cafetusu` -- CREATE TABLE `cafetusu` ( `codCaf` int(11) NOT NULL, `codUsu` int(11) NOT NULL, PRIMARY KEY (`codCaf`,`codUsu`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Volcar la base de datos para la tabla `cafetusu` -- INSERT INTO `cafetusu` VALUES (1, 1); INSERT INTO `cafetusu` VALUES (2, 1); INSERT INTO `cafetusu` VALUES (3, 1); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `datos` -- CREATE TABLE `datos` ( `cod` int(11) NOT NULL AUTO_INCREMENT, `info` varchar(250) NOT NULL, `contenido` text NOT NULL, PRIMARY KEY (`cod`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; -- -- Volcar la base de datos para la tabla `datos` -- INSERT INTO `datos` VALUES (1, 'datoMenu', 'Cualquier modificación que por fuerza mayor tenga que realizarse en la relación de menús señalados, se\r\nhará por sustitución de otro de parecidas características<br>\r\nEl menú constará:<br>\r\n- Primer plato a elegir entre las diferentes alternativas de los primeros\r\nplatos del día .<br>\r\n- Segundo plato a elegir entre las diferentes alternativas de los\r\nsegundos platos del día.<br>\r\n- Pan<br>\r\n- Bebida: Cerveza, Agua o Refresco (Coca-Cola, Fanta Naranja, Fanta\r\nLimón).<br>\r\n- Postre (Fruta, Lácteo o Café)<br>\r\nSu precio es de 5,00 € (IVA incluido).<br>\r\nEl menú para llevar es de 5,50 € (IVA incluido).<br>\r\nEl menú con postre y café es de 5,50 € (IVA incluido).<br>\r\nLa cafetería. pone a su disposición bonos personales\r\nde:<br>\r\n10 menús: 49 €<br>\r\n20 menús: 96 €<br>\r\n30 menús: 140 €<br>\r\nLa cafetería le agradece su confianza y estaremos\r\nencantados de poderles atender.'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `datosmenudia` -- CREATE TABLE `datosmenudia` ( `codPlato1` int(11) NOT NULL, `codPlato2` int(11) NOT NULL, `precio` varchar(10) NOT NULL, `fecha` date NOT NULL, `cafeteria` int(11) NOT NULL, PRIMARY KEY (`fecha`,`cafeteria`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Volcar la base de datos para la tabla `datosmenudia` -- INSERT INTO `datosmenudia` VALUES (1145, 1146, '1', '2013-03-11', 1); INSERT INTO `datosmenudia` VALUES (249, 250, '2323', '2013-03-11', 0); INSERT INTO `datosmenudia` VALUES (255, 256, '2', '0000-00-00', 1); INSERT INTO `datosmenudia` VALUES (1149, 1150, '3', '2013-03-13', 1); INSERT INTO `datosmenudia` VALUES (1151, 1152, '3', '2013-03-14', 1); INSERT INTO `datosmenudia` VALUES (1153, 1154, '3', '2013-03-15', 1); INSERT INTO `datosmenudia` VALUES (1157, 1158, '1', '2013-03-17', 1); INSERT INTO `datosmenudia` VALUES (1147, 1148, '1.1', '2013-03-12', 1); INSERT INTO `datosmenudia` VALUES (1067, 1068, '23', '2013-03-16', 2); INSERT INTO `datosmenudia` VALUES (1155, 1156, '4', '2013-03-16', 1); INSERT INTO `datosmenudia` VALUES (1113, 1114, '3', '2013-03-18', 2); INSERT INTO `datosmenudia` VALUES (1161, 1162, '5', '2013-03-18', 1); INSERT INTO `datosmenudia` VALUES (1163, 1164, '5', '2013-03-19', 1); INSERT INTO `datosmenudia` VALUES (1165, 1166, '3', '2014-02-03', 1); INSERT INTO `datosmenudia` VALUES (1167, 1168, '4', '2014-02-04', 1); INSERT INTO `datosmenudia` VALUES (1169, 1170, '4', '2014-02-05', 1); INSERT INTO `datosmenudia` VALUES (1171, 1172, '3', '2014-02-06', 1); INSERT INTO `datosmenudia` VALUES (1173, 1174, '4', '2014-02-07', 1); INSERT INTO `datosmenudia` VALUES (1175, 1176, '5', '2014-02-08', 1); INSERT INTO `datosmenudia` VALUES (1177, 1178, '3', '2014-02-09', 1); INSERT INTO `datosmenudia` VALUES (1179, 1180, '3', '2014-02-03', 2); INSERT INTO `datosmenudia` VALUES (1181, 1182, '4', '2014-02-04', 2); INSERT INTO `datosmenudia` VALUES (1183, 1184, '3', '2014-02-05', 2); INSERT INTO `datosmenudia` VALUES (1185, 1186, '3', '2014-02-06', 2); INSERT INTO `datosmenudia` VALUES (1187, 1188, '5', '2014-02-07', 2); INSERT INTO `datosmenudia` VALUES (1189, 1190, '3', '2014-02-08', 2); INSERT INTO `datosmenudia` VALUES (1191, 1192, '3', '2014-02-09', 2); INSERT INTO `datosmenudia` VALUES (1193, 1194, '5', '2015-04-20', 1); INSERT INTO `datosmenudia` VALUES (1195, 1196, '5', '2015-04-21', 1); INSERT INTO `datosmenudia` VALUES (1197, 1198, '5', '2015-04-22', 1); INSERT INTO `datosmenudia` VALUES (1199, 1200, '5', '2015-04-23', 1); INSERT INTO `datosmenudia` VALUES (1201, 1202, '5', '2015-04-24', 1); INSERT INTO `datosmenudia` VALUES (1203, 1204, '5', '2015-04-25', 1); INSERT INTO `datosmenudia` VALUES (1205, 1206, '5', '2015-04-26', 1); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `menudia` -- CREATE TABLE `menudia` ( `cod` int(11) NOT NULL AUTO_INCREMENT, `primOseg` int(11) NOT NULL, `nombre` varchar(250) NOT NULL, PRIMARY KEY (`cod`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1207 ; -- -- Volcar la base de datos para la tabla `menudia` -- INSERT INTO `menudia` VALUES (119, 1, 'Calamares en vinagre\r<br>Sopa muy caliente que te quema'); INSERT INTO `menudia` VALUES (118, 2, 'albondigas con patatas\r<br>patatas rellenas'); INSERT INTO `menudia` VALUES (117, 1, 'sopa de marisco\r<br>jamon serrano'); INSERT INTO `menudia` VALUES (115, 1, 'REVUELTO DE ESPARRAGOS \r<br>ENSALADA MIXTA '); INSERT INTO `menudia` VALUES (116, 2, 'RODAJAS DE MERLUZA \r<br>LOMO EN SALSA VERDE'); INSERT INTO `menudia` VALUES (114, 2, 'BOQUERONES FRITOS \r<br>BACON CON PIMIENTOS Y PATATAS '); INSERT INTO `menudia` VALUES (113, 1, 'SAN JACOBO DE YORK Y QUESO \r<br>LENGUADO CON SALSA DE NARANJA '); INSERT INTO `menudia` VALUES (112, 2, 'SAN JACOBO DE YORK Y QUESO \r<br>LENGUADO CON SALSA DE NARANJA '); INSERT INTO `menudia` VALUES (111, 1, 'ENSALADA MURCIANA \r<br>ARROZ A LA CUBANA '); INSERT INTO `menudia` VALUES (110, 2, 'ATUN A LA RIOJANA \r<br>CHULETA A LA PLANCHA '); INSERT INTO `menudia` VALUES (109, 1, 'ESPINACAS ESPARRAGADAS \r<br>ENSALADA MIXTA '); INSERT INTO `menudia` VALUES (32, 2, ''); INSERT INTO `menudia` VALUES (33, 1, 'dfsd'); INSERT INTO `menudia` VALUES (34, 2, 'sdfsd'); INSERT INTO `menudia` VALUES (35, 1, 'dsf'); INSERT INTO `menudia` VALUES (36, 2, 'sdfsdsd'); INSERT INTO `menudia` VALUES (37, 1, 'dsf'); INSERT INTO `menudia` VALUES (38, 2, 'sdfsdsd'); INSERT INTO `menudia` VALUES (39, 1, 'sd'); INSERT INTO `menudia` VALUES (40, 2, 'sdfsd'); INSERT INTO `menudia` VALUES (41, 1, 'ggggg'); INSERT INTO `menudia` VALUES (42, 2, 'ggggggg'); INSERT INTO `menudia` VALUES (43, 1, '111'); INSERT INTO `menudia` VALUES (44, 2, '111'); INSERT INTO `menudia` VALUES (45, 1, ''); INSERT INTO `menudia` VALUES (46, 2, ''); INSERT INTO `menudia` VALUES (47, 1, 'sddd'); INSERT INTO `menudia` VALUES (48, 2, 'asdasd'); INSERT INTO `menudia` VALUES (49, 1, 'df'); INSERT INTO `menudia` VALUES (50, 2, 'sdf'); INSERT INTO `menudia` VALUES (51, 1, 'asd'); INSERT INTO `menudia` VALUES (52, 2, 'asd'); INSERT INTO `menudia` VALUES (53, 1, 'sdfdsf&lt;br&gt;sdf&lt;br&gt;sdf'); INSERT INTO `menudia` VALUES (54, 2, 'sdf&lt;br&gt;sdf&lt;br&gt;sdf'); INSERT INTO `menudia` VALUES (55, 1, 'asd<br>asd<br>asd<br>asd'); INSERT INTO `menudia` VALUES (56, 2, 'asd<br>asd<br>asd<br>asd'); INSERT INTO `menudia` VALUES (57, 1, '22222222222222222222222'); INSERT INTO `menudia` VALUES (58, 2, '2222222222222222222222222222222'); INSERT INTO `menudia` VALUES (59, 1, 'wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww'); INSERT INTO `menudia` VALUES (60, 2, 'wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww'); INSERT INTO `menudia` VALUES (61, 1, '&lt;input type=''text''&gt;'); INSERT INTO `menudia` VALUES (62, 2, '&lt;input type=''text''&gt;'); INSERT INTO `menudia` VALUES (63, 1, '&lt;input type=''text''&gt;'); INSERT INTO `menudia` VALUES (64, 2, '&lt;input type=''text''&gt;'); INSERT INTO `menudia` VALUES (65, 1, '&lt;input type=''text''&gt;'); INSERT INTO `menudia` VALUES (66, 2, '&lt;input type=''text''&gt;'); INSERT INTO `menudia` VALUES (67, 1, '&lt;input type=''text''&gt;'); INSERT INTO `menudia` VALUES (68, 2, '&lt;input type=''text''&gt;'); INSERT INTO `menudia` VALUES (69, 1, 'asd'); INSERT INTO `menudia` VALUES (70, 2, 'asd'); INSERT INTO `menudia` VALUES (71, 1, 'asd'); INSERT INTO `menudia` VALUES (72, 2, 'asd'); INSERT INTO `menudia` VALUES (73, 1, 'asd'); INSERT INTO `menudia` VALUES (74, 2, 'asd'); INSERT INTO `menudia` VALUES (75, 1, 'asd'); INSERT INTO `menudia` VALUES (76, 2, 'asd'); INSERT INTO `menudia` VALUES (77, 1, 'asd'); INSERT INTO `menudia` VALUES (78, 2, 'asd'); INSERT INTO `menudia` VALUES (79, 1, 'asd'); INSERT INTO `menudia` VALUES (80, 2, 'asd'); INSERT INTO `menudia` VALUES (81, 1, 'asd'); INSERT INTO `menudia` VALUES (82, 2, 'asd'); INSERT INTO `menudia` VALUES (83, 1, 'asd'); INSERT INTO `menudia` VALUES (84, 2, 'asdasd'); INSERT INTO `menudia` VALUES (85, 1, 'asdasd'); INSERT INTO `menudia` VALUES (86, 2, 'asd'); INSERT INTO `menudia` VALUES (87, 1, 'asdasd'); INSERT INTO `menudia` VALUES (88, 2, 'asdasd'); INSERT INTO `menudia` VALUES (89, 1, 'Salmorejo con patatas<br>ó<br>Habichuelas con vinagre'); INSERT INTO `menudia` VALUES (90, 2, 'Sopa de tomate<br>o<br>Cochifrito con albondigas en salsa'); INSERT INTO `menudia` VALUES (91, 1, 'ó´ñ´´ocococococo´´ó&quot;&quot;&lt;&gt;*?&quot;?¿¡¡adkjasd asd22 <br>asd<br>ó<br>ó<br>´´o<br>óo<br>o<br>sdfsdfsdfsdfsdf'); INSERT INTO `menudia` VALUES (92, 2, 'ó´ñ´´ocococococo´´ó&quot;&quot;&lt;&gt;*?&quot;?¿¡¡adkjasd asd22 <br>asd<br>ó<br>ó<br>´´o<br>óo<br>o<br>sdfsdfsdfsdfsdfó´ñ´´ocococococo´´ó&quot;&quot;&lt;&gt;*?&quot;?¿¡¡adkjasd asd22 <br>asd<br>ó<br>ó<br>´´o<br>óo<br>o<br>sdfsdfsdfsdfsdf'); INSERT INTO `menudia` VALUES (93, 1, 'o<br>o<br>o<br>o<br>o<br>o'); INSERT INTO `menudia` VALUES (94, 2, 'o<br>o<br>o<br>o<br>o<br>o'); INSERT INTO `menudia` VALUES (95, 1, 'wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww'); INSERT INTO `menudia` VALUES (96, 2, 'wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww'); INSERT INTO `menudia` VALUES (97, 1, 'Cochifrito con espinacas esparragas<br>ó<br>Jamón serrano con albondigas en salsa'); INSERT INTO `menudia` VALUES (98, 2, 'Marisco frío en salsa agridulce morada <br>ó<br>Salmorejo mezclado con patatas y huevo duro blanco'); INSERT INTO `menudia` VALUES (99, 1, 'sdf'); INSERT INTO `menudia` VALUES (100, 2, 'asasd'); INSERT INTO `menudia` VALUES (101, 1, 'Cochifrito con espinacas esparragas ó Jamón serrano con albondigas en salsa'); INSERT INTO `menudia` VALUES (102, 2, 'Marisco frío en salsa agridulce morada ó Salmorejo mezclado con patatas y huevo duro blanco<br>'); INSERT INTO `menudia` VALUES (103, 1, 'Jamón serrano'); INSERT INTO `menudia` VALUES (104, 2, 'Rabo de Gonzalo'); INSERT INTO `menudia` VALUES (105, 1, 'sopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>so'); INSERT INTO `menudia` VALUES (106, 2, 'sopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>sopa<br>sopasopa<br>so'); INSERT INTO `menudia` VALUES (107, 1, 'Sopa de pescado'); INSERT INTO `menudia` VALUES (108, 2, 'Tortilla de patatas'); INSERT INTO `menudia` VALUES (120, 2, 'Jamon serrano sin tocino\r<br>Pechuga empanada con jamon serrano'); INSERT INTO `menudia` VALUES (121, 1, 'caca'); INSERT INTO `menudia` VALUES (122, 2, 'sopa'); INSERT INTO `menudia` VALUES (123, 1, 'caca'); INSERT INTO `menudia` VALUES (124, 2, 'sopa'); INSERT INTO `menudia` VALUES (125, 1, 'caca'); INSERT INTO `menudia` VALUES (126, 2, 'sopa'); INSERT INTO `menudia` VALUES (127, 1, 'caca'); INSERT INTO `menudia` VALUES (128, 2, 'sopa'); INSERT INTO `menudia` VALUES (129, 1, 'caca'); INSERT INTO `menudia` VALUES (130, 2, 'sopa'); INSERT INTO `menudia` VALUES (131, 1, 'caca'); INSERT INTO `menudia` VALUES (132, 2, 'sopa'); INSERT INTO `menudia` VALUES (133, 1, 'caca'); INSERT INTO `menudia` VALUES (134, 2, 'sopa'); INSERT INTO `menudia` VALUES (135, 1, 'caca'); INSERT INTO `menudia` VALUES (136, 2, 'sopa'); INSERT INTO `menudia` VALUES (137, 1, 'caca'); INSERT INTO `menudia` VALUES (138, 2, 'sopa'); INSERT INTO `menudia` VALUES (139, 1, 'caca'); INSERT INTO `menudia` VALUES (140, 2, 'sopa'); INSERT INTO `menudia` VALUES (141, 1, 'caca'); INSERT INTO `menudia` VALUES (142, 2, 'sopa'); INSERT INTO `menudia` VALUES (143, 1, 'caca'); INSERT INTO `menudia` VALUES (144, 2, 'sopa'); INSERT INTO `menudia` VALUES (145, 1, 'asdasd'); INSERT INTO `menudia` VALUES (146, 2, 'fgdfgd'); INSERT INTO `menudia` VALUES (147, 1, 'asdasd'); INSERT INTO `menudia` VALUES (148, 2, 'fgdfgd'); INSERT INTO `menudia` VALUES (149, 1, 'asdasd'); INSERT INTO `menudia` VALUES (150, 2, 'fgdfgd'); INSERT INTO `menudia` VALUES (151, 1, 'asdasd'); INSERT INTO `menudia` VALUES (152, 2, 'fgdfgd'); INSERT INTO `menudia` VALUES (153, 1, 'asdasd'); INSERT INTO `menudia` VALUES (154, 2, 'fgdfgd'); INSERT INTO `menudia` VALUES (155, 1, 'asdasd'); INSERT INTO `menudia` VALUES (156, 2, 'fgdfgd'); INSERT INTO `menudia` VALUES (157, 1, 'asdasd'); INSERT INTO `menudia` VALUES (158, 2, 'fgdfgd'); INSERT INTO `menudia` VALUES (159, 1, 'asdasd'); INSERT INTO `menudia` VALUES (160, 2, 'fgdfgd'); INSERT INTO `menudia` VALUES (199, 1, 'asdasd'); INSERT INTO `menudia` VALUES (200, 1, 'asdasd'); INSERT INTO `menudia` VALUES (201, 2, 'fgdfgd'); INSERT INTO `menudia` VALUES (202, 1, 'asdasd'); INSERT INTO `menudia` VALUES (203, 2, 'fgdfgd'); INSERT INTO `menudia` VALUES (204, 1, 'asdasd'); INSERT INTO `menudia` VALUES (205, 2, 'fgdfgd'); INSERT INTO `menudia` VALUES (206, 1, 'asdasd'); INSERT INTO `menudia` VALUES (207, 2, 'fgdfgd'); INSERT INTO `menudia` VALUES (208, 1, 'asdasd'); INSERT INTO `menudia` VALUES (209, 2, 'fgdfgd'); INSERT INTO `menudia` VALUES (210, 1, 'sopa'); INSERT INTO `menudia` VALUES (211, 2, 'jamon'); INSERT INTO `menudia` VALUES (212, 1, 'lacon'); INSERT INTO `menudia` VALUES (213, 2, 'tomate'); INSERT INTO `menudia` VALUES (214, 1, 'jamon'); INSERT INTO `menudia` VALUES (215, 2, 'sopa'); INSERT INTO `menudia` VALUES (216, 1, 'pinchitos'); INSERT INTO `menudia` VALUES (217, 2, 'alcornoques'); INSERT INTO `menudia` VALUES (218, 1, 'asdasd'); INSERT INTO `menudia` VALUES (219, 2, 'asdasd'); INSERT INTO `menudia` VALUES (220, 1, 'asdasd'); INSERT INTO `menudia` VALUES (221, 2, 'asdasd'); INSERT INTO `menudia` VALUES (222, 1, 'sd'); INSERT INTO `menudia` VALUES (223, 2, 'asd'); INSERT INTO `menudia` VALUES (224, 1, 'sopa'); INSERT INTO `menudia` VALUES (225, 2, 'tomas'); INSERT INTO `menudia` VALUES (226, 1, 'asdasd'); INSERT INTO `menudia` VALUES (227, 1, 'asdasd'); INSERT INTO `menudia` VALUES (228, 1, 'asdasd'); INSERT INTO `menudia` VALUES (229, 1, 'asdasd'); INSERT INTO `menudia` VALUES (230, 2, 'asdasd'); INSERT INTO `menudia` VALUES (231, 1, 'asdasd'); INSERT INTO `menudia` VALUES (232, 2, 'asdasd'); INSERT INTO `menudia` VALUES (233, 1, 'asdasd'); INSERT INTO `menudia` VALUES (234, 2, 'asdasd'); INSERT INTO `menudia` VALUES (235, 1, 'asdasd'); INSERT INTO `menudia` VALUES (236, 2, 'asdasd'); INSERT INTO `menudia` VALUES (237, 1, 'asdasd'); INSERT INTO `menudia` VALUES (238, 2, 'asdasd'); INSERT INTO `menudia` VALUES (239, 1, 'asdasd'); INSERT INTO `menudia` VALUES (240, 2, 'asdasd'); INSERT INTO `menudia` VALUES (241, 1, 'asdasd'); INSERT INTO `menudia` VALUES (242, 2, 'asdasd'); INSERT INTO `menudia` VALUES (243, 1, 'asdasd'); INSERT INTO `menudia` VALUES (244, 2, 'asdasd'); INSERT INTO `menudia` VALUES (245, 1, 'asdasd'); INSERT INTO `menudia` VALUES (246, 2, 'asdasd'); INSERT INTO `menudia` VALUES (247, 1, 'asdasd'); INSERT INTO `menudia` VALUES (248, 2, 'asdasd'); INSERT INTO `menudia` VALUES (249, 1, 'asdasd'); INSERT INTO `menudia` VALUES (250, 2, 'asdasd'); INSERT INTO `menudia` VALUES (251, 1, 'asdasd'); INSERT INTO `menudia` VALUES (252, 2, 'asdasd'); INSERT INTO `menudia` VALUES (253, 1, '1'); INSERT INTO `menudia` VALUES (254, 2, '1'); INSERT INTO `menudia` VALUES (255, 1, '2'); INSERT INTO `menudia` VALUES (256, 2, '2'); INSERT INTO `menudia` VALUES (257, 1, '3'); INSERT INTO `menudia` VALUES (258, 2, '3'); INSERT INTO `menudia` VALUES (259, 1, '4'); INSERT INTO `menudia` VALUES (260, 2, '4'); INSERT INTO `menudia` VALUES (261, 1, '5'); INSERT INTO `menudia` VALUES (262, 2, '5'); INSERT INTO `menudia` VALUES (263, 1, '6'); INSERT INTO `menudia` VALUES (264, 2, '6'); INSERT INTO `menudia` VALUES (265, 1, '7'); INSERT INTO `menudia` VALUES (266, 2, '7'); INSERT INTO `menudia` VALUES (267, 1, '2'); INSERT INTO `menudia` VALUES (268, 2, '2'); INSERT INTO `menudia` VALUES (269, 1, '&lt;input type=&quot;text&quot;&gt;\r<br>&quot;dobles&quot;\r<br>&quot;simples&quot;'); INSERT INTO `menudia` VALUES (270, 2, 'jamon\r<br>albondigas\r<br>sopa'); INSERT INTO `menudia` VALUES (271, 1, '&lt;input type=&quot;text&quot;&gt;\r<br>&quot;dobles&quot;\r<br>&quot;simples&quot;'); INSERT INTO `menudia` VALUES (272, 2, 'jamon\r<br>albondigas\r<br>sopa'); INSERT INTO `menudia` VALUES (273, 1, 'patatas tomate'); INSERT INTO `menudia` VALUES (274, 2, 'jamon serrano'); INSERT INTO `menudia` VALUES (275, 1, 'patatas tomate'); INSERT INTO `menudia` VALUES (276, 2, 'jamon serrano'); INSERT INTO `menudia` VALUES (277, 1, 'patatas tomate'); INSERT INTO `menudia` VALUES (278, 2, 'jamon serrano'); INSERT INTO `menudia` VALUES (279, 1, '&lt;input type=&quot;text&quot;&gt;\r<br>&quot;dobles&quot;\r<br>&quot;simples&quot;'); INSERT INTO `menudia` VALUES (280, 2, 'jamon\r<br>albondigas\r<br>sopa'); INSERT INTO `menudia` VALUES (281, 1, 'patatas tomate'); INSERT INTO `menudia` VALUES (282, 2, 'jamon serrano'); INSERT INTO `menudia` VALUES (283, 1, '&lt;input type=&quot;text&quot;&gt;\r<br>&quot;dobles&quot;\r<br>&quot;simples&quot;'); INSERT INTO `menudia` VALUES (284, 2, 'jamon\r<br>albondigas\r<br>sopa'); INSERT INTO `menudia` VALUES (285, 1, 'patatas con jamon'); INSERT INTO `menudia` VALUES (286, 2, 'sopapara 3'); INSERT INTO `menudia` VALUES (287, 1, 'patatas tomate'); INSERT INTO `menudia` VALUES (288, 2, 'jamon serrano'); INSERT INTO `menudia` VALUES (289, 1, '&lt;input type=&quot;text&quot;&gt;\r<br>&quot;dobles&quot;\r<br>&quot;simples&quot;'); INSERT INTO `menudia` VALUES (290, 2, 'jamon\r<br>albondigas\r<br>sopa'); INSERT INTO `menudia` VALUES (291, 1, 'patatas con jamon'); INSERT INTO `menudia` VALUES (292, 2, 'sopa para 3'); INSERT INTO `menudia` VALUES (293, 1, 'patatas tomate'); INSERT INTO `menudia` VALUES (294, 2, 'jamon serrano'); INSERT INTO `menudia` VALUES (295, 1, '&lt;input type=&quot;text&quot;&gt;\r<br>&quot;dobles&quot;\r<br>&quot;simples&quot;'); INSERT INTO `menudia` VALUES (296, 2, 'jamon\r<br>albondigas\r<br>sopa'); INSERT INTO `menudia` VALUES (297, 1, 'patatas con jamon'); INSERT INTO `menudia` VALUES (298, 2, 'sopa para 3'); INSERT INTO `menudia` VALUES (299, 1, 'patatas tomate'); INSERT INTO `menudia` VALUES (300, 2, 'jamon serrano'); INSERT INTO `menudia` VALUES (301, 1, '&lt;input type=&quot;text&quot;&gt;\r<br>&quot;dobles&quot;\r<br>&quot;simples&quot;'); INSERT INTO `menudia` VALUES (302, 2, 'jamon\r<br>albondigas\r<br>sopa'); INSERT INTO `menudia` VALUES (303, 1, 'patatas con jamon'); INSERT INTO `menudia` VALUES (304, 2, 'sopa para 3'); INSERT INTO `menudia` VALUES (305, 1, 'el jueves'); INSERT INTO `menudia` VALUES (306, 2, 'segundo del jueves 22'); INSERT INTO `menudia` VALUES (307, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (308, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (309, 1, 'martes 1'); INSERT INTO `menudia` VALUES (310, 2, 'martes 2'); INSERT INTO `menudia` VALUES (311, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (312, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (313, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (314, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (315, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (316, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (317, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (318, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (319, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (320, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (321, 1, 'prueba'); INSERT INTO `menudia` VALUES (322, 2, 'jajajaj'); INSERT INTO `menudia` VALUES (323, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (324, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (325, 1, 'martes 1'); INSERT INTO `menudia` VALUES (326, 2, 'martes 2'); INSERT INTO `menudia` VALUES (327, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (328, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (329, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (330, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (331, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (332, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (333, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (334, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (335, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (336, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (337, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (338, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (339, 1, 'martes 1'); INSERT INTO `menudia` VALUES (340, 2, 'martes 2'); INSERT INTO `menudia` VALUES (341, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (342, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (343, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (344, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (345, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (346, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (347, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (348, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (349, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (350, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (351, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (352, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (353, 1, 'martes 1'); INSERT INTO `menudia` VALUES (354, 2, 'martes 2'); INSERT INTO `menudia` VALUES (355, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (356, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (357, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (358, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (359, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (360, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (361, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (362, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (363, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (364, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (365, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (366, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (367, 1, 'martes 1'); INSERT INTO `menudia` VALUES (368, 2, 'martes 2'); INSERT INTO `menudia` VALUES (369, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (370, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (371, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (372, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (373, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (374, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (375, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (376, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (377, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (378, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (379, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (380, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (381, 1, 'martes 1'); INSERT INTO `menudia` VALUES (382, 2, 'martes 2'); INSERT INTO `menudia` VALUES (383, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (384, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (385, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (386, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (387, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (388, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (389, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (390, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (391, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (392, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (393, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (394, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (395, 1, 'martes 1'); INSERT INTO `menudia` VALUES (396, 2, 'martes 2'); INSERT INTO `menudia` VALUES (397, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (398, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (399, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (400, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (401, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (402, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (403, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (404, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (405, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (406, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (407, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (408, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (409, 1, 'martes 1'); INSERT INTO `menudia` VALUES (410, 2, 'martes 2'); INSERT INTO `menudia` VALUES (411, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (412, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (413, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (414, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (415, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (416, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (417, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (418, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (419, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (420, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (421, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (422, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (423, 1, 'martes 1'); INSERT INTO `menudia` VALUES (424, 2, 'martes 2'); INSERT INTO `menudia` VALUES (425, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (426, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (427, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (428, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (429, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (430, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (431, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (432, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (433, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (434, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (435, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (436, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (437, 1, 'martes 1'); INSERT INTO `menudia` VALUES (438, 2, 'martes 2'); INSERT INTO `menudia` VALUES (439, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (440, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (441, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (442, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (443, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (444, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (445, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (446, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (447, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (448, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (449, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (450, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (451, 1, 'martes 1'); INSERT INTO `menudia` VALUES (452, 2, 'martes 2'); INSERT INTO `menudia` VALUES (453, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (454, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (455, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (456, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (457, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (458, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (459, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (460, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (461, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (462, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (463, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (464, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (465, 1, 'martes 1'); INSERT INTO `menudia` VALUES (466, 2, 'martes 2'); INSERT INTO `menudia` VALUES (467, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (468, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (469, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (470, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (471, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (472, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (473, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (474, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (475, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (476, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (477, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (478, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (479, 1, 'martes 1'); INSERT INTO `menudia` VALUES (480, 2, 'martes 2'); INSERT INTO `menudia` VALUES (481, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (482, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (483, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (484, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (485, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (486, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (487, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (488, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (489, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (490, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (491, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (492, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (493, 1, 'martes 1'); INSERT INTO `menudia` VALUES (494, 2, 'martes 2'); INSERT INTO `menudia` VALUES (495, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (496, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (497, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (498, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (499, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (500, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (501, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (502, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (503, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (504, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (505, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (506, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (507, 1, 'martes 1'); INSERT INTO `menudia` VALUES (508, 2, 'martes 2'); INSERT INTO `menudia` VALUES (509, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (510, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (511, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (512, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (513, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (514, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (515, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (516, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (517, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (518, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (519, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (520, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (521, 1, 'martes 1'); INSERT INTO `menudia` VALUES (522, 2, 'martes 2'); INSERT INTO `menudia` VALUES (523, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (524, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (525, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (526, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (527, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (528, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (529, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (530, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (531, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (532, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (533, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (534, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (535, 1, 'martes 1'); INSERT INTO `menudia` VALUES (536, 2, 'martes 2'); INSERT INTO `menudia` VALUES (537, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (538, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (539, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (540, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (541, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (542, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (543, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (544, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (545, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (546, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (547, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (548, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (549, 1, 'martes 1'); INSERT INTO `menudia` VALUES (550, 2, 'martes 2'); INSERT INTO `menudia` VALUES (551, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (552, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (553, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (554, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (555, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (556, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (557, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (558, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (559, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (560, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (561, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (562, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (563, 1, 'martes 1'); INSERT INTO `menudia` VALUES (564, 2, 'martes 2'); INSERT INTO `menudia` VALUES (565, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (566, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (567, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (568, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (569, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (570, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (571, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (572, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (573, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (574, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (575, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (576, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (577, 1, 'martes 1'); INSERT INTO `menudia` VALUES (578, 2, 'martes 2'); INSERT INTO `menudia` VALUES (579, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (580, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (581, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (582, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (583, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (584, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (585, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (586, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (587, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (588, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (589, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (590, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (591, 1, 'martes 1'); INSERT INTO `menudia` VALUES (592, 2, 'martes 2'); INSERT INTO `menudia` VALUES (593, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (594, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (595, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (596, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (597, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (598, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (599, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (600, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (601, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (602, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (603, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (604, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (605, 1, 'martes 1'); INSERT INTO `menudia` VALUES (606, 2, 'martes 2'); INSERT INTO `menudia` VALUES (607, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (608, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (609, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (610, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (611, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (612, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (613, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (614, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (615, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (616, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (617, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (618, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (619, 1, 'martes 1'); INSERT INTO `menudia` VALUES (620, 2, 'martes 2'); INSERT INTO `menudia` VALUES (621, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (622, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (623, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (624, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (625, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (626, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (627, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (628, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (629, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (630, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (631, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (632, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (633, 1, 'martes 1'); INSERT INTO `menudia` VALUES (634, 2, 'martes 2'); INSERT INTO `menudia` VALUES (635, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (636, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (637, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (638, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (639, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (640, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (641, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (642, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (643, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (644, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (645, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (646, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (647, 1, 'martes 1'); INSERT INTO `menudia` VALUES (648, 2, 'martes 2'); INSERT INTO `menudia` VALUES (649, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (650, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (651, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (652, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (653, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (654, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (655, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (656, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (657, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (658, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (659, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (660, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (661, 1, 'martes 1'); INSERT INTO `menudia` VALUES (662, 2, 'martes 2'); INSERT INTO `menudia` VALUES (663, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (664, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (665, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (666, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (667, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (668, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (669, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (670, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (671, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (672, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (673, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (674, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (675, 1, 'martes 1'); INSERT INTO `menudia` VALUES (676, 2, 'martes 2'); INSERT INTO `menudia` VALUES (677, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (678, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (679, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (680, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (681, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (682, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (683, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (684, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (685, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (686, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (687, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (688, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (689, 1, 'martes 1'); INSERT INTO `menudia` VALUES (690, 2, 'martes 2'); INSERT INTO `menudia` VALUES (691, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (692, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (693, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (694, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (695, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (696, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (697, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (698, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (699, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (700, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (701, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (702, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (703, 1, 'martes 1'); INSERT INTO `menudia` VALUES (704, 2, 'martes 2'); INSERT INTO `menudia` VALUES (705, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (706, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (707, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (708, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (709, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (710, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (711, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (712, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (713, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (714, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (715, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (716, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (717, 1, 'martes 1'); INSERT INTO `menudia` VALUES (718, 2, 'martes 2'); INSERT INTO `menudia` VALUES (719, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (720, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (721, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (722, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (723, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (724, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (725, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (726, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (727, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (728, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (729, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (730, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (731, 1, 'martes 1'); INSERT INTO `menudia` VALUES (732, 2, 'martes 2'); INSERT INTO `menudia` VALUES (733, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (734, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (735, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (736, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (737, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (738, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (739, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (740, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (741, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (742, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (743, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (744, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (745, 1, 'martes 1'); INSERT INTO `menudia` VALUES (746, 2, 'martes 2'); INSERT INTO `menudia` VALUES (747, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (748, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (749, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (750, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (751, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (752, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (753, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (754, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (755, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (756, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (757, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (758, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (759, 1, 'martes 1'); INSERT INTO `menudia` VALUES (760, 2, 'martes 2'); INSERT INTO `menudia` VALUES (761, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (762, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (763, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (764, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (765, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (766, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (767, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (768, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (769, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (770, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (771, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (772, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (773, 1, 'martes 1'); INSERT INTO `menudia` VALUES (774, 2, 'martes 2'); INSERT INTO `menudia` VALUES (775, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (776, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (777, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (778, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (779, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (780, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (781, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (782, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (783, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (784, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (785, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (786, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (787, 1, 'martes 1'); INSERT INTO `menudia` VALUES (788, 2, 'martes 2'); INSERT INTO `menudia` VALUES (789, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (790, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (791, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (792, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (793, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (794, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (795, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (796, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (797, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (798, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (799, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (800, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (801, 1, 'martes 1'); INSERT INTO `menudia` VALUES (802, 2, 'martes 2'); INSERT INTO `menudia` VALUES (803, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (804, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (805, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (806, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (807, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (808, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (809, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (810, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (811, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (812, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (813, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (814, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (815, 1, 'martes 1'); INSERT INTO `menudia` VALUES (816, 2, 'martes 2'); INSERT INTO `menudia` VALUES (817, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (818, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (819, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (820, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (821, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (822, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (823, 1, 'sabado 1'); INSERT INTO `menudia` VALUES (824, 2, 'sabado 2'); INSERT INTO `menudia` VALUES (825, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (826, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (827, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (828, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (829, 1, 'martes 1'); INSERT INTO `menudia` VALUES (830, 2, 'martes 2'); INSERT INTO `menudia` VALUES (831, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (832, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (833, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (834, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (835, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (836, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (837, 1, 'domingo 1'); INSERT INTO `menudia` VALUES (838, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (839, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (840, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (841, 1, 'martes 1'); INSERT INTO `menudia` VALUES (842, 2, 'martes 2'); INSERT INTO `menudia` VALUES (843, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (844, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (845, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (846, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (847, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (848, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (849, 1, 'asd'); INSERT INTO `menudia` VALUES (850, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (851, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (852, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (853, 1, 'martes 1'); INSERT INTO `menudia` VALUES (854, 2, 'martes 2'); INSERT INTO `menudia` VALUES (855, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (856, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (857, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (858, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (859, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (860, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (861, 1, 'asd'); INSERT INTO `menudia` VALUES (862, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (863, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (864, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (865, 1, 'martes 1'); INSERT INTO `menudia` VALUES (866, 2, 'martes 2'); INSERT INTO `menudia` VALUES (867, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (868, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (869, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (870, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (871, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (872, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (873, 1, 'asd'); INSERT INTO `menudia` VALUES (874, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (875, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (876, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (877, 1, 'martes 1'); INSERT INTO `menudia` VALUES (878, 2, 'martes 2'); INSERT INTO `menudia` VALUES (879, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (880, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (881, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (882, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (883, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (884, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (885, 1, 'asd'); INSERT INTO `menudia` VALUES (886, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (887, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (888, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (889, 1, 'martes 1'); INSERT INTO `menudia` VALUES (890, 2, 'martes 2'); INSERT INTO `menudia` VALUES (891, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (892, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (893, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (894, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (895, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (896, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (897, 1, 'asd'); INSERT INTO `menudia` VALUES (898, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (899, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (900, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (901, 1, 'martes 1'); INSERT INTO `menudia` VALUES (902, 2, 'martes 2'); INSERT INTO `menudia` VALUES (903, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (904, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (905, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (906, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (907, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (908, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (909, 1, 'asd'); INSERT INTO `menudia` VALUES (910, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (911, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (912, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (913, 1, 'martes 1'); INSERT INTO `menudia` VALUES (914, 2, 'martes 2'); INSERT INTO `menudia` VALUES (915, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (916, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (917, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (918, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (919, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (920, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (921, 1, 'asd'); INSERT INTO `menudia` VALUES (922, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (923, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (924, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (925, 1, 'martes 1'); INSERT INTO `menudia` VALUES (926, 2, 'martes 2'); INSERT INTO `menudia` VALUES (927, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (928, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (929, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (930, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (931, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (932, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (933, 1, 'asd'); INSERT INTO `menudia` VALUES (934, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (935, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (936, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (937, 1, 'martes 1'); INSERT INTO `menudia` VALUES (938, 2, 'martes 2'); INSERT INTO `menudia` VALUES (939, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (940, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (941, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (942, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (943, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (944, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (945, 1, 'asd'); INSERT INTO `menudia` VALUES (946, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (947, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (948, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (949, 1, 'martes 1'); INSERT INTO `menudia` VALUES (950, 2, 'martes 2'); INSERT INTO `menudia` VALUES (951, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (952, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (953, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (954, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (955, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (956, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (957, 1, 'asd'); INSERT INTO `menudia` VALUES (958, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (959, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (960, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (961, 1, 'martes 1'); INSERT INTO `menudia` VALUES (962, 2, 'martes 2'); INSERT INTO `menudia` VALUES (963, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (964, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (965, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (966, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (967, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (968, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (969, 1, 'asd'); INSERT INTO `menudia` VALUES (970, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (971, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (972, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (973, 1, 'martes 1'); INSERT INTO `menudia` VALUES (974, 2, 'martes 2'); INSERT INTO `menudia` VALUES (975, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (976, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (977, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (978, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (979, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (980, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (981, 1, 'asd'); INSERT INTO `menudia` VALUES (982, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (983, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (984, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (985, 1, 'martes 1'); INSERT INTO `menudia` VALUES (986, 2, 'martes 2'); INSERT INTO `menudia` VALUES (987, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (988, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (989, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (990, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (991, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (992, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (993, 1, 'asd'); INSERT INTO `menudia` VALUES (994, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (995, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (996, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (997, 1, 'martes 1'); INSERT INTO `menudia` VALUES (998, 2, 'martes 2'); INSERT INTO `menudia` VALUES (999, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (1000, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (1001, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (1002, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (1003, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (1004, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (1005, 1, 'a'); INSERT INTO `menudia` VALUES (1006, 2, 'a'); INSERT INTO `menudia` VALUES (1007, 1, 'asd'); INSERT INTO `menudia` VALUES (1008, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (1009, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (1010, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (1011, 1, 'martes 1'); INSERT INTO `menudia` VALUES (1012, 2, 'martes 2'); INSERT INTO `menudia` VALUES (1013, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (1014, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (1015, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (1016, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (1017, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (1018, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (1019, 1, 'a'); INSERT INTO `menudia` VALUES (1020, 2, 'a'); INSERT INTO `menudia` VALUES (1021, 1, 'asd'); INSERT INTO `menudia` VALUES (1022, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (1023, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (1024, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (1025, 1, 'martes 1'); INSERT INTO `menudia` VALUES (1026, 2, 'martes 2'); INSERT INTO `menudia` VALUES (1027, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (1028, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (1029, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (1030, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (1031, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (1032, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (1033, 1, 'a'); INSERT INTO `menudia` VALUES (1034, 2, 'a'); INSERT INTO `menudia` VALUES (1035, 1, 'asd'); INSERT INTO `menudia` VALUES (1036, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (1037, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (1038, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (1039, 1, 'martes 1'); INSERT INTO `menudia` VALUES (1040, 2, 'martes 2'); INSERT INTO `menudia` VALUES (1041, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (1042, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (1043, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (1044, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (1045, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (1046, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (1047, 1, 'a'); INSERT INTO `menudia` VALUES (1048, 2, 'a'); INSERT INTO `menudia` VALUES (1049, 1, 'asd'); INSERT INTO `menudia` VALUES (1050, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (1051, 1, 'lunes 1'); INSERT INTO `menudia` VALUES (1052, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (1053, 1, 'martes 1'); INSERT INTO `menudia` VALUES (1054, 2, 'martes 2'); INSERT INTO `menudia` VALUES (1055, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (1056, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (1057, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (1058, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (1059, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (1060, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (1061, 1, 'a'); INSERT INTO `menudia` VALUES (1062, 2, 'a'); INSERT INTO `menudia` VALUES (1063, 1, 'asd'); INSERT INTO `menudia` VALUES (1064, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (1065, 1, 'prueba'); INSERT INTO `menudia` VALUES (1066, 2, 'jajajaj'); INSERT INTO `menudia` VALUES (1067, 1, 'prueba'); INSERT INTO `menudia` VALUES (1068, 2, 'jajajaj'); INSERT INTO `menudia` VALUES (1069, 1, 'Salmorejo'); INSERT INTO `menudia` VALUES (1070, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (1071, 1, 'martes 1'); INSERT INTO `menudia` VALUES (1072, 2, 'martes 2'); INSERT INTO `menudia` VALUES (1073, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (1074, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (1075, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (1076, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (1077, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (1078, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (1079, 1, 'a'); INSERT INTO `menudia` VALUES (1080, 2, 'a'); INSERT INTO `menudia` VALUES (1081, 1, 'asd'); INSERT INTO `menudia` VALUES (1082, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (1083, 1, 'Salmorejo'); INSERT INTO `menudia` VALUES (1084, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (1085, 1, 'martes 1'); INSERT INTO `menudia` VALUES (1086, 2, 'martes 2'); INSERT INTO `menudia` VALUES (1087, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (1088, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (1089, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (1090, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (1091, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (1092, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (1093, 1, 'a'); INSERT INTO `menudia` VALUES (1094, 2, 'a'); INSERT INTO `menudia` VALUES (1095, 1, 'asd'); INSERT INTO `menudia` VALUES (1096, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (1097, 1, 'Salmorejo'); INSERT INTO `menudia` VALUES (1098, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (1099, 1, 'martes 1'); INSERT INTO `menudia` VALUES (1100, 2, 'martes 2'); INSERT INTO `menudia` VALUES (1101, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (1102, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (1103, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (1104, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (1105, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (1106, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (1107, 1, 'a'); INSERT INTO `menudia` VALUES (1108, 2, 'a'); INSERT INTO `menudia` VALUES (1109, 1, 'asd'); INSERT INTO `menudia` VALUES (1110, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (1111, 1, 'asdasd'); INSERT INTO `menudia` VALUES (1112, 2, 'asdasd'); INSERT INTO `menudia` VALUES (1113, 1, 'asdasd'); INSERT INTO `menudia` VALUES (1114, 2, 'asdasd'); INSERT INTO `menudia` VALUES (1115, 1, 'asd'); INSERT INTO `menudia` VALUES (1116, 2, 'asdasd'); INSERT INTO `menudia` VALUES (1117, 1, 'Salmorejo'); INSERT INTO `menudia` VALUES (1118, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (1119, 1, 'martes 1'); INSERT INTO `menudia` VALUES (1120, 2, 'martes 2'); INSERT INTO `menudia` VALUES (1121, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (1122, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (1123, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (1124, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (1125, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (1126, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (1127, 1, 'a'); INSERT INTO `menudia` VALUES (1128, 2, 'a'); INSERT INTO `menudia` VALUES (1129, 1, 'asd'); INSERT INTO `menudia` VALUES (1130, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (1131, 1, 'Salmorejo'); INSERT INTO `menudia` VALUES (1132, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (1133, 1, 'martes 1'); INSERT INTO `menudia` VALUES (1134, 2, 'martes 2'); INSERT INTO `menudia` VALUES (1135, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (1136, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (1137, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (1138, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (1139, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (1140, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (1141, 1, 'a'); INSERT INTO `menudia` VALUES (1142, 2, 'a'); INSERT INTO `menudia` VALUES (1143, 1, 'asd'); INSERT INTO `menudia` VALUES (1144, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (1145, 1, 'Salmorejo'); INSERT INTO `menudia` VALUES (1146, 2, 'lunes 2'); INSERT INTO `menudia` VALUES (1147, 1, 'martes 1'); INSERT INTO `menudia` VALUES (1148, 2, 'martes 2'); INSERT INTO `menudia` VALUES (1149, 1, 'miercoles 1 '); INSERT INTO `menudia` VALUES (1150, 2, 'miercoles 2'); INSERT INTO `menudia` VALUES (1151, 1, 'jueves 1'); INSERT INTO `menudia` VALUES (1152, 2, 'jueves 2'); INSERT INTO `menudia` VALUES (1153, 1, 'viernes 1'); INSERT INTO `menudia` VALUES (1154, 2, 'viernes 2'); INSERT INTO `menudia` VALUES (1155, 1, 'a'); INSERT INTO `menudia` VALUES (1156, 2, 'a'); INSERT INTO `menudia` VALUES (1157, 1, 'asd'); INSERT INTO `menudia` VALUES (1158, 2, 'domingo 2'); INSERT INTO `menudia` VALUES (1159, 1, 'asd'); INSERT INTO `menudia` VALUES (1160, 2, 'asdasd'); INSERT INTO `menudia` VALUES (1161, 1, 'Espinacas esparragadas\r<br>Ensalada mixta'); INSERT INTO `menudia` VALUES (1162, 2, 'Atún a la riojana\r<br>Chuleta a la plancha'); INSERT INTO `menudia` VALUES (1163, 1, 'Lasaña\r<br>Ensalada mixta'); INSERT INTO `menudia` VALUES (1164, 2, 'Churrasco de pollo\r<br>Pijotas '); INSERT INTO `menudia` VALUES (1165, 1, 'Patatas Estofadas'); INSERT INTO `menudia` VALUES (1166, 2, 'Salmorejo'); INSERT INTO `menudia` VALUES (1167, 1, 'Albondigas'); INSERT INTO `menudia` VALUES (1168, 2, 'Macarrones'); INSERT INTO `menudia` VALUES (1169, 1, 'Fideos'); INSERT INTO `menudia` VALUES (1170, 2, 'Tortilla'); INSERT INTO `menudia` VALUES (1171, 1, 'Gazpacho'); INSERT INTO `menudia` VALUES (1172, 2, 'Pescado'); INSERT INTO `menudia` VALUES (1173, 1, 'Tortilla'); INSERT INTO `menudia` VALUES (1174, 2, 'Pasta'); INSERT INTO `menudia` VALUES (1175, 1, 'Jamon'); INSERT INTO `menudia` VALUES (1176, 2, 'Menestra'); INSERT INTO `menudia` VALUES (1177, 1, 'Sopa'); INSERT INTO `menudia` VALUES (1178, 2, 'Fideos'); INSERT INTO `menudia` VALUES (1179, 1, 'Salmorejo'); INSERT INTO `menudia` VALUES (1180, 2, 'Patatas'); INSERT INTO `menudia` VALUES (1181, 1, 'Tortilla'); INSERT INTO `menudia` VALUES (1182, 2, 'Macarrones'); INSERT INTO `menudia` VALUES (1183, 1, 'Sopa'); INSERT INTO `menudia` VALUES (1184, 2, 'Pescado'); INSERT INTO `menudia` VALUES (1185, 1, 'Filete'); INSERT INTO `menudia` VALUES (1186, 2, 'Ensalada'); INSERT INTO `menudia` VALUES (1187, 1, 'Carne'); INSERT INTO `menudia` VALUES (1188, 2, 'Pescado'); INSERT INTO `menudia` VALUES (1189, 1, 'Arroz'); INSERT INTO `menudia` VALUES (1190, 2, 'Ensaladilla'); INSERT INTO `menudia` VALUES (1191, 1, 'Salmorejo'); INSERT INTO `menudia` VALUES (1192, 2, 'Tortilla'); INSERT INTO `menudia` VALUES (1193, 1, 'Huevos con patatas'); INSERT INTO `menudia` VALUES (1194, 2, 'Salmorejo'); INSERT INTO `menudia` VALUES (1195, 1, 'Ensalada de pasta'); INSERT INTO `menudia` VALUES (1196, 2, 'Pescado'); INSERT INTO `menudia` VALUES (1197, 1, 'Macarrones con tomate'); INSERT INTO `menudia` VALUES (1198, 2, 'Sopa'); INSERT INTO `menudia` VALUES (1199, 1, 'Pizza'); INSERT INTO `menudia` VALUES (1200, 2, 'Pollo asado'); INSERT INTO `menudia` VALUES (1201, 1, 'Lentejas'); INSERT INTO `menudia` VALUES (1202, 2, 'Ensalada de Col'); INSERT INTO `menudia` VALUES (1203, 1, 'Habichuelas'); INSERT INTO `menudia` VALUES (1204, 2, 'Macarrones'); INSERT INTO `menudia` VALUES (1205, 1, 'Sopa'); INSERT INTO `menudia` VALUES (1206, 2, 'Garbanzos'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `otros` -- CREATE TABLE `otros` ( `cod` int(11) NOT NULL AUTO_INCREMENT, `nombre` varchar(250) NOT NULL, `precio` varchar(10) NOT NULL, `cafeteria` int(11) NOT NULL, PRIMARY KEY (`cod`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=159 ; -- -- Volcar la base de datos para la tabla `otros` -- INSERT INTO `otros` VALUES (9, 'jamon serrano', '1', 3); INSERT INTO `otros` VALUES (10, 'sopa de navigre ', '22', 3); INSERT INTO `otros` VALUES (158, '1 - Plato combinado de pechuga con patatas', '5.5', 1); INSERT INTO `otros` VALUES (157, '2 - Plato combinado de pescado y ensalda de pasta', '5', 1); INSERT INTO `otros` VALUES (156, '4 - Plato combinado de croquetas con patatas', '5', 1); INSERT INTO `otros` VALUES (155, '3 - Plato combinado de ensalda de pasta y tortilla', '4', 1); INSERT INTO `otros` VALUES (154, 'Flamenquín con patatas', '3.5', 1); INSERT INTO `otros` VALUES (153, 'Tostada', '0.90', 1); INSERT INTO `otros` VALUES (152, 'Media tostada', '0.40', 1); INSERT INTO `otros` VALUES (151, 'Café', '0.85', 1); INSERT INTO `otros` VALUES (150, 'Refresco', '1', 1); INSERT INTO `otros` VALUES (149, 'Zumo', '1', 1); INSERT INTO `otros` VALUES (148, 'RedBull', '1.75', 1); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `platosemana` -- CREATE TABLE `platosemana` ( `cod` int(11) NOT NULL AUTO_INCREMENT, `nombre` varchar(250) NOT NULL, `fecha` date NOT NULL, `cafeteria` int(11) NOT NULL, `precio` varchar(10) NOT NULL, PRIMARY KEY (`cod`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=88 ; -- -- Volcar la base de datos para la tabla `platosemana` -- INSERT INTO `platosemana` VALUES (2, 'Salchichas con tomate', '2013-01-07', 2, '222.321'); INSERT INTO `platosemana` VALUES (15, 'plato', '0000-00-00', 1, '23'); INSERT INTO `platosemana` VALUES (12, 'asdasd<br>asd<br>asd', '2013-01-07', 1, '2'); INSERT INTO `platosemana` VALUES (13, 'Plato de pechuga empanada, ensalada, patatas y refresco grande', '2013-01-14', 1, '6,95'); INSERT INTO `platosemana` VALUES (11, 'Plato de tortilla con mahonesa', '2013-01-14', 2, '-87'); INSERT INTO `platosemana` VALUES (14, 'Pechuga empanada con jamon serrano y patatas y cocacola', '2013-03-04', 1, '4'); INSERT INTO `platosemana` VALUES (16, 'plato', '0000-00-00', 1, '23'); INSERT INTO `platosemana` VALUES (17, 'plato', '0000-00-00', 1, '23'); INSERT INTO `platosemana` VALUES (18, 'plato', '0000-00-00', 1, '23'); INSERT INTO `platosemana` VALUES (19, 'plato', '0000-00-00', 1, '23'); INSERT INTO `platosemana` VALUES (20, 'plato', '0000-00-00', 1, '23'); INSERT INTO `platosemana` VALUES (21, 'sopas', '0000-00-00', 1, '23'); INSERT INTO `platosemana` VALUES (82, 'San Jacobo con patatas y refresco grande', '2013-03-11', 1, '4.5'); INSERT INTO `platosemana` VALUES (84, 'Flamenquín con ensalada de pasta, patatas y refresco', '2013-03-18', 1, '4.5'); INSERT INTO `platosemana` VALUES (85, 'Pechuga a la plancha', '2014-02-03', 1, '4'); INSERT INTO `platosemana` VALUES (86, 'San Jacobo', '2014-02-03', 2, '3'); INSERT INTO `platosemana` VALUES (87, 'Flamenquín con patatas', '2015-04-20', 1, '4'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `usu` -- CREATE TABLE `usu` ( `cod` int(11) NOT NULL AUTO_INCREMENT, `nombre` varchar(200) NOT NULL, `pass` varchar(40) NOT NULL, PRIMARY KEY (`cod`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; -- -- Volcar la base de datos para la tabla `usu` -- INSERT INTO `usu` VALUES (1, 'tomas', '3hs722kslxmvjg74uetsa90ow73tfgsjuhgv652j');
select min(league_id) as min, max(league_id) as max from game g
/** * SQL for get shisetsu medical type list * @author TuyenVHA * @version $Id: ShisetsuTopService_getMedicalActivityType_Sel_01.sql 12176 2014-07-08 07:39:52Z p__toen $ */ SELECT BSMT.MEDICAL_ACTIVITY_TYPE ,BSMT.MEDICAL_INFECTION_ABL_KBN FROM BY_SHISETSU_MEDICAL_TYPE BSMT WHERE BSMT.SHISETSU_CD= /*shisetsuCd*/'000000001' AND BSMT.DELETE_FLG = '0'
/* Created By Ashika Shallow */ -- Package Specification CREATE OR REPLACE PACKAGE player_pkg IS -- Error codes and messages V_CODE_EXISTS NUMBER := -20001; V_MESSAGE_EXISTS VARCHAR(40) := 'That user already exists'; V_CODE_NOT_EXISTS NUMBER := -20002; V_MESSAGE_NOT_EXISTS VARCHAR(40) := 'That user does not exists'; -- A record to hold the player's first name, last name and email TYPE player_type IS RECORD(f_name players.first_name%TYPE, l_name players.last_name%TYPE, pl_email players.email%TYPE); -- Create player procedure PROCEDURE create_player( p_account players.account_name%TYPE, p_password players.password%TYPE, p_fname players.first_name%TYPE, p_lname players.last_name%TYPE, p_email players.email%TYPE); -- Get player information function FUNCTION get_player(p_account players.account_name%TYPE) RETURN player_type; -- Update player information procedure PROCEDURE update_player(p_account players.account_name%TYPE, p_player player_type); -- Change password procedure PROCEDURE change_password(p_account players.account_name%TYPE, p_password players.password%TYPE); -- Remove player information procedure PROCEDURE delete_player(p_account players.account_name%TYPE); END player_pkg; -- Package Body CREATE OR REPLACE PACKAGE BODY player_pkg IS -- Create player procedure PROCEDURE create_player( p_account players.account_name%TYPE, p_password players.password%TYPE, p_fname players.first_name%TYPE, p_lname players.last_name%TYPE, p_email players.email%TYPE) IS BEGIN INSERT INTO players VALUES (p_account, p_password, p_fname, p_lname, p_email); EXCEPTION WHEN DUP_VAL_ON_INDEX THEN RAISE_APPLICATION_ERROR(V_CODE_EXISTS, V_MESSAGE_EXISTS); game_pkg.log_error(V_CODE_EXISTS, V_MESSAGE_EXISTS); END create_player; -- Get player function FUNCTION get_player(p_account players.account_name%TYPE) RETURN player_type IS player_rec player_type; BEGIN SELECT first_name, last_name, email INTO player_rec.f_name, player_rec.l_name, player_rec.pl_email FROM players WHERE account_name = p_account; RETURN player_rec; EXCEPTION WHEN NO_DATA_FOUND THEN RAISE_APPLICATION_ERROR(V_CODE_NOT_EXISTS, V_MESSAGE_NOT_EXISTS); game_pkg.log_error(V_CODE_NOT_EXISTS, V_MESSAGE_NOT_EXISTS); END get_player; -- update_player procedure PROCEDURE update_player(p_account players.account_name%TYPE, p_player player_type) IS v_id players.account_name%TYPE; BEGIN -- Determine if player exists SELECT account_name INTO v_id FROM players WHERE account_name = p_account; -- If player exists UPDATE players SET first_name = p_player.f_name, last_name = p_player.l_name, email = p_player.pl_email WHERE account_name = p_account; EXCEPTION WHEN NO_DATA_FOUND THEN RAISE_APPLICATION_ERROR(V_CODE_NOT_EXISTS, V_MESSAGE_NOT_EXISTS); game_pkg.log_error(V_CODE_NOT_EXISTS, V_MESSAGE_NOT_EXISTS); END update_player; -- Change password procedure PROCEDURE change_password(p_account players.account_name%TYPE, p_password players.password%TYPE) IS p_first players.first_name%TYPE; BEGIN -- Determine if player exists SELECT first_name INTO p_first FROM players WHERE account_name = p_account; -- If player exists UPDATE players SET password = p_password WHERE account_name = p_account; EXCEPTION WHEN NO_DATA_FOUND THEN RAISE_APPLICATION_ERROR(V_CODE_NOT_EXISTS,V_MESSAGE_NOT_EXISTS ); game_pkg.log_error(V_CODE_NOT_EXISTS, V_MESSAGE_NOT_EXISTS); END change_password; -- Delete Player procedure PROCEDURE delete_player(p_account players.account_name%TYPE) IS p_first players.first_name%TYPE; BEGIN -- Determine if player exists SELECT first_name INTO p_first FROM players WHERE account_name = p_account; -- If player exists DELETE FROM players WHERE account_name = p_account; EXCEPTION WHEN NO_DATA_FOUND THEN RAISE_APPLICATION_ERROR(V_CODE_NOT_EXISTS, V_MESSAGE_NOT_EXISTS); game_pkg.log_error(V_CODE_NOT_EXISTS, V_MESSAGE_NOT_EXISTS); END delete_player; END player_pkg;
-- phpMyAdmin SQL Dump -- version 5.1.0 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Waktu pembuatan: 13 Jul 2021 pada 10.43 -- Versi server: 10.4.18-MariaDB -- Versi PHP: 7.3.27 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `stockbarang` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `stock` -- CREATE TABLE `stock` ( `idbarang` int(11) NOT NULL, `namabarang` varchar(30) NOT NULL, `deskripsi` varchar(50) NOT NULL, `stock` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `stock` -- INSERT INTO `stock` (`idbarang`, `namabarang`, `deskripsi`, `stock`) VALUES (5, 'Ram', 'Komponen Pc', 15), (6, 'Monitor', 'Komponen Pc', 20), (7, 'CPU', 'Komponen Pc', 15), (8, 'Seagate Barracuda Harddisk', 'Komponen Pc', 15), (9, 'Power Supply 600W', 'Komponen Pc', 10), (10, 'Msi Geforce Rtx 3090', 'Komponen Pc', 15), (11, 'Processor AMD A10-5800K', 'Komponen Pc', 15), (12, 'Meja Komputer', 'Perlengkapan', 20), (13, 'Kursi', 'Perlengkapan', 20), (14, 'Kabel', 'Perlengkapan', 15), (15, 'Tang Crimping', 'Perlengkapan', 5), (16, 'Papan Tulis', 'Perlengkapan', 5), (17, 'Asus ROG', 'Laptop', 5), (18, 'BenQGaming TK700STi', 'Projector', 5), (19, 'AULA F-2067 TKL', 'Keyboard', 15), (20, 'Rexus', 'Mouse', 15), (21, 'LG', 'TV', 5), (22, 'Logitech Z607', 'Speakers', 10), (23, 'Sharp', 'Air Conditioner', 5), (24, 'Wireless TP-Link', 'Router', 5); -- -- Indexes for dumped tables -- -- -- Indeks untuk tabel `stock` -- ALTER TABLE `stock` ADD PRIMARY KEY (`idbarang`); -- -- AUTO_INCREMENT untuk tabel yang dibuang -- -- -- AUTO_INCREMENT untuk tabel `stock` -- ALTER TABLE `stock` MODIFY `idbarang` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25; 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 */;
--************************************************************************************************************************************* --Created By: Brian Vander Plaats --Create Date: 11/3/2015 --Description: Retrieves a list of Part Numbers based on a combination of filter fields --************************************************************************************************************************************* CREATE PROCEDURE [product].[PartNumberSelectFilter] @ModelName nvarchar(100), @PartNumberName nvarchar(100), @ManufacturerCode nvarchar(25), @InventoryPartNumber nvarchar(25), @ManufacturerPartNumber nvarchar(25), @CategoryName nvarchar(50), @Description nvarchar(max), @Features nvarchar(max), @MinListPrice money, @MaxListPrice money, @StatusName nvarchar(50), @ManufacturerName nvarchar(100) AS set nocount on; select md.ModelId, md.Name as ModelName, pn.Name as PartNumberName, md.ManufacturerCode, pn.PartNumberId, pn.InventoryPartNumber, pn.ManufacturerPartNumber, pn.InvoiceDescription, pn.UPC, md.CategoryId, ct.Name as CategoryName, md.[Description], md.Features, model_status.name as ModelStatusName, md.StatusId, md.ManufacturerId, mf.Name as ManufacturerName, pn.ListPrice, pn.Cost, md.ImageCollection, md.CategoryCustomData, md.ManufacturerCustomData, md.DateModified, md.DateCreated from product.model md left join product.PartNumber pn on md.ModelId = pn.ModelId left join product.Category ct on md.CategoryId = ct.CategoryId left join product.Manufacturer mf on md.ManufacturerId = mf.ManufacturerId left join product.[Status] model_status on md.StatusId = model_status.StatusId where ( md.name like '%' + @ModelName + '%' or @ModelName is null ) AND ( pn.name like '%' + @PartNumberName + '%' or @PartNumberName is null ) AND ( md.ManufacturerCode like '%' + @ManufacturerCode + '%' or @ManufacturerCode is null ) AND ( pn.InventoryPartNumber like '%' + @InventoryPartNumber + '%' or @InventoryPartNumber is null ) AND ( pn.ManufacturerPartNumber like '%' + @ManufacturerPartNumber + '%' or @ManufacturerPartNumber is null ) AND ( ct.name like '%' + @CategoryName + '%' or @CategoryName is null ) AND ( md.[Description] like '%' + @Description + '%' or @Description is null ) AND ( md.Features like '%' + @Features + '%' or @Features is null) AND ( pn.ListPrice > @MinListPrice or @MinListPrice is null) AND ( pn.ListPrice < @MaxListPrice or @MaxListPrice is null ) AND ( model_status.Name like '%' + @StatusName + '%' or @StatusName is null ) AND ( mf.Name like '%' + @ManufacturerName + '%' or @ManufacturerName is null )
/* * SQL Creation Script for doscuss.sqlite database * * Author: Kitson P. Kelly * Date: 15 February 2012 * Version: 0.9.0 * */ DROP TABLE IF EXISTS listforums; CREATE TABLE listforums( id TEXT, name TEXT, description TEXT, parent_listforum_id TEXT ); INSERT INTO listforums(id, name, description, parent_listforum_id) VALUES (1, 'doscuss', 'Doscussion Forum', null); DROP TABLE IF EXISTS posts; CREATE TABLE posts( id TEXT, created_user_id TEXT, created_ts TEXT, modified_user_id TEXT, modified_ts TEXT, subject TEXT, content TEXT, status TEXT ); INSERT INTO posts(id,created_user_id,created_ts,modified_user_id,modified_ts,subject,content,status) VALUES (1, 1, '', 1, '', 'Hello World!', 'Hello World', ''); INSERT INTO posts(id,created_user_id,created_ts,modified_user_id,modified_ts,subject,content,status) VALUES (2, 1, '', 1, '', 'Test Post 2', 'Hello World', ''); DROP TABLE IF EXISTS posts_history; CREATE TABLE posts_history( revision TEXT, revision_ts TEXT, revision_user_id TEXT, content TEXT ); DROP TABLE IF EXISTS threads; CREATE TABLE threads( post_id TEXT, parent_post_id TEXT ); DROP TABLE IF EXISTS emails; DROP TABLE IF EXISTS users; CREATE TABLE users( id TEXT, name TEXT, full_name TEXT, ldap_id TEXT ); INSERT INTO users(id, name, full_name, ldap_id) VALUES (1, 'admin', 'Administrator', null); DROP TABLE IF EXISTS roles; CREATE TABLE roles( id TEXT, name TEXT ); INSERT INTO roles(id, name) VALUES (1, 'subscriber'); INSERT INTO roles(id, name) VALUES (2, 'administrator'); DROP TABLE IF EXISTS users_roles; CREATE TABLE users_roles( user_id TEXT, role_id TEXT ); INSERT INTO users_roles(user_id, role_id) VALUES (1, 1); INSERT INTO users_roles(user_id, role_id) VALUES (1, 2); DROP TABLE IF EXISTS users_listforums; CREATE TABLE users_listforums( user_id TEXT, listforum_id TEXT, status TEXT );
SELECT name, value FROM storehouses_products sp ORDER BY CASE WHEN value ='0' THEN 1 ELSE 0 END, value;
/* Formatted on 17/06/2014 18:04:57 (QP5 v5.227.12220.39754) */ CREATE OR REPLACE FORCE VIEW MCRE_OWN.V_MCRE0_CHECK_REPORT ( ID_PROCESSO, DTA_CONTROLLO, COD_CRUSCOTTO, DESC_CRUSCOTTO, COD_CONTROLLO, ID_DPER, DESC_BREVE_CONTROLLO, DESC_CONTROLLO, COD_TIPO_CONTROLLO, TIPO_CONTROLLO, BLOCCANTE, VALORE_RESTITUITO, VALORE_ATTESO, ESITO, NOTE, TABELLA_DETTAGLIO ) AS SELECT B.PID AS ID_PROCESSO, B.DT_INS AS DTA_CONTROLLO, A.DOMAIN AS COD_CRUSCOTTO, X.DESCRIPTION AS DESC_CRUSCOTTO, A.COD_CHECK AS COD_CONTROLLO, B.ID_DPER AS ID_DPER, A.DESC_SHORT AS DESC_BREVE_CONTROLLO, A.DESCRIPTION AS DESC_CONTROLLO, Y.TYPE_CHECK AS COD_TIPO_CONTROLLO, Y.DESCRIPTION AS TIPO_CONTROLLO, DECODE (A.FLG_LOCK, 0, 'NO', 1, 'SI') AS BLOCCANTE, B.RET_VALUE AS VALORE_RESTITUITO, NVL ( TO_CHAR (C.EXP_VALUE), CASE WHEN (Y.TYPE_CHECK = 'CNS') THEN (SELECT (SELECT EXP_VALUE FROM T_MCRE0_CHECK_ENGINE_THRESHOLD WHERE COD_THRESHOLD = 'MIN' AND COD_CHECK = A.COD_CHECK) || ' - ' || (SELECT EXP_VALUE FROM T_MCRE0_CHECK_ENGINE_THRESHOLD WHERE COD_THRESHOLD = 'MAX' AND COD_CHECK = A.COD_CHECK) FROM DUAL) ELSE NULL END) AS VALORE_ATTESO, B.RESULT AS ESITO, B.NOTES AS NOTE, A.DEF_TAB_DETAIL AS TABELLA_DETTAGLIO FROM T_MCRE0_CHECK_ENGINE_WORK A LEFT JOIN T_MCRE0_CHECK_ENGINE_RESULT B ON (A.COD_CHECK = B.COD_CHECK AND A.FLG_ENABLE = 1) LEFT JOIN T_MCRE0_CHECK_ENGINE_THRESHOLD C ON (A.COD_CHECK = C.COD_CHECK AND C.COD_THRESHOLD = 'EXP') JOIN T_MCRE0_CHECK_ENGINE_DOMAIN X ON (A.DOMAIN = X.DOMAIN) JOIN T_MCRE0_CHECK_ENGINE_TCHECK Y ON (A.TYPE_CHECK = Y.TYPE_CHECK) ORDER BY A.DOMAIN, B.DT_INS, A.POSITION; GRANT SELECT ON MCRE_OWN.V_MCRE0_CHECK_REPORT TO MCRE_USR;
select MID(ICOD,1,9)AS 'MODELO PADRE', MID(ICOD,1,11)AS 'MODELO COLOR', IDESCR AS DESCRIPCION, FAM2.FAMDESCR AS DEPARTAMENTO, SUM(ALMCANT) AS INVENTARIO, ROUND(ILISTA4 *1.16,2) AS COSTO, ROUND(ILISTA4 *1.16 ,2) * SUM(ALMCANT) AS 'COSTO TOTAL', ILISTA1 AS PRECIO, FAM1.FAMDESCR AS PROVEEDOR, FAM3.FAMDESCR AS TIPO, FAM4.FAMDESCR AS SUBTIPO, FAM5.FAMDESCR AS PERSONAJE, FAM6.FAMDESCR AS TRIMESTRE, FAM7.FAMDESCR AS DISEÑADOR, FAM8.FAMDESCR AS LICENCIA, FAM9.FAMDESCR AS 'TIPO DE LICENCIA', IF(CATDESCR='IBUSHAK/MERCADO LIBRE','MERCADO LIBRE', IF(CATDESCR='MERCADO LIBRE TOXIC','MERCADO LIBRE', IF(CATDESCR='MERCADO LIBRE FULL','MERCADO LIBRE', IF(CATDESCR='AMAZON COMER','AMAZON', IF(CATDESCR='AMAZON EN CEDIS','AMAZON', IF(CATDESCR='ALMACEN B2B LEKRASH','SHOPIFY', CATDESCR )))))) AS TIENDA, CATCONTACTO AS 'CLASIFICACIÓN TIENDAS' from FINV LEFT JOIN FALM ON FALM.ISEQ = FINV.ISEQ LEFT JOIN FALMCAT ON FALMCAT.CATALM = FALM.ALMNUM LEFT JOIN FFAM AS FAM1 ON FAM1.FAMTNUM=FINV.IFAM1 LEFT JOIN FFAM AS FAM2 ON FAM2.FAMTNUM=FINV.IFAM2 LEFT JOIN FFAM AS FAM3 ON FAM3.FAMTNUM=FINV.IFAM3 LEFT JOIN FFAM AS FAM4 ON FAM4.FAMTNUM=FINV.IFAM4 LEFT JOIN FFAM AS FAM5 ON FAM5.FAMTNUM=FINV.IFAM5 LEFT JOIN FFAM AS FAM6 ON FAM6.FAMTNUM=FINV.IFAM6 LEFT JOIN FFAM AS FAM7 ON FAM7.FAMTNUM=FINV.IFAM7 LEFT JOIN FFAM AS FAM8 ON FAM8.FAMTNUM=FINV.IFAM8 LEFT JOIN FFAM AS FAM9 ON FAM9.FAMTNUM=FINV.IFAM9 WHERE ALMCANT > 0 AND (ALMNUM <> 0 AND ALMNUM <> 910 AND ALMNUM <> 911 AND ALMNUM <> 912 AND ALMNUM <> 913 AND ALMNUM <> 914 AND ALMNUM <> 915 AND ALMNUM <> 916 AND ALMNUM <> 917 AND ALMNUM <> 918 AND ALMNUM <> 920 AND ALMNUM <> 921 AND ALMNUM <> 923 AND ALMNUM <> 928 AND ALMNUM <> 930 AND ALMNUM <> 933 AND ALMNUM <> 934) AND ITIPO = 1 GROUP BY MID(ICOD,1,11),ALMNUM ORDER BY ALMNUM
create table recipe_recipe ( recipeId int not null AUTO_INCREMENT, title varchar(500) not null, caloriesPerServing integer not null, numberOfServings integer not null, primary key (recipeId) )
/* 1.Оптимизируем запрос Цель: Используем все свои полученные знания для оптимизации сложного запроса. Вариант 1. Вы можете взять запрос со своей работы с планом и показать, что было до оптимизации, какие решения вы применили, и что стало после. В этом случае нужно приложить Текст запроса, актуальный план и статистики по времени и операциям ввода\вывода до оптимизации и после оптимизации. Опишите кратко ход рассуждений при оптимизации. Вариант 2. Оптимизируйте запрос по БД WorldWideImporters. Приложите текст запроса со статистиками по времени и операциям ввода вывода, опишите кратко ход рассуждений при оптимизации. Select ord.CustomerID, det.StockItemID, SUM(det.UnitPrice), SUM(det.Quantity), COUNT(ord.OrderID) FROM Sales.Orders AS ord JOIN Sales.OrderLines AS det ON det.OrderID = ord.OrderID JOIN Sales.Invoices AS Inv ON Inv.OrderID = ord.OrderID JOIN Sales.CustomerTransactions AS Trans ON Trans.InvoiceID = Inv.InvoiceID JOIN Warehouse.StockItemTransactions AS ItemTrans ON ItemTrans.StockItemID = det.StockItemID WHERE Inv.BillToCustomerID != ord.CustomerID AND (Select SupplierId FROM Warehouse.StockItems AS It Where It.StockItemID = det.StockItemID) = 12 AND (SELECT SUM(Total.UnitPrice*Total.Quantity) FROM Sales.OrderLines AS Total Join Sales.Orders AS ordTotal On ordTotal.OrderID = Total.OrderID WHERE ordTotal.CustomerID = Inv.CustomerID) &gt; 250000 AND DATEDIFF(dd, Inv.InvoiceDate, ord.OrderDate) = 0 GROUP BY ord.CustomerID, det.StockItemID ORDER BY ord.CustomerID, det.StockItemID */ set statistics io, time on; Select ord.CustomerID, det.StockItemID, SUM(det.UnitPrice), SUM(det.Quantity), COUNT(ord.OrderID) FROM Sales.Orders AS ord INNER MERGE JOIN Sales.OrderLines AS det ON det.OrderID = ord.OrderID INNER MERGE JOIN Sales.Invoices AS Inv ON Inv.OrderID = ord.OrderID INNER MERGE JOIN Sales.CustomerTransactions AS Trans ON Trans.InvoiceID = Inv.InvoiceID INNER MERGE JOIN Warehouse.StockItemTransactions AS ItemTrans ON ItemTrans.StockItemID = det.StockItemID WHERE Inv.BillToCustomerID != ord.CustomerID AND (Select SupplierId FROM Warehouse.StockItems AS It Where It.StockItemID = det.StockItemID) = 12 AND (SELECT SUM(Total.UnitPrice*Total.Quantity) FROM Sales.OrderLines AS Total INNER MERGE JOIN Sales.Orders AS ordTotal On ordTotal.OrderID = Total.OrderID WHERE ordTotal.CustomerID = Inv.CustomerID) > 250000 AND DATEDIFF(dd, Inv.InvoiceDate, ord.OrderDate) = 0 GROUP BY ord.CustomerID, det.StockItemID ORDER BY ord.CustomerID, det.StockItemID option(maxdop 1) /*Время синтаксического анализа и компиляции SQL Server: время ЦП = 0 мс, истекшее время = 0 мс. Время работы SQL Server: Время ЦП = 0 мс, затраченное время = 0 мс. Время работы SQL Server: Время ЦП = 0 мс, затраченное время = 0 мс. Внимание! Порядок данного соединения был выбран принудительно, поскольку использовалось указание локального соединения. Время синтаксического анализа и компиляции SQL Server: время ЦП = 24 мс, истекшее время = 24 мс. Время работы SQL Server: Время ЦП = 0 мс, затраченное время = 0 мс. (затронуто строк: 3619) Таблица "OrderLines". Число просмотров 4, логических чтений 0, физических чтений 0, упреждающих чтений 0, lob логических чтений 331, lob физических чтений 0, lob упреждающих чтений 0. Таблица "OrderLines". Считано сегментов 2, пропущено 0. Таблица "Worktable". Число просмотров 15, логических чтений 62132, физических чтений 0, упреждающих чтений 0, lob логических чтений 0, lob физических чтений 0, lob упреждающих чтений 0. Таблица "StockItemTransactions". Число просмотров 1, логических чтений 60, физических чтений 0, упреждающих чтений 0, lob логических чтений 0, lob физических чтений 0, lob упреждающих чтений 0. Таблица "CustomerTransactions". Число просмотров 5, логических чтений 261, физических чтений 0, упреждающих чтений 0, lob логических чтений 0, lob физических чтений 0, lob упреждающих чтений 0. Таблица "Orders". Число просмотров 2, логических чтений 1384, физических чтений 0, упреждающих чтений 0, lob логических чтений 0, lob физических чтений 0, lob упреждающих чтений 0. Таблица "Invoices". Число просмотров 1, логических чтений 11400, физических чтений 0, упреждающих чтений 0, lob логических чтений 0, lob физических чтений 0, lob упреждающих чтений 0. Таблица "StockItems". Число просмотров 1, логических чтений 2, физических чтений 0, упреждающих чтений 0, lob логических чтений 0, lob физических чтений 0, lob упреждающих чтений 0. (затронуто строк: 31) (затронута одна строка) Время работы SQL Server: Время ЦП = 2313 мс, затраченное время = 2398 мс. Время синтаксического анализа и компиляции SQL Server: время ЦП = 0 мс, истекшее время = 0 мс. Время работы SQL Server: Время ЦП = 0 мс, затраченное время = 0 мс. Время работы SQL Server: Время ЦП = 0 мс, затраченное время = 0 мс.*/
declare v_njobno number; v_nsqlcode number; v_esqlmsg varchar2(1024); begin -- Call the procedure fmisp_gather_stats(pin_isjobrun => 1, pout_njobno => v_njobno, pout_nsqlcode => v_nsqlcode, pout_esqlmsg => v_esqlmsg); end; / exit;
/* Navicat MySQL Data Transfer Source Server : localhost Source Server Version : 50540 Source Host : localhost:3306 Source Database : newcrm Target Server Type : MYSQL Target Server Version : 50540 File Encoding : 65001 Date: 2018-12-30 17:25:53 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for count_day -- ---------------------------- DROP TABLE IF EXISTS `count_day`; CREATE TABLE `count_day` ( `id` int(10) NOT NULL AUTO_INCREMENT, `type` varchar(10) NOT NULL COMMENT 'web,tel 等', `type_id` int(10) NOT NULL COMMENT '项目ID', `type_name` varchar(40) NOT NULL, `date` int(10) NOT NULL, `click_all` int(10) NOT NULL COMMENT '客服总点击', `zero_talk` int(10) NOT NULL COMMENT '零对话', `wangcha` int(10) NOT NULL COMMENT '网查', `addtime` int(10) NOT NULL, `uid` int(10) NOT NULL, `u_name` varchar(32) NOT NULL, `log` text NOT NULL, KEY `id` (`id`), KEY `type_id` (`type_id`), KEY `date` (`date`), KEY `type` (`type`) ) ENGINE=MyISAM AUTO_INCREMENT=79 DEFAULT CHARSET=utf8 COMMENT='单日数据表(不需汇总部分)'; -- ---------------------------- -- Records of count_day -- ---------------------------- -- ---------------------------- -- Table structure for count_tel -- ---------------------------- DROP TABLE IF EXISTS `count_tel`; CREATE TABLE `count_tel` ( `id` int(10) NOT NULL AUTO_INCREMENT, `type_id` int(10) NOT NULL, `type_name` varchar(50) NOT NULL, `date` int(10) NOT NULL, `kefu` varchar(20) NOT NULL, `tel_all` int(10) NOT NULL, `tel_ok` int(10) NOT NULL, `yuyue` int(10) NOT NULL, `jiuzhen` int(10) NOT NULL, `wangluo` int(10) NOT NULL, `zazhi` int(10) NOT NULL, `laobao` int(10) NOT NULL, `xinbao` int(10) NOT NULL, `t400` int(10) NOT NULL, `t114` int(10) NOT NULL, `jieshao` int(10) NOT NULL, `luguo` int(10) NOT NULL, `qita` int(10) NOT NULL, `detail` text NOT NULL, `uid` int(10) NOT NULL, `uname` varchar(32) NOT NULL, `addtime` int(10) NOT NULL, `memo` text NOT NULL, `log` text NOT NULL, PRIMARY KEY (`id`), KEY `type_id` (`type_id`), KEY `date` (`date`), KEY `kefu` (`kefu`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='电话统计表'; -- ---------------------------- -- Records of count_tel -- ---------------------------- -- ---------------------------- -- Table structure for count_type -- ---------------------------- DROP TABLE IF EXISTS `count_type`; CREATE TABLE `count_type` ( `id` int(10) NOT NULL AUTO_INCREMENT, `type` varchar(10) NOT NULL, `hid` int(10) NOT NULL, `h_name` varchar(100) NOT NULL, `name` varchar(100) NOT NULL, `kefu` text NOT NULL, `uids` varchar(200) NOT NULL, `addtime` int(10) NOT NULL, `uid` int(10) NOT NULL, `u_realname` varchar(32) NOT NULL, `sort` int(10) NOT NULL DEFAULT '0', `log` text NOT NULL COMMENT '修改日志', PRIMARY KEY (`id`), KEY `hid` (`hid`), KEY `sort` (`sort`), KEY `type` (`type`) ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='统计项目表'; -- ---------------------------- -- Records of count_type -- ---------------------------- -- ---------------------------- -- Table structure for count_web -- ---------------------------- DROP TABLE IF EXISTS `count_web`; CREATE TABLE `count_web` ( `id` int(10) NOT NULL AUTO_INCREMENT, `type_id` int(10) NOT NULL COMMENT '项目ID', `type_name` varchar(50) NOT NULL COMMENT '项目名称', `date` int(8) NOT NULL COMMENT '时间如20090824', `kefu` varchar(20) NOT NULL, `ip` int(10) NOT NULL COMMENT '访问ip数量', `ip_local` int(10) NOT NULL COMMENT '本地ip数量', `ip_other` int(10) NOT NULL COMMENT '外地ip数量', `pv` int(10) NOT NULL COMMENT '访问pv量', `pv_local` int(10) NOT NULL COMMENT '本地pv', `pv_other` int(10) NOT NULL COMMENT '外地pv', `click` int(10) NOT NULL COMMENT '总点击量', `click_local` int(10) NOT NULL COMMENT '本地点击量', `click_other` int(10) NOT NULL COMMENT '外地点击量', `zero_talk` int(10) NOT NULL COMMENT '零对话', `ok_click` int(10) NOT NULL COMMENT '有效点击', `ok_click_local` int(10) NOT NULL COMMENT '本地有效点击', `ok_click_other` int(10) NOT NULL COMMENT '外地有效点击', `talk` int(10) NOT NULL DEFAULT '0' COMMENT '总对话', `talk_swt` int(10) NOT NULL DEFAULT '0' COMMENT '商务通', `talk_qq` int(10) NOT NULL DEFAULT '0' COMMENT 'qq', `talk_sq` int(10) NOT NULL DEFAULT '0' COMMENT '商桥', `talk_app` int(10) NOT NULL DEFAULT '0' COMMENT 'app', `talk_120ask` int(10) NOT NULL DEFAULT '0' COMMENT '120ask', `talk_jj` int(10) NOT NULL DEFAULT '0' COMMENT '机佳对话', `talk_local` int(10) NOT NULL DEFAULT '0' COMMENT '本地对话', `talk_other` int(10) NOT NULL DEFAULT '0' COMMENT '其他对话', `order` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `order_swt` int(10) NOT NULL DEFAULT '0' COMMENT '商务通', `order_qq` int(10) NOT NULL DEFAULT '0' COMMENT 'qq', `order_sq` int(10) NOT NULL DEFAULT '0' COMMENT '商桥', `order_app` int(10) NOT NULL DEFAULT '0' COMMENT 'app', `order_120ask` int(10) NOT NULL DEFAULT '0' COMMENT '120ask', `order_local` int(10) NOT NULL DEFAULT '0' COMMENT '本地预约', `order_other` int(10) NOT NULL DEFAULT '0' COMMENT '其他预约', `come` int(10) NOT NULL DEFAULT '0' COMMENT '当日实际到院', `come_swt` int(10) NOT NULL DEFAULT '0' COMMENT '商务通', `come_qq` int(10) NOT NULL DEFAULT '0' COMMENT 'qq', `come_sq` int(10) NOT NULL DEFAULT '0' COMMENT '商桥', `come_app` int(10) NOT NULL DEFAULT '0' COMMENT 'app', `come_120ask` int(10) NOT NULL DEFAULT '0' COMMENT '120ask', `come_local` int(10) NOT NULL DEFAULT '0' COMMENT '本地到院', `come_other` int(10) NOT NULL DEFAULT '0' COMMENT '其他到院', `engine` mediumtext NOT NULL COMMENT '搜索引擎', `addtime` int(10) NOT NULL COMMENT '添加时间', `uid` int(10) NOT NULL DEFAULT '0' COMMENT '作者UID', `u_realname` varchar(32) NOT NULL COMMENT '作者实名', `memo` mediumtext NOT NULL COMMENT '备注', `other` mediumtext NOT NULL COMMENT '其他信息', `log` text NOT NULL, `repeatcheck` varchar(32) NOT NULL COMMENT '重复检查字段', PRIMARY KEY (`id`), KEY `date` (`date`), KEY `kefu` (`kefu`), KEY `repeatcheck` (`repeatcheck`), KEY `type_id` (`type_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of count_web -- ---------------------------- -- ---------------------------- -- Table structure for junkang_25 -- ---------------------------- DROP TABLE IF EXISTS `junkang_25`; CREATE TABLE `junkang_25` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=246 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of junkang_25 -- ---------------------------- -- ---------------------------- -- Table structure for order_num -- ---------------------------- DROP TABLE IF EXISTS `order_num`; CREATE TABLE `order_num` ( `id` int(10) NOT NULL AUTO_INCREMENT, `hid` int(10) NOT NULL DEFAULT '0', `num` int(10) NOT NULL DEFAULT '10000', `addtime` int(10) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `hid` (`hid`) ) ENGINE=MyISAM AUTO_INCREMENT=39 DEFAULT CHARSET=utf8 COMMENT='预约号表'; -- ---------------------------- -- Records of order_num -- ---------------------------- -- ---------------------------- -- Table structure for patient -- ---------------------------- DROP TABLE IF EXISTS `patient`; CREATE TABLE `patient` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient -- ---------------------------- -- ---------------------------- -- Table structure for patient_1 -- ---------------------------- DROP TABLE IF EXISTS `patient_1`; CREATE TABLE `patient_1` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=265 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_1 -- ---------------------------- -- ---------------------------- -- Table structure for patient_10 -- ---------------------------- DROP TABLE IF EXISTS `patient_10`; CREATE TABLE `patient_10` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_10 -- ---------------------------- -- ---------------------------- -- Table structure for patient_10_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_10_sum`; CREATE TABLE `patient_10_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_10_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_11 -- ---------------------------- DROP TABLE IF EXISTS `patient_11`; CREATE TABLE `patient_11` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_11 -- ---------------------------- -- ---------------------------- -- Table structure for patient_11_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_11_sum`; CREATE TABLE `patient_11_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_11_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_12 -- ---------------------------- DROP TABLE IF EXISTS `patient_12`; CREATE TABLE `patient_12` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_12 -- ---------------------------- -- ---------------------------- -- Table structure for patient_12_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_12_sum`; CREATE TABLE `patient_12_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_12_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_13 -- ---------------------------- DROP TABLE IF EXISTS `patient_13`; CREATE TABLE `patient_13` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_13 -- ---------------------------- -- ---------------------------- -- Table structure for patient_13_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_13_sum`; CREATE TABLE `patient_13_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_13_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_14 -- ---------------------------- DROP TABLE IF EXISTS `patient_14`; CREATE TABLE `patient_14` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=958 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_14 -- ---------------------------- -- ---------------------------- -- Table structure for patient_14_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_14_sum`; CREATE TABLE `patient_14_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_14_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_15 -- ---------------------------- DROP TABLE IF EXISTS `patient_15`; CREATE TABLE `patient_15` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) DEFAULT '0', `part_id` int(10) DEFAULT '0', `qudao` varchar(10) DEFAULT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) DEFAULT NULL, `sex` varchar(6) DEFAULT NULL COMMENT '性别', `disease_id` varchar(200) DEFAULT '0' COMMENT '病患类型', `depart` int(10) DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) DEFAULT NULL COMMENT '病人来源地区', `tel` varchar(20) DEFAULT NULL, `qq` varchar(20) DEFAULT NULL, `zhuanjia_num` varchar(10) DEFAULT NULL, `content` mediumtext, `talk_content` mediumtext, `order_date` int(10) DEFAULT '0', `media_from` varchar(20) DEFAULT NULL, `engine` varchar(32) DEFAULT NULL, `engine_key` varchar(32) DEFAULT NULL, `from_site` varchar(40) DEFAULT NULL, `memo` mediumtext, `status` int(2) DEFAULT '0', `doctor` varchar(32) DEFAULT NULL COMMENT '接待医生', `is_zhiliao` int(2) DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext COMMENT '消费记录', `xiangmu` varchar(250) DEFAULT NULL COMMENT '治疗项目', `huifang` mediumtext COMMENT '回访记录', `huifang_nexttime` int(10) DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) DEFAULT '0', `author` varchar(32) DEFAULT NULL, `edit_log` mediumtext COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=27 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_15 -- ---------------------------- -- ---------------------------- -- Table structure for patient_15_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_15_sum`; CREATE TABLE `patient_15_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_15_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_16 -- ---------------------------- DROP TABLE IF EXISTS `patient_16`; CREATE TABLE `patient_16` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) DEFAULT NULL, `sex` varchar(6) DEFAULT NULL COMMENT '性别', `disease_id` varchar(200) CHARACTER SET gb2312 NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) DEFAULT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) DEFAULT NULL, `zhuanjia_num` varchar(10) DEFAULT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) DEFAULT NULL, `engine_key` varchar(32) DEFAULT NULL, `from_site` varchar(40) DEFAULT NULL, `memo` mediumtext, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) DEFAULT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext COMMENT '消费记录', `xiangmu` varchar(250) DEFAULT NULL COMMENT '治疗项目', `huifang` mediumtext COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_16 -- ---------------------------- -- ---------------------------- -- Table structure for patient_16_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_16_sum`; CREATE TABLE `patient_16_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_16_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_17 -- ---------------------------- DROP TABLE IF EXISTS `patient_17`; CREATE TABLE `patient_17` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) DEFAULT '0', `part_id` int(10) DEFAULT '0', `qudao` varchar(10) DEFAULT NULL COMMENT '预约渠道', `name` varchar(20) DEFAULT NULL, `age` int(3) DEFAULT NULL, `sex` varchar(6) DEFAULT NULL COMMENT '性别', `disease_id` varchar(200) DEFAULT '0' COMMENT '病患类型', `depart` int(10) DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) DEFAULT NULL COMMENT '病人来源地区', `tel` varchar(20) DEFAULT NULL, `qq` varchar(20) DEFAULT NULL, `zhuanjia_num` varchar(10) DEFAULT NULL, `content` mediumtext, `talk_content` mediumtext, `order_date` int(10) DEFAULT '0', `media_from` varchar(20) DEFAULT NULL, `engine` varchar(32) DEFAULT NULL, `engine_key` varchar(32) DEFAULT NULL, `from_site` varchar(40) DEFAULT NULL, `memo` mediumtext, `status` int(2) DEFAULT '0', `doctor` varchar(32) DEFAULT NULL COMMENT '接待医生', `is_zhiliao` int(2) DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext COMMENT '消费记录', `xiangmu` varchar(250) DEFAULT NULL COMMENT '治疗项目', `huifang` mediumtext COMMENT '回访记录', `huifang_nexttime` int(10) DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) DEFAULT '0', `author` varchar(32) DEFAULT NULL, `edit_log` mediumtext COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=579 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_17 -- ---------------------------- -- ---------------------------- -- Table structure for patient_17_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_17_sum`; CREATE TABLE `patient_17_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_17_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_18 -- ---------------------------- DROP TABLE IF EXISTS `patient_18`; CREATE TABLE `patient_18` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=2685 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_18 -- ---------------------------- -- ---------------------------- -- Table structure for patient_18_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_18_sum`; CREATE TABLE `patient_18_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_18_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_19 -- ---------------------------- DROP TABLE IF EXISTS `patient_19`; CREATE TABLE `patient_19` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_19 -- ---------------------------- -- ---------------------------- -- Table structure for patient_1_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_1_sum`; CREATE TABLE `patient_1_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_1_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_2 -- ---------------------------- DROP TABLE IF EXISTS `patient_2`; CREATE TABLE `patient_2` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=4149 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_2 -- ---------------------------- -- ---------------------------- -- Table structure for patient_20 -- ---------------------------- DROP TABLE IF EXISTS `patient_20`; CREATE TABLE `patient_20` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_20 -- ---------------------------- -- ---------------------------- -- Table structure for patient_20_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_20_sum`; CREATE TABLE `patient_20_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_20_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_21 -- ---------------------------- DROP TABLE IF EXISTS `patient_21`; CREATE TABLE `patient_21` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=1808 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_21 -- ---------------------------- -- ---------------------------- -- Table structure for patient_21_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_21_sum`; CREATE TABLE `patient_21_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_21_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_22 -- ---------------------------- DROP TABLE IF EXISTS `patient_22`; CREATE TABLE `patient_22` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=1133 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_22 -- ---------------------------- -- ---------------------------- -- Table structure for patient_22_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_22_sum`; CREATE TABLE `patient_22_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_22_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_23 -- ---------------------------- DROP TABLE IF EXISTS `patient_23`; CREATE TABLE `patient_23` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=9108 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_23 -- ---------------------------- -- ---------------------------- -- Table structure for patient_23_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_23_sum`; CREATE TABLE `patient_23_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_23_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_24 -- ---------------------------- DROP TABLE IF EXISTS `patient_24`; CREATE TABLE `patient_24` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=9540 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_24 -- ---------------------------- -- ---------------------------- -- Table structure for patient_24_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_24_sum`; CREATE TABLE `patient_24_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_24_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_25 -- ---------------------------- DROP TABLE IF EXISTS `patient_25`; CREATE TABLE `patient_25` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=83 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_25 -- ---------------------------- -- ---------------------------- -- Table structure for patient_25_copy -- ---------------------------- DROP TABLE IF EXISTS `patient_25_copy`; CREATE TABLE `patient_25_copy` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=41 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_25_copy -- ---------------------------- -- ---------------------------- -- Table structure for patient_25_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_25_sum`; CREATE TABLE `patient_25_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_25_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_26 -- ---------------------------- DROP TABLE IF EXISTS `patient_26`; CREATE TABLE `patient_26` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=146 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_26 -- ---------------------------- -- ---------------------------- -- Table structure for patient_26_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_26_sum`; CREATE TABLE `patient_26_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_26_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_27 -- ---------------------------- DROP TABLE IF EXISTS `patient_27`; CREATE TABLE `patient_27` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=1122 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_27 -- ---------------------------- -- ---------------------------- -- Table structure for patient_27_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_27_sum`; CREATE TABLE `patient_27_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_27_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_28 -- ---------------------------- DROP TABLE IF EXISTS `patient_28`; CREATE TABLE `patient_28` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=103 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_28 -- ---------------------------- -- ---------------------------- -- Table structure for patient_28_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_28_sum`; CREATE TABLE `patient_28_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_28_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_29 -- ---------------------------- DROP TABLE IF EXISTS `patient_29`; CREATE TABLE `patient_29` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=22 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_29 -- ---------------------------- -- ---------------------------- -- Table structure for patient_29_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_29_sum`; CREATE TABLE `patient_29_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_29_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_2_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_2_sum`; CREATE TABLE `patient_2_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_2_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_3 -- ---------------------------- DROP TABLE IF EXISTS `patient_3`; CREATE TABLE `patient_3` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=6956 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_3 -- ---------------------------- -- ---------------------------- -- Table structure for patient_30 -- ---------------------------- DROP TABLE IF EXISTS `patient_30`; CREATE TABLE `patient_30` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=1029 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_30 -- ---------------------------- -- ---------------------------- -- Table structure for patient_30_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_30_sum`; CREATE TABLE `patient_30_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_30_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_31 -- ---------------------------- DROP TABLE IF EXISTS `patient_31`; CREATE TABLE `patient_31` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_31 -- ---------------------------- -- ---------------------------- -- Table structure for patient_31_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_31_sum`; CREATE TABLE `patient_31_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_31_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_32 -- ---------------------------- DROP TABLE IF EXISTS `patient_32`; CREATE TABLE `patient_32` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=188 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_32 -- ---------------------------- -- ---------------------------- -- Table structure for patient_32_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_32_sum`; CREATE TABLE `patient_32_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_32_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_33 -- ---------------------------- DROP TABLE IF EXISTS `patient_33`; CREATE TABLE `patient_33` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=360 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_33 -- ---------------------------- -- ---------------------------- -- Table structure for patient_33_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_33_sum`; CREATE TABLE `patient_33_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_33_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_34 -- ---------------------------- DROP TABLE IF EXISTS `patient_34`; CREATE TABLE `patient_34` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=2286 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_34 -- ---------------------------- -- ---------------------------- -- Table structure for patient_34_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_34_sum`; CREATE TABLE `patient_34_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_34_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_35 -- ---------------------------- DROP TABLE IF EXISTS `patient_35`; CREATE TABLE `patient_35` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=655 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_35 -- ---------------------------- -- ---------------------------- -- Table structure for patient_35_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_35_sum`; CREATE TABLE `patient_35_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_35_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_36 -- ---------------------------- DROP TABLE IF EXISTS `patient_36`; CREATE TABLE `patient_36` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_36 -- ---------------------------- -- ---------------------------- -- Table structure for patient_36_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_36_sum`; CREATE TABLE `patient_36_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_36_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_37 -- ---------------------------- DROP TABLE IF EXISTS `patient_37`; CREATE TABLE `patient_37` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_37 -- ---------------------------- -- ---------------------------- -- Table structure for patient_37_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_37_sum`; CREATE TABLE `patient_37_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_37_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_38 -- ---------------------------- DROP TABLE IF EXISTS `patient_38`; CREATE TABLE `patient_38` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=5574 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_38 -- ---------------------------- -- ---------------------------- -- Table structure for patient_38_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_38_sum`; CREATE TABLE `patient_38_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_38_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_39 -- ---------------------------- DROP TABLE IF EXISTS `patient_39`; CREATE TABLE `patient_39` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=72 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_39 -- ---------------------------- -- ---------------------------- -- Table structure for patient_39_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_39_sum`; CREATE TABLE `patient_39_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_39_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_3_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_3_sum`; CREATE TABLE `patient_3_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_3_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_4 -- ---------------------------- DROP TABLE IF EXISTS `patient_4`; CREATE TABLE `patient_4` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=29296 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_4 -- ---------------------------- -- ---------------------------- -- Table structure for patient_40 -- ---------------------------- DROP TABLE IF EXISTS `patient_40`; CREATE TABLE `patient_40` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=1511 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_40 -- ---------------------------- -- ---------------------------- -- Table structure for patient_40_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_40_sum`; CREATE TABLE `patient_40_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_40_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_41 -- ---------------------------- DROP TABLE IF EXISTS `patient_41`; CREATE TABLE `patient_41` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=731 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_41 -- ---------------------------- -- ---------------------------- -- Table structure for patient_41_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_41_sum`; CREATE TABLE `patient_41_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_41_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_42 -- ---------------------------- DROP TABLE IF EXISTS `patient_42`; CREATE TABLE `patient_42` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=484 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_42 -- ---------------------------- -- ---------------------------- -- Table structure for patient_42_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_42_sum`; CREATE TABLE `patient_42_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_42_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_43 -- ---------------------------- DROP TABLE IF EXISTS `patient_43`; CREATE TABLE `patient_43` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=261 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_43 -- ---------------------------- -- ---------------------------- -- Table structure for patient_43_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_43_sum`; CREATE TABLE `patient_43_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_43_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_44 -- ---------------------------- DROP TABLE IF EXISTS `patient_44`; CREATE TABLE `patient_44` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=178 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_44 -- ---------------------------- -- ---------------------------- -- Table structure for patient_44_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_44_sum`; CREATE TABLE `patient_44_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_44_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_45 -- ---------------------------- DROP TABLE IF EXISTS `patient_45`; CREATE TABLE `patient_45` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=1718 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_45 -- ---------------------------- -- ---------------------------- -- Table structure for patient_45_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_45_sum`; CREATE TABLE `patient_45_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_45_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_46 -- ---------------------------- DROP TABLE IF EXISTS `patient_46`; CREATE TABLE `patient_46` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=80 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_46 -- ---------------------------- -- ---------------------------- -- Table structure for patient_46_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_46_sum`; CREATE TABLE `patient_46_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_46_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_4_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_4_sum`; CREATE TABLE `patient_4_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_4_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_5 -- ---------------------------- DROP TABLE IF EXISTS `patient_5`; CREATE TABLE `patient_5` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=1772 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_5 -- ---------------------------- -- ---------------------------- -- Table structure for patient_5_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_5_sum`; CREATE TABLE `patient_5_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_5_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_6 -- ---------------------------- DROP TABLE IF EXISTS `patient_6`; CREATE TABLE `patient_6` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=3447 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_6 -- ---------------------------- -- ---------------------------- -- Table structure for patient_6_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_6_sum`; CREATE TABLE `patient_6_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_6_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_7 -- ---------------------------- DROP TABLE IF EXISTS `patient_7`; CREATE TABLE `patient_7` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) DEFAULT '0', `part_id` int(10) DEFAULT '0', `qudao` varchar(10) DEFAULT NULL COMMENT '预约渠道', `name` varchar(100) DEFAULT NULL, `age` int(3) DEFAULT NULL, `sex` varchar(6) DEFAULT NULL COMMENT '性别', `disease_id` varchar(200) DEFAULT '0' COMMENT '病患类型', `depart` int(10) DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) DEFAULT NULL COMMENT '病人来源地区', `tel` varchar(20) DEFAULT NULL, `qq` varchar(20) DEFAULT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) DEFAULT NULL, `content` mediumtext, `talk_content` mediumtext, `order_date` int(10) DEFAULT '0', `media_from` varchar(20) DEFAULT NULL, `engine` varchar(32) DEFAULT NULL, `engine_key` varchar(32) DEFAULT NULL, `from_site` varchar(40) DEFAULT NULL, `memo` mediumtext, `status` int(2) DEFAULT '0', `doctor` varchar(32) DEFAULT NULL COMMENT '接待医生', `is_zhiliao` int(2) DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext COMMENT '消费记录', `xiangmu` varchar(250) DEFAULT NULL COMMENT '治疗项目', `huifang` mediumtext COMMENT '回访记录', `huifang_nexttime` int(10) DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) DEFAULT '0', `author` varchar(32) DEFAULT NULL, `edit_log` mediumtext COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=1983 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_7 -- ---------------------------- -- ---------------------------- -- Table structure for patient_7_copy -- ---------------------------- DROP TABLE IF EXISTS `patient_7_copy`; CREATE TABLE `patient_7_copy` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) DEFAULT '0', `part_id` int(10) DEFAULT '0', `qudao` varchar(10) DEFAULT NULL COMMENT '预约渠道', `name` varchar(100) DEFAULT NULL, `age` int(3) DEFAULT NULL, `sex` varchar(6) DEFAULT NULL COMMENT '性别', `disease_id` varchar(200) DEFAULT '0' COMMENT '病患类型', `depart` int(10) DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) DEFAULT NULL COMMENT '病人来源地区', `tel` varchar(20) DEFAULT NULL, `qq` varchar(20) DEFAULT NULL, `zhuanjia_num` varchar(10) DEFAULT NULL, `content` mediumtext, `talk_content` mediumtext, `order_date` int(10) DEFAULT '0', `media_from` varchar(20) DEFAULT NULL, `engine` varchar(32) DEFAULT NULL, `engine_key` varchar(32) DEFAULT NULL, `from_site` varchar(40) DEFAULT NULL, `memo` mediumtext, `status` int(2) DEFAULT '0', `doctor` varchar(32) DEFAULT NULL COMMENT '接待医生', `is_zhiliao` int(2) DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext COMMENT '消费记录', `xiangmu` varchar(250) DEFAULT NULL COMMENT '治疗项目', `huifang` mediumtext COMMENT '回访记录', `huifang_nexttime` int(10) DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) DEFAULT '0', `author` varchar(32) DEFAULT NULL, `edit_log` mediumtext COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=841 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_7_copy -- ---------------------------- -- ---------------------------- -- Table structure for patient_7_copy1 -- ---------------------------- DROP TABLE IF EXISTS `patient_7_copy1`; CREATE TABLE `patient_7_copy1` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) DEFAULT '0', `part_id` int(10) DEFAULT '0', `qudao` varchar(10) DEFAULT NULL COMMENT '预约渠道', `name` varchar(100) DEFAULT NULL, `age` int(3) DEFAULT NULL, `sex` varchar(6) DEFAULT NULL COMMENT '性别', `disease_id` varchar(200) DEFAULT '0' COMMENT '病患类型', `depart` int(10) DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) DEFAULT NULL COMMENT '病人来源地区', `tel` varchar(20) DEFAULT NULL, `qq` varchar(20) DEFAULT NULL, `zhuanjia_num` varchar(10) DEFAULT NULL, `content` mediumtext, `talk_content` mediumtext, `order_date` int(10) DEFAULT '0', `media_from` varchar(20) DEFAULT NULL, `engine` varchar(32) DEFAULT NULL, `engine_key` varchar(32) DEFAULT NULL, `from_site` varchar(40) DEFAULT NULL, `memo` mediumtext, `status` int(2) DEFAULT '0', `doctor` varchar(32) DEFAULT NULL COMMENT '接待医生', `is_zhiliao` int(2) DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext COMMENT '消费记录', `xiangmu` varchar(250) DEFAULT NULL COMMENT '治疗项目', `huifang` mediumtext COMMENT '回访记录', `huifang_nexttime` int(10) DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) DEFAULT '0', `author` varchar(32) DEFAULT NULL, `edit_log` mediumtext COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=841 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_7_copy1 -- ---------------------------- -- ---------------------------- -- Table structure for patient_7_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_7_sum`; CREATE TABLE `patient_7_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_7_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_8 -- ---------------------------- DROP TABLE IF EXISTS `patient_8`; CREATE TABLE `patient_8` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_8 -- ---------------------------- -- ---------------------------- -- Table structure for patient_8_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_8_sum`; CREATE TABLE `patient_8_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_8_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_9 -- ---------------------------- DROP TABLE IF EXISTS `patient_9`; CREATE TABLE `patient_9` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of patient_9 -- ---------------------------- -- ---------------------------- -- Table structure for patient_9_sum -- ---------------------------- DROP TABLE IF EXISTS `patient_9_sum`; CREATE TABLE `patient_9_sum` ( `date` int(10) NOT NULL COMMENT '日期', `x1` int(10) NOT NULL DEFAULT '0' COMMENT '总预约', `x2` int(10) NOT NULL DEFAULT '0' COMMENT '总预到', `x3` int(10) NOT NULL DEFAULT '0' COMMENT '总实到', `x4` int(10) NOT NULL DEFAULT '0' COMMENT '网络预约', `x5` int(10) NOT NULL DEFAULT '0' COMMENT '网络预到', `x6` int(10) NOT NULL DEFAULT '0' COMMENT '网络实到', `x7` int(10) NOT NULL DEFAULT '0' COMMENT '电话预约', `x8` int(10) NOT NULL DEFAULT '0' COMMENT '电话预到', `x9` int(10) NOT NULL DEFAULT '0' COMMENT '电话实到', KEY `date` (`date`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='汇总表'; -- ---------------------------- -- Records of patient_9_sum -- ---------------------------- -- ---------------------------- -- Table structure for patient_cachetime -- ---------------------------- DROP TABLE IF EXISTS `patient_cachetime`; CREATE TABLE `patient_cachetime` ( `hid` int(10) NOT NULL, `lasttime` int(10) NOT NULL DEFAULT '0', `timer_huodong` int(10) NOT NULL DEFAULT '0', `timer_old` int(10) NOT NULL DEFAULT '0', KEY `hid` (`hid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='缓存时间表'; -- ---------------------------- -- Records of patient_cachetime -- ---------------------------- -- ---------------------------- -- Table structure for sites -- ---------------------------- DROP TABLE IF EXISTS `sites`; CREATE TABLE `sites` ( `id` int(10) NOT NULL AUTO_INCREMENT, `hid` int(10) NOT NULL COMMENT '医院ID', `h_name` varchar(100) NOT NULL COMMENT '医院名称', `url` varchar(32) NOT NULL COMMENT '网址www.a.com', `site_name` varchar(100) NOT NULL COMMENT '网站名称', `config` text NOT NULL COMMENT '站点配置', `uid` int(10) NOT NULL, `u_realname` varchar(32) NOT NULL, `addtime` int(10) NOT NULL, PRIMARY KEY (`id`), KEY `hid` (`hid`) ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sites -- ---------------------------- -- ---------------------------- -- Table structure for sys_admin -- ---------------------------- DROP TABLE IF EXISTS `sys_admin`; CREATE TABLE `sys_admin` ( `id` int(10) NOT NULL AUTO_INCREMENT, `isshow` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1-正常,0-关闭', `name` varchar(20) DEFAULT NULL COMMENT '登录名', `pass` varchar(32) DEFAULT NULL COMMENT '密码(加密后)', `powermode` tinyint(1) NOT NULL DEFAULT '0' COMMENT '权限模式', `menu` mediumtext COMMENT '菜单定义', `guahao_config` varchar(255) NOT NULL COMMENT '挂号配置', `character_id` int(11) DEFAULT '0' COMMENT '角色ID', `showmodule` varchar(250) NOT NULL DEFAULT '-' COMMENT '显示的模块', `shortcut` mediumtext COMMENT '定制的快捷方式', `lastlogin` int(10) DEFAULT NULL COMMENT '上次登录', `thislogin` int(10) DEFAULT NULL COMMENT '本次登录时间', `logintimes` int(8) DEFAULT '0' COMMENT '登录总次数', `online` tinyint(1) DEFAULT '0' COMMENT '是否在线', `lastactiontime` int(10) DEFAULT '0' COMMENT '上次活动时间', `menuclicks` mediumtext NOT NULL COMMENT '菜单点击数据', `addtime` int(10) DEFAULT NULL COMMENT '资料添加时间', `part_id` int(8) NOT NULL DEFAULT '0' COMMENT '所在部门', `part_admin` int(1) NOT NULL DEFAULT '0' COMMENT '是否部门管理员', `part_manage` varchar(250) NOT NULL COMMENT '能管理的部门数据', `hospitals` varchar(500) NOT NULL DEFAULT '0' COMMENT '所在医院', `detail` mediumtext NOT NULL COMMENT '用户详细资料(序列化)', `config` mediumtext NOT NULL COMMENT '用户配置', `author` varchar(32) NOT NULL, `allow_ip` mediumtext NOT NULL COMMENT '允许登录的ip', `history_ip` mediumtext NOT NULL COMMENT '最近登录的ip', `mac` varchar(200) NOT NULL, PRIMARY KEY (`id`), KEY `name` (`name`), KEY `online` (`online`), KEY `addtime` (`addtime`) ) ENGINE=MyISAM AUTO_INCREMENT=960 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_admin -- ---------------------------- INSERT INTO `sys_admin` VALUES ('950', '1', 'admin', '0192023a7bbd73250516f069df18b500', '0', null, '', '0', '-', null, null, null, '0', '0', '0', '', '1546075261', '0', '127', '', '0', '', '', 'fengyu', '', '', ''); INSERT INTO `sys_admin` VALUES ('957', '1', 'demo', 'e10adc3949ba59abbe56e057f20f883e', '0', null, '', '0', '-', null, null, null, '0', '0', '0', '', '1546160534', '1006', '0', '', '0', '', '', 'admin', '', '', ''); INSERT INTO `sys_admin` VALUES ('958', '1', 'admin123', 'e10adc3949ba59abbe56e057f20f883e', '0', null, '', '0', '-', null, null, null, '0', '0', '0', '', '1546161157', '1002', '0', '', '0', '', '', 'demo', '', '', ''); INSERT INTO `sys_admin` VALUES ('959', '1', 'admin000', 'e10adc3949ba59abbe56e057f20f883e', '0', null, '', '0', '-', null, null, null, '0', '0', '0', '', '1546161231', '1011', '0', '', '0', '', '', 'demo', '', '', ''); -- ---------------------------- -- Table structure for sys_admin_copy -- ---------------------------- DROP TABLE IF EXISTS `sys_admin_copy`; CREATE TABLE `sys_admin_copy` ( `id` int(10) NOT NULL AUTO_INCREMENT, `isshow` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1-正常,0-关闭', `name` varchar(20) DEFAULT NULL COMMENT '登录名', `pass` varchar(32) DEFAULT NULL COMMENT '密码(加密后)', `powermode` tinyint(1) NOT NULL DEFAULT '0' COMMENT '权限模式', `menu` mediumtext COMMENT '菜单定义', `guahao_config` varchar(255) NOT NULL COMMENT '挂号配置', `character_id` int(11) DEFAULT '0' COMMENT '角色ID', `showmodule` varchar(250) NOT NULL DEFAULT '-' COMMENT '显示的模块', `shortcut` mediumtext COMMENT '定制的快捷方式', `lastlogin` int(10) DEFAULT NULL COMMENT '上次登录', `thislogin` int(10) DEFAULT NULL COMMENT '本次登录时间', `logintimes` int(8) DEFAULT '0' COMMENT '登录总次数', `online` tinyint(1) DEFAULT '0' COMMENT '是否在线', `lastactiontime` int(10) DEFAULT '0' COMMENT '上次活动时间', `menuclicks` mediumtext NOT NULL COMMENT '菜单点击数据', `addtime` int(10) DEFAULT NULL COMMENT '资料添加时间', `part_id` int(8) NOT NULL DEFAULT '0' COMMENT '所在部门', `part_admin` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否部门管理员', `part_manage` varchar(250) NOT NULL COMMENT '能管理的部门数据', `hospitals` varchar(500) NOT NULL DEFAULT '0' COMMENT '所在医院', `detail` mediumtext NOT NULL COMMENT '用户详细资料(序列化)', `config` mediumtext NOT NULL COMMENT '用户配置', `author` varchar(32) NOT NULL, `allow_ip` mediumtext NOT NULL COMMENT '允许登录的ip', `history_ip` mediumtext NOT NULL COMMENT '最近登录的ip', `mac` varchar(200) NOT NULL, PRIMARY KEY (`id`), KEY `name` (`name`), KEY `online` (`online`), KEY `addtime` (`addtime`) ) ENGINE=MyISAM AUTO_INCREMENT=515 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_admin_copy -- ---------------------------- -- ---------------------------- -- Table structure for sys_auth_group -- ---------------------------- DROP TABLE IF EXISTS `sys_auth_group`; CREATE TABLE `sys_auth_group` ( `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `title` char(100) NOT NULL DEFAULT '', `status` tinyint(1) NOT NULL DEFAULT '1', `rules` char(80) NOT NULL DEFAULT '', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_auth_group -- ---------------------------- -- ---------------------------- -- Table structure for sys_auth_group_access -- ---------------------------- DROP TABLE IF EXISTS `sys_auth_group_access`; CREATE TABLE `sys_auth_group_access` ( `uid` mediumint(8) unsigned NOT NULL, `group_id` mediumint(8) unsigned NOT NULL, UNIQUE KEY `uid_group_id` (`uid`,`group_id`), KEY `uid` (`uid`), KEY `group_id` (`group_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_auth_group_access -- ---------------------------- INSERT INTO `sys_auth_group_access` VALUES ('950', '1001'); INSERT INTO `sys_auth_group_access` VALUES ('957', '1006'); INSERT INTO `sys_auth_group_access` VALUES ('958', '1002'); INSERT INTO `sys_auth_group_access` VALUES ('959', '1011'); -- ---------------------------- -- Table structure for sys_auth_rule -- ---------------------------- DROP TABLE IF EXISTS `sys_auth_rule`; CREATE TABLE `sys_auth_rule` ( `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `name` char(80) NOT NULL DEFAULT '', `title` char(20) NOT NULL DEFAULT '', `type` tinyint(1) NOT NULL DEFAULT '1', `status` tinyint(1) NOT NULL DEFAULT '1', `condition` char(100) NOT NULL DEFAULT '', `pid` int(10) DEFAULT NULL, `level` int(10) DEFAULT NULL, `sort` int(10) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) ) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_auth_rule -- ---------------------------- INSERT INTO `sys_auth_rule` VALUES ('1', '系统设置', 'index/Sys', '1', '1', '', '0', null, null); INSERT INTO `sys_auth_rule` VALUES ('2', '部门管理', 'index/Part/index', '1', '1', '', '1', null, null); INSERT INTO `sys_auth_rule` VALUES ('3', '部门修改', 'index/Part/update', '1', '1', '', '2', null, null); INSERT INTO `sys_auth_rule` VALUES ('4', '部门删除', 'index/Part/del', '1', '1', '', '2', null, null); INSERT INTO `sys_auth_rule` VALUES ('5', '部门新增', 'index/Part/add', '1', '1', '', '2', null, null); INSERT INTO `sys_auth_rule` VALUES ('6', '医生管理', 'index/Doctor/index', '1', '1', '', '1', null, null); INSERT INTO `sys_auth_rule` VALUES ('7', '医生修改', 'index/Doctor/update', '1', '1', '', '6', null, null); INSERT INTO `sys_auth_rule` VALUES ('8', '医生新增', 'index/Doctor/add', '1', '1', '', '6', null, null); INSERT INTO `sys_auth_rule` VALUES ('9', '医生删除', 'index/Doctor/del', '1', '1', '', '6', null, null); -- ---------------------------- -- Table structure for sys_character -- ---------------------------- DROP TABLE IF EXISTS `sys_character`; CREATE TABLE `sys_character` ( `id` int(8) NOT NULL AUTO_INCREMENT, `name` varchar(50) DEFAULT NULL, `menu` mediumtext, `author` varchar(20) DEFAULT NULL, `addtime` int(10) DEFAULT '0', `isshow` tinyint(1) DEFAULT '1', PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=58 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_character -- ---------------------------- -- ---------------------------- -- Table structure for sys_depart -- ---------------------------- DROP TABLE IF EXISTS `sys_depart`; CREATE TABLE `sys_depart` ( `id` int(10) NOT NULL AUTO_INCREMENT, `hospital_id` int(10) NOT NULL, `name` varchar(100) NOT NULL, `intro` mediumtext NOT NULL, `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `status` int(10) NOT NULL DEFAULT '1' COMMENT '1为ture,0为false', `update_time` int(10) NOT NULL, PRIMARY KEY (`id`), KEY `hospital_id` (`hospital_id`,`addtime`) ) ENGINE=MyISAM AUTO_INCREMENT=82 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_depart -- ---------------------------- INSERT INTO `sys_depart` VALUES ('70', '4', '内科 张素兰', '内科 张素兰', '1545529180', '', '1', '1545529180'); INSERT INTO `sys_depart` VALUES ('71', '4', '中医科 何贵琼', '中医科 何贵琼', '1545529194', '', '1', '1545529194'); INSERT INTO `sys_depart` VALUES ('72', '4', '外科(男科) 杨坤', '外科(男科) 杨坤', '1545529207', '', '1', '1545529207'); INSERT INTO `sys_depart` VALUES ('73', '4', '疼痛科 颜家长', '疼痛科 颜家长', '1545529216', '', '1', '1545529216'); INSERT INTO `sys_depart` VALUES ('74', '3', '理疗科 赵超', '理疗科 赵超', '1545529240', '', '1', '1545529240'); INSERT INTO `sys_depart` VALUES ('75', '3', '五官科 刘贤龙', '五官科 刘贤龙', '1545529254', '', '1', '1545529254'); INSERT INTO `sys_depart` VALUES ('76', '3', '妇科 余德云', '妇科 余德云', '1545529263', '', '1', '1545529263'); INSERT INTO `sys_depart` VALUES ('77', '3', '内科2-破伤风', '内科2-破伤风', '1545529270', '', '1', '1545529270'); INSERT INTO `sys_depart` VALUES ('78', '3', '住院部-李静', '住院部-李静', '1545529277', '', '1', '1545529277'); INSERT INTO `sys_depart` VALUES ('79', '3', '住院部-张敏', '住院部-张敏', '1545529285', '', '1', '1545529285'); INSERT INTO `sys_depart` VALUES ('80', '3', '住院部-刘丹', '住院部-刘丹', '1545529295', '', '1', '1545529295'); INSERT INTO `sys_depart` VALUES ('81', '4', '住院部-刘亚', '住院部-刘亚', '1545529305', '', '1', '1545529305'); -- ---------------------------- -- Table structure for sys_disease -- ---------------------------- DROP TABLE IF EXISTS `sys_disease`; CREATE TABLE `sys_disease` ( `id` int(10) NOT NULL AUTO_INCREMENT, `hospital_id` int(10) NOT NULL DEFAULT '0', `name` varchar(100) NOT NULL, `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `intro` mediumtext NOT NULL, `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `isshow` tinyint(1) NOT NULL DEFAULT '1', `sort` int(10) NOT NULL DEFAULT '0', `sort2` int(10) NOT NULL DEFAULT '0', `update_time` int(10) NOT NULL DEFAULT '0', `status` int(5) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=540 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_disease -- ---------------------------- INSERT INTO `sys_disease` VALUES ('534', '4', '包皮包茎', '包皮包茎', '包皮包茎包皮包茎', '1545449659', '', '1', '100', '0', '1545449659', '1'); INSERT INTO `sys_disease` VALUES ('535', '4', '早泄', '早泄', '早泄', '1545449822', '', '1', '10', '0', '1545449822', '1'); INSERT INTO `sys_disease` VALUES ('536', '4', '男科检查', '男科检查', '男科检查', '1545449837', '', '1', '30', '0', '1545449837', '1'); INSERT INTO `sys_disease` VALUES ('537', '4', '泌尿感染', '泌尿感染', '泌尿感染', '1545449849', '', '1', '25', '0', '1545449849', '1'); INSERT INTO `sys_disease` VALUES ('538', '3', '妇科', '妇科', '妇科', '1545457787', '', '1', '0', '0', '1545462130', '0'); INSERT INTO `sys_disease` VALUES ('539', '3', '测试01', '测试01', '测试01', '1545461111', '', '1', '99', '0', '1545462092', '0'); -- ---------------------------- -- Table structure for sys_doctor -- ---------------------------- DROP TABLE IF EXISTS `sys_doctor`; CREATE TABLE `sys_doctor` ( `id` int(10) NOT NULL AUTO_INCREMENT, `hospital_id` int(8) NOT NULL DEFAULT '0' COMMENT '医院id', `doctor_num` varchar(20) NOT NULL COMMENT '专家号', `name` varchar(32) NOT NULL COMMENT '医生姓名', `intro` mediumtext NOT NULL, `add_time` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `update_time` int(10) NOT NULL DEFAULT '0', `status` int(10) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_doctor -- ---------------------------- INSERT INTO `sys_doctor` VALUES ('3', '1', '2018122099100509', '老赵', '测试', '1545287564', '', '1545287564', '1'); INSERT INTO `sys_doctor` VALUES ('4', '3', '2018122056102489', '老钱', '测试2', '1545287577', '', '1545287577', '1'); INSERT INTO `sys_doctor` VALUES ('5', '4', '2018122052485797', '老孙', '测试3', '1545287588', '', '1545287588', '1'); INSERT INTO `sys_doctor` VALUES ('6', '3', '2018122050545254', '老李', '医生', '1545287602', '', '1545287602', '1'); INSERT INTO `sys_doctor` VALUES ('7', '4', '2018122298551015', '是', '是', '1545449371', '', '1545449371', '1'); -- ---------------------------- -- Table structure for sys_engine -- ---------------------------- DROP TABLE IF EXISTS `sys_engine`; CREATE TABLE `sys_engine` ( `id` int(10) NOT NULL AUTO_INCREMENT, `name` varchar(32) NOT NULL, `addtime` int(10) NOT NULL, `author` varchar(32) NOT NULL, `update_time` int(10) NOT NULL, `status` int(10) NOT NULL, `engine_img` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 COMMENT='搜索引擎列表'; -- ---------------------------- -- Records of sys_engine -- ---------------------------- INSERT INTO `sys_engine` VALUES ('12', '百度', '1545540682', '', '1545540682', '1', '/Uploads/20181223\\94118f50007331efc5c3c7bc77f379e8.jpg'); INSERT INTO `sys_engine` VALUES ('13', '360搜索', '1545543614', '', '1545543614', '1', '/Uploads/20181223\\ddfb55479160274af50147b18f32057b.jpg'); INSERT INTO `sys_engine` VALUES ('14', '搜狗搜索', '1545543632', '', '1545543632', '1', '/Uploads/20181223\\8dd4dd03edb8452a09fa6f20543b57ca.jpg'); -- ---------------------------- -- Table structure for sys_hospital -- ---------------------------- DROP TABLE IF EXISTS `sys_hospital`; CREATE TABLE `sys_hospital` ( `id` int(10) NOT NULL AUTO_INCREMENT, `name` varchar(200) NOT NULL, `intro` mediumtext NOT NULL, `add_time` int(10) NOT NULL, `author` varchar(32) NOT NULL, `sort` int(10) NOT NULL DEFAULT '0', `config` text NOT NULL COMMENT '医院个性化配置', `update_time` int(10) NOT NULL, `status` int(10) NOT NULL COMMENT '默认为1,;1为真,0为假', PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_hospital -- ---------------------------- INSERT INTO `sys_hospital` VALUES ('1', '天康医院', '天康医院', '1545272743', '', '0', '测试', '1545284652', '1'); INSERT INTO `sys_hospital` VALUES ('3', '彭州建国医院', '彭州建国医院', '1545272911', '', '0', '彭州建国医院彭州建国医院彭州建国医院', '1545272911', '1'); INSERT INTO `sys_hospital` VALUES ('4', '六盘水博爱医院', '六盘水博爱医院', '1545272941', '', '0', '六盘水博爱医院六盘水博爱医院六盘水博爱医院', '1545272941', '1'); -- ---------------------------- -- Table structure for sys_log -- ---------------------------- DROP TABLE IF EXISTS `sys_log`; CREATE TABLE `sys_log` ( `id` int(10) NOT NULL AUTO_INCREMENT, `hid` int(6) NOT NULL, `type` varchar(20) DEFAULT NULL, `title` varchar(254) NOT NULL DEFAULT '', `pagename` varchar(200) DEFAULT NULL, `view_url` varchar(200) NOT NULL, `data` mediumtext, `table_name` varchar(50) NOT NULL, `username` varchar(20) DEFAULT NULL, `uid` int(10) NOT NULL DEFAULT '0', `ip` varchar(15) DEFAULT NULL, `addtime` int(10) DEFAULT NULL, PRIMARY KEY (`id`), KEY `uid` (`uid`) ) ENGINE=MyISAM AUTO_INCREMENT=151398 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_log -- ---------------------------- -- ---------------------------- -- Table structure for sys_login_error -- ---------------------------- DROP TABLE IF EXISTS `sys_login_error`; CREATE TABLE `sys_login_error` ( `id` int(10) NOT NULL AUTO_INCREMENT, `tryname` varchar(32) DEFAULT NULL, `trypass` varchar(32) DEFAULT NULL, `userip` varchar(15) DEFAULT NULL, `addtime` int(10) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_login_error -- ---------------------------- -- ---------------------------- -- Table structure for sys_media -- ---------------------------- DROP TABLE IF EXISTS `sys_media`; CREATE TABLE `sys_media` ( `id` int(10) NOT NULL AUTO_INCREMENT, `hospital_id` int(10) NOT NULL, `name` varchar(20) NOT NULL, `addtime` int(10) NOT NULL, `author` varchar(32) NOT NULL, `type_id` int(10) NOT NULL DEFAULT '1' COMMENT '1代表网络2代表落地', `status` int(10) NOT NULL DEFAULT '1', `update_time` int(10) NOT NULL, PRIMARY KEY (`id`), KEY `addtime` (`addtime`) ) ENGINE=MyISAM AUTO_INCREMENT=593 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_media -- ---------------------------- INSERT INTO `sys_media` VALUES ('584', '4', '网络预约-电话', '1545464962', '', '1', '1', '1545464962'); INSERT INTO `sys_media` VALUES ('585', '4', '网络预约-商务通', '1545464978', '', '1', '1', '1545464978'); INSERT INTO `sys_media` VALUES ('586', '4', '网络预约-QQ', '1545464989', '', '1', '1', '1545464989'); INSERT INTO `sys_media` VALUES ('587', '4', '网络预约-APP-120', '1545464999', '', '1', '1', '1545464999'); INSERT INTO `sys_media` VALUES ('588', '4', '网络预约-商务通转QQ', '1545465009', '', '1', '1', '1545465009'); INSERT INTO `sys_media` VALUES ('589', '4', '微信小号', '1545465021', '', '4', '1', '1545465021'); INSERT INTO `sys_media` VALUES ('590', '4', '杂志', '1545465032', '', '5', '1', '1545465032'); INSERT INTO `sys_media` VALUES ('591', '4', '落地', '1545465043', '', '2', '1', '1545465043'); INSERT INTO `sys_media` VALUES ('592', '4', '微信公众平台02', '1545465065', '', '4', '1', '1545468302'); -- ---------------------------- -- Table structure for sys_menu -- ---------------------------- DROP TABLE IF EXISTS `sys_menu`; CREATE TABLE `sys_menu` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `mid` int(10) NOT NULL DEFAULT '0', `type` tinyint(1) DEFAULT '0', `title` varchar(40) DEFAULT NULL, `link` varchar(100) DEFAULT NULL, `modules` varchar(255) NOT NULL, `tips` varchar(100) DEFAULT NULL, `pagesize` int(4) DEFAULT NULL, `shortcut` tinyint(1) DEFAULT '0', `powercheck` int(1) DEFAULT '1', `sort` int(10) NOT NULL DEFAULT '0', `isshow` tinyint(1) NOT NULL DEFAULT '1', `addtime` int(10) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `addtime` (`addtime`) ) ENGINE=MyISAM AUTO_INCREMENT=215 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_menu -- ---------------------------- -- ---------------------------- -- Table structure for sys_message -- ---------------------------- DROP TABLE IF EXISTS `sys_message`; CREATE TABLE `sys_message` ( `id` int(10) NOT NULL AUTO_INCREMENT, `to_uid` varchar(20) DEFAULT NULL COMMENT '接收人uid', `to_realname` varchar(32) NOT NULL, `from_uid` varchar(20) DEFAULT NULL COMMENT '发送人uid', `from_realname` varchar(32) NOT NULL, `from_id` int(8) DEFAULT '0' COMMENT '回复的消息id', `content` mediumtext, `addtime` int(10) DEFAULT '0', `readtime` int(10) DEFAULT '0' COMMENT '阅读时间,0表示未读', PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=232 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_message -- ---------------------------- -- ---------------------------- -- Table structure for sys_notice -- ---------------------------- DROP TABLE IF EXISTS `sys_notice`; CREATE TABLE `sys_notice` ( `id` int(10) NOT NULL AUTO_INCREMENT, `reader_type` varchar(10) NOT NULL COMMENT 'all, part, user, manager', `part_ids` varchar(250) NOT NULL, `uids` varchar(250) NOT NULL, `title` varchar(250) NOT NULL, `content` text NOT NULL, `begintime` int(10) NOT NULL DEFAULT '0', `endtime` int(10) NOT NULL DEFAULT '0', `addtime` int(10) NOT NULL DEFAULT '0', `isshow` tinyint(1) NOT NULL, `read_uids` text NOT NULL, `read_info` text NOT NULL, `uid` int(10) NOT NULL COMMENT '发起人', `u_realname` varchar(32) NOT NULL COMMENT '发起人真实姓名', PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_notice -- ---------------------------- -- ---------------------------- -- Table structure for sys_part -- ---------------------------- DROP TABLE IF EXISTS `sys_part`; CREATE TABLE `sys_part` ( `id` int(10) NOT NULL AUTO_INCREMENT, `pid` int(10) NOT NULL DEFAULT '0', `title` varchar(20) NOT NULL, `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `status` int(10) DEFAULT NULL, `update_time` int(10) DEFAULT NULL, `rules` char(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=1013 DEFAULT CHARSET=utf8 COMMENT='部门表'; -- ---------------------------- -- Records of sys_part -- ---------------------------- INSERT INTO `sys_part` VALUES ('1001', '0', '系统管理员', '1545572044', 'admin', '1', '1545572044', '1,2,3,4,5,6,7,8,9'); INSERT INTO `sys_part` VALUES ('1002', '1001', '医院管理员', '1545572111', 'admin', '1', '1545572111', '1,2,3,4,5,6,7,8,9'); INSERT INTO `sys_part` VALUES ('1003', '1002', '咨询组', '1545572125', 'admin', '1', '1545572125', '1,2,3,4,5,6,7,8,9'); INSERT INTO `sys_part` VALUES ('1004', '1002', '经营部', '1545572133', 'admin', '1', '1545572133', '1,2,3,4,5,6,7,8,9'); INSERT INTO `sys_part` VALUES ('1005', '1002', '导医组', '1545572140', 'admin', '1', '1545572140', '1,2,3,4,5,6,7,8,9'); INSERT INTO `sys_part` VALUES ('1006', '1002', '微信组', '1545572146', 'admin', '1', '1545572146', '1,2,3,4,5,6,7,8,9'); INSERT INTO `sys_part` VALUES ('1007', '1002', '落地组', '1545572154', 'admin', '1', '1545617280', '1,2,3,4,5,6,7,8,9'); INSERT INTO `sys_part` VALUES ('1010', '1002', '天康医院院长', '1545963701', 'admin', '1', '1545963701', '1,2,3,4,5,6,7,8,9'); INSERT INTO `sys_part` VALUES ('1011', '1010', '天康医院男科主任', '1545963843', 'admin', '1', '1545963843', '2,3,4,5'); INSERT INTO `sys_part` VALUES ('1012', '1010', '天康医院妇科主任', '1545963924', 'admin', '1', '1545963924', '2,3,4,5'); -- ---------------------------- -- Table structure for sys_session -- ---------------------------- DROP TABLE IF EXISTS `sys_session`; CREATE TABLE `sys_session` ( `sid` varchar(40) NOT NULL, `uid` int(10) NOT NULL DEFAULT '0', `u_realname` varchar(32) NOT NULL, `data` mediumtext NOT NULL, `addtime` int(10) NOT NULL DEFAULT '0', `updatetime` int(10) NOT NULL DEFAULT '0', KEY `sid` (`sid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of sys_session -- ---------------------------- -- ---------------------------- -- Table structure for yuyue -- ---------------------------- DROP TABLE IF EXISTS `yuyue`; CREATE TABLE `yuyue` ( `id` int(10) NOT NULL AUTO_INCREMENT, `order_num` int(10) NOT NULL DEFAULT '0', `part_id` int(10) NOT NULL DEFAULT '0', `qudao` varchar(10) NOT NULL COMMENT '预约渠道', `name` varchar(20) NOT NULL, `age` int(3) NOT NULL, `sex` varchar(6) NOT NULL COMMENT '性别', `disease_id` varchar(200) NOT NULL DEFAULT '0' COMMENT '病患类型', `depart` int(10) NOT NULL DEFAULT '0' COMMENT '科室', `is_local` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否本地病人', `area` varchar(32) NOT NULL COMMENT '病人来源地区', `tel` varchar(20) NOT NULL, `qq` varchar(20) NOT NULL, `bjhz` varchar(200) DEFAULT NULL, `zhuanjia_num` varchar(10) NOT NULL, `content` mediumtext NOT NULL, `talk_content` mediumtext NOT NULL, `order_date` int(10) NOT NULL DEFAULT '0', `media_from` varchar(20) NOT NULL, `engine` varchar(32) NOT NULL, `engine_key` varchar(32) NOT NULL, `from_site` varchar(40) NOT NULL, `memo` mediumtext NOT NULL, `status` int(2) NOT NULL DEFAULT '0', `doctor` varchar(32) NOT NULL COMMENT '接待医生', `is_zhiliao` int(2) NOT NULL DEFAULT '0' COMMENT '是否治疗', `is_xiaofei` int(2) NOT NULL DEFAULT '0' COMMENT '是否消费', `xiaofei_count` int(10) NOT NULL DEFAULT '0' COMMENT '消费总额', `xiaofei_log` mediumtext NOT NULL COMMENT '消费记录', `xiangmu` varchar(250) NOT NULL COMMENT '治疗项目', `huifang` mediumtext NOT NULL COMMENT '回访记录', `huifang_nexttime` int(10) NOT NULL DEFAULT '0' COMMENT '下次回访时间', `huifang_kf` varchar(20) NOT NULL DEFAULT '' COMMENT '上次回访客服', `addtime` int(10) NOT NULL DEFAULT '0', `author` varchar(32) NOT NULL, `edit_log` mediumtext NOT NULL COMMENT '修改记录', PRIMARY KEY (`id`), KEY `part_id` (`part_id`), KEY `order_date` (`order_date`), KEY `status` (`status`), KEY `addtime` (`addtime`), KEY `author` (`author`) ) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of yuyue -- ----------------------------
create table todos ( id serial4 primary key, task varchar(200), description text );
-- phpMyAdmin SQL Dump -- version 5.0.3 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Generation Time: Apr 14, 2021 at 10:12 AM -- Server version: 10.4.14-MariaDB -- PHP Version: 7.2.34 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `dedy` -- -- -------------------------------------------------------- -- -- Table structure for table `tb_karyawan` -- CREATE TABLE `tb_karyawan` ( `id` bigint(20) NOT NULL, `nama` text NOT NULL, `nik` text NOT NULL, `jenis_kelamin` text NOT NULL, `agama` text NOT NULL, `alamat` text NOT NULL, `no_telp` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `tb_karyawan` -- INSERT INTO `tb_karyawan` (`id`, `nama`, `nik`, `jenis_kelamin`, `agama`, `alamat`, `no_telp`) VALUES (6, 'Dedy', '00000', 'Laki-Laki', 'Kristen', 'xxxxxx', '00000000000'); -- -- Indexes for dumped tables -- -- -- Indexes for table `tb_karyawan` -- ALTER TABLE `tb_karyawan` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `tb_karyawan` -- ALTER TABLE `tb_karyawan` MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; 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 public.users ( user_id int8 PRIMARY KEY, email varchar NOT NULL, password_hashed varchar, created_by varchar NOT NULL, created_date timestamp NOT NULL, modified_by varchar NOT NULL, modified_date timestamp NOT NULL, provider varchar NOT NULL, provider_id varchar ); CREATE table public.profile ( profile_id int8 PRIMARY KEY, user_id int8 NOT NULL REFERENCES users(user_id), full_name varchar NOT NULL, dob date NOT NULL, gender varchar(1) NOT NULL, photo_profile oid NULL, city varchar NULL, about_me varchar(200) NULL, interest varchar(200) NULL, created_by varchar NOT NULL, created_date timestamp NOT NULL, modified_by varchar NOT NULL, modified_date timestamp NOT NULL ); CREATE TABLE public.event ( event_id int8 PRIMARY KEY, user_id int8 NOT NULL REFERENCES users(user_id), additional_info varchar(300) NOT NULL, companion_gender varchar(1) NOT NULL, date_and_time timestamp without time zone NOT NULL, maximum_age integer NOT NULL, minimum_age integer NOT NULL, title varchar(50), created_by varchar NOT NULL, created_date timestamp NOT NULL, last_modified_by varchar NOT NULL, last_modified_date timestamp NOT NULL ); CREATE TABLE public.verification_code ( id int8 NOT NULL GENERATED BY DEFAULT AS IDENTITY, created_at timestamp NULL, email varchar(255) NULL, code varchar(255) NULL, CONSTRAINT temp_password_pkey PRIMARY KEY (id) ); CREATE TABLE public.applicants ( id int8 NOT NULL, data_state varchar(255) NOT NULL, status varchar(255) NOT NULL, user_id int8 NULL, event_id int8 NULL, CONSTRAINT applicants_pkey PRIMARY KEY (id), CONSTRAINT fkagqbys02vwt92fq9e00u10ou1 FOREIGN KEY (event_id) REFERENCES event(event_id), CONSTRAINT fks48x9ywgx7l6mg1egokmys0gp FOREIGN KEY (user_id) REFERENCES users(user_id) ); CREATE TABLE public.ratings ( id int8 NOT NULL GENERATED BY DEFAULT AS IDENTITY, created_by varchar(255) NULL, created_date timestamp NULL, last_modified_by varchar(255) NULL, last_modified_date timestamp NULL, event_id int8 NULL, score int4 NULL, user_id int8 NULL, CONSTRAINT ratings_pkey PRIMARY KEY (id) ); CREATE TABLE public.notifications ( id int8 NOT NULL GENERATED BY DEFAULT AS IDENTITY, created_by varchar(255) NULL, created_date timestamp NULL, last_modified_by varchar(255) NULL, last_modified_date timestamp NULL, title varchar(50) NULL, body varchar(255) NULL, user_id int8 NULL, is_read BOOLEAN NULL, CONSTRAINT notifications_pkey PRIMARY KEY (id), CONSTRAINT notifications_users_fkey FOREIGN KEY (user_id) REFERENCES users(user_id) ); CREATE TABLE public.revinfo ( rev int4 NOT NULL, revtstmp int8 NULL, CONSTRAINT revinfo_pkey PRIMARY KEY (rev) ); CREATE TABLE public.event_aud ( event_id int8 NOT NULL, rev int4 NOT NULL, revtype int2 NULL, additional_info varchar(300) NULL, additional_info_mod bool NULL, cancelled bool NULL, cancelled_mod bool NULL, city varchar(255) NULL, city_mod bool NULL, companion_gender varchar(1) NULL, companion_gender_mod bool NULL, data_state varchar(255) NULL, data_state_mod bool NULL, finish_date_time timestamp NULL, finish_date_time_mod bool NULL, maximum_age int4 NULL, maximum_age_mod bool NULL, minimum_age int4 NULL, minimum_age_mod bool NULL, start_date_time timestamp NULL, start_date_time_mod bool NULL, title varchar(50) NULL, title_mod bool NULL, user_id int8 NULL, CONSTRAINT event_aud_pkey PRIMARY KEY (event_id, rev), CONSTRAINT fk76r0s14ewob41mu1pe3qdbdke FOREIGN KEY (rev) REFERENCES revinfo(rev) ); CREATE TABLE public.chatroom ( id int8 NOT NULL GENERATED BY DEFAULT AS IDENTITY, created_by varchar(255) NULL, created_date timestamp NULL, last_modified_by varchar(255) NULL, last_modified_date timestamp NULL, event_id int8 NULL, data_state VARCHAR NOT NULL DEFAULT 'ACTIVE', CONSTRAINT chatroom_pkey PRIMARY KEY (id), CONSTRAINT chatroom_event_fkey FOREIGN KEY (event_id) REFERENCES event(event_id) ); CREATE TABLE public.chatroom_user ( id int8 NOT NULL GENERATED BY DEFAULT AS IDENTITY, created_by varchar(255) NULL, created_date timestamp NULL, last_modified_by varchar(255) NULL, last_modified_date timestamp NULL, chatroom_id int8 NULL, user_id int8 NULL, CONSTRAINT chatroomuser_pkey PRIMARY KEY (id), CONSTRAINT chatroomuser_chatroom_fkey FOREIGN KEY (chatroom_id) REFERENCES chatroom(id), CONSTRAINT chatroomuser_user_fkey FOREIGN KEY (user_id) REFERENCES users(user_id) ); CREATE TABLE public.chat ( id int8 NOT NULL GENERATED BY DEFAULT AS IDENTITY, created_by varchar(255) NULL, created_date timestamp NULL, last_modified_by varchar(255) NULL, last_modified_date timestamp NULL, chatroom_id int8 NULL, user_id int8 NULL, body varchar(255) NULL, CONSTRAINT chat_pkey PRIMARY KEY (id), CONSTRAINT chat_chatroom_fkey FOREIGN KEY (chatroom_id) REFERENCES chatroom(id), CONSTRAINT chat_user_fkey FOREIGN KEY (user_id) REFERENCES users(user_id) ); CREATE TABLE public.chat_log ( id int8 NOT NULL GENERATED BY DEFAULT AS IDENTITY, created_by varchar(255) NULL, created_date timestamp NULL, last_modified_by varchar(255) NULL, last_modified_date timestamp NULL, chat_id int8 NULL, user_id int8 NULL, received_date timestamp NULL, read_date timestamp NULL, CONSTRAINT chat_log_pkey PRIMARY KEY (id), CONSTRAINT chat_log_chat_fkey FOREIGN KEY (chat_id) REFERENCES chat(id), CONSTRAINT chat_log_user_fkey FOREIGN KEY (user_id) REFERENCES users(user_id) ); CREATE TABLE public.lookup ( lookup_id BIGSERIAL PRIMARY KEY, lookup_key varchar NOT NULL, lookup_value varchar NOT NULL, lookup_display_name varchar NOT NULL );
# Write your MySQL query statement below select bike_number, max(end_time) as end_time from Bikes group by 1 order by 2
DROP TABLE IF EXISTS sequence_definition; CREATE table sequence_definition( tenant_id varchar(32) NOT NULL , seq_name varchar(32) NOT NULL , min_value decimal(19,0) NOT NULL , max_value decimal(19,0) NOT NULL , partition_min_value decimal(19,0) NOT NULL , partition_max_value decimal(19,0) NOT NULL , increase int NOT NULL , current_value decimal(19,0) NOT NULL , cycle tinyint NOT NULL , char_length int NULL , prefix varchar(8) NULL , append_date_format varchar(17) NULL , PRIMARY KEY (tenant_id, seq_name) );
INSERT INTO MONTH_REQUST_SCHEDULE_WORKTABLE ( FILE_TYPE, CONTRACT_NO, WITHDRAW_TYPE, COUPON, COUPON_SEQ, CUSTOMER_NO, COMPANY_ACCOUNT_NO, COMPANY_NAME, TRANSFER_ACCOUNT_NO, TRANSFER_ACCOUNT_USER_NAME, TRANSFER_AMOUNT, WITHDRAW_NEGATION_KEY, WITHDRAW_SCHEDULE_DATE, WITHDRAW_RESULT_DATE, FILE_KEY, MODIFY_USER, MODIFY_DATE ) SELECT FILE_TYPE, CONTRACT_NO, WITHDRAW_TYPE, COUPON, COUPON_SEQ, CUSTOMER_NO, COMPANY_ACCOUNT_NO, COMPANY_NAME, TRANSFER_ACCOUNT_NO, TRANSFER_ACCOUNT_USER_NAME, TRANSFER_AMOUNT, WITHDRAW_NEGATION_KEY, WITHDRAW_SCHEDULE_DATE, WITHDRAW_RESULT_DATE, FILE_KEY, MODIFY_USER, MODIFY_DATE FROM MONTH_REQUST_SCHEDULE_WORKTABLE_PFUP
update Concept set RES_DELETED = '2017-11-14' WHERE CONCEPT_ID = 16703 ; update Concept set RES_DELETED = '2017-11-14' WHERE CONCEPT_ID = 16702 ; update Concept set RES_UPDATED = '2017-11-14',CODE='encounter-diagnosis', DISPLAY='Encounter Diagnosis' WHERE CONCEPT_ID = 16701 ; update Concept set RES_UPDATED = '2017-11-14',CODE='problem-list-item', DISPLAY='Problem List Item' WHERE CONCEPT_ID = 16700 ; INSERT INTO Condition_ (CONDITION_ID,ENCOUNTER_ID,EPISODE_ID,PATIENT_ID,onsetDateTime,clinicalStatus,CODE_CONCEPT_ID,assertedDateTime,ASSERTER_PRACTITIONER_ID,verificationStatus) SELECT 1,null,null,4,'2010-10-09 09:00:00',0,CONCEPT_ID,'2010-10-09 09:00:00',200001,2 FROM Concept where CODE = '44054006'; INSERT INTO Condition_ (CONDITION_ID,ENCOUNTER_ID,EPISODE_ID,PATIENT_ID,onsetDateTime,clinicalStatus,CODE_CONCEPT_ID,assertedDateTime,ASSERTER_PRACTITIONER_ID,verificationStatus) SELECT 2,null,null,1,'2010-10-09 09:00:00',0,CONCEPT_ID,'2010-10-09 09:00:00',1,2 FROM Concept where CODE = '22220005'; INSERT INTO ConditionCategory (CONDITION_CATEGORY_ID,CONDITION_ID,CATEGORY_CONCEPT_ID) VALUES(1,1,709); INSERT INTO ConditionCategory (CONDITION_CATEGORY_ID,CONDITION_ID,CATEGORY_CONCEPT_ID) VALUES(2,2,709); INSERT INTO Procedure_ (PROCEDURE_ID,CODE_ID,ENCOUNTER_ID,PATIENT_ID,performedDate,notDone,status,BASED_ON_REFERRAL_REQUEST_ID,BODY_SITE_CONCEPT_ID,CATEGORY_CONCEPT_ID,EPISODE_OF_CARE_ID,PROCEDURE_LOCATION_ID,NOT_DONE_REASON_CONCEPT_ID,OUTCOME_CONCEPT_ID,PART_OF_PROCEDURE_ID,REASON_CONCEPT_ID,REASON_CONDITION,REASON_OBSERVATION) SELECT 1, CONCEPT_ID,null,4,'2010-10-20 20:56:00',null,4,null,null,null,1,null,null,null,null,null,1,null FROM Concept where CODE = '174184006'; INSERT INTO Procedure_ (PROCEDURE_ID,CODE_ID,ENCOUNTER_ID,PATIENT_ID,performedDate,notDone,status,BASED_ON_REFERRAL_REQUEST_ID,BODY_SITE_CONCEPT_ID,CATEGORY_CONCEPT_ID,EPISODE_OF_CARE_ID,PROCEDURE_LOCATION_ID,NOT_DONE_REASON_CONCEPT_ID,OUTCOME_CONCEPT_ID,PART_OF_PROCEDURE_ID,REASON_CONCEPT_ID,REASON_CONDITION,REASON_OBSERVATION) SELECT 2, CONCEPT_ID,null,1,'2017-03-22T09:30:10', null,4,null,null,null,null,null,null,null,null,null,2,null FROM Concept where CODE = '923461000000103'; INSERT INTO ProcedurePerformer (PROCEDURE_PERFORMER_ID,ACTOR_ORGNANISATION,ACTOR_PRACTITIONER,ON_BEHALF_OF_ORGANISATION,PROCEDURE_ID,ROLE_CONCEPT_ID) VALUES (1,null,200001,null,1,null); INSERT INTO ProcedurePerformer (PROCEDURE_PERFORMER_ID,ACTOR_ORGNANISATION,ACTOR_PRACTITIONER,ON_BEHALF_OF_ORGANISATION,PROCEDURE_ID,ROLE_CONCEPT_ID) VALUES (2,200001,null,null,2,null); INSERT INTO AllergyIntolerance (ALLERGY_ID,PATIENT_ID,assertedDateTime,clinicalStatus,criticality,lastOccurenceDateTime,note,onsetDateTime,TYPE_ID,verificationStatus,ASSERTER_PATIENT_ID,ASSERTER_PRACTITIONER_ID,CODE_CONCEPT_ID,RECORDER_PATIENT_ID,RECORDER_PRACTITIONER_ID) select 1,1,'2014-10-09T14:58:00',0,1,'2012-06-01',null,'2012-06-12',0,1,null,1,CONCEPT_ID,null,1 FROM Concept where CODE = '1660001' ; INSERT INTO AllergyIntolerance (ALLERGY_ID,PATIENT_ID,assertedDateTime,clinicalStatus,criticality,lastOccurenceDateTime,note,onsetDateTime,TYPE_ID,verificationStatus,ASSERTER_PATIENT_ID,ASSERTER_PRACTITIONER_ID,CODE_CONCEPT_ID,RECORDER_PATIENT_ID,RECORDER_PRACTITIONER_ID) select 2,4,'1998-07-01 17:55:00',0,1,'1998-07-01 17:55:00',null,'1998-07-01 17:55:00',0,1,4,null,CONCEPT_ID,null,200000 FROM Concept where CODE = '441321000000103' ; INSERT INTO AllergyIntoleranceCategory(ALLERGY_CATEGORY_ID,CATEGORY_CONCEPT_ID,ALLERGY_ID) VALUES(1,0,1); INSERT INTO AllergyIntoleranceCategory(ALLERGY_CATEGORY_ID,CATEGORY_CONCEPT_ID,ALLERGY_ID) VALUES(2,1,2); INSERT INTO AllergyIntoleranceReaction(ALLERGY_REACTION_ID,description,note,onset,severity,ALLERGY_ID,EXPOSURE_ROUTE_CONCEPT_ID,SUBSTANCE_CONCEPT_ID) select 1,NULL,null,'2012-06-01',2,1,null,CONCEPT_ID FROM Concept where CODE = '226017009' ; INSERT INTO AllergyIntoleranceReaction(ALLERGY_REACTION_ID,description,note,onset,severity,ALLERGY_ID,EXPOSURE_ROUTE_CONCEPT_ID,SUBSTANCE_CONCEPT_ID) select 2,NULL,null,'1998-07-01',2,2,null,CONCEPT_ID FROM Concept where CODE = '414058001' ; INSERT INTO AllergyIntoleranceManifestation(ALLERGY_MANIFESTATION_ID,ALLERGY_REACTION_ID,MANIFESTATION_CONCEPT_ID) select 1,1, CONCEPT_ID FROM Concept where CODE = '39579001'; INSERT INTO AllergyIntoleranceManifestation(ALLERGY_MANIFESTATION_ID,ALLERGY_REACTION_ID,MANIFESTATION_CONCEPT_ID) select 2,2, CONCEPT_ID FROM Concept where CODE = '91175000';
# Host: localhost # Database: ALTASP # Table: 'user' # USE ALTASP; DROP TABLE IF EXISTS user; CREATE TABLE `user` ( `user_Id` varchar(20) NOT NULL default '', `first_Name` varchar(20) NOT NULL default '', `last_Name` varchar(20) NOT NULL default '', `password` varchar(40) NOT NULL default '', `description` varchar(100) NOT NULL default '', `timeZone_Name` varchar(100) NOT NULL default '', `reference_Type` varchar(30) NOT NULL default '', `reference_Id` varchar(30) NOT NULL default '', PRIMARY KEY (`user_Id`) ) TYPE=InnoDB;
SELECT --金額 WITHDRAW_RESULT_AMOUNT,--回収実績額 --回収実績日 WITHDRAW_RESULT_DATE, --MRRレート MRR_RATE FROM ( SELECT --金額 TRANSFER_AMOUNT AS WITHDRAW_RESULT_AMOUNT,--回収実績額 --回収実績日 WITHDRAW_RESULT_DATE, --MRRレート 0 AS MRR_RATE FROM --消込履歴詳細 NEGATION_HISTORY_DETAIL_INFO WHERE --消込履歴詳細.回収種別 = リース料 WITHDRAW_CASUS = CAST(/*dto.withdrawCasusLease*/ AS CHAR(2)) --消込履歴詳細.契約番号 = パラメータ.契約番号 AND CONTRACT_NO = /*dto.contractNo*/'' --消込履歴詳細.回数 = パラメータ.回数 AND COUPON = /*dto.coupon*/ --消込履歴詳細.入金結果フラグ = 成功 AND TRANSFER_RESULT_FLG = CAST(/*dto.receiptResultFlgSucc*/ AS CHAR(1)) --消込履歴詳細.消込失敗フラグ = OFF AND NEGATION_FAIL_FLG = CAST(/*dto.negationFailFlgOff*/ AS CHAR(1)) --消込履歴詳細.入金取消フラグ =  OFF AND RESULT_FLG_CANCLE_FLG = '0' UNION ALL SELECT WITHDRAW_RESULT_AMOUNT, --回収実績額 WITHDRAW_RESULT_DATE, --回収実績日 --MRRレート 0 AS MRR_RATE FROM --ファイル一括消込ワーク FILE_DEPOSIT_WORKTABLE WHERE SESSION_ID = /*dto.sessionId'*/'' --消ファイル一括消込ワーク.契約番号 = パラメータ.契約番号 AND CONTRACT_NO = /*dto.contractNo*/'' --消込履歴詳細.回数 = パラメータ.回数 AND COUPON = /*dto.coupon*/ UNION ALL SELECT 0 AS TRANSFER_AMOUNT, START_DATE AS WITHDRAW_RESULT_DATE MRR_RATE FROM MRR_RATE_MST ) AS T ORDER BY WITHDRAW_RESULT_DATE
create table usuario ( cedula varchar(100) PRIMARY KEY, nombres varchar(100) not null, edad integer not null, direccion varchar(200) not null, sexo varchar(10) not null, contrasena varchar(100) not null, tipo_de_usuario varchar(30) not null ); create table articulos( codigo_de_articulo varchar(100) not null PRIMARY KEY , precio_unitario decimal(10, 2) not null, nombre varchar(100) not null, descripcion text not null, cantidad Integer not null, url_de_imagen text not null ); create table orden_de_compra ( codigo serial primary key, estado boolean not null default false, metodo_de_pago varchar(200), descuento decimal(10, 2), precio_total decimal(10, 2), numero_de_articulos integer, direccion_a_facturar varchar(200), tarjeta varchar(20), realizo_encuesta boolean not null default false, usuario_que_pertenece varchar(100), constraint fk_orden_compra_usuario foreign key(usuario_que_pertenece) references usuario(cedula) ); create table articulo_elegido ( codigo serial primary key, numero_de_orden integer not null, usuario_que_elije varchar(100) not null, articulo_que_pertenece varchar(100) not null, numero_de_articulos integer not null, valor_total decimal(10, 2) not null, constraint fk_articulo_elegido_orden_de_compra foreign key(numero_de_orden) references orden_de_compra(codigo), constraint fk_articulo_elegido_usuario foreign key(usuario_que_elije) references usuario(cedula), constraint fk_articulo_elegido_articulos foreign key(articulo_que_pertenece) references articulos(codigo_de_articulo) ); create table encuesta ( id_respuesta serial primary key, id_orden Integer, pregunta varchar(10) not null, respuesta_dada text, constraint fk_enc_orden foreign key(id_orden) references orden_de_compra(codigo) ); insert into usuario values ('0000000000', 'Administrador 1', 21, 'Direccion ficticia 1', 'M', 'contra', 'ADMIN'); insert into articulos values('26020',64.6,'Licuadora Haceb','600 Watts 3 Velocidades Negro 4655B',420,'https://crecos.vteximg.com.br/arquivos/ids/180474-398-398/Licuadora-Oster-600-Watts-3-Velocidades-Negro-4655B.jpg?v=637225890489500000'); insert into articulos values('72782',328.91,'Cocina a Gas Haceb','Cocina a Gas Haceb EM6060FX0 | 4 Quemadores 60 cm Acero Inoxidable',95,'https://crecos.vteximg.com.br/arquivos/ids/180529-1000-1000/Cocina-a-Gas-Mabe-EM6060FX0-4-Quemadores-60-cm-Acero-Inoxidable.jpg?v=637227507632730000'); insert into articulos values('66664',361.54,'TV LED Smart Haceb 32 Pulgadas','Televisor HD con Netflix y Youtube',200,'https://www.ecuabuy.com.ec/190-home_default/televisor-led-32-innova-smart-tv-android-60-in32d6s.jpg'); insert into articulos values('42796',824.62,'Refrigeradora Haceb 20 pulgadas 568 Litros','Refrigeradora inteligente y compacta, indeal para tu hogar',33,'https://crecos.vteximg.com.br/arquivos/ids/175902-1000-1000/Refrigeradora-SMC-SMCRF20SSP-20-489-Litros.jpg?v=637105771552670000'); insert into articulos values('55244',129.27,'Silla de Comedor Marriott P90','Silla elegante, para cualquier tipo de evento',1240,'https://crecos.vteximg.com.br/arquivos/ids/178255-1000-1000/Silla-de-Comedor-Marriot-J10575-W.jpg?v=637161029152270000'); insert into articulos values('13497',891.43,'Split Inverter Haceb 12000 BTU','Sin descripción',243,'https://crecos.vteximg.com.br/arquivos/ids/180791-1000-1000/Split-Inverter-Panasonic-CS-S12TKV-12000-BTU-Croma.jpg?v=637232580404400000'); insert into articulos values('11984',114.07,'Microonda Haceb Negro 1.1 32 Lt','Microonda elegante, para mantener todas tus comidas calientes',890,'https://crecos.vteximg.com.br/arquivos/ids/159058-1000-1000/FRep3jsARWy0SzU4nqvT_1483473695.jpg?v=636441048381100000'); insert into articulos values('34077',624.44,'Lavadora Automática Haceb 17KG','Sin descripción',56,'https://crecos.vteximg.com.br/arquivos/ids/182770-1000-1000/lavadora-whirlpool-7MWTW1700EM.jpg?v=637293239987170000');
INSERT INTO cust (email, password) VALUES ($1, $2) returning id, email;
delete from cuenta_bancaria where id_cuenta_bancaria > 0; ALTER TABLE cuenta_bancaria DROP COLUMN saldo_final; alter table factura_pago add COLUMN descripcion varchar(200) null; alter table factura_pago add COLUMN fecha_pago timestamp null;
CREATE TABLE `archives` ( `id` int(11) NOT NULL, `repo` varchar(250) COLLATE utf8_unicode_ci DEFAULT NULL, `nom` varchar(250) COLLATE utf8_unicode_ci DEFAULT NULL, `archive_id` varchar(250) COLLATE utf8_unicode_ci DEFAULT NULL, `dur` float DEFAULT NULL, `start` datetime DEFAULT NULL, `end` datetime DEFAULT NULL, `csize` bigint(10) DEFAULT NULL, `dsize` bigint(10) DEFAULT NULL, `osize` bigint(10) DEFAULT NULL, `nfiles` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; CREATE TABLE `report` ( `id` int(11) NOT NULL, `start` datetime DEFAULT NULL, `end` datetime DEFAULT NULL, `dur` int(11) DEFAULT NULL, `nfiles` bigint(20) DEFAULT NULL, `osize` bigint(20) DEFAULT NULL, `csize` bigint(20) DEFAULT NULL, `dsize` bigint(20) DEFAULT NULL, `nb_archive` int(11) DEFAULT NULL, `curpos` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, `status` int(11) DEFAULT NULL, `error` int(11) DEFAULT NULL, `log` text COLLATE utf8_unicode_ci ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; CREATE TABLE `repository` ( `id` int(11) NOT NULL, `nom` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, `encryption` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, `size` bigint(20) DEFAULT NULL, `dsize` bigint(20) DEFAULT NULL, `csize` bigint(20) DEFAULT NULL, `ttuchunks` bigint(20) DEFAULT NULL, `ttchunks` bigint(20) DEFAULT NULL, `location` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL, `modified` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; ALTER TABLE `archives` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `archive_id` (`archive_id`); ALTER TABLE `report` ADD PRIMARY KEY (`id`); ALTER TABLE `repository` ADD PRIMARY KEY (`id`); ALTER TABLE `archives` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; ALTER TABLE `report` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; ALTER TABLE `repository` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; /*!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 */;