sql stringlengths 6 1.05M |
|---|
<reponame>LeonardoSouza97/curso-node-portfolio-servicos<filename>api-rest/banco/script-popular.sql
INSERT INTO `db_portfolio`.`portfolio` (`id_portfolio`, `descricao`, `detalhes`) VALUES ('1', 'Desenvolvimento Web', 'Detalhes 1');
INSERT INTO `db_portfolio`.`portfolio` (`id_portfolio`, `descricao`, `detalhes`) VALUES ('2', 'Web Designer', 'Detalhes 2');
|
<filename>src/test/resources/sql/create_role/5cc7ed15.sql
-- file:roleattributes.sql ln:2 expect:true
CREATE ROLE regress_test_def_superuser
|
<gh_stars>100-1000
CREATE TABLE comment (
id BIGSERIAL PRIMARY KEY,
comment_text TSVECTOR,
created_at TIMESTAMP
);
|
<reponame>gpipperr/OraPowerShell<filename>Ora_SQLPlus_SQLcL_sql_scripts/tab_stat_overview.sql
--==============================================================================
-- GPI - <NAME>
-- Desc: Get the statistic settings of all tables of a user
-- Parameter 1: Name of the table
--
-- Must be run with dba privileges
--
--
--==============================================================================
set verify off
set linesize 130 pagesize 300
define USER_NAME = &1
prompt
prompt Parameter 1 = Owner Name => &&USER_NAME.
prompt
SET linesize 150 pagesize 2000
ttitle "Read Statistic Values for all tables of this user &USER_NAME." SKIP 2
column table_name format a32
select table_name
, status
, to_char(LAST_ANALYZED,'dd.mm.yyyy hh24:mi') as LAST_ANALYZED
, NUM_ROWS
, AVG_SPACE
, CHAIN_CNT
, AVG_ROW_LEN
from dba_tables
where owner like '&USER_NAME.'
order by nvl(NUM_ROWS,1) asc
/
prompt ... to anaylse the space Usage use tab.sql
prompt ... to refresh statistic use EXEC DBMS_STATS.GATHER_TABLE_STATS ('&USER_NAME.', 'TABLE_NAME');
ttitle "Read Statistic Values for all tables of this user &USER_NAME." SKIP 2
column col_group format a30
select e.extension col_group
, t.num_distinct
, t.histogram
from dba_stat_extensions e
, dba_tab_col_statistics t
where e.extension_name=t.column_name
and t.owner like '&USER_NAME.'
/
ttitle off
|
<filename>sql/range.sql
select min(inserted) as least, max(inserted) as most from Event; |
<reponame>laufendentdecken/trainingstool<gh_stars>0
drop table training if exists;
create table training (
id integer primary key GENERATED BY DEFAULT AS IDENTITY(START WITH 1),
user_id integer,
schedule_date date,
description varchar(4000),
training_type varchar(200)
);
drop table user if exists;
create table user (
id integer primary key GENERATED BY DEFAULT AS IDENTITY(START WITH 100),
username varchar(50) not null,
email varchar(50) not null,
pw varchar(255) not null
);
ALTER TABLE training ADD FOREIGN KEY (user_id) REFERENCES user(id); |
CREATE DATABASE IF NOT EXISTS `essentialmode`
USE `essentialmode`;
CREATE TABLE IF NOT EXISTS `alertas` (
`identificador` int(11) NOT NULL,
`nivel` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
INSERT INTO `alertas` (`identificador`, `nivel`) VALUES
(1, 0);
|
select * from `filter/pushdown/DRILL_5796_test_data.parquet` where not float_col > 0.1 order by id limit 5;
|
<filename>dbms/tests/queries/0_stateless/00800_low_cardinality_empty_array.sql<gh_stars>1-10
drop table if exists test.lc;
create table test.lc (names Array(LowCardinality(String))) engine=MergeTree order by tuple();
insert into test.lc values ([]);
insert into test.lc select emptyArrayString();
select * from test.lc;
drop table if exists test.lc;
|
<filename>Recommended DOQL/Storage Arrays/Individual_LUN_Topologies.sql
select vd.virtualmachine_name as "VM Name"
,vd.hypervisor_name as "Hypervisor Name"
,vd.vdisk_name as "VDisk Name"
,va.mountpoint_name as "Datastore Name"
,va.vdisk_backing as "VDisk Backing"
,va.storagearray_name as "Storage Array Name"
,va.storagearray_type as "Storage Array Type"
from view_vdisk_to_hypervisor_v2 vd
left join view_vdisk_to_storagearray_v2 va
on vd.vdisk_fk = va.vdisk_fk; |
ALTER TABLE iex.user ADD github_profile jsonb NULL;
|
<filename>hedera-mirror-importer/src/main/resources/db/migration/v1/V1.54.1__contract_result_partial.sql
-------------------
-- Update schema to support partial contract_result
-------------------
alter table contract_result
alter column gas_used drop not null;
|
/*
SQLyog Community v13.1.7 (64 bit)
MySQL - 10.4.17-MariaDB : Database - yii2basic
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!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 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`yii2basic` /*!40100 DEFAULT CHARACTER SET utf8 COLLATE utf8_bin */;
USE `yii2basic`;
/*Table structure for table `entry_form` */
DROP TABLE IF EXISTS `entry_form`;
CREATE TABLE `entry_form` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(20) COLLATE utf8_bin DEFAULT NULL,
`lastname` varchar(20) COLLATE utf8_bin DEFAULT NULL,
`email` varchar(50) COLLATE utf8_bin DEFAULT NULL,
`age` int(11) DEFAULT NULL,
`dni` varchar(20) COLLATE utf8_bin DEFAULT NULL,
`friend` varchar(20) COLLATE utf8_bin DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*Data for the table `entry_form` */
insert into `entry_form`(`id`,`name`,`lastname`,`email`,`age`,`dni`,`friend`) values
(21,'Ramiro','Gonzalez','<EMAIL>',25,'39380032','Leandro'),
(22,'Nerina','Gonzalez','<EMAIL>',25,'37156414',NULL),
(25,'Gabriel','Bermudez','<EMAIL>',18,'3985474',NULL),
(28,'Guada','Zanginetti','<EMAIL>',21,'41256465',NULL),
(30,'Leandro','Mercado','<EMAIL>',25,'39456788','Guada'),
(31,'Danila','Gonzalez','<EMAIL>',32,'31589255','Gabriel');
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
<filename>software/cabio-database/scripts/ddl/Tables/ZSTG_MOLECULECOMPONENTLABELS.sql<gh_stars>1-10
/*L
Copyright SAIC
Distributed under the OSI-approved BSD 3-Clause License.
See http://ncip.github.com/cabio/LICENSE.txt for details.
L*/
DROP TABLE ZSTG_MOLECULECOMPONENTLABELS CASCADE CONSTRAINTS PURGE
/
--
-- ZSTG_MOLECULECOMPONENTLABELS (Table)
--
CREATE TABLE ZSTG_MOLECULECOMPONENTLABELS ( MOLECULE_ID VARCHAR2(2500 BYTE) NOT NULL, MTYPE VARCHAR2(2500 BYTE) NOT NULL, MOLECULE_ID_REF VARCHAR2(2500 BYTE) NOT NULL, LABEL_TYPE VARCHAR2(2500 BYTE) NOT NULL, VALUE VARCHAR2(2500 BYTE) NOT NULL, SOURCE_ID VARCHAR2(20 BYTE) NOT NULL ) TABLESPACE CABIO_MAP_FUT NOLOGGING NOCOMPRESS NOCACHE NOPARALLEL MONITORING
/
|
-- @testpoint:opengauss关键字using(保留),作为角色名
--关键字不带引号-合理报错
drop role if exists using;
create role using with password '<PASSWORD>' valid until '2020-12-31';
--关键字带双引号-成功
drop role if exists "using";
create role "using" with password '<PASSWORD>' valid until '2020-12-31';
--清理环境
drop role "using";
--关键字带单引号-合理报错
drop role if exists 'using';
create role 'using' with password '<PASSWORD>' valid until '2020-12-31';
--关键字带反引号-合理报错
drop role if exists `using`;
create role `using` with password '<PASSWORD>' valid until '2020-12-31'; |
DELETE FROM northwind.order_details; |
PRAGMA foreign_keys = ON;
CREATE TABLE IF NOT EXISTS [CarCategories] (
[CategoryId] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
[CategoryName] NVARCHAR(32) NULL
);
CREATE UNIQUE INDEX Unq_Category ON [CarCategories]([CategoryName]);
CREATE TABLE IF NOT EXISTS [CarBrands] (
[BrandId] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
[BrandName] NVARCHAR(32) NULL
);
CREATE UNIQUE INDEX Unq_Brand ON [CarBrands]([BrandName]);
CREATE TABLE IF NOT EXISTS [CarModels] (
[ModelId] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
[ModelName] NVARCHAR(32) NULL
);
CREATE UNIQUE INDEX Unq_Model ON [CarModels]([ModelName]);
CREATE TABLE IF NOT EXISTS [Cars] (
[Id] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
[CategoryId] INTEGER NOT NULL,
[BrandId] INTEGER NOT NULL,
[ModelId] INTEGER NOT NULL,
[Details] TEXT NULL,
[IsTaken] INTEGER DEFAULT 0 CHECK([IsTaken] IN (0,1)),
FOREIGN KEY ([CategoryId]) REFERENCES [CarCategories] ([CategoryId]),
FOREIGN KEY ([BrandId]) REFERENCES [CarBrands] ([BrandId]),
FOREIGN KEY ([ModelId]) REFERENCES [CarModels] ([ModelId])
); |
CREATE TABLE batteries (
id INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY,
name varchar(30) NOT NULL UNIQUE,
description TEXT,
used_in TEXT,
charge_interval_days INTEGER NOT NULL DEFAULT 0,
row_created_timestamp DATETIME DEFAULT CURRENT_TIMESTAMP
)
|
<reponame>superbe/GB_mySQL
-- Урок 6. Задание 1.
-- Проанализировать запросы, которые выполнялись на занятии,
-- определить возможные корректировки и/или улучшения (JOIN пока не применять).
USE vk;
-- Нашли пользователей с большим количеством картинок.
SELECT
user_id,
count(user_id) as count_user_id
FROM
media
Where
media_type_id = (SELECT id FROM media_types WHERE name = 'image')
group by
user_id
order by
count_user_id desc;
-- Задали переменную с именем пользователя.
SET @user_name = 'rkihn';
-- Определили идентификатор пользователя.
SET @user_id = (SELECT id FROM users WHERE name = @user_name);
-- Получаем данные пользователя.
SELECT
*
FROM
users
WHERE
id = @user_id;
SELECT
first_name,
last_name,
'main_photo',
'city'
FROM
profiles
WHERE
user_id = @user_id;
SELECT
first_name,
last_name,
(SELECT
filename
FROM
media
WHERE
id = (SELECT photo_id FROM profiles WHERE user_id = @user_id)
) as filename,
(SELECT
hometown
FROM
profiles
WHERE
user_id = @user_id) as hometown
FROM
profiles
WHERE
user_id = @user_id;
-- Получаем фотографии пользователя
SELECT * FROM media_types;
SELECT
filename
FROM
media
WHERE
user_id = @user_id AND media_type_id = (SELECT id FROM media_types WHERE name = 'image');
-- Выбираем историю по добавлению фотографий пользователем
SELECT CONCAT(
'Пользователь ',
(SELECT CONCAT(first_name, ' ', last_name) FROM profiles WHERE user_id = @user_id),
' добавил фото ',
filename, ' ',
created_at) AS news
FROM
media
WHERE user_id = @user_id AND media_type_id = (SELECT id FROM media_types WHERE name = 'image');
-- Найдём кому принадлежат 10 самых больших медиафайлов
SELECT
filename,
size,
(SELECT CONCAT(first_name, ' ', last_name) FROM profiles u WHERE u.user_id = m.user_id) AS owner
FROM
media m
ORDER BY size DESC
LIMIT 10;
-- Выбираем друзей пользователя
(SELECT friend_id FROM friendship WHERE user_id = @user_id)
UNION
(SELECT user_id FROM friendship WHERE friend_id = @user_id);
-- Выбираем только друзей с подтверждённым статусом
SELECT * FROM friendship_statuses;
( SELECT
friend_id
FROM
friendship
WHERE
user_id = @user_id AND confirmed_at IS NOT NULL AND status_id = (SELECT id FROM friendship_statuses WHERE name = 'friend')
)
UNION
( SELECT
user_id
FROM
friendship
WHERE
friend_id = @user_id AND confirmed_at IS NOT NULL AND status_id = (SELECT id FROM friendship_statuses WHERE name = 'friend')
);
-- Выбираем медиафайлы друзей
SELECT
filename
FROM
media
WHERE
user_id IN ((
SELECT
friend_id
FROM
friendship
WHERE
user_id = @user_id AND confirmed_at IS NOT NULL AND status_id = (SELECT id FROM friendship_statuses WHERE name = 'friend')
) UNION (
SELECT
user_id
FROM
friendship
WHERE
friend_id = @user_id AND confirmed_at IS NOT NULL AND status_id = (SELECT id FROM friendship_statuses WHERE name = 'friend')
)
);
-- Объединяем медиафайлы пользователя и его друзей для создания ленты новостей
SELECT
filename, user_id, created_at
FROM
media WHERE user_id = @user_id
UNION
SELECT
filename, user_id, created_at
FROM
media
WHERE user_id IN ((
SELECT
friend_id
FROM
friendship
WHERE
user_id = @user_id AND confirmed_at IS NOT NULL AND status_id = (SELECT id FROM friendship_statuses WHERE name = 'friend')
) UNION (
SELECT
user_id
FROM
friendship
WHERE
friend_id = @user_id AND confirmed_at IS NOT NULL AND status_id = (SELECT id FROM friendship_statuses WHERE name = 'friend')
)
);
-- Определяем пользователей, общее занимаемое место медиафайлов которых превышает 30МБ.
SELECT
user_id, SUM(size) AS total
FROM
media
GROUP BY
user_id
HAVING
total > 30000000
ORDER BY
total DESC;
-- Подсчитываем лайки для медиафайлов пользователя и его друзей
SELECT * FROM target_types;
SELECT
target_id AS mediafile, COUNT(*) AS likes
FROM
likes
WHERE target_id IN (
SELECT
id
FROM
media
WHERE
user_id = @user_id
UNION
SELECT
id
FROM
media
WHERE
user_id IN ((
SELECT
friend_id
FROM
friendship
WHERE user_id = @user_id AND status_id = (SELECT id FROM friendship_statuses WHERE name = 'friend')
) UNION (
SELECT
user_id
FROM
friendship
WHERE friend_id = @user_id AND status_id = (SELECT id FROM friendship_statuses WHERE name = 'friend')
))
) AND target_type_id IN (2, 3, 8, 10)
GROUP BY target_id;
SELECT
*
FROM
likes
WHERE
target_id = @user_id AND target_type_id IN (2, 3, 8, 10)
ORDER BY
target_type_id;
-- Архив с правильной сортировкой новостей по месяцам
SELECT
COUNT(id) AS news,
MONTHNAME(created_at) AS month_news
FROM
media
WHERE
YEAR(created_at) = YEAR(NOW())
GROUP BY
month_news
ORDER BY
MONTH(month_news) DESC;
-- Выбираем сообщения от пользователя и к пользователю
SELECT
from_user_id, to_user_id, body, delivered, created_at
FROM
messages
WHERE
from_user_id = @user_id OR to_user_id = @user_id
ORDER BY
created_at DESC;
-- Непрочитанные сообщения
SELECT
from_user_id, to_user_id, body,
IF(delivered, 'delivered', 'not delivered') AS status
FROM
messages
WHERE
(from_user_id = @user_id OR to_user_id = @user_id) AND delivered IS NOT TRUE
ORDER BY
created_at DESC;
-- Выводим друзей пользователя с преобразованием пола и возраста
SELECT
CONCAT(first_name, ' ', last_name) AS friend,
CASE (sex)
WHEN 'm' THEN 'man'
WHEN 'f' THEN 'women'
END AS sex,
TIMESTAMPDIFF(YEAR, birthday, NOW()) AS age
FROM
profiles
WHERE
user_id IN (
(
SELECT
friend_id
FROM
friendship
WHERE user_id = @user_id AND confirmed_at IS NOT NULL AND status_id = (SELECT id FROM friendship_statuses WHERE name = 'friend')
) UNION (
SELECT
user_id
FROM
friendship
WHERE friend_id = @user_id AND confirmed_at IS NOT NULL AND status_id = (SELECT id FROM friendship_statuses WHERE name = 'friend')
)
);
-- Поиск пользователя по шаблонам имени
SELECT
CONCAT(first_name, ' ', last_name) AS fullname
FROM
profiles
HAVING
fullname LIKE 'M%';
-- Используем регулярные выражения
SELECT
CONCAT(first_name, ' ', last_name) AS fullname
FROM
profiles
HAVING
fullname RLIKE '^M.*s$';
-- Урок 6. Задание 2.
-- Пусть задан некоторый пользователь.
-- Из всех друзей этого пользователя найдите человека, который больше всех общался с нашим пользователем.
-- Задали переменную с именем пользователя.
SET @user_name = 'fpagac';
-- Определили идентификатор пользователя.
SET @user_id = (SELECT id FROM users WHERE name = @user_name);
-- Просто вывели все сообщения для заданного пользователя.
SELECT
from_user_id, to_user_id, body, delivered, created_at
FROM
messages
WHERE
(from_user_id = @user_id and to_user_id IN ((
SELECT
friend_id
FROM
friendship
WHERE user_id = @user_id AND confirmed_at IS NOT NULL
) UNION (
SELECT
user_id
FROM
friendship
WHERE friend_id = @user_id AND confirmed_at IS NOT NULL
)))
OR (to_user_id = @user_id and from_user_id IN ((
SELECT
friend_id
FROM
friendship
WHERE user_id = @user_id AND confirmed_at IS NOT NULL
) UNION (
SELECT
user_id
FROM
friendship
WHERE friend_id = @user_id AND confirmed_at IS NOT NULL
)));
-- Немного переписали.
((SELECT
to_user_id as friend_id
FROM
messages
WHERE
from_user_id = @user_id and to_user_id IN ((
SELECT
friend_id
FROM
friendship
WHERE user_id = @user_id AND confirmed_at IS NOT NULL
) UNION (
SELECT
user_id
FROM
friendship
WHERE friend_id = @user_id AND confirmed_at IS NOT NULL
))
) UNION ALL (
SELECT
from_user_id as friend_id
FROM
messages
WHERE
to_user_id = @user_id and from_user_id IN ((
SELECT
friend_id
FROM
friendship
WHERE user_id = @user_id AND confirmed_at IS NOT NULL
) UNION (
SELECT
user_id
FROM
friendship
WHERE friend_id = @user_id AND confirmed_at IS NOT NULL
))
));
-- Получаем самого болтливого друга.
SELECT
CONCAT('Самый болтливый друг: ', first_name, ' ', last_name) AS chatterer
FROM
profiles
WHERE
user_id = (
SELECT
friend_id
FROM
(SELECT
friend_id, count(friend_id) as count_messages
FROM
((SELECT
to_user_id AS friend_id
FROM
messages
WHERE
from_user_id = @user_id AND to_user_id IN ((
SELECT
friend_id
FROM
friendship
WHERE user_id = @user_id AND confirmed_at IS NOT NULL
) UNION (
SELECT
user_id
FROM
friendship
WHERE friend_id = @user_id AND confirmed_at IS NOT NULL
))
) UNION ALL (
SELECT
from_user_id AS friend_id
FROM
messages
WHERE
to_user_id = @user_id AND from_user_id IN ((
SELECT
friend_id
FROM
friendship
WHERE user_id = @user_id AND confirmed_at IS NOT NULL
) UNION (
SELECT
user_id
FROM
friendship
WHERE friend_id = @user_id AND confirmed_at IS NOT NULL
))
)) result
GROUP BY friend_id
ORDER BY count_messages DESC
LIMIT 1) friend_id_result);
-- <Берем первого, остальным не повезло.
-- Урок 6. Задание 3.
-- Подсчитать общее количество лайков, которые получили 10 самых молодых пользователей.
-- Нашли 10 самых молодых.
SELECT * FROM profiles ORDER BY birthday DESC LIMIT 10;
-- 111
-- Посчитали количество лайков.
SELECT
sum((SELECT COUNT(*) AS cnt FROM likes AS l WHERE l.user_id = p.user_id)) AS sum_result
FROM
profiles p
ORDER BY
p.birthday DESC
LIMIT 10;
-- Исправленное.
SELECT
COUNT(*)
FROM
likes l
WHERE
l.target_id IN (Select user_id as id FROM (SELECT * FROM profiles ORDER BY birthday DESC LIMIT 10) AS res)
AND
l.target_type_id = (SELECT tt.id FROM target_types tt WHERE tt.name = 'users');
-- Проверка.
Select user_id as id FROM (SELECT * FROM profiles ORDER BY birthday DESC LIMIT 10) AS res;
-- (57,12,1,6,56,24,100,4,9,52)
SELECT * FROM likes WHERE target_id IN (57,12,1,6,56,24,100,4,9,52) order by target_type_id;
-- '108', '68', '9', '1', '2019-09-29 14:52:55'
-- '345', '12', '100', '1', '2019-09-29 14:52:55'
-- '357', '61', '12', '1', '2019-09-29 14:52:55'
-- '410', '75', '6', '1', '2019-09-29 14:52:55'
-- '414', '98', '57', '1', '2019-09-29 14:52:55'
-- '496', '14', '100', '1', '2019-09-29 14:52:55'
-- '505', '50', '57', '1', '2019-09-29 14:52:55'
-- '588', '52', '100', '1', '2019-09-29 14:52:55'
-- '648', '83', '9', '1', '2019-09-29 14:52:55'
-- '765', '43', '56', '1', '2019-09-29 14:52:55'
-- '1', '83', '52', '2', '2019-09-29 14:52:55'
SELECT * FROM target_types;
-- '1', 'users', '2019-09-29 14:52:55', '2019-09-29 14:52:55'
SELECT * FROM likes WHERE target_id IN (57,12,1,6,56,24,100,4,9,52) and target_type_id = 1;
-- '108', '68', '9', '1', '2019-09-29 14:52:55'
-- '345', '12', '100', '1', '2019-09-29 14:52:55'
-- '357', '61', '12', '1', '2019-09-29 14:52:55'
-- '410', '75', '6', '1', '2019-09-29 14:52:55'
-- '414', '98', '57', '1', '2019-09-29 14:52:55'
-- '496', '14', '100', '1', '2019-09-29 14:52:55'
-- '505', '50', '57', '1', '2019-09-29 14:52:55'
-- '588', '52', '100', '1', '2019-09-29 14:52:55'
-- '648', '83', '9', '1', '2019-09-29 14:52:55'
-- '765', '43', '56', '1', '2019-09-29 14:52:55'
SELECT COUNT(*) FROM likes WHERE target_id IN (57,12,1,6,56,24,100,4,9,52) and target_type_id = 1;
-- '10'
-- Урок 6. Задание 4.
-- Определить кто больше поставил лайков (всего) - мужчины или женщины?
SELECT
sex, COUNT(sex) AS cnt
FROM
(SELECT
(SELECT p.sex FROM profiles p WHERE l.user_id = p.user_id) AS sex
FROM
likes l) gender
GROUP BY
sex
ORDER BY
cnt DESC
LIMIT 1;
-- Урок 6. Задание 5.
-- Найти 10 пользователей, которые проявляют наименьшую
-- активность в использовании социальной сети.
SELECT
us_id, (SELECT CONCAT(p.first_name, ' ', p.last_name) FROM profiles p WHERE p.user_id = res.us_id) AS full_name, COUNT(us_id) AS cnt
FROM
((SELECT user_id as us_id FROM media)
UNION ALL
(SELECT from_user_id as us_id FROM messages)
UNION ALL
(SELECT user_id as us_id FROM friendship)
UNION ALL
(SELECT user_id as us_id FROM communities_users)
UNION ALL
(SELECT user_id as us_id FROM likes)
UNION ALL
(SELECT user_id as us_id FROM posts)) res
GROUP BY
us_id
ORDER BY
cnt
LIMIT 10;
|
CREATE SCHEMA IF NOT EXISTS collisions;
CREATE MATERIALIZED VIEW IF NOT EXISTS collisions.events AS (
WITH involved_vision_zero AS (
SELECT
collision_id,
count(*) FILTER (WHERE aggressive) AS aggressive,
count(*) FILTER (WHERE city_damage) AS city_damage,
count(*) FILTER (WHERE cyclist) AS cyclist,
max(injury) AS injury,
count(*) FILTER (WHERE ksi) AS ksi,
count(*) FILTER (WHERE motorcyclist) AS motorcyclist,
count(*) FILTER (WHERE older_adult) AS older_adult,
count(*) FILTER (WHERE pedestrian) AS pedestrian,
count(*) FILTER (WHERE red_light) AS red_light,
count(*) FILTER (WHERE school_child) AS school_child,
count(*) FILTER (WHERE speeding) AS speeding
FROM collisions.involved
GROUP BY collision_id
)
SELECT
efn.*,
CASE WHEN ivz.aggressive > 0 THEN TRUE ELSE FALSE END AS aggressive,
CASE
WHEN ivz.city_damage > 0 THEN TRUE
WHEN efn.comments LIKE '%Property Damage:%' THEN TRUE
ELSE FALSE
END AS city_damage,
CASE WHEN ivz.cyclist > 0 THEN TRUE ELSE FALSE END AS cyclist,
ivz.injury,
CASE WHEN ivz.ksi > 0 THEN TRUE ELSE FALSE END AS ksi,
CASE WHEN ivz.motorcyclist > 0 THEN TRUE ELSE FALSE END AS motorcyclist,
CASE WHEN ivz.older_adult > 0 THEN TRUE ELSE FALSE END AS older_adult,
CASE WHEN ivz.pedestrian > 0 THEN TRUE ELSE FALSE END AS pedestrian,
CASE
WHEN ivz.red_light > 0 THEN TRUE
WHEN efn.impactype = 2 THEN TRUE
ELSE FALSE
END AS red_light,
CASE WHEN ivz.school_child > 0 THEN TRUE ELSE FALSE END AS school_child,
CASE WHEN ivz.speeding > 0 THEN TRUE ELSE FALSE END AS speeding
FROM collisions.events_fields_norm efn
JOIN involved_vision_zero ivz USING (collision_id)
);
CREATE UNIQUE INDEX IF NOT EXISTS events_collision_id ON collisions.events (collision_id);
CREATE INDEX IF NOT EXISTS events_accdate ON collisions.events (accdate);
CREATE INDEX IF NOT EXISTS events_geom ON collisions.events USING GIST (geom);
CREATE INDEX IF NOT EXISTS events_srid3857_geom ON collisions.events USING GIST (ST_Transform(geom, 3857));
CREATE INDEX IF NOT EXISTS events_srid2952_geom ON collisions.events USING GIST (ST_Transform(geom, 2952));
REFRESH MATERIALIZED VIEW CONCURRENTLY collisions.events;
|
-- Script to set exported_at to updated_at of bills / charge_card_transactions and expense_reports for existing expense groups
rollback;
begin;
-- expense_reports
update expense_groups
set exported_at = expense_reports.updated_at
from expense_reports
where expense_reports.expense_group_id = expense_groups.id;
-- charge_card_transactions
update expense_groups
set exported_at = charge_card_transactions.updated_at
from charge_card_transactions
where charge_card_transactions.expense_group_id = expense_groups.id;
-- bills
update expense_groups
set exported_at = bills.updated_at
from bills
where bills.expense_group_id = expense_groups.id; |
-- phpMyAdmin SQL Dump
-- version 4.7.7
-- https://www.phpmyadmin.net/
--
-- Хост: 127.0.0.1:3306
-- Время создания: Дек 18 2019 г., 11:42
-- Версия сервера: 5.7.20
-- Версия PHP: 7.2.0
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- База данных: `onetech`
--
-- --------------------------------------------------------
--
-- Структура таблицы `categories`
--
CREATE TABLE `categories` (
`id` bigint(20) UNSIGNED NOT NULL,
`parent_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`cat_title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`icon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Дамп данных таблицы `categories`
--
INSERT INTO `categories` (`id`, `parent_id`, `cat_title`, `slug`, `created_at`, `updated_at`, `icon`) VALUES
(13, '0', 'Телефоны и Смартфоны', 'telefony-i-smartfony', '2019-12-17 04:08:08', '2019-12-17 04:08:08', '4.png'),
(14, '0', 'Планшеты', 'planshety', '2019-12-17 04:08:25', '2019-12-17 04:08:25', '9.png'),
(15, '0', 'Ноутбуки', 'noutbuki', '2019-12-17 04:09:04', '2019-12-17 04:09:04', '8.png'),
(16, '0', 'Смарт часы', 'smart-chasy', '2019-12-17 04:09:30', '2019-12-17 04:09:30', '3.png'),
(17, '13', 'Apple', 'apple', '2019-12-17 04:10:21', '2019-12-17 04:10:21', NULL),
(18, '13', 'Samsung Galaxy', 'samsung-galaxy', '2019-12-17 04:10:42', '2019-12-17 04:10:42', NULL),
(19, '13', 'Honor', 'honor', '2019-12-17 04:10:52', '2019-12-17 04:10:52', NULL),
(20, '13', 'Sony', 'sony', '2019-12-17 04:11:05', '2019-12-17 04:11:05', NULL),
(21, '13', 'Asus', 'asus', '2019-12-17 04:11:40', '2019-12-17 04:11:40', NULL),
(22, '15', 'Apple Macbook', 'apple-macbook', '2019-12-17 04:12:13', '2019-12-17 04:12:13', NULL),
(23, '15', 'Msi', 'msi', '2019-12-17 04:12:26', '2019-12-17 04:12:26', NULL),
(24, '15', 'Acer', 'acer', '2019-12-17 04:12:41', '2019-12-17 04:12:41', NULL),
(25, '15', 'Dell', 'dell', '2019-12-17 04:12:51', '2019-12-17 04:12:51', NULL),
(26, '14', 'Samsung', 'samsung', '2019-12-17 04:13:42', '2019-12-17 04:13:42', NULL),
(27, '14', 'Lenovo', 'lenovo', '2019-12-17 04:13:54', '2019-12-17 04:13:54', NULL),
(28, '14', 'Huawei', 'huawei', '2019-12-17 04:14:05', '2019-12-17 04:14:05', NULL),
(29, '14', 'Apple', 'apple-1', '2019-12-17 04:14:36', '2019-12-17 04:14:36', NULL),
(30, '16', 'Apple', 'apple-2', '2019-12-17 04:15:08', '2019-12-17 04:15:08', NULL),
(31, '16', 'Samsung', 'samsung-1', '2019-12-17 04:15:19', '2019-12-17 04:15:19', NULL);
-- --------------------------------------------------------
--
-- Структура таблицы `images`
--
CREATE TABLE `images` (
`id` bigint(20) UNSIGNED NOT NULL,
`product_id` bigint(20) UNSIGNED NOT NULL,
`filename` varchar(255) 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;
--
-- Дамп данных таблицы `images`
--
INSERT INTO `images` (`id`, `product_id`, `filename`, `created_at`, `updated_at`) VALUES
(99, 1, 'aT2UlNerkM.jpeg', '2019-11-24 07:16:41', '2019-11-24 07:16:41'),
(100, 1, 'fIkr0xYyoX.jpeg', '2019-11-24 07:16:41', '2019-11-24 07:16:41'),
(101, 1, 'YYyj6tME3d.jpeg', '2019-11-24 07:16:41', '2019-11-24 07:16:41'),
(102, 6, 'huSxVVajim.jpeg', '2019-11-27 10:53:46', '2019-11-27 10:53:46'),
(103, 6, 'HgCvwe2QGB.jpeg', '2019-11-27 10:53:46', '2019-11-27 10:53:46'),
(104, 6, '1dDCppOPoT.jpeg', '2019-11-27 10:53:46', '2019-11-27 10:53:46'),
(105, 46, 'uDpUKwv3Vv.jpeg', '2019-12-17 04:18:17', '2019-12-17 04:18:17'),
(106, 46, 'THOq0h2apZ.jpeg', '2019-12-17 04:18:17', '2019-12-17 04:18:17'),
(107, 46, 'kKWbByJIwg.jpeg', '2019-12-17 04:18:17', '2019-12-17 04:18:17'),
(108, 46, 'kpRwmG2mRp.jpeg', '2019-12-17 04:18:17', '2019-12-17 04:18:17'),
(109, 47, 'DkvivO33ya.jpeg', '2019-12-17 04:20:58', '2019-12-17 04:20:58'),
(110, 47, '7TIddOtsr6.jpeg', '2019-12-17 04:20:58', '2019-12-17 04:20:58'),
(111, 47, 'pPEKOF7Ghp.jpeg', '2019-12-17 04:20:58', '2019-12-17 04:20:58'),
(112, 47, '5MRYC6ZsHO.jpeg', '2019-12-17 04:20:58', '2019-12-17 04:20:58'),
(113, 48, '7gktn3ppub.png', '2019-12-17 04:24:23', '2019-12-17 04:24:23'),
(114, 48, 'm32rzK6fC3.jpeg', '2019-12-17 04:24:23', '2019-12-17 04:24:23'),
(115, 48, 'yHaeBHK3gl.jpeg', '2019-12-17 04:24:23', '2019-12-17 04:24:23'),
(116, 48, 'ngbG9NyitS.jpeg', '2019-12-17 04:24:23', '2019-12-17 04:24:23'),
(117, 49, '9u0IiZGMXc.jpeg', '2019-12-17 04:25:36', '2019-12-17 04:25:36'),
(118, 49, 'smxGuma5NZ.jpeg', '2019-12-17 04:25:36', '2019-12-17 04:25:36'),
(119, 49, 'k5BcH18DDd.png', '2019-12-17 04:25:36', '2019-12-17 04:25:36'),
(120, 49, 'e4PIy6G8C4.jpeg', '2019-12-17 04:25:36', '2019-12-17 04:25:36'),
(121, 50, 'U7OCv4KqhP.jpeg', '2019-12-17 04:27:38', '2019-12-17 04:27:38'),
(122, 50, 'GrEj4vpwyX.jpeg', '2019-12-17 04:27:38', '2019-12-17 04:27:38'),
(123, 50, 'RAx3hGb3bv.jpeg', '2019-12-17 04:27:38', '2019-12-17 04:27:38'),
(124, 50, 'nxpW0DEgsw.jpeg', '2019-12-17 04:27:38', '2019-12-17 04:27:38'),
(125, 51, 'dt3MErryrb.jpeg', '2019-12-17 04:28:57', '2019-12-17 04:28:57'),
(126, 51, 'ZLY7fbJ74D.jpeg', '2019-12-17 04:28:57', '2019-12-17 04:28:57'),
(127, 51, 'EGvszRa2MR.png', '2019-12-17 04:28:57', '2019-12-17 04:28:57'),
(128, 51, '6bOu371ZpW.jpeg', '2019-12-17 04:28:57', '2019-12-17 04:28:57'),
(129, 52, 'vT1TIx36jF.jpeg', '2019-12-17 04:30:56', '2019-12-17 04:30:56'),
(130, 52, 'mnMtgGMkPQ.jpeg', '2019-12-17 04:30:56', '2019-12-17 04:30:56'),
(131, 52, 'tipbXInLDm.jpeg', '2019-12-17 04:30:56', '2019-12-17 04:30:56'),
(132, 52, 'ZsHa4SA6MX.jpeg', '2019-12-17 04:30:56', '2019-12-17 04:30:56'),
(133, 53, 'uoItx5pk5p.jpeg', '2019-12-17 04:32:03', '2019-12-17 04:32:03'),
(134, 53, 'ci5vSnKY2N.png', '2019-12-17 04:32:03', '2019-12-17 04:32:03'),
(135, 53, 'CX5sZGL7ja.jpeg', '2019-12-17 04:32:03', '2019-12-17 04:32:03'),
(136, 54, 'Qtai5eGZ8d.jpeg', '2019-12-17 04:32:59', '2019-12-17 04:32:59'),
(137, 54, 'gAbv95ple6.jpeg', '2019-12-17 04:32:59', '2019-12-17 04:32:59'),
(138, 54, 'twy60SCWCw.png', '2019-12-17 04:32:59', '2019-12-17 04:32:59'),
(139, 55, 'Kh7evwKYMu.jpeg', '2019-12-17 04:33:49', '2019-12-17 04:33:49'),
(140, 55, 'joaHWuFU1k.jpeg', '2019-12-17 04:33:49', '2019-12-17 04:33:49'),
(141, 55, 'O4y0XvkR1V.jpeg', '2019-12-17 04:33:49', '2019-12-17 04:33:49'),
(142, 55, 'SN0Gt7bR8z.jpeg', '2019-12-17 04:33:49', '2019-12-17 04:33:49'),
(143, 56, 'PCV4PCDRJA.jpeg', '2019-12-17 04:34:53', '2019-12-17 04:34:53'),
(144, 56, 'IrpLH6OOgg.jpeg', '2019-12-17 04:34:53', '2019-12-17 04:34:53'),
(145, 56, 'ubcGLLZIci.jpeg', '2019-12-17 04:34:53', '2019-12-17 04:34:53'),
(146, 57, 'nm32Jo9hnS.jpeg', '2019-12-17 04:38:10', '2019-12-17 04:38:10'),
(147, 57, 'IVNWtpHf0j.jpeg', '2019-12-17 04:38:10', '2019-12-17 04:38:10'),
(148, 57, 'GVxOop0nTe.jpeg', '2019-12-17 04:38:10', '2019-12-17 04:38:10'),
(149, 57, 'KciNWRfNg1.jpeg', '2019-12-17 04:38:10', '2019-12-17 04:38:10'),
(150, 58, 'A8LxqGlYpk.jpeg', '2019-12-17 04:39:06', '2019-12-17 04:39:06'),
(151, 58, '53ZHfa636I.jpeg', '2019-12-17 04:39:06', '2019-12-17 04:39:06'),
(152, 58, 'YaAhNq5Mhy.png', '2019-12-17 04:39:06', '2019-12-17 04:39:06'),
(153, 58, 'SkqA70kg44.jpeg', '2019-12-17 04:39:06', '2019-12-17 04:39:06'),
(154, 59, 'WdKBM6p4hz.png', '2019-12-17 04:40:07', '2019-12-17 04:40:07'),
(155, 59, '5O33oZZs59.jpeg', '2019-12-17 04:40:07', '2019-12-17 04:40:07'),
(156, 59, 'HwlrCGf2CA.jpeg', '2019-12-17 04:40:07', '2019-12-17 04:40:07'),
(157, 59, 'jDBrzEhKly.png', '2019-12-17 04:40:07', '2019-12-17 04:40:07'),
(158, 60, 'YWohRS6bFo.jpeg', '2019-12-17 04:40:55', '2019-12-17 04:40:55'),
(159, 60, 'bzpsyCntq5.jpeg', '2019-12-17 04:40:55', '2019-12-17 04:40:55'),
(160, 60, '1aC4Om13Ou.jpeg', '2019-12-17 04:40:55', '2019-12-17 04:40:55'),
(161, 60, 'oQMzagCA7Q.jpeg', '2019-12-17 04:40:55', '2019-12-17 04:40:55');
-- --------------------------------------------------------
--
-- Структура таблицы `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Дамп данных таблицы `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_resets_table', 1),
(3, '2019_03_21_180752_create_products_table', 1),
(4, '2019_03_21_181216_create_categories_table', 1),
(5, '2019_03_21_181305_create_orders_table', 1),
(6, '2019_03_23_074301_create_product_images_table', 1),
(7, '2019_03_24_075242_subscribers_table', 1),
(8, '2019_03_31_093658_add_cat_id_to_products', 1),
(9, '2019_04_07_085345_make_image_nullable', 1),
(10, '2019_09_21_114920_add_icon_to_categories', 2),
(11, '2019_10_25_182700_add_phone_number_to_user', 3);
-- --------------------------------------------------------
--
-- Структура таблицы `orders`
--
CREATE TABLE `orders` (
`id` bigint(20) UNSIGNED NOT NULL,
`user_id` int(11) NOT NULL,
`cart` text COLLATE utf8mb4_unicode_ci NOT NULL,
`city` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`address` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`phone_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`message` text COLLATE utf8mb4_unicode_ci,
`payment_id` varchar(255) 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;
--
-- Дамп данных таблицы `orders`
--
INSERT INTO `orders` (`id`, `user_id`, `cart`, `city`, `name`, `address`, `phone_number`, `email`, `message`, `payment_id`, `created_at`, `updated_at`) VALUES
(1, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100}]', 'Тошкент', 'ds', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 22:34:41', '2019-12-15 22:34:41'),
(2, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100}]', 'Тошкент', 'sdf', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 22:35:28', '2019-12-15 22:35:28'),
(3, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100}]', 'Андижон', 'seff', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 22:38:02', '2019-12-15 22:38:02'),
(4, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100}]', 'Тошкент', 'fsfsf', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 22:38:51', '2019-12-15 22:38:51'),
(5, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100}]', 'Тошкент', 'ds', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 22:39:16', '2019-12-15 22:39:16'),
(6, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100}]', 'Тошкент', 'cbc', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 22:45:43', '2019-12-15 22:45:43'),
(7, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100}]', 'Тошкент', 'sdd', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 22:46:21', '2019-12-15 22:46:21'),
(8, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100}]', 'Тошкент', 'fdg', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 22:46:53', '2019-12-15 22:46:53'),
(9, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100}]', 'Тошкент', 'fdg', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 22:47:27', '2019-12-15 22:47:27'),
(10, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'fdd', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 22:49:39', '2019-12-15 22:49:39'),
(11, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'ds', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 22:50:40', '2019-12-15 22:50:40'),
(12, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'dffd', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 22:51:34', '2019-12-15 22:51:34'),
(13, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'dsf', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 22:52:56', '2019-12-15 22:52:56'),
(14, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'sdfs', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 22:53:46', '2019-12-15 22:53:46'),
(15, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'dsf', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 22:55:17', '2019-12-15 22:55:17'),
(16, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'jgh', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 22:56:26', '2019-12-15 22:56:26'),
(17, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'khghk', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 22:58:23', '2019-12-15 22:58:23'),
(18, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'gh', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 23:00:14', '2019-12-15 23:00:14'),
(19, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100}]', 'Тошкент', 'hj', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 23:00:53', '2019-12-15 23:00:53'),
(20, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'cds', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 23:23:50', '2019-12-15 23:23:50'),
(21, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'dsv', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 23:24:29', '2019-12-15 23:24:29'),
(22, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'vn', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 23:29:02', '2019-12-15 23:29:02'),
(23, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100}]', 'Тошкент', 'ds', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 23:31:45', '2019-12-15 23:31:45'),
(24, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100}]', 'Тошкент', 'dsfs', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 23:35:31', '2019-12-15 23:35:31'),
(25, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100}]', 'Тошкент', 'sa', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 23:36:47', '2019-12-15 23:36:47'),
(26, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100}]', 'Тошкент', 'sfsf', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 23:43:41', '2019-12-15 23:43:41'),
(27, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100}]', 'Тошкент', 'dsfsf', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 23:45:47', '2019-12-15 23:45:47'),
(28, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100}]', 'Тошкент', 'dfgdf', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 23:47:08', '2019-12-15 23:47:08'),
(29, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100}]', 'Тошкент', 'fdd', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 23:51:44', '2019-12-15 23:51:44'),
(30, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100}]', 'Тошкент', 'sfdfs', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 23:52:28', '2019-12-15 23:52:28'),
(31, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100}]', 'Андижон', 'fdfd', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 23:52:46', '2019-12-15 23:52:46'),
(32, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'dfg', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-15 23:56:18', '2019-12-15 23:56:18'),
(33, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100}]', 'Тошкент', 'gnf', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 06:21:57', '2019-12-16 06:21:57');
INSERT INTO `orders` (`id`, `user_id`, `cart`, `city`, `name`, `address`, `phone_number`, `email`, `message`, `payment_id`, `created_at`, `updated_at`) VALUES
(34, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":2,\"title\":\"Nokia N8\",\"slug\":\"nokia-n8\",\"text\":\"<p>Best comp</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-13 14:49:24\",\"updated_at\":\"2019-11-24 18:51:26\",\"category_id\":1,\"images\":[{\"id\":16,\"product_id\":2,\"filename\":\"hsBH1T5sGt.jpeg\",\"created_at\":\"2019-07-06 21:38:34\",\"updated_at\":\"2019-07-06 21:38:34\"},{\"id\":20,\"product_id\":2,\"filename\":\"FR9Ybhd2vF.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":21,\"product_id\":2,\"filename\":\"JFtONKiShX.jpeg\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"},{\"id\":22,\"product_id\":2,\"filename\":\"ECeoOPJ7TB.png\",\"created_at\":\"2019-07-23 21:15:07\",\"updated_at\":\"2019-07-23 21:15:07\"}],\"quantity\":1,\"totalPrice\":100},{\"id\":6,\"title\":\"Sony\",\"slug\":\"sony\",\"text\":\"<p>dssfs</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":0,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-14 09:00:18\",\"updated_at\":\"2019-11-27 15:53:46\",\"category_id\":4,\"images\":[{\"id\":102,\"product_id\":6,\"filename\":\"huSxVVajim.jpeg\",\"created_at\":\"2019-11-27 15:53:46\",\"updated_at\":\"2019-11-27 15:53:46\"},{\"id\":103,\"product_id\":6,\"filename\":\"HgCvwe2QGB.jpeg\",\"created_at\":\"2019-11-27 15:53:46\",\"updated_at\":\"2019-11-27 15:53:46\"},{\"id\":104,\"product_id\":6,\"filename\":\"1dDCppOPoT.jpeg\",\"created_at\":\"2019-11-27 15:53:46\",\"updated_at\":\"2019-11-27 15:53:46\"}],\"quantity\":1,\"totalPrice\":100}]', 'Тошкент', 'ннннн', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', 'ннннн', NULL, '2019-12-16 06:27:21', '2019-12-16 06:27:21'),
(35, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'рр', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 06:29:46', '2019-12-16 06:29:46'),
(36, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'рр', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 06:29:48', '2019-12-16 06:29:48'),
(37, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'рр', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 06:29:49', '2019-12-16 06:29:49'),
(38, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'fddf', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:34:07', '2019-12-16 11:34:07'),
(39, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'fddf', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:34:09', '2019-12-16 11:34:09'),
(40, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'fddf', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:34:10', '2019-12-16 11:34:10'),
(41, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'vsdf', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:36:51', '2019-12-16 11:36:51'),
(42, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'vsdf', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:36:53', '2019-12-16 11:36:53'),
(43, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'vsdf', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:36:54', '2019-12-16 11:36:54'),
(44, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'werw', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:43:12', '2019-12-16 11:43:12'),
(45, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'werw', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:43:14', '2019-12-16 11:43:14'),
(46, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'ewrwr', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:45:09', '2019-12-16 11:45:09'),
(47, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'ewrwr', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:45:10', '2019-12-16 11:45:10'),
(48, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'ewrwr', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:45:12', '2019-12-16 11:45:12'),
(49, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'ewrwr', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:45:13', '2019-12-16 11:45:13'),
(50, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'sfd', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:46:10', '2019-12-16 11:46:10'),
(51, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'sfd', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:46:11', '2019-12-16 11:46:11'),
(52, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'sfd', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:46:12', '2019-12-16 11:46:12'),
(53, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'sfs', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:47:56', '2019-12-16 11:47:56'),
(54, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'sfs', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:47:57', '2019-12-16 11:47:57'),
(55, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'sfs', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:47:58', '2019-12-16 11:47:58'),
(56, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'sfs', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:47:58', '2019-12-16 11:47:58'),
(57, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'sfs', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:47:59', '2019-12-16 11:47:59'),
(58, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'hgj', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:50:53', '2019-12-16 11:50:53'),
(59, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'ghjhg', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:51:34', '2019-12-16 11:51:34'),
(60, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600}]', 'Тошкент', 'jjff', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-16 11:53:13', '2019-12-16 11:53:13'),
(61, 1, '[{\"id\":1,\"title\":\"Телефоны и Смартфоны\",\"slug\":\"asus\",\"text\":\"<p>ввв</p>\",\"color\":\"red\",\"price\":600,\"discount\":10,\"hot_deals\":1,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-09 21:22:33\",\"updated_at\":\"2019-11-24 17:12:43\",\"category_id\":1,\"images\":[{\"id\":99,\"product_id\":1,\"filename\":\"aT2UlNerkM.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":100,\"product_id\":1,\"filename\":\"fIkr0xYyoX.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"},{\"id\":101,\"product_id\":1,\"filename\":\"YYyj6tME3d.jpeg\",\"created_at\":\"2019-11-24 12:16:41\",\"updated_at\":\"2019-11-24 12:16:41\"}],\"quantity\":1,\"totalPrice\":600},{\"id\":6,\"title\":\"Sony\",\"slug\":\"sony\",\"text\":\"<p>dssfs</p>\",\"color\":\"yellow\",\"price\":100,\"discount\":null,\"hot_deals\":0,\"is_new\":0,\"is_best\":1,\"is_active\":1,\"created_at\":\"2019-04-14 09:00:18\",\"updated_at\":\"2019-11-27 15:53:46\",\"category_id\":4,\"images\":[{\"id\":102,\"product_id\":6,\"filename\":\"huSxVVajim.jpeg\",\"created_at\":\"2019-11-27 15:53:46\",\"updated_at\":\"2019-11-27 15:53:46\"},{\"id\":103,\"product_id\":6,\"filename\":\"HgCvwe2QGB.jpeg\",\"created_at\":\"2019-11-27 15:53:46\",\"updated_at\":\"2019-11-27 15:53:46\"},{\"id\":104,\"product_id\":6,\"filename\":\"1dDCppOPoT.jpeg\",\"created_at\":\"2019-11-27 15:53:46\",\"updated_at\":\"2019-11-27 15:53:46\"}],\"quantity\":1,\"totalPrice\":100}]', 'Тошкент', 'Umid', 'sfsfsfsfsf', '+79516781646', '<EMAIL>', NULL, NULL, '2019-12-17 03:21:52', '2019-12-17 03:21:52');
-- --------------------------------------------------------
--
-- Структура таблицы `password_resets`
--
CREATE TABLE `password_resets` (
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Структура таблицы `products`
--
CREATE TABLE `products` (
`id` bigint(20) UNSIGNED NOT NULL,
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`text` text COLLATE utf8mb4_unicode_ci NOT NULL,
`color` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`price` int(11) DEFAULT NULL,
`discount` tinyint(1) DEFAULT NULL,
`hot_deals` tinyint(1) DEFAULT NULL,
`is_new` tinyint(1) DEFAULT NULL,
`is_best` tinyint(1) DEFAULT NULL,
`is_active` tinyint(1) NOT NULL DEFAULT '1',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`category_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Дамп данных таблицы `products`
--
INSERT INTO `products` (`id`, `title`, `slug`, `text`, `color`, `price`, `discount`, `hot_deals`, `is_new`, `is_best`, `is_active`, `created_at`, `updated_at`, `category_id`) VALUES
(1, 'Samsung Galaxy S10', 'samsung-galaxy-s10', '<p>вввIt is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', 'red', 600, 10, 1, 0, 1, 1, '2019-04-09 16:22:33', '2019-12-17 04:21:40', 18),
(6, 'Sony', 'sony', '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', 'yellow', 100, NULL, 0, 0, 1, 1, '2019-04-14 04:00:18', '2019-12-17 04:56:27', 20),
(46, '<NAME>', 'sony-xperia-10', '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', 'black', 500, NULL, 1, 1, 1, 1, '2019-12-17 04:18:17', '2019-12-17 04:18:17', 20),
(47, 'Honor 20', 'honor-20', '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', 'black', 300, NULL, 1, 1, 1, 1, '2019-12-17 04:19:53', '2019-12-17 04:19:53', 19),
(48, 'Asus Zenfone Max Pro M2', 'asus-zenfone-max-pro-m2', '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', 'blue', 400, NULL, 1, 1, 1, 1, '2019-12-17 04:24:23', '2019-12-17 04:24:23', 21),
(49, 'iPhone 11', 'iphone-11', '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', 'black', 600, NULL, 1, 1, 1, 1, '2019-12-17 04:25:36', '2019-12-17 04:25:36', 17),
(50, 'Samsung Galaxy Fit-e', 'samsung-galaxy-fit-e', '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', 'blue', 300, NULL, 1, 1, 1, 1, '2019-12-17 04:27:38', '2019-12-17 04:27:38', 31),
(51, 'Samsung Galaxy Watch Active 2', 'samsung-galaxy-watch-active-2', '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', 'yellow', 333, NULL, 1, 1, 1, 1, '2019-12-17 04:28:57', '2019-12-17 04:28:57', 31),
(52, 'Apple Watch Series 5', 'apple-watch-series-5', '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', 'pink', 400, NULL, 1, 1, 1, 1, '2019-12-17 04:30:56', '2019-12-17 04:30:56', 30),
(53, 'MSI GP75', 'msi-gp75', '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', 'black', 700, NULL, 1, 1, 1, 1, '2019-12-17 04:32:03', '2019-12-17 04:32:03', 23),
(54, 'Apple MacBook Pro 10', 'apple-macbook-pro-10', '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', 'black', 800, NULL, 1, 1, 1, 1, '2019-12-17 04:32:59', '2019-12-17 04:32:59', 22),
(55, 'Dell 3', 'dell-3', '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', 'black', 850, NULL, 1, 1, 1, 1, '2019-12-17 04:33:49', '2019-12-17 04:33:49', 25),
(56, 'Acer Predator', 'acer-predator', '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', 'black', 750, NULL, 1, 1, 1, 1, '2019-12-17 04:34:53', '2019-12-17 04:34:53', 24),
(57, 'Samsung Galaxy Tab 4', 'samsung-galaxy-tab-4', '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', 'black', 300, NULL, 1, 1, 1, 1, '2019-12-17 04:38:10', '2019-12-17 04:38:10', 26),
(58, 'Huawei T3', 'huawei-t3', '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', 'black', 250, NULL, 1, 1, 1, 1, '2019-12-17 04:39:06', '2019-12-17 04:39:06', 28),
(59, 'Apple iPad Pro 11', 'apple-ipad-pro-11', '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', 'black', 700, NULL, 1, 1, 1, 1, '2019-12-17 04:40:07', '2019-12-17 04:40:07', 29),
(60, 'Lenovo Tab 7', 'lenovo-tab-7', '<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>', 'black', 350, NULL, 1, 1, 1, 1, '2019-12-17 04:40:55', '2019-12-17 04:40:55', 27);
-- --------------------------------------------------------
--
-- Структура таблицы `subscribers`
--
CREATE TABLE `subscribers` (
`id` bigint(20) UNSIGNED NOT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(255) 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;
--
-- Дамп данных таблицы `subscribers`
--
INSERT INTO `subscribers` (`id`, `email`, `token`, `created_at`, `updated_at`) VALUES
(1, '<EMAIL>', 'Od<PASSWORD>Z3Cr9Yn4xuGETUgfOUcjmsmPWnXD9gSfiUW3oJANVr5ixODbVqSnNAovotBGx3EmCdXWAjAYSnJ6ZHX4DURVGI', '2019-12-06 03:48:02', '2019-12-06 03:48:02'),
(2, '<EMAIL>', '<KEY>', '2019-12-06 12:45:12', '2019-12-06 12:45:12'),
(3, '<EMAIL>', '<KEY>', '2019-12-06 12:46:06', '2019-12-06 12:46:06'),
(4, '<EMAIL>', '<KEY>', '2019-12-07 00:56:16', '2019-12-07 00:56:16'),
(5, '<EMAIL>', NULL, '2019-12-07 00:59:52', '2019-12-07 01:06:43'),
(6, '<EMAIL>', NULL, '2019-12-07 01:08:57', '2019-12-07 01:09:47'),
(7, '<EMAIL>', 'u19JcKurMJbXnPd3hEwEW4hWpoCpINvUOScDtfCORdI942WTmmU2d4mmCjN9DxOagxTmYkmAaa2VJNrHe3PEDQWKVEnB65wuSvlh', '2019-12-07 01:14:32', '2019-12-07 01:14:32'),
(9, '<EMAIL>', NULL, '2019-12-08 11:33:57', '2019-12-08 11:33:57'),
(10, '<EMAIL>', 'Fc4YL6pGhDEgUmnc0tgtvXyMXn2tyDlAWK8NQY8qMY79mTJ9RYLbGCNSx4Fxsiz4iuBEyr3QYpGcWE0CaCp3AQYwdbjbAgkbteOI', '2019-12-16 22:13:48', '2019-12-16 22:13:48');
-- --------------------------------------------------------
--
-- Структура таблицы `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`password` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`is_admin` int(11) NOT NULL DEFAULT '0',
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Дамп данных таблицы `users`
--
INSERT INTO `users` (`id`, `name`, `email`, `password`, `is_admin`, `remember_token`, `created_at`, `updated_at`, `phone`) VALUES
(1, 'name', '<EMAIL>', <PASSWORD>YwK76ds3DomWum.gFluu3gII<PASSWORD>ifbh.<PASSWORD>A<PASSWORD>.', 1, NULL, '2019-04-19 13:34:54', '2019-04-19 13:34:54', '+9999999999'),
(2, 'umid', '<EMAIL>', <PASSWORD>', 0, NULL, '2019-11-01 13:54:25', '2019-11-01 13:54:25', '+1234567891'),
(3, 'Фозил', '<EMAIL>', <PASSWORD>', 0, NULL, '2019-11-24 14:18:54', '2019-11-24 14:18:54', '+998971111111'),
(4, 'admin', '<EMAIL>', <PASSWORD>', 0, NULL, '2019-12-14 13:29:17', '2019-12-14 13:29:17', NULL);
--
-- Индексы сохранённых таблиц
--
--
-- Индексы таблицы `categories`
--
ALTER TABLE `categories`
ADD PRIMARY KEY (`id`);
--
-- Индексы таблицы `images`
--
ALTER TABLE `images`
ADD PRIMARY KEY (`id`),
ADD KEY `images_product_id_foreign` (`product_id`);
--
-- Индексы таблицы `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Индексы таблицы `orders`
--
ALTER TABLE `orders`
ADD PRIMARY KEY (`id`);
--
-- Индексы таблицы `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Индексы таблицы `products`
--
ALTER TABLE `products`
ADD PRIMARY KEY (`id`);
--
-- Индексы таблицы `subscribers`
--
ALTER TABLE `subscribers`
ADD PRIMARY KEY (`id`);
--
-- Индексы таблицы `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT для сохранённых таблиц
--
--
-- AUTO_INCREMENT для таблицы `categories`
--
ALTER TABLE `categories`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=32;
--
-- AUTO_INCREMENT для таблицы `images`
--
ALTER TABLE `images`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=162;
--
-- AUTO_INCREMENT для таблицы `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
--
-- AUTO_INCREMENT для таблицы `orders`
--
ALTER TABLE `orders`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=62;
--
-- AUTO_INCREMENT для таблицы `products`
--
ALTER TABLE `products`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=61;
--
-- AUTO_INCREMENT для таблицы `subscribers`
--
ALTER TABLE `subscribers`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT для таблицы `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- Ограничения внешнего ключа сохраненных таблиц
--
--
-- Ограничения внешнего ключа таблицы `images`
--
ALTER TABLE `images`
ADD CONSTRAINT `images_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`);
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
set names utf8;
drop database if exists shenye;
create database shenye;
use shenye;
create table users(id int primary key auto_increment not null,username varchar(1024),password varchar(128),email varchar(128));
/* insert into users values */
|
ALTER TABLE `alumno` ADD `def_patria` BOOLEAN NOT NULL DEFAULT FALSE AFTER `espec_discapacidad`;
ALTER TABLE `alumno` ADD `def_democracia` BOOLEAN NOT NULL DEFAULT FALSE AFTER `def_patria` |
<filename>04. Built-in Functions - Exercises/Built-in Functions - Exercise.sql
--01
SELECT FirstName, LastName FROM Employees
WHERE LEFT(FirstName, 2) = 'SA'
SELECT FirstName, LastName FROM Employees
WHERE FirstName LIKE 'SA%'
--02
SELECT FirstName, LastName FROM Employees
WHERE LastName LIKE '%EI%'
--03
SELECT FirstName FROM Employees
WHERE DepartmentID IN (3, 10) AND YEAR(HireDate) BETWEEN 1995 AND 2005
--04
SELECT FirstName, LastName FROM Employees
WHERE JobTitle NOT LIKE '%ENGINEER%'
--05
SELECT Name FROM Towns
WHERE LEN(Name) IN (5, 6)
ORDER BY Name
--06
SELECT * FROM Towns
WHERE LEFT(Name, 1) IN ('M', 'K', 'B', 'E')
ORDER BY Name
--07
SELECT * FROM Towns
WHERE LEFT(Name, 1) NOT IN ('R', 'B', 'D')
ORDER BY Name
--08
CREATE VIEW V_EmployeesHiredAfter2000 AS
SELECT FirstName, LastName FROM Employees
WHERE YEAR(HireDate) > 2000
--09
SELECT FirstName, LastName FROM Employees
WHERE LEN(LastName) = 5
--10
SELECT EmployeeID, FirstName, LastName, Salary, DENSE_RANK() OVER (PARTITION BY Salary ORDER BY EmployeeID) AS Rank FROM Employees
WHERE Salary BETWEEN 10000 AND 50000
ORDER BY Salary DESC
--11
SELECT * FROM
(SELECT EmployeeID, FirstName, LastName, Salary, DENSE_RANK() OVER (PARTITION BY Salary ORDER BY EmployeeID) AS Rank FROM Employees
WHERE Salary BETWEEN 10000 AND 50000) AS A
WHERE Rank = 2
ORDER BY Salary DESC
--12
SELECT * FROM Countries
SELECT CountryName, IsoCode FROM Countries
WHERE LEN(CountryName) - LEN(REPLACE(CountryName, 'A', '')) >= 3
ORDER BY IsoCode
SELECT CountryName, IsoCode FROM Countries
WHERE CountryName LIKE '%A%A%A%'
ORDER BY IsoCode
--13
SELECT PeakName, RiverName, LOWER(PeakName + RIGHT(RiverName, LEN(RiverName) - 1)) AS Mix from Peaks, Rivers
WHERE RIGHT(PeakName, 1) = LEFT(RiverName, 1)
ORDER BY Mix
--14
SELECT TOP(50) Name, CONVERT(VARCHAR, Start, 23) AS Start FROM Games
WHERE YEAR(Start) IN ('2011', '2012')
ORDER BY Start, Name
--15
SELECT Username, SUBSTRING(Email, CHARINDEX('@', Email) + 1, LEN(Email) - LEFT(CHARINDEX('@', Email), LEN(Email) - CHARINDEX('@', Email))+1) AS [Email Provider] FROM Users
ORDER BY [Email Provider], Username
--16
SELECT Username, IpAddress FROM Users
WHERE IpAddress LIKE '___.1%.%.___'
ORDER BY Username
--17
SELECT
[Name] AS 'Game',
CASE
WHEN DATEPART(HOUR ,Start) BETWEEN 0 AND 11 THEN 'Morning'
WHEN DATEPART(HOUR ,Start) BETWEEN 12 AND 17 THEN 'Afternoon'
WHEN DATEPART(HOUR ,Start) BETWEEN 18 AND 23 THEN 'Evening'
END AS 'Part of the Day',
CASE
WHEN Duration <= 3 THEN 'Extra Short'
WHEN Duration BETWEEN 4 AND 6 THEN 'Short'
WHEN Duration > 6 THEN 'Long'
ELSE 'Extra Long'
END AS 'Duration'
FROM Games
ORDER BY [Name], Duration
--18
SELECT ProductName, OrderDate, DATEADD(DAY, 3, OrderDate) AS [Pay Due], DATEADD(MONTH, 1, OrderDate) AS [Delivery Due] FROM Orders
--19
CREATE TABLE People(
Id INT not null PRIMARY KEY IDENTITY,
[Name] NVARCHAR(50),
Birthdate DATE
)
INSERT INTO People([Name], Birthdate)
VALUES
('Victor', '2000-12-07'),
('Steven', '1992-09-10'),
('Stephen', '1910-09-19'),
('John', '2010-01-06')
SELECT
[Name],
DATEDIFF(YEAR, Birthdate, GETDATE()) AS 'Age in Years',
DATEDIFF(MONTH, Birthdate, GETDATE()) AS 'Age in Months',
DATEDIFF(DAY, Birthdate, GETDATE()) AS 'Age in Days',
DATEDIFF(MINUTE, Birthdate, GETDATE()) AS 'Age in Minutes'
FROM People
|
<filename>resources/init.sql
-- MySQL dump 10.13 Distrib 8.0.25, for Linux (x86_64)
--
-- Host: localhost Database: crimemap
-- ------------------------------------------------------
-- Server version 8.0.25-0ubuntu0.20.04.1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!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 `crime`
--
DROP TABLE IF EXISTS `crime`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `crime` (
`id` bigint NOT NULL,
`date_of_crime` date DEFAULT NULL,
`description` varchar(255) DEFAULT NULL,
`lat` decimal(8,6) DEFAULT NULL,
`lon` decimal(8,6) DEFAULT NULL,
`district_id` bigint DEFAULT NULL,
`offense_id` bigint DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `FKqdp6vsk7qwxuy9rsss50xvsmm` (`district_id`),
KEY `FK7532ul22bcdvia1w2agemivmq` (`offense_id`),
CONSTRAINT `FK7532ul22bcdvia1w2agemivmq` FOREIGN KEY (`offense_id`) REFERENCES `offense` (`id`),
CONSTRAINT `FKqdp6vsk7qwxuy9rsss50xvsmm` FOREIGN KEY (`district_id`) REFERENCES `district` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `crime`
--
LOCK TABLES `crime` WRITE;
/*!40000 ALTER TABLE `crime` DISABLE KEYS */;
INSERT INTO `crime` VALUES (1,'2021-06-06','13-jähriger Fahrradfahrer bei Unfall verletzt - Zeugen gesucht',48.802708,9.223545,1,2),(2,'2021-01-08','Anhänger durch Brand beschädigt - Zeugen gesucht',48.813606,9.213103,1,9),(3,'2021-01-12','Auto contra Stadtbahn',48.802758,9.211173,1,2),(4,'2021-04-21','Auto fängt während der Fahrt Feuer',48.807394,9.190535,1,6),(5,'2021-01-01','Beim Abbiegen mit Stadtbahn zusammengestoßen - Zeugen gesucht',48.803145,9.217041,1,2),(6,'2021-04-01','Brand in Mehrfamilienhaus',48.809923,9.252970,1,6),(7,'2021-03-02','Einbrecher unterwegs - Zeugen gesucht',48.801557,9.220121,1,1),(8,'2021-03-09','Einbrüche in Baustellen - Zeugen gesucht',48.815855,9.187851,1,1),(9,'2021-04-16','Einbruch in Badeanstalt - Zeugen gesucht',48.810085,9.222945,1,1),(10,'2021-03-10','Einbruch in Baustelle - Zeugen gesucht',48.802758,9.211173,1,1),(11,'2021-04-16','Einbruch in Baustelle - Zeugen gesucht',48.810954,9.198856,1,1),(12,'2021-03-10','Einbruch in Büro - Zeugen gesucht',48.819050,9.239730,1,1),(13,'2021-01-07','Einbruch in Imbisswagen - Zeugen gesucht',48.801557,9.220121,1,1),(15,'2021-01-11','Fußgänger bei Unfall schwer verletzt',48.798993,9.232889,1,2),(16,'2021-05-01','Fußgängerin angefahren',48.801254,9.219995,1,2),(17,'2021-01-10','Gestohlenes Pizzafahrzeug aufgetaucht - Zeugen gesucht',48.801557,9.220121,1,3),(18,'2021-04-20','In Geschäft eingebrochen - Zeugen gesucht',48.799762,9.214113,1,1),(19,'2021-04-29','In Werkstatt eingebrochen - Zeugen gesucht',48.809228,9.211982,1,1),(20,'2021-03-10','Jugendliche von Exhibitionist belästigt - Zeugen gesucht',48.809607,9.209740,1,4),(21,'2021-03-13','<NAME> kollidiert mit Pkw - Zeugen gesucht',48.798576,9.223628,1,2),(22,'2021-04-17','Kind sexuell belästigt - Zeugen gesucht',48.808634,9.229080,1,4),(23,'2021-01-03','Küchenbrand',48.811619,9.236050,1,6),(24,'2021-02-08','Laden ausgeraubt und Bargeld erbeutet - Zeugen gesucht',48.801425,9.235567,1,3),(25,'2021-06-05','Mann schlägt auf Polizisten ein',48.806774,9.243111,1,7),(26,'2021-04-01','Marihuana in Einkaufstüten gefunden',48.815379,9.214843,1,5),(27,'2021-01-08','Mit mutmaßlich gestohlenen Kennzeichen unterwegs',48.809306,9.184029,1,3),(28,'2021-01-26','Mit Stadtbahn kollidiert',48.809227,9.219724,1,2),(29,'2021-05-23','Mit Stadtbahn zusammengestoßen',48.803145,9.217041,1,2),(30,'2021-03-17','Mit Stadtbahn zusammengestoßen',48.803145,9.217041,1,2),(31,'2021-03-01','Motorrad bei Fahrstreifenwechsel übersehen - Zeugen gesucht',48.788730,9.191701,1,2),(32,'2021-04-18','Mountainbikes gestohlen - Zeugen gesucht',48.799762,9.214113,1,3),(33,'2021-01-25','Mülleimerbrand - Zeugen gesucht',48.809923,9.252970,1,6),(35,'2021-02-24','Mutmaßlichen räuberischen Dieb vorläufig festgenommen',48.815855,9.187851,1,3),(36,'2021-03-12','Mutmaßlicher Drängler gefährdet Straßenverkehr - Zeugen gesucht',48.806774,9.243111,1,5),(37,'2021-05-29','Mutmaßlicher Rauschgifthändler vorläufig festgenommen',48.807339,9.217008,1,5),(38,'2021-05-01','<NAME> verletzt - Zeugen gesucht',48.801385,9.219976,1,3),(39,'2021-05-28','Nach Unfall mit Linienbus - Zeugen gesucht',48.771230,9.178414,1,2),(40,'2021-03-10','Pkw ausgebrannt',48.813606,9.213103,1,6),(41,'2021-02-27','Pkw kollidiert mit Stadtbahn - Zeugen gesucht',48.809227,9.219724,1,2),(42,'2021-01-03','<NAME>',48.802708,9.223545,1,3),(43,'2021-03-12','Radfahrer und Fußgängerin nach Unfall verletzt - Zeugen gesucht',48.802107,9.214985,1,2),(44,'2021-06-09','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: 29-Jähriger verletzt Polizeibeamte - Tatverdächtiger in Haft',48.813621,9.204737,1,7),(45,'2021-01-24','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Bei Arbeitsunfall tödlich verletzt',48.797321,9.212555,1,2),(46,'2021-04-05','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Bei Arbeitsunfall tödlich verletzt',48.805348,9.210368,1,2),(47,'2021-06-08','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßliche Drogenhändler festgenommen',48.804374,9.213215,1,5),(48,'2021-01-15','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßliche Drogenhändler festgenommen',48.809228,9.211982,1,5),(49,'2021-04-16','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßliche Ladendiebin festgenommen',48.798993,9.232889,1,3),(50,'2021-06-03','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlichen Rauschgifthändler nach Flucht festgenommen',48.807394,9.190535,1,5),(51,'2021-04-10','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßliche Rauschgifthändler festgenommen',48.814447,9.231202,1,5),(52,'2021-05-10','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlicher Dieb bedroht Opfer - Tatverdächtiger festgenommen',48.799762,9.214113,1,3),(53,'2021-04-23','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlicher Drogenhändler festgenommen',48.809228,9.211982,1,5),(54,'2021-03-07','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlich rabiater Ladendieb festgenommen',48.778511,9.251055,1,3),(55,'2021-04-23','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Nach Schlägereien drei Tatverdächtige ermittelt und festgenommen',48.815627,9.213579,1,7),(56,'2021-02-12','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Nach versuchter Brandstiftung - Tatverdächtige in Haft',48.801557,9.220121,1,6),(57,'2021-03-16','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Rabiater mutmaßlicher Ladendieb in Haft',48.804737,9.212101,1,3),(58,'2021-05-02','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Tankstellenräuber festgenommen - Zeugen gesucht',48.803145,9.217041,1,3),(59,'2021-05-29','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Zweimal am selben Tag festgenommen',48.787521,9.192774,1,7),(60,'2021-01-09','<NAME>',48.807394,9.190535,1,2),(61,'2021-01-17','Trickbetrüger vorläufig festgenommen',48.774215,9.180529,1,3),(62,'2021-03-20','Unfall bei Einsatzfahrt - Zeugen gesucht',48.806473,9.211952,1,2),(63,'2021-03-08','Unklarer Unfallhergang - Polizei sucht Zeugen',48.818536,9.203075,1,2),(64,'2021-03-18','Verkehrsteilnehmer gefährdet - Zeugen und Geschädigte gesucht',48.803145,9.217041,1,2),(65,'2021-05-04','<NAME> abgekommen - Zeugen gesucht',48.805812,9.231557,1,2),(66,'2021-01-20','V<NAME> abgekommen',48.809607,9.209740,1,8),(67,'2021-01-16','Wohnungsbrand im Pflegestift',48.819879,9.225116,1,6),(68,'2021-04-01','Zigaretten aus Discountmarkt gestohlen - Zeugen gesucht',48.798993,9.232889,1,1),(69,'2021-05-06','Zigarettenautomat aus Verankerung gerissen',48.829153,9.234572,1,9),(70,'2021-04-12','In Auto eingebrochen - Zeugen gesucht',48.731999,9.204863,2,1),(71,'2021-02-16','Vier Fahrzeuge nach Unfall beschädigt',48.721084,9.208466,2,2),(72,'2021-06-08','Dreiste Zigarettendiebe im Discountmarkt - Zeugen gesucht',48.781658,9.131344,3,3),(73,'2021-03-30','Einbruch in Einfamilienhaus - Zeugen gesucht',48.773691,9.123245,3,1),(74,'2021-05-28','Jugendliche berauben Passanten - Zeugen gesucht',48.778175,9.131278,3,3),(75,'2021-05-30','Kradfahrer schwer verletzt - Zeugen gesucht',48.781658,9.131344,3,2),(76,'2021-02-26','Von der Fahrbahn abgekommen',48.779773,9.125398,3,2),(78,'2021-04-11','Auto contra Linienbus - zwei Fahrgäste verletzt - Zeugen gesucht',48.741165,9.166723,4,2),(79,'2021-04-17','Autofahrer geflüchtet - Zeugen gesucht',48.754607,9.173915,4,2),(80,'2021-03-09','Auto gestohlen - Zeugen gesucht',48.746589,9.173192,4,3),(81,'2021-01-01','Fahrradfahrer nach Verkehrsunfall schwer verletzt',48.754758,9.185608,4,2),(82,'2021-01-09','In Wohnmobil und Wohnanhänger eingebrochen - Zeugen gesucht',48.744057,9.161131,4,1),(83,'2021-03-02','Mehrere Fahrzeuge aufgebrochen - Zeugen gesucht -',48.744057,9.161131,4,1),(85,'2021-03-27','Mutmaßliche Drogenhändler vorläufig festgenommen',48.755584,9.188047,4,5),(86,'2021-01-02','Mutmaßliche Rauschgifthändler vorläufig festgenommen',48.746953,9.175229,4,5),(87,'2021-02-16','Pedelec gestohlen - Zeugen gesucht',48.764449,9.167732,4,3),(88,'2021-05-06','Polizeiliche Maßnahmen aufgrund von Coronaverstößen',48.804056,9.212431,4,2),(89,'2021-03-27','Radfahrer von Pkw erfasst',48.754758,9.185608,4,2),(90,'2021-04-02','Trickdiebe erbeuten Bargeld - Zeugen gesucht',48.741165,9.166723,4,3),(91,'2021-04-05','14-Jähriger am Steuer eines gestohlenen Fahrzeugs',48.809306,9.184029,5,3),(92,'2021-02-25','45-Jähriger behindert ärztlichen Notdienst',48.817286,9.160611,5,2),(93,'2021-04-07','45-Jähriger behindert Notarzteinsatz',48.817286,9.160611,5,2),(94,'2021-02-26','Auto beschädigt und davongefahren - Zeugen gesucht',48.809188,9.154574,5,2),(95,'2021-05-05','Bei Kontrolle Rauschgift gefunden - Tatverdächtiger verletzt Polizeibeamten',48.803992,9.139499,5,5),(96,'2021-02-14','Brand',48.816942,9.169664,5,6),(97,'2021-04-08','Brand in Gaststätte',48.808802,9.147099,5,6),(98,'2021-03-23','Diebstahl aus Fahrzeug - Zeugen gesucht',48.806755,9.163754,5,3),(99,'2021-02-15','Einbrecher erbeuten Bargeld - Zeugen gesucht',48.807780,9.158027,5,1),(100,'2021-05-08','Einbrecher unterwegs - Zeugen gesucht',48.807755,9.146544,5,1),(101,'2021-04-23','E-Scooter-Fahrer schwer verletzt',48.810446,9.146189,5,2),(102,'2021-04-05','Fahrer mit Pedelec gestürzt und schwer verletzt',48.809188,9.154574,5,2),(103,'2021-04-21','Fahrzeug gestohlen - Zeugen gesucht',48.809306,9.184029,5,3),(104,'2021-02-26','Falsche Personalien bei der theoretischen Führerscheinprüfung angegeben',48.816024,9.178145,5,6),(105,'2021-02-12','Fußgänger gefährdet - Zeugen gesucht',48.812101,9.172420,5,2),(106,'2021-01-02','Handtaschenraub',48.805614,9.158277,5,3),(107,'2021-03-17','In Autos eingebrochen - Zeugen gesucht',48.809306,9.184029,5,1),(108,'2021-04-10','In Gaststätte eingebrochen - Zeugen gesucht',48.808802,9.147099,5,1),(109,'2021-02-07','In Vereinsheim eingebrochen - Zeugen gesucht',48.809132,9.137058,5,1),(110,'2021-01-15','Marihuana-Plantage im Keller gefunden',48.808802,9.147099,5,5),(111,'2021-01-21','Mehrere Autospiegel beschädigt - Zeugen und weitere Geschädigte gesucht',48.757846,9.129233,5,9),(112,'2021-03-03','Mutmaßlicher Handtaschenräuber geflüchtet - Zeugen gesucht',48.807755,9.146544,5,3),(113,'2021-03-25','Nach Weg gefragt und dann beraubt - Zeugen gesucht',48.791308,9.169875,5,3),(114,'2021-03-25','Pedelec-Fahrer bei Zusammenstoß schwer verletzt',48.815756,9.168839,5,2),(115,'2021-01-12','Pkw in Brand geraten',48.809188,9.154574,5,6),(116,'2021-02-06','Pkw von der Straße abgekommen - drei Verletzte',48.812598,9.144031,5,2),(117,'2021-04-21','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mann schlägt Frau mutmaßlich mehrmals ins Gesicht',48.803992,9.139499,5,7),(118,'2021-04-13','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mit falscher Identitätskarte ausgewiesen - 30-Jährigen festgenommen',48.816942,9.169664,5,5),(119,'2021-02-14','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mit gefälschten Dokumenten unterwegs - zwei Tatverdächtige in Haft',48.816412,9.175154,5,5),(120,'2021-02-11','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßliche Automatensprenger in Haft',48.816942,9.169664,5,5),(121,'2021-01-20','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Tatverdächtiger nach Fund von gefälschten Dokumenten in Haft',48.816942,9.169664,5,5),(122,'2021-02-12','Trickdiebe erbeuten Bargeld - Zeugen gesucht',48.809188,9.154574,5,3),(123,'2021-01-27','Trickdiebstahl - Zeugen gesucht',48.809188,9.154574,5,3),(124,'2021-03-12','Trio bei mutmaßlichem Einbruchsversuch ertappt und geflüchtet',48.808802,9.147099,5,1),(125,'2021-01-17','Vorfahrt missachtet',48.809239,9.161958,5,2),(126,'2021-02-23','Wohnungsbrand',48.809188,9.154574,5,6),(127,'2021-04-12','86-Jähriger mit Pistole bedroht - Zeugen gesucht',48.757507,9.249292,6,7),(128,'2021-02-13','Hydraulikhammer gestohlen - Zeugen gesucht',48.760903,9.257238,6,3),(129,'2021-02-06','In Büroräume eingebrochen - Zeugen gesucht',48.751597,9.262657,6,1),(130,'2021-01-23','In Büroräume eingebrochen - Zeugen gesucht',48.751597,9.262657,6,1),(131,'2021-03-26','Mehrere Gartenhäuser aufgebrochen - Zeugen gesucht',48.754170,9.225723,6,1),(132,'2021-01-05','Mit Ampelmast zusammengestoßen',48.763247,9.264223,6,2),(133,'2021-03-11','Mutmaßlicher Einbrecher vorläufig festgenommen',48.751597,9.262657,6,1),(134,'2021-04-03','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlicher Betrüger festgenommen',48.759937,9.254062,6,3),(135,'2021-01-19','Unfall mit Radfahrer - Zeugen gesucht',48.753843,9.260262,6,2),(136,'2021-04-27','Polizeieinsatz anlässlich einer Versammlung - Nachtrag',48.804977,9.214687,14,7),(137,'2021-03-10','Polizeieinsatz anlässlich einer Versammlung',48.804977,9.214687,14,8),(138,'2021-02-03','Radfahrer nach Überholvorgang gestürzt',48.745340,9.133755,18,2),(139,'2021-02-23','24-Jähriger ausgeraubt - Zeugen gesucht',48.771416,9.178920,14,3),(140,'2021-02-10','Außenspiegel und Blinker gestohlen',48.776859,9.173214,14,3),(141,'2021-01-05','Auto beschädigt - Zeugen gesucht',48.769964,9.187049,14,9),(142,'2021-03-16','Auto in Brand geraten',48.783399,9.174876,14,6),(143,'2021-03-17','Bei Arbeitsunfall lebensgefährlich verletzt',48.782018,9.184632,14,2),(144,'2021-01-10','Bei Auseinandersetzung schwer verletzt - Zeugen gesucht',48.779304,9.176476,14,7),(145,'2021-03-30','Brand',48.765018,9.176378,14,6),(146,'2021-04-11','Brand in Mehrfamilienhaus',48.765018,9.176378,14,6),(147,'2021-01-24','Bundesstraße blockiert - Zeugen und Geschädigte gesucht',48.775418,9.183498,14,6),(148,'2021-05-25','Diebstahl aus Fahrzeug - Zeugen gesucht',48.773027,9.183397,14,3),(149,'2021-03-04','Diebstahl aus Postfahrzeug - Zeugen gesucht',48.770534,9.173476,14,3),(150,'2021-01-26','Einbrecher unterwegs - Zeugen gesucht',48.771230,9.178414,14,1),(151,'2021-03-25','Einbrecher unterwegs - Zeugen gesucht',48.782300,9.181893,14,1),(152,'2021-02-18','Einbrecher unterwegs - Zeugen gesucht',48.767361,9.183205,14,1),(153,'2021-02-25','Einbrecher unterwegs - Zeugen gesucht',48.771331,9.177230,14,1),(154,'2021-04-18','Einbruch in Baustelle - Zeugen gesucht',48.775542,9.173359,14,1),(155,'2021-05-13','Einsatzgeschehen am Samstagabend',48.782300,9.181893,14,9),(156,'2021-04-09','Exhibitionist unterwegs - Zeugen gesucht',48.783045,9.181660,14,4),(157,'2021-03-25','Fahrzeug aufgebrochen - Zeugen gesucht',48.770740,9.178538,14,1),(158,'2021-04-29','Fahrzeugbrand in Tiefgarage - Zeugen gesucht',48.783887,9.179249,14,6),(159,'2021-01-09','Frauen sexuell belästigt - Zeugen und Geschädigte gesucht',48.778054,9.172360,14,4),(160,'2021-03-18','Fußgängerin und Radfahrer stoßen zusammen - Zeugen gesucht',48.764905,9.168376,14,2),(161,'2021-04-03','In Praxis eingebrochen - Zeugen gesucht',48.759995,9.161240,14,1),(162,'2021-05-18','In Tiefgarage randaliert und Brandalarm ausgelöst - Zeugen gesucht',48.777566,9.180043,14,9),(163,'2021-01-02','Jugendliche Ladendiebin wird handgreiflich',48.782300,9.181893,14,3),(164,'2021-03-16','Jugendlicher bei mutmaßlichem Raub schwer verletzt - Zeugen gesucht',48.782300,9.181893,14,3),(165,'2021-04-11','Jugendliche sexuell belästigt und 32-jährige Helferin geschlagen',48.781769,9.180655,14,4),(166,'2021-03-23','<NAME> sexuell belästigt',48.781308,9.176896,14,4),(167,'2021-02-12','Ladendiebe geflüchtet - Zeugen gesucht',48.782300,9.181893,14,3),(168,'2021-04-07','Mann beraubt - Zeugen gesucht',48.783887,9.179249,14,3),(169,'2021-03-15','Mann überfallen - Zeugen gesucht',48.778136,9.167839,14,3),(170,'2021-05-04','Mann von zwei Tätern ausgeraubt - Zeugen gesucht',48.773081,9.180613,14,3),(171,'2021-02-09','<NAME> regeln - Zeugen gesucht',48.775418,9.183498,14,7),(172,'2021-01-02','Mann zu Boden geschlagen - Zeugen gesucht',48.772885,9.182605,14,7),(173,'2021-05-15','Mutmaßliche Graffitisprayer vorläufig festgenommen',48.773828,9.177569,14,9),(174,'2021-02-19','<NAME> stiehlt aus Transporter und flüchtet - Zeugen gesucht',48.774464,9.173647,14,3),(175,'2021-01-29','<NAME> festgenommen',48.767361,9.183205,14,5),(176,'2021-04-04','<NAME> bedroht Passanten und hält Fahrzeuge an - Zeugen und Geschädigte gesucht',48.775645,9.187896,14,7),(177,'2021-05-27','<NAME> wehrt sich gegen vorläufige Festnahme - Umstehende solidarisieren sich',48.790673,9.183055,14,7),(178,'2021-01-19','<NAME> wehrt sich gegen Kontrolle',48.787512,9.182094,14,8),(179,'2021-01-08','Mutmaßlich medizinischer Notfall im Straßenverkehr - Zeugen gesucht',48.782884,9.187576,14,2),(180,'2021-01-13','Nach Auseinandersetzung bestohlen - Zeugen gesucht',48.771413,9.165970,14,3),(181,'2021-03-27','Nach mutmaßlicher Bedrohung - 30-Jährigen vorläufig festgenommen',48.776613,9.185802,14,7),(182,'2021-04-29','<NAME> geflüchtet - Zeugen gesucht',48.772404,9.180002,14,3),(183,'2021-03-22','Nächtliche Zusammenkunft in Tiefgarage',48.784161,9.178604,14,7),(184,'2021-02-23','Nach vorläufiger Festnahme - Polizeibeamte attackiert',48.775021,9.171789,14,7),(185,'2021-06-02','Offenbar gestohlene Taschen lösen Polizeieinsatz aus',48.774464,9.173647,14,3),(186,'2021-02-25','Parfum gestohlen',48.782300,9.181893,14,3),(187,'2021-04-18','Passantin ausgeraubt - Zeugen gesucht',48.773027,9.183397,14,3),(188,'2021-04-02','Polizeieinsatz in der Innenstadt',48.782300,9.181893,14,9),(189,'2021-03-06','Rabiater 34-Jähriger versprüht Reizgas',48.764905,9.168376,14,7),(190,'2021-01-27','Rabiater 42-Jähriger beschädigt mutmaßlich Stadtbahn',48.775577,9.182998,14,9),(191,'2021-01-26','<NAME> vorläufig festgenommen',48.782300,9.181893,14,3),(192,'2021-03-08','<NAME> geflüchtet -Zeugen gesucht',48.774086,9.187123,14,3),(193,'2021-02-22','<NAME> vorläufig festgenommen',48.775645,9.187896,14,3),(194,'2021-03-09','Raub - Zeugen gesucht',48.782300,9.181893,14,3),(195,'2021-03-13','Rollerfahrer schwer verletzt',48.809306,9.184029,14,2),(196,'2021-06-02','Sicherheitspersonal von Exhibitionist belästigt - Zeugen gesucht',48.787512,9.182094,14,4),(197,'2021-05-01','Staatsanwaltschaft und Polizei geben bekannt: 16-Jähriger schwer verletzt - Zeugen gesucht',48.782300,9.181893,14,7),(198,'2021-01-23','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Manipulationswerkzeuge gefunden - Tatverdächtige in Haft',48.781769,9.180655,14,9),(199,'2021-04-12','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mit Falschgeld bezahlt - Tatverdächtiger festgenommen',48.775021,9.171789,14,3),(200,'2021-02-21','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mit Haftbefehl gesuchter rabiater Ladendieb festgenommen',48.773885,9.171880,14,3),(201,'2021-04-10','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mit Messer verletzt - 17-jähriger Tatverdächtiger ermittelt und festgenommen',48.774086,9.187123,14,7),(202,'2021-04-21','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßliche Diebe festgenommen',48.773027,9.183397,14,3),(203,'2021-05-07','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßliche Drogenhändler festgenommen',48.783887,9.179249,14,5),(204,'2021-04-28','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßliche Ladendiebe festgenommen',48.782300,9.181893,14,3),(205,'2021-05-12','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßliche Ladendiebin festgenommen',48.774215,9.180529,14,3),(206,'2021-04-17','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlichen Drogenhändler festgenommen',48.778323,9.170128,14,5),(207,'2021-02-20','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlichen Flaschenwerfer festgenommen',48.777566,9.180043,14,9),(208,'2021-04-12','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlichen Ladendieb auf frischer Tat ertappt',48.782300,9.181893,14,3),(209,'2021-01-30','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlichen Ladendieb auf frischer Tat ertappt und festgenommen',48.782300,9.181893,14,3),(210,'2021-01-18','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlichen Ladendieb festgenommen',48.782300,9.181893,14,3),(211,'2021-05-14','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlichen Ladendieb nach kurzer Flucht festgenommen',48.782300,9.181893,14,3),(212,'2021-03-15','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlichen rabiaten Ladendieb festgenommen',48.782300,9.181893,14,3),(213,'2021-02-10','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlichen rabiaten Ladendieb festgenommen',48.782300,9.181893,14,3),(214,'2021-05-11','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßliche Rauschgifthändler festgenommen',48.778323,9.170128,14,5),(215,'2021-01-13','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlicher Drogenhändler festgenommen',48.773081,9.180613,14,5),(216,'2021-06-04','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlicher Ladendieb festgenommen',48.782300,9.181893,14,3),(217,'2021-03-02','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlicher Ladendieb in Haft',48.782300,9.181893,14,3),(218,'2021-02-03','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlicher Rauschgifthändler festgenommen',48.783045,9.181660,14,5),(219,'2021-04-22','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlicher Rauschgifthändler festgenommen',48.787512,9.182094,14,5),(220,'2021-03-17','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlicher Rauschgifthändler festgenommen',48.775282,9.171523,14,5),(221,'2021-06-08','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlicher Rauschgifthändler festgenommen',48.775577,9.182998,14,5),(222,'2021-03-28','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlicher Urkundenfälscher festgenommen',48.773081,9.180613,14,5),(223,'2021-04-12','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Rabiater Dieb bestiehlt und bedroht Straßenmusiker - Zeugen gesucht',48.782300,9.181893,14,3),(224,'2021-03-17','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Rabiater Ladendieb festgenommen - Zeugen gesucht',48.781769,9.180655,14,3),(225,'2021-05-20','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Tatverdächtiger nach Messerangriff in Haft',48.777566,9.180043,14,7),(226,'2021-03-03','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Verschreibungspflichtige Medikamente weiterverkauft',48.770587,9.172468,14,5),(227,'2021-01-04','Tabakautomat aufgebrochen - Täterfestnahme',48.777865,9.169305,14,1),(228,'2021-02-05','Unbekannte versucht Kind aus Kinderwagen zu nehmen - Zeugen gesucht',48.783045,9.181660,14,3),(229,'2021-03-29','Unfall beim Spurwechsel - Verletzte Frau gesucht',48.784161,9.178604,14,2),(230,'2021-04-19','Unfallflucht - Zeugen gesucht',48.783488,9.167923,14,2),(231,'2021-02-06','Unfall mit drei Radfahrern - Zeugen gesucht',48.775463,9.182259,14,2),(232,'2021-02-03','Vor Kontrolle geflüchtet und Widerstand geleistet',48.783929,9.178750,14,8),(233,'2021-02-06','16-Jährige stürzt von Wavescooter',48.725154,9.160195,7,2),(234,'2021-04-17','Autofahrer flüchtet nach Unfall mit Pedelec - Zeugen gesucht',48.727299,9.149848,7,2),(235,'2021-06-08','Autoreifen zerstochen - Zeugen und weitere Geschädigte gesucht',48.719426,9.153088,7,9),(236,'2021-06-05','Brand in Mehrfamilienhaus',48.730193,9.146655,7,6),(237,'2021-02-02','Brand in Zweifamilienhaus',48.722781,9.141943,7,6),(238,'2021-05-17','Drei Autos und Stromverteilerkasten beschädigt - Zeugen gesucht',48.726051,9.146396,7,2),(239,'2021-04-24','Entwendeter Pkw wieder aufgefunden - Zeugen gesucht',48.726051,9.146396,7,3),(240,'2021-05-03','Erst Starthilfe erhalten, dann geflüchtet - Zeugen gesucht',48.723799,9.156907,7,2),(241,'2021-04-09','Exhibitionist aufgetreten - Zeugen gesucht',48.729228,9.130042,7,4),(242,'2021-05-25','Fahrradfahrer schwer verletzt',48.843363,9.231590,7,2),(243,'2021-02-07','Fahrzeug überschlagen',48.717707,9.144185,7,2),(244,'2021-05-15','Gegenverkehr mutmaßlich gefährdet - Zeugen und Geschädigte gesucht',48.727299,9.149848,7,2),(245,'2021-04-02','Geldbeutel unbemerkt erbeutet - Zeugen gesucht',48.723799,9.156907,7,3),(246,'2021-06-02','In Autos eingestiegen - Zeugen gesucht',48.720318,9.146662,7,3),(247,'2021-02-17','In Jugendhaus eingebrochen - Zeugen gesucht',48.709918,9.158467,7,1),(248,'2021-05-08','Jugendlicher ausgeraubt - Zeugen gesucht',48.734243,9.151906,7,3),(249,'2021-03-14','Kleintraktor unberechtigt benutzt - Zeugen gesucht',48.726051,9.146396,7,9),(250,'2021-01-30','Mit gestohlenem Fahrzeug vor der Polizei geflüchtet-Tatverdächtige festgenommen',48.721554,9.157855,7,3),(251,'2021-06-07','Mit gestohlenem Fahrzeug vor der Polizei geflüchtet-Zeugen gesucht',48.726093,9.137519,7,3),(252,'2021-05-09','Mutmaßlich gestohlenen Traktor wieder gefunden - Zeugen gesucht',48.725343,9.142211,7,3),(253,'2021-03-14','Nach Diebstahl von Wohnmobil - Fahrzeug aufgefunden',48.729734,9.143459,7,3),(254,'2021-03-01','Nach Unfall geflüchtet - Zeugen gesucht',48.725642,9.152202,7,2),(255,'2021-05-25','Nach Unfall geflüchtet - Zeugen gesucht',48.729228,9.130042,7,2),(256,'2021-05-15','Offenbar Vorfahrt missachtet - zwei Personen verletzt',48.723463,9.125345,7,2),(257,'2021-05-14','Räumfahrzeug in Graben gekippt - Glätteunfälle im Stadtgebiet',48.701203,9.210314,7,2),(258,'2021-01-26','Rollerfahrer schwer verletzt - Zeugen gesucht',48.729228,9.130042,7,2),(259,'2021-01-03','Seniorin betrogen',48.733737,9.138723,7,3),(260,'2021-03-29','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Lkw-Fahrer tödlich verletzt',48.727630,9.130799,7,2),(261,'2021-03-07','Traktor entwendet - Zeugen gesucht',48.725343,9.142211,7,3),(262,'2021-03-30','Verkehrsteilnehmer gefährdet - Zeugen gesucht',48.725642,9.152202,7,2),(263,'2021-01-30','Wer hatte grün? - Unfallzeugen gesucht',48.728489,9.130747,7,2),(264,'2021-05-16','Wer hatte grün? - Zeugen gesucht',48.720365,9.129569,7,2),(265,'2021-05-23','Wohnmobil gestohlen - Zeugen gesucht',48.729734,9.143459,7,3),(266,'2021-02-19','Automatenaufbruch gescheitert - Zeugen gesucht',48.828473,9.211533,8,3),(267,'2021-04-13','Einbrecher unterwegs - Zeugen gesucht',48.834840,9.235990,8,1),(268,'2021-03-08','Fenster an Schule eingeworfen - Zeugen gesucht',48.843971,9.211352,8,9),(269,'2021-02-27','Feuerwehrfahrzeug behindert - Zeugen gesucht',48.842152,9.233105,8,6),(270,'2021-03-25','Gartenhäuser aufgebrochen - Zeugen gesucht',48.840942,9.235272,8,1),(271,'2021-05-12','Kleinkrafträder und E-Scooter gestohlen - Zeugen gesucht',48.839252,9.205663,8,3),(272,'2021-04-29','Mutmaßliches Diebesgut aufgefunden - Eigentümer gesucht',48.838964,9.231495,8,3),(273,'2021-05-11','N<NAME> gegen Baum gefahren - Zeugen gesucht',48.842152,9.233105,8,2),(274,'2021-05-08','Pedelec gestohlen - Zeugen gesucht',48.839252,9.205663,8,3),(275,'2021-03-18','Pkw kollidiert mit Stadtbahn - Zeugen gesucht',48.828473,9.211533,8,2),(276,'2021-01-22','Rabiaten mutmaßlichen Ladendieb vorläufig festgenommen',48.842152,9.233105,8,3),(277,'2021-01-14','Rauschgifthändler vorläufig festgenommen',48.843560,9.215600,8,5),(278,'2021-02-11','Rollerfahrerin bei Unfall leicht verletzt - Zeugen gesucht',48.843971,9.211352,8,2),(279,'2021-01-14','Trickdiebe unterwegs - Zeugen und Geschädigte gesucht',48.832695,9.229445,8,3),(280,'2021-04-23','Unbekannter belästigt Frauen - Zeugen gesucht',48.843971,9.211352,8,4),(281,'2021-05-03','Wohnungseinbruch - Zeugen gesucht',48.834165,9.204760,8,1),(282,'2021-01-23','Mehrere Kanaldeckel aus Straße gehoben - Zeugen gesucht',48.820700,9.226492,9,9),(283,'2021-02-03','Roller gestohlen - Zeugen gesucht',48.819989,9.222629,9,3),(284,'2021-01-30','18-Jährige sexuell belästigt - Zeugen gesucht',48.783045,9.181660,15,4),(285,'2021-03-09','Einbrecher unterwegs - Zeugen gesucht',48.792461,9.157313,15,1),(286,'2021-01-08','Einbrecher unterwegs - Zeugen gesucht',48.787228,9.168338,15,1),(287,'2021-01-28','Einbrecher unterwegs - Zeugen gesucht',48.796283,9.179769,15,1),(288,'2021-04-16','Fahrer eines E-Scooter bei Zusammenstoß schwer verletzt',48.775103,9.136649,15,2),(289,'2021-02-06','Fahrzeug gestohlen - Zeugen gesucht',48.804959,9.188140,15,3),(290,'2021-02-16','Frau von Exhibitionist belästigt - Zeugen gesucht',48.804546,9.189624,15,4),(291,'2021-06-10','Handy geraubt - Zeugen gesucht',48.809306,9.184029,15,3),(292,'2021-02-13','Hund bei Verkehrsunfall getötet, Verursacher geflüchtet - Zeugen gesucht',48.804546,9.189624,15,2),(293,'2021-03-03','In Baucontainer eingebrochen - Zeugen gesucht',48.797220,9.193096,15,1),(294,'2021-04-18','Küchenbrand',48.808504,9.180266,15,6),(295,'2021-05-21','Marihuana angebaut - Tatverdächtiger festgenommen',48.792930,9.183878,15,5),(296,'2021-05-16','Mit gestohlenem Kennzeichen unterwegs und Unfall verursacht - Zeugen gesucht',48.790105,9.174897,15,3),(297,'2021-05-15','Mountainbike und Pedelec gestohlen - Zeugen gesucht',48.792930,9.183878,15,3),(298,'2021-02-06','Mutmaßliche Diebe vorläufig festgenommen - Zeugen und weitere Geschädigte gesucht',48.792002,9.161019,15,3),(299,'2021-04-05','Mutmaßlichen Dieb vorläufig festgenommen',48.778287,9.147788,15,3),(300,'2021-06-04','Mutmaßlichen Räuber vorläufig festgenommen',48.798209,9.182027,15,3),(301,'2021-04-29','Mutmaßlicher Rauschgifthändler vorläufig festgenommen',48.804546,9.189624,15,5),(302,'2021-03-09','Rabiater 21-Jähriger mutmaßlich ohne Fahrschein unterwegs',48.797279,9.193994,15,7),(303,'2021-01-10','Rabiater Autofahrer fährt drei Mitarbeiter der Abfallwirtschaft Stuttgart an und flüchtet',48.788576,9.170549,15,2),(304,'2021-04-18','Rotlichtüberwachung',48.809306,9.184029,15,5),(305,'2021-01-25','Stein auf Autos geworfen - Zeugen gesucht',48.804546,9.189624,15,9),(306,'2021-02-04','Trickdieb unterwegs - Zeugen gesucht',48.801218,9.175039,15,3),(307,'2021-02-10','Unklarer Unfallhergang - Polizei sucht Zeugen',48.804546,9.189624,15,2),(308,'2021-02-19','Unklarer Unfallhergang - Zeugen gesucht',48.809306,9.184029,15,2),(309,'2021-06-05','Wer hatte Grün? - Zeugen gesucht',48.809306,9.184029,15,2),(310,'2021-01-20','Wohnungseinbrecher unterwegs - Zeugen gesucht',48.805369,9.189458,15,1),(311,'2021-01-03','Taschendieb macht Beute - Zeugen gesucht',48.763665,9.268288,10,3),(312,'2021-06-08','31-Jähriger bei Auseinandersetzung leicht verletzt - Zeugen gesucht',48.763665,9.268288,10,7),(313,'2021-04-11','Körperliche Auseinandersetzung zwischen mehreren Personen',48.763665,9.268288,10,9),(314,'2021-01-18','Pedelec mit Pkw zusammengestoßen - Zeugen gesucht',48.775862,9.279279,10,2),(316,'2021-03-28','Vor Kontrolle geflüchtet und Widerstand geleistet',48.762440,9.270779,10,8),(317,'2021-02-08','Vor Kontrolle geflüchtet und Widerstand geleistet',48.762440,9.270779,10,8),(318,'2021-04-03','Auto gestohlen - Zeugen gesucht',48.778864,9.207207,16,3),(319,'2021-02-25','Beim Einparken offenbar Gas-und Bremspedal verwechselt - Eine Leichtverletzte',48.779333,9.203167,16,2),(320,'2021-03-02','Bewohner überrascht Einbrecher - Zeugen gesucht',48.787879,9.207696,16,1),(321,'2021-01-30','Brand in Lagerraum',48.790739,9.208027,16,6),(322,'2021-01-30','Containerbrand - Zeugen gesucht',48.797216,9.209555,16,6),(323,'2021-01-12','Diebstahl aus Fahrzeug - Zeugen gesucht',48.777581,9.194377,16,3),(324,'2021-02-25','Einbrecher unterwegs - Zeugen gesucht',48.787521,9.192774,16,1),(325,'2021-03-04','Einbrecher unterwegs - Zeugen gesucht',48.779685,9.202711,16,1),(326,'2021-05-24','Einbruch in Baustelle - Zeugen gesucht',48.790739,9.208027,16,1),(327,'2021-03-15','Exhibitionist belästigt Jugendliche - Zeugen gesucht',48.785907,9.207657,16,4),(328,'2021-01-24','Fahrzeugbatterien und Kompletträder gestohlen - Zeugen gesucht',48.784171,9.219678,16,3),(329,'2021-02-08','Fußgänger angefahren',48.779871,9.204886,16,2),(330,'2021-01-27','Jugendlicher von zwei Tätern ausgeraubt',48.783983,9.207785,16,3),(331,'2021-05-15','Kind kreuzt Fahrspur - Fahrradfahrerin gestürzt - Zeugen gesucht',48.788730,9.191701,16,2),(332,'2021-04-29','Manipulation an Bankautomat - Präventionstipps der Polizei',48.789555,9.206976,16,3),(333,'2021-01-02','Mann greift offenbar mitten auf der Straße Polizeibeamte an - Zeugen gesucht',48.782581,9.188485,16,7),(334,'2021-05-25','Mülltonne und Kleinkraftrad in Brand gesetzt',48.787521,9.192774,16,6),(335,'2021-01-30','Mutmaßlichen Rauschgifthändler vorläufig festgenommen',48.787512,9.182094,16,7),(336,'2021-05-01','Neunjährige nach Sturz schwer verletzt',48.788900,9.210527,16,2),(337,'2021-01-22','Neunjähriger geschlagen - Zeugen gesucht',48.781620,9.203619,16,7),(338,'2021-06-10','Polizei warnt vor Betrugsmasche mit minderwertigen Uhren',48.778009,9.194025,16,3),(339,'2021-04-08','Schlägerei - Zeugen gesucht',48.785907,9.207657,16,7),(340,'2021-04-13','Staatsanwaltschaft Heilbronn und Polizei Stuttgart geben bekannt: 19-Jähriger greift Arbeiter mit Messer an',48.766560,9.200488,16,3),(341,'2021-02-03','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlichen Brandstifter festgenommen',48.788900,9.210527,16,6),(342,'2021-03-19','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßliche Trickdiebinnen festgenommen',48.787521,9.192774,16,3),(343,'2021-04-23','Trickdiebe unterwegs - Zeugen und weitere Geschädigte gesucht',48.794772,9.206537,16,3),(344,'2021-01-05','Trickdieb unterwegs - Zeugen gesucht',48.782053,9.216964,16,3),(345,'2021-04-29','Unfall mit zwei Radfahrerinnen - Zeugen gesucht',48.782581,9.188485,16,2),(346,'2021-05-23','Von Unfallstelle geflüchtet - Zeugen gesucht',48.789555,9.206976,16,2),(347,'2021-01-22','Wohnungseinbrecher unterwegs - Zeugen gesucht',48.761790,9.224503,16,1),(348,'2021-03-12','Einbrecher unterwegs - Zeugen gesucht',48.701162,9.220676,11,1),(349,'2021-02-03','Fahrradfahrerin bei Unfall schwer verletzt',48.697010,9.219143,11,2),(350,'2021-02-06','Geldautomatenaufbrecher unterwegs - Zeugen gesucht',48.703726,9.217494,11,9),(351,'2021-06-01','Lkw mit Ladekran umgekippt',48.716291,9.201206,11,2),(352,'2021-06-04','Offenbar Rotlicht missachtet - Kradlenker schwer verletzt',48.700545,9.202936,11,2),(353,'2021-04-01','Seniorin angefahren und schwer verletzt',48.703580,9.208498,11,2),(354,'2021-04-12','Einbrecher unterwegs - Zeugen gesucht',48.743330,9.217252,12,1),(355,'2021-03-07','Handtasche geraubt - Zeugen gesucht',48.726439,9.211072,12,3),(356,'2021-03-31','Mutmaßliche Fahrraddiebe vorläufig festgenommen - Zeugen gesucht',48.739474,9.211341,12,3),(357,'2021-02-05','Mutmaßlicher Fahrraddieb vorläufig festgenommen - Fahrradeigentümer gesucht',48.764905,9.168376,12,3),(358,'2021-05-07','Mutmaßlich medizinischer Notfall im Straßenverkehr',48.740689,9.227362,12,2),(359,'2021-03-14','Ohne Fahrschein unterwegs - Jugendlicher wehrt sich gegen Kontrolle',48.777710,9.190321,12,5),(360,'2021-02-05','Pedelec-Fahrer bei Zusammenstoß schwer verletzt',48.757107,9.191092,12,2),(361,'2021-04-20','Pkw ausgebrannt',48.757107,9.191092,12,9),(362,'2021-04-21','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßliche Rauschgifthändler festgenommen',48.738357,9.228789,12,5),(363,'2021-01-18','Unbekannte rauben Bargeld - Zeugen gesucht',48.757107,9.191092,12,3),(364,'2021-02-11','Gestürzter Radfahrer schwer verletzt',48.847905,9.155089,13,2),(365,'2021-05-07','Pkw mutmaßlich alleinbeteiligt von Fahrbahn abgekommen',48.849087,9.157431,13,2),(366,'2021-05-02','Rabiater mutmaßlicher Einbrecher geflüchtet - Zeugen gesucht',48.850163,9.154809,13,1),(367,'2021-04-28','Roller gestohlen - Zeugen gesucht',48.849000,9.163882,13,3),(368,'2021-03-15','Tresor entwendet - Zeugen gesucht',48.835042,9.151742,13,1),(369,'2021-01-26','Der Startschuss für die präventive Videoüberwachung fällt - Kameras gehen in Betrieb',48.777566,9.180043,14,4),(370,'2021-05-17','Erfolgreiche Kontrollen zur Bekämpfung von Zweiraddiebstählen',48.794997,9.202136,14,3),(371,'2021-04-15','Nach Autodiebstahl und Unfallflucht - Tatverdächtigen vorläufig festgenommen - Zeugen gesucht',48.775583,9.237502,14,3),(372,'2021-03-03','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Falschen Heizungsmonteur festgenommen',48.731573,9.150306,14,1),(373,'2021-02-12','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlichen Räuber festgenommen - Zeugen gesucht',48.783045,9.181660,14,3),(374,'2021-04-04','Unbekannte versucht Kind aus Kinderwagen zu nehmen - Tatverdächtige ermittelt und vorläufig festgenommen',48.783045,9.181660,14,4),(375,'2021-02-17','49-Jähriger onaniert offenbar in der Öffentlichkeit - Tatverdächtiger vorläufig festgenommen',48.757846,9.129233,17,4),(376,'2021-04-27','Auffahrunfall - Zeugen gesucht',48.765637,9.115046,17,2),(377,'2021-04-16','Auto durchsucht und geflüchtet - Zeugen gesucht',48.740500,9.118391,17,3),(378,'2021-05-01','Auto kollidiert mit Zahnradbahn',48.762166,9.165010,17,2),(379,'2021-06-08','Autos aufgebrochen - Zeugen gesucht',48.760524,9.169926,17,1),(380,'2021-04-11','Autos zerkratzt - Zeugen und weitere Geschädigte gesucht',48.739157,9.131378,17,9),(381,'2021-04-23','Baumaschinenbrand - Zeugen gesucht',48.765755,9.162759,17,6),(382,'2021-05-15','Brand in leerstehendem Haus - Zeugen gesucht',48.757152,9.146015,17,6),(383,'2021-02-24','Einbrecher unterwegs - Zeugen gesucht',48.823264,9.118105,17,1),(384,'2021-05-29','Einbruch in Theater - Zeugen gesucht',48.763624,9.168178,17,1),(385,'2021-03-29','Fußgänger angefahren und anschließend geflüchtet - Zeugen gesucht -',48.758295,9.173399,17,2),(386,'2021-03-17','Glatteisunfall',48.763163,9.169882,17,2),(387,'2021-01-27','Graffitisprayer auf frischer Tat ertappt',48.764905,9.168376,17,9),(388,'2021-02-07','Ladung Verloren',48.754500,9.159773,17,2),(389,'2021-06-07','Mit Softairpistole hantiert - Zeugen gesucht',48.757152,9.146015,17,8),(390,'2021-05-27','Mutmaßlicher Unfallverursacher geflüchtet',48.767361,9.183205,17,2),(391,'2021-02-11','Nach Unfall geflüchtet - Zeugen gesucht',48.771331,9.177230,17,2),(392,'2021-03-03','Polizeieinsatz nach mutmaßlicher Bedrohung',48.762697,9.176876,17,7),(393,'2021-04-01','Rauch in Gartenhütte - Zwei Leichtverletzte',48.766400,9.169439,17,6),(394,'2021-03-15','Sachbeschädigungen durch Graffiti - Zeugen und Geschädigte gesucht',48.762432,9.164900,17,9),(395,'2021-02-21','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Nach Griff in Kasse - Rabiater Tatverdächtiger festgenommen',48.771576,9.181425,17,3),(396,'2021-06-04','Unbekannte beschädigten Zaun - Zeugen gesucht',48.765637,9.115046,17,9),(397,'2021-04-23','Unbekannter schlägt 16-Jährigen ins Gesicht - Zeugen gesucht',48.764449,9.167732,17,3),(398,'2021-01-31','Wohnungseinbruch mit hohem Schaden- Zeugen gesucht',48.773455,9.187294,17,1),(399,'2021-02-20','Auto mit Kind zusammengestoßen - Polizei sucht Unfallbeteiligte und Zeugen',48.778423,9.251804,19,2),(400,'2021-01-02','Einbruch in Gartenhaus',48.793019,9.259647,19,1),(401,'2021-02-02','Gartenhütte abgebrannt - Zeugen gesucht',48.782735,9.270432,19,6),(402,'2021-02-21','Lastwagenfahrer verursacht offenbar unter Alkoholeinfluss mehrere Unfälle',48.777182,9.255879,19,2),(403,'2021-05-07','Mit offenbar gefälschten Führerscheinen unterwegs',48.763665,9.268288,19,8),(404,'2021-06-04','Mutmaßlich in Gartenhäuser eingebrochen - Zeugen gesucht',48.763665,9.268288,19,1),(405,'2021-03-07','Offenbar Rotlicht missachtet',48.778511,9.251055,19,2),(406,'2021-05-11','Sachbeschädigungen durch Graffiti - Zeugen gesucht',48.778053,9.251795,19,9),(407,'2021-04-05','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlichen rabiaten Dieb festgenommen',48.780768,9.250389,19,3),(408,'2021-03-05','Stadtbahn kollidiert mit Lastwagen',48.778511,9.251055,19,2),(409,'2021-05-16','13-Jährige attackiert - Zeugen gesucht',48.777271,9.179009,20,7),(410,'2021-03-05','18-jährige belästigt - Zeugen gesucht',48.720670,9.092613,20,4),(411,'2021-05-14','BMW verfolgt Rettungswagen - Zeugen und mögliche Geschädigte gesucht',48.718081,9.119995,20,2),(412,'2021-04-30','Brand an Gasleitung',48.731263,9.107382,20,6),(413,'2021-01-28','Brand',48.751292,9.102572,20,6),(414,'2021-02-12','Einbrecher unterwegs - Zeugen gesucht',48.732901,9.120185,20,1),(415,'2021-04-14','Einbrüche in Mehrfamilienhäuser - Zeugen gesucht',48.729518,9.101519,20,1),(416,'2021-05-30','Ein Schwerverletzter nach Brand in Mehrfamilienhaus',48.729865,9.118522,20,6),(417,'2021-04-24','Fahrzeug gestohlen - Zeugen gesucht',48.735516,9.105263,20,3),(418,'2021-02-18','Garagenbrand',48.724201,9.092666,20,6),(419,'2021-03-24','In Mensa eingebrochen - Zeugen gesucht',48.751292,9.102572,20,1),(420,'2021-05-01','In Mensa eingebrochen - Zeugen gesucht',48.751292,9.102572,20,1),(421,'2021-01-20','In Postfiliale eingebrochen - Zeugen gesucht',48.716481,9.105084,20,1),(422,'2021-01-14','In Schule eingebrochen - Zeugen gesucht',48.729663,9.102915,20,1),(423,'2021-02-17','Mit gefälschten Dokumenten unterwegs',48.716215,9.114306,20,5),(424,'2021-01-18','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Senior auf Abwegen',48.739274,9.094179,20,2),(425,'2021-03-28','Unfallbeteiligter gesucht',48.731903,9.090147,20,2),(426,'2021-04-01','Unfall mit Rettungswagen',48.729228,9.130042,20,2),(427,'2021-01-08','Von der Fahrbahn abgekommen und mehrere Autos beschädigt',48.728982,9.109739,20,2),(428,'2021-01-28','Auf Auto eingeschlagen - Zeugen gesucht',48.768557,9.247654,21,7),(429,'2021-02-05','Auto gestohlen - Zeugen gesucht',48.775583,9.237502,21,3),(430,'2021-05-16','Gegen Polizeiauto gefahren - Lastwagenfahrer bemerkt Unfall offenbar nicht',48.776153,9.242139,21,2),(431,'2021-04-12','Kind nach Unfall mit Lastwagen schwer verletzt - Zeugen gesucht',48.775599,9.237392,21,2),(432,'2021-02-27','Nach Unfallflucht in Gartengrundstück abgerutscht',48.768557,9.247654,21,2),(433,'2021-01-06','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlichen Einbrecher auf frischer Tat ertappt',48.775599,9.237392,21,1),(434,'2021-01-08','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßliche Rauschgifthändler festgenommen',48.771692,9.245156,21,5),(435,'2021-02-21','Von Unfallstelle geflüchtet - Zeugen gesucht',48.772258,9.239363,21,2),(436,'2021-05-09','Wer hatte Grün? - Zeugen gesucht',48.760903,9.257238,21,2),(437,'2021-04-25','Auto contra Fußgängerin - 43-Jährige verletzt',48.803639,9.096593,22,2),(438,'2021-02-25','Einbrecher unterwegs - Zeugen gesucht',48.826057,9.131440,22,1),(439,'2021-05-22','Einbruch in Tankstelle - Zeugen gesucht',48.814224,9.128037,22,1),(440,'2021-05-21','Exhibitionist belästigt Familie mit Kinder - Zeugen gesucht',48.787378,9.083147,22,4),(441,'2021-04-03','Fahrzeug gestohlen - Zeugen gesucht',48.820201,9.105758,22,3),(442,'2021-01-05','Fußgänger und Radfahrer nach Unfall verletzt',48.814224,9.128037,22,2),(443,'2021-03-20','In Auto eingebrochen - Zeugen gesucht',48.818350,9.097392,22,1),(444,'2021-05-14','In Bäckerei eingebrochen - Zeugen gesucht',48.803639,9.096593,22,1),(445,'2021-06-04','Kradfahrer mutmaßlich alleinbeteiligt gestürzt',48.823607,9.113385,22,2),(446,'2021-04-18','Ladung verloren',48.823184,9.092938,22,2),(447,'2021-04-16','Mutmaßlichen Exhibitionist identifiziert',48.787378,9.083147,22,4),(448,'2021-02-02','<NAME> geflüchtet - Zeugen gesucht',48.813183,9.123351,22,3),(449,'2021-05-07','Trickdieb unterwegs - Zeugen gesucht',48.808762,9.106761,22,3),(450,'2021-03-19','Zigarettenautomat aufgebrochen - Zeugen gesucht',48.823444,9.098603,22,1),(451,'2021-01-23','14-Jährige sexuell belästigt - <NAME> in Gewahrsam genommen - Zeugen gesucht',48.783425,9.157627,18,4),(452,'2021-01-18','Brand in Mehrfamilienhaus',48.775477,9.147826,18,6),(453,'2021-01-10','Einbrecher unterwegs - Zeugen gesucht',48.774664,9.167525,18,1),(454,'2021-01-31','Exhibitionist belästigt Frau - Zeugen gesucht',48.774310,9.150988,18,4),(455,'2021-04-08','Fahrradfahrer zusammengestoßen',48.774664,9.167525,18,2),(456,'2021-04-09','Frau überfallen - Zeugen gesucht',48.778025,9.151728,18,3),(457,'2021-03-12','In Garage eingebrochen - Zeugen gesucht',48.780964,9.142934,18,1),(458,'2021-02-18','Kradlenker angefahren',48.782208,9.160597,18,2),(459,'2021-03-14','Mercedesstern abgerissen - Zwei Tatverdächtige vorläufig festgenommen',48.771405,9.159468,18,9),(460,'2021-04-28','Mit Messer bedroht',48.773874,9.165608,18,7),(461,'2021-02-26','Mit Stadtbahn kollidiert',48.767800,9.160027,18,2),(462,'2021-05-06','Motorradfahrer bei Unfall schwer verletzt',48.778025,9.151728,18,2),(463,'2021-01-30','Mountainbike aus Keller gestohlen - Zeugen gesucht',48.770816,9.164055,18,3),(464,'2021-04-06','Mülltonnenbrand',48.775482,9.159754,18,9),(465,'2021-04-28','Mutmaßliche Einbrecher festgenommen - Zeugen gesucht',48.767335,9.161443,18,1),(466,'2021-06-09','Mutmaßlicher Rauschgifthändler vorläufig festgenommen',48.774664,9.167525,18,5),(467,'2021-04-16','Party aufgelöst',48.774736,9.163741,18,6),(468,'2021-01-28','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßliche Einbrecher auf frischer Tat ertappt und festgenommen',48.767800,9.160027,18,1),(469,'2021-03-09','Transporter aufgebrochen und geflüchtet - Zeugen gesucht',48.778254,9.155969,18,1),(470,'2021-01-28','Unfallflucht mit verletztem Jungen - Zeugen gesucht',48.774664,9.167525,18,2),(471,'2021-04-26','Vermisstensuche nach 68-jährigem Mann',48.767992,9.158028,18,6),(472,'2021-05-01','Wer hatte Grün? - Zeugen gesucht',48.774548,9.140726,18,2),(473,'2021-01-29','Autos angehalten und Polizisten beleidigt - Zeugen gesucht',48.838137,9.146501,23,9),(474,'2021-04-01','Autos durchwühlt - Zeugen gesucht',48.838244,9.149208,23,3),(475,'2021-04-30','Bei Arbeitsunfall mehrere Arbeiter leicht verletzt',48.833941,9.149803,23,2),(476,'2021-04-25','Diebstahl aus Fahrzeug - Zeugen gesucht',48.838677,9.158699,23,3),(477,'2021-01-20','Einbrecher unterwegs - Zeugen gesucht',48.831831,9.153821,23,1),(478,'2021-06-01','Einbrüche in Schule und Kaufhaus- Zeugen gesucht',48.829511,9.196585,23,1),(479,'2021-05-26','Einbruch in Baustellen - Zeugen gesucht',48.827612,9.174042,23,1),(480,'2021-05-27','Essen auf Herd',48.833749,9.179150,23,9),(481,'2021-05-13','In Baucontainer eingestiegen - Zeugen gesucht',48.827774,9.176705,23,1),(482,'2021-02-24','In Hotel eingebrochen - Zeugen gesucht',48.831824,9.176032,23,1),(483,'2021-06-06','Kopfhörer geraubt - Zeugen gesucht',48.827677,9.173597,23,3),(484,'2021-05-14','Lkw mit Anhänger in Gleisbett festgefahren',48.827612,9.174042,23,6),(485,'2021-04-25','Nach Unfall davongefahren - Zeugen gesucht',48.838137,9.146501,23,2),(486,'2021-01-13','Nach Unfall geflüchtet - Zeugen gesucht',48.834060,9.178070,23,2),(487,'2021-03-31','Radfahrer bei Unfall schwer verletzt',48.837450,9.157745,23,2),(488,'2021-04-07','Radfahrer bei Zusammenstoß schwer verletzt',48.827612,9.174042,23,2),(489,'2021-01-23','Radfahrer beraubt Frau - Zeugen gesucht',48.827612,9.174042,23,3),(490,'2021-03-02','Rollerdiebe festgenommen',48.836453,9.167985,23,3),(491,'2021-02-06','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: 26-Jähriger flüchtet vor Prüfpersonal',48.832494,9.169702,23,7),(492,'2021-05-26','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Mutmaßlicher Rauschgifthändler in Haft',48.832892,9.168313,23,5),(493,'2021-01-25','Staatsanwaltschaft und Polizei Stuttgart geben bekannt: Rabiaten mutmaßlichen Ladendieb festgenommen',48.827612,9.174042,23,3),(494,'2021-05-22','Streifenwagen beschädigt - Zeugen gesucht',48.832075,9.174890,23,9),(495,'2021-04-27','Tresor gestohlen - Zeugen gesucht',48.834060,9.178070,23,1),(496,'2021-05-14','Unbekannte beschädigten Auto - Zeugen gesucht',48.841874,9.192169,23,9);
/*!40000 ALTER TABLE `crime` ENABLE KEYS */;
UNLOCK TABLES;
--
-- 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` (
`id` bigint NOT NULL,
`name` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `district`
--
LOCK TABLES `district` WRITE;
/*!40000 ALTER TABLE `district` DISABLE KEYS */;
INSERT INTO `district` VALUES (1,'<NAME>'),(2,'Birkach'),(3,'Botnang'),(4,'Degerloch'),(5,'Feuerbach'),(6,'Hedelfingen'),(7,'Möhringen'),(8,'Mühlhausen'),(9,'Münster'),(10,'Obertürkheim'),(11,'Plieningen'),(12,'Sillenbuch'),(13,'Stammheim'),(14,'Stuttgart‐Mitte'),(15,'Stuttgart‐Nord'),(16,'Stuttgart‐Ost'),(17,'Stuttgart‐Süd'),(18,'Stuttgart‐West'),(19,'Untertürkheim'),(20,'Vaihingen'),(21,'Wangen'),(22,'Weilimdorf'),(23,'Zuffenhausen');
/*!40000 ALTER TABLE `district` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `hibernate_sequence`
--
DROP TABLE IF EXISTS `hibernate_sequence`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `hibernate_sequence` (
`next_val` bigint DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `hibernate_sequence`
--
LOCK TABLES `hibernate_sequence` WRITE;
/*!40000 ALTER TABLE `hibernate_sequence` DISABLE KEYS */;
INSERT INTO `hibernate_sequence` VALUES (214);
/*!40000 ALTER TABLE `hibernate_sequence` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `offense`
--
DROP TABLE IF EXISTS `offense`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `offense` (
`id` bigint NOT NULL,
`name` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `offense`
--
LOCK TABLES `offense` WRITE;
/*!40000 ALTER TABLE `offense` DISABLE KEYS */;
INSERT INTO `offense` VALUES (1,'Burglary'),(2,'Accident'),(3,'Property crime'),(4,'Sex crime'),(5,'Drugs'),(6,'Fire'),(7,'Violent act'),(8,'Drunkenness'),(9,'Damage to property');
/*!40000 ALTER TABLE `offense` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2021-06-23 9:15:29
|
DROP DATABASE IF EXISTS myblog;
CREATE DATABASE myblog;
USE myblog;
DROP TABLE IF EXISTS kind;
CREATE TABLE kind (
id VARCHAR(36) NOT NULL,
name VARCHAR(50) NOT NULL,
create_time DATETIME,
PRIMARY KEY (id)
)
ENGINE = InnoDB
DEFAULT CHARSET = utf8;
DROP TABLE IF EXISTS article;
CREATE TABLE `article` (
`id` VARCHAR(36) NOT NULL,
`title` VARCHAR(50) NOT NULL,
`content` LONGTEXT,
`create_time` DATETIME DEFAULT NULL,
`status` TINYINT DEFAULT 1,
PRIMARY KEY (`id`)
)
ENGINE = InnoDB
DEFAULT CHARSET = utf8;
DROP TABLE IF EXISTS tag;
CREATE TABLE tag (
id VARCHAR(36) NOT NULL,
name VARCHAR(50) NOT NULL,
create_time DATETIME,
PRIMARY KEY (id)
)
ENGINE = InnoDB
DEFAULT CHARSET = utf8;
DROP TABLE IF EXISTS article_with_kind;
CREATE TABLE article_with_kind (
id VARCHAR(36) NOT NULL,
article_id VARCHAR(36) NOT NULL,
kind_id VARCHAR(36) NOT NULL,
PRIMARY KEY (id)
)
ENGINE = InnoDB
DEFAULT CHARSET = utf8;
DROP TABLE IF EXISTS article_with_tag;
CREATE TABLE article_with_tag (
id VARCHAR(36) NOT NULL,
article_id VARCHAR(36) NOT NULL,
tag_id VARCHAR(36) NOT NULL,
PRIMARY KEY (id)
)
ENGINE = InnoDB
DEFAULT CHARSET = utf8;
DROP TABLE IF EXISTS user;
CREATE TABLE user (
id VARCHAR(36) NOT NULL,
user_name VARCHAR(36) NOT NULL,
user_password VARCHAR(36) NOT NULL,
PRIMARY KEY (id)
)
ENGINE = InnoDB
DEFAULT CHARSET = utf8;
DROP TABLE IF EXISTS login_list;
CREATE TABLE login_list (
id VARCHAR(36) NOT NULL,
ip VARCHAR(36) NOT NULL,
success_count INT NOT NULL DEFAULT 0,
fail_count INT NOT NULL DEFAULT 0,
PRIMARY KEY (id)
)
ENGINE = InnoDB
DEFAULT CHARSET = utf8;
DROP TABLE IF EXISTS black_list;
CREATE TABLE black_list (
id VARCHAR(36) NOT NULL,
ip VARCHAR(36) NOT NULL,
remark VARCHAR(500) NULL DEFAULT '该ip列为黑名单',
PRIMARY KEY (id)
)
ENGINE = InnoDB
DEFAULT CHARSET = utf8; |
<<<<<<< HEAD
INSERT INTO [OperationLog] VALUES ('2018-12-25 11:40:02.000', 'WK010于2018-12-25 11:40:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 11:40:21.000', 'WK010于2018-12-25 11:40:21登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 11:43:11.000', 'WK010于2018-12-25 11:43:11登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 11:43:45.000', '经理部杨俊杰总经理杨俊杰于2018-12-25 11:43:45导出了用户信息!', '经理部杨俊杰总经理'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 18:08:25.000', 'WK010于2018-12-25 18:08:25登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 18:13:25.000', 'WK010于2018-12-25 18:13:25登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 18:53:15.000', 'WK010于2018-12-25 18:53:15登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 18:58:00.000', 'WK010于2018-12-25 18:58:00登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:03:03.000', 'WK010于2018-12-25 19:03:03登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:03:59.000', 'WK010于2018-12-25 19:03:59登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:05:42.000', 'WK010于2018-12-25 19:05:42登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:06:44.000', 'WK010于2018-12-25 19:06:44登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:21:08.000', 'WK010于2018-12-25 19:21:08登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:23:40.000', 'WK010于2018-12-25 19:23:40登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:24:31.000', 'WK010于2018-12-25 19:24:31登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:30:40.000', 'WK010于2018-12-25 19:30:40登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:32:12.000', 'WK010于2018-12-25 19:32:12登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:33:06.000', 'WK010于2018-12-25 19:33:06登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:36:04.000', 'WK010于2018-12-25 19:36:04登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 20:10:06.000', 'WK010于2018-12-25 20:10:06登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 22:51:32.000', 'WK010于2018-12-25 22:51:32登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 22:53:47.000', 'WK010于2018-12-25 22:53:47登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 23:16:34.000', 'WK010于2018-12-25 23:16:34登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 07:39:03.000', 'WK010于2018-12-26 07:39:03登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 08:24:14.000', 'WK010于2018-12-26 08:24:14登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 09:55:15.000', 'WK010于2018-12-26 09:55:15登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 09:56:40.000', 'WK010于2018-12-26 09:56:40登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:00:44.000', 'WK010于2018-12-26 10:00:44登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:22:18.000', 'WK010于2018-12-26 10:22:18登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:23:02.000', 'WK010于2018-12-26 10:23:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:25:59.000', 'WK010于2018-12-26 10:25:59登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:27:33.000', 'WK010于2018-12-26 10:27:33登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:27:58.000', 'WK010于2018-12-26 10:27:58登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:29:16.000', 'WK010于2018-12-26 10:29:16登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:31:47.000', 'WK010于2018-12-26 10:31:47登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:32:27.000', 'WK010于2018-12-26 10:32:27登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:35:46.000', 'WK010于2018-12-26 10:35:46登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:51:08.000', 'WK010于2018-12-26 18:51:08登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:51:59.000', 'WK010于2018-12-26 18:51:59登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:55:20.000', 'WK010于2018-12-26 18:55:20登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:59:18.000', 'WK010于2018-12-26 18:59:18登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 19:00:06.000', 'WK010于2018-12-26 19:00:06登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 19:04:24.000', 'WK010于2018-12-26 19:04:24登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 19:07:10.000', 'WK010于2018-12-26 19:07:10登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 19:07:41.000', 'WK010于2018-12-26 19:07:41登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 19:17:13.000', 'WK010于2018-12-26 19:17:13登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 19:18:18.000', 'WK010于2018-12-26 19:18:18登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 19:47:10.000', 'WK010于2018-12-26 19:47:10登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 08:41:29.000', 'WK010于2018-12-27 08:41:29登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:25:07.000', 'WK010于2018-12-27 09:25:07登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:27:03.000', 'WK010于2018-12-27 09:27:03登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:30:21.000', 'WK010于2018-12-27 09:30:21登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:32:50.000', 'WK010于2018-12-27 09:32:50登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:34:33.000', 'WK010于2018-12-27 09:34:33登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:36:06.000', 'WK010于2018-12-27 09:36:06登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:37:35.000', 'WK010于2018-12-27 09:37:35登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:37:56.000', 'WK010于2018-12-27 09:37:56登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:38:31.000', 'WK010于2018-12-27 09:38:31登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:39:12.000', 'WK010于2018-12-27 09:39:12登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:39:57.000', 'WK010于2018-12-27 09:39:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 11:40:18.000', 'WK010于2018-12-27 11:40:18登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 11:42:28.000', '经理部杨俊杰于2018-12-27 11:42:28查看了TS1816的证件号码!', '经理部杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 11:50:59.000', 'WK010于2018-12-27 11:50:59登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 13:51:24.000', 'WK010于2018-12-27 13:51:24登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 14:03:05.000', 'WK010于2018-12-27 14:03:05登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 14:28:35.000', 'WK010于2018-12-27 14:28:35登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 14:30:53.000', 'WK010于2018-12-27 14:30:53登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:02:39.000', 'WK010于2018-12-27 17:02:39登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:09:53.000', 'WK010于2018-12-27 17:09:53登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:12:13.000', 'WK010于2018-12-27 17:12:13登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:13:13.000', 'WK010于2018-12-27 17:13:13登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:16:33.000', 'WK010于2018-12-27 17:16:33登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:44:48.000', 'WK010于2018-12-27 17:44:48登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:45:36.000', 'WK010于2018-12-27 17:45:36登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:46:28.000', 'WK010于2018-12-27 17:46:28登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:47:57.000', 'WK010于2018-12-27 17:47:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:50:34.000', 'WK010于2018-12-27 17:50:34登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:51:37.000', 'WK010于2018-12-27 17:51:37登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 19:10:07.000', 'WK010于2018-12-27 19:10:07登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 19:11:25.000', 'WK010于2018-12-27 19:11:25登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 19:13:54.000', 'WK010于2018-12-27 19:13:54登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 19:14:32.000', 'WK010于2018-12-27 19:14:32登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 19:15:36.000', 'WK010于2018-12-27 19:15:36登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 19:17:12.000', 'WK010于2018-12-27 19:17:12登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 19:42:01.000', 'WK010于2018-12-27 19:42:01登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:46:20.000', 'WK010于2018-12-27 20:46:20登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:50:29.000', 'WK010于2018-12-27 20:50:29登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:51:22.000', 'WK010于2018-12-27 20:51:22登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:56:28.000', 'WK010于2018-12-27 20:56:28登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:58:38.000', 'WK010于2018-12-27 20:58:38登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:59:18.000', 'WK010于2018-12-27 20:59:18登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:59:57.000', 'WK010于2018-12-27 20:59:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 21:00:28.000', 'WK010于2018-12-27 21:00:28登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 21:01:02.000', 'WK010于2018-12-27 21:01:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-07-01 10:13:41.000', 'WK010于2019-07-01 10:13:41登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-07-01 10:13:43.000', '杨俊杰【经理部总经理】于2019-07-01 10:13:43尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-07 13:30:34.000', 'WK010于2019-10-07 13:30:34登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-07 13:31:35.000', '经理部总经理杨俊杰于2019-10-07 13:31:35查看了TS1084的证件号码!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-07 13:32:20.000', '经理部总经理杨俊杰于2019-10-07 13:32:20帮助TS1816进行了消费商品:三只松鼠夏威夷坚果操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-07 13:33:02.000', '杨俊杰【经理部总经理】于2019-10-07 13:33:02尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-07 13:39:16.000', 'WK010于2019-10-07 13:39:16登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-07 13:39:20.000', '杨俊杰【经理部总经理】于2019-10-07 13:39:20尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-10 19:12:16.000', 'WK010于2019/10/10 19:12:16登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-24 10:15:55.000', 'WK010于2019-10-24 10:15:55登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-24 10:16:19.000', 'WK010于2019-10-24 10:16:19登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-24 10:16:38.000', 'WK010于2019-10-24 10:16:38登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 20:51:55.000', 'WK010于2019-10-28 下午 8:51:55登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 20:52:19.000', 'WK010于2019-10-28 下午 8:52:19登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 20:52:44.000', 'WK010于2019-10-28 下午 8:52:44登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 20:53:39.000', 'WK010于2019-10-28 下午 8:53:39登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 20:56:17.000', 'WK010于2019-10-28 下午 8:56:17登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 20:56:32.000', '杨俊杰【经理部总经理】于2019-10-28 下午 8:56:32尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:00:57.000', 'WK010于2018-12-25 19:00:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 19:10:40.000', 'WK010于2018-12-27 19:10:40登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:57:12.000', 'WK010于2018-12-27 20:57:12登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 20:57:41.000', 'WK010于2019-10-28 下午 8:57:41登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 20:58:31.000', 'WK010于2019-10-28 20:58:31登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 20:58:53.000', 'WK010于2019-10-28 20:58:53登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 20:59:20.000', '杨俊杰【经理部总经理】于2019-10-28 20:59:20尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 21:00:10.000', 'WK010于2019-10-28 21:00:10登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 21:00:14.000', '杨俊杰【经理部总经理】于2019-10-28 21:00:14尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 21:01:49.000', 'WK010于2019-10-28 21:01:49登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 21:03:03.000', '经理部总经理杨俊杰于2019-10-28 21:03:03查看了TS1552的证件号码!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 21:03:10.000', '经理部总经理杨俊杰于2019-10-28 21:03:10查看了TS1552的证件号码!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2019-11-26 15:02:32.000', 'WK010于2019-11-26 15:02:32登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-12-07 17:43:16.000', 'WK010于2019/12/7 17:43:16登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-12-07 17:44:13.000', 'WK010于2019/12/7 17:44:13登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-12-07 17:45:23.000', 'WK010于2019/12/7 17:45:23登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-12-07 17:46:05.000', 'WK010于2019/12/7 17:46:05登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-12-07 17:46:57.000', 'WK010于2019/12/7 17:46:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-02-28 17:00:24.000', 'WK010于2020/2/28 17:00:24登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-02-28 17:00:41.000', 'WK010于2020/2/28 17:00:41登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-02-28 17:01:04.000', 'WK010于2020/2/28 17:01:04登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-02-28 17:02:22.000', 'WK010于2020/2/28 17:02:22登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-02-28 17:03:41.000', 'WK010于2020/2/28 17:03:41登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-02-28 17:04:36.000', 'WK010于2020/2/28 17:04:36登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-02-28 17:05:26.000', 'WK010于2020/2/28 17:05:26登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-02-28 17:06:11.000', '杨俊杰【经理部总经理】于2020/2/28 17:06:11尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-02-28 17:09:02.000', '经理部总经理杨俊杰于2020/2/28 17:09:02帮助TS1862进行了退房结算操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-02-28 17:09:26.000', 'WK010于2020/2/28 17:09:26登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-03 11:51:26.000', 'WK010于2020/3/3 11:51:26登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-03 11:51:43.000', 'WK010于2020/3/3 11:51:43登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-03 11:52:55.000', '杨俊杰【经理部总经理】于2020/3/3 11:52:55尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-03 11:54:38.000', 'WK010于2020/3/3 11:54:38登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-03 11:57:16.000', 'WK010于2020/3/3 11:57:16登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-03 11:57:32.000', '经理部经理杨俊杰于2020/3/3 11:57:32查看了TS1003的证件号码!', '经理部经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-03 11:57:50.000', '杨俊杰【经理部经理】于2020/3/3 11:57:50尝试或成功登入了后台系统!', '杨俊杰【经理部经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-03 12:00:48.000', '经理部杨俊杰经理杨俊杰于2020/3/3 12:00:48导出了后台用户信息!', '经理部杨俊杰经理'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-09 22:03:59.000', 'WK010于2020/3/9 22:03:59登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-09 22:05:01.000', 'WK010于2020/3/9 22:05:01登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-09 22:05:37.000', 'WK010于2020/3/9 22:05:37登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-09 22:06:10.000', '杨俊杰【经理部总经理】于2020/3/9 22:06:10尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-09 22:07:13.000', 'WK010于2020/3/9 22:07:13登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-09 23:19:39.000', 'WK010于2020/3/9 23:19:39登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-09 23:53:51.000', 'WK010于2020/3/9 23:53:51登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-10 00:17:49.000', 'WK010于2020/3/10 0:17:49登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-10 15:04:57.000', 'WK010于2020/3/10 15:04:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-10 15:05:02.000', '杨俊杰【经理部总经理】于2020/3/10 15:05:02尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-10 15:07:32.000', '杨俊杰【经理部总经理】于2020/3/10 15:07:32尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-10 15:08:03.000', '杨俊杰【经理部总经理】于2020/3/10 15:08:03尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-11 12:44:54.000', 'WK010于2020/3/11 12:44:54登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-11 14:02:34.000', 'WK010于2020/3/11 14:02:34登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-13 14:00:05.000', 'WK010于2020-03-13 14:00:05登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-13 19:28:57.000', 'WK010于2020/3/13 19:28:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-13 20:52:30.000', 'WK010于2020/3/13 20:52:30登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-14 23:18:49.000', 'WK010于2020/3/14 23:18:49登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-14 23:19:40.000', 'WK010于2020/3/14 23:19:40登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-14 23:21:33.000', '经理部总经理杨俊杰于2020/3/14 23:21:33帮助进行了退房结算操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-16 20:51:08.000', 'WK010于2020/3/16 20:51:08登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 16:12:40.000', '杨俊杰【经理部总经理】于2020/3/17 16:12:40尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 16:12:55.000', '杨俊杰【经理部总经理】于2020/3/17 16:12:55尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 16:12:56.000', '杨俊杰【经理部总经理】于2020/3/17 16:12:56尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 16:12:59.000', '杨俊杰【经理部总经理】于2020/3/17 16:12:59尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 16:13:26.000', 'WK010于2020/3/17 16:13:26登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 19:41:51.000', '经理部总经理杨俊杰于2020/3/17 19:41:51帮助TS1816进行了消费商品:康师傅方便面操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 19:42:09.000', '经理部总经理杨俊杰于2020/3/17 19:42:09帮助TS1816进行了消费商品:拉菲操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 19:42:13.000', '经理部总经理杨俊杰于2020/3/17 19:42:13帮助TS1816进行了消费商品:拉菲操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 19:42:40.000', '经理部总经理杨俊杰于2020/3/17 19:42:40帮助TS1816进行了消费商品:拉菲操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 19:43:59.000', '经理部总经理杨俊杰于2020/3/17 19:43:59帮助TS1816进行了消费商品:拉菲操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 19:44:03.000', '经理部总经理杨俊杰于2020/3/17 19:44:03帮助TS1816进行了消费商品:拉菲操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 19:44:07.000', '经理部总经理杨俊杰于2020/3/17 19:44:07帮助TS1816进行了消费商品:康师傅方便面操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 19:44:53.000', '经理部总经理杨俊杰于2020/3/17 19:44:53帮助TS1816进行了消费商品:三只松鼠夏威夷坚果操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-18 09:54:58.000', 'WK010于2020/3/18 9:54:58登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-18 09:55:20.000', '经理部总经理杨俊杰于2020/3/18 9:55:20帮助TS1816进行了消费商品:拉菲操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-18 17:34:25.000', '经理部总经理杨俊杰于2020/3/18 17:34:25帮助TS1816进行了消费商品:可口可乐操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-18 17:34:41.000', '经理部总经理杨俊杰于2020/3/18 17:34:41帮助TS1816进行了消费商品:可口可乐操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-18 23:12:50.000', 'WK010于2020/3/18 23:12:50登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-19 13:17:45.000', 'WK010于2020/3/19 13:17:45登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-19 20:02:33.000', 'WK010于2020/3/19 星期四 20:02:33登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-23 12:12:41.000', 'WK010于2020/3/23 12:12:41登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-23 12:13:32.000', '经理部总经理杨俊杰于2020/3/23 12:13:32查看了TS1005的证件号码!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-23 12:14:59.000', 'WK010于2020/3/23 12:14:59登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-23 12:15:19.000', 'WK010于2020/3/23 12:15:19登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-25 12:01:57.000', 'WK010于2020/3/25 12:01:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-25 12:05:00.000', '经理部总经理杨俊杰于2020/3/25 12:05:00帮助TS1816进行了消费商品:乐事薯片(原味)操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-26 14:56:48.000', 'WK010于2020/3/26 14:56:48登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-26 14:57:57.000', '杨俊杰【经理部总经理】于2020/3/26 14:57:57尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 12:35:22.000', 'WK010于2020/3/27 12:35:22登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 12:37:24.000', 'WK010于2020/3/27 12:37:24登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 12:37:28.000', '杨俊杰【经理部总经理】于2020/3/27 12:37:28尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 12:42:21.000', '杨俊杰【经理部总经理】于2020/3/27 12:42:21尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 12:43:47.000', '杨俊杰【经理部总经理】于2020/3/27 12:43:47尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 17:59:57.000', 'WK010于2020/3/27 星期五 17:59:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:02:28.000', '杨俊杰【经理部总经理】于2020/3/27 星期五 18:02:28尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 10:21:37.000', 'WK010于2018-12-27 10:21:37登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 10:38:35.000', 'WK010于2018-12-27 10:38:35登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 11:15:05.000', 'WK010于2018-12-27 11:15:05登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 11:16:16.000', '经理部杨俊杰于2018-12-27 11:16:16查看了TS1003的证件号码!', '经理部杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:07:38.000', 'WK010于2018-12-27 20:07:38登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:26:29.000', 'WK010于2018-12-27 20:26:29登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:32:00.000', 'WK010于2018-12-27 20:32:00登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:39:14.000', 'WK010于2018-12-27 20:39:14登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:44:13.000', 'WK010于2018-12-27 20:44:13登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:44:42.000', 'WK010于2018-12-27 20:44:42登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:34:44.000', 'WK010于2018-12-28 07:34:44登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:38:24.000', 'WK010于2018-12-28 07:38:24登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:39:09.000', 'WK010于2018-12-28 07:39:09登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:43:35.000', 'WK010于2018-12-28 07:43:35登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:44:04.000', 'WK010于2018-12-28 07:44:04登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:44:23.000', 'WK010于2018-12-28 07:44:23登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:44:52.000', 'WK010于2018-12-28 07:44:52登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:45:25.000', 'WK010于2018-12-28 07:45:25登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:45:50.000', 'WK010于2018-12-28 07:45:50登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:48:35.000', 'WK010于2018-12-28 07:48:35登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:49:14.000', 'WK010于2018-12-28 07:49:14登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:57:33.000', 'WK010于2018-12-28 07:57:33登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 08:00:54.000', 'WK010于2018-12-28 08:00:54登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 08:01:16.000', 'WK010于2018-12-28 08:01:16登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 08:02:51.000', 'WK010于2018-12-28 08:02:51登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 08:12:06.000', 'WK010于2018-12-28 08:12:06登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 08:12:59.000', 'WK010于2018-12-28 08:12:59登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 08:23:05.000', 'WK010于2018-12-28 08:23:05登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 08:26:38.000', 'WK010于2018-12-28 08:26:38登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 08:27:57.000', 'WK010于2018-12-28 08:27:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 08:28:19.000', 'WK010于2018-12-28 08:28:19登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-10 19:17:36.000', 'WK010于2019/10/10 19:17:36登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:04:01.000', 'WK010于2020/3/27 星期五 18:04:01登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:04:05.000', '杨俊杰【经理部总经理】于2020/3/27 星期五 18:04:05尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:04:07.000', '杨俊杰【经理部总经理】于2020/3/27 星期五 18:04:07尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:04:49.000', '杨俊杰【经理部总经理】于2020/3/27 星期五 18:04:49尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:15:02.000', '杨俊杰【经理部总经理】于2020/3/27 星期五 18:15:02尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:15:09.000', '杨俊杰【经理部总经理】于2020/3/27 星期五 18:15:09尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:15:15.000', '杨俊杰【经理部总经理】于2020/3/27 星期五 18:15:15尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:15:18.000', '杨俊杰【经理部总经理】于2020/3/27 星期五 18:15:18尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:15:19.000', '杨俊杰【经理部总经理】于2020/3/27 星期五 18:15:19尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 19:59:10.000', 'WK010于2020/3/27 19:59:10登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-28 12:15:02.000', 'WK010于2020/3/28 星期六 12:15:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-28 12:19:08.000', 'WK010于2020/3/28 星期六 12:19:08登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-28 12:20:08.000', '杨俊杰【经理部总经理】于2020/3/28 星期六 12:20:08尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-28 22:31:38.000', 'WK010于2020/3/28 22:31:38登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-30 13:11:07.000', 'WK010于2020/3/30 13:11:07登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-30 13:11:13.000', '杨俊杰【经理部总经理】于2020/3/30 13:11:13尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-30 13:40:42.000', 'WK010于2020/3/30 13:40:42登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-30 13:44:36.000', 'WK010于2020/3/30 13:44:36登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-30 13:45:08.000', 'WK010于2020/3/30 13:45:08登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-02 14:58:09.000', 'WK010于2020/4/2 14:58:09登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-02 14:59:00.000', '杨俊杰【经理部总经理】于2020/4/2 14:59:00尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-02 15:53:54.000', 'WK010于2020/4/2 15:53:54登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-02 15:54:06.000', 'WK010于2020/4/2 15:54:06登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 15:03:59.000', 'WK010于2020/4/6 15:03:59登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 15:04:46.000', 'WK010于2020/4/6 15:04:46登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 15:09:00.000', 'WK010于2020/4/6 15:09:00登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 15:13:26.000', 'WK010于2020/4/6 15:13:26登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 15:55:05.000', 'WK010于2020/4/6 15:55:05登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 15:56:20.000', 'WK010于2020/4/6 15:56:20登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 15:57:48.000', 'WK010于2020/4/6 15:57:48登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 15:58:09.000', '经理部总经理杨俊杰于2020/4/6 15:58:09帮助789798789进行了预订房间操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:13:48.000', 'WK010于2020/4/6 18:13:48登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:01:17.000', 'WK010于2020/4/6 19:01:17登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:03:38.000', 'WK010于2020/4/6 19:03:38登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:05:23.000', 'WK010于2020/4/6 19:05:23登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:07:43.000', 'WK010于2020/4/6 19:07:43登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:10:41.000', 'WK010于2020/4/6 19:10:41登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:13:45.000', 'WK010于2020/4/6 19:13:45登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:14:54.000', 'WK010于2020/4/6 19:14:54登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:16:01.000', 'WK010于2020/4/6 19:16:01登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:16:42.000', 'WK010于2020/4/6 19:16:42登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:17:36.000', 'WK010于2020/4/6 19:17:36登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:18:32.000', 'WK010于2020/4/6 19:18:32登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:21:24.000', 'WK010于2020/4/6 19:21:24登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:21:58.000', 'WK010于2020/4/6 19:21:58登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:23:43.000', 'WK010于2020/4/6 19:23:43登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:24:47.000', 'WK010于2020/4/6 19:24:47登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:27:53.000', 'WK010于2020/4/6 19:27:53登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:31:36.000', 'WK010于2020/4/6 19:31:36登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:32:46.000', 'WK010于2020/4/6 19:32:46登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:34:18.000', 'WK010于2020/4/6 19:34:18登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:35:15.000', 'WK010于2020/4/6 19:35:15登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:37:15.000', 'WK010于2020/4/6 19:37:15登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:38:51.000', 'WK010于2020/4/6 19:38:51登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:39:51.000', 'WK010于2020/4/6 19:39:51登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:40:29.000', 'WK010于2020/4/6 19:40:29登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 23:01:03.000', 'WK010于2018-12-25 23:01:03登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 23:03:22.000', 'WK010于2018-12-25 23:03:22登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 23:03:59.000', 'WK010于2018-12-25 23:03:59登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 23:06:02.000', 'WK010于2018-12-25 23:06:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 23:10:02.000', 'WK010于2018-12-25 23:10:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 23:13:25.000', 'WK010于2018-12-25 23:13:25登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 08:26:43.000', 'WK010于2018-12-26 08:26:43登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 08:28:48.000', 'WK010于2018-12-26 08:28:48登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 08:31:21.000', 'WK010于2018-12-26 08:31:21登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 08:33:02.000', 'WK010于2018-12-26 08:33:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 09:01:57.000', 'WK010于2018-12-26 09:01:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 09:03:35.000', 'WK010于2018-12-26 09:03:35登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 09:04:30.000', 'WK010于2018-12-26 09:04:30登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 09:38:16.000', 'WK010于2018-12-26 09:38:16登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 09:47:31.000', 'WK010于2018-12-26 09:47:31登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 09:48:39.000', 'WK010于2018-12-26 09:48:39登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 09:51:02.000', 'WK010于2018-12-26 09:51:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:50:15.000', 'WK010于2018-12-26 10:50:15登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:51:12.000', 'WK010于2018-12-26 10:51:12登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:55:08.000', 'WK010于2018-12-26 10:55:08登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 11:03:38.000', 'WK010于2018-12-26 11:03:38登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 11:05:33.000', 'WK010于2018-12-26 11:05:33登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 11:07:23.000', 'WK010于2018-12-26 11:07:23登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 11:09:33.000', 'WK010于2018-12-26 11:09:33登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 11:11:15.000', 'WK010于2018-12-26 11:11:15登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 11:13:03.000', 'WK010于2018-12-26 11:13:03登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 11:42:58.000', 'WK010于2018-12-26 11:42:58登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 11:46:25.000', 'WK010于2018-12-26 11:46:25登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 11:47:22.000', 'WK010于2018-12-26 11:47:22登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 13:57:22.000', 'WK010于2018-12-26 13:57:22登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 13:58:10.000', 'WK010于2018-12-26 13:58:10登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 13:59:48.000', 'WK010于2018-12-26 13:59:48登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 14:03:42.000', 'WK010于2018-12-26 14:03:42登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 14:10:30.000', 'WK010于2018-12-26 14:10:30登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 14:14:36.000', 'WK010于2018-12-26 14:14:36登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 14:20:21.000', 'WK010于2018-12-26 14:20:21登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 14:28:57.000', 'WK010于2018-12-26 14:28:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 14:33:20.000', 'WK010于2018-12-26 14:33:20登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 14:34:34.000', 'WK010于2018-12-26 14:34:34登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:08:27.000', 'WK010于2018-12-26 18:08:27登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:09:44.000', 'WK010于2018-12-26 18:09:44登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:10:15.000', 'WK010于2018-12-26 18:10:15登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:10:43.000', 'WK010于2018-12-26 18:10:43登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:19:41.000', 'WK010于2018-12-26 18:19:41登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:20:51.000', 'WK010于2018-12-26 18:20:51登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:36:57.000', 'WK010于2018-12-26 18:36:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:37:41.000', 'WK010于2018-12-26 18:37:41登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:40:13.000', 'WK010于2018-12-26 18:40:13登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 20:05:33.000', 'WK010于2018-12-26 20:05:33登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 20:09:58.000', 'WK010于2018-12-26 20:09:58登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 20:10:57.000', 'WK010于2018-12-26 20:10:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 20:12:26.000', 'WK010于2018-12-26 20:12:26登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 20:12:47.000', '经理部杨俊杰于2018-12-26 20:12:47查看了TS1084的证件号码!', '经理部杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 20:12:50.000', '经理部杨俊杰于2018-12-26 20:12:50查看了TS1084的证件号码!', '经理部杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 20:21:00.000', 'WK010于2018-12-26 20:21:00登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 20:23:08.000', 'WK010于2018-12-26 20:23:08登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 20:24:06.000', 'WK010于2018-12-26 20:24:06登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 20:26:06.000', 'WK010于2018-12-26 20:26:06登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 15:10:03.000', 'WK010于2020/4/6 15:10:03登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 21:04:29.000', 'WK010于2018-12-27 21:04:29登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 21:08:29.000', 'WK010于2019-10-28 21:08:29登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 21:11:00.000', 'WK010于2019-10-28 21:11:00登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 21:11:25.000', 'WK010于2019-10-28 21:11:25登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 21:12:15.000', 'WK010于2019-10-28 21:12:15登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 21:16:02.000', 'WK010于2019-10-28 21:16:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:16:10.000', 'WK010于2020/3/27 18:16:10登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:16:13.000', '杨俊杰【经理部总经理】于2020/3/27 18:16:13尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:02:24.000', 'WK010于2020/4/6 16:02:24登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:05:48.000', 'WK010于2020/4/6 16:05:48登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:06:13.000', 'WK010于2020/4/6 16:06:13登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:09:26.000', 'WK010于2020/4/6 16:09:26登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:09:56.000', 'WK010于2020/4/6 16:09:56登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:18:17.000', 'WK010于2020/4/6 16:18:17登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:19:20.000', 'WK010于2020/4/6 16:19:20登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:41:33.000', 'WK010于2020/4/6 16:41:33登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:42:18.000', 'WK010于2020/4/6 16:42:18登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:44:01.000', 'WK010于2020/4/6 16:44:01登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:49:22.000', 'WK010于2020/4/6 16:49:22登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:50:36.000', 'WK010于2020/4/6 16:50:36登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:04:41.000', 'WK010于2020/4/6 17:04:41登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:05:23.000', 'WK010于2020/4/6 17:05:23登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:08:39.000', 'WK010于2020/4/6 17:08:39登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:18:18.000', 'WK010于2020/4/6 17:18:18登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:19:02.000', 'WK010于2020/4/6 17:19:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:20:10.000', 'WK010于2020/4/6 17:20:10登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:24:02.000', 'WK010于2020/4/6 17:24:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:24:51.000', 'WK010于2020/4/6 17:24:51登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:41:29.000', 'WK010于2020/4/6 17:41:29登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:44:15.000', 'WK010于2020/4/6 17:44:15登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:45:55.000', 'WK010于2020/4/6 17:45:55登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:59:46.000', 'WK010于2020/4/6 17:59:46登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:42:17.000', 'WK010于2020/4/6 19:42:17登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:42:57.000', 'WK010于2020/4/6 19:42:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:44:45.000', 'WK010于2020/4/6 19:44:45登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:45:38.000', 'WK010于2020/4/6 19:45:38登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:47:57.000', 'WK010于2020/4/6 19:47:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:49:08.000', 'WK010于2020/4/6 19:49:08登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:50:11.000', 'WK010于2020/4/6 19:50:11登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:51:01.000', 'WK010于2020/4/6 19:51:01登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:52:35.000', 'WK010于2020/4/6 19:52:35登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:53:55.000', 'WK010于2020/4/6 19:53:55登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:56:53.000', 'WK010于2020/4/6 19:56:53登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:57:15.000', 'WK010于2020/4/6 19:57:15登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:58:46.000', 'WK010于2020/4/6 19:58:46登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:59:20.000', '经理部总经理杨俊杰于2020/4/6 19:59:20帮助TS1084进行了退房结算操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:59:34.000', 'WK010于2020/4/6 19:59:34登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:00:56.000', 'WK010于2020/4/6 20:00:56登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:02:33.000', 'WK010于2020/4/6 20:02:33登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:03:54.000', 'WK010于2020/4/6 20:03:54登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:04:43.000', 'WK010于2020/4/6 20:04:43登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:08:48.000', 'WK010于2020/4/6 20:08:48登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:09:28.000', 'WK010于2020/4/6 20:09:28登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:12:48.000', 'WK010于2020/4/6 20:12:48登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:19:53.000', 'WK010于2020/4/6 20:19:53登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:21:01.000', 'WK010于2020/4/6 20:21:01登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:22:30.000', 'WK010于2020/4/6 20:22:30登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:23:21.000', 'WK010于2020/4/6 20:23:21登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:24:20.000', 'WK010于2020/4/6 20:24:20登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:24:34.000', '经理部总经理杨俊杰于2020/4/6 20:24:34帮助TS1074进行了退房结算操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:25:00.000', 'WK010于2020/4/6 20:25:00登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:25:14.000', '经理部总经理杨俊杰于2020/4/6 20:25:14帮助TS1634进行了退房结算操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:25:30.000', '经理部总经理杨俊杰于2020/4/6 20:25:30帮助TS1765进行了退房结算操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:17:16.000', 'WK010于2020/4/6 18:17:16登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:19:53.000', 'WK010于2020/4/6 18:19:53登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:23:53.000', 'WK010于2020/4/6 18:23:53登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:24:34.000', 'WK010于2020/4/6 18:24:34登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:25:03.000', 'WK010于2020/4/6 18:25:03登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:25:36.000', 'WK010于2020/4/6 18:25:36登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:26:34.000', 'WK010于2020/4/6 18:26:34登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:27:00.000', 'WK010于2020/4/6 18:27:00登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:27:35.000', 'WK010于2020/4/6 18:27:35登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:28:03.000', 'WK010于2020/4/6 18:28:03登入了系统!', 'WK010'); GO
=======
INSERT INTO [OperationLog] VALUES ('2018-12-25 11:40:02.000', 'WK010于2018-12-25 11:40:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 11:40:21.000', 'WK010于2018-12-25 11:40:21登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 11:43:11.000', 'WK010于2018-12-25 11:43:11登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 11:43:45.000', '经理部杨俊杰总经理杨俊杰于2018-12-25 11:43:45导出了用户信息!', '经理部杨俊杰总经理'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 18:08:25.000', 'WK010于2018-12-25 18:08:25登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 18:13:25.000', 'WK010于2018-12-25 18:13:25登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 18:53:15.000', 'WK010于2018-12-25 18:53:15登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 18:58:00.000', 'WK010于2018-12-25 18:58:00登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:03:03.000', 'WK010于2018-12-25 19:03:03登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:03:59.000', 'WK010于2018-12-25 19:03:59登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:05:42.000', 'WK010于2018-12-25 19:05:42登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:06:44.000', 'WK010于2018-12-25 19:06:44登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:21:08.000', 'WK010于2018-12-25 19:21:08登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:23:40.000', 'WK010于2018-12-25 19:23:40登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:24:31.000', 'WK010于2018-12-25 19:24:31登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:30:40.000', 'WK010于2018-12-25 19:30:40登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:32:12.000', 'WK010于2018-12-25 19:32:12登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:33:06.000', 'WK010于2018-12-25 19:33:06登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:36:04.000', 'WK010于2018-12-25 19:36:04登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 20:10:06.000', 'WK010于2018-12-25 20:10:06登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 22:51:32.000', 'WK010于2018-12-25 22:51:32登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 22:53:47.000', 'WK010于2018-12-25 22:53:47登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 23:16:34.000', 'WK010于2018-12-25 23:16:34登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 07:39:03.000', 'WK010于2018-12-26 07:39:03登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 08:24:14.000', 'WK010于2018-12-26 08:24:14登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 09:55:15.000', 'WK010于2018-12-26 09:55:15登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 09:56:40.000', 'WK010于2018-12-26 09:56:40登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:00:44.000', 'WK010于2018-12-26 10:00:44登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:22:18.000', 'WK010于2018-12-26 10:22:18登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:23:02.000', 'WK010于2018-12-26 10:23:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:25:59.000', 'WK010于2018-12-26 10:25:59登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:27:33.000', 'WK010于2018-12-26 10:27:33登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:27:58.000', 'WK010于2018-12-26 10:27:58登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:29:16.000', 'WK010于2018-12-26 10:29:16登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:31:47.000', 'WK010于2018-12-26 10:31:47登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:32:27.000', 'WK010于2018-12-26 10:32:27登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:35:46.000', 'WK010于2018-12-26 10:35:46登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:51:08.000', 'WK010于2018-12-26 18:51:08登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:51:59.000', 'WK010于2018-12-26 18:51:59登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:55:20.000', 'WK010于2018-12-26 18:55:20登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:59:18.000', 'WK010于2018-12-26 18:59:18登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 19:00:06.000', 'WK010于2018-12-26 19:00:06登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 19:04:24.000', 'WK010于2018-12-26 19:04:24登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 19:07:10.000', 'WK010于2018-12-26 19:07:10登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 19:07:41.000', 'WK010于2018-12-26 19:07:41登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 19:17:13.000', 'WK010于2018-12-26 19:17:13登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 19:18:18.000', 'WK010于2018-12-26 19:18:18登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 19:47:10.000', 'WK010于2018-12-26 19:47:10登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 08:41:29.000', 'WK010于2018-12-27 08:41:29登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:25:07.000', 'WK010于2018-12-27 09:25:07登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:27:03.000', 'WK010于2018-12-27 09:27:03登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:30:21.000', 'WK010于2018-12-27 09:30:21登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:32:50.000', 'WK010于2018-12-27 09:32:50登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:34:33.000', 'WK010于2018-12-27 09:34:33登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:36:06.000', 'WK010于2018-12-27 09:36:06登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:37:35.000', 'WK010于2018-12-27 09:37:35登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:37:56.000', 'WK010于2018-12-27 09:37:56登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:38:31.000', 'WK010于2018-12-27 09:38:31登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:39:12.000', 'WK010于2018-12-27 09:39:12登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 09:39:57.000', 'WK010于2018-12-27 09:39:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 11:40:18.000', 'WK010于2018-12-27 11:40:18登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 11:42:28.000', '经理部杨俊杰于2018-12-27 11:42:28查看了TS1816的证件号码!', '经理部杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 11:50:59.000', 'WK010于2018-12-27 11:50:59登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 13:51:24.000', 'WK010于2018-12-27 13:51:24登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 14:03:05.000', 'WK010于2018-12-27 14:03:05登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 14:28:35.000', 'WK010于2018-12-27 14:28:35登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 14:30:53.000', 'WK010于2018-12-27 14:30:53登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:02:39.000', 'WK010于2018-12-27 17:02:39登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:09:53.000', 'WK010于2018-12-27 17:09:53登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:12:13.000', 'WK010于2018-12-27 17:12:13登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:13:13.000', 'WK010于2018-12-27 17:13:13登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:16:33.000', 'WK010于2018-12-27 17:16:33登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:44:48.000', 'WK010于2018-12-27 17:44:48登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:45:36.000', 'WK010于2018-12-27 17:45:36登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:46:28.000', 'WK010于2018-12-27 17:46:28登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:47:57.000', 'WK010于2018-12-27 17:47:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:50:34.000', 'WK010于2018-12-27 17:50:34登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 17:51:37.000', 'WK010于2018-12-27 17:51:37登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 19:10:07.000', 'WK010于2018-12-27 19:10:07登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 19:11:25.000', 'WK010于2018-12-27 19:11:25登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 19:13:54.000', 'WK010于2018-12-27 19:13:54登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 19:14:32.000', 'WK010于2018-12-27 19:14:32登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 19:15:36.000', 'WK010于2018-12-27 19:15:36登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 19:17:12.000', 'WK010于2018-12-27 19:17:12登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 19:42:01.000', 'WK010于2018-12-27 19:42:01登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:46:20.000', 'WK010于2018-12-27 20:46:20登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:50:29.000', 'WK010于2018-12-27 20:50:29登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:51:22.000', 'WK010于2018-12-27 20:51:22登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:56:28.000', 'WK010于2018-12-27 20:56:28登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:58:38.000', 'WK010于2018-12-27 20:58:38登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:59:18.000', 'WK010于2018-12-27 20:59:18登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:59:57.000', 'WK010于2018-12-27 20:59:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 21:00:28.000', 'WK010于2018-12-27 21:00:28登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 21:01:02.000', 'WK010于2018-12-27 21:01:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-07-01 10:13:41.000', 'WK010于2019-07-01 10:13:41登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-07-01 10:13:43.000', '杨俊杰【经理部总经理】于2019-07-01 10:13:43尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-07 13:30:34.000', 'WK010于2019-10-07 13:30:34登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-07 13:31:35.000', '经理部总经理杨俊杰于2019-10-07 13:31:35查看了TS1084的证件号码!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-07 13:32:20.000', '经理部总经理杨俊杰于2019-10-07 13:32:20帮助TS1816进行了消费商品:三只松鼠夏威夷坚果操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-07 13:33:02.000', '杨俊杰【经理部总经理】于2019-10-07 13:33:02尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-07 13:39:16.000', 'WK010于2019-10-07 13:39:16登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-07 13:39:20.000', '杨俊杰【经理部总经理】于2019-10-07 13:39:20尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-10 19:12:16.000', 'WK010于2019/10/10 19:12:16登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-24 10:15:55.000', 'WK010于2019-10-24 10:15:55登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-24 10:16:19.000', 'WK010于2019-10-24 10:16:19登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-24 10:16:38.000', 'WK010于2019-10-24 10:16:38登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 20:51:55.000', 'WK010于2019-10-28 下午 8:51:55登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 20:52:19.000', 'WK010于2019-10-28 下午 8:52:19登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 20:52:44.000', 'WK010于2019-10-28 下午 8:52:44登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 20:53:39.000', 'WK010于2019-10-28 下午 8:53:39登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 20:56:17.000', 'WK010于2019-10-28 下午 8:56:17登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 20:56:32.000', '杨俊杰【经理部总经理】于2019-10-28 下午 8:56:32尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 19:00:57.000', 'WK010于2018-12-25 19:00:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 19:10:40.000', 'WK010于2018-12-27 19:10:40登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:57:12.000', 'WK010于2018-12-27 20:57:12登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 20:57:41.000', 'WK010于2019-10-28 下午 8:57:41登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 20:58:31.000', 'WK010于2019-10-28 20:58:31登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 20:58:53.000', 'WK010于2019-10-28 20:58:53登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 20:59:20.000', '杨俊杰【经理部总经理】于2019-10-28 20:59:20尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 21:00:10.000', 'WK010于2019-10-28 21:00:10登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 21:00:14.000', '杨俊杰【经理部总经理】于2019-10-28 21:00:14尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 21:01:49.000', 'WK010于2019-10-28 21:01:49登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 21:03:03.000', '经理部总经理杨俊杰于2019-10-28 21:03:03查看了TS1552的证件号码!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 21:03:10.000', '经理部总经理杨俊杰于2019-10-28 21:03:10查看了TS1552的证件号码!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2019-11-26 15:02:32.000', 'WK010于2019-11-26 15:02:32登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-12-07 17:43:16.000', 'WK010于2019/12/7 17:43:16登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-12-07 17:44:13.000', 'WK010于2019/12/7 17:44:13登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-12-07 17:45:23.000', 'WK010于2019/12/7 17:45:23登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-12-07 17:46:05.000', 'WK010于2019/12/7 17:46:05登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-12-07 17:46:57.000', 'WK010于2019/12/7 17:46:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-02-28 17:00:24.000', 'WK010于2020/2/28 17:00:24登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-02-28 17:00:41.000', 'WK010于2020/2/28 17:00:41登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-02-28 17:01:04.000', 'WK010于2020/2/28 17:01:04登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-02-28 17:02:22.000', 'WK010于2020/2/28 17:02:22登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-02-28 17:03:41.000', 'WK010于2020/2/28 17:03:41登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-02-28 17:04:36.000', 'WK010于2020/2/28 17:04:36登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-02-28 17:05:26.000', 'WK010于2020/2/28 17:05:26登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-02-28 17:06:11.000', '杨俊杰【经理部总经理】于2020/2/28 17:06:11尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-02-28 17:09:02.000', '经理部总经理杨俊杰于2020/2/28 17:09:02帮助TS1862进行了退房结算操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-02-28 17:09:26.000', 'WK010于2020/2/28 17:09:26登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-03 11:51:26.000', 'WK010于2020/3/3 11:51:26登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-03 11:51:43.000', 'WK010于2020/3/3 11:51:43登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-03 11:52:55.000', '杨俊杰【经理部总经理】于2020/3/3 11:52:55尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-03 11:54:38.000', 'WK010于2020/3/3 11:54:38登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-03 11:57:16.000', 'WK010于2020/3/3 11:57:16登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-03 11:57:32.000', '经理部经理杨俊杰于2020/3/3 11:57:32查看了TS1003的证件号码!', '经理部经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-03 11:57:50.000', '杨俊杰【经理部经理】于2020/3/3 11:57:50尝试或成功登入了后台系统!', '杨俊杰【经理部经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-03 12:00:48.000', '经理部杨俊杰经理杨俊杰于2020/3/3 12:00:48导出了后台用户信息!', '经理部杨俊杰经理'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-09 22:03:59.000', 'WK010于2020/3/9 22:03:59登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-09 22:05:01.000', 'WK010于2020/3/9 22:05:01登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-09 22:05:37.000', 'WK010于2020/3/9 22:05:37登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-09 22:06:10.000', '杨俊杰【经理部总经理】于2020/3/9 22:06:10尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-09 22:07:13.000', 'WK010于2020/3/9 22:07:13登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-09 23:19:39.000', 'WK010于2020/3/9 23:19:39登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-09 23:53:51.000', 'WK010于2020/3/9 23:53:51登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-10 00:17:49.000', 'WK010于2020/3/10 0:17:49登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-10 15:04:57.000', 'WK010于2020/3/10 15:04:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-10 15:05:02.000', '杨俊杰【经理部总经理】于2020/3/10 15:05:02尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-10 15:07:32.000', '杨俊杰【经理部总经理】于2020/3/10 15:07:32尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-10 15:08:03.000', '杨俊杰【经理部总经理】于2020/3/10 15:08:03尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-11 12:44:54.000', 'WK010于2020/3/11 12:44:54登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-11 14:02:34.000', 'WK010于2020/3/11 14:02:34登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-13 14:00:05.000', 'WK010于2020-03-13 14:00:05登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-13 19:28:57.000', 'WK010于2020/3/13 19:28:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-13 20:52:30.000', 'WK010于2020/3/13 20:52:30登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-14 23:18:49.000', 'WK010于2020/3/14 23:18:49登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-14 23:19:40.000', 'WK010于2020/3/14 23:19:40登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-14 23:21:33.000', '经理部总经理杨俊杰于2020/3/14 23:21:33帮助进行了退房结算操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-16 20:51:08.000', 'WK010于2020/3/16 20:51:08登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 16:12:40.000', '杨俊杰【经理部总经理】于2020/3/17 16:12:40尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 16:12:55.000', '杨俊杰【经理部总经理】于2020/3/17 16:12:55尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 16:12:56.000', '杨俊杰【经理部总经理】于2020/3/17 16:12:56尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 16:12:59.000', '杨俊杰【经理部总经理】于2020/3/17 16:12:59尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 16:13:26.000', 'WK010于2020/3/17 16:13:26登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 19:41:51.000', '经理部总经理杨俊杰于2020/3/17 19:41:51帮助TS1816进行了消费商品:康师傅方便面操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 19:42:09.000', '经理部总经理杨俊杰于2020/3/17 19:42:09帮助TS1816进行了消费商品:拉菲操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 19:42:13.000', '经理部总经理杨俊杰于2020/3/17 19:42:13帮助TS1816进行了消费商品:拉菲操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 19:42:40.000', '经理部总经理杨俊杰于2020/3/17 19:42:40帮助TS1816进行了消费商品:拉菲操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 19:43:59.000', '经理部总经理杨俊杰于2020/3/17 19:43:59帮助TS1816进行了消费商品:拉菲操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 19:44:03.000', '经理部总经理杨俊杰于2020/3/17 19:44:03帮助TS1816进行了消费商品:拉菲操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 19:44:07.000', '经理部总经理杨俊杰于2020/3/17 19:44:07帮助TS1816进行了消费商品:康师傅方便面操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-17 19:44:53.000', '经理部总经理杨俊杰于2020/3/17 19:44:53帮助TS1816进行了消费商品:三只松鼠夏威夷坚果操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-18 09:54:58.000', 'WK010于2020/3/18 9:54:58登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-18 09:55:20.000', '经理部总经理杨俊杰于2020/3/18 9:55:20帮助TS1816进行了消费商品:拉菲操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-18 17:34:25.000', '经理部总经理杨俊杰于2020/3/18 17:34:25帮助TS1816进行了消费商品:可口可乐操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-18 17:34:41.000', '经理部总经理杨俊杰于2020/3/18 17:34:41帮助TS1816进行了消费商品:可口可乐操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-18 23:12:50.000', 'WK010于2020/3/18 23:12:50登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-19 13:17:45.000', 'WK010于2020/3/19 13:17:45登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-19 20:02:33.000', 'WK010于2020/3/19 星期四 20:02:33登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-23 12:12:41.000', 'WK010于2020/3/23 12:12:41登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-23 12:13:32.000', '经理部总经理杨俊杰于2020/3/23 12:13:32查看了TS1005的证件号码!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-23 12:14:59.000', 'WK010于2020/3/23 12:14:59登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-23 12:15:19.000', 'WK010于2020/3/23 12:15:19登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-25 12:01:57.000', 'WK010于2020/3/25 12:01:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-25 12:05:00.000', '经理部总经理杨俊杰于2020/3/25 12:05:00帮助TS1816进行了消费商品:乐事薯片(原味)操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-26 14:56:48.000', 'WK010于2020/3/26 14:56:48登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-26 14:57:57.000', '杨俊杰【经理部总经理】于2020/3/26 14:57:57尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 12:35:22.000', 'WK010于2020/3/27 12:35:22登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 12:37:24.000', 'WK010于2020/3/27 12:37:24登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 12:37:28.000', '杨俊杰【经理部总经理】于2020/3/27 12:37:28尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 12:42:21.000', '杨俊杰【经理部总经理】于2020/3/27 12:42:21尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 12:43:47.000', '杨俊杰【经理部总经理】于2020/3/27 12:43:47尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 17:59:57.000', 'WK010于2020/3/27 星期五 17:59:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:02:28.000', '杨俊杰【经理部总经理】于2020/3/27 星期五 18:02:28尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 10:21:37.000', 'WK010于2018-12-27 10:21:37登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 10:38:35.000', 'WK010于2018-12-27 10:38:35登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 11:15:05.000', 'WK010于2018-12-27 11:15:05登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 11:16:16.000', '经理部杨俊杰于2018-12-27 11:16:16查看了TS1003的证件号码!', '经理部杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:07:38.000', 'WK010于2018-12-27 20:07:38登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:26:29.000', 'WK010于2018-12-27 20:26:29登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:32:00.000', 'WK010于2018-12-27 20:32:00登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:39:14.000', 'WK010于2018-12-27 20:39:14登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:44:13.000', 'WK010于2018-12-27 20:44:13登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 20:44:42.000', 'WK010于2018-12-27 20:44:42登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:34:44.000', 'WK010于2018-12-28 07:34:44登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:38:24.000', 'WK010于2018-12-28 07:38:24登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:39:09.000', 'WK010于2018-12-28 07:39:09登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:43:35.000', 'WK010于2018-12-28 07:43:35登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:44:04.000', 'WK010于2018-12-28 07:44:04登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:44:23.000', 'WK010于2018-12-28 07:44:23登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:44:52.000', 'WK010于2018-12-28 07:44:52登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:45:25.000', 'WK010于2018-12-28 07:45:25登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:45:50.000', 'WK010于2018-12-28 07:45:50登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:48:35.000', 'WK010于2018-12-28 07:48:35登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:49:14.000', 'WK010于2018-12-28 07:49:14登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 07:57:33.000', 'WK010于2018-12-28 07:57:33登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 08:00:54.000', 'WK010于2018-12-28 08:00:54登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 08:01:16.000', 'WK010于2018-12-28 08:01:16登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 08:02:51.000', 'WK010于2018-12-28 08:02:51登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 08:12:06.000', 'WK010于2018-12-28 08:12:06登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 08:12:59.000', 'WK010于2018-12-28 08:12:59登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 08:23:05.000', 'WK010于2018-12-28 08:23:05登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 08:26:38.000', 'WK010于2018-12-28 08:26:38登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 08:27:57.000', 'WK010于2018-12-28 08:27:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-28 08:28:19.000', 'WK010于2018-12-28 08:28:19登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-10 19:17:36.000', 'WK010于2019/10/10 19:17:36登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:04:01.000', 'WK010于2020/3/27 星期五 18:04:01登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:04:05.000', '杨俊杰【经理部总经理】于2020/3/27 星期五 18:04:05尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:04:07.000', '杨俊杰【经理部总经理】于2020/3/27 星期五 18:04:07尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:04:49.000', '杨俊杰【经理部总经理】于2020/3/27 星期五 18:04:49尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:15:02.000', '杨俊杰【经理部总经理】于2020/3/27 星期五 18:15:02尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:15:09.000', '杨俊杰【经理部总经理】于2020/3/27 星期五 18:15:09尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:15:15.000', '杨俊杰【经理部总经理】于2020/3/27 星期五 18:15:15尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:15:18.000', '杨俊杰【经理部总经理】于2020/3/27 星期五 18:15:18尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:15:19.000', '杨俊杰【经理部总经理】于2020/3/27 星期五 18:15:19尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 19:59:10.000', 'WK010于2020/3/27 19:59:10登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-28 12:15:02.000', 'WK010于2020/3/28 星期六 12:15:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-28 12:19:08.000', 'WK010于2020/3/28 星期六 12:19:08登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-28 12:20:08.000', '杨俊杰【经理部总经理】于2020/3/28 星期六 12:20:08尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-28 22:31:38.000', 'WK010于2020/3/28 22:31:38登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-30 13:11:07.000', 'WK010于2020/3/30 13:11:07登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-30 13:11:13.000', '杨俊杰【经理部总经理】于2020/3/30 13:11:13尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-30 13:40:42.000', 'WK010于2020/3/30 13:40:42登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-30 13:44:36.000', 'WK010于2020/3/30 13:44:36登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-30 13:45:08.000', 'WK010于2020/3/30 13:45:08登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-02 14:58:09.000', 'WK010于2020/4/2 14:58:09登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-02 14:59:00.000', '杨俊杰【经理部总经理】于2020/4/2 14:59:00尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-02 15:53:54.000', 'WK010于2020/4/2 15:53:54登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-02 15:54:06.000', 'WK010于2020/4/2 15:54:06登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 15:03:59.000', 'WK010于2020/4/6 15:03:59登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 15:04:46.000', 'WK010于2020/4/6 15:04:46登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 15:09:00.000', 'WK010于2020/4/6 15:09:00登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 15:13:26.000', 'WK010于2020/4/6 15:13:26登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 15:55:05.000', 'WK010于2020/4/6 15:55:05登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 15:56:20.000', 'WK010于2020/4/6 15:56:20登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 15:57:48.000', 'WK010于2020/4/6 15:57:48登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 15:58:09.000', '经理部总经理杨俊杰于2020/4/6 15:58:09帮助789798789进行了预订房间操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:13:48.000', 'WK010于2020/4/6 18:13:48登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:01:17.000', 'WK010于2020/4/6 19:01:17登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:03:38.000', 'WK010于2020/4/6 19:03:38登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:05:23.000', 'WK010于2020/4/6 19:05:23登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:07:43.000', 'WK010于2020/4/6 19:07:43登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:10:41.000', 'WK010于2020/4/6 19:10:41登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:13:45.000', 'WK010于2020/4/6 19:13:45登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:14:54.000', 'WK010于2020/4/6 19:14:54登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:16:01.000', 'WK010于2020/4/6 19:16:01登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:16:42.000', 'WK010于2020/4/6 19:16:42登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:17:36.000', 'WK010于2020/4/6 19:17:36登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:18:32.000', 'WK010于2020/4/6 19:18:32登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:21:24.000', 'WK010于2020/4/6 19:21:24登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:21:58.000', 'WK010于2020/4/6 19:21:58登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:23:43.000', 'WK010于2020/4/6 19:23:43登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:24:47.000', 'WK010于2020/4/6 19:24:47登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:27:53.000', 'WK010于2020/4/6 19:27:53登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:31:36.000', 'WK010于2020/4/6 19:31:36登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:32:46.000', 'WK010于2020/4/6 19:32:46登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:34:18.000', 'WK010于2020/4/6 19:34:18登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:35:15.000', 'WK010于2020/4/6 19:35:15登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:37:15.000', 'WK010于2020/4/6 19:37:15登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:38:51.000', 'WK010于2020/4/6 19:38:51登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:39:51.000', 'WK010于2020/4/6 19:39:51登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:40:29.000', 'WK010于2020/4/6 19:40:29登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 23:01:03.000', 'WK010于2018-12-25 23:01:03登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 23:03:22.000', 'WK010于2018-12-25 23:03:22登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 23:03:59.000', 'WK010于2018-12-25 23:03:59登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 23:06:02.000', 'WK010于2018-12-25 23:06:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 23:10:02.000', 'WK010于2018-12-25 23:10:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-25 23:13:25.000', 'WK010于2018-12-25 23:13:25登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 08:26:43.000', 'WK010于2018-12-26 08:26:43登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 08:28:48.000', 'WK010于2018-12-26 08:28:48登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 08:31:21.000', 'WK010于2018-12-26 08:31:21登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 08:33:02.000', 'WK010于2018-12-26 08:33:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 09:01:57.000', 'WK010于2018-12-26 09:01:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 09:03:35.000', 'WK010于2018-12-26 09:03:35登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 09:04:30.000', 'WK010于2018-12-26 09:04:30登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 09:38:16.000', 'WK010于2018-12-26 09:38:16登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 09:47:31.000', 'WK010于2018-12-26 09:47:31登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 09:48:39.000', 'WK010于2018-12-26 09:48:39登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 09:51:02.000', 'WK010于2018-12-26 09:51:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:50:15.000', 'WK010于2018-12-26 10:50:15登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:51:12.000', 'WK010于2018-12-26 10:51:12登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 10:55:08.000', 'WK010于2018-12-26 10:55:08登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 11:03:38.000', 'WK010于2018-12-26 11:03:38登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 11:05:33.000', 'WK010于2018-12-26 11:05:33登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 11:07:23.000', 'WK010于2018-12-26 11:07:23登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 11:09:33.000', 'WK010于2018-12-26 11:09:33登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 11:11:15.000', 'WK010于2018-12-26 11:11:15登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 11:13:03.000', 'WK010于2018-12-26 11:13:03登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 11:42:58.000', 'WK010于2018-12-26 11:42:58登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 11:46:25.000', 'WK010于2018-12-26 11:46:25登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 11:47:22.000', 'WK010于2018-12-26 11:47:22登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 13:57:22.000', 'WK010于2018-12-26 13:57:22登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 13:58:10.000', 'WK010于2018-12-26 13:58:10登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 13:59:48.000', 'WK010于2018-12-26 13:59:48登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 14:03:42.000', 'WK010于2018-12-26 14:03:42登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 14:10:30.000', 'WK010于2018-12-26 14:10:30登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 14:14:36.000', 'WK010于2018-12-26 14:14:36登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 14:20:21.000', 'WK010于2018-12-26 14:20:21登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 14:28:57.000', 'WK010于2018-12-26 14:28:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 14:33:20.000', 'WK010于2018-12-26 14:33:20登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 14:34:34.000', 'WK010于2018-12-26 14:34:34登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:08:27.000', 'WK010于2018-12-26 18:08:27登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:09:44.000', 'WK010于2018-12-26 18:09:44登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:10:15.000', 'WK010于2018-12-26 18:10:15登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:10:43.000', 'WK010于2018-12-26 18:10:43登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:19:41.000', 'WK010于2018-12-26 18:19:41登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:20:51.000', 'WK010于2018-12-26 18:20:51登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:36:57.000', 'WK010于2018-12-26 18:36:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:37:41.000', 'WK010于2018-12-26 18:37:41登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 18:40:13.000', 'WK010于2018-12-26 18:40:13登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 20:05:33.000', 'WK010于2018-12-26 20:05:33登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 20:09:58.000', 'WK010于2018-12-26 20:09:58登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 20:10:57.000', 'WK010于2018-12-26 20:10:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 20:12:26.000', 'WK010于2018-12-26 20:12:26登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 20:12:47.000', '经理部杨俊杰于2018-12-26 20:12:47查看了TS1084的证件号码!', '经理部杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 20:12:50.000', '经理部杨俊杰于2018-12-26 20:12:50查看了TS1084的证件号码!', '经理部杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 20:21:00.000', 'WK010于2018-12-26 20:21:00登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 20:23:08.000', 'WK010于2018-12-26 20:23:08登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 20:24:06.000', 'WK010于2018-12-26 20:24:06登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-26 20:26:06.000', 'WK010于2018-12-26 20:26:06登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 15:10:03.000', 'WK010于2020/4/6 15:10:03登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2018-12-27 21:04:29.000', 'WK010于2018-12-27 21:04:29登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 21:08:29.000', 'WK010于2019-10-28 21:08:29登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 21:11:00.000', 'WK010于2019-10-28 21:11:00登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 21:11:25.000', 'WK010于2019-10-28 21:11:25登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 21:12:15.000', 'WK010于2019-10-28 21:12:15登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2019-10-28 21:16:02.000', 'WK010于2019-10-28 21:16:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:16:10.000', 'WK010于2020/3/27 18:16:10登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-03-27 18:16:13.000', '杨俊杰【经理部总经理】于2020/3/27 18:16:13尝试或成功登入了后台系统!', '杨俊杰【经理部总经理】'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:02:24.000', 'WK010于2020/4/6 16:02:24登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:05:48.000', 'WK010于2020/4/6 16:05:48登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:06:13.000', 'WK010于2020/4/6 16:06:13登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:09:26.000', 'WK010于2020/4/6 16:09:26登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:09:56.000', 'WK010于2020/4/6 16:09:56登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:18:17.000', 'WK010于2020/4/6 16:18:17登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:19:20.000', 'WK010于2020/4/6 16:19:20登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:41:33.000', 'WK010于2020/4/6 16:41:33登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:42:18.000', 'WK010于2020/4/6 16:42:18登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:44:01.000', 'WK010于2020/4/6 16:44:01登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:49:22.000', 'WK010于2020/4/6 16:49:22登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 16:50:36.000', 'WK010于2020/4/6 16:50:36登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:04:41.000', 'WK010于2020/4/6 17:04:41登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:05:23.000', 'WK010于2020/4/6 17:05:23登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:08:39.000', 'WK010于2020/4/6 17:08:39登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:18:18.000', 'WK010于2020/4/6 17:18:18登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:19:02.000', 'WK010于2020/4/6 17:19:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:20:10.000', 'WK010于2020/4/6 17:20:10登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:24:02.000', 'WK010于2020/4/6 17:24:02登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:24:51.000', 'WK010于2020/4/6 17:24:51登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:41:29.000', 'WK010于2020/4/6 17:41:29登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:44:15.000', 'WK010于2020/4/6 17:44:15登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:45:55.000', 'WK010于2020/4/6 17:45:55登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 17:59:46.000', 'WK010于2020/4/6 17:59:46登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:42:17.000', 'WK010于2020/4/6 19:42:17登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:42:57.000', 'WK010于2020/4/6 19:42:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:44:45.000', 'WK010于2020/4/6 19:44:45登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:45:38.000', 'WK010于2020/4/6 19:45:38登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:47:57.000', 'WK010于2020/4/6 19:47:57登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:49:08.000', 'WK010于2020/4/6 19:49:08登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:50:11.000', 'WK010于2020/4/6 19:50:11登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:51:01.000', 'WK010于2020/4/6 19:51:01登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:52:35.000', 'WK010于2020/4/6 19:52:35登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:53:55.000', 'WK010于2020/4/6 19:53:55登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:56:53.000', 'WK010于2020/4/6 19:56:53登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:57:15.000', 'WK010于2020/4/6 19:57:15登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:58:46.000', 'WK010于2020/4/6 19:58:46登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:59:20.000', '经理部总经理杨俊杰于2020/4/6 19:59:20帮助TS1084进行了退房结算操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 19:59:34.000', 'WK010于2020/4/6 19:59:34登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:00:56.000', 'WK010于2020/4/6 20:00:56登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:02:33.000', 'WK010于2020/4/6 20:02:33登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:03:54.000', 'WK010于2020/4/6 20:03:54登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:04:43.000', 'WK010于2020/4/6 20:04:43登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:08:48.000', 'WK010于2020/4/6 20:08:48登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:09:28.000', 'WK010于2020/4/6 20:09:28登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:12:48.000', 'WK010于2020/4/6 20:12:48登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:19:53.000', 'WK010于2020/4/6 20:19:53登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:21:01.000', 'WK010于2020/4/6 20:21:01登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:22:30.000', 'WK010于2020/4/6 20:22:30登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:23:21.000', 'WK010于2020/4/6 20:23:21登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:24:20.000', 'WK010于2020/4/6 20:24:20登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:24:34.000', '经理部总经理杨俊杰于2020/4/6 20:24:34帮助TS1074进行了退房结算操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:25:00.000', 'WK010于2020/4/6 20:25:00登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:25:14.000', '经理部总经理杨俊杰于2020/4/6 20:25:14帮助TS1634进行了退房结算操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 20:25:30.000', '经理部总经理杨俊杰于2020/4/6 20:25:30帮助TS1765进行了退房结算操作!', '经理部总经理杨俊杰'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:17:16.000', 'WK010于2020/4/6 18:17:16登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:19:53.000', 'WK010于2020/4/6 18:19:53登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:23:53.000', 'WK010于2020/4/6 18:23:53登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:24:34.000', 'WK010于2020/4/6 18:24:34登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:25:03.000', 'WK010于2020/4/6 18:25:03登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:25:36.000', 'WK010于2020/4/6 18:25:36登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:26:34.000', 'WK010于2020/4/6 18:26:34登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:27:00.000', 'WK010于2020/4/6 18:27:00登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:27:35.000', 'WK010于2020/4/6 18:27:35登入了系统!', 'WK010'); GO
INSERT INTO [OperationLog] VALUES ('2020-04-06 18:28:03.000', 'WK010于2020/4/6 18:28:03登入了系统!', 'WK010'); GO
>>>>>>> 40311c0... 更新源码2020-04-19
|
<reponame>Shuttl-Tech/antlr_psql
-- file:create_view.sql ln:585 expect:true
DROP SCHEMA temp_view_test CASCADE
|
<filename>Data Scientist Career Path/4. Data Acquisition/1. SQL/3. Commands/13. insert.sql
INSERT INTO table_name (column_1, column_2, column_3)
VALUES (value_1, 'value_2', value_3); |
<reponame>begriffs/postgrest-example
-- Verify session_type
BEGIN;
SELECT session_type from "1".sessions where FALSE;
ROLLBACK;
|
<gh_stars>0
--------------------------------------------------------------------------------------------------------------------------------
-- Script: sndbcf.sql
-- Licence: Apache License 2.0
-- Author: <EMAIL>
-- Version: 2021.10.23
--
-- Description: Table CTL_DB2LUW.SNDBCF
--------------------------------------------------------------------------------------------------------------------------------
CREATE TABLE ctl_db2luw.sndbcf
(
db_id INTEGER NOT NULL,
agent_id INTEGER NOT NULL,
snapshot_timestamp TIMESTAMP(0) NOT NULL,
transform_timestamp TIMESTAMP(0)
);
ALTER TABLE ctl_db2luw.sndbcf
ADD CONSTRAINT sndbcf_pk PRIMARY KEY (db_id, agent_id, snapshot_timestamp);
|
prompt
prompt
set sqlprompt "&_i_inst@&_user> "
set termout on
set termout on
COLUMN id_plus_exp FORMAT 990 HEADING i
COLUMN parent_id_plus_exp FORMAT 990 HEADING p
COLUMN plan_plus_exp FORMAT a60
COLUMN object_node_plus_exp FORMAT a8
COLUMN other_tag_plus_exp FORMAT a29
COLUMN other_plus_exp FORMAT a44
col HOSTNAME for a35
col BLOCKED for a7
col STARTUP_TIME for a19
select I.STATUS,I.DATABASE_STATUS DB_STATUS,D.open_mode,d.protection_mode,D.database_role,I.LOGINS,D.FLASHBACK_ON,d.log_mode,
to_char(I.STARTUP_TIME,'DD-MON-YY HH24:MI:SS') STARTUP_TIME from gv$instance I,v$database D ;
@pdb_stat.sql
|
<reponame>gabrielgoisandrade/spring-boot-restful
CREATE TABLE IF NOT EXISTS TB_BOOK
(
BOOK_ID SERIAL PRIMARY KEY,
TITLE VARCHAR(100) NOT NULL,
AUTHOR VARCHAR(50) NOT NULL,
PRICE DOUBLE PRECISION NOT NULL,
LAUNCH_DATE DATE NOT NULL
); |
<gh_stars>0
create table users(
id int(20) auto_increment primary key comment "序号",
psw varchar(32) unique comment "密码",
uname varchar(15) unique comment "用户名",
phone varchar(11) unique comment "手机号",
email varchar(30) unique comment "邮箱",
created_date datetime comment "创建日期",
birthday datetime comment "生日",
signature varchar(30) comment "个性签名",
sex varchar(3) comment "性别" ,
location varchar(30) comment "地区",
constellation varchar(3) comment "星座",
age int(3) comment "年龄",
avatar text comment "URL坐标",
occupation varchar(10) comment "职业",
slat varchar(255) comment '盐值'
)ENGINE=InnoDB DEFAULT CHARSET=utf8; |
<filename>sql/d.sql
SELECT MIN(s.PRICE)
FROM SIMPLE s
WHERE s.ITEM.CATEGORY.NAME = 'Aviação'; |
CREATE TABLE [Entity].[ResourceType] (
[ResourceTypeId] INT IDENTITY (1, 1) CONSTRAINT [DF_ResourceType_ResourceTypeId] NOT NULL,
[ResourceTypeKey] UNIQUEIDENTIFIER CONSTRAINT [DC_ResourceType_ResourceTypeKey] DEFAULT (NewID()) NOT NULL,
[ResourceTypeName] NVARCHAR (50) CONSTRAINT [DF_ResourceType_ResourceTypeName] DEFAULT ('') NOT NULL,
[ResourceTypeDescription] NVARCHAR (250) CONSTRAINT [DF_ResourceType_ResourceTypeDescription] DEFAULT ('') NOT NULL,
[CreatedDate] DATETIME CONSTRAINT [DF_ResourceType_CreatedDate] DEFAULT (getutcdate()) NOT NULL,
[ModifiedDate] DATETIME CONSTRAINT [DF_ResourceType_ModifiedDate] DEFAULT (getutcdate()) NOT NULL,
CONSTRAINT [PK_ResourceType] PRIMARY KEY CLUSTERED ([ResourceTypeId] ASC)
);
GO
CREATE UNIQUE NonCLUSTERED INDEX [IX_ResourceType_Key] ON [Entity].[ResourceType] ([ResourceTypeKey] Asc)
GO |
INSERT INTO rubrics (id, parent_id, name) VALUES
(900, 0, 'Лингвистика');
|
<filename>tests/templates/154-float-lte.sql
select count(*) from nulls where float_11 <= 0.0102
1
|
CREATE TABLE `empty_strings` (
`pk` INT NOT NULL,
`a` VARCHAR(20) NOT NULL
);
|
<filename>svntrunk/src/BlueMatter/db2/src/chem.db2
CREATE SCHEMA CHEM;
CREATE TABLE CHEM.chemical_component (
component_name VARCHAR(60) NOT NULL,
description VARCHAR(100) NOT NULL,
PRIMARY KEY ( component_name )) IN mdshort;
CREATE TABLE CHEM.molecule_type (
class VARCHAR(60) NOT NULL,
description VARCHAR(100) NOT NULL,
PRIMARY KEY ( class )) IN mdshort;
CREATE TABLE CHEM.elements (
atomic_number INT NOT NULL,
element_symbol VARCHAR(60) NOT NULL,
element_name VARCHAR(50) NOT NULL,
atomic_mass VARCHAR(30) NOT NULL,
PRIMARY KEY ( element_symbol )) IN mdshort;
CREATE TABLE CHEM.atom_tag_table (
component_name VARCHAR(60) NOT NULL,
atom_tag VARCHAR(60) NOT NULL,
PRIMARY KEY ( component_name, atom_tag ),
FOREIGN KEY ( component_name) REFERENCES CHEM.chemical_component ON DELETE CASCADE) IN mdshort;
CREATE TABLE CHEM.extent_table (
component_name VARCHAR(60) NOT NULL,
atom_tag VARCHAR(60) NOT NULL,
max_extent VARCHAR(60) NOT NULL,
PRIMARY KEY ( component_name ),
FOREIGN KEY ( component_name, atom_tag) REFERENCES CHEM.atom_tag_table ON DELETE CASCADE) IN mdshort;
CREATE TABLE CHEM.site_param_type (
type_id INT NOT NULL,
type_desc VARCHAR(60) NOT NULL,
PRIMARY KEY ( type_id )) IN mdshort;
CREATE TABLE CHEM.water_parameters (
water_model VARCHAR(60) NOT NULL,
q1 VARCHAR(60) NOT NULL,
q2 VARCHAR(60) NOT NULL,
O_epsilon VARCHAR(60) NOT NULL,
O_sigma VARCHAR(60) NOT NULL,
H_epsilon VARCHAR(60) NOT NULL,
H_sigma VARCHAR(60) NOT NULL,
PRIMARY KEY ( water_model )) IN mdshort;
|
SELECT * FROM orders
|
ALTER TABLE `infraxys`.`version_history`
DROP COLUMN if exists `releaseNumber`;
ALTER TABLE `infraxys`.`version_history`
DROP COLUMN if exists `infraxysVersion`;
alter table projects
ADD COLUMN if not exists `enable_cache_for_child_projects` INT(1) NOT NULL DEFAULT '0',
ADD COLUMN if not exists `cache_alias` VARCHAR(100) NULL DEFAULT NULL,
ADD UNIQUE KEY IF NOT EXISTS `UK_PROJECT_CACHE_ALIAS` (`cache_alias`);
insert into core_class_attributes (core_class_id, name, type_class_name, caption_key, detail_form_column,
detail_form_order, required, clone_attribute, auto_export_to_script,
filter_in_suggest, tooltip,
visibility_level, writability, order_order, list_order)
values ((select id from core_classes where name = 'Project'), 'enableCacheForChildProjects', 'java.lang.Boolean',
'Enable cache in child projects', 1, 200, 1, 1, 1,
0, 'Check this box if all child projects should be able to read from this cache (not write)', 'ALWAYS VISIBLE',
'ALWAYS', 200, 200),
((select id from core_classes where name = 'Project'), 'cacheAlias', 'java.lang.String', 'Cache alias',
1, 300, 0, 1, 1, 0,
'Enter a unique cache alias. This cache will be available at /cache/shared/<alias> (the current project is always writeable at /cache/project)',
'ALWAYS VISIBLE', 'ALWAYS', 200, 200);
|
<reponame>opengauss-mirror/Yat<filename>openGaussBase/testcase/SQL/INNERFUNC/min/Opengauss_Function_Innerfunc_Min_Case0018.sql
-- @testpoint: 函数调用min结合group by--cidr
--step1:创建表; expect:成功
drop table if exists t_min_case0018;
create table t_min_case0018(id int, i cidr);
--step2:创建函数; expect:成功
create or replace function f_min_case0018(out min_id int, out min_c cidr)
returns setof record
as $$
begin
return query select id as min_id, min(i)::cidr as min_c from t_min_case0018 group by id order by id;
end;
$$language plpgsql;/
--step3:调用函数; expect:空
select f_min_case0018();
--step4:插入空值; expect:空 ::
insert into t_min_case0018 values(1, NULL);
select f_min_case0018();
insert into t_min_case0018 values(1, '::');
select f_min_case0018();
--step5:插入数据; expect:(1,::) (2,::255.255.0.0/120)
insert into t_min_case0018 values(1, '::ffff/128'),(2, '::ffff:0/120');
select f_min_case0018();
--tearDown
drop function f_min_case0018;
drop table if exists t_min_case0018;
|
<filename>schema.sql
DROP DATABASE IF EXISTS genshinDB;
CREATE DATABASE genshinDB; |
<reponame>nf-framework/nf-back-dbfw
CREATE OR REPLACE FUNCTION nfc.f4unitlist8get_caption(p_code character varying)
RETURNS character varying
LANGUAGE sql
STABLE SECURITY DEFINER COST 10
AS $function$
select caption from nfc.unitlist where code = p_code
$function$
; |
<reponame>acolm/csc317-termproject<gh_stars>0
-- MySQL dump 10.13 Distrib 8.0.20, for Win64 (x86_64)
--
-- Host: localhost Database: csc317db
-- ------------------------------------------------------
-- Server version 8.0.20
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `posts`
--
DROP TABLE IF EXISTS `posts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `posts` (
`id` int NOT NULL AUTO_INCREMENT,
`title` varchar(128) NOT NULL,
`description` varchar(4096) NOT NULL,
`photopath` varchar(4096) NOT NULL,
`thumbnail` varchar(4096) NOT NULL,
`active` int NOT NULL DEFAULT '0',
`created` datetime NOT NULL,
`fk_userid` int NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id_UNIQUE` (`id`),
KEY `pots to users_idx` (`fk_userid`),
CONSTRAINT `pots to users` FOREIGN KEY (`fk_userid`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `posts`
--
LOCK TABLES `posts` WRITE;
/*!40000 ALTER TABLE `posts` DISABLE KEYS */;
INSERT INTO `posts` VALUES (2,'sick owls','dope','public\\images\\uploads\\93bd2e43f0b64a3c229966258e7a805b01048c2359f5.png','public/images/uploads/thumbnail-93bd2e43f0b64a3c229966258e7a805b01048c2359f5.png',0,'2020-05-20 19:05:04',6),(3,'car','fast','public\\images\\uploads\\8412368fcc5061cc75505de6352f2dd43a260c70f8a8.jpeg','public/images/uploads/thumbnail-8412368fcc5061cc75505de6352f2dd43a260c70f8a8.jpeg',0,'2020-05-21 02:41:58',7),(4,'Frog','game','public\\images\\uploads\\d1e223ebc686ee1aa8d63eda5e172bd8b9cbff9a360b.png','public/images/uploads/thumbnail-d1e223ebc686ee1aa8d63eda5e172bd8b9cbff9a360b.png',0,'2020-05-21 22:54:44',7),(5,'logo','station','public\\images\\uploads\\a5fe7bfce381403f1862f7428801a29a9da630deabb5.png','public/images/uploads/thumbnail-a5fe7bfce381403f1862f7428801a29a9da630deabb5.png',0,'2020-05-21 22:54:59',7),(6,'Sneaky Sasquatch','Apple Arcade adventure game','public\\images\\uploads\\a0b15b8525183270da20dda4a4fc0f68e5975a9831c4.png','public/images/uploads/thumbnail-a0b15b8525183270da20dda4a4fc0f68e5975a9831c4.png',0,'2020-05-21 22:55:55',7);
/*!40000 ALTER TABLE `posts` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2020-05-21 22:58:53
|
<gh_stars>0
-- #import ../src/tests.sql
-- #import ../src/fhirbase_params.sql
SET search_path TO fhirbase_params, public;
_get_modifier('subject:Patient.organization:Organization.identifier:text'::text) => 'text'
_get_modifier('subject:Patient.organization:Organization.identifier'::text) => NULL
_get_key('subject:Patient.organization:Organization.identifier:text'::text) => 'subject:Patient.organization:Organization.identifier'
_get_key('subject:Patient.organization:Organization.identifier'::text) => 'subject:Patient.organization:Organization.identifier'
_string_after('aaa==bbb=', '=') => '=bbb='
-- number
SELECT row(x.*)::text FROM _parse_param('param=num') x => '({param},=,{num})'
SELECT count(*) FROM _parse_param('param=num¶m=num2') => 2::bigint
expect
SELECT string_agg(row(x.*)::text, ';') FROM _parse_param('param=num¶m=num2') x
=> '({param},=,{num});({param},=,{num2})'
SELECT row(x.*)::text FROM _parse_param('param=<num') x => '({param},<,{num})'
SELECT row(x.*)::text FROM _parse_param('param=<%3Dnum') x => '({param},<=,{num})'
SELECT row(x.*)::text FROM _parse_param('param=>num') x => '({param},>,{num})'
SELECT row(x.*)::text FROM _parse_param('param=>%3Dnum') x => '({param},>=,{num})'
SELECT row(x.*)::text FROM _parse_param('param:missing=true') x => '({param},missing,{true})'
SELECT row(x.*)::text FROM _parse_param('param:missing=false') x => '({param},missing,{false})'
SELECT row(x.*)::text FROM _parse_param('param=>=num') x => '({param},>=,{num})'
SELECT row(x.*)::text FROM _parse_param('param=!=num') x => '({param},!=,{num})'
SELECT row(x.*)::text FROM _parse_param('birthdate=>=1980') x => '({birthdate},>=,{1980})'
/* -- date */
expect
SELECT row(x.*)::text FROM _parse_param('param=<date') x
=> '({param},<,{date})'
expect
SELECT row(x.*)::text FROM _parse_param('param=<%3Ddate') x
=> '({param},<=,{date})'
expect
SELECT row(x.*)::text FROM _parse_param('param=>date') x
=> '({param},>,{date})'
expect
SELECT row(x.*)::text FROM _parse_param('param=>%3Ddate') x
=> '({param},>=,{date})'
expect
SELECT row(x.*)::text FROM _parse_param('param:missing=true') x
=> '({param},missing,{true})'
expect
SELECT row(x.*)::text FROM _parse_param('param:missing=false') x
=> '({param},missing,{false})'
expect
SELECT row(x.*)::text FROM _parse_param('param=str') x
=> '({param},=,{str})'
expect
SELECT row(x.*)::text FROM _parse_param('param:exact=str') x
=> '({param},exact,{str})'
expect
SELECT row(x.*)::text FROM _parse_param('subject:Patient.name=ups') x
=> '("{subject:Patient,name}",=,{ups})'
/* -- token */
SELECT row(x.*)::text FROM _parse_param('param=~quantity') x => '({param},~,{quantity})'
/* -- reference */
/* /1* ### Chained params ### *1/ */
/* /1* ### Composite Search params ### *1/ */
|
<filename>rh - harmonia.sql<gh_stars>0
-- --------------------------------------------------------
-- Servidor: 127.0.0.1
-- Versão do servidor: 5.7.21 - MySQL Community Server (GPL)
-- OS do Servidor: Win32
-- HeidiSQL Versão: 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' */;
-- Copiando estrutura do banco de dados para rhharmonia
CREATE DATABASE IF NOT EXISTS `rhharmonia` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `rhharmonia`;
-- Copiando estrutura para tabela rhharmonia.admin
DROP TABLE IF EXISTS `admin`;
CREATE TABLE IF NOT EXISTS `admin` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`usuario` varchar(100) DEFAULT NULL,
`senha` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Tabela de usuários do administrativo';
-- Exportação de dados foi desmarcado.
-- Copiando estrutura para tabela rhharmonia.empresas
DROP TABLE IF EXISTS `empresas`;
CREATE TABLE IF NOT EXISTS `empresas` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`rsocial` varchar(255) DEFAULT NULL,
`fantasia` varchar(255) DEFAULT NULL,
`cnpj` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Exportação de dados foi desmarcado.
-- Copiando estrutura para tabela rhharmonia.funcionarios
DROP TABLE IF EXISTS `funcionarios`;
CREATE TABLE IF NOT EXISTS `funcionarios` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`empresa_id` int(11) DEFAULT NULL,
`nome` varchar(255) DEFAULT NULL,
`cpf` varchar(20) DEFAULT NULL,
`rg` varchar(20) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`celular` varchar(20) DEFAULT NULL,
`residencia` varchar(20) DEFAULT NULL,
`sexo` int(1) DEFAULT NULL,
`logradouro` varchar(255) DEFAULT NULL,
`bairro` varchar(255) DEFAULT NULL,
`numero` varchar(50) DEFAULT NULL,
`complemento` varchar(255) DEFAULT NULL,
`cep` varchar(9) DEFAULT NULL,
`cidade` varchar(255) DEFAULT NULL,
`estado` varchar(50) DEFAULT NULL,
`funcao` varchar(255) DEFAULT NULL,
`salario` decimal(10,2) DEFAULT NULL,
`vr` decimal(10,2) DEFAULT NULL,
`vt` decimal(10,2) DEFAULT NULL,
`admissao` date DEFAULT NULL,
`demissao` date DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `fk_funcionarios_empresa_id` (`empresa_id`),
CONSTRAINT `fk_funcionarios_empresa_id` FOREIGN KEY (`empresa_id`) REFERENCES `empresas` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Exportação de dados foi desmarcado.
/*!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 */;
|
<gh_stars>1-10
IF EXISTS (
SELECT * FROM INFORMATION_SCHEMA.ROUTINES
WHERE SPECIFIC_SCHEMA = N'dbo'
AND SPECIFIC_NAME = N'GetResult'
)
BEGIN
PRINT N'Dropping Procedure dbo.GetResult'
DROP PROCEDURE dbo.GetResult
END
GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO
-- GetResult 1
PRINT 'Creating Procedure dbo.GetResult'
GO
CREATE PROCEDURE GetResult
(
@CommentID INT
)
AS
SET NOCOUNT ON
--TRUNCATION HACK
SET ANSI_WARNINGS OFF
SELECT Bullying
FROM Comment
WHERE CommentID = @CommentID
GO
GRANT EXECUTE ON GetResult to public
GO |
<reponame>FOUNDERCOM/APMS
-- Create sequence
create sequence SEQ_APMS
minvalue 10000
start with 10000
increment by 1; |
-- phpMyAdmin SQL Dump
-- version 4.8.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: 02-Ago-2018 às 22:09
-- Versão do servidor: 10.1.33-MariaDB
-- PHP Version: 7.2.6
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `database`
--
CREATE DATABASE IF NOT EXISTS `database` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
USE `database`;
-- --------------------------------------------------------
--
-- Estrutura da tabela `Equipamentos`
--
CREATE TABLE `Equipamentos` (
`NumeroSerie` text COLLATE utf8_bin NOT NULL,
`Patrimonio` text COLLATE utf8_bin NOT NULL,
`Firmware` text COLLATE utf8_bin NOT NULL,
`Nome` text CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
`Sufixo` text COLLATE utf8_bin NOT NULL,
`Tipo` text COLLATE utf8_bin NOT NULL,
`Canal` longtext COLLATE utf8_bin NOT NULL,
`Potencia` int(11) NOT NULL,
`Frequencia` int(11) NOT NULL,
`Posto` text COLLATE utf8_bin NOT NULL,
`Manual` text COLLATE utf8_bin NOT NULL,
`Codigo` int(11) NOT NULL,
`ID` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
--
-- Extraindo dados da tabela `Equipamentos`
--
INSERT INTO `Equipamentos` (`NumeroSerie`, `Patrimonio`, `Firmware`, `Nome`, `Sufixo`, `Tipo`, `Canal`, `Potencia`, `Frequencia`, `Posto`, `Manual`, `Codigo`, `ID`) VALUES
('78648678676', '87678678678678', 'zgjkzfgkzxfgk', ' ghmjxfgtgjkzrtkzttkztjk', 'TX', '', '', 0, 0, '', '', 0, 1),
('ghkcghkcghkcghkc', 'kcghkcghk', 'ghkchkcghkcghkc', 'gchkxcgykcghkcghkcghkc', 'NB', '', '', 0, 0, '', '', 0, 2),
('tjzdtjzdtjzdtjzdtjztj', 'zdtjzdtjzdtjzdtjzdtj', 'tjztjztjzd', 'xfyjkfmjxfgjxfgjxftjfgjksryksrtjksryjsr', 'TX', '', '', 0, 0, '', '', 0, 3),
('fystjsftjsrtjkstrjsatrj', 'atjatjatjatjatrj', 'dghkdghkdghkdghstulsdtul', 'dgkdguk', 'TX', '', '', 0, 0, '', '', 0, 4),
('stjstj', 'fdtjztj', 'tjkstj', 'sksrtk5', 'TX', '', '', 0, 0, '', '', 0, 5),
('atjatja', 'tjatejatejatej', 'adtjadtjatj', 'sjsfjksksftj', 'NB', '', '', 0, 0, '', '', 0, 6),
('ejETJaetj', 'AETRJaetjaetj', 'ATJATJAETJAE', 'DTYKSDTYKSTYKSTYKSTY', 'LK', '', '', 0, 0, '', '', 0, 7),
('', '', '', '', 'TX', '', '', 0, 0, '', '', 0, 8),
('ykxfykxfykxfyk', 'ztjztjxztfj', 'gyksxkykxf', '', 'TX', '', '', 0, 0, '', '', 0, 9);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `Equipamentos`
--
ALTER TABLE `Equipamentos`
ADD PRIMARY KEY (`ID`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `Equipamentos`
--
ALTER TABLE `Equipamentos`
MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- Database: `gazeta-noroeste`
--
CREATE DATABASE IF NOT EXISTS `gazeta-noroeste` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `gazeta-noroeste`;
--
-- Database: `gazeta-norte`
--
CREATE DATABASE IF NOT EXISTS `gazeta-norte` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
USE `gazeta-norte`;
--
-- Database: `gazeta-sul`
--
CREATE DATABASE IF NOT EXISTS `gazeta-sul` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
USE `gazeta-sul`;
--
-- Database: `gazeta-vix`
--
CREATE DATABASE IF NOT EXISTS `gazeta-vix` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
USE `gazeta-vix`;
-- --------------------------------------------------------
--
-- Estrutura da tabela `gv_equipamentos`
--
CREATE TABLE `gv_equipamentos` (
`nome` text NOT NULL,
`canal` int(11) NOT NULL,
`firmware` text NOT NULL,
`frequencia` text NOT NULL,
`manual` text NOT NULL,
`numeroSerie` text NOT NULL,
`patrimonio` int(11) NOT NULL,
`sufixo` text NOT NULL,
`tipo` text NOT NULL,
`id` int(11) NOT NULL,
`postos` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Tabela de cadastro de novos equipamentos';
-- --------------------------------------------------------
--
-- Estrutura da tabela `gv_manuais`
--
CREATE TABLE `gv_manuais` (
`ativo` int(11) NOT NULL,
`nome` text NOT NULL,
`tipo` text NOT NULL,
`diretorio` text NOT NULL,
`id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ascii;
--
-- Extraindo dados da tabela `gv_manuais`
--
INSERT INTO `gv_manuais` (`ativo`, `nome`, `tipo`, `diretorio`, `id`) VALUES
(0, 'Image0001', 'png', '/manuais/Image0001.png', 1),
(0, 'Image0001', 'png', '/manuais/Image0001.png', 2),
(0, 'redegazetaLogo', 'png', '/manuais/redegazetaLogo.png', 3),
(0, 'redegazetaLogo', 'png', '/manuais/redegazetaLogo.png', 4),
(0, 'redegazetaLogo', 'png', '/manuais/redegazetaLogo.png', 5),
(0, 'Image0001', 'png', '/manuais/Image0001.png', 6),
(0, '', '', '/manuais/.', 7),
(0, 'redegazetaLogo', 'png', '/manuais/redegazetaLogo.png', 8),
(0, '', '', '/manuais/.', 9),
(0, 'Image0001', 'png', '/manuais/Image0001.png', 10),
(0, 'redegazetaLogo', 'png', '/manuais/redegazetaLogo.png', 11),
(0, 'redegazetaLogo', 'png', '/manuais/redegazetaLogo.png', 12),
(0, 'favocon', 'png', '/manuais/favocon.png', 13),
(0, '', '', '/manuais/.', 14),
(0, 'Image0001', 'png', '/manuais/Image0001.png', 15),
(0, 'OUT_PREDEFINIDO', 'blend', '/manuais/OUT_PREDEFINIDO.blend', 16),
(0, 'tratamento do fundo', 'blend', '/manuais/tratamento do fundo.blend', 17),
(0, '125', 'png', '/manuais/125.png', 18),
(0, 'Vector-blue-cloud', 'zip', '/manuais/Vector-blue-cloud.zip', 19),
(0, 'nevoeiro', 'png', '/manuais/nevoeiro.png', 20),
(0, 'Arte_mono_.svg.2018_07_04_11_10_14.0', 'svg', '/manuais/Arte_mono_.svg.2018_07_04_11_10_14.0.svg', 21),
(0, 'tamanho', 'png', '/manuais/tamanho.png', 22),
(0, 'tratamento do fundo', 'blend', '/manuais/tratamento do fundo.blend', 23),
(0, 'tratamento do fundo', 'blend', '/manuais/tratamento do fundo.blend', 24),
(0, 'nevoeiro', 'png', '/manuais/nevoeiro.png', 25),
(0, 'OUT_PREDEFINIDO', 'blend', '/manuais/OUT_PREDEFINIDO.blend', 26),
(0, '125', 'png', '/manuais/125.png', 27),
(0, 'OUT_PREDEFINIDO', 'blend', '/manuais/OUT_PREDEFINIDO.blend', 28),
(0, 'Vector-blue-cloud', 'zip', '/manuais/Vector-blue-cloud.zip', 29),
(0, 'Smoke-Transparent-Background', 'zip', '/manuais/Smoke-Transparent-Background.zip', 30),
(0, '125', 'png', '/manuais/125.png', 31),
(0, 'License premium', 'txt', '/manuais/License premium.txt', 32),
(1, 'FundosWiki.com-arvores-cobertas-neve-1', 'jpg', '/manuais/FundosWiki.com-arvores-cobertas-neve-1.jpg', 33),
(2, 'gtjttehsethste', 'jrstjshsethseths', 'rtjsrtjsrtjsdthjst', 34),
(1, 'montserrat', 'zip', '/manuais/montserrat.zip', 35),
(1, 'LEVANTAMENTO DE REQUISITO', 'docx', '/manuais/LEVANTAMENTO DE REQUISITO.docx', 36);
-- --------------------------------------------------------
--
-- Estrutura da tabela `gv_postos`
--
CREATE TABLE `gv_postos` (
`nome` text NOT NULL,
`endereco` text NOT NULL,
`cep` int(11) NOT NULL,
`bairro` text NOT NULL,
`cidade` text NOT NULL,
`chamadaEdp` int(11) NOT NULL,
`id` int(11) NOT NULL,
`ativo` int(11) NOT NULL,
`dataAquisicao` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Tabela tem o proposito de cadastrar todos os postos de VIX';
--
-- Extraindo dados da tabela `gv_postos`
--
INSERT INTO `gv_postos` (`nome`, `endereco`, `cep`, `bairro`, `cidade`, `chamadaEdp`, `id`, `ativo`, `dataAquisicao`) VALUES
('gsre', 'srh', 0, 'erh', 'erh', 0, 58, 1, '2018-08-02'),
('gsre', 'srh', 0, 'erh', 'erh', 0, 60, 1, '2018-08-02'),
('gsre', 'srh', 0, 'erh', 'erh', 0, 61, 1, '2018-08-02'),
('gsre', 'srh', 0, 'erh', 'erh', 0, 62, 1, '2018-08-02'),
('gsre', 'srh', 0, 'erh', 'erh', 0, 63, 1, '2018-08-02'),
('gsre', 'srh', 0, 'erh', 'erh', 0, 65, 1, '2018-08-02'),
('gsre', 'srh', 0, 'erh', 'erh', 0, 66, 1, '2018-08-02');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `gv_equipamentos`
--
ALTER TABLE `gv_equipamentos`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `gv_manuais`
--
ALTER TABLE `gv_manuais`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `gv_postos`
--
ALTER TABLE `gv_postos`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `gv_equipamentos`
--
ALTER TABLE `gv_equipamentos`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `gv_manuais`
--
ALTER TABLE `gv_manuais`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=37;
--
-- AUTO_INCREMENT for table `gv_postos`
--
ALTER TABLE `gv_postos`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=67;
--
-- Database: `login`
--
CREATE DATABASE IF NOT EXISTS `login` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `login`;
-- --------------------------------------------------------
--
-- Estrutura da tabela `users`
--
CREATE TABLE `users` (
`user_id` int(11) NOT NULL COMMENT 'auto incrementing user_id of each user, unique index',
`user_name` varchar(64) COLLATE utf8_unicode_ci NOT NULL COMMENT 'user''s name, unique',
`user_password_hash` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'user''s password in salted and hashed format',
`user_email` varchar(64) COLLATE utf8_unicode_ci NOT NULL COMMENT 'user''s email, unique'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='user data';
--
-- Extraindo dados da tabela `users`
--
INSERT INTO `users` (`user_id`, `user_name`, `user_password_hash`, `user_email`) VALUES
(1, 'marcossilva100', '$2y$10$vW24UuF5jM6s2/yl0TYBau0Ky0SEcQXLDYjUOtzVdhHjfUKTbPnZW', '<EMAIL>'),
(2, 'RubensE', '$2y$10$uF.ZvM8mliIdbo.52cMneeu/CXUJRBPhn5klxeR.uLmi9JEKs3edG', '<EMAIL>');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`user_id`),
ADD UNIQUE KEY `user_name` (`user_name`),
ADD UNIQUE KEY `user_email` (`user_email`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `user_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'auto incrementing user_id of each user, unique index', AUTO_INCREMENT=3;
--
-- Database: `phpmyadmin`
--
CREATE DATABASE IF NOT EXISTS `phpmyadmin` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
USE `phpmyadmin`;
-- --------------------------------------------------------
--
-- Estrutura da tabela `pma__bookmark`
--
CREATE TABLE `pma__bookmark` (
`id` int(11) NOT NULL,
`dbase` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
`user` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
`label` varchar(255) CHARACTER SET utf8 NOT NULL DEFAULT '',
`query` text COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Bookmarks';
-- --------------------------------------------------------
--
-- Estrutura da tabela `pma__central_columns`
--
CREATE TABLE `pma__central_columns` (
`db_name` varchar(64) COLLATE utf8_bin NOT NULL,
`col_name` varchar(64) COLLATE utf8_bin NOT NULL,
`col_type` varchar(64) COLLATE utf8_bin NOT NULL,
`col_length` text COLLATE utf8_bin,
`col_collation` varchar(64) COLLATE utf8_bin NOT NULL,
`col_isNull` tinyint(1) NOT NULL,
`col_extra` varchar(255) COLLATE utf8_bin DEFAULT '',
`col_default` text COLLATE utf8_bin
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Central list of columns';
-- --------------------------------------------------------
--
-- Estrutura da tabela `pma__column_info`
--
CREATE TABLE `pma__column_info` (
`id` int(5) UNSIGNED NOT NULL,
`db_name` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`table_name` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`column_name` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`comment` varchar(255) CHARACTER SET utf8 NOT NULL DEFAULT '',
`mimetype` varchar(255) CHARACTER SET utf8 NOT NULL DEFAULT '',
`transformation` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
`transformation_options` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
`input_transformation` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
`input_transformation_options` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Column information for phpMyAdmin';
-- --------------------------------------------------------
--
-- Estrutura da tabela `pma__designer_settings`
--
CREATE TABLE `pma__designer_settings` (
`username` varchar(64) COLLATE utf8_bin NOT NULL,
`settings_data` text COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Settings related to Designer';
-- --------------------------------------------------------
--
-- Estrutura da tabela `pma__export_templates`
--
CREATE TABLE `pma__export_templates` (
`id` int(5) UNSIGNED NOT NULL,
`username` varchar(64) COLLATE utf8_bin NOT NULL,
`export_type` varchar(10) COLLATE utf8_bin NOT NULL,
`template_name` varchar(64) COLLATE utf8_bin NOT NULL,
`template_data` text COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Saved export templates';
--
-- Extraindo dados da tabela `pma__export_templates`
--
INSERT INTO `pma__export_templates` (`id`, `username`, `export_type`, `template_name`, `template_data`) VALUES
(1, 'root', 'table', 'gv_equipamentos', '{\"quick_or_custom\":\"quick\",\"what\":\"sql\",\"allrows\":\"1\",\"aliases_new\":\"\",\"output_format\":\"sendit\",\"filename_template\":\"@TABLE@\",\"remember_template\":\"on\",\"charset\":\"utf-8\",\"compression\":\"none\",\"maxsize\":\"\",\"codegen_structure_or_data\":\"data\",\"codegen_format\":\"0\",\"csv_separator\":\",\",\"csv_enclosed\":\"\\\"\",\"csv_escaped\":\"\\\"\",\"csv_terminated\":\"AUTO\",\"csv_null\":\"NULL\",\"csv_structure_or_data\":\"data\",\"excel_null\":\"NULL\",\"excel_columns\":\"something\",\"excel_edition\":\"win\",\"excel_structure_or_data\":\"data\",\"json_structure_or_data\":\"data\",\"json_unicode\":\"something\",\"latex_caption\":\"something\",\"latex_structure_or_data\":\"structure_and_data\",\"latex_structure_caption\":\"estructura da tabela @TABLE@\",\"latex_structure_continued_caption\":\"estructura da tabela @TABLE@ (continuação)\",\"latex_structure_label\":\"tab:@TABLE@-structure\",\"latex_relation\":\"something\",\"latex_comments\":\"something\",\"latex_mime\":\"something\",\"latex_columns\":\"something\",\"latex_data_caption\":\"Conteúdo da tabela @TABLE@\",\"latex_data_continued_caption\":\"Conteúdo da tabela @TABLE@ (continuação)\",\"latex_data_label\":\"tab:@TABLE@-data\",\"latex_null\":\"\\\\textit{NULL}\",\"mediawiki_structure_or_data\":\"data\",\"mediawiki_caption\":\"something\",\"mediawiki_headers\":\"something\",\"htmlword_structure_or_data\":\"structure_and_data\",\"htmlword_null\":\"NULL\",\"ods_null\":\"NULL\",\"ods_structure_or_data\":\"data\",\"odt_structure_or_data\":\"structure_and_data\",\"odt_relation\":\"something\",\"odt_comments\":\"something\",\"odt_mime\":\"something\",\"odt_columns\":\"something\",\"odt_null\":\"NULL\",\"pdf_report_title\":\"\",\"pdf_structure_or_data\":\"data\",\"phparray_structure_or_data\":\"data\",\"sql_include_comments\":\"something\",\"sql_header_comment\":\"\",\"sql_use_transaction\":\"something\",\"sql_compatibility\":\"NONE\",\"sql_structure_or_data\":\"structure_and_data\",\"sql_create_table\":\"something\",\"sql_auto_increment\":\"something\",\"sql_create_view\":\"something\",\"sql_create_trigger\":\"something\",\"sql_backquotes\":\"something\",\"sql_type\":\"INSERT\",\"sql_insert_syntax\":\"both\",\"sql_max_query_size\":\"50000\",\"sql_hex_for_binary\":\"something\",\"sql_utc_time\":\"something\",\"texytext_structure_or_data\":\"structure_and_data\",\"texytext_null\":\"NULL\",\"xml_structure_or_data\":\"data\",\"xml_export_events\":\"something\",\"xml_export_functions\":\"something\",\"xml_export_procedures\":\"something\",\"xml_export_tables\":\"something\",\"xml_export_triggers\":\"something\",\"xml_export_views\":\"something\",\"xml_export_contents\":\"something\",\"yaml_structure_or_data\":\"data\",\"\":null,\"lock_tables\":null,\"csv_removeCRLF\":null,\"csv_columns\":null,\"excel_removeCRLF\":null,\"json_pretty_print\":null,\"htmlword_columns\":null,\"ods_columns\":null,\"sql_dates\":null,\"sql_relation\":null,\"sql_mime\":null,\"sql_disable_fk\":null,\"sql_views_as_tables\":null,\"sql_metadata\":null,\"sql_drop_table\":null,\"sql_if_not_exists\":null,\"sql_procedure_function\":null,\"sql_truncate\":null,\"sql_delayed\":null,\"sql_ignore\":null,\"texytext_columns\":null}'),
(2, 'root', 'table', 'gv_manuais', '{\"quick_or_custom\":\"quick\",\"what\":\"sql\",\"allrows\":\"1\",\"aliases_new\":\"\",\"output_format\":\"sendit\",\"filename_template\":\"@TABLE@\",\"remember_template\":\"on\",\"charset\":\"utf-8\",\"compression\":\"none\",\"maxsize\":\"\",\"codegen_structure_or_data\":\"data\",\"codegen_format\":\"0\",\"csv_separator\":\",\",\"csv_enclosed\":\"\\\"\",\"csv_escaped\":\"\\\"\",\"csv_terminated\":\"AUTO\",\"csv_null\":\"NULL\",\"csv_structure_or_data\":\"data\",\"excel_null\":\"NULL\",\"excel_columns\":\"something\",\"excel_edition\":\"win\",\"excel_structure_or_data\":\"data\",\"json_structure_or_data\":\"data\",\"json_unicode\":\"something\",\"latex_caption\":\"something\",\"latex_structure_or_data\":\"structure_and_data\",\"latex_structure_caption\":\"estructura da tabela @TABLE@\",\"latex_structure_continued_caption\":\"estructura da tabela @TABLE@ (continuação)\",\"latex_structure_label\":\"tab:@TABLE@-structure\",\"latex_relation\":\"something\",\"latex_comments\":\"something\",\"latex_mime\":\"something\",\"latex_columns\":\"something\",\"latex_data_caption\":\"Conteúdo da tabela @TABLE@\",\"latex_data_continued_caption\":\"Conteúdo da tabela @TABLE@ (continuação)\",\"latex_data_label\":\"tab:@TABLE@-data\",\"latex_null\":\"\\\\textit{NULL}\",\"mediawiki_structure_or_data\":\"data\",\"mediawiki_caption\":\"something\",\"mediawiki_headers\":\"something\",\"htmlword_structure_or_data\":\"structure_and_data\",\"htmlword_null\":\"NULL\",\"ods_null\":\"NULL\",\"ods_structure_or_data\":\"data\",\"odt_structure_or_data\":\"structure_and_data\",\"odt_relation\":\"something\",\"odt_comments\":\"something\",\"odt_mime\":\"something\",\"odt_columns\":\"something\",\"odt_null\":\"NULL\",\"pdf_report_title\":\"\",\"pdf_structure_or_data\":\"data\",\"phparray_structure_or_data\":\"data\",\"sql_include_comments\":\"something\",\"sql_header_comment\":\"\",\"sql_use_transaction\":\"something\",\"sql_compatibility\":\"NONE\",\"sql_structure_or_data\":\"structure_and_data\",\"sql_create_table\":\"something\",\"sql_auto_increment\":\"something\",\"sql_create_view\":\"something\",\"sql_create_trigger\":\"something\",\"sql_backquotes\":\"something\",\"sql_type\":\"INSERT\",\"sql_insert_syntax\":\"both\",\"sql_max_query_size\":\"50000\",\"sql_hex_for_binary\":\"something\",\"sql_utc_time\":\"something\",\"texytext_structure_or_data\":\"structure_and_data\",\"texytext_null\":\"NULL\",\"xml_structure_or_data\":\"data\",\"xml_export_events\":\"something\",\"xml_export_functions\":\"something\",\"xml_export_procedures\":\"something\",\"xml_export_tables\":\"something\",\"xml_export_triggers\":\"something\",\"xml_export_views\":\"something\",\"xml_export_contents\":\"something\",\"yaml_structure_or_data\":\"data\",\"\":null,\"lock_tables\":null,\"csv_removeCRLF\":null,\"csv_columns\":null,\"excel_removeCRLF\":null,\"json_pretty_print\":null,\"htmlword_columns\":null,\"ods_columns\":null,\"sql_dates\":null,\"sql_relation\":null,\"sql_mime\":null,\"sql_disable_fk\":null,\"sql_views_as_tables\":null,\"sql_metadata\":null,\"sql_drop_table\":null,\"sql_if_not_exists\":null,\"sql_procedure_function\":null,\"sql_truncate\":null,\"sql_delayed\":null,\"sql_ignore\":null,\"texytext_columns\":null}');
-- --------------------------------------------------------
--
-- Estrutura da tabela `pma__favorite`
--
CREATE TABLE `pma__favorite` (
`username` varchar(64) COLLATE utf8_bin NOT NULL,
`tables` text COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Favorite tables';
-- --------------------------------------------------------
--
-- Estrutura da tabela `pma__history`
--
CREATE TABLE `pma__history` (
`id` bigint(20) UNSIGNED NOT NULL,
`username` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`db` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`table` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`timevalue` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`sqlquery` text COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='SQL history for phpMyAdmin';
-- --------------------------------------------------------
--
-- Estrutura da tabela `pma__navigationhiding`
--
CREATE TABLE `pma__navigationhiding` (
`username` varchar(64) COLLATE utf8_bin NOT NULL,
`item_name` varchar(64) COLLATE utf8_bin NOT NULL,
`item_type` varchar(64) COLLATE utf8_bin NOT NULL,
`db_name` varchar(64) COLLATE utf8_bin NOT NULL,
`table_name` varchar(64) COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Hidden items of navigation tree';
--
-- Extraindo dados da tabela `pma__navigationhiding`
--
INSERT INTO `pma__navigationhiding` (`username`, `item_name`, `item_type`, `db_name`, `table_name`) VALUES
('root', 'Equipamento', 'table', 'database', '');
-- --------------------------------------------------------
--
-- Estrutura da tabela `pma__pdf_pages`
--
CREATE TABLE `pma__pdf_pages` (
`db_name` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`page_nr` int(10) UNSIGNED NOT NULL,
`page_descr` varchar(50) CHARACTER SET utf8 NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='PDF relation pages for phpMyAdmin';
-- --------------------------------------------------------
--
-- Estrutura da tabela `pma__recent`
--
CREATE TABLE `pma__recent` (
`username` varchar(64) COLLATE utf8_bin NOT NULL,
`tables` text COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Recently accessed tables';
-- --------------------------------------------------------
--
-- Estrutura da tabela `pma__relation`
--
CREATE TABLE `pma__relation` (
`master_db` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`master_table` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`master_field` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`foreign_db` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`foreign_table` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`foreign_field` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Relation table';
-- --------------------------------------------------------
--
-- Estrutura da tabela `pma__savedsearches`
--
CREATE TABLE `pma__savedsearches` (
`id` int(5) UNSIGNED NOT NULL,
`username` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`db_name` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`search_name` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`search_data` text COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Saved searches';
-- --------------------------------------------------------
--
-- Estrutura da tabela `pma__table_coords`
--
CREATE TABLE `pma__table_coords` (
`db_name` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`table_name` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`pdf_page_number` int(11) NOT NULL DEFAULT '0',
`x` float UNSIGNED NOT NULL DEFAULT '0',
`y` float UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Table coordinates for phpMyAdmin PDF output';
-- --------------------------------------------------------
--
-- Estrutura da tabela `pma__table_info`
--
CREATE TABLE `pma__table_info` (
`db_name` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`table_name` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`display_field` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Table information for phpMyAdmin';
-- --------------------------------------------------------
--
-- Estrutura da tabela `pma__table_uiprefs`
--
CREATE TABLE `pma__table_uiprefs` (
`username` varchar(64) COLLATE utf8_bin NOT NULL,
`db_name` varchar(64) COLLATE utf8_bin NOT NULL,
`table_name` varchar(64) COLLATE utf8_bin NOT NULL,
`prefs` text COLLATE utf8_bin NOT NULL,
`last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Tables'' UI preferences';
--
-- Extraindo dados da tabela `pma__table_uiprefs`
--
INSERT INTO `pma__table_uiprefs` (`username`, `db_name`, `table_name`, `prefs`, `last_update`) VALUES
('root', 'database', 'Equipamentos', '{\"sorted_col\":\"`Equipamentos`.`Manual` DESC\"}', '2018-08-02 18:57:18'),
('root', 'gazeta-vix', 'gv_postos', '{\"CREATE_TIME\":\"2018-07-31 09:25:53\",\"col_order\":[6,0,1,2,3,4,5,8,7],\"col_visib\":[1,1,1,1,1,1,1,1,1],\"sorted_col\":\"`chamadaEdp` DESC\"}', '2018-08-02 19:43:44');
-- --------------------------------------------------------
--
-- Estrutura da tabela `pma__tracking`
--
CREATE TABLE `pma__tracking` (
`db_name` varchar(64) COLLATE utf8_bin NOT NULL,
`table_name` varchar(64) COLLATE utf8_bin NOT NULL,
`version` int(10) UNSIGNED NOT NULL,
`date_created` datetime NOT NULL,
`date_updated` datetime NOT NULL,
`schema_snapshot` text COLLATE utf8_bin NOT NULL,
`schema_sql` text COLLATE utf8_bin,
`data_sql` longtext COLLATE utf8_bin,
`tracking` set('UPDATE','REPLACE','INSERT','DELETE','TRUNCATE','CREATE DATABASE','ALTER DATABASE','DROP DATABASE','CREATE TABLE','ALTER TABLE','RENAME TABLE','DROP TABLE','CREATE INDEX','DROP INDEX','CREATE VIEW','ALTER VIEW','DROP VIEW') COLLATE utf8_bin DEFAULT NULL,
`tracking_active` int(1) UNSIGNED NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Database changes tracking for phpMyAdmin';
-- --------------------------------------------------------
--
-- Estrutura da tabela `pma__userconfig`
--
CREATE TABLE `pma__userconfig` (
`username` varchar(64) COLLATE utf8_bin NOT NULL,
`timevalue` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`config_data` text COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='User preferences storage for phpMyAdmin';
--
-- Extraindo dados da tabela `pma__userconfig`
--
INSERT INTO `pma__userconfig` (`username`, `timevalue`, `config_data`) VALUES
('root', '2018-08-02 20:01:41', '{\"lang\":\"pt\",\"Console\\/Mode\":\"collapse\"}');
-- --------------------------------------------------------
--
-- Estrutura da tabela `pma__usergroups`
--
CREATE TABLE `pma__usergroups` (
`usergroup` varchar(64) COLLATE utf8_bin NOT NULL,
`tab` varchar(64) COLLATE utf8_bin NOT NULL,
`allowed` enum('Y','N') COLLATE utf8_bin NOT NULL DEFAULT 'N'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='User groups with configured menu items';
-- --------------------------------------------------------
--
-- Estrutura da tabela `pma__users`
--
CREATE TABLE `pma__users` (
`username` varchar(64) COLLATE utf8_bin NOT NULL,
`usergroup` varchar(64) COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Users and their assignments to user groups';
--
-- Extraindo dados da tabela `pma__users`
--
INSERT INTO `pma__users` (`username`, `usergroup`) VALUES
('Administrador', '');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `pma__bookmark`
--
ALTER TABLE `pma__bookmark`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `pma__central_columns`
--
ALTER TABLE `pma__central_columns`
ADD PRIMARY KEY (`db_name`,`col_name`);
--
-- Indexes for table `pma__column_info`
--
ALTER TABLE `pma__column_info`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `db_name` (`db_name`,`table_name`,`column_name`);
--
-- Indexes for table `pma__designer_settings`
--
ALTER TABLE `pma__designer_settings`
ADD PRIMARY KEY (`username`);
--
-- Indexes for table `pma__export_templates`
--
ALTER TABLE `pma__export_templates`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `u_user_type_template` (`username`,`export_type`,`template_name`);
--
-- Indexes for table `pma__favorite`
--
ALTER TABLE `pma__favorite`
ADD PRIMARY KEY (`username`);
--
-- Indexes for table `pma__history`
--
ALTER TABLE `pma__history`
ADD PRIMARY KEY (`id`),
ADD KEY `username` (`username`,`db`,`table`,`timevalue`);
--
-- Indexes for table `pma__navigationhiding`
--
ALTER TABLE `pma__navigationhiding`
ADD PRIMARY KEY (`username`,`item_name`,`item_type`,`db_name`,`table_name`);
--
-- Indexes for table `pma__pdf_pages`
--
ALTER TABLE `pma__pdf_pages`
ADD PRIMARY KEY (`page_nr`),
ADD KEY `db_name` (`db_name`);
--
-- Indexes for table `pma__recent`
--
ALTER TABLE `pma__recent`
ADD PRIMARY KEY (`username`);
--
-- Indexes for table `pma__relation`
--
ALTER TABLE `pma__relation`
ADD PRIMARY KEY (`master_db`,`master_table`,`master_field`),
ADD KEY `foreign_field` (`foreign_db`,`foreign_table`);
--
-- Indexes for table `pma__savedsearches`
--
ALTER TABLE `pma__savedsearches`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `u_savedsearches_username_dbname` (`username`,`db_name`,`search_name`);
--
-- Indexes for table `pma__table_coords`
--
ALTER TABLE `pma__table_coords`
ADD PRIMARY KEY (`db_name`,`table_name`,`pdf_page_number`);
--
-- Indexes for table `pma__table_info`
--
ALTER TABLE `pma__table_info`
ADD PRIMARY KEY (`db_name`,`table_name`);
--
-- Indexes for table `pma__table_uiprefs`
--
ALTER TABLE `pma__table_uiprefs`
ADD PRIMARY KEY (`username`,`db_name`,`table_name`);
--
-- Indexes for table `pma__tracking`
--
ALTER TABLE `pma__tracking`
ADD PRIMARY KEY (`db_name`,`table_name`,`version`);
--
-- Indexes for table `pma__userconfig`
--
ALTER TABLE `pma__userconfig`
ADD PRIMARY KEY (`username`);
--
-- Indexes for table `pma__usergroups`
--
ALTER TABLE `pma__usergroups`
ADD PRIMARY KEY (`usergroup`,`tab`,`allowed`);
--
-- Indexes for table `pma__users`
--
ALTER TABLE `pma__users`
ADD PRIMARY KEY (`username`,`usergroup`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `pma__bookmark`
--
ALTER TABLE `pma__bookmark`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `pma__column_info`
--
ALTER TABLE `pma__column_info`
MODIFY `id` int(5) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `pma__export_templates`
--
ALTER TABLE `pma__export_templates`
MODIFY `id` int(5) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `pma__history`
--
ALTER TABLE `pma__history`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `pma__pdf_pages`
--
ALTER TABLE `pma__pdf_pages`
MODIFY `page_nr` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `pma__savedsearches`
--
ALTER TABLE `pma__savedsearches`
MODIFY `id` int(5) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- Database: `rid-pro`
--
CREATE DATABASE IF NOT EXISTS `rid-pro` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
USE `rid-pro`;
--
-- Database: `teste`
--
CREATE DATABASE IF NOT EXISTS `teste` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `teste`;
-- --------------------------------------------------------
--
-- Estrutura da tabela `po_gsre_equipamentos_`
--
CREATE TABLE `po_gsre_equipamentos_` (
`nome` text NOT NULL,
`canal` int(11) NOT NULL,
`firmware` text NOT NULL,
`frequencia` text NOT NULL,
`manual` text NOT NULL,
`numeroSerie` text NOT NULL,
`patrimonio` int(11) NOT NULL,
`sufixo` text NOT NULL,
`tipo` text NOT NULL,
`id` int(11) NOT NULL,
`posto` text NOT NULL,
`ativo` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ascii COMMENT='Tabela de equipamento do prefixo';
--
-- Extraindo dados da tabela `po_gsre_equipamentos_`
--
INSERT INTO `po_gsre_equipamentos_` (`nome`, `canal`, `firmware`, `frequencia`, `manual`, `numeroSerie`, `patrimonio`, `sufixo`, `tipo`, `id`, `posto`, `ativo`) VALUES
('ststr', 536246, 'rtjsrtjs', 'rtjsrtjs', 'stjsrt', 'jstrjsrtjsrtjsrtjsrtjsrtjsrtjs', 22356, 'jsrtjsrtj', 'fjrtjdfgdfgdfg', 0, 'fggfhfgh', 1),
('asfasf', 124124, 'asfasf', 'wetwetsd', 'wetwetwetwet', 'wetwet34124', 123135235, '12412413r123r13t', '3t13t13t213t13t', 1, '123124', 1),
('asfasf', 124124, 'asfasf', 'wetwetsd', 'wetwetwetwet', 'wetwet34124', 123135235, '12412413r123r13t', '3t13t13t213t13t', 1, '123124', 1);
-- --------------------------------------------------------
--
-- Estrutura da tabela `po_gsre_manuais`
--
CREATE TABLE `po_gsre_manuais` (
`ativo` int(11) NOT NULL,
`nome` text NOT NULL,
`tipo` text NOT NULL,
`diretorio` text NOT NULL,
`id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=ascii;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<filename>test/sql/base.sql
\set ECHO 0
BEGIN;
\i sql/pg_rrule.sql
\set ECHO all
SELECT 'FREQ=WEEKLY;INTERVAL=1;WKST=MO;UNTIL=20200101T045102Z'::rrule;
SELECT get_byday('FREQ=WEEKLY;INTERVAL=1;WKST=MO;UNTIL=20200101T045102Z;BYDAY=MO,TH,SU'::rrule);
SELECT get_freq('FREQ=WEEKLY;INTERVAL=1;WKST=MO;UNTIL=20200101T045102Z'::rrule);
SELECT * FROM
unnest(
get_occurrences('FREQ=WEEKLY;INTERVAL=1;WKST=MO;UNTIL=20200101T045102Z;BYDAY=SA;BYHOUR=10;BYMINUTE=51;BYSECOND=2'::rrule,
'2019-12-07 10:51:02+00'::timestamp with time zone)
);
SELECT * FROM
unnest(
get_occurrences('FREQ=WEEKLY;INTERVAL=1;WKST=MO;UNTIL=20200101T045102Z;BYDAY=SA;BYHOUR=10;BYMINUTE=51;BYSECOND=2'::rrule,
'2019-12-07 10:51:02'::timestamp)
);
ROLLBACK;
|
INSERT INTO ticket_types (ticket_type_code, ticket_type_name, description, includes_workshop)
VALUES ('P', 'Premium', 'Access to all conference events plus attend the workshop of your choice.', TRUE),
('S', 'Standard', 'Access to all conference keynotes, sessions, community open spaces and the exhibition hall.', FALSE),
('C', 'Community', 'Access to keynotes, community open spaces and the exhibition hall.', FALSE);
INSERT INTO pricing_categories (pricing_category_code, pricing_category_name, pricing_start_date, pricing_end_date)
VALUES ('E', 'Early Bird', '2019-10-01', '2020-01-15'),
('R', 'Regular', '2020-01-16', '2020-03-20'),
('L', 'Last Minute', '2020-03-21', '2020-04-07');
INSERT INTO ticket_prices (ticket_price_id, ticket_type_code, pricing_category_code, base_price)
VALUES (1, 'P', 'E', 800),
(2, 'P', 'R', 1000),
(3, 'P', 'L', 1200),
(4, 'S', 'E', 500),
(5, 'S', 'R', 700),
(6, 'S', 'L', 1000),
(7, 'C', 'E', 100),
(8, 'C', 'R', 200),
(9, 'C', 'L', 300);
|
<gh_stars>1-10
-- MySQL Workbench Forward Engineering
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES';
-- -----------------------------------------------------
-- Table `plantas_medicinais`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `plantas_medicinais` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`imagem` VARCHAR(70) NULL DEFAULT NULL,
`status` TINYINT(4) NULL DEFAULT NULL,
`descricao_resumida` VARCHAR(150) NULL DEFAULT NULL,
`descricao_completa` VARCHAR(250) NULL DEFAULT NULL,
`visualizacoes` INT(10) NULL DEFAULT '1',
PRIMARY KEY (`id`))
ENGINE = InnoDB
AUTO_INCREMENT = 122
DEFAULT CHARACTER SET = latin1;
-- -----------------------------------------------------
-- Table `sintomas`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `sintomas` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`nome` VARCHAR(45) NULL DEFAULT NULL,
`descricao_resumida` VARCHAR(170) NULL DEFAULT NULL,
`descricao_completa` VARCHAR(250) NULL DEFAULT NULL,
`status` TINYINT(4) NULL DEFAULT NULL,
PRIMARY KEY (`id`))
ENGINE = InnoDB
AUTO_INCREMENT = 9
DEFAULT CHARACTER SET = latin1;
-- -----------------------------------------------------
-- Table `indicacao`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `indicacao` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`status` TINYINT(4) NULL DEFAULT NULL,
`indicacao` VARCHAR(250) NULL DEFAULT NULL,
`sintomas_id` INT(11) NOT NULL,
`plantas_medicinais_id` INT(11) NOT NULL,
PRIMARY KEY (`id`),
INDEX `fk_sintomas_plantas_sintomas1_idx` (`sintomas_id` ASC),
INDEX `fk_sintomas_plantas_plantas_medicinais1_idx` (`plantas_medicinais_id` ASC),
CONSTRAINT `fk_sintomas_plantas_plantas_medicinais1`
FOREIGN KEY (`plantas_medicinais_id`)
REFERENCES `plantas_medicinais` (`id`)
ON DELETE CASCADE
ON UPDATE NO ACTION,
CONSTRAINT `fk_sintomas_plantas_sintomas1`
FOREIGN KEY (`sintomas_id`)
REFERENCES `sintomas` (`id`)
ON DELETE CASCADE
ON UPDATE NO ACTION)
ENGINE = InnoDB
AUTO_INCREMENT = 11
DEFAULT CHARACTER SET = latin1;
-- -----------------------------------------------------
-- Table `usuario`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `usuario` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`nome` VARCHAR(60) NOT NULL,
`email` VARCHAR(45) NOT NULL,
`senha` VARCHAR(45) NOT NULL,
`status` TINYINT(4) NULL DEFAULT NULL,
`ultimo_acesso` DATE NULL DEFAULT NULL,
`perfil` INT(2) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE INDEX `email_UNIQUE` (`email` ASC))
ENGINE = InnoDB
AUTO_INCREMENT = 9
DEFAULT CHARACTER SET = latin1;
-- -----------------------------------------------------
-- Table `indicacao_edicao`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `indicacao_edicao` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`status` TINYINT(4) NULL DEFAULT NULL,
`indicacao` VARCHAR(250) NOT NULL,
`indicacao_id` INT(11) NULL DEFAULT NULL,
`solicitacao` DATETIME NULL DEFAULT NULL,
`usuario_solicitante` INT(11) NOT NULL,
`usuario_aprovador` INT(11) NULL DEFAULT NULL,
`plantas_medicinais_id` INT(11) NOT NULL,
`sintomas_id` INT(11) NOT NULL,
`usuario_rejeicao` INT(11) NULL DEFAULT NULL,
`descricao_parecer` VARCHAR(45) NULL DEFAULT NULL,
`resposta` DATETIME NULL DEFAULT NULL,
PRIMARY KEY (`id`),
INDEX `fk_plantas_sugestao_sintomas_plantas1_idx` (`indicacao_id` ASC),
INDEX `fk_indicacao_edicao_usuario1_idx` (`usuario_solicitante` ASC),
INDEX `fk_indicacao_edicao_usuario2_idx` (`usuario_aprovador` ASC),
INDEX `fk_indicacao_edicao_plantas_medicinais1_idx` (`plantas_medicinais_id` ASC),
INDEX `fk_indicacao_edicao_sintomas1_idx` (`sintomas_id` ASC),
INDEX `fk_indicacao_edicao_usuario3_idx` (`usuario_rejeicao` ASC),
CONSTRAINT `fk_indicacao_edicao_plantas_medicinais1`
FOREIGN KEY (`plantas_medicinais_id`)
REFERENCES `plantas_medicinais` (`id`)
ON DELETE CASCADE
ON UPDATE NO ACTION,
CONSTRAINT `fk_indicacao_edicao_sintomas1`
FOREIGN KEY (`sintomas_id`)
REFERENCES `sintomas` (`id`)
ON DELETE CASCADE
ON UPDATE NO ACTION,
CONSTRAINT `fk_indicacao_edicao_usuario1`
FOREIGN KEY (`usuario_solicitante`)
REFERENCES `usuario` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_indicacao_edicao_usuario2`
FOREIGN KEY (`usuario_aprovador`)
REFERENCES `usuario` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_indicacao_edicao_usuario3`
FOREIGN KEY (`usuario_rejeicao`)
REFERENCES `usuario` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_plantas_sugestao_sintomas_plantas1`
FOREIGN KEY (`indicacao_id`)
REFERENCES `indicacao` (`id`)
ON DELETE CASCADE
ON UPDATE NO ACTION)
ENGINE = InnoDB
AUTO_INCREMENT = 12
DEFAULT CHARACTER SET = latin1;
-- -----------------------------------------------------
-- Table `nome_tipo_planta`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `nome_tipo_planta` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`status` TINYINT(4) NULL DEFAULT NULL,
`nome` VARCHAR(45) NULL DEFAULT NULL,
PRIMARY KEY (`id`))
ENGINE = InnoDB
AUTO_INCREMENT = 4
DEFAULT CHARACTER SET = latin1;
-- -----------------------------------------------------
-- Table `plantas_classificacao`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `plantas_classificacao` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`plantas_medicinais_id` INT(11) NOT NULL,
`voto` INT(2) NOT NULL DEFAULT '0',
`data_hora` DATETIME NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
INDEX `fk_classificacao_plantas_medicinais_idx` (`plantas_medicinais_id` ASC),
CONSTRAINT `fk_classificacao_plantas_medicinais`
FOREIGN KEY (`plantas_medicinais_id`)
REFERENCES `plantas_medicinais` (`id`)
ON DELETE CASCADE
ON UPDATE NO ACTION)
ENGINE = InnoDB
AUTO_INCREMENT = 27
DEFAULT CHARACTER SET = latin1;
-- -----------------------------------------------------
-- Table `plantas_medicinais_edicao`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `plantas_medicinais_edicao` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`imagem` VARCHAR(70) NULL DEFAULT NULL,
`status` TINYINT(4) NULL DEFAULT NULL,
`descricao_resumida` VARCHAR(150) NOT NULL,
`descricao_completa` VARCHAR(250) NOT NULL,
`visualizacoes` INT(10) NULL DEFAULT '1',
`plantas_medicinais_id` INT(11) NULL DEFAULT NULL,
`usuario_solicitante` INT(11) NOT NULL,
`usuario_aprovador` INT(11) NULL DEFAULT NULL,
`solicitacao` DATETIME NULL DEFAULT NULL,
`usuario_rejeicao` INT(11) NULL DEFAULT NULL,
`descricao_parecer` VARCHAR(45) NULL DEFAULT NULL,
`resposta` DATETIME NULL DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE INDEX `id_UNIQUE` (`id` ASC),
INDEX `fk_plantas_medicinais_edicao_plantas_medicinais1_idx` (`plantas_medicinais_id` ASC),
INDEX `fk_plantas_medicinais_edicao_usuario1_idx` (`usuario_solicitante` ASC),
INDEX `fk_plantas_medicinais_edicao_usuario2_idx` (`usuario_aprovador` ASC),
INDEX `fk_plantas_medicinais_edicao_usuario3_idx` (`usuario_rejeicao` ASC),
CONSTRAINT `fk_plantas_medicinais_edicao_plantas_medicinais1`
FOREIGN KEY (`plantas_medicinais_id`)
REFERENCES `plantas_medicinais` (`id`)
ON DELETE CASCADE
ON UPDATE NO ACTION,
CONSTRAINT `fk_plantas_medicinais_edicao_usuario1`
FOREIGN KEY (`usuario_solicitante`)
REFERENCES `usuario` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_plantas_medicinais_edicao_usuario2`
FOREIGN KEY (`usuario_aprovador`)
REFERENCES `usuario` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_plantas_medicinais_edicao_usuario3`
FOREIGN KEY (`usuario_rejeicao`)
REFERENCES `usuario` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB
AUTO_INCREMENT = 167
DEFAULT CHARACTER SET = latin1;
-- -----------------------------------------------------
-- Table `plantas_nomes`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `plantas_nomes` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`nome` VARCHAR(45) NOT NULL,
`nome_tipo_planta_id` INT(11) NULL DEFAULT NULL,
`plantas_medicinais_id` INT(11) NULL DEFAULT NULL,
`plantas_medicinais_edicao_id` INT(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`),
INDEX `fk_plantas_nomes_nome_tipo_planta1_idx` (`nome_tipo_planta_id` ASC),
INDEX `fk_plantas_nomes_plantas_medicinais1_idx` (`plantas_medicinais_id` ASC),
INDEX `fk_plantas_nomes_plantas_medicinais_edicao1_idx` (`plantas_medicinais_edicao_id` ASC),
CONSTRAINT `fk_plantas_nomes_nome_tipo_planta1`
FOREIGN KEY (`nome_tipo_planta_id`)
REFERENCES `nome_tipo_planta` (`id`)
ON DELETE SET NULL
ON UPDATE NO ACTION,
CONSTRAINT `fk_plantas_nomes_plantas_medicinais1`
FOREIGN KEY (`plantas_medicinais_id`)
REFERENCES `plantas_medicinais` (`id`)
ON DELETE CASCADE
ON UPDATE NO ACTION,
CONSTRAINT `fk_plantas_nomes_plantas_medicinais_edicao1`
FOREIGN KEY (`plantas_medicinais_edicao_id`)
REFERENCES `plantas_medicinais_edicao` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB
AUTO_INCREMENT = 162
DEFAULT CHARACTER SET = latin1;
-- -----------------------------------------------------
-- Table `sintomas_edicao`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `sintomas_edicao` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`nome` VARCHAR(45) NOT NULL,
`descricao_resumida` VARCHAR(170) NOT NULL,
`descricao_completa` VARCHAR(250) NOT NULL,
`status` TINYINT(4) NULL DEFAULT NULL,
`sintomas_id` INT(11) NULL DEFAULT NULL,
`solicitacao` DATETIME NULL DEFAULT NULL,
`usuario_solicitante` INT(11) NOT NULL,
`usuario_aprovador` INT(11) NULL DEFAULT NULL,
`usuario_rejeicao` INT(11) NULL DEFAULT NULL,
`descricao_parecer` VARCHAR(45) NULL DEFAULT NULL,
`resposta` DATETIME NULL DEFAULT NULL,
PRIMARY KEY (`id`),
INDEX `fk_sintomas_sugestao_sintomas1_idx` (`sintomas_id` ASC),
INDEX `fk_sintomas_edicao_usuario1_idx` (`usuario_solicitante` ASC),
INDEX `fk_sintomas_edicao_usuario2_idx` (`usuario_aprovador` ASC),
INDEX `fk_sintomas_edicao_usuario3_idx` (`usuario_rejeicao` ASC),
CONSTRAINT `fk_sintomas_edicao_usuario1`
FOREIGN KEY (`usuario_solicitante`)
REFERENCES `usuario` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_sintomas_edicao_usuario2`
FOREIGN KEY (`usuario_aprovador`)
REFERENCES `usuario` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_sintomas_edicao_usuario3`
FOREIGN KEY (`usuario_rejeicao`)
REFERENCES `usuario` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_sintomas_sugestao_sintomas1`
FOREIGN KEY (`sintomas_id`)
REFERENCES `sintomas` (`id`)
ON DELETE CASCADE
ON UPDATE NO ACTION)
ENGINE = InnoDB
AUTO_INCREMENT = 20
DEFAULT CHARACTER SET = latin1;
-- -----------------------------------------------------
-- Table `sugestoes`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `sugestoes` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`nome` VARCHAR(100) NOT NULL,
`telefone` VARCHAR(45) NOT NULL,
`email` VARCHAR(70) NOT NULL,
`titulo` VARCHAR(100) NOT NULL,
`descricao` VARCHAR(250) NOT NULL,
`envio` DATETIME NULL DEFAULT CURRENT_TIMESTAMP,
`status` TINYINT(4) NULL DEFAULT '1',
PRIMARY KEY (`id`))
ENGINE = InnoDB
AUTO_INCREMENT = 6
DEFAULT CHARACTER SET = latin1;
-- -----------------------------------------------------
-- procedure sp_AvaliarIndicacao
-- -----------------------------------------------------
DELIMITER $$
CREATE DEFINER=`plantas`@`%%` PROCEDURE `sp_AvaliarIndicacao`(
IN in_indicacao_edicao_id int(11),
IN in_user_id int(11),
IN in_descricao_parecer varchar(45),
IN in_boolean int(02))
BEGIN
declare var_status int(11);
declare var_indicacao varchar(250);
declare var_indicacao_id int(11);
declare var_sintomas_id int(11);
declare var_plantas_id int(11);
select indicacao_id,indicacao,plantas_medicinais_id,sintomas_id,status
into var_indicacao_id,var_indicacao,var_plantas_id,var_sintomas_id,var_status
from indicacao_edicao
where id = in_indicacao_edicao_id;
if (in_boolean = 1) THEN -- aprovou
if(var_indicacao_id is not null) then
UPDATE indicacao
set indicacao= var_indicacao, status = var_status, plantas_medicinais_id = var_plantas_id, sintomas_id = var_sintomas_id
WHERE id = var_indicacao_id;
UPDATE indicacao_edicao set usuario_aprovador = in_user_id,resposta =now() WHERE id = in_indicacao_edicao_id;
else
INSERT INTO indicacao(indicacao,status,plantas_medicinais_id,sintomas_id)
VALUES(var_indicacao,var_status,var_plantas_id,var_sintomas_id);
UPDATE indicacao_edicao set indicacao_id = LAST_INSERT_ID(),resposta =now(),usuario_aprovador = in_user_id WHERE id = in_indicacao_edicao_id;
end if;
else -- recusou
UPDATE indicacao_edicao set usuario_rejeicao = in_user_id,resposta =now(),descricao_parecer = in_descricao_parecer WHERE id = in_indicacao_edicao_id;
end if;
END$$
DELIMITER ;
-- -----------------------------------------------------
-- procedure sp_AvaliarPlanta
-- -----------------------------------------------------
DELIMITER $$
CREATE DEFINER=`plantas`@`%%` PROCEDURE `sp_AvaliarPlanta`(
IN in_planta_edicao_id int(11),
IN in_user_id int(11),
IN in_descricao_parecer varchar(45),
IN in_boolean int(02))
BEGIN
declare var_imagem varchar(70);
declare var_status int;
declare var_descricao_resumida varchar(150);
declare var_descricao_completa varchar(250);
declare var_planta_id int;
declare var_planta_nome_id int;
select plantas_medicinais_id,imagem,status,descricao_resumida,descricao_completa
into var_planta_id,var_imagem,var_status,var_descricao_resumida,var_descricao_completa
from plantas_medicinais_edicao
where id = in_planta_edicao_id;
if (in_boolean = 1) THEN -- aprovou
if(var_planta_id is not null) then -- PLANTA JA EXISTE
-- ATUALIZA NO REPOSITORIO PRINCIPAIS
UPDATE plantas_medicinais
set imagem = var_imagem, status = var_status, descricao_resumida = var_descricao_resumida, descricao_completa = var_descricao_completa
WHERE id = var_planta_id;
-- SINALIZA APROVACAO
UPDATE plantas_medicinais_edicao set usuario_aprovador = in_user_id,resposta =now() WHERE id = in_planta_edicao_id;
else -- NOVA PLANTA
-- INSERE NO REPOSITORIO PRINCIPAIS
INSERT INTO plantas_medicinais(imagem,status,descricao_resumida,descricao_completa)
VALUES(var_imagem,var_status,var_descricao_resumida,var_descricao_completa);
set var_planta_id = LAST_INSERT_ID();
-- SINALIZA APROVACAO
UPDATE plantas_medicinais_edicao set plantas_medicinais_id = var_planta_id,resposta =now(),usuario_aprovador = in_user_id WHERE id = in_planta_edicao_id;
-- NOME EDICAO PARA REPOSITORIO PRINCIPAL
select id into var_planta_nome_id from plantas_nomes WHERE plantas_medicinais_edicao_id = in_planta_edicao_id ORDER BY nome_tipo_planta_id ASC limit 1;
if var_planta_nome_id is not null THEN
Update plantas_nomes set plantas_medicinais_id = var_planta_id,plantas_medicinais_edicao_id = NULL where id = var_planta_nome_id;
end if;
end if;
else -- recusou
UPDATE plantas_medicinais_edicao set usuario_rejeicao = in_user_id,resposta =now(),descricao_parecer = in_descricao_parecer WHERE id = in_planta_edicao_id;
end if;
END$$
DELIMITER ;
-- -----------------------------------------------------
-- procedure sp_AvaliarSintoma
-- -----------------------------------------------------
DELIMITER $$
CREATE DEFINER=`plantas`@`%%` PROCEDURE `sp_AvaliarSintoma`(
IN in_sintoma_edicao_id int(11),
IN in_user_id int(11),
IN in_descricao_parecer varchar(45),
IN in_boolean int(02))
BEGIN
declare var_nome varchar(70);
declare var_status int;
declare var_descricao_resumida varchar(150);
declare var_descricao_completa varchar(250);
declare var_sintoma_id int;
select sintomas_id,nome,status,descricao_resumida,descricao_completa
into var_sintoma_id,var_nome,var_status,var_descricao_resumida,var_descricao_completa
from sintomas_edicao
where id = in_sintoma_edicao_id;
if (in_boolean = 1) THEN -- aprovou
if(var_sintoma_id is not null) then
UPDATE sintomas
set nome= var_nome, status = var_status, descricao_resumida = var_descricao_resumida, descricao_completa = var_descricao_completa
WHERE id = var_sintoma_id;
UPDATE sintomas_edicao set usuario_aprovador = in_user_id,resposta =now() WHERE id = in_sintoma_edicao_id;
else
INSERT INTO sintomas(nome,status,descricao_resumida,descricao_completa)
VALUES(var_nome,var_status,var_descricao_resumida,var_descricao_resumida);
UPDATE sintomas_edicao set sintomas_id = LAST_INSERT_ID(),resposta =now(),usuario_aprovador = in_user_id WHERE id = in_sintoma_edicao_id;
end if;
else -- recusou
UPDATE sintomas_edicao set usuario_rejeicao = in_user_id,resposta =now(),descricao_parecer = in_descricao_parecer WHERE id = in_sintoma_edicao_id;
end if;
END$$
DELIMITER ;
-- -----------------------------------------------------
-- procedure sp_PlantaVisualizacaoContabilizar
-- -----------------------------------------------------
DELIMITER $$
CREATE DEFINER=`plantas`@`%%` PROCEDURE `sp_PlantaVisualizacaoContabilizar`(
in id_planta int(11)
)
begin
declare qtd int(11);
select visualizacoes + 1 into qtd from plantas_medicinais WHERE id = id_planta;
update plantas_medicinais set visualizacoes = qtd WHERE id = id_planta;
end$$
DELIMITER ;
-- -----------------------------------------------------
-- procedure sp_SetIndicacao
-- -----------------------------------------------------
DELIMITER $$
CREATE DEFINER=`plantas`@`%%` PROCEDURE `sp_SetIndicacao`(
IN in_indicacao_id int(11),
IN in_sintoma_id int(11),
IN in_planta_id int(11),
IN in_user_id int(11),
IN in_indicacao varchar(250),
IN in_status tinyint(4)
)
BEGIN
declare var_perfil int(11);
select perfil into var_perfil from usuario where id = in_user_id;
if in_indicacao_id is null then -- CADASTRAR
if (var_perfil > 1) then -- PROFESSOR / ADMIN
-- INSERE NO REPOSITORIO PRINCIPAL
INSERT INTO indicacao (indicacao,plantas_medicinais_id,sintomas_id,status)
VALUES(in_indicacao,in_planta_id,in_sintoma_id,in_status);
-- GERA SOLICITACAO JA APROVADA AFIM DE HISTORICO
INSERT INTO indicacao_edicao (indicacao,plantas_medicinais_id,sintomas_id,usuario_solicitante,usuario_aprovador,solicitacao,resposta,status,indicacao_id)
VALUES(in_indicacao,in_planta_id,in_sintoma_id,in_user_id,in_user_id,now(),now(),in_status,last_insert_id());
ELSE -- ALUNO
-- GERA SOLICITACAO
INSERT INTO indicacao_edicao (indicacao,plantas_medicinais_id,sintomas_id,usuario_solicitante,solicitacao,status)
VALUES(in_indicacao,in_planta_id,in_sintoma_id,in_user_id,now(),in_status);
end if;
else -- ALTERAR
if (var_perfil > 1) then -- PROFESSOR / ADMIN
-- ATUALIZA NO REPOSITORIO PRINCIPAL
UPDATE indicacao i set i.indicacao = in_indicacao, i.status = in_status, plantas_medicinais_id = in_planta_id,sintomas_id = in_sintoma_id WHERE id = in_indicacao_id;
-- GERA SOLICITACAO JA APROVADA AFIM DE HISTORICO
INSERT INTO indicacao_edicao (indicacao,plantas_medicinais_id,sintomas_id,usuario_solicitante,usuario_aprovador,solicitacao,resposta,status,indicacao_id)
VALUES(in_indicacao,in_planta_id,in_sintoma_id,in_user_id,in_user_id,now(),now(),in_status,in_indicacao_id);
ELSE -- ALUNO
-- GERA SOLICITACAO
INSERT INTO indicacao_edicao (indicacao,plantas_medicinais_id,sintomas_id,usuario_solicitante,solicitacao,status,indicacao_id)
VALUES(in_indicacao,in_planta_id,in_sintoma_id,in_user_id,now(),in_status,in_indicacao_id);
end if;
end if;
END$$
DELIMITER ;
-- -----------------------------------------------------
-- procedure sp_SetPlanta
-- -----------------------------------------------------
DELIMITER $$
CREATE DEFINER=`plantas`@`%%` PROCEDURE `sp_SetPlanta`(
IN in_planta_id int(11),
IN in_user_id int(11),
IN in_nome varchar(70),
IN in_imagem varchar(70),
IN in_desc_resumida varchar(150),
IN in_desc_completa varchar(250),
IN in_status tinyint(4)
)
BEGIN
declare var_perfil int(11);
declare var_planta_id int(11);
select perfil into var_perfil from usuario where id = in_user_id;
if in_planta_id is null then -- CADASTRAR
if (var_perfil > 1) then -- PROFESSOR / ADMIN
-- INSERE NO REPOSITORIO PRINCIPAL
INSERT INTO plantas_medicinais(descricao_resumida,descricao_completa,status)
VALUES(in_desc_resumida,in_desc_completa,in_status);
SET var_planta_id = last_insert_id();
-- ATRIBUI NOME PRINCIPAL
insert into plantas_nomes(nome,nome_tipo_planta_id,plantas_medicinais_id) values (in_nome,1,var_planta_id);
-- GERA SOLICITACAO JA APROVADA AFIM DE HISTORICO
INSERT INTO plantas_medicinais_edicao (descricao_resumida,descricao_completa,status,imagem,usuario_solicitante,usuario_aprovador,solicitacao,resposta,plantas_medicinais_id)
VALUES(in_desc_resumida,in_desc_completa,in_status,in_imagem,in_user_id,in_user_id,now(),now(),var_planta_id);
-- INSERE IMAGEM
IF in_imagem is not null THEN
UPDATE plantas_medicinais_edicao set imagem=in_imagem WHERE id = last_insert_id();
UPDATE plantas_medicinais set imagem=in_imagem WHERE id = var_planta_id;
END IF;
ELSE -- ALUNO
-- GERA SOLICITACAO
INSERT INTO plantas_medicinais_edicao (descricao_resumida,descricao_completa,status,imagem,usuario_solicitante,solicitacao)
VALUES(in_desc_resumida,in_desc_completa,in_status,in_imagem,in_user_id,now());
SET var_planta_id = last_insert_id();
-- ATRIBUI NOME PRINCIPAL
insert into plantas_nomes(nome,nome_tipo_planta_id,plantas_medicinais_edicao_id) values (in_nome,1,var_planta_id);
-- INSERE IMAGEM
IF in_imagem is not null THEN
UPDATE plantas_medicinais_edicao set imagem=in_imagem WHERE id = var_planta_id;
END IF;
end if;
else -- ALTERAR
if (var_perfil > 1) then -- PROFESSOR / ADMIN
-- ATUALIZA NO REPOSITORIO PRINCIPAL
UPDATE plantas_medicinais set descricao_resumida = in_desc_resumida, descricao_completa = in_desc_completa, status = in_status
WHERE id = in_planta_id;
-- GERA SOLICITACAO JA APROVADA AFIM DE HISTORICO
INSERT INTO plantas_medicinais_edicao (descricao_resumida,descricao_completa,status,usuario_solicitante,usuario_aprovador,solicitacao,resposta,plantas_medicinais_id)
VALUES(in_desc_resumida,in_desc_completa,in_status,in_user_id,in_user_id,now(),now(),in_planta_id);
-- INSERE IMAGEM
IF in_imagem is null THEN
UPDATE plantas_medicinais_edicao set imagem=(select imagem from plantas_medicinais where id = in_planta_id) WHERE id = last_insert_id();
else
UPDATE plantas_medicinais_edicao set imagem=in_imagem WHERE id = last_insert_id();
UPDATE plantas_medicinais set imagem=in_imagem WHERE id = in_planta_id;
END IF;
ELSE -- ALUNO
-- GERA SOLICITACAO
INSERT INTO plantas_medicinais_edicao(descricao_resumida,descricao_completa,status,usuario_solicitante,solicitacao,plantas_medicinais_id)
VALUES(in_desc_resumida,in_desc_completa,in_status,in_user_id,now(),in_planta_id);
-- INSERE IMAGEM
IF in_imagem is null THEN
UPDATE plantas_medicinais_edicao set imagem=(select imagem from plantas_medicinais where id = in_planta_id) WHERE id = last_insert_id();
else
UPDATE plantas_medicinais_edicao set imagem=in_imagem WHERE id = last_insert_id();
END IF;
end if;
end if;
END$$
DELIMITER ;
-- -----------------------------------------------------
-- procedure sp_SetPlantaClassificacao
-- -----------------------------------------------------
DELIMITER $$
CREATE DEFINER=`plantas`@`%%` PROCEDURE `sp_SetPlantaClassificacao`(
in id_planta int(11),
in voto int(11)
)
begin
INSERT into plantas_classificacao(plantas_medicinais_id,voto) VALUES(id_planta,voto);
end$$
DELIMITER ;
-- -----------------------------------------------------
-- procedure sp_SetSintoma
-- -----------------------------------------------------
DELIMITER $$
CREATE DEFINER=`plantas`@`%%` PROCEDURE `sp_SetSintoma`(
IN in_sintoma_id int(11),
IN in_user_id int(11),
IN in_nome varchar(70),
IN in_desc_resumida varchar(150),
IN in_desc_completa varchar(250),
IN in_status tinyint(4)
)
BEGIN
declare var_perfil int(11);
select perfil into var_perfil from usuario where id = in_user_id;
if in_sintoma_id is null then -- CADASTRAR
if (var_perfil > 1) then -- PROFESSOR / ADMIN
-- INSERE NO REPOSITORIO PRINCIPAL
INSERT INTO sintomas (nome,descricao_resumida,descricao_completa,status)
VALUES(in_nome,in_desc_resumida,in_desc_completa,in_status);
-- GERA SOLICITACAO JA APROVADA AFIM DE HISTORICO
INSERT INTO sintomas_edicao (nome,descricao_resumida,descricao_completa,status,usuario_solicitante,usuario_aprovador,solicitacao,resposta,sintomas_id)
VALUES(in_nome,in_desc_resumida,in_desc_completa,in_status,in_user_id,in_user_id,now(),now(),last_insert_id());
ELSE -- ALUNO
-- GERA SOLICITACAO
INSERT INTO sintomas_edicao (nome,descricao_resumida,descricao_completa,status,usuario_solicitante,solicitacao)
VALUES(in_nome,in_desc_resumida,in_desc_completa,in_status,in_user_id,now());
end if;
else -- ALTERAR
if (var_perfil > 1) then -- PROFESSOR / ADMIN
-- ATUALIZA NO REPOSITORIO PRINCIPAL
UPDATE sintomas set nome = in_nome, descricao_resumida = in_desc_resumida, descricao_completa = in_desc_completa, status = in_status
WHERE id = in_sintoma_id;
-- GERA SOLICITACAO JA APROVADA AFIM DE HISTORICO
INSERT INTO sintomas_edicao (nome,descricao_resumida,descricao_completa,status,usuario_solicitante,usuario_aprovador,solicitacao,resposta,sintomas_id)
VALUES(in_nome,in_desc_resumida,in_desc_completa,in_status,in_user_id,in_user_id,now(),now(),in_sintoma_id);
ELSE -- ALUNO
-- GERA SOLICITACAO
INSERT INTO sintomas_edicao (nome,descricao_resumida,descricao_completa,status,usuario_solicitante,solicitacao,sintomas_id)
VALUES(in_nome,in_desc_resumida,in_desc_completa,in_status,in_user_id,now(),in_sintoma_id);
end if;
end if;
END$$
DELIMITER ;
-- -----------------------------------------------------
-- procedure sp_SetSugestoes
-- -----------------------------------------------------
DELIMITER $$
CREATE DEFINER=`plantas`@`%%` PROCEDURE `sp_SetSugestoes`(
IN pnome varchar(100),
IN ptelefone varchar(45),
IN pemail varchar(45),
IN ptitulo varchar(70),
IN pdescricao varchar(250))
BEGIN
INSERT INTO sugestoes (nome,telefone,email,titulo,descricao)
VALUES(pnome,ptelefone,pemail,ptitulo,pdescricao);
END$$
DELIMITER ;
SET SQL_MODE=@OLD_SQL_MODE;
SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;
SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;
|
drop database kingOfTheBeach;
create USER IF NOT EXISTS 'kobApplication'@'localhost' IDENTIFIED BY 'kob2019';
create DATABASE kingOfTheBeach;
USE kingOfTheBeach;
grant all privileges on kingofthebeach.* TO 'kobApplication'@'localhost';
create TABLE Properties (
Name varchar(255) NOT NULL,
Value varchar(255) NOT NULL
);
create TABLE Player (
id int NOT NULL AUTO_INCREMENT,
Name varchar(255) NOT NULL,
hasScore BOOLEAN not null default 0,
PRIMARY KEY (id)
);
create TABLE Game (
id int NOT NULL AUTO_INCREMENT,
sessionDate date NOT NULL,
highestPoint double,
lowestPoint DOUBLE,
isComplete boolean NOT NULL,
PRIMARY KEY (id)
);
create TABLE Result (
id int NOT NULL AUTO_INCREMENT,
playerID int NOT NULL,
sessionID int NOT NULL,
Result int,
playerMasterScoreBeforeGame DOUBLE,
Score DOUBLE,
PRIMARY KEY (id),
FOREIGN KEY (playerID) REFERENCES Player(id),
FOREIGN KEY (sessionID) REFERENCES Game(id)
);
insert into Properties (Name,Value) values ('kob.initializationCompleted','false');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('<NAME>');
insert into Player (Name) values ('ZZGuest1');
insert into Game (sessionDate, isComplete) values ('2018-09-25',true);
insert into Game (sessionDate, isComplete) values ('2018-10-01',true);
insert into Game (sessionDate, isComplete) values ('2018-10-08',true);
insert into Game (sessionDate, isComplete) values ('2018-10-15',true);
insert into Game (sessionDate, isComplete) values ('2018-10-22',true);
insert into Game (sessionDate, isComplete) values ('2018-10-28',true);
insert into Game (sessionDate, isComplete) values ('2018-11-03',true);
insert into Game (sessionDate, isComplete) values ('2018-11-05',true);
insert into Game (sessionDate, isComplete) values ('2018-11-10',true);
insert into Game (sessionDate, isComplete) values ('2018-11-12',true);
insert into Game (sessionDate, isComplete) values ('2018-11-18',true);
insert into Game (sessionDate, isComplete) values ('2018-11-22',true);
insert into Game (sessionDate, isComplete) values ('2018-11-24',true);
insert into Game (sessionDate, isComplete) values ('2018-11-26',true);
insert into Game (sessionDate, isComplete) values ('2018-12-01',true);
insert into Game (sessionDate, isComplete) values ('2018-12-03',true);
insert into Game (sessionDate, isComplete) values ('2018-12-09',true);
insert into Game (sessionDate, isComplete) values ('2018-12-10',true);
insert into Game (sessionDate, isComplete) values ('2018-12-16',true);
insert into Game (sessionDate, isComplete) values ('2018-12-17',true);
insert into Game (sessionDate, isComplete) values ('2018-12-20',true);
insert into Game (sessionDate, isComplete) values ('2018-12-22',true);
insert into Game (sessionDate, isComplete) values ('2018-12-28',true);
insert into Game (sessionDate, isComplete) values ('2019-01-02',true);
insert into Game (sessionDate, isComplete) values ('2019-01-05',true);
insert into Game (sessionDate, isComplete) values ('2019-01-09',true);
insert into Game (sessionDate, isComplete) values ('2019-01-12',true);
insert into Game (sessionDate, isComplete) values ('2019-01-15',true);
insert into Game (sessionDate, isComplete) values ('2019-01-19',true);
insert into Game (sessionDate, isComplete) values ('2019-01-22',true);
insert into Game (sessionDate, isComplete) values ('2019-01-26',true);
insert into Game (sessionDate, isComplete) values ('2019-01-29',true);
insert into Game (sessionDate, isComplete) values ('2019-02-02',true);
insert into Game (sessionDate, isComplete) values ('2019-02-05',true);
insert into Game (sessionDate, isComplete) values ('2019-02-10',true);
insert into Game (sessionDate, isComplete) values ('2019-02-12',true);
insert into Game (sessionDate, isComplete) values ('2019-02-16',true);
insert into Game (sessionDate, isComplete) values ('2019-02-19',true);
insert into Game (sessionDate, isComplete) values ('2019-02-24',true);
insert into Game (sessionDate, isComplete) values ('2019-02-26',true);
insert into Game (sessionDate, isComplete) values ('2019-03-05',true);
insert into Game (sessionDate, isComplete) values ('2019-03-12',true);
insert into Game (sessionDate, isComplete) values ('2019-03-16',true);
insert into Game (sessionDate, isComplete) values ('2019-03-19',true);
insert into Game (sessionDate, isComplete) values ('2019-03-23',true);
insert into Game (sessionDate, isComplete) values ('2019-03-26',true);
insert into Game (sessionDate, isComplete) values ('2019-03-30',true);
insert into Game (sessionDate, isComplete) values ('2019-04-02',true);
insert into Game (sessionDate, isComplete) values ('2019-04-11',true);
insert into Game (sessionDate, isComplete) values ('2019-04-13',true);
insert into Game (sessionDate, isComplete) values ('2019-04-15',true);
insert into Game (sessionDate, isComplete) values ('2019-04-18',true);
insert into Game (sessionDate, isComplete) values ('2019-04-22',true);
insert into Game (sessionDate, isComplete) values ('2019-04-25',true);
insert into Game (sessionDate, isComplete) values ('2019-04-29',true);
insert into Game (sessionDate, isComplete) values ('2019-05-02',true);
insert into Game (sessionDate, isComplete) values ('2019-05-06',true);
insert into Game (sessionDate, isComplete) values ('2019-05-09',true);
insert into Game (sessionDate, isComplete) values ('2019-05-16',true);
insert into Game (sessionDate, isComplete) values ('2019-05-23',true);
insert into Game (sessionDate, isComplete) values ('2019-05-30',true);
insert into Game (sessionDate, isComplete) values ('2019-06-06',true);
insert into Game (sessionDate, isComplete) values ('2019-06-20',true);
insert into Game (sessionDate, isComplete) values ('2019-06-27',true);
insert into Game (sessionDate, isComplete) values ('2019-07-04',true);
insert into Game (sessionDate, isComplete) values ('2019-07-18',true);
insert into Game (sessionDate, isComplete) values ('2019-07-25',true);
insert into Game (sessionDate, isComplete) values ('2019-08-01',true);
insert into Game (sessionDate, isComplete) values ('2019-08-08',true);
insert into Game (sessionDate, isComplete) values ('2019-08-15',true);
insert into Game (sessionDate, isComplete) values ('2019-09-07',true);
insert into Game (sessionDate, isComplete) values ('2019-09-09',true);
insert into Game (sessionDate, isComplete) values ('2019-09-14',true);
insert into Game (sessionDate, isComplete) values ('2019-09-16',true);
insert into Game (sessionDate, isComplete) values ('2019-09-21',true);
insert into Game (sessionDate, isComplete) values ('2019-09-23',true);
insert into Game (sessionDate, isComplete) values ('2019-09-28',true);
insert into Game (sessionDate, isComplete) values ('2019-09-30',true);
insert into Game (sessionDate, isComplete) values ('2019-10-05',true);
insert into Game (sessionDate, isComplete) values ('2019-10-07',true);
insert into Game (sessionDate, isComplete) values ('2019-10-12',true);
insert into Game (sessionDate, isComplete) values ('2019-10-14',true);
insert into Game (sessionDate, isComplete) values ('2019-10-19',true);
insert into Game (sessionDate, isComplete) values ('2019-10-21',true);
insert into Game (sessionDate, isComplete) values ('2019-10-28',true);
insert into Game (sessionDate, isComplete) values ('2019-11-02',true);
insert into Game (sessionDate, isComplete) values ('2019-11-04',true);
insert into Game (sessionDate, isComplete) values ('2019-11-11',true);
insert into Game (sessionDate, isComplete) values ('2019-11-16',true);
insert into Game (sessionDate, isComplete) values ('2019-11-18',true);
insert into Game (sessionDate, isComplete) values ('2019-11-23',true);
insert into Game (sessionDate, isComplete) values ('2019-11-25',true);
insert into Game (sessionDate, isComplete) values ('2019-11-30',true);
insert into Game (sessionDate, isComplete) values ('2019-12-02',true);
insert into Game (sessionDate, isComplete) values ('2019-12-07',true);
insert into Game (sessionDate, isComplete) values ('2019-12-09',true);
insert into Game (sessionDate, isComplete) values ('2019-12-16',true);
insert into Game (sessionDate, isComplete) values ('2019-12-21',true);
insert into Game (sessionDate, isComplete) values ('2019-12-23',true);
insert into Game (sessionDate, isComplete) values ('2019-12-26',true);
insert into Game (sessionDate, isComplete) values ('2019-12-30',true);
insert into Result (PlayerID,sessionID, result, score) values (1, 48, 14, 33.08773474);
insert into Result (PlayerID,sessionID, result, score) values (1, 53, 3, 57.72683023);
insert into Result (PlayerID,sessionID, result, score) values (1, 55, 3, 58.83388569);
insert into Result (PlayerID,sessionID, result, score) values (1, 59, 7, 47.1559514);
insert into Result (PlayerID,sessionID, result, score) values (1, 60, 3, 50.3565611);
insert into Result (PlayerID,sessionID, result, score) values (1, 61, 7, 34.45034684);
insert into Result (PlayerID,sessionID, result, score) values (1, 62, 8, 33.4052972);
insert into Result (PlayerID,sessionID, result, score) values (1, 66, 7, 37.00387815);
insert into Result (PlayerID,sessionID, result, score) values (1, 67, 2, 57.49209216);
insert into Result (PlayerID,sessionID, result, score) values (1, 68, 7, 35.54316648);
insert into Result (PlayerID,sessionID, result, score) values (1, 81, 9, 40.03543798);
insert into Result (PlayerID,sessionID, result, score) values (1, 82, 5, 56.49428156);
insert into Result (PlayerID,sessionID, result, score) values (1, 83, 10, 35.82608813);
insert into Result (PlayerID,sessionID, result, score) values (2, 16, 11, 41.75998254);
insert into Result (PlayerID,sessionID, result, score) values (2, 17, 11, 35.5654065);
insert into Result (PlayerID,sessionID, result, score) values (2, 20, 8, 49.13357477);
insert into Result (PlayerID,sessionID, result, score) values (2, 24, 7, 36.95624227);
insert into Result (PlayerID,sessionID, result, score) values (2, 26, 8, 43.41225264);
insert into Result (PlayerID,sessionID, result, score) values (2, 28, 11, 43.72131926);
insert into Result (PlayerID,sessionID, result, score) values (2, 30, 5, 56.01106429);
insert into Result (PlayerID,sessionID, result, score) values (2, 32, 12, 39.49590728);
insert into Result (PlayerID,sessionID, result, score) values (2, 34, 11, 36.30770479);
insert into Result (PlayerID,sessionID, result, score) values (2, 35, 11, 35.90783504);
insert into Result (PlayerID,sessionID, result, score) values (2, 36, 11, 41.59984751);
insert into Result (PlayerID,sessionID, result, score) values (2, 38, 10, 44.00887438);
insert into Result (PlayerID,sessionID, result, score) values (2, 40, 16, 28.38657153);
insert into Result (PlayerID,sessionID, result, score) values (2, 42, 13, 30.74864771);
insert into Result (PlayerID,sessionID, result, score) values (2, 43, 9, 36.33778359);
insert into Result (PlayerID,sessionID, result, score) values (2, 44, 14, 32.66466301);
insert into Result (PlayerID,sessionID, result, score) values (2, 45, 14, 35.04525171);
insert into Result (PlayerID,sessionID, result, score) values (2, 46, 8, 41.72666998);
insert into Result (PlayerID,sessionID, result, score) values (2, 47, 10, 49.21256092);
insert into Result (PlayerID,sessionID, result, score) values (2, 48, 6, 56.22638422);
insert into Result (PlayerID,sessionID, result, score) values (2, 49, 8, 31.58189009);
insert into Result (PlayerID,sessionID, result, score) values (2, 50, 7, 38.4528939);
insert into Result (PlayerID,sessionID, result, score) values (2, 52, 11, 42.64608493);
insert into Result (PlayerID,sessionID, result, score) values (2, 54, 8, 43.31541351);
insert into Result (PlayerID,sessionID, result, score) values (2, 56, 9, 43.97777494);
insert into Result (PlayerID,sessionID, result, score) values (2, 58, 4, 51.6686514);
insert into Result (PlayerID,sessionID, result, score) values (2, 66, 5, 46.87406948);
insert into Result (PlayerID,sessionID, result, score) values (2, 69, 9, 43.52221164);
insert into Result (PlayerID,sessionID, result, score) values (2, 70, 4, 52.86381385);
insert into Result (PlayerID,sessionID, result, score) values (2, 72, 14, 31.62401672);
insert into Result (PlayerID,sessionID, result, score) values (2, 73, 7, 38.73371746);
insert into Result (PlayerID,sessionID, result, score) values (2, 75, 5, 44.00329937);
insert into Result (PlayerID,sessionID, result, score) values (2, 76, 8, 49.66791711);
insert into Result (PlayerID,sessionID, result, score) values (2, 78, 18, 31.02423956);
insert into Result (PlayerID,sessionID, result, score) values (2, 79, 6, 50.89063255);
insert into Result (PlayerID,sessionID, result, score) values (2, 81, 10, 36.14941964);
insert into Result (PlayerID,sessionID, result, score) values (2, 83, 7, 47.0197583);
insert into Result (PlayerID,sessionID, result, score) values (2, 84, 16, 37.1324327);
insert into Result (PlayerID,sessionID, result, score) values (2, 88, 15, 36.18284291);
insert into Result (PlayerID,sessionID, result, score) values (2, 93, 11, 37.84565078);
insert into Result (PlayerID,sessionID, result, score) values (3, 24, 2, 62.4267976);
insert into Result (PlayerID,sessionID, result, score) values (3, 26, 1, 68.01824271);
insert into Result (PlayerID,sessionID, result, score) values (3, 27, 3, 57.81729241);
insert into Result (PlayerID,sessionID, result, score) values (3, 28, 2, 66.71812154);
insert into Result (PlayerID,sessionID, result, score) values (4, 2, 3, 55.40816327);
insert into Result (PlayerID,sessionID, result, score) values (4, 3, 3, 54.72667638);
insert into Result (PlayerID,sessionID, result, score) values (4, 4, 6, 51.66328003);
insert into Result (PlayerID,sessionID, result, score) values (4, 5, 1, 65.1716049);
insert into Result (PlayerID,sessionID, result, score) values (4, 7, 5, 54.50805003);
insert into Result (PlayerID,sessionID, result, score) values (4, 8, 2, 61.69568031);
insert into Result (PlayerID,sessionID, result, score) values (4, 9, 2, 63.39719759);
insert into Result (PlayerID,sessionID, result, score) values (4, 10, 1, 64.71734276);
insert into Result (PlayerID,sessionID, result, score) values (4, 11, 5, 46.17743863);
insert into Result (PlayerID,sessionID, result, score) values (4, 12, 6, 49.00802773);
insert into Result (PlayerID,sessionID, result, score) values (4, 14, 4, 59.47896045);
insert into Result (PlayerID,sessionID, result, score) values (4, 16, 4, 59.45220716);
insert into Result (PlayerID,sessionID, result, score) values (4, 17, 3, 61.28815586);
insert into Result (PlayerID,sessionID, result, score) values (4, 18, 2, 64.59933429);
insert into Result (PlayerID,sessionID, result, score) values (4, 20, 1, 67.65700458);
insert into Result (PlayerID,sessionID, result, score) values (4, 21, 3, 56.73637483);
insert into Result (PlayerID,sessionID, result, score) values (4, 25, 4, 53.90310873);
insert into Result (PlayerID,sessionID, result, score) values (4, 26, 3, 60.98795983);
insert into Result (PlayerID,sessionID, result, score) values (4, 27, 2, 63.42700352);
insert into Result (PlayerID,sessionID, result, score) values (4, 28, 3, 64.16292128);
insert into Result (PlayerID,sessionID, result, score) values (4, 30, 2, 66.36591413);
insert into Result (PlayerID,sessionID, result, score) values (4, 31, 3, 60.32101839);
insert into Result (PlayerID,sessionID, result, score) values (4, 32, 2, 66.53440354);
insert into Result (PlayerID,sessionID, result, score) values (4, 34, 4, 58.60792741);
insert into Result (PlayerID,sessionID, result, score) values (4, 35, 1, 70.52261213);
insert into Result (PlayerID,sessionID, result, score) values (4, 36, 2, 65.42459513);
insert into Result (PlayerID,sessionID, result, score) values (4, 40, 1, 68.09750045);
insert into Result (PlayerID,sessionID, result, score) values (4, 41, 5, 53.19234857);
insert into Result (PlayerID,sessionID, result, score) values (4, 42, 3, 63.1489383);
insert into Result (PlayerID,sessionID, result, score) values (4, 43, 1, 69.32680475);
insert into Result (PlayerID,sessionID, result, score) values (4, 44, 2, 65.81812549);
insert into Result (PlayerID,sessionID, result, score) values (4, 45, 4, 63.27217112);
insert into Result (PlayerID,sessionID, result, score) values (4, 46, 1, 68.49791751);
insert into Result (PlayerID,sessionID, result, score) values (4, 47, 2, 67.28770321);
insert into Result (PlayerID,sessionID, result, score) values (4, 48, 5, 59.11871541);
insert into Result (PlayerID,sessionID, result, score) values (4, 52, 2, 68.39068138);
insert into Result (PlayerID,sessionID, result, score) values (4, 73, 1, 70.43404356);
insert into Result (PlayerID,sessionID, result, score) values (4, 74, 4, 62.82874818);
insert into Result (PlayerID,sessionID, result, score) values (4, 76, 2, 69.56744599);
insert into Result (PlayerID,sessionID, result, score) values (4, 78, 3, 67.35655114);
insert into Result (PlayerID,sessionID, result, score) values (4, 80, 5, 59.60881854);
insert into Result (PlayerID,sessionID, result, score) values (4, 82, 6, 52.22314555);
insert into Result (PlayerID,sessionID, result, score) values (4, 83, 3, 61.94465186);
insert into Result (PlayerID,sessionID, result, score) values (4, 84, 6, 60.80752758);
insert into Result (PlayerID,sessionID, result, score) values (4, 85, 3, 68.49326184);
insert into Result (PlayerID,sessionID, result, score) values (4, 86, 2, 66.83196483);
insert into Result (PlayerID,sessionID, result, score) values (4, 88, 8, 54.23005314);
insert into Result (PlayerID,sessionID, result, score) values (4, 89, 1, 71.8962865);
insert into Result (PlayerID,sessionID, result, score) values (4, 90, 4, 61.29866155);
insert into Result (PlayerID,sessionID, result, score) values (4, 91, 4, 59.04117987);
insert into Result (PlayerID,sessionID, result, score) values (5, 49, 2, 64.09064825);
insert into Result (PlayerID,sessionID, result, score) values (6, 38, 14, 32.69519101);
insert into Result (PlayerID,sessionID, result, score) values (6, 39, 11, 33.67524303);
insert into Result (PlayerID,sessionID, result, score) values (7, 14, 15, 31.30924191);
insert into Result (PlayerID,sessionID, result, score) values (7, 18, 11, 34.00352116);
insert into Result (PlayerID,sessionID, result, score) values (7, 20, 12, 38.54875774);
insert into Result (PlayerID,sessionID, result, score) values (7, 22, 10, 37.14520689);
insert into Result (PlayerID,sessionID, result, score) values (7, 26, 12, 29.35168688);
insert into Result (PlayerID,sessionID, result, score) values (7, 28, 13, 38.61091876);
insert into Result (PlayerID,sessionID, result, score) values (7, 30, 12, 31.84974802);
insert into Result (PlayerID,sessionID, result, score) values (7, 31, 12, 28.26720498);
insert into Result (PlayerID,sessionID, result, score) values (7, 32, 16, 28.68050877);
insert into Result (PlayerID,sessionID, result, score) values (7, 36, 16, 28.36387661);
insert into Result (PlayerID,sessionID, result, score) values (7, 37, 8, 41.78723149);
insert into Result (PlayerID,sessionID, result, score) values (7, 38, 12, 38.35203269);
insert into Result (PlayerID,sessionID, result, score) values (7, 41, 11, 28.79869862);
insert into Result (PlayerID,sessionID, result, score) values (7, 42, 11, 37.22870583);
insert into Result (PlayerID,sessionID, result, score) values (7, 44, 16, 27.13908593);
insert into Result (PlayerID,sessionID, result, score) values (7, 45, 13, 37.86794365);
insert into Result (PlayerID,sessionID, result, score) values (7, 47, 18, 31.13741863);
insert into Result (PlayerID,sessionID, result, score) values (7, 48, 15, 30.19540355);
insert into Result (PlayerID,sessionID, result, score) values (7, 55, 9, 37.78411581);
insert into Result (PlayerID,sessionID, result, score) values (7, 57, 3, 55.849547);
insert into Result (PlayerID,sessionID, result, score) values (7, 59, 11, 30.69808869);
insert into Result (PlayerID,sessionID, result, score) values (7, 60, 2, 56.86872771);
insert into Result (PlayerID,sessionID, result, score) values (7, 72, 11, 40.3819264);
insert into Result (PlayerID,sessionID, result, score) values (7, 74, 14, 30.26663824);
insert into Result (PlayerID,sessionID, result, score) values (7, 78, 15, 38.29070188);
insert into Result (PlayerID,sessionID, result, score) values (7, 79, 10, 33.30685836);
insert into Result (PlayerID,sessionID, result, score) values (7, 80, 13, 33.60057407);
insert into Result (PlayerID,sessionID, result, score) values (7, 87, 13, 30.87867698);
insert into Result (PlayerID,sessionID, result, score) values (7, 88, 16, 33.60467002);
insert into Result (PlayerID,sessionID, result, score) values (7, 89, 8, 39.93734124);
insert into Result (PlayerID,sessionID, result, score) values (7, 90, 11, 29.83834001);
insert into Result (PlayerID,sessionID, result, score) values (7, 93, 7, 51.42390854);
insert into Result (PlayerID,sessionID, result, score) values (8, 15, 15, 30.43642747);
insert into Result (PlayerID,sessionID, result, score) values (8, 78, 19, 28.60208545);
insert into Result (PlayerID,sessionID, result, score) values (8, 79, 12, 24.51497126);
insert into Result (PlayerID,sessionID, result, score) values (9, 6, 6, 41.37085174);
insert into Result (PlayerID,sessionID, result, score) values (9, 8, 6, 40.527257);
insert into Result (PlayerID,sessionID, result, score) values (9, 10, 4, 58.03305998);
insert into Result (PlayerID,sessionID, result, score) values (9, 14, 6, 54.35719344);
insert into Result (PlayerID,sessionID, result, score) values (9, 16, 2, 64.50712848);
insert into Result (PlayerID,sessionID, result, score) values (9, 18, 3, 61.1997995);
insert into Result (PlayerID,sessionID, result, score) values (9, 20, 4, 59.71839181);
insert into Result (PlayerID,sessionID, result, score) values (9, 26, 4, 57.47281839);
insert into Result (PlayerID,sessionID, result, score) values (9, 28, 4, 61.60772103);
insert into Result (PlayerID,sessionID, result, score) values (9, 40, 8, 49.56573362);
insert into Result (PlayerID,sessionID, result, score) values (9, 46, 7, 45.55113391);
insert into Result (PlayerID,sessionID, result, score) values (9, 48, 8, 50.44172185);
insert into Result (PlayerID,sessionID, result, score) values (9, 51, 5, 43.14331729);
insert into Result (PlayerID,sessionID, result, score) values (9, 55, 10, 34.27582083);
insert into Result (PlayerID,sessionID, result, score) values (9, 72, 12, 37.46262318);
insert into Result (PlayerID,sessionID, result, score) values (9, 74, 6, 56.31632619);
insert into Result (PlayerID,sessionID, result, score) values (9, 76, 9, 46.35132896);
insert into Result (PlayerID,sessionID, result, score) values (9, 78, 10, 50.4014724);
insert into Result (PlayerID,sessionID, result, score) values (9, 82, 3, 65.03655358);
insert into Result (PlayerID,sessionID, result, score) values (9, 84, 8, 56.0725086);
insert into Result (PlayerID,sessionID, result, score) values (9, 85, 11, 47.38252895);
insert into Result (PlayerID,sessionID, result, score) values (9, 87, 2, 70.46199972);
insert into Result (PlayerID,sessionID, result, score) values (9, 88, 4, 64.54274469);
insert into Result (PlayerID,sessionID, result, score) values (9, 91, 2, 68.03641978);
insert into Result (PlayerID,sessionID, result, score) values (10, 13, 11, 33.13931895);
insert into Result (PlayerID,sessionID, result, score) values (10, 15, 11, 40.16194365);
insert into Result (PlayerID,sessionID, result, score) values (10, 20, 12, 38.54875774);
insert into Result (PlayerID,sessionID, result, score) values (10, 47, 16, 35.6562042);
insert into Result (PlayerID,sessionID, result, score) values (11, 34, 6, 52.23643524);
insert into Result (PlayerID,sessionID, result, score) values (11, 36, 3, 62.77740095);
insert into Result (PlayerID,sessionID, result, score) values (11, 41, 7, 45.06113192);
insert into Result (PlayerID,sessionID, result, score) values (11, 81, 5, 55.57951132);
insert into Result (PlayerID,sessionID, result, score) values (12, 69, 12, 34.13282418);
insert into Result (PlayerID,sessionID, result, score) values (12, 72, 13, 34.54331995);
insert into Result (PlayerID,sessionID, result, score) values (12, 76, 13, 33.08497637);
insert into Result (PlayerID,sessionID, result, score) values (12, 78, 15, 38.29070188);
insert into Result (PlayerID,sessionID, result, score) values (12, 80, 12, 36.85160463);
insert into Result (PlayerID,sessionID, result, score) values (12, 84, 15, 39.49994218);
insert into Result (PlayerID,sessionID, result, score) values (12, 85, 15, 36.8271625);
insert into Result (PlayerID,sessionID, result, score) values (12, 87, 13, 30.87867698);
insert into Result (PlayerID,sessionID, result, score) values (12, 88, 11, 46.49553447);
insert into Result (PlayerID,sessionID, result, score) values (12, 89, 10, 30.80621402);
insert into Result (PlayerID,sessionID, result, score) values (12, 92, 9, 36.40881142);
insert into Result (PlayerID,sessionID, result, score) values (13, 52, 12, 39.78557421);
insert into Result (PlayerID,sessionID, result, score) values (13, 70, 6, 40.68819613);
insert into Result (PlayerID,sessionID, result, score) values (13, 82, 11, 30.8674655);
insert into Result (PlayerID,sessionID, result, score) values (14, 9, 6, 42.30091934);
insert into Result (PlayerID,sessionID, result, score) values (14, 12, 10, 36.60512473);
insert into Result (PlayerID,sessionID, result, score) values (14, 13, 5, 54.08462843);
insert into Result (PlayerID,sessionID, result, score) values (14, 22, 12, 30.13653847);
insert into Result (PlayerID,sessionID, result, score) values (14, 25, 5, 48.97831664);
insert into Result (PlayerID,sessionID, result, score) values (14, 27, 6, 40.98815908);
insert into Result (PlayerID,sessionID, result, score) values (14, 31, 11, 31.8287398);
insert into Result (PlayerID,sessionID, result, score) values (14, 37, 11, 31.29807024);
insert into Result (PlayerID,sessionID, result, score) values (14, 45, 16, 29.39986783);
insert into Result (PlayerID,sessionID, result, score) values (14, 71, 8, 32.46235626);
insert into Result (PlayerID,sessionID, result, score) values (15, 15, 1, 64.47573412);
insert into Result (PlayerID,sessionID, result, score) values (15, 16, 5, 56.9247465);
insert into Result (PlayerID,sessionID, result, score) values (15, 18, 1, 67.99886909);
insert into Result (PlayerID,sessionID, result, score) values (15, 20, 2, 65.01080032);
insert into Result (PlayerID,sessionID, result, score) values (15, 28, 1, 69.27332179);
insert into Result (PlayerID,sessionID, result, score) values (15, 30, 1, 69.81753074);
insert into Result (PlayerID,sessionID, result, score) values (15, 32, 1, 69.23825316);
insert into Result (PlayerID,sessionID, result, score) values (15, 35, 3, 63.59965671);
insert into Result (PlayerID,sessionID, result, score) values (15, 38, 2, 66.63624111);
insert into Result (PlayerID,sessionID, result, score) values (15, 45, 1, 71.74024694);
insert into Result (PlayerID,sessionID, result, score) values (15, 54, 1, 69.85066993);
insert into Result (PlayerID,sessionID, result, score) values (15, 59, 1, 71.84274548);
insert into Result (PlayerID,sessionID, result, score) values (15, 79, 2, 68.47440674);
insert into Result (PlayerID,sessionID, result, score) values (15, 92, 2, 70.72008747);
insert into Result (PlayerID,sessionID, result, score) values (16, 1, 6, 45.71428571);
insert into Result (PlayerID,sessionID, result, score) values (16, 2, 6, 45.30612245);
insert into Result (PlayerID,sessionID, result, score) values (16, 3, 2, 58.57507289);
insert into Result (PlayerID,sessionID, result, score) values (16, 4, 9, 43.26158819);
insert into Result (PlayerID,sessionID, result, score) values (16, 5, 2, 60.90988695);
insert into Result (PlayerID,sessionID, result, score) values (16, 6, 3, 54.91006182);
insert into Result (PlayerID,sessionID, result, score) values (16, 7, 4, 57.72694757);
insert into Result (PlayerID,sessionID, result, score) values (16, 8, 4, 51.11146865);
insert into Result (PlayerID,sessionID, result, score) values (16, 9, 4, 52.84905846);
insert into Result (PlayerID,sessionID, result, score) values (16, 10, 2, 62.4892485);
insert into Result (PlayerID,sessionID, result, score) values (16, 11, 2, 63.77757763);
insert into Result (PlayerID,sessionID, result, score) values (16, 12, 2, 61.41093074);
insert into Result (PlayerID,sessionID, result, score) values (16, 13, 7, 47.1028586);
insert into Result (PlayerID,sessionID, result, score) values (16, 14, 3, 62.03984395);
insert into Result (PlayerID,sessionID, result, score) values (16, 15, 2, 62.04435507);
insert into Result (PlayerID,sessionID, result, score) values (16, 16, 9, 46.81490386);
insert into Result (PlayerID,sessionID, result, score) values (16, 17, 8, 45.21143751);
insert into Result (PlayerID,sessionID, result, score) values (16, 18, 3, 61.1997995);
insert into Result (PlayerID,sessionID, result, score) values (16, 19, 7, 36.44310353);
insert into Result (PlayerID,sessionID, result, score) values (16, 20, 5, 57.07218755);
insert into Result (PlayerID,sessionID, result, score) values (16, 21, 2, 61.28743104);
insert into Result (PlayerID,sessionID, result, score) values (16, 22, 3, 61.67554637);
insert into Result (PlayerID,sessionID, result, score) values (16, 23, 3, 57.25710917);
insert into Result (PlayerID,sessionID, result, score) values (16, 28, 8, 51.38692002);
insert into Result (PlayerID,sessionID, result, score) values (16, 29, 4, 57.61814777);
insert into Result (PlayerID,sessionID, result, score) values (16, 30, 11, 35.30136463);
insert into Result (PlayerID,sessionID, result, score) values (16, 31, 1, 67.44408803);
insert into Result (PlayerID,sessionID, result, score) values (16, 32, 11, 42.1997569);
insert into Result (PlayerID,sessionID, result, score) values (16, 33, 4, 50.11704098);
insert into Result (PlayerID,sessionID, result, score) values (16, 34, 9, 42.67919697);
insert into Result (PlayerID,sessionID, result, score) values (16, 35, 8, 46.29226817);
insert into Result (PlayerID,sessionID, result, score) values (16, 36, 5, 57.48301259);
insert into Result (PlayerID,sessionID, result, score) values (16, 37, 6, 48.78000565);
insert into Result (PlayerID,sessionID, result, score) values (16, 38, 8, 49.66571606);
insert into Result (PlayerID,sessionID, result, score) values (16, 39, 6, 50.14313894);
insert into Result (PlayerID,sessionID, result, score) values (16, 40, 4, 60.15531467);
insert into Result (PlayerID,sessionID, result, score) values (16, 41, 4, 57.2579569);
insert into Result (PlayerID,sessionID, result, score) values (16, 42, 4, 59.90890924);
insert into Result (PlayerID,sessionID, result, score) values (16, 43, 5, 52.83229417);
insert into Result (PlayerID,sessionID, result, score) values (16, 44, 7, 52.00418279);
insert into Result (PlayerID,sessionID, result, score) values (16, 45, 9, 49.15871141);
insert into Result (PlayerID,sessionID, result, score) values (16, 46, 6, 49.37559785);
insert into Result (PlayerID,sessionID, result, score) values (16, 47, 3, 65.02831042);
insert into Result (PlayerID,sessionID, result, score) values (16, 48, 7, 53.33405303);
insert into Result (PlayerID,sessionID, result, score) values (16, 49, 2, 64.09064825);
insert into Result (PlayerID,sessionID, result, score) values (16, 50, 5, 48.86455415);
insert into Result (PlayerID,sessionID, result, score) values (16, 51, 3, 56.44905847);
insert into Result (PlayerID,sessionID, result, score) values (16, 52, 8, 51.22761708);
insert into Result (PlayerID,sessionID, result, score) values (16, 53, 7, 38.4596272);
insert into Result (PlayerID,sessionID, result, score) values (16, 54, 3, 62.2691681);
insert into Result (PlayerID,sessionID, result, score) values (16, 55, 4, 55.32559071);
insert into Result (PlayerID,sessionID, result, score) values (16, 56, 5, 55.00502291);
insert into Result (PlayerID,sessionID, result, score) values (16, 57, 5, 45.09114976);
insert into Result (PlayerID,sessionID, result, score) values (16, 58, 3, 56.9204159);
insert into Result (PlayerID,sessionID, result, score) values (16, 59, 6, 51.27041708);
insert into Result (PlayerID,sessionID, result, score) values (16, 60, 1, 63.38089433);
insert into Result (PlayerID,sessionID, result, score) values (16, 61, 3, 56.59220774);
insert into Result (PlayerID,sessionID, result, score) values (16, 62, 3, 61.40355426);
insert into Result (PlayerID,sessionID, result, score) values (16, 63, 1, 62.38968713);
insert into Result (PlayerID,sessionID, result, score) values (16, 64, 4, 52.94651797);
insert into Result (PlayerID,sessionID, result, score) values (16, 66, 3, 56.74426081);
insert into Result (PlayerID,sessionID, result, score) values (16, 67, 3, 52.65844025);
insert into Result (PlayerID,sessionID, result, score) values (16, 68, 5, 46.36665759);
insert into Result (PlayerID,sessionID, result, score) values (16, 69, 6, 52.91159911);
insert into Result (PlayerID,sessionID, result, score) values (16, 70, 5, 46.77600499);
insert into Result (PlayerID,sessionID, result, score) values (16, 71, 1, 71.99932078);
insert into Result (PlayerID,sessionID, result, score) values (16, 72, 5, 57.89774578);
insert into Result (PlayerID,sessionID, result, score) values (16, 73, 8, 33.45032977);
insert into Result (PlayerID,sessionID, result, score) values (16, 74, 8, 49.8039042);
insert into Result (PlayerID,sessionID, result, score) values (16, 75, 6, 39.10263659);
insert into Result (PlayerID,sessionID, result, score) values (16, 76, 4, 62.9342697);
insert into Result (PlayerID,sessionID, result, score) values (16, 77, 2, 67.50473225);
insert into Result (PlayerID,sessionID, result, score) values (16, 78, 9, 52.82362651);
insert into Result (PlayerID,sessionID, result, score) values (16, 79, 9, 37.7028019);
insert into Result (PlayerID,sessionID, result, score) values (16, 80, 10, 43.35366575);
insert into Result (PlayerID,sessionID, result, score) values (16, 81, 8, 43.92145631);
insert into Result (PlayerID,sessionID, result, score) values (16, 83, 8, 43.28853491);
insert into Result (PlayerID,sessionID, result, score) values (16, 84, 10, 51.33748963);
insert into Result (PlayerID,sessionID, result, score) values (16, 85, 13, 42.10484572);
insert into Result (PlayerID,sessionID, result, score) values (16, 87, 10, 41.67412864);
insert into Result (PlayerID,sessionID, result, score) values (16, 88, 13, 41.33918869);
insert into Result (PlayerID,sessionID, result, score) values (16, 89, 6, 49.06846846);
insert into Result (PlayerID,sessionID, result, score) values (16, 90, 6, 52.30999826);
insert into Result (PlayerID,sessionID, result, score) values (16, 91, 7, 45.54832001);
insert into Result (PlayerID,sessionID, result, score) values (16, 92, 10, 31.50720056);
insert into Result (PlayerID,sessionID, result, score) values (16, 93, 6, 54.81847298);
insert into Result (PlayerID,sessionID, result, score) values (17, 28, 15, 33.50051825);
insert into Result (PlayerID,sessionID, result, score) values (18, 11, 1, 69.64429064);
insert into Result (PlayerID,sessionID, result, score) values (18, 13, 4, 57.57551334);
insert into Result (PlayerID,sessionID, result, score) values (18, 14, 5, 56.91807695);
insert into Result (PlayerID,sessionID, result, score) values (18, 17, 1, 67.7188432);
insert into Result (PlayerID,sessionID, result, score) values (18, 44, 8, 49.24139425);
insert into Result (PlayerID,sessionID, result, score) values (18, 59, 4, 59.49934844);
insert into Result (PlayerID,sessionID, result, score) values (19, 17, 7, 48.42678118);
insert into Result (PlayerID,sessionID, result, score) values (20, 6, 8, 32.34471169);
insert into Result (PlayerID,sessionID, result, score) values (20, 7, 12, 31.97576726);
insert into Result (PlayerID,sessionID, result, score) values (20, 8, 8, 29.94304535);
insert into Result (PlayerID,sessionID, result, score) values (20, 9, 7, 37.02684978);
insert into Result (PlayerID,sessionID, result, score) values (20, 10, 15, 33.52402313);
insert into Result (PlayerID,sessionID, result, score) values (20, 11, 8, 28.57729962);
insert into Result (PlayerID,sessionID, result, score) values (20, 12, 12, 30.40367322);
insert into Result (PlayerID,sessionID, result, score) values (20, 13, 12, 29.64843403);
insert into Result (PlayerID,sessionID, result, score) values (20, 14, 13, 36.43100892);
insert into Result (PlayerID,sessionID, result, score) values (20, 15, 14, 32.86780651);
insert into Result (PlayerID,sessionID, result, score) values (20, 16, 15, 31.65013991);
insert into Result (PlayerID,sessionID, result, score) values (20, 20, 12, 38.54875774);
insert into Result (PlayerID,sessionID, result, score) values (20, 38, 15, 29.86677017);
insert into Result (PlayerID,sessionID, result, score) values (20, 40, 15, 31.03396679);
insert into Result (PlayerID,sessionID, result, score) values (20, 41, 10, 32.86430695);
insert into Result (PlayerID,sessionID, result, score) values (20, 42, 12, 33.98867677);
insert into Result (PlayerID,sessionID, result, score) values (20, 43, 10, 32.21415594);
insert into Result (PlayerID,sessionID, result, score) values (20, 46, 11, 30.25327818);
insert into Result (PlayerID,sessionID, result, score) values (20, 47, 19, 28.87802584);
insert into Result (PlayerID,sessionID, result, score) values (20, 48, 16, 27.30307237);
insert into Result (PlayerID,sessionID, result, score) values (20, 51, 7, 29.83757612);
insert into Result (PlayerID,sessionID, result, score) values (20, 91, 10, 32.05546014);
insert into Result (PlayerID,sessionID, result, score) values (20, 93, 12, 34.45108634);
insert into Result (PlayerID,sessionID, result, score) values (21, 10, 16, 31.29592887);
insert into Result (PlayerID,sessionID, result, score) values (21, 14, 16, 28.74835841);
insert into Result (PlayerID,sessionID, result, score) values (21, 15, 16, 28.00504842);
insert into Result (PlayerID,sessionID, result, score) values (21, 43, 12, 23.96690065);
insert into Result (PlayerID,sessionID, result, score) values (22, 16, 15, 31.65013991);
insert into Result (PlayerID,sessionID, result, score) values (22, 18, 12, 30.60398636);
insert into Result (PlayerID,sessionID, result, score) values (22, 19, 5, 47.2447233);
insert into Result (PlayerID,sessionID, result, score) values (22, 20, 12, 38.54875774);
insert into Result (PlayerID,sessionID, result, score) values (22, 24, 8, 31.86213121);
insert into Result (PlayerID,sessionID, result, score) values (22, 26, 9, 39.8971112);
insert into Result (PlayerID,sessionID, result, score) values (22, 27, 8, 29.76873686);
insert into Result (PlayerID,sessionID, result, score) values (22, 29, 11, 28.92715125);
insert into Result (PlayerID,sessionID, result, score) values (22, 32, 10, 44.90360653);
insert into Result (PlayerID,sessionID, result, score) values (22, 36, 15, 31.01107079);
insert into Result (PlayerID,sessionID, result, score) values (22, 38, 16, 27.03834932);
insert into Result (PlayerID,sessionID, result, score) values (22, 46, 12, 26.42881425);
insert into Result (PlayerID,sessionID, result, score) values (22, 53, 10, 24.00922493);
insert into Result (PlayerID,sessionID, result, score) values (22, 55, 13, 23.75093589);
insert into Result (PlayerID,sessionID, result, score) values (22, 56, 16, 24.68009098);
insert into Result (PlayerID,sessionID, result, score) values (22, 72, 15, 28.70471349);
insert into Result (PlayerID,sessionID, result, score) values (22, 74, 13, 33.52284923);
insert into Result (PlayerID,sessionID, result, score) values (22, 76, 12, 36.40156452);
insert into Result (PlayerID,sessionID, result, score) values (23, 34, 7, 49.05068915);
insert into Result (PlayerID,sessionID, result, score) values (23, 35, 4, 60.138179);
insert into Result (PlayerID,sessionID, result, score) values (23, 36, 8, 49.54143005);
insert into Result (PlayerID,sessionID, result, score) values (23, 38, 7, 52.4941369);
insert into Result (PlayerID,sessionID, result, score) values (23, 39, 4, 56.73029731);
insert into Result (PlayerID,sessionID, result, score) values (23, 42, 8, 46.94879301);
insert into Result (PlayerID,sessionID, result, score) values (24, 75, 7, 34.20197382);
insert into Result (PlayerID,sessionID, result, score) values (24, 76, 14, 29.76838822);
insert into Result (PlayerID,sessionID, result, score) values (24, 78, 17, 33.44639367);
insert into Result (PlayerID,sessionID, result, score) values (24, 80, 15, 27.09851295);
insert into Result (PlayerID,sessionID, result, score) values (24, 88, 18, 28.44832424);
insert into Result (PlayerID,sessionID, result, score) values (24, 93, 9, 44.63477966);
insert into Result (PlayerID,sessionID, result, score) values (25, 35, 12, 32.44635733);
insert into Result (PlayerID,sessionID, result, score) values (26, 64, 2, 63.5190761);
insert into Result (PlayerID,sessionID, result, score) values (27, 74, 16, 23.75421625);
insert into Result (PlayerID,sessionID, result, score) values (27, 76, 15, 26.45180008);
insert into Result (PlayerID,sessionID, result, score) values (27, 78, 20, 26.17993135);
insert into Result (PlayerID,sessionID, result, score) values (27, 80, 16, 23.84748239);
insert into Result (PlayerID,sessionID, result, score) values (27, 84, 20, 27.66239474);
insert into Result (PlayerID,sessionID, result, score) values (27, 87, 13, 30.87867698);
insert into Result (PlayerID,sessionID, result, score) values (27, 88, 20, 23.29197846);
insert into Result (PlayerID,sessionID, result, score) values (27, 89, 12, 21.6750868);
insert into Result (PlayerID,sessionID, result, score) values (27, 90, 12, 25.34400836);
insert into Result (PlayerID,sessionID, result, score) values (27, 92, 12, 21.70397884);
insert into Result (PlayerID,sessionID, result, score) values (27, 93, 16, 20.87282858);
insert into Result (PlayerID,sessionID, result, score) values (28, 19, 4, 52.64553319);
insert into Result (PlayerID,sessionID, result, score) values (28, 44, 3, 63.05533695);
insert into Result (PlayerID,sessionID, result, score) values (28, 45, 6, 57.62678723);
insert into Result (PlayerID,sessionID, result, score) values (28, 47, 5, 60.50952485);
insert into Result (PlayerID,sessionID, result, score) values (28, 48, 9, 47.54939066);
insert into Result (PlayerID,sessionID, result, score) values (29, 3, 4, 50.87827988);
insert into Result (PlayerID,sessionID, result, score) values (29, 5, 5, 48.12473312);
insert into Result (PlayerID,sessionID, result, score) values (29, 16, 1, 67.03458914);
insert into Result (PlayerID,sessionID, result, score) values (29, 20, 3, 62.36459606);
insert into Result (PlayerID,sessionID, result, score) values (29, 45, 8, 51.98140335);
insert into Result (PlayerID,sessionID, result, score) values (29, 81, 3, 63.35154799);
insert into Result (PlayerID,sessionID, result, score) values (29, 92, 5, 56.01525488);
insert into Result (PlayerID,sessionID, result, score) values (30, 83, 11, 32.09486474);
insert into Result (PlayerID,sessionID, result, score) values (31, 21, 4, 52.18531862);
insert into Result (PlayerID,sessionID, result, score) values (32, 29, 7, 45.3220064);
insert into Result (PlayerID,sessionID, result, score) values (32, 30, 10, 38.75298124);
insert into Result (PlayerID,sessionID, result, score) values (32, 33, 7, 35.56886342);
insert into Result (PlayerID,sessionID, result, score) values (32, 37, 10, 34.79445732);
insert into Result (PlayerID,sessionID, result, score) values (32, 47, 15, 37.91559699);
insert into Result (PlayerID,sessionID, result, score) values (32, 58, 8, 30.66159342);
insert into Result (PlayerID,sessionID, result, score) values (32, 64, 7, 37.08768078);
insert into Result (PlayerID,sessionID, result, score) values (32, 65, 6, 48.7029191);
insert into Result (PlayerID,sessionID, result, score) values (33, 10, 5, 55.80496572);
insert into Result (PlayerID,sessionID, result, score) values (33, 12, 1, 64.5116565);
insert into Result (PlayerID,sessionID, result, score) values (33, 13, 1, 68.04816809);
insert into Result (PlayerID,sessionID, result, score) values (33, 14, 2, 64.60072745);
insert into Result (PlayerID,sessionID, result, score) values (33, 15, 5, 54.75021793);
insert into Result (PlayerID,sessionID, result, score) values (33, 16, 3, 61.97966782);
insert into Result (PlayerID,sessionID, result, score) values (33, 18, 6, 51.00119512);
insert into Result (PlayerID,sessionID, result, score) values (33, 19, 2, 63.44715296);
insert into Result (PlayerID,sessionID, result, score) values (33, 20, 6, 54.42598329);
insert into Result (PlayerID,sessionID, result, score) values (33, 23, 1, 66.57921971);
insert into Result (PlayerID,sessionID, result, score) values (33, 24, 3, 57.33268654);
insert into Result (PlayerID,sessionID, result, score) values (33, 25, 3, 58.82790082);
insert into Result (PlayerID,sessionID, result, score) values (33, 26, 7, 46.92739408);
insert into Result (PlayerID,sessionID, result, score) values (33, 28, 5, 59.05252078);
insert into Result (PlayerID,sessionID, result, score) values (33, 29, 3, 61.71686156);
insert into Result (PlayerID,sessionID, result, score) values (33, 30, 4, 59.4626809);
insert into Result (PlayerID,sessionID, result, score) values (33, 31, 5, 53.19794874);
insert into Result (PlayerID,sessionID, result, score) values (33, 32, 5, 58.42285466);
insert into Result (PlayerID,sessionID, result, score) values (33, 34, 5, 55.42218132);
insert into Result (PlayerID,sessionID, result, score) values (33, 35, 2, 67.06113442);
insert into Result (PlayerID,sessionID, result, score) values (33, 36, 1, 68.07178931);
insert into Result (PlayerID,sessionID, result, score) values (33, 37, 1, 66.26194105);
insert into Result (PlayerID,sessionID, result, score) values (33, 38, 5, 58.15097859);
insert into Result (PlayerID,sessionID, result, score) values (33, 39, 1, 66.61103485);
insert into Result (PlayerID,sessionID, result, score) values (33, 40, 3, 62.80270993);
insert into Result (PlayerID,sessionID, result, score) values (33, 41, 2, 65.38917355);
insert into Result (PlayerID,sessionID, result, score) values (33, 42, 2, 66.38896736);
insert into Result (PlayerID,sessionID, result, score) values (33, 43, 3, 61.07954946);
insert into Result (PlayerID,sessionID, result, score) values (33, 44, 1, 68.58091404);
insert into Result (PlayerID,sessionID, result, score) values (33, 45, 5, 60.44947918);
insert into Result (PlayerID,sessionID, result, score) values (33, 46, 2, 64.67345358);
insert into Result (PlayerID,sessionID, result, score) values (33, 47, 4, 62.76891763);
insert into Result (PlayerID,sessionID, result, score) values (33, 48, 2, 67.79570896);
insert into Result (PlayerID,sessionID, result, score) values (33, 49, 4, 53.25439553);
insert into Result (PlayerID,sessionID, result, score) values (33, 50, 2, 64.48204452);
insert into Result (PlayerID,sessionID, result, score) values (33, 51, 2, 63.10192905);
insert into Result (PlayerID,sessionID, result, score) values (33, 52, 1, 71.25119209);
insert into Result (PlayerID,sessionID, result, score) values (33, 53, 1, 67.36043174);
insert into Result (PlayerID,sessionID, result, score) values (33, 54, 2, 66.05991902);
insert into Result (PlayerID,sessionID, result, score) values (33, 55, 2, 62.34218067);
insert into Result (PlayerID,sessionID, result, score) values (33, 56, 2, 63.27545889);
insert into Result (PlayerID,sessionID, result, score) values (33, 58, 1, 67.42394489);
insert into Result (PlayerID,sessionID, result, score) values (33, 59, 2, 67.7282798);
insert into Result (PlayerID,sessionID, result, score) values (33, 61, 2, 62.12767297);
insert into Result (PlayerID,sessionID, result, score) values (33, 62, 1, 72.60285709);
insert into Result (PlayerID,sessionID, result, score) values (33, 65, 1, 67.56385839);
insert into Result (PlayerID,sessionID, result, score) values (33, 68, 1, 68.01363983);
insert into Result (PlayerID,sessionID, result, score) values (33, 69, 1, 68.56057821);
insert into Result (PlayerID,sessionID, result, score) values (33, 70, 2, 65.03943157);
insert into Result (PlayerID,sessionID, result, score) values (33, 76, 6, 56.3010934);
insert into Result (PlayerID,sessionID, result, score) values (33, 78, 7, 57.66793472);
insert into Result (PlayerID,sessionID, result, score) values (33, 79, 1, 72.87035028);
insert into Result (PlayerID,sessionID, result, score) values (33, 80, 2, 69.36191022);
insert into Result (PlayerID,sessionID, result, score) values (33, 81, 2, 67.23756632);
insert into Result (PlayerID,sessionID, result, score) values (33, 82, 2, 69.30768959);
insert into Result (PlayerID,sessionID, result, score) values (33, 83, 1, 69.40709863);
insert into Result (PlayerID,sessionID, result, score) values (33, 84, 4, 65.54254655);
insert into Result (PlayerID,sessionID, result, score) values (33, 85, 4, 65.85442023);
insert into Result (PlayerID,sessionID, result, score) values (33, 86, 1, 72.30500905);
insert into Result (PlayerID,sessionID, result, score) values (33, 87, 1, 74.06048361);
insert into Result (PlayerID,sessionID, result, score) values (33, 88, 1, 72.27726336);
insert into Result (PlayerID,sessionID, result, score) values (33, 89, 2, 67.33072289);
insert into Result (PlayerID,sessionID, result, score) values (33, 90, 5, 56.80432991);
insert into Result (PlayerID,sessionID, result, score) values (33, 91, 1, 72.53403973);
insert into Result (PlayerID,sessionID, result, score) values (34, 32, 13, 36.79205765);
insert into Result (PlayerID,sessionID, result, score) values (34, 48, 12, 38.87239711);
insert into Result (PlayerID,sessionID, result, score) values (35, 10, 10, 44.66449443);
insert into Result (PlayerID,sessionID, result, score) values (35, 12, 5, 52.10875349);
insert into Result (PlayerID,sessionID, result, score) values (35, 20, 7, 51.77977903);
insert into Result (PlayerID,sessionID, result, score) values (35, 29, 9, 37.12457882);
insert into Result (PlayerID,sessionID, result, score) values (35, 32, 9, 47.60745616);
insert into Result (PlayerID,sessionID, result, score) values (35, 38, 6, 55.32255775);
insert into Result (PlayerID,sessionID, result, score) values (35, 40, 9, 46.91833836);
insert into Result (PlayerID,sessionID, result, score) values (35, 44, 11, 40.95302863);
insert into Result (PlayerID,sessionID, result, score) values (35, 45, 7, 54.80409529);
insert into Result (PlayerID,sessionID, result, score) values (35, 69, 8, 46.65200746);
insert into Result (PlayerID,sessionID, result, score) values (35, 71, 6, 43.75863184);
insert into Result (PlayerID,sessionID, result, score) values (35, 72, 10, 43.30122963);
insert into Result (PlayerID,sessionID, result, score) values (35, 76, 11, 39.71815267);
insert into Result (PlayerID,sessionID, result, score) values (35, 77, 4, 57.00270683);
insert into Result (PlayerID,sessionID, result, score) values (35, 78, 13, 43.13501009);
insert into Result (PlayerID,sessionID, result, score) values (35, 88, 10, 49.07370736);
insert into Result (PlayerID,sessionID, result, score) values (36, 56, 14, 30.19371497);
insert into Result (PlayerID,sessionID, result, score) values (37, 1, 1, 60.0);
insert into Result (PlayerID,sessionID, result, score) values (37, 4, 4, 57.26440793);
insert into Result (PlayerID,sessionID, result, score) values (37, 22, 5, 54.66687795);
insert into Result (PlayerID,sessionID, result, score) values (37, 24, 1, 67.52090867);
insert into Result (PlayerID,sessionID, result, score) values (37, 25, 1, 68.67748501);
insert into Result (PlayerID,sessionID, result, score) values (37, 52, 5, 59.80914923);
insert into Result (PlayerID,sessionID, result, score) values (37, 57, 1, 66.60794424);
insert into Result (PlayerID,sessionID, result, score) values (37, 72, 2, 66.65565546);
insert into Result (PlayerID,sessionID, result, score) values (37, 74, 5, 59.57253719);
insert into Result (PlayerID,sessionID, result, score) values (37, 78, 1, 72.20085936);
insert into Result (PlayerID,sessionID, result, score) values (37, 82, 4, 60.76541757);
insert into Result (PlayerID,sessionID, result, score) values (37, 84, 3, 67.91005604);
insert into Result (PlayerID,sessionID, result, score) values (37, 85, 1, 73.77094507);
insert into Result (PlayerID,sessionID, result, score) values (37, 90, 1, 74.7816565);
insert into Result (PlayerID,sessionID, result, score) values (37, 92, 3, 65.8184766);
insert into Result (PlayerID,sessionID, result, score) values (38, 51, 3, 56.44905847);
insert into Result (PlayerID,sessionID, result, score) values (38, 53, 8, 33.64282645);
insert into Result (PlayerID,sessionID, result, score) values (38, 54, 10, 35.73391168);
insert into Result (PlayerID,sessionID, result, score) values (38, 59, 8, 43.04148572);
insert into Result (PlayerID,sessionID, result, score) values (38, 68, 6, 40.95491204);
insert into Result (PlayerID,sessionID, result, score) values (38, 80, 11, 40.10263519);
insert into Result (PlayerID,sessionID, result, score) values (38, 84, 17, 34.76492321);
insert into Result (PlayerID,sessionID, result, score) values (39, 2, 7, 41.93877551);
insert into Result (PlayerID,sessionID, result, score) values (39, 3, 8, 35.48469388);
insert into Result (PlayerID,sessionID, result, score) values (39, 4, 11, 37.66046029);
insert into Result (PlayerID,sessionID, result, score) values (39, 6, 4, 50.39699179);
insert into Result (PlayerID,sessionID, result, score) values (39, 7, 11, 35.1946648);
insert into Result (PlayerID,sessionID, result, score) values (39, 8, 3, 56.40357448);
insert into Result (PlayerID,sessionID, result, score) values (39, 10, 9, 46.89258869);
insert into Result (PlayerID,sessionID, result, score) values (39, 12, 7, 45.90730198);
insert into Result (PlayerID,sessionID, result, score) values (39, 13, 9, 40.12108877);
insert into Result (PlayerID,sessionID, result, score) values (39, 14, 9, 46.67454293);
insert into Result (PlayerID,sessionID, result, score) values (39, 15, 9, 45.02470175);
insert into Result (PlayerID,sessionID, result, score) values (39, 16, 6, 54.39728584);
insert into Result (PlayerID,sessionID, result, score) values (39, 17, 5, 54.85746852);
insert into Result (PlayerID,sessionID, result, score) values (39, 25, 2, 63.75269292);
insert into Result (PlayerID,sessionID, result, score) values (39, 26, 6, 50.44253552);
insert into Result (PlayerID,sessionID, result, score) values (39, 27, 5, 46.59787019);
insert into Result (PlayerID,sessionID, result, score) values (39, 28, 12, 41.16611901);
insert into Result (PlayerID,sessionID, result, score) values (39, 30, 6, 52.55944768);
insert into Result (PlayerID,sessionID, result, score) values (39, 31, 6, 49.63641392);
insert into Result (PlayerID,sessionID, result, score) values (39, 32, 7, 53.01515541);
insert into Result (PlayerID,sessionID, result, score) values (39, 33, 2, 59.81582602);
insert into Result (PlayerID,sessionID, result, score) values (39, 34, 3, 61.7936735);
insert into Result (PlayerID,sessionID, result, score) values (39, 36, 9, 46.89423587);
insert into Result (PlayerID,sessionID, result, score) values (39, 38, 9, 46.83729522);
insert into Result (PlayerID,sessionID, result, score) values (39, 39, 6, 50.14313894);
insert into Result (PlayerID,sessionID, result, score) values (39, 40, 7, 52.21312888);
insert into Result (PlayerID,sessionID, result, score) values (39, 42, 9, 43.70876395);
insert into Result (PlayerID,sessionID, result, score) values (39, 47, 10, 49.21256092);
insert into Result (PlayerID,sessionID, result, score) values (39, 49, 3, 58.67252189);
insert into Result (PlayerID,sessionID, result, score) values (39, 50, 4, 54.07038427);
insert into Result (PlayerID,sessionID, result, score) values (39, 51, 6, 36.49044671);
insert into Result (PlayerID,sessionID, result, score) values (39, 53, 2, 62.54363099);
insert into Result (PlayerID,sessionID, result, score) values (39, 54, 7, 47.10616443);
insert into Result (PlayerID,sessionID, result, score) values (39, 55, 5, 51.81729573);
insert into Result (PlayerID,sessionID, result, score) values (39, 56, 3, 60.5186469);
insert into Result (PlayerID,sessionID, result, score) values (39, 58, 7, 35.91335792);
insert into Result (PlayerID,sessionID, result, score) values (39, 60, 4, 43.84439448);
insert into Result (PlayerID,sessionID, result, score) values (39, 61, 5, 45.52127729);
insert into Result (PlayerID,sessionID, result, score) values (39, 62, 3, 61.40355426);
insert into Result (PlayerID,sessionID, result, score) values (39, 63, 3, 51.58734303);
insert into Result (PlayerID,sessionID, result, score) values (39, 64, 5, 47.66023891);
insert into Result (PlayerID,sessionID, result, score) values (39, 65, 2, 63.79167053);
insert into Result (PlayerID,sessionID, result, score) values (39, 66, 2, 61.67935647);
insert into Result (PlayerID,sessionID, result, score) values (39, 67, 1, 62.32574406);
insert into Result (PlayerID,sessionID, result, score) values (39, 68, 2, 62.60189427);
insert into Result (PlayerID,sessionID, result, score) values (39, 69, 5, 56.04139493);
insert into Result (PlayerID,sessionID, result, score) values (39, 71, 4, 55.05490742);
insert into Result (PlayerID,sessionID, result, score) values (39, 72, 7, 52.05913932);
insert into Result (PlayerID,sessionID, result, score) values (39, 73, 2, 65.15065588);
insert into Result (PlayerID,sessionID, result, score) values (39, 74, 9, 46.54769321);
insert into Result (PlayerID,sessionID, result, score) values (39, 76, 7, 52.98450525);
insert into Result (PlayerID,sessionID, result, score) values (39, 78, 5, 62.51224293);
insert into Result (PlayerID,sessionID, result, score) values (39, 80, 8, 49.85572687);
insert into Result (PlayerID,sessionID, result, score) values (39, 83, 2, 65.67587524);
insert into Result (PlayerID,sessionID, result, score) values (39, 84, 12, 46.60247065);
insert into Result (PlayerID,sessionID, result, score) values (39, 85, 12, 44.74368733);
insert into Result (PlayerID,sessionID, result, score) values (39, 88, 12, 43.91736158);
insert into Result (PlayerID,sessionID, result, score) values (40, 7, 8, 44.85135741);
insert into Result (PlayerID,sessionID, result, score) values (40, 15, 8, 47.45608079);
insert into Result (PlayerID,sessionID, result, score) values (40, 17, 9, 41.99609384);
insert into Result (PlayerID,sessionID, result, score) values (40, 22, 7, 47.65820952);
insert into Result (PlayerID,sessionID, result, score) values (40, 23, 6, 43.27394334);
insert into Result (PlayerID,sessionID, result, score) values (40, 31, 7, 46.07487909);
insert into Result (PlayerID,sessionID, result, score) values (40, 33, 6, 40.41825594);
insert into Result (PlayerID,sessionID, result, score) values (40, 34, 11, 36.30770479);
insert into Result (PlayerID,sessionID, result, score) values (40, 36, 13, 36.30545915);
insert into Result (PlayerID,sessionID, result, score) values (40, 37, 5, 52.27639273);
insert into Result (PlayerID,sessionID, result, score) values (40, 38, 13, 35.52361185);
insert into Result (PlayerID,sessionID, result, score) values (40, 39, 8, 43.55598058);
insert into Result (PlayerID,sessionID, result, score) values (40, 40, 13, 36.32875731);
insert into Result (PlayerID,sessionID, result, score) values (40, 41, 9, 36.92991527);
insert into Result (PlayerID,sessionID, result, score) values (40, 42, 5, 56.66888018);
insert into Result (PlayerID,sessionID, result, score) values (40, 43, 6, 48.70866652);
insert into Result (PlayerID,sessionID, result, score) values (40, 44, 6, 54.76697133);
insert into Result (PlayerID,sessionID, result, score) values (40, 46, 5, 53.20006178);
insert into Result (PlayerID,sessionID, result, score) values (40, 47, 7, 55.99073928);
insert into Result (PlayerID,sessionID, result, score) values (40, 48, 13, 35.98006592);
insert into Result (PlayerID,sessionID, result, score) values (40, 52, 13, 36.9250635);
insert into Result (PlayerID,sessionID, result, score) values (40, 54, 9, 39.5246626);
insert into Result (PlayerID,sessionID, result, score) values (40, 56, 8, 46.73458693);
insert into Result (PlayerID,sessionID, result, score) values (40, 59, 5, 55.38488276);
insert into Result (PlayerID,sessionID, result, score) values (40, 60, 8, 17.79572802);
insert into Result (PlayerID,sessionID, result, score) values (40, 61, 3, 56.59220774);
insert into Result (PlayerID,sessionID, result, score) values (40, 63, 3, 51.58734303);
insert into Result (PlayerID,sessionID, result, score) values (40, 64, 3, 58.23279703);
insert into Result (PlayerID,sessionID, result, score) values (40, 65, 5, 52.47510696);
insert into Result (PlayerID,sessionID, result, score) values (40, 67, 5, 42.99113644);
insert into Result (PlayerID,sessionID, result, score) values (40, 68, 3, 57.19014871);
insert into Result (PlayerID,sessionID, result, score) values (40, 69, 11, 37.26262);
insert into Result (PlayerID,sessionID, result, score) values (40, 71, 7, 38.11049405);
insert into Result (PlayerID,sessionID, result, score) values (40, 72, 8, 49.13983609);
insert into Result (PlayerID,sessionID, result, score) values (40, 73, 6, 44.01710514);
insert into Result (PlayerID,sessionID, result, score) values (40, 74, 12, 36.77906022);
insert into Result (PlayerID,sessionID, result, score) values (40, 75, 3, 53.80462493);
insert into Result (PlayerID,sessionID, result, score) values (40, 77, 8, 35.99865598);
insert into Result (PlayerID,sessionID, result, score) values (40, 79, 4, 59.68251964);
insert into Result (PlayerID,sessionID, result, score) values (40, 80, 6, 56.35778799);
insert into Result (PlayerID,sessionID, result, score) values (40, 81, 12, 28.37738297);
insert into Result (PlayerID,sessionID, result, score) values (40, 82, 7, 47.95200954);
insert into Result (PlayerID,sessionID, result, score) values (40, 83, 5, 54.48220508);
insert into Result (PlayerID,sessionID, result, score) values (40, 84, 13, 44.23496116);
insert into Result (PlayerID,sessionID, result, score) values (40, 85, 9, 52.66021217);
insert into Result (PlayerID,sessionID, result, score) values (40, 86, 8, 33.99369952);
insert into Result (PlayerID,sessionID, result, score) values (40, 87, 9, 45.27261252);
insert into Result (PlayerID,sessionID, result, score) values (40, 88, 7, 56.80822602);
insert into Result (PlayerID,sessionID, result, score) values (40, 89, 7, 44.50290485);
insert into Result (PlayerID,sessionID, result, score) values (40, 93, 10, 41.24021522);
insert into Result (PlayerID,sessionID, result, score) values (41, 10, 12, 40.20830591);
insert into Result (PlayerID,sessionID, result, score) values (42, 10, 13, 37.98021165);
insert into Result (PlayerID,sessionID, result, score) values (42, 35, 10, 39.36931275);
insert into Result (PlayerID,sessionID, result, score) values (42, 45, 12, 40.69063559);
insert into Result (PlayerID,sessionID, result, score) values (42, 49, 6, 42.41814281);
insert into Result (PlayerID,sessionID, result, score) values (42, 52, 10, 45.50659565);
insert into Result (PlayerID,sessionID, result, score) values (42, 56, 6, 52.24821092);
insert into Result (PlayerID,sessionID, result, score) values (42, 58, 6, 41.16512241);
insert into Result (PlayerID,sessionID, result, score) values (43, 15, 12, 37.73056461);
insert into Result (PlayerID,sessionID, result, score) values (43, 17, 12, 32.35006283);
insert into Result (PlayerID,sessionID, result, score) values (43, 22, 11, 33.64087268);
insert into Result (PlayerID,sessionID, result, score) values (43, 31, 10, 35.39027463);
insert into Result (PlayerID,sessionID, result, score) values (43, 33, 8, 30.7194709);
insert into Result (PlayerID,sessionID, result, score) values (43, 42, 14, 27.50861865);
insert into Result (PlayerID,sessionID, result, score) values (43, 47, 20, 26.61863305);
insert into Result (PlayerID,sessionID, result, score) values (43, 59, 10, 34.81255436);
insert into Result (PlayerID,sessionID, result, score) values (43, 60, 6, 30.82006125);
insert into Result (PlayerID,sessionID, result, score) values (43, 61, 6, 39.98581207);
insert into Result (PlayerID,sessionID, result, score) values (43, 67, 8, 28.49018072);
insert into Result (PlayerID,sessionID, result, score) values (44, 28, 16, 30.945318);
insert into Result (PlayerID,sessionID, result, score) values (44, 36, 13, 36.30545915);
insert into Result (PlayerID,sessionID, result, score) values (44, 41, 8, 40.9955236);
insert into Result (PlayerID,sessionID, result, score) values (44, 42, 10, 40.46873489);
insert into Result (PlayerID,sessionID, result, score) values (44, 44, 9, 46.47860571);
insert into Result (PlayerID,sessionID, result, score) values (44, 46, 9, 37.90220605);
insert into Result (PlayerID,sessionID, result, score) values (44, 53, 4, 52.91002947);
insert into Result (PlayerID,sessionID, result, score) values (44, 55, 8, 41.29241079);
insert into Result (PlayerID,sessionID, result, score) values (44, 62, 5, 50.20425144);
insert into Result (PlayerID,sessionID, result, score) values (44, 65, 2, 63.79167053);
insert into Result (PlayerID,sessionID, result, score) values (44, 68, 4, 51.77840315);
insert into Result (PlayerID,sessionID, result, score) values (44, 69, 10, 40.39241582);
insert into Result (PlayerID,sessionID, result, score) values (44, 80, 7, 53.10675743);
insert into Result (PlayerID,sessionID, result, score) values (44, 84, 11, 48.96998014);
insert into Result (PlayerID,sessionID, result, score) values (44, 87, 8, 48.87109641);
insert into Result (PlayerID,sessionID, result, score) values (44, 91, 3, 63.53879982);
insert into Result (PlayerID,sessionID, result, score) values (45, 45, 15, 32.22255977);
insert into Result (PlayerID,sessionID, result, score) values (45, 47, 14, 40.17498977);
insert into Result (PlayerID,sessionID, result, score) values (46, 64, 6, 42.37395985);
insert into Result (PlayerID,sessionID, result, score) values (46, 65, 7, 44.93073124);
insert into Result (PlayerID,sessionID, result, score) values (47, 44, 15, 29.90187447);
insert into Result (PlayerID,sessionID, result, score) values (47, 47, 17, 33.39681141);
insert into Result (PlayerID,sessionID, result, score) values (47, 52, 16, 28.34353135);
insert into Result (PlayerID,sessionID, result, score) values (47, 53, 9, 28.82602569);
insert into Result (PlayerID,sessionID, result, score) values (47, 54, 11, 31.94316076);
insert into Result (PlayerID,sessionID, result, score) values (47, 55, 12, 27.25923087);
insert into Result (PlayerID,sessionID, result, score) values (47, 56, 13, 32.95052696);
insert into Result (PlayerID,sessionID, result, score) values (47, 57, 8, 28.95355391);
insert into Result (PlayerID,sessionID, result, score) values (47, 63, 7, 29.98265485);
insert into Result (PlayerID,sessionID, result, score) values (47, 65, 11, 29.84197982);
insert into Result (PlayerID,sessionID, result, score) values (47, 72, 16, 25.78541026);
insert into Result (PlayerID,sessionID, result, score) values (47, 74, 15, 27.01042724);
insert into Result (PlayerID,sessionID, result, score) values (47, 79, 11, 28.91091481);
insert into Result (PlayerID,sessionID, result, score) values (47, 80, 14, 30.34954351);
insert into Result (PlayerID,sessionID, result, score) values (47, 81, 11, 32.26340131);
insert into Result (PlayerID,sessionID, result, score) values (47, 82, 12, 26.59632949);
insert into Result (PlayerID,sessionID, result, score) values (47, 83, 12, 28.36364135);
insert into Result (PlayerID,sessionID, result, score) values (47, 88, 19, 25.87015135);
insert into Result (PlayerID,sessionID, result, score) values (47, 89, 11, 26.24065041);
insert into Result (PlayerID,sessionID, result, score) values (47, 91, 12, 23.06022024);
insert into Result (PlayerID,sessionID, result, score) values (47, 92, 11, 26.6055897);
insert into Result (PlayerID,sessionID, result, score) values (47, 93, 13, 31.0565219);
insert into Result (PlayerID,sessionID, result, score) values (48, 64, 8, 31.80140172);
insert into Result (PlayerID,sessionID, result, score) values (48, 65, 9, 37.38635553);
insert into Result (PlayerID,sessionID, result, score) values (49, 2, 4, 52.04081633);
insert into Result (PlayerID,sessionID, result, score) values (49, 3, 6, 43.18148688);
insert into Result (PlayerID,sessionID, result, score) values (49, 5, 6, 43.86301517);
insert into Result (PlayerID,sessionID, result, score) values (49, 6, 5, 45.88392177);
insert into Result (PlayerID,sessionID, result, score) values (49, 7, 6, 51.28915249);
insert into Result (PlayerID,sessionID, result, score) values (49, 8, 5, 45.81936283);
insert into Result (PlayerID,sessionID, result, score) values (49, 9, 5, 47.5749889);
insert into Result (PlayerID,sessionID, result, score) values (49, 10, 7, 51.3487772);
insert into Result (PlayerID,sessionID, result, score) values (49, 12, 4, 55.20947924);
insert into Result (PlayerID,sessionID, result, score) values (49, 13, 1, 68.04816809);
insert into Result (PlayerID,sessionID, result, score) values (49, 14, 1, 67.16161096);
insert into Result (PlayerID,sessionID, result, score) values (49, 15, 2, 62.04435507);
insert into Result (PlayerID,sessionID, result, score) values (49, 16, 7, 51.86982518);
insert into Result (PlayerID,sessionID, result, score) values (49, 17, 4, 58.07281219);
insert into Result (PlayerID,sessionID, result, score) values (49, 29, 6, 49.42072019);
insert into Result (PlayerID,sessionID, result, score) values (49, 30, 8, 45.65621446);
insert into Result (PlayerID,sessionID, result, score) values (49, 31, 9, 38.95180945);
insert into Result (PlayerID,sessionID, result, score) values (49, 32, 8, 50.31130578);
insert into Result (PlayerID,sessionID, result, score) values (49, 34, 8, 45.86494306);
insert into Result (PlayerID,sessionID, result, score) values (49, 36, 10, 44.24704169);
insert into Result (PlayerID,sessionID, result, score) values (49, 37, 9, 38.2908444);
insert into Result (PlayerID,sessionID, result, score) values (49, 38, 4, 60.97939943);
insert into Result (PlayerID,sessionID, result, score) values (49, 39, 5, 53.43671812);
insert into Result (PlayerID,sessionID, result, score) values (49, 40, 6, 54.86052414);
insert into Result (PlayerID,sessionID, result, score) values (49, 41, 6, 49.12674025);
insert into Result (PlayerID,sessionID, result, score) values (49, 42, 7, 50.18882206);
insert into Result (PlayerID,sessionID, result, score) values (49, 43, 7, 44.58503888);
insert into Result (PlayerID,sessionID, result, score) values (49, 44, 5, 57.52975987);
insert into Result (PlayerID,sessionID, result, score) values (49, 46, 3, 60.84898965);
insert into Result (PlayerID,sessionID, result, score) values (49, 47, 9, 51.4719537);
insert into Result (PlayerID,sessionID, result, score) values (49, 48, 3, 64.90337778);
insert into Result (PlayerID,sessionID, result, score) values (49, 50, 8, 33.24706378);
insert into Result (PlayerID,sessionID, result, score) values (49, 55, 1, 65.85047565);
insert into Result (PlayerID,sessionID, result, score) values (49, 57, 7, 34.33275253);
insert into Result (PlayerID,sessionID, result, score) values (49, 58, 5, 46.41688691);
insert into Result (PlayerID,sessionID, result, score) values (49, 59, 3, 63.61381412);
insert into Result (PlayerID,sessionID, result, score) values (49, 60, 5, 37.33222787);
insert into Result (PlayerID,sessionID, result, score) values (49, 61, 1, 67.66313819);
insert into Result (PlayerID,sessionID, result, score) values (49, 62, 7, 39.00494861);
insert into Result (PlayerID,sessionID, result, score) values (49, 63, 2, 56.98851508);
insert into Result (PlayerID,sessionID, result, score) values (49, 65, 8, 41.15854339);
insert into Result (PlayerID,sessionID, result, score) values (49, 66, 6, 41.93897381);
insert into Result (PlayerID,sessionID, result, score) values (49, 67, 7, 33.32383262);
insert into Result (PlayerID,sessionID, result, score) values (49, 69, 4, 59.17119075);
insert into Result (PlayerID,sessionID, result, score) values (49, 72, 3, 63.73635223);
insert into Result (PlayerID,sessionID, result, score) values (49, 73, 4, 54.58388051);
insert into Result (PlayerID,sessionID, result, score) values (49, 74, 7, 53.0601152);
insert into Result (PlayerID,sessionID, result, score) values (49, 75, 1, 63.60595048);
insert into Result (PlayerID,sessionID, result, score) values (49, 76, 10, 43.03474081);
insert into Result (PlayerID,sessionID, result, score) values (49, 77, 5, 51.75169412);
insert into Result (PlayerID,sessionID, result, score) values (49, 78, 11, 47.9793183);
insert into Result (PlayerID,sessionID, result, score) values (49, 80, 1, 72.61294078);
insert into Result (PlayerID,sessionID, result, score) values (49, 81, 3, 63.35154799);
insert into Result (PlayerID,sessionID, result, score) values (49, 84, 7, 58.44001809);
insert into Result (PlayerID,sessionID, result, score) values (49, 85, 6, 60.57673701);
insert into Result (PlayerID,sessionID, result, score) values (49, 86, 4, 55.88587639);
insert into Result (PlayerID,sessionID, result, score) values (49, 87, 7, 52.4695803);
insert into Result (PlayerID,sessionID, result, score) values (49, 88, 6, 59.38639891);
insert into Result (PlayerID,sessionID, result, score) values (49, 89, 4, 58.19959567);
insert into Result (PlayerID,sessionID, result, score) values (49, 90, 8, 43.32133496);
insert into Result (PlayerID,sessionID, result, score) values (49, 92, 8, 41.31042229);
insert into Result (PlayerID,sessionID, result, score) values (50, 4, 12, 34.85989634);
insert into Result (PlayerID,sessionID, result, score) values (50, 7, 10, 38.41356234);
insert into Result (PlayerID,sessionID, result, score) values (50, 10, 6, 53.57687146);
insert into Result (PlayerID,sessionID, result, score) values (50, 12, 9, 39.70585048);
insert into Result (PlayerID,sessionID, result, score) values (50, 20, 9, 46.48737052);
insert into Result (PlayerID,sessionID, result, score) values (50, 22, 9, 40.6495411);
insert into Result (PlayerID,sessionID, result, score) values (50, 26, 10, 36.38196976);
insert into Result (PlayerID,sessionID, result, score) values (50, 27, 4, 52.2075813);
insert into Result (PlayerID,sessionID, result, score) values (50, 28, 10, 46.27651951);
insert into Result (PlayerID,sessionID, result, score) values (50, 29, 8, 41.22329261);
insert into Result (PlayerID,sessionID, result, score) values (50, 33, 3, 54.9664335);
insert into Result (PlayerID,sessionID, result, score) values (50, 35, 9, 42.83079046);
insert into Result (PlayerID,sessionID, result, score) values (50, 37, 7, 45.28361857);
insert into Result (PlayerID,sessionID, result, score) values (50, 39, 10, 36.96882222);
insert into Result (PlayerID,sessionID, result, score) values (50, 45, 11, 43.51332753);
insert into Result (PlayerID,sessionID, result, score) values (50, 47, 12, 44.69377534);
insert into Result (PlayerID,sessionID, result, score) values (51, 52, 6, 56.94863851);
insert into Result (PlayerID,sessionID, result, score) values (52, 56, 11, 38.46415095);
insert into Result (PlayerID,sessionID, result, score) values (52, 61, 8, 28.91488162);
insert into Result (PlayerID,sessionID, result, score) values (53, 1, 5, 48.57142857);
insert into Result (PlayerID,sessionID, result, score) values (53, 2, 2, 58.7755102);
insert into Result (PlayerID,sessionID, result, score) values (53, 4, 1, 65.66609977);
insert into Result (PlayerID,sessionID, result, score) values (53, 7, 2, 64.16474265);
insert into Result (PlayerID,sessionID, result, score) values (53, 9, 3, 58.12312802);
insert into Result (PlayerID,sessionID, result, score) values (53, 13, 3, 61.06639826);
insert into Result (PlayerID,sessionID, result, score) values (53, 17, 2, 64.50349953);
insert into Result (PlayerID,sessionID, result, score) values (53, 19, 6, 41.84391341);
insert into Result (PlayerID,sessionID, result, score) values (53, 26, 2, 64.50310127);
insert into Result (PlayerID,sessionID, result, score) values (53, 28, 9, 48.83171977);
insert into Result (PlayerID,sessionID, result, score) values (53, 30, 7, 49.10783107);
insert into Result (PlayerID,sessionID, result, score) values (53, 32, 3, 63.83055391);
insert into Result (PlayerID,sessionID, result, score) values (53, 34, 2, 64.97941959);
insert into Result (PlayerID,sessionID, result, score) values (53, 36, 4, 60.13020677);
insert into Result (PlayerID,sessionID, result, score) values (53, 38, 3, 63.80782027);
insert into Result (PlayerID,sessionID, result, score) values (53, 40, 2, 65.45010519);
insert into Result (PlayerID,sessionID, result, score) values (53, 41, 3, 61.32356522);
insert into Result (PlayerID,sessionID, result, score) values (53, 47, 8, 53.73134649);
insert into Result (PlayerID,sessionID, result, score) values (53, 48, 3, 64.90337778);
insert into Result (PlayerID,sessionID, result, score) values (53, 50, 3, 59.2762144);
insert into Result (PlayerID,sessionID, result, score) values (53, 51, 1, 69.75479964);
insert into Result (PlayerID,sessionID, result, score) values (53, 56, 1, 66.03227088);
insert into Result (PlayerID,sessionID, result, score) values (53, 65, 4, 56.24729482);
insert into Result (PlayerID,sessionID, result, score) values (53, 66, 1, 66.61445214);
insert into Result (PlayerID,sessionID, result, score) values (53, 69, 2, 65.43078239);
insert into Result (PlayerID,sessionID, result, score) values (53, 70, 1, 71.12724042);
insert into Result (PlayerID,sessionID, result, score) values (53, 71, 5, 49.40676963);
insert into Result (PlayerID,sessionID, result, score) values (53, 72, 6, 54.97844255);
insert into Result (PlayerID,sessionID, result, score) values (53, 73, 3, 59.86726819);
insert into Result (PlayerID,sessionID, result, score) values (53, 74, 2, 69.34117017);
insert into Result (PlayerID,sessionID, result, score) values (53, 76, 3, 66.25085784);
insert into Result (PlayerID,sessionID, result, score) values (53, 77, 3, 62.25371954);
insert into Result (PlayerID,sessionID, result, score) values (53, 78, 3, 67.35655114);
insert into Result (PlayerID,sessionID, result, score) values (53, 79, 5, 55.28657609);
insert into Result (PlayerID,sessionID, result, score) values (53, 80, 3, 66.11087966);
insert into Result (PlayerID,sessionID, result, score) values (53, 84, 2, 70.27756553);
insert into Result (PlayerID,sessionID, result, score) values (53, 85, 5, 63.21557862);
insert into Result (PlayerID,sessionID, result, score) values (53, 86, 5, 50.41283217);
insert into Result (PlayerID,sessionID, result, score) values (53, 87, 4, 63.26503195);
insert into Result (PlayerID,sessionID, result, score) values (53, 89, 5, 53.63403206);
insert into Result (PlayerID,sessionID, result, score) values (53, 90, 9, 38.82700331);
insert into Result (PlayerID,sessionID, result, score) values (53, 92, 3, 65.8184766);
insert into Result (PlayerID,sessionID, result, score) values (53, 93, 4, 61.60760186);
insert into Result (PlayerID,sessionID, result, score) values (54, 55, 11, 30.76752585);
insert into Result (PlayerID,sessionID, result, score) values (54, 57, 6, 39.71195115);
insert into Result (PlayerID,sessionID, result, score) values (54, 59, 12, 26.58362301);
insert into Result (PlayerID,sessionID, result, score) values (54, 63, 6, 35.38382689);
insert into Result (PlayerID,sessionID, result, score) values (54, 68, 8, 30.13142092);
insert into Result (PlayerID,sessionID, result, score) values (54, 70, 8, 28.51257842);
insert into Result (PlayerID,sessionID, result, score) values (54, 74, 10, 43.29148221);
insert into Result (PlayerID,sessionID, result, score) values (54, 78, 14, 40.71285598);
insert into Result (PlayerID,sessionID, result, score) values (54, 82, 10, 35.13860151);
insert into Result (PlayerID,sessionID, result, score) values (54, 84, 19, 30.02990423);
insert into Result (PlayerID,sessionID, result, score) values (54, 87, 12, 34.47716087);
insert into Result (PlayerID,sessionID, result, score) values (54, 88, 14, 38.7610158);
insert into Result (PlayerID,sessionID, result, score) values (55, 10, 11, 42.43640017);
insert into Result (PlayerID,sessionID, result, score) values (55, 22, 6, 51.16254373);
insert into Result (PlayerID,sessionID, result, score) values (55, 23, 2, 61.91816444);
insert into Result (PlayerID,sessionID, result, score) values (56, 1, 7, 42.85714286);
insert into Result (PlayerID,sessionID, result, score) values (56, 4, 8, 46.06215213);
insert into Result (PlayerID,sessionID, result, score) values (56, 5, 8, 35.33957928);
insert into Result (PlayerID,sessionID, result, score) values (56, 12, 3, 58.31020499);
insert into Result (PlayerID,sessionID, result, score) values (56, 13, 6, 50.59374352);
insert into Result (PlayerID,sessionID, result, score) values (56, 14, 10, 44.11365943);
insert into Result (PlayerID,sessionID, result, score) values (56, 15, 10, 42.5933227);
insert into Result (PlayerID,sessionID, result, score) values (56, 16, 8, 49.34236452);
insert into Result (PlayerID,sessionID, result, score) values (56, 18, 8, 44.20212554);
insert into Result (PlayerID,sessionID, result, score) values (56, 20, 10, 43.84116626);
insert into Result (PlayerID,sessionID, result, score) values (56, 23, 7, 38.61288807);
insert into Result (PlayerID,sessionID, result, score) values (56, 24, 3, 57.33268654);
insert into Result (PlayerID,sessionID, result, score) values (56, 25, 8, 34.20394035);
insert into Result (PlayerID,sessionID, result, score) values (56, 35, 6, 53.21522358);
insert into Result (PlayerID,sessionID, result, score) values (56, 37, 3, 59.26916689);
insert into Result (PlayerID,sessionID, result, score) values (56, 39, 9, 40.2624014);
insert into Result (PlayerID,sessionID, result, score) values (56, 40, 11, 41.62354784);
insert into Result (PlayerID,sessionID, result, score) values (56, 47, 13, 42.43438256);
insert into Result (PlayerID,sessionID, result, score) values (56, 48, 10, 44.65705948);
insert into Result (PlayerID,sessionID, result, score) values (56, 49, 6, 42.41814281);
insert into Result (PlayerID,sessionID, result, score) values (56, 50, 5, 48.86455415);
insert into Result (PlayerID,sessionID, result, score) values (56, 52, 7, 54.0881278);
insert into Result (PlayerID,sessionID, result, score) values (56, 54, 4, 58.47841718);
insert into Result (PlayerID,sessionID, result, score) values (56, 56, 6, 52.24821092);
insert into Result (PlayerID,sessionID, result, score) values (56, 57, 2, 61.22874562);
insert into Result (PlayerID,sessionID, result, score) values (56, 63, 5, 40.78499894);
insert into Result (PlayerID,sessionID, result, score) values (56, 66, 4, 51.80916514);
insert into Result (PlayerID,sessionID, result, score) values (56, 67, 4, 47.82478834);
insert into Result (PlayerID,sessionID, result, score) values (56, 69, 7, 49.78180329);
insert into Result (PlayerID,sessionID, result, score) values (56, 70, 7, 34.60038728);
insert into Result (PlayerID,sessionID, result, score) values (56, 72, 9, 46.22053286);
insert into Result (PlayerID,sessionID, result, score) values (56, 73, 5, 49.30049283);
insert into Result (PlayerID,sessionID, result, score) values (56, 74, 11, 40.03527122);
insert into Result (PlayerID,sessionID, result, score) values (56, 75, 4, 48.90396215);
insert into Result (PlayerID,sessionID, result, score) values (56, 77, 6, 46.50068141);
insert into Result (PlayerID,sessionID, result, score) values (56, 78, 8, 55.24578062);
insert into Result (PlayerID,sessionID, result, score) values (56, 79, 6, 50.89063255);
insert into Result (PlayerID,sessionID, result, score) values (56, 80, 9, 46.60469631);
insert into Result (PlayerID,sessionID, result, score) values (56, 81, 7, 47.80747465);
insert into Result (PlayerID,sessionID, result, score) values (56, 82, 9, 39.40973752);
insert into Result (PlayerID,sessionID, result, score) values (56, 83, 3, 61.94465186);
insert into Result (PlayerID,sessionID, result, score) values (56, 84, 13, 44.23496116);
insert into Result (PlayerID,sessionID, result, score) values (56, 85, 15, 36.8271625);
insert into Result (PlayerID,sessionID, result, score) values (56, 90, 7, 47.81566661);
insert into Result (PlayerID,sessionID, result, score) values (56, 91, 9, 36.5530801);
insert into Result (PlayerID,sessionID, result, score) values (56, 92, 6, 51.11364401);
insert into Result (PlayerID,sessionID, result, score) values (56, 93, 7, 51.42390854);
insert into Result (PlayerID,sessionID, result, score) values (57, 1, 4, 51.42857143);
insert into Result (PlayerID,sessionID, result, score) values (57, 2, 8, 38.57142857);
insert into Result (PlayerID,sessionID, result, score) values (57, 7, 7, 48.07025495);
insert into Result (PlayerID,sessionID, result, score) values (57, 11, 4, 52.04415163);
insert into Result (PlayerID,sessionID, result, score) values (57, 13, 8, 43.61197369);
insert into Result (PlayerID,sessionID, result, score) values (57, 15, 6, 52.31883889);
insert into Result (PlayerID,sessionID, result, score) values (57, 19, 6, 41.84391341);
insert into Result (PlayerID,sessionID, result, score) values (57, 21, 1, 65.83848725);
insert into Result (PlayerID,sessionID, result, score) values (57, 22, 4, 58.17121216);
insert into Result (PlayerID,sessionID, result, score) values (57, 23, 4, 52.59605389);
insert into Result (PlayerID,sessionID, result, score) values (57, 25, 7, 39.12873245);
insert into Result (PlayerID,sessionID, result, score) values (57, 28, 6, 56.49732053);
insert into Result (PlayerID,sessionID, result, score) values (57, 29, 5, 53.51943398);
insert into Result (PlayerID,sessionID, result, score) values (57, 31, 4, 56.75948356);
insert into Result (PlayerID,sessionID, result, score) values (57, 32, 4, 61.12670429);
insert into Result (PlayerID,sessionID, result, score) values (57, 33, 5, 45.26764846);
insert into Result (PlayerID,sessionID, result, score) values (57, 36, 12, 38.95265333);
insert into Result (PlayerID,sessionID, result, score) values (57, 37, 4, 55.77277981);
insert into Result (PlayerID,sessionID, result, score) values (57, 38, 11, 41.18045354);
insert into Result (PlayerID,sessionID, result, score) values (57, 39, 3, 60.02387649);
insert into Result (PlayerID,sessionID, result, score) values (57, 40, 10, 44.2709431);
insert into Result (PlayerID,sessionID, result, score) values (57, 42, 6, 53.42885112);
insert into Result (PlayerID,sessionID, result, score) values (57, 43, 2, 65.20317711);
insert into Result (PlayerID,sessionID, result, score) values (57, 44, 4, 60.29254841);
insert into Result (PlayerID,sessionID, result, score) values (57, 46, 4, 57.02452571);
insert into Result (PlayerID,sessionID, result, score) values (57, 47, 6, 58.25013206);
insert into Result (PlayerID,sessionID, result, score) values (57, 50, 1, 69.68787464);
insert into Result (PlayerID,sessionID, result, score) values (57, 52, 9, 48.36710636);
insert into Result (PlayerID,sessionID, result, score) values (57, 54, 6, 50.89691535);
insert into Result (PlayerID,sessionID, result, score) values (57, 58, 2, 62.17218039);
insert into Result (PlayerID,sessionID, result, score) values (57, 69, 3, 62.30098657);
insert into Result (PlayerID,sessionID, result, score) values (57, 70, 3, 58.95162271);
insert into Result (PlayerID,sessionID, result, score) values (57, 71, 3, 60.70304521);
insert into Result (PlayerID,sessionID, result, score) values (57, 72, 4, 60.817049);
insert into Result (PlayerID,sessionID, result, score) values (57, 75, 2, 58.7052877);
insert into Result (PlayerID,sessionID, result, score) values (57, 76, 5, 59.61768155);
insert into Result (PlayerID,sessionID, result, score) values (57, 77, 7, 41.24966869);
insert into Result (PlayerID,sessionID, result, score) values (57, 78, 6, 60.09008883);
insert into Result (PlayerID,sessionID, result, score) values (57, 79, 3, 64.07846319);
insert into Result (PlayerID,sessionID, result, score) values (57, 83, 6, 50.75098169);
insert into Result (PlayerID,sessionID, result, score) values (57, 84, 9, 53.70499911);
insert into Result (PlayerID,sessionID, result, score) values (57, 85, 8, 55.29905378);
insert into Result (PlayerID,sessionID, result, score) values (57, 86, 6, 44.93978795);
insert into Result (PlayerID,sessionID, result, score) values (57, 88, 9, 51.65188025);
insert into Result (PlayerID,sessionID, result, score) values (57, 93, 2, 68.39673074);
insert into Result (PlayerID,sessionID, result, score) values (58, 1, 8, 40.0);
insert into Result (PlayerID,sessionID, result, score) values (58, 3, 5, 47.02988338);
insert into Result (PlayerID,sessionID, result, score) values (58, 4, 10, 40.46102424);
insert into Result (PlayerID,sessionID, result, score) values (58, 5, 7, 39.60129723);
insert into Result (PlayerID,sessionID, result, score) values (58, 6, 7, 36.85778172);
insert into Result (PlayerID,sessionID, result, score) values (58, 7, 9, 41.63245988);
insert into Result (PlayerID,sessionID, result, score) values (58, 8, 7, 35.23515117);
insert into Result (PlayerID,sessionID, result, score) values (58, 11, 7, 34.44401262);
insert into Result (PlayerID,sessionID, result, score) values (58, 14, 7, 51.79630994);
insert into Result (PlayerID,sessionID, result, score) values (58, 15, 4, 57.18159698);
insert into Result (PlayerID,sessionID, result, score) values (58, 16, 13, 36.70506122);
insert into Result (PlayerID,sessionID, result, score) values (58, 21, 8, 33.98109378);
insert into Result (PlayerID,sessionID, result, score) values (58, 22, 8, 44.15387531);
insert into Result (PlayerID,sessionID, result, score) values (58, 23, 8, 33.9518328);
insert into Result (PlayerID,sessionID, result, score) values (58, 26, 11, 32.86682832);
insert into Result (PlayerID,sessionID, result, score) values (58, 27, 7, 35.37844797);
insert into Result (PlayerID,sessionID, result, score) values (58, 28, 14, 36.0557185);
insert into Result (PlayerID,sessionID, result, score) values (58, 29, 10, 33.02586503);
insert into Result (PlayerID,sessionID, result, score) values (58, 31, 8, 42.51334427);
insert into Result (PlayerID,sessionID, result, score) values (58, 34, 10, 39.49345088);
insert into Result (PlayerID,sessionID, result, score) values (58, 35, 5, 56.67670129);
insert into Result (PlayerID,sessionID, result, score) values (58, 36, 6, 54.83581841);
insert into Result (PlayerID,sessionID, result, score) values (58, 40, 12, 38.97615257);
insert into Result (PlayerID,sessionID, result, score) values (58, 44, 11, 40.95302863);
insert into Result (PlayerID,sessionID, result, score) values (58, 48, 10, 44.65705948);
insert into Result (PlayerID,sessionID, result, score) values (58, 54, 5, 54.68766627);
insert into Result (PlayerID,sessionID, result, score) values (58, 55, 6, 48.30900075);
insert into Result (PlayerID,sessionID, result, score) values (58, 56, 4, 57.7618349);
insert into Result (PlayerID,sessionID, result, score) values (58, 57, 4, 50.47034838);
insert into Result (PlayerID,sessionID, result, score) values (58, 65, 9, 37.38635553);
insert into Result (PlayerID,sessionID, result, score) values (58, 66, 8, 32.06878248);
insert into Result (PlayerID,sessionID, result, score) values (58, 67, 6, 38.15748453);
insert into Result (PlayerID,sessionID, result, score) values (58, 78, 12, 45.55716419);
insert into Result (PlayerID,sessionID, result, score) values (58, 79, 8, 42.09874545);
insert into Result (PlayerID,sessionID, result, score) values (58, 81, 6, 51.69349298);
insert into Result (PlayerID,sessionID, result, score) values (58, 82, 8, 43.68087353);
insert into Result (PlayerID,sessionID, result, score) values (58, 83, 9, 39.55731152);
insert into Result (PlayerID,sessionID, result, score) values (58, 84, 18, 32.39741372);
insert into Result (PlayerID,sessionID, result, score) values (58, 86, 7, 39.46674373);
insert into Result (PlayerID,sessionID, result, score) values (58, 87, 11, 38.07564475);
insert into Result (PlayerID,sessionID, result, score) values (58, 89, 9, 35.37177763);
insert into Result (PlayerID,sessionID, result, score) values (58, 90, 10, 34.33267166);
insert into Result (PlayerID,sessionID, result, score) values (59, 63, 8, 24.5814828);
insert into Result (PlayerID,sessionID, result, score) values (59, 65, 12, 26.06979196);
insert into Result (PlayerID,sessionID, result, score) values (60, 1, 3, 54.28571429);
insert into Result (PlayerID,sessionID, result, score) values (60, 3, 1, 62.42346939);
insert into Result (PlayerID,sessionID, result, score) values (60, 4, 2, 62.86553582);
insert into Result (PlayerID,sessionID, result, score) values (60, 5, 3, 56.64816901);
insert into Result (PlayerID,sessionID, result, score) values (60, 6, 1, 63.93620187);
insert into Result (PlayerID,sessionID, result, score) values (60, 7, 3, 60.94584511);
insert into Result (PlayerID,sessionID, result, score) values (60, 8, 1, 66.98778613);
insert into Result (PlayerID,sessionID, result, score) values (60, 10, 3, 60.26115424);
insert into Result (PlayerID,sessionID, result, score) values (61, 4, 7, 48.86271608);
insert into Result (PlayerID,sessionID, result, score) values (61, 5, 4, 52.38645106);
insert into Result (PlayerID,sessionID, result, score) values (61, 6, 2, 59.42313184);
insert into Result (PlayerID,sessionID, result, score) values (61, 9, 8, 31.75278021);
insert into Result (PlayerID,sessionID, result, score) values (61, 14, 8, 49.23542644);
insert into Result (PlayerID,sessionID, result, score) values (62, 1, 2, 57.14285714);
insert into Result (PlayerID,sessionID, result, score) values (62, 2, 1, 62.14285714);
insert into Result (PlayerID,sessionID, result, score) values (62, 4, 2, 62.86553582);
insert into Result (PlayerID,sessionID, result, score) values (62, 7, 1, 67.38364019);
insert into Result (PlayerID,sessionID, result, score) values (62, 9, 1, 68.67126715);
insert into Result (PlayerID,sessionID, result, score) values (62, 11, 3, 57.91086463);
insert into Result (PlayerID,sessionID, result, score) values (62, 22, 1, 68.68421479);
insert into Result (PlayerID,sessionID, result, score) values (62, 47, 1, 69.54709599);
insert into Result (PlayerID,sessionID, result, score) values (62, 48, 1, 70.68804015);
insert into Result (PlayerID,sessionID, result, score) values (62, 52, 4, 62.66965994);
insert into Result (PlayerID,sessionID, result, score) values (62, 62, 2, 67.00320568);
insert into Result (PlayerID,sessionID, result, score) values (62, 64, 2, 63.5190761);
insert into Result (PlayerID,sessionID, result, score) values (62, 71, 2, 66.35118299);
insert into Result (PlayerID,sessionID, result, score) values (62, 72, 1, 69.57495869);
insert into Result (PlayerID,sessionID, result, score) values (62, 74, 1, 72.59738117);
insert into Result (PlayerID,sessionID, result, score) values (62, 76, 1, 72.88403414);
insert into Result (PlayerID,sessionID, result, score) values (62, 77, 1, 72.75574496);
insert into Result (PlayerID,sessionID, result, score) values (62, 78, 2, 69.77870525);
insert into Result (PlayerID,sessionID, result, score) values (62, 80, 4, 62.8598491);
insert into Result (PlayerID,sessionID, result, score) values (62, 81, 1, 71.12358466);
insert into Result (PlayerID,sessionID, result, score) values (62, 82, 1, 73.5788256);
insert into Result (PlayerID,sessionID, result, score) values (62, 84, 1, 72.64507502);
insert into Result (PlayerID,sessionID, result, score) values (62, 85, 2, 71.13210346);
insert into Result (PlayerID,sessionID, result, score) values (62, 87, 3, 66.86351584);
insert into Result (PlayerID,sessionID, result, score) values (62, 88, 3, 67.12091758);
insert into Result (PlayerID,sessionID, result, score) values (62, 90, 3, 65.7929932);
insert into Result (PlayerID,sessionID, result, score) values (62, 92, 1, 75.62169833);
insert into Result (PlayerID,sessionID, result, score) values (62, 93, 1, 71.79129518);
insert into Result (PlayerID,sessionID, result, score) values (63, 40, 5, 57.50791941);
insert into Result (PlayerID,sessionID, result, score) values (63, 41, 1, 69.45478187);
insert into Result (PlayerID,sessionID, result, score) values (63, 42, 1, 69.62899642);
insert into Result (PlayerID,sessionID, result, score) values (63, 45, 2, 68.917555);
insert into Result (PlayerID,sessionID, result, score) values (63, 85, 7, 57.93789539);
insert into Result (PlayerID,sessionID, result, score) values (63, 87, 6, 56.06806418);
insert into Result (PlayerID,sessionID, result, score) values (63, 88, 2, 69.69909047);
insert into Result (PlayerID,sessionID, result, score) values (63, 91, 5, 54.54355991);
insert into Result (PlayerID,sessionID, result, score) values (63, 93, 5, 58.21303742);
insert into Result (PlayerID,sessionID, result, score) values (64, 91, 6, 50.04593996);
insert into Result (PlayerID,sessionID, result, score) values (65, 18, 7, 47.60166033);
insert into Result (PlayerID,sessionID, result, score) values (65, 20, 12, 38.54875774);
insert into Result (PlayerID,sessionID, result, score) values (65, 21, 6, 43.0832062);
insert into Result (PlayerID,sessionID, result, score) values (66, 2, 5, 48.67346939);
insert into Result (PlayerID,sessionID, result, score) values (66, 4, 5, 54.46384398);
insert into Result (PlayerID,sessionID, result, score) values (66, 15, 6, 52.31883889);
insert into Result (PlayerID,sessionID, result, score) values (66, 24, 5, 47.14446441);
insert into Result (PlayerID,sessionID, result, score) values (66, 25, 6, 44.05352454);
insert into Result (PlayerID,sessionID, result, score) values (66, 26, 5, 53.95767696);
insert into Result (PlayerID,sessionID, result, score) values (66, 27, 1, 69.03671463);
insert into Result (PlayerID,sessionID, result, score) values (66, 28, 7, 53.94212027);
insert into Result (PlayerID,sessionID, result, score) values (66, 29, 2, 65.81557534);
insert into Result (PlayerID,sessionID, result, score) values (66, 30, 3, 62.91429751);
insert into Result (PlayerID,sessionID, result, score) values (66, 31, 2, 63.88255321);
insert into Result (PlayerID,sessionID, result, score) values (66, 32, 6, 55.71900503);
insert into Result (PlayerID,sessionID, result, score) values (66, 33, 1, 64.66521854);
insert into Result (PlayerID,sessionID, result, score) values (66, 34, 1, 68.16516568);
insert into Result (PlayerID,sessionID, result, score) values (66, 35, 7, 49.75374587);
insert into Result (PlayerID,sessionID, result, score) values (66, 36, 6, 54.83581841);
insert into Result (PlayerID,sessionID, result, score) values (66, 37, 2, 62.76555397);
insert into Result (PlayerID,sessionID, result, score) values (66, 38, 1, 69.46466196);
insert into Result (PlayerID,sessionID, result, score) values (66, 39, 2, 63.31745567);
insert into Result (PlayerID,sessionID, result, score) values (66, 43, 4, 56.95592182);
insert into Result (PlayerID,sessionID, result, score) values (66, 45, 3, 66.09486306);
insert into Result (PlayerID,sessionID, result, score) values (66, 49, 5, 47.83626917);
insert into Result (PlayerID,sessionID, result, score) values (66, 52, 2, 68.39068138);
insert into Result (PlayerID,sessionID, result, score) values (66, 84, 5, 63.17503707);
insert into Result (PlayerID,sessionID, result, score) values (66, 85, 10, 50.02137056);
insert into Result (PlayerID,sessionID, result, score) values (66, 86, 3, 61.35892061);
insert into Result (PlayerID,sessionID, result, score) values (66, 87, 5, 59.66654807);
insert into Result (PlayerID,sessionID, result, score) values (66, 88, 5, 61.9645718);
insert into Result (PlayerID,sessionID, result, score) values (66, 89, 3, 62.76515928);
insert into Result (PlayerID,sessionID, result, score) values (66, 93, 3, 65.0021663);
insert into Result (PlayerID,sessionID, result, score) values (67, 56, 15, 27.43690298);
insert into Result (PlayerID,sessionID, result, score) values (67, 91, 8, 41.05070005);
insert into Result (PlayerID,sessionID, result, score) values (68, 3, 7, 39.33309038);
insert into Result (PlayerID,sessionID, result, score) values (68, 19, 3, 58.04634308);
insert into Result (PlayerID,sessionID, result, score) values (68, 21, 5, 47.63426241);
insert into Result (PlayerID,sessionID, result, score) values (69, 19, 1, 68.84796285);
insert into Result (PlayerID,sessionID, result, score) values (69, 22, 2, 65.17988058);
insert into Result (PlayerID,sessionID, result, score) values (69, 29, 1, 69.91428913);
insert into Result (PlayerID,sessionID, result, score) values (69, 74, 3, 66.08495918);
insert into Result (PlayerID,sessionID, result, score) values (69, 90, 2, 70.28732485);
insert into Result (PlayerID,sessionID, result, score) values (70, 10, 8, 49.12068295);
insert into Result (PlayerID,sessionID, result, score) values (70, 11, 6, 40.31072562);
insert into Result (PlayerID,sessionID, result, score) values (70, 17, 6, 51.64212485);
insert into Result (PlayerID,sessionID, result, score) values (70, 18, 9, 40.80259074);
insert into Result (PlayerID,sessionID, result, score) values (70, 21, 6, 43.0832062);
insert into Result (PlayerID,sessionID, result, score) values (70, 23, 5, 47.93499862);
insert into Result (PlayerID,sessionID, result, score) values (70, 24, 6, 42.05035334);
insert into Result (PlayerID,sessionID, result, score) values (70, 30, 9, 42.20459785);
insert into Result (PlayerID,sessionID, result, score) values (70, 32, 14, 34.08820803);
insert into Result (PlayerID,sessionID, result, score) values (70, 52, 14, 34.06455278);
insert into Result (PlayerID,sessionID, result, score) values (70, 88, 17, 31.02649713);
insert into Result (PlayerID,sessionID, result, score) values (71, 14, 11, 41.55277593);
insert into Result (PlayerID,sessionID, result, score) values (71, 16, 10, 44.2874432);
insert into Result (PlayerID,sessionID, result, score) values (71, 18, 5, 54.40072992);
insert into Result (PlayerID,sessionID, result, score) values (71, 59, 9, 38.92702004);
insert into Result (PlayerID,sessionID, result, score) values (71, 85, 14, 39.46600411);
insert into Result (PlayerID,sessionID, result, score) values (72, 43, 8, 40.46141123);
insert into Result (PlayerID,sessionID, result, score) values (72, 44, 10, 43.71581717);
insert into Result (PlayerID,sessionID, result, score) values (72, 45, 9, 49.15871141);
insert into Result (PlayerID,sessionID, result, score) values (72, 46, 9, 37.90220605);
insert into Result (PlayerID,sessionID, result, score) values (72, 53, 5, 48.09322872);
insert into Result (PlayerID,sessionID, result, score) values (72, 62, 6, 44.60460002);
insert into Result (PlayerID,sessionID, result, score) values (73, 10, 14, 35.75211739);
insert into Result (PlayerID,sessionID, result, score) values (73, 12, 8, 42.80657623);
insert into Result (PlayerID,sessionID, result, score) values (73, 14, 14, 33.87012542);
insert into Result (PlayerID,sessionID, result, score) values (73, 16, 12, 39.23252188);
insert into Result (PlayerID,sessionID, result, score) values (73, 18, 10, 37.40305595);
insert into Result (PlayerID,sessionID, result, score) values (73, 20, 12, 38.54875774);
insert into Result (PlayerID,sessionID, result, score) values (73, 54, 12, 28.15240985);
insert into Result (PlayerID,sessionID, result, score) values (73, 56, 10, 41.22096294);
insert into Result (PlayerID,sessionID, result, score) values (73, 57, 9, 23.57435529);
insert into Result (PlayerID,sessionID, result, score) values (73, 75, 8, 29.30131104);
insert into Result (PlayerID,sessionID, result, score) values (73, 91, 11, 27.55784019);
insert into Result (PlayerID,sessionID, result, score) values (73, 93, 15, 24.26739302);
insert into Result (PlayerID,sessionID, result, score) values (74, 12, 11, 33.50439897);
insert into Result (PlayerID,sessionID, result, score) values (74, 13, 10, 36.63020386);
insert into Result (PlayerID,sessionID, result, score) values (74, 14, 12, 38.99189242);
insert into Result (PlayerID,sessionID, result, score) values (74, 15, 13, 35.29918556);
insert into Result (PlayerID,sessionID, result, score) values (74, 16, 14, 34.17760056);
insert into Result (PlayerID,sessionID, result, score) values (74, 17, 10, 38.78075017);
insert into Result (PlayerID,sessionID, result, score) values (74, 32, 15, 31.3843584);
insert into Result (PlayerID,sessionID, result, score) values (74, 37, 12, 27.80168316);
insert into Result (PlayerID,sessionID, result, score) values (74, 39, 12, 30.38166385);
insert into Result (PlayerID,sessionID, result, score) values (74, 40, 14, 33.68136205);
insert into Result (PlayerID,sessionID, result, score) values (74, 41, 12, 24.7330903);
insert into Result (PlayerID,sessionID, result, score) values (74, 42, 15, 24.2685896);
insert into Result (PlayerID,sessionID, result, score) values (74, 43, 11, 28.0905283);
insert into Result (PlayerID,sessionID, result, score) values (74, 44, 13, 35.42745155);
insert into Result (PlayerID,sessionID, result, score) values (74, 51, 8, 23.18470553);
insert into Result (PlayerID,sessionID, result, score) values (74, 52, 15, 31.20404207);
insert into Result (PlayerID,sessionID, result, score) values (74, 53, 6, 43.27642796);
insert into Result (PlayerID,sessionID, result, score) values (74, 55, 7, 44.80070577);
insert into Result (PlayerID,sessionID, result, score) values (74, 56, 11, 38.46415095);
insert into Result (PlayerID,sessionID, result, score) values (75, 92, 7, 46.21203315);
insert into Result (PlayerID,sessionID, result, score) values (75, 93, 14, 27.66195746);
insert into Result (PlayerID,sessionID, result) values (7, 94, 8);
insert into Result (PlayerID,sessionID, result) values (8, 94, 12);
insert into Result (PlayerID,sessionID, result) values (12, 94, 9);
insert into Result (PlayerID,sessionID, result) values (15, 94, 1);
insert into Result (PlayerID,sessionID, result) values (16, 94, 7);
insert into Result (PlayerID,sessionID, result) values (27, 94, 11);
insert into Result (PlayerID,sessionID, result) values (37, 94, 2);
insert into Result (PlayerID,sessionID, result) values (49, 94, 4);
insert into Result (PlayerID,sessionID, result) values (53, 94, 2);
insert into Result (PlayerID,sessionID, result) values (56, 94, 6);
insert into Result (PlayerID,sessionID, result) values (58, 94, 10);
insert into Result (PlayerID,sessionID, result) values (62, 94, 5);
insert into Result (PlayerID,sessionID, result) values (8, 95, 8);
insert into Result (PlayerID,sessionID, result) values (16, 95, 2);
insert into Result (PlayerID,sessionID, result) values (24, 95, 10);
insert into Result (PlayerID,sessionID, result) values (27, 95, 11);
insert into Result (PlayerID,sessionID, result) values (29, 95, 1);
insert into Result (PlayerID,sessionID, result) values (47, 95, 11);
insert into Result (PlayerID,sessionID, result) values (49, 95, 3);
insert into Result (PlayerID,sessionID, result) values (57, 95, 4);
insert into Result (PlayerID,sessionID, result) values (58, 95, 7);
insert into Result (PlayerID,sessionID, result) values (63, 95, 5);
insert into Result (PlayerID,sessionID, result) values (73, 95, 9);
insert into Result (PlayerID,sessionID, result) values (75, 95, 6);
insert into Result (PlayerID,sessionID, result) values (7, 96, 9);
insert into Result (PlayerID,sessionID, result) values (8, 96, 12);
insert into Result (PlayerID,sessionID, result) values (9, 96, 5);
insert into Result (PlayerID,sessionID, result) values (15, 96, 2);
insert into Result (PlayerID,sessionID, result) values (16, 96, 5);
insert into Result (PlayerID,sessionID, result) values (27, 96, 11);
insert into Result (PlayerID,sessionID, result) values (29, 96, 1);
insert into Result (PlayerID,sessionID, result) values (33, 96, 2);
insert into Result (PlayerID,sessionID, result) values (47, 96, 8);
insert into Result (PlayerID,sessionID, result) values (49, 96, 5);
insert into Result (PlayerID,sessionID, result) values (58, 96, 10);
insert into Result (PlayerID,sessionID, result) values (62, 96, 2);
insert into Result (PlayerID,sessionID, result) values (4, 97, 2);
insert into Result (PlayerID,sessionID, result) values (7, 97, 7);
insert into Result (PlayerID,sessionID, result) values (16, 97, 4);
insert into Result (PlayerID,sessionID, result) values (37, 97, 1);
insert into Result (PlayerID,sessionID, result) values (49, 97, 5);
insert into Result (PlayerID,sessionID, result) values (56, 97, 7);
insert into Result (PlayerID,sessionID, result) values (62, 97, 3);
insert into Result (PlayerID,sessionID, result) values (75, 97, 6);
insert into Result (PlayerID,sessionID, result) values (4, 98, 1);
insert into Result (PlayerID,sessionID, result) values (7, 98, 9);
insert into Result (PlayerID,sessionID, result) values (13, 98, 6);
insert into Result (PlayerID,sessionID, result) values (16, 98, 6);
insert into Result (PlayerID,sessionID, result) values (20, 98, 11);
insert into Result (PlayerID,sessionID, result) values (37, 98, 2);
insert into Result (PlayerID,sessionID, result) values (40, 98, 6);
insert into Result (PlayerID,sessionID, result) values (47, 98, 11);
insert into Result (PlayerID,sessionID, result) values (49, 98, 3);
insert into Result (PlayerID,sessionID, result) values (56, 98, 4);
insert into Result (PlayerID,sessionID, result) values (73, 98, 10);
insert into Result (PlayerID,sessionID, result) values (75, 98, 5);
insert into Result (PlayerID,sessionID, result) values (4, 99, 1);
insert into Result (PlayerID,sessionID, result) values (9, 99, 7);
insert into Result (PlayerID,sessionID, result) values (12, 99, 8);
insert into Result (PlayerID,sessionID, result) values (27, 99, 11);
insert into Result (PlayerID,sessionID, result) values (33, 99, 5);
insert into Result (PlayerID,sessionID, result) values (37, 99, 1);
insert into Result (PlayerID,sessionID, result) values (39, 99, 10);
insert into Result (PlayerID,sessionID, result) values (49, 99, 6);
insert into Result (PlayerID,sessionID, result) values (56, 99, 4);
insert into Result (PlayerID,sessionID, result) values (62, 99, 3);
insert into Result (PlayerID,sessionID, result) values (75, 99, 9);
insert into Result (PlayerID,sessionID, result) values (76, 99, 12);
insert into Result (PlayerID,sessionID, result) values (7, 100, 12);
insert into Result (PlayerID,sessionID, result) values (8, 100, 15);
insert into Result (PlayerID,sessionID, result) values (13, 100, 13);
insert into Result (PlayerID,sessionID, result) values (16, 100, 7);
insert into Result (PlayerID,sessionID, result) values (21, 100, 16);
insert into Result (PlayerID,sessionID, result) values (37, 100, 2);
insert into Result (PlayerID,sessionID, result) values (39, 100, 8);
insert into Result (PlayerID,sessionID, result) values (40, 100, 6);
insert into Result (PlayerID,sessionID, result) values (49, 100, 4);
insert into Result (PlayerID,sessionID, result) values (53, 100, 5);
insert into Result (PlayerID,sessionID, result) values (56, 100, 9);
insert into Result (PlayerID,sessionID, result) values (57, 100, 3);
insert into Result (PlayerID,sessionID, result) values (58, 100, 10);
insert into Result (PlayerID,sessionID, result) values (62, 100, 1);
insert into Result (PlayerID,sessionID, result) values (70, 100, 11);
insert into Result (PlayerID,sessionID, result) values (76, 100, 14);
insert into Result (PlayerID,sessionID, result) values (8, 101, 7);
insert into Result (PlayerID,sessionID, result) values (37, 101, 4);
insert into Result (PlayerID,sessionID, result) values (47, 101, 8);
insert into Result (PlayerID,sessionID, result) values (49, 101, 5);
insert into Result (PlayerID,sessionID, result) values (53, 101, 3);
insert into Result (PlayerID,sessionID, result) values (56, 101, 2);
insert into Result (PlayerID,sessionID, result) values (58, 101, 6);
insert into Result (PlayerID,sessionID, result) values (62, 101, 1); |
<reponame>Alvin4Jay/canal-dump<filename>parse/src/test/resources/ddl/alter/mysql_35.sql
CREATE TABLE `tb_eegcnsbywv`
(
`col_rwmjknctzl` datetime(6) NOT NULL,
`col_seknewafqd` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`col_jophiowutg` longtext CHARACTER SET latin1,
`col_iedptbbtmp` double DEFAULT NULL,
`col_pnotecfjsi` decimal(10, 0) DEFAULT NULL,
`col_eawvokgzvi` year(4) NOT NULL,
`col_orlvhbnaer` longtext CHARACTER SET utf8mb4,
`col_krlfmduttq` longtext CHARACTER SET latin1,
`col_jobdxewixt` bigint(173) DEFAULT NULL,
`col_ufdhvspoka` float DEFAULT '1',
`col_qqdcbaucve` date DEFAULT NULL,
`col_uuexgtwrse` double(172, 2
) NOT NULL,
`col_hzixmjzrzg` tinyint(195) unsigned zerofill NOT NULL,
`col_bfsjjimztp` datetime(1) NOT NULL,
`col_hfrmqomgva` date DEFAULT NULL,
`col_mepqygbcxa` text CHARACTER SET utf8mb4,
`col_xmubzkmxzy` mediumblob,
PRIMARY KEY (`col_rwmjknctzl`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `tb_qlvbveqzna`
(
`col_ytfnmhhaoa` int(10) unsigned DEFAULT NULL,
`col_vimtlabyrl` set('enum_or_set_0','enum_or_set_1','enum_or_set_2') CHARACTER SET utf8mb4 DEFAULT NULL,
UNIQUE KEY `col_ytfnmhhaoa` (`col_ytfnmhhaoa`),
UNIQUE KEY `col_vimtlabyrl` (`col_vimtlabyrl`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
<reponame>JKAUSHALYA/identity-migration-resources
ALTER TABLE CM_PURPOSE
ADD COLUMN PURPOSE_GROUP VARCHAR(255) NOT NULL,
ADD COLUMN GROUP_TYPE VARCHAR(255) NOT NULL,
DROP KEY NAME,
ADD UNIQUE KEY (NAME, TENANT_ID, PURPOSE_GROUP, GROUP_TYPE);
UPDATE CM_PURPOSE
SET PURPOSE_GROUP =
CASE WHEN NAME = 'DEFAULT' THEN 'DEFAULT' ELSE 'SIGNUP' END;
UPDATE CM_PURPOSE
SET GROUP_TYPE =
CASE WHEN NAME = 'DEFAULT' THEN 'SP' ELSE 'SYSTEM' end;
ALTER TABLE CM_PURPOSE_PII_CAT_ASSOC
ADD IS_MANDATORY INTEGER DEFAULT 1 NOT NULL; |
<filename>migrations/20151126095136_dumped_migration_103/up.sql
ALTER TABLE version_downloads ALTER downloads SET DEFAULT 1;
ALTER TABLE version_downloads ALTER counted SET DEFAULT 0;
ALTER TABLE version_downloads ALTER date SET DEFAULT current_date;
ALTER TABLE version_downloads ALTER processed SET DEFAULT 'f';
ALTER TABLE keywords ALTER created_at SET DEFAULT current_timestamp;
ALTER TABLE keywords ALTER crates_cnt SET DEFAULT 0;
ALTER TABLE crates ALTER created_at SET DEFAULT current_timestamp;
ALTER TABLE crates ALTER updated_at SET DEFAULT current_timestamp;
ALTER TABLE crates ALTER downloads SET DEFAULT 0;
ALTER TABLE crates ALTER max_version SET DEFAULT '0.0.0';
ALTER TABLE crate_owners ALTER created_at SET DEFAULT current_timestamp;
ALTER TABLE crate_owners ALTER updated_at SET DEFAULT current_timestamp;
ALTER TABLE crate_owners ALTER deleted SET DEFAULT 'f';
ALTER TABLE versions ALTER created_at SET DEFAULT current_timestamp;
ALTER TABLE versions ALTER updated_at SET DEFAULT current_timestamp;
ALTER TABLE versions ALTER downloads SET DEFAULT 0;
CREATE FUNCTION set_updated_at() RETURNS trigger AS $$
BEGIN
IF (NEW.updated_at IS NOT DISTINCT FROM OLD.updated_at) THEN
NEW.updated_at := current_timestamp;
END IF;
RETURN NEW;
END
$$ LANGUAGE plpgsql;
CREATE FUNCTION update_keywords_crates_cnt() RETURNS trigger AS $$
BEGIN
IF (TG_OP = 'INSERT') THEN
UPDATE keywords SET crates_cnt = crates_cnt + 1 WHERE id = NEW.keyword_id;
return NEW;
ELSIF (TG_OP = 'DELETE') THEN
UPDATE keywords SET crates_cnt = crates_cnt - 1 WHERE id = OLD.keyword_id;
return OLD;
END IF;
END
$$ LANGUAGE plpgsql;
CREATE TRIGGER trigger_update_keywords_crates_cnt BEFORE INSERT OR DELETE
ON crates_keywords
FOR EACH ROW EXECUTE PROCEDURE update_keywords_crates_cnt();
CREATE TRIGGER trigger_crate_owners_set_updated_at BEFORE UPDATE
ON crate_owners
FOR EACH ROW EXECUTE PROCEDURE set_updated_at();
CREATE TRIGGER trigger_crates_set_updated_at BEFORE UPDATE
ON crates
FOR EACH ROW EXECUTE PROCEDURE set_updated_at();
CREATE TRIGGER trigger_versions_set_updated_at BEFORE UPDATE
ON versions
FOR EACH ROW EXECUTE PROCEDURE set_updated_at(); |
CREATE SCHEMA [Queue]
AUTHORIZATION [dbo] |
-- phpMyAdmin SQL Dump
-- version 4.7.9
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3306
-- Waktu pembuatan: 05 Apr 2018 pada 14.50
-- Versi server: 5.7.19
-- Versi PHP: 7.1.16
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `time-tracking`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `activities`
--
DROP TABLE IF EXISTS `activities`;
CREATE TABLE IF NOT EXISTS `activities` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`userid` int(11) NOT NULL,
`date` date NOT NULL,
`time` time NOT NULL,
`app` varchar(255) NOT NULL,
`title` varchar(255) NOT NULL,
PRIMARY KEY (`id`),
KEY `userid` (`userid`)
) ENGINE=InnoDB AUTO_INCREMENT=73 DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `activities`
--
INSERT INTO `activities` (`id`, `userid`, `date`, `time`, `app`, `title`) VALUES
(1, 1, '2018-02-20', '08:43:00', 'Chrome Browser', 'YouTube'),
(2, 2, '2018-02-20', '08:44:00', 'Postman', 'http://localhost/ci-rest-api/task'),
(3, 1, '2018-02-25', '08:53:00', 'Visual Studio Code', 'activies.php - www'),
(9, 1, '2018-02-26', '17:30:06', 'Chrome Browser', 'Recka | Home'),
(10, 1, '2018-02-27', '08:36:46', 'Visual Studio Code', 'activities.php - www'),
(11, 1, '2018-02-28', '10:03:00', 'Atom', 'activities.php -- C:\\wamp64\\www\\time-tracking'),
(12, 1, '2018-02-28', '14:05:00', 'Chrome Browser', 'Datatables - Buttons Applying Custom with icon'),
(13, 1, '2018-02-28', '14:08:00', 'Atom', 'User.php -- C:\\wamp64\\www\\time-tracking '),
(14, 1, '2018-02-28', '14:37:00', 'Timdoctor', 'Timedoctor Lite | v2.3'),
(15, 1, '2018-02-28', '14:39:00', 'Spotify', 'Tulus - Sewindu'),
(16, 1, '2018-02-28', '14:40:00', 'Chrome Browser', 'localhost / MySQL / ci-rest-api'),
(17, 1, '2018-03-01', '10:25:00', 'Spotify', '<NAME> - Occupied'),
(18, 1, '2018-03-01', '11:43:00', 'Chrome Browser', 'Codeigniter Forums'),
(19, 1, '2018-03-01', '11:44:00', 'Chrome Browser', 'Recka | Home'),
(20, 1, '2018-03-02', '14:42:29', 'Visual Studio Code', 'Activities.php - www'),
(21, 1, '2018-03-02', '14:43:15', 'Chrome Browser', 'Recka | Home'),
(22, 1, '2018-03-02', '14:44:48', 'Postman', 'Postman'),
(23, 1, '2018-03-05', '13:25:56', 'Postman', 'Postman'),
(24, 1, '2018-03-05', '13:26:08', 'Postman', 'Postman'),
(25, 1, '2018-03-05', '13:26:08', 'Postman', 'Postman'),
(26, 1, '2018-03-05', '13:26:09', 'Postman', 'Postman'),
(27, 1, '2018-03-05', '13:26:09', 'Postman', 'Postman'),
(28, 1, '2018-03-05', '13:26:10', 'Postman', 'Postman'),
(29, 1, '2018-03-05', '13:26:10', 'Postman', 'Postman'),
(30, 1, '2018-03-05', '13:26:11', 'Chrome Browser', 'PhpMyAdmin'),
(31, 1, '2018-03-05', '13:26:11', 'Postman', 'Postman'),
(32, 1, '2018-03-05', '13:26:12', 'Postman', 'Postman'),
(33, 1, '2018-03-05', '13:26:12', 'Postman', 'Postman'),
(34, 1, '2018-03-05', '13:26:13', 'Postman', 'Postman'),
(35, 1, '2018-03-05', '13:26:13', 'Postman', 'Postman'),
(36, 1, '2018-03-05', '13:26:13', 'Postman', 'Postman'),
(37, 1, '2018-03-05', '13:26:14', 'Postman', 'Postman'),
(38, 1, '2018-03-05', '13:26:14', 'Postman', 'Postman'),
(39, 1, '2018-03-05', '13:26:14', 'Postman', 'Postman'),
(40, 1, '2018-03-05', '13:26:15', 'Postman', 'Postman'),
(41, 1, '2018-03-05', '13:26:15', 'Postman', 'Postman'),
(42, 1, '2018-03-05', '13:26:16', 'Postman', 'Postman'),
(43, 1, '2018-03-05', '13:26:16', 'Postman', 'Postman'),
(44, 1, '2018-03-05', '13:26:17', 'Postman', 'Postman'),
(45, 1, '2018-03-05', '13:26:17', 'Postman', 'Postman'),
(46, 1, '2018-03-05', '13:26:18', 'Postman', 'Postman'),
(47, 1, '2018-03-05', '13:26:18', 'Postman', 'Postman'),
(48, 1, '2018-03-05', '13:26:19', 'Postman', 'Postman'),
(49, 1, '2018-03-05', '13:26:19', 'Postman', 'Postman'),
(50, 1, '2018-03-05', '13:26:20', 'Postman', 'Postman'),
(51, 4, '2018-03-07', '10:16:25', 'Visual Studio Code', 'Screenshot.php - www'),
(52, 4, '2018-03-07', '10:17:06', 'Visual Studio Code', 'User.php - www'),
(53, 4, '2018-03-08', '10:08:00', 'Snipping Tool', 'Snipping Tool'),
(54, 1, '2018-03-08', '10:27:19', 'Chrome Browser', 'Recka | Home'),
(55, 3, '2018-03-08', '10:59:41', 'Chrome Browser', 'Youtube'),
(56, 3, '2018-03-08', '11:00:04', 'Chrome Browser', 'Facebook'),
(57, 3, '2018-03-08', '11:06:18', 'Chrome Browser', 'Google'),
(58, 3, '2018-03-08', '12:11:16', 'Chrome Browser', 'WhatsApp'),
(59, 3, '2018-03-08', '13:37:31', 'Chrome Browser', 'PHPTESTER'),
(60, 1, '2018-03-09', '09:55:00', 'Visual Studio Code', 'Activities.php - www'),
(61, 1, '2018-03-09', '10:12:00', 'Visual Studio Code', 'User.php - www'),
(62, 1, '2018-03-09', '10:12:00', 'Visual Studio Code', 'User.php - www'),
(63, 2, '2018-03-15', '10:47:00', 'Chrome Browser', 'GitHub'),
(64, 1, '2018-03-15', '12:48:00', 'Chrome Browser', 'Recka | Activities'),
(65, 1, '2018-03-19', '08:30:00', 'Chrome Browser', 'Recka | Activities'),
(66, 4, '2018-03-22', '11:04:00', 'Chrome Browser', 'New Tab'),
(67, 3, '2018-03-22', '11:05:00', 'Chrome Browser', 'View Page Source'),
(68, 2, '2018-03-23', '10:14:00', 'Chrome Browser', 'View Page Source'),
(69, 2, '2018-03-23', '10:20:00', 'Chrome Browser', 'Navs - Bootstrap'),
(70, 1, '2018-03-26', '08:28:00', 'Chrome Browser', 'localhost / MySQL / time-tracking'),
(71, 1, '2018-03-26', '08:29:00', 'Chrome Browser', 'phpMyAdmin'),
(72, 2, '2018-04-03', '15:53:00', 'Chrome Browser', 'detail-blog-images');
-- --------------------------------------------------------
--
-- Struktur dari tabel `admin`
--
DROP TABLE IF EXISTS `admin`;
CREATE TABLE IF NOT EXISTS `admin` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(30) NOT NULL,
`email` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`photo_profile` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `admin`
--
INSERT INTO `admin` (`id`, `username`, `email`, `password`, `photo_profile`) VALUES
(1, 'admin', '<EMAIL>', <PASSWORD>', '<PASSWORD>f.png');
-- --------------------------------------------------------
--
-- Struktur dari tabel `client`
--
DROP TABLE IF EXISTS `client`;
CREATE TABLE IF NOT EXISTS `client` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`username` varchar(30) NOT NULL,
`password` varchar(255) NOT NULL,
`email` varchar(100) NOT NULL,
`pc` varchar(10) NOT NULL,
`token` varchar(255) NOT NULL,
`status` set('Online','Offline') NOT NULL,
`photo_profile` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `client`
--
INSERT INTO `client` (`id`, `name`, `username`, `password`, `email`, `pc`, `token`, `status`, `photo_profile`) VALUES
(1, '<NAME>', 'akbar', '$2y$10$DU39Lb0nWmTcxUZRBg4IGOaGeT83CxKWYp/U5uN8t1/AJtJAy9yUq', '<EMAIL>', 'PC-01', '', 'Offline', '5e11e57a36d48019c2f1ddc4d79657e2.jpg'),
(2, '<NAME>', 'azam', '$2y$10$9Sq00hD7IKg85WWBlTbJV.dQcx0zKHN5npMYJZ0H4spLFzbK5.uwO', '<EMAIL>', 'PC-02', '', 'Offline', '7144ed5aa4b3e5029c063fe5a9492870.jpg'),
(3, '<NAME>', 'azis', '$2y$10$6WPMXZPwSTQ4HpFlFYqwiufZpHMg1CUNH6dSuHsCDkipmiGuZSb9q', '<EMAIL>', 'PC-03', '', 'Offline', 'bdb831782c0867c2297f7d0a6d49d761.jpg'),
(4, '<NAME>', 'bahrul', '$2y$10$6BcF3lGPXMjTYBMdaZzm.uJjK9hw.ykaQAQIpRc/PCdnRzQdnZfXe', '<EMAIL>', 'PC-04', '', 'Offline', '59688fe4e6fbbe1bbe8d78c165af23f6.jpg');
-- --------------------------------------------------------
--
-- Struktur dari tabel `project`
--
DROP TABLE IF EXISTS `project`;
CREATE TABLE IF NOT EXISTS `project` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`status` set('Doing') NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `project`
--
INSERT INTO `project` (`id`, `name`, `status`) VALUES
(1, 'Admin Dashboard Time Tracking', 'Doing'),
(2, 'Website sekolah Bahrul Maghfiroh', 'Doing');
-- --------------------------------------------------------
--
-- Struktur dari tabel `screenshot`
--
DROP TABLE IF EXISTS `screenshot`;
CREATE TABLE IF NOT EXISTS `screenshot` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`userid` int(11) NOT NULL,
`app` varchar(255) NOT NULL,
`title` varchar(255) NOT NULL,
`filename` varchar(255) NOT NULL,
`date` date NOT NULL,
`time` time NOT NULL,
PRIMARY KEY (`id`),
KEY `userid` (`userid`)
) ENGINE=InnoDB AUTO_INCREMENT=114 DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `screenshot`
--
INSERT INTO `screenshot` (`id`, `userid`, `app`, `title`, `filename`, `date`, `time`) VALUES
(92, 3, 'Visual Studio Code', 'Screenshot.php - www', '385ca1fc25f78ced3df199ff26e68849.PNG', '2018-03-08', '13:56:32'),
(93, 3, 'Chrome Web ', 'Recka | Home', 'cd03126f57675b0d298002bf67fe9abf.png', '2018-03-08', '14:13:17'),
(94, 3, 'Visual Studio Code', 'activities.php - www', '1e8a14c107e1150a4743597d1901fe83.PNG', '2018-03-08', '14:42:33'),
(95, 3, 'Postman', 'Screenshot with Authorization Client', '41e760e26739f03cfc9d27db8b4c90f9.PNG', '2018-03-08', '14:46:00'),
(96, 1, 'Chrome Browser', 'Recka | Home', 'eff0feb5ce7404de8224d1dade1c030b.png', '2018-03-08', '16:00:18'),
(97, 1, 'Chrome Browser', 'Recka | Home', '747b852fb3c0f8dd48ed8de670f98d0d.PNG', '2018-03-09', '13:56:45'),
(98, 1, 'Postman', 'Postman', '7f7a62bef625fa71fcc216420e694ac9.PNG', '2018-03-09', '13:58:29'),
(99, 1, 'Visual Studio Code', 'Activities.php - www', '5d3ad0f714e5e00c40714fb3455ad291.PNG', '2018-03-09', '14:04:59'),
(100, 1, 'Chrome Browser', 'Recka | Home', '1480da561b434739ec58372cfe607c64.PNG', '2018-03-12', '09:23:18'),
(101, 1, 'Chrome Browser', 'New Tab', '32a28809de7b382c77edc25c8c7d13ed.PNG', '2018-03-12', '09:29:48'),
(102, 1, 'Chrome Browser', 'Recka | Home', '1d7d9d298c51a6ca56870944e2df7e88.PNG', '2018-03-12', '09:33:41'),
(103, 1, 'Chrome Browser', 'Recka | Home', '71dec0c91ac3870ebb8aa1f0aeced82c.png', '2018-03-13', '12:26:44'),
(104, 1, 'Chrome Browser', 'Recka | Home', '06c84006199a35ac3ea9225b3da88381.PNG', '2018-03-14', '12:26:53'),
(105, 1, 'Chrome Browser', 'Recka | Activities', 'da2e19acc4ac938db056f689e554c639.PNG', '2018-03-14', '12:45:02'),
(106, 1, 'Atom', 'activities.php -- C:\\wamp64\\www', '1e967db8b717ca0a872852487ac91298.PNG', '2018-03-15', '09:27:51'),
(107, 1, 'Chrome Browser', 'Recka | Activities', '7a56c1d44a800b550b9fcda627e727b6.PNG', '2018-03-15', '09:29:28'),
(108, 2, 'Chrome Browser', 'Github', '7f96c0b7d88f9bedfa1dfdebfcd0e0a8.PNG', '2018-03-15', '10:46:18'),
(109, 1, 'Chrome Browser', 'Recka | Aktivitas', '7eb125bd4cc4560b5e2a59a14f3e8d9e.PNG', '2018-03-21', '13:52:54'),
(110, 1, 'Postman', 'Postman', '758ed64ddbe2e6fec8f74fa1ed49e84a.PNG', '2018-03-21', '13:58:01'),
(111, 2, 'Chrome Browser', 'Recka | Aktivitas', '03bec2593fb3f5b799a3a800916f4cdc.PNG', '2018-03-23', '08:46:55'),
(112, 1, 'Chrome Browser', 'Recka | Aktivitas', 'fbd33bb2a91fae91d2f1be2d8a1aa616.PNG', '2018-03-26', '06:55:43'),
(113, 2, 'Chrome Browser', 'time-tracking - GitLab', 'ebc7430d00c51cc24a59d86b53295926.PNG', '2018-04-03', '13:15:11');
-- --------------------------------------------------------
--
-- Struktur dari tabel `tasks`
--
DROP TABLE IF EXISTS `tasks`;
CREATE TABLE IF NOT EXISTS `tasks` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id_project` int(11) NOT NULL,
`userid` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`waiting` date DEFAULT NULL,
`progress` date DEFAULT NULL,
`done` date DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `id_project` (`id_project`),
KEY `userid` (`userid`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `tasks`
--
INSERT INTO `tasks` (`id`, `id_project`, `userid`, `name`, `waiting`, `progress`, `done`) VALUES
(1, 1, 1, 'Mengerjakan template admin dashboard', '2018-03-24', '2018-03-25', '2018-03-28'),
(2, 1, 1, 'Datatable Ajax', '2018-03-27', '2018-03-29', '2018-04-02'),
(3, 1, 1, 'API screenshot', '2018-04-01', '2018-04-05', '2018-04-06'),
(4, 1, 1, 'More info about client', '2018-04-05', '2018-04-07', '2018-04-08'),
(5, 1, 1, 'Responsive dashboard acitivities', '2018-04-07', '2018-04-09', '2018-04-14'),
(6, 2, 1, 'Mengatur responsive tampilan home', '2018-03-30', '2018-04-02', NULL),
(7, 2, 2, 'Navbar position absolute', NULL, '2018-04-03', '2018-04-04');
--
-- Ketidakleluasaan untuk tabel pelimpahan (Dumped Tables)
--
--
-- Ketidakleluasaan untuk tabel `activities`
--
ALTER TABLE `activities`
ADD CONSTRAINT `activities_ibfk_1` FOREIGN KEY (`userid`) REFERENCES `client` (`id`);
--
-- Ketidakleluasaan untuk tabel `screenshot`
--
ALTER TABLE `screenshot`
ADD CONSTRAINT `screenshot_ibfk_1` FOREIGN KEY (`userid`) REFERENCES `client` (`id`);
--
-- Ketidakleluasaan untuk tabel `tasks`
--
ALTER TABLE `tasks`
ADD CONSTRAINT `tasks_ibfk_1` FOREIGN KEY (`userid`) REFERENCES `client` (`id`),
ADD CONSTRAINT `tasks_ibfk_2` FOREIGN KEY (`id_project`) REFERENCES `project` (`id`);
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<reponame>adityaadamf/2021
-- Using dqlab_sales_store.sql
-- 1. DQLab Store Overall Performance
-- Overall Performance by Year
SELECT YEAR(order_date) AS years, SUM(sales) AS sales, COUNT(order_id) AS number_of_order
FROM dqlab_sales_store
WHERE order_status = 'Order Finished'
GROUP BY years;
-- Overall Performance by Product Sub Category
SELECT YEAR(order_date) AS years, product_sub_category, SUM(sales) AS sales
FROM dqlab_sales_store
WHERE YEAR(order_date) BETWEEN 2011 AND 2012 AND order_status = 'Order Finished'
GROUP BY years, product_sub_category
ORDER BY years, sales DESC;
-- 2. DQLab Store Promotion Effectiveness and Efficiency
-- Promotion Effectiveness and Efficiency by Years
SELECT YEAR(order_date) AS years, SUM(sales) AS sales, SUM(discount_value) AS promotion_value, ROUND(SUM(discount_value) / SUM(sales) * 100, 2) AS burn_rate_percentage
FROM dqlab_sales_store
WHERE order_status = 'Order Finished'
GROUP BY years
ORDER BY years;
-- Promotion Effectiveness and Efficiency by Product Sub Category
SELECT YEAR(order_date) years, product_sub_category, product_category, SUM(sales) sales, SUM(discount_value) promotion_value, ROUND(SUM(discount_value) / SUM(sales) * 100, 2) burn_rate_percentage
FROM dqlab_sales_store
WHERE YEAR(order_date) = 2012 AND order_status = 'Order Finished'
GROUP BY years, product_sub_category, product_category
ORDER BY sales DESC;
-- 3. Customer Analytics
-- Customers Transactions per Year
SELECT YEAR(order_date) years, COUNT(DISTINCT customer) number_of_customer
FROM dqlab_sales_store
WHERE order_status = 'Order Finished'
GROUP BY years; |
<reponame>vsantacoloma/usb-lvbp-fantasy
/*
Navicat MySQL Data Transfer
Source Server : brainsoftbd
Source Server Version : 50156
Source Host : localhost:3306
Source Database : brainsof_bd
Target Server Type : MYSQL
Target Server Version : 50156
File Encoding : 65001
Date: 2011-11-17 14:44:37
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `estadistica_pitcher`
-- ----------------------------
DROP TABLE IF EXISTS `estadistica_pitcher`;
CREATE TABLE `estadistica_pitcher` (
`id_ref_nro` int(11) NOT NULL,
`id_ref_nombre_equipo_lvbp` varchar(25) NOT NULL,
`entradas_lanzadas_juego` int(11) NOT NULL,
`carreras_limpias_juego` int(11) NOT NULL,
`imparables_juego` int(11) NOT NULL,
`ponches_juego` int(11) NOT NULL,
`bases_por_bola_juego` int(11) NOT NULL,
`juegos_ganados_juego` int(11) NOT NULL,
`casa_nombre_equipo_lvbp` varchar(25) NOT NULL,
`visitante_nombre_equipo_lvbp` varchar(25) NOT NULL,
`fecha` date NOT NULL,
PRIMARY KEY (`id_ref_nro`,`id_ref_nombre_equipo_lvbp`),
KEY `eqpitcher` (`id_ref_nombre_equipo_lvbp`),
KEY `juegocasa` (`casa_nombre_equipo_lvbp`),
KEY `juegovis` (`visitante_nombre_equipo_lvbp`),
CONSTRAINT `juegovis` FOREIGN KEY (`visitante_nombre_equipo_lvbp`) REFERENCES `juegolvbp` (`visitante_nombre_equipo_lvbp`),
CONSTRAINT `eqpitcher` FOREIGN KEY (`id_ref_nombre_equipo_lvbp`) REFERENCES `pitcher` (`id_ref_nombre_equipo_lvbp`),
CONSTRAINT `juegocasa` FOREIGN KEY (`casa_nombre_equipo_lvbp`) REFERENCES `juegolvbp` (`casa_nombre_equipo_lvbp`),
CONSTRAINT `nropitcher` FOREIGN KEY (`id_ref_nro`) REFERENCES `pitcher` (`id_nro`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of estadistica_pitcher
-- ----------------------------
|
/* Busca na tabela autor */
SELECT * FROM autor
WHERE id LIKE '%var_busca%';
SELECT * FROM autor
WHERE nome LIKE '%var_busca%';
/* Busca na tabela editora */
SELECT * FROM editora
WHERE id LIKE '%var_busca%';
SELECT * FROM editora
WHERE nome LIKE '%var_busca%';
/* Busca na tabela livro */
-- pelo titulo
SELECT livro.*,
(SELECT a.nome FROM autor a WHERE a.id = livro.id_autor) as 'autor',
(SELECT e.nome FROM editora e WHERE e.id = livro.id_editora) as 'editora'
FROM livro
WHERE livro.titulo LIKE '%var_busca%';
-- pelo tombo
SELECT livro.*,
(SELECT a.nome FROM autor a WHERE a.id = livro.id_autor) as 'autor',
(SELECT e.nome FROM editora e WHERE e.id = livro.id_editora) as 'editora'
FROM livro
WHERE livro.tombo LIKE '%var_busca%';
-- pelo nome da editora
SELECT livro.*,
(SELECT a.nome FROM autor a WHERE a.id = livro.id_autor) as 'autor',
(SELECT e.nome FROM editora e WHERE e.id = livro.id_editora) as 'editora'
FROM livro
WHERE (SELECT e.nome FROM editora e WHERE e.id = livro.id_editora)
LIKE '%var_busca%';
-- pelo nome do autor
SELECT livro.*,
(SELECT a.nome FROM autor a WHERE a.id = livro.id_autor) as 'autor',
(SELECT e.nome FROM editora e WHERE e.id = livro.id_editora) as 'editora'
FROM livro
WHERE (SELECT a.nome FROM autor a WHERE a.id = livro.id_autor)
LIKE '%var_busca%';
/* Busca na tabela socio*/
-- pelo id
SELECT * FROM socio
WHERE id LIKE '%var_busca%';
-- pelo nome
SELECT * FROM socio
WHERE nome LIKE '%var_busca%';
-- pela idade
SELECT * FROM socio
WHERE TIMESTAMPDIFF(year, nasc,curdate()) = '%var_busca%';
/*Insert para a retirada*/
INSERT INTO emprestimo VALUES(default, CURDATE(), DATE_ADD(CURDATE(), INTERVAL 5 DAY), 1, 1);
SELECT * FROM emprestimo;
SELECT count(tombo) FROM livro;
SELECT count(tombo) FROM livro
WHERE status = 'emprestado';
SELECT count(tombo) FROM livro
WHERE status = 'reservado';
SELECT count(tombo) FROM livro
WHERE status = 'estante';
/* reserva pelo socio */
SELECT reserva.*,
(SELECT s.nome FROM socio s WHERE s.id = reserva.id_socio) as 'socio',
(SELECT l.titulo FROM livro l WHERE l.tombo = reserva.tombo) as 'livro'
FROM reserva
WHERE (SELECT s.nome FROM socio s WHERE s.id = reserva.id_socio)
LIKE '%var_busca%';
/* reserva pelo livro */
SELECT reserva.*,
(SELECT s.nome FROM socio s WHERE s.id = reserva.id_socio) as 'socio',
(SELECT l.titulo FROM livro l WHERE l.tombo = reserva.tombo) as 'livro'
FROM reserva
WHERE (SELECT l.titulo FROM livro l WHERE l.tombo = reserva.tombo)
LIKE '%var_busca%';
/* reserva pelo id */
SELECT reserva.*,
(SELECT s.nome FROM socio s WHERE s.id = reserva.id_socio) as 'socio',
(SELECT l.titulo FROM livro l WHERE l.tombo = reserva.tombo) as 'livro'
FROM reserva
WHERE reserva.id
LIKE '%var_busca%';
/* emprestimo pelo socio */
SELECT emprestimo.*,
(SELECT s.nome FROM socio s WHERE s.id = emprestimo.id_socio) as 'socio',
(SELECT l.titulo FROM livro l WHERE l.tombo = emprestimo.tombo) as 'livro'
FROM emprestimo
WHERE (SELECT s.nome FROM socio s WHERE s.id = emprestimo.id_socio)
LIKE '%var_busca%';
/* emprestimo pelo livro */
SELECT emprestimo.*,
(SELECT s.nome FROM socio s WHERE s.id = emprestimo.id_socio) as 'socio',
(SELECT l.titulo FROM livro l WHERE l.tombo = emprestimo.tombo) as 'livro'
FROM emprestimo
WHERE (SELECT l.titulo FROM livro l WHERE l.tombo = emprestimo.tombo)
LIKE '%var_busca%';
/* emprestimo pelo id */
SELECT emprestimo.*,
(SELECT s.nome FROM socio s WHERE s.id = emprestimo.id_socio) as 'socio',
(SELECT l.titulo FROM livro l WHERE l.tombo = emprestimo.tombo) as 'livro'
FROM emprestimo
WHERE emprestimo.id
LIKE '%var_busca%';
/* emprestimos feitos pelo socio*/
SELECT emprestimo_morto.*,
socio.nome as 'socio',
livro.titulo as 'livro'
FROM emprestimo_morto
INNER JOIN livro ON emprestimo_morto.tombo = livro.tombo
INNER JOIN socio ON emprestimo_morto.id_socio = socio.id
WHERE socio.id = 'var_busca'
order by emprestimo_morto.id desc;
/* Relatorio dos livros */
SELECT emprestimo_morto.*, livro.*,
editora.*, autor.*, socio.*,
FROM emprestimo_morto
INNER JOIN livro ON emprestimo_morto.tombo = livro.tombo
INNER JOIN autor on livro.id_autor = autor.id
INNER JOIN editora on livro.id_editora = editora.id
INNER JOIN socio ON emprestimo_morto.id_socio = socio.id
GROUP BY emprestimo_morto.tombo
WHERE MONTH(emprestimo_morto.retirada) = 'var' and YEAR(emprestimo_morto.retirada) = 'var';
select livro.*, autor.nome, editora.nome, COUNT(emprestimo_morto.tombo)
from emprestimo_morto
inner join livro on livro.tombo = emprestimo_morto.tombo
inner join editora on livro.id_editora = editora.id
inner join autor on livro.id_autor = autor.id
GROUP BY emprestimo_morto.tombo
ORDER BY COUNT(emprestimo_morto.tombo) DESC; |
USE employee_db;
INSERT INTO department (name)
VALUES
('Sales'),
('Engineering'),
('Finance'),
('Legal');
INSERT INTO role (title, salary, department_id)
VALUES
('Sales Lead', 100000, 1),
('Salesperson', 80000, 1),
('Lead Engineer', 150000, 2),
('Software Engineer', 120000, 2),
('Account Manager',160000, 3),
('Accountant', 125000, 3),
('Legal Team Leader',250000, 4),
('Lawyer', 190000, 4);
INSERT INTO employee (first_name, last_name, role_id, manager_id)
VALUES
('Naruto ','Uzumaki', 1, 1),
('Ichigo ','Kurosaki', 1, null),
('Neji ','Hyuuga', 2, 2),
('John ','Wick', 2, null),
('Peter ','Parker', 3, 3),
('Michelle ','Jones', 3, null),
('Cersei ','Lannister', 4, 4),
('Tyrion ','Lannister', 4, null);
|
-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Erstellungszeit: 07. Apr 2019 um 16:05
-- Server-Version: 8.0.15
-- PHP-Version: 7.1.23
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 */;
--
-- Datenbank: `bootbankjs`
--
CREATE DATABASE IF NOT EXISTS `bootbankjs` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci;
USE `bootbankjs`;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `balance`
--
CREATE TABLE `balance` (
`id` int(10) UNSIGNED NOT NULL,
`userid` int(11) NOT NULL,
`accountNumber` varchar(250) NOT NULL,
`balance` decimal(10,2) NOT NULL,
`date` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `transactions`
--
CREATE TABLE `transactions` (
`id` varchar(250) NOT NULL,
`userid` int(11) NOT NULL,
`accountNumber` varchar(250) NOT NULL,
`amount` decimal(10,2) NOT NULL,
`purpose` text NOT NULL,
`applicant` text NOT NULL,
`date` datetime NOT NULL,
`entryDate` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `user`
--
CREATE TABLE `user` (
`id` int(11) NOT NULL,
`username` varchar(250) NOT NULL,
`bankcode` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
`password` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
--
-- Indizes der exportierten Tabellen
--
--
-- Indizes für die Tabelle `balance`
--
ALTER TABLE `balance`
ADD PRIMARY KEY (`id`);
--
-- Indizes für die Tabelle `transactions`
--
ALTER TABLE `transactions`
ADD PRIMARY KEY (`id`,`accountNumber`);
--
-- Indizes für die Tabelle `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `user_blz` (`username`,`bankcode`);
--
-- AUTO_INCREMENT für exportierte Tabellen
--
--
-- AUTO_INCREMENT für Tabelle `balance`
--
ALTER TABLE `balance`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT für Tabelle `user`
--
ALTER TABLE `user`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<reponame>juni-trianto/myblog<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 4.9.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Waktu pembuatan: 18 Okt 2019 pada 16.32
-- Versi server: 5.7.24
-- Versi PHP: 7.2.19
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `myblog`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `admin`
--
CREATE TABLE `admin` (
`id` int(11) NOT NULL,
`username` varchar(255) NOT NULL,
`email` varchar(100) NOT NULL,
`password` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `admin`
--
INSERT INTO `admin` (`id`, `username`, `email`, `password`) VALUES
(1, 'juni', '<EMAIL>', '<PASSWORD>'),
(2, 'jambrong', '<EMAIL>', '<PASSWORD>');
-- --------------------------------------------------------
--
-- Struktur dari tabel `content`
--
CREATE TABLE `content` (
`id` int(11) NOT NULL,
`judul` varchar(255) NOT NULL,
`isi` text NOT NULL,
`kategori` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `content`
--
INSERT INTO `content` (`id`, `judul`, `isi`, `kategori`) VALUES
(2, 'ini content yang kedua', ' ini content yang kedua', '2 terbaru'),
(3, 'ini content yanke tiga', 'ini content yang ke tiga', '3'),
(9, 'ini judul yang ke 3', 'delete($id)', 'gula'),
(10, 'ini judul yang ke 312', 'terbaru\r\n', 'telor'),
(11, 'isi k3 3 terbaru banget', 'delete($id)', 'mouse sayur asam'),
(12, 'ini judul yang ke 312', ' ini judul yang ke 3', 'minuman');
--
-- Indexes for dumped tables
--
--
-- Indeks untuk tabel `admin`
--
ALTER TABLE `admin`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `content`
--
ALTER TABLE `content`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT untuk tabel yang dibuang
--
--
-- AUTO_INCREMENT untuk tabel `admin`
--
ALTER TABLE `admin`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT untuk tabel `content`
--
ALTER TABLE `content`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<reponame>panda2ici/Introduction-To-Database<filename>project_main/sqls/sql_insert/BelongsTo.sql
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (1,'001');
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (2,'002');
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (3,'002');
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (4,'004');
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (5,'005');
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (6,'006');
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (7,'007');
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (8,'008');
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (9,'009');
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (10,'0010');
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (11,'001');
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (12,'002');
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (13,'002');
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (14,'004');
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (15,'005');
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (16,'006');
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (17,'003');
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (18,'007');
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (19,'007');
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (20,'007');
INSERT INTO `BelongsTo` (`SIN`,`DNumber`) VALUES (21,'007');
|
<filename>db/schema.sql
DROP DATABASE IF EXISTS lifted_db;
CREATE DATABASE lifted_db;
USE `lifted_db`;
CREATE TABLE workouts(
id INT NOT NULL AUTO_INCREMENT,
email VARCHAR(100) NOT NULL,
password VARCHAR(100) NOT NULL,
token VARCHAR(12) NOT NULL,
PRIMARY KEY (id)
);
CREATE TABLE legs(
id INT NOT NULL AUTO_INCREMENT,
u_name VARCHAR(50) NOT NULL,
PRIMARY KEY (id),
FOREIGN KEY (user_id) REFERENCES user(id) ON DELETE SET NULL
);
CREATE TABLE arms(
id INT NOT NULL AUTO_INCREMENT,
u_text VARCHAR(500) NOT NULL,
PRIMARY KEY (id),
FOREIGN KEY (userprofiles_id) REFERENCES userprofiles(id) ON DELETE SET NULL
);
CREATE TABLE back(
id INT NOT NULL AUTO_INCREMENT,
u_text VARCHAR(500),
post_id INT NULL,
PRIMARY KEY (id),
FOREIGN KEY (userprofiles_id) REFERENCES user(id) ON DELETE SET NULL,
FOREIGN KEY (post_id) REFERENCES post(id) ON DELETE SET NULL
); |
<reponame>getwasim/egov-smartcity-suites-test<gh_stars>1-10
alter table egtl_license drop column id_uom ;
|
<gh_stars>1-10
CREATE TABLE `SVP` (
`id` int(9) unsigned NOT NULL AUTO_INCREMENT,
`len` tinyint(1) unsigned NOT NULL,
`suffix` varchar(16) NOT NULL,
`xiffus` varchar(16) NOT NULL,
`address` char(56) NOT NULL,
`seed` char(56) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `idxaddr` (`address`),
UNIQUE KEY `idxseed` (`seed`),
KEY `idxlen` (`len`),
KEY `idxxif` (`xiffus`),
KEY `idxsuf` (`suffix`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;
CREATE TABLE `keywords` (
`id` int(7) unsigned NOT NULL AUTO_INCREMENT,
`keyword` varchar(16) NOT NULL,
`type` varchar(5) NOT NULL,
`pool` tinyint(1) unsigned NOT NULL,
`len` tinyint(1) unsigned NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `idxkey` (`keyword`),
KEY `idxpool` (`pool`),
KEY `idxtype` (`type`),
KEY `idxlen` (`len`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;
|
-- 1. List the films where the yr is 1962 [Show id, title]
SELECT id, title
FROM movie
WHERE yr=1962
-- 2. Give year of 'Citizen Kane'.
SELECT yr
FROM movie
WHERE title='Citizen Kane'
-- 3. List all of the Star Trek movies, include the id, title and yr (all of these movies include the words Star Trek in the title). Order results by year.
SELECT id,title,yr
FROM movie
WHERE title LIKE '%Star Trek%' ORDER BY yr
-- 4. What id number does the actor '<NAME>' have?
SELECT id
FROM actor
WHERE name='<NAME>'
-- 5. What is the id of the film 'Casablanca'
SELECT id
FROM movie
WHERE title='Casablanca'
-- 6. Obtain the cast list for 'Casablanca'.
SELECT name
FROM casting JOIN actor ON id = actorid
WHERE movieid=11768
-- 7. Obtain the cast list for the film 'Alien'
SELECT name
FROM casting JOIN actor ON id = actorid INNER JOIN movie ON casting.movieid = movie.id
WHERE title='Alien'
-- 8. List the films in which '<NAME>' has appeared
SELECT title
FROM casting JOIN actor ON id = actorid INNER JOIN movie ON casting.movieid = movie.id
WHERE name='<NAME>'
-- 9. List the films where '<NAME>' has appeared - but not in the starring role. [Note: the ord field of casting gives the position of the actor. If ord=1 then this actor is in the starring role]
SELECT title
FROM casting JOIN actor ON id = actorid INNER JOIN movie ON casting.movieid = movie.id
WHERE name='<NAME>' AND ord<>1
-- 10. List the films together with the leading star for all 1962 films.
SELECT title, name
FROM casting JOIN actor ON id = actorid INNER JOIN movie ON casting.movieid = movie.id
WHERE yr=1962 AND ord=1
-- 11. Which were the busiest years for '<NAME>', show the year and the number of movies he made each year for any year in which he made more than 2 movies.
SELECT yr,COUNT(title) FROM
movie JOIN casting ON movie.id=movieid
JOIN actor ON actorid=actor.id
WHERE name='<NAME>'
GROUP BY yr
HAVING COUNT(title) > 2
-- 12. List the film title and the leading actor for all of the films '<NAME>' played in.
SELECT title, name
FROM movie JOIN casting ON (movieid=movie.id
AND ord=1)
JOIN actor ON (actorid=actor.id)
WHERE movie.id IN (SELECT movieid
FROM casting
WHERE actorid IN (
SELECT id FROM actor
WHERE name='<NAME>'))
-- 14. List the films released in the year 1978 ordered by the number of actors in the cast, then by title.
SELECT title, COUNT(actorid) FROM movie
JOIN casting ON movieid = movie.id
WHERE yr=1978
GROUP BY title
ORDER BY COUNT(actorid) DESC, title
-- 15. List all the people who have worked with '<NAME>'.
SELECT name FROM actor
JOIN casting ON actorid = actor.id
WHERE movieid IN (SELECT movie.id FROM movie
JOIN casting ON movieid = movie.id
JOIN actor ON actorid = actor.id
WHERE name = '<NAME>')
AND name != '<NAME>'
|
WHENEVER OSERROR EXIT FAILURE;
WHENEVER SQLERROR EXIT SQL.SQLCODE;
connect &&1; |
-- file:int8.sql ln:135 expect:true
select '9223372036854775800'::int8 + '9223372036854775800'::int8
|
-- Use the EXPLAIN and ANALYZE command to determine the planning time and cost as well as the execution time and cost to select all rows where the email subject is Shocking Holiday Savings On Electric Scooters
EXPLAIN ANALYZE SELECT * FROM emails where email_subject='Shocking Holiday Savings On Electric Scooters';
-- Use the EXPLAIN and ANALYZE command to determine the planning time and cost as well as the execution time and cost to select all rows where the email subject is Black Friday. Green Cars
EXPLAIN ANALYZE SELECT * FROM emails where email_subject='Black Friday. Green Cars.';
-- Create a hash scan on the email subject field
CREATE INDEX ix_email_subject ON emails USING HASH(email_subject);
-- Repeat step 1 from solution and compare both the outputs
EXPLAIN ANALYZE SELECT * FROM emails where email_subject='Shocking Holiday Savings On Electric Scooters';
-- Repeat step 2 from solution and compare both the outputs
EXPLAIN ANALYZE SELECT * FROM emails where email_subject='Black Friday. Green Cars.';
-- Create a hash scan on the customer_id field
CREATE INDEX ix_customer_id ON emails USING HASH(customer_id);
-- Use EXPLAIN and ANALYZE to estimate how long it would take to select all rows with a customer id value greater than 100
EXPLAIN ANALYZE SELECT * FROM emails WHERE customer_id > 100;
|
IMPORT INTO table_3 (col1, col2, col4) FROM ORA
AT my_oracle
USER 'agent_008' IDENTIFIED BY 'secret'
STATEMENT ' SELECT * FROM orders WHERE order_state=''OK'' '
ERRORS INTO error_table (CURRENT_TIMESTAMP)
REJECT LIMIT 10
;
----
IMPORT INTO table_3 (col1, col2, col4) FROM ORA
AT my_oracle
USER 'agent_008' IDENTIFIED BY 'secret'
TABLE a.tab (c1,c2,c3)
ERRORS INTO error_table (CURRENT_TIMESTAMP) REJECT LIMIT 10
;
----
IMPORT INTO table_1 FROM CSV
AT 'http://192.168.1.1:8080/' USER 'agent_007' IDENTIFIED BY 'secret'
FILE 'tab1_part1.csv' FILE 'tab1_part2.csv'
(
1 FORMAT='DD-MM-YYYY',
2..4 FORMAT='YYYYMMDD'
)
COLUMN SEPARATOR = ';'
SKIP = 5;
----
IMPORT INTO table_2 FROM FBV
AT my_fileserver
FILE 'tab2_part1.fbv'
(
SIZE=8 PADDING='+' ALIGN=RIGHT,
SIZE=4,
SIZE=8,
SIZE=32 FORMAT='DD-MM-YYYY'
)
TRIM
;
----
IMPORT INTO table_7 FROM SCRIPT etl.import_hcat_table
AT my_oracle USER 'agent_008' IDENTIFIED BY 'secret'
WITH HCAT_DB = 'default'
HCAT_TABLE = 'my_hcat_table'
HCAT_ADDRESS = 'hcatalog-server:50111'
HDFS_USER = 'hdfs';
----
IMPORT INTO table_4
FROM JDBC DRIVER='MSSQL'
AT 'jdbc:sqlserver://dbserver;databaseName=testdb'
USER 'agent_008' IDENTIFIED BY 'secret'
STATEMENT ' SELECT * FROM orders WHERE order_state=''OK'' ';
----
IMPORT INTO table_5 FROM CSV
AT 'http://HadoopNode:50070/webhdfs/v1/tmp'
FILE 'file.csv?op=OPEN&user.name=user';
----
IMPORT INTO table_6 FROM EXA
AT my_exasol
TABLE MY_SCHEMA.MY_TABLE;
----
IMPORT INTO (LIKE CAT) FROM EXA
AT my_exa_conn
STATEMENT ' SELECT OBJECT_NAME, OBJECT_TYPE FROM EXA_USER_OBJECTS WHERE OBJECT_TYPE IN (''TABLE'', ''VIEW'') ';
----
IMPORT INTO table_8
FROM LOCAL CSV FILE '~/my_table.csv'
COLUMN SEPARATOR = ';' SKIP = 5;
----
IMPORT INTO table_1 FROM CSV
AT 'https://<bucketname>.s3-<region>.amazonaws.com/'
USER '<AccessKeyID>' IDENTIFIED BY '<SecretAccessKey>'
FILE 'file.csv';
|
<gh_stars>1-10
DELETE FROM script_texts WHERE entry BETWEEN -1109004 AND -1109000;
INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES
(-1109000,'The walls of the chamber tremble. Something is happening...',0,2,0,0,'malfurion stormrage EMOTE_MALFURION'),
(-1109001,'Be steadfast, champion. I know why it is that you are here and I know what it is that you seek. Eranikus will not give up the shard freely. He has been twisted... twisted by the same force that you seek to destroy.',0,0,0,0,'malfurion stormrge SAY_MALFURION1'),
(-1109002,'Are you really surprised? Is it hard to believe that the power of an Old God could reach even inside the Dream? It is true - Eranikus, Tyrant of the Dream, wages a battle against us all. The Nightmare follows in his wake of destruction.',0,0,0,0,'malfurion stormrge SAY_MALFURION2'),
(-1109003,'Understand this, Eranikus wants nothing more than to be brought to Azeroth from the Dream. Once he is out, he will stop at nothing to destroy my physical manifestation. This, however, is the only way in which you could recover the scepter shard.',0,0,0,0,'malfurion stormrge SAY_MAFLURION3'),
(-1109004,'You will bring him back into this world, champion.',0,0,0,0,'malfurion Stormrge SAY_MALFURION4');
|
-- MySQL dump 10.13 Distrib 8.0.17, for Win64 (x86_64)
--
-- Host: localhost Database: syslog_server
-- ------------------------------------------------------
-- Server version 8.0.17
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `server`
--
DROP TABLE IF EXISTS `server`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `server` (
`idserver` int(11) NOT NULL AUTO_INCREMENT,
`name` mediumtext CHARACTER SET latin2 COLLATE latin2_general_ci,
`ip` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci,
`fw` tinyint(4) DEFAULT '0',
`sw` tinyint(4) DEFAULT '0',
`srv` tinyint(4) DEFAULT '0',
PRIMARY KEY (`idserver`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `syslog_fw`
--
DROP TABLE IF EXISTS `syslog_fw`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `syslog_fw` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`ip` varchar(45) DEFAULT NULL,
`prio` varchar(45) DEFAULT NULL,
`msg` longtext,
`from_ip` varchar(45) DEFAULT NULL,
`to_ip` varchar(45) DEFAULT NULL,
`tstamp` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2969 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `syslog_srv`
--
DROP TABLE IF EXISTS `syslog_srv`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `syslog_srv` (
`idsyslog_srv` int(11) NOT NULL AUTO_INCREMENT,
`service` varchar(45) DEFAULT NULL,
`msg` longtext,
`prio` varchar(45) DEFAULT NULL,
`client_ip` varchar(45) DEFAULT NULL,
`tstamp` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`idsyslog_srv`)
) ENGINE=InnoDB AUTO_INCREMENT=2437 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `syslog_switch`
--
DROP TABLE IF EXISTS `syslog_switch`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `syslog_switch` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`from_ip` varchar(45) DEFAULT NULL,
`msg` longtext,
`tstamp` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
`prio` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!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 2019-08-07 18:06:41
|
<reponame>JuanBono/Recetas
# --- !Ups
CREATE TABLE "RECETA" (
"NOMBRE" VARCHAR NOT NULL PRIMARY KEY,
"INGREDIENTES" VARCHAR,
"INSTRUCCIONES" VARCHAR,
"IMAGEN" VARCHAR
);
# --- !Downs
DROP TABLE "RECETA"; |
-- Remove the 'generate-opds` coverage record for all works.
delete from workcoveragerecords where operation='generate-opds';
|
<filename>shop-test.sql<gh_stars>0
-- MySQL dump 10.16 Distrib 10.1.38-MariaDB, for debian-linux-gnu (x86_64)
--
-- Host: localhost Database: shop-test
-- ------------------------------------------------------
-- Server version 10.1.38-MariaDB-0ubuntu0.18.04.1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES 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 `migrations`
--
DROP TABLE IF EXISTS `migrations`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `migrations` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `migrations`
--
LOCK TABLES `migrations` WRITE;
/*!40000 ALTER TABLE `migrations` DISABLE KEYS */;
INSERT INTO `migrations` VALUES (1,'2014_10_12_000000_create_users_table',1),(2,'2014_10_12_100000_create_password_resets_table',1),(3,'2019_04_13_081256_create_products_table_migration',1);
/*!40000 ALTER TABLE `migrations` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `password_resets`
--
DROP TABLE IF EXISTS `password_resets`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `password_resets` (
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
KEY `password_resets_email_index` (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `password_resets`
--
LOCK TABLES `password_resets` WRITE;
/*!40000 ALTER TABLE `password_resets` DISABLE KEYS */;
/*!40000 ALTER TABLE `password_resets` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `product_closure`
--
DROP TABLE IF EXISTS `product_closure`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `product_closure` (
`closure_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`ancestor` int(10) unsigned NOT NULL,
`descendant` int(10) unsigned NOT NULL,
`depth` int(10) unsigned NOT NULL,
PRIMARY KEY (`closure_id`),
KEY `product_closure_ancestor_foreign` (`ancestor`),
KEY `product_closure_descendant_foreign` (`descendant`),
CONSTRAINT `product_closure_ancestor_foreign` FOREIGN KEY (`ancestor`) REFERENCES `products` (`id`) ON DELETE CASCADE,
CONSTRAINT `product_closure_descendant_foreign` FOREIGN KEY (`descendant`) REFERENCES `products` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `product_closure`
--
LOCK TABLES `product_closure` WRITE;
/*!40000 ALTER TABLE `product_closure` DISABLE KEYS */;
INSERT INTO `product_closure` VALUES (1,1,2,1),(2,1,3,1),(3,2,4,1),(4,2,5,1),(5,1,4,2),(6,1,5,2),(7,3,6,1),(8,1,6,2),(9,9,10,1),(10,9,11,1),(11,10,12,1),(12,10,13,1),(13,10,14,1),(14,11,15,1),(15,9,12,2),(16,9,13,2),(17,9,14,2),(18,9,15,2),(19,9,16,1),(20,9,17,1);
/*!40000 ALTER TABLE `product_closure` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `products`
--
DROP TABLE IF EXISTS `products`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `products` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`parent_id` int(10) unsigned DEFAULT NULL,
`position` int(10) unsigned NOT NULL,
`real_depth` int(10) unsigned NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`deleted_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `products_parent_id_foreign` (`parent_id`),
CONSTRAINT `products_parent_id_foreign` FOREIGN KEY (`parent_id`) REFERENCES `products` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `products`
--
LOCK TABLES `products` WRITE;
/*!40000 ALTER TABLE `products` DISABLE KEYS */;
INSERT INTO `products` VALUES (1,NULL,1,0,'Женская одежда','jenskaya-odezhda',NULL),(2,1,2,1,'Блузы',NULL,NULL),(3,1,3,1,'Юбки',NULL,NULL),(4,2,4,2,'Красная блуза',NULL,NULL),(5,2,5,2,'Белая блуза',NULL,NULL),(6,3,6,2,'Коричневая юбка',NULL,NULL),(7,1,7,0,'Розовые макасины',NULL,NULL),(8,1,8,0,'Леопардовые трусы',NULL,NULL),(9,NULL,9,0,'Мужская одежда','mugskaya-odezhda',NULL),(10,9,10,1,'Футболки',NULL,NULL),(11,9,11,1,'Костюмы',NULL,NULL),(12,10,12,2,'Большая футболка',NULL,NULL),(13,10,13,2,'Маленькая футболка',NULL,NULL),(14,10,14,2,'Cредняя футболка',NULL,NULL),(15,11,15,1,'Стильный костюм',NULL,NULL),(16,9,16,0,'Часы',NULL,NULL),(17,9,17,0,'Чертовски красивый пояс',NULL,NULL);
/*!40000 ALTER TABLE `products` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `users` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_verified_at` timestamp NULL DEFAULT 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,
PRIMARY KEY (`id`),
UNIQUE KEY `users_email_unique` (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `users`
--
LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2019-04-13 12:34:19
|
<reponame>Rick-Smart/eat-the-burger
CREATE DATABASE burgers_db;
USE burgers_db;
CREATE TABLE burgers (
id INT NOT NULL AUTO_INCREMENT,
burger_name VARCHAR(30) NULL,
devoured BOOLEAN DEFAULT 0,
PRIMARY KEY (id)
) |
<filename>pkg/database/migrations/postgres/26_scene_partial_date.down.sql<gh_stars>0
ALTER TABLE "scenes"
DROP COLUMN "date_accuracy";
|
<reponame>Fittings/fittings-site<filename>fittings-data/migrations/20170531192951_gallery_images/up.sql<gh_stars>0
CREATE TABLE gallery_images(
gallery_id INTEGER NOT NULL,
image_id INTEGER NOT NULL,
FOREIGN KEY(gallery_id) REFERENCES galleries(id),
FOREIGN KEY(image_id) REFERENCES image_locations(id),
PRIMARY KEY(gallery_id, image_id)
);
|
<filename>aukjes_sandbox/static/sql/test_query.sql
select date,
sum(conf_count) confirmed,
sum(susp_count) suspected,
sum(cured_count) cured,
sum(dead_count) dead
from daily_stats
group by date
order by date |
<reponame>frankschmitt/db_connect
select distinct d.owner as "source", d.referenced_owner as "target", 'db' as "type"
from dba_dependencies d
join dba_users o
on o.username = d.owner
join dba_users r
on r.username = d.referenced_owner
where 1=1
and d.owner != d.referenced_owner -- ignore self-references
and o.oracle_maintained = 'N' -- ignore Oracle-internal referencing schemata
and r.oracle_maintained = 'N' -- ignore Oracle-internal referenced schemata
-- and d.owner not in ( <schemas_to_exclude>)
order by d.owner, d.referenced_owner
;
|
<reponame>ddssssdd/warehouse
/*
SQLyog Ultimate v11.24 (32 bit)
MySQL - 5.5.52-0ubuntu0.14.04.1 : Database - warehouse
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!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 `ClientContacts` */
DROP TABLE IF EXISTS `ClientContacts`;
CREATE TABLE `ClientContacts` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`ClientId` int(11) DEFAULT NULL,
`ContactId` int(11) DEFAULT NULL,
`Memo` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
/*Data for the table `ClientContacts` */
insert into `ClientContacts`(`id`,`ClientId`,`ContactId`,`Memo`) values (1,5,8,NULL),(2,6,9,NULL),(3,7,9,NULL),(4,8,10,NULL),(5,9,11,NULL),(6,10,12,NULL);
/*Table structure for table `Clients` */
DROP TABLE IF EXISTS `Clients`;
CREATE TABLE `Clients` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`Name` varchar(200) DEFAULT NULL,
`Phone` varchar(50) DEFAULT NULL,
`Fax` varchar(50) DEFAULT NULL,
`Email` varchar(200) DEFAULT NULL,
`Address` varchar(200) DEFAULT NULL,
`ContactId` int(11) DEFAULT NULL,
PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
/*Data for the table `Clients` */
insert into `Clients`(`Id`,`Name`,`Phone`,`Fax`,`Email`,`Address`,`ContactId`) values (1,'客户1','456789','8888','<EMAIL>','456789',8),(2,'永大','66661','88881','<EMAIL>','66661',NULL),(3,'Moto','null','3453','<EMAIL>','null',NULL),(4,'Chicago-Telcom','3332','345322','<EMAIL>','3332',NULL),(5,'newclient2','3332','3453','<EMAIL>','address',8),(6,'newclient3','3222','666','<EMAIL>','add',NULL),(7,'newclient4','3222','666','<EMAIL>','add',9),(8,'test2','3333','444','<EMAIL>','address',10),(9,'阿斯顿发斯蒂芬','asdf','dsfadsf','asdf','asdf',11),(10,'大萨达','gggggg','萨达','as','gggggg',12);
/*Table structure for table `Contacts` */
DROP TABLE IF EXISTS `Contacts`;
CREATE TABLE `Contacts` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`Name` varchar(200) DEFAULT NULL,
`Phone` varchar(50) DEFAULT NULL,
`Email` varchar(50) DEFAULT NULL,
`Cellphone` varchar(50) DEFAULT NULL,
`qq` varchar(50) DEFAULT NULL,
`weixin` varchar(50) DEFAULT NULL,
`Address` varchar(200) DEFAULT NULL,
`Memo` text,
PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8;
/*Data for the table `Contacts` */
insert into `Contacts`(`Id`,`Name`,`Phone`,`Email`,`Cellphone`,`qq`,`weixin`,`Address`,`Memo`) values (1,'qiangdong','3333','<EMAIL>','333',NULL,NULL,'3333',NULL),(2,'liusan','3333','<EMAIL>','333','aabb','no','3333',NULL),(3,'liusan','3333','<EMAIL>','333','aabb','no','3333',NULL),(4,'qiangd2ong2','3333','<EMAIL>','333','aabb','no','3333',NULL),(5,'michael',NULL,NULL,'13905329087',NULL,NULL,NULL,NULL),(6,'StevenFu','646353','<EMAIL>','1395322222',NULL,NULL,'address4',NULL),(7,'StevenFu','646353','<EMAIL>','1395322222',NULL,NULL,'address4',NULL),(8,'Tom','3332','<EMAIL>','Cluse',NULL,NULL,'address',NULL),(9,'Hillary','3222','<EMAIL>','54232322',NULL,NULL,'add',NULL),(10,'contact1','3333','<EMAIL>','138',NULL,NULL,'address',NULL),(11,'asdf','asdf','asdf','sadf',NULL,NULL,'sadfa',NULL),(12,'as','啊','as','阿萨德',NULL,NULL,'撒地方',NULL),(13,'3223232','23','2','23232323',NULL,NULL,NULL,NULL),(14,'大名','23','2','128',NULL,NULL,'多',NULL);
/*Table structure for table `Inventories` */
DROP TABLE IF EXISTS `Inventories`;
CREATE TABLE `Inventories` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`StoreId` int(11) DEFAULT NULL,
`ProductId` int(11) DEFAULT NULL,
`Quantity` decimal(10,2) DEFAULT NULL,
`MaxPrice` decimal(10,2) DEFAULT NULL,
`MinPrice` decimal(10,2) DEFAULT NULL,
`MinOutPrice` decimal(10,2) DEFAULT NULL,
`MaxOutPrice` decimal(10,2) DEFAULT NULL,
`Index` int(11) DEFAULT NULL,
`LastUpdate` datetime DEFAULT NULL,
`UserId` int(11) DEFAULT NULL,
PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
/*Data for the table `Inventories` */
insert into `Inventories`(`Id`,`StoreId`,`ProductId`,`Quantity`,`MaxPrice`,`MinPrice`,`MinOutPrice`,`MaxOutPrice`,`Index`,`LastUpdate`,`UserId`) values (1,1,1,'-4.00','14.00','0.99','0.90','14.00',13,'2016-12-10 08:41:25',4),(2,2,3,'2.00','2.50','1.25','20.00','20.00',4,'2016-12-10 10:31:41',4),(3,2,6,'1.00','1.25','1.25','1.25','1.25',5,'2016-12-10 09:08:14',4),(4,2,8,'1.00','1.25','1.25',NULL,NULL,1,'2016-12-04 12:19:43',NULL),(5,1,3,'-1.00','1.25','1.25','1.25','1.25',5,'2016-12-10 10:26:04',4),(6,1,2,'0.00','33.25','33.25',NULL,NULL,2,'2016-12-10 08:42:49',4),(7,3,2,'0.00','33.25','33.25','33.25','33.25',2,'2016-12-10 10:35:07',4);
/*Table structure for table `Messages` */
DROP TABLE IF EXISTS `Messages`;
CREATE TABLE `Messages` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`ToUserId` int(11) DEFAULT NULL,
`Title` varchar(500) DEFAULT NULL,
`Message` varchar(2000) DEFAULT NULL,
`Link` varchar(300) DEFAULT NULL,
`Type` varchar(20) DEFAULT NULL,
`Version` int(11) DEFAULT NULL,
`GetDate` datetime DEFAULT NULL,
`HasRead` int(11) DEFAULT NULL,
`CreateDate` datetime DEFAULT NULL,
PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
/*Data for the table `Messages` */
insert into `Messages`(`Id`,`ToUserId`,`Title`,`Message`,`Link`,`Type`,`Version`,`GetDate`,`HasRead`,`CreateDate`) values (2,0,'Update apk',NULL,'http://localhost:8000/warehouse/uploads/1480927465.apk','Install',2,NULL,NULL,NULL),(4,1,'Upload new file','http://localhost/warehouse/uploads/1480939424.png','http://localhost/warehouse/uploads/1480939424.png','Message',NULL,'2016-12-05 12:06:21',1,'2016-12-05 12:03:44'),(5,1,'Upload new file','http://192.168.31.234/warehouse/uploads/1481339559.jpg','http://192.168.31.234/warehouse/uploads/1481339559.jpg','Message',NULL,NULL,0,'2016-12-10 03:12:39');
/*Table structure for table `Products` */
DROP TABLE IF EXISTS `Products`;
CREATE TABLE `Products` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`Name` varchar(200) DEFAULT NULL,
`Specification` varchar(200) DEFAULT NULL,
`Unit` varchar(20) DEFAULT NULL,
`Width` decimal(10,0) DEFAULT NULL,
`Height` decimal(10,0) DEFAULT NULL,
`Length` decimal(10,0) DEFAULT NULL,
`Brand` varchar(200) DEFAULT NULL,
`Barcode` varchar(100) DEFAULT NULL,
`Price` decimal(10,2) DEFAULT NULL,
PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8;
/*Data for the table `Products` */
insert into `Products`(`Id`,`Name`,`Specification`,`Unit`,`Width`,`Height`,`Length`,`Brand`,`Barcode`,`Price`) values (1,'钢管','塑钢管','10根','2','3','1','方正','','14.00'),(2,'三角','铜质','1','10','20','50','HiSense','335698','33.25'),(3,'灯泡','hisense','12','102','202','502','HiSense','335698','1.25'),(4,'被子','hisense','1','10','20','50','HiSense','335698','1.25'),(5,'电饼铛','hisense','1','10','20','50','HiSense','335698','1.25'),(6,'茶壶','specification','3','3','4','2','haier','22222','1.25'),(7,'5号钢管','spe','un','4','5','2','223e','sdf','1.25'),(8,'8号钢管','null','2','2','2','1','no','afsdfasdf','1.25'),(9,'电视','ggg','uuu','300','0','1','FDTD','d','0.00'),(10,'新产品','g','u','20','30','10','b','bar','10.00'),(11,'垃圾桶auto','8*8','a','0','0','0','','','0.00'),(12,'耳机','无线','只','0','0','45','一定发','','0.00'),(13,'椅子','自动转移','个','0','0','0','明星','','456.00'),(14,'杯子','规格','只','2','1','1','null','null','10.00');
/*Table structure for table `StockInDetails` */
DROP TABLE IF EXISTS `StockInDetails`;
CREATE TABLE `StockInDetails` (
`Id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`StockInId` int(11) DEFAULT NULL,
`ProductId` int(11) DEFAULT NULL,
`Specification` varchar(200) DEFAULT NULL,
`Quantity` decimal(10,2) DEFAULT NULL,
`Price` decimal(10,2) DEFAULT NULL,
`Memo` varchar(2000) DEFAULT NULL,
`StoreId` int(11) DEFAULT NULL,
`InventoryId` int(11) DEFAULT NULL,
`UpdateDate` datetime DEFAULT NULL,
`UpdateSequ` int(11) DEFAULT NULL,
`BeforeUpdate` decimal(10,2) DEFAULT NULL,
`AfterUpdate` decimal(10,2) DEFAULT NULL,
`ChangedId` int(11) DEFAULT NULL,
PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8;
/*Data for the table `StockInDetails` */
insert into `StockInDetails`(`Id`,`StockInId`,`ProductId`,`Specification`,`Quantity`,`Price`,`Memo`,`StoreId`,`InventoryId`,`UpdateDate`,`UpdateSequ`,`BeforeUpdate`,`AfterUpdate`,`ChangedId`) values (1,1,1,'塑钢管','1.00','1.00','',1,1,'2016-12-04 03:31:59',1,'0.00','1.00',13),(2,2,1,'塑钢管','1.00','0.99','',1,1,'2016-12-04 03:32:48',2,'1.00','2.00',NULL),(3,3,1,'塑钢管','1.00','2.00','',1,1,'2016-12-04 03:33:11',3,'2.00','3.00',NULL),(4,4,3,'hisense','1.00','1.25','',2,2,'2016-12-04 04:53:32',1,'0.00','1.00',NULL),(5,5,6,'specification','1.00','1.25','',2,3,'2016-12-04 12:19:43',1,'0.00','1.00',NULL),(6,5,3,'hisense','1.00','1.25','',2,2,'2016-12-04 12:19:43',3,'0.00','1.00',NULL),(7,5,8,'null','1.00','1.25','',2,4,'2016-12-04 12:19:43',1,'0.00','1.00',NULL),(8,6,3,'hisense','1.00','1.25','',1,5,'2016-12-10 03:08:20',1,'0.00','1.00',18),(9,6,1,'塑钢管','1.00','14.00','',1,1,'2016-12-10 03:08:20',7,'-1.00','0.00',NULL),(10,7,1,'塑钢管','-1.00','1.00','',1,1,'2016-12-10 08:08:36',9,'-1.00','-2.00',12),(11,7,1,'塑钢管','-1.00','1.00','',1,1,'2016-12-10 08:24:18',10,'-2.00','-3.00',NULL),(12,7,1,'塑钢管','-1.00','1.00','',1,1,'2016-12-10 08:31:48',11,'-3.00','-4.00',7),(13,1,1,'塑钢管','-1.00','1.00','',1,1,'2016-12-10 08:37:22',12,'-4.00','-5.00',1),(14,8,1,'塑钢管','1.00','14.00','',1,1,'2016-12-10 08:41:25',13,'-5.00','-4.00',NULL),(15,8,2,'铜质','1.00','33.25','',1,6,'2016-12-10 08:41:26',1,'0.00','1.00',17),(16,8,3,'hisense','1.00','1.25','',1,5,'2016-12-10 08:41:26',4,'-1.00','0.00',NULL),(17,8,2,'铜质','-1.00','33.25','',1,6,'2016-12-10 08:42:50',2,'1.00','0.00',15),(18,6,3,'hisense','-1.00','1.25','',1,5,'2016-12-10 10:26:04',5,'0.00','-1.00',8),(19,6,2,'铜质','1.00','33.25','',3,7,'2016-12-10 10:31:09',1,'0.00','1.00',NULL),(20,6,3,'hisense2','1.00','2.50','',2,2,'2016-12-10 10:31:41',4,'1.00','2.00',NULL);
/*Table structure for table `StockIns` */
DROP TABLE IF EXISTS `StockIns`;
CREATE TABLE `StockIns` (
`Id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`InvoiceNo` varchar(200) DEFAULT NULL,
`EnteredDate` date DEFAULT NULL,
`VendorId` int(11) DEFAULT NULL,
`TotalPrice` decimal(10,2) DEFAULT NULL,
`TotalNo` decimal(10,2) DEFAULT NULL,
`UserId` int(11) DEFAULT NULL,
`Memo` varchar(2000) DEFAULT NULL,
`StoreId` int(11) DEFAULT NULL,
PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
/*Data for the table `StockIns` */
insert into `StockIns`(`Id`,`InvoiceNo`,`EnteredDate`,`VendorId`,`TotalPrice`,`TotalNo`,`UserId`,`Memo`,`StoreId`) values (1,'001','2016-12-04',1,'-1.00','-1.00',4,'',1),(2,'002','2016-12-04',7,'0.99','1.00',4,'',1),(3,'002','2016-12-04',7,'2.00','1.00',4,'',1),(4,'002','2016-12-04',1,'1.25','1.00',4,'',0),(5,'009','2016-12-04',1,'3.75','3.00',NULL,'',2),(6,'009','2016-12-10',1,'49.75','3.00',4,'',1),(7,'001','2016-12-04',11,'-1.00','-1.00',4,'5555',9),(8,'1001','2016-12-10',2,'-18.00','1.00',4,'',1);
/*Table structure for table `StockOutDetails` */
DROP TABLE IF EXISTS `StockOutDetails`;
CREATE TABLE `StockOutDetails` (
`Id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`StockOutId` int(11) DEFAULT NULL,
`StoreId` int(11) DEFAULT NULL,
`ProductId` int(11) DEFAULT NULL,
`Quantity` decimal(10,2) DEFAULT NULL,
`Price` decimal(10,2) DEFAULT NULL,
`Memo` varchar(2000) DEFAULT NULL,
`InventoryId` int(11) DEFAULT NULL,
`UpdateDate` datetime DEFAULT NULL,
`UpdateSequ` int(11) DEFAULT NULL,
`BeforeUpdate` decimal(10,2) DEFAULT NULL,
`AfterUpdate` decimal(10,2) DEFAULT NULL,
`ChangedId` int(11) DEFAULT NULL,
PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
/*Data for the table `StockOutDetails` */
insert into `StockOutDetails`(`Id`,`StockOutId`,`StoreId`,`ProductId`,`Quantity`,`Price`,`Memo`,`InventoryId`,`UpdateDate`,`UpdateSequ`,`BeforeUpdate`,`AfterUpdate`,`ChangedId`) values (1,1,1,1,'1.00','1.00','',1,'2016-12-04 03:34:03',4,'3.00','2.00',NULL),(2,2,1,1,'1.00','0.90','',1,'2016-12-04 03:41:05',5,'2.00','1.00',NULL),(3,3,1,1,'2.00','14.00','',1,'2016-12-04 03:41:38',6,'1.00','-1.00',NULL),(4,4,2,3,'1.00','20.00','',2,'2016-12-04 04:54:01',2,'1.00','0.00',NULL),(5,5,2,6,'1.00','1.25','',3,'2016-12-10 03:08:55',2,'1.00','0.00',10),(6,5,1,3,'1.00','1.25','',5,'2016-12-10 03:08:56',2,'1.00','0.00',NULL),(7,6,2,6,'1.00','1.25','',3,'2016-12-10 03:08:57',3,'0.00','-1.00',11),(8,6,1,3,'1.00','1.25','',5,'2016-12-10 03:08:58',3,'0.00','-1.00',NULL),(9,7,1,1,'1.00','14.00','',1,'2016-12-10 03:17:10',8,'0.00','-1.00',NULL),(10,5,2,6,'-1.00','1.25','',3,'2016-12-10 09:05:58',4,'-1.00','0.00',5),(11,6,2,6,'-1.00','1.25','',3,'2016-12-10 09:08:14',5,'0.00','1.00',7),(12,5,3,2,'1.00','33.25','',7,'2016-12-10 10:35:07',2,'1.00','0.00',NULL);
/*Table structure for table `StockOuts` */
DROP TABLE IF EXISTS `StockOuts`;
CREATE TABLE `StockOuts` (
`Id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`InvoiceNo` varchar(200) DEFAULT NULL,
`EnteredDate` date DEFAULT NULL,
`ClientId` int(11) DEFAULT NULL,
`TotalPrice` decimal(10,2) DEFAULT NULL,
`TotalNo` decimal(10,2) DEFAULT NULL,
`UserId` int(11) DEFAULT NULL,
`Memo` varchar(2000) DEFAULT NULL,
PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
/*Data for the table `StockOuts` */
insert into `StockOuts`(`Id`,`InvoiceNo`,`EnteredDate`,`ClientId`,`TotalPrice`,`TotalNo`,`UserId`,`Memo`) values (1,'001','2016-12-04',1,'1.00','1.00',4,''),(2,'001','2016-12-04',1,'0.90','1.00',4,''),(3,'001','2016-12-04',1,'28.00','2.00',4,''),(4,'002','2016-12-04',2,'20.00','1.00',4,''),(5,'0091','2016-12-10',1,'34.50','2.00',4,'kkkkk '),(6,'009','2016-12-10',3,'1.25','1.00',4,'kkkkk '),(7,'8888','2016-12-10',4,'14.00','1.00',4,'');
/*Table structure for table `Stores` */
DROP TABLE IF EXISTS `Stores`;
CREATE TABLE `Stores` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`Name` varchar(200) DEFAULT NULL,
`Address` varchar(200) DEFAULT NULL,
`Phone` varchar(50) DEFAULT NULL,
`Fax` varchar(50) DEFAULT NULL,
`Manager` int(11) DEFAULT NULL,
PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
/*Data for the table `Stores` */
insert into `Stores`(`Id`,`Name`,`Address`,`Phone`,`Fax`,`Manager`) values (1,'虎山路店','333332','333332','88882',3),(2,'第一仓库','3','3','88883',3),(3,'第二仓库','33333','33333','8888',1),(7,'test4','332','332','3332',1),(9,'zhognxin','33','33','22',10),(10,'zhongxin2','aa','aa','33',2);
/*Table structure for table `Uploads` */
DROP TABLE IF EXISTS `Uploads`;
CREATE TABLE `Uploads` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`UserId` int(11) DEFAULT NULL,
`FileName` varchar(200) DEFAULT NULL,
`FileType` varchar(200) DEFAULT NULL,
`FilePath` varchar(200) DEFAULT NULL,
`FullPath` varchar(200) DEFAULT NULL,
`RawName` varchar(200) DEFAULT NULL,
`FileExt` varchar(20) DEFAULT NULL,
`FileSize` decimal(10,2) DEFAULT NULL,
`IsImage` tinyint(1) DEFAULT NULL,
`ImageWidth` decimal(10,2) DEFAULT NULL,
`ImageHeight` decimal(10,2) DEFAULT NULL,
PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8;
/*Data for the table `Uploads` */
insert into `Uploads`(`Id`,`UserId`,`FileName`,`FileType`,`FilePath`,`FullPath`,`RawName`,`FileExt`,`FileSize`,`IsImage`,`ImageWidth`,`ImageHeight`) values (8,1,'1480917874.jpg','image/jpeg','/var/www/html/uploads/','/var/www/html/uploads/1480917874.jpg','1480917874','.jpg','71.71',1,'270.00','360.00'),(9,1,'1480924058.jpg','image/jpeg','D:/xampp563/htdocs/warehouse/uploads/','D:/xampp563/htdocs/warehouse/uploads/1480924058.jpg','1480924058','.jpg','39.37',1,'950.00','633.00'),(10,1,'1480924239.jpg','image/jpeg','D:/xampp563/htdocs/warehouse/uploads/','D:/xampp563/htdocs/warehouse/uploads/1480924239.jpg','1480924239','.jpg','271.15',1,'768.00','1152.00'),(11,1,'1480924263.jpg','image/jpeg','D:/xampp563/htdocs/warehouse/uploads/','D:/xampp563/htdocs/warehouse/uploads/1480924263.jpg','1480924263','.jpg','71.52',1,'533.00','796.00'),(12,1,'1480924574.jpg','image/jpeg','/var/www/html/uploads/','/var/www/html/uploads/1480924574.jpg','1480924574','.jpg','66.32',1,'533.00','796.00'),(13,1,'1480926322.apk','application/octet-stream','D:/xampp563/htdocs/warehouse/uploads/','D:/xampp563/htdocs/warehouse/uploads/1480926322.apk','1480926322','.apk','2083.72',0,NULL,NULL),(14,1,'1480927184.apk','application/octet-stream','D:/xampp563/htdocs/warehouse/uploads/','D:/xampp563/htdocs/warehouse/uploads/1480927184.apk','1480927184','.apk','2083.72',0,NULL,NULL),(15,1,'1480927294.apk','application/octet-stream','D:/xampp563/htdocs/warehouse/uploads/','D:/xampp563/htdocs/warehouse/uploads/1480927294.apk','1480927294','.apk','2083.72',0,NULL,NULL),(16,1,'1480927354.apk','application/octet-stream','D:/xampp563/htdocs/warehouse/uploads/','D:/xampp563/htdocs/warehouse/uploads/1480927354.apk','1480927354','.apk','2083.72',0,NULL,NULL),(17,1,'1480927454.jpg','image/jpeg','D:/xampp563/htdocs/warehouse/uploads/','D:/xampp563/htdocs/warehouse/uploads/1480927454.jpg','1480927454','.jpg','71.71',1,'270.00','360.00'),(18,1,'1480927465.apk','application/octet-stream','D:/xampp563/htdocs/warehouse/uploads/','D:/xampp563/htdocs/warehouse/uploads/1480927465.apk','1480927465','.apk','2083.72',0,NULL,NULL),(19,1,'1480937068.jpg','image/jpeg','/var/www/html/uploads/','/var/www/html/uploads/1480937068.jpg','1480937068','.jpg','73.78',1,'640.00','640.00'),(20,1,'1480938664.jpg','image/jpeg','/Applications/XAMPP/xamppfiles/htdocs/warehouse/uploads/','/Applications/XAMPP/xamppfiles/htdocs/warehouse/uploads/1480938664.jpg','1480938664','.jpg','20.95',1,'283.00','364.00'),(21,1,'1480938849.jpg','image/jpeg','/Applications/XAMPP/xamppfiles/htdocs/warehouse/uploads/','/Applications/XAMPP/xamppfiles/htdocs/warehouse/uploads/1480938849.jpg','1480938849','.jpg','267.68',1,'1775.00','2400.00'),(22,1,'1480939232.JPG','image/jpeg','/Applications/XAMPP/xamppfiles/htdocs/warehouse/uploads/','/Applications/XAMPP/xamppfiles/htdocs/warehouse/uploads/1480939232.JPG','1480939232','.JPG','2441.70',1,'4000.00','2664.00'),(23,1,'1480939300.jpg','image/jpeg','/Applications/XAMPP/xamppfiles/htdocs/warehouse/uploads/','/Applications/XAMPP/xamppfiles/htdocs/warehouse/uploads/1480939300.jpg','1480939300','.jpg','26.57',1,'287.00','460.00'),(24,1,'1480939424.png','image/png','/Applications/XAMPP/xamppfiles/htdocs/warehouse/uploads/','/Applications/XAMPP/xamppfiles/htdocs/warehouse/uploads/1480939424.png','1480939424','.png','292.44',1,'915.00','893.00'),(25,1,'1481339559.jpg','image/jpeg','/Applications/XAMPP/xamppfiles/htdocs/warehouse/uploads/','/Applications/XAMPP/xamppfiles/htdocs/warehouse/uploads/1481339559.jpg','1481339559','.jpg','138.66',1,'800.00','800.00');
/*Table structure for table `Users` */
DROP TABLE IF EXISTS `Users`;
CREATE TABLE `Users` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`Name` varchar(50) DEFAULT NULL,
`Password` varchar(20) DEFAULT NULL,
`Email` varchar(50) DEFAULT NULL,
`Cellphone` varchar(20) DEFAULT NULL,
PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*Data for the table `Users` */
insert into `Users`(`Id`,`Name`,`Password`,`Email`,`Cellphone`) values (1,'Steven','123456','<EMAIL>','13953253109'),(2,'管理员','123456','<EMAIL>','13953253109'),(4,'admin','2','<EMAIL>','admin');
/*Table structure for table `VendorContacts` */
DROP TABLE IF EXISTS `VendorContacts`;
CREATE TABLE `VendorContacts` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`VendorId` int(11) DEFAULT NULL,
`ContactId` int(11) DEFAULT NULL,
`Memo` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*Data for the table `VendorContacts` */
insert into `VendorContacts`(`id`,`VendorId`,`ContactId`,`Memo`) values (2,19,6,NULL),(3,20,13,NULL),(4,21,14,NULL);
/*Table structure for table `Vendors` */
DROP TABLE IF EXISTS `Vendors`;
CREATE TABLE `Vendors` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`Name` varchar(200) DEFAULT NULL,
`Phone` varchar(30) DEFAULT NULL,
`Email` varchar(50) DEFAULT NULL,
`Address` varchar(200) DEFAULT NULL,
`Fax` varchar(30) DEFAULT NULL,
`ContactId` int(11) DEFAULT NULL,
PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8;
/*Data for the table `Vendors` */
insert into `Vendors`(`Id`,`Name`,`Phone`,`Email`,`Address`,`Fax`,`ContactId`) values (1,'国信','12345678AAAA','<EMAIL>','12345678AAAA','33333AAAA',NULL),(2,'Haire','1234567812','<EMAIL>','address12','fax12',NULL),(7,'Hisensez','12345678','','12345678','null',NULL),(10,'test1','12345678','','12345678','null',NULL),(11,'vendor2','139532','email','139532','fax',NULL),(13,'21century_2','3333','<EMAIL>','3333','888',NULL),(14,'newvendor','87654321','<EMAIL>','87654321','333333',NULL),(16,'new3','3333','<EMAIL>','address2','555',5),(17,'new4','646353','<EMAIL>','address4','24234243',6),(19,'new6','646353','<EMAIL>','address4','24234243',6),(20,'新的','23','2',NULL,'23',13),(21,'新的2','23','2','多','23',14);
/* Procedure structure for procedure `Init_Warehouse` */
/*!50003 DROP PROCEDURE IF EXISTS `Init_Warehouse` */;
DELIMITER $$
/*!50003 CREATE DEFINER=`root`@`%` PROCEDURE `Init_Warehouse`()
BEGIN
TRUNCATE TABLE ClientContacts;
TRUNCATE TABLE Clients;
TRUNCATE TABLE Contacts;
TRUNCATE TABLE Inventories;
TRUNCATE TABLE Products;
TRUNCATE TABLE StockInDetails;
TRUNCATE TABLE StockIns;
TRUNCATE TABLE StockOutDetails;
TRUNCATE TABLE StockOuts;
TRUNCATE TABLE Stores;
TRUNCATE TABLE VendorContacts;
TRUNCATE TABLE Vendors;
TRUNCATE TABLE Uploads;
END */$$
DELIMITER ;
/* Procedure structure for procedure `Init_Warehouse_Only_Stocks` */
/*!50003 DROP PROCEDURE IF EXISTS `Init_Warehouse_Only_Stocks` */;
DELIMITER $$
/*!50003 CREATE DEFINER=`root`@`%` PROCEDURE `Init_Warehouse_Only_Stocks`()
BEGIN
TRUNCATE TABLE Inventories;
TRUNCATE TABLE StockInDetails;
TRUNCATE TABLE StockIns;
TRUNCATE TABLE StockOutDetails;
TRUNCATE TABLE StockOuts;
TRUNCATE TABLE Messages;
TRUNCATE TABLE Uploads;
END */$$
DELIMITER ;
/* Procedure structure for procedure `Update_Inventory` */
/*!50003 DROP PROCEDURE IF EXISTS `Update_Inventory` */;
DELIMITER $$
/*!50003 CREATE DEFINER=`root`@`%` PROCEDURE `Update_Inventory`(out s int)
BEGIN
select count(*) into s from Products;
END */$$
DELIMITER ;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
--
-- PostgreSQL database dump
--
-- Dumped from database version 12.2 (Ubuntu 12.2-2.pgdg19.10+1)
-- Dumped by pg_dump version 12.2 (Ubuntu 12.2-2.pgdg19.10+1)
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
--
-- Name: pgcrypto; Type: EXTENSION; Schema: -; Owner: -
--
CREATE EXTENSION IF NOT EXISTS pgcrypto WITH SCHEMA public;
--
-- Name: EXTENSION pgcrypto; Type: COMMENT; Schema: -; Owner:
--
COMMENT ON EXTENSION pgcrypto IS 'cryptographic functions';
SET default_tablespace = '';
SET default_table_access_method = heap;
--
-- Name: query; Type: TABLE; Schema: public; Owner: kmr44
--
CREATE TABLE public.query (
id uuid NOT NULL,
query_json jsonb NOT NULL,
creation_timestamp timestamp without time zone DEFAULT now() NOT NULL
);
ALTER TABLE public.query OWNER TO kmr44;
--
-- Name: query query_id_key; Type: CONSTRAINT; Schema: public; Owner: kmr44
--
ALTER TABLE ONLY public.query
ADD CONSTRAINT query_id_key UNIQUE (id);
--
-- Name: query_json_sha256_idx; Type: INDEX; Schema: public; Owner: kmr44
--
CREATE UNIQUE INDEX query_json_sha256_idx ON public.query USING btree (public.digest((query_json)::text, 'sha256'::text));
--
-- PostgreSQL database dump complete
--
|
-- Copy pasted from https://stackoverflow.com/a/19804738/840635
Accept foo PROMPT "About to create new_uuid in this schema. Press enter to continue or CTRL + C and then enter to cancel... "
create or replace function new_uuid return VARCHAR2 is
v_uuid VARCHAR2(40);
begin
select regexp_replace(rawtohex(sys_guid()), '([A-F0-9]{8})([A-F0-9]{4})([A-F0-9]{4})([A-F0-9]{4})([A-F0-9]{12})', '\1-\2-\3-\4-\5') into v_uuid from dual;
return LOWER(v_uuid);
end new_uuid;
/
SELECT NEW_UUID() FROM DUAL;
show errors;
|
-- file:gist.sql ln:61 expect:true
select p from gist_tbl where p <@ box(point(0,0), point(0.5, 0.5))
order by p <-> point(0.201, 0.201)
|
--liquibase formatted sql
--changeset vrafael:framework_20200221_03_dboTDatabaseObject logicalFilePath:path-independent splitStatements:true stripComments:false endDelimiter:\nGO runOnChange:true
SET ANSI_NULLS ON
SET QUOTED_IDENTIFIER ON
GO
IF OBJECT_ID(N'dbo.TDatabaseObject', N'U') IS NULL
BEGIN
CREATE TABLE dbo.TDatabaseObject
(
[ID] [dbo].[identifier] NOT NULL FOREIGN KEY REFERENCES dbo.TDirectory(ID),
object_id int NULL,
Script [nvarchar](max) NULL,
CONSTRAINT PK_DatabaseObject_ID PRIMARY KEY CLUSTERED
(
ID ASC
)
)
END
IF NOT EXISTS(SELECT 1 FROM sys.indexes si WHERE si.name = N'NCI_DatabaseObject_object_id')
BEGIN
CREATE NONCLUSTERED INDEX [NCI_DatabaseObject_object_id] ON [dbo].[TDatabaseObject]
(
[object_id] ASC
)
END |
select count(*) from title t,cast_info ci,movie_companies mc,movie_keyword mk,movie_info mi,movie_info_idx mi_idx where t.id=ci.movie_id and t.id=mc.movie_id and t.id=mi.movie_id and t.id=mi_idx.movie_id and t.id=mk.movie_id and mk.keyword_id = 7529 and ci.role_id = 4 and t.production_year > 1987;
select count(*) from title t,cast_info ci,movie_companies mc,movie_keyword mk,movie_info mi,movie_info_idx mi_idx where t.id=ci.movie_id and t.id=mc.movie_id and t.id=mi.movie_id and t.id=mi_idx.movie_id and t.id=mk.movie_id and mc.company_type_id = 1 and ci.role_id = 11 and t.production_year = 1929;
select count(*) from title t,cast_info ci,movie_companies mc,movie_keyword mk,movie_info mi,movie_info_idx mi_idx where t.id=ci.movie_id and t.id=mc.movie_id and t.id=mi.movie_id and t.id=mi_idx.movie_id and t.id=mk.movie_id and ci.role_id = 8 and t.kind_id = 3 and mc.company_type_id = 2;
select count(*) from title t,cast_info ci,movie_companies mc,movie_keyword mk,movie_info mi,movie_info_idx mi_idx where t.id=ci.movie_id and t.id=mc.movie_id and t.id=mi.movie_id and t.id=mi_idx.movie_id and t.id=mk.movie_id and mk.keyword_id = 6420 and ci.role_id = 4 and t.kind_id = 7;
select count(*) from title t,cast_info ci,movie_companies mc,movie_keyword mk,movie_info mi,movie_info_idx mi_idx where t.id=ci.movie_id and t.id=mc.movie_id and t.id=mi.movie_id and t.id=mi_idx.movie_id and t.id=mk.movie_id and mi.info_type_id = 80 and t.production_year = 1949 and t.kind_id = 1;
select count(*) from title t,cast_info ci,movie_companies mc,movie_keyword mk,movie_info mi,movie_info_idx mi_idx where t.id=ci.movie_id and t.id=mc.movie_id and t.id=mi.movie_id and t.id=mi_idx.movie_id and t.id=mk.movie_id and mc.company_type_id = 1 and t.kind_id = 3 and mi.info_type_id = 89;
select count(*) from title t,cast_info ci,movie_companies mc,movie_keyword mk,movie_info mi,movie_info_idx mi_idx where t.id=ci.movie_id and t.id=mc.movie_id and t.id=mi.movie_id and t.id=mi_idx.movie_id and t.id=mk.movie_id and mc.company_type_id = 1 and ci.role_id = 3 and ci.person_id < 3631164;
select count(*) from title t,cast_info ci,movie_companies mc,movie_keyword mk,movie_info mi,movie_info_idx mi_idx where t.id=ci.movie_id and t.id=mc.movie_id and t.id=mi.movie_id and t.id=mi_idx.movie_id and t.id=mk.movie_id and mk.keyword_id = 10168 and ci.role_id = 2 and mi.info_type_id = 108;
select count(*) from title t,cast_info ci,movie_companies mc,movie_keyword mk,movie_info mi,movie_info_idx mi_idx where t.id=ci.movie_id and t.id=mc.movie_id and t.id=mi.movie_id and t.id=mi_idx.movie_id and t.id=mk.movie_id and mk.keyword_id = 3933 and mc.company_type_id = 1 and ci.role_id = 2;
select count(*) from title t,cast_info ci,movie_companies mc,movie_keyword mk,movie_info mi,movie_info_idx mi_idx where t.id=ci.movie_id and t.id=mc.movie_id and t.id=mi.movie_id and t.id=mi_idx.movie_id and t.id=mk.movie_id and mc.company_type_id = 1 and mk.keyword_id = 4579 and ci.role_id = 1;
select count(*) from title t,cast_info ci,movie_companies mc,movie_keyword mk,movie_info mi,movie_info_idx mi_idx where t.id=ci.movie_id and t.id=mc.movie_id and t.id=mi.movie_id and t.id=mi_idx.movie_id and t.id=mk.movie_id and t.production_year = 1934 and mc.company_type_id = 2 and mi.info_type_id = 84;
select count(*) from title t,cast_info ci,movie_companies mc,movie_keyword mk,movie_info mi,movie_info_idx mi_idx where t.id=ci.movie_id and t.id=mc.movie_id and t.id=mi.movie_id and t.id=mi_idx.movie_id and t.id=mk.movie_id and mc.company_type_id = 2 and t.production_year = 2013 and t.kind_id = 6;
select count(*) from title t,cast_info ci,movie_companies mc,movie_keyword mk,movie_info mi,movie_info_idx mi_idx where t.id=ci.movie_id and t.id=mc.movie_id and t.id=mi.movie_id and t.id=mi_idx.movie_id and t.id=mk.movie_id and t.kind_id = 2 and mi_idx.info_type_id = 99 and mc.company_type_id = 1; |
BEGIN;
ALTER TABLE fetch_requests ALTER COLUMN mode TYPE VARCHAR(255);
DROP TYPE fetch_request_mode;
CREATE TYPE fetch_request_mode AS ENUM (
'SINGLE',
'PACKAGE',
'INDEX'
);
ALTER TABLE fetch_requests ALTER COLUMN mode TYPE fetch_request_mode USING (mode::fetch_request_mode);
DROP VIEW links;
DROP VIEW providers;
DROP VIEW ord_labels;
DROP VIEW tags;
DROP VIEW countries;
DROP VIEW package_links;
DROP VIEW credential_request_strategies;
ALTER TABLE api_definitions DROP CONSTRAINT api_definitions_package_id_fk;
ALTER TABLE api_definitions DROP COLUMN package_id;
ALTER TABLE event_api_definitions DROP CONSTRAINT event_api_definitions_package_id_fk;
ALTER TABLE event_api_definitions DROP COLUMN package_id;
DROP TABLE packages;
ALTER TABLE bundles RENAME TO packages;
ALTER TABLE packages
ADD COLUMN version VARCHAR(256), /* ORD Required, nullable due to backwards compatibility */
ADD COLUMN package_links JSONB,
ADD COLUMN licence_type VARCHAR(256),
ADD COLUMN provider JSONB,
ADD COLUMN tags JSONB,
ADD COLUMN countries JSONB;
ALTER TABLE packages DROP COLUMN credential_request_strategies;
ALTER TABLE bundle_instance_auths RENAME TO package_instance_auths;
ALTER TABLE api_definitions RENAME bundle_id TO package_id;
ALTER TABLE api_definitions DROP CONSTRAINT api_definitions_bundle_id_fk;
ALTER TABLE api_definitions
ADD CONSTRAINT api_definitions_package_id_fk
FOREIGN KEY (tenant_id, package_id) REFERENCES packages(tenant_id, id) ON DELETE CASCADE;
ALTER TABLE documents RENAME bundle_id TO package_id;
ALTER TABLE documents DROP CONSTRAINT documents_bundle_id_fk;
ALTER TABLE documents
ADD CONSTRAINT documents_package_id_fk
FOREIGN KEY (tenant_id, package_id) REFERENCES packages(tenant_id, id) ON DELETE CASCADE;
ALTER TABLE event_api_definitions RENAME bundle_id TO package_id;
ALTER TABLE event_api_definitions DROP CONSTRAINT event_api_definitions_bundle_id_fk;
ALTER TABLE event_api_definitions
ADD CONSTRAINT event_api_definitions_package_id_fk
FOREIGN KEY (tenant_id, package_id) REFERENCES packages(tenant_id, id) ON DELETE CASCADE;
ALTER TABLE package_instance_auths RENAME bundle_id TO package_id;
CREATE VIEW links AS
SELECT *
FROM (SELECT id AS package_id,
NULL::uuid AS api_definition_id,
NULL::uuid AS event_definition_id,
links.title AS title,
links.url AS url,
links.description AS description
FROM packages,
jsonb_to_recordset(packages.links) AS links(title TEXT, description TEXT, url TEXT)) AS package_links
UNION ALL
(SELECT NULL::uuid AS package_id,
id AS api_definition_id,
NULL::uuid AS event_definition_id,
links.title AS title,
links.url AS url,
links.description AS description
FROM api_definitions,
jsonb_to_recordset(api_definitions.links) AS links(title TEXT, description TEXT, url TEXT))
UNION ALL
(SELECT NULL::uuid AS package_id,
NULL::uuid AS api_definition_id,
id AS event_definition_id,
links.title AS title,
links.url AS url,
links.description AS description
FROM event_api_definitions,
jsonb_to_recordset(event_api_definitions.links) AS links(title TEXT, description TEXT, url TEXT));
CREATE VIEW providers AS
SELECT packages.id AS package_id,
packages.provider ->> 'name' AS name,
packages.provider ->> 'department' AS department
FROM packages;
CREATE VIEW ord_labels AS
SELECT *
FROM (SELECT packages.id AS package_id,
NULL::uuid AS api_definition_id,
NULL::uuid AS event_definition_id,
expand.key AS key,
elements.value AS value
FROM packages,
jsonb_each(packages.labels) AS expand,
jsonb_array_elements_text(expand.value) AS elements) AS package_labels
UNION ALL
(SELECT NULL::uuid AS package_id,
api_definitions.id AS api_definition_id,
NULL::uuid AS event_definition_id,
expand.key AS key,
elements.value AS value
FROM api_definitions,
jsonb_each(api_definitions.labels) AS expand,
jsonb_array_elements_text(expand.value) AS elements)
UNION ALL
(SELECT NULL::uuid AS package_id,
NULL::uuid AS api_definition_id,
id AS event_definition_id,
expand.key AS key,
elements.value AS value
FROM event_api_definitions,
jsonb_each(event_api_definitions.labels) AS expand,
jsonb_array_elements_text(expand.value) AS elements);
CREATE VIEW tags AS
SELECT *
FROM (SELECT packages.id AS package_id,
NULL::uuid AS api_definition_id,
NULL::uuid AS event_definition_id,
elements.value AS value
FROM packages,
jsonb_array_elements_text(packages.tags) AS elements) AS package_tags
UNION ALL
(SELECT NULL::uuid AS package_id,
api_definitions.id AS api_definition_id,
NULL::uuid AS event_definition_id,
elements.value AS value
FROM api_definitions,
jsonb_array_elements_text(api_definitions.tags) AS elements)
UNION ALL
(SELECT NULL::uuid AS package_id,
NULL::uuid AS api_definition_id,
id AS event_definition_id,
elements.value AS value
FROM event_api_definitions,
jsonb_array_elements_text(event_api_definitions.tags) AS elements);
CREATE VIEW countries AS
SELECT *
FROM (SELECT packages.id AS package_id,
NULL::uuid AS api_definition_id,
NULL::uuid AS event_definition_id,
elements.value AS value
FROM packages,
jsonb_array_elements_text(packages.countries) AS elements) AS package_countries
UNION ALL
(SELECT NULL::uuid AS package_id,
api_definitions.id AS api_definition_id,
NULL::uuid AS event_definition_id,
elements.value AS value
FROM api_definitions,
jsonb_array_elements_text(api_definitions.countries) AS elements)
UNION ALL
(SELECT NULL::uuid AS package_id,
NULL::uuid AS api_definition_id,
id AS event_definition_id,
elements.value AS value
FROM event_api_definitions,
jsonb_array_elements_text(event_api_definitions.countries) AS elements);
CREATE VIEW package_links AS
SELECT id AS package_id,
actions.type AS type,
actions."customType" AS custom_type,
actions.url AS url
FROM packages,
jsonb_to_recordset(packages.package_links) AS actions(type TEXT, "customType" TEXT, url TEXT);
COMMIT;
|
<filename>sql/01_create_schema.sql
BEGIN;
CREATE SCHEMA patcher;
CREATE TABLE patcher.run (
id SERIAL PRIMARY KEY,
start timestamp with time zone DEFAULT now() NOT NULL,
finish timestamp with time zone DEFAULT now() NOT NULL
);
CREATE TABLE patcher.patch (
id SERIAL PRIMARY KEY,
run_id integer REFERENCES patcher.run(id) DEFERRABLE,
created timestamp with time zone DEFAULT now() NOT NULL,
filename text NOT NULL,
success boolean DEFAULT false,
b64digest TEXT,
output text
);
COMMIT;
|
DROP SCHEMA IF EXISTS test_arcgis CASCADE;
DROP SCHEMA arcgis CASCADE;
|
<gh_stars>1-10
--01_nulls_first_last_002.sql
--insert data with all data type including blob&clob
drop table if exists lprocess2_tb;
create class lprocess2_tb(
id int primary key not null auto_increment,
col1 char(20),
col2 nchar(20),
col3 nchar varying(20),
col4 bit(8),
col5 bit varying(8),
col6 numeric,
col7 integer,
col8 smallint,
col9 monetary,
col10 float,
col11 double,
col12 date,
col13 time,
col14 timestamp,
col15 set,
col16 multiset,
col17 sequence,
col18 blob,
col19 clob
);
insert into lprocess2_tb (col1, col2, col3, col4, col5, col6, col7, col8, col9, col10, col11, col12, col13, col14,col15, col16, col17, col18, col19)
values('aaa', n'aaa', n'aaa', b'0011', b'0011', 10, 11, 12, 13, 14, 15, '1/1/2008', '1:1:1 pm', '01/31/1994 8:15:00 pm', {10, 20}, {'abc','def'}, {50,60,70}, bit_to_blob(B'000010'), char_to_clob('character'));
insert into lprocess2_tb (col1, col2, col3, col4, col5, col6, col7, col8, col9, col10, col11, col12, col13, col14,col15, col16, col17, col18, col19)
values('bbb', n'bbb', n'bbb', b'1011', b'1010', 20, 21, 22, 23, 24, 25, '5/7/2010', '8:40:22 pm', '05/20/1985 8:15:00 pm', {11, 22}, {'ghj','yut'}, {80,90,100}, bit_to_blob(B'11100010'), char_to_clob('string'));
insert into lprocess2_tb (col1, col2, col3, col4, col5, col6, col7, col8, col9, col10, col11, col12, col13, col14,col15, col16, col17, col18, col19)
values(null, null, null, null,null,null, null, null, null, null, null, null, null, null,null, null, null, bit_to_blob(null), char_to_clob(null));
insert into lprocess2_tb (col1, col2, col3, col4, col5, col6, col7, col8, col9, col10, col11, col12, col13, col14,col15, col16, col17, col18, col19)
values(null, null, null, null,null,null, null, null, null, null, null, null, null, null,null, null, null, bit_to_blob(null), char_to_clob(null));
--select * from lprocess2_tb;
select id,col1 from lprocess2_tb order by col1 asc nulls first,id;
select id,col2 from lprocess2_tb order by col2 asc nulls first,id;
select id,col3 from lprocess2_tb order by col3 asc nulls first,id;
select id,col4 from lprocess2_tb order by col4 asc nulls first,id;
select id,col5 from lprocess2_tb order by col5 asc nulls first,id;
select id,col6 from lprocess2_tb order by col6 asc nulls first,id;
select id,col7 from lprocess2_tb order by col7 asc nulls first,id;
select id,col8 from lprocess2_tb order by col8 asc nulls first,id;
select id,col9 from lprocess2_tb order by col9 asc nulls first,id;
select id,col10 from lprocess2_tb order by col10 asc nulls first,id;
select id,col11 from lprocess2_tb order by col11 asc nulls first,id;
select id,col12 from lprocess2_tb order by col12 asc nulls first,id;
select id,col13 from lprocess2_tb order by col13 asc nulls first,id;
select id,col14 from lprocess2_tb order by col14 asc nulls first,id;
select id,col15 from lprocess2_tb order by col15 asc nulls first,id;
select id,col16 from lprocess2_tb order by col16 asc nulls first,id;
select id,col17 from lprocess2_tb order by col17 asc nulls first,id;
select id,col18 from lprocess2_tb order by col18 asc nulls first,id;
select id,col19 from lprocess2_tb order by col19 asc nulls first,id;
select id,col1 from lprocess2_tb order by col1 desc nulls first,id;
select id,col2 from lprocess2_tb order by col2 desc nulls first,id;
select id,col3 from lprocess2_tb order by col3 desc nulls first,id;
select id,col4 from lprocess2_tb order by col4 desc nulls first,id;
select id,col5 from lprocess2_tb order by col5 desc nulls first,id;
select id,col6 from lprocess2_tb order by col6 desc nulls first,id;
select id,col7 from lprocess2_tb order by col7 desc nulls first,id;
select id,col8 from lprocess2_tb order by col8 desc nulls first,id;
select id,col9 from lprocess2_tb order by col9 desc nulls first,id;
select id,col10 from lprocess2_tb order by col10 desc nulls first,id;
select id,col11 from lprocess2_tb order by col11 desc nulls first,id;
select id,col12 from lprocess2_tb order by col12 desc nulls first,id;
select id,col13 from lprocess2_tb order by col13 desc nulls first,id;
select id,col14 from lprocess2_tb order by col14 desc nulls first,id;
select id,col15 from lprocess2_tb order by col15 desc nulls first,id;
select id,col16 from lprocess2_tb order by col16 desc nulls first,id;
select id,col17 from lprocess2_tb order by col17 desc nulls first,id;
select id,col18 from lprocess2_tb order by col18 desc nulls first,id;
select id,col19 from lprocess2_tb order by col19 desc nulls first,id;
select id,col1 from lprocess2_tb order by col1 desc nulls last,id;
select id,col2 from lprocess2_tb order by col2 desc nulls last,id;
select id,col3 from lprocess2_tb order by col3 desc nulls last,id;
select id,col4 from lprocess2_tb order by col4 desc nulls last,id;
select id,col5 from lprocess2_tb order by col5 desc nulls last,id;
select id,col6 from lprocess2_tb order by col6 desc nulls last,id;
select id,col7 from lprocess2_tb order by col7 desc nulls last,id;
select id,col8 from lprocess2_tb order by col8 desc nulls last,id;
select id,col9 from lprocess2_tb order by col9 desc nulls last,id;
select id,col10 from lprocess2_tb order by col10 desc nulls last,id;
select id,col11 from lprocess2_tb order by col11 desc nulls last,id;
select id,col12 from lprocess2_tb order by col12 desc nulls last,id;
select id,col13 from lprocess2_tb order by col13 desc nulls last,id;
select id,col14 from lprocess2_tb order by col14 desc nulls last,id;
select id,col15 from lprocess2_tb order by col15 desc nulls last,id;
select id,col16 from lprocess2_tb order by col16 desc nulls last,id;
select id,col17 from lprocess2_tb order by col17 desc nulls last,id;
select id,col18 from lprocess2_tb order by col18 desc nulls last,id;
select id,col19 from lprocess2_tb order by col19 desc nulls last,id;
select id,col1 from lprocess2_tb order by col1 asc nulls last,id;
select id,col2 from lprocess2_tb order by col2 asc nulls last,id;
select id,col3 from lprocess2_tb order by col3 asc nulls last,id;
select id,col4 from lprocess2_tb order by col4 asc nulls last,id;
select id,col5 from lprocess2_tb order by col5 asc nulls last,id;
select id,col6 from lprocess2_tb order by col6 asc nulls last,id;
select id,col7 from lprocess2_tb order by col7 asc nulls last,id;
select id,col8 from lprocess2_tb order by col8 asc nulls last,id;
select id,col9 from lprocess2_tb order by col9 asc nulls last,id;
select id,col10 from lprocess2_tb order by col10 asc nulls last,id;
select id,col11 from lprocess2_tb order by col11 asc nulls last,id;
select id,col12 from lprocess2_tb order by col12 asc nulls last,id;
select id,col13 from lprocess2_tb order by col13 asc nulls last,id;
select id,col14 from lprocess2_tb order by col14 asc nulls last,id;
select id,col15 from lprocess2_tb order by col15 asc nulls last,id;
select id,col16 from lprocess2_tb order by col16 asc nulls last,id;
select id,col17 from lprocess2_tb order by col17 asc nulls last,id;
select id,col18 from lprocess2_tb order by col18 asc nulls last,id;
select id,col19 from lprocess2_tb order by col19 asc nulls last,id;
select id,col1 from lprocess2_tb order by col1 nulls last,id;
select id,col2 from lprocess2_tb order by col2 nulls last,id;
select id,col3 from lprocess2_tb order by col3 nulls last,id;
select id,col4 from lprocess2_tb order by col4 nulls last,id;
select id,col5 from lprocess2_tb order by col5 nulls last,id;
select id,col6 from lprocess2_tb order by col6 nulls last,id;
select id,col7 from lprocess2_tb order by col7 nulls last,id;
select id,col8 from lprocess2_tb order by col8 nulls last,id;
select id,col9 from lprocess2_tb order by col9 nulls last,id;
select id,col10 from lprocess2_tb order by col10 nulls last,id;
select id,col11 from lprocess2_tb order by col11 nulls last,id;
select id,col12 from lprocess2_tb order by col12 nulls last,id;
select id,col13 from lprocess2_tb order by col13 nulls last,id;
select id,col14 from lprocess2_tb order by col14 nulls last,id;
select id,col15 from lprocess2_tb order by col15 nulls last,id;
select id,col16 from lprocess2_tb order by col16 nulls last,id;
select id,col17 from lprocess2_tb order by col17 nulls last,id;
select id,col18 from lprocess2_tb order by col18 nulls last,id;
select id,col19 from lprocess2_tb order by col19 nulls last,id;
drop table if exists lprocess2_tb;
--insert data with all data type including blob&clob
drop table if exists lprocess2_tb;
create class lprocess2_tb(
id int primary key not null auto_increment,
col1 char(20),
col2 nchar(20),
col3 nchar varying(20),
col4 bit(8),
col5 bit varying(8),
col6 numeric,
col7 integer,
col8 smallint,
col9 monetary,
col10 float,
col11 double,
col12 date,
col13 time,
col14 timestamp,
col15 set,
col16 multiset,
col17 sequence,
col18 blob,
col19 clob
);
insert into lprocess2_tb (col1, col2, col3, col4, col5, col6, col7, col8, col9, col10, col11, col12, col13, col14,col15, col16, col17, col18, col19)
values('aaa', n'aaa', n'aaa', b'0011', b'0011', 10, 11, 12, 13, 14, 15, '1/1/2008', '1:1:1 pm', '01/31/1994 8:15:00 pm', {10, 20}, {'abc','def'}, {50,60,70}, bit_to_blob(B'000010'), char_to_clob('character'));
insert into lprocess2_tb (col1, col2, col3, col4, col5, col6, col7, col8, col9, col10, col11, col12, col13, col14,col15, col16, col17, col18, col19)
values('bbb', n'bbb', n'bbb', b'1011', b'1010', 20, 21, 22, 23, 24, 25, '5/7/2010', '8:40:22 pm', '05/20/1985 8:15:00 pm', {11, 22}, {'ghj','yut'}, {80,90,100}, bit_to_blob(B'11100010'), char_to_clob('string'));
insert into lprocess2_tb (col1, col2, col3, col4, col5, col6, col7, col8, col9, col10, col11, col12, col13, col14,col15, col16, col17, col18, col19)
values(null, null, null, null,null,null, null, null, null, null, null, null, null, null,null, null, null, bit_to_blob(null), char_to_clob(null));
insert into lprocess2_tb (col1, col2, col3, col4, col5, col6, col7, col8, col9, col10, col11, col12, col13, col14,col15, col16, col17, col18, col19)
values(null, null, null, null,null,null, null, null, null, null, null, null, null, null,null, null, null, bit_to_blob(null), char_to_clob(null));
--select * from lprocess2_tb;
select id , blob_length(col18) as a from lprocess2_tb order by a nulls last,id;
select id , blob_length(col18) as a from lprocess2_tb order by a nulls first,id;
--get data length of clob column
select id ,clob_length(col19) as a from lprocess2_tb order by a nulls last,id;
select id ,clob_length(col19) as a from lprocess2_tb order by a nulls first,id;
--data_length() in where clause
select col1, col2, col3, col4, col5, col6, col7, col8, col9, col10, col11, col12, col13, col14,col15, col16, col17, blob_to_bit(col18), clob_to_char(col19) from lprocess2_tb where blob_length(col18)>0 and clob_length(col19)<30 order by 1;
--2.test with all cubrid-supported data types other than blob and clob
--CHAR(n)
select blob_length(col1) from lprocess2_tb order by 1 nulls first;
select clob_length(col1) from lprocess2_tb order by 1 nulls first;
--NCHAR(n)
select blob_length(col2) from lprocess2_tb order by 1 nulls first;
select clob_length(col2) from lprocess2_tb order by 1 nulls first;
--NCHAR VARYING(n)
select blob_length(col3) from lprocess2_tb order by 1 nulls first;
select clob_length(col3) from lprocess2_tb order by 1 nulls first;
--BIT(n)
select blob_length(col4) from lprocess2_tb order by 1 nulls first;
select clob_length(col4) from lprocess2_tb order by 1 nulls first;
--BIT VARYING(n) to clob
select blob_length(col5) from lprocess2_tb order by 1 nulls first;
select clob_length(col5) from lprocess2_tb order by 1 nulls first;
--NUMERIC
select blob_length(col6) from lprocess2_tb order by 1 nulls first;
select clob_length(col6) from lprocess2_tb order by 1 nulls first;
--INTEGER
select blob_length(col7) from lprocess2_tb order by 1 nulls first;
select clob_length(col7) from lprocess2_tb order by 1 nulls first;
--SMALLINT
select blob_length(col8) from lprocess2_tb order by 1 nulls first;
select clob_length(col8) from lprocess2_tb order by 1 nulls first;
--MONETARY
select blob_length(col9) from lprocess2_tb order by 1 nulls first;
select clob_length(col9) from lprocess2_tb order by 1 nulls first;
--FLOAT
select blob_length(col10) from lprocess2_tb order by 1 nulls first;
select clob_length(col10) from lprocess2_tb order by 1 nulls first;
--DOUBLE
select blob_length(col11) from lprocess2_tb order by 1 nulls first;
select clob_length(col11) from lprocess2_tb order by 1 nulls first;
--DATE
select blob_length(col12) from lprocess2_tb order by 1 nulls first;
select clob_length(col12) from lprocess2_tb order by 1 nulls first;
--TIME
select blob_length(col13) from lprocess2_tb order by 1 nulls first;
select clob_length(col13) from lprocess2_tb order by 1 nulls first;
--TIMESTAMP
select blob_length(col14) from lprocess2_tb order by 1 nulls first;
select clob_length(col14) from lprocess2_tb order by 1 nulls first;
--SET
select blob_length(col15) from lprocess2_tb order by 1 nulls first;
select clob_length(col15) from lprocess2_tb order by 1 nulls first;
--MULTISET
select blob_length(col16) from lprocess2_tb order by 1 nulls first;
select clob_length(col16) from lprocess2_tb order by 1 nulls first;
--SEQUENCE
select blob_length(col17) from lprocess2_tb order by 1 nulls first;
select clob_length(col17) from lprocess2_tb order by 1 nulls first;
--empty string
select blob_length("") from lprocess2_tb order by 1 nulls first;
select clob_length("") from lprocess2_tb order by 1 nulls first;
--NULL
select blob_length(NULL) from lprocess2_tb order by 1 nulls first;
select clob_length(NULL) from lprocess2_tb order by 1 nulls first;
--pass no argument
select blob_length() from lprocess2_tb order by 1 nulls first;
select clob_length() from lprocess2_tb order by 1 nulls first;
--pass 2 arguments
select blob_length(col18, 2) from lprocess2_tb order by 1 nulls first;
select clob_length(col19, 2) from lprocess2_tb order by 1 nulls first;
--NULL
select blob_length(NULL) from lprocess2_tb order by 1 nulls last;
select clob_length(NULL) from lprocess2_tb order by 1 nulls last;
drop table if exists lprocess2_tb;
|
-- @testpoint:opengauss关键字ref(非保留),作为表空间名
--关键字不带引号,创建成功
drop tablespace if exists ref;
CREATE TABLESPACE ref RELATIVE LOCATION 'hdfs_tablespace/hdfs_tablespace_1';
drop tablespace ref;
--关键字带双引号,创建成功
drop tablespace if exists "ref";
CREATE TABLESPACE "ref" RELATIVE LOCATION 'hdfs_tablespace/hdfs_tablespace_1';
drop tablespace "ref";
--关键字带单引号,合理报错
drop tablespace if exists 'ref';
--关键字带反引号,合理报错
drop tablespace if exists `ref`;
|
CREATE DATABASE IF NOT EXISTS glance;
GRANT ALL PRIVILEGES ON glance.* TO glance@'localhost' IDENTIFIED BY 'ADMPWD';
GRANT ALL PRIVILEGES ON glance.* TO glance@'%' IDENTIFIED BY 'ADMPWD';
FLUSH PRIVILEGES; |
<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 3.5.2.2
-- http://www.phpmyadmin.net
--
-- Inang: 127.0.0.1
-- Waktu pembuatan: 23 Jun 2015 pada 11.00
-- Versi Server: 5.5.27
-- Versi PHP: 5.4.7
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Basis data: `pso_tsp`
--
CREATE DATABASE `pso_tsp` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `pso_tsp`;
-- --------------------------------------------------------
--
-- Struktur dari tabel `general_result`
--
CREATE TABLE IF NOT EXISTS `general_result` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`init_param_id` int(11) NOT NULL,
`v_max` int(11) NOT NULL,
`max_epoch` int(11) NOT NULL,
`particle_count` int(11) NOT NULL,
`epoch_number` int(11) NOT NULL,
`shortest_route` varchar(255) NOT NULL,
`shortest_distance` double NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=560 ;
--
-- Dumping data untuk tabel `general_result`
--
INSERT INTO `general_result` (`id`, `init_param_id`, `v_max`, `max_epoch`, `particle_count`, `epoch_number`, `shortest_route`, `shortest_distance`) VALUES
(1, 1, 1, 10000, 2, 625, '7,6,5,4,3,2,1,0,', 86.629989561504),
(2, 1, 1, 10000, 2, 281, '1,2,3,4,5,6,7,0,', 86.629989561504),
(3, 1, 1, 10000, 2, 525, '5,6,7,0,1,2,3,4,', 86.629989561504),
(4, 1, 2, 10000, 2, 655, '0,7,6,5,4,3,2,1,', 86.629989561504),
(5, 1, 2, 10000, 2, 21, '1,2,3,4,5,6,7,0,', 86.629989561504),
(6, 1, 2, 10000, 2, 105, '6,7,0,1,2,3,4,5,', 86.629989561504),
(7, 1, 3, 10000, 2, 1710, '2,3,4,5,6,7,0,1,', 86.629989561504),
(8, 1, 3, 10000, 2, 100, '5,6,7,0,1,2,3,4,', 86.629989561504),
(9, 1, 3, 10000, 2, 40, '6,7,0,1,2,3,4,5,', 86.629989561504),
(10, 1, 4, 10000, 2, 81, '2,1,0,7,6,5,4,3,', 86.629989561504),
(11, 1, 4, 10000, 2, 197, '6,5,4,3,2,1,0,7,', 86.629989561504),
(12, 1, 4, 10000, 2, 246, '3,2,1,0,7,6,5,4,', 86.629989561504),
(13, 1, 5, 10000, 2, 450, '0,7,6,5,4,3,2,1,', 86.629989561504),
(14, 1, 5, 10000, 2, 204, '4,5,6,7,0,1,2,3,', 86.629989561504),
(15, 1, 5, 10000, 2, 1145, '2,3,4,5,6,7,0,1,', 86.629989561504),
(16, 1, 6, 10000, 2, 700, '1,2,3,4,5,6,7,0,', 86.629989561504),
(17, 1, 6, 10000, 2, 225, '5,4,3,2,1,0,7,6,', 86.629989561504),
(18, 1, 6, 10000, 2, 113, '7,0,1,2,3,4,5,6,', 86.629989561504),
(19, 1, 7, 10000, 2, 50, '5,6,7,0,1,2,3,4,', 86.629989561504),
(20, 1, 7, 10000, 2, 289, '4,5,6,7,0,1,2,3,', 86.629989561504),
(21, 1, 7, 10000, 2, 76, '3,2,1,0,7,6,5,4,', 86.629989561504),
(22, 1, 8, 10000, 2, 102, '6,7,0,1,2,3,4,5,', 86.629989561504),
(23, 1, 8, 10000, 2, 779, '7,0,1,2,3,4,5,6,', 86.629989561504),
(24, 1, 8, 10000, 2, 180, '6,5,4,3,2,1,0,7,', 86.629989561504),
(25, 1, 8, 10000, 2, 297, '5,4,3,2,1,0,7,6,', 86.629989561504),
(26, 1, 1, 10000, 3, 673, '4,3,2,1,0,7,6,5,', 86.629989561504),
(27, 1, 1, 10000, 3, 1107, '4,5,6,7,0,1,2,3,', 86.629989561504),
(28, 1, 1, 10000, 3, 682, '7,6,5,4,3,2,1,0,', 86.629989561504),
(29, 1, 2, 10000, 3, 297, '6,7,0,1,2,3,4,5,', 86.629989561504),
(30, 1, 2, 10000, 3, 422, '3,4,5,6,7,0,1,2,', 86.629989561504),
(31, 1, 2, 10000, 3, 1079, '2,1,0,7,6,5,4,3,', 86.629989561504),
(32, 1, 3, 10000, 3, 85, '7,0,1,2,3,4,5,6,', 86.629989561504),
(33, 1, 3, 10000, 3, 83, '2,1,0,7,6,5,4,3,', 86.629989561504),
(34, 1, 3, 10000, 3, 778, '5,6,7,0,1,2,3,4,', 86.629989561504),
(35, 1, 4, 10000, 3, 709, '1,0,7,6,5,4,3,2,', 86.629989561504),
(36, 1, 4, 10000, 3, 45, '5,4,3,2,1,0,7,6,', 86.629989561504),
(37, 1, 4, 10000, 3, 783, '3,2,1,0,7,6,5,4,', 86.629989561504),
(38, 1, 5, 10000, 3, 64, '4,5,6,7,0,1,2,3,', 86.629989561504),
(39, 1, 5, 10000, 3, 413, '4,5,6,7,0,1,2,3,', 86.629989561504),
(40, 1, 5, 10000, 3, 28, '6,7,0,1,2,3,4,5,', 86.629989561504),
(41, 1, 6, 10000, 3, 584, '7,0,1,2,3,4,5,6,', 86.629989561504),
(42, 1, 6, 10000, 3, 78, '0,1,2,3,4,5,6,7,', 86.629989561504),
(43, 1, 6, 10000, 3, 267, '4,5,6,7,0,1,2,3,', 86.629989561504),
(44, 1, 7, 10000, 3, 96, '6,7,0,1,2,3,4,5,', 86.629989561504),
(45, 1, 7, 10000, 3, 267, '0,7,6,5,4,3,2,1,', 86.629989561504),
(46, 1, 7, 10000, 3, 367, '6,7,0,1,2,3,4,5,', 86.629989561504),
(47, 1, 8, 10000, 3, 86, '5,4,3,2,1,0,7,6,', 86.629989561504),
(48, 1, 8, 10000, 3, 152, '3,4,5,6,7,0,1,2,', 86.629989561504),
(49, 1, 8, 10000, 3, 16, '6,7,0,1,2,3,4,5,', 86.629989561504),
(50, 1, 1, 10000, 4, 361, '6,7,0,1,2,3,4,5,', 86.629989561504),
(51, 1, 1, 10000, 4, 922, '4,3,2,1,0,7,6,5,', 86.629989561504),
(52, 1, 1, 10000, 4, 241, '6,5,4,3,2,1,0,7,', 86.629989561504),
(53, 1, 2, 10000, 4, 75, '0,7,6,5,4,3,2,1,', 86.629989561504),
(54, 1, 2, 10000, 4, 811, '1,2,3,4,5,6,7,0,', 86.629989561504),
(55, 1, 2, 10000, 4, 22, '0,1,2,3,4,5,6,7,', 86.629989561504),
(56, 1, 3, 10000, 4, 232, '5,6,7,0,1,2,3,4,', 86.629989561504),
(57, 1, 3, 10000, 4, 273, '6,7,0,1,2,3,4,5,', 86.629989561504),
(58, 1, 3, 10000, 4, 159, '3,2,1,0,7,6,5,4,', 86.629989561504),
(59, 1, 4, 10000, 4, 245, '5,4,3,2,1,0,7,6,', 86.629989561504),
(60, 1, 4, 10000, 4, 278, '4,5,6,7,0,1,2,3,', 86.629989561504),
(61, 1, 4, 10000, 4, 416, '0,7,6,5,4,3,2,1,', 86.629989561504),
(62, 1, 5, 10000, 4, 222, '2,3,4,5,6,7,0,1,', 86.629989561504),
(63, 1, 5, 10000, 4, 55, '5,6,7,0,1,2,3,4,', 86.629989561504),
(64, 1, 5, 10000, 4, 411, '0,7,6,5,4,3,2,1,', 86.629989561504),
(65, 1, 6, 10000, 4, 66, '7,6,5,4,3,2,1,0,', 86.629989561504),
(66, 1, 6, 10000, 4, 94, '1,0,7,6,5,4,3,2,', 86.629989561504),
(67, 1, 6, 10000, 4, 72, '5,6,7,0,1,2,3,4,', 86.629989561504),
(68, 1, 7, 10000, 4, 45, '6,5,4,3,2,1,0,7,', 86.629989561504),
(69, 1, 7, 10000, 4, 192, '0,7,6,5,4,3,2,1,', 86.629989561504),
(70, 1, 7, 10000, 4, 200, '6,7,0,1,2,3,4,5,', 86.629989561504),
(71, 1, 8, 10000, 4, 193, '3,2,1,0,7,6,5,4,', 86.629989561504),
(72, 1, 8, 10000, 4, 143, '3,4,5,6,7,0,1,2,', 86.629989561504),
(73, 1, 8, 10000, 4, 50, '1,2,3,4,5,6,7,0,', 86.629989561504),
(74, 1, 1, 10000, 5, 1742, '7,6,5,4,3,2,1,0,', 86.629989561504),
(75, 1, 1, 10000, 5, 1327, '3,2,1,0,7,6,5,4,', 86.629989561504),
(76, 1, 1, 10000, 5, 446, '0,1,2,3,4,5,6,7,', 86.629989561504),
(77, 1, 2, 10000, 5, 382, '5,4,3,2,1,0,7,6,', 86.629989561504),
(78, 1, 2, 10000, 5, 103, '1,2,3,4,5,6,7,0,', 86.629989561504),
(79, 1, 2, 10000, 5, 609, '6,7,0,1,2,3,4,5,', 86.629989561504),
(80, 1, 3, 10000, 5, 20, '6,7,0,1,2,3,4,5,', 86.629989561504),
(81, 1, 3, 10000, 5, 153, '5,4,3,2,1,0,7,6,', 86.629989561504),
(82, 1, 3, 10000, 5, 182, '2,1,0,7,6,5,4,3,', 86.629989561504),
(83, 1, 4, 10000, 5, 175, '6,7,0,1,2,3,4,5,', 86.629989561504),
(84, 1, 4, 10000, 5, 218, '5,6,7,0,1,2,3,4,', 86.629989561504),
(85, 1, 4, 10000, 5, 376, '1,2,3,4,5,6,7,0,', 86.629989561504),
(86, 1, 5, 10000, 5, 84, '3,2,1,0,7,6,5,4,', 86.629989561504),
(87, 1, 5, 10000, 5, 680, '6,7,0,1,2,3,4,5,', 86.629989561504),
(88, 1, 5, 10000, 5, 84, '3,4,5,6,7,0,1,2,', 86.629989561504),
(89, 1, 6, 10000, 5, 149, '2,1,0,7,6,5,4,3,', 86.629989561504),
(90, 1, 6, 10000, 5, 262, '2,3,4,5,6,7,0,1,', 86.629989561504),
(91, 1, 6, 10000, 5, 167, '2,3,4,5,6,7,0,1,', 86.629989561504),
(92, 1, 7, 10000, 5, 314, '6,5,4,3,2,1,0,7,', 86.629989561504),
(93, 1, 7, 10000, 5, 454, '2,1,0,7,6,5,4,3,', 86.629989561504),
(94, 1, 7, 10000, 5, 30, '2,1,0,7,6,5,4,3,', 86.629989561504),
(95, 1, 8, 10000, 5, 636, '4,3,2,1,0,7,6,5,', 86.629989561504),
(96, 1, 8, 10000, 5, 158, '3,2,1,0,7,6,5,4,', 86.629989561504),
(97, 1, 8, 10000, 5, 99, '1,2,3,4,5,6,7,0,', 86.629989561504),
(98, 1, 1, 10000, 6, 825, '0,7,6,5,4,3,2,1,', 86.629989561504),
(99, 1, 1, 10000, 6, 420, '6,7,0,1,2,3,4,5,', 86.629989561504),
(100, 1, 1, 10000, 6, 1, '3,2,1,0,7,6,5,4,', 86.629989561504),
(101, 1, 2, 10000, 6, 133, '1,0,7,6,5,4,3,2,', 86.629989561504),
(102, 1, 2, 10000, 6, 36, '7,0,1,2,3,4,5,6,', 86.629989561504),
(103, 1, 2, 10000, 6, 96, '3,2,1,0,7,6,5,4,', 86.629989561504),
(104, 1, 3, 10000, 6, 143, '3,4,5,6,7,0,1,2,', 86.629989561504),
(105, 1, 3, 10000, 6, 188, '7,6,5,4,3,2,1,0,', 86.629989561504),
(106, 1, 3, 10000, 6, 221, '3,4,5,6,7,0,1,2,', 86.629989561504),
(107, 1, 3, 10000, 6, 35, '7,0,1,2,3,4,5,6,', 86.629989561504),
(108, 1, 4, 10000, 6, 64, '2,1,0,7,6,5,4,3,', 86.629989561504),
(109, 1, 4, 10000, 6, 274, '5,4,3,2,1,0,7,6,', 86.629989561504),
(110, 1, 4, 10000, 6, 238, '6,5,4,3,2,1,0,7,', 86.629989561504),
(111, 1, 5, 10000, 6, 309, '7,6,5,4,3,2,1,0,', 86.629989561504),
(112, 1, 5, 10000, 6, 95, '7,6,5,4,3,2,1,0,', 86.629989561504),
(113, 1, 5, 10000, 6, 327, '5,6,7,0,1,2,3,4,', 86.629989561504),
(114, 1, 6, 10000, 6, 257, '3,4,5,6,7,0,1,2,', 86.629989561504),
(115, 1, 6, 10000, 6, 142, '3,2,1,0,7,6,5,4,', 86.629989561504),
(116, 1, 6, 10000, 6, 144, '5,6,7,0,1,2,3,4,', 86.629989561504),
(117, 1, 7, 10000, 6, 65, '6,7,0,1,2,3,4,5,', 86.629989561504),
(118, 1, 7, 10000, 6, 129, '2,1,0,7,6,5,4,3,', 86.629989561504),
(119, 1, 7, 10000, 6, 26, '0,1,2,3,4,5,6,7,', 86.629989561504),
(120, 1, 8, 10000, 6, 97, '3,4,5,6,7,0,1,2,', 86.629989561504),
(121, 1, 8, 10000, 6, 379, '4,5,6,7,0,1,2,3,', 86.629989561504),
(122, 1, 8, 10000, 6, 83, '7,0,1,2,3,4,5,6,', 86.629989561504),
(123, 1, 1, 10000, 7, 101, '6,7,0,1,2,3,4,5,', 86.629989561504),
(124, 1, 1, 10000, 7, 1322, '7,0,1,2,3,4,5,6,', 86.629989561504),
(125, 1, 1, 10000, 7, 1226, '3,2,1,0,7,6,5,4,', 86.629989561504),
(126, 1, 2, 10000, 7, 99, '2,3,4,5,6,7,0,1,', 86.629989561504),
(127, 1, 2, 10000, 7, 270, '2,3,4,5,6,7,0,1,', 86.629989561504),
(128, 1, 2, 10000, 7, 26, '5,4,3,2,1,0,7,6,', 86.629989561504),
(129, 1, 3, 10000, 7, 220, '5,6,7,0,1,2,3,4,', 86.629989561504),
(130, 1, 3, 10000, 7, 2, '2,3,4,5,6,7,0,1,', 86.629989561504),
(131, 1, 3, 10000, 7, 43, '7,0,1,2,3,4,5,6,', 86.629989561504),
(132, 1, 4, 10000, 7, 13, '2,3,4,5,6,7,0,1,', 86.629989561504),
(133, 1, 4, 10000, 7, 14, '4,5,6,7,0,1,2,3,', 86.629989561504),
(134, 1, 4, 10000, 7, 50, '1,0,7,6,5,4,3,2,', 86.629989561504),
(135, 1, 5, 10000, 7, 91, '6,5,4,3,2,1,0,7,', 86.629989561504),
(136, 1, 5, 10000, 7, 196, '3,4,5,6,7,0,1,2,', 86.629989561504),
(137, 1, 5, 10000, 7, 146, '5,6,7,0,1,2,3,4,', 86.629989561504),
(138, 1, 6, 10000, 7, 137, '6,5,4,3,2,1,0,7,', 86.629989561504),
(139, 1, 6, 10000, 7, 179, '3,2,1,0,7,6,5,4,', 86.629989561504),
(140, 1, 6, 10000, 7, 214, '7,6,5,4,3,2,1,0,', 86.629989561504),
(141, 1, 7, 10000, 7, 23, '0,1,2,3,4,5,6,7,', 86.629989561504),
(142, 1, 7, 10000, 7, 153, '3,4,5,6,7,0,1,2,', 86.629989561504),
(143, 1, 7, 10000, 7, 144, '0,1,2,3,4,5,6,7,', 86.629989561504),
(144, 1, 8, 10000, 7, 65, '5,4,3,2,1,0,7,6,', 86.629989561504),
(145, 1, 8, 10000, 7, 267, '6,7,0,1,2,3,4,5,', 86.629989561504),
(146, 1, 8, 10000, 7, 31, '4,3,2,1,0,7,6,5,', 86.629989561504),
(147, 1, 1, 10000, 8, 537, '4,5,6,7,0,1,2,3,', 86.629989561504),
(148, 1, 1, 10000, 8, 211, '0,7,6,5,4,3,2,1,', 86.629989561504),
(149, 1, 1, 10000, 8, 2087, '4,3,2,1,0,7,6,5,', 86.629989561504),
(150, 1, 2, 10000, 8, 42, '4,5,6,7,0,1,2,3,', 86.629989561504),
(151, 1, 2, 10000, 8, 19, '3,2,1,0,7,6,5,4,', 86.629989561504),
(152, 1, 2, 10000, 8, 290, '4,3,2,1,0,7,6,5,', 86.629989561504),
(153, 1, 3, 10000, 8, 46, '4,5,6,7,0,1,2,3,', 86.629989561504),
(154, 1, 3, 10000, 8, 278, '7,0,1,2,3,4,5,6,', 86.629989561504),
(155, 1, 3, 10000, 8, 31, '3,4,5,6,7,0,1,2,', 86.629989561504),
(156, 1, 4, 10000, 8, 137, '2,3,4,5,6,7,0,1,', 86.629989561504),
(157, 1, 4, 10000, 8, 28, '5,6,7,0,1,2,3,4,', 86.629989561504),
(158, 1, 4, 10000, 8, 32, '7,0,1,2,3,4,5,6,', 86.629989561504),
(159, 1, 5, 10000, 8, 103, '0,1,2,3,4,5,6,7,', 86.629989561504),
(160, 1, 5, 10000, 8, 7, '7,6,5,4,3,2,1,0,', 86.629989561504),
(161, 1, 5, 10000, 8, 217, '4,5,6,7,0,1,2,3,', 86.629989561504),
(162, 1, 6, 10000, 8, 92, '1,0,7,6,5,4,3,2,', 86.629989561504),
(163, 1, 6, 10000, 8, 38, '5,6,7,0,1,2,3,4,', 86.629989561504),
(164, 1, 6, 10000, 8, 191, '6,7,0,1,2,3,4,5,', 86.629989561504),
(165, 1, 7, 10000, 8, 114, '4,3,2,1,0,7,6,5,', 86.629989561504),
(166, 1, 7, 10000, 8, 79, '2,3,4,5,6,7,0,1,', 86.629989561504),
(167, 1, 7, 10000, 8, 98, '5,4,3,2,1,0,7,6,', 86.629989561504),
(168, 1, 8, 10000, 8, 141, '3,4,5,6,7,0,1,2,', 86.629989561504),
(169, 1, 8, 10000, 8, 148, '6,7,0,1,2,3,4,5,', 86.629989561504),
(170, 1, 8, 10000, 8, 129, '5,6,7,0,1,2,3,4,', 86.629989561504),
(171, 2, 1, 10000, 2, 895, '4,3,2,1,0,6,7,5,', 87.890194461733),
(172, 2, 1, 10000, 2, 520, '6,7,5,4,3,2,1,0,', 87.890194461733),
(173, 2, 1, 10000, 2, 559, '4,3,2,1,0,6,7,5,', 87.890194461733),
(174, 2, 2, 10000, 2, 365, '1,0,6,7,5,4,3,2,', 87.890194461733),
(175, 2, 2, 10000, 2, 266, '5,7,6,0,1,2,3,4,', 87.890194461733),
(176, 2, 2, 10000, 2, 608, '4,3,2,1,0,6,7,5,', 87.890194461733),
(177, 2, 3, 10000, 2, 48, '7,6,0,1,2,3,4,5,', 87.890194461733),
(178, 2, 3, 10000, 2, 136, '0,6,7,5,4,3,2,1,', 87.890194461733),
(179, 2, 3, 10000, 2, 143, '5,7,6,0,1,2,3,4,', 87.890194461733),
(180, 2, 4, 10000, 2, 53, '3,4,5,7,6,0,1,2,', 87.890194461733),
(181, 2, 4, 10000, 2, 651, '3,2,1,0,6,7,5,4,', 87.890194461733),
(182, 2, 4, 10000, 2, 289, '1,2,3,4,5,7,6,0,', 87.890194461733),
(183, 2, 5, 10000, 2, 84, '1,0,6,7,5,4,3,2,', 87.890194461733),
(184, 2, 5, 10000, 2, 191, '3,4,5,7,6,0,1,2,', 87.890194461733),
(185, 2, 5, 10000, 2, 239, '6,7,5,4,3,2,1,0,', 87.890194461733),
(186, 2, 6, 10000, 2, 399, '6,0,1,2,3,4,5,7,', 87.890194461733),
(187, 2, 6, 10000, 2, 1257, '3,2,1,0,6,7,5,4,', 87.890194461733),
(188, 2, 6, 10000, 2, 35, '2,1,0,6,7,5,4,3,', 87.890194461733),
(189, 2, 7, 10000, 2, 120, '7,5,4,3,2,1,0,6,', 87.890194461733),
(190, 2, 7, 10000, 2, 175, '2,1,0,6,7,5,4,3,', 87.890194461733),
(191, 2, 7, 10000, 2, 560, '4,5,7,6,0,1,2,3,', 87.890194461733),
(192, 2, 8, 10000, 2, 1007, '4,3,2,1,0,6,7,5,', 87.890194461733),
(193, 2, 8, 10000, 2, 896, '3,2,1,0,6,7,5,4,', 87.890194461733),
(194, 2, 8, 10000, 2, 284, '2,1,0,6,7,5,4,3,', 87.890194461733),
(195, 2, 1, 10000, 3, 123, '5,4,3,2,1,0,6,7,', 87.890194461733),
(196, 2, 1, 10000, 3, 625, '7,6,0,1,2,3,4,5,', 87.890194461733),
(197, 2, 1, 10000, 3, 412, '0,6,7,5,4,3,2,1,', 87.890194461733),
(198, 2, 2, 10000, 3, 108, '1,0,6,7,5,4,3,2,', 87.890194461733),
(199, 2, 2, 10000, 3, 263, '0,6,7,5,4,3,2,1,', 87.890194461733),
(200, 2, 2, 10000, 3, 496, '3,4,5,7,6,0,1,2,', 87.890194461733),
(201, 2, 3, 10000, 3, 546, '5,4,3,2,1,0,6,7,', 87.890194461733),
(202, 2, 3, 10000, 3, 70, '3,4,5,7,6,0,1,2,', 87.890194461733),
(203, 2, 3, 10000, 3, 603, '4,3,2,1,0,6,7,5,0,6,7,5,4,3,2,1,', 87.890194461733),
(204, 2, 4, 10000, 3, 370, '3,4,5,7,6,0,1,2,', 87.890194461733),
(205, 2, 4, 10000, 3, 50, '2,1,0,6,7,5,4,3,', 87.890194461733),
(206, 2, 4, 10000, 3, 66, '6,0,1,2,3,4,5,7,', 87.890194461733),
(207, 2, 5, 10000, 3, 116, '7,6,0,1,2,3,4,5,', 87.890194461733),
(208, 2, 5, 10000, 3, 566, '0,1,2,3,4,5,7,6,3,4,5,7,6,0,1,2,', 87.890194461733),
(209, 2, 5, 10000, 3, 734, '6,7,5,4,3,2,1,0,', 87.890194461733),
(210, 2, 6, 10000, 3, 462, '3,2,1,0,6,7,5,4,', 87.890194461733),
(211, 2, 6, 10000, 3, 78, '5,4,3,2,1,0,6,7,', 87.890194461733),
(212, 2, 6, 10000, 3, 420, '6,0,1,2,3,4,5,7,', 87.890194461733),
(213, 2, 7, 10000, 3, 91, '5,7,6,0,1,2,3,4,', 87.890194461733),
(214, 2, 7, 10000, 3, 467, '7,5,4,3,2,1,0,6,', 87.890194461733),
(215, 2, 7, 10000, 3, 167, '6,0,1,2,3,4,5,7,', 87.890194461733),
(216, 2, 8, 10000, 3, 113, '0,6,7,5,4,3,2,1,', 87.890194461733),
(217, 2, 8, 10000, 3, 817, '3,2,1,0,6,7,5,4,', 87.890194461733),
(218, 2, 8, 10000, 3, 1018, '7,6,0,1,2,3,4,5,', 87.890194461733),
(219, 2, 1, 10000, 4, 97, '0,1,2,3,4,5,7,6,', 87.890194461733),
(220, 2, 1, 10000, 4, 768, '4,5,7,6,0,1,2,3,', 87.890194461733),
(221, 2, 1, 10000, 4, 1022, '5,4,3,2,1,0,6,7,', 87.890194461733),
(222, 2, 2, 10000, 4, 219, '0,6,7,5,4,3,2,1,', 87.890194461733),
(223, 2, 2, 10000, 4, 480, '3,4,5,7,6,0,1,2,0,1,2,3,4,5,7,6,', 87.890194461733),
(224, 2, 2, 10000, 4, 99, '5,7,6,0,1,2,3,4,', 87.890194461733),
(225, 2, 3, 10000, 4, 229, '2,3,4,5,7,6,0,1,', 87.890194461733),
(226, 2, 3, 10000, 4, 216, '0,1,2,3,4,5,7,6,', 87.890194461733),
(227, 2, 3, 10000, 4, 381, '1,2,3,4,5,7,6,0,', 87.890194461733),
(228, 2, 4, 10000, 4, 180, '3,4,5,7,6,0,1,2,', 87.890194461733),
(229, 2, 4, 10000, 4, 28, '1,0,6,7,5,4,3,2,', 87.890194461733),
(230, 2, 4, 10000, 4, 35, '7,5,4,3,2,1,0,6,', 87.890194461733),
(231, 2, 5, 10000, 4, 126, '5,7,6,0,1,2,3,4,', 87.890194461733),
(232, 2, 5, 10000, 4, 44, '1,0,6,7,5,4,3,2,', 87.890194461733),
(233, 2, 5, 10000, 4, 23, '3,4,5,7,6,0,1,2,', 87.890194461733),
(234, 2, 6, 10000, 4, 27, '1,2,3,4,5,7,6,0,', 87.890194461733),
(235, 2, 6, 10000, 4, 436, '5,7,6,0,1,2,3,4,', 87.890194461733),
(236, 2, 6, 10000, 4, 39, '1,2,3,4,5,7,6,0,', 87.890194461733),
(237, 2, 7, 10000, 4, 147, '0,6,7,5,4,3,2,1,', 87.890194461733),
(238, 2, 7, 10000, 4, 97, '3,2,1,0,6,7,5,4,', 87.890194461733),
(239, 2, 7, 10000, 4, 166, '6,7,5,4,3,2,1,0,', 87.890194461733),
(240, 2, 8, 10000, 4, 329, '0,6,7,5,4,3,2,1,', 87.890194461733),
(241, 2, 8, 10000, 4, 653, '4,5,7,6,0,1,2,3,', 87.890194461733),
(242, 2, 8, 10000, 4, 219, '3,4,5,7,6,0,1,2,', 87.890194461733),
(243, 2, 1, 10000, 5, 535, '0,6,7,5,4,3,2,1,', 87.890194461733),
(244, 2, 1, 10000, 5, 851, '0,6,7,5,4,3,2,1,', 87.890194461733),
(245, 2, 1, 10000, 5, 479, '6,7,5,4,3,2,1,0,', 87.890194461733),
(246, 2, 2, 10000, 5, 355, '3,4,5,7,6,0,1,2,', 87.890194461733),
(247, 2, 2, 10000, 5, 159, '2,1,0,6,7,5,4,3,', 87.890194461733),
(248, 2, 2, 10000, 5, 70, '7,5,4,3,2,1,0,6,', 87.890194461733),
(249, 2, 3, 10000, 5, 40, '2,1,0,6,7,5,4,3,', 87.890194461733),
(250, 2, 3, 10000, 5, 287, '6,0,1,2,3,4,5,7,', 87.890194461733),
(251, 2, 3, 10000, 5, 209, '2,1,0,6,7,5,4,3,', 87.890194461733),
(252, 2, 4, 10000, 5, 836, '4,5,7,6,0,1,2,3,', 87.890194461733),
(253, 2, 4, 10000, 5, 125, '0,6,7,5,4,3,2,1,', 87.890194461733),
(254, 2, 4, 10000, 5, 199, '0,1,2,3,4,5,7,6,', 87.890194461733),
(255, 2, 5, 10000, 5, 7, '2,3,4,5,7,6,0,1,', 87.890194461733),
(256, 2, 5, 10000, 5, 747, '4,3,2,1,0,6,7,5,', 87.890194461733),
(257, 2, 5, 10000, 5, 352, '0,1,2,3,4,5,7,6,', 87.890194461733),
(258, 2, 6, 10000, 5, 117, '5,4,3,2,1,0,6,7,', 87.890194461733),
(259, 2, 6, 10000, 5, 175, '6,0,1,2,3,4,5,7,', 87.890194461733),
(260, 2, 6, 10000, 5, 1, '5,7,6,0,1,2,3,4,', 87.890194461733),
(261, 2, 7, 10000, 5, 81, '0,1,2,3,4,5,7,6,', 87.890194461733),
(262, 2, 7, 10000, 5, 165, '2,3,4,5,7,6,0,1,', 87.890194461733),
(263, 2, 7, 10000, 5, 195, '5,4,3,2,1,0,6,7,', 87.890194461733),
(264, 2, 8, 10000, 5, 81, '5,4,3,2,1,0,6,7,', 87.890194461733),
(265, 2, 8, 10000, 5, 12, '4,3,2,1,0,6,7,5,', 87.890194461733),
(266, 2, 8, 10000, 5, 212, '2,1,0,6,7,5,4,3,', 87.890194461733),
(267, 2, 1, 10000, 6, 226, '2,1,0,6,7,5,4,3,', 87.890194461733),
(268, 2, 1, 10000, 6, 739, '5,7,6,0,1,2,3,4,', 87.890194461733),
(269, 2, 1, 10000, 6, 2705, '3,4,5,7,6,0,1,2,', 87.890194461733),
(270, 2, 2, 10000, 6, 238, '3,4,5,7,6,0,1,2,', 87.890194461733),
(271, 2, 2, 10000, 6, 4, '6,0,1,2,3,4,5,7,', 87.890194461733),
(272, 2, 2, 10000, 6, 329, '5,7,6,0,1,2,3,4,', 87.890194461733),
(273, 2, 3, 10000, 6, 321, '1,0,6,7,5,4,3,2,', 87.890194461733),
(274, 2, 3, 10000, 6, 335, '0,6,7,5,4,3,2,1,', 87.890194461733),
(275, 2, 3, 10000, 6, 698, '3,4,5,7,6,0,1,2,', 87.890194461733),
(276, 2, 4, 10000, 6, 306, '5,7,6,0,1,2,3,4,', 87.890194461733),
(277, 2, 4, 10000, 6, 303, '4,3,2,1,0,6,7,5,', 87.890194461733),
(278, 2, 4, 10000, 6, 216, '4,3,2,1,0,6,7,5,', 87.890194461733),
(279, 2, 5, 10000, 6, 98, '6,7,5,4,3,2,1,0,', 87.890194461733),
(280, 2, 5, 10000, 6, 363, '3,2,1,0,6,7,5,4,', 87.890194461733),
(281, 2, 5, 10000, 6, 422, '7,6,0,1,2,3,4,5,', 87.890194461733),
(282, 2, 6, 10000, 6, 83, '6,7,5,4,3,2,1,0,', 87.890194461733),
(283, 2, 6, 10000, 6, 174, '7,5,4,3,2,1,0,6,', 87.890194461733),
(284, 2, 6, 10000, 6, 16, '0,1,2,3,4,5,7,6,', 87.890194461733),
(285, 2, 7, 10000, 6, 165, '2,1,0,6,7,5,4,3,', 87.890194461733),
(286, 2, 7, 10000, 6, 200, '5,7,6,0,1,2,3,4,', 87.890194461733),
(287, 2, 7, 10000, 6, 35, '4,3,2,1,0,6,7,5,', 87.890194461733),
(288, 2, 8, 10000, 6, 23, '1,0,6,7,5,4,3,2,', 87.890194461733),
(289, 2, 8, 10000, 6, 39, '0,1,2,3,4,5,7,6,', 87.890194461733),
(290, 2, 8, 10000, 6, 59, '1,2,3,4,5,7,6,0,', 87.890194461733),
(291, 2, 1, 10000, 7, 1039, '4,3,2,1,0,6,7,5,', 87.890194461733),
(292, 2, 1, 10000, 7, 340, '7,6,0,1,2,3,4,5,', 87.890194461733),
(293, 2, 1, 10000, 7, 565, '3,4,5,7,6,0,1,2,', 87.890194461733),
(294, 2, 2, 10000, 7, 58, '2,3,4,5,7,6,0,1,', 87.890194461733),
(295, 2, 2, 10000, 7, 55, '7,5,4,3,2,1,0,6,', 87.890194461733),
(296, 2, 2, 10000, 7, 374, '0,1,2,3,4,5,7,6,', 87.890194461733),
(297, 2, 3, 10000, 7, 13, '5,4,3,2,1,0,6,7,', 87.890194461733),
(298, 2, 3, 10000, 7, 29, '1,2,3,4,5,7,6,0,7,6,0,1,2,3,4,5,', 87.890194461733),
(299, 2, 3, 10000, 7, 45, '3,4,5,7,6,0,1,2,', 87.890194461733),
(300, 2, 4, 10000, 7, 31, '6,0,1,2,3,4,5,7,', 87.890194461733),
(301, 2, 4, 10000, 7, 263, '2,3,4,5,7,6,0,1,', 87.890194461733),
(302, 2, 4, 10000, 7, 125, '7,6,0,1,2,3,4,5,', 87.890194461733),
(303, 2, 5, 10000, 7, 340, '4,5,7,6,0,1,2,3,', 87.890194461733),
(304, 2, 5, 10000, 7, 14, '5,4,3,2,1,0,6,7,', 87.890194461733),
(305, 2, 5, 10000, 7, 81, '3,2,1,0,6,7,5,4,', 87.890194461733),
(306, 2, 6, 10000, 7, 392, '4,5,7,6,0,1,2,3,', 87.890194461733),
(307, 2, 6, 10000, 7, 193, '7,5,4,3,2,1,0,6,', 87.890194461733),
(308, 2, 6, 10000, 7, 75, '2,1,0,6,7,5,4,3,', 87.890194461733),
(309, 2, 7, 10000, 7, 37, '4,5,7,6,0,1,2,3,', 87.890194461733),
(310, 2, 7, 10000, 7, 211, '0,6,7,5,4,3,2,1,', 87.890194461733),
(311, 2, 7, 10000, 7, 128, '7,6,0,1,2,3,4,5,', 87.890194461733),
(312, 2, 8, 10000, 7, 101, '2,3,4,5,7,6,0,1,', 87.890194461733),
(313, 2, 8, 10000, 7, 208, '0,6,7,5,4,3,2,1,', 87.890194461733),
(314, 2, 8, 10000, 7, 97, '6,7,5,4,3,2,1,0,', 87.890194461733),
(315, 2, 1, 10000, 8, 194, '1,2,3,4,5,7,6,0,', 87.890194461733),
(316, 2, 1, 10000, 8, 150, '1,0,6,7,5,4,3,2,', 87.890194461733),
(317, 2, 1, 10000, 8, 1405, '6,7,5,4,3,2,1,0,', 87.890194461733),
(318, 2, 2, 10000, 8, 489, '6,7,5,4,3,2,1,0,', 87.890194461733),
(319, 2, 2, 10000, 8, 102, '7,5,4,3,2,1,0,6,', 87.890194461733),
(320, 2, 2, 10000, 8, 242, '2,1,0,6,7,5,4,3,', 87.890194461733),
(321, 2, 3, 10000, 8, 149, '6,0,1,2,3,4,5,7,', 87.890194461733),
(322, 2, 3, 10000, 8, 83, '3,2,1,0,6,7,5,4,', 87.890194461733),
(323, 2, 3, 10000, 8, 66, '2,1,0,6,7,5,4,3,', 87.890194461733),
(324, 2, 4, 10000, 8, 172, '1,0,6,7,5,4,3,2,', 87.890194461733),
(325, 2, 4, 10000, 8, 136, '0,6,7,5,4,3,2,1,', 87.890194461733),
(326, 2, 4, 10000, 8, 157, '6,0,1,2,3,4,5,7,', 87.890194461733),
(327, 2, 5, 10000, 8, 102, '7,5,4,3,2,1,0,6,', 87.890194461733),
(328, 2, 5, 10000, 8, 161, '3,4,5,7,6,0,1,2,', 87.890194461733),
(329, 2, 5, 10000, 8, 10, '6,7,5,4,3,2,1,0,', 87.890194461733),
(330, 2, 6, 10000, 8, 11, '2,3,4,5,7,6,0,1,', 87.890194461733),
(331, 2, 6, 10000, 8, 34, '2,1,0,6,7,5,4,3,', 87.890194461733),
(332, 2, 6, 10000, 8, 238, '1,2,3,4,5,7,6,0,', 87.890194461733),
(333, 2, 7, 10000, 8, 5, '4,3,2,1,0,6,7,5,', 87.890194461733),
(334, 2, 7, 10000, 8, 194, '6,7,5,4,3,2,1,0,', 87.890194461733),
(335, 2, 7, 10000, 8, 3, '4,5,7,6,0,1,2,3,', 87.890194461733),
(336, 2, 8, 10000, 8, 84, '0,6,7,5,4,3,2,1,', 87.890194461733),
(337, 2, 8, 10000, 8, 293, '7,5,4,3,2,1,0,6,', 87.890194461733),
(338, 2, 8, 10000, 8, 126, '2,1,0,6,7,5,4,3,', 87.890194461733),
(339, 3, 1, 10000, 2, 1445, '3,2,1,0,6,7,5,8,4,', 95.161378995617),
(340, 3, 1, 10000, 2, 2562, '3,4,8,5,7,6,0,1,2,', 95.161378995617),
(341, 3, 1, 10000, 2, 293, '4,8,5,7,6,0,1,2,3,', 95.161378995617),
(342, 3, 2, 10000, 2, 1410, '3,4,8,5,7,6,0,1,2,', 95.161378995617),
(343, 3, 2, 10000, 2, 1311, '1,2,3,4,8,5,7,6,0,', 95.161378995617),
(344, 3, 2, 10000, 2, 1165, '4,3,2,1,0,6,7,5,8,', 95.161378995617),
(345, 3, 3, 10000, 2, 361, '3,2,1,0,6,7,5,8,4,', 95.161378995617),
(346, 3, 3, 10000, 2, 1989, '3,2,1,0,6,7,5,8,4,', 95.161378995617),
(347, 3, 3, 10000, 2, 502, '4,3,2,1,0,6,7,5,8,', 95.161378995617),
(348, 3, 4, 10000, 2, 685, '3,4,8,5,7,6,0,1,2,', 95.161378995617),
(349, 3, 4, 10000, 2, 450, '1,2,3,4,8,5,7,6,0,', 95.161378995617),
(350, 3, 4, 10000, 2, 1100, '7,5,8,4,3,2,1,0,6,', 95.161378995617),
(351, 3, 5, 10000, 2, 2324, '1,0,6,7,5,8,4,3,2,', 95.161378995617),
(352, 3, 5, 10000, 2, 936, '5,7,6,0,1,2,3,4,8,', 95.161378995617),
(353, 3, 5, 10000, 2, 2366, '0,1,2,3,4,8,5,7,6,', 95.161378995617),
(354, 3, 6, 10000, 2, 983, '1,2,3,4,8,5,7,6,0,', 95.161378995617),
(355, 3, 6, 10000, 2, 328, '8,5,7,6,0,1,2,3,4,', 95.161378995617),
(356, 3, 6, 10000, 2, 757, '2,1,0,6,7,5,8,4,3,', 95.161378995617),
(357, 3, 7, 10000, 2, 3004, '6,0,1,2,3,4,8,5,7,', 95.161378995617),
(358, 3, 7, 10000, 2, 524, '2,1,0,6,7,5,8,4,3,', 95.161378995617),
(359, 3, 7, 10000, 2, 1519, '7,5,8,4,3,2,1,0,6,', 95.161378995617),
(360, 3, 8, 10000, 2, 329, '2,3,4,8,5,7,6,0,1,', 95.161378995617),
(361, 3, 8, 10000, 2, 1885, '8,5,7,6,0,1,2,3,4,', 95.161378995617),
(362, 3, 8, 10000, 2, 1342, '8,5,7,6,0,1,2,3,4,', 95.161378995617),
(363, 3, 9, 10000, 2, 232, '2,1,0,6,7,5,8,4,3,', 95.161378995617),
(364, 3, 9, 10000, 2, 393, '7,6,0,1,2,3,4,8,5,', 95.161378995617),
(365, 3, 9, 10000, 2, 347, '2,3,4,8,5,7,6,0,1,', 95.161378995617),
(366, 3, 1, 10000, 3, 3032, '1,2,3,4,8,5,7,6,0,', 95.161378995617),
(367, 3, 1, 10000, 3, 1318, '6,7,5,8,4,3,2,1,0,', 95.161378995617),
(368, 3, 1, 10000, 3, 245, '2,1,0,6,7,5,8,4,3,', 95.161378995617),
(369, 3, 2, 10000, 3, 145, '8,5,7,6,0,1,2,3,4,', 95.161378995617),
(370, 3, 2, 10000, 3, 1130, '0,6,7,5,8,4,3,2,1,', 95.161378995617),
(371, 3, 2, 10000, 3, 713, '6,7,5,8,4,3,2,1,0,', 95.161378995617),
(372, 3, 3, 10000, 3, 264, '7,6,0,1,2,3,4,8,5,', 95.161378995617),
(373, 3, 3, 10000, 3, 836, '6,7,5,8,4,3,2,1,0,', 95.161378995617),
(374, 3, 3, 10000, 3, 1076, '1,2,3,4,8,5,7,6,0,', 95.161378995617),
(375, 3, 4, 10000, 3, 785, '7,5,8,4,3,2,1,0,6,', 95.161378995617),
(376, 3, 4, 10000, 3, 868, '7,5,8,4,3,2,1,0,6,', 95.161378995617),
(377, 3, 4, 10000, 3, 3390, '6,7,5,8,4,3,2,1,0,', 95.161378995617),
(378, 3, 5, 10000, 3, 240, '8,4,3,2,1,0,6,7,5,', 95.161378995617),
(379, 3, 5, 10000, 3, 347, '3,2,1,0,6,7,5,8,4,', 95.161378995617),
(380, 3, 5, 10000, 3, 718, '2,1,0,6,7,5,8,4,3,', 95.161378995617),
(381, 3, 6, 10000, 3, 740, '4,8,5,7,6,0,1,2,3,', 95.161378995617),
(382, 3, 6, 10000, 3, 275, '6,0,1,2,3,4,8,5,7,', 95.161378995617),
(383, 3, 6, 10000, 3, 122, '0,6,7,5,8,4,3,2,1,', 95.161378995617),
(384, 3, 7, 10000, 3, 608, '2,3,4,8,5,7,6,0,1,', 95.161378995617),
(385, 3, 7, 10000, 3, 704, '4,8,5,7,6,0,1,2,3,', 95.161378995617),
(386, 3, 7, 10000, 3, 306, '7,5,8,4,3,2,1,0,6,', 95.161378995617),
(387, 3, 8, 10000, 3, 858, '2,3,4,8,5,7,6,0,1,', 95.161378995617),
(388, 3, 8, 10000, 3, 1918, '2,1,0,6,7,5,8,4,3,', 95.161378995617),
(389, 3, 8, 10000, 3, 671, '0,1,2,3,4,8,5,7,6,', 95.161378995617),
(390, 3, 9, 10000, 3, 312, '1,2,3,4,8,5,7,6,0,', 95.161378995617),
(391, 3, 9, 10000, 3, 941, '5,7,6,0,1,2,3,4,8,', 95.161378995617),
(392, 3, 9, 10000, 3, 1260, '2,3,4,8,5,7,6,0,1,', 95.161378995617),
(393, 3, 1, 10000, 4, 426, '8,5,7,6,0,1,2,3,4,', 95.161378995617),
(394, 3, 1, 10000, 4, 2433, '7,6,0,1,2,3,4,8,5,', 95.161378995617),
(395, 3, 1, 10000, 4, 211, '3,4,8,5,7,6,0,1,2,', 95.161378995617),
(396, 3, 2, 10000, 4, 377, '3,2,1,0,6,7,5,8,4,', 95.161378995617),
(397, 3, 2, 10000, 4, 4644, '5,7,6,0,1,2,3,4,8,', 95.161378995617),
(398, 3, 2, 10000, 4, 3186, '0,6,7,5,8,4,3,2,1,', 95.161378995617),
(399, 3, 3, 10000, 4, 111, '8,4,3,2,1,0,6,7,5,', 95.161378995617),
(400, 3, 3, 10000, 4, 577, '0,1,2,3,4,8,5,7,6,', 95.161378995617),
(401, 3, 3, 10000, 4, 1703, '7,6,0,1,2,3,4,8,5,', 95.161378995617),
(402, 3, 4, 10000, 4, 275, '5,8,4,3,2,1,0,6,7,', 95.161378995617),
(403, 3, 4, 10000, 4, 259, '1,0,6,7,5,8,4,3,2,', 95.161378995617),
(404, 3, 4, 10000, 4, 205, '6,7,5,8,4,3,2,1,0,', 95.161378995617),
(405, 3, 5, 10000, 4, 412, '0,1,2,3,4,8,5,7,6,', 95.161378995617),
(406, 3, 5, 10000, 4, 2730, '6,0,1,2,3,4,8,5,7,', 95.161378995617),
(407, 3, 5, 10000, 4, 519, '3,2,1,0,6,7,5,8,4,', 95.161378995617),
(408, 3, 6, 10000, 4, 60, '0,6,7,5,8,4,3,2,1,', 95.161378995617),
(409, 3, 6, 10000, 4, 1306, '8,5,7,6,0,1,2,3,4,', 95.161378995617),
(410, 3, 6, 10000, 4, 805, '4,3,2,1,0,6,7,5,8,', 95.161378995617),
(411, 3, 7, 10000, 4, 106, '2,1,0,6,7,5,8,4,3,', 95.161378995617),
(412, 3, 7, 10000, 4, 211, '5,8,4,3,2,1,0,6,7,', 95.161378995617),
(413, 3, 7, 10000, 4, 2685, '2,3,4,8,5,7,6,0,1,', 95.161378995617),
(414, 3, 8, 10000, 4, 944, '3,4,8,5,7,6,0,1,2,', 95.161378995617),
(415, 3, 8, 10000, 4, 914, '6,7,5,8,4,3,2,1,0,', 95.161378995617),
(416, 3, 8, 10000, 4, 212, '5,8,4,3,2,1,0,6,7,', 95.161378995617),
(417, 3, 9, 10000, 4, 389, '1,2,3,4,8,5,7,6,0,', 95.161378995617),
(418, 3, 9, 10000, 4, 419, '4,3,2,1,0,6,7,5,8,', 95.161378995617),
(419, 3, 9, 10000, 4, 325, '1,0,6,7,5,8,4,3,2,', 95.161378995617),
(420, 3, 1, 10000, 5, 3033, '7,6,0,1,2,3,4,8,5,', 95.161378995617),
(421, 3, 1, 10000, 5, 10000, '', 0),
(422, 3, 1, 10000, 5, 950, '1,2,3,4,8,5,7,6,0,', 95.161378995617),
(423, 3, 1, 10000, 5, 949, '1,0,6,7,5,8,4,3,2,', 95.161378995617),
(424, 3, 2, 10000, 5, 453, '8,4,3,2,1,0,6,7,5,', 95.161378995617),
(425, 3, 2, 10000, 5, 1668, '7,6,0,1,2,3,4,8,5,', 95.161378995617),
(426, 3, 2, 10000, 5, 239, '5,7,6,0,1,2,3,4,8,', 95.161378995617),
(427, 3, 3, 10000, 5, 147, '8,5,7,6,0,1,2,3,4,', 95.161378995617),
(428, 3, 3, 10000, 5, 1365, '8,4,3,2,1,0,6,7,5,', 95.161378995617),
(429, 3, 3, 10000, 5, 512, '2,1,0,6,7,5,8,4,3,', 95.161378995617),
(430, 3, 4, 10000, 5, 352, '8,5,7,6,0,1,2,3,4,', 95.161378995617),
(431, 3, 4, 10000, 5, 601, '3,4,8,5,7,6,0,1,2,5,7,6,0,1,2,3,4,8,', 95.161378995617),
(432, 3, 4, 10000, 5, 309, '0,6,7,5,8,4,3,2,1,', 95.161378995617),
(433, 3, 5, 10000, 5, 280, '4,3,2,1,0,6,7,5,8,', 95.161378995617),
(434, 3, 5, 10000, 5, 78, '4,3,2,1,0,6,7,5,8,', 95.161378995617),
(435, 3, 5, 10000, 5, 1051, '8,4,3,2,1,0,6,7,5,', 95.161378995617),
(436, 3, 6, 10000, 5, 1283, '1,0,6,7,5,8,4,3,2,', 95.161378995617),
(437, 3, 6, 10000, 5, 346, '0,6,7,5,8,4,3,2,1,', 95.161378995617),
(438, 3, 6, 10000, 5, 1128, '0,6,7,5,8,4,3,2,1,', 95.161378995617),
(439, 3, 7, 10000, 5, 1166, '7,6,0,1,2,3,4,8,5,', 95.161378995617),
(440, 3, 7, 10000, 5, 167, '5,8,4,3,2,1,0,6,7,', 95.161378995617),
(441, 3, 7, 10000, 5, 436, '7,6,0,1,2,3,4,8,5,', 95.161378995617),
(442, 3, 8, 10000, 5, 668, '3,2,1,0,6,7,5,8,4,', 95.161378995617),
(443, 3, 8, 10000, 5, 1582, '0,1,2,3,4,8,5,7,6,', 95.161378995617),
(444, 3, 8, 10000, 5, 827, '4,8,5,7,6,0,1,2,3,', 95.161378995617),
(445, 3, 9, 10000, 5, 64, '7,5,8,4,3,2,1,0,6,', 95.161378995617),
(446, 3, 9, 10000, 5, 222, '1,2,3,4,8,5,7,6,0,', 95.161378995617),
(447, 3, 9, 10000, 5, 156, '7,5,8,4,3,2,1,0,6,', 95.161378995617),
(448, 3, 1, 10000, 6, 3790, '1,2,3,4,8,5,7,6,0,', 95.161378995617),
(449, 3, 1, 10000, 6, 1116, '4,3,2,1,0,6,7,5,8,', 95.161378995617),
(450, 3, 1, 10000, 6, 6227, '7,5,8,4,3,2,1,0,6,', 95.161378995617),
(451, 3, 2, 10000, 6, 193, '6,7,5,8,4,3,2,1,0,', 95.161378995617),
(452, 3, 2, 10000, 6, 1630, '5,7,6,0,1,2,3,4,8,', 95.161378995617),
(453, 3, 2, 10000, 6, 4285, '1,2,3,4,8,5,7,6,0,', 95.161378995617),
(454, 3, 3, 10000, 6, 296, '1,2,3,4,8,5,7,6,0,', 95.161378995617),
(455, 3, 3, 10000, 6, 1868, '2,3,4,8,5,7,6,0,1,', 95.161378995617),
(456, 3, 3, 10000, 6, 268, '7,5,8,4,3,2,1,0,6,', 95.161378995617),
(457, 3, 4, 10000, 6, 807, '1,2,3,4,8,5,7,6,0,', 95.161378995617),
(458, 3, 4, 10000, 6, 791, '4,3,2,1,0,6,7,5,8,', 95.161378995617),
(459, 3, 4, 10000, 6, 1703, '2,1,0,6,7,5,8,4,3,', 95.161378995617),
(460, 3, 5, 10000, 6, 646, '6,7,5,8,4,3,2,1,0,', 95.161378995617),
(461, 3, 5, 10000, 6, 249, '3,2,1,0,6,7,5,8,4,', 95.161378995617),
(462, 3, 5, 10000, 6, 315, '2,3,4,8,5,7,6,0,1,', 95.161378995617),
(463, 3, 6, 10000, 6, 1616, '7,5,8,4,3,2,1,0,6,', 95.161378995617),
(464, 3, 6, 10000, 6, 529, '7,6,0,1,2,3,4,8,5,', 95.161378995617),
(465, 3, 6, 10000, 6, 222, '0,6,7,5,8,4,3,2,1,', 95.161378995617),
(466, 3, 7, 10000, 6, 159, '1,2,3,4,8,5,7,6,0,', 95.161378995617),
(467, 3, 7, 10000, 6, 855, '4,3,2,1,0,6,7,5,8,', 95.161378995617),
(468, 3, 7, 10000, 6, 607, '5,8,4,3,2,1,0,6,7,', 95.161378995617),
(469, 3, 8, 10000, 6, 1628, '6,0,1,2,3,4,8,5,7,', 95.161378995617),
(470, 3, 8, 10000, 6, 765, '2,3,4,8,5,7,6,0,1,', 95.161378995617),
(471, 3, 8, 10000, 6, 274, '4,3,2,1,0,6,7,5,8,', 95.161378995617),
(472, 3, 9, 10000, 6, 864, '3,4,8,5,7,6,0,1,2,', 95.161378995617),
(473, 3, 9, 10000, 6, 68, '4,3,2,1,0,6,7,5,8,', 95.161378995617),
(474, 3, 9, 10000, 6, 301, '4,8,5,7,6,0,1,2,3,', 95.161378995617),
(475, 3, 1, 10000, 7, 3681, '3,2,1,0,6,7,5,8,4,', 95.161378995617),
(476, 3, 1, 10000, 7, 2615, '4,8,5,7,6,0,1,2,3,', 95.161378995617),
(477, 3, 1, 10000, 7, 3211, '7,5,8,4,3,2,1,0,6,', 95.161378995617),
(478, 3, 2, 10000, 7, 8, '7,5,8,4,3,2,1,0,6,', 95.161378995617),
(479, 3, 2, 10000, 7, 518, '0,1,2,3,4,8,5,7,6,', 95.161378995617),
(480, 3, 2, 10000, 7, 1659, '3,4,8,5,7,6,0,1,2,', 95.161378995617),
(481, 3, 3, 10000, 7, 1015, '8,5,7,6,0,1,2,3,4,', 95.161378995617),
(482, 3, 3, 10000, 7, 1045, '0,6,7,5,8,4,3,2,1,', 95.161378995617),
(483, 3, 3, 10000, 7, 1197, '2,1,0,6,7,5,8,4,3,', 95.161378995617),
(484, 3, 4, 10000, 7, 355, '3,2,1,0,6,7,5,8,4,', 95.161378995617),
(485, 3, 4, 10000, 7, 834, '1,2,3,4,8,5,7,6,0,', 95.161378995617),
(486, 3, 4, 10000, 7, 565, '4,8,5,7,6,0,1,2,3,', 95.161378995617),
(487, 3, 5, 10000, 7, 481, '0,6,7,5,8,4,3,2,1,', 95.161378995617),
(488, 3, 5, 10000, 7, 277, '5,8,4,3,2,1,0,6,7,', 95.161378995617),
(489, 3, 5, 10000, 7, 536, '0,1,2,3,4,8,5,7,6,', 95.161378995617),
(490, 3, 6, 10000, 7, 206, '3,4,8,5,7,6,0,1,2,', 95.161378995617),
(491, 3, 6, 10000, 7, 19, '4,3,2,1,0,6,7,5,8,', 95.161378995617),
(492, 3, 6, 10000, 7, 935, '0,1,2,3,4,8,5,7,6,', 95.161378995617),
(493, 3, 7, 10000, 7, 938, '4,8,5,7,6,0,1,2,3,', 95.161378995617),
(494, 3, 7, 10000, 7, 408, '0,6,7,5,8,4,3,2,1,', 95.161378995617),
(495, 3, 7, 10000, 7, 1485, '8,5,7,6,0,1,2,3,4,', 95.161378995617),
(496, 3, 8, 10000, 7, 1177, '6,0,1,2,3,4,8,5,7,', 95.161378995617),
(497, 3, 8, 10000, 7, 1081, '1,2,3,4,8,5,7,6,0,', 95.161378995617),
(498, 3, 8, 10000, 7, 645, '5,7,6,0,1,2,3,4,8,', 95.161378995617),
(499, 3, 9, 10000, 7, 2302, '6,7,5,8,4,3,2,1,0,', 95.161378995617),
(500, 3, 9, 10000, 7, 403, '0,6,7,5,8,4,3,2,1,', 95.161378995617),
(501, 3, 9, 10000, 7, 495, '7,5,8,4,3,2,1,0,6,', 95.161378995617),
(502, 3, 9, 10000, 7, 526, '6,0,1,2,3,4,8,5,7,', 95.161378995617),
(503, 3, 9, 10000, 7, 1517, '3,2,1,0,6,7,5,8,4,', 95.161378995617),
(504, 3, 9, 10000, 7, 1462, '8,5,7,6,0,1,2,3,4,', 95.161378995617),
(505, 3, 1, 10000, 8, 999, '2,3,4,8,5,7,6,0,1,', 95.161378995617),
(506, 3, 1, 10000, 8, 1203, '0,6,7,5,8,4,3,2,1,', 95.161378995617),
(507, 3, 1, 10000, 8, 2002, '6,7,5,8,4,3,2,1,0,', 95.161378995617),
(508, 3, 2, 10000, 8, 323, '5,7,6,0,1,2,3,4,8,', 95.161378995617),
(509, 3, 2, 10000, 8, 1458, '8,4,3,2,1,0,6,7,5,', 95.161378995617),
(510, 3, 2, 10000, 8, 286, '8,5,7,6,0,1,2,3,4,', 95.161378995617),
(511, 3, 3, 10000, 8, 495, '3,2,1,0,6,7,5,8,4,', 95.161378995617),
(512, 3, 3, 10000, 8, 1001, '1,0,6,7,5,8,4,3,2,', 95.161378995617),
(513, 3, 3, 10000, 8, 1496, '3,4,8,5,7,6,0,1,2,', 95.161378995617),
(514, 3, 4, 10000, 8, 42, '5,7,6,0,1,2,3,4,8,', 95.161378995617),
(515, 3, 4, 10000, 8, 9, '2,3,4,8,5,7,6,0,1,', 95.161378995617),
(516, 3, 4, 10000, 8, 26, '4,3,2,1,0,6,7,5,8,', 95.161378995617),
(517, 3, 5, 10000, 8, 89, '8,5,7,6,0,1,2,3,4,', 95.161378995617),
(518, 3, 5, 10000, 8, 1017, '0,1,2,3,4,8,5,7,6,', 95.161378995617),
(519, 3, 5, 10000, 8, 498, '2,3,4,8,5,7,6,0,1,', 95.161378995617),
(520, 3, 6, 10000, 8, 776, '4,3,2,1,0,6,7,5,8,', 95.161378995617),
(521, 3, 6, 10000, 8, 3459, '0,1,2,3,4,8,5,7,6,', 95.161378995617),
(522, 3, 6, 10000, 8, 1180, '3,2,1,0,6,7,5,8,4,', 95.161378995617),
(523, 3, 7, 10000, 8, 264, '0,1,2,3,4,8,5,7,6,', 95.161378995617),
(524, 3, 7, 10000, 8, 330, '4,3,2,1,0,6,7,5,8,', 95.161378995617),
(525, 3, 7, 10000, 8, 1314, '4,3,2,1,0,6,7,5,8,', 95.161378995617),
(526, 3, 8, 10000, 8, 201, '3,4,8,5,7,6,0,1,2,', 95.161378995617),
(527, 3, 8, 10000, 8, 515, '6,0,1,2,3,4,8,5,7,', 95.161378995617),
(528, 3, 8, 10000, 8, 812, '7,5,8,4,3,2,1,0,6,', 95.161378995617),
(529, 3, 9, 10000, 8, 692, '4,8,5,7,6,0,1,2,3,', 95.161378995617),
(530, 3, 9, 10000, 8, 535, '1,0,6,7,5,8,4,3,2,', 95.161378995617),
(531, 3, 9, 10000, 8, 291, '5,7,6,0,1,2,3,4,8,', 95.161378995617),
(532, 3, 1, 10000, 9, 2285, '4,3,2,1,0,6,7,5,8,', 95.161378995617),
(533, 3, 1, 10000, 9, 1584, '3,4,8,5,7,6,0,1,2,', 95.161378995617),
(534, 3, 1, 10000, 9, 2266, '2,1,0,6,7,5,8,4,3,', 95.161378995617),
(535, 3, 2, 10000, 9, 1928, '1,0,6,7,5,8,4,3,2,', 95.161378995617),
(536, 3, 2, 10000, 9, 2743, '5,8,4,3,2,1,0,6,7,', 95.161378995617),
(537, 3, 2, 10000, 9, 772, '4,8,5,7,6,0,1,2,3,', 95.161378995617),
(538, 3, 3, 10000, 9, 1655, '8,4,3,2,1,0,6,7,5,', 95.161378995617),
(539, 3, 3, 10000, 9, 194, '1,2,3,4,8,5,7,6,0,', 95.161378995617),
(540, 3, 3, 10000, 9, 437, '8,5,7,6,0,1,2,3,4,', 95.161378995617),
(541, 3, 4, 10000, 9, 560, '5,7,6,0,1,2,3,4,8,', 95.161378995617),
(542, 3, 4, 10000, 9, 391, '5,7,6,0,1,2,3,4,8,', 95.161378995617),
(543, 3, 4, 10000, 9, 1017, '3,2,1,0,6,7,5,8,4,', 95.161378995617),
(544, 3, 5, 10000, 9, 300, '4,8,5,7,6,0,1,2,3,', 95.161378995617),
(545, 3, 5, 10000, 9, 183, '3,2,1,0,6,7,5,8,4,', 95.161378995617),
(546, 3, 5, 10000, 9, 300, '7,5,8,4,3,2,1,0,6,', 95.161378995617),
(547, 3, 6, 10000, 9, 164, '8,4,3,2,1,0,6,7,5,', 95.161378995617),
(548, 3, 6, 10000, 9, 84, '1,2,3,4,8,5,7,6,0,', 95.161378995617),
(549, 3, 6, 10000, 9, 609, '8,4,3,2,1,0,6,7,5,', 95.161378995617),
(550, 3, 7, 10000, 9, 679, '7,6,0,1,2,3,4,8,5,', 95.161378995617),
(551, 3, 7, 10000, 9, 641, '8,5,7,6,0,1,2,3,4,', 95.161378995617),
(552, 3, 7, 10000, 9, 342, '3,2,1,0,6,7,5,8,4,', 95.161378995617),
(553, 3, 8, 10000, 9, 148, '3,2,1,0,6,7,5,8,4,', 95.161378995617),
(554, 3, 8, 10000, 9, 1143, '8,5,7,6,0,1,2,3,4,', 95.161378995617),
(555, 3, 8, 10000, 9, 195, '1,2,3,4,8,5,7,6,0,', 95.161378995617),
(556, 3, 9, 10000, 9, 1528, '7,5,8,4,3,2,1,0,6,', 95.161378995617),
(557, 3, 9, 10000, 9, 313, '3,4,8,5,7,6,0,1,2,', 95.161378995617),
(558, 3, 9, 10000, 9, 373, '1,0,6,7,5,8,4,3,2,', 95.161378995617),
(559, 3, 9, 10000, 9, 1620, '3,2,1,0,6,7,5,8,4,', 95.161378995617);
-- --------------------------------------------------------
--
-- Struktur dari tabel `init_param`
--
CREATE TABLE IF NOT EXISTS `init_param` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`v_max` int(11) NOT NULL,
`max_epoch` int(11) NOT NULL,
`city_count` int(11) NOT NULL,
`target` float NOT NULL,
`xlocs` varchar(255) NOT NULL,
`ylocs` varchar(255) NOT NULL,
`particle_count` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
--
-- Dumping data untuk tabel `init_param`
--
INSERT INTO `init_param` (`id`, `v_max`, `max_epoch`, `city_count`, `target`, `xlocs`, `ylocs`, `particle_count`) VALUES
(1, 8, 10000, 8, 86.63, '30,40,40,29,19,9,9,20', '5,10,20,25,25,19,9,5', 6),
(2, 8, 10000, 8, 87.9, '35,41,40,20,19,9,19,20', '5,10,23,25,25,19,9,15', 6),
(3, 9, 10000, 9, 95.17, '35,41,40,20,19,9,19,20,15', '5,10,23,25,25,19,9,15,30', 7),
(4, 10, 10000, 10, 99.61, '35,41,40,20,19,9,19,20,15,17', '5,10,23,25,25,19,9,15,30,7', 8);
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
-- phpMyAdmin SQL Dump
-- version 4.7.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 29, 2018 at 09:16 AM
-- Server version: 10.1.28-MariaDB
-- PHP Version: 5.6.32
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `db_travelwuz`
--
-- --------------------------------------------------------
--
-- Table structure for table `tb_customer`
--
CREATE TABLE `tb_customer` (
`id` int(5) NOT NULL,
`name` varchar(50) NOT NULL,
`address` text NOT NULL,
`phone` varchar(15) NOT NULL,
`gender` set('male','female') NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tb_customer`
--
INSERT INTO `tb_customer` (`id`, `name`, `address`, `phone`, `gender`) VALUES
(1, 'Ade', 'Jl. Asasdalsdjlkasdasd', '082134751593', 'male'),
(3, 'Joko Susilo', 'Jalan Kauman Lama', '081234567890', 'male');
-- --------------------------------------------------------
--
-- Table structure for table `tb_reservation`
--
CREATE TABLE `tb_reservation` (
`id` int(5) NOT NULL,
`reservation_code` varchar(25) NOT NULL,
`reservation_at` time NOT NULL,
`reservation_date` date NOT NULL,
`customer_id` int(5) NOT NULL,
`seat_code` varchar(25) NOT NULL,
`rute_id` int(5) NOT NULL,
`depart_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`price` int(11) NOT NULL,
`user_id` int(5) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tb_reservation`
--
INSERT INTO `tb_reservation` (`id`, `reservation_code`, `reservation_at`, `reservation_date`, `customer_id`, `seat_code`, `rute_id`, `depart_at`, `price`, `user_id`) VALUES
(1, 'RSV01', '05:38:00', '2018-01-22', 1, 'ST0001', 1, '2018-01-26 06:49:24', 7000000, 1);
-- --------------------------------------------------------
--
-- Table structure for table `tb_rute`
--
CREATE TABLE `tb_rute` (
`id` int(5) NOT NULL,
`depart_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`rute_from` text NOT NULL,
`rute_to` text NOT NULL,
`price` int(11) NOT NULL,
`transportation_id` int(5) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tb_rute`
--
INSERT INTO `tb_rute` (`id`, `depart_at`, `rute_from`, `rute_to`, `price`, `transportation_id`) VALUES
(1, '2018-03-09 07:29:00', 'Jakarta', 'Bali', 7000000, 1),
(2, '2018-01-31 03:15:00', 'Bali', 'Jambi', 9000000, 1);
-- --------------------------------------------------------
--
-- Table structure for table `tb_transportation`
--
CREATE TABLE `tb_transportation` (
`id` int(5) NOT NULL,
`code` varchar(25) NOT NULL,
`description` text NOT NULL,
`seat_qty` int(5) NOT NULL,
`transportation_type_id` int(5) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tb_transportation`
--
INSERT INTO `tb_transportation` (`id`, `code`, `description`, `seat_qty`, `transportation_type_id`) VALUES
(1, 'GRD01', 'Pesawat Garuda Air', 1, 1);
-- --------------------------------------------------------
--
-- Table structure for table `tb_transportation_type`
--
CREATE TABLE `tb_transportation_type` (
`id` int(5) NOT NULL,
`description` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tb_transportation_type`
--
INSERT INTO `tb_transportation_type` (`id`, `description`) VALUES
(1, 'Pesawat Garuda Air');
-- --------------------------------------------------------
--
-- Table structure for table `tb_user`
--
CREATE TABLE `tb_user` (
`id` int(5) NOT NULL,
`username` varchar(25) NOT NULL,
`password` varchar(100) NOT NULL,
`fullname` varchar(50) NOT NULL,
`level` set('admin','user') NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tb_user`
--
INSERT INTO `tb_user` (`id`, `username`, `password`, `fullname`, `level`) VALUES
(1, 'ade1256', 'YWRlMTI1NjEyNTY=', 'Ade Prasetyo', 'admin'),
(5, 'jonor98', 'cG9vcG9rMTIyMjIyMg==', '<NAME>', 'user'),
(6, 'gueganteng', 'YWRlMTI1NjEyNTY=', 'gantengabis', 'user'),
(7, 'asg333', 'MzMzYXNn', '<NAME>', 'user');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `tb_customer`
--
ALTER TABLE `tb_customer`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `tb_reservation`
--
ALTER TABLE `tb_reservation`
ADD PRIMARY KEY (`id`),
ADD KEY `rute_id` (`rute_id`),
ADD KEY `user_id` (`user_id`),
ADD KEY `customer_id` (`customer_id`);
--
-- Indexes for table `tb_rute`
--
ALTER TABLE `tb_rute`
ADD PRIMARY KEY (`id`),
ADD KEY `transportation_id` (`transportation_id`);
--
-- Indexes for table `tb_transportation`
--
ALTER TABLE `tb_transportation`
ADD PRIMARY KEY (`id`),
ADD KEY `transportation_type_id` (`transportation_type_id`);
--
-- Indexes for table `tb_transportation_type`
--
ALTER TABLE `tb_transportation_type`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `tb_user`
--
ALTER TABLE `tb_user`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `tb_customer`
--
ALTER TABLE `tb_customer`
MODIFY `id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `tb_user`
--
ALTER TABLE `tb_user`
MODIFY `id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `tb_reservation`
--
ALTER TABLE `tb_reservation`
ADD CONSTRAINT `customer_id` FOREIGN KEY (`customer_id`) REFERENCES `tb_customer` (`id`),
ADD CONSTRAINT `rute_id` FOREIGN KEY (`rute_id`) REFERENCES `tb_rute` (`id`),
ADD CONSTRAINT `user_id` FOREIGN KEY (`user_id`) REFERENCES `tb_user` (`id`);
--
-- Constraints for table `tb_rute`
--
ALTER TABLE `tb_rute`
ADD CONSTRAINT `transportation_id` FOREIGN KEY (`transportation_id`) REFERENCES `tb_transportation` (`id`);
--
-- Constraints for table `tb_transportation`
--
ALTER TABLE `tb_transportation`
ADD CONSTRAINT `transportation_type_id` FOREIGN KEY (`transportation_type_id`) REFERENCES `tb_transportation_type` (`id`);
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.