sql stringlengths 6 1.05M |
|---|
/**
* Created by cer on 6/21/17.
*/
drop database if exists `eventuate-database-with-dash`;
create database `eventuate-database-with-dash`;
drop table if exists `eventuate-database-with-dash`.`foobar`;
create table `eventuate-database-with-dash`.`foobar` (bar tinyint primary key);
drop table if exists `eventuate`.`eventuate-test-table-with-dash`;
create table `eventuate`.`eventuate-test-table-with-dash` (bar tinyint primary key);
|
DROP TABLE IF EXISTS records;
CREATE TABLE records (
id int(11) NOT NULL AUTO_INCREMENT,
domain_id int(11) DEFAULT NULL,
name varchar(255) DEFAULT NULL,
type varchar(6) DEFAULT NULL,
content varchar(512) DEFAULT NULL,
ttl int(11) DEFAULT NULL,
prio int(11) DEFAULT NULL,
change_date int(11) DEFAULT NULL,
active varchar(1) NOT NULL DEFAULT '1' check (active in ('1', '0')),
PRIMARY KEY (id)
);
DROP TABLE IF EXISTS domains;
CREATE TABLE domains (
id int(11) NOT NULL AUTO_INCREMENT,
name varchar(255) NOT NULL DEFAULT '',
master varchar(20) DEFAULT NULL,
last_check int(11) DEFAULT NULL,
type varchar(6) NOT NULL DEFAULT '',
notified_serial int(11) DEFAULT NULL,
account varchar(40) DEFAULT NULL,
active varchar(1) NOT NULL DEFAULT '1' check (active in ('1', '0')),
uid int(10) NOT NULL DEFAULT '0',
PRIMARY KEY (id)
);
INSERT INTO domains VALUES('1', 'majordomo.ru', null, null, '', null, null, '1', 2000);
INSERT INTO records VALUES('1', '1', 'majordomo.ru', 'SOA', 'ns.majordomo.ru. support.majordomo.ru. 2004032900 3600 900 3600000 3600', '3600', '10', null, '1');
INSERT INTO records VALUES('2', '1', 'majordomo.ru', 'A', '8.8.8.8', '3600', null, null, '1');
INSERT INTO records VALUES('3', '1', 'majordomo.ru', 'MX', 'mail.majordomo.ru', '3600', '10', null, '1');
INSERT INTO records VALUES('4', '1', 'majordomo.ru', 'NS', 'ns.majordomo.ru', '3600', '10', null, '1');
INSERT INTO records VALUES('5', '1', 'majordomo.ru', 'NS', 'ns2.majordomo.ru', '3600', '10', null, '1');
INSERT INTO records VALUES('6', '1', 'majordomo.ru', 'NS', 'ns3.majordomo.ru', '3600', '10', null, '1');
INSERT INTO records VALUES('7', '1', 'sub.majordomo.ru', 'A', '8.8.8.8', '3600', null, null, '1'); |
INSERT INTO trendgit.user (username, password, email) VALUES ("MTA Bot", "MTA Bot", "MTA Bot");
|
-- 秒杀执行存储过程
DELIMITER $$ -- console ;转换为 $$
-- 定义存储过程
-- 参数: in 输入参数; out 输出参数
-- row_count():返回上一条修改类型sql(delete,insert,update)影响的行数
-- row_count: 0:未修改数据 >0:修改的行数 <0:sql错误/为执行修改sql
CREATE PROCEDURE `seckill`.`execute_seckill`
(in v_seckill_id bigint, in v_phone bigint,
in v_kill_time TIMESTAMP, out r_result INT)
BEGIN
DECLARE insert_count int DEFAULT 0;
START TRANSACTION;
INSERT IGNORE INTO success_killed
(seckill_id, user_phone, create_time)
VALUES (v_seckill_id, v_phone, v_kill_time);
SELECT row_count() INTO insert_count;
IF (insert_count < 0) THEN
ROLLBACK;
SET r_result = -1;
ELSEIF (insert_count < 0) THEN
ROLLBACK ;
SET r_result = -2;
ELSE
UPDATE seckill
SET number = number - 1
WHERE seckill_id = v_seckill_id
AND end_time > v_kill_time
AND start_time < v_kill_time
AND number > 0;
SELECT row_count() INTO insert_count;
IF (insert_count = 0) THEN
ROLLBACK ;
SET r_result = 0;
ELSEIF (insert_count < 0) THEN
ROLLBACK ;
SET r_result = -1;
ELSE
COMMIT ;
SET r_result = 1;
END IF;
END IF;
END;
$$ -- 存储过程定义结束
DELIMITER ;
SET @r_result=-3;
-- 执行存储过程
call execute_seckill(1003, 13778130159, now(), @r_result);
-- 获取结果
SELECT @r_result;
-- 存储过程
-- 1.存储过程优化:事务行级锁持有的时间
-- 2.不要过度依赖存储过程
-- 3.简单逻辑可以应用存储过程
-- 4.QPS:一个秒杀单6000/qps |
--- Users schema
# --- !Ups
create table images (
name varchar primary key,
content varchar not null,
bytes bytea not null,
changed timestamp default(now()::timestamp)
);
create table categories (
name varchar primary key
);
create table goods (
id serial primary key,
category varchar references categories(name),
title varchar not null,
description varchar not null,
qnt int not null default(0),
price decimal(19, 2) not null default(0),
show int not null default(0),
image varchar array not null default(array[]::varchar[]),
changed timestamp default(now()::timestamp)
);
create table orders (
id serial primary key,
phone varchar not null,
created timestamp,
closed timestamp,
changed timestamp default(now()::timestamp)
);
# --- !Downs
drop table goods CASCADE;
drop table categories CASCADE;
drop table images CASCADE;
|
<gh_stars>1-10
--BEGIN;
create table if not exists recipe_histories (
id uuid not null default(uuid_generate_v4()),
recipeid uuid null,
version int not null,
fulltext text not null,
document tsvector,
createddate timestamptz not null default(now()),
createdby varchar(64) not null,
modifieddate timestamptz default(now()),
modifiedby varchar(64) not null,
constraint pk_histories_id primary key (id),
constraint fk_histories_recipes FOREIGN key (recipeid) references recipes (id)
);
create index if not exists idx_fts_recipe_search on recipe_histories using gin(document);
--COMMIT; |
CREATE INDEX idx_cluster_url ON cluster (url); |
<reponame>ichen20/oreilly_book
SELECT product_id,
product_title,
AVG(star_rating) AS avg_star_rating
FROM amazon_reviews_parquet
WHERE LENGTH(review_body) > 20
AND product_category = 'Digital_Video_Download'
GROUP BY product_id, product_title;
|
with logging_details as (
select
name as key_vault_name
from
azure_key_vault,
jsonb_array_elements(diagnostic_settings) setting,
jsonb_array_elements(setting -> 'properties' -> 'logs') log
where
diagnostic_settings is not null
and setting -> 'properties' ->> 'storageAccountId' <> ''
and (log ->> 'enabled') :: boolean
and log ->> 'category' = 'AuditEvent'
and (log -> 'retentionPolicy') :: JSONB ? 'days'
)
select
-- Required Columns
v.id as resource,
case
when v.diagnostic_settings is null then 'alarm'
when l.key_vault_name not like concat('%', v.name, '%') then 'alarm'
else 'ok'
end as status,
case
when v.diagnostic_settings is null then v.name || ' logging not enabled.'
when l.key_vault_name not like concat('%', v.name, '%')
then v.name || ' logging not enabled.'
else v.name || ' logging enabled.'
end as reason,
-- Additional Dimensions
v.resource_group,
sub.display_name as subscription
from
azure_key_vault v,
logging_details l,
azure_subscription sub
where
sub.subscription_id = v.subscription_id; |
<filename>pgAdmin/pgadmin4/web/pgadmin/browser/server_groups/servers/databases/schemas/synonyms/tests/ppas/9.4_plus/create_synonyms_with_func.sql
-- Private synonym: enterprisedb.syn_$%{}[]()&*^!@"'`\/#;
-- DROP SYNONYM enterprisedb."syn_$%{}[]()&*^!@""'`\/#";
CREATE OR REPLACE SYNONYM enterprisedb."syn_$%{}[]()&*^!@""'`\/#"
FOR enterprisedb.func_for_synonyms;
|
CREATE TABLE fixdec (id INT, d FIXEDDECIMAL(5,2));
INSERT INTO fixdec (id,d) VALUES(1,-123.45);
INSERT INTO fixdec (id,d) VALUES(2,-123);
INSERT INTO fixdec (id,d) VALUES(3,-12.34);
INSERT INTO fixdec (id,d) VALUES(4,-1.34);
INSERT INTO fixdec (id,d) VALUES(5, 0.12);
INSERT INTO fixdec (id,d) VALUES(6, 1.23);
INSERT INTO fixdec (id,d) VALUES(7, 12.34);
INSERT INTO fixdec (id,d) VALUES(8, 123.45);
INSERT INTO fixdec (id,d) VALUES(9, 123.456);
-- Should fail
CREATE UNIQUE INDEX fixdec_d_idx ON fixdec (d);
DELETE FROM fixdec WHERE id = 9;
CREATE UNIQUE INDEX fixdec_d_idx ON fixdec (d);
SET enable_seqscan = off;
EXPLAIN (COSTS OFF) SELECT * FROM fixdec ORDER BY d;
SELECT * FROM fixdec ORDER BY d;
EXPLAIN (COSTS OFF) SELECT * FROM fixdec WHERE d = '12.34'::FIXEDDECIMAL;
SELECT * FROM fixdec WHERE d = '12.34'::FIXEDDECIMAL;
SELECT * FROM fixdec WHERE d = '-12.34'::FIXEDDECIMAL;
SELECT * FROM fixdec WHERE d = '123.45'::FIXEDDECIMAL;
DROP INDEX fixdec_d_idx;
SET client_min_messages = ERROR;
CREATE INDEX fixdec_d_idx ON fixdec USING hash (d);
RESET client_min_messages;
EXPLAIN (COSTS OFF) SELECT * FROM fixdec WHERE d = '12.34'::FIXEDDECIMAL;
SELECT * FROM fixdec WHERE d = '12.34'::FIXEDDECIMAL;
SELECT * FROM fixdec WHERE d = '-12.34'::FIXEDDECIMAL;
SELECT * FROM fixdec WHERE d = '123.45'::FIXEDDECIMAL;
DROP TABLE fixdec;
SET enable_seqscan = on;
|
<reponame>rzadp/lnav<gh_stars>0
CREATE TABLE IF NOT EXISTS http_status_codes (
status integer PRIMARY KEY,
message text,
FOREIGN KEY(status) REFERENCES access_log(sc_status)
);
INSERT INTO http_status_codes VALUES (100, 'Continue');
INSERT INTO http_status_codes VALUES (101, 'Switching Protocols');
INSERT INTO http_status_codes VALUES (102, 'Processing');
INSERT INTO http_status_codes VALUES (200, 'OK');
INSERT INTO http_status_codes VALUES (201, 'Created');
INSERT INTO http_status_codes VALUES (202, 'Accepted');
INSERT INTO http_status_codes VALUES (203, 'Non-Authoritative Information');
INSERT INTO http_status_codes VALUES (204, 'No Content');
INSERT INTO http_status_codes VALUES (205, 'Reset Content');
INSERT INTO http_status_codes VALUES (206, 'Partial Content');
INSERT INTO http_status_codes VALUES (207, 'Multi-Status');
INSERT INTO http_status_codes VALUES (208, 'Already Reported');
INSERT INTO http_status_codes VALUES (226, 'IM Used');
INSERT INTO http_status_codes VALUES (300, 'Multiple Choices');
INSERT INTO http_status_codes VALUES (301, 'Moved Permanently');
INSERT INTO http_status_codes VALUES (302, 'Found');
INSERT INTO http_status_codes VALUES (303, 'See Other');
INSERT INTO http_status_codes VALUES (304, 'Not Modified');
INSERT INTO http_status_codes VALUES (305, 'Use Proxy');
INSERT INTO http_status_codes VALUES (306, '(Unused)');
INSERT INTO http_status_codes VALUES (307, 'Temporary Redirect');
INSERT INTO http_status_codes VALUES (308, 'Permanent Redirect');
INSERT INTO http_status_codes VALUES (400, 'Bad Request');
INSERT INTO http_status_codes VALUES (401, 'Unauthorized');
INSERT INTO http_status_codes VALUES (402, 'Payment Required');
INSERT INTO http_status_codes VALUES (403, 'Forbidden');
INSERT INTO http_status_codes VALUES (404, 'Not Found');
INSERT INTO http_status_codes VALUES (405, 'Method Not Allowed');
INSERT INTO http_status_codes VALUES (406, 'Not Acceptable');
INSERT INTO http_status_codes VALUES (407, 'Proxy Authentication Required');
INSERT INTO http_status_codes VALUES (408, 'Request Timeout');
INSERT INTO http_status_codes VALUES (409, 'Conflict');
INSERT INTO http_status_codes VALUES (410, 'Gone');
INSERT INTO http_status_codes VALUES (411, 'Length Required');
INSERT INTO http_status_codes VALUES (412, 'Precondition Failed');
INSERT INTO http_status_codes VALUES (413, 'Payload Too Large');
INSERT INTO http_status_codes VALUES (414, 'URI Too Long');
INSERT INTO http_status_codes VALUES (415, 'Unsupported Media Type');
INSERT INTO http_status_codes VALUES (416, 'Range Not Satisfiable');
INSERT INTO http_status_codes VALUES (417, 'Expectation Failed');
INSERT INTO http_status_codes VALUES (421, 'Misdirected Request');
INSERT INTO http_status_codes VALUES (422, 'Unprocessable Entity');
INSERT INTO http_status_codes VALUES (423, 'Locked');
INSERT INTO http_status_codes VALUES (424, 'Failed Dependency');
INSERT INTO http_status_codes VALUES (426, 'Upgrade Required');
INSERT INTO http_status_codes VALUES (428, 'Precondition Required');
INSERT INTO http_status_codes VALUES (429, 'Too Many Requests');
INSERT INTO http_status_codes VALUES (431, 'Request Header Fields Too Large');
INSERT INTO http_status_codes VALUES (500, 'Internal Server Error');
INSERT INTO http_status_codes VALUES (501, 'Not Implemented');
INSERT INTO http_status_codes VALUES (502, 'Bad Gateway');
INSERT INTO http_status_codes VALUES (503, 'Service Unavailable');
INSERT INTO http_status_codes VALUES (504, 'Gateway Timeout');
INSERT INTO http_status_codes VALUES (505, 'HTTP Version Not Supported');
INSERT INTO http_status_codes VALUES (506, 'Variant Also Negotiates');
INSERT INTO http_status_codes VALUES (507, 'Insufficient Storage');
INSERT INTO http_status_codes VALUES (508, 'Loop Detected');
INSERT INTO http_status_codes VALUES (510, 'Not Extended');
INSERT INTO http_status_codes VALUES (511, 'Network Authentication Required');
CREATE TABLE lnav_example_log (
log_line integer PRIMARY KEY,
log_part text collate naturalnocase,
log_time datetime,
log_actual_time datetime hidden,
log_idle_msecs int,
log_level text collate loglevel,
log_mark boolean,
log_comment TEXT,
log_tags TEXT,
log_filters TEXT,
ex_procname text collate 'BINARY',
ex_duration integer,
log_path text hidden collate naturalnocase,
log_text text hidden,
log_body text hidden
);
INSERT INTO lnav_example_log VALUES
(0, null, '2017-02-03T04:05:06.100', '2017-02-03T04:05:06.100', 0, 'info', 0, null, null, null, 'hw', 2, '/tmp/log', '2017-02-03T04:05:06.100 hw(2): Hello, World!', 'Hello, World!'),
(1, null, '2017-02-03T04:05:06.200', '2017-02-03T04:05:06.200', 100, 'error', 0, null, null, null, 'gw', 4, '/tmp/log', '2017-02-03T04:05:06.200 gw(4): Goodbye, World!', 'Goodbye, World!'),
(2, 'new', '2017-02-03T04:25:06.200', '2017-02-03T04:25:06.200', 1200000, 'warn', 0, null, null, null, 'gw', 1, '/tmp/log', '2017-02-03T04:25:06.200 gw(1): Goodbye, World!', 'Goodbye, World!'),
(3, 'new', '2017-02-03T04:55:06.200', '2017-02-03T04:55:06.200', 1800000, 'debug', 0, null, null, null, 'gw', 10, '/tmp/log', '2017-02-03T04:55:06.200 gw(10): Goodbye, World!', 'Goodbye, World!');
|
<reponame>opengauss-mirror/Yat<gh_stars>0
-- @testpoint:验证cast函数是否能够将日期类型转为字符型
drop table if exists TEST1;
create table TEST1( riqi date);
insert into TEST1 values(to_date('2018-08-15 17:27:39','yyyy-mm-dd hh24:mi:ss'));
select cast(riqi as signed char) from TEST1;
drop table TEST1; |
<gh_stars>0
CREATE TABLE `modland` (
`ID` varchar(32) NOT NULL,
`FORMAT` varchar(100) NOT NULL,
`ARTIST` varchar(200) NOT NULL,
`SONGNAME` varchar(255) NOT NULL,
`FILESIZE` int(11) NOT NULL,
`URL` varchar(1000) NOT NULL,
`PLAYCOUNT` bigint(20) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`),
KEY `FORMAT` (`FORMAT`),
KEY `ARTIST` (`ARTIST`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 |
<gh_stars>0
INSERT INTO [dbo].[Semesters] ([ID], [Name]) VALUES (201903, N'Summer 2019')
INSERT INTO [dbo].[Semesters] ([ID], [Name]) VALUES (201902, N'Spring 2019')
INSERT INTO [dbo].[Semesters] ([ID], [Name]) VALUES (201901, N'Fall 2018')
|
ALTER TABLE `__prefix__RollGroup`
ADD CONSTRAINT FOREIGN KEY (`academic_year`) REFERENCES `__prefix__AcademicYear` (`id`),
ADD CONSTRAINT FOREIGN KEY (`tutor1`) REFERENCES `__prefix__Person` (`id`),
ADD CONSTRAINT FOREIGN KEY (`tutor2`) REFERENCES `__prefix__Person` (`id`),
ADD CONSTRAINT FOREIGN KEY (`tutor3`) REFERENCES `__prefix__Person` (`id`),
ADD CONSTRAINT FOREIGN KEY (`assistant1`) REFERENCES `__prefix__Person` (id),
ADD CONSTRAINT FOREIGN KEY (`assistant2`) REFERENCES `__prefix__Person` (`id`),
ADD CONSTRAINT FOREIGN KEY (`assistant3`) REFERENCES `__prefix__Person` (id),
ADD CONSTRAINT FOREIGN KEY (`facility`) REFERENCES `__prefix__Facility` (`id`),
ADD CONSTRAINT FOREIGN KEY (`next_roll_group`) REFERENCES `__prefix__RollGroup` (`id`);
|
Insert into EGP_PORTALSERVICE (id,module,code,sla,version,url,isactive,name,userservice,businessuserservice,helpdoclink,
createdby,createddate,lastmodifieddate,lastmodifiedby,moduleorder,serviceorder) values(nextval('seq_egp_portalservice'),(select id from eg_module where name='BPA'),
'INITIATEINSPECTION',15,0,'/bpa/inspection/citizen/create','true','Inspection Request','true','true','/bpa/inspection/citizen/create',
1,now(),now(),1,2,(select max(serviceorder)+1 from EGP_PORTALSERVICE where moduleorder=2));
|
-- MySQL dump 10.13 Distrib 8.0.13, for Linux (x86_64)
--
-- Host: localhost Database: fakenews
-- ------------------------------------------------------
-- Server version 8.0.13
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
SET NAMES utf8mb4 ;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `action`
--
DROP TABLE IF EXISTS `action`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `action` (
`id` int(10) unsigned NOT NULL,
`action` enum('QUESTION','ANSWER') DEFAULT NULL,
`result` enum('CORRECT','INCORRECT') DEFAULT NULL,
KEY `id` (`id`),
CONSTRAINT `action_ibfk_1` FOREIGN KEY (`id`) REFERENCES `model` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `action`
--
LOCK TABLES `action` WRITE;
/*!40000 ALTER TABLE `action` DISABLE KEYS */;
/*!40000 ALTER TABLE `action` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `model`
--
DROP TABLE IF EXISTS `model`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `model` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`type` varchar(64) NOT NULL,
`status` char(1) NOT NULL DEFAULT 'A',
`dateCreated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`dateModified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`createdBy` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `status` (`status`)
) ENGINE=InnoDB AUTO_INCREMENT=1005 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `model`
--
LOCK TABLES `model` WRITE;
/*!40000 ALTER TABLE `model` DISABLE KEYS */;
INSERT INTO `model` VALUES (1,'pool','A','2019-01-06 19:08:52','2019-01-06 19:08:52',0),(2,'pool','A','2019-01-06 19:08:52','2019-01-06 19:08:52',0),(3,'pool','A','2019-01-06 19:08:52','2019-01-06 19:08:52',0),(4,'user','A','2019-01-06 19:09:19','2019-01-06 19:09:19',0),(5,'question','A','2019-01-06 19:09:19','2019-01-06 19:09:19',0),(6,'question','A','2019-01-06 19:09:19','2019-01-06 19:09:19',0),(7,'question','A','2019-01-06 19:09:19','2019-01-06 19:09:19',0),(8,'question','A','2019-01-06 19:09:19','2019-01-06 19:09:19',0),(9,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(10,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(11,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(12,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(13,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(14,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(15,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(16,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(17,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(18,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(19,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(20,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(21,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(22,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(23,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(24,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(25,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(26,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(27,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(28,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(29,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(30,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(31,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(32,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(33,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(34,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(35,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(36,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(37,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(38,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(39,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(40,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(41,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(42,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(43,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(44,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(45,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(46,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(47,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(48,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(49,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(50,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(51,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(52,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(53,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(54,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(55,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(56,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(57,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(58,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(59,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(60,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(61,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(62,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(63,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(64,'question','A','2019-01-06 19:09:20','2019-01-06 19:09:20',0),(65,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(66,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(67,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(68,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(69,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(70,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(71,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(72,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(73,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(74,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(75,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(76,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(77,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(78,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(79,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(80,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(81,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(82,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(83,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(84,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(85,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(86,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(87,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(88,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(89,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(90,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(91,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(92,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(93,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(94,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(95,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(96,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(97,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(98,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(99,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(100,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(101,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(102,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(103,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(104,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(105,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(106,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(107,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(108,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(109,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(110,'question','A','2019-01-06 19:09:21','2019-01-06 19:09:21',0),(111,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(112,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(113,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(114,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(115,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(116,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(117,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(118,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(119,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(120,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(121,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(122,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(123,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(124,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(125,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(126,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(127,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(128,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(129,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(130,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(131,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(132,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(133,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(134,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(135,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(136,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(137,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(138,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(139,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(140,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(141,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(142,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(143,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(144,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(145,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(146,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(147,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(148,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(149,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(150,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(151,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(152,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(153,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(154,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(155,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(156,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(157,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(158,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(159,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(160,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(161,'question','A','2019-01-06 19:09:22','2019-01-06 19:09:22',0),(162,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(163,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(164,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(165,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(166,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(167,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(168,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(169,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(170,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(171,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(172,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(173,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(174,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(175,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(176,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(177,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(178,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(179,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(180,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(181,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(182,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(183,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(184,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(185,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(186,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(187,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(188,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(189,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(190,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(191,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(192,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(193,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(194,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(195,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(196,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(197,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(198,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(199,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(200,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(201,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(202,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(203,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(204,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(205,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(206,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(207,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(208,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(209,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(210,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(211,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(212,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(213,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(214,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(215,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(216,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(217,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(218,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(219,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(220,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(221,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(222,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(223,'question','A','2019-01-06 19:09:23','2019-01-06 19:09:23',0),(224,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(225,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(226,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(227,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(228,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(229,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(230,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(231,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(232,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(233,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(234,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(235,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(236,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(237,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(238,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(239,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(240,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(241,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(242,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(243,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(244,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(245,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(246,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(247,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(248,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(249,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(250,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(251,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(252,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(253,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(254,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(255,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(256,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(257,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(258,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(259,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(260,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(261,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(262,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(263,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(264,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(265,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(266,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(267,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(268,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(269,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(270,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(271,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(272,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(273,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(274,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(275,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(276,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(277,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(278,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(279,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(280,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(281,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(282,'question','A','2019-01-06 19:09:24','2019-01-06 19:09:24',0),(283,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(284,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(285,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(286,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(287,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(288,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(289,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(290,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(291,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(292,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(293,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(294,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(295,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(296,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(297,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(298,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(299,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(300,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(301,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(302,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(303,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(304,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(305,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(306,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(307,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(308,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(309,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(310,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(311,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(312,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(313,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(314,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(315,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(316,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(317,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(318,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(319,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(320,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(321,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(322,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(323,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(324,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(325,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(326,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(327,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(328,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(329,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(330,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(331,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(332,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(333,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(334,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(335,'question','A','2019-01-06 19:09:25','2019-01-06 19:09:25',0),(336,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(337,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(338,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(339,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(340,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(341,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(342,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(343,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(344,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(345,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(346,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(347,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(348,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(349,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(350,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(351,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(352,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(353,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(354,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(355,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(356,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(357,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(358,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(359,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(360,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(361,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(362,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(363,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(364,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(365,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(366,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(367,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(368,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(369,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(370,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(371,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(372,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(373,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(374,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(375,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(376,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(377,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(378,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(379,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(380,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(381,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(382,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(383,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(384,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(385,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(386,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(387,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(388,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(389,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(390,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(391,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(392,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(393,'question','A','2019-01-06 19:09:26','2019-01-06 19:09:26',0),(394,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(395,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(396,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(397,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(398,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(399,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(400,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(401,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(402,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(403,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(404,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(405,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(406,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(407,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(408,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(409,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(410,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(411,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(412,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(413,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(414,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(415,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(416,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(417,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(418,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(419,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(420,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(421,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(422,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(423,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(424,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(425,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(426,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(427,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(428,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(429,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(430,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(431,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(432,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(433,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(434,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(435,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(436,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(437,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(438,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(439,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(440,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(441,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(442,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(443,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(444,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(445,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(446,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(447,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(448,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(449,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(450,'question','A','2019-01-06 19:09:27','2019-01-06 19:09:27',0),(451,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(452,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(453,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(454,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(455,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(456,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(457,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(458,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(459,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(460,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(461,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(462,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(463,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(464,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(465,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(466,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(467,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(468,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(469,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(470,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(471,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(472,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(473,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(474,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(475,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(476,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(477,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(478,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(479,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(480,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(481,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(482,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(483,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(484,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(485,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(486,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(487,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(488,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(489,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(490,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(491,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(492,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(493,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(494,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(495,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(496,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(497,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(498,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(499,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(500,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(501,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(502,'question','A','2019-01-06 19:09:28','2019-01-06 19:09:28',0),(503,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(504,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(505,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(506,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(507,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(508,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(509,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(510,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(511,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(512,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(513,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(514,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(515,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(516,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(517,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(518,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(519,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(520,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(521,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(522,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(523,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(524,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(525,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(526,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(527,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(528,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(529,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(530,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(531,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(532,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(533,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(534,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(535,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(536,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(537,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(538,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(539,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(540,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(541,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(542,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(543,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(544,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(545,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(546,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(547,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(548,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(549,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(550,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(551,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(552,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(553,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(554,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(555,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(556,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(557,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(558,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(559,'question','A','2019-01-06 19:09:29','2019-01-06 19:09:29',0),(560,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(561,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(562,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(563,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(564,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(565,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(566,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(567,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(568,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(569,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(570,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(571,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(572,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(573,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(574,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(575,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(576,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(577,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(578,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(579,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(580,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(581,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(582,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(583,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(584,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(585,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(586,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(587,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(588,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(589,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(590,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(591,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(592,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(593,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(594,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(595,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(596,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(597,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(598,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(599,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(600,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(601,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(602,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(603,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(604,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(605,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(606,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(607,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(608,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(609,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(610,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(611,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(612,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(613,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(614,'question','A','2019-01-06 19:09:30','2019-01-06 19:09:30',0),(615,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(616,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(617,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(618,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(619,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(620,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(621,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(622,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(623,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(624,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(625,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(626,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(627,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(628,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(629,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(630,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(631,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(632,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(633,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(634,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(635,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(636,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(637,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(638,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(639,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(640,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(641,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(642,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(643,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(644,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(645,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(646,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(647,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(648,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(649,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(650,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(651,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(652,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(653,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(654,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(655,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(656,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(657,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(658,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(659,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(660,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(661,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(662,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(663,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(664,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(665,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(666,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(667,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(668,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(669,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(670,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(671,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(672,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(673,'question','A','2019-01-06 19:09:31','2019-01-06 19:09:31',0),(674,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(675,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(676,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(677,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(678,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(679,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(680,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(681,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(682,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(683,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(684,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(685,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(686,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(687,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(688,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(689,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(690,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(691,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(692,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(693,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(694,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(695,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(696,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(697,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(698,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(699,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(700,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(701,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(702,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(703,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(704,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(705,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(706,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(707,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(708,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(709,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(710,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(711,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(712,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(713,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(714,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(715,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(716,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(717,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(718,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(719,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(720,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(721,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(722,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(723,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(724,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(725,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(726,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(727,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(728,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(729,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(730,'question','A','2019-01-06 19:09:32','2019-01-06 19:09:32',0),(731,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(732,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(733,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(734,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(735,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(736,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(737,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(738,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(739,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(740,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(741,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(742,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(743,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(744,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(745,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(746,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(747,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(748,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(749,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(750,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(751,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(752,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(753,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(754,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(755,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(756,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(757,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(758,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(759,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(760,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(761,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(762,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(763,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(764,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(765,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(766,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(767,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(768,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(769,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(770,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(771,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(772,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(773,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(774,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(775,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(776,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(777,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(778,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(779,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(780,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(781,'question','A','2019-01-06 19:09:33','2019-01-06 19:09:33',0),(782,'question','A','2019-01-06 19:09:34','2019-01-06 19:09:34',0),(783,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(784,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(785,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(786,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(787,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(788,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(789,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(790,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(791,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(792,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(793,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(794,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(795,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(796,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(797,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(798,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(799,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(800,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(801,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(802,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(803,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(804,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(805,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(806,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(807,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(808,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(809,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(810,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(811,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(812,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(813,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(814,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(815,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(816,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(817,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(818,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(819,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(820,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(821,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(822,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(823,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(824,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(825,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(826,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(827,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(828,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(829,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(830,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(831,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(832,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(833,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(834,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(835,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(836,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(837,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(838,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(839,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(840,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(841,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(842,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(843,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(844,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(845,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(846,'question','A','2019-01-06 19:09:35','2019-01-06 19:09:35',0),(847,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(848,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(849,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(850,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(851,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(852,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(853,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(854,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(855,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(856,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(857,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(858,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(859,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(860,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(861,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(862,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(863,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(864,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(865,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(866,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(867,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(868,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(869,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(870,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(871,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(872,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(873,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(874,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(875,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(876,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(877,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(878,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(879,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(880,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(881,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(882,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(883,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(884,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(885,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(886,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(887,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(888,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(889,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(890,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(891,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(892,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(893,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(894,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(895,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(896,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(897,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(898,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(899,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(900,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(901,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(902,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(903,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(904,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(905,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(906,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(907,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(908,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(909,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(910,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(911,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(912,'question','A','2019-01-06 19:09:36','2019-01-06 19:09:36',0),(913,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(914,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(915,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(916,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(917,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(918,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(919,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(920,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(921,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(922,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(923,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(924,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(925,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(926,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(927,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(928,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(929,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(930,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(931,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(932,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(933,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(934,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(935,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(936,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(937,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(938,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(939,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(940,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(941,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(942,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(943,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(944,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(945,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(946,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(947,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(948,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(949,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(950,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(951,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(952,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(953,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(954,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(955,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(956,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(957,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(958,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(959,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(960,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(961,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(962,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(963,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(964,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(965,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(966,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(967,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(968,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(969,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(970,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(971,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(972,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(973,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(974,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(975,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(976,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(977,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(978,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(979,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(980,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(981,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(982,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(983,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(984,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(985,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(986,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(987,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(988,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(989,'question','A','2019-01-06 19:09:37','2019-01-06 19:09:37',0),(990,'question','A','2019-01-06 19:09:38','2019-01-06 19:09:38',0),(991,'question','A','2019-01-06 19:09:38','2019-01-06 19:09:38',0),(992,'question','A','2019-01-06 19:09:38','2019-01-06 19:09:38',0),(993,'question','A','2019-01-06 19:09:38','2019-01-06 19:09:38',0),(994,'question','A','2019-01-06 19:09:38','2019-01-06 19:09:38',0),(995,'question','A','2019-01-06 19:09:38','2019-01-06 19:09:38',0),(996,'question','A','2019-01-06 19:09:38','2019-01-06 19:09:38',0),(997,'question','A','2019-01-06 19:09:38','2019-01-06 19:09:38',0),(998,'question','A','2019-01-06 19:09:38','2019-01-06 19:09:38',0),(999,'question','A','2019-01-06 19:09:38','2019-01-06 19:09:38',0),(1000,'question','A','2019-01-06 19:09:38','2019-01-06 19:09:38',0),(1001,'question','A','2019-01-06 19:09:38','2019-01-06 19:09:38',0),(1002,'question','A','2019-01-06 19:09:38','2019-01-06 19:09:38',0),(1003,'question','A','2019-01-06 19:09:38','2019-01-06 19:09:38',0),(1004,'question','A','2019-01-06 19:09:38','2019-01-06 19:09:38',0);
/*!40000 ALTER TABLE `model` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `modelLink`
--
DROP TABLE IF EXISTS `modelLink`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `modelLink` (
`id` int(10) unsigned NOT NULL,
`link` int(10) unsigned NOT NULL,
KEY `id` (`id`),
KEY `link` (`link`),
CONSTRAINT `modelLink_ibfk_1` FOREIGN KEY (`id`) REFERENCES `model` (`id`),
CONSTRAINT `modelLink_ibfk_2` FOREIGN KEY (`link`) REFERENCES `model` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `modelLink`
--
LOCK TABLES `modelLink` WRITE;
/*!40000 ALTER TABLE `modelLink` DISABLE KEYS */;
INSERT INTO `modelLink` VALUES (4,3),(3,5),(1,6),(2,7),(3,8),(1,9),(1,10),(1,11),(2,12),(1,13),(3,14),(3,15),(3,16),(3,17),(3,18),(1,19),(3,20),(2,21),(2,22),(3,23),(1,24),(2,25),(1,26),(2,27),(3,28),(3,29),(2,30),(2,31),(2,32),(1,33),(3,34),(3,35),(1,36),(2,37),(3,38),(1,39),(3,40),(1,41),(3,42),(3,43),(1,44),(1,45),(3,46),(3,47),(2,48),(2,49),(2,50),(1,51),(2,52),(2,53),(2,54),(2,55),(2,56),(2,57),(3,58),(1,59),(2,60),(1,61),(2,62),(3,63),(1,64),(3,65),(2,66),(1,67),(2,68),(1,69),(2,70),(2,71),(1,72),(1,73),(3,74),(1,75),(1,76),(3,77),(2,78),(3,79),(1,80),(2,81),(2,82),(2,83),(2,84),(3,85),(1,86),(2,87),(1,88),(3,89),(1,90),(2,91),(3,92),(2,93),(1,94),(2,95),(3,96),(1,97),(2,98),(2,99),(1,100),(1,101),(2,102),(1,103),(1,104),(3,105),(1,106),(1,107),(1,108),(1,109),(1,110),(2,111),(3,112),(3,113),(1,114),(1,115),(3,116),(1,117),(3,118),(1,119),(2,120),(3,121),(1,122),(1,123),(2,124),(1,125),(3,126),(3,127),(2,128),(2,129),(3,130),(3,131),(3,132),(3,133),(3,134),(2,135),(1,136),(2,137),(3,138),(3,139),(3,140),(1,141),(2,142),(1,143),(1,144),(3,145),(2,146),(3,147),(3,148),(1,149),(2,150),(1,151),(3,152),(3,153),(2,154),(2,155),(2,156),(2,157),(3,158),(1,159),(3,160),(3,161),(3,162),(2,163),(3,164),(2,165),(2,166),(1,167),(1,168),(2,169),(3,170),(2,171),(1,172),(3,173),(2,174),(3,175),(1,176),(2,177),(2,178),(2,179),(3,180),(1,181),(2,182),(2,183),(2,184),(3,185),(3,186),(2,187),(3,188),(1,189),(2,190),(3,191),(2,192),(2,193),(3,194),(2,195),(2,196),(2,197),(2,198),(1,199),(2,200),(2,201),(3,202),(3,203),(2,204),(2,205),(2,206),(2,207),(1,208),(1,209),(1,210),(2,211),(3,212),(1,213),(3,214),(2,215),(2,216),(1,217),(3,218),(2,219),(1,220),(3,221),(3,222),(3,223),(3,224),(1,225),(1,226),(3,227),(3,228),(1,229),(1,230),(1,231),(1,232),(2,233),(3,234),(1,235),(1,236),(1,237),(2,238),(3,239),(1,240),(1,241),(2,242),(3,243),(1,244),(2,245),(3,246),(1,247),(3,248),(3,249),(1,250),(3,251),(2,252),(3,253),(2,254),(3,255),(1,256),(2,257),(3,258),(2,259),(1,260),(3,261),(1,262),(2,263),(3,264),(3,265),(3,266),(3,267),(3,268),(1,269),(3,270),(2,271),(3,272),(1,273),(2,274),(2,275),(1,276),(1,277),(1,278),(1,279),(3,280),(1,281),(2,282),(2,283),(1,284),(3,285),(3,286),(2,287),(1,288),(2,289),(1,290),(2,291),(2,292),(1,293),(3,294),(1,295),(2,296),(2,297),(2,298),(3,299),(3,300),(1,301),(1,302),(2,303),(3,304),(1,305),(2,306),(3,307),(2,308),(2,309),(2,310),(3,311),(2,312),(2,313),(3,314),(2,315),(3,316),(3,317),(1,318),(2,319),(2,320),(3,321),(1,322),(2,323),(2,324),(1,325),(2,326),(2,327),(3,328),(1,329),(3,330),(3,331),(1,332),(1,333),(2,334),(1,335),(1,336),(1,337),(3,338),(3,339),(3,340),(1,341),(2,342),(3,343),(2,344),(2,345),(2,346),(1,347),(2,348),(3,349),(3,350),(1,351),(1,352),(2,353),(3,354),(1,355),(3,356),(1,357),(1,358),(3,359),(1,360),(2,361),(2,362),(2,363),(1,364),(3,365),(2,366),(1,367),(3,368),(2,369),(3,370),(3,371),(2,372),(2,373),(1,374),(2,375),(3,376),(1,377),(3,378),(3,379),(1,380),(3,381),(2,382),(3,383),(3,384),(1,385),(2,386),(3,387),(2,388),(2,389),(2,390),(2,391),(3,392),(2,393),(2,394),(1,395),(1,396),(3,397),(1,398),(2,399),(1,400),(3,401),(2,402),(2,403),(2,404),(2,405),(2,406),(2,407),(2,408),(2,409),(3,410),(1,411),(1,412),(3,413),(1,414),(2,415),(3,416),(1,417),(1,418),(2,419),(2,420),(2,421),(2,422),(2,423),(1,424),(3,425),(3,426),(2,427),(2,428),(3,429),(3,430),(2,431),(3,432),(1,433),(2,434),(1,435),(3,436),(3,437),(3,438),(3,439),(3,440),(3,441),(1,442),(1,443),(2,444),(3,445),(1,446),(3,447),(2,448),(3,449),(1,450),(3,451),(3,452),(2,453),(3,454),(3,455),(3,456),(1,457),(2,458),(1,459),(2,460),(2,461),(3,462),(1,463),(2,464),(2,465),(1,466),(3,467),(2,468),(1,469),(1,470),(1,471),(1,472),(2,473),(1,474),(1,475),(3,476),(2,477),(3,478),(2,479),(1,480),(1,481),(1,482),(2,483),(3,484),(1,485),(1,486),(3,487),(2,488),(1,489),(2,490),(2,491),(3,492),(3,493),(2,494),(3,495),(1,496),(1,497),(3,498),(3,499),(3,500),(1,501),(1,502),(3,503),(3,504),(3,505),(2,506),(3,507),(3,508),(1,509),(3,510),(3,511),(3,512),(3,513),(2,514),(3,515),(3,516),(3,517),(2,518),(3,519),(3,520),(3,521),(3,522),(2,523),(3,524),(1,525),(3,526),(1,527),(3,528),(2,529),(2,530),(3,531),(3,532),(2,533),(1,534),(1,535),(1,536),(3,537),(1,538),(1,539),(2,540),(3,541),(3,542),(3,543),(3,544),(2,545),(1,546),(3,547),(2,548),(2,549),(1,550),(2,551),(3,552),(3,553),(2,554),(1,555),(3,556),(1,557),(2,558),(3,559),(1,560),(1,561),(1,562),(3,563),(1,564),(3,565),(1,566),(3,567),(3,568),(2,569),(2,570),(2,571),(1,572),(3,573),(1,574),(2,575),(3,576),(2,577),(3,578),(3,579),(3,580),(1,581),(1,582),(3,583),(2,584),(2,585),(2,586),(2,587),(3,588),(3,589),(2,590),(2,591),(1,592),(3,593),(3,594),(3,595),(1,596),(1,597),(3,598),(2,599),(3,600),(3,601),(1,602),(1,603),(3,604),(2,605),(3,606),(2,607),(1,608),(2,609),(2,610),(1,611),(1,612),(3,613),(2,614),(1,615),(3,616),(1,617),(3,618),(3,619),(1,620),(1,621),(1,622),(2,623),(2,624),(1,625),(1,626),(3,627),(2,628),(1,629),(2,630),(1,631),(3,632),(2,633),(3,634),(3,635),(2,636),(1,637),(1,638),(1,639),(1,640),(1,641),(1,642),(2,643),(3,644),(1,645),(1,646),(3,647),(1,648),(3,649),(3,650),(1,651),(2,652),(2,653),(1,654),(1,655),(3,656),(2,657),(2,658),(3,659),(2,660),(1,661),(2,662),(2,663),(3,664),(2,665),(3,666),(1,667),(2,668),(2,669),(1,670),(3,671),(2,672),(2,673),(1,674),(2,675),(1,676),(3,677),(1,678),(1,679),(1,680),(1,681),(3,682),(3,683),(2,684),(2,685),(1,686),(1,687),(1,688),(1,689),(1,690),(1,691),(2,692),(1,693),(1,694),(3,695),(2,696),(1,697),(2,698),(3,699),(3,700),(2,701),(1,702),(3,703),(1,704),(1,705),(3,706),(2,707),(3,708),(1,709),(3,710),(1,711),(1,712),(2,713),(1,714),(3,715),(3,716),(2,717),(2,718),(1,719),(2,720),(3,721),(2,722),(3,723),(2,724),(3,725),(1,726),(2,727),(2,728),(2,729),(3,730),(3,731),(3,732),(1,733),(2,734),(2,735),(1,736),(2,737),(1,738),(1,739),(1,740),(3,741),(1,742),(2,743),(3,744),(2,745),(2,746),(1,747),(2,748),(3,749),(3,750),(3,751),(3,752),(2,753),(2,754),(1,755),(2,756),(3,757),(1,758),(3,759),(3,760),(3,761),(1,762),(2,763),(1,764),(3,765),(1,766),(2,767),(3,768),(3,769),(2,770),(1,771),(1,772),(2,773),(1,774),(3,775),(1,776),(3,777),(3,778),(2,779),(2,780),(1,781),(2,782),(1,783),(1,784),(3,785),(1,786),(2,787),(1,788),(2,789),(1,790),(2,791),(1,792),(3,793),(1,794),(3,795),(3,796),(1,797),(3,798),(3,799),(1,800),(2,801),(3,802),(1,803),(1,804),(1,805),(2,806),(3,807),(1,808),(2,809),(3,810),(3,811),(1,812),(1,813),(3,814),(2,815),(3,816),(1,817),(1,818),(1,819),(3,820),(1,821),(1,822),(2,823),(3,824),(1,825),(3,826),(3,827),(1,828),(1,829),(2,830),(3,831),(1,832),(3,833),(1,834),(1,835),(2,836),(1,837),(2,838),(2,839),(2,840),(3,841),(2,842),(1,843),(3,844),(2,845),(2,846),(3,847),(2,848),(1,849),(3,850),(2,851),(2,852),(1,853),(2,854),(3,855),(3,856),(2,857),(3,858),(1,859),(1,860),(2,861),(1,862),(3,863),(1,864),(2,865),(3,866),(1,867),(3,868),(1,869),(1,870),(2,871),(3,872),(3,873),(1,874),(1,875),(1,876),(3,877),(2,878),(3,879),(1,880),(3,881),(2,882),(3,883),(1,884),(1,885),(1,886),(2,887),(1,888),(1,889),(2,890),(2,891),(2,892),(2,893),(1,894),(3,895),(1,896),(1,897),(3,898),(2,899),(1,900),(2,901),(2,902),(1,903),(1,904),(2,905),(1,906),(3,907),(3,908),(3,909),(3,910),(1,911),(3,912),(1,913),(2,914),(2,915),(2,916),(1,917),(3,918),(1,919),(3,920),(2,921),(1,922),(2,923),(1,924),(1,925),(1,926),(2,927),(3,928),(2,929),(2,930),(3,931),(2,932),(1,933),(1,934),(2,935),(2,936),(2,937),(3,938),(2,939),(3,940),(2,941),(3,942),(3,943),(2,944),(1,945),(1,946),(3,947),(2,948),(3,949),(3,950),(3,951),(1,952),(3,953),(3,954),(1,955),(2,956),(3,957),(1,958),(3,959),(1,960),(2,961),(2,962),(3,963),(2,964),(1,965),(3,966),(2,967),(2,968),(3,969),(1,970),(2,971),(3,972),(2,973),(1,974),(3,975),(2,976),(1,977),(3,978),(1,979),(2,980),(2,981),(3,982),(3,983),(3,984),(3,985),(1,986),(2,987),(1,988),(1,989),(3,990),(2,991),(1,992),(3,993),(3,994),(1,995),(3,996),(1,997),(1,998),(1,999),(3,1000),(2,1001),(1,1002),(3,1003),(3,1004);
/*!40000 ALTER TABLE `modelLink` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `pool`
--
DROP TABLE IF EXISTS `pool`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `pool` (
`id` int(10) unsigned NOT NULL,
`name` varchar(255) NOT NULL,
`numberOfQuestions` smallint(5) unsigned NOT NULL DEFAULT '15',
KEY `id` (`id`),
CONSTRAINT `pool_ibfk_1` FOREIGN KEY (`id`) REFERENCES `model` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `pool`
--
LOCK TABLES `pool` WRITE;
/*!40000 ALTER TABLE `pool` DISABLE KEYS */;
INSERT INTO `pool` VALUES (1,'Pool A',15),(2,'Pool B',20),(3,'Pool C',25);
/*!40000 ALTER TABLE `pool` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `question`
--
DROP TABLE IF EXISTS `question`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `question` (
`id` int(10) unsigned NOT NULL,
`question` varchar(255) NOT NULL,
`answer` tinyint(1) DEFAULT NULL,
`numComments` int(10) unsigned NOT NULL DEFAULT '0',
`score` int(11) NOT NULL DEFAULT '0',
KEY `id` (`id`),
CONSTRAINT `question_ibfk_1` FOREIGN KEY (`id`) REFERENCES `model` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `question`
--
LOCK TABLES `question` WRITE;
/*!40000 ALTER TABLE `question` DISABLE KEYS */;
INSERT INTO `question` VALUES (5,'Man rescued from Taliban didn\'t believe <NAME> was President',1,5328,103953),(6,'Nat Geo hires <NAME> to walk around, being professionally fascinated by things',1,1552,100344),(7,'Black security guard who stops shooter is then shot and killed by police',1,2456,97228),(8,'Hunter dies after shot elephant falls on him',1,1729,95382),(9,'<NAME> Once Ratted Out His Fraternity Brothers For Having a Keg',1,5322,92179),(10,'Reddit CEO tells user, “we are not the thought police,” then suspends that user',1,6992,89674),(11,'R.I.P. astronaut <NAME>, the first man to get yelled at for smuggling a sandwich into space',1,1115,88494),(12,'Trump dedicates golf trophy to hurricane victims',1,6822,85607),(13,'President Trump: I would have run into school during shooting ‘even if I didn’t have a weapon’',1,9442,83602),(14,'ICE Director: ICE Can\'t Be Compared To Nazis Since We\'re Just Following Orders',1,6285,75619),(15,'Uber’s search for a female CEO has been narrowed down to 3 men',1,6401,75484),(16,'Dogs cannot get ‘autism’, British Veterinary Association warns after ‘anti-vaxx’ movement spread to pets',1,3134,74969),(17,'Somali Militant Group Al-Shabaab Announces Ban On Single-Use Plastic Bags',1,2024,74278),(18,'United Nations official visiting Alabama to investigate \'great poverty and inequality\'',1,6105,74094),(19,'Florida House declares porn a public health risk shortly after denying assault rifle ban',1,5844,73050),(20,'Passenger turned away from two flights after wearing 10 layers of clothing to avoid luggage fee',1,3445,72983),(21,'Congress To Make Members Pay Out Of Pocket For Sexual Harassment Settlements',1,1739,71633),(22,'Sean Spicer says <NAME> Doesn’t Have the Political Experience to be President',1,6322,70154),(23,'White House press secretary attacks media for accurately reporting inauguration crowds',1,10815,69594),(24,'UPS loses Family’s $846K Inheritance, Offers to Refund $32 Shipping Fee',1,3169,69585),(25,'School boy takes MICROWAVE to school to carry books after school bans bags',1,3090,67955),(26,'Teen suspended from high school after her anti-bullying video hurts principal\'s feelings',1,3118,67902),(27,'Alabama lawmaker: We shouldn\'t arm teachers because most are women',1,3957,67663),(28,'<NAME> Mourned On Twitter, Confusing Him For Dead Mass Murderer Charles',1,3350,67609),(29,'Trump calls Warren \'Pocahontas\' at event honoring Native American veterans',1,3969,67347),(30,'Cat named after Notorious B.I.G. shot multiple times — and survives',1,2028,66826),(31,'No, this isn\'t The Onion, Yes Net Neutrality is under attack and we have less than a month to save it. Fight to save Net Neutrality today!',1,669,66599),(32,'Saudi Arabia declares online satire punishable offence',1,1501,66212),(33,'EPA Head Says He Needs to Fly First Class Because People Are Mean to Him in Coach',1,717,65047),(34,'Cards Against Humanity buys plot of land on U.S./Mexico border to block border wall',1,4993,64814),(35,'Apology after Japanese train departs 20 seconds early',1,3077,64722),(36,'<NAME> banned from China in order to \'purify\' nation',1,3146,64613),(37,'Alcohol level in air at fraternity party registers on Breathalyzer',1,2004,64405),(38,'Always look on the bright side of life, says CEO who raised EpiPen price by more than 400%',1,1011,64281),(39,'Trump calls Dems who didn\'t clap during State of the Union \'treasonous\' and \'un-American\'',1,8017,64258),(40,'NPR tweets the Declaration of Independence, and people freak out about a ‘revolution’',1,7418,64019),(41,'Melania flew to Texas to visit immigrant children wearing a jacket that says \'I really don\'t care, do u?\'',1,3811,62175),(42,'Man who mowed lawn with tornado behind him says he \'was keeping an eye on it.\'',1,1613,61488),(43,'<NAME> buys teen a new retainer after she bit through it during his shirtless Black Panther scene',1,1935,61113),(44,'Missouri man must watch ‘Bambi’ monthly as part of poaching punishment, judge rules',1,1763,60869),(45,'<NAME>face to be name of new Sydney ferry after public vote',1,1889,60818),(46,'British politician wants death penalty for suicide bombers',1,3149,60645),(47,'Missouri Republican Who Said ‘Hitler Was Right’ Wins State House Primary',1,3214,60204),(48,'US Republicans endorse arming toddlers on Sacha Baron Cohen show',1,5661,60177),(49,'A man harasses a woman for wearing a Puerto Rico shirt, saying it\'s \'un-American\'',1,4891,60095),(50,'France Protests: Police threaten to join protesters, demand better pay and conditions',1,3582,59705),(51,'Texas Students Will Soon Learn Slavery Played a Central Role in the Civil War',1,3984,59665),(52,'The number of Delta Air Lines passengers who bought tickets with NRA discount: 13',1,3787,59008),(53,'Alt-Right White Supremacists Claim Papa John\'s as Official Pizza',1,7029,58963),(54,'White supremacists taking DNA tests sad to discover they’re not 100% white',1,5238,58919),(55,'After eating Chipotle for 500 days, an Ohio man says he\'s ready for something new',1,2478,57838),(56,'‘El Chapo’ promises not to kill any jurors from upcoming federal trial',1,3219,57084),(57,'Poll: Kim Jong Un has higher approval among Republicans than Pelosi',1,5613,57078),(58,'After 4th DWI, man argues legal limit discriminates against alcoholics',1,3866,56949),(59,'Since Jay-Z put out an album called 4:44, Jersey prog band 4:44 put out an album called Jay-Z',1,1089,56896),(60,'School turns students\' lunch debt over to collection agency',1,4884,56731),(61,'Palestinian judge bans divorce during Ramadan because ‘people make hasty decisions when they’re hungry’',1,2789,56568),(62,'Argentinian officers fired after claiming mice ate half a ton of missing marijuana',1,1274,56337),(63,'Harambe: Stop making memes of our dead gorilla, Cincinnati Zoo pleads',1,4862,55689),(64,'Jeff Sessions: Marijuana Is \"Only Slightly Less Awful\" Than Heroin',1,7258,55516),(65,'DC bars to open early for Comey hearing watch parties',1,3766,55383),(66,'<NAME> the Dinosaur actor now works as a controversial tantric sex guru',1,2376,55131),(67,'Trump gets a folder full of positive news about himself twice a day',1,4116,54743),(68,'“An almond doesn’t lactate:” FDA to crack down on use of the word “milk”',1,4157,54606),(69,'NYPD Union Sues To Stop Release Of All Bodycam Footage Because It Violates Officers’ Civil Rights',1,4907,54489),(70,'Massive cow named Knickers has been deemed too large to eat',1,2183,54442),(71,'EU warns Turkey after it violates Greek airspace 141 times in one day',1,749,54356),(72,'The man who stole a plane said he didn\'t need much help: \'I\'ve played some video games\'',1,3792,53962),(73,'White House blocks CNN, BBC, New York Times, LA Times from media briefing',1,2789,53870),(74,'\'Nobody kill anybody\': Murder-free weekend urged in Baltimore',1,2146,53827),(75,'Texas prisons deny dentures to inmates with no teeth, claim chewing \'isn\'t a medical necessity\'',1,3565,53820),(76,'Papa John\'s blames NFL, anthem protests for falling pizza sales',1,8499,52590),(77,'Teacher Of The Year In Oklahoma Moves To Texas For The Money',1,4860,52428),(78,'Pakistani girl who died in Texas shooting ‘wanted to experience American culture’',1,2145,51734),(79,'Suspected murderer who evaded capture for 12 years by pretending to be mute loses voice from underuse',1,1417,51419),(80,'Thousands unfollow Sen. <NAME> after he asks for more Twitter followers',1,2330,51334),(81,'Texas judge interrupts jury, says God told him defendant is not guilty',1,1920,51280),(82,'Speeding Arizona Congressman Claims \'Immunity\' When Pulled Over, Brags to Cop He Goes Even Faster',1,3151,51123),(83,'<NAME> Gets Vanilla Pudding in Jail for First Meal Behind Bars',1,2762,51104),(84,'Fox News isn’t worried about millions losing insurance since “we’re all going to die”',1,5152,51054),(85,'<NAME> to legally change his middle name to <NAME>',1,2478,51049),(86,'The creators of the Nintendo 64 GoldenEye have officially ruled: Oddjob is cheating',1,1761,50993),(87,'Bush says Trump ‘makes me look pretty good’ by comparison: report',1,3780,50832),(88,'Iceland\'s president admits he went \'too far\' with threat to ban pineapple pizza',1,2251,50826),(89,'Merriam-Webster adds \"sheeple\" to dictionary, cites Apple users as an example',1,3445,50717),(90,'\'We want sauce\': police called after McDonald\'s Rick and Morty promotion heats up',1,4738,50467),(91,'France Is Running Out of Butter for Its Croissants',1,2518,50297),(92,'Utah teacher fired after showing students classical paintings which contained nudity',1,3771,50100),(93,'American man was arrested for scamming Nigerians of over N150 million',1,911,49940),(94,'Police: Naked Man Arrested At Planet Fitness Cites ‘Judgment Free Zone’',1,2142,49866),(95,'First Lady Melania Trump Says She Is \'the Most Bullied Person in the World\'',1,4009,49855),(96,'Ohio State fan in coma asked if he likes Michigan responds \'No\'',1,1527,49854),(97,'Saudi Arabia accidentally prints textbook showing Yoda sitting next to the king',1,979,49806),(98,'“Japan’s slowest roller coaster” derails, passengers don’t notice',1,758,49763),(99,'\'Even Hitler didn\'t sink to using chemical weapons\', says Spicer of Syria attack',1,5454,49687),(100,'Texas woman arrested for marijuana takes mugshot, gets requests for makeup tips',1,3754,49541),(101,'Drunk tourist accidentally climbs mountain while trying to get back to his hotel',1,1042,49467),(102,'‘Drunk’ tourist thought to be the first person to survive swim across Hoover Dam',1,2817,49194),(103,'Judge orders Alabama not to destroy voting records in Tuesday\'s Senate election',1,2699,49147),(104,'Moray rapist who tried to cheat justice by claiming he was too fat to appear in court died of heart disease',1,1674,49116),(105,'In final-hour order, court rules that Alabama can destroy digital voting records after all',1,3477,48790),(106,'Please Don\'t Roast Marshmallows Over the Erupting Hawaii Volcano, USGS Warns',1,1202,48633),(107,'Families earning $117,000 now qualify as \"low income\" in California\'s Bay Area',1,5013,48602),(108,'Fox Business Host Calls Former President <NAME> a \'Radical\' Liberal',1,3702,48432),(109,'<NAME> suggests <NAME> was spying on <NAME> through a microwave',1,5046,48156),(110,'<NAME> raised more money for her recount effort than she did during the election',1,4806,47488),(111,'TSA agents are apparently still confused as to whether the District of Columbia is in the U.S.',1,4351,47213),(112,'FBI director <NAME> admits under oath that he hates the Patriots',1,2255,46794),(113,'Florida is the worst state in the nation in every way, new rankings say',1,3550,46584),(114,'\'Mary Was a Teenager.\' Alabama Republican Uses Jesus to Defend Roy Moore',1,5428,46579),(115,'Hurricane victims call sex hotline after FEMA mistakenly tweets wrong number',1,569,46451),(116,'The world\'s oldest living land creature is a gay tortoise named Jonathan',1,1827,46336),(117,'Over 500 Canadian doctors protest raises, say they\'re being paid too much',1,2110,46297),(118,'Woman gets lifetime bus pass for 103rd birthday',1,1637,46234),(119,'Family says supermarket wouldn\'t write Summa Cum Laude on a cake due to profanity',1,3414,46014),(120,'US lost track of 1,500 immigrant children, but says it\'s not \'legally responsible\'',1,2515,45972),(121,'Candidate for Charlotte mayor puts \'white\' among qualifications',1,5008,45657),(122,'Amish man launches \"Uber\" ride service with his horse and buggy',1,1014,45658),(123,'Man finds car 20 years after forgetting where he parked it',1,1483,45527),(124,'Keeping Up With The Kardashians may make viewers cold-hearted towards poor, study suggests',1,2066,45475),(125,'2 kids dressed as \'tall man\' unable to gain admission to \'Black Panther\'',1,945,45380),(126,'Facebook is suggesting mobile users \'Protect\' themselves...by downloading a Facebook-owned app that tracks their mobile usage',1,2004,45240),(127,'Sheriff who pocketed $750K from inmate food fund bought beach house for $740K',1,1729,45214),(128,'\'I was annoyed\': Woman, 95, shoos black bear out of kitchen twice in one day',1,864,45170),(129,'Sign language interpreter used gibberish, warned of bears, monsters during Hurricane Irma update',1,2591,45155),(130,'Juncker used ‘brightly coloured, simple flashcards’ to explain trade to Trump during meeting',1,2857,45140),(131,'Cop Does Not Shoot Unarmed Man',1,1762,45051),(132,'Man Creates Tinder-Like Dating App Where He’s the Only Guy Available',1,1279,45024),(133,'Ambien-maker to Roseanne: Racism is not a side effect of our drug',1,2427,44710),(134,'Senate adopts resolution declaring \"the press is not the enemy of the people\"',1,3241,44682),(135,'Man launches GoFundMe page to ‘protect Betty White from 2016’',1,1686,44576),(136,'Ex-Chipotle manager, accused of stealing $626, gets $8 million for wrongful termination',1,1940,44506),(137,'Man checks in a can of beer as only luggage on Perth bound flight',1,1380,44420),(138,'<NAME> says he doesn\'t need daily intelligence briefings as President because he\'s \'smart\'',1,442,44233),(139,'Cruise Ship Refunds Passengers After 1,300 Men Took Over and Turned It Into a Giant Burlesque Show',1,1497,44213),(140,'Flight Attendant Orgy Denied By Airline Despite Being Caught On Camera',1,2556,43928),(141,'Six Flags cancels massive snowball fight due to ... real snow',1,894,43811),(142,'Fire breaks out at Chinese factory that makes Samsung Note 7 batteries',1,1578,43817),(143,'President <NAME> Proclaims April 2017 as National Sexual Assault Awareness and Prevention Month',1,6296,43805),(144,'Pastor was ‘counseling’ the young, naked man tied up in his car, he says',1,1607,43580),(145,'Remorseful husband who robbed bank to escape wife sentenced to home confinement',1,816,43535),(146,'<NAME> Discovered He’s Being Used To Advertise Erection Pills In Ukraine',1,798,43467),(147,'House hearing on gun legislation canceled after shooting',1,47,43243),(148,'Google Says It Will Stop Android Phones From Suggesting \"My Face\" When Users Type \"Sit On\"',1,1221,43143),(149,'Labrador: ‘Nobody dies because they don’t have access to health care’',1,5267,42617),(150,'Trump says he may pardon <NAME>, who does not need a pardon',1,2292,42423),(151,'Couple Couldn\'t Conceive Because They\'d Been Having Sex the Wrong Way for Four Years',1,5127,42171),(152,'<NAME> \'feels great\' about criticism of spending millions on Mar-a-Lago trips, says <NAME>',1,7066,42061),(153,'Losers are more likely to believe in conspiracy theories, study finds',1,3621,41936),(154,'The Room\'s Tommy Wiseau Wants to Make a Star Wars Movie',1,2323,41865),(155,'Texas couple considering divorce to help pay for daughter\'s health care costs',1,4339,41852),(156,'Air Canada flight turns back halfway to Hawaii, passengers get $10 vouchers',1,1787,41833),(157,'Japanese couple apologise for ignoring work pregnancy timetable by conceiving ‘before their turn’',1,2515,41651),(158,'People keep uploading Hamilton to PornHub',1,1761,41581),(159,'Red Bull and vodka is scientifically proven to start fights, study says',1,1278,41469),(160,'Fox News\'s \'Swedish defence advisor\' unknown to country\'s military officials',1,2235,41412),(161,'Putin points at journalists and asks Trump \'Are these the ones hurting you?\' during press conference',1,4532,41173),(162,'Surgeon admits to branding initials on patients\' livers',1,2430,41092),(163,'<NAME> says Fergie\'s national anthem performance was worse than her 1990 rendition',1,3387,41075),(164,'Library asks people to stop paying fines with Chuck E. Cheese tokens',1,731,40783),(165,'<NAME> Says He Didn\'t Open His Church for Shelter From Harvey Because Nobody Asked Him To',1,3601,40525),(166,'Hundreds of people gather to say ‘wow’ like <NAME>',1,886,40514),(167,'Taco Bell voted best Mexican restaurant in the country',1,3727,40509),(168,'City won\'t fix laneway because it\'s owned by a man who\'s been dead for 118 years',1,1153,40298),(169,'Austrians can swear or make obscene gestures at politicans, court rules',1,1217,40218),(170,'YouTube cuts popular live stream of giraffe about to give birth for ‘nudity and sexual content’',1,1608,40189),(171,'Man whose wife has cancer gets help to pay bills by winning $100K lottery prize',1,2097,39935),(172,'Decriminalization of Domestic Violence Was a \'Mistake,\' Russian Official Admits',1,1730,39599),(173,'Some Oregonians in Panic Mode After Law Allowing Motorists to Pump Their Own Gas Takes Effect',1,7486,39498),(174,'Police officer fired for not shooting black suspect wins $175,000',1,2744,39492),(175,'Death Wish Coffee recalls cold brew cans due to potentially deadly toxin concerns',1,1572,39421),(176,'Pastor admits to \"sexual incident\" with teen 20 years ago, gets standing ovation',1,4770,39406),(177,'Thailand threatens to sue Facebook after videos emerge of king in crop top wandering in German shopping centre',1,2196,39082),(178,'Utah woman killed on cruise ship during murder mystery dinner',1,2490,39075),(179,'Superintendent Says Students Are Armed with Rocks In Case of a School Shooting',1,3569,39039),(180,'Big Cheese festival apologises for running out of cheese',1,1041,39025),(181,'Wisconsin sends 17,000 pounds of cheese to Houston',1,1502,38862),(182,'A startup is pitching a mind-uploading service that is “100 percent fatal”',1,3309,38663),(183,'Military veteran frustrated he has to annually fill out form to say his legs are still missing',1,1565,38552),(184,'This Republican politician allegedly told a woman \'I no longer have to be PC\' before grabbing her crotch',1,5207,38457),(185,'Florida cop claims Burger King put dirt on his food — investigation reveals it was seasoning',1,1687,38401),(186,'El Paso woman living in Montana detained by Border Patrol for speaking Spanish',1,3843,37920),(187,'We Do Not Have a Child Slave Colony on Mars: NASA',1,2960,37868),(188,'Ukraine bans Steven Seagal as threat to national security',1,1768,37709),(189,'People have paid a company more than $80,000 to dig a hole for absolutely no reason',1,2406,37667),(190,'No one shot in Chicago in 22-hour span',1,1443,37299),(191,'A woman was told to stop speaking \'foreign muck\' but was actually speaking Welsh... in Wales',1,1867,37263),(192,'YouTube gun ban drives bloggers to PornHub',1,3460,37235),(193,'People are walking into glass at the new Apple headquarters',1,1695,37222),(194,'50 Cent says he bought 200 front-row tickets to a Ja Rule concert, just so they\'d be empty',1,1476,37151),(195,'Venezuela\'s currency value depends largely on one guy at an Alabama Home Depot',1,2577,36905),(196,'Betsy DeVos labels Black Colleges \'pioneers of choice\' despite being set up for African-Americans with no options',1,2694,36889),(197,'North Carolina didn\'t like science on sea levels … so passed a law against it',1,2169,36865),(198,'Spaniard raised by wolves disappointed with human life',1,1337,36736),(199,'Delaware on verge of being first U.S. state to ban child marriage',1,2394,36693),(200,'Fake news: The Onion\'s fake headline about Cleveland\'s sewer system is actually true',1,911,36677),(201,'Canadian politician says a family can eat on $75 a week',1,7066,36561),(202,'Police say \'Free Candy\' van not a threat to public',1,877,36477),(203,'FCC chair Pai receives NRA gun award for courage',1,2066,36466),(204,'Massachusetts mayor first in line as recreational marijuana sales begin',1,1031,36421),(205,'Woman almost dies after unborn baby kicks a hole in her womb',1,2873,36412),(206,'Apple\'s $300 book contains 450 photos of Apple products',1,4975,36407),(207,'Japanese worker punished for starting lunch three minutes early',1,2700,36324),(208,'Wells Fargo: Shareholders can\'t sue us because they should have known we were lying',1,1225,36315),(209,'Russian workers are undergoing training to learn how to smile ahead of the World Cup',1,1756,36310),(210,'Fox News Mistakenly Uses Photo of <NAME> in Aretha Franklin Tribute',1,1365,36302),(211,'<NAME> to Produce Live-Action ‘Dora the Explorer’ Movie',1,1992,36216),(212,'Universities launch drive to recruit more white males as low numbers give them \'minority group\' status',1,1417,36214),(213,'Man fed up with nagging wife hides in forest for 10 years',1,1309,36213),(214,'Charlottesville photo: Man shouting angrily at white supremacist rally insists he is not \'an angry racist\'',1,7669,36190),(215,'Georgia defends voting system despite 243-percent turnout in one precinct',1,1651,36171),(216,'Gunman kidnaps family, forces them to shop at Target',1,1710,36124),(217,'Montreal mother told daughter doesn\'t count as 2nd passenger in carpool lane',1,2783,36035),(218,'Police planned to sell crime victim\'s car at auction instead of returning it',1,1847,35998),(219,'Patients whose emergency surgeries are delayed have higher risk of dying: study',1,1910,35968),(220,'One in eight young people in the UK have never seen a real cow',1,3140,35883),(221,'Wisconsin man injured after upskirting shoe camera explodes',1,1358,35869),(222,'<NAME> admits: \'When I pray, sometimes I fall asleep\'',1,1010,35801),(223,'Man mistakenly runs full Fargo marathon instead of half',1,1223,35692),(224,'<NAME> doesn\'t know what her Google Home sounds like, assumes it\'s a ghost',1,1793,35661),(225,'Using emojis to teach Shakespeare will not help disadvantaged students, says head',1,912,35602),(226,'<NAME>: ‘When I began A Game of Thrones I thought it might be a short story’',1,1274,35431),(227,'Protesters throw Pepsi cans at police during May Day demonstrations',1,2462,35052),(228,'Putin: \'I am not a woman, so I don’t have bad days\'',1,2480,35020),(229,'Florida candidate says alien abduction doesn’t define her',1,1230,35021),(230,'<NAME> suggests fossil fuels help prevent sexual assault',1,2094,34980),(231,'Mgm Resorts Sues More Than 1,000 Las Vegas Shooting Victims To Avoid Liability In Massacre',1,2765,34945),(232,'Without Obama, once-booming gun industry poised to shrink',1,6001,34905),(233,'Putin on US administration: \'It’s difficult to talk with people who confuse Austria and Australia\'',1,1570,34841),(234,'<NAME> stole a mini fridge from Junior White House staffers',1,1404,34831),(235,'Anti-Defamation League Declares Pepe the Frog a Hate Symbol',1,4183,34797),(236,'All of Mugshots.com’s alleged co-owners arrested on extortion charges',1,1952,34721),(237,'Amazon Reportedly Killed an AI Recruitment System Because It Couldn\'t Stop the Tool from Discriminating Against Women',1,1995,34534),(238,'Applebee\'s offering $1 margaritas in October to remind people it\'s also a \'bar\'',1,2596,34421),(239,'Nintendo confirms Mario was originally punching Yoshi in the head',1,1129,34399),(240,'InfoWars\' <NAME> Says He\'s Been Defamed by Defamation Suits',1,916,34365),(241,'Accused of underpaying women, Google says it\'s too expensive to get wage data',1,3260,34281),(242,'Nestle says slavery reporting requirements could cost customers',1,1826,34215),(243,'Rio 2016: Officials forced to cut their way into Olympic stadium after losing keys to gate',1,1240,34094),(244,'<NAME> refused to perform sex act with dog for new film',1,3377,34043),(245,'Philippines’ Duterte says he stabbed someone to death as a teen, then proposes hosting human rights summit',1,1963,33991),(246,'Israel responds with \'Mean Girls\' GIF after Iran\'s Ayatollah Khamenei\'s nuclear threats',1,1968,33947),(247,'Pizza man celebrated as \'hero\' after making it through G20 crowds',1,1543,33836),(248,'Study finds Americans who join ISIS are disappointed by the experience',1,1702,33756),(249,'Local teenager robbed at gunpoint by teen he planned to rob',1,859,33700),(250,'After finding his doppelganger, Kansas City man is freed from prison',1,2212,33691),(251,'Man declares he is now attracted to men after taking painkillers',1,2246,33678),(252,'BP claims an oil spill off Australia\'s coast would be a \'welcome boost\' to local economies',1,1818,33518),(253,'Prisoners built two PCs from parts, hid them in ceiling, connected to the State\'s network and did cybershenanigans',1,1938,33503),(254,'<NAME> offers to help Trump, US \'straighten things out\' with North Korea',1,2179,33408),(255,'Christmas service accidentally prints words to Tupac\'s ‘Hail Mary’ instead of carol',1,736,33395),(256,'Russian bank: we assigned $12 billion \'loan\' to poor African state by mistake',1,1113,33381),(257,'World Clown Association Complains The Movie ‘IT’ Is Hurting Real Clowns',1,2685,33367),(258,'Knife robber tries to rob Glasgow shop but is beaten with mop, tries to rob nearby shop and is beaten with mop again',1,981,33367),(259,'Obama dreams of opening a T-shirt shack in Hawaii after he leaves the presidency',1,2329,33290),(260,'<NAME>. Has Started a GoFundMe Campaign to Prove That the Earth Is Flat',1,3631,33286),(261,'Pilot \'congratulates\' passengers for drinking all alcohol on plane',1,1593,33263),(262,'Florida candidate poses with fake diploma after questions about her credentials',1,1793,33262),(263,'<NAME> warns U.S. heading for Canada-style health care if Graham-Cassidy bill fails',1,6394,33165),(264,'Congressman tells angry constituents the idea that they pay his salary is ‘bullcrap’',1,2567,33159),(265,'American airline wins right to weigh passengers to prevent crash landings',1,1485,33131),(266,'Woman left homeless after thieves steal her house',1,1335,33049),(267,'A Saudi singer was jailed after dabbing during a concert',1,1641,33039),(268,'<NAME>, Who Was Fired For How He Handled Student Rape Allegations, Will Now Teach a Christian Ethics Course',1,1311,32965),(269,'Youporn bans Starbucks after Starbucks banned Porn',1,1154,32949),(270,'NC mom invents a spray she says will attract any Bigfoot within a mile and a half',1,1840,32932),(271,'New type of northern lights discovered, named Steve',1,660,32927),(272,'Astronauts find hole in the International Space Station, plug it with thumb',1,1109,32779),(273,'US Kindergartens Now Teaching Nursery Rhymes To Prep Kids For School Shooters',1,4197,32729),(274,'Top ICE Lawyer Sentenced to Four Years in Prison For Stealing Immigrants’ Identities',1,890,32678),(275,'Enraged naked postal worker goes on killing spree, police say',1,2220,32581),(276,'Pipeline spills 176,000 gallons of crude into creek about 150 miles from Dakota Access protest camp',1,3040,32565),(277,'In Amsterdam, Even The Tourists Say There Are Too Many Tourists',1,2397,32525),(278,'The Shape Of Water would have been less popular if she\'d fucked a dolphin, reports guy who once fucked a dolphin',1,1068,32344),(279,'Man grieved at wrong grave for 30 years due to misplaced headstone',1,913,32258),(280,'DeVos backlash Sees Parents Threatening to Homeschool Kids',1,6910,32192),(281,'Vatican Releases Pokemon GO Clone For Catholics',1,1470,32094),(282,'2 accidentally shot at church during church shooting discussion',1,3645,31849),(283,'Child spies used only when very necessary, says Downing Street',1,1160,31740),(284,'Pet deer named after Bambi character shot dead in front of US family in their driveway',1,3943,31740),(285,'Amazon removes circumcision training kits from sale',1,1591,31736),(286,'Phoenix flights cancelled because it\'s too hot for planes',1,3439,31729),(287,'\'Sorry,\' says man, 19, who opened fire at Florida high school',1,2674,31625),(288,'Russia warns US against \'meddling\' in presidential election',1,2014,31592),(289,'Nebraska flag flew upside down at Capitol for 10 days and \'nobody noticed,\' says senator who wants design change',1,2101,31519),(290,'Georgia lawmaker: Can people with HIV be \'legally\' quarantined?',1,3827,31412),(291,'<NAME> warns Taco Bell: \'The illuminati is not a frivolous subject\'',1,1431,31241),(292,'German zoo\'s \'escaped\' animals didn\'t actually escape, just hiding',1,865,31055),(293,'To fight high drug prices, Utah will pay for public employees to go fill prescriptions in Mexico',1,1653,31031),(294,'Court Recommends Electronic Monitoring For Woman Accused Of Escaping Electronic Monitoring',1,401,30998),(295,'Slovakian woman arrested for playing opera non-stop for 16 years',1,1594,30913),(296,'Moscow Says It Has Nothing to Do With Hundreds of Tanks in Eastern Ukraine',1,2540,30766),(297,'<NAME> sued for posting paparazzi photo of herself on Instagram',1,3126,30745),(298,'Grizzly bears go vegetarian due to climate change, choosing berries over salmon',1,1130,30687),(299,'Denver police have forgotten about people in their custody overnight three times this year',1,1583,30697),(300,'Lady Gaga\'s super bowl halftime performance was actually a Satanic ritual, say the Alt-Right',1,1049,30650),(301,'And You Thought Your Day Was Bad: Suspects Pocket Dial 911, Discuss Plans To Rob Restaurant...Where Police Chief Was Eating',1,1006,30505),(302,'Omaha dad finds pot brownies, eats 4 of them, says mean things to cat',1,1995,30452),(303,'Utah lawmaker doesn\'t recommend \'shooting up marijuana,\' but says \'no big deal\' after first-use',1,1009,30239),(304,'The Queen reported to West Yorkshire Police for \'not wearing seat belt\'',1,1638,30221),(305,'Half of 8th grade class from New Jersey refuses to pose with Speaker Ryan',1,3456,30149),(306,'A man found 54 human hands in the snow. Russia says they’re probably just trash',1,920,30106),(307,'Applebee\'s is betting on stress eaters, and it\'s paying off',1,2945,30073),(308,'Man who ordered gluten-free meal on flight is given a single banana – and cutlery to eat it with',1,3482,30026),(309,'Suicidal man doused in gasoline catches fire after police use Taser on him',1,1946,29952),(310,'Black US politician reported to police while canvassing for votes',1,10,29836),(311,'App concept records sexual consent in legally binding agreement',1,4003,29798),(312,'Women-only network appoints male chairman',1,2221,29764),(313,'Workmen\'s cafe overwhelmed with customers after it is accidentally awarded a Michelin star',1,1525,29757),(314,'<NAME> officially names Obamacare replacement \'World\'s Greatest Healthcare Plan of 2017’',1,2469,29762),(315,'Police nab \'Nigerian prince.\' He\'s a 67-year-old guy in Slidell. Who knew?',1,1144,29702),(316,'B.C. couple loses child custody after stuffed lion purportedly transmitting the word of God acted as their lawyer',1,1341,29410),(317,'Town with brown water has no record of cleaning its water tower',1,1617,29353),(318,'<NAME>\'s third-grade teacher suspended after saying he ate glue as child',1,1914,29327),(319,'Japanese firm to use drone to force overtime staff to go home',1,1279,29321),(320,'<NAME>: Televangelist whose church closed during Hurricane Harvey tells victims not to have \'Poor Me\' Attitude',1,2617,29271),(321,'<NAME> Says Being Declared A Sexually Violent Predator Will Damage His Reputation',1,1442,29193),(322,'Fortnite Addiction Is Becoming a Problem for Major League Baseball',1,1086,29153),(323,'<NAME> is being considered for energy secretary, a position he wanted to eliminate',1,2935,29105),(324,'Black actor in play about racism complains after police mistake him for drug dealer outside theatre',1,1125,29032),(325,'Teenager on the run responds to police on FB, asks them to use better picture of her',1,1433,28976),(326,'Australia sends out same-sex marriage survey with barcode \'bumsex\'',1,842,28952),(327,'Police: Thieves using blowtorch to steal from Everett ATM accidentally set cash on fire',1,1012,28946),(328,'<NAME>ump\'s team \'holding meetings in the dark as they can\'t find right light switch in White House\'',1,2037,28922),(329,'China Launches World’s First All-Electric Cargo Ship, Will Use It To Haul Coal',1,726,28811),(330,'Man\'s <NAME>\'s flag mistaken for ISIS flag by \'worried\' neighbors',1,950,28815),(331,'Pregnant women\'s bodies are \'hosts\', says US lawmaker',1,4156,28799),(332,'Michigan cops may soon be barred from having sex with prostitutes while undercover',1,1717,28770),(333,'White noise video on YouTube hit by five copyright claims',1,960,28733),(334,'Trump misquotes himself while claiming Wall Street Journal misquoted him about Kim Jong Un',1,1595,28629),(335,'Star Wars villain <NAME> becomes fastest-rising baby name in the US',1,3166,28530),(336,'67-year-old man dies from heart attack after catching prized Pokemon \'Lapras\' at MBS',1,958,28516),(337,'Police unsure if car dangling from Toronto bridge is part of movie shoot',1,657,28511),(338,'Nordstrom offering pre-dirtied jeans for $425',1,2480,28445),(339,'Alberta police dog accidentally fires handgun found after parking lot fight',1,1112,28418),(340,'Thousands sign up to clean sewage because they didn\'t read the small print',1,1107,28316),(341,'Some Rivers Are So Drug-Polluted, Their Eels Get High on Cocaine',1,785,28177),(342,'With ingestible pill, you can track fart development in real time on your phone',1,942,28166),(343,'Man arrested for speeding in DeLorean at 88mph',1,949,28165),(344,'Man Uses $1m Win To Finally Visit Doctor, Gets Terminal Cancer Diagnosis, Dies Weeks Later',1,2016,28147),(345,'Police Use Taser on Woman, 87, Who Family Says Was Cutting Dandelions',1,1045,28133),(346,'Balenciaga\'s $2,145 bag is just like Ikea\'s 99 cent tote',1,1995,28120),(347,'Trump’s press secretary has been fighting with Dippin’ Dots for 5 years',1,1698,28112),(348,'FEC declares Kid Rock couldn\'t have run for senate as \"Kid Rock,\" thus clearing him of federal complaints',1,1166,28082),(349,'<NAME> tweets Zodiac Killer confession, extending the internet\'s favorite meme',1,1160,28064),(350,'US Department of Education misspells name of civil rights activist <NAME> — then misspells apology tweet',1,1324,28067),(351,'Radio ad in Arkansas suggests ‘lynching’ if Democrats win',1,1999,28059),(352,'Bitcoin mining could cancel out climate change efforts, scientists say',1,2833,28045),(353,'Florida Didn\'t Conduct Gun Background Checks for a Year Because an Employee Couldn\'t Log In',1,1214,28034),(354,'Uber can\'t keep down accusations of \"vomit fraud\" against its drivers',1,3268,27968),(355,'\'You will never be forgotten\' headstone left behind at airport',1,431,27919),(356,'Man Survives Jumping Into Zoo\'s Elephant Enclosure as Animals Show Mercy and Escort Him Out',1,837,27776),(357,'Youth leader facing sex charges claims teen was \'keen as a jellybean\'',1,1955,27774),(358,'Cabinet member praises absence of protest in a country where protests are illegal',1,907,27719),(359,'Adidas Apologizes After Sending ‘You Survived’ Email to Boston Marathon Finishers',1,1193,27685),(360,'Meanwhile, on Reddit, dudes can’t stop talking about fucking coconuts',1,961,27589),(361,'Laid-off state employees being called back to staff unemployment compensation centers',1,1626,27570),(362,'Africa Trade Meeting Has No Africans After US Visa Denials',1,1638,27544),(363,'Winnipeg\'s 1st toking and driving ticket issued 1 hour into legalization',1,1614,27484),(364,'Rio diving pool—still green—now closed and smells like farts',1,2330,27474),(365,'Facebook apologizes after labeling part of Declaration of Independence \'hate speech\'',1,2419,27408),(366,'Japanese security firm finds success with guards dressed as ninja',1,682,27395),(367,'Woman on trial for laughing during Jeff Sessions\' confirmation hearing',1,3016,27384),(368,'More states allow sunscreen at schools without doctor’s OK',1,2655,27385),(369,'<NAME>: \'The lack of an ability to compromise led to the Civil War\'',1,5799,27362),(370,'Republican Congressman Says God Will \'Take Care Of\' Climate Change',1,2840,27342),(371,'Footballer accidentally thanks his wife and girlfriend in incredible man of the match speech',1,1265,27328),(372,'Lawmakers sick after drinking raw milk to celebrate legalizing raw milk',1,3155,27298),(373,'Seattle Times apologizes for not knowing where Alabama, Mississippi are located',1,2159,27221),(374,'Google CEO responds to Steve King\'s iPhone concerns: \'Congressman, iPhone is made by a different company\'',1,1366,27208),(375,'I acted as a man to get work - until I was accused of rape',1,1440,27148),(376,'Uk surgeon finds 27 missing contact lenses in woman’s eye',1,1522,27145),(377,'15-year-old activist accuses world leaders at UN climate conference of \'behaving like children\'',1,966,27121),(378,'Netflix develops marijuana strains based on its original shows',1,920,27109),(379,'Venezuela\'s currency now worth so little shopkeepers weigh vast piles of notes instead of counting them',1,3630,26968),(380,'Theatre-goer attacks ‘Roman soldier’ in a bid to rescue ‘Jesus’ from being crucified',1,1496,26967),(381,'New Zealand thrash-metal band will miss Salt Lake City show, because they’re too young to enter a bar',1,954,26857),(382,'Wal-Mart Asks Employees to Deliver Packages on Their Way Home',1,2863,26790),(383,'Black teenage woman, mistaken for machete-wielding black man, alleges police brutality',1,4394,26772),(384,'Man who stood in line to rob bank wearing mask and gloves wasn\'t queried because staff thought he may have skin condition',1,700,26746),(385,'Australian man patents the Hamdog - a hotdog and burger combo',1,2082,26729),(386,'Mother files federal lawsuit after son doesn’t make varsity team',1,2205,26678),(387,'Chinese farmer unleashes 300 million hungry cockroaches to eat food waste',1,1430,26650),(388,'In a Leaked Memo, Apple Warns Employees to Stop Leaking Information',1,400,26493),(389,'Video: SNES Classic Runs PSone Games Better Than The PlayStation Classic',1,1093,26350),(390,'People stroll by as reporter ‘braces’ against wind. Weather Channel blames ‘wet grass’',1,1167,26309),(391,'\'Lesbianism\' listed as condition on North Carolina woman\'s medical chart',1,3190,26298),(392,'Martial arts academy posts how-to video for defending against Trump handshake',1,1099,26268),(393,'Woman becomes a princess after marrying Ethiopian prince she met in nightclub',1,911,26255),(394,'White St. Louis police officer shoots off-duty black officer',1,3965,26229),(395,'Man crushed to death by forklift truck driven by pet dog',1,668,26227),(396,'Only \'thoughts and prayers\' will stop evil behind shootings, Florida state senator says',1,2046,26201),(397,'Woman \'secretly fattened up bridesmaids before wedding\'',1,1726,26161),(398,'Crystal Palace fans accidentally vandalise their own team bus',1,841,26149),(399,'Japanese police arrest 74-year-old ninja thief suspect',1,896,26095),(400,'Tulsa Officer Acquitted of Killing Unarmed Black Man Holds Police Shooting \'Survival\' Class',1,2502,26051),(401,'Fans are legitimately upset that <NAME> didn\'t race a real shark',1,1764,26042),(402,'Man tweets <NAME>ter book line-by-line to <NAME>',1,1758,25945),(403,'Japanese zoo mourns anime-loving celebrity penguin',1,721,25942),(404,'\'Shock\' as Vatican document says it is \'not essential\' that consecrated virgins be actual virgins',1,1526,25920),(405,'Texas town holds .5K - not 5K - for underachievers',1,885,25900),(406,'Chinese dating apps closed after women revealed to be robots',1,1248,25866),(407,'Tillerson: \'I didn\'t want this job ... My wife told me I\'m supposed to do this\'',1,2632,25726),(408,'Anger as Churchill\'s home is turned into Hitler HQ for Transformers 5',1,2711,25705),(409,'Thieves replace Paraguay police rifles with toy replicas',1,460,25573),(410,'Man marks his ex-girlfriend\'s apology letter and sends it back to her',1,2099,25544),(411,'Second Spanish church falls prey to well-intentioned restorer',1,1013,25536),(412,'Rapper Soulja Boy Releases New Handheld Game Console and It Looks Terrible',1,1470,25444),(413,'Doctors save Canadian woman\'s life by removing her lungs for six days',1,1080,25427),(414,'Exclusive: Neo-Nazi and National Front organiser quits movement, opens up about Jewish heritage, comes out as gay',1,874,25412),(415,'Canada\'s immigration website crashes on election night',1,1905,25417),(416,'\'Don\'t get shot by police\' is goal of new advice in Arizona driver\'s manual',1,2741,25397),(417,'The USMC would like you to know that being in armed combat is exactly like playing Super Smash Bros.',1,1297,25332),(418,'Man searching for toilet stumbles across 49,000 year-old evidence of earliest human settlement in Australia',1,643,25330),(419,'Man given $149 ticket for singing 90s dance song while driving',1,1816,25323),(420,'Carjackers leave man\'s car behind after discovering it has a manual transmission',1,3087,25280),(421,'Finance boss stole £370k from his firm and bought kittens',1,467,25262),(422,'Cyclist celebrates stage win a lap early, goes on to finish 148th',1,500,25260),(423,'Bride cancels wedding, breaks up with fiancé after friends and family refuse to pay for $60G nuptials',1,2211,25213),(424,'<NAME> Tweets SNL Is ‘Totally Biased’ After Sketch About His Twitter Habit',1,1399,25206),(425,'\'This Must Be Some Mistake,\' Says Snowboarder After Winning Olympic Gold In Skiing',1,926,25175),(426,'<NAME> brags that he’s a “number one meme” during custody trial',1,2125,25118),(427,'<NAME>’s ‘Who Is America?’ Deleted Scene May Have Exposed Elite Pedophile Sex Ring',1,2084,25105),(428,'Gold Coast police urging victims to drop complaints to improve crime statistics',1,1038,25081),(429,'Viral Chinese video game measures which players can clap fastest for President <NAME>',1,1224,25063),(430,'King of West African tribe returns to landscaping job in Canada',1,1147,24954),(431,'Bill would block computers bought in S.C. from accessing porn',1,5361,24826),(432,'David Attenborough Themed Raves Are Taking The UK By Storm',1,616,24820),(433,'Dead or Alive Xtreme PC will downgrade boob physics on low-end hardware',1,1404,24798),(434,'People with serious food allergies want impostors to stop faking it in restaurants',1,4163,24497),(435,'Qipao prom dress that caused a culture furore in the US draws head-scratching in China',1,5610,24434),(436,'Suicide Squad fans petition to shut down Rotten Tomatoes after negative reviews',1,5105,24432),(437,'U.S.-born panda twins struggle in China as they know only English',1,712,24428),(438,'North Korea bans sarcasm because Kim Jong-un fears people only agree with him ‘ironically’',1,606,24410),(439,'We regret to inform you that Rugrats now has a porn parody',1,1464,24383),(440,'Pizza delivery man gets $180K settlement after being crushed by 400 pounds of cheese',1,593,24362),(441,'Iceland witnesses record-breaking baby boom nine months on from humiliating England at Euro 2016',1,397,24335),(442,'Gunman apparently stopped shooting to post online',1,2669,24305),(443,'Wisconsin DNR sold 10 hunting licenses to infants',1,1389,24195),(444,'Ryanair asks wheelchair user to walk up stairs, leaves her crying at the gate',1,3131,24188),(445,'Payless Opens Fake Luxury Store, Sells Customers $20 Shoes For $600 In Experiment',1,1888,24156),(446,'House Republicans claim an annual salary of $450,000 is middle class',1,2530,24117),(447,'Porn Site xHamster Wants to Produce ‘Sense8’ Season 3',1,1394,24096),(448,'British Airways system outage \'caused by IT worker accidentally switching off power supply’',1,1197,24077),(449,'Man crashes into tree after driving with his head out car window \'like Ace Ventura\'',1,387,24061),(450,'ESPN: Browns want to interview former Secretary of State Condoleezza Rice for head coaching job',1,972,24042),(451,'<NAME> thinks she would have been social figure like <NAME> if it weren\'t for sex tape',1,2538,24024),(452,'UK believes Kremlin behind prank call to Foreign Secretary <NAME>',1,638,24017),(453,'China Communist Party Kicks Out General Who Killed Himself',1,485,23994),(454,'Police: Man angry he can\'t pump own gas in New Jersey punches worker',1,4330,23956),(455,'Perth man says \'thanks\' after thief leaves money, removes problem stereo',1,1093,23948),(456,'Officer gives firefighter apology cake: ‘Sorry I tased you’',1,573,23945),(457,'Exorcisms booming as Christian faith declines and internet offers easy access to black magic, priests told',1,1394,23940),(458,'Health Canada Warning Reminds Public Not to Eat Laundry Pods',1,1135,23891),(459,'Bike manufacturer sees huge reduction in delivery damage by printing TV on the box',1,904,23882),(460,'Trump puts Bannon on security council, dropping joint chiefs',1,5188,23866),(461,'Agencies advise on possible \'Lizard Man,\' \'Bigfoot\' sightings in South Carolina during eclipse',1,1850,23789),(462,'Half of Detroit’s 8 mayoral candidates are felons',1,1922,23693),(463,'Write-in votes for <NAME> may have swayed Alabama Senate',1,1698,23687),(464,'California Lawmaker Nicknamed \'<NAME>\' Told to Stop Hugging People',1,1125,23677),(465,'Derailed train car hits bar named \'DeRailed\' in Iowa',1,499,23637),(466,'Walmart is being sued for inventing a fake craft brewery',1,1822,23584),(467,'School tells sixth-graders they can\'t say no when asked to dance',1,2237,23563),(468,'Judge can’t end a trial just because he has ‘heard enough,’ appeal court rules',1,578,23537),(469,'U.S. government ordered to solve \'Case of the Incredible Shrinking Airline Seat\'',1,2326,23483),(470,'Comcast complains it will make less money under Calif. net neutrality law',1,1254,23476),(471,'\'The Drug Whisperer\': Drivers arrested while stone cold sober',1,2614,23425),(472,'Textbook calls cancer a ‘disease of choice’ -- and it’s required reading for UNC students',1,1279,23289),(473,'Chicago goes nearly one week without a fatal shooting',1,1206,23214),(474,'New Yorkers repeatedly ticketed — even though they don’t have a car',1,1148,23205),(475,'Man \'pulled bag of cocaine from penis\' after arrest for laughing at cops',1,1039,23063),(476,'Researchers suggest replacing car honks with duck quacks',1,1022,23036),(477,'Deputies: Pinellas Park man Googled \'how to rob a bank\' then robbed a bank',1,972,23029),(478,'After 5 Days, Man in Gorilla Suit Almost Done Crawling the London Marathon',1,389,23016),(479,'Wi-Fi sex toy with built-in camera fails penetration test',1,887,23012),(480,'Arizona man selling ranch for $5M due to constant ‘alien attacks’',1,1070,22925),(481,'Lego admits it made too many bricks',1,1637,22892),(482,'Chinese restaurant offers bra-size discounts',1,1842,22874),(483,'Robot being trained to shoot guns is ‘not a terminator’, insists Russian deputy prime minister',1,1192,22835),(484,'London: Firefighter tries rescuing a Macaw parrot stuck in a roof, is asked to \'F*ck off\' by the bird',1,311,22783),(485,'Microsoft pulls plug after chat robot slings slurs, rips Obama and denies Holocaust',1,1833,22761),(486,'Queen\'s patronage has single-handedly saved the British hat industry, Philip Treacy says',1,487,22742),(487,'Rocket City Trash Pandas chosen as new Madison baseball team’s name',1,672,22741),(488,'Donkey leads escaped herd of goats and sheep through California neighborhood',1,585,22743),(489,'Crew called to own station: Response time \'exceptional’',1,435,22670),(490,'Report: Some patients treated for putting sunblock in their eyes during eclipse',1,1065,22611),(491,'NotTheOnion stands for Net Neutrality',1,1062,22585),(492,'The Teen Who Ashton Kutcher Hit With a Car Is Fine and Says It Turned Out to Be a \'Really Cool Experience\'',1,684,22575),(493,'W.Va. lawmakers try to give teachers smaller raise, accidentally pass bill giving them full raise',1,1137,22539),(494,'Report of Tiger Running Amok in Manhattan Turns Out to Be Raccoon: NYPD',1,420,22492),(495,'The totally wireless AirPods have their first accessory: a wire',1,1425,22487),(496,'Italy\'s Sara Errani suspended for just two months after blaming mum\'s tortellini for failed drugs test',1,854,22429),(497,'White House on banning CNN reporter from event: \'We support a free press\'',1,1766,22417),(498,'Former Norway PM held at Washington airport over 2014 visit to Iran',1,2213,22388),(499,'American Apparel founder <NAME>: ‘Sleeping with people you work with is unavoidable’',1,2102,22377),(500,'Dad Accused of Raping Daughter Saved by Mention of \'Fifty Shades of Grey\'',1,6277,22318),(501,'TPD says man stole car from jail parking lot, moments after being released from same jail',1,1129,22295),(502,'2 teen girls shot as Birmingham water balloon fight turns into gun fight at Senior Skip Day',1,486,22151),(503,'DOT reminds drivers deer can\'t read signs',1,885,22124),(504,'A 2nd Olympic pool has turned green',1,1813,22109),(505,'\'No Way To Prevent This,’ Says Only Nation Where This Regularly Happens',0,3066,34993),(506,'Trump Warns Removing Confederate Statues Could Be Slippery Slope To Eliminating Racism Entirely',0,1890,27428),(507,'‘No Way To Prevent This,’ Says Only Nation Where This Regularly Happens',0,1204,21130),(508,'<NAME> Retires From Politics To Spend More Quality Time With Someone\'s Kid',0,126,18071),(509,'<NAME> Disappointed In The 200,000 Husbands And Fathers Who Permitted Women To Attend March',0,333,16751),(510,'<NAME> Disappointed God Has Never Asked Him To Kill One Of Own Children',0,188,15839),(511,'<NAME>: \'I Didn’t Realize People Who Commit Suicide Kill Themselves\'',0,256,14832),(512,'RNC: \'We Warned You Gay Marriage Would Be A Slippery Slope Toward Accepting Pedophilia\'',0,233,13996),(513,'‘No Way To Prevent This,’ Says Only Nation Where This Regularly Happens',0,1478,12485),(514,'<NAME> Confident American People Will Warm Up To Tax Plan Once They Realize Life A Cruel And Meaningless Farce',0,383,11447),(515,'Heartwarming: When This McDonald’s Employee Had To Walk 20 Miles To Work Because He Couldn’t Afford A Car, The CEO Of McDonald’s Drove Alongside Him To Cheer Him On',0,113,10372),(516,'<NAME>. Tries To Cover Up Contact With WikiLeaks By Deleting Firefox Icon From Desktop',0,151,10144),(517,'Political Scientists Baffled By Trump’s Ability To End Something He Had No Control Over Just Days Ago',0,341,9091),(518,'Gay Conversion Therapists Claim Most Patients Fully Straight By The Time They Commit Suicide',0,90,9048),(519,'\"No way to prevent this\" says only nations where this regualrly happens',0,494,7110),(520,'‘Nothing Is More Attractive Than Confidence,’ Says Woman Who Has Apparently Never Seen Sonic The Hedgehog Cosplay',0,58,7065),(521,'‘No Way To Prevent This,’ Says Only Nation Where This Regularly Happens',0,412,6320),(522,'My Doctor Told Me I Should Vaccinate My Children, But Then Someone Much Louder Than My Doctor Told Me I Shouldn’t',0,86,5158),(523,'I Won\'t Have My Daughter Bringing A Black Man Into This House Until I\'ve Tidied Up And Created A Welcoming Environment',0,79,5088),(524,'‘No Way To Prevent This,’ Says Only Nation Where This Regularly Happens',0,450,3967),(525,'‘The Onion’ Proudly Stands With The Media As The Enemy Of The People',0,89,3299),(526,'‘Paw Patrol’ Writers Defend Episode Where German Shepherd Cop Shoots Unarmed Black Lab 17 Times In Back',0,52,3137),(527,'Liberal Hypocrisy: When Obama Was President Democrats Were Okay With Him Being President, But When Trump Is President Suddenly It’s Wrong To Be President?',0,74,2792),(528,'Next-Level Gaming: The New ‘Call Of Duty’ Will Penalize Players For Shooting Nazis Who Are Actually Very Fine People',0,35,2766),(529,'Hardcore Gamers Only: ‘Overwatch’ Is Increasing Its Difficulty By Adding A Senior-Citizen Character That’s A Financial Drain And Emotional Burden On Their Whole Team',0,34,2740),(530,'I Was Never Able To Accept My Son’s Autism Until I Monetized It Through Blogging',0,11,2597),(531,'When This Boy With A Colostomy Bag Said He Was Sad There Were No Superheroes Like Him, Marvel Told Him It’s Absolutely Crucial For Superheroes To Have A Functioning Anus',0,46,2587),(532,'<NAME> Still Rock-Hard Days After Being Publicly Humiliated On National Stage',0,39,2436),(533,'‘No Way To Prevent This,’ Says Only Nation Where This Regularly Happens',0,142,2384),(534,'‘I Don’t Fit Into Any Of Corporate America’s Little Boxes,’ Says Single, 18-To-36-Year-Old Hispanic Female With Brand Loyalty To Tom’s, Chobani',0,36,2363),(535,'Study reveals lobsters feel pain and get off on it like the kinky little perverts they are',0,22,2319),(536,'\'No way to prevent this\' says only nation where this regularly happens',0,131,2251),(537,'Fox News Struggling To Attract Younger 60-75 Demographic',0,19,2118),(538,'Man Worried New ‘Jumanji’ Movie Going To Ruin Memory Of Mediocre Afternoon In 1995',0,29,2103),(539,'Christian Pornographer Refuses To Film Sex Tape For Gay Couple',0,37,2091),(540,'Elon Musk Offering $1.2 Billion In Grants To Any Project That Promises To Make Him Feel Complete',0,24,2059),(541,'Third-Grader Watching Another Year Of Back To School Commercials Suddenly Realizes He’ll Die One Day',0,24,2027),(542,'PatriotHole: Liberal Hypocrites: Why Are Dems Criticizing Roy Moore When PEDO PREZ Barack Obama Is Still Married To FORMER TEENAGER Michelle Obama?',0,66,1983),(543,'Dangerous Teen Trend: It’s Called ‘Worrying That Donald Trump’s Supreme Court Nominee Will Overturn Vital U.S. Civil Rights Decisions,’ And It’s What Millions Of U.S. Adolescents Are OBSESSED With Today',0,60,1979),(544,'“ We Must Protect The Pure Aryan Bloodline” Says Child After 9 Minutes of Unsupervised Facebook Access.',0,17,1949),(545,'This Child Would Have Turned 6 Today If His Mother Hadn\'t Given Birth To Him In October',0,13,1876),(546,'Incredible Realism: The Campaign In The Next ‘Call Of Duty’ Will Begin At Your Avatar’s High School Cafeteria When He’s Being Tricked Into Joining The Military By A Recruiter',0,26,1855),(547,'‘Oh God, What Happened Last Night?’ Says Groggy Mike Pence After Waking Up In Same Bed As Wife',0,20,1844),(548,'Trump Locked Out Of White House After Accidentally Revoking Own Security Clearance',0,29,1782),(549,'Blog: If You’re Not A Police Officer, You Can’t Understand The Pressure You Feel In The Split Second When You Have To Decide Whether Or Not To Shoot An Unarmed Civilian 8 Times',0,26,1765),(550,'Overstepping Her Bounds: <NAME> Has Announced That Daenerys From ‘Game Of Thrones’ Has Crohn’s Disease',0,68,1757),(551,'Dog Who Successfully Detected Cancer In Owner Put Down For Practicing Medicine Without A License',0,19,1695),(552,'Stupid 16-Year-Old Completely Wasting Adderall Prescription On Mental Health',0,29,1689),(553,'Kavanaugh Sobering Up After 35-Year Bender Shocked To Find Out He’s Supreme Court Nominee',0,51,1671),(554,'‘No Way To Prevent This,’ Says Only Nation Where This Regularly Happens',0,176,1665),(555,'‘The Onion’ Has Chosen To Publish An Anonymous Op-Ed From Two Sources Close To Trump Who Think Their Dad Is The Best President Ever',0,21,1605),(556,'Report: Uttering Phrase ‘Easy Does It’ Prevents 78% Of Drywall Damage While Moving Furniture',0,12,1605),(557,'Barbara Bush Passes Away Surrounded By Loved Ones, Jeb',0,25,1600),(558,'Teen who just discovered Led zeppelin starting to piss off friends.',0,57,1601),(559,'Voting Machines Elect One Of Their Own As President',0,25,1583),(560,'Man At Airport Pissed That Other People Had Same Idea To Go Home For Thanksgiving',0,5,1583),(561,'U.S. Military Announces Plan To Consolidate All Wars Into Final, Epic Battle',0,26,1576),(562,'Incredible Sacrifice: This Mom Went Without Food For Days At A Time So Her Children Could Have A Smoking-Hot Mom',0,11,1530),(563,'Family Has Way Too Many Daughters For Them Not To Have Been Trying For Son',0,33,1524),(564,'Trump: ‘We Will Fight In Afghanistan Until Victorious, Or I Change My Mind, Get Distracted, Look Bad, Or Get Bored’',0,15,1514),(565,'Amazon Fires Warehouse Worker Who Took Unauthorized Breath',0,9,1508),(566,'GOP Makes Good On 2009 Promise To Block President\'s Healthcare Bill',0,8,1494),(567,'Man Who Has Clocked 137 Hours In RPG Can’t Believe He Has To Waste Precious Time Watching Cutscenes',0,35,1466),(568,'News: Clearing His Name: Congress Has Exonerated <NAME> Of All Wrongdoing After He Revealed That The Winklevoss Twins Were The Ones Who Really Invented Facebook',0,23,1461),(569,'More Elderly Americans Keeping Active By Maintaining Control Of Senate',0,17,1450),(570,'‘I Must Make Sure You Have The Skills To Please My Grandson,’ Says Queen Elizabeth Disrobing Before Meghan Markle',0,23,1450),(571,'15,000 Brown People Dead Somewhere',0,11,1430),(572,'Generous Military Sends $800 In Disability To Man Who Wakes Up Screaming Every Night',0,38,1423),(573,'Picky Refugee Just Expects To Be Reunited With Exact Same Family As Before',0,10,1421),(574,'NRA Says Parkland Students Should Be Grateful For Guns Giving Them Such A Memorable Bonding Experience',0,27,1415),(575,'Pence Unveils Campaign To Educate Teens About Dangers Of Premarital Eye Contact',0,11,1400),(576,'News: Defending The Second Amendment: The NRA Is Attempting To Justify The Sale Of AR-15s By Developing Genetically Modified Super Deer That Can Only Be Hunted With Assault Rifles',0,119,1393),(577,'Trump Claims He Can Overrule Constitution With Executive Order Because Of Little-Known ‘No One Will Stop Me’ Loophole',0,35,1389),(578,'Woman Who Left Room Crying Earlier Expects To Jump Back Into Party Just Like That',0,12,1393),(579,'Younger Cousin’s Growth Spurt Throws Off Competitive Balance At Family’s Thanksgiving Touch Football Game',0,6,1370),(580,'White Guy Held Accountable For Crime',0,27,1363),(581,'Weird Black Dot Actually Part Of Bowl',0,8,1359),(582,'Mom Makes Sure Everyone Has Masturbated Before Long Car Ride',0,30,1363),(583,'Jesus Announces Plans To Return Once The Dow Clears 27,000',0,6,1360),(584,'I Slapped A Crying Child And Called Him A Nigger And I\'m The Bad Guy?',0,27,1353),(585,'Report: We Don’t Make Any Money If You Don’t Click The Fucking Link',0,23,1353),(586,'Hand Of <NAME>. Bush Bursts Out Of Ground To Grope One Last Woman',0,30,1345),(587,'Police Department Reduces Costs By Using Same Evidence For Every Investigation',0,11,1324),(588,'Extremely Polite: This Kid On Vacation With His Friend’s Family Hasn’t Taken A Shit For The Last 6 Days',0,24,1323),(589,'PatriotHole: Sorry Liberals, But Gun Control Won’t Stop Jackie Chan If He Wants To Take Out 30 People With A Single Mop',0,13,1318),(590,'News: Privacy Win! Facebook Is Adding A ‘Protect My Data’ Button That Does Nothing But Feels Good To Press',0,12,1315),(591,'3 Bible Stories That You Can Bet Would Have Turned Out Very Differently If Jackie Chan Had Been There',0,9,1308),(592,'Pope Nervous For Annual Performance Review With God',0,7,1294),(593,'Archaeological Dig Uncovers Ancient Race Of Skeleton People',0,17,1296),(594,'Modern Science Still Only Able To Predict One Upcoming Tetris Block',0,11,1284),(595,'So Sweet! When This Little Girl Was Scared There Were Monsters Under Her Bed, Her Dad Shined A Flashlight Down There To Show Her It Was Just Some Normal Guys',0,7,1272),(596,'Fearful Americans Stockpiling Facts Before Federal Government Comes To Take Them Away.',0,12,1246),(597,'Manager Of Combination Taco Bell/KFC Secretly Considers It Mostly A Taco Bell',0,18,1241),(598,'Woman Trying To Wean Self Off Coffee By Switching To Long Island Iced Tea',0,4,1243),(599,'WWE Staff Forced To Shoot Aggressive Wrestler After Child Climbs Into Steel Cage',0,14,1240),(600,'Trump Insists That Now, More Than Ever, Americans Must Stand Strong In Face Of Empathy',0,23,1227),(601,'Touching: The NRA Is Releasing A Commemorative Line Of AR-15 Rifles To Raise Money For The Victims In Parkland',0,26,1225),(602,'Trump Vehemently Denies Using Word \'People\' To Describe African Immigrants',0,9,1230),(603,'Poll: 56% Of Voters Say Country Better Off Than It Was 4 Eons Ago',0,11,1228),(604,'Entire Shopping Mall Quietly Dreading Whatever Empty Stage Set Up For',0,14,1216),(605,'ABC Criticized For Unrealistic Portrayal Of Racists Actually Facing Consequences',0,13,1214),(606,'PR Disaster: Nike Is Under Fire After It Released An Ad Featuring A Photo Of <NAME> That Was Way Too Close Up',0,36,1209),(607,'\'Repealing Net Neutrality Will Help Spur Innovation\' Announces Face Of Ajit Pai Blaring From Every Computer Screen In Nation',0,4,1214),(608,'Man Still Trying To Find Right Work-Anxiety–Life-Anxiety Balance',0,8,1204),(609,'\'<NAME>,\' Says Man Who Spent Previous Day Masturbating In Darkened Room',0,16,1197),(610,'<NAME> Immediately Decks White House Intern After Being Let Back Into Press Pool',0,18,1200),(611,'Barbaric Fifth Grader Gouges Paper Onto Binder Ring Without So Much As Hole Punch',0,10,1196),(612,'<NAME> Relieved He’s Never Taken Stance Meaningful Enough To Have Someone Mail Him Explosive',0,13,1175),(613,'Woman Who Changed Self To Please Boyfriend Enjoying Happy Long-Term Relationship',0,9,1178),(614,'Researchers Find Decline In Facebook Use Could Be Directly Linked To Desire To Be Happy, Fully Functioning Person',0,29,1158),(615,'Supreme Court Rules Death Penalty Is ‘Totally Badass’',0,18,1157),(616,'4 Ancient Civilizations That Independently Developed Rudimentary Versions Of ‘Seinfeld’',0,7,1142),(617,'Paleontologists Determine Dinosaurs Were Killed By Someone They Trusted',0,7,1140),(618,'Master Dealmaker: Donald Trump Negotiated With Kim Jong-Un To End The U.S.’s Nuclear Weapons Program In Exchange For Reduced Sanctions On North Korea',0,37,1139),(619,'Parents Gently Explain To Son Why Family Dog Had To Be Blown Up With Dynamite',0,15,1138),(620,'Study Finds Humans Evolved Fingers To Stop Dropping Stuff',0,26,1132),(621,'Video Game Henchmen Plan Meetup Around Explosive Barrels',0,6,1128),(622,'Life-Saving Drug More Accessible To Lab Rat Than Majority Of Americans',0,23,1130),(623,'‘You Are All Inside Amazon’s Second Headquarters,’ <NAME> Announces To Horrified Americans As Massive Dome Envelops Nation',0,10,1125),(624,'Kavanaugh On Sexual Assault Allegations: ‘I Miss High School’',0,21,1126),(625,'Half Of Morning Run Spent Trying To Change Song On Phone',0,14,1128),(626,'Wealthy Americans Assure Populace That Heavily Armed Floating City Being Built Above Nation Has Nothing To Do With Anything',0,21,1122),(627,'The Duality Of Man: This Little Boy’s Screams Are Similar To Those Of A Little Bitch',0,6,1120),(628,'Man At Park Who Set Up Table Full Of Water Cups Has No Idea How Passing Marathon Runners Got Impression They Can Take Them',0,9,1112),(629,'Roommates Assured Girlfriend Only Staying Over For Entire Duration Of Relationship',0,14,1103),(630,'Heartwarming: When This Kid Was Eating Lunch Alone, His Classmates Summoned The Devil To Sit With Him',0,10,1101),(631,'Classic: Why Do All These Homosexuals Keep Sucking My Cock?',0,22,1105),(632,'Jumping The Gun: This Kid On A Road Trip Just Started Pissing Into A Bottle Without Even Asking His Parents To Find Him A Bathroom Or Anything',0,15,1096),(633,'Absolutely Amazing: Biblical Scholars Have Discovered That Christ’s Eyes Were Much Lower Down On His Face Than Previously Believed',0,17,1087),(634,'Lottery Ticket Holder Has Already Spent $900 Million In Anticipation Of Winning Big Prize',0,9,1085),(635,'P<NAME>’s Comes Under Fire For Cruel Treatment Of The Bulbous, Deformed Creatures That Lactate Pizza Sauce',0,12,1079),(636,'Man Spends Long Day At Work Waiting To Go Home And Be Lonely',0,32,1077),(637,'Couple’s Fucked-Up Presex Ritual Involves Tucking Both Kids Into Bed',0,8,1071),(638,'Look Who Came Crawling Back: The Filthy Public Toilet Stall You Thought You Were Too Good For Turned Out To Be Your Best Option',0,7,1070),(639,'Another Failure: Facebook Is Scrambling To Beef Up Security After Discovering Millions Of Users Who Falsely Listed Their Education As ‘School Of Hard Knocks’',0,12,1076),(640,'Local Man Unsure If Woman Type Of Lesbian Who Only Dates Women',0,16,1071),(641,'Thanksgiving Affords Nation Rare Opportunity To Eat Large Amounts Of Food While Watching Football',0,5,1071),(642,'Plan To Be More Positive Off To Shitty Fucking Start',0,9,1055),(643,'Flying Safety FTW! American Airlines Will Be Placing A Weapon Under The Seat Of Each Passenger To Be Used In The Event Of An All-Out Battle Royale',0,17,1061),(644,'Olympic Drug Testing Official Left Horribly Disfigured After Coming Into Contact With Russian Urine',0,13,1057),(645,'A Major Advantage: Microsoft Has Released A New Xbox Controller With Pre-Mushed-In Buttons That You Can Make Your Friend Use Since It’s Your House',0,8,1055),(646,'Hillary Launches Campaign To Raise $100 Million Or Else She’ll Run For President',0,151,1053),(647,'Devastating: This Guy Knows Exactly How Black People Should Act Around Police Officers, But He Has No Black Friends To Tell About It',0,7,1053),(648,'Man Pretty Sure He Could Run This Company Into Ground Way Better Than Boss',0,2,1027),(649,'Warden Figures Week In Solitary Ought To Teach Inmate Not To Be Schizophrenic',0,10,1029),(650,'Privacy Violation: If You’ve Started Noticing Bananas That Look Like You, You’re Not The Only Facebook User Whose Data Has Been Sold To Chiquita',0,8,1019),(651,'When This High Schooler Asked Emma Stone To Be His Date To Prom, She Said Yes But Then Got So Trashed In The Limo On The Way There That She Didn’t Even Make It Into The Dance',0,19,1016),(652,'Alabama Begins Offering Tax Credit To Attract More YouTube Fail Compilations To Be Filmed In State',0,4,1016),(653,'Trump Wakes Up Covered In Dozens Of Small Cuts After Being Chased Through Dreams By Razor-Blade-Fingered <NAME>',0,21,1010),(654,'Police Say School Shooter Had History Of School Shootings',0,15,1008),(655,'Fan Going To See How First Few Games Go Before Declaring Moral Objection To Watching NFL',0,3,1004),(656,'FDA Cancels Bacon Recall After Finding U.S. Population Already Ate It All',0,7,999),(657,'Controversial Puppy Bowl Star Shits During National Anthem',0,11,1003),(658,'Trump: \'It\'s My Honor To Deliver The First-Ever State Of The Union\'',0,17,1002),(659,'Daring To Dream: <NAME> Is Standing Outside A Guitar Center Gazing Longingly At A $200 Billion Guitar',0,17,1002),(660,'No Big News For Bagels: The Bagel Industry Just Issued Its Daily 600-Page Report On The State Of The Bagel Industry And Nothing Major Has Changed Since Yesterday',0,14,995),(661,'Nation Elects First Black-Hearted President',0,20,998),(662,'Study Finds Exposure To Violent Children Causes Increased Aggression In Video Game Characters',0,4,990),(663,'Toddler Shits Her Way Through 3rd Halloween Costume Of Night',0,9,990),(664,'Impressive New Hire Figures Out Bare Minimum Of Work Job Requires On First Day',0,19,983),(665,'Life: Heartwarming: When Steven Tyler Found Out There Was An Aerosmith Fan With Only 2 Weeks To Live, He Suggested A Bunch Of Better Bands She Should Check Out',0,6,992),(666,'Khashoggi Assassin Hopes Bonus Check From Saudi Crown Prince Clears Before Execution',0,11,990),(667,'Experts Warn Beef Could Act As Gateway Meat To Human Flesh',0,12,988),(668,'New Workplace Diversity Initiative Kills One White Employee Every Hour On The Hour Until More Minority Candidates Hired',0,34,985),(669,'Banksy Hospitalized With Third Degree Burns After Attempting To Cash Self-Destructing Check',0,25,984),(670,'\"Transgendered\" sea anemone denounced as abomination by Clergy.',0,9,968),(671,'Report: More Colleges Offering Dick-Around Abroad Programs',0,12,971),(672,'Everyone In Middle East Given Own Country In 317,000,000-State Solution',0,7,970),(673,'‘My God, I’ve Discovered The Missing Link In The Russia Investigation,’ Think 379,000 Reddit Users Simultaneously',0,19,966),(674,'Scientists Make Discovery About World’s Silt Deposits But Understand If You Aren’t Interested In That',0,12,953),(675,'Man Puts Glass Of Water On Bedside Table In Case He Needs To Make Huge Mess In Middle Of Night',0,7,946),(676,'<NAME> Finds Self In Hell After Taking Wrong Turn In Vatican Catacombs',0,6,952),(677,'Soldier Back Home From Serving At Mexico Border Still Having Nightmares About Being Used As Political Prop',0,5,949),(678,'Biologist Completes 5-Minute Study Of Pathetic Organism In Mirror',0,9,944),(679,'<NAME> Named Amazon Employee Of The Month',0,12,941),(680,'‘The Name On My Birth Certificate Is Actually “The ‘<NAME>’ Rock,” But People Always Get It Mixed Up’: 5 Questions With Dwayne ‘The Rock’ Johnson',0,12,941),(681,'Slovenian 8th-Graders Surprised Even They Outperformed U.S. Students In Science',0,21,941),(682,'Incredible Life Hack: The Wealthy Are Now Buying Spots In Heaven From The Church Before They Die',0,31,947),(683,'Presidential Fitness Test Now Awarded To Any Kid Who Can Eat Without Sweating',0,15,942),(684,'Teacher Who Dedicates Life To Students Total Fucking Bitch',0,16,931),(685,'Baby Steps: China Has Finally Made It Illegal To Chain A Live Bear At The Front Of Your Driveway And Surgically Attach A Mailbox On Its Head',0,18,935),(686,'Time-Traveling Hillary Clinton Warns Self To Do Everything In Exact Same Way',0,22,935),(687,'Nation Longing For Simpler Time Of Knowing Exactly Who They Wanted To Kill And Why',0,26,928),(688,'News: Not Messing Around: <NAME> Just Threatened To Write A Short Story Where Harry Potter Drowns In A Septic Tank At Woodstock ’99 If Fans Don’t Do Something Big For Her Birthday',0,31,927),(689,'Worldwide Jewish Conspiracy Worried It Came Down Too Hard On Jeff Yesterday',0,9,932),(690,'More Americans Concerned Illegal Immigrants Will Take Their Spot On Couch',0,8,927),(691,'Only Adult Left In Trump Administration Named ‘Mad Dog’',0,19,928),(692,'BREAKING: Wait—Sorry, False Alarm',0,10,926),(693,'Experts Warn Repeated Attempts At Eradicating Obamacare May Have Created Ultra-Resistant Super Law',0,7,929),(694,'Man Worried Any Crazy Person Could Get Hands On Congressional Seat',0,6,919),(695,'Dad Suggests Arriving At Airport 14 Hours Early',0,10,919),(696,'World Doesn\'t Even Know Who To Admire Anymore After Tom Hanks Murders 5',0,13,915),(697,'Trump Boys Set Up ‘Don And Eric Law Place’ In White House Electrical Room To Help Dad With Legal Problems',0,11,912),(698,'College Freshman Has Friend From Home Visiting Way Too Soon',0,7,917),(699,'Melania Trump’s Plane Forced To Make Emergency Landing After Smoke Begins Billowing Out Of First Lady',0,12,915),(700,'KFC Blames Popeyes For Releasing Serial Rapist From Prison In New Attack Ad Campaign',0,16,911),(701,'‘Game Of Thrones’ Viewers Reeling After Finale Unexpectedly Kills Off Fan',0,2,915),(702,'Report: Only 3% Of Conversations Actually Need To Happen',0,11,912),(703,'Report: Sharks To Only Kill 10 People This Year But One Of Them Will Be You',0,16,903),(704,'<NAME> Stumbles Across Old Cardboard Box With Gwyneth Paltrow’s Head In Attic',0,7,901),(705,'PornHub Expands Parental Controls For User Accounts',0,15,903),(706,'Man Googling ‘Tender Lump On Neck’ About To Begin Exciting New Phase In Life',0,13,899),(707,'Why Do All These Homosexuals Keep Sucking My Cock?',0,15,895),(708,'Report: Snoring May Increase Risk Of Having Throat Slit During Night By Loved One',0,8,894),(709,'Study Finds 79% Of Statistics Now Sobering',0,3,895),(710,'Man Constantly Blaming His Problems On Fact That He’s On Fire',0,13,891),(711,'Pistachio-Eating Man Achieves ‘Flow’ State',0,15,893),(712,'Man Confidently Hits ‘Send’ On Worst Job Application Company Has Ever Seen',0,12,890),(713,'Heartbreaking: A ‘Price Is Right’ Contestant Just Won A Dryer That Drew Carey Has Clearly Been Living In',0,6,883),(714,'Fabled Lost City Of Gold Finally Discovered Off I-95 Outside Baltimore',0,12,886),(715,'Fox News Struggling To Attract Younger 60-75 Demographic',0,8,884),(716,'<NAME> Scratches ‘Christine Blasey’s A Slut’ Into Senate Bathroom Stall',0,23,885),(717,'Priest Regrets Vow Of Celibacy After Learning About Furries',0,20,877),(718,'<NAME> Remembered For Vast Contributions To AIDS Quilting Community',0,14,880),(719,'Elizabe<NAME> Disappointed After DNA Test Shows Zero Trace Of Presidential Material',0,26,883),(720,'Major Breakthrough: IBM Claims That By 2020 Watson Will Learn The Difference Between Lame Whale Facts And Cool Whale Facts',0,12,880),(721,'News: You Go, Girl: Just 3 Weeks After Her Badass Golden Globes Speech, Oprah Has Become The Dictator Of Venezuela After Leading A Successful Military Coup',0,5,872),(722,'Courageous Heterosexual Has Never Donated Blood To Red Cross In Solidarity With Gay Men',0,20,869),(723,'Smash Bros ultimate will allow characters to punch themselves in the face to freak out opponents',0,10,863),(724,'The Problem With ‘The Flash’: Why Doesn’t Flash Have Bugs Splattered On His Face After Every Time He Runs Really Fast?',0,24,871),(725,'Disaster Imminent: This Kid On A Road Trip Has A Full Bladder And Just Got To The Funniest Part Of ‘Nacho Libre’',0,11,866),(726,'Looking Back On The Worst 365 Days Of Donald Trump\'s Presidency',0,12,854),(727,'Po<NAME> Pursues Sinner Across Vatican City Rooftops',0,12,849),(728,'Kavanaugh Scores Keg For Christine Blasey Ford Testimony',0,20,848),(729,'14-Hour Labor Not Exactly Cakewalk For Baby Sticking Halfway Out Mother’s Vagina Either',0,5,846),(730,'Mother\'s Little Angel Just Made Fun Of Classmate\'s Weight For 30 Straight Minutes',0,6,848),(731,'Ethical Hunter Throws Duck He Shot Back Into Sky',0,4,844),(732,'Wisconsin Legislature Weakens Incoming Democratic Governor By Restricting His Access To Food, Water, Shelter',0,3,844),(733,'Delta Pilot Refuses To Land Until Gun Control Legislation Passed',0,13,836),(734,'Life: Fuck It: Let’s Rank The Religions',0,37,839),(735,'Wealthy Teen Nearly Experiences Consequence',0,6,836),(736,'<NAME> Pleads With Sandy Hook Parents To Imagine Pain An Expensive Lawsuit Would Cause Him',0,26,832),(737,'Meet The Brilliant 12-Year-Old Hacker Who Breached The Bud Light Website’s Impregnable Age Verification Firewall',0,6,828),(738,'Pussy-Hat-Wearing Jeff Flake Spotted Protesting Outside Senate Ahead Of Voting Yes For Kavanaugh',0,16,825),(739,'‘You Are Donald Trump, 45th President Of The United States,’ Trump Reads From Faded Tattoo On Wrist',0,35,825),(740,'Badass Surgeon Puts On Fingerless Latex Gloves Before Operating',0,1,824),(741,'Silent Hero: This Dog Has No Idea It Is Single-Handedly Supporting Nearly Every Conversation At This Party',0,3,821),(742,'New Honda Commercial Openly Says Your Kids Will Die In A Car Crash If You Buy A Different Brand',0,14,815),(743,'Life: Heartwarming: After This Teen Died From Cancer, The Rock Stepped Up And Took The Blame For All The Pornography Found On His Computer',0,7,816),(744,'High School Suspends Hunky Student For Wearing Shirt',0,14,809),(745,'Tom Hanks Vows He Won’t Stop Until He Has Portrayed Every Last American',0,5,809),(746,'Bus Rider Acting Like Fight Not Happening 4 Feet Away',0,9,808),(747,'Man Finally Able To Forgive Self For Terrible Mistake He Made 2 Seconds Ago',0,16,808),(748,'News: Taking A Stand: Congress Has Passed A Bill Making It Illegal To Sell Firearms To The Las Vegas Shooter',0,26,804),(749,'Trump Boys Raid Sister’s Closet For Sexy Clothes They Can Use To Seduce And Blackmail <NAME>',0,3,802),(750,'Four Homeless People Dead In What Girlfriend Refers To As \'Cuddle Weather\'',0,8,801),(751,'Man Struggling To Pierce Orange Peel With Fingernail Under Impression He Could Kill If He Had To',0,20,802),(752,'Teacher Frustrated No One In Beginner Yoga Class Can Focus Chakras Into Energy Blast',0,2,795),(753,'Viewer Prepared To Believe Whatever Documentary Tells Him About Coral Reefs',0,11,794),(754,'Being A Senator Means Making Tough Decisions That Aren\'t Always Popular, Smart, Politically Viable, Or Beneficial To Your Constituents',0,6,801),(755,'Wealthy Teen Nearly Experiences Consequence',0,22,796),(756,'Recruiter Saw Your Background In Computer Science And Thought Maybe You’d Be Interested In Working Part-Time At A Kohl’s In Sioux City',0,7,795),(757,'Budweiser Unveils Social Anxiety Bottle With 900% More Label To Pick At',0,5,793),(758,'Report: Americans Most Physically Active When Getting Comfy',0,7,786),(759,'Relationship Experts Recommend Telling Woman You Would Die For Her At Outset Of First Date',0,15,784),(760,'Nation Already Sick Of Baseball',0,9,790),(761,'\'No Way To Prevent This,\' Says Only Nation Where This Regularly Happens',0,151,791),(762,'Successful U.S. Airstrike Kills 30 Iraqis Who May As Well Have Been Terrorists',0,10,788),(763,'<NAME> Condemns Female Senators For Wantonly Sharing Senate Floor With Male Colleagues After Dark',0,13,789),(764,'Public Health Win: Coca-Cola Is Releasing A New Line Of Sprite That Turns Blue If Anyone Shits In The Sprite',0,10,778),(765,'Congress Cuts Funding For 26-Year-Old Stepson',0,10,776),(766,'<NAME> Feeling Disoriented After Jury Slips Conviction Into His Verdict',0,1,776),(767,'Life: Probably Bullshit But Still A Little Scary: Ethan Is Claiming That His Super Soaker Is Filled With Pee',0,7,774),(768,'God Excited About First Trip To Japan',0,22,772),(769,'Middle-Aged Man In Gym Locker Room Puts Shirt On Before Underwear',0,9,774),(770,'<NAME> Loses $500 To Guy Who Promised Professional-Looking Headshots',0,11,769),(771,'Report: Average American Spends 25% Of Life Waiting In Line At Cell Phone Store',0,9,766),(772,'Pope Promises More Open, Transparent Molestation In Future',0,12,774),(773,'Mom’s Christmas Stocking Noticeably Less Full',0,8,763),(774,'Taylor Swift Grateful Kanye West Controversy Taking Heat Off New Swastika Tattoo',0,29,763),(775,'<NAME> Slits Auto Mechanic’s Throat To Kick Off GOP Purge Of Working Class',0,15,751),(776,'Omarosa Searches Through Tapes Of Everyone Else In White House Using N-Word For One Of Trump',0,19,750),(777,'News: Life After The White House: Obama Just Launched His First Drone Strike As A Civilian',0,22,753),(778,'Roadmap To Peace: Necco Has Set Aside A Roll Of Wafers For Israel And Palestine To Share Only After They Achieve A Two-State Solution',0,18,747),(779,'This Amazing New Product Called ‘Monocle Glue’ Ensures Your Monocle Won’t Go Flying Off Your Face When Your Daughter Tells You She’s Marrying A Commoner',0,9,745),(780,'Man’s Family Rises To Record-High Fourth Priority',0,8,745),(781,'‘I’ll Make Those Bastards Pay,’ Teary-Eyed Mueller Whispers Into Locket Containing Photo Of <NAME>',0,1,742),(782,'Heartbreaking: The Thing You Want Is All The Way Over There',0,2,741),(783,'Americans Observing 911 By Trying Not To Masturbate',0,13,740),(784,'Fallen Firefighter Remembered As Idiot Who Sucked At His Job',0,15,736),(785,'Florida To Experiment With New 600-Lever Voting Machine',0,9,731),(786,'Apple: New iPhone Good',0,21,727),(787,'Old Man With Foggy Eye Not Even Magical',0,1,732),(788,'Probably Bullshit But Still A Little Scary: Ethan Is Claiming That His Super Soaker Is Filled With Pee',0,14,721),(789,'Concentric Circles Emanating From Glowing Red Dot',0,6,722),(790,'Congress Approves $540 Million For Evil',0,18,728),(791,'Unambitious Loser With Happy, Fulfilling Life Still Lives In Hometown',0,10,720),(792,'Sullen Jeff Sessions Scrolls Through Minority Incarceration Statistics To Cheer Self Up',0,20,727),(793,'Trump Slams Worldwide Jewish Conspiracy For Not Doing More To Prevent Synagogue Shooting',0,14,725),(794,'<NAME> Returns To His Tank At Sea World',0,2,724),(795,'Fed Up: <NAME> Is Leaving ‘Family Feud’ After Yet Another Season Went By Without Somebody Noticing That He Got All Dressed Up',0,16,717),(796,'New Poll Finds 80% Of Americans Would Just Fucking Destroy A Pan Of Brownies',0,16,713),(797,'News: We Get It, You’re An Ally: <NAME> Went Totally Overboard At The Oscars When He Ran On Stage Holding <NAME>’s Severed Penis To Support The #MeToo Movement',0,9,716),(798,'Most College Males Admit To Regularly Getting Stoked',0,10,713),(799,'<NAME> Responds To Assault Allegations By Seeking Treatment For Homosexuality',0,12,714),(800,'Nation Surprised It Took So Long For Primaries To Weed Out Candidate With Genuine Principles',0,6,709),(801,'The Perils Of Fame: Hundreds Of Screaming Teenage Fangirls Are Currently Chasing The Colgate Toothpaste CEO Through The Streets Of New York City',0,10,708),(802,'White House Releases Moving Statement Honoring Woman Who Called Obama An Arab In 2008',0,10,703),(803,'I Put On A Fat Suit To Understand What It’s Like To Be Your Mom',0,11,697),(804,'A Historic Summit: <NAME> Just Finished A Marathon Day Of Diplomatic Talks With A Man In A <NAME> Who Introduced Himself As The King Of Scotland',0,11,702),(805,'CDC Introduces ‘Raw Dog’ The STI Pup To Educate Children About The Dangers Of Unprotected Sex',0,11,696),(806,'Electoral College Does What It Was Either Designed To Do Or Explicitly Designed To Prevent',0,10,698),(807,'3-Year-Old Pretending Stuffed Animals Having Big Fight About Accidental Pregnancy',0,9,700),(808,'Trump Insists That Now, More Than Ever, Americans Must Stand Strong In Face Of Empathy',0,6,697),(809,'Amazon CEO <NAME>: My Advice To Anyone Starting A Business Is To Remember That Someday I Will Crush You',0,5,700),(810,'Entire Life of Universe Flashes Before <NAME>\'s Eyes',0,5,695),(811,'Area Man Afraid Some Woman Might Come Out Of The Woodwork To Hold Him Accountable For Something',0,4,695),(812,'Bernie Sanders Fills In For Factory Worker Unable To Take Time Off To Vote',0,17,692),(813,'Police Repeatedly Shoot Tim Cook After Mistaking iPhone For Gun',0,8,693),(814,'Beautiful: This Boy Put The Basketball Under His Shirt And Now He Is Pregnant With The Basketball',0,10,691),(815,'<NAME> Reminds Senators That They\'ll Have To Make Up Government Shutdown Days At End Of Year',0,3,695),(816,'When Will The Idiots On The Other End Of The Political Spectrum Wake Up And Have Every One Of My Life Circumstances, Daily Interactions, And Upbringing?',0,2,686),(817,'Fucking Weird: This Couple Has 8 Children And They Aren’t Even Religious Or Anything',0,6,682),(818,'Returning West Virginia Teachers Unceremoniously Toss Hundreds Of Dead Class Pets Into Trash',0,7,686),(819,'Middle Eastern Man Not Sure How Many Days’ Worth Of Airport Detention Clothes To Pack',0,4,682),(820,'Man Crushed By Lack Of Filth On Q-Tip Pulled From Ear',0,18,683),(821,'Beautiful Moment: Woman Comes Out To The Pair Of Arms Growing Out Of Her Wall And They Start Applauding',0,8,678),(822,'Disgusted <NAME> Eats 2 20-Piece Chicken McNugget Meals In One Sitting In Attempt To Get Into Trump’s Mind',0,11,675),(823,'News: Is <NAME>’s Matt Lauer Biopic Starring Louis CK In Trouble?',0,7,670),(824,'New Bill Would Limit Abortion To Cases Where Procedure Necessary To Save Promising Political Career',0,3,673),(825,'Kids Getting A Little Old To Still Believe In Innate Charitable Goodness Of Humans',0,4,662),(826,'Heartbreaking: This Student Using Both Of Her Arms To Shield Her Test Has No Idea She’s One Of The Dumbest Kids In Class',0,3,667),(827,'My Doctor Told Me I Should Vaccinate My Children, But Then Someone Much Louder Than My Doctor Told Me I Shouldn’t',0,13,665),(828,'Video Game Shopkeeper Starting To Get Suspicious After Selling 800 Bombs To Player',0,8,664),(829,'Real-Life Black Widow? Sure, You Nerds Will Eat That Up. This Captured Russian Spy Is Real-Life Black Widow',0,18,664),(830,'Man Experiencing First Real Moment Of Peace In Years Resuscitated',0,3,658),(831,'U.S. High School Gets Raw End Of Student Exchange',0,6,656),(832,'Trump Comforts Grieving War Widow By Assuring Her He Will Never Die',0,20,657),(833,'Taylor Swift Unveils Even Darker Persona With New Single ‘Skullfucking Maggot Shit Boyfriend’',0,7,658),(834,'Report: Rest Of Pottery Class Knows Each Other From Previous Pottery Class',0,4,649),(835,'In The Know: Should The Government Stop Dumping Money Into A Giant Hole?',0,7,652),(836,'Local Teen Would Choose Gun With Night Vision Laser Scope If He Joined Army',0,7,648),(837,'Bad Game Design: This Incredibly Lifelike Simulation Of New York City Is Ruined By The Unrealistic Presence Of A Spider-Themed Crimefighter',0,10,649),(838,'Man Who Thought He\'d Lost All Hope Loses Last Additional Bit Of Hope He Didn\'t Even Know He Still Had',0,3,647),(839,'Senator Feinstein Wondering If Now A Good Time To Disclose 7 Highly Credible Murder Allegations Against Kavanaugh She Received Weeks Ago',0,11,649),(840,'White House Receives Letter Addressed To Gerald Ford Or Current President',0,7,645),(841,'God Sick Of New Angel’s Annoying Fucking Voice',0,1,643),(842,'Seed Of World War III Planted In Beijing Middle-School Gym Class',0,12,633),(843,'You People Made Me Give Up My Peanut Farm Before I Got To Be President',0,21,640),(844,'Half-Dressed Man Frantically Scrambles Out Of Home After Hearing Toyotathon Deals Won\'t Last Long',0,4,639),(845,'Heartbroken Russian Ambassador Thought Special Meetings With Jeff Sessions Were Very Memorable',0,3,632),(846,'Military Historians Discover Majority Of Human Warfare Fought By Disguised Women Taking Place Of Ailing Fathers',0,16,627),(847,'Bhutanese Man Can’t Believe Pharmacy Already Stocking Stuff For Lhabab Duchen',0,5,628),(848,'‘Rock The Caliphate’ Charity Concert Features U2, Ed Sheeran, Dua Lipa Coming Together To Raise Money For Struggling Islamic State',0,4,625),(849,'‘Without Them You Could Buy Anything,’ Whispers Amazon Echo As Man Stares Blankly At Family',0,1,623),(850,'Nation Urged To Be Extra Sensitive To Men Reliving Trauma Of Not Getting Something',0,38,620),(851,'Trump Asks Entire Senate To Clear Out Of Chamber So He Can Speak To Comey Alone',0,9,619),(852,'Flustered Mathematician Unable To Recommend Good Number',0,7,612),(853,'It’s The Sponge. You Love The Sponge.',0,13,614),(854,'Local Church Full Of Brainwashed Idiots Feeds Town’s Poor Every Week',0,29,610),(855,'Maybe I Can Impress Her With My Holy Grail Quotes',0,21,609),(856,'Kavanaugh Claims He Never Committed Sexual Assault As It Will Be Defined After Future Supreme Court Case',0,23,608),(857,'Last Male Heir To Bloodline Watches Movie Alone On Laptop',0,5285,608),(858,'Black Man Given Nation\'s Worst Job (2008)',0,9,601),(859,'Obama Turns 50 Despite Republican Opposition',0,5,599),(860,'My Great-Grandfather Came To This Country With Nothing But $10 In His Pocket, $300,000 In His Bank Account, And A Dream',0,3,598),(861,'Tupperware Will Never Truly Recover From Red Curry Leftovers',0,15,599),(862,'NASCAR Race Stops To Wait For Family Of Ducks To Pass',0,7,595),(863,'<NAME> Attacks Softness, Lack Of Competitiveness In Modern Blackjack Players',0,7,591),(864,'Study Finds Flushing Toilets Wastes Billions Of Gallons Of Piss And Shit Annually',0,1,599),(865,'Poll: 89% Of Debate Viewers Tuning In Solely To See Whether Roof Collapses',0,8,597),(866,'Hostage With Family Really Lording It Over Everyone Else',0,1,588),(867,'Bassist Has Little Riff Ready To Go In Case Frontman Goes Around Introducing Everyone',0,1,586),(868,'Restoration Of \'Star Spangled Banner\' Uncovers Horrifying New Verses',0,22,585),(869,'<NAME> Scolds Father That He Mustn’t Inquire About The Businesses, For He’s Sworn Not To Tell',0,12,583),(870,'Breitbart Criticized For Publishing Humanizing Profile Of Libtard Beta-Cuck',0,27,575),(871,'Crusted Ring Around NyQuil Bottle Top Coming Along Nicely',0,3,576),(872,'Child Bankrupts Make-A-Wish Foundation With Wish For Unlimited Wishes',0,2,570),(873,'Biden Sadly Realizes This Could Be Last Time He Throws Lit Firecracker Into Press Conference',0,14,569),(874,'Taco Bell Unveils New Taco With Shell Made From Doritos Bags',0,5,567),(875,'Report: More Americans Forced To Sell Gold Pocket Watch In Order To Afford Set Of Fine Combs For Wife',0,18,570),(876,'Departing Obama Tearfully Shoos Away Loyal Drone Following Him Out Of White House',0,4,572),(877,'God Starting To Worry Heaven May Be Haunted',0,6,562),(878,'Family Without Candy Sits Huddled In Darkened House Like Londoners During The Blitz',0,0,570),(879,'News: A Public Nuisance: Barack Obama Was Kicked Off Of A White House Tour For Shouting, ‘I Already Know That,’ After Everything The Tour Guide Said',0,9,568),(880,'Alabama Forced To Release Thousands Of Sex Offenders After Inmates Deny Charges',0,16,558),(881,'News: No Stone Unturned: Parents Of Missing Children Are Petitioning Shaq To Give His Suit Just One Good Shake In Case Their Missing Children Are Lost In There',0,5,561),(882,'Local Dipshit Planning On Fighting Trump Administration Through Art',0,10,551),(883,'Overworked Nation Wishes It Could Just Unplug From It All Like Puerto Rico',0,7,556),(884,'News: A New Perspective: Rotten Tomatoes Will Begin Giving Movies A Score Based On The Opinions Of People Who Haven’t Seen The Movie But Generally Have A Good Idea Whether Something Will Be Good',0,8,550),(885,'Blog: Modern Video Games Are Giving Kids Unrealistic Standards For How Many Swords They Can Carry At One Time',0,3,549),(886,'New Pumpkin Spice Channel To Offer Fall-Themed Hardcore Pornography',0,14,545),(887,'School Bully Not So Tough Since Being Molested',0,10,548),(888,'Argentina Tightens Security In Anticipation Of Numerous Criminals Arriving For G20',0,4,549),(889,'New Psychedelic Weight Loss Drug Transforms Food Into Monstrous Hallucinations',0,6,548),(890,'Adult Film Industry Replaces 500 Porn Stars With Hydraulic Robotic Fisting Arm',0,15,542),(891,'Female Friends Spend Raucous Night Validating The Living Shit Out Of Each Other',0,7,547),(892,'News: Just Like Us: This Chimpanzee Shot Himself In The Head After The IRS Uncovered His Tax Fraud Scheme',0,4,543),(893,'Female Barista Getting A Lot Better At Avoiding Touching Male Patrons’ Hands When They Pay',0,9,545),(894,'Report: 87% Of U.S. Women Achieve Orgasm When Fantasizing About Gorton\'s Fisherman',0,5,542),(895,'Trump Supporter Has Few Backup Scapegoats Ready To Go In Case Crackdown On Immigrants Doesn’t Fix Everything',0,9,541),(896,'‘No, Take Jeb Instead,’ Screams George W. Bush While Shoving Brother Into Father’s Grave',0,13,541),(897,'7-Year-Old Unable To Maintain Single Cohesive Storyline While Playing With Action Figures',0,2,544),(898,'Baffled DNC Plant Roy Moore Not Sure What Else He Could Have Done To Defame Republican Party',0,8,543),(899,'Melania’s Heart Sinks After Realizing Husband Uses Pet Name ‘Horseface’ For Every Woman He Fucks',0,8,534),(900,'I’m Proud Of President Trump For Replacing The Un-American Practice Of Family Separation With The Profoundly American Practice Of Mass Incarceration (By <NAME>)',0,11,535),(901,'Black Man Blissfully Unaware His Name Going To Be Hashtag By End Of Week',0,33,536),(902,'Life: Hard To Watch: <NAME> Accompanied This Terminally Ill Girl To Prom But Was Upstaged When <NAME> Accompanied An Even More Terminally Ill Girl To The Same Prom',0,42,534),(903,'Miracle of Birth Occurs for 83 Billionth Time',0,4,534),(904,'The Time Is Now To Clean Up This Soup I Just Spilled Everywhere',0,6,527),(905,'Tesla debuts carless driver',0,5,533),(906,'Exhausted Mueller Trying To Find Trump Organization Russia Documents Amid Thousands Of Harassment Lawsuits',0,2,524),(907,'‘He’s Not A Good Character At All’: Disney Has Announced That It’s Honestly Pretty Baffled By The Continued Popularity Of Mickey Mouse',0,14,521),(908,'Fat Kid Avoids Ridicule By Swimming With Shirt',0,6,521),(909,'Grown Man Refers To Map At Beginning Of Novel To Find Out Where Ruined Castle Of Arnoth Is Located',0,10,521),(910,'News: Good Fucking Luck: The Substitute Teacher Who Just Called A.J. ‘<NAME>’ During Roll Has No Clue How Things Run Around Here',0,0,523),(911,'News: Incredibly Shameful: The Trump Administration Has Spent More Than $6 Billion In Taxpayer Money On Swimming Lessons For <NAME>',0,7,524),(912,'Convenience Store Employee Given Generous Holiday Bonus Shift',0,3,513),(913,'Evolution Definitively Proven As Scientists Capture First-Ever Footage Of Chimpanzee Transforming Into Human',0,12,511),(914,'Bride And Groom Clearly Have Not Kissed Much',0,4,516),(915,'Man On Cusp Of Having Fun Suddenly Remembers Every Single One Of His Responsibilities',0,5,515),(916,'White House Now Just Holding Continuous Going-Away Party For Departing Staffers',0,5,521),(917,'GOP Leaders Confident They’ll Have Cruelty Necessary To Pass Healthcare Bill',0,44,515),(918,'<NAME> Asks Waiter To Remove Mrs. Butterworth From Table Until Wife Arrives',0,6,512),(919,'Blog: In A News Cycle Saturated With Mass Shootings, It’s Becoming Harder And Harder To Stand Out As A Deranged Gunman',0,6,512),(920,'President Trump\'s Executive Order Shutting Down \'The Onion\'',0,23,509),(921,'Area Man Remembers Less Politically Correct Time When Christmas Was About Honoring The Glory Of Saturn',0,3,508),(922,'Americans Confused By System Of Government In Which Leader Would Resign After Making Terrible Decision',0,14,512),(923,'<NAME> Prepares For Congressional Testimony By Poring Over Lawmakers’ Personal Data',0,8,504),(924,'Embarrassing: The U.S. Is Ranked 182nd In The World Alphabetically',0,13,503),(925,'Corporate Indifference: The McDonald’s Training Manual Tells Employees To Rob A Different McDonald’s On The Way Home To Earn Enough To Support Themselves',0,15,499),(926,'Perverted Measles Virus Exposes Itself To Playground Full Of Children',0,3,497),(927,'Four Homeless People Dead In What Girlfriend Refers To As \'Cuddle Weather\'',0,7,499),(928,'<NAME> Ascends Into Sky With Umbrella After Trump Family Promises They Learned Lesson About Honesty',0,4,498),(929,'Man Who Skipped Airport’s Moving Walkway Immediately Realizes What An Arrogant Fool He’s Been',0,7,494),(930,'Senate Passes Blame By Vote Of 91-8.',0,3,498),(931,'Fall Canceled After 3 Billion Seasons',0,4,491),(932,'Trump: ‘The Only Way To Find Out What Happened At The Saudi Consulate Is To Send In More Journalists One At A Time’',0,5,494),(933,'Nation Satisfied As Selena Gomez Completes Transition Into Sexualized Plaything',0,16,491),(934,'Study Finds Only 1 In 3 Lasik Surgeries End In Laser Boring Through Eye, Incinerating Brain, Shooting Through Skull On Other Side',0,7,488),(935,'Last Living California Raisin Dies Of Prostate Cancer',0,5,488),(936,'Man Embarrassed Thinking About Every Opinion He\'s Ever Articulated',0,15,488),(937,'\'Parent Trap’ Producers Recall Euthanizing Lindsay Lohan Clone After Completing Filming',0,10,486),(938,'Growing ‘Fat-Earther’ Movement Believes Planet 2.4 Quintillion Pounds Overweight',0,14,484),(939,'Historians Still Unable To Determine How Americans Were Able To Build H<NAME>',0,12,481),(940,'Roy Moore Refusing To Withdraw From Alabama 13-Year-Old',0,24,484),(941,'Hanes Apologizes, Pulls T-Shirts From Shelves After Seeing How Local Man Looks In Them',0,8,478),(942,'Nation Begs Disaffected Youth Gravitating Toward Neo-Nazism To Get High And Play Xbox Instead',0,6,483),(943,'Patagonia Introduces New High-Performance Jacket Specially Designed To Protect Wearer On Walk Between Front Door And Car',0,9,476),(944,'Hardened White Blood Cell No Longer Hesitates To Kill Viruses',0,9,479),(945,'Georgia Adds Swastika, Middle Finger To State Flag',0,9,468),(946,'5 Questions: ‘Miley Cyrus Is, And Has Always Been, Far Too Weak On Trade With China’: 5 Questions With <NAME>',0,2,468),(947,'Disgusted Researchers Can’t Even Bring Themselves To Find Out How Much Mayo The Average American Consumes Yearly',0,22,470),(948,'News: Corporate Hubris: After Successfully Defeating Dandruff, Selsun Blue Has Announced It’s Going After Cancer Next',0,3,475),(949,'New Study Finds 85% Of Americans Don\'t Know All The Dance Moves To National Anthem',0,1,468),(950,'Researchers No Closer To Understanding What The Fuck You’re Talking About',0,7,470),(951,'Are Your Parents Letting You Get A Tattoo Because They Don’t Care In A Cool Way Or In A Sad Way?',0,1,468),(952,'GM Announces Money Saved From Layoffs To Fund Massive Investment In Lake Homes, Private Jets',0,2,467),(953,'Russian Agent Disgusted With Things He Forced To Do To Pass Self Off As Reddit Commenter',0,13,470),(954,'Area Man Unsure If He\'s Male-Bonding Or Being Bullied',0,7,469),(955,'Trump Boys Attempting To Tunnel From South Lawn To FBI Headquarters To Free Paul Manafort From Custody',0,4,461),(956,'Ob-Gyn Kind Of Annoyed She Has To Confirm Woman’s Premonition About Sex Of Baby That Came To Her In Dream',0,3,458),(957,'Republicans Vow Not to Repeal Obamacare Without Detailed Plan For Disposing of Patients Disease Ridden Corpses',0,19,463),(958,'White House Staff Frantically Shredding Trump Campaign Aides',0,7,460),(959,'Mi<NAME> Vows To Cut Conservation Funding After Discovering Elk Don’t Mate For Life',0,7,465),(960,'Alleged Nazi War Criminal Deported Back To Germany',0,11,460),(961,'Old Friends From High School Meet Up Every Year To Say Names Of Former Classmates',0,2,455),(962,'Clinton Ominously Tells Iowan Supporters To Mark Front Doors With Campaign Logo Before Sundown',0,2,458),(963,'Motion Picture Academy Releases Complete List Of Films That Can Be Enjoyed Without Supporting Sexual Predator',0,6,454),(964,'Aspiring Actor Dreams Of One Day Publicly Voicing Regret For Working With Woody Allen',0,0,453),(965,'<NAME> Tried To Survive A Week On Food Stamps And She Died',0,9,454),(966,'Assistant Coach Finally Works Up Courage To Blow Whistle',0,2,446),(967,'<NAME> Struggles To Maintain Believable Trump Impression During Phone Calls With Parkland Survivors',0,3,448),(968,'New UPS Extended-Tracking Numbers Give Customers Updates On Delivery Driver’s Location For Years After Package Drop-Off',0,1,452),(969,'They Said I Would Never Walk Again And I Really Have To Commend Them For Their Spot-On Diagnosis',0,5,446),(970,'Life: Making His Own Way: This College Student Refuses To Let His Parents Pay For Anything Outside Of Tuition, Rent, And Food',0,5,449),(971,'Prison Now Allowing Death Row Inmates To Receive Weekly Visitors Throughout Executions',0,6,443),(972,'Unemployed Dad Channels All His Energy Into Creating, Running Haunted House',0,5,447),(973,'Kanye West Announces His New Name Is Tim',0,50,447),(974,'Horrified Geologists Uncover Millions Of Rocks In Sprawling Mass Grave',0,5,448),(975,'Trump Confident U.S. Military Strike On Syria Wiped Out Russian Scandal',0,9,450),(976,'Man Nostalgic For Simpler Era Of 20 Hours Ago',0,3,447),(977,'‘You Thought You Could Get Rid Of Me?’ Says Cassini Probe Emerging From Shadows To Confront Petrified NASA Administrator',0,2,444),(978,'News: Tough But Fair: This Teacher Confiscated A School Shooter’s AR-15 For The Rest Of The Day',0,1,444),(979,'Newborn Loses Faith In Humanity After Record 6 Days',0,4,445),(980,'Life: Ignorance Is Bliss: Scientists Have Announced That If Spiders Have Sex For Pleasure, They Simply Don’t Want To Know About It',0,5,440),(981,'Everyday Hero: When This Pregnant Woman Couldn’t Find A Seat On A Train, This Man Decided To Stand On His In Solidarity',0,5,443),(982,'Frustrated Nation Calls For Updated Zip-Line Infrastructure',0,3,442),(983,'Trump Orders All Flags To Half-Staff In Honor Of American Killed On Episode Of ‘Blue Bloods’',0,10,441),(984,'<NAME> Contemplating Dying Right Here And Now',0,3,438),(985,'Explanation Of Board Game Rules Peppered With Reassurances That It Will Be Fun',0,5,433),(986,'Plan To Be More Positive Off To Shitty Fucking Start',0,1,429),(987,'Potential School Shooter Gunned Down By Popular Jock',0,6,433),(988,'Georgia Election Worker Assures Black Man Ballot Scanner Supposed To Sound Like Shredder',0,7,432),(989,'Man Going To Restroom Deputizes Friend To Order Him Another Beer',0,12,436),(990,'4 So-Called Advanced Civilizations That Couldn’t Even Fucking Invent Soda',0,6,436),(991,'Over 417,000 Hours Of Private Presidential Conversations Discovered After No One Remembered To Turn Off Richard Nixon’s Tape Recorder',0,5,430),(992,'GOP Officials Urge Calmer, More Reasonable Death Threats Toward Kavanaugh Accuser',0,10,427),(993,'Inspiring: This Progressive Bully Torments Transgender Students Using Their Preferred Pronoun',0,2,431),(994,'Archaeologists Unearth Ivory Trumpet Dating Back To Prehistoric Jazz Age',0,2,429),(995,'Mom Hasn’t Said Full, Uninterrupted Sentence To Family Since 1997',0,1,428),(996,'News: Vigilante Justice Fail: Reddit Just Mistakenly Identified This 21-Year-Old Muslim College Student As Hurricane Irma',0,9,430),(997,'Sudden Burst Of Confidence Not Sure Where The Hell It Came From Either',0,2,427),(998,'’90s Kids Rejoice! The End Of Net Neutrality Means The Return Of Dial-Up Speeds',0,3,431),(999,'Poll Finds Majority Of Americans Approve Of Child Labor Laws But Agree That Kids Carrying Briefcases Would Be Cute',0,4,433),(1000,'Report: 750,000 Americans Die Each Year During First Attempt To Get Back In Shape',0,6,425),(1001,'New Study Finds You’d Love Being Rich Asshole',0,3,426),(1002,'Detectives Overlooked <NAME>\'s \'I Killed My Daughter\' AMA On Reddit',0,31,427),(1003,'Court Rules Meryl Streep Unable To Be Tried By Jury As She Has No Peers',0,27,424),(1004,'Trump Selects Longtime Personal Plane To Head FAA',0,6,429);
/*!40000 ALTER TABLE `question` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `user`
--
DROP TABLE IF EXISTS `user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8mb4 ;
CREATE TABLE `user` (
`id` int(10) unsigned NOT NULL,
`sessionId` varchar(255) NOT NULL,
`role` tinyint(4) NOT NULL DEFAULT '0',
KEY `id` (`id`),
CONSTRAINT `user_ibfk_1` FOREIGN KEY (`id`) REFERENCES `model` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `user`
--
LOCK TABLES `user` WRITE;
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
INSERT INTO `user` VALUES (4,'91b303119351ee228e70e9d2284fc706',0);
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Dumping routines for database 'fakenews'
--
/*!50003 DROP PROCEDURE IF EXISTS `action_create` */;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = latin1 */ ;
/*!50003 SET character_set_results = latin1 */ ;
/*!50003 SET collation_connection = latin1_swedish_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `action_create`(
IN aId INT UNSIGNED,
IN aAction ENUM('QUESTION', 'ANSWER'),
IN aResult ENUM('CORRECT', 'INCORRECT')
)
BEGIN
INSERT INTO action(id, action, result) VALUES(aId, aAction, aResult);
END ;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `action_fromSessionId` */;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = latin1 */ ;
/*!50003 SET character_set_results = latin1 */ ;
/*!50003 SET collation_connection = latin1_swedish_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `action_fromSessionId`(IN aSessionId VARCHAR(255))
BEGIN
SELECT
model.id, model.type, model.status, model.dateCreated, model.dateModified,action.action,
action.result, user.sessionId, question.id AS questionId
FROM action
JOIN model ON action.id = model.id
JOIN modelLink AS userModelLink ON model.id = userModelLink.id
JOIN user ON userModelLink.link = user.id
JOIN modelLink AS questionModelLink ON model.id = questionModelLink.id
JOIN question ON questionModelLink.link = question.id
WHERE user.sessionId = aSessionId;
END ;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `modelLink_create` */;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = latin1 */ ;
/*!50003 SET character_set_results = latin1 */ ;
/*!50003 SET collation_connection = latin1_swedish_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `modelLink_create`(IN aId INT UNSIGNED, IN aLink INT UNSIGNED)
BEGIN INSERT INTO modelLink(id, link) VALUES(aId, aLink); END ;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `modelLink_removeType` */;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = latin1 */ ;
/*!50003 SET character_set_results = latin1 */ ;
/*!50003 SET collation_connection = latin1_swedish_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `modelLink_removeType`(IN aId INT UNSIGNED, IN aType VARCHAR(255))
BEGIN
DELETE modelLink.* FROM modelLink
JOIN model ON modelLink.link = model.id
WHERE modelLink.id=aId
AND model.type=aType;
END ;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `model_create` */;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = latin1 */ ;
/*!50003 SET character_set_results = latin1 */ ;
/*!50003 SET collation_connection = latin1_swedish_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `model_create`(IN aType VARCHAR(64), IN aCreatedBy INT UNSIGNED)
BEGIN INSERT INTO model(type, createdBy) VALUES(aType, aCreatedBy); SELECT LAST_INSERT_ID(); END ;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `model_delete` */;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = latin1 */ ;
/*!50003 SET character_set_results = latin1 */ ;
/*!50003 SET collation_connection = latin1_swedish_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `model_delete`(IN aId INT UNSIGNED)
BEGIN UPDATE model SET status = 'D' WHERE id = aId; END ;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `model_getParentLinkIds` */;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = latin1 */ ;
/*!50003 SET character_set_results = latin1 */ ;
/*!50003 SET collation_connection = latin1_swedish_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `model_getParentLinkIds`(IN aId INT UNSIGNED, IN aType VARCHAR(255))
BEGIN
SELECT modelLink.id FROM modelLink
JOIN model ON modelLink.id = model.id
WHERE modelLink.link = aId
AND model.type = aType;
END ;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `model_updateDateModified` */;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = latin1 */ ;
/*!50003 SET character_set_results = latin1 */ ;
/*!50003 SET collation_connection = latin1_swedish_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `model_updateDateModified`(IN aId INT UNSIGNED)
BEGIN UPDATE model SET dateModified = CURRENT_TIMESTAMP() WHERE id = aId; END ;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `pool_create` */;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = latin1 */ ;
/*!50003 SET character_set_results = latin1 */ ;
/*!50003 SET collation_connection = latin1_swedish_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `pool_create`(
IN aId INT UNSIGNED,
IN aName VARCHAR(255),
IN aNumberOfQuestions SMALLINT UNSIGNED
)
BEGIN
INSERT INTO pool(id, name, numberOfQuestions) VALUES(aId, aName, aNumberOfQuestions);
END ;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `pool_random` */;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = latin1 */ ;
/*!50003 SET character_set_results = latin1 */ ;
/*!50003 SET collation_connection = latin1_swedish_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `pool_random`()
BEGIN
SELECT pool.id, pool.name, pool.numberOfQuestions
FROM pool
JOIN model ON pool.id = model.id
WHERE model.status = 'A'
ORDER BY RAND()
LIMIT 1;
END ;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `question_create` */;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = latin1 */ ;
/*!50003 SET character_set_results = latin1 */ ;
/*!50003 SET collation_connection = latin1_swedish_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `question_create`(
IN aId INT UNSIGNED,
IN aQuestion VARCHAR(255),
IN aAnswer TINYINT(1),
IN aNumComments INT UNSIGNED,
IN aScore INT
)
BEGIN
INSERT INTO question(id, question, answer, numComments, score)
VALUES(aId, aQuestion, aAnswer, aNumComments, aScore);
END ;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `question_random` */;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = latin1 */ ;
/*!50003 SET character_set_results = latin1 */ ;
/*!50003 SET collation_connection = latin1_swedish_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `question_random`(IN aSessionId VARCHAR(255))
BEGIN
SELECT model.id, model.type, model.status, model.dateCreated, model.dateModified,
question.answer, question.question
FROM user
JOIN modelLink AS poolModelLink ON user.id = poolModelLink.id
JOIN modelLink AS questionModelLink ON poolModelLink.link = questionModelLink.id
JOIN question ON questionModelLink.link = question.id
JOIN model ON question.id = model.id
WHERE user.sessionId = aSessionId
AND model.status = 'A'
AND question.id NOT IN (
SELECT question.id
FROM user
JOIN modelLink AS actionModelLink ON user.id = actionModelLink.id
JOIN action ON actionModelLink.link = action.id
JOIN modelLink AS questionModelLink ON action.id = questionModelLink.id
JOIN question ON questionModelLink.link = question.id
WHERE user.sessionId = aSessionId
AND action.action = 'ANSWER'
)
ORDER BY RAND()
LIMIT 1;
END ;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `user_create` */;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = latin1 */ ;
/*!50003 SET character_set_results = latin1 */ ;
/*!50003 SET collation_connection = latin1_swedish_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `user_create`(IN aId INT UNSIGNED, IN aSessionId VARCHAR(255), IN aRole TINYINT)
BEGIN
INSERT INTO user(id, sessionId, role) VALUES(aId, aSessionId, aRole);
END ;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `user_fromSessionId` */;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = latin1 */ ;
/*!50003 SET character_set_results = latin1 */ ;
/*!50003 SET collation_connection = latin1_swedish_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `user_fromSessionId`(IN aSessionId VARCHAR(255))
BEGIN
SELECT
model.id, model.type, model.status, model.dateCreated, model.dateModified, user.sessionId,
user.role, pool.numberOfQuestions
FROM user
JOIN model ON user.id = model.id
JOIN modelLink ON model.id = modelLink.id
JOIN pool ON modelLink.link = pool.id
WHERE user.sessionId = aSessionId;
END ;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
/*!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-01-06 19:10:21
|
<gh_stars>1-10
---
name: upd_list
description: Change list admin
templates:
- user.userlogin
returns: void
parameters:
-
name: p_localpart
type: email.t_localpart
-
name: p_domain
type: dns.t_hostname
-
name: p_admin
type: email.t_address
---
UPDATE email.list
SET
admin = p_admin,
backend_status = 'upd'
WHERE
localpart = p_localpart AND
domain = p_domain AND
owner = v_owner AND
backend._active(backend_status);
PERFORM backend._conditional_notify(FOUND, 'email', 'list', p_domain);
|
<gh_stars>1-10
BEGIN TRAN
BEGIN TRY
CREATE TABLE [PostComments] (
[Id] [int] NOT NULL IDENTITY,
[AuthorName] [varchar](50),
[AuthorEmail] [varchar](255),
[AuthorWebsite] [varchar](200),
[Comment] [varchar](max) NOT NULL,
[IpAddress] [varchar](45) NOT NULL,
[Avatar] [varchar](200),
[CreationDate] [datetime] NOT NULL,
[IsApproved] [bit] NOT NULL,
[IsDeleted] [bit] NOT NULL,
[Author_Id] [int],
[ModeratedBy_Id] [int],
[Post_Id] [int] NOT NULL,
[ParentComment_Id] [int],
PRIMARY KEY ([Id])
)
CREATE TABLE [Posts] (
[Id] [int] NOT NULL IDENTITY,
[Title] [varchar](200) NOT NULL,
[Description] [varchar](500),
[Slug] [varchar](200) NOT NULL,
[Content] [varchar](max),
[CreationDate] [datetime] NOT NULL,
[LastModificationDate] [datetime] NOT NULL,
[PublicationDate] [datetime] NOT NULL,
[IsPublished] [bit] NOT NULL,
[IsCommentEnabled] [bit] NOT NULL,
[IsDeleted] [bit] NOT NULL,
[Author_Id] [int] NOT NULL,
PRIMARY KEY ([Id])
)
CREATE TABLE [Users] (
[Id] [int] NOT NULL IDENTITY,
[Username] [varchar](20) NOT NULL,
[Email] [varchar](255) NOT NULL,
[Password] [varchar](50) NOT NULL,
[DisplayName] [varchar](20),
[FullName] [varchar](100),
[Location] [varchar](20),
[CreationDate] [datetime] NOT NULL,
[LastLoginDate] [datetime],
[About] [varchar](500),
[BirthDate] [datetime],
[Enabled] [bit] NOT NULL,
PRIMARY KEY ([Id])
)
CREATE TABLE [RoleGroups] (
[Id] [int] NOT NULL IDENTITY,
[Name] [varchar](50) NOT NULL,
[AssignedRoles] [varchar](max),
PRIMARY KEY ([Id])
)
CREATE TABLE [Tags] (
[Id] [int] NOT NULL IDENTITY,
[Name] [varchar](50) NOT NULL,
PRIMARY KEY ([Id])
)
CREATE TABLE [Categories] (
[Id] [int] NOT NULL IDENTITY,
[Name] [varchar](50) NOT NULL,
PRIMARY KEY ([Id])
)
CREATE TABLE [Settings] (
[Id] [int] NOT NULL,
[Description] [varchar](500) NOT NULL,
[Value] [varchar](max),
PRIMARY KEY ([Id])
)
CREATE TABLE [WidgetSettings] (
[Id] [int] NOT NULL IDENTITY,
[Name] [varchar](50) NOT NULL,
[WidgetZone] [varchar](50) NOT NULL,
[Position] [int] NOT NULL,
[Settings] [varchar](max),
PRIMARY KEY ([Id])
)
CREATE TABLE [Pages] (
[Id] [int] NOT NULL IDENTITY,
[Title] [varchar](200) NOT NULL,
[Description] [varchar](500),
[Slug] [varchar](200) NOT NULL,
[Content] [varchar](max),
[Keywords] [varchar](500),
[CreationDate] [datetime] NOT NULL,
[LastModificationDate] [datetime] NOT NULL,
[PublicationDate] [datetime] NOT NULL,
[IsPublished] [bit] NOT NULL,
[IsFrontPage] [bit] NOT NULL,
[ParentId] [int],
[ShowInList] [bit] NOT NULL,
[IsDeleted] [bit] NOT NULL,
[Author_Id] [int] NOT NULL,
PRIMARY KEY ([Id])
)
CREATE TABLE [RoleGroupUsers] (
[RoleGroup_Id] [int] NOT NULL,
[User_Id] [int] NOT NULL,
PRIMARY KEY ([RoleGroup_Id], [User_Id])
)
CREATE TABLE [TagPosts] (
[Tag_Id] [int] NOT NULL,
[Post_Id] [int] NOT NULL,
PRIMARY KEY ([Tag_Id], [Post_Id])
)
CREATE TABLE [CategoryPosts] (
[Category_Id] [int] NOT NULL,
[Post_Id] [int] NOT NULL,
PRIMARY KEY ([Category_Id], [Post_Id])
)
ALTER TABLE [PostComments] ADD CONSTRAINT [FK_PostComments_Users_Author_Id] FOREIGN KEY ([Author_Id]) REFERENCES [Users] ([Id])
ALTER TABLE [PostComments] ADD CONSTRAINT [FK_PostComments_Users_ModeratedBy_Id] FOREIGN KEY ([ModeratedBy_Id]) REFERENCES [Users] ([Id])
ALTER TABLE [PostComments] ADD CONSTRAINT [FK_PostComments_Posts_Post_Id] FOREIGN KEY ([Post_Id]) REFERENCES [Posts] ([Id])
ALTER TABLE [PostComments] ADD CONSTRAINT [FK_PostComments_PostComments_ParentComment_Id] FOREIGN KEY ([ParentComment_Id]) REFERENCES [PostComments] ([Id])
ALTER TABLE [Posts] ADD CONSTRAINT [FK_Posts_Users_Author_Id] FOREIGN KEY ([Author_Id]) REFERENCES [Users] ([Id])
ALTER TABLE [Pages] ADD CONSTRAINT [FK_Pages_Pages_ParentId] FOREIGN KEY ([ParentId]) REFERENCES [Pages] ([Id])
ALTER TABLE [Pages] ADD CONSTRAINT [FK_Pages_Users_Author_Id] FOREIGN KEY ([Author_Id]) REFERENCES [Users] ([Id])
ALTER TABLE [RoleGroupUsers] ADD CONSTRAINT [FK_RoleGroupUsers_RoleGroups_RoleGroup_Id] FOREIGN KEY ([RoleGroup_Id]) REFERENCES [RoleGroups] ([Id])
ALTER TABLE [RoleGroupUsers] ADD CONSTRAINT [FK_RoleGroupUsers_Users_User_Id] FOREIGN KEY ([User_Id]) REFERENCES [Users] ([Id])
ALTER TABLE [TagPosts] ADD CONSTRAINT [FK_TagPosts_Tags_Tag_Id] FOREIGN KEY ([Tag_Id]) REFERENCES [Tags] ([Id])
ALTER TABLE [TagPosts] ADD CONSTRAINT [FK_TagPosts_Posts_Post_Id] FOREIGN KEY ([Post_Id]) REFERENCES [Posts] ([Id])
ALTER TABLE [CategoryPosts] ADD CONSTRAINT [FK_CategoryPosts_Categories_Category_Id] FOREIGN KEY ([Category_Id]) REFERENCES [Categories] ([Id])
ALTER TABLE [CategoryPosts] ADD CONSTRAINT [FK_CategoryPosts_Posts_Post_Id] FOREIGN KEY ([Post_Id]) REFERENCES [Posts] ([Id])
insert [dbo].[RoleGroups]
([Name],
[AssignedRoles])
values ('Admin' ,
'AccessAdminPages,AccessAdminSettingsPages,ManageWidgets,ViewPublicComments,ViewUnmoderatedComments,CreateComments,ModerateComments,ViewPublicPosts,ViewUnpublishedPosts,CreateNewPosts,EditOwnPosts,EditOtherUsersPosts,DeleteOwnPosts,DeleteOtherUsersPosts,PublishOwnPosts,PublishOtherUsersPosts,ViewPublicPages,ViewUnpublishedPages,CreateNewPages,EditOwnPages,EditOtherUsersPages,DeleteOwnPages,DeleteOtherUsersPages,PublishOwnPages,PublishOtherUsersPages,ViewRoleGroups,CreateRoleGroups,EditRoleGroups,DeleteRoleGroups,EditOwnRoleGroups,EditOtherUsersRoleGroups,CreateNewUsers,EditOwnUser,EditOtherUsers')
insert [dbo].[RoleGroups]
([Name],
[AssignedRoles])
values ('Editor' ,
'AccessAdminPages,ViewPublicPosts,ViewUnpublishedPosts,CreateNewPosts,EditOwnPosts,DeleteOwnPosts,PublishOwnPosts,EditOwnUser,ViewPublicComments,ViewUnmoderatedComments,CreateComments,ModerateComments,ViewPublicPages,ViewUnpublishedPages,CreateNewPages,EditOwnPages,DeleteOwnPages,PublishOwnPages' )
insert [dbo].[RoleGroups]
([Name],
[AssignedRoles])
values ('Anonymous' ,
'ViewPublicPosts,ViewPublicComments,CreateComments,ViewPublicPages' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (1 ,
'MinRequiredPasswordLength' ,
'6' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (2 ,
'PostsPerPage' ,
'10' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (3 ,
'BlogName' ,
'Your Name' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (4 ,
'BlogDescription' ,
'BlogDescription' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (5 ,
'Theme' ,
'Default' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (6 ,
'Utc Offset' ,
'UTC' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (7 ,
'Email To' ,
'<EMAIL>' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (8 ,
'Subject Prefix' ,
'Blog' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (9 ,
'Smtp Address' ,
'smtp.domain.com' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (10 ,
'Smtp Port' ,
'25' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (11 ,
'Smtp UserName' ,
'user' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (12 ,
'Smtp Password' ,
'' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (13 ,
'Smtp SSL' ,
'False' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (14 ,
'Enable Comments' ,
'True' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (15 ,
'Moderate Comments' ,
'True' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (16 ,
'Enable Nested Comments' ,
'True' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (17 ,
'Close Comments After Days' ,
null)
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (18 ,
'Comments Per Page' ,
'10' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (19 ,
'Comments Avatar' ,
null)
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (20 ,
'Blog Culture' ,
'auto' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (21 ,
'Enable Facebook Like Button For Posts' ,
'True' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (22 ,
'Enable Google +1 Button For Posts' ,
'True' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (23 ,
'Enable Twitter Share Button For Posts' ,
'True' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (24 ,
'Last Database Change' ,
'0' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (25 ,
'Custom Code' ,
'' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (26 ,
'Alternate Feed Url' ,
'' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (27 ,
'Items Shown In Feed' ,
'10' )
insert [dbo].[Settings]
([Id],
[Description],
[Value])
values (28 ,
'Default Feed Output' ,
'RSS' )
insert [dbo].[Users]
([Username],
[Email],
[Password],
[DisplayName],
[FullName],
[Location],
[CreationDate],
[LastLoginDate],
[About],
[BirthDate],
[Enabled])
values ('admin' ,
'<EMAIL>' ,
'admin' ,
null,
null,
null,
GETUTCDATE(),
null,
null,
null,
1 )
insert [dbo].[Posts]
([Title],
[Description],
[Slug],
[Content],
[CreationDate],
[LastModificationDate],
[PublicationDate],
[IsPublished],
[IsCommentEnabled],
[IsDeleted],
[Author_Id])
values ('Example post. You blog is now installed' ,
null,
'example' ,
'Example post' ,
GETUTCDATE(),
GETUTCDATE(),
GETUTCDATE(),
1 ,
1 ,
0 ,
1 )
insert [dbo].[RoleGroupUsers]
([RoleGroup_Id],
[User_Id])
values (1 ,
1 )
COMMIT
END TRY
BEGIN CATCH
ROLLBACK
END CATCH
|
<filename>models/schema.sql
DROP DATABASE IF EXISTS shiftChange_db;
CREATE DATABASE shiftChange_db;
DROP DATABASE IF EXISTS shiftChangeTest_db;
CREATE DATABASE shiftChangeTest_db;
|
<reponame>SkillsFundingAgency/das-employeraccounts
BEGIN TRANSACTION
DECLARE @accountId BIGINT
DECLARE @payeScheme NVARCHAR(50)
DECLARE @yearlyLevy DECIMAL(18, 4)
DECLARE @currentYearLevy DECIMAL(18, 4)
SET @accountId = 0
SET @payeScheme = 'XXX'
SET @yearlyLevy = 120000
SET @currentYearLevy = 10000
DECLARE @montlyLevy DECIMAL(18, 4) = @yearlyLevy / 12
DECLARE @currentYear INT = DATEPART(year, GETDATE())
DECLARE @currentMonth INT = DATEPART(month, GETDATE())
DECLARE @currentDay INT = DATEPART(day, GETDATE())
DECLARE @previousLevyYearStart VARCHAR(4)
DECLARE @previousLevyYearEnd VARCHAR(4)
IF(@currentMonth = 4 AND @currentDay >= 20 OR @currentMonth > 4)
BEGIN
SET @previousLevyYearStart = @currentYear - 1
SET @previousLevyYearEnd = @currentYear
END
ELSE
BEGIN
SET @previousLevyYearStart = @currentYear - 2
SET @previousLevyYearEnd = @currentYear - 1
END
DECLARE @payrollYear VARCHAR(5) = (SELECT RIGHT(CONVERT(VARCHAR(5), @previousLevyYearStart, 1), 2)) + '-' + (SELECT RIGHT(CONVERT(VARCHAR(4), @previousLevyYearEnd, 1), 2))
INSERT INTO employer_financial.EnglishFraction (DateCalculated, Amount, EmpRef, DateCreated)
VALUES
(@previousLevyYearStart + '-06-10 07:12:28.060', 1.000, @payeScheme, @previousLevyYearStart + '-06-12 07:12:28.060'),
(@previousLevyYearStart + '-09-10 07:12:28.060', 1.000, @payeScheme, @previousLevyYearStart + '-09-12 07:12:28.060'),
(@previousLevyYearStart + '-12-10 07:12:28.060', 1.000, @payeScheme, @previousLevyYearStart + '-06-12 07:12:28.060'),
(@previousLevyYearEnd + '-03-10 07:12:28.060', 1.000, @payeScheme, @previousLevyYearEnd + '-03-12 07:12:28.060')
DECLARE @maxSubmissionId BIGINT = ISNULL((SELECT MAX(SubmissionId) FROM employer_financial.levydeclaration),0)
INSERT INTO employer_financial.levydeclaration (AccountId,empref,levydueytd,levyallowanceforyear,submissiondate,submissionid,payrollyear,payrollmonth,createddate,hmrcsubmissionid)
VALUES
(@accountId, @payeScheme, @montlyLevy, 1500.0000, @previousLevyYearStart + '-05-18 07:12:28.060', @maxSubmissionId + 1, @payrollYear, 1, @previousLevyYearStart + '-05-20 07:12:28.060', @maxSubmissionId + 1),
(@accountId, @payeScheme, @montlyLevy * 2, 1500.0000, @previousLevyYearStart + '-06-18 07:12:28.060', @maxSubmissionId + 2, @payrollYear, 2, @previousLevyYearStart +'-06-20 07:12:28.060', @maxSubmissionId + 2),
(@accountId, @payeScheme, @montlyLevy * 3, 1500.0000, @previousLevyYearStart + '-07-18 07:12:28.060', @maxSubmissionId + 3, @payrollYear, 3, @previousLevyYearStart +'-07-20 07:12:28.060', @maxSubmissionId + 3),
(@accountId, @payeScheme, @montlyLevy * 4, 1500.0000, @previousLevyYearStart + '-08-18 07:12:28.060', @maxSubmissionId + 4, @payrollYear, 4, @previousLevyYearStart +'-08-20 07:12:28.060', @maxSubmissionId + 4),
(@accountId, @payeScheme, @montlyLevy * 5, 1500.0000, @previousLevyYearStart + '-09-18 07:12:28.060', @maxSubmissionId + 5, @payrollYear, 5, @previousLevyYearStart +'-09-20 07:12:28.060', @maxSubmissionId + 5),
(@accountId, @payeScheme, @montlyLevy * 6, 1500.0000, @previousLevyYearStart + '-10-18 07:12:28.060', @maxSubmissionId + 6, @payrollYear, 6, @previousLevyYearStart +'-10-20 07:12:28.060', @maxSubmissionId + 6),
(@accountId, @payeScheme, @montlyLevy * 7, 1500.0000, @previousLevyYearStart + '-11-18 07:12:28.060', @maxSubmissionId + 7, @payrollYear, 7, @previousLevyYearStart +'-11-20 07:12:28.060', @maxSubmissionId + 7),
(@accountId, @payeScheme, @montlyLevy * 8, 1500.0000, @previousLevyYearStart + '-12-18 07:12:28.060', @maxSubmissionId + 8, @payrollYear, 8, @previousLevyYearStart +'-12-20 07:12:28.060', @maxSubmissionId + 8),
(@accountId, @payeScheme, @montlyLevy * 9, 1500.0000, @previousLevyYearEnd + '-01-18 07:12:28.060', @maxSubmissionId + 9, @payrollYear, 9, @previousLevyYearEnd + '-01-20 07:12:28.060', @maxSubmissionId + 9),
(@accountId, @payeScheme, @montlyLevy * 10, 1500.0000, @previousLevyYearEnd + '-02-18 07:12:28.060', @maxSubmissionId + 10, @payrollYear, 10, @previousLevyYearEnd + '-02-20 07:12:28.060', @maxSubmissionId + 10),
(@accountId, @payeScheme, @montlyLevy * 11, 1500.0000, @previousLevyYearEnd + '-03-18 07:12:28.060', @maxSubmissionId + 11, @payrollYear, 11, @previousLevyYearEnd + '-03-20 07:12:28.060', @maxSubmissionId + 11),
(@accountId, @payeScheme, @montlyLevy * 12, 1500.0000, @previousLevyYearEnd + '-04-18 07:12:28.060', @maxSubmissionId + 12, @payrollYear, 12, @previousLevyYearEnd + '-04-20 07:12:28.060', @maxSubmissionId + 12)
IF(@currentMonth > 4)
BEGIN
DECLARE @nextPayrollYear VARCHAR(5) = (SELECT RIGHT(CONVERT(VARCHAR(5), @previousLevyYearEnd, 1), 2)) + '-' + (SELECT RIGHT(CONVERT(VARCHAR(4), @previousLevyYearEnd + 1, 1), 2))
INSERT INTO employer_financial.levydeclaration (AccountId,empref,levydueytd,levyallowanceforyear,submissiondate,submissionid,payrollyear,payrollmonth,createddate,hmrcsubmissionid)
VALUES (@accountId, @payeScheme, @currentYearLevy, 1500.0000, @previousLevyYearEnd + '-05-18 07:12:28.060', @maxSubmissionId + 13, @nextPayrollYear, 1, @previousLevyYearEnd + '-05-20 07:12:28.060', @maxSubmissionId + 13)
END
EXEC employer_financial.processdeclarationstransactions @accountId, @payeScheme
COMMIT TRANSACTION |
<reponame>frouioui/tagenal
\! echo 'Users'
USE users;
SELECT * FROM user LIMIT 20;
|
<reponame>omegazip/dba_scripts
-- -----------------------------------------------------------------------------------
-- File Name : http://www.oracle-base.com/dba/monitoring/locked_objects.sql
-- Author : <NAME>
-- Description : Lists all locked objects for whole RAC.
-- Requirements : Access to the V$ views.
-- Call Syntax : @locked_objects
-- Last Modified: 15/07/2000
-- -----------------------------------------------------------------------------------
SET LINESIZE 500
SET PAGESIZE 1000
SET VERIFY OFF
COLUMN owner FORMAT A20
COLUMN username FORMAT A20
COLUMN object_owner FORMAT A20
COLUMN object_name FORMAT A30
COLUMN locked_mode FORMAT A15
SELECT b.inst_id,
b.session_id AS sid,
NVL(b.oracle_username, '(oracle)') AS username,
a.owner AS object_owner,
a.object_name,
Decode(b.locked_mode, 0, 'None',
1, 'Null (NULL)',
2, 'Row-S (SS)',
3, 'Row-X (SX)',
4, 'Share (S)',
5, 'S/Row-X (SSX)',
6, 'Exclusive (X)',
b.locked_mode) locked_mode,
b.os_user_name
FROM dba_objects a,
gv$locked_object b
WHERE a.object_id = b.object_id
ORDER BY 1, 2, 3, 4;
SET PAGESIZE 14
SET VERIFY ON
|
/*
Navicat MySQL Data Transfer
Source Server : Ubuntu
Source Server Type : MySQL
Source Server Version : 50730
Source Host : 192.168.80.128:3306
Source Schema : huikedev
Target Server Type : MySQL
Target Server Version : 50730
File Encoding : 65001
Date: 24/02/2021 10:11:20
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for huike_actions
-- ----------------------------
DROP TABLE IF EXISTS `huike_actions`;
CREATE TABLE `huike_actions` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`action_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '方法名',
`action_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '方法名称',
`controller_id` int(11) NOT NULL COMMENT '控制器ID',
`route_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '路由别名',
`request_method` tinyint(4) NOT NULL DEFAULT 0 COMMENT '请求类型',
`service_return_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '返回类型',
`is_need_permission` tinyint(4) NOT NULL DEFAULT 1 COMMENT '是否需要权限',
`notice_type` tinyint(4) NOT NULL DEFAULT 0 COMMENT '前端操作反馈',
`response_type` tinyint(4) NOT NULL DEFAULT 1 COMMENT '响应类型',
`remind_msg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '提示消息',
`is_private` tinyint(4) NOT NULL DEFAULT 1 COMMENT '是否公开访问',
`edit_level` tinyint(4) NOT NULL DEFAULT 0 COMMENT '编辑级别',
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '备注',
`creator_id` int(11) NOT NULL DEFAULT 0 COMMENT '创建人ID',
`create_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建时间',
`update_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '最后更新时间',
`delete_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '软删除时间',
PRIMARY KEY (`id`) USING BTREE,
INDEX `controller_id`(`controller_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 58 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '控制器方法' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of huike_actions
-- ----------------------------
INSERT INTO `huike_actions` VALUES (1, 'index', '登录', 5, 'index', 1, 'array_object', 0, 3, 1, '登录成功,请稍后', 0, 21, '', 1, 1612119224, 1612119224, 0);
INSERT INTO `huike_actions` VALUES (2, 'getUserInfo', '用户详情', 6, 'getUserInfo', 0, 'array_object', 1, 0, 1, '', 1, 21, '', 1, 1612119395, 1612119395, 0);
INSERT INTO `huike_actions` VALUES (3, 'Test', '测试', 5, 'test', 0, 'mixed', 1, 0, 1, '', 1, 21, '', 1, 1612119546, 1612155488, 1612155488);
INSERT INTO `huike_actions` VALUES (4, 'index', '列表', 7, 'index', 0, 'paginator', 1, 0, 1, '', 1, 21, '', 1, 1612179281, 1612179281, 0);
INSERT INTO `huike_actions` VALUES (5, 'create', '新增', 7, 'create', 1, 'bool', 1, 9, 1, '门面创建成功', 1, 21, '', 1, 1612179338, 1612179338, 0);
INSERT INTO `huike_actions` VALUES (6, 'delete', '删除', 7, 'delete', 1, 'bool', 1, 9, 1, '门面删除成功', 1, 21, '', 1, 1612179383, 1612179383, 0);
INSERT INTO `huike_actions` VALUES (7, 'refresh', '刷新', 7, 'refresh', 1, 'bool', 1, 9, 1, '门面刷新成功', 1, 21, '', 1, 1612179418, 1612179418, 0);
INSERT INTO `huike_actions` VALUES (8, 'create', '新增', 8, 'create', 1, 'bool', 1, 9, 1, '数据库迁移文件创建成功', 1, 21, '', 1, 1612179446, 1612179446, 0);
INSERT INTO `huike_actions` VALUES (9, 'run', '执行', 8, 'run', 1, 'bool', 1, 9, 1, '数据库迁移执行成功', 1, 21, '', 1, 1612179476, 1612179476, 0);
INSERT INTO `huike_actions` VALUES (10, 'index', '列表', 9, 'index', 0, 'paginator', 1, 0, 1, '', 1, 21, '', 1, 1612179492, 1612179492, 0);
INSERT INTO `huike_actions` VALUES (11, 'simpleList', '简单列表', 9, 'simpleList', 0, 'array', 1, 0, 1, '', 1, 21, '', 1, 1612179512, 1612179512, 0);
INSERT INTO `huike_actions` VALUES (12, 'create', '新增', 9, 'create', 1, 'bool', 1, 9, 1, '模型创建成功', 1, 21, '', 1, 1612179533, 1612179533, 0);
INSERT INTO `huike_actions` VALUES (13, 'updateAnnotation', '更新注解', 9, 'updateAnnotation', 1, 'bool', 1, 6, 1, '模型注解更新成功', 1, 21, '', 1, 1612179557, 1612179557, 0);
INSERT INTO `huike_actions` VALUES (14, 'delete', '删除', 9, 'delete', 1, 'bool', 1, 9, 1, '模型删除成功', 1, 21, '', 1, 1612179574, 1612179574, 0);
INSERT INTO `huike_actions` VALUES (15, 'read', '详情', 9, 'read', 0, 'model', 1, 0, 1, '', 1, 21, '', 1, 1612179592, 1612179592, 0);
INSERT INTO `huike_actions` VALUES (16, 'syncProperty', '同步属性', 9, 'syncProperty', 1, 'bool', 1, 6, 1, '模型属性同步成功', 1, 21, '', 1, 1612179613, 1612179613, 0);
INSERT INTO `huike_actions` VALUES (17, 'getFields', '字段列表', 9, 'getFields', 0, 'array', 1, 0, 1, '', 1, 21, '', 1, 1612179631, 1612179631, 0);
INSERT INTO `huike_actions` VALUES (18, 'index', '列表', 10, 'index', 0, 'paginator', 1, 0, 1, '', 1, 21, '', 1, 1612179644, 1612179644, 0);
INSERT INTO `huike_actions` VALUES (19, 'create', '新增', 10, 'create', 1, 'array_object', 1, 0, 1, '', 1, 21, '', 1, 1612179675, 1612179675, 0);
INSERT INTO `huike_actions` VALUES (20, 'edit', '修改', 10, 'edit', 1, 'bool', 1, 9, 1, '修改逻辑方法成功', 1, 21, '', 1, 1612179706, 1612179706, 0);
INSERT INTO `huike_actions` VALUES (21, 'delete', '删除', 10, 'delete', 1, 'bool', 1, 9, 1, '删除逻辑方法成功', 1, 21, '', 1, 1612179724, 1612179724, 0);
INSERT INTO `huike_actions` VALUES (22, 'unSynced', '未同步列表', 10, 'unSynced', 0, 'paginator', 1, 0, 1, '', 1, 21, '', 1, 1612179743, 1612179743, 0);
INSERT INTO `huike_actions` VALUES (23, 'sync', '同步方法', 10, 'sync', 1, 'bool', 1, 6, 1, '同步逻辑方法成功', 1, 21, '', 1, 1612179770, 1612179770, 0);
INSERT INTO `huike_actions` VALUES (24, 'speedCreate', '一键创建', 10, 'speedCreate', 1, 'array_object', 1, 0, 1, '', 1, 21, '', 1, 1612179807, 1612179807, 0);
INSERT INTO `huike_actions` VALUES (25, 'index', '列表', 11, 'index', 0, 'paginator', 1, 0, 1, '', 1, 21, '', 1, 1612179819, 1612179819, 0);
INSERT INTO `huike_actions` VALUES (26, 'create', '新增', 11, 'create', 1, 'bool', 1, 9, 1, '控制器创建成功', 1, 21, '', 1, 1612179840, 1612179840, 0);
INSERT INTO `huike_actions` VALUES (27, 'edit', '修改', 11, 'edit', 1, 'bool', 1, 9, 1, '控制器修改成功', 1, 21, '', 1, 1612179860, 1612179860, 0);
INSERT INTO `huike_actions` VALUES (28, 'delete', '删除', 11, 'delete', 1, 'bool', 1, 9, 1, '控制器删除成功', 1, 21, '', 1, 1612179877, 1612179877, 0);
INSERT INTO `huike_actions` VALUES (29, 'unSynced', '未同步列表', 11, 'unSynced', 0, 'array', 1, 0, 1, '', 1, 21, '', 1, 1612179894, 1612179894, 0);
INSERT INTO `huike_actions` VALUES (30, 'sync', '同步', 11, 'sync', 1, 'bool', 1, 6, 1, '控制器同步成功', 1, 21, '', 1, 1612179914, 1612179914, 0);
INSERT INTO `huike_actions` VALUES (31, 'checkException', '查询异常码', 11, 'checkException', 0, 'array_object', 1, 0, 1, '', 1, 21, '', 1, 1612179937, 1612179937, 0);
INSERT INTO `huike_actions` VALUES (32, 'simpleList', '简单列表', 11, 'simpleList', 0, 'array', 1, 0, 1, '', 1, 21, '', 1, 1612179955, 1612179955, 0);
INSERT INTO `huike_actions` VALUES (34, 'index', '列表', 12, 'index', 0, 'paginator', 1, 0, 1, '', 1, 21, '', 1, 1612179992, 1612179992, 0);
INSERT INTO `huike_actions` VALUES (35, 'create', '新增', 12, 'create', 1, 'bool', 1, 9, 1, '模块创建成功', 1, 21, '', 1, 1612180010, 1612180010, 0);
INSERT INTO `huike_actions` VALUES (37, 'simpleList', '简单列表', 12, 'simpleList', 0, 'array', 1, 0, 1, '', 1, 21, '', 1, 1612180052, 1612180052, 0);
INSERT INTO `huike_actions` VALUES (38, 'updateServiceFacade', '刷新服务门面', 7, 'updateServiceFacade', 1, 'bool', 1, 6, 1, '刷新服务门面成功', 1, 21, '', 1, 1612357988, 1612357988, 0);
INSERT INTO `huike_actions` VALUES (40, 'extendModules', '第三方模块列表', 12, 'extendModules', 0, 'array', 1, 0, 1, '', 1, 21, '', 1, 1612795237, 1612795237, 0);
INSERT INTO `huike_actions` VALUES (42, 'edit', '修改', 12, 'edit', 1, 'bool', 1, 9, 1, '修改模块设置成功', 1, 21, '修改模块设置', 1, 1612873972, 1612873972, 0);
INSERT INTO `huike_actions` VALUES (43, 'refreshRoutes', '刷新路由配置', 12, 'refreshRoutes', 1, 'bool', 1, 9, 1, '路由生成成功,请前往对应的模块目录查看', 1, 21, '路由生成', 1, 1612875222, 1612875222, 0);
INSERT INTO `huike_actions` VALUES (44, 'index', '列表', 17, 'index', 0, 'paginator', 1, 0, 1, '', 1, 21, '', 1, 1613536801, 1613536801, 0);
INSERT INTO `huike_actions` VALUES (45, 'update', '修改', 17, 'update', 1, 'bool', 1, 9, 1, '开发者信息修改成功', 1, 21, '', 1, 1613562995, 1613562995, 0);
INSERT INTO `huike_actions` VALUES (46, 'delete', '删除', 17, 'delete', 1, 'bool', 1, 9, 1, '开发者删除成功', 1, 21, '', 1, 1613563038, 1613563038, 0);
INSERT INTO `huike_actions` VALUES (47, 'positionList', '岗位列表', 17, 'positionList', 0, 'array', 1, 0, 1, '', 1, 21, '', 1, 1613623640, 1613623640, 0);
INSERT INTO `huike_actions` VALUES (48, 'create', '新增', 17, 'create', 1, 'bool', 1, 9, 1, '开发者添加成功', 1, 21, '', 1, 1613631699, 1613631699, 0);
INSERT INTO `huike_actions` VALUES (49, 'tableToMigration', '表字段生成迁移文件', 8, 'tableToMigration', 1, 'bool', 1, 6, 1, '从表字段生成迁移文件成功', 1, 21, '', 1, 1613748224, 1613748224, 0);
INSERT INTO `huike_actions` VALUES (50, 'tableToSeeds', '表数据生成种子文件', 8, 'tableToSeeds', 1, 'bool', 1, 6, 1, '表数据生成种子文件成功!', 1, 21, '', 1, 1613751850, 1613751850, 0);
INSERT INTO `huike_actions` VALUES (51, 'index', '首页', 21, 'index', 0, 'paginator', 1, 0, 1, '', 1, 21, '首页', 1, 1613797768, 1613797768, 0);
INSERT INTO `huike_actions` VALUES (52, 'create', '新增', 21, 'create', 1, 'bool', 1, 6, 1, '控制器目录创建成功!', 1, 21, '新增', 1, 1613797768, 1613797768, 0);
INSERT INTO `huike_actions` VALUES (53, 'edit', '修改', 21, 'edit', 1, 'bool', 1, 6, 1, '控制器目录修改成功!', 1, 21, '修改', 1, 1613797768, 1613797768, 0);
INSERT INTO `huike_actions` VALUES (54, 'delete', '删除', 21, 'delete', 1, 'bool', 1, 9, 1, '控制器目录删除成功!', 1, 21, '删除', 1, 1613797768, 1613797768, 0);
INSERT INTO `huike_actions` VALUES (55, 'simpleList', '简单列表', 21, 'simpleList', 0, 'array', 1, 0, 1, '', 1, 21, '', 1, 1613804705, 1614015881, 0);
INSERT INTO `huike_actions` VALUES (56, 'refreshException', '刷新异常配置', 12, 'refreshException', 1, 'bool', 1, 6, 1, '刷新异常配置文件成功', 1, 21, '', 1, 1614006250, 1614006250, 0);
INSERT INTO `huike_actions` VALUES (57, 'logout', '退出登录', 6, 'logout', 0, 'bool', 0, 0, 1, '', 0, 0, '', 1, 1614088754, 1614088754, 0);
-- ----------------------------
-- Table structure for huike_controllers
-- ----------------------------
DROP TABLE IF EXISTS `huike_controllers`;
CREATE TABLE `huike_controllers` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`controller_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '控制器标识',
`controller_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '控制器名称',
`path_id` int(11) NOT NULL DEFAULT 0 COMMENT '上级目录ID',
`module_id` int(11) UNSIGNED NOT NULL COMMENT '模块ID',
`route_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '路由标识',
`is_static_service` tinyint(4) NOT NULL DEFAULT 0 COMMENT '静态服务代理模式',
`created_by_huike` tinyint(4) NOT NULL DEFAULT 0 COMMENT '是否为自动生成',
`exception_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '异常key',
`exception_code` int(11) NULL DEFAULT NULL COMMENT '异常code',
`exception_msg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '异常message',
`creator_id` int(11) NOT NULL DEFAULT 0 COMMENT '创建人ID',
`edit_level` tinyint(4) NOT NULL DEFAULT 0,
`delete_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '软删除时间',
`update_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '最后更新时间',
`create_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建时间',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `exception_key`(`exception_key`) USING BTREE,
UNIQUE INDEX `exception_code`(`exception_code`) USING BTREE,
INDEX `module_id`(`module_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 22 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '后端控制器节点' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of huike_controllers
-- ----------------------------
INSERT INTO `huike_controllers` VALUES (1, '/', '模块根目录', 0, 1, '', 0, 1, NULL, NULL, '', 1, 21, 0, 1612095224, 1612095224);
INSERT INTO `huike_controllers` VALUES (2, 'generate', '代码生成', 0, 1, 'generate', 0, 1, NULL, NULL, '', 1, 21, 0, 1613885227, 1612102562);
INSERT INTO `huike_controllers` VALUES (3, 'system', '系统设置', 0, 1, 'system', 0, 1, NULL, NULL, '', 1, 21, 0, 1612102659, 1612102659);
INSERT INTO `huike_controllers` VALUES (4, 'user', '管理用户', 0, 1, '', 0, 1, NULL, NULL, '', 1, 21, 0, 1612102673, 1612102673);
INSERT INTO `huike_controllers` VALUES (5, 'Login', '登录', 4, 1, 'login', 0, 1, 'dev login exception', -1000, '系统错误,请稍候再试', 1, 21, 0, 1612102944, 1612102944);
INSERT INTO `huike_controllers` VALUES (6, 'User', '用户', 4, 1, 'user', 0, 1, 'dev user exception', -1100, '系统错误,请稍候再试', 1, 21, 0, 1612875654, 1612103316);
INSERT INTO `huike_controllers` VALUES (7, 'Facade', '门面', 2, 1, 'facade', 0, 1, 'dev facade exception', -1200, '系统错误,请稍候再试', 1, 21, 0, 1612103372, 1612103372);
INSERT INTO `huike_controllers` VALUES (8, 'Migrate', '数据库迁移', 2, 1, 'migrate', 0, 1, 'dev migrate exception', -1500, '系统错误,请稍候再试', 1, 21, 0, 1612103423, 1612103423);
INSERT INTO `huike_controllers` VALUES (9, 'Model', '模型', 2, 1, 'model', 0, 1, 'dev model exception', -1300, '系统错误,请稍候再试', 1, 21, 0, 1612103468, 1612103468);
INSERT INTO `huike_controllers` VALUES (10, 'Actions', '逻辑方法', 3, 1, 'actions', 0, 1, 'dev actions exception', -1800, '系统错误,请稍候再试', 1, 21, 0, 1612103800, 1612103800);
INSERT INTO `huike_controllers` VALUES (11, 'Controllers', '控制器', 3, 1, 'controllers', 0, 1, 'dev controllers exception', -1700, '系统错误,请稍候再试', 1, 21, 0, 1612103955, 1612103955);
INSERT INTO `huike_controllers` VALUES (12, 'Module', '模块管理', 3, 1, 'modules', 0, 1, 'dev module exception', -1600, '系统错误,请稍候再试', 1, 21, 0, 1612875494, 1612103994);
INSERT INTO `huike_controllers` VALUES (17, 'Developer', '开发者', 4, 1, 'developer', 1, 1, 'dev developer exception', -2300, '系统错误,请稍候再试', 1, 21, 0, 1613535981, 1613535981);
INSERT INTO `huike_controllers` VALUES (21, 'ControllerPath', '控制器目录', 3, 1, 'controller_path', 1, 1, 'dev controller path exception', -2400, '系统错误,请稍候再试', 1, 21, 0, 1614000779, 1613797119);
-- ----------------------------
-- Table structure for huike_developer
-- ----------------------------
DROP TABLE IF EXISTS `huike_developer`;
CREATE TABLE `huike_developer` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户名',
`password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '登录密码',
`position_id` tinyint(4) NOT NULL DEFAULT 0 COMMENT '职位ID',
`last_login_ip` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '上次登录IP',
`login_time` int(11) NOT NULL DEFAULT 0 COMMENT '当次登录时间',
`login_ip` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '当次登录IP',
`last_login_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '最后登录时间',
`creator_id` int(11) NOT NULL DEFAULT 0,
`delete_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '删除时间',
`create_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建时间',
`update_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE,
INDEX `username`(`username`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '管理员用户表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of huike_developer
-- ----------------------------
INSERT INTO `huike_developer` VALUES (1, 'huikedev', '$2y$10$7fn5WF3a3wFPk7R.HaghXuoUCr2CX1t2CjzACBP.9lOdg/mwI0G7y', 9, '127.0.0.1', 1614132509, '127.0.0.1', 1614089776, 1, 0, 1589639264, 1614132509);
-- ----------------------------
-- Table structure for huike_extend_modules
-- ----------------------------
DROP TABLE IF EXISTS `huike_extend_modules`;
CREATE TABLE `huike_extend_modules` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`root_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '模块根目录',
`root_namespace` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '根命名空间',
`root_base_exception` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '模块异常基类',
`root_base_model` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '模块模型基类',
`root_base_controller` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '模块控制器基类',
`root_base_logic` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '模块控制器基类',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '三方模块' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of huike_extend_modules
-- ----------------------------
INSERT INTO `huike_extend_modules` VALUES (1, 'huikedev\\dev_admin\\src', 'huikedev\\dev_admin', 'huikedev\\dev_admin\\common\\exception\\DevServiceException', 'huikedev\\dev_admin\\common\\DevModel', 'huikedev\\dev_admin\\common\\DevController', '');
-- ----------------------------
-- Table structure for huike_facades
-- ----------------------------
DROP TABLE IF EXISTS `huike_facades`;
CREATE TABLE `huike_facades` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`origin_class` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '原始类名称',
`facade_class` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '门面类名称',
`facade_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '门面路径',
`facade_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '门面中文名称',
`type_id` tinyint(4) NOT NULL DEFAULT 1 COMMENT '门面类型',
`action_count` tinyint(4) NOT NULL DEFAULT 0 COMMENT '门面类方法数量',
`update_times` tinyint(4) NOT NULL DEFAULT 1 COMMENT '更新次数',
`creator_id` int(11) NOT NULL DEFAULT 0 COMMENT '创建人ID',
`edit_level` tinyint(4) NOT NULL DEFAULT 0,
`delete_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '标记删除',
`create_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建时间',
`update_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE,
INDEX `origin_class`(`origin_class`) USING BTREE,
INDEX `facade_class`(`facade_class`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of huike_facades
-- ----------------------------
INSERT INTO `huike_facades` VALUES (1, 'huikedev\\dev_admin\\common\\caching\\provider\\routes\\DevActionsCache', 'huikedev\\dev_admin\\common\\caching\\facade\\DevActionsCache', 'huikedev\\dev_admin\\src\\common\\caching\\facade', '路由方法缓存', 3, 8, 5, 1, 21, 0, 1613731609, 1614080744);
INSERT INTO `huike_facades` VALUES (2, 'huikedev\\dev_admin\\common\\caching\\provider\\user\\DeveloperCache', 'huikedev\\dev_admin\\common\\caching\\facade\\DeveloperCache', 'huikedev\\dev_admin\\src\\common\\caching\\facade', '开发者信息', 3, 8, 2, 1, 21, 0, 1613731764, 1614080525);
-- ----------------------------
-- Table structure for huike_models
-- ----------------------------
DROP TABLE IF EXISTS `huike_models`;
CREATE TABLE `huike_models` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`model_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '模型名称',
`model_full_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '模型全名',
`module_id` int(11) NOT NULL DEFAULT 0 COMMENT '模块ID',
`base_model_id` tinyint(4) NOT NULL DEFAULT 1 COMMENT '模型基类0=think\\Model 1=huike\\base\\Model 2=第三方模块模型基类',
`table_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '模型对应的表名称',
`pk_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '主键名称',
`connection_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '数据库连接名称',
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
`is_json_assoc` tinyint(4) NOT NULL DEFAULT 0,
`is_delete_time` tinyint(4) NOT NULL DEFAULT 0 COMMENT '是否包含软删除时间字段',
`is_create_time` tinyint(4) NOT NULL DEFAULT 1 COMMENT '是否包含创建时间字段',
`is_update_time` tinyint(4) NOT NULL DEFAULT 1 COMMENT '是否包含更新时间字段',
`is_creator_id` tinyint(4) NOT NULL DEFAULT 0 COMMENT '是否包含创建人字段',
`migrate_version` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '数据库迁移版本',
`migrate_file` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '数据库迁移文件',
`seed_file` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '数据库种子文件',
`creator_id` int(11) NOT NULL DEFAULT 0 COMMENT '创建人ID',
`edit_level` tinyint(4) NOT NULL DEFAULT 0,
`delete_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '标记删除',
`create_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建时间',
`update_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE,
INDEX `model_name`(`model_name`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of huike_models
-- ----------------------------
INSERT INTO `huike_models` VALUES (1, 'HuikeModules', 'huikedev\\dev_admin\\common\\model\\huike\\HuikeModules', 1, 1, '', '', '', '应用模块', 1, 1, 1, 1, 0, '16141325966838', '16141325966838_huike_modules', 'HuikeModulesWogcut', 1, 21, 0, 1610780264, 1614132621);
INSERT INTO `huike_models` VALUES (2, 'HuikeControllers', 'huikedev\\dev_admin\\common\\model\\huike\\HuikeControllers', 1, 1, '', '', '', '后端控制器', 0, 1, 1, 1, 0, '16141325995566', '16141325995566_huike_controllers', 'HuikeControllersTpiqhb', 1, 21, 0, 1610780264, 1614132624);
INSERT INTO `huike_models` VALUES (3, 'HuikeActions', 'huikedev\\dev_admin\\common\\model\\huike\\HuikeActions', 1, 1, '', '', '', '逻辑方法', 1, 1, 1, 1, 0, '16141326023468', '16141326023468_huike_actions', 'HuikeActionsGuvcbn', 1, 21, 0, 1610780264, 1614132627);
INSERT INTO `huike_models` VALUES (4, 'HuikeDeveloper', 'huikedev\\dev_admin\\common\\model\\huike\\HuikeDeveloper', 1, 1, '', '', '', '开发者信息', 0, 1, 1, 1, 0, '16141326053686', '16141326053686_huike_developer', 'HuikeDeveloperWsvzcn', 1, 21, 0, 1610780264, 1614132630);
INSERT INTO `huike_models` VALUES (5, 'HuikeExtendModules', 'huikedev\\dev_admin\\common\\model\\huike\\HuikeExtendModules', 1, 1, '', '', '', '第三方模块信息', 0, 0, 0, 0, 0, '16141325904496', '16141325904496_huike_extend_modules', 'HuikeExtendModulesZhjcsm', 1, 21, 0, 1610780264, 1614132615);
INSERT INTO `huike_models` VALUES (6, 'HuikeFacades', 'huikedev\\dev_admin\\common\\model\\huike\\HuikeFacades', 1, 1, '', '', '', '应用门面', 0, 1, 1, 1, 0, '16141325936372', '16141325936372_huike_facades', 'HuikeFacadesAdkltm', 1, 21, 0, 1610780264, 1614132618);
INSERT INTO `huike_models` VALUES (7, 'HuikeModels', 'huikedev\\dev_admin\\common\\model\\huike\\HuikeModels', 1, 1, '', '', '', '应用模型', 0, 1, 1, 1, 1, '16141326089697', '16141326089697_huike_models', 'HuikeModelsZeihrm', 1, 21, 0, 1610780264, 1614132633);
-- ----------------------------
-- Table structure for huike_modules
-- ----------------------------
DROP TABLE IF EXISTS `huike_modules`;
CREATE TABLE `huike_modules` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`module_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '模块名称(英文),即目录名称',
`module_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '模块名称(中文)',
`route_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '路由名称(英文)',
`route_middleware` json NULL COMMENT '路由中间件',
`bind_domain` json NULL COMMENT '绑定域名',
`extend_module_id` int(11) NOT NULL DEFAULT 0 COMMENT '第三方模块扩展ID',
`creator_id` int(11) NOT NULL DEFAULT 0 COMMENT '创建人ID',
`edit_level` tinyint(4) NOT NULL DEFAULT 0,
`create_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建时间',
`update_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '最后更新时间',
`delete_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '软删除时间',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `module_name`(`module_name`) USING BTREE,
UNIQUE INDEX `route_name`(`route_name`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '应用模块' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of huike_modules
-- ----------------------------
INSERT INTO `huike_modules` VALUES (1, 'dev', '开发辅助', 'dev', '[\"huikedev\\\\dev_admin\\\\common\\\\middlewares\\\\DevRouteMiddleware\"]', '[\"huike.local\"]', 1, 1, 21, 1612095224, 1614000712, 0);
-- ----------------------------
-- Table structure for migrations
-- ----------------------------
DROP TABLE IF EXISTS `migrations`;
CREATE TABLE `migrations` (
`version` bigint(20) NOT NULL,
`migration_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`start_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0),
`end_time` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0),
`breakpoint` tinyint(1) NOT NULL DEFAULT 0,
PRIMARY KEY (`version`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of migrations
-- ----------------------------
INSERT INTO `migrations` VALUES (16140243808384, 'HuikeExtendModules', '2021-02-23 04:14:34', '2021-02-23 04:14:34', 0);
INSERT INTO `migrations` VALUES (16140243848677, 'HuikeFacades', '2021-02-23 04:14:34', '2021-02-23 04:14:34', 0);
INSERT INTO `migrations` VALUES (16140243892549, 'HuikeModules', '2021-02-23 04:14:34', '2021-02-23 04:14:34', 0);
INSERT INTO `migrations` VALUES (16140243934350, 'HuikeControllers', '2021-02-23 04:14:34', '2021-02-23 04:14:34', 0);
INSERT INTO `migrations` VALUES (16140243992269, 'HuikeActions', '2021-02-23 04:14:34', '2021-02-23 04:14:34', 0);
INSERT INTO `migrations` VALUES (16140244043294, 'HuikeDeveloper', '2021-02-23 04:14:34', '2021-02-23 04:14:34', 0);
INSERT INTO `migrations` VALUES (16140244083162, 'HuikeModels', '2021-02-23 04:14:34', '2021-02-23 04:14:34', 0);
SET FOREIGN_KEY_CHECKS = 1;
|
<gh_stars>0
ALTER TABLE public.jobs
DROP COLUMN q_position;
|
<reponame>dpai/workshop
CREATE OR REPLACE STREAM "AVG_STAR_RATING_SQL_STREAM" (avg_star_rating DOUBLE);
CREATE OR REPLACE PUMP "AVG_STAR_RATING_STREAM_PUMP" AS
INSERT INTO "AVG_STAR_RATING_SQL_STREAM"
SELECT STREAM
AVG(CAST("star_rating" AS DOUBLE) AS avg_star_rating
FROM
"firehose_001"
GROUP BY
STEP("firehose_001".ROWTIME BY INTERVAL '30' SECOND); |
<reponame>jmGithub2021/iMediXcare<gh_stars>1-10
-- MySQL dump 10.13 Distrib 8.0.22, for Linux (x86_64)
--
-- Host: localhost Database: imedixdb4
-- ------------------------------------------------------
-- Server version 8.0.22-0ubuntu0.20.04.2
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `__center`
--
DROP TABLE IF EXISTS `__center`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `__center` (
`code` varchar(5) NOT NULL DEFAULT '',
`name` varchar(50) NOT NULL DEFAULT '',
`cdate` date DEFAULT NULL,
`phone` varchar(20) DEFAULT NULL,
`ipaddress` varchar(20) DEFAULT NULL,
`centertype` char(1) DEFAULT NULL,
`ftpip` varchar(15) DEFAULT NULL,
`ftp_uname` varchar(20) DEFAULT NULL,
`ftp_pwd` varchar(20) DEFAULT NULL,
PRIMARY KEY (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a13`
--
DROP TABLE IF EXISTS `a13`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a13` (
`pat_id` char(18) NOT NULL,
`vaccine_id` int NOT NULL,
`site` varchar(100) DEFAULT NULL,
`age_given` varchar(100) DEFAULT NULL,
`code` varchar(25) DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`vaccine_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a14`
--
DROP TABLE IF EXISTS `a14`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a14` (
`pat_id` char(18) NOT NULL,
`comp1` varchar(200) DEFAULT NULL,
`dur1` varchar(50) DEFAULT NULL,
`hdmy1` varchar(10) DEFAULT NULL,
`comp2` varchar(200) DEFAULT NULL,
`dur2` varchar(50) DEFAULT NULL,
`hdmy2` varchar(10) DEFAULT NULL,
`comp3` varchar(200) DEFAULT NULL,
`dur3` varchar(50) DEFAULT NULL,
`hdmy3` varchar(10) DEFAULT NULL,
`rh` longtext,
`report_link` varchar(60) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a15`
--
DROP TABLE IF EXISTS `a15`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a15` (
`pat_id` char(18) NOT NULL,
`what` varchar(145) DEFAULT NULL,
`finding` varchar(145) DEFAULT NULL,
`category` varchar(45) DEFAULT NULL,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a16`
--
DROP TABLE IF EXISTS `a16`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a16` (
`pat_id` char(18) NOT NULL,
`nonodes` int DEFAULT NULL,
`lnloc` char(10) DEFAULT NULL,
`lnrb` char(10) DEFAULT NULL,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a17`
--
DROP TABLE IF EXISTS `a17`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a17` (
`pat_id` char(18) NOT NULL,
`proc_name` varchar(50) DEFAULT NULL,
`study_purpose` varchar(50) DEFAULT NULL,
`roi` varchar(50) DEFAULT NULL,
`intervention` varchar(50) DEFAULT NULL,
`specimen` varchar(50) DEFAULT NULL,
`comments` longtext,
`diagnosis` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a18`
--
DROP TABLE IF EXISTS `a18`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a18` (
`pat_id` char(18) NOT NULL,
`lesion` longtext,
`feature` longtext,
`les_color` varchar(50) DEFAULT NULL,
`les_shape` varchar(50) DEFAULT NULL,
`distribution` varchar(50) DEFAULT NULL,
`location` varchar(50) DEFAULT NULL,
`site` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a19`
--
DROP TABLE IF EXISTS `a19`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a19` (
`pat_id` char(18) NOT NULL,
`effort` varchar(50) DEFAULT NULL,
`scoliosis` varchar(10) DEFAULT NULL,
`kyphosis` varchar(50) DEFAULT NULL,
`flat` varchar(10) DEFAULT NULL,
`expand` varchar(10) DEFAULT NULL,
`shift` varchar(10) DEFAULT NULL,
`tender` varchar(20) DEFAULT NULL,
`note1` varchar(50) DEFAULT NULL,
`sound1` varchar(50) DEFAULT NULL,
`extra1` varchar(50) DEFAULT NULL,
`vr1` varchar(50) DEFAULT NULL,
`loc1` longtext,
`note2` varchar(50) DEFAULT NULL,
`sound2` varchar(50) DEFAULT NULL,
`extra2` varchar(50) DEFAULT NULL,
`vr2` varchar(50) DEFAULT NULL,
`loc2` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a20`
--
DROP TABLE IF EXISTS `a20`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a20` (
`pat_id` char(18) NOT NULL,
`abdo` varchar(50) DEFAULT NULL,
`veins` varchar(50) DEFAULT NULL,
`pulsation` varchar(50) DEFAULT NULL,
`tender_loc` varchar(50) DEFAULT NULL,
`liver_length` varchar(50) DEFAULT NULL,
`liver_border` varchar(50) DEFAULT NULL,
`hepatomegaly` varchar(50) DEFAULT NULL,
`hepa_surface` varchar(50) DEFAULT NULL,
`hepa_tenderness` varchar(50) DEFAULT NULL,
`spleen_length` varchar(50) DEFAULT NULL,
`spln_tenderness` varchar(50) DEFAULT NULL,
`splenomegaly` varchar(50) DEFAULT NULL,
`dullness` varchar(50) DEFAULT NULL,
`fluid` varchar(50) DEFAULT NULL,
`bowelsound` varchar(50) DEFAULT NULL,
`borborygami` varchar(50) DEFAULT NULL,
`lumph_length` varchar(50) DEFAULT NULL,
`lumph_width` varchar(50) DEFAULT NULL,
`palpable` varchar(50) DEFAULT NULL,
`lump` varchar(50) DEFAULT NULL,
`palp_surface` varchar(50) DEFAULT NULL,
`abominal` varchar(50) DEFAULT NULL,
`cavity` varchar(50) DEFAULT NULL,
`above` varchar(50) DEFAULT NULL,
`below` varchar(50) DEFAULT NULL,
`fixed` varchar(50) DEFAULT NULL,
`mobile` varchar(50) DEFAULT NULL,
`bimanual` varchar(50) DEFAULT NULL,
`pulsatile` varchar(50) DEFAULT NULL,
`reducible` varchar(50) DEFAULT NULL,
`fluctuant` varchar(50) DEFAULT NULL,
`transillumination` varchar(50) DEFAULT NULL,
`left_kidney` varchar(50) DEFAULT NULL,
`right_kidney` varchar(50) DEFAULT NULL,
`gall_bladder` varchar(50) DEFAULT NULL,
`pancreas` varchar(50) DEFAULT NULL,
`aorta` varchar(50) DEFAULT NULL,
`undefined` varchar(50) DEFAULT NULL,
`lump_loc` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a21`
--
DROP TABLE IF EXISTS `a21`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a21` (
`pat_id` char(18) NOT NULL,
`infection_diag` varchar(50) DEFAULT NULL,
`infection_icd` varchar(50) DEFAULT NULL,
`infection_onset` varchar(50) DEFAULT NULL,
`infection_duration` int DEFAULT NULL,
`infection_hdmy` varchar(50) DEFAULT NULL,
`infection_hos` varchar(50) DEFAULT NULL,
`tb_exposure` varchar(50) DEFAULT NULL,
`tb_diag` varchar(50) DEFAULT NULL,
`tb_icd` varchar(50) DEFAULT NULL,
`tb_onset` varchar(50) DEFAULT NULL,
`tb_duration` int DEFAULT NULL,
`tb_hdmy` varchar(50) DEFAULT NULL,
`tb_hos` varchar(50) DEFAULT NULL,
`past_diag` varchar(50) DEFAULT NULL,
`past_icd` varchar(50) DEFAULT NULL,
`past_onset` varchar(50) DEFAULT NULL,
`past_duration` int DEFAULT NULL,
`past_hdmy` varchar(50) DEFAULT NULL,
`past_hos` varchar(50) DEFAULT NULL,
`past_surgery` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a22`
--
DROP TABLE IF EXISTS `a22`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a22` (
`pat_id` char(18) NOT NULL,
`term` varchar(50) DEFAULT NULL,
`delivery` varchar(50) DEFAULT NULL,
`weight` double DEFAULT NULL,
`mat_ante` varchar(50) DEFAULT NULL,
`mat_duration` varchar(50) DEFAULT NULL,
`mat_partum` varchar(50) DEFAULT NULL,
`dose` varchar(50) DEFAULT NULL,
`arv` varchar(50) DEFAULT NULL,
`duration` varchar(50) DEFAULT NULL,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a23`
--
DROP TABLE IF EXISTS `a23`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a23` (
`pat_id` char(18) NOT NULL,
`age` varchar(15) DEFAULT NULL,
`gross_motor` longtext,
`gross_motor_age` varchar(15) DEFAULT NULL,
`visual_motor` longtext,
`visual_motor_age` varchar(15) DEFAULT NULL,
`lang` longtext,
`lang_age` varchar(15) DEFAULT NULL,
`social` longtext,
`social_age` varchar(15) DEFAULT NULL,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a24`
--
DROP TABLE IF EXISTS `a24`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a24` (
`pat_id` char(18) NOT NULL,
`education` varchar(80) DEFAULT NULL,
`occupation` varchar(80) DEFAULT NULL,
`income` varchar(50) DEFAULT NULL,
`socio_class` varchar(20) DEFAULT NULL,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a25`
--
DROP TABLE IF EXISTS `a25`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a25` (
`pat_id` char(18) NOT NULL,
`emotional` varchar(10) DEFAULT NULL,
`tbxemotional` longtext,
`financial` varchar(10) DEFAULT NULL,
`tbxfinancial` longtext,
`other` varchar(10) DEFAULT NULL,
`tbxother` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a26`
--
DROP TABLE IF EXISTS `a26`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a26` (
`pat_id` char(18) NOT NULL,
`support` char(5) DEFAULT NULL,
`tbxsupport` longtext,
`financial` char(5) DEFAULT NULL,
`tbxfinancial` longtext,
`emotional` char(5) DEFAULT NULL,
`tbxemotional` longtext,
`physical` char(5) DEFAULT NULL,
`tbxphysical` longtext,
`disclosure` char(5) DEFAULT NULL,
`tbxdisclosure` longtext,
`occupation` char(5) DEFAULT NULL,
`tbxoccupation` longtext,
`other` char(5) DEFAULT NULL,
`tbxother` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a27`
--
DROP TABLE IF EXISTS `a27`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a27` (
`pat_id` char(18) NOT NULL,
`maternal` varchar(5) DEFAULT NULL,
`tbxmaternal` longtext,
`transfusion` varchar(5) DEFAULT NULL,
`tbxtransfusion` longtext,
`other` varchar(5) DEFAULT NULL,
`tbxother` longtext,
`tbxage` longtext,
`testtype` varchar(10) DEFAULT NULL,
`result` varchar(10) DEFAULT NULL,
`repeatdate` varchar(50) DEFAULT NULL,
`feeding` varchar(10) DEFAULT NULL,
`tbxfeeding` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a28`
--
DROP TABLE IF EXISTS `a28`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a28` (
`pat_id` char(18) NOT NULL,
`missingdose` longtext,
`tbxcomments` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a29`
--
DROP TABLE IF EXISTS `a29`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a29` (
`pat_id` char(18) NOT NULL,
`caregiver` longtext,
`moth_living` char(10) DEFAULT NULL,
`moth_hiv` char(10) DEFAULT NULL,
`tbxmoth_health` longtext,
`fath_living` char(10) DEFAULT NULL,
`fath_hiv` char(10) DEFAULT NULL,
`tbxfath_health` longtext,
`adult` varchar(10) DEFAULT NULL,
`sibling` varchar(10) DEFAULT NULL,
`other` varchar(15) DEFAULT NULL,
`sib_test` varchar(50) DEFAULT NULL,
`tbxsibtest` longtext,
`school` varchar(50) DEFAULT NULL,
`bath` varchar(100) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a30`
--
DROP TABLE IF EXISTS `a30`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a30` (
`pat_id` char(18) NOT NULL,
`fever` char(3) DEFAULT NULL,
`activity` char(3) DEFAULT NULL,
`wt_loss` char(3) DEFAULT NULL,
`app_loss` char(3) DEFAULT NULL,
`tbxcomments` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a31`
--
DROP TABLE IF EXISTS `a31`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a31` (
`pat_id` char(18) NOT NULL,
`ear` char(3) DEFAULT NULL,
`vision` char(3) DEFAULT NULL,
`odynophagia` char(3) DEFAULT NULL,
`thinorchea` char(3) DEFAULT NULL,
`tbxcomments` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a32`
--
DROP TABLE IF EXISTS `a32`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a32` (
`pat_id` char(18) NOT NULL,
`rash` char(3) DEFAULT NULL,
`tbxcomments` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a33`
--
DROP TABLE IF EXISTS `a33`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a33` (
`pat_id` char(18) NOT NULL,
`cough` char(3) DEFAULT NULL,
`breath` char(3) DEFAULT NULL,
`tbxcomments` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a34`
--
DROP TABLE IF EXISTS `a34`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a34` (
`pat_id` char(18) NOT NULL,
`chest` char(3) DEFAULT NULL,
`breath` char(3) DEFAULT NULL,
`tbxcomments` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a35`
--
DROP TABLE IF EXISTS `a35`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a35` (
`pat_id` char(18) NOT NULL,
`diarrhea` char(3) DEFAULT NULL,
`constipation` char(3) DEFAULT NULL,
`stools` char(3) DEFAULT NULL,
`abdominal` char(3) DEFAULT NULL,
`tbxcomments` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a36`
--
DROP TABLE IF EXISTS `a36`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a36` (
`pat_id` char(18) NOT NULL,
`growth` char(3) DEFAULT NULL,
`tbxcomments` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a37`
--
DROP TABLE IF EXISTS `a37`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a37` (
`pat_id` char(18) NOT NULL,
`lumps` char(3) DEFAULT NULL,
`tbxcomments` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a38`
--
DROP TABLE IF EXISTS `a38`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a38` (
`pat_id` char(18) NOT NULL,
`diff_urin` char(3) DEFAULT NULL,
`burn_urin` char(3) DEFAULT NULL,
`blood_urin` char(3) DEFAULT NULL,
`tbxcomments` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a39`
--
DROP TABLE IF EXISTS `a39`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a39` (
`pat_id` char(18) NOT NULL,
`weakness` char(3) DEFAULT NULL,
`fail` char(3) DEFAULT NULL,
`numbness` char(3) DEFAULT NULL,
`speaking` char(3) DEFAULT NULL,
`walking` char(3) DEFAULT NULL,
`tbxcomments` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a40`
--
DROP TABLE IF EXISTS `a40`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a40` (
`pat_id` char(18) NOT NULL,
`school` char(3) DEFAULT NULL,
`withdrawn` char(3) DEFAULT NULL,
`sad` char(3) DEFAULT NULL,
`tbxcomments` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a41`
--
DROP TABLE IF EXISTS `a41`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a41` (
`pat_id` char(18) NOT NULL,
`pain` char(50) DEFAULT NULL,
`tbxcomments` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `a42`
--
DROP TABLE IF EXISTS `a42`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a42` (
`pat_id` char(18) NOT NULL,
`treat` varchar(250) DEFAULT NULL,
`textarea1` varchar(250) DEFAULT NULL,
`cotmox` varchar(250) DEFAULT NULL,
`antituber` varchar(250) DEFAULT NULL,
`art` varchar(250) DEFAULT NULL,
`textarea2` varchar(250) DEFAULT NULL,
`cd4` varchar(250) DEFAULT NULL,
`other` varchar(250) DEFAULT NULL,
`textarea3` varchar(250) DEFAULT NULL,
`counsel` varchar(250) DEFAULT NULL,
`textarea4` varchar(250) DEFAULT NULL,
`return` varchar(250) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `ai0`
--
DROP TABLE IF EXISTS `ai0`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ai0` (
`pat_id` varchar(20) DEFAULT NULL,
`opdno` varchar(20) NOT NULL,
`test_id` varchar(30) NOT NULL,
`studyUID` varchar(150) DEFAULT NULL,
`test_name` varchar(30) DEFAULT NULL,
`description` varchar(300) DEFAULT NULL,
`type` varchar(50) DEFAULT NULL,
`status` char(1) DEFAULT NULL,
`reffered_by` varchar(40) DEFAULT NULL,
`isReport` int DEFAULT NULL,
`isNote` int DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int DEFAULT NULL,
PRIMARY KEY (`test_id`),
KEY `index_opdno` (`opdno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `biochem_value`
--
DROP TABLE IF EXISTS `biochem_value`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `biochem_value` (
`biochem_value_id` decimal(10,0) NOT NULL,
`test` varchar(45) NOT NULL,
`quantity` decimal(5,2) NOT NULL,
`unit` varchar(45) NOT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `bmi_boys`
--
DROP TABLE IF EXISTS `bmi_boys`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `bmi_boys` (
`agemonth` int DEFAULT NULL,
`l` double DEFAULT NULL,
`m` double DEFAULT NULL,
`s` double DEFAULT NULL,
`p1` double DEFAULT NULL,
`p3` double DEFAULT NULL,
`p5` double DEFAULT NULL,
`p15` double DEFAULT NULL,
`p25` double DEFAULT NULL,
`p50` double DEFAULT NULL,
`p75` double DEFAULT NULL,
`p85` double DEFAULT NULL,
`p95` double DEFAULT NULL,
`p97` double DEFAULT NULL,
`p99` double DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=243 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `bmi_girls`
--
DROP TABLE IF EXISTS `bmi_girls`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `bmi_girls` (
`agemonth` int DEFAULT NULL,
`l` double DEFAULT NULL,
`m` double DEFAULT NULL,
`s` double DEFAULT NULL,
`p1` double DEFAULT NULL,
`p3` double DEFAULT NULL,
`p5` double DEFAULT NULL,
`p15` double DEFAULT NULL,
`p25` double DEFAULT NULL,
`p50` double DEFAULT NULL,
`p75` double DEFAULT NULL,
`p85` double DEFAULT NULL,
`p95` double DEFAULT NULL,
`p97` double DEFAULT NULL,
`p99` double DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=243 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `c00`
--
DROP TABLE IF EXISTS `c00`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `c00` (
`pat_id` char(18) NOT NULL,
`age` varchar(50) DEFAULT NULL,
`prvcan` varchar(50) DEFAULT NULL,
`canfam` varchar(50) DEFAULT NULL,
`fibroatypia` varchar(50) DEFAULT NULL,
`nulliparous` varchar(50) DEFAULT NULL,
`pregnancy` varchar(50) DEFAULT NULL,
`manarche` varchar(50) DEFAULT NULL,
`menopause` varchar(50) DEFAULT NULL,
`solitary` varchar(50) DEFAULT NULL,
`unilateral` varchar(50) DEFAULT NULL,
`solid` varchar(50) DEFAULT NULL,
`lrregular` varchar(50) DEFAULT NULL,
`nonmobile` varchar(50) DEFAULT NULL,
`nontender` varchar(50) DEFAULT NULL,
`lumpsize` varchar(50) DEFAULT NULL,
`discharge` varchar(50) DEFAULT NULL,
`lymphnodes` varchar(50) DEFAULT NULL,
`skinchanges` varchar(50) DEFAULT NULL,
`tbxothfind` varchar(50) DEFAULT NULL,
`fnac` varchar(50) DEFAULT NULL,
`biopsy` varchar(50) DEFAULT NULL,
`mamography` varchar(50) DEFAULT NULL,
`chestxray` varchar(50) DEFAULT NULL,
`usgabdomen` varchar(50) DEFAULT NULL,
`staging_T` longtext,
`staging_N` longtext,
`staging_M` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `c01`
--
DROP TABLE IF EXISTS `c01`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `c01` (
`pat_id` char(18) NOT NULL,
`age` varchar(50) DEFAULT NULL,
`marstat` varchar(50) DEFAULT NULL,
`occupation` varchar(50) DEFAULT NULL,
`hesitancy` varchar(50) DEFAULT NULL,
`urgency` varchar(50) DEFAULT NULL,
`nocturia` varchar(50) DEFAULT NULL,
`urine` varchar(50) DEFAULT NULL,
`dribbling` varchar(50) DEFAULT NULL,
`hematuria` varchar(50) DEFAULT NULL,
`urinarytract` varchar(50) DEFAULT NULL,
`backpelvis` varchar(50) DEFAULT NULL,
`induration` varchar(50) DEFAULT NULL,
`nodularity` varchar(50) DEFAULT NULL,
`needlebiopsy` varchar(50) DEFAULT NULL,
`urinere` varchar(50) DEFAULT NULL,
`usgabdomen` varchar(50) DEFAULT NULL,
`psa` varchar(50) DEFAULT NULL,
`acid` varchar(50) DEFAULT NULL,
`bonescan` varchar(50) DEFAULT NULL,
`staging_T` varchar(200) DEFAULT NULL,
`staging_N` varchar(200) DEFAULT NULL,
`staging_M` varchar(200) DEFAULT NULL,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `c02`
--
DROP TABLE IF EXISTS `c02`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `c02` (
`pat_id` char(18) NOT NULL,
`age` varchar(50) DEFAULT NULL,
`smkhis` varchar(50) DEFAULT NULL,
`environment` varchar(50) DEFAULT NULL,
`tbxenv_dtls` longtext,
`voice` varchar(50) DEFAULT NULL,
`hoarseness` varchar(50) DEFAULT NULL,
`haemoptysis` varchar(50) DEFAULT NULL,
`dysphagia` varchar(50) DEFAULT NULL,
`pain` varchar(50) DEFAULT NULL,
`lymphnodes` varchar(50) DEFAULT NULL,
`tbxlymph_dtls` longtext,
`respiratory` varchar(50) DEFAULT NULL,
`otherfindings` varchar(50) DEFAULT NULL,
`tbxother_dtls` longtext,
`IDL` varchar(50) DEFAULT NULL,
`tbxidl_dtls` longtext,
`endoscopic` varchar(50) DEFAULT NULL,
`tbxendoscop_dtls` longtext,
`fnac` varchar(50) DEFAULT NULL,
`tbxfnac_dtls` longtext,
`biopsy` varchar(50) DEFAULT NULL,
`tbxbiopsy_dtls` longtext,
`ctscan` varchar(50) DEFAULT NULL,
`chestxray` varchar(50) DEFAULT NULL,
`staging_T` longtext,
`staging_Tsup` longtext,
`staging_Tg` longtext,
`staging_Tsub` longtext,
`staging_N` longtext,
`staging_M` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `c03`
--
DROP TABLE IF EXISTS `c03`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `c03` (
`pat_id` char(18) NOT NULL,
`age` varchar(50) DEFAULT NULL,
`smkhis` varchar(50) DEFAULT NULL,
`smoker` varchar(50) DEFAULT NULL,
`chvoc` varchar(50) DEFAULT NULL,
`caugh` varchar(50) DEFAULT NULL,
`haemoptysis` varchar(50) DEFAULT NULL,
`dyspney` varchar(50) DEFAULT NULL,
`chestpain` varchar(50) DEFAULT NULL,
`necknodes` varchar(50) DEFAULT NULL,
`respdist` varchar(50) DEFAULT NULL,
`weightloss` varchar(50) DEFAULT NULL,
`tbxothfind` varchar(50) DEFAULT NULL,
`chestxray` varchar(50) DEFAULT NULL,
`idl` varchar(50) DEFAULT NULL,
`fnac` varchar(50) DEFAULT NULL,
`bal` varchar(50) DEFAULT NULL,
`sputumcyto` varchar(50) DEFAULT NULL,
`bronchoscopy` varchar(50) DEFAULT NULL,
`bonescan` varchar(50) DEFAULT NULL,
`staging_T` longtext,
`staging_N` longtext,
`staging_M` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `c04`
--
DROP TABLE IF EXISTS `c04`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `c04` (
`pat_id` char(18) NOT NULL,
`age` varchar(50) DEFAULT NULL,
`diet` varchar(50) DEFAULT NULL,
`anemia` varchar(50) DEFAULT NULL,
`pylori` varchar(50) DEFAULT NULL,
`weightloss` varchar(50) DEFAULT NULL,
`anorexia` varchar(50) DEFAULT NULL,
`satiety` varchar(50) DEFAULT NULL,
`weakness` varchar(50) DEFAULT NULL,
`dysphagia` varchar(50) DEFAULT NULL,
`abdominalmass` varchar(50) DEFAULT NULL,
`abdominalpain` varchar(50) DEFAULT NULL,
`hematemesis` varchar(50) DEFAULT NULL,
`virchownode` varchar(50) DEFAULT NULL,
`irishnode` varchar(50) DEFAULT NULL,
`josephnodule` varchar(50) DEFAULT NULL,
`metastasis` varchar(50) DEFAULT NULL,
`krukenbergtumor` varchar(50) DEFAULT NULL,
`endoscopy` varchar(50) DEFAULT NULL,
`biopsy` varchar(50) DEFAULT NULL,
`ctabdomen` varchar(50) DEFAULT NULL,
`ultrasono` varchar(50) DEFAULT NULL,
`cbc` varchar(50) DEFAULT NULL,
`lft` varchar(50) DEFAULT NULL,
`barium` varchar(50) DEFAULT NULL,
`xraychest` varchar(50) DEFAULT NULL,
`staging_T` longtext,
`staging_N` longtext,
`staging_M` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `c05`
--
DROP TABLE IF EXISTS `c05`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `c05` (
`pat_id` char(18) NOT NULL,
`age` varchar(50) DEFAULT NULL,
`sexhis` varchar(50) DEFAULT NULL,
`hpv` varchar(50) DEFAULT NULL,
`vagdis` varchar(50) DEFAULT NULL,
`vagbleed` varchar(50) DEFAULT NULL,
`malodorous` varchar(50) DEFAULT NULL,
`weightloss` varchar(50) DEFAULT NULL,
`uropathy` varchar(50) DEFAULT NULL,
`grayareas` varchar(50) DEFAULT NULL,
`bleeding` varchar(50) DEFAULT NULL,
`cevicitis` varchar(50) DEFAULT NULL,
`mass` varchar(50) DEFAULT NULL,
`papsmear` varchar(50) DEFAULT NULL,
`colposcopy` varchar(50) DEFAULT NULL,
`curettage` varchar(50) DEFAULT NULL,
`biopsy` varchar(50) DEFAULT NULL,
`usg` varchar(50) DEFAULT NULL,
`xraychest` varchar(50) DEFAULT NULL,
`staging_T` longtext,
`staging_N` longtext,
`staging_M` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `c06`
--
DROP TABLE IF EXISTS `c06`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `c06` (
`pat_id` char(18) NOT NULL,
`age` varchar(50) DEFAULT NULL,
`estrogen` varchar(50) DEFAULT NULL,
`polycystic` varchar(50) DEFAULT NULL,
`obesity` varchar(50) DEFAULT NULL,
`liver` varchar(50) DEFAULT NULL,
`infertility` varchar(50) DEFAULT NULL,
`familyhistory` varchar(50) DEFAULT NULL,
`diabetes` varchar(50) DEFAULT NULL,
`vagbleed` varchar(50) DEFAULT NULL,
`menses` varchar(50) DEFAULT NULL,
`pelvicmass` varchar(50) DEFAULT NULL,
`papsmear` varchar(50) DEFAULT NULL,
`curettage` varchar(50) DEFAULT NULL,
`biopsy` varchar(50) DEFAULT NULL,
`ultrasound` varchar(50) DEFAULT NULL,
`xraychest` varchar(50) DEFAULT NULL,
`staging_T` longtext,
`staging_N` longtext,
`staging_M` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `c08`
--
DROP TABLE IF EXISTS `c08`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `c08` (
`pat_id` char(18) NOT NULL,
`name` varchar(50) DEFAULT NULL,
`tbxrisk` longtext,
`tbxsymp` longtext,
`tbxeval` longtext,
`tbxstaging_t` longtext,
`tbxstaging_n` longtext,
`tbxstaging_m` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `cdfour`
--
DROP TABLE IF EXISTS `cdfour`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `cdfour` (
`id_cdfour` varchar(15) NOT NULL,
`testdate` datetime NOT NULL,
`leucocyte` decimal(5,2) DEFAULT NULL,
`lymphocyte` decimal(10,0) DEFAULT NULL,
`cd4_count` decimal(5,0) NOT NULL,
`cd4_percent` decimal(4,2) DEFAULT NULL,
`cd8_count` decimal(5,0) DEFAULT NULL,
`poly` tinyint unsigned DEFAULT NULL,
`lymp` tinyint unsigned DEFAULT NULL,
`mono` tinyint unsigned DEFAULT NULL,
`eoso` tinyint unsigned DEFAULT NULL,
`baso` tinyint unsigned DEFAULT NULL,
`viralload` decimal(10,0) DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `cdfour_range`
--
DROP TABLE IF EXISTS `cdfour_range`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `cdfour_range` (
`age` tinyint unsigned NOT NULL,
`test` varchar(45) NOT NULL,
`lower` decimal(10,0) NOT NULL,
`upper` decimal(10,0) NOT NULL,
`label` varchar(45) NOT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `center`
--
DROP TABLE IF EXISTS `center`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `center` (
`code` varchar(8) NOT NULL,
`name` varchar(50) NOT NULL DEFAULT '',
`cdate` date DEFAULT NULL,
`expdate` varchar(1024) DEFAULT NULL,
`visibility` varchar(1) NOT NULL DEFAULT 'Y',
`phone` varchar(20) DEFAULT NULL,
`ipaddress` varchar(20) DEFAULT NULL,
`centertype` char(1) DEFAULT NULL,
`ftpip` varchar(15) DEFAULT NULL,
`ftp_uname` varchar(20) DEFAULT NULL,
`ftp_pwd` varchar(20) DEFAULT NULL,
PRIMARY KEY (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `clientinfo`
--
DROP TABLE IF EXISTS `clientinfo`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `clientinfo` (
`server_ip` varchar(20) NOT NULL DEFAULT '',
`client_ip` varchar(20) NOT NULL DEFAULT '',
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `concent`
--
DROP TABLE IF EXISTS `concent`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `concent` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`entrydate` datetime DEFAULT NULL,
`content_type` varchar(50) DEFAULT NULL,
`form` longblob,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `confmessage`
--
DROP TABLE IF EXISTS `confmessage`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `confmessage` (
`postedby` varchar(50) DEFAULT NULL,
`postedto` varchar(50) DEFAULT NULL,
`message` text,
`status` char(2) DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `confuser`
--
DROP TABLE IF EXISTS `confuser`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `confuser` (
`userid` varchar(50) NOT NULL DEFAULT '',
`patid` varchar(18) NOT NULL DEFAULT '',
`constatus` varchar(18) DEFAULT NULL,
`doc_regid` varchar(11) DEFAULT NULL,
PRIMARY KEY (`userid`,`patid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `consentdocmap`
--
DROP TABLE IF EXISTS `consentdocmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `consentdocmap` (
`conid` varchar(30) NOT NULL,
`center` varchar(8) NOT NULL,
`type` varchar(30) NOT NULL,
`path` varchar(300) DEFAULT NULL,
PRIMARY KEY (`center`,`type`,`conid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `consentform`
--
DROP TABLE IF EXISTS `consentform`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `consentform` (
`conid` varchar(30) NOT NULL,
`time` datetime DEFAULT NULL,
`type` varchar(30) DEFAULT NULL,
`comments` varchar(300) DEFAULT NULL,
`path` varchar(300) DEFAULT NULL,
PRIMARY KEY (`conid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `consentlogs`
--
DROP TABLE IF EXISTS `consentlogs`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `consentlogs` (
`uid` varchar(30) NOT NULL,
`time` datetime NOT NULL,
`conid` varchar(30) NOT NULL,
`center` varchar(8) DEFAULT NULL,
PRIMARY KEY (`uid`,`time`,`conid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `consultrequest`
--
DROP TABLE IF EXISTS `consultrequest`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `consultrequest` (
`id` int NOT NULL AUTO_INCREMENT,
`pat_id` varchar(50) DEFAULT NULL,
`centerid` varchar(50) DEFAULT NULL,
`dept` varchar(50) DEFAULT NULL,
`requested` varchar(1) DEFAULT 'N',
`doc_id` varchar(100) DEFAULT NULL,
`appoinmenttime` datetime DEFAULT NULL,
`operator` varchar(100) DEFAULT NULL,
`instancetime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=127 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `consultstrategy`
--
DROP TABLE IF EXISTS `consultstrategy`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `consultstrategy` (
`ccode` varchar(8) NOT NULL DEFAULT 'new',
`type` varchar(50) NOT NULL DEFAULT 'admin',
PRIMARY KEY (`ccode`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `coord`
--
DROP TABLE IF EXISTS `coord`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `coord` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL DEFAULT '0',
`size` decimal(18,0) DEFAULT NULL,
`points` longtext,
`type` char(3) DEFAULT NULL,
`sent` char(1) DEFAULT NULL,
`sent_to` varchar(10) DEFAULT NULL,
`sent_date` datetime DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `covid19`
--
DROP TABLE IF EXISTS `covid19`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `covid19` (
`pat_id` varchar(50) NOT NULL,
`result` longtext,
`instancetime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`pat_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `ctx_dose`
--
DROP TABLE IF EXISTS `ctx_dose`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ctx_dose` (
`range_id` smallint NOT NULL,
`age_week` varchar(15) DEFAULT NULL,
`formulation` varchar(50) NOT NULL,
`dose` double DEFAULT NULL,
`unit` char(10) DEFAULT NULL,
`id` int NOT NULL,
`ctx_dose_id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`ctx_dose_id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `ctx_weight`
--
DROP TABLE IF EXISTS `ctx_weight`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ctx_weight` (
`range_id` smallint NOT NULL,
`start_param` double DEFAULT NULL,
`end_param` double DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `d00`
--
DROP TABLE IF EXISTS `d00`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `d00` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`tbxpro_diagnosis` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `d01`
--
DROP TABLE IF EXISTS `d01`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `d01` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`tbxfin_diagnosis` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `d02`
--
DROP TABLE IF EXISTS `d02`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `d02` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`tbxcomplaint` longtext,
`tbxfindings` longtext,
`tbxinvest` longtext,
`tbxdiagnosis` longtext,
`tbxtreatment` longtext,
`tbxother_x` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `d03`
--
DROP TABLE IF EXISTS `d03`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `d03` (
`pat_id` char(18) NOT NULL,
`stage` varchar(10) DEFAULT NULL,
`diagnosis1` longtext,
`icd1` varchar(50) DEFAULT NULL,
`diagnosis2` longtext,
`icd2` varchar(50) DEFAULT NULL,
`diagnosis3` longtext,
`icd3` varchar(50) DEFAULT NULL,
`disposal` varchar(50) DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `d04`
--
DROP TABLE IF EXISTS `d04`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `d04` (
`pat_id` char(18) NOT NULL,
`tbxradiotherapy` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `d05`
--
DROP TABLE IF EXISTS `d05`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `d05` (
`pat_id` char(18) NOT NULL,
`tbxct_regime_i` longtext,
`tbxdrugs_used_i` longtext,
`cycle_i_date` varchar(10) DEFAULT NULL,
`cycle_ii_date` varchar(10) DEFAULT NULL,
`cycle_iii_date` varchar(10) DEFAULT NULL,
`cycle_iv_date` varchar(10) DEFAULT NULL,
`cycle_v_date` varchar(10) DEFAULT NULL,
`cycle_vi_date` varchar(10) DEFAULT NULL,
`tbxct_regime_ii` longtext,
`tbxdrugs_used_ii` longtext,
`cycle2_i_date` varchar(10) DEFAULT NULL,
`cycle2_ii_date` varchar(10) DEFAULT NULL,
`cycle2_iii_date` varchar(10) DEFAULT NULL,
`cycle2_iv_date` varchar(10) DEFAULT NULL,
`cycle2_v_date` varchar(10) DEFAULT NULL,
`cycle2_vi_date` varchar(10) DEFAULT NULL,
`tbxanyother` longtext,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `d06`
--
DROP TABLE IF EXISTS `d06`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `d06` (
`pat_id` char(18) NOT NULL,
`tbxpalliative_treatment` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `d07`
--
DROP TABLE IF EXISTS `d07`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `d07` (
`pat_id` char(18) NOT NULL,
`tbxanaesthasia_itu` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `d08`
--
DROP TABLE IF EXISTS `d08`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `d08` (
`pat_id` char(18) NOT NULL,
`tbxdeath_note` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `d09`
--
DROP TABLE IF EXISTS `d09`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `d09` (
`pat_id` char(18) NOT NULL,
`tbxcomments_referral_followup` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `d10`
--
DROP TABLE IF EXISTS `d10`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `d10` (
`pat_id` char(18) NOT NULL,
`operation_no1` varchar(50) DEFAULT NULL,
`operation_date1` varchar(50) DEFAULT NULL,
`surgeons1` varchar(50) DEFAULT NULL,
`tbxopretave_findings1` longtext,
`operation_no2` varchar(50) DEFAULT NULL,
`operation_date2` varchar(50) DEFAULT NULL,
`surgeons2` varchar(50) DEFAULT NULL,
`tbxopretave_findings2` longtext,
`operation_no3` varchar(50) DEFAULT NULL,
`operation_date3` varchar(50) DEFAULT NULL,
`surgeons3` varchar(50) DEFAULT NULL,
`tbxopretave_findings3` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `department`
--
DROP TABLE IF EXISTS `department`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `department` (
`iddepartment` int NOT NULL AUTO_INCREMENT,
`department_name` varchar(100) NOT NULL,
`center` varchar(50) NOT NULL,
`active` tinyint DEFAULT '1',
PRIMARY KEY (`iddepartment`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `dev_milesones`
--
DROP TABLE IF EXISTS `dev_milesones`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dev_milesones` (
`age` varchar(15) DEFAULT NULL,
`gross_motor` longtext,
`visual_motor` longtext,
`lang` longtext,
`social` longtext,
`serial_num` int DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `dicoogle_ref`
--
DROP TABLE IF EXISTS `dicoogle_ref`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dicoogle_ref` (
`pat_id` varchar(20) DEFAULT NULL,
`test_id` varchar(30) NOT NULL,
`studyUID` varchar(150) DEFAULT NULL,
`test_name` varchar(30) DEFAULT NULL,
`description` varchar(300) DEFAULT NULL,
`type` varchar(50) DEFAULT NULL,
`status` char(1) DEFAULT NULL,
`reffered_by` varchar(40) DEFAULT NULL,
`isReport` int DEFAULT NULL,
`isNote` int DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `district`
--
DROP TABLE IF EXISTS `district`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `district` (
`district_code` varchar(6) NOT NULL,
`district_name` varchar(70) DEFAULT NULL,
`state_code` varchar(4) DEFAULT NULL,
PRIMARY KEY (`district_code`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `docbanner`
--
DROP TABLE IF EXISTS `docbanner`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `docbanner` (
`rg_no` varchar(20) NOT NULL,
`docname` varchar(100) DEFAULT NULL,
`center` varchar(8) DEFAULT NULL,
`path` varchar(300) DEFAULT NULL,
`avail` varchar(1) DEFAULT NULL,
PRIMARY KEY (`rg_no`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `docfee`
--
DROP TABLE IF EXISTS `docfee`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `docfee` (
`uid` varchar(50) NOT NULL,
`fee` varchar(10) DEFAULT NULL,
PRIMARY KEY (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `dose_list`
--
DROP TABLE IF EXISTS `dose_list`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dose_list` (
`item_no` double NOT NULL,
`list_id` double DEFAULT NULL,
`dose_id` double DEFAULT NULL,
`med_amount` tinytext,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=233 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `drug_allergy`
--
DROP TABLE IF EXISTS `drug_allergy`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `drug_allergy` (
`pat_id` char(18) NOT NULL,
`drugname` varchar(45) NOT NULL,
`allergytype` varchar(245) NOT NULL,
`onset` datetime DEFAULT NULL,
`drugclass` varchar(45) DEFAULT NULL,
`route` varchar(45) NOT NULL,
`formula` varchar(45) NOT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `drug_dose`
--
DROP TABLE IF EXISTS `drug_dose`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `drug_dose` (
`drug_id` int NOT NULL,
`dose_id` int NOT NULL,
`formulation` longtext,
`dose_freq` varchar(50) DEFAULT NULL,
`reco_dose` varchar(200) DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `drug_grp`
--
DROP TABLE IF EXISTS `drug_grp`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `drug_grp` (
`drug_id` int NOT NULL,
`drug_name` varchar(250) DEFAULT NULL,
`drug_notice` longtext,
`drug_grpid` varchar(30) DEFAULT NULL,
`drug_grpname` varchar(250) DEFAULT NULL,
`followon_regimen` char(1) DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `drugdose_tb`
--
DROP TABLE IF EXISTS `drugdose_tb`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `drugdose_tb` (
`drug_id` int NOT NULL,
`dose_id` int NOT NULL,
`formulation` varchar(50) DEFAULT NULL,
`dose_freq` varchar(50) DEFAULT NULL,
`rec_dose` varchar(50) DEFAULT NULL,
`recdose_unit` varchar(200) DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `drugindex`
--
DROP TABLE IF EXISTS `drugindex`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `drugindex` (
`id_drugindex` decimal(5,0) NOT NULL,
`drug` varchar(245) NOT NULL,
`nick` char(3) DEFAULT NULL,
`comment` mediumtext,
`ischild` tinyint unsigned NOT NULL,
`class` char(2) DEFAULT NULL,
`minagemonth` tinyint unsigned DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `druglist`
--
DROP TABLE IF EXISTS `druglist`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `druglist` (
`drug_name` varchar(100) DEFAULT NULL,
`sl_no` bigint NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`sl_no`)
) ENGINE=InnoDB AUTO_INCREMENT=1376 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `druglistbycenter`
--
DROP TABLE IF EXISTS `druglistbycenter`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `druglistbycenter` (
`drug_name` varchar(100) DEFAULT NULL,
`ccode` varchar(8) DEFAULT NULL,
`active` int DEFAULT '0',
`sl_no` bigint NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`sl_no`)
) ENGINE=InnoDB AUTO_INCREMENT=9641 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `drugname_tb`
--
DROP TABLE IF EXISTS `drugname_tb`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `drugname_tb` (
`drug_id` int NOT NULL,
`drug_name` varchar(250) DEFAULT NULL,
`drug_notice` longtext,
`drug_grpid` varchar(30) DEFAULT NULL,
`drug-grpname` char(250) DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `exam`
--
DROP TABLE IF EXISTS `exam`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `exam` (
`what` varchar(145) DEFAULT NULL,
`finding` varchar(145) NOT NULL,
`category` varchar(45) DEFAULT NULL,
`obsncode` decimal(10,0) NOT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=686 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `form_summary`
--
DROP TABLE IF EXISTS `form_summary`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `form_summary` (
`form_name` varchar(20) NOT NULL,
`form_fields` varchar(100) DEFAULT NULL,
`field_names` varchar(200) DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `forms`
--
DROP TABLE IF EXISTS `forms`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `forms` (
`name` char(3) NOT NULL,
`description` char(100) NOT NULL,
`par_chl` char(2) DEFAULT NULL,
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `formulation`
--
DROP TABLE IF EXISTS `formulation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `formulation` (
`id_formulation` tinyint unsigned DEFAULT NULL,
`prep` varchar(45) DEFAULT NULL,
`unit` varchar(20) DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `ftpaccounts`
--
DROP TABLE IF EXISTS `ftpaccounts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ftpaccounts` (
`localip` varchar(15) NOT NULL DEFAULT '',
`remoteip` varchar(15) NOT NULL DEFAULT '',
`uname` varchar(20) DEFAULT NULL,
`passwd` varchar(20) DEFAULT NULL,
PRIMARY KEY (`localip`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `genotype`
--
DROP TABLE IF EXISTS `genotype`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `genotype` (
`id_mutation` tinyint unsigned DEFAULT NULL,
`mutation` varchar(45) NOT NULL,
`mutation_type` varchar(45) NOT NULL,
`comment` mediumtext,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=325 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `genotype_report`
--
DROP TABLE IF EXISTS `genotype_report`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `genotype_report` (
`id_genotype_report` decimal(10,0) NOT NULL,
`mutation_id` tinyint unsigned NOT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h00`
--
DROP TABLE IF EXISTS `h00`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h00` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`pain` varchar(50) DEFAULT NULL,
`fever` varchar(50) DEFAULT NULL,
`skin` varchar(50) CHARACTER SET big5 COLLATE big5_chinese_ci DEFAULT NULL,
`syncope` varchar(50) DEFAULT NULL,
`seizure` varchar(50) DEFAULT NULL,
`dizziness` varchar(50) DEFAULT NULL,
`visual` varchar(50) DEFAULT NULL,
`paralysis` varchar(50) DEFAULT NULL,
`unconscious` varchar(50) DEFAULT NULL,
`dyspnea` varchar(50) DEFAULT NULL,
`cough` varchar(50) DEFAULT NULL,
`sensory` varchar(50) DEFAULT NULL,
`cyanosis` varchar(50) DEFAULT NULL,
`edema` varchar(50) DEFAULT NULL,
`nausea` varchar(50) DEFAULT NULL,
`weight` varchar(50) DEFAULT NULL,
`diauhea` varchar(50) DEFAULT NULL,
`gi_bleeding` varchar(50) DEFAULT NULL,
`jaundice` varchar(50) DEFAULT NULL,
`lymphadenopathy` varchar(50) DEFAULT NULL,
`splenomepaly` varchar(50) DEFAULT NULL,
`swelling` varchar(50) DEFAULT NULL,
`ulcer` varchar(50) DEFAULT NULL,
`sinus` varchar(50) DEFAULT NULL,
`varicose` varchar(50) DEFAULT NULL,
`walking` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h01`
--
DROP TABLE IF EXISTS `h01`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h01` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`site1` varchar(50) DEFAULT NULL,
`time_onset1` varchar(50) DEFAULT NULL,
`mode_onset1` varchar(50) DEFAULT NULL,
`duration1` varchar(50) DEFAULT NULL,
`shifting1` varchar(50) DEFAULT NULL,
`radiation1` varchar(50) DEFAULT NULL,
`referral1` varchar(50) DEFAULT NULL,
`character1` varchar(50) DEFAULT NULL,
`effect_pressure1` varchar(50) DEFAULT NULL,
`effect_walking1` varchar(50) DEFAULT NULL,
`jolting1` varchar(50) DEFAULT NULL,
`breathing1` varchar(50) DEFAULT NULL,
`micturition1` varchar(50) DEFAULT NULL,
`worse1` varchar(50) DEFAULT NULL,
`relieved1` varchar(50) DEFAULT NULL,
`others1` varchar(50) DEFAULT NULL,
`tbxgeneralimp1` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h02`
--
DROP TABLE IF EXISTS `h02`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h02` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`duration2` varchar(50) DEFAULT NULL,
`mode_onset2` varchar(50) DEFAULT NULL,
`pain2` varchar(50) DEFAULT NULL,
`progress_swelling2` varchar(50) DEFAULT NULL,
`presence2` varchar(50) DEFAULT NULL,
`secondary_change2` varchar(50) DEFAULT NULL,
`l_weight_appetite2` varchar(50) DEFAULT NULL,
`upper_l2` varchar(50) DEFAULT NULL,
`upper_r2` varchar(50) DEFAULT NULL,
`lower_l2` varchar(50) DEFAULT NULL,
`lower_r2` varchar(50) DEFAULT NULL,
`inspection2` varchar(50) DEFAULT NULL,
`temperature2` varchar(50) DEFAULT NULL,
`tenderness2` varchar(50) DEFAULT NULL,
`size2` varchar(50) DEFAULT NULL,
`shape_extent2` varchar(50) DEFAULT NULL,
`surface2` varchar(50) DEFAULT NULL,
`edge2` varchar(50) DEFAULT NULL,
`consistency2` varchar(50) DEFAULT NULL,
`fluctuation2` varchar(50) DEFAULT NULL,
`fluid_thrill2` varchar(50) DEFAULT NULL,
`translucency2` varchar(50) DEFAULT NULL,
`impulse_coughing2` varchar(50) DEFAULT NULL,
`reducibility2` varchar(50) DEFAULT NULL,
`compressibility2` varchar(50) DEFAULT NULL,
`pulsatility2` varchar(50) DEFAULT NULL,
`fixity2` varchar(50) DEFAULT NULL,
`r_lymph2` varchar(50) DEFAULT NULL,
`auscultation2` varchar(50) DEFAULT NULL,
`measurements` varchar(50) DEFAULT NULL,
`movements2` varchar(50) DEFAULT NULL,
`pressure2` varchar(50) DEFAULT NULL,
`others2` varchar(50) DEFAULT NULL,
`tbxgeneralimp2` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h03`
--
DROP TABLE IF EXISTS `h03`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h03` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`site3` varchar(50) DEFAULT NULL,
`time_onset3` varchar(50) DEFAULT NULL,
`mode_onset3` varchar(50) DEFAULT NULL,
`duration3` varchar(50) DEFAULT NULL,
`shifting3` varchar(50) DEFAULT NULL,
`radiation3` varchar(50) DEFAULT NULL,
`referral3` varchar(50) DEFAULT NULL,
`character3` varchar(50) DEFAULT NULL,
`effect_pressure3` varchar(50) DEFAULT NULL,
`effect_walking3` varchar(50) DEFAULT NULL,
`jolting3` varchar(50) DEFAULT NULL,
`breathing3` varchar(50) DEFAULT NULL,
`micturition3` varchar(50) DEFAULT NULL,
`worse3` varchar(50) DEFAULT NULL,
`relieved3` varchar(50) DEFAULT NULL,
`others3` varchar(50) DEFAULT NULL,
`tbxgeneralimp3` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h04`
--
DROP TABLE IF EXISTS `h04`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h04` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`similar` varchar(50) DEFAULT NULL,
`treatment` varchar(50) DEFAULT NULL,
`medical` varchar(50) DEFAULT NULL,
`surgical` varchar(50) DEFAULT NULL,
`family` varchar(50) DEFAULT NULL,
`functional` varchar(50) DEFAULT NULL,
`diseases` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h05`
--
DROP TABLE IF EXISTS `h05`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h05` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`occupation` varchar(50) DEFAULT NULL,
`exposure` varchar(50) DEFAULT NULL,
`socio` varchar(50) DEFAULT NULL,
`infamily` varchar(50) DEFAULT NULL,
`marital` varchar(50) DEFAULT NULL,
`diet` varchar(50) DEFAULT NULL,
`habit` varchar(50) DEFAULT NULL,
`ho_exphist` varchar(50) DEFAULT NULL,
`contracted` varchar(50) DEFAULT NULL,
`anyother` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h06`
--
DROP TABLE IF EXISTS `h06`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h06` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`bcg` varchar(50) DEFAULT NULL,
`b_date` varchar(50) DEFAULT NULL,
`dtp` varchar(50) DEFAULT NULL,
`d_date` varchar(50) DEFAULT NULL,
`dtp_a` varchar(50) DEFAULT NULL,
`da_date` varchar(50) DEFAULT NULL,
`dtp_b` varchar(50) DEFAULT NULL,
`db_date` varchar(50) DEFAULT NULL,
`dt` varchar(50) DEFAULT NULL,
`dt_date` varchar(50) DEFAULT NULL,
`chicken` varchar(50) DEFAULT NULL,
`chicken_d` varchar(50) DEFAULT NULL,
`opv_st` varchar(50) DEFAULT NULL,
`opv_fst` varchar(50) DEFAULT NULL,
`opv_nd` varchar(50) DEFAULT NULL,
`opv_snd` varchar(50) DEFAULT NULL,
`opv_rd` varchar(50) DEFAULT NULL,
`opv_trd` varchar(50) DEFAULT NULL,
`opv_th` varchar(50) DEFAULT NULL,
`opv_fth` varchar(50) DEFAULT NULL,
`opv_ft` varchar(50) DEFAULT NULL,
`opv_fvt` varchar(50) DEFAULT NULL,
`obstetric` varchar(50) DEFAULT NULL,
`obste_tric` varchar(50) DEFAULT NULL,
`obst_etric` varchar(50) DEFAULT NULL,
`obstet_ric` varchar(50) DEFAULT NULL,
`hbv_st` varchar(50) DEFAULT NULL,
`hbv_fst` varchar(50) DEFAULT NULL,
`hbv_nd` varchar(50) DEFAULT NULL,
`hbv_snd` varchar(50) DEFAULT NULL,
`hbv_rd` varchar(50) DEFAULT NULL,
`hbv_trd` varchar(50) DEFAULT NULL,
`measles` varchar(50) DEFAULT NULL,
`measles_d` varchar(50) DEFAULT NULL,
`mmr` varchar(50) DEFAULT NULL,
`mmr_d` varchar(50) DEFAULT NULL,
`hib` varchar(50) DEFAULT NULL,
`hib_d` varchar(50) DEFAULT NULL,
`pulse` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h07`
--
DROP TABLE IF EXISTS `h07`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h07` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`marital_status` varchar(50) DEFAULT NULL,
`lmp` varchar(50) DEFAULT NULL,
`ammenorrhea` varchar(50) DEFAULT NULL,
`pain_abdomen` varchar(50) DEFAULT NULL,
`bleeding_pv` varchar(50) DEFAULT NULL,
`discharge_pv` varchar(50) DEFAULT NULL,
`something_coming_down_pv` varchar(50) DEFAULT NULL,
`dysuria` varchar(50) DEFAULT NULL,
`backache` varchar(50) DEFAULT NULL,
`infertility` varchar(50) DEFAULT NULL,
`pregnancy` varchar(50) DEFAULT NULL,
`complaints` varchar(50) DEFAULT NULL,
`duration` varchar(50) DEFAULT NULL,
`associated_complaints` varchar(50) DEFAULT NULL,
`gravida` varchar(50) DEFAULT NULL,
`para` varchar(50) DEFAULT NULL,
`no_of_living_issue` varchar(50) DEFAULT NULL,
`mode_of_delivery` varchar(50) DEFAULT NULL,
`last_childbirth` varchar(50) DEFAULT NULL,
`no_of_abortions` varchar(50) DEFAULT NULL,
`menarche` varchar(50) DEFAULT NULL,
`cycle` varchar(50) DEFAULT NULL,
`dysmenorrhoea` varchar(50) DEFAULT NULL,
`duration_m` varchar(50) DEFAULT NULL,
`blood_flow` varchar(50) DEFAULT NULL,
`menopause` varchar(50) DEFAULT NULL,
`tbxanyother` longtext,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h08`
--
DROP TABLE IF EXISTS `h08`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h08` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`time_delivery` varchar(50) DEFAULT NULL,
`marital_status` varchar(50) DEFAULT NULL,
`birth_weight` varchar(50) DEFAULT NULL,
`feeding` varchar(50) DEFAULT NULL,
`developmental_milestones` varchar(50) DEFAULT NULL,
`immunisation` varchar(50) DEFAULT NULL,
`fever` varchar(50) DEFAULT NULL,
`rash` varchar(50) DEFAULT NULL,
`refusal_suck` varchar(50) DEFAULT NULL,
`diarrhoea` varchar(50) DEFAULT NULL,
`vomiting` varchar(50) DEFAULT NULL,
`bleeding_tendency` varchar(50) DEFAULT NULL,
`pain_abdomen` varchar(50) DEFAULT NULL,
`respiratory_distress` varchar(50) DEFAULT NULL,
`ho_past_illness` varchar(50) DEFAULT NULL,
`nature` varchar(50) DEFAULT NULL,
`severity` varchar(50) DEFAULT NULL,
`age_occurrence` varchar(50) DEFAULT NULL,
`tbxanyother` longtext,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h09`
--
DROP TABLE IF EXISTS `h09`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h09` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`delivery` varchar(50) DEFAULT NULL,
`tbxchief_complaints` longtext,
`tbxpresenting_illness` longtext,
`tbxanyother` longtext,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h10`
--
DROP TABLE IF EXISTS `h10`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h10` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`pa_ra` varchar(50) DEFAULT NULL,
`gravida` varchar(50) DEFAULT NULL,
`date1` varchar(50) DEFAULT NULL,
`date2` varchar(50) DEFAULT NULL,
`date3` varchar(50) DEFAULT NULL,
`date4` varchar(50) DEFAULT NULL,
`gestation1` varchar(50) DEFAULT NULL,
`gestation2` varchar(50) DEFAULT NULL,
`gestation3` varchar(50) DEFAULT NULL,
`gestation4` varchar(50) DEFAULT NULL,
`mode_of_delivery1` varchar(50) DEFAULT NULL,
`mode_of_delivery2` varchar(50) DEFAULT NULL,
`mode_of_delivery3` varchar(50) DEFAULT NULL,
`mode_of_delivery4` varchar(50) DEFAULT NULL,
`delivery_at1` varchar(50) DEFAULT NULL,
`delivery_at2` varchar(50) DEFAULT NULL,
`delivery_at3` varchar(50) DEFAULT NULL,
`delivery_at4` varchar(50) DEFAULT NULL,
`alive_dead1` varchar(50) DEFAULT NULL,
`alive_dead2` varchar(50) DEFAULT NULL,
`alive_dead3` varchar(50) DEFAULT NULL,
`alive_dead4` varchar(50) DEFAULT NULL,
`weight1` varchar(50) DEFAULT NULL,
`weight2` varchar(50) DEFAULT NULL,
`weight3` varchar(50) DEFAULT NULL,
`weight4` varchar(50) DEFAULT NULL,
`sex1` varchar(50) DEFAULT NULL,
`sex2` varchar(50) DEFAULT NULL,
`sex3` varchar(50) DEFAULT NULL,
`sex4` varchar(50) DEFAULT NULL,
`other1` varchar(50) DEFAULT NULL,
`other2` varchar(50) DEFAULT NULL,
`other3` varchar(50) DEFAULT NULL,
`other4` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h11`
--
DROP TABLE IF EXISTS `h11`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h11` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`edd_date` varchar(50) DEFAULT NULL,
`antenatal_care` varchar(50) DEFAULT NULL,
`maternal_prob` varchar(50) DEFAULT NULL,
`other_relevant_points` varchar(50) DEFAULT NULL,
`details_labour` varchar(50) DEFAULT NULL,
`apgar_score` varchar(50) DEFAULT NULL,
`at_min` varchar(50) DEFAULT NULL,
`tb` varchar(50) DEFAULT NULL,
`diabetes` varchar(50) DEFAULT NULL,
`twin` varchar(50) DEFAULT NULL,
`congenital_malformations` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h12`
--
DROP TABLE IF EXISTS `h12`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h12` (
`pat_id` char(18) NOT NULL,
`mother_alive` varchar(50) DEFAULT NULL,
`mother_age` varchar(50) DEFAULT NULL,
`mother_hiv` varchar(50) DEFAULT NULL,
`mother_io` varchar(50) DEFAULT NULL,
`mother_haart` varchar(50) DEFAULT NULL,
`mother_comments` longtext,
`father_alive` varchar(50) DEFAULT NULL,
`father_age` longtext,
`father_hiv` varchar(50) DEFAULT NULL,
`father_io` varchar(50) DEFAULT NULL,
`father_haart` varchar(50) DEFAULT NULL,
`father_comments` varchar(50) DEFAULT NULL,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h13`
--
DROP TABLE IF EXISTS `h13`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h13` (
`pat_id` char(18) NOT NULL,
`drug_name` varchar(50) DEFAULT NULL,
`drug_class` varchar(50) DEFAULT NULL,
`route_administration` varchar(50) DEFAULT NULL,
`onset_drug` varchar(50) DEFAULT NULL,
`hypersensitivity` varchar(50) DEFAULT NULL,
`agent` varchar(50) DEFAULT NULL,
`mode_contact` varchar(50) DEFAULT NULL,
`onset_other` varchar(50) DEFAULT NULL,
`nature_allergy` varchar(50) DEFAULT NULL,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h14`
--
DROP TABLE IF EXISTS `h14`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h14` (
`pat_id` char(18) NOT NULL,
`relationship` varchar(50) DEFAULT NULL,
`commonparents` varchar(50) DEFAULT NULL,
`age_year` varchar(50) DEFAULT NULL,
`age_month` varchar(50) DEFAULT NULL,
`age_day` varchar(50) DEFAULT NULL,
`is_alive` varchar(50) DEFAULT NULL,
`tested` varchar(50) DEFAULT NULL,
`hiv` varchar(50) DEFAULT NULL,
`haart` varchar(50) DEFAULT NULL,
`oi` varchar(50) DEFAULT NULL,
`comments` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h15`
--
DROP TABLE IF EXISTS `h15`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h15` (
`pat_id` char(18) NOT NULL,
`ht` double DEFAULT NULL,
`wt` double DEFAULT NULL,
`bmi` double DEFAULT NULL,
`hc` double DEFAULT NULL,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h16`
--
DROP TABLE IF EXISTS `h16`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h16` (
`pat_id` char(18) NOT NULL,
`tbxcomplaint` longtext,
`tbxfindings` longtext,
`tbxinvest` longtext,
`tbxdiagnosis` longtext,
`tbxtreatment` longtext,
`tbxasthma` longtext,
`tbxother_x` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h18`
--
DROP TABLE IF EXISTS `h18`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h18` (
`pat_id` char(18) NOT NULL,
`regular` varchar(50) DEFAULT NULL,
`irregular` varchar(50) DEFAULT NULL,
`scanty` varchar(50) DEFAULT NULL,
`excessive` varchar(50) DEFAULT NULL,
`average` varchar(50) DEFAULT NULL,
`pain` varchar(50) DEFAULT NULL,
`discharge` varchar(50) DEFAULT NULL,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h19`
--
DROP TABLE IF EXISTS `h19`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h19` (
`pat_id` char(18) NOT NULL,
`tbxpres_his` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h20`
--
DROP TABLE IF EXISTS `h20`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h20` (
`pat_id` char(18) NOT NULL,
`grandfather` varchar(50) DEFAULT NULL,
`tbxgf_dtls` longtext,
`grandmother` varchar(50) DEFAULT NULL,
`tbxgm_dtls` longtext,
`father` varchar(50) DEFAULT NULL,
`tbxfat_dtls` longtext,
`mother` varchar(50) DEFAULT NULL,
`tbxmoth_dtls` longtext,
`brother` varchar(50) DEFAULT NULL,
`tbxbro_dtls` longtext,
`sister` varchar(50) DEFAULT NULL,
`tbxsis_dtls` longtext,
`son` varchar(50) DEFAULT NULL,
`tbxson_dtls` longtext,
`daughter` varchar(50) DEFAULT NULL,
`tbxdaut_dtls` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h21`
--
DROP TABLE IF EXISTS `h21`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h21` (
`pat_id` char(18) NOT NULL,
`chkbetel_nut` varchar(50) DEFAULT NULL,
`chkcigarette` varchar(50) DEFAULT NULL,
`chkchewing` varchar(50) DEFAULT NULL,
`chkhormonal` varchar(50) DEFAULT NULL,
`chkalcohol` varchar(50) DEFAULT NULL,
`chkbidi` varchar(50) DEFAULT NULL,
`chkgutka` varchar(50) DEFAULT NULL,
`chksnuff` varchar(50) DEFAULT NULL,
`chkkhaini` varchar(50) DEFAULT NULL,
`chknone` varchar(50) DEFAULT NULL,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `h22`
--
DROP TABLE IF EXISTS `h22`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `h22` (
`pat_id` char(18) NOT NULL,
`moth_exposure` char(10) DEFAULT NULL,
`moth_tbkind` varchar(15) DEFAULT NULL,
`moth_diagdate` varchar(350) DEFAULT NULL,
`moth_trtinfo` varchar(100) DEFAULT NULL,
`fath_exposure` char(10) DEFAULT NULL,
`fath_tbkind` varchar(15) DEFAULT NULL,
`fath_diagdate` varchar(350) DEFAULT NULL,
`fath_trtinfo` varchar(100) DEFAULT NULL,
`sib_exposure` char(10) DEFAULT NULL,
`sib_who` varchar(20) DEFAULT NULL,
`sib_tbkind` varchar(15) DEFAULT NULL,
`sib_diagdate` varchar(350) DEFAULT NULL,
`sib_trtinfo` varchar(100) DEFAULT NULL,
`oth_exposure` char(10) DEFAULT NULL,
`oth_who` varchar(20) DEFAULT NULL,
`oth_tbkind` varchar(15) DEFAULT NULL,
`oth_diagdate` varchar(350) DEFAULT NULL,
`oth_trtinfo` varchar(100) DEFAULT NULL,
`mdr_exposure` char(10) DEFAULT NULL,
`mdr_who` varchar(20) DEFAULT NULL,
`mdr_tbkind` varchar(15) DEFAULT NULL,
`mdr_diagdate` varchar(350) DEFAULT NULL,
`mdr_trtinfo` varchar(100) DEFAULT NULL,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `hc_boys`
--
DROP TABLE IF EXISTS `hc_boys`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `hc_boys` (
`agemonth` int DEFAULT NULL,
`l` double DEFAULT NULL,
`m` double DEFAULT NULL,
`s` double DEFAULT NULL,
`sd` double DEFAULT NULL,
`p1` double DEFAULT NULL,
`p3` double DEFAULT NULL,
`p5` double DEFAULT NULL,
`p15` double DEFAULT NULL,
`p25` double DEFAULT NULL,
`p50` double DEFAULT NULL,
`p75` double DEFAULT NULL,
`p85` double DEFAULT NULL,
`p95` double DEFAULT NULL,
`p97` double DEFAULT NULL,
`p99` double DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=62 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `hc_girls`
--
DROP TABLE IF EXISTS `hc_girls`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `hc_girls` (
`agemonth` int DEFAULT NULL,
`l` double DEFAULT NULL,
`m` double DEFAULT NULL,
`s` double DEFAULT NULL,
`sd` double DEFAULT NULL,
`p1` double DEFAULT NULL,
`p3` double DEFAULT NULL,
`p5` double DEFAULT NULL,
`p15` double DEFAULT NULL,
`p25` double DEFAULT NULL,
`p50` double DEFAULT NULL,
`p75` double DEFAULT NULL,
`p85` double DEFAULT NULL,
`p95` double DEFAULT NULL,
`p97` double DEFAULT NULL,
`p99` double DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=62 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `hexPathology`
--
DROP TABLE IF EXISTS `hexPathology`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `hexPathology` (
`test_id` varchar(30) NOT NULL,
`testTime` datetime DEFAULT NULL,
`Description` varchar(100) DEFAULT NULL,
`Result` varchar(100) DEFAULT NULL,
`pat_id` varchar(18) DEFAULT NULL,
PRIMARY KEY (`test_id`),
CONSTRAINT `fk_hexPathology_1` FOREIGN KEY (`test_id`) REFERENCES `ai0` (`test_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `ht_boys`
--
DROP TABLE IF EXISTS `ht_boys`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ht_boys` (
`agemonth` double DEFAULT NULL,
`L` double DEFAULT NULL,
`M` double DEFAULT NULL,
`S` double DEFAULT NULL,
`P3` double DEFAULT NULL,
`P5` double DEFAULT NULL,
`P10` double DEFAULT NULL,
`P25` double DEFAULT NULL,
`P50` double DEFAULT NULL,
`P75` double DEFAULT NULL,
`P90` double DEFAULT NULL,
`P95` double DEFAULT NULL,
`P97` double DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=242 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `ht_girls`
--
DROP TABLE IF EXISTS `ht_girls`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ht_girls` (
`agemonth` double DEFAULT NULL,
`L` double DEFAULT NULL,
`M` double DEFAULT NULL,
`S` double DEFAULT NULL,
`P3` double DEFAULT NULL,
`P5` double DEFAULT NULL,
`P10` double DEFAULT NULL,
`P25` double DEFAULT NULL,
`P50` double DEFAULT NULL,
`P75` double DEFAULT NULL,
`P90` double DEFAULT NULL,
`P95` double DEFAULT NULL,
`P97` double DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=242 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `i00`
--
DROP TABLE IF EXISTS `i00`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i00` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`f_rbc_cnt` double DEFAULT NULL,
`f_haemoglobin` double DEFAULT NULL,
`wbc_cnt` varchar(50) DEFAULT NULL,
`f_neutrophils` double DEFAULT NULL,
`f_lymphocytes` double DEFAULT NULL,
`f_eosinophils` double DEFAULT NULL,
`f_basophils` double DEFAULT NULL,
`f_monoocytes` double DEFAULT NULL,
`abnormal` varchar(50) DEFAULT NULL,
`parasites` varchar(50) DEFAULT NULL,
`f_platelate` double DEFAULT NULL,
`f_fst_hour` double DEFAULT NULL,
`f_snd_hour` double DEFAULT NULL,
`f_mean_esr` double DEFAULT NULL,
`bld_group` varchar(50) DEFAULT NULL,
`rh_factor` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`nofimg` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `i02`
--
DROP TABLE IF EXISTS `i02`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i02` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`f_platelets` double DEFAULT NULL,
`hematocrit` varchar(50) DEFAULT NULL,
`f_rdw` double DEFAULT NULL,
`f_mcv` double DEFAULT NULL,
`f_mchc` double DEFAULT NULL,
`smear` varchar(50) DEFAULT NULL,
`neutros` varchar(50) DEFAULT NULL,
`neutrob` varchar(50) DEFAULT NULL,
`mono_cyte` varchar(50) DEFAULT NULL,
`f_packedcell` double DEFAULT NULL,
`f_white_blood` double DEFAULT NULL,
`f_monocyte` double DEFAULT NULL,
`f_blast` double DEFAULT NULL,
`f_promyclocyte` double DEFAULT NULL,
`f_neutrophilic` double DEFAULT NULL,
`f_metamyelocyte` double DEFAULT NULL,
`neutro_band` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`nofimg` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `i07`
--
DROP TABLE IF EXISTS `i07`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i07` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`tbxspecialreport` longtext,
`nofimg` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `i16`
--
DROP TABLE IF EXISTS `i16`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i16` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`hypochromia` varchar(50) DEFAULT NULL,
`anisocytosis` varchar(50) DEFAULT NULL,
`poikilocytosis` varchar(50) DEFAULT NULL,
`target_cells` varchar(50) DEFAULT NULL,
`bas_stipling` varchar(50) DEFAULT NULL,
`cabot_ring` varchar(50) DEFAULT NULL,
`normoblasts` varchar(50) DEFAULT NULL,
`mal_parasite` varchar(50) DEFAULT NULL,
`f_platelets` double DEFAULT NULL,
`f_bloodcorpuscles` double DEFAULT NULL,
`f_blast_cells` double DEFAULT NULL,
`promyelocyte` varchar(50) DEFAULT NULL,
`neutro_myel` varchar(50) DEFAULT NULL,
`neutro_meta` varchar(50) DEFAULT NULL,
`neutro_band` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`nofimg` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `i18`
--
DROP TABLE IF EXISTS `i18`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i18` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`site` varchar(50) DEFAULT NULL,
`material` varchar(50) DEFAULT NULL,
`cellularity` varchar(50) DEFAULT NULL,
`erythro_cel` varchar(50) DEFAULT NULL,
`granulo_cel` varchar(50) DEFAULT NULL,
`lympho_cel` varchar(50) DEFAULT NULL,
`megakaryocyte` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`anyoth` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`nofimg` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `i21`
--
DROP TABLE IF EXISTS `i21`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i21` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`fetus` varchar(50) DEFAULT NULL,
`viability` varchar(50) DEFAULT NULL,
`presentation` varchar(50) DEFAULT NULL,
`f_clr` double DEFAULT NULL,
`f_bpd` double DEFAULT NULL,
`f_femur` double DEFAULT NULL,
`f_head` double DEFAULT NULL,
`f_gestational` double DEFAULT NULL,
`f_liquor` double DEFAULT NULL,
`f_fhr` double DEFAULT NULL,
`iugr` varchar(50) DEFAULT NULL,
`calculated` varchar(50) DEFAULT NULL,
`maturity` varchar(50) DEFAULT NULL,
`placental` varchar(50) DEFAULT NULL,
`grading` varchar(50) DEFAULT NULL,
`cogenital` varchar(50) DEFAULT NULL,
`doppler` varchar(50) DEFAULT NULL,
`ratio` varchar(50) DEFAULT NULL,
`ammiocentesis` varchar(50) DEFAULT NULL,
`feature` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`nofimg` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `i22`
--
DROP TABLE IF EXISTS `i22`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i22` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`tbxchest_xray` longtext,
`tbxabdomen_x` longtext,
`tbxbarium_x` longtext,
`tbxspine_x` longtext,
`tbxpns_x` longtext,
`tbxskull_x` longtext,
`tbxfracture_x` longtext,
`tbxswelling_x` longtext,
`tbxother_x` longtext,
`nofimg` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `i23`
--
DROP TABLE IF EXISTS `i23`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i23` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`kidney` varchar(50) DEFAULT NULL,
`shape` varchar(50) DEFAULT NULL,
`position` varchar(50) DEFAULT NULL,
`scar` varchar(50) DEFAULT NULL,
`out_flow` varchar(50) DEFAULT NULL,
`ivucalculas` varchar(50) DEFAULT NULL,
`mic_cug` varchar(50) DEFAULT NULL,
`cystoscopy` varchar(50) DEFAULT NULL,
`retrograde` varchar(50) DEFAULT NULL,
`antegrade` varchar(50) DEFAULT NULL,
`rightartery` varchar(50) DEFAULT NULL,
`leftartery` varchar(50) DEFAULT NULL,
`rightvein` varchar(50) DEFAULT NULL,
`leftvein` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`nofimg` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `i24`
--
DROP TABLE IF EXISTS `i24`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i24` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`tbxchest_xray` longtext,
`tbxdsa` longtext,
`tbxrvg` longtext,
`tbxcine_ct` longtext,
`tbxpet` longtext,
`tbxmra` longtext,
`tbxmrs` longtext,
`tbxtc_sesta_mibi` longtext,
`tbxcoronary` longtext,
`tbxlv_angio` longtext,
`tbxaortography` longtext,
`ef_slope` varchar(50) DEFAULT NULL,
`mva` varchar(50) DEFAULT NULL,
`ava` varchar(50) DEFAULT NULL,
`effusion` varchar(50) DEFAULT NULL,
`lv` varchar(50) DEFAULT NULL,
`la` varchar(50) DEFAULT NULL,
`rv` varchar(50) DEFAULT NULL,
`ra` varchar(50) DEFAULT NULL,
`svr` varchar(50) DEFAULT NULL,
`pvr` varchar(50) DEFAULT NULL,
`cardiac` varchar(50) DEFAULT NULL,
`oxygen` varchar(50) DEFAULT NULL,
`av_oxygen` varchar(50) DEFAULT NULL,
`tbxother` longtext,
`tbxgeneralimp` longtext,
`nofimg` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `i25`
--
DROP TABLE IF EXISTS `i25`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i25` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`tbxglbder` longtext,
`tbxpancreas` longtext,
`tbxspleen` longtext,
`tbxstomach` longtext,
`tbxintestine` longtext,
`tbxkidneys` longtext,
`tbxpelvis` longtext,
`tbxoveries` longtext,
`tbxuterus` longtext,
`tbxurinary` longtext,
`tbxaorotic` longtext,
`tbxany` longtext,
`tbximpression` longtext,
`ctdate` varchar(50) DEFAULT NULL,
`tbxliver` longtext,
`tbxpan_creas` longtext,
`tbxsple_en` longtext,
`tbxsto_mach` longtext,
`tbxinte_stine` longtext,
`tbxkidn_eys` longtext,
`tbxpe_lvis` longtext,
`tbxove_ries` longtext,
`tbxute_rus` longtext,
`tbxurin_ary` longtext,
`tbxaoro_tic` longtext,
`tbx_any` longtext,
`tbxgeneralimp` longtext,
`nofimg` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `i26`
--
DROP TABLE IF EXISTS `i26`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i26` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`tbxskull` longtext,
`tbxbones` longtext,
`tbxepidural` longtext,
`tbxsubdural` longtext,
`tbxventricles` longtext,
`tbxgray` longtext,
`tbxwhite` longtext,
`tbxicsol` longtext,
`tbxhemorrhage` longtext,
`tbxinfarction` longtext,
`tbxthrombosis` longtext,
`tbxedema` longtext,
`tbxother` longtext,
`tbxgeneralimp` longtext,
`nofimg` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `i27`
--
DROP TABLE IF EXISTS `i27`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i27` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`tbxsku_ll` longtext,
`tbxbon_es` longtext,
`tbxepidu_ral` longtext,
`tbxsubdu_ral` longtext,
`tbxventr_icles` longtext,
`tbxgra_y` longtext,
`tbxwhi_te` longtext,
`tbxics_ol` longtext,
`tbxhemor_rhage` longtext,
`tbxinfar_ction` longtext,
`tbxthrombo_sis` longtext,
`tbxede_ma` longtext,
`tbxother` longtext,
`tbxgeneralimp` longtext,
`nofimg` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `i28`
--
DROP TABLE IF EXISTS `i28`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i28` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`f_rate` double DEFAULT NULL,
`rhythm` varchar(50) DEFAULT NULL,
`axis` varchar(50) DEFAULT NULL,
`pwave` varchar(50) DEFAULT NULL,
`printerval` varchar(50) DEFAULT NULL,
`quwave` varchar(50) DEFAULT NULL,
`f_qrscomplex` double DEFAULT NULL,
`qtinterval` varchar(50) DEFAULT NULL,
`stsegment` varchar(50) DEFAULT NULL,
`twave` varchar(50) DEFAULT NULL,
`uwave` varchar(50) DEFAULT NULL,
`tbxothers` longtext,
`tbxgeneralimp` longtext,
`nofimg` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `i29`
--
DROP TABLE IF EXISTS `i29`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i29` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`tbxecg` longtext,
`tbxeeg` longtext,
`tbxemg` longtext,
`tbxncv` longtext,
`tbxany` longtext,
`tbxgeneralimp` longtext,
`nofimg` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `i30`
--
DROP TABLE IF EXISTS `i30`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i30` (
`pat_id` char(18) NOT NULL,
`modality` varchar(50) DEFAULT NULL,
`study_name` varchar(50) DEFAULT NULL,
`study_purpose` varchar(50) DEFAULT NULL,
`roi` varchar(50) DEFAULT NULL,
`contrast` varchar(50) DEFAULT NULL,
`report` longtext,
`prov_diagnosis` longtext,
`abnormal` varchar(10) DEFAULT NULL,
`nofimg` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `i31`
--
DROP TABLE IF EXISTS `i31`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i31` (
`pat_id` char(18) NOT NULL,
`cbc` varchar(50) DEFAULT NULL,
`urine` varchar(50) DEFAULT NULL,
`stool` varchar(50) DEFAULT NULL,
`xray` varchar(50) DEFAULT NULL,
`mamogrm` varchar(50) DEFAULT NULL,
`biopsy` varchar(50) DEFAULT NULL,
`fnac` varchar(50) DEFAULT NULL,
`usg` varchar(50) DEFAULT NULL,
`ctscan` varchar(50) DEFAULT NULL,
`endoscopy` varchar(50) DEFAULT NULL,
`mri` varchar(50) DEFAULT NULL,
`bonemarrow` varchar(50) DEFAULT NULL,
`tumormarker` varchar(50) DEFAULT NULL,
`liver` varchar(50) DEFAULT NULL,
`IVP` varchar(50) DEFAULT NULL,
`bonescan` varchar(50) DEFAULT NULL,
`colposcopy` varchar(50) DEFAULT NULL,
`papsmear` varchar(50) DEFAULT NULL,
`nofimg` varchar(50) DEFAULT NULL,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `immun_schedule`
--
DROP TABLE IF EXISTS `immun_schedule`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `immun_schedule` (
`vaccine_code` int NOT NULL,
`age` varchar(50) NOT NULL,
`vac_id` int NOT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `immunization`
--
DROP TABLE IF EXISTS `immunization`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `immunization` (
`vac_code` int NOT NULL,
`vac_name` varchar(45) NOT NULL,
`vac_info` varchar(200) DEFAULT NULL,
`disease` varchar(150) DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `k00`
--
DROP TABLE IF EXISTS `k00`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `k00` (
`pat_id` char(18) NOT NULL,
`row_id` int NOT NULL AUTO_INCREMENT,
`drug_id` int DEFAULT NULL,
`formulation` varchar(50) DEFAULT NULL,
`dose` double DEFAULT NULL,
`pill_disp` int DEFAULT NULL,
`pill_consumed` int DEFAULT NULL,
`balance` int DEFAULT NULL,
`name_hos` varchar(25) NOT NULL,
`docrg_no` varchar(25) NOT NULL,
`entrydate` datetime DEFAULT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`row_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `k01`
--
DROP TABLE IF EXISTS `k01`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `k01` (
`pat_id` char(18) NOT NULL,
`row_id` int NOT NULL AUTO_INCREMENT,
`formulation_id` int DEFAULT NULL,
`dose` varchar(50) DEFAULT NULL,
`pill_disp` int DEFAULT NULL,
`pill_consumed` int DEFAULT NULL,
`balance` int DEFAULT NULL,
`name_hos` varchar(25) DEFAULT NULL,
`docrg_no` varchar(25) DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`row_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `k02`
--
DROP TABLE IF EXISTS `k02`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `k02` (
`pat_id` char(18) NOT NULL,
`row_id` int NOT NULL AUTO_INCREMENT,
`drug_id` int DEFAULT NULL,
`formulation_am` varchar(200) DEFAULT NULL,
`formulation_pm` varchar(200) DEFAULT NULL,
`dose_am` varchar(50) DEFAULT NULL,
`dose_pm` varchar(50) DEFAULT NULL,
`pill_disp` int DEFAULT NULL,
`pill_consumed` int DEFAULT NULL,
`balance` int DEFAULT NULL,
`name_hos` varchar(25) DEFAULT NULL,
`docrg_no` varchar(50) NOT NULL,
`entrydate` datetime DEFAULT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`row_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `lab_range`
--
DROP TABLE IF EXISTS `lab_range`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `lab_range` (
`year` tinyint unsigned NOT NULL,
`test` varchar(45) NOT NULL,
`lower` float NOT NULL,
`upper` float NOT NULL,
`label` varchar(45) NOT NULL,
`gender` char(1) DEFAULT NULL,
`month` tinyint unsigned NOT NULL,
`day` tinyint unsigned NOT NULL,
`color` varchar(45) NOT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `listofforms`
--
DROP TABLE IF EXISTS `listofforms`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `listofforms` (
`pat_id` varchar(18) NOT NULL,
`type` char(14) NOT NULL DEFAULT '',
`date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
`sent` char(1) DEFAULT NULL,
`sent_to` char(10) DEFAULT NULL,
`sent_date` datetime DEFAULT NULL,
`rg_no` varchar(20) DEFAULT NULL,
`lastupdate` datetime DEFAULT NULL,
PRIMARY KEY (`pat_id`,`type`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `local_sendq`
--
DROP TABLE IF EXISTS `local_sendq`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `local_sendq` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`send_records` longtext NOT NULL,
`referred_doc` varchar(20) NOT NULL DEFAULT '',
`sent_by` varchar(20) NOT NULL DEFAULT '',
`sent_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `login`
--
DROP TABLE IF EXISTS `login`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `login` (
`uid` varchar(50) NOT NULL DEFAULT '',
`pwd` varchar(50) DEFAULT NULL,
`name` varchar(50) NOT NULL DEFAULT '',
`crtdate` datetime DEFAULT NULL,
`type` char(3) NOT NULL DEFAULT '',
`phone` varchar(15) DEFAULT NULL,
`address` varchar(50) DEFAULT NULL,
`emailid` varchar(50) DEFAULT NULL,
`qualification` varchar(50) DEFAULT NULL,
`designation` varchar(50) DEFAULT NULL,
`dis` varchar(50) DEFAULT NULL,
`rg_no` varchar(20) NOT NULL DEFAULT '',
`center` varchar(8) DEFAULT NULL,
`active` char(2) DEFAULT NULL,
`sign` longblob,
`doc_regno` varchar(50) DEFAULT NULL,
`available` char(1) DEFAULT NULL,
`referral` char(1) DEFAULT NULL,
`verified` varchar(10) DEFAULT 'A',
`verifemail` varchar(1) DEFAULT 'N',
`verifphone` varchar(1) DEFAULT 'N',
`consent` varchar(1) NOT NULL DEFAULT 'N',
`ndhmhealthdata` longtext,
PRIMARY KEY (`uid`,`rg_no`),
UNIQUE KEY `emailid` (`emailid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `login_request`
--
DROP TABLE IF EXISTS `login_request`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `login_request` (
`slno` int NOT NULL AUTO_INCREMENT,
`pat_id` varchar(50) DEFAULT NULL,
`pat_name` varchar(255) DEFAULT NULL,
`emailid` varchar(50) DEFAULT NULL,
`mobile` varchar(25) DEFAULT NULL,
`rdate` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`slno`)
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `lpatq`
--
DROP TABLE IF EXISTS `lpatq`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `lpatq` (
`pat_id` varchar(18) NOT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`appdate` datetime DEFAULT NULL,
`assigneddoc` varchar(20) DEFAULT NULL,
`discategory` varchar(50) DEFAULT NULL,
`checked` char(1) DEFAULT NULL,
`delflag` char(1) DEFAULT NULL,
`opdno` varchar(20) DEFAULT NULL,
PRIMARY KEY (`pat_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
/*!50100 PARTITION BY KEY (pat_id)
PARTITIONS 10 */;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `lpatq_treated`
--
DROP TABLE IF EXISTS `lpatq_treated`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `lpatq_treated` (
`serno` int NOT NULL AUTO_INCREMENT,
`pat_id` varchar(18) DEFAULT NULL,
`appdate` datetime DEFAULT NULL,
`assigneddoc` varchar(20) DEFAULT NULL,
`discategory` varchar(50) DEFAULT NULL,
`data_moved` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`opdno` varchar(20) DEFAULT NULL,
PRIMARY KEY (`serno`)
) ENGINE=InnoDB AUTO_INCREMENT=192 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `lpatq_treated11`
--
DROP TABLE IF EXISTS `lpatq_treated11`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `lpatq_treated11` (
`serno` int NOT NULL AUTO_INCREMENT,
`pat_id` varchar(18) DEFAULT NULL,
`appdate` datetime DEFAULT NULL,
`assigneddoc` varchar(20) DEFAULT NULL,
`discategory` varchar(50) DEFAULT NULL,
`data_moved` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`opdno` varchar(20) DEFAULT NULL,
PRIMARY KEY (`serno`)
) ENGINE=InnoDB AUTO_INCREMENT=198 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `med`
--
DROP TABLE IF EXISTS `med`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `med` (
`pat_id` varchar(18) NOT NULL,
`entrydate` datetime DEFAULT NULL,
`pat_name` varchar(50) NOT NULL DEFAULT '',
`type` char(1) DEFAULT NULL,
`age` varchar(10) DEFAULT NULL,
`sex` varchar(8) DEFAULT NULL,
`religion` varchar(30) DEFAULT NULL,
`class` varchar(50) DEFAULT NULL,
`consent` char(2) DEFAULT NULL,
`addline1` varchar(200) DEFAULT NULL,
`addline2` varchar(200) DEFAULT NULL,
`policestn` varchar(50) DEFAULT NULL,
`phone` varchar(15) DEFAULT NULL,
`city` varchar(30) DEFAULT NULL,
`dist` varchar(30) DEFAULT NULL,
`state` char(2) DEFAULT NULL,
`country` char(2) DEFAULT NULL,
`pin` decimal(18,0) DEFAULT NULL,
`pat_person` varchar(50) DEFAULT NULL,
`pat_relation` varchar(50) DEFAULT NULL,
`pat_person_add` varchar(200) DEFAULT NULL,
`referring_doctor` varchar(20) DEFAULT NULL,
`dateofbirth` datetime DEFAULT NULL,
`pre` varchar(4) DEFAULT NULL,
`m_name` varchar(50) DEFAULT NULL,
`l_name` varchar(50) NOT NULL DEFAULT '',
`m_status` varchar(4) DEFAULT NULL,
`race` varchar(30) DEFAULT NULL,
`caste_category` varchar(30) DEFAULT NULL,
`persidtype` varchar(50) DEFAULT NULL,
`persidvalue` varchar(50) DEFAULT NULL,
`persidchecked` int DEFAULT '0',
`opdno` varchar(20) DEFAULT NULL,
`relationship` varchar(50) DEFAULT NULL,
`primarypatid` varchar(50) DEFAULT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`),
KEY `index_opdno` (`opdno`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `med_history`
--
DROP TABLE IF EXISTS `med_history`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `med_history` (
`pat_id` varchar(18) DEFAULT NULL,
`entrydateofchange` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`pat_name` varchar(50) DEFAULT NULL,
`type` char(1) DEFAULT NULL,
`age` varchar(10) DEFAULT NULL,
`sex` varchar(8) DEFAULT NULL,
`religion` varchar(30) DEFAULT NULL,
`class` varchar(50) DEFAULT NULL,
`consent` char(2) DEFAULT NULL,
`addline1` varchar(50) DEFAULT NULL,
`addline2` varchar(50) DEFAULT NULL,
`policestn` varchar(50) DEFAULT NULL,
`phone` varchar(15) DEFAULT NULL,
`city` varchar(30) DEFAULT NULL,
`dist` varchar(30) DEFAULT NULL,
`state` varchar(30) DEFAULT NULL,
`country` varchar(30) DEFAULT NULL,
`pin` decimal(18,0) DEFAULT NULL,
`pat_person` varchar(50) DEFAULT NULL,
`pat_relation` varchar(50) DEFAULT NULL,
`pat_person_add` varchar(200) DEFAULT NULL,
`referring_doctor` varchar(20) DEFAULT NULL,
`dateofbirth` datetime DEFAULT NULL,
`pre` varchar(4) DEFAULT NULL,
`m_name` varchar(50) DEFAULT NULL,
`l_name` varchar(50) DEFAULT NULL,
`m_status` varchar(4) DEFAULT NULL,
`race` varchar(30) DEFAULT NULL,
`serno` int NOT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=35 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `med_pax_map`
--
DROP TABLE IF EXISTS `med_pax_map`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `med_pax_map` (
`pax_id` varchar(50) NOT NULL,
`pat_id` varchar(18) DEFAULT NULL,
PRIMARY KEY (`pax_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `med_procedure`
--
DROP TABLE IF EXISTS `med_procedure`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `med_procedure` (
`proc_id` int NOT NULL,
`testname` varchar(150) NOT NULL,
`region` varchar(150) NOT NULL,
`indication` longtext NOT NULL,
`intervention` longtext,
`specimen` longtext,
`report` longtext,
`diagnosis` longtext,
`tbxother` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime DEFAULT NULL,
`serno` int DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `new_listofforms`
--
DROP TABLE IF EXISTS `new_listofforms`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `new_listofforms` (
`pat_id` char(18) NOT NULL DEFAULT '',
`type` char(18) NOT NULL DEFAULT '',
`date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
`sent` char(1) DEFAULT NULL,
`sent_to` char(10) DEFAULT NULL,
`sent_date` datetime DEFAULT NULL,
`rg_no` varchar(20) DEFAULT NULL,
`lastupdate` datetime DEFAULT NULL,
PRIMARY KEY (`pat_id`,`type`,`date`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `normal_range`
--
DROP TABLE IF EXISTS `normal_range`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `normal_range` (
`param_type` varchar(50) DEFAULT NULL,
`quantity_name` varchar(50) DEFAULT NULL,
`min_param` int DEFAULT NULL,
`max_param` int DEFAULT NULL,
`min_quantity` int DEFAULT NULL,
`max_quantity` int DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `online_history`
--
DROP TABLE IF EXISTS `online_history`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `online_history` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`com_date` datetime DEFAULT NULL,
`starttime` time DEFAULT NULL,
`endtime` time DEFAULT NULL,
`duration` varchar(30) DEFAULT NULL,
`com_type` varchar(50) DEFAULT NULL,
`remote_ccode` char(3) DEFAULT NULL,
`local_doc` varchar(20) DEFAULT NULL,
`remote_doc` varchar(20) DEFAULT NULL,
`comments` longtext,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `onto`
--
DROP TABLE IF EXISTS `onto`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `onto` (
`organ` varchar(30) DEFAULT NULL,
`stage_t` varchar(200) DEFAULT NULL,
`stage_n` varchar(200) DEFAULT NULL,
`stage_m` varchar(200) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `othdis`
--
DROP TABLE IF EXISTS `othdis`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `othdis` (
`rg_no` varchar(50) NOT NULL DEFAULT '',
`dis` varchar(50) NOT NULL DEFAULT '',
PRIMARY KEY (`rg_no`,`dis`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p00`
--
DROP TABLE IF EXISTS `p00`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p00` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`consciousness` varchar(50) DEFAULT NULL,
`decubitus` varchar(50) DEFAULT NULL,
`appearance` varchar(50) DEFAULT NULL,
`build` varchar(50) DEFAULT NULL,
`anemia` varchar(50) DEFAULT NULL,
`skin_texture` varchar(50) DEFAULT NULL,
`hair` varchar(50) DEFAULT NULL,
`cyanosis` varchar(50) DEFAULT NULL,
`jaundice` varchar(50) DEFAULT NULL,
`facies` varchar(50) DEFAULT NULL,
`neckglands` varchar(50) DEFAULT NULL,
`fever` varchar(50) DEFAULT NULL,
`weak` varchar(50) DEFAULT NULL,
`haemorrhage` varchar(50) DEFAULT NULL,
`pulse` varchar(50) DEFAULT NULL,
`bp` varchar(50) DEFAULT NULL,
`respiration` varchar(50) DEFAULT NULL,
`tempature` varchar(50) DEFAULT NULL,
`wt` float DEFAULT NULL,
`ht` float DEFAULT NULL,
`other` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p01`
--
DROP TABLE IF EXISTS `p01`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p01` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`duration1` varchar(50) DEFAULT NULL,
`mode_onset1` varchar(50) DEFAULT NULL,
`pain1` varchar(50) DEFAULT NULL,
`progress_swelling1` varchar(50) DEFAULT NULL,
`presence1` varchar(50) DEFAULT NULL,
`secondary_change1` varchar(50) DEFAULT NULL,
`l_weight_appetite1` varchar(50) DEFAULT NULL,
`upper_l1` varchar(50) DEFAULT NULL,
`upper_r1` varchar(50) DEFAULT NULL,
`lower_l1` varchar(50) DEFAULT NULL,
`lower_r1` varchar(50) DEFAULT NULL,
`inspection1` varchar(50) DEFAULT NULL,
`temperature1` varchar(50) DEFAULT NULL,
`tenderness1` varchar(50) DEFAULT NULL,
`size1` varchar(50) DEFAULT NULL,
`shape_extent1` varchar(50) DEFAULT NULL,
`surface1` varchar(50) DEFAULT NULL,
`edge1` varchar(50) DEFAULT NULL,
`consistency1` varchar(50) DEFAULT NULL,
`fluctuation1` varchar(50) DEFAULT NULL,
`fluid_thrill1` varchar(50) DEFAULT NULL,
`translucency1` varchar(50) DEFAULT NULL,
`impulse_coughing1` varchar(50) DEFAULT NULL,
`reducibility1` varchar(50) DEFAULT NULL,
`compressibility1` varchar(50) DEFAULT NULL,
`pulsatility1` varchar(50) DEFAULT NULL,
`fixity1` varchar(50) DEFAULT NULL,
`r_egional_lymph1` varchar(50) DEFAULT NULL,
`auscultation1` varchar(50) DEFAULT NULL,
`measurements1` varchar(50) DEFAULT NULL,
`movements1` varchar(50) DEFAULT NULL,
`pressure1` varchar(50) DEFAULT NULL,
`others1` varchar(50) DEFAULT NULL,
`tbxgeneralimp1` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p02`
--
DROP TABLE IF EXISTS `p02`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p02` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`site2` varchar(50) DEFAULT NULL,
`time_onset2` varchar(50) DEFAULT NULL,
`mode_onset2` varchar(50) DEFAULT NULL,
`duration2` varchar(50) DEFAULT NULL,
`shifting2` varchar(50) DEFAULT NULL,
`radiation2` varchar(50) DEFAULT NULL,
`referral2` varchar(50) DEFAULT NULL,
`character2` varchar(50) DEFAULT NULL,
`effect_pressure2` varchar(50) DEFAULT NULL,
`effect_walking2` varchar(50) DEFAULT NULL,
`jolting2` varchar(50) DEFAULT NULL,
`breathing2` varchar(50) DEFAULT NULL,
`micturition2` varchar(50) DEFAULT NULL,
`worse2` varchar(50) DEFAULT NULL,
`relieved2` varchar(50) DEFAULT NULL,
`others2` varchar(50) DEFAULT NULL,
`tbxgeneralimp2` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p03`
--
DROP TABLE IF EXISTS `p03`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p03` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`onset3` varchar(50) DEFAULT NULL,
`duration3` varchar(50) DEFAULT NULL,
`severity3` varchar(50) DEFAULT NULL,
`progress3` varchar(50) DEFAULT NULL,
`proportionate3` varchar(50) DEFAULT NULL,
`drugs3` varchar(50) DEFAULT NULL,
`familyhis3` varchar(50) DEFAULT NULL,
`parasitic3` varchar(50) DEFAULT NULL,
`previous3` varchar(50) DEFAULT NULL,
`anyother3` varchar(50) DEFAULT NULL,
`tbxgeneralimp3` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p04`
--
DROP TABLE IF EXISTS `p04`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p04` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`onset4` varchar(50) DEFAULT NULL,
`duration4` varchar(50) DEFAULT NULL,
`severity4` varchar(50) DEFAULT NULL,
`progress4` varchar(50) DEFAULT NULL,
`blood_tranf4` varchar(50) DEFAULT NULL,
`parenteral4` varchar(50) DEFAULT NULL,
`alcoholism4` varchar(50) DEFAULT NULL,
`family_his4` varchar(50) DEFAULT NULL,
`details4` varchar(50) DEFAULT NULL,
`others4` varchar(50) DEFAULT NULL,
`tbxgeneralimp4` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p05`
--
DROP TABLE IF EXISTS `p05`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p05` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`site5` varchar(50) DEFAULT NULL,
`onset5` varchar(50) DEFAULT NULL,
`duration5` varchar(50) DEFAULT NULL,
`progress5` varchar(50) DEFAULT NULL,
`fever5` varchar(50) DEFAULT NULL,
`tenderness5` varchar(50) DEFAULT NULL,
`txtsize5` varchar(50) DEFAULT NULL,
`consistency5` varchar(50) DEFAULT NULL,
`discharge5` varchar(50) DEFAULT NULL,
`sinus5` varchar(50) DEFAULT NULL,
`adherenceto5` varchar(50) DEFAULT NULL,
`associat5` varchar(50) DEFAULT NULL,
`treatment5` varchar(50) DEFAULT NULL,
`response5` varchar(50) DEFAULT NULL,
`tbxinspection5` longtext,
`tbxpalpation5` longtext,
`tbxpercussion5` longtext,
`tbxauscultation5` longtext,
`tbxothers5` longtext,
`tbxgeneralimp5` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p06`
--
DROP TABLE IF EXISTS `p06`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p06` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`site6` varchar(50) DEFAULT NULL,
`character6` varchar(50) DEFAULT NULL,
`time_onset6` varchar(50) DEFAULT NULL,
`mode_onset6` varchar(50) DEFAULT NULL,
`duration6` varchar(50) DEFAULT NULL,
`worse6` varchar(50) DEFAULT NULL,
`relieved6` varchar(50) DEFAULT NULL,
`culture6` varchar(50) DEFAULT NULL,
`anyoth6` varchar(50) DEFAULT NULL,
`tbxgeneralimp6` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p07`
--
DROP TABLE IF EXISTS `p07`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p07` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`onset7` varchar(50) DEFAULT NULL,
`duration7` varchar(50) DEFAULT NULL,
`chill_rigor7` varchar(50) DEFAULT NULL,
`frequency7` varchar(50) DEFAULT NULL,
`variations7` varchar(50) DEFAULT NULL,
`tbxany7` longtext,
`nature7` varchar(50) DEFAULT NULL,
`relatedblood7` varchar(50) DEFAULT NULL,
`remission7` varchar(50) DEFAULT NULL,
`treatment7` varchar(50) DEFAULT NULL,
`response7` varchar(50) DEFAULT NULL,
`tbxgeneralimp7` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p08`
--
DROP TABLE IF EXISTS `p08`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p08` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`onset8` varchar(50) DEFAULT NULL,
`duration8` varchar(50) DEFAULT NULL,
`severity8` varchar(50) DEFAULT NULL,
`progress8` varchar(50) DEFAULT NULL,
`infection8` varchar(50) DEFAULT NULL,
`toxins8` varchar(50) DEFAULT NULL,
`morbidity8` varchar(50) DEFAULT NULL,
`others8` varchar(50) DEFAULT NULL,
`tbxgeneralimp8` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p09`
--
DROP TABLE IF EXISTS `p09`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p09` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`dimness` varchar(50) DEFAULT NULL,
`onset` varchar(50) DEFAULT NULL,
`duration` varchar(50) DEFAULT NULL,
`glasses` varchar(50) DEFAULT NULL,
`power` varchar(50) DEFAULT NULL,
`dimnessf` varchar(50) DEFAULT NULL,
`diplopia` varchar(50) DEFAULT NULL,
`p_redness` varchar(50) DEFAULT NULL,
`p_t_eyes` varchar(50) DEFAULT NULL,
`p_g_illnesses` varchar(50) DEFAULT NULL,
`e_duration` varchar(50) DEFAULT NULL,
`e_persistence` varchar(50) DEFAULT NULL,
`e_aggravated` varchar(50) DEFAULT NULL,
`e_a_redness` varchar(50) DEFAULT NULL,
`e_discharge` varchar(50) DEFAULT NULL,
`e_photophobia` varchar(50) DEFAULT NULL,
`e_trauma` varchar(50) DEFAULT NULL,
`location` varchar(50) DEFAULT NULL,
`ti_me` varchar(50) DEFAULT NULL,
`degree` varchar(50) DEFAULT NULL,
`frequency` varchar(50) DEFAULT NULL,
`aggravated` varchar(50) DEFAULT NULL,
`features` varchar(50) DEFAULT NULL,
`head` varchar(50) DEFAULT NULL,
`face` varchar(50) DEFAULT NULL,
`eyebrows` varchar(50) DEFAULT NULL,
`palpebral` varchar(50) DEFAULT NULL,
`upper` varchar(50) DEFAULT NULL,
`lower` varchar(50) DEFAULT NULL,
`e_size` varchar(50) DEFAULT NULL,
`posi_tion` varchar(50) DEFAULT NULL,
`squint` varchar(50) DEFAULT NULL,
`pulsating` varchar(50) DEFAULT NULL,
`tbxnystagmus` longtext,
`orbits` varchar(50) DEFAULT NULL,
`eyelids` varchar(50) DEFAULT NULL,
`lacrimal` varchar(50) DEFAULT NULL,
`bulbar` varchar(50) DEFAULT NULL,
`u_tarsal` varchar(50) DEFAULT NULL,
`l_tarsal` varchar(50) DEFAULT NULL,
`limbus` varchar(50) DEFAULT NULL,
`diameter` varchar(50) DEFAULT NULL,
`curvature` varchar(50) DEFAULT NULL,
`surface` varchar(50) DEFAULT NULL,
`opacity` varchar(50) DEFAULT NULL,
`density` varchar(50) DEFAULT NULL,
`pupil` varchar(50) DEFAULT NULL,
`pigmentation` varchar(50) DEFAULT NULL,
`adhesion` varchar(50) DEFAULT NULL,
`presence` varchar(50) DEFAULT NULL,
`keratic` varchar(50) DEFAULT NULL,
`corneal` varchar(50) DEFAULT NULL,
`depth` varchar(50) DEFAULT NULL,
`extraneous` varchar(50) DEFAULT NULL,
`angle` varchar(50) DEFAULT NULL,
`pupils` varchar(50) DEFAULT NULL,
`size` varchar(50) DEFAULT NULL,
`shape` varchar(50) DEFAULT NULL,
`position` varchar(50) DEFAULT NULL,
`margin` varchar(50) DEFAULT NULL,
`aperture` varchar(50) DEFAULT NULL,
`reflex` varchar(50) DEFAULT NULL,
`accommodation` varchar(50) DEFAULT NULL,
`pattern` varchar(50) DEFAULT NULL,
`color` varchar(50) DEFAULT NULL,
`r_vessels` varchar(50) DEFAULT NULL,
`atrophic` varchar(50) DEFAULT NULL,
`iris` varchar(50) DEFAULT NULL,
`iridodonesis` varchar(50) DEFAULT NULL,
`iridodialysis` varchar(50) DEFAULT NULL,
`synechia` varchar(50) DEFAULT NULL,
`l_color` varchar(50) DEFAULT NULL,
`l_opacity` varchar(50) DEFAULT NULL,
`displacement` varchar(50) DEFAULT NULL,
`images` varchar(50) DEFAULT NULL,
`other` varchar(50) DEFAULT NULL,
`tonometry` varchar(50) DEFAULT NULL,
`visual` varchar(50) DEFAULT NULL,
`acuity_f` varchar(50) DEFAULT NULL,
`acuity_n` varchar(50) DEFAULT NULL,
`c_vision` varchar(50) DEFAULT NULL,
`cranial_nerves` varchar(50) DEFAULT NULL,
`ophthalmoscopy` varchar(50) DEFAULT NULL,
`optic` varchar(50) DEFAULT NULL,
`macular` varchar(50) DEFAULT NULL,
`vessels` varchar(50) DEFAULT NULL,
`appearance` varchar(50) DEFAULT NULL,
`choroidal` varchar(50) DEFAULT NULL,
`red_free` varchar(50) DEFAULT NULL,
`lesions` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p10`
--
DROP TABLE IF EXISTS `p10`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p10` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`site1` varchar(50) DEFAULT NULL,
`time_onset1` varchar(50) DEFAULT NULL,
`mode_onset1` varchar(50) DEFAULT NULL,
`duration1` varchar(50) DEFAULT NULL,
`shifting1` varchar(50) DEFAULT NULL,
`radiation1` varchar(50) DEFAULT NULL,
`referral1` varchar(50) DEFAULT NULL,
`character1` varchar(50) DEFAULT NULL,
`effect_pressure1` varchar(50) DEFAULT NULL,
`effect_walking1` varchar(50) DEFAULT NULL,
`jolting1` varchar(50) DEFAULT NULL,
`breathing1` varchar(50) DEFAULT NULL,
`micturition1` varchar(50) DEFAULT NULL,
`worse1` varchar(50) DEFAULT NULL,
`relieved1` varchar(50) DEFAULT NULL,
`others1` varchar(50) DEFAULT NULL,
`tbxgeneralimp1` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p12`
--
DROP TABLE IF EXISTS `p12`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p12` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`pain` varchar(50) DEFAULT NULL,
`discharge` varchar(50) DEFAULT NULL,
`deafness` varchar(50) DEFAULT NULL,
`tinnitus` varchar(50) DEFAULT NULL,
`otalgia` varchar(50) DEFAULT NULL,
`otorrhea` varchar(50) DEFAULT NULL,
`nasal_obstruction` varchar(50) DEFAULT NULL,
`epistaxis` varchar(50) DEFAULT NULL,
`smell_disturbances` varchar(50) DEFAULT NULL,
`sneezing` varchar(50) DEFAULT NULL,
`regional_symptoms` varchar(50) DEFAULT NULL,
`sore_throat` varchar(50) DEFAULT NULL,
`dysphagia` varchar(50) DEFAULT NULL,
`aphonia` varchar(50) DEFAULT NULL,
`lump` varchar(50) DEFAULT NULL,
`cough` varchar(50) DEFAULT NULL,
`hoarseness` varchar(50) DEFAULT NULL,
`vertigo` varchar(50) DEFAULT NULL,
`nystagmus` varchar(50) DEFAULT NULL,
`anyoth` varchar(50) DEFAULT NULL,
`head` varchar(50) DEFAULT NULL,
`face` varchar(50) DEFAULT NULL,
`torch` varchar(50) DEFAULT NULL,
`l_conversation` varchar(50) DEFAULT NULL,
`l_color` varchar(50) DEFAULT NULL,
`l_membrane` varchar(50) DEFAULT NULL,
`l_perforation` varchar(50) DEFAULT NULL,
`l_state` varchar(50) DEFAULT NULL,
`l_fluid` varchar(50) DEFAULT NULL,
`l_mobility` varchar(50) DEFAULT NULL,
`l_rinne` varchar(50) DEFAULT NULL,
`l_weber` varchar(50) DEFAULT NULL,
`l_abc` varchar(50) DEFAULT NULL,
`l_teubs` varchar(50) DEFAULT NULL,
`l_otomicroscopy` varchar(50) DEFAULT NULL,
`l_fistula` varchar(50) DEFAULT NULL,
`l_audiometry` varchar(50) DEFAULT NULL,
`l_tympanometry` varchar(50) DEFAULT NULL,
`l_reflex` varchar(50) DEFAULT NULL,
`l_baer` varchar(50) DEFAULT NULL,
`l_vestibular` varchar(50) DEFAULT NULL,
`l_nasal_speculum` varchar(50) DEFAULT NULL,
`l_x_rays` varchar(50) DEFAULT NULL,
`l_nconversation` varchar(50) DEFAULT NULL,
`r_conversation` varchar(50) DEFAULT NULL,
`r_color` varchar(50) DEFAULT NULL,
`r_membrane` varchar(50) DEFAULT NULL,
`r_perforation` varchar(50) DEFAULT NULL,
`r_state` varchar(50) DEFAULT NULL,
`r_fluid` varchar(50) DEFAULT NULL,
`r_mobility` varchar(50) DEFAULT NULL,
`r_rinne` varchar(50) DEFAULT NULL,
`r_weber` varchar(50) DEFAULT NULL,
`r_abc` varchar(50) DEFAULT NULL,
`r_e_tube` varchar(50) DEFAULT NULL,
`r_otomicroscopy` varchar(50) DEFAULT NULL,
`r_fistula` varchar(50) DEFAULT NULL,
`r_audiometry` varchar(50) DEFAULT NULL,
`r_tympanometry` varchar(50) DEFAULT NULL,
`r_reflex` varchar(50) DEFAULT NULL,
`r_baer` varchar(50) DEFAULT NULL,
`r_vestibular` varchar(50) DEFAULT NULL,
`r_nasal_speculum` varchar(50) DEFAULT NULL,
`r_x_rays` varchar(50) DEFAULT NULL,
`r_nconversation` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p13`
--
DROP TABLE IF EXISTS `p13`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p13` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`site` varchar(50) DEFAULT NULL,
`time_onset` varchar(50) DEFAULT NULL,
`mode_onset` varchar(50) DEFAULT NULL,
`duration` varchar(50) DEFAULT NULL,
`shifting` varchar(50) DEFAULT NULL,
`radiation` varchar(50) DEFAULT NULL,
`referral` varchar(50) DEFAULT NULL,
`characters` varchar(50) DEFAULT NULL,
`effect_pressure` varchar(50) DEFAULT NULL,
`effect_walking` varchar(50) DEFAULT NULL,
`jolting` varchar(50) DEFAULT NULL,
`breathing` varchar(50) DEFAULT NULL,
`micturition` varchar(50) DEFAULT NULL,
`worse` varchar(50) DEFAULT NULL,
`relieved` varchar(50) DEFAULT NULL,
`others1` varchar(50) DEFAULT NULL,
`tbxgeneralimp1` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p14`
--
DROP TABLE IF EXISTS `p14`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p14` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`site2` varchar(50) DEFAULT NULL,
`character2` varchar(50) DEFAULT NULL,
`time_onset2` varchar(50) DEFAULT NULL,
`mode_onset2` varchar(50) DEFAULT NULL,
`duration2` varchar(50) DEFAULT NULL,
`worse2` varchar(50) DEFAULT NULL,
`relieved2` varchar(50) DEFAULT NULL,
`culture2` varchar(50) DEFAULT NULL,
`anyoth2` varchar(50) DEFAULT NULL,
`tbxgeneralimp2` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p15`
--
DROP TABLE IF EXISTS `p15`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p15` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`gastroscopy` varchar(50) DEFAULT NULL,
`ercp` varchar(50) DEFAULT NULL,
`proctoscopy` varchar(50) DEFAULT NULL,
`colonoscopy` varchar(50) DEFAULT NULL,
`esophagoscopy` varchar(50) DEFAULT NULL,
`laryngoscopy` varchar(50) DEFAULT NULL,
`posterior` varchar(50) DEFAULT NULL,
`bronchoscopy` varchar(50) DEFAULT NULL,
`laparoscopy` varchar(50) DEFAULT NULL,
`others3` varchar(50) DEFAULT NULL,
`tbxgeneralimp3` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p16`
--
DROP TABLE IF EXISTS `p16`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p16` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`tbxendocrinology` longtext,
`tbximmunology` longtext,
`tbxhematology` longtext,
`tbxrheumatology` longtext,
`tbxgenitourinary` longtext,
`tbxpediatrics` longtext,
`tbxnon_specific` longtext,
`tbxother_x` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p17`
--
DROP TABLE IF EXISTS `p17`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p17` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`shape_size` varchar(50) DEFAULT NULL,
`f_rate` double DEFAULT NULL,
`neck_veins` varchar(50) DEFAULT NULL,
`trachea` varchar(50) DEFAULT NULL,
`apex` varchar(50) DEFAULT NULL,
`swelling` varchar(50) DEFAULT NULL,
`cardiac_dullness` varchar(50) DEFAULT NULL,
`hepatic_dullness` varchar(50) DEFAULT NULL,
`dullness` varchar(50) DEFAULT NULL,
`obvious_swelling` varchar(50) DEFAULT NULL,
`p_trachea` varchar(50) DEFAULT NULL,
`apex_beat` varchar(50) DEFAULT NULL,
`respiratory` varchar(50) DEFAULT NULL,
`vocal_fremitus` varchar(50) DEFAULT NULL,
`breath` varchar(50) DEFAULT NULL,
`vocal` varchar(50) DEFAULT NULL,
`adventitious` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p18`
--
DROP TABLE IF EXISTS `p18`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p18` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`shape_size` varchar(50) DEFAULT NULL,
`trachea` varchar(50) DEFAULT NULL,
`apex` varchar(50) DEFAULT NULL,
`swelling` varchar(50) DEFAULT NULL,
`cardiac_dullness` varchar(50) DEFAULT NULL,
`hepatic_dullness` varchar(50) DEFAULT NULL,
`dullness` varchar(50) DEFAULT NULL,
`obvious_swelling` varchar(50) DEFAULT NULL,
`p_trachea` varchar(50) DEFAULT NULL,
`apex_beat` varchar(50) DEFAULT NULL,
`respiratory` varchar(50) DEFAULT NULL,
`vocal_fremitus` varchar(50) DEFAULT NULL,
`breath` varchar(50) DEFAULT NULL,
`heart_s1_m` varchar(50) DEFAULT NULL,
`heart_s1_p` varchar(50) DEFAULT NULL,
`heart_s1_a` varchar(50) DEFAULT NULL,
`heart_s1_t` varchar(50) DEFAULT NULL,
`heart_a1_m` varchar(50) DEFAULT NULL,
`heart_a1_p` varchar(50) DEFAULT NULL,
`heart_a1_a` varchar(50) DEFAULT NULL,
`heart_a1_t` varchar(50) DEFAULT NULL,
`heart_s2_m` varchar(50) DEFAULT NULL,
`heart_s2_p` varchar(50) DEFAULT NULL,
`heart_s2_a` varchar(50) DEFAULT NULL,
`heart_s2_t` varchar(50) DEFAULT NULL,
`heart_a2_m` varchar(50) DEFAULT NULL,
`heart_a2_p` varchar(50) DEFAULT NULL,
`heart_a2_a` varchar(50) DEFAULT NULL,
`heart_a2_t` varchar(50) DEFAULT NULL,
`heart_s3_m` varchar(50) DEFAULT NULL,
`heart_s3_p` varchar(50) DEFAULT NULL,
`heart_s3_a` varchar(50) DEFAULT NULL,
`heart_s3_t` varchar(50) DEFAULT NULL,
`heart_s4_m` varchar(50) DEFAULT NULL,
`heart_s4_p` varchar(50) DEFAULT NULL,
`heart_s4_a` varchar(50) DEFAULT NULL,
`heart_s4_t` varchar(50) DEFAULT NULL,
`n_murmur` varchar(50) DEFAULT NULL,
`murmurs` varchar(50) DEFAULT NULL,
`lateral` varchar(50) DEFAULT NULL,
`salva` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p19`
--
DROP TABLE IF EXISTS `p19`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p19` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`palpation` varchar(50) DEFAULT NULL,
`dysphagia` varchar(50) DEFAULT NULL,
`redness` varchar(50) DEFAULT NULL,
`swelling` varchar(50) DEFAULT NULL,
`ulcers` varchar(50) DEFAULT NULL,
`arteriography` varchar(50) DEFAULT NULL,
`interventional` varchar(50) DEFAULT NULL,
`secretory` varchar(50) DEFAULT NULL,
`malabsorption` varchar(50) DEFAULT NULL,
`breath` varchar(50) DEFAULT NULL,
`motility` varchar(50) DEFAULT NULL,
`paracentesis` varchar(50) DEFAULT NULL,
`esophagus` varchar(50) DEFAULT NULL,
`stomach` varchar(50) DEFAULT NULL,
`s_intestines` varchar(50) DEFAULT NULL,
`l_intestines` varchar(50) DEFAULT NULL,
`colon` varchar(50) DEFAULT NULL,
`bladder` varchar(50) DEFAULT NULL,
`tbxinspection` longtext,
`tbxpalpation` longtext,
`tbxpercussion` longtext,
`tbxauscultation` longtext,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p20`
--
DROP TABLE IF EXISTS `p20`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p20` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`site` varchar(50) DEFAULT NULL,
`time_onset` varchar(50) DEFAULT NULL,
`mode_onset` varchar(50) DEFAULT NULL,
`duration` varchar(50) DEFAULT NULL,
`shifting` varchar(50) DEFAULT NULL,
`radiation` varchar(50) DEFAULT NULL,
`referral` varchar(50) DEFAULT NULL,
`characters` varchar(50) DEFAULT NULL,
`effect_pressure` varchar(50) DEFAULT NULL,
`effect_walking` varchar(50) DEFAULT NULL,
`jolting` varchar(50) DEFAULT NULL,
`breathing` varchar(50) DEFAULT NULL,
`micturition` varchar(50) DEFAULT NULL,
`worse` varchar(50) DEFAULT NULL,
`relieved` varchar(50) DEFAULT NULL,
`others1` varchar(50) DEFAULT NULL,
`tbxgeneralimp1` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p21`
--
DROP TABLE IF EXISTS `p21`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p21` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`gastroscopy` varchar(50) DEFAULT NULL,
`ercp` varchar(50) DEFAULT NULL,
`proctoscopy` varchar(50) DEFAULT NULL,
`colonoscopy` varchar(50) DEFAULT NULL,
`esophagoscopy` varchar(50) DEFAULT NULL,
`laryngoscopy` varchar(50) DEFAULT NULL,
`posterior` varchar(50) DEFAULT NULL,
`bronchoscopy` varchar(50) DEFAULT NULL,
`laparoscopy` varchar(50) DEFAULT NULL,
`others2` varchar(50) DEFAULT NULL,
`tbxgeneralimp2` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p22`
--
DROP TABLE IF EXISTS `p22`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p22` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`pigmentation` varchar(50) DEFAULT NULL,
`hemorrhage` varchar(50) DEFAULT NULL,
`distribution` varchar(50) DEFAULT NULL,
`morphology` varchar(50) DEFAULT NULL,
`hair` varchar(50) DEFAULT NULL,
`nails` varchar(50) DEFAULT NULL,
`microscopical` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p23`
--
DROP TABLE IF EXISTS `p23`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p23` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`menarche` varchar(50) DEFAULT NULL,
`cycle` varchar(50) DEFAULT NULL,
`intervals` varchar(50) DEFAULT NULL,
`duration` varchar(50) DEFAULT NULL,
`quantity` varchar(50) DEFAULT NULL,
`pain` varchar(50) DEFAULT NULL,
`l_menstrual` varchar(50) DEFAULT NULL,
`marital` varchar(50) DEFAULT NULL,
`parity` varchar(50) DEFAULT NULL,
`f_fpreg` double DEFAULT NULL,
`pregnancy` varchar(50) DEFAULT NULL,
`f_spreg` double DEFAULT NULL,
`s_pregnancy` varchar(50) DEFAULT NULL,
`tbxothers` longtext,
`general` varchar(50) DEFAULT NULL,
`systemic` varchar(50) DEFAULT NULL,
`cvs` varchar(50) DEFAULT NULL,
`r_s` varchar(50) DEFAULT NULL,
`brest` varchar(50) DEFAULT NULL,
`abdominal` varchar(50) DEFAULT NULL,
`obstetric` varchar(50) DEFAULT NULL,
`culum` varchar(50) DEFAULT NULL,
`vagenal` varchar(50) DEFAULT NULL,
`rectal` varchar(50) DEFAULT NULL,
`summary` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p24`
--
DROP TABLE IF EXISTS `p24`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p24` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`appearance` varchar(50) DEFAULT NULL,
`emotional` varchar(50) DEFAULT NULL,
`delusions` varchar(50) DEFAULT NULL,
`time` varchar(50) DEFAULT NULL,
`spac` varchar(50) DEFAULT NULL,
`person` varchar(50) DEFAULT NULL,
`clouding` varchar(50) DEFAULT NULL,
`recent` varchar(50) DEFAULT NULL,
`short` varchar(50) DEFAULT NULL,
`long` varchar(50) DEFAULT NULL,
`general` varchar(50) DEFAULT NULL,
`released` varchar(50) DEFAULT NULL,
`cooperation` varchar(50) DEFAULT NULL,
`thought` varchar(50) DEFAULT NULL,
`ocp` varchar(50) DEFAULT NULL,
`suicide` varchar(50) DEFAULT NULL,
`psychometric` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p25`
--
DROP TABLE IF EXISTS `p25`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p25` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`tbxskull` longtext,
`tbxbones` longtext,
`tbxepidural` longtext,
`tbxsubdural` longtext,
`tbxventricles` longtext,
`tbxgray` longtext,
`tbxwhite` longtext,
`tbxicsol` longtext,
`tbxhemorrhage` longtext,
`tbxinfarction` longtext,
`tbxthrombosis` longtext,
`tbxedema` longtext,
`tbxctother` longtext,
`tbxctimpassion` longtext,
`ctdate` varchar(50) DEFAULT NULL,
`tbxsku_ll` longtext,
`tbxbon_es` longtext,
`tbxepidu_ral` longtext,
`tbxsubdu_ral` longtext,
`tbxventr_icles` longtext,
`tbxgra_y` longtext,
`tbxwhi_te` longtext,
`tbxics_ol` longtext,
`tbxhemor_rhage` longtext,
`tbxinfar_ction` longtext,
`tbxthrombo_sis` longtext,
`tbxede_ma` longtext,
`tbxmriother` longtext,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p26`
--
DROP TABLE IF EXISTS `p26`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p26` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`speech` varchar(50) DEFAULT NULL,
`apraxia` varchar(50) DEFAULT NULL,
`umnr1` varchar(50) DEFAULT NULL,
`umnl1` varchar(50) DEFAULT NULL,
`lmnr1` varchar(50) DEFAULT NULL,
`lmnl1` varchar(50) DEFAULT NULL,
`umnr2` varchar(50) DEFAULT NULL,
`umnl2` varchar(50) DEFAULT NULL,
`lmnr2` varchar(50) DEFAULT NULL,
`lmnl2` varchar(50) DEFAULT NULL,
`umnr3` varchar(50) DEFAULT NULL,
`umnl3` varchar(50) DEFAULT NULL,
`lmnr3` varchar(50) DEFAULT NULL,
`lmnl3` varchar(50) DEFAULT NULL,
`umnr4` varchar(50) DEFAULT NULL,
`umnl4` varchar(50) DEFAULT NULL,
`lmnr4` varchar(50) DEFAULT NULL,
`lmnl4` varchar(50) DEFAULT NULL,
`umnr5` varchar(50) DEFAULT NULL,
`umnl5` varchar(50) DEFAULT NULL,
`lmnr5` varchar(50) DEFAULT NULL,
`lmnl5` varchar(50) DEFAULT NULL,
`umnr6` varchar(50) DEFAULT NULL,
`umnl6` varchar(50) DEFAULT NULL,
`lmnr6` varchar(50) DEFAULT NULL,
`lmnl6` varchar(50) DEFAULT NULL,
`umnr7` varchar(50) DEFAULT NULL,
`umnl7` varchar(50) DEFAULT NULL,
`lmnr7` varchar(50) DEFAULT NULL,
`lmnl7` varchar(50) DEFAULT NULL,
`umnr8` varchar(50) DEFAULT NULL,
`umnl8` varchar(50) DEFAULT NULL,
`lmnr8` varchar(50) DEFAULT NULL,
`lmnl8` varchar(50) DEFAULT NULL,
`umnr9` varchar(50) DEFAULT NULL,
`umnl9` varchar(50) DEFAULT NULL,
`lmnr9` varchar(50) DEFAULT NULL,
`lmnl9` varchar(50) DEFAULT NULL,
`umnr10` varchar(50) DEFAULT NULL,
`umnl10` varchar(50) DEFAULT NULL,
`lmnr10` varchar(50) DEFAULT NULL,
`lmnl10` varchar(50) DEFAULT NULL,
`umnr11` varchar(50) DEFAULT NULL,
`umnl11` varchar(50) DEFAULT NULL,
`lmnr11` varchar(50) DEFAULT NULL,
`lmnl11` varchar(50) DEFAULT NULL,
`umnr12` varchar(50) DEFAULT NULL,
`umnl12` varchar(50) DEFAULT NULL,
`lmnr12` varchar(50) DEFAULT NULL,
`lmnl12` varchar(50) DEFAULT NULL,
`rigidity` varchar(50) DEFAULT NULL,
`kernig` varchar(50) DEFAULT NULL,
`raising` varchar(50) DEFAULT NULL,
`abdominalr` varchar(50) DEFAULT NULL,
`abdominall` varchar(50) DEFAULT NULL,
`cremastiricr` varchar(50) DEFAULT NULL,
`cremastiricrl` varchar(50) DEFAULT NULL,
`plantarr` varchar(50) DEFAULT NULL,
`plantarl` varchar(50) DEFAULT NULL,
`raother` varchar(50) DEFAULT NULL,
`rbiceps` varchar(50) DEFAULT NULL,
`lbiceps` varchar(50) DEFAULT NULL,
`rtriceps` varchar(50) DEFAULT NULL,
`ltriceps` varchar(50) DEFAULT NULL,
`rsupinator` varchar(50) DEFAULT NULL,
`lsupinator` varchar(50) DEFAULT NULL,
`rknee` varchar(50) DEFAULT NULL,
`lknee` varchar(50) DEFAULT NULL,
`rankle` varchar(50) DEFAULT NULL,
`lankle` varchar(50) DEFAULT NULL,
`drother` varchar(50) DEFAULT NULL,
`micturition` varchar(50) DEFAULT NULL,
`defecation` varchar(50) DEFAULT NULL,
`lotherd` varchar(50) DEFAULT NULL,
`sig` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p27`
--
DROP TABLE IF EXISTS `p27`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p27` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`muscle` varchar(50) DEFAULT NULL,
`muscleb` varchar(50) DEFAULT NULL,
`tone` varchar(50) DEFAULT NULL,
`strength` varchar(50) DEFAULT NULL,
`coordination` varchar(50) DEFAULT NULL,
`gait` varchar(50) DEFAULT NULL,
`involuntary` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p28`
--
DROP TABLE IF EXISTS `p28`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p28` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`r_egion` varchar(50) DEFAULT NULL,
`touch` varchar(50) DEFAULT NULL,
`position` varchar(50) DEFAULT NULL,
`size` varchar(50) DEFAULT NULL,
`shape` varchar(50) DEFAULT NULL,
`vibration` varchar(50) DEFAULT NULL,
`pain` varchar(50) DEFAULT NULL,
`temperature` varchar(50) DEFAULT NULL,
`others1` varchar(50) DEFAULT NULL,
`tbxgeneralimp1` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p29`
--
DROP TABLE IF EXISTS `p29`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p29` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`appearance` varchar(50) DEFAULT NULL,
`emotional` varchar(50) DEFAULT NULL,
`delusions` varchar(50) DEFAULT NULL,
`time` varchar(50) DEFAULT NULL,
`spac` varchar(50) DEFAULT NULL,
`person` varchar(50) DEFAULT NULL,
`clouding` varchar(50) DEFAULT NULL,
`recent` varchar(50) DEFAULT NULL,
`short` varchar(50) DEFAULT NULL,
`longs` varchar(50) DEFAULT NULL,
`general` varchar(50) DEFAULT NULL,
`released` varchar(50) DEFAULT NULL,
`cooperation` varchar(50) DEFAULT NULL,
`thought` varchar(50) DEFAULT NULL,
`ocp` varchar(50) DEFAULT NULL,
`suicide` varchar(50) DEFAULT NULL,
`psychometric` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p30`
--
DROP TABLE IF EXISTS `p30`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p30` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`tbxskull` longtext,
`tbxbones` longtext,
`tbxepidural` longtext,
`tbxsubdural` longtext,
`tbxventricles` longtext,
`tbxgray` longtext,
`tbxwhite` longtext,
`tbxicsol` longtext,
`tbxhemorrhage` longtext,
`tbxinfarction` longtext,
`tbxthrombosis` longtext,
`tbxedema` longtext,
`tbxother` longtext,
`tbxgeneralimp1` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p31`
--
DROP TABLE IF EXISTS `p31`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p31` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`tbxsku_ll` longtext,
`tbxbon_es` longtext,
`tbxepidu_ral` longtext CHARACTER SET big5 COLLATE big5_chinese_ci,
`tbxsubdu_ral` longtext,
`tbxventr_icles` longtext,
`tbxgra_y` longtext,
`tbxwhi_te` longtext,
`tbxics_ol` longtext,
`tbxhemor_rhage` longtext,
`tbxinfar_ction` longtext,
`tbxthrombo_sis` longtext,
`tbxede_ma` longtext,
`tbxothers` longtext,
`tbxgeneralimp2` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p32`
--
DROP TABLE IF EXISTS `p32`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p32` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`pulse` varchar(50) DEFAULT NULL,
`anaemia` varchar(50) DEFAULT NULL,
`cyanosis` varchar(50) DEFAULT NULL,
`jaundice` varchar(50) DEFAULT NULL,
`oedema` varchar(50) DEFAULT NULL,
`bp_syo` varchar(50) DEFAULT NULL,
`bp_dia` varchar(50) DEFAULT NULL,
`height` varchar(50) DEFAULT NULL,
`weight` varchar(50) DEFAULT NULL,
`height_uterus` varchar(50) DEFAULT NULL,
`fhs` varchar(50) DEFAULT NULL,
`presentation_ob` varchar(50) DEFAULT NULL,
`os` varchar(50) DEFAULT NULL,
`cx` varchar(50) DEFAULT NULL,
`presentation_pv` varchar(50) DEFAULT NULL,
`station` varchar(50) DEFAULT NULL,
`membrane` varchar(50) DEFAULT NULL,
`position` varchar(50) DEFAULT NULL,
`marital_status` varchar(50) DEFAULT NULL,
`fornices` varchar(50) DEFAULT NULL,
`pod` varchar(50) DEFAULT NULL,
`cervix` varchar(50) DEFAULT NULL,
`vulva` varchar(50) DEFAULT NULL,
`discharge` varchar(50) DEFAULT NULL,
`tbxanyother` longtext,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p33`
--
DROP TABLE IF EXISTS `p33`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p33` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`weight` varchar(50) DEFAULT NULL,
`length_height` varchar(50) DEFAULT NULL,
`head_circumference` varchar(50) DEFAULT NULL,
`reflexes` varchar(50) DEFAULT NULL,
`pulse_rate` varchar(50) DEFAULT NULL,
`resp_rate` varchar(50) DEFAULT NULL,
`blood_pressure` varchar(50) DEFAULT NULL,
`state_development` varchar(50) DEFAULT NULL,
`shape_head` varchar(50) DEFAULT NULL,
`anterior_frontanella` varchar(50) DEFAULT NULL,
`posterior_frontanella` varchar(50) DEFAULT NULL,
`facies` varchar(50) DEFAULT NULL,
`deformity` varchar(50) DEFAULT NULL,
`indrawing` varchar(50) DEFAULT NULL,
`vocal_fremitus` varchar(50) DEFAULT NULL,
`percussion` varchar(50) DEFAULT NULL,
`breath_sounds` varchar(50) DEFAULT NULL,
`crepititions` varchar(50) DEFAULT NULL,
`rhonchi` varchar(50) DEFAULT NULL,
`heart_sounds_s1` varchar(50) DEFAULT NULL,
`heart_sounds_s2` varchar(50) DEFAULT NULL,
`heart_sounds_s3` varchar(50) DEFAULT NULL,
`heart_sounds_s4` varchar(50) DEFAULT NULL,
`murmurs` varchar(50) DEFAULT NULL,
`male` varchar(50) DEFAULT NULL,
`female` varchar(50) DEFAULT NULL,
`delayed_milestones` varchar(50) DEFAULT NULL,
`teeth` varchar(50) DEFAULT NULL,
`tongue` varchar(50) DEFAULT NULL,
`mucous_membrane` varchar(50) DEFAULT NULL,
`koplik_spot` varchar(50) DEFAULT NULL,
`tonsils` varchar(50) DEFAULT NULL,
`pharynx` varchar(50) DEFAULT NULL,
`hearing` varchar(50) DEFAULT NULL,
`nose` varchar(50) DEFAULT NULL,
`level_consciousness` varchar(50) DEFAULT NULL,
`muscle_power` varchar(50) DEFAULT NULL,
`sensary_function` varchar(50) DEFAULT NULL,
`jerks` varchar(50) DEFAULT NULL,
`abnormal_movements` varchar(50) DEFAULT NULL,
`in_coordination` varchar(50) DEFAULT NULL,
`planter_signs` varchar(50) DEFAULT NULL,
`kernigs_sign` varchar(50) DEFAULT NULL,
`neck_rigidity` varchar(50) DEFAULT NULL,
`other_reflexes` varchar(50) DEFAULT NULL,
`fundal_examination` varchar(50) DEFAULT NULL,
`tbxanyother` longtext,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p34`
--
DROP TABLE IF EXISTS `p34`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p34` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`respiratory_rate` varchar(50) DEFAULT NULL,
`grunting` varchar(50) DEFAULT NULL,
`intercostal` varchar(50) DEFAULT NULL,
`subcostal` varchar(50) DEFAULT NULL,
`others_chest` varchar(50) DEFAULT NULL,
`shape` varchar(50) DEFAULT NULL,
`meconium_passed` varchar(50) DEFAULT NULL,
`urine_passed` varchar(50) DEFAULT NULL,
`external_genitalia` varchar(50) DEFAULT NULL,
`anus` varchar(50) DEFAULT NULL,
`others_abdomen` varchar(50) DEFAULT NULL,
`skeletal_system` varchar(50) DEFAULT NULL,
`pulse` varchar(50) DEFAULT NULL,
`cyanosis` varchar(50) DEFAULT NULL,
`others_heart` varchar(50) DEFAULT NULL,
`ant_fontanelle` varchar(50) DEFAULT NULL,
`tone` varchar(50) DEFAULT NULL,
`posture` varchar(50) DEFAULT NULL,
`facial_nerve_palsy` varchar(50) DEFAULT NULL,
`brachial_palsy` varchar(50) DEFAULT NULL,
`grasp_reflex` varchar(50) DEFAULT NULL,
`moros_reflex` varchar(50) DEFAULT NULL,
`other_reflexes` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p35`
--
DROP TABLE IF EXISTS `p35`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p35` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`appearance` varchar(50) DEFAULT NULL,
`cry` varchar(50) DEFAULT NULL,
`reflex` varchar(50) DEFAULT NULL,
`posture` varchar(50) DEFAULT NULL,
`intercostal` varchar(50) DEFAULT NULL,
`temperature` varchar(50) DEFAULT NULL,
`pulse` varchar(50) DEFAULT NULL,
`respiratory_rate` varchar(50) DEFAULT NULL,
`crt` varchar(50) DEFAULT NULL,
`fontanellae_sutures` varchar(50) DEFAULT NULL,
`skull` varchar(50) DEFAULT NULL,
`spine` varchar(50) DEFAULT NULL,
`congenital_malformations` varchar(50) DEFAULT NULL,
`weight_birth` varchar(50) DEFAULT NULL,
`weight_admission` varchar(50) DEFAULT NULL,
`head_circumference` varchar(50) DEFAULT NULL,
`gestational_age` varchar(50) DEFAULT NULL,
`position_on_iug_chart` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p40`
--
DROP TABLE IF EXISTS `p40`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p40` (
`pat_id` char(18) NOT NULL,
`tbxcomplaint` longtext,
`tbxfindings` longtext,
`tbxinvest` longtext,
`tbxother_x` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p42`
--
DROP TABLE IF EXISTS `p42`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p42` (
`pat_id` char(18) NOT NULL,
`tbxlocalexam` longtext,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p43`
--
DROP TABLE IF EXISTS `p43`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p43` (
`pat_id` char(18) NOT NULL,
`tbxgnlcondition` longtext,
`pallor` varchar(50) DEFAULT NULL,
`Jaundice` varchar(50) DEFAULT NULL,
`Cyanosis` varchar(50) DEFAULT NULL,
`height` varchar(50) DEFAULT NULL,
`weight` varchar(50) DEFAULT NULL,
`pulse` varchar(50) DEFAULT NULL,
`Edima` varchar(50) DEFAULT NULL,
`Clubbing` varchar(50) DEFAULT NULL,
`Obesity` varchar(50) DEFAULT NULL,
`surfacearea` varchar(50) DEFAULT NULL,
`bp` varchar(50) DEFAULT NULL,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p44`
--
DROP TABLE IF EXISTS `p44`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p44` (
`pat_id` char(18) NOT NULL,
`resprate` varchar(250) DEFAULT NULL,
`pulseox` varchar(250) DEFAULT NULL,
`nasal` varchar(250) DEFAULT NULL,
`intercostal` varchar(250) DEFAULT NULL,
`air` varchar(250) DEFAULT NULL,
`resptxt` text,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p45`
--
DROP TABLE IF EXISTS `p45`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p45` (
`pat_id` char(18) NOT NULL,
`heartrate` varchar(50) DEFAULT NULL,
`bldprs` varchar(50) DEFAULT NULL,
`jvp` varchar(50) DEFAULT NULL,
`apical` varchar(50) DEFAULT NULL,
`hrtsnd_s1` varchar(50) DEFAULT NULL,
`hrtsnd_s2` varchar(50) DEFAULT NULL,
`rhythm` varchar(50) DEFAULT NULL,
`peri_pul` varchar(50) DEFAULT NULL,
`textarea1` varchar(400) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p46`
--
DROP TABLE IF EXISTS `p46`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p46` (
`pat_id` char(18) NOT NULL,
`systolic1` varchar(50) DEFAULT NULL,
`diastolic_11` varchar(50) DEFAULT NULL,
`diastolic_12` varchar(50) DEFAULT NULL,
`diastolic_13` varchar(50) DEFAULT NULL,
`textarea2` varchar(400) DEFAULT NULL,
`midsystolic1` varchar(50) DEFAULT NULL,
`midsystolic2` varchar(50) DEFAULT NULL,
`midsystolic3` varchar(50) DEFAULT NULL,
`midsystolic4` varchar(50) DEFAULT NULL,
`midsystolic5` varchar(50) DEFAULT NULL,
`pansystolic1` varchar(50) DEFAULT NULL,
`pansystolic2` varchar(50) DEFAULT NULL,
`pansystolic3` varchar(50) DEFAULT NULL,
`pansystolic4` varchar(50) DEFAULT NULL,
`diastolic_21` varchar(50) DEFAULT NULL,
`diastolic_22` varchar(50) DEFAULT NULL,
`diastolic_23` varchar(50) DEFAULT NULL,
`textarea3` varchar(400) DEFAULT NULL,
`sysdia1` varchar(50) DEFAULT NULL,
`sysdia2` varchar(50) DEFAULT NULL,
`sysdia3` varchar(50) DEFAULT NULL,
`textarea4` varchar(400) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p47`
--
DROP TABLE IF EXISTS `p47`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p47` (
`pat_id` char(18) NOT NULL,
`temperature` varchar(50) DEFAULT NULL,
`resprate` varchar(50) DEFAULT NULL,
`pulse` varchar(50) DEFAULT NULL,
`bldpres` varchar(50) DEFAULT NULL,
`pulox` varchar(50) DEFAULT NULL,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p48`
--
DROP TABLE IF EXISTS `p48`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p48` (
`pat_id` char(18) NOT NULL,
`soft` varchar(50) DEFAULT NULL,
`nonten` varchar(50) DEFAULT NULL,
`bowel` varchar(50) DEFAULT NULL,
`megaly` varchar(50) DEFAULT NULL,
`resptxt` varchar(250) DEFAULT NULL,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p49`
--
DROP TABLE IF EXISTS `p49`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p49` (
`pat_id` char(18) NOT NULL,
`circum` varchar(50) DEFAULT NULL,
`head_other` varchar(6) DEFAULT NULL,
`tbxhead_dtls` varchar(150) DEFAULT NULL,
`membrane` varchar(150) DEFAULT NULL,
`ears_other` varchar(6) DEFAULT NULL,
`tbxears_dtls` varchar(150) DEFAULT NULL,
`acuity` varchar(50) DEFAULT NULL,
`eyes_other` varchar(6) DEFAULT NULL,
`tbxeyes_dtls` varchar(150) DEFAULT NULL,
`nose_throat` varchar(150) DEFAULT NULL,
`nose_other` varchar(6) DEFAULT NULL,
`tbxnose_dtls` varchar(150) DEFAULT NULL,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `p50`
--
DROP TABLE IF EXISTS `p50`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `p50` (
`pat_id` char(18) NOT NULL,
`cervical` varchar(20) DEFAULT NULL,
`tbxcervical` varchar(150) DEFAULT NULL,
`axillary` varchar(20) DEFAULT NULL,
`tbxaxillary` varchar(150) DEFAULT NULL,
`inguinal` varchar(20) DEFAULT NULL,
`tbxinguinal` varchar(150) DEFAULT NULL,
`epitro` varchar(20) DEFAULT NULL,
`tbxepitro` varchar(150) DEFAULT NULL,
`other` varchar(20) DEFAULT NULL,
`tbxother` varchar(150) DEFAULT NULL,
`testdate` datetime NOT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `param_drug`
--
DROP TABLE IF EXISTS `param_drug`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `param_drug` (
`range_id` double DEFAULT NULL,
`drug_id` double DEFAULT NULL,
`initial_period` tinytext,
`list_id` double DEFAULT NULL,
`hasvalue` char(1) DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=359 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `param_range`
--
DROP TABLE IF EXISTS `param_range`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `param_range` (
`range_id` smallint NOT NULL,
`param_start` double DEFAULT NULL,
`param_end` double DEFAULT NULL,
`param_type` char(1) DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `parchl`
--
DROP TABLE IF EXISTS `parchl`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `parchl` (
`parent` char(3) NOT NULL DEFAULT '',
`child` char(50) DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `patdoc`
--
DROP TABLE IF EXISTS `patdoc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `patdoc` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`ext` varchar(10) DEFAULT NULL,
`type` varchar(8) NOT NULL DEFAULT '',
`docdesc` varchar(255) DEFAULT NULL,
`lab_name` varchar(70) DEFAULT NULL,
`doc_name` varchar(70) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
`size` decimal(18,0) DEFAULT NULL,
`patdoc` longblob,
`con_type` varchar(50) DEFAULT NULL,
`sent` char(1) DEFAULT NULL,
`sent_to` varchar(50) DEFAULT NULL,
`sent_date` datetime DEFAULT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `patdoclog`
--
DROP TABLE IF EXISTS `patdoclog`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `patdoclog` (
`pat_id` char(18) NOT NULL DEFAULT '',
`docid` char(20) DEFAULT NULL,
`lastdatevisit` datetime DEFAULT NULL,
`status` tinyint(1) DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `path`
--
DROP TABLE IF EXISTS `path`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `path` (
`program` varchar(50) NOT NULL DEFAULT '',
`path` varchar(50) NOT NULL DEFAULT '',
`description` varchar(100) DEFAULT NULL,
`ipaddr` varchar(15) NOT NULL DEFAULT '',
`servertype` varchar(20) DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `pathoData`
--
DROP TABLE IF EXISTS `pathoData`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pathoData` (
`pat_id` varchar(18) NOT NULL,
`test_id` varchar(30) NOT NULL,
`fileId` varchar(20) NOT NULL,
`rawData` longblob,
`ext` varchar(6) DEFAULT NULL,
`type` varchar(15) DEFAULT NULL,
`size` decimal(18,0) DEFAULT NULL,
`description` varchar(400) DEFAULT NULL,
`entrydate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int DEFAULT NULL,
PRIMARY KEY (`fileId`,`test_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `patientvisit`
--
DROP TABLE IF EXISTS `patientvisit`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `patientvisit` (
`pat_id` varchar(18) NOT NULL,
`visitdate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`attending_person` varchar(50) NOT NULL DEFAULT '',
PRIMARY KEY (`pat_id`,`visitdate`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `patimages`
--
DROP TABLE IF EXISTS `patimages`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `patimages` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`ext` varchar(10) DEFAULT NULL,
`type` varchar(8) NOT NULL DEFAULT '',
`imgdesc` varchar(255) DEFAULT NULL,
`lab_name` varchar(70) DEFAULT NULL,
`doc_name` varchar(70) DEFAULT NULL,
`formkey` int DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
`size` decimal(18,0) DEFAULT NULL,
`patpic` longblob,
`con_type` varchar(50) DEFAULT NULL,
`sent` char(1) DEFAULT NULL,
`sent_to` varchar(50) DEFAULT NULL,
`sent_date` datetime DEFAULT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `patimages_bak`
--
DROP TABLE IF EXISTS `patimages_bak`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `patimages_bak` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`ext` varchar(10) DEFAULT NULL,
`type` varchar(8) NOT NULL DEFAULT '',
`imgdesc` varchar(255) DEFAULT NULL,
`lab_name` varchar(70) DEFAULT NULL,
`doc_name` varchar(70) DEFAULT NULL,
`formkey` int DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
`size` decimal(18,0) DEFAULT NULL,
`patpic` longblob,
`con_type` varchar(50) DEFAULT NULL,
`sent` char(1) DEFAULT NULL,
`sent_to` varchar(50) DEFAULT NULL,
`sent_date` datetime DEFAULT NULL,
PRIMARY KEY (`pat_id`,`type`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `patmovies`
--
DROP TABLE IF EXISTS `patmovies`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `patmovies` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`ext` varchar(10) DEFAULT NULL,
`type` varchar(8) NOT NULL DEFAULT '',
`movdesc` varchar(255) DEFAULT NULL,
`lab_name` varchar(70) DEFAULT NULL,
`doc_name` varchar(70) DEFAULT NULL,
`formkey` char(2) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
`size` decimal(18,0) DEFAULT NULL,
`patmov` longblob,
`con_type` varchar(50) DEFAULT NULL,
`sent` char(1) DEFAULT NULL,
`sent_to` varchar(50) DEFAULT NULL,
`sent_date` datetime DEFAULT NULL,
PRIMARY KEY (`pat_id`,`type`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `pre`
--
DROP TABLE IF EXISTS `pre`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pre` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`diagnosis` longtext,
`diet` longtext,
`activity` varchar(50) DEFAULT NULL,
`drugs` longtext,
`quantity` longtext,
`dose` longtext,
`duration` longtext,
`advice` longtext,
`comments` longtext,
`name_hos` varchar(50) DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`apptdate` datetime DEFAULT NULL,
`docrg_no` varchar(50) DEFAULT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `prs`
--
DROP TABLE IF EXISTS `prs`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `prs` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`diagnosis` longtext,
`diet` longtext,
`activity` varchar(50) DEFAULT NULL,
`drugs` longtext,
`quantity` longtext,
`dose` longtext,
`duration` longtext,
`advice` longtext,
`comments` longtext,
`name_hos` varchar(50) DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`apptdate` datetime DEFAULT NULL,
`docrg_no` varchar(50) DEFAULT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `quantitative_field`
--
DROP TABLE IF EXISTS `quantitative_field`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `quantitative_field` (
`field_id` int NOT NULL,
`form_id` char(3) NOT NULL,
`field_name` varchar(50) NOT NULL,
`field_caption` varchar(50) DEFAULT NULL,
`field_unit` varchar(50) DEFAULT NULL,
`field_group` varchar(50) DEFAULT NULL,
`tab_name` varchar(30) DEFAULT NULL,
`tab_field` varchar(50) DEFAULT NULL,
`default_value` longtext,
`is_required` char(1) DEFAULT NULL,
`input_type` varchar(50) DEFAULT NULL,
`max_length` int DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `recdose`
--
DROP TABLE IF EXISTS `recdose`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `recdose` (
`id_recdose` tinyint unsigned DEFAULT NULL,
`comment` varchar(45) NOT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `receivelog`
--
DROP TABLE IF EXISTS `receivelog`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `receivelog` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`received_from` varchar(20) NOT NULL DEFAULT '',
`received_center` varchar(8) NOT NULL DEFAULT '',
`received_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`received_records` longtext NOT NULL,
`status` varchar(8) NOT NULL DEFAULT '',
`received_doc` varchar(20) NOT NULL DEFAULT '',
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `refered_to`
--
DROP TABLE IF EXISTS `refered_to`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `refered_to` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`editing_doctor` varchar(50) NOT NULL DEFAULT '',
`previous_discategory` varchar(50) DEFAULT NULL,
`assigned_doctor` varchar(50) DEFAULT NULL,
`present_discategory` varchar(50) DEFAULT NULL,
`comments` longtext,
`dateofreference` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `reference`
--
DROP TABLE IF EXISTS `reference`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `reference` (
`age` decimal(5,0) NOT NULL,
`test` varchar(45) NOT NULL,
`lownormal` float NOT NULL,
`highnormal` float NOT NULL,
`gender` char(1) DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `referhospitals`
--
DROP TABLE IF EXISTS `referhospitals`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `referhospitals` (
`code` varchar(8) NOT NULL,
`referred` tinytext,
`referring` tinytext,
PRIMARY KEY (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `refimages`
--
DROP TABLE IF EXISTS `refimages`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `refimages` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`ext` varchar(10) DEFAULT NULL,
`type` varchar(8) NOT NULL DEFAULT '',
`imgdesc` varchar(255) DEFAULT NULL,
`ref_code` varchar(8) NOT NULL DEFAULT '',
`lab_name` varchar(70) DEFAULT NULL,
`doc_name` varchar(70) DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`testdate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
`img_serno` int NOT NULL DEFAULT '0',
`size` decimal(18,0) DEFAULT NULL,
`con_type` varchar(50) DEFAULT NULL,
`sent` char(1) DEFAULT NULL,
`sent_to` varchar(50) DEFAULT NULL,
`sent_date` datetime DEFAULT NULL,
`patpic` longblob,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`,`img_serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `regusers`
--
DROP TABLE IF EXISTS `regusers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `regusers` (
`uid` varchar(18) NOT NULL DEFAULT '',
`pwd` varchar(25) DEFAULT NULL,
`name` varchar(30) DEFAULT NULL,
`type` char(3) DEFAULT NULL,
`phone` varchar(20) DEFAULT NULL,
`address` varchar(50) DEFAULT NULL,
`emailid` varchar(50) DEFAULT NULL,
`designation` varchar(50) DEFAULT NULL,
`dis` varchar(50) DEFAULT NULL,
`rg_no` varchar(20) NOT NULL DEFAULT '',
`qualification` varchar(50) DEFAULT NULL,
`center` varchar(8) DEFAULT NULL,
PRIMARY KEY (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `removedpat`
--
DROP TABLE IF EXISTS `removedpat`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `removedpat` (
`patid` char(18) NOT NULL DEFAULT '',
`entrydate` datetime DEFAULT NULL,
`pat_name` char(50) DEFAULT NULL,
`class` char(50) DEFAULT NULL,
`age` char(10) DEFAULT NULL,
`sex` char(8) DEFAULT NULL,
`backupdir` char(17) DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s01`
--
DROP TABLE IF EXISTS `s01`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s01` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`organism` varchar(50) DEFAULT NULL,
`f_colony` double DEFAULT NULL,
`f_ampicillin` double DEFAULT NULL,
`sens_ampi` varchar(50) DEFAULT NULL,
`f_amoxycillin` double DEFAULT NULL,
`sens_amoxy` varchar(50) DEFAULT NULL,
`f_cotrimoxazole` double DEFAULT NULL,
`sens_cotrim` varchar(50) DEFAULT NULL,
`f_ciprofloxacin` double DEFAULT NULL,
`sens_cipro` varchar(50) DEFAULT NULL,
`f_norfloxacin` double DEFAULT NULL,
`sens_norf` varchar(50) DEFAULT NULL,
`f_cephalosporin` double DEFAULT NULL,
`sens_ceph` varchar(50) DEFAULT NULL,
`f_cefaloridine` double DEFAULT NULL,
`sens_cefa` varchar(50) DEFAULT NULL,
`f_cefuroxime` double DEFAULT NULL,
`sens_cefu` varchar(50) DEFAULT NULL,
`f_cefadroxyl` double DEFAULT NULL,
`sens_cefad` varchar(50) DEFAULT NULL,
`f_cefixime` double DEFAULT NULL,
`sens_cefi` varchar(50) DEFAULT NULL,
`f_ceftriaxone` double DEFAULT NULL,
`sens_ceft` varchar(50) DEFAULT NULL,
`f_cefazoline` double DEFAULT NULL,
`sens_cefaz` varchar(50) DEFAULT NULL,
`f_clarithromycin` double DEFAULT NULL,
`sens_clari` varchar(50) DEFAULT NULL,
`f_gentamicin` double DEFAULT NULL,
`sens_gent` varchar(50) DEFAULT NULL,
`f_sparfloxacin` double DEFAULT NULL,
`sens_sparf` varchar(50) DEFAULT NULL,
`f_ofloxacin` double DEFAULT NULL,
`sens_oflo` varchar(50) DEFAULT NULL,
`f_furadantin` double DEFAULT NULL,
`sens_fura` varchar(50) DEFAULT NULL,
`f_chloramphenicol` double DEFAULT NULL,
`sens_chlo` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s03`
--
DROP TABLE IF EXISTS `s03`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s03` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`f_quantity` double DEFAULT NULL,
`hours` varchar(50) DEFAULT NULL,
`colour` varchar(50) DEFAULT NULL,
`transparency` varchar(50) DEFAULT NULL,
`sp_gravity` varchar(50) DEFAULT NULL,
`sediment` varchar(50) DEFAULT NULL,
`reaction` varchar(50) DEFAULT NULL,
`albumin` varchar(50) DEFAULT NULL,
`phosphates` varchar(50) DEFAULT NULL,
`sugar` varchar(50) DEFAULT NULL,
`bile_pigments` varchar(50) DEFAULT NULL,
`bile_salts` varchar(50) DEFAULT NULL,
`ketone_bodies` varchar(50) DEFAULT NULL,
`creatinine` varchar(50) DEFAULT NULL,
`epithelial` varchar(50) DEFAULT NULL,
`leucocytes` varchar(50) DEFAULT NULL,
`rbc` varchar(50) DEFAULT NULL,
`crystals` varchar(50) DEFAULT NULL,
`casts` varchar(50) DEFAULT NULL,
`micro_organ` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s04`
--
DROP TABLE IF EXISTS `s04`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s04` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`organism` varchar(50) DEFAULT NULL,
`f_colony` double DEFAULT NULL,
`f_ampicillin` double DEFAULT NULL,
`sens_ampi` varchar(50) DEFAULT NULL,
`f_amoxycillin` double DEFAULT NULL,
`sens_amoxy` varchar(50) DEFAULT NULL,
`f_cotrimoxazole` double DEFAULT NULL,
`sens_cotrim` varchar(50) DEFAULT NULL,
`f_ciprofloxacin` double DEFAULT NULL,
`sens_cipro` varchar(50) DEFAULT NULL,
`f_norfloxacin` double DEFAULT NULL,
`sens_norf` varchar(50) DEFAULT NULL,
`f_cephalosporin` double DEFAULT NULL,
`sens_ceph` varchar(50) DEFAULT NULL,
`f_cefaloridine` double DEFAULT NULL,
`sens_cefa` varchar(50) DEFAULT NULL,
`f_cefuroxime` double DEFAULT NULL,
`sens_cefu` varchar(50) DEFAULT NULL,
`f_cefadroxyl` double DEFAULT NULL,
`sens_cefad` varchar(50) DEFAULT NULL,
`f_cefixime` double DEFAULT NULL,
`sens_cefi` varchar(50) DEFAULT NULL,
`f_ceftriaxone` double DEFAULT NULL,
`sens_ceft` varchar(50) DEFAULT NULL,
`f_cefazoline` double DEFAULT NULL,
`sens_cefaz` varchar(50) DEFAULT NULL,
`f_clarithromycin` double DEFAULT NULL,
`sens_clari` varchar(50) DEFAULT NULL,
`f_gentamicin` double DEFAULT NULL,
`sens_gent` varchar(50) DEFAULT NULL,
`f_sparfloxacin` double DEFAULT NULL,
`sens_sparf` varchar(50) DEFAULT NULL,
`f_ofloxacin` double DEFAULT NULL,
`sens_oflo` varchar(50) DEFAULT NULL,
`f_furadantin` double DEFAULT NULL,
`sens_fura` varchar(50) DEFAULT NULL,
`f_chloramphenicol` double DEFAULT NULL,
`sens_chlo` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s05`
--
DROP TABLE IF EXISTS `s05`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s05` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`specimen` varchar(50) DEFAULT NULL,
`color` varchar(50) DEFAULT NULL,
`consistency` varchar(50) DEFAULT NULL,
`mucus` varchar(50) DEFAULT NULL,
`blood` varchar(50) DEFAULT NULL,
`helminthis` varchar(50) DEFAULT NULL,
`reaction` varchar(50) DEFAULT NULL,
`occult_blood` varchar(50) DEFAULT NULL,
`puscells` varchar(50) DEFAULT NULL,
`rbc` varchar(50) DEFAULT NULL,
`epithelial` varchar(50) DEFAULT NULL,
`crystals` varchar(50) DEFAULT NULL,
`bacteria` varchar(50) DEFAULT NULL,
`remnants` varchar(50) DEFAULT NULL,
`ohelminthis` varchar(50) DEFAULT NULL,
`protozoa` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s06`
--
DROP TABLE IF EXISTS `s06`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s06` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`organism` varchar(50) DEFAULT NULL,
`f_colony` double DEFAULT NULL,
`f_ampicillin` double DEFAULT NULL,
`sens_ampi` varchar(50) DEFAULT NULL,
`f_amoxycillin` double DEFAULT NULL,
`sens_amoxy` varchar(50) DEFAULT NULL,
`f_cotrimoxazole` double DEFAULT NULL,
`sens_cotrim` varchar(50) DEFAULT NULL,
`f_ciprofloxacin` double DEFAULT NULL,
`sens_cipro` varchar(50) DEFAULT NULL,
`f_norfloxacin` double DEFAULT NULL,
`sens_norf` varchar(50) DEFAULT NULL,
`f_cephalosporin` double DEFAULT NULL,
`sens_ceph` varchar(50) DEFAULT NULL,
`f_cefaloridine` double DEFAULT NULL,
`sens_cefa` varchar(50) DEFAULT NULL,
`f_cefuroxime` double DEFAULT NULL,
`sens_cefu` varchar(50) DEFAULT NULL,
`f_cefadroxyl` double DEFAULT NULL,
`sens_cefad` varchar(50) DEFAULT NULL,
`f_cefixime` double DEFAULT NULL,
`sens_cefi` varchar(50) DEFAULT NULL,
`f_ceftriaxone` double DEFAULT NULL,
`sens_ceft` varchar(50) DEFAULT NULL,
`f_cefazoline` double DEFAULT NULL,
`sens_cefaz` varchar(50) DEFAULT NULL,
`f_clarithromycin` double DEFAULT NULL,
`sens_clari` varchar(50) DEFAULT NULL,
`f_gentamicin` double DEFAULT NULL,
`sens_gent` varchar(50) DEFAULT NULL,
`f_sparfloxacin` double DEFAULT NULL,
`sens_sparf` varchar(50) DEFAULT NULL,
`f_ofloxacin` double DEFAULT NULL,
`sens_oflo` varchar(50) DEFAULT NULL,
`f_furadantin` double DEFAULT NULL,
`sens_fura` varchar(50) DEFAULT NULL,
`f_chloramphenicol` double DEFAULT NULL,
`sens_chlo` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s08`
--
DROP TABLE IF EXISTS `s08`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s08` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`f_bs_fasting` double DEFAULT NULL,
`f_bs_pp` double DEFAULT NULL,
`f_bs_random` double DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s09`
--
DROP TABLE IF EXISTS `s09`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s09` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`f_urea` double DEFAULT NULL,
`f_nitrogen` double DEFAULT NULL,
`f_creatinine` double DEFAULT NULL,
`f_uricacid` double DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s10`
--
DROP TABLE IF EXISTS `s10`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s10` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`f_cholesterol` double DEFAULT NULL,
`f_hdl_choles` double DEFAULT NULL,
`f_ldl_choles` double DEFAULT NULL,
`f_vldl_choles` double DEFAULT NULL,
`f_triglycerides` double DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s11`
--
DROP TABLE IF EXISTS `s11`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s11` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`f_bilirubin` double DEFAULT NULL,
`f_con_bili` double DEFAULT NULL,
`f_un_bili` double DEFAULT NULL,
`f_sgpt` double DEFAULT NULL,
`f_sgot` double DEFAULT NULL,
`f_alk_phos` double DEFAULT NULL,
`f_acid_phos` double DEFAULT NULL,
`f_acid_pros` double DEFAULT NULL,
`f_protein` double DEFAULT NULL,
`f_albumin` double DEFAULT NULL,
`f_globulin` double DEFAULT NULL,
`f_ratio` double DEFAULT NULL,
`f_ggt` double DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s12`
--
DROP TABLE IF EXISTS `s12`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s12` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`altsgpt` varchar(50) DEFAULT NULL,
`ntp` varchar(50) DEFAULT NULL,
`alp` varchar(50) DEFAULT NULL,
`ggt` varchar(50) DEFAULT NULL,
`ckmb` varchar(50) DEFAULT NULL,
`astsgot` varchar(50) DEFAULT NULL,
`ldhld` varchar(50) DEFAULT NULL,
`tncti` varchar(50) DEFAULT NULL,
`ckmm` varchar(50) DEFAULT NULL,
`ast` varchar(50) DEFAULT NULL,
`ald` varchar(50) DEFAULT NULL,
`balp` varchar(50) DEFAULT NULL,
`psa` varchar(50) DEFAULT NULL,
`acp` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s13`
--
DROP TABLE IF EXISTS `s13`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s13` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`f_sodium` double DEFAULT NULL,
`f_potassium` double DEFAULT NULL,
`f_calcium` double DEFAULT NULL,
`f_chloride` double DEFAULT NULL,
`f_bicarbonate` double DEFAULT NULL,
`f_phosphorus` double DEFAULT NULL,
`f_magnesium` double DEFAULT NULL,
`anyother` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s14`
--
DROP TABLE IF EXISTS `s14`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s14` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`volume` varchar(50) DEFAULT NULL,
`bicarbonate` varchar(50) DEFAULT NULL,
`amylase` varchar(50) DEFAULT NULL,
`lipase` varchar(50) DEFAULT NULL,
`volume_s` varchar(50) DEFAULT NULL,
`bicarbonate_s` varchar(50) DEFAULT NULL,
`amylase_s` varchar(50) DEFAULT NULL,
`lipase_s` varchar(50) DEFAULT NULL,
`bentiromide` varchar(50) DEFAULT NULL,
`pancreolauryl` varchar(50) DEFAULT NULL,
`immunoreactivity` varchar(50) DEFAULT NULL,
`serum` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s15`
--
DROP TABLE IF EXISTS `s15`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s15` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`rf` varchar(50) DEFAULT NULL,
`ana` varchar(50) DEFAULT NULL,
`crp` varchar(50) DEFAULT NULL,
`hav` varchar(50) DEFAULT NULL,
`hbv` varchar(50) DEFAULT NULL,
`hcv` varchar(50) DEFAULT NULL,
`hdv` varchar(50) DEFAULT NULL,
`hiv` varchar(50) DEFAULT NULL,
`pneumococci` varchar(50) DEFAULT NULL,
`mycoplasma` varchar(50) DEFAULT NULL,
`chlamydia` varchar(50) DEFAULT NULL,
`legionella` varchar(50) DEFAULT NULL,
`anyoth` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s17`
--
DROP TABLE IF EXISTS `s17`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s17` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`bleeding` varchar(50) DEFAULT NULL,
`clotting` varchar(50) DEFAULT NULL,
`retraction` varchar(50) DEFAULT NULL,
`capillary` varchar(50) DEFAULT NULL,
`prothrombin` varchar(50) DEFAULT NULL,
`partial` varchar(50) DEFAULT NULL,
`thromboplastin` varchar(50) DEFAULT NULL,
`f_coagulation` double DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s19`
--
DROP TABLE IF EXISTS `s19`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s19` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`sodium` varchar(50) DEFAULT NULL,
`potassium` varchar(50) DEFAULT NULL,
`chloride` varchar(50) DEFAULT NULL,
`urinary` varchar(50) DEFAULT NULL,
`creatinine` varchar(50) DEFAULT NULL,
`calcium` varchar(50) DEFAULT NULL,
`osmolality` varchar(50) DEFAULT NULL,
`protein` varchar(50) DEFAULT NULL,
`aminoacid` varchar(50) DEFAULT NULL,
`uricacid` varchar(50) DEFAULT NULL,
`vma` varchar(50) DEFAULT NULL,
`camp` varchar(50) DEFAULT NULL,
`cortisone` varchar(50) DEFAULT NULL,
`norepinephrine` varchar(50) DEFAULT NULL,
`epinephrine` varchar(50) DEFAULT NULL,
`ketosteroidoh` varchar(50) DEFAULT NULL,
`ketosteroid` varchar(50) DEFAULT NULL,
`hiaa` varchar(50) DEFAULT NULL,
`metanephrine` varchar(50) DEFAULT NULL,
`normetanephrine` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s20`
--
DROP TABLE IF EXISTS `s20`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s20` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`sugar` varchar(50) DEFAULT NULL,
`protein` varchar(50) DEFAULT NULL,
`urine_m` varchar(50) DEFAULT NULL,
`est_riol` varchar(50) DEFAULT NULL,
`creatinine` varchar(50) DEFAULT NULL,
`prenancy` varchar(50) DEFAULT NULL,
`anyother` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s28`
--
DROP TABLE IF EXISTS `s28`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s28` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`physical` varchar(50) DEFAULT NULL,
`f_cytology` double DEFAULT NULL,
`f_protin` double DEFAULT NULL,
`f_glucose` double DEFAULT NULL,
`syphilis` varchar(50) DEFAULT NULL,
`stained` varchar(50) DEFAULT NULL,
`culture` varchar(50) DEFAULT NULL,
`anyother` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s29`
--
DROP TABLE IF EXISTS `s29`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s29` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`site` varchar(50) DEFAULT NULL,
`stain` varchar(50) DEFAULT NULL,
`magnification` varchar(50) DEFAULT NULL,
`others` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s30`
--
DROP TABLE IF EXISTS `s30`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s30` (
`pat_id` char(18) NOT NULL,
`diagnosis` varchar(100) DEFAULT NULL,
`reason_location` longtext,
`onset` datetime DEFAULT NULL,
`duration` int DEFAULT NULL,
`surgery` char(5) DEFAULT NULL,
`hospitalized` char(5) DEFAULT NULL,
`tbxothers` varchar(50) DEFAULT NULL,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s31`
--
DROP TABLE IF EXISTS `s31`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s31` (
`pat_id` char(18) NOT NULL,
`nrti_thymidine` longtext,
`nrti_nucleoside` longtext,
`nnrti` longtext,
`protease_minor` longtext,
`protease_major` longtext,
`fusion` longtext,
`integrase` longtext,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s32`
--
DROP TABLE IF EXISTS `s32`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s32` (
`pat_id` char(18) NOT NULL,
`total_leucocytes` varchar(50) DEFAULT NULL,
`total_lymphocytes` varchar(50) DEFAULT NULL,
`cd4_count` varchar(50) DEFAULT NULL,
`cd4_percent` varchar(50) DEFAULT NULL,
`cd8_count` varchar(50) DEFAULT NULL,
`ratio` varchar(50) DEFAULT NULL,
`viralload` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s34`
--
DROP TABLE IF EXISTS `s34`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s34` (
`pat_id` char(18) NOT NULL,
`identify_agent` varchar(50) DEFAULT NULL,
`specimen` varchar(50) DEFAULT NULL,
`test_method` varchar(50) DEFAULT NULL,
`titre` varchar(50) DEFAULT NULL,
`result` varchar(50) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s35`
--
DROP TABLE IF EXISTS `s35`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s35` (
`pat_id` char(18) NOT NULL,
`name_test` varchar(50) DEFAULT NULL,
`test_specimen` varchar(50) DEFAULT NULL,
`purpose_study` varchar(50) DEFAULT NULL,
`report` longtext,
`prov_diagnosis` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `s36`
--
DROP TABLE IF EXISTS `s36`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s36` (
`pat_id` char(18) NOT NULL,
`esr` int DEFAULT NULL,
`haemoglobin` int DEFAULT NULL,
`rbc` int DEFAULT NULL,
`hematocrit` int DEFAULT NULL,
`mcv` int DEFAULT NULL,
`mchc` int DEFAULT NULL,
`rdw` int DEFAULT NULL,
`mch` int DEFAULT NULL,
`lymphocyte` int DEFAULT NULL,
`eosinophil` int DEFAULT NULL,
`basophil` int DEFAULT NULL,
`leucocute` int DEFAULT NULL,
`monoocyte` int DEFAULT NULL,
`platelet` int DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `sendinglog`
--
DROP TABLE IF EXISTS `sendinglog`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sendinglog` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`attending_doc` varchar(20) NOT NULL DEFAULT '',
`referred_doc` varchar(20) DEFAULT NULL,
`referred_hospital` varchar(8) NOT NULL DEFAULT '',
`send_records` longtext NOT NULL,
`sent_by` varchar(20) NOT NULL DEFAULT '',
`sent_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `sendq`
--
DROP TABLE IF EXISTS `sendq`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sendq` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`attending_doc` varchar(20) NOT NULL DEFAULT '',
`referred_doc` varchar(20) DEFAULT NULL,
`referred_hospital` varchar(8) NOT NULL DEFAULT '',
`send_records` longtext NOT NULL,
`sent_by` varchar(20) NOT NULL DEFAULT '',
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `sessionlog`
--
DROP TABLE IF EXISTS `sessionlog`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sessionlog` (
`uid` varchar(20) NOT NULL DEFAULT '',
`loginat` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`logoutat` datetime DEFAULT NULL,
`center` varchar(10) DEFAULT NULL,
`type` varchar(50) DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `smr`
--
DROP TABLE IF EXISTS `smr`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `smr` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`tbxcomplaint` longtext,
`tbxfindings` longtext,
`tbxinvestigations` longtext,
`tbxdiagnosis` longtext,
`tbxtreatment` longtext,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `sms_logs`
--
DROP TABLE IF EXISTS `sms_logs`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sms_logs` (
`slno` int NOT NULL AUTO_INCREMENT,
`mobileno` varchar(25) DEFAULT NULL,
`message` varchar(1024) DEFAULT NULL,
`result` varchar(10) DEFAULT NULL,
`mdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`slno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `sms_type`
--
DROP TABLE IF EXISTS `sms_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sms_type` (
`msgid` varchar(4) DEFAULT NULL,
`description` varchar(50) NOT NULL COMMENT 'Assignment/Appointment/...',
`params` int DEFAULT NULL,
`body` varchar(500) NOT NULL COMMENT 'body containing dynamic fields',
PRIMARY KEY (`description`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='describes the types of messages';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `t01`
--
DROP TABLE IF EXISTS `t01`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `t01` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`tbxchief_complaints` longtext,
`tbxon_examination` longtext,
`tbxgeneral_survey` longtext,
`tbxrespiratory_system` longtext,
`tbxcardiovascular_system` longtext,
`tbxdigestive` longtext,
`tbxnervous_system` longtext,
`tbxbones_joints` longtext,
`tbxobstetrical_gynaecological` longtext,
`tbxdermatological` longtext,
`tbxent` longtext,
`tbxeye` longtext,
`tbxinvestigation` longtext,
`tbxprovisional` longtext,
`tbxtreatment_given` longtext,
`tbxother` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `t02`
--
DROP TABLE IF EXISTS `t02`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `t02` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`time_accident` varchar(50) DEFAULT NULL,
`type_accident` varchar(50) DEFAULT NULL,
`pulse` varchar(50) DEFAULT NULL,
`bp` varchar(50) DEFAULT NULL,
`pallor` varchar(50) DEFAULT NULL,
`level_conciousness` varchar(50) DEFAULT NULL,
`respiration` varchar(50) DEFAULT NULL,
`pupillary_reflex` varchar(50) DEFAULT NULL,
`details_accident` varchar(50) DEFAULT NULL,
`general_exam` varchar(50) DEFAULT NULL,
`superficial_injury` varchar(50) DEFAULT NULL,
`muscle_injury` varchar(50) DEFAULT NULL,
`ligament_injury` varchar(50) DEFAULT NULL,
`limbs` varchar(50) DEFAULT NULL,
`ribs` varchar(50) DEFAULT NULL,
`vertebra` varchar(50) DEFAULT NULL,
`skull` varchar(50) DEFAULT NULL,
`joint_injury` varchar(50) DEFAULT NULL,
`level_of_conciousness` varchar(50) DEFAULT NULL,
`active_bleeding` varchar(50) DEFAULT NULL,
`bony_injury` varchar(50) DEFAULT NULL,
`resp_distress` varchar(50) DEFAULT NULL,
`chest_pain` varchar(50) DEFAULT NULL,
`abdominal_pain` varchar(50) DEFAULT NULL,
`hematuria` varchar(50) DEFAULT NULL,
`bleeding_pv` varchar(50) DEFAULT NULL,
`bleeding_p_r` varchar(50) DEFAULT NULL,
`hematemesis` varchar(50) DEFAULT NULL,
`urinary_retention` varchar(50) DEFAULT NULL,
`brain` varchar(50) DEFAULT NULL,
`spinal_cord` varchar(50) DEFAULT NULL,
`heart` varchar(50) DEFAULT NULL,
`lungs` varchar(50) DEFAULT NULL,
`liver` varchar(50) DEFAULT NULL,
`spleen` varchar(50) DEFAULT NULL,
`intestine` varchar(50) DEFAULT NULL,
`kidneys` varchar(50) DEFAULT NULL,
`eyes` varchar(50) DEFAULT NULL,
`ears` varchar(50) DEFAULT NULL,
`tbxanyother` longtext,
`tbxgeneralimp` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `t03`
--
DROP TABLE IF EXISTS `t03`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `t03` (
`pat_id` char(18) NOT NULL,
`risk_group` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `t04`
--
DROP TABLE IF EXISTS `t04`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `t04` (
`pat_id` char(18) NOT NULL,
`bacilli_sample1` varchar(200) DEFAULT NULL,
`bacilli_sample2` varchar(200) DEFAULT NULL,
`bacilli_sample3` varchar(200) DEFAULT NULL,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `t05`
--
DROP TABLE IF EXISTS `t05`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `t05` (
`pat_id` char(18) NOT NULL,
`tbxculture` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `t06`
--
DROP TABLE IF EXISTS `t06`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `t06` (
`pat_id` char(18) NOT NULL,
`tbxnucleic` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `t07`
--
DROP TABLE IF EXISTS `t07`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `t07` (
`pat_id` char(18) NOT NULL,
`tbxsusceptibility` longtext,
`testdate` datetime DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `testtable`
--
DROP TABLE IF EXISTS `testtable`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `testtable` (
`year` decimal(10,0) NOT NULL,
`what` varchar(45) NOT NULL,
`low` tinyint unsigned NOT NULL,
`high` tinyint unsigned NOT NULL,
`match` varchar(45) DEFAULT NULL,
`label` varchar(45) DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `tpatq`
--
DROP TABLE IF EXISTS `tpatq`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tpatq` (
`pat_id` varchar(18) NOT NULL,
`entrydate` datetime DEFAULT NULL,
`teleconsultdt` datetime DEFAULT NULL,
`assigneddoc` varchar(20) NOT NULL DEFAULT '',
`refer_doc` varchar(20) DEFAULT NULL,
`refer_center` varchar(8) DEFAULT NULL,
`discategory` varchar(50) DEFAULT NULL,
`checked` char(1) DEFAULT NULL,
`delflag` char(1) DEFAULT NULL,
`assignedhos` varchar(8) NOT NULL,
`issent` varchar(1) DEFAULT NULL,
`lastsenddate` datetime DEFAULT NULL,
PRIMARY KEY (`pat_id`,`assigneddoc`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `tpatq_treated`
--
DROP TABLE IF EXISTS `tpatq_treated`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tpatq_treated` (
`pat_id` varchar(18) NOT NULL,
`entrydate` datetime DEFAULT NULL,
`teleconsultdt` datetime DEFAULT NULL,
`assigneddoc` varchar(20) NOT NULL DEFAULT '',
`refer_doc` varchar(20) DEFAULT NULL,
`refer_center` varchar(8) DEFAULT NULL,
`discategory` varchar(50) DEFAULT NULL,
`checked` char(1) DEFAULT NULL,
`delflag` char(1) DEFAULT NULL,
`assignedhos` varchar(8) DEFAULT NULL,
`issent` varchar(1) DEFAULT NULL,
`lastsenddate` datetime DEFAULT NULL,
`data_moved` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`serno`)
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `tpatq_treated11`
--
DROP TABLE IF EXISTS `tpatq_treated11`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tpatq_treated11` (
`pat_id` varchar(18) NOT NULL,
`entrydate` datetime DEFAULT NULL,
`teleconsultdt` datetime DEFAULT NULL,
`assigneddoc` varchar(20) NOT NULL DEFAULT '',
`refer_doc` varchar(20) DEFAULT NULL,
`refer_center` varchar(8) DEFAULT NULL,
`discategory` varchar(50) DEFAULT NULL,
`checked` char(1) DEFAULT NULL,
`delflag` char(1) DEFAULT NULL,
`assignedhos` varchar(8) DEFAULT NULL,
`issent` varchar(1) DEFAULT NULL,
`lastsenddate` datetime DEFAULT NULL,
`data_moved` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`pat_id`,`assigneddoc`,`data_moved`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `tpatwaitq`
--
DROP TABLE IF EXISTS `tpatwaitq`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tpatwaitq` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`entrydate` datetime NOT NULL,
`attending_doc` varchar(20) NOT NULL DEFAULT '',
`referred_doc` varchar(20) NOT NULL DEFAULT '',
`referred_hospital` varchar(8) DEFAULT NULL,
`local_hospital` varchar(8) DEFAULT NULL,
`sent_by` varchar(50) DEFAULT NULL,
`send_records` varchar(10) DEFAULT NULL,
`userid` varchar(50) DEFAULT NULL,
`usertype` varchar(50) DEFAULT NULL,
`status` varchar(1) NOT NULL,
`req_id` varchar(200) NOT NULL,
`delflg` varchar(1) DEFAULT 'N',
PRIMARY KEY (`pat_id`,`entrydate`,`attending_doc`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `tsr`
--
DROP TABLE IF EXISTS `tsr`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tsr` (
`pat_id` varchar(18) NOT NULL DEFAULT '',
`tbxexam_perform` longtext,
`tbxreport` longtext,
`tbxfinding` longtext,
`tbximpression` longtext,
`name_hos` varchar(8) NOT NULL DEFAULT '',
`entrydate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`entrydate`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `vaccine`
--
DROP TABLE IF EXISTS `vaccine`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `vaccine` (
`vac_code` tinyint unsigned NOT NULL,
`vac_name` varchar(45) NOT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `vaccine_schedule`
--
DROP TABLE IF EXISTS `vaccine_schedule`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `vaccine_schedule` (
`vaccine` tinyint unsigned NOT NULL,
`ageweek` decimal(5,0) NOT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `vidconf_meeting`
--
DROP TABLE IF EXISTS `vidconf_meeting`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `vidconf_meeting` (
`idvidconf_meeting` int NOT NULL AUTO_INCREMENT,
`meeting_id` varchar(45) NOT NULL,
`start_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
`started_by` varchar(100) DEFAULT NULL,
`active` tinyint NOT NULL DEFAULT '1',
PRIMARY KEY (`idvidconf_meeting`,`meeting_id`)
) ENGINE=InnoDB AUTO_INCREMENT=244 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `vidconf_meeting_users`
--
DROP TABLE IF EXISTS `vidconf_meeting_users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `vidconf_meeting_users` (
`idvidconf_meeting_docs` int NOT NULL AUTO_INCREMENT,
`meeting_id` varchar(45) NOT NULL,
`user_id` varchar(50) NOT NULL,
`user_added_at` timestamp NULL DEFAULT NULL,
`creator` tinyint NOT NULL DEFAULT '0',
PRIMARY KEY (`idvidconf_meeting_docs`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `vital_checkup`
--
DROP TABLE IF EXISTS `vital_checkup`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `vital_checkup` (
`pat_id` char(18) NOT NULL,
`pulse` int DEFAULT NULL,
`bp_sys` int DEFAULT NULL,
`bp_dias` int DEFAULT NULL,
`temperature` int DEFAULT NULL,
`resprate` int DEFAULT NULL,
`entrydate` datetime NOT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `weightband`
--
DROP TABLE IF EXISTS `weightband`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `weightband` (
`weight` tinyint unsigned NOT NULL,
`id_pack` tinyint unsigned NOT NULL,
`am` decimal(3,1) NOT NULL,
`pm` decimal(3,1) NOT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=379 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `wt_boys`
--
DROP TABLE IF EXISTS `wt_boys`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `wt_boys` (
`agemonth` double DEFAULT NULL,
`L` double DEFAULT NULL,
`M` double DEFAULT NULL,
`S` double DEFAULT NULL,
`P3` double DEFAULT NULL,
`P5` double DEFAULT NULL,
`P10` double DEFAULT NULL,
`P25` double DEFAULT NULL,
`P50` double DEFAULT NULL,
`P75` double DEFAULT NULL,
`P90` double DEFAULT NULL,
`P95` double DEFAULT NULL,
`P97` double DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=242 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `wt_girls`
--
DROP TABLE IF EXISTS `wt_girls`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `wt_girls` (
`agemonth` double DEFAULT NULL,
`L` double DEFAULT NULL,
`M` double DEFAULT NULL,
`S` double DEFAULT NULL,
`P3` double DEFAULT NULL,
`P5` double DEFAULT NULL,
`P10` double DEFAULT NULL,
`P25` double DEFAULT NULL,
`P50` double DEFAULT NULL,
`P75` double DEFAULT NULL,
`P90` double DEFAULT NULL,
`P95` double DEFAULT NULL,
`P97` double DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=242 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `z00`
--
DROP TABLE IF EXISTS `z00`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `z00` (
`pat_id` char(18) NOT NULL DEFAULT '',
`prob_desc` longtext,
`onset` datetime DEFAULT NULL,
`outset` datetime DEFAULT NULL,
`status` char(1) DEFAULT NULL,
`added_by` varchar(50) DEFAULT NULL,
`entrydate` datetime NOT NULL,
`serno` int NOT NULL,
PRIMARY KEY (`pat_id`,`serno`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!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 2020-12-29 11:14:15
|
SELECT [description], [treated_persons], [comparator_persons], [treated_exposures], [comparator_exposures] , [attrition_order]
FROM @resultsTableQualifier.[cca_attrition]
WHERE execution_id = @executionId
ORDER BY [attrition_order] ASC
|
-- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Хост: 127.0.0.1:3306
-- Время создания: Янв 09 2021 г., 16:03
-- Версия сервера: 10.3.13-MariaDB-log
-- Версия PHP: 7.3.9
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 */;
--
-- База данных: `convert_crypto`
--
-- --------------------------------------------------------
--
-- Структура таблицы `crypto_currency`
--
CREATE TABLE `crypto_currency` (
`id` int(11) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`short_name` varchar(255) DEFAULT NULL,
`title` varchar(50) DEFAULT NULL,
`date` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Дамп данных таблицы `crypto_currency`
--
INSERT INTO `crypto_currency` (`id`, `name`, `short_name`, `title`, `date`) VALUES
(1, 'USD', 'BTC', 'Bitcoin', 1610197368),
(2, 'USD', 'ETH', 'Ethereum', 1610197368),
(3, 'USD', 'ZEC', 'ZCash', 1610197368),
(4, 'USD', 'LTC', 'Litecoin', 1610197368);
-- --------------------------------------------------------
--
-- Структура таблицы `crypto_currency_rate`
--
CREATE TABLE `crypto_currency_rate` (
`id` int(11) NOT NULL,
`currency_id` int(11) DEFAULT NULL,
`rate` float DEFAULT NULL,
`old_rate` float DEFAULT NULL,
`date` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Дамп данных таблицы `crypto_currency_rate`
--
INSERT INTO `crypto_currency_rate` (`id`, `currency_id`, `rate`, `old_rate`, `date`) VALUES
(1, 1, 40992.8, 40992.8, 1610197368),
(2, 2, 1225.75, 1225.75, 1610197368),
(3, 3, 71.76, 71.76, 1610197368),
(4, 4, 170.44, 170.44, 1610197368),
(5, 1, 40990.6, 40992.8, 1610197376),
(6, 2, 1225.8, 1225.75, 1610197376),
(7, 3, 71.81, 71.76, 1610197376),
(8, 4, 170.45, 170.44, 1610197376);
-- --------------------------------------------------------
--
-- Структура таблицы `currency`
--
CREATE TABLE `currency` (
`id` int(11) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`short_name` varchar(255) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`date` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Дамп данных таблицы `currency`
--
INSERT INTO `currency` (`id`, `name`, `short_name`, `title`, `date`) VALUES
(1, 'EUR', 'CAD', 'CAD', 1610197372),
(2, 'EUR', 'CHF', 'CHF', 1610197372),
(3, 'EUR', 'RUB', 'RUB', 1610197372),
(4, 'EUR', 'USD', 'USD', 1610197372),
(5, 'EUR', 'GBP', 'GBP', 1610197372);
-- --------------------------------------------------------
--
-- Структура таблицы `currency_rate`
--
CREATE TABLE `currency_rate` (
`id` int(11) NOT NULL,
`currency_id` int(11) DEFAULT NULL,
`rate` float DEFAULT NULL,
`old_rate` float DEFAULT NULL,
`date` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Дамп данных таблицы `currency_rate`
--
INSERT INTO `currency_rate` (`id`, `currency_id`, `rate`, `old_rate`, `date`) VALUES
(1, 1, 1.5543, 1.5543, 1610197372),
(2, 2, 1.0827, 1.0827, 1610197372),
(3, 3, 90.8, 90.8, 1610197372),
(4, 4, 1.225, 1.225, 1610197372),
(5, 5, 0.90128, 0.90128, 1610197372),
(6, 1, 1.5543, 1.5543, 1610197379),
(7, 2, 1.0827, 1.0827, 1610197379),
(8, 3, 90.8, 90.8, 1610197379),
(9, 4, 1.225, 1.225, 1610197379),
(10, 5, 0.90128, 0.90128, 1610197379);
-- --------------------------------------------------------
--
-- Структура таблицы `migration`
--
CREATE TABLE `migration` (
`version` varchar(180) NOT NULL,
`apply_time` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Дамп данных таблицы `migration`
--
INSERT INTO `migration` (`version`, `apply_time`) VALUES
('m000000_000000_base', 1610029117),
('m210107_142119_create_crypto_currency_table', 1610029642),
('m210107_142130_create_crypto_currency_rate_table', 1610029643),
('m210109_064846_create_currency_table', 1610175013),
('m210109_064855_create_currency_rate_table', 1610175013);
--
-- Индексы сохранённых таблиц
--
--
-- Индексы таблицы `crypto_currency`
--
ALTER TABLE `crypto_currency`
ADD PRIMARY KEY (`id`);
--
-- Индексы таблицы `crypto_currency_rate`
--
ALTER TABLE `crypto_currency_rate`
ADD PRIMARY KEY (`id`);
--
-- Индексы таблицы `currency`
--
ALTER TABLE `currency`
ADD PRIMARY KEY (`id`);
--
-- Индексы таблицы `currency_rate`
--
ALTER TABLE `currency_rate`
ADD PRIMARY KEY (`id`);
--
-- Индексы таблицы `migration`
--
ALTER TABLE `migration`
ADD PRIMARY KEY (`version`);
--
-- AUTO_INCREMENT для сохранённых таблиц
--
--
-- AUTO_INCREMENT для таблицы `crypto_currency`
--
ALTER TABLE `crypto_currency`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT для таблицы `crypto_currency_rate`
--
ALTER TABLE `crypto_currency_rate`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT для таблицы `currency`
--
ALTER TABLE `currency`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT для таблицы `currency_rate`
--
ALTER TABLE `currency_rate`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
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 */;
|
/*L
Copyright HealthCare IT, Inc.
Distributed under the OSI-approved BSD 3-Clause License.
See http://ncip.github.com/edct-formbuilder/LICENSE.txt for details.
L*/
-- add new column to table skip_pattern
alter table skip_pattern add description character varying(200) not null;
-- increase description with on question to allow content
alter table question alter column description type varchar(2000)
|
<gh_stars>0
-- @testpoint:opengauss关键字whenever(非保留),作为数据库名
--关键字不带引号-成功
drop database if exists whenever;
create database whenever;
drop database whenever;
--关键字带双引号-成功
drop database if exists "whenever";
create database "whenever";
drop database "whenever";
--关键字带单引号-合理报错
drop database if exists 'whenever';
create database 'whenever';
--关键字带反引号-合理报错
drop database if exists `whenever`;
create database `whenever`;
|
-- @testpoint:opengauss关键字Asc(保留),作为函数名
--关键字不带引号-合理报错
create function Asc(i integer)
returns integer
as $$
begin
return i+1;
end;
$$ language plpgsql;
/
--关键字带双引号-成功
create function "Asc"(i integer)
returns integer
as $$
begin
return i+1;
end;
$$ language plpgsql;
/
--清理环境
drop function "Asc";
--关键字带单引号-合理报错
create function 'Asc'(i integer)
returns integer
as $$
begin
return i+1;
end;
$$ language plpgsql;
/
--关键字带反引号-合理报错
drop function if exists `Asc`;
create function `Asc`(i integer)
returns integer
as $$
begin
return i+1;
end;
$$ language plpgsql;
/ |
<filename>seeds.sql
INSERT INTO department (name)
VALUES ('Administration'),
('Information Technology'),
('Operations'),
('Quality and Systems'),
('Finance'),
('Human Resources'),
('Industrial Relations'),
('Learning and Development'),
('Marketing'),
('Sales'),
('Research and Development'),
('Legal');
INSERT INTO role (title, salary, department_id)
VALUES ('State Manager', 120000, 3),
('Quality and Systems Manager', 85000, 4),
('Area Manger', 65000, 3),
('Administration Officer', 35000, 1),
('IT Manager', 98000, 2),
('Business Analyst', 63000, 11),
('Youth Worker', 68000, 3),
('Case Manager', 86520, 3),
('Senior Quality Manager', 120000, 4),
('Finance Officer', 63000, 5),
('Finance Manager', 96300, 5),
('Commercial Analyst', 150000, 5),
('Trainer', 45250, 8),
('HR Manager', 77400, 6),
('Marketing and Comms Manager', 120000, 9),
('Sales Representative', 75000, 10),
('Sales Manager', 169000, 10),
('IR Manager', 250000, 7),
('Lawyer', 365000, 12);
INSERT INTO employee (first_name, last_name, role_id, manager_id)
VALUES
('Corey', 'Manning', 13, NULL),
('Hania', 'Oconnell', 1, 1),
('Lillia', 'Strickland', 6, 1),
('Conner', 'Paterson', 19, 1),
('Robbie', 'Harris', 7, 1),
('Amy', 'Hanson', 11, 1),
('Randy', 'Shaffer', 3, 1),
('Keagan', 'Baldwin', 4, 1),
('Sannah', 'Handley', 10, 6),
('Damon', 'Mann', 14, 4),
('Rochelle', 'Harrison', 6, 5),
('Neo', 'Lester', 8, 6),
('Tanner', 'Villa', 9, 8),
('Shayan', 'Lennon', 1, 7),
('Tayyab', 'Barry', 12, 4),
('Shannan', 'Corrigan', 19, 4),
('Samina', 'Woods', 9, 3),
('Jadine', 'Heaton', 7, 8),
('Shakeel', 'Farrow', 19, 9),
('Nana', 'Gilmour', 1, 4),
('Vivaan', 'Rhodes', 15, 5),
('Ashton', 'Morrow', 11, 5),
('Tyrese', 'Atkinson', 18, 4),
('Ruari', 'Jacobson', 19, 7),
('Vikram', 'Henry', 15, 7),
('Jozef', 'Douglas', 17, 4),
('Ifan', 'Donnelly', 17, 7),
('Ishmael', 'Baird', 5, 8),
('Zeynep', 'Parra', 12, 5),
('Yousuf', 'Kramer', 13, 4),
('Sabah', 'Finley', 19, 4),
('Kelsi', 'Boyd', 13, 5),
('Krzysztof', 'Stacey', 2, 5),
('Autumn', 'Leon', 7, 7),
('Juniper', 'English', 18, 7),
('Said', 'Brandt', 2, 6),
('Isabelle', 'Wynn', 19, 9),
('Jorden', 'Bartlett', 2, 4),
('Kayan', 'Head', 3, 7),
('Ann-Marie', 'Hatfield', 19, 3),
('Cynthia', 'Rollins', 15, 6),
('Kyra', 'Morton', 18, 4),
('Olivia', 'Tanner', 18, 7),
('Waleed', 'Frank', 18, 8),
('Oakley', 'Reeves', 5, 4),
('Jason', 'Benitez', 4, 6),
('Bonnie', 'Wells', 4, 8),
('Reyansh', 'Russell', 1, 3),
('Sadiyah', 'Padilla', 5, 6),
('Tierney', 'Clarke', 16, 7);
|
<reponame>danielamarinmunoz/homeassignment<gh_stars>0
-- Table: public.api_track
-- DROP TABLE IF EXISTS public.api_track;
-- Table: public.api_playlist
DROP TABLE IF EXISTS public.api_playlist;
CREATE TABLE IF NOT EXISTS public.api_playlist
(
id character varying(10) COLLATE pg_catalog."default" NOT NULL,
name character varying(200) COLLATE pg_catalog."default" NOT NULL,
CONSTRAINT api_playlist_pkey PRIMARY KEY (id)
)
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public.api_playlist
OWNER to "user";
DROP TABLE IF EXISTS public.api_playlisttrack;
CREATE TABLE IF NOT EXISTS public.api_playlisttrack
(
id character varying(10) COLLATE pg_catalog."default" NOT NULL,
track_id character varying(10) COLLATE pg_catalog."default" NOT NULL,
playlist_id character varying(10) COLLATE pg_catalog."default" NOT NULL,
CONSTRAINT fk_api_playlist_track_api_track_track_id FOREIGN KEY (track_id)
REFERENCES public.api_track (id) MATCH SIMPLE
ON UPDATE NO ACTION
ON DELETE NO ACTION
DEFERRABLE INITIALLY DEFERRED,
CONSTRAINT fk_api_playlist_track_api_playlist_playlist_id FOREIGN KEY (playlist_id)
REFERENCES public.api_playlist (id) MATCH SIMPLE
ON UPDATE NO ACTION
ON DELETE NO ACTION
DEFERRABLE INITIALLY DEFERRED
)
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public.api_playlisttrack
OWNER to "user";
DROP TABLE IF EXISTS public.api_playlist_track;
CREATE TABLE IF NOT EXISTS public.api_playlist_track
(
id character varying(10) COLLATE pg_catalog."default" NOT NULL,
track_id character varying(10) COLLATE pg_catalog."default" NOT NULL,
playlist_id character varying(10) COLLATE pg_catalog."default" NOT NULL,
CONSTRAINT fk_api_playlist_track_api_track_track_id FOREIGN KEY (track_id)
REFERENCES public.api_track (id) MATCH SIMPLE
ON UPDATE NO ACTION
ON DELETE NO ACTION
DEFERRABLE INITIALLY DEFERRED,
CONSTRAINT fk_api_playlist_track_api_playlist_playlist_id FOREIGN KEY (playlist_id)
REFERENCES public.api_playlist (id) MATCH SIMPLE
ON UPDATE NO ACTION
ON DELETE NO ACTION
DEFERRABLE INITIALLY DEFERRED
)
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public.api_playlist_track
OWNER to "user"; |
-- the information for tables
INSERT INTO department (depName)
VALUES ("Restuarant"),
("Front Desk"),
("Human Resources"),
("Maintence");
INSERT INTO role (title, salary, department_id)
VALUES ("Chef", 100000.00, 1),
("Manager", 150000.00, 3),
("Concierge", 80000.00, 2),
("Handy Man", 45000.00, 4);
INSERT INTO employee (first_name, last_name, role_id)
VALUES ("Sookie", "<NAME>", 1),
("Lorelai", "Gilmore", 3),
("Michel", "Gerard", 2),
("Rune", "Belleville", 4);
UPDATE employee
SET manager_id = 2
WHERE id IN (1,3,4); |
<reponame>YodaCh96/sql<gh_stars>0
CREATE ROLE fmueller LOGIN;
CREATE ROLE pfunke LOGIN;
CREATE ROLE pscherhorn LOGIN PASSWORD '<PASSWORD>' SUPERUSER;
CREATE USER jbossert PASSWORD '<PASSWORD>' CREATEDB;
|
USE `evento`;
DELETE FROM `mysql`.`proc` WHERE `db` = 'evento' AND `type` = 'PROCEDURE';
DELIMITER //
--
-- Create user procedure
--
CREATE DEFINER = 'evento'@'localhost' PROCEDURE createUser
(
IN inRole TINYINT UNSIGNED,
IN inUsername VARCHAR(250),
IN inEmail VARCHAR(250),
IN inPassword VARCHAR(4096)
)
BEGIN
INSERT INTO `user` (`role`, `username`, `email`, `password`) VALUES
(inRole, inUsername, inEmail, inPassword);
END//
--
-- Read user procedure
--
CREATE DEFINER = 'evento'@'localhost' PROCEDURE readUser
(
IN inUsername VARCHAR(250)
)
BEGIN
SELECT * FROM `user` WHERE `username` = inUsername;
END//
--
-- Update user procedure
--
CREATE DEFINER = 'evento'@'localhost' PROCEDURE updateUser
(
IN inUsername VARCHAR(250),
IN inEmail VARCHAR(250),
IN inPassword VARCHAR(4096)
)
BEGIN
UPDATE `user` SET
`email` = inEmail,
`password` = <PASSWORD>
WHERE `username` = inUsername;
END//
--
-- Delete user procedure
--
CREATE DEFINER = 'evento'@'localhost' PROCEDURE deleteUser
(
IN inUsername VARCHAR(250)
)
BEGIN
DELETE FROM `user` WHERE `username` = inUsername;
END//
--
-- Create event procedure
--
CREATE DEFINER = 'evento'@'localhost' PROCEDURE createEvent
(
IN inAddress1 VARCHAR(60),
IN inAddress2 VARCHAR(60),
IN inCityId MEDIUMINT UNSIGNED,
IN inPostalCode VARCHAR(10),
IN inCategory VARCHAR(80),
IN inTitle VARCHAR(250),
IN inDescription TEXT,
IN inStart DATETIME,
in inEnd DATETIME
)
BEGIN
DECLARE addressId BIGINT UNSIGNED;
DECLARE categoryId BIGINT UNSIGNED;
INSERT INTO `address` (`address1`, `address2`, `city_id`, `postal_code`) VALUES
(inAddress1, inAddress2, inCityId, inPostalCode);
SET addressId = LAST_INSERT_ID();
INSERT IGNORE `category` (`name`) VALUES (inCategory);
SELECT `id` INTO categoryId FROM `category` WHERE `name` = inCategory;
INSERT INTO `event` (`category_id`, `address_id`, `title`, `description`, `start`, `end`) VALUES
(categoryId, addressId, inTitle, inDescription, inStart, inEnd);
END//
--
-- Update event procedure
--
CREATE DEFINER = 'evento'@'localhost' PROCEDURE updateEvent
(
IN inEventId BIGINT UNSIGNED,
IN inAddressId BIGINT UNSIGNED,
IN inAddress1 VARCHAR(60),
IN inAddress2 VARCHAR(60),
IN inCityId MEDIUMINT UNSIGNED,
IN inPostalCode VARCHAR(10),
IN inCategory VARCHAR(80),
IN inTitle VARCHAR(250),
IN inDescription TEXT,
IN inStart DATETIME,
in inEnd DATETIME
)
BEGIN
DECLARE categoryId BIGINT UNSIGNED;
UPDATE `address` SET
`address1` = inAddress1,
`address2` = inAddress2,
`city_id` = inCityId,
`postal_code` = inPostalCode
WHERE `id` = inAddressId;
INSERT IGNORE `category` (`name`) VALUES (inCategory);
SELECT `id` INTO categoryId FROM `category` WHERE `name` = inCategory;
UPDATE `event` SET
`category_id` = categoryId,
`title` = inTitle,
`description` = inDescription,
`start` = inStart,
`end` = inEnd
WHERE `id` = inEventId;
SELECT * FROM `event_view` WHERE `event_id` = inEventId;
END//
CREATE DEFINER = 'evento'@'localhost' PROCEDURE deleteEvent
(
IN inEventId BIGINT UNSIGNED
)
BEGIN
DECLARE addressId BIGINT UNSIGNED;
SELECT `address_id` INTO addressId FROM `event` WHERE `id` = inEventId;
DELETE FROM `event` WHERE `id` = inEventId;
DELETE FROM `address` WHERE `id` = addressId;
END//
CREATE DEFINER = 'evento'@'localhost' PROCEDURE toggleParticipate
(
IN inUserId BIGINT UNSIGNED,
IN inEventId BIGINT UNSIGNED
)
BEGIN
IF EXISTS (SELECT `id` FROM `participant` WHERE `user_id` = inUserId AND `event_id` = inEventId) THEN
DELETE FROM `participant` WHERE `user_id` = inUserId AND `event_id` = inEventId;
ELSE
INSERT INTO `participant` (`user_id`, `event_id`) VALUES (inUserId, inEventId);
END IF;
END//
DELIMITER ;
/*
set @countryId := (select `id` from `country` where `code` = 'DK');
set @cityId := (select `id` from `city` where `name` = 'Hvidovre' and `country_id` = @countryId);
call createEvent('Rebæk Søpark 5, 1. 240', '', '', @cityId, '2650', 1, 'No title', '', '2017-05-19 00:49:38', '2017-05-25 00:49:38');
*/ |
<filename>ins.sql
SET NAMES UTF8;
DROP DATABASE IF EXISTS ins;
CREATE DATABASE ins CHARSET=UTF8;
USE ins;
/**服装风格**/
CREATE TABLE ins_clothing_style(
sid INT PRIMARY KEY AUTO_INCREMENT,
style VARCHAR(32)
);
/**服装**/
CREATE TABLE ins_clothing(
cid INT PRIMARY KEY AUTO_INCREMENT,
style_id INT, #所属风格的编号
title VARCHAR(128), #主标题
subtitle varchar(128), #副标题
price DECIMAL(10,2), #价格
spec VARCHAR(64), #尺码
color VARCHAR(64), #颜色
promise VARCHAR(64), #服务承诺
brand VARCHAR(16), #品牌
age VARCHAR(32), #适用年龄
lining VARCHAR(32), #面料
pattern VARCHAR(32), #图案
fashion VARCHAR(32), #流行元素
art.on VARCHAR(32), #货号
sizes VARCHAR(32), #尺码
styles VARCHAR(32), #风格
color VARCHAR(32), #颜色分类
clothing-v VARCHAR(32), #服装版型
);
/**用户表**/
CREAHTE TABLE ins_user(
uid INT PRIMARY KEY AUTO_INCRMENT,
uname VARCHAR(32),
upwd VARCHAR(32),
email VARCHAR(64),
phone VARCHAR(16),
avatar VARCHAR(128), #头像图片路径
user_name VARCHAR(32), # 真实姓名
gender INT #性别 0-女 1-男
);
/**管理员表**/
CREAHTE TABLE ins_admin(
user VARCHAR(32),
upwd VARCHAR(32)
);
/**服装表**/
CREAHTE TABLE ins_admin(
aid INT PRIMARY KEY AUTO_INCRMENT,
clothing VARCHAR(200),
notice VARCHAR(200), #商品描述
size VARCHAR(20), #尺码
color VARCHAR(50), #颜色
price VARCHAR(50),
num INt,
img VARCHAR(50), #图片
);
/**购物车**/
CREAHTE TABLE ins_shopping(
iid INT PRIMARY KEY AUTO_INCRMENT,
shopping_id INT, #用户编号
product_id INT, #商品编号
number INt
);
/**订单表**/
CREAHTE TABLE ins_order(
did INT PRIMARY KEY AUTO_INCRMENT,
order_id INT,
adress_id INT,
status INT, #订单状态 1-等待付款 2-等待发货 3-运输中 4-已签收 5-已取消
order_time BIGINT, #订单日期
pay_time BIGINT, #付款时间
deliver_time BIGINT, #发货时间
received_time BIGINT #签收时间
amount VARCHAR(50), #总金额
);
/**首页商品**/
CREATE TABLE xz_index_product(
);
/**轮播图**/
/*数据导入*/
/*服装风格*/
INSERT INTO ins-colthing-style VALUES
(NULL,'韩系'),
(NULL,'日系'),
(NULL,'欧美系'),
(NULL,'嘻哈风'),
(NULL,'简约风'),
(NULL,'中性风'),
(NULL,'学院风');
/*服装*/
INSERT INTO ins-colthin VALUES
/*韩系 korea_is*/
(1,1,'INS博物馆 | 韩版校服学院风班服女夏季套装网红韩国高中生学生装毕业裙子','海量新品 潮流穿搭 玩趣互动',99.00,'M L XL 2XL','灰女短袖+黑色花瓣裙','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','棉','其他','学院','灰色下摆裙','M L XL 2XL','韩版','灰色短袖+黑色花瓣裙(有下摆) 灰色长袖+黑色花瓣裙(有下摆) 灰色长袖+黑色花瓣裙(无下摆) 灰男短袖+黑色长裤(送领带) 灰男长袖+黑色长裤(送领带) 灰女长袖+黑色长裙(送领带)','韩版'),
(1,2,'INS博物馆 | 2019夏季韩版古着感宽松百搭ins超火cec网红短袖T恤少女学生上衣','海量新品 潮流穿搭 玩趣互动',79.99,'均码','白色卡通猫 粉色卡通猫 白色烟斗猫 粉色烟斗猫','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','棉','白猫 粉猫','韩风','6155','均码','通勤','白色卡通猫 粉色卡通猫 白色烟斗猫 粉色烟斗猫','宽松'),
(1,3,'INS博物馆 | 夏季韩版超火cec宽松百搭ins网红港味纯色短袖T恤半袖女学生上衣','海量新品 潮流穿搭 玩趣互动',109.99,'均码','白色 黑色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','棉','白猫 粉猫','韩风','3211','均码','通勤','白色 黑色','宽松'),
(1,4,'INS博物馆 | 2019春装韩版女装心机V领漏锁骨白衬衫女宽松蝙蝠袖衬衣新款上衣','海量新品 潮流穿搭 玩趣互动',89.99,'均码','白色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','棉','其他','韩风','S2651V领衫','均码','通勤','白色','常规'),
(1,5,'INS博物馆 | 春夏韩版chic很仙小众宽松百搭背心马甲打底过膝中长连衣裙女学生','海量新品 潮流穿搭 玩趣互动',110.00,'均码','白色 灰色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','棉','其他','韩风','0011','均码','通勤','白色 灰色','宽松'),
(1,6,'INS博物馆 | 夏季韩版复古bf宽松百搭超火cec长袖连帽防晒衫薄外套女学生上衣','海量新品 潮流穿搭 玩趣互动',88.00,'均码','图片色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','涤纶','小花','韩风','0211','均码','通勤','图片色','宽松'),
(1,7,'INS博物馆 | 夏季韩版法式复古山本少女过膝拼接网纱心机小黑连衣裙女学生裙子','海量新品 潮流穿搭 玩趣互动',120.00,'均码','白色 黑色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','棉','其他','学院','3321','均码','甜美','白色 黑色','公主裙'),
(1,8,'INS博物馆 | 夏季韩版原宿宽松显瘦高腰百搭工装直筒阔腿休闲短裤女学生裤子潮','海量新品 潮流穿搭 玩趣互动',88.00,'M L','军绿色 黑色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','棉','其他','工装','5518','M L','工装系','军绿色 黑色','阔腿裤'),
(1,9,'INS博物馆 | 夏季韩版超火cec复古宽松百搭高腰破洞直筒阔腿牛仔拖地裤女裤子','海量新品 潮流穿搭 玩趣互动',109.00,'S M L XL','牛仔蓝色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','其他','其他','阔腿','5520','S M L XL','INS','牛仔蓝色','灯笼裤'),
(1,10,'INS博物馆 | ins超火的运动背心男韩版潮流嘻哈情侣宽松原宿风跨栏坎肩无袖T恤','海量新品 潮流穿搭 玩趣互动',99.00,'S M L XL 2XL','黑色 白色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','棉','其他','ins','5548','S M L XL 2XL','INS','黑色 白色','宽松'),
/*日系 UJ*/
(2,11,'INS博物馆 | 夏季韩版ins原宿风复古日系纯色半袖衬衣上衣bf宽松短袖衬衫男女','海量新品 潮流穿搭 玩趣互动',99.00,'M L','卡其色 黑色 砖红色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','棉','其他','日系','5288','M L','INS','黑色 白色','宽松'),
(2,12,'INS博物馆 | 有馀日系潮夏季海边沙滩学生短袖花衬衫男潮流宽松休闲衬衣男','海量新品 潮流穿搭 玩趣互动',109.00,'M L XL 2XL 3XL','花色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','涤纶','碎花','日系','C211','M L XL 2XL 3XL','时尚都市','花色','宽松'),
(2,13,'INS博物馆 | AE86藤原T恤潮流日系街头时尚无上菩提嘻哈印花半袖情侣宽松短袖','海量新品 潮流穿搭 玩趣互动',119.00,'M L XL 2XL 3XL','黑车五分袖黑色 黑车五分袖白色 白色无上菩提 黑色无上菩提','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','棉氨','其他','印花','C511','M L XL 2XL 3XL','精致日风','黑车五分袖黑色 黑车五分袖白色 白色无上菩提 黑色无上菩提','宽松'),
(2,14,'INS博物馆 | oversize日系复古宽松工装条纹短袖T恤女bf原宿风夏季学生情侣装','海量新品 潮流穿搭 玩趣互动',159.00,'M L XL','条纹','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','棉','粗横条纹','印花','C533','M L XL','街头','条纹','宽松'),
(2,15,'INS博物馆 | SIMPLE BLACK 暗黑风日系和服设计修身长袖衬衫','海量新品 潮流穿搭 玩趣互动',188.00,'S M L','黑色 白色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','棉','其他','其他','0008','S M L XL','街头','黑色 白色','修身'),
(2,16,'INS博物馆 | 日系复古简约学生宽松圆领街头药丸元素T恤男女潮情侣装港风','海量新品 潮流穿搭 玩趣互动',188.00,'M L XL','灰色 白色 粉红色 黑色 蓝色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','棉','其他','其他','0188','S M L XL','青春流行','灰色 白色 粉红色 黑色 蓝色','宽松'),
(2,17,'INS博物馆 | 背带裙套装2019新款少女夏季日系软妹吊带连衣裙子两件套初中学生','海量新品 潮流穿搭 玩趣互动',198.00,'S M L','杏色衬衣+黑色背带裙 黑色衬衣+黄色背带裙','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','其他','纯色','工艺','2355','S M L','甜美','杏色衬衣+黑色背带裙 黑色衬衣+黄色背带裙','其他'),
(2,18,'INS博物馆 | 羽迹EAL春装新款日系连帽格子衬衫外套BF宽松港风衬衣女学生M783','海量新品 潮流穿搭 玩趣互动',191.00,'均码','樱草粉 学院红','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','涤纶','格子','其他','8585','均码','甜美','其他','其他'),
(2,19,'INS博物馆 | 日系竖条纹夏季情侣装休闲短袖衬衫中性风街头女孩半截袖工装衬衣','海量新品 潮流穿搭 玩趣互动',209.00,'M L XL','白色 黑色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','棉','条纹','其他','3335','M L XL','其他','白色 黑色','宽松'),
(2,20,'INS博物馆 | 日系复古阿美咔叽宽松美式军事风工装裤潮人男女束脚裤潮牌收脚裤','海量新品 潮流穿搭 玩趣互动',88.00,'S M L XL 2XL','黑色 军绿色 卡其色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','棉','其他','其他','3255','S M L XL 2XL','青春流行','黑色 军绿色 卡其色','宽松'),
/*欧美风 US*/
(3,21,'INS博物馆 | 欧美经典中长款bf侦探风衣过膝拼接撞黑色垂感宽松气质工装外套女','海量新品 潮流穿搭 玩趣互动',99.00,'XS S M','黑拼军绿(宽宽长长别买大)','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','涤纶','其他','工艺','088拼接','XS S M','街头','黑拼军绿(宽宽长长别买大)','直筒'),
(3,22,'INS博物馆 | 欧美复古潮牌原宿暴走族BF风浮世绘妖怪和风 男女同款风衣外套','海量新品 潮流穿搭 玩趣互动',129.00,'均码','白色 黑色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-25周岁','棉','碎花','工艺','935','均码','欧美','白色 黑色','直筒'),
(3,23,'INS博物馆 | 欧美2019春夏气质OL中长款七分袖西装松紧腰短裤套装女休闲两件套','海量新品 潮流穿搭 玩趣互动',125.00,'S M L','灰色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','其他','无','其他','9354','S M L','欧美','灰色','直筒'),
(3,24,'INS博物馆 | 欧美女夏装新款3D蕾丝背带性感露背气质修身连衣裙锈红色度假长裙','海量新品 潮流穿搭 玩趣互动',258.00,'XS S M L','红色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','涤纶','碎花','工艺','3324','XS S M L','街头','红色','其他'),
(3,25,'INS博物馆 | LISAYU欧美休闲裸色时尚上衣高腰超长拖地大裙摆连衣裙两件套装女','海量新品 潮流穿搭 玩趣互动',562.00,'XS S M L XL','裸色套装 军绿色套装','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','涤纶','纯色','工艺','9981','XS S M L XL','街头','裸色套装 军绿色套装','其他'),
(3,26,'INS博物馆 | 欧美范2018新款秋装白色上衣衬高腰系带包臀半裙优雅OL两件套裙子','海量新品 潮流穿搭 玩趣互动',198.00,'M L XL','图片色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','涤纶','其他','工艺','9581','M L XL','其他','图片色','其他'),
(3,27,'INS博物馆 | LISA YU/丽莎余休闲裸色上衣欧美显瘦高腰阔腿裤时尚两件套装女','海量新品 潮流穿搭 玩趣互动',398.00,'S M L XL','裸色套装','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','涤纶','纯色','工艺','3381','S M L XL','欧美','裸色套装','其他'),
(3,28,'INS博物馆 | 希区瑞普高端气质女神衬衫加裙子时尚套装两件套欧美名媛小香风夏','海量新品 潮流穿搭 玩趣互动',719.00,'XS S M L XL','粉色套装 白色套装 绿色套装','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','天丝','纯色','工艺','3891','XS S M L XL','其他','粉色套装 白色套装 绿色套装','其他'),
(3,29,'INS博物馆 | 2019欧美高端大牌小西装女神范套装洋气时尚气质小个子两件套显瘦','海量新品 潮流穿搭 玩趣互动',310.00,'S M L XL','粉红色套装 浅蓝色套装','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','天丝','纯色','工艺','8956','S M L XL','其他','粉红色套装 浅蓝色套装','其他'),
(3,30,'INS博物馆 | 欧美法式小众女洋气条纹衬衫印花中长半身裙两件套装女神','海量新品 潮流穿搭 玩趣互动',172.00-179.00,'XS S M L','蓝色衬衫 半身裙','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','天丝','花色','工艺','5555','XS S M L','欧美','蓝色衬衫 半身裙','其他'),
/*嘻哈 hip_hop*/
(4,31,'INS博物馆 | 网红同款嘻哈港风复古衬衫女学生宽松韩版潮2019夏季短袖百搭开衫衬衣','海量新品 潮流穿搭 玩趣互动',172.00,'XS S M L','图片色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','天丝','人物','其他','2259','XS S M L','街头','图片色','宽松'),
(4,32,'INS博物馆 | ins欧美风嘻哈印花短袖潮牌宽松bf男T恤绿色夏季潮流','海量新品 潮流穿搭 玩趣互动',150.00,'S,XL,2XL,3XL,',' 眼睛 黑色,眼睛 绿色,眼睛 白色,眼睛 红色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','棉','其他','其他','Q555','S,XL,2XL,3XL','百搭',' 眼睛 黑色,眼睛 绿色,眼睛 白色,眼睛 红色','宽松'),
(4,33,'INS博物馆 | ins潮牌男装个性抽象印花宽松短袖时尚嘻哈街头风潮流半袖t恤','海量新品 潮流穿搭 玩趣互动',148.00,'M,L,XL,2XL,3XL','黑色,白色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','棉','字母/文字、数字','其他','Q855','M,L,XL,2XL,3XL','百搭','黑色,白色','宽松'),
(4,34,'INS博物馆 | 春涂鸦格子衬衫男潮牌港风嘻哈INS宽松OVERSIZE个性印花外套','海量新品 潮流穿搭 玩趣互动',148.00,'M,L,XL,2XL','黑色,蓝色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','棉','格子','其他','A555','M,L,XL,2XL','百搭','黑色,蓝色','宽松'),
(4,35,'INS博物馆 | 嘻哈街头风恶魔印花牛仔外套潮牌男装复古破洞休闲夹克春秋上衣潮','海量新品 潮流穿搭 玩趣互动',120.00,'XL','紫色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','棉','格子','青春流行','A355','XL','街头','紫色','宽松'),
(4,36,'INS博物馆 | ins卫衣男春秋新款韩版潮流原宿bf风宽松学生圆领港风嘻哈外套头','海量新品 潮流穿搭 玩趣互动',98.00,'M,L,XL','黑色 灰色 卡其色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','棉','人物','青春流行','A355','M,L,XL','街头','黑色 灰色 卡其色','宽松'),
(4,37,'INS博物馆 | 夏季嘻哈潮牌背心男港风宽松情侣oversize个性潮流ins男生无袖T恤','海量新品 潮流穿搭 玩趣互动',88.00,'M,L,XL','黑色 白色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','棉','动物','青春流行','A388','M,L,XL','街头','黑色 白色','宽松'),
(4,38,'INS博物馆 | 国潮情侣半袖潮流个性hiphop欧美街头风嘻哈潮牌oversize短袖T恤','海量新品 潮流穿搭 玩趣互动',99.00,'M,L,XL,2XL','黑色 白色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','毛圈布','人物','青春流行','A999','M,L,XL,2XL','街头','黑色 白色','宽松'),
(4,39,'INS博物馆 | 欧美街头风国潮潮流个性字母嘻哈潮牌oversize短袖T恤男INS半袖衫','海量新品 潮流穿搭 玩趣互动',168.00,'M,L,XL,2XL','黑色 白色 红色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','棉毛布','人物','青春流行','A459','M,L,XL,2XL','街头','黑色 白色 红色','宽松'),
(4,40,'INS博物馆 | 街头风个性潮流短袖男2018新款韩字母印花半袖潮牌学生体恤','海量新品 潮流穿搭 玩趣互动',108.00,'M,L,XL,2XL','黑色 白色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','棉','几何图案','青春流行','A959','M,L,XL,2XL','街头','黑色 白色','宽松'),
/*简约 concise_style*/
(5,41,'INS博物馆 | 休闲西服套装女韩国小香风2019春英伦风韩版简约宽松小西装chic','海量新品 潮流穿搭 玩趣互动',218.00,'S,M,L,XL','卡其色 绿色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','涤纶','纯色','青春流行','A484','S,M,L,XL','简约','卡其色 绿色','西装'),
(5,42,'INS博物馆 | 韩国ins网红套装夏季简约风复古衬衣带领结+高腰简约阔腿西裤','海量新品 潮流穿搭 玩趣互动',99.00,'均码','衬衣 黑裤','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','棉','纯色','青春流行','B898','均码','简约','衬衣 黑裤','西装'),
(5,43,'INS博物馆 | 春夏情侣宽松休闲港味运动套装男女百搭网红简约街拍原宿风韩版潮','海量新品 潮流穿搭 玩趣互动',135.00,'M,L,XL','深灰色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','涤纶','纯色','青春流行','B988','M,L,XL','简约','深灰色','其他'),
(5,44,'INS博物馆 | 夏季简约风宽松简约领带衬衫短袖 上衣+高腰西装短裤两件套装','海量新品 潮流穿搭 玩趣互动',138.00,'S,M,L,XL','白色衬衫带领带 灰色衬衫带 黑色裤子带皮带','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','涤纶','纯色','青春流行','B558','S,M,L,XL','简约','白色衬衫带领带 灰色衬衫带 黑色裤子带皮带','其他'),
(5,45,'INS博物馆 | 桥花格子西装套装两件套宽松休闲西服网红衣服同款韩版英伦风简约','海量新品 潮流穿搭 玩趣互动',288.00,'S,M,L','砖红色 西装套装','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','棉','纯色','青春流行','B878','S,M,L','简约','砖红色','其他'),
(5,46,'INS博物馆 | 2019夏新款休闲套装一字肩格子上衣简约风半身裙仙女两件套','海量新品 潮流穿搭 玩趣互动',118.00,'均码','绿色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','棉','纯色','青春流行','B252','均码','简约','绿色','其他'),
(5,47,'INS博物馆 | 2019新款简约性冷淡风宽松西装女马甲外套套装西装休闲裤女','海量新品 潮流穿搭 玩趣互动',219.00-379,'XS,S,M,L','烟绿色(上衣) 烟绿色(短裤) 烟绿色(长裤)','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','涤纶','纯色','青春流行','B369','XS,S,M,L','简约','烟绿色(上衣) 烟绿色(短裤) 烟绿色(长裤)','其他'),
(5,48,'INS博物馆 | 小众设计感不一样简约汉服改良连衣裙女中国风古装情侣装夏装套装','海量新品 潮流穿搭 玩趣互动',89.00-101.00,'XS,S,M,L','杏色T恤 黑色T恤 杏色连衣裙 黑色连衣裙','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','棉','纯色','青春流行','B258','XS,S,M,L','简约','杏色T恤 黑色T恤 杏色连衣裙 黑色连衣裙','其他'),
(5,49,'INS博物馆 | 夏季新OL风简约舒适时尚套装两件套上衣+短裤','海量新品 潮流穿搭 玩趣互动',139.00,'S,M,L','桔色 米白色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','涤纶','纯色','青春流行','B258','S,M,L','简约','桔色 米白色','其他'),
(5,50,'INS博物馆 | 小西服简约短裤吊带套装ins小清新学院风时尚七分袖外套百搭女装','海量新品 潮流穿搭 玩趣互动',159.00,'均码','蓝色 黑色 浅粉色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','25-35周岁','涤纶','纯色','青春流行','B258','均码','简约','蓝色 黑色 浅粉色','其他'),
/*中性 neutral_style*/
(6,51,'INS博物馆 | 2019夏季新款T恤时尚潮流中性风PoloT恤衫','海量新品 潮流穿搭 玩趣互动',159.00,'M','藏青色,米白色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-35周岁','涤纶','创意','其他','C258','M','街头','藏青色 米白色','宽松'),
(6,52,'INS博物馆 | 原宿风字母oversize短袖衬衫宽松百搭夏季街头中性风男女ins超火','海量新品 潮流穿搭 玩趣互动',103.00,'M,L,XL','黑色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-35周岁','其他','其他','青春流行','C128','M,L,XL','街头','黑色','宽松'),
(6,53,'INS博物馆 | 夏季韩版ins原宿复古BF风中性帅气日常搭配纯色工装短袖衬衫男女','海量新品 潮流穿搭 玩趣互动',153.00,'均码','白色 黑色 牛油果绿','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-35周岁','涤纶','纯色','青春流行','C123','均码','街头','白色 黑色 牛油果绿','宽松'),
(6,54,'INS博物馆 | 中性风 韩版ulzzang风情侣装夏装男短袖情侣服ins怪味夏','海量新品 潮流穿搭 玩趣互动',99.00,'S,M,L,XL','白色 灰色 黑色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-35周岁','棉','星球','青春流行','C124','S,M,L,XL','街头','白色 灰色 黑色','宽松'),
(6,55,'INS博物馆 | 2019夏季新款短袖中性风潮流时尚宽松翻领T恤','海量新品 潮流穿搭 玩趣互动',567.00,'S,M,L,XL','藏青色 白色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-35周岁','棉','纯色','青春流行','C125','S,M,L,XL','街头','藏青色 白色','宽松'),
(6,56,'INS博物馆 | 暗黑风夏季褶皱捏花设计宽松中性中长款情侣短袖T恤','海量新品 潮流穿搭 玩趣互动',98.00,'均码','白色 黑色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-35周岁','棉','纯色','褶皱','C125','均码','街头','白色 黑色','宽松'),
(6,57,'INS博物馆 | 网红衬衫帅气黑暗系女装复古性冷淡中性风港味复古酷酷风格衬衣潮','海量新品 潮流穿搭 玩趣互动',129.00,'M,L','黑色赠包包皮带','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-35周岁','棉','纯色','其他','C129','M L','通勤','黑色赠包包皮带','直筒'),
(6,58,'INS博物馆 | 夏季欧美街头嘻哈bf中性风T恤扎染渐变半袖衫情侣宽松短袖T恤男女','海量新品 潮流穿搭 玩趣互动',109.00,'M,L','紫渐变 粉红 砖红色 橘色扎染 绿色扎染 黑灰色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-35周岁','棉','其他','扎染','C229','M L','街头','紫渐变 粉红 砖红色 橘色扎染 绿色扎染 黑灰色','宽松'),
(6,59,'INS博物馆 | 五分短裤女中性风学生高腰宽松显瘦夏季百搭薄款休闲工装五分裤子','海量新品 潮流穿搭 玩趣互动',88.00,'M,L','灰色 黑色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-35周岁','棉','其他','工装','C221','M L','街头','灰色 黑色','宽松'),
(6,60,'INS博物馆 | 春装新款韩国复古条纹男朋友风衬衫长袖中性oversize慵懒风衬衣女','海量新品 潮流穿搭 玩趣互动',156.00,'均码','蓝色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-35周岁','棉','条纹','其他','C222','均码','通勤','蓝色','直筒'),
/*学院风 preppy_style*/
(7,61,'INS博物馆 | 很仙的上衣大码夏韩版心机设计感小众领带衬衫女学院风七分袖超仙','海量新品 潮流穿搭 玩趣互动',99.00,'M L XL 2XL','灰色 白色 黑色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-35周岁','棉','纯色','其他','C333','M L XL 2XL','街头','灰色 白色 黑色','直筒'),
(7,62,'INS博物馆 | 学院风运动套装女夏季韩版时尚休闲短袖阔腿裤短裤宽松学生两件套','海量新品 潮流穿搭 玩趣互动',88.00,'M L XL XXL','白色 蓝色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-35周岁','棉','纯色','其他','C111','M L XL 2XL','街头','白色 蓝色','直筒'),
(7,63,'INS博物馆 | 学院风宽松休闲五分袖衬衫+百褶A字半身裙套装送领带','海量新品 潮流穿搭 玩趣互动',109.00,'M L','白色套装 黑色套装','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-35周岁','棉','纯色','其他','C555','M L','街头','白色套装 黑色套装','直筒'),
(7,64,'INS博物馆 | 班服夏季套装女2019新款学生学院风韩版毕业校服网红套装裤两件套','海量新品 潮流穿搭 玩趣互动',99.00-89.00,'M L','白色衬衫 黑色短裤','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-35周岁','棉','纯色','其他','C666','M L','通勤','白色衬衫 黑色短裤','其他'),
(7,65,'INS博物馆 | 情侣装夏学院风衬衫短袖套装初高中学生网红jk校服毕业照班服','海量新品 潮流穿搭 玩趣互动',128.00,'M L','灰衣+黑裤 白衣+灰裤','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-35周岁','棉','纯色','其他','C777','M L','通勤','灰衣+黑裤 白衣+灰裤','宽松'),
(7,66,'INS博物馆 | 秋季韩国INS原宿bf学院风个性口袋贴标衬衣宽松长袖衬衫外套男女','海量新品 潮流穿搭 玩趣互动',189.00,'M L XL','宝蓝色 白色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-35周岁','棉','纯色','其他','C888','M L XL','通勤','宝蓝色 白色','宽松'),
(7,67,'INS博物馆 | 夏韩版学院风中长款inspolo衫宽松短袖T恤2019网红同款上衣服女','海量新品 潮流穿搭 玩趣互动',99.00,'均码','白色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-35周岁','棉','字母','其他','C121','均码','通勤','白色','宽松'),
(7,68,'INS博物馆 | 女春2019新款韩版学院风宽松纯色长袖衬衣配格子领带衬衫chic上衣','海量新品 潮流穿搭 玩趣互动',88.00-99.00,'均码','白色衬衫 黑色短裤','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-35周岁','棉','纯色','其他','C141','均码','原创设计','白色衬衫 黑色短裤','直筒'),
(7,69,'INS博物馆 | 夏季韩版ins学院风纯色薄款短袖衬衫宽松休闲衬衣上衣男女+配领巾','海量新品 潮流穿搭 玩趣互动',89.00,' M L XL','白色 黑色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-35周岁','棉','纯色','其他','C151',' M L XL','原创设计','白色 黑色','直筒'),
(7,70,'INS博物馆 | 2019新款韩版港风chic复古学院风翻领长袖中长款衬衫女上衣潮','海量新品 潮流穿搭 玩趣互动',109.00,'均码','红色 蓝色','在确认收货 15 天内,如有商品质量问题、描述不符或未收到货等,您有权申请退款或退货,来回邮费由卖家承担。','other/其他','18-35周岁','涤纶','纯色','其他','C131','均码','百搭','红色 蓝色','其他');
|
SELECT id FROM foo2;
SELECT k, v FROM foo2;
SELECT * FROM foo2;
|
USE [SoftUni]
GO
SELECT
epr.[EmployeeID],
e.[FirstName],
CASE
WHEN YEAR(pr.[StartDate]) >= 2005 THEN NULL
ELSE pr.[Name]
END
FROM
[Employees] AS e
JOIN [EmployeesProjects] AS epr ON e.[EmployeeID] = epr.[EmployeeID]
JOIN [Projects] AS pr ON epr.[ProjectID] = pr.[ProjectID]
WHERE e.EmployeeID = 24
ORDER BY epr.[EmployeeID] ASC
|
-- (C) 2016 <NAME>
-- for Db2
-- Contact
DROP TABLE Contact;
CREATE TABLE Contact (
id INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY,
firstName VARGRAPHIC(20) NOT NULL,
lastName VARGRAPHIC(20) NOT NULL,
birthday DATE NULL,
addressId INTEGER NULL,
updateCount INTEGER NOT NULL,
created TIMESTAMP(9) NOT NULL,
updated TIMESTAMP(9) NOT NULL,
PRIMARY KEY(id)
);
-- Address
DROP TABLE Address;
CREATE TABLE Address (
id INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY,
postCode VARCHAR (10) NULL,
address1 VARGRAPHIC(20) NULL,
address2 VARGRAPHIC(20) NULL,
address3 VARGRAPHIC(20) NULL,
address4 VARGRAPHIC(20) NULL,
updateCount INTEGER NOT NULL,
created TIMESTAMP(9) NOT NULL,
updated TIMESTAMP(9) NOT NULL,
PRIMARY KEY(id)
);
-- Phone
DROP TABLE Phone;
CREATE TABLE Phone (
id INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY,
contactId INTEGER NOT NULL,
phoneNumber VARCHAR (12) NOT NULL,
updateCount INTEGER NOT NULL,
created TIMESTAMP(9) NOT NULL,
updated TIMESTAMP(9) NOT NULL,
PRIMARY KEY(id)
);
-- Product
DROP TABLE Product;
CREATE TABLE Product (
id INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY,
productName VARGRAPHIC(20) NOT NULL,
price INTEGER NOT NULL,
productSize CHAR ( 2) NULL,
color VARGRAPHIC(20) NULL,
updateCount INTEGER NOT NULL,
created TIMESTAMP(9) NOT NULL,
updated TIMESTAMP(9) NOT NULL,
PRIMARY KEY(id)
);
-- Sale
DROP TABLE Sale;
CREATE TABLE Sale (
id INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY,
contactId INTEGER NOT NULL,
saleDate DATE NOT NULL,
taxRate SMALLINT NOT NULL,
updateCount INTEGER NOT NULL,
created TIMESTAMP(9) NOT NULL,
updated TIMESTAMP(9) NOT NULL,
PRIMARY KEY(id)
);
-- SaleItem
DROP TABLE SaleItem;
CREATE TABLE SaleItem (
saleId INTEGER NOT NULL,
itemIndex SMALLINT NOT NULL,
productId INTEGER NOT NULL,
quantity SMALLINT NOT NULL,
PRIMARY KEY(saleId, itemIndex)
);
-- Various
DROP TABLE Various;
CREATE TABLE Various (
id INTEGER NOT NULL,
booleanPValue BOOLEAN DEFAULT FALSE NOT NULL,
char1PValue GRAPHIC (1) DEFAULT ' ' NOT NULL,
tinyIntPValue SMALLINT DEFAULT 0 NOT NULL, -- instead of TINYINT type
smallIntPValue SMALLINT DEFAULT 0 NOT NULL,
intPValue INTEGER DEFAULT 0 NOT NULL,
bigIntPValue BIGINT DEFAULT 0 NOT NULL,
floatPValue REAL DEFAULT 0 NOT NULL,
doublePValue DOUBLE DEFAULT 0 NOT NULL,
booleanValue BOOLEAN ,
char1Value GRAPHIC (1),
tinyIntValue SMALLINT , -- instead of TINYINT type
smallIntValue SMALLINT ,
intValue INTEGER ,
bigIntValue BIGINT ,
floatValue REAL ,
doubleValue DOUBLE ,
decimalValue DECIMAL (12,2),
longDate BIGINT , -- since 1.8.0
longTime BIGINT , -- since 1.8.0
longTimestamp BIGINT , -- since 1.8.0
-- charValue GRAPHIC (20),
charValue GRAPHIC (21),
varCharValue VARGRAPHIC(40),
binaryValue BLOB (20), -- instead of BINARY (20) type
varBinaryValue BLOB (40), -- instead of VARBINARY(40) type
textValue CLOB (16M),
blobValue BLOB (16M),
jsonValue CLOB (16M),
PRIMARY KEY(id)
);
-- DateAndTime since 3.0.0
DROP TABLE DateAndTime;
CREATE TABLE DateAndTime (
id INTEGER NOT NULL,
dateValue DATE ,
timeValue TIME ,
timestampValue TIMESTAMP(9),
timestampTZValue TIMESTAMP(9),
PRIMARY KEY(id)
);
-- Node since 4.0.0
DROP TABLE IF EXISTS Node;
CREATE TABLE Node (
id INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY,
parentId INTEGER NOT NULL,
name VARGRAPHIC(32) NOT NULL,
updateCount INTEGER NOT NULL,
created TIMESTAMP(9) NOT NULL,
updated TIMESTAMP(9) NOT NULL,
PRIMARY KEY(id)
);
-- Leaf since 4.0.0
DROP TABLE IF EXISTS Leaf;
CREATE TABLE Leaf (
id INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY,
parentId INTEGER NOT NULL,
name VARGRAPHIC(32) NOT NULL,
content CLOB (16M) NOT NULL,
updateCount INTEGER NOT NULL,
created TIMESTAMP(9) NOT NULL,
updated TIMESTAMP(9) NOT NULL,
PRIMARY KEY(id)
);
-- Leaf2 since 4.0.0
DROP TABLE IF EXISTS Leaf2;
CREATE TABLE Leaf2 (
id INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY,
parentId INTEGER NOT NULL,
name VARGRAPHIC(32) NOT NULL,
content CLOB (16M) NOT NULL,
updateCount INTEGER NOT NULL,
created TIMESTAMP(9) NOT NULL,
updated TIMESTAMP(9) NOT NULL,
PRIMARY KEY(id)
);
|
<gh_stars>1-10
CREATE OR REPLACE PACKAGE BODY PKG_SEND_MAIL AS
/**
* MIT License
*
* Copyright (c) 2018 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
/*
* Created By : <NAME>
* Creation Date : 10.01.2013
*/
PROCEDURE SEND_MAIL(
v_from_name VARCHAR2,
v_to_name VARCHAR2,
v_subject VARCHAR2,
v_message_body VARCHAR2,
v_cc_name VARCHAR2 DEFAULT '',
attachments array_attachments DEFAULT NULL,
v_message_type VARCHAR2 DEFAULT 'text/plain'
) AS
v_smtp_server VARCHAR2(14) := 'XX.YOUR.SMTP.SERVER';
n_smtp_server_port NUMBER := 25;
conn utl_smtp.connection;
v_boundry VARCHAR2(20) := 'SECBOUND';
n_offset NUMBER := 0;
n_amount NUMBER := 1900;
v_final_to_name CLOB := '';
v_final_cc_name CLOB := '';
v_mail_address VARCHAR2(100);
BEGIN
conn := utl_smtp.open_connection(v_smtp_server,n_smtp_server_port);
utl_smtp.helo(conn, v_smtp_server);
utl_smtp.mail(conn, v_from_name);
-- Add all recipient
v_final_to_name := v_to_name;
v_final_to_name := replace(v_final_to_name, ' ');
v_final_to_name := replace(v_final_to_name, ',', ';');
LOOP
n_offset := n_offset + 1;
v_mail_address := regexp_substr(v_final_to_name, '[^;]+', 1, n_offset);
EXIT WHEN v_mail_address IS NULL;
utl_smtp.rcpt(conn, v_mail_address);
END LOOP;
-- Add all recipient
v_final_cc_name := v_cc_name;
v_final_cc_name := replace(v_final_cc_name, ' ');
v_final_cc_name := replace(v_final_cc_name, ',', ';');
n_offset := 0;
LOOP
n_offset := n_offset + 1;
v_mail_address := regexp_substr(v_final_cc_name, '[^;]+', 1, n_offset);
EXIT WHEN v_mail_address IS NULL;
utl_smtp.rcpt(conn, v_mail_address);
END LOOP;
-- Open data
utl_smtp.open_data(conn);
-- Message info
utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw('To: ' || v_final_to_name || UTL_TCP.crlf));
utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw('Cc: ' || v_final_cc_name || UTL_TCP.crlf));
utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw('Date: ' || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || UTL_TCP.crlf));
utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw('From: ' || v_from_name || UTL_TCP.crlf));
utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw('Subject: ' || v_subject || UTL_TCP.crlf));
utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw('MIME-Version: 1.0' || UTL_TCP.crlf));
utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw('Content-Type: multipart/mixed; boundary="' || v_boundry || '"' || UTL_TCP.crlf || UTL_TCP.crlf));
-- Message body
utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw('--' || v_boundry || UTL_TCP.crlf));
utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw('Content-Type: ' || v_message_type || UTL_TCP.crlf || UTL_TCP.crlf));
utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw(v_message_body || UTL_TCP.crlf));
-- Attachment Part
IF attachments IS NOT NULL
THEN
FOR i IN attachments.FIRST .. attachments.LAST
LOOP
-- Attach info
utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw('--' || v_boundry || UTL_TCP.crlf));
utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw('Content-Type: ' || attachments(i).data_type
|| ' name="'|| attachments(i).attach_name || '"' || UTL_TCP.crlf));
utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw('Content-Disposition: attachment; filename="'
|| attachments(i).attach_name || '"' || UTL_TCP.crlf || UTL_TCP.crlf));
-- Attach body
n_offset := 1;
WHILE n_offset < dbms_lob.getlength(attachments(i).attach_content)
LOOP
utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw(dbms_lob.substr(attachments(i).attach_content, n_amount, n_offset)));
n_offset := n_offset + n_amount;
END LOOP;
utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw('' || UTL_TCP.crlf));
END LOOP;
END IF;
-- Last boundry
utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw('--' || v_boundry || '--' || UTL_TCP.crlf));
-- Close data
utl_smtp.close_data(conn);
utl_smtp.quit(conn);
END SEND_MAIL;
END;
|
-- Express cookie sessionisation
DROP TABLE IF EXISTS sessions;
CREATE TABLE "sessions" (
"sid" VARCHAR NOT NULL COLLATE "default",
"sess" JSON NOT NULL,
"expire" TIMESTAMP(6) NOT NULL
)
WITH (OIDS=FALSE);
ALTER TABLE "sessions" ADD CONSTRAINT "session_pkey" PRIMARY KEY ("sid") NOT DEFERRABLE INITIALLY IMMEDIATE;
-- Question Library
DROP TABLE IF EXISTS questions;
DROP TABLE IF EXISTS categories;
CREATE TABLE categories (
id SMALLINT PRIMARY KEY,
name VARCHAR
);
INSERT INTO categories (id, name) VALUES
(1, 'General Knowledge'),
(2, 'Sports'),
(3, 'Science'),
(4, 'Geography'),
(5, 'History'),
(6, 'Film'),
(7, 'Music'),
(8, 'Literature'),
(9, 'People & Quotes'),
(10, 'Faith & Mythology'),
(11, 'TV'),
(12, 'Animals'),
(13, 'Puzzle'),
(14, 'Art'),
(15, 'Politics'),
(16, 'Vehicles');
CREATE TABLE IF NOT EXISTS questions (
id BIGINT PRIMARY KEY,
question VARCHAR NOT NULL UNIQUE,
options VARCHAR[] NOT NULL,
answer VARCHAR NOT NULL,
category_id SMALLINT NOT NULL REFERENCES categories(id)
);
-- Users
DROP TABLE IF EXISTS game_requests;
DROP TABLE IF EXISTS games;
DROP TABLE IF EXISTS forgotten_password_tokens;
DROP TABLE IF EXISTS confirm_tokens;
DROP TABLE IF EXISTS user_friends;
DROP TABLE IF EXISTS user_auth;
DROP TABLE IF EXISTS users;
CREATE TABLE IF NOT EXISTS users (
id SERIAL PRIMARY KEY,
email VARCHAR NOT NULL UNIQUE,
name VARCHAR,
is_activated BOOLEAN DEFAULT FALSE,
fingerprint_key VARCHAR,
push_tokens VARCHAR[] DEFAULT ARRAY[]::VARCHAR[],
push_enabled BOOLEAN DEFAULT TRUE,
has_password BOOLEAN DEFAULT TRUE,
created_time BIGINT
);
CREATE INDEX users_id_idx ON users (id);
CREATE INDEX users_email_idx ON users (email);
-- User Authentication
CREATE TABLE IF NOT EXISTS user_auth (
email VARCHAR PRIMARY KEY REFERENCES users(email) ON UPDATE RESTRICT ON DELETE CASCADE,
password TEXT NOT NULL
);
CREATE INDEX user_auth_email_idx ON user_auth (email);
-- Email Confirmation Tokens
CREATE TABLE IF NOT EXISTS confirm_tokens (
token VARCHAR PRIMARY KEY,
email VARCHAR NOT NULL UNIQUE REFERENCES users(email) ON UPDATE RESTRICT ON DELETE CASCADE,
expiry_time BIGINT NOT NULL
);
CREATE INDEX confirm_tokens_email_idx ON confirm_tokens (email);
-- Forgotten Password Tokens
CREATE TABLE IF NOT EXISTS forgotten_password_tokens (
email VARCHAR PRIMARY KEY REFERENCES users(email) ON UPDATE RESTRICT ON DELETE CASCADE,
token VARCHAR NOT NULL UNIQUE,
expiry_time BIGINT NOT NULL
);
CREATE INDEX forgotten_password_tokens_email_idx ON forgotten_password_tokens (email);
-- User Friend Assoc
CREATE TABLE IF NOT EXISTS user_friends (
user_id BIGINT NOT NULL REFERENCES users(id) ON UPDATE RESTRICT ON DELETE CASCADE,
friend_id BIGINT NOT NULL REFERENCES users(id) ON UPDATE RESTRICT ON DELETE CASCADE,
is_confirmed BOOLEAN
);
CREATE INDEX user_friends_user_id_idx ON user_friends (user_id);
CREATE INDEX user_friends_friend_id_idx ON user_friends (friend_id);
ALTER TABLE user_friends ADD CONSTRAINT user_friends_assoc_key UNIQUE (user_id, friend_id);
CREATE TABLE IF NOT EXISTS games (
id SERIAL PRIMARY KEY,
player_1_id BIGINT NOT NULL REFERENCES users(id) ON UPDATE RESTRICT ON DELETE CASCADE,
player_2_id BIGINT NOT NULL REFERENCES users(id) ON UPDATE RESTRICT ON DELETE CASCADE,
settings JSON NOT NULL,
player_1_answers VARCHAR[] DEFAULT ARRAY[]::VARCHAR[],
player_2_answers VARCHAR[] DEFAULT ARRAY[]::VARCHAR[],
winner_id BIGINT,
question_ids BIGINT[],
is_complete BOOLEAN DEFAULT FALSE,
requested_time BIGINT,
start_time BIGINT,
end_time BIGINT
);
CREATE TABLE IF NOT EXISTS game_requests (
player_1_id BIGINT NOT NULL REFERENCES users(id) ON UPDATE RESTRICT ON DELETE CASCADE,
player_2_id BIGINT NOT NULL,
settings JSON NOT NULL,
expiry_time BIGINT NOT NULL,
is_confirmed BOOLEAN DEFAULT FALSE
);
CREATE INDEX game_requests_player_1_id_idx ON game_requests (player_1_id);
CREATE INDEX game_requests_player_2_id_idx ON game_requests (player_2_id);
ALTER TABLE game_requests ADD CONSTRAINT game_requests_assoc_key UNIQUE (player_1_id, player_2_id);
|
ALTER TABLE egw_estimate_photographs DROP COLUMN abstractestimate;
ALTER TABLE egw_estimate_photographs DROP COLUMN image;
ALTER TABLE egw_estimate_photographs add column lineestimatedetails bigint;
ALTER TABLE egw_estimate_photographs ADD CONSTRAINT fk_lineestimatedetails_id FOREIGN KEY (lineestimatedetails) REFERENCES egw_lineestimate_details (id);
CREATE INDEX idx_lineestimatedetails_id ON egw_estimate_photographs USING btree (lineestimatedetails);
ALTER TABLE egw_estimate_photographs add column filestore bigint;
alter table egw_estimate_photographs ALTER COLUMN latitude drop not null;
alter table egw_estimate_photographs ALTER COLUMN longitude drop not null;
alter table egw_estimate_photographs ALTER COLUMN dateofcapture drop not null;
ALTER TABLE egw_estimate_photographs ADD COLUMN workprogress character varying(50);
--rollback ALTER TABLE egw_estimate_photographs DROP COLUMN lineestimatedetails;
--rollback ALTER TABLE egw_estimate_photographs add column abstractestimate bigint;
--rollback ALTER TABLE egw_estimate_photographs add column image bytea;
--rollback alter table egw_estimate_photographs ALTER COLUMN latitude set not null;
--rollback alter table egw_estimate_photographs ALTER COLUMN longitude set not null;
--rollback alter table egw_estimate_photographs ALTER COLUMN dateofcapture set not null;
--rollback ALTER TABLE egw_estimate_photographs DROP COLUMN workprogress;
|
-- create master dsra table
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_tbl CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_tbl(
assetid varchar,
sauid varchar,
dauid varchar,
csduid varchar,
csdname varchar,
fsauid varchar,
cduid varchar,
cdname varchar,
eruid varchar,
ername varchar,
pruid varchar,
prname varchar,
sh_rupname varchar,
sh_rupabbr varchar,
sh_mag varchar,
sh_hypolon float,
sh_hypolat float,
sh_hypodepth float,
sh_rake varchar,
geom_point geometry
);
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_acm6p5_beaufort.dsra_acm6p5_beaufort_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_acm7p2_lrdmf.dsra_acm7p2_lrdmf_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_acm7p3_georgiastraitnew.dsra_acm7p3_georgiastraitnew_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_idm4p7_sidney.dsra_idm4p7_sidney_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_idm4p8_sidney.dsra_idm4p8_sidney_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_idm5p0_sidney.dsra_idm5p0_sidney_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_idm5p2_sidney.dsra_idm5p2_sidney_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_idm5p4_sidney.dsra_idm5p4_sidney_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_idm5p6_sidney.dsra_idm5p6_sidney_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_idm5p8_sidney.dsra_idm5p8_sidney_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_idm6p0_sidney.dsra_idm6p0_sidney_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_idm6p2_sidney.dsra_idm6p2_sidney_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_idm6p4_sidney.dsra_idm6p4_sidney_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_idm6p6_sidney.dsra_idm6p6_sidney_all_indicators_b;
/*
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_idm6p8_jdfpathways.dsra_idm6p8_jdfpathways_all_indicators_b;
*/
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_idm6p8_sidney.dsra_idm6p8_sidney_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_idm7p0_sidney.dsra_idm7p0_sidney_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_idm7p1_sidney.dsra_idm7p1_sidney_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_idm7p1_sidneytest.dsra_idm7p1_sidneytest_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_scm6p5_ottawa.dsra_scm6p5_ottawa_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_scm7p0_montrealnw.dsra_scm7p0_montrealnw_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_scm7p0_montrealnwcanshm5.dsra_scm7p0_montrealnwcanshm5_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_sim9p0_cascadiainterfacebestfault.dsra_sim9p0_cascadiainterfacebestfault_all_indicators_b;
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_sim9p0_cszlockedtrans.dsra_sim9p0_cszlockedtrans_all_indicators_b;
/*
-- insert values into table, this scenario has no rupture info, ignore for now
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth","sH_Rake",geom_point
FROM results_dsra_scm7p0_montrealnwcanshm5.dsra_scm7p0_montrealnwcanshm5_all_indicators_b;
*/
/* -- template
-- insert values into table
INSERT INTO dsra.dsra_all_scenarios_tbl(assetid,sauid,pruid,prname,eruid,cduid,cdname,csduid,csdname,fsauid,dauid,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,geom_point)
SELECT "AssetID","Sauid",pruid,prname,eruid,ername,cduid,cdname,csduid,csdname,fsauid,dauid,"sH_RupName","sH_RupAbbr","sH_Mag","sH_HypoLon","sH_HypoLat","sH_HypoDepth",geom_point
FROM results_{eqScenario}.dsra_{eqScenario}_all_indicators_b;
*/
-- create index on master dsra table
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_assetid_idx ON dsra.dsra_all_scenarios_tbl(assetid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_sauid_idx ON dsra.dsra_all_scenarios_tbl(sauid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_pruid_idx ON dsra.dsra_all_scenarios_tbl(pruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_eruid_idx ON dsra.dsra_all_scenarios_tbl(eruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_cduid_idx ON dsra.dsra_all_scenarios_tbl(cduid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_csduid_idx ON dsra.dsra_all_scenarios_tbl(csduid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_fsauid_idx ON dsra.dsra_all_scenarios_tbl(fsauid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_dauid_idx ON dsra.dsra_all_scenarios_tbl(dauid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_geom_idx ON dsra.dsra_all_scenarios_tbl USING GIST(geom_point);
-- create master dsra building view
DROP VIEW IF EXISTS dsra.dsra_all_scenarios_building CASCADE;
CREATE VIEW dsra.dsra_all_scenarios AS
SELECT * FROM dsra.dsra_all_scenarios_tbl ORDER BY assetid,sh_rupname;
/*
-- create master dsra sauid view
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_sauid_tbl CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_sauid_tbl AS
(
SELECT
a.sauid,
a.dauid,
a.csduid,
a.csdname,
a.cduid,
a.cdname,
a.fsauid,
a.eruid,
a.ername,
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake,
b.geom
FROM dsra.dsra_all_scenarios_tbl a
LEFT JOIN boundaries."Geometry_SAUID" b ON a.sauid = b."SAUIDt"
GROUP BY sauid,dauid,csduid,csdname,cduid,cdname,fsauid,eruid,ername,pruid,prname,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,b.geom);
-- create index on master dsra sauid table
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_sauid_sauid_idx ON dsra.dsra_all_scenarios_sauid_tbl(sauid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_sauid_dauid_idx ON dsra.dsra_all_scenarios_sauid_tbl(dauid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_sauid_csduid_idx ON dsra.dsra_all_scenarios_sauid_tbl(csduid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_sauid_fsauid_idx ON dsra.dsra_all_scenarios_sauid_tbl(fsauid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_sauid_cduid_idx ON dsra.dsra_all_scenarios_sauid_tbl(cduid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_sauid_eruid_idx ON dsra.dsra_all_scenarios_sauid_tbl(eruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_sauid_pruid_idx ON dsra.dsra_all_scenarios_sauid_tbl(pruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_sauid_geom_idx ON dsra.dsra_all_scenarios_sauid_tbl USING GIST(geom);
-- create master dsra sauid view
DROP VIEW IF EXISTS dsra.dsra_all_scenarios_sauid CASCADE;
CREATE VIEW dsra.dsra_all_scenarios_sauid AS
SELECT * FROM dsra.dsra_all_scenarios_sauid_tbl;
*/
-- create master dsra sauid view
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_sauid_tbl_temp CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_sauid_tbl_temp AS
(
SELECT
a.sauid,
a.dauid,
a.csduid,
a.csdname,
a.cduid,
a.cdname,
a.fsauid,
a.eruid,
a.ername,
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake
FROM dsra.dsra_all_scenarios_tbl a
GROUP BY sauid,dauid,csduid,csdname,cduid,cdname,fsauid,eruid,ername,pruid,prname,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake);
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_sauid_tbl CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_sauid_tbl AS
(
SELECT
a.sauid,
a.dauid,
a.csduid,
a.csdname,
a.cduid,
a.cdname,
a.fsauid,
a.eruid,
a.ername,
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake,
b.geom
FROM dsra.dsra_all_scenarios_sauid_tbl_temp a
LEFT JOIN boundaries."Geometry_SAUID" b ON a.sauid = b."SAUIDt");
-- create index on master dsra sauid table
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_sauid_sauid_idx ON dsra.dsra_all_scenarios_sauid_tbl(sauid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_sauid_dauid_idx ON dsra.dsra_all_scenarios_sauid_tbl(dauid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_sauid_csduid_idx ON dsra.dsra_all_scenarios_sauid_tbl(csduid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_sauid_fsauid_idx ON dsra.dsra_all_scenarios_sauid_tbl(fsauid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_sauid_cduid_idx ON dsra.dsra_all_scenarios_sauid_tbl(cduid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_sauid_eruid_idx ON dsra.dsra_all_scenarios_sauid_tbl(eruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_sauid_pruid_idx ON dsra.dsra_all_scenarios_sauid_tbl(pruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_sauid_geom_idx ON dsra.dsra_all_scenarios_sauid_tbl USING GIST(geom);
-- create master dsra sauid view
DROP VIEW IF EXISTS dsra.dsra_all_scenarios_sauid CASCADE;
CREATE VIEW dsra.dsra_all_scenarios_sauid AS
SELECT * FROM dsra.dsra_all_scenarios_sauid_tbl ORDER BY sauid,sh_rupname;
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_sauid_tbl_temp CASCADE;
/*
-- create master dsra dauid view
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_dauid_tbl CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_dauid_tbl AS
(
SELECT
a.dauid,
a.csduid,
a.csdname,
a.fsauid,
a.cduid,
a.cdname,
a.eruid,
a.ername,
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake,
b.geom
FROM dsra.dsra_all_scenarios_tbl a
LEFT JOIN boundaries."Geometry_DAUID" b ON a.dauid = b."DAUID"
GROUP BY dauid,csduid,csdname,fsauid,cduid,cdname,eruid,ername,pruid,prname,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,b.geom);
-- create index on master dsra dauid table
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_dauid_dauid_idx ON dsra.dsra_all_scenarios_dauid_tbl(dauid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_dauid_csduid_idx ON dsra.dsra_all_scenarios_dauid_tbl(csduid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_dauid_fsauid_idx ON dsra.dsra_all_scenarios_dauid_tbl(fsauid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_dauid_cduid_idx ON dsra.dsra_all_scenarios_dauid_tbl(cduid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_dauid_eruid_idx ON dsra.dsra_all_scenarios_dauid_tbl(eruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_dauid_pruid_idx ON dsra.dsra_all_scenarios_dauid_tbl(pruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_dauid_geom_idx ON dsra.dsra_all_scenarios_dauid_tbl USING GIST(geom);
-- create master dsra dauid view
DROP VIEW IF EXISTS dsra.dsra_all_scenarios_dauid CASCADE;
CREATE VIEW dsra.dsra_all_scenarios_dauid AS
SELECT * FROM dsra.dsra_all_scenarios_dauid_tbl;
*/
-- create master dsra dauid view
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_dauid_tbl_temp CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_dauid_tbl_temp AS
(
SELECT
a.dauid,
a.csduid,
a.csdname,
a.cduid,
a.cdname,
a.eruid,
a.ername,
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake
FROM dsra.dsra_all_scenarios_tbl a
LEFT JOIN boundaries."Geometry_DAUID" b ON a.dauid = b."DAUID"
GROUP BY dauid,csduid,csdname,cduid,cdname,eruid,ername,pruid,prname,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake);
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_dauid_tbl CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_dauid_tbl AS
(
SELECT
a.dauid,
a.csduid,
a.csdname,
a.cduid,
a.cdname,
a.eruid,
a.ername,
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake,
b.geom
FROM dsra.dsra_all_scenarios_dauid_tbl_temp a
LEFT JOIN boundaries."Geometry_DAUID" b ON a.dauid = b."DAUID");
-- create index on master dsra dauid table
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_dauid_dauid_idx ON dsra.dsra_all_scenarios_dauid_tbl(dauid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_dauid_csduid_idx ON dsra.dsra_all_scenarios_dauid_tbl(csduid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_dauid_cduid_idx ON dsra.dsra_all_scenarios_dauid_tbl(cduid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_dauid_eruid_idx ON dsra.dsra_all_scenarios_dauid_tbl(eruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_dauid_pruid_idx ON dsra.dsra_all_scenarios_dauid_tbl(pruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_dauid_geom_idx ON dsra.dsra_all_scenarios_dauid_tbl USING GIST(geom);
-- create master dsra dauid view
DROP VIEW IF EXISTS dsra.dsra_all_scenarios_dauid CASCADE;
CREATE VIEW dsra.dsra_all_scenarios_dauid AS
SELECT * FROM dsra.dsra_all_scenarios_dauid_tbl ORDER BY dauid,sh_rupname;
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_dauid_tbl_temp CASCADE;
/*
-- create master dsra csduid view
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_csduid_tbl CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_csduid_tbl AS
(
SELECT
a.csduid,
a.csdname,
a.fsauid,
a.cduid,
a.cdname,
a.eruid,
a.ername,
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake,
b.geom
FROM dsra.dsra_all_scenarios_tbl a
LEFT JOIN boundaries."Geometry_CSDUID" b ON a.csduid = b."CSDUID"
GROUP BY csduid,csdname,fsauid,cduid,cdname,eruid,ername,pruid,prname,sh_rupname,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,b.geom);
-- create index on master dsra csduid table
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_csduid_csduid_idx ON dsra.dsra_all_scenarios_csduid_tbl(csduid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_csduid_fsauid_idx ON dsra.dsra_all_scenarios_csduid_tbl(fsauid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_csduid_cduid_idx ON dsra.dsra_all_scenarios_csduid_tbl(cduid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_csduid_eruid_idx ON dsra.dsra_all_scenarios_csduid_tbl(eruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_csduid_pruid_idx ON dsra.dsra_all_scenarios_csduid_tbl(pruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_csduid_geom_idx ON dsra.dsra_all_scenarios_csduid_tbl USING GIST(geom);
-- create master dsra csduid view
DROP VIEW IF EXISTS dsra.dsra_all_scenarios_csduid CASCADE;
CREATE VIEW dsra.dsra_all_scenarios_csduid AS
SELECT * FROM dsra.dsra_all_scenarios_csduid_tbl;
*/
-- create master dsra csduid view
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_csduid_tbl_temp CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_csduid_tbl_temp AS
(
SELECT
a.csduid,
a.csdname,
a.cduid,
a.cdname,
a.eruid,
a.ername,
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake
FROM dsra.dsra_all_scenarios_tbl a
GROUP BY csduid,csdname,cduid,cdname,eruid,ername,pruid,prname,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake);
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_csduid_tbl CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_csduid_tbl AS
(
SELECT
a.csduid,
a.csdname,
a.cduid,
a.cdname,
a.eruid,
a.ername,
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake,
b.geom
FROM dsra.dsra_all_scenarios_csduid_tbl_temp a
LEFT JOIN boundaries."Geometry_CSDUID" b ON a.csduid = b."CSDUID");
-- create index on master dsra csduid table
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_csduid_csduid_idx ON dsra.dsra_all_scenarios_csduid_tbl(csduid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_csduid_cduid_idx ON dsra.dsra_all_scenarios_csduid_tbl(cduid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_csduid_eruid_idx ON dsra.dsra_all_scenarios_csduid_tbl(eruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_csduid_pruid_idx ON dsra.dsra_all_scenarios_csduid_tbl(pruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_csduid_geom_idx ON dsra.dsra_all_scenarios_csduid_tbl USING GIST(geom);
-- create master dsra csduid view
DROP VIEW IF EXISTS dsra.dsra_all_scenarios_csduid CASCADE;
CREATE VIEW dsra.dsra_all_scenarios_csduid AS
SELECT * FROM dsra.dsra_all_scenarios_csduid_tbl ORDER BY csduid,sh_rupname;
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_csduid_tbl_temp CASCADE;
/*
-- create master dsra fsauid view
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_fsauid_tbl CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_fsauid_tbl AS
(
SELECT
a.fsauid,
a.cduid,
a.cdname,
a.eruid,
a.ername,
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake,
b.geom
FROM dsra.dsra_all_scenarios_tbl a
LEFT JOIN boundaries."Geometry_FSAUID" b ON a.fsauid = b."CFSAUID"
GROUP BY fsauid,cduid,cdname,eruid,ername,pruid,prname,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,b.geom);
-- create index on master dsra fsauid table
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_fsauid_fsauid_idx ON dsra.dsra_all_scenarios_fsauid_tbl(fsauid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_fsauid_cduid_idx ON dsra.dsra_all_scenarios_fsauid_tbl(cduid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_fsauid_eruid_idx ON dsra.dsra_all_scenarios_fsauid_tbl(eruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_fsauid_pruid_idx ON dsra.dsra_all_scenarios_fsauid_tbl(pruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_fsauid_geom_idx ON dsra.dsra_all_scenarios_fsauid_tbl USING GIST(geom);
-- create master dsra fsauid view
DROP VIEW IF EXISTS dsra.dsra_all_scenarios_fsauid CASCADE;
CREATE VIEW dsra.dsra_all_scenarios_fsauid AS
SELECT * FROM dsra.dsra_all_scenarios_fsauid_tbl;
*/
-- create master dsra fsauid view
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_fsauid_tbl_temp CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_fsauid_tbl_temp AS
(
SELECT
a.fsauid,
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake
FROM dsra.dsra_all_scenarios_tbl a
GROUP BY fsauid,pruid,prname,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake);
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_fsauid_tbl CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_fsauid_tbl AS
(
SELECT
a.fsauid,
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake,
b.geom
FROM dsra.dsra_all_scenarios_fsauid_tbl_temp a
LEFT JOIN boundaries."Geometry_FSAUID" b ON a.fsauid = b."CFSAUID");
-- create index on master dsra fsauid table
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_fsauid_fsauid_idx ON dsra.dsra_all_scenarios_fsauid_tbl(fsauid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_fsauid_pruid_idx ON dsra.dsra_all_scenarios_fsauid_tbl(pruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_fsauid_geom_idx ON dsra.dsra_all_scenarios_fsauid_tbl USING GIST(geom);
-- create master dsra fsauid view
DROP VIEW IF EXISTS dsra.dsra_all_scenarios_fsauid CASCADE;
CREATE VIEW dsra.dsra_all_scenarios_fsauid AS
SELECT * FROM dsra.dsra_all_scenarios_fsauid_tbl ORDER BY fsauid,sh_rupname;
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_fsauid_tbl_temp CASCADE;
/*
-- create master dsra cduid view
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_cduid_tbl CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_cduid_tbl AS
(
SELECT
a.cduid,
a.cdname,
a.eruid,
a.ername,
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake,
b.geom
FROM dsra.dsra_all_scenarios_tbl a
LEFT JOIN boundaries."Geometry_CDUID" b ON a.cduid = b."CDUID"
GROUP BY cduid,cdname,eruid,ername,pruid,prname,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,b.geom);
-- create index on master dsra cduid table
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_cduid_cduid_idx ON dsra.dsra_all_scenarios_cduid_tbl(cduid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_cduid_eruid_idx ON dsra.dsra_all_scenarios_cduid_tbl(eruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_cduid_pruid_idx ON dsra.dsra_all_scenarios_cduid_tbl(pruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_cduid_geom_idx ON dsra.dsra_all_scenarios_cduid_tbl USING GIST(geom);
-- create master dsra cduid view
DROP VIEW IF EXISTS dsra.dsra_all_scenarios_cduid CASCADE;
CREATE VIEW dsra.dsra_all_scenarios_cduid AS
SELECT * FROM dsra.dsra_all_scenarios_cduid_tbl;
*/
-- create master dsra cduid view
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_cduid_tbl_temp CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_cduid_tbl_temp AS
(
SELECT
a.cduid,
a.cdname,
a.eruid,
a.ername,
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake
FROM dsra.dsra_all_scenarios_tbl a
GROUP BY cduid,cdname,eruid,ername,pruid,prname,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake);
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_cduid_tbl CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_cduid_tbl AS
(
SELECT
a.cduid,
a.cdname,
a.eruid,
a.ername,
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake,
b.geom
FROM dsra.dsra_all_scenarios_cduid_tbl_temp a
LEFT JOIN boundaries."Geometry_CDUID" b ON a.cduid = b."CDUID");
-- create index on master dsra cduid table
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_cduid_cduid_idx ON dsra.dsra_all_scenarios_cduid_tbl(cduid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_cduid_eruid_idx ON dsra.dsra_all_scenarios_cduid_tbl(eruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_cduid_pruid_idx ON dsra.dsra_all_scenarios_cduid_tbl(pruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_cduid_geom_idx ON dsra.dsra_all_scenarios_cduid_tbl USING GIST(geom);
-- create master dsra cduid view
DROP VIEW IF EXISTS dsra.dsra_all_scenarios_cduid CASCADE;
CREATE VIEW dsra.dsra_all_scenarios_cduid AS
SELECT * FROM dsra.dsra_all_scenarios_cduid_tbl ORDER BY cduid,sh_rupname;
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_cduid_tbl_temp CASCADE;
/*
-- create master dsra eruid view
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_eruid_tbl CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_eruid_tbl AS
(
SELECT
a.eruid,
a.ername,
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake,
b.geom
FROM dsra.dsra_all_scenarios_tbl a
LEFT JOIN boundaries."Geometry_CDUID" b ON a.eruid = b."CDUID"
GROUP BY eruid,ername,pruid,prname,sh_rupname,sh_mag,sh_rupabbr,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,b.geom);
-- create index on master dsra eruid table
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_eruid_eruid_idx ON dsra.dsra_all_scenarios_eruid_tbl(eruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_eruid_pruid_idx ON dsra.dsra_all_scenarios_eruid_tbl(pruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_eruid_geom_idx ON dsra.dsra_all_scenarios_eruid_tbl USING GIST(geom);
-- create master dsra eruid view
DROP VIEW IF EXISTS dsra.dsra_all_scenarios_eruid CASCADE;
CREATE VIEW dsra.dsra_all_scenarios_eruid AS
SELECT * FROM dsra.dsra_all_scenarios_eruid_tbl;
*/
-- create master dsra eruid view
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_eruid_tbl_temp CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_eruid_tbl_temp AS
(
SELECT
a.eruid,
a.ername,
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake
FROM dsra.dsra_all_scenarios_tbl a
GROUP BY eruid,ername,pruid,prname,sh_rupname,sh_mag,sh_rupabbr,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake);
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_eruid_tbl CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_eruid_tbl AS
(
SELECT
a.eruid,
a.ername,
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake,
b.geom
FROM dsra.dsra_all_scenarios_eruid_tbl_temp a
LEFT JOIN boundaries."Geometry_ERUID" b ON a.eruid = b."ERUID");
-- create index on master dsra eruid table
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_eruid_eruid_idx ON dsra.dsra_all_scenarios_eruid_tbl(eruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_eruid_pruid_idx ON dsra.dsra_all_scenarios_eruid_tbl(pruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_eruid_geom_idx ON dsra.dsra_all_scenarios_eruid_tbl USING GIST(geom);
-- create master dsra eruid view
DROP VIEW IF EXISTS dsra.dsra_all_scenarios_eruid CASCADE;
CREATE VIEW dsra.dsra_all_scenarios_eruid AS
SELECT * FROM dsra.dsra_all_scenarios_eruid_tbl ORDER BY eruid,sh_rupname;
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_eruid_tbl_temp CASCADE;
/*
--group by geom field is computationally extensive for bigger features especially at the national canada level. suggest to aggregate without geom and attach geom after.
-- create master dsra pruid view
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_pruid_tbl CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_pruid_tbl AS
(
SELECT
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake,
b.geom
FROM dsra.dsra_all_scenarios_tbl a
LEFT JOIN boundaries."Geometry_PRUID" b ON a.pruid = b."PRUID"
GROUP BY pruid,prname,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake,b.geom);
-- create index on master dsra pruid table
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_pruid_pruid_idx ON dsra.dsra_all_scenarios_pruid_tbl(pruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_pruid_geom_idx ON dsra.dsra_all_scenarios_pruid_tbl USING GIST(geom);
-- create master dsra pruid view
DROP VIEW IF EXISTS dsra.dsra_all_scenarios_pruid CASCADE;
CREATE VIEW dsra.dsra_all_scenarios_pruid AS
SELECT * FROM dsra.dsra_all_scenarios_pruid_tbl;
*/
-- create master dsra pruid view
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_pruid_tbl_temp CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_pruid_tbl_temp AS
(
SELECT
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake
FROM dsra.dsra_all_scenarios_tbl a
GROUP BY pruid,prname,sh_rupname,sh_rupabbr,sh_mag,sh_hypolon,sh_hypolat,sh_hypodepth,sh_rake);
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_pruid_tbl CASCADE;
CREATE TABLE dsra.dsra_all_scenarios_pruid_tbl AS
(
SELECT
a.pruid,
a.prname,
a.sh_rupname,
a.sh_rupabbr,
a.sh_mag,
a.sh_hypolon,
a.sh_hypolat,
a.sh_hypodepth,
a.sh_rake,
b.geom
FROM dsra.dsra_all_scenarios_pruid_tbl_temp a
LEFT JOIN boundaries."Geometry_PRUID" b ON a.pruid = b."PRUID");
-- create index on master dsra pruid table
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_pruid_pruid_idx ON dsra.dsra_all_scenarios_pruid_tbl(pruid);
CREATE INDEX IF NOT EXISTS dsra_all_scenarios_pruid_geom_idx ON dsra.dsra_all_scenarios_pruid_tbl USING GIST(geom);
-- create master dsra pruid view
DROP VIEW IF EXISTS dsra.dsra_all_scenarios_pruid CASCADE;
CREATE VIEW dsra.dsra_all_scenarios_pruid AS
SELECT * FROM dsra.dsra_all_scenarios_pruid_tbl ORDER BY pruid,sh_rupname;
DROP TABLE IF EXISTS dsra.dsra_all_scenarios_pruid_tbl_temp CASCADE;
-- values for dsra master table
/*
SELECT
a."AssetID",
f.rupture_name AS "sH_RupName",
a."Rupture_Abbr" AS "sH_RupAbbr",
f.magnitude AS "sH_Mag",
CAST(CAST(ROUND(CAST(f.lon AS NUMERIC),6) AS FLOAT) AS NUMERIC) AS "sH_HypoLon",
CAST(CAST(ROUND(CAST(f.lat AS NUMERIC),6) AS FLOAT) AS NUMERIC) AS "sH_HypoLat",
CAST(CAST(ROUND(CAST(f.depth AS NUMERIC),6) AS FLOAT) AS NUMERIC) AS "sH_HypoDepth",
f.rake AS "sH_Rake",
b.sauid AS "Sauid",
c."PRUID" AS "pruid",
c."PRNAME" AS "prname",
c."ERUID" AS "eruid",
c."ERNAME" AS "ername",
c."CDUID" AS "cduid",
c."CDNAME" AS "cdname",
c."CSDUID" AS "csduid",
c."CSDNAME" AS "csdname",
c."CFSAUID" AS "fsauid",
c."DAUIDt" AS "dauid",
c."SACCODE" AS "saccode",
c."SACTYPE" AS "sactype",
b.geom AS "geom_point"
FROM dsra.dsra_sim9p0_cszlockedtrans a
LEFT JOIN exposure.canada_exposure b ON a."AssetID" = b.id
LEFT JOIN boundaries."Geometry_SAUID" c on b.sauid = c."SAUIDt"
LEFT JOIN ruptures.rupture_table f ON f.rupture_name = a."Rupture_Abbr";
*/ |
create proc h3giSmsSalesBreakdownReport
as
begin
set nocount on
DECLARE @dayMorning datetime
declare @time datetime
DECLARE @uniqRetailers TABLE (
[retailerCode] varchar(50) NOT NULL,
[channelCode] varchar(20) NOT NULL,
PRIMARY KEY CLUSTERED
([retailerCode] ASC, [channelCode] ASC)
);
SELECT @time = ISNULL(@time, getdate());
SELECT @dayMorning = DATEADD(dd, DATEDIFF(dd, 0, @time), 0);
INSERT INTO @uniqRetailers([retailerCode], [channelCode]) SELECT DISTINCT retailercode, channelCode FROM h3giSMSGroupDetail WHERE retailercode != '';
SELECT
sgh2.groupName,
orderRef,
IMEI,
ICCID,
channelCode
FROM
h3giSMSGroupHeader sgh2
LEFT OUTER JOIN
(
SELECT sgh.groupId, sgh.groupTypeId, oh.orderRef AS [orderRef], oh.IMEI as [IMEI], oh.ICCID as [ICCID], oh.channelCode as channelCode
FROM h3giSMSGroupHeader sgh WITH(NOLOCK)
INNER JOIN h3giSMSGroupOrderFilter sgof
ON sgh.groupTypeId = sgof.groupTypeId
INNER JOIN h3giSMSGroupDetail sgd WITH(NOLOCK)
ON sgh.groupId = sgd.groupId
CROSS JOIN b4nOrderHistory ohi WITH(NOLOCK)
INNER JOIN h3giOrderHeader oh WITH(NOLOCK)
ON oh.orderref = ohi.orderref
inner join b4nOrderHeader boh with (nolock)
on oh.orderref = boh.orderref
INNER JOIN h3giProductCatalogue pc WITH(NOLOCK)
ON pc.catalogueVersionId = oh.catalogueVersionId
AND pc.productFamilyId = oh.phoneProductCode
INNER JOIN h3giProductAttributeValue pav WITH(NOLOCK)
ON pav.catalogueProductId = pc.catalogueProductId
INNER JOIN h3giProductAttribute pa WITH(NOLOCK)
ON pav.attributeId = pa.attributeId
WHERE ohi.statusdate <= @time
AND ohi.statusdate >= @dayMorning
AND ohi.orderStatus = sgof.orderStatus
AND oh.channelCode = sgd.channelCode
AND ( ((sgd.retailerCode = '') AND ((oh.retailerCode IN (SELECT retailercode FROM @uniqRetailers WHERE channelcode = oh.channelCode)) OR (oh.channelCode NOT IN (SELECT channelCode FROM @uniqRetailers))))
OR ((sgd.retailerCode <> '' ) AND (oh.retailerCode LIKE sgd.retailerCode)) --2008/12/01 - AJ - we use LIKE operator now
)
AND pc.prepay = sgof.orderType
AND ( (sgof.attributeName IS NULL)
OR ((sgof.attributeName = pa.attributeName) AND pav.attributeValue = sgof.attributeValue)
)
) totals
ON sgh2.groupId = totals.groupId
AND sgh2.groupTypeId = totals.groupTypeId
ORDER BY sgh2.priority, orderRef;
end
GRANT EXECUTE ON h3giSmsSalesBreakdownReport TO b4nuser
GO
|
CREATE OR REPLACE PACKAGE BODY app_lob
IS
PROCEDURE blobtofile(
p_blob BLOB
,p_directory VARCHAR2
,p_filename VARCHAR2
)
AS
v_file UTL_FILE.file_type;
v_buffer RAW(32767);
v_amount BINARY_INTEGER := 32767;
v_pos INTEGER := 1;
v_blob_len INTEGER;
BEGIN
v_blob_len := DBMS_LOB.getlength(p_blob);
v_file := UTL_FILE.fopen(p_directory, p_filename, 'wb', 32767);
WHILE v_pos <= v_blob_len LOOP
DBMS_LOB.read(p_blob, v_amount, v_pos, v_buffer);
UTL_FILE.put_raw(v_file, v_buffer, TRUE);
v_pos := v_pos + v_amount;
END LOOP;
UTL_FILE.fclose(v_file);
EXCEPTION WHEN OTHERS THEN
IF UTL_FILE.is_open(v_file) THEN
UTL_FILE.fclose(v_file);
END IF;
RAISE;
END blobtofile
;
FUNCTION clobtoblob(
p_clob CLOB
) RETURN BLOB
AS
-- these are in/out parameters in the dbms_lob procedure
-- we do not look at them after the call, but they must be variables
v_dest_offset PLS_INTEGER := 1;
v_src_offset PLS_INTEGER := 1;
v_lang_context PLS_INTEGER := DBMS_LOB.default_lang_ctx;
v_warning PLS_INTEGER := DBMS_LOB.warn_inconvertible_char;
v_blob BLOB;
BEGIN
DBMS_LOB.createtemporary(
lob_loc => v_blob
,cache => TRUE
);
DBMS_LOB.converttoblob(
dest_lob => v_blob
,src_clob => p_clob
,amount => DBMS_LOB.lobmaxsize
,dest_offset => v_dest_offset
,src_offset => v_src_offset
,blob_csid => DBMS_LOB.default_csid
,lang_context => v_lang_context
,warning => v_warning
);
RETURN v_blob;
END clobtoblob
;
FUNCTION filetoblob(
p_directory VARCHAR2
,p_filename VARCHAR2
) RETURN BLOB
AS
v_bfile BFILE;
v_blob BLOB;
BEGIN
DBMS_LOB.createtemporary(v_blob, FALSE);
v_bfile := BFILENAME(p_directory, p_filename);
DBMS_LOB.fileopen(v_bfile, DBMS_LOB.file_readonly);
DBMS_LOB.loadfromfile(v_blob, v_bfile, DBMS_LOB.getlength(v_bfile));
DBMS_LOB.fileclose(v_bfile);
RETURN v_blob;
EXCEPTION WHEN OTHERS THEN
IF DBMS_LOB.fileisopen(v_bfile) = 1
THEN DBMS_LOB.fileclose(v_bfile);
END IF;
DBMS_LOB.freetemporary(v_blob);
RAISE;
END filetoblob
;
FUNCTION filetoclob(
p_directory VARCHAR2
,p_filename VARCHAR2
) RETURN CLOB
AS
v_bfile BFILE;
v_clob CLOB := empty_clob();
v_clob2 CLOB;
v_wrn INTEGER;
v_src_off INTEGER := 1;
v_dest_off INTEGER := 1;
v_lang_ctx INTEGER := 0;
BEGIN
v_bfile := BFILENAME(p_directory, p_filename);
DBMS_LOB.fileopen(v_bfile, DBMS_LOB.file_readonly);
IF DBMS_LOB.getlength(v_bfile) > 0 THEN
DBMS_LOB.createtemporary(v_clob, TRUE);
DBMS_LOB.loadclobfromfile(v_clob, v_bfile, DBMS_LOB.getlength(v_bfile)
,v_dest_off
,v_src_off
,0, v_lang_ctx, v_wrn
);
v_clob2 := v_clob;
DBMS_LOB.freetemporary(v_clob);
END IF;
DBMS_LOB.fileclose(v_bfile);
RETURN v_clob2;
EXCEPTION WHEN OTHERS THEN
IF DBMS_LOB.fileisopen(v_bfile) = 1
THEN DBMS_LOB.fileclose(v_bfile);
END IF;
DBMS_LOB.freetemporary(v_clob);
RAISE;
END filetoclob
;
END app_lob;
/
show errors
-- it is invoker rights, so would not hurt anything to share it.
--GRANT EXECUTE ON app_lob TO PUBLIC;
|
-- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Servidor: 1192.168.3.11
-- Tiempo de generación: 04-01-2022 a las 04:26:10
-- Versión del servidor: 10.4.18-MariaDB
-- Versión de PHP: 8.0.3
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: `sifescnueva`
--
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `administrador`
--
CREATE TABLE `administrador` (
`usuario_id_fk` int(100) NOT NULL,
`estatus` int(2) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT;
--
-- Volcado de datos para la tabla `administrador`
--
INSERT INTO `administrador` (`usuario_id_fk`, `estatus`, `created_at`, `updated_at`) VALUES
(2, 1, '2021-12-17 06:32:27', '2021-12-17 06:32:45'),
(5, 1, '2021-12-17 06:32:27', '2021-12-17 06:32:45'),
(9, 1, '2021-12-17 06:32:27', '2021-12-17 06:32:45'),
(10, 1, '2021-12-17 06:32:27', '2021-12-17 06:32:45');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `alumno`
--
CREATE TABLE `alumno` (
`usuario_id_fk` int(100) NOT NULL,
`updated_at` timestamp NOT NULL DEFAULT current_timestamp(),
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT;
--
-- Volcado de datos para la tabla `alumno`
--
INSERT INTO `alumno` (`usuario_id_fk`, `updated_at`, `created_at`) VALUES
(1, '2021-11-25 21:54:25', '2021-11-25 21:54:25'),
(2, '2021-11-25 22:05:57', '2021-11-25 22:05:57'),
(3, '2021-11-25 22:07:41', '2021-11-25 22:07:41'),
(4, '2021-11-25 22:07:41', '2021-11-25 22:07:41'),
(5, '2021-11-25 22:14:27', '2021-11-25 22:14:27'),
(6, '2021-11-25 22:14:27', '2021-11-25 22:14:27'),
(8, '2021-11-25 22:14:48', '2021-11-25 22:14:48'),
(11, '2021-12-06 17:46:04', '2021-12-06 17:46:04'),
(12, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(13, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(14, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(15, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(16, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(17, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(18, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(19, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(20, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(21, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(22, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(23, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(24, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(25, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(26, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(27, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(28, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(29, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(30, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(32, '2021-12-23 00:22:35', '2021-12-23 00:22:35'),
(33, '2021-12-23 00:22:35', '2021-12-23 00:22:35'),
(34, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(35, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(36, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(37, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(38, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(39, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(40, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(41, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(42, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(43, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(44, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(45, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(46, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(47, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(48, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(49, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(50, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(51, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(52, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(53, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(54, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(55, '2021-12-23 00:24:36', '2021-12-23 00:24:36'),
(56, '2021-12-23 00:25:25', '2021-12-23 00:25:25');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `area`
--
CREATE TABLE `area` (
`id_area` int(2) NOT NULL,
`nombre` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Volcado de datos para la tabla `area`
--
INSERT INTO `area` (`id_area`, `nombre`) VALUES
(1, 'Ciencias Físico Matemáticas y de las Ingenierías'),
(2, 'Ciencias Biológicas, Químicas y de la Salud'),
(3, 'Ciencias Sociales'),
(4, 'Humanidades y las Artes');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `asignacion`
--
CREATE TABLE `asignacion` (
`id_asignacion` int(10) NOT NULL,
`id_usuarioprofesor_fk` int(100) NOT NULL,
`id_grupo_fk` int(5) NOT NULL,
`id_periodo_fk` int(100) NOT NULL,
`cupo` int(3) NOT NULL,
`inscritos` int(2) NOT NULL,
`updated_at` timestamp NOT NULL DEFAULT current_timestamp(),
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT;
--
-- Volcado de datos para la tabla `asignacion`
--
INSERT INTO `asignacion` (`id_asignacion`, `id_usuarioprofesor_fk`, `id_grupo_fk`, `id_periodo_fk`, `cupo`, `inscritos`, `updated_at`, `created_at`) VALUES
(1, 1, 31, 8, 25, 7, '2021-11-25 23:29:55', '2021-11-25 23:29:55'),
(2, 1, 1, 8, 25, 1, '2021-11-25 23:29:55', '2021-11-25 23:29:55'),
(3, 5, 2, 8, 25, 0, '2021-11-25 23:31:04', '2021-11-25 23:31:04'),
(4, 5, 4, 8, 25, 0, '2021-11-25 23:31:04', '2021-11-25 23:31:04'),
(5, 7, 11, 9, 25, 0, '2021-11-25 23:33:02', '2021-11-25 23:33:02'),
(6, 7, 14, 9, 25, 0, '2021-11-25 23:33:02', '2021-11-25 23:33:02'),
(7, 9, 12, 9, 25, 0, '2021-11-25 23:33:34', '2021-11-25 23:33:34'),
(8, 9, 15, 9, 25, 0, '2021-11-25 23:33:34', '2021-11-25 23:33:34'),
(9, 5, 21, 9, 25, 0, '2021-12-11 17:27:14', '2021-12-11 17:27:14'),
(10, 1, 27, 8, 25, 0, '2021-12-17 21:38:01', '2021-12-17 21:38:01'),
(11, 1, 32, 8, 25, 0, '2021-12-17 22:37:40', '2021-12-17 22:37:40'),
(12, 77, 243, 9, 25, 3, '2021-12-23 23:02:38', '2021-12-23 23:02:38'),
(13, 79, 38, 9, 25, 2, '2021-12-23 23:08:02', '2021-12-23 23:08:02'),
(14, 94, 39, 9, 25, 1, '2021-12-23 23:08:02', '2021-12-23 23:08:02'),
(15, 100, 40, 9, 25, 1, '2021-12-23 23:08:02', '2021-12-23 23:08:02'),
(16, 79, 41, 9, 25, 1, '2021-12-23 23:08:02', '2021-12-23 23:08:02'),
(17, 94, 42, 9, 25, 2, '2021-12-23 23:08:02', '2021-12-23 23:08:02'),
(18, 88, 43, 9, 25, 2, '2021-12-23 23:15:32', '2021-12-23 23:15:32'),
(19, 88, 44, 9, 25, 1, '2021-12-23 23:15:32', '2021-12-23 23:15:32'),
(20, 86, 45, 9, 25, 1, '2021-12-23 23:15:32', '2021-12-23 23:15:32'),
(21, 121, 46, 9, 25, 1, '2021-12-23 23:15:32', '2021-12-23 23:15:32'),
(22, 88, 47, 9, 25, 2, '2021-12-23 23:15:32', '2021-12-23 23:15:32'),
(23, 61, 244, 9, 25, 1, '2021-12-23 23:36:55', '2021-12-23 23:36:55'),
(24, 62, 245, 9, 25, 1, '2021-12-23 23:57:28', '2021-12-23 23:57:28'),
(25, 63, 246, 9, 25, 0, '2021-12-23 23:57:28', '2021-12-23 23:57:28'),
(26, 64, 247, 9, 25, 1, '2021-12-23 23:57:28', '2021-12-23 23:57:28'),
(27, 65, 248, 9, 25, 1, '2021-12-23 23:57:28', '2021-12-23 23:57:28'),
(28, 66, 249, 9, 25, 1, '2021-12-23 23:57:28', '2021-12-23 23:57:28'),
(29, 67, 250, 9, 25, 1, '2021-12-23 23:57:28', '2021-12-23 23:57:28'),
(30, 68, 251, 9, 25, 1, '2021-12-23 23:57:28', '2021-12-23 23:57:28'),
(31, 69, 252, 9, 25, 1, '2021-12-23 23:57:28', '2021-12-23 23:57:28'),
(32, 70, 253, 9, 25, 1, '2021-12-23 23:57:28', '2021-12-23 23:57:28'),
(33, 90, 254, 9, 25, 0, '2021-12-23 23:57:28', '2021-12-23 23:57:28'),
(34, 72, 255, 9, 25, 1, '2021-12-23 23:57:28', '2021-12-23 23:57:28'),
(35, 73, 256, 9, 25, 1, '2021-12-23 23:57:28', '2021-12-23 23:57:28'),
(36, 74, 257, 9, 25, 1, '2021-12-23 23:57:28', '2021-12-23 23:57:28'),
(37, 75, 258, 9, 25, 1, '2021-12-23 23:57:28', '2021-12-23 23:57:28'),
(38, 83, 48, 9, 25, 0, '2021-12-24 00:06:13', '2021-12-24 00:06:13'),
(39, 83, 49, 9, 25, 2, '2021-12-24 00:09:59', '2021-12-24 00:09:59'),
(40, 137, 50, 9, 25, 1, '2021-12-24 00:09:59', '2021-12-24 00:09:59'),
(41, 129, 51, 9, 25, 1, '2021-12-24 00:09:59', '2021-12-24 00:09:59'),
(42, 129, 52, 9, 25, 2, '2021-12-24 00:09:59', '2021-12-24 00:09:59'),
(43, 95, 53, 9, 25, 2, '2021-12-24 00:12:45', '2021-12-24 00:12:45'),
(44, 132, 54, 9, 25, 1, '2021-12-24 00:12:45', '2021-12-24 00:12:45'),
(45, 132, 55, 9, 25, 1, '2021-12-24 00:12:45', '2021-12-24 00:12:45'),
(46, 112, 56, 9, 25, 1, '2021-12-24 00:12:45', '2021-12-24 00:12:45'),
(47, 112, 57, 9, 25, 2, '2021-12-24 00:12:45', '2021-12-24 00:12:45'),
(48, 84, 58, 9, 25, 1, '2021-12-24 00:15:38', '2021-12-24 00:15:38'),
(49, 83, 59, 9, 25, 1, '2021-12-24 00:15:38', '2021-12-24 00:15:38'),
(50, 137, 60, 9, 25, 1, '2021-12-24 00:15:38', '2021-12-24 00:15:38'),
(51, 64, 61, 9, 25, 1, '2021-12-24 00:15:38', '2021-12-24 00:15:38'),
(52, 64, 62, 9, 25, 2, '2021-12-24 00:15:38', '2021-12-24 00:15:38'),
(53, 90, 63, 9, 25, 2, '2021-12-24 00:17:34', '2021-12-24 00:17:34'),
(54, 132, 64, 9, 25, 1, '2021-12-24 00:17:34', '2021-12-24 00:17:34'),
(55, 95, 65, 9, 25, 1, '2021-12-24 00:17:34', '2021-12-24 00:17:34'),
(56, 90, 66, 9, 25, 1, '2021-12-24 00:17:34', '2021-12-24 00:17:34'),
(57, 90, 67, 9, 25, 2, '2021-12-24 00:17:34', '2021-12-24 00:17:34'),
(58, 88, 98, 9, 25, 3, '2021-12-24 00:53:56', '2021-12-24 00:53:56'),
(59, 156, 99, 9, 25, 1, '2021-12-24 00:53:56', '2021-12-24 00:53:56'),
(60, 82, 100, 9, 25, 1, '2021-12-24 00:53:56', '2021-12-24 00:53:56'),
(61, 156, 101, 9, 25, 1, '2021-12-24 00:53:56', '2021-12-24 00:53:56'),
(62, 63, 102, 9, 25, 1, '2021-12-24 00:53:56', '2021-12-24 00:53:56'),
(63, 150, 103, 9, 25, 3, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(64, 57, 104, 9, 25, 1, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(65, 148, 105, 9, 25, 1, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(66, 150, 106, 9, 25, 1, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(67, 128, 107, 9, 25, 1, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(68, 114, 108, 9, 25, 3, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(69, 89, 109, 9, 25, 1, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(70, 112, 110, 9, 25, 1, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(71, 156, 111, 9, 25, 1, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(72, 63, 112, 9, 25, 1, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(73, 90, 113, 9, 25, 3, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(74, 132, 114, 9, 25, 1, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(75, 91, 115, 9, 25, 1, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(76, 90, 116, 9, 25, 1, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(77, 108, 117, 9, 25, 1, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(78, 108, 118, 9, 25, 3, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(79, 83, 119, 9, 25, 1, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(80, 89, 120, 9, 25, 1, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(81, 117, 121, 9, 25, 1, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(82, 117, 122, 9, 25, 1, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(83, 84, 123, 9, 25, 3, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(84, 123, 124, 9, 25, 1, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(85, 149, 125, 9, 25, 1, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(86, 123, 126, 9, 25, 1, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(87, 92, 127, 9, 25, 1, '2021-12-24 01:16:02', '2021-12-24 01:16:02'),
(88, 87, 158, 9, 25, 2, '2021-12-24 01:48:22', '2021-12-24 01:48:22'),
(89, 135, 159, 9, 25, 2, '2021-12-24 01:48:22', '2021-12-24 01:48:22'),
(90, 110, 160, 9, 25, 1, '2021-12-24 01:48:22', '2021-12-24 01:48:22'),
(91, 126, 161, 9, 25, 1, '2021-12-24 01:48:22', '2021-12-24 01:48:22'),
(92, 148, 162, 9, 25, 1, '2021-12-24 01:48:22', '2021-12-24 01:48:22'),
(93, 82, 163, 9, 25, 2, '2021-12-24 01:48:22', '2021-12-24 01:48:22'),
(94, 121, 164, 9, 25, 2, '2021-12-24 01:48:22', '2021-12-24 01:48:22'),
(95, 101, 165, 9, 25, 1, '2021-12-24 01:48:22', '2021-12-24 01:48:22'),
(96, 101, 166, 9, 25, 1, '2021-12-24 01:48:22', '2021-12-24 01:48:22'),
(97, 116, 167, 9, 25, 1, '2021-12-24 01:48:22', '2021-12-24 01:48:22'),
(98, 89, 168, 9, 25, 2, '2021-12-24 01:48:22', '2021-12-24 01:48:22'),
(99, 108, 169, 9, 25, 2, '2021-12-24 01:48:22', '2021-12-24 01:48:22'),
(100, 91, 170, 9, 25, 1, '2021-12-24 01:48:22', '2021-12-24 01:48:22'),
(101, 112, 171, 9, 25, 1, '2021-12-24 01:48:22', '2021-12-24 01:48:22'),
(102, 114, 172, 9, 25, 1, '2021-12-24 01:48:22', '2021-12-24 01:48:22'),
(103, 89, 173, 9, 25, 2, '2021-12-24 01:48:22', '2021-12-24 01:48:22'),
(104, 133, 174, 9, 25, 2, '2021-12-24 01:48:22', '2021-12-24 01:48:22'),
(105, 154, 175, 9, 25, 1, '2021-12-24 01:48:22', '2021-12-24 01:48:22'),
(106, 130, 176, 9, 25, 1, '2021-12-24 01:48:22', '2021-12-24 01:48:22'),
(107, 130, 177, 9, 25, 1, '2021-12-24 01:48:22', '2021-12-24 01:48:22'),
(108, 57, 203, 9, 25, 2, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(109, 117, 204, 9, 25, 2, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(110, 125, 205, 9, 25, 2, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(111, 127, 206, 9, 25, 1, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(112, 145, 207, 9, 25, 0, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(113, 82, 208, 9, 25, 2, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(114, 131, 209, 9, 25, 2, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(115, 120, 210, 9, 25, 2, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(116, 116, 211, 9, 25, 1, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(117, 101, 212, 9, 25, 0, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(118, 145, 213, 9, 25, 2, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(119, 82, 214, 9, 25, 2, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(120, 112, 215, 9, 25, 2, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(121, 83, 216, 9, 25, 1, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(122, 83, 217, 9, 25, 0, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(123, 96, 218, 9, 25, 2, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(124, 89, 219, 9, 25, 2, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(125, 148, 220, 9, 25, 2, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(126, 148, 221, 9, 25, 1, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(127, 115, 222, 9, 25, 0, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(128, 84, 223, 9, 25, 2, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(129, 137, 224, 9, 25, 2, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(130, 97, 225, 9, 25, 2, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(131, 119, 226, 9, 25, 1, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(132, 119, 227, 9, 25, 0, '2021-12-24 02:35:43', '2021-12-24 02:35:43'),
(133, 137, 259, 9, 30, 2, '2021-12-24 03:49:26', '2021-12-24 03:49:26'),
(134, 129, 260, 9, 30, 1, '2021-12-24 03:49:26', '2021-12-24 03:49:26'),
(135, 84, 261, 9, 30, 1, '2021-12-24 03:47:41', '2021-12-24 03:47:41'),
(136, 129, 262, 9, 30, 1, '2021-12-24 03:49:26', '2021-12-24 03:49:26'),
(137, 90, 263, 9, 30, 2, '2021-12-24 03:49:26', '2021-12-24 03:49:26'),
(138, 77, 243, 10, 25, 0, '2021-12-24 21:27:36', '2021-12-24 21:27:36'),
(139, 78, 311, 10, 25, 0, '2021-12-24 21:37:57', '2021-12-24 21:37:57'),
(140, 78, 312, 10, 25, 0, '2021-12-24 21:37:57', '2021-12-24 21:37:57'),
(141, 80, 313, 10, 25, 0, '2021-12-24 21:37:57', '2021-12-24 21:37:57'),
(142, 82, 68, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(143, 68, 73, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(144, 83, 78, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(145, 84, 83, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(146, 85, 88, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(147, 86, 93, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(149, 88, 74, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(150, 89, 79, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(151, 90, 84, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(152, 91, 69, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(153, 92, 94, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(154, 93, 70, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(155, 94, 75, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(156, 95, 80, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(157, 90, 85, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(158, 96, 90, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(159, 97, 95, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(160, 82, 71, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(161, 98, 76, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(162, 99, 81, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(163, 99, 86, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(164, 97, 91, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(165, 100, 96, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(166, 101, 72, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(167, 102, 77, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(168, 83, 82, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(169, 103, 87, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(170, 104, 92, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(171, 105, 97, 10, 25, 0, '2021-12-24 22:46:00', '2021-12-24 22:46:00'),
(172, 106, 315, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(173, 93, 128, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(174, 107, 133, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(175, 108, 138, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(176, 109, 143, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(177, 109, 148, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(178, 110, 153, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(179, 111, 129, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(180, 88, 134, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(181, 110, 139, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(182, 112, 144, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(183, 96, 149, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(184, 84, 154, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(185, 111, 130, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(186, 113, 135, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(187, 91, 140, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(188, 114, 145, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(189, 115, 150, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(190, 91, 155, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(191, 157, 131, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(192, 116, 136, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(193, 117, 141, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(194, 118, 146, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(195, 81, 151, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(196, 119, 156, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(197, 120, 132, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(198, 121, 137, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(199, 114, 142, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(200, 90, 147, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(201, 122, 152, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(202, 85, 157, 10, 25, 0, '2021-12-25 18:18:38', '2021-12-25 18:18:38'),
(203, 124, 316, 10, 25, 0, '2021-12-25 21:26:47', '2021-12-25 21:26:47'),
(204, 125, 317, 10, 25, 0, '2021-12-25 21:26:47', '2021-12-25 21:26:47'),
(205, 87, 178, 10, 25, 0, '2021-12-25 21:26:47', '2021-12-25 21:26:47'),
(206, 126, 183, 10, 25, 0, '2021-12-25 21:26:47', '2021-12-25 21:26:47'),
(207, 91, 188, 10, 25, 0, '2021-12-25 21:26:47', '2021-12-25 21:26:47'),
(208, 108, 193, 10, 25, 0, '2021-12-25 21:27:08', '2021-12-25 21:27:08'),
(209, 96, 198, 10, 25, 0, '2021-12-25 21:27:08', '2021-12-25 21:27:08'),
(210, 127, 318, 10, 25, 0, '2021-12-25 21:27:08', '2021-12-25 21:27:08'),
(211, 68, 179, 10, 25, 0, '2021-12-25 21:27:08', '2021-12-25 21:27:08'),
(212, 128, 184, 10, 25, 0, '2021-12-25 21:27:08', '2021-12-25 21:27:08'),
(213, 129, 189, 10, 25, 0, '2021-12-25 21:27:27', '2021-12-25 21:27:27'),
(214, 130, 194, 10, 25, 0, '2021-12-25 21:27:27', '2021-12-25 21:27:27'),
(215, 85, 199, 10, 25, 0, '2021-12-25 21:27:27', '2021-12-25 21:27:27'),
(216, 82, 180, 10, 25, 0, '2021-12-25 21:27:27', '2021-12-25 21:27:27'),
(217, 131, 185, 10, 25, 0, '2021-12-25 21:27:27', '2021-12-25 21:27:27'),
(218, 132, 190, 10, 25, 0, '2021-12-25 21:27:48', '2021-12-25 21:27:48'),
(219, 133, 195, 10, 25, 0, '2021-12-25 21:27:48', '2021-12-25 21:27:48'),
(220, 89, 200, 10, 25, 0, '2021-12-25 21:27:48', '2021-12-25 21:27:48'),
(221, 134, 319, 10, 25, 0, '2021-12-25 21:27:48', '2021-12-25 21:27:48'),
(222, 135, 181, 10, 25, 0, '2021-12-25 21:27:48', '2021-12-25 21:27:48'),
(223, 136, 186, 10, 25, 0, '2021-12-25 21:29:52', '2021-12-25 21:29:52'),
(224, 137, 191, 10, 25, 0, '2021-12-25 21:29:52', '2021-12-25 21:29:52'),
(225, 138, 196, 10, 25, 0, '2021-12-25 21:29:52', '2021-12-25 21:29:52'),
(226, 139, 201, 10, 25, 0, '2021-12-25 21:29:52', '2021-12-25 21:29:52'),
(227, 113, 320, 10, 25, 0, '2021-12-25 21:29:52', '2021-12-25 21:29:52'),
(228, 87, 182, 10, 25, 0, '2021-12-25 21:29:52', '2021-12-25 21:29:52'),
(229, 140, 187, 10, 25, 0, '2021-12-25 21:29:52', '2021-12-25 21:29:52'),
(230, 110, 192, 10, 25, 0, '2021-12-25 21:29:52', '2021-12-25 21:29:52'),
(231, 141, 197, 10, 25, 0, '2021-12-25 21:29:52', '2021-12-25 21:29:52'),
(232, 138, 202, 10, 25, 0, '2021-12-25 21:29:52', '2021-12-25 21:29:52'),
(233, 138, 321, 10, 25, 0, '2021-12-25 23:01:03', '2021-12-25 23:01:03'),
(234, 143, 322, 10, 25, 0, '2021-12-25 23:01:03', '2021-12-25 23:01:03'),
(235, 142, 228, 10, 25, 0, '2021-12-25 23:01:03', '2021-12-25 23:01:03'),
(236, 83, 323, 10, 25, 0, '2021-12-25 23:01:03', '2021-12-25 23:01:03'),
(237, 144, 229, 10, 25, 0, '2021-12-25 23:01:03', '2021-12-25 23:01:03'),
(238, 145, 234, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(239, 104, 324, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(240, 146, 293, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(241, 94, 230, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(242, 147, 235, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(243, 148, 325, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(244, 146, 326, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(245, 149, 327, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(246, 150, 233, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(247, 151, 328, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(248, 83, 294, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(249, 130, 329, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(250, 152, 231, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(251, 153, 236, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(252, 143, 330, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(253, 154, 331, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(254, 129, 332, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(255, 155, 232, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(256, 156, 237, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(257, 102, 333, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(258, 146, 334, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(259, 79, 335, 10, 25, 0, '2021-12-25 23:21:55', '2021-12-25 23:21:55'),
(260, 82, 68, 8, 25, 1, '2021-12-26 18:23:55', '2021-12-26 18:23:55'),
(261, 68, 73, 8, 25, 1, '2021-12-26 18:23:55', '2021-12-26 18:23:55'),
(262, 83, 78, 8, 25, 1, '2021-12-26 18:23:55', '2021-12-26 18:23:55'),
(263, 84, 83, 8, 25, 1, '2021-12-26 18:23:55', '2021-12-26 18:23:55'),
(264, 85, 88, 8, 25, 1, '2021-12-26 18:23:55', '2021-12-26 18:23:55'),
(265, 86, 93, 8, 25, 1, '2021-12-26 18:23:55', '2021-12-26 18:23:55'),
(266, 94, 42, 7, 25, 1, '2021-12-26 21:57:05', '2021-12-26 21:57:05'),
(267, 88, 47, 7, 25, 1, '2021-12-26 21:57:05', '2021-12-26 21:57:05'),
(268, 90, 263, 7, 25, 1, '2021-12-26 21:57:05', '2021-12-26 21:57:05'),
(269, 129, 52, 7, 25, 1, '2021-12-26 21:57:05', '2021-12-26 21:57:05'),
(270, 112, 57, 7, 25, 1, '2021-12-26 21:57:05', '2021-12-26 21:57:05'),
(271, 64, 62, 7, 25, 1, '2021-12-26 21:57:05', '2021-12-26 21:57:05'),
(272, 90, 67, 7, 25, 1, '2021-12-26 21:57:05', '2021-12-26 21:57:05'),
(273, 110, 270, 9, 25, 2, '2021-12-27 00:05:31', '2021-12-27 00:05:31'),
(274, 111, 336, 9, 20, 3, '2021-12-27 00:14:19', '2021-12-27 00:14:19'),
(275, 78, 266, 9, 20, 4, '2021-12-27 00:18:31', '2021-12-27 00:18:31'),
(276, 87, 158, 7, 20, 2, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(277, 135, 159, 7, 20, 2, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(278, 110, 160, 7, 20, 2, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(279, 126, 161, 7, 20, 1, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(280, 148, 162, 7, 20, 0, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(281, 82, 163, 7, 20, 2, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(282, 121, 164, 7, 20, 2, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(283, 101, 165, 7, 20, 2, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(284, 101, 166, 7, 20, 1, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(285, 116, 167, 7, 20, 0, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(286, 89, 168, 7, 20, 2, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(287, 108, 169, 7, 20, 2, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(288, 91, 170, 7, 20, 2, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(289, 112, 171, 7, 20, 1, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(290, 114, 172, 7, 20, 0, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(296, 78, 266, 7, 20, 6, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(297, 78, 267, 7, 20, 1, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(298, 78, 268, 7, 20, 0, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(299, 78, 269, 7, 20, 0, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(300, 127, 264, 7, 20, 0, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(301, 127, 265, 7, 20, 0, '2021-12-27 02:36:34', '2021-12-27 02:36:34'),
(302, 87, 178, 8, 20, 2, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(303, 68, 179, 8, 20, 2, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(304, 82, 180, 8, 20, 2, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(305, 135, 181, 8, 20, 1, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(306, 87, 182, 8, 20, 0, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(307, 126, 183, 8, 20, 2, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(308, 128, 184, 8, 20, 1, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(309, 131, 185, 8, 20, 2, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(310, 136, 186, 8, 20, 1, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(311, 140, 187, 8, 20, 0, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(312, 91, 188, 8, 20, 2, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(313, 129, 189, 8, 20, 1, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(314, 132, 190, 8, 20, 2, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(315, 137, 191, 8, 20, 1, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(316, 110, 192, 8, 20, 0, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(317, 108, 193, 8, 20, 2, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(318, 130, 194, 8, 20, 2, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(319, 133, 195, 8, 20, 2, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(320, 138, 196, 8, 20, 1, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(321, 141, 197, 8, 20, 0, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(322, 96, 198, 8, 20, 2, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(323, 85, 199, 8, 20, 1, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(324, 89, 200, 8, 20, 2, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(325, 139, 201, 8, 20, 1, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(326, 138, 202, 8, 20, 0, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(327, 78, 311, 8, 20, 0, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(328, 78, 269, 8, 20, 5, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(329, 127, 318, 8, 20, 0, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(330, 124, 316, 8, 20, 1, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(331, 134, 319, 8, 20, 1, '2021-12-27 06:08:38', '2021-12-27 06:08:38'),
(332, 57, 203, 7, 20, 1, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(333, 117, 204, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(334, 125, 205, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(335, 127, 206, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(336, 145, 207, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(337, 82, 208, 7, 20, 1, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(338, 131, 209, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(339, 120, 210, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(340, 116, 211, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(341, 117, 212, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(342, 145, 213, 7, 20, 2, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(343, 82, 214, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(344, 112, 215, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(345, 83, 216, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(346, 83, 217, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(347, 96, 218, 7, 20, 2, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(348, 89, 219, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(349, 148, 220, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(350, 148, 221, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(351, 115, 222, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(352, 84, 223, 7, 20, 1, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(353, 137, 224, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(354, 97, 225, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(355, 119, 226, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(356, 119, 227, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(357, 97, 272, 7, 20, 1, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(358, 119, 273, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(359, 127, 264, 7, 20, 0, '2021-12-27 16:55:18', '2021-12-27 16:55:18'),
(361, 142, 228, 8, 20, 1, '2021-12-27 17:26:17', '2021-12-27 17:26:17'),
(362, 144, 229, 8, 20, 1, '2021-12-27 17:26:17', '2021-12-27 17:26:17'),
(363, 94, 230, 8, 20, 0, '2021-12-27 17:26:17', '2021-12-27 17:26:17'),
(364, 152, 231, 8, 20, 0, '2021-12-27 17:26:17', '2021-12-27 17:26:17'),
(365, 155, 232, 8, 20, 0, '2021-12-27 17:26:17', '2021-12-27 17:26:17'),
(366, 150, 233, 8, 20, 1, '2021-12-27 17:26:17', '2021-12-27 17:26:17'),
(367, 145, 234, 8, 20, 1, '2021-12-27 17:26:17', '2021-12-27 17:26:17'),
(368, 147, 235, 8, 20, 0, '2021-12-27 17:26:17', '2021-12-27 17:26:17'),
(369, 153, 236, 8, 20, 0, '2021-12-27 17:26:17', '2021-12-27 17:26:17'),
(370, 156, 237, 8, 20, 0, '2021-12-27 17:26:17', '2021-12-27 17:26:17'),
(371, 104, 324, 8, 20, 2, '2021-12-27 17:26:17', '2021-12-27 17:26:17'),
(372, 151, 328, 8, 20, 0, '2021-12-27 17:26:17', '2021-12-27 17:26:17'),
(373, 138, 314, 8, 20, 1, '2021-12-27 17:26:17', '2021-12-27 17:26:17'),
(374, 138, 321, 8, 20, 0, '2021-12-27 17:26:17', '2021-12-27 17:26:17'),
(375, 148, 325, 8, 20, 1, '2021-12-27 17:26:17', '2021-12-27 17:26:17'),
(376, 154, 331, 8, 20, 0, '2021-12-27 17:26:17', '2021-12-27 17:26:17'),
(377, 94, 238, 9, 20, 1, '2021-12-27 18:13:26', '2021-12-27 18:13:26'),
(378, 66, 239, 9, 20, 1, '2021-12-27 18:13:26', '2021-12-27 18:13:26'),
(379, 57, 240, 9, 20, 1, '2021-12-27 18:13:26', '2021-12-27 18:13:26'),
(380, 156, 241, 9, 20, 0, '2021-12-27 18:13:26', '2021-12-27 18:13:26'),
(381, 94, 242, 9, 20, 0, '2021-12-27 18:13:26', '2021-12-27 18:13:26'),
(382, 68, 301, 9, 20, 1, '2021-12-27 18:13:26', '2021-12-27 18:13:26'),
(383, 89, 302, 9, 20, 1, '2021-12-27 18:13:26', '2021-12-27 18:13:26'),
(384, 90, 303, 9, 20, 1, '2021-12-27 18:13:26', '2021-12-27 18:13:26'),
(385, 119, 304, 9, 20, 0, '2021-12-27 18:13:26', '2021-12-27 18:13:26'),
(386, 86, 305, 9, 20, 0, '2021-12-27 18:13:26', '2021-12-27 18:13:26'),
(387, 146, 293, 9, 20, 2, '2021-12-27 18:13:26', '2021-12-27 18:13:26'),
(388, 83, 294, 9, 20, 1, '2021-12-27 18:13:26', '2021-12-27 18:13:26'),
(389, 83, 337, 10, 25, 0, '2021-12-29 02:04:22', '2021-12-29 02:04:22'),
(390, 107, 134, 8, 25, 1, '2021-12-31 02:22:33', '2021-12-31 02:22:33'),
(391, 107, 133, 6, 25, 1, '2021-12-31 02:22:33', '2021-12-31 02:22:33'),
(392, 69, 338, 9, 25, 0, '2021-12-31 04:24:22', '2021-12-31 04:24:22'),
(393, 137, 339, 9, 25, 0, '2021-12-31 04:32:53', '2021-12-31 04:32:53'),
(394, 84, 340, 9, 25, 0, '2021-12-31 04:32:53', '2021-12-31 04:32:53'),
(395, 84, 341, 9, 25, 0, '2021-12-31 04:32:53', '2021-12-31 04:32:53'),
(396, 137, 342, 9, 25, 0, '2021-12-31 04:32:53', '2021-12-31 04:32:53'),
(398, 84, 338, 7, 25, 0, '2021-12-31 04:32:53', '2021-12-31 04:32:53'),
(399, 137, 339, 7, 25, 4, '2021-12-31 04:32:53', '2021-12-31 04:32:53'),
(400, 84, 340, 7, 25, 0, '2021-12-31 04:32:53', '2021-12-31 04:32:53'),
(401, 84, 341, 7, 25, 0, '2021-12-31 04:32:53', '2021-12-31 04:32:53'),
(402, 137, 342, 7, 25, 1, '2021-12-31 04:32:53', '2021-12-31 04:32:53'),
(404, 84, 338, 5, 25, 1, '2021-12-31 04:32:53', '2021-12-31 04:32:53'),
(405, 137, 339, 5, 25, 0, '2021-12-31 04:32:53', '2021-12-31 04:32:53'),
(406, 84, 340, 5, 25, 0, '2021-12-31 04:32:53', '2021-12-31 04:32:53'),
(407, 84, 341, 5, 25, 0, '2021-12-31 04:32:53', '2021-12-31 04:32:53'),
(408, 137, 342, 5, 25, 0, '2021-12-31 04:32:53', '2021-12-31 04:32:53'),
(409, 69, 343, 9, 25, 0, '2021-12-31 04:32:53', '2021-12-31 04:32:53'),
(410, 79, 38, 1, 25, 1, '2022-01-01 18:46:56', '2022-01-01 18:46:56'),
(411, 88, 43, 1, 25, 1, '2022-01-01 18:57:23', '2022-01-01 18:57:23'),
(412, 130, 259, 1, 25, 1, '2022-01-01 18:57:23', '2022-01-01 18:57:23'),
(413, 83, 48, 1, 25, 1, '2022-01-01 18:57:23', '2022-01-01 18:57:23'),
(414, 95, 53, 1, 25, 1, '2022-01-01 18:57:23', '2022-01-01 18:57:23'),
(415, 84, 58, 1, 25, 1, '2022-01-01 18:57:23', '2022-01-01 18:57:23'),
(416, 90, 63, 1, 25, 1, '2022-01-01 18:57:23', '2022-01-01 18:57:23'),
(417, 82, 68, 2, 25, 1, '2022-01-01 19:07:29', '2022-01-01 19:07:29'),
(418, 68, 73, 2, 25, 1, '2022-01-01 19:07:29', '2022-01-01 19:07:29'),
(419, 83, 78, 2, 25, 1, '2022-01-01 19:07:29', '2022-01-01 19:07:29'),
(420, 84, 83, 2, 25, 1, '2022-01-01 19:07:29', '2022-01-01 19:07:29'),
(421, 85, 88, 2, 25, 1, '2022-01-01 19:07:29', '2022-01-01 19:07:29'),
(422, 86, 93, 2, 25, 1, '2022-01-01 19:07:29', '2022-01-01 19:07:29'),
(423, 88, 98, 3, 25, 1, '2022-01-01 19:15:54', '2022-01-01 19:15:54'),
(424, 150, 103, 3, 25, 1, '2022-01-01 19:15:54', '2022-01-01 19:15:54'),
(425, 114, 108, 3, 25, 1, '2022-01-01 19:15:54', '2022-01-01 19:15:54'),
(426, 90, 113, 3, 25, 1, '2022-01-01 19:15:54', '2022-01-01 19:15:54'),
(427, 108, 118, 3, 25, 1, '2022-01-01 19:15:54', '2022-01-01 19:15:54'),
(428, 84, 123, 3, 25, 1, '2022-01-01 19:15:54', '2022-01-01 19:15:54'),
(429, 93, 128, 4, 25, 1, '2022-01-01 19:20:45', '2022-01-01 19:20:45'),
(430, 107, 133, 4, 25, 1, '2022-01-01 19:20:45', '2022-01-01 19:20:45'),
(431, 108, 138, 4, 25, 1, '2022-01-01 19:20:45', '2022-01-01 19:20:45'),
(432, 109, 143, 4, 25, 1, '2022-01-01 19:20:45', '2022-01-01 19:20:45'),
(433, 109, 148, 4, 25, 1, '2022-01-01 19:20:45', '2022-01-01 19:20:45'),
(434, 110, 153, 4, 25, 1, '2022-01-01 19:20:45', '2022-01-01 19:20:45'),
(435, 87, 158, 5, 25, 1, '2022-01-01 19:48:00', '2022-01-01 19:48:00'),
(436, 82, 163, 5, 25, 1, '2022-01-01 19:48:00', '2022-01-01 19:48:00'),
(437, 89, 168, 5, 25, 1, '2022-01-01 19:48:00', '2022-01-01 19:48:00'),
(438, 89, 173, 5, 25, 1, '2022-01-01 19:48:00', '2022-01-01 19:48:00'),
(439, 78, 266, 5, 25, 1, '2022-01-01 19:48:00', '2022-01-01 19:48:00'),
(440, 87, 178, 6, 25, 1, '2022-01-01 19:56:52', '2022-01-01 19:56:52'),
(441, 126, 183, 6, 25, 1, '2022-01-01 19:56:52', '2022-01-01 19:56:52'),
(442, 91, 188, 6, 25, 1, '2022-01-01 19:56:52', '2022-01-01 19:56:52'),
(443, 108, 193, 6, 25, 1, '2022-01-01 19:56:52', '2022-01-01 19:56:52'),
(444, 96, 198, 6, 25, 1, '2022-01-01 19:56:52', '2022-01-01 19:56:52'),
(445, 78, 312, 6, 25, 1, '2022-01-01 19:56:52', '2022-01-01 19:56:52'),
(446, 111, 336, 7, 25, 1, '2022-01-01 20:06:08', '2022-01-01 20:06:08'),
(447, 149, 327, 8, 25, 1, '2022-01-01 20:36:24', '2022-01-01 20:36:24'),
(448, 146, 293, 8, 25, 1, '2022-01-01 20:38:52', '2022-01-01 20:38:52'),
(449, 96, 346, 8, 25, 1, '2022-01-01 20:41:38', '2022-01-01 20:41:38');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `asignaturas`
--
CREATE TABLE `asignaturas` (
`id_asignatura` int(10) NOT NULL,
`id_plan_fk` int(5) NOT NULL,
`codigo` int(4) NOT NULL,
`nombre` varchar(100) NOT NULL,
`creditos` int(2) NOT NULL,
`antecesor` int(10) DEFAULT NULL,
`sucesor` int(10) DEFAULT NULL,
`caracter` tinyint(2) NOT NULL,
`semestre` tinyint(2) NOT NULL,
`estatus` int(2) NOT NULL,
`updated_at` timestamp NOT NULL DEFAULT current_timestamp(),
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Volcado de datos para la tabla `asignaturas`
--
INSERT INTO `asignaturas` (`id_asignatura`, `id_plan_fk`, `codigo`, `nombre`, `creditos`, `antecesor`, `sucesor`, `caracter`, `semestre`, `estatus`, `updated_at`, `created_at`) VALUES
(1, 9, 100, 'Administración I. Proceso Administrativo', 6, NULL, NULL, 1, 1, 1, '2021-11-25 22:31:38', '2021-11-25 22:31:38'),
(2, 9, 101, 'Comunicación oral y escrita', 6, NULL, NULL, 1, 1, 1, '2021-11-25 22:31:56', '2021-11-25 22:31:56'),
(3, 9, 102, 'Informática I. Introducción a la informática', 8, NULL, NULL, 1, 1, 1, '2021-11-25 22:34:33', '2021-11-25 22:34:33'),
(4, 9, 104, 'Taller de componentes de Hardware', 3, NULL, NULL, 1, 1, 1, '2021-11-25 22:36:08', '2021-11-25 22:36:08'),
(5, 9, 105, 'Análisis y diseño de algoritmos', 8, NULL, NULL, 1, 1, 1, '2021-11-25 22:37:31', '2021-11-25 22:37:31'),
(6, 9, 106, 'Matemáticas I. Matemáticas básicas', 8, NULL, NULL, 1, 1, 1, '2021-11-25 22:38:24', '2021-11-25 22:38:24'),
(7, 9, 107, 'Programación I. Introducción a la programación y ambientes integrados', 8, NULL, NULL, 1, 1, 1, '2021-11-25 22:39:12', '2021-11-25 22:39:12'),
(8, 9, 200, 'Contabilidad', 8, NULL, NULL, 1, 2, 1, '2021-11-25 22:40:00', '2021-11-25 22:40:00'),
(9, 9, 201, 'Administración II. Estructura administrativas', 6, NULL, NULL, 1, 2, 1, '2021-11-25 22:41:30', '2021-11-25 22:41:30'),
(10, 9, 202, 'Informática II. Organización de archivos y estructura de datos', 12, NULL, NULL, 1, 2, 1, '2021-11-25 22:47:05', '2021-11-25 22:47:05'),
(12, 1119, 100, 'ADMINISTRACIÓN I. PROCESO ADMINISTRATIVO', 6, NULL, NULL, 1, 1, 1, '2021-12-22 16:46:25', '2021-12-22 16:46:25'),
(13, 1119, 101, 'COMUNICACIÓN ORAL Y ESCRITA', 6, NULL, NULL, 1, 1, 1, '2021-12-22 16:54:40', '2021-12-22 16:54:40'),
(14, 1119, 102, 'INFORMÁTICA I. INTRODUCCIÓN A LA INFORMÁTICA', 12, NULL, NULL, 1, 1, 1, '2021-12-22 16:54:40', '2021-12-22 16:54:40'),
(15, 1119, 104, 'TALLER DE COMPONENTES DE HARDWARE', 3, NULL, NULL, 1, 1, 1, '2021-12-22 16:54:40', '2021-12-22 16:54:40'),
(16, 1119, 105, 'ANÁLISIS Y DISEÑO DE ALGORITMOS', 8, NULL, NULL, 1, 1, 1, '2021-12-22 16:54:40', '2021-12-22 16:54:40'),
(17, 1119, 106, 'MATEMÁTICAS I. MATEMÁTICAS BÁSICAS', 8, NULL, 37, 1, 1, 1, '2021-12-22 16:54:40', '2021-12-22 16:54:40'),
(18, 1119, 107, 'PROGRAMACIÓN I. INTRODUCCIÓN A LA PROGRAMACIÓN Y AMBIENTES INTEGRADOS', 8, NULL, 23, 1, 1, 1, '2021-12-22 16:54:40', '2021-12-22 16:54:40'),
(20, 1119, 200, 'CONTABILIDAD', 8, NULL, NULL, 1, 2, 1, '2021-12-22 16:59:06', '2021-12-22 16:59:06'),
(21, 1119, 201, 'ADMINISTRACIÓN II. ESTRUCTURAS ADMINISTRATIVAS', 6, NULL, NULL, 1, 2, 1, '2021-12-22 17:02:58', '2021-12-22 17:02:58'),
(22, 1119, 202, 'INFORMÁTICA II. ORGANIZACIÓN DE ARCHIVOS Y ESTRUCTURA DE DATOS', 12, NULL, NULL, 1, 2, 1, '2021-12-22 17:02:58', '2021-12-22 17:02:58'),
(23, 1119, 203, 'PROGRAMACIÓN II. PROGRAMACIÓN AVANZADA', 8, 18, NULL, 1, 2, 1, '2021-12-22 17:02:58', '2021-12-22 17:02:58'),
(24, 1119, 204, 'ARQUITECTURA DE COMPUTADORAS', 8, NULL, NULL, 1, 2, 1, '2021-12-22 17:02:58', '2021-12-22 17:02:58'),
(25, 1119, 205, 'MATEMÁTICAS II. LÓGICA MATEMÁTICA', 8, NULL, NULL, 1, 2, 1, '2021-12-22 17:02:58', '2021-12-22 17:02:58'),
(26, 1119, 300, '<NAME>', 8, NULL, NULL, 1, 3, 1, '2021-12-22 17:07:22', '2021-12-22 17:07:22'),
(27, 1119, 301, 'METODOLOGÍA DE LA INVESTIGACIÓN', 8, NULL, 48, 1, 3, 1, '2021-12-22 17:07:22', '2021-12-22 17:07:22'),
(28, 1119, 302, 'INFORMÁTICA III. ANÁLISIS Y DISEÑO DE SISTEMAS I', 12, NULL, 34, 1, 3, 1, '2021-12-22 17:07:22', '2021-12-22 17:07:22'),
(29, 1119, 303, 'PROGRAMACIÓN III. PROGRAMACIÓN VISUAL', 8, NULL, NULL, 1, 3, 1, '2021-12-22 17:07:22', '2021-12-22 17:07:22'),
(30, 1119, 304, 'SISTEMAS OPERATIVOS', 8, NULL, NULL, 1, 3, 1, '2021-12-22 17:07:22', '2021-12-22 17:07:22'),
(31, 1119, 305, 'MATEMÁTICAS III. MATEMÁTICAS FINANCIERAS', 8, NULL, NULL, 1, 3, 1, '2021-12-22 17:07:22', '2021-12-22 17:07:22'),
(32, 1119, 400, 'CONTABILIDAD DE COSTOS', 8, NULL, NULL, 1, 4, 1, '2021-12-22 17:11:42', '2021-12-22 17:11:42'),
(33, 1119, 401, 'MERCADOTECNIA', 6, NULL, NULL, 1, 4, 1, '2021-12-22 17:11:42', '2021-12-22 17:11:42'),
(34, 1119, 402, 'INFORMÁTICA IV. ANÁLISIS Y DISEÑO DE SISTEMAS II', 12, 28, NULL, 1, 4, 1, '2021-12-22 17:11:42', '2021-12-22 17:11:42'),
(35, 1119, 403, 'PROGRAMACIÓN IV. PROGRAMACIÓN DE INTERFACES', 12, NULL, NULL, 1, 4, 1, '2021-12-22 17:11:42', '2021-12-22 17:11:42'),
(36, 1119, 404, 'REDES DE COMPUTADORAS I', 8, NULL, NULL, 1, 4, 1, '2021-12-22 17:11:42', '2021-12-22 17:11:42'),
(37, 1119, 405, 'MATEMÁTICAS IV. MATEMÁTICAS COMPUTACIONALES', 8, 17, NULL, 1, 4, 1, '2021-12-22 17:11:42', '2021-12-22 17:11:42'),
(38, 1119, 500, 'FINANZAS', 8, NULL, 42, 1, 5, 1, '2021-12-22 17:18:38', '2021-12-22 17:18:38'),
(39, 1119, 501, 'ADMINISTRACIÓN DE CENTROS DE CÓMPUTO', 8, NULL, NULL, 1, 5, 1, '2021-12-22 17:18:38', '2021-12-22 17:18:38'),
(40, 1119, 502, 'INFORMÁTICA V. INDUSTRIA DEL SOFTWARE', 12, NULL, NULL, 1, 5, 1, '2021-12-22 17:18:38', '2021-12-22 17:18:38'),
(41, 1119, 503, 'INTRODUCCIÓN A LAS BASES DE DATOS', 10, NULL, 45, 1, 5, 1, '2021-12-22 17:18:38', '2021-12-22 17:18:38'),
(42, 1119, 600, 'EVALUACIÓN DE PROYECTOS', 8, 38, NULL, 1, 6, 1, '2021-12-22 17:29:50', '2021-12-22 17:29:50'),
(43, 1119, 601, 'ECONOMÍA', 8, NULL, NULL, 1, 6, 1, '2021-12-22 18:43:45', '2021-12-22 18:43:45'),
(44, 1119, 602, 'INFORMÁTICA VI. TÓPICOS SELECTOS DE INFORMÁTICA', 12, NULL, NULL, 1, 6, 1, '2021-12-22 18:43:45', '2021-12-22 18:43:45'),
(45, 1119, 603, 'DESARROLLO DE APLICACIONES DE BASE DE DATOS', 10, 41, NULL, 1, 6, 1, '2021-12-22 20:15:41', '2021-12-22 20:15:41'),
(46, 1119, 604, 'REDES DE COMPUTADORAS II', 8, NULL, NULL, 1, 6, 1, '2021-12-22 20:15:41', '2021-12-22 20:15:41'),
(47, 1119, 700, 'ANÁLISIS Y TOMA DE DECISIONES', 6, NULL, NULL, 1, 7, 1, '2021-12-22 20:27:40', '2021-12-22 20:27:40'),
(48, 1119, 701, 'SEMINARIO DE INVESTIGACIÓN', 8, 27, NULL, 1, 7, 1, '2021-12-22 20:27:40', '2021-12-22 20:27:40'),
(49, 1119, 702, 'SEGURIDAD INFORMÁTICA', 8, NULL, NULL, 1, 7, 1, '2021-12-22 20:27:40', '2021-12-22 20:27:40'),
(50, 1119, 703, 'LABORATORIO DE SISTEMAS DE INFORMACIÓN', 8, NULL, NULL, 1, 7, 1, '2021-12-22 20:27:40', '2021-12-22 20:27:40'),
(51, 1119, 704, 'MATEMÁTICAS VI. INVESTIGACIÓN DE OPERACIONES', 8, NULL, NULL, 1, 7, 1, '2021-12-22 20:27:40', '2021-12-22 20:27:40'),
(52, 1119, 800, 'AUDITORÍA EN INFORMÁTICA', 8, NULL, NULL, 1, 8, 1, '2021-12-22 20:27:40', '2021-12-22 20:27:40'),
(53, 1119, 801, 'ÉTICA Y DESARROLLO PROFESIONAL', 6, NULL, NULL, 1, 8, 1, '2021-12-22 20:27:40', '2021-12-22 20:27:40'),
(54, 1119, 900, 'ADMINISTRACIÓN PÚBLICA Y POLÍTICA INFORMÁTICA', 6, NULL, NULL, 1, 9, 1, '2021-12-22 20:27:40', '2021-12-22 20:27:40'),
(55, 1119, 2001, 'SIMULACIÓN DE NEGOCIOS', 8, NULL, NULL, 2, 20, 1, '2021-12-22 21:55:33', '2021-12-22 21:55:33'),
(56, 1119, 2002, 'ANÁLISIS FINANCIEROS MATEMÁTICOS CON SISTEMAS ELECTRÓNICOS', 8, NULL, NULL, 2, 20, 1, '2021-12-22 21:55:33', '2021-12-22 21:55:33'),
(57, 1119, 2003, 'SISTEMAS INFORMÁTICOS APLICADOS A LA PRODUCCIÓN', 6, NULL, NULL, 2, 20, 1, '2021-12-22 22:14:56', '2021-12-22 22:14:56'),
(58, 1119, 2004, 'ANÁLISIS MATEMÁTICOS APLICADOS A LA ADMINISTRACIÓN', 8, NULL, NULL, 2, 20, 1, '2021-12-22 22:14:56', '2021-12-22 22:14:56'),
(59, 1119, 159, 'HABILIDADES DE LIDERAZGO ESTRATÉGICO', 8, NULL, NULL, 2, 20, 1, '2021-12-22 22:14:56', '2021-12-22 22:14:56'),
(60, 1119, 2006, 'ADMINISTRACIÓN INTERNACIONAL COMPARADA', 6, NULL, NULL, 2, 20, 1, '2021-12-22 22:14:56', '2021-12-22 22:14:56'),
(61, 1119, 2007, 'INTELIGENCIA DE NEGOCIOS', 6, NULL, NULL, 2, 20, 1, '2021-12-22 22:14:56', '2021-12-22 22:14:56'),
(62, 1119, 161, 'INGLÉS I', 8, NULL, NULL, 2, 20, 1, '2021-12-22 22:14:56', '2021-12-22 22:14:56'),
(63, 1119, 162, 'INGLÉS II', 8, NULL, NULL, 2, 20, 1, '2021-12-22 22:14:56', '2021-12-22 22:14:56'),
(64, 1119, 2010, 'COMERCIO EXTERIOR', 8, NULL, NULL, 2, 20, 1, '2021-12-22 22:14:56', '2021-12-22 22:14:56'),
(65, 1119, 1958, 'CONTABILIDADES ESPECIALES', 8, NULL, NULL, 2, 20, 1, '2021-12-22 22:14:56', '2021-12-22 22:14:56'),
(66, 1119, 160, 'HERRAMIENTAS DE CÓMPUTO AVANZADO', 8, NULL, NULL, 2, 20, 1, '2021-12-22 22:14:56', '2021-12-22 22:14:56'),
(67, 1119, 4001, 'SEMINARIO DE TITULACIÓN', 0, NULL, NULL, 3, 0, 2, '2021-12-22 22:31:50', '2021-12-22 22:31:50'),
(68, 1119, 3000, 'SEMINARIO DE DESARROLLO DE APLICACIONES WEB I', 8, NULL, 81, 3, 8, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(69, 1119, 3001, 'SEMINARIO DE BASES DE DATOS AVANZADAS', 8, 45, NULL, 3, 8, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(70, 1119, 3002, 'SEMINARIO DE COMERCIO ELECTRÓNICO', 8, NULL, 83, 3, 8, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(71, 1119, 3003, 'SEMINARIO DE ANÁLISIS Y EXTRACCIÓN DE CONOCIMIENTOS DE BASES DE DATOS', 8, NULL, NULL, 3, 0, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(72, 1119, 3004, 'SEMINARIO DE INFERENCIA ESTADÍSTICA CON USO DE SOFTWARE', 8, NULL, NULL, 3, 0, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(73, 1119, 70, 'SEMINARIO DE MINERÍA DE DATOS', 8, NULL, NULL, 3, 0, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(74, 1119, 3006, 'SEMINARIO DE SISTEMAS INFORMÁTICOS PARA LA INTELIGENCIA DE NEGOCIOS', 8, NULL, NULL, 3, 0, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(75, 1119, 3007, 'SEMINARIO DE TÉCNICAS ESTADÍSTICAS AVANZADAS PARA LA TOMA DE DECISIONES I', 8, NULL, NULL, 3, 0, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(76, 1119, 3008, 'SEMINARIO DE ECUACIONES DIFERENCIALES I', 8, 17, 85, 3, 8, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(77, 1119, 3009, 'SEMINARIO DE REDES DE COMPUTADORAS I', 8, NULL, 86, 3, 8, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(78, 1119, 3, 'SEMINARIO DE SISTEMAS EXPERTOS I', 8, NULL, 87, 3, 8, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(79, 1119, 3010, 'SEMINARIO DE INTELIGENCIA ARTIFICIAL I', 8, NULL, 88, 3, 8, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(80, 1119, 3011, 'SEMINARIO DE GRAFICACIÓN POR COMPUTADORA I', 8, NULL, 89, 3, 8, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(81, 1119, 3012, 'SEMINARIO DE DESARROLLO DE APLICACIONES WEB II', 8, 68, NULL, 3, 9, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(82, 1119, 3013, 'SEMINARIO DE DESARROLLO DE APLICACIONES PARA DISPOSITIVOS MÓVILES', 8, NULL, NULL, 3, 0, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(83, 1119, 3014, 'SEMINARIO DE ADMINISTRACIÓN DE SERVICIOS DE TI', 8, NULL, NULL, 3, 0, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(84, 1119, 3015, 'SEMINARIO DE TÉCNICAS ESTADÍSTICAS AVANZADAS PARA LA TOMA DE DECISIONES II', 8, 75, NULL, 3, 9, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(85, 1119, 3016, 'SEMINARIO DE ECUACIONES DIFERENCIALES II', 8, 76, NULL, 3, 9, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(86, 1119, 3017, 'SEMINARIO DE REDES DE COMPUTADORAS II', 8, 77, NULL, 3, 9, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(87, 1119, 3018, 'SEMINARIO DE SISTEMAS EXPERTOS II', 8, 78, NULL, 3, 9, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(88, 1119, 3019, 'SEMINARIO DE INTELIGENCIA ARTIFICIAL II', 8, 79, NULL, 3, 9, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(89, 1119, 3020, 'SEMINARIO DE GRAFICACIÓN POR COMPUTADORA II', 8, 80, NULL, 3, 9, 1, '2021-12-22 23:03:29', '2021-12-22 23:03:29'),
(90, 1387, 1123, 'FUNDAMENTOS DE CONTABILIDAD', 10, NULL, NULL, 1, 1, 1, '2021-12-23 04:22:36', '2021-12-23 04:22:36'),
(91, 1316, 1137, 'ÁLGEBRA', 8, NULL, NULL, 1, 1, 1, '2021-12-23 04:42:11', '2021-12-23 04:42:11'),
(92, 1318, 1115, 'CONTABILIDAD BÁSICA', 12, NULL, NULL, 1, 1, 1, '2021-12-23 04:42:11', '2021-12-23 04:42:11'),
(93, 1092, 150, '<NAME>', 6, NULL, NULL, 1, 1, 1, '2021-12-23 04:42:11', '2021-12-23 04:42:11'),
(94, 1608, 155, 'TEORIA DE LA IMAGEN I', 4, NULL, NULL, 1, 1, 1, '2021-12-23 04:42:11', '2021-12-23 04:42:11'),
(95, 1317, 1146, 'CÁLCULO DIFERENCIAL E INTEGRAL', 8, NULL, NULL, 1, 1, 1, '2021-12-23 04:42:11', '2021-12-23 04:42:11'),
(96, 1140, 1110, 'AGROMETEOROLOGÍA', 8, NULL, NULL, 1, 1, 1, '2021-12-23 04:42:11', '2021-12-23 04:42:11'),
(97, 1136, 1132, 'CIENCIAS DEL COMPORTAMIENTO HUMANO', 6, NULL, NULL, 1, 1, 1, '2021-12-23 04:42:11', '2021-12-23 04:42:11'),
(98, 1543, 1104, 'CÁLCULO DIFERENCIAL E INTEGRAL', 8, NULL, NULL, 1, 1, 1, '2021-12-23 04:42:11', '2021-12-23 04:42:11'),
(99, 1549, 1103, 'ÁLGEBRA', 8, NULL, NULL, 1, 1, 1, '2021-12-23 04:42:11', '2021-12-23 04:42:11'),
(100, 1498, 1105, 'COMPUTACIÓN PARA INGENIERÍA', 8, NULL, NULL, 1, 1, 1, '2021-12-23 04:42:11', '2021-12-23 04:42:11'),
(101, 1118, 1123, 'MECÁNICA I', 6, NULL, NULL, 1, 1, 1, '2021-12-23 04:42:11', '2021-12-23 04:42:11'),
(102, 1506, 1105, 'F<NAME>', 4, NULL, NULL, 1, 1, 1, '2021-12-23 04:42:11', '2021-12-23 04:42:11'),
(103, 1122, 1115, 'MATEMÁTICAS II', 8, NULL, NULL, 1, 1, 1, '2021-12-23 04:42:11', '2021-12-23 04:42:11'),
(104, 1600, 1151, 'ÁLGEBRA', 8, NULL, NULL, 1, 1, 1, '2021-12-23 04:42:11', '2021-12-23 04:42:11'),
(105, 1119, 25, 'COMUNICACIONES', 8, NULL, NULL, 2, 20, 1, '2021-12-25 19:44:06', '2021-12-25 19:44:06'),
(106, 1119, 31, 'AUD<NAME>', 12, NULL, NULL, 2, 20, 1, '2021-12-25 19:44:06', '2021-12-25 19:44:06'),
(107, 1119, 1, 'SEMINARIO DE MULTIMEDIA I', 8, NULL, NULL, 3, 8, 1, '2021-12-25 21:41:59', '2021-12-25 21:41:59'),
(108, 1119, 9, 'SEMINARIO DE PROGRAMACIÓN EN INTERNET I\r\n', 8, NULL, NULL, 3, 8, 1, '2021-12-25 22:47:59', '2021-12-25 22:47:59'),
(109, 1119, 8, 'SEMINARIO DE ADMINISTRACIÓN DE RECURSOS HUMANOS EN INFORMÁTICA I', 8, NULL, NULL, 3, 8, 1, '2021-12-25 22:53:37', '2021-12-25 22:53:37'),
(110, 1119, 5, 'SEMINARIO DE SISTEMAS OPERATIVOS PARA REDES I', 8, 1, NULL, 3, 8, 1, '2021-12-25 22:59:20', '2021-12-25 22:59:20'),
(111, 1119, 504, 'MATEMÁTICAS V. ESTADÍSTICA ', 10, 37, NULL, 1, 5, 1, '2021-12-31 04:19:53', '2021-12-31 04:19:53'),
(112, 1600, 1253, 'ELECTRICIDAD Y MAGNETISMO', 8, NULL, NULL, 1, 2, 1, '2021-12-31 05:31:25', '2021-12-31 05:31:25');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `carrera`
--
CREATE TABLE `carrera` (
`id_carrera` int(5) NOT NULL,
`clave` int(4) NOT NULL,
`nombre` varchar(70) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT current_timestamp(),
`id_area_fk` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT;
--
-- Volcado de datos para la tabla `carrera`
--
INSERT INTO `carrera` (`id_carrera`, `clave`, `nombre`, `created_at`, `updated_at`, `id_area_fk`) VALUES
(8, 105, 'Diseño industrial', '2021-11-25 16:26:36', '2021-11-25 16:26:36', 1),
(9, 301, 'Administración', '2021-11-25 16:28:28', '2021-11-25 16:28:28', 3),
(10, 304, 'Contaduría', '2021-11-25 16:28:28', '2021-11-25 16:28:28', 3),
(11, 308, 'Informática', '2021-11-25 16:28:50', '2021-11-25 16:28:50', 3),
(12, 211, 'Química', '2021-12-21 12:24:45', '2021-12-21 12:24:45', 2),
(13, 214, 'Química industrial', '2021-12-21 12:32:42', '2021-12-21 12:32:42', 2),
(14, 218, 'Bioquímica diagnóstica', '2021-12-21 12:34:15', '2021-12-21 12:34:15', 2),
(15, 219, 'Farmacia', '2021-12-21 12:35:07', '2021-12-21 12:35:07', 2),
(16, 205, 'Ingeniería en alimentos', '2021-12-21 12:36:20', '2021-12-21 12:36:20', 2),
(17, 207, 'Medicina Veterinaria y Zootecnia ', '2021-12-21 12:37:39', '2021-12-21 12:37:39', 2),
(18, 204, 'Ingeniería agrícola ', '2021-12-21 12:44:30', '2021-12-21 12:44:30', 2),
(19, 116, 'Ingeniería mecánica eléctrica', '2021-12-21 12:51:17', '2021-12-21 12:51:17', 1),
(20, 118, 'Ingeniería química ', '2021-12-21 12:52:11', '2021-12-21 12:52:11', 1),
(21, 126, 'Tecnología', '2021-12-21 12:52:46', '2021-12-21 12:52:46', 1),
(22, 114, 'Ingeniería industrial', '2021-12-21 12:53:36', '2021-12-21 12:53:36', 1),
(23, 130, 'Ingeniería en telecomunicaciones, sistemas y electrónica', '2021-12-21 12:54:28', '2021-12-21 12:54:28', 1),
(24, 423, 'Diseño y comunicación visual', '2021-12-21 12:55:27', '2021-12-21 12:55:27', 1);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `departamentos`
--
CREATE TABLE `departamentos` (
`id_departamento` varchar(15) NOT NULL,
`nombre` varchar(50) NOT NULL,
`id_plantel_fk` int(5) NOT NULL,
`estatus` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Volcado de datos para la tabla `departamentos`
--
INSERT INTO `departamentos` (`id_departamento`, `nombre`, `id_plantel_fk`, `estatus`) VALUES
('00000102', 'PROFESOR POR ASIGNATURA', 102, 1),
('00000105', 'PROFESOR POR ASIGNATURA', 105, 1),
('00000106', 'PROFESOR POR ASIGNATURA', 106, 1),
('00000111', 'PROFESOR POR ASIGNATURA', 111, 1),
('00000116', 'PROFESOR POR ASIGNATURA', 116, 1),
('00000118', 'PROFESOR POR ASIGNATURA', 118, 1),
('00000195', 'PROFESOR POR ASIGNATURA', 195, 1),
('0101MATEMATICAS', 'MATEMÁTICAS', 111, 1),
('0102INGENYT', 'INGENIERÍA Y TECNOLOGÍA', 195, 1),
('0102MATE', 'MATEMÁTICAS', 105, 2),
('0103INGENIERIA', 'INGENIERÍA', 111, 1),
('0104FISICA', 'FISICA', 111, 1),
('0201CQUIMICAS', 'CIENCIAS QUÍMICAS', 105, 1),
('0202CPECUARIAS', 'CIENCIAS PECUARIAS', 116, 1),
('0203CBIOLOGICAS', 'CIENCIAS BIOLOGICAS', 111, 1),
('0204CAGRICOLAS', 'CIENCIAS AGRÍCOLAS', 118, 1),
('0301CSOCIALES', 'CIENCIAS SOCIALES', 106, 1),
('0302CADMINISTRA', 'CIENCIAS ADMINISTRATIVAS', 106, 1),
('0303COMPUTO', 'CÓMPUTO E INFORMÁTICA', 106, 1),
('0401DISEÑOCOM', 'DISEÑO Y COMUNICACIÓN VISUAL', 102, 1);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `dosificacion`
--
CREATE TABLE `dosificacion` (
`id_usuarioalumno_fk` int(100) NOT NULL,
`id_periodo_fk` int(100) NOT NULL,
`fecha_inscripcion` date DEFAULT NULL,
`hora_inscripcion` time DEFAULT NULL,
`fecha_alta_baja` date DEFAULT NULL,
`hora_altas_bajas` time DEFAULT NULL,
`updated_at` timestamp NOT NULL DEFAULT current_timestamp(),
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT;
--
-- Volcado de datos para la tabla `dosificacion`
--
INSERT INTO `dosificacion` (`id_usuarioalumno_fk`, `id_periodo_fk`, `fecha_inscripcion`, `hora_inscripcion`, `fecha_alta_baja`, `hora_altas_bajas`, `updated_at`, `created_at`) VALUES
(1, 1, '2021-08-27', '10:00:00', '2021-09-10', '12:49:09', '2021-11-26 00:11:14', '2021-11-26 00:11:14'),
(2, 1, '2021-08-27', '10:00:00', '2021-09-10', '12:49:09', '2021-11-26 00:12:26', '2021-11-26 00:12:26'),
(2, 9, '2021-09-01', '08:10:00', '2021-09-01', '12:49:09', '2021-12-27 19:37:41', '2021-12-27 19:37:41'),
(3, 1, '2021-08-27', '10:00:00', '2021-09-10', '12:49:09', '2021-11-26 00:12:34', '2021-11-26 00:12:34'),
(3, 9, '2021-09-01', '08:20:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(4, 1, '2021-08-27', '10:00:00', '2021-09-10', '12:49:09', '2021-11-26 00:12:39', '2021-11-26 00:12:39'),
(4, 7, '2020-08-07', '16:10:00', '2020-08-21', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(4, 9, '2021-09-01', '15:20:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(5, 1, '2021-08-27', '10:00:00', '2021-09-10', '12:49:09', '2021-11-26 00:12:46', '2021-11-26 00:12:46'),
(5, 9, '2021-09-01', '08:10:00', '2021-09-01', '12:49:09', '2021-12-27 19:38:56', '2021-12-27 19:38:56'),
(6, 1, '2021-08-27', '10:00:00', '2021-09-10', '12:49:09', '2021-11-26 00:12:52', '2021-11-26 00:12:52'),
(6, 9, '2021-09-01', '08:10:00', '2021-09-01', '12:49:09', '2021-12-27 19:38:56', '2021-12-27 19:38:56'),
(8, 1, '2021-08-27', '10:00:00', '2021-09-10', '12:49:09', '2021-11-26 00:13:40', '2021-11-26 00:13:40'),
(8, 9, '2021-09-01', '08:20:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(12, 9, '2021-09-01', '09:10:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(13, 9, '2021-09-01', '09:10:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(14, 9, '2021-09-01', '09:10:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(17, 7, '2020-08-07', '09:10:00', '2021-08-21', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(17, 8, '2021-01-22', '09:50:00', '2021-01-29', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(17, 9, '2021-09-01', '10:20:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(18, 9, '2021-09-01', '09:10:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(19, 9, '2021-09-01', '08:10:00', '2021-09-01', '12:49:09', '2021-12-27 19:38:56', '2021-12-27 19:38:56'),
(20, 9, '2021-09-01', '08:10:00', '2021-09-01', '12:49:09', '2021-12-27 19:38:56', '2021-12-27 19:38:56'),
(21, 9, '2021-09-01', '11:40:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(22, 7, '2020-08-07', '09:10:00', '2021-08-21', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(22, 8, '2021-01-22', '09:50:00', '2021-01-29', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(22, 9, '2021-09-01', '10:20:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(23, 7, '2020-08-07', '09:10:00', '2021-08-21', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(23, 8, '2021-01-22', '09:50:00', '2021-01-29', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(23, 9, '2021-09-01', '10:20:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(24, 7, '2020-08-07', '09:10:00', '2021-08-21', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(24, 8, '2021-01-22', '09:50:00', '2021-01-29', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(24, 9, '2021-09-01', '10:20:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(25, 7, '2020-08-07', '09:10:00', '2021-08-21', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(25, 8, '2021-01-22', '09:50:00', '2021-01-29', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(25, 9, '2021-09-01', '10:20:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(26, 9, '2021-09-01', '09:10:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(27, 9, '2021-09-01', '08:20:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(28, 9, '2021-09-01', '11:40:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(30, 9, '2021-09-01', '08:20:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(46, 9, '2021-09-01', '08:10:00', '2021-09-01', '12:49:09', '2021-12-27 19:38:56', '2021-12-27 19:38:56'),
(48, 9, '2021-09-01', '08:10:00', '2021-09-01', '12:49:09', '2021-12-27 19:38:56', '2021-12-27 19:38:56'),
(49, 8, '2021-08-06', '08:20:00', '0000-00-00', '12:49:09', '2021-12-27 19:41:22', '2021-12-27 19:41:22'),
(50, 9, '2021-09-01', '08:20:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(51, 9, '2021-09-01', '09:10:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(52, 9, '2021-09-01', '09:10:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(53, 7, '2020-08-07', '09:10:00', '2021-08-21', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(53, 8, '2021-01-22', '09:50:00', '2021-01-29', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(53, 9, '2021-09-01', '10:20:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(54, 7, '2020-08-07', '09:10:00', '2021-08-21', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(54, 8, '2021-01-22', '09:50:00', '2021-01-29', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(54, 9, '2021-09-01', '10:20:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(55, 9, '2021-09-01', '08:20:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(56, 7, '2020-08-07', '10:20:00', '2021-08-21', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(56, 8, '2021-01-22', '11:00:00', '2021-01-29', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31'),
(56, 9, '2021-09-01', '11:40:00', '2021-09-08', '12:49:09', '2021-12-27 21:34:31', '2021-12-27 21:34:31');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `edificio`
--
CREATE TABLE `edificio` (
`id_edificio` int(5) NOT NULL,
`id_plantel_fk` int(5) NOT NULL,
`clave` varchar(50) NOT NULL,
`pisos` varchar(2) NOT NULL,
`updated_at` timestamp NOT NULL DEFAULT current_timestamp(),
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Volcado de datos para la tabla `edificio`
--
INSERT INTO `edificio` (`id_edificio`, `id_plantel_fk`, `clave`, `pisos`, `updated_at`, `created_at`) VALUES
(1, 106, 'A10', '2', '2021-11-25 21:17:06', '2021-11-25 21:17:06'),
(2, 106, 'A11', '2', '2021-11-25 21:17:06', '2021-11-25 21:17:06'),
(3, 106, 'A12', '2', '2021-11-25 21:17:31', '2021-11-25 21:17:31'),
(4, 106, 'A09', '2', '2021-11-25 21:18:01', '2021-11-25 21:18:01'),
(5, 106, 'A08', '2', '2021-11-25 21:18:01', '2021-11-25 21:18:01'),
(6, 106, 'A07', '2', '2021-11-25 21:18:32', '2021-11-25 21:18:32'),
(7, 106, 'A06', '2', '2021-11-25 21:18:32', '2021-11-25 21:18:32'),
(8, 106, 'A05', '2', '2021-11-25 21:19:21', '2021-11-25 21:19:21'),
(9, 106, 'A04', '2', '2021-11-25 21:19:21', '2021-11-25 21:19:21'),
(10, 106, 'A03', '2', '2021-11-25 21:19:35', '2021-11-25 21:19:35'),
(11, 106, 'A2', '2', '2021-12-27 21:48:55', '2021-12-27 21:48:55'),
(12, 106, 'Centro de Cómputo', '2', '2021-12-28 00:23:20', '2021-12-28 00:23:20');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `estudia`
--
CREATE TABLE `estudia` (
`id_usuarioalumno_fk` int(10) NOT NULL,
`id_plan_fk` int(10) NOT NULL,
`anio` varchar(5) NOT NULL,
`baja` double NOT NULL,
`estatus` int(1) NOT NULL,
`turno` int(1) NOT NULL,
`semestre` int(2) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Volcado de datos para la tabla `estudia`
--
INSERT INTO `estudia` (`id_usuarioalumno_fk`, `id_plan_fk`, `anio`, `baja`, `estatus`, `turno`, `semestre`, `created_at`, `updated_at`) VALUES
(1, 9, '2008', 1, 1, 1, 1, '2021-12-02 05:19:26', '2021-12-02 05:19:26'),
(2, 1119, '2022', 0, 1, 1, 1, '2021-12-02 05:19:26', '2021-12-02 05:19:26'),
(2, 1316, '2009', 1, 4, 1, 1, '2022-01-01 18:36:25', '2022-01-01 18:36:25'),
(3, 1119, '2021', 1, 3, 1, 3, '2021-12-02 05:20:07', '2021-12-02 05:20:07'),
(4, 1119, '2021', 1, 3, 2, 3, '2021-12-02 05:20:07', '2021-12-02 05:20:07'),
(5, 1119, '2022', 0, 1, 1, 1, '2021-12-02 05:20:39', '2021-12-02 05:20:39'),
(6, 1119, '2022', 0, 1, 2, 1, '2021-12-02 05:20:39', '2021-12-02 05:20:39'),
(8, 9, '2021', 1, 2, 1, 1, '2021-12-02 05:35:52', '2021-12-02 05:35:52'),
(8, 1119, '2019', 0, 1, 1, 3, '2021-12-02 05:20:57', '2021-12-02 05:20:57'),
(11, 1118, '2019', 0, 1, 1, 2, '2021-12-06 17:48:30', '2021-12-06 17:48:30'),
(12, 1119, '2020', 0, 1, 1, 5, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(13, 1119, '2020', 0, 1, 1, 5, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(14, 1119, '2020', 0, 1, 1, 5, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(15, 1318, '2021', 0, 1, 2, 3, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(16, 1600, '2019', 1, 1, 1, 6, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(17, 1119, '2019', 0, 1, 1, 7, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(17, 1600, '2022', 0, 1, 2, 2, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(18, 1119, '2020', 0, 1, 1, 5, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(19, 1119, '2022', 0, 1, 2, 1, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(20, 1119, '2022', 0, 1, 2, 1, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(21, 1119, '2018', 0, 1, 1, 9, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(22, 1119, '2019', 0, 1, 1, 7, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(23, 1119, '2019', 0, 1, 2, 7, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(24, 1119, '2019', 1, 1, 1, 7, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(25, 1119, '2019', 0.5, 2, 1, 7, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(26, 1119, '2020', 1, 1, 2, 5, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(27, 1119, '2021', 1, 1, 1, 3, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(28, 1119, '2018', 0, 5, 1, 9, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(29, 1498, '2021', 0, 1, 1, 1, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(30, 1119, '2021', 0, 1, 2, 3, '2021-11-26 03:30:11', '2021-11-26 03:30:11'),
(32, 1122, '2021', 0, 1, 1, 1, '2021-12-23 00:29:29', '2021-12-23 00:29:29'),
(33, 1600, '2021', 0, 1, 1, 1, '2021-12-23 00:36:00', '2021-12-23 00:36:00'),
(34, 1316, '2021', 0, 1, 1, 1, '2021-12-23 00:36:00', '2021-12-23 00:36:00'),
(35, 1317, '2021', 0, 1, 1, 1, '2021-12-23 00:36:00', '2021-12-23 00:36:00'),
(36, 1136, '2021', 0, 1, 1, 1, '2021-12-23 00:36:00', '2021-12-23 00:36:00'),
(37, 1505, '2021', 0, 1, 1, 1, '2021-12-23 00:36:00', '2021-12-23 00:36:00'),
(38, 1506, '2021', 0, 1, 1, 1, '2021-12-23 00:36:00', '2021-12-23 00:36:00'),
(39, 1140, '2021', 0, 1, 1, 1, '2021-12-23 00:36:00', '2021-12-23 00:36:00'),
(40, 1498, '2021', 0, 1, 1, 1, '2021-12-23 00:36:00', '2021-12-23 00:36:00'),
(41, 1118, '2021', 0, 1, 1, 1, '2021-12-23 00:36:00', '2021-12-23 00:36:00'),
(42, 1549, '2021', 0, 1, 1, 1, '2021-12-23 00:36:00', '2021-12-23 00:36:00'),
(43, 1543, '2021', 0, 1, 1, 1, '2021-12-23 00:36:00', '2021-12-23 00:36:00'),
(44, 1318, '2021', 0, 1, 1, 1, '2021-12-23 00:36:00', '2021-12-23 00:36:00'),
(45, 1387, '2021', 0, 1, 1, 1, '2021-12-23 00:36:00', '2021-12-23 00:36:00'),
(46, 1119, '2022', 0, 1, 1, 1, '2021-12-23 00:36:00', '2021-12-23 00:36:00'),
(47, 1608, '2021', 0, 1, 1, 1, '2021-12-23 00:36:00', '2021-12-23 00:36:00'),
(48, 1092, '2022', 0, 1, 1, 1, '2021-12-23 00:36:00', '2021-12-23 00:36:00'),
(48, 1119, '2021', 0, 1, 1, 1, '2021-12-23 00:46:26', '2021-12-23 00:46:26'),
(49, 1119, '2021', 0, 2, 1, 2, '2021-12-23 00:51:06', '2021-12-23 00:51:06'),
(50, 1119, '2021', 0, 1, 1, 3, '2021-12-23 00:51:06', '2021-12-23 00:51:06'),
(51, 1119, '2020', 0, 1, 2, 5, '2021-12-23 00:51:06', '2021-12-23 00:51:06'),
(52, 1119, '2020', 0, 1, 1, 5, '2021-12-23 00:51:06', '2021-12-23 00:51:06'),
(53, 1119, '2019', 0, 1, 1, 7, '2021-12-23 00:51:06', '2021-12-23 00:51:06'),
(54, 1119, '2019', 0, 1, 1, 7, '2021-12-23 00:51:06', '2021-12-23 00:51:06'),
(55, 1119, '2021', 1, 4, 1, 3, '2021-12-23 00:51:06', '2021-12-23 00:51:06'),
(56, 1119, '2018', 0, 1, 1, 9, '2021-12-23 00:51:06', '2021-12-23 00:51:06');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `facultad`
--
CREATE TABLE `facultad` (
`id_facultad` int(5) NOT NULL,
`nombre_facultad` varchar(50) NOT NULL,
`updated_at` timestamp NOT NULL DEFAULT current_timestamp(),
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT;
--
-- Volcado de datos para la tabla `facultad`
--
INSERT INTO `facultad` (`id_facultad`, `nombre_facultad`, `updated_at`, `created_at`) VALUES
(3, '<NAME>', '2021-11-25 16:33:16', '2021-11-25 16:33:16');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `grupos`
--
CREATE TABLE `grupos` (
`id_grupo` int(10) NOT NULL,
`id_asignatura_fk` int(10) NOT NULL,
`nombre_grupo` varchar(5) NOT NULL,
`tipo` int(2) NOT NULL,
`turno` int(2) NOT NULL,
`estatus` int(2) NOT NULL,
`updated_at` timestamp NOT NULL DEFAULT current_timestamp(),
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Volcado de datos para la tabla `grupos`
--
INSERT INTO `grupos` (`id_grupo`, `id_asignatura_fk`, `nombre_grupo`, `tipo`, `turno`, `estatus`, `updated_at`, `created_at`) VALUES
(1, 1, '2201', 1, 1, 1, '2021-11-25 22:52:31', '2021-11-25 22:52:31'),
(2, 1, '1102', 1, 1, 1, '2021-11-25 22:52:31', '2021-11-25 22:52:31'),
(3, 1, '1103', 1, 1, 1, '2021-11-25 22:52:51', '2021-11-25 22:52:51'),
(4, 1, '1151', 1, 2, 2, '2021-11-25 22:52:51', '2021-11-25 22:52:51'),
(5, 1, '1152', 1, 2, 1, '2021-11-25 22:53:08', '2021-11-25 22:53:08'),
(6, 2, '1101', 1, 1, 1, '2021-11-25 22:53:08', '2021-11-25 22:53:08'),
(7, 2, '1102', 1, 1, 1, '2021-11-25 22:53:38', '2021-11-25 22:53:38'),
(8, 2, '1103', 1, 1, 2, '2021-11-25 22:53:38', '2021-11-25 22:53:38'),
(9, 2, '1151', 1, 2, 1, '2021-11-25 22:53:58', '2021-11-25 22:53:58'),
(10, 2, '1152', 1, 2, 1, '2021-11-25 22:53:58', '2021-11-25 22:53:58'),
(11, 3, '1101', 1, 1, 1, '2021-11-25 22:54:18', '2021-11-25 22:54:18'),
(12, 3, '1102', 1, 1, 2, '2021-11-25 22:54:18', '2021-11-25 22:54:18'),
(13, 3, '1103', 1, 1, 1, '2021-11-25 22:54:33', '2021-11-25 22:54:33'),
(14, 3, '1151', 1, 2, 1, '2021-11-25 22:54:33', '2021-11-25 22:54:33'),
(15, 3, '1152', 1, 2, 1, '2021-11-25 22:54:48', '2021-11-25 22:54:48'),
(16, 4, '1101', 1, 1, 1, '2021-11-25 22:54:48', '2021-11-25 22:54:48'),
(17, 4, '1102', 1, 1, 1, '2021-11-25 22:55:04', '2021-11-25 22:55:04'),
(18, 4, '1103', 1, 1, 1, '2021-11-25 22:55:04', '2021-11-25 22:55:04'),
(19, 4, '1151', 1, 2, 1, '2021-11-25 22:55:17', '2021-11-25 22:55:17'),
(20, 4, '1152', 1, 2, 1, '2021-11-25 22:55:17', '2021-11-25 22:55:17'),
(21, 5, '2201', 1, 1, 1, '2021-11-25 22:55:34', '2021-11-25 22:55:34'),
(22, 5, '1102', 1, 1, 1, '2021-11-25 22:55:34', '2021-11-25 22:55:34'),
(23, 5, '1103', 1, 1, 1, '2021-11-25 22:55:50', '2021-11-25 22:55:50'),
(24, 5, '1151', 1, 2, 1, '2021-11-25 22:55:50', '2021-11-25 22:55:50'),
(25, 5, '1152', 1, 2, 1, '2021-11-25 22:56:09', '2021-11-25 22:56:09'),
(26, 6, '1101', 1, 1, 1, '2021-11-25 22:56:09', '2021-11-25 22:56:09'),
(27, 6, '1102', 1, 1, 1, '2021-11-25 22:56:30', '2021-11-25 22:56:30'),
(28, 6, '1103', 1, 1, 1, '2021-11-25 22:56:30', '2021-11-25 22:56:30'),
(29, 6, '1151', 1, 2, 1, '2021-11-25 22:56:43', '2021-11-25 22:56:43'),
(30, 6, '1152', 1, 2, 1, '2021-11-25 22:56:43', '2021-11-25 22:56:43'),
(31, 7, '1101', 1, 1, 1, '2021-11-25 22:57:01', '2021-11-25 22:57:01'),
(32, 7, '1102', 1, 1, 1, '2021-11-25 22:57:01', '2021-11-25 22:57:01'),
(33, 7, '1103', 1, 1, 1, '2021-11-25 22:57:14', '2021-11-25 22:57:14'),
(34, 7, '1151', 1, 2, 1, '2021-11-25 22:57:14', '2021-11-25 22:57:14'),
(35, 7, '1152', 1, 2, 1, '2021-11-25 22:57:23', '2021-11-25 22:57:23'),
(36, 6, '1101', 1, 1, 1, '2021-12-11 16:50:05', '2021-12-11 16:50:05'),
(37, 6, '1102', 1, 1, 1, '2021-12-11 16:50:05', '2021-12-11 16:50:05'),
(38, 12, '1101', 1, 1, 1, '2021-12-23 21:29:19', '2021-12-23 21:29:19'),
(39, 12, '1102', 1, 1, 1, '2021-12-23 21:29:19', '2021-12-23 21:29:19'),
(40, 12, '1103', 1, 1, 1, '2021-12-23 21:32:13', '2021-12-23 21:32:13'),
(41, 12, '1151', 1, 2, 1, '2021-12-23 21:32:13', '2021-12-23 21:32:13'),
(42, 12, '1152', 1, 2, 1, '2021-12-23 21:32:13', '2021-12-23 21:32:13'),
(43, 13, '1101', 1, 1, 1, '2021-12-23 21:33:08', '2021-12-23 21:33:08'),
(44, 13, '1102', 1, 1, 1, '2021-12-23 21:33:08', '2021-12-23 21:33:08'),
(45, 13, '1103', 1, 1, 1, '2021-12-23 21:33:08', '2021-12-23 21:33:08'),
(46, 13, '1151', 1, 2, 1, '2021-12-23 21:33:08', '2021-12-23 21:33:08'),
(47, 13, '1152', 1, 2, 1, '2021-12-23 21:33:08', '2021-12-23 21:33:08'),
(48, 15, '1101', 1, 1, 1, '2021-12-23 21:33:46', '2021-12-23 21:33:46'),
(49, 15, '1102', 1, 1, 1, '2021-12-23 21:33:46', '2021-12-23 21:33:46'),
(50, 15, '1103', 1, 1, 1, '2021-12-23 21:33:46', '2021-12-23 21:33:46'),
(51, 15, '1151', 1, 2, 1, '2021-12-23 21:33:46', '2021-12-23 21:33:46'),
(52, 15, '1152', 1, 2, 1, '2021-12-23 21:33:46', '2021-12-23 21:33:46'),
(53, 16, '1101', 1, 1, 1, '2021-12-23 21:34:50', '2021-12-23 21:34:50'),
(54, 16, '1102', 1, 1, 1, '2021-12-23 21:34:50', '2021-12-23 21:34:50'),
(55, 16, '1103', 1, 1, 1, '2021-12-23 21:34:50', '2021-12-23 21:34:50'),
(56, 16, '1151', 1, 2, 1, '2021-12-23 21:34:50', '2021-12-23 21:34:50'),
(57, 16, '1152', 1, 2, 1, '2021-12-23 21:34:50', '2021-12-23 21:34:50'),
(58, 17, '1101', 1, 1, 1, '2021-12-23 21:37:15', '2021-12-23 21:37:15'),
(59, 17, '1102', 1, 1, 1, '2021-12-23 21:37:15', '2021-12-23 21:37:15'),
(60, 17, '1103', 1, 1, 1, '2021-12-23 21:37:15', '2021-12-23 21:37:15'),
(61, 17, '1151', 1, 2, 1, '2021-12-23 21:37:15', '2021-12-23 21:37:15'),
(62, 17, '1152', 1, 2, 1, '2021-12-23 21:37:15', '2021-12-23 21:37:15'),
(63, 18, '1101', 1, 1, 1, '2021-12-23 21:38:04', '2021-12-23 21:38:04'),
(64, 18, '1102', 1, 1, 1, '2021-12-23 21:38:04', '2021-12-23 21:38:04'),
(65, 18, '1103', 1, 1, 1, '2021-12-23 21:38:04', '2021-12-23 21:38:04'),
(66, 18, '1151', 1, 2, 1, '2021-12-23 21:38:04', '2021-12-23 21:38:04'),
(67, 18, '1152', 1, 2, 1, '2021-12-23 21:38:04', '2021-12-23 21:38:04'),
(68, 20, '2201', 1, 1, 1, '2021-12-23 21:40:33', '2021-12-23 21:40:33'),
(69, 20, '2202', 1, 1, 1, '2021-12-23 21:40:33', '2021-12-23 21:40:33'),
(70, 20, '2203', 1, 1, 1, '2021-12-23 21:40:33', '2021-12-23 21:40:33'),
(71, 20, '2251', 1, 2, 1, '2021-12-23 21:40:33', '2021-12-23 21:40:33'),
(72, 20, '2252', 1, 2, 1, '2021-12-23 21:40:33', '2021-12-23 21:40:33'),
(73, 21, '2201', 1, 1, 1, '2021-12-23 21:41:15', '2021-12-23 21:41:15'),
(74, 21, '2202', 1, 1, 1, '2021-12-23 21:41:15', '2021-12-23 21:41:15'),
(75, 21, '2203', 1, 1, 1, '2021-12-23 21:41:15', '2021-12-23 21:41:15'),
(76, 21, '2251', 1, 2, 1, '2021-12-23 21:41:15', '2021-12-23 21:41:15'),
(77, 21, '2252', 1, 2, 1, '2021-12-23 21:41:15', '2021-12-23 21:41:15'),
(78, 22, '2201', 1, 1, 1, '2021-12-23 21:41:37', '2021-12-23 21:41:37'),
(79, 22, '2202', 1, 1, 1, '2021-12-23 21:41:37', '2021-12-23 21:41:37'),
(80, 22, '2203', 1, 1, 1, '2021-12-23 21:41:37', '2021-12-23 21:41:37'),
(81, 22, '2251', 1, 2, 1, '2021-12-23 21:41:37', '2021-12-23 21:41:37'),
(82, 22, '2252', 1, 2, 1, '2021-12-23 21:41:37', '2021-12-23 21:41:37'),
(83, 23, '2201', 1, 1, 1, '2021-12-23 21:42:00', '2021-12-23 21:42:00'),
(84, 23, '2202', 1, 1, 1, '2021-12-23 21:42:00', '2021-12-23 21:42:00'),
(85, 23, '2203', 1, 1, 1, '2021-12-23 21:42:00', '2021-12-23 21:42:00'),
(86, 23, '2251', 1, 2, 1, '2021-12-23 21:42:00', '2021-12-23 21:42:00'),
(87, 23, '2252', 1, 2, 1, '2021-12-23 21:42:00', '2021-12-23 21:42:00'),
(88, 24, '2201', 1, 1, 1, '2021-12-23 21:42:22', '2021-12-23 21:42:22'),
(89, 24, '2202', 1, 1, 1, '2021-12-23 21:42:22', '2021-12-23 21:42:22'),
(90, 24, '2203', 1, 1, 1, '2021-12-23 21:42:22', '2021-12-23 21:42:22'),
(91, 24, '2251', 1, 2, 1, '2021-12-23 21:42:22', '2021-12-23 21:42:22'),
(92, 24, '2252', 1, 2, 1, '2021-12-23 21:42:22', '2021-12-23 21:42:22'),
(93, 25, '2201', 1, 1, 1, '2021-12-23 21:42:48', '2021-12-23 21:42:48'),
(94, 25, '2202', 1, 1, 1, '2021-12-23 21:42:48', '2021-12-23 21:42:48'),
(95, 25, '2203', 1, 1, 1, '2021-12-23 21:42:48', '2021-12-23 21:42:48'),
(96, 25, '2251', 1, 2, 1, '2021-12-23 21:42:48', '2021-12-23 21:42:48'),
(97, 25, '2252', 1, 2, 1, '2021-12-23 21:42:48', '2021-12-23 21:42:48'),
(98, 26, '1301', 1, 1, 1, '2021-12-23 21:48:08', '2021-12-23 21:48:08'),
(99, 26, '1302', 1, 1, 1, '2021-12-23 21:48:08', '2021-12-23 21:48:08'),
(100, 26, '1303', 1, 1, 1, '2021-12-23 21:48:08', '2021-12-23 21:48:08'),
(101, 26, '1351', 1, 2, 1, '2021-12-23 21:48:08', '2021-12-23 21:48:08'),
(102, 26, '1352', 1, 2, 1, '2021-12-23 21:48:08', '2021-12-23 21:48:08'),
(103, 27, '1301', 1, 1, 1, '2021-12-23 21:48:35', '2021-12-23 21:48:35'),
(104, 27, '1302', 1, 1, 1, '2021-12-23 21:48:35', '2021-12-23 21:48:35'),
(105, 27, '1303', 1, 1, 1, '2021-12-23 21:48:35', '2021-12-23 21:48:35'),
(106, 27, '1351', 1, 2, 1, '2021-12-23 21:48:35', '2021-12-23 21:48:35'),
(107, 27, '1352', 1, 2, 1, '2021-12-23 21:48:35', '2021-12-23 21:48:35'),
(108, 28, '1301', 1, 1, 1, '2021-12-23 21:52:17', '2021-12-23 21:52:17'),
(109, 28, '1302', 1, 1, 1, '2021-12-23 21:52:17', '2021-12-23 21:52:17'),
(110, 28, '1303', 1, 1, 1, '2021-12-23 21:52:17', '2021-12-23 21:52:17'),
(111, 28, '1351', 1, 2, 1, '2021-12-23 21:52:17', '2021-12-23 21:52:17'),
(112, 28, '1352', 1, 2, 1, '2021-12-23 21:52:17', '2021-12-23 21:52:17'),
(113, 29, '1301', 1, 1, 1, '2021-12-23 21:52:17', '2021-12-23 21:52:17'),
(114, 29, '1302', 1, 1, 1, '2021-12-23 21:52:17', '2021-12-23 21:52:17'),
(115, 29, '1303', 1, 1, 1, '2021-12-23 21:52:17', '2021-12-23 21:52:17'),
(116, 29, '1351', 1, 2, 1, '2021-12-23 21:52:17', '2021-12-23 21:52:17'),
(117, 29, '1352', 1, 2, 1, '2021-12-23 21:52:17', '2021-12-23 21:52:17'),
(118, 30, '1301', 1, 1, 1, '2021-12-23 21:52:17', '2021-12-23 21:52:17'),
(119, 30, '1302', 1, 1, 1, '2021-12-23 21:52:17', '2021-12-23 21:52:17'),
(120, 30, '1303', 1, 1, 1, '2021-12-23 21:52:17', '2021-12-23 21:52:17'),
(121, 30, '1351', 1, 2, 1, '2021-12-23 21:52:17', '2021-12-23 21:52:17'),
(122, 30, '1352', 1, 2, 1, '2021-12-23 21:52:17', '2021-12-23 21:52:17'),
(123, 31, '1301', 1, 1, 1, '2021-12-23 21:52:17', '2021-12-23 21:52:17'),
(124, 31, '1302', 1, 1, 1, '2021-12-23 21:52:17', '2021-12-23 21:52:17'),
(125, 31, '1303', 1, 1, 1, '2021-12-23 21:52:17', '2021-12-23 21:52:17'),
(126, 31, '1351', 1, 2, 1, '2021-12-23 21:52:17', '2021-12-23 21:52:17'),
(127, 31, '1352', 1, 2, 1, '2021-12-23 21:52:17', '2021-12-23 21:52:17'),
(128, 32, '2401', 1, 1, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(129, 32, '2402', 1, 1, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(130, 32, '2403', 1, 1, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(131, 32, '2451', 1, 2, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(132, 32, '2452', 1, 2, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(133, 33, '2401', 1, 1, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(134, 33, '2402', 1, 1, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(135, 33, '2403', 1, 1, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(136, 33, '2451', 1, 2, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(137, 33, '2452', 1, 2, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(138, 34, '2401', 1, 1, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(139, 34, '2402', 1, 1, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(140, 34, '2403', 1, 1, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(141, 34, '2451', 1, 2, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(142, 34, '2452', 1, 2, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(143, 35, '2401', 1, 1, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(144, 35, '2402', 1, 1, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(145, 35, '2403', 1, 1, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(146, 35, '2451', 1, 2, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(147, 35, '2452', 1, 2, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(148, 36, '2401', 1, 1, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(149, 36, '2402', 1, 1, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(150, 36, '2403', 1, 1, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(151, 36, '2451', 1, 2, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(152, 36, '2452', 1, 2, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(153, 37, '2401', 1, 1, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(154, 37, '2402', 1, 1, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(155, 37, '2403', 1, 1, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(156, 37, '2451', 1, 2, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(157, 37, '2452', 1, 2, 1, '2021-12-23 21:56:15', '2021-12-23 21:56:15'),
(158, 38, '1501', 1, 1, 1, '2021-12-23 22:00:09', '2021-12-23 22:00:09'),
(159, 38, '1502', 1, 1, 1, '2021-12-23 22:00:09', '2021-12-23 22:00:09'),
(160, 38, '1503', 1, 1, 1, '2021-12-23 22:00:09', '2021-12-23 22:00:09'),
(161, 38, '1551', 1, 2, 1, '2021-12-23 22:00:09', '2021-12-23 22:00:09'),
(162, 38, '1552', 1, 2, 1, '2021-12-23 22:00:09', '2021-12-23 22:00:09'),
(163, 39, '1501', 1, 1, 1, '2021-12-23 22:00:09', '2021-12-23 22:00:09'),
(164, 39, '1502', 1, 1, 1, '2021-12-23 22:00:09', '2021-12-23 22:00:09'),
(165, 39, '1503', 1, 1, 1, '2021-12-23 22:00:09', '2021-12-23 22:00:09'),
(166, 39, '1551', 1, 2, 1, '2021-12-23 22:00:09', '2021-12-23 22:00:09'),
(167, 39, '1552', 1, 2, 1, '2021-12-23 22:00:09', '2021-12-23 22:00:09'),
(168, 40, '1501', 1, 1, 1, '2021-12-23 22:00:09', '2021-12-23 22:00:09'),
(169, 40, '1502', 1, 1, 1, '2021-12-23 22:00:09', '2021-12-23 22:00:09'),
(170, 40, '1503', 1, 1, 1, '2021-12-23 22:00:09', '2021-12-23 22:00:09'),
(171, 40, '1551', 1, 2, 1, '2021-12-23 22:00:09', '2021-12-23 22:00:09'),
(172, 40, '1552', 1, 2, 1, '2021-12-23 22:00:09', '2021-12-23 22:00:09'),
(173, 41, '1501', 1, 1, 1, '2021-12-23 22:00:09', '2021-12-23 22:00:09'),
(174, 41, '1502', 1, 1, 1, '2021-12-23 22:00:09', '2021-12-23 22:00:09'),
(175, 41, '1503', 1, 1, 1, '2021-12-23 22:00:09', '2021-12-23 22:00:09'),
(176, 41, '1551', 1, 2, 1, '2021-12-23 22:00:09', '2021-12-23 22:00:09'),
(177, 41, '1552', 1, 2, 1, '2021-12-23 22:00:09', '2021-12-23 22:00:09'),
(178, 42, '2601', 1, 1, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(179, 42, '2602', 1, 1, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(180, 42, '2603', 1, 1, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(181, 42, '2651', 1, 2, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(182, 42, '2652', 1, 2, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(183, 43, '2601', 1, 1, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(184, 43, '2602', 1, 1, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(185, 43, '2603', 1, 1, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(186, 43, '2651', 1, 2, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(187, 43, '2652', 1, 2, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(188, 44, '2601', 1, 1, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(189, 44, '2602', 1, 1, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(190, 44, '2603', 1, 1, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(191, 44, '2651', 1, 2, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(192, 44, '2652', 1, 2, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(193, 45, '2601', 1, 1, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(194, 45, '2602', 1, 1, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(195, 45, '2603', 1, 1, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(196, 45, '2651', 1, 2, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(197, 45, '2652', 1, 2, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(198, 46, '2601', 1, 1, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(199, 46, '2602', 1, 1, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(200, 46, '2603', 1, 1, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(201, 46, '2651', 1, 2, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(202, 46, '2652', 1, 2, 1, '2021-12-23 22:28:11', '2021-12-23 22:28:11'),
(203, 47, '1701', 1, 1, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(204, 47, '1702', 1, 1, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(205, 47, '1703', 1, 1, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(206, 47, '1751', 1, 2, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(207, 47, '1752', 1, 2, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(208, 48, '1701', 1, 1, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(209, 48, '1702', 1, 1, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(210, 48, '1703', 1, 1, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(211, 48, '1751', 1, 2, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(212, 48, '1752', 1, 2, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(213, 49, '1701', 1, 1, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(214, 49, '1702', 1, 1, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(215, 49, '1703', 1, 1, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(216, 49, '1751', 1, 2, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(217, 49, '1752', 1, 2, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(218, 50, '1701', 1, 1, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(219, 50, '1702', 1, 1, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(220, 50, '1703', 1, 1, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(221, 50, '1751', 1, 2, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(222, 50, '1752', 1, 2, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(223, 51, '1701', 1, 1, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(224, 51, '1702', 1, 1, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(225, 51, '1703', 1, 1, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(226, 51, '1751', 1, 2, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(227, 51, '1752', 1, 2, 1, '2021-12-23 22:31:32', '2021-12-23 22:31:32'),
(228, 52, '2801', 1, 1, 1, '2021-12-23 22:38:17', '2021-12-23 22:38:17'),
(229, 52, '2802', 1, 1, 1, '2021-12-23 22:38:17', '2021-12-23 22:38:17'),
(230, 52, '2803', 1, 1, 1, '2021-12-23 22:38:17', '2021-12-23 22:38:17'),
(231, 52, '2851', 1, 2, 1, '2021-12-23 22:38:17', '2021-12-23 22:38:17'),
(232, 52, '2852', 1, 2, 1, '2021-12-23 22:38:17', '2021-12-23 22:38:17'),
(233, 53, '2806', 1, 1, 1, '2021-12-23 22:38:17', '2021-12-23 22:38:17'),
(234, 53, '2802', 1, 1, 1, '2021-12-23 22:38:17', '2021-12-23 22:38:17'),
(235, 53, '2803', 1, 1, 1, '2021-12-23 22:38:17', '2021-12-23 22:38:17'),
(236, 53, '2851', 1, 2, 1, '2021-12-23 22:38:17', '2021-12-23 22:38:17'),
(237, 53, '2852', 1, 2, 1, '2021-12-23 22:38:17', '2021-12-23 22:38:17'),
(238, 54, '1901', 1, 1, 1, '2021-12-23 22:41:29', '2021-12-23 22:41:29'),
(239, 54, '1902', 1, 1, 1, '2021-12-23 22:41:29', '2021-12-23 22:41:29'),
(240, 54, '1903', 1, 1, 1, '2021-12-23 22:41:29', '2021-12-23 22:41:29'),
(241, 54, '1951', 1, 2, 1, '2021-12-23 22:41:29', '2021-12-23 22:41:29'),
(242, 54, '1952', 1, 2, 1, '2021-12-23 22:41:29', '2021-12-23 22:41:29'),
(243, 83, '2001', 1, 1, 1, '2021-12-23 22:55:09', '2021-12-23 22:55:09'),
(244, 90, '2101', 1, 1, 1, '2021-12-23 23:20:47', '2021-12-23 23:20:47'),
(245, 91, '1101', 1, 1, 1, '2021-12-23 23:20:47', '2021-12-23 23:20:47'),
(246, 92, '1111', 1, 1, 1, '2021-12-23 23:22:01', '2021-12-23 23:22:01'),
(247, 93, '1101', 1, 1, 1, '2021-12-23 23:22:01', '2021-12-23 23:22:01'),
(248, 94, '9211', 1, 1, 1, '2021-12-23 23:23:32', '2021-12-23 23:23:32'),
(249, 95, '1101', 1, 1, 1, '2021-12-23 23:23:32', '2021-12-23 23:23:32'),
(250, 96, '1101', 1, 1, 1, '2021-12-23 23:24:54', '2021-12-23 23:24:54'),
(251, 97, '2101', 1, 1, 1, '2021-12-23 23:24:54', '2021-12-23 23:24:54'),
(252, 98, '1109', 1, 1, 1, '2021-12-23 23:26:37', '2021-12-23 23:26:37'),
(253, 99, '2105', 1, 1, 1, '2021-12-23 23:26:37', '2021-12-23 23:26:37'),
(254, 100, '2101', 1, 1, 1, '2021-12-23 23:28:05', '2021-12-23 23:28:05'),
(255, 101, '2101', 1, 1, 1, '2021-12-23 23:28:05', '2021-12-23 23:28:05'),
(256, 102, '2101', 1, 1, 1, '2021-12-23 23:29:28', '2021-12-23 23:29:28'),
(257, 103, '1101', 1, 1, 1, '2021-12-23 23:29:28', '2021-12-23 23:29:28'),
(258, 104, '2101', 1, 1, 1, '2021-12-23 23:30:04', '2021-12-23 23:30:04'),
(259, 14, '1101', 1, 1, 1, '2021-12-24 03:42:57', '2021-12-24 03:42:57'),
(260, 14, '1102', 1, 1, 1, '2021-12-24 03:44:22', '2021-12-24 03:44:22'),
(261, 14, '1103', 1, 1, 1, '2021-12-24 03:44:22', '2021-12-24 03:44:22'),
(262, 14, '1151', 1, 1, 1, '2021-12-24 03:44:22', '2021-12-24 03:44:22'),
(263, 14, '1152', 1, 1, 1, '2021-12-24 03:44:22', '2021-12-24 03:44:22'),
(264, 66, '1501', 1, 1, 1, '2021-12-24 04:05:45', '2021-12-24 04:05:45'),
(265, 66, '1551', 1, 2, 1, '2021-12-24 04:05:45', '2021-12-24 04:05:45'),
(266, 62, '1501', 1, 1, 1, '2021-12-24 04:16:53', '2021-12-24 04:16:53'),
(267, 62, '1551', 1, 2, 1, '2021-12-24 04:16:53', '2021-12-24 04:16:53'),
(268, 63, '1701', 1, 1, 1, '2021-12-24 04:16:53', '2021-12-24 04:16:53'),
(269, 63, '1751', 1, 2, 1, '2021-12-24 04:16:53', '2021-12-24 04:16:53'),
(270, 61, '1701', 1, 1, 1, '2021-12-24 04:16:53', '2021-12-24 04:16:53'),
(271, 61, '1751', 1, 2, 1, '2021-12-24 04:16:53', '2021-12-24 04:16:53'),
(272, 59, '1701', 1, 1, 1, '2021-12-24 04:16:53', '2021-12-24 04:16:53'),
(273, 59, '1751', 1, 2, 1, '2021-12-24 04:16:53', '2021-12-24 04:16:53'),
(274, 56, '1701', 1, 1, 1, '2021-12-24 04:16:53', '2021-12-24 04:16:53'),
(275, 56, '1751', 1, 2, 1, '2021-12-24 04:16:53', '2021-12-24 04:16:53'),
(281, 74, '1901', 1, 1, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(282, 74, '1902', 1, 1, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(283, 74, '1903', 1, 1, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(284, 74, '1951', 1, 2, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(285, 74, '1952', 1, 2, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(286, 83, '1901', 1, 1, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(287, 83, '1902', 1, 1, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(288, 83, '1903', 1, 1, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(289, 83, '1951', 1, 2, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(290, 83, '1952', 1, 2, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(291, 82, '1901', 1, 1, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(292, 82, '1902', 1, 1, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(293, 82, '2803', 1, 1, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(294, 82, '2851', 1, 2, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(295, 82, '1952', 1, 2, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(296, 84, '1901', 1, 1, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(297, 84, '1902', 1, 1, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(298, 84, '1903', 1, 1, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(299, 84, '1951', 1, 2, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(300, 84, '1952', 1, 2, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(301, 81, '1901', 1, 1, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(302, 81, '1902', 1, 1, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(303, 81, '1903', 1, 1, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(304, 81, '1951', 1, 2, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(305, 81, '1952', 1, 2, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(306, 88, '1901', 1, 1, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(307, 88, '1902', 1, 1, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(308, 88, '1903', 1, 1, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(309, 88, '1951', 1, 2, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(310, 88, '1952', 1, 2, 1, '2021-12-24 04:35:16', '2021-12-24 04:35:16'),
(311, 62, '2001', 1, 1, 1, '2021-12-24 21:34:20', '2021-12-24 21:34:20'),
(312, 63, '2051', 1, 2, 1, '2021-12-24 21:34:20', '2021-12-24 21:34:20'),
(313, 17, '2101', 2, 1, 1, '2021-12-24 21:37:08', '2021-12-24 21:37:08'),
(314, 69, '2151', 1, 2, 1, '2021-12-24 21:41:35', '2021-12-24 21:41:35'),
(315, 31, '2351', 2, 1, 1, '2021-12-25 16:31:10', '2021-12-25 16:31:10'),
(316, 105, '2601', 1, 1, 1, '2021-12-25 19:45:27', '2021-12-25 19:45:27'),
(317, 106, '2601', 1, 1, 1, '2021-12-25 19:45:27', '2021-12-25 19:45:27'),
(318, 66, '2602', 1, 2, 1, '2021-12-25 21:00:39', '2021-12-25 21:00:39'),
(319, 105, '2651', 1, 1, 1, '2021-12-25 21:11:04', '2021-12-25 21:11:04'),
(320, 59, '2652', 1, 2, 1, '2021-12-25 21:18:43', '2021-12-25 21:18:43'),
(321, 69, '2801', 1, 1, 1, '2021-12-25 21:35:53', '2021-12-25 21:35:53'),
(322, 73, '2801', 1, 1, 1, '2021-12-25 21:37:42', '2021-12-25 21:37:42'),
(323, 107, '2802', 1, 1, 1, '2021-12-25 21:42:26', '2021-12-25 21:42:26'),
(324, 68, '2803', 1, 1, 1, '2021-12-25 22:03:31', '2021-12-25 22:03:31'),
(325, 70, '2804', 1, 1, 1, '2021-12-25 22:09:44', '2021-12-25 22:09:44'),
(326, 79, '2804', 1, 1, 1, '2021-12-25 22:11:50', '2021-12-25 22:11:50'),
(327, 77, '2806', 1, 1, 1, '2021-12-25 22:13:16', '2021-12-25 22:13:16'),
(328, 68, '2851', 1, 2, 1, '2021-12-25 22:15:50', '2021-12-25 22:15:50'),
(329, 73, '2851', 1, 2, 1, '2021-12-25 22:20:27', '2021-12-25 22:20:27'),
(330, 107, '2852', 1, 2, 1, '2021-12-25 22:41:41', '2021-12-25 22:41:41'),
(331, 70, '2852', 1, 2, 1, '2021-12-25 22:45:42', '2021-12-25 22:45:42'),
(332, 108, '2852', 1, 2, 1, '2021-12-25 22:49:15', '2021-12-25 22:49:15'),
(333, 109, '2853', 1, 2, 1, '2021-12-25 22:54:13', '2021-12-25 22:54:13'),
(334, 77, '2853', 1, 2, 1, '2021-12-25 22:57:25', '2021-12-25 22:57:25'),
(335, 110, '2051', 1, 2, 1, '2021-12-25 22:59:51', '2021-12-25 22:59:51'),
(336, 106, '1701', 1, 1, 1, '2021-12-27 00:09:04', '2021-12-27 00:09:04'),
(337, 108, '2802', 1, 1, 1, '2021-12-29 02:02:38', '2021-12-29 02:02:38'),
(338, 111, '1501', 1, 1, 1, '2021-12-31 04:20:49', '2021-12-31 04:20:49'),
(339, 111, '1502', 1, 1, 1, '2021-12-31 04:21:46', '2021-12-31 04:21:46'),
(340, 111, '1503', 1, 1, 1, '2021-12-31 04:21:46', '2021-12-31 04:21:46'),
(341, 111, '1551', 1, 2, 1, '2021-12-31 04:21:46', '2021-12-31 04:21:46'),
(342, 111, '1552', 1, 2, 1, '2021-12-31 04:21:46', '2021-12-31 04:21:46'),
(343, 111, '2501', 1, 1, 1, '2021-12-31 04:22:20', '2021-12-31 04:22:20'),
(344, 76, '2801', 3, 1, 1, '2021-12-31 05:27:38', '2021-12-31 05:27:38'),
(345, 112, '1202', 1, 1, 1, '2021-12-31 05:32:04', '2021-12-31 05:32:04'),
(346, 86, '1901', 1, 1, 1, '2022-01-01 20:40:18', '2022-01-01 20:40:18');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `horario`
--
CREATE TABLE `horario` (
`id_horario` int(10) NOT NULL,
`id_grupo_fk` int(10) NOT NULL,
`id_salon_fk` int(5) NOT NULL,
`inicio` time NOT NULL,
`fin` time NOT NULL,
`duracion` double NOT NULL,
`dia` int(1) NOT NULL,
`updated_at` timestamp NOT NULL DEFAULT current_timestamp(),
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Volcado de datos para la tabla `horario`
--
INSERT INTO `horario` (`id_horario`, `id_grupo_fk`, `id_salon_fk`, `inicio`, `fin`, `duracion`, `dia`, `updated_at`, `created_at`) VALUES
(1, 1, 1, '07:00:00', '09:00:00', 120, 1, '2021-11-26 00:00:50', '2021-11-26 00:00:50'),
(2, 1, 1, '09:00:00', '11:00:00', 120, 3, '2021-11-26 00:01:32', '2021-11-26 00:01:32'),
(3, 2, 2, '09:00:00', '11:00:00', 120, 1, '2021-11-26 00:01:57', '2021-11-26 00:01:57'),
(4, 3, 3, '07:00:00', '09:00:00', 120, 5, '2021-11-26 00:04:55', '2021-11-26 00:04:55'),
(5, 4, 3, '15:00:00', '17:00:00', 120, 2, '2021-11-26 00:05:21', '2021-11-26 00:05:21'),
(6, 5, 3, '15:00:00', '17:00:00', 120, 3, '2021-11-26 00:06:07', '2021-11-26 00:06:07'),
(7, 5, 4, '15:00:00', '17:00:00', 120, 5, '2021-11-26 00:07:14', '2021-11-26 00:07:14'),
(8, 6, 1, '09:00:00', '11:00:00', 120, 1, '2021-11-26 00:08:33', '2021-11-26 00:08:33'),
(9, 243, 11, '11:00:00', '13:00:00', 2, 3, '2021-12-27 21:42:02', '2021-12-27 21:42:02'),
(10, 243, 2, '13:00:00', '15:00:00', 2, 3, '2021-12-27 21:51:04', '2021-12-27 21:51:04'),
(11, 243, 2, '13:00:00', '15:00:00', 2, 2, '2021-12-27 21:51:04', '2021-12-27 21:51:04'),
(12, 311, 12, '11:00:00', '13:00:00', 2, 2, '2021-12-27 21:51:04', '2021-12-27 21:51:04'),
(13, 311, 12, '11:00:00', '13:00:00', 2, 3, '2021-12-27 21:51:04', '2021-12-27 21:51:04'),
(14, 311, 12, '11:00:00', '13:00:00', 2, 4, '2021-12-27 21:51:04', '2021-12-27 21:51:04'),
(15, 335, 2, '19:00:00', '21:00:00', 2, 4, '2021-12-27 21:51:04', '2021-12-27 21:51:04'),
(16, 335, 13, '18:00:00', '20:00:00', 2, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(17, 335, 13, '18:00:00', '20:00:00', 2, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(18, 312, 12, '14:00:00', '16:00:00', 2, 4, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(19, 312, 14, '14:00:00', '16:00:00', 2, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(20, 312, 14, '14:00:00', '16:00:00', 2, 5, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(21, 313, 15, '09:00:00', '14:00:00', 5, 6, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(22, 314, 4, '15:00:00', '16:00:00', 1, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(23, 314, 4, '15:00:00', '16:00:00', 1, 5, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(24, 314, 16, '15:00:00', '17:00:00', 2, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(25, 314, 16, '15:00:00', '17:00:00', 2, 4, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(26, 68, 12, '07:00:00', '09:00:00', 2, 1, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(27, 68, 12, '07:00:00', '08:00:00', 1, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(28, 68, 17, '08:00:00', '09:00:00', 1, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(29, 68, 17, '08:00:00', '09:00:00', 1, 5, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(30, 73, 11, '12:00:00', '13:30:00', 1.3, 4, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(31, 73, 18, '12:00:00', '13:30:00', 1.3, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(32, 78, 12, '09:00:00', '11:00:00', 2, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(33, 78, 12, '09:00:00', '11:00:00', 2, 4, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(34, 78, 12, '12:00:00', '14:00:00', 2, 5, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(35, 83, 16, '09:00:00', '11:00:00', 2, 1, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(36, 83, 12, '09:00:00', '10:30:00', 2, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(37, 83, 12, '09:00:00', '10:30:00', 2, 5, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(38, 88, 12, '11:00:00', '12:30:00', 1.3, 1, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(39, 88, 12, '10:30:00', '12:00:00', 1.3, 5, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(40, 88, 16, '11:00:00', '13:00:00', 2, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(41, 93, 12, '07:00:00', '09:00:00', 2, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(42, 93, 12, '07:00:00', '09:00:00', 2, 4, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(43, 69, 4, '07:00:00', '09:00:00', 2, 1, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(44, 69, 4, '07:00:00', '09:00:00', 2, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(45, 69, 4, '08:00:00', '09:00:00', 1, 5, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(46, 74, 4, '09:00:00', '10:30:00', 1.3, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(47, 74, 4, '09:00:00', '10:30:00', 1.3, 4, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(48, 79, 4, '10:30:00', '12:30:00', 2, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(49, 79, 4, '10:30:00', '12:30:00', 2, 4, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(50, 79, 4, '10:30:00', '12:30:00', 2, 5, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(51, 84, 4, '09:00:00', '11:00:00', 2, 1, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(52, 84, 4, '09:00:00', '10:00:00', 2, 5, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(53, 84, 16, '09:00:00', '11:00:00', 2, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(54, 89, 4, '11:00:00', '13:00:00', 2, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(55, 89, 4, '12:30:00', '13:30:00', 1, 5, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(56, 89, 16, '11:00:00', '13:00:00', 2, 1, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(57, 94, 4, '07:00:00', '09:00:00', 2, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(58, 94, 4, '07:00:00', '09:00:00', 2, 4, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(59, 70, 15, '09:00:00', '11:00:00', 2, 1, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(60, 70, 15, '09:00:00', '11:00:00', 2, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(61, 70, 15, '09:00:00', '10:00:00', 1, 5, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(62, 75, 15, '12:00:00', '13:30:00', 1.3, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(63, 75, 15, '12:00:00', '13:30:00', 1.3, 4, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(64, 80, 15, '07:00:00', '09:00:00', 2, 1, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(65, 80, 15, '07:00:00', '09:00:00', 2, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(66, 80, 15, '07:00:00', '09:00:00', 2, 5, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(67, 85, 15, '11:00:00', '13:00:00', 2, 1, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(68, 85, 15, '11:00:00', '12:00:00', 1, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(69, 85, 2, '11:00:00', '13:00:00', 2, 5, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(70, 90, 15, '07:00:00', '10:00:00', 3, 4, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(71, 90, 13, '08:00:00', '10:00:00', 2, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(72, 95, 15, '10:00:00', '12:00:00', 2, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(73, 95, 15, '10:00:00', '12:00:00', 2, 4, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(74, 71, 4, '15:00:00', '18:00:00', 3, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(75, 71, 4, '16:00:00', '18:00:00', 2, 4, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(76, 76, 4, '17:30:00', '19:00:00', 1.3, 1, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(77, 76, 4, '18:00:00', '19:30:00', 1.3, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(78, 81, 4, '19:30:00', '21:30:00', 2, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(79, 81, 4, '19:30:00', '21:30:00', 2, 4, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(80, 81, 4, '08:00:00', '10:00:00', 2, 6, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(81, 86, 4, '18:00:00', '19:30:00', 1.3, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(82, 86, 4, '18:00:00', '19:30:00', 1.3, 4, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(83, 86, 16, '10:00:00', '12:00:00', 2, 6, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(84, 91, 4, '19:00:00', '20:30:00', 1.3, 1, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(85, 91, 4, '19:30:00', '21:00:00', 1.3, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(86, 91, 16, '19:00:00', '21:00:00', 2, 5, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(87, 96, 4, '16:00:00', '18:00:00', 2, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(88, 96, 4, '17:00:00', '19:00:00', 2, 5, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(89, 72, 12, '15:00:00', '18:00:00', 3, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(90, 72, 12, '16:00:00', '18:00:00', 2, 4, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(91, 77, 12, '17:30:00', '19:00:00', 1.3, 1, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(92, 77, 12, '18:00:00', '19:30:00', 1.3, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(93, 82, 12, '19:30:00', '21:30:00', 2, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(94, 82, 12, '19:30:00', '21:30:00', 2, 4, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(95, 82, 12, '08:00:00', '10:00:00', 2, 6, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(96, 87, 12, '18:00:00', '19:30:00', 1.3, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(97, 87, 12, '18:00:00', '19:30:00', 1.3, 4, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(98, 87, 2, '10:00:00', '12:00:00', 2, 6, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(99, 92, 12, '19:30:00', '21:00:00', 1.3, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(100, 92, 12, '19:00:00', '20:30:00', 1.3, 5, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(101, 92, 16, '19:00:00', '21:00:00', 2, 1, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(102, 97, 12, '16:00:00', '18:00:00', 2, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(103, 97, 12, '17:00:00', '19:00:00', 2, 5, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(104, 315, 14, '07:00:00', '11:00:00', 4, 6, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(105, 128, 19, '11:30:00', '13:30:00', 2, 1, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(106, 128, 19, '11:00:00', '13:00:00', 2, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(107, 133, 19, '11:00:00', '12:30:00', 1.3, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(108, 133, 19, '11:30:00', '13:00:00', 1.3, 4, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(109, 138, 19, '09:00:00', '11:30:00', 2.3, 4, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(110, 138, 19, '12:00:00', '14:30:00', 2.3, 5, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(111, 138, 16, '09:00:00', '11:00:00', 2, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(112, 143, 19, '09:00:00', '11:30:00', 2.3, 1, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(113, 143, 19, '09:00:00', '11:30:00', 2.3, 5, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(114, 143, 13, '09:00:00', '11:00:00', 2, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(115, 148, 19, '07:00:00', '09:00:00', 2, 3, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(116, 148, 19, '08:00:00', '09:00:00', 1, 5, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(117, 148, 16, '07:00:00', '09:00:00', 2, 1, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(118, 153, 19, '07:00:00', '09:00:00', 2, 2, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(119, 153, 19, '07:00:00', '09:00:00', 2, 4, '2021-12-28 05:57:56', '2021-12-28 05:57:56'),
(120, 129, 20, '12:00:00', '14:00:00', 2, 1, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(121, 129, 20, '12:00:00', '14:00:00', 2, 3, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(122, 134, 20, '11:30:00', '13:00:00', 1.3, 2, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(123, 134, 20, '11:00:00', '12:30:00', 1.3, 4, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(124, 139, 20, '09:00:00', '11:30:00', 2.3, 2, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(125, 139, 20, '11:00:00', '13:30:00', 2.3, 5, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(126, 139, 16, '09:00:00', '11:00:00', 2, 4, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(127, 144, 20, '09:00:00', '11:30:00', 2.3, 1, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(128, 144, 20, '09:00:00', '11:30:00', 2.3, 3, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(129, 144, 13, '09:00:00', '11:00:00', 2, 5, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(130, 149, 20, '07:00:00', '09:00:00', 2, 1, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(131, 149, 20, '08:00:00', '09:00:00', 1, 5, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(132, 149, 16, '07:00:00', '09:00:00', 2, 3, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(133, 154, 20, '07:00:00', '09:00:00', 2, 2, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(134, 154, 20, '07:00:00', '09:00:00', 2, 4, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(135, 130, 21, '10:00:00', '12:00:00', 2, 1, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(136, 130, 21, '10:00:00', '12:00:00', 2, 3, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(137, 135, 21, '12:00:00', '13:00:00', 1, 3, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(138, 135, 21, '11:00:00', '13:00:00', 2, 5, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(139, 140, 21, '10:00:00', '12:30:00', 2.3, 2, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(140, 140, 21, '10:00:00', '12:30:00', 2.3, 4, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(141, 140, 2, '09:00:00', '11:00:00', 2, 5, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(142, 145, 21, '07:00:00', '10:00:00', 3, 1, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(143, 145, 21, '08:00:00', '10:00:00', 2, 3, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(144, 145, 2, '07:00:00', '09:00:00', 2, 5, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(145, 150, 21, '12:30:00', '14:00:00', 1.3, 2, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(146, 150, 21, '12:30:00', '14:00:00', 1.3, 4, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(147, 150, 2, '12:00:00', '14:00:00', 2, 1, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(148, 155, 21, '08:00:00', '10:00:00', 2, 2, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(149, 155, 21, '08:00:00', '10:00:00', 2, 4, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(150, 131, 20, '19:00:00', '21:00:00', 2, 1, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(151, 131, 20, '19:00:00', '21:00:00', 2, 5, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(152, 136, 20, '16:00:00', '17:30:00', 1.3, 2, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(153, 136, 20, '16:00:00', '17:30:00', 1.3, 4, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(154, 141, 20, '19:00:00', '21:30:00', 2.3, 3, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(155, 141, 20, '19:30:00', '22:00:00', 2.3, 4, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(156, 141, 16, '19:30:00', '21:30:00', 2, 2, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(157, 146, 20, '15:00:00', '17:30:00', 2.3, 3, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(158, 146, 20, '15:00:00', '17:30:00', 2.3, 5, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(159, 146, 2, '15:00:00', '17:00:00', 2, 1, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(160, 151, 20, '17:30:00', '19:00:00', 1.3, 3, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(161, 151, 20, '17:30:00', '19:00:00', 1.3, 5, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(162, 151, 2, '17:00:00', '19:00:00', 2, 1, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(163, 156, 20, '17:30:00', '19:30:00', 2, 2, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(164, 156, 20, '17:30:00', '19:30:00', 2, 4, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(165, 132, 19, '19:00:00', '21:00:00', 2, 1, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(166, 132, 19, '19:00:00', '21:00:00', 2, 5, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(167, 137, 19, '17:30:00', '19:00:00', 1.3, 1, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(168, 137, 19, '17:30:00', '19:00:00', 1.3, 5, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(169, 142, 19, '19:30:00', '22:00:00', 2.3, 2, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(170, 142, 19, '19:00:00', '21:30:00', 2.3, 3, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(171, 142, 16, '19:30:00', '21:30:00', 2, 4, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(172, 147, 19, '15:00:00', '17:30:00', 2.3, 3, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(173, 147, 19, '15:00:00', '17:30:00', 2.3, 5, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(174, 147, 16, '15:30:00', '17:30:00', 2, 1, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(175, 152, 19, '17:30:00', '19:00:00', 1.3, 3, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(176, 152, 19, '16:00:00', '17:30:00', 1.3, 4, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(177, 152, 2, '15:00:00', '17:00:00', 2, 2, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(178, 157, 19, '17:30:00', '19:30:00', 2, 2, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(179, 157, 19, '17:30:00', '19:30:00', 2, 4, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(180, 316, 22, '11:00:00', '13:00:00', 2, 2, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(181, 316, 22, '11:00:00', '13:00:00', 2, 4, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(182, 317, 23, '11:00:00', '13:00:00', 2, 2, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(183, 317, 23, '11:00:00', '13:00:00', 2, 3, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(184, 317, 23, '11:00:00', '13:00:00', 2, 4, '2021-12-28 19:20:22', '2021-12-28 19:20:22'),
(185, 178, 23, '07:00:00', '09:00:00', 2, 2, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(186, 178, 23, '07:00:00', '09:00:00', 2, 4, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(187, 183, 23, '09:00:00', '11:00:00', 2, 2, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(188, 183, 23, '09:00:00', '11:00:00', 2, 4, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(189, 188, 23, '07:00:00', '09:00:00', 2, 3, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(190, 188, 23, '07:00:00', '09:00:00', 2, 5, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(191, 188, 2, '07:00:00', '09:00:00', 2, 1, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(192, 188, 21, '09:00:00', '10:00:00', 1, 6, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(193, 193, 23, '09:00:00', '11:00:00', 2, 1, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(194, 193, 2, '09:00:00', '11:00:00', 2, 3, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(195, 193, 23, '10:00:00', '12:00:00', 2, 5, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(196, 198, 23, '11:00:00', '14:00:00', 3, 1, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(197, 198, 16, '12:00:00', '14:00:00', 2, 5, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(198, 318, 22, '11:00:00', '13:00:00', 2, 3, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(199, 318, 16, '11:00:00', '13:00:00', 2, 2, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(200, 318, 16, '11:00:00', '13:00:00', 2, 4, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(201, 179, 22, '07:00:00', '09:00:00', 2, 2, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(202, 179, 22, '07:00:00', '09:00:00', 2, 4, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(203, 184, 22, '09:00:00', '11:00:00', 2, 2, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(204, 184, 22, '09:00:00', '11:00:00', 2, 4, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(205, 189, 22, '07:00:00', '09:00:00', 2, 3, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(206, 189, 22, '07:00:00', '10:00:00', 2, 5, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(207, 189, 13, '07:00:00', '09:00:00', 2, 1, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(208, 194, 22, '09:00:00', '11:00:00', 2, 3, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(209, 194, 22, '10:00:00', '12:00:00', 2, 5, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(210, 194, 2, '09:00:00', '11:00:00', 2, 1, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(211, 199, 14, '11:00:00', '14:00:00', 3, 2, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(212, 199, 24, '11:00:00', '13:00:00', 2, 4, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(213, 180, 14, '07:00:00', '09:00:00', 2, 2, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(214, 180, 14, '07:00:00', '09:00:00', 2, 4, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(215, 185, 14, '12:00:00', '14:00:00', 2, 1, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(216, 185, 14, '13:00:00', '15:00:00', 2, 4, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(217, 190, 14, '07:00:00', '10:00:00', 3, 1, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(218, 190, 14, '07:00:00', '09:00:00', 2, 3, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(219, 190, 16, '07:00:00', '09:00:00', 2, 5, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(220, 195, 14, '09:00:00', '11:00:00', 2, 2, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(221, 195, 14, '10:00:00', '12:00:00', 2, 5, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(222, 195, 13, '09:00:00', '11:00:00', 2, 4, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(223, 200, 14, '09:00:00', '11:00:00', 2, 3, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(224, 200, 14, '09:00:00', '10:00:00', 1, 5, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(225, 200, 13, '10:00:00', '12:00:00', 2, 1, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(226, 319, 15, '15:30:00', '17:30:00', 2, 2, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(227, 319, 15, '15:30:00', '17:30:00', 2, 4, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(228, 181, 15, '17:30:00', '19:30:00', 2, 2, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(229, 181, 15, '17:30:00', '19:30:00', 2, 4, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(230, 186, 15, '19:30:00', '21:30:00', 2, 2, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(231, 186, 15, '19:30:00', '21:30:00', 2, 4, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(232, 191, 15, '15:30:00', '18:00:00', 2.3, 1, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(234, 191, 15, '15:30:00', '18:00:00', 2.3, 3, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(235, 191, 2, '16:00:00', '18:00:00', 2, 2, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(236, 196, 15, '18:00:00', '20:00:00', 2, 1, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(237, 196, 15, '18:00:00', '20:00:00', 2, 5, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(238, 196, 16, '18:00:00', '20:00:00', 2, 3, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(239, 201, 15, '20:00:00', '21:30:00', 1.3, 1, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(240, 201, 15, '20:00:00', '21:30:00', 1.3, 3, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(241, 201, 13, '20:00:00', '22:00:00', 2, 5, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(242, 320, 23, '14:30:00', '17:30:00', 3, 2, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(243, 320, 23, '14:30:00', '17:30:00', 3, 4, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(244, 182, 22, '17:30:00', '19:30:00', 2, 2, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(245, 182, 22, '17:30:00', '19:30:00', 2, 4, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(246, 187, 22, '19:30:00', '21:30:00', 2, 2, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(247, 187, 22, '19:30:00', '21:30:00', 2, 4, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(248, 192, 22, '15:30:00', '18:00:00', 2.3, 1, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(249, 192, 22, '15:30:00', '18:00:00', 2.3, 3, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(250, 192, 13, '16:00:00', '18:00:00', 2, 5, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(251, 197, 22, '18:00:00', '20:00:00', 2, 1, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(252, 197, 22, '18:00:00', '20:00:00', 2, 5, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(253, 197, 2, '18:00:00', '20:00:00', 2, 3, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(254, 202, 22, '20:00:00', '21:30:00', 1.3, 1, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(255, 202, 22, '20:00:00', '21:30:00', 1.3, 3, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(256, 202, 2, '20:00:00', '22:00:00', 2, 5, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(257, 321, 11, '11:00:00', '13:00:00', 2, 5, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(258, 321, 13, '12:00:00', '14:00:00', 2, 1, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(259, 321, 13, '11:00:00', '13:00:00', 2, 3, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(260, 322, 11, '07:00:00', '09:00:00', 2, 5, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(261, 322, 2, '07:00:00', '09:00:00', 2, 2, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(262, 322, 2, '07:00:00', '09:00:00', 2, 4, '2021-12-28 20:14:56', '2021-12-28 20:14:56'),
(263, 228, 20, '09:00:00', '11:00:00', 2, 4, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(264, 228, 19, '09:00:00', '11:00:00', 2, 2, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(265, 323, 11, '07:00:00', '09:00:00', 2, 2, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(266, 323, 2, '09:00:00', '11:00:00', 2, 4, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(267, 323, 13, '07:00:00', '09:00:00', 2, 5, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(268, 337, 20, '09:00:00', '11:00:00', 2, 5, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(269, 337, 13, '11:00:00', '13:00:00', 2, 2, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(270, 337, 13, '11:00:00', '13:00:00', 2, 4, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(271, 229, 20, '07:00:00', '09:00:00', 2, 3, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(272, 229, 19, '07:00:00', '09:00:00', 2, 1, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(273, 234, 21, '07:00:00', '08:00:00', 1, 2, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(274, 234, 11, '07:00:00', '09:00:00', 2, 4, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(275, 324, 11, '11:00:00', '13:00:00', 2, 1, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(276, 324, 2, '11:00:00', '13:00:00', 2, 2, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(277, 293, 11, '09:00:00', '11:00:00', 2, 5, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(278, 293, 16, '07:00:00', '09:00:00', 2, 2, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(279, 293, 16, '07:00:00', '09:00:00', 2, 4, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(280, 230, 11, '07:00:00', '09:00:00', 2, 1, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(281, 230, 11, '07:00:00', '09:00:00', 2, 3, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(282, 230, 12, '09:00:00', '11:00:00', 2, 1, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(283, 230, 4, '07:00:00', '08:00:00', 1, 5, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(284, 325, 15, '11:00:00', '13:00:00', 2, 5, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(285, 325, 2, '13:00:00', '15:00:00', 2, 4, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(286, 325, 2, '13:00:00', '15:00:00', 2, 5, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(287, 326, 11, '13:00:00', '15:00:00', 2, 2, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(288, 326, 16, '13:00:00', '15:00:00', 2, 1, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(289, 326, 16, '13:00:00', '15:00:00', 2, 3, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(290, 327, 11, '13:00:00', '15:00:00', 2, 1, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(291, 327, 13, '13:00:00', '15:00:00', 2, 2, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(292, 327, 13, '13:00:00', '15:00:00', 2, 4, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(293, 233, 15, '07:00:00', '10:00:00', 3, 2, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(294, 328, 11, '20:00:00', '22:00:00', 2, 5, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(295, 328, 2, '19:00:00', '21:00:00', 2, 2, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(296, 328, 2, '19:00:00', '21:00:00', 2, 4, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(297, 294, 11, '18:00:00', '20:00:00', 2, 5, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(298, 294, 2, '17:00:00', '19:00:00', 2, 2, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(299, 294, 2, '17:00:00', '19:00:00', 2, 4, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(300, 329, 11, '16:00:00', '18:00:00', 2, 1, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(301, 329, 16, '16:00:00', '18:00:00', 2, 3, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(302, 329, 16, '16:00:00', '18:00:00', 2, 5, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(303, 231, 11, '19:30:00', '21:30:00', 2, 1, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(304, 231, 11, '19:30:00', '21:30:00', 2, 3, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(305, 231, 11, '18:00:00', '19:30:00', 1.3, 1, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(306, 231, 11, '18:00:00', '19:30:00', 1.3, 3, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(307, 330, 22, '15:00:00', '17:00:00', 2, 5, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(308, 330, 13, '15:00:00', '17:00:00', 2, 2, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(309, 330, 13, '15:00:00', '17:00:00', 2, 4, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(310, 331, 21, '17:00:00', '19:00:00', 2, 5, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(311, 331, 16, '17:00:00', '19:00:00', 2, 2, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(312, 331, 16, '17:00:00', '19:00:00', 2, 4, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(313, 332, 4, '19:00:00', '21:00:00', 2, 5, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(314, 332, 13, '19:00:00', '21:00:00', 2, 2, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(315, 332, 13, '19:00:00', '21:00:00', 2, 4, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(316, 232, 23, '19:30:00', '21:30:00', 2, 1, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(317, 232, 23, '19:30:00', '21:30:00', 2, 3, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(318, 232, 23, '18:00:00', '19:30:00', 1.3, 1, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(319, 232, 23, '18:00:00', '19:30:00', 1.3, 3, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(320, 333, 23, '19:30:00', '21:30:00', 2, 2, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(321, 333, 23, '19:30:00', '21:30:00', 2, 4, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(322, 333, 23, '19:30:00', '21:30:00', 2, 5, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(323, 334, 15, '16:00:00', '18:00:00', 2, 5, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(324, 334, 13, '16:00:00', '18:00:00', 2, 1, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(325, 334, 13, '16:00:00', '18:00:00', 2, 3, '2021-12-29 02:51:55', '2021-12-29 02:51:55'),
(326, 343, 23, '08:00:00', '13:00:00', 5, 6, '2021-12-31 04:35:18', '2021-12-31 04:35:18');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `inscripcion`
--
CREATE TABLE `inscripcion` (
`id_inscripcion` int(15) NOT NULL,
`id_usuarioalumno_fk` int(100) NOT NULL,
`id_claveplan_fk` int(5) NOT NULL,
`id_periodo_fk` int(100) NOT NULL,
`fecha_inscripcion` date NOT NULL,
`hora_inscripcion` time NOT NULL,
`fecha_altas_bajas` date NOT NULL,
`hora_altas_bajas` time NOT NULL,
`estatus` int(2) NOT NULL,
`updated_at` timestamp NOT NULL DEFAULT current_timestamp(),
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT;
--
-- Volcado de datos para la tabla `inscripcion`
--
INSERT INTO `inscripcion` (`id_inscripcion`, `id_usuarioalumno_fk`, `id_claveplan_fk`, `id_periodo_fk`, `fecha_inscripcion`, `hora_inscripcion`, `fecha_altas_bajas`, `hora_altas_bajas`, `estatus`, `updated_at`, `created_at`) VALUES
(1, 1, 9, 9, '2021-12-30', '03:47:11', '2021-12-30', '10:00:00', 1, '2021-11-26 00:14:14', '2021-11-26 00:14:14'),
(2, 2, 1316, 1, '2021-08-27', '10:00:00', '2021-09-10', '10:00:00', 1, '2021-11-26 00:15:28', '2021-11-26 00:15:28'),
(3, 3, 1119, 1, '2021-08-27', '10:05:00', '2021-09-10', '10:05:00', 1, '2021-11-26 00:15:50', '2021-11-26 00:15:50'),
(4, 4, 1119, 1, '2021-08-27', '10:05:00', '2021-09-10', '10:05:00', 1, '2021-11-26 00:15:57', '2021-11-26 00:15:57'),
(5, 5, 1119, 1, '2021-08-27', '10:10:00', '2021-09-10', '10:10:00', 1, '2021-11-26 00:16:11', '2021-11-26 00:16:11'),
(6, 6, 1119, 1, '2021-08-27', '10:10:00', '2021-09-10', '10:10:00', 1, '2021-11-26 00:16:17', '2021-11-26 00:16:17'),
(7, 2, 1119, 9, '2021-09-01', '08:10:00', '2021-09-01', '08:10:00', 1, '2021-12-26 17:11:33', '2021-12-26 17:11:33'),
(8, 5, 1119, 9, '2021-09-01', '08:10:00', '2021-09-01', '08:10:00', 1, '2021-12-26 17:11:33', '2021-12-26 17:11:33'),
(9, 6, 1119, 9, '2021-09-01', '08:10:00', '2021-09-01', '08:10:00', 1, '2021-12-26 17:14:45', '2021-12-26 17:14:45'),
(10, 19, 1119, 9, '2021-09-01', '08:10:00', '2021-09-01', '08:10:00', 1, '2021-12-26 17:14:45', '2021-12-26 17:14:45'),
(11, 20, 1119, 9, '2021-09-01', '08:10:00', '2021-09-01', '08:10:00', 1, '2021-12-26 17:14:45', '2021-12-26 17:14:45'),
(12, 46, 1119, 9, '2021-09-01', '08:10:00', '2021-09-01', '08:10:00', 1, '2021-12-26 17:14:45', '2021-12-26 17:14:45'),
(13, 48, 1119, 9, '2021-09-01', '08:10:00', '2021-09-01', '08:10:00', 1, '2021-12-26 17:14:45', '2021-12-26 17:14:45'),
(14, 49, 1119, 8, '2021-08-06', '08:22:30', '2021-08-13', '08:25:00', 1, '2021-12-26 18:25:57', '2021-12-26 18:25:57'),
(15, 4, 1119, 9, '2021-09-01', '15:25:14', '2021-09-08', '15:20:00', 1, '2021-12-26 19:37:18', '2021-12-26 19:37:18'),
(16, 8, 1119, 9, '2021-09-01', '08:27:07', '2021-09-08', '08:20:00', 1, '2021-12-26 19:37:18', '2021-12-26 19:37:18'),
(17, 27, 1119, 9, '2021-09-01', '08:25:00', '2021-09-08', '08:30:00', 1, '2021-12-26 19:40:29', '2021-12-26 19:40:29'),
(18, 30, 1119, 9, '2021-09-01', '15:40:00', '2021-09-08', '15:40:00', 1, '2021-12-26 19:40:29', '2021-12-26 19:40:29'),
(19, 50, 1119, 9, '2021-09-01', '08:25:25', '2021-09-08', '08:28:17', 1, '2021-12-26 19:40:29', '2021-12-26 19:40:29'),
(20, 3, 1119, 9, '2021-09-01', '08:24:31', '2021-09-08', '08:20:00', 1, '2021-12-26 19:44:13', '2021-12-26 19:44:13'),
(21, 4, 1119, 7, '2021-08-02', '16:16:00', '2021-08-02', '16:13:10', 1, '2021-12-26 21:59:40', '2021-12-26 21:59:40'),
(22, 12, 1119, 9, '2021-09-01', '09:17:00', '2021-09-08', '09:10:00', 1, '2021-12-26 22:40:44', '2021-12-26 22:40:44'),
(23, 13, 1119, 9, '2021-09-01', '09:19:00', '2021-09-08', '09:10:00', 1, '2021-12-26 22:42:04', '2021-12-26 22:42:04'),
(24, 14, 1119, 9, '2021-09-01', '09:21:00', '2021-09-08', '09:10:00', 1, '2021-12-26 22:42:04', '2021-12-26 22:42:04'),
(25, 18, 1119, 9, '2021-09-01', '09:20:00', '2021-09-08', '09:10:00', 1, '2021-12-26 22:42:04', '2021-12-26 22:42:04'),
(26, 26, 1119, 9, '2021-09-01', '09:24:00', '2021-09-08', '09:10:00', 1, '2021-12-26 22:42:04', '2021-12-26 22:42:04'),
(27, 51, 1119, 9, '2021-09-01', '09:15:00', '2021-09-08', '09:10:00', 1, '2021-12-26 22:42:04', '2021-12-26 22:42:04'),
(28, 52, 1119, 9, '2021-09-01', '09:13:00', '2021-09-08', '09:10:00', 1, '2021-12-26 22:42:04', '2021-12-26 22:42:04'),
(29, 23, 1119, 7, '2020-08-07', '09:14:16', '2020-08-21', '09:10:00', 1, '2021-12-27 01:33:58', '2021-12-27 01:33:58'),
(30, 22, 1119, 7, '2020-08-07', '09:18:00', '2020-08-21', '09:10:00', 1, '2021-12-27 01:36:58', '2021-12-27 01:36:58'),
(31, 25, 1119, 7, '2020-08-07', '09:20:00', '2020-08-21', '09:10:00', 1, '2021-12-27 01:36:58', '2021-12-27 01:36:58'),
(32, 17, 1119, 7, '2020-08-07', '09:25:00', '2020-08-14', '09:10:00', 1, '2021-12-27 01:36:58', '2021-12-27 01:36:58'),
(33, 54, 1119, 7, '2020-08-07', '09:21:00', '2020-08-21', '09:10:00', 1, '2021-12-27 01:36:58', '2021-12-27 01:36:58'),
(34, 24, 1119, 7, '2020-08-07', '09:21:00', '2020-08-21', '09:10:00', 1, '2021-12-27 01:36:58', '2021-12-27 01:36:58'),
(35, 53, 1119, 7, '2020-08-07', '09:29:00', '2020-08-21', '09:10:00', 1, '2021-12-27 01:36:58', '2021-12-27 01:36:58'),
(36, 23, 1119, 8, '2021-01-22', '09:53:18', '2021-01-29', '09:56:00', 1, '2021-12-27 05:44:44', '2021-12-27 05:44:44'),
(37, 22, 1119, 8, '2021-01-22', '09:53:30', '2021-01-29', '09:50:00', 1, '2021-12-27 05:44:44', '2021-12-27 05:44:44'),
(38, 25, 1119, 8, '2021-01-22', '09:59:00', '2021-01-29', '09:50:00', 1, '2021-12-27 05:44:44', '2021-12-27 05:44:44'),
(39, 17, 1119, 8, '2021-01-22', '10:03:00', '2021-01-29', '09:50:00', 1, '2021-12-27 05:44:44', '2021-12-27 05:44:44'),
(40, 54, 1119, 8, '2021-01-22', '10:20:00', '2021-01-29', '09:50:00', 1, '2021-12-27 05:44:44', '2021-12-27 05:44:44'),
(41, 24, 1119, 8, '2021-01-22', '09:55:00', '2021-01-29', '09:50:00', 1, '2021-12-27 05:44:44', '2021-12-27 05:44:44'),
(42, 53, 1119, 8, '2021-01-22', '09:59:00', '2021-01-29', '09:50:00', 1, '2021-12-27 05:44:44', '2021-12-27 05:44:44'),
(43, 23, 1119, 9, '2021-09-01', '10:24:00', '2021-09-06', '10:33:08', 1, '2021-12-27 06:30:13', '2021-12-27 06:30:13'),
(44, 22, 1119, 9, '2021-09-01', '10:38:00', '2021-09-06', '10:20:00', 1, '2021-12-27 06:30:13', '2021-12-27 06:30:13'),
(45, 25, 1119, 9, '2021-09-01', '10:32:00', '2021-09-06', '10:20:00', 1, '2021-12-27 06:30:13', '2021-12-27 06:30:13'),
(46, 17, 1119, 9, '2021-09-01', '10:38:00', '2021-09-06', '10:20:00', 1, '2021-12-27 06:30:13', '2021-12-27 06:30:13'),
(47, 54, 1119, 9, '2021-09-01', '10:41:00', '2021-09-06', '10:20:00', 1, '2021-12-27 06:30:13', '2021-12-27 06:30:13'),
(48, 24, 1119, 9, '2021-09-01', '10:27:00', '2021-09-06', '10:20:00', 1, '2021-12-27 06:30:13', '2021-12-27 06:30:13'),
(49, 53, 1119, 9, '2021-09-01', '10:34:00', '2021-09-06', '10:20:00', 1, '2021-12-27 06:30:13', '2021-12-27 06:30:13'),
(50, 55, 1119, 9, '2021-08-02', '08:24:21', '2021-08-16', '08:20:00', 1, '2021-12-27 07:01:28', '2021-12-27 07:01:28'),
(51, 56, 1119, 7, '2020-08-07', '10:31:18', '2020-08-21', '10:20:00', 1, '2021-12-27 16:21:45', '2021-12-27 16:21:45'),
(52, 56, 1119, 8, '2021-01-22', '11:07:34', '2021-01-29', '11:00:00', 1, '2021-12-27 16:21:45', '2021-12-27 16:21:45'),
(53, 56, 1119, 9, '2021-09-01', '11:49:00', '2021-09-08', '11:40:00', 1, '2021-12-27 16:21:45', '2021-12-27 16:21:45'),
(54, 21, 1119, 9, '2021-09-01', '11:49:00', '2021-09-08', '11:40:00', 1, '2021-12-27 16:21:45', '2021-12-27 16:21:45'),
(55, 28, 1119, 9, '2021-09-01', '11:44:00', '2021-09-08', '11:40:00', 1, '2021-12-27 16:21:45', '2021-12-27 16:21:45'),
(56, 22, 1119, 6, '2020-01-24', '11:10:00', '2020-01-31', '10:30:00', 1, '2021-12-31 02:27:28', '2021-12-31 02:27:28'),
(57, 21, 1119, 8, '2021-01-22', '08:00:00', '2020-08-21', '08:00:00', 1, '2021-12-31 04:54:33', '2021-12-31 04:54:33'),
(58, 21, 1119, 7, '2020-08-07', '08:00:00', '2020-08-21', '08:00:00', 1, '2021-12-31 05:00:33', '2021-12-31 05:00:33'),
(59, 21, 1119, 6, '2020-01-17', '08:00:00', '2020-01-24', '08:00:00', 1, '2021-12-31 05:00:33', '2021-12-31 05:00:33'),
(60, 21, 1119, 5, '2019-08-09', '08:00:00', '2019-08-23', '08:00:00', 1, '2021-12-31 05:00:33', '2021-12-31 05:00:33'),
(61, 21, 1119, 4, '2019-01-18', '08:00:00', '2019-01-25', '08:00:00', 1, '2021-12-31 05:00:33', '2021-12-31 05:00:33'),
(62, 21, 1119, 3, '2018-08-10', '08:00:00', '2018-08-17', '08:00:00', 1, '2021-12-31 05:00:33', '2021-12-31 05:00:33'),
(63, 21, 1119, 2, '2018-01-19', '08:00:00', '2018-01-26', '08:00:00', 1, '2021-12-31 05:00:33', '2021-12-31 05:00:33'),
(64, 21, 1119, 1, '2017-08-04', '08:00:00', '2017-08-25', '08:00:00', 1, '2021-12-31 05:00:33', '2021-12-31 05:00:33'),
(65, 45, 1387, 9, '2021-09-01', '08:00:00', '2021-09-01', '08:00:00', 1, '2022-01-01 22:53:03', '2022-01-01 22:53:03'),
(66, 34, 1316, 9, '2021-09-01', '08:00:00', '2021-09-01', '08:00:00', 1, '2022-01-01 22:57:51', '2022-01-01 22:57:51');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `movimiento`
--
CREATE TABLE `movimiento` (
`id_inscripcion_fk` int(15) NOT NULL,
`id_asignacion_fk` int(10) NOT NULL,
`semestre` int(2) NOT NULL,
`estatus` int(2) NOT NULL,
`calificacion` varchar(2) NOT NULL,
`aprobado` int(1) NOT NULL,
`altas` int(1) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Volcado de datos para la tabla `movimiento`
--
INSERT INTO `movimiento` (`id_inscripcion_fk`, `id_asignacion_fk`, `semestre`, `estatus`, `calificacion`, `aprobado`, `altas`, `created_at`, `updated_at`) VALUES
(2, 1, 0, 1, '10', 1, 1, '2021-12-03 02:29:19', '2021-12-03 02:29:19'),
(3, 1, 0, 1, '0', 0, 1, '2021-12-03 02:29:48', '2021-12-03 02:29:48'),
(4, 1, 0, 1, '0', 0, 1, '2021-12-03 02:29:56', '2021-12-03 02:29:56'),
(5, 1, 0, 1, '0', 0, 1, '2021-12-03 02:30:09', '2021-12-03 02:30:09'),
(5, 2, 0, 1, '0', 0, 1, '2021-12-17 08:06:14', '2021-12-17 08:06:14'),
(6, 1, 0, 1, '0', 0, 1, '2021-12-03 02:30:16', '2021-12-03 02:30:16'),
(7, 13, 1, 1, '10', 1, 1, '2021-12-26 17:22:22', '2021-12-26 17:22:22'),
(7, 18, 1, 1, '10', 1, 1, '2021-12-26 17:22:22', '2021-12-26 17:22:22'),
(7, 38, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(7, 43, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(7, 48, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(7, 53, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(7, 133, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(8, 14, 1, 1, '7', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(8, 19, 1, 1, '7', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(8, 39, 1, 1, '7', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(8, 44, 1, 1, '7', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(8, 49, 1, 1, '7', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(8, 54, 1, 1, '7', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(8, 134, 1, 1, '7', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(9, 16, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(9, 21, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(9, 41, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(9, 46, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(9, 51, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(9, 56, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(9, 136, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(10, 17, 1, 1, '8', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(10, 22, 1, 1, '8', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(10, 42, 1, 1, '8', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(10, 47, 1, 1, '8', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(10, 52, 1, 1, '8', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(10, 57, 1, 1, '8', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(10, 137, 1, 1, '8', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(11, 17, 1, 1, '9', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(11, 22, 1, 1, '9', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(11, 42, 1, 1, '7', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(11, 47, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(11, 52, 1, 1, '9', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(11, 57, 1, 1, '8', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(11, 137, 1, 1, '8', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(12, 13, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(12, 18, 1, 1, '9', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(12, 39, 1, 1, '9', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(12, 43, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(12, 48, 1, 1, '6', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(12, 53, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(12, 133, 1, 1, '9', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(13, 15, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(13, 20, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(13, 40, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(13, 45, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(13, 50, 1, 1, 'NP', 0, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(13, 55, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(13, 135, 1, 1, '10', 1, 1, '2021-12-26 18:03:51', '2021-12-26 18:03:51'),
(14, 260, 2, 1, '9', 1, 1, '2021-12-26 19:27:31', '2021-12-26 19:27:31'),
(14, 261, 2, 1, '7', 1, 1, '2021-12-26 19:27:31', '2021-12-26 19:27:31'),
(14, 262, 2, 1, '10', 1, 1, '2021-12-26 19:27:31', '2021-12-26 19:27:31'),
(14, 263, 2, 1, '10', 1, 1, '2021-12-26 19:27:31', '2021-12-26 19:27:31'),
(14, 264, 2, 1, '10', 1, 1, '2021-12-26 19:27:31', '2021-12-26 19:27:31'),
(14, 265, 2, 1, '9', 1, 1, '2021-12-26 19:27:31', '2021-12-26 19:27:31'),
(15, 61, 1, 1, '8', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(15, 66, 1, 1, '6', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(15, 71, 1, 1, '8', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(15, 76, 1, 1, '9', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(15, 81, 1, 1, '9', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(15, 86, 1, 1, '10', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(16, 59, 1, 1, '9', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(16, 64, 1, 1, '10', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(16, 69, 1, 1, '10', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(16, 74, 1, 1, '9', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(16, 79, 1, 1, '7', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(16, 84, 1, 1, '10', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(17, 60, 1, 1, '8', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(17, 65, 1, 1, '8', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(17, 70, 1, 1, '8', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(17, 75, 1, 1, '7', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(17, 80, 1, 1, '6', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(17, 85, 1, 1, '6', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(18, 62, 1, 1, '10', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(18, 67, 1, 1, '8', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(18, 72, 1, 1, '8', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(18, 77, 1, 1, '8', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(18, 82, 1, 1, '8', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(18, 87, 1, 1, '8', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(19, 58, 3, 1, '9', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(19, 63, 3, 1, '9', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(19, 68, 3, 1, '9', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(19, 73, 3, 1, '10', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(19, 78, 3, 1, '10', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(19, 83, 3, 1, '9', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(20, 58, 3, 1, '10', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(20, 63, 3, 1, '7', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(20, 68, 3, 1, '8', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(20, 73, 3, 1, '9', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(20, 78, 3, 1, '10', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(20, 83, 3, 1, '9', 1, 1, '2021-12-26 21:09:25', '2021-12-26 21:09:25'),
(21, 266, 1, 1, '8', 1, 1, '2021-12-26 22:00:03', '2021-12-26 22:00:03'),
(21, 267, 1, 1, '8', 1, 1, '2021-12-26 22:00:03', '2021-12-26 22:00:03'),
(21, 268, 1, 1, '8', 1, 1, '2021-12-26 22:00:03', '2021-12-26 22:00:03'),
(21, 269, 1, 1, '8', 1, 1, '2021-12-26 22:00:03', '2021-12-26 22:00:03'),
(21, 270, 1, 1, '8', 1, 1, '2021-12-26 22:00:03', '2021-12-26 22:00:03'),
(21, 271, 1, 1, '5', 0, 1, '2021-12-26 22:00:03', '2021-12-26 22:00:03'),
(21, 272, 1, 1, '8', 1, 1, '2021-12-26 22:00:03', '2021-12-26 22:00:03'),
(22, 88, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(22, 93, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(22, 98, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(22, 103, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(22, 398, 5, 1, '7', 1, 1, '2021-12-31 04:51:19', '2021-12-31 04:51:19'),
(23, 89, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(23, 94, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(23, 99, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(23, 104, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(23, 273, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(23, 399, 5, 1, '9', 1, 1, '2021-12-31 04:51:19', '2021-12-31 04:51:19'),
(24, 90, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(24, 95, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(24, 100, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(24, 105, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(24, 274, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(24, 400, 5, 1, '9', 1, 1, '2021-12-31 04:51:19', '2021-12-31 04:51:19'),
(25, 88, 5, 1, '10', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(25, 93, 5, 1, '10', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(25, 98, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(25, 103, 5, 1, '8', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(25, 275, 5, 1, '10', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(25, 398, 5, 1, '9', 1, 1, '2021-12-31 04:51:19', '2021-12-31 04:51:19'),
(26, 91, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(26, 96, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(26, 101, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(26, 106, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(26, 275, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(26, 401, 5, 1, '8', 1, 1, '2021-12-31 04:51:19', '2021-12-31 04:51:19'),
(27, 92, 5, 1, '8', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(27, 97, 5, 1, '8', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(27, 102, 5, 1, '8', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(27, 107, 5, 1, '8', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(27, 275, 5, 1, '7', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(27, 402, 5, 1, '10', 1, 1, '2021-12-31 04:51:19', '2021-12-31 04:51:19'),
(28, 89, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(28, 94, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(28, 99, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(28, 104, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(28, 275, 5, 1, '9', 1, 1, '2021-12-27 01:14:44', '2021-12-27 01:14:44'),
(28, 398, 5, 1, '10', 1, 1, '2021-12-31 04:51:19', '2021-12-31 04:51:19'),
(29, 279, 5, 1, '9', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(29, 284, 5, 1, '6', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(29, 289, 5, 1, '7', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(29, 297, 5, 1, '10', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(29, 401, 5, 1, '6', 1, 1, '2021-12-31 04:45:09', '2021-12-31 04:45:09'),
(30, 276, 5, 1, '9', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(30, 281, 5, 1, '9', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(30, 286, 5, 1, '8', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(30, 296, 5, 1, '9', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(30, 399, 5, 1, '9', 1, 1, '2021-12-31 04:43:53', '2021-12-31 04:43:53'),
(31, 277, 5, 1, '9', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(31, 282, 5, 1, '10', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(31, 287, 5, 1, '10', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(31, 296, 5, 1, '9', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(31, 398, 5, 1, '6', 1, 1, '2021-12-31 04:51:19', '2021-12-31 04:51:19'),
(32, 278, 5, 1, '9', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(32, 283, 5, 1, '10', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(32, 288, 5, 1, '10', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(32, 296, 5, 1, '10', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(32, 399, 5, 1, '8', 1, 1, '2021-12-31 04:51:19', '2021-12-31 04:51:19'),
(33, 276, 5, 1, '9', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(33, 281, 5, 1, '9', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(33, 286, 5, 1, '8', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(33, 296, 5, 1, '9', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(33, 400, 5, 1, '9', 1, 1, '2021-12-31 04:51:19', '2021-12-31 04:51:19'),
(34, 277, 7, 1, '10', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(34, 282, 5, 1, '10', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(34, 287, 5, 1, '10', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(34, 296, 5, 1, '9', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(34, 398, 5, 1, '10', 1, 1, '2021-12-31 04:51:19', '2021-12-31 04:51:19'),
(35, 278, 5, 1, '9', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(35, 283, 5, 1, '10', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(35, 288, 5, 1, '10', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(35, 296, 5, 1, '10', 1, 1, '2021-12-27 02:57:05', '2021-12-27 02:57:05'),
(35, 399, 5, 1, '10', 1, 1, '2021-12-31 04:51:19', '2021-12-31 04:51:19'),
(36, 305, 6, 1, '10', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(36, 310, 6, 1, '10', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(36, 315, 6, 1, '10', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(36, 320, 6, 1, '10', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(36, 325, 6, 1, '10', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(36, 328, 6, 1, '10', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(37, 302, 6, 1, '8', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(37, 307, 6, 1, '6', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(37, 312, 6, 1, '7', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(37, 317, 6, 1, '7', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(37, 322, 6, 1, '9', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(37, 328, 6, 1, '8', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(37, 390, 4, 1, 'NP', 2, 1, '2021-12-31 02:28:43', '2021-12-31 02:28:43'),
(38, 303, 6, 1, '9', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(38, 308, 6, 1, '7', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(38, 313, 6, 1, '10', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(38, 318, 6, 1, '10', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(38, 323, 6, 1, '9', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(38, 328, 6, 1, '8', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(39, 304, 6, 1, '6', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(39, 309, 6, 1, '10', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(39, 314, 6, 1, '9', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(39, 319, 6, 1, '9', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(39, 324, 6, 1, '7', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(39, 330, 6, 1, '8', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(40, 302, 6, 1, '10', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(40, 307, 6, 1, '10', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(40, 312, 6, 1, '10', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(40, 317, 6, 1, '9', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(40, 322, 6, 1, '9', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(40, 328, 6, 1, '9', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(41, 303, 6, 1, '10', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(41, 308, 6, 1, '10', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(41, 313, 6, 1, '10', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(41, 318, 6, 1, '9', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(41, 323, 6, 1, '9', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(41, 328, 6, 1, '9', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(42, 304, 6, 1, '8', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(42, 309, 6, 1, '9', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(42, 314, 6, 1, '10', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(42, 319, 6, 1, '10', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(42, 324, 6, 1, '10', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(42, 331, 6, 1, '10', 1, 1, '2021-12-27 06:20:35', '2021-12-27 06:20:35'),
(43, 111, 7, 1, '9', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(43, 116, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(43, 121, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(43, 126, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(43, 131, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(43, 274, 7, 1, '9', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(44, 108, 7, 1, '8', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(44, 113, 7, 1, '8', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(44, 118, 7, 1, '8', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(44, 123, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(44, 128, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(44, 274, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(45, 109, 7, 1, '9', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(45, 114, 7, 1, '6', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(45, 119, 7, 1, '7', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(45, 124, 7, 1, '7', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(45, 129, 7, 1, '7', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(45, 273, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(46, 12, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(46, 110, 7, 1, '8', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(46, 115, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(46, 120, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(46, 125, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(46, 130, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(47, 108, 7, 1, '9', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(47, 113, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(47, 118, 7, 1, '9', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(47, 123, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(47, 128, 7, 1, '9', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(47, 273, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(48, 109, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(48, 114, 7, 1, '7', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(48, 119, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(48, 124, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(48, 129, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(48, 273, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(49, 110, 7, 1, '8', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(49, 115, 7, 1, '9', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(49, 120, 7, 1, '9', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(49, 125, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(49, 130, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(49, 273, 7, 1, '10', 1, 1, '2021-12-27 06:59:08', '2021-12-27 06:59:08'),
(50, 58, 3, 1, '8', 1, 1, '2021-12-27 07:10:13', '2021-12-27 07:10:13'),
(50, 63, 3, 1, '6', 1, 1, '2021-12-27 07:10:13', '2021-12-27 07:10:13'),
(50, 68, 3, 1, '5', 1, 1, '2021-12-27 07:10:13', '2021-12-27 07:10:13'),
(50, 73, 3, 1, '5', 1, 1, '2021-12-27 07:10:13', '2021-12-27 07:10:13'),
(50, 78, 3, 1, '7', 1, 1, '2021-12-27 07:10:13', '2021-12-27 07:10:13'),
(50, 83, 3, 1, '9', 1, 1, '2021-12-27 07:10:13', '2021-12-27 07:10:13'),
(51, 332, 7, 1, '8', 1, 1, '2021-12-27 16:57:07', '2021-12-27 16:57:07'),
(51, 337, 7, 1, 'NP', 0, 1, '2021-12-27 16:57:07', '2021-12-27 16:57:07'),
(51, 342, 7, 1, '10', 1, 1, '2021-12-27 16:57:07', '2021-12-27 16:57:07'),
(51, 347, 7, 1, '7', 1, 1, '2021-12-27 16:57:07', '2021-12-27 16:57:07'),
(51, 352, 7, 1, '10', 1, 1, '2021-12-27 16:57:07', '2021-12-27 16:57:07'),
(51, 357, 7, 1, '9', 1, 1, '2021-12-27 16:57:07', '2021-12-27 16:57:07'),
(52, 361, 8, 1, '9', 1, 1, '2021-12-27 17:29:34', '2021-12-27 17:29:34'),
(52, 366, 8, 1, '8', 1, 1, '2021-12-27 17:29:34', '2021-12-27 17:29:34'),
(52, 371, 8, 1, '10', 1, 1, '2021-12-27 17:29:34', '2021-12-27 17:29:34'),
(52, 373, 8, 1, '8', 1, 1, '2021-12-27 17:29:34', '2021-12-27 17:29:34'),
(52, 375, 8, 1, '10', 1, 1, '2021-12-27 17:29:34', '2021-12-27 17:29:34'),
(53, 12, 9, 1, '8', 1, 1, '2021-12-27 18:20:19', '2021-12-27 18:20:19'),
(53, 377, 9, 1, '9', 1, 1, '2021-12-27 18:20:19', '2021-12-27 18:20:19'),
(53, 382, 9, 1, '8', 1, 1, '2021-12-27 18:20:19', '2021-12-27 18:20:19'),
(53, 387, 9, 1, '10', 1, 1, '2021-12-27 18:20:19', '2021-12-27 18:20:19'),
(54, 12, 9, 1, '9', 1, 1, '2021-12-27 18:20:19', '2021-12-27 18:20:19'),
(54, 378, 9, 1, '8', 1, 1, '2021-12-27 18:20:19', '2021-12-27 18:20:19'),
(54, 383, 9, 1, '10', 1, 1, '2021-12-27 18:20:19', '2021-12-27 18:20:19'),
(54, 449, 9, 1, '10', 1, 1, '2021-12-27 18:20:19', '2021-12-27 18:20:19'),
(55, 12, 9, 1, '10', 1, 1, '2021-12-27 18:20:19', '2021-12-27 18:20:19'),
(55, 379, 9, 1, '9', 1, 1, '2021-12-27 18:20:19', '2021-12-27 18:20:19'),
(55, 384, 9, 1, '10', 1, 1, '2021-12-27 18:20:19', '2021-12-27 18:20:19'),
(55, 387, 9, 1, '10', 1, 1, '2021-12-27 18:20:19', '2021-12-27 18:20:19'),
(56, 391, 4, 1, 'NP', 2, 1, '2021-12-31 02:28:43', '2021-12-31 02:28:43'),
(57, 362, 8, 1, '8', 1, 1, '2022-01-01 20:39:06', '2022-01-01 20:39:06'),
(57, 367, 8, 1, '8', 1, 1, '2022-01-01 20:39:06', '2022-01-01 20:39:06'),
(57, 371, 8, 1, '8', 1, 1, '2022-01-01 20:39:06', '2022-01-01 20:39:06'),
(57, 447, 8, 1, '9', 1, 1, '2022-01-01 20:39:06', '2022-01-01 20:39:06'),
(57, 448, 8, 1, '10', 1, 1, '2022-01-01 20:39:06', '2022-01-01 20:39:06'),
(58, 332, 7, 1, '9', 1, 1, '2022-01-01 20:06:21', '2022-01-01 20:06:21'),
(58, 337, 7, 1, '8', 1, 1, '2022-01-01 20:06:21', '2022-01-01 20:06:21'),
(58, 342, 7, 1, '6', 1, 1, '2022-01-01 20:06:21', '2022-01-01 20:06:21'),
(58, 347, 7, 1, '6', 1, 1, '2022-01-01 20:06:21', '2022-01-01 20:06:21'),
(58, 352, 7, 1, '7', 1, 1, '2022-01-01 20:06:21', '2022-01-01 20:06:21'),
(58, 446, 7, 1, '7', 1, 1, '2022-01-01 20:06:21', '2022-01-01 20:06:21'),
(59, 440, 6, 1, '10', 1, 1, '2022-01-01 19:57:00', '2022-01-01 19:57:00'),
(59, 441, 6, 1, '9', 1, 1, '2022-01-01 19:57:00', '2022-01-01 19:57:00'),
(59, 442, 6, 1, '8', 1, 1, '2022-01-01 19:57:00', '2022-01-01 19:57:00'),
(59, 443, 6, 1, '9', 1, 1, '2022-01-01 19:57:00', '2022-01-01 19:57:00'),
(59, 444, 6, 1, '9', 1, 1, '2022-01-01 19:57:00', '2022-01-01 19:57:00'),
(59, 445, 6, 1, '9', 1, 1, '2022-01-01 19:57:00', '2022-01-01 19:57:00'),
(60, 404, 5, 1, '9', 1, 1, '2022-01-01 19:48:05', '2022-01-01 19:48:05'),
(60, 435, 5, 1, '9', 1, 1, '2022-01-01 19:48:05', '2022-01-01 19:48:05'),
(60, 436, 5, 1, '8', 1, 1, '2022-01-01 19:48:05', '2022-01-01 19:48:05'),
(60, 437, 5, 1, '7', 1, 1, '2022-01-01 19:48:05', '2022-01-01 19:48:05'),
(60, 438, 5, 1, '9', 1, 1, '2022-01-01 19:48:05', '2022-01-01 19:48:05'),
(60, 439, 5, 1, '10', 1, 1, '2022-01-01 19:48:05', '2022-01-01 19:48:05'),
(61, 429, 4, 1, '10', 1, 1, '2022-01-01 19:20:52', '2022-01-01 19:20:52'),
(61, 430, 4, 1, '10', 1, 1, '2022-01-01 19:20:52', '2022-01-01 19:20:52'),
(61, 431, 4, 1, '10', 1, 1, '2022-01-01 19:20:52', '2022-01-01 19:20:52'),
(61, 432, 4, 1, '10', 1, 1, '2022-01-01 19:20:52', '2022-01-01 19:20:52'),
(61, 433, 4, 1, '10', 1, 1, '2022-01-01 19:20:52', '2022-01-01 19:20:52'),
(61, 434, 4, 1, '10', 1, 1, '2022-01-01 19:20:52', '2022-01-01 19:20:52'),
(62, 423, 3, 1, '10', 1, 1, '2022-01-01 19:16:00', '2022-01-01 19:16:00'),
(62, 424, 3, 1, '9', 1, 1, '2022-01-01 19:16:00', '2022-01-01 19:16:00'),
(62, 425, 3, 1, '9', 1, 1, '2022-01-01 19:16:00', '2022-01-01 19:16:00'),
(62, 426, 3, 1, '10', 1, 1, '2022-01-01 19:16:00', '2022-01-01 19:16:00'),
(62, 427, 3, 1, '10', 1, 1, '2022-01-01 19:16:00', '2022-01-01 19:16:00'),
(62, 428, 3, 1, '10', 1, 1, '2022-01-01 19:16:00', '2022-01-01 19:16:00'),
(63, 417, 2, 1, '8', 1, 1, '2022-01-01 19:07:36', '2022-01-01 19:07:36'),
(63, 418, 2, 1, '10', 1, 1, '2022-01-01 19:07:36', '2022-01-01 19:07:36'),
(63, 419, 2, 1, '9', 1, 1, '2022-01-01 19:07:36', '2022-01-01 19:07:36'),
(63, 420, 2, 1, '10', 1, 1, '2022-01-01 19:07:36', '2022-01-01 19:07:36'),
(63, 421, 2, 1, '10', 1, 1, '2022-01-01 19:07:36', '2022-01-01 19:07:36'),
(63, 422, 2, 1, '9', 1, 1, '2022-01-01 19:07:36', '2022-01-01 19:07:36'),
(64, 410, 1, 1, '9', 1, 1, '2022-01-01 18:59:49', '2022-01-01 18:59:49'),
(64, 411, 1, 1, '9', 1, 1, '2022-01-01 18:57:26', '2022-01-01 18:57:26'),
(64, 412, 1, 1, '7', 1, 1, '2022-01-01 18:59:49', '2022-01-01 18:59:49'),
(64, 413, 1, 1, '8', 1, 1, '2022-01-01 18:59:49', '2022-01-01 18:59:49'),
(64, 414, 1, 1, '10', 1, 1, '2022-01-01 18:59:49', '2022-01-01 18:59:49'),
(64, 415, 1, 1, '10', 1, 1, '2022-01-01 18:59:49', '2022-01-01 18:59:49'),
(64, 416, 1, 1, '9', 1, 1, '2022-01-01 18:59:49', '2022-01-01 18:59:49'),
(65, 23, 1, 1, '10', 1, 1, '2021-12-30 22:54:31', '2021-11-03 22:54:47'),
(66, 24, 1, 1, '10', 1, 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `periodo`
--
CREATE TABLE `periodo` (
`id_periodo` int(100) NOT NULL,
`periodo` varchar(6) NOT NULL,
`fecha_inicio_dosificacion` date DEFAULT NULL,
`fecha_fin_dosificacion` date DEFAULT NULL,
`fecha_inicio_dosificacion_altasbajas` date DEFAULT NULL,
`fecha_baja_dosificacion_altasbajas` date DEFAULT NULL,
`fecha_inscripcion_inicio` date NOT NULL,
`fecha_inscripcion_fin` date NOT NULL,
`fecha_altas_bajas_inicio` date NOT NULL,
`fecha_altas_bajas_fin` date NOT NULL,
`fecha_periodo_inicio` date NOT NULL,
`fecha_periodo_fin` date NOT NULL,
`estatus` int(2) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT;
--
-- Volcado de datos para la tabla `periodo`
--
INSERT INTO `periodo` (`id_periodo`, `periodo`, `fecha_inicio_dosificacion`, `fecha_fin_dosificacion`, `fecha_inicio_dosificacion_altasbajas`, `fecha_baja_dosificacion_altasbajas`, `fecha_inscripcion_inicio`, `fecha_inscripcion_fin`, `fecha_altas_bajas_inicio`, `fecha_altas_bajas_fin`, `fecha_periodo_inicio`, `fecha_periodo_fin`, `estatus`, `created_at`, `updated_at`) VALUES
(1, '2018-1', '2022-01-01', '2022-01-01', NULL, NULL, '2017-07-31', '2017-08-04', '2017-08-21', '2017-08-25', '2017-07-31', '2018-01-12', 2, '2021-11-25 23:35:43', '2021-11-25 23:35:43'),
(2, '2018-2', '2022-01-01', '2022-01-01', NULL, NULL, '2018-01-15', '2018-01-19', '2018-01-22', '2018-01-26', '2018-01-15', '2018-05-25', 2, '2021-11-25 23:36:13', '2021-11-25 23:36:13'),
(3, '2019-1', '2022-01-01', '2022-01-01', NULL, NULL, '2018-08-06', '2018-08-10', '2018-08-13', '2018-08-17', '2018-08-06', '2019-01-04', 2, '2021-11-25 23:36:23', '2021-11-25 23:36:23'),
(4, '2019-2', '2022-01-01', '2022-01-01', NULL, NULL, '2019-01-14', '2019-01-18', '2019-01-21', '2019-01-25', '2019-01-14', '2019-05-31', 2, '2021-11-25 23:36:31', '2021-11-25 23:36:31'),
(5, '2020-1', '2022-01-01', '2022-01-01', NULL, NULL, '2019-08-05', '2019-08-09', '2019-08-12', '2019-08-23', '2019-08-05', '2020-01-03', 2, '2021-11-25 23:37:02', '2021-11-25 23:37:02'),
(6, '2020-2', '2022-01-01', '2022-01-01', NULL, NULL, '2020-01-13', '2020-01-17', '2020-01-20', '2020-01-24', '2020-01-13', '2020-05-22', 2, '2021-11-25 23:37:11', '2021-11-25 23:37:11'),
(7, '2021-1', '2022-01-01', '2022-01-01', NULL, NULL, '2020-08-03', '2020-08-07', '2020-08-17', '2020-08-21', '2020-08-03', '2021-01-08', 2, '2021-11-25 23:37:20', '2021-11-25 23:37:20'),
(8, '2021-2', '2022-01-01', '2022-01-01', NULL, NULL, '2021-01-18', '2021-01-22', '2021-01-26', '2021-01-29', '2021-01-18', '2021-05-21', 2, '2021-11-25 23:37:28', '2021-11-25 23:37:28'),
(9, '2022-1', '2022-01-01', '2022-01-01', NULL, NULL, '2021-08-30', '2021-09-03', '2021-09-07', '2021-09-10', '2021-08-30', '2022-01-14', 1, '2021-12-07 02:45:48', '2021-12-07 02:45:48'),
(10, '2022-2', '2022-01-01', '2022-01-01', NULL, NULL, '2022-01-24', '2022-01-24', '2022-02-07', '2022-02-11', '2022-01-24', '2022-05-13', 2, '2021-12-24 21:06:04', '2021-12-24 21:06:04');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `plandeestudios`
--
CREATE TABLE `plandeestudios` (
`id_plan` int(10) NOT NULL,
`id_carrera_fk` int(5) NOT NULL,
`anio_plan` varchar(4) NOT NULL,
`nombre_plan` varchar(100) NOT NULL,
`creditos_obligatorios` int(5) NOT NULL,
`creditos_optativos` int(5) NOT NULL,
`creditos_totales` int(5) NOT NULL,
`semestres` int(3) NOT NULL,
`maximo_creditos` int(2) DEFAULT NULL,
`minimo_creditos` int(2) NOT NULL,
`maximo_semestres` int(2) NOT NULL,
`minimo_materias` int(1) NOT NULL,
`maximo_materias` int(1) DEFAULT NULL,
`estatus` int(2) NOT NULL,
`updated_at` timestamp NOT NULL DEFAULT current_timestamp(),
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Volcado de datos para la tabla `plandeestudios`
--
INSERT INTO `plandeestudios` (`id_plan`, `id_carrera_fk`, `anio_plan`, `nombre_plan`, `creditos_obligatorios`, `creditos_optativos`, `creditos_totales`, `semestres`, `maximo_creditos`, `minimo_creditos`, `maximo_semestres`, `minimo_materias`, `maximo_materias`, `estatus`, `updated_at`, `created_at`) VALUES
(9, 11, '1990', 'Lic. Informática', 439, 8, 447, 10, 68, 6, 15, 1, NULL, 1, '2021-11-25 21:30:11', '2021-11-25 21:30:11'),
(1092, 24, '2002', 'Lic. en Diseño y comunicación Visual', 390, 40, 430, 9, 68, 4, 14, 1, NULL, 1, '2021-12-22 03:11:19', '2021-12-22 03:11:19'),
(1118, 20, '2005', 'Ing. Química', 349, 56, 405, 9, 68, 2, 14, 1, NULL, 1, '2021-12-22 02:45:37', '2021-12-22 02:45:37'),
(1119, 11, '2005', 'Lic. en Informática', 359, 72, 431, 9, 68, 6, 13, 1, 8, 1, '2021-11-25 21:29:06', '2021-11-25 21:29:06'),
(1122, 12, '2005', 'Lic. en Química', 330, 74, 404, 9, 68, 3, 14, 1, NULL, 1, '2021-12-22 01:33:39', '2021-12-22 01:33:39'),
(1136, 16, '2005', 'Ing. en Alimentos', 320, 80, 400, 9, 68, 6, 14, 1, NULL, 1, '2021-12-22 02:36:41', '2021-12-22 02:36:41'),
(1140, 18, '2005', 'Ing. Agrícola', 437, 12, 499, 10, 68, 2, 15, 1, NULL, 1, '2021-12-22 02:41:46', '2021-12-22 02:41:46'),
(1316, 14, '2009', 'Lic. en Bioquímica Diagnóstica', 298, 72, 370, 8, 68, 2, 12, 1, NULL, 1, '2021-12-22 02:32:39', '2021-12-22 02:32:39'),
(1317, 15, '2009', 'Lic. en Farmacia', 300, 72, 372, 8, 68, 2, 12, 1, NULL, 1, '2021-12-22 02:34:42', '2021-12-22 02:34:42'),
(1318, 10, '2009', 'Lic. en Contaduría', 376, 40, 416, 9, 68, 2, 14, 1, NULL, 1, '2021-12-22 02:53:08', '2021-12-22 02:53:08'),
(1323, 10, '2009', 'Lic. en Contaduría - Comercio Exterior', 376, 40, 416, 9, 68, 6, 13, 1, NULL, 1, '2021-11-25 21:36:51', '2021-11-25 21:36:51'),
(1387, 9, '2010', 'Lic. en Administración', 380, 24, 404, 9, 68, 4, 14, 1, NULL, 1, '2021-12-22 02:54:18', '2021-12-22 02:54:18'),
(1498, 19, '2012', 'Ing. Mecánico Electricista', 400, 16, 416, 9, 68, 4, 14, 1, NULL, 1, '2021-12-22 02:43:21', '2021-12-22 02:43:21'),
(1505, 17, '2012', 'Lic. en Medicina Veterinaria y Zootecnia', 361, 56, 417, 10, 68, 4, 15, 1, NULL, 1, '2021-12-22 02:38:34', '2021-12-22 02:38:34'),
(1506, 17, '2012', 'Lic. en Medicina Veterinaria y Zootecnia', 361, 56, 417, 10, 68, 4, 15, 1, NULL, 1, '2021-12-22 02:40:00', '2021-12-22 02:40:00'),
(1543, 23, '2012', 'Lic. en Ingeniería en Telecomunicaciones, Sistemas y Electrónica', 372, 40, 412, 9, 68, 6, 14, 1, NULL, 1, '2021-12-22 02:50:40', '2021-12-22 02:50:40'),
(1549, 22, '2012', 'Lic. en Ingeniería Industrial', 366, 40, 406, 9, 68, 4, 14, 1, NULL, 1, '2021-12-22 02:48:32', '2021-12-22 02:48:32'),
(1600, 13, '2013', 'Lic. en Química Industrial', 350, 16, 366, 8, 68, 4, 12, 1, NULL, 1, '2021-12-22 02:30:06', '2021-12-22 02:30:06'),
(1608, 24, '2013', 'Lic. en Diseño y Comunicación Visual', 390, 40, 430, 9, 68, 4, 14, 1, NULL, 1, '2021-12-22 03:01:43', '2021-12-22 03:01:43');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `plantel`
--
CREATE TABLE `plantel` (
`id_plantel` int(5) NOT NULL,
`id_facultad_fk` int(5) NOT NULL,
`nombre` varchar(50) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT;
--
-- Volcado de datos para la tabla `plantel`
--
INSERT INTO `plantel` (`id_plantel`, `id_facultad_fk`, `nombre`, `created_at`, `updated_at`) VALUES
(102, 3, 'F.E.S. CUAUTITLÁN (ARTES PLÁSTICAS)', '2021-11-25 21:04:32', '2021-11-25 21:04:32'),
(105, 3, 'F.E.S. CUAUTITLÁN (QUÍMICA)', '2021-11-25 21:06:06', '2021-11-25 21:06:06'),
(106, 3, 'F.E.S CUAUTITLÁN (CONTADURÍA)', '2021-11-25 21:06:06', '2021-11-25 21:06:06'),
(111, 3, 'F.E.S. CUAUTITLÁN (INGENIERÍA)', '2021-11-25 21:08:44', '2021-11-25 21:08:44'),
(116, 3, 'F.E.S. CUAUTITLÁN (VETERINARIA) ', '2021-12-21 11:23:40', '2021-12-21 11:23:40'),
(118, 3, 'F.E.S. CUAUTITLÁN (AGRÍCOLA) ', '2021-12-21 11:24:29', '2021-12-21 11:24:29'),
(195, 3, 'F.E.S. CUAUTITLÁN (TECNOLOGÍA) ', '2021-12-21 11:25:42', '2021-12-21 11:25:42');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `plantel_carrera`
--
CREATE TABLE `plantel_carrera` (
`id_carrera_fk` int(5) NOT NULL,
`id_plantel_fk` int(5) NOT NULL,
`aciertos_minimos` int(5) NOT NULL,
`promedio_minimo` double NOT NULL,
`cupo` int(5) NOT NULL,
`updated_at` timestamp NOT NULL DEFAULT current_timestamp(),
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT;
--
-- Volcado de datos para la tabla `plantel_carrera`
--
INSERT INTO `plantel_carrera` (`id_carrera_fk`, `id_plantel_fk`, `aciertos_minimos`, `promedio_minimo`, `cupo`, `updated_at`, `created_at`) VALUES
(9, 106, 68, 7, 245, '2021-11-25 23:24:09', '2021-11-25 23:24:09'),
(10, 106, 62, 7, 355, '2021-11-25 23:23:08', '2021-11-25 23:23:08'),
(11, 106, 69, 7, 79, '2021-11-25 23:23:08', '2021-11-25 23:23:08'),
(12, 105, 0, 0, 0, '2021-12-23 18:40:59', '2021-12-23 18:40:59'),
(13, 105, 0, 0, 0, '2021-12-23 18:40:59', '2021-12-23 18:40:59'),
(14, 105, 0, 0, 0, '2021-12-23 18:42:06', '2021-12-23 18:42:06'),
(15, 105, 0, 0, 0, '2021-12-23 18:50:39', '2021-12-23 18:50:39'),
(16, 105, 0, 0, 0, '2021-12-23 18:53:39', '2021-12-23 18:53:39'),
(17, 116, 0, 0, 0, '2021-12-23 18:53:58', '2021-12-23 18:53:58'),
(18, 118, 0, 0, 0, '2021-12-23 18:54:14', '2021-12-23 18:54:14'),
(19, 111, 0, 0, 0, '2021-12-23 18:54:14', '2021-12-23 18:54:14'),
(20, 105, 0, 0, 0, '2021-12-23 18:54:31', '2021-12-23 18:54:31'),
(21, 195, 0, 0, 0, '2021-12-23 18:54:31', '2021-12-23 18:54:31'),
(22, 111, 0, 0, 0, '2021-12-23 18:54:31', '2021-12-23 18:54:31'),
(23, 111, 0, 0, 0, '2021-12-23 18:55:05', '2021-12-23 18:55:05'),
(24, 102, 0, 0, 0, '2021-12-23 18:55:05', '2021-12-23 18:55:05');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `profesor`
--
CREATE TABLE `profesor` (
`usuario_id_fk` int(100) NOT NULL,
`estatus` int(1) NOT NULL,
`updated_at` timestamp NOT NULL DEFAULT current_timestamp(),
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT;
--
-- Volcado de datos para la tabla `profesor`
--
INSERT INTO `profesor` (`usuario_id_fk`, `estatus`, `updated_at`, `created_at`) VALUES
(1, 1, '2021-12-17 20:39:20', '2021-12-17 20:39:20'),
(3, 1, '2021-11-25 22:58:30', '2021-11-25 22:58:30'),
(5, 1, '2021-11-25 22:58:30', '2021-11-25 22:58:30'),
(7, 1, '2021-11-25 22:59:03', '2021-11-25 22:59:03'),
(9, 1, '2021-11-25 22:59:03', '2021-11-25 22:59:03'),
(31, 1, '2021-12-23 03:41:39', '2021-12-23 03:41:39'),
(57, 1, '2021-12-23 03:44:12', '2021-12-23 03:44:12'),
(58, 1, '2021-12-23 03:44:12', '2021-12-23 03:44:12'),
(59, 1, '2021-12-23 03:44:12', '2021-12-23 03:44:12'),
(60, 1, '2021-12-23 03:44:12', '2021-12-23 03:44:12'),
(61, 1, '2021-12-23 03:44:12', '2021-12-23 03:44:12'),
(62, 1, '2021-12-23 03:44:12', '2021-12-23 03:44:12'),
(63, 1, '2021-12-23 03:44:12', '2021-12-23 03:44:12'),
(64, 1, '2021-12-23 03:44:12', '2021-12-23 03:44:12'),
(65, 1, '2021-12-23 03:44:12', '2021-12-23 03:44:12'),
(66, 1, '2021-12-23 03:44:12', '2021-12-23 03:44:12'),
(67, 1, '2021-12-23 03:44:12', '2021-12-23 03:44:12'),
(68, 1, '2021-12-23 03:44:12', '2021-12-23 03:44:12'),
(69, 1, '2021-12-23 03:44:12', '2021-12-23 03:44:12'),
(70, 1, '2021-12-23 03:44:12', '2021-12-23 03:44:12'),
(71, 1, '2021-12-23 03:44:12', '2021-12-23 03:44:12'),
(72, 1, '2021-12-23 03:44:12', '2021-12-23 03:44:12'),
(73, 1, '2021-12-23 03:44:12', '2021-12-23 03:44:12'),
(74, 1, '2021-12-23 03:44:12', '2021-12-23 03:44:12'),
(75, 1, '2021-12-23 03:44:12', '2021-12-23 03:44:12'),
(76, 1, '2021-12-23 03:44:12', '2021-12-23 03:44:12'),
(77, 1, '2021-12-23 19:01:33', '2021-12-23 19:01:33'),
(78, 1, '2021-12-23 19:01:33', '2021-12-23 19:01:33'),
(79, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(80, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(81, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(82, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(83, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(84, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(85, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(86, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(87, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(88, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(89, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(90, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(91, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(92, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(93, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(94, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(95, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(96, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(97, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(98, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(99, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(100, 1, '2021-12-23 19:02:52', '2021-12-23 19:02:52'),
(101, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(102, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(103, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(104, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(105, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(106, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(107, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(108, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(109, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(110, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(111, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(112, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(113, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(114, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(115, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(116, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(117, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(118, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(119, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(120, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(121, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(122, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(123, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(124, 1, '2021-12-23 19:04:51', '2021-12-23 19:04:51'),
(125, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(126, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(127, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(128, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(129, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(130, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(131, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(132, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(133, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(134, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(135, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(136, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(137, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(138, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(139, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(140, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(141, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(142, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(143, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(144, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(145, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(146, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(147, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(148, 1, '2021-12-23 19:06:35', '2021-12-23 19:06:35'),
(149, 1, '2021-12-23 19:07:05', '2021-12-23 19:07:05'),
(150, 1, '2021-12-23 19:07:05', '2021-12-23 19:07:05'),
(151, 1, '2021-12-23 19:07:05', '2021-12-23 19:07:05'),
(152, 1, '2021-12-23 19:07:05', '2021-12-23 19:07:05'),
(153, 1, '2021-12-23 19:07:05', '2021-12-23 19:07:05'),
(154, 1, '2021-12-23 19:07:05', '2021-12-23 19:07:05'),
(155, 1, '2021-12-23 19:07:05', '2021-12-23 19:07:05'),
(156, 1, '2021-12-23 19:07:05', '2021-12-23 19:07:05'),
(157, 1, '2021-12-25 17:58:28', '2021-12-25 17:58:28');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `profesor_departamento`
--
CREATE TABLE `profesor_departamento` (
`usuarioprofesor_id_fk` int(100) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp NOT NULL DEFAULT current_timestamp(),
`estatus` int(1) NOT NULL,
`departamento_id_fk` varchar(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Volcado de datos para la tabla `profesor_departamento`
--
INSERT INTO `profesor_departamento` (`usuarioprofesor_id_fk`, `created_at`, `updated_at`, `estatus`, `departamento_id_fk`) VALUES
(1, '2021-12-22 04:30:09', '2021-12-22 04:30:09', 1, '0302CADMINISTRA'),
(3, '2021-12-22 04:30:09', '2021-12-22 04:30:09', 1, '0303COMPUTO'),
(31, '2021-12-23 03:55:41', '2021-12-23 03:55:41', 1, '0303COMPUTO'),
(57, '2021-12-23 04:18:49', '2021-12-23 04:18:49', 1, '00000106'),
(58, '2021-12-23 04:18:49', '2021-12-23 04:18:49', 1, '00000106'),
(59, '2021-12-23 04:18:49', '2021-12-23 04:18:49', 1, '00000105'),
(60, '2021-12-23 04:18:49', '2021-12-23 04:18:49', 1, '00000195'),
(61, '2021-12-23 04:18:49', '2021-12-23 04:18:49', 1, '0302CADMINISTRA'),
(62, '2021-12-23 04:18:49', '2021-12-23 04:18:49', 1, '0201CQUIMICAS'),
(63, '2021-12-23 04:18:49', '2021-12-23 04:18:49', 1, '0301CSOCIALES'),
(64, '2021-12-23 04:18:49', '2021-12-23 04:18:49', 1, '0401DISEÑOCOM'),
(65, '2021-12-23 04:18:49', '2021-12-23 04:18:49', 1, '0401DISEÑOCOM'),
(66, '2021-12-23 04:18:49', '2021-12-23 04:18:49', 1, '0203CBIOLOGICAS'),
(67, '2021-12-23 04:18:49', '2021-12-23 04:18:49', 1, '0204CAGRICOLAS'),
(68, '2021-12-23 04:18:49', '2021-12-23 04:18:49', 1, '0103INGENIERIA'),
(68, '2021-12-23 16:08:49', '2021-12-23 16:08:49', 1, '0302CADMINISTRA'),
(69, '2021-12-23 04:18:49', '2021-12-23 04:18:49', 1, '0104FISICA'),
(70, '2021-12-23 04:18:49', '2021-12-23 04:18:49', 1, '0101MATEMATICAS'),
(71, '2021-12-23 04:18:49', '2021-12-23 04:18:49', 1, '0103INGENIERIA'),
(72, '2021-12-23 04:18:49', '2021-12-23 04:18:49', 1, '0201CQUIMICAS'),
(73, '2021-12-23 04:18:49', '2021-12-23 04:18:49', 1, '0202CPECUARIAS'),
(74, '2021-12-23 04:18:49', '2021-12-23 04:18:49', 1, '0103INGENIERIA'),
(75, '2021-12-23 04:18:49', '2021-12-23 04:18:49', 1, '0201CQUIMICAS'),
(76, '2021-12-23 04:18:49', '2021-12-23 04:18:49', 1, '0102INGENYT'),
(77, '2021-12-23 19:16:13', '2021-12-23 19:16:13', 1, '0303COMPUTO'),
(78, '2021-12-23 19:16:13', '2021-12-23 19:16:13', 1, '00000106'),
(79, '2021-12-23 19:17:58', '2021-12-23 19:17:58', 1, '0303COMPUTO'),
(80, '2021-12-23 19:17:58', '2021-12-23 19:17:58', 1, '0101MATEMATICAS'),
(81, '2021-12-23 19:25:50', '2021-12-23 19:25:50', 1, '0303COMPUTO'),
(82, '2021-12-23 19:25:50', '2021-12-23 19:25:50', 1, '0301CSOCIALES'),
(83, '2021-12-23 19:25:50', '2021-12-23 19:25:50', 1, '0303COMPUTO'),
(84, '2021-12-23 19:25:50', '2021-12-23 19:25:50', 1, '0103INGENIERIA'),
(85, '2021-12-23 19:25:50', '2021-12-23 19:25:50', 1, '0301CSOCIALES'),
(86, '2021-12-23 19:25:50', '2021-12-23 19:25:50', 1, '0101MATEMATICAS'),
(87, '2021-12-23 19:25:50', '2021-12-23 19:25:50', 88, '0302CADMINISTRA'),
(88, '2021-12-23 19:25:50', '2021-12-23 19:25:50', 1, '0302CADMINISTRA'),
(89, '2021-12-23 19:25:50', '2021-12-23 19:25:50', 1, '0303COMPUTO'),
(90, '2021-12-23 19:30:16', '2021-12-23 19:30:16', 1, '0103INGENIERIA'),
(90, '2021-12-23 19:25:50', '2021-12-23 19:25:50', 1, '0303COMPUTO'),
(91, '2021-12-23 19:30:16', '2021-12-23 19:30:16', 1, '0103INGENIERIA'),
(92, '2021-12-23 19:30:16', '2021-12-23 19:30:16', 1, '0101MATEMATICAS'),
(93, '2021-12-23 19:30:16', '2021-12-23 19:30:16', 1, '0301CSOCIALES'),
(94, '2021-12-23 19:30:16', '2021-12-23 19:30:16', 1, '0302CADMINISTRA'),
(95, '2021-12-23 19:30:16', '2021-12-23 19:30:16', 1, '0303COMPUTO'),
(96, '2021-12-23 19:30:16', '2021-12-23 19:30:16', 1, '0303COMPUTO'),
(97, '2021-12-23 19:30:16', '2021-12-23 19:30:16', 1, '0103INGENIERIA'),
(98, '2021-12-23 19:30:16', '2021-12-23 19:30:16', 1, '0302CADMINISTRA'),
(99, '2021-12-23 19:30:16', '2021-12-23 19:30:16', 1, '0303COMPUTO'),
(100, '2021-12-23 19:36:14', '2021-12-23 19:36:14', 1, '00000111'),
(101, '2021-12-23 19:36:14', '2021-12-23 19:36:14', 1, '0301CSOCIALES'),
(102, '2021-12-23 19:36:14', '2021-12-23 19:36:14', 1, '0302CADMINISTRA'),
(103, '2021-12-23 19:36:14', '2021-12-23 19:36:14', 1, '0103INGENIERIA'),
(104, '2021-12-23 19:36:14', '2021-12-23 19:36:14', 1, '0303COMPUTO'),
(105, '2021-12-23 19:36:14', '2021-12-23 19:36:14', 1, '0101MATEMATICAS'),
(106, '2021-12-23 19:36:14', '2021-12-23 19:36:14', 1, '00000111'),
(107, '2021-12-23 19:36:14', '2021-12-23 19:36:14', 1, '0301CSOCIALES'),
(108, '2021-12-23 19:36:14', '2021-12-23 19:36:14', 1, '0303COMPUTO'),
(109, '2021-12-23 19:36:14', '2021-12-23 19:36:14', 1, '0303COMPUTO'),
(110, '2021-12-23 19:41:54', '2021-12-23 19:41:54', 1, '00000106'),
(111, '2021-12-23 19:41:54', '2021-12-23 19:41:54', 1, '0301CSOCIALES'),
(112, '2021-12-23 19:41:54', '2021-12-23 19:41:54', 1, '0303COMPUTO'),
(113, '2021-12-23 19:41:54', '2021-12-23 19:41:54', 1, '0301CSOCIALES'),
(114, '2021-12-23 19:41:54', '2021-12-23 19:41:54', 1, '0303COMPUTO'),
(115, '2021-12-23 19:41:54', '2021-12-23 19:41:54', 1, '0303COMPUTO'),
(116, '2021-12-23 19:41:54', '2021-12-23 19:41:54', 1, '0301CSOCIALES'),
(117, '2021-12-23 19:41:54', '2021-12-23 19:41:54', 1, '00000106'),
(118, '2021-12-23 19:41:54', '2021-12-23 19:41:54', 1, '0303COMPUTO'),
(119, '2021-12-23 19:41:54', '2021-12-23 19:41:54', 1, '0103INGENIERIA'),
(120, '2021-12-23 19:47:06', '2021-12-23 19:47:06', 1, '0301CSOCIALES'),
(121, '2021-12-23 19:47:06', '2021-12-23 19:47:06', 1, '0301CSOCIALES'),
(122, '2021-12-23 19:47:06', '2021-12-23 19:47:06', 1, '0303COMPUTO'),
(123, '2021-12-23 19:47:06', '2021-12-23 19:47:06', 1, '0101MATEMATICAS'),
(124, '2021-12-23 19:47:06', '2021-12-23 19:47:06', 1, '0301CSOCIALES'),
(125, '2021-12-23 19:47:06', '2021-12-23 19:47:06', 1, '00000106'),
(126, '2021-12-23 19:47:06', '2021-12-23 19:47:06', 1, '00000106'),
(127, '2021-12-23 19:47:06', '2021-12-23 19:47:06', 1, '00000106'),
(128, '2021-12-23 19:47:06', '2021-12-23 19:47:06', 1, '00000106'),
(129, '2021-12-23 19:47:06', '2021-12-23 19:47:06', 1, '0303COMPUTO'),
(130, '2021-12-23 19:50:29', '2021-12-23 19:50:29', 1, '00000106'),
(131, '2021-12-23 19:50:29', '2021-12-23 19:50:29', 1, '0301CSOCIALES'),
(132, '2021-12-23 19:50:29', '2021-12-23 19:50:29', 1, '0303COMPUTO'),
(133, '2021-12-23 19:50:29', '2021-12-23 19:50:29', 1, '0303COMPUTO'),
(134, '2021-12-23 19:50:29', '2021-12-23 19:50:29', 1, '00000106'),
(135, '2021-12-23 19:50:29', '2021-12-23 19:50:29', 1, '0302CADMINISTRA'),
(136, '2021-12-23 19:50:29', '2021-12-23 19:50:29', 1, '00000106'),
(137, '2021-12-23 19:50:29', '2021-12-23 19:50:29', 1, '0303COMPUTO'),
(138, '2021-12-23 19:50:29', '2021-12-23 19:50:29', 1, '0303COMPUTO'),
(139, '2021-12-23 19:50:29', '2021-12-23 19:50:29', 1, '0303COMPUTO'),
(140, '2021-12-23 19:55:06', '2021-12-23 19:55:06', 1, '0301CSOCIALES'),
(141, '2021-12-23 19:55:06', '2021-12-23 19:55:06', 1, '0303COMPUTO'),
(142, '2021-12-23 19:55:06', '2021-12-23 19:55:06', 1, '0301CSOCIALES'),
(143, '2021-12-23 19:55:06', '2021-12-23 19:55:06', 1, '0303COMPUTO'),
(144, '2021-12-23 19:55:06', '2021-12-23 19:55:06', 1, '0301CSOCIALES'),
(145, '2021-12-23 19:55:06', '2021-12-23 19:55:06', 1, '00000106'),
(146, '2021-12-23 19:55:06', '2021-12-23 19:55:06', 1, '0303COMPUTO'),
(147, '2021-12-23 19:55:06', '2021-12-23 19:55:06', 1, '0301CSOCIALES'),
(148, '2021-12-23 19:55:06', '2021-12-23 19:55:06', 1, '00000106'),
(149, '2021-12-23 19:55:06', '2021-12-23 19:55:06', 1, '00000111'),
(150, '2021-12-23 19:57:47', '2021-12-23 19:57:47', 1, '00000106'),
(151, '2021-12-23 19:57:47', '2021-12-23 19:57:47', 1, '0303COMPUTO'),
(152, '2021-12-23 19:57:47', '2021-12-23 19:57:47', 1, '0301CSOCIALES'),
(153, '2021-12-23 19:57:47', '2021-12-23 19:57:47', 1, '0301CSOCIALES'),
(154, '2021-12-23 19:57:47', '2021-12-23 19:57:47', 1, '0303COMPUTO'),
(155, '2021-12-23 19:57:47', '2021-12-23 19:57:47', 1, '0303COMPUTO'),
(156, '2021-12-23 19:57:47', '2021-12-23 19:57:47', 1, '0301CSOCIALES'),
(157, '2021-12-25 17:59:38', '2021-12-25 17:59:38', 1, '00000106');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `salon`
--
CREATE TABLE `salon` (
`id_salon` int(5) NOT NULL,
`id_edificio_fk` int(5) NOT NULL,
`clave` varchar(50) NOT NULL,
`updated_at` timestamp NOT NULL DEFAULT current_timestamp(),
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Volcado de datos para la tabla `salon`
--
INSERT INTO `salon` (`id_salon`, `id_edificio_fk`, `clave`, `updated_at`, `created_at`) VALUES
(1, 1, '1006', '2021-11-25 21:20:50', '2021-11-25 21:20:50'),
(2, 2, '1105', '2021-11-25 21:20:50', '2021-11-25 21:20:50'),
(3, 1, '1001', '2021-11-25 21:21:52', '2021-11-25 21:21:52'),
(4, 2, '1101', '2021-11-25 21:21:52', '2021-11-25 21:21:52'),
(5, 3, '1201', '2021-11-25 21:22:30', '2021-11-25 21:22:30'),
(6, 4, '0901', '2021-11-25 21:22:30', '2021-11-25 21:22:30'),
(7, 1, '1002', '2021-11-25 21:22:57', '2021-11-25 21:22:57'),
(8, 1, '1003', '2021-11-25 21:22:57', '2021-11-25 21:22:57'),
(9, 1, '1004', '2021-11-25 21:23:28', '2021-11-25 21:23:28'),
(10, 1, '1005', '2021-11-25 21:23:28', '2021-11-25 21:23:28'),
(11, 3, '1205', '2021-12-27 21:40:45', '2021-12-27 21:40:45'),
(12, 11, '212', '2021-12-27 21:49:42', '2021-12-27 21:49:42'),
(13, 12, 'LAB 3', '2021-12-28 00:23:49', '2021-12-28 00:23:49'),
(14, 11, '211', '2021-12-28 00:42:18', '2021-12-28 00:42:18'),
(15, 11, '213', '2021-12-28 00:44:31', '2021-12-28 00:44:31'),
(16, 2, '1104', '2021-12-28 00:48:20', '2021-12-28 00:48:20'),
(17, 11, '1202', '2021-12-28 00:55:40', '2021-12-28 00:55:40'),
(18, 3, '1203', '2021-12-28 01:00:03', '2021-12-28 01:00:03'),
(19, 2, '1103', '2021-12-28 05:39:08', '2021-12-28 05:39:08'),
(20, 2, '1102', '2021-12-28 18:37:06', '2021-12-28 18:37:06'),
(21, 11, '215', '2021-12-28 18:46:39', '2021-12-28 18:46:39'),
(22, 11, '216', '2021-12-28 19:14:36', '2021-12-28 19:14:36'),
(23, 11, '214', '2021-12-28 19:15:42', '2021-12-28 19:15:42'),
(24, 12, 'LAB CFM', '2021-12-28 19:43:19', '2021-12-28 19:43:19');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `usuario`
--
CREATE TABLE `usuario` (
`id_usuario` int(100) NOT NULL,
`cuenta_alumno` varchar(10) NOT NULL,
`cuenta_profesor` varchar(13) NOT NULL,
`cuenta_administrador` varchar(13) NOT NULL,
`nombre` varchar(35) NOT NULL,
`primer_apellido` varchar(40) DEFAULT NULL,
`segundo_apellido` varchar(40) DEFAULT NULL,
`correo` varchar(70) NOT NULL,
`contrasenia` varchar(32) NOT NULL,
`telefono` varchar(12) NOT NULL,
`fecha_nacimiento` date NOT NULL,
`pregunta_secreta` int(2) DEFAULT NULL,
`respuesta_secreta` varchar(40) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT;
--
-- Volcado de datos para la tabla `usuario`
--
INSERT INTO `usuario` (`id_usuario`, `cuenta_alumno`, `cuenta_profesor`, `cuenta_administrador`, `nombre`, `primer_apellido`, `segundo_apellido`, `correo`, `contrasenia`, `telefono`, `fecha_nacimiento`, `pregunta_secreta`, `respuesta_secreta`) VALUES
(1, '316039109', ' 1SOZU265656H', ' 536658215HG7', 'NAYELLI', 'SOTO', 'ZUÑIGA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5536980291', '2000-10-06', 1, 'morado'),
(2, '419070375', '', 'VIPL891212TA5', '<NAME>', 'VILLAGOMEZ', 'PICHARDO', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5528121287', '1989-12-12', 0, NULL),
(3, '316341042', 'TOHD0003244S1', '', '<NAME>', 'TORRES', 'HERNÁNDEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5528083989', '2000-03-24', 1, 'rojo'),
(4, '312100195', '', '', 'ERICK', 'ARCOS', 'PERALTA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5548731534', '1998-10-15', 0, NULL),
(5, '419071602', 'EIAL980125FQ3', 'EIAL980125FQ3', '<NAME>', 'ESPINOZA', 'ANTONIO', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5560895392', '1998-01-25', 0, NULL),
(6, '314243919', '', '', 'EMMANUEL', 'MARTÍNEZ', 'HERNÁNDEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5620907010', '1998-11-26', 0, NULL),
(7, '', 'ROBO000809VC4', '', 'OMAR', 'ROMO', 'BAUTISTA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5534069985', '2000-08-09', 1, 'azul'),
(8, '316345978', '', '', '<NAME>', 'HERNÁNDEZ', 'LEDEZMA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5537091960', '1998-04-16', 1, 'asd'),
(9, '', 'AAAN0005208B6', 'AAAN0005208B6', 'NATALIA', 'Andrade', 'Ayala', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5589562563', '2000-05-20', 0, NULL),
(10, '', '', 'NUJM970814QJ5', 'MARISOL', 'NÚÑEZ', 'JUAREZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5545896505', '1997-08-14', 0, NULL),
(11, '318084654', '', '', 'FRANCISCO', 'LOPEZ', 'RAMIREZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5516516878', '2000-12-10', 2, 'manchas'),
(12, '420317879', '', '', 'LILIAN', 'CASTILLO', 'OBRERA', '<EMAIL> ', '81dc9bdb52d04dc20036dbd8313ed055', '5549786512', '1998-01-15', NULL, NULL),
(13, '420445620', '', '', 'DIANA', 'MARTÍNEZ', 'MONTES', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5563748920', '1996-02-16', NULL, NULL),
(14, '420315478', '', '', 'TABATHA', 'SANTILLÁN', 'SANTIAGO', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5574129622', '1999-03-17', NULL, NULL),
(15, '411391156', '', '', 'ALAN', 'ZAVALA', 'SANTOS', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5612410378', '1994-04-18', NULL, NULL),
(16, '419798546', '', '', 'PEDRO', 'DORANTE', 'HUERTA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5512336674', '1990-05-19', NULL, NULL),
(17, '419587123', '', '', 'ALBERTO', 'JUAREZ', 'FLORES', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5510124789', '1996-02-20', NULL, NULL),
(18, '420587125', '', '', 'JAQUELINE', 'RAMÍREZ', 'BLAS', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5623411014', '2000-05-04', NULL, NULL),
(19, '422489560', '', '', 'CAROLINA', 'ZEMPOALTECA', 'YAÑEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5578845665', '2001-06-22', NULL, NULL),
(20, '422786325', '', '', 'MIREYA', 'MOLINA', 'GÓMEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5683245104', '2000-07-23', NULL, NULL),
(21, '418960045', '', '', 'ELENA', 'DUARTE', 'CORREA', '<EMAIL> ', '81dc9bdb52d04dc20036dbd8313ed055', '5688475125', '1997-08-24', NULL, NULL),
(22, '419624587', '', '', '<NAME>', 'SÁNCHEZ', 'BARRAGÁN', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5589764487', '2000-09-10', NULL, NULL),
(23, '419624588', '', '', 'DIEGO', 'NERIA', 'ZAMORA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5614148998', '2000-11-11', NULL, NULL),
(24, '419624589', '', '', 'LESLIE', 'AGUILAR', 'HERNÁNDEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5536600005', '2000-12-12', NULL, NULL),
(25, '419624590', '', '', 'DAVID', 'VELÁZQUEZ', 'ENRIQUEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5578894531', '2000-04-13', NULL, NULL),
(26, '420624591', '', '', 'AXEL', 'ALTAMIRANO', 'JURADO', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5549325618', '2000-05-14', NULL, NULL),
(27, '421624592', '', '', 'VALENTINA', 'TIRADO', 'JIMÉNEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5674258564', '2000-06-15', NULL, NULL),
(28, '418624593', '', '', 'CARLOS', 'BUENROSTRO', 'MARCELINO', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5549736520', '2000-07-16', NULL, NULL),
(29, '4229387002', '', '', 'URIEL', 'SANCHEZ', 'VILLANUEVA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5548963715', '1999-10-10', NULL, NULL),
(30, '315624594', '', '', 'VANIA', 'SANDOVAL', 'VALLARTE', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5549786523', '1996-08-08', NULL, NULL),
(31, '', 'MELM8305281H0', '', 'MARTA', 'MEZA', 'LICONA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5534151534', '1988-03-20', NULL, NULL),
(32, '320781205', '', '', '<NAME>', 'GALVÁN', 'HERRERA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5549751263', '2004-05-26', NULL, NULL),
(33, '320781205', '', '', 'PAULA', 'TEJEDA', 'REYES', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5579845023', '2004-01-28', NULL, NULL),
(34, '320781206', '', '', 'SUSANA', 'RIVERA', 'NERI', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5549751264', '2004-02-26', NULL, NULL),
(35, '320781207', '', '', '<NAME>', 'CHAVEZ', 'OCHOA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5549751265', '2004-03-06', NULL, NULL),
(36, '320781208', '', '', 'DANIEL', 'MENDOZA', 'FERNÁNDEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5549751266', '2004-04-07', NULL, NULL),
(37, '320781209', '', '', 'URIEL', 'MENDEZ', 'GARZA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5549751267', '2004-05-08', NULL, NULL),
(38, '320781210', '', '', 'KATERIN', 'ÁLVARES', 'VILLAREAL', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5549751268', '2004-06-09', NULL, NULL),
(39, '320781211', '', '', 'SAMANTHA', 'ROMERO', 'CASAS', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5549751269', '2004-07-10', NULL, NULL),
(40, '320781212', '', '', 'ESTEFANIA', 'CASTILLO', 'MONROY', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed<PASSWORD>', '5549751270', '2004-08-11', NULL, NULL),
(41, '320781213', '', '', 'LETICIA', 'MORENO', '<NAME>', '<EMAIL>', '81dc9bdb52d04dc<PASSWORD>6dbd<PASSWORD>', '5549751271', '2004-09-12', NULL, NULL),
(42, '320781214', '', '', 'MIGUEL', 'ORTIZ', 'VARGAS', '<EMAIL>', '<PASSWORD>', '5549751272', '2004-10-13', NULL, NULL),
(43, '320781215', '', '', 'JONATHAN', 'AGUILAR', 'DELGADO', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5549751273', '2004-11-14', NULL, NULL),
(44, '320781216', '', '', 'GIOVANI', 'RUIZ', 'SUAREZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5549751274', '2004-12-15', NULL, NULL),
(45, '320781217', '', '', 'DAN', 'GUTIERREZ', 'PADILLA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5549751275', '2004-01-16', NULL, NULL),
(46, '422781218', '', '', 'ULISES', 'DÍAZ', 'PEÑA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5549751276', '2004-02-17', NULL, NULL),
(47, '320781219', '', '', 'LEONARDO', 'LARA', 'ACOSTA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5549751277', '2004-03-18', NULL, NULL),
(48, '422781220', '', '', 'JAVIER', 'CRUZ', 'NAVARRO', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5549751505', '2004-04-19', NULL, NULL),
(49, '421781221', '', '', 'BRIAN', 'PEREZ', 'PANIAGUA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5516552348', '2004-05-20', NULL, NULL),
(50, '321781222', '', '', 'JUAN', 'LÓPEZ', 'COLIN', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5514860003', '2004-06-21', NULL, NULL),
(51, '320781223', '', '', 'BRUNO', 'GARCIA', 'HUERTA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5596351256', '2004-07-22', NULL, NULL),
(52, '420781224', '', '', 'KEVIN', 'MARTÍNEZ', 'AGUAYO', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5549751280', '2004-08-23', NULL, NULL),
(53, '316781225', '', '', 'GISSELLE', 'GUZMÁN', 'BARRIOS', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5596140514', '2004-09-14', NULL, NULL),
(54, '316781226', '', '', 'GISSELLE', 'GUZMÁN', 'BARRIOS', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5560231486', '2004-09-14', NULL, NULL),
(55, '421781227', '', '', 'NANCY', 'HERNÁNDEZ', 'MARTÍNEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5589551216', '2004-10-10', NULL, NULL),
(56, '315781228', '', '', 'MELISSA', 'HERNÁNDEZ', 'MARTÍNEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '55565446', '2004-10-10', NULL, NULL),
(57, '', 'GMJL8805281J0', '', '<NAME>', 'GARCIA', 'MONTEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5513467811', '1988-05-28', NULL, NULL),
(58, '', 'RIMK8605142K1', '', 'KEVIN', 'RÍOS', 'MARTÍNEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5513467812', '1986-05-14', NULL, NULL),
(59, '', 'VADM9002053L2', '', 'MADELEINE', 'DELGADO', 'VAZQUEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5513467813', '1990-02-05', NULL, NULL),
(60, '', 'GOJR8805284M3', '', 'RICARDO', 'JUAREZ', 'GOMEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5513467814', '1988-05-28', NULL, NULL),
(61, '', 'MAFE8605142K1', '', '<NAME>', 'MARTÍNEZ', 'FLORES', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5513467812', '1986-05-14', NULL, NULL),
(62, '', 'PEVE9002053L2', '', 'ELISA', 'PEDRAZA', 'VÁZQUEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5513467813', '1990-02-05', NULL, NULL),
(63, '', 'LIND9204034M3', '', 'DAVID', 'LINA', 'NÚÑEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5513467814', '1992-04-03', NULL, NULL),
(64, '', 'CORE8505142K1', '', '<NAME>', 'CORTÉS', 'RICO', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5513467812', '1985-05-14', NULL, NULL),
(65, '', 'REOS8402053L2', '', '<NAME>', 'RESÉNDIZ', 'OLVERA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5546778935', '1984-02-05', NULL, NULL),
(66, '', 'GARA8306284M3', '', '<NAME>', 'GARDUÑO', 'ROSAS', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5523456987', '1983-06-28', NULL, NULL),
(67, '', 'GRMA8507142K1', '', '<NAME>', 'GRANADOS', 'MAYORCA', '<EMAIL>', '<PASSWORD>', '5545357619', '1985-07-14', NULL, NULL),
(68, '', 'MAFJ8608053L2', '', 'JERONIMO', 'MARTINEZ', 'FLORES', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5536752490', '1986-08-05', NULL, NULL),
(69, '', 'VAMI8709284M3', '', '<NAME>', 'MATA', 'VARGAS', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5596342351', '1987-09-28', NULL, NULL),
(70, '', 'LAFL8810284M3', '', '<NAME>', 'LARA', 'FLORES', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5598763415', '1988-10-28', NULL, NULL),
(71, '', 'ROLA8911254M3', '', 'ALFREDO', 'ROMERO', 'LOPEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5569754320', '1989-11-25', NULL, NULL),
(72, '', 'DAGA8912054M3', '', 'ALEJANDRA', 'DAZA', 'GONZALEZ', '<EMAIL>', '<PASSWORD>', '5569751634', '1989-12-28', NULL, NULL),
(73, '', 'TOCI9001144M3', '', 'IRMA', 'TOVAR', 'CORONA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5539784566', '1990-01-14', NULL, NULL),
(74, '', 'MAHO9102194M3', '', 'OSNIESKI', 'MARTÍN', 'HERNÁNDEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5536754100', '1991-02-19', NULL, NULL),
(75, '', 'ROPA8903014M3', '', 'GABRIELA', 'RODRÍGUEZ', 'PATIÑO', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5586453223', '1989-03-01', NULL, NULL),
(76, '', 'RATD9104074M3', '', 'DANIEL', 'RAYGOZA', 'TREJO', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5566447755', '1991-04-07', NULL, NULL),
(77, '', 'NOJM9006105K0', '', 'MARITZA', 'NOVA', 'JUAREZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5563789699', '1990-06-10', NULL, NULL),
(78, '', 'NOJM9006108K0', '', 'NAHUM', 'LOPEZ', 'GÓMEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5563789699', '1990-06-10', NULL, NULL),
(79, '', 'CARM8907141L9', '', '<NAME>', 'CASTAÑEDA', 'RAMIREZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5510121314', '1989-07-14', NULL, NULL),
(80, '', 'NOPG8611040M8', '', 'GABRIEL', 'NORIEGA', 'PERALTA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5563789699', '1989-11-04', NULL, NULL),
(81, '', 'VIGO8712081P4', '', 'OSCAR', 'VILCHIS', 'GUERRA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5569988774', '1987-12-08', NULL, NULL),
(82, '', 'NAMP8902192O3', '', 'PABLO', 'NAVARRO', 'MOCTEZUMA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5578594554', '1989-02-19', NULL, NULL),
(83, '', 'SACA8403183H2', '', '<NAME>', 'CAB', 'SALINAS', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5588632310', '1985-03-18', NULL, NULL),
(84, '', 'GOVV7509104J1', '', '<NAME>', 'GONZALEZ', 'VARGAS', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5562214576', '1975-09-10', NULL, NULL),
(85, '', 'ORMD8204135C7', '', 'DOMINGO', 'MARQUEZ', 'ORTEGA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5556892323', '1982-04-13', NULL, NULL),
(86, '', 'DECP8805098D9', '', '<NAME>', 'DELGADO', 'CEDILLO', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5596345201', '1988-05-09', NULL, NULL),
(87, '', 'AYAR6906217K9', '', 'RICARDO', 'AVILA', 'AYALA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5565327411', '1969-06-21', NULL, NULL),
(88, '', 'FLBI7508186L1', '', '<NAME>', 'FLORES', 'BENITEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5564457822', '1975-08-18', NULL, NULL),
(89, '', 'BARE7607115P2', '', 'ELIZABETH', 'BARRERA', 'ROMERO', '<EMAIL>', '81dc9bdb52d04dc20036dbd<PASSWORD>', '5548757548', '1976-07-11', NULL, NULL),
(90, '', 'JASM8208084H3', '', 'MAURICIO', 'JAQUES', 'SOTO', '<EMAIL>', '<PASSWORD>9<PASSWORD>d04dc<PASSWORD>dbd<PASSWORD>', '5569785544', '1982-08-08', NULL, NULL),
(91, '', 'JARM75010053T', '', 'MANUEL', 'JAUREGUI', 'RENAULT', '<EMAIL>', '81dc9bdb<PASSWORD>', '5556723499', '1975-01-05', NULL, NULL),
(92, '', 'CARC7501106D0', '', 'CARIÑO', 'RUIZ', 'CAMARGO', '<EMAIL>', '<PASSWORD>', '556678899', '1975-01-10', NULL, NULL),
(93, '', 'ARDR7501159R7', '', 'REYNA', 'ARRIAGA', 'DIAZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5510001475', '1975-01-15', NULL, NULL),
(94, '', 'HEAM7501202U4', '', '<NAME>', 'HERRRERA', 'ARELLANO', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5575121414', '1975-01-20', NULL, NULL),
(95, '', 'NIZA7501255N1', '', '<NAME>', 'NIVÓN', 'ZAGUI', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5544125578', '1975-01-25', NULL, NULL),
(96, '', 'LOSL7501305A7', '', '<NAME>', 'LOPEZ', 'SALAZAR', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5578554221', '1975-01-30', NULL, NULL),
(97, '', 'HEGG7502011S8', '', 'GUADALUPE', 'HERNÁNDEZ', 'GUTIÉRREZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5511224455', '1975-02-01', NULL, NULL),
(98, '', 'COVC7502055D2', '', '<NAME>', 'CORTÉS', 'VALADEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5554203553', '1975-02-05', NULL, NULL),
(99, '', 'MAMM7502102F3', '', '<NAME>', 'MARTÍNEZ', 'MALDONADO', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5556214301', '1975-02-10', NULL, NULL),
(100, '', 'TOVM7502155G1', '', '<NAME>', 'TORRES', 'VALENCIA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5556427814', '1975-02-15', NULL, NULL),
(101, '', 'PRSL7502206Z2', '', 'LILIA', 'PRADO', 'SOTO', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5545238511', '1975-02-20', NULL, NULL),
(102, '', 'NINO7502251X6', '', 'OMAR', 'NIETO', 'NIETO', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5565489887', '1975-02-25', NULL, NULL),
(103, '', 'GOEA7502262C6', '', '<NAME>', 'GOMEZ', 'ESCOJIDO', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5511347520', '1975-02-26', NULL, NULL),
(104, '', 'ROFR7502278V1', '', '<NAME>', 'ROSAS', 'FONSECA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5554287569', '1975-02-27', NULL, NULL),
(105, '', 'LOGY7502064B3', '', 'YOLANDA', 'LOPEZ', 'GUTIERREZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5554832123', '1975-02-06', NULL, NULL),
(106, '', 'CRHE7503011D6', '', '<NAME>', 'CRUZ', 'HERNÁNDEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5545211334', '1975-03-01', NULL, NULL),
(107, '', 'ARZA7503022F5', '', '<NAME>', 'ARTEAGA', 'ZARAZUA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5565489875', '1975-03-02', NULL, NULL),
(108, '', 'ROVV7503043L6', '', 'VALENTÍN', 'ROLDÁN', 'VAZQUEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5544235796', '1975-03-04', NULL, NULL),
(109, '', 'MARJ7503054M3', '', '<NAME>', 'MALDONADO', 'RODRÍGUEZ', '<EMAIL>', '81dc9bdb<PASSWORD>6dbd<PASSWORD>ed<PASSWORD>', '5563479512', '1975-03-05', NULL, NULL),
(110, '', 'LOGY7503065N0', '', 'MAURICIO', 'ARIAS', 'VELÁZQUEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed<PASSWORD>', '5552515758', '1975-03-06', NULL, NULL),
(111, '', 'HEVG7503079Q1', '', 'GERARDO', 'VELA', 'HERNÁNDEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5587542110', '1975-03-07', NULL, NULL),
(112, '', 'CRSC7503087W8', '', 'CLAUDIA', 'CRUZ', 'SANCHEZ', '<EMAIL>', '8<EMAIL>52d04dc20036dbd8313ed055', '5596454596', '1975-03-08', NULL, NULL),
(113, '', 'NAGG7503095X7', '', 'GABRIEL', 'GONZÁLEZ', 'NAVA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5523124580', '1975-03-09', NULL, NULL),
(114, '', 'VASG7503103D6', '', '<NAME>', 'VAZQUEZ', 'SALAZAR', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5515101442', '1975-03-10', NULL, NULL),
(115, '', 'MOGG7503111C9', '', 'GUILLERMO', 'MONTES', 'GUZMÁN', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5514157630', '1975-03-11', NULL, NULL),
(116, '', 'CAGR7503125F9', '', '<NAME>', 'CARBAJAL', 'GUEVARA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5564572112', '1975-03-12', NULL, NULL),
(117, '', 'CRMM7503134R2', '', '<NAME>', 'CRUZ', 'MENDOZA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5598754133', '1975-03-13', NULL, NULL),
(118, '', 'ORGG7503149E8', '', 'GUILLERMO', 'ORTEGA', 'GARCIA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5510102020', '1975-03-14', NULL, NULL),
(119, '', 'GACA7503157W5', '', 'ANTONIO', 'GAMA', 'CAMPILLO', '<EMAIL>', '81dc9bdb<PASSWORD>dc<PASSWORD>6<PASSWORD>', '5536414783', '1975-03-15', NULL, NULL),
(120, '', 'LONT7503164Q0', '', 'TOMAS', 'LOPEZ', 'NORIEGA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5547894576', '1975-03-16', NULL, NULL),
(121, '', 'REVA7503213B5', '', 'AURORA', 'REYES', 'VIGUERAS', '<EMAIL>', '<PASSWORD>', '5511145648', '1975-03-21', NULL, NULL),
(122, '', 'MUML7503204H8', '', '<NAME>', 'MUÑOZ', 'MIRANDA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5534357887', '1975-03-20', NULL, NULL),
(123, '', 'LOMH7503196U2', '', '<NAME>', 'LOPEZ', 'MARTINEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5523457111', '1975-03-19', NULL, NULL),
(124, '', 'SAMS7503189I7', '', 'SUSANA', 'SÁNCHEZ', 'MEJIA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5510141210', '1975-03-18', NULL, NULL),
(125, '', 'HEGO7503171O4', '', 'OCTAVIO', 'HERNÁNDEZ', 'GONZALEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5564646565', '1975-03-17', NULL, NULL),
(126, '', 'ORLE7503220L0', '', '<NAME>', 'ORTEGA', 'LARA', '<EMAIL>', '81dc9bdb52d04dc<PASSWORD>36dbd8313ed055', '5502030504', '1975-03-22', NULL, NULL),
(127, '', 'VEBH7503237Z4', '', '<NAME>', 'VEGA', 'BECERRIL', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '55454665528', '1975-03-23', NULL, NULL),
(128, '', 'ROVV7503242R5', '', '<NAME>', 'ROSALES', 'VELAZQUEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5546821532', '1975-03-24', NULL, NULL),
(129, '', 'LOPL7503250F6', '', 'LIANA', 'LOPEZ', 'PACHECO', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5596324652', '1975-03-25', NULL, NULL),
(130, '', 'FUGS7503268Y9', '', 'SOFIA', 'FUENTES', 'GUTIERREZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5502051486', '1975-03-26', NULL, NULL),
(131, '', 'LUBE7503270K5', '', 'ELIGIO', 'LUNA', 'BECERRIL', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5598987504', '1975-03-27', NULL, NULL),
(132, '', 'CLRC7503288J5', '', 'CLARISA', 'CLEMENTE', 'RODRÍGUEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5506753849', '1975-03-28', NULL, NULL),
(133, '', 'NUCI7503291S5', '', 'IVÁN', 'NUÑEZ', 'CONSUELOS', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5507898907', '1975-03-29', NULL, NULL),
(134, '', 'ACAG7503300F3', '', 'GUILLERMO', 'ACEVEDO', 'ARCOS', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5504511526', '1975-03-30', NULL, NULL),
(135, '', 'MOMD7503317H0', '', 'DIONICIO', 'MONTES', 'MOLINA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5509060314', '1975-03-31', NULL, NULL),
(136, '', 'ANRR7504010G5', '', 'ROLDAN', 'ANDRES', 'ROSALES', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5541378950', '1975-04-01', NULL, NULL),
(137, '', 'HESO7504028S5', '', 'OSCAR', 'HERNANDEZ', 'SANCHEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5565754205', '1975-04-02', NULL, NULL),
(138, '', 'CAAC7504031E5', '', 'CONRADO', 'CAMACHO', 'ARTEAGA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5532425272', '1975-04-03', NULL, NULL),
(139, '', 'VISG7504040Q3', '', 'GERARDO', 'VIGIL', 'SANABRIA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5591018121', '1975-04-04', NULL, NULL),
(140, '', 'RUGM7504057W0', '', '<NAME>', 'RUIZ', 'GARCIA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5589450501', '1975-04-05', NULL, NULL),
(141, '', 'CABA7504068D0', '', 'ARMANDO', 'CARMONA', 'BONILLA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5519197843', '1975-04-06', NULL, NULL),
(142, '', 'SOGJ7504070B5', '', '<NAME>', 'SOLARES', 'GUTIÉRREZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5576481311', '1975-04-07', NULL, NULL),
(143, '', 'PESC7504082S6', '', '<NAME>', 'PEREZ', 'SOLANO', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5576438506', '1975-04-08', NULL, NULL),
(144, '', 'LODM7504095F7', '', '<NAME>', 'LOPEZ', 'DIAZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5510487521', '1975-04-09', NULL, NULL),
(145, '', 'JIML7504106J7', '', '<NAME>', 'JIMENEZ', 'MARTÍNEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5584237155', '1975-04-10', NULL, NULL),
(146, '', 'FLPJ7504115C7', '', '<NAME>', 'FLORES', 'PEREZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5546781519', '1975-04-11', NULL, NULL),
(147, '', 'COEI7504120X4', '', 'IRENE', 'CORREA', 'ESQUIVEL', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5546781518', '1975-04-12', NULL, NULL),
(148, '', 'YAHA7504132M6', '', 'ADRIANA', 'YÁÑEZ', 'HERNANDEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5546781517', '1975-04-13', NULL, NULL),
(149, '', 'TOOG7504140G5', '', 'GERMAN', 'TORRES', 'OLIVEROS', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5546781516', '1975-04-14', NULL, NULL),
(150, '', 'HEME7504158C9', '', 'ERNESTO', 'HERRERA', 'MOLINA', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5546781515', '1975-04-15', NULL, NULL),
(151, '', 'SIRM7504169N3', '', '<NAME>', 'SILVA', 'REYES', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5546750019', '1975-04-16', NULL, NULL),
(152, '', 'AGRA7504171V2', '', 'AIDA', 'AGUILAR', 'REYES', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5546749918', '1975-04-17', NULL, NULL),
(153, '', 'VIRA7504183H3', '', 'ALEJANDRO', 'VILLACORTA', 'RAMOS', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5546749817', '1975-04-18', NULL, NULL),
(154, '', 'GOHR7504198JD', '', 'ROCIO', 'GONZALEZ', 'HERNANDEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5546749716', '1975-04-19', NULL, NULL),
(155, '', 'SARU7504203T7', '', '<NAME>', 'SALAZAR', 'ROGRIGUEZ', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5546781515', '1975-04-20', NULL, NULL),
(156, '', 'GECJ7504217H9', '', 'JOSÉ', 'CRUZ', 'GERVACIO', '<EMAIL>', '81dc9bdb52d04dc20036dbd8313ed055', '5546749615', '1975-04-21', NULL, NULL),
(157, '', 'ROGM7508148K9', '', '<NAME>', 'ROJAS', 'GONZALEZ', '<EMAIL>', '1234', '5542377782', '1975-08-14', NULL, NULL);
--
-- Índices para tablas volcadas
--
--
-- Indices de la tabla `administrador`
--
ALTER TABLE `administrador`
ADD PRIMARY KEY (`usuario_id_fk`);
--
-- Indices de la tabla `alumno`
--
ALTER TABLE `alumno`
ADD PRIMARY KEY (`usuario_id_fk`);
--
-- Indices de la tabla `area`
--
ALTER TABLE `area`
ADD PRIMARY KEY (`id_area`);
--
-- Indices de la tabla `asignacion`
--
ALTER TABLE `asignacion`
ADD PRIMARY KEY (`id_asignacion`),
ADD KEY `fk_asignacion_usuario` (`id_usuarioprofesor_fk`),
ADD KEY `fk_asignacion_grupos` (`id_grupo_fk`),
ADD KEY `id_periodo_fk` (`id_periodo_fk`);
--
-- Indices de la tabla `asignaturas`
--
ALTER TABLE `asignaturas`
ADD PRIMARY KEY (`id_asignatura`),
ADD KEY `fk_asignaturas_plandeestudios` (`id_plan_fk`),
ADD KEY `antecesor` (`antecesor`),
ADD KEY `sucesor` (`sucesor`);
--
-- Indices de la tabla `carrera`
--
ALTER TABLE `carrera`
ADD PRIMARY KEY (`id_carrera`),
ADD KEY `id_area_fk` (`id_area_fk`);
--
-- Indices de la tabla `departamentos`
--
ALTER TABLE `departamentos`
ADD PRIMARY KEY (`id_departamento`),
ADD KEY `id_plantel_fk` (`id_plantel_fk`);
--
-- Indices de la tabla `dosificacion`
--
ALTER TABLE `dosificacion`
ADD PRIMARY KEY (`id_usuarioalumno_fk`,`id_periodo_fk`),
ADD KEY `fk_dosificacion_periodo` (`id_periodo_fk`);
--
-- Indices de la tabla `edificio`
--
ALTER TABLE `edificio`
ADD PRIMARY KEY (`id_edificio`),
ADD KEY `fk_edificio_plantel` (`id_plantel_fk`);
--
-- Indices de la tabla `estudia`
--
ALTER TABLE `estudia`
ADD PRIMARY KEY (`id_usuarioalumno_fk`,`id_plan_fk`),
ADD KEY `id_plan_fk` (`id_plan_fk`);
--
-- Indices de la tabla `facultad`
--
ALTER TABLE `facultad`
ADD PRIMARY KEY (`id_facultad`);
--
-- Indices de la tabla `grupos`
--
ALTER TABLE `grupos`
ADD PRIMARY KEY (`id_grupo`),
ADD KEY `fk_grupos_asignaturas` (`id_asignatura_fk`);
--
-- Indices de la tabla `horario`
--
ALTER TABLE `horario`
ADD PRIMARY KEY (`id_horario`),
ADD KEY `fk_horario_grupos` (`id_grupo_fk`),
ADD KEY `fk_horario_salon` (`id_salon_fk`);
--
-- Indices de la tabla `inscripcion`
--
ALTER TABLE `inscripcion`
ADD PRIMARY KEY (`id_inscripcion`),
ADD KEY `fk_inscripcion_usuario` (`id_usuarioalumno_fk`),
ADD KEY `fk_inscripcion_periodo` (`id_periodo_fk`),
ADD KEY `id_periodo_fk` (`id_periodo_fk`),
ADD KEY `inscripcion_ibfk_2` (`id_claveplan_fk`);
--
-- Indices de la tabla `movimiento`
--
ALTER TABLE `movimiento`
ADD PRIMARY KEY (`id_inscripcion_fk`,`id_asignacion_fk`) USING BTREE,
ADD KEY `id_asignacion` (`id_asignacion_fk`);
--
-- Indices de la tabla `periodo`
--
ALTER TABLE `periodo`
ADD PRIMARY KEY (`id_periodo`);
--
-- Indices de la tabla `plandeestudios`
--
ALTER TABLE `plandeestudios`
ADD PRIMARY KEY (`id_plan`),
ADD KEY `fk_plandeestudios_carrera` (`id_carrera_fk`);
--
-- Indices de la tabla `plantel`
--
ALTER TABLE `plantel`
ADD PRIMARY KEY (`id_plantel`),
ADD KEY `fk_plantel_facultad` (`id_facultad_fk`);
--
-- Indices de la tabla `plantel_carrera`
--
ALTER TABLE `plantel_carrera`
ADD PRIMARY KEY (`id_carrera_fk`,`id_plantel_fk`),
ADD KEY `fk_plantel_carrera_plantel` (`id_plantel_fk`);
--
-- Indices de la tabla `profesor`
--
ALTER TABLE `profesor`
ADD PRIMARY KEY (`usuario_id_fk`);
--
-- Indices de la tabla `profesor_departamento`
--
ALTER TABLE `profesor_departamento`
ADD PRIMARY KEY (`usuarioprofesor_id_fk`,`departamento_id_fk`),
ADD KEY `departamento_id_fk` (`departamento_id_fk`);
--
-- Indices de la tabla `salon`
--
ALTER TABLE `salon`
ADD PRIMARY KEY (`id_salon`),
ADD KEY `fk_salon_edificio` (`id_edificio_fk`);
--
-- Indices de la tabla `usuario`
--
ALTER TABLE `usuario`
ADD PRIMARY KEY (`id_usuario`);
--
-- AUTO_INCREMENT de las tablas volcadas
--
--
-- AUTO_INCREMENT de la tabla `asignacion`
--
ALTER TABLE `asignacion`
MODIFY `id_asignacion` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=450;
--
-- AUTO_INCREMENT de la tabla `asignaturas`
--
ALTER TABLE `asignaturas`
MODIFY `id_asignatura` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=113;
--
-- AUTO_INCREMENT de la tabla `carrera`
--
ALTER TABLE `carrera`
MODIFY `id_carrera` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;
--
-- AUTO_INCREMENT de la tabla `edificio`
--
ALTER TABLE `edificio`
MODIFY `id_edificio` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT de la tabla `grupos`
--
ALTER TABLE `grupos`
MODIFY `id_grupo` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=347;
--
-- AUTO_INCREMENT de la tabla `horario`
--
ALTER TABLE `horario`
MODIFY `id_horario` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=327;
--
-- AUTO_INCREMENT de la tabla `inscripcion`
--
ALTER TABLE `inscripcion`
MODIFY `id_inscripcion` int(15) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=67;
--
-- AUTO_INCREMENT de la tabla `periodo`
--
ALTER TABLE `periodo`
MODIFY `id_periodo` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT de la tabla `salon`
--
ALTER TABLE `salon`
MODIFY `id_salon` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;
--
-- AUTO_INCREMENT de la tabla `usuario`
--
ALTER TABLE `usuario`
MODIFY `id_usuario` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1262;
--
-- Restricciones para tablas volcadas
--
--
-- Filtros para la tabla `administrador`
--
ALTER TABLE `administrador`
ADD CONSTRAINT `fk_administrador_usuario` FOREIGN KEY (`usuario_id_fk`) REFERENCES `usuario` (`id_usuario`) ON DELETE NO ACTION ON UPDATE CASCADE;
--
-- Filtros para la tabla `alumno`
--
ALTER TABLE `alumno`
ADD CONSTRAINT `fk_alumno_usuario` FOREIGN KEY (`usuario_id_fk`) REFERENCES `usuario` (`id_usuario`) ON DELETE NO ACTION ON UPDATE CASCADE;
--
-- Filtros para la tabla `asignacion`
--
ALTER TABLE `asignacion`
ADD CONSTRAINT `asignacion_ibfk_1` FOREIGN KEY (`id_periodo_fk`) REFERENCES `periodo` (`id_periodo`) ON DELETE NO ACTION ON UPDATE CASCADE,
ADD CONSTRAINT `fk_asignacion_grupos` FOREIGN KEY (`id_grupo_fk`) REFERENCES `grupos` (`id_grupo`) ON DELETE NO ACTION ON UPDATE CASCADE,
ADD CONSTRAINT `fk_asignacion_usuario` FOREIGN KEY (`id_usuarioprofesor_fk`) REFERENCES `profesor` (`usuario_id_fk`) ON DELETE NO ACTION ON UPDATE CASCADE;
--
-- Filtros para la tabla `asignaturas`
--
ALTER TABLE `asignaturas`
ADD CONSTRAINT `asignaturas_ibfk_1` FOREIGN KEY (`antecesor`) REFERENCES `asignaturas` (`id_asignatura`) ON DELETE NO ACTION ON UPDATE CASCADE,
ADD CONSTRAINT `asignaturas_ibfk_2` FOREIGN KEY (`sucesor`) REFERENCES `asignaturas` (`id_asignatura`) ON DELETE NO ACTION ON UPDATE CASCADE,
ADD CONSTRAINT `fk_asignaturas_plandeestudios` FOREIGN KEY (`id_plan_fk`) REFERENCES `plandeestudios` (`id_plan`) ON DELETE NO ACTION ON UPDATE CASCADE;
--
-- Filtros para la tabla `carrera`
--
ALTER TABLE `carrera`
ADD CONSTRAINT `carrera_ibfk_1` FOREIGN KEY (`id_area_fk`) REFERENCES `area` (`id_area`) ON DELETE NO ACTION ON UPDATE CASCADE;
--
-- Filtros para la tabla `departamentos`
--
ALTER TABLE `departamentos`
ADD CONSTRAINT `departamentos_ibfk_1` FOREIGN KEY (`id_plantel_fk`) REFERENCES `plantel` (`id_plantel`);
--
-- Filtros para la tabla `dosificacion`
--
ALTER TABLE `dosificacion`
ADD CONSTRAINT `dosificacion_ibfk_1` FOREIGN KEY (`id_periodo_fk`) REFERENCES `periodo` (`id_periodo`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `fk_dosificacion_usuario` FOREIGN KEY (`id_usuarioalumno_fk`) REFERENCES `alumno` (`usuario_id_fk`) ON DELETE NO ACTION ON UPDATE CASCADE;
--
-- Filtros para la tabla `edificio`
--
ALTER TABLE `edificio`
ADD CONSTRAINT `fk_edificio_plantel` FOREIGN KEY (`id_plantel_fk`) REFERENCES `plantel` (`id_plantel`) ON DELETE NO ACTION ON UPDATE CASCADE;
--
-- Filtros para la tabla `estudia`
--
ALTER TABLE `estudia`
ADD CONSTRAINT `estudia_ibfk_1` FOREIGN KEY (`id_usuarioalumno_fk`) REFERENCES `alumno` (`usuario_id_fk`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `estudia_ibfk_2` FOREIGN KEY (`id_plan_fk`) REFERENCES `plandeestudios` (`id_plan`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Filtros para la tabla `grupos`
--
ALTER TABLE `grupos`
ADD CONSTRAINT `fk_grupos_asignaturas` FOREIGN KEY (`id_asignatura_fk`) REFERENCES `asignaturas` (`id_asignatura`) ON DELETE NO ACTION ON UPDATE CASCADE;
--
-- Filtros para la tabla `horario`
--
ALTER TABLE `horario`
ADD CONSTRAINT `fk_horario_grupos` FOREIGN KEY (`id_grupo_fk`) REFERENCES `grupos` (`id_grupo`) ON DELETE NO ACTION ON UPDATE CASCADE,
ADD CONSTRAINT `fk_horario_salon` FOREIGN KEY (`id_salon_fk`) REFERENCES `salon` (`id_salon`) ON DELETE NO ACTION ON UPDATE CASCADE;
--
-- Filtros para la tabla `inscripcion`
--
ALTER TABLE `inscripcion`
ADD CONSTRAINT `fk_inscripcion_usuario` FOREIGN KEY (`id_usuarioalumno_fk`) REFERENCES `alumno` (`usuario_id_fk`) ON DELETE NO ACTION ON UPDATE CASCADE,
ADD CONSTRAINT `inscripcion_ibfk_1` FOREIGN KEY (`id_periodo_fk`) REFERENCES `periodo` (`id_periodo`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `inscripcion_ibfk_2` FOREIGN KEY (`id_claveplan_fk`) REFERENCES `plandeestudios` (`id_plan`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Filtros para la tabla `movimiento`
--
ALTER TABLE `movimiento`
ADD CONSTRAINT `id_asignacion` FOREIGN KEY (`id_asignacion_fk`) REFERENCES `asignacion` (`id_asignacion`) ON UPDATE CASCADE,
ADD CONSTRAINT `id_inscripcion` FOREIGN KEY (`id_inscripcion_fk`) REFERENCES `inscripcion` (`id_inscripcion`);
--
-- Filtros para la tabla `plandeestudios`
--
ALTER TABLE `plandeestudios`
ADD CONSTRAINT `fk_plandeestudios_carrera` FOREIGN KEY (`id_carrera_fk`) REFERENCES `carrera` (`id_carrera`) ON DELETE NO ACTION ON UPDATE CASCADE;
--
-- Filtros para la tabla `plantel`
--
ALTER TABLE `plantel`
ADD CONSTRAINT `fk_plantel_facultad` FOREIGN KEY (`id_facultad_fk`) REFERENCES `facultad` (`id_facultad`) ON DELETE NO ACTION ON UPDATE CASCADE;
--
-- Filtros para la tabla `plantel_carrera`
--
ALTER TABLE `plantel_carrera`
ADD CONSTRAINT `fk_plantel_carrera_plantel` FOREIGN KEY (`id_plantel_fk`) REFERENCES `plantel` (`id_plantel`) ON DELETE NO ACTION ON UPDATE CASCADE,
ADD CONSTRAINT `plantel_carrera_ibfk_1` FOREIGN KEY (`id_carrera_fk`) REFERENCES `carrera` (`id_carrera`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Filtros para la tabla `profesor`
--
ALTER TABLE `profesor`
ADD CONSTRAINT `fk_profesor_usuario` FOREIGN KEY (`usuario_id_fk`) REFERENCES `usuario` (`id_usuario`) ON DELETE NO ACTION ON UPDATE CASCADE;
--
-- Filtros para la tabla `profesor_departamento`
--
ALTER TABLE `profesor_departamento`
ADD CONSTRAINT `profesor_departamento_ibfk_1` FOREIGN KEY (`usuarioprofesor_id_fk`) REFERENCES `profesor` (`usuario_id_fk`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `profesor_departamento_ibfk_2` FOREIGN KEY (`departamento_id_fk`) REFERENCES `departamentos` (`id_departamento`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Filtros para la tabla `salon`
--
ALTER TABLE `salon`
ADD CONSTRAINT `fk_salon_edificio` FOREIGN KEY (`id_edificio_fk`) REFERENCES `edificio` (`id_edificio`) ON DELETE NO ACTION ON UPDATE CASCADE;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
/*
sp_SQL2000_finddupes.sql
https://bornsql.ca/s/script-duplicate-index-finder/
Copyright (c) BornSQL.ca
Written by <NAME>, released under the MIT License
Last updated: 19 June 2020
Run against a single database, this procedure will list ALL
duplicate indexes and the needed Transact-SQL to drop them!
This is written specifically for SQL Server 2000.
See: https://www.sqlskills.com/blogs/kimberly/removing-duplicate-indexes/
-- June 2020: Renamed files, fixed formatting, and improved comments.
-- September 2013: Moved to GitHub.
-- May 2013: Worked around RID / UNIQUIFIER not displaying correctly.
-- August 2012: Updated copyright bits, cleaned up formatting and
-- comments.
-- March 2012: Based on SQL Server 2000 sp_helpindex with revised
-- code for columns in index levels.
*/
USE master
GO
IF OBJECTPROPERTY(OBJECT_ID('sp_SQL2000_finddupes'), 'IsProcedure') = 1
DROP PROCEDURE sp_SQL2000_finddupes
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[sp_SQL2000_finddupes]
(@ObjName NVARCHAR(776) = NULL -- the table to check for duplicates
-- when NULL it will check ALL tables
)
AS
SET NOCOUNT ON
DECLARE @ObjID INT, -- the object id of the table
@DBName sysname,
@SchemaName sysname,
@TableName sysname,
@ExecStr NVARCHAR(4000)
-- Check to see that the object names are local to the current database.
SELECT @DBName = PARSENAME(@ObjName, 3)
IF @DBName IS NULL
SELECT @DBName = DB_NAME()
ELSE IF @DBName <> DB_NAME()
BEGIN
RAISERROR(15250, -1, -1)
-- select * from sys.messages where message_id = 15250
RETURN (1)
END
IF @DBName IN ( N'tempdb' )
BEGIN
RAISERROR('WARNING: This procedure cannot be run against tempdb. Skipping database.', 10, 0)
RETURN (1)
END
-- Check to see the the table exists and initialize @ObjID.
SELECT @SchemaName = PARSENAME(@ObjName, 2)
IF @SchemaName IS NULL
SELECT @SchemaName = 'dbo'
-- Check to see the the table exists and initialize @ObjID.
IF @ObjName IS NOT NULL
BEGIN
SELECT @ObjID = OBJECT_ID(@ObjName)
IF @ObjID IS NULL
BEGIN
RAISERROR(15009, -1, -1, @ObjName, @DBName)
-- select * from sys.messages where message_id = 15009
RETURN (1)
END
END
CREATE TABLE #DropIndexes
(
DatabaseName sysname,
SchemaName sysname,
TableName sysname,
IndexName sysname,
DropStatement NVARCHAR(2000)
)
-- Very hacky method to work around the VARCHAR(MAX) code in the
-- original script. This may need modification in the case of
-- very wide indexes and / or index names.
CREATE TABLE #FindDupes
(
index_id INT,
index_name sysname,
index_description VARCHAR(210),
index_keys NVARCHAR(1200),
columns_in_tree NVARCHAR(1200),
columns_in_leaf NVARCHAR(1200)
)
-- OPEN CURSOR OVER TABLE(S)
IF @ObjName IS NOT NULL
BEGIN
DECLARE TableCursor CURSOR LOCAL STATIC FOR
SELECT @SchemaName,
PARSENAME(@ObjName, 1)
END
ELSE
BEGIN
DECLARE TableCursor CURSOR LOCAL STATIC FOR
SELECT u.name,
t.name
FROM sysobjects t
INNER JOIN sysusers u
ON t.uid = u.uid
WHERE t.type = 'U' --AND name
ORDER BY u.name,
t.name
END
OPEN TableCursor
FETCH TableCursor
INTO @SchemaName,
@TableName
-- For each table, list the add the duplicate indexes and save
-- the info in a temporary table that we'll print out at the end.
WHILE @@FETCH_STATUS >= 0
BEGIN
TRUNCATE TABLE #FindDupes
SELECT @ExecStr
= N'EXEC sp_SQL2000_helpindex ''' + QUOTENAME(@SchemaName) + N'.' + QUOTENAME(@TableName) + N''''
--SELECT @ExecStr
INSERT #FindDupes
EXEC (@ExecStr)
--SELECT * FROM #FindDupes
INSERT #DropIndexes
SELECT DISTINCT
@DBName,
@SchemaName,
@TableName,
t1.index_name,
N'DROP INDEX ' + QUOTENAME(@SchemaName, N']') + N'.' + QUOTENAME(@TableName, N']') + N'.' + t1.index_name
FROM #FindDupes AS t1
JOIN #FindDupes AS t2
ON t1.columns_in_tree = t2.columns_in_tree
AND t1.columns_in_leaf = t2.columns_in_leaf
AND PATINDEX('%unique%', t1.index_description) = PATINDEX('%unique%', t2.index_description)
AND t1.index_id > t2.index_id
FETCH TableCursor
INTO @SchemaName,
@TableName
END
DEALLOCATE TableCursor
-- DISPLAY THE RESULTS
/* RAISERROR replaced with a SELECT */
IF
(
SELECT COUNT(*) FROM #DropIndexes
) = 0
-- RAISERROR('Database: %s has NO duplicate indexes.', 10, 0, @DBName)
SELECT 'Database ' + @DBName + ' has NO duplicate indexes.' AS [Results]
ELSE
SELECT *
FROM #DropIndexes
ORDER BY SchemaName,
TableName
RETURN (0) -- sp_SQL2000_finddupes
GO
EXEC sp_MS_marksystemobject 'dbo.sp_SQL2000_finddupes'
GO
|
<reponame>forki/doctoralsurvey
ALTER TABLE dbo.Surveys ADD Active BIT NOT NULL DEFAULT 0;
GO
INSERT INTO dbo.Surveys(Name, Active)
VALUES ('Hearing Leader', 1),
('Deaf Follower', 1); |
<gh_stars>0
CREATE TABLE `dnac` (
`seq_region_id` int(10) unsigned NOT NULL default '0',
`sequence` mediumblob NOT NULL,
`n_line` text collate latin1_bin,
PRIMARY KEY (`seq_region_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_bin MAX_ROWS=750000 AVG_ROW_LENGTH=19000;
|
/*
Navicat MySQL Data Transfer
Source Server : 本地
Source Server Version : 50553
Source Host : localhost:3306
Source Database : vegetable
Target Server Type : MYSQL
Target Server Version : 50553
File Encoding : 65001
Date: 2018-11-03 11:39:03
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for permission_admin
-- ----------------------------
DROP TABLE IF EXISTS `permission_admin`;
CREATE TABLE `permission_admin` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`uname` varchar(40) NOT NULL,
`pwd` varchar(50) NOT NULL,
`nikename` varchar(50) DEFAULT NULL,
`sid` varchar(32) NOT NULL,
`createtime` int(10) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `uname` (`uname`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COMMENT='管理员表';
-- ----------------------------
-- Records of permission_admin
-- ----------------------------
INSERT INTO `permission_admin` VALUES ('1', 'admin', '5423831c2ac685e3ec8951b3b63f75a4', '超级管理员', '26ce26cd90c7a16c0aa047de179afc52', '1510062870');
-- ----------------------------
-- Table structure for permission_admin_nav
-- ----------------------------
DROP TABLE IF EXISTS `permission_admin_nav`;
CREATE TABLE `permission_admin_nav` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '菜单表',
`pid` int(11) unsigned DEFAULT '0' COMMENT '所属菜单',
`name` varchar(15) DEFAULT '' COMMENT '菜单名称',
`mca` varchar(255) DEFAULT '' COMMENT '模块、控制器、方法',
`ico` varchar(20) DEFAULT '' COMMENT 'font-awesome图标',
`order_number` int(11) unsigned DEFAULT NULL COMMENT '排序',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='管理员导航表';
-- ----------------------------
-- Records of permission_admin_nav
-- ----------------------------
INSERT INTO `permission_admin_nav` VALUES ('1', '0', '管理权限表', 'Admin/Jurisdiction/config', '', null);
INSERT INTO `permission_admin_nav` VALUES ('2', '1', '角色管理', 'Admin/Jurisdiction/user_list', '', null);
INSERT INTO `permission_admin_nav` VALUES ('3', '1', '管理员管理', 'Admin/Jurisdiction/member_list', '', null);
-- ----------------------------
-- Table structure for permission_auth_group
-- ----------------------------
DROP TABLE IF EXISTS `permission_auth_group`;
CREATE TABLE `permission_auth_group` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`title` text NOT NULL,
`status` tinyint(1) NOT NULL DEFAULT '1',
`rules` char(80) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='管理员权限表';
-- ----------------------------
-- Records of permission_auth_group
-- ----------------------------
INSERT INTO `permission_auth_group` VALUES ('1', '超级管理员', '1', '1,2,4,6,7,8,10');
-- ----------------------------
-- Table structure for permission_auth_group_access
-- ----------------------------
DROP TABLE IF EXISTS `permission_auth_group_access`;
CREATE TABLE `permission_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=InnoDB DEFAULT CHARSET=utf8 COMMENT='管理员组表';
-- ----------------------------
-- Records of permission_auth_group_access
-- ----------------------------
INSERT INTO `permission_auth_group_access` VALUES ('1', '1');
-- ----------------------------
-- Table structure for permission_auth_rule
-- ----------------------------
DROP TABLE IF EXISTS `permission_auth_rule`;
CREATE TABLE `permission_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',
`ismenu` tinyint(1) DEFAULT NULL,
`pid` tinyint(1) DEFAULT NULL,
`status` tinyint(1) NOT NULL DEFAULT '1',
`condition` char(100) NOT NULL DEFAULT '',
`order_number` int(11) unsigned DEFAULT NULL COMMENT '排序',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=55 DEFAULT CHARSET=utf8 COMMENT='菜单表';
-- ----------------------------
-- Records of permission_auth_rule
-- ----------------------------
INSERT INTO `permission_auth_rule` VALUES ('1', 'Admin/Jurisdiction/index', '管理权限表', '1', '1', '0', '1', '', null);
INSERT INTO `permission_auth_rule` VALUES ('2', 'Admin/Jurisdiction/user_list', '角色管理', '1', '0', '1', '0', '', null);
INSERT INTO `permission_auth_rule` VALUES ('3', 'Admin/Jurisdiction/member_list', '管理员管理', '1', '1', '1', '1', '', null);
INSERT INTO `permission_auth_rule` VALUES ('4', 'Admin/Jurisdiction/user_edit', '角色编辑', '1', '0', '2', '1', '', null);
INSERT INTO `permission_auth_rule` VALUES ('5', 'Admin/Jurisdiction/editmember', '编辑管理员', '1', '0', '3', '1', '', null);
INSERT INTO `permission_auth_rule` VALUES ('6', 'Admin/Jurisdiction/adduser', '添加角色', '1', '0', '2', '1', '', null);
INSERT INTO `permission_auth_rule` VALUES ('7', 'Admin/Jurisdiction/user_status', '管理员状态', '1', '0', '2', '1', '', null);
INSERT INTO `permission_auth_rule` VALUES ('8', 'Admin/Jurisdiction/delete', '删除角色', '1', '0', '2', '1', '', null);
INSERT INTO `permission_auth_rule` VALUES ('9', 'Admin/Jurisdiction/delete_member', '删除管理员', '1', '0', '3', '1', '', null);
INSERT INTO `permission_auth_rule` VALUES ('10', 'Admin/Jurisdiction/addmember', '添加管理员', '1', '0', '2', '1', '', null);
INSERT INTO `permission_auth_rule` VALUES ('13', 'Admin/Menu/Index', '菜单管理', '1', '1', '0', '1', '', null);
INSERT INTO `permission_auth_rule` VALUES ('14', 'Admin/Menu/menulist', '栏目列表', '1', '1', '13', '1', '', null);
INSERT INTO `permission_auth_rule` VALUES ('27', 'Admin/Shop/', '商品管理', '1', '1', '0', '1', '', null);
INSERT INTO `permission_auth_rule` VALUES ('30', 'Admin/Shop/index', '商品列表', '1', '1', '27', '1', '', null);
INSERT INTO `permission_auth_rule` VALUES ('52', 'Admin/Subject/index', '科目分类', '1', '1', '50', '1', '', null);
INSERT INTO `permission_auth_rule` VALUES ('53', 'Admin/Program/', '系统设置', '1', '1', '0', '1', '', null);
INSERT INTO `permission_auth_rule` VALUES ('54', 'Admin/Program/index', '基本设置', '1', '1', '53', '1', '', null);
-- ----------------------------
-- Table structure for permission_program
-- ----------------------------
DROP TABLE IF EXISTS `permission_program`;
CREATE TABLE `permission_program` (
`id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '表ID',
`title` varchar(20) DEFAULT '' COMMENT '小程序名称',
`appid` varchar(255) DEFAULT NULL COMMENT '小程序APPID',
`secret` varchar(255) DEFAULT NULL COMMENT '小程序secret',
`mchid` varchar(255) DEFAULT NULL COMMENT '微信商户ID',
`key` varchar(255) DEFAULT NULL COMMENT '微信商户密钥',
`notify_url` varchar(255) DEFAULT NULL COMMENT '微信支付回调地址',
`logo` varchar(255) DEFAULT NULL COMMENT 'logo',
`background_color` varchar(255) DEFAULT NULL COMMENT '背景颜色',
`background_img` varchar(255) DEFAULT NULL COMMENT '背景图',
`updated_time` int(11) DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='系统配置表';
-- ----------------------------
-- Records of permission_program
-- ----------------------------
INSERT INTO `permission_program` VALUES ('1', '帅大妈', null, null, null, null, null, '\\/20181102\\eccfd805a44e70d614814f74792aff53.gif', '#000000', '', '1541172168');
-- ----------------------------
-- Table structure for permission_shop
-- ----------------------------
DROP TABLE IF EXISTS `permission_shop`;
CREATE TABLE `permission_shop` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL COMMENT '菜名',
`price` float(11,2) NOT NULL DEFAULT '0.00' COMMENT '专业年限',
`status` varchar(5) NOT NULL DEFAULT '01',
`created_time` int(11) NOT NULL,
`updated_time` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=53 DEFAULT CHARSET=utf8 COMMENT='专业表';
-- ----------------------------
-- Records of permission_shop
-- ----------------------------
INSERT INTO `permission_shop` VALUES ('2', '空心菜', '3.00', '01', '1538215283', '1539071528');
INSERT INTO `permission_shop` VALUES ('4', '空心菜', '4.00', '01', '1538216713', '1539071524');
INSERT INTO `permission_shop` VALUES ('5', '空心菜', '4.00', '01', '1538216723', '1539071524');
INSERT INTO `permission_shop` VALUES ('6', '空心菜', '4.00', '01', '1538894578', '1539071523');
INSERT INTO `permission_shop` VALUES ('7', '空心菜', '4.00', '01', '1538215283', '1538215283');
INSERT INTO `permission_shop` VALUES ('8', '空心菜', '4.00', '01', '1538215283', '1538215283');
INSERT INTO `permission_shop` VALUES ('9', '空心菜', '4.00', '01', '1538215283', '1538215283');
INSERT INTO `permission_shop` VALUES ('10', '空心菜', '4.00', '01', '1538215283', '1538215283');
INSERT INTO `permission_shop` VALUES ('18', '红萝卜', '1.20', '01', '1541125459', '1541133041');
INSERT INTO `permission_shop` VALUES ('19', '红萝卜', '3.20', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('20', '红萝卜', '3.20', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('21', '红萝卜', '3.20', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('22', '红萝卜', '3.20', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('23', '红萝卜', '3.20', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('17', '白菜', '3.20', '01', '1541124987', '1541125690');
INSERT INTO `permission_shop` VALUES ('24', '红萝卜', '3.20', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('25', '红萝卜', '3.20', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('26', '红萝卜', '3.20', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('27', '红萝卜', '3.20', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('28', '红萝卜', '3.20', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('29', '红萝卜', '3.20', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('30', '红萝卜', '3.20', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('31', '红萝卜', '3.20', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('32', '红萝卜', '3.20', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('33', '红萝卜', '3.20', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('34', '红萝卜', '3.20', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('35', '白菜', '2.00', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('36', '白菜', '2.00', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('37', '白菜', '2.00', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('38', '白菜', '2.00', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('39', '白菜', '2.00', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('40', '白菜', '2.00', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('41', '白菜', '2.00', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('42', '白菜', '2.00', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('43', '白菜', '2.00', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('44', '白菜', '2.00', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('45', '白菜', '2.00', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('46', '白菜', '2.00', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('47', '白菜', '2.00', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('48', '白菜', '2.00', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('49', '白菜', '2.00', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('50', '白菜', '2.00', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('51', '白菜', '2.00', '01', '1541124987', '1541124987');
INSERT INTO `permission_shop` VALUES ('52', '白菜', '2.00', '01', '1541124987', '1541124987');
|
<gh_stars>0
{{
config(
materialized='incremental',
unique_key='POLICYID',
schema= 'DIM'
)
}}
SELECT PLM.POLID AS POLICYID,
INP.UNITPSU AS BUSINESSUNIT,
INP.ACCTGYR AS ACCYEAR,
PLM.ENTST AS ENTRYSTATUS, PLM.INCPDT AS INCEPTIONDATE,
PLM.PMAMT AS PREMIUMAMOUNT,
PLM.PMCCY AS PREMIUMCURR,
PLM.POLTY AS POLICYTYPE,
PLM.USRPSU AS USERNAME,
PLM.UWR AS UNDERWRITER,
COALESCE(PLKF.ORIGPOLID,PLKT.ORIGPOLID,PLM.POLID) AS MASTERPOLICYID, -- New code here
NULL AS COVERPOLICYID ,
SPLIT(LISTAGG(DISTINCT PLY.CD,','),',') AS POLICYANALYSISCODE,
POLTY AS POLICYANALYSISTYPE,
{{surrogate_key('POLICYID', 'POLTY')}} AS POLICYIDSK
FROM "PC_FIVETRAN_DB"."SUBSCRIBE_DBO"."POLMAIN" PLM
LEFT JOIN "PC_FIVETRAN_DB"."SUBSCRIBE_DBO"."INPOL" INP
ON INP.POLID = PLM.POLID
LEFT JOIN "PC_FIVETRAN_DB"."SUBSCRIBE_DBO"."POLLNK" PLKF
ON PLKF.FRPOLID = PLM.POLID
LEFT JOIN "PC_FIVETRAN_DB"."SUBSCRIBE_DBO"."POLLNK" PLKT
ON PLKT.TOPOLID = PLM.POLID
LEFT JOIN "PC_FIVETRAN_DB"."SUBSCRIBE_DBO"."POLANLYCD" PLY
ON PLY.POLID = PLM.POLID
GROUP BY PLM.POLID, INP.UNITPSU, INP.ACCTGYR, PLM.ENTST, PLM.INCPDT, PLM.PMAMT, PLM.PMCCY, PLM.POLTY, PLM.USRPSU, PLM.UWR, PLKF.ORIGPOLID, PLKT.ORIGPOLID |
<gh_stars>0
select * from `parquet_storage/chars-formats.parquet`;
|
<filename>src/Frapid.Web/Areas/MixERP.Finance/db/PostgreSQL/2.x/2.0/src/01.types-domains-tables-and-constraints/05.views/3. finance.verified_cash_transaction_mat_view.sql
DROP MATERIALIZED VIEW IF EXISTS finance.verified_cash_transaction_mat_view;
CREATE MATERIALIZED VIEW finance.verified_cash_transaction_mat_view
AS
SELECT * FROM finance.verified_transaction_mat_view
WHERE finance.verified_transaction_mat_view.transaction_master_id
IN
(
SELECT finance.verified_transaction_mat_view.transaction_master_id
FROM finance.verified_transaction_mat_view
WHERE account_master_id IN(10101, 10102) --Cash and Bank A/C
);
ALTER MATERIALIZED VIEW finance.verified_cash_transaction_mat_view
OWNER TO frapid_db_user;
CREATE UNIQUE INDEX verified_cash_transaction_mat_view_transaction_detail_id_uix
ON finance.verified_cash_transaction_mat_view(transaction_detail_id); |
CREATE EXTENSION IF NOT EXISTS pgcrypto;
DO $$
BEGIN
IF NOT EXISTS (SELECT 1 FROM pg_type WHERE typname = 'resource_status') THEN
CREATE TYPE resource_status AS ENUM ('created', 'updated', 'deleted', 'recreated');
END IF;
END
$$;
CREATE TABLE IF NOT EXISTS transaction (
id serial primary key,
ts timestamptz DEFAULT current_timestamp,
resource jsonb);
CREATE TABLE IF NOT EXISTS "devicerequest" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'DeviceRequest',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "devicerequest_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'DeviceRequest',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "servicerequest" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ServiceRequest',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "servicerequest_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ServiceRequest',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "devicemetric" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'DeviceMetric',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "devicemetric_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'DeviceMetric',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "careplan" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'CarePlan',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "careplan_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'CarePlan',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "observation" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Observation',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "observation_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Observation',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "enrollmentrequest" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'EnrollmentRequest',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "enrollmentrequest_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'EnrollmentRequest',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "group" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Group',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "group_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Group',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "messagedefinition" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MessageDefinition',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "messagedefinition_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MessageDefinition',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "appointment" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Appointment',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "appointment_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Appointment',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "biologicallyderivedproduct" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'BiologicallyDerivedProduct',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "biologicallyderivedproduct_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'BiologicallyDerivedProduct',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "questionnaireresponse" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'QuestionnaireResponse',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "questionnaireresponse_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'QuestionnaireResponse',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "effectevidencesynthesis" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'EffectEvidenceSynthesis',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "effectevidencesynthesis_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'EffectEvidenceSynthesis',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "medicinalproductcontraindication" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicinalProductContraindication',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "medicinalproductcontraindication_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicinalProductContraindication',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "episodeofcare" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'EpisodeOfCare',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "episodeofcare_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'EpisodeOfCare',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "evidence" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Evidence',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "evidence_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Evidence',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "substancepolymer" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'SubstancePolymer',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "substancepolymer_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'SubstancePolymer',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "supplydelivery" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'SupplyDelivery',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "supplydelivery_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'SupplyDelivery',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "substancenucleicacid" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'SubstanceNucleicAcid',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "substancenucleicacid_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'SubstanceNucleicAcid',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "adverseevent" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'AdverseEvent',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "adverseevent_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'AdverseEvent',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "endpoint" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Endpoint',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "endpoint_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Endpoint',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "substancereferenceinformation" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'SubstanceReferenceInformation',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "substancereferenceinformation_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'SubstanceReferenceInformation',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "substancesourcematerial" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'SubstanceSourceMaterial',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "substancesourcematerial_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'SubstanceSourceMaterial',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "compartmentdefinition" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'CompartmentDefinition',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "compartmentdefinition_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'CompartmentDefinition',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "detectedissue" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'DetectedIssue',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "detectedissue_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'DetectedIssue',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "medicationadministration" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicationAdministration',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "medicationadministration_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicationAdministration',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "evidencevariable" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'EvidenceVariable',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "evidencevariable_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'EvidenceVariable',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "implementationguide" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ImplementationGuide',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "implementationguide_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ImplementationGuide',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "goal" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Goal',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "goal_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Goal',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "communication" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Communication',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "communication_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Communication',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "schedule" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Schedule',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "schedule_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Schedule',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "documentreference" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'DocumentReference',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "documentreference_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'DocumentReference',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "organizationaffiliation" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'OrganizationAffiliation',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "organizationaffiliation_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'OrganizationAffiliation',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "devicedefinition" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'DeviceDefinition',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "devicedefinition_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'DeviceDefinition',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "coverage" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Coverage',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "coverage_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Coverage',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "auditevent" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'AuditEvent',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "auditevent_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'AuditEvent',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "messageheader" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MessageHeader',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "messageheader_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MessageHeader',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "contract" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Contract',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "contract_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Contract',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "testreport" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'TestReport',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "testreport_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'TestReport',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "codesystem" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'CodeSystem',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "codesystem_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'CodeSystem',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "plandefinition" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'PlanDefinition',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "plandefinition_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'PlanDefinition',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "invoice" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Invoice',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "invoice_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Invoice',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "claimresponse" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ClaimResponse',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "claimresponse_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ClaimResponse',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "chargeitem" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ChargeItem',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "chargeitem_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ChargeItem',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "coverageeligibilityresponse" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'CoverageEligibilityResponse',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "coverageeligibilityresponse_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'CoverageEligibilityResponse',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "bodystructure" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'BodyStructure',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "bodystructure_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'BodyStructure',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "parameters" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Parameters',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "parameters_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Parameters',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "clinicalimpression" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ClinicalImpression',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "clinicalimpression_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ClinicalImpression',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "familymemberhistory" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'FamilyMemberHistory',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "familymemberhistory_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'FamilyMemberHistory',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "medicinalproductauthorization" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicinalProductAuthorization',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "medicinalproductauthorization_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicinalProductAuthorization',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "binary" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Binary',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "binary_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Binary',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "composition" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Composition',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "composition_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Composition',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "practitionerrole" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'PractitionerRole',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "practitionerrole_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'PractitionerRole',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "healthcareservice" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'HealthcareService',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "healthcareservice_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'HealthcareService',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "patient" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Patient',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "patient_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Patient',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "medicationdispense" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicationDispense',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "medicationdispense_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicationDispense',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "deviceusestatement" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'DeviceUseStatement',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "deviceusestatement_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'DeviceUseStatement',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "structuremap" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'StructureMap',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "structuremap_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'StructureMap',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "immunizationevaluation" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ImmunizationEvaluation',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "immunizationevaluation_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ImmunizationEvaluation',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "library" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Library',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "library_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Library',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "basic" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Basic',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "basic_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Basic',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "slot" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Slot',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "slot_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Slot',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "activitydefinition" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ActivityDefinition',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "activitydefinition_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ActivityDefinition',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "medicinalproductinteraction" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicinalProductInteraction',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "medicinalproductinteraction_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicinalProductInteraction',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "molecularsequence" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MolecularSequence',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "molecularsequence_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MolecularSequence',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "specimen" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Specimen',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "specimen_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Specimen',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "diagnosticreport" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'DiagnosticReport',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "diagnosticreport_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'DiagnosticReport',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "subscription" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Subscription',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "subscription_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Subscription',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "requestgroup" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'RequestGroup',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "requestgroup_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'RequestGroup',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "provenance" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Provenance',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "provenance_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Provenance',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "medicinalproduct" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicinalProduct',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "medicinalproduct_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicinalProduct',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "chargeitemdefinition" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ChargeItemDefinition',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "chargeitemdefinition_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ChargeItemDefinition',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "practitioner" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Practitioner',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "practitioner_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Practitioner',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "medicinalproductpackaged" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicinalProductPackaged',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "medicinalproductpackaged_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicinalProductPackaged',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "flag" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Flag',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "flag_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Flag',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "explanationofbenefit" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ExplanationOfBenefit',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "explanationofbenefit_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ExplanationOfBenefit',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "linkage" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Linkage',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "linkage_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Linkage',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "operationoutcome" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'OperationOutcome',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "operationoutcome_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'OperationOutcome',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "medicinalproductpharmaceutical" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicinalProductPharmaceutical',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "medicinalproductpharmaceutical_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicinalProductPharmaceutical',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "immunization" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Immunization',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "immunization_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Immunization',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "medicationknowledge" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicationKnowledge',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "medicationknowledge_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicationKnowledge',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "researchsubject" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ResearchSubject',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "researchsubject_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ResearchSubject',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "medicinalproductindication" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicinalProductIndication',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "medicinalproductindication_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicinalProductIndication',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "paymentnotice" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'PaymentNotice',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "paymentnotice_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'PaymentNotice',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "namingsystem" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'NamingSystem',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "namingsystem_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'NamingSystem',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "medicationstatement" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicationStatement',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "medicationstatement_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicationStatement',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "enrollmentresponse" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'EnrollmentResponse',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "enrollmentresponse_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'EnrollmentResponse',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "nutritionorder" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'NutritionOrder',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "nutritionorder_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'NutritionOrder',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "questionnaire" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Questionnaire',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "questionnaire_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Questionnaire',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "account" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Account',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "account_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Account',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "eventdefinition" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'EventDefinition',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "eventdefinition_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'EventDefinition',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "medicinalproductundesirableeffect" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicinalProductUndesirableEffect',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "medicinalproductundesirableeffect_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicinalProductUndesirableEffect',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "substancespecification" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'SubstanceSpecification',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "substancespecification_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'SubstanceSpecification',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "communicationrequest" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'CommunicationRequest',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "communicationrequest_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'CommunicationRequest',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "specimendefinition" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'SpecimenDefinition',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "specimendefinition_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'SpecimenDefinition',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "verificationresult" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'VerificationResult',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "verificationresult_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'VerificationResult',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "documentmanifest" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'DocumentManifest',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "documentmanifest_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'DocumentManifest',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "task" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Task',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "task_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Task',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "riskevidencesynthesis" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'RiskEvidenceSynthesis',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "riskevidencesynthesis_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'RiskEvidenceSynthesis',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "valueset" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ValueSet',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "valueset_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ValueSet',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "claim" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Claim',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "claim_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Claim',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "insuranceplan" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'InsurancePlan',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "insuranceplan_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'InsurancePlan',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "examplescenario" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ExampleScenario',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "examplescenario_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ExampleScenario',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "researchstudy" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ResearchStudy',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "researchstudy_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ResearchStudy',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "medicationrequest" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicationRequest',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "medicationrequest_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicationRequest',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "measure" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Measure',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "measure_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Measure',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "list" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'List',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "list_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'List',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "encounter" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Encounter',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "encounter_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Encounter',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "capabilitystatement" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'CapabilityStatement',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "capabilitystatement_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'CapabilityStatement',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "visionprescription" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'VisionPrescription',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "visionprescription_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'VisionPrescription',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "riskassessment" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'RiskAssessment',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "riskassessment_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'RiskAssessment',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "substanceprotein" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'SubstanceProtein',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "substanceprotein_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'SubstanceProtein',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "immunizationrecommendation" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ImmunizationRecommendation',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "immunizationrecommendation_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ImmunizationRecommendation',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "relatedperson" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'RelatedPerson',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "relatedperson_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'RelatedPerson',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "medication" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Medication',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "medication_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Medication',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "appointmentresponse" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'AppointmentResponse',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "appointmentresponse_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'AppointmentResponse',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "researchelementdefinition" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ResearchElementDefinition',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "researchelementdefinition_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ResearchElementDefinition',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "substance" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Substance',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "substance_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Substance',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "paymentreconciliation" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'PaymentReconciliation',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "paymentreconciliation_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'PaymentReconciliation',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "conceptmap" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ConceptMap',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "conceptmap_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ConceptMap',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "person" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Person',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "person_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Person',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "condition" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Condition',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "condition_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Condition',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "careteam" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'CareTeam',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "careteam_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'CareTeam',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "catalogentry" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'CatalogEntry',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "catalogentry_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'CatalogEntry',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "structuredefinition" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'StructureDefinition',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "structuredefinition_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'StructureDefinition',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "procedure" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Procedure',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "procedure_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Procedure',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "consent" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Consent',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "consent_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Consent',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "observationdefinition" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ObservationDefinition',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "observationdefinition_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ObservationDefinition',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "attribute" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Attribute',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "attribute_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Attribute',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "location" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Location',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "location_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Location',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "organization" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Organization',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "organization_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Organization',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "device" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Device',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "device_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Device',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "supplyrequest" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'SupplyRequest',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "supplyrequest_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'SupplyRequest',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "allergyintolerance" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'AllergyIntolerance',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "allergyintolerance_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'AllergyIntolerance',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "researchdefinition" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ResearchDefinition',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "researchdefinition_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ResearchDefinition',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "operationdefinition" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'OperationDefinition',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "operationdefinition_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'OperationDefinition',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "medicinalproductmanufactured" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicinalProductManufactured',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "medicinalproductmanufactured_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicinalProductManufactured',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "imagingstudy" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ImagingStudy',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "imagingstudy_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'ImagingStudy',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "coverageeligibilityrequest" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'CoverageEligibilityRequest',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "coverageeligibilityrequest_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'CoverageEligibilityRequest',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "medicinalproductingredient" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicinalProductIngredient',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "medicinalproductingredient_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MedicinalProductIngredient',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "guidanceresponse" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'GuidanceResponse',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "guidanceresponse_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'GuidanceResponse',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "media" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Media',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "media_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Media',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "measurereport" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MeasureReport',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "measurereport_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MeasureReport',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "graphdefinition" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'GraphDefinition',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "graphdefinition_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'GraphDefinition',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "terminologycapabilities" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'TerminologyCapabilities',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "terminologycapabilities_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'TerminologyCapabilities',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE TABLE IF NOT EXISTS "metadataresource" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MetadataResource',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "metadataresource_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'MetadataResource',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
CREATE OR REPLACE FUNCTION fhirbase_genid()
RETURNS text AS $$
select gen_random_uuid()::text
$$ LANGUAGE sql;
CREATE TYPE _resource AS (
id text,
txid bigint,
ts timestamptz,
resource_type text,
status resource_status,
resource jsonb
);
CREATE OR REPLACE FUNCTION _fhirbase_to_resource(x _resource)
RETURNS jsonb AS $$
select x.resource || jsonb_build_object(
'resourceType', x.resource_type,
'id', x.id,
'meta', coalesce(x.resource->'meta', '{}'::jsonb) || jsonb_build_object(
'lastUpdated', x.ts,
'versionId', x.txid::text
)
);
$$ LANGUAGE sql;
CREATE OR REPLACE FUNCTION fhirbase_create(resource jsonb, txid bigint)
RETURNS jsonb AS $FUNCTION$
DECLARE
_sql text;
rt text;
rid text;
result jsonb;
BEGIN
rt := resource->>'resourceType';
rid := coalesce(resource->>'id', fhirbase_genid());
_sql := format($SQL$
WITH archived AS (
INSERT INTO %s (id, txid, ts, status, resource)
SELECT id, txid, ts, status, resource
FROM %s
WHERE id = $2
RETURNING *
), inserted AS (
INSERT INTO %s (id, ts, txid, status, resource)
VALUES ($2, current_timestamp, $1, 'created', $3)
ON CONFLICT (id)
DO UPDATE SET
txid = $1,
ts = current_timestamp,
status = 'recreated',
resource = $3
RETURNING *
)
select _fhirbase_to_resource(i.*) from inserted i
$SQL$,
rt || '_history', rt, rt, rt);
EXECUTE _sql
USING txid, rid, jsonb_set(resource, '{id}', to_jsonb(rid::text), true)
INTO result;
return result;
END
$FUNCTION$ LANGUAGE plpgsql;
CREATE OR REPLACE FUNCTION fhirbase_create(resource jsonb)
RETURNS jsonb AS $FUNCTION$
SELECT fhirbase_create(resource, nextval('transaction_id_seq'));
$FUNCTION$ LANGUAGE sql;
CREATE OR REPLACE FUNCTION fhirbase_update(resource jsonb, txid bigint)
RETURNS jsonb AS $FUNCTION$
DECLARE
_sql text ;
rt text;
rid text;
result jsonb;
BEGIN
rt := resource->>'resourceType';
rid := resource->>'id';
CASE WHEN (rid IS NULL) THEN
RAISE EXCEPTION 'Resource does not have and id' USING HINT = 'Resource does not have and id';
ELSE
END CASE;
_sql := format($SQL$
WITH archived AS (
INSERT INTO %s (id, txid, ts, status, resource)
SELECT id, txid, ts, status, resource
FROM %s
WHERE id = $2
RETURNING *
), inserted AS (
INSERT INTO %s (id, ts, txid, status, resource)
VALUES ($2, current_timestamp, $1, 'created', $3)
ON CONFLICT (id)
DO UPDATE SET
txid = $1,
ts = current_timestamp,
status = 'updated',
resource = $3
RETURNING *
)
select _fhirbase_to_resource(i.*) from inserted i
$SQL$,
rt || '_history', rt, rt, rt);
EXECUTE _sql
USING txid, rid, (resource - 'id')
INTO result;
return result;
END
$FUNCTION$ LANGUAGE plpgsql;
CREATE OR REPLACE FUNCTION fhirbase_update(resource jsonb)
RETURNS jsonb AS $FUNCTION$
SELECT fhirbase_update(resource, nextval('transaction_id_seq'));
$FUNCTION$ LANGUAGE sql;
CREATE OR REPLACE FUNCTION fhirbase_read(resource_type text, id text)
RETURNS jsonb AS $FUNCTION$
DECLARE
_sql text;
result jsonb;
BEGIN
_sql := format($SQL$
SELECT _fhirbase_to_resource(row(r.*)::_resource) FROM %s r WHERE r.id = $1
$SQL$,
resource_type
);
EXECUTE _sql USING id INTO result;
return result;
END
$FUNCTION$ LANGUAGE plpgsql;
CREATE OR REPLACE FUNCTION fhirbase_delete(resource_type text, id text, txid bigint)
RETURNS jsonb AS $FUNCTION$
DECLARE
_sql text;
rt text;
rid text;
result jsonb;
BEGIN
rt := resource_type;
rid := id;
_sql := format($SQL$
WITH archived AS (
INSERT INTO %s (id, txid, ts, status, resource)
SELECT id, txid, ts, status, resource
FROM %s WHERE id = $2
RETURNING *
), deleted AS (
INSERT INTO %s (id, txid, ts, status, resource)
SELECT id, $1, current_timestamp, status, resource
FROM %s WHERE id = $2
RETURNING *
), dropped AS (
DELETE FROM %s WHERE id = $2 RETURNING *
)
select _fhirbase_to_resource(i.*) from archived i
$SQL$,
rt || '_history', rt, rt || '_history', rt, rt);
EXECUTE _sql
USING txid, rid
INTO result;
return result;
END
$FUNCTION$ LANGUAGE plpgsql;
CREATE OR REPLACE FUNCTION fhirbase_delete(resource_type text, id text)
RETURNS jsonb AS $FUNCTION$
SELECT fhirbase_delete(resource_type, id, nextval('transaction_id_seq'));
$FUNCTION$ LANGUAGE sql;
CREATE TABLE IF NOT EXISTS "concept" (
id text primary key,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Concept',
status resource_status not null,
resource jsonb not null
);
CREATE TABLE IF NOT EXISTS "concept_history" (
id text,
txid bigint not null,
ts timestamptz DEFAULT current_timestamp,
resource_type text default 'Concept',
status resource_status not null,
resource jsonb not null,
PRIMARY KEY (id, txid)
);
|
create table %{tablename} as select * from getvars() where variable!='execdb'; |
--
-- Licensed to the Apache Software Foundation (ASF) under one or more
-- contributor license agreements. See the NOTICE file distributed with
-- this work for additional information regarding copyright ownership.
-- The ASF licenses this file to You under the Apache License, Version 2.0
-- (the "License"); you may not use this file except in compliance with
-- the License. You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
--
CREATE DATABASE IF NOT EXISTS employees;
USE employees;
CREATE TABLE IF NOT EXISTS `sequence`
(
`id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
`name` VARCHAR(64) NOT NULL,
`value` BIGINT NOT NULL,
`step` INT NOT NULL DEFAULT 10000,
`created_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
`modified_at` TIMESTAMP NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `uk_name` (`name`)
) ENGINE = InnoDB
DEFAULT CHARSET = utf8;
|
------------更新语句
Use `oauth-center`;
alter table oauth_client_details add support_id_token tinyint(1) DEFAULT 1 COMMENT '是否支持id_token';
alter table oauth_client_details add id_token_validity int(11) DEFAULT 60 COMMENT 'id_token有效期';
Use `user-center`;
alter table `sys_user` MODIFY COLUMN `password` varchar(100) NOT NULL COMMENT '登录密码';
|
--
-- GEOMETRY
--
-- create needed tables
CREATE TABLE BOX_GEOM_TBL (f1 box);
INSERT INTO BOX_GEOM_TBL (f1) VALUES ('(2.0,2.0,0.0,0.0)');
INSERT INTO BOX_GEOM_TBL (f1) VALUES ('(1.0,1.0,3.0,3.0)');
INSERT INTO BOX_GEOM_TBL (f1) VALUES ('(2.5, 2.5, 2.5,3.5)');
INSERT INTO BOX_GEOM_TBL (f1) VALUES ('(3.0, 3.0,3.0,3.0)');
CREATE TABLE CIRCLE_GEOM_TBL (f1 circle);
INSERT INTO CIRCLE_GEOM_TBL VALUES ('<(5,1),3>');
INSERT INTO CIRCLE_GEOM_TBL VALUES ('<(1,2),100>');
INSERT INTO CIRCLE_GEOM_TBL VALUES ('1,3,5');
INSERT INTO CIRCLE_GEOM_TBL VALUES ('((1,2),3)');
INSERT INTO CIRCLE_GEOM_TBL VALUES ('<(100,200),10>');
INSERT INTO CIRCLE_GEOM_TBL VALUES ('<(100,1),115>');
CREATE TABLE LSEG_GEOM_TBL (s lseg);
INSERT INTO LSEG_GEOM_TBL VALUES ('[(1,2),(3,4)]');
INSERT INTO LSEG_GEOM_TBL VALUES ('(0,0),(6,6)');
INSERT INTO LSEG_GEOM_TBL VALUES ('10,-10 ,-3,-4');
INSERT INTO LSEG_GEOM_TBL VALUES ('[-1e6,2e2,3e5, -4e1]');
INSERT INTO LSEG_GEOM_TBL VALUES ('(11,22,33,44)');
CREATE TABLE PATH_GEOM_TBL (s serial, f1 path);
INSERT INTO PATH_GEOM_TBL(f1) VALUES ('[(1,2),(3,4)]');
INSERT INTO PATH_GEOM_TBL(f1) VALUES ('((1,2),(3,4))');
INSERT INTO PATH_GEOM_TBL(f1) VALUES ('[(0,0),(3,0),(4,5),(1,6)]');
INSERT INTO PATH_GEOM_TBL(f1) VALUES ('((1,2),(3,4))');
INSERT INTO PATH_GEOM_TBL(f1) VALUES ('1,2 ,3,4');
INSERT INTO PATH_GEOM_TBL(f1) VALUES ('[1,2,3, 4]');
INSERT INTO PATH_GEOM_TBL(f1) VALUES ('[11,12,13,14]');
INSERT INTO PATH_GEOM_TBL(f1) VALUES ('(11,12,13,14)');
CREATE TABLE POLYGON_GEOM_TBL(s serial, f1 polygon);
INSERT INTO POLYGON_GEOM_TBL(f1) VALUES ('(2.0,0.0),(2.0,4.0),(0.0,0.0)');
INSERT INTO POLYGON_GEOM_TBL(f1) VALUES ('(3.0,1.0),(3.0,3.0),(1.0,0.0)');
INSERT INTO POLYGON_GEOM_TBL(f1) VALUES ('(0.0,0.0)');
INSERT INTO POLYGON_GEOM_TBL(f1) VALUES ('(0.0,1.0),(0.0,1.0)');
CREATE TABLE POINT_GEOM_TBL(f1 point);
INSERT INTO POINT_GEOM_TBL(f1) VALUES ('(0.0,0.0)');
INSERT INTO POINT_GEOM_TBL(f1) VALUES ('(-10.0,0.0)');
INSERT INTO POINT_GEOM_TBL(f1) VALUES ('(-3.0,4.0)');
INSERT INTO POINT_GEOM_TBL(f1) VALUES ('(5.1, 34.5)');
INSERT INTO POINT_GEOM_TBL(f1) VALUES ('(-5.0,-12.0)');
INSERT INTO POINT_GEOM_TBL(f1) VALUES ('10.0,10.0');
-- Back off displayed precision a little bit to reduce platform-to-platform
-- variation in results.
SET extra_float_digits TO -3;
--
-- Points
--
SELECT '' AS four, center(f1) AS center
FROM BOX_GEOM_TBL;
SELECT '' AS four, (@@ f1) AS center
FROM BOX_GEOM_TBL;
SELECT '' AS six, point(f1) AS center
FROM CIRCLE_GEOM_TBL;
SELECT '' AS six, (@@ f1) AS center
FROM CIRCLE_GEOM_TBL;
SELECT '' AS two, (@@ f1) AS center
FROM POLYGON_GEOM_TBL
WHERE (# f1) > 2;
-- "is horizontal" function
SELECT '' AS two, p1.f1
FROM POINT_GEOM_TBL p1
WHERE ishorizontal(p1.f1, point '(0,0)');
-- "is horizontal" operator
SELECT '' AS two, p1.f1
FROM POINT_GEOM_TBL p1
WHERE p1.f1 ?- point '(0,0)';
-- "is vertical" function
SELECT '' AS one, p1.f1
FROM POINT_GEOM_TBL p1
WHERE isvertical(p1.f1, point '(5.1,34.5)');
-- "is vertical" operator
SELECT '' AS one, p1.f1
FROM POINT_GEOM_TBL p1
WHERE p1.f1 ?| point '(5.1,34.5)';
--
-- Line segments
--
-- intersection
SELECT '' AS count, p.f1, l.s, l.s # p.f1 AS intersection
FROM LSEG_GEOM_TBL l, POINT_GEOM_TBL p;
-- closest point
SELECT '' AS thirty, p.f1, l.s, p.f1 ## l.s AS closest
FROM LSEG_GEOM_TBL l, POINT_GEOM_TBL p;
--
-- Lines
--
--
-- Boxes
--
SELECT '' as six, box(f1) AS box FROM CIRCLE_GEOM_TBL;
-- translation
SELECT '' AS twentyfour, b.f1 + p.f1 AS translation
FROM BOX_GEOM_TBL b, POINT_GEOM_TBL p;
SELECT '' AS twentyfour, b.f1 - p.f1 AS translation
FROM BOX_GEOM_TBL b, POINT_GEOM_TBL p;
-- scaling and rotation
SELECT '' AS twentyfour, b.f1 * p.f1 AS rotation
FROM BOX_GEOM_TBL b, POINT_GEOM_TBL p;
SELECT '' AS twenty, b.f1 / p.f1 AS rotation
FROM BOX_GEOM_TBL b, POINT_GEOM_TBL p
WHERE (p.f1 <-> point '(0,0)') >= 1;
--
-- Paths
--
SELECT '' AS eight, npoints(f1) AS npoints, f1 AS path FROM PATH_GEOM_TBL;
SELECT '' AS four, path(f1) FROM POLYGON_GEOM_TBL;
-- translation
SELECT '' AS eight, p1.f1 + point '(10,10)' AS dist_add
FROM PATH_GEOM_TBL p1;
-- scaling and rotation
SELECT '' AS eight, p1.f1 * point '(2,-1)' AS dist_mul
FROM PATH_GEOM_TBL p1;
--
-- Polygons
--
-- containment
SELECT '' AS twentyfour, p.f1, poly.f1, poly.f1 @> p.f1 AS contains
FROM POLYGON_GEOM_TBL poly, POINT_GEOM_TBL p;
SELECT '' AS twentyfour, p.f1, poly.f1, p.f1 <@ poly.f1 AS contained
FROM POLYGON_GEOM_TBL poly, POINT_GEOM_TBL p;
SELECT '' AS four, npoints(f1) AS npoints, f1 AS polygon
FROM POLYGON_GEOM_TBL;
SELECT '' AS four, polygon(f1)
FROM BOX_GEOM_TBL;
SELECT '' AS four, polygon(f1)
FROM PATH_GEOM_TBL WHERE isclosed(f1);
SELECT '' AS four, f1 AS open_path, polygon( pclose(f1)) AS polygon
FROM PATH_GEOM_TBL
WHERE isopen(f1);
-- convert circles to polygons using the default number of points
SELECT '' AS six, polygon(f1)
FROM CIRCLE_GEOM_TBL;
-- convert the circle to an 8-point polygon
SELECT '' AS six, polygon(8, f1)
FROM CIRCLE_GEOM_TBL;
--
-- Circles
--
SELECT '' AS six, circle(f1, 50.0)
FROM POINT_GEOM_TBL;
SELECT '' AS four, circle(f1)
FROM BOX_GEOM_TBL;
SELECT '' AS two, circle(f1)
FROM POLYGON_GEOM_TBL
WHERE (# f1) >= 3;
SELECT '' AS twentyfour, c1.f1 AS circle, p1.f1 AS point, (p1.f1 <-> c1.f1) AS distance
FROM CIRCLE_GEOM_TBL c1, POINT_GEOM_TBL p1
WHERE (p1.f1 <-> c1.f1) > 0
ORDER BY distance, area(c1.f1), p1.f1[0];
-- Clean up GPDB-added tables
DROP TABLE box_geom_tbl;
DROP TABLE circle_geom_tbl;
DROP TABLE lseg_geom_tbl;
DROP TABLE path_geom_tbl;
DROP TABLE polygon_geom_tbl;
DROP TABLE point_geom_tbl;
|
<gh_stars>1-10
-- drop function if exists pacombiresult(text);
-- create function pacombiresult (myevent text) returns text as
-- $pacombi$
begin work;
drop view if exists pacombiresult;
drop view if exists pacombirsult;
create view pacombiresult as
with c1 as (
select event, category, stick_event_repo_id, summed_score,weight_sum, round(summed_score/weight_sum,1) as grade
from stick_grade_sum_cat join stick_event_repo using(stick_event_repo_id) join assessment_weight_sum
using(event,category) where category='1'
),
c2 as (
select event, category, stick_event_repo_id, summed_score,weight_sum, round(summed_score/weight_sum,1) as grade
from stick_grade_sum_cat join stick_event_repo using(stick_event_repo_id) join assessment_weight_sum
using(event,category) where category='2'
)
select snummer,achternaam,roepnaam,voorvoegsel, email1,event,
c1.summed_score as c1summed_score,c1.weight_sum as c1_weight_sum,
c2.summed_score as c2summed_score,c2.weight_sum as c2_weight_sum,
c1.grade as c1grade,
c2.grade as c2grade
from stick_event_repo join candidate_stick using(stick_event_repo_id)
join student using(snummer)
join c1 using(event,stick_event_repo_id)
join c2 using(event,stick_event_repo_id)
order by achternaam, roepnaam;
commit;
--select * from pacombiresult where event='JAVA220160406';
|
<reponame>obsidiansystems/wal2json
\set VERBOSITY terse
-- predictability
SET synchronous_commit = on;
DROP TABLE IF EXISTS xpto;
SELECT setseed(0);
CREATE TABLE xpto (
id serial primary key,
rand1 float8 DEFAULT random(),
bincol bytea
);
SELECT 'init' FROM pg_create_logical_replication_slot('regression_slot', 'wal2json');
INSERT INTO xpto (bincol) SELECT decode(string_agg(to_char(round(g.i * random()), 'FM0000'), ''), 'hex') FROM generate_series(500, 5000) g(i);
UPDATE xpto SET rand1 = 123.456 WHERE id = 1;
DELETE FROM xpto WHERE id = 1;
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'pretty-print', '1', 'include-typmod', '0', 'include-unchanged-toast', '0');
SELECT 'stop' FROM pg_drop_replication_slot('regression_slot');
|
<filename>openGaussBase/testcase/SQL/DML/upsert/Opengauss_Function_DML_Upsert_Case0060.sql<gh_stars>0
-- @testpoint:使用insert...nothing语句,插入两条相同数据,主键列和其他列数据不存在,新增一条数据成功
--预置条件enable_upsert_to_merge为off
drop table if exists products_c4;
--建表,指定一列是主键
CREATE TABLE products_c4 (
product_no integer PRIMARY KEY,
name text,
price numeric
);
--常规插入一条数据
insert into products_c4 values(10,'grains',5.5);
select * from products_c4;
--使用insert...nothing语句,插入两条数据,新增一条数据(21,'veggies1',8.5)
insert into products_c4 values(21,'veggies1',8.5),(21,'veggies2',8.5) on DUPLICATE key update nothing;
select * from products_c4;
drop table products_c4; |
<filename>src/XarismaBundle/sql_scripts/load_import_data.sql
-- This script will load test records into the 'import' table
use xarisma;
delete from `import` where true;
INSERT INTO `import`
(`importTime`, `filename`, `md5`, `status`, `recs`, `errors`, `customerNew`,
`customerUpdate`, `orderNew`, `orderUpdate`, `deleted`)
VALUES
(now(), 'test1.csv', null, 'import success', 100, 0, 50, 50, 50, 50, 0);
INSERT INTO `import`
(`importTime`, `filename`, `md5`, `status`, `recs`, `errors`, `customerNew`,
`customerUpdate`, `orderNew`, `orderUpdate`, `deleted`)
VALUES
(now(), 'test2.csv', null, 'import success', 20, 0, 5, 15, 5, 15, 0); |
<reponame>adefsing/praktikum4
-- --------------------------------------------------------
-- Host: 127.0.0.1
-- Server version: 10.1.30-MariaDB - mariadb.org binary distribution
-- Server OS: Win32
-- HeidiSQL Version: 9.5.0.5196
-- --------------------------------------------------------
/*!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 database structure for kontak
CREATE DATABASE IF NOT EXISTS `kontak` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `kontak`;
-- Dumping structure for table kontak.telepon
CREATE TABLE IF NOT EXISTS `telepon` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`nama` varchar(50) NOT NULL,
`nomor` varchar(13) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
-- Dumping data for table kontak.telepon: ~3 rows (approximately)
/*!40000 ALTER TABLE `telepon` DISABLE KEYS */;
INSERT INTO `telepon` (`id`, `nama`, `nomor`) VALUES
(1, 'Orion', '08576666762'),
(2, 'Mars', '08576666770'),
(7, 'Alpha', '08576666765');
/*!40000 ALTER TABLE `telepon` 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 */;
|
DROP TABLE IF EXISTS Message;
DROP TABLE IF EXISTS ChatbotAnswer;
DROP TABLE IF EXISTS Chatbot;
DROP TABLE IF EXISTS JobApplication;
DROP TABLE IF EXISTS JobSeekerCertificate;
DROP TABLE IF EXISTS JobSeekerHonor;
DROP TABLE IF EXISTS JobSeekerCategory;
DROP TABLE IF EXISTS JobSeekerSkill;
DROP TABLE IF EXISTS JobSeekerEducation;
DROP TABLE IF EXISTS Institute;
DROP TABLE IF EXISTS Skill;
DROP TABLE IF EXISTS JobListCategory;
DROP TABLE IF EXISTS JobList;
DROP TABLE IF EXISTS Employment;
DROP TABLE IF EXISTS JobSeeker;
DROP TABLE IF EXISTS Employer;
DROP TABLE IF EXISTS UserParagon;
DROP TABLE IF EXISTS Company;
DROP TABLE IF EXISTS JobCategory;
CREATE TABLE UserParagon (
userID BIGINT NOT NULL,
phone VARCHAR NOT NULL,
email VARCHAR NOT NULL,
profile_picture_url VARCHAR,
first_name VARCHAR NOT NULL,
last_name VARCHAR NOT NULL,
street_adress VARCHAR,
city VARCHAR,
state_pronvince VARCHAR,
country VARCHAR,
zipcode VARCHAR,
PRIMARY KEY (userID)
);
CREATE TABLE Message (
messageID BIGINT NOT NULL,
from_userID BIGINT NOT NULL REFERENCES UserParagon (userID),
to_userID BIGINT NOT NULL REFERENCES UserParagon (userID),
reply_messageID BIGINT NOT NULL,
message VARCHAR NOT NULL,
create_date DATE NOT NULL,
PRIMARY KEY (messageID)
);
CREATE TABLE JobSeeker (
userID BIGINT NOT NULL REFERENCES UserParagon (userID),
summary VARCHAR NOT NULL,
is_relation_ok BOOL NOT NULL,
experience VARCHAR NOT NULL,
premium_level INT NOT NULL,
PRIMARY KEY (userID)
);
CREATE TABLE Institute (
instituteID BIGINT NOT NULL,
name VARCHAR NOT NULL,
PRIMARY KEY (instituteID)
);
CREATE TABLE JobSeekerEducation (
userID BIGINT NOT NULL REFERENCES UserParagon (userID),
instituteID BIGINT NOT NULL REFERENCES Institute (instituteID),
start_date DATE NOT NULL,
end_date DATE NOT NULL,
degree_name VARCHAR NOT NULL,
PRIMARY KEY (userID, instituteID)
);
CREATE TABLE Skill (
skillID BIGINT NOT NULL,
skill_name VARCHAR NOT NULL,
PRIMARY KEY (skillID)
);
CREATE TABLE JobSeekerSkill (
userID BIGINT NOT NULL REFERENCES JobSeeker (userID),
skillID BIGINT NOT NULL REFERENCES Skill (skillID),
PRIMARY KEY (userID, skillID)
);
CREATE TABLE JobCategory (
categoryID BIGINT NOT NULL,
category_name VARCHAR NOT NULL,
PRIMARY KEY (categoryID)
);
CREATE TABLE JobSeekerCategory (
userID BIGINT NOT NULL REFERENCES JobSeeker (userID),
categoryID BIGINT NOT NULL REFERENCES JobCategory (categoryID),
PRIMARY KEY (userID, categoryID)
);
CREATE TABLE JobSeekerHonor (
userID BIGINT NOT NULL REFERENCES JobSeeker (userID),
honor_name VARCHAR NOT NULL,
PRIMARY KEY (userID, honor_name)
);
CREATE TABLE JobSeekerCertificate (
userID BIGINT NOT NULL REFERENCES JobSeeker (userID),
certificate_name VARCHAR NOT NULL,
PRIMARY KEY (userID, certificate_name)
);
CREATE TABLE Employer (
userID BIGINT NOT NULL REFERENCES UserParagon (userID),
employer_position VARCHAR NOT NULL,
PRIMARY KEY (userID)
);
CREATE TABLE JobList (
jobID BIGINT NOT NULL,
userID BIGINT NOT NULL REFERENCES Employer (userID),
title VARCHAR NOT NULL,
salary VARCHAR NOT NULL,
post_date date NOT NULL,
responsibility VARCHAR NOT NULL,
time_demand VARCHAR NOT NULL,
PRIMARY KEY (jobID)
);
CREATE TABLE JobListCategory (
jobID BIGINT NOT NULL REFERENCES JobList (jobID),
categoryID BIGINT NOT NULL REFERENCES JobCategory (categoryID),
PRIMARY KEY (jobID, categoryID)
);
CREATE TABLE Chatbot (
questionID BIGINT NOT NULL,
userID BIGINT NOT NULL REFERENCES UserParagon (userID),
question VARCHAR NOT NULL,
PRIMARY KEY (questionID)
);
CREATE TABLE Company (
companyID BIGINT NOT NULL,
company_name VARCHAR,
social_media_handle VARCHAR,
company_summary VARCHAR,
company_logo VARCHAR,
company_size VARCHAR,
company_website VARCHAR,
PRIMARY KEY (companyID)
);
CREATE TABLE JobApplication (
applicationID BIGINT NOT NULL,
job_seekerID BIGINT NOT NULL REFERENCES JobSeeker (userID),
jobID BIGINT NOT NULL REFERENCES JobList (jobID),
apply_date date NOT NULL,
PRIMARY KEY (applicationID)
);
CREATE TABLE ChatbotAnswer (
applicationID BIGINT NOT NULL REFERENCES JobApplication (applicationID),
questionID BIGINT NOT NULL REFERENCES Chatbot (questionID),
answer VARCHAR NOT NULL,
PRIMARY KEY (applicationID, questionID)
);
CREATE TABLE Employment (
companyID BIGINT NOT NULL REFERENCES Company (companyID),
userID BIGINT NOT NULL REFERENCES UserParagon (userID),
PRIMARY KEY (companyID, userID)
);
|
SELECT divide('{3,4}'::integer[], '{1,2}'::integer[]);
--Div by 0
SELECT divide('{3,4}'::integer[], '{0,0}'::integer[]);
--Single value
SELECT '{{6,9},{3,4}}'::integer[] / 3;
SELECT divide('{3,4}'::integer[], 0);
|
SELECT 1.2*MAX(revenue) FROM Monthly_Return WHERE date>=(DATE('{{ ds }}') - INTERVAL '1 month');
|
-- shared.test
--
-- execsql {
-- INSERT INTO abc2 VALUES(4, 5, 6);
-- INSERT INTO abc2 VALUES(7, 8, 9);
-- }
INSERT INTO abc2 VALUES(4, 5, 6);
INSERT INTO abc2 VALUES(7, 8, 9); |
-- file:numerology.sql ln:85 expect:true
SELECT f1 AS two,
max(f2) + min(f2) AS max_plus_min,
min(f3) - 1 AS min_minus_1
FROM TEMP_GROUP
GROUP BY f1
ORDER BY two, min_minus_1
|
<reponame>dram/metasfresh<filename>backend/de.metas.swat/de.metas.swat.base/src/main/sql/postgresql/system/40-sw01_swat/5423830_sys_09260_AddLinksToAllocLineInBSL_BSLRef.sql
-- 27.08.2015 11:48:16
-- URL zum Konzept
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AllowZoomTo,ColumnName,ColumnSQL,Created,CreatedBy,DDL_NoForeignKey,Description,EntityType,FieldLength,Help,IsActive,IsAdvancedText,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsCalculated,IsDimension,IsEncrypted,IsGenericZoomKeyColumn,IsGenericZoomOrigin,IsIdentifier,IsKey,IsLazyLoading,IsMandatory,IsParent,IsSelectionColumn,IsStaleable,IsSyncDatabase,IsTranslated,IsUpdateable,IsUseDocSequence,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,552693,2534,0,19,393,'N','C_AllocationLine_ID','(select al.C_AllocationLine_ID from C_AllocationLine al inner join C_Payment p on (p.C_Payment_ID=al.C_Payment_ID) where C_BankStatementLine.C_Payment_ID=p.C_Payment_ID) ',TO_TIMESTAMP('2015-08-27 11:48:15','YYYY-MM-DD HH24:MI:SS'),100,'N','Zuordnungs-Position','D',10,'Allocation of Cash/Payment to Invoice','Y','N','Y','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','N','N','N','Zuordnungs-Position',0,TO_TIMESTAMP('2015-08-27 11:48:15','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 27.08.2015 11:48:16
-- URL zum Konzept
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=552693 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
;
-- 27.08.2015 11:48:42
-- URL zum Konzept
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AllowZoomTo,ColumnName,ColumnSQL,Created,CreatedBy,DDL_NoForeignKey,Description,EntityType,FieldLength,Help,IsActive,IsAdvancedText,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsCalculated,IsDimension,IsEncrypted,IsGenericZoomKeyColumn,IsGenericZoomOrigin,IsIdentifier,IsKey,IsLazyLoading,IsMandatory,IsParent,IsSelectionColumn,IsStaleable,IsSyncDatabase,IsTranslated,IsUpdateable,IsUseDocSequence,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,552694,2534,0,19,53065,'N','C_AllocationLine_ID',' (select al.C_AllocationLine_ID from C_AllocationLine al inner join C_Payment p on (p.C_Payment_ID=al.C_Payment_ID) where C_BankStatementLine_Ref.C_Payment_ID=p.C_Payment_ID) ',TO_TIMESTAMP('2015-08-27 11:48:42','YYYY-MM-DD HH24:MI:SS'),100,'N','Zuordnungs-Position','de.metas.banking',10,'Allocation of Cash/Payment to Invoice','Y','N','Y','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','N','N','N','Zuordnungs-Position',0,TO_TIMESTAMP('2015-08-27 11:48:42','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 27.08.2015 11:48:42
-- URL zum Konzept
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=552694 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
;
-- 27.08.2015 11:49:25
-- URL zum Konzept
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,ColumnDisplayLength,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IncludedTabHeight,IsActive,IsCentrallyMaintained,IsDisplayed,IsDisplayedGrid,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SeqNoGrid,SortNo,Updated,UpdatedBy) VALUES (0,552693,556276,0,329,0,TO_TIMESTAMP('2015-08-27 11:49:25','YYYY-MM-DD HH24:MI:SS'),100,'Zuordnungs-Position',0,'de.metas.swat','Allocation of Cash/Payment to Invoice',0,'Y','Y','Y','Y','N','N','N','N','N','Zuordnungs-Position',330,330,0,TO_TIMESTAMP('2015-08-27 11:49:25','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 27.08.2015 11:49:25
-- URL zum Konzept
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=556276 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
;
-- 27.08.2015 11:49:57
-- URL zum Konzept
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,ColumnDisplayLength,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IncludedTabHeight,IsActive,IsCentrallyMaintained,IsDisplayed,IsDisplayedGrid,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SeqNoGrid,SortNo,Updated,UpdatedBy) VALUES (0,552694,556277,0,53074,0,TO_TIMESTAMP('2015-08-27 11:49:57','YYYY-MM-DD HH24:MI:SS'),100,'Zuordnungs-Position',0,'de.metas.swat','Allocation of Cash/Payment to Invoice',0,'Y','Y','Y','Y','N','N','N','N','N','Zuordnungs-Position',160,160,0,TO_TIMESTAMP('2015-08-27 11:49:57','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 27.08.2015 11:49:57
-- URL zum Konzept
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=556277 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
;
|
CREATE VIEW [Metadata].vTabularFileMatrix as
select
m.SemanticFileTypeCode,
s.Name as SemanticFileTypeName,
m.FileFormatTypeCode,
f.Name as FileFormatTypeName,
[m].[DataMatrixIdentifier],
[m].[DataMatrixName],
[c].[ColumnPosition],
[c].[ColumnIdentifier],
[c].[SourceColumnName],
[c].[TargetColumnName],
[c].[DataTypeSchema],
[c].[DataTypeName],
[c].[IsNullable],
[c].[MaxLength],
[c].[Precision],
[c].[Scale],
[c].[ColumnDescription]
from
[Metadata].TabularFileMatrix m
inner join
[Metadata].TabularFileColumn c
on
c.SemanticFileTypeCode = m.SemanticFileTypeCode and
c.FileFormatTypeCode = m.FileFormatTypeCode and
c.DataMatrixIdentifier = m.DataMatrixIdentifier
inner join
[Metadata].SemanticFileType s on s.TypeCode = c.SemanticFileTypeCode
inner join
[Metadata].FileFormatType f on f.TypeCode = c.FileFormatTypeCode
|
INSERT INTO coach
VALUES (1, '<NAME>', 'Младший тренер', '89747827752');
INSERT INTO coach
VALUES (2, '<NAME>', 'Старший тренер', '89687427124');
INSERT INTO coach
VALUES (3, '<NAME>', 'Старший тренер', '89902017277');
INSERT INTO coach
VALUES (4, '<NAME>', 'Инструктор', '89083550157');
INSERT INTO coach
VALUES (5, '<NAME>', 'Тренер', '89035598764');
INSERT INTO coach
VALUES (6, '<NAME>', 'Инструктор', '89174695926');
INSERT INTO coach
VALUES (7, '<NAME>', 'Ассистент', '89755931360');
INSERT INTO coach
VALUES (8, '<NAME>', 'Инструктор', '89456582958');
INSERT INTO coach
VALUES (9, '<NAME>', 'Инструктор', '89574518484');
INSERT INTO coach
VALUES (10, '<NAME>', 'Ассистент', '89563494881');
INSERT INTO coach
VALUES (11, '<NAME>', 'Стажер', '89342595681');
INSERT INTO coach
VALUES (12, '<NAME>', 'Тренер', '89864248532');
INSERT INTO coach
VALUES (13, '<NAME>', 'Старший тренер', '89264262186');
INSERT INTO coach
VALUES (14, '<NAME>', 'Ассистент', '89154769735');
INSERT INTO coach
VALUES (15, '<NAME>', 'Старший тренер', '89833284794');
INSERT INTO coach
VALUES (16, '<NAME>', 'Младший тренер', '89676287611');
INSERT INTO coach
VALUES (17, '<NAME>', 'Старший тренер', '89723902242');
INSERT INTO coach
VALUES (18, '<NAME>', 'Тренер', '89667371390');
INSERT INTO coach
VALUES (19, '<NAME>', 'Стажер', '89164973646');
INSERT INTO coach
VALUES (20, '<NAME>', 'Инструктор', '89599630421'); |
startcode ConvertOutboxToNonClustered
declare @table nvarchar(max) = @tablePrefix + 'OutboxData';
declare @index nvarchar(max)
declare @dropSql nvarchar(max)
declare @createSql nvarchar(max)
select @index = si.name
from sys.tables st
join sys.indexes si on st.object_id = si.object_id
where st.name = @table
and si.is_primary_key = 1
select @dropSql = 'alter table ' + @table + ' drop constraint ' + @index
exec sp_executeSQL @dropSql;
select @createSql = 'alter table ' + @table + ' add constraint ' + @index + ' primary key nonclustered (MessageId)'
exec sp_executeSQL @createSql;
endcode
|
SELECT * FROM LOCALES
ORDER BY INSERT_DATETIME %s;
|
<gh_stars>100-1000
-- Automatically generated, do not edit.
\set ON_ERROR_STOP 1
SET search_path = 'event_art_archive', musicbrainz, public;
BEGIN;
CREATE TRIGGER "reptg_art_type"
AFTER INSERT OR DELETE OR UPDATE ON "art_type"
FOR EACH ROW EXECUTE PROCEDURE "recordchange" ('verbose');
CREATE TRIGGER "reptg_event_art"
AFTER INSERT OR DELETE OR UPDATE ON "event_art"
FOR EACH ROW EXECUTE PROCEDURE "recordchange" ('verbose');
CREATE TRIGGER "reptg_event_art_type"
AFTER INSERT OR DELETE OR UPDATE ON "event_art_type"
FOR EACH ROW EXECUTE PROCEDURE "recordchange" ('verbose');
COMMIT;
|
CREATE TABLE `audit` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`time` datetime NOT NULL,
`steamid` varchar(25) NOT NULL,
`action` int(10) unsigned NOT NULL,
`targetid` varchar(25) DEFAULT NULL,
`data` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
<reponame>allensarmiento/teaching-suite-react
BEGIN TRANSACTION;
CREATE TABLE users (
id serial PRIMARY KEY,
email text UNIQUE NOT NULL,
password varchar(255) NOT NULL,
role varchar(255),
created TIMESTAMP NOT NULL
);
INSERT INTO users (email, password, role, created)
VALUES (
'<EMAIL>',
'<PASSWORD>.<PASSWORD>',
'teacher',
'2021-07-04T08:50:26.000Z'
);
INSERT INTO users (email, password, role, created)
VALUES (
'<EMAIL>',
'<PASSWORD>.966<PASSWORD>79532<PASSWORD>',
'student',
'2021-07-04T08:50:26.000Z'
);
COMMIT;
|
<reponame>MagnusLinell/shooting-result-component-joomla
CREATE TABLE IF NOT EXISTS `#__result_black_powder` (
ID INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY,
COMPETITION_ID INT(6) UNSIGNED NOT NULL,
PARTICIPANT_ID INT(6) UNSIGNED NOT NULL,
SERIE_NUMBER INT(2),
POINTS1 INT(2),
POINTS2 INT(2),
POINTS3 INT(2),
POINTS4 INT(2),
POINTS5 INT(2),
POINTS6 INT(2),
POINTS7 INT(2),
POINTS8 INT(2),
POINTS9 INT(2),
POINTS10 INT(2),
POINTS11 INT(2),
POINTS12 INT(2),
POINTS13 INT(2),
REMOVED1 INT(2),
REMOVED2 INT(2),
REMOVED3 INT(2)
)
ENGINE =MyISAM
AUTO_INCREMENT =0
DEFAULT CHARSET =utf8;
CREATE TABLE IF NOT EXISTS `#__result_precision` (
ID INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY,
COMPETITION_ID INT(6) UNSIGNED NOT NULL,
PARTICIPANT_ID INT(6) UNSIGNED NOT NULL,
SERIE_NUMBER INT(2),
POINTS1 INT(2),
POINTS2 INT(2),
POINTS3 INT(2),
POINTS4 INT(2),
POINTS5 INT(2)
)
ENGINE =MyISAM
AUTO_INCREMENT =0
DEFAULT CHARSET =utf8;
CREATE TABLE IF NOT EXISTS `#__result_field` (
ID INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY,
COMPETITION_ID INT(6) UNSIGNED NOT NULL,
PARTICIPANT_ID INT(6) UNSIGNED NOT NULL,
STATION_NUMBER INT(2),
HITS INT(2),
TARGETS INT(2),
POINTS INT(2)
)
ENGINE =MyISAM
AUTO_INCREMENT =0
DEFAULT CHARSET =utf8;
CREATE TABLE IF NOT EXISTS `#__result_ppc` (
ID INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY,
COMPETITION_ID INT(6) UNSIGNED NOT NULL,
PARTICIPANT_ID INT(6) UNSIGNED NOT NULL,
MATCH_NUMBER INT(2),
X INT(2),
TEN INT(2),
NINE INT(2),
EIGHT INT(2),
SEVEN INT(2),
ZERO INT(2),
MISS INT(2)
)
ENGINE =MyISAM
AUTO_INCREMENT =0
DEFAULT CHARSET =utf8;
|
<reponame>bradybyrd/hr_demo<filename>hrm_demo/3.11.2/db_request/Oracle/ADVTA00324_DDL_add_rmsg_o.sql
--USE AH3111ODZ
CREATE TABLE ZZR_MSG (
MSG_CD varchar2(5) NOT NULL,
MSG_TXT varchar2(254) NOT NULL,
MSG_SEV number NOT NULL,
MSG_EXPL varchar2(1000) NULL,
OV_LVL number NULL,
AMS_ROW_VERS_NO bigint NULL,
MSG_TXT_UP varchar2(254) NULL,
TBL_LAST_DT timestamp NULL
);
|
-- phpMyAdmin SQL Dump
-- version 4.6.6
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Dec 18, 2018 at 09:07 AM
-- Server version: 5.7.16-log
-- PHP Version: 7.0.9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `attendancetracking`
--
-- --------------------------------------------------------
--
-- Table structure for table `courseinfo`
--
CREATE TABLE `courseinfo` (
`courseID` int(8) NOT NULL,
`employeeID` int(8) NOT NULL,
`courseName` varchar(64) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `encforgottenpassword`
--
CREATE TABLE `encforgottenpassword` (
`encryption` varchar(128) NOT NULL,
`username` varchar(45) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `encuserconfirm`
--
CREATE TABLE `encuserconfirm` (
`encryption` varchar(128) NOT NULL,
`username` varchar(45) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `enrollment`
--
CREATE TABLE `enrollment` (
`courseID` int(11) NOT NULL,
`studentID` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `studentinfo`
--
CREATE TABLE `studentinfo` (
`studentID` int(8) NOT NULL,
`studentFirstName` varchar(50) NOT NULL,
`studentLastName` varchar(62) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `userinfo`
--
CREATE TABLE `userinfo` (
`employeeId` int(8) NOT NULL,
`username` varchar(45) NOT NULL,
`firstName` varchar(50) NOT NULL,
`lastName` varchar(50) NOT NULL,
`password` varchar(128) NOT NULL,
`confirmation` int(1) NOT NULL,
`email` varchar(62) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `courseinfo`
--
ALTER TABLE `courseinfo`
ADD PRIMARY KEY (`courseID`),
ADD KEY `courseID` (`courseID`);
--
-- Indexes for table `enrollment`
--
ALTER TABLE `enrollment`
ADD KEY `courseID` (`courseID`),
ADD KEY `studentID` (`studentID`),
ADD KEY `courseID_2` (`courseID`,`studentID`);
--
-- Indexes for table `studentinfo`
--
ALTER TABLE `studentinfo`
ADD PRIMARY KEY (`studentID`),
ADD KEY `studentID` (`studentID`);
--
-- Indexes for table `userinfo`
--
ALTER TABLE `userinfo`
ADD PRIMARY KEY (`employeeId`);
--
-- Constraints for dumped tables
--
--
-- Constraints for table `enrollment`
--
ALTER TABLE `enrollment`
ADD CONSTRAINT `enrollment_ibfk_1` FOREIGN KEY (`courseID`) REFERENCES `courseinfo` (`courseID`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `enrollment_ibfk_2` FOREIGN KEY (`studentID`) REFERENCES `studentinfo` (`studentID`) ON DELETE CASCADE ON UPDATE CASCADE;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<filename>walletDatabase/Sql/Security/Tables/Users.sql
CREATE TABLE [Security].[Users](
[Id] [int] IDENTITY(1,1) NOT NULL,
[HouseholdId] int NULL, -- HhId or Household
[UserName] [nvarchar](128) NOT NULL,
[Name] [nvarchar](128) NULL,
[Email] [nvarchar](128) NULL,
[PasswordHash] [nvarchar](max) NULL,
[SecurityStamp] [nvarchar](max) NULL,
[IsDeleted] bit not null default 0,
[IsLockedOut] bit not null default 0,
[PasswordResetToken] [nvarchar](128) NULL,
[PasswordResetExpiry] datetimeoffset(7) NULL,
[LockoutEndDate] datetimeoffset(7) NULL,
[AccessFailedCount] int default 0 NOT NULL,
[EmailConfirmed] bit default 0 NOT NULL,
[LockoutEnabled] bit default 1 NOT NULL)
GO
ALTER TABLE [Security].[Users]
ADD CONSTRAINT [PK_Security.Users] PRIMARY KEY CLUSTERED ([Id] ASC )
GO
CREATE UNIQUE NONCLUSTERED INDEX IX_Users_Username
ON [Security].[Users] ( Username )
GO
AUTOPROC Insert,Select,Update,Delete [Security].[Users]
GO |
<reponame>ngthuc/Learn-Laravel-AngularJS-at-CUSC-with-project-Sunshine
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Dec 21, 2017 at 02:25 PM
-- Server version: 10.1.13-MariaDB
-- PHP Version: 5.6.23
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `sunshine`
--
-- --------------------------------------------------------
--
-- Table structure for table `chitietdonhang`
--
CREATE TABLE `chitietdonhang` (
`dh_ma` bigint(20) UNSIGNED NOT NULL,
`sp_ma` bigint(20) UNSIGNED NOT NULL,
`m_ma` tinyint(3) UNSIGNED NOT NULL,
`ctdh_soLuong` smallint(5) UNSIGNED NOT NULL DEFAULT '1',
`ctdh_donGia` int(10) UNSIGNED NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `chitietnhap`
--
CREATE TABLE `chitietnhap` (
`pn_ma` bigint(20) UNSIGNED NOT NULL,
`sp_ma` bigint(20) UNSIGNED NOT NULL,
`m_ma` tinyint(3) UNSIGNED NOT NULL,
`ctn_soLuong` smallint(5) UNSIGNED NOT NULL DEFAULT '1',
`ctn_donGia` int(10) UNSIGNED NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `chude`
--
CREATE TABLE `chude` (
`cd_ma` tinyint(3) UNSIGNED NOT NULL,
`cd_ten` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`cd_taoMoi` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`cd_capNhat` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`cd_trangThai` tinyint(3) UNSIGNED NOT NULL DEFAULT '2'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `chude`
--
INSERT INTO `chude` (`cd_ma`, `cd_ten`, `cd_taoMoi`, `cd_capNhat`, `cd_trangThai`) VALUES
(1, 'Qui et molestiae odio sunt enim.', '2017-12-15 18:31:43', '2017-12-17 14:09:38', 2),
(2, 'Sit rerum sed aut.', '2017-12-15 23:29:43', '2017-12-16 17:37:35', 2),
(3, 'Corrupti nostrum laborum quam quaerat est omnis.', '2017-12-18 06:49:49', '2017-12-17 03:45:28', 2),
(4, 'Velit est voluptas nam dolorem error.', '2017-12-18 11:01:28', '2017-12-18 12:06:23', 2),
(5, 'Et magni beatae sit totam tempora in doloremque.', '2017-12-16 14:58:53', '2017-12-16 23:02:31', 2),
(6, 'Placeat eum autem illum enim placeat explicabo.', '2017-12-16 13:13:04', '2017-12-16 01:45:42', 2),
(7, 'Ut nulla ipsa quia autem.', '2017-12-18 12:24:38', '2017-12-17 05:54:26', 2),
(8, 'Incidunt laboriosam ducimus eum qui delectus.', '2017-12-18 06:56:52', '2017-12-17 20:04:52', 2),
(9, 'Ab labore quas quod dolorem debitis.', '2017-12-16 00:13:01', '2017-12-18 08:29:10', 2),
(10, 'Sed voluptas quo consequatur autem.', '2017-12-17 05:36:52', '2017-12-17 09:19:40', 2),
(11, 'Soluta aut deserunt et vitae vel non tenetur.', '2017-12-16 04:16:50', '2017-12-16 10:45:27', 2),
(12, 'Ex et adipisci ab vero.', '2017-12-16 14:25:03', '2017-12-15 21:32:59', 2),
(13, 'Iure esse impedit consequatur dolores porro.', '2017-12-15 23:18:44', '2017-12-16 20:28:52', 2),
(14, 'Fugit sint provident perferendis.', '2017-12-15 21:15:15', '2017-12-16 23:44:37', 2),
(15, 'Saepe veniam consectetur quis error.', '2017-12-18 09:20:02', '2017-12-18 03:15:09', 2),
(16, 'Enim et dolor quia vel a. Eos inventore magni at.', '2017-12-18 00:22:20', '2017-12-16 15:58:01', 2),
(17, 'Libero sapiente neque eligendi quis nemo.', '2017-12-18 02:32:31', '2017-12-17 07:06:46', 2),
(18, 'Consectetur voluptatem aut amet nihil.', '2017-12-17 00:34:57', '2017-12-18 10:23:52', 2),
(19, 'Eligendi nisi asperiores ipsam dolores.', '2017-12-16 08:12:35', '2017-12-18 12:45:44', 2),
(20, 'Quos veniam ab ut in ipsam vel quam a.', '2017-12-17 19:57:23', '2017-12-16 21:25:03', 2),
(21, 'Alias eaque non a sit accusamus eos.', '2017-12-16 13:35:59', '2017-12-16 15:44:26', 2),
(22, 'Et aut excepturi corrupti.', '2017-12-17 09:53:16', '2017-12-17 14:53:20', 2),
(23, 'Aperiam earum expedita et magni.', '2017-12-16 20:07:24', '2017-12-18 14:23:29', 2),
(24, 'Incidunt magni minus a qui et.', '2017-12-18 09:14:29', '2017-12-15 18:29:53', 2),
(25, 'Ex aliquam alias illo quae consequatur rerum aut.', '2017-12-16 12:29:04', '2017-12-16 17:12:24', 2),
(26, 'Quaerat voluptatem dolor et tenetur aspernatur.', '2017-12-15 19:56:23', '2017-12-16 01:27:38', 2),
(27, 'Sequi saepe est in quia vero incidunt.', '2017-12-18 07:50:21', '2017-12-17 18:27:32', 2),
(28, 'Sed architecto qui beatae commodi.', '2017-12-16 21:16:47', '2017-12-16 01:37:46', 2),
(29, 'Et nesciunt explicabo voluptas libero et eaque.', '2017-12-16 09:46:37', '2017-12-17 11:02:47', 2),
(30, 'Suscipit nobis sint facere quibusdam incidunt.', '2017-12-17 10:48:44', '2017-12-18 03:50:31', 2),
(31, 'Veniam incidunt id voluptatem error.', '2017-12-16 18:20:59', '2017-12-16 21:02:21', 2),
(32, 'Ad sit quae fugit est quo commodi a vero.', '2017-12-18 00:30:13', '2017-12-18 10:05:49', 2),
(33, 'Consequatur vero porro autem.', '2017-12-16 07:00:30', '2017-12-16 18:28:41', 2),
(34, 'Eum rem hic eum et temporibus et.', '2017-12-15 21:31:55', '2017-12-16 02:00:39', 2),
(35, 'Eos iusto doloribus sit velit accusamus.', '2017-12-16 23:40:00', '2017-12-18 08:10:24', 2),
(36, 'Corrupti consequatur provident quis.', '2017-12-17 22:51:11', '2017-12-17 11:37:32', 2),
(37, 'Qui asperiores eum aliquam at deleniti molestias.', '2017-12-18 07:52:25', '2017-12-16 05:33:51', 2),
(38, 'Nobis amet est vitae amet placeat harum officia.', '2017-12-17 21:51:20', '2017-12-16 17:15:02', 2),
(39, 'Repellat soluta ut ea ipsam velit modi et.', '2017-12-17 14:49:50', '2017-12-17 23:39:53', 2),
(40, 'Quo est officiis ad qui est expedita dolorem.', '2017-12-15 17:19:48', '2017-12-16 14:10:00', 2),
(41, 'Reiciendis corporis in eum reiciendis nisi.', '2017-12-16 06:55:23', '2017-12-16 01:15:17', 2),
(42, 'Ex optio molestiae nesciunt est omnis.', '2017-12-15 20:34:46', '2017-12-18 08:40:36', 2),
(43, 'Rerum et neque impedit aut.', '2017-12-15 23:47:21', '2017-12-16 02:56:18', 2),
(44, 'Repellat numquam quis voluptatem.', '2017-12-16 14:05:37', '2017-12-17 11:51:33', 2),
(45, 'Quod ut molestiae libero est nesciunt hic.', '2017-12-16 13:52:52', '2017-12-18 01:44:33', 2),
(46, 'Laudantium ratione porro aut omnis.', '2017-12-16 22:09:54', '2017-12-18 02:40:17', 2),
(47, 'Sit neque impedit voluptatem odit.', '2017-12-16 11:12:06', '2017-12-18 15:41:39', 2),
(48, 'Dignissimos eum laboriosam quidem id.', '2017-12-16 09:10:31', '2017-12-17 17:20:19', 2),
(49, 'Sint aut et sit animi rerum.', '2017-12-17 07:13:33', '2017-12-18 02:21:43', 2),
(50, 'Id facere ut molestiae omnis.', '2017-12-18 01:08:35', '2017-12-15 20:48:25', 2);
-- --------------------------------------------------------
--
-- Table structure for table `chude_sanpham`
--
CREATE TABLE `chude_sanpham` (
`sp_ma` bigint(20) UNSIGNED NOT NULL,
`cd_ma` tinyint(3) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `donhang`
--
CREATE TABLE `donhang` (
`dh_ma` bigint(20) UNSIGNED NOT NULL,
`kh_ma` bigint(20) UNSIGNED NOT NULL,
`dh_thoiGianDatHang` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`dh_thoiGianNhanHang` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`dh_nguoiNhan` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`dh_diaChi` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL,
`dh_dienThoai` varchar(11) COLLATE utf8mb4_unicode_ci NOT NULL,
`dh_nguoiGui` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`dh_loiChuc` text COLLATE utf8mb4_unicode_ci,
`dh_daThanhToan` tinyint(3) UNSIGNED NOT NULL DEFAULT '0',
`nv_xuLy` tinyint(3) UNSIGNED NOT NULL DEFAULT '1',
`dh_ngayXuLy` datetime DEFAULT NULL,
`nv_giaoHang` tinyint(3) UNSIGNED NOT NULL DEFAULT '1',
`dh_ngayLapPhieuGiao` datetime DEFAULT NULL,
`dh_ngayGiaoHang` datetime DEFAULT NULL,
`dh_taoMoi` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`dh_capNhat` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`dh_trangThai` tinyint(3) UNSIGNED NOT NULL DEFAULT '1',
`vc_ma` tinyint(3) UNSIGNED NOT NULL,
`tt_ma` tinyint(3) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `gopy`
--
CREATE TABLE `gopy` (
`gy_ma` bigint(20) UNSIGNED NOT NULL,
`gy_thoiGian` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`gy_noiDung` text COLLATE utf8mb4_unicode_ci NOT NULL,
`km_ma` bigint(20) UNSIGNED NOT NULL,
`sp_ma` bigint(20) UNSIGNED NOT NULL,
`gy_trangThai` tinyint(4) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `hinhanh`
--
CREATE TABLE `hinhanh` (
`sp_ma` bigint(20) UNSIGNED NOT NULL COMMENT 'Vừa là khóa ngoại và khóa chính',
`ha_stt` tinyint(4) NOT NULL,
`ha_ten` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `hoadonle`
--
CREATE TABLE `hoadonle` (
`hdl_ma` bigint(20) UNSIGNED NOT NULL,
`hdl_nguoiMuaHang` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`hdl_dienThoai` varchar(11) COLLATE utf8mb4_unicode_ci NOT NULL,
`hdl_diaChi` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL,
`nv_lapHoaDon` tinyint(3) UNSIGNED NOT NULL,
`hdl_ngayXuatHoaDon` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`dh_ma` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `hoadonsi`
--
CREATE TABLE `hoadonsi` (
`hds_ma` bigint(20) UNSIGNED NOT NULL,
`hds_nguoiMuaHang` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`hds_tenDonVi` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
`hds_diaChi` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL,
`hds_maSoThe` varchar(14) COLLATE utf8mb4_unicode_ci NOT NULL,
`hds_soTaiKhoan` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`nv_lapHoaDon` tinyint(3) UNSIGNED NOT NULL,
`hds_ngayXuatHoaDon` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`nv_thuTruong` tinyint(3) UNSIGNED NOT NULL DEFAULT '1',
`hds_taoMoi` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`hds_capNhat` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`hds_trangThai` tinyint(3) UNSIGNED NOT NULL DEFAULT '1',
`dh_ma` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
`tt_ma` tinyint(3) UNSIGNED NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `khachhang`
--
CREATE TABLE `khachhang` (
`kh_ma` bigint(20) UNSIGNED NOT NULL,
`kh_taiKhoan` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`kh_matKhau` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL,
`kh_hoTen` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`kh_gioiTinh` tinyint(3) UNSIGNED NOT NULL DEFAULT '1',
`kh_email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`kh_ngaySinh` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`kh_diaChi` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`kh_dienThoai` varchar(11) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`kh_taoMoi` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`kh_capNhat` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`kh_trangThai` tinyint(4) NOT NULL DEFAULT '3'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `khachhang`
--
INSERT INTO `khachhang` (`kh_ma`, `kh_taiKhoan`, `kh_matKhau`, `kh_hoTen`, `kh_gioiTinh`, `kh_email`, `kh_ngaySinh`, `kh_diaChi`, `kh_dienThoai`, `kh_taoMoi`, `kh_capNhat`, `kh_trangThai`) VALUES
(1, 'TRANGLE-TAM_2503', 'df7f5e287cde73fa9cc328eccdcf3941', 'Lê Tâm Trang\r\n', 0, '<EMAIL>', '1991-03-25 00:00:00', '256 N<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0928999169', '2010-01-20 01:00:00', '2010-01-20 01:00:00', 2),
(2, 'Thuy.24-02', '39334679abcf10e6d4e584d8a49d36c8', 'Trần Lệ Thủy\r\n', 0, 'TH<EMAIL>', '1979-02-24 00:00:00', '66/201 Lê Hồng Phong, P. <NAME>, Q. Bình Thủy, TP. Cần Thơ', '01201397505', '2010-01-20 01:00:00', '2010-01-20 01:00:00', 2),
(3, 'Loan-CaoThiMy_1981', 'a938b9e70ecea2b95b05c2a4da0a6e65', 'Cao Thị Mỹ Loan\r\n', 0, '<EMAIL>', '1981-05-07 00:00:00', '199/84 Nguy<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01685301561', '2010-01-20 02:32:08', '2010-01-20 02:32:08', 2),
(4, 'nuong_31.12.1994', 'd64ee5981dfc628f20f8002efa14c3f7', 'L<NAME>ương\r\n', 0, 'le_thuy_nuong.<EMAIL>', '1994-12-31 00:00:00', '12 Tr<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0926537222', '2010-01-22 02:32:08', '2010-01-22 02:32:08', 2),
(5, 'tuong_1703', 'a908e5a81dfc630b836d543df53a8801', '<NAME>\r\n', 1, '<EMAIL>', '2005-03-17 00:00:00', '389 3/2, <NAME>, <NAME>, TP. Cần Thơ', '01676902451', '2010-01-22 06:01:43', '2010-01-22 06:01:43', 2),
(6, 'N-V_TUYET.21_07_94', '7d46558c8572c7504645d5aee894f429', 'Ngu<NAME>\r\n', 0, '<EMAIL>', '1994-07-21 00:00:00', '189/338 QL1, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '0984978861', '2010-02-11 06:01:43', '2010-02-11 06:01:43', 2),
(7, 'Chi.dung\r\n_1980', '4a14ce6aa4d5daf709dc91305eb064bc', 'Nguyễ<NAME> Dũng\r\n', 1, '<EMAIL>', '1980-06-07 00:00:00', '153 QL1, <NAME>, Q. <NAME>, TP. Cần Thơ', '01661188751', '2010-02-11 10:13:18', '2010-02-11 10:13:18', 2),
(8, 'PHUC-NGUYEN_HONG-18-08', '2ba16880c0ae285f38829a6e86566add', '<NAME>c\r\n', 0, '<EMAIL>', '1983-08-18 00:00:00', '187 Nguyễ<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01292299732', '2010-02-13 10:13:18', '2010-02-13 10:13:18', 2),
(9, 'HUY-KHIEM\r\n-26.10', '168e66c47c146dfbef6d7b5bb45ca042', 'L<NAME>êm\r\n', 1, '<EMAIL>', '1995-10-26 00:00:00', '286 H<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01269839861', '2010-02-13 16:24:07', '2010-02-13 16:24:07', 2),
(10, 'L.Q.Sang2103', '31990adabf7832b2bf17dd39445bee7a', 'Lê Quang Sáng\r\n', 1, '<EMAIL>', '1980-03-21 00:00:00', '103 N<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01882627115', '2010-02-14 16:24:07', '2010-02-14 16:24:07', 2),
(11, 'PHAMNGUYEN-QUANG-VINH-01-12-1985', 'f4cc7165f2feb591779b56487cb81fd1', 'Phạm Nguyễn Quang Vinh\r\n', 1, '<EMAIL>', '1985-12-01 00:00:00', '253 Ngô Gia Tự, P. <NAME>, <NAME>, TP. Cần Thơ', '01248579704', '2010-02-14 16:24:07', '2010-02-14 16:24:07', 2),
(12, 'kien.trinh-khang.1974', '3efad996af5a78d9f3689eb19522be76', 'Tr<NAME>\r\n', 1, '<EMAIL>', '1974-07-11 00:00:00', '65 QL1, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01677461543', '2010-02-15 16:24:07', '2010-02-15 16:24:07', 2),
(13, 'Dong921116', '73954fae7ba7ac95b6ce142233f60403', '<NAME>\r\n', 1, '<EMAIL>', '1992-11-16 00:00:00', '148 CMT8, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01684047633', '2010-02-21 16:24:07', '2010-02-21 16:24:07', 2),
(14, 'LongBui_Phan_1971', '842348664775ccf6edabd37d1554d824', '<NAME>', 1, '<EMAIL>', '1971-11-25 00:00:00', '389 CMT8, P. An Thới , Q. Bình Thủy, TP. Cần Thơ', '0927504588', '2010-02-24 16:24:07', '2010-02-24 16:24:07', 2),
(15, 'NGUYEN-NGUYEN-LETHAO-59', 'c047a0f49c99566fcf4f17ac67cc8c4e', 'Nguyễn Lê Thảo Nguyên\r\n', 0, '<EMAIL>', '1959-12-10 00:00:00', '227 Trần Quang Diệu, P. An Thới, Q. Bình Thủy, TP. Cần Thơ', '0893814785', '2010-03-21 16:24:07', '2010-03-21 16:24:07', 2),
(16, 'Nguyen_Truong_Phu.930119', 'ea58c2474db2a15fb0784c61927a7c5d', 'Nguyễn Trường Phu\r\n', 1, '<EMAIL>', '1993-01-19 00:00:00', '317 CMT8, P. Cái Khế, <NAME>, TP. Cần Thơ', '01623060482', '2010-04-06 16:24:07', '2010-04-06 16:24:07', 2),
(17, 'N_V_TU_31081974', '8a8fa480bd5f6773cd09d39292c432f6', 'Nguyễn Văn Từ\r\n', 1, '<EMAIL>', '1974-08-31 00:00:00', '112/49 Ph<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0980458689', '2010-04-09 16:24:07', '2010-04-09 16:24:07', 2),
(18, 'thao_uyen\r\n_08-08', '8cfbf506df4046dd50b284bd140c5ffd', 'Khưu Thảo Uyên\r\n', 0, '<EMAIL>', '1989-08-08 00:00:00', '112 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0945627077', '2010-05-02 16:24:07', '2010-05-02 16:24:07', 2),
(19, 'N.D.Kinh.13.07', '571e98a4e44e97be0cc1212c10296814', 'N<NAME>nh\r\n', 1, '<EMAIL>', '1985-07-13 00:00:00', '194 Nguyễn Đệ, <NAME>, <NAME>, TP. Cần Thơ', '01280855845', '2010-05-02 18:03:03', '2010-05-02 18:03:03', 2),
(20, 'mai-1989', '8735e9a431ffb583e6588580a9e073ab', 'Nguyễn Trần Ngọc Mai\r\n', 0, '<EMAIL>', '1989-11-14 00:00:00', '72/6 Nguyễn V<NAME>, <NAME> , <NAME>, TP. Cần Thơ', '01661606254', '2010-05-03 02:19:39', '2010-05-03 02:19:39', 2),
(21, 'Quynh_ngan\r\n.2002-01-01', '6b114dc74cc5a8de4e7897be0c1366b0', 'Trần Quỳnh Ngân\r\n', 0, '<EMAIL>', '2002-01-01 00:00:00', '109/184 Võ Văn Tần, <NAME>, <NAME>, TP. Cần Thơ', '01640816968', '2010-05-21 02:19:39', '2010-05-21 02:19:39', 2),
(22, 'maihuynhkhanh1703', '11be801f81b7b3c1afc19179f9cacd50', '<NAME>\r\n', 0, '<EMAIL>', '1991-03-17 00:00:00', '117C/179 Đinh Công Chánh, P. <NAME>, Q. Bình Thủy, TP. Cần Thơ', '0919385919', '2010-05-26 02:19:39', '2010-05-26 02:19:39', 2),
(23, 'M.P-Hung80', 'fc7194d20d9ca7ea4a4596cd3e6e8de8', '<NAME>', 1, '<EMAIL>', '1980-04-23 00:00:00', '192 Lê H<NAME>, P. <NAME>, Q. Bình Thủy, TP. Cần Thơ', '01635277381', '2010-05-28 02:19:39', '2010-05-28 02:19:39', 2),
(24, 'LOC.PHAM.XUAN2406', '7c749912aa6286819742008c55db1eff', 'Phạm Xuân Lộc\r\n', 1, '<EMAIL>', '1982-06-24 00:00:00', '348 QL1, P. H<NAME>, Q. C<NAME>, TP. Cần Thơ', '0890523170', '2010-06-11 02:19:39', '2010-06-11 02:19:39', 2),
(25, 'N-T-HHOP1945.04.26', '7bb71e72234a9891fdffe98a3f3322ad', 'Nguyễn Trần Hòa Hợp\r\n', 1, '<EMAIL>', '1945-04-26 00:00:00', '251 Tỉnh lộ 923, P. Trường Lạc, Q. Ô Môn, TP. Cần Thơ', '0898643630', '2010-06-11 05:40:50', '2010-06-11 05:40:50', 2),
(26, 'vtxvan1985', '53274e82e64d4820a6592745fb16e784', '<NAME>ân\r\n', 0, '<EMAIL>', '1985-10-01 00:00:00', '181/207 Võ Văn Kiệt, P. <NAME>, Q. <NAME>ều, TP. Cần Thơ', '01630654845', '2010-06-24 05:40:50', '2010-06-24 05:40:50', 2),
(27, 'LONGNGUYEN-THANH-16_06', 'e9f7844b8e58a479e889f6a6619e4a05', 'N<NAME> Long\r\n', 1, '<EMAIL>', '1978-06-16 00:00:00', '78 CMT8, P. B<NAME>ghĩa, Q. Bình Thủy, TP. Cần Thơ', '01629856229', '2010-06-24 05:40:50', '2010-06-24 05:40:50', 2),
(28, 'Dieuanh\r\n-800130', '57550e79deef7e30f56130b81458e31d', 'Nguyễ<NAME> Anh\r\n', 0, '<EMAIL>', '1980-01-30 00:00:00', '246 N<NAME>, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01642784895', '2010-06-24 16:38:09', '2010-06-24 16:38:09', 2),
(29, 'le.phong.2004_10_08', '4f99731324d57761ace520158ed0b498', '<NAME>', 1, '<EMAIL>', '2004-10-08 00:00:00', '148 Võ <NAME>, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '0940647713', '2010-06-24 22:10:37', '2010-06-24 22:10:37', 2),
(30, 'tran-huy-00_01_21', '7039f5799b5502c709a668c689d2f4ac', '<NAME>', 1, '<EMAIL>', '2000-01-21 00:00:00', '200 CMT8, <NAME>, <NAME>, TP. Cần Thơ', '01666383201', '2010-06-26 22:10:37', '2010-06-26 22:10:37', 2),
(31, 'Nhan-22-12-1959', 'f37cfdb943fc3e38b73b70f57970edaa', 'Nguyễn Phi Nhạn\r\n', 1, '<EMAIL>', '1959-12-22 00:00:00', '105/176 Lê Lợi, <NAME>, <NAME>, TP. Cần Thơ', '0971731120', '2010-06-26 22:10:37', '2010-06-26 22:10:37', 2),
(32, 'VANTOAI19840109', '2ca24e7e7234fc285d08484ac11bc429', '<NAME>\r\n', 1, '<EMAIL>', '1984-01-09 00:00:00', '21 Trần Quang Diệu, P. An Thới, Q. Bình Thủy, TP. Cần Thơ', '01284877217', '2010-07-13 22:10:37', '2010-07-13 22:10:37', 2),
(33, 'NGUYENVAN-DANG-1947', 'e2978d96e201d03559ff776501561c5e', '<NAME>\r\n', 1, '<EMAIL>', '1947-08-28 00:00:00', '263 Ngô Quyền, P. An Cư, Q. Ninh Kiều, TP. Cần Thơ', '0975041998', '2010-07-14 04:21:18', '2010-07-14 04:21:18', 2),
(34, 'QUANPHAN.1950', '089536bfbae7137b2855b42e4bfcc36e', 'Phan Quân', 1, '<EMAIL>', '1950-12-02 00:00:00', '14 Hùng Vương, <NAME>, <NAME>, TP. Cần Thơ', '01230374584', '2010-07-25 04:21:18', '2010-07-25 04:21:18', 2),
(35, 'NGUYEN_THITUYETOANH_05_09_04', 'f4e29d36ce06261ede11cbff3700ad98', 'Nguyễ<NAME>uyết Oanh\r\n', 0, '<EMAIL>', '2004-09-05 00:00:00', '21 QL1, <NAME>, Q. <NAME>, TP. Cần Thơ', '01671739570', '2010-07-25 06:48:27', '2010-07-25 06:48:27', 2),
(36, 'Phuong-ThuThiNguyen-100382', 'a811552986dc1dd0b8732df30b8ddf0b', 'N<NAME>ương\r\n', 0, '<EMAIL>', '1982-03-10 00:00:00', '140 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01696309405', '2010-08-17 06:48:27', '2010-08-17 06:48:27', 2),
(37, 'TrangGiaHuan3005', 'dd4a9f7ebdbf255da5e1df93fa14e44e', 'Trang Gia Huấn\r\n', 1, '<EMAIL>', '2003-05-30 00:00:00', '244 Võ <NAME>, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '0936176349', '2010-08-17 12:14:42', '2010-08-17 12:14:42', 2),
(38, 'Van861221', 'd6f2393e8ba732f3af0e765fdc140758', 'Mạc Trang Thị Tường Vân\r\n', 0, '<EMAIL>', '1986-12-21 00:00:00', '337 Tỉnh lộ 923, P. Trường Lạc, Q. Ô Môn, TP. Cần Thơ', '01699575815', '2010-08-17 15:36:57', '2010-08-17 15:36:57', 2),
(39, 'LINHAI_PHAN_TRAN94-10-08', 'f4a42cede4266ea44197cd306c0bdece', 'Trần Phan Ái Linh\r\n', 0, '<EMAIL>-<EMAIL>.<EMAIL>', '1994-10-08 00:00:00', '100/85 Võ Văn Kiệt, <NAME>, <NAME>, TP. Cần Thơ', '01697743522', '2010-08-22 15:36:57', '2010-08-22 15:36:57', 2),
(40, 'Bachquynh\r\n-19_01', '8558057f57c5cefe9e1f3025cfa21a6b', 'Trịnh Bạch Quỳnh\r\n', 0, '<EMAIL>', '1985-01-19 00:00:00', '71/154 Trần Phú, <NAME>, <NAME>, TP. Cần Thơ', '01274399522', '2010-09-09 15:36:57', '2010-09-09 15:36:57', 2),
(41, 'LamPhanLe.Tung04-03', '7c5355e0b254bc7ea8313ce30b5cfc1c', 'Phan Lê Tùng Lâm\r\n', 1, '<EMAIL>', '2002-03-04 00:00:00', '42C/363 Hùng Vương, <NAME>, <NAME>, TP. Cần Thơ', '01640217540', '2010-09-12 15:36:57', '2010-09-12 15:36:57', 2),
(42, 'LUONG-NGUYEN-07.06', '332e40d72d7685fd33a071a22eb2d268', '<NAME>', 1, '<EMAIL>', '2005-06-07 00:00:00', '92 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0970730657', '2010-09-12 17:41:28', '2010-09-12 17:41:28', 2),
(43, 'quynhgiadangnguyen_1705', '2bf55d9da6c25c5c90141299820f5bb8', '<NAME>nh\r\n', 0, '<EMAIL>', '1980-05-17 00:00:00', '<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0976193617', '2010-09-22 17:41:28', '2010-09-22 17:41:28', 2),
(44, 'Quang.anh861021', '0866da90b7d4edfe6677f3fac93f5687', 'N<NAME>h\r\n', 1, '<EMAIL>', '1986-10-21 00:00:00', '25 N<NAME>, P. <NAME>, <NAME>, TP. Cần Thơ', '0939975237', '2010-10-16 17:41:28', '2010-10-16 17:41:28', 2),
(45, 'chi22021968', 'b964fb376ac1b2f28401c5a6bf11a20c', 'Vũ <NAME>\r\n', 0, '<EMAIL>', '1968-02-22 00:00:00', '287 Hoàng <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0892718432', '2010-10-16 21:38:48', '2010-10-16 21:38:48', 2),
(46, 'ThanhLeVan0803', 'b4672a950fa64346965e1eb0675de510', '<NAME>\r\n', 1, '<EMAIL>', '1987-03-08 00:00:00', '48D/227 QL1, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01236613678', '2010-10-22 21:38:48', '2010-10-22 21:38:48', 2),
(47, 'Trach12-08-98', 'e7885a47d562f5b55be7a8d57f20eae5', 'Nguyễ<NAME>ạch\r\n', 1, '<EMAIL>', '1998-08-12 00:00:00', '362 Ng<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01882197735', '2010-10-27 21:38:48', '2010-10-27 21:38:48', 2),
(48, 'Thuy_Huong.Vu-Nguyen01-01-00', '86014ea386e41bd5c27181dbc22752f5', 'Nguyễ<NAME>ương Thủy\r\n', 0, '<EMAIL>', '2000-01-01 00:00:00', '27<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0911182436', '2010-10-29 21:38:48', '2010-10-29 21:38:48', 2),
(49, 'thanhducdo19870707', '788950d4a9a6caa06b989d19b7353e31', 'Đỗ Ðức Thành\r\n', 1, '<EMAIL>', '1987-07-07 00:00:00', '27 N<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01285747111', '2010-10-30 00:32:00', '2010-10-30 00:32:00', 2),
(50, 'nhan_31-03', '97b08ffb6da477a06fd04df0d5452897', '<NAME>', 1, '<EMAIL>', '1989-03-31 00:00:00', '280 Võ Văn Kiệt, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01629994599', '2010-10-30 05:53:12', '2010-10-30 05:53:12', 2),
(51, 'phamhuy96', 'd791d232abe9ef0a007a814db4196da0', '<NAME>', 1, '<EMAIL>', '1996-04-05 00:00:00', '60 Nguyễn Văn Cừ, P. <NAME>, <NAME>, TP. Cần Thơ', '01245152794', '2010-11-01 05:53:12', '2010-11-01 05:53:12', 2),
(52, 'Tho.Anh.Thi.Nguyen1985', '47a7f050bfe06f17b02549bf4c4826e1', 'Nguyễn Thị Anh Thơ\r\n', 0, '<EMAIL>', '1985-04-11 00:00:00', '312 3/2, <NAME>, <NAME>, TP. Cần Thơ', '0903898381', '2010-11-22 05:53:12', '2010-11-22 05:53:12', 2),
(53, 'vo-thi-ngocyen_050714', '8cf0cb824be51e9d72ae42158bf17af6', 'Võ Thị Ngọc Yến\r\n', 0, '<EMAIL>', '2005-07-14 00:00:00', '238 Tr<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0971240010', '2010-11-24 05:53:12', '2010-11-24 05:53:12', 2),
(54, 'DAM.THUY-DU-1988', '3a6941d368acf07bc94d59759126bd2a', 'Đàm Thụy Du\r\n', 1, '<EMAIL>', '1988-10-12 00:00:00', '33/273 Nguyễn An Ninh, An Lạc, <NAME>, TP. Cần Thơ', '01267851793', '2010-11-27 05:53:12', '2010-11-27 05:53:12', 2),
(55, 'NguyenThiHai.Anh.1978_02_06', '555e035a7be4d8d1bfd203794f829eae', 'Nguyễ<NAME> Anh\r\n', 0, '<EMAIL>', '1978-02-06 00:00:00', '6 Nguyễn Chí Thanh, P. Thới An Đông, Q. Bình Thủy, TP. Cần Thơ', '01209907462', '2010-12-22 05:53:12', '2010-12-22 05:53:12', 2),
(56, 'truongvan_bac940511', '264b2996a9a764cde2a19cf55844f4a9', 'Trương Văn Bắc\r\n', 1, '<EMAIL>', '1994-05-11 00:00:00', '65/146 Nguyễn Văn Cừ, P. <NAME>, Q. Ninh Kiều, TP. Cần Thơ', '09949716009', '2011-01-10 05:53:12', '2011-01-10 05:53:12', 2),
(57, 't_q-tu_98-09-02', 'cc2f15ff32da67e803952b0913c0db3a', 'Trần Quang Tú\r\n', 1, '<EMAIL>', '1998-09-02 00:00:00', '386 Mậu Thân, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '09982902296', '2011-01-10 10:39:21', '2011-01-10 10:39:21', 2),
(58, 'Nguyen.ThaiNguyen.19860219', '03b00941616745efabfe132877c5ab08', 'Nguyễn Thái Nguyên\r\n', 1, '<EMAIL>', '1986-02-19 00:00:00', '64 Bùi Hữu Nghĩa, P. Bình Thủy, Q. Bình Thủy, TP. Cần Thơ', '0881504920', '2011-01-12 10:39:21', '2011-01-12 10:39:21', 2),
(59, 'Thu.linh\r\n.95', 'f01fdf2d54e629caa92c81794313789a', 'Võ Thị Thu Linh\r\n', 0, '<EMAIL>', '1995-07-29 00:00:00', '133 <NAME>, P. <NAME>, Q. <NAME>ều, TP. Cần Thơ', '0976703210', '2011-01-17 10:39:21', '2011-01-17 10:39:21', 2),
(60, 'hang_bich_nguyen.16_12_1984', '62767dd1aab64aa723c044a8bed09b36', 'N<NAME> Hằng\r\n', 0, '<EMAIL>', '1984-12-16 00:00:00', '20 CMT8, P. An Hòa, Q. <NAME>, TP. Cần Thơ', '01885899833', '2011-02-04 10:39:21', '2011-02-04 10:39:21', 2),
(61, 'Vanlinh\r\n_0106', '6ff6d070017b273038e17896678bb152', '<NAME>\r\n', 1, '<EMAIL>', '2001-06-01 00:00:00', '379 Mậu Thân, P. An Nghiệp, Q. <NAME>, TP. Cần Thơ', '0931466997', '2011-02-24 10:39:21', '2011-02-24 10:39:21', 2),
(62, 'HIENNGUYEN.QUOC04.10.83', '4dcca91eade0c4d18b678b85b02b086a', 'Nguyễn Quốc Hiền\r\n', 1, '<EMAIL>', '1983-10-04 00:00:00', '160/271 Nguyễn V<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01656668807', '2011-03-20 10:39:21', '2011-03-20 10:39:21', 2),
(63, 'nguyen_ngoc_hien-09-08-98', 'e6bfd79633e652b9b7656422155ed50e', 'Nguyễn Ngọc Hiền\r\n', 0, '<EMAIL>', '1998-08-09 00:00:00', '189/134 Trần Phú, <NAME>, <NAME>, TP. Cần Thơ', '0922218741', '2011-03-20 12:00:12', '2011-03-20 12:00:12', 2),
(64, 'Phamliet-1992', 'f8bb7ccf69217d52c651d1a7383b2500', '<NAME>', 1, '<EMAIL>', '1992-10-19 00:00:00', '336 Nguyễn Trãi, <NAME>, <NAME>, TP. Cần Thơ', '01697871662', '2011-04-10 12:00:12', '2011-04-10 12:00:12', 2),
(65, 'TRUONGTHIVYLAM16071997', 'c95901dc4fae263416ea2d27cf377512', 'Trương Thị Vy Lam\r\n', 0, '<EMAIL>', '1997-07-16 00:00:00', '21/154 Nguyễn Trãi, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01647866215', '2011-05-04 12:00:12', '2011-05-04 12:00:12', 2),
(66, 'TRUONG.DUONG_17_07', '7db507c259abe5d6ce8c8db82f0e75f6', 'D<NAME>', 1, '<EMAIL>', '1959-07-17 00:00:00', '48 Mậ<NAME>, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01683768739', '2011-05-07 12:00:12', '2011-05-07 12:00:12', 2),
(67, 'NGA-PHAM-TRAN_KIEU1992.08.23', '962bb9cad4feb8ece3e50436b594574f', 'Phạm Trần Kiều Nga\r\n', 0, '<EMAIL>', '1992-08-23 00:00:00', '20<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '09925057193', '2011-05-17 12:00:12', '2011-05-17 12:00:12', 2),
(68, 'v_phong_77.11.18', 'b0365333bc3c44bbdb97008d7d830614', '<NAME>', 1, '<EMAIL>', '1977-11-18 00:00:00', '1<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0974870160', '2011-05-22 12:00:12', '2011-05-22 12:00:12', 2),
(69, 'L.T_LGIANG.19770806', '0b38afd2378e3784798bb8e838c5c49c', '<NAME>\r\n', 0, '<EMAIL>', '1977-08-06 00:00:00', '25B/355 Hoàng Văn Thụ, <NAME>, <NAME>, TP. Cần Thơ', '01219518238', '2011-05-29 12:00:12', '2011-05-29 12:00:12', 2),
(70, 'NTBTHAO211139', '6233a51111425dfa5f116efa3ca655e8', '<NAME>o\r\n', 0, '<EMAIL>', '1939-11-21 00:00:00', '201 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01659349646', '2011-06-16 12:00:12', '2011-06-16 12:00:12', 2),
(71, 'vo_21.01.1996', '8629253797fcb7fe7589befe9d1863c1', 'L<NAME> Võ\r\n', 1, '<EMAIL>', '1996-01-21 00:00:00', '148/193 30/4, <NAME>, <NAME>, TP. Cần Thơ', '09927532689', '2011-06-18 12:00:12', '2011-06-18 12:00:12', 2),
(72, 'BAO-DUY_TRAN620516', '18c8eb43026051901e991852b705fe87', 'Trần Duy Bảo\r\n', 1, '<EMAIL>', '1962-05-16 00:00:00', '39A/77 QL1, <NAME>, Q. <NAME>, TP. Cần Thơ', '01620874195', '2011-06-18 17:52:23', '2011-06-18 17:52:23', 2),
(73, 'trieu_nguyen_dinhquang_95-06-25', 'b8e3a16f289323afb052fc317171b167', '<NAME>u\r\n', 1, '<EMAIL>', '1995-06-25 00:00:00', '322 Nguyễn <NAME>hai, <NAME>, <NAME>, TP. Cần Thơ', '0911396929', '2011-06-19 17:52:23', '2011-06-19 17:52:23', 2),
(74, 'nguyendinh_hop_900716', '1efb6ad4e813826e399fe4b0df369412', 'Nguyễ<NAME>p\r\n', 1, '<EMAIL>', '1990-07-16 00:00:00', '316 Nguyễn V<NAME>inh, <NAME>, <NAME>, TP. Cần Thơ', '01652473994', '2011-06-19 17:52:23', '2011-06-19 17:52:23', 2),
(75, 'Quangthai\r\n.030782', 'e1ee3641aee7973121844ffdd40c9727', 'Trần Quang Thái\r\n', 1, '<EMAIL>', '1982-07-03 00:00:00', '179 V<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '08682269221', '2011-07-01 17:52:23', '2011-07-01 17:52:23', 2),
(76, 'DUYBUI_30_09_90', 'c1776dccad7aefb6634486f018fd8fd4', '<NAME>', 1, '<EMAIL>', '1990-09-30 00:00:00', '287 Nguyễn Thái Học, <NAME>, <NAME>, TP. Cần Thơ', '0916475284', '2011-07-01 17:52:23', '2011-07-01 17:52:23', 2),
(77, 'NGUYENTHUSINH29-07-79', 'bc3e1fc0fb6b828f2c650c4bf88f0f75', 'Nguyễn Thu Sinh\r\n', 1, '<EMAIL>', '1979-07-29 00:00:00', '154 Nguyễn Chí Thanh, P. <NAME> , Q. Bình Thủy, TP. Cần Thơ', '01218462992', '2011-07-05 17:52:23', '2011-07-05 17:52:23', 2),
(78, 'nghi_1988_08_22', '8192e05ecbccb87f79cd79b104627337', 'Trần Cương Nghị\r\n', 1, '<EMAIL>', '1988-08-22 00:00:00', '42 Nguyễn Ch<NAME>, P. Thới An Đông, Q. <NAME>, TP. Cần Thơ', '0978063600', '2011-07-11 17:52:23', '2011-07-11 17:52:23', 2),
(79, 'HaNgocTran040663', '314f28a692ab5b15f938fccff23a1ecf', 'Trần Ngọc Hạ\r\n', 0, '<EMAIL>', '1963-06-04 00:00:00', '171C/122 Võ Văn Tần, P. <NAME>, Q. <NAME>ều, TP. Cần Thơ', '01642605971', '2011-07-22 17:52:23', '2011-07-22 17:52:23', 2),
(80, 'nuong_nguyen.my.1982_10_25', '45e59b35e010ffa68cdf0cda990057bf', 'N<NAME>\r\n', 0, '<EMAIL>', '1982-10-25 00:00:00', '285 CMT8, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01216280044', '2011-08-12 17:52:23', '2011-08-12 17:52:23', 2),
(81, 'CHI.NGUYEN.TRAN_KIM-18.04.1996', 'd04f4a642f9634704f2167f73ab5fd0e', '<NAME>\r\n', 0, '<EMAIL>', '1996-04-18 00:00:00', '325 Ngô Gia Tự, <NAME>, Q. <NAME>, TP. Cần Thơ', '0881047574', '2011-08-17 17:52:23', '2011-08-17 17:52:23', 2),
(82, 'VY_NGUYEN-THI.DIEP-98_03_13', '10124c2042c04db27e0270a3a8d04b1b', 'Nguyễn Thị Diệp Vy\r\n', 0, '<EMAIL>', '1998-03-13 00:00:00', '36 Ngô Gia Tự, P. <NAME>, <NAME>, TP. Cần Thơ', '01231795032', '2011-08-31 17:52:23', '2011-08-31 17:52:23', 2),
(83, 'duyet-03-12-03', '8591c852dbe5c25911195f93fb15d3ff', 'Trần Phạm Văn Duyệt\r\n', 1, '<EMAIL>', '2003-12-03 00:00:00', '11 Th<NAME>, <NAME>, Q. Ô Môn, TP. Cần Thơ', '0924833079', '2011-09-04 17:52:23', '2011-09-04 17:52:23', 2),
(84, 'Hai-son\r\n-1995', '41ec16d5fa40bbe51be77d47e902cc9b', '<NAME>ơn\r\n', 1, '<EMAIL>', '1995-01-04 00:00:00', '116/85 Trần Phú, P. <NAME>, <NAME>, TP. Cần Thơ', '01273865571', '2011-09-04 17:52:23', '2011-09-04 17:52:23', 2),
(85, 'Thienluan811123', 'a0e5590d6a266784bc4bb538de6d6c93', '<NAME>\r\n', 1, '<EMAIL>', '1981-11-23 00:00:00', '161 Qu<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01211119162', '2011-09-08 17:52:23', '2011-09-08 17:52:23', 2),
(86, 'nguyen.van.huu-24.11.1996', '134bc51c4c9a9a74108f6bda3e035b82', 'Nguyễn Văn Hữu\r\n', 1, '<EMAIL>', '1996-11-24 00:00:00', '233 QL91, <NAME>, Q. Ô Môn, TP. Cần Thơ', '01888751014', '2011-09-13 17:52:23', '2011-09-13 17:52:23', 2),
(87, 'VUPHAMVAN20040330', 'c5dea869052003537ecd673b58d397b5', 'Phạm Văn Vu\r\n', 1, '<EMAIL>', '2004-03-30 00:00:00', '122/88 CMT8, <NAME>, <NAME>, TP. Cần Thơ', '01230157299', '2011-09-16 17:52:23', '2011-09-16 17:52:23', 2),
(88, 'THUNGUYEN.THI.MONG-26-04-85', '530a8e3650d337bd26beb24cdb85aac6', 'Nguyễ<NAME>ộng Thu\r\n', 0, '<EMAIL>', '1985-04-26 00:00:00', '67 QL91B, P. Phước Thới, Q. Ô Môn, TP. Cần Thơ', '01216884243', '2011-09-16 22:40:02', '2011-09-16 22:40:02', 2),
(89, 'XUYEN_TRANNGUYEN.THI.31', '3b2e205237effa4bc862e231e8fb421b', 'Trần Nguyễn Thị Xuyến\r\n', 0, '<EMAIL>', '1931-12-06 00:00:00', '115 N<NAME>, P. <NAME>, <NAME>, TP. Cần Thơ', '01211088793', '2011-09-20 22:40:02', '2011-09-20 22:40:02', 2),
(90, 'BAO-THIEU-PHAM-PHAN-0110', '7ca0332c7ca18f4b84fd6c99a2197bb8', 'Phan Phạm Thiệu Bảo\r\n', 1, '<EMAIL>', '2005-10-01 00:00:00', '296 N<NAME>, <NAME>, Q. <NAME>, TP. Cần Thơ', '01212490868', '2011-09-21 20:02:59', '2011-09-21 20:02:59', 2),
(91, 'hoang0112', 'c86ce1d823abcd658a4e4c7f000574b5', '<NAME>', 1, '<EMAIL>', '1984-12-01 00:00:00', '38/373 Bùi Hữu Nghĩa, <NAME> , Q. <NAME>, TP. Cần Thơ', '0965160722', '2011-09-30 20:02:59', '2011-09-30 20:02:59', 2),
(92, 'N.PThe98', '941fe2733bacf0aa70e3fdce4dfbc5c5', 'Nguyễn Phương Thể\r\n', 1, '<EMAIL>', '1998-05-06 00:00:00', '286 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '09996624350', '2011-09-30 21:45:54', '2011-09-30 21:45:54', 2),
(93, 'GIANGTRAN-NGUYEN_09-02-1994', '1844d81fe3af11726c78cd04a565fdd8', '<NAME>', 1, '<EMAIL>', '1994-02-09 00:00:00', '351 QL91, P. Châu Văn Liêm, Q. Ô Môn, TP. Cần Thơ', '0985957929', '2011-10-15 21:45:54', '2011-10-15 21:45:54', 2),
(94, 'GIAHUNG23.12.93', 'a008de31bece219ad5b855b7ffd880d5', '<NAME>\r\n', 1, '<EMAIL>', '1993-12-23 00:00:00', '323 Trần Kiết Tường, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '0884352354', '2011-10-27 21:45:54', '2011-10-27 21:45:54', 2),
(95, 'chuong19870926', 'fb9cb4c8e7c5cf6b9236b67d1a9d5c75', 'Trần Nguyễn Văn Chưởng\r\n', 1, 'T-N_VChuong26.0<EMAIL>', '1987-09-26 00:00:00', '198C/212 Nguyễn Chí Thanh, P. Thới An Đông, Q. Bình Thủy, TP. Cần Thơ', '01216580452', '2011-10-29 21:45:54', '2011-10-29 21:45:54', 2),
(96, 'LNVDUC1979', '28d203d992445da630c9f88da4b31398', 'Lê Nguyễn Văn Đức\r\n', 1, '<EMAIL>', '1979-03-18 00:00:00', '8/135 Tỉnh lộ 922, P. Châu Văn Liêm, Q. Ô Môn, TP. Cần Thơ', '01283837475', '2011-11-14 21:45:54', '2011-11-14 21:45:54', 2),
(97, 'DT.PHUONG1988.12.17', '4f1e60b7485fc4bcfcb60b6dd4552b7b', 'Đường Thu Phượng\r\n', 0, '<EMAIL>', '1988-12-17 00:00:00', '192 Nguyễn Trãi, P. <NAME>, Q. Ninh Kiều, TP. Cần Thơ', '01209585287', '2011-11-15 21:45:54', '2011-11-15 21:45:54', 2),
(98, 'VuHuuKhoat95', '7969b6f4d762edb86a9e429caacf59cc', 'V<NAME>át\r\n', 1, '<EMAIL>', '1995-11-18 00:00:00', '46 QL1, P. L<NAME>ình, Q. Cái Răng, TP. Cần Thơ', '01210444752', '2011-11-16 18:28:03', '2011-11-16 18:28:03', 2),
(99, 'N.T_T_Q.CHI1986.11.22', 'ef2ac629291a2a6b06fcf9b6d05f04f3', 'Nguyễn Trần Thị Quỳnh Chi\r\n', 0, '<EMAIL>', '1986-11-22 00:00:00', '359 Nguyễn Văn Linh, P. Long Hòa, Q. Bình Thủy, TP. Cần Thơ', '01661493861', '2011-11-17 12:31:59', '2011-11-17 12:31:59', 2),
(100, 'HANHNGA2003', 'c983f199b27d9b79cf87e5f6f70c80ef', 'Vương Hạnh Nga\r\n', 0, 'NGA.VUONGHAN<EMAIL>', '2003-03-14 00:00:00', '138 Trần Ngọc Quế, P. <NAME>, <NAME>, TP. Cần Thơ', '01620047780', '2011-11-28 12:31:59', '2011-11-28 12:31:59', 2),
(101, 'Xuan-hanh\r\n_10_03_1961', '06bffc87700a1ae320e2a9b70028ddc7', 'Nguyễn Xuân Hạnh\r\n', 0, '<EMAIL>', '1961-03-10 00:00:00', '22B/150 CMT8, <NAME>, <NAME>, TP. Cần Thơ', '01222350333', '2011-11-28 14:15:55', '2011-11-28 14:15:55', 2),
(102, 'Tran_Thi_GiaQuynh-96', 'e31369ac5799f0a8b2cbc4d98177fe8c', 'Trần Thị Gia Quỳnh\r\n', 0, '<EMAIL>', '1996-10-23 00:00:00', '360 Trương Văn Diễn, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '09927669347', '2011-12-02 14:15:55', '2011-12-02 14:15:55', 2),
(103, 'Nhat10021987', 'b53774d683dbfb35cc28ead65d094e2c', '<NAME>\r\n', 1, '<EMAIL>', '1987-02-10 00:00:00', '351 Nguyễn Trãi, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01640025759', '2011-12-03 14:15:55', '2011-12-03 14:15:55', 2),
(104, 'VDTCLINH1991', 'a60f41876e1c3a03f1fb963b53e47168', 'V<NAME> Linh\r\n', 0, '<EMAIL>', '1991-11-07 00:00:00', '207 3/2, <NAME>, <NAME>, TP. Cần Thơ', '01628284818', '2011-12-03 17:40:56', '2011-12-03 17:40:56', 2),
(105, 'TPXPhuong19430115', '1f9e8b2e6046d0429d172957b2c7f878', 'Trần Phạm Xuân Phương\r\n', 0, '<EMAIL>', '1943-01-15 00:00:00', '221 CMT8, P. An Thới , Q. Bình Thủy, TP. Cần Thơ', '01675009506', '2011-12-10 17:40:56', '2011-12-10 17:40:56', 2),
(106, 't_tien.190648', '1b1792b23a61e443ec6abe7d1b71b497', '<NAME>', 1, '<EMAIL>', '1948-06-19 00:00:00', '71/195 CMT8, P. Cái Khế, Q. <NAME>, TP. Cần Thơ', '01885358981', '2011-12-18 17:40:56', '2011-12-18 17:40:56', 2),
(107, 'nguyen-van1207', '2f64a337e5fbe6c712e085aa55477d9a', '<NAME>', 1, '<EMAIL>', '2003-07-12 00:00:00', '11/341 Nguyễn Chí Thanh, P. Thới An Đông, Q. Bình Thủy, TP. Cần Thơ', '01687382628', '2011-12-22 17:40:56', '2011-12-22 17:40:56', 2),
(108, 'h-lthien80_09_14', '32ebbc578dcdb67315e26f6a94eea354', 'Hu<NAME>\r\n', 1, '<EMAIL>', '1980-09-14 00:00:00', '358 Trương Văn Diễn, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '0889372990', '2011-12-26 17:40:56', '2011-12-26 17:40:56', 2),
(109, 'n-hthu01_04_16', 'a4b152b3e5924cef142d234a65d72d0f', 'Nguyễn Huyền Thư\r\n', 0, '<EMAIL>', '2001-04-16 00:00:00', '292 Nguyễ<NAME>, P. <NAME>, <NAME>, TP. Cần Thơ', '01260782888', '2011-12-26 17:58:07', '2011-12-26 17:58:07', 2),
(110, 'nguyenthaouyen19900411', 'd203157ef6b2e88c5cb270bf02eb023f', 'Nguyễn Thảo Uyên\r\n', 0, '<EMAIL>', '1990-04-11 00:00:00', '15/5 QL1, <NAME>, Q. Cái Răng, TP. Cần Thơ', '01636424418', '2012-01-02 17:58:07', '2012-01-02 17:58:07', 2),
(111, 'mantrieunguyen040127', '4c04bad471d84113d047d844fd0bc113', 'Nguyễn Triệu Mẫn\r\n', 0, '<EMAIL>', '2004-01-27 00:00:00', '120E/55 QL1, <NAME>, Q. <NAME>, TP. Cần Thơ', '01287011686', '2012-01-02 17:58:07', '2012-01-02 17:58:07', 2),
(112, 'hiep_20051956', '9e1d8a9f42a5722b4abeee2e075267ed', 'Lương Nguyễ<NAME>ân Hiệp\r\n', 1, '<EMAIL>', '1956-05-20 00:00:00', '384 QL91B, <NAME>, Q. Ô Môn, TP. Cần Thơ', '01251971583', '2012-01-06 17:58:07', '2012-01-06 17:58:07', 2),
(113, 'TRIEUQUANGNGUYEN280294', 'd528818aa8ae1c41375defbfbfde2fe8', 'Nguyễn Quang Triều\r\n', 1, '<EMAIL>', '1994-02-28 00:00:00', '186B/25 Nguyễn Văn Cừ, P. An Bình, Q. <NAME>, TP. Cần Thơ', '01628790719', '2012-01-06 19:05:34', '2012-01-06 19:05:34', 2),
(114, 'n_tt_khanh_97_01_29', '2d8cad051b5f67841a00b2ba993af09e', 'Nguyễn Thị Thụy Khanh\r\n', 0, '<EMAIL>', '1997-01-29 00:00:00', '327 QL1, P. Hư<NAME>, Q. Cá<NAME>, TP. Cần Thơ', '01260711456', '2012-01-06 22:33:28', '2012-01-06 22:33:28', 2),
(115, 'khai-tuan\r\n-93', '21fb87e1020d83424f580c56f9b10461', 'Ông Khải Tuấn\r\n', 1, '<EMAIL>', '1993-08-06 00:00:00', '154 H<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01663882904', '2012-01-06 23:41:53', '2012-01-06 23:41:53', 2),
(116, 'Chau011120', 'b4e95d7f82bb514d853e05a091225175', 'Nguyễn Minh Châu\r\n', 0, '<EMAIL>', '2001-11-20 00:00:00', '70 Võ Văn Kiệt, P. Bình Thủy , Q. Bình Thủy, TP. Cần Thơ', '0940771381', '2012-01-15 23:41:53', '2012-01-15 23:41:53', 2),
(117, 'Thanh04071976', '9f61cf1215c96b2756b241bd17fbd736', '<NAME>\r\n', 0, '<EMAIL>', '1976-07-04 00:00:00', '14/224 Nguyễn Văn Linh, P. Long Hòa, Q. Bình Thủy, TP. Cần Thơ', '08681795547', '2012-01-16 04:04:01', '2012-01-16 04:04:01', 2),
(118, 'THO-92', '3f651c2a75a8b32fcc7e246898860ac1', '<NAME>', 1, '<EMAIL>', '1992-09-28 00:00:00', '380 Nguyễn Văn Cừ, <NAME>, <NAME>, TP. Cần Thơ', '01620263592', '2012-01-19 04:04:01', '2012-01-19 04:04:01', 2),
(119, 'NGUYEN-LOC-28062000', '883ee3bfd0d193f9d8e543e78fc125a1', 'Nguyễn Lộc', 1, '<EMAIL>', '2000-06-28 00:00:00', '82 Ch<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01275393084', '2012-01-20 04:04:01', '2012-01-20 04:04:01', 2),
(120, 'quan.phuongthido.93.07.31', '3fbcbd9f358e44eb9481b9f137ff3aae', 'Đỗ Thị Phương Quân\r\n', 0, '<EMAIL>', '1993-07-31 00:00:00', '95A/44 Trương Văn Diễn, <NAME>, Q. Ô Môn, TP. Cần Thơ', '01275522081', '2012-01-25 04:04:01', '2012-01-25 04:04:01', 2),
(121, 'Huu_khang\r\n_1982', '140a69d8cf1cc0ee4cc5bd8bb42244ae', '<NAME>\r\n', 1, '<EMAIL>', '1982-06-15 00:00:00', '225 Lý Tự Trọng, <NAME>, <NAME>, TP. Cần Thơ', '01278231960', '2012-02-19 04:04:01', '2012-02-19 04:04:01', 2),
(122, 'n_t-huyen08-11-1988', '6191a140c835ceeb01e7a61fccc91f7a', 'N<NAME>n\r\n', 0, '<EMAIL>', '1988-11-08 00:00:00', '34 Trần Văn Hoài, P. <NAME>, <NAME>, TP. Cần Thơ', '0880831082', '2012-02-20 04:04:01', '2012-02-20 04:04:01', 2),
(123, 'anhle_huynhthivang0108', '1a54d1e0f837cf8e27d4e8c34e8b436b', '<NAME>h\r\n', 0, '<EMAIL>', '1979-08-01 00:00:00', '272 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01868856432', '2012-02-23 04:04:01', '2012-02-23 04:04:01', 2),
(124, 'NGUYEN_TRUNGDUNG_1979', 'ea616be0094334b9f1bcdaefa831e07a', 'Nguyễn Trung Dũng\r\n', 1, '<EMAIL>', '1979-12-03 00:00:00', '152 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01258883461', '2012-02-23 13:08:11', '2012-02-23 13:08:11', 2),
(125, 'NGUYETLETHIMONG05011990', '33283fa26e1221a538afc2117bbac482', 'Lê Thị Mộng Nguyệt\r\n', 0, '<EMAIL>', '1990-01-05 00:00:00', '94B/270 Hòa Bình, P. Tân An, Q. <NAME>, TP. Cần Thơ', '01695737194', '2012-03-18 13:08:11', '2012-03-18 13:08:11', 2),
(126, 'Van_tuyen\r\n_2000-04-19', '79c776b6ab0532209dc9f80b965f7745', 'Đỗ Lê Văn Tuyển\r\n', 1, '<EMAIL>', '2000-04-19 00:00:00', '76G/110 Ngô Gia Tự, <NAME>, <NAME>, TP. Cần Thơ', '01643421066', '2012-03-18 15:49:07', '2012-03-18 15:49:07', 2),
(127, 'LeHuu-Thuc43', 'a450879252b25392ffbbc8d888910109', 'Lê Hữu Thực\r\n', 1, '<EMAIL>', '1943-09-04 00:00:00', '241 Đinh C<NAME>, <NAME>, Q. Bình Thủy, TP. Cần Thơ', '01246674769', '2012-03-19 15:49:07', '2012-03-19 15:49:07', 2),
(128, 'PSMAI.100600', 'e296c2eb379949343f6c9e5ab2dd1e76', '<NAME>ai\r\n', 0, '<EMAIL>', '2000-06-10 00:00:00', '123 Tỉnh lộ 923, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '08688622380', '2012-03-26 15:49:07', '2012-03-26 15:49:07', 2),
(129, 'pham-tuyetchi_03', 'c71332572e17123deb5a10f0df63a37e', '<NAME>\r\n', 0, '<EMAIL>', '2003-01-05 00:00:00', '119C/105 Trần Ngọc Quế, <NAME>, Q. Ninh Kiều, TP. Cần Thơ', '01280787623', '2012-04-18 15:49:07', '2012-04-18 15:49:07', 2),
(130, 'Phuc-1990', 'e802503f058094cecfd6b8e096e42e1d', '<NAME>c\r\n', 1, '<EMAIL>', '1990-06-27 00:00:00', '139 Xô Viết Nghệ Tĩnh, <NAME>, <NAME>, TP. Cần Thơ', '0940205323', '2012-05-02 15:49:07', '2012-05-02 15:49:07', 2),
(131, 'vien03051983', '819552ae0fcf8e124f1c0cd14d076e5a', 'Nguyễ<NAME>ên\r\n', 1, '<EMAIL>', '1983-05-03 00:00:00', '395 Mậu Thân, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '0929474481', '2012-05-06 15:49:07', '2012-05-06 15:49:07', 2),
(132, 'tuyetthanhthinguyenbui2307', '149b46311bbba267b67789d1a265bab7', 'Bùi Nguyễn Thị Thanh Tuyết\r\n', 0, '<EMAIL>', '1995-07-23 00:00:00', '371 Hòa Bình, <NAME>, Q. <NAME>, TP. Cần Thơ', '0932023507', '2012-05-19 15:49:07', '2012-05-19 15:49:07', 2),
(133, 'NTMTram0809', '6a041d697119e25e4a0025602dec2ea2', 'Nguy<NAME> Trâm\r\n', 0, '<EMAIL>', '1993-09-08 00:00:00', '181 Đ<NAME>, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '01288959801', '2012-05-19 15:49:07', '2012-05-19 15:49:07', 2),
(134, 'hathienpham611025', 'ac7939528db9618e5b04e7194d4dd778', '<NAME>\r\n', 0, '<EMAIL>', '1961-10-25 00:00:00', '310 Qu<NAME>, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '09961343204', '2012-05-19 17:06:54', '2012-05-19 17:06:54', 2),
(135, 'THIEN_XUAN-NGUYEN.55', 'cbab684924592f13a9c4afaf48a27c46', 'Nguyễn Xuân Thiện\r\n', 1, '<EMAIL>', '1955-10-23 00:00:00', '118 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01864726765', '2012-05-19 19:25:17', '2012-05-19 19:25:17', 2),
(136, 'dinh-nguyenbinh-17-10-1982', '88c29400b7afc718f5c02186879ff7e3', '<NAME>ịnh\r\n', 1, '<EMAIL>', '1982-10-17 00:00:00', '274 Tr<NAME>, P. <NAME>, <NAME>, TP. Cần Thơ', '01630301519', '2012-05-26 19:25:17', '2012-05-26 19:25:17', 2),
(137, 'NGUYET_ANH1922-08-24', 'a35cabe8faf0392f8e0e311239ec1980', '<NAME>\r\n', 0, '<EMAIL>', '1922-08-24 00:00:00', '294 Qu<NAME>, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01644692432', '2012-06-02 19:25:17', '2012-06-02 19:25:17', 2),
(138, 'NGHIAMINHKHUU950812', '158a6fd4c7ac26c3f1d192b2b768849a', 'Khưu Minh Nghĩa\r\n', 1, '<EMAIL>', '1995-08-12 00:00:00', '278 Nguyễn Văn Cừ, <NAME>, <NAME>, TP. Cần Thơ', '0931789645', '2012-06-02 20:26:33', '2012-06-02 20:26:33', 2),
(139, 'TUYET-THANH\r\n-03', '988c1c697adc613ec79c1323c3c57eb5', 'Huỳnh <NAME>anh\r\n', 0, '<EMAIL>', '2003-04-11 00:00:00', '137 <NAME>, <NAME>, TP. Cần Thơ', '0925799171', '2012-06-06 20:26:33', '2012-06-06 20:26:33', 2),
(140, 'congvannguyen_22101985', 'cf6e05d835ca26329c52f70dd1fe3aa2', 'Nguyễn Văn Công\r\n', 1, '<EMAIL>', '1985-10-22 00:00:00', '159/384 Nguyễn Trãi, <NAME>, <NAME>, TP. Cần Thơ', '01639195927', '2012-06-07 06:42:52', '2012-06-07 06:42:52', 2),
(141, 'THAO-1996', '26ab0fe08f8159471215e29a3c0cc11a', '<NAME>\r\n', 0, '<EMAIL>', '1996-03-07 00:00:00', '88/133 CMT8, <NAME>, <NAME>, TP. Cần Thơ', '0901876779', '2012-06-10 06:42:52', '2012-06-10 06:42:52', 2),
(142, 'quy_vanle00', '4a1c0d7dc4f3ea79599129916b5def53', '<NAME>\r\n', 1, '<EMAIL>', '2000-09-30 00:00:00', '200E/148 Ngu<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01268699854', '2012-06-11 02:51:26', '2012-06-11 02:51:26', 2),
(143, 'Nga-DoPhamThiBich-0604', 'f4086aeae517cd8dbfe8a25294797612', 'Đỗ Phạm Thị Bích Ngà\r\n', 0, 'D-P-T-B-NG<EMAIL>', '2000-04-06 00:00:00', '157 Mậu Thân, <NAME>, <NAME>, TP. Cần Thơ', '01216934489', '2012-06-24 02:51:26', '2012-06-24 02:51:26', 2),
(144, 'NguyetNguyen_Thu_1938', 'a57aa10c852682acc5dfecb376bcd3c8', 'Nguyễn Thu Nguyệt\r\n', 0, '<EMAIL>', '1938-10-09 00:00:00', '164 Trần Hưng Đạo, <NAME>, <NAME>, TP. Cần Thơ', '01867144049', '2012-06-24 13:49:59', '2012-06-24 13:49:59', 2),
(145, 'Bichhang\r\n.1980', '9dd0a2e236eca1f914d531d999082691', 'Nguyễn Lê Bích Hằng\r\n', 0, '<EMAIL>', '1980-12-12 00:00:00', '179/155 Tỉnh lộ 923, P. Trường Lạc, Q. Ô Môn, TP. Cần Thơ', '01275093776', '2012-06-30 13:49:59', '2012-06-30 13:49:59', 2),
(146, 'vien-tran-van_00', 'b227b1f173e0d5ed434ccc9b8f188cbf', 'Trần Văn Viên\r\n', 1, '<EMAIL>', '2000-06-28 00:00:00', '70 Võ Văn Kiệt, P. Bình Thủy , Q. Bình Thủy, TP. Cần Thơ', '01261038113', '2012-07-22 13:49:59', '2012-07-22 13:49:59', 2),
(147, 'LOAN19960130', '9705081c7f2a9ca4e8f4ab8205a17f4b', 'N<NAME>\r\n', 0, '<EMAIL>', '1996-01-30 00:00:00', '194 3/2, P. <NAME>, Q. Ninh Kiều, TP. Cần Thơ', '01627216840', '2012-07-23 12:39:04', '2012-07-23 12:39:04', 2),
(148, 'TAMNGUYENTHIEN19780708', 'e22be0d96be5224769589a2804002a35', 'Nguyễn Thiện Tâm\r\n', 1, '<EMAIL>', '1978-07-08 00:00:00', '365 CMT8, P. C<NAME>, Q. Ninh Kiều, TP. Cần Thơ', '01648616903', '2012-07-28 12:39:04', '2012-07-28 12:39:04', 2),
(149, 'Hung_ngoc\r\n_2000.05.15', 'f938fde408a6a5392159fda138e5bd11', 'Lê Hùng Ngọc\r\n', 1, '<EMAIL>', '2000-05-15 00:00:00', '291 Nguyễn Truyền Thanh, P. Bình Thủy, Q. Bình Thủy, TP. Cần Thơ', '01682066575', '2012-07-28 14:56:24', '2012-07-28 14:56:24', 2),
(150, 'Hoai-Nguyen-Le.02-05-30', 'ef5a73ee08c2c0a4c5c0aaead25b6dde', '<NAME>', 1, '<EMAIL>', '2002-05-30 00:00:00', '59C/202 Trần Hưng Đạo, P. An Nghiệp, Q. Ninh Kiều, TP. Cần Thơ', '01658421770', '2012-07-28 22:59:13', '2012-07-28 22:59:13', 2),
(151, 'DINHHUYNHHA300983', '06fb14ba1c8b8c8e9a39042ffc6e3c11', '<NAME>', 1, '<EMAIL>', '1983-09-30 00:00:00', '172 Bùi Hữu Nghĩa, P. Bình Thủy, Q. Bình Thủy, TP. Cần Thơ', '0891971098', '2012-07-29 22:52:02', '2012-07-29 22:52:02', 2),
(152, 'Nhat_huy\r\n.1996', '047dc168350aa1c4e32c906213eb811a', 'Nguyễn Nhật Huy\r\n', 1, '<EMAIL>', '1996-09-27 00:00:00', '373 Trần Quang Diệu, P. An Thới, Q. Bình Thủy, TP. Cần Thơ', '01268120796', '2012-08-07 22:52:02', '2012-08-07 22:52:02', 2),
(153, 'KhaiVuongViet81', '868015ddb81b1789f1ab60f8dddab9fa', 'Vương Việt Khải\r\n', 1, '<EMAIL>', '1981-12-15 00:00:00', '<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01260454199', '2012-08-21 22:52:02', '2012-08-21 22:52:02', 2),
(154, 'Ledien1304', '266d367dc69b0565f9c83ec5e275c761', 'Trần Lê Ðiền', 1, '<EMAIL>', '2004-04-13 00:00:00', '104 Lý <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01257976724', '2012-09-14 22:52:02', '2012-09-14 22:52:02', 2),
(155, 'THI_CUONG\r\n.51.03.03', '4cba2a9097151f1aa3f5bae1e41940b5', 'Trần Thị Cương\r\n', 0, '<EMAIL>', '1951-03-03 00:00:00', '29/312 30/4, <NAME>, <NAME>, TP. Cần Thơ', '01676936029', '2012-09-15 03:13:09', '2012-09-15 03:13:09', 2),
(156, 'NHI_MINH_THI_NGO-78', '67022b6fdccc103d4f819c0f75d02b1d', '<NAME>hi\r\n', 0, '<EMAIL>', '1978-05-08 00:00:00', '334 Nguyễn Văn Linh, <NAME>, <NAME>, TP. Cần Thơ', '01636501004', '2012-09-24 03:13:09', '2012-09-24 03:13:09', 2),
(157, 'Luc-The-Nguyen-1944', 'e25ea45e79b5cf656ac29cc86d48ab77', 'N<NAME>c\r\n', 1, '<EMAIL>', '1944-07-21 00:00:00', '251 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01286106039', '2012-09-24 04:02:37', '2012-09-24 04:02:37', 2),
(158, 'PHAN_THI_MAICHI_1943', '633ab72894fbc9d04c969f44e863bce8', '<NAME>i\r\n', 0, '<EMAIL>', '1943-09-01 00:00:00', '43/144 Nguyễn Vă<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01215056411', '2012-10-19 04:02:37', '2012-10-19 04:02:37', 2),
(159, 'cuongdactran22101988', 'bb0855b6a81b0a750879a285480322b7', 'Trần Ðắc Cường\r\n', 1, '<EMAIL>', '1988-10-22 00:00:00', '75 Thái Thị Hạnh, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '0918830376', '2012-10-20 04:02:37', '2012-10-20 04:02:37', 2),
(160, 'P.T_LBinh21', '30acb1c29d0bf0318fa22fac7c78df22', '<NAME>ình\r\n', 0, '<EMAIL>', '1921-10-18 00:00:00', '182 3/2, <NAME>, <NAME>, TP. Cần Thơ', '0965233142', '2012-11-06 04:02:37', '2012-11-06 04:02:37', 2),
(161, 'h-an-96', '9e4eb48bcfdcff3c55731cea816e9c06', 'Huỳnh Ân', 1, '<EMAIL>', '1996-10-18 00:00:00', '148 Nguyễn Văn Bông, <NAME>, <NAME>, TP. Cần Thơ', '0901261187', '2012-11-22 04:02:37', '2012-11-22 04:02:37', 2),
(162, 'L.NT-Viet-1990', 'c9a946ca64186b91f1667046a58e5752', 'Lê Nguyễn Tuấn Việt\r\n', 1, '<EMAIL>', '1990-10-22 00:00:00', '332 3/2, <NAME>, <NAME>, TP. Cần Thơ', '0939558241', '2012-11-27 04:02:37', '2012-11-27 04:02:37', 2),
(163, 'lapcongnguyen20001210', 'e6ccec79fba498f479104ad6104a62c7', 'Nguyễn Công Lập\r\n', 1, '<EMAIL>', '2000-12-10 00:00:00', '11 Lộ Vòng Cung, <NAME>, <NAME>, TP. Cần Thơ', '01991466386', '2012-11-30 04:02:37', '2012-11-30 04:02:37', 2),
(164, 'THIENPHUOC1995_06_29', '4bb368a72502390954899e757e62b92a', '<NAME>c\r\n', 1, '<EMAIL>', '1995-06-29 00:00:00', '185A/97 Quang Trung, P. H<NAME>, Q. <NAME>, TP. Cần Thơ', '01679901758', '2012-11-30 04:54:07', '2012-11-30 04:54:07', 2),
(165, 'Duc10-09', '5a285e1ba0b7a41f00dce7f81811612f', '<NAME>ức\r\n', 1, '<EMAIL>', '1998-09-10 00:00:00', '398 QL1, P. <NAME>, Q. C<NAME>, TP. Cần Thơ', '09984808230', '2012-12-15 04:54:07', '2012-12-15 04:54:07', 2),
(166, 'THO2103', 'c0e4522b7b2c9c60c66483e17de21f7e', 'Đỗ Ngô Quỳnh Thơ\r\n', 0, 'tho02<EMAIL>', '2002-03-21 00:00:00', '173 Nguyễn Đệ, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01225474034', '2012-12-23 04:54:07', '2012-12-23 04:54:07', 2),
(167, 'QUANG_TRAN_VAN19920525', '51e6511cdc6b45fe7cab4f14b1c1fbaf', 'Trần Văn Quảng\r\n', 1, '<EMAIL>', '1992-05-25 00:00:00', '19/67/32/246 Nguyễn Văn Cừ, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '08682016995', '2012-12-23 07:37:04', '2012-12-23 07:37:04', 2),
(168, 'dn_th_diem-87', 'cadec417b27bc1680beaf9b54372177e', 'Đ<NAME> Diễm\r\n', 0, '<EMAIL>', '1987-01-22 00:00:00', '208 Phan Văn Trị, P. An Phú, Q. <NAME>, TP. Cần Thơ', '0883615820', '2012-12-23 07:37:04', '2012-12-23 07:37:04', 2),
(169, 'Nguyen_lac_19890801', '94e2a556b17c297ebd37a4212090f91d', '<NAME>', 1, '<EMAIL>', '1989-08-01 00:00:00', '229 Võ Văn Kiệt, P. <NAME>, Q. Bình Thủy, TP. Cần Thơ', '01888574373', '2012-12-23 07:37:04', '2012-12-23 07:37:04', 2),
(170, 'vietnhan191181', '96ce028a7ec7184b35363e6baddd2938', 'Nguyễn Việt Nhân\r\n', 1, '<EMAIL>', '1981-11-19 00:00:00', '18 Đ<NAME>, P. <NAME>, Q. Bình Thủy, TP. Cần Thơ', '0912599182', '2013-01-05 07:37:04', '2013-01-05 07:37:04', 2),
(171, 'Oanh1990', '0d988d07e9ad59da863f8038b5a433b9', 'Nguyễn Võ Thục Oanh\r\n', 0, '<EMAIL>', '1990-01-11 00:00:00', '356 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01295897830', '2013-01-06 02:08:02', '2013-01-06 02:08:02', 2),
(172, 'T-N-TD-PHUC-1979', '1d4aca2bf2ed4512f08e6b079398366c', 'Trần <NAME>m Phúc\r\n', 0, '<EMAIL>', '1979-03-01 00:00:00', '<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0887628829', '2013-01-13 02:08:02', '2013-01-13 02:08:02', 2),
(173, 'nguyenhanhi2002', '85c4558b8d0699ed98402b3791552762', '<NAME>\r\n', 0, '<EMAIL>', '2002-12-31 00:00:00', '263 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01694784177', '2013-01-14 00:16:42', '2013-01-14 00:16:42', 2),
(174, 'nguyenquynh-nga-06051988', '8632e6f162f821849619e53d5f56aec6', 'Nguyễn Quỳnh Nga\r\n', 0, '<EMAIL>', '1988-05-06 00:00:00', '200/383 Bùi Hữu Nghĩa, P. Long Hòa , Q. Bình Thủy, TP. Cần Thơ', '01671968477', '2013-01-14 00:56:28', '2013-01-14 00:56:28', 2),
(175, 'L_P_LE01-04-06', 'de606e5b217496c9faa9f68952e6e3ae', 'Lê Phượng Lệ\r\n', 0, '<EMAIL>', '2001-04-06 00:00:00', '300 Tỉnh lộ 923, P. Trường Lạc, Q. Ô Môn, TP. Cần Thơ', '01653923339', '2013-01-23 00:56:28', '2013-01-23 00:56:28', 2),
(176, 'HOP0711', '1c872a14dad35be743f5680d5cb381b9', 'Nguyễn Văn Hợp\r\n', 1, '<EMAIL>', '1990-11-07 00:00:00', '144 X<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01653008553', '2013-01-26 00:56:28', '2013-01-26 00:56:28', 2),
(177, 'HoangPhamSy-19820415', '51b9ea5aa3604dcf824b065c6e358fab', '<NAME>\r\n', 1, '<EMAIL>', '1982-04-15 00:00:00', '13/54/66/35 Nguyễn Thái Học, <NAME>, <NAME>, TP. Cần Thơ', '01634566227', '2013-01-26 02:53:46', '2013-01-26 02:53:46', 2),
(178, 'MIEN.HAI.PHAM.TRAN92.12.07', '272e96358860971ba05922fd764c1039', '<NAME>\r\n', 0, '<EMAIL>', '1992-12-07 00:00:00', '359 Lê Hồng Phong, P. Trà Nóc, Q. Bình Thủy, TP. Cần Thơ', '01630385016', '2013-01-29 02:53:46', '2013-01-29 02:53:46', 2),
(179, 'KhiemVu-Chi-82', '044779915a996830671ec734d2d49e6b', '<NAME>\r\n', 1, '<EMAIL>', '1982-02-17 00:00:00', '165A/306 Trần Kiết Tường, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '01641689543', '2013-02-18 02:53:46', '2013-02-18 02:53:46', 2),
(180, 'th.t.nhi.17.12.2001', 'cec80b06d640fa2382990fd286b5ca4a', 'Trần Huỳnh Tâm Nhi\r\n', 0, '<EMAIL>', '2001-12-17 00:00:00', '40 Xô Viết Nghệ Tĩnh, P. An Cư, Q. Ninh Kiều, TP. Cần Thơ', '09938494089', '2013-02-18 02:53:46', '2013-02-18 02:53:46', 2),
(181, 'son_nguyen_truong94', '8cb885608befa21fa659192f2c1b867f', '<NAME>', 1, '<EMAIL>', '1994-10-18 00:00:00', '148/181 H<NAME>, P. Thới Bình, <NAME>, TP. Cần Thơ', '01659705475', '2013-02-28 02:53:46', '2013-02-28 02:53:46', 2),
(182, 'TrieuNguyen940225', 'cb239fc14a31e92ae09b5bd1a6730c6c', '<NAME>', 1, '<EMAIL>', '1994-02-25 00:00:00', '60 V<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0966920595', '2013-03-15 02:53:46', '2013-03-15 02:53:46', 2),
(183, 'phanlethanhvu870420', 'b5e7874c131d5a9998220cf6a257edcf', '<NAME> Vũ\r\n', 1, '<EMAIL>', '1987-04-20 00:00:00', '143A/313 Ph<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01659992464', '2013-04-09 02:53:46', '2013-04-09 02:53:46', 2),
(184, 'man.nguyentranthi_thanh88.04.17', '1106ff72d62adf1ff3175b6e29a599c0', 'Nguyễn Trần Thị Thanh Mẫn\r\n', 0, '<EMAIL>', '1988-04-17 00:00:00', '369 Nguyễn Văn Linh, P. <NAME>, Q. Ninh Kiều, TP. Cần Thơ', '01687924064', '2013-04-15 02:53:46', '2013-04-15 02:53:46', 2),
(185, 'TN.Son12.03', '265c1cba7721f22d6b406ef11cfcb72e', 'Trần Nam Sơn\r\n', 1, '<EMAIL>', '1998-03-12 00:00:00', '114 Đ<NAME>, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '09920898914', '2013-04-20 02:53:46', '2013-04-20 02:53:46', 2),
(186, 'mong.hoan29.03.84', 'b2732ed80d2387d700dbd3864f00a7fb', 'Lê Mộng Hoàn\r\n', 1, '<EMAIL>', '1984-03-29 00:00:00', '51 Hu<NAME>, P. <NAME>, Q. Bình Thủy, TP. Cần Thơ', '01995635895', '2013-04-30 02:53:46', '2013-04-30 02:53:46', 2),
(187, 'Quynh.lam1940', '4c6122e41fb74c05971634e385edb334', 'N<NAME>m\r\n', 0, '<EMAIL>', '1940-10-26 00:00:00', '144/19 Quang Trung, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01682240016', '2013-05-01 02:53:46', '2013-05-01 02:53:46', 2);
INSERT INTO `khachhang` (`kh_ma`, `kh_taiKhoan`, `kh_matKhau`, `kh_hoTen`, `kh_gioiTinh`, `kh_email`, `kh_ngaySinh`, `kh_diaChi`, `kh_dienThoai`, `kh_taoMoi`, `kh_capNhat`, `kh_trangThai`) VALUES
(188, 'lap19791217', 'ba0434612b9f64a436cf1557224d9947', 'Trần Gia Lập\r\n', 1, '<EMAIL>', '1979-12-17 00:00:00', '93 Châu Văn Liêm, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01244497120', '2013-05-01 06:10:23', '2013-05-01 06:10:23', 2),
(189, 'nhahuynh140560', 'af0234d5e4cfc2f323a02037293a42ab', '<NAME>', 1, '<EMAIL>', '1960-05-14 00:00:00', '388 CMT8, P. An Thới , Q. Bình Thủy, TP. Cần Thơ', '01670117231', '2013-05-01 16:45:03', '2013-05-01 16:45:03', 2),
(190, 'phuonghanhthile_13_02_83', '6331cc12c480a2d991ba7b77b375e3c0', 'Lê Thị Hạnh Phương\r\n', 0, '<EMAIL>', '1983-02-13 00:00:00', '67/100 30/4, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '09996954411', '2013-05-15 16:45:03', '2013-05-15 16:45:03', 2),
(191, 'vo.vanvuong-tran-59-08-01', '276018b0f24a7486d6a2e1ef4279bf50', 'Trần Vương Văn Võ\r\n', 1, '<EMAIL>', '1959-08-01 00:00:00', '363 Võ Văn Kiệt, P. An Thới, Q. <NAME>, TP. Cần Thơ', '0941763141', '2013-06-04 16:45:03', '2013-06-04 16:45:03', 2),
(192, 'BUITUONG04101997', '5964fa19eae97625e8db9da30f3a3d33', '<NAME>', 1, '<EMAIL>', '1997-10-04 00:00:00', '26/176 N<NAME>, P. <NAME>, <NAME>, TP. Cần Thơ', '01676673390', '2013-06-19 16:45:03', '2013-06-19 16:45:03', 2),
(193, 'VOTHAIMINH99', 'c3514f107a3fef3bdc7ae93cdc6bb72d', '<NAME>\r\n', 1, '<EMAIL>', '1999-07-18 00:00:00', '372 Phan Văn Trị, P. An Phú, Q. <NAME>, TP. Cần Thơ', '01213059850', '2013-06-19 16:45:03', '2013-06-19 16:45:03', 2),
(194, 'GIANG470329', '8706351079e378112adf4d407d245cc3', 'N<NAME>\r\n', 0, '<EMAIL>', '1947-03-29 00:00:00', '114/266 Lê Hồng Phong, P. Bình Thủy, Q. Bình Thủy, TP. Cần Thơ', '01233197877', '2013-06-24 16:45:03', '2013-06-24 16:45:03', 2),
(195, 'Nguyen_ThiYenPhuong1956', '42373ba3dab64ec610a64f7c78615387', 'Nguyễn Thị Yến Phương\r\n', 0, '<EMAIL>', '1956-02-24 00:00:00', '353 Lê Hồng Phong, P. Bình Thủy, Q. Bình Thủy, TP. Cần Thơ', '01665459787', '2013-06-27 16:45:03', '2013-06-27 16:45:03', 2),
(196, 'dong_nghi\r\n_19841209', 'b46e56ce03450f622dd0638fe177f806', 'Nguyễn Ðông Nghi\r\n', 0, '<EMAIL>', '1984-12-09 00:00:00', '29/246 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01686251488', '2013-07-12 16:45:03', '2013-07-12 16:45:03', 2),
(197, 'HAI.56-10-31', 'ace47a4cbc17e93dccfae43819de6f55', '<NAME>ải\r\n', 1, '<EMAIL>', '1956-10-31 00:00:00', '382 QL1, <NAME>, <NAME>, TP. Cần Thơ', '01667804386', '2013-07-14 16:45:03', '2013-07-14 16:45:03', 2),
(198, 'tamthanhthihuynh24081997', '78aab87c7d871f1a1b9703457ee5fa43', '<NAME>\r\n', 0, '<EMAIL>', '1997-08-24 00:00:00', '82 QL91, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '01280384151', '2013-07-29 16:45:03', '2013-07-29 16:45:03', 2),
(199, 'T.H-TRI.14_10_1983', 'd0e839bad8103494fd81f36a0ee777ae', '<NAME>í\r\n', 1, '<EMAIL>', '1983-10-14 00:00:00', '173D/252 30/4, P. <NAME>, <NAME>, TP. Cần Thơ', '01215768805', '2013-08-01 16:45:03', '2013-08-01 16:45:03', 2),
(200, 'L-H-KHANG19990509', 'bb92b4ef197aa2466d82a66b8a44fe7c', 'L<NAME> Khang\r\n', 1, '<EMAIL>', '1999-05-09 00:00:00', '143B/80 3/2, <NAME>, <NAME>, TP. Cần Thơ', '01663100199', '2013-08-01 17:53:33', '2013-08-01 17:53:33', 2),
(201, 'BTLam_140589', '49a7908133db5df5ae3844fcf7f73148', 'Bùi Thị Lâm\r\n', 0, '<EMAIL>', '1989-05-14 00:00:00', '94/25 Nguyễn Văn Linh, P. Thới An Đông, Q. Bình Thủy, TP. Cần Thơ', '09942018615', '2013-08-11 17:53:33', '2013-08-11 17:53:33', 2),
(202, 'HUNG18_05', 'f24462a16909b66f190a18c2b21f9b6c', '<NAME>ng\r\n', 1, '<EMAIL>', '2004-05-18 00:00:00', '152 Th<NAME>, <NAME>, Q. Ô Môn, TP. Cần Thơ', '01626341120', '2013-08-12 06:58:27', '2013-08-12 06:58:27', 2),
(203, 'Ha060188', '3b340e03e85e7adee9941ffbdf4d392f', '<NAME>\r\n', 0, '<EMAIL>', '1988-01-06 00:00:00', '330 Nguyễ<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01637335364', '2013-08-12 06:58:27', '2013-08-12 06:58:27', 2),
(204, 'HoaLeDoThiMong010304', '604b62284b272574bd8273fb08c18bd1', '<NAME>oa\r\n', 0, '<EMAIL>', '2004-03-01 00:00:00', '30/43/28/201 QL1, P. <NAME>, Q. C<NAME>, TP. Cần Thơ', '01215388662', '2013-08-22 06:58:27', '2013-08-22 06:58:27', 2),
(205, 'mi-hathi24-10', 'd008f393340b5ba64c69dc508268f030', 'Hà Thị Mi\r\n', 0, '<EMAIL>', '1984-10-24 00:00:00', '214 Trần Hưng Đạo, P. <NAME>, <NAME>, TP. Cần Thơ', '01880811096', '2013-08-31 06:58:27', '2013-08-31 06:58:27', 2),
(206, 'Chien_DinhPham-24_11_62', '5646371b48c27e520287d3cd68ca9861', 'Phạm Đình Chiến\r\n', 1, '<EMAIL>', '1962-11-24 00:00:00', '85 QL91, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '0933798818', '2013-09-05 06:58:27', '2013-09-05 06:58:27', 2),
(207, 'NguyenThiHanhNga.17.01.98', '0fdf076bee55e1903b8d19dd035cf52b', 'Nguyễn Thị Hạnh Nga\r\n', 0, '<EMAIL>', '1998-01-17 00:00:00', '134A/60 Nguyễn Thị Minh Khai, <NAME>, <NAME>, TP. Cần Thơ', '01676826865', '2013-09-18 06:58:27', '2013-09-18 06:58:27', 2),
(208, 'TAM120148', '394c0491c48778612093e9eb4d0fcbf0', 'Ngô Văn Tâm\r\n', 1, '<EMAIL>', '1948-01-12 00:00:00', '381 Ngô Gia Tự, <NAME>, <NAME>, TP. Cần Thơ', '01200014427', '2013-09-18 10:32:36', '2013-09-18 10:32:36', 2),
(209, 'NKIET-19841225', 'e909523d31fe5252cdfc37b5e3de47bd', '<NAME>', 1, '<EMAIL>', '1984-12-25 00:00:00', '84/205 Ngô G<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01237689933', '2013-10-11 10:32:36', '2013-10-11 10:32:36', 2),
(210, 'hong.nhuan\r\n_86.01.30', '0bbed0b0be9723dcfcddc0decd401c0c', 'Ng<NAME> Nhuận\r\n', 1, '<EMAIL>', '1986-01-30 00:00:00', '165 Lý <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01865857135', '2013-10-14 10:32:36', '2013-10-14 10:32:36', 2),
(211, 'NuongOngDuyen19531220', 'c698e3b4212f80216064b9037b49bd38', 'Ông Duyên Nương\r\n', 0, '<EMAIL>', '1953-12-20 00:00:00', '61 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '09957010374', '2013-10-14 11:50:51', '2013-10-14 11:50:51', 2),
(212, 'Giap1994', '12e9db13eaf89dbb7a9cb95edae727a6', 'Lê Văn Giáp\r\n', 1, '<EMAIL>', '1994-10-22 00:00:00', '330 Nguyễn Văn Linh, <NAME>, <NAME>, TP. Cần Thơ', '01222095131', '2013-10-14 12:52:15', '2013-10-14 12:52:15', 2),
(213, 'Mai_1988', '3a9c463d01b0b592188bc24d96249ac2', '<NAME>ai\r\n', 0, '<EMAIL>', '1988-06-04 00:00:00', '157 Quang Trung, <NAME>, <NAME>, TP. Cần Thơ', '0937702389', '2013-10-17 12:52:15', '2013-10-17 12:52:15', 2),
(214, 'L.TSinh1980', 'ac0529a5a85b74b51fbbbb55b19c2063', 'Lê Triển Sinh\r\n', 1, 'sinh_le.<EMAIL>', '1980-10-19 00:00:00', '138/261 Trần Văn Hoài, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01258687988', '2013-10-17 20:09:49', '2013-10-17 20:09:49', 2),
(215, 'nguyentrung20-06', 'b6693bcae4f9e6671b2af004993689a3', '<NAME>', 1, '<EMAIL>', '1990-06-20 00:00:00', '262 <NAME>, <NAME>, Q. <NAME>, TP. Cần Thơ', '01680610086', '2013-10-25 20:09:49', '2013-10-25 20:09:49', 2),
(216, 'THINH1993', 'fddd8199e7ec09b2fb75100b7fa94e46', '<NAME>ịnh\r\n', 1, '<EMAIL>', '1993-09-03 00:00:00', '2<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01867855268', '2013-10-26 03:46:54', '2013-10-26 03:46:54', 2),
(217, 'VIET_08-01-2004', '1d7b69a9c71a2245589597c94fe4b0ae', 'Nguyễ<NAME> Việt\r\n', 1, '<EMAIL>', '2004-01-08 00:00:00', '145 Nguyễn Văn Cừ, <NAME>, <NAME>, TP. Cần Thơ', '01657099519', '2013-10-26 04:35:52', '2013-10-26 04:35:52', 2),
(218, 'Diemtrang19700629', 'ab7eb415573643f9abc812bf24f25678', 'N<NAME> <NAME>ang\r\n', 0, '<EMAIL>', '1970-06-29 00:00:00', '7 Lê Lợi, <NAME>, <NAME>, TP. Cần Thơ', '01280195006', '2013-10-28 04:35:52', '2013-10-28 04:35:52', 2),
(219, 'BANH.THAI.THAO00_11_27', 'ad37616c647005dd6ea43397905803f2', 'Bành Thái Thảo\r\n', 0, 'Th<EMAIL>', '2000-11-27 00:00:00', '48 Trương Văn Diễn, P. Ph<NAME>, Q. Ô Môn, TP. Cần Thơ', '0925621058', '2013-11-02 04:35:52', '2013-11-02 04:35:52', 2),
(220, 'khanh.28_05_82', '32d6122035b7451204f9a62aeb42211c', 'Trần Nguyễn Minh Khánh\r\n', 1, '<EMAIL>', '1982-05-28 00:00:00', '1 <NAME>, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '01253126391', '2013-11-16 04:35:52', '2013-11-16 04:35:52', 2),
(221, 'VOTO-CHAU-05-01-82', 'e81e36b5678c7a49b5b4041c6674636c', '<NAME>', 1, '<EMAIL>', '1982-01-05 00:00:00', '91/26 Bùi Hữu Nghĩa, P. Bình Thủy, Q. Bình Thủy, TP. Cần Thơ', '01244630455', '2013-11-16 12:41:08', '2013-11-16 12:41:08', 2),
(222, 'NGUYENKIMTOAN010449', '229ce9d1f51f9cb5061ca448e98f317a', '<NAME>n\r\n', 1, '<EMAIL>', '1949-04-01 00:00:00', '295 CMT8, P. <NAME> Nghĩa, Q. Bình Thủy, TP. Cần Thơ', '0887097722', '2013-11-20 12:41:08', '2013-11-20 12:41:08', 2),
(223, 't-thuong87', 'f5ee56faa7b2ae4d8af22e51680507f7', 'Trần Thảo Hương\r\n', 0, '<EMAIL>', '1987-03-25 00:00:00', '52 Thái Thị Hạnh, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '0970652205', '2013-11-24 12:41:08', '2013-11-24 12:41:08', 2),
(224, 'TU.THIPHAM.540403', '40eab81ff07967e993197ea63ccedbd4', 'Phạm Thị Tú\r\n', 0, '<EMAIL>', '1954-04-03 00:00:00', '67A/206 Ngô G<NAME>, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01658698410', '2013-11-26 12:41:08', '2013-11-26 12:41:08', 2),
(225, 'my.loan\r\n_1996.04.25', '0cf9b8fab336c5ba2c32f8ac09ed8dfe', 'Trần Nguyễn Thị Mỹ Loan\r\n', 0, '<EMAIL>', '1996-04-25 00:00:00', '114 V<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01629868921', '2013-12-02 12:41:08', '2013-12-02 12:41:08', 2),
(226, 'VoViet.Son.2003.11.03', 'ac4f14263b5f970bc261a2ef9bd5f806', 'Võ Việt Sơn\r\n', 1, '<EMAIL>', '2003-11-03 00:00:00', '94 Ng<NAME>, P. <NAME>, <NAME>, TP. Cần Thơ', '0928049231', '2013-12-02 16:25:34', '2013-12-02 16:25:34', 2),
(227, 'TranVanHuan2307', 'e8f3a850d47928d048925720a7f44428', '<NAME>\r\n', 1, '<EMAIL>', '1980-07-23 00:00:00', '152/318 Bùi Hữu Nghĩa, P. <NAME> , Q. Bình Thủy, TP. Cần Thơ', '01658168104', '2013-12-14 16:25:34', '2013-12-14 16:25:34', 2),
(228, 'quyenvanpham0506', 'ab24efc534f2a361423f6bff8549a92e', '<NAME>\r\n', 0, '<EMAIL>', '1996-06-05 00:00:00', '361 Đinh C<NAME>, <NAME> , Q. Bình Thủy, TP. Cần Thơ', '0926158099', '2013-12-15 00:15:54', '2013-12-15 00:15:54', 2),
(229, 'tutrinh1999', 'a2f4a4e57c213ded43476a7322cb8bae', 'Ông Phan Thị Tú Trinh\r\n', 0, '<EMAIL>', '1999-03-25 00:00:00', '358 QL1, <NAME>, <NAME>, TP. Cần Thơ', '01292582040', '2014-01-09 00:15:54', '2014-01-09 00:15:54', 2),
(230, 'NHAN1990_08_07', 'ef849f5aa706dafba1cde06f9c31e120', '<NAME> Nhàn\r\n', 0, '<EMAIL>', '1990-08-07 00:00:00', '290 30/4, <NAME>, <NAME>, TP. Cần Thơ', '0946962402', '2014-01-22 00:15:54', '2014-01-22 00:15:54', 2),
(231, 'Tran-Minh-Hai0205', 'b9965e499f7ab824c5f7db9da0929b72', '<NAME>\r\n', 1, '<EMAIL>', '1991-05-02 00:00:00', '319 Lý Tự Trọng, <NAME>, <NAME>, TP. Cần Thơ', '01287730970', '2014-01-22 04:02:57', '2014-01-22 04:02:57', 2),
(232, 'Thinguyet30061986', '2d4d5f12d4cdfdc5ba2f9a55272acbcd', 'Huỳnh Thị Nguyệt\r\n', 0, '<EMAIL>', '1986-06-30 00:00:00', '32 Lý Tự Trọng, P. An Cư, Q. Ninh Kiều, TP. Cần Thơ', '09935765785', '2014-02-09 04:02:57', '2014-02-09 04:02:57', 2),
(233, 'LeNguyenManhCuong82', 'fe925723e90c1bb06b8bd15a6eaec059', 'Lê Nguyễn Mạnh Cương\r\n', 1, '<EMAIL>', '1982-02-06 00:00:00', '203 Hòa Bình, P. Tân An, Q. Ninh Kiều, TP. Cần Thơ', '01248272604', '2014-02-09 07:39:24', '2014-02-09 07:39:24', 2),
(234, 'lietnguyen511227', '86a3b1ca2a552f38ea5d5e9f258cc7b5', 'Nguyễn Liệt', 1, '<EMAIL>', '1951-12-27 00:00:00', '195 3/2, P. Hư<NAME>, Q. Ninh Kiều, TP. Cần Thơ', '0901457604', '2014-02-09 08:15:01', '2014-02-09 08:15:01', 2),
(235, 'NHINGUYEN.TRAN.THI-GIA30-10-1980', '9cb3ab37d97b324900c834c6c478eda8', 'Nguyễn Trần Thị Gia Nhi\r\n', 0, '<EMAIL>', '1980-10-30 00:00:00', '137/109 Nguyễn Th<NAME>, <NAME>, <NAME>ều, TP. Cần Thơ', '01636070162', '2014-02-21 08:15:01', '2014-02-21 08:15:01', 2),
(236, 'HANG_NGOC-NGUYEN-LE-91', '354b9784920eab7813c2157526824e07', 'Lê Nguyễn Ngọc Hằng\r\n', 0, '<EMAIL>', '1991-01-12 00:00:00', '227 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '09920859171', '2014-02-25 08:15:01', '2014-02-25 08:15:01', 2),
(237, 'thy_03', 'b6c3047937f084d947001ae64f6d3d74', 'Trần Bành Thị Mộng Thy\r\n', 0, '<EMAIL>', '2003-01-08 00:00:00', '280 Hòa Bình, <NAME>, <NAME>, TP. Cần Thơ', '01282533695', '2014-03-12 08:15:01', '2014-03-12 08:15:01', 2),
(238, 'PHATTRUONG.LE1108', '7b59a1bd7a45f8b5117d5044b486bae6', 'Lê Trường Phát\r\n', 1, '<EMAIL>', '1984-08-11 00:00:00', '22/345 Trần Hưng Đạo, <NAME>, <NAME>, TP. Cần Thơ', '01883313875', '2014-03-16 08:15:01', '2014-03-16 08:15:01', 2),
(239, 'son-le-danh-1974', 'da74b7eae0f186febfce2ca462174bbe', 'Lê Danh Sơn\r\n', 1, '<EMAIL>', '1974-03-04 00:00:00', '56/78/57 30/4, <NAME>, <NAME>ều, TP. Cần Thơ', '01654634593', '2014-03-16 12:54:44', '2014-03-16 12:54:44', 2),
(240, 'TOLYTHAI25081999', '8ece58b774d6de9b140c220b0d0722b9', 'Lý Thái Tổ\r\n', 1, '<EMAIL>', '1999-08-25 00:00:00', '58/117 Nguyễn Chí Thanh, P. Trà Nóc , Q. Bình Thủy, TP. Cần Thơ', '01265232763', '2014-03-16 12:54:44', '2014-03-16 12:54:44', 2),
(241, 'BinhHuong-To81', '1c0cb41ab4302cef5f460b232d2b6d35', 'Tô Hướng Bình\r\n', 1, '<EMAIL>', '1981-04-19 00:00:00', '242 30/4, P. Hưng Lợi, Q. Ninh Kiều, TP. Cần Thơ', '01669969050', '2014-03-17 12:54:44', '2014-03-17 12:54:44', 2),
(242, 'oanh_2005', 'd2f2acb8d6e47bb6f08ec75904452aaf', 'Võ Phùng <NAME>\r\n', 0, '<EMAIL>', '2005-01-21 00:00:00', '74/59 Phan Đình Phùng, P. <NAME>, <NAME>, TP. Cần Thơ', '01696257334', '2014-04-07 12:54:44', '2014-04-07 12:54:44', 2),
(243, 'CHIEN-NGUYEN.PHAM.VAN2004', 'e82872249c7c118f2755b7fb436c2ad2', '<NAME>ến\r\n', 1, '<EMAIL>', '2004-06-28 00:00:00', '46 Hai <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0934500466', '2014-04-07 17:33:23', '2014-04-07 17:33:23', 2),
(244, 'Tien-Huynh.Quynh-1946', '169232662b5939775d482f74fad447f6', 'Huỳnh Quỳnh Tiên\r\n', 0, '<EMAIL>', '1946-12-04 00:00:00', '87/205 3/2, P. <NAME>, <NAME>, TP. Cần Thơ', '0972087619', '2014-04-10 17:33:23', '2014-04-10 17:33:23', 2),
(245, 'AN-MINH_NGUYEN.VO27-05-1986', '9161c71be7f6393708122aa858b2a005', '<NAME>\r\n', 0, '<EMAIL>', '1986-05-27 00:00:00', '320 3/2, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '0971464116', '2014-04-13 17:33:23', '2014-04-13 17:33:23', 2),
(246, 'bbcuong80', 'e6a42da749f803cc5af73a2aace71c9b', 'B<NAME> Cường\r\n', 1, '<EMAIL>', '1980-02-26 00:00:00', '302 Xô Viết Nghệ Tĩnh, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '0936408409', '2014-04-13 19:03:58', '2014-04-13 19:03:58', 2),
(247, 'huong_nguyen_le.tram.04', '9a6863c1fd767aa9d604b8068d64e14d', 'Nguyễn Lê Trầm Hương\r\n', 0, '<EMAIL>', '2004-12-23 00:00:00', '259 H<NAME>, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01687230556', '2014-04-15 19:03:58', '2014-04-15 19:03:58', 2),
(248, 'nhi-ha.nguyen-thiminh11.10.1994', '6e44ac1888d9a1964d724383b655e60e', '<NAME> Nhi\r\n', 0, '<EMAIL>', '1994-10-11 00:00:00', '28<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01285014025', '2014-04-21 19:03:58', '2014-04-21 19:03:58', 2),
(249, 'CANH-NGUYEN_VUONG-VIEN05.07', '685dd45525640c57aede25a87d69a218', 'Nguyễn Vương Viễn Cảnh\r\n', 1, '<EMAIL>', '1982-07-05 00:00:00', '267 QL1, <NAME>, <NAME>, TP. Cần Thơ', '01697248621', '2014-04-22 00:42:46', '2014-04-22 00:42:46', 2),
(250, 'nguyenthilanchi170904', '8241d7549366bbfda824a167c592639d', '<NAME>\r\n', 0, '<EMAIL>', '2004-09-17 00:00:00', '116 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01665481739', '2014-05-13 00:42:46', '2014-05-13 00:42:46', 2),
(251, 'THIEN-NGUYEN-TRAN-57', 'ac0a231cf453f850fedb8e5b81f00872', '<NAME>', 1, '<EMAIL>', '1957-06-09 00:00:00', '176 <NAME>, <NAME> , <NAME>, TP. Cần Thơ', '0983028933', '2014-05-15 00:42:46', '2014-05-15 00:42:46', 2),
(252, 'Truc-90', '8e8e3fc83b65916a257861e371af41a5', 'Phạm <NAME>úc\r\n', 0, '<EMAIL>', '1990-05-24 00:00:00', '397 QL1, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01645165052', '2014-05-23 00:42:46', '2014-05-23 00:42:46', 2),
(253, 'MY.YEN.NGUYEN-LY-17-10-1981', 'ac1a51546b8b283894c4353e106ff8a1', 'Lý Nguyễn Yến My\r\n', 0, '<EMAIL>', '1981-10-17 00:00:00', '394 Nguyễn Văn Cừ, P. <NAME>, Q. Ninh Kiều, TP. Cần Thơ', '09999623557', '2014-05-27 00:42:46', '2014-05-27 00:42:46', 2),
(254, 'N_H_Mai88', 'e2917184149dafa3d914219372058b65', 'Nguyễn Hương Mai\r\n', 0, '<EMAIL>', '1988-01-24 00:00:00', '90 Võ Văn Tần, P. Tân An, Q. <NAME>, TP. Cần Thơ', '09960161126', '2014-05-28 00:42:46', '2014-05-28 00:42:46', 2),
(255, 'Anh-vu1947', 'e30e1300f5976e4db0b17e082e8048bf', '<NAME> Vũ\r\n', 1, '<EMAIL>', '1947-09-30 00:00:00', '383 Trần Văn Hoài, P. <NAME>, <NAME>, TP. Cần Thơ', '09999421866', '2014-06-06 00:42:46', '2014-06-06 00:42:46', 2),
(256, 'hoa-87_03_28', '5654ba0c2a4a56673d788e6a56c54c8e', '<NAME>', 1, '<EMAIL>', '1987-03-28 00:00:00', '79/42 Võ Văn Kiệt, <NAME>, <NAME>, TP. Cần Thơ', '01271124675', '2014-06-22 00:42:46', '2014-06-22 00:42:46', 2),
(257, 'ThanhDang_Lai-94', '5fdfc4c85ec66ffc9ba64c2c25a6ad50', 'Lại Đặng Thành', 1, '<EMAIL>', '1994-11-11 00:00:00', '124 Nguyễn Văn Cừ, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01203042202', '2014-06-26 00:42:46', '2014-06-26 00:42:46', 2),
(258, 'Loan1980', '71cd974622dbafd45fbfceb274dfd2df', 'Nguyễ<NAME>an\r\n', 0, '<EMAIL>', '1980-04-05 00:00:00', '226 Võ <NAME>, <NAME>, Q. <NAME>, TP. Cần Thơ', '01650529495', '2014-07-02 00:42:46', '2014-07-02 00:42:46', 2),
(259, 'BINH77', '3dc9f3c3c2a93ec7c9cc968088bf1ae1', '<NAME>\r\n', 1, '<EMAIL>', '1977-06-07 00:00:00', '154/46 Ngô Gia Tự, P. <NAME>, Q. <NAME>ều, TP. Cần Thơ', '01235101503', '2014-07-13 00:42:46', '2014-07-13 00:42:46', 2),
(260, 'T-V-Nhuan19770424', '04e696ff6c6d5f61152dc0addf2dcb36', 'Trần Văn Nhuận\r\n', 1, '<EMAIL>', '1977-04-24 00:00:00', '94 Tỉnh lộ 923, P. Ph<NAME>, Q. Ô Môn, TP. Cần Thơ', '0935490236', '2014-07-13 00:42:46', '2014-07-13 00:42:46', 2),
(261, 'Vinh.Truong-Tran-16032005', 'c7bddc92481e627e572ba074222e5133', 'Trần Trường Vinh\r\n', 1, '<EMAIL>', '2005-03-16 00:00:00', '28 CMT8, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01867853343', '2014-07-15 00:42:46', '2014-07-15 00:42:46', 2),
(262, 'HaiMinh_Bui_Huynh.1992', '792308a76d59c2d7eff091f75f32544d', 'Huỳnh Bùi Minh Hải\r\n', 1, '<EMAIL>', '1992-12-15 00:00:00', '67 Nguyễn Văn Linh, <NAME>, <NAME>, TP. Cần Thơ', '01671860949', '2014-07-15 05:48:04', '2014-07-15 05:48:04', 2),
(263, 'thu13.05.1953', '23836b053fa30afead901ab1cb50adbf', 'Nguyễ<NAME>ư\r\n', 0, '<EMAIL>', '1953-05-13 00:00:00', '69/14 Lộ Vòng Cung, <NAME>, <NAME>, TP. Cần Thơ', '0980529910', '2014-07-15 11:39:04', '2014-07-15 11:39:04', 2),
(264, 'Khanh19441214', 'f5d3909c1b4f92ed1474f3723b03d349', 'Phạm Tuấn Khanh\r\n', 1, '<EMAIL>', '1944-12-14 00:00:00', '266 Nguyễn Thị Minh Khai, <NAME>, <NAME>, TP. Cần Thơ', '01642328067', '2014-08-08 11:39:04', '2014-08-08 11:39:04', 2),
(265, 'Tu_LeHuynh_Nam05051986', 'ce5ae6fa7002dfe0cf1e43a7327512c9', '<NAME>\r\n', 1, '<EMAIL>', '1986-05-05 00:00:00', '125 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01677283156', '2014-08-18 11:39:04', '2014-08-18 11:39:04', 2),
(266, 'Hoa.Pham_Thi_Ngoc_1982', '7d43f982e78ab3240ea86ff4c8558f2f', 'Phạm Thị Ngọc Hoa\r\n', 0, '<EMAIL>', '1982-07-28 00:00:00', '45 Nguyễ<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0985373905', '2014-09-11 11:39:04', '2014-09-11 11:39:04', 2),
(267, 'khang.nguyen.viet2003', '36b6090d2d7ddf9239d842d2b979b3c4', 'Nguyễn Việt Khang\r\n', 1, '<EMAIL>', '2003-07-07 00:00:00', '41 Nguyễ<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0927983721', '2014-09-11 11:39:04', '2014-09-11 11:39:04', 2),
(268, 'TRAN-VAN_CAN19841130', '027ffe0e0276909ae84d0d507f5929a3', 'Trần Văn Cẩn\r\n', 1, '<EMAIL>', '1984-11-30 00:00:00', '78/261 Võ Nguy<NAME>, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01696395704', '2014-09-11 12:34:15', '2014-09-11 12:34:15', 2),
(269, 'Vo-vu130403', '1167f21f926eb7644baa4f43b6396d22', 'Nguyễn Võ Vũ', 1, '<EMAIL>', '2003-04-13 00:00:00', '153/176 QL1, P. Ba Láng, Q. Cái Răng, TP. Cần Thơ', '09953766742', '2014-09-25 12:34:15', '2014-09-25 12:34:15', 2),
(270, 'My.PhamThi_Yen.77', '5359104641378513961abbdf31f1401b', 'Ph<NAME> My\r\n', 0, '<EMAIL>', '1977-05-03 00:00:00', '297 Trần Quang Diệu, P. <NAME>, Q. Bình Thủy, TP. Cần Thơ', '01867749477', '2014-09-25 16:01:10', '2014-09-25 16:01:10', 2),
(271, 'lcung-18_04_2004', '888f71a2250ddcd15f5a827d6dc86d6b', 'L<NAME>ung', 1, '<EMAIL>', '2004-04-18 00:00:00', '8 Lê H<NAME>, P. <NAME>, Q. Bình Thủy, TP. Cần Thơ', '01656022637', '2014-09-25 16:01:10', '2014-09-25 16:01:10', 2),
(272, 'DUYEN_HAM_THI.TRAN-841018', '97f15f782184454c5c06ef7b1da84719', 'Trần Thị Hàm Duyên\r\n', 0, '<EMAIL>', '1984-10-18 00:00:00', '301 Nguyễn Văn Linh, <NAME>, <NAME>, TP. Cần Thơ', '01235495383', '2014-09-25 16:01:10', '2014-09-25 16:01:10', 2),
(273, 'VKiet190204', 'ee866d08177ff42acde705f0925b04a9', '<NAME>', 1, '<EMAIL>', '2004-02-19 00:00:00', '161 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01630423486', '2014-10-20 16:01:10', '2014-10-20 16:01:10', 2),
(274, 'Ho_TuanViet_800622', 'eb598975b4a6f93982c0aeeacd829a6f', 'Hồ Tuấn Việt\r\n', 1, '<EMAIL>', '1980-06-22 00:00:00', '52 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0964291201', '2014-10-20 16:01:10', '2014-10-20 16:01:10', 2),
(275, 'QuanDaoLe10081998', '35d6622a5b6672b7141880deab0675d2', '<NAME>', 1, '<EMAIL>', '1998-08-10 00:00:00', '106A/78 Phan Đình Phùng, P. <NAME>, <NAME>, TP. Cần Thơ', '0943328551', '2014-11-02 16:01:10', '2014-11-02 16:01:10', 2),
(276, 'nhien-van_le-tran83', '901d38cbcbad74b769f6a9b8090d1bda', 'Trần Lê Văn Nhiên\r\n', 1, '<EMAIL>', '1983-05-10 00:00:00', '218 Trần Văn Hoài, <NAME>, <NAME>, TP. Cần Thơ', '0981334667', '2014-11-02 21:00:21', '2014-11-02 21:00:21', 2),
(277, 'my-duyen-nguyen-101172', '74c0e0c9ecf059efae680f5105744852', 'Nguyễn Duyên My\r\n', 0, '<EMAIL>', '1972-11-10 00:00:00', '3 Tỉnh lộ 923, P. Trường Lạc, Q. Ô Môn, TP. Cần Thơ', '01259993635', '2014-11-03 21:00:21', '2014-11-03 21:00:21', 2),
(278, 'nguyen-duc_tai_1973', '6569ad053da83b5570fc314084deebc6', '<NAME>\r\n', 1, '<EMAIL>', '1973-11-30 00:00:00', '113 Xô Viết Nghệ Tĩnh, <NAME>, <NAME>, TP. Cần Thơ', '01882846872', '2014-11-04 21:00:21', '2014-11-04 21:00:21', 2),
(279, 'N.DKhanh16.03.99', '3e49ec3ddc85290fc52deaec35dc7d4b', '<NAME>\r\n', 1, '<EMAIL>', '1999-03-16 00:00:00', '14/179/165 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0947700454', '2014-11-24 21:00:21', '2014-11-24 21:00:21', 2),
(280, 'Nhan-Phan.Van1985', '4d95b79a94b3fb372a15a004bd4ff033', 'Phan Văn Nhạn\r\n', 1, '<EMAIL>', '1985-07-18 00:00:00', '165A/285 Võ Văn Tần, P. T<NAME>, Q. <NAME>, TP. Cần Thơ', '01262044541', '2014-11-24 21:00:21', '2014-11-24 21:00:21', 2),
(281, 'Nghi.Nguyen.Uyen160192', '788529da4e74156f56bdc08ad748b6b3', 'Nguyễn Uyển Nghi\r\n', 0, '<EMAIL>', '1992-01-16 00:00:00', '37/103 Hòa Bình, <NAME>, <NAME>, TP. Cần Thơ', '0903735960', '2014-11-24 21:29:53', '2014-11-24 21:29:53', 2),
(282, 'VU-KIEN.72', 'de3912ca0a0ca5f1a2e051b82aca18fe', '<NAME>', 1, '<EMAIL>', '1972-03-21 00:00:00', '355 Nguyễn Văn Cừ, <NAME>, <NAME>, TP. Cần Thơ', '01865794714', '2014-11-28 21:29:53', '2014-11-28 21:29:53', 2),
(283, 'hoattien-nguyen_29-04-78', '1c9720fd90cd1b9b2b138601c023d665', 'Nguyễ<NAME> Hoạt\r\n', 1, '<EMAIL>', '1978-04-29 00:00:00', '255 Hu<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0936295006', '2014-12-02 21:29:53', '2014-12-02 21:29:53', 2),
(284, 'nguyen-thiuyen-820522', '979b93c83c026a827969f287fb16ea33', 'Nguyễ<NAME> Uyển\r\n', 0, '<EMAIL>', '1982-05-22 00:00:00', '101 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01246116314', '2014-12-07 21:29:53', '2014-12-07 21:29:53', 2),
(285, 'Nguyen_TranThi_Hong_Thu_2000', '34f9d3e937197f831dc80a2be56af922', 'Nguyễn Trần Thị Hồng Thư\r\n', 0, '<EMAIL>', '2000-01-23 00:00:00', '128/115 Bùi Hữu Nghĩa, P. Bình Thủy, Q. Bình Thủy, TP. Cần Thơ', '01866254278', '2014-12-12 21:29:53', '2014-12-12 21:29:53', 2),
(286, 'HAISINH27111974', 'e9f09b870f00d2ad1b042b3bbac0c08d', 'Phan Nguyễn Thị Hải Sinh\r\n', 0, '<EMAIL>', '1974-11-27 00:00:00', '188/323 Lê Hồng Phong, P. Trà Nóc, Q. Bình Thủy, TP. Cần Thơ', '09926970368', '2014-12-12 22:31:49', '2014-12-12 22:31:49', 2),
(287, 'KHOINGUYENHOANG97', '4217adffebe0800afc4cf1922eac6ef2', 'Nguyễn Hoàng Khôi\r\n', 1, '<EMAIL>', '1997-04-29 00:00:00', '64/363 Nguyễn Văn Linh, P. Hưng Lợi, Q. Ninh Kiều, TP. Cần Thơ', '09977590781', '2014-12-17 22:31:49', '2014-12-17 22:31:49', 2),
(288, 'huamanh_dinh_1987', '1b166943d1575a7a3310a75aeb5565fc', '<NAME> Ðình\r\n', 1, '<EMAIL>', '1987-04-23 00:00:00', '156 H<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0882521443', '2015-01-03 22:31:49', '2015-01-03 22:31:49', 2),
(289, 'thuymy1993', '35e2958224b05fdbf2225aaec8e0029a', 'Cao Phan Thúy My\r\n', 0, '<EMAIL>', '1993-06-04 00:00:00', '340 Bùi Hữu Nghĩa, P. <NAME>, Q. Bình Thủy, TP. Cần Thơ', '01218122831', '2015-01-03 22:31:49', '2015-01-03 22:31:49', 2),
(290, 'thongquangnguyen1994', 'c6de31f887658dd32ae6392b73c59822', '<NAME>\r\n', 1, '<EMAIL>', '1994-08-09 00:00:00', '84 CMT8, P. <NAME> , Q. Bình Thủy, TP. Cần Thơ', '01861400383', '2015-01-06 22:31:49', '2015-01-06 22:31:49', 2),
(291, 'THUY_VU\r\n-01-07-1953', '70d70c8cfcee4029f40e23dbb36db6ad', 'Phan Thụy Vũ\r\n', 1, '<EMAIL>', '1953-07-01 00:00:00', '50/307 Hòa Bình, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '0916019455', '2015-01-08 22:31:49', '2015-01-08 22:31:49', 2),
(292, 't_h.thien_800508', '831eec8e625b5e181b7ef6455ecd557d', 'Trịnh Hữu Thiện\r\n', 1, '<EMAIL>', '1980-05-08 00:00:00', '396 Nguyễn Văn Bông, P. <NAME>, Q. Bình Thủy, TP. Cần Thơ', '0960654360', '2015-01-09 04:43:44', '2015-01-09 04:43:44', 2),
(293, 'n.tt_thao_14.01', 'bec8bdab6f585bca71998b191aa74afb', 'Nguyễn Thị Thanh Thảo\r\n', 0, '<EMAIL>', '1981-01-14 00:00:00', '100/204 Nguyễn Chí Thanh, P. Thới An Đông, Q. Bình Thủy, TP. Cần Thơ', '01676214735', '2015-01-09 05:13:11', '2015-01-09 05:13:11', 2),
(294, 'Thinh77_02_11', 'c4bcf0ee3309e6c88fdceecba0800863', '<NAME>\r\n', 1, '<EMAIL>', '1977-02-11 00:00:00', '355 Nguyễn Truyền Thanh, P. Bình Thủy, Q. Bình Thủy, TP. Cần Thơ', '01274354869', '2015-01-09 09:09:25', '2015-01-09 09:09:25', 2),
(295, 'DaoLinh770412', '1d2b2f852578094420cd731ca96b59d4', 'Đào Lĩnh', 1, 'Linh-Dao<EMAIL>', '1977-04-12 00:00:00', '225 3/2, P. An Bình, Q. <NAME>, TP. Cần Thơ', '01658825242', '2015-01-10 09:09:25', '2015-01-10 09:09:25', 2),
(296, 'HAI.1943', 'de49f73058c8ec1f9e4635626fdb6438', 'Trần Ðức Hải\r\n', 1, '<EMAIL>', '1943-03-05 00:00:00', '92/335 Nguyễn Đệ, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '0901904049', '2015-01-10 10:56:04', '2015-01-10 10:56:04', 2),
(297, 'Vu_Huy_Nguyen1607', '72d2360c0005e6bdd0f56ac325999a14', 'Nguyễn Huy Vũ\r\n', 1, '<EMAIL>', '2004-07-16 00:00:00', '311 Võ Văn Kiệt, P. An Thới, Q. Bình Thủy, TP. Cần Thơ', '01681600757', '2015-01-15 10:56:04', '2015-01-15 10:56:04', 2),
(298, 'Nguyen-Thai_Hong-791215', '92f6e95e420dabd2dd62fc96d7ba22c8', 'N<NAME>\r\n', 0, '<EMAIL>', '1979-12-15 00:00:00', '126/367 Lý Tự Trọng, P. An Phú, Q. Ninh Kiều, TP. Cần Thơ', '09999054335', '2015-01-30 10:56:04', '2015-01-30 10:56:04', 2),
(299, 'tamdangthithuy98', '0eead7e4df64c054119093d842aaedbb', '<NAME>âm\r\n', 0, '<EMAIL>', '1998-05-31 00:00:00', '108/118 Trần Kiết Tường, P. Thới An, Q. Ô Môn, TP. Cần Thơ', '01640142327', '2015-01-30 13:54:05', '2015-01-30 13:54:05', 2),
(300, 'TRANHAN19091978', '5566c9c98c9c3a947e2b34fe745c8277', '<NAME>', 1, '<EMAIL>', '1978-09-19 00:00:00', '133 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01645528891', '2015-01-30 16:52:57', '2015-01-30 16:52:57', 2),
(301, 'xuanthithihuynh0204', 'd438d6dfa5f5636786c89d4e87463004', '<NAME>\r\n', 0, '<EMAIL>', '1996-04-02 00:00:00', '200 CMT8, P. An Thới , Q. <NAME>, TP. Cần Thơ', '0985208782', '2015-02-18 16:52:57', '2015-02-18 16:52:57', 2),
(302, 'Chi_hieu29_09_1994', '3dc888f5043b87ee903b3dda6210a29c', '<NAME>\r\n', 1, '<EMAIL>', '1994-09-29 00:00:00', '315 Võ Văn Tần, P. <NAME>, Q. <NAME>ều, TP. Cần Thơ', '0882622060', '2015-03-10 16:52:57', '2015-03-10 16:52:57', 2),
(303, 'P-DD_Son1998', '4c9203ad9af5959ffd5833a33a21d5f5', '<NAME>ơn\r\n', 1, '<EMAIL>', '1998-01-04 00:00:00', '160C/145 Xô Viết Nghệ Tĩnh, P. <NAME>, <NAME>, TP. Cần Thơ', '0922410432', '2015-03-15 16:52:57', '2015-03-15 16:52:57', 2),
(304, 'LAMHOSON03071999', '678b111691eea087b15d32cb306f146e', '<NAME> Lâm\r\n', 1, '<EMAIL>', '1999-07-03 00:00:00', '144 Tr<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0906086403', '2015-03-28 16:52:57', '2015-03-28 16:52:57', 2),
(305, 'HOANGLAM1968', '316ccda89bd62effc49e420d100d6d79', 'Nguyễn Hoàng Lâm\r\n', 1, '<EMAIL>', '1968-08-25 00:00:00', '232 Trương Văn Diễn, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '01215124634', '2015-03-28 22:14:07', '2015-03-28 22:14:07', 2),
(306, 'trinhngocduong02', '7d526743515a1116b6184cdcb8a43edf', 'Dương Ngọc Trinh\r\n', 0, '<EMAIL>', '2002-08-27 00:00:00', '139/278 Nguyễn Văn Cừ, P. <NAME>, <NAME>, TP. Cần Thơ', '01664072829', '2015-04-07 22:14:07', '2015-04-07 22:14:07', 2),
(307, 'n.ll_phuc-22.05.1977', 'efa83d4d599bb4c758a1e6d53e43f22a', 'Nguyễn Lê Lạc Phúc\r\n', 1, '<EMAIL>', '1977-05-22 00:00:00', '270 Trần <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01264370263', '2015-04-17 22:14:07', '2015-04-17 22:14:07', 2),
(308, 'QuynhPham-Tieu-19-10', '108ad7239f84ffee884b7de4d60262b5', 'Phạm Tiểu Quỳnh\r\n', 0, '<EMAIL>', '1979-10-19 00:00:00', '24 Mậu Thân, <NAME>, <NAME>, TP. Cần Thơ', '01667841139', '2015-04-21 22:14:07', '2015-04-21 22:14:07', 2),
(309, 'tu.96', 'b44fc5dc3117c3bc00701e1101a96c25', 'Nguyễn Ðoàn Tụ\r\n', 1, '<EMAIL>', '1996-11-16 00:00:00', '307 Nguyễn Thị Minh Khai, <NAME>, <NAME>, TP. Cần Thơ', '0923387335', '2015-04-25 22:14:07', '2015-04-25 22:14:07', 2),
(310, 'HOALEQUOC88', 'f5c0a45402206620fa2be72ee1729c1a', 'Lê Quốc Hòa\r\n', 1, '<EMAIL>', '1988-06-29 00:00:00', '212 L<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01697682757', '2015-04-25 22:14:07', '2015-04-25 22:14:07', 2),
(311, 'tam_nguyen-thi_xuan_87_05_18', '2b1a75f05c3e3f9e263ba936400252ea', 'Ngu<NAME>uân Tâm\r\n', 0, '<EMAIL>', '1987-05-18 00:00:00', '145/368 Võ Nguy<NAME>, <NAME>, Q. <NAME>, TP. Cần Thơ', '01670573069', '2015-04-28 22:14:07', '2015-04-28 22:14:07', 2),
(312, 't_tn_anh94_07_30', '94d85fcb56136c183268619b2a961130', 'Trần Thị Nhật Ánh\r\n', 0, '<EMAIL>', '1994-07-30 00:00:00', '52/400 Nguyễn Trãi, <NAME>, <NAME>, TP. Cần Thơ', '01292529893', '2015-04-29 17:10:12', '2015-04-29 17:10:12', 2),
(313, 'huy_khanh01-03-1997', 'b05ff6633db5e323dadb979c7d73e123', '<NAME>\r\n', 1, '<EMAIL>', '1997-03-01 00:00:00', '25 Phan <NAME>, P. <NAME>, Q. Ninh Kiều, TP. Cần Thơ', '0976991926', '2015-05-02 17:10:12', '2015-05-02 17:10:12', 2),
(314, 'HienBichThiNguyen-2412', '563d59f35131b5f2fdd1d45133087482', 'Nguyễn Th<NAME> Hiền\r\n', 0, '<EMAIL>', '1984-12-24 00:00:00', '38 Ngô Gia Tự, <NAME>, <NAME>, TP. Cần Thơ', '01218715558', '2015-05-15 17:10:12', '2015-05-15 17:10:12', 2),
(315, 'CAMNGUYENTHINGUYET130304', 'da0c227568b3b9765e29fdd89397c409', 'Nguyễn Thị Nguyệt Cầm\r\n', 0, '<EMAIL>', '2004-03-13 00:00:00', '29/130 30/4, P. Hưng Lợi, Q. Ninh Kiều, TP. Cần Thơ', '01683810801', '2015-05-16 00:52:33', '2015-05-16 00:52:33', 2),
(316, 'MAI17121990', 'e396e3758a54d54ed3c0c1ba6962b0ac', 'N<NAME>ai\r\n', 0, '<EMAIL>', '1990-12-17 00:00:00', '159B/355 Nguyễn Đệ, <NAME>, <NAME>, TP. Cần Thơ', '01676973872', '2015-05-16 12:00:52', '2015-05-16 12:00:52', 2),
(317, 'san89', 'dab41cf6ccc91608a5a1bccc0ba9adc3', 'Trần <NAME> San\r\n', 0, '<EMAIL>', '1989-01-06 00:00:00', '363 N<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01204979652', '2015-05-20 12:00:52', '2015-05-20 12:00:52', 2),
(318, 'N-NM_TUAN_97', 'af68ca54007afdfe3de634cd59913406', 'Nguyễn Ngô <NAME>\r\n', 1, '<EMAIL>', '1997-01-29 00:00:00', '65/128/253 Xô Viết Nghệ Tĩnh, P. An Hội, <NAME>, TP. Cần Thơ', '01239497680', '2015-05-20 12:00:52', '2015-05-20 12:00:52', 2),
(319, 'le_manh14.07.04', 'c7fbeae11af5b102d7de43e0ae311480', 'L<NAME>nh', 1, '<EMAIL>', '2004-07-14 00:00:00', '333 Nguyễn <NAME>, P. <NAME>, <NAME>, TP. Cần Thơ', '0909127773', '2015-05-20 14:22:18', '2015-05-20 14:22:18', 2),
(320, 'DANG_LY-BANG_13-03-1987', 'cf31af5cc29052e53b05c4dceccc87c0', 'Đ<NAME>', 1, '<EMAIL>', '1987-03-13 00:00:00', '48/237 CMT8, <NAME>, <NAME>, TP. Cần Thơ', '0907320366', '2015-05-20 14:22:18', '2015-05-20 14:22:18', 2),
(321, 'NhiHaThiLy1962', '5212e0520fee846eeeca6c12a80f71bf', 'Lý Thị Hà Nhi\r\n', 0, '<EMAIL>', '1962-07-25 00:00:00', '36 3/2, <NAME>, <NAME>, TP. Cần Thơ', '01284162625', '2015-06-11 14:22:18', '2015-06-11 14:22:18', 2),
(322, 'nguyen_tri_huu.89', '18a342968466e76af1a98e0e16103c54', 'Nguyễ<NAME> Hữu\r\n', 1, '<EMAIL>', '1989-05-27 00:00:00', '149B/3 CMT8, <NAME>, <NAME>, TP. Cần Thơ', '01675593705', '2015-06-12 09:34:29', '2015-06-12 09:34:29', 2),
(323, 'HaoNguyen2704', 'fba85dc15b607731be1d1f0325efe4d4', '<NAME>', 1, '<EMAIL>', '2004-04-27 00:00:00', '106/371 3/2, <NAME>, <NAME>, TP. Cần Thơ', '01661694552', '2015-06-29 09:34:29', '2015-06-29 09:34:29', 2),
(324, 'HUUDAT19081992', 'ef07c22cecae62c67def63bcc10c5794', 'Đỗ Hữu Ðạt\r\n', 1, '<EMAIL>', '1992-08-19 00:00:00', '11/339 Mậu Thân, <NAME>, <NAME>, TP. Cần Thơ', '01691252192', '2015-07-10 09:34:29', '2015-07-10 09:34:29', 2),
(325, 'NT.TNHI-1995', '44ce97e139cb3455b393271848825cea', 'Nguyễn Thị Tịnh Nhi\r\n', 0, '<EMAIL>', '1995-06-08 00:00:00', '355 Nguyễn Trãi, <NAME>, Q. <NAME>, TP. Cần Thơ', '09945788453', '2015-07-10 09:34:29', '2015-07-10 09:34:29', 2),
(326, 'nguyen-vancao_1980_07_10', 'c8b709e61aacd896786f8ba086d2fe0b', '<NAME>\r\n', 1, '<EMAIL>', '1980-07-10 00:00:00', '366 QL1, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01659158974', '2015-07-19 09:34:29', '2015-07-19 09:34:29', 2),
(327, 'L_T.THUONG2000', '29aa27b77cc504715bbf9059414dc7e4', 'Lê Thị Thu Hương\r\n', 0, '<EMAIL>', '2000-06-27 00:00:00', '136A/325 Hai Bà Trưng, P. <NAME>, Q. Ninh Kiều, TP. Cần Thơ', '01206468586', '2015-07-19 09:34:29', '2015-07-19 09:34:29', 2),
(328, 'DANBUITHI.790121', '6012aa894282d0caa3d9e9d3263f1b62', 'Bùi Thị Đan\r\n', 0, '<EMAIL>', '1979-01-21 00:00:00', '33 QL91, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '0944991345', '2015-07-24 09:34:29', '2015-07-24 09:34:29', 2),
(329, 'Nguyen-Tran-HuongThien-05-11-77', 'ba5b55be3ee92bc270a1fc3020472707', 'Nguyễn Tr<NAME>ng Thiện\r\n', 1, '<EMAIL>', '1977-11-05 00:00:00', '83 3/2, P. <NAME>, <NAME>, TP. Cần Thơ', '01991166067', '2015-07-25 09:34:29', '2015-07-25 09:34:29', 2),
(330, 'Trung-87.09.06', '023d0da25e27632f66e7c6b3b2ffed1c', 'Triệu Minh Trung\r\n', 1, '<EMAIL>', '1987-09-06 00:00:00', '343 Lý Tự Trọng, P. <NAME>, <NAME>, TP. Cần Thơ', '01689069905', '2015-08-02 09:34:29', '2015-08-02 09:34:29', 2),
(331, 'dqanh1905', '26ea007c0c4f055331851b6e1d8d2076', '<NAME>\r\n', 1, '<EMAIL>', '1949-05-19 00:00:00', '6 Nguyễn Văn Cừ, P. <NAME>, <NAME>, TP. Cần Thơ', '0903215368', '2015-08-17 09:34:29', '2015-08-17 09:34:29', 2),
(332, 'Ly25-09-1985', '6e834d0b8adf892f2fc3a8415d05910e', 'Nguyễ<NAME> Ly\r\n', 0, '<EMAIL>', '1985-09-25 00:00:00', '2<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01652070312', '2015-08-17 10:33:43', '2015-08-17 10:33:43', 2),
(333, 'nghinguyen-van-19791028', '7df45fd131dbc922fe81476d46b5dc3e', 'Nguyễn Văn Nghị\r\n', 1, '<EMAIL>', '1979-10-28 00:00:00', '165/382 Mậu Thân, P. <NAME>, <NAME>, TP. Cần Thơ', '09932071862', '2015-08-17 12:20:15', '2015-08-17 12:20:15', 2),
(334, 'p-dthai1978-08-29', 'bf11f186570ac6d8698270f221482b8a', 'Phan Ðắc Thái\r\n', 1, '<EMAIL>', '1978-08-29 00:00:00', '253 N<NAME>, <NAME>, Q. <NAME>, TP. Cần Thơ', '01210759862', '2015-08-18 12:20:15', '2015-08-18 12:20:15', 2),
(335, 'N.T_N_Loan06', '4b430fccf5335d1f58530689bcefcb55', 'Ngô Thị Như Loan\r\n', 0, '<EMAIL>', '1906-06-07 00:00:00', '93 Ph<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0943796082', '2015-08-30 12:20:15', '2015-08-30 12:20:15', 2),
(336, 'phi_diep\r\n.241294', '605f6eec57875b786174cdb8d01aaffe', 'Phan Phi Ðiệp\r\n', 1, '<EMAIL>', '1994-12-24 00:00:00', '56 Ngu<NAME>, <NAME> , Q. <NAME>, TP. Cần Thơ', '01999892592', '2015-09-17 12:20:15', '2015-09-17 12:20:15', 2),
(337, 'vy.31.05.1940', 'ac85999f13cde2ecbb46d7efbfc13304', 'Vũ Trúc Vy\r\n', 0, '<EMAIL>', '1940-05-31 00:00:00', '337 N<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01230498152', '2015-09-17 13:50:25', '2015-09-17 13:50:25', 2),
(338, 'nguyen-pham.trang2003', '637d4ecf7075e5cec9889d75f20b354d', '<NAME>', 1, '<EMAIL>', '2003-02-17 00:00:00', '138 Xô Viết Nghệ Tĩnh, <NAME>, <NAME>, TP. Cần Thơ', '01262562154', '2015-09-22 13:50:25', '2015-09-22 13:50:25', 2),
(339, 'HUY_HA\r\n-29_11', '911d73a6af2f94bc2b0046ee2bf73503', 'Vũ Huy Hà\r\n', 1, '<EMAIL>', '2001-11-29 00:00:00', '50/386 Lê Hồng Phong, P. Bình Thủy, Q. Bình Thủy, TP. Cần Thơ', '01862808657', '2015-09-23 03:58:30', '2015-09-23 03:58:30', 2),
(340, 'hieu-tran_duy-03_11', '481ff411bdb5f6e3ce1f9fc92e626674', 'Trần Duy Hiếu\r\n', 1, '<EMAIL>', '1913-11-03 00:00:00', '70/119 Ngô Gia Tự, P. <NAME>, <NAME>, TP. Cần Thơ', '01203876562', '2015-09-27 03:58:30', '2015-09-27 03:58:30', 2),
(341, 'VIET.PHAMTRUNG.19951226', '745b62cc8a2cfe60b63dd06523c13973', 'Phạm Trung Việt\r\n', 1, '<EMAIL>', '1995-12-26 00:00:00', '146 Qu<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01697352422', '2015-09-27 04:57:15', '2015-09-27 04:57:15', 2),
(342, 'Tram_Quynh_Bui_09.06', '7eed41ff8da5af4bc2a425161f02d656', 'Bùi Quỳnh Trâm\r\n', 0, '<EMAIL>', '2003-06-09 00:00:00', '217 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01625322508', '2015-10-02 04:57:15', '2015-10-02 04:57:15', 2),
(343, 'LeThanhMan2403', 'aafba5bcb4e249d79cacd31eb8a7bb1e', 'Lê Thanh Mẫn\r\n', 0, '<EMAIL>', '1986-03-24 00:00:00', '61 Ngu<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01646422353', '2015-10-11 04:57:15', '2015-10-11 04:57:15', 2),
(344, 'MINHNGOCPHAMNGUYEN1978', 'a6487ed6c084ce89c22715e2e0036c0f', '<NAME>\r\n', 1, '<EMAIL>', '1978-04-06 00:00:00', '345 Phan Đình Phùng, <NAME>, <NAME>, TP. Cần Thơ', '01200093724', '2015-10-29 04:57:15', '2015-10-29 04:57:15', 2),
(345, 'vinhthanhnguyen19370323', 'ff170580e1471330415889defd866852', '<NAME>\r\n', 1, '<EMAIL>', '1937-03-23 00:00:00', '157/154 Ngô <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01869729535', '2015-10-31 04:57:15', '2015-10-31 04:57:15', 2),
(346, 'HONGVOHOTHI-HUE.1977.05.30', '8622e0765f3ec11904006df7b1cd7d46', '<NAME> Hồng\r\n', 0, '<EMAIL>', '1977-05-30 00:00:00', '376 Lê Lợi, P. C<NAME>, <NAME>, TP. Cần Thơ', '01660933326', '2015-10-31 07:32:03', '2015-10-31 07:32:03', 2),
(347, 'LE.THIEU.ANH.77', '4200619cc5caa13574f080e7b2c52eeb', 'Lê Thiếu Anh\r\n', 1, '<EMAIL>', '1977-10-28 00:00:00', '61 Trần <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01295315607', '2015-11-22 07:32:03', '2015-11-22 07:32:03', 2),
(348, 'Quang.thinh\r\n.11.03.1997', 'cd229502beea590f9f934dd350ee7870', 'Lê Nguyễn Quang Thịnh\r\n', 1, '<EMAIL>', '1997-03-11 00:00:00', '<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '09939979565', '2015-12-09 07:32:03', '2015-12-09 07:32:03', 2),
(349, 'YENPHUONGTHILE2108', '8a650237a0bb7a31d719ab36e1735e8a', 'Lê Thị Phương Yến\r\n', 0, '<EMAIL>', '1994-08-21 00:00:00', '43 Hai Bà Trưng, <NAME>, <NAME>, TP. Cần Thơ', '0967480940', '2015-12-09 09:27:59', '2015-12-09 09:27:59', 2),
(350, 'TLMLe040995', 'c41b53085e10abad85c796c60ba0466e', 'Trần Lê Mỹ Lệ\r\n', 0, '<EMAIL>', '1995-09-04 00:00:00', '279 Nguyễ<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01663044843', '2015-12-23 09:27:59', '2015-12-23 09:27:59', 2),
(351, 'PHUONG.NGUYEN_HUYNH-THI_MINH.1994', '5b73617596d1964a14758030e76038c1', 'Nguyễn Huỳnh Thị Minh Phương\r\n', 0, 'PHUONGNGUYENHU<EMAIL>', '1994-06-29 00:00:00', '308 Tỉnh lộ 923, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '01867868134', '2016-01-16 09:27:59', '2016-01-16 09:27:59', 2),
(352, 'PhiNguyenVan860907', '978563020d49121d18a11caa0ee7b1a3', 'Nguyễn Văn Phi\r\n', 1, '<EMAIL>', '1986-09-07 00:00:00', '206 H<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0894298580', '2016-01-31 09:27:59', '2016-01-31 09:27:59', 2),
(353, 'DV-UY-1996-12-29', 'f9f5c844ca12fd212d362423e663626e', 'Dương Vũ Uy\r\n', 1, '<EMAIL>', '1996-12-29 00:00:00', '52 <NAME>, <NAME>, Q. Ô Môn, TP. Cần Thơ', '01255892338', '2016-01-31 09:27:59', '2016-01-31 09:27:59', 2),
(354, 'DUONG_94', '0c6d7aee644d7f7b209abfef791e5eed', '<NAME>\r\n', 1, '<EMAIL>', '1994-12-29 00:00:00', '23 Nguyễn Vă<NAME>, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '0923107894', '2016-01-31 13:11:17', '2016-01-31 13:11:17', 2),
(355, 'nang.0511', 'dd25ca743f3d7f84f2660f9bfbe550f7', '<NAME>\r\n', 1, '<EMAIL>', '2004-11-05 00:00:00', '53 CMT8, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01687925446', '2016-01-31 13:11:17', '2016-01-31 13:11:17', 2),
(356, 'Vinh.Phan.Nguyen.02', '51d7df0263289a2f724f25d8b200ef25', '<NAME>', 1, '<EMAIL>', '2002-10-04 00:00:00', '353 Tr<NAME>, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '01256227588', '2016-01-31 13:11:17', '2016-01-31 13:11:17', 2),
(357, 'thichau1986', 'f5c47e59c928c3c40c72b835c3bac1f4', '<NAME>u\r\n', 0, '<EMAIL>', '1986-12-18 00:00:00', '59/309 Thái Thị Hạnh, P. Long Hưng, Q. Ô Môn, TP. Cần Thơ', '0929155679', '2016-02-08 13:11:17', '2016-02-08 13:11:17', 2),
(358, 'SANLINHTHINGUYENLE94', 'b94c3798db5fd41cdf1c774aa0b7bb80', '<NAME>\r\n', 0, '<EMAIL>', '1994-09-19 00:00:00', '156E/217 Quang Trung, P. Hưng Phú, Q. Cái Răng, TP. Cần Thơ', '01269223796', '2016-02-08 13:36:11', '2016-02-08 13:36:11', 2),
(359, 'Vanchi\r\n.05', '252f3299eb17d6cf9bc563feedd85445', 'Nguyễn Thị Vân Chi\r\n', 0, '<EMAIL>', '2005-05-26 00:00:00', '10 Quang Trung, <NAME>, <NAME>, TP. Cần Thơ', '0883743290', '2016-02-10 13:36:11', '2016-02-10 13:36:11', 2),
(360, 'PHAN_NGOCANH2004', '872c7052fba62a1366f5ac0318247116', 'Phan Ngọc Anh\r\n', 0, '<EMAIL>', '2004-06-21 00:00:00', '206 N<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01665966381', '2016-02-24 13:36:11', '2016-02-24 13:36:11', 2),
(361, 'CANH-NGUYEN.VAN-94', '4a039e569ba0722fa773a31e9445f066', 'Nguyễn Văn Cảnh\r\n', 1, '<EMAIL>', '1994-01-24 00:00:00', '42 Bùi Hữu Nghĩa, P. Bình Thủy, Q. Bình Thủy, TP. Cần Thơ', '0943316859', '2016-02-27 13:36:11', '2016-02-27 13:36:11', 2),
(362, 'hai-duong\r\n-010117', 'df0fd0009f2e97aab36df09c83eef47c', 'D<NAME> Ðường\r\n', 0, '<EMAIL>', '1917-01-01 00:00:00', '27/329 Nguyễn Văn Linh, <NAME>, Q. Bình Thủy, TP. Cần Thơ', '01886567463', '2016-02-28 13:36:11', '2016-02-28 13:36:11', 2),
(363, 'lamnguyenngoc190292', 'c0b3cf28d1495d86b1fc2085ec6521f8', 'Nguyễn Ngọc Lam\r\n', 0, '<EMAIL>', '1992-02-19 00:00:00', '101/52 Nguyễn Văn Linh, P. <NAME>, Q. Ninh Kiều, TP. Cần Thơ', '01669115594', '2016-02-28 13:36:11', '2016-02-28 13:36:11', 2),
(364, 'nguyentrannhat-nam-78', '266d0e73c79a211864620268d1dc6021', 'Nguyễn <NAME> Nam\r\n', 1, '<EMAIL>', '1978-12-19 00:00:00', '262 N<NAME>, P. H<NAME>, Q. Ninh Kiều, TP. Cần Thơ', '0924933243', '2016-03-12 13:36:11', '2016-03-12 13:36:11', 2),
(365, 'ly.171101', 'f11f0ce1af3e4e6850fb3605f6f43dbb', 'Trần Cát Ly\r\n', 0, '<EMAIL>', '2001-11-17 00:00:00', '376 Đặng Thanh Sử, P. Phước Thới, Q. Ô Môn, TP. Cần Thơ', '0929902334', '2016-03-12 18:07:32', '2016-03-12 18:07:32', 2),
(366, 'ngoc-bui.nguyenminh.04-06', '706f16176c5e3d239599fcb722cae3dc', 'Bùi Nguyễn Minh Ngọc\r\n', 0, '<EMAIL>', '2001-06-04 00:00:00', '165/335 Hai Bà Trưng, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01274711698', '2016-03-14 18:07:32', '2016-03-14 18:07:32', 2),
(367, 'N_M_TAN0104', '765b37b96fa3f1c479de6f3260b2605f', 'Nguyễn Mạnh Tấn\r\n', 1, '<EMAIL>', '1993-04-01 00:00:00', '323 Ngô Gia Tự, <NAME>, Q. <NAME>ều, TP. Cần Thơ', '01643760227', '2016-04-07 18:07:32', '2016-04-07 18:07:32', 2),
(368, 'thuyuyen19910507', 'c60e18c54bd131720a8cfc3384751b8a', 'Nguyễn Thị Thụy Uyên\r\n', 0, '<EMAIL>', '1991-05-07 00:00:00', '344 Nguyễn Văn Cừ, P. <NAME>, Q. <NAME>ều, TP. Cần Thơ', '0932454285', '2016-04-11 18:07:32', '2016-04-11 18:07:32', 2),
(369, 'khoihuunguyenvo031231', '9afe64f66a340327677dc0cfa1edfcc7', 'Võ Nguyễn Hữu Khôi\r\n', 1, '<EMAIL>', '2003-12-31 00:00:00', '190 Thái <NAME>, <NAME>, Q. Ô Môn, TP. Cần Thơ', '01222547885', '2016-04-14 18:07:32', '2016-04-14 18:07:32', 2),
(370, 'BAO-NGUYEN_HUU.90-01-27', '03d6e1f2294908188180dfb319281fce', 'Nguyễn Hữu Bào\r\n', 1, '<EMAIL>', '1990-01-27 00:00:00', '13D/88 Mậu Thân, P. <NAME>, <NAME>, TP. Cần Thơ', '01666839493', '2016-05-03 18:07:32', '2016-05-03 18:07:32', 2),
(371, 'NguyenNhan.78', 'dc6e6e6809b54c4baa6e21ec8242cbde', '<NAME>', 1, '<EMAIL>', '1978-01-13 00:00:00', '31 N<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0887350552', '2016-05-08 18:07:32', '2016-05-08 18:07:32', 2),
(372, 'Nu_Ngoc-Vo_08-09-1980', 'c1ef63a03a4be4a666151efb9caf7bb4', 'Võ Ngọc Nữ\r\n', 0, '<EMAIL>', '1980-09-08 00:00:00', '176 Nguyễ<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01231225401', '2016-05-27 18:07:32', '2016-05-27 18:07:32', 2),
(373, 'LAN-27.09', 'c552f94873098b81633e834fc33c9661', '<NAME>\r\n', 0, '<EMAIL>', '1989-09-27 00:00:00', '95/295 Trần Hưng Đạo, <NAME>, <NAME>, TP. Cần Thơ', '01234443466', '2016-06-01 18:07:32', '2016-06-01 18:07:32', 2);
INSERT INTO `khachhang` (`kh_ma`, `kh_taiKhoan`, `kh_matKhau`, `kh_hoTen`, `kh_gioiTinh`, `kh_email`, `kh_ngaySinh`, `kh_diaChi`, `kh_dienThoai`, `kh_taoMoi`, `kh_capNhat`, `kh_trangThai`) VALUES
(374, 't.t.lan03_07', 'db35fb4b91fd65f12e04832ded797204', 'Trang Tường Lân\r\n', 1, '<EMAIL>', '1990-07-03 00:00:00', '281 Qu<NAME>, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01258121159', '2016-06-16 18:07:32', '2016-06-16 18:07:32', 2),
(375, 'HoaThuanNguyen02011991', '0beb58122531534ba6eec2d285eb5c9d', 'N<NAME>\r\n', 1, '<EMAIL>', '1991-01-02 00:00:00', '115 <NAME>, Q. <NAME>, TP. Cần Thơ', '09981230985', '2016-06-16 21:45:02', '2016-06-16 21:45:02', 2),
(376, 'Huynh.Lam860204', 'e9c31fb554bf15cbf4472380e1e72bc4', 'Huỳ<NAME>', 1, '<EMAIL>', '1986-02-04 00:00:00', '350 Lê Hồng Phong, P. Tr<NAME>, Q. <NAME>, TP. Cần Thơ', '01648311506', '2016-07-08 21:45:02', '2016-07-08 21:45:02', 2),
(377, 'LH_TLAM15_08_95', '7d5d1be6795aa99a7782065c315f03b6', '<NAME>m\r\n', 0, '<EMAIL>', '1995-08-15 00:00:00', '128/311 Qu<NAME>, P. H<NAME>, Q. C<NAME>, TP. Cần Thơ', '01665594068', '2016-07-09 21:45:02', '2016-07-09 21:45:02', 2),
(378, 'THAO.MAI20030408', '83e12cd4199f08222de018ed8d3cf864', '<NAME>ai\r\n', 0, '<EMAIL>', '2003-04-08 00:00:00', '277 Tỉnh lộ 923, P. Trường Lạc, Q. Ô Môn, TP. Cần Thơ', '0976092180', '2016-07-19 21:45:02', '2016-07-19 21:45:02', 2),
(379, 'Vy.971022', '4da3c5d2f3216504a82ce1f21b50a54b', '<NAME> Vy\r\n', 0, '<EMAIL>', '1997-10-22 00:00:00', '290 QL1, <NAME>, Q. <NAME>, TP. Cần Thơ', '01259923477', '2016-07-19 21:45:02', '2016-07-19 21:45:02', 2),
(380, 'vu.nha_y19840220', 'a2d623fabaac7a592296866459e9380c', 'Vũ Nhã Ý\r\n', 0, '<EMAIL>', '1984-02-20 00:00:00', '311 Lý <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0908807224', '2016-07-23 21:45:02', '2016-07-23 21:45:02', 2),
(381, 'thanhdoannguyen19041977', '8fdc05650efcb70e50fe100216f9456f', 'Nguyễn Ðo<NAME>\r\n', 0, '<EMAIL>', '1977-04-19 00:00:00', '56 QL91, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '01621823585', '2016-07-27 21:45:02', '2016-07-27 21:45:02', 2),
(382, 'pmly19981024', '0eb5d03222930acdd17ae37afe257035', 'Phạm Mai Ly\r\n', 0, '<EMAIL>', '1998-10-24 00:00:00', '90 Thái Thị Hạnh, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '01880721171', '2016-07-31 21:45:02', '2016-07-31 21:45:02', 2),
(383, 'xuannguyennghi85', '2454a82667cf97c9423aa7a9a333ad41', 'Nguyễn Nghi Xuân\r\n', 0, '<EMAIL>', '1985-04-01 00:00:00', '235 Quang Trung, <NAME>, <NAME>, TP. Cần Thơ', '01635214134', '2016-07-31 21:45:02', '2016-07-31 21:45:02', 2),
(384, 'VY-20.09.24', '3321e9a24b3f30a5e1680c0e6b3573e8', '<NAME> Vy\r\n', 0, '<EMAIL>', '1920-09-24 00:00:00', '178/246 Ngô Quyền, <NAME>, <NAME>, TP. Cần Thơ', '01889729181', '2016-08-03 21:45:02', '2016-08-03 21:45:02', 2),
(385, 'QuynhNguyenLeThiNhu130395', '996013f92dd01111b8fd307911d06ee6', 'Nguy<NAME>ỳnh\r\n', 0, '<EMAIL>', '1995-03-13 00:00:00', '380 N<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '09996041336', '2016-08-05 21:45:02', '2016-08-05 21:45:02', 2),
(386, 'Nhien_Le_ThiDi.89', '840bc4a7967375f9093f6ad93ee3dfc4', 'Lê Thị Di Nhiên\r\n', 0, '<EMAIL>', '1989-04-24 00:00:00', '186/182 Trần Ngọc Quế, P. H<NAME>, Q. <NAME>, TP. Cần Thơ', '0892190755', '2016-08-19 21:45:02', '2016-08-19 21:45:02', 2),
(387, 'tran.linh.ha280195', 'a4e2db00e8a7adc60ccfcd391069ece4', 'Trần Linh Hà\r\n', 0, '<EMAIL>', '1995-01-28 00:00:00', '69/356 <NAME>, <NAME> , Q. Bình Thủy, TP. Cần Thơ', '01623175701', '2016-08-20 01:40:04', '2016-08-20 01:40:04', 2),
(388, 'DIEM_HANH\r\n_89', 'bfd0f13a59bf7bec21aa3b2152be63b6', 'Trần Thị Diễm Hạnh\r\n', 0, '<EMAIL>', '1989-09-15 00:00:00', '113 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01227670396', '2016-08-23 01:40:04', '2016-08-23 01:40:04', 2),
(389, 'LINHTRANTHITRANG19740407', 'd8da7d996662a1470e4a4631439554a9', 'Trần Thị Trang Linh\r\n', 0, '<EMAIL>', '1974-04-07 00:00:00', '88E/85 Hòa Bình, <NAME>, <NAME>, TP. Cần Thơ', '0885239158', '2016-08-28 01:40:04', '2016-08-28 01:40:04', 2),
(390, 'NGUYEN_THITHANHTHUY_881023', '7bb0bc46db61a4a57be96eebe9732406', 'Nguyễn Thị Thanh Thủy\r\n', 0, '<EMAIL>', '1988-10-23 00:00:00', '239 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01889703031', '2016-08-28 08:42:46', '2016-08-28 08:42:46', 2),
(391, 'Nguyet_1940_04_09', 'ee3c28cafc48a42c53514955fb6b1992', 'Dương Ánh Nguyệt\r\n', 0, 'd_anguyet<EMAIL>', '1940-04-09 00:00:00', '214 Nguyễn Văn Linh, P. Hưng Lợi, Q. Ninh Kiều, TP. Cần Thơ', '01229653543', '2016-08-28 13:23:03', '2016-08-28 13:23:03', 2),
(392, 'T-AVAN-02-10', 'a9100d3078c6c401f649ae6b105ffc06', 'Trần Ái Vân\r\n', 0, '<EMAIL>', '2003-10-02 00:00:00', '247 CMT8, P. Bùi Hữu Nghĩa, Q. Bình Thủy, TP. Cần Thơ', '01882350201', '2016-09-20 13:23:03', '2016-09-20 13:23:03', 2),
(393, 'MAIHUYNHNGUYENHIEN87', '1aeb75fd9083a3c61729d9d9e0b548c5', '<NAME>ai\r\n', 0, '<EMAIL>', '1987-12-04 00:00:00', '62 CMT8, P. Bù<NAME> Nghĩa, Q. Bình Thủy, TP. Cần Thơ', '0882105457', '2016-09-20 13:23:03', '2016-09-20 13:23:03', 2),
(394, 'NGUYENLE-THIENKHANH18-11', '1b3115343e4fd6360a1249faebc8103f', 'Nguyễ<NAME>ên Khánh\r\n', 0, '<EMAIL>', '1987-11-18 00:00:00', '90 Hùng Vương, <NAME>, <NAME>, TP. Cần Thơ', '0892856803', '2016-09-29 13:23:03', '2016-09-29 13:23:03', 2),
(395, 'LDTQuan1997', '40d7a0f221320b5cd819f3b2548c572f', 'Lê Đàm Tùng Quân\r\n', 0, '<EMAIL>', '1997-11-02 00:00:00', '77 Nguyễ<NAME>, An Lạc, <NAME>, TP. Cần Thơ', '01663916573', '2016-09-29 13:23:03', '2016-09-29 13:23:03', 2),
(396, 'TRAN.NGUYEN.THIEN-DI.1940', '75c553024617f2945d8b350d2170b415', 'Trần Nguyễn Thiên Di\r\n', 0, 'tran-<EMAIL>', '1940-04-23 00:00:00', '279 Nguyễn An Ninh, An Lạc, Q. Ninh Kiều, TP. Cần Thơ', '01627280346', '2016-09-29 17:51:01', '2016-09-29 17:51:01', 2),
(397, 'huyen.tram\r\n_99', '9ccf46bc9d4b39ec80985bbffab02b08', 'Phan Thị Huyền Trâm\r\n', 0, '<EMAIL>', '1999-01-01 00:00:00', '213 Lê Lợi, <NAME>, <NAME>, TP. Cần Thơ', '0890232564', '2016-10-07 17:51:01', '2016-10-07 17:51:01', 2),
(398, 'P.TQNHU_1993.04.19', '4a2d151257d4c82da40f922c4e1f6579', 'Phan Thị Quỳnh Như\r\n', 0, '<EMAIL>', '1993-04-19 00:00:00', '7/185 Nguyễn Truyền Thanh, P. Bình Thủy, Q. Bình Thủy, TP. Cần Thơ', '01295504422', '2016-10-07 23:12:03', '2016-10-07 23:12:03', 2),
(399, 'DIEMNGUYEN_THUY.1996', '414aaa395f3f9d0048a4ea0e450ade2a', 'Nguyễn <NAME>ễm\r\n', 0, '<EMAIL>', '1996-05-07 00:00:00', '329 Nguyễn Ch<NAME>, P. <NAME> , Q. <NAME>, TP. Cần Thơ', '01205644226', '2016-10-11 23:12:03', '2016-10-11 23:12:03', 2),
(400, 'NH-Thao1999_10_10', 'd1b5565e484e772c10dba8c995c61a6b', 'N<NAME>\r\n', 0, '<EMAIL>', '1999-10-10 00:00:00', '280 Nguyễ<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '09943202495', '2016-10-26 23:12:03', '2016-10-26 23:12:03', 2),
(401, 'TRANGTHI-NGUYEN1986', 'e054fb1af367cf9bb73218bc20784454', 'Nguyễn Thị Trang\r\n', 0, '<EMAIL>', '1986-08-21 00:00:00', '13 Lê Lợi, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01867486812', '2016-10-26 23:41:37', '2016-10-26 23:41:37', 2),
(402, 'NUONGDANGTHUY-81-09-27', '669e569cee1478330f98200764099d9d', 'Đ<NAME>ương\r\n', 0, '<EMAIL>', '1981-09-27 00:00:00', '68 Tr<NAME>ọc Quế, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01291359681', '2016-11-19 23:41:37', '2016-11-19 23:41:37', 2),
(403, 'thihieu19930615', '4068db86323702bd98c1999331df5df8', 'Nguyễn <NAME> Hiếu\r\n', 0, '<EMAIL>', '1993-06-15 00:00:00', '9/345 Xô Viết Nghệ Tĩnh, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '0912799491', '2016-12-12 23:41:37', '2016-12-12 23:41:37', 2),
(404, 'PHUONG79', '9cbc74a0c2ded63bbdd451d9a5130339', '<NAME>\r\n', 0, '<EMAIL>', '1979-08-25 00:00:00', '400 CMT8, <NAME>, <NAME>, TP. Cần Thơ', '0924631288', '2016-12-18 23:41:37', '2016-12-18 23:41:37', 2),
(405, 'theudodangthi1402', '9a7e1568971ed085e84cdb73a444d879', '<NAME>êu\r\n', 0, '<EMAIL>', '1995-02-14 00:00:00', '198 Xô Viết Ngh<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01256392701', '2016-12-19 06:38:55', '2016-12-19 06:38:55', 2),
(406, 'TUONG.VU.THI-79', 'f77bd477118a7984cb6aee4b36965a4a', 'Vũ Thị Tường\r\n', 0, 'TuongVu.Thi260519<EMAIL>', '1979-05-26 00:00:00', '81 Nguyễ<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01643444405', '2016-12-21 06:38:55', '2016-12-21 06:38:55', 2),
(407, 'Van_01', '30d988cfbbc63de3c04ed74c78879031', '<NAME>\r\n', 0, '<EMAIL>', '2001-01-17 00:00:00', '16A/178 Nguyễn Văn Bông, <NAME>, Q. Bình Thủy, TP. Cần Thơ', '0897933958', '2016-12-22 06:38:55', '2016-12-22 06:38:55', 2),
(408, 'maihuongthipham20010507', 'c166c4708c5349827caca63e75c09069', '<NAME>ai\r\n', 0, '<EMAIL>', '2001-05-07 00:00:00', '149/42 QL1, <NAME>, Q. C<NAME>, TP. Cần Thơ', '0970433548', '2016-12-27 06:38:55', '2016-12-27 06:38:55', 2),
(409, 'thuy-quynh\r\n-920402', 'd0839f9567606ec7ead8c893a2facc97', 'Vũ <NAME>ỳnh\r\n', 0, '<EMAIL>', '1992-04-02 00:00:00', '8/251 Nguyễn Trãi, <NAME>, <NAME>, TP. Cần Thơ', '01286279053', '2017-01-06 06:38:55', '2017-01-06 06:38:55', 2),
(410, 'My861101', 'e0d97fbff2302947fa73ff3133735a2b', 'Vũ Thùy My\r\n', 0, '<EMAIL>', '1986-11-01 00:00:00', '2 30/4, <NAME>, <NAME>, TP. Cần Thơ', '01884645025', '2017-01-06 08:41:55', '2017-01-06 08:41:55', 2),
(411, 'maitran.thi-phuong.92', 'f0d66ba29b2ef616cb74ab471fd37c46', 'Trần Thị Phương Mai\r\n', 0, '<EMAIL>', '1992-07-15 00:00:00', '36/196 QL1, P. Ba Láng, Q. Cái Răng, TP. Cần Thơ', '01664847623', '2017-01-06 09:58:43', '2017-01-06 09:58:43', 2),
(412, 'OanhLe-Nguyen-ThiThu1990-09-18', 'd02cf6ad0c77e8a3fb76065fb4669387', 'Lê Nguyễn Thị Thu Oanh\r\n', 0, '<EMAIL>', '1990-09-18 00:00:00', '6/364 Ngô Quyền, P. T<NAME>, Q. Ninh Kiều, TP. Cần Thơ', '01269706282', '2017-01-07 09:58:43', '2017-01-07 09:58:43', 2),
(413, 'Hai-mien\r\n_84_05_30', '48aa9641ce5b8063acc33698b799dc22', '<NAME>\r\n', 0, '<EMAIL>', '1984-05-30 00:00:00', '245 QL1, P. Ba Láng, Q. Cái Răng, TP. Cần Thơ', '01684557235', '2017-01-11 09:58:43', '2017-01-11 09:58:43', 2),
(414, 'ngohuynh-thiha.phuong.19940109', '025e38a7a4aef19a842ef70f3d60292a', '<NAME>\r\n', 0, '<EMAIL>', '1994-01-09 00:00:00', '218 <NAME>, <NAME> , Q. <NAME>, TP. Cần Thơ', '0947966964', '2017-01-16 09:58:43', '2017-01-16 09:58:43', 2),
(415, 'ly_phanthi_nha_95', '34f1d9753a191581ec49c5066c4a98d3', '<NAME>\r\n', 0, '<EMAIL>', '1995-05-17 00:00:00', '88 QL1, <NAME>, Q. <NAME>, TP. Cần Thơ', '0948538285', '2017-01-17 09:58:43', '2017-01-17 09:58:43', 2),
(416, 'Tuyet_Pham_ThiBach210595', 'a93647345e3c231232401f4f17f34994', 'Phạm Thị Bạch Tuyết\r\n', 0, '<EMAIL>.vn', '1995-05-21 00:00:00', '57 Bùi Minh Trực, P. <NAME>, Q. Bình Thủy, TP. Cần Thơ', '01242771264', '2017-01-31 09:58:43', '2017-01-31 09:58:43', 2),
(417, 'Nguyen_Phan_Thi_Thuong_86', 'a1b5c5531cd9f0c5b70ef543afd9f127', 'Nguyễn Phan Thị Thương\r\n', 0, '<EMAIL>', '1986-05-07 00:00:00', '194A/392 QL91, P. Phước Thới, Q. Ô Môn, TP. Cần Thơ', '01241314963', '2017-02-09 09:58:43', '2017-02-09 09:58:43', 2),
(418, 'Tram81', '6fd3097b9709d2c12965dbbfc561ca57', 'Phạm Thị Bích Trâm\r\n', 0, '<EMAIL>', '1981-05-22 00:00:00', '26/147 Bùi Hữu Nghĩa, P. Bình Thủy, Q. Bình Thủy, TP. Cần Thơ', '01883441245', '2017-02-09 14:09:34', '2017-02-09 14:09:34', 2),
(419, 'NHU091262', '8d5fa207ede0271c1e78bda482558de5', '<NAME>\r\n', 0, '<EMAIL>', '1962-12-09 00:00:00', '242 Quang Trung, P. Hưng Phú, Q. Cái Răng, TP. Cần Thơ', '0893282216', '2017-02-23 14:09:34', '2017-02-23 14:09:34', 2),
(420, 'chilehothimai2703', '6c0d9b897eb3147a33810910c6cfb673', '<NAME>\r\n', 0, '<EMAIL>', '1980-03-27 00:00:00', '33/341 Trần Ngọc Quế, P. Hưng Lợi, Q. Ninh Kiều, TP. Cần Thơ', '01234656859', '2017-03-09 14:09:34', '2017-03-09 14:09:34', 2),
(421, 'HTKThuy13102003', '0bf26dd910c8d88bf7526cdeb7703305', 'Huỳnh Thị Khánh Thủy\r\n', 0, '<EMAIL>', '2003-10-13 00:00:00', '<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01675961136', '2017-03-09 23:25:04', '2017-03-09 23:25:04', 2),
(422, 'Lam_04.04.15', '54455b82937ac1a48cb3c86f86d8c300', 'Trần Thị Hương Lâm\r\n', 0, '<EMAIL>', '2004-04-15 00:00:00', '154D/230 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01214347357', '2017-03-10 02:08:43', '2017-03-10 02:08:43', 2),
(423, 'NhiNguyenTran.ThiYen.2004', '44e130caf1a799e7f018ecd990ca8a1f', 'Nguyễn Trần Thị Yến Nhi\r\n', 0, '<EMAIL>', '2004-03-31 00:00:00', '148/240 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0904892853', '2017-03-10 03:40:14', '2017-03-10 03:40:14', 2),
(424, 'nhathanhnguyen_22_10_1976', 'a597562778202d428cce7f00f764d84f', 'N<NAME>\r\n', 0, '<EMAIL>', '1976-10-22 00:00:00', '20/205 Hoàng Văn Thụ, P. An Cư, Q. <NAME>, TP. Cần Thơ', '01649533262', '2017-03-10 10:39:39', '2017-03-10 10:39:39', 2),
(425, 'thithanh19941203', '0718cb253cf61b0c4185e30dd8780acf', '<NAME>\r\n', 0, '<EMAIL>', '1994-12-03 00:00:00', '170/330 Võ Văn Tần, P. Tân An, Q. Ninh Kiều, TP. Cần Thơ', '0938772974', '2017-04-04 10:39:39', '2017-04-04 10:39:39', 2),
(426, 'LTBLAN760607', 'c5f0eb00ba01e2dd95334f6e170fd3d9', 'Lê Thị Bảo Lan\r\n', 0, '<EMAIL>', '1976-06-07 00:00:00', '2C/164 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01246707348', '2017-04-04 22:43:16', '2017-04-04 22:43:16', 2),
(427, 'p-h.thuy_96', 'f60bf30088e9fdc2a68adfce752db4de', 'Phạm Hương Thủy\r\n', 0, '<EMAIL>', '1996-01-12 00:00:00', '202 Trần Ngọc Quế, <NAME>, <NAME>, TP. Cần Thơ', '01268838388', '2017-04-09 22:43:16', '2017-04-09 22:43:16', 2),
(428, 'antuthingo-nguyen-860305', 'd3edbc6f2a3be398acadeed64d165493', 'Nguyễn Ngô Thị Từ Ân\r\n', 0, '<EMAIL>', '1986-03-05 00:00:00', '222 CMT8, <NAME> , Q. Bình Thủy, TP. Cần Thơ', '0923486853', '2017-04-15 22:43:16', '2017-04-15 22:43:16', 2),
(429, 'VoNguyenDieu.Ngoc.25.04', '9960140628971f37a3478e27298082ea', 'Võ Nguyễn Diệu Ngọc\r\n', 0, '<EMAIL>', '1989-04-25 00:00:00', '307 Phan Văn Trị, P. An Phú, <NAME>, TP. Cần Thơ', '0911928498', '2017-04-25 22:43:16', '2017-04-25 22:43:16', 2),
(430, 'N_T.TXUAN.11_12', '97cf09b8711faa969922b3bcd34d37fd', 'Nguyễn Thị Thi Xuân\r\n', 0, '<EMAIL>', '1985-12-11 00:00:00', '190/394 Tỉnh lộ 922, P. Châu Văn Liêm, Q. Ô Môn, TP. Cần Thơ', '01623946814', '2017-04-28 22:43:16', '2017-04-28 22:43:16', 2),
(431, 'Dung91', '187f69c37116bec8969ad716922667ba', 'Nguyễn Ngọc Dung\r\n', 0, '<EMAIL>', '1991-11-24 00:00:00', '397 Đặng Thanh Sử, P. <NAME>, <NAME>, TP. Cần Thơ', '01629714157', '2017-04-29 10:40:31', '2017-04-29 10:40:31', 2),
(432, 'daodongthi.nguyendo22_02_92', '0923a3cc8af804fb59391a6d5d7b3b3b', 'Đỗ Nguyễn Thị Ðồng Dao\r\n', 0, '<EMAIL>', '1992-02-22 00:00:00', '31A/337 Nguy<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01215742301', '2017-05-06 10:40:31', '2017-05-06 10:40:31', 2),
(433, 'HIENNHI\r\n.12.03', 'fd6e1b6467bc54b09974dd0ca72bc897', '<NAME>\r\n', 0, '<EMAIL>', '1982-03-12 00:00:00', '15 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01625284238', '2017-05-09 10:40:31', '2017-05-09 10:40:31', 2),
(434, 'TRAN_HA.TIEN_1993', '540c91c1d284170816fd93fbef50be01', 'Trần Hạ Tiên\r\n', 0, '<EMAIL>', '1993-01-16 00:00:00', '279 CMT8, <NAME>, <NAME>, TP. Cần Thơ', '01687874728', '2017-05-09 16:27:35', '2017-05-09 16:27:35', 2),
(435, 'Ha-nhi\r\n-1991-05-08', '265124462bb14a71294cbed85deca6f5', 'Nguyễn Trần Thị Hà Nhi\r\n', 0, '<EMAIL>', '1991-05-08 00:00:00', '25 N<NAME>, <NAME>, Q. <NAME>, TP. Cần Thơ', '08684048607', '2017-05-21 16:27:35', '2017-05-21 16:27:35', 2),
(436, 'Trang210394', '674c2f72833e8bc5a88ee54169136abd', 'Mạc Thị Thục Trang\r\n', 0, '<EMAIL>', '1994-03-21 00:00:00', '73 Tỉnh lộ 923, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '01625699412', '2017-05-31 16:27:35', '2017-05-31 16:27:35', 2),
(437, 'BT-TTRANG800627', 'cd7003eaa433cef56ea296195457e309', '<NAME>ang\r\n', 0, '<EMAIL>', '1980-06-27 00:00:00', '299 Nguyễ<NAME>, <NAME>, Q. <NAME>, TP. Cần Thơ', '01230637049', '2017-06-10 16:27:35', '2017-06-10 16:27:35', 2),
(438, 'VT-Anh.1997', 'f7692f7a8aa40044bdac400ae8e4e975', '<NAME>\r\n', 0, '<EMAIL>', '1997-03-26 00:00:00', '254 Trần Kiết Tường, <NAME>, Q. Ô Môn, TP. Cần Thơ', '09930428393', '2017-06-11 16:27:35', '2017-06-11 16:27:35', 2),
(439, 'Hanh_Diem.Thi_Nguyen22_01', '395e8f274b9a8dfeb5932cf958c79e48', '<NAME>nh\r\n', 0, '<EMAIL>', '1985-01-22 00:00:00', '315 Ngô Gia Tự, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01219330886', '2017-06-25 16:27:35', '2017-06-25 16:27:35', 2),
(440, 'YenPhungThiToNguyen0604', 'a813c34904823a60f4e8dc326b0f7db3', 'N<NAME>ến\r\n', 0, '<EMAIL>', '1983-04-06 00:00:00', '106 Trần Kiết Tường, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '01626111751', '2017-06-30 16:27:35', '2017-06-30 16:27:35', 2),
(441, 'thy.2107', 'c59ddbcbbfb5019bf8aafecae0687e24', 'Đặng Thị Mai Thy\r\n', 0, '<EMAIL>', '1979-07-21 00:00:00', '266 QL91B, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '01680887727', '2017-07-18 16:27:35', '2017-07-18 16:27:35', 2),
(442, 'ngocnguyenthi_van23011979', 'ae658cc61861635c2a4f2ca51b28bbd7', 'N<NAME>ọc\r\n', 0, '<EMAIL>', '1979-01-23 00:00:00', '156 QL91, P. Châu Văn Liêm, Q. Ô Môn, TP. Cần Thơ', '0916250318', '2017-07-18 16:53:00', '2017-07-18 16:53:00', 2),
(443, 'chau-le_ong_diem-19771211', '93be91d5e6150ff32bb1a90771c94ecd', '<NAME>âu\r\n', 0, '<EMAIL>', '1977-12-11 00:00:00', '59/154 QL1, P. <NAME>, Q. Cái Răng, TP. Cần Thơ', '01632785159', '2017-07-18 17:20:32', '2017-07-18 17:20:32', 2),
(444, 'VONGUYENVANLINH19860905', '7d036f94e3d6e05a0ab6aa0f7a687ed2', 'Võ Nguyễn Vân Linh\r\n', 0, '<EMAIL>', '1986-09-05 00:00:00', '389 Nguyễn Trãi, <NAME>, <NAME>, TP. Cần Thơ', '01686568245', '2017-07-18 20:22:27', '2017-07-18 20:22:27', 2),
(445, 'nguyenngoc.lan.1990', 'cc081e9e17784c2e53f347456c09d5ed', 'Nguyễn Ngọc Lan\r\n', 0, '<EMAIL>', '1990-10-07 00:00:00', '298 QL1, <NAME>, <NAME>, TP. Cần Thơ', '01637599301', '2017-07-18 20:22:27', '2017-07-18 20:22:27', 2),
(446, 'NGUYENTHUY.NUONG.06.10.97', '1395f2b04dd3b85b09fb3ede8c3153bf', 'Nguyễn Thụy Nương\r\n', 0, '<EMAIL>', '1997-10-06 00:00:00', '117/210 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01689537690', '2017-07-18 22:46:30', '2017-07-18 22:46:30', 2),
(447, 'P-V_M_Loan.78', '265e6dec792204e21a79a5d53d9991cd', '<NAME> Loan\r\n', 0, '<EMAIL>', '1978-07-01 00:00:00', '66 Hòa Bình, <NAME>, <NAME>, TP. Cần Thơ', '01679166796', '2017-07-18 22:46:30', '2017-07-18 22:46:30', 2),
(448, 'Mi-08-02-89', '2b8039f25706da168bd886a9ca85ee60', '<NAME> Mi\r\n', 0, '<EMAIL>', '1989-02-08 00:00:00', '335 Nguyễn Văn Cừ, <NAME>, <NAME>, TP. Cần Thơ', '0893636179', '2017-07-23 22:46:30', '2017-07-23 22:46:30', 2),
(449, 'TRANGNGUYENHOAI19931231', 'fabd91a582168d33377d0d03bd162e03', '<NAME>\r\n', 0, '<EMAIL>', '1993-12-31 00:00:00', '236 Thái Thị Hạnh, P. Long Hưng, Q. Ô Môn, TP. Cần Thơ', '01234038182', '2017-07-26 22:46:30', '2017-07-26 22:46:30', 2),
(450, 'LinhNguyen.Le.Thi_Thuy_31-08-05', 'a45010d6112b2cc853a6bd7aad7cf0bf', 'Nguyễn Lê Thị Thủy Linh\r\n', 0, '<EMAIL>', '2005-08-31 00:00:00', '86 Nguyễn Văn Linh, P. Long Tuyền , Q. Bình Thủy, TP. Cần Thơ', '0882925478', '2017-07-29 22:46:30', '2017-07-29 22:46:30', 2),
(451, 'VYTHANHTHITA19931016', '69e66a58071a2d7c1bd792dbea16c93e', 'Tạ Thị Thanh Vy\r\n', 0, '<EMAIL>', '1993-10-16 00:00:00', '172/344 Mậu Thân, P. <NAME>, <NAME>inh Kiều, TP. Cần Thơ', '01678493111', '2017-08-02 22:46:30', '2017-08-02 22:46:30', 2),
(452, 'Yen031078', 'aa16e11649e884d3b4cc2925805e6ab0', 'N<NAME>ến\r\n', 0, '<EMAIL>', '1978-10-03 00:00:00', '3<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01298236815', '2017-08-15 22:46:30', '2017-08-15 22:46:30', 2),
(453, 'TrangDoKhanh1984', 'f0c00f111dda6b76fcd3c0aff2eb8f0c', '<NAME>\r\n', 0, '<EMAIL>', '1984-01-29 00:00:00', '124 <NAME>, <NAME> , Q. Bình Thủy, TP. Cần Thơ', '01292618718', '2017-08-16 00:20:16', '2017-08-16 00:20:16', 2),
(454, 'THOUYENDINHTRAN060199', '7d82c90cf30081c48cc15bc5d83660a4', '<NAME>\r\n', 0, '<EMAIL>', '1999-01-06 00:00:00', '167 Trần Quang Diệu, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01220440050', '2017-08-20 00:20:16', '2017-08-20 00:20:16', 2),
(455, 'TAM_NGUYEN.MY.910218', '23c38dbf2ae04700454e4679edbc6447', 'Nguyễ<NAME>m\r\n', 0, '<EMAIL>', '1991-02-18 00:00:00', '145 Nguy<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01676837338', '2017-08-20 15:34:00', '2017-08-20 15:34:00', 2),
(456, 'VyNguyen.Thi.Minh-1978', '12ae5fb01228c8cdae83397bd4ba278f', 'Nguyễn Thị Minh Vy\r\n', 0, '<EMAIL>', '1978-02-22 00:00:00', '119A/163 QL1, <NAME>, <NAME>, TP. Cần Thơ', '0977131932', '2017-08-23 15:34:00', '2017-08-23 15:34:00', 2),
(457, 'Khanhquynh700911', '90c7ee9a4ac57b5e37cbee2e3e1f1e34', 'Vương Khánh Quỳnh\r\n', 0, '<EMAIL>', '1970-09-11 00:00:00', '118 Tr<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01284387810', '2017-08-24 10:20:49', '2017-08-24 10:20:49', 2),
(458, 'hienpham_nguyen-thi_phuong-121081', '27d4ddeef2b9e152c9349f6985e3ac49', '<NAME>ền\r\n', 0, '<EMAIL>', '1981-10-12 00:00:00', '178 Mậ<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01651233988', '2017-08-24 19:12:22', '2017-08-24 19:12:22', 2),
(459, 'TRA.PHUONG-NGUYEN18.05.03', 'f292eecb921600c7b61d5633cd58a3f2', 'Nguyễn Phương Trà\r\n', 0, '<EMAIL>', '2003-05-18 00:00:00', '170B/27 Lý Tự Trọng, <NAME>, <NAME>, TP. Cần Thơ', '01869708285', '2017-08-29 19:12:22', '2017-08-29 19:12:22', 2),
(460, 'Truc.NhaThi.Nguyen_1995', '9045343319fd579125bd43f695beb8a9', 'Nguyễn Thị Nhã Trúc\r\n', 0, '<EMAIL>', '1995-05-19 00:00:00', '129/229 Trần Hưng Đạo, <NAME>, <NAME>, TP. Cần Thơ', '01882666430', '2017-09-13 19:12:22', '2017-09-13 19:12:22', 2),
(461, 'L-T-THI000813', '638c623081c022fe75af216f0129e859', 'Lê Tuệ Thi\r\n', 0, '<EMAIL>', '2000-08-13 00:00:00', '343 QL91, P. Long Hưng, Q. Ô Môn, TP. Cần Thơ', '01647396455', '2017-09-13 19:59:52', '2017-09-13 19:59:52', 2),
(462, 'VANTHUYBUI.0908', '25e2edf632772470afde7fa995db9af2', 'Bùi Thùy Vân\r\n', 0, '<EMAIL>', '1978-08-09 00:00:00', '198 Trần Kiết Tường, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '01861460431', '2017-09-13 19:59:52', '2017-09-13 19:59:52', 2),
(463, 'TrinhNgoc-Thi-PhanHuynh-1999', '3975f3f30661916ea5f8c7dc3a044439', '<NAME>inh\r\n', 0, '<EMAIL>', '1999-04-10 00:00:00', '244 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01637351767', '2017-09-18 19:59:52', '2017-09-18 19:59:52', 2),
(464, 'nguyenhamtho0609', '3a3421c0113d32df3c5dddd30e7ca18e', 'Nguyễn Hàm Thơ\r\n', 0, '<EMAIL>', '1996-09-06 00:00:00', '161/83 CMT8, P. Cái Khế, Q. <NAME>, TP. Cần Thơ', '01272906270', '2017-09-19 19:59:52', '2017-09-19 19:59:52', 2),
(465, 'xuan.phanthimy_07.02', 'b4bac071b9f1f70121060d3a81ef52e9', 'Phan Thị Mỹ Xuân\r\n', 0, '<EMAIL>', '1993-02-07 00:00:00', '231 Nguyễn An Ninh, An Lạc, Q. Ninh Kiều, TP. Cần Thơ', '01281643825', '2017-09-19 20:21:01', '2017-09-19 20:21:01', 2),
(466, 'DungTa-Thi_Kieu-27-01', 'dee2361b790101030faa2943003d91b7', 'Tạ Thị Kiều Dung\r\n', 0, '<EMAIL>', '1999-01-27 00:00:00', '176 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01636727726', '2017-09-19 20:21:01', '2017-09-19 20:21:01', 2),
(467, 'Nguyen_ThiPhuongNga2004.11.07', '1fc11957642780a507cd1550cba6732c', 'N<NAME>ga\r\n', 0, '<EMAIL>', '2004-11-07 00:00:00', '<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '09950112671', '2017-09-23 20:21:01', '2017-09-23 20:21:01', 2),
(468, 'Kieu-DiemThi-Nguyen04102003', '30731e208825a873103a9e2dbc869df3', '<NAME>\r\n', 0, '<EMAIL>', '2003-10-04 00:00:00', '71 QL91, <NAME>, Q. Ô Môn, TP. Cần Thơ', '01629821178', '2017-09-25 20:21:01', '2017-09-25 20:21:01', 2),
(469, 'NGHITHITRANNGUYEN560802', '21d418c129b0f58db744e1fee07d2ccb', 'Nguyễ<NAME> Nghi\r\n', 0, '<EMAIL>', '1956-08-02 00:00:00', '124 3/2, <NAME>, <NAME>, TP. Cần Thơ', '01268989833', '2017-09-28 20:21:01', '2017-09-28 20:21:01', 2),
(470, 'NGUYENTHITHANHMAI10031942', '2803f896b5ede036f964f215d612c136', 'Nguyễ<NAME>ai\r\n', 0, '<EMAIL>', '1942-03-10 00:00:00', '162 3/2, <NAME>, <NAME>, TP. Cần Thơ', '0948311091', '2017-10-03 20:21:01', '2017-10-03 20:21:01', 2),
(471, 'Dieu.van19961118', '1cc72f3826774bdaec0764127ee7c912', '<NAME>ân\r\n', 0, '<EMAIL>', '1996-11-18 00:00:00', '41 Xô Viết <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01295871436', '2017-10-03 20:21:01', '2017-10-03 20:21:01', 2),
(472, 'Tuyanh\r\n.2408', '1b1339915f9311eff5627e6a53c6488c', 'Nguyễn Thị Tùy Anh\r\n', 0, '<EMAIL>', '1938-08-24 00:00:00', '317 N<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '0977984786', '2017-10-04 05:32:58', '2017-10-04 05:32:58', 2),
(473, 'KHANHHA\r\n-1946', 'b03eeb870b91b6851533b405b0d32667', 'Trần Thị Khánh Hà\r\n', 0, '<EMAIL>', '1946-03-26 00:00:00', '88/240 Ngô <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01232500679', '2017-10-04 13:07:44', '2017-10-04 13:07:44', 2),
(474, 'MAN_NGUYEN_THI_94_08_04', '98cb3889b0dda4f83b393b9ea0b108cf', 'Nguyễn Thị Mẫn\r\n', 0, '<EMAIL>', '1994-08-04 00:00:00', '253 Trần Phú, P. Cái Khế, Q. Ninh Kiều, TP. Cần Thơ', '09985002011', '2017-10-04 23:51:17', '2017-10-04 23:51:17', 2),
(475, 'P_N_TDHuong_96', 'bdc35fca9c030954fd3bd3713720814c', 'Phan Nguyễn Thị Ðinh Hương\r\n', 0, '<EMAIL>', '1996-01-15 00:00:00', '56 Tỉnh lộ 922, P. Châu Văn Liêm, Q. Ô Môn, TP. Cần Thơ', '01284706896', '2017-10-05 23:51:17', '2017-10-05 23:51:17', 2),
(476, 'DOTHISONGOANH52', '2ef2a18f25785658f88b6b513f498c7e', 'Đỗ Thị Song Oanh\r\n', 0, '<EMAIL>', '1952-12-24 00:00:00', '380 <NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01694504635', '2017-10-07 23:51:17', '2017-10-07 23:51:17', 2),
(477, 'khanhly1949', '7f9f1f403dba9f4f7ddafdd5bcf2aada', '<NAME>y\r\n', 0, '<EMAIL>', '1949-03-25 00:00:00', '49 Trần Kiết Tường, P. <NAME>, Q. Ô Môn, TP. Cần Thơ', '01259024094', '2017-10-08 03:13:05', '2017-10-08 03:13:05', 2),
(478, 'Quyen_Tran-Vi19-07-1961', '6849049a2db2b0d50e9878f77e546f78', 'Trần Vi Quyên\r\n', 0, '<EMAIL>', '1961-07-19 00:00:00', '58D/224 Võ Văn Kiệt, P. <NAME>, Q. Bình Thủy, TP. Cần Thơ', '01867966662', '2017-10-08 03:13:05', '2017-10-08 03:13:05', 2),
(479, 'damtran.thidiemthu050495', '82a06918f1749a53cd889dffb8da7a24', 'Đàm Trần Thị Diễm Thư\r\n', 0, '<EMAIL>', '1995-04-05 00:00:00', '121B/325 Nguyễn An Ninh, An Lạc, <NAME>, TP. Cần Thơ', '01649456437', '2017-10-08 05:24:17', '2017-10-08 05:24:17', 2),
(480, 'Hanh.Kieu.ThiLe0308', '4f95e4c03aba83f955b80afd30a07c17', 'Lê Thị Kiều Hạnh\r\n', 0, '<EMAIL>', '1961-08-03 00:00:00', '62 Nguyễn An Ninh, <NAME>, <NAME>, TP. Cần Thơ', '01290406664', '2017-10-26 05:24:17', '2017-10-26 05:24:17', 2),
(481, 'Kimanh1956.06.05', 'b09b84d99d03fe1f349f1ea3822cbc0c', '<NAME>\r\n', 0, '<EMAIL>', '1956-06-05 00:00:00', '133/218 Nguyễn Trãi, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '0969236802', '2017-10-26 10:41:01', '2017-10-26 10:41:01', 2),
(482, 'TAM2005-10-16', 'a2ead93cd23ff8cf2b2a60d058227d02', 'Đỗ Như Tâm\r\n', 0, '<EMAIL>', '2005-10-16 00:00:00', '114/14 Nguyễn Văn Cừ, <NAME>, Q. <NAME>, TP. Cần Thơ', '0976790135', '2017-10-26 10:41:01', '2017-10-26 10:41:01', 2),
(483, 'Hieugiang1987_04_28', '5994151a84119120c9a309f1bbf2cd59', 'Mạc <NAME>iang\r\n', 0, '<EMAIL>', '1987-04-28 00:00:00', '348 Nguyễn An Ninh, An Lạc, Q. Ninh Kiều, TP. Cần Thơ', '0973738681', '2017-11-08 10:41:01', '2017-11-08 10:41:01', 2),
(484, 'NTXHUONG19890605', 'cc0f3f899100898d3a90aa4b6ae45986', '<NAME>\r\n', 0, '<EMAIL>', '1989-06-05 00:00:00', '272 CMT8, <NAME>, <NAME>, TP. Cần Thơ', '09978951072', '2017-11-10 10:41:01', '2017-11-10 10:41:01', 2),
(485, 'PHAN_THUHANG250282', '690bc9b0b0f8f66823ea4bb154fc0e40', 'Phan Thu Hằng\r\n', 0, '<EMAIL>', '1982-02-25 00:00:00', '358 Lý Tự Trọng, <NAME>, <NAME>, TP. Cần Thơ', '01676167499', '2017-11-10 11:19:43', '2017-11-10 11:19:43', 2),
(486, 'Thao24021996', '70e8603953bc192853566cc2fb61569a', 'Phạm Đàm Thị Minh Thảo\r\n', 0, '<EMAIL>', '1996-02-24 00:00:00', '56 Quang Trung, <NAME>, <NAME>, TP. Cần Thơ', '01886505789', '2017-11-24 11:19:43', '2017-11-24 11:19:43', 2),
(487, 'ha1985', 'f1d0cd7471a7a667e4fcf1154cb58357', 'N<NAME>à\r\n', 0, '<EMAIL>', '1985-06-08 00:00:00', '26 Nguyễ<NAME>, P. An Thới, Q. Bình Thủy, TP. Cần Thơ', '01623781776', '2017-12-17 11:19:43', '2017-12-17 11:19:43', 2),
(488, 'Nhahong030823', '75366e6f7b4549fa47a2765deb9c1a6b', 'N<NAME>ng\r\n', 0, '<EMAIL>', '2003-08-23 00:00:00', '205 Ng<NAME>, P. An Hội, Q. Ninh Kiều, TP. Cần Thơ', '01213933282', '2017-12-22 11:19:43', '2017-12-22 11:19:43', 2),
(489, 'tt.n.hong.96.10.27', '7816eae6f210dc8a0e2b750c36584c8f', 'Trần Thị Nguyên Hồng\r\n', 0, '<EMAIL>', '1996-10-27 00:00:00', '344 Bùi Hữu Nghĩa, P. Bình Thủy, Q. Bình Thủy, TP. Cần Thơ', '01654747469', '2017-12-23 09:52:49', '2017-12-23 09:52:49', 2),
(490, 'nd-hong-2004', '73ef753093f4e5cfdeee2007d07cde91', 'Nguyễn Diệu Hồng\r\n', 0, '<EMAIL>', '2004-10-10 00:00:00', '120 Lộ Vòng Cung, <NAME>, <NAME>, TP. Cần Thơ', '09959129811', '2017-12-24 03:11:35', '2017-12-24 03:11:35', 2),
(491, 'dai_pham.thi.22.07.1922', '6ffcda900bfa6468ca2bee76a7178cdd', 'Phạm Thị Ðài\r\n', 0, '<EMAIL>', '1922-07-22 00:00:00', '300 Nguyễn Thị Minh Khai, P. <NAME>, <NAME>, TP. Cần Thơ', '0928353342', '2017-12-24 03:11:35', '2017-12-24 03:11:35', 2),
(492, 'TRIEUTHIMYTAM20000205', 'de454690fd644c8437b8ef29a90aff6b', '<NAME>âm\r\n', 0, '<EMAIL>', '2000-02-05 00:00:00', '245 Nguyễn Trãi, <NAME>, <NAME>, TP. Cần Thơ', '0923889435', '2017-12-29 03:11:35', '2017-12-29 03:11:35', 2),
(493, 'Kieunguyet63', '51bcf126fa2d926cc1da6fbaaff5644e', 'Trần Kiều Nguyệt\r\n', 0, '<EMAIL>', '1963-12-31 00:00:00', '366 Tỉnh lộ 922, <NAME>, Q. Ô Môn, TP. Cần Thơ', '01238467837', '2018-01-01 03:11:35', '2018-01-01 03:11:35', 2),
(494, 'Loan_Bach-Nguyen11.11', '4688ecb8e479a1d856ebc9d36f55a3d6', 'Nguyễn Bạch Loan\r\n', 0, 'b<EMAIL>', '1984-11-11 00:00:00', '33 Hai Bà Trưng, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01867029083', '2018-01-01 11:25:48', '2018-01-01 11:25:48', 2),
(495, 'Hong-20000426', '5ce6f0ea91f219fbc62e3eb6da623c3c', 'Đỗ Thị Như Hồng\r\n', 0, '<EMAIL>', '2000-04-26 00:00:00', '399 Quang Trung, P. Hưng Phú, Q. <NAME>, TP. Cần Thơ', '01668059184', '2018-01-02 05:11:28', '2018-01-02 05:11:28', 2),
(496, 'VUNGUYEN-DANG-THI86', 'e24a30ccd490dea79ed3c7fe89781c9c', 'N<NAME> Vũ\r\n', 0, '<EMAIL>', '1986-07-12 00:00:00', '194 V<NAME>, P. <NAME>, Q. <NAME>, TP. Cần Thơ', '01689169169', '2018-01-03 05:11:28', '2018-01-03 05:11:28', 2),
(497, 'DAN_LINH-DAM.91', '1f9f90a8dbed824b36303b7bbfd8fecb', '<NAME>\r\n', 0, '<EMAIL>', '1991-04-13 00:00:00', '265 Trần Ngọc Quế, P. Hưng Lợi, Q. Ninh Kiều, TP. Cần Thơ', '0928332649', '2018-01-05 05:11:28', '2018-01-05 05:11:28', 2),
(498, 'n.ttphuong.19980503', '1bdca154a3aa2cb05b9c03b56ee48f24', 'Nguyễn Thị Thiên Phương\r\n', 0, '<EMAIL>', '1998-05-03 00:00:00', '254 Huỳ<NAME>, P. <NAME> , Q. Bình Thủy, TP. Cần Thơ', '01260911775', '2018-01-08 05:11:28', '2018-01-08 05:11:28', 3),
(499, 'THIBINH19380518', 'a422a3cd9cbfbe3135b0eb64fdea9a90', 'Ngô Nguyễn Thị Bình\r\n', 0, '<EMAIL>', '1938-05-18 00:00:00', '<NAME>, <NAME>, <NAME>, TP. Cần Thơ', '01634922056', '2018-01-16 05:11:28', '2018-01-16 05:11:28', 3),
(500, 'KhuyenKim-Thi-Tran.99', '4a3a470d1861bcf0c8925ae043284752', '<NAME>\r\n', 0, '<EMAIL>', '1999-09-02 00:00:00', '114/276 Tỉnh lộ 923, <NAME>, <NAME>, TP. Cần Thơ', '0904804555', '2018-01-17 05:11:28', '2018-01-17 05:11:28', 3);
-- --------------------------------------------------------
--
-- Table structure for table `khuyenmai`
--
CREATE TABLE `khuyenmai` (
`km_ma` tinyint(3) UNSIGNED NOT NULL,
`km_ten` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
`km_noiDung` text COLLATE utf8mb4_unicode_ci NOT NULL,
`km_batDau` datetime NOT NULL,
`km_ketThuc` datetime DEFAULT NULL,
`km_giaTri` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '100;100',
`nv_nguoiLap` tinyint(3) UNSIGNED NOT NULL,
`km_ngayLap` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`nv_kyNhay` tinyint(3) UNSIGNED NOT NULL DEFAULT '1',
`nv_kyDuyet` tinyint(3) UNSIGNED NOT NULL DEFAULT '1',
`km_ngayKyNhay` datetime DEFAULT NULL,
`km_taoMoi` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`km_capNhat` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`km_trangThai` tinyint(3) UNSIGNED NOT NULL DEFAULT '2'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `khuyenmai_sanpham`
--
CREATE TABLE `khuyenmai_sanpham` (
`km_ma` tinyint(3) UNSIGNED NOT NULL,
`sp_ma` bigint(20) UNSIGNED NOT NULL,
`m_ma` tinyint(3) UNSIGNED NOT NULL,
`kmsp_giaTri` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '100;0',
`kmsp_trangThai` tinyint(3) UNSIGNED NOT NULL DEFAULT '2'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `loai`
--
CREATE TABLE `loai` (
`l_ma` tinyint(3) UNSIGNED NOT NULL,
`l_ten` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`l_taoMoi` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`l_capNhat` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`l_trangThai` tinyint(3) UNSIGNED NOT NULL DEFAULT '2'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `loai`
--
INSERT INTO `loai` (`l_ma`, `l_ten`, `l_taoMoi`, `l_capNhat`, `l_trangThai`) VALUES
(1, '<NAME>', '2017-12-21 11:51:25', '2017-12-21 11:51:25', 2),
(2, 'Giỏ hoa', '2017-12-21 11:51:25', '2017-12-21 11:51:25', 2),
(3, 'Hoa giấy', '2017-12-21 11:51:25', '2017-12-21 11:51:25', 2),
(4, 'Hoa lẻ', '2017-12-21 11:51:25', '2017-12-21 11:51:25', 2),
(5, 'Phụ liệu', '2017-12-21 11:51:25', '2017-12-21 11:51:25', 2);
-- --------------------------------------------------------
--
-- Table structure for table `mau`
--
CREATE TABLE `mau` (
`m_ma` tinyint(3) UNSIGNED NOT NULL,
`m_ten` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`m_taoMoi` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`m_capNhat` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`m_trangThai` tinyint(4) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `mau_sanpham`
--
CREATE TABLE `mau_sanpham` (
`sp_ma` bigint(20) UNSIGNED NOT NULL,
`m_ma` tinyint(3) UNSIGNED NOT NULL,
`msp_soLuong` smallint(5) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(51, '2014_10_12_000000_create_users_table', 1),
(52, '2014_10_12_100000_create_password_resets_table', 1),
(53, '2017_12_12_161644_create_loai_table', 1),
(54, '2017_12_12_165432_create_xuatxu_table', 1),
(55, '2017_12_12_165904_create_chude_table', 1),
(56, '2017_12_12_171313_create_nhacungcap_table', 1),
(57, '2017_12_12_174756_create_sanpham_table', 1),
(58, '2017_12_12_181759_create_quyen_table', 1),
(59, '2017_12_12_181905_create_mau_sanpham_table', 1),
(60, '2017_12_13_133328_create_hinhanh_table', 1),
(61, '2017_12_13_135131_create_mau_table', 1),
(62, '2017_12_13_154522_create_nhanvien_table', 1),
(63, '2017_12_13_161803_create_khuyenmai_table', 1),
(64, '2017_12_14_132849_create_phieunhap_table', 1),
(65, '2017_12_14_134119_create_chitietnhap_table', 1),
(66, '2017_12_14_135402_create_khuyenmai_sanpham_table', 1),
(67, '2017_12_14_212823_create_khachhang_table', 1),
(68, '2017_12_14_223952_create_gopy_table', 1),
(69, '2017_12_14_225047_create_thanhtoan_table', 1),
(70, '2017_12_14_225918_create_vanchuyen_table', 1),
(71, '2017_12_14_230605_create_donhang_table', 1),
(72, '2017_12_14_233758_create_chitietdonhang_table', 1),
(73, '2017_12_14_234810_create_hoadonle_table', 1),
(74, '2017_12_15_003520_create_hoadonsi_table', 1),
(75, '2017_12_21_181702_create_chude_sanpham_table', 1);
-- --------------------------------------------------------
--
-- Table structure for table `nhacungcap`
--
CREATE TABLE `nhacungcap` (
`ncc_ma` smallint(5) UNSIGNED NOT NULL,
`ncc_ten` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`ncc_daiDien` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`ncc_diaChi` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL,
`ncc_dienThoai` varchar(11) COLLATE utf8mb4_unicode_ci NOT NULL,
`ncc_email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`ncc_taoMoi` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`ncc_capNhat` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`xx_ma` smallint(5) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `nhanvien`
--
CREATE TABLE `nhanvien` (
`nv_ma` tinyint(3) UNSIGNED NOT NULL,
`nv_taiKhoan` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`nv_matKhau` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL,
`nv_hoTen` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`nv_gioiTinh` tinyint(3) UNSIGNED NOT NULL DEFAULT '1',
`nv_ngaySinh` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`nv_email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`nv_diaChi` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL,
`nv_dienThoai` varchar(11) COLLATE utf8mb4_unicode_ci NOT NULL,
`nv_taoMoi` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`nv_capNhat` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`nv_trangThai` tinyint(3) UNSIGNED NOT NULL DEFAULT '2',
`q_ma` tinyint(3) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- 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 `phieunhap`
--
CREATE TABLE `phieunhap` (
`pn_ma` bigint(20) UNSIGNED NOT NULL,
`pn_nguoiGiao` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`pn_soHoaDon` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL,
`pn_ngayXuatHoaDon` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`pn_ghiChu` text COLLATE utf8mb4_unicode_ci,
`nv_nguoiLapPhieu` tinyint(3) UNSIGNED NOT NULL,
`pn_ngayLapPhieu` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`nv_keToan` tinyint(3) UNSIGNED NOT NULL DEFAULT '1',
`pn_ngayXacNhan` datetime DEFAULT NULL,
`nv_thuKho` tinyint(3) UNSIGNED NOT NULL DEFAULT '1',
`pn_ngayNhapKho` datetime DEFAULT NULL,
`pn_taoMoi` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`pn_capNhat` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`pn_trangThai` tinyint(4) NOT NULL,
`ncc_ma` smallint(5) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `quyen`
--
CREATE TABLE `quyen` (
`q_ma` tinyint(3) UNSIGNED NOT NULL,
`q_ten` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
`q_dienGiai` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`q_taoMoi` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`q_capNhat` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`q_trangThai` tinyint(3) UNSIGNED NOT NULL DEFAULT '2'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `sanpham`
--
CREATE TABLE `sanpham` (
`sp_ma` bigint(20) UNSIGNED NOT NULL,
`sp_ten` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`sp_giaGoc` int(10) UNSIGNED NOT NULL,
`sp_giaBan` int(10) UNSIGNED NOT NULL,
`sp_hinh` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
`sp_thongTin` text COLLATE utf8mb4_unicode_ci NOT NULL,
`sp_danhGia` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`sp_taoMoi` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`sp_capNhat` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`sp_trangThai` tinyint(3) UNSIGNED NOT NULL DEFAULT '2',
`l_ma` tinyint(3) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `thanhtoan`
--
CREATE TABLE `thanhtoan` (
`tt_ma` tinyint(3) UNSIGNED NOT NULL,
`tt_ten` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`tt_dienGiai` text COLLATE utf8mb4_unicode_ci NOT NULL,
`tt_taoMoi` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`tt_capNhat` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`tt_trangThai` tinyint(3) UNSIGNED NOT NULL DEFAULT '2'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- 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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `vanchuyen`
--
CREATE TABLE `vanchuyen` (
`vc_ma` tinyint(3) UNSIGNED NOT NULL,
`vc_ten` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`vc_chiPhi` int(10) UNSIGNED NOT NULL DEFAULT '0',
`vc_dienGiai` text COLLATE utf8mb4_unicode_ci NOT NULL,
`vc_taoMoi` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`vc_capNhat` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`vc_trangThai` tinyint(3) UNSIGNED NOT NULL DEFAULT '2'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `xuatxu`
--
CREATE TABLE `xuatxu` (
`xx_ma` smallint(5) UNSIGNED NOT NULL,
`xx_ten` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`xx_taoMoi` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`xx_capNhat` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`xx_trangThai` tinyint(3) UNSIGNED NOT NULL DEFAULT '2'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `chitietdonhang`
--
ALTER TABLE `chitietdonhang`
ADD KEY `chitietdonhang_dh_ma_foreign` (`dh_ma`),
ADD KEY `chitietdonhang_sp_ma_foreign` (`sp_ma`),
ADD KEY `chitietdonhang_m_ma_foreign` (`m_ma`);
--
-- Indexes for table `chitietnhap`
--
ALTER TABLE `chitietnhap`
ADD KEY `chitietnhap_pn_ma_foreign` (`pn_ma`),
ADD KEY `chitietnhap_sp_ma_foreign` (`sp_ma`),
ADD KEY `chitietnhap_m_ma_foreign` (`m_ma`);
--
-- Indexes for table `chude`
--
ALTER TABLE `chude`
ADD PRIMARY KEY (`cd_ma`),
ADD UNIQUE KEY `chude_cd_ten_unique` (`cd_ten`);
--
-- Indexes for table `chude_sanpham`
--
ALTER TABLE `chude_sanpham`
ADD KEY `chude_sanpham_sp_ma_foreign` (`sp_ma`),
ADD KEY `chude_sanpham_cd_ma_foreign` (`cd_ma`);
--
-- Indexes for table `donhang`
--
ALTER TABLE `donhang`
ADD PRIMARY KEY (`dh_ma`),
ADD KEY `donhang_kh_ma_foreign` (`kh_ma`),
ADD KEY `donhang_nv_xuly_foreign` (`nv_xuLy`),
ADD KEY `donhang_nv_giaohang_foreign` (`nv_giaoHang`),
ADD KEY `donhang_vc_ma_foreign` (`vc_ma`),
ADD KEY `donhang_tt_ma_foreign` (`tt_ma`);
--
-- Indexes for table `gopy`
--
ALTER TABLE `gopy`
ADD PRIMARY KEY (`gy_ma`);
--
-- Indexes for table `hinhanh`
--
ALTER TABLE `hinhanh`
ADD PRIMARY KEY (`sp_ma`);
--
-- Indexes for table `hoadonle`
--
ALTER TABLE `hoadonle`
ADD KEY `hoadonle_nv_laphoadon_foreign` (`nv_lapHoaDon`),
ADD KEY `hoadonle_dh_ma_foreign` (`dh_ma`);
--
-- Indexes for table `hoadonsi`
--
ALTER TABLE `hoadonsi`
ADD PRIMARY KEY (`hds_ma`),
ADD KEY `hoadonsi_nv_laphoadon_foreign` (`nv_lapHoaDon`),
ADD KEY `hoadonsi_nv_thutruong_foreign` (`nv_thuTruong`),
ADD KEY `hoadonsi_dh_ma_foreign` (`dh_ma`),
ADD KEY `hoadonsi_tt_ma_foreign` (`tt_ma`);
--
-- Indexes for table `khachhang`
--
ALTER TABLE `khachhang`
ADD PRIMARY KEY (`kh_ma`),
ADD UNIQUE KEY `khachhang_kh_taikhoan_unique` (`kh_taiKhoan`),
ADD UNIQUE KEY `khachhang_kh_email_unique` (`kh_email`),
ADD UNIQUE KEY `khachhang_kh_dienthoai_unique` (`kh_dienThoai`);
--
-- Indexes for table `khuyenmai`
--
ALTER TABLE `khuyenmai`
ADD PRIMARY KEY (`km_ma`),
ADD KEY `khuyenmai_nv_nguoilap_foreign` (`nv_nguoiLap`),
ADD KEY `khuyenmai_nv_kynhay_foreign` (`nv_kyNhay`),
ADD KEY `khuyenmai_nv_kyduyet_foreign` (`nv_kyDuyet`);
--
-- Indexes for table `khuyenmai_sanpham`
--
ALTER TABLE `khuyenmai_sanpham`
ADD KEY `khuyenmai_sanpham_km_ma_foreign` (`km_ma`),
ADD KEY `khuyenmai_sanpham_sp_ma_foreign` (`sp_ma`),
ADD KEY `khuyenmai_sanpham_m_ma_foreign` (`m_ma`);
--
-- Indexes for table `loai`
--
ALTER TABLE `loai`
ADD PRIMARY KEY (`l_ma`);
--
-- Indexes for table `mau`
--
ALTER TABLE `mau`
ADD PRIMARY KEY (`m_ma`),
ADD UNIQUE KEY `mau_m_ten_unique` (`m_ten`);
--
-- Indexes for table `mau_sanpham`
--
ALTER TABLE `mau_sanpham`
ADD PRIMARY KEY (`sp_ma`,`m_ma`);
--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `nhacungcap`
--
ALTER TABLE `nhacungcap`
ADD PRIMARY KEY (`ncc_ma`),
ADD UNIQUE KEY `nhacungcap_ncc_ten_unique` (`ncc_ten`),
ADD KEY `nhacungcap_xx_ma_foreign` (`xx_ma`);
--
-- Indexes for table `nhanvien`
--
ALTER TABLE `nhanvien`
ADD PRIMARY KEY (`nv_ma`),
ADD UNIQUE KEY `nhanvien_nv_taikhoan_nv_email_nv_dienthoai_unique` (`nv_taiKhoan`,`nv_email`,`nv_dienThoai`),
ADD KEY `nhanvien_q_ma_foreign` (`q_ma`);
--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Indexes for table `phieunhap`
--
ALTER TABLE `phieunhap`
ADD PRIMARY KEY (`pn_ma`),
ADD UNIQUE KEY `phieunhap_pn_sohoadon_unique` (`pn_soHoaDon`),
ADD KEY `phieunhap_nv_nguoilapphieu_foreign` (`nv_nguoiLapPhieu`),
ADD KEY `phieunhap_nv_ketoan_foreign` (`nv_keToan`),
ADD KEY `phieunhap_nv_thukho_foreign` (`nv_thuKho`),
ADD KEY `phieunhap_ncc_ma_foreign` (`ncc_ma`);
--
-- Indexes for table `quyen`
--
ALTER TABLE `quyen`
ADD PRIMARY KEY (`q_ma`),
ADD UNIQUE KEY `quyen_q_ten_unique` (`q_ten`);
--
-- Indexes for table `sanpham`
--
ALTER TABLE `sanpham`
ADD PRIMARY KEY (`sp_ma`),
ADD UNIQUE KEY `sanpham_sp_ten_unique` (`sp_ten`),
ADD KEY `sanpham_l_ma_foreign` (`l_ma`);
--
-- Indexes for table `thanhtoan`
--
ALTER TABLE `thanhtoan`
ADD PRIMARY KEY (`tt_ma`),
ADD UNIQUE KEY `thanhtoan_tt_ten_unique` (`tt_ten`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`);
--
-- Indexes for table `vanchuyen`
--
ALTER TABLE `vanchuyen`
ADD PRIMARY KEY (`vc_ma`),
ADD UNIQUE KEY `vanchuyen_vc_ten_unique` (`vc_ten`);
--
-- Indexes for table `xuatxu`
--
ALTER TABLE `xuatxu`
ADD PRIMARY KEY (`xx_ma`),
ADD UNIQUE KEY `xuatxu_xx_ten_unique` (`xx_ten`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `chude`
--
ALTER TABLE `chude`
MODIFY `cd_ma` tinyint(3) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=51;
--
-- AUTO_INCREMENT for table `donhang`
--
ALTER TABLE `donhang`
MODIFY `dh_ma` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `gopy`
--
ALTER TABLE `gopy`
MODIFY `gy_ma` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `hinhanh`
--
ALTER TABLE `hinhanh`
MODIFY `sp_ma` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'Vừa là khóa ngoại và khóa chính';
--
-- AUTO_INCREMENT for table `hoadonsi`
--
ALTER TABLE `hoadonsi`
MODIFY `hds_ma` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `khachhang`
--
ALTER TABLE `khachhang`
MODIFY `kh_ma` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=501;
--
-- AUTO_INCREMENT for table `khuyenmai`
--
ALTER TABLE `khuyenmai`
MODIFY `km_ma` tinyint(3) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `loai`
--
ALTER TABLE `loai`
MODIFY `l_ma` tinyint(3) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `mau`
--
ALTER TABLE `mau`
MODIFY `m_ma` tinyint(3) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=76;
--
-- AUTO_INCREMENT for table `nhacungcap`
--
ALTER TABLE `nhacungcap`
MODIFY `ncc_ma` smallint(5) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `nhanvien`
--
ALTER TABLE `nhanvien`
MODIFY `nv_ma` tinyint(3) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `phieunhap`
--
ALTER TABLE `phieunhap`
MODIFY `pn_ma` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `quyen`
--
ALTER TABLE `quyen`
MODIFY `q_ma` tinyint(3) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `sanpham`
--
ALTER TABLE `sanpham`
MODIFY `sp_ma` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `thanhtoan`
--
ALTER TABLE `thanhtoan`
MODIFY `tt_ma` tinyint(3) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `vanchuyen`
--
ALTER TABLE `vanchuyen`
MODIFY `vc_ma` tinyint(3) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `xuatxu`
--
ALTER TABLE `xuatxu`
MODIFY `xx_ma` smallint(5) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `chitietdonhang`
--
ALTER TABLE `chitietdonhang`
ADD CONSTRAINT `chitietdonhang_dh_ma_foreign` FOREIGN KEY (`dh_ma`) REFERENCES `donhang` (`dh_ma`),
ADD CONSTRAINT `chitietdonhang_m_ma_foreign` FOREIGN KEY (`m_ma`) REFERENCES `mau` (`m_ma`),
ADD CONSTRAINT `chitietdonhang_sp_ma_foreign` FOREIGN KEY (`sp_ma`) REFERENCES `sanpham` (`sp_ma`);
--
-- Constraints for table `chitietnhap`
--
ALTER TABLE `chitietnhap`
ADD CONSTRAINT `chitietnhap_m_ma_foreign` FOREIGN KEY (`m_ma`) REFERENCES `mau` (`m_ma`),
ADD CONSTRAINT `chitietnhap_pn_ma_foreign` FOREIGN KEY (`pn_ma`) REFERENCES `phieunhap` (`pn_ma`),
ADD CONSTRAINT `chitietnhap_sp_ma_foreign` FOREIGN KEY (`sp_ma`) REFERENCES `sanpham` (`sp_ma`);
--
-- Constraints for table `chude_sanpham`
--
ALTER TABLE `chude_sanpham`
ADD CONSTRAINT `chude_sanpham_cd_ma_foreign` FOREIGN KEY (`cd_ma`) REFERENCES `chude` (`cd_ma`),
ADD CONSTRAINT `chude_sanpham_sp_ma_foreign` FOREIGN KEY (`sp_ma`) REFERENCES `sanpham` (`sp_ma`);
--
-- Constraints for table `donhang`
--
ALTER TABLE `donhang`
ADD CONSTRAINT `donhang_kh_ma_foreign` FOREIGN KEY (`kh_ma`) REFERENCES `khachhang` (`kh_ma`),
ADD CONSTRAINT `donhang_nv_giaohang_foreign` FOREIGN KEY (`nv_giaoHang`) REFERENCES `nhanvien` (`nv_ma`),
ADD CONSTRAINT `donhang_nv_xuly_foreign` FOREIGN KEY (`nv_xuLy`) REFERENCES `nhanvien` (`nv_ma`),
ADD CONSTRAINT `donhang_tt_ma_foreign` FOREIGN KEY (`tt_ma`) REFERENCES `thanhtoan` (`tt_ma`),
ADD CONSTRAINT `donhang_vc_ma_foreign` FOREIGN KEY (`vc_ma`) REFERENCES `vanchuyen` (`vc_ma`);
--
-- Constraints for table `hinhanh`
--
ALTER TABLE `hinhanh`
ADD CONSTRAINT `hinhanh_sp_ma_foreign` FOREIGN KEY (`sp_ma`) REFERENCES `sanpham` (`sp_ma`);
--
-- Constraints for table `hoadonle`
--
ALTER TABLE `hoadonle`
ADD CONSTRAINT `hoadonle_dh_ma_foreign` FOREIGN KEY (`dh_ma`) REFERENCES `donhang` (`dh_ma`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `hoadonle_nv_laphoadon_foreign` FOREIGN KEY (`nv_lapHoaDon`) REFERENCES `nhanvien` (`nv_ma`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `hoadonsi`
--
ALTER TABLE `hoadonsi`
ADD CONSTRAINT `hoadonsi_dh_ma_foreign` FOREIGN KEY (`dh_ma`) REFERENCES `donhang` (`dh_ma`),
ADD CONSTRAINT `hoadonsi_nv_laphoadon_foreign` FOREIGN KEY (`nv_lapHoaDon`) REFERENCES `nhanvien` (`nv_ma`),
ADD CONSTRAINT `hoadonsi_nv_thutruong_foreign` FOREIGN KEY (`nv_thuTruong`) REFERENCES `nhanvien` (`nv_ma`),
ADD CONSTRAINT `hoadonsi_tt_ma_foreign` FOREIGN KEY (`tt_ma`) REFERENCES `thanhtoan` (`tt_ma`);
--
-- Constraints for table `khuyenmai`
--
ALTER TABLE `khuyenmai`
ADD CONSTRAINT `khuyenmai_nv_kyduyet_foreign` FOREIGN KEY (`nv_kyDuyet`) REFERENCES `nhanvien` (`nv_ma`) ON DELETE CASCADE,
ADD CONSTRAINT `khuyenmai_nv_kynhay_foreign` FOREIGN KEY (`nv_kyNhay`) REFERENCES `nhanvien` (`nv_ma`) ON DELETE CASCADE,
ADD CONSTRAINT `khuyenmai_nv_nguoilap_foreign` FOREIGN KEY (`nv_nguoiLap`) REFERENCES `nhanvien` (`nv_ma`) ON DELETE CASCADE;
--
-- Constraints for table `khuyenmai_sanpham`
--
ALTER TABLE `khuyenmai_sanpham`
ADD CONSTRAINT `khuyenmai_sanpham_km_ma_foreign` FOREIGN KEY (`km_ma`) REFERENCES `khuyenmai` (`km_ma`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `khuyenmai_sanpham_m_ma_foreign` FOREIGN KEY (`m_ma`) REFERENCES `mau` (`m_ma`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `khuyenmai_sanpham_sp_ma_foreign` FOREIGN KEY (`sp_ma`) REFERENCES `sanpham` (`sp_ma`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `mau_sanpham`
--
ALTER TABLE `mau_sanpham`
ADD CONSTRAINT `mau_sanpham_sp_ma_foreign` FOREIGN KEY (`sp_ma`) REFERENCES `sanpham` (`sp_ma`);
--
-- Constraints for table `nhacungcap`
--
ALTER TABLE `nhacungcap`
ADD CONSTRAINT `nhacungcap_xx_ma_foreign` FOREIGN KEY (`xx_ma`) REFERENCES `xuatxu` (`xx_ma`);
--
-- Constraints for table `nhanvien`
--
ALTER TABLE `nhanvien`
ADD CONSTRAINT `nhanvien_q_ma_foreign` FOREIGN KEY (`q_ma`) REFERENCES `quyen` (`q_ma`);
--
-- Constraints for table `phieunhap`
--
ALTER TABLE `phieunhap`
ADD CONSTRAINT `phieunhap_ncc_ma_foreign` FOREIGN KEY (`ncc_ma`) REFERENCES `nhacungcap` (`ncc_ma`) ON DELETE CASCADE,
ADD CONSTRAINT `phieunhap_nv_ketoan_foreign` FOREIGN KEY (`nv_keToan`) REFERENCES `nhanvien` (`nv_ma`) ON DELETE CASCADE,
ADD CONSTRAINT `phieunhap_nv_nguoilapphieu_foreign` FOREIGN KEY (`nv_nguoiLapPhieu`) REFERENCES `nhanvien` (`nv_ma`) ON DELETE CASCADE,
ADD CONSTRAINT `phieunhap_nv_thukho_foreign` FOREIGN KEY (`nv_thuKho`) REFERENCES `nhanvien` (`nv_ma`) ON DELETE CASCADE;
--
-- Constraints for table `sanpham`
--
ALTER TABLE `sanpham`
ADD CONSTRAINT `sanpham_l_ma_foreign` FOREIGN KEY (`l_ma`) REFERENCES `loai` (`l_ma`);
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<reponame>Mktotoy/CI_HMVC<filename>application/modules/user/sql/user_usergroup.sql
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Client : 127.0.0.1
-- Généré le : Jeu 27 Octobre 2016 à 12:13
-- Version du serveur : 10.1.13-MariaDB
-- Version de PHP : 5.6.20
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Base de données : `db`
--
-- --------------------------------------------------------
--
-- Structure de la table `usergroup`
--
CREATE TABLE `usergroup` (
`IDUserGroup` tinyint(1) NOT NULL,
`Libelle` varchar(30) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Contenu de la table `usergroup`
--
INSERT INTO `usergroup` (`IDUserGroup`, `Libelle`) VALUES
(1, 'User'),
(2, 'Admin');
-- --------------------------------------------------------
--
-- Structure de la table `utilisateur`
--
CREATE TABLE `utilisateur` (
`Matricule` varchar(7) NOT NULL,
`Nom` varchar(30) NOT NULL,
`Prenom` varchar(30) NOT NULL,
`Email` varchar(35) NOT NULL,
`Password` varchar(32) NOT NULL,
`IDUserGroup` tinyint(1) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Contenu de la table `utilisateur`
--
INSERT INTO `utilisateur` (`Matricule`, `Nom`, `Prenom`, `Email`, `Password`, `IDUserGroup`) VALUES
('M418485', 'Aonzo', 'Thomass', '<EMAIL>', 'f71dbe52628a3f83a77ab494817525c6', 2),
('M200000', 'TEST', 'TEST', '<EMAIL>', 'f71dbe52628a3f83a77ab494817525c6', 1);
--
-- Index pour les tables exportées
--
--
-- Index pour la table `usergroup`
--
ALTER TABLE `usergroup`
ADD PRIMARY KEY (`IDUserGroup`);
--
-- Index pour la table `utilisateur`
--
ALTER TABLE `utilisateur`
ADD PRIMARY KEY (`Matricule`),
ADD KEY `IDUserGroup` (`IDUserGroup`);
--
-- AUTO_INCREMENT pour les tables exportées
--
--
-- AUTO_INCREMENT pour la table `usergroup`
--
ALTER TABLE `usergroup`
MODIFY `IDUserGroup` tinyint(1) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<filename>aluradmi_basis_data.sql<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Jul 18, 2017 at 06:07 PM
-- Server version: 10.1.13-MariaDB
-- PHP Version: 5.6.23
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `aluradmi`
--
-- --------------------------------------------------------
--
-- Table structure for table `alur`
--
CREATE TABLE `alur` (
`id_alur` int(10) UNSIGNED NOT NULL,
`nama` varchar(200) NOT NULL,
`id_kategori` int(10) UNSIGNED NOT NULL,
`id_jurusan` int(10) UNSIGNED NOT NULL,
`urut` int(3) NOT NULL,
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `alur`
--
INSERT INTO `alur` (`id_alur`, `nama`, `id_kategori`, `id_jurusan`, `urut`, `timestamp`) VALUES
(30, 'Mengecek Tagihan', 7, 7, 1, '2017-03-15 04:35:41'),
(31, 'Membayar di Bank', 7, 7, 2, '2017-03-15 04:35:41'),
(32, 'Melakukan Registrasi Online', 7, 7, 3, '2017-03-15 04:35:41'),
(33, 'Persyaratan', 8, 7, 1, '2017-03-15 04:38:08'),
(34, 'Mengambil Blangko KRS', 8, 7, 2, '2017-03-15 04:38:08'),
(35, 'Mengisi Blangko KRS', 8, 7, 3, '2017-03-15 04:38:08'),
(36, 'Meminta Persetujuan Dosen PA', 8, 7, 4, '2017-03-15 04:38:08'),
(37, 'Mengisi KRS Online', 8, 7, 5, '2017-03-15 04:38:08'),
(38, 'Mencetak KRS', 8, 7, 6, '2017-03-15 04:38:08'),
(39, 'Persyaratan', 9, 7, 1, '2017-03-15 04:40:54'),
(40, 'Mencari Tempat PI', 9, 7, 2, '2017-03-15 04:40:54'),
(41, 'Mengisi Blangko Pelaksanaan PI', 9, 7, 3, '2017-03-15 04:40:54'),
(42, 'Meminta Surat Permohonan Ijin PI dari Fakultas', 9, 7, 4, '2017-03-15 04:40:54'),
(43, 'Menyerahkan Surat Permohonan dan Persyaratan', 9, 7, 5, '2017-03-15 04:40:54'),
(44, 'Melaksanakan PI', 9, 7, 6, '2017-03-15 04:40:55'),
(45, 'Konsultasi Judul Laporan PI', 9, 7, 7, '2017-03-15 04:40:55'),
(46, 'Menyusun Laporan PI', 9, 7, 8, '2017-03-15 04:40:55'),
(47, 'Mengurus Berkas Selesai Melaksanakan PI', 9, 7, 9, '2017-03-15 04:40:55'),
(48, 'Melaksanakan Ujian PI', 9, 7, 10, '2017-03-15 04:40:55'),
(49, 'Persyaratan', 10, 7, 1, '2017-03-15 04:44:59'),
(50, 'Konsultasi Judul Skripsi', 10, 7, 2, '2017-03-15 04:45:00'),
(51, 'Menyusun Proposal Skripsi', 10, 7, 3, '2017-03-15 04:45:00'),
(52, 'Menyusun Instrumen/Media Penelitian', 10, 7, 4, '2017-03-15 04:45:00'),
(53, 'Validasi Instrumen / Media Penelitian', 10, 7, 5, '2017-03-15 04:45:00'),
(54, 'Mengurus Izin Penelitian', 10, 7, 6, '2017-03-15 04:45:00'),
(55, 'Mengambil Data Penelitian', 10, 7, 7, '2017-03-15 04:45:00'),
(56, 'Mengolah dan Menyusun Hasil Penelitian', 10, 7, 8, '2017-03-15 04:45:00'),
(57, 'Mendaftar Ujian/Sidang', 10, 7, 9, '2017-03-15 04:45:00'),
(58, 'Melaksanakan Ujian/Sidang', 10, 7, 10, '2017-03-15 04:45:00'),
(59, 'Revisi Naskah Skripsi', 10, 7, 11, '2017-03-15 04:45:00'),
(60, 'Menggandakan dan Menjilid Naskah Skripsi', 10, 7, 12, '2017-03-15 04:45:00'),
(61, 'Membuat Jurnal', 10, 7, 13, '2017-03-15 04:45:00'),
(62, 'Mengurus Nilai Skripsi', 10, 7, 14, '2017-03-15 04:45:00'),
(63, 'Persyaratan', 11, 7, 1, '2017-03-15 04:46:56'),
(64, 'Mengisi Blangko Bebas Teori', 11, 7, 2, '2017-03-15 04:46:56'),
(65, 'Mencetak DHS', 11, 7, 3, '2017-03-15 04:46:56'),
(66, 'Menyerahkan DHS ke Pengajaran', 11, 7, 4, '2017-03-15 04:46:56'),
(67, 'Meminta TTD Dosen PA', 11, 7, 5, '2017-03-15 04:46:56'),
(68, 'Meminta TTD Kaprodi', 11, 7, 6, '2017-03-15 04:46:56'),
(69, 'Meminta Surat Keterangan Bebas Teori', 11, 7, 7, '2017-03-15 04:46:56'),
(70, 'Meminta TTD Kasibbag Akademik FT', 11, 7, 8, '2017-03-15 04:46:56'),
(71, 'Menyimpan Surat Keterangan Bebas Teori dan DHS', 11, 7, 9, '2017-03-15 04:46:56'),
(72, 'Membeli Buku Sumbangan', 12, 7, 1, '2017-03-15 04:48:22'),
(73, 'Bebas Perpustakaan Jurusan', 12, 7, 2, '2017-03-15 04:48:23'),
(74, 'Bebas Perpustakaan Pusat', 12, 7, 3, '2017-03-15 04:48:23'),
(75, 'Persyaratan', 13, 7, 1, '2017-03-15 04:49:59'),
(76, 'Meminta TTD Kaprodi', 13, 7, 2, '2017-03-15 04:49:59'),
(77, 'Mengurus Bebas Teori', 13, 7, 3, '2017-03-15 04:49:59'),
(78, 'Persyaratan', 14, 7, 1, '2017-03-15 04:51:38'),
(79, 'Mengisi Data Yudisium', 14, 7, 2, '2017-03-15 04:51:38'),
(80, 'Membayar di Bank', 14, 7, 3, '2017-03-15 04:51:38'),
(81, 'Mencetak Data Yudisium', 14, 7, 4, '2017-03-15 04:51:38'),
(82, 'Menyerahkan Data Yudisium', 14, 7, 5, '2017-03-15 04:51:38'),
(83, 'Mengecek Tagihan', 7, 8, 1, '2017-03-21 20:35:07'),
(84, 'Membayar di Bank', 7, 8, 2, '2017-03-21 20:35:07'),
(85, 'Melakukan Registrasi Online', 7, 8, 3, '2017-03-21 20:35:07'),
(86, 'Persyaratan', 8, 8, 1, '2017-03-21 20:36:29'),
(87, 'Mengambil Blangko KRS', 8, 8, 2, '2017-03-21 20:36:29'),
(88, 'Mengisi Blangko KRS', 8, 8, 3, '2017-03-21 20:36:29'),
(89, 'Meminta Persetujuan Dosen PA', 8, 8, 4, '2017-03-21 20:36:29'),
(90, 'Mengisi KRS Online', 8, 8, 5, '2017-03-21 20:36:29'),
(91, 'Meminta Stempel di Pengajaran', 8, 8, 6, '2017-03-21 20:36:30'),
(92, 'Persyaratan', 9, 8, 1, '2017-03-26 01:19:22'),
(93, 'Mencari Tempat PI', 9, 8, 2, '2017-03-26 01:19:22'),
(94, 'Mengisi Blangko Pelaksanaan PI', 9, 8, 3, '2017-03-26 01:19:22'),
(95, 'Meminta Surat Permohonan Ijin PI dari Fakultas', 9, 8, 4, '2017-03-26 01:19:22'),
(96, 'Menyerahkan Surat Permohonan dan Persyaratan', 9, 8, 5, '2017-03-26 01:19:22'),
(97, 'Melaksanakan PI', 9, 8, 6, '2017-03-26 01:19:22'),
(98, 'Konsultasi Judul Laporan PI', 9, 8, 7, '2017-03-26 01:19:22'),
(99, 'Menyusun Laporan PI', 9, 8, 8, '2017-03-26 01:19:22'),
(100, 'Mengurus Berkas Selesai Melaksanakan PI', 9, 8, 9, '2017-03-26 01:19:23'),
(101, 'Melaksanakan Ujian PI', 9, 8, 10, '2017-03-26 01:19:23'),
(102, 'Persyaratan', 11, 8, 1, '2017-03-26 02:07:55'),
(103, 'Mengisi Blangko Bebas Teori', 11, 8, 2, '2017-03-26 02:07:55'),
(104, 'Mencetak DHS', 11, 8, 3, '2017-03-26 02:07:56'),
(106, 'Meminta TTD Kaprodi', 11, 8, 5, '2017-03-26 02:07:56'),
(107, 'Meminta Surat Keterangan Bebas Teori', 11, 8, 6, '2017-03-26 02:07:56'),
(108, 'Meminta TTD Kasubbag Akademik FT', 11, 8, 7, '2017-03-26 02:07:56'),
(109, 'Menyimpan Surat Keterangan Bebas Teori dan DHS', 11, 8, 8, '2017-03-26 02:07:56'),
(110, 'Meminta TTD Dosen PA', 11, 8, 4, '2017-03-26 02:07:56'),
(111, 'Persyaratan', 12, 8, 1, '2017-03-26 02:15:34'),
(112, 'Membeli Buku Sumbangan', 12, 8, 2, '2017-03-26 02:15:34'),
(113, 'Bebas Perpustakaan Media FT', 12, 8, 3, '2017-03-26 02:15:34'),
(114, 'Bebas Perpustakaan Pusat UNY', 12, 8, 4, '2017-03-26 02:15:34'),
(115, 'Persyaratan', 13, 8, 1, '2017-03-26 02:29:35'),
(116, 'Meminta TTD Kaprodi', 13, 8, 2, '2017-03-26 02:29:35'),
(117, 'Mengurus Bebas Teori', 13, 8, 3, '2017-03-26 02:29:35'),
(118, 'Persyaratan', 14, 8, 1, '2017-03-26 02:30:42'),
(119, 'Mengisi Data yudisium', 14, 8, 2, '2017-03-26 02:30:42'),
(120, 'Membayar di Bank', 14, 8, 3, '2017-03-26 02:30:42'),
(121, 'Mencetak Data Yudisium', 14, 8, 4, '2017-03-26 02:30:42'),
(122, 'Menyerahkan Data Yudisium', 14, 8, 5, '2017-03-26 02:30:42'),
(123, 'Persyaratan', 10, 8, 1, '2017-03-26 13:48:58'),
(124, 'Konsultasi Judul Skripsi', 10, 8, 2, '2017-03-26 14:01:59'),
(125, 'Menyusun Proposal Skripsi', 10, 8, 3, '2017-03-26 14:01:59'),
(126, 'Menyusun Instrumen / Media Penelitian', 10, 8, 4, '2017-03-26 14:01:59'),
(127, 'Validasi Instrumen / Media Penelitian', 10, 8, 5, '2017-03-26 14:01:59'),
(128, 'Mengurus Izin Penelitian', 10, 8, 6, '2017-03-26 14:01:59'),
(129, 'Mengambil Data Penelitian', 10, 8, 7, '2017-03-26 14:01:59'),
(130, 'Mengolah dan Menyusun Hasil Penelitian', 10, 8, 8, '2017-03-26 14:01:59'),
(131, 'Mendaftar Ujian TAS', 10, 8, 9, '2017-03-26 14:02:00'),
(132, 'Melaksanakan Ujian', 10, 8, 10, '2017-03-26 14:02:00'),
(133, 'Revisi Naskah Skripsi', 10, 8, 11, '2017-03-26 14:02:00'),
(134, 'Menggandakan dan Jilid Naskah Skripsi', 10, 8, 12, '2017-03-26 14:02:00'),
(135, 'Membuat Jurnal', 10, 8, 13, '2017-03-26 14:02:00'),
(136, 'Mengurus Nilai Skripsi', 10, 8, 14, '2017-03-26 14:02:00');
-- --------------------------------------------------------
--
-- Table structure for table `berkas`
--
CREATE TABLE `berkas` (
`id_berkas` int(10) UNSIGNED NOT NULL,
`nama` varchar(200) NOT NULL,
`id_keterangan` int(10) UNSIGNED NOT NULL,
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `berkas`
--
INSERT INTO `berkas` (`id_berkas`, `nama`, `id_keterangan`, `timestamp`) VALUES
(13, 'Reguler : Kuitansi pembayaran tagihan / UKT dari bank', 35, '2017-03-15 06:24:51'),
(14, 'Bidikmisi : print out bukti registrasi online', 35, '2017-03-15 06:11:51'),
(16, 'Blangko KRS yang sudah diisi', 38, '2017-03-15 06:12:27'),
(17, 'Blangko KRS yang sudah diisi dan telah disetujui oleh Dosen PA', 41, '2017-03-15 06:25:35'),
(18, 'Blangko KRS manual ', 37, '2017-03-15 06:25:59'),
(19, 'Blangko surat permohonan ijin PI', 49, '2017-03-15 06:53:10'),
(20, 'Blangko surat permohonan ijin PI yang sudah ditanda tangani oleh Dosen Pembimbing PI dan Koordinator PI Jurusan', 50, '2017-03-15 06:53:41'),
(21, 'Surat permohonan ijin PI dari fakultas', 51, '2017-03-15 06:54:13'),
(22, 'Surat permohonan ijin PI dari fakultas yang sudah diperbanyak', 52, '2017-03-15 06:54:36'),
(23, 'Surat permohonan ijin PI dari Fakultas', 53, '2017-03-15 06:55:31'),
(24, 'Berkas persyaratan lainnya, misalnya : proposal(jika disyaratkan oleh industri/proyek)', 53, '2017-03-15 06:55:31'),
(25, 'Format penilaian pembimbing industri(lihat di panduan praktik industri)', 54, '2017-03-15 06:56:18'),
(26, 'Lembar catatan harian (lihat di buku panduan PI)', 55, '2017-03-15 06:56:49'),
(27, 'Lembar konsultasi', 56, '2017-03-15 06:57:04'),
(28, 'Lembar catatan harian', 57, '2017-03-15 06:57:18'),
(29, 'Laporan PI', 58, '2017-03-15 06:57:36'),
(30, 'Lembar catatan harian', 58, '2017-03-15 06:57:36'),
(31, 'Laporan PI yang telah di acc dosen pembimbing', 59, '2017-03-15 06:57:52'),
(32, 'Laporan PI yang telah digandakan dan dijilid hardcover', 60, '2017-03-15 06:58:13'),
(33, 'Laporan PI yang telah digandakan dan dijilid hardcover', 61, '2017-03-15 06:58:26'),
(34, 'Laporan PI yang telah ditanda tangani dosen pembimbing dan pembimbing industri (diberi stempel basah industri)', 62, '2017-03-15 06:58:57'),
(35, 'Laporan PI yang telah ditanda tangani oleh dosen pembimbing, pembimbing industri dan koordinator PI jurusan', 63, '2017-03-15 06:59:26'),
(36, 'Laporan PI yang telah ditanda tangani oleh dosen pembimbing, pembimbing industri dan koordinator PI jurusan', 64, '2017-03-15 06:59:47'),
(37, 'Laporan PI yang telah ditanda tangani oleh Wakil Dekan I FT UNY', 65, '2017-03-15 06:59:56'),
(38, 'Laporan PI yang telah distempel', 66, '2017-03-15 07:00:04'),
(39, 'Map berisi lembar penilaian dari pembimbing industri', 69, '2017-03-15 07:00:23'),
(40, 'Surat keterangan selesai melaksanakan PI dari industri', 70, '2017-03-15 07:00:32'),
(41, 'Laporan PI', 71, '2017-03-15 07:00:53'),
(42, 'Sumbangan 1 buah buku', 73, '2017-03-15 07:09:50'),
(43, 'Lembar permohonan nilai skripsi', 73, '2017-03-15 07:09:50'),
(44, 'Buku sumbangan 1 buah', 74, '2017-03-15 07:10:08'),
(45, 'Surat keterangan bebas teori dan print out DHS yang telah didapatkan sebelum melaksanakan ujian Tugas Akhir Skripsi (TAS)', 77, '2017-03-15 07:14:22'),
(46, 'Surat keterangan bebas teori dan print out DHS yang telah ditanda tangani oleh Ketua Jurusan', 78, '2017-03-15 07:14:42'),
(47, 'Blangko permohonan bebas teori', 89, '2017-03-15 15:59:15'),
(48, 'Blangko permohonan bebas teori', 90, '2017-03-15 16:00:23'),
(49, 'KRS semester terakhir (jika KRS tidak ada/hilang, terlebih dahulu mengurus surat kehilangan ke Polsek Bulaksumur)', 90, '2017-03-15 16:00:23'),
(50, 'Bukti pembayaran semester terakhir. Bagi mahasiswa bidikmisi tidak perlu, cukup menyebutkan mahasiswa bidikmisi', 90, '2017-03-15 16:00:23'),
(51, 'Naskah skripsi yang telah di acc oleh dosen pembimbing skripsi', 90, '2017-03-15 16:00:23'),
(52, 'Print out DHS', 91, '2017-03-15 16:00:52'),
(53, 'KRS seluruh semester (jika ada KRS yang hilang, terlebih dahulu mengurus surat kehilangan ke Polsek Bulaksumur)', 91, '2017-03-15 16:00:52'),
(54, 'Print out DHS yang telah dicocokan oleh petugas pengajaran', 92, '2017-03-15 16:02:09'),
(55, 'Print out DHS yang telah di tanda tangani oleh Dosen PA', 93, '2017-03-15 16:02:20'),
(56, 'Print out DHS yang telah ditanda tangani oleh Dosen PA dan Kajur', 94, '2017-03-15 16:02:32'),
(57, 'Surat keterangan bebas teori', 95, '2017-03-15 16:02:49'),
(58, 'Surat keterangan bebas teori yang telah ditanda tangani oleh Kasubbag Akademik FT UNY', 96, '2017-03-15 16:03:05'),
(59, 'Print out lembar 1, 2 dan 3 data yudisium dari SIAKAD', 85, '2017-03-15 16:05:37'),
(60, 'Surat keterangan bebas teori dan print out DHS yang telah divalidasi oleh petugas loket 1', 85, '2017-03-15 16:05:37'),
(61, 'Ijazah terakhir (SMA/SMK)', 85, '2017-03-15 16:05:37'),
(62, 'Naskah skripsi yang telah dijilid dan disahkan oleh Dekan FT', 154, '2017-03-15 17:17:52'),
(63, 'CD berisi file skripsi, jurnal dan biodata jurnal', 154, '2017-03-15 17:17:52'),
(64, 'Abstrak yang telah dilaminating', 154, '2017-03-15 17:17:52'),
(65, 'Amplop berperangko dan alamat orang tua', 154, '2017-03-15 17:17:52'),
(66, 'Fotokopi sertifikat ProTEFL dari UNY minimal skor 425', 154, '2017-03-15 17:17:52'),
(67, 'Naskah skripsi yang telah dijilid dan disahkan oleh Dekan FT', 153, '2017-03-15 17:18:08'),
(68, 'CD berisi file skripsi, jurnal dan biodata jurnal', 153, '2017-03-15 17:18:08'),
(69, 'Abstrak bahasa Indonesia dan Inggris', 152, '2017-03-15 17:18:18'),
(70, 'Blangko permohonan nilai skripsi yang didapatkan dari Sekjur saat mendaftar ujian/sidang', 150, '2017-03-15 17:18:32'),
(71, 'Biodata jurnal (pdf)', 149, '2017-03-15 17:18:48'),
(72, 'Naskah jurnal (pdf)', 149, '2017-03-15 17:18:49'),
(73, 'File skripsi dalam 1 file dengan format pdf', 148, '2017-03-15 17:36:44'),
(74, 'Biodata jurnal (pdf)', 148, '2017-03-15 17:19:07'),
(75, 'Naskah jurnal (pdf)', 148, '2017-03-15 17:19:07'),
(76, 'Naskah skripsi', 147, '2017-03-15 17:19:20'),
(77, 'Abstrak bahasa Indonesia', 146, '2017-03-15 17:19:28'),
(78, 'Naskah skripsi yang telah divalidasi oleh petugas loket 3 dan JPTK FT', 145, '2017-03-15 17:19:39'),
(79, 'Naskah skripsi yang telah ditanda tangani oleh dosen pembimbing dan kaprodi', 144, '2017-03-15 17:19:51'),
(80, 'Naskah skripsi yang telah ditanda tangani oleh dosen pembimbing dan kaprodi', 143, '2017-03-15 17:20:06'),
(82, 'Naskah skripsi yang telah ditanda tangani oleh dosen pembimbing', 142, '2017-03-15 17:21:03'),
(83, 'Naskah skripsi yang telah dijilid', 141, '2017-03-15 17:21:10'),
(84, 'Lembar saran dan masukan dari dosen penguji', 138, '2017-03-15 17:21:26'),
(85, 'Naskah skripsi yang digunakan saat ujian/sidang', 138, '2017-03-15 17:21:26'),
(86, 'Lembar saran dan masukan dari dosen penguji', 139, '2017-03-15 17:21:55'),
(87, 'Naskah skripsi yang telah direvisi', 139, '2017-03-15 17:21:55'),
(88, 'Lembar halaman pengesahan (bisa dilihat di buku panduan tugas akhir skripsi) 3 atau 5 rangkap', 139, '2017-03-15 17:21:55'),
(89, 'Naskah Skripsi', 134, '2017-03-15 17:23:37'),
(90, 'Surat Undangan', 134, '2017-03-15 17:23:37'),
(91, 'SK ujian/sidang (bisa menyusul)', 134, '2017-03-15 17:23:37'),
(92, 'Naskah skripsi yang telah di acc oleh dosen pembimbing', 133, '2017-03-15 17:23:47'),
(93, 'Blangko pendaftaran ujian/sidang yang telah diisi', 132, '2017-03-15 17:23:52'),
(94, 'Blangko pendaftaran ujian/sidang', 131, '2017-03-15 17:24:01'),
(95, 'Surat keterangan bebas teori', 130, '2017-03-15 17:24:07'),
(96, 'Hasil Penelitian', 128, '2017-03-15 17:24:36'),
(97, 'Lembar Konsultasi', 128, '2017-03-15 17:24:37'),
(98, 'Hasil Penelitian', 127, '2017-03-15 17:24:55'),
(99, 'Buku panduan tugas akhir skripsi', 127, '2017-03-15 17:24:55'),
(100, 'Instrumen penelitian / media penelitian (bagi mahasiswa skripsi media)', 126, '2017-03-15 17:25:10'),
(101, 'Surat ijin penelitian dari fakultas, dari provinsi dan dari kota/kabupaten', 124, '2017-03-15 17:25:37'),
(102, 'Berkas lain yang disyaratkan oleh sekolah', 124, '2017-03-15 17:25:37'),
(103, 'Naskah proposal skripsi', 123, '2017-03-15 17:26:09'),
(104, 'Surat ijin penelitian dari fakultas dan dari provinsi', 123, '2017-03-15 17:26:10'),
(105, 'Berkas lain yang disyaratkan oleh kota/ kabupaten (aturan setiap kota/kabupaten berbeda-beda)', 123, '2017-03-15 17:26:10'),
(106, 'Naskah proposal skripsi', 122, '2017-03-15 17:26:29'),
(107, 'Surat ijin penelitian dari fakultas', 122, '2017-03-15 17:26:29'),
(108, 'Berkas lain yang disyaratkan oleh provinsi (aturan setiap provinsi berbeda-beda)', 122, '2017-03-15 17:26:29'),
(109, 'Blangko penelitian yang telah ditanda tangani oleh dosen Pembimbing', 121, '2017-03-15 17:26:52'),
(110, 'Fotokopi halaman cover dan halaman persetujuan yang telah Distempel', 121, '2017-03-15 17:26:52'),
(111, 'Blangko penelitian yang telah diisi', 120, '2017-03-15 17:27:01'),
(112, 'Blangko penelitian', 119, '2017-03-15 17:27:06'),
(113, 'Naskah proposal skripsi yang telah ditanda tangani oleh Dekan FT dan telah digandakan pada halaman persetujuan', 117, '2017-03-15 17:27:30'),
(114, 'Naskah proposal skripsi yang telah ditanda tangani oleh Dekan FT', 116, '2017-03-15 17:27:38'),
(115, 'Naskah proposal skripsi yang telah divalidasi oleh petugas loket 3', 115, '2017-03-15 17:27:45'),
(116, 'Naskah proposal skripsi yang telah ditanda tangani oleh dosen pembimbing dan kaprodi', 114, '2017-03-15 17:28:07'),
(117, 'Naskah proposal skripsi yang telah ditanda tangani oleh dosen pembimbing', 113, '2017-03-15 17:28:18'),
(118, 'Naskah proposal skripsi yang telah dijilid', 112, '2017-03-15 17:28:27'),
(119, 'Map berisi print out surat permohonan validasi beserta lampirannya', 109, '2017-03-15 17:28:47'),
(120, 'Print out surat permohonan validasi beserta lampirannya', 108, '2017-03-15 17:28:55'),
(121, 'Print out surat permohonan validasi beserta lampirannya', 107, '2017-03-15 17:29:02'),
(122, 'Instrumen penelitian/media penelitian', 103, '2017-03-15 17:29:21'),
(123, ' Lembar konsultasi', 103, '2017-03-15 17:29:21'),
(124, 'Naskah proposal skripsi', 101, '2017-03-15 17:29:49'),
(125, 'Lembar konsultasi (format bisa di lihat di buku panduan tugas akhir skripsi)', 101, '2017-03-15 17:29:49'),
(126, 'Buku panduan tugas akhir skripsi', 100, '2017-03-15 17:29:57'),
(127, 'Reguler : Kwitansi pembayaran tagihan/UKT dari bank', 162, '2017-03-21 20:51:45'),
(128, 'Bidikmisi : Print out bukti registrasi online', 162, '2017-03-21 20:51:45'),
(129, 'Blangko KRS', 164, '2017-03-21 20:52:02'),
(130, 'Blangko KRS manual sudah diisi', 165, '2017-03-21 20:52:17'),
(131, 'Blangko KRS yang sudah diisi dan disetujui oleh Dosen PA', 167, '2017-03-21 20:52:40'),
(132, 'Blangko KRS yang sudah ditanda tangani oleh Dosen PA', 168, '2017-03-21 20:52:55'),
(133, 'Blangko surat permohonan ijin PI', 172, '2017-03-26 01:45:58'),
(134, 'Blangko surat permohonan ijin PI yang sudah ditanda tangani oleh Koordinator PI Jurusan', 173, '2017-03-26 01:46:29'),
(135, 'Surat permohonan ijin PI dari fakultas', 174, '2017-03-26 01:46:44'),
(136, 'Surat permohonan ijin PI dari fakultas yang sudah diperbanyak', 175, '2017-03-26 01:46:53'),
(137, 'Surat permohonan ijin PI dari fakultas', 176, '2017-03-26 01:47:28'),
(138, 'Berkas persyaratan, misalnya: proposal (jika disyaratkan oleh industri)', 176, '2017-03-26 01:47:28'),
(139, 'Format penilaian pembimbing industri (lihat di panduan praktik industri)', 177, '2017-03-26 01:47:49'),
(140, 'Lembar catatan harian (lihat di buku panduan praktik industri)', 178, '2017-03-26 01:47:58'),
(141, 'Lembar konsultasi', 179, '2017-03-26 01:48:13'),
(142, 'Lembar catatan harian', 180, '2017-03-26 01:48:30'),
(143, 'Laporan PI', 181, '2017-03-26 01:48:54'),
(144, 'Lembar catatan harian', 181, '2017-03-26 01:48:54'),
(145, 'Laporan PI yang telah di setujui dosen pembimbing', 182, '2017-03-26 01:49:20'),
(146, 'Laporan PI yang telah digandakan dan dijilid hardcover', 183, '2017-03-26 01:49:30'),
(147, 'Laporan PI yang telah digandakan dan dijilid hardcover', 184, '2017-03-26 01:49:40'),
(148, 'Laporan PI yang telah ditanda tangani dosen pembimbing dan pembimbing industri (diberi stempel basah industri)', 185, '2017-03-26 01:50:00'),
(149, 'Laporan PI yang telah ditanda tangani oleh dosen pembimbing, pembimbing industri dan koordinator PI jurusan', 186, '2017-03-26 01:50:21'),
(150, 'Laporan PI yang telah ditanda tangani oleh dosen pembimbing, pembimbing industri dan koordinator PI jurusan', 187, '2017-03-26 01:50:35'),
(151, 'Laporan PI yang telah ditanda tangani oleh Wakil Dekan I FT UNY', 188, '2017-03-26 01:50:45'),
(152, 'Laporan PI yang telah distempel', 189, '2017-03-26 01:50:54'),
(153, 'Map berisi lembar penilaian dari pembimbing industri', 192, '2017-03-26 01:51:20'),
(154, 'Surat keterangan selesai melaksanakan PI dari industri', 193, '2017-03-26 01:51:29'),
(155, 'Laporan PI', 194, '2017-03-26 01:51:40'),
(156, 'Blangko permohonan bebas teori', 198, '2017-03-26 02:23:31'),
(157, 'Blangko permohonan bebas teori', 199, '2017-03-26 02:24:49'),
(158, 'KRS semester terakhir (jika KRS tidak ada/hilang, terlebih dahulu mengurus surat kehilangan ke Polsek Bulaksumur)', 199, '2017-03-26 02:24:50'),
(159, 'Bukti pembayaran semester terakhir. Bagi mahasiswa bidikmisi tidak perlu, cukup menyebutkan mahasiswa bidikmisi', 199, '2017-03-26 02:24:50'),
(160, 'Naskah skripsi yang telah di setujui oleh dosen pembimbing skripsi', 199, '2017-03-26 02:24:50'),
(161, 'Print out DHS dari loket 1', 201, '2017-03-26 02:25:13'),
(162, 'Print out DHS yang telah di tanda tangani oleh Dosen PA', 200, '2017-03-26 02:25:24'),
(163, 'Print out DHS yang telah ditanda tangani oleh Dosen PA dan Kajur', 202, '2017-03-26 02:25:33'),
(164, 'Surat keterangan bebas teori', 203, '2017-03-26 02:25:47'),
(165, 'Surat keterangan bebas teori yang telah ditanda tangani oleh Kasubbag Akademik FT UNY', 204, '2017-03-26 02:25:59'),
(166, 'Buku sumbangan satu buah', 209, '2017-03-26 02:26:42'),
(167, 'CD Softcopy Skripsi', 209, '2017-03-26 02:27:04'),
(168, 'Abstrak Bahasa Indonesia 2 lembar', 208, '2017-03-26 02:28:11'),
(169, 'Abstrak Bahasa Inggris 2 lembar', 208, '2017-03-26 02:28:11'),
(170, 'CD Softcopy Skripsi', 208, '2017-03-26 02:28:11'),
(171, 'Hardcopy Skripsi apabila mendapat nilai A', 208, '2017-03-26 02:28:11'),
(172, 'Surat keterangan bebas teori dan print out DHS yang telah didapatkan sebelum melaksanakan ujian Tugas Akhir Skripsi (TAS)', 211, '2017-03-26 02:37:59'),
(173, 'Surat keterangan bebas teori dan print out DHS yang telah ditanda tangani oleh Ketua Prodi', 212, '2017-03-26 02:38:25'),
(174, 'Print out lembar 1, 2 dan 3 data yudisium dari SIAKAD', 219, '2017-03-26 02:39:24'),
(175, 'Surat keterangan bebas teori dan print out DHS yang telah divalidasi oleh petugas loket 1', 219, '2017-03-26 02:39:24'),
(176, 'Fotocopy ijazah terakhir (SMA/SMK)', 219, '2017-03-26 02:39:24'),
(177, 'Buku panduan tugas akhir skripsi', 222, '2017-03-26 14:58:14'),
(178, 'Naskah proposal skripsi', 223, '2017-03-26 14:58:27'),
(179, 'Kartu Bimbingan', 223, '2017-03-26 14:58:27'),
(180, 'Instrumen penelitian/media penelitian', 225, '2017-03-26 14:58:56'),
(181, 'Kartu Bimbingan', 225, '2017-03-26 14:58:56'),
(182, 'Print out surat permohonan validasi beserta lampirannya', 234, '2017-03-26 14:59:35'),
(183, 'Print out surat permohonan validasi beserta lampirannya', 235, '2017-03-26 14:59:43'),
(184, 'Map berisi print out surat permohonan validasi beserta lampirannya', 236, '2017-03-26 15:00:13'),
(185, 'Naskah proposal skripsi yang telah dijilid', 239, '2017-03-26 15:01:59'),
(186, 'Naskah proposal skripsi yang telah ditanda tangani oleh dosen pembimbing', 240, '2017-03-26 15:02:13'),
(187, 'Naskah proposal skripsi yang telah ditanda tangani oleh dosen pembimbing dan kaprodi', 241, '2017-03-26 15:02:28'),
(188, 'Naskah proposal skripsi yang telah divalidasi oleh petugas loket 3', 242, '2017-03-26 15:02:41'),
(189, 'Naskah proposal skripsi yang telah ditanda tangani oleh Dekan FT', 243, '2017-03-26 15:02:56'),
(190, 'Naskah proposal skripsi yang telah ditanda tangani oleh Dekan FT dan telah digandakan pada halaman persetujuan', 244, '2017-03-26 15:03:41'),
(191, 'Blangko penelitian', 246, '2017-03-26 15:03:54'),
(192, 'Blangko penelitian yang telah diisi', 247, '2017-03-26 15:04:09'),
(193, 'Blangko penelitian yang telah ditanda tangani oleh dosen Pembimbing', 248, '2017-03-26 15:04:48'),
(194, 'Fotokopi halaman cover dan halaman persetujuan yang telah Distempel', 248, '2017-03-26 15:04:48'),
(195, 'Naskah proposal skripsi', 249, '2017-03-26 15:05:15'),
(196, 'Surat ijin penelitian dari fakultas', 249, '2017-03-26 15:05:15'),
(197, 'Berkas lain yang disyaratkan oleh provinsi (aturan setiap provinsi berbeda-beda)', 249, '2017-03-26 15:05:15'),
(198, 'Surat ijin penelitian dari fakultas dan dari provinsi', 250, '2017-03-26 15:07:58'),
(199, 'Berkas lain yang disyaratkan oleh kota/ kabupaten (aturan setiap kota/kabupaten berbeda-beda)', 250, '2017-03-26 15:08:26'),
(200, 'Naskah proposal skripsi', 250, '2017-03-26 15:08:44'),
(201, 'Surat ijin penelitian dari fakultas, dari provinsi dan dari kota/kabupaten', 251, '2017-03-26 15:09:03'),
(202, 'Berkas lain yang disyaratkan oleh sekolah atau instansi', 251, '2017-03-26 15:09:03'),
(203, 'Instrumen penelitian / media penelitian (bagi mahasiswa skripsi media)', 253, '2017-03-26 15:09:24'),
(204, 'Hasil penelitian', 254, '2017-03-26 15:09:38'),
(205, 'Buku panduan tugas akhir skripsi', 254, '2017-03-26 15:09:38'),
(206, 'Hasil penelitian', 255, '2017-03-26 15:09:50'),
(207, 'K<NAME>', 255, '2017-03-26 15:09:50'),
(208, 'Naskah Skripsi', 257, '2017-03-26 15:13:29'),
(209, 'Blangko pendaftaran ujian', 259, '2017-03-26 15:13:51'),
(210, 'Skripsi 3 bendel', 260, '2017-03-26 15:15:17'),
(211, '<NAME>', 260, '2017-03-26 15:15:46'),
(212, 'Surat Keterangan Bebas Teori', 260, '2017-03-26 15:15:34'),
(213, 'Blangko pendaftaran ujian', 260, '2017-03-26 15:15:04'),
(214, 'Map', 261, '2017-03-26 15:16:14'),
(215, 'Naskah skripsi yang digunakan saat ujian/sidang', 267, '2017-03-26 15:17:11'),
(216, 'Naskah skripsi yang telah direvisi', 268, '2017-03-26 15:17:35'),
(217, 'Lembar halaman pengesahan (bisa dilihat di buku panduan tugas akhir skripsi) 3 atau 5 rangkap', 268, '2017-03-26 15:17:35'),
(218, 'Naskah skripsi yang telah dijilid', 271, '2017-03-26 15:18:07'),
(219, 'Naskah skripsi yang telah ditanda tangani oleh dosen pembimbing', 272, '2017-03-26 15:18:27'),
(220, 'Naskah skripsi yang telah ditanda tangani oleh dosen pembimbing dan kaprodi', 273, '2017-03-26 15:18:36'),
(221, 'Naskah skripsi yang telah ditanda tangani oleh dosen pembimbing dan kaprodi', 274, '2017-03-26 15:18:48'),
(222, 'Naskah skripsi yang telah divalidasi oleh petugas loket 3 dan JPTK FT', 275, '2017-03-26 15:18:55'),
(223, 'Abstrak bahasa Indonesia', 276, '2017-03-26 15:20:06'),
(224, 'Naskah skripsi', 277, '2017-03-26 15:20:11'),
(225, 'abstrak bahasa inggris', 278, '2017-03-26 15:21:42'),
(226, 'abstrak bahasa indonesia', 278, '2017-03-26 15:21:42'),
(227, 'jurnal', 278, '2017-03-26 15:21:42'),
(228, 'Naskah Skripsi', 278, '2017-03-26 15:21:42'),
(229, '1 CD cover Biru', 279, '2017-03-26 15:22:24'),
(230, 'Jurnal yang di TTD', 279, '2017-03-26 15:22:24'),
(231, 'Sertifikat Pro TEFL dan fotocopynya', 279, '2017-03-26 15:22:24'),
(232, 'Lembar bukti telah menyerahkan CD', 280, '2017-03-26 15:22:45');
-- --------------------------------------------------------
--
-- Table structure for table `gedung`
--
CREATE TABLE `gedung` (
`id_gedung` int(10) UNSIGNED NOT NULL,
`nama` varchar(200) NOT NULL,
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`latitude` double DEFAULT NULL,
`longitude` double DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `gedung`
--
INSERT INTO `gedung` (`id_gedung`, `nama`, `timestamp`, `latitude`, `longitude`) VALUES
(99, 'Tidak Ada', '2017-01-26 14:41:16', NULL, NULL),
(100, 'KPLT FT UNY', '2017-03-15 04:52:57', -7.769207488589718, 110.38812970742583),
(101, 'Jurusan PTSP', '2017-03-15 06:09:28', -7.769821764700907, 110.38765043020248),
(102, 'Perpustakaan Pusat UNY', '2017-03-15 07:07:37', -7.7758514061172095, 110.38686722517014),
(103, 'Pengajaran Jurusan PT. Elektronika dan Informatika dan Jurusan PT. Elektro', '2017-03-26 04:57:58', -7.771004014261442, 110.38740031421185),
(104, 'LPTK FT UNY', '2017-03-26 04:56:09', -7.7715302141122, 110.38681827485561),
(105, 'Gedung 3 Lantai PT. Sipil dan Perencanaan', '2017-03-26 04:58:47', -7.76959283867866, 110.38719646632671),
(106, 'Pengajaran Jurusan PT. Otomotif dan Jurusan PT. Mesin', '2017-03-26 04:59:19', -7.770355565053418, 110.38751296699047),
(107, 'Pengajaran Jurusan PT. Boga dan Busana', '2017-03-26 04:59:50', -7.768939072111931, 110.38756929337978),
(108, 'Pusat Komputer (Puskom) UNY', '2017-03-26 05:00:17', -7.77266765396008, 110.38705095648766),
(109, 'LPPMP UNY', '2017-03-26 05:05:13', -7.772556036167454, 110.3865896165371),
(110, 'LPPM UNY', '2017-03-26 05:01:00', -7.7726490509967, 110.38722328841686),
(111, 'Rektorat UNY', '2017-03-26 05:06:03', -7.775601596721048, 110.38758002221584);
-- --------------------------------------------------------
--
-- Table structure for table `jurusan`
--
CREATE TABLE `jurusan` (
`id_jurusan` int(10) UNSIGNED NOT NULL,
`nama` varchar(200) NOT NULL,
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `jurusan`
--
INSERT INTO `jurusan` (`id_jurusan`, `nama`, `timestamp`) VALUES
(0, 'semua', '0000-00-00 00:00:00'),
(7, 'Pendidikan Teknik Sipil dan Perencanaan', '2017-03-15 04:30:26'),
(8, 'Pendidikan Teknik Elektronika dan Informatika', '2017-03-21 20:33:39'),
(9, 'Pendidikan Teknik Boga dan Busana', '2017-07-06 00:31:37'),
(10, 'Pendidikan Teknik Otomotif', '2017-07-06 00:31:37'),
(11, 'Pendidikan Teknik Elektro', '2017-07-06 00:31:37'),
(12, 'Pendidikan Teknik Mesin', '2017-07-06 00:31:37');
-- --------------------------------------------------------
--
-- Table structure for table `kategori`
--
CREATE TABLE `kategori` (
`id_kategori` int(10) UNSIGNED NOT NULL,
`nama` varchar(200) NOT NULL,
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `kategori`
--
INSERT INTO `kategori` (`id_kategori`, `nama`, `timestamp`) VALUES
(7, 'Registrasi Ulang', '2017-03-15 04:34:18'),
(8, 'Pengisian KRS', '2017-03-15 04:34:19'),
(9, 'Praktik Industri', '2017-03-15 04:34:19'),
(10, 'Tugas Akhir Skripsi (TAS)', '2017-03-15 04:34:19'),
(11, 'Bebas Teori Sebelum Ujian', '2017-03-15 04:34:19'),
(12, 'Bebas Perpustakaan', '2017-03-15 04:34:19'),
(13, 'Bebas Teori Sebelum Yudisium', '2017-03-15 04:34:19'),
(14, 'Yudisium', '2017-03-15 04:34:19');
-- --------------------------------------------------------
--
-- Table structure for table `keterangan`
--
CREATE TABLE `keterangan` (
`id_keterangan` int(10) UNSIGNED NOT NULL,
`nama` varchar(50) NOT NULL,
`keterangan` text,
`id_alur` int(10) UNSIGNED NOT NULL,
`id_ruang` int(10) UNSIGNED NOT NULL,
`urut` int(3) NOT NULL,
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `keterangan`
--
INSERT INTO `keterangan` (`id_keterangan`, `nama`, `keterangan`, `id_alur`, `id_ruang`, `urut`, `timestamp`) VALUES
(25, 'Langkah 1', 'Membuka web tagihan.uny.ac.id.\r\nCatatan : Bagi mahasiswa bidikmisi tidak perlu', 30, 99, 1, '2017-03-15 05:51:56'),
(26, 'Langkah 2', 'Mengecek tagihan dengan memasukkan NIM.\r\nCatatan: Bagi mahasiswa bidikmisi tidak perlu', 30, 99, 2, '2017-03-15 05:51:43'),
(29, 'Detail', 'Membayar tagihan di bank (BPD DIY/BNI/Mandiri/BTN) dengan menyebutkan NIM atau menunjukkan KTM. \r\nCatatan: Bagi mahasiswa Bidikmisi tidak perlu', 31, 99, 1, '2017-03-15 05:54:14'),
(30, 'Langkah 1', 'Membuka web registrasi online di registrasi.uny.ac.id', 32, 99, 1, '2017-03-15 05:56:26'),
(31, 'Langkah 2', 'Masuk dengan klik "Login SSO (Mahasiswa)" , dengan memasukkan UNY ID dan Password', 32, 99, 2, '2017-03-15 05:56:26'),
(32, 'Langkah 3', 'Melakukan registrasi online dengan melakukan update biodata', 32, 99, 3, '2017-03-15 05:56:26'),
(33, 'Syarat 1', 'Sudah membayar tagihan/UKT di bank', 33, 99, 1, '2017-03-15 05:57:23'),
(34, 'Syarat 2', 'Sudah melakukan registrasi online di registrasi.uny.ac.id', 33, 99, 2, '2017-03-15 05:57:23'),
(35, 'Keterangan', 'Non Bidikmisi : mengambil blangko KRS manual dengan menunjukkan kuitansi pembayaran dari bank.\r\n\r\nBidikmisi : mengambil blangko KRS manual dengan menunjukkan print out bukti registrasi online', 34, 100, 1, '2017-03-15 16:22:06'),
(36, 'Langkah 1', 'Melihat mata kuliah yang ditawarkan pada semester yang akan diambil pada papan pengumuman jurusan', 35, 99, 1, '2017-03-15 06:04:11'),
(37, 'Langkah 2', 'Mengisi blangko KRS manual sesuai dengan mata kuliah, kode dan dosen pengampu pada semester yang akan diambil', 35, 99, 2, '2017-03-15 06:04:11'),
(38, 'Keterangan', 'Meminta tanda tangan Dosen PA pada blangko KRS yang sudah diisi', 36, 99, 1, '2017-03-15 06:05:18'),
(39, 'Langkah 1', 'Membuka website SIAKAD UNY di siakad2013.uny.ac.id', 37, 99, 1, '2017-03-15 06:07:02'),
(40, 'Langkah 2', 'Masuk ke SIAKAD dengan memasukkan NIM dan Password', 37, 99, 2, '2017-03-15 06:07:02'),
(41, 'Langkah 3', 'Mengisi mata kuliah yang diambil dengan cara mencentang pada mata kuliah tersebut, sesuai dengan yang tertera pada blangko KRS manual.', 37, 99, 3, '2017-03-15 06:07:02'),
(42, 'Keterangan', 'Menyerahkan blangko KRS yang sudah di tanda tangani oleh Dosen PA kepada petugas pengajaran jurusan , untuk mendapatkan print out KRS', 38, 106, 1, '2017-03-15 06:10:33'),
(43, 'Syarat 1', 'Telah mengikuti pembekalan PI', 39, 99, 1, '2017-03-15 06:27:24'),
(44, 'Syarat 2', 'Telah mendapatkan sertifikat pembekalan PI', 39, 99, 2, '2017-03-15 06:34:05'),
(45, 'Syarat 3', 'Telah mendapatkan pembagian Dosen Pembimbing PI', 39, 99, 3, '2017-03-15 06:34:15'),
(46, 'Keterangan', 'Mencari industri/proyek untuk melaksanakan PI serta menanyakan persyaratan dan kuota pesertanya', 40, 99, 1, '2017-03-15 06:33:48'),
(47, 'Langkah 1', 'Mendownload blangko “Surat Permohonan Ijin PI” di http://pendidikan-teknik-sipilperencanaan.ft.uny.ac.id/download\r\n', 41, 99, 1, '2017-03-15 06:33:25'),
(48, 'Langkah 2', 'Mencetak blangko surat permohonan ijin PI dan mengisinya', 41, 99, 2, '2017-03-15 06:29:04'),
(49, 'Langkah 3', 'Meminta tanda tangan Dosen Pembimbing PI dan Koordinator PI\r\n Jurusan pada blangko surat permohonan ijin PI', 41, 99, 3, '2017-03-15 06:29:04'),
(50, 'Langkah 1', 'Menyerahkan blangko surat permohonan ijin PI yang sudah ditanda tangani oleh Dosen Pembimbing PI dan Koordinator PI Jurusan kepada petugas loket 3, untuk mendapatkan surat permohonan ijin PI dari fakultas\r\n', 42, 102, 1, '2017-03-15 06:33:06'),
(51, 'Langkah 2', 'Memperbanyak surat permohonan ijin PI dari fakultas sesuai kebutuhan\r\n', 42, 99, 2, '2017-03-15 06:33:06'),
(52, 'Langkah 3', 'Meminta stempel basah pada surat permohonan ijin PI dari fakultas yang telah diperbanyak\r\n', 42, 104, 3, '2017-03-15 06:33:06'),
(53, 'Keterangan', '1). Menyerahkan surat permohonan ijin PI dari fakultas dan berkas persyaratan kepada industri/proyek tempat pelaksanaan PI\r\n\r\n2). Menanyakan apakah diperbolehkan melaksanakan PI di tempat tersebut\r\n\r\n3). Jika Ya : Menanyakan kapan bisa mulai melaksanakan PI. Jika Tidak : Ulangi dari langkah 1 (dengan industri/proyek yang berbeda)\r\n', 43, 99, 1, '2017-03-15 16:23:42'),
(54, 'Langkah 1', 'Menyerahkan lembar penilaian pembimbing industri kepada pembimbing industri untuk dijadikan sebagai panduan dalam menilai mahasiswa', 44, 99, 1, '2017-03-15 06:39:02'),
(55, 'Langkah 2', '1). Melaksanakan PI sesuai dengan tugas yang diberikan oleh pembimbing industri\r\n\r\n2). Mengisi lembar catatan harian setelah melaksanakan PI di hari tersebut\r\n\r\n3). Meminta tanda tangan pembimbing industri pada lembar catatan harian', 44, 99, 2, '2017-03-15 16:23:54'),
(56, 'Keterangan', '1). Mengkonsultasikan judul laporan PI yang akan dibuat kepada dosen pembimbing PI\r\n\r\n2). Meminta tanda tangan dosen pembimbing pada lembar konsultasi\r\n\r\n3). Pelaksanaan konsultasi bisa dilakukan saat masih melaksanakan PI ataupun setelah selesai melaksanakan PI\r\n', 45, 99, 1, '2017-03-15 16:35:09'),
(57, 'Langkah 1', '1). Menyusun laporan PI sesuai dengan judul yang telah di acc oleh Dosen pembimbing PI\r\n\r\n2). Format laporan bisa dilihat di buku panduan praktik industri\r\n', 46, 99, 1, '2017-03-15 16:24:26'),
(58, 'Langkah 2', 'Mengkonsultasikan laporan PI yang telah disusun kepada dosen pembimbing dan pembimbing industri (jika diperlukan), hingga laporan di acc\r\n', 46, 99, 2, '2017-03-15 06:48:18'),
(59, 'Langkah 3', 'Setelah laporan PI mendapatkan acc dari dosen pembimbing, laporan digandakan dan dijilid hardcover sejumlah kebutuhan (lihat di panduan praktik industri)\r\n', 46, 99, 3, '2017-03-15 06:48:19'),
(60, 'Langkah 4', 'Meminta tanda tangan dosen pembimbing PI pada laporan yang telah digandakan dan dijilid hardcover\r\n', 46, 99, 4, '2017-03-15 06:48:19'),
(61, 'Langkah 5', '1). Meminta tanda tangan pembimbing industri pada laporan yang telah digandakan dan dijilid hardcover\r\n\r\n2). Meminta stempel basah industri pada laporan yang telah ditanda tangani oleh pembimbing industri\r\n', 46, 99, 5, '2017-03-15 16:24:10'),
(62, 'Langkah 6', 'Meminta tanda tangan Koordinator PI Jurusan pada laporan yang telah digandakan dan dijilid hardcover\r\n', 46, 99, 6, '2017-03-15 06:48:19'),
(63, 'Langkah 7', 'Meminta persetujuan petugas loket 3 pada nama dan NIP Wakil Dekan I FT UNY pada laporan yang telah ditanda tangani dosen pembimbing, pembimbing industri dan koordinator PI jurusan\r\n', 46, 102, 7, '2017-03-15 06:48:19'),
(64, 'Langkah 8', 'Meminta tanda tangan Wakil Dekan I FT UNY pada laporan yang telah disetujui oleh petugas loket 3\r\n', 46, 107, 8, '2017-03-15 06:48:19'),
(65, 'Langkah 9', 'Meminta stempel basah fakultas pada laporan PI di bagian tanda tangan Wakil Dekan I FT UNY\r\n', 46, 104, 9, '2017-03-15 06:48:19'),
(66, 'Langkah 10', 'Menyerahkan Laporan PI kepada dosen pembimbing, koordinator PI jurusan (atau yang lainnya sesuai dengan kebutuhan dan ketentuan)\r\n', 46, 99, 10, '2017-03-15 06:48:19'),
(67, 'Langkah 1', '1). Meminta hasil penilaian pembimbing industri sesuai dengan lembar penilaian yang telah diberikan pada saat pelaksanaan praktik industri\r\n\r\n2). Lembar penilaian dimasukan ke dalam map (lihat panduan praktik industri)\r\n', 47, 99, 1, '2017-03-15 16:24:02'),
(68, 'Langkah 2', 'Meminta surat keterangan selesai melaksanakan PI dari industri/proyek', 47, 99, 2, '2017-03-15 06:51:22'),
(69, 'Langkah 3', 'Memberikan blangko penilaian dosen dan map yang berisi lembar penilaian dari pembimbing industri kepada dosen pembimbing\r\n', 47, 99, 3, '2017-03-15 06:51:22'),
(70, 'Langkah 4', 'Memberikan surat keterangan selesai melaksanakan PI dari industri kepada fakultas\r\n', 47, 102, 4, '2017-03-15 06:51:22'),
(71, 'Keterangan', '1). Melaksanakan ujian PI sesuai dengan ketentuan dosen pembimbing\r\n\r\n2). Tidak semua dosen pembimbing melaksanakan ujian PI\r\n', 48, 99, 1, '2017-03-15 16:25:05'),
(72, 'Keterangan', 'Membeli satu buku sumbangan, maksimal cetakan 3 atau 4 tahun sebelumnya untuk:\r\n1). Perpustakaan pusat/universitas (minimal harga Rp 25.000,- disertai kuitansi pembelian)\r\n2). Perpustakaan jurusan (tidak ada ketentuan)\r\n', 72, 99, 1, '2017-03-15 07:05:53'),
(73, 'Keterangan', 'Meminta keterangan bebas perpustakaan jurusan kepada petugas perpustakaan jurusan dan mengisi data alumni untuk mendapatkan tanda tangan bebas perpustakaan jurusan pada lembar permohonan nilai skripsi\r\n', 73, 108, 1, '2017-03-15 07:06:43'),
(74, 'Keterangan', 'Menyerah buku sumbangan dan CD berisi file skripsi kepada petugas perpustakaan pusat untuk mendapatkan keterangan bebas perpustakaan pusat\r\n', 74, 109, 1, '2017-03-15 07:08:51'),
(75, 'Syarat 1', 'Telah mendapatkan keterangan bebas perpustakaan (pusat dan jurusan)', 75, 99, 1, '2017-03-15 07:11:49'),
(76, 'Syarat 2', 'Semua nilai di SIAKAD tidak ada yang kosong, termasuk nilai Tugas Akhir Skripsi (TAS)', 75, 99, 2, '2017-03-15 07:11:50'),
(77, 'Keterangan', 'Meminta tanda tanga ketua program studi pada surat keterangan bebas teori yang telah didapatkan sebelum melaksanakan ujian Tugas Akhir Skripsi (TAS)\r\n', 76, 99, 1, '2017-03-15 07:12:25'),
(78, 'Keterangan', 'Menyerahkan surat keterangan bebas teori dan print out DHS yang telah ditanda tangani oleh Ketua Jurusan, untuk mendapatkan validasi dari petugas loket 1 pada surat keterangan bebas teori dan print out DHS\r\n', 77, 100, 1, '2017-03-15 07:13:06'),
(79, 'Keterangan', '1). Telah mengurus bebas teori sebelum yudisium\r\n\r\n2). Nilai Pro TEFL UNY minimal 425\r\n', 78, 99, 1, '2017-03-15 16:25:16'),
(80, 'Langkah 1', 'Membuka siakad2013.uny.ac.id dan login dengan memasukkan NIM dan Password', 79, 99, 1, '2017-03-15 15:46:43'),
(81, 'Langkah 2', '1). Mengisi data yudisium\r\n\r\n2). Mendapatkan kode untuk pembayaran di bank\r\n Catatan: Bagi mahasiswa bidikmisi tidak perlu\r\n', 79, 99, 2, '2017-03-15 16:25:22'),
(82, 'Keterangan', 'Membayar di bank (BPD DIY/BNI/Mandiri/BTN) dengan menyerahkan kode yang didapatkan setelah mengisi data yudisium di SIAKAD\r\nCatatan : Bagi mahasiswa bidikmisi tidak perlu\r\n', 80, 99, 1, '2017-03-15 15:47:18'),
(83, 'Langkah 1', 'Membuka website siakad2013.uny.ac.id dan login dengan memasukkan NIM dan Password', 81, 99, 1, '2017-03-15 15:49:20'),
(84, 'Langkah 2', 'Mencetak data yudisium yang terdiri dari 3 lembar data (lembar 1 untuk mahasiswa, lembar 2 dan 3 diserahkan ke loket 4 )\r\n', 81, 99, 2, '2017-03-15 15:49:20'),
(85, 'Keterangan', '1). Meminta paraf petugas loket 4 pada lembar 1, 2 dan 3 data yudisium dari SIAKAD\r\n\r\n2). Menyerahkan lembar 2 dan 3 data yudisium dari SIAKAD, surat keterangan bebas teori, print out DHS yang telah divalidasi oleh loket 1 dan ijazah terakhir (SMA/SMK) kepada petugas loket 4\r\n', 82, 103, 1, '2017-03-15 16:25:27'),
(86, 'Keterangan', '1). Telah mendapatkan acc dari dosen pembimbing skripsi untuk melaksanakan ujian\r\n2). Semua nilai di SIAKAD tidak ada yang kosong, kecuali nilai Tugas Akhir Skripsi (TAS)\r\n3). Telah menempuh jumlah SKS tertentu sesuai panduan akademik\r\n4). Mata kuliah yang wajib lulus telah terpenuhi\r\n5). Jumlah nilai D tidak melebihi batas maksimal yang diizinkan\r\n', 63, 99, 1, '2017-03-15 15:51:10'),
(87, 'Langkah 1', 'Mendownload blangko “Permohonan Bebas Teori” di http://pendidikan-teknik-sipilperencanaan.ft.uny.ac.id/download\r\n', 64, 99, 1, '2017-03-15 15:53:08'),
(88, 'Langkah 2', 'Mencetak blangko permohonan bebas teori dan mengisinya', 64, 99, 2, '2017-03-15 15:53:08'),
(89, 'Langkah 3', 'Meminta tanda tangan Dosen Pembimbing Skripsi dan Dosen Penasehat Akademik pada blangko permohonan bebas teori\r\n', 64, 99, 3, '2017-03-15 15:53:08'),
(90, 'Keterangan', 'Menyerahkan blangko permohonan bebas teori yang telah ditanda tangani beserta berkas persyaratan lainnya ke petugas loket 1, untuk mendapatkan print out DHS\r\n', 65, 100, 1, '2017-03-15 15:54:11'),
(91, 'Keterangan', 'Menyerahkan map berisi print out DHS dan KRS seluruh semester kepada petugas pengajaran jurusan untuk dicocokan\r\n', 66, 106, 1, '2017-03-15 15:55:25'),
(92, 'Keterangan', 'Meminta tanda tangan Dosen Penasehat Akademik pada print out DHS yang telah dicocokan oleh petugas pengajaran\r\n', 67, 99, 1, '2017-03-15 15:55:47'),
(93, 'Keterangan', 'Meminta tanda tangan Ketua Program studi pada print out DHS yang telah ditanda tangani oleh Dosen PA\r\n', 68, 99, 1, '2017-03-15 15:56:07'),
(94, 'Keterangan', 'Menyerahkan print out DHS yang telah ditanda tangani oleh Dosen PA dan Kajur untuk mendapatkan surat keterangan bebas teori kepada petugas loket 1\r\n', 69, 100, 1, '2017-03-15 15:56:44'),
(95, 'Langkah 1', 'Meminta tanda tangan Kasubbag Akademik FT UNY pada surat keterangan bebas teori\r\n', 70, 105, 1, '2017-03-15 15:57:54'),
(96, 'Langkah 2', 'Meminta stempel basah pada tanda tangan Kasubbag Akademik FT UNY di surat keterangan bebas teori\r\n', 70, 104, 2, '2017-03-15 15:57:54'),
(97, 'Keterangan', 'Surat keterangan bebas teori dan DHS disimpan untuk keperluan Mengurus bebas teori sebelum yudisium\r\n', 71, 99, 1, '2017-03-15 15:58:11'),
(98, 'Keterangan', '1) Sudah mengikuti seminar penyusuna TAS\r\n\r\n2) Sudah menempuh mata kuliah Statistika dan Metodologi Penelitian Pendidikan.\r\n\r\n3) Telah menyelesaikan beban studi sekurang-kurangnya 120 sks.\r\n\r\n4) Indeks prestasi kumulatif (IPK) sekurang-kurangnya 2,50.', 49, 99, 1, '2017-03-15 16:45:41'),
(99, 'Keterangan', 'Menemui dosen pembimbing skripsi untuk mengkonsultasikan judul skripsi yang akan diambil\r\n', 50, 99, 1, '2017-03-15 16:46:11'),
(100, 'Langkah 1', '1). Penyusunan proposal skripsi untuk setiap dosen pembimbing berbeda-beda (ada yang penyusunannya per bab, ada juga yang langsung sampai bab 3)\r\n\r\n2). Aturan penyusunan proposal skripsi lihat di buku panduan Tugas Akhir Skripsi\r\n', 51, 99, 1, '2017-03-15 16:48:07'),
(101, 'Langkah 2', '1). Mengkonsultasikan proposal skripsi kepada dosen pembimbing, untuk mendapatkan acc atas naskah proposal skripsi tersebut\r\n\r\n2). Meminta tanda tangan dosen pembimbing pada lembar konsultasi\r\n\r\n3). Lakukan terus langkah ini hingga seluruh naskan proposal skripsi disetujui/di acc oleh dosen pembimbing\r\n', 51, 99, 2, '2017-03-15 16:48:07'),
(102, 'Langkah 1', '1). Bagi mahasiswa skripsi non-media: Menyusun instrumen penelitian sesuai dengan kisi-kisi yang terdapat pada Bab III proposal skripsi\r\n\r\n2). Bagi mahasiswa skripsi media: Menyusun media penelitian sesuai dengan yang dijabarkan di naskah proposal skripsi\r\n', 52, 99, 1, '2017-03-15 16:50:25'),
(103, 'Langkah 2', '1). Bagi mahasiswa skripsi non-media: Mengkonsultasikan instrumen penelitian kepada dosen pembimbing\r\n2). Bagi mahasiswa skripsi media: Mengkonsultasikan media penelitian kepada dosen pembimbing\r\n3). Meminta tanda tangan dosen pembimbing pada lembar konsultasi\r\n4). Lakukan terus langkah ini hingga instrumen penelitian/media penelitian disetujui/di acc oleh dosen pembimbing\r\n', 52, 99, 2, '2017-03-15 16:50:25'),
(104, 'Langkah 1', 'Menanyakan kepada dosen pembimbing untuk menentukan dosen validator\r\n', 53, 99, 1, '2017-03-15 16:53:03'),
(105, 'Langkah 2 ', 'Setelah mendapatkan nama dosen validator, selanjutnya membuat suratpermohonan validasi beserta lampiran (format bisa dilihat di buku panduan tugas akhir skripsi)\r\n', 53, 99, 2, '2017-03-15 16:53:03'),
(106, 'Langkah 3', 'Mencetak surat permohonan validasi beserta lampirannya', 53, 99, 3, '2017-03-15 16:53:03'),
(107, 'Langkah 4', 'Meminta tanda tangan dosen pembimbing pada surat permohonan validasi \r\n', 53, 99, 4, '2017-03-15 16:53:03'),
(108, 'Langkah 5', 'Meminta tanda tangan ketua jurusan pada surat permohonan validasi yang telah ditanda tangani oleh dosen pembimbing\r\n', 53, 99, 5, '2017-03-15 16:53:03'),
(109, 'Langkah 6', '1). Menyerahkan map beirisi surat permohonan validasi beserta lampirannya kepada dosen validator\r\n\r\n 2). Menanyakan kepada dosen validator kapan lembar validasi dapat diambil\r\n', 53, 99, 6, '2017-03-15 16:53:03'),
(110, 'Langkah 7', '1). Mengambil lembar validasi dari dosen validator\r\n\r\n2). Jika terdapat revisi, maka lakukanlah revisi pada instrumen/media penelitian sesuai dengan saran dan masukan dosen validator\r\n\r\n3). Lakukan revisi hingga instrumen/media penelitian disetujui/di acc oleh dosen validator\r\n', 53, 99, 7, '2017-03-15 16:53:03'),
(111, 'Langkah 1', 'Menggandakan dan menjilid naskah proposal skripsi sejumlah yang dibutuhkan\r\nCatatan: Setiap lokasi penelitian memiliki aturan yang berbeda-beda\r\n', 54, 99, 1, '2017-03-15 16:59:30'),
(112, 'Langkah 2', 'Meminta tanda tangan dosen pembimbing skripsi pada proposal skripsi yang telah dijilid\r\n', 54, 99, 2, '2017-03-15 16:59:30'),
(113, 'Langkah 3', 'Meminta tanda tangan Ketua Program Studi pada proposal skripsi yang telah ditanda tangani oleh dosen pembimbing\r\n', 54, 99, 3, '2017-03-15 16:59:31'),
(114, 'Langkah 4', 'Meminta validasi kepada petugas loket 3 pada nama dan NIP Dekan', 54, 102, 4, '2017-03-15 16:59:31'),
(115, 'Langkah 5', 'Meminta tanda tangan Dekan FT UNY pada proposal yang telah Disetujui oleh petugas loket 3\r\n', 54, 107, 5, '2017-03-15 16:59:31'),
(116, 'Langkah 6', 'Menggandakan halaman cover dan halaman persetujuan sejumlah kebutuhan\r\n', 54, 99, 6, '2017-03-15 16:59:31'),
(117, 'Langkah 7', 'Halaman persetujuan pada naskah proposal dan yang telah digandakan distempel basah pada bagian tanda tangan Dekan\r\n', 54, 99, 7, '2017-03-15 16:59:31'),
(118, 'Langkah 8', 'Mengambil blangko penelitian di loket 3', 54, 102, 8, '2017-03-15 16:59:31'),
(119, 'Langkah 9', 'Mengisi blangko penelitian', 54, 99, 9, '2017-03-15 16:59:31'),
(120, 'Langkah 10 ', 'Meminta tanda tangan dosen pembimbing pada blangko penelitian yang telah diisi\r\n', 54, 99, 10, '2017-03-15 16:59:31'),
(121, 'Langkah 11', 'Menyerahkan blangko penelitian yang telah ditanda tangani oleh dosen pembimbing, fotokopi halaman cover dan fotokopi halaman persetujuan yang telah distempel untuk mendaptkan Surat Ijin Penelitian dari Fakultas\r\n', 54, 102, 11, '2017-03-15 16:59:31'),
(122, 'Langkah 12', 'Mengurus ijin penelitian di provinsi di mana lokasi penelitian berada\r\nCatatan: Jika penelitian dilakukan di FT UNY tidak diperlukan\r\n', 54, 99, 12, '2017-03-15 16:59:31'),
(123, 'Langkah 13', 'Mengurus ijin penelitian di kota/ kabupaten di mana lokasi penelitianberada\r\nCatatan: Jika penelitian dilakukan di FT UNY tidak diperlukan\r\n', 54, 99, 13, '2017-03-15 16:59:31'),
(124, 'Langkah 14', 'Mengurus ijin penelitian di sekolah/industri / lokasi penelitian\r\nCatatan: Jika penelitian dilakukan di FT UNY tidak diperlukan\r\n', 54, 99, 14, '2017-03-15 16:59:31'),
(125, 'Langkah 1', 'Menghubungi guru/ bagian yang ditunjuk untuk membantu proses pengambilan data\r\n', 55, 99, 1, '2017-03-15 17:00:29'),
(126, 'Langkah 2', 'Melakukan pengambilan data pada responden yang telah direncanakan', 55, 99, 2, '2017-03-15 17:00:29'),
(127, 'Langkah 1', '1). Penyusunan hasil penelitian pada Bab 4 dan Bab 5 (untuk setiap dosen pembimbing berbeda-beda, ada yang penyusunannya per bab, ada juga yang langsung keduanya)\r\n\r\n2). Aturan penyusunan Bab 4 dan Bab 5 lihat di buku panduan Tugas Akhir Skripsi\r\n', 56, 99, 1, '2017-03-15 17:01:44'),
(128, 'Langkah 2', '1). Mengkonsultasikan hasil penelitian kepada dosen pembimbing, untuk mendapatkan acc atas hasil penelitian yang telah disusun\r\n2). Meminta tanda tangan dosen pembimbing pada lembar konsultasi\r\n3). Lakukan terus langkah ini hingga seluruh hasil penelitian disetujui/di acc oleh dosen pembimbing\r\n', 56, 99, 2, '2017-03-15 17:01:44'),
(129, 'Langkah 1', 'Mengurus bebas teori sebelum ujian (bisa dilihat di bagian alur “Bebas Teori Sebelum Ujian)\r\n', 57, 99, 1, '2017-03-15 17:04:57'),
(130, 'Langkah 2', '1). Menemui Sekretaris Jurusan untuk mengajukan ujian/sidang skripsi dengan menyerahkan surat keterangan bebas teori dan mendapatkan blangko pendaftaran ujian/sidang\r\n\r\n2). Sekjur akan menunjuk Dosen Penguji I dan II \r\n', 57, 99, 2, '2017-03-15 17:04:57'),
(131, 'Langkah 3', '1). Mengisi blangko pendaftaran ujian/sidang\r\n\r\n2). Mencatat ruangan yang bisa digunakan untuk ujian/sidang\r\n\r\n3). Menanyakan kepada dosen penguji I, dosen penguji II dan dosen pembimbing untuk menentukan hari dan jam ujian/sidang disesuaikan dengan ketersediaan ruang yang ada\r\n', 57, 99, 3, '2017-03-15 17:04:58'),
(132, 'Langkah 4', '1). Menyerahkan blangko pendaftaran ujian kepada petugas pengajaran untuk mendapatkan surat undangan dan SK Ujian/Sidang\r\n\r\n2). Mengisi buku perijininan ruang dan perlengkapan ruang\r\n\r\n3). Mengisi buku permohonan snack untuk ujian/sidang\r\n', 57, 106, 4, '2017-03-15 17:04:58'),
(133, 'Langkah 5', 'Menggandakan naskah skripsi untuk dosen pembimbing, penguji dan mahasiswa sendiri\r\n', 57, 99, 5, '2017-03-15 17:04:58'),
(134, 'Langkah 6', 'Menyerahkan berkas skripsi kepada dosen pembimbing dan dosen penguji\r\n', 57, 99, 6, '2017-03-15 17:04:58'),
(135, 'Langkah 1', 'Membuat presentasi dan menyiapkan kelengkapan lainnya yang dirasa perlu untuk mendukung pelaksanaan ujian/sidang\r\n', 58, 99, 1, '2017-03-15 17:06:30'),
(136, 'Langkah 2', 'Mengkonfirmasi dosen penguji dan dosen pembimbing apakah benar benar bisa menguji skripsi sesuai dengan jam yang tertera di surat undangan yang telah diberikan\r\n', 58, 99, 2, '2017-03-15 17:06:31'),
(137, 'Langkah 3', 'Melaksanakan ujian/sidang skripsi sesuai dengan yang telah diagendakan\r\n', 58, 99, 3, '2017-03-15 17:06:31'),
(138, 'Langkah 1', 'Melakukan revisi pada naskah skripsi, sesuai dengan saran dan masukan dosen penguji I dan II\r\n', 59, 99, 1, '2017-03-15 17:07:47'),
(139, 'Langkah 2', '1). Mengkonsultasikan hasil revisi naskah skripsi kepada dosen penguji, untuk mendapatkan acc atas naskah skripsi yang telah direvisi\r\n\r\n2). Lakukan terus langkah ini hingga seluruh naskah skripsi revisi disetujui/di acc oleh dosen penguji\r\n\r\n3). Jika naskah telah di acc oleh dosen penguji, selanjutnya meminta dosen penguji dan pembimbing tanda tangan di lembar halaman pengesahan\r\n', 59, 99, 2, '2017-03-15 17:07:48'),
(140, 'Langkah 1', 'Menggandakan dan menjilid hardcover naskah skripsi sejumlah dibutuhkan (1 untuk dosen pembimbing dan 1 untuk sekjur)\r\n', 60, 99, 1, '2017-03-15 17:10:35'),
(141, 'Langkah 2', 'Meminta tanda tangan dosen pembimbing skripsi pada naskah skripsi yang telah dijilid\r\n', 60, 99, 2, '2017-03-15 17:10:35'),
(142, 'Langkah 3', 'Meminta tanda tangan Ketua Program Studi pada naskah skripsi yang telah ditanda tangani oleh dosen pembimbing\r\n', 60, 99, 3, '2017-03-15 17:10:35'),
(143, 'Langkah 4', 'Meminta validasi kepada petugas loket 3 pada nama dan NIP Dekan', 60, 102, 4, '2017-03-15 17:10:35'),
(144, 'Langkah 5', 'Meminta validasi kepada petugas JPTK FT pada bagian daftar pustaka', 60, 110, 5, '2017-03-15 17:10:35'),
(145, 'Langkah 6', 'Meminta tanda tangan Dekan FT UNY pada naskah yang telah disetujui oleh petugas loket 3\r\n', 60, 107, 6, '2017-03-15 17:10:35'),
(146, 'Langkah 1', 'Membuat abstrak dalam bahasa inggris', 61, 99, 1, '2017-03-15 17:12:14'),
(147, 'Langkah 2', 'Membuat biodata jurnal dan naskah jurnal berdasarkan naskah skripsi yang telah disetujui.\r\nFormat biodata jurnal dan format penulisan jurnal download di http://pendidikan-teknik-sipilperencanaan.ft.uny.ac.id/download\r\n', 61, 99, 2, '2017-03-15 17:12:14'),
(148, 'Langkah 1', 'Memasukan semua file skripsi, biodata jurnal dan naskah jurnal ke dalam CD (CD dibuat 3 rangkap: 1 untuk dosen pembimbing, 1 untuk sekjur dan 1 untuk perpustakaan pusat)\r\n', 62, 99, 1, '2017-03-15 17:15:54'),
(149, 'Langkah 2', 'Mengirim naskah jurnal dan biodata jurnal ke email berikut <EMAIL> dengan subject: (nama naskah)_Nama_NIM\r\n', 62, 99, 2, '2017-03-15 17:15:54'),
(150, 'Langkah 3', 'Melakukan validasi pengiriman jurnal dan biodata ke petugas pengajaran untuk mendapatkan tanda tangan petugas pengajaran di lembar permohonan nilai skripsi\r\n', 62, 99, 3, '2017-03-15 17:15:54'),
(151, 'Langkah 4', 'Bebas perpustakaan jurusan (lihat pada alur “Bebas Perpustakaan” pada langkah bebas teori perpustakaan jurusan), untuk mendapatkan tanda tangan petugas perpustakaan pada blangko permohonan nilai skripsi\r\n', 62, 99, 4, '2017-03-15 17:15:54'),
(152, 'Langkah 5', 'Abstrak dalam bahasa Indonesia dan Inggris dilaminating bolak-balik', 62, 99, 5, '2017-03-15 17:15:55'),
(153, 'Langkah 6', 'Menyerahkan naskah skripsi yang telah dijilid dan disahkan oleh Dekan FT dan CD berisi file skripsi, jurnal dan biodata jurnal untuk mendapatkan tanda tangan dosen pembimbing pada blangko bukti penyerahan laporan skripsi\r\n', 62, 99, 6, '2017-03-15 17:15:55'),
(154, 'Langkah 7', 'Menyerahkan buku sumbangan, naskah skripsi yang telah dijilid dan disahkan oleh Dekan FT, abstrak yang telah dilaminating, amplop berperangko dan alamat orang tua, fotokopi sertifikat Pro TEFL dari UNY dan CD berisi file skripsi, jurnal dan biodata jurnal untuk mendapatkan tanda tangan sekjur pada blangko permohonan nilai skripsi dan mendapatkan nilai skripsi\r\n', 62, 99, 7, '2017-03-15 17:15:55'),
(155, 'Langkah 1', 'Membuka web tagihan di tagihan.uny.ac.id \r\nCatatan : Bagi mahasiswa bidikmisi tidak perlu\r\n', 83, 99, 1, '2017-03-21 20:37:53'),
(156, 'Langkah 2', 'Mengecek tagihan dengan memasukkan NIM\r\nCatatan : Bagi mahasiswa bidikmisi tidak perlu\r\n', 83, 99, 2, '2017-03-21 20:37:54'),
(157, 'Keterangan', 'Membayar tagihan di bank (BPD DIY/BNI/Mandiri/BTN) dengan menyebutkan NIM atau menunjukkan KTM\r\nCatatan : Bagi mahasiswa bidikmisi tidak perlu\r\n', 84, 99, 1, '2017-03-21 20:39:55'),
(158, 'Langkah 1', 'Membuka web registrasi online di https://registrasi.uny.ac.id', 85, 99, 1, '2017-03-21 20:41:04'),
(159, 'Langkah 2', 'Masuk dengan klik “Login SSO (Mahasiswa)”, memasukkan UNY ID dan Password\<PASSWORD>', 85, 99, 2, '2017-03-21 20:41:04'),
(160, 'Langkah 3', 'Melakukan registrasi online dengan melakukan update biodata', 85, 99, 3, '2017-03-21 20:41:04'),
(161, 'Keterangan', '1). Sudah membayar tagihan/UKT di bank\r\nCatatan: bagi mahasiswa bidikmisi tidak perlu\r\n\r\n2). Sudah melakukan registrasi online di https://registrasi.uny.ac.id\r\n', 86, 99, 1, '2017-03-21 20:44:38'),
(162, 'Keterangan', '1). Reguler : mengambil blangko KRS manual dengan menunjukkan kwitansi\r\n\r\n2). Bidikmisi : mengambil blangko KRS manual dengan menunjukkan print out bukti registrasi online\r\n', 87, 100, 1, '2017-03-21 20:45:42'),
(163, 'Langkah 1', 'Melihat mata kuliah yang ditawarkan pada semester yang akan diambil di papan pengumuman jurusan\r\n', 88, 99, 1, '2017-03-21 20:47:41'),
(164, 'Langkah 2', 'Mengisi blangko KRS manual sesuai dengan mata kuliah, kode dan dosen pengampu pada semester yang akan diambil\r\n', 88, 99, 2, '2017-03-21 20:47:41'),
(165, 'Keterangan', 'Meminta tanda tangan Dosen PA pada blangko KRS manual yang sudah diisi\r\n', 89, 99, 1, '2017-03-21 20:48:21'),
(166, 'Langkah 1', 'Membuka SIAKAD di https://siakad2013.uny.ac.id dan Masuk ke SIAKAD dengan memasukkan NIM dan password\r\n', 90, 99, 1, '2017-03-21 20:49:13'),
(167, 'Langkah 2', 'Mengisi mata kuliah yang diambil dengan cara mencentang pada mata kuliah tersebut, sesuai dengan yang tertera pada blangko KRS manual\r\n', 90, 99, 2, '2017-03-21 20:49:13'),
(168, 'Keterangan', 'Menyerahkan blangko KRS manual yang sudah ditanda tangani oleh Dosen PA kepada petugas pengajaran jurusan, untuk mendapatkan stempel pada blangko KRS sebagai tanda KRS sudah disahkan\r\n', 91, 99, 1, '2017-03-21 20:50:38'),
(169, 'Keterangan', '1). Telah mengikuti pembekalan PI\r\n\r\n2). Telah mendapatkan sertifikat pembekalan PI\r\n\r\n3). Telah mendapatkan pembagian Dosen Pembimbing PI\r\n', 92, 99, 1, '2017-03-26 01:20:43'),
(170, 'Keterangan', 'Mencari industri untuk melaksanakan PI serta menanyakan persyaratan dan kuota pesertanya\r\n', 93, 99, 1, '2017-03-26 01:21:20'),
(171, 'Meminta Blangko', 'Meminta blangko surat ijin PI di kantor pengajaran jurusan kemudian diisi', 94, 111, 1, '2017-03-26 01:28:51'),
(172, 'Meminta Tanda Tangan Koor. PI', 'Meminta tanda tangan koordinator praktik industri pada surat permohonan yang telah diisi', 94, 99, 2, '2017-03-26 01:28:51'),
(173, 'Langkah 1', 'Menyerahkan blangko surat permohonan ijin PI yang sudah ditanda tangani oleh Dosen Pembimbing PI dan Koordinator PI Jurusan kepada petugas loket 3, untuk mendapatkan surat permohonan ijin PI dari fakultas\r\n', 95, 102, 1, '2017-03-26 01:31:37'),
(174, 'Langkah 2', 'Memperbanyak surat permohonan ijin PI dari fakultas sesuai kebutuhan\r\n', 95, 99, 2, '2017-03-26 01:31:37'),
(175, 'Langkah 3', 'Meminta stempel basah pada surat permohonan ijin PI dari fakultas yang telah diperbanyak\r\n', 95, 104, 3, '2017-03-26 01:31:37'),
(176, 'Keterangan', '1). Menyerahkan surat permohonan ijin PI dari fakultas dan berkas persyaratan kepada industri/proyek tempat pelaksanaan PI\r\n\r\n2). Menanyakan apakah diperbolehkan melaksanakan PI di tempat tersebut\r\n\r\n3). Jika Ya : Menanyakan kapan bisa mulai melaksanakan PI. Jika Tidak: Ulangi dari mengisi blangko (dengan industri yang berbeda)\r\n', 96, 99, 1, '2017-03-26 01:33:23'),
(177, 'Langkah 1', 'Menyerahkan lembar penilaian pembimbing industri kepada pembimbing industri untuk dijadikan sebagai panduan dalam menilai mahasiswa\r\n', 97, 99, 1, '2017-03-26 01:34:48'),
(178, 'Langkah 2', '1). Melaksanakan PI sesuai dengan tugas yang diberikan oleh pembimbing industri\r\n\r\n2). Mengisi lembar catatan harian setelah melaksanakan PI di hari tersebut\r\n\r\n3). Meminta tanda tangan pembimbing industri pada lembar catatan harian\r\n', 97, 99, 2, '2017-03-26 01:34:48'),
(179, 'Keterangan', '1). Mengkonsultasikan judul laporan PI yang akan dibuat kepada dosen pembimbing PI\r\n\r\n2). Meminta tanda tangan dosen pembimbing pada lembar konsultasi\r\n\r\n3). Pelaksanaan konsultasi bisa dilakukan saat masih melaksanakan PI ataupun setelah selesai melaksanakan PI\r\n', 98, 99, 1, '2017-03-26 01:36:44'),
(180, 'Langkah 1', '1). Menyusun laporan PI sesuai dengan judul yang telah di setujui oleh Dosen pembimbing PI\r\n\r\n2). Format laporan bisa dilihat di buku panduan praktik industri\r\n', 99, 99, 1, '2017-03-26 01:41:14'),
(181, 'Langkah 2', 'Mengkonsultasikan laporan PI yang telah disusun kepada dosen pembimbing dan pembimbing industri (jika diperlukan), hingga laporan di setujui\r\n', 99, 99, 2, '2017-03-26 01:41:14'),
(182, 'Langkah 3', 'Setelah laporan PI mendapatkan acc dari dosen pembimbing, laporan digandakan dan dijilid hardcover sejumlah kebutuhan (lihat di panduan praktik industri)\r\n', 99, 99, 3, '2017-03-26 01:41:14'),
(183, 'Langkah 4', 'Meminta tanda tangan dosen pembimbing PI pada laporan yang telah digandakan dan dijilid hardcover\r\n', 99, 99, 4, '2017-03-26 01:41:14'),
(184, 'Langkah 5', '1). Meminta tanda tangan pembimbing industri pada laporan yang telah digandakan dan dijilid hardcover\r\n\r\n2). Meminta stempel basah industri pada laporan yang telah ditanda tangani oleh pembimbing industri\r\n', 99, 99, 5, '2017-03-26 01:41:14'),
(185, 'Langkah 6', 'Meminta tanda tangan Koordinator PI Jurusan pada laporan yang telah digandakan dan dijilid hardcover\r\n', 99, 99, 6, '2017-03-26 01:41:14'),
(186, 'Langkah 7', 'Meminta persetujuan petugas loket 3 pada nama dan NIP Wakil Dekan I FT UNY pada laporan yang telah ditanda tangani dosen pembimbing, pembimbing industri dan koordinator PI jurusan\r\n', 99, 102, 7, '2017-03-26 01:41:14'),
(187, 'Langkah 8', 'Meminta tanda tangan Wakil Dekan I FT UNY pada laporan yang telah disetujui oleh petugas loket 3\r\n', 99, 107, 8, '2017-03-26 01:41:14'),
(188, 'Langkah 9', 'Meminta stempel basah fakultas pada laporan PI di bagian tanda tangan Wakil Dekan I FT UNY\r\n', 99, 104, 9, '2017-03-26 01:41:14'),
(189, 'Langkah 10', 'Menyerahkan Laporan PI kepada dosen pembimbing, koordinator PI jurusan (atau yang lainnya sesuai dengan kebutuhan dan ketentuan)\r\n', 99, 99, 10, '2017-03-26 01:41:14'),
(190, 'Langkah 1', '1). Meminta hasil penilaian pembimbing industri sesuai dengan lembar penilaian yang telah diberikan pada awal pelaksanaan PI\r\n\r\n2). Lembar penilaian dimasukan ke dalam map (lihat panduan praktik industri)\r\n', 100, 99, 1, '2017-03-26 01:44:08'),
(191, 'Langkah 2', 'Meminta surat keterangan selesai melaksanakan PI dari industri', 100, 99, 2, '2017-03-26 01:44:08'),
(192, 'Langkah 3', 'Memberikan blangko penilaian dosen dan map yang berisi lembar penilaian dari pembimbing industri kepada dosen pembimbing\r\n', 100, 99, 3, '2017-03-26 01:44:08'),
(193, 'Langkah 4', 'Memberikan surat keterangan selesai melaksanakan PI dari industri kepada fakultas\r\n', 100, 102, 4, '2017-03-26 01:44:08'),
(194, 'Keterangan', '1). Melaksanakan ujian PI sesuai dengan ketentuan dosen pembimbing\r\n\r\n2). Tidak semua dosen pembimbing melaksanakan ujian PI\r\n', 101, 99, 1, '2017-03-26 01:44:34'),
(195, 'Keterangan', '1). Telah mendapatkan acc dari dosen pembimbing skripsi untuk melaksanakan ujian\r\n\r\n2). Semua nilai di SIAKAD tidak ada yang kosong, kecuali nilai Tugas Akhir Skripsi (TAS)\r\n\r\n3). Telah menempuh jumlah SKS tertentu sesuai panduan akademik\r\n\r\n4). Mata kuliah yang wajib lulus telah terpenuhi\r\n\r\n5). Jumlah nilai D tidak melebihi batas maksimal yang diizinkan\r\n', 102, 99, 1, '2017-03-26 02:00:20'),
(196, 'Langkah 1', 'Meminta Blangko Bebas Teori di pengajaran jurusan', 103, 111, 1, '2017-03-26 02:01:48'),
(197, 'Langkah 2', 'Mengisi Blangko Bebas Teori', 103, 99, 2, '2017-03-26 02:01:48'),
(198, 'Langkah 3', 'Meminta tanda tangan Dosen Pembimbing Skripsi dan Dosen Penasehat Akademik pada blangko permohonan bebas teori\r\n', 103, 99, 3, '2017-03-26 02:01:48'),
(199, 'Keterangan', 'Menyerahkan blangko permohonan bebas teori yang telah ditanda tangani beserta berkas persyaratan lainnya ke petugas loket 1, untuk mendapatkan print out DHS\r\n', 104, 100, 1, '2017-03-26 02:04:36'),
(200, 'Keterangan', 'Meminta tanda tangan Ketua Program studi pada print out DHS yang telah ditanda tangani oleh Dosen PA\r\n\r\n', 106, 99, 1, '2017-03-26 02:09:23'),
(201, 'Keterangan', 'Meminta tanda tangan Dosen Penasehat Akademik pada print out DHS dari loket 1', 110, 99, 1, '2017-03-26 02:08:56'),
(202, 'Keterangan', 'Menyerahkan print out DHS yang telah ditanda tangani oleh Dosen PA dan Kajur untuk mendapatkan surat keterangan bebas teori kepada petugas loket 1\r\n', 107, 100, 1, '2017-03-26 02:11:20'),
(203, 'Langkah 1', 'Meminta tanda tangan Kasubbag Akademik FT UNY pada surat keterangan bebas teori\r\n', 108, 105, 1, '2017-03-26 02:12:16'),
(204, 'Langkah 2', 'Meminta stempel basah pada tanda tangan Kasubbag Akademik FT UNY di surat keterangan bebas teori\r\n', 108, 104, 2, '2017-03-26 02:12:16'),
(205, 'Keterangan', 'Surat keterangan bebas teori dan DHS disimpan untuk keperluan Mengurus bebas teori sebelum yudisium\r\n', 109, 99, 1, '2017-03-26 02:12:33'),
(206, 'Keterangan', 'Naskah Skripsi telah disetujui oleh Pembimbing, Sekretaris Penguji dan Penguji Utama', 111, 99, 1, '2017-03-26 02:16:44'),
(207, 'Keterangan', 'Membeli satu buku sumbangan, maksimal cetakan 3 atau 4 tahun sebelumnya untuk perpustakaan pusat UNY seharga minimal Rp. 25.000,-\r\n', 112, 99, 1, '2017-03-26 02:17:32'),
(208, 'Keterangan', '1) Menunjukan nilai skripsi, jika mendapatkan nilai A maka wajib mengumpulkan hardcopy skripsi \r\n\r\n2) Menyerahkan abstrak bahasa indonesia dan bahasa inggris masing-masing 2 lembar\r\n \r\n3) CD Softcopy Skripsi dengan warna cover biru', 113, 112, 1, '2017-03-26 02:20:28'),
(209, 'Keterangan', '1) Menyerahkan CD Softcopy Skripsi dengan cover CD warna putih (format dapat dilihat pada papan pengumuman jurusan)\r\n\r\n2) Menyerahkan buku sumbangan dan menunjukkan struk pembelian', 114, 109, 1, '2017-03-26 02:22:05'),
(210, 'Keterangan', '1). Telah mendapatkan keterangan bebas perpustakaan (pusat dan jurusan)\r\n\r\n2). Semua nilai di SIAKAD tidak ada yang kosong, termasuk nilai Tugas Akhir Skripsi (TAS)\r\n', 115, 99, 1, '2017-03-26 02:31:46'),
(211, 'Keterangan', 'Meminta tanda tanga ketua program studi pada surat keterangan bebas teori yang telah didapatkan sebelum melaksanakan ujian Tugas Akhir Skripsi (TAS)\r\n', 116, 99, 1, '2017-03-26 02:32:10'),
(212, 'Keterangan', 'Menyerahkan surat keterangan bebas teori dan print out DHS yang telah ditanda tangani oleh Ketua Jurusan, untuk mendapatkan validasi dari petugas loket 1 pada surat keterangan bebas teori dan print out DHS\r\n', 117, 100, 1, '2017-03-26 02:32:55'),
(213, 'Keterangan', '1). Telah mengurus bebas teori sebelum yudisium\r\n\r\n2). Nilai Pro TEFL UNY minimal 425\r\n', 118, 99, 1, '2017-03-26 02:33:45'),
(214, 'Langkah 1', 'Membuka SIAKAD di https://siakad2013.uny.ac.id dan masuk dengan mengisi NIM dan Password', 119, 99, 1, '2017-03-26 02:35:21'),
(215, 'Langkah 2', '1). Mengisi data yudisium\r\n\r\n2). Mendapatkan kode untuk pembayaran di bank. Bagi mahasiswa bidikmisi tidak perlu\r\n', 119, 99, 2, '2017-03-26 02:35:21'),
(216, 'Keterangan', 'Membayar di bank (BPD DIY/BNI/Mandiri/BTN) dengan menyerahkan kode yang didapatkan setelah mengisi data yudisium di SIAKAD. Bagi mahasiswa bidikmisi tidak perlu\r\n', 120, 99, 1, '2017-03-26 02:35:52'),
(217, 'Langkah 1', 'Membuka SIAKAD di https://siakad2013.uny.ac.id dan masuk dengan mengisi NIM dan Password', 121, 99, 1, '2017-03-26 02:36:44'),
(218, 'Langkah 2', 'Mencetak data yudisium yang terdiri dari 3 lembar data (lembar 1 untuk mahasiswa, lembar 2 dan 3 diserahkan ke loket 4)\r\n', 121, 99, 2, '2017-03-26 02:36:44'),
(219, 'Keterangan', '1). Meminta paraf petugas loket 4 pada lembar 1, 2 dan 3 data yudisium dari SIAKAD\r\n\r\n2). Menyerahkan lembar 2 dan 3 data yudisium dari SIAKAD, surat keterangan bebas teori, print out DHS yang telah divalidasi oleh loket 1 dan fotocopy ijazah terakhir (SMA/SMK) kepada petugas loket 4\r\n', 122, 103, 1, '2017-03-26 02:37:33'),
(220, 'Keterangan', '1) Sudah mengikuti seminar penyusuna TAS \r\n\r\n2) Sudah menempuh mata kuliah Statistika dan Metodologi Penelitian Pendidikan. \r\n\r\n3) Telah menyelesaikan beban studi sekurang-kurangnya 120 sks. \r\n\r\n4) Indeks prestasi kumulatif (IPK) sekurang-kurangnya 2,50.', 123, 99, 1, '2017-03-26 13:49:22'),
(221, 'Keterangan', 'Menemui dosen pembimbing skripsi untuk mengkonsultasikan judul skripsi yang akan diambil\r\n', 124, 99, 1, '2017-03-26 14:03:10'),
(222, 'Langkah 1', '1). Penyusunan proposal skripsi untuk setiap dosen pembimbing berbeda-beda (ada yang penyusunannya per bab, ada juga yang langsung sampai bab 3)\r\n\r\n2). Aturan penyusunan proposal skripsi lihat di buku panduan Tugas Akhir Skripsi\r\n', 125, 99, 1, '2017-03-26 14:04:43'),
(223, 'Langkah 2', '1). Mengkonsultasikan proposal skripsi kepada dosen pembimbing, untuk mendapatkan acc atas naskah proposal skripsi tersebut\r\n\r\n2). Meminta tanda tangan dosen pembimbing pada kartu bimbingan skripsi\r\n\r\n3). Lakukan terus langkah ini hingga seluruh naskan proposal skripsi disetujui/di acc oleh dosen pembimbing\r\n', 125, 99, 2, '2017-03-26 14:04:43'),
(224, 'Langkah 1', '1). Bagi mahasiswa skripsi non-media: Menyusun instrumen penelitian sesuai dengan kisi-kisi yang terdapat pada Bab III proposal skripsi\r\n\r\n2). Bagi mahasiswa skripsi media: Menyusun media penelitian sesuai dengan yang dijabarkan di naskah proposal skripsi\r\n', 126, 99, 1, '2017-03-26 14:15:21'),
(225, 'Langkah 2', '1). Bagi mahasiswa skripsi non-media: Mengkonsultasikan instrumen penelitian kepada dosen pembimbing\r\n\r\n2). Bagi mahasiswa skripsi media: Mengkonsultasikan media penelitian kepada dosen pembimbing\r\n\r\n3). Meminta tanda tangan dosen pembimbing pada kartu bimbingan\r\n\r\n*) Lakukan terus langkah ini hingga instrumen penelitian/media penelitian disetujui/di acc oleh dosen pembimbing\r\n', 126, 99, 2, '2017-03-26 14:15:21'),
(231, 'Langkah 1', 'Menanyakan kepada dosen pembimbing untuk menentukan dosen validator untuk angkatan 2012 atau sebelumnya. Bagi angkatan 2013 dan seterusnya tidak perlu\r\n', 127, 99, 1, '2017-03-26 14:18:35'),
(232, 'Langkah 2', 'Setelah mendapatkan nama dosen validator, selanjutnya membuat surat permohonan validasi beserta lampiran (format bisa dilihat di buku panduan tugas akhir skripsi)\r\n', 127, 99, 2, '2017-03-26 14:18:35'),
(233, 'Langkah 3', 'Mencetak surat permohonan validasi beserta lampirannya', 127, 99, 3, '2017-03-26 14:18:35'),
(234, 'Langkah 4', 'Meminta tanda tangan dosen pembimbing pada surat permohonan validasi \r\n', 127, 99, 4, '2017-03-26 14:18:35'),
(235, 'Langkah 5', 'Meminta tanda tangan kaprodi pada surat permohonan validasi yang telah ditanda tangani oleh dosen pembimbing\r\n', 127, 99, 5, '2017-03-26 14:18:35'),
(236, 'Langkah 6', '1). Menyerahkan map beirisi surat permohonan validasi beserta lampirannya kepada dosen validator\r\n\r\n2). Menanyakan kepada dosen validator kapan lembar validasi dapat diambil\r\n', 127, 99, 6, '2017-03-26 14:18:35'),
(237, 'Langkah 7', '1). Mengambil lembar validasi dari dosen validator\r\n\r\n2). Jika terdapat revisi, maka lakukanlah revisi pada instrumen/media penelitian sesuai dengan saran dan masukan dosen validator\r\n\r\n 3). Lakukan revisi hingga instrumen/media penelitian disetujui/di acc oleh dosen validator\r\n', 127, 99, 7, '2017-03-26 14:18:35'),
(238, 'Langkah 1', 'Menggandakan dan menjilid naskah proposal skripsi sejumlah yang dibutuhkan.\r\nCatatan: Setiap lokasi penelitian memiliki aturan yang berbeda-beda\r\n', 128, 99, 1, '2017-03-26 14:23:58'),
(239, 'Langkah 2', 'Meminta tanda tangan dosen pembimbing skripsi pada proposal skripsi yang telah dijilid\r\n', 128, 99, 2, '2017-03-26 14:23:58'),
(240, 'Langkah 3', 'Meminta tanda tangan Ketua Program Studi pada proposal skripsi yang telah ditanda tangani oleh dosen pembimbing\r\n', 128, 99, 3, '2017-03-26 14:23:58'),
(241, 'Langkah 4', 'Meminta validasi kepada petugas loket 3 pada nama dan NIP Dekan', 128, 102, 4, '2017-03-26 14:23:58'),
(242, 'Langkah 5', 'Meminta tanda tangan Dekan FT UNY pada proposal yang telah Disetujui oleh petugas loket 3\r\n', 128, 107, 5, '2017-03-26 14:23:58'),
(243, 'Langkah 6', 'Menggandakan halaman cover dan halaman persetujuan sejumlah Kebutuhan\r\n', 128, 99, 6, '2017-03-26 14:23:58'),
(244, 'Langkah 7', 'Halaman persetujuan pada naskah proposal dan yang telah digandakan distempel basah pada bagian tanda tangan Dekan\r\n', 128, 99, 7, '2017-03-26 14:23:58'),
(245, 'Langkah 8', 'Mengambil blangko penelitian di loket 3', 128, 102, 8, '2017-03-26 14:23:58'),
(246, 'Langkah 9', 'Mengisi blangko penelitian', 128, 99, 9, '2017-03-26 14:23:59'),
(247, 'Langkah 10', 'Meminta tanda tangan dosen pembimbing pada blangko penelitian yang telah diisi\r\n', 128, 99, 10, '2017-03-26 14:23:59'),
(248, 'Langkah 11', 'Menyerahkan blangko penelitian yang telah ditanda tangani oleh dosen pembimbing, fotokopi halaman cover dan fotokopi halaman persetujuan yang telah distempel untuk mendaptkan Surat Ijin Penelitian dari Fakultas\r\n', 128, 102, 11, '2017-03-26 14:23:59'),
(249, 'Langkah 12', 'Mengurus ijin penelitian di provinsi di mana lokasi penelitian berada.\r\nCatatan: Jika penelitian dilakukan di FT UNY tidak diperlukan\r\n', 128, 99, 12, '2017-03-26 14:23:59'),
(250, 'Langkah 13', 'Mengurus ijin penelitian di kota/ kabupaten di mana lokasi penelitian berada. \r\nCatatan: Jika penelitian dilakukan di FT UNY tidak diperlukan\r\n', 128, 99, 13, '2017-03-26 14:23:59'),
(251, 'Langkah 14', 'Mengurus ijin penelitian di sekolah/industri / lokasi penelitian. \r\nCatatan: Jika penelitian dilakukan di FT UNY tidak diperlukan\r\n', 128, 99, 14, '2017-03-26 14:23:59'),
(252, 'Langkah 1', 'Menghubungi guru/ bagian yang ditunjuk untuk membantu proses pengambilan data\r\n', 129, 99, 1, '2017-03-26 14:24:47'),
(253, 'Langkah 2', 'Melakukan pengambilan data pada responden yang telah direncanakan', 129, 99, 2, '2017-03-26 14:24:47'),
(254, 'Langkah 1', '1). Penyusunan hasil penelitian pada Bab 4 dan Bab 5 (untuk setiap dosen pembimbing berbeda-beda, ada yang penyusunannya per bab, ada juga yang langsung keduanya)\r\n\r\n2). Aturan penyusunan Bab 4 dan Bab 5 lihat di buku panduan Tugas Akhir Skripsi\r\n', 130, 99, 1, '2017-03-26 14:25:32'),
(255, 'Langkah 2', '1). Mengkonsultasikan hasil penelitian kepada dosen pembimbing, untuk mendapatkan acc atas hasil penelitian yang telah disusun\r\n\r\n2). Meminta tanda tangan dosen pembimbing pada lembar konsultasi\r\n\r\n3). Lakukan terus langkah ini hingga seluruh hasil penelitian disetujui/di acc oleh dosen pembimbing\r\n', 130, 99, 2, '2017-03-26 14:26:07'),
(256, 'Langkah 1', 'Mengurus bebas teori sebelum ujian (bisa dilihat di bagian alur “Bebas Teori Sebelum Ujian)\r\n', 131, 99, 1, '2017-03-26 14:35:04'),
(257, 'Langkah 2', 'Naskah Skripsi yang sudah di tanda tangani oleh kaprodi dan dosen pembimbing di gandakan sebanyak 3 bendel', 131, 99, 2, '2017-03-26 14:35:04'),
(258, 'Langkah 3', 'Mengambil blangko pendaftaran ujian di pengajaran jurusan', 131, 111, 3, '2017-03-26 14:35:04'),
(259, 'Langkah 4', 'Mengisi blangko pendaftaran ujian', 131, 99, 4, '2017-03-26 14:35:04'),
(260, 'Langkah 5', '1) Masukkan naskah Skripsi 3 bendel tadi, Kartu Bimbingan, Surat Keterangan Bebas Teori, dan blanko pendaftaran ujian dimasukkan dalam satu map\r\n\r\n2) Map diberi Nama, NIM, No.HP, e-mail, dan tanggal pendaftaran ujian\r\n', 131, 99, 5, '2017-03-26 14:35:04'),
(261, 'Langkah 6', 'Berikan Map yang berisi Skripsi 3 bendel tadi, Kartu Bimbingan, Surat Keterangan Bebas Teori, dan blanko pendaftaran ujian ke pengajaran jurusan', 131, 111, 6, '2017-03-26 14:35:04'),
(262, 'Keterangan Pengumuman Tanggal Ujian', 'Tanggal ujian akan diberitahukan kepada mahasiswa melalui email, sms atau melalui pengumuman di website jurusan. ', 131, 99, 7, '2017-03-26 14:35:04'),
(263, 'Langkah 1', 'Memastikan Ketua Penguji, Sekertaris Penguji dan Penguji Utama dapat hadir pada ujian. Kemudian memastikan ruangan yang dipakai untuk ujian (Menghubungi pengurus Gedung LPTK)', 132, 99, 1, '2017-03-26 14:40:08'),
(264, 'Langkah 2', 'Membuat presentasi dan menyiapkan kelengkapan lainnya yang dirasa perlu untuk mendukung pelaksanaan ujian/sidang\r\n', 132, 99, 2, '2017-03-26 14:40:08'),
(265, 'Langkah 3', 'Menyiapkan ruangan tempat ujian dan mengambil snack untuk dosen di pengajaran jurusan', 132, 99, 3, '2017-03-26 14:40:08'),
(266, 'Langkah 4', 'Melaksanakan ujian/sidang skripsi sesuai dengan yang telah diagendakan\r\n', 132, 99, 4, '2017-03-26 14:40:08'),
(267, 'Langkah 1', 'Melakukan revisi pada naskah skripsi, sesuai dengan saran dan masukan dari Ketua Penguji, Sekertaris Penguji dan Penguji Utama\r\n', 133, 99, 1, '2017-03-26 14:42:02'),
(268, 'Langkah 2', '1). Mengkonsultasikan hasil revisi naskah skripsi kepada Ketua Penguji, Sekertaris Penguji dan Penguji Utama\r\n, untuk mendapatkan acc atas naskah skripsi yang telah direvisi\r\n\r\n2). Lakukan terus langkah ini hingga seluruh naskah skripsi revisi disetujui/di acc oleh dosen penguji\r\n\r\n3). Jika naskah telah di acc oleh dosen penguji, selanjutnya meminta dosen penguji dan pembimbing tanda tangan di lembar halaman pengesahan\r\n', 133, 99, 2, '2017-03-26 14:42:02'),
(270, 'Langkah 1', 'Menggandakan dan menjilid hardcover naskah skripsi sejumlah yang dibutuhkan \r\n', 134, 99, 1, '2017-03-26 14:44:58'),
(271, 'Langkah 2', 'Meminta tanda tangan dosen pembimbing skripsi pada naskah skripsi yang telah dijilid\r\n', 134, 99, 2, '2017-03-26 14:44:58'),
(272, 'Langkah 3', 'Meminta tanda tangan Ketua Program Studi pada naskah skripsi yang telah ditanda tangani oleh dosen pembimbing\r\n', 134, 99, 3, '2017-03-26 14:44:58'),
(273, 'Langkah 4', 'Meminta validasi kepada petugas loket 5 pada nama dan NIP Dekan', 134, 104, 4, '2017-03-26 14:44:58'),
(274, 'Langkah 5', 'Meminta validasi kepada petugas JPTK FT pada bagian daftar pustaka', 134, 110, 5, '2017-03-26 14:44:58'),
(275, 'Langkah 6', 'Meminta tanda tangan Dekan FT UNY pada naskah yang telah disetujui oleh petugas loket 5\r\n', 134, 107, 6, '2017-03-26 14:44:58'),
(276, 'Langkah 1', 'Membuat abstrak dalam bahasa inggris', 135, 99, 1, '2017-03-26 14:46:26'),
(277, 'Langkah 2', 'Membuat naskah jurnal berdasarkan naskah skripsi yang telah disetujui (format di journal.student.uny.ac.id). \r\n\r\nBimbingan Jurnal hanya ke Dosen Pembimbing dan Penguji Utama\r\n', 135, 99, 2, '2017-03-26 14:47:11'),
(278, 'Langkah 1', 'Memasukkan abstrak bahasa inggris , abstrak bahasa indonesia , jurnal dan Naskah Skripsi ke dalam CD. lalu CD tersebut digandakan sejumlah 4 buah. \r\n\r\n*) Cover tempat CD 2 warna BIRU dan 2 warna PUTIH. Cover CD warna putih seperti biasanya', 136, 99, 1, '2017-03-26 14:57:11'),
(279, 'Langkah 2', 'Memberikan 1 CD cover Biru, 1 buah jurnal hardcopy, dan sertifikat Pro TEFL beserta fotocopy nya ke pengajaran untuk mendapatkan bukti telah menyerahkan CD dari pengajaran', 136, 111, 2, '2017-03-26 14:57:12'),
(280, 'Langkah 3', 'Membawa bukti telah menyerahkan CD tersebut ke Sekretaris Penguji untuk dikeluarkan nilai skripsi.', 136, 99, 3, '2017-03-26 14:57:12');
-- --------------------------------------------------------
--
-- Table structure for table `lantai`
--
CREATE TABLE `lantai` (
`id_lantai` int(10) UNSIGNED NOT NULL,
`nama` varchar(30) NOT NULL,
`link` varchar(2083) DEFAULT NULL,
`id_gedung` int(10) UNSIGNED NOT NULL,
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`thumbnail` varchar(2083) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `lantai`
--
INSERT INTO `lantai` (`id_lantai`, `nama`, `link`, `id_gedung`, `timestamp`, `thumbnail`) VALUES
(99, 'Tidak Ada', NULL, 99, '2017-01-26 14:41:44', NULL),
(100, '1', 'http://localhost/aluradmi/denah/no-thumbnail.png', 100, '2017-03-15 04:52:57', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(101, '2', 'http://localhost/aluradmi/denah/no-thumbnail.png', 100, '2017-03-15 04:52:57', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(102, '3', 'http://localhost/aluradmi/denah/no-thumbnail.png', 100, '2017-03-15 04:52:57', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(103, '1', 'http://localhost/aluradmi/denah/no-thumbnail.png', 101, '2017-03-15 06:09:29', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(104, '1', 'http://localhost/aluradmi/denah/no-thumbnail.png', 102, '2017-03-15 07:07:37', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(105, '2', 'http://localhost/aluradmi/denah/no-thumbnail.png', 102, '2017-03-15 07:07:37', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(106, '3', 'http://localhost/aluradmi/denah/no-thumbnail.png', 102, '2017-03-15 07:07:37', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(107, '1', 'http://localhost/aluradmi/denah/no-thumbnail.png', 103, '2017-03-26 01:26:06', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(108, '1', 'http://localhost/aluradmi/denah/no-thumbnail.png', 104, '2017-03-26 02:18:13', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(109, '2', 'http://localhost/aluradmi/denah/no-thumbnail.png', 104, '2017-03-26 02:18:13', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(110, '3', 'http://localhost/aluradmi/denah/no-thumbnail.png', 104, '2017-03-26 02:18:13', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(111, '4', 'http://localhost/aluradmi/denah/no-thumbnail.png', 104, '2017-03-26 02:18:14', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(112, '5', 'http://localhost/aluradmi/denah/no-thumbnail.png', 104, '2017-03-26 02:18:14', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(113, '1', 'http://localhost/aluradmi/denah/no-thumbnail.png', 105, '2017-03-26 04:58:48', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(114, '2', 'http://localhost/aluradmi/denah/no-thumbnail.png', 105, '2017-03-26 04:58:48', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(115, '3', 'http://localhost/aluradmi/denah/no-thumbnail.png', 105, '2017-03-26 04:58:48', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(116, '1', 'http://localhost/aluradmi/denah/no-thumbnail.png', 106, '2017-03-26 04:59:19', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(117, '1', 'http://localhost/aluradmi/denah/no-thumbnail.png', 107, '2017-03-26 04:59:50', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(118, '2', 'http://localhost/aluradmi/denah/no-thumbnail.png', 107, '2017-03-26 04:59:50', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(119, '3', 'http://localhost/aluradmi/denah/no-thumbnail.png', 107, '2017-03-26 04:59:50', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(120, '1', 'http://localhost/aluradmi/denah/no-thumbnail.png', 108, '2017-03-26 05:00:17', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(121, '2', 'http://localhost/aluradmi/denah/no-thumbnail.png', 108, '2017-03-26 05:00:17', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(122, '1', 'http://localhost/aluradmi/denah/no-thumbnail.png', 109, '2017-03-26 05:00:36', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(123, '1', 'http://localhost/aluradmi/denah/no-thumbnail.png', 110, '2017-03-26 05:01:00', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(124, '2', 'http://localhost/aluradmi/denah/no-thumbnail.png', 110, '2017-03-26 05:01:00', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(125, '2', 'http://localhost/aluradmi/denah/no-thumbnail.png', 109, '2017-03-26 05:01:11', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(126, '3', 'http://localhost/aluradmi/denah/no-thumbnail.png', 109, '2017-03-26 05:01:11', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(127, '4', 'http://localhost/aluradmi/denah/no-thumbnail.png', 109, '2017-03-26 05:01:12', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(128, '5', 'http://localhost/aluradmi/denah/no-thumbnail.png', 109, '2017-03-26 05:01:12', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(129, '1', 'http://localhost/aluradmi/denah/no-thumbnail.png', 111, '2017-03-26 05:06:03', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(130, '2', 'http://localhost/aluradmi/denah/no-thumbnail.png', 111, '2017-03-26 05:06:04', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png'),
(131, '3', 'http://localhost/aluradmi/denah/no-thumbnail.png', 111, '2017-03-26 05:06:04', 'http://localhost/aluradmi/denah/no-thumbnail_thumb.png');
-- --------------------------------------------------------
--
-- Table structure for table `ruang`
--
CREATE TABLE `ruang` (
`id_ruang` int(10) UNSIGNED NOT NULL,
`nama` varchar(150) NOT NULL,
`id_lantai` int(10) UNSIGNED NOT NULL,
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `ruang`
--
INSERT INTO `ruang` (`id_ruang`, `nama`, `id_lantai`, `timestamp`) VALUES
(99, 'Tidak Ada', 99, '2017-01-26 14:42:28'),
(100, 'Loket 1', 100, '2017-03-15 04:54:19'),
(101, 'Loket 2', 100, '2017-03-15 04:54:19'),
(102, 'Loket 3', 100, '2017-03-15 04:54:19'),
(103, 'Loket 4', 100, '2017-03-15 04:54:19'),
(104, 'Loket 5', 100, '2017-03-15 04:54:19'),
(105, 'Kasubbag Akademik', 100, '2017-03-15 04:54:19'),
(106, 'Pengajaran', 103, '2017-03-15 06:10:23'),
(107, 'Sekret<NAME>', 101, '2017-03-15 06:47:09'),
(108, 'Perpustakaan', 103, '2017-03-15 07:05:38'),
(109, 'Layanan Bebas Pustaka', 104, '2017-03-15 07:08:00'),
(110, 'JPTK', 101, '2017-03-15 17:08:59'),
(111, 'Pengajaran Jurusan Teknik Elektronika dan Informatika', 107, '2017-03-26 01:27:42'),
(112, 'Perpustakaan Media FT', 108, '2017-03-26 02:18:26');
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE `user` (
`id_user` int(10) UNSIGNED NOT NULL,
`username` varchar(100) NOT NULL,
`password` varchar(255) NOT NULL,
`level` enum('1','2') NOT NULL,
`id_jurusan` int(10) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user`
--
INSERT INTO `user` (`id_user`, `username`, `password`, `level`, `id_jurusan`) VALUES
(1, 'admin', <PASSWORD>', '1', 0),
(4, 'sipil', <PASSWORD>', '2', 7),
(5, 'elektronika', '$2y$10$Gs/YWio3vC0ewEW3ymNvLuFohEcL780K.y54L.SZTRPkf.5MhpxHO', '2', 8);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `alur`
--
ALTER TABLE `alur`
ADD PRIMARY KEY (`id_alur`,`id_kategori`,`id_jurusan`),
ADD KEY `id_kategori` (`id_kategori`),
ADD KEY `id_jurusan` (`id_jurusan`);
--
-- Indexes for table `berkas`
--
ALTER TABLE `berkas`
ADD PRIMARY KEY (`id_berkas`,`id_keterangan`),
ADD KEY `id_keterangan` (`id_keterangan`);
--
-- Indexes for table `gedung`
--
ALTER TABLE `gedung`
ADD PRIMARY KEY (`id_gedung`);
--
-- Indexes for table `jurusan`
--
ALTER TABLE `jurusan`
ADD PRIMARY KEY (`id_jurusan`);
--
-- Indexes for table `kategori`
--
ALTER TABLE `kategori`
ADD PRIMARY KEY (`id_kategori`);
--
-- Indexes for table `keterangan`
--
ALTER TABLE `keterangan`
ADD PRIMARY KEY (`id_keterangan`,`id_alur`,`id_ruang`),
ADD KEY `id_alur` (`id_alur`),
ADD KEY `id_ruang` (`id_ruang`);
--
-- Indexes for table `lantai`
--
ALTER TABLE `lantai`
ADD PRIMARY KEY (`id_lantai`,`id_gedung`),
ADD KEY `id_gedung` (`id_gedung`);
--
-- Indexes for table `ruang`
--
ALTER TABLE `ruang`
ADD PRIMARY KEY (`id_ruang`,`id_lantai`),
ADD KEY `id_lantai` (`id_lantai`);
--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`id_user`,`id_jurusan`),
ADD KEY `id_jurusan` (`id_jurusan`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `alur`
--
ALTER TABLE `alur`
MODIFY `id_alur` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=137;
--
-- AUTO_INCREMENT for table `berkas`
--
ALTER TABLE `berkas`
MODIFY `id_berkas` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=233;
--
-- AUTO_INCREMENT for table `gedung`
--
ALTER TABLE `gedung`
MODIFY `id_gedung` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=112;
--
-- AUTO_INCREMENT for table `jurusan`
--
ALTER TABLE `jurusan`
MODIFY `id_jurusan` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT for table `kategori`
--
ALTER TABLE `kategori`
MODIFY `id_kategori` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;
--
-- AUTO_INCREMENT for table `keterangan`
--
ALTER TABLE `keterangan`
MODIFY `id_keterangan` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=281;
--
-- AUTO_INCREMENT for table `lantai`
--
ALTER TABLE `lantai`
MODIFY `id_lantai` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=132;
--
-- AUTO_INCREMENT for table `ruang`
--
ALTER TABLE `ruang`
MODIFY `id_ruang` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=113;
--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
MODIFY `id_user` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `alur`
--
ALTER TABLE `alur`
ADD CONSTRAINT `alur_ibfk_1` FOREIGN KEY (`id_kategori`) REFERENCES `kategori` (`id_kategori`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `alur_ibfk_2` FOREIGN KEY (`id_jurusan`) REFERENCES `jurusan` (`id_jurusan`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `berkas`
--
ALTER TABLE `berkas`
ADD CONSTRAINT `berkas_ibfk_1` FOREIGN KEY (`id_keterangan`) REFERENCES `keterangan` (`id_keterangan`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `keterangan`
--
ALTER TABLE `keterangan`
ADD CONSTRAINT `keterangan_ibfk_1` FOREIGN KEY (`id_alur`) REFERENCES `alur` (`id_alur`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `keterangan_ibfk_2` FOREIGN KEY (`id_ruang`) REFERENCES `ruang` (`id_ruang`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `lantai`
--
ALTER TABLE `lantai`
ADD CONSTRAINT `lantai_ibfk_1` FOREIGN KEY (`id_gedung`) REFERENCES `gedung` (`id_gedung`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `ruang`
--
ALTER TABLE `ruang`
ADD CONSTRAINT `ruang_ibfk_1` FOREIGN KEY (`id_lantai`) REFERENCES `lantai` (`id_lantai`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `user`
--
ALTER TABLE `user`
ADD CONSTRAINT `user_ibfk_1` FOREIGN KEY (`id_jurusan`) REFERENCES `jurusan` (`id_jurusan`) ON DELETE CASCADE ON UPDATE CASCADE;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
IF OBJECT_ID('zmetric.subjectKeyCountersEx') IS NOT NULL
DROP VIEW zmetric.subjectKeyCountersEx
GO
CREATE VIEW zmetric.subjectKeyCountersEx
AS
SELECT C.groupID, G.groupName, SK.counterID, C.counterName, SK.counterDate, SK.columnID, O.columnName,
SK.subjectID, subjectText = ISNULL(LS.[fullText], LS.lookupText), SK.keyID, keyText = ISNULL(LK.[fullText], LK.lookupText), SK.[value]
FROM zmetric.subjectKeyCounters SK
LEFT JOIN zmetric.counters C ON C.counterID = SK.counterID
LEFT JOIN zmetric.groups G ON G.groupID = C.groupID
LEFT JOIN zsystem.lookupValues LS ON LS.lookupTableID = C.subjectLookupTableID AND LS.lookupID = SK.subjectID
LEFT JOIN zsystem.lookupValues LK ON LK.lookupTableID = C.keyLookupTableID AND LK.lookupID = SK.keyID
LEFT JOIN zmetric.columns O ON O.counterID = SK.counterID AND O.columnID = SK.columnID
GO
GRANT SELECT ON zmetric.subjectKeyCountersEx TO zzp_server
GO
|
ALTER TABLE `Instances` DROP INDEX name;
|
-- IDEMPIERE-3757
-- Jul 24, 2018 9:30:27 AM CEST
UPDATE AD_Table SET AccessLevel='4',Updated=TO_TIMESTAMP('2018-07-24 09:30:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=116
;
DELETE FROM ad_window_access WHERE ad_window_id=105
AND ad_role_id IN (SELECT ad_role_id FROM ad_role WHERE ismanual='N' AND userlevel NOT LIKE 'S%')
;
SELECT register_migration_script('201807240936_IDEMPIERE-3757.sql') FROM dual
;
|
UPDATE packets SET link = REPLACE(link, 'curses/curse/', 'curses/'); |
<reponame>Ryyyyannnn/UmbracoDev
update uCommerce_CategoryTarget set CategoryGuid =
(select top 1 c.[Guid] from uCommerce_Category c where Name = ct.[Name] AND Deleted = 0) from uCommerce_CategoryTarget ct |
<filename>Resources/DdlFiles/Tables/Create/Overlays.ddl
CREATE TABLE IF NOT EXISTS Overlays (
Overlay_ID INTEGER PRIMARY KEY,
OverlayName NVARCHAR (100) NOT NULL
); |
<filename>src/test/resources/sql/vacuum/d9eeb49a.sql
-- file:without_oid.sql ln:45 expect:true
VACUUM ANALYZE wi
|
<filename>packaging/dbscripts/upgrade/03_06_1880_delete_deprecated_config_values.sql
/************************************************************************************
deletes deprecated entries from the vdc_options configuration table.
************************************************************************************/
select fn_db_delete_config_value_all_versions('SupportedStorageFormats');
select fn_db_delete_config_value('AdUserId','general');
select fn_db_delete_config_value('AdUserName','general');
select fn_db_delete_config_value('AdUserPassword','general');
select fn_db_delete_config_value('AdminPassword','general');
select fn_db_delete_config_value('AdminUser','general');
select fn_db_delete_config_value('AsyncPollingCyclesBeforeCallbackCleanup','general');
select fn_db_delete_config_value('AsyncPollingCyclesBeforeRefreshSuspend','general');
select fn_db_delete_config_value('AuthenticationMethod','general');
select fn_db_delete_config_value('AutoMode','general');
select fn_db_delete_config_value('AutoSuspendTimeInMinutes','general');
select fn_db_delete_config_value('CABaseDirectory','general');
select fn_db_delete_config_value('CACertificatePath','general');
select fn_db_delete_config_value('CAEngineKey','general');
select fn_db_delete_config_value('CBCCertificateScriptName','general');
select fn_db_delete_config_value('CBCCloseCertificateScriptName','general');
select fn_db_delete_config_value('CbcCheckOnVdsChange','general');
select fn_db_delete_config_value('CertAlias','general');
select fn_db_delete_config_value('CertificateFileName','general');
select fn_db_delete_config_value('CertificateFingerPrint','general');
select fn_db_delete_config_value('CertificatePassword','general');
select fn_db_delete_config_value('CustomPublicConfig_AppsWebSite','general');
select fn_db_delete_config_value('DebugSearchLogging','general');
select fn_db_delete_config_value('DefaultWorkgroup','general');
select fn_db_delete_config_value('DomainName','general');
select fn_db_delete_config_value('ENMailDomain','general');
select fn_db_delete_config_value('ENMailEnableSsl','general');
select fn_db_delete_config_value('ENMailHost','general');
select fn_db_delete_config_value('ENMailIsBodyHtml','general');
select fn_db_delete_config_value('ENMailPassword','general');
select fn_db_delete_config_value('ENMailPort','general');
select fn_db_delete_config_value('ENMailUseDefaultCredentials','general');
select fn_db_delete_config_value('ENMailUser','general');
select fn_db_delete_config_value('FreeSpaceCriticalLow','general');
select fn_db_delete_config_value('GlusterRefreshRateGeoRepStatus', 'general');
select fn_db_delete_config_value('GlusterRefreshRateGeoRepDiscovery', 'general');
select fn_db_delete_config_value('FreeSpaceCriticalLowInGB','general');
select fn_db_delete_config_value('FreeSpaceLow','general');
select fn_db_delete_config_value('HotPlugUnsupportedOsList','general');
select fn_db_delete_config_value('HotPlugSupportedOsList','general');
select fn_db_delete_config_value('ImagesSyncronizationTimeout','general');
select fn_db_delete_config_value('LDAPConnectTimeout','general');
select fn_db_delete_config_value('LDAPOperationTimeout','general');
select fn_db_delete_config_value('LDAPProviderTypes','general');
select fn_db_delete_config_value('LDAPQueryTimeout','general');
select fn_db_delete_config_value('LDAPSecurityAuthentication','general');
select fn_db_delete_config_value('LDAPServerPort','general');
select fn_db_delete_config_value('LdapQueryPageSize','general');
select fn_db_delete_config_value('LdapServers','general');
select fn_db_delete_config_value('LdapServers','3.0');
select fn_db_delete_config_value('LicenseCertificateFingerPrint','general');
select fn_db_delete_config_value('keystorePass','general');
select fn_db_delete_config_value('keystoreUrl','general');
select fn_db_delete_config_value('LocalAdminPassword','general');
select fn_db_delete_config_value('LogDBCommands','general');
select fn_db_delete_config_value('LogVdsRegistration','general');
select fn_db_delete_config_value('LogXmlRpcData','general');
select fn_db_delete_config_value('MaxLDAPQueryPartsNumber','general');
select fn_db_delete_config_value('NetConsolePort','general');
select fn_db_delete_config_value('ProductKey2003','general');
select fn_db_delete_config_value('ProductKey2003x64','general');
select fn_db_delete_config_value('ProductKey2008','general');
select fn_db_delete_config_value('ProductKey2008R2','general');
select fn_db_delete_config_value('ProductKey2008x64','general');
select fn_db_delete_config_value('ProductKey','general');
select fn_db_delete_config_value('ProductKeyWindow7','general');
select fn_db_delete_config_value('ProductKeyWindow7x64','general');
select fn_db_delete_config_value('ProductKeyWindows8','general');
select fn_db_delete_config_value('ProductKeyWindows8x64','general');
select fn_db_delete_config_value('ProductKeyWindows2012x64','general');
select fn_db_delete_config_value('VdsFenceOptionMapping','general');
select fn_db_delete_config_value('MountPointsToIgoreInGlusterStorageList','general');
select fn_db_delete_config_value('FileSystemTypesToIgoreInGlusterStorageList','general');
select fn_db_delete_config_value('DefaultGlusterBrickMountPoint','general');
select fn_db_delete_config_value('GlusterStorageDeviceListMountPointsToIgore','general');
select fn_db_delete_config_value('GlusterStorageDeviceListFileSystemTypesToIgore','general');
-- removing power client
select fn_db_delete_config_value('PowerClientAllowUsingAsIRS','general');
select fn_db_delete_config_value('PowerClientGUI','general');
select fn_db_delete_config_value('PowerClientAllowRunningGuestsWithoutTools','general');
select fn_db_delete_config_value('PowerClientAutoAdjustMemoryBaseOnAvailableMemory','general');
select fn_db_delete_config_value('PowerClientAutoAdjustMemory','general');
select fn_db_delete_config_value('PowerClientAutoAdjustMemoryGeneralReserve','general');
select fn_db_delete_config_value('PowerClientAutoAdjustMemoryLog','general');
select fn_db_delete_config_value('PowerClientAutoAdjustMemoryMaxMemory','general');
select fn_db_delete_config_value('PowerClientAutoAdjustMemoryModulus','general');
select fn_db_delete_config_value('PowerClientAutoAdjustMemorySpicePerMonitorReserve','general');
select fn_db_delete_config_value('PowerClientAutoAdjustMemorySpicePerSessionReserve','general');
select fn_db_delete_config_value('PowerClientAutoMigrateFromPowerClientToVdsWhenConnectingFromRegularClient','general');
select fn_db_delete_config_value('PowerClientAutoMigrateToPowerClientOnConnect','general');
select fn_db_delete_config_value('PowerClientDedicatedVmLaunchOnVdsWhilePowerClientStarts','general');
select fn_db_delete_config_value('PowerClientLogDetection','general');
select fn_db_delete_config_value('PowerClientMaxNumberOfConcurrentVMs','general');
select fn_db_delete_config_value('PowerClientRunVmShouldVerifyPendingVMsAsWell','general');
select fn_db_delete_config_value('PowerClientSpiceDynamicCompressionManagement','general');
select fn_db_delete_config_value('PredefinedVMProperties','general');
select fn_db_delete_config_value('PublicURLPort','general');
select fn_db_delete_config_value('RDPLoginWithFQN','general');
select fn_db_delete_config_value('RedirectServletReportsPageError','general');
select fn_db_delete_config_value('RenewGuestIpOnVdsSubnetChange','general');
select fn_db_delete_config_value('RenewGuestIpOnVdsSubnetChangeOnParseError','general');
select fn_db_delete_config_value('RpmsRepositoryUrl','general');
select fn_db_delete_config_value('SignLockFile','general');
select fn_db_delete_config_value('SignScriptName','general');
select fn_db_delete_config_value('SQLServerI18NPrefix','general');
select fn_db_delete_config_value('SQLServerLikeSyntax','general');
select fn_db_delete_config_value('SQLServerPagingSyntax','general');
select fn_db_delete_config_value('SQLServerPagingType','general');
select fn_db_delete_config_value('SQLServerSearchTemplate','general');
select fn_db_delete_config_value('ScriptsPath','general');
select fn_db_delete_config_value('SearchesRefreshRateInSeconds','general');
select fn_db_delete_config_value('SelectCommandTimeout','general');
select fn_db_delete_config_value('SysPrep3.0Path','general');
select fn_db_delete_config_value('TruststorePass','general');
select fn_db_delete_config_value('TruststoreUrl','general');
select fn_db_delete_config_value('UseENGINERepositoryRPMs','general');
select fn_db_delete_config_value('UseVdsBrokerInProc','general');
select fn_db_delete_config_value('UseSecureConnectionWithServers','general');
select fn_db_delete_config_value('VM64BitMaxMemorySizeInMB','general');
select fn_db_delete_config_value('VdcBootStrapUrl','general');
select fn_db_delete_config_value('VdsErrorsFileName','general');
select fn_db_delete_config_value('VM64BitMaxMemorySizeInMB','general');
select fn_db_delete_config_value('LogVdsRegistration','general');
select fn_db_delete_config_for_version('2.2');
select fn_db_delete_config_value('IsNeedSupportForOldVgAPI', '2.2,3.0');
select fn_db_delete_config_value('LimitNumberOfNetworkInterfaces', '2.2,3.0,3.1,3.2');
select fn_db_delete_config_value('LocalStorageEnabled','2.2,3.0,3.1,3.2');
select fn_db_delete_config_value('SupportCustomProperties','2.2,3.0,3.1,3.2');
select fn_db_delete_config_value('SupportGetDevicesVisibility','2.2,3.0,3.1,3.2');
select fn_db_delete_config_value('SupportStorageFormat','2.2,3.0,3.1,3.2');
select fn_db_delete_config_value('UseRtl8139_pv','2.2,3.0,3.1,3.2');
select fn_db_delete_config_value('VdsFenceOptions','general');
select fn_db_delete_config_value('VirtualMachineDomainName','general');
select fn_db_delete_config_value('AuditLogAgingThreashold','general');
select fn_db_delete_config_value('ClientConsoleModeDefault','general');
select fn_db_delete_config_value('LiveStorageMigrationEnabled','3.0');
select fn_db_delete_config_value('LiveStorageMigrationEnabled','3.1');
select fn_db_delete_config_value('LiveStorageMigrationEnabled','3.2');
select fn_db_delete_config_value('DiskConfigurationList','general');
select fn_db_delete_config_value('DefaultTimeZone','general');
select fn_db_delete_config_value('NumberOfVmsForTopSizeVms','general');
select fn_db_delete_config_value_all_versions('EmulatedMachine');
select fn_db_delete_config_value_all_versions('ENGINEEARLib');
SELECT fn_db_delete_config_value_all_versions('AdminDomain');
select fn_db_delete_config_value('AverageToPeakRatio','general');
select fn_db_delete_config_value('AverageToBurstRatio','general');
select fn_db_delete_config_value('DocsURL','general');
select fn_db_delete_config_value('VirtIoScsiUnsupportedOsList','general');
select fn_db_delete_config_value('EnableMACAntiSpoofingFilterRules', '3.0');
select fn_db_delete_config_value('EnableMACAntiSpoofingFilterRules', '3.1');
select fn_db_delete_config_value('SSHInactivityTimoutSeconds','general');
select fn_db_delete_config_value('SSHInactivityHardTimoutSeconds','general');
select fn_db_delete_config_value('StorageDomainFalureTimeoutInMinutes','general');
select fn_db_delete_config_value('VdsLoadBalancingeIntervalInMinutes','general');
select fn_db_delete_config_value('VdsRecoveryTimeoutInMintues','general');
select fn_db_delete_config_value('UknownTaskPrePollingLapse','general');
select fn_db_delete_config_value('GlusterAysncTasksSupport','3.0,3.1,3.2,3.3');
select fn_db_delete_config_value('NormalizedMgmgNetworkEnabled','3.0,3.1,3.2');
select fn_db_delete_config_value('HotPlugCpuEnabled','3.0,3.1,3.2,3.3,3.4,3.5');
select fn_db_delete_config_value('SysPrepXPPath','general');
select fn_db_delete_config_value('SysPrep2K3Path','general');
select fn_db_delete_config_value('SysPrep2K8Path','general');
select fn_db_delete_config_value('SysPrep2K8R2Path','general');
select fn_db_delete_config_value('SysPrep2K8x64Path','general');
select fn_db_delete_config_value('SysPrepWindows7Path','general');
select fn_db_delete_config_value('SysPrepWindows7x64Path','general');
select fn_db_delete_config_value('SysPrepWindows8Path','general');
select fn_db_delete_config_value('SysPrepWindows8x64Path','general');
select fn_db_delete_config_value('SysPrepWindows2012x64Path','general');
select fn_db_delete_config_value('UserRefreshRate','general');
|
<gh_stars>0
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Author: freyd
* Created: 1/09/2018
*/
CREATE USER IF NOT EXISTS 'Taller1' @'localhost' IDENTIFIED BY 'Taller1';
GRANT ALL PRIVILEGES ON *.* TO 'Taller1' @'localhost';
FLUSH PRIVILEGES;
CREATE DATABASE IF NOT EXISTS taller1;
USE taller1;
CREATE TABLE IF NOT EXISTS Rol (
ID INT auto_increment PRIMARY KEY,
Nombre VARCHAR ( 20 ) UNIQUE NOT NULL,
Descripcion VARCHAR ( 30 ),
Jerarquia INT NOT NULL,
Estado boolean DEFAULT FALSE);
CREATE TABLE IF NOT EXISTS Permiso (
ID INT auto_increment PRIMARY KEY,
Nombre VARCHAR ( 20 ) UNIQUE NOT NULL,
Url text,
Estado boolean DEFAULT FALSE);
CREATE TABLE IF NOT EXISTS Asignar (
IdRol INT NOT NULL,
IdPer INT NOT NULL,
Leer INT ( 4 ),
Nuevo boolean DEFAULT FALSE,
Modificar boolean DEFAULT FALSE,
Eliminar boolean DEFAULT FALSE,
CONSTRAINT Asignar_Rol FOREIGN KEY ( IdRol ) REFERENCES Rol ( ID ) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT Asignar_Permiso FOREIGN KEY ( IdPer ) REFERENCES Permiso ( ID ) ON DELETE CASCADE ON UPDATE CASCADE);
CREATE TABLE IF NOT EXISTS Empresa (
Nit VARCHAR ( 15 ) PRIMARY KEY,
RazonSoc VARCHAR ( 10 ) UNIQUE NOT NULL,
Representante VARCHAR ( 20 ),
Telefono VARCHAR ( 12 ),
Direccion VARCHAR ( 20 ),
Arl VARCHAR ( 20 ),
Estado boolean DEFAULT FALSE);
CREATE TABLE
IF
NOT EXISTS Usuario (
TipoDocumento VARCHAR ( 10 ) NOT NULL,
NumDocumento VARCHAR ( 15 ) PRIMARY KEY,
Nombres VARCHAR ( 50 ) NOT NULL,
Telefono VARCHAR ( 12 ),
Direccion VARCHAR ( 20 ),
Eps VARCHAR ( 20 ),
Correo VARCHAR ( 50 ),
Contrasena VARCHAR ( 255 ) NOT NULL,
Foto VARCHAR ( 255 ),
Rol INT,
Empresa VARCHAR ( 20 ),
Estado boolean DEFAULT FALSE,
CONSTRAINT Usuario_Rol FOREIGN KEY ( Rol ) REFERENCES Rol ( ID ) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT Usuario_Empresa FOREIGN KEY ( Empresa ) REFERENCES Empresa ( Nit ) ON DELETE CASCADE ON UPDATE CASCADE
);
CREATE TABLE
IF
NOT EXISTS Ruta (
ID INT auto_increment PRIMARY KEY,
Nombre VARCHAR ( 20 ) UNIQUE NOT NULL,
HorarioIni time NOT NULL,
horarioFin time NOT NULL,
Km DEC ( 5, 2 ) NOT NULL,
LugarIni VARCHAR ( 12 ) NOT NULL,
LugarFin VARCHAR ( 12 ) NOT NULL,
Estado boolean DEFAULT FALSE
);
CREATE TABLE
IF
NOT EXISTS Evento ( ID INT auto_increment PRIMARY KEY, NombreEve enum ( 'Accidente', 'Asigna Ruta', 'Asigna Conductor', 'Falla mecanica', 'Mantenimiento', 'Robo' ) );
CREATE TABLE
IF
NOT EXISTS Vehiculo (
Placa VARCHAR ( 12 ) PRIMARY KEY,
Marca VARCHAR ( 12 ),
Modelo INT,
Chasis VARCHAR ( 20 ) UNIQUE NOT NULL,
Pasajeros INT NOT NULL,
Empresa VARCHAR ( 15 ),
Estado boolean DEFAULT FALSE,
CONSTRAINT Vehiculo_Empresa FOREIGN KEY ( Empresa ) REFERENCES Empresa ( Nit ) ON DELETE CASCADE ON UPDATE CASCADE
);
CREATE TABLE
IF
NOT EXISTS Historico (
ID INT auto_increment PRIMARY KEY,
Placa VARCHAR ( 12 ),
Conductor VARCHAR ( 15 ),
Ruta INT,
Evento INT,
Descripcion VARCHAR ( 250 ),
Lugar VARCHAR ( 250 ),
FechaIni datetime,
FechaFin datetime,
Estado boolean DEFAULT TRUE,
CONSTRAINT Historico_Vehiculo FOREIGN KEY ( Placa ) REFERENCES Vehiculo ( Placa ) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT Historico_Usuario FOREIGN KEY ( Conductor ) REFERENCES Usuario ( NumDocumento ) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT Historico_Ruta FOREIGN KEY ( Ruta ) REFERENCES Ruta ( ID ) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT Historico_Eventos FOREIGN KEY ( Evento ) REFERENCES Evento ( ID ) ON DELETE CASCADE ON UPDATE CASCADE
);
/***************************************************************************************************************************/
/* Procedimientos tabla Roles */
CREATE PROCEDURE IF NOT EXISTS RolIns ( IN NombreNew VARCHAR ( 20 ), IN JerarquiaNew INT, IN DescripcionNew VARCHAR ( 30 ), IN EstadoNew boolean )
BEGIN
INSERT INTO Rol ( Nombre, Jerarquia, Descripcion, Estado )
VALUES
( NombreNew, JerarquiaNew, DescripcionNew, EstadoNew );
END;
CALL taller1.RolIns ( "Administrador", 1, "Control total", TRUE );
CALL taller1.RolIns ( "Coordinador Empresa", 2, "Control total", TRUE );
CALL taller1.RolIns ( "Conductor", 3, "Acceso minimo", TRUE );
CREATE PROCEDURE IF NOT EXISTS RolAct ( IN IdOld INT, IN NombreOld VARCHAR ( 20 ), IN DescripcionOld VARCHAR ( 30 ), IN JerarquiaOld INT, IN EstadoOld boolean )
BEGIN
UPDATE Rol
SET Nombre = NombreOld,
Jerarquia = JerarquiaOld,
Descripcion = DescripcionOld,
Estado = EstadoOld
WHERE
ID = IdOld;
END;
CREATE PROCEDURE IF NOT EXISTS RolEli ( IN IDold INT ) BEGIN
DELETE
FROM Rol WHERE ID = IDold;
END;
CREATE PROCEDURE IF NOT EXISTS RolLis ( )
BEGIN
SELECT ID,Nombre,Jerarquia,Descripcion,Estado
FROM Rol;
END;
CREATE PROCEDURE IF NOT EXISTS RolCon (IN IdOld INT )
BEGIN
SELECT ID,Nombre,Jerarquia,Descripcion,Estado
FROM Rol
WHERE ID = IdOld;
END;
/* Procedimientos tabla empresa */
CREATE PROCEDURE IF NOT EXISTS EmpIns (IN NitNew VARCHAR ( 15 ),IN RazonSocNew VARCHAR ( 10 ),IN RepresentanteNew VARCHAR (20),IN TelefonoNew VARCHAR ( 12 ),IN DireccionNew VARCHAR ( 20 ),IN ArlNew VARCHAR ( 20 ),IN EstadoNew boolean )
BEGIN
INSERT INTO Empresa ( Nit, RazonSoc, Representante, Telefono, Direccion, Arl, Estado )
VALUES
( NitNew, RazonSocNew, RepresentanteNew, TelefonoNew, DireccionNew, ArlNew, EstadoNew );
END;
CALL taller1.EmpIns ( "800678943-7", "Coltrans", "<NAME>", "2456789", "Cra. 35 No. 12 56", "Sura", TRUE )
CREATE PROCEDURE IF NOT EXISTS EmpAct (IN NitOld VARCHAR ( 15 ),IN RazonSocOld VARCHAR ( 10 ),IN RepresentanteOld VARCHAR ( 20 ),IN TelefonoOld VARCHAR ( 12 ),IN DireccionOld VARCHAR ( 20 ),IN ArlOld VARCHAR ( 20 ), IN EstadoOld boolean )
BEGIN
UPDATE Empresa
SET
RazonSoc = RazonSocOld,
Representante = RepresentanteOld,
Telefono = TelefonoOld,
Direccion = DireccionOld,
Arl = ArlOld,
Estado = EstadoOld
WHERE
Nit = NitOld;
END;
CREATE PROCEDURE EmpEli ( IN NitOld VARCHAR ( 15 ) )
BEGIN
DELETE
FROM
Empresa WHERE Nit = NitOld;
END;
CREATE PROCEDURE IF NOT EXISTS EmpLis ( )
BEGIN
SELECT Nit,RazonSoc,Representante,Telefono,Direccion,Arl,Estado
FROM Empresa;
END;
CREATE PROCEDURE IF NOT EXISTS EmpCon ( IN NitOld VARCHAR ( 15 ) )
BEGIN
SELECT Nit,RazonSoc,Representante,Telefono,Direccion,Arl,Estado
FROM Empresa
WHERE Nit=NitOld;
END;
/* Procedimientos tabla Usuario*/
CREATE PROCEDURE InsUsu (
IN TipoDocumentoNew VARCHAR ( 10 ),
IN NumDocumentoNew VARCHAR ( 15 ),
IN NombresNew VARCHAR ( 50 ),
IN TelefonoNew VARCHAR ( 12 ),
IN DireccionNew VARCHAR ( 20 ),
IN EpsNew enum ( 'Nueva EPS', 'Coomeva', 'Famisanar' ),
IN CorreoNew VARCHAR ( 50 ),
IN ContrasenaNew VARCHAR ( 12 ),
IN FotoNew VARCHAR ( 250 ),
IN RolNew INT,
IN EmpresaNew VARCHAR ( 15 )
) INSERT INTO Usuario ( TipoDocumento, NumDocumento, Nombres, Telefono, Direccion, Eps, Correo, Contrasena, Foto, Rol, Empresa )
VALUES
( TipoDocumentoNew, NumDocumentoNew, NombresNew, TelefonoNew, DireccionNew, EpsNew, CorreoNew, ContrasenaNew, FotoNew, RolNew, EmpresaNew );
CREATE PROCEDURE ActUsu (
IN TipoDocumentoNew VARCHAR ( 10 ),
IN NumDocumentoOld VARCHAR ( 15 ),
IN NombresNew VARCHAR ( 50 ),
IN TelefonoNew VARCHAR ( 12 ),
IN DireccionNew VARCHAR ( 20 ),
IN EpsNew enum ( 'Nueva EPS', 'Coomeva', 'Famisanar' ),
IN CorreoNew VARCHAR ( 50 ),
IN ContrasenaNew VARCHAR ( 12 ),
IN FotoNew VARCHAR ( 250 ),
IN EstadoNew boolean
) UPDATE Usuario
SET TipoDocumento = TipoDocumentoNew,
Nombres = NombresNew,
Telefono = TelefonoNew,
Direccion = DireccionNew,
Eps = EpsNew,
Correo = CorreoNew,
Contrasena = ContrasenaNew,
Foto = FotoNew,
Estado = EstadoNew
WHERE
NumDocumento = NumDocumentoOld;
CREATE PROCEDURE EliUsu ( IN NumDocumentoOld VARCHAR ( 15 ) ) DELETE
FROM
Usuario
WHERE
NumDocumento = NumDocumentoOld;
CREATE PROCEDURE LisUsu ( )
SELECT TipoDocumento,NumDocumento,Nombres,Usuario.Telefono,Usuario.Direccion,Eps,Correo,Foto,Rol.Nombre,Empresa.RazonSoc,Usuario.Estado
FROM Usuario
INNER JOIN Rol ON Usuario.Rol = Rol.ID
INNER JOIN Empresa ON Usuario.Empresa = Empresa.Nit;
/* Procedimientos tabla Rutas */
CREATE PROCEDURE LisRut ( ) SELECT
*
FROM
Ruta;
CREATE PROCEDURE InsRut (
IN NombreNew VARCHAR ( 20 ),
IN HorarioIniNew time,
IN horarioFinNew time,
IN KmNew DEC ( 5, 2 ),
IN LugarIniNew VARCHAR ( 12 ),
IN LugarFinNew VARCHAR ( 12 )
) INSERT INTO Ruta ( Nombre, HorarioIni, horarioFin, Km, LugarIni, LugarFin )
VALUES
( NombreNew, HorarioIniNew, horarioFinNew, KmNew, LugarIniNew, LugarFinNew );
CREATE PROCEDURE ActRut (
IN IdOld INT,
IN NombreNew VARCHAR ( 20 ),
IN HorarioIniNew time,
IN horarioFinNew time,
IN KmNew DEC ( 5, 2 ),
IN LugarIniNew VARCHAR ( 12 ),
IN LugarFinNew VARCHAR ( 12 )
) UPDATE Ruta
SET Nombre = NombreNew,
HorarioIni = HorarioIniNew,
horarioFin = horarioFin,
Km = KmNew,
LugarIni = LugarIniNew,
LugarFin = LugarFinNew
WHERE
ID = IdOld;
CREATE PROCEDURE EliRut ( IN IdOld INT ) DELETE
FROM
Ruta
WHERE
ID = IdOld;
/* Procedimientos tabla Eventos */
CREATE PROCEDURE LisEve ( ) SELECT
*
FROM
Evento;
CREATE PROCEDURE InsEve ( IN NombreEveNew enum ( 'Accidente', 'Asigna Ruta', 'Asigna Conductor', 'Falla mecanica', 'Mantenimiento', 'Robo' ) ) INSERT INTO Evento ( nombreEve )
VALUES
( NombreEveNew );
CREATE PROCEDURE EliEve ( IN IdOld INT ) DELETE
FROM
Evento
WHERE
ID = IdOld;
/* Procedimientos Tabla Vehiculo */
CREATE PROCEDURE LisVehi ( ) SELECT
Placa,
Marca,
Modelo,
Chasis,
Pasajeros,
RazonSoc
FROM
Vehiculo
INNER JOIN Empresa ON Vehiculo.Empresa = Empresa.nit;
CREATE PROCEDURE InsVehi (
IN PlacaNew VARCHAR ( 12 ),
IN MarcaNew VARCHAR ( 12 ),
IN ModeloNew INT,
IN ChasisNew VARCHAR ( 20 ),
IN PasajerosNew INT,
IN EmpresaNew VARCHAR ( 15 )
) INSERT INTO Vehiculo ( Placa, Marca, Modelo, Chasis, Pasajeros, Empresa )
VALUES
( PlacaNew, MarcaNew, ModeloNew, ChasisNew, PasajerosNew, EmpresaNew );
CREATE PROCEDURE ActVehi (
IN PlacaOld VARCHAR ( 12 ),
IN MarcaNew VARCHAR ( 12 ),
IN ModeloNew INT,
IN ChasisNew VARCHAR ( 20 ),
IN PasajerosNew INT,
IN EmpresaNew VARCHAR ( 15 )
) UPDATE Vehiculo
SET Marca = MarcaNew,
Modelo = ModeloNew,
Chasis = ChasisNew,
Pasajeros = PasajerosNew,
Empresa = EmpresaNew
WHERE
placa = PlacaOld;
CREATE PROCEDURE EliVehi ( IN PlacaOld VARCHAR ( 12 ) ) DELETE
FROM
Vehiculo
WHERE
Placa = PlacaOld;
/* Procediminetos Historico */
CREATE PROCEDURE LisHis ( ) SELECT
*
FROM
Historico;
CREATE PROCEDURE LisHis1 ( ) SELECT
Historico.ID,
placa,
Usuario.Nombres,
Ruta.Nombre,
Evento.NombreEve,
Descripcion,
Lugar,
FechaIni,
FechaFin,
Historico.Estado
FROM
Historico
INNER JOIN Usuario ON historico.Conductor = Usuario.NumDocumento
INNER JOIN Evento ON Historico.Evento = Evento.ID
INNER JOIN Ruta ON Historico.Ruta = Ruta.ID;
CREATE PROCEDURE InsHis (
IN PlacaNew VARCHAR ( 12 ),
IN ConductorNew VARCHAR ( 15 ),
IN RutaNew INT,
IN EventoNew INT,
IN DescripcionNew VARCHAR ( 250 ),
IN LugarNew VARCHAR ( 250 )
) INSERT INTO Historico ( Placa, Conductor, Ruta, Evento, Descripcion, Lugar, FechaIni )
VALUES
( PlacaNew, ConductorNew, RutaNew, EventoNew, DescripcionNew, LugarNew, now( ) );
CREATE PROCEDURE ActHis (
IN IdOld INT,
IN PlacaNew VARCHAR ( 12 ),
IN ConductorNew VARCHAR ( 15 ),
IN RutaNew INT,
IN EventoNew INT,
IN DescripcionNew VARCHAR ( 250 ),
IN LugarNew VARCHAR ( 250 )
) UPDATE Historico
SET Placa = PlacaNew,
Conductor = ConductorNew,
Ruta = RutaNew,
Evento = EventoNew,
Descripcion = DescripcionNew,
Lugar = LugarNew
WHERE
ID = IdOld;
CREATE PROCEDURE TerminarHisto ( IN IdOld INT ) UPDATE Historico
SET FechaFin = now( ),
Estado = FALSE
WHERE
ID = IdOld;
CREATE PROCEDURE EliHis ( IN IdOld INT ) DELETE
FROM
Historico
WHERE
ID = IdOld; |
--Auto generated code from XmlSchemaSQLClassGenerator on 12:34 18-Nov-2020
USE [RailML_3_1]
GO
INSERT [dbo].[TVerbalCounter] ([TVerbalCounterId], [Value]) VALUES (1, N'Single')
GO
INSERT [dbo].[TVerbalCounter] ([TVerbalCounterId], [Value]) VALUES (2, N'Double')
GO
INSERT [dbo].[TVerbalCounter] ([TVerbalCounterId], [Value]) VALUES (3, N'Triple')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TLaxDirection] ([TLaxDirectionId], [Value]) VALUES (1, N'Up')
GO
INSERT [dbo].[TLaxDirection] ([TLaxDirectionId], [Value]) VALUES (2, N'Down')
GO
INSERT [dbo].[TLaxDirection] ([TLaxDirectionId], [Value]) VALUES (3, N'Unknown')
GO
INSERT [dbo].[TLaxDirection] ([TLaxDirectionId], [Value]) VALUES (4, N'None')
GO
INSERT [dbo].[TLaxDirection] ([TLaxDirectionId], [Value]) VALUES (5, N'Both')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TExtendedDirection] ([TExtendedDirectionId], [Value]) VALUES (1, N'Up')
GO
INSERT [dbo].[TExtendedDirection] ([TExtendedDirectionId], [Value]) VALUES (2, N'Down')
GO
INSERT [dbo].[TExtendedDirection] ([TExtendedDirectionId], [Value]) VALUES (3, N'Unknown')
GO
INSERT [dbo].[TExtendedDirection] ([TExtendedDirectionId], [Value]) VALUES (4, N'None')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TDelimitedDirection] ([TDelimitedDirectionId], [Value]) VALUES (1, N'Up')
GO
INSERT [dbo].[TDelimitedDirection] ([TDelimitedDirectionId], [Value]) VALUES (2, N'Down')
GO
INSERT [dbo].[TDelimitedDirection] ([TDelimitedDirectionId], [Value]) VALUES (3, N'Unknown')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TStrictDirection] ([TStrictDirectionId], [Value]) VALUES (1, N'Up')
GO
INSERT [dbo].[TStrictDirection] ([TStrictDirectionId], [Value]) VALUES (2, N'Down')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TMileageDirection] ([TMileageDirectionId], [Value]) VALUES (1, N'Raising')
GO
INSERT [dbo].[TMileageDirection] ([TMileageDirectionId], [Value]) VALUES (2, N'Falling')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TTrainAlignment] ([TTrainAlignmentId], [Value]) VALUES (1, N'Head')
GO
INSERT [dbo].[TTrainAlignment] ([TTrainAlignmentId], [Value]) VALUES (2, N'Center')
GO
INSERT [dbo].[TTrainAlignment] ([TTrainAlignmentId], [Value]) VALUES (3, N'Rear')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TBrakeUse] ([TBrakeUseId], [Value]) VALUES (1, N'Unknown')
GO
INSERT [dbo].[TBrakeUse] ([TBrakeUseId], [Value]) VALUES (2, N'Normal')
GO
INSERT [dbo].[TBrakeUse] ([TBrakeUseId], [Value]) VALUES (3, N'Emergency')
GO
INSERT [dbo].[TBrakeUse] ([TBrakeUseId], [Value]) VALUES (4, N'Both')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TAirBrakeApplicationPosition] ([TAirBrakeApplicationPositionId], [Value]) VALUES (1, N'NSlashA')
GO
INSERT [dbo].[TAirBrakeApplicationPosition] ([TAirBrakeApplicationPositionId], [Value]) VALUES (2, N'G')
GO
INSERT [dbo].[TAirBrakeApplicationPosition] ([TAirBrakeApplicationPositionId], [Value]) VALUES (3, N'P')
GO
INSERT [dbo].[TAirBrakeApplicationPosition] ([TAirBrakeApplicationPositionId], [Value]) VALUES (4, N'R')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TTrainProtectionMedium] ([TTrainProtectionMediumId], [Value]) VALUES (1, N'None')
GO
INSERT [dbo].[TTrainProtectionMedium] ([TTrainProtectionMediumId], [Value]) VALUES (2, N'Mechanical')
GO
INSERT [dbo].[TTrainProtectionMedium] ([TTrainProtectionMediumId], [Value]) VALUES (3, N'Electric')
GO
INSERT [dbo].[TTrainProtectionMedium] ([TTrainProtectionMediumId], [Value]) VALUES (4, N'Inductive')
GO
INSERT [dbo].[TTrainProtectionMedium] ([TTrainProtectionMediumId], [Value]) VALUES (5, N'Magnetic')
GO
INSERT [dbo].[TTrainProtectionMedium] ([TTrainProtectionMediumId], [Value]) VALUES (6, N'Optical')
GO
INSERT [dbo].[TTrainProtectionMedium] ([TTrainProtectionMediumId], [Value]) VALUES (7, N'Radio')
GO
INSERT [dbo].[TTrainProtectionMedium] ([TTrainProtectionMediumId], [Value]) VALUES (8, N'Rail')
GO
INSERT [dbo].[TTrainProtectionMedium] ([TTrainProtectionMediumId], [Value]) VALUES (9, N'Cable')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TTrainProtectionMonitoring] ([TTrainProtectionMonitoringId], [Value]) VALUES (1, N'None')
GO
INSERT [dbo].[TTrainProtectionMonitoring] ([TTrainProtectionMonitoringId], [Value]) VALUES (2, N'Intermittent')
GO
INSERT [dbo].[TTrainProtectionMonitoring] ([TTrainProtectionMonitoringId], [Value]) VALUES (3, N'Continuous')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TInterlockingTypes] ([TInterlockingTypesId], [Value]) VALUES (1, N'None')
GO
INSERT [dbo].[TInterlockingTypes] ([TInterlockingTypesId], [Value]) VALUES (2, N'Mechanical')
GO
INSERT [dbo].[TInterlockingTypes] ([TInterlockingTypesId], [Value]) VALUES (3, N'Electro_Mechanical')
GO
INSERT [dbo].[TInterlockingTypes] ([TInterlockingTypesId], [Value]) VALUES (4, N'Electrical')
GO
INSERT [dbo].[TInterlockingTypes] ([TInterlockingTypesId], [Value]) VALUES (5, N'Electronical')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TTiltingActuationType] ([TTiltingActuationTypeId], [Value]) VALUES (1, N'None')
GO
INSERT [dbo].[TTiltingActuationType] ([TTiltingActuationTypeId], [Value]) VALUES (2, N'Active')
GO
INSERT [dbo].[TTiltingActuationType] ([TTiltingActuationTypeId], [Value]) VALUES (3, N'Passive')
GO
INSERT [dbo].[TTiltingActuationType] ([TTiltingActuationTypeId], [Value]) VALUES (4, N'RollCompensation')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TUsageType] ([TUsageTypeId], [Value]) VALUES (1, N'Passenger')
GO
INSERT [dbo].[TUsageType] ([TUsageTypeId], [Value]) VALUES (2, N'Goods')
GO
INSERT [dbo].[TUsageType] ([TUsageTypeId], [Value]) VALUES (3, N'Mixed')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TControllerTechnologyType] ([TControllerTechnologyTypeId], [Value]) VALUES (1, N'Manual')
GO
INSERT [dbo].[TControllerTechnologyType] ([TControllerTechnologyTypeId], [Value]) VALUES (2, N'Mechanical')
GO
INSERT [dbo].[TControllerTechnologyType] ([TControllerTechnologyTypeId], [Value]) VALUES (3, N'Electro_Mechanical')
GO
INSERT [dbo].[TControllerTechnologyType] ([TControllerTechnologyTypeId], [Value]) VALUES (4, N'Electrical')
GO
INSERT [dbo].[TControllerTechnologyType] ([TControllerTechnologyTypeId], [Value]) VALUES (5, N'Electronic')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TMaxTrainCurrentType] ([TMaxTrainCurrentTypeId], [Value]) VALUES (1, N'Driving')
GO
INSERT [dbo].[TMaxTrainCurrentType] ([TMaxTrainCurrentTypeId], [Value]) VALUES (2, N'Standstill')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TMaxTrainCurrentValidFor] ([TMaxTrainCurrentValidForId], [Value]) VALUES (1, N'Train')
GO
INSERT [dbo].[TMaxTrainCurrentValidFor] ([TMaxTrainCurrentValidForId], [Value]) VALUES (2, N'Pantograph')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TMileageChangeDescr] ([TMileageChangeDescrId], [Value]) VALUES (1, N'Overlapping')
GO
INSERT [dbo].[TMileageChangeDescr] ([TMileageChangeDescrId], [Value]) VALUES (2, N'Missing')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TOcpCenterSide] ([TOcpCenterSideId], [Value]) VALUES (1, N'Left')
GO
INSERT [dbo].[TOcpCenterSide] ([TOcpCenterSideId], [Value]) VALUES (2, N'Right')
GO
INSERT [dbo].[TOcpCenterSide] ([TOcpCenterSideId], [Value]) VALUES (3, N'Above')
GO
INSERT [dbo].[TOcpCenterSide] ([TOcpCenterSideId], [Value]) VALUES (4, N'Below')
GO
INSERT [dbo].[TOcpCenterSide] ([TOcpCenterSideId], [Value]) VALUES (5, N'Ahead')
GO
INSERT [dbo].[TOcpCenterSide] ([TOcpCenterSideId], [Value]) VALUES (6, N'Behind')
GO
INSERT [dbo].[TOcpCenterSide] ([TOcpCenterSideId], [Value]) VALUES (7, N'None')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TSide] ([TSideId], [Value]) VALUES (1, N'Left')
GO
INSERT [dbo].[TSide] ([TSideId], [Value]) VALUES (2, N'Right')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TBaliseLinkReaction] ([TBaliseLinkReactionId], [Value]) VALUES (1, N'TrainTrip')
GO
INSERT [dbo].[TBaliseLinkReaction] ([TBaliseLinkReactionId], [Value]) VALUES (2, N'ApplyServiceBrake')
GO
INSERT [dbo].[TBaliseLinkReaction] ([TBaliseLinkReactionId], [Value]) VALUES (3, N'NoReaction')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TPosInTrack] ([TPosInTrackId], [Value]) VALUES (1, N'Center')
GO
INSERT [dbo].[TPosInTrack] ([TPosInTrackId], [Value]) VALUES (2, N'LeftRail')
GO
INSERT [dbo].[TPosInTrack] ([TPosInTrackId], [Value]) VALUES (3, N'LeftRailInside')
GO
INSERT [dbo].[TPosInTrack] ([TPosInTrackId], [Value]) VALUES (4, N'LeftRailOutside')
GO
INSERT [dbo].[TPosInTrack] ([TPosInTrackId], [Value]) VALUES (5, N'RightRail')
GO
INSERT [dbo].[TPosInTrack] ([TPosInTrackId], [Value]) VALUES (6, N'RightRailInside')
GO
INSERT [dbo].[TPosInTrack] ([TPosInTrackId], [Value]) VALUES (7, N'RightRailOutside')
GO
INSERT [dbo].[TPosInTrack] ([TPosInTrackId], [Value]) VALUES (8, N'Outside')
GO
INSERT [dbo].[TPosInTrack] ([TPosInTrackId], [Value]) VALUES (9, N'OutsideLeft')
GO
INSERT [dbo].[TPosInTrack] ([TPosInTrackId], [Value]) VALUES (10, N'OutsideRight')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TInsulatedRailSide] ([TInsulatedRailSideId], [Value]) VALUES (1, N'None')
GO
INSERT [dbo].[TInsulatedRailSide] ([TInsulatedRailSideId], [Value]) VALUES (2, N'Left')
GO
INSERT [dbo].[TInsulatedRailSide] ([TInsulatedRailSideId], [Value]) VALUES (3, N'Right')
GO
INSERT [dbo].[TInsulatedRailSide] ([TInsulatedRailSideId], [Value]) VALUES (4, N'Both')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TDerailKind] ([TDerailKindId], [Value]) VALUES (1, N'BlockDerail')
GO
INSERT [dbo].[TDerailKind] ([TDerailKindId], [Value]) VALUES (2, N'SingleCatchPoints')
GO
INSERT [dbo].[TDerailKind] ([TDerailKindId], [Value]) VALUES (3, N'DoubleCatchPoints')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TSpeedRangeType] ([TSpeedRangeTypeId], [Value]) VALUES (1, N'Dontcare')
GO
INSERT [dbo].[TSpeedRangeType] ([TSpeedRangeTypeId], [Value]) VALUES (2, N'Slow')
GO
INSERT [dbo].[TSpeedRangeType] ([TSpeedRangeTypeId], [Value]) VALUES (3, N'Fast')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TLoadSwitch] ([TLoadSwitchId], [Value]) VALUES (1, N'Empty')
GO
INSERT [dbo].[TLoadSwitch] ([TLoadSwitchId], [Value]) VALUES (2, N'Full')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TCabPositionType] ([TCabPositionTypeId], [Value]) VALUES (1, N'None')
GO
INSERT [dbo].[TCabPositionType] ([TCabPositionTypeId], [Value]) VALUES (2, N'Front')
GO
INSERT [dbo].[TCabPositionType] ([TCabPositionTypeId], [Value]) VALUES (3, N'Middle')
GO
INSERT [dbo].[TCabPositionType] ([TCabPositionTypeId], [Value]) VALUES (4, N'Rear')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TEndPositionType] ([TEndPositionTypeId], [Value]) VALUES (1, N'Both')
GO
INSERT [dbo].[TEndPositionType] ([TEndPositionTypeId], [Value]) VALUES (2, N'Front')
GO
INSERT [dbo].[TEndPositionType] ([TEndPositionTypeId], [Value]) VALUES (3, N'Rear')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TRelatedPositionType] ([TRelatedPositionTypeId], [Value]) VALUES (1, N'None')
GO
INSERT [dbo].[TRelatedPositionType] ([TRelatedPositionTypeId], [Value]) VALUES (2, N'Aside')
GO
INSERT [dbo].[TRelatedPositionType] ([TRelatedPositionTypeId], [Value]) VALUES (3, N'Ontop')
GO
INSERT [dbo].[TRelatedPositionType] ([TRelatedPositionTypeId], [Value]) VALUES (4, N'Below')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TSpecialServiceType] ([TSpecialServiceTypeId], [Value]) VALUES (1, N'Include')
GO
INSERT [dbo].[TSpecialServiceType] ([TSpecialServiceTypeId], [Value]) VALUES (2, N'Exclude')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TTrainType] ([TTrainTypeId], [Value]) VALUES (1, N'Operational')
GO
INSERT [dbo].[TTrainType] ([TTrainTypeId], [Value]) VALUES (2, N'Commercial')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TTrainScope] ([TTrainScopeId], [Value]) VALUES (1, N'Primary')
GO
INSERT [dbo].[TTrainScope] ([TTrainScopeId], [Value]) VALUES (2, N'Secondary')
GO
INSERT [dbo].[TTrainScope] ([TTrainScopeId], [Value]) VALUES (3, N'SecondaryStart')
GO
INSERT [dbo].[TTrainScope] ([TTrainScopeId], [Value]) VALUES (4, N'SecondaryEnd')
GO
INSERT [dbo].[TTrainScope] ([TTrainScopeId], [Value]) VALUES (5, N'SecondaryInner')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TOcpTTType] ([TOcpTTTypeId], [Value]) VALUES (1, N'Stop')
GO
INSERT [dbo].[TOcpTTType] ([TOcpTTTypeId], [Value]) VALUES (2, N'Pass')
GO
INSERT [dbo].[TOcpTTType] ([TOcpTTTypeId], [Value]) VALUES (3, N'Begin')
GO
INSERT [dbo].[TOcpTTType] ([TOcpTTTypeId], [Value]) VALUES (4, N'End')
GO
USE [RailML_3_1]
GO
INSERT [dbo].[TOnOff] ([TOnOffId], [Value]) VALUES (1, N'Both')
GO
INSERT [dbo].[TOnOff] ([TOnOffId], [Value]) VALUES (2, N'On')
GO
INSERT [dbo].[TOnOff] ([TOnOffId], [Value]) VALUES (3, N'Off')
GO
GO
|
library NoninvasiveTestsofCarotidFunction
using FHIR
include FHIRHelpers version '1.8' called FHIRHelpers
//include otherLibrary version 'x.x' called otherLibrary
//codesystem codeSystemName : 'OID' version 'x.x'
//valueset valuesetName : 'OID' version 'x.x' codesystems{codeSystem1 , codeSystem2, etc}
//code codeName : 'OID' from codeSystemName display 'displayName'
//concept conceptName : {codeName1, codeName2, etc} display 'displayName'
//parameter parameterName (dataType or default value)
codesystem "SNOMEDCT": 'http://snomed.info/sct'
codesystem "HCPCS": 'https://hcpcs.codes/'
codesystem "ICD9CM": 'https://www.cdc.gov/nchs/icd/icd9.htm'
codesystem "RXNORM": 'https://www.nlm.nih.gov/research/umls/rxnorm/'
codesystem "ICD10CM": '2.16.840.1.113883.6.90'
codesystem "NUCCPT":''
//Carotid phonoangiography
valueset "On examination - carotid bruit (finding)": '2.16.840.1.113883.3.88.12.3221.7.4'
valueset "Doppler flow mapping of head and neck (procedure)": '2.16.840.1.113883.3.88.12.80.28'
valueset "Ophthalmodynamometry (procedure)": '2.16.840.1.113883.3.88.12.80.28'
valueset "Ocular plethysmography (procedure)": '2.16.840.1.113883.172.16.31.10.28'
//Spectral Bruit Analysis
valueset "Diagnostic ultrasonography (procedure)": '2.16.840.1.113883.3.88.12.80.28'
//B-Scan and Doppler Devices
//Periorbital Directional Doppler Ultrasonography
parameter MeasurementPeriod default @1980-11-15T00:00:00.0
context Patient
define "Direct Test":
(exists ([Observation: "On examination - carotid bruit (finding)"])
or ( exists ([Procedure: "Doppler flow mapping of head and neck (procedure)"]P
where P.performed during MeasurementPeriod) )
or ( exists ([Procedure: "Diagnostic ultrasonography (procedure)"]D
where D.performed during MeasurementPeriod))
)
define "InDirect Test":
( exists ([Procedure: "Ophthalmodynamometry (procedure)"]O
where O.performed during MeasurementPeriod)
or ( exists ([Procedure: "Ocular plethysmography (procedure)"]S
where S.performed during MeasurementPeriod) )
)
define "Coverage":
"Direct Test" or "InDirect Test"
|
-------------------------------------------------------------------------------
-- plm component
-------------------------------------------------------------------------------
CREATE TABLE PLM_COMPONENT(
ID BIGINT NOT NULL,
NAME VARCHAR(200),
STATUS VARCHAR(50),
CREATE_TIME DATETIME,
USER_ID VARCHAR(64),
PRIORITY INT,
PROJECT_ID BIGINT,
CONSTRAINT PK_PLM_COMPONENT PRIMARY KEY(ID),
CONSTRAINT FK_PIM_COMPONENT_PROJECT FOREIGN KEY(PROJECT_ID) REFERENCES PLM_PROJECT(ID)
) ENGINE=INNODB CHARSET=UTF8;
|
drop table if exists Ingredient;
drop sequence if exists INGREDIENT_SEQ;
create sequence INGREDIENT_SEQ start with 1 increment by 1;
create table Ingredient (
id bigint not null,
name varchar(255),
kcal double precision not null,
fat double precision not null,
cholesterol double precision not null,
protein double precision not null,
salt double precision not null
);
INSERT INTO Ingredient (id, name, kcal, fat, cholesterol, protein, salt) values ( nextval('INGREDIENT_SEQ'), 'chocolat', 2, 5, 3, 2, 1);
INSERT INTO Ingredient (id, name, kcal, fat, cholesterol, protein, salt) values ( nextval('INGREDIENT_SEQ'), 'amande', 3, 2, 1.7, 3, 2);
INSERT INTO Ingredient (id, name, kcal, fat, cholesterol, protein, salt) values ( nextval('INGREDIENT_SEQ'), 'noix', 3, 5, 4, 2, 3);
INSERT INTO Ingredient (id, name, kcal, fat, cholesterol, protein, salt) values ( nextval('INGREDIENT_SEQ'), 'pate', 4.1, 2, 2, 4, 1);
INSERT INTO Ingredient (id, name, kcal, fat, cholesterol, protein, salt) values ( nextval('INGREDIENT_SEQ'), 'sucre', 10, 5.3, 3, 2, 1);
INSERT INTO Ingredient (id, name, kcal, fat, cholesterol, protein, salt) values ( nextval('INGREDIENT_SEQ'), 'sel', 3, 2, 1, 3, 2);
INSERT INTO Ingredient (id, name, kcal, fat, cholesterol, protein, salt) values ( nextval('INGREDIENT_SEQ'), 'fajitas', 3, 5, 4, 2, 3);
INSERT INTO Ingredient (id, name, kcal, fat, cholesterol, protein, salt) values ( nextval('INGREDIENT_SEQ'), 'tofu', 4, 2, 2, 4, 1);
INSERT INTO Ingredient (id, name, kcal, fat, cholesterol, protein, salt) values ( nextval('INGREDIENT_SEQ'), 'salade', 2, 5, 3, 2, 1);
INSERT INTO Ingredient (id, name, kcal, fat, cholesterol, protein, salt) values ( nextval('INGREDIENT_SEQ'), 'tomates', 3, 2, 1, 3, 2);
INSERT INTO Ingredient (id, name, kcal, fat, cholesterol, protein, salt) values ( nextval('INGREDIENT_SEQ'), 'pain', 3, 5, 4, 2, 3);
INSERT INTO Ingredient (id, name, kcal, fat, cholesterol, protein, salt) values ( nextval('INGREDIENT_SEQ'), 'chocolat noir', 4, 2, 2, 4, 1);
INSERT INTO Ingredient (id, name, kcal, fat, cholesterol, protein, salt) values ( nextval('INGREDIENT_SEQ'), 'guacamole', 2, 5, 3, 2, 1);
|
/*
Navicat MySQL Data Transfer
Source Server : 佳萌
Source Server Version : 50718
Source Host : majiameng.com:3306
Source Database : mengphp
Target Server Type : MYSQL
Target Server Version : 50718
File Encoding : 65001
Date: 2017-11-03 17:45:28
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for meng_admin_annex
-- ----------------------------
DROP TABLE IF EXISTS `meng_admin_annex`;
CREATE TABLE `meng_admin_annex` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`data_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '关联的数据ID',
`type` varchar(20) NOT NULL DEFAULT '' COMMENT '类型',
`group` varchar(100) NOT NULL DEFAULT 'sys' COMMENT '文件分组',
`file` varchar(255) NOT NULL COMMENT '上传文件',
`hash` varchar(64) NOT NULL COMMENT '文件hash值',
`size` decimal(12,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '附件大小KB',
`status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '使用状态(0未使用,1已使用)',
`ctime` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `hash` (`hash`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='[系统] 上传附件';
-- ----------------------------
-- Records of meng_admin_annex
-- ----------------------------
-- ----------------------------
-- Table structure for meng_admin_annex_group
-- ----------------------------
DROP TABLE IF EXISTS `meng_admin_annex_group`;
CREATE TABLE `meng_admin_annex_group` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL COMMENT '附件分组',
`count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '附件数量',
`size` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '附件大小kb',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='[系统] 附件分组';
-- ----------------------------
-- Records of meng_admin_annex_group
-- ----------------------------
INSERT INTO `meng_admin_annex_group` VALUES ('1', 'sys', '0', '0.00');
-- ----------------------------
-- Table structure for meng_admin_config
-- ----------------------------
DROP TABLE IF EXISTS `meng_admin_config`;
CREATE TABLE `meng_admin_config` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`system` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否为系统配置(1是,0否)',
`group` varchar(20) NOT NULL DEFAULT 'base' COMMENT '分组',
`title` varchar(20) NOT NULL COMMENT '配置标题',
`name` varchar(50) NOT NULL COMMENT '配置名称,由英文字母和下划线组成',
`value` text NOT NULL COMMENT '配置值',
`type` varchar(20) NOT NULL DEFAULT 'input' COMMENT '配置类型()',
`options` text NOT NULL COMMENT '配置项(选项名:选项值)',
`url` varchar(255) NOT NULL DEFAULT '' COMMENT '文件上传接口',
`tips` varchar(255) NOT NULL COMMENT '配置提示',
`sort` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '排序',
`status` tinyint(1) unsigned NOT NULL COMMENT '状态',
`ctime` int(10) unsigned NOT NULL DEFAULT '0',
`mtime` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=utf8 COMMENT='[系统] 系统配置';
-- ----------------------------
-- Records of meng_admin_config
-- ----------------------------
INSERT INTO `meng_admin_config` VALUES ('1', '1', 'sys', '扩展配置分组', 'config_group', '', 'array', ' ', '', '请按如下格式填写:<br>键值:键名<br>键值:键名<br><span style="color:#f00">键值只能为英文、数字、下划线</span>', '1', '1', '1492140215', '1492140215');
INSERT INTO `meng_admin_config` VALUES ('13', '1', 'base', '网站域名', 'site_domain', 'http://majiameng.com', 'input', '', '', '', '2', '1', '1492140215', '1492140215');
INSERT INTO `meng_admin_config` VALUES ('14', '1', 'upload', '图片上传大小限制', 'upload_image_size', '0', 'input', '', '', '单位:KB,0表示不限制大小', '3', '1', '1490841797', '1491040778');
INSERT INTO `meng_admin_config` VALUES ('15', '1', 'upload', '允许上传图片格式', 'upload_image_ext', 'jpg,png,gif,jpeg,ico', 'input', '', '', '多个格式请用英文逗号(,)隔开', '4', '1', '1490842130', '1491040778');
INSERT INTO `meng_admin_config` VALUES ('16', '1', 'upload', '缩略图裁剪方式', 'thumb_type', '2', 'select', '1:等比例缩放\r\n2:缩放后填充\r\n3:居中裁剪\r\n4:左上角裁剪\r\n5:右下角裁剪\r\n6:固定尺寸缩放\r\n', '', '', '5', '1', '1490842450', '1491040778');
INSERT INTO `meng_admin_config` VALUES ('17', '1', 'upload', '图片水印开关', 'image_watermark', '1', 'switch', '0:关\r\n1:开', '', '', '6', '1', '1490842583', '1491040778');
INSERT INTO `meng_admin_config` VALUES ('18', '1', 'upload', '图片水印图', 'image_watermark_pic', '/my/meng/upload/sys/image/c0/41d1e1d1aa17fe125d237a877a1276.png', 'image', '', '', '', '7', '1', '1490842679', '1491040778');
INSERT INTO `meng_admin_config` VALUES ('19', '1', 'upload', '图片水印透明度', 'image_watermark_opacity', '50', 'input', '', '', '可设置值为0~100,数字越小,透明度越高', '8', '1', '1490857704', '1491040778');
INSERT INTO `meng_admin_config` VALUES ('20', '1', 'upload', '图片水印图位置', 'image_watermark_location', '9', 'select', '7:左下角\r\n1:左上角\r\n4:左居中\r\n9:右下角\r\n3:右上角\r\n6:右居中\r\n2:上居中\r\n8:下居中\r\n5:居中', '', '', '9', '1', '1490858228', '1491040778');
INSERT INTO `meng_admin_config` VALUES ('21', '1', 'upload', '文件上传大小限制', 'upload_file_size', '0', 'input', '', '', '单位:KB,0表示不限制大小', '1', '1', '1490859167', '1491040778');
INSERT INTO `meng_admin_config` VALUES ('22', '1', 'upload', '允许上传文件格式', 'upload_file_ext', 'doc,docx,xls,xlsx,ppt,pptx,pdf,wps,txt,rar,zip', 'input', '', '', '多个格式请用英文逗号(,)隔开', '2', '1', '1490859246', '1491040778');
INSERT INTO `meng_admin_config` VALUES ('23', '1', 'upload', '文字水印开关', 'text_watermark', '0', 'switch', '0:关\r\n1:开', '', '', '10', '1', '1490860872', '1491040778');
INSERT INTO `meng_admin_config` VALUES ('24', '1', 'upload', '文字水印内容', 'text_watermark_content', '', 'input', '', '', '', '11', '1', '1490861005', '1491040778');
INSERT INTO `meng_admin_config` VALUES ('25', '1', 'upload', '文字水印字体', 'text_watermark_font', '', 'file', '', '', '不上传将使用系统默认字体', '12', '1', '1490861117', '1491040778');
INSERT INTO `meng_admin_config` VALUES ('26', '1', 'upload', '文字水印字体大小', 'text_watermark_size', '20', 'input', '', '', '单位:px(像素)', '13', '1', '1490861204', '1491040778');
INSERT INTO `meng_admin_config` VALUES ('27', '1', 'upload', '文字水印颜色', 'text_watermark_color', '#000000', 'input', '', '', '文字水印颜色,格式:#000000', '14', '1', '1490861482', '1491040778');
INSERT INTO `meng_admin_config` VALUES ('28', '1', 'upload', '文字水印位置', 'text_watermark_location', '1', 'select', '7:左下角\r\n1:左上角\r\n4:左居中\r\n9:右下角\r\n3:右上角\r\n6:右居中\r\n2:上居中\r\n8:下居中\r\n5:居中', '', '', '11', '1', '1490861718', '1491040778');
INSERT INTO `meng_admin_config` VALUES ('29', '1', 'upload', '缩略图尺寸', 'thumb_size', '300x300;500x500', 'input', '', '', '为空则不生成,生成 500x500 的缩略图,则填写 500x500,多个规格填写参考 300x300;500x500;800x800', '4', '1', '1490947834', '1491040778');
INSERT INTO `meng_admin_config` VALUES ('30', '1', 'develop', '开发模式', 'app_debug', '1', 'switch', '0:关\r\n1:开', '', '', '0', '1', '1491005004', '1492093874');
INSERT INTO `meng_admin_config` VALUES ('31', '1', 'develop', '页面Trace', 'app_trace', '0', 'switch', '0:关\r\n1:开', '', '', '0', '1', '1491005081', '1492093874');
INSERT INTO `meng_admin_config` VALUES ('33', '1', 'sys', '富文本编辑器', 'editor', 'umeditor', 'select', 'ueditor:UEditor\r\numeditor:UMEditor\r\nkindeditor:KindEditor\r\nckeditor:CKEditor', '', '', '2', '1', '1491142648', '1492140215');
INSERT INTO `meng_admin_config` VALUES ('35', '1', 'databases', '备份目录', 'backup_path', './backup/database/', 'input', '', '', '数据库备份路径,路径必须以 / 结尾', '0', '1', '1491881854', '1491965974');
INSERT INTO `meng_admin_config` VALUES ('36', '1', 'databases', '备份分卷大小', 'part_size', '20971520', 'input', '', '', '用于限制压缩后的分卷最大长度。单位:B;建议设置20M', '0', '1', '1491881975', '1491965974');
INSERT INTO `meng_admin_config` VALUES ('37', '1', 'databases', '备份压缩开关', 'compress', '1', 'switch', '0:关\r\n1:开', '', '压缩备份文件需要PHP环境支持gzopen,gzwrite函数', '0', '1', '1491882038', '1491965974');
INSERT INTO `meng_admin_config` VALUES ('38', '1', 'databases', '备份压缩级别', 'compress_level', '4', 'radio', '1:最低\r\n4:一般\r\n9:最高', '', '数据库备份文件的压缩级别,该配置在开启压缩时生效', '0', '1', '1491882154', '1491965974');
INSERT INTO `meng_admin_config` VALUES ('39', '1', 'base', '网站状态', 'site_status', '1', 'switch', '0:关\r\n1:开', '', '站点关闭后将不能访问,后台可正常登录', '1', '1', '1492049460', '1494690024');
INSERT INTO `meng_admin_config` VALUES ('40', '1', 'sys', '后台管理路径', 'admin_path', 'admin.php', 'input', '', '', '必须以.php为后缀', '0', '1', '1492139196', '1492140215');
INSERT INTO `meng_admin_config` VALUES ('41', '1', 'base', '网站标题', 'site_title', 'MengPHP', 'input', '', '', '网站标题是体现一个网站的主旨,要做到主题突出、标题简洁、连贯等特点,建议不超过28个字', '6', '1', '1492502354', '1494695131');
INSERT INTO `meng_admin_config` VALUES ('42', '1', 'base', '网站关键词', 'site_keywords', 'mengphp,mengphp框架', 'input', '', '', '网页内容所包含的核心搜索关键词,多个关键字请用英文逗号","分隔', '7', '1', '1494690508', '1494690780');
INSERT INTO `meng_admin_config` VALUES ('43', '1', 'base', '网站描述', 'site_description', 'mengphp,mengphp框架', 'textarea', '', '', '网页的描述信息,搜索引擎采纳后,作为搜索结果中的页面摘要显示,建议不超过80个字', '8', '1', '1494690669', '1494691075');
INSERT INTO `meng_admin_config` VALUES ('44', '1', 'base', 'ICP备案信息', 'site_icp', '', 'input', '', '', '请填写ICP备案号,用于展示在网站底部,ICP备案官网:<a href="http://www.miibeian.gov.cn" target="_blank">http://www.miibeian.gov.cn</a>', '9', '1', '1494691721', '1494692046');
INSERT INTO `meng_admin_config` VALUES ('45', '1', 'base', '站点统计代码', 'site_statis', '', 'textarea', '', '', '第三方流量统计代码,前台调用时请先用 htmlspecialchars_decode函数转义输出', '10', '1', '1494691959', '1494694797');
INSERT INTO `meng_admin_config` VALUES ('46', '1', 'base', '网站名称', 'site_name', 'MengPHP', 'input', '', '', '将显示在浏览器窗口标题等位置', '3', '1', '1494692103', '1494694680');
INSERT INTO `meng_admin_config` VALUES ('47', '1', 'base', '网站LOGO', 'site_logo', '/static/image/logo.png', 'image', '', '', '网站LOGO图片', '4', '1', '1494692345', '1494693235');
INSERT INTO `meng_admin_config` VALUES ('48', '1', 'base', '网站图标', 'site_favicon', '/static/image/favicon.ico', 'image', '', '', '又叫网站收藏夹图标,它显示位于浏览器的地址栏或者标题前面,<strong class="red">.ico格式</strong>,<a href="https://www.baidu.com/s?ie=UTF-8&wd=favicon" target="_blank">点此了解网站图标</a>', '5', '1', '1494692781', '1494693966');
INSERT INTO `meng_admin_config` VALUES ('49', '1', 'base', '手机网站', 'wap_site_status', '1', 'switch', '0:关\r\n1:开', '', '如果有手机网站,请设置为开启状态,否则只显示PC网站', '2', '1', '1498405436', '1498405436');
INSERT INTO `meng_admin_config` VALUES ('50', '1', 'sys', '云端推送', 'cloud_push', '0', 'switch', '0:关\r\n1:开', '', '关闭之后,无法通过云端推送安装扩展', '3', '1', '1504250320', '1504250320');
INSERT INTO `meng_admin_config` VALUES ('51', '0', 'base', '手机网站域名', 'wap_domain', 'http://blog.majiameng.com', 'input', '', '', '手机访问将自动跳转至此域名', '2', '1', '1504304776', '1504304837');
INSERT INTO `meng_admin_config` VALUES ('52', '0', 'sys', '多语言支持', 'multi_language', '0', 'switch', '0:关\r\n1:开', '', '开启后你可以自由上传多种语言包', '4', '1', '1506532211', '1506532211');
-- ----------------------------
-- Table structure for meng_admin_language
-- ----------------------------
DROP TABLE IF EXISTS `meng_admin_language`;
CREATE TABLE `meng_admin_language` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL DEFAULT '' COMMENT '语言包名称',
`code` varchar(20) NOT NULL DEFAULT '' COMMENT '编码',
`locale` varchar(255) NOT NULL DEFAULT '' COMMENT '本地浏览器语言编码',
`icon` varchar(30) NOT NULL DEFAULT '' COMMENT '图标',
`pack` varchar(100) NOT NULL DEFAULT '' COMMENT '上传的语言包',
`sort` tinyint(2) unsigned NOT NULL DEFAULT '1',
`status` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `code` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='[系统] 语言包';
-- ----------------------------
-- Records of meng_admin_language
-- ----------------------------
INSERT INTO `meng_admin_language` VALUES ('1', '简体中文', 'zh-cn', 'zh-CN,zh-CN.UTF-8,zh-cn', '', '1', '1', '1');
-- ----------------------------
-- Table structure for meng_admin_log
-- ----------------------------
DROP TABLE IF EXISTS `meng_admin_log`;
CREATE TABLE `meng_admin_log` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`uid` int(10) unsigned NOT NULL DEFAULT '0',
`title` varchar(100) DEFAULT '',
`url` varchar(200) DEFAULT '',
`param` text,
`remark` varchar(255) DEFAULT '',
`count` int(10) unsigned NOT NULL DEFAULT '1',
`ip` varchar(128) DEFAULT '',
`ctime` int(10) unsigned NOT NULL DEFAULT '0',
`mtime` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=utf8 COMMENT='[系统] 操作日志';
-- ----------------------------
-- Records of meng_admin_log
-- ----------------------------
INSERT INTO `meng_admin_log` VALUES ('1', '1', '后台首页', 'admin/index/index', '[]', '浏览数据', '15', '0.0.0.0', '1509697766', '1509699654');
INSERT INTO `meng_admin_log` VALUES ('2', '1', '欢迎页面', 'admin/index/index_page', '[]', '浏览数据', '4', '0.0.0.0', '1509697768', '1509699655');
INSERT INTO `meng_admin_log` VALUES ('3', '1', '系统设置', 'admin/system/index', '[]', '浏览数据', '16', '0.0.0.0', '1509697855', '1509700900');
INSERT INTO `meng_admin_log` VALUES ('4', '1', '[示例]列表模板', 'admin/develop/lists', '[]', '浏览数据', '4', '0.0.0.0', '1509697942', '1509700366');
INSERT INTO `meng_admin_log` VALUES ('5', '1', '系统配置', 'admin/system/index', '{\"group\":\"sys\"}', '浏览数据', '24', '0.0.0.0', '1509698146', '1509699838');
INSERT INTO `meng_admin_log` VALUES ('6', '1', '上传配置', 'admin/system/index', '{\"group\":\"upload\"}', '浏览数据', '9', '0.0.0.0', '1509698161', '1509700937');
INSERT INTO `meng_admin_log` VALUES ('7', '1', '开发配置', 'admin/system/index', '{\"group\":\"develop\"}', '浏览数据', '5', '0.0.0.0', '1509698167', '1509699396');
INSERT INTO `meng_admin_log` VALUES ('8', '1', '数据库配置', 'admin/system/index', '{\"group\":\"databases\"}', '浏览数据', '5', '0.0.0.0', '1509698169', '1509699399');
INSERT INTO `meng_admin_log` VALUES ('9', '1', '基础配置', 'admin/system/index', '{\"group\":\"base\"}', '浏览数据', '4', '0.0.0.0', '1509698172', '1509699510');
INSERT INTO `meng_admin_log` VALUES ('10', '1', '配置管理', 'admin/config/index', '[]', '浏览数据', '6', '0.0.0.0', '1509698788', '1509700049');
INSERT INTO `meng_admin_log` VALUES ('11', '1', '配置管理', 'admin/config/index', '{\"group\":\"sys\"}', '浏览数据', '1', '0.0.0.0', '1509698793', '1509698793');
INSERT INTO `meng_admin_log` VALUES ('12', '1', '配置管理', 'admin/config/index', '{\"group\":\"upload\"}', '浏览数据', '2', '0.0.0.0', '1509698795', '1509699877');
INSERT INTO `meng_admin_log` VALUES ('13', '1', '配置管理', 'admin/config/index', '{\"group\":\"develop\"}', '浏览数据', '1', '0.0.0.0', '1509698797', '1509698797');
INSERT INTO `meng_admin_log` VALUES ('14', '1', '附件上传', 'admin/annex/upload', '{\"thumb\":\"no\",\"water\":\"no\"}', '保存数据', '1', '0.0.0.0', '1509698845', '1509698845');
INSERT INTO `meng_admin_log` VALUES ('15', '1', '上传配置', 'admin/system/index', '{\"id\":{\"upload_file_size\":\"0\",\"upload_file_ext\":\"doc,docx,xls,xlsx,ppt,pptx,pdf,wps,txt,rar,zip\",\"upload_image_size\":\"0\",\"upload_image_ext\":\"jpg,png,gif,jpeg,ico\",\"thumb_size\":\"300x300;500x500\",\"thumb_type\":\"2\",\"image_watermark\":\"1\",\"image_watermark_pic\":\"\\/my\\/meng\\/upload\\/sys\\/image\\/c0\\/41d1e1d1aa17fe125d237a877a1276.png\",\"image_watermark_opacity\":\"50\",\"image_watermark_location\":\"9\",\"text_watermark_content\":\"\",\"text_watermark_location\":\"7\",\"text_watermark_font\":\"\",\"text_watermark_size\":\"20\",\"text_watermark_color\":\"#000000\"},\"type\":{\"upload_file_size\":\"input\",\"upload_file_ext\":\"input\",\"upload_image_size\":\"input\",\"upload_image_ext\":\"input\",\"thumb_size\":\"input\",\"thumb_type\":\"select\",\"image_watermark\":\"switch\",\"image_watermark_pic\":\"image\",\"image_watermark_opacity\":\"input\",\"image_watermark_location\":\"select\",\"text_watermark\":\"switch\",\"text_watermark_content\":\"input\",\"text_watermark_location\":\"select\",\"text_watermark_font\":\"file\",\"text_watermark_size\":\"input\",\"text_watermark_color\":\"input\"},\"group\":\"upload\"}', '保存数据', '1', '0.0.0.0', '1509698848', '1509698848');
INSERT INTO `meng_admin_log` VALUES ('16', '1', '[示例]编辑模板', 'admin/develop/edit', '[]', '浏览数据', '4', '0.0.0.0', '1509698857', '1509700376');
INSERT INTO `meng_admin_log` VALUES ('17', '1', '附件上传', 'admin/annex/upload', '{\"action\":\"config\",\"noCache\":\"1509698860005\",\"thumb\":\"no\",\"from\":\"ueditor\"}', '浏览数据', '1', '0.0.0.0', '1509698860', '1509698860');
INSERT INTO `meng_admin_log` VALUES ('18', '1', '附件上传', 'admin/annex/upload', '{\"action\":\"config\",\"noCache\":\"1509698860006\",\"thumb\":\"no\",\"from\":\"ueditor\"}', '浏览数据', '1', '0.0.0.0', '1509698862', '1509698862');
INSERT INTO `meng_admin_log` VALUES ('19', '1', '附件上传', 'admin/annex/upload', '{\"action\":\"uploadimage\",\"thumb\":\"no\",\"from\":\"ueditor\"}', '保存数据', '1', '0.0.0.0', '1509698880', '1509698880');
INSERT INTO `meng_admin_log` VALUES ('20', '1', '数据库配置', 'admin/system/index', '{\"id\":{\"backup_path\":\".\\/backup\\/database\\/\",\"part_size\":\"20971520\",\"compress\":\"1\",\"compress_level\":\"4\"},\"type\":{\"backup_path\":\"input\",\"part_size\":\"input\",\"compress\":\"switch\",\"compress_level\":\"radio\"},\"group\":\"databases\"}', '保存数据', '1', '0.0.0.0', '1509698945', '1509698945');
INSERT INTO `meng_admin_log` VALUES ('21', '1', '会员等级', 'admin/member/level', '[]', '浏览数据', '4', '0.0.0.0', '1509699811', '1509700155');
INSERT INTO `meng_admin_log` VALUES ('22', '1', '修改配置', 'admin/config/edit', '{\"id\":\"39\"}', '浏览数据', '1', '0.0.0.0', '1509699865', '1509699865');
INSERT INTO `meng_admin_log` VALUES ('23', '1', '配置管理', 'admin/config/index', '{\"group\":\"databases\"}', '浏览数据', '1', '0.0.0.0', '1509699883', '1509699883');
INSERT INTO `meng_admin_log` VALUES ('24', '1', '系统菜单', 'admin/menu/index', '[]', '浏览数据', '7', '0.0.0.0', '1509699890', '1509700051');
INSERT INTO `meng_admin_log` VALUES ('25', '1', '状态设置', 'admin/menu/status', '{\"val\":\"0\",\"table\":\"admin_menu\",\"ids\":\"6\"}', '浏览数据', '1', '0.0.0.0', '1509700020', '1509700020');
INSERT INTO `meng_admin_log` VALUES ('26', '1', '状态设置', 'admin/menu/status', '{\"val\":\"1\",\"table\":\"admin_menu\",\"ids\":\"6\"}', '浏览数据', '1', '0.0.0.0', '1509700024', '1509700024');
INSERT INTO `meng_admin_log` VALUES ('27', '1', '系统管理员', 'admin/user/index', '[]', '浏览数据', '3', '0.0.0.0', '1509700058', '1509700080');
INSERT INTO `meng_admin_log` VALUES ('28', '1', '管理员角色', 'admin/user/role', '[]', '浏览数据', '1', '0.0.0.0', '1509700064', '1509700064');
INSERT INTO `meng_admin_log` VALUES ('29', '1', '系统日志', 'admin/log/index', '{\"uid\":\"1\"}', '浏览数据', '1', '0.0.0.0', '1509700096', '1509700096');
INSERT INTO `meng_admin_log` VALUES ('30', '1', '数据库管理', 'admin/database/index', '[]', '浏览数据', '2', '0.0.0.0', '1509700148', '1509700150');
INSERT INTO `meng_admin_log` VALUES ('31', '1', '会员列表', 'admin/member/index', '[]', '浏览数据', '3', '0.0.0.0', '1509700180', '1509700358');
INSERT INTO `meng_admin_log` VALUES ('32', '1', '修改会员', 'admin/member/edit', '{\"id\":\"1000000\"}', '浏览数据', '2', '0.0.0.0', '1509700197', '1509700327');
INSERT INTO `meng_admin_log` VALUES ('33', '1', '附件上传', 'admin/annex/upload', '{\"action\":\"config\",\"noCache\":\"1509700377484\",\"thumb\":\"no\",\"from\":\"ueditor\"}', '浏览数据', '1', '0.0.0.0', '1509700378', '1509700378');
INSERT INTO `meng_admin_log` VALUES ('34', '1', '附件上传', 'admin/annex/upload', '{\"action\":\"config\",\"noCache\":\"1509700377610\",\"thumb\":\"no\",\"from\":\"ueditor\"}', '浏览数据', '1', '0.0.0.0', '1509700379', '1509700379');
INSERT INTO `meng_admin_log` VALUES ('35', '1', '附件上传', 'admin/annex/upload', '[]', '保存数据', '1', '0.0.0.0', '1509700870', '1509700870');
INSERT INTO `meng_admin_log` VALUES ('36', '1', '上传配置', 'admin/system/index', '{\"id\":{\"upload_file_size\":\"0\",\"upload_file_ext\":\"doc,docx,xls,xlsx,ppt,pptx,pdf,wps,txt,rar,zip\",\"upload_image_size\":\"0\",\"upload_image_ext\":\"jpg,png,gif,jpeg,ico\",\"thumb_size\":\"300x300;500x500\",\"thumb_type\":\"2\",\"image_watermark\":\"1\",\"image_watermark_pic\":\"\\/my\\/meng\\/upload\\/sys\\/image\\/c0\\/41d1e1d1aa17fe125d237a877a1276.png\",\"image_watermark_opacity\":\"50\",\"image_watermark_location\":\"9\",\"text_watermark_content\":\"\",\"text_watermark_location\":\"1\",\"text_watermark_font\":\"\",\"text_watermark_size\":\"20\",\"text_watermark_color\":\"#000000\"},\"type\":{\"upload_file_size\":\"input\",\"upload_file_ext\":\"input\",\"upload_image_size\":\"input\",\"upload_image_ext\":\"input\",\"thumb_size\":\"input\",\"thumb_type\":\"select\",\"image_watermark\":\"switch\",\"image_watermark_pic\":\"image\",\"image_watermark_opacity\":\"input\",\"image_watermark_location\":\"select\",\"text_watermark\":\"switch\",\"text_watermark_content\":\"input\",\"text_watermark_location\":\"select\",\"text_watermark_font\":\"file\",\"text_watermark_size\":\"input\",\"text_watermark_color\":\"input\"},\"group\":\"upload\"}', '保存数据', '1', '0.0.0.0', '1509700932', '1509700932');
-- ----------------------------
-- Table structure for meng_admin_member
-- ----------------------------
DROP TABLE IF EXISTS `meng_admin_member`;
CREATE TABLE `meng_admin_member` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`level_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '会员等级ID',
`nick` varchar(50) NOT NULL DEFAULT '' COMMENT '昵称',
`username` varchar(30) NOT NULL DEFAULT '' COMMENT '用户名',
`mobile` bigint(11) unsigned NOT NULL DEFAULT '0' COMMENT '手机号',
`email` varchar(50) NOT NULL DEFAULT '' COMMENT '邮箱',
`password` varchar(128) NOT NULL COMMENT '密码',
`money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '可用金额',
`frozen_money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '冻结金额',
`income` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '收入统计',
`expend` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '开支统计',
`exper` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '经验值',
`integral` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '积分',
`frozen_integral` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '冻结积分',
`sex` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '性别(1男,0女)',
`avatar` varchar(255) NOT NULL DEFAULT '' COMMENT '头像',
`last_login_ip` varchar(128) NOT NULL DEFAULT '' COMMENT '最后登陆IP',
`last_login_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '最后登陆时间',
`login_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '登陆次数',
`expire_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '到期时间(0永久)',
`status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '状态(0禁用,1正常)',
`ctime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1000001 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='[系统] 会员表';
-- ----------------------------
-- Records of meng_admin_member
-- ----------------------------
INSERT INTO `meng_admin_member` VALUES ('1000000', '1', '', 'test', '0', '', '$2y$10$WC0mMyErW1u1JCLXDCbTIuagCceC/kKpjzvCf.cxrVKaxsrZLXrGe', '0.00', '0.00', '0.00', '0.00', '0', '0', '0', '1', '', '', '0', '0', '0', '1', '1493274686');
-- ----------------------------
-- Table structure for meng_admin_member_level
-- ----------------------------
DROP TABLE IF EXISTS `meng_admin_member_level`;
CREATE TABLE `meng_admin_member_level` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(80) NOT NULL COMMENT '等级名称',
`min_exper` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '最小经验值',
`max_exper` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '最大经验值',
`discount` int(2) unsigned NOT NULL DEFAULT '100' COMMENT '折扣率(%)',
`intro` varchar(255) NOT NULL COMMENT '等级简介',
`default` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '默认等级',
`expire` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '会员有效期(天)',
`status` tinyint(1) unsigned NOT NULL DEFAULT '1',
`ctime` int(10) unsigned NOT NULL DEFAULT '0',
`mtime` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='[系统] 会员等级';
-- ----------------------------
-- Records of meng_admin_member_level
-- ----------------------------
INSERT INTO `meng_admin_member_level` VALUES ('1', '普通用户', '0', '0', '100', '普通用户', '1', '0', '1', '1509614804', '1509690350');
INSERT INTO `meng_admin_member_level` VALUES ('2', '会员', '100', '1000', '95', '会员', '0', '31', '1', '1509614804', '1509690466');
INSERT INTO `meng_admin_member_level` VALUES ('3', '超级会员', '1000', '10000', '90', '超级会员', '0', '31', '1', '1509690443', '1509690443');
-- ----------------------------
-- Table structure for meng_admin_menu
-- ----------------------------
DROP TABLE IF EXISTS `meng_admin_menu`;
CREATE TABLE `meng_admin_menu` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uid` int(5) unsigned NOT NULL DEFAULT '0' COMMENT '管理员ID(快捷菜单专用)',
`pid` int(10) unsigned NOT NULL DEFAULT '0',
`module` varchar(20) NOT NULL COMMENT '模块名或插件名,插件名格式:plugins.插件名',
`controller` varchar(20) DEFAULT NULL,
`action` varchar(20) DEFAULT NULL,
`title` varchar(20) NOT NULL COMMENT '菜单标题',
`icon` varchar(80) NOT NULL DEFAULT 'aicon ai-shezhi' COMMENT '菜单图标',
`param` varchar(200) NOT NULL DEFAULT '' COMMENT '扩展参数',
`target` varchar(20) NOT NULL DEFAULT '_self' COMMENT '打开方式(_blank,_self)',
`sort` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '排序',
`debug` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '开发模式可见',
`system` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否为系统菜单,系统菜单不可删除',
`nav` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否为菜单显示,1显示0不显示',
`status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '状态1显示,0隐藏',
`ctime` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=140 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='[系统] 管理菜单';
-- ----------------------------
-- Records of meng_admin_menu
-- ----------------------------
INSERT INTO `meng_admin_menu` VALUES ('1', '0', '0', 'admin', null, null, '首页', 'fa fa-desktop', '', '_self', '1', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('2', '0', '0', 'admin', null, null, '系统', 'fa fa-desktop', '', '_self', '2', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('3', '0', '0', 'admin', null, null, '社区', 'fa fa-desktop', '', '_self', '3', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('4', '0', '1', 'admin', null, null, '快捷菜单', 'fa fa-desktop', '', '_self', '0', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('5', '0', '3', 'admin', null, null, '插件列表', 'fa fa-desktop', '', '_self', '0', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('6', '0', '2', 'admin', null, null, '系统功能', 'fa fa-cogs', '', '_self', '1', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('7', '0', '2', 'admin', null, null, '会员管理', 'fa fa-users', '', '_self', '2', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('9', '0', '2', 'admin', null, null, '开发专用', 'aicon ai-mokuaiguanli', '', '_self', '4', '1', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('10', '0', '6', 'admin', 'system', 'index', '系统设置', 'aicon ai-icon01', '', '_self', '1', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('11', '0', '6', 'admin', 'config', 'index', '配置管理', 'aicon ai-shezhi', '', '_self', '2', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('12', '0', '6', 'admin', 'menu', 'index', '系统菜单', 'typcn typcn-th-list', '', '_self', '3', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('13', '0', '6', 'admin', 'user', 'role', '管理员角色', 'fa fa-desktop', '', '_self', '4', '0', '1', '0', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('14', '0', '6', 'admin', 'user', 'index', '系统管理员', 'fa fa-desktop', '', '_self', '5', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('15', '0', '6', 'admin', 'log', 'index', '系统日志', 'fa fa-desktop', '', '_self', '6', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('16', '0', '6', 'admin', 'annex', 'index', '附件管理', 'fa fa-desktop', '', '_self', '7', '0', '1', '0', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('20', '0', '7', 'admin', 'member', 'level', '会员等级', 'fa fa-desktop', '', '_self', '1', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('21', '0', '7', 'admin', 'member', 'index', '会员列表', 'fa fa-desktop', '', '_self', '2', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('22', '0', '9', 'admin', 'develop', 'lists', '[示例]列表模板', 'fa fa-desktop', '', '_self', '1', '1', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('23', '0', '9', 'admin', 'develop', 'edit', '[示例]编辑模板', 'fa fa-desktop', '', '_self', '2', '1', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('24', '0', '4', 'admin', 'index', 'index', '后台首页', 'fa fa-desktop', '', '_self', '100', '0', '1', '0', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('25', '0', '4', 'admin', 'index', 'clear', '清空缓存', 'fa fa-desktop', '', '_self', '1', '0', '1', '0', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('26', '0', '12', 'admin', 'menu', 'add', '添加菜单', 'fa fa-desktop', '', '_self', '1', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('27', '0', '12', 'admin', 'menu', 'edit', '修改菜单', 'fa fa-desktop', '', '_self', '2', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('28', '0', '12', 'admin', 'menu', 'del', '删除菜单', 'fa fa-desktop', '', '_self', '3', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('29', '0', '12', 'admin', 'menu', 'status', '状态设置', 'fa fa-desktop', '', '_self', '4', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('30', '0', '12', 'admin', 'menu', 'sort', '排序设置', 'fa fa-desktop', '', '_self', '5', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('31', '0', '12', 'admin', 'menu', 'quick', '添加快捷菜单', 'fa fa-desktop', '', '_self', '6', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('32', '0', '12', 'admin', 'menu', 'export', '导出菜单', 'fa fa-desktop', '', '_self', '7', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('33', '0', '13', 'admin', 'user', 'addrole', '添加角色', 'fa fa-desktop', '', '_self', '1', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('34', '0', '13', 'admin', 'user', 'editrole', '修改角色', 'fa fa-desktop', '', '_self', '2', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('35', '0', '13', 'admin', 'user', 'delrole', '删除角色', 'fa fa-desktop', '', '_self', '3', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('36', '0', '13', 'admin', 'user', 'status', '状态设置', 'fa fa-desktop', '', '_self', '4', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('37', '0', '14', 'admin', 'user', 'adduser', '添加管理员', 'fa fa-desktop', '', '_self', '1', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('38', '0', '14', 'admin', 'user', 'edituser', '修改管理员', 'fa fa-desktop', '', '_self', '2', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('39', '0', '14', 'admin', 'user', 'deluser', '删除管理员', 'fa fa-desktop', '', '_self', '3', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('40', '0', '14', 'admin', 'user', 'status', '状态设置', 'fa fa-desktop', '', '_self', '4', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('41', '0', '14', 'admin', 'user', 'info', '个人信息设置', 'fa fa-desktop', '', '_self', '5', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('55', '0', '11', 'admin', 'config', 'add', '添加配置', 'fa fa-desktop', '', '_self', '1', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('56', '0', '11', 'admin', 'config', 'edit', '修改配置', 'fa fa-desktop', '', '_self', '2', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('57', '0', '11', 'admin', 'config', 'del', '删除配置', 'fa fa-desktop', '', '_self', '3', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('58', '0', '11', 'admin', 'config', 'status', '状态设置', '', '', '_self', '4', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('59', '0', '11', 'admin', 'config', 'sort', '排序设置', '', '', '_self', '5', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('60', '0', '10', 'admin', 'system', 'index', '基础配置', '', 'group=base', '_self', '1', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('61', '0', '10', 'admin', 'system', 'index', '系统配置', '', 'group=sys', '_self', '2', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('62', '0', '10', 'admin', 'system', 'index', '上传配置', '', 'group=upload', '_self', '3', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('63', '0', '10', 'admin', 'system', 'index', '开发配置', '', 'group=develop', '_self', '4', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('70', '0', '21', 'admin', 'member', 'add', '添加会员', '', '', '_self', '1', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('71', '0', '21', 'admin', 'member', 'edit', '修改会员', '', '', '_self', '2', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('72', '0', '21', 'admin', 'member', 'del', '删除会员', '', 'table=admin_member', '_self', '3', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('73', '0', '21', 'admin', 'member', 'status', '状态设置', '', '', '_self', '4', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('74', '0', '21', 'admin', 'member', 'pop', '[弹窗]会员选择', 'fa fa-desktop', '', '_self', '5', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('75', '0', '20', 'admin', 'member', 'addlevel', '添加会员等级', 'fa fa-desktop', '', '_self', '0', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('76', '0', '20', 'admin', 'member', 'editlevel', '修改会员等级', 'fa fa-desktop', '', '_self', '0', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('77', '0', '20', 'admin', 'member', 'dellevel', '删除会员等级', 'fa fa-desktop', '', '_self', '0', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('78', '0', '16', 'admin', 'annex', 'upload', '附件上传', 'fa fa-desktop', '', '_self', '1', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('79', '0', '16', 'admin', 'annex', 'del', '删除附件', 'fa fa-desktop', '', '_self', '2', '0', '1', '1', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('84', '0', '6', 'admin', 'database', 'index', '数据库管理', 'fa fa-desktop', '', '_self', '8', '0', '1', '1', '1', '1491461136');
INSERT INTO `meng_admin_menu` VALUES ('85', '0', '84', 'admin', 'database', 'export', '备份数据库', 'fa fa-desktop', '', '_self', '0', '0', '1', '1', '1', '1491461250');
INSERT INTO `meng_admin_menu` VALUES ('86', '0', '84', 'admin', 'database', 'import', '恢复数据库', 'fa fa-desktop', '', '_self', '0', '0', '1', '1', '1', '1491461315');
INSERT INTO `meng_admin_menu` VALUES ('87', '0', '84', 'admin', 'database', 'optimize', '优化数据库', 'fa fa-desktop', '', '_self', '0', '0', '1', '1', '1', '1491467000');
INSERT INTO `meng_admin_menu` VALUES ('88', '0', '84', 'admin', 'database', 'del', '删除备份', 'fa fa-desktop', '', '_self', '0', '0', '1', '1', '1', '1491467058');
INSERT INTO `meng_admin_menu` VALUES ('89', '0', '84', 'admin', 'database', 'repair', '修复数据库', 'fa fa-desktop', '', '_self', '0', '0', '1', '1', '1', '1491880879');
INSERT INTO `meng_admin_menu` VALUES ('90', '0', '21', 'admin', 'member', 'setdefault', '设置默认等级', 'fa fa-desktop', '', '_self', '0', '0', '1', '1', '1', '1491966585');
INSERT INTO `meng_admin_menu` VALUES ('91', '0', '10', 'admin', 'system', 'index', '数据库配置', 'fa fa-desktop', 'group=databases', '_self', '5', '0', '1', '1', '1', '1492072213');
INSERT INTO `meng_admin_menu` VALUES ('97', '0', '6', 'admin', 'language', 'index', '语言包管理', 'fa fa-desktop', '', '_self', '11', '0', '1', '0', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('98', '0', '97', 'admin', 'language', 'add', '添加语言包', 'fa fa-desktop', '', '_self', '100', '0', '1', '0', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('99', '0', '97', 'admin', 'language', 'edit', '修改语言包', 'fa fa-desktop', '', '_self', '100', '0', '1', '0', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('100', '0', '97', 'admin', 'language', 'del', '删除语言包', 'fa fa-desktop', '', '_self', '100', '0', '1', '0', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('101', '0', '97', 'admin', 'language', 'sort', '排序设置', 'fa fa-desktop', '', '_self', '100', '0', '1', '0', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('102', '0', '97', 'admin', 'language', 'status', '状态设置', 'fa fa-desktop', '', '_self', '100', '0', '1', '0', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('103', '0', '16', 'admin', 'annex', 'favicon', '收藏夹图标上传', 'fa fa-desktop', '', '_self', '3', '0', '1', '0', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('105', '0', '4', 'admin', 'index', 'index_page', '欢迎页面', 'fa fa-desktop', '', '_self', '100', '0', '1', '0', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('106', '0', '4', 'admin', 'user', 'iframe', '布局切换', 'fa fa-desktop', '', '_self', '100', '0', '1', '0', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('107', '0', '15', 'admin', 'log', 'del', '删除日志', 'fa fa-desktop', 'table=admin_log', '_self', '100', '0', '1', '0', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('108', '0', '15', 'admin', 'log', 'clear', '清空日志', 'fa fa-desktop', '', '_self', '100', '0', '1', '0', '1', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('109', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('110', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('111', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('112', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('113', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('114', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('115', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('116', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('117', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('118', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('119', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('120', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('121', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('122', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('123', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('124', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('125', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('126', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('127', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('128', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('129', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('130', '0', '4', 'admin', '', '', '预留占位', '', '', '_self', '100', '0', '1', '1', '0', '1490315067');
INSERT INTO `meng_admin_menu` VALUES ('138', '1', '4', 'admin', 'system', 'index', '系统设置', 'aicon ai-icon01', '', '_self', '1', '0', '0', '1', '1', '1509694177');
INSERT INTO `meng_admin_menu` VALUES ('139', '1', '4', 'admin', 'menu', 'index', '系统菜单', 'typcn typcn-th-list', '', '_self', '3', '0', '0', '1', '1', '1509694183');
-- ----------------------------
-- Table structure for meng_admin_menu_lang
-- ----------------------------
DROP TABLE IF EXISTS `meng_admin_menu_lang`;
CREATE TABLE `meng_admin_menu_lang` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`menu_id` int(11) unsigned NOT NULL DEFAULT '0',
`title` varchar(120) NOT NULL DEFAULT '' COMMENT '标题',
`lang` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '语言包',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=264 DEFAULT CHARSET=utf8 COMMENT='[系统] 菜单语言';
-- ----------------------------
-- Records of meng_admin_menu_lang
-- ----------------------------
INSERT INTO `meng_admin_menu_lang` VALUES ('131', '1', '首页', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('132', '2', '系统', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('133', '3', '插件', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('134', '4', '快捷菜单', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('135', '5', '插件列表', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('136', '6', '系统功能', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('137', '7', '会员管理', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('139', '9', '开发专用', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('140', '10', '系统设置', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('141', '11', '配置管理', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('142', '12', '系统菜单', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('143', '13', '管理员角色', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('144', '14', '系统管理员', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('145', '15', '系统日志', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('146', '16', '附件管理', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('150', '20', '会员等级', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('151', '21', '会员列表', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('152', '22', '[示例]列表模板', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('153', '23', '[示例]编辑模板', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('154', '24', '后台首页', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('155', '25', '清空缓存', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('156', '26', '添加菜单', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('157', '27', '修改菜单', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('158', '28', '删除菜单', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('159', '29', '状态设置', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('160', '30', '排序设置', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('161', '31', '添加快捷菜单', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('162', '32', '导出菜单', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('163', '33', '添加角色', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('164', '34', '修改角色', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('165', '35', '删除角色', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('166', '36', '状态设置', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('167', '37', '添加管理员', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('168', '38', '修改管理员', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('169', '39', '删除管理员', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('170', '40', '状态设置', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('171', '41', '个人信息设置', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('185', '55', '添加配置', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('186', '56', '修改配置', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('187', '57', '删除配置', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('188', '58', '状态设置', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('189', '59', '排序设置', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('190', '60', '基础配置', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('191', '61', '系统配置', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('192', '62', '上传配置', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('193', '63', '开发配置', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('200', '70', '添加会员', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('201', '71', '修改会员', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('202', '72', '删除会员', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('203', '73', '状态设置', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('204', '74', '[弹窗]会员选择', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('205', '75', '添加会员等级', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('206', '76', '修改会员等级', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('207', '77', '删除会员等级', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('208', '78', '附件上传', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('209', '79', '删除附件', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('214', '84', '数据库管理', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('215', '85', '备份数据库', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('216', '86', '恢复数据库', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('217', '87', '优化数据库', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('218', '88', '删除备份', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('219', '89', '修复数据库', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('220', '90', '设置默认等级', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('221', '91', '数据库配置', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('227', '97', '语言包管理', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('228', '98', '添加语言包', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('229', '99', '修改语言包', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('230', '100', '删除语言包', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('231', '101', '排序设置', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('232', '102', '状态设置', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('233', '103', '收藏夹图标上传', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('235', '105', '欢迎页面', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('236', '106', '布局切换', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('237', '107', '删除日志', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('238', '108', '清空日志', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('239', '109', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('240', '110', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('241', '111', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('242', '112', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('243', '113', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('244', '114', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('245', '115', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('246', '116', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('247', '117', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('248', '118', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('249', '119', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('250', '120', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('251', '121', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('252', '122', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('253', '123', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('254', '124', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('255', '125', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('256', '126', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('257', '127', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('258', '128', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('259', '129', '预留占位', '1');
INSERT INTO `meng_admin_menu_lang` VALUES ('260', '130', '预留占位', '1');
-- ----------------------------
-- Table structure for meng_admin_module
-- ----------------------------
DROP TABLE IF EXISTS `meng_admin_module`;
CREATE TABLE `meng_admin_module` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`system` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '系统模块',
`name` varchar(50) NOT NULL COMMENT '模块名(英文)',
`identifier` varchar(100) NOT NULL COMMENT '模块标识(模块名(字母).开发者标识.module)',
`title` varchar(50) NOT NULL COMMENT '模块标题',
`intro` varchar(255) NOT NULL COMMENT '模块简介',
`author` varchar(100) NOT NULL COMMENT '作者',
`icon` varchar(80) NOT NULL DEFAULT 'aicon ai-mokuaiguanli' COMMENT '图标',
`version` varchar(20) NOT NULL COMMENT '版本号',
`url` varchar(255) NOT NULL COMMENT '链接',
`sort` int(5) unsigned NOT NULL DEFAULT '0' COMMENT '排序',
`status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '0未安装,1未启用,2已启用',
`default` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '默认模块(只能有一个)',
`config` text NOT NULL COMMENT '配置',
`app_id` varchar(30) NOT NULL DEFAULT '0' COMMENT '应用市场ID(0本地)',
`theme` varchar(50) NOT NULL DEFAULT 'default' COMMENT '主题模板',
`ctime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
`mtime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`),
UNIQUE KEY `identifier` (`identifier`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='[系统] 模块';
-- ----------------------------
-- Records of meng_admin_module
-- ----------------------------
INSERT INTO `meng_admin_module` VALUES ('1', '1', 'admin', 'admin.hisiphp.module', '系统管理模块', '系统核心模块,用于后台各项管理功能模块及功能拓展', 'HisiPHP官方出品', '', '1.0.0', 'http://www.hisiphp.com', '0', '2', '0', '', '0', 'default', '1489998096', '1489998096');
INSERT INTO `meng_admin_module` VALUES ('2', '1', 'index', 'index.hisiphp.module', '系统默认模块', '仅供前端插件访问和应用市场推送安装,禁止在此模块下面开发任何东西。', 'HisiPHP官方出品', '', '1.0.0', 'http://www.hisiphp.com', '0', '2', '0', '', '0', 'default', '1489998096', '1489998096');
INSERT INTO `meng_admin_module` VALUES ('3', '1', 'install', 'install.hisiphp.module', '系统安装模块', '系统安装模块,勿动。', 'HisiPHP官方出品', '', '1.0.0', 'http://www.hisiphp.com', '0', '2', '0', '', '0', 'default', '1489998096', '1489998096');
-- ----------------------------
-- Table structure for meng_admin_role
-- ----------------------------
DROP TABLE IF EXISTS `meng_admin_role`;
CREATE TABLE `meng_admin_role` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL COMMENT '角色名称',
`intro` varchar(200) NOT NULL COMMENT '角色简介',
`auth` text NOT NULL COMMENT '角色权限',
`ctime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
`mtime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '修改时间',
`status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '状态',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='[系统] 管理角色';
-- ----------------------------
-- Records of meng_admin_role
-- ----------------------------
INSERT INTO `meng_admin_role` VALUES ('1', '超级管理员', '拥有系统最高权限', '0', '1489411760', '0', '1');
INSERT INTO `meng_admin_role` VALUES ('2', '系统管理员', '拥有系统管理员权限', '[\"1\",\"4\",\"25\",\"24\",\"2\",\"6\",\"10\",\"60\",\"61\",\"62\",\"63\",\"91\",\"11\",\"55\",\"56\",\"57\",\"58\",\"59\",\"12\",\"26\",\"27\",\"28\",\"29\",\"30\",\"31\",\"32\",\"13\",\"33\",\"34\",\"35\",\"36\",\"14\",\"37\",\"38\",\"39\",\"40\",\"41\",\"16\",\"78\",\"79\",\"84\",\"85\",\"86\",\"87\",\"88\",\"89\",\"7\",\"20\",\"75\",\"76\",\"77\",\"21\",\"90\",\"70\",\"71\",\"72\",\"73\",\"74\",\"8\",\"17\",\"65\",\"66\",\"67\",\"68\",\"94\",\"95\",\"18\",\"42\",\"43\",\"45\",\"47\",\"48\",\"49\",\"19\",\"80\",\"81\",\"82\",\"83\",\"9\",\"22\",\"23\",\"3\",\"5\"]', '1489411760', '0', '1');
-- ----------------------------
-- Table structure for meng_admin_user
-- ----------------------------
DROP TABLE IF EXISTS `meng_admin_user`;
CREATE TABLE `meng_admin_user` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`role_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '角色ID',
`username` varchar(50) NOT NULL COMMENT '用户名',
`password` varchar(64) NOT NULL,
`nick` varchar(50) NOT NULL COMMENT '昵称',
`mobile` varchar(11) NOT NULL,
`email` varchar(50) NOT NULL COMMENT '邮箱',
`auth` text NOT NULL COMMENT '权限',
`iframe` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '0默认,1框架',
`status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '状态',
`last_login_ip` varchar(128) NOT NULL COMMENT '最后登陆IP',
`last_login_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '最后登陆时间',
`ctime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
`mtime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='[系统] 管理员表';
-- ----------------------------
-- Records of meng_admin_user
-- ----------------------------
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.