sql
stringlengths
6
1.05M
-- liquibase formatted sql -- changeset Lang:l-state-1 SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- -- Table structure for L_STATE -- ---------------------------- DROP TABLE IF EXISTS `L_STATE`; CREATE TABLE `L_STATE` ( `KEY` VARCHAR(36) NOT NULL COMMENT '「key」- 省会主键', `NAME` VARCHAR(32) NOT NULL COMMENT '「name」- 省会名称', `CODE` VARCHAR(36) DEFAULT NULL COMMENT '「code」- 省会编码', `ALIAS` VARCHAR(32) NOT NULL COMMENT '「alias」- 别名(缩写)', `METADATA` TEXT COMMENT '「metadata」- 附加配置', `ORDER` INT(11) DEFAULT NULL COMMENT '「order」- 排序', `COUNTRY_ID` VARCHAR(36) NOT NULL COMMENT '「countryId」- 国家ID', -- 特殊字段 `ACTIVE` BIT DEFAULT NULL COMMENT '「active」- 是否启用', `SIGMA` VARCHAR(32) DEFAULT NULL COMMENT '「sigma」- 统一标识', `LANGUAGE` VARCHAR(8) DEFAULT NULL COMMENT '「language」- 使用的语言', -- Auditor字段 `CREATED_AT` DATETIME COMMENT '「createdAt」- 创建时间', `CREATED_BY` VARCHAR(36) COMMENT '「createdBy」- 创建人', `UPDATED_AT` DATETIME COMMENT '「updatedAt」- 更新时间', `UPDATED_BY` VARCHAR(36) COMMENT '「updatedBy」- 更新人', PRIMARY KEY (`KEY`) ); -- changeset Lang:l-state-2 ALTER TABLE L_STATE ADD UNIQUE (`CODE`, `SIGMA`); -- changeset Lang:l-state-3 -- ---------------------------- -- Records of L_STATE -- ---------------------------- BEGIN; INSERT INTO `L_STATE` VALUES ('0b9f22d0-5c63-44aa-ad88-469af891fd96', '青海省', 'QH', '青', NULL, 29, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('0e600cd7-eb9b-4f91-8772-96eee4043deb', '天津市', 'TJ', '津', NULL, 5, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('1217c9af-748a-4b42-a120-23f89f79bea0', '海南省', 'HAN', '琼', NULL, 23, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('1929cb4b-3475-4a0f-bf80-bb118b0af8b9', '江西省', 'JX', '赣', NULL, 22, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('1d0d0600-479b-418e-be8c-3eb615b39a3d', '湖南省', 'HUN', '湘', NULL, 19, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('21a4d8bb-76d8-4dcb-b317-00ff122cff6d', '宁夏省', 'NX', '宁', NULL, 30, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('26d8b6aa-81ec-4e94-8920-d7a36b63aa0d', '云南省', 'YN', '滇', NULL, 25, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('2e931610-54aa-4dc4-9f29-9b9a300778c0', '陕西省', 'SX1', '秦', NULL, 27, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('2faaa422-5236-4d12-a27b-abfbba1ef767', '山西省', 'SX', '晋', NULL, 7, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('36043ac3-9d21-4010-877d-f47338210b63', '贵州省', 'GZ', '黔', NULL, 24, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('396fd2ae-3194-4a75-9145-bbd81bee07f2', '吉林省', 'JL', '吉', NULL, 10, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('40f427b4-ccc4-4967-8ce4-f9b9023d24b7', '西藏', 'XZ', '藏', NULL, 26, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('46cdadf4-c40f-4904-9e7a-b5aeb691d627', '台湾省', 'TW', '宝岛', NULL, 32, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('4aab8599-afb8-4552-82d5-5ff97dc7b780', '河北省', 'HEB', '冀', NULL, 6, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('58f94c9d-5db7-4a98-92da-13b8bdea3e1a', '辽宁省', 'LN', '辽', NULL, 9, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('703913de-6889-4224-b817-077aa75aed29', '新疆省', 'XJ', '新', NULL, 31, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('7bb2549c-c713-4012-a420-98ef94687b76', '上海市', 'SH', '泸', NULL, 4, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('8379b422-0672-48b5-a879-2a2250e53088', '浙江省', 'ZJ', '浙', NULL, 16, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('84d6d546-171d-43cc-92a1-fb35022c3dd9', '河南省', 'HEN', '豫', NULL, 8, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('85e12347-dc0c-40a3-ba7d-531c718ca98d', '港澳', 'GA', '香港澳门', NULL, 33, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('8e7f4270-162a-4737-941a-f6ef2b6b580b', '山东省', 'SD', '鲁', NULL, 14, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('9160df58-c1dc-4c78-a774-709d4e3c12f7', '福建省', 'FJ', '闽', NULL, 17, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('96394a43-eab6-4626-8b1f-040309f8ff0e', '内蒙古', 'NMG', '蒙', NULL, 12, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('a2630f50-39ed-4f27-bf0c-66c1d3f27df7', '广西省', 'GX', '桂', NULL, 21, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('c06e1be0-e0fb-40bf-b39c-9cf01d96007d', '甘肃省', 'GS', '陇', NULL, 28, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('d0722fc6-feb8-45ba-9d1c-f30871f67063', '安徽省', 'AH', '皖', NULL, 15, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('ddd88468-4142-4189-a6c6-f3dfd00515d0', '重庆市', 'CQ', '渝', NULL, 1, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('e0e5fdc2-1cc8-4743-84d1-2f3f5a88ad3e', '湖北省', 'HUB', '鄂', NULL, 18, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('e38eaf87-f8ec-41f1-9540-00d6274220b8', '广东省', 'GD', '粤', NULL, 20, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('e4da2d14-50b9-4520-9439-c9c8cf1de7e3', '四川省', 'SC', '蜀', NULL, 2, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('ebff77a5-f7d9-481e-8285-b1bad1af16ee', '黑龙江', 'HLJ', '黑', NULL, 11, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('ed981e82-0939-4732-b6d7-7f586b73a276', '钓鱼岛', 'DYD', '钓鱼岛', NULL, 34, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('f325b6b1-424e-4a4f-801f-7029191b47ee', '江苏省', 'JS', '苏', NULL, 13, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); INSERT INTO `L_STATE` VALUES ('f819d7b2-0e42-4500-a124-2ce0a2d6e19e', '北京市', 'BJ', '京', NULL, 3, 'a292d372-502e-46bc-9faa-077890ee33a7', 1, 'ENhwBAJPZuSgIAE5EDakR6yrIQbOoOPq', 'cn', NULL, '2019-06-17 11:04:17', NULL, NULL); COMMIT; SET FOREIGN_KEY_CHECKS = 1;
-- // CLOUD-86059 convert certificates to base64 -- Migration SQL that makes the change goes here. UPDATE securityconfig SET clientkey = encode(clientkey, 'base64')::bytea; UPDATE securityconfig SET clientcert = encode(clientcert, 'base64')::bytea; UPDATE securityconfig SET servercert = encode(servercert, 'base64')::bytea; -- //@UNDO -- SQL to undo the change goes here. UPDATE securityconfig SET clientkey = decode(convert_from(clientkey, 'utf-8'), 'base64'); UPDATE securityconfig SET clientcert = decode(convert_from(clientcert, 'utf-8'), 'base64'); UPDATE securityconfig SET servercert = decode(convert_from(servercert, 'utf-8'), 'base64');
REM ** DEBUG THESE STEPS BY turning ON the OUTPUTs ********************************************** set serveroutput off verify off set termout off define stg_types = '&1' REM ********************************************************************************************* REM ** RUN AS PRE_ETL_OWNER REM ********************************************************************************************* BEGIN FOR i_buf IN (SELECT regexp_substr('&stg_types', '[^,]+', 1, rownum) AS context_name FROM dual CONNECT BY LEVEL <= regexp_count('&stg_types', '[^,]+')) LOOP pkg_pre_etl_tools.pr_destroy_context; pkg_pre_etl_tools.pr_set_context(i_attr => migration_run_framework.fn_ctx_run_context ,i_value => upper(i_buf.context_name)); pkg_pre_etl_tools.pr_reset_seq(i_sequence_name => 'PRE_ETL_SEQ_PEJL' ,i_sequence_owner => 'PRE_ETL_OWNER' ,i_based_on_table => 'PRE_ETL_JSON_LINES' ,i_based_on_schema => 'PRE_ETL_OWNER' ,i_based_on_column => 'ID'); pkg_pre_etl_tools.pr_reset_seq(i_sequence_name => 'PRE_ETL_SEQ_PERJL' ,i_sequence_owner => 'PRE_ETL_OWNER' ,i_based_on_table => 'PRE_ETL_RELATED_JSON_LINES' ,i_based_on_schema => 'PRE_ETL_OWNER' ,i_based_on_column => 'ID'); pkg_pre_etl_tools.pr_reset_seq(i_sequence_name => 'PRE_ETL_SEQ_RG' ,i_sequence_owner => 'PRE_ETL_OWNER' ,i_based_on_table => 'PRE_ETL_RELATED_JSON_LINES' ,i_based_on_schema => 'PRE_ETL_OWNER' ,i_based_on_column => 'RELATIONSHIP_GROUP_ID'); pkg_pre_etl_tools.pr_destroy_context; END LOOP; END; / exit
<filename>uninstalldb.sql USE `mysql`; DROP FUNCTION IF EXISTS `cassandra`;
ALTER TABLE `purchase_committee` ADD `pc_purchasethrough` VARCHAR(255) NOT NULL AFTER `pc_dept`; ALTER TABLE `purchase_committee` CHANGE `pc_creation date` `pc_creationdate` DATE NOT NULL; ALTER TABLE `purchase_committee` CHANGE `pc_rep2` `pc_rep2` VARCHAR(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL, CHANGE `pc_rep3` `pc_rep3` VARCHAR(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL, CHANGE `pc_rep4` `pc_rep4` VARCHAR(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL, CHANGE `pc_rep5` `pc_rep5` VARCHAR(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL; ALTER TABLE `cover_type` ADD `ct_cover1` VARCHAR(255) NOT NULL AFTER `ct_coverfixed`, ADD `ct_cover2` VARCHAR(255) NULL AFTER `ct_cover1`, ADD `ct_cover3` VARCHAR(255) NULL AFTER `ct_cover2`, ADD `ct_cover4` VARCHAR(255) NULL AFTER `ct_cover3`;
ALTER TABLE `ecommerce_product_attributes` DROP INDEX IF EXISTS `id_key`; ALTER TABLE `ecommerce_shipments` DROP INDEX IF EXISTS `number`;
<reponame>RiordanFols/diplom insert into usr (id, username, name, surname, middle_name, passport_id, passport_series, password, is_active, spent) VALUES (150, 'pavel99', 'Pavel', 'Chernov', 'Vladimirovich', 234123, 1050, '123456', true, 512.25), (151, 'manager', 'Anton', 'Turkov', 'Alexandrovich', 0, 0, '123456', true, 0.0), (152, 'admin', 'Admin', 'Adminov', 'Adminovich', 0, 0, '123456', true, 0.0); insert into user_role (user_id, role) VALUES (150, 'USER'), (151, 'MANAGER'), (152, 'ADMIN');
-- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Waktu pembuatan: 08 Jul 2021 pada 00.45 -- Versi server: 10.4.13-MariaDB -- Versi PHP: 7.2.31 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `wadeecase` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `login` -- CREATE TABLE `login` ( `id` int(11) NOT NULL, `username` varchar(225) NOT NULL, `password` varchar(225) NOT NULL, `nama` varchar(225) NOT NULL, `level` varchar(225) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Struktur dari tabel `merk` -- CREATE TABLE `merk` ( `id_merk` int(11) NOT NULL, `merk` varchar(100) NOT NULL, `tentang_merk` text NOT NULL, `foto_merk` varchar(200) NOT NULL, `author` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `merk` -- INSERT INTO `merk` (`id_merk`, `merk`, `tentang_merk`, `foto_merk`, `author`) VALUES (44, 'Oppo', '<p>Menyediakan semua type merk hp oppo</p>\r\n', '76400_Oppo.png', ''), (46, 'Samsung', '<p>Tersedia untuk semua type merk hp samsung</p>\r\n', 'samsung.jpeg', 'Aldino'), (47, 'iphone', '<p>Menyediakan semua type merk hp oppo</p>\r\n', 'iph.jpeg', 'Aldino'), (48, 'Vivo', '<p>Menyediakan semua type merk hp vivo</p>\r\n', '93955_vivo.png', ''), (49, 'Realmi', '<p>Menyediakan semua type merk hp realmi</p>\r\n', '18388_realmi.jpg', ''), (50, 'Xiaomi', '<p>Tersedia untuk semua type merk hp xiaomi</p>\r\n', '72033_mi.png', ''); -- -------------------------------------------------------- -- -- Struktur dari tabel `pembayaran` -- CREATE TABLE `pembayaran` ( `id_pembayaran` int(11) NOT NULL, `id_user` varchar(255) NOT NULL, `kode_pembayaran` varchar(255) NOT NULL, `tanggal_bayar` date NOT NULL, `bank_user` varchar(255) NOT NULL, `norek_user` int(11) NOT NULL, `an_user` varchar(255) NOT NULL, `bank_penerima` varchar(255) NOT NULL, `nomial` int(11) NOT NULL, `bukti` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `pembayaran` -- INSERT INTO `pembayaran` (`id_pembayaran`, `id_user`, `kode_pembayaran`, `tanggal_bayar`, `bank_user`, `norek_user`, `an_user`, `bank_penerima`, `nomial`, `bukti`) VALUES (19, '', 'QVDKH7SRZDEX0936', '2021-05-09', 'MANDIRI', 1323456798, 'wade', 'MANDIRI', 11234567, '58228_after.PNG'), (20, '', 'WSQUWTUQBGON0324', '2021-07-07', 'MANDIRI', 1323456798, 'Arifasiwi', 'MANDIRI', 2000000, '6550_ASUS.png'); -- -------------------------------------------------------- -- -- Struktur dari tabel `pemesanan` -- CREATE TABLE `pemesanan` ( `kode_pemesanan` int(11) NOT NULL, `kode_pembayaran` varchar(255) NOT NULL, `id_user` int(11) NOT NULL, `nama_pemesan` varchar(200) NOT NULL, `alamat` varchar(225) NOT NULL, `no_hp` varchar(255) NOT NULL, `nama` varchar(200) NOT NULL, `merk` varchar(50) NOT NULL, `typehp` varchar(225) DEFAULT NULL, `tanggal_pemesanan` date NOT NULL, `batas_bayar` date NOT NULL, `jasa` varchar(100) NOT NULL, `foto` varchar(225) NOT NULL, `total_harga` varchar(100) NOT NULL, `status_pemesanan` varchar(255) NOT NULL, `acc_admin` varchar(255) NOT NULL, `resi` varchar(225) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `pemesanan` -- INSERT INTO `pemesanan` (`kode_pemesanan`, `kode_pembayaran`, `id_user`, `nama_pemesan`, `alamat`, `no_hp`, `nama`, `merk`, `typehp`, `tanggal_pemesanan`, `batas_bayar`, `jasa`, `foto`, `total_harga`, `status_pemesanan`, `acc_admin`, `resi`) VALUES (49, 'QVDKH7SRZDEX0936', 18, 'wade ', '<NAME>', '', 'Softcase', 'Samsung', 'j7', '2021-05-09', '0000-00-00', '110000 TIKI', 'arifasiwi.jpg', '', 'Lunas', '', ''), (54, 'WSQUWTUQBGON0324', 19, 'siwi ', 'karangkates', '', 'Softcase', 'Samsung', 'a5', '2021-06-08', '0000-00-00', '112000 JNT', 'arifasiwi.jpg', '', 'Lunas', '', ''), (55, 'F0ZWYZNSS4OR0322', 19, 'siwi ', '<NAME>', '', 'Softcase', 'Softcase', 'a71', '2021-07-01', '0000-00-00', '110000 SiCepat', 'uas.JPG', '', 'Belum Terbayar', '', ''), (56, 'ML1DGNMCKYNM0351', 19, 'siwi ', '<NAME>', '', 'Softcase', 'Softcase', 'qw', '2021-07-08', '0000-00-00', '110000 TIKI', 'ASUS.png', '', 'Belum Terbayar', '', ''), (57, 'KHKH0KEJ2KWP0357', 19, 'siwi ', '<NAME>', '', 'Softcase', 'Softcase', 'qw', '2021-07-01', '0000-00-00', '112000 JNT', 'ASUS.png', '', 'Belum Terbayar', '', ''); -- -------------------------------------------------------- -- -- Struktur dari tabel `reg` -- CREATE TABLE `reg` ( `id_user` int(11) NOT NULL, `nama` varchar(100) NOT NULL, `password` varchar(100) NOT NULL, `nomorhp` varchar(100) NOT NULL, `email` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `reg` -- INSERT INTO `reg` (`id_user`, `nama`, `password`, `nomorhp`, `email`) VALUES (1, 'aldino2', 'aldino', '082353003354', '<EMAIL>'), (2, 'wildhanku', 'wildhan', '081349325324', '<EMAIL>'), (3, 'Kurniawan', 'kurniawan', '08234123451', '<EMAIL>'), (4, 'thomas', 'thomass', '08213421525', '<EMAIL>'), (5, 'Dewi', 'Dewi', '0823412543', '<EMAIL>'), (7, 'dandan', 'aswda', '087813728', '<EMAIL>'), (8, '', '', '0', ''), (9, 'tes', 'tes123', '021313213213', '<EMAIL>'), (10, 'Mega', 'MEga', '08234232144', '<EMAIL>'), (12, 'Alif', 'karbala1798', '081545198365', '<EMAIL>'), (13, 'putri', 'putri', '748253738', '<EMAIL>'), (14, 'arinka', '123', '085830781344', '<EMAIL>'), (15, 'fatim', 'fatim', '087787575723', '<EMAIL>'), (16, 'jijah', 'jijah', '08766464878', '<EMAIL>'), (18, 'wade', 'wade', '7234678854', '<EMAIL>'), (19, 'siwi', 'siwi', '<PASSWORD>', '<EMAIL>'); -- -------------------------------------------------------- -- -- Struktur dari tabel `register` -- CREATE TABLE `register` ( `id_register` varchar(11) NOT NULL, `nama` varchar(225) NOT NULL, `email` varchar(225) NOT NULL, `username` varchar(225) NOT NULL, `password` varchar(225) NOT NULL, `repassword` varchar(225) NOT NULL, `level` varchar(225) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `register` -- INSERT INTO `register` (`id_register`, `nama`, `email`, `username`, `password`, `repassword`, `level`) VALUES ('', '<NAME>', '<EMAIL>', '<PASSWORD>', <PASSWORD>', '', ''); -- -------------------------------------------------------- -- -- Struktur dari tabel `tb_admin` -- CREATE TABLE `tb_admin` ( `id` int(11) NOT NULL, `username` varchar(20) NOT NULL, `password` varchar(250) NOT NULL, `nama` varchar(50) NOT NULL, `Email` varchar(255) DEFAULT NULL, `hak_akses` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `tb_admin` -- INSERT INTO `tb_admin` (`id`, `username`, `password`, `nama`, `Email`, `hak_akses`) VALUES (3, 'admin', '<PASSWORD>', 'Admin', NULL, 1); -- -------------------------------------------------------- -- -- Struktur dari tabel `typecase` -- CREATE TABLE `typecase` ( `id_typecase` int(11) NOT NULL, `nama` varchar(225) NOT NULL, `foto` varchar(225) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `typecase` -- INSERT INTO `typecase` (`id_typecase`, `nama`, `foto`) VALUES (2, 'Softcase', '19363_Beranda3.jpeg'), (3, 'Hardcase', '45139_Beranda1.jpeg'); -- -- Indexes for dumped tables -- -- -- Indeks untuk tabel `login` -- ALTER TABLE `login` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `merk` -- ALTER TABLE `merk` ADD PRIMARY KEY (`id_merk`); -- -- Indeks untuk tabel `pembayaran` -- ALTER TABLE `pembayaran` ADD PRIMARY KEY (`id_pembayaran`); -- -- Indeks untuk tabel `pemesanan` -- ALTER TABLE `pemesanan` ADD PRIMARY KEY (`kode_pemesanan`); -- -- Indeks untuk tabel `reg` -- ALTER TABLE `reg` ADD PRIMARY KEY (`id_user`); -- -- Indeks untuk tabel `register` -- ALTER TABLE `register` ADD PRIMARY KEY (`id_register`), ADD KEY `username` (`username`(191)); -- -- Indeks untuk tabel `tb_admin` -- ALTER TABLE `tb_admin` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `username` (`username`); -- -- Indeks untuk tabel `typecase` -- ALTER TABLE `typecase` ADD PRIMARY KEY (`id_typecase`); -- -- AUTO_INCREMENT untuk tabel yang dibuang -- -- -- AUTO_INCREMENT untuk tabel `login` -- ALTER TABLE `login` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT untuk tabel `merk` -- ALTER TABLE `merk` MODIFY `id_merk` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=51; -- -- AUTO_INCREMENT untuk tabel `pembayaran` -- ALTER TABLE `pembayaran` MODIFY `id_pembayaran` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21; -- -- AUTO_INCREMENT untuk tabel `pemesanan` -- ALTER TABLE `pemesanan` MODIFY `kode_pemesanan` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=58; -- -- AUTO_INCREMENT untuk tabel `reg` -- ALTER TABLE `reg` MODIFY `id_user` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20; -- -- AUTO_INCREMENT untuk tabel `tb_admin` -- ALTER TABLE `tb_admin` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT untuk tabel `typecase` -- ALTER TABLE `typecase` MODIFY `id_typecase` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
--PART I – Queries for Diablo Database --Problem 1. Number of Users for Email Provider --Find number of users for email provider from the largest to smallest, then by Email Provider in ascending order. SELECT SUBSTRING(u.Email,CHARINDEX('@' ,u.Email,1)+1,LEN(u.Email)) AS 'Email Provider' ,COUNT(u.Id) AS 'Number Of Users' FROM Users AS u GROUP BY SUBSTRING(u.Email,CHARINDEX('@' ,u.Email,1)+1,LEN(u.Email)) ORDER BY COUNT(u.Id) DESC ,SUBSTRING(u.Email,CHARINDEX('@' ,u.Email,1)+1,LEN(u.Email)) ASC --Problem 2. All User in Games SELECT g.Name AS Game ,gt.Name AS 'Game Type' ,u.Username AS Username ,ug.[Level] AS [Level] ,ug.Cash AS Cash ,c.Name AS 'Character' FROM Users AS u LEFT JOIN UsersGames AS ug ON ug.UserId = u.Id LEFT JOIN Games AS g ON g.Id = ug.GameId LEFT JOIN GameTypes AS gt ON gt.Id = g.GameTypeId LEFT JOIN Characters AS c ON c.Id = ug.CharacterId ORDER BY ug.[Level] DESC ,u.Username ASC ,g.[Name] --Problem 3. Users in Games with Their Items SELECT * FROM ( SELECT u.Username AS Username ,g.Name AS Game ,COUNT(ugi.ItemId) AS 'Items Count' ,SUM(i.Price) AS 'Items Price' FROM Games AS g JOIN UsersGames AS ug ON ug.GameId = g.Id JOIN UserGameItems AS ugi ON ugi.UserGameId = ug.Id JOIN Items AS i ON i.Id = ugi.ItemId JOIN Users AS u ON u.Id = ug.UserId GROUP BY g.Name,u.Username) AS t WHERE t.[Items Count]>=10 ORDER BY t.[Items Count] DESC ,t.[Items Price] DESC ,t.Username SELECT u.Username, g.Name AS Game, COUNT(ugi.ItemId) AS 'Items Count', SUM(i.Price) AS 'Items Price' FROM [dbo].[Games] AS g INNER JOIN [dbo].[UsersGames] AS ug ON ug.GameId = g.Id INNER JOIN [dbo].[UserGameItems] AS ugi ON ugi.UserGameId = ug.Id INNER JOIN [dbo].[Items] AS i ON i.Id = ugi.ItemId INNER JOIN [dbo].[Users] AS u ON u.Id = ug.UserId GROUP BY g.Name, u.Username HAVING COUNT(ugi.ItemId) >= 10 ORDER BY COUNT(ugi.ItemId) DESC, SUM(i.Price) DESC, u.Username --Problem 5. All Items with Greater than Average Statistics --Find all items with statistics larger than average. --Display only items that have Mind, Luck and Speed greater than average Items mind, luck and speed. --Sort the results by item names in alphabetical order. Submit your query statement as Prepare DB & run queries in Judge. DECLARE @averageMind DECIMAL(15,2) = (SELECT AVG(Mind) FROM [Statistics]) DECLARE @averageLuck DECIMAL(15,2) = (SELECT AVG(Luck) FROM [Statistics]) DECLARE @averageSpeed DECIMAL(15,2) = (SELECT AVG(Speed) FROM [Statistics]) SELECT i.[Name] , i.Price , i.MinLevel , s.Strength , s.Defence , s.Speed , s.Luck , s.Mind FROM Items AS i JOIN [Statistics] AS s ON s.Id = i.StatisticId WHERE s.Luck > @averageLuck AND s.Mind > @averageMind AND s.Speed > @averageSpeed ORDER BY i.[Name] ASC --Problem 6. Display All Items with Information about Forbidden Game Type --Find all items and information whether and what forbidden game types they have. --Display item name, price, min level and forbidden game type. Display all items. --Sort the results by game type in descending order, then by item name in ascending order. SELECT i.[Name] AS Item ,i.Price AS Price ,i.MinLevel AS MinLevel ,gt.[Name] AS 'Forbidden Game Type' FROM Items AS i LEFT JOIN GameTypeForbiddenItems As gtfi ON gtfi.ItemId = i.Id LEFT JOIN GameTypes AS gt ON gt.Id = gtfi.GameTypeId ORDER BY gt.[Name] DESC, i.[Name] ASC --Problem 7. Buy Items for User in Game DECLARE @userIdAlex INT = (SELECT DISTINCT u.Id FROM Users AS u JOIN UsersGames AS ug ON ug.UserId = u.Id AND u.Username = 'Alex' JOIN Games AS g ON ug.GameId = g.Id AND g.Name = 'Edinburgh') DECLARE @alexGameIdEdinburgh INT = (SELECT ug.GameId FROM Users AS u JOIN UsersGames AS ug ON ug.UserId = u.Id AND u.Username = 'Alex' JOIN Games AS g ON ug.GameId = g.Id AND g.[Name] = 'Edinburgh') INSERT INTO UserGameItems(ItemId,UserGameId) SELECT @userIdAlex, i.Id FROM Items AS i WHERE i.[Name] IN ('Blackguard', 'Bottomless Potion of Amplification', 'Eye of Etlich (Diablo III)', 'Gem of Efficacious Toxin', 'Golden Gorget of Leoric', 'Hellfire Amulet') DECLARE @totalPrice INT = (SELECT SUM(i.Price) FROM Items AS i WHERE i.[Name] IN ('Blackguard', 'Bottomless Potion of Amplification', 'Eye of Etlich (Diablo III)', 'Gem of Efficacious Toxin', 'Golden Gorget of Leoric', 'Hellfire Amulet')) UPDATE UsersGames SET Cash -= @totalPrice WHERE UserId = @userIdAlex AND GameId = @alexGameIdEdinburgh SELECT u.Username , g.[Name] ,ug.Cash ,i.Name AS [Item Name] FROM Users AS u JOIN UsersGames AS ug ON ug.UserId = u.Id JOIN Games AS g ON ug.GameId = g.Id AND g.[Name] = 'Edinburgh' JOIN UserGameItems AS ugi ON ugi.UserGameId = g.Id JOIN Items AS i ON i.Id = ugi.ItemId ORDER BY [Item Name] --Problem 8. Peaks and Mountains SELECT p.PeakName ,m.MountainRange AS Mountain ,p.Elevation FROM Peaks AS p LEFT JOIN Mountains AS m ON m.Id = p.MountainId ORDER BY p.Elevation DESC ,p.PeakName ASC --Problem 9. Peaks with Their Mountain, Country and Continent SELECT p.PeakName ,m.MountainRange AS Mountain ,c.CountryName ,co.ContinentName FROM Mountains AS m JOIN MountainsCountries AS mc ON mc.MountainId = m.Id JOIN Countries AS c ON c.CountryCode = mc.CountryCode JOIN Continents AS co ON co.ContinentCode = c.ContinentCode JOIN Peaks AS p ON p.MountainId = m.Id ORDER BY p.PeakName ASC ,c.CountryName ASC --Problem 10. Rivers by Country WITH cte_RiversByCountries (CountryName,ContinentName,RiverName, RiverLength) AS( SELECT c.CountryName ,co.ContinentName ,r.RiverName ,r.Length FROM Countries AS c LEFT JOIN CountriesRivers AS cr ON cr.CountryCode = c.CountryCode LEFT JOIN Rivers AS r ON r.Id = cr.RiverId LEFT JOIN Continents AS co ON co.ContinentCode = c.ContinentCode ) SELECT c.CountryName ,c.ContinentName ,ISNULL(COUNT(c.RiverName),0) AS RiversCount ,ISNULL(SUM(c.RiverLength),0) AS TotalLength FROM cte_RiversByCountries AS c GROUP BY c.CountryName, c.ContinentName ORDER BY COUNT(c.RiverName) DESC ,SUM(c.RiverLength) DESC ,c.CountryName ASC --Problem 11. Count of Countries by Currency SELECT cur.CurrencyCode ,cur.Description AS Currency ,COUNT(c.CurrencyCode) AS NumberOfCountries FROM Countries AS c RIGHT JOIN Currencies AS cur ON cur.CurrencyCode = c.CurrencyCode GROUP BY cur.CurrencyCode, cur.Description ORDER BY COUNT(c.CurrencyCode) DESC , cur.Description ASC --Problem 12. Population and Area by Continent SELECT co.ContinentName ,SUM(c.AreaInSqKm) AS CountriesArea ,SUM (CONVERT(bigint, c.Population)) AS CountriesPopulation FROM Continents AS co LEFT JOIN Countries AS c ON c.ContinentCode = co.ContinentCode GROUP BY co.ContinentName ORDER BY SUM (CONVERT(bigint, c.Population)) DESC --Problem 13. Monasteries by Country CREATE TABLE Monasteries (Id INT PRIMARY KEY IDENTITY , Name NVARCHAR(50) NOT NULL , CountryCode CHAR(2) FOREIGN KEY REFERENCES Countries(CountryCode) ) INSERT INTO Monasteries(Name, CountryCode) VALUES ('Rila Monastery “St. Ivan of Rila”', 'BG'), ('Bachkovo Monastery “Virgin Mary”', 'BG'), ('Troyan Monastery “Holy Mother''s Assumption”', 'BG'), ('Kopan Monastery', 'NP'), ('Thrangu Tashi Yangtse Monastery', 'NP'), ('Shechen Tennyi Dargyeling Monastery', 'NP'), ('Benchen Monastery', 'NP'), ('Southern Shaolin Monastery', 'CN'), ('Dabei Monastery', 'CN'), ('Wa Sau Toi', 'CN'), ('Lhunshigyia Monastery', 'CN'), ('Rakya Monastery', 'CN'), ('Monasteries of Meteora', 'GR'), ('The Holy Monastery of Stavronikita', 'GR'), ('Taung Kalat Monastery', 'MM'), ('Pa-Auk Forest Monastery', 'MM'), ('Taktsang Palphug Monastery', 'BT'), ('Sümela Monastery', 'TR') --ALTER TABLE Countries --ADD IsDeleted BIT NOT NULL DEFAULT 0 UPDATE Countries SET IsDeleted = 1 WHERE Countries.CountryCode IN(SELECT cr.CountryCode FROM CountriesRivers AS cr GROUP BY CountryCode HAVING COUNT(RiverId)>3) SELECT mo.Name AS [Monastery] ,c.CountryName AS [Country] FROM Monasteries AS mo JOIN Countries AS c ON c.CountryCode = mo.CountryCode AND c.IsDeleted != 1 ORDER BY [Monastery] --Problem 14. Monasteries by Continents and Countries UPDATE Countries SET CountryName = 'Burma' WHERE CountryName = 'Myanmar' DECLARE @TanzID CHAR(2)= (SELECT CountryCode FROM Countries WHERE CountryName = 'Tanzania') DECLARE @MyanID CHAR(2) = (SELECT CountryCode FROM Countries WHERE CountryName = 'Myanmar') INSERT INTO Monasteries VALUES ('Hanga Abbey',@TanzID) ,('Myin-Tin-Daik',@MyanID); WITH cte_CountriesNotDeleted(CountryCode, CountryName, ContinentName) AS( SELECT c.CountryCode ,c.CountryName ,co.ContinentName FROM Countries AS c JOIN Continents AS co ON c.IsDeleted <> 1 ANd co.ContinentCode = c.ContinentCode ) SELECT c.ContinentName ,c.CountryName ,COUNT (m.Name) AS [MonasteriesCount] FROM cte_CountriesNotDeleted AS c LEFT JOIN Monasteries AS m ON m.CountryCode = c.CountryCode GROUP BY c.CountryCode, c.ContinentName,c.CountryName ORDER BY [MonasteriesCount] DESC ,[CountryName] ASC
<gh_stars>0 -------------------------------------------------------------------------------- -- Initialization -------------------------------------------------------------- -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- AddVendorEvents ------------------------------------------------------------- -------------------------------------------------------------------------------- CREATE OR REPLACE FUNCTION AddVendorEvents ( pClass uuid ) RETURNS void AS $$ DECLARE r record; uParent uuid; uEvent uuid; BEGIN uParent := GetEventType('parent'); uEvent := GetEventType('event'); FOR r IN SELECT * FROM Action LOOP IF r.code = 'create' THEN PERFORM AddEvent(pClass, uParent, r.id, 'События класса родителя'); PERFORM AddEvent(pClass, uEvent, r.id, 'Производитель создан', 'EventVendorCreate();'); END IF; IF r.code = 'open' THEN PERFORM AddEvent(pClass, uParent, r.id, 'События класса родителя'); PERFORM AddEvent(pClass, uEvent, r.id, 'Производитель открыт', 'EventVendorOpen();'); END IF; IF r.code = 'edit' THEN PERFORM AddEvent(pClass, uParent, r.id, 'События класса родителя'); PERFORM AddEvent(pClass, uEvent, r.id, 'Производитель изменён', 'EventVendorEdit();'); END IF; IF r.code = 'save' THEN PERFORM AddEvent(pClass, uParent, r.id, 'События класса родителя'); PERFORM AddEvent(pClass, uEvent, r.id, 'Производитель сохранён', 'EventVendorSave();'); END IF; IF r.code = 'enable' THEN PERFORM AddEvent(pClass, uParent, r.id, 'События класса родителя'); PERFORM AddEvent(pClass, uEvent, r.id, 'Производитель доступен', 'EventVendorEnable();'); END IF; IF r.code = 'disable' THEN PERFORM AddEvent(pClass, uParent, r.id, 'События класса родителя'); PERFORM AddEvent(pClass, uEvent, r.id, 'Производитель недоступен', 'EventVendorDisable();'); END IF; IF r.code = 'delete' THEN PERFORM AddEvent(pClass, uEvent, r.id, 'Производитель будет удалён', 'EventVendorDelete();'); PERFORM AddEvent(pClass, uParent, r.id, 'События класса родителя'); END IF; IF r.code = 'restore' THEN PERFORM AddEvent(pClass, uEvent, r.id, 'Производитель восстановлен', 'EventVendorRestore();'); PERFORM AddEvent(pClass, uParent, r.id, 'События класса родителя'); END IF; IF r.code = 'drop' THEN PERFORM AddEvent(pClass, uEvent, r.id, 'Производитель будет уничтожен', 'EventVendorDrop();'); PERFORM AddEvent(pClass, uParent, r.id, 'События класса родителя'); END IF; END LOOP; END $$ LANGUAGE plpgsql SECURITY DEFINER SET search_path = kernel, pg_temp; -------------------------------------------------------------------------------- -- CreateClassVendor ----------------------------------------------------------- -------------------------------------------------------------------------------- CREATE OR REPLACE FUNCTION CreateClassVendor ( pParent uuid, pEntity uuid ) RETURNS uuid AS $$ DECLARE uClass uuid; BEGIN -- Класс uClass := AddClass(pParent, pEntity, 'vendor', 'Производитель', false); -- Тип PERFORM AddType(uClass, 'service.vendor', 'Услуга', 'Поставщик услуги.'); PERFORM AddType(uClass, 'device.vendor', 'Оборудование', 'Производитель оборудования.'); PERFORM AddType(uClass, 'car.vendor', 'Автомобиль', 'Производитель автомобилей.'); -- Событие PERFORM AddVendorEvents(uClass); -- Метод PERFORM AddDefaultMethods(uClass); RETURN uClass; END $$ LANGUAGE plpgsql SECURITY DEFINER SET search_path = kernel, pg_temp; -------------------------------------------------------------------------------- -- CreateEntityVendor ---------------------------------------------------------- -------------------------------------------------------------------------------- CREATE OR REPLACE FUNCTION CreateEntityVendor ( pParent uuid ) RETURNS uuid AS $$ DECLARE uEntity uuid; BEGIN -- Сущность uEntity := AddEntity('vendor', 'Производитель'); -- Класс PERFORM CreateClassVendor(pParent, uEntity); -- API PERFORM RegisterRoute('vendor', AddEndpoint('SELECT * FROM rest.vendor($1, $2);')); RETURN uEntity; END $$ LANGUAGE plpgsql SECURITY DEFINER SET search_path = kernel, pg_temp;
<reponame>Sofiya9/task-list -- phpMyAdmin SQL Dump -- version 4.7.7 -- https://www.phpmyadmin.net/ -- -- Хост: 127.0.0.1:3306 -- Время создания: Мар 14 2018 г., 10:49 -- Версия сервера: 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 */; -- -- База данных: `tasklist.local` -- -- -------------------------------------------------------- -- -- Структура таблицы `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 (4, '2014_10_12_000000_create_users_table', 1), (5, '2014_10_12_100000_create_password_resets_table', 1), (6, '2018_03_13_142647_create_tasks_table', 1); -- -------------------------------------------------------- -- -- Структура таблицы `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; -- -------------------------------------------------------- -- -- Структура таблицы `tasks` -- CREATE TABLE `tasks` ( `id` int(10) UNSIGNED NOT NULL, `task` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Дамп данных таблицы `tasks` -- INSERT INTO `tasks` (`id`, `task`, `created_at`, `updated_at`) VALUES (3, 'Ut dolores et non sequi eum et.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (4, 'Impedit reprehenderit dolor vel deserunt.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (5, 'Nihil iure non nam et eaque.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (6, 'Consequatur corrupti et qui quidem.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (7, 'Eius quis asperiores laboriosam odit in.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (8, 'Nihil fugit corporis ab.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (9, 'Placeat ullam quasi voluptate et non deserunt.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (10, 'Magni tenetur autem vero illum.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (11, 'Illum illum fugit aut tempore odit officia iste.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (12, 'Sapiente ea ea sunt.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (13, 'Autem nihil fuga quia eos ad odio.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (14, 'Natus debitis aspernatur fugit nihil omnis.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (15, 'Natus atque id assumenda.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (16, 'Illum illo officia quo quia veritatis.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (17, 'Beatae facilis vel maxime.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (18, 'Sunt sit ipsam tempore quas.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (19, 'Vel fugiat tempore ab sapiente nulla rerum.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (20, 'Iure ut quo est sunt molestias.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (21, 'Et voluptates est cupiditate.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (22, 'Rerum et velit autem qui sunt repellat soluta.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (23, 'In a nemo odit ut aut nemo.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (24, 'Vero praesentium ut enim id.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (25, 'Illum id nihil veritatis quo.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (26, 'Natus perferendis at eos dolorum quaerat quod.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (27, 'Aut sapiente eveniet qui qui et.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (28, 'Laudantium aliquam ut optio saepe consequuntur iste.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (29, 'Voluptas voluptas eos error eum sunt cum quas.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (30, 'Asperiores excepturi sit soluta dolores deserunt.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (31, 'Libero commodi eius eaque animi alias.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (32, 'Hic rem nihil dolorem iure id harum.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (33, 'Et itaque qui iusto nisi minus. Ut atque eos eos.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (34, 'Vitae consequatur vero et.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (35, 'Maxime ea facilis sed quis neque itaque.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (36, 'Facilis laborum iure nihil vel iste est.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (37, 'Est distinctio quam voluptas dolorem illo.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (38, 'Eos autem et a odit qui cumque aut.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (39, 'Laudantium ut quas tempora eius.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (40, 'Doloribus sunt odit molestiae error.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (41, 'Ab et sunt ipsa.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (42, 'Quasi et alias est hic id occaecati iste.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (43, 'Quos voluptas natus assumenda.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (44, 'Et repellat ut iure fuga cupiditate.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (45, 'Tempora nostrum sint nisi excepturi quam aut ut.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (46, 'Et placeat necessitatibus fuga est.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (47, 'Et eum illo architecto vel.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (48, 'Explicabo rerum perspiciatis illum non est aliquam ut.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (49, 'Architecto sint fugiat excepturi tempora.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (50, 'Sed quia error quis in.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (51, 'Minima id repellendus vitae qui.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (52, 'Velit aperiam ut officiis sit.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (53, 'Non praesentium doloribus qui ipsum.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (54, 'Sit ex non qui.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (55, 'Quos dignissimos natus velit et.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (56, 'Animi odit rem porro.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (57, 'Vero et ut officiis culpa ex error accusantium.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (58, 'Unde laborum soluta illum.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (59, 'Ut in saepe sunt quia quidem a ut.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (60, 'Aut earum et est porro odit ut.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (61, 'Quia eum est atque nobis.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (62, 'Quia saepe praesentium et.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (63, 'Aperiam porro a deleniti ut.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (64, 'Autem sunt reprehenderit et ut.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (65, 'Ex sit molestias velit quasi fugit.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (66, 'Nostrum veniam est repudiandae consequatur et.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (67, 'Molestiae non quam saepe ex.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (68, 'Debitis qui eum ratione qui qui.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (69, 'Qui rerum sint ut quibusdam.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (70, 'Autem vel aut earum ut.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (71, 'Qui ad quia quos ut.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (72, 'Magnam quia incidunt et.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (73, 'Sit numquam eum vel voluptatem eos.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (74, 'Quo minus voluptates maxime.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (75, 'Sit similique ut rerum ex.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (76, 'Est excepturi cum explicabo ut.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (77, 'Et non fugiat eum modi.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (78, 'Vitae modi quia quibusdam veniam.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (79, 'Error consectetur aperiam aut inventore nihil libero.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (80, 'Rerum natus qui soluta cupiditate.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (81, 'Magni unde aut sed laudantium suscipit.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (82, 'Officia qui repellat ut dolores possimus distinctio.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (83, 'Aut est dolorem voluptatem nam aut ipsam.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (84, 'Odit enim quasi ea et labore.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (85, 'Et dolor enim tenetur accusamus ea repellat.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (86, 'Consequuntur id aut tenetur voluptas.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (87, 'Tenetur quaerat non temporibus assumenda atque iste.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (88, 'Enim veritatis quibusdam possimus omnis.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (89, 'Quasi eos ut nemo suscipit.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (90, 'Autem omnis quis repudiandae nemo.', '2018-03-14 04:22:46', '2018-03-14 04:22:46'), (91, 'gfgfgfgfgfg', '2018-03-14 04:38:40', '2018-03-14 04:38:40'), (92, '123', '2018-03-14 04:43:51', '2018-03-14 04:43:51'), (93, '5555555', '2018-03-14 04:47:17', '2018-03-14 04:47:17'); -- -------------------------------------------------------- -- -- Структура таблицы `users` -- CREATE TABLE `users` ( `id` int(10) 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 NOT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Дамп данных таблицы `users` -- INSERT INTO `users` (`id`, `name`, `email`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES (1, 'admin', '<EMAIL>', <PASSWORD>', 'f<PASSWORD>LH7M5z<PASSWORD>Rp<PASSWORD>Ev<PASSWORD>', '2018-03-14 04:22:46', '2018-03-14 04:22:46'); -- -- Индексы сохранённых таблиц -- -- -- Индексы таблицы `migrations` -- ALTER TABLE `migrations` ADD PRIMARY KEY (`id`); -- -- Индексы таблицы `password_resets` -- ALTER TABLE `password_resets` ADD KEY `password_resets_email_index` (`email`); -- -- Индексы таблицы `tasks` -- ALTER TABLE `tasks` ADD PRIMARY KEY (`id`); -- -- Индексы таблицы `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `users_email_unique` (`email`); -- -- AUTO_INCREMENT для сохранённых таблиц -- -- -- AUTO_INCREMENT для таблицы `migrations` -- ALTER TABLE `migrations` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT для таблицы `tasks` -- ALTER TABLE `tasks` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=94; -- -- AUTO_INCREMENT для таблицы `users` -- ALTER TABLE `users` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
CREATE TABLE submissions ( id SERIAL PRIMARY KEY, user_id INTEGER REFERENCES users(id) NOT NULL, project_id INTEGER REFERENCES projects(id) NOT NULL )
USE seed; DROP TABLE IF EXISTS sys_filter_chain; CREATE TABLE sys_filter_chain ( id BIGINT(19) NOT NULL COMMENT '权限过滤链ID', url VARCHAR(255) DEFAULT NULL COMMENT '目标URL', filter VARCHAR(30) DEFAULT NULL COMMENT '过滤器名称', sort_code INT(10) DEFAULT NULL COMMENT '排序码', created_at DATETIME DEFAULT NULL COMMENT '创建时间', created_by BIGINT(19) DEFAULT NULL COMMENT '创建人ID', updated_at DATETIME DEFAULT NULL COMMENT '更新时间', updated_by BIGINT(19) DEFAULT NULL COMMENT '更新人ID', deleted TINYINT(1) DEFAULT NULL COMMENT '删除标记', PRIMARY KEY (id) ) COMMENT '权限过滤链'; DROP TABLE IF EXISTS sys_store_file; CREATE TABLE sys_store_file ( id BIGINT(19) NOT NULL COMMENT '文件ID', filename VARCHAR(255) DEFAULT NULL COMMENT '文件名', group_name VARCHAR(10) DEFAULT NULL COMMENT '文件存储组', path VARCHAR(255) DEFAULT NULL COMMENT '文件路径', privacy TINYINT(1) DEFAULT NULL COMMENT '隐私文件标记', privacy_code VARCHAR(32) DEFAULT NULL COMMENT '加密串', created_at DATETIME DEFAULT NULL COMMENT '创建时间', created_by BIGINT(19) DEFAULT NULL COMMENT '创建人ID', PRIMARY KEY (id) ) COMMENT '上传文件';
-- Extracts and outputs events and facts from CDM data. Bringing the -- data together in this way allows one to easily query event sequences -- and thus patient histories. A fact is just like an event except that -- it doesn't have any temporal information attached. -- Copyright (c) 2018 <NAME>. This is free software released -- under the MIT License. See `LICENSE.txt` for details. -- Requires SQLite >= 3.9, which introduced JSON support. Download the -- latest SQLite from https://www.sqlite.org/download.html. Or, if you -- need 64-bit support, build it yourself: -- https://www.sqlite.org/howtocompile.html. -- For information on using JSON in SQLite, see -- https://www.sqlite.org/json1.html. -- See `dump_events.sqlite.sh` for an example of how to run. -- Each row will be losslessly encoded as an event by extracting event -- attributes that will live in the event table and then storing the -- remainder of the row as JSON. (Meaningless values are excluded to -- save space. See individual comments.) -- Start .shell date +'%FT%T emr_to_events.sqlite.sql: Starting to generate events' >&2 -- Log configuration. Set number of threads. .output stderr pragma mmap_size; pragma cache_size; pragma temp_store; pragma threads = 4; .output stdout -- Generate biographic / demographic facts. Facts have to be done one -- type at a time so that the column name can be used as the event type. -- To save space, don't include JSON with the facts, but include the -- original record as an additional fact. -- Date of birth .shell date +'%FT%T emr_to_events.sqlite.sql: Loading date of birth from `person`' >&2 select person_id, null, null, -- DOB was put in `time_of_birth` 'bx', 'dob', time_of_birth, null from person where person_id is not null and time_of_birth is not null --limit 10 -- when testing ; -- Gender .shell date +'%FT%T emr_to_events.sqlite.sql: Loading gender from `person`' >&2 select person_id, null, null, -- Use character code (F,M,U) instead of concept ID 'bx', 'gndr', gender_source_value, null from person where person_id is not null and gender_source_value is not null --limit 10 -- when testing ; -- Race .shell date +'%FT%T emr_to_events.sqlite.sql: Loading race from `person`' >&2 select person_id, null, null, 'bx', 'race', race_concept_id, null from person where person_id is not null and race_concept_id is not null --limit 10 -- when testing ; -- Ethnicity .shell date +'%FT%T emr_to_events.sqlite.sql: Loading ethnicity from `person`' >&2 select person_id, null, null, 'bx', 'ethn', ethnicity_concept_id, null from person where person_id is not null and ethnicity_concept_id is not null --limit 10 -- when testing ; -- Original person record as JSON .shell date +'%FT%T emr_to_events.sqlite.sql: Loading original records from `person`' >&2 select person_id, null, null, 'bx', 'record', null, json_object( --'person_id', person_id, -- selected 'gender_concept_id', gender_concept_id, -- equivalent to `gender_source_value` 'year_of_birth', year_of_birth, -- in `time_of_birth` 'month_of_birth', month_of_birth, -- in `time_of_birth` 'day_of_birth', day_of_birth, -- in `time_of_birth` 'time_of_birth', time_of_birth, -- holds DOB, not time 'race_concept_id', race_concept_id, 'ethnicity_concept_id', ethnicity_concept_id, 'location_id', location_id, 'provider_id', provider_id, --'care_site_id', care_site_id, -- empty in the data --'person_source_value', person_source_value, -- empty in the data 'gender_source_value', gender_source_value, --'gender_source_concept_id', gender_source_concept_id, -- empty in the data --'race_source_value', race_source_value, -- empty in the data --'race_source_concept_id', race_source_concept_id, -- empty in the data 'ethnicity_source_value', ethnicity_source_value, 'ethnicity_source_concept_id', ethnicity_source_concept_id ) from person where person_id is not null --limit 10 -- when testing ; -- Insert events -- Conditions .shell date +'%FT%T emr_to_events.sqlite.sql: Loading conditions from `condition_occurrence`' >&2 select person_id, condition_start_date, condition_end_date, 'dx', condition_concept_id, null, json_object( 'condition_occurrence_id', condition_occurrence_id, --'person_id', person_id, -- selected --'condition_concept_id', condition_concept_id, -- selected --'condition_start_date', condition_start_date, -- selected --'condition_start_datetime', condition_start_datetime, -- copies `condition_start_date` --'condition_end_date', condition_end_date, --selected --'condition_end_datetime', condition_end_datetime, -- empty in the data --'condition_type_concept_id', condition_type_concept_id, -- single value --'stop_reason', stop_reason, -- empty in the data 'provider_id', provider_id, 'visit_occurrence_id', visit_occurrence_id, 'condition_source_value', condition_source_value --'condition_source_concept_id', condition_source_concept_id, --single value --'condition_status_source_value', condition_status_source_value, -- empty in the data --'condition_status_concept_id', condition_status_concept_id, -- empty in the data ) from condition_occurrence where person_id is not null and condition_concept_id is not null --limit 10 -- when testing ; -- Deaths .shell date +'%FT%T emr_to_events.sqlite.sql: Loading deaths from `death`' >&2 select person_id, death_date, null, 'xx', cause_concept_id, null, --json_object( -- --'person_id', person_id, -- selected -- --'death_date', death_date, -- selected -- --'death_datetime', death_datetime, -- copies `death_date` -- --'death_type_concept_id', death_type_concept_id, -- single value -- --'cause_concept_id', cause_concept_id, -- empty in the data -- --'cause_source_value', cause_source_value, -- empty in the data -- --'cause_source_concept_id', cause_source_concept_id -- empty in the data --) null -- omit JSON as it contains no additional information from death where person_id is not null --limit 10 -- when testing ; -- Drugs .shell date +'%FT%T emr_to_events.sqlite.sql: Loading drugs from `drug_exposure`' >&2 select person_id, drug_exposure_start_date, drug_exposure_end_date, 'rx', drug_concept_id, null, json_object( 'drug_exposure_id', drug_exposure_id, --'person_id', person_id, -- selected --'drug_concept_id', drug_concept_id, -- selected --'drug_exposure_start_date', drug_exposure_start_date, -- selected --'drug_exposure_start_datetime', drug_exposure_start_datetime, -- copies `drug_exposure_start_date` --'drug_exposure_end_date', drug_exposure_end_date, -- selected --'drug_exposure_end_datetime', drug_exposure_end_datetime, -- copies `drug_exposure_end_date` 'verbatim_end_date', verbatim_end_date, 'drug_type_concept_id', drug_type_concept_id, 'stop_reason', stop_reason, 'refills', refills, 'quantity', quantity, 'days_supply', days_supply, 'sig', sig, --'route_concept_id', route_concept_id, -- empty in the data --'lot_number', lot_number, -- empty in the data 'provider_id', provider_id, 'visit_occurrence_id', visit_occurrence_id, 'drug_source_value', drug_source_value, 'drug_source_concept_id', drug_source_concept_id --'route_source_value', route_source_value, -- empty in the data --'dose_unit_source_value', dose_unit_source_value, -- empty in the data ) from drug_exposure where person_id is not null and drug_concept_id is not null --limit 10 -- when testing ; -- Measurements (labs, vitals) .shell date +'%FT%T emr_to_events.sqlite.sql: Loading measurements from `measurement`' >&2 select person_id, measurement_date, measurement_date, -- Point interval 'mx', measurement_concept_id, value_as_concept_id, json_object( 'measurement_id', measurement_id, --'person_id', person_id, -- selected --'measurement_concept_id', measurement_concept_id, -- selected --'measurement_date', measurement_date, -- selected --'measurement_datetime', measurement_datetime, -- copies `measurement_date` --'measurement_type_concept_id', measurement_type_concept_id, -- single value 'operator_concept_id', operator_concept_id, 'value_as_number', value_as_number, --'value_as_concept_id', value_as_concept_id, -- selected 'unit_concept_id', unit_concept_id, 'range_low', range_low, 'range_high', range_high, 'provider_id', provider_id, 'visit_occurrence_id', visit_occurrence_id, 'measurement_source_value', measurement_source_value, --'measurement_source_concept_id', measurement_source_concept_id, -- empty in the data 'unit_source_value', unit_source_value --'value_source_value', value_source_value, -- empty in the data ) from measurement where person_id is not null and measurement_concept_id is not null --limit 10 -- when testing ; -- Observations (notes, environment, history, etc.) .shell date +'%FT%T emr_to_events.sqlite.sql: Loading observations from `observation`' >&2 select person_id, observation_date, observation_date, -- Point interval -- No meaningful value to include and only 3 unique -- `observation_concept_id`s 'ox', observation_concept_id, null, json_object( 'observation_id', observation_id, --'person_id', person_id, -- selected --'observation_concept_id', observation_concept_id, -- selected --'observation_date', observation_date, -- selected --'observation_datetime', observation_datetime, -- copies `observation_date` --'observation_type_concept_id', observation_type_concept_id, -- single value --'value_as_number', value_as_number, -- empty in the data --'value_as_string', value_as_string, -- empty in the data --'value_as_concept_id', value_as_concept_id, -- empty in the data --'qualifier_concept_id', qualifier_concept_id, -- empty in the data --'unit_concept_id', unit_concept_id, -- empty in the data --'provider_id', provider_id, -- empty in the data 'visit_occurrence_id', visit_occurrence_id --'observation_source_value', observation_source_value, -- empty in the data --'observation_source_concept_id', observation_source_concept_id, -- empty in the data --'unit_source_value', unit_source_value, -- empty in the data --'qualifier_source_value', qualifier_source_value, -- empty in the data ) from observation where person_id is not null and observation_concept_id is not null --limit 10 -- when testing ; -- Procedures .shell date +'%FT%T emr_to_events.sqlite.sql: Loading procedures from `procedure_occurrence`' >&2 select person_id, procedure_date, procedure_date, -- Point interval 'px', procedure_concept_id, null, json_object( 'procedure_occurrence_id', procedure_occurrence_id, --'person_id', person_id, -- selected --'procedure_concept_id', procedure_concept_id, -- selected --'procedure_date', procedure_date, -- selected --'procedure_datetime', procedure_datetime, -- copies `procedure_date` --'procedure_type_concept_id', procedure_type_concept_id, -- single value --'modifier_concept_id', modifier_concept_id, -- empty in the data --'quantity', quantity, -- empty in the data 'provider_id', provider_id, 'visit_occurrence_id', visit_occurrence_id, 'procedure_source_value', procedure_source_value --'procedure_source_concept_id', procedure_source_concept_id, -- single value --'qualifier_source_value', qualifier_source_value, -- empty in the data ) from procedure_occurrence where person_id is not null and procedure_concept_id is not null --limit 10 -- when testing ; -- Visits .shell date +'%FT%T emr_to_events.sqlite.sql: Loading visits from `visit_occurrence`' >&2 select person_id, visit_start_date, visit_end_date, -- Visit type is the informative field (`visit_concept_id` -- contains only a single value) 'vx', visit_type_concept_id, null, json_object( 'visit_occurrence_id', visit_occurrence_id, --'person_id', person_id, -- selected --'visit_concept_id', visit_concept_id, -- single value --'visit_start_date', visit_start_date, -- selected --'visit_start_datetime', visit_start_datetime, -- copies `visit_start_date` --'visit_end_date', visit_end_date, -- selected --'visit_end_datetime', visit_end_datetime, -- copies `visit_end_date` --'visit_type_concept_id', visit_type_concept_id, -- selected --'provider_id', provider_id, -- empty in the data 'care_site_id', care_site_id, --'admitting_source_concept_id', admitting_source_concept_id, -- empty in the data --'discharge_to_concept_id', discharge_to_concept_id, -- empty in the data 'preceding_visit_occurrence_id', preceding_visit_occurrence_id --'visit_source_value', visit_source_value, -- empty in the data --'visit_source_concept_id', visit_source_concept_id, -- empty in the data --'admitting_source_value', admitting_source_value, -- empty in the data --'discharge_to_source_value', discharge_to_source_value, -- empty in the data ) from visit_occurrence where person_id is not null --limit 10 -- when testing ; -- Done .shell date +'%FT%T emr_to_events.sqlite.sql: Done generating events' >&2
CREATE TABLE IF NOT EXISTS guild_data ( guild_id BIGINT NOT NULL PRIMARY KEY, prefix VARCHAR(5) NOT NULL, prefix_case_insensitive BOOLEAN NOT NULL DEFAULT true ); CREATE TABLE IF NOT EXISTS guild_disabled ( guild_id BIGINT NOT NULL PRIMARY KEY, command_name VARCHAR(30)[], channel_id BIGINT[] ); CREATE TABLE IF NOT EXISTS apertures_currency ( user_id BIGINT NOT NULL PRIMARY KEY, balance INTEGER DEFAULT 0 );
USE sakila; SELECT actor.first_name, actor.last_name, film.title, film.description FROM actor LEFT JOIN film_actor ON actor.actor_id = film_actor.actor_id LEFT JOIN film ON film_actor.film_id = film.film_id WHERE film.title IS NULL; -- cliente que invirtió más en el último año SELECT c.customer_id, c.first_name, c.last_name, c.email, p.amount, sum(amount) as total, p.payment_date FROM customer as c JOIN payment as p ON c.customer_id = p.customer_id WHERE p.payment_date BETWEEN "20210101" AND "20210821" GROUP BY c.customer_id ORDER BY total DESC
<gh_stars>1-10 CREATE TABLE [dbo].[bid] ( [ID] BIGINT IDENTITY (1, 1) NOT NULL, [Name] VARCHAR (200) NOT NULL, CONSTRAINT [PK_bid_ID] PRIMARY KEY CLUSTERED ([ID] ASC), CONSTRAINT [ix_bid_Name] UNIQUE NONCLUSTERED ([Name] ASC) );
CREATE TABLE IF NOT EXISTS `admins` ( `id` int(11) NOT NULL AUTO_INCREMENT, `email` varchar(45) NOT NULL, `password` varchar(100) NOT NULL, `fullName` varchar(45) NOT NULL, `JWTToken` varchar(300) DEFAULT NULL, `createdAt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updatedAt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ); CREATE TABLE IF NOT EXISTS `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `fullName` varchar(45) NOT NULL, `email` varchar(45) NOT NULL, `loginPin` varchar(45) NOT NULL, `JWTToken` varchar(300) DEFAULT NULL, `createdAt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updatedAt` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) );
-- fts3cov.test -- -- execsql { -- INSERT INTO t1(t1) VALUES('optimize'); -- SELECT substr(hex(root), 1, 2) FROM t1_segdir; -- } INSERT INTO t1(t1) VALUES('optimize'); SELECT substr(hex(root), 1, 2) FROM t1_segdir;
<gh_stars>10-100 # Updates schema from version 1 to version 2 ALTER TABLE QC MODIFY fastqc1_max_sequence_length INT UNSIGNED; ALTER TABLE QC MODIFY fastqc1_min_sequence_length INT UNSIGNED; ALTER TABLE QC MODIFY fastqc1_sequences_flagged_as_poor_quality INT UNSIGNED; ALTER TABLE QC MODIFY fastqc1_total_sequences INT UNSIGNED; ALTER TABLE QC MODIFY fastqc2_max_sequence_length INT UNSIGNED; ALTER TABLE QC MODIFY fastqc2_min_sequence_length INT UNSIGNED; ALTER TABLE QC MODIFY fastqc2_sequences_flagged_as_poor_quality INT UNSIGNED; ALTER TABLE QC MODIFY fastqc2_total_sequences INT UNSIGNED; ALTER TABLE QC MODIFY samtools_raw_total_sequences INT UNSIGNED; ALTER TABLE QC MODIFY samtools_reads_mapped INT UNSIGNED; ALTER TABLE QC MODIFY samtools_reads_duplicated INT UNSIGNED; ALTER TABLE QC MODIFY samtools_bases_mapped_cigar BIGINT UNSIGNED; ALTER TABLE QC MODIFY samtools_bases_trimmed BIGINT UNSIGNED; ALTER TABLE QC MODIFY samtools_inward_oriented_pairs INT UNSIGNED; ALTER TABLE QC MODIFY samtools_outward_oriented_pairs INT UNSIGNED; ALTER TABLE QC MODIFY samtools_pairs_with_other_orientation INT UNSIGNED; ALTER TABLE QC MODIFY het_snp_positions INT UNSIGNED; ALTER TABLE QC MODIFY het_snp_total_snps INT UNSIGNED; ALTER TABLE QC MODIFY het_snp_het_calls INT UNSIGNED; ALTER TABLE Read_counts MODIFY original_total INT UNSIGNED; ALTER TABLE Read_counts MODIFY contamination INT UNSIGNED; ALTER TABLE Read_counts MODIFY not_contamination INT UNSIGNED; ALTER TABLE Read_counts MODIFY unmapped INT UNSIGNED; ALTER TABLE Read_counts MODIFY total_after_remove_contam INT UNSIGNED; UPDATE Version SET version=2 WHERE version=1;
<filename>atd-vzd/migrations/migration_units_2019-11-07--1026.sql -- -- Enforces unique records in the Units table -- create index atd_txdot_units_unique_index on atd_txdot_units (crash_id, unit_nbr);
-- Dumping database structure for burgers_db CREATE DATABASE IF NOT EXISTS `burgers_db`; USE `burgers_db`; -- Dumping structure for table burgers_db.burgers CREATE TABLE IF NOT EXISTS `burgers` ( `id` int NOT NULL AUTO_INCREMENT, `burger_name` varchar(50) NOT NULL DEFAULT '0', `devoured` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
<filename>src/FamUnion.Db/StoredProcedures/spSaveAddressByEntityTypeAndId.sql CREATE PROCEDURE [dbo].[spSaveAddressByEntityTypeAndId] @userId nvarchar(100), @entityType nvarchar(100), @entityId uniqueidentifier, @description nvarchar(255), @line1 nvarchar(100), @line2 nvarchar(100), @city nvarchar(100), @state nvarchar(2), @zipcode nvarchar(5) AS DECLARE @insertId uniqueidentifier = newid() DECLARE @entityTypeId INT = (SELECT EntityTypeId FROM [dbo].[EntityType] WHERE EntityName = @entityType) MERGE INTO [dbo].[Address] TARGET USING ( SELECT @insertId [AddressId], @entityId [EntityId], @description [Description], @line1 [Line1], @line2 [Line2], @city [City], @state [State], @zipcode [ZipCode], null [Latitude], null [Longitude], null [CreatedBy], null [CreatedDate], null [ModifiedBy], null [ModifiedDate] ) SOURCE ON TARGET.EntityId = SOURCE.EntityId AND TARGET.EntityType = @entityTypeId AND TARGET.IsActive = 1 WHEN NOT MATCHED THEN INSERT (AddressId, EntityId, EntityType, Description, Line1, Line2, City, State, ZipCode, Latitude, Longitude, CreatedDate, CreatedBy) VALUES (@insertId, SOURCE.EntityId, @entityTypeId, SOURCE.Description, SOURCE.Line1, SOURCE.Line2, SOURCE.City, SOURCE.State, SOURCE.ZipCode, SOURCE.Latitude, SOURCE.Longitude, SYSDATETIME(), @userId) WHEN MATCHED AND TARGET.IsActive = 1 THEN UPDATE SET TARGET.Description = SOURCE.Description, TARGET.Line1 = SOURCE.Line1, TARGET.Line2 = SOURCE.Line2, TARGET.City = SOURCE.City, TARGET.State = SOURCE.State, TARGET.ZipCode = SOURCE.ZipCode, TARGET.Latitude = SOURCE.Latitude, TARGET.Longitude = SOURCE.Longitude, TARGET.ModifiedBy = @userId, TARGET.ModifiedDate = SYSDATETIME();
<filename>web/spring-data-rest-demo/src/main/resources/db/migration/h2/V2__insert_sample_data.sql INSERT INTO USERS (id, email, password, name, enabled, last_password_reset_date) VALUES (1, '<EMAIL>', <PASSWORD>', 'Admin', true, null), (2, '<EMAIL>', <PASSWORD>', '<PASSWORD>', true, null) ; INSERT INTO ROLES (id, name) VALUES (1, 'ROLE_ADMIN'), (2, 'ROLE_USER') ; INSERT INTO USER_ROLE (user_id, role_id) VALUES (1, 1), (1, 2), (2, 2) ; INSERT INTO BOOKMARKS(id, title, url, created_by, created_on) VALUES (1, 'MicroServices – Part 6 : Distributed Tracing with Spring Cloud Sleuth and Zipkin','https://sivalabs.in/2018/03/microservices-part-6-distributed-tracing-with-spring-cloud-sleuth-and-zipkin/',1,now()), (2, 'MicroServices – Part 5 : Spring Cloud Zuul Proxy as API Gateway','https://sivalabs.in/2018/03/microservices-part-5-spring-cloud-zuul-proxy-as-api-gateway/',2,now()), (3, 'MicroServices – Part 4 : Spring Cloud Circuit Breaker using Netflix Hystrix','https://sivalabs.in/2018/03/spring-cloud-netflix-circuit-breaker/',2,now()) ;
<reponame>tharangar/k8s-webserver -- PHPOE-2086 DROP TABLE `import_mapping`; ALTER TABLE `z2086_import_mapping` RENAME `import_mapping`; DROP TABLE `survey_forms`; ALTER TABLE `z2086_survey_forms` RENAME `survey_forms`; DROP TABLE `survey_questions`; ALTER TABLE `z2086_survey_questions` RENAME `survey_questions`; -- security_functions DELETE FROM `security_functions` WHERE `id` IN (1024, 1025); INSERT INTO `security_functions` SELECT * FROM `z_2086_security_functions`; DROP TABLE `z_2086_security_functions`; -- security_role_functions DELETE FROM `security_role_functions` WHERE `id` IN ( SELECT `id` FROM `z_2086_security_role_functions` ); INSERT INTO `security_role_functions` SELECT * FROM `z_2086_security_role_functions`; DROP TABLE `z_2086_security_role_functions`; DELETE FROM `db_patches` WHERE `issue`='PHPOE-2086';
<reponame>regyssilveira/firedac-demos create table transactions ( id integer not null, descricao varchar(100) not null, constraint pk_transacations primary key(id) ); SET TERM ^ ; CREATE OR ALTER TRIGGER tr_transaction_BI FOR transactions ACTIVE BEFORE INSERT POSITION 0 as begin select coalesce(max(id), 0) + 1 from transactions into new.id; end ^ SET TERM ; ^
<reponame>adrianmahjour/db2-samples ----------------------------------------------------------------------------- -- (c) Copyright IBM Corp. 2007 All rights reserved. -- -- The following sample of source code ("Sample") is owned by International -- Business Machines Corporation or one of its subsidiaries ("IBM") and is -- copyrighted and licensed, not sold. You may use, copy, modify, and -- distribute the Sample in any form without payment to IBM, for the purpose of -- assisting you in the development of your applications. -- -- The Sample code is provided to you on an "AS IS" basis, without warranty of -- any kind. IBM HEREBY EXPRESSLY DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR -- IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Some jurisdictions do -- not allow for the exclusion or limitation of implied warranties, so the above -- limitations or exclusions may not apply to you. IBM shall not be liable for -- any damages you suffer as a result of using, copying, modifying or -- distributing the Sample, even if IBM has been advised of the possibility of -- such damages. ----------------------------------------------------------------------------- -- -- SOURCE FILE NAME: testdata.db2 -- -- SAMPLE: How to populate a table with randomly generated test data -- -- DB2 BUILT-IN FUNCTIONS USED: -- RAND() -- TRANSLATE() -- -- SQL STATEMENTS USED: -- CREATE TABLE -- INSERT -- SELECT -- DROP TABLE -- -- OUTPUT FILE: testdata.out (available in the online documentation) ----------------------------------------------------------------------------- -- -- For more information about the command line processor (CLP) scripts, -- see the README file. -- -- For information on using SQL statements, see the SQL Reference. -- -- For the latest information on programming, building, and running DB2 -- applications, visit the DB2 application development website: -- http://www.software.ibm.com/data/db2/udb/ad ----------------------------------------------------------------------------- CREATE TABLE EMPL (ENO INTEGER, LASTNAME VARCHAR(30), HIREDATE DATE, SALARY INTEGER); INSERT INTO EMPL -- generate 100 records WITH DT(ENO) AS (VALUES(1) UNION ALL SELECT ENO+1 FROM DT WHERE ENO < 100 ) -- Now, use the generated records in DT to create other columns -- of the employee record. SELECT ENO, TRANSLATE(CHAR(INTEGER(RAND()*1000000)), CASE MOD(ENO,4) WHEN 0 THEN 'aeiou' || 'bcdfg' WHEN 1 THEN 'aeiou' || 'hjklm' WHEN 2 THEN 'aeiou' || 'npqrs' ELSE 'aeiou' || 'twxyz' END, '1234567890') AS LASTNAME, CURRENT DATE - (RAND()*10957) DAYS AS HIREDATE, INTEGER(10000+RAND()*200000) AS SALARY FROM DT; SELECT * FROM EMPL; DROP TABLE EMPL;
<filename>cql-engine-fhir/src/test/resources/org/opencds/cqf/cql/data/fhir/TestCodeRef.cql library TestCodeRef version '1' using FHIR codesystem "SNOMED": 'http://snomed.info/sct' codesystem "LOINC": 'http://loinc.org' code "XYZ Code": '185349003' from "SNOMED" code "ABC Code": '55284-4' from "LOINC" define CodeRef1: "XYZ Code" define CodeRef2: "ABC Code"
create class test_class (date_col date, time_col time, timestamp_col timestamp, datetime_col datetimeltz, datetime_col1 datetimeltz); insert into test_class values (DATE '01/01/1971', TIME '09:00:00', TIMESTAMP '01/01/1972 10:30:00', datetimeltz '1970-01-01 12:00:00.000', datetimeltz '1970-01-01 12:00:00.000'); insert into test_class values (DATE '01/02/2009', TIME '19:10:00', TIMESTAMP '01/11/2009 10:31:00', datetimeltz '2008-01-12 08:08:08.999', datetimeltz '2008-02-12 08:08:08.999'); insert into test_class values (DATE '01/02/2009', TIME '19:10:00', TIMESTAMP '01/11/2009 10:31:00', datetimeltz '2008-03-12 08:08:08.999', datetimeltz '2008-01-12 08:08:08.999'); select to_char(datetime_col) from test_class order by 1; select to_char(datetime_col, 'CC') from test_class order by 1; select to_char(datetime_col, 'YYYY') from test_class order by 1; select to_char(datetime_col, 'YY') from test_class order by 1; select to_char(datetime_col, 'Q') from test_class order by 1; select to_char(datetime_col, 'MM') from test_class order by 1; select to_char(datetime_col, 'MONTH') from test_class order by 1; select to_char(datetime_col, 'MON') from test_class order by 1; select to_char(datetime_col, 'DD') from test_class order by 1; select to_char(datetime_col, 'DAY') from test_class order by 1; select to_char(datetime_col, 'DY') from test_class order by 1; select to_char(datetime_col, 'D') from test_class order by 1; select to_char(datetime_col, 'd') from test_class order by 1; select to_char(datetime_col, 'AM') from test_class order by 1; select to_char(datetime_col, 'PM') from test_class order by 1; select to_char(datetime_col, 'A.M.') from test_class order by 1; select to_char(datetime_col, 'P.M.') from test_class order by 1; select to_char(datetime_col, 'HH') from test_class order by 1; select to_char(datetime_col, 'HH12') from test_class order by 1; select to_char(datetime_col, 'HH24') from test_class order by 1; select to_char(datetime_col, 'MI') from test_class order by 1; select to_char(datetime_col, 'SS') from test_class order by 1; select to_char(datetime_col, 'YYYY-MM-DD HH24:MI:SS') from test_class order by 1; select to_char(datetime_col, 'MM/DD/YYYY HH24:MI:SS AM') from test_class order by 1; select to_char(datetime_col, '"NHN Welcome to Year" yyyy') from test_class order by 1; select to_char(datetime_col, '- / , . ; : "text"') from test_class order by 1; select to_char(datetime_col, 'YYYY-MM-DD HH24:MI:SS TZR TZD TZH TZM') from test_class order by 1; drop class test_class;
-- @testpoint:opengauss关键字reuse(非保留),作为函数名 --关键字不带引号-成功 drop function if exists reuse; create function reuse(i integer) returns integer as $$ begin return i+1; end; $$ language plpgsql; / --清理环境 drop function reuse; --关键字带双引号-成功 drop function if exists "reuse"; create function "reuse"(i integer) returns integer as $$ begin return i+1; end; $$ language plpgsql; / drop function "reuse"; --关键字带单引号-合理报错 drop function if exists 'reuse'; create function 'reuse'(i integer) returns integer as $$ begin return i+1; end; $$ language plpgsql; / --关键字带反引号-合理报错 drop function if exists `reuse`; create function `reuse`(i integer) returns integer as $$ begin return i+1; end; $$ language plpgsql; /
use crhdybcsctttyd85; select * from USER_CHARS;
-- PHASE 2, QUERY #1 SELECT city, state, population_estimate_2018 FROM cities; -- RESULTS: -- city | state | population_estimate_2018 -- ---------------+----------------------+-------------------------- -- New York | New York | 8398748 -- Los Angeles | California | 3990456 -- Chicago | Illinois | 2705994 -- Houston | Texas | 2325502 -- Phoenix | Arizona | 1660272 -- Philadelphia | Pennsylvania | 1584138 -- San Antonio | Texas | 1532233 -- San Diego | California | 1425976 -- Dallas | Texas | 1345047 -- San Jose | California | 1030119 -- Austin | Texas | 964254 -- Jacksonville | Florida | 903889 -- <NAME> | Texas | 895008 -- Columbus | Ohio | 892533 -- San Francisco | California | 883305 -- Charlotte | North Carolina | 872498 -- Indianapolis | Indiana | 867125 -- Seattle | Washington | 744955 -- Denver | Colorado | 716492 -- Washington | District of Columbia | 702455 -- Boston | Massachusetts | 694583 -- El Paso | Texas | 682669 -- Detroit | Michigan | 672662 -- Nashville | Tennessee | 669053 -- Portland | Oregon | 653115 -- (25 rows) -- PHASE 2, QUERY #2 SELECT name FROM airports; -- RESULTS: -- name -- -------------------------------------------------- -- <NAME> International Airport -- LaGuardia Airport -- Los Angeles International Airport -- Chicago O'Hare International Airport -- Chicago Midway International Airport -- George Bush Intercontinental Airport -- William P. Hobby Airport -- Phoenix Sky Harbor International Airport -- Philadelphia International Airport -- San Antonio International Airport -- San Diego International Airport -- Dallas Love Field -- Dallas/Fort Worth International Airport -- <NAME> San José International Airport -- Austin-Bergstrom International Airport -- Jacksonville International Airport -- Dallas/Fort Worth International Airport -- Columbus Metropolitan Airport -- San Francisco International Airport -- Charlotte/Douglas International Airport -- Indianapolis International Airport -- King County International Airport -- Seattle–Tacoma International Airport -- Denver International Airport -- Ronald Reagan Washington National Airport -- Washington Dulles International Airport -- Gen. Edward Lawrence Logan International Airport -- El Paso International Airport -- Detroit Metropolitan Wayne County Airport -- Nashville International Airport -- Portland International Airport -- (31 rows) -- PHASE 3, QUERY #1 SELECT population_estimate_2018 FROM cities WHERE city = 'San Diego'; -- RESULTS: -- population_estimate_2018 -- -------------------------- -- 1425976 -- (1 row) -- PHASE 3, QUERY #2 SELECT city, state, population_estimate_2018 FROM cities WHERE city IN ('Phoenix', 'Jacksonville', 'Charlotte', 'Nashville'); -- RESULTS: -- city | state | population_estimate_2018 -- --------------+----------------+-------------------------- -- Phoenix | Arizona | 1660272 -- Jacksonville | Florida | 903889 -- Charlotte | North Carolina | 872498 -- Nashville | Tennessee | 669053 -- (4 rows) -- PHASE 3, QUERY #3 SELECT city, state, population_estimate_2018 FROM cities WHERE population_estimate_2018 BETWEEN 800000 AND 900000; -- RESULTS: -- city | state | population_estimate_2018 -- ---------------+----------------+-------------------------- -- <NAME> | Texas | 895008 -- Columbus | Ohio | 892533 -- San Francisco | California | 883305 -- Charlotte | North Carolina | 872498 -- Indianapolis | Indiana | 867125 -- (5 rows) -- PHASE 3, QUERY #4 SELECT city FROM cities WHERE population_estimate_2018 >= 1000000; -- RESULTS: -- city -- -------------- -- New York -- Los Angeles -- Chicago -- Houston -- Phoenix -- Philadelphia -- San Antonio -- San Diego -- Dallas -- San Jose -- (10 rows) -- PHASE 3, QUERY #5 SELECT city, population_estimate_2018/1000000 FROM cities WHERE state = 'Texas'; -- RESULTS: -- city | ?column? -- -------------+---------- -- Houston | 2 -- San Antonio | 1 -- Dallas | 1 -- Austin | 0 -- <NAME> | 0 -- El Paso | 0 -- (6 rows) -- PHASE 3, QUERY #6 SELECT city, population_estimate_2018 FROM cities WHERE state NOT IN ('New York', 'California', 'Texas'); -- RESULTS: -- city | population_estimate_2018 -- --------------+-------------------------- -- Chicago | 2705994 -- Phoenix | 1660272 -- Philadelphia | 1584138 -- Jacksonville | 903889 -- Columbus | 892533 -- Charlotte | 872498 -- Indianapolis | 867125 -- Seattle | 744955 -- Denver | 716492 -- Washington | 702455 -- Boston | 694583 -- Detroit | 672662 -- Nashville | 669053 -- Portland | 653115 -- (14 rows) -- PHASE 3, QUERY #7 SELECT city, population_estimate_2018 FROM cities WHERE city LIKE 'S%'; -- RESULTS: -- city | population_estimate_2018 -- ---------------+-------------------------- -- San Antonio | 1532233 -- San Diego | 1425976 -- San Jose | 1030119 -- San Francisco | 883305 -- Seattle | 744955 -- (5 rows) -- PHASE 3, QUERY #8 SELECT city, land_area_sq_mi_2016, population_estimate_2018 FROM cities WHERE land_area_sq_mi_2016 > 400 OR population_estimate_2018 > 2000000; -- RESULTS: -- city | land_area_sq_mi_2016 | population_estimate_2018 -- --------------+----------------------+-------------------------- -- New York | 301.5 | 8398748 -- Los Angeles | 468.7 | 3990456 -- Chicago | 227.3 | 2705994 -- Houston | 637.5 | 2325502 -- Phoenix | 517.6 | 1660272 -- San Antonio | 461 | 1532233 -- Jacksonville | 747.4 | 903889 -- Nashville | 475.9 | 669053 -- (8 rows) -- PHASE 3, QUERY #9 SELECT city, land_area_sq_mi_2016, population_estimate_2018 FROM cities WHERE ( (land_area_sq_mi_2016 > 400 OR population_estimate_2018 > 2000000 ) AND NOT (land_area_sq_mi_2016 > 400 AND population_estimate_2018 > 2000000 ) ); -- RESULTS: -- city | land_area_sq_mi_2016 | population_estimate_2018 -- --------------+----------------------+-------------------------- -- New York | 301.5 | 8398748 -- Chicago | 227.3 | 2705994 -- Phoenix | 517.6 | 1660272 -- San Antonio | 461 | 1532233 -- Jacksonville | 747.4 | 903889 -- Nashville | 475.9 | 669053 -- (6 rows) -- PHASE 3, QUERY #10 SELECT city, population_estimate_2018, population_census_2010 FROM cities WHERE (population_estimate_2018 - population_census_2010) > 200000; -- RESULTS: -- city | population_estimate_2018 | population_census_2010 -- -------------+--------------------------+------------------------ -- New York | 8398748 | 8175133 -- Houston | 2325502 | 2100263 -- Phoenix | 1660272 | 1445632 -- San Antonio | 1532233 | 1327407 -- (4 rows) -- PHASE 4, QUERY #1 SELECT name, city FROM airports INNER JOIN cities ON (airports.city_id = cities.id); -- RESULTS: -- name | city -- --------------------------------------------------+--------------- -- <NAME> International Airport | New York -- LaGuardia Airport | New York -- Los Angeles International Airport | Los Angeles -- Chicago O'Hare International Airport | Chicago -- Chicago Midway International Airport | Chicago -- George Bush Intercontinental Airport | Houston -- William P. Hobby Airport | Houston -- Phoenix Sky Harbor International Airport | Phoenix -- Philadelphia International Airport | Philadelphia -- San Antonio International Airport | San Antonio -- San Diego International Airport | San Diego -- Dallas Love Field | Dallas -- Dallas/Fort Worth International Airport | Dallas -- <NAME> San José International Airport | San Jose -- Austin-Bergstrom International Airport | Austin -- Jacksonville International Airport | Jacksonville -- Dallas/Fort Worth International Airport | Fort Worth -- Columbus Metropolitan Airport | Columbus -- San Francisco International Airport | San Francisco -- Charlotte/Douglas International Airport | Charlotte -- Indianapolis International Airport | Indianapolis -- King County International Airport | Seattle -- Seattle–Tacoma International Airport | Seattle -- Denver International Airport | Denver -- Ronald Reagan Washington National Airport | Washington -- Washington Dulles International Airport | Washington -- Gen. Edward Lawrence Logan International Airport | Boston -- El Paso International Airport | El Paso -- Detroit Metropolitan Wayne County Airport | Detroit -- Nashville International Airport | Nashville -- Portland International Airport | Portland -- (31 rows) -- PHASE 4, QUERY #2 SELECT COUNT(*) FROM airports INNER JOIN cities ON (airports.city_id = cities.id) WHERE city = 'New York'; -- RESULTS: -- count -- ------- -- 2 -- (1 row) -- BONUS #1 SELECT FAA_id, IATA_id, ICAO_id FROM airports WHERE name = 'Chicago O''Hare International Airport'; -- RESULTS: -- faa_id | iata_id | icao_id -- --------+---------+--------- -- ORD | ORD | KORD -- (1 row) -- BONUS #2 SELECT city, state, to_char(population_estimate_2018, '9,999,999') FROM cities; -- RESULTS: -- city | state | to_char -- ---------------+----------------------+------------ -- New York | New York | 8,398,748 -- Los Angeles | California | 3,990,456 -- Chicago | Illinois | 2,705,994 -- Houston | Texas | 2,325,502 -- Phoenix | Arizona | 1,660,272 -- Philadelphia | Pennsylvania | 1,584,138 -- San Antonio | Texas | 1,532,233 -- San Diego | California | 1,425,976 -- Dallas | Texas | 1,345,047 -- San Jose | California | 1,030,119 -- Austin | Texas | 964,254 -- Jacksonville | Florida | 903,889 -- <NAME> | Texas | 895,008 -- Columbus | Ohio | 892,533 -- San Francisco | California | 883,305 -- Charlotte | North Carolina | 872,498 -- Indianapolis | Indiana | 867,125 -- Seattle | Washington | 744,955 -- Denver | Colorado | 716,492 -- Washington | District of Columbia | 702,455 -- Boston | Massachusetts | 694,583 -- El Paso | Texas | 682,669 -- Detroit | Michigan | 672,662 -- Nashville | Tennessee | 669,053 -- Portland | Oregon | 653,115 -- (25 rows) -- BONUS #3 SELECT city, round(population_estimate_2018/1000000::decimal, 2) FROM cities WHERE state = 'Texas'; -- RESULTS: -- city | round -- -------------+------- -- Houston | 2.33 -- San Antonio | 1.53 -- Dallas | 1.35 -- Austin | 0.96 -- <NAME> | 0.90 -- <NAME> | 0.68 -- (6 rows) -- BONUS #4 SELECT city, (population_estimate_2018 - population_census_2010) AS population_increase FROM cities ORDER BY population_increase DESC LIMIT 1; -- RESULTS: -- city | population_increase -- ---------+--------------------- -- Houston | 225239 -- (1 row)
insert into LINKS(url) values ('https://news.sina.cn');
CREATE UNIQUE INDEX "CONTOSO"."IDX_CUSTOMERS_CUSTOMER_ID_NAME_CREDIT_LIMIT" ON "CONTOSO"."CUSTOMERS" ("CUSTOMER_ID", "NAME") PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) TABLESPACE "USERS" ;
-- phpMyAdmin SQL Dump -- version 4.7.9 -- https://www.phpmyadmin.net/ -- -- Máy chủ: 127.0.0.1:3306 -- Thời gian đã tạo: Th8 25, 2021 lúc 03:34 PM -- Phiên bản máy phục vụ: 5.7.21 -- Phiên bản PHP: 7.2.4 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Cơ sở dữ liệu: `snack_store_db` -- -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `categories` -- DROP TABLE IF EXISTS `categories`; CREATE TABLE IF NOT EXISTS `categories` ( `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, `title` text COLLATE utf8mb4_unicode_ci, `description` text COLLATE utf8mb4_unicode_ci, `content` text COLLATE utf8mb4_unicode_ci, `thumbnail` text COLLATE utf8mb4_unicode_ci, `url` text COLLATE utf8mb4_unicode_ci, `title_seo` text COLLATE utf8mb4_unicode_ci, `keyword_seo` text COLLATE utf8mb4_unicode_ci, `description_seo` text COLLATE utf8mb4_unicode_ci, `h1_seo` text COLLATE utf8mb4_unicode_ci, `h2_seo` text COLLATE utf8mb4_unicode_ci, `h3_seo` text COLLATE utf8mb4_unicode_ci, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `status` int(11) NOT NULL DEFAULT '1', `type` enum('page','product','blog') COLLATE utf8mb4_unicode_ci DEFAULT 'page', `images` text COLLATE utf8mb4_unicode_ci, `background` text COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `categories` -- INSERT INTO `categories` (`id`, `title`, `description`, `content`, `thumbnail`, `url`, `title_seo`, `keyword_seo`, `description_seo`, `h1_seo`, `h2_seo`, `h3_seo`, `created_at`, `updated_at`, `status`, `type`, `images`, `background`) VALUES (1, 'B.A STORE', 'test', '<p>TEST</p>', 'upload/logo/My_Post.png', '', 'test', 'test', 'test', 'test', 'test', 'test', '2021-08-11 08:29:50', '2021-08-23 08:53:13', 1, 'page', '[]', NULL), (2, 'Contact', 'test', '<p>test 123</p>', NULL, '', 'test', 'test', 'test', 'test', 'test', 'test', '2021-08-11 08:30:21', '2021-08-23 08:53:16', 1, 'page', '\"\"', NULL), (5, 'Spain', 'Olé! Bienvenido a España! This SnackCrate comes from the home of the running of the bulls. Unique flavors abound with selections ranging from Chupa Chups, Fried Egg Chips, and Spicy Mangoes!', '<p>123</p>', 'upload/category/SC_Crate_Spain_Premium_Drink_041619.png', 'contact-coppy', 'test', 'test', 'test', 'test', 'test', 'test', '2021-08-16 09:03:27', '2021-08-17 08:42:24', 1, 'product', '[]', 'rgb(103, 72, 216)'), (4, 'Hawaii', 'Aloha! This tropical SnackCrate features the snacks of the 50th state. Flavors such as Kona Coffee, Pineapple, and Li Hing Mui abound as well as snacks influenced by Japan, China and the Pacific Islands.', '<p>123</p>', 'upload/category/SC_Crate_Hawaii_Premium_Drink_010919_600x600-2.png', 'hawaii', 'test', 'test', 'test', 'test', 'test', 'test', '2021-08-16 08:42:55', '2021-08-17 09:01:40', 1, 'product', '[]', '#ffb412'), (6, 'Hawaii coppy', 'Aloha! This tropical SnackCrate features the snacks of the 50th state. Flavors such as Kona Coffee, Pineapple, and Li Hing Mui abound as well as snacks influenced by Japan, China and the Pacific Islands.', '<div class=\"btgrid\">\n<div class=\"row row-1\">\n<div class=\"col-12 col-md-6\">\n<div class=\"content\">\n<p>Col 1 content area</p>\n</div>\n</div>\n\n<div class=\"col-12 col-md-6\">\n<div class=\"content\">\n<p>Col 2 content area</p>\n</div>\n</div>\n</div>\n</div>\n\n<p>&nbsp;</p>', 'upload/category/SC_Crate_Hawaii_Premium_Drink_010919_600x600-2.png', 'hawaii-coppy', 'test', 'test', 'test', 'test', 'test', 'test', '2021-08-18 01:44:47', '2021-08-18 02:00:25', 1, 'page', '[]', '#ffb412'), (7, 'about', 'test', '<div class=\"btgrid\">\n<div class=\"row row-1\">\n<div class=\"col-12 col-md-6\">\n<div class=\"content\">\n<p style=\"text-align: center;\"><img alt=\"\" src=\"upload/logo/My_Post.png\" style=\"width: 300px; height: 300px;\" /></p>\n</div>\n</div>\n\n<div class=\"col-12 col-md-6\">\n<div class=\"content\">\n<h1 class=\"title font-weight-bold \"><span style=\"color:#e74c3c;\"><strong>B.A Store</strong></span></h1>\n\n<h3 class=\"descprtion\"><strong>We were established in 2021, specializing in providing cakes, snacks, soft drinks all over Vietnam</strong></h3>\n</div>\n</div>\n</div>\n</div>\n\n<p>&nbsp;</p>', NULL, 'about', 'test', 'test', 'test', 'test', 'test', 'test', '2021-08-18 05:16:59', '2021-08-18 05:24:31', 1, 'page', '\"\"', NULL); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `contacts` -- DROP TABLE IF EXISTS `contacts`; CREATE TABLE IF NOT EXISTS `contacts` ( `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, `fullname` text COLLATE utf8mb4_unicode_ci NOT NULL, `email` text COLLATE utf8mb4_unicode_ci NOT NULL, `tel` text COLLATE utf8mb4_unicode_ci NOT NULL, `content` text COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `contacts` -- INSERT INTO `contacts` (`id`, `fullname`, `email`, `tel`, `content`, `created_at`, `updated_at`) VALUES (1, '123', '123', '123', '123', '2021-08-23 02:52:03', '2021-08-23 02:52:03'), (2, 'test', 'test', 'test', 'test', '2021-08-23 07:50:21', '2021-08-23 07:50:21'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `failed_jobs` -- DROP TABLE IF EXISTS `failed_jobs`; CREATE TABLE IF NOT EXISTS `failed_jobs` ( `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, `connection` text COLLATE utf8mb4_unicode_ci NOT NULL, `queue` text COLLATE utf8mb4_unicode_ci NOT NULL, `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `jobs` -- DROP TABLE IF EXISTS `jobs`; CREATE TABLE IF NOT EXISTS `jobs` ( `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, `queue` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `attempts` tinyint(3) UNSIGNED NOT NULL, `reserved_at` int(10) UNSIGNED DEFAULT NULL, `available_at` int(10) UNSIGNED NOT NULL, `created_at` int(10) UNSIGNED NOT NULL, PRIMARY KEY (`id`), KEY `jobs_queue_index` (`queue`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `migrations` -- DROP TABLE IF EXISTS `migrations`; CREATE TABLE IF NOT EXISTS `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=MyISAM AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `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_08_19_000000_create_failed_jobs_table', 1), (4, '2019_12_14_000001_create_personal_access_tokens_table', 1), (5, '2021_08_09_084722_add_role_column_users', 2), (7, '2021_08_11_151910_create_categories_table', 3), (8, '2021_08_11_170748_add_column_status_categories', 4), (9, '2021_08_12_060217_add_type_column_categories', 5), (10, '2021_08_12_085456_add_images_column_categories', 6), (11, '2021_08_14_060313_create_ui_table', 7), (12, '2021_08_14_061956_add_layout_column', 8), (13, '2021_08_15_052547_create_products_table', 9), (16, '2021_08_17_153900_add_background_column', 10), (18, '2021_08_21_121408_add_price_column', 11), (19, '2021_08_23_094539_create_contacts_table', 12), (20, '2021_08_24_131552_create_orders_table', 13), (26, '2021_08_24_132254_create_orders_detail__table', 14), (29, '2021_08_24_154104_create_jobs_table', 15), (30, '2021_08_25_150229_create_posts_table', 15); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `orders` -- DROP TABLE IF EXISTS `orders`; CREATE TABLE IF NOT EXISTS `orders` ( `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, `fullname` text COLLATE utf8mb4_unicode_ci, `tel` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `address` text COLLATE utf8mb4_unicode_ci, `total_price` double(8,2) DEFAULT NULL, `charge_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` int(11) NOT NULL DEFAULT '0', `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=50 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `orders` -- INSERT INTO `orders` (`id`, `fullname`, `tel`, `email`, `address`, `total_price`, `charge_id`, `status`, `created_at`, `updated_at`) VALUES (1, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 06:46:29', '2021-08-24 06:46:29'), (2, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 06:54:27', '2021-08-24 06:54:27'), (3, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 06:55:10', '2021-08-24 06:55:10'), (4, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 06:55:54', '2021-08-24 06:55:54'), (5, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 06:57:42', '2021-08-24 06:57:42'), (6, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 06:57:59', '2021-08-24 06:57:59'), (7, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 06:58:36', '2021-08-24 06:58:36'), (8, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 06:59:33', '2021-08-24 06:59:33'), (9, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 06:59:42', '2021-08-24 06:59:42'), (10, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 07:01:42', '2021-08-24 07:01:42'), (11, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 07:02:30', '2021-08-24 07:02:30'), (12, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 07:03:09', '2021-08-24 07:03:09'), (13, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 07:06:30', '2021-08-24 07:06:30'), (14, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 07:07:17', '2021-08-24 07:07:17'), (15, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 07:07:35', '2021-08-24 07:07:35'), (16, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 07:07:52', '2021-08-24 07:07:52'), (17, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 07:08:10', '2021-08-24 07:08:10'), (18, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 07:08:29', '2021-08-24 07:08:29'), (19, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 07:08:47', '2021-08-24 07:08:47'), (20, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 07:09:51', '2021-08-24 07:09:51'), (21, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 07:10:08', '2021-08-24 07:10:08'), (22, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 07:10:41', '2021-08-24 07:10:41'), (23, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 07:11:06', '2021-08-24 07:11:06'), (24, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 07:11:15', '2021-08-24 07:11:15'), (25, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 07:12:07', '2021-08-24 07:12:07'), (26, '123', '123', '123', '123', NULL, NULL, 0, '2021-08-24 07:12:14', '2021-08-24 07:12:14'), (27, 'test', 'test', 'test', 'test', NULL, NULL, 0, '2021-08-24 07:12:42', '2021-08-24 07:12:42'), (28, 'test', 'test', 'test', 'test', 1.44, NULL, 0, '2021-08-24 07:13:44', '2021-08-24 07:13:46'), (29, 'test', 'test', 'test', 'test', 1.44, NULL, 0, '2021-08-24 07:14:09', '2021-08-24 07:14:10'), (30, 'test', 'test', 'test', 'test', 1.44, NULL, 0, '2021-08-24 07:15:14', '2021-08-24 07:15:16'), (31, 'test', 'test', 'test', 'test', 1.44, NULL, 0, '2021-08-24 07:15:26', '2021-08-24 07:15:27'), (32, 'test', 'test', 'test', 'test', 1.44, 'ch_3JS0PnLAXRfbOAk505Z8taXa', 0, '2021-08-24 07:15:44', '2021-08-24 07:15:46'), (33, 'test', 'test', 'test', 'test', 1.44, 'ch_3JS0R3LAXRfbOAk51LxYS9bd', 0, '2021-08-24 07:17:03', '2021-08-24 07:17:04'), (34, 'testt', 'test', 'test', 'test', 1.44, 'ch_3JS0UzLAXRfbOAk50HxbdI8Y', 0, '2021-08-24 07:21:07', '2021-08-24 07:21:08'), (35, 'test', 'test', 'test', 'test', 1.44, 'ch_3JS0VMLAXRfbOAk508S3issQ', 0, '2021-08-24 07:21:30', '2021-08-24 07:21:31'), (36, 'test', 'test', 'test', 'test', 1.44, 'ch_3JS0XdLAXRfbOAk50ICVOsDs', 0, '2021-08-24 07:23:51', '2021-08-24 07:23:52'), (37, 'test', 'test', 'test', 'test', 1.44, 'ch_3JS0a8LAXRfbOAk50QRpShe8', 0, '2021-08-24 07:26:25', '2021-08-24 07:26:26'), (38, 'test', 'test', '<EMAIL>', '123456', NULL, NULL, 0, '2021-08-24 08:56:29', '2021-08-24 08:56:29'), (39, 'test', 'test', '<EMAIL>', '123456', NULL, NULL, 0, '2021-08-24 08:56:35', '2021-08-24 08:56:35'), (40, 'test', 'test', '<EMAIL>', '123456', NULL, NULL, 0, '2021-08-24 08:56:43', '2021-08-24 08:56:43'), (41, 'test', 'test', '<EMAIL>', '123456', NULL, NULL, 0, '2021-08-24 08:57:29', '2021-08-24 08:57:29'), (42, 'test', 'test', '<EMAIL>', '123456', NULL, NULL, 0, '2021-08-24 08:59:49', '2021-08-24 08:59:49'), (43, 'test', 'test', '<EMAIL>', '123', NULL, NULL, 0, '2021-08-24 09:01:39', '2021-08-24 09:01:39'), (44, 'test', 'test', '<EMAIL>', '123', NULL, NULL, 0, '2021-08-24 09:04:35', '2021-08-24 09:04:35'), (45, 'test', 'test', '<EMAIL>', '123', NULL, NULL, 0, '2021-08-24 09:05:54', '2021-08-24 09:05:54'), (46, 'test', 'test', '<EMAIL>', '123', NULL, NULL, 0, '2021-08-24 09:07:16', '2021-08-24 09:07:16'), (47, 'test', 'test', '<EMAIL>', '123', 0.48, 'ch_3JS2BtLAXRfbOAk51Rsbp3Wc', 0, '2021-08-24 09:09:30', '2021-08-24 09:09:35'), (48, 'test', 'test', '<EMAIL>', '123456', 0.00, 'ch_3JS2JLLAXRfbOAk51ROlcljE', 0, '2021-08-24 09:17:12', '2021-08-24 09:17:31'), (49, 'test', 'test', '<EMAIL>', 'test', 0.24, 'ch_3JS2LzLAXRfbOAk51J7UYjgh', 0, '2021-08-24 09:19:57', '2021-08-24 09:19:58'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `orders_detail` -- DROP TABLE IF EXISTS `orders_detail`; CREATE TABLE IF NOT EXISTS `orders_detail` ( `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, `order_id` bigint(20) UNSIGNED NOT NULL, `product_id` int(11) DEFAULT NULL, `title` text COLLATE utf8mb4_unicode_ci, `quantity` int(11) DEFAULT NULL, `price` double(8,2) DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `orders_detail_order_id_foreign` (`order_id`) ) ENGINE=MyISAM AUTO_INCREMENT=63 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `orders_detail` -- INSERT INTO `orders_detail` (`id`, `order_id`, `product_id`, `title`, `quantity`, `price`, `created_at`, `updated_at`) VALUES (1, 28, 1, '<NAME> (21g)', 6, 0.24, '2021-08-24 07:13:46', '2021-08-24 07:13:46'), (2, 28, 3, 'Caramel Corn (57g)', 5, 0.00, '2021-08-24 07:13:46', '2021-08-24 07:13:46'), (3, 28, 2, 'White Rabbit Creamy Candy (180g)', 5, 0.00, '2021-08-24 07:13:46', '2021-08-24 07:13:46'), (4, 29, 1, '<NAME> (21g)', 6, 0.24, '2021-08-24 07:14:10', '2021-08-24 07:14:10'), (5, 29, 3, 'Caramel Corn (57g)', 5, 0.00, '2021-08-24 07:14:10', '2021-08-24 07:14:10'), (6, 29, 2, 'White Rabbit Creamy Candy (180g)', 5, 0.00, '2021-08-24 07:14:10', '2021-08-24 07:14:10'), (7, 30, 1, '<NAME> (21g)', 6, 0.24, '2021-08-24 07:15:16', '2021-08-24 07:15:16'), (8, 30, 3, 'Caramel Corn (57g)', 5, 0.00, '2021-08-24 07:15:16', '2021-08-24 07:15:16'), (9, 30, 2, 'White Rabbit Creamy Candy (180g)', 5, 0.00, '2021-08-24 07:15:16', '2021-08-24 07:15:16'), (10, 31, 1, '<NAME> (21g)', 6, 0.24, '2021-08-24 07:15:27', '2021-08-24 07:15:27'), (11, 31, 3, 'Caramel Corn (57g)', 5, 0.00, '2021-08-24 07:15:27', '2021-08-24 07:15:27'), (12, 31, 2, 'White Rabbit Creamy Candy (180g)', 5, 0.00, '2021-08-24 07:15:27', '2021-08-24 07:15:27'), (13, 32, 1, '<NAME> (21g)', 6, 0.24, '2021-08-24 07:15:46', '2021-08-24 07:15:46'), (14, 32, 3, 'Caramel Corn (57g)', 5, 0.00, '2021-08-24 07:15:46', '2021-08-24 07:15:46'), (15, 32, 2, 'White Rabbit Creamy Candy (180g)', 5, 0.00, '2021-08-24 07:15:46', '2021-08-24 07:15:46'), (16, 33, 1, '<NAME> (21g)', 6, 0.24, '2021-08-24 07:17:03', '2021-08-24 07:17:03'), (17, 33, 3, 'Caramel Corn (57g)', 5, 0.00, '2021-08-24 07:17:03', '2021-08-24 07:17:03'), (18, 33, 2, 'White Rabbit Creamy Candy (180g)', 5, 0.00, '2021-08-24 07:17:03', '2021-08-24 07:17:03'), (19, 34, 1, '<NAME> (21g)', 6, 0.24, '2021-08-24 07:21:07', '2021-08-24 07:21:07'), (20, 34, 3, 'Caramel Corn (57g)', 5, 0.00, '2021-08-24 07:21:07', '2021-08-24 07:21:07'), (21, 34, 2, 'White Rabbit Creamy Candy (180g)', 5, 0.00, '2021-08-24 07:21:07', '2021-08-24 07:21:07'), (22, 35, 1, '<NAME> (21g)', 6, 0.24, '2021-08-24 07:21:30', '2021-08-24 07:21:30'), (23, 35, 3, 'Caramel Corn (57g)', 5, 0.00, '2021-08-24 07:21:30', '2021-08-24 07:21:30'), (24, 35, 2, 'White Rabbit Creamy Candy (180g)', 5, 0.00, '2021-08-24 07:21:30', '2021-08-24 07:21:30'), (25, 36, 1, '<NAME> (21g)', 6, 0.24, '2021-08-24 07:23:51', '2021-08-24 07:23:51'), (26, 36, 3, 'Caramel Corn (57g)', 5, 0.00, '2021-08-24 07:23:51', '2021-08-24 07:23:51'), (27, 36, 2, 'White Rabbit Creamy Candy (180g)', 5, 0.00, '2021-08-24 07:23:51', '2021-08-24 07:23:51'), (28, 37, 1, '<NAME> (21g)', 6, 0.24, '2021-08-24 07:26:25', '2021-08-24 07:26:25'), (29, 37, 3, 'Caramel Corn (57g)', 5, 0.00, '2021-08-24 07:26:25', '2021-08-24 07:26:25'), (30, 37, 2, 'White Rabbit Creamy Candy (180g)', 5, 0.00, '2021-08-24 07:26:25', '2021-08-24 07:26:25'), (31, 38, 1, '<NAME> (21g)', 2, 0.24, '2021-08-24 08:56:29', '2021-08-24 08:56:29'), (32, 38, 3, 'Caramel Corn (57g)', 3, 0.00, '2021-08-24 08:56:29', '2021-08-24 08:56:29'), (33, 38, 2, 'White Rabbit Creamy Candy (180g)', 4, 0.00, '2021-08-24 08:56:29', '2021-08-24 08:56:29'), (34, 39, 1, '<NAME> (21g)', 2, 0.24, '2021-08-24 08:56:35', '2021-08-24 08:56:35'), (35, 39, 3, 'Caramel Corn (57g)', 3, 0.00, '2021-08-24 08:56:35', '2021-08-24 08:56:35'), (36, 39, 2, 'White Rabbit Creamy Candy (180g)', 4, 0.00, '2021-08-24 08:56:35', '2021-08-24 08:56:35'), (37, 40, 1, '<NAME> (21g)', 2, 0.24, '2021-08-24 08:56:43', '2021-08-24 08:56:43'), (38, 40, 3, 'Caramel Corn (57g)', 3, 0.00, '2021-08-24 08:56:43', '2021-08-24 08:56:43'), (39, 40, 2, 'White Rabbit Creamy Candy (180g)', 4, 0.00, '2021-08-24 08:56:43', '2021-08-24 08:56:43'), (40, 41, 1, '<NAME> (21g)', 2, 0.24, '2021-08-24 08:57:29', '2021-08-24 08:57:29'), (41, 41, 3, 'Caramel Corn (57g)', 3, 0.00, '2021-08-24 08:57:29', '2021-08-24 08:57:29'), (42, 41, 2, 'White Rabbit Creamy Candy (180g)', 4, 0.00, '2021-08-24 08:57:29', '2021-08-24 08:57:29'), (43, 42, 1, '<NAME> (21g)', 2, 0.24, '2021-08-24 08:59:49', '2021-08-24 08:59:49'), (44, 42, 3, 'Caramel Corn (57g)', 3, 0.00, '2021-08-24 08:59:49', '2021-08-24 08:59:49'), (45, 42, 2, 'White Rabbit Creamy Candy (180g)', 4, 0.00, '2021-08-24 08:59:49', '2021-08-24 08:59:49'), (46, 43, 1, '<NAME> (21g)', 2, 0.24, '2021-08-24 09:01:39', '2021-08-24 09:01:39'), (47, 43, 3, 'Caramel Corn (57g)', 3, 0.00, '2021-08-24 09:01:39', '2021-08-24 09:01:39'), (48, 43, 2, 'White Rabbit Creamy Candy (180g)', 4, 0.00, '2021-08-24 09:01:39', '2021-08-24 09:01:39'), (49, 44, 1, '<NAME> (21g)', 2, 0.24, '2021-08-24 09:04:35', '2021-08-24 09:04:35'), (50, 44, 3, 'Caramel Corn (57g)', 3, 0.00, '2021-08-24 09:04:35', '2021-08-24 09:04:35'), (51, 44, 2, 'White Rabbit Creamy Candy (180g)', 4, 0.00, '2021-08-24 09:04:35', '2021-08-24 09:04:35'), (52, 45, 1, '<NAME> (21g)', 2, 0.24, '2021-08-24 09:05:54', '2021-08-24 09:05:54'), (53, 45, 3, 'Caramel Corn (57g)', 3, 0.00, '2021-08-24 09:05:54', '2021-08-24 09:05:54'), (54, 45, 2, 'White Rabbit Creamy Candy (180g)', 4, 0.00, '2021-08-24 09:05:54', '2021-08-24 09:05:54'), (55, 46, 1, '<NAME> (21g)', 2, 0.24, '2021-08-24 09:07:16', '2021-08-24 09:07:16'), (56, 46, 3, 'Caramel Corn (57g)', 3, 0.00, '2021-08-24 09:07:16', '2021-08-24 09:07:16'), (57, 46, 2, 'White Rabbit Creamy Candy (180g)', 4, 0.00, '2021-08-24 09:07:16', '2021-08-24 09:07:16'), (58, 47, 1, '<NAME> (21g)', 2, 0.24, '2021-08-24 09:09:30', '2021-08-24 09:09:30'), (59, 47, 3, 'Caramel Corn (57g)', 3, 0.00, '2021-08-24 09:09:30', '2021-08-24 09:09:30'), (60, 47, 2, 'White Rabbit Creamy Candy (180g)', 4, 0.00, '2021-08-24 09:09:30', '2021-08-24 09:09:30'), (61, 48, 3, 'Caramel Corn (57g)', 1, 0.00, '2021-08-24 09:17:12', '2021-08-24 09:17:12'), (62, 49, 1, '<NAME> (21g)', 1, 0.24, '2021-08-24 09:19:57', '2021-08-24 09:19:57'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `password_resets` -- DROP TABLE IF EXISTS `password_resets`; CREATE TABLE IF NOT EXISTS `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=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `personal_access_tokens` -- DROP TABLE IF EXISTS `personal_access_tokens`; CREATE TABLE IF NOT EXISTS `personal_access_tokens` ( `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, `tokenable_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `tokenable_id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `token` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, `abilities` text COLLATE utf8mb4_unicode_ci, `last_used_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `personal_access_tokens_token_unique` (`token`), KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_id`) ) ENGINE=MyISAM AUTO_INCREMENT=33 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `personal_access_tokens` -- INSERT INTO `personal_access_tokens` (`id`, `tokenable_type`, `tokenable_id`, `name`, `token`, `abilities`, `last_used_at`, `created_at`, `updated_at`) VALUES (32, 'App\\User', 11, 'authToken', '<KEY>', '[\"*\"]', '2021-08-25 08:30:20', '2021-08-25 07:58:33', '2021-08-25 08:30:20'), (27, 'App\\User', 11, 'authToken', '5528<PASSWORD>8c8<PASSWORD>5<PASSWORD>598deac18ba5ac45f33524<PASSWORD>2633a9baf3bcd1<PASSWORD>', '[\"*\"]', NULL, '2021-08-21 00:16:50', '2021-08-21 00:16:50'), (26, 'App\\User', 11, 'authToken', '<PASSWORD>', '[\"*\"]', NULL, '2021-08-21 00:00:34', '2021-08-21 00:00:34'), (25, 'App\\User', 11, 'authToken', '<PASSWORD>', '[\"*\"]', NULL, '2021-08-21 00:00:33', '2021-08-21 00:00:33'), (24, 'App\\User', 11, 'authToken', '<PASSWORD>', '[\"*\"]', NULL, '2021-08-20 11:45:47', '2021-08-20 11:45:47'), (20, 'App\\User', 11, 'authToken', 'bdb<PASSWORD>', '[\"*\"]', '2021-08-10 01:47:49', '2021-08-10 01:33:35', '2021-08-10 01:47:49'), (19, 'App\\User', 11, 'authToken', '<PASSWORD>', '[\"*\"]', '2021-08-10 01:15:45', '2021-08-10 01:15:39', '2021-08-10 01:15:45'), (17, 'App\\User', 11, 'authToken', '<PASSWORD>', '[\"*\"]', '2021-08-09 08:03:28', '2021-08-09 07:37:15', '2021-08-09 08:03:28'), (18, 'App\\User', 11, 'authToken', '<PASSWORD>', '[\"*\"]', '2021-08-22 23:25:01', '2021-08-09 08:27:07', '2021-08-22 23:25:01'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `posts` -- DROP TABLE IF EXISTS `posts`; CREATE TABLE IF NOT EXISTS `posts` ( `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, `title` text COLLATE utf8mb4_unicode_ci, `description` text COLLATE utf8mb4_unicode_ci, `content` text COLLATE utf8mb4_unicode_ci, `thumbnail` text COLLATE utf8mb4_unicode_ci, `url` text COLLATE utf8mb4_unicode_ci, `title_seo` text COLLATE utf8mb4_unicode_ci, `keyword_seo` text COLLATE utf8mb4_unicode_ci, `description_seo` text COLLATE utf8mb4_unicode_ci, `h1_seo` text COLLATE utf8mb4_unicode_ci, `h2_seo` text COLLATE utf8mb4_unicode_ci, `h3_seo` text COLLATE utf8mb4_unicode_ci, `status` int(11) DEFAULT '0', `category_id` int(11) DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `posts` -- INSERT INTO `posts` (`id`, `title`, `description`, `content`, `thumbnail`, `url`, `title_seo`, `keyword_seo`, `description_seo`, `h1_seo`, `h2_seo`, `h3_seo`, `status`, `category_id`, `created_at`, `updated_at`) VALUES (1, 'August coupon up to 70%', 'test', '<p>test</p>', 'upload/gift.png', 'august-coupon-up-to-70', 'test', 'test', 'test', 'test', 'test', 'test', 1, NULL, '2021-08-25 08:10:52', '2021-08-25 08:30:19'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `products` -- DROP TABLE IF EXISTS `products`; CREATE TABLE IF NOT EXISTS `products` ( `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, `title` text COLLATE utf8mb4_unicode_ci, `description` text COLLATE utf8mb4_unicode_ci, `content` text COLLATE utf8mb4_unicode_ci, `thumbnail` text COLLATE utf8mb4_unicode_ci, `url` text COLLATE utf8mb4_unicode_ci, `title_seo` text COLLATE utf8mb4_unicode_ci, `keyword_seo` text COLLATE utf8mb4_unicode_ci, `description_seo` text COLLATE utf8mb4_unicode_ci, `h1_seo` text COLLATE utf8mb4_unicode_ci, `h2_seo` text COLLATE utf8mb4_unicode_ci, `h3_seo` text COLLATE utf8mb4_unicode_ci, `status` int(11) NOT NULL DEFAULT '1', `popular_1` int(11) NOT NULL DEFAULT '0', `popular_2` int(11) NOT NULL DEFAULT '0', `popular_3` int(11) NOT NULL DEFAULT '0', `images` text COLLATE utf8mb4_unicode_ci, `category_id_1` int(11) DEFAULT NULL, `category_id_2` int(11) DEFAULT NULL, `category_id_3` int(11) DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `price` double(8,2) DEFAULT '0.00', `price_sale` double(8,2) DEFAULT '0.00', PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `products` -- INSERT INTO `products` (`id`, `title`, `description`, `content`, `thumbnail`, `url`, `title_seo`, `keyword_seo`, `description_seo`, `h1_seo`, `h2_seo`, `h3_seo`, `status`, `popular_1`, `popular_2`, `popular_3`, `images`, `category_id_1`, `category_id_2`, `category_id_3`, `created_at`, `updated_at`, `price`, `price_sale`) VALUES (1, '<NAME> (21g)', 'Wild-caught Hawaiian tuna is marinated in teriyaki seasoning, then dried to make this savory treat. A fishy twist on an American classic.', '<p>test</p>', 'upload/products/KAIMANA-TERIYAKI-01_600x600.png', 'ahi-tuna-jerky-21g', 'test', 'test', 'test', 'test', 'test', 'test', 1, 0, 0, 0, '[\"upload/products/WhiteRabbit-min.png\",\"upload/products/ISLAND-PRINCESS-CARAMEL-CORN-01_600x600.png\"]', 4, NULL, 18, '2021-08-14 22:31:33', '2021-08-21 22:32:49', 0.25, 0.24), (3, 'Caramel Corn (57g)', 'Sweet and crunchy caramel corn mixed with decadent chocolate covered popcorn bites. A sweet combination that will make your mouth water.', '<p>test</p>', 'upload/products/ISLAND-PRINCESS-CARAMEL-CORN-01_600x600.png', 'caramel-corn-57g', 'test', 'test', 'test', 'test', 'test', 'test', 1, 0, 0, 0, '[]', 4, NULL, 18, '2021-08-16 20:49:56', '2021-08-18 01:37:37', 0.00, 0.00), (2, 'White Rabbit Creamy Candy (180g)', 'Light and sweet milk chews made with whole milk powder. The inner wrapper is made of edible rice paper.', '<p>test</p>', 'upload/products/WhiteRabbit-min.png', 'white-rabbit-creamy-candy-180g', 'test', 'test', 'test', 'test', 'test', 'test', 1, 0, 0, 0, '[]', 4, NULL, 18, '2021-08-14 23:11:19', '2021-08-18 01:37:44', 0.00, 0.00); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `ui` -- DROP TABLE IF EXISTS `ui`; CREATE TABLE IF NOT EXISTS `ui` ( `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `value` text COLLATE utf8mb4_unicode_ci, `type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `layout` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=55 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `ui` -- INSERT INTO `ui` (`id`, `name`, `value`, `type`, `created_at`, `updated_at`, `layout`) VALUES (54, 'logo', '{\"url\":\"\",\"value\":\"upload/logo/My_Post.png\"}', 'image', '2021-08-20 10:37:00', '2021-08-20 10:37:00', 'page'), (34, 'website', '[{\"id\":1,\"title\":\"B.A STORE\",\"description\":\"test\",\"content\":\"<p>TEST</p>\",\"thumbnail\":\"upload/products/congnghedanhbong.com/congnghedanhbong_com.png\",\"url\":null,\"title_seo\":\"test\",\"keyword_seo\":\"test\",\"description_seo\":\"test\",\"h1_seo\":\"test\",\"h2_seo\":\"test\",\"h3_seo\":\"test\",\"created_at\":\"2021-08-11 15:29:50\",\"updated_at\":\"2021-08-16 15:35:39\",\"status\":1,\"type\":\"page\",\"images\":\"[]\"}]', 'position', '2021-08-15 21:19:46', '2021-08-20 10:37:00', 'page'), (35, 'contact', '[{\"id\":2,\"title\":\"Contact\",\"description\":\"test\",\"content\":\"<p>test 123</p>\",\"thumbnail\":\"upload/1z0m_1494825650995.jpg\",\"url\":null,\"title_seo\":\"test\",\"keyword_seo\":\"test\",\"description_seo\":\"test\",\"h1_seo\":\"test\",\"h2_seo\":\"test\",\"h3_seo\":\"test\",\"created_at\":\"2021-08-11 15:30:21\",\"updated_at\":\"2021-08-16 04:17:06\",\"status\":1,\"type\":\"page\",\"images\":\"\\\"\\\"\"}]', 'position', '2021-08-15 21:19:46', '2021-08-20 10:37:00', 'page'), (39, 'fav_icon', '{\"url\":\"\",\"value\":\"upload/logo/My_Post.png\"}', 'image', '2021-08-16 01:35:26', '2021-08-20 10:37:00', 'page'), (53, 'copyright1', '{\"url\":\"\",\"value\":\"123\"}', 'text', '2021-08-19 23:31:21', '2021-08-23 08:48:34', 'default'), (28, 'sort', '[{\"id\":5,\"title\":\"Spain\",\"description\":\"Olé! Bienvenido a España! This SnackCrate comes from the home of the running of the bulls. Unique flavors abound with selections ranging from Chupa Chups, Fried Egg Chips, and Spicy Mangoes!\",\"content\":\"<p>123</p>\",\"thumbnail\":\"upload/category/SC_Crate_Spain_Premium_Drink_041619.png\",\"url\":\"contact-coppy\",\"title_seo\":\"test\",\"keyword_seo\":\"test\",\"description_seo\":\"test\",\"h1_seo\":\"test\",\"h2_seo\":\"test\",\"h3_seo\":\"test\",\"created_at\":\"2021-08-16 16:03:27\",\"updated_at\":\"2021-08-17 15:42:24\",\"status\":1,\"type\":\"product\",\"images\":\"[]\",\"background\":\"rgb(103, 72, 216)\"},{\"id\":4,\"title\":\"Hawaii\",\"description\":\"Aloha! This tropical SnackCrate features the snacks of the 50th state. Flavors such as Kona Coffee, Pineapple, and Li Hing Mui abound as well as snacks influenced by Japan, China and the Pacific Islands.\",\"content\":\"<p>123</p>\",\"thumbnail\":\"upload/category/SC_Crate_Hawaii_Premium_Drink_010919_600x600-2.png\",\"url\":\"hawaii\",\"title_seo\":\"test\",\"keyword_seo\":\"test\",\"description_seo\":\"test\",\"h1_seo\":\"test\",\"h2_seo\":\"test\",\"h3_seo\":\"test\",\"created_at\":\"2021-08-16 15:42:55\",\"updated_at\":\"2021-08-17 16:01:40\",\"status\":1,\"type\":\"product\",\"images\":\"[]\",\"background\":\"#ffb412\"}]', 'position', '2021-08-14 06:36:27', '2021-08-23 08:48:32', 'default'), (29, 'image', '{\"url\":\"\",\"value\":\"\"}', 'image', '2021-08-14 06:36:28', '2021-08-16 08:58:37', 'default'), (30, 'title', '{\"url\":\"\",\"value\":\"\"}', 'text', '2021-08-14 06:36:28', '2021-08-16 08:58:37', 'default'), (31, 'textarea', '{\"url\":\"\",\"value\":\"\"}', 'textarea', '2021-08-14 06:36:28', '2021-08-16 08:58:37', 'default'), (32, 'editor', '{\"url\":\"\",\"value\":\"\"}', 'editor', '2021-08-14 06:36:28', '2021-08-16 08:58:37', 'default'), (40, 'popular', '[{\"id\":5,\"title\":\"Spain\",\"description\":\"Olé! Bienvenido a España! This SnackCrate comes from the home of the running of the bulls. Unique flavors abound with selections ranging from Chupa Chups, Fried Egg Chips, and Spicy Mangoes!\",\"content\":\"<p>123</p>\",\"thumbnail\":\"upload/category/SC_Crate_Spain_Premium_Drink_041619.png\",\"url\":\"contact-coppy\",\"title_seo\":\"test\",\"keyword_seo\":\"test\",\"description_seo\":\"test\",\"h1_seo\":\"test\",\"h2_seo\":\"test\",\"h3_seo\":\"test\",\"created_at\":\"2021-08-16 16:03:27\",\"updated_at\":\"2021-08-17 15:42:24\",\"status\":1,\"type\":\"product\",\"images\":\"[]\",\"background\":\"rgb(103, 72, 216)\"},{\"id\":4,\"title\":\"Hawaii\",\"description\":\"Aloha! This tropical SnackCrate features the snacks of the 50th state. Flavors such as Kona Coffee, Pineapple, and Li Hing Mui abound as well as snacks influenced by Japan, China and the Pacific Islands.\",\"content\":\"<p>123</p>\",\"thumbnail\":\"upload/category/SC_Crate_Hawaii_Premium_Drink_010919_600x600-2.png\",\"url\":\"hawaii\",\"title_seo\":\"test\",\"keyword_seo\":\"test\",\"description_seo\":\"test\",\"h1_seo\":\"test\",\"h2_seo\":\"test\",\"h3_seo\":\"test\",\"created_at\":\"2021-08-16 15:42:55\",\"updated_at\":\"2021-08-17 16:01:40\",\"status\":1,\"type\":\"product\",\"images\":\"[]\",\"background\":\"#ffb412\"}]', 'position', '2021-08-16 09:09:10', '2021-08-23 08:48:32', 'default'), (41, 'address_footer', '{\"url\":\"\",\"value\":\"Address: Nguyen Kiem street, Phu Nhuan dictrict, HCM city\"}', 'text', '2021-08-19 22:49:09', '2021-08-23 08:48:32', 'default'), (42, 'facebook', '{\"url\":\"\",\"value\":\"https://www.facebook.com/pharmacyfull10\"}', 'text', '2021-08-19 22:53:08', '2021-08-23 08:48:32', 'default'), (43, 'instagram', '{\"url\":\"\",\"value\":\"https://www.facebook.com/pharmacyfull10\"}', 'text', '2021-08-19 22:53:08', '2021-08-23 08:48:33', 'default'), (44, 'linkedin', '{\"url\":\"\",\"value\":\"https://www.facebook.com/pharmacyfull10\"}', 'text', '2021-08-19 22:53:09', '2021-08-23 08:48:33', 'default'), (38, 'slider', '[{\"thumbnail\":\"upload/sliders/ShopHeader_GummiesGalore_NoType_021319-1.png\",\"heading\":{\"url\":\"https://www.snackcrate.com/product-tag/gummies/\",\"color\":\"rgb(103, 72, 216)\",\"title\":\"Gummies\",\"description\":\"It looks like Haribo and Friends are having a party, and you’re invited! If you’re dedicated to all things nummy and gummy, this is the box for you!\"}},{\"thumbnail\":\"upload/sliders/shopheader_bogo.png\",\"heading\":{\"title\":\"Buy One Get One\",\"description\":\"Delicious deals from ever corner of the globe!\",\"url\":\"https://www.snackcrate.com/product-tag/bogo/\",\"color\":\"rgb(125, 44, 139)\"}},{\"thumbnail\":\"upload/sliders/ShopHeader_Cadbury_011619.png\",\"heading\":{\"title\":\"Cadbury\",\"description\":\"Explore the wonderful creations of Britain’s infamous chocolatier.\",\"url\":\"https://www.snackcrate.com/product-tag/cadbury/\",\"color\":\"rgb(80, 0, 165)\"}},{\"thumbnail\":\"upload/sliders/ShopHeader_CookiesandCakes_021319.png\",\"heading\":{\"title\":\"Cookies and Cakes ?\",\"description\":\"Ditch the oven for your pastry-lovin’; from our pantry to yours, a selection of baked delights that’re completely out-of-sight!\",\"color\":\"rgb(139, 57, 29)\",\"url\":\"https://www.snackcrate.com/product-tag/cookies-and-cakes/\"}}]', 'images', '2021-08-15 23:04:17', '2021-08-20 10:37:00', 'page'), (49, 'copyright', '{\"url\":\"\",\"value\":\"Copyright 2021 All Rights Reserved B.A STORE \"}', 'text', '2021-08-19 23:23:13', '2021-08-23 08:48:33', 'default'), (46, 'messenger', '{\"url\":\"\",\"value\":\"https://www.facebook.com/pharmacyfull10\"}', 'text', '2021-08-19 22:53:09', '2021-08-23 08:48:33', 'default'), (48, 'whatsapp', '{\"url\":\"\",\"value\":\"https://www.facebook.com/pharmacyfull10\"}', 'text', '2021-08-19 23:08:17', '2021-08-23 08:48:33', 'default'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `users` -- DROP TABLE IF EXISTS `users`; CREATE TABLE IF NOT EXISTS `users` ( `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, `fullname` text COLLATE utf8mb4_unicode_ci, `gender` text COLLATE utf8mb4_unicode_ci, `birthday` text COLLATE utf8mb4_unicode_ci, `address` text COLLATE utf8mb4_unicode_ci, `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `email_verified_at` timestamp NULL DEFAULT NULL, `password` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `role` enum('admin','user') COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `users_email_unique` (`email`) ) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `users` -- INSERT INTO `users` (`id`, `fullname`, `gender`, `birthday`, `address`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`, `role`) VALUES (11, '<NAME>', '1', NULL, 'Test', '<EMAIL>', NULL, '$2y$10$qQTIBq.9CB7BNGsE9GCGV.fuQctYsuf9zFQ6XnPr0uleIuIJs03lS', NULL, '2021-08-09 00:31:20', '2021-08-09 00:31:20', 'admin'), (12, 'asd', '1', NULL, 'asd', '<EMAIL>', NULL, '$2y$10$cBUSSM7VQriZLWzniHWfIuz1ylTPXOtr43X72wmBt0V52E3NVfyu.', NULL, '2021-08-09 00:53:35', '2021-08-09 00:53:35', 'user'); 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>Shtereva/CSharp-DB-Fundametals<gh_stars>0 SELECT tem.ProductName, tem.ProductAverageRate, tem.DistributorName, tem.DistributorCountry FROM (SELECT p.Name AS [ProductName], AVG(f.Rate) AS [ProductAverageRate], d.Name AS [DistributorName], co.Name AS [DistributorCountry], COUNT(d.Name) OVER (PARTITION BY p.Name ORDER BY p.Name ) AS [CountDistr], p.Id AS [ProductId] FROM Products AS p JOIN ProductsIngredients AS [pi] ON p.Id = [pi].ProductId JOIN Ingredients AS i ON [pi].IngredientId = i.Id JOIN Distributors AS d ON i.DistributorId = d.Id JOIN Countries AS co ON d.CountryId = co.Id JOIN Feedbacks AS f ON p.Id = f.ProductId GROUP BY p.Name, d.Name, co.Name, p.Id) AS tem WHERE tem.CountDistr = 1 ORDER BY tem.ProductId
-- phpMyAdmin SQL Dump -- version 4.9.0.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Feb 19, 2021 at 01:36 PM -- Server version: 10.3.16-MariaDB -- PHP Version: 7.3.7 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: `supermarket_cupcup` -- -- -------------------------------------------------------- -- -- Table structure for table `barang` -- CREATE TABLE `barang` ( `id_barang` int(11) NOT NULL, `nama` varchar(100) DEFAULT NULL, `id_kategori` int(11) DEFAULT NULL, `id_satuan` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `kategori` -- CREATE TABLE `kategori` ( `id_kategori` int(11) NOT NULL, `nama` varchar(100) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `pelanggan` -- CREATE TABLE `pelanggan` ( `id_pelanggan` int(11) NOT NULL, `nama_pelanggan` char(20) DEFAULT NULL, `no_tlp` varchar(14) DEFAULT NULL, `status` char(10) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `satuan` -- CREATE TABLE `satuan` ( `id_satuan` int(11) NOT NULL, `nama` varchar(100) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `transaksi` -- CREATE TABLE `transaksi` ( `id_transaksi` int(11) NOT NULL, `nama_transaksi` varchar(100) DEFAULT NULL, `tgrl_transaksi` date DEFAULT NULL, `harga` int(11) DEFAULT NULL, `qty` int(11) DEFAULT NULL, `diskon` int(11) DEFAULT NULL, `id_pelanggan` int(11) DEFAULT NULL, `id_barang` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Indexes for dumped tables -- -- -- Indexes for table `barang` -- ALTER TABLE `barang` ADD PRIMARY KEY (`id_barang`), ADD KEY `id_kategori` (`id_kategori`), ADD KEY `id_satuan` (`id_satuan`); -- -- Indexes for table `kategori` -- ALTER TABLE `kategori` ADD PRIMARY KEY (`id_kategori`); -- -- Indexes for table `pelanggan` -- ALTER TABLE `pelanggan` ADD PRIMARY KEY (`id_pelanggan`); -- -- Indexes for table `satuan` -- ALTER TABLE `satuan` ADD PRIMARY KEY (`id_satuan`); -- -- Indexes for table `transaksi` -- ALTER TABLE `transaksi` ADD PRIMARY KEY (`id_transaksi`), ADD KEY `id_pelanggan` (`id_pelanggan`), ADD KEY `id_barang` (`id_barang`); -- -- Constraints for dumped tables -- -- -- Constraints for table `barang` -- ALTER TABLE `barang` ADD CONSTRAINT `id_kategori` FOREIGN KEY (`id_kategori`) REFERENCES `kategori` (`id_kategori`), ADD CONSTRAINT `id_satuan` FOREIGN KEY (`id_satuan`) REFERENCES `satuan` (`id_satuan`); -- -- Constraints for table `transaksi` -- ALTER TABLE `transaksi` ADD CONSTRAINT `id_barang` FOREIGN KEY (`id_barang`) REFERENCES `barang` (`id_barang`), ADD CONSTRAINT `id_pelanggan` FOREIGN KEY (`id_pelanggan`) REFERENCES `pelanggan` (`id_pelanggan`); 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>banco_sql_loja_seu_jose.sql create database loja_de_pecas; use loja_de_pecas; create table pecas ( codigo_de_barras bigint primary key, nome varchar(45) not null, modelo_do_carro varchar(50) not null , fabricante varchar (50) not null, preco_de_custo decimal (8,2) not null, preco_de_venda decimal (8,2) not null, quantidade_em_estoque int not null, categoria varchar (50) not null ); insert into pecas values (111, '<NAME>', 'Gol', 'Bosch', 48.34, 62.90, 30, 'MOTOR'), (222, 'Multimidea', 'Onix', 'Multilaser', 1178.34, 1559.90, 12, 'ACESSORIOS'), (333, 'Para-Choque', 'Fusca', 'Cupim de Aço', 175.53, 229.90, 13, 'FUNILARIA'), (444, 'Kit Turbo', 'Hillux SW4', 'Original', 2335.93, 3039.90, 18, 'PERFORMACE'), (555, 'Bateria', 'Ka', 'Moura', 177.94, 229.90, 70, 'MOTOR'); use loja_de_pecas; select* from pecas;
<reponame>URAmiRBin/steamdb -- ranks top selling games according to how many time people have bought a game SELECT game_id, RANK ( ) OVER ( ORDER BY COUNT(game_id) DESC ) top_selling FROM user_games GROUP BY game_id;
-- mysql -h localhost -u root -p -- creando base de datos create database sistema_riego -- accediendo a base de datos use sistema_riego -- CREANDO TABLAS DE REGISTRO CREATE TABLE roles ( id_rol integer NOT NULL, desc_rol varchar (32) NOT NULL, PRIMARY KEY(id_rol) ) ENGINE=INNODB; insert into roles values(1,'ADMINISTRADOR'); insert into roles values(2,'VISITANTE'); -- -------------------------------------------------------------------------------------------------------- CREATE TABLE usuarios ( id_user integer NOT NULL, nombres varchar(64) NOT NULL, apellidos varchar(64) NOT NULL, telefono varchar(64) NOT NULL, login varchar(64) NOT NULL, password varchar(64) NOT NULL, id_rol integer NOT NULL, estado integer default 1, INDEX (id_rol), FOREIGN KEY (id_rol) REFERENCES roles(id_rol), PRIMARY KEY (id_user) ) ENGINE=INNODB; insert into usuarios values(1,'<NAME>','MALDONADO','9621900297','juanro','<PASSWORD>1',1,default); insert into usuarios values(2,'JARBIN','BARRIOS','96454169841','jarbin','riego2',2,default); insert into usuarios values(3,'DENISSE','LOPEZ','96563164588','denue2','riego3',2,default); -- ------------------------------------------------------------------------------------------------------- CREATE TABLE menus ( idmenu integer NOT NULL, nombre varchar (32) NOT NULL, link varchar (512) NOT NULL, PRIMARY KEY(idmenu) ) ENGINE=INNODB; insert into menus values (1,'UBICACION','mantenimiento/ubicacion'); insert into menus values (2,'CULTIVO','mantenimiento/cultivo'); insert into menus values (3,'SUELO','mantenimiento/suelo'); insert into menus values (4,'COMPUESTO','mantenimiento/compuesto'); insert into menus values (5,'ZONA','mantenimiento/zona'); insert into menus values (6,'LECTURAS','mantenimiento/registros'); insert into menus values (7,'OBSERVACION','mantenimiento/observacion'); insert into menus values (8,'USUARIOS','mantenimiento/Usuario'); insert into menus values (9,'PERMISOS','user/permisos'); -- ------------------------------------------------------------------------------------------------------- CREATE TABLE permisos ( idpermiso integer NOT NULL, idmenu integer, id_rol integer, reader integer, inserter integer, updater integer, deleter integer, INDEX (idmenu), FOREIGN KEY (idmenu) REFERENCES menus(idmenu), INDEX (id_rol), FOREIGN KEY (id_rol) REFERENCES roles(id_rol), PRIMARY KEY (idpermiso) ) ENGINE=INNODB; insert into permisos values(1,1,1,1,1,1,1); insert into permisos values(2,2,1,1,1,1,1); insert into permisos values(3,3,1,1,1,1,1); insert into permisos values(4,4,1,1,1,1,1); insert into permisos values(5,5,1,1,1,1,1); insert into permisos values(6,6,1,1,1,1,1); insert into permisos values(7,7,1,1,1,1,1); insert into permisos values(8,8,1,1,1,1,1); insert into permisos values(9,9,1,1,1,1,1); -- -------------------------------------------------------------------------------------------------------- CREATE TABLE ubicacion ( id_ubi integer NOT NULL, desc_ubi varchar (32) NOT NULL, tipo_zona varchar (32) NOT NULL, estado integer default 1, PRIMARY KEY(id_ubi) ) ENGINE=INNODB; insert into ubicacion values(1,'AZOTEA 1','VEGETALES',default); insert into ubicacion values(2,'AZOTEA 2','FRUTAS',default); -- -------------------------------------------------------------------------------------------------------- CREATE TABLE cultivo ( id_cultivo integer NOT NULL, desc_cultivo varchar (32) NOT NULL, duracion varchar (32) NOT NULL, estado integer default 1, PRIMARY KEY(id_cultivo) ) ENGINE=INNODB; insert into cultivo values(1,'TOMATE','3 MESES',default); insert into cultivo values(2,'FRESA','4 MESES',default); -- -------------------------------------------------------------------------------------------------------- CREATE TABLE suelo ( -- % de contenido id_suelo integer NOT NULL, densidad integer NOT NULL, materia_org integer NOT NULL, arcilla integer NOT NULL, arena integer NOT NULL, limo integer NOT NULL, estado integer default 1, desc_suelo varchar(32) NOT NULL, PRIMARY KEY(id_suelo) ) ENGINE=INNODB; insert into suelo values(1,30,45,20,10,15,default,'TIERRA NEGRA'); insert into suelo values(2,50,35,60,20,20,default,'COMPOSTA'); -- -------------------------------------------------------------------------------------------------------- CREATE TABLE compuesto ( -- nutrientes del agua id_comp integer NOT NULL, nom_comp varchar (64) NOT NULL, react1 varchar (64) NULL, react2 varchar (64) NULL, react3 varchar (64) NULL, react4 varchar (64) NULL, react5 varchar (64) NULL, estado integer default 1, PRIMARY KEY(id_comp) ) ENGINE=INNODB; insert into compuesto values(1,'NUTRIENTE 1','CLORO','CALCIO','POTASIO','','',default); insert into compuesto values(2,'NUTRIENTE 2','SODIO','LITIO','COBRE','','',default); -- -------------------------------------------------------------------------------------------------------- CREATE TABLE zona ( id_zona integer NOT NULL, nom_zona varchar (32) NOT NULL, id_ubi integer NOT NULL, id_cultivo integer NOT NULL, id_suelo integer NOT NULL, id_comp integer NOT NULL, fec_inicio date NOT NULL, fec_cosecha date NULL, estado integer default 1, INDEX (id_ubi), FOREIGN KEY (id_ubi) REFERENCES ubicacion(id_ubi), INDEX (id_cultivo), FOREIGN KEY (id_cultivo) REFERENCES cultivo(id_cultivo), INDEX (id_suelo), FOREIGN KEY (id_suelo) REFERENCES suelo(id_suelo), INDEX (id_comp), FOREIGN KEY (id_comp) REFERENCES compuesto(id_comp), PRIMARY KEY(id_zona,id_ubi) ) ENGINE=INNODB; insert into zona values(1,'ZONA ALTA',1,1,1,1,'2020-01-14','',default); insert into zona values(2,'ZONA BAJA',2,2,2,2,'2020-01-14','',default); select z.id_zona,z.nom_zona,u.desc_ubi,c.desc_cultivo,s.desc_suelo,k.nom_comp,z.fec_inicio,z.fec_cosecha from zona z inner join ubicacion u on z.id_ubi = u.id_ubi inner join cultivo c on z.id_cultivo = c.id_cultivo inner join suelo s on z.id_suelo = s.id_suelo inner join compuesto k on z.id_comp = k.id_comp where z.estado = 1; -- -------------------------------------------------------------------------------------------------------- CREATE TABLE registros ( id_reg integer NOT NULL, id_zona integer NOT NULL, id_ubi integer NOT NULL, cultivo varchar(32) NOT NULL,-- fechahora timestamp(0) default current_timestamp(0), temp_amb numeric(9,2) NULL, hume_amb numeric(9,2) NULL, iluminacion numeric(9,2) NULL, temp_suelo numeric(9,2) NULL, hume_suelo numeric(9,2) NULL, ph numeric(9,2) NULL, co2 numeric(9,2) NULL, -- humedad numeric(9,2) NULL, INDEX (id_zona,id_ubi), FOREIGN KEY (id_zona,id_ubi) REFERENCES zona(id_zona,id_ubi), PRIMARY KEY(id_reg) ) ENGINE=INNODB; insert into registros values(1,2,2,(select c.desc_cultivo as cultivo from cultivo c inner join zona z where c.id_cultivo = z.id_cultivo and z.id_zona = 2 and z.id_ubi = 2),default,25,70,55,22,80,4,16); select r.*,z.nom_zona,u.desc_ubi,date(r.fechahora) as fecha from registros r inner join zona z on r.id_zona = z.id_zona inner join ubicacion u on r.id_ubi = u.id_ubi; -- -------------------------------------------------------------------------------------------------------- CREATE TABLE observacion ( id_obs integer NOT NULL, id_zona integer NOT NULL, id_ubi integer NOT NULL, desc_obs varchar (32) NOT NULL, cultivo varchar(32) NOT NULL,-- foto_zona varchar (64) NOT NULL, usuario varchar(64) NOT NULL, -- NOMBRE DE USUARIO fec_obs timestamp(0) default current_timestamp(0), INDEX (id_zona,id_ubi), FOREIGN KEY (id_zona,id_ubi) REFERENCES zona(id_zona,id_ubi), PRIMARY KEY(id_obs) ) ENGINE=INNODB; insert into observacion values(1,2,2,'LA TEMPERATURA AUMENTA',(select c.desc_cultivo as cultivo from cultivo c inner join zona z where c.id_cultivo = z.id_cultivo and z.id_zona = 2 and z.id_ubi = 2),'image1.jpg','JU<NAME>',default); select o.*,z.nom_zona,u.desc_ubi,date(o.fec_obs) as fecha,time(o.fec_obs) as hora from observacion o inner join zona z on o.id_zona = z.id_zona inner join ubicacion u on o.id_ubi = u.id_ubi; -- --------------------------------------------------------------------------------------------------------
use tier_0; select 'Generating start groups' AS ''; CREATE TEMPORARY TABLE start_groups (select id from meetup_groups where country_name="United Kingdom" and category_id=34); select 'Generating start events' AS ''; CREATE TEMPORARY TABLE start_events (select distinct(event_id) from meetup_groups_events where group_id in (select id from start_groups)); select 'Generating start members' AS ''; CREATE TEMPORARY TABLE start_members (select distinct(member_id) from meetup_events_members where event_id in (select event_id from start_events)); select 'Generating expanded groups' AS ''; CREATE TEMPORARY TABLE expanded_groups (select distinct(group_id) from meetup_groups_members where member_id in (select member_id from start_members)); select 'Generating expanded events' AS ''; CREATE TEMPORARY TABLE expanded_events (select distinct(event_id) from meetup_groups_events where group_id in (select group_id from expanded_groups)); -- Count base number of groups select 'Base number of groups with initial category and country' AS ''; select count(*) from start_groups; -- Count number of groups with an event select 'Base number groups with events' AS ''; select count(distinct(group_id)) from meetup_groups_events where group_id in (select id from start_groups); -- Count group event pairs select 'Base number groups-event pairs' AS ''; select count(*) from start_events; -- Count number of events with a member select 'Base number of events with any member' AS ''; select count(distinct(event_id)) from meetup_events_members where event_id in (select event_id from start_events); -- Count number of event member pairs select 'Base number of events-member pairs' AS ''; select count(*) from meetup_events_members where event_id in (select event_id from start_events); -- Count unique members attending events select 'Base number of unique members at events' AS ''; select count(*) from start_members; -- Count member group pairs select 'Expanded number of members-group pairs' AS ''; select count(*) from meetup_groups_members where member_id in (select member_id from start_members); -- Count expanded number of groups select 'Expanded number of groups' AS ''; select count(group_id) from expanded_groups; -- Count expanded number of groups with events select 'Expanded number of groups with events' AS ''; select count(distinct(group_id)) from meetup_groups_events where group_id in (select group_id from expanded_groups); select distinct(group_id) from meetup_groups_events where group_id in (select group_id from expanded_groups) limit 10; -- Count expanded number of events select 'Expanded number of events' AS ''; select count(event_id) from expanded_events; -- -- select 'Expanded number of unique members-events' AS ''; -- Summary select 'Expanded number of groups with info also collected' AS ''; select count(id) from meetup_groups where id in (select group_id from expanded_groups); -- Tidy up DROP TEMPORARY TABLE start_groups; DROP TEMPORARY TABLE start_events; DROP TEMPORARY TABLE start_members; DROP TEMPORARY TABLE expanded_groups; DROP TEMPORARY TABLE expanded_events;
-- -- Volcado de datos para la tabla `modelos` -- INSERT INTO `marcas` (`name`) VALUES ('Dahua'), ('DELL'), ('EPSON'), ('EZ-IP'), ('G-FAST'), ('Genérica'), ('Genius'), ('Grandstream'), ('Hitachi'), ('HP'), ('Lanier'), ('Lenovo'), ('LG'), ('Logitech'), ('Sagecom'), ('Samsung'), ('Seisa'), ('TCL'), ('TP-LINK'), ('TP-LINK'), ('Ubiquiti'), ('Zebra');
IF $(OneTimeLoad) = 1 BEGIN DECLARE @Video TABLE ( VideoKey INT NOT NULL PRIMARY KEY, SectionKey INT NOT NULL, VideoServiceKey INT NOT NULL, VideoServiceVideoId VARCHAR(11) NULL, Url NVARCHAR(500) NULL, StartTime TIME(7) NULL, CreatedByUserKey INT NOT NULL, CreatedDate DATETIME2(7) NOT NULL, ModifiedByUserKey INT NULL, ModifiedDate DATETIME2(7) NOT NULL, Author NVARCHAR(250) NULL, Description NVARCHAR(250) NULL ); INSERT INTO @Video ( VideoKey, SectionKey, VideoServiceKey, VideoServiceVideoId, Url, StartTime, CreatedByUserKey, CreatedDate, ModifiedByUserKey, ModifiedDate, Author, Description ) VALUES (1540, 3002, 1, 'gYtFG9cOFP4', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1541, 3002, 1, '2q6PsHrGEDc', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1542, 3002, 1, '4lDIDRHzXbo', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1543, 3002, 1, 'nYNy_drriXs', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1544, 3002, 1, 'qZokVz7AvBw', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1545, 3002, 1, 'QAVHT1TL24s', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1546, 3002, 1, 'WERRCNYBQt8', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1547, 3002, 1, 'Mr3H2Zynesc', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1548, 3002, 1, 'mWZbu4om1oE', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1549, 3003, 1, 'oZFEUM5fdgU', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1550, 3003, 1, 'gYtFG9cOFP4', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1551, 3003, 1, '2q6PsHrGEDc', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1552, 3003, 1, 'PEyqU0m-wNM', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1553, 3003, 1, 'Mr3H2Zynesc', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1554, 3003, 1, 'eL_yyowVokE', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1555, 3003, 1, 'jbJww6Lgh7A', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1556, 3003, 1, 'IR6rtxfR7NU', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1557, 3004, 1, '-C7K36ejCe4', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1558, 3004, 1, 'mz_aDZGdCok', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1559, 3004, 1, 'nYNy_drriXs', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1560, 3004, 1, 'uZGl2Q6wJno', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1561, 3004, 1, '8RQqAQ5BKek', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1562, 3004, 1, '6fZH2GgHZDs', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1563, 3005, 1, '-C7K36ejCe4', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1564, 3005, 1, 'oZFEUM5fdgU', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1565, 3005, 1, '50n4uXOAdIc', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1566, 3005, 1, '6fZH2GgHZDs', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1567, 3005, 1, 'mWOYOSoURW8', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1568, 3005, 1, 'pD0SpnTBKgo', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1569, 3006, 1, 'FTORIBx9t6g', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1570, 3006, 1, 'nYNy_drriXs', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1571, 3006, 1, 'qWYc6KXP0mM', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1572, 3006, 1, 'QNVojNVs2XE', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1573, 3007, 1, 'FTORIBx9t6g', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1574, 3007, 1, 'oZFEUM5fdgU', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1575, 3007, 1, 'QNVojNVs2XE', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1576, 3008, 1, 'z4kxdTZmfNE', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1577, 3008, 1, 'nYNy_drriXs', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1578, 3008, 1, 'REfx0Cgt_3Y', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1579, 3008, 1, 'AqwloeFI9Ug', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1580, 3009, 1, 'z4kxdTZmfNE', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1581, 3009, 1, 'oZFEUM5fdgU', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1582, 3009, 1, 'H36YEPYW97Y', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1583, 3009, 1, 'PcU2VSrM0IA', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1584, 3009, 1, 'NSnLedHLBXs', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1585, 3010, 1, 'tHViukOgQOI', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1586, 3010, 1, 'nYNy_drriXs', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1587, 3010, 1, '1qeQsyJfbpE', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1588, 3010, 1, 'khrZBraMv34', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1589, 3011, 1, 'tHViukOgQOI', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1590, 3011, 1, 'oZFEUM5fdgU', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1591, 3012, 1, '-YPjlQKrCFQ', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1592, 3012, 1, 'nYNy_drriXs', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1593, 3013, 1, '-YPjlQKrCFQ', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1594, 3013, 1, 'oZFEUM5fdgU', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1595, 3014, 1, 'B5UxEp180MU', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1596, 3014, 1, 'nYNy_drriXs', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1597, 3015, 1, 'B5UxEp180MU', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1598, 3015, 1, 'oZFEUM5fdgU', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1599, 3016, 1, '9QE-Ejcn1F4', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1600, 3016, 1, 'nYNy_drriXs', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1601, 3017, 1, '9QE-Ejcn1F4', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1602, 3017, 1, 'oZFEUM5fdgU', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1603, 3018, 1, 'VyhJ7ERxF-w', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1604, 3018, 1, 'hLegKPJDpuY', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1605, 3018, 1, 'nYNy_drriXs', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1606, 3019, 1, 'hLegKPJDpuY', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1607, 3019, 1, 'oZFEUM5fdgU', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1608, 3020, 1, 'nR8TY_auc1k', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1609, 3020, 1, 'nYNy_drriXs', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1610, 3020, 1, 'MVs5xcpYn9c', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1611, 3021, 1, 'nR8TY_auc1k', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1612, 3021, 1, 'oZFEUM5fdgU', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1613, 3022, 1, 'HI5inbzgVtI', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1614, 3022, 1, 'nYNy_drriXs', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1615, 3023, 1, 'HI5inbzgVtI', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1616, 3023, 1, 'oZFEUM5fdgU', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1617, 3024, 1, '2Ro6x03BuIg', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1618, 3024, 1, 'nYNy_drriXs', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1619, 3025, 1, '2Ro6x03BuIg', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1620, 3025, 1, 'oZFEUM5fdgU', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1621, 3026, 1, 'anDUl2xT8Ik', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1622, 3026, 1, 'nYNy_drriXs', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1623, 3026, 1, 'yEJkLfe_ePg', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1624, 3027, 1, 'anDUl2xT8Ik', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1625, 3027, 1, 'oZFEUM5fdgU', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1626, 3028, 1, 'a8bPTlf0TW0', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1627, 3028, 1, 'nYNy_drriXs', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1628, 3029, 1, 'a8bPTlf0TW0', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1629, 3029, 1, 'oZFEUM5fdgU', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1630, 3030, 1, 'iTyJOAAY-p4', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1631, 3030, 1, 'nYNy_drriXs', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1632, 3031, 1, 'iTyJOAAY-p4', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1633, 3031, 1, 'oZFEUM5fdgU', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1634, 3032, 1, 'BMq2oqiPSx0', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1635, 3032, 1, 'nYNy_drriXs', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1636, 3033, 1, 'BMq2oqiPSx0', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL), (1637, 3033, 1, 'oZFEUM5fdgU', NULL, NULL, -1, '2018-04-17T03:53:05.1866667', NULL, '2018-04-17T03:53:05.1866667', NULL, NULL); SET IDENTITY_INSERT Interpretations.Video ON; MERGE INTO Interpretations.Video t USING @Video s ON t.VideoKey = s.VideoKey WHEN NOT MATCHED THEN INSERT ( VideoKey, SectionKey, VideoServiceKey, VideoServiceVideoId, Url, StartTime, CreatedByUserKey, CreatedDate, ModifiedByUserKey, Author, Description ) VALUES (s.VideoKey, s.SectionKey, s.VideoServiceKey, s.VideoServiceVideoId, s.Url, s.StartTime, s.CreatedByUserKey, s.CreatedDate, s.ModifiedByUserKey, s.Author, s.Description) WHEN MATCHED THEN UPDATE SET t.SectionKey = s.SectionKey, t.VideoServiceKey = s.VideoServiceKey, t.VideoServiceVideoId = s.VideoServiceVideoId, t.Url = s.Url, t.StartTime = s.StartTime, t.CreatedByUserKey = s.CreatedByUserKey, t.CreatedDate = s.CreatedDate, t.ModifiedByUserKey = s.ModifiedByUserKey, t.Author = s.Author, t.Description = s.Description; SET IDENTITY_INSERT Interpretations.Video OFF; END; GO
<reponame>DataHandwerk/DataHandwerk-toolkit-mssql CREATE SYNONYM [sys_dwh].[extended_properties] FOR [sys].[extended_properties]; GO EXECUTE sp_addextendedproperty @name = N'AntoraReferencingList', @value = N'* xref:repo_sys.ExtendedProperties.adoc[]', @level0type = N'SCHEMA', @level0name = N'sys_dwh', @level1type = N'SYNONYM', @level1name = N'extended_properties'; GO EXECUTE sp_addextendedproperty @name = N'is_ssas', @value = N'0', @level0type = N'SCHEMA', @level0name = N'sys_dwh', @level1type = N'SYNONYM', @level1name = N'extended_properties'; GO EXECUTE sp_addextendedproperty @name = N'is_repo_managed', @value = N'0', @level0type = N'SCHEMA', @level0name = N'sys_dwh', @level1type = N'SYNONYM', @level1name = N'extended_properties';
SELECT COUNT(ST.StoryId) as Count FROM StoryTag ST LEFT JOIN Story S ON S.Id = ST.StoryId WHERE ST.TagId = ?;
<reponame>Stolym/RAGEMP select * from bindings where type = :type:;
<filename>src/test/resources/sql/insert/088a995e.sql -- file:arrays.sql ln:385 expect:true insert into arr_tbl values ('{1,5,3}')
SET FOREIGN_KEY_CHECKS = 0; CREATE TABLE `contact` ( `contact_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `email` varchar(64) COLLATE utf8mb4_bin NOT NULL, `first_name` varchar(64) COLLATE utf8mb4_bin DEFAULT NULL, `last_name` varchar(64) COLLATE utf8mb4_bin DEFAULT NULL, `phone_number` varchar(64) COLLATE utf8mb4_bin DEFAULT NULL, `address` varchar(64) COLLATE utf8mb4_bin DEFAULT NULL, `city` varchar(64) COLLATE utf8mb4_bin DEFAULT NULL, `country` varchar(64) COLLATE utf8mb4_bin DEFAULT NULL, `created_date` bigint(20) NOT NULL, PRIMARY KEY (`contact_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin; CREATE TABLE `account` ( `account_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `email` varchar(64) COLLATE utf8mb4_bin NOT NULL, `algorithm` bigint(20) NOT NULL, `strategy` bigint(20) NOT NULL, `iterations` bigint(20) NOT NULL, `salt` varchar(64) COLLATE utf8mb4_bin NOT NULL, `password` varchar(64) COLLATE utf8mb4_bin NOT NULL, `name` varchar(64) COLLATE utf8mb4_bin NOT NULL, `created_date` bigint(20) NOT NULL, `last_login` bigint(20) NOT NULL, `enabled` bit(1) NOT NULL, `deleted` bit(1) NOT NULL DEFAULT b'0', `deleted_date` bigint(20) NOT NULL DEFAULT 0, PRIMARY KEY (`account_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin; SET FOREIGN_KEY_CHECKS = 1;
<reponame>CarlosMbp/IngerGym -- MySQL dump 10.13 Distrib 8.0.14, for Win64 (x86_64) -- -- Host: localhost Database: posts -- ------------------------------------------------------ -- Server version 8.0.14 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; SET NAMES 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 `clases` -- DROP TABLE IF EXISTS `clases`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `clases` ( `id` bigint(20) NOT NULL, `aforo` int(11) NOT NULL, `dia` int(11) NOT NULL, `hora` int(11) NOT NULL, `nombre_sala` varchar(255) DEFAULT NULL, `profesor` varchar(255) DEFAULT NULL, `tipo` varchar(255) DEFAULT NULL, `sala_id` bigint(20) DEFAULT NULL, PRIMARY KEY (`id`), KEY `FKctixuiveybh6m63d9okysmypx` (`sala_id`), CONSTRAINT `FKctixuiveybh6m63d9okysmypx` FOREIGN KEY (`sala_id`) REFERENCES `salas` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `clases` -- LOCK TABLES `clases` WRITE; /*!40000 ALTER TABLE `clases` DISABLE KEYS */; INSERT INTO `clases` VALUES (4,2,3,17,'Piscina','Maria','AquaGYM',1),(5,2,5,12,'Piscina','Juan','NadoLibre',1),(6,50,1,18,'Zumba','Aitor','Zumba',3),(7,40,0,0,'Gym','-','gym',2); /*!40000 ALTER TABLE `clases` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `cliente` -- DROP TABLE IF EXISTS `cliente`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `cliente` ( `id` bigint(20) NOT NULL, `edad` int(11) NOT NULL, `email` varchar(255) DEFAULT NULL, `name` varchar(255) DEFAULT NULL, `password_hash` 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 `cliente` -- LOCK TABLES `cliente` WRITE; /*!40000 ALTER TABLE `cliente` DISABLE KEYS */; INSERT INTO `cliente` VALUES (11,54,'<EMAIL>','paco','$2a$10$PnVutkOKG8pASbGp5jYseufbebdMZlTP5H4TcnaY2WJLyYKagUsf2'),(12,54,'<EMAIL>','admin','$2a$10$NsSubM2Kqlg2IPt1lsSgyeE5.3d6XH8f6ZimuqiYbm/M70xgvY8w2'),(13,11,'<EMAIL>','carlos','$2a$10$SbnYdqAiv4er1G3PaabsJugQYnH4AW8eO.HGzfKwqKpX9VjDaiiJu'); /*!40000 ALTER TABLE `cliente` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `cliente_clases` -- DROP TABLE IF EXISTS `cliente_clases`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `cliente_clases` ( `cliente_id` bigint(20) NOT NULL, `clases_id` bigint(20) NOT NULL, KEY `FKf9ki3gw8wunufhqb6hp2ototw` (`clases_id`), KEY `FKs28p2ykv7q0eeapa4o5m9fchc` (`cliente_id`), CONSTRAINT `FKf9ki3gw8wunufhqb6hp2ototw` FOREIGN KEY (`clases_id`) REFERENCES `clases` (`id`), CONSTRAINT `FKs28p2ykv7q0eeapa4o5m9fchc` FOREIGN KEY (`cliente_id`) REFERENCES `cliente` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `cliente_clases` -- LOCK TABLES `cliente_clases` WRITE; /*!40000 ALTER TABLE `cliente_clases` DISABLE KEYS */; /*!40000 ALTER TABLE `cliente_clases` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `cliente_roles` -- DROP TABLE IF EXISTS `cliente_roles`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `cliente_roles` ( `cliente_id` bigint(20) NOT NULL, `roles` varchar(255) DEFAULT NULL, KEY `FKdrshtg7is7fbxhuehuamwyx57` (`cliente_id`), CONSTRAINT `FKdrshtg7is7fbxhuehuamwyx57` FOREIGN KEY (`cliente_id`) REFERENCES `cliente` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `cliente_roles` -- LOCK TABLES `cliente_roles` WRITE; /*!40000 ALTER TABLE `cliente_roles` DISABLE KEYS */; INSERT INTO `cliente_roles` VALUES (11,'ROLE_USER'),(12,'ROLE_USER'),(12,'ROLE_ADMIN'),(13,'ROLE_USER'); /*!40000 ALTER TABLE `cliente_roles` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `hibernate_sequence` -- DROP TABLE IF EXISTS `hibernate_sequence`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `hibernate_sequence` ( `next_val` bigint(20) 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 (14); /*!40000 ALTER TABLE `hibernate_sequence` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `opinion` -- DROP TABLE IF EXISTS `opinion`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `opinion` ( `id` bigint(20) NOT NULL, `comentario` varchar(255) DEFAULT NULL, `cliente_id` bigint(20) DEFAULT NULL, PRIMARY KEY (`id`), KEY `FKjamvlisxs3khi7oukm456i8yg` (`cliente_id`), CONSTRAINT `FKjamvlisxs3khi7oukm456i8yg` FOREIGN KEY (`cliente_id`) REFERENCES `cliente` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `opinion` -- LOCK TABLES `opinion` WRITE; /*!40000 ALTER TABLE `opinion` DISABLE KEYS */; /*!40000 ALTER TABLE `opinion` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `salas` -- DROP TABLE IF EXISTS `salas`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `salas` ( `id` bigint(20) NOT NULL, `aforomax` int(11) NOT NULL, `nombre` 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 `salas` -- LOCK TABLES `salas` WRITE; /*!40000 ALTER TABLE `salas` DISABLE KEYS */; INSERT INTO `salas` VALUES (1,2,'Piscina'),(2,40,'Gym'),(3,50,'Zumba'); /*!40000 ALTER TABLE `salas` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `salas_clases` -- DROP TABLE IF EXISTS `salas_clases`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `salas_clases` ( `salas_id` bigint(20) NOT NULL, `clases_id` bigint(20) NOT NULL, UNIQUE KEY `UK_ip9s0f6q11yak7mr2alhmk9nj` (`clases_id`), KEY `FK4y86mg4v7clk4e34ahnd2xppr` (`salas_id`), CONSTRAINT `FK4y86mg4v7clk4e34ahnd2xppr` FOREIGN KEY (`salas_id`) REFERENCES `salas` (`id`), CONSTRAINT `FKsdwne3wae8m4hxvh04f97c5wb` FOREIGN KEY (`clases_id`) REFERENCES `clases` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `salas_clases` -- LOCK TABLES `salas_clases` WRITE; /*!40000 ALTER TABLE `salas_clases` DISABLE KEYS */; /*!40000 ALTER TABLE `salas_clases` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tarifa` -- DROP TABLE IF EXISTS `tarifa`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `tarifa` ( `id` bigint(20) NOT NULL, `edad` int(11) NOT NULL, `precio` int(11) NOT 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 `tarifa` -- LOCK TABLES `tarifa` WRITE; /*!40000 ALTER TABLE `tarifa` DISABLE KEYS */; INSERT INTO `tarifa` VALUES (8,64,15),(9,24,10),(10,65,5); /*!40000 ALTER TABLE `tarifa` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tarifa_clientes` -- DROP TABLE IF EXISTS `tarifa_clientes`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `tarifa_clientes` ( `tarifa_id` bigint(20) NOT NULL, `clientes_id` bigint(20) NOT NULL, UNIQUE KEY `UK_ppip18wk5p7syu2xx2ejkuqgq` (`clientes_id`), KEY `FKk5tsmmx6mej553ee0awwnsi0w` (`tarifa_id`), CONSTRAINT `FK1s4xkqj7h64ntgld19535dg9e` FOREIGN KEY (`clientes_id`) REFERENCES `cliente` (`id`), CONSTRAINT `FKk5tsmmx6mej553ee0awwnsi0w` FOREIGN KEY (`tarifa_id`) REFERENCES `tarifa` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tarifa_clientes` -- LOCK TABLES `tarifa_clientes` WRITE; /*!40000 ALTER TABLE `tarifa_clientes` DISABLE KEYS */; /*!40000 ALTER TABLE `tarifa_clientes` 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-05-02 12:50:39
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * limitations under the License. * */ insert into pos_major (uniqueid, code, name, external_uid, session_id) select pos_major_seq.nextval, '-', 'No Major', a.uniqueid, a.session_id from academic_area a where a.uniqueid in (select sa.acad_area_id from student_acad_area sa where (select count(*) from student_major m where m.student_id = sa.student_id) = 0); insert into pos_acad_area_major (major_id, academic_area_id) select m.uniqueid, m.external_uid from pos_major m where m.code = '-' and m.name = 'No Major' and m.external_uid in (select a.uniqueid from academic_area a); insert into student_major(student_id, major_id) select s.uniqueid, m.uniqueid from student_acad_area a, student s, pos_major m where s.uniqueid = a.student_id and (select count(*) from student_major m where m.student_id = s.uniqueid) = 0 and m.external_uid = a.acad_area_id and m.code = '-'; update pos_major m set m.external_uid = '-' where m.code = '-' and m.name = 'No Major' and m.external_uid in (select a.uniqueid from academic_area a); create table student_area_clasf_major ( uniqueid number(20,0) constraint nn_student_acmaj_id not null, student_id number(20,0) constraint nn_student_acmaj_student not null, acad_area_id number(20,0) constraint nn_student_acmaj_area not null, acad_clasf_id number(20,0) constraint nn_student_acmaj_clasf not null, major_id number(20,0) constraint nn_student_acmaj_major not null ); alter table student_area_clasf_major add constraint pk_student_area_clasf_major primary key (uniqueid) create unique index uk_student_area_clasf_major on student_area_clasf_major(student_id, acad_area_id, acad_clasf_id, major_id); alter table student_area_clasf_major add constraint fk_student_acmaj_student foreign key (student_id) references student (uniqueid) on delete cascade; alter table student_area_clasf_major add constraint fk_student_acmaj_area foreign key (acad_area_id) references academic_area (uniqueid) on delete cascade; alter table student_area_clasf_major add constraint fk_student_acmaj_clasf foreign key (acad_clasf_id) references academic_classification (uniqueid) on delete cascade; alter table student_area_clasf_major add constraint fk_student_acmaj_major foreign key (major_id) references pos_major (uniqueid) on delete cascade; insert into student_area_clasf_major (uniqueid, student_id, acad_area_id, acad_clasf_id, major_id) select pref_group_seq.nextval, a.student_id, a.acad_area_id, a.acad_clasf_id, m.major_id from student_acad_area a, student_major m, pos_acad_area_major am where m.student_id = a.student_id and am.academic_area_id = a.acad_area_id and am.major_id = m.major_id; create table student_area_clasf_minor ( uniqueid number(20,0) constraint nn_student_acmin_id not null, student_id number(20,0) constraint nn_student_acmin_student not null, acad_area_id number(20,0) constraint nn_student_acmin_area not null, acad_clasf_id number(20,0) constraint nn_student_acmin_clasf not null, minor_id number(20,0) constraint nn_student_acmin_minor not null ); alter table student_area_clasf_minor add constraint pk_student_area_clasf_minor primary key (uniqueid); create unique index uk_student_area_clasf_minor on student_area_clasf_minor(student_id, acad_area_id, acad_clasf_id, minor_id); alter table student_area_clasf_minor add constraint fk_student_acmin_student foreign key (student_id) references student (uniqueid) on delete cascade; alter table student_area_clasf_minor add constraint fk_student_acmin_area foreign key (acad_area_id) references academic_area (uniqueid) on delete cascade; alter table student_area_clasf_minor add constraint fk_student_acmin_clasf foreign key (acad_clasf_id) references academic_classification (uniqueid) on delete cascade; alter table student_area_clasf_minor add constraint fk_student_acmin_minor foreign key (minor_id) references pos_minor (uniqueid) on delete cascade; insert into student_area_clasf_minor (uniqueid, student_id, acad_area_id, acad_clasf_id, minor_id) select pref_group_seq.nextval, a.student_id, a.acad_area_id, a.acad_clasf_id, m.minor_id from student_acad_area a, student_minor m, pos_acad_area_minor am where m.student_id = a.student_id and am.academic_area_id = a.acad_area_id and am.minor_id = m.minor_id; /* * Update database version */ update application_config set value='179' where name='tmtbl.db.version'; commit;
<gh_stars>1-10 -- db_patches INSERT INTO `db_patches` (`issue`, `created`) VALUES('POCOR-3253', NOW()); -- workflow_models RENAME TABLE `workflow_models` TO `z_3253_workflow_models`; DROP TABLE IF EXISTS `workflow_models`; CREATE TABLE IF NOT EXISTS `workflow_models` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(100) NOT NULL, `model` varchar(200) NOT NULL, `filter` varchar(200) DEFAULT NULL, `is_school_based` int(1) NOT NULL DEFAULT '0', `created_user_id` int(11) NOT NULL, `created` datetime NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='This table contains the list of features that are workflow-enabled'; INSERT INTO `workflow_models` (`id`, `name`, `model`, `filter`, `is_school_based`, `created_user_id`, `created`) SELECT `id`, `name`, `model`, `filter`, 0, `created_user_id`, NOW() FROM `z_3253_workflow_models`; UPDATE `workflow_models` SET `is_school_based` = 1 WHERE `model` IN ('Staff.Leaves', 'Institution.InstitutionSurveys', 'Institution.InstitutionPositions', 'Institution.StaffPositionProfiles'); UPDATE `workflow_models` SET `model` = 'Institution.StaffLeave' WHERE `model` = 'Staff.Leaves'; -- workflow_steps RENAME TABLE `workflow_steps` TO `z_3253_workflow_steps`; DROP TABLE IF EXISTS `workflow_steps`; CREATE TABLE IF NOT EXISTS `workflow_steps` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(100) NOT NULL, `category` int(1) NOT NULL DEFAULT '0' COMMENT '1 -> TO DO, 2 -> IN PROGRESS, 3 -> DONE', `is_editable` int(1) NOT NULL DEFAULT '0', `is_removable` int(1) NOT NULL DEFAULT '0', `is_system_defined` int(1) NOT NULL DEFAULT '0', `workflow_id` int(11) NOT NULL COMMENT 'links to workflows.id', `modified_user_id` int(11) DEFAULT NULL, `modified` datetime DEFAULT NULL, `created_user_id` int(11) NOT NULL, `created` datetime NOT NULL, PRIMARY KEY (`id`), KEY `category` (`category`), KEY `workflow_id` (`workflow_id`), KEY `modified_user_id` (`modified_user_id`), KEY `created_user_id` (`created_user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='This table contains the list of steps used by all workflows'; INSERT INTO `workflow_steps` (`id`, `name`, `category`, `is_editable`, `is_removable`, `is_system_defined`, `workflow_id`, `modified_user_id`, `modified`, `created_user_id`, `created`) SELECT `id`, `name`, CASE `stage` WHEN 0 THEN 1 WHEN 1 THEN 2 WHEN 2 THEN 3 WHEN NULL THEN 0 ELSE 0 END AS `category`, `is_editable`, `is_removable`, CASE `stage` WHEN 0 THEN 1 WHEN 1 THEN 1 WHEN 2 THEN 1 ELSE 0 END AS `is_system_defined`, `workflow_id`, `modified_user_id`, `modified`, `created_user_id`, `created` FROM `z_3253_workflow_steps`; -- workflow_actions RENAME TABLE `workflow_actions` TO `z_3253_workflow_actions`; DROP TABLE IF EXISTS `workflow_actions`; CREATE TABLE IF NOT EXISTS `workflow_actions` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(100) NOT NULL, `description` text, `action` int(1) DEFAULT NULL COMMENT '0 -> Approve, 1 -> Reject', `visible` int(1) NOT NULL DEFAULT '1', `comment_required` int(1) NOT NULL DEFAULT '0', `allow_by_assignee` int(1) NOT NULL DEFAULT '0', `event_key` text, `workflow_step_id` int(11) NOT NULL COMMENT 'links to workflow_steps.id', `next_workflow_step_id` int(11) NOT NULL, `modified_user_id` int(11) DEFAULT NULL, `modified` datetime DEFAULT NULL, `created_user_id` int(11) NOT NULL, `created` datetime NOT NULL, PRIMARY KEY (`id`), KEY `allow_by_assignee` (`allow_by_assignee`), KEY `next_workflow_step_id` (`next_workflow_step_id`), KEY `workflow_step_id` (`workflow_step_id`), KEY `modified_user_id` (`modified_user_id`), KEY `created_user_id` (`created_user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='This table contains all actions used by different steps of any workflow'; INSERT INTO `workflow_actions` (`id`, `name`, `description`, `action`, `visible`, `next_workflow_step_id`, `event_key`, `comment_required`, `allow_by_assignee`, `workflow_step_id`, `modified_user_id`, `modified`, `created_user_id`, `created`) SELECT `WorkflowActions`.`id`, `WorkflowActions`.`name`, `WorkflowActions`.`description`, `WorkflowActions`.`action`, `WorkflowActions`.`visible`, `WorkflowActions`.`next_workflow_step_id`, `WorkflowActions`.`event_key`, `WorkflowActions`.`comment_required`, CASE `WorkflowSteps`.`category` WHEN 1 THEN 1 ELSE 0 END AS `allow_by_assignee`, `WorkflowActions`.`workflow_step_id`, `WorkflowActions`.`modified_user_id`, `WorkflowActions`.`modified`, `WorkflowActions`.`created_user_id`, `WorkflowActions`.`created` FROM `z_3253_workflow_actions` AS `WorkflowActions` INNER JOIN `workflow_steps` AS `WorkflowSteps` ON `WorkflowSteps`.`id` = `WorkflowActions`.`workflow_step_id`; -- workflow_records RENAME TABLE `workflow_records` TO `z_3253_workflow_records`; -- workflow_transitions RENAME TABLE `workflow_transitions` TO `z_3253_workflow_transitions`; DROP TABLE IF EXISTS `workflow_transitions`; CREATE TABLE IF NOT EXISTS `workflow_transitions` ( `id` int(11) NOT NULL AUTO_INCREMENT, `comment` text, `prev_workflow_step_name` varchar(100) NOT NULL, `workflow_step_name` varchar(100) NOT NULL, `workflow_action_name` varchar(100) NOT NULL, `workflow_model_id` int(11) NOT NULL COMMENT 'links to workflow_models.id', `model_reference` int(11) NOT NULL, `modified_user_id` int(11) DEFAULT NULL, `modified` datetime DEFAULT NULL, `created_user_id` int(11) NOT NULL, `created` datetime NOT NULL, PRIMARY KEY (`id`), KEY `workflow_model_id` (`workflow_model_id`), KEY `model_reference` (`model_reference`), KEY `modified_user_id` (`modified_user_id`), KEY `created_user_id` (`created_user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='This table contains specific action executed by users to transit from one step to another'; INSERT INTO `workflow_transitions` (`id`, `comment`, `prev_workflow_step_name`, `workflow_step_name`, `workflow_action_name`, `workflow_model_id`, `model_reference`, `modified_user_id`, `modified`, `created_user_id`, `created`) SELECT `WorkflowTransitions`.`id`, `WorkflowTransitions`.`comment`, `WorkflowTransitions`.`prev_workflow_step_name`, `WorkflowTransitions`.`workflow_step_name`, `WorkflowTransitions`.`workflow_action_name`, `WorkflowRecords`.`workflow_model_id`, `WorkflowRecords`.`model_reference`, `WorkflowTransitions`.`modified_user_id`, `WorkflowTransitions`.`modified`, `WorkflowTransitions`.`created_user_id`, `WorkflowTransitions`.`created` FROM `z_3253_workflow_transitions` `WorkflowTransitions` INNER JOIN `z_3253_workflow_records` `WorkflowRecords` ON `WorkflowRecords`.`id` = `WorkflowTransitions`.`workflow_record_id`; -- institution_surveys RENAME TABLE `institution_surveys` TO `z_3253_institution_surveys`; DROP TABLE IF EXISTS `institution_surveys`; CREATE TABLE IF NOT EXISTS `institution_surveys` ( `id` int(11) NOT NULL AUTO_INCREMENT, `status_id` int(11) NOT NULL COMMENT 'links to workflow_steps.id', `academic_period_id` int(11) NOT NULL COMMENT 'links to academic_periods.id', `survey_form_id` int(11) NOT NULL COMMENT 'links to survey_forms.id', `institution_id` int(11) NOT NULL COMMENT 'links to institutions.id', `assignee_id` int(11) NOT NULL DEFAULT '0' COMMENT 'links to security_users.id', `modified_user_id` int(11) DEFAULT NULL, `modified` datetime DEFAULT NULL, `created_user_id` int(11) NOT NULL, `created` datetime NOT NULL, PRIMARY KEY (`id`), KEY `status_id` (`status_id`), KEY `academic_period_id` (`academic_period_id`), KEY `survey_form_id` (`survey_form_id`), KEY `institution_id` (`institution_id`), KEY `assignee_id` (`assignee_id`), KEY `modified_user_id` (`modified_user_id`), KEY `created_user_id` (`created_user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='This table contains the list of forms that all institutions need to complete and their current progress'; INSERT INTO `institution_surveys` (`id`, `status_id`, `academic_period_id`, `survey_form_id`, `institution_id`, `assignee_id`, `modified_user_id`, `modified`, `created_user_id`, `created`) SELECT `id`, `status_id`, `academic_period_id`, `survey_form_id`, `institution_id`, 0, `modified_user_id`, `modified`, `created_user_id`, `created` FROM `z_3253_institution_surveys`; -- staff_leaves RENAME TABLE `staff_leaves` TO `z_3253_staff_leaves`; DROP TABLE IF EXISTS `institution_staff_leave`; CREATE TABLE IF NOT EXISTS `institution_staff_leave` ( `id` int(11) NOT NULL AUTO_INCREMENT, `date_from` date NOT NULL, `date_to` date NOT NULL, `comments` text, `staff_id` int(11) NOT NULL COMMENT 'links to security_users.id', `staff_leave_type_id` int(11) NOT NULL COMMENT 'links to field_option_values.id', `institution_id` int(11) NOT NULL COMMENT 'links to institutions.id', `assignee_id` int(11) NOT NULL DEFAULT '0' COMMENT 'links to security_users.id', `status_id` int(11) NOT NULL COMMENT 'links to workflow_steps.id', `number_of_days` int(3) NOT NULL, `file_name` varchar(250) DEFAULT NULL, `file_content` longblob, `modified_user_id` int(11) DEFAULT NULL, `modified` datetime DEFAULT NULL, `created_user_id` int(11) NOT NULL, `created` datetime NOT NULL, PRIMARY KEY (`id`), KEY `staff_id` (`staff_id`), KEY `staff_leave_type_id` (`staff_leave_type_id`), KEY `institution_id` (`institution_id`), KEY `assignee_id` (`assignee_id`), KEY `status_id` (`status_id`), KEY `modified_user_id` (`modified_user_id`), KEY `created_user_id` (`created_user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='This table contains all leave applications and their statuses of staff'; INSERT INTO `institution_staff_leave` (`id`, `date_from`, `date_to`, `comments`, `staff_id`, `staff_leave_type_id`, `institution_id`, `assignee_id`, `status_id`, `number_of_days`, `file_name`, `file_content`, `modified_user_id`, `modified`, `created_user_id`, `created`) SELECT `StaffLeaves`.`id`, `StaffLeaves`.`date_from`, `StaffLeaves`.`date_to`, `StaffLeaves`.`comments`, `StaffLeaves`.`staff_id`, `StaffLeaves`.`staff_leave_type_id`, `Staff`.`institution_id`, 0, `StaffLeaves`.`status_id`, `StaffLeaves`.`number_of_days`, `StaffLeaves`.`file_name`, `StaffLeaves`.`file_content`, `StaffLeaves`.`modified_user_id`, `StaffLeaves`.`modified`, `StaffLeaves`.`created_user_id`, `StaffLeaves`.`created` FROM `z_3253_staff_leaves` AS `StaffLeaves` INNER JOIN `institution_staff` AS `Staff` ON `Staff`.`staff_id` = `StaffLeaves`.`staff_id` INNER JOIN `staff_statuses` AS `StaffStatuses` ON `StaffStatuses`.`id` = `Staff`.`staff_status_id` WHERE `StaffStatuses`.`code` = 'ASSIGNED' GROUP BY `Staff`.`staff_id` ORDER BY `Staff`.`start_date` DESC; -- institution_positions RENAME TABLE `institution_positions` TO `z_3253_institution_positions`; DROP TABLE IF EXISTS `institution_positions`; CREATE TABLE IF NOT EXISTS `institution_positions` ( `id` int(11) NOT NULL AUTO_INCREMENT, `status_id` int(11) NOT NULL COMMENT 'links to workflow_steps.id', `position_no` varchar(30) NOT NULL, `staff_position_title_id` int(11) NOT NULL COMMENT 'links to staff_position_titles.id', `staff_position_grade_id` int(11) NOT NULL COMMENT 'links to staff_position_grades.id', `institution_id` int(11) NOT NULL COMMENT 'links to institutions.id', `assignee_id` int(11) NOT NULL DEFAULT '0' COMMENT 'links to security_users.id', `is_homeroom` int(1) NOT NULL DEFAULT '1', `modified_user_id` int(11) DEFAULT NULL, `modified` datetime DEFAULT NULL, `created_user_id` int(11) NOT NULL, `created` datetime NOT NULL, PRIMARY KEY (`id`), KEY `status_id` (`status_id`), KEY `staff_position_title_id` (`staff_position_title_id`), KEY `staff_position_grade_id` (`staff_position_grade_id`), KEY `institution_id` (`institution_id`), KEY `assignee_id` (`assignee_id`), KEY `modified_user_id` (`modified_user_id`), KEY `created_user_id` (`created_user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='This table contains the list of positions offered by the institutions'; INSERT INTO `institution_positions` (`id`, `status_id`, `position_no`, `staff_position_title_id`, `staff_position_grade_id`, `institution_id`, `assignee_id`, `is_homeroom`, `modified_user_id`, `modified`, `created_user_id`, `created`) SELECT `id`, `status_id`, `position_no`, `staff_position_title_id`, `staff_position_grade_id`, `institution_id`, 0, `is_homeroom`, `modified_user_id`, `modified`, `created_user_id`, `created` FROM `z_3253_institution_positions`; -- institution_staff_position_profiles RENAME TABLE `institution_staff_position_profiles` TO `z_3253_institution_staff_position_profiles`; DROP TABLE IF EXISTS `institution_staff_position_profiles`; CREATE TABLE IF NOT EXISTS `institution_staff_position_profiles` ( `id` int(11) NOT NULL AUTO_INCREMENT, `institution_staff_id` int(11) NOT NULL COMMENT 'links to institution_staff.id', `staff_change_type_id` int(11) NOT NULL COMMENT 'links to staff_change_types.id', `status_id` int(11) NOT NULL COMMENT 'links to workflow_steps.id', `FTE` decimal(5,2) DEFAULT NULL, `start_date` date NOT NULL, `end_date` date DEFAULT NULL, `staff_id` int(11) NOT NULL COMMENT 'links to security_users.id', `staff_type_id` int(5) NOT NULL COMMENT 'links to staff_types.id', `institution_id` int(11) NOT NULL COMMENT 'links to institutions.id', `assignee_id` int(11) NOT NULL DEFAULT '0' COMMENT 'links to security_users.id', `institution_position_id` int(11) NOT NULL COMMENT 'links to institution_positions.id', `modified_user_id` int(11) DEFAULT NULL, `modified` datetime DEFAULT NULL, `created_user_id` int(11) NOT NULL, `created` datetime NOT NULL, PRIMARY KEY (`id`), KEY `institution_staff_id` (`institution_staff_id`), KEY `staff_change_type_id` (`staff_change_type_id`), KEY `status_id` (`status_id`), KEY `staff_id` (`staff_id`), KEY `staff_type_id` (`staff_type_id`), KEY `institution_id` (`institution_id`), KEY `assignee_id` (`assignee_id`), KEY `institution_position_id` (`institution_position_id`), KEY `modified_user_id` (`modified_user_id`), KEY `created_user_id` (`created_user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='This table contains change requests submitted for Staff profiles'; INSERT INTO `institution_staff_position_profiles` (`id`, `institution_staff_id`, `staff_change_type_id`, `status_id`, `FTE`, `start_date`, `end_date`, `staff_id`, `staff_type_id`, `institution_id`, `assignee_id`, `institution_position_id`, `modified_user_id`, `modified`, `created_user_id`, `created`) SELECT `id`, `institution_staff_id`, `staff_change_type_id`, `status_id`, `FTE`, `start_date`, `end_date`, `staff_id`, `staff_type_id`, `institution_id`, 0, `institution_position_id`, `modified_user_id`, `modified`, `created_user_id`, `created` FROM `z_3253_institution_staff_position_profiles`; -- training_courses RENAME TABLE `training_courses` TO `z_3253_training_courses`; DROP TABLE IF EXISTS `training_courses`; CREATE TABLE IF NOT EXISTS `training_courses` ( `id` int(11) NOT NULL AUTO_INCREMENT, `code` varchar(60) NOT NULL, `name` varchar(250) NOT NULL, `description` text, `objective` text, `credit_hours` int(3) NOT NULL, `duration` int(3) NOT NULL, `number_of_months` int(3) NOT NULL, `file_name` varchar(250) DEFAULT NULL, `file_content` longblob, `training_field_of_study_id` int(11) NOT NULL COMMENT 'links to field_option_values.id', `training_course_type_id` int(11) NOT NULL COMMENT 'links to field_option_values.id', `training_mode_of_delivery_id` int(11) NOT NULL COMMENT 'links to field_option_values.id', `training_requirement_id` int(11) NOT NULL COMMENT 'links to field_option_values.id', `training_level_id` int(11) NOT NULL COMMENT 'links to field_option_values.id', `assignee_id` int(11) NOT NULL DEFAULT '0' COMMENT 'links to security_users.id', `status_id` int(11) NOT NULL COMMENT 'links to workflow_steps.id', `modified_user_id` int(11) DEFAULT NULL, `modified` datetime DEFAULT NULL, `created_user_id` int(11) NOT NULL, `created` datetime NOT NULL, PRIMARY KEY (`id`), KEY `training_field_of_study_id` (`training_field_of_study_id`), KEY `training_course_type_id` (`training_course_type_id`), KEY `training_mode_of_delivery_id` (`training_mode_of_delivery_id`), KEY `training_requirement_id` (`training_requirement_id`), KEY `training_level_id` (`training_level_id`), KEY `assignee_id` (`assignee_id`), KEY `status_id` (`status_id`), KEY `modified_user_id` (`modified_user_id`), KEY `created_user_id` (`created_user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='This table contains all training courses'; INSERT INTO `training_courses` (`id`, `code`, `name`, `description`, `objective`, `credit_hours`, `duration`, `number_of_months`, `file_name`, `file_content`, `training_field_of_study_id`, `training_course_type_id`, `training_mode_of_delivery_id`, `training_requirement_id`, `training_level_id`, `assignee_id`, `status_id`, `modified_user_id`, `modified`, `created_user_id`, `created`) SELECT `id`, `code`, `name`, `description`, `objective`, `credit_hours`, `duration`, `number_of_months`, `file_name`, `file_content`, `training_field_of_study_id`, `training_course_type_id`, `training_mode_of_delivery_id`, `training_requirement_id`, `training_level_id`, 0, `status_id`, `modified_user_id`, `modified`, `created_user_id`, `created` FROM `z_3253_training_courses`; -- training_sessions RENAME TABLE `training_sessions` TO `z_3253_training_sessions`; DROP TABLE IF EXISTS `training_sessions`; CREATE TABLE IF NOT EXISTS `training_sessions` ( `id` int(11) NOT NULL AUTO_INCREMENT, `code` varchar(60) NOT NULL, `name` varchar(250) NOT NULL, `start_date` date NOT NULL, `end_date` date NOT NULL, `comment` text, `training_course_id` int(11) NOT NULL COMMENT 'links to training_courses.id', `training_provider_id` int(11) NOT NULL COMMENT 'links to field_option_values.id', `assignee_id` int(11) NOT NULL DEFAULT '0' COMMENT 'links to security_users.id', `status_id` int(11) NOT NULL COMMENT 'links to workflow_steps.id', `modified_user_id` int(11) DEFAULT NULL, `modified` datetime DEFAULT NULL, `created_user_id` int(11) NOT NULL, `created` datetime NOT NULL, PRIMARY KEY (`id`), KEY `training_course_id` (`training_course_id`), KEY `training_provider_id` (`training_provider_id`), KEY `assignee_id` (`assignee_id`), KEY `status_id` (`status_id`), KEY `modified_user_id` (`modified_user_id`), KEY `created_user_id` (`created_user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='This table contains all training sessions'; INSERT INTO `training_sessions` (`id`, `code`, `name`, `start_date`, `end_date`, `comment`, `training_course_id`, `training_provider_id`, `assignee_id`, `status_id`, `modified_user_id`, `modified`, `created_user_id`, `created`) SELECT `id`, `code`, `name`, `start_date`, `end_date`, `comment`, `training_course_id`, `training_provider_id`, 0, `status_id`, `modified_user_id`, `modified`, `created_user_id`, `created` FROM `z_3253_training_sessions`; -- training_session_results RENAME TABLE `training_session_results` TO `z_3253_training_session_results`; DROP TABLE IF EXISTS `training_session_results`; CREATE TABLE IF NOT EXISTS `training_session_results` ( `id` int(11) NOT NULL AUTO_INCREMENT, `training_session_id` int(11) NOT NULL COMMENT 'links to training_sessions.id', `assignee_id` int(11) NOT NULL DEFAULT '0' COMMENT 'links to security_users.id', `status_id` int(11) NOT NULL COMMENT 'links to workflow_steps.id', `modified_user_id` int(11) DEFAULT NULL, `modified` datetime DEFAULT NULL, `created_user_id` int(11) NOT NULL, `created` datetime NOT NULL, PRIMARY KEY (`id`), KEY `training_session_id` (`training_session_id`), KEY `assignee_id` (`assignee_id`), KEY `status_id` (`status_id`), KEY `modified_user_id` (`modified_user_id`), KEY `created_user_id` (`created_user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; INSERT INTO `training_session_results` (`id`, `training_session_id`, `assignee_id`, `status_id`, `modified_user_id`, `modified`, `created_user_id`, `created`) SELECT `id`, `training_session_id`, 0, `status_id`, `modified_user_id`, `modified`, `created_user_id`, `created` FROM `z_3253_training_session_results`; -- staff_training_needs RENAME TABLE `staff_training_needs` TO `z_3253_staff_training_needs`; DROP TABLE IF EXISTS `staff_training_needs`; CREATE TABLE IF NOT EXISTS `staff_training_needs` ( `id` int(11) NOT NULL AUTO_INCREMENT, `comments` text, `course_code` varchar(60) DEFAULT NULL, `course_name` varchar(250) DEFAULT NULL, `course_description` text, `course_id` int(11) NOT NULL COMMENT 'links to training_courses.id', `training_need_category_id` int(11) NOT NULL COMMENT 'links to field_option_values.id', `training_requirement_id` int(11) NOT NULL COMMENT 'links to field_option_values.id', `training_priority_id` int(11) NOT NULL COMMENT 'links to field_option_values.id', `staff_id` int(11) NOT NULL COMMENT 'links to security_users.id', `assignee_id` int(11) NOT NULL DEFAULT '0' COMMENT 'links to security_users.id', `status_id` int(11) NOT NULL COMMENT 'links to workflow_steps.id', `modified_user_id` int(11) DEFAULT NULL, `modified` datetime DEFAULT NULL, `created_user_id` int(11) NOT NULL, `created` datetime NOT NULL, PRIMARY KEY (`id`), KEY `course_id` (`course_id`), KEY `training_need_category_id` (`training_need_category_id`), KEY `training_requirement_id` (`training_requirement_id`), KEY `training_priority_id` (`training_priority_id`), KEY `staff_id` (`staff_id`), KEY `assignee_id` (`assignee_id`), KEY `status_id` (`status_id`), KEY `modified_user_id` (`modified_user_id`), KEY `created_user_id` (`created_user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; INSERT INTO `staff_training_needs` (`id`, `comments`, `course_code`, `course_name`, `course_description`, `course_id`, `training_need_category_id`, `training_requirement_id`, `training_priority_id`, `staff_id`, `assignee_id`, `status_id`, `modified_user_id`, `modified`, `created_user_id`, `created`) SELECT `id`, `comments`, `course_code`, `course_name`, `course_description`, `course_id`, `training_need_category_id`, `training_requirement_id`, `training_priority_id`, `staff_id`, 0, `status_id`, `modified_user_id`, `modified`, `created_user_id`, `created` FROM `z_3253_staff_training_needs`; -- security_functions DELETE FROM `security_functions` WHERE `id` = 5049; INSERT INTO `security_functions` (`id`, `name`, `controller`, `module`, `category`, `parent_id`, `_view`, `_edit`, `_add`, `_delete`, `_execute`, `order`, `visible`, `created_user_id`, `created`) VALUES (5049, 'Actions', 'Workflows', 'Administration', 'Workflows', 5000, 'Actions.index|Actions.view', 'Actions.edit', 'Actions.add', 'Actions.remove', NULL, 5039, 1, 1, NOW()); UPDATE `security_functions` SET `order` = 5049 WHERE `id` = 5038; UPDATE `security_functions` SET `controller` = 'Institutions', `_view` = 'StaffLeave.index|StaffLeave.view', `_edit` = 'StaffLeave.edit', `_add` = 'StaffLeave.add', `_delete` = 'StaffLeave.remove', `_execute` = 'StaffLeave.download' WHERE `id` = 3016;
<filename>DMS5/FindAnalysisJob.sql /****** Object: StoredProcedure [dbo].[FindAnalysisJob] ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE dbo.FindAnalysisJob /**************************************************** ** ** Desc: ** Returns result set of Analysis Jobs ** satisfying the search parameters ** ** Return values: 0: success, otherwise, error code ** ** Parameters: ** ** Auth: grk ** Date: 07/05/2005 ** 03/28/2006 grk - added protein collection fields ** 12/20/2006 mem - Now querying V_Find_Analysis_Job using dynamic SQL (Ticket #349) ** 12/21/2006 mem - Now joining in table T_Analysis_State_Name when querying on State (Ticket #349) ** 10/30/2007 jds - Added support for list of RunRequest IDs (Ticket #560) ** 12/12/2007 mem - No longer joining V_Analysis_Job_and_Dataset_Archive_State since that view is longer used in V_Find_Analysis_Job ** 01/24/2008 mem - Switched the @i_ variables to use the datetime data type (Ticket #225) ** ** Pacific Northwest National Laboratory, Richland, WA ** Copyright 2005, Battelle Memorial Institute *****************************************************/ ( @Job varchar(20) = '', @Pri varchar(20) = '', @State varchar(32) = '', @Tool varchar(64) = '', @Dataset varchar(128) = '', @Campaign varchar(50) = '', @Experiment varchar(50) = '', @Instrument varchar(24) = '', @ParmFile varchar(255) = '', @SettingsFile varchar(255) = '', @Organism varchar(50) = '', @OrganismDB varchar(64) = '', @proteinCollectionList varchar(512) = '', @proteinOptionsList varchar(256) = '', @Comment varchar(255) = '', @Created_After varchar(20) = '', @Created_Before varchar(20) = '', @Started_After varchar(20) = '', @Started_Before varchar(20) = '', @Finished_After varchar(20) = '', @Finished_Before varchar(20) = '', @Processor varchar(64) = '', @RunRequest varchar(255) = '', @message varchar(512) output ) As set nocount on declare @myError int set @myError = 0 declare @myRowCount int set @myRowCount = 0 set @message = '' declare @S varchar(4000) declare @W varchar(3800) --------------------------------------------------- -- Validate input fields --------------------------------------------------- -- future: this could get more complicated --------------------------------------------------- -- Convert input fields --------------------------------------------------- DECLARE @i_Job int SET @i_Job = CONVERT(int, @Job) -- DECLARE @i_Pri int SET @i_Pri = CONVERT(int, @Pri) -- DECLARE @i_State varchar(32) SET @i_State = '%' + @State + '%' -- DECLARE @i_Tool varchar(64) SET @i_Tool = '%' + @Tool + '%' -- DECLARE @i_Dataset varchar(128) SET @i_Dataset = '%' + @Dataset + '%' -- DECLARE @i_Campaign varchar(50) SET @i_Campaign = '%' + @Campaign + '%' -- DECLARE @i_Experiment varchar(50) SET @i_Experiment = '%' + @Experiment + '%' -- DECLARE @i_Instrument varchar(24) SET @i_Instrument = '%' + @Instrument + '%' -- DECLARE @i_Parm_File varchar(255) SET @i_Parm_File = '%' + @ParmFile + '%' -- DECLARE @i_Settings_File varchar(255) SET @i_Settings_File = '%' + @SettingsFile + '%' -- DECLARE @i_Organism varchar(50) SET @i_Organism = '%' + @Organism + '%' -- DECLARE @i_Organism_DB varchar(64) SET @i_Organism_DB = '%' + @OrganismDB + '%' -- DECLARE @i_Comment varchar(255) SET @i_Comment = '%' + @Comment + '%' -- DECLARE @i_Created_after datetime DECLARE @i_Created_before datetime SET @i_Created_after = CONVERT(datetime, @Created_After) SET @i_Created_before = CONVERT(datetime, @Created_Before) -- DECLARE @i_Started_after datetime DECLARE @i_Started_before datetime SET @i_Started_after = CONVERT(datetime, @Started_After) SET @i_Started_before = CONVERT(datetime, @Started_Before) -- DECLARE @i_Finished_after datetime DECLARE @i_Finished_before datetime SET @i_Finished_after = CONVERT(datetime, @Finished_After) SET @i_Finished_before = CONVERT(datetime, @Finished_Before) -- DECLARE @i_Processor varchar(64) SET @i_Processor = '%' + @Processor + '%' -- --DECLARE @i_Run_Request int --SET @i_Run_Request = CONVERT(int, @RunRequest) -- DECLARE @iAJ_proteinCollectionList varchar(512) SET @iAJ_proteinCollectionList = '%' + @proteinCollectionList + '%' -- DECLARE @iAJ_proteinOptionsList varchar(256) SET @iAJ_proteinOptionsList = '%' + @proteinOptionsList + '%' -- --------------------------------------------------- -- Construct the query --------------------------------------------------- Set @S = ' SELECT FAJ.* FROM V_Find_Analysis_Job AS FAJ' Set @W = '' If Len(@Job) > 0 Set @W = @W + ' AND ([Job] = ' + Convert(varchar(19), @i_Job) + ' )' If Len(@Pri) > 0 Set @W = @W + ' AND ([Pri] = ' + Convert(varchar(19), @i_Pri) + ' )' If Len(@State) > 0 Begin Set @W = @W + ' AND ([State] LIKE ''' + @i_State + ''' )' End If Len(@Tool) > 0 Set @W = @W + ' AND ([Tool] LIKE ''' + @i_Tool + ''' )' If Len(@Dataset) > 0 Set @W = @W + ' AND ([Dataset] LIKE ''' + @i_Dataset + ''' )' If Len(@Campaign) > 0 Set @W = @W + ' AND ([Campaign] LIKE ''' + @i_Campaign + ''' )' If Len(@Experiment) > 0 Set @W = @W + ' AND ([Experiment] LIKE ''' + @i_Experiment + ''' )' If Len(@Instrument) > 0 Set @W = @W + ' AND ([Instrument] LIKE ''' + @i_Instrument + ''' )' If Len(@ParmFile) > 0 Set @W = @W + ' AND ([Parm_File] LIKE ''' + @i_Parm_File + ''' )' If Len(@SettingsFile) > 0 Set @W = @W + ' AND ([Settings_File] LIKE ''' + @i_Settings_File + ''' )' If Len(@Organism) > 0 Set @W = @W + ' AND ([Organism] LIKE ''' + @i_Organism + ''' )' If Len(@OrganismDB) > 0 Set @W = @W + ' AND ([Organism_DB] LIKE ''' + @i_Organism_DB + ''' )' If Len(@Comment) > 0 Set @W = @W + ' AND ([Comment] LIKE ''' + @i_Comment + ''' )' If Len(@Created_After) > 0 Set @W = @W + ' AND ([Created] >= ''' + Convert(varchar(32), @i_Created_after, 121) + ''' )' If Len(@Created_Before) > 0 Set @W = @W + ' AND ([Created] < ''' + Convert(varchar(32), @i_Created_before, 121) + ''' )' If Len(@Started_After) > 0 Set @W = @W + ' AND ([Started] >= ''' + Convert(varchar(32), @i_Started_after, 121) + ''' )' If Len(@Started_Before) > 0 Set @W = @W + ' AND ([Started] < ''' + Convert(varchar(32), @i_Started_before, 121) + ''' )' If Len(@Finished_After) > 0 Set @W = @W + ' AND ([Finished] >= ''' + Convert(varchar(32), @i_Finished_after, 121) + ''' )' If Len(@Finished_Before) > 0 Set @W = @W + ' AND ([Finished] < ''' + Convert(varchar(32), @i_Finished_before, 121) + ''' )' If Len(@Processor) > 0 Set @W = @W + ' AND ([Processor] LIKE ''' + @i_Processor + ''' )' If Len(@RunRequest) > 0 Set @W = @W + ' AND ([Run_Request] IN (' + @RunRequest + ') )' If Len(@proteinCollectionList) > 0 Set @W = @W + ' AND ([ProteinCollection_List] LIKE ''' + @iAJ_proteinCollectionList + ''' )' If Len(@proteinOptionsList) > 0 Set @W = @W + ' AND ([Protein_Options] LIKE ''' + @iAJ_proteinOptionsList + ''' )' If Len(@W) > 0 Begin -- One or more filters are defined -- Remove the first AND from the start of @W and add the word WHERE Set @W = 'WHERE ' + Substring(@W, 6, Len(@W) - 5) Set @S = @S + ' ' + @W End --------------------------------------------------- -- Run the query --------------------------------------------------- EXEC (@S) -- SELECT @myError = @@error, @myRowCount = @@rowcount -- if @myError <> 0 begin set @message = 'Error occurred attempting to execute query' RAISERROR (@message, 10, 1) return 51007 end return @myError GO GRANT VIEW DEFINITION ON [dbo].[FindAnalysisJob] TO [DDL_Viewer] AS [dbo] GO GRANT EXECUTE ON [dbo].[FindAnalysisJob] TO [DMS_Guest] AS [dbo] GO GRANT EXECUTE ON [dbo].[FindAnalysisJob] TO [DMS_User] AS [dbo] GO GRANT VIEW DEFINITION ON [dbo].[FindAnalysisJob] TO [Limited_Table_Write] AS [dbo] GO
-- phpMyAdmin SQL Dump -- version 4.8.3 -- https://www.phpmyadmin.net/ -- -- Host: localhost:8889 -- Generation Time: May 31, 2020 at 11:57 PM -- Server version: 5.7.23 -- PHP Version: 7.2.10 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; -- -- Database: `krqnscqx_RWFA` -- -- -------------------------------------------------------- -- -- Table structure for table `Journal` -- CREATE TABLE `Journal` ( `ID` int(11) NOT NULL, `UserID` int(11) NOT NULL, `Topic` varchar(50) NOT NULL, `Name` varchar(50) NOT NULL, `Finished` tinyint(1) NOT NULL DEFAULT '0', `Goal` varchar(200) NOT NULL, `LastRecord` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `ReflectiveWritingEntry` -- CREATE TABLE `ReflectiveWritingEntry` ( `ID` int(11) NOT NULL, `JournalID` int(11) NOT NULL, `FeedbackID` int(11) DEFAULT NULL, `Agenda` enum('Lecture','Seminar','Workshop','Independent Work','Tutorial','Assessment Draft','Other') NOT NULL, `Entry` text NOT NULL, `Record` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `ReflectiveWritingEntry` -- CREATE TABLE `RWEFeedback` ( `ID` int(11) NOT NULL, `WordCount` int(11) NOT NULL, `Positive` text NOT NULL, `Negative` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `System` -- CREATE TABLE `System` ( `ID` int(11) NOT NULL, `UserID` int(11) NOT NULL, `SysGroup` enum('User','Admin') NOT NULL DEFAULT 'User', `Username` varchar(30) NOT NULL, `Password` varchar(250) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `User` -- CREATE TABLE `User` ( `ID` int(11) NOT NULL, `firstName` varchar(30) NOT NULL, `secondName` varchar(30) NOT NULL, `email` varchar(60) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Indexes for dumped tables -- -- -- Indexes for table `Journal` -- ALTER TABLE `Journal` ADD PRIMARY KEY (`ID`), ADD KEY `UserID` (`UserID`); -- -- Indexes for table `ReflectiveWritingEntry` -- ALTER TABLE `ReflectiveWritingEntry` ADD PRIMARY KEY (`ID`), ADD KEY `JournalID` (`JournalID`) USING BTREE, ADD KEY `FeedbackID` (`FeedbackID`) USING BTREE; -- -- Indexes for table `RWEFeedback` -- ALTER TABLE `RWEFeedback` ADD PRIMARY KEY (`ID`); -- -- Indexes for table `System` -- ALTER TABLE `System` ADD PRIMARY KEY (`ID`,`UserID`), ADD KEY `UserID` (`UserID`); -- -- Indexes for table `User` -- ALTER TABLE `User` ADD PRIMARY KEY (`ID`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `Journal` -- ALTER TABLE `Journal` MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `ReflectiveWritingEntry` -- ALTER TABLE `ReflectiveWritingEntry` MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `Journal` -- ALTER TABLE `RWEFeedback` MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `System` -- ALTER TABLE `System` MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `User` -- ALTER TABLE `User` MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT; -- -- Constraints for dumped tables -- -- -- Constraints for table `Journal` -- ALTER TABLE `Journal` ADD CONSTRAINT `UserJournalLink` FOREIGN KEY (`UserID`) REFERENCES `User` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `ReflectiveWritingEntry` -- ALTER TABLE `ReflectiveWritingEntry` ADD CONSTRAINT `JournalRWELink` FOREIGN KEY (`JournalID`) REFERENCES `Journal` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE; ADD CONSTRAINT `FeedbackLink` FOREIGN KEY (`FeedbackID`) REFERENCES `RWEFeedback` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `System` -- ALTER TABLE `System` ADD CONSTRAINT `SystemUserLink` FOREIGN KEY (`UserID`) REFERENCES `User` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE;
ALTER TABLE custom_domain DROP COLUMN "updated_at"; ALTER TABLE custom_domain DROP COLUMN "updated_by";
CREATE INDEX CONCURRENTLY IF NOT EXISTS address_postcode_idx ON Address USING gist (postcode gist_trgm_ops);
<gh_stars>100-1000 # # Table structure for table equiv of yubikey_mapping # CREATE TABLE IF NOT EXISTS `otp`.`yubikey_mappings` ( `otp_id` VARCHAR(12) NOT NULL , `username` VARCHAR(64) NOT NULL , PRIMARY KEY (`otp_id`(12)) );
-- phpMyAdmin SQL Dump -- version 4.7.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1:3312 -- Generation Time: Jul 18, 2018 at 06:37 AM -- Server version: 10.1.28-MariaDB -- PHP Version: 7.1.11 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: `siems_staff` -- -- -------------------------------------------------------- -- -- Table structure for table `auth_assignment` -- CREATE TABLE `auth_assignment` ( `item_name` varchar(64) COLLATE utf8_unicode_ci NOT NULL, `user_id` varchar(64) COLLATE utf8_unicode_ci NOT NULL, `created_at` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `auth_assignment` -- INSERT INTO `auth_assignment` (`item_name`, `user_id`, `created_at`) VALUES ('admin', '1', 1528099832), ('admin', '2', 1528099832), ('developer', '1', 1528099832); -- -------------------------------------------------------- -- -- Table structure for table `auth_item` -- CREATE TABLE `auth_item` ( `name` varchar(64) COLLATE utf8_unicode_ci NOT NULL, `type` smallint(6) NOT NULL, `description` text COLLATE utf8_unicode_ci, `rule_name` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL, `data` blob, `created_at` int(11) DEFAULT NULL, `updated_at` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `auth_item` -- INSERT INTO `auth_item` (`name`, `type`, `description`, `rule_name`, `data`, `created_at`, `updated_at`) VALUES ('admin', 1, 'master admin', NULL, NULL, 1528099832, 1528099832), ('developer', 1, 'Developer admin', NULL, NULL, 1528099832, 1528099832); -- -------------------------------------------------------- -- -- Table structure for table `auth_item_child` -- CREATE TABLE `auth_item_child` ( `parent` varchar(64) COLLATE utf8_unicode_ci NOT NULL, `child` varchar(64) COLLATE utf8_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `auth_rule` -- CREATE TABLE `auth_rule` ( `name` varchar(64) COLLATE utf8_unicode_ci NOT NULL, `data` blob, `created_at` int(11) DEFAULT NULL, `updated_at` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `blog` -- CREATE TABLE `blog` ( `id` int(11) NOT NULL, `title` varchar(255) NOT NULL, `slug` varchar(255) NOT NULL, `description` text NOT NULL, `category_id` text NOT NULL, `created_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `created_by` int(11) DEFAULT NULL, `updated_on` datetime DEFAULT NULL, `updated_by` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `blog` -- INSERT INTO `blog` (`id`, `title`, `slug`, `description`, `category_id`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES (1, 'Instapaper buys itself back from Pinterest', 'instapaper-buys-itself-back-from-pinterest', '<p><img src=\"https://o.aolcdn.com/images/dims?quality=100&amp;image_uri=http%3A%2F%2Fo.aolcdn.com%2Fhss%2Fstorage%2Fmidas%2F4f243d641ac282cd5cb4f2233f41b0f0%2F206531019%2F4995944368_9c49a897a6_o.jpg&amp;client=cbc79c14efcebee57402&amp;signature=860fadfd2dd621003d63c190e1ae1aea84ee0d0b\" style=\"height:auto; margin:0px; width:640px\" /></p>\r\n\r\n<p><NAME>/Flickr</p>\r\n\r\n<p>Back in 2013, developer <NAME>&nbsp;<a href=\"https://techcrunch.com/2013/04/25/betaworks-instapaper/\">sold</a>&nbsp;his popular read-it-later app Instapaper to Betaworks, the company that had previously acquired Digg. Two years ago, Pinterest&nbsp;<a href=\"https://www.engadget.com/2016/08/23/pinterest-buys-instapaper/\">bought</a>&nbsp;the little company to &quot;accelerate discovering and saving articles on Pinterest.&quot; Now, the very same team that&#39;s been working on it for the past five years is&nbsp;<a href=\"http://blog.instapaper.com/post/175953870856\">taking Instapaper back</a>.</p>\r\n\r\n<p>Newly formed Instant Paper, Inc. will receive ownership from Pinterest after a 21-day waiting period so it can give Instapaper users fair notice about the change. Not much will change for users of the service, which the new owners say they&#39;ll continue offering &quot;for the foreseeable future.&quot; The developers also thanked Pinterest for being a good partner over the last two years, which allowed them to rebuild search within the app, add an extension for Firefox users and&nbsp;<a href=\"https://www.engadget.com/2014/12/04/instapaper-for-ios-adds-device-handoff-support-and-unread-count/\">optimize</a>&nbsp;the product for mobile operating systems.</p>\r\n', '[\"1\",\"2\"]', '2018-07-17 09:19:56', 2, '2018-07-17 11:19:56', 2), (2, 'Microsoft Edge iOS beta offers handy visual search tool', 'microsoft-edge-ios-beta-offers-handy-visual-search-tool', '<p><img src=\"https://o.aolcdn.com/images/dims?quality=100&amp;image_uri=http%3A%2F%2Fo.aolcdn.com%2Fhss%2Fstorage%2Fmidas%2F6fd5b1321b9aeeedcd2df91237a4ecd2%2F206531708%2Fcombo.jpg&amp;client=cbc79c14efcebee57402&amp;signature=6241f9af07288d96ccfbc0f1472a390a6e7c477c\" style=\"height:auto; margin:0px; width:640px\" /></p>\r\n\r\n<p>Microsoft</p>\r\n\r\n<p>Today, beta testers of the Microsoft Edge browser on iOS can now&nbsp;<a href=\"https://www.imore.com/microsoft-edge-starts-testing-visual-search-ios-beta-users\">try</a>&nbsp;out Visual Search, which parses images taken by your device&#39;s camera and delivers links to related information. The Bing-based feature&nbsp;<a href=\"https://www.engadget.com/2018/06/21/bing-visual-search/\">came</a>&nbsp;to early users on Android last month, and it works with just-taken photos or from those in your camera roll.</p>\r\n\r\n<p>Microsoft Edge beta testers on iOS also get a couple other new features. One, paste-and-search, saves you a step by letting you look for whatever&#39;s on your clipboard instead of having to paste it in a search field first. Those with a work or school account can access intranet sites from their home as well as the ability to see mobile browser activity on the Windows 10 timeline feature.</p>\r\n\r\n<p>Unlike the Android beta users, those who get an early look at Microsoft Edge on iOS must be enrolled through Apple TestFlight.&nbsp;</p>\r\n', '[\"1\",\"2\",\"3\"]', '2018-07-17 09:39:13', 2, '2018-07-17 11:39:13', 2), (3, 'Amazon warehouse workers in Europe stage protest on Prime Day', 'amazon-warehouse-workers-in-europe-stage-protest-on-prime-day', '<p><img src=\"https://o.aolcdn.com/images/dims?quality=100&amp;image_uri=https%3A%2F%2Fo.aolcdn.com%2Fimages%2Fdims%3Fcrop%3D3500%252C2184%252C0%252C148%26quality%3D85%26format%3Djpg%26resize%3D1600%252C999%26image_uri%3Dhttp%253A%252F%252Fo.aolcdn.com%252Fhss%252Fstorage%252Fmidas%252Fca8a5f5dc13a079f46216bc38bc47f5e%252F206531972%252Fsecurity-measures-are-taken-in-front-of-the-amazon-building-as-amazon-picture-id935597876%26client%3Da1acac3e1b3290917d92%26signature%3D8c9b1c829dee25c5972ff0939cda100a957d769a&amp;client=cbc79c14efcebee57402&amp;signature=c44fc30a3f42ad90956830d34b32d47c6493b07b\" style=\"height:auto; margin:0px; width:640px\" /></p>\r\n\r\n<p>Burak Akbulut/Anadolu Agency/Getty Images</p>\r\n\r\n<p>Amazon warehouse workers in Germany, Spain and Poland are hoping to call the e-commerce giant&#39;s attention to their plea for better working conditions by&nbsp;<a href=\"https://www.reuters.com/article/us-amazon-com-germany-strike/amazon-workers-strike-in-germany-joining-action-in-spain-and-poland-idUSKBN1K61OY\">going on strike</a>&nbsp;on Prime Day. The workers for the company&#39;s fulfillment centers are protesting the increase in working hours even though they don&#39;t receive bonuses, as well as the lack of protection against illnesses. <NAME> from German labor union Verdi, which called for the strike, said &quot;The message is clear -- while the online giant gets rich, it is saving money on the health of its workers.&quot;</p>\r\n\r\n<p>According to&nbsp;<a href=\"https://www.washingtonpost.com/business/2018/07/16/amazon-prime-day-now-an-opportunity-worker-strikes-consumer-protests-around-world/?utm_term=.31f084a05a55\"><em>The Washington Post</em></a>, 1,800 workers in Spain went on strike today, July 16th, and the protest in the country is expected to last until July 18th. Thousands of workers across six fulfillment centers in Germany plan to walk out tomorrow, July 17th, while those in Poland intend to do the bare minimum to stay employed.</p>\r\n\r\n<p>It&#39;s far from the first time Amazon&#39;s warehouse workers staged a protest: distribution center employees in Germany and Italy also&nbsp;<a href=\"https://www.engadget.com/2017/11/24/amazon-warehouse-workers-strike-in-germany-and-italy/\">walked out</a>&nbsp;on Black Friday last year over pay issues and workplace health hazards. Over the years,&nbsp;<a href=\"http://gawker.com/true-stories-of-life-as-an-amazon-worker-1002568208\">reports</a>&nbsp;about harsh working conditions in the company&#39;s distribution centers regularly popped up, including stories from people claiming they were&nbsp;<a href=\"http://nypost.com/2017/11/28/amazon-workers-reveal-brutal-conditions-in-pre-christmas-rush/\">injured</a>&nbsp;on the job and collapsed due to exhaustion. Just earlier this year, the National Council for Occupational Safety and Health&nbsp;<a href=\"https://www.engadget.com/2018/04/25/amazon-and-tesla-in-most-dangerous-workplace-report/\">named</a>&nbsp;Amazon as one of the most dangerous places to work for in the US, citing seven workhouse workers&#39; deaths since 2013.</p>\r\n\r\n<p>The company insists, however, that its fulfillment center jobs offer competitive pay and benefits, with workers earning 12.22 euros ($14.31) an hour or more after two years. &quot;We believe Amazon&#39;s Fulfillment Center jobs are excellent jobs providing a great place to learn skills to start and further develop a career,&quot; a spokesperson told&nbsp;<em>Reuters</em>. Amazon also believes only a fraction of its 12,000 workers in Germany will walk out tomorrow and that the protest will not affect its Prime Day sales.&nbsp;<em>The Post</em>&nbsp;says the event is expected to bring in a whopping $3.4 billion this year, so it&#39;s no wonder the company doesn&#39;t seem concerned. Unfortunately for the protesters, a few thousand people walking out might truly not be a big deal for the e-retail titan.</p>\r\n\r\n<p><strong>Update:</strong>&nbsp;An Amazon spokesperson has reached out and told Engadget that the company &quot;is a fair and responsible employer&quot; committed to dialogue:</p>\r\n\r\n<p>&quot;Amazon is proud to have created over 130,000 new jobs in the last year alone. These are good jobs with highly competitive pay and full benefits. One of the reasons we&#39;ve been able to attract so many people to join us is that our number one priority is to ensure a positive and safe working environment. We use our Connections program to ask associates a question every day about how we can make things even better, we develop new processes and technology to make the roles in our facilities more ergonomic and comfortable for our associates, and we investigate any allegation we are made aware of and fix things that are wrong. We believe it&#39;s this commitment to our associates and operational excellence that makes Amazon the most attractive place to work in the U.S., according to the annual LinkedIn Top Companies List. We encourage anyone to come see for themselves what it&#39;s like to work at an Amazon fulfillment center by taking a tour -- sign up and learn more at http://amazonfctours.com.&quot;</p>\r\n', '[\"1\",\"2\",\"3\"]', '2018-07-17 09:40:03', 2, '2018-07-17 11:40:03', 2); -- -------------------------------------------------------- -- -- Table structure for table `category` -- CREATE TABLE `category` ( `id` int(11) NOT NULL, `parent_id` int(11) DEFAULT NULL, `slug` varchar(255) NOT NULL, `name` varchar(255) NOT NULL, `details` text, `created_by` int(11) DEFAULT NULL, `created_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_by` int(11) DEFAULT NULL, `updated_on` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `category` -- INSERT INTO `category` (`id`, `parent_id`, `slug`, `name`, `details`, `created_by`, `created_on`, `updated_by`, `updated_on`) VALUES (1, NULL, 'technology', 'Technology', '<p>Technology</p>\r\n', 2, '2018-07-17 07:11:19', 2, '2018-07-17 09:11:19'), (2, NULL, 'information-technology', 'Information technology', '<p>IT</p>\r\n', 2, '2018-07-17 07:21:11', 2, '2018-07-17 09:21:11'), (3, 2, 'computers', 'Computers', '<p>Information technology</p>\r\n', 2, '2018-07-17 07:28:26', 2, '2018-07-17 10:38:42'); -- -------------------------------------------------------- -- -- Table structure for table `configuration` -- CREATE TABLE `configuration` ( `id` int(11) NOT NULL, `name` varchar(100) NOT NULL, `value` text NOT NULL, `can_update_value` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `configuration` -- INSERT INTO `configuration` (`id`, `name`, `value`, `can_update_value`) VALUES (1, 'site_name', 'SIEMS-STAFF', 1), (2, 'site_email', '<EMAIL>', 1), (3, 'site_phone_number', '+11 111 111 111', 1), (4, 'site_address', 'Malmo, sweden', 1), (5, 'site_fax_num', '+11 111 111 111', 1), (6, 'site_currency', 'KR', 1), (7, 'default_skin', 'skin-black-light', 1); -- -------------------------------------------------------- -- -- Table structure for table `information` -- CREATE TABLE `information` ( `id` int(11) NOT NULL, `slug` varchar(255) NOT NULL, `title` varchar(255) NOT NULL, `description` text, `show_in_menu` int(11) DEFAULT NULL, `status` int(11) DEFAULT NULL, `position` int(11) NOT NULL, `created_by` int(11) DEFAULT NULL, `updated_by` int(11) DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `information` -- INSERT INTO `information` (`id`, `slug`, `title`, `description`, `show_in_menu`, `status`, `position`, `created_by`, `updated_by`, `created_at`, `updated_at`) VALUES (1, 'about-us', 'About us', '<p>About us About usAbout us</p>\r\n', 3, 1, 1, 1, 2, '2018-06-04 12:10:38', '2018-07-16 12:25:56'); -- -------------------------------------------------------- -- -- Table structure for table `migration` -- CREATE TABLE `migration` ( `version` varchar(180) NOT NULL, `apply_time` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `migration` -- INSERT INTO `migration` (`version`, `apply_time`) VALUES ('m000000_000000_base', 1528096342), ('m140209_132017_init', 1528096351), ('m140403_174025_create_account_table', 1528096354), ('m140504_113157_update_tables', 1528096363), ('m140504_130429_create_token_table', 1528096368), ('m140506_102106_rbac_init', 1528096999), ('m140830_171933_fix_ip_field', 1528096375), ('m140830_172703_change_account_table_name', 1528096378), ('m141222_110026_update_ip_field', 1528096381), ('m141222_135246_alter_username_length', 1528096386), ('m150614_103145_update_social_account_table', 1528096407), ('m150623_212711_fix_username_notnull', 1528096408), ('m151218_234654_add_timezone_to_profile', 1528096411), ('m160929_103127_add_last_login_at_to_user_table', 1528096412), ('m170907_052038_rbac_add_index_on_auth_assignment_user_id', 1528096999); -- -------------------------------------------------------- -- -- Table structure for table `profile` -- CREATE TABLE `profile` ( `user_id` int(11) NOT NULL, `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `public_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `gravatar_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `gravatar_id` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL, `location` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `website` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `bio` text COLLATE utf8_unicode_ci, `timezone` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `profile` -- INSERT INTO `profile` (`user_id`, `name`, `public_email`, `gravatar_email`, `gravatar_id`, `location`, `website`, `bio`, `timezone`) VALUES (1, 'Developer', NULL, NULL, NULL, NULL, NULL, NULL, NULL), (2, 'Admin', NULL, NULL, NULL, NULL, NULL, NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `social_account` -- CREATE TABLE `social_account` ( `id` int(11) NOT NULL, `user_id` int(11) DEFAULT NULL, `provider` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `client_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `data` text COLLATE utf8_unicode_ci, `code` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL, `created_at` int(11) DEFAULT NULL, `email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `username` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `token` -- CREATE TABLE `token` ( `user_id` int(11) NOT NULL, `code` varchar(32) COLLATE utf8_unicode_ci NOT NULL, `created_at` int(11) NOT NULL, `type` smallint(6) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `token` -- INSERT INTO `token` (`user_id`, `code`, `created_at`, `type`) VALUES (1, '<KEY>', 1528099832, 0), (2, 'E11wmyPyPx2mQx_qBDkLTb4vyVg0hngs', 1528099872, 0); -- -------------------------------------------------------- -- -- Table structure for table `user` -- CREATE TABLE `user` ( `id` int(11) NOT NULL, `username` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `password_hash` varchar(60) COLLATE utf8_unicode_ci NOT NULL, `auth_key` varchar(32) COLLATE utf8_unicode_ci NOT NULL, `confirmed_at` int(11) DEFAULT NULL, `unconfirmed_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `blocked_at` int(11) DEFAULT NULL, `registration_ip` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL, `created_at` int(11) NOT NULL, `updated_at` int(11) NOT NULL, `flags` int(11) NOT NULL DEFAULT '0', `last_login_at` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `user` -- INSERT INTO `user` (`id`, `username`, `email`, `password_hash`, `auth_key`, `confirmed_at`, `unconfirmed_email`, `blocked_at`, `registration_ip`, `created_at`, `updated_at`, `flags`, `last_login_at`) VALUES (1, 'developer', '<EMAIL>', <PASSWORD>.', 'vIYhFO_YgeUpQCUBbmA65ga88PIK6Khg', 1528099832, NULL, NULL, '::1', 1528099832, 1528099832, 0, 1531809956), (2, 'admin', '<EMAIL>', <PASSWORD>', 'vSDn4Zpkyoafh6oBeKDz8Iw4EsX5F_aA', 1528099832, NULL, NULL, '::1', 1528099871, 1528099871, 0, 1531887557); -- -- Indexes for dumped tables -- -- -- Indexes for table `auth_assignment` -- ALTER TABLE `auth_assignment` ADD PRIMARY KEY (`item_name`,`user_id`), ADD KEY `auth_assignment_user_id_idx` (`user_id`); -- -- Indexes for table `auth_item` -- ALTER TABLE `auth_item` ADD PRIMARY KEY (`name`), ADD KEY `rule_name` (`rule_name`), ADD KEY `idx-auth_item-type` (`type`); -- -- Indexes for table `auth_item_child` -- ALTER TABLE `auth_item_child` ADD PRIMARY KEY (`parent`,`child`), ADD KEY `child` (`child`); -- -- Indexes for table `auth_rule` -- ALTER TABLE `auth_rule` ADD PRIMARY KEY (`name`); -- -- Indexes for table `blog` -- ALTER TABLE `blog` ADD PRIMARY KEY (`id`); -- -- Indexes for table `category` -- ALTER TABLE `category` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `name` (`name`); -- -- Indexes for table `configuration` -- ALTER TABLE `configuration` ADD PRIMARY KEY (`id`); -- -- Indexes for table `information` -- ALTER TABLE `information` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `slug` (`slug`); -- -- Indexes for table `migration` -- ALTER TABLE `migration` ADD PRIMARY KEY (`version`); -- -- Indexes for table `profile` -- ALTER TABLE `profile` ADD PRIMARY KEY (`user_id`); -- -- Indexes for table `social_account` -- ALTER TABLE `social_account` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `account_unique` (`provider`,`client_id`), ADD UNIQUE KEY `account_unique_code` (`code`), ADD KEY `fk_user_account` (`user_id`); -- -- Indexes for table `token` -- ALTER TABLE `token` ADD UNIQUE KEY `token_unique` (`user_id`,`code`,`type`); -- -- Indexes for table `user` -- ALTER TABLE `user` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `user_unique_username` (`username`), ADD UNIQUE KEY `user_unique_email` (`email`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `blog` -- ALTER TABLE `blog` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `category` -- ALTER TABLE `category` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `configuration` -- ALTER TABLE `configuration` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT for table `information` -- ALTER TABLE `information` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `social_account` -- ALTER TABLE `social_account` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `user` -- ALTER TABLE `user` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- Constraints for dumped tables -- -- -- Constraints for table `auth_assignment` -- ALTER TABLE `auth_assignment` ADD CONSTRAINT `auth_assignment_ibfk_1` FOREIGN KEY (`item_name`) REFERENCES `auth_item` (`name`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `auth_item` -- ALTER TABLE `auth_item` ADD CONSTRAINT `auth_item_ibfk_1` FOREIGN KEY (`rule_name`) REFERENCES `auth_rule` (`name`) ON DELETE SET NULL ON UPDATE CASCADE; -- -- Constraints for table `auth_item_child` -- ALTER TABLE `auth_item_child` ADD CONSTRAINT `auth_item_child_ibfk_1` FOREIGN KEY (`parent`) REFERENCES `auth_item` (`name`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `auth_item_child_ibfk_2` FOREIGN KEY (`child`) REFERENCES `auth_item` (`name`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `profile` -- ALTER TABLE `profile` ADD CONSTRAINT `fk_user_profile` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE; -- -- Constraints for table `social_account` -- ALTER TABLE `social_account` ADD CONSTRAINT `fk_user_account` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE; -- -- Constraints for table `token` -- ALTER TABLE `token` ADD CONSTRAINT `fk_user_token` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
<gh_stars>0 SELECT D1.val AS subject, DP1.val AS predicate FROM Triples T JOIN Dictionary DP1 ON T.predicate=DP1.ID JOIN Dictionary D1 ON T.subject=D1.ID JOIN Dictionary D2 ON T.object=D2.ID WHERE D2.val='person:Paul_Erdoes';
<gh_stars>0 --Data Analysis --1 SELECT Employees.emp_no, Employees.last_name, Employees.first_name, Employees.sex, Salaries_1.salary FROM Employees INNER JOIN Salaries_1 ON Employees.emp_no = Salaries_1.emp_no; --2 SELECT first_name, last_name, hire_date FROM Employees WHERE hire_date > '31-12-1985'; --3 SELECT Departments.dept_no, Departments.dept_name, Employees.emp_no, Employees.last_name, Employees.first_name FROM Departments JOIN Manager ON Departments.dept_no = Manager.dept_no JOIN employees ON Manager.emp_no = Employees.emp_no; --4 SELECT Departments.dept_name, Employees.emp_no, Employees.last_name, Employees.first_name FROM Departments JOIN Manager ON Departments.dept_no = Manager.dept_no JOIN employees ON Manager.emp_no = Employees.emp_no; --5 SELECT first_name, last_name, sex FROM Employees WHERE first_name = 'Hercules' AND last_name LIKE 'B%'; --6 SELECT Employees.emp_no, Employees.last_name, Employees.first_name, Departments.dept_no FROM Departments JOIN Manager ON Departments.dept_no = Manager.dept_no JOIN employees ON Manager.emp_no = Employees.emp_no WHERE Departments.dept_name = 'Sales'; --7 SELECT Employees.emp_no, Employees.last_name, Employees.first_name, Departments.dept_no FROM Departments JOIN Manager ON Departments.dept_no = Manager.dept_no JOIN employees ON Manager.emp_no = Employees.emp_no WHERE Departments.dept_name = 'Sales' OR Departments.dept_name = 'Development'; --8 SELECT last_name, COUNT(last_name) AS "frequency" FROM Employees GROUP BY last_name ORDER BY COUNT(last_name) DESC;
<gh_stars>0 --------------------------------------------------------------- -- view: vw_opendata_issues --------------------------------------------------------------- -- drop view vw_opendata_issues; create or replace view vw_opendata_issues as select to_char(ch.date_charged, 'YYYY-MM-DD') as date_issued, ch.charge_authority as authority, l.name as library, case when ip.field_5 = '$<ITYP_desc_unknown>' then 'Unknown' else ip.field_5 end as item_type, case when count(ch.key) > 4 then cast(count(ch.key) as varchar) else '*' end as issues, case when count(ch.key) > 4 then cast(sum(ch.number_of_renewals) as varchar) else '*' end as renewals from vw_charges_chargeshistory ch join vw_items i on i.catalogue_key = ch.catalogue_key and i.call_sequence = ch.call_sequence and i.copy_number = ch.copy_number join libraries l on ch.charge_library = l.code join policy ip on ip.policy_type = 'ITYP' and ip.policy_name = i.item_type where ch.date_charged >= (now() - interval '2 years') group by date_issued, charge_authority, l.name, ip.field_5;
-- phpMyAdmin SQL Dump -- version 5.0.4 -- https://www.phpmyadmin.net/ -- -- Máy chủ: 127.0.0.1 -- Thời gian đã tạo: Th3 08, 2021 lúc 03:41 AM -- Phiên bản máy phục vụ: 10.4.16-MariaDB -- Phiên bản PHP: 7.4.12 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Cơ sở dữ liệu: `manager_audio` -- -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `account_artists` -- CREATE TABLE `account_artists` ( `id` int(10) UNSIGNED NOT NULL, `social_id` int(11) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `artist_id` int(11) NOT NULL, `cookie` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `user_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `password` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `account_artists` -- INSERT INTO `account_artists` (`id`, `social_id`, `created_at`, `updated_at`, `artist_id`, `cookie`, `user_name`, `password`) VALUES (18, 2, '2021-01-18 09:00:22', '2021-01-18 09:00:22', 14, '[ { \"domain\": \".facebook.com\", \"expirationDate\": 1642494130.242848, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"c_user\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"100024074719579\", \"id\": 1 }, { \"domain\": \".facebook.com\", \"expirationDate\": 1673756011.296505, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"datr\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"bBYBYFh1QgncvPtHdI0Z511y\", \"id\": 2 }, { \"domain\": \".facebook.com\", \"expirationDate\": 1618734128.24314, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"fr\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"128q9cBTv5NOooSkc.AWWevOWG1Wf8sJo1nGxkdr1ihp8.BgAQfr.Hw.AAA.0.0.BgBUUs.AWWRLtY2NFA\", \"id\": 3 }, { \"domain\": \".facebook.com\", \"expirationDate\": 1674030132.242475, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"sb\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"6wcBYCpQqlConiAKsj02YS0O\", \"id\": 4 }, { \"domain\": \".facebook.com\", \"expirationDate\": 1611048132.892729, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"spin\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"r.1003190496_b.trunk_t.1610958126_s.1_v.2_\", \"id\": 5 }, { \"domain\": \".facebook.com\", \"expirationDate\": 1611563320, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"wd\", \"path\": \"/\", \"sameSite\": \"lax\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"1366x625\", \"id\": 6 }, { \"domain\": \".facebook.com\", \"expirationDate\": 1642494130.243045, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"xs\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"49%3AcMQOzluoT5VSbg%3A2%3A1610958124%3A10291%3A6371\", \"id\": 7 } ]', '<EMAIL>', '$2y$10$XFPaUIG6.Zyu2PBD/OYNa.YH9dPm0HutOgODyeg8jdrQzDlDoitz2'), (19, 2, '2021-01-18 09:00:00', '2021-01-20 03:21:35', 13, '[ { \"domain\": \".facebook.com\", \"expirationDate\": 1642645354.159936, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"c_user\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"100005221997481\", \"id\": 1 }, { \"domain\": \".facebook.com\", \"expirationDate\": 1674055839.116768, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"datr\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"oakFYL1wedh0FcgBN0uFjkq1\", \"id\": 2 }, { \"domain\": \".facebook.com\", \"expirationDate\": 1611714329, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"dpr\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"1.25\", \"id\": 3 }, { \"domain\": \".facebook.com\", \"expirationDate\": 1618885353.160068, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"fr\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"1LOPDc2pjhsI4SyDh.AWVzc_vSYwQJEbzppR28Ht_87W8.BgBamf.Ri.AAA.0.0.BgB5Ps.AWUW1kO0QWM\", \"id\": 4 }, { \"domain\": \".facebook.com\", \"expirationDate\": 1674055843.964984, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"sb\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"n6kFYA52ctzWw4xYkOnjR1PV\", \"id\": 5 }, { \"domain\": \".facebook.com\", \"expirationDate\": 1611168151.544044, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"spin\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"r.1003192810_b.trunk_t.1611078151_s.1_v.2_\", \"id\": 6 }, { \"domain\": \".facebook.com\", \"expirationDate\": 1611595869, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"wd\", \"path\": \"/\", \"sameSite\": \"lax\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"1536x666\", \"id\": 7 }, { \"domain\": \".facebook.com\", \"expirationDate\": 1642645354.160015, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"xs\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"13%3AknvSv5E5XisjRA%3A2%3A1610983844%3A4126%3A6373%3A%3AAcWM_rusGDPP29VjS206CXc9QgLBReV_JNqZYkz8LA\", \"id\": 8 } ]', '<EMAIL>', <PASSWORD>'), (20, 2, '2021-01-18 09:02:36', '2021-01-18 09:02:36', 15, '[ { \"domain\": \".facebook.com\", \"expirationDate\": 1642496036.656572, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"c_user\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"100008918381435\", \"id\": 1 }, { \"domain\": \".facebook.com\", \"expirationDate\": 1674031962.927188, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"datr\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"WkwFYFHdQqLuVJoCubVotciQ\", \"id\": 2 }, { \"domain\": \".facebook.com\", \"expirationDate\": 1618736031.656604, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"fr\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"1xPhoiug7aSUH4DfL.AWX3tbpAostYlFhqrEs1BxATjuk.BgBUxa.LF.AAA.0.0.BgBUyh.AWU-yXHHJ5U\", \"id\": 3 }, { \"domain\": \".facebook.com\", \"expirationDate\": 1611564792.374749, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"locale\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"vi_VN\", \"id\": 4 }, { \"domain\": \".facebook.com\", \"expirationDate\": 1674032041.656541, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"sb\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"WkwFYKr9GqFxNft5wlDjKuYh\", \"id\": 5 }, { \"domain\": \".facebook.com\", \"expirationDate\": 1611050057.089761, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"spin\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"r.1003190496_b.trunk_t.1610960043_s.1_v.2_\", \"id\": 6 }, { \"domain\": \".facebook.com\", \"expirationDate\": 1611564831, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"wd\", \"path\": \"/\", \"sameSite\": \"lax\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"1348x638\", \"id\": 7 }, { \"domain\": \".facebook.com\", \"expirationDate\": 1642496036.656588, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"xs\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"10%3A7zI16TWCfAT4jg%3A2%3A1610960036%3A915%3A6345\", \"id\": 8 } ]', '<EMAIL>', '$2y$10$P9a3Jlouylvuh573SJ1/gumXuSv1bG4WuNZTUucxvoyMzmObBfwCK'), (21, 4, '2021-01-18 09:02:43', '2021-01-18 09:02:43', 13, '[ { \"domain\": \".instagram.com\", \"expirationDate\": 1642410161.932988, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"csrftoken\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"o6NxAa46XjxrP8xVh5YCciu6XUmNBmjZ\", \"id\": 1 }, { \"domain\": \".instagram.com\", \"expirationDate\": 1618736561.933088, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"ds_user_id\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"23124595941\", \"id\": 2 }, { \"domain\": \".instagram.com\", \"expirationDate\": 1642495246, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"fbm_124024574287414\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"base_domain=.instagram.com\", \"id\": 3 }, { \"domain\": \".instagram.com\", \"expirationDate\": 1910274082.778011, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"ig_did\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"A053F130-2D52-4018-91DB-60536746C379\", \"id\": 4 }, { \"domain\": \".instagram.com\", \"expirationDate\": 1642496543.819392, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"ig_nrcb\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"1\", \"id\": 5 }, { \"domain\": \".instagram.com\", \"expirationDate\": 1910274082.778098, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"mid\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"XxB1IgALAAE3WjfUhEj4g56iiSwS\", \"id\": 6 }, { \"domain\": \".instagram.com\", \"hostOnly\": false, \"httpOnly\": true, \"name\": \"rur\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": true, \"storeId\": \"0\", \"value\": \"VLL\", \"id\": 7 }, { \"domain\": \".instagram.com\", \"expirationDate\": 1642496552.953467, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"sessionid\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"23124595941%3AY50OH5ic2xyZBv%3A7\", \"id\": 8 }, { \"domain\": \".instagram.com\", \"expirationDate\": 1611550819.133833, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"shbid\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"1050\", \"id\": 9 }, { \"domain\": \".instagram.com\", \"expirationDate\": 1611550819.134177, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"shbts\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"1610946019.9893134\", \"id\": 10 }, { \"domain\": \".instagram.com\", \"hostOnly\": false, \"httpOnly\": true, \"name\": \"urlgen\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": true, \"storeId\": \"0\", \"value\": \"\\\"{\\\\\\\"192.168.3.11\\\\\\\": 7552}:1l1QQZ:aix4bK1u7vlKLMCTTa429vQKhyY\\\"\", \"id\": 11 } ]', '<EMAIL>', <PASSWORD>'), (22, 5, '2021-01-18 09:05:50', '2021-01-18 09:05:50', 13, '[ { \"domain\": \".tiktok.com\", \"expirationDate\": 1613407084, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"_fbp\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"fb.1.1605631083693.1854499609\", \"id\": 1 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1668703083.352682, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"_ga\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"GA1.2.97499643.1605631083\", \"id\": 2 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1668703083.357451, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"_gac_UA-143770054-3\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"1.1605631083.Cj0KCQiAhs79BRD0ARIsAC6XpaWm7Uh-0jhGDQsJsByEotp76hfFtwZageCihAtK9PaTuzd31UKqTjUaAjqtEALw_wcB\", \"id\": 3 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1668703083.361081, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"_gat_UA-143770054-3\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"1\", \"id\": 4 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1668703083.35751, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"_gid\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"GA1.2.845961774.1605631083\", \"id\": 5 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1616144695.259818, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"cmpl_token\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"IGNORE\", \"id\": 6 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1693481860.63222, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"odin_tt\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"097e574aed82f38fa91909113abfea1911a4decbb40835c133c58808c70f2b2e75259c0609ae685f81cd2d381a36222f2af754e99821e83f84fc21338100b3ee\", \"id\": 7 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1612265860.632492, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"sessionid\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"eb6fa26a7cead84a4decefdc7202a4dd\", \"id\": 8 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1612265860.632522, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"sessionid_ss\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"eb6fa26a7cead84a4decefdc7202a4dd\", \"id\": 9 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1638185860.632365, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"sid_guard\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"eb6fa26a7cead84a4decefdc7202a4dd%7C1607081856%7C5184000%7CTue%2C+02-Feb-2021+11%3A37%3A36+GMT\", \"id\": 10 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1612265860.632462, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"sid_tt\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"eb6fa26a7cead84a4decefdc7202a4dd\", \"id\": 11 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1638617860.632588, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"store-country-code\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"vn\", \"id\": 12 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1638617860.632559, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"store-idc\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"alisg\", \"id\": 13 }, { \"domain\": \".tiktok.com\", \"hostOnly\": false, \"httpOnly\": true, \"name\": \"tt_csrf_token\", \"path\": \"/\", \"sameSite\": \"lax\", \"secure\": true, \"session\": true, \"storeId\": \"0\", \"value\": \"4gxEGra3fC3xnvU5vz74uXpY\", \"id\": 14 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1637416778.889776, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"tt_webid\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"6897205385914107394\", \"id\": 15 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1637416778.889718, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"tt_webid_v2\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"6897205385914107394\", \"id\": 16 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1637167081.802544, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"tta_attr_id\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"0.1605631081.6896132983011409922\", \"id\": 17 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1637416810.163086, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"ttwid\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"1%7CUmBlP19AsyebkksqnZ7Ja9GptdZXiAAj83c491FVRQ0%7C1605880809%7C744c5831dd6809d37089dc41412f6cf118e52eca17d41f356b3431e5da365392\", \"id\": 18 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1612265860.632398, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"uid_tt\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"582799f242cb9fca3bca39c41102242f3f3f25765143f1aa67674e3fabeb1ca8\", \"id\": 19 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1612265860.632431, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"uid_tt_ss\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"582799f242cb9fca3bca39c41102242f3f3f25765143f1aa67674e3fabeb1ca8\", \"id\": 20 }, { \"domain\": \".www.tiktok.com\", \"hostOnly\": false, \"httpOnly\": false, \"name\": \"csrf_session_id\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": true, \"storeId\": \"0\", \"value\": \"5cf10b58b42c4abf937f5694ccf5781e\", \"id\": 21 }, { \"domain\": \".www.tiktok.com\", \"expirationDate\": 1618736697.828813, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"MONITOR_WEB_ID\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"6897205385914107394\", \"id\": 22 }, { \"domain\": \"www.tiktok.com\", \"hostOnly\": true, \"httpOnly\": false, \"name\": \"s_v_web_id\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": true, \"storeId\": \"0\", \"value\": \"verify_kk2cellk_lLlkp1Mg_KFWc_4h3l_BFwn_NTyJIMhaq1Iu\", \"id\": 23 } ]', '<EMAIL>', <PASSWORD>GCK9e2Wk314.eSc3hro29.3AuDMoECAML6zWSjbawi06'), (23, 3, '2021-01-18 09:07:31', '2021-01-18 09:07:31', 16, '[ { \"domain\": \".youtube.com\", \"expirationDate\": 1667201814.236078, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"__Secure-3PAPISID\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"lwQ5w1qOOSFrOg6S/A7bqytA285rNAgXcw\", \"id\": 1 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1672411844.711832, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"__Secure-3PSID\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"5AcKUCsK09NHKkBUbLfaA-wsDgSBeQEsBmzGgMYGtJmfH_52RF9xNbFUKwWmrPbHhwPLfw.\", \"id\": 2 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1642496795.75252, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"__Secure-3PSIDCC\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"AJi4QfFg3bshcOtzML7nSyvkoYGauPUIuydnGRvCqdhx7DtrK-XkbhXckx3zIPY9J3gC8iF5tro\", \"id\": 3 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1667201814.235987, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"APISID\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"eLJ8KM3U9rO3yvEK/A4p7RltXCdQFWHQwE\", \"id\": 4 }, { \"domain\": \".youtube.com\", \"expirationDate\": 2146723200.236096, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"CONSENT\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"YES+VN.vi+20170326-06-0\", \"id\": 5 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1667201814.235937, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"HSID\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"Af_dpDh0G1E3MXIhI\", \"id\": 6 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1665707315.154765, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"LOGIN_INFO\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"AFmmF2swRQIgHgEVJRpAfuFQpG1YOwl4rniufRan7kdtUZKCrqFVvzECIQCMji3wq2EiKZlqgMU1lRUrPSLVM2lGAkNkRkUDioSSOg:QUQ3MjNmd29XQjJ6RVZwTkswMHpGNTBtdGh0bHlyQ3hsQWo1QjRxYU81NklxaEoycGVBM1hzVHJRWHlZTnpGLWlGcl9UMUt4QUV3dl9lQXQtNEszSkxIRHdzWG1yUTZCbkxXUnlNcmpyS0hkRFdvcF9IMnFBNGtEaEdmWnI2VjhESXdnVkR6SkdXeEJibGUxbEp1M200S2VIZnFiVS15WTIwVGlFZHhPeDdEeWpFc1JYOXNJNGtR\", \"id\": 7 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1631998553.128899, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"PREF\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"al=vi\", \"id\": 8 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1667201814.236012, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"SAPISID\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"lwQ5w1qOOSFrOg6S/A7bqytA285rNAgXcw\", \"id\": 9 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1672411844.711752, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"SID\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"5AcKUCsK09NHKkBUbLfaA-wsDgSBeQEsBmzGgMYGtJmfH_529wD2Ho4YGvzRsIff7TZSvA.\", \"id\": 10 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1642496795.752399, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"SIDCC\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"AJi4QfEFRcou52_VSGxXGdz53Z9TuTNgDHZ4_uzLPYjnm4s2qCUNjtSpbEB90apBjAptoTOfSw\", \"id\": 11 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1667201814.235963, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"SSID\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"AsG1dDFFgX8kLaM0e\", \"id\": 12 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1626261342.789521, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"VISITOR_INFO1_LIVE\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"GEj0qYFrbYo\", \"id\": 13 }, { \"domain\": \".youtube.com\", \"hostOnly\": false, \"httpOnly\": true, \"name\": \"YSC\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": true, \"storeId\": \"0\", \"value\": \"3KD7XXmxVfI\", \"id\": 14 } ]', '<EMAIL>', <PASSWORD>'), (24, 3, '2021-01-18 09:07:38', '2021-01-18 09:07:38', 13, '[ { \"domain\": \".youtube.com\", \"expirationDate\": 1668670529.007265, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"__Secure-3PAPISID\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"8W1LznYemxTIM5Si/AaAnykJL4zBjgPUZV\", \"id\": 1 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1673871703.577643, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"__Secure-3PSID\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"5wcLyAsKS31twfHmao0IdQJRNoF-zBg0nPVenLc8OY1FCu6bppUgrEjupcK-u8_deK7urQ.\", \"id\": 2 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1642496852.237157, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"__Secure-3PSIDCC\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"AJi4QfEuyKTi49qoUG8WxMz56gBrXgCitFLjIMPhepN1G_RjiGjZIAHnCMvmOdy1HtfGG_JVAJ0\", \"id\": 3 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1668670529.007182, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"APISID\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"QniL7fNJd9aWCPE6/A3MmEnBnLtqukvJ6P\", \"id\": 4 }, { \"domain\": \".youtube.com\", \"expirationDate\": 2146723199.007311, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"CONSENT\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"YES+VN.vi+20171217-09-0\", \"id\": 5 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1668670529.007094, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"HSID\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"A2x_Wjn0PBf6j3E8Z\", \"id\": 6 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1666998022.452668, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"LOGIN_INFO\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"AFmmF2swRgIhAIeKQ4KB_7vziz2P4j_vY2n6bZWky98a6jifT_a5clD3AiEA2MDZvFrKyDgwy3vJS1ARLB5UqReM_dJV5RWdBB1ZJZ4:QU<KEY>\", \"id\": 7 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1631998794.501745, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"PREF\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"al=vi&f4=4000000&f5=30000\", \"id\": 8 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1668670529.007221, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"SAPISID\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"8W1LznYemxTIM5Si/AaAnykJL4zBjgPUZV\", \"id\": 9 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1673871703.577527, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"SID\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"5wcLyAsKS31twfHmao0IdQJRNoF-zBg0nPVenLc8OY1FCu6b0bIVDvDaumVwjOhscliDew.\", \"id\": 10 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1642496852.237098, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"SIDCC\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"AJi4QfH_X7IoQ3HUqVaTYoDkcUlprChYJlvqHHLB8UeofAncl7FmiCL36aZURQNV1bkw_iVM-J4\", \"id\": 11 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1668670529.007139, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"SSID\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"AxBXwjzMt8rG3Z0Dt\", \"id\": 12 }, { \"domain\": \".youtube.com\", \"expirationDate\": 1626357979.597842, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"VISITOR_INFO1_LIVE\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"JHG87eVLiHk\", \"id\": 13 }, { \"domain\": \".youtube.com\", \"hostOnly\": false, \"httpOnly\": true, \"name\": \"YSC\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": true, \"storeId\": \"0\", \"value\": \"Lh7nxzvFikU\", \"id\": 14 } ]', '<EMAIL>', '$2y$10$j97QLpu3ZGEOSh80bTulWOfW.cyBdY.EqaLBuBtjdM45Ul7yBygsS'), (25, 4, '2021-01-18 09:26:25', '2021-01-18 09:26:25', 15, '[ { \"domain\": \".instagram.com\", \"expirationDate\": 1642411544.13172, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"csrftoken\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"ZwWrPfrc4UPYuUrjw6T9S8s2lXlQGWZx\", \"id\": 1 }, { \"domain\": \".instagram.com\", \"expirationDate\": 1618737944.13185, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"ds_user_id\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"2109055605\", \"id\": 2 }, { \"domain\": \".instagram.com\", \"expirationDate\": 1642497942, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"fbm_124024574287414\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"base_domain=.instagram.com\", \"id\": 3 }, { \"domain\": \".instagram.com\", \"hostOnly\": false, \"httpOnly\": false, \"name\": \"fbsr_124024574287414\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": true, \"storeId\": \"0\", \"value\": \"<KEY>HJ<KEY>\", \"id\": 4 }, { \"domain\": \".instagram.com\", \"expirationDate\": 1910274082.778011, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"ig_did\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"A053F130-2D52-4018-91DB-60536746C379\", \"id\": 5 }, { \"domain\": \".instagram.com\", \"expirationDate\": 1910274082.778098, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"mid\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"XxB1IgALAAE3WjfUhEj4g56iiSwS\", \"id\": 6 }, { \"domain\": \".instagram.com\", \"hostOnly\": false, \"httpOnly\": true, \"name\": \"rur\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": true, \"storeId\": \"0\", \"value\": \"VLL\", \"id\": 7 }, { \"domain\": \".instagram.com\", \"expirationDate\": 1642497939.100545, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"sessionid\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"2109055605%3A08hSVevYSslvtD%3A26\", \"id\": 8 }, { \"domain\": \".instagram.com\", \"expirationDate\": 1611550819.133833, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"shbid\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"1050\", \"id\": 9 }, { \"domain\": \".instagram.com\", \"expirationDate\": 1611550819.134177, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"shbts\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"1610946019.9893134\", \"id\": 10 }, { \"domain\": \".instagram.com\", \"hostOnly\": false, \"httpOnly\": true, \"name\": \"urlgen\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": true, \"storeId\": \"0\", \"value\": \"\\\"{\\\\\\\"192.168.3.11\\\\\\\": 7552}:1l1QnA:SDtGNaem9YRiKiZPdH1Ymv3NkCY\\\"\", \"id\": 11 } ]', '<EMAIL>', '$2y$10$z60fDy4yU8cDW5nQnWnDFOvNYLUk0B2NRZzBapWyXXSqe6vboxf3.'), (26, 5, '2021-01-18 09:32:03', '2021-01-18 09:32:03', 15, '[ { \"domain\": \".tiktok.com\", \"expirationDate\": 1616146217.889193, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"cmpl_token\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"AgQQAPPdF-RO0tA-7rTtQlcK-mTMO7QYP4MOYPoorg\", \"id\": 1 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1697362242.601221, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"odin_tt\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"a54ff10d8e1d7640fb2c15deec2dcf357263316a0331016deb77892b369f82fa68c8063ce047f185cf34cde9a79f4f62\", \"id\": 2 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1613554217.889217, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"passport_auth_status\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"125bdae240170dc7c3f927d1bd7a53d7%2C\", \"id\": 3 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1613554217.889241, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"passport_auth_status_ss\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"125bdae240170dc7c3f927d1bd7a53d7%2C\", \"id\": 4 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1616146217.889032, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"passport_csrf_token\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"b87cc135b863b2b0073d766eb380a57d\", \"id\": 5 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1616146217.889123, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"passport_csrf_token_default\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"b87cc135b863b2b0073d766eb380a57d\", \"id\": 6 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1616146216.889353, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"sessionid\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"982b5b0a3e54c4e155acfc0ba54e0554\", \"id\": 7 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1616146216.889375, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"sessionid_ss\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"982b5b0a3e54c4e155acfc0ba54e0554\", \"id\": 8 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1642066217.889265, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"sid_guard\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"982b5b0a3e54c4e155acfc0ba54e0554%7C1610962218%7C5183999%7CFri%2C+19-Mar-2021+09%3A30%3A17+GMT\", \"id\": 9 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1616146216.889333, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"sid_tt\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"982b5b0a3e54c4e155acfc0ba54e0554\", \"id\": 10 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1642498217.889418, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"store-country-code\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"vn\", \"id\": 11 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1642498217.889398, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"store-idc\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"alisg\", \"id\": 12 }, { \"domain\": \".tiktok.com\", \"hostOnly\": false, \"httpOnly\": true, \"name\": \"tt_csrf_token\", \"path\": \"/\", \"sameSite\": \"lax\", \"secure\": true, \"session\": true, \"storeId\": \"0\", \"value\": \"mfNkZYl16bR5vWgcUuEmhisk\", \"id\": 13 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1642498190.976369, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"tt_webid\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"6919029895834568193\", \"id\": 14 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1642498190.976172, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"tt_webid_v2\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"6919029895834568193\", \"id\": 15 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1642498195.950838, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"ttwid\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"1%7CaBoGOXobJnE1x7FjH6syEe4zQwbJaf9xj9qnyaZ8EcA%7C1610962196%7Cae9b626418e0cdef2db931be643a2941b9f0c9a7f5c9d2f38a0f90bfb7609f2c\", \"id\": 16 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1616146216.889288, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"uid_tt\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"9694f2d2153954d47f73f144773ba568\", \"id\": 17 }, { \"domain\": \".tiktok.com\", \"expirationDate\": 1616146216.889309, \"hostOnly\": false, \"httpOnly\": true, \"name\": \"uid_tt_ss\", \"path\": \"/\", \"sameSite\": \"no_restriction\", \"secure\": true, \"session\": false, \"storeId\": \"0\", \"value\": \"9694f2d2153954d47f73f144773ba568\", \"id\": 18 }, { \"domain\": \".www.tiktok.com\", \"hostOnly\": false, \"httpOnly\": false, \"name\": \"csrf_session_id\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": true, \"storeId\": \"0\", \"value\": \"781e560ab9d04dae8cc6da264e4b063c\", \"id\": 19 }, { \"domain\": \".www.tiktok.com\", \"expirationDate\": 1618738223.486585, \"hostOnly\": false, \"httpOnly\": false, \"name\": \"MONITOR_WEB_ID\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": false, \"storeId\": \"0\", \"value\": \"6919029895834568193\", \"id\": 20 }, { \"domain\": \"www.tiktok.com\", \"hostOnly\": true, \"httpOnly\": false, \"name\": \"s_v_web_id\", \"path\": \"/\", \"sameSite\": \"unspecified\", \"secure\": false, \"session\": true, \"storeId\": \"0\", \"value\": \"verify_kk2dao1x_T9zcLtPf_6lVQ_4CHw_BatG_GEet6qZK5E3K\", \"id\": 21 } ]', '<EMAIL>', '$2y$10$Wu3t1Wh29xHWWS.kY0rkYefq8MCReAH0pmJzrLVOi.bEElOe8TkcK'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `artists` -- CREATE TABLE `artists` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL, `stage_name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL, `date_of_birth` date NOT NULL, `gender` tinyint(4) NOT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `avatar` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `address` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `description` text 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; -- -- Đang đổ dữ liệu cho bảng `artists` -- INSERT INTO `artists` (`id`, `name`, `stage_name`, `date_of_birth`, `gender`, `email`, `avatar`, `address`, `description`, `created_at`, `updated_at`, `phone`) VALUES (13, '<NAME>', '<NAME>', '2000-01-01', 1, '<EMAIL>', 'artists\\January2021\\jaUQH6XhRMNGvWtHhDOc.jpg', '<NAME>', 'abc', '2021-01-18 08:59:50', '2021-01-18 08:59:50', '123456789'), (14, 'tr<NAME>', 'trung quanaaaa', '2019-02-11', 0, '<EMAIL>', 'artists\\January2021\\h23jDbkEgnQMMyFNxkdG.jpg', '16', NULL, '2021-01-18 08:59:52', '2021-01-18 08:59:52', '0979965216'), (15, 'trang anh', 'TA', '1999-08-08', 0, '<EMAIL>', NULL, 'hưng yên', NULL, '2021-01-18 09:00:45', '2021-01-18 09:00:45', '0967789573'), (16, 'ha sang', 'thuden', '2000-02-17', 0, '<EMAIL>', 'artists\\January2021\\CeOlejHhQPXA9n2s6iwg.PNG', '16', NULL, '2021-01-18 09:06:31', '2021-01-18 09:06:31', '0979965216'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `artist_management` -- CREATE TABLE `artist_management` ( `id` int(10) UNSIGNED NOT NULL, `user_id` int(11) NOT NULL, `kol_id` int(11) NOT NULL, `social_id` int(11) NOT NULL, `time` int(11) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `time_over` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `account_id` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `artist_management` -- INSERT INTO `artist_management` (`id`, `user_id`, `kol_id`, `social_id`, `time`, `created_at`, `updated_at`, `description`, `time_over`, `account_id`) VALUES (68, 15, 13, 2, 100, '2021-01-18 09:00:13', '2021-01-18 09:00:13', 'abc', '2021-01-18 17:40:31', NULL), (69, 14, 14, 2, 87, '2021-01-18 09:01:27', '2021-01-18 09:01:27', NULL, '2021-01-18 17:28:36', NULL), (70, 14, 15, 2, 3000, '2021-01-18 09:01:00', '2021-01-18 09:22:13', NULL, '2021-01-20 18:01:37', NULL), (71, 15, 13, 4, 199, '2021-01-18 09:03:48', '2021-01-18 09:03:48', 'hihi', '2021-01-18 19:23:01', NULL), (72, 15, 13, 5, 500, '2021-01-18 09:05:25', '2021-01-18 09:05:25', 'haha', '2021-01-19 00:25:40', NULL), (73, 14, 16, 3, 111, '2021-01-18 09:06:58', '2021-01-18 09:06:58', NULL, '2021-01-18 17:58:06', NULL), (74, 15, 13, 3, 700, '2021-01-18 09:07:09', '2021-01-18 09:07:09', 'huhi', '2021-01-19 03:47:18', NULL), (75, 14, 15, 4, 3000, '2021-01-18 09:27:39', '2021-01-18 09:27:39', NULL, '2021-01-20 18:27:41', NULL), (76, 14, 15, 5, 3004, '2021-01-18 09:33:00', '2021-01-18 09:33:23', NULL, '2021-01-20 18:37:03', NULL), (77, 2, 13, 2, 100, '2021-01-19 02:26:53', '2021-01-19 02:26:53', 'fdfgdgfd', '2021-01-19 11:06:46', NULL), (78, 2, 13, 2, 100, '2021-01-19 02:26:54', '2021-01-19 02:26:54', 'fdfgdgfd', '2021-01-19 11:06:46', NULL), (79, 2, 13, 2, 9000, '2021-01-19 07:41:46', '2021-01-19 07:41:46', 'gfdgf', '2021-01-25 20:41:44', NULL), (80, 21, 13, 2, 1000, '2021-01-20 03:19:59', '2021-01-20 03:19:59', 'fgdgfd', '2021-01-21 02:59:57', NULL); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `categories` -- CREATE TABLE `categories` ( `id` int(10) UNSIGNED NOT NULL, `parent_id` int(10) UNSIGNED DEFAULT NULL, `order` int(11) NOT NULL DEFAULT 1, `name` 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 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `categories` -- INSERT INTO `categories` (`id`, `parent_id`, `order`, `name`, `slug`, `created_at`, `updated_at`) VALUES (1, NULL, 1, 'Category 1', 'category-1', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (2, NULL, 1, 'Category 2', 'category-2', '2021-01-08 04:06:31', '2021-01-08 04:06:31'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `data_rows` -- CREATE TABLE `data_rows` ( `id` int(10) UNSIGNED NOT NULL, `data_type_id` int(10) UNSIGNED NOT NULL, `field` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `display_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `required` tinyint(1) NOT NULL DEFAULT 0, `browse` tinyint(1) NOT NULL DEFAULT 1, `read` tinyint(1) NOT NULL DEFAULT 1, `edit` tinyint(1) NOT NULL DEFAULT 1, `add` tinyint(1) NOT NULL DEFAULT 1, `delete` tinyint(1) NOT NULL DEFAULT 1, `details` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `order` int(11) NOT NULL DEFAULT 1 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `data_rows` -- INSERT INTO `data_rows` (`id`, `data_type_id`, `field`, `type`, `display_name`, `required`, `browse`, `read`, `edit`, `add`, `delete`, `details`, `order`) VALUES (1, 1, 'id', 'number', 'ID', 1, 0, 0, 0, 0, 0, '{}', 1), (2, 1, 'name', 'text', 'Tên', 1, 1, 1, 1, 1, 1, '{}', 2), (3, 1, 'email', 'text', 'Email', 1, 1, 1, 1, 1, 1, '{}', 3), (4, 1, 'password', 'password', '<PASSWORD>', 1, 0, 0, 1, 1, 0, '{}', 4), (5, 1, 'remember_token', 'text', 'Remember Token', 0, 0, 0, 0, 0, 0, '{}', 5), (6, 1, 'created_at', 'timestamp', 'Ngày tạo', 0, 1, 1, 0, 0, 0, '{}', 6), (7, 1, 'updated_at', 'timestamp', 'Updated At', 0, 0, 0, 0, 0, 0, '{}', 7), (8, 1, 'avatar', 'image', 'Ảnh đại diện', 0, 1, 1, 1, 1, 1, '{}', 8), (9, 1, 'user_belongsto_role_relationship', 'relationship', 'Loại người dùng', 0, 1, 1, 1, 1, 0, '{\"model\":\"TCG\\\\Voyager\\\\Models\\\\Role\",\"table\":\"roles\",\"type\":\"belongsTo\",\"column\":\"role_id\",\"key\":\"id\",\"label\":\"display_name\",\"pivot_table\":\"roles\",\"pivot\":\"0\",\"taggable\":\"0\"}', 10), (10, 1, 'user_belongstomany_role_relationship', 'relationship', 'Roles', 0, 0, 1, 1, 1, 0, '{\"model\":\"TCG\\\\Voyager\\\\Models\\\\Role\",\"table\":\"roles\",\"type\":\"belongsToMany\",\"column\":\"id\",\"key\":\"id\",\"label\":\"display_name\",\"pivot_table\":\"user_roles\",\"pivot\":\"1\",\"taggable\":\"0\"}', 11), (11, 1, 'settings', 'hidden', 'Settings', 0, 0, 0, 0, 0, 0, '{}', 12), (12, 2, 'id', 'number', 'ID', 1, 0, 0, 0, 0, 0, NULL, 1), (13, 2, 'name', 'text', 'Name', 1, 1, 1, 1, 1, 1, NULL, 2), (14, 2, 'created_at', 'timestamp', 'Created At', 0, 0, 0, 0, 0, 0, NULL, 3), (15, 2, 'updated_at', 'timestamp', 'Updated At', 0, 0, 0, 0, 0, 0, NULL, 4), (16, 3, 'id', 'number', 'ID', 1, 0, 0, 0, 0, 0, NULL, 1), (17, 3, 'name', 'text', 'Name', 1, 1, 1, 1, 1, 1, NULL, 2), (18, 3, 'created_at', 'timestamp', 'Created At', 0, 0, 0, 0, 0, 0, NULL, 3), (19, 3, 'updated_at', 'timestamp', 'Updated At', 0, 0, 0, 0, 0, 0, NULL, 4), (20, 3, 'display_name', 'text', 'Display Name', 1, 1, 1, 1, 1, 1, NULL, 5), (21, 1, 'role_id', 'text', 'Loại người dùng', 0, 1, 1, 1, 1, 1, '{}', 9), (22, 4, 'id', 'number', 'ID', 1, 0, 0, 0, 0, 0, NULL, 1), (23, 4, 'parent_id', 'select_dropdown', 'Parent', 0, 0, 1, 1, 1, 1, '{\"default\":\"\",\"null\":\"\",\"options\":{\"\":\"-- None --\"},\"relationship\":{\"key\":\"id\",\"label\":\"name\"}}', 2), (24, 4, 'order', 'text', 'Order', 1, 1, 1, 1, 1, 1, '{\"default\":1}', 3), (25, 4, 'name', 'text', 'Name', 1, 1, 1, 1, 1, 1, NULL, 4), (26, 4, 'slug', 'text', 'Slug', 1, 1, 1, 1, 1, 1, '{\"slugify\":{\"origin\":\"name\"}}', 5), (27, 4, 'created_at', 'timestamp', 'Created At', 0, 0, 1, 0, 0, 0, NULL, 6), (28, 4, 'updated_at', 'timestamp', 'Updated At', 0, 0, 0, 0, 0, 0, NULL, 7), (29, 5, 'id', 'number', 'ID', 1, 0, 0, 0, 0, 0, NULL, 1), (30, 5, 'author_id', 'text', 'Author', 1, 0, 1, 1, 0, 1, NULL, 2), (31, 5, 'category_id', 'text', 'Category', 1, 0, 1, 1, 1, 0, NULL, 3), (32, 5, 'title', 'text', 'Title', 1, 1, 1, 1, 1, 1, NULL, 4), (33, 5, 'excerpt', 'text_area', 'Excerpt', 1, 0, 1, 1, 1, 1, NULL, 5), (34, 5, 'body', 'rich_text_box', 'Body', 1, 0, 1, 1, 1, 1, NULL, 6), (35, 5, 'image', 'image', 'Post Image', 0, 1, 1, 1, 1, 1, '{\"resize\":{\"width\":\"1000\",\"height\":\"null\"},\"quality\":\"70%\",\"upsize\":true,\"thumbnails\":[{\"name\":\"medium\",\"scale\":\"50%\"},{\"name\":\"small\",\"scale\":\"25%\"},{\"name\":\"cropped\",\"crop\":{\"width\":\"300\",\"height\":\"250\"}}]}', 7), (36, 5, 'slug', 'text', 'Slug', 1, 0, 1, 1, 1, 1, '{\"slugify\":{\"origin\":\"title\",\"forceUpdate\":true},\"validation\":{\"rule\":\"unique:posts,slug\"}}', 8), (37, 5, 'meta_description', 'text_area', 'Meta Description', 1, 0, 1, 1, 1, 1, NULL, 9), (38, 5, 'meta_keywords', 'text_area', 'Meta Keywords', 1, 0, 1, 1, 1, 1, NULL, 10), (39, 5, 'status', 'select_dropdown', 'Status', 1, 1, 1, 1, 1, 1, '{\"default\":\"DRAFT\",\"options\":{\"PUBLISHED\":\"published\",\"DRAFT\":\"draft\",\"PENDING\":\"pending\"}}', 11), (40, 5, 'created_at', 'timestamp', 'Created At', 0, 1, 1, 0, 0, 0, NULL, 12), (41, 5, 'updated_at', 'timestamp', 'Updated At', 0, 0, 0, 0, 0, 0, NULL, 13), (42, 5, 'seo_title', 'text', 'SEO Title', 0, 1, 1, 1, 1, 1, NULL, 14), (43, 5, 'featured', 'checkbox', 'Featured', 1, 1, 1, 1, 1, 1, NULL, 15), (44, 6, 'id', 'number', 'ID', 1, 0, 0, 0, 0, 0, NULL, 1), (45, 6, 'author_id', 'text', 'Author', 1, 0, 0, 0, 0, 0, NULL, 2), (46, 6, 'title', 'text', 'Title', 1, 1, 1, 1, 1, 1, NULL, 3), (47, 6, 'excerpt', 'text_area', 'Excerpt', 1, 0, 1, 1, 1, 1, NULL, 4), (48, 6, 'body', 'rich_text_box', 'Body', 1, 0, 1, 1, 1, 1, NULL, 5), (49, 6, 'slug', 'text', 'Slug', 1, 0, 1, 1, 1, 1, '{\"slugify\":{\"origin\":\"title\"},\"validation\":{\"rule\":\"unique:pages,slug\"}}', 6), (50, 6, 'meta_description', 'text', 'Meta Description', 1, 0, 1, 1, 1, 1, NULL, 7), (51, 6, 'meta_keywords', 'text', 'Meta Keywords', 1, 0, 1, 1, 1, 1, NULL, 8), (52, 6, 'status', 'select_dropdown', 'Status', 1, 1, 1, 1, 1, 1, '{\"default\":\"INACTIVE\",\"options\":{\"INACTIVE\":\"INACTIVE\",\"ACTIVE\":\"ACTIVE\"}}', 9), (53, 6, 'created_at', 'timestamp', 'Created At', 1, 1, 1, 0, 0, 0, NULL, 10), (54, 6, 'updated_at', 'timestamp', 'Updated At', 1, 0, 0, 0, 0, 0, NULL, 11), (55, 6, 'image', 'image', 'Page Image', 0, 1, 1, 1, 1, 1, NULL, 12), (70, 9, 'id', 'number', 'Id', 1, 0, 0, 0, 0, 0, '{}', 1), (71, 9, 'owner_id', 'number', 'Người tạo', 0, 1, 0, 0, 0, 0, '{}', 3), (72, 9, 'song_name', 'text', 'Tên bài hát', 1, 1, 1, 1, 1, 1, '{}', 4), (73, 9, 'mp3_file', 'file', 'File nhạc', 1, 1, 1, 1, 1, 1, '{}', 5), (74, 9, 'description', 'text', 'Mô tả', 0, 0, 1, 1, 1, 1, '{}', 6), (75, 9, 'created_at', 'timestamp', 'Ngày tạo', 0, 1, 1, 1, 0, 1, '{}', 7), (76, 9, 'updated_at', 'timestamp', 'Ngày cập nhật', 0, 0, 0, 0, 0, 0, '{}', 8), (77, 9, 'song_belongstomany_song_relationship', 'relationship', 'Quyền xem', 0, 0, 1, 1, 1, 1, '{\"default\":[\"Admin\"],\"model\":\"TCG\\\\Voyager\\\\Models\\\\User\",\"table\":\"users\",\"type\":\"belongsToMany\",\"column\":\"id\",\"key\":\"id\",\"label\":\"name\",\"pivot_table\":\"song_permissions\",\"pivot\":\"1\",\"taggable\":\"0\"}', 9), (79, 17, 'id', 'text', 'Id', 1, 0, 0, 0, 0, 0, '{}', 1), (80, 17, 'name', 'text', 'Tên', 1, 1, 1, 1, 1, 1, '{}', 2), (81, 17, 'stage_name', 'text', 'Nghệ danh', 1, 1, 1, 1, 1, 1, '{}', 3), (82, 17, 'date_of_birth', 'date', 'Ngày sinh', 1, 0, 1, 1, 1, 1, '{}', 6), (83, 17, 'gender', 'select_dropdown', 'Giới tính', 1, 1, 1, 1, 1, 1, '{\"default\":0,\"options\":{\"0\":\"N\\u1eef\",\"1\":\"Nam\"}}', 5), (84, 17, 'email', 'text', 'Email', 1, 0, 1, 1, 1, 1, '{\"validation\":{\"rule\":\"required|email\"}}', 7), (85, 17, 'avatar', 'image', 'Hình ảnh', 0, 1, 1, 1, 1, 1, '{}', 4), (86, 17, 'address', 'text', 'Địa chỉ', 0, 0, 1, 1, 1, 1, '{}', 9), (87, 17, 'description', 'markdown_editor', 'Mô tả', 0, 0, 1, 1, 1, 1, '{}', 10), (88, 17, 'created_at', 'timestamp', 'Ngày tạo', 0, 1, 1, 1, 0, 1, '{}', 11), (89, 17, 'updated_at', 'timestamp', 'Ngày cập nhật', 0, 0, 0, 0, 0, 0, '{}', 12), (90, 17, 'phone', 'text', 'Số điện thoại', 0, 0, 1, 1, 1, 1, '{}', 8), (91, 18, 'id', 'text', 'Id', 1, 0, 0, 0, 0, 0, '{}', 1), (92, 18, 'name', 'text', 'Tên', 1, 1, 1, 1, 1, 1, '{}', 2), (93, 18, 'avatar', 'image', 'Hình ảnh', 0, 1, 1, 1, 1, 1, '{}', 3), (94, 18, 'created_at', 'timestamp', 'Ngày tạo', 0, 1, 1, 1, 0, 1, '{}', 4), (95, 18, 'updated_at', 'timestamp', 'Updated At', 0, 0, 0, 0, 0, 0, '{}', 5), (99, 20, 'id', 'text', 'Id', 1, 0, 0, 0, 0, 0, '{}', 1), (100, 20, 'artist_management_belongsto_user_relationship', 'relationship', 'Người quản lý', 0, 1, 1, 1, 1, 1, '{\"model\":\"TCG\\\\Voyager\\\\Models\\\\User\",\"table\":\"users\",\"type\":\"belongsTo\",\"column\":\"user_id\",\"key\":\"id\",\"label\":\"email\",\"pivot_table\":\"artist_management\",\"pivot\":\"0\",\"taggable\":\"0\"}', 2), (101, 20, 'artist_management_belongsto_artist_relationship', 'relationship', 'Nghệ sĩ', 0, 1, 1, 1, 1, 1, '{\"model\":\"App\\\\Artist\",\"table\":\"artists\",\"type\":\"belongsTo\",\"column\":\"kol_id\",\"key\":\"id\",\"label\":\"stage_name\",\"pivot_table\":\"artist_management\",\"pivot\":\"0\",\"taggable\":\"0\"}', 4), (102, 20, 'user_id', 'text', 'Người quản lý', 1, 1, 1, 1, 1, 1, '{}', 3), (103, 20, 'kol_id', 'text', 'Nghệ sĩ', 1, 1, 1, 1, 1, 1, '{}', 5), (104, 20, 'social_id', 'number', 'Mạng xã hội', 1, 0, 1, 1, 1, 1, '{}', 7), (105, 20, 'time', 'number', 'Thời lượng (phút)', 1, 1, 1, 1, 1, 1, '{}', 8), (106, 20, 'artist_management_belongsto_social_relationship', 'relationship', 'Mạng xã hội', 0, 1, 1, 1, 1, 1, '{\"model\":\"App\\\\Social\",\"table\":\"socials\",\"type\":\"belongsTo\",\"column\":\"social_id\",\"key\":\"id\",\"label\":\"name\",\"pivot_table\":\"artist_management\",\"pivot\":\"0\",\"taggable\":\"0\"}', 6), (107, 20, 'created_at', 'timestamp', 'Ngày tạo', 0, 1, 1, 1, 0, 1, '{}', 10), (108, 20, 'updated_at', 'timestamp', 'Ngày cập nhật', 0, 0, 0, 0, 0, 0, '{}', 11), (109, 1, 'email_verified_at', 'timestamp', 'Email Verified At', 0, 0, 1, 1, 1, 1, '{}', 6), (113, 21, 'id', 'number', 'Id', 1, 0, 0, 0, 0, 0, '{}', 1), (117, 21, 'created_at', 'timestamp', 'Ngày tạo', 0, 1, 1, 1, 0, 1, '{}', 8), (118, 21, 'updated_at', 'timestamp', 'Ngày cập nhật', 0, 0, 0, 0, 0, 0, '{}', 9), (119, 21, 'artist_id', 'number', 'Nghệ sĩ', 1, 1, 1, 1, 1, 1, '{}', 4), (121, 21, 'account_artist_belongsto_social_relationship', 'relationship', 'Mạng xã hội', 0, 1, 1, 1, 1, 1, '{\"model\":\"App\\\\Social\",\"table\":\"socials\",\"type\":\"belongsTo\",\"column\":\"social_id\",\"key\":\"id\",\"label\":\"name\",\"pivot_table\":\"account_artists\",\"pivot\":\"0\",\"taggable\":\"0\"}', 3), (122, 21, 'account_artist_belongsto_artist_relationship', 'relationship', 'Nghệ sĩ', 0, 1, 1, 1, 1, 1, '{\"model\":\"App\\\\Artist\",\"table\":\"artists\",\"type\":\"belongsTo\",\"column\":\"artist_id\",\"key\":\"id\",\"label\":\"stage_name\",\"pivot_table\":\"account_artists\",\"pivot\":\"0\",\"taggable\":\"0\"}', 5), (123, 21, 'social_id', 'text', 'Social Id', 1, 1, 1, 1, 1, 1, '{}', 2), (124, 20, 'description', 'markdown_editor', 'Mô tả', 0, 0, 1, 1, 1, 1, '{}', 9), (125, 21, 'cookie', 'text', 'Cookie', 0, 0, 1, 1, 1, 1, '{}', 8), (126, 20, 'time_over', 'hidden', 'Thời gian hết hạn', 0, 1, 0, 0, 1, 0, '{}', 9), (127, 20, 'account_id', 'number', 'Account', 0, 0, 0, 0, 0, 0, '{}', 10), (128, 9, 'song_belongsto_user_relationship', 'relationship', 'Người tạo', 0, 1, 0, 0, 0, 0, '{\"model\":\"TCG\\\\Voyager\\\\Models\\\\User\",\"table\":\"users\",\"type\":\"belongsTo\",\"column\":\"owner_id\",\"key\":\"id\",\"label\":\"name\",\"pivot_table\":\"account_artists\",\"pivot\":\"0\",\"taggable\":\"0\"}', 2), (129, 21, 'user_name', 'text', 'Tài khoản', 0, 0, 1, 1, 1, 0, '{}', 7), (130, 21, 'password', 'password', '<PASSWORD>', 0, 0, 1, 1, 1, 0, '{}', 8), (132, 9, 'song_id_gg_drive', 'text', 'Song Id Gg Drive', 0, 0, 0, 0, 0, 0, '{}', 8); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `data_types` -- CREATE TABLE `data_types` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `display_name_singular` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `display_name_plural` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `icon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `model_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `policy_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `controller` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `generate_permissions` tinyint(1) NOT NULL DEFAULT 0, `server_side` tinyint(4) NOT NULL DEFAULT 0, `details` text 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; -- -- Đang đổ dữ liệu cho bảng `data_types` -- INSERT INTO `data_types` (`id`, `name`, `slug`, `display_name_singular`, `display_name_plural`, `icon`, `model_name`, `policy_name`, `controller`, `description`, `generate_permissions`, `server_side`, `details`, `created_at`, `updated_at`) VALUES (1, 'users', 'users', 'User', 'Users', 'voyager-person', 'TCG\\Voyager\\Models\\User', 'TCG\\Voyager\\Policies\\UserPolicy', 'TCG\\Voyager\\Http\\Controllers\\VoyagerUserController', NULL, 1, 0, '{\"order_column\":null,\"order_display_column\":null,\"order_direction\":\"desc\",\"default_search_key\":null,\"scope\":null}', '2021-01-08 04:06:30', '2021-01-12 02:25:52'), (2, 'menus', 'menus', 'Menu', 'Menus', 'voyager-list', 'TCG\\Voyager\\Models\\Menu', NULL, '', '', 1, 0, NULL, '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (3, 'roles', 'roles', 'Role', 'Roles', 'voyager-lock', 'TCG\\Voyager\\Models\\Role', NULL, 'TCG\\Voyager\\Http\\Controllers\\VoyagerRoleController', '', 1, 0, NULL, '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (4, 'categories', 'categories', 'Category', 'Categories', 'voyager-categories', 'TCG\\Voyager\\Models\\Category', NULL, '', '', 1, 0, NULL, '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (5, 'posts', 'posts', 'Post', 'Posts', 'voyager-news', 'TCG\\Voyager\\Models\\Post', 'TCG\\Voyager\\Policies\\PostPolicy', '', '', 1, 0, NULL, '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (6, 'pages', 'pages', 'Page', 'Pages', 'voyager-file-text', 'TCG\\Voyager\\Models\\Page', NULL, '', '', 1, 0, NULL, '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (9, 'songs', 'songs', 'Bài hát', 'Bài hát', 'voyager-music', 'App\\Song', 'App\\Policies\\WorkstationPolicy', 'App\\Http\\Controllers\\Back\\VoyagerSongController', NULL, 1, 1, '{\"order_column\":null,\"order_display_column\":null,\"order_direction\":\"asc\",\"default_search_key\":null,\"scope\":\"currentUser\"}', '2021-01-08 07:28:21', '2021-01-27 14:56:01'), (13, 'famous_personal', 'famous-personal', 'Famous Personal', 'Famous Personals', 'voyager-group', 'App\\FamousPersonal', NULL, NULL, NULL, 1, 1, '{\"order_column\":null,\"order_display_column\":null,\"order_direction\":\"asc\",\"default_search_key\":null}', '2021-01-11 02:10:35', '2021-01-11 02:10:35'), (17, 'artists', 'artists', 'Nghệ sĩ', 'Nghệ sĩ', 'voyager-trophy', 'App\\Artist', NULL, NULL, NULL, 1, 1, '{\"order_column\":null,\"order_display_column\":null,\"order_direction\":\"asc\",\"default_search_key\":null,\"scope\":null}', '2021-01-11 02:20:51', '2021-01-13 20:43:54'), (18, 'socials', 'socials', 'Social', 'Mạng xã hội', 'voyager-facebook', 'App\\Social', NULL, NULL, NULL, 1, 1, '{\"order_column\":null,\"order_display_column\":null,\"order_direction\":\"asc\",\"default_search_key\":null,\"scope\":null}', '2021-01-11 02:44:31', '2021-01-11 02:51:02'), (20, 'artist_management', 'artist-management', 'Quản lý nghệ sĩ', 'Quản lý nghệ sĩ', 'voyager-medal-rank-star', 'App\\ArtistManagement', NULL, 'App\\Http\\Controllers\\Back\\VoyagerArtistManagementController', NULL, 1, 1, '{\"order_column\":null,\"order_display_column\":null,\"order_direction\":\"asc\",\"default_search_key\":null,\"scope\":\"currentManager\"}', '2021-01-12 02:00:59', '2021-01-14 19:45:53'), (21, 'account_artists', 'account-artists', 'Tài khoản nghệ sĩ', 'Tài khoản nghệ sĩ', 'voyager-plus', 'App\\AccountArtist', NULL, NULL, NULL, 1, 1, '{\"order_column\":null,\"order_display_column\":null,\"order_direction\":\"asc\",\"default_search_key\":null,\"scope\":null}', '2021-01-12 20:47:07', '2021-01-18 07:36:54'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `failed_jobs` -- CREATE TABLE `failed_jobs` ( `id` bigint(20) UNSIGNED NOT NULL, `uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `connection` text COLLATE utf8mb4_unicode_ci NOT NULL, `queue` text COLLATE utf8mb4_unicode_ci NOT NULL, `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `failed_at` timestamp NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `file_paths` -- CREATE TABLE `file_paths` ( `id` int(10) UNSIGNED NOT NULL, `path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `menus` -- CREATE TABLE `menus` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `menus` -- INSERT INTO `menus` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'admin', '2021-01-08 04:06:30', '2021-01-08 04:06:30'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `menu_items` -- CREATE TABLE `menu_items` ( `id` int(10) UNSIGNED NOT NULL, `menu_id` int(10) UNSIGNED DEFAULT NULL, `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `target` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '_self', `icon_class` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `color` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `parent_id` int(11) DEFAULT NULL, `order` int(11) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `route` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `parameters` text COLLATE utf8mb4_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `menu_items` -- INSERT INTO `menu_items` (`id`, `menu_id`, `title`, `url`, `target`, `icon_class`, `color`, `parent_id`, `order`, `created_at`, `updated_at`, `route`, `parameters`) VALUES (1, 1, 'Trang chủ', '', '_self', 'voyager-boat', '#000000', NULL, 1, '2021-01-08 04:06:30', '2021-01-12 20:02:12', 'voyager.dashboard', 'null'), (2, 1, 'Media', '', '_self', 'voyager-images', NULL, 29, 1, '2021-01-08 04:06:30', '2021-01-18 02:39:37', 'voyager.media.index', NULL), (3, 1, 'Người dùng', '', '_self', 'voyager-person', '#000000', 33, 1, '2021-01-08 04:06:30', '2021-01-18 02:40:54', 'voyager.users.index', 'null'), (4, 1, 'Phân quyền', '', '_self', 'voyager-lock', '#000000', 33, 2, '2021-01-08 04:06:30', '2021-01-18 02:41:05', 'voyager.roles.index', 'null'), (5, 1, 'Công cụ', '', '_self', 'voyager-tools', '#000000', NULL, 6, '2021-01-08 04:06:30', '2021-01-19 07:53:20', NULL, ''), (6, 1, 'Menu Builder', '', '_self', 'voyager-list', NULL, 5, 1, '2021-01-08 04:06:30', '2021-01-12 19:57:27', 'voyager.menus.index', NULL), (7, 1, 'Database', '', '_self', 'voyager-data', NULL, 5, 2, '2021-01-08 04:06:30', '2021-01-12 19:57:27', 'voyager.database.index', NULL), (8, 1, 'Compass', '', '_self', 'voyager-compass', NULL, 5, 3, '2021-01-08 04:06:30', '2021-01-12 19:57:27', 'voyager.compass.index', NULL), (9, 1, 'BREAD', '', '_self', 'voyager-bread', NULL, 5, 4, '2021-01-08 04:06:30', '2021-01-12 19:57:27', 'voyager.bread.index', NULL), (10, 1, 'Settings', '', '_self', 'voyager-settings', NULL, 29, 2, '2021-01-08 04:06:30', '2021-01-18 02:39:37', 'voyager.settings.index', NULL), (14, 1, 'Hooks', '', '_self', 'voyager-hook', NULL, 5, 5, '2021-01-08 04:06:31', '2021-01-12 19:57:27', 'voyager.hooks', NULL), (17, 1, 'Bài hát', '', '_self', 'voyager-sound', '#000000', 32, 1, '2021-01-08 07:28:21', '2021-01-18 02:43:30', 'voyager.songs.index', 'null'), (25, 1, 'Nghệ sĩ', '', '_self', 'voyager-group', '#000000', 31, 2, '2021-01-11 02:20:51', '2021-01-19 07:54:44', 'voyager.artists.index', 'null'), (26, 1, 'Mạng x<NAME>i', '', '_self', 'voyager-facebook', NULL, NULL, 5, '2021-01-11 02:44:31', '2021-01-19 07:53:20', 'voyager.socials.index', NULL), (28, 1, 'Quản lý nghệ sĩ', '', '_self', 'voyager-medal-rank-star', NULL, 31, 1, '2021-01-12 02:00:59', '2021-01-19 07:54:44', 'voyager.artist-management.index', NULL), (29, 1, 'Cài đặt', '', '_self', 'voyager-settings', '#000000', NULL, 7, '2021-01-12 19:58:40', '2021-01-19 07:53:20', NULL, ''), (30, 1, 'Tài khoản nghệ sĩ', '', '_self', 'voyager-plus', '#000000', 31, 3, '2021-01-12 20:47:07', '2021-01-18 02:38:55', 'voyager.account-artists.index', 'null'), (31, 1, 'Nghệ sĩ', '', '_self', 'voyager-activity', '#000000', NULL, 3, '2021-01-18 02:37:33', '2021-01-19 07:53:26', NULL, ''), (32, 1, 'Bài hát', '', '_self', 'voyager-music', '#000000', NULL, 4, '2021-01-18 02:39:20', '2021-01-19 07:53:20', NULL, ''), (33, 1, 'Người dùng', '', '_self', 'voyager-person', '#000000', NULL, 2, '2021-01-18 02:40:28', '2021-01-18 02:45:12', NULL, ''); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `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; -- -- Đang đổ dữ liệu cho bảng `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, '2016_01_01_000000_add_voyager_user_fields', 1), (4, '2016_01_01_000000_create_data_types_table', 1), (5, '2016_05_19_173453_create_menu_table', 1), (6, '2016_10_21_190000_create_roles_table', 1), (7, '2016_10_21_190000_create_settings_table', 1), (8, '2016_11_30_135954_create_permission_table', 1), (9, '2016_11_30_141208_create_permission_role_table', 1), (10, '2016_12_26_201236_data_types__add__server_side', 1), (11, '2017_01_13_000000_add_route_to_menu_items_table', 1), (12, '2017_01_14_005015_create_translations_table', 1), (13, '2017_01_15_000000_make_table_name_nullable_in_permissions_table', 1), (14, '2017_03_06_000000_add_controller_to_data_types_table', 1), (15, '2017_04_21_000000_add_order_to_data_rows_table', 1), (16, '2017_07_05_210000_add_policyname_to_data_types_table', 1), (17, '2017_08_05_000000_add_group_to_settings_table', 1), (18, '2017_11_26_013050_add_user_role_relationship', 1), (19, '2017_11_26_015000_create_user_roles_table', 1), (20, '2018_03_11_000000_add_user_settings', 1), (21, '2018_03_14_000000_add_details_to_data_types_table', 1), (22, '2018_03_16_000000_make_settings_value_nullable', 1), (23, '2019_08_19_000000_create_failed_jobs_table', 1), (24, '2016_01_01_000000_create_pages_table', 2), (25, '2016_01_01_000000_create_posts_table', 2), (26, '2016_02_15_204651_create_categories_table', 2), (27, '2017_04_11_000000_alter_post_nullable_fields_table', 2), (28, '2021_01_12_033746_create_download_files_table', 3), (29, '2021_01_12_035712_create_song_files_table', 4); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `pages` -- CREATE TABLE `pages` ( `id` int(10) UNSIGNED NOT NULL, `author_id` int(11) NOT NULL, `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `excerpt` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `body` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `meta_description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `meta_keywords` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` enum('ACTIVE','INACTIVE') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'INACTIVE', `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `pages` -- INSERT INTO `pages` (`id`, `author_id`, `title`, `excerpt`, `body`, `image`, `slug`, `meta_description`, `meta_keywords`, `status`, `created_at`, `updated_at`) VALUES (1, 0, 'Hello World', 'Hang the jib grog grog blossom grapple dance the hempen jig gangway pressgang bilge rat to go on account lugger. Nelsons folly gabion line draught scallywag fire ship gaff fluke fathom case shot. Sea Legs bilge rat sloop matey gabion long clothes run a shot across the bow Gold Road cog league.', '<p>Hello World. Scallywag grog swab Cat o\'nine tails scuttle rigging hardtack cable nipper <NAME>. Handsomely spirits knave lad killick landlubber or just lubber deadlights chantey pinnace crack Jennys tea cup. Provost long clothes black spot Yellow Jack bilged on her anchor league lateen sail case shot lee tackle.</p>\r\n<p>Ballast spirits fluke topmast me quarterdeck schooner landlubber or just lubber gabion belaying pin. Pinnace stern galleon starboard warp carouser to go on account dance the hempen jig jolly boat measured fer yer chains. Man-of-war fire in the hole nipperkin handsomely doubloon barkadeer Brethren of the Coast gibbet driver squiffy.</p>', 'pages/page1.jpg', 'hello-world', 'Yar Meta Description', 'Keyword1, Keyword2', 'ACTIVE', '2021-01-08 04:06:31', '2021-01-08 04:06:31'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `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; -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `permissions` -- CREATE TABLE `permissions` ( `id` bigint(20) UNSIGNED NOT NULL, `key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `table_name` 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; -- -- Đang đổ dữ liệu cho bảng `permissions` -- INSERT INTO `permissions` (`id`, `key`, `table_name`, `created_at`, `updated_at`) VALUES (1, 'browse_admin', NULL, '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (2, 'browse_bread', NULL, '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (3, 'browse_database', NULL, '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (4, 'browse_media', NULL, '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (5, 'browse_compass', NULL, '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (6, 'browse_menus', 'menus', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (7, 'read_menus', 'menus', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (8, 'edit_menus', 'menus', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (9, 'add_menus', 'menus', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (10, 'delete_menus', 'menus', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (11, 'browse_roles', 'roles', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (12, 'read_roles', 'roles', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (13, 'edit_roles', 'roles', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (14, 'add_roles', 'roles', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (15, 'delete_roles', 'roles', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (16, 'browse_users', 'users', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (17, 'read_users', 'users', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (18, 'edit_users', 'users', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (19, 'add_users', 'users', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (20, 'delete_users', 'users', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (21, 'browse_settings', 'settings', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (22, 'read_settings', 'settings', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (23, 'edit_settings', 'settings', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (24, 'add_settings', 'settings', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (25, 'delete_settings', 'settings', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (26, 'browse_categories', 'categories', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (27, 'read_categories', 'categories', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (28, 'edit_categories', 'categories', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (29, 'add_categories', 'categories', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (30, 'delete_categories', 'categories', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (31, 'browse_posts', 'posts', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (32, 'read_posts', 'posts', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (33, 'edit_posts', 'posts', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (34, 'add_posts', 'posts', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (35, 'delete_posts', 'posts', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (36, 'browse_pages', 'pages', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (37, 'read_pages', 'pages', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (38, 'edit_pages', 'pages', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (39, 'add_pages', 'pages', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (40, 'delete_pages', 'pages', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (41, 'browse_hooks', NULL, '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (52, 'browse_songs', 'songs', '2021-01-08 07:28:21', '2021-01-08 07:28:21'), (53, 'read_songs', 'songs', '2021-01-08 07:28:21', '2021-01-08 07:28:21'), (54, 'edit_songs', 'songs', '2021-01-08 07:28:21', '2021-01-08 07:28:21'), (55, 'add_songs', 'songs', '2021-01-08 07:28:21', '2021-01-08 07:28:21'), (56, 'delete_songs', 'songs', '2021-01-08 07:28:21', '2021-01-08 07:28:21'), (72, 'browse_famous_personal', 'famous_personal', '2021-01-11 02:10:35', '2021-01-11 02:10:35'), (73, 'read_famous_personal', 'famous_personal', '2021-01-11 02:10:35', '2021-01-11 02:10:35'), (74, 'edit_famous_personal', 'famous_personal', '2021-01-11 02:10:35', '2021-01-11 02:10:35'), (75, 'add_famous_personal', 'famous_personal', '2021-01-11 02:10:35', '2021-01-11 02:10:35'), (76, 'delete_famous_personal', 'famous_personal', '2021-01-11 02:10:35', '2021-01-11 02:10:35'), (92, 'browse_artists', 'artists', '2021-01-11 02:20:51', '2021-01-11 02:20:51'), (93, 'read_artists', 'artists', '2021-01-11 02:20:51', '2021-01-11 02:20:51'), (94, 'edit_artists', 'artists', '2021-01-11 02:20:51', '2021-01-11 02:20:51'), (95, 'add_artists', 'artists', '2021-01-11 02:20:51', '2021-01-11 02:20:51'), (96, 'delete_artists', 'artists', '2021-01-11 02:20:51', '2021-01-11 02:20:51'), (97, 'browse_socials', 'socials', '2021-01-11 02:44:31', '2021-01-11 02:44:31'), (98, 'read_socials', 'socials', '2021-01-11 02:44:31', '2021-01-11 02:44:31'), (99, 'edit_socials', 'socials', '2021-01-11 02:44:31', '2021-01-11 02:44:31'), (100, 'add_socials', 'socials', '2021-01-11 02:44:31', '2021-01-11 02:44:31'), (101, 'delete_socials', 'socials', '2021-01-11 02:44:31', '2021-01-11 02:44:31'), (107, 'browse_artist_management', 'artist_management', '2021-01-12 02:00:59', '2021-01-12 02:00:59'), (108, 'read_artist_management', 'artist_management', '2021-01-12 02:00:59', '2021-01-12 02:00:59'), (109, 'edit_artist_management', 'artist_management', '2021-01-12 02:00:59', '2021-01-12 02:00:59'), (110, 'add_artist_management', 'artist_management', '2021-01-12 02:00:59', '2021-01-12 02:00:59'), (111, 'delete_artist_management', 'artist_management', '2021-01-12 02:00:59', '2021-01-12 02:00:59'), (112, 'browse_account_artists', 'account_artists', '2021-01-12 20:47:07', '2021-01-12 20:47:07'), (113, 'read_account_artists', 'account_artists', '2021-01-12 20:47:07', '2021-01-12 20:47:07'), (114, 'edit_account_artists', 'account_artists', '2021-01-12 20:47:07', '2021-01-12 20:47:07'), (115, 'add_account_artists', 'account_artists', '2021-01-12 20:47:07', '2021-01-12 20:47:07'), (116, 'delete_account_artists', 'account_artists', '2021-01-12 20:47:07', '2021-01-12 20:47:07'), (117, 'login_extension', NULL, NULL, NULL), (124, 'login_tool', NULL, NULL, NULL), (126, 'dowload_file', NULL, NULL, NULL); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `permission_role` -- CREATE TABLE `permission_role` ( `permission_id` bigint(20) UNSIGNED NOT NULL, `role_id` bigint(20) UNSIGNED NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `permission_role` -- INSERT INTO `permission_role` (`permission_id`, `role_id`) VALUES (1, 1), (1, 2), (2, 1), (3, 1), (4, 1), (5, 1), (6, 1), (7, 1), (8, 1), (9, 1), (10, 1), (11, 1), (12, 1), (13, 1), (14, 1), (15, 1), (16, 1), (17, 1), (18, 1), (19, 1), (20, 1), (21, 1), (22, 1), (23, 1), (24, 1), (25, 1), (26, 1), (27, 1), (28, 1), (29, 1), (30, 1), (31, 1), (32, 1), (33, 1), (34, 1), (35, 1), (36, 1), (37, 1), (38, 1), (39, 1), (40, 1), (41, 1), (52, 1), (52, 2), (53, 1), (53, 2), (54, 1), (54, 2), (55, 1), (55, 2), (56, 1), (56, 2), (72, 1), (73, 1), (74, 1), (75, 1), (76, 1), (92, 1), (93, 1), (94, 1), (95, 1), (96, 1), (97, 1), (98, 1), (99, 1), (100, 1), (101, 1), (107, 1), (108, 1), (109, 1), (110, 1), (111, 1), (112, 1), (113, 1), (114, 1), (115, 1), (116, 1), (117, 1), (117, 4), (124, 1), (124, 5), (126, 1), (126, 6); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `posts` -- CREATE TABLE `posts` ( `id` int(10) UNSIGNED NOT NULL, `author_id` int(11) NOT NULL, `category_id` int(11) DEFAULT NULL, `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `seo_title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `excerpt` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `body` text COLLATE utf8mb4_unicode_ci NOT NULL, `image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `meta_description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `meta_keywords` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `status` enum('PUBLISHED','DRAFT','PENDING') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'DRAFT', `featured` tinyint(1) NOT NULL DEFAULT 0, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `posts` -- INSERT INTO `posts` (`id`, `author_id`, `category_id`, `title`, `seo_title`, `excerpt`, `body`, `image`, `slug`, `meta_description`, `meta_keywords`, `status`, `featured`, `created_at`, `updated_at`) VALUES (1, 0, NULL, 'Lorem Ipsum Post', NULL, 'This is the excerpt for the Lorem Ipsum Post', '<p>This is the body of the lorem ipsum post</p>', 'posts/post1.jpg', 'lorem-ipsum-post', 'This is the meta description', 'keyword1, keyword2, keyword3', 'PUBLISHED', 0, '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (2, 0, NULL, 'My Sample Post', NULL, 'This is the excerpt for the sample Post', '<p>This is the body for the sample post, which includes the body.</p>\r\n <h2>We can use all kinds of format!</h2>\r\n <p>And include a bunch of other stuff.</p>', 'posts/post2.jpg', 'my-sample-post', 'Meta Description for sample post', 'keyword1, keyword2, keyword3', 'PUBLISHED', 0, '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (3, 0, NULL, 'Latest Post', NULL, 'This is the excerpt for the latest post', '<p>This is the body for the latest post</p>', 'posts/post3.jpg', 'latest-post', 'This is the meta description', 'keyword1, keyword2, keyword3', 'PUBLISHED', 0, '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (5, 2, 1, 'Slider trang chủdadsad', NULL, NULL, '<p>fdsfdsfdsdf</p>', NULL, 'slider-trang-chudadsad', NULL, NULL, 'PUBLISHED', 0, '2021-01-08 05:46:54', '2021-01-08 05:46:54'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `roles` -- CREATE TABLE `roles` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `display_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `roles` -- INSERT INTO `roles` (`id`, `name`, `display_name`, `created_at`, `updated_at`) VALUES (1, 'admin', 'Administrator', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (2, 'user', 'Normal User', '2021-01-08 04:06:30', '2021-01-08 04:06:30'), (4, 'User Extension', 'User Extension', '2021-01-18 03:41:33', '2021-01-18 03:41:33'), (5, 'User Tool', 'User Tool', '2021-01-19 02:50:15', '2021-01-19 02:50:15'), (6, 'User Download', 'User Download', '2021-01-26 16:07:11', '2021-01-26 16:51:17'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `sessions` -- CREATE TABLE `sessions` ( `id` int(10) UNSIGNED NOT NULL, `token` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `user_id` int(11) DEFAULT NULL, `ip` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `status` tinyint(4) DEFAULT 1 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `sessions` -- INSERT INTO `sessions` (`id`, `token`, `user_id`, `ip`, `created_at`, `updated_at`, `status`) VALUES (1, '<KEY>pPr0NQ_oY', 2, '127.0.0.1', '2021-01-12 21:26:23', '2021-01-12 21:26:23', 0), (2, '<KEY>', 2, '127.0.0.1', '2021-01-12 21:41:22', '2021-01-19 09:55:19', 0), (3, '<KEY>', 2, '127.0.0.1', '2021-01-12 21:41:50', '2021-01-19 09:55:19', 0), (4, '<KEY>', 2, '127.0.0.1', '2021-01-13 01:42:25', '2021-01-19 09:55:19', 0), (5, '<KEY>', 2, '127.0.0.1', '2021-01-13 01:44:06', '2021-01-19 09:55:19', 0), (6, '<KEY>', 2, '127.0.0.1', '2021-01-13 01:45:27', '2021-01-19 09:55:19', 0), (7, '<KEY>', 2, '127.0.0.1', '2021-01-13 01:45:57', '2021-01-19 09:55:19', 0), (8, '<KEY>', 2, '127.0.0.1', '2021-01-13 01:46:02', '2021-01-19 09:55:19', 0), (9, '<KEY>', 2, '127.0.0.1', '2021-01-13 01:49:30', '2021-01-19 09:55:19', 0), (10, '<KEY>', 2, '127.0.0.1', '2021-01-13 01:50:08', '2021-01-19 09:55:19', 0), (11, '<KEY>', 2, '127.0.0.1', '2021-01-13 01:56:21', '2021-01-19 09:55:19', 0), (12, '<KEY>RPHM6PTrwD7yz5jnk', 2, '127.0.0.1', '2021-01-13 01:57:32', '2021-01-19 09:55:19', 0), (13, '<KEY>', 2, '127.0.0.1', '2021-01-13 01:57:37', '2021-01-19 09:55:19', 0), (14, '<KEY>', 2, '127.0.0.1', '2021-01-13 01:57:41', '2021-01-19 09:55:19', 0), (15, '<KEY>', 2, '127.0.0.1', '2021-01-13 01:58:10', '2021-01-19 09:55:19', 0), (16, '<KEY>', 2, '127.0.0.1', '2021-01-13 01:58:14', '2021-01-19 09:55:19', 0), (17, '<KEY>', 2, '127.0.0.1', '2021-01-13 01:58:34', '2021-01-19 09:55:19', 0), (18, '<KEY>', 2, '127.0.0.1', '2021-01-13 01:58:37', '2021-01-19 09:55:19', 0), (19, '<KEY>', 2, '127.0.0.1', '2021-01-13 01:58:51', '2021-01-19 09:55:19', 0), (20, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:01:07', '2021-01-19 09:55:19', 0), (21, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:02:30', '2021-01-19 09:55:19', 0), (22, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:03:16', '2021-01-19 09:55:19', 0), (23, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:04:27', '2021-01-19 09:55:19', 0), (24, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:04:34', '2021-01-19 09:55:19', 0), (25, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:08:28', '2021-01-19 09:55:19', 0), (26, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:09:00', '2021-01-19 09:55:19', 0), (27, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:10:16', '2021-01-19 09:55:19', 0), (28, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:10:51', '2021-01-19 09:55:19', 0), (29, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:11:00', '2021-01-19 09:55:19', 0), (30, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:11:09', '2021-01-19 09:55:19', 0), (31, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:13:41', '2021-01-19 09:55:19', 0), (32, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:15:17', '2021-01-19 09:55:19', 0), (33, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:15:20', '2021-01-19 09:55:19', 0), (34, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:15:29', '2021-01-19 09:55:19', 0), (35, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:15:36', '2021-01-19 09:55:19', 0), (36, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:18:08', '2021-01-19 09:55:19', 0), (37, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:18:11', '2021-01-19 09:55:19', 0), (38, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:18:12', '2021-01-19 09:55:19', 0), (39, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:18:16', '2021-01-19 09:55:19', 0), (40, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:18:18', '2021-01-19 09:55:19', 0), (41, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:18:28', '2021-01-19 09:55:19', 0), (42, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:18:41', '2021-01-19 09:55:19', 0), (43, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:18:42', '2021-01-19 09:55:19', 0), (44, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:20:50', '2021-01-19 09:55:19', 0), (45, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:20:58', '2021-01-19 09:55:19', 0), (46, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:21:39', '2021-01-19 09:55:19', 0), (47, 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MiwiZW1haWwiOiJjb25nc29uNjE5OUBnbWFpbC5jb20iLCJhdmF0YXIiOiJ1c2Vyc1xcSmFudWFyeTIwMjFcXFpmSHdHYzBjQ0xkbmxsSXV5V0NjLmpwZyIsIm5hbWUiOiJIb1x1MDBlMG5nIENcdTAwZjRuZyBTXHUwMWExbiJ9.4VYkS-tFgCenvJFibbvYc9nO9tRPHM6PTrwD7yz5jnk', 2, '127.0.0.1', '2021-01-13 02:22:53', '2021-01-19 09:55:19', 0), (48, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:23:02', '2021-01-19 09:55:19', 0), (49, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:23:58', '2021-01-19 09:55:19', 0), (50, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:24:13', '2021-01-19 09:55:19', 0), (51, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:25:44', '2021-01-19 09:55:19', 0), (52, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:26:05', '2021-01-19 09:55:19', 0), (53, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:26:09', '2021-01-19 09:55:19', 0), (54, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:26:12', '2021-01-19 09:55:19', 0), (55, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:26:21', '2021-01-19 09:55:19', 0), (56, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:26:45', '2021-01-19 09:55:19', 0), (57, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:28:42', '2021-01-19 09:55:19', 0), (58, 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MiwiZW1haWwiOiJjb25nc29uNjE5OUBnbWFpbC5jb20iLCJhdmF0YXIiOiJ1c2Vyc1xcSmFudWFyeTIwMjFcXFpmSHdHYzBjQ0xkbmxsSXV5V0NjLmpwZyIsIm5hbWUiOiJIb1x1MDBlMG5nIENcdTAwZjRuZyBTXHUwMWExbiJ9.4VYkS-tFgCenvJFibbvYc9nO9tRPHM6PTrwD7yz5jnk', 2, '127.0.0.1', '2021-01-13 02:28:48', '2021-01-19 09:55:19', 0), (59, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:28:51', '2021-01-19 09:55:19', 0), (60, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:28:54', '2021-01-19 09:55:19', 0), (61, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:28:58', '2021-01-19 09:55:19', 0), (62, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:29:01', '2021-01-19 09:55:19', 0), (63, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:29:11', '2021-01-19 09:55:19', 0), (64, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:29:14', '2021-01-19 09:55:19', 0), (65, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:29:18', '2021-01-19 09:55:19', 0), (66, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:29:21', '2021-01-19 09:55:19', 0), (67, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:29:24', '2021-01-19 09:55:19', 0), (68, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:29:27', '2021-01-19 09:55:19', 0), (69, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:30:35', '2021-01-19 09:55:19', 0), (70, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:30:38', '2021-01-19 09:55:19', 0), (71, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:30:51', '2021-01-19 09:55:19', 0), (72, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:31:21', '2021-01-19 09:55:19', 0), (73, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:31:25', '2021-01-19 09:55:19', 0), (74, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:32:43', '2021-01-19 09:55:19', 0), (75, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:33:29', '2021-01-19 09:55:19', 0), (76, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:33:54', '2021-01-19 09:55:19', 0), (77, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:34:02', '2021-01-19 09:55:19', 0), (78, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:35:16', '2021-01-19 09:55:19', 0), (79, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:35:41', '2021-01-19 09:55:19', 0), (80, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:36:31', '2021-01-19 09:55:19', 0), (81, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:36:41', '2021-01-19 09:55:19', 0), (82, '<KEY>PTrwD7yz5jnk', 2, '127.0.0.1', '2021-01-13 02:37:13', '2021-01-19 09:55:19', 0), (83, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:37:34', '2021-01-19 09:55:19', 0), (84, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:38:34', '2021-01-19 09:55:19', 0), (85, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:38:50', '2021-01-19 09:55:19', 0), (86, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:39:23', '2021-01-19 09:55:19', 0), (87, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:40:55', '2021-01-19 09:55:19', 0), (88, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:42:37', '2021-01-19 09:55:19', 0), (89, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:42:54', '2021-01-19 09:55:19', 0), (90, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:45:19', '2021-01-19 09:55:19', 0), (91, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:45:41', '2021-01-19 09:55:19', 0), (92, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:46:04', '2021-01-19 09:55:19', 0), (93, '<KEY>JFibbvYc9nO9tRPHM6PTrwD7yz5jnk', 2, '127.0.0.1', '2021-01-13 02:46:07', '2021-01-19 09:55:19', 0), (94, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:46:09', '2021-01-19 09:55:19', 0), (95, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:46:11', '2021-01-19 09:55:19', 0), (96, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:46:13', '2021-01-19 09:55:19', 0), (97, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:46:15', '2021-01-19 09:55:19', 0), (98, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:47:06', '2021-01-19 09:55:19', 0), (99, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:47:08', '2021-01-19 09:55:19', 0), (100, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:47:11', '2021-01-19 09:55:19', 0), (101, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:47:14', '2021-01-19 09:55:19', 0), (102, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:47:41', '2021-01-19 09:55:19', 0), (103, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:47:45', '2021-01-19 09:55:19', 0), (104, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:47:55', '2021-01-19 09:55:19', 0), (105, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:48:00', '2021-01-19 09:55:19', 0), (106, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:48:19', '2021-01-19 09:55:19', 0), (107, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:48:28', '2021-01-19 09:55:19', 0), (108, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:49:22', '2021-01-19 09:55:19', 0), (109, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:49:38', '2021-01-19 09:55:19', 0), (110, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:49:43', '2021-01-19 09:55:19', 0), (111, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:49:50', '2021-01-19 09:55:19', 0), (112, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:49:56', '2021-01-19 09:55:19', 0), (113, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:50:17', '2021-01-19 09:55:19', 0), (114, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:50:23', '2021-01-19 09:55:19', 0), (115, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:50:27', '2021-01-19 09:55:19', 0), (116, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:50:31', '2021-01-19 09:55:19', 0), (117, 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MiwiZW1haWwiOiJjb25nc29uNjE5OUBnbWFpbC5jb20iLCJhdmF0YXIiOiJ1c2Vyc1xcSmFudWFyeTIwMjFcXFpmSHdHYzBjQ0xkbmxsSXV5V0NjLmpwZyIsIm5hbWUiOiJIb1x1MDBlMG5nIENcdTAwZjRuZyBTXHUwMWExbiJ9.4VYkS-tFgCenvJFibbvYc9nO9tRPHM6PTrwD7yz5jnk', 2, '127.0.0.1', '2021-01-13 02:53:14', '2021-01-19 09:55:19', 0), (118, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:53:58', '2021-01-19 09:55:19', 0), (119, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:54:13', '2021-01-19 09:55:19', 0), (120, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:54:20', '2021-01-19 09:55:19', 0), (121, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:54:24', '2021-01-19 09:55:19', 0), (122, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:55:52', '2021-01-19 09:55:19', 0), (123, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:56:07', '2021-01-19 09:55:19', 0), (124, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:56:11', '2021-01-19 09:55:19', 0), (125, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:56:13', '2021-01-19 09:55:19', 0), (126, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:56:17', '2021-01-19 09:55:19', 0), (127, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:56:29', '2021-01-19 09:55:19', 0), (128, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:56:36', '2021-01-19 09:55:19', 0), (129, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:56:42', '2021-01-19 09:55:19', 0), (130, 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MiwiZW1haWwiOiJjb25nc29uNjE5OUBnbWFpbC5jb20iLCJhdmF0YXIiOiJ1c2Vyc1xcSmFudWFyeTIwMjFcXFpmSHdHYzBjQ0xkbmxsSXV5V0NjLmpwZyIsIm5hbWUiOiJIb1x1MDBlMG5nIENcdTAwZjRuZyBTXHUwMWExbiJ9.4VYkS-tFgCenvJFibbvYc9nO9tRPHM6PTrwD7yz5jnk', 2, '127.0.0.1', '2021-01-13 02:57:12', '2021-01-19 09:55:19', 0), (131, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:57:15', '2021-01-19 09:55:19', 0), (132, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:57:18', '2021-01-19 09:55:19', 0), (133, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:57:41', '2021-01-19 09:55:19', 0), (134, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:58:02', '2021-01-19 09:55:19', 0), (135, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:58:05', '2021-01-19 09:55:19', 0), (136, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:58:08', '2021-01-19 09:55:19', 0), (137, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:58:11', '2021-01-19 09:55:19', 0), (138, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:58:14', '2021-01-19 09:55:19', 0), (139, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:58:17', '2021-01-19 09:55:19', 0), (140, '<KEY>', 2, '127.0.0.1', '2021-01-13 02:58:20', '2021-01-19 09:55:19', 0), (141, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:00:13', '2021-01-19 09:55:19', 0), (142, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:00:15', '2021-01-19 09:55:19', 0), (143, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:00:19', '2021-01-19 09:55:19', 0), (144, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:00:21', '2021-01-19 09:55:19', 0), (145, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:09:07', '2021-01-19 09:55:19', 0), (146, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:09:10', '2021-01-19 09:55:19', 0), (147, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:09:14', '2021-01-19 09:55:19', 0), (148, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:09:16', '2021-01-19 09:55:19', 0), (149, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:09:45', '2021-01-19 09:55:19', 0); INSERT INTO `sessions` (`id`, `token`, `user_id`, `ip`, `created_at`, `updated_at`, `status`) VALUES (150, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:10:03', '2021-01-19 09:55:19', 0), (151, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:10:06', '2021-01-19 09:55:19', 0), (152, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:10:09', '2021-01-19 09:55:19', 0), (153, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:10:11', '2021-01-19 09:55:19', 0), (154, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:10:59', '2021-01-19 09:55:19', 0), (155, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:11:11', '2021-01-19 09:55:19', 0), (156, 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MiwiZW1haWwiOiJjb25nc29uNjE5OUBnbWFpbC5jb20iLCJhdmF0YXIiOiJ1c2Vyc1xcSmFudWFyeTIwMjFcXFpmSHdHYzBjQ0xkbmxsSXV5V0NjLmpwZyIsIm5hbWUiOiJIb1x1MDBlMG5nIENcdTAwZjRuZyBTXHUwMWExbiJ9.4VYkS-tFgCenvJFibbvYc9nO9tRPHM6PTrwD7yz5jnk', 2, '127.0.0.1', '2021-01-13 03:11:14', '2021-01-19 09:55:19', 0), (157, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:11:17', '2021-01-19 09:55:19', 0), (158, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:11:54', '2021-01-19 09:55:19', 0), (159, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:11:58', '2021-01-19 09:55:19', 0), (160, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:12:01', '2021-01-19 09:55:19', 0), (161, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:13:03', '2021-01-19 09:55:19', 0), (162, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:13:07', '2021-01-19 09:55:19', 0), (163, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:13:14', '2021-01-19 09:55:19', 0), (164, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:13:22', '2021-01-19 09:55:19', 0), (165, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:13:26', '2021-01-19 09:55:19', 0), (166, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:13:41', '2021-01-19 09:55:19', 0), (167, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:13:51', '2021-01-19 09:55:19', 0), (168, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:13:54', '2021-01-19 09:55:19', 0), (169, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:14:00', '2021-01-19 09:55:19', 0), (170, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:31:54', '2021-01-19 09:55:19', 0), (171, '<KEY>', 1, '127.0.0.1', '2021-01-13 03:32:26', '2021-01-13 03:40:13', 0), (172, '<KEY>', 1, '127.0.0.1', '2021-01-13 03:32:30', '2021-01-13 03:40:13', 0), (173, '<KEY>', 1, '127.0.0.1', '2021-01-13 03:32:32', '2021-01-13 03:40:13', 0), (174, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:40:17', '2021-01-19 09:55:19', 0), (175, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:40:28', '2021-01-19 09:55:19', 0), (176, 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MiwiZW1haWwiOiJjb25nc29uNjE5OUBnbWFpbC5jb20iLCJhdmF0YXIiOiJ1c2Vyc1xcSmFudWFyeTIwMjFcXFpmSHdHYzBjQ0xkbmxsSXV5V0NjLmpwZyIsIm5hbWUiOiJIb1x1MDBlMG5nIENcdTAwZjRuZyBTXHUwMWExbiJ9.4VYkS-tFgCenvJFibbvYc9nO9tRPHM6PTrwD7yz5jnk', 2, '127.0.0.1', '2021-01-13 03:40:32', '2021-01-19 09:55:19', 0), (177, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:40:48', '2021-01-19 09:55:19', 0), (178, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:58:21', '2021-01-19 09:55:19', 0), (179, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:58:31', '2021-01-19 09:55:19', 0), (180, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:58:35', '2021-01-19 09:55:19', 0), (181, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:59:31', '2021-01-19 09:55:19', 0), (182, '<KEY>', 2, '127.0.0.1', '2021-01-13 03:59:35', '2021-01-19 09:55:19', 0), (183, '<KEY>', 2, '127.0.0.1', '2021-01-14 00:40:26', '2021-01-19 09:55:19', 0), (184, '<KEY>', 2, '127.0.0.1', '2021-01-14 00:40:31', '2021-01-19 09:55:19', 0), (185, '<KEY>', 2, '127.0.0.1', '2021-01-14 00:41:01', '2021-01-19 09:55:19', 0), (186, '<KEY>', 2, '127.0.0.1', '2021-01-14 00:41:05', '2021-01-19 09:55:19', 0), (187, '<KEY>', 2, '127.0.0.1', '2021-01-14 00:43:35', '2021-01-19 09:55:19', 0), (188, '<KEY>', 2, '127.0.0.1', '2021-01-14 00:44:21', '2021-01-19 09:55:19', 0), (189, 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MiwiZW1haWwiOiJjb25nc29uNjE5OUBnbWFpbC5jb20iLCJhdmF0YXIiOiJ1c2Vyc1xcSmFudWFyeTIwMjFcXFpmSHdHYzBjQ0xkbmxsSXV5V0NjLmpwZyIsIm5hbWUiOiJIb1x1MDBlMG5nIENcdTAwZjRuZyBTXHUwMWExbiJ9.4VYkS-tFgCenvJFibbvYc9nO9tRPHM6PTrwD7yz5jnk', 2, '127.0.0.1', '2021-01-14 00:44:26', '2021-01-19 09:55:19', 0), (190, '<KEY>', 2, '127.0.0.1', '2021-01-14 00:44:32', '2021-01-19 09:55:19', 0), (191, '<KEY>', 2, '127.0.0.1', '2021-01-14 00:44:42', '2021-01-19 09:55:19', 0), (192, '<KEY>', 2, '127.0.0.1', '2021-01-14 00:45:16', '2021-01-19 09:55:19', 0), (193, '<KEY>', 2, '127.0.0.1', '2021-01-14 00:46:11', '2021-01-19 09:55:19', 0), (194, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:01:21', '2021-01-19 09:55:19', 0), (195, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:01:25', '2021-01-19 09:55:19', 0), (196, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:02:00', '2021-01-19 09:55:19', 0), (197, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:03:32', '2021-01-19 09:55:19', 0), (198, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:05:18', '2021-01-19 09:55:19', 0), (199, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:05:35', '2021-01-19 09:55:19', 0), (200, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:06:03', '2021-01-19 09:55:19', 0), (201, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:06:12', '2021-01-19 09:55:19', 0), (202, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:06:16', '2021-01-19 09:55:19', 0), (203, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:06:42', '2021-01-19 09:55:19', 0), (204, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:06:45', '2021-01-19 09:55:19', 0), (205, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:06:48', '2021-01-19 09:55:19', 0), (206, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:06:51', '2021-01-19 09:55:19', 0), (207, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:08:33', '2021-01-19 09:55:19', 0), (208, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:08:52', '2021-01-19 09:55:19', 0), (209, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:08:56', '2021-01-19 09:55:19', 0), (210, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:09:00', '2021-01-19 09:55:19', 0), (211, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:09:05', '2021-01-19 09:55:19', 0), (212, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:09:09', '2021-01-19 09:55:19', 0), (213, 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MiwiZW1haWwiOiJjb25nc29uNjE5OUBnbWFpbC5jb20iLCJhdmF0YXIiOiJ1c2Vyc1xcSmFudWFyeTIwMjFcXFpmSHdHYzBjQ0xkbmxsSXV5V0NjLmpwZyIsIm5hbWUiOiJIb1x1MDBlMG5nIENcdTAwZjRuZyBTXHUwMWExbiJ9.4VYkS-tFgCenvJFibbvYc9nO9tRPHM6PTrwD7yz5jnk', 2, '127.0.0.1', '2021-01-14 01:09:28', '2021-01-19 09:55:19', 0), (214, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:11:27', '2021-01-19 09:55:19', 0), (215, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:12:09', '2021-01-19 09:55:19', 0), (216, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:12:13', '2021-01-19 09:55:19', 0), (217, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:12:16', '2021-01-19 09:55:19', 0), (218, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:13:19', '2021-01-19 09:55:19', 0), (219, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:13:23', '2021-01-19 09:55:19', 0), (220, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:13:30', '2021-01-19 09:55:19', 0), (221, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:23:49', '2021-01-19 09:55:19', 0), (222, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:24:01', '2021-01-19 09:55:19', 0), (223, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:29:07', '2021-01-19 09:55:19', 0), (224, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:29:56', '2021-01-19 09:55:19', 0), (225, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:29:59', '2021-01-19 09:55:19', 0), (226, 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MiwiZW1haWwiOiJjb25nc29uNjE5OUBnbWFpbC5jb20iLCJhdmF0YXIiOiJ1c2Vyc1xcSmFudWFyeTIwMjFcXFpmSHdHYzBjQ0xkbmxsSXV5V0NjLmpwZyIsIm5hbWUiOiJIb1x1MDBlMG5nIENcdTAwZjRuZyBTXHUwMWExbiJ9.4VYkS-tFgCenvJFibbvYc9nO9tRPHM6PTrwD7yz5jnk', 2, '127.0.0.1', '2021-01-14 01:30:02', '2021-01-19 09:55:19', 0), (227, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:30:14', '2021-01-19 09:55:19', 0), (228, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:30:42', '2021-01-19 09:55:19', 0), (229, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:30:45', '2021-01-19 09:55:19', 0), (230, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:31:27', '2021-01-19 09:55:19', 0), (231, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:31:30', '2021-01-19 09:55:19', 0), (232, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:32:00', '2021-01-19 09:55:19', 0), (233, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:32:04', '2021-01-19 09:55:19', 0), (234, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:32:10', '2021-01-19 09:55:19', 0), (235, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:32:14', '2021-01-19 09:55:19', 0), (236, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:32:17', '2021-01-19 09:55:19', 0), (237, '<KEY>tFgCenvJFibbvYc9nO9tRPHM6PTrwD7yz5jnk', 2, '127.0.0.1', '2021-01-14 01:32:20', '2021-01-19 09:55:19', 0), (238, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:32:23', '2021-01-19 09:55:19', 0), (239, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:32:50', '2021-01-19 09:55:19', 0), (240, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:33:10', '2021-01-19 09:55:19', 0), (241, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:33:15', '2021-01-19 09:55:19', 0), (242, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:33:28', '2021-01-19 09:55:19', 0), (243, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:34:34', '2021-01-19 09:55:19', 0), (244, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:34:39', '2021-01-19 09:55:19', 0), (245, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:34:44', '2021-01-19 09:55:19', 0), (246, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:34:47', '2021-01-19 09:55:19', 0), (247, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:38:17', '2021-01-19 09:55:19', 0), (248, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:38:35', '2021-01-19 09:55:19', 0), (249, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:39:52', '2021-01-19 09:55:19', 0), (250, '<KEY>6PTrwD7yz5jnk', 2, '127.0.0.1', '2021-01-14 01:39:57', '2021-01-19 09:55:19', 0), (251, '<KEY>', 2, '127.0.0.1', '2021-01-14 01:40:00', '2021-01-19 09:55:19', 0), (252, '<KEY>', 2, '127.0.0.1', '2021-01-15 02:48:05', '2021-01-19 09:55:19', 0), (253, '<KEY>', 2, '127.0.0.1', '2021-01-15 02:48:17', '2021-01-19 09:55:19', 0), (254, '<KEY>', 2, '127.0.0.1', '2021-01-15 02:54:37', '2021-01-19 09:55:19', 0), (255, '<KEY>', 2, '127.0.0.1', '2021-01-15 02:56:57', '2021-01-19 09:55:19', 0), (256, '<KEY>', 2, '127.0.0.1', '2021-01-15 02:57:24', '2021-01-19 09:55:19', 0), (257, '<KEY>', 2, '127.0.0.1', '2021-01-15 03:04:51', '2021-01-19 09:55:19', 0), (258, '<KEY>', 2, '127.0.0.1', '2021-01-15 03:15:17', '2021-01-19 09:55:19', 0), (259, '<KEY>', 2, '127.0.0.1', '2021-01-15 03:16:37', '2021-01-19 09:55:19', 0), (260, '<KEY>', 2, '127.0.0.1', '2021-01-15 03:17:28', '2021-01-19 09:55:19', 0), (261, '<KEY>', 2, '127.0.0.1', '2021-01-15 03:19:31', '2021-01-19 09:55:19', 0), (262, '<KEY>', 2, '127.0.0.1', '2021-01-15 03:23:40', '2021-01-19 09:55:19', 0), (263, '<KEY>', 2, '127.0.0.1', '2021-01-15 03:35:39', '2021-01-19 09:55:19', 0), (264, '<KEY>', 2, '127.0.0.1', '2021-01-15 03:37:06', '2021-01-19 09:55:19', 0), (265, '<KEY>', 2, '127.0.0.1', '2021-01-15 03:37:34', '2021-01-19 09:55:19', 0), (266, '<KEY>', 2, '127.0.0.1', '2021-01-15 03:38:24', '2021-01-19 09:55:19', 0), (267, '<KEY>', 2, '127.0.0.1', '2021-01-15 03:44:30', '2021-01-19 09:55:19', 0), (268, '<KEY>', 2, '127.0.0.1', '2021-01-15 03:44:34', '2021-01-19 09:55:19', 0), (269, '<KEY>', 2, '127.0.0.1', '2021-01-15 03:47:26', '2021-01-19 09:55:19', 0), (270, '<KEY>', 2, '127.0.0.1', '2021-01-15 03:53:37', '2021-01-19 09:55:19', 0), (271, '<KEY>', 2, '127.0.0.1', '2021-01-15 03:54:15', '2021-01-19 09:55:19', 0), (272, '<KEY>', 2, '127.0.0.1', '2021-01-15 03:54:43', '2021-01-19 09:55:19', 0), (273, '<KEY>', 2, '127.0.0.1', '2021-01-15 03:55:36', '2021-01-19 09:55:19', 0), (274, 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MiwiZW1haWwiOiJjb25nc29uNjE5OUBnbWFpbC5jb20iLCJhdmF0YXIiOiJ1c2Vyc1xcSmFudWFyeTIwMjFcXFpmSHdHYzBjQ0xkbmxsSXV5V0NjLmpwZyIsIm5hbWUiOiJIb1x1MDBlMG5nIENcdTAwZjRuZyBTXHUwMWExbiJ9.4VYkS-tFgCenvJFibbvYc9nO9tRPHM6PTrwD7yz5jnk', 2, '127.0.0.1', '2021-01-15 03:58:27', '2021-01-19 09:55:19', 0), (275, '<KEY>', 2, '127.0.0.1', '2021-01-15 03:58:45', '2021-01-19 09:55:19', 0), (276, '<KEY>', 2, '127.0.0.1', '2021-01-15 04:00:03', '2021-01-19 09:55:19', 0), (277, '<KEY>', 2, '127.0.0.1', '2021-01-15 04:01:06', '2021-01-19 09:55:19', 0), (278, '<KEY>', 2, '127.0.0.1', '2021-01-15 04:02:20', '2021-01-19 09:55:19', 0), (279, '<KEY>', 2, '127.0.0.1', '2021-01-15 07:06:03', '2021-01-19 09:55:19', 0), (280, '<KEY>', 2, '127.0.0.1', '2021-01-15 07:06:21', '2021-01-19 09:55:19', 0), (281, '<KEY>', 2, '127.0.0.1', '2021-01-15 07:09:01', '2021-01-19 09:55:19', 0), (282, '<KEY>', 2, '127.0.0.1', '2021-01-15 07:17:07', '2021-01-19 09:55:19', 0), (283, '<KEY>', 2, '127.0.0.1', '2021-01-15 07:20:15', '2021-01-19 09:55:19', 0), (284, '<KEY>', 8, '127.0.0.1', '2021-01-15 07:26:37', '2021-01-15 07:26:40', 0), (285, '<KEY>', 4, '127.0.0.1', '2021-01-15 07:26:46', '2021-01-19 08:34:42', 0), (286, '<KEY>', 3, '127.0.0.1', '2021-01-15 07:27:03', '2021-01-19 04:37:27', 0), (287, '<KEY>', 2, '127.0.0.1', '2021-01-15 15:23:14', '2021-01-19 09:55:19', 0), (288, '<KEY>', 2, '127.0.0.1', '2021-01-18 03:48:35', '2021-01-19 09:55:19', 0), (289, '<KEY>', 2, '127.0.0.1', '2021-01-18 03:48:40', '2021-01-19 09:55:19', 0), (290, '<KEY>', 2, '127.0.0.1', '2021-01-18 03:51:15', '2021-01-19 09:55:19', 0), (291, '<KEY>', 2, '127.0.0.1', '2021-01-18 04:21:59', '2021-01-19 09:55:19', 0), (292, '<KEY>', 2, '127.0.0.1', '2021-01-18 04:22:43', '2021-01-19 09:55:19', 0), (293, '<KEY>', 2, '127.0.0.1', '2021-01-18 04:26:47', '2021-01-19 09:55:19', 0), (294, '<KEY>PTrwD7yz5jnk', 2, '127.0.0.1', '2021-01-18 04:29:00', '2021-01-19 09:55:19', 0), (295, '<KEY>', 2, '127.0.0.1', '2021-01-18 04:56:39', '2021-01-19 09:55:19', 0), (296, '<KEY>', 2, '127.0.0.1', '2021-01-18 04:59:50', '2021-01-19 09:55:19', 0), (297, '<KEY>', 3, '127.0.0.1', '2021-01-18 05:00:06', '2021-01-19 04:37:27', 0), (298, '<KEY>', 2, '127.0.0.1', '2021-01-18 05:02:37', '2021-01-19 09:55:19', 0); INSERT INTO `sessions` (`id`, `token`, `user_id`, `ip`, `created_at`, `updated_at`, `status`) VALUES (299, '<KEY>', 3, '127.0.0.1', '2021-01-18 05:02:48', '2021-01-19 04:37:27', 0), (300, '<KEY>', 2, '127.0.0.1', '2021-01-18 05:04:25', '2021-01-19 09:55:19', 0), (301, '<KEY>', 2, '127.0.0.1', '2021-01-18 07:35:09', '2021-01-19 09:55:19', 0), (302, '<KEY>', 2, '127.0.0.1', '2021-01-18 07:38:22', '2021-01-19 09:55:19', 0), (303, '<KEY>', 2, '127.0.0.1', '2021-01-18 07:40:11', '2021-01-19 09:55:19', 0), (304, '<KEY>', 2, '127.0.0.1', '2021-01-18 07:41:23', '2021-01-19 09:55:19', 0), (305, '<KEY>', 2, '127.0.0.1', '2021-01-18 07:46:19', '2021-01-19 09:55:19', 0), (306, '<KEY>', 2, '192.168.202.17', '2021-01-18 08:09:52', '2021-01-19 09:55:19', 0), (307, '<KEY>', 2, '192.168.202.15', '2021-01-18 08:30:25', '2021-01-19 09:55:19', 0), (308, '<KEY>', 2, '192.168.202.15', '2021-01-18 08:30:30', '2021-01-19 09:55:19', 0), (309, '<KEY>', 3, '192.168.202.17', '2021-01-18 08:31:44', '2021-01-19 04:37:27', 0), (310, '<KEY>', 2, '192.168.202.20', '2021-01-18 08:34:43', '2021-01-19 09:55:19', 0), (311, '<KEY>', 2, '192.168.202.20', '2021-01-18 08:40:15', '2021-01-19 09:55:19', 0), (312, '<KEY>', 2, '192.168.202.15', '2021-01-18 08:40:48', '2021-01-19 09:55:19', 0), (313, '<KEY>', 9, '192.168.202.15', '2021-01-18 08:41:09', '2021-01-18 08:41:09', 1), (314, '<KEY>', 2, '192.168.202.15', '2021-01-18 08:42:39', '2021-01-19 09:55:19', 0), (315, '<KEY>', 9, '192.168.202.15', '2021-01-18 08:43:00', '2021-01-18 08:43:00', 1), (316, '<KEY>', 2, '127.0.0.1', '2021-01-18 08:45:39', '2021-01-19 09:55:19', 0), (317, '<KEY>', 2, '127.0.0.1', '2021-01-18 08:45:51', '2021-01-19 09:55:19', 0), (318, 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MTMsImVtYWlsIjoicXVhbkBnbWFpbC5jb20iLCJhdmF0YXIiOiJ1c2Vyc1wvZGVmYXVsdC5wbmciLCJuYW1lIjoiTWluaCBRdVx1MDBlMm4ifQ.ATzZiXMVDkUL-oCKCsYWnkHGEtblg7pV7Jkwosa4BQ0', 13, '192.168.202.17', '2021-01-18 08:49:34', '2021-01-18 09:00:33', 0), (319, '<KEY>', 6, '192.168.202.20', '2021-01-18 08:50:32', '2021-01-18 08:52:46', 0), (320, '<KEY>', 6, '192.168.202.20', '2021-01-18 08:51:23', '2021-01-18 08:52:46', 0), (321, '<KEY>', 13, '192.168.202.17', '2021-01-18 08:51:51', '2021-01-18 09:00:33', 0), (322, '<KEY>', 2, '192.168.202.15', '2021-01-18 08:52:33', '2021-01-19 09:55:19', 0), (323, '<KEY>', 13, '192.168.202.17', '2021-01-18 08:53:13', '2021-01-18 09:00:33', 0), (324, '<KEY>', 2, '192.168.202.15', '2021-01-18 08:55:24', '2021-01-19 09:55:19', 0), (325, '<KEY>', 14, '192.168.202.17', '2021-01-18 09:00:45', '2021-01-18 09:00:45', 1), (326, '<KEY>', 15, '192.168.202.20', '2021-01-18 09:01:16', '2021-01-18 09:02:50', 0), (327, '<KEY>', 15, '192.168.202.20', '2021-01-18 09:03:07', '2021-01-18 09:03:07', 1), (328, '<KEY>', 15, '192.168.202.20', '2021-01-18 09:04:09', '2021-01-18 09:04:09', 1), (329, '<KEY>', 15, '192.168.202.20', '2021-01-18 09:06:11', '2021-01-18 09:06:11', 1), (330, '<KEY>', 14, '192.168.202.17', '2021-01-18 09:09:16', '2021-01-18 09:09:16', 1), (331, 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MTQsImVtYWlsIjoiYWJjQGdtYWlsLmNvbSIsImF2YXRhciI6InVzZXJzXC9kZWZhdWx0LnBuZyIsIm5hbWUiOiJhYmMifQ.fCNsrGmLo8X5DqMua_L7lkUbe_6Qte0zw0mbBZ02chs', 14, '192.168.202.15', '2021-01-18 09:23:41', '2021-01-18 09:23:41', 1), (332, '<KEY>', 14, '192.168.202.15', '2021-01-18 09:26:50', '2021-01-18 09:26:50', 1), (333, '<KEY>', 14, '192.168.202.15', '2021-01-18 09:27:56', '2021-01-18 09:27:56', 1), (334, 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MTQsImVtYWlsIjoiYWJjQGdtYWlsLmNvbSIsImF2YXRhciI6InVzZXJzXC9kZWZhdWx0LnBuZyIsIm5hbWUiOiJhYmMifQ.fCNsrGmLo8X5DqMua_L7lkUbe_6Qte0zw0mbBZ02chs', 14, '192.168.202.15', '2021-01-18 09:33:55', '2021-01-18 09:33:55', 1), (335, '<KEY>', 2, '127.0.0.1', '2021-01-19 02:26:21', '2021-01-19 09:55:19', 0), (336, '<KEY>', 2, '127.0.0.1', '2021-01-19 03:00:20', '2021-01-19 09:55:19', 0), (337, '<KEY>', 2, '127.0.0.1', '2021-01-19 03:12:50', '2021-01-19 09:55:19', 0), (338, '<KEY>', 2, '127.0.0.1', '2021-01-19 03:13:38', '2021-01-19 09:55:19', 0), (339, '<KEY>', 2, '127.0.0.1', '2021-01-19 03:14:02', '2021-01-19 09:55:19', 0), (340, '<KEY>', 2, '127.0.0.1', '2021-01-19 03:14:10', '2021-01-19 09:55:19', 0), (341, '<KEY>', 2, '127.0.0.1', '2021-01-19 04:18:08', '2021-01-19 09:55:19', 0), (342, '<KEY>', 2, '127.0.0.1', '2021-01-19 04:20:00', '2021-01-19 09:55:19', 0), (343, '<KEY>', 2, '127.0.0.1', '2021-01-19 04:24:08', '2021-01-19 09:55:19', 0), (344, '<KEY>', 3, '127.0.0.1', '2021-01-19 04:25:45', '2021-01-19 04:37:27', 0), (345, '<KEY>', 2, '127.0.0.1', '2021-01-19 04:32:19', '2021-01-19 09:55:19', 0), (346, '<KEY>', 3, '127.0.0.1', '2021-01-19 04:32:31', '2021-01-19 04:37:27', 0), (347, '<KEY>', 4, '127.0.0.1', '2021-01-19 04:32:36', '2021-01-19 08:34:42', 0), (348, '<KEY>', 2, '127.0.0.1', '2021-01-19 04:34:01', '2021-01-19 09:55:19', 0), (349, '<KEY>', 2, '127.0.0.1', '2021-01-19 04:34:13', '2021-01-19 09:55:19', 0), (350, '<KEY>', 3, '127.0.0.1', '2021-01-19 04:37:25', '2021-01-19 04:37:27', 0), (351, '<KEY>', 2, '127.0.0.1', '2021-01-19 04:37:39', '2021-01-19 09:55:19', 0), (352, '<KEY>', 20, '127.0.0.1', '2021-01-19 04:42:53', '2021-01-22 02:58:58', 0), (353, '<KEY>', 21, '127.0.0.1', '2021-01-19 04:43:15', '2021-01-20 03:19:30', 0), (354, '<KEY>', 21, '127.0.0.1', '2021-01-19 04:44:36', '2021-01-20 03:19:30', 0), (355, '<KEY>', 2, '127.0.0.1', '2021-01-19 04:49:12', '2021-01-19 09:55:19', 0), (356, '<KEY>', 21, '127.0.0.1', '2021-01-19 04:49:23', '2021-01-20 03:19:30', 0), (357, '<KEY>', 2, '127.0.0.1', '2021-01-19 05:00:37', '2021-01-19 09:55:19', 0), (358, '<KEY>', 2, '127.0.0.1', '2021-01-19 05:00:51', '2021-01-19 09:55:19', 0), (359, '<KEY>', 2, '127.0.0.1', '2021-01-19 07:23:30', '2021-01-19 09:55:19', 0), (360, '<KEY>', 2, '127.0.0.1', '2021-01-19 07:24:03', '2021-01-19 09:55:19', 0), (361, '<KEY>', 2, '127.0.0.1', '2021-01-19 07:24:23', '2021-01-19 09:55:19', 0), (362, '<KEY>', 21, '127.0.0.1', '2021-01-19 07:27:18', '2021-01-20 03:19:30', 0), (363, '<KEY>', 21, '127.0.0.1', '2021-01-19 07:31:12', '2021-01-20 03:19:30', 0), (364, '<KEY>', 2, '127.0.0.1', '2021-01-19 07:36:18', '2021-01-19 09:55:19', 0), (365, '<KEY>', 2, '127.0.0.1', '2021-01-19 07:37:16', '2021-01-19 09:55:19', 0), (366, '<KEY>', 2, '127.0.0.1', '2021-01-19 07:41:10', '2021-01-19 09:55:19', 0), (367, '<KEY>', 2, '127.0.0.1', '2021-01-19 07:43:40', '2021-01-19 09:55:19', 0), (368, '<KEY>', 2, '127.0.0.1', '2021-01-19 07:45:38', '2021-01-19 09:55:19', 0), (369, '<KEY>', 2, '127.0.0.1', '2021-01-19 08:00:54', '2021-01-19 09:55:19', 0), (370, '<KEY>', 2, '127.0.0.1', '2021-01-19 08:02:22', '2021-01-19 09:55:19', 0), (371, '<KEY>', 2, '127.0.0.1', '2021-01-19 08:02:53', '2021-01-19 09:55:19', 0), (372, '<KEY>', 2, '127.0.0.1', '2021-01-19 08:04:16', '2021-01-19 09:55:19', 0), (373, '<KEY>', 21, '127.0.0.1', '2021-01-19 08:04:26', '2021-01-20 03:19:30', 0), (374, '<KEY>', 2, '127.0.0.1', '2021-01-19 08:07:10', '2021-01-19 09:55:19', 0), (375, '<KEY>', 20, '127.0.0.1', '2021-01-19 08:08:50', '2021-01-22 02:58:58', 0), (376, '<KEY>', 20, '127.0.0.1', '2021-01-19 08:09:27', '2021-01-22 02:58:58', 0), (377, '<KEY>', 20, '127.0.0.1', '2021-01-19 08:10:16', '2021-01-22 02:58:58', 0), (378, '<KEY>', 20, '127.0.0.1', '2021-01-19 08:11:03', '2021-01-22 02:58:58', 0), (379, '<KEY>', 2, '127.0.0.1', '2021-01-19 08:12:51', '2021-01-19 09:55:19', 0), (380, '<KEY>', 2, '127.0.0.1', '2021-01-19 08:19:51', '2021-01-19 09:55:19', 0), (381, '<KEY>', 21, '127.0.0.1', '2021-01-19 08:20:22', '2021-01-20 03:19:30', 0), (382, '<KEY>', 4, '127.0.0.1', '2021-01-19 08:25:25', '2021-01-19 08:34:42', 0), (383, '<KEY>', 4, '127.0.0.1', '2021-01-19 08:25:48', '2021-01-19 08:34:42', 0), (384, '<KEY>', 4, '127.0.0.1', '2021-01-19 08:25:53', '2021-01-19 08:34:42', 0), (385, '<KEY>', 4, '127.0.0.1', '2021-01-19 08:26:35', '2021-01-19 08:34:42', 0), (386, '<KEY>', 2, '127.0.0.1', '2021-01-19 08:34:51', '2021-01-19 09:55:19', 0), (387, '<KEY>', 2, '127.0.0.1', '2021-01-19 08:41:08', '2021-01-19 09:55:19', 0), (388, '<KEY>', 21, '127.0.0.1', '2021-01-19 08:42:08', '2021-01-20 03:19:30', 0), (389, '<KEY>', 21, '127.0.0.1', '2021-01-19 08:42:32', '2021-01-20 03:19:30', 0), (390, '<KEY>', 2, '127.0.0.1', '2021-01-19 08:51:26', '2021-01-19 09:55:19', 0), (391, '<KEY>', 20, '127.0.0.1', '2021-01-19 08:52:47', '2021-01-22 02:58:58', 0), (392, '<KEY>', 20, '127.0.0.1', '2021-01-19 08:53:47', '2021-01-22 02:58:58', 0), (393, '<KEY>', 20, '127.0.0.1', '2021-01-19 08:56:28', '2021-01-22 02:58:58', 0), (394, '<KEY>', 20, '127.0.0.1', '2021-01-19 09:00:39', '2021-01-22 02:58:58', 0), (395, '<KEY>', 2, '127.0.0.1', '2021-01-19 09:02:02', '2021-01-19 09:55:19', 0), (396, '<KEY>', 2, '127.0.0.1', '2021-01-19 09:02:20', '2021-01-19 09:55:19', 0), (397, '<KEY>', 20, '127.0.0.1', '2021-01-19 09:03:33', '2021-01-22 02:58:58', 0), (398, '<KEY>', 20, '127.0.0.1', '2021-01-19 09:05:31', '2021-01-22 02:58:58', 0), (399, '<KEY>', 20, '127.0.0.1', '2021-01-19 09:06:00', '2021-01-22 02:58:58', 0), (400, '<KEY>', 20, '127.0.0.1', '2021-01-19 09:06:54', '2021-01-22 02:58:58', 0), (401, '<KEY>', 20, '127.0.0.1', '2021-01-19 09:07:45', '2021-01-22 02:58:58', 0), (402, '<KEY>', 20, '127.0.0.1', '2021-01-19 09:07:50', '2021-01-22 02:58:58', 0), (403, '<KEY>', 2, '127.0.0.1', '2021-01-19 09:09:32', '2021-01-19 09:55:19', 0), (404, '<KEY>', 20, '127.0.0.1', '2021-01-19 09:10:12', '2021-01-22 02:58:58', 0), (405, '<KEY>', 20, '127.0.0.1', '2021-01-19 09:11:23', '2021-01-22 02:58:58', 0), (406, '<KEY>', 20, '127.0.0.1', '2021-01-19 09:11:57', '2021-01-22 02:58:58', 0), (407, '<KEY>', 20, '127.0.0.1', '2021-01-19 09:12:18', '2021-01-22 02:58:58', 0), (408, '<KEY>', 20, '127.0.0.1', '2021-01-19 09:12:28', '2021-01-22 02:58:58', 0), (409, '<KEY>', 2, '127.0.0.1', '2021-01-19 09:21:56', '2021-01-19 09:55:19', 0), (410, '<KEY>', 2, '127.0.0.1', '2021-01-19 09:22:09', '2021-01-19 09:55:19', 0), (411, 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MiwiZW1haWwiOiJjb25nc29uNjE5OUBnbWFpbC5jb20iLCJhdmF0YXIiOiJ1c2Vyc1xcSmFudWFyeTIwMjFcXFpmSHdHYzBjQ0xkbmxsSXV5V0NjLmpwZyIsIm5hbWUiOiJIb1x1MDBlMG5nIENcdTAwZjRuZyBTXHUwMWExbiJ9.4VYkS-tFgCenvJFibbvYc9nO9tRPHM6PTrwD7yz5jnk', 2, '127.0.0.1', '2021-01-19 09:23:40', '2021-01-19 09:55:19', 0), (412, '<KEY>', 2, '127.0.0.1', '2021-01-19 09:25:01', '2021-01-19 09:55:19', 0), (413, '<KEY>', 2, '127.0.0.1', '2021-01-19 09:30:19', '2021-01-19 09:55:19', 0), (414, '<KEY>', 20, '127.0.0.1', '2021-01-19 09:32:46', '2021-01-22 02:58:58', 0), (415, '<KEY>', 20, '127.0.0.1', '2021-01-19 09:34:30', '2021-01-22 02:58:58', 0), (416, '<KEY>', 20, '192.168.202.26', '2021-01-19 09:38:12', '2021-01-22 02:58:58', 0), (417, '<KEY>', 20, '192.168.202.26', '2021-01-19 09:39:25', '2021-01-22 02:58:58', 0), (418, '<KEY>', 20, '192.168.202.26', '2021-01-19 09:41:13', '2021-01-22 02:58:58', 0), (419, '<KEY>', 20, '192.168.202.26', '2021-01-19 09:41:47', '2021-01-22 02:58:58', 0), (420, '<KEY>', 20, '192.168.202.26', '2021-01-19 09:42:26', '2021-01-22 02:58:58', 0), (421, '<KEY>', 20, '192.168.202.26', '2021-01-19 09:43:22', '2021-01-22 02:58:58', 0), (422, '<KEY>', 20, '192.168.202.26', '2021-01-19 09:44:00', '2021-01-22 02:58:58', 0), (423, '<KEY>PTrwD7yz5jnk', 2, '127.0.0.1', '2021-01-19 09:44:36', '2021-01-19 09:55:19', 0), (424, '<KEY>', 20, '192.168.202.26', '2021-01-19 09:45:20', '2021-01-22 02:58:58', 0), (425, '<KEY>', 20, '192.168.202.26', '2021-01-19 09:46:34', '2021-01-22 02:58:58', 0), (426, '<KEY>', 20, '192.168.202.26', '2021-01-19 09:47:08', '2021-01-22 02:58:58', 0), (427, '<KEY>', 2, '127.0.0.1', '2021-01-19 09:50:14', '2021-01-19 09:55:19', 0), (428, '<KEY>', 2, '127.0.0.1', '2021-01-19 09:50:44', '2021-01-19 09:55:19', 0), (429, '<KEY>', 2, '127.0.0.1', '2021-01-19 09:50:58', '2021-01-19 09:55:19', 0), (430, '<KEY>', 2, '127.0.0.1', '2021-01-19 09:51:04', '2021-01-19 09:55:19', 0), (431, '<KEY>', 20, '192.168.202.26', '2021-01-19 09:52:41', '2021-01-22 02:58:58', 0), (432, '<KEY>', 20, '192.168.202.26', '2021-01-19 09:53:07', '2021-01-22 02:58:58', 0), (433, '<KEY>', 20, '192.168.202.26', '2021-01-19 10:02:54', '2021-01-22 02:58:58', 0), (434, '<KEY>', 2, '127.0.0.1', '2021-01-19 10:04:23', '2021-01-19 10:04:23', 1), (435, '<KEY>', 20, '192.168.202.26', '2021-01-19 10:07:40', '2021-01-22 02:58:58', 0), (436, '<KEY>', 20, '192.168.202.26', '2021-01-19 10:12:05', '2021-01-22 02:58:58', 0), (437, '<KEY>', 20, '192.168.202.26', '2021-01-19 10:19:54', '2021-01-22 02:58:58', 0), (438, '<KEY>', 20, '192.168.202.26', '2021-01-19 10:20:46', '2021-01-22 02:58:58', 0), (439, '<KEY>', 20, '192.168.202.26', '2021-01-19 10:22:07', '2021-01-22 02:58:58', 0), (440, '<KEY>', 20, '192.168.202.26', '2021-01-19 10:22:50', '2021-01-22 02:58:58', 0), (441, '<KEY>', 20, '192.168.202.26', '2021-01-19 10:23:36', '2021-01-22 02:58:58', 0), (442, '<KEY>', 20, '192.168.202.26', '2021-01-19 10:30:09', '2021-01-22 02:58:58', 0), (443, '<KEY>', 20, '192.168.202.26', '2021-01-19 10:30:44', '2021-01-22 02:58:58', 0), (444, '<KEY>', 20, '192.168.202.26', '2021-01-19 10:31:09', '2021-01-22 02:58:58', 0), (445, '<KEY>', 20, '192.168.202.26', '2021-01-19 10:31:56', '2021-01-22 02:58:58', 0), (446, '<KEY>', 20, '192.168.202.26', '2021-01-19 10:36:27', '2021-01-22 02:58:58', 0), (447, '<KEY>zGbfDk6u2KeOsk', 20, '192.168.202.26', '2021-01-19 10:36:37', '2021-01-22 02:58:58', 0), (448, '<KEY>', 20, '192.168.202.26', '2021-01-19 10:37:27', '2021-01-22 02:58:58', 0), (449, '<KEY>', 21, '127.0.0.1', '2021-01-20 03:19:28', '2021-01-20 03:19:30', 0), (450, '<KEY>', 21, '127.0.0.1', '2021-01-20 03:21:52', '2021-01-20 03:21:52', 1), (451, '<KEY>', 2, '127.0.0.1', '2021-01-20 03:27:24', '2021-01-21 08:49:40', 0), (452, '<KEY>', 20, '192.168.202.26', '2021-01-20 08:55:32', '2021-01-22 02:58:58', 0), (453, '<KEY>', 20, '192.168.202.26', '2021-01-20 08:58:50', '2021-01-22 02:58:58', 0), (454, '<KEY>', 20, '192.168.202.26', '2021-01-20 09:06:44', '2021-01-22 02:58:58', 0), (455, '<KEY>', 20, '192.168.202.26', '2021-01-20 09:07:14', '2021-01-22 02:58:58', 0), (456, '<KEY>', 20, '192.168.202.26', '2021-01-20 09:10:15', '2021-01-22 02:58:58', 0), (457, '<KEY>', 20, '192.168.202.26', '2021-01-20 09:13:25', '2021-01-22 02:58:58', 0), (458, '<KEY>', 20, '192.168.202.26', '2021-01-20 09:15:57', '2021-01-22 02:58:58', 0), (459, '<KEY>', 20, '192.168.202.26', '2021-01-20 09:17:52', '2021-01-22 02:58:58', 0), (460, '<KEY>', 2, '127.0.0.1', '2021-01-20 09:22:11', '2021-01-21 08:49:40', 0), (461, '<KEY>', 20, '192.168.202.26', '2021-01-20 09:22:16', '2021-01-22 02:58:58', 0); INSERT INTO `sessions` (`id`, `token`, `user_id`, `ip`, `created_at`, `updated_at`, `status`) VALUES (462, '<KEY>', 20, '192.168.202.26', '2021-01-20 09:27:34', '2021-01-22 02:58:58', 0), (463, '<KEY>', 20, '192.168.202.26', '2021-01-20 09:28:31', '2021-01-22 02:58:58', 0), (464, '<KEY>', 20, '192.168.202.26', '2021-01-20 09:30:01', '2021-01-22 02:58:58', 0), (465, '<KEY>', 20, '192.168.202.26', '2021-01-20 09:51:51', '2021-01-22 02:58:58', 0), (466, '<KEY>', 20, '192.168.202.26', '2021-01-20 09:53:26', '2021-01-22 02:58:58', 0), (467, 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MjAsImVtYWlsIjoidGVzdHRvb2xAZ21haWwuY29tIiwiYXZhdGFyIjoidXNlcnNcL2RlZmF1bHQucG5nIiwibmFtZSI6InRlc3R0b29sQGdtYWlsLmNvbSJ9.cR2oqmAL3a_sQ75YpDtJpE7WTviw5zGbfDk6u2KeOsk', 20, '192.168.202.26', '2021-01-20 09:55:30', '2021-01-22 02:58:58', 0), (468, '<KEY>', 20, '192.168.202.26', '2021-01-21 02:34:26', '2021-01-22 02:58:58', 0), (469, '<KEY>', 20, '192.168.202.26', '2021-01-21 02:34:26', '2021-01-22 02:58:58', 0), (470, '<KEY>', 20, '192.168.202.26', '2021-01-21 02:34:26', '2021-01-22 02:58:58', 0), (471, '<KEY>', 20, '192.168.202.26', '2021-01-21 02:34:26', '2021-01-22 02:58:58', 0), (472, '<KEY>', 20, '192.168.202.26', '2021-01-21 02:34:26', '2021-01-22 02:58:58', 0), (473, '<KEY>', 20, '192.168.202.26', '2021-01-21 02:34:26', '2021-01-21 02:34:26', 1), (474, '<KEY>', 20, '192.168.202.26', '2021-01-21 02:34:31', '2021-01-22 02:58:58', 0), (475, '<KEY>', 20, '192.168.202.26', '2021-01-21 02:36:31', '2021-01-22 02:58:58', 0), (476, '<KEY>', 20, '192.168.202.26', '2021-01-21 02:43:06', '2021-01-22 02:58:58', 0), (477, '<KEY>', 20, '192.168.202.26', '2021-01-21 02:43:46', '2021-01-22 02:58:58', 0), (478, '<KEY>', 20, '192.168.202.26', '2021-01-21 02:57:04', '2021-01-22 02:58:58', 0), (479, '<KEY>', 20, '192.168.202.26', '2021-01-21 02:58:37', '2021-01-22 02:58:58', 0), (480, '<KEY>', 2, '127.0.0.1', '2021-01-21 03:39:35', '2021-01-21 08:49:40', 0), (481, '<KEY>', 20, '192.168.202.26', '2021-01-21 03:42:35', '2021-01-22 02:58:58', 0), (482, '<KEY>', 20, '192.168.202.26', '2021-01-21 03:53:01', '2021-01-22 02:58:58', 0), (483, '<KEY>', 20, '192.168.202.26', '2021-01-21 03:54:16', '2021-01-22 02:58:58', 0), (484, '<KEY>', 2, '127.0.0.1', '2021-01-21 03:54:37', '2021-01-21 08:49:40', 0), (485, '<KEY>', 2, '127.0.0.1', '2021-01-21 03:54:41', '2021-01-21 08:49:40', 0), (486, '<KEY>', 2, '127.0.0.1', '2021-01-21 03:54:45', '2021-01-21 08:49:40', 0), (487, '<KEY>', 2, '127.0.0.1', '2021-01-21 03:54:47', '2021-01-21 08:49:40', 0), (488, 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MjAsImVtYWlsIjoidGVzdHRvb2xAZ21haWwuY29tIiwiYXZhdGFyIjoidXNlcnNcL2RlZmF1bHQucG5nIiwibmFtZSI6InRlc3R0b29sQGdtYWlsLmNvbSJ9.cR2oqmAL3a_sQ75YpDtJpE7WTviw5zGbfDk6u2KeOsk', 20, '192.168.202.26', '2021-01-21 04:02:33', '2021-01-22 02:58:58', 0), (489, '<KEY>', 20, '192.168.202.26', '2021-01-21 04:04:47', '2021-01-22 02:58:58', 0), (490, '<KEY>', 20, '192.168.202.26', '2021-01-21 04:06:24', '2021-01-22 02:58:58', 0), (491, '<KEY>', 2, '127.0.0.1', '2021-01-21 04:52:16', '2021-01-21 08:49:40', 0), (492, '<KEY>', 2, '127.0.0.1', '2021-01-21 04:52:30', '2021-01-21 08:49:40', 0), (493, '<KEY>', 2, '127.0.0.1', '2021-01-21 07:38:44', '2021-01-21 08:49:40', 0), (494, '<KEY>', 2, '127.0.0.1', '2021-01-21 07:42:02', '2021-01-21 08:49:40', 0), (495, '<KEY>', 2, '127.0.0.1', '2021-01-21 07:42:12', '2021-01-21 08:49:40', 0), (496, '<KEY>', 2, '127.0.0.1', '2021-01-21 07:42:47', '2021-01-21 08:49:40', 0), (497, '<KEY>', 2, '127.0.0.1', '2021-01-21 07:43:02', '2021-01-21 08:49:40', 0), (498, '<KEY>', 20, '192.168.202.26', '2021-01-21 07:44:00', '2021-01-22 02:58:58', 0), (499, '<KEY>', 2, '127.0.0.1', '2021-01-21 07:44:32', '2021-01-21 08:49:40', 0), (500, '<KEY>', 2, '127.0.0.1', '2021-01-21 07:44:46', '2021-01-21 08:49:40', 0), (501, '<KEY>', 2, '127.0.0.1', '2021-01-21 07:52:43', '2021-01-21 08:49:40', 0), (502, '<KEY>', 2, '127.0.0.1', '2021-01-21 08:18:21', '2021-01-21 08:49:40', 0), (503, '<KEY>', 2, '127.0.0.1', '2021-01-21 08:18:52', '2021-01-21 08:49:40', 0), (504, '<KEY>', 2, '127.0.0.1', '2021-01-21 08:20:33', '2021-01-21 08:49:40', 0), (505, '<KEY>', 2, '127.0.0.1', '2021-01-21 08:20:48', '2021-01-21 08:49:40', 0), (506, 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MiwiZW1haWwiOiJjb25nc29uNjE5OUBnbWFpbC5jb20iLCJhdmF0YXIiOiJ1c2Vyc1xcSmFudWFyeTIwMjFcXHlEQ2x5akkyd0RQWFdscVZTcXYyLmpwZyIsIm5hbWUiOiJIb1x1MDBlMG5nIENcdTAwZjRuZyBTXHUwMWExbiJ9.k1i3fFqvvDgNJJd6IO7V3UuEZipncSkTisdk5iMBrBs', 2, '127.0.0.1', '2021-01-21 08:22:20', '2021-01-21 08:49:40', 0), (507, '<KEY>', 2, '127.0.0.1', '2021-01-21 08:22:42', '2021-01-21 08:49:40', 0), (508, '<KEY>', 2, '127.0.0.1', '2021-01-21 08:22:47', '2021-01-21 08:49:40', 0), (509, '<KEY>', 2, '127.0.0.1', '2021-01-21 08:35:51', '2021-01-21 08:49:40', 0), (510, '<KEY>', 2, '127.0.0.1', '2021-01-21 08:37:57', '2021-01-21 08:49:40', 0), (511, '<KEY>', 2, '127.0.0.1', '2021-01-21 08:39:31', '2021-01-21 08:49:40', 0), (514, '<KEY>', 3, '127.0.0.1', '2021-01-21 08:46:09', '2021-01-21 08:50:36', 0), (515, '<KEY>', 2, '127.0.0.1', '2021-01-21 08:49:14', '2021-01-21 08:49:40', 0), (516, '<KEY>', 3, '127.0.0.1', '2021-01-21 08:50:20', '2021-01-21 08:50:36', 0), (517, '<KEY>', 3, '127.0.0.1', '2021-01-21 08:52:00', '2021-01-21 08:52:00', 1), (518, '<KEY>', 20, '192.168.202.26', '2021-01-21 10:43:09', '2021-01-22 02:58:58', 0), (519, '<KEY>', 2, '127.0.0.1', '2021-01-22 02:37:40', '2021-01-22 02:37:40', 1), (520, '<KEY>', 2, '127.0.0.1', '2021-01-22 04:31:30', '2021-01-22 04:31:30', 1), (521, '<KEY>', 2, '127.0.0.1', '2021-01-22 04:31:31', '2021-01-22 04:31:31', 1), (522, '<KEY>', 2, '127.0.0.1', '2021-01-22 04:31:38', '2021-01-22 04:31:38', 1), (523, '<KEY>', 2, '127.0.0.1', '2021-01-22 04:39:10', '2021-01-27 07:40:25', 0), (524, '<KEY>', 20, '192.168.202.26', '2021-01-22 04:53:55', '2021-01-22 15:10:22', 0), (525, '<KEY>', 20, '192.168.202.26', '2021-01-22 04:58:35', '2021-01-22 15:10:22', 0), (526, '<KEY>', 20, '192.168.202.26', '2021-01-22 04:59:54', '2021-01-22 15:10:22', 0), (527, '<KEY>', 20, '192.168.202.26', '2021-01-22 05:01:06', '2021-01-22 15:10:22', 0), (528, '<KEY>', 20, '192.168.202.26', '2021-01-22 05:02:04', '2021-01-22 15:10:22', 0), (529, '<KEY>', 20, '192.168.202.26', '2021-01-22 07:35:01', '2021-01-22 15:10:22', 0), (530, '<KEY>', 1, '127.0.0.1', '2021-01-22 07:56:10', '2021-01-22 16:22:28', 0), (531, '<KEY>', 2, '127.0.0.1', '2021-01-22 07:56:22', '2021-01-27 07:40:25', 0), (532, '<KEY>', 20, '192.168.202.26', '2021-01-22 08:13:04', '2021-01-22 15:10:22', 0), (533, '<KEY>', 2, '127.0.0.1', '2021-01-22 14:22:43', '2021-01-27 07:40:25', 0), (534, '<KEY>', 20, '192.168.100.22', '2021-01-22 15:04:59', '2021-01-22 15:10:22', 0), (535, '<KEY>', 20, '192.168.100.22', '2021-01-22 15:10:38', '2021-01-22 15:10:38', 1), (536, '<KEY>ZFuHx-8', 20, '192.168.100.23', '2021-01-22 15:28:22', '2021-01-22 15:28:22', 1), (537, '<KEY>', 1, '127.0.0.1', '2021-01-22 16:08:33', '2021-01-22 16:22:28', 0), (538, '<KEY>', 2, '127.0.0.1', '2021-01-22 16:10:11', '2021-01-27 07:40:25', 0), (539, '<KEY>', 2, '127.0.0.1', '2021-01-22 16:23:32', '2021-01-27 07:40:25', 0), (540, '<KEY>', 2, '127.0.0.1', '2021-01-22 16:25:00', '2021-01-27 07:40:25', 0), (541, '<KEY>', 2, '127.0.0.1', '2021-01-22 16:25:18', '2021-01-27 07:40:25', 0), (542, '<KEY>', 2, '127.0.0.1', '2021-01-22 16:26:03', '2021-01-27 07:40:25', 0), (543, '<KEY>', 2, '127.0.0.1', '2021-01-23 03:40:21', '2021-01-27 07:40:25', 0), (544, '<KEY>', 2, '127.0.0.1', '2021-01-23 09:01:27', '2021-01-27 07:40:25', 0), (545, '<KEY>', 2, '127.0.0.1', '2021-01-25 02:37:01', '2021-01-27 07:40:25', 0), (546, '<KEY>', 1, '127.0.0.1', '2021-01-25 03:50:28', '2021-01-25 03:50:28', 1), (547, '<KEY>', 3, '127.0.0.1', '2021-01-25 08:37:13', '2021-01-25 08:37:13', 1), (548, '<KEY>', 2, '127.0.0.1', '2021-01-26 09:53:10', '2021-01-27 07:40:25', 0), (549, '<KEY>', 2, '192.168.202.16', '2021-01-26 10:22:33', '2021-01-27 07:40:25', 0), (550, '<KEY>', 20, '192.168.202.26', '2021-01-26 10:22:34', '2021-01-26 10:22:34', 1), (551, '<KEY>', 2, '1172.16.31.10', '2021-01-27 07:32:13', '2021-01-27 07:40:25', 0), (552, '<KEY>', 2, '127.0.0.1', '2021-01-27 07:40:22', '2021-01-27 07:40:25', 1), (553, '<KEY>', 2, '127.0.0.1', '2021-01-29 09:14:58', '2021-01-29 09:14:58', 1), (554, '<KEY>', 2, '192.168.202.16', '2021-02-01 02:51:09', '2021-02-01 02:51:09', 1), (555, '<KEY>', 22, '192.168.202.15', '2021-02-01 03:10:09', '2021-02-01 03:10:09', 1), (556, '<KEY>', 22, '192.168.202.15', '2021-02-01 03:10:19', '2021-02-01 03:10:19', 1), (557, '<KEY>', 22, '192.168.202.15', '2021-02-01 03:10:49', '2021-02-01 03:10:49', 1), (558, '<KEY>', 22, '192.168.202.15', '2021-02-01 03:10:50', '2021-02-01 03:10:50', 1), (559, 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MjIsImVtYWlsIjoidHV5ZW5AZ21haWwuY29tIiwiYXZhdGFyIjoidXNlcnNcL2RlZmF1bHQucG5nIiwibmFtZSI6ImFzZGZnaCJ9.YAgO-aH53Y6XhNyEEF-eWYC9WIjwmFltutmkS0rCd2o', 22, '192.168.202.15', '2021-02-01 03:18:04', '2021-02-01 03:18:04', 1), (560, '<KEY>', 28, '192.168.202.15', '2021-02-01 04:41:23', '2021-02-01 04:41:23', 1); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `settings` -- CREATE TABLE `settings` ( `id` int(10) UNSIGNED NOT NULL, `key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `display_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `value` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `details` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `order` int(11) NOT NULL DEFAULT 1, `group` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `settings` -- INSERT INTO `settings` (`id`, `key`, `display_name`, `value`, `details`, `type`, `order`, `group`) VALUES (1, 'site.title', 'Site Title', 'Site Title', '', 'text', 1, 'Site'), (2, 'site.description', 'Site Description', 'Site Description', '', 'text', 2, 'Site'), (3, 'site.logo', 'Site Logo', '', '', 'image', 3, 'Site'), (4, 'site.google_analytics_tracking_id', 'Google Analytics Tracking ID', NULL, '', 'text', 4, 'Site'), (5, 'admin.bg_image', 'Admin Background Image', '', '', 'image', 5, 'Admin'), (6, 'admin.title', 'Admin Title', 'Voyager', '', 'text', 1, 'Admin'), (7, 'admin.description', 'Admin Description', 'Welcome to Voyager. The Missing Admin for Laravel', '', 'text', 2, 'Admin'), (8, 'admin.loader', 'Admin Loader', '', '', 'image', 3, 'Admin'), (9, 'admin.icon_image', 'Admin Icon Image', '', '', 'image', 4, 'Admin'), (10, 'admin.google_analytics_client_id', 'Google Analytics Client ID (used for admin dashboard)', NULL, '', 'text', 1, 'Admin'), (11, 'admin.GG_KEY', 'GG_key', NULL, NULL, 'text', 6, 'Admin'), (12, 'admin.GOOGLE_DRIVE_CLIENT_ID', 'Google drive client', '535179596452-5378kevva5h2g9c9f2do5vp4tedun89o.apps.googleusercontent.com', NULL, 'text', 7, 'Admin'), (13, 'admin.GOOGLE_DRIVE_CLIENT_SECRET', 'GOOGLE DRIVE CLIENT SECRET', '<KEY>', NULL, 'text', 8, 'Admin'), (14, 'admin.GOOGLE_DRIVE_REFRESH_TOKEN', 'GOOGLE DRIVE REFRESH TOKEN', '1//04E3r5aPO74i8CgYI<PASSWORD>AGAQSNwF-L9IrN4uxJS1wm8LsSqZ4RDRFW_p-OIXVlUfulAf8Ke9jXo1BLJoPxCpEnRpz1XChRXIrx4Q', NULL, 'text', 9, 'Admin'), (15, 'admin.GOOGLE_DRIVE_FOLDER_ID', 'GOOGLE DRIVE FOLDER ID', '1RxuxC3CK5ceksFmIqwnAexRdkDtHnRb2', NULL, 'text', 10, 'Admin'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `socials` -- CREATE TABLE `socials` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL, `avatar` text 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; -- -- Đang đổ dữ liệu cho bảng `socials` -- INSERT INTO `socials` (`id`, `name`, `avatar`, `created_at`, `updated_at`) VALUES (2, 'Facebook', 'socials\\January2021\\GeoevAc5FSa8YdUue5Nr.jpg', '2021-01-11 02:51:00', '2021-01-11 02:57:03'), (3, 'Youtube', 'socials\\January2021\\FNopgDe1vrjnPE3aSjL3.jpg', '2021-01-11 02:58:05', '2021-01-11 02:58:05'), (4, 'Instagram', 'socials\\January2021\\gqzUXa0s8EbE9DzMtZNB.jpg', '2021-01-11 02:58:19', '2021-01-11 02:58:19'), (5, '<NAME>', 'socials\\January2021\\r7gj3CbVIKtFlQvqPcAI.png', '2021-01-11 02:59:12', '2021-01-11 02:59:12'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `social_artists` -- CREATE TABLE `social_artists` ( `artist_id` int(11) DEFAULT NULL, `social_id` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `social_artists` -- INSERT INTO `social_artists` (`artist_id`, `social_id`) VALUES (2, 2), (2, 3), (2, 4), (2, 5); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `songs` -- CREATE TABLE `songs` ( `id` bigint(20) UNSIGNED NOT NULL, `owner_id` int(11) DEFAULT NULL, `song_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `mp3_file` text COLLATE utf8mb4_unicode_ci NOT NULL, `description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `song_id_gg_drive` text COLLATE utf8mb4_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `songs` -- INSERT INTO `songs` (`id`, `owner_id`, `song_name`, `mp3_file`, `description`, `created_at`, `updated_at`, `song_id_gg_drive`) VALUES (147, 3, 'con caaaaaaaa', '1f5J5Z2KJiMZgWI6KOEIUtWUtzTTNd65I/1Ax2C-wizQGLvBLkP77BBOfChXKjhBhZ2', '123456', '2021-01-29 03:21:14', '2021-01-29 03:29:51', '{\"name\":\"Y\\u00eau-T\\u1eeb-\\u0110\\u00e2u-M\\u00e0-Ra-Lil-Zpoet.mp3\",\"type\":\"file\",\"path\":\"1f5J5Z2KJiMZgWI6KOEIUtWUtzTTNd65I\\/1Ax2C-wizQGLvBLkP77BBOfChXKjhBhZ2\",\"filename\":\"Y\\u00eau-T\\u1eeb-\\u0110\\u00e2u-M\\u00e0-Ra-Lil-Zpoet\",\"extension\":\"mp3\",\"timestamp\":1611890996,\"mimetype\":\"audio\\/mpeg\",\"size\":10150180,\"dirname\":\"1f5J5Z2KJiMZgWI6KOEIUtWUtzTTNd65I\",\"basename\":\"1Ax2C-wizQGLvBLkP77BBOfChXKjhBhZ2\"}'), (148, 3, 'tuyet voi', '1hpQq4L6-i7FDW3DF9kNa0XEwvQBjjodk/11iTxR_mnIrWvoz-y4-2bqo8fPSYwbM1T', '1', '2021-01-29 08:44:10', '2021-01-29 08:44:10', '{\"name\":\"NangTho-HoangDung-6413381.mp3\",\"type\":\"file\",\"path\":\"1hpQq4L6-i7FDW3DF9kNa0XEwvQBjjodk\\/11iTxR_mnIrWvoz-y4-2bqo8fPSYwbM1T\",\"filename\":\"NangTho-HoangDung-6413381\",\"extension\":\"mp3\",\"timestamp\":1611909849,\"mimetype\":\"audio\\/mpeg\",\"size\":4171667,\"dirname\":\"1hpQq4L6-i7FDW3DF9kNa0XEwvQBjjodk\",\"basename\":\"11iTxR_mnIrWvoz-y4-2bqo8fPSYwbM1T\"}'), (149, 3, 'tuyet voi', '1hpQq4L6-i7FDW3DF9kNa0XEwvQBjjodk/11iTxR_mnIrWvoz-y4-2bqo8fPSYwbM1T', '1', '2021-01-29 08:44:48', '2021-01-29 08:44:48', '{\"name\":\"NangTho-HoangDung-6413381.mp3\",\"type\":\"file\",\"path\":\"1hpQq4L6-i7FDW3DF9kNa0XEwvQBjjodk\\/11iTxR_mnIrWvoz-y4-2bqo8fPSYwbM1T\",\"filename\":\"NangTho-HoangDung-6413381\",\"extension\":\"mp3\",\"timestamp\":1611909849,\"mimetype\":\"audio\\/mpeg\",\"size\":4171667,\"dirname\":\"1hpQq4L6-i7FDW3DF9kNa0XEwvQBjjodk\",\"basename\":\"11iTxR_mnIrWvoz-y4-2bqo8fPSYwbM1T\"}'), (155, 2, 'tuyet voi', '10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue/1U35jpKttMiRX0b_PEdPEC7i_BYAh9b04', '123456', '2021-01-29 09:24:27', '2021-01-29 09:24:27', '{\"name\":\"NangTho-HoangDung-6413381.mp3\",\"type\":\"file\",\"path\":\"10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue\\/1U35jpKttMiRX0b_PEdPEC7i_BYAh9b04\",\"filename\":\"NangTho-HoangDung-6413381\",\"extension\":\"mp3\",\"timestamp\":1611912267,\"mimetype\":\"audio\\/mpeg\",\"size\":4171667,\"dirname\":\"10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue\",\"basename\":\"1U35jpKttMiRX0b_PEdPEC7i_BYAh9b04\"}'), (156, 2, 'cccccc', '10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue/1O9DfWdYvo7ZBz_ArabhrfDGH9m9VHGeM', '1', '2021-01-29 09:25:11', '2021-01-29 09:25:11', '{\"name\":\"Y\\u00eau-T\\u1eeb-\\u0110\\u00e2u-M\\u00e0-Ra-Lil-Zpoet.mp3\",\"type\":\"file\",\"path\":\"10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue\\/1O9DfWdYvo7ZBz_ArabhrfDGH9m9VHGeM\",\"filename\":\"Y\\u00eau-T\\u1eeb-\\u0110\\u00e2u-M\\u00e0-Ra-Lil-Zpoet\",\"extension\":\"mp3\",\"timestamp\":1611912311,\"mimetype\":\"audio\\/mpeg\",\"size\":10150180,\"dirname\":\"10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue\",\"basename\":\"1O9DfWdYvo7ZBz_ArabhrfDGH9m9VHGeM\"}'), (157, 2, 'tuyet voi 1', '10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue/14TUCwrCBCoc0xcUhia5O_rsCEBUf_EIK', '1', '2021-01-29 09:25:40', '2021-01-29 09:25:40', '{\"name\":\"fgfhg.mp3\",\"type\":\"file\",\"path\":\"10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue\\/14TUCwrCBCoc0xcUhia5O_rsCEBUf_EIK\",\"filename\":\"fgfhg\",\"extension\":\"mp3\",\"timestamp\":1611912339,\"mimetype\":\"audio\\/mpeg\",\"size\":10150180,\"dirname\":\"10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue\",\"basename\":\"14TUCwrCBCoc0xcUhia5O_rsCEBUf_EIK\"}'), (158, 1, 'cccccc', '1fExsP3hSM55frdXpGuHtKEw3gRA6koGz/18JN5VWOm8XXg_RO9o8mzlKMba7NXyWnH', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s.', '2021-01-29 09:36:24', '2021-01-29 09:36:24', '{\"name\":\"tuyetvoi.mp3\",\"type\":\"file\",\"path\":\"1fExsP3hSM55frdXpGuHtKEw3gRA6koGz\\/18JN5VWOm8XXg_RO9o8mzlKMba7NXyWnH\",\"filename\":\"tuyetvoi\",\"extension\":\"mp3\",\"timestamp\":1611912982,\"mimetype\":\"audio\\/mpeg\",\"size\":10150180,\"dirname\":\"1fExsP3hSM55frdXpGuHtKEw3gRA6koGz\",\"basename\":\"18JN5VWOm8XXg_RO9o8mzlKMba7NXyWnH\"}'), (159, 1, 'cccccc', '1fExsP3hSM55frdXpGuHtKEw3gRA6koGz/14TnLvNPQkj_qRgQ7l01wq0pGNBdZUWK5', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s.', '2021-01-29 09:37:28', '2021-01-29 09:38:54', '{\"name\":\"Y\\u00eau-T\\u1eeb-\\u0110\\u00e2u-M\\u00e0-Ra-Lil-Zpoet.mp3\",\"type\":\"file\",\"path\":\"1fExsP3hSM55frdXpGuHtKEw3gRA6koGz\\/14TnLvNPQkj_qRgQ7l01wq0pGNBdZUWK5\",\"filename\":\"Y\\u00eau-T\\u1eeb-\\u0110\\u00e2u-M\\u00e0-Ra-Lil-Zpoet\",\"extension\":\"mp3\",\"timestamp\":1611913133,\"mimetype\":\"audio\\/mpeg\",\"size\":10150180,\"dirname\":\"1fExsP3hSM55frdXpGuHtKEw3gRA6koGz\",\"basename\":\"14TnLvNPQkj_qRgQ7l01wq0pGNBdZUWK5\"}'), (160, 1, 'tuyet voi 1', '1fExsP3hSM55frdXpGuHtKEw3gRA6koGz/14TnLvNPQkj_qRgQ7l01wq0pGNBdZUWK5', 'kkkkkkk', '2021-01-29 09:37:44', '2021-01-29 09:40:11', '{\"name\":\"Y\\u00eau-T\\u1eeb-\\u0110\\u00e2u-M\\u00e0-Ra-Lil-Zpoet.mp3\",\"type\":\"file\",\"path\":\"1fExsP3hSM55frdXpGuHtKEw3gRA6koGz\\/14TnLvNPQkj_qRgQ7l01wq0pGNBdZUWK5\",\"filename\":\"Y\\u00eau-T\\u1eeb-\\u0110\\u00e2u-M\\u00e0-Ra-Lil-Zpoet\",\"extension\":\"mp3\",\"timestamp\":1611913133,\"mimetype\":\"audio\\/mpeg\",\"size\":10150180,\"dirname\":\"1fExsP3hSM55frdXpGuHtKEw3gRA6koGz\",\"basename\":\"14TnLvNPQkj_qRgQ7l01wq0pGNBdZUWK5\"}'), (166, 2, 'fgfhg', '10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue/11tuLfDd4NK5pqu5JbxsrgIDBpym4c5jL', 'kkkkkkk', '2021-01-31 20:32:55', '2021-01-31 20:32:55', '{\"name\":\"gfdfgd (1).mp3\",\"type\":\"file\",\"path\":\"10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue\\/11tuLfDd4NK5pqu5JbxsrgIDBpym4c5jL\",\"filename\":\"gfdfgd (1)\",\"extension\":\"mp3\",\"timestamp\":1612125173,\"mimetype\":\"audio\\/mpeg\",\"size\":10150180,\"dirname\":\"10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue\",\"basename\":\"11tuLfDd4NK5pqu5JbxsrgIDBpym4c5jL\"}'), (167, 2, '2222', '10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue/1i3Z5kUmgCB5HPmqsmfKmBSq5ZK_iQNZF', NULL, '2021-01-31 20:33:13', '2021-01-31 20:34:47', '{\"name\":\"tuyetvoi (1).mp3\",\"type\":\"file\",\"path\":\"10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue\\/1i3Z5kUmgCB5HPmqsmfKmBSq5ZK_iQNZF\",\"filename\":\"tuyetvoi (1)\",\"extension\":\"mp3\",\"timestamp\":1612125286,\"mimetype\":\"audio\\/mpeg\",\"size\":10150180,\"dirname\":\"10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue\",\"basename\":\"1i3Z5kUmgCB5HPmqsmfKmBSq5ZK_iQNZF\"}'), (168, 2, '3333', '10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue/1O71V4sESigp_t6X7GEHjQa0eDn08qKe1', NULL, '2021-01-31 20:33:34', '2021-01-31 20:36:15', '{\"name\":\"Y\\u00eau-T\\u1eeb-\\u0110\\u00e2u-M\\u00e0-Ra-Lil-Zpoet.mp3\",\"type\":\"file\",\"path\":\"10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue\\/1O71V4sESigp_t6X7GEHjQa0eDn08qKe1\",\"filename\":\"Y\\u00eau-T\\u1eeb-\\u0110\\u00e2u-M\\u00e0-Ra-Lil-Zpoet\",\"extension\":\"mp3\",\"timestamp\":1612125373,\"mimetype\":\"audio\\/mpeg\",\"size\":10150180,\"dirname\":\"10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue\",\"basename\":\"1O71V4sESigp_t6X7GEHjQa0eDn08qKe1\"}'), (169, 1, 'tuyet voi', '1fExsP3hSM55frdXpGuHtKEw3gRA6koGz/19gRfRB2BhbLz6TbfMOJpp1_ErXgmDwIz', 'kkkkkkk', '2021-02-01 09:22:01', '2021-02-01 09:22:01', '{\"name\":\"fgfhg.mp3\",\"type\":\"file\",\"path\":\"1fExsP3hSM55frdXpGuHtKEw3gRA6koGz\\/19gRfRB2BhbLz6TbfMOJpp1_ErXgmDwIz\",\"filename\":\"fgfhg\",\"extension\":\"mp3\",\"timestamp\":1612171321,\"mimetype\":\"audio\\/mpeg\",\"size\":10150180,\"dirname\":\"1fExsP3hSM55frdXpGuHtKEw3gRA6koGz\",\"basename\":\"19gRfRB2BhbLz6TbfMOJpp1_ErXgmDwIz\"}'), (170, 1, 'tuyet voi', '1fExsP3hSM55frdXpGuHtKEw3gRA6koGz/1HpPAVnMg0B3Pqv3NvtC0pa0AAjXupKkc', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s.', '2021-02-01 09:23:20', '2021-02-01 09:23:20', '{\"name\":\"NangTho-HoangDung-6413381.mp3\",\"type\":\"file\",\"path\":\"1fExsP3hSM55frdXpGuHtKEw3gRA6koGz\\/1HpPAVnMg0B3Pqv3NvtC0pa0AAjXupKkc\",\"filename\":\"NangTho-HoangDung-6413381\",\"extension\":\"mp3\",\"timestamp\":1612171400,\"mimetype\":\"audio\\/mpeg\",\"size\":4171667,\"dirname\":\"1fExsP3hSM55frdXpGuHtKEw3gRA6koGz\",\"basename\":\"1HpPAVnMg0B3Pqv3NvtC0pa0AAjXupKkc\"}'), (171, 1, 'tuyet voi', '1fExsP3hSM55frdXpGuHtKEw3gRA6koGz/1VhJuqUJ4yGArf2n5OmLXpGlfzyNwc1eO', '11111111111', '2021-02-01 09:25:33', '2021-02-01 09:25:33', '{\"name\":\"tuyetvoi (1).mp3\",\"type\":\"file\",\"path\":\"1fExsP3hSM55frdXpGuHtKEw3gRA6koGz\\/1VhJuqUJ4yGArf2n5OmLXpGlfzyNwc1eO\",\"filename\":\"tuyetvoi (1)\",\"extension\":\"mp3\",\"timestamp\":1612171534,\"mimetype\":\"audio\\/mpeg\",\"size\":10150180,\"dirname\":\"1fExsP3hSM55frdXpGuHtKEw3gRA6koGz\",\"basename\":\"1VhJuqUJ4yGArf2n5OmLXpGlfzyNwc1eO\"}'), (172, 1, 'fgfhg', '1fExsP3hSM55frdXpGuHtKEw3gRA6koGz/18N417b43yTNbhizx4tBEr60JQ5qaL6Ak', 'kkkkkkk', '2021-02-28 19:42:30', '2021-02-28 19:42:30', '{\"name\":\"Y\\u00eau-T\\u1eeb-\\u0110\\u00e2u-M\\u00e0-Ra-Lil-Zpoet.mp3\",\"type\":\"file\",\"path\":\"1fExsP3hSM55frdXpGuHtKEw3gRA6koGz\\/18N417b43yTNbhizx4tBEr60JQ5qaL6Ak\",\"filename\":\"Y\\u00eau-T\\u1eeb-\\u0110\\u00e2u-M\\u00e0-Ra-Lil-Zpoet\",\"extension\":\"mp3\",\"timestamp\":1614541349,\"mimetype\":\"audio\\/mpeg\",\"size\":10150180,\"dirname\":\"1fExsP3hSM55frdXpGuHtKEw3gRA6koGz\",\"basename\":\"18N417b43yTNbhizx4tBEr60JQ5qaL6Ak\"}'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `song_permissions` -- CREATE TABLE `song_permissions` ( `song_id` bigint(20) DEFAULT NULL, `user_id` bigint(20) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `song_permissions` -- INSERT INTO `song_permissions` (`song_id`, `user_id`) VALUES (6, 1), (6, 2), (7, 2), (8, 2), (9, 3), (11, 3), (6, 3), (12, 3), (3, 2), (14, 3), (17, 2), (17, 3), (17, 4), (18, 2), (19, 3), (23, 2), (23, 3), (23, 4), (22, 5), (22, 6), (30, 10), (29, 2), (31, 5), (31, 7), (31, 10), (31, 9), (33, 5), (33, 7), (33, 9), (34, 6), (34, 7), (1, 1), (3, 1), (9, 1), (115, 2), (115, 3), (115, 9), (116, 3), (119, 3), (119, 13), (120, 1), (120, 2), (121, 9), (122, 1), (122, 2), (134, 2), (138, 3), (158, 1), (158, 2), (158, 3), (158, 9), (158, 13), (158, 20), (158, 21), (159, 2), (160, 2), (169, 1), (170, 9), (172, 2); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `translations` -- CREATE TABLE `translations` ( `id` int(10) UNSIGNED NOT NULL, `table_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `column_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `foreign_key` int(10) UNSIGNED NOT NULL, `locale` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `value` text COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `translations` -- INSERT INTO `translations` (`id`, `table_name`, `column_name`, `foreign_key`, `locale`, `value`, `created_at`, `updated_at`) VALUES (1, 'data_types', 'display_name_singular', 5, 'pt', 'Post', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (2, 'data_types', 'display_name_singular', 6, 'pt', 'Página', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (3, 'data_types', 'display_name_singular', 1, 'pt', 'Utilizador', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (4, 'data_types', 'display_name_singular', 4, 'pt', 'Categoria', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (5, 'data_types', 'display_name_singular', 2, 'pt', 'Menu', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (6, 'data_types', 'display_name_singular', 3, 'pt', 'Função', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (7, 'data_types', 'display_name_plural', 5, 'pt', 'Posts', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (8, 'data_types', 'display_name_plural', 6, 'pt', 'Páginas', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (9, 'data_types', 'display_name_plural', 1, 'pt', 'Utilizadores', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (10, 'data_types', 'display_name_plural', 4, 'pt', 'Categorias', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (11, 'data_types', 'display_name_plural', 2, 'pt', 'Menus', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (12, 'data_types', 'display_name_plural', 3, 'pt', 'Funções', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (13, 'categories', 'slug', 1, 'pt', 'categoria-1', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (14, 'categories', 'name', 1, 'pt', 'Categoria 1', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (15, 'categories', 'slug', 2, 'pt', 'categoria-2', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (16, 'categories', 'name', 2, 'pt', 'Categoria 2', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (17, 'pages', 'title', 1, 'pt', '<NAME>', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (18, 'pages', 'slug', 1, 'pt', 'ola-mundo', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (19, 'pages', 'body', 1, 'pt', '<p><NAME>. Scallywag grog swab Cat o\'nine tails scuttle rigging hardtack cable nipper Yellow Jack. Handsomely spirits knave lad killick landlubber or just lubber deadlights chantey pinnace crack Jennys tea cup. Provost long clothes black spot Yellow Jack bilged on her anchor league lateen sail case shot lee tackle.</p>\r\n<p>Ballast spirits fluke topmast me quarterdeck schooner landlubber or just lubber gabion belaying pin. Pinnace stern galleon starboard warp carouser to go on account dance the hempen jig jolly boat measured fer yer chains. Man-of-war fire in the hole nipperkin handsomely doubloon barkadeer Brethren of the Coast gibbet driver squiffy.</p>', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (20, 'menu_items', 'title', 1, 'pt', 'Painel de Controle', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (21, 'menu_items', 'title', 2, 'pt', 'Media', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (22, 'menu_items', 'title', 12, 'pt', 'Publicações', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (23, 'menu_items', 'title', 3, 'pt', 'Utilizadores', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (24, 'menu_items', 'title', 11, 'pt', 'Categorias', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (25, 'menu_items', 'title', 13, 'pt', 'Páginas', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (26, 'menu_items', 'title', 4, 'pt', 'Funções', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (27, 'menu_items', 'title', 5, 'pt', 'Ferramentas', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (28, 'menu_items', 'title', 6, 'pt', 'Menus', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (29, 'menu_items', 'title', 7, 'pt', 'Base de dados', '2021-01-08 04:06:31', '2021-01-08 04:06:31'), (30, 'menu_items', 'title', 10, 'pt', 'Configurações', '2021-01-08 04:06:31', '2021-01-08 04:06:31'); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `users` -- CREATE TABLE `users` ( `id` bigint(20) UNSIGNED NOT NULL, `role_id` bigint(20) UNSIGNED DEFAULT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `avatar` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 'users/default.png', `email_verified_at` timestamp NULL DEFAULT NULL, `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `settings` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `folder_id_drive` text COLLATE utf8mb4_unicode_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `users` -- INSERT INTO `users` (`id`, `role_id`, `name`, `email`, `avatar`, `email_verified_at`, `password`, `remember_token`, `settings`, `created_at`, `updated_at`, `folder_id_drive`) VALUES (1, 1, 'Admin', '<EMAIL>', 'users\\January2021\\6sGXl8GK7WTsFUKterp4.jpg', NULL, '$2y$10$zjmZcKhSVSdSFNbKUivogODoU6iJJ.3QPMfEtY3EPXwA0yZPTluXW', 'xWaLMzJOCHWOJyGYLLXZ09mDQ5xxYr2OzyEoRniocFQwGTWdkrqDEdbHXjDx', '{\"locale\":\"en\"}', '2021-01-08 04:06:31', '2021-01-29 09:36:17', '{\"kind\":\"drive#file\",\"id\":\"1fExsP3hSM55frdXpGuHtKEw3gRA6koGz\",\"etag\":\"\\\"MTYxMTkxMjk3Nzg2NA\\\"\",\"selfLink\":\"https:\\/\\/www.googleapis.com\\/drive\\/v2\\/files\\/1fExsP3hSM55frdXpGuHtKEw3gRA6koGz\",\"alternateLink\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1fExsP3hSM55frdXpGuHtKEw3gRA6koGz\",\"embedLink\":\"https:\\/\\/drive.google.com\\/embeddedfolderview?id=1fExsP3hSM55frdXpGuHtKEw3gRA6koGz\",\"iconLink\":\"https:\\/\\/drive-thirdparty.googleusercontent.com\\/16\\/type\\/application\\/vnd.google-apps.folder+48\",\"title\":\"<EMAIL>\",\"mimeType\":\"application\\/vnd.google-apps.folder\",\"labels\":{\"starred\":false,\"hidden\":false,\"trashed\":false,\"restricted\":false,\"viewed\":true},\"copyRequiresWriterPermission\":false,\"createdDate\":\"2021-01-29T09:36:17.864Z\",\"modifiedDate\":\"2021-01-29T09:36:17.864Z\",\"modifiedByMeDate\":\"2021-01-29T09:36:17.864Z\",\"lastViewedByMeDate\":\"2021-01-29T09:36:17.864Z\",\"markedViewedByMeDate\":\"1970-01-01T00:00:00.000Z\",\"version\":\"1\",\"parents\":[{\"kind\":\"drive#parentReference\",\"id\":\"1RxuxC3CK5ceksFmIqwnAexRdkDtHnRb2\",\"selfLink\":\"https:\\/\\/www.googleapis.com\\/drive\\/v2\\/files\\/1fExsP3hSM55frdXpGuHtKEw3gRA6koGz\\/parents\\/1RxuxC3CK5ceksFmIqwnAexRdkDtHnRb2\",\"parentLink\":\"https:\\/\\/www.googleapis.com\\/drive\\/v2\\/files\\/1RxuxC3CK5ceksFmIqwnAexRdkDtHnRb2\",\"isRoot\":false}],\"userPermission\":{\"kind\":\"drive#permission\",\"etag\":\"\\\"yShzaYPyYjvQ6RBnOC8Ob15U7n4\\\"\",\"id\":\"me\",\"selfLink\":\"https:\\/\\/www.googleapis.com\\/drive\\/v2\\/files\\/1fExsP3hSM55frdXpGuHtKEw3gRA6koGz\\/permissions\\/me\",\"role\":\"owner\",\"type\":\"user\"},\"quotaBytesUsed\":\"0\",\"ownerNames\":[\"<NAME>\"],\"owners\":[{\"kind\":\"drive#user\",\"displayName\":\"<NAME>\",\"picture\":{\"url\":\"https:\\/\\/lh3.googleusercontent.com\\/a-\\/AOh14GhZe2r0AAF-jYT_K5E58yA6cKkzx4InC199gInV=s64\"},\"isAuthenticatedUser\":true,\"permissionId\":\"09195447768437880956\",\"emailAddress\":\"<EMAIL>\"}],\"lastModifyingUserName\":\"Cai Bap\",\"lastModifyingUser\":{\"kind\":\"drive#user\",\"displayName\":\"<NAME>\",\"picture\":{\"url\":\"https:\\/\\/lh3.googleusercontent.com\\/a-\\/AOh14GhZe2r0AAF-jYT_K5E58yA6cKkzx4InC199gInV=s64\"},\"isAuthenticatedUser\":true,\"permissionId\":\"09195447768437880956\",\"emailAddress\":\"<EMAIL>\"},\"capabilities\":{\"canCopy\":false,\"canEdit\":true},\"editable\":true,\"copyable\":false,\"writersCanShare\":true,\"shared\":false,\"explicitlyTrashed\":false,\"appDataContents\":false,\"spaces\":[\"drive\"]}'), (2, 2, '<NAME>', '<EMAIL>', 'users\\January2021\\yDClyjI2wDPXWlqVSqv2.jpg', NULL, '$2y$10$yjq.HSrEx53RjEuJDeUXw.XNeP9I6ZREJfqqWylqeZBQF5WIT7IVu', NULL, '{\"locale\":\"en\"}', '2021-01-08 05:45:36', '2021-01-29 09:16:12', '{\"kind\":\"drive#file\",\"id\":\"10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue\",\"etag\":\"\\\"MTYxMTkxMTc3MzE4OQ\\\"\",\"selfLink\":\"https:\\/\\/www.googleapis.com\\/drive\\/v2\\/files\\/10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue\",\"alternateLink\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue\",\"embedLink\":\"https:\\/\\/drive.google.com\\/embeddedfolderview?id=10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue\",\"iconLink\":\"https:\\/\\/drive-thirdparty.googleusercontent.com\\/16\\/type\\/application\\/vnd.google-apps.folder+48\",\"title\":\"<EMAIL>\",\"mimeType\":\"application\\/vnd.google-apps.folder\",\"labels\":{\"starred\":false,\"hidden\":false,\"trashed\":false,\"restricted\":false,\"viewed\":true},\"copyRequiresWriterPermission\":false,\"createdDate\":\"2021-01-29T09:16:13.189Z\",\"modifiedDate\":\"2021-01-29T09:16:13.189Z\",\"modifiedByMeDate\":\"2021-01-29T09:16:13.189Z\",\"lastViewedByMeDate\":\"2021-01-29T09:16:13.189Z\",\"markedViewedByMeDate\":\"1970-01-01T00:00:00.000Z\",\"version\":\"1\",\"parents\":[{\"kind\":\"drive#parentReference\",\"id\":\"1RxuxC3CK5ceksFmIqwnAexRdkDtHnRb2\",\"selfLink\":\"https:\\/\\/www.googleapis.com\\/drive\\/v2\\/files\\/10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue\\/parents\\/1RxuxC3CK5ceksFmIqwnAexRdkDtHnRb2\",\"parentLink\":\"https:\\/\\/www.googleapis.com\\/drive\\/v2\\/files\\/1RxuxC3CK5ceksFmIqwnAexRdkDtHnRb2\",\"isRoot\":false}],\"userPermission\":{\"kind\":\"drive#permission\",\"etag\":\"\\\"ioQ1O_eWLo3NCypp7xH-81aYxto\\\"\",\"id\":\"me\",\"selfLink\":\"https:\\/\\/www.googleapis.com\\/drive\\/v2\\/files\\/10zgCyFR9wNCHPvAjRziqNl_cOR_TIWue\\/permissions\\/me\",\"role\":\"owner\",\"type\":\"user\"},\"quotaBytesUsed\":\"0\",\"ownerNames\":[\"Cai Bap\"],\"owners\":[{\"kind\":\"drive#user\",\"displayName\":\"<NAME>\",\"picture\":{\"url\":\"https:\\/\\/lh3.googleusercontent.com\\/a-\\/AOh14GhZe2r0AAF-jYT_K5E58yA6cKkzx4InC199gInV=s64\"},\"isAuthenticatedUser\":true,\"permissionId\":\"09195447768437880956\",\"emailAddress\":\"<EMAIL>\"}],\"lastModifyingUserName\":\"<NAME>\",\"lastModifyingUser\":{\"kind\":\"drive#user\",\"displayName\":\"<NAME>\",\"picture\":{\"url\":\"https:\\/\\/lh3.googleusercontent.com\\/a-\\/AOh14GhZe2r0AAF-jYT_K5E58yA6cKkzx4InC199gInV=s64\"},\"isAuthenticatedUser\":true,\"permissionId\":\"09195447768437880956\",\"emailAddress\":\"<EMAIL>\"},\"capabilities\":{\"canCopy\":false,\"canEdit\":true},\"editable\":true,\"copyable\":false,\"writersCanShare\":true,\"shared\":false,\"explicitlyTrashed\":false,\"appDataContents\":false,\"spaces\":[\"drive\"]}'), (3, 2, '<NAME>', '<EMAIL>', 'users\\January2021\\upUWnTDUgELdqn3YuDvf.jpg', NULL, '$2y$10$wifbSfwuoRbRB6KD8nPVL.rNhLtn4eY8WI5LrNO09PRXtq.DLTJN6', NULL, '{\"locale\":\"en\"}', '2021-01-08 07:39:27', '2021-01-29 08:44:06', '{\"kind\":\"drive#file\",\"id\":\"1hpQq4L6-i7FDW3DF9kNa0XEwvQBjjodk\",\"etag\":\"\\\"MTYxMTkwOTg0NjQxMQ\\\"\",\"selfLink\":\"https:\\/\\/www.googleapis.com\\/drive\\/v2\\/files\\/1hpQq4L6-i7FDW3DF9kNa0XEwvQBjjodk\",\"alternateLink\":\"https:\\/\\/drive.google.com\\/drive\\/folders\\/1hpQq4L6-i7FDW3DF9kNa0XEwvQBjjodk\",\"embedLink\":\"https:\\/\\/drive.google.com\\/embeddedfolderview?id=1hpQq4L6-i7FDW3DF9kNa0XEwvQBjjodk\",\"iconLink\":\"https:\\/\\/drive-thirdparty.googleusercontent.com\\/16\\/type\\/application\\/vnd.google-apps.folder+48\",\"title\":\"<EMAIL>\",\"mimeType\":\"application\\/vnd.google-apps.folder\",\"labels\":{\"starred\":false,\"hidden\":false,\"trashed\":false,\"restricted\":false,\"viewed\":true},\"copyRequiresWriterPermission\":false,\"createdDate\":\"2021-01-29T08:44:06.411Z\",\"modifiedDate\":\"2021-01-29T08:44:06.411Z\",\"modifiedByMeDate\":\"2021-01-29T08:44:06.411Z\",\"lastViewedByMeDate\":\"2021-01-29T08:44:06.411Z\",\"markedViewedByMeDate\":\"1970-01-01T00:00:00.000Z\",\"version\":\"1\",\"parents\":[{\"kind\":\"drive#parentReference\",\"id\":\"1PcazXeBh2VVcg0nLGZcA4icSZUm9M57K\",\"selfLink\":\"https:\\/\\/www.googleapis.com\\/drive\\/v2\\/files\\/1hpQq4L6-i7FDW3DF9kNa0XEwvQBjjodk\\/parents\\/1PcazXeBh2VVcg0nLGZcA4icSZUm9M57K\",\"parentLink\":\"https:\\/\\/www.googleapis.com\\/drive\\/v2\\/files\\/1PcazXeBh2VVcg0nLGZcA4icSZUm9M57K\",\"isRoot\":false}],\"userPermission\":{\"kind\":\"drive#permission\",\"etag\":\"\\\"GPKwrILpQqcOs0axwqCE8dah09k\\\"\",\"id\":\"me\",\"selfLink\":\"https:\\/\\/www.googleapis.com\\/drive\\/v2\\/files\\/1hpQq4L6-i7FDW3DF9kNa0XEwvQBjjodk\\/permissions\\/me\",\"role\":\"owner\",\"type\":\"user\"},\"quotaBytesUsed\":\"0\",\"ownerNames\":[\"Cai Bap\"],\"owners\":[{\"kind\":\"drive#user\",\"displayName\":\"<NAME>\",\"picture\":{\"url\":\"https:\\/\\/lh3.googleusercontent.com\\/a-\\/AOh14GhZe2r0AAF-jYT_K5E58yA6cKkzx4InC199gInV=s64\"},\"isAuthenticatedUser\":true,\"permissionId\":\"09195447768437880956\",\"emailAddress\":\"<EMAIL>\"}],\"lastModifyingUserName\":\"Cai Bap\",\"lastModifyingUser\":{\"kind\":\"drive#user\",\"displayName\":\"<NAME>\",\"picture\":{\"url\":\"https:\\/\\/lh3.googleusercontent.com\\/a-\\/AOh14GhZe2r0AAF-jYT_K5E58yA6cKkzx4InC199gInV=s64\"},\"isAuthenticatedUser\":true,\"permissionId\":\"09195447768437880956\",\"emailAddress\":\"<EMAIL>\"},\"capabilities\":{\"canCopy\":false,\"canEdit\":true},\"editable\":true,\"copyable\":false,\"writersCanShare\":true,\"shared\":false,\"explicitlyTrashed\":false,\"appDataContents\":false,\"spaces\":[\"drive\"]}'), (9, 2, 'tuyen', '<EMAIL>', 'users\\January2021\\2UCl16bVNF7scwjL1DGP.jpg', NULL, '$2y$10$vf2gSnzPG2WVg/fhY19xYOgO/pEZvFxmYJzDYEBG/FT88T/luMG.G', NULL, '{\"locale\":\"en\"}', '2021-01-18 02:22:45', '2021-01-18 09:19:13', NULL), (13, 2, '<NAME>', '<EMAIL>', 'users/default.png', NULL, '$2y$10$D.BW6EGnwDm6k60OccYtpuBVZFuCJ4CpwEdD6JuA1EKvK85lDH4Qi', NULL, '{\"locale\":\"en\"}', '2021-01-18 08:47:08', '2021-01-18 08:47:08', NULL), (20, 2, '<EMAIL>', '<EMAIL>', 'users/default.png', NULL, '$2y$10$UtwfqjcnyhP5k7EpQJ2jGuQsWx75GYZVtC0kntarOzFlY8FX.8p5K', NULL, '{\"locale\":\"en\"}', '2021-01-19 04:41:12', '2021-01-27 03:09:31', NULL), (21, 2, 'testExtension', '<EMAIL>', 'users/default.png', NULL, '$2y$10$8Xlhj9.IItcVGmqUrCUoLOEiuKyj6oDwTdMiPwZhV0eWfg53HdGPy', NULL, '{\"locale\":\"en\"}', '2021-01-19 04:41:42', '2021-01-19 04:41:42', NULL), (22, 2, 'asdfgh', '<EMAIL>', 'users/default.png', NULL, '$2y$10$XsC7/pEQZK2vUoqw5UcdLOgdafq3JTY24Q2W0QCSxW0C2JP5FLXWC', NULL, '{\"locale\":\"en\"}', '2021-02-01 02:35:32', '2021-02-01 02:35:32', NULL), (24, NULL, '', '<EMAIL>', 'C:\\xampp\\tmp\\phpB585.tmp', NULL, '1', NULL, NULL, '2021-02-01 03:39:04', '2021-02-01 03:39:04', NULL), (25, NULL, '', '<EMAIL>', 'C:\\xampp\\tmp\\php6E5F.tmp', NULL, '$2y$10$YASbifZWamiwT62KD5SVIujzGTFmPC0V/vw97RctF1sgQjIJ4ke/u', NULL, NULL, '2021-02-01 03:45:19', '2021-02-01 03:45:19', NULL), (26, NULL, '', '<EMAIL>', 'C:\\xampp\\tmp\\phpED6E.tmp', NULL, '$2y$10$ovGzDKnYfPpSpoxgFp8LZutM9s8n1wLSoAiM1gYIqYBPMdb8EuIcG', NULL, NULL, '2021-02-01 03:46:58', '2021-02-01 03:46:58', NULL), (27, NULL, 'as', '<EMAIL>', 'C:\\xampp\\tmp\\phpBA70.tmp', NULL, '$2y$10$07iRMewxm3vGWoqO.q8vH.y1HGCCVwqj4LvDPFzOnZu0qy3QwcBqm', NULL, NULL, '2021-02-01 04:32:37', '2021-02-01 04:32:37', NULL), (28, NULL, 'ggdu', '<EMAIL>', 'C:\\xampp\\tmp\\php8890.tmp', NULL, '$2y$10$jku0bU3IkXydPR6VE1XYT.UfbemIRu4gw4sn5ATiTDe8RWJLLcuuu', NULL, NULL, '2021-02-01 04:41:08', '2021-02-01 04:41:08', NULL); -- -------------------------------------------------------- -- -- Cấu trúc bảng cho bảng `user_roles` -- CREATE TABLE `user_roles` ( `user_id` bigint(20) UNSIGNED NOT NULL, `role_id` bigint(20) UNSIGNED NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Đang đổ dữ liệu cho bảng `user_roles` -- INSERT INTO `user_roles` (`user_id`, `role_id`) VALUES (2, 2), (2, 4), (2, 5), (2, 6), (3, 4), (3, 5), (9, 2), (13, 2), (20, 5), (20, 6), (21, 4), (22, 2); -- -- Chỉ mục cho các bảng đã đổ -- -- -- Chỉ mục cho bảng `account_artists` -- ALTER TABLE `account_artists` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `artists` -- ALTER TABLE `artists` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `artist_management` -- ALTER TABLE `artist_management` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `categories` -- ALTER TABLE `categories` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `categories_slug_unique` (`slug`), ADD KEY `categories_parent_id_foreign` (`parent_id`); -- -- Chỉ mục cho bảng `data_rows` -- ALTER TABLE `data_rows` ADD PRIMARY KEY (`id`), ADD KEY `data_rows_data_type_id_foreign` (`data_type_id`); -- -- Chỉ mục cho bảng `data_types` -- ALTER TABLE `data_types` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `data_types_name_unique` (`name`), ADD UNIQUE KEY `data_types_slug_unique` (`slug`); -- -- Chỉ mục cho bảng `failed_jobs` -- ALTER TABLE `failed_jobs` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`); -- -- Chỉ mục cho bảng `file_paths` -- ALTER TABLE `file_paths` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `menus` -- ALTER TABLE `menus` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `menus_name_unique` (`name`); -- -- Chỉ mục cho bảng `menu_items` -- ALTER TABLE `menu_items` ADD PRIMARY KEY (`id`), ADD KEY `menu_items_menu_id_foreign` (`menu_id`); -- -- Chỉ mục cho bảng `migrations` -- ALTER TABLE `migrations` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `pages` -- ALTER TABLE `pages` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `pages_slug_unique` (`slug`); -- -- Chỉ mục cho bảng `password_resets` -- ALTER TABLE `password_resets` ADD KEY `password_resets_email_index` (`email`); -- -- Chỉ mục cho bảng `permissions` -- ALTER TABLE `permissions` ADD PRIMARY KEY (`id`), ADD KEY `permissions_key_index` (`key`); -- -- Chỉ mục cho bảng `permission_role` -- ALTER TABLE `permission_role` ADD PRIMARY KEY (`permission_id`,`role_id`), ADD KEY `permission_role_permission_id_index` (`permission_id`), ADD KEY `permission_role_role_id_index` (`role_id`); -- -- Chỉ mục cho bảng `posts` -- ALTER TABLE `posts` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `posts_slug_unique` (`slug`); -- -- Chỉ mục cho bảng `roles` -- ALTER TABLE `roles` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `roles_name_unique` (`name`); -- -- Chỉ mục cho bảng `sessions` -- ALTER TABLE `sessions` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `settings` -- ALTER TABLE `settings` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `settings_key_unique` (`key`); -- -- Chỉ mục cho bảng `socials` -- ALTER TABLE `socials` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `social_artists` -- ALTER TABLE `social_artists` ADD KEY `social_artists_social_id_index` (`artist_id`), ADD KEY `social_artists_artists_id_index` (`social_id`); -- -- Chỉ mục cho bảng `songs` -- ALTER TABLE `songs` ADD PRIMARY KEY (`id`); -- -- Chỉ mục cho bảng `song_permissions` -- ALTER TABLE `song_permissions` ADD KEY `song_permissions_song_id_index` (`song_id`), ADD KEY `song_permissions_user_id_index` (`user_id`); -- -- Chỉ mục cho bảng `translations` -- ALTER TABLE `translations` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `translations_table_name_column_name_foreign_key_locale_unique` (`table_name`,`column_name`,`foreign_key`,`locale`); -- -- Chỉ mục cho bảng `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `users_email_unique` (`email`), ADD KEY `users_role_id_foreign` (`role_id`); -- -- Chỉ mục cho bảng `user_roles` -- ALTER TABLE `user_roles` ADD PRIMARY KEY (`user_id`,`role_id`), ADD KEY `user_roles_user_id_index` (`user_id`), ADD KEY `user_roles_role_id_index` (`role_id`); -- -- AUTO_INCREMENT cho các bảng đã đổ -- -- -- AUTO_INCREMENT cho bảng `account_artists` -- ALTER TABLE `account_artists` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27; -- -- AUTO_INCREMENT cho bảng `artists` -- ALTER TABLE `artists` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; -- -- AUTO_INCREMENT cho bảng `artist_management` -- ALTER TABLE `artist_management` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=81; -- -- AUTO_INCREMENT cho bảng `categories` -- ALTER TABLE `categories` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT cho bảng `data_rows` -- ALTER TABLE `data_rows` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=133; -- -- AUTO_INCREMENT cho bảng `data_types` -- ALTER TABLE `data_types` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30; -- -- AUTO_INCREMENT cho bảng `failed_jobs` -- ALTER TABLE `failed_jobs` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT cho bảng `file_paths` -- ALTER TABLE `file_paths` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT cho bảng `menus` -- ALTER TABLE `menus` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT cho bảng `menu_items` -- ALTER TABLE `menu_items` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34; -- -- AUTO_INCREMENT cho bảng `migrations` -- ALTER TABLE `migrations` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30; -- -- AUTO_INCREMENT cho bảng `pages` -- ALTER TABLE `pages` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT cho bảng `permissions` -- ALTER TABLE `permissions` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=128; -- -- AUTO_INCREMENT cho bảng `posts` -- ALTER TABLE `posts` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT cho bảng `roles` -- ALTER TABLE `roles` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT cho bảng `sessions` -- ALTER TABLE `sessions` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=561; -- -- AUTO_INCREMENT cho bảng `settings` -- ALTER TABLE `settings` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16; -- -- AUTO_INCREMENT cho bảng `socials` -- ALTER TABLE `socials` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT cho bảng `songs` -- ALTER TABLE `songs` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=173; -- -- AUTO_INCREMENT cho bảng `translations` -- ALTER TABLE `translations` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31; -- -- AUTO_INCREMENT cho bảng `users` -- ALTER TABLE `users` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29; -- -- Các ràng buộc cho các bảng đã đổ -- -- -- Các ràng buộc cho bảng `categories` -- ALTER TABLE `categories` ADD CONSTRAINT `categories_parent_id_foreign` FOREIGN KEY (`parent_id`) REFERENCES `categories` (`id`) ON DELETE SET NULL ON UPDATE CASCADE; -- -- Các ràng buộc cho bảng `data_rows` -- ALTER TABLE `data_rows` ADD CONSTRAINT `data_rows_data_type_id_foreign` FOREIGN KEY (`data_type_id`) REFERENCES `data_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Các ràng buộc cho bảng `menu_items` -- ALTER TABLE `menu_items` ADD CONSTRAINT `menu_items_menu_id_foreign` FOREIGN KEY (`menu_id`) REFERENCES `menus` (`id`) ON DELETE CASCADE; -- -- Các ràng buộc cho bảng `permission_role` -- ALTER TABLE `permission_role` ADD CONSTRAINT `permission_role_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `permission_role_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE; -- -- Các ràng buộc cho bảng `users` -- ALTER TABLE `users` ADD CONSTRAINT `users_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`); -- -- Các ràng buộc cho bảng `user_roles` -- ALTER TABLE `user_roles` ADD CONSTRAINT `user_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `user_roles_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
-- phpMyAdmin SQL Dump -- version 5.0.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Waktu pembuatan: 15 Jul 2021 pada 06.32 -- Versi server: 10.4.17-MariaDB -- Versi PHP: 8.0.1 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `db_univ` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `failed_jobs` -- CREATE TABLE `failed_jobs` ( `id` bigint(20) UNSIGNED NOT NULL, `connection` text COLLATE utf8mb4_unicode_ci NOT NULL, `queue` text COLLATE utf8mb4_unicode_ci NOT NULL, `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL, `failed_at` timestamp NOT NULL DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Struktur dari tabel `mahasiswa` -- CREATE TABLE `mahasiswa` ( `id` int(11) NOT NULL, `user_id` int(11) NOT NULL, `npm` varchar(8) NOT NULL, `tempat_lahir` varchar(30) NOT NULL, `tgl_lahir` date NOT NULL, `gender` enum('L','P','','') NOT NULL, `telepon` varchar(15) NOT NULL, `alamat` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `mahasiswa` -- INSERT INTO `mahasiswa` (`id`, `user_id`, `npm`, `tempat_lahir`, `tgl_lahir`, `gender`, `telepon`, `alamat`) VALUES (1, 1, '19630610', 'Kandangan', '2000-05-01', 'L', '082153030069', 'Kalimantan Selatan'), (4, 2, '19630667', 'Banjarmasin', '2001-06-05', 'L', '086354879251', 'Jl. A YANI'), (5, 3, '19630600', 'Martapura', '2001-07-07', 'P', '082154637786', 'Jl. Tarakan'); -- -------------------------------------------------------- -- -- Struktur dari tabel `makul` -- CREATE TABLE `makul` ( `id` int(11) NOT NULL, `kd_makul` varchar(10) NOT NULL, `nama_makul` varchar(50) NOT NULL, `sks` int(3) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `makul` -- INSERT INTO `makul` (`id`, `kd_makul`, `nama_makul`, `sks`) VALUES (2, 'KD008', 'Web 2', 2), (5, 'KD009', 'Visual 2', 3), (6, 'KD007', 'Pemrograman Berbasis Objek', 2); -- -------------------------------------------------------- -- -- Struktur dari tabel `migrations` -- CREATE TABLE `migrations` ( `id` int(10) UNSIGNED NOT NULL, `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `batch` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data untuk tabel `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_08_19_000000_create_failed_jobs_table', 1); -- -------------------------------------------------------- -- -- Struktur dari tabel `nilai` -- CREATE TABLE `nilai` ( `id` int(11) NOT NULL, `makul_id` int(11) NOT NULL, `mahasiswa_id` int(11) NOT NULL, `nilai` double NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `nilai` -- INSERT INTO `nilai` (`id`, `makul_id`, `mahasiswa_id`, `nilai`) VALUES (5, 5, 1, 80), (6, 6, 5, 80); -- -------------------------------------------------------- -- -- Struktur dari tabel `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; -- -------------------------------------------------------- -- -- Struktur dari tabel `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, `email_verified_at` timestamp NULL DEFAULT NULL, `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data untuk tabel `users` -- INSERT INTO `users` (`id`, `name`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES (1, 'Faidur', '<EMAIL>', NULL, '$2y$10$oqk/sc4p0Wh9qTHRh.eJLOzRnOlODQBBfdoitAIk.YMx.tX.WON1.', 'D1m2t8EVITP86Q8b4Al9Ao9SCJ94w1qahFPMAQetfcv19WQhIchLkFW5AHtA', '2021-07-13 18:18:42', '2021-07-13 18:18:42'), (2, 'Rahman', '<EMAIL>', NULL, '$2y$10$TcBp.jEHUUHbajcXdo92qO3nj4Iz3Pw3f0QH6X.yDwv85Hm6IIZWK', 'pvM98TQMaTCVNhxqluMDNL4Lz291ENq3fEQg6j1CzLccl2CFIT4X99OMUh07', '2021-07-13 22:20:48', '2021-07-13 22:20:48'), (3, 'Rani', '<EMAIL>', NULL, '$2y$10$E8/nPfhQ31VYuPSDiN4e.OY4NIB/2nFh4q1Xd0FhD8RoAxXsH89pa', NULL, '2021-07-14 19:03:19', '2021-07-14 19:03:19'); -- -- Indexes for dumped tables -- -- -- Indeks untuk tabel `failed_jobs` -- ALTER TABLE `failed_jobs` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `mahasiswa` -- ALTER TABLE `mahasiswa` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `makul` -- ALTER TABLE `makul` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `migrations` -- ALTER TABLE `migrations` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `nilai` -- ALTER TABLE `nilai` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `password_resets` -- ALTER TABLE `password_resets` ADD KEY `password_resets_email_index` (`email`); -- -- Indeks untuk tabel `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `users_email_unique` (`email`); -- -- AUTO_INCREMENT untuk tabel yang dibuang -- -- -- AUTO_INCREMENT untuk tabel `failed_jobs` -- ALTER TABLE `failed_jobs` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT untuk tabel `mahasiswa` -- ALTER TABLE `mahasiswa` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT untuk tabel `makul` -- ALTER TABLE `makul` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT untuk tabel `migrations` -- ALTER TABLE `migrations` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT untuk tabel `nilai` -- ALTER TABLE `nilai` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT untuk tabel `users` -- ALTER TABLE `users` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
<reponame>widya22/CI.3.E41181728_P4 -- phpMyAdmin SQL Dump -- version 5.0.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Waktu pembuatan: 09 Jul 2021 pada 10.09 -- Versi server: 10.4.16-MariaDB -- Versi PHP: 7.4.12 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `k8796512_db_blonjobu` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `admin` -- CREATE TABLE `admin` ( `id_admin` int(11) NOT NULL, `admin_nama` varchar(50) DEFAULT NULL, `admin_username` varchar(100) DEFAULT NULL, `admin_password` varchar(32) DEFAULT NULL, `admin_view_password` varchar(32) DEFAULT NULL, `admin_level` char(2) CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `admin` -- INSERT INTO `admin` (`id_admin`, `admin_nama`, `admin_username`, `admin_password`, `admin_view_password`, `admin_level`) VALUES (1, 'ses', 'admin', '<PASSWORD>', 'admin', '1'); -- -------------------------------------------------------- -- -- Struktur dari tabel `daerah_kirim` -- CREATE TABLE `daerah_kirim` ( `id_daerah_kirim` int(11) NOT NULL, `id_kota` int(11) NOT NULL, `kota_kirim` varchar(60) NOT NULL, `id_kec` int(11) NOT NULL, `kec_kirim` varchar(60) NOT NULL, `id_kel` int(11) NOT NULL, `kel_kirim` varchar(60) NOT NULL, `kurir` varchar(60) NOT NULL, `ongkir` varchar(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `daerah_kirim` -- INSERT INTO `daerah_kirim` (`id_daerah_kirim`, `id_kota`, `kota_kirim`, `id_kec`, `kec_kirim`, `id_kel`, `kel_kirim`, `kurir`, `ongkir`) VALUES (34, 1, 'Magetan', 2, 'Kartoharjo', 2, 'Bayemwetan', 'JNE', '30000'), (36, 5, 'Kabupaten Malang', 6, 'Sawojajar', 7, 'samaan', 'Go Send', '1000'), (37, 2, 'Madiun', 4, 'Klegen', 4, 'Mangkujayan', 'JNT atau JNE', '31000'); -- -------------------------------------------------------- -- -- Struktur dari tabel `data_bank` -- CREATE TABLE `data_bank` ( `id_data` int(11) NOT NULL, `jenis_bank` varchar(255) NOT NULL, `atas_nama_bank` varchar(255) NOT NULL, `no_rekening` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `data_bank` -- INSERT INTO `data_bank` (`id_data`, `jenis_bank`, `atas_nama_bank`, `no_rekening`) VALUES (1, 'BRI', 'blonjobu', '083747436882'), (2, 'BNI', 'blonjobu', '3548329012765'), (3, 'Mandiri', 'blonjobu', '836975162592'); -- -------------------------------------------------------- -- -- Struktur dari tabel `data_refund` -- CREATE TABLE `data_refund` ( `id_refund` int(11) NOT NULL, `id_detail_order` int(11) NOT NULL, `no_rekening` varchar(50) NOT NULL, `ATM` varchar(50) NOT NULL, `nama_penerima` varchar(50) NOT NULL, `status_kirim` tinyint(1) NOT NULL DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Struktur dari tabel `detail_order` -- CREATE TABLE `detail_order` ( `id_detail_order` int(11) NOT NULL, `id_order` varchar(20) DEFAULT NULL, `id_penjual` varchar(50) DEFAULT NULL, `id_ongkir_pembeli` int(11) DEFAULT NULL, `id_produk` varchar(15) DEFAULT NULL, `id_jadwal` int(11) DEFAULT NULL, `jumlah_produk` int(11) DEFAULT NULL, `berat_produk` double DEFAULT NULL, `harga` double DEFAULT NULL, `harga_pajak` double DEFAULT NULL, `subtotal` double DEFAULT NULL, `subtotal_pajak` double DEFAULT NULL, `no_resi` varchar(50) DEFAULT NULL, `pembayaran` double DEFAULT NULL, `tagihan` double DEFAULT NULL, `status_kirim` int(1) DEFAULT NULL, `status_detail_komplain` int(11) NOT NULL DEFAULT 0, `status_bayar` int(11) NOT NULL DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `detail_order` -- INSERT INTO `detail_order` (`id_detail_order`, `id_order`, `id_penjual`, `id_ongkir_pembeli`, `id_produk`, `id_jadwal`, `jumlah_produk`, `berat_produk`, `harga`, `harga_pajak`, `subtotal`, `subtotal_pajak`, `no_resi`, `pembayaran`, `tagihan`, `status_kirim`, `status_detail_komplain`, `status_bayar`) VALUES (45, 'T210615001', 'Admin', NULL, '2005090117', NULL, 1, 1000, 15200, 15200, 15200, 15200, '0', NULL, NULL, 1, 0, 0), (46, 'T210616001', 'Admin', NULL, '2005090178', NULL, 1, 500, 4700, 4700, 4700, 4700, '0', NULL, NULL, 1, 0, 0), (47, 'T210616002', 'Admin', NULL, '2005090112', NULL, 1, 1, 1, 1, 1, 1, NULL, NULL, NULL, NULL, 0, 0), (48, 'T210616003', 'Admin', NULL, '2004280017', NULL, 1, 0, 19000, 19000, 19000, 19000, NULL, NULL, NULL, NULL, 0, 0), (49, 'T210616004', 'Admin', NULL, '2005090094', NULL, 1, 1, 1, 1, 1, 1, NULL, NULL, NULL, NULL, 0, 0), (50, 'T210616005', 'Admin', NULL, '2004280016', NULL, 1, 0, 16000, 16000, 16000, 16000, '0', NULL, NULL, 1, 0, 0), (51, 'T210616006', 'Admin', NULL, '2005090112', NULL, 1, 1, 1, 1, 1, 1, NULL, NULL, NULL, NULL, 0, 0), (52, 'T210616007', 'Admin', NULL, '2005090117', NULL, 1, 1000, 15200, 15200, 15200, 15200, NULL, NULL, NULL, NULL, 0, 0), (53, 'T210616008', 'Admin', NULL, '2005090119', NULL, 1, 1000, 20000, 20000, 20000, 20000, NULL, NULL, NULL, NULL, 0, 0), (54, 'T210616009', 'Admin', NULL, '2004280006', NULL, 1, 0, 10000, 10000, 10000, 10000, '0', NULL, NULL, 1, 0, 0), (55, 'T210616010', 'Admin', NULL, '2005090181', NULL, 1, 500, 5200, 5200, 5200, 5200, NULL, NULL, NULL, NULL, 0, 0), (56, 'T210616011', 'Admin', NULL, '2005090195', NULL, 1, 1, 1, 1, 1, 1, NULL, NULL, NULL, NULL, 0, 0), (57, 'T210616012', 'Admin', NULL, '2004280018', NULL, 1, 0, 37500, 37500, 37500, 37500, NULL, NULL, NULL, NULL, 0, 0), (58, 'T210616013', 'Admin', NULL, '2005090114', NULL, 1, 5000, 56300, 56300, 56300, 56300, NULL, NULL, NULL, NULL, 0, 0), (59, 'T210617001', 'Admin', NULL, '2005090121', NULL, 1, 1000, 24500, 24500, 24500, 24500, '0', 1, NULL, 1, 1, 0), (60, 'T210617002', 'Admin', NULL, '2005090081', NULL, 1, 1, 1, 1, 1, 1, NULL, NULL, NULL, NULL, 0, 0), (61, 'T210617003', 'Admin', NULL, '2005090124', NULL, 1, 1000, 14700, 14700, 14700, 14700, NULL, NULL, NULL, NULL, 0, 0), (62, 'T210617004', 'Admin', NULL, '2005090120', NULL, 1, 1000, 18700, 18700, 18700, 18700, NULL, NULL, NULL, NULL, 0, 0), (63, 'T210617005', 'Admin', NULL, '2005090146', NULL, 1, 500, 5200, 5200, 5200, 5200, '0', NULL, NULL, 1, 0, 0), (64, 'T210621001', 'Admin', NULL, '2004280018', NULL, 3, 0, 37500, 37500, 112500, 112500, '0', 1, NULL, 1, 1, 0), (65, 'T210703001', 'Admin', NULL, '2005090114', NULL, 1, 5000, 56300, 56300, 56300, 56300, NULL, NULL, NULL, NULL, 0, 0), (66, 'T210703002', 'Admin', NULL, '2005090114', NULL, 1, 5000, 56300, 56300, 56300, 56300, NULL, NULL, NULL, NULL, 0, 0), (67, 'T210703003', 'Admin', NULL, '2005090114', NULL, 1, 5000, 56300, 56300, 56300, 56300, NULL, NULL, NULL, NULL, 0, 0), (68, 'T210703004', 'Admin', NULL, '2005090114', NULL, 1, 5000, 56300, 56300, 56300, 56300, NULL, NULL, NULL, NULL, 0, 0), (69, 'T210705001', 'Admin', NULL, '2005090132', NULL, 1, 500, 17000, 17000, 17000, 17000, NULL, NULL, NULL, NULL, 0, 0), (70, 'T210705002', 'Admin', NULL, '2005090132', NULL, 1, 500, 17000, 17000, 17000, 17000, NULL, NULL, NULL, NULL, 0, 0), (71, 'T210708013', 'Admin', NULL, '2005090103', NULL, 1, 1, 1, 1, 1, 1, NULL, NULL, NULL, NULL, 0, 0), (72, 'T210708014', 'Admin', NULL, '2005090103', NULL, 1, 1, 1, 1, 1, 1, NULL, NULL, NULL, NULL, 0, 0), (73, 'T210708015', 'Admin', NULL, '2005090103', NULL, 1, 1, 1, 1, 1, 1, NULL, NULL, NULL, NULL, 0, 0), (74, 'T210708021', 'Admin', NULL, '2005090103', NULL, 1, 1, 1, 1, 1, 1, NULL, NULL, NULL, NULL, 0, 0), (75, 'T210708026', 'Admin', NULL, '2005090191', NULL, 1, 1000, 1, 1, 1, 1, NULL, NULL, NULL, NULL, 0, 0), (76, 'T210708027', 'Admin', NULL, '2005090122', NULL, 1, 1000, 24500, 24500, 24500, 24500, NULL, NULL, NULL, NULL, 0, 0), (77, 'T210708030', 'Admin', NULL, '2005090136', NULL, 1, 100, 2500, 2500, 2500, 2500, NULL, NULL, NULL, NULL, 0, 0), (78, 'T210708031', 'Admin', NULL, '2005090162', NULL, 1, 500, 9700, 9700, 9700, 9700, NULL, NULL, NULL, NULL, 0, 0), (79, 'T210708032', 'Admin', NULL, '2005090162', NULL, 1, 500, 9700, NULL, 9700, NULL, NULL, NULL, NULL, NULL, 0, 0), (80, 'T210708037', 'Admin', NULL, '2005090182', NULL, 1, 500, 5200, NULL, 5200, NULL, NULL, NULL, NULL, NULL, 0, 0), (81, 'T210708038', 'Admin', NULL, '2005090135', NULL, 1, 100, 1800, NULL, 1800, NULL, NULL, NULL, NULL, NULL, 0, 0), (82, 'T210708039', 'Admin', NULL, '2004280008', NULL, 1, 0, 7500, NULL, 7500, NULL, NULL, NULL, NULL, NULL, 0, 0), (83, 'T210708040', 'Admin', NULL, '2005090115', NULL, 1, 1000, 14200, NULL, 14200, NULL, NULL, NULL, NULL, NULL, 0, 0), (84, 'T210708041', 'Admin', NULL, '2005090081', NULL, 1, 1, 1, NULL, 1, NULL, NULL, NULL, NULL, NULL, 0, 0), (85, 'T210708042', 'Admin', NULL, '2005090081', NULL, 1, 1, 1, NULL, 1, NULL, '0', NULL, NULL, 1, 0, 0), (86, 'T210709001', 'Admin', NULL, '2005090060', NULL, 1, 1, 1, NULL, 1, NULL, NULL, NULL, NULL, NULL, 0, 0), (87, 'T210709002', 'Admin', NULL, '2005090138', NULL, 1, 500, 5200, NULL, 5200, NULL, NULL, NULL, NULL, NULL, 0, 0); -- -------------------------------------------------------- -- -- Struktur dari tabel `detail_pengiriman` -- CREATE TABLE `detail_pengiriman` ( `id_detail_pengiriman` int(11) NOT NULL, `id_detail_order` int(11) NOT NULL, `tanggal_konfirmasi` date NOT NULL, `tanggal_kirim` date DEFAULT NULL, `status_kadaluarsa` int(1) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `detail_pengiriman` -- INSERT INTO `detail_pengiriman` (`id_detail_pengiriman`, `id_detail_order`, `tanggal_konfirmasi`, `tanggal_kirim`, `status_kadaluarsa`) VALUES (10, 59, '2021-06-17', '2021-06-17', 0), (11, 46, '2021-06-17', '2021-06-17', 0), (12, 50, '2021-06-17', '2021-06-17', 0), (13, 63, '2021-06-17', '2021-06-17', 0), (14, 54, '2021-06-17', '2021-07-08', 1), (15, 64, '2021-06-21', '2021-06-21', 0), (16, 45, '2021-07-08', '2021-07-08', 0), (17, 85, '2021-07-08', '2021-07-08', 0); -- -------------------------------------------------------- -- -- Struktur dari tabel `jadwal` -- CREATE TABLE `jadwal` ( `id_jadwal` int(11) NOT NULL, `tgl_berangkat` varchar(100) NOT NULL, `tgl_pulang` varchar(100) NOT NULL, `id_produk` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Struktur dari tabel `jam_kirim` -- CREATE TABLE `jam_kirim` ( `id_jam` int(11) NOT NULL, `jam_kirim` time NOT NULL, `keterangan` varchar(225) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `jam_kirim` -- INSERT INTO `jam_kirim` (`id_jam`, `jam_kirim`, `keterangan`) VALUES (1, '05:00:00', 'Pagi'), (2, '13:00:00', 'Siang'), (6, '19:00:00', 'Malam'), (10, '17:25:00', 'Siang'), (12, '22:06:00', 'malam'); -- -------------------------------------------------------- -- -- Struktur dari tabel `kategori_produk` -- CREATE TABLE `kategori_produk` ( `id_kategori_produk` int(11) NOT NULL, `nama_kategori_produk` varchar(100) NOT NULL, `aktif_kategori_produk` int(11) NOT NULL, `id_menu` int(11) NOT NULL, `title_kategori_produk` varchar(50) NOT NULL, `meta_description_kategori_produk` varchar(100) NOT NULL, `meta_keywords_kategori_produk` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `kategori_produk` -- INSERT INTO `kategori_produk` (`id_kategori_produk`, `nama_kategori_produk`, `aktif_kategori_produk`, `id_menu`, `title_kategori_produk`, `meta_description_kategori_produk`, `meta_keywords_kategori_produk`) VALUES (6, 'Sayur Segar & Bumbu', 1, 0, 'Sayur Segar & Bumbu', 'Sayur Segar & Bumbu', 'Sayur Segar & Bumbu'), (8, 'Kue dan daging', 1, 0, 'Kue dan daging', 'Kue dan daging', 'Kue dan daging'), (9, 'Fashion', 1, 1, 'Fashion', 'Fashion', 'Fashion'), (10, 'Health Care & Cosmetic', 1, 0, 'Health Care & Cosmetic', 'Health Care & Cosmetic', 'Health Care & Cosmetic'), (11, 'Makanan dan minuman', 1, 0, 'Makanan dan minuman segar', 'Makanan dan minuman', 'Makanan dan minuman'), (12, 'sabun dan pembersih', 1, 0, 'sabun dan pembersih', 'sabun dan pembersih', 'sabun dan pembersih'), (13, 'susu bubuk dan minuman', 0, 0, 'susu bubuk dan minuman', 'susu bubuk dan minuman', 'susu bubuk dan minuman'), (14, 'skin care', 0, 0, 'skin care', 'skin care', 'skin'); -- -------------------------------------------------------- -- -- Struktur dari tabel `kecamatan` -- CREATE TABLE `kecamatan` ( `id_kecamatan` int(11) NOT NULL, `id_kota_fk` int(11) NOT NULL, `nama_kecamatan` varchar(60) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `kecamatan` -- INSERT INTO `kecamatan` (`id_kecamatan`, `id_kota_fk`, `nama_kecamatan`) VALUES (1, 1, 'Karangrejo'), (2, 1, 'Kartoharjo'), (3, 2, 'Manguharjo'), (4, 2, 'Klegen'), (5, 1, 'barat'), (6, 5, 'Sawojajar'), (7, 9, 'Sumber Rejo'); -- -------------------------------------------------------- -- -- Struktur dari tabel `kelurahan` -- CREATE TABLE `kelurahan` ( `id_kelurahan` int(11) NOT NULL, `id_kecamatan_fk` int(11) NOT NULL, `id_kota_fk` int(11) NOT NULL, `nama_kelurahan` varchar(60) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `kelurahan` -- INSERT INTO `kelurahan` (`id_kelurahan`, `id_kecamatan_fk`, `id_kota_fk`, `nama_kelurahan`) VALUES (1, 1, 1, 'Grabahan'), (2, 2, 1, 'Bayemwetan'), (3, 3, 2, 'Manguharjo'), (4, 4, 2, 'Mangkujayan'), (5, 1, 1, 'Gandu'), (6, 1, 1, 'Maron'), (7, 6, 5, 'samaan'); -- -------------------------------------------------------- -- -- Struktur dari tabel `keranjang_belanja` -- CREATE TABLE `keranjang_belanja` ( `id` int(11) NOT NULL, `id_keranjang_belanja` varchar(60) NOT NULL, `id_produk` int(11) NOT NULL, `harga_produk` double NOT NULL, `jumlah_produk` int(11) NOT NULL, `subtotal_belanja` double NOT NULL, `id_jadwal` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `keranjang_belanja` -- INSERT INTO `keranjang_belanja` (`id`, `id_keranjang_belanja`, `id_produk`, `harga_produk`, `jumlah_produk`, `subtotal_belanja`, `id_jadwal`) VALUES (67, '191', 2005090123, 15700, 1, 15700, NULL), (70, '785', 2005090197, 1, 1, 1, NULL), (71, '239', 2004280018, 37500, 1, 37500, NULL), (73, '172', 2005090082, 1, 1, 1, NULL), (74, '823', 2004280018, 37500, 1, 37500, NULL), (76, '646', 2106210001, 20000, 1, 20000, NULL), (77, '889', 2005090109, 1, 1, 1, NULL), (78, '784', 2004280018, 37500, 2, 75000, NULL), (79, '608', 2005090082, 1, 1, 1, NULL), (80, '332', 2005090080, 1, 1, 1, NULL), (81, '283', 2005090116, 12200, 1, 12200, NULL), (82, '106', 2005090117, 15200, 1, 15200, NULL), (83, '408', 2005090112, 1, 1, 1, NULL), (84, '675', 2005090190, 1, 1, 1, NULL), (85, '161', 2005090081, 1, 1, 1, NULL), (86, '406', 2005090107, 1, 1, 1, NULL), (87, '134', 2005090185, 1, 1, 1, NULL), (88, '850', 2004280015, 25000, 1, 25000, NULL), (89, '430', 2005090190, 1, 1, 1, NULL), (90, '346', 2004280004, 13500, 2, 27000, NULL), (92, '850', 2004280021, 185000, 1, 185000, NULL), (93, '590', 2005090180, 5200, 1, 5200, NULL), (94, '291', 2005090110, 1, 1, 1, NULL), (95, '569', 2005090151, 6200, 1, 6200, NULL), (96, '100', 2004280015, 25000, 1, 25000, NULL), (97, '916', 2005090117, 15200, 1, 15200, NULL), (100, '205', 2005090121, 24500, 1, 24500, NULL), (101, '486', 2004280016, 16000, 1, 16000, NULL), (102, '707', 2005090080, 1, 2, 2, NULL), (103, '109', 2005090177, 3200, 2, 6400, NULL), (104, '71588', 2005090169, 16700, 1, 16700, NULL), (105, '85787', 2005090151, 6200, 1, 6200, NULL), (106, '35852', 2005090167, 2600, 1, 2600, NULL), (107, '77282', 2005090081, 1, 2, 2, NULL), (108, '80196', 2005090080, 1, 1, 1, NULL), (109, '42550', 2004280018, 37500, 1, 37500, NULL), (110, '63086', 2005090136, 2500, 1, 2500, NULL), (117, '63283', 2005090149, 4200, 1, 4200, NULL), (118, '63283', 2005090108, 1, 1, 1, NULL), (124, '26775', 2005090157, 6200, 1, 6200, NULL), (125, '637', 2005090103, 1, 1, 1, NULL), (126, '67042', 2004280004, 13500, 1, 13500, NULL), (128, '86668', 2005080009, 1, 1, 1, NULL), (131, '56462', 2005090151, 6200, 1, 6200, NULL), (133, '19246', 2004280008, 7500, 1, 7500, NULL), (134, '94686', 2005090191, 1, 1, 1, NULL), (135, '21615', 2005090122, 24500, 1, 24500, NULL), (136, '86116', 2005090031, 1, 1, 1, NULL), (137, '28030', 2005090204, 18, 1, 18, NULL), (138, '42736', 2005090136, 2500, 1, 2500, NULL), (139, '57134', 2005090162, 9700, 1, 9700, NULL), (140, '87956', 2005090164, 9700, 1, 9700, NULL), (141, '91064', 2005090049, 1, 1, 1, NULL), (143, '60767', 2005090135, 1800, 1, 1800, NULL), (144, '98605', 2004280008, 7500, 1, 7500, NULL), (147, '83367', 2005090090, 1, 1, 1, NULL), (150, '66227', 2005090141, 10200, 1, 10200, NULL); -- -------------------------------------------------------- -- -- Struktur dari tabel `klaim_detail_order` -- CREATE TABLE `klaim_detail_order` ( `id_detail_order` int(11) NOT NULL, `id_order` varchar(20) NOT NULL, `id_penjual` varchar(50) NOT NULL, `id_produk` varchar(15) NOT NULL, `jumlah_produk` int(11) NOT NULL, `berat_produk` double NOT NULL, `harga` double NOT NULL, `harga_pajak` double NOT NULL, `subtotal` double NOT NULL, `subtotal_pajak` double NOT NULL, `no_resi` varchar(50) NOT NULL, `pembayaran` double NOT NULL, `tagihan` double NOT NULL, `status_kirim` int(1) NOT NULL, `keterangan` text NOT NULL, `id_ongkir_pembeli` varchar(255) NOT NULL, `status_detail_komplain` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Struktur dari tabel `komplain_barang` -- CREATE TABLE `komplain_barang` ( `id_komplain` int(11) NOT NULL, `id_detail_order` varchar(50) NOT NULL, `id_penjual` varchar(50) DEFAULT NULL, `pesan_komplain` text NOT NULL, `bukti_komplain` varchar(50) NOT NULL, `jumlah_produk_komplain` int(11) NOT NULL, `jenis_komplain` varchar(255) NOT NULL, `status_komplain` varchar(50) NOT NULL DEFAULT 'Belum Ditangani', `tgl_komplain` date NOT NULL, `status_dana_kembali` int(11) NOT NULL DEFAULT 0 ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `komplain_barang` -- INSERT INTO `komplain_barang` (`id_komplain`, `id_detail_order`, `id_penjual`, `pesan_komplain`, `bukti_komplain`, `jumlah_produk_komplain`, `jenis_komplain`, `status_komplain`, `tgl_komplain`, `status_dana_kembali`) VALUES (5, '59', NULL, 'Barang tidak sesuai', 'foto_bukti_59_png.png', 1, 'Pergantian Produk', 'Disetujui dan Dalam Proses Pengiriman', '2021-06-17', 0), (6, '64', NULL, 'Barang tidak sesuai', 'foto_bukti_64_png.png', 1, 'Pergantian Produk', 'Disetujui dan Dalam Proses Pengiriman', '2021-06-21', 0); -- -------------------------------------------------------- -- -- Struktur dari tabel `konfirmasi_bayar` -- CREATE TABLE `konfirmasi_bayar` ( `id_konfirmasi` int(11) NOT NULL, `tgl_konfirmasi` date NOT NULL, `id_order` varchar(255) NOT NULL, `jumlah_bayar` int(11) NOT NULL, `bank_bayar` varchar(20) NOT NULL, `rekening_bayar` varchar(30) NOT NULL, `nama_bayar` varchar(30) NOT NULL, `foto` varchar(225) CHARACTER SET utf8mb4 NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `konfirmasi_bayar` -- INSERT INTO `konfirmasi_bayar` (`id_konfirmasi`, `tgl_konfirmasi`, `id_order`, `jumlah_bayar`, `bank_bayar`, `rekening_bayar`, `nama_bayar`, `foto`) VALUES (17, '2021-06-15', 'T210615001', 25200, 'Bank BRI', '987877676', 'dimas', ''), (18, '2021-06-15', 'T210616001', 14700, 'Bank BRI', '39839898492', 'dimas', ''), (19, '2021-06-16', 'T210616002', 10001, 'Bank BRI', '7565435456789', 'jghfcgvhbj', ''), (20, '2021-06-16', 'T210616003', 29000, 'Bank BRI', '083747436882', 'dimas', ''), (21, '2021-06-16', 'T210616004', 12000, 'Bank BRI', '4234', 'jkdf,s', ''), (22, '2021-06-16', 'T210616005', 26000, 'Bank BRI', '083747436882', 'hbkasda', ''), (23, '2021-06-16', 'T210616006', 12000, 'Bank BRI', '083747436882', '33333333333', ''), (24, '2021-06-16', 'T210616007', 25200, 'Bank BRI', '8732462839439', 'dimas', ''), (25, '2021-06-16', 'T210616008', 30000, 'Bank BRI', '083747436882', 'dimas', ''), (26, '2021-06-16', 'T210616009', 20000, 'Bank BRI', '083747436882', 'dimas', 'bukti_transfer_T210616009_'), (27, '2021-06-16', 'T210616010', 15500, 'Bank BRI', '083747436882', 'dimas', 'bukti_transfer_T210616010_'), (28, '2021-06-16', 'T210616011', 10001, 'Bank BRI', '083747436882', 'dimas', 'bukti_transfer_T210616011_jpg.jpg'), (29, '2021-06-17', 'T210617001', 34500, 'Bank BRI', '4363235465', 'dimas', 'bukti_transfer_T210617001_png.png'), (30, '2021-06-17', 'T210617002', 10001, 'Bank BRI', '45433462564', 'dimas', 'bukti_transfer_T210617002_png.png'), (31, '2021-06-17', 'T210617005', 15500, 'Bank BRI', '083747436882', 'dimas', 'bukti_transfer_T210617005_png.png'), (32, '2021-06-21', 'T210621001', 122500, 'BNI', '083747436882', 'dimas', 'bukti_transfer_T210621001_png.png'), (33, '2021-07-08', 'T210708006', 4201, 'BRI', '326947326', ',dgshfjask', 'bukti_transfer_T210708006_png.png'), (34, '2021-07-08', 'T210708042', 1001, 'BNI', '13248762137291', 'Dimas', 'bukti_transfer_T210708042_png.png'); -- -------------------------------------------------------- -- -- Struktur dari tabel `konfirmasi_penerimaan` -- CREATE TABLE `konfirmasi_penerimaan` ( `id_penerimaan` int(11) NOT NULL, `id_order` int(11) NOT NULL, `id_penjual` varchar(50) NOT NULL, `tanggal_penerimaan` date NOT NULL, `foto_bukti` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Struktur dari tabel `konfirmasi_pengembalian_produk` -- CREATE TABLE `konfirmasi_pengembalian_produk` ( `id_konfirmasi_pengembalian_produk` int(11) NOT NULL, `id_komplain_barang` int(11) NOT NULL, `id_detail_order` int(11) NOT NULL, `id_order` varchar(255) NOT NULL, `no_resi_pengembalian` varchar(255) DEFAULT NULL, `no_rek` varchar(255) NOT NULL, `nama_rek` varchar(255) NOT NULL, `jenis_bank` varchar(255) NOT NULL, `status_sampai` int(11) NOT NULL DEFAULT 0, `no_resi_ganti` varchar(255) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `konfirmasi_pengembalian_produk` -- INSERT INTO `konfirmasi_pengembalian_produk` (`id_konfirmasi_pengembalian_produk`, `id_komplain_barang`, `id_detail_order`, `id_order`, `no_resi_pengembalian`, `no_rek`, `nama_rek`, `jenis_bank`, `status_sampai`, `no_resi_ganti`) VALUES (3, 5, 59, 'T210617001', NULL, '32532132', 'dimas', 'Bank Nasional BRI', 1, NULL), (4, 6, 64, 'T210621001', NULL, '32532132', 'dimas', 'BRI', 0, NULL); -- -------------------------------------------------------- -- -- Struktur dari tabel `konten` -- CREATE TABLE `konten` ( `id_konten` int(11) NOT NULL, `tentang` text NOT NULL, `aturan` text NOT NULL, `alamat` text NOT NULL, `no_telp` varchar(20) NOT NULL, `Email` varchar(20) NOT NULL, `panduan` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `konten` -- INSERT INTO `konten` (`id_konten`, `tentang`, `aturan`, `alamat`, `no_telp`, `Email`, `panduan`) VALUES (1, '<article helvetica=\"\" style=\"box-sizing: border-box; color: rgb(128, 128, 128); font-family: \">\r\n <p style=\"box-sizing: border-box; margin: 0px 0px 15px;\">\r\n BlonjoBu merupakan salah satu&nbsp;<strong style=\"box-sizing: border-box;\"><em style=\"box-sizing: border-box;\">online marketplace</em>&nbsp;terkemuka di Indonesia</strong>. Seperti halnya situs layanan jual-beli menyediakan sarana jual-beli dari konsumen ke konsumen. Siapa pun dapat membuka toko online di BlonjoBu dan melayani pembeli dari seluruh Indonesia untuk transaksi satuan maupun banyak.</p>\r\n <p style=\"box-sizing: border-box; margin: 0px 0px 15px;\">\r\n &nbsp;</p>\r\n <div>\r\n &nbsp;</div>\r\n</article>\r\n', '<div class=\"anchor js-instafilta--section\" helvetica=\"\" id=\"general-terms\" style=\"box-sizing: border-box; margin-bottom: 25px; color: rgb(128, 128, 128); font-family: \">\n <h6 style=\"box-sizing: border-box; margin: 0px 0px 15px; font-size: 14px; line-height: 1.45em;\">\n &nbsp;<strong style=\"font-size: 12px;\">Informasi Umum</strong></h6>\n <p>\n &middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jevera sebagai sarana penunjang bisnis berusaha menyediakan berbagai fitur dan layanan untuk menjamin keamanan dan kenyamanan para penggunanya.</p>\n <p>\n &middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jevera tidak berperan sebagai Pelapak barang, melainkan sebagai perantara antara Pelapak dan Pembeli, untuk mengamankan setiap transaksi yang berlangsung di dalam&nbsp;<em>platform</em>&nbsp;Jevera&nbsp;melalui mekanisme BL Payment System. Adanya biaya ekstra (termasuk pajak dan biaya lainnya) atas segala transaksi yang terjadi di Jevera berada di luar kewenangan Jevera sebagai perantara, dan akan diurus oleh pihak-pihak yang bersangkutan (baik Pelapak atau pun Pembeli) sesuai ketentuan yang berlaku di Indonesia.</p>\n <p>\n &middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jevera hanya mengizinkan jual beli barang yang bisa dikirim melalui jasa pengiriman (jasa ekspedisi), sehingga jasa dan kerjasama dagang (<em>franchise</em>) tidak dapat diperdagangkan melalui Jevera terkecuali ada kerja sama resmi dengan pihak Jevera&nbsp;.</p>\n <p>\n &middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Barang-barang yang dapat diperdagangkan di Jevera&nbsp;merupakan barang yang tidak tercantum di daftar &ldquo;Barang Terlarang&rdquo;.</p>\n <p>\n &middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jevera tidak bertanggung jawab atas kualitas barang, proses pengiriman, rusaknya reputasi pihak lain, dan/atau segala bentuk perselisihan yang dapat terjadi antar Pengguna.</p>\n <p>\n &middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jevera memiliki kewenangan untuk mengambil tindakan yang dianggap perlu terhadap akun yang diduga dan/atau terindikasi melakukan penyalahgunaan, memanipulasi, dan/atau melanggar Aturan Penggunaan di Jevera&nbsp;, mulai dari melakukan moderasi, menghentikan layanan &ldquo;Jual Barang&rdquo;, membatasi jumlah pembuatan akun, membatasi atau mengakhiri hak setiap Pengguna untuk menggunakan layanan, maupun menutup akun tersebut tanpa memberikan pemberitahuan atau informasi terlebih dahulu kepada pemilik akun yang bersangkutan.</p>\n <p>\n &middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jevera memiliki kewenangan untuk mengambil tindakan yang dianggap perlu terhadap akun Pengguna, mulai dari melakukan moderasi, menghentikan layanan &ldquo;Jual Barang&rdquo;, membatasi jumlah pembuatan akun, membatasi atau mengakhiri hak setiap Pengguna untuk menggunakan layanan, maupun menutup akun tersebut tanpa memberikan pemberitahuan atau informasi terlebih dahulu kepada pemilik akun yang bersangkutan.</p>\n <p>\n &middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jevera memiliki kewenangan untuk mengambil keputusan atas permasalahan yang terjadi pada setiap transaksi.</p>\n <p>\n &middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jika Pengguna gagal untuk mematuhi setiap ketentuan dalam Aturan Penggunaan di Jevera ini, maka Jevera berhak untuk mengambil tindakan yang dianggap perlu termasuk namun tidak terbatas pada melakukan moderasi, menghentikan layanan &ldquo;Jual Barang&rdquo;, menutup akun dan/atau mengambil langkah hukum selanjutnya.</p>\n <p>\n &middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BL Payment System bersifat mengikat Pengguna Jevera dan hanya menjamin dana Pembeli tetap aman jika proses transaksi dilakukan dengan Pelapak yang terdaftar di dalam sistem Jevera. Kerugian yang diakibatkan keterlibatan pihak lain di luar Pembeli, Pelapak, dan Jevera, tidak menjadi tanggung jawab Jevera.</p>\n <p>\n &middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jevera berhak meminta data-data pribadi Pengguna jika diperlukan.</p>\n <p>\n &middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Aturan Penggunaan Jevera dapat berubah sewaktu-waktu dan/atau diperbaharui dari waktu ke waktu tanpa pemberitahuan terlebih dahulu. Dengan mengakses Jevera, Pengguna dianggap menyetujui perubahan-perubahan dalam Aturan Penggunaan Jevera.</p>\n <p>\n &middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Aturan Penggunaan Jevera pada Situs Jevera berlaku mutatis mutandis untuk penggunaan Aplikasi Jevera.</p>\n <p>\n &middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hati-hati terhadap penipuan yang mengatasnamakan Jevera. Untuk informasi dan pengaduan, silakan hubungi <EMAIL>.</p>\n <p>\n <strong>Pengguna</strong></p>\n <p style=\"margin-left:21.0pt;\">\n 1.&nbsp;&nbsp;&nbsp;&nbsp; Pengguna wajib mengisi data pribadi secara lengkap dan jujur di halaman akun (profil).</p>\n <p style=\"margin-left:21.0pt;\">\n 2.&nbsp;&nbsp;&nbsp;&nbsp; Pengguna dilarang mencantumkan alamat, nomor kontak, e-mail, situs, forum, dan media sosial di lapak, termasuk di foto profil, foto header lapak, nama akun (<em>username</em>), nama lapak, dan deskripsi lapak.</p>\n <p style=\"margin-left:21.0pt;\">\n 3.&nbsp;&nbsp;&nbsp;&nbsp; Pengguna bertanggung jawab atas keamanan dari akun termasuk penggunaan e-mail dan&nbsp;<em>password</em>.</p>\n <p style=\"margin-left:21.0pt;\">\n 4.&nbsp;&nbsp;&nbsp;&nbsp; Pengguna wajib mengisi data bank pribadi (<em>bank account</em>) untuk kepentingan bertransaksi di Jevera.</p>\n <p style=\"margin-left:21.0pt;\">\n 5.&nbsp;&nbsp;&nbsp;&nbsp; Penggunaan fasilitas apapun yang disediakan oleh Jevera mengindikasikan bahwa Pengguna telah memahami dan menyetujui segala aturan yang diberlakukan oleh Jevera.</p>\n <p style=\"margin-left:21.0pt;\">\n 6.&nbsp;&nbsp;&nbsp;&nbsp; Selama berada dalam platform Jevera, Pengguna dilarang keras menyampaikan setiap jenis konten apapun yang menyesatkan, memfitnah, atau mencemarkan nama baik, mengandung atau bersinggungan dengan unsur SARA, diskriminasi, dan/atau menyudutkan pihak lain.</p>\n <p style=\"margin-left:21.0pt;\">\n 7.&nbsp;&nbsp;&nbsp;&nbsp; Pengguna tidak diperbolehkan menggunakan Jevera untuk melanggar peraturan yang ditetapkan oleh hukum di Indonesia maupun di negara lainnya.</p>\n <p style=\"margin-left:21.0pt;\">\n 8.&nbsp;&nbsp;&nbsp;&nbsp; Pengguna bertanggung jawab atas segala risiko yang timbul di kemudian hari atas informasi yang diberikannya ke dalam Jevera, termasuk namun tidak terbatas pada hal-hal yang berkaitan dengan hak cipta, merek, desain industri, desain tata letak industri dan hak paten atas suatu produk.</p>\n <p style=\"margin-left:21.0pt;\">\n 9.&nbsp;&nbsp;&nbsp;&nbsp; Pengguna diwajibkan menghargai hak-hak Pengguna lainnya dengan tidak memberikan informasi pribadi ke pihak lain tanpa izin pihak yang bersangkutan.</p>\n <p style=\"margin-left:21.0pt;\">\n 10.&nbsp;&nbsp; Pengguna tidak diperkenankan mengirimkan e-mail&nbsp;<em>spam</em>&nbsp;dengan merujuk ke bagian apapun dari Jevera.</p>\n <p style=\"margin-left:21.0pt;\">\n 11.&nbsp;&nbsp; Administrator Jevera berhak menyesuaikan dan/atau menghapus informasi barang, dan menonaktifkan akun Pengguna.</p>\n <p style=\"margin-left:21.0pt;\">\n 12.&nbsp;&nbsp; Jevera memiliki hak untuk memblokir penggunaan sistem terhadap Pengguna yang melanggar peraturan perundang-undangan yang berlaku di wilayah Indonesia.</p>\n <p style=\"margin-left:21.0pt;\">\n 13.&nbsp;&nbsp; Pengguna akan mendapatkan beragam informasi promo terbaru dan penawaran eksklusif. Namun, Pengguna dapat berhenti berlangganan (<em>unsubscribe</em>) jika tidak ingin menerima informasi tersebut.</p>\n <p style=\"margin-left:21.0pt;\">\n 14.&nbsp;&nbsp; Pengguna dilarang menggunakan logo Jevera di foto profil (avatar).</p>\n <p style=\"margin-left:21.0pt;\">\n 15.&nbsp;&nbsp; Pengguna dilarang menggunakan kata-kata kasar yang tidak sesuai norma, baik saat berdiskusi di fitur kirim pesan atau chat maupun kolom diskusi retur. Jika ditemukan pelanggaran, Jevera berhak memberikan sanksi seperti menonaktifkan sementara fitur pesan, dan membekukan atau menonaktifkan akun Pengguna.</p>\n <p style=\"margin-left:21.0pt;\">\n 16.&nbsp;&nbsp; Pengguna dilarang menggunakan fitur kirim pesan atau chat sebagai iklan promosi barang dagangan di Jevera maupun di platform atau situs lain yang dapat mengganggu Pengguna lainnya. Jika ditemukan pelanggaran, Jevera berhak memberikan sanksi seperti menonaktifkan fitur pesan dan/atau akun Pengguna.</p>\n <p style=\"margin-left:21.0pt;\">\n 17.&nbsp;&nbsp; Pengguna dilarang menggunakan fitur kirim pesan atau chat sebagai sarana penelitian, kuesioner, atau&nbsp;<em>survey</em>. Jika ditemukan pelanggaran, Jevera berhak memberikan sanksi seperti menonaktifkan fitur pesan dan/atau akun Pengguna.</p>\n <p style=\"margin-left:21.0pt;\">\n 18.&nbsp;&nbsp; Pengguna dilarang melakukan transfer atau menjual akun Pengguna ke Pengguna lain atau ke pihak lain tanpa persetujuan dari Jevera.</p>\n <p style=\"margin-left:21.0pt;\">\n 19.&nbsp;&nbsp; Pengguna dengan ini menyatakan bahwa Pengguna telah mengetahui seluruh peraturan perundang- undangan yang berlaku di wilayah Republik Indonesia dalam setiap transaksi di Jevera, dan tidak akan melakukan tindakan apapun yang mungkin melanggar peraturan perundang-undangan yang berlaku di wilayah Republik Indonesia.</p>\n <p style=\"margin-left:21.0pt;\">\n 20.&nbsp;&nbsp; Pengguna dilarang membuat salinan, modifikasi, turunan atau distribusi konten atau mempublikasikan tampilan yang berasal dari Jevera yang dapat melanggar Hak Kekayaan Intelektual Jevera.</p>\n <p style=\"margin-left:21.0pt;\">\n 21.&nbsp;&nbsp; Pengguna dilarang membuat akun Jevera dengan tujuan menghindari batasan pembelian, penyalahgunaan voucher atau konsekuensi kebijakan Aturan Penggunaan Jevera lainnya.</p>\n <p>\n <strong>Jual barang</strong></p>\n <p style=\"margin-left:21.0pt;\">\n 1.&nbsp;&nbsp;&nbsp;&nbsp; Pelapak bertanggung jawab secara penuh atas segala risiko yang timbul di kemudian hari terkait dengan informasi yang dibuatnya, termasuk, namun tidak terbatas pada hal-hal yang berkaitan dengan hak cipta, merek, desain industri, desain tata letak sirkuit, hak paten dan/atau izin lain yang telah ditetapkan atas suatu produk menurut hukum yang berlaku di Indonesia.</p>\n <p style=\"margin-left:21.0pt;\">\n 2.&nbsp;&nbsp;&nbsp;&nbsp; Pelapak hanya diperbolehkan menjual barang-barang yang tidak tercantum di daftar &ldquo;Barang Terlarang&rdquo;.</p>\n <p style=\"margin-left:21.0pt;\">\n 3.&nbsp;&nbsp;&nbsp;&nbsp; Pelapak wajib menempatkan barang dagangan sesuai dengan kategori dan subkategorinya.</p>\n <p style=\"margin-left:21.0pt;\">\n 4.&nbsp;&nbsp;&nbsp;&nbsp; Pelapak wajib mengisi nama atau judul barang dengan jelas, singkat dan padat.</p>\n <p style=\"margin-left:21.0pt;\">\n 5.&nbsp;&nbsp;&nbsp;&nbsp; Pelapak wajib menampilkan gambar barang yang sesuai dengan deskripsi barang yang dijual dan tidak mencantumkan logo ataupun alamat situs jual-beli lain pada gambar. Dianjurkan foto atau gambar memperlihatkan 3 bagian (depan, samping dan belakang) dengan resolusi minimal 300px.</p>\n <p style=\"margin-left:21.0pt;\">\n 6.&nbsp;&nbsp;&nbsp;&nbsp; Pelapak wajib mengisi harga yang sesuai dengan harga sebenarnya.</p>\n <p style=\"margin-left:21.0pt;\">\n 7.&nbsp;&nbsp;&nbsp;&nbsp; Pelapak tidak diperkenankan mencantumkan alamat (e-mail, situs, forum, dan&nbsp;<em>social network</em>), nomor kontak, ID / PIN /&nbsp;<em>username social media</em>, dan nomor rekening bank selain pada kolom yang disediakan.</p>\n <p style=\"margin-left:21.0pt;\">\n 8.&nbsp;&nbsp;&nbsp;&nbsp; Pelapak dilarang menjual barang yang identik sama (<em>multiple posting</em>) dengan yang sudah ada di lapaknya.</p>\n <p style=\"margin-left:21.0pt;\">\n 9.&nbsp;&nbsp;&nbsp;&nbsp; Pelapak dilarang melakukan duplikasi penjualan barang dengan menyalin atau menggunakan gambar dari lapak Pelapak lain.</p>\n <p style=\"margin-left:21.0pt;\">\n 10.&nbsp;&nbsp; Pelapak tidak perkenankan memberikan informasi alamat (e-mail, situs, forum, dan&nbsp;<em>social network</em>), nomor kontak, ID / PIN /&nbsp;<em>username social media</em>&nbsp;melalui fitur pesan.</p>\n <p style=\"margin-left:21.0pt;\">\n 11.&nbsp;&nbsp; Pelapak wajib memperbarui (<em>update</em>) ketersediaan dan status barang yang dijual.</p>\n <p style=\"margin-left:21.0pt;\">\n 12.&nbsp;&nbsp; Catatan Pelapak diperuntukkan bagi Pelapak yang ingin memberikan catatan tambahan yang tidak terkait dengan deskripsi barang kepada calon Pembeli. Catatan Pelapak tetap tunduk terhadap Aturan Penggunaan Jevera.</p>\n <p style=\"margin-left:21.0pt;\">\n 13.&nbsp;&nbsp; Pelapak wajib mengisi kolom Deskripsi Barang sesuai dengan Aturan Penggunaan di Jevera.</p>\n <p style=\"margin-left:21.0pt;\">\n 14.&nbsp;&nbsp; Pelapak dilarang membuat transaksi fiktif atau palsu demi kepentingan menaikkan&nbsp;<em>feedback</em>. Jevera berhak mengambil tindakan seperti pemblokiran akun atau tindakan lainnya apabila ditemukan tindakan kecurangan.</p>\n <p style=\"margin-left:21.0pt;\">\n 15.&nbsp;&nbsp; Pelapak wajib mengirimkan barang menggunakan jasa ekspedisi sesuai dengan yang dipilih oleh Pembeli pada saat melakukan transaksi di dalam sistem Jevera.</p>\n <p style=\"margin-left:21.0pt;\">\n 16.&nbsp;&nbsp; Apabila Pelapak menggunakan jasa ekspedisi yang berbeda dengan jasa dan/atau jenis jasa ekspedisi yang dipilih oleh Pembeli pada saat melakukan transaksi di dalam sistem Jevera maka Pelapak bertanggung jawab atas segala hal selama proses pengiriman yang disebabkan oleh penggunaan jasa dan/atau jenis jasa ekspedisi yang berbeda tersebut.</p>\n <p style=\"margin-left:21.0pt;\">\n 17.&nbsp;&nbsp; Pelapak memahami dan menyetujui bahwa kekurangan dana biaya kirim yang disebabkan oleh penggunaan jasa dan/atau jenis jasa yang berbeda dari pilihan Pembeli pada saat melakukan transaksi di dalam sistem Jevera merupakan tanggung jawab Pelapak terkecuali perbedaan tersebut atas permintaan Pembeli.</p>\n <p style=\"margin-left:21.0pt;\">\n 18.&nbsp;&nbsp; Pembeli berhak atas kelebihan dana dari biaya kirim yang diakibatkan perbedaan penggunaan jasa dan/atau jenis jasa ekspedisi oleh Pelapak dari pilihan Pembeli pada saat melakukan transaksi di dalam sistem Jevera.</p>\n <p style=\"margin-left:21.0pt;\">\n 19.&nbsp;&nbsp; Pelapak wajib memenuhi ketentuan yang sudah ditetapkan oleh pihak jasa ekspedisi berkaitan dengan&nbsp;<em>packing</em>&nbsp;barang yang aman serta menggunakan asuransi dan/atau&nbsp;<em>packing</em>&nbsp;kayu pada barang-barang tertentu sehingga apabila barang rusak atau hilang Pelapak dapat mengajukan klaim ke pihak jasa ekspedisi.</p>\n <p>\n <strong>Transaksi</strong></p>\n <p style=\"margin-left:21.0pt;\">\n 1.&nbsp;&nbsp;&nbsp;&nbsp; Demi keamanan dan kenyamanan para Pengguna, setiap transaksi jual-beli di Jevera diwajibkan untuk menggunakan BL Payment System. Untuk informasi mengenai penggunaan BL Payment System dapat dipelajari di&nbsp;<a href=\"https://panduan.bukalapak.com/\">Panduan Jevera</a></p>\n <p style=\"margin-left:21.0pt;\">\n 2.&nbsp;&nbsp;&nbsp;&nbsp; Pembeli wajib transfer sesuai dengan nominal total belanja dari transaksi dalam waktu 1x10 jam (dengan asumsi Pembeli telah mempelajari informasi barang yang telah dipesannya). Jika dalam waktu 1x10 jam barang dipesan tetapi Pembeli tidak mentransfer dana maka transaksi akan dibatalkan secara otomatis.</p>\n <p style=\"margin-left:21.0pt;\">\n 3.&nbsp;&nbsp;&nbsp;&nbsp; Setiap transaksi di Jevera yang menggunakan metode transfer akan dikenakan biaya operasional dalam bentuk kode unik pembayaran yang ditanggung oleh Pembeli.</p>\n <p style=\"margin-left:21.0pt;\">\n 4.&nbsp;&nbsp;&nbsp;&nbsp; Pembeli tidak dapat membatalkan transaksi setelah melunasi pembayaran.</p>\n <p style=\"margin-left:21.0pt;\">\n 5.&nbsp;&nbsp;&nbsp;&nbsp; Pelapak wajib mengirimkan barang dan mendaftarkan nomor resi pengiriman yang benar dan asli setelah status transaksi &ldquo;Dibayar&rdquo;. Satu nomor resi hanya berlaku untuk satu nomor transaksi di Jevera.</p>\n <p style=\"margin-left:21.0pt;\">\n 6.&nbsp;&nbsp;&nbsp;&nbsp; Jika Pelapak tidak mengirimkan barang dalam batas waktu pengiriman sejak pembayaran (2x24 jam kerja untuk biaya pengiriman reguler atau 2x24 jam untuk biaya pengiriman kilat), maka Pelapak dianggap telah menolak pesanan. Sehingga, sistem secara otomatis memberikan&nbsp;<em>feedback</em>&nbsp;negatif dan reputasi tolak pesanan, serta mengembalikan seluruh dana (<em>refund</em>) ke Pembeli.</p>\n <p style=\"margin-left:21.0pt;\">\n 7.&nbsp;&nbsp;&nbsp;&nbsp; Pengembalian dana transaksi dilakukan dengan menambahkan saldo BukaDompet ke Pembeli. Untuk pembayaran dengan menggunakan kartu kredit, dana transaksi akan dikembalikan langsung ke kartu kredit. Pengembalian dana dilakukan dengan memberikan pengurangan biaya pada kartu kredit Pembeli dalam waktu&nbsp;<strong>maksimal 14 hari kerja</strong>&nbsp;setelah pembayaran.</p>\n <p style=\"margin-left:21.0pt;\">\n 8.&nbsp;&nbsp;&nbsp;&nbsp; Fitur Item Replacement Jevera akan otomatis mencarikan barang yang sama jika transaksi ditolak oleh Pelapak. Jika barang yang sama tidak ditemukan, maka dana akan dikembalikan ke BukaDompet pembeli.</p>\n <p style=\"margin-left:21.0pt;\">\n 9.&nbsp;&nbsp;&nbsp;&nbsp; Jevera akan mengirimkan email konfirmasi pencarian barang pengganti melalui fitur Item Replacement jika transaksi diabaikan oleh Pelapak. Apabila Pembeli tidak melakukan konfirmasi dalam waktu 1x6 jam, maka fitur Item Replacement Jevera akan otomatis mencarikan barang pengganti.</p>\n <p style=\"margin-left:21.0pt;\">\n 10.&nbsp;&nbsp; Jika Pembeli melakukan konfirmasi bahwa tidak berkenan untuk dicarikan barang pengganti melalui email yang dikirim Jevera, maka fitur Item Replacement Jevera akan otomatis mengembalikan dana ke BukaDompet.</p>\n <p style=\"margin-left:21.0pt;\">\n 11.&nbsp;&nbsp; Untuk Pembeli yang memiliki akun di Jevera, apabila terdapat selisih harga barang pengganti, maka dana selisih akan ditanggung oleh Jevera jika harga barang pengganti lebih mahal dan selisih harga akan dikembalikan ke BukaDompet jika harga barang pengganti lebih murah setelah transaksi selesai.</p>\n <p style=\"margin-left:21.0pt;\">\n 12.&nbsp;&nbsp; Untuk Pembeli yang tidak memiliki akun di Jevera, apabila terdapat selisih harga barang pengganti, maka dana selisih akan ditanggung oleh Jevera jika harga barang pengganti lebih mahal dan jika harga barang pengganti lebih murah maka selisih harga akan hangus.</p>\n <p style=\"margin-left:21.0pt;\">\n 13.&nbsp;&nbsp; Transaksi yang menggunakan metode pembayaran kartu kredit dan Kredivo tidak akan diproses oleh fitur Item Replacement apabila transaksi ditolak atau diabaikan oleh Pelapak.</p>\n <p style=\"margin-left:21.0pt;\">\n 14.&nbsp;&nbsp; Sistem Jevera secara otomatis mengecek status pengiriman barang melalui nomor resi yang diberikan Pelapak. Seluruh dana akan dikembalikan ke Pembeli apabila nomor resi terdeteksi tidak valid dan Pelapak tidak melakukan ubah resi valid dalam 1x24 jam. Jika Pelapak memasukkan nomor resi tidak valid lebih dari satu kali maka Jevera akan mengembalikan seluruh dana transaksi kepada Pembeli dan Pelapak mendapatkan&nbsp;<em>feedback</em>&nbsp;negatif.</p>\n <p style=\"margin-left:21.0pt;\">\n 15.&nbsp;&nbsp; Jika Pembeli tidak memberikan konfirmasi penerimaan barang dalam waktu 2x24 jam sejak barang diterima yang dinyatakan di sistem&nbsp;<em>tracking</em>&nbsp;jasa pengiriman, Jevera akan mentransfer dana langsung ke BukaDompet Pelapak tanpa memberikan konfirmasi ke Pembeli.</p>\n <p style=\"margin-left:21.0pt;\">\n 16.&nbsp;&nbsp; Sistem secara otomatis memberikan&nbsp;<em>feedback</em>&nbsp;(rekomendasi) positif dan mentransfer dana pembayaran ke BukaDompet Pelapak jika status resi menunjukkan &lsquo;Barang diterima&rsquo; dan Pembeli telah melewati batas waktu untuk konfirmasi.</p>\n <p style=\"margin-left:21.0pt;\">\n 17.&nbsp;&nbsp; Pembeli dapat memperbarui&nbsp;<em>feedback</em>&nbsp;maksimal 3x24 jam setelah transaksi dinyatakan selesai oleh sistem Jevera.</p>\n <p style=\"margin-left:21.0pt;\">\n 18.&nbsp;&nbsp; Retur (pengembalian barang) hanya diperbolehkan jika kesalahan dilakukan oleh Pelapak dan barang tidak sesuai deskripsi.</p>\n <p style=\"margin-left:21.0pt;\">\n 19.&nbsp;&nbsp; Retur tidak dapat dilakukan setelah transaksi selesai menurut sistem general tracking Jevera atau Pembeli telah melakukan konfirmasi barang diterima dan tidak memilih retur.</p>\n <p style=\"margin-left:21.0pt;\">\n 20.&nbsp;&nbsp; Langkah-langkah melakukan retur bisa dibaca pada&nbsp;<a href=\"http://www.bukalapak.com/faqs/24\">halaman ini</a></p>\n <p style=\"margin-left:21.0pt;\">\n 21.&nbsp;&nbsp; Jevera akan menahan dana hingga ada kesepakatan (antara Pembeli dan Pelapak) apakah akan dilakukan pengembalian barang ke Pelapak atau tidak.</p>\n <p style=\"margin-left:21.0pt;\">\n 22.&nbsp;&nbsp; Jevera akan mengembalikan dana transaksi ke Pembeli jika dalam waktu 5x24 jam Pelapak tidak merespon pesan permintaan retur dari Pembeli di halaman detail transaksi. Selanjutnya, Pembeli wajib mengirimkan barang tersebut ke kantor Jevera.</p>\n <p style=\"margin-left:21.0pt;\">\n 23.&nbsp;&nbsp; Jevera tidak bertanggung jawab terhadap barang retur di kantor Jevera apabila Pelapak tidak melakukan pengaduan kepemilikan barang dalam waktu 30 hari sejak barang diterima di kantor Jevera.</p>\n <p style=\"margin-left:21.0pt;\">\n 24.&nbsp;&nbsp; Pembeli wajib mengirimkan barang ke Pelapak dan menginformasikan nomor resi ke Jevera jika ada kesepakatan retur dengan Pelapak.</p>\n <p style=\"margin-left:21.0pt;\">\n 25.&nbsp;&nbsp; Jevera hanya memantau retur sampai barang diterima kembali oleh Pelapak.</p>\n <p style=\"margin-left:21.0pt;\">\n 26.&nbsp;&nbsp; Jevera berhak melakukan&nbsp;<em>refund</em>&nbsp;dana ke Pembeli jika barang retur telah sampai di kantor Jevera dan berdasarkan pengecekan sesuai dengan yang dikeluhkan Pembeli.</p>\n <p style=\"margin-left:21.0pt;\">\n 27.&nbsp;&nbsp; Jevera atas kebijakannya sendiri dapat melakukan penahanan atau pembekuan BukaDompet untuk melakukan perlindungan terhadap segala risiko dan kerugian yang timbul, jika Jevera menyimpulkan bahwa tindakan Pengguna, baik Pelapak maupun Pembeli terindikasi melakukan kecurangan-kecurangan atau penyalahgunaan dalam bertransaksi dan/atau pelanggaran terhadap Aturan Penggunaan Jevera dan jika akun Pengguna diduga atau terindikasi telah diakses oleh pihak lain.</p>\n <p>\n <strong>Penggunaan Voucher</strong></p>\n <p style=\"margin-left:21.0pt;\">\n 1.&nbsp;&nbsp;&nbsp;&nbsp; Voucher hanya berlaku untuk transaksi dengan pengiriman yang menggunakan jasa ekspedisi yang tersedia di Jevera.</p>\n <p style=\"margin-left:21.0pt;\">\n 2.&nbsp;&nbsp;&nbsp;&nbsp; Jevera berhak melakukan tindakan-tindakan yang diperlukan tanpa pemberitahuan sebelumnya. Tindakan tersebut seperti pembatalan transaksi, pembatalan voucher, pemblokiran akun Pengguna, atau tindakan lainnya apabila ditemukan kecurangan dari Pengguna.</p>\n <p style=\"margin-left:21.0pt;\">\n 3.&nbsp;&nbsp;&nbsp;&nbsp; Jevera berhak melakukan pembatalan transaksi atau membatalkan penggunaan voucher sewaktu-waktu tanpa pemberitahuan terlebih dahulu kepada Pengguna.</p>\n <p style=\"margin-left:21.0pt;\">\n 4.&nbsp;&nbsp;&nbsp;&nbsp; Jevera berhak mengubah syarat dan ketentuan sewaktu-waktu tanpa pemberitahuan terlebih dahulu kepada Pengguna.</p>\n <p>\n <strong>Barang Terlarang</strong></p>\n <p>\n Jevera telah dan akan terus melakukan hal-hal sebagaimana dipersyaratkan oleh peraturan perundang-undangan untuk mencegah terjadinya perdagangan barang-barang yang melanggar ketentuan hukum yang berlaku dan/atau hak pribadi pihak ketiga. Berkenaan dengan hal tersebut, berikut adalah barang-barang yang dilarang untuk diperjualbelikan melalui Jevera:</p>\n <p style=\"margin-left:21.0pt;\">\n 1.&nbsp;&nbsp;&nbsp;&nbsp; Segala bentuk tulisan yang dapat berpengaruh negatif terhadap Jevera</p>\n <p style=\"margin-left:21.0pt;\">\n 2.&nbsp;&nbsp;&nbsp;&nbsp; Narkotika, obat-obat tidak terdaftar di Dinkes dan/atau BPOM</p>\n <p style=\"margin-left:21.0pt;\">\n 3.&nbsp;&nbsp;&nbsp;&nbsp; Senjata api, kelengkapan senjata api, replika senjata api, airsoft gun, air gun, dan peluru atau sejenis peluru, senjata tajam, serta jenis senjata lainnya</p>\n <p style=\"margin-left:21.0pt;\">\n 4.&nbsp;&nbsp;&nbsp;&nbsp; Dokumen pemerintahan dan perjalanan</p>\n <p style=\"margin-left:21.0pt;\">\n 5.&nbsp;&nbsp;&nbsp;&nbsp; Bagian/organ manusia</p>\n <p style=\"margin-left:21.0pt;\">\n 6.&nbsp;&nbsp;&nbsp;&nbsp; Mailing list dan informasi pribadi</p>\n <p style=\"margin-left:21.0pt;\">\n 7.&nbsp;&nbsp;&nbsp;&nbsp; Barang-barang yang melecehkan pihak/ras tertentu atau dapat menyinggung perasaan orang lain</p>\n <p style=\"margin-left:21.0pt;\">\n 8.&nbsp;&nbsp;&nbsp;&nbsp; Barang yang berhubungan dengan kepolisian</p>\n <p style=\"margin-left:21.0pt;\">\n 9.&nbsp;&nbsp;&nbsp;&nbsp; Barang yang belum tersedia (<em>pre order</em>) terkecuali sanggup kirim barang dalam waktu 2x24 jam kerja sejak transaksi terbayar</p>\n <p style=\"margin-left:21.0pt;\">\n 10.&nbsp;&nbsp; Barang curian</p>\n <p style=\"margin-left:21.0pt;\">\n 11.&nbsp;&nbsp; Barang mistis</p>\n <p style=\"margin-left:21.0pt;\">\n 12.&nbsp;&nbsp; Pembuka kunci dan segala aksesori penunjang tindakan perampokan/pencurian</p>\n <p style=\"margin-left:21.0pt;\">\n 13.&nbsp;&nbsp; Barang yang dapat dan atau mudah meledak, menyala atau terbakar sendiri</p>\n <p style=\"margin-left:21.0pt;\">\n 14.&nbsp;&nbsp; Pornografi,&nbsp;<em>sex toys</em>, alat untuk memperbesar organ vital pria, maupun barang asusila lainnya</p>\n <p style=\"margin-left:21.0pt;\">\n 15.&nbsp;&nbsp; Barang cetakan/rekaman yang isinya dapat mengganggu keamanan &amp; ketertiban serta stabilitas nasional</p>\n <p style=\"margin-left:21.0pt;\">\n 16.&nbsp;&nbsp; <em>E-Book</em>, CD, DVD, dan&nbsp;<em>Software</em>&nbsp;bajakan</p>\n <p style=\"margin-left:21.0pt;\">\n 17.&nbsp;&nbsp; Segala jenis binatang atau hewan peliharaan</p>\n <p style=\"margin-left:21.0pt;\">\n 18.&nbsp;&nbsp; Jasa, donasi, sewa menyewa, promo&nbsp;<em>event</em>&nbsp;dan sejenisnya terkecuali ada kerja sama resmi dengan pihak Jevera</p>\n <p style=\"margin-left:21.0pt;\">\n 19.&nbsp;&nbsp; Merek dagang</p>\n <p style=\"margin-left:21.0pt;\">\n 20.&nbsp;&nbsp; Otomotif (Mobil dan Motor) terkecuali ada kerja sama resmi dengan pihak Jevera</p>\n <p style=\"margin-left:21.0pt;\">\n 21.&nbsp;&nbsp; Velg Mobil</p>\n <p style=\"margin-left:21.0pt;\">\n 22.&nbsp;&nbsp; Properti (Rumah, Tanah, dan lain-lain)</p>\n <p style=\"margin-left:21.0pt;\">\n 23.&nbsp;&nbsp; Pulsa elektrik maupun pulsa fisik/voucher, voucher kuota internet, voucher game, voucher aplikasi, steam wallet, dan lainnya; terkecuali ada kerja sama resmi dengan pihak Jevera</p>\n <p style=\"margin-left:21.0pt;\">\n 24.&nbsp;&nbsp; Produk yang bukan produk asli dengan merek, atau berkaitan dengan merek terdaftar.</p>\n <p style=\"margin-left:21.0pt;\">\n 25.&nbsp;&nbsp; Gadget (ponsel, tablet, phablet,&nbsp;<em>smartwatch</em>, dan sejenisnya) replika atau berasal dari pasar gelap (<em>black market</em>)</p>\n <p style=\"margin-left:21.0pt;\">\n 26.&nbsp;&nbsp; Barang-barang lain yang dilarang untuk diperjualbelikan secara bebas berdasarkan hukum yang berlaku di Indonesia</p>\n <p>\n <strong>Sanksi</strong></p>\n <p>\n Segala tindakan yang melanggar peraturan di Jevera akan dikenakan sanksi berupa termasuk namun tidak terbatas pada:</p>\n <p style=\"margin-left:21.0pt;\">\n 1.&nbsp;&nbsp;&nbsp;&nbsp; Pelapak mendapatkan 1&nbsp;<em>feedback</em>&nbsp;negatif apabila tidak mengirimkan barang dalam batas waktu pengiriman sejak pembayaran (2x24 jam kerja untuk biaya pengiriman reguler atau 2x24 jam untuk biaya pengiriman kilat).</p>\n <p style=\"margin-left:21.0pt;\">\n 2.&nbsp;&nbsp;&nbsp;&nbsp; Pelapak mendapatkan 1&nbsp;<em>feedback</em>&nbsp;negatif jika sudah 5 kali menolak pesanan.</p>\n <p style=\"margin-left:21.0pt;\">\n 3.&nbsp;&nbsp;&nbsp;&nbsp; Pelapak mendapatkan 3&nbsp;<em>feedback</em>&nbsp;negatif jika sudah memroses pesanan namun tidak kirim barang dalam batas waktu pengiriman sejak pembayaran (2x24 jam kerja untuk pengiriman reguler atau 2x24 jam untuk pengiriman kilat).</p>\n <p style=\"margin-left:21.0pt;\">\n 4.&nbsp;&nbsp;&nbsp;&nbsp; Akun dibekukan.</p>\n <p style=\"margin-left:21.0pt;\">\n 5.&nbsp;&nbsp;&nbsp;&nbsp; Akun dinonaktifkan. Dan jika ada Paket Push di akun maka Paket Push hangus.</p>\n <p style=\"margin-left:21.0pt;\">\n 6.&nbsp;&nbsp;&nbsp;&nbsp; Pelaporan ke pihak terkait (Kepolisian, dll).</p>\n <p>\n <strong>Pembatasan Tanggung Jawab</strong></p>\n <p style=\"margin-left:21.0pt;\">\n 1.&nbsp;&nbsp;&nbsp;&nbsp; Jevera tidak bertanggung jawab atas segala risiko dan kerugian yang timbul dari dan dalam kaitannya dengan informasi yang dituliskan oleh pengguna Jevera.</p>\n <p style=\"margin-left:21.0pt;\">\n 2.&nbsp;&nbsp;&nbsp;&nbsp; Jevera tidak bertanggung jawab atas segala pelanggaran hak cipta, merek, desain industri, desain tata letak sirkuit, hak paten atau hak-hak pribadi lain yang melekat atas suatu barang, berkenaan dengan segala informasi yang dibuat oleh Pelapak. Untuk melaporkan pelanggaran hak cipta, merek, desain industri, desain tata letak sirkuit, hak paten atau hak-hak pribadi lain,&nbsp;<a href=\"https://www.bukalapak.com/supports/contact_us\">klik di sini</a></p>\n <p style=\"margin-left:21.0pt;\">\n 3.&nbsp;&nbsp;&nbsp;&nbsp; Jevera tidak bertanggung jawab atas segala risiko dan kerugian yang timbul berkenaan dengan penggunaan barang yang dibeli melalui Jevera, dalam hal terjadi pelanggaran peraturan perundang-undangan.</p>\n <p style=\"margin-left:21.0pt;\">\n 4.&nbsp;&nbsp;&nbsp;&nbsp; Jevera tidak bertanggung jawab atas segala risiko dan kerugian yang timbul berkenaan dengan diaksesnya akun Pengguna oleh pihak lain.</p>\n <p style=\"margin-left:21.0pt;\">\n 5.&nbsp;&nbsp;&nbsp;&nbsp; Jevera tidak bertanggung jawab atas segala risiko dan kerugian yang timbul akibat transaksi di luar BL Payment System.</p>\n <p style=\"margin-left:21.0pt;\">\n 6.&nbsp;&nbsp;&nbsp;&nbsp; Jevera tidak bertanggung jawab atas segala risiko dan kerugian yang timbul akibat kesalahan atau perbedaan nominal yang seharusnya ditransfer ke rekening atas nama PT.Jevera.com.</p>\n <p style=\"margin-left:21.0pt;\">\n 7.&nbsp;&nbsp;&nbsp;&nbsp; Jevera tidak bertanggung jawab atas segala risiko dan kerugian yang timbul apabila transaksi telah selesai secara sistem (dana telah masuk ke BukaDompet Pelapak ataupun Pembeli).</p>\n <p style=\"margin-left:21.0pt;\">\n 8.&nbsp;&nbsp;&nbsp;&nbsp; Jevera tidak bertanggung jawab atas segala risiko dan kerugian yang timbul akibat kehilangan barang ketika proses transaksi berjalan dan/atau selesai.</p>\n <p style=\"margin-left:21.0pt;\">\n 9.&nbsp;&nbsp;&nbsp;&nbsp; Jevera tidak bertanggung jawab atas segala risiko dan kerugian yang timbul akibat kesalahan Pengguna ataupun pihak lain dalam transfer dana ke rekening PT.Jevera.com.</p>\n <p style=\"margin-left:21.0pt;\">\n 10.&nbsp;&nbsp; Jevera tidak bertanggung jawab atas segala risiko dan kerugian yang timbul apabila akun dalam keadaan dibekukan dan/atau dinonaktifkan.</p>\n <p style=\"margin-left:21.0pt;\">\n 11.&nbsp;&nbsp; Dalam keadaan apapun, Pengguna akan membayar kerugian Jevera dan/atau menghindarkan Jevera (termasuk petugas, direktur, karyawan, agen, dan lainnya) dari setiap biaya kerugian apapun, kehilangan, pengeluaran atau kerusakan yang berasal dari tuntutan atau klaim Pihak ke-tiga yang timbul dari pelanggaran Pengguna terhadap Aturan Penggunaan Jevera, dan/atau pelanggaran terhadap hak dari pihak ke-tiga.</p>\n <p>\n <strong>Hukum yang Berlaku dan Penyelesaian Sengketa</strong></p>\n <p>\n &middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Aturan Penggunaan ini dilaksanakan dan tunduk pada Peraturan Perundang- udangan Republik Indonesia.</p>\n <p>\n &middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Apabila terjadi perselisihan, sebelum beralih ke alternatif lain, Pengguna wajib terlebih dahulu menghubungi Jevera secara langsung agar dapat melakukan perundingan atau musyawarah untuk mencapai resolusi bagi kedua belah pihak.</p>\n <p>\n &middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sebelum menghubungi Jevera secara langsung untuk melakukan perundingan penyelesaian masalah atau sengketa, Pengguna setuju untuk tidak mengumumkan, membuat tulisan-tulisan di media online maupun cetak terkait permasalahan aquo yang dapat menyudutkan Jevera (termasuk petugas, direktur, karyawan dan agen).</p>\n <p>\n &middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Apabila dalam waktu 1 (satu) bulan setelah dimulainya perundingan atau musyawarah tidak mencapai resolusi, maka PARA PIHAK akan menyelesaikan perselisihan tersebut melalui Pengadilan Negeri Jakarta Selatan.</p>\n <p>\n &middot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Selama perselisihan dalam proses penyelesaian, Pengguna wajib untuk tetap melaksanakan kewajiban-kewajiban lainnya menurut Aturan Penggunaan Jevera.</p>\n <p>\n &nbsp;</p>\n</div>\n<p>\n &nbsp;</p>\n', 'Jln Blimbing no 34 Malang Jawa Timur', '08994278282', '<EMAIL>', '<p>\r\n 1. Pilih produk yang akan dibeli</p>\r\n<p>\r\n 2. Setelah memilih produk yang dibeli lakukan checkout dengan menekan keranjang belanja yang ada di kanan atas</p>\r\n<p>\r\n 3. Lakukan pembayaran</p>\r\n<p>\r\n 3. Kemudian isi form konfirmasi pembayaran</p>\r\n<p>\r\n &nbsp;</p>\r\n'); -- -------------------------------------------------------- -- -- Struktur dari tabel `kota` -- CREATE TABLE `kota` ( `id_kota` int(11) NOT NULL, `nama_kota` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `kota` -- INSERT INTO `kota` (`id_kota`, `nama_kota`) VALUES (5, 'Kabupaten Malang'), (10, 'Kota Malang'), (8, 'Kota Nganjuk'), (2, 'Madiun'), (9, 'Magelang'), (1, 'Magetan'); -- -------------------------------------------------------- -- -- Struktur dari tabel `logo` -- CREATE TABLE `logo` ( `id_logo` int(11) NOT NULL, `logo` varchar(256) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `logo` -- INSERT INTO `logo` (`id_logo`, `logo`) VALUES (1, 'logo_1623077498.jpg'); -- -------------------------------------------------------- -- -- Struktur dari tabel `log_aktivitas` -- CREATE TABLE `log_aktivitas` ( `id_log` int(11) NOT NULL, `id_user` varchar(255) NOT NULL, `aktivitas` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `log_aktivitas` -- INSERT INTO `log_aktivitas` (`id_log`, `id_user`, `aktivitas`) VALUES (30, '0', 'Mengkonfirmasi pembayaran order dengan ID order T210617001'), (31, '0', 'Mengkonfirmasi pembayaran order dengan ID order T210616001'), (32, '0', 'Mengkonfirmasi pembayaran order dengan ID order T210616005'), (33, '0', 'Mengkonfirmasi pembayaran order dengan ID order T210617005'), (34, '0', 'Mengkonfirmasi pembayaran order dengan ID order T210616009'), (35, '0', 'Mengkonfirmasi pembayaran order dengan ID order T210621001'), (36, '0', 'Mengkonfirmasi pembayaran order dengan ID order T210708006'), (37, '0', 'Mengkonfirmasi pembayaran order dengan ID order T210615001'), (38, '0', 'Mengkonfirmasi pembayaran order dengan ID order T210708042'); -- -------------------------------------------------------- -- -- Struktur dari tabel `mainmenu` -- CREATE TABLE `mainmenu` ( `seq` int(11) NOT NULL, `idmenu` int(11) NOT NULL, `nama_menu` varchar(50) NOT NULL, `active_menu` varchar(50) NOT NULL, `icon_class` varchar(50) NOT NULL, `link_menu` varchar(50) NOT NULL, `menu_akses` varchar(12) NOT NULL, `entry_date` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(), `entry_user` varchar(50) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `mainmenu` -- INSERT INTO `mainmenu` (`seq`, `idmenu`, `nama_menu`, `active_menu`, `icon_class`, `link_menu`, `menu_akses`, `entry_date`, `entry_user`) VALUES (1, 1, 'Dashboard', '', 'menu-icon fa fa-tachometer', 'Home', '', '2017-10-17 05:28:54', NULL), (2, 2, 'Produk', '', 'menu-icon fa fa-newspaper-o', 'Produk', '', '2018-09-24 03:17:43', NULL), (19, 3, 'Order', '', 'menu-icon fa fa-newspaper-o', 'Order', '', '2018-09-24 06:03:55', NULL), (20, 4, 'About', '', 'menu-icon fa fa-newspaper-o', 'About', '', '2018-09-24 08:26:04', NULL), (21, 5, 'Kontak', '', 'menu-icon fa fa-newspaper-o', 'Kontak', '', '2018-09-24 08:37:07', NULL); -- -------------------------------------------------------- -- -- Struktur dari tabel `menu` -- CREATE TABLE `menu` ( `id_menu` int(11) NOT NULL, `nama_menu` varchar(50) NOT NULL, `foto_menu` varchar(100) NOT NULL, `title_menu` varchar(50) NOT NULL, `meta_description_menu` varchar(100) NOT NULL, `meta_keywords_menu` varchar(100) NOT NULL, `aktif_menu` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `menu` -- INSERT INTO `menu` (`id_menu`, `nama_menu`, `foto_menu`, `title_menu`, `meta_description_menu`, `meta_keywords_menu`, `aktif_menu`) VALUES (1, 'Umroh', 'Jual_Beli_Property_foto.jpg', 'Umroh', 'Umroh', 'Umroh', 1), (2, 'Menu Baru', 'Menu_Baru_foto.jpg', 'Baru', 'Baru', 'Baru', 0), (4, 'Foods', 'Makanan_foto.jpg', 'Foods', 'Foods', 'Foods', 0), (5, 'Seasoning', 'Seasoning.jpg', 'Seasoning', 'Seasoning', 'Seasoning', 0), (6, 'Electronics', 'Electronics_foto.jpg', 'Electronics', 'Electronics', 'Electronics', 0), (7, 'Menu 1002', 'Menu_100_foto.jpg', '001 uneM2', 'Menu 1002', '001 uneM2', 0), (8, 'Menu 10', 'Menu_10_foto.jpg', '01 uneM', 'Menu 10', '01 uneM', 0); -- -------------------------------------------------------- -- -- Struktur dari tabel `ongkir_pembeli` -- CREATE TABLE `ongkir_pembeli` ( `id_ongkir` int(11) NOT NULL, `ongkir` varchar(50) NOT NULL, `id_order` varchar(50) NOT NULL, `id_penjual` varchar(50) NOT NULL, `tagihan_admin` int(11) NOT NULL DEFAULT 0, `pembayaran` int(11) NOT NULL DEFAULT 0, `jasa_pengiriman` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `ongkir_pembeli` -- INSERT INTO `ongkir_pembeli` (`id_ongkir`, `ongkir`, `id_order`, `id_penjual`, `tagihan_admin`, `pembayaran`, `jasa_pengiriman`) VALUES (89, '0', 'T210615001', 'Admin', 0, 0, '0'), (90, '0', 'T210616001', 'Admin', 0, 0, '0'), (91, '0', 'T210616002', 'Admin', 0, 0, '0'), (92, '0', 'T210616003', 'Admin', 0, 0, '0'), (93, '0', 'T210616004', 'Admin', 0, 0, '0'), (94, '0', 'T210616005', 'Admin', 0, 0, '0'), (95, '0', 'T210616006', 'Admin', 0, 0, '0'), (96, '0', 'T210616007', 'Admin', 0, 0, '0'), (97, '0', 'T210616008', 'Admin', 0, 0, '0'), (98, '0', 'T210616009', 'Admin', 0, 0, '0'), (99, '0', 'T210616010', 'Admin', 0, 0, '0'), (100, '0', 'T210616011', 'Admin', 0, 0, '0'), (101, '0', 'T210616012', 'Admin', 0, 0, '0'), (102, '0', 'T210616013', 'Admin', 0, 0, '0'), (103, '0', 'T210617001', 'Admin', 0, 0, '0'), (104, '0', 'T210617002', 'Admin', 0, 0, '0'), (105, '0', 'T210617003', 'Admin', 0, 0, '0'), (106, '0', 'T210617004', 'Admin', 0, 0, '0'), (107, '0', 'T210617005', 'Admin', 0, 0, '0'), (108, '0', 'T210621001', 'Admin', 0, 0, '0'); -- -------------------------------------------------------- -- -- Struktur dari tabel `order` -- CREATE TABLE `order` ( `id_order` varchar(11) NOT NULL, `tgl_order` datetime NOT NULL, `total_order` int(11) NOT NULL, `jumlah_order` int(11) NOT NULL, `id_jadwal` int(11) DEFAULT NULL, `status_order` varchar(30) NOT NULL DEFAULT '1' COMMENT 'transaksi belum bayar,menunggu konfirmasi, sudah bayar', `nama_order` varchar(30) NOT NULL, `alamat_order` text NOT NULL, `tlp_order` varchar(20) NOT NULL, `kota_order` varchar(50) NOT NULL, `kelurahan` varchar(50) NOT NULL, `kecamatan` varchar(50) NOT NULL, `jam_kirim` varchar(50) NOT NULL, `ongkir` varchar(50) DEFAULT NULL, `status_bayar` int(11) DEFAULT 0, `kurir` varchar(50) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `order` -- INSERT INTO `order` (`id_order`, `tgl_order`, `total_order`, `jumlah_order`, `id_jadwal`, `status_order`, `nama_order`, `alamat_order`, `tlp_order`, `kota_order`, `kelurahan`, `kecamatan`, `jam_kirim`, `ongkir`, `status_bayar`, `kurir`) VALUES ('T210615001', '2021-06-15 23:48:18', 25200, 1, NULL, '4', '<NAME>', 'Malang', '089518824746', 'Malang', '12', '2', '00:00:13', '0', 0, '1'), ('T210616001', '2021-06-16 00:06:12', 14700, 1, NULL, '4', '<NAME>', 'malang', '379874832493', 'Malang', '20', '2', '00:00:11', '0', 0, '1'), ('T210616002', '2021-06-16 00:15:45', 10001, 1, NULL, '2', '<NAME>', 'hgfhjhk', '86976845346', 'Malang', '12', '2', '00:00:19', '0', 0, '1'), ('T210616003', '2021-06-16 00:18:55', 29000, 1, NULL, '2', '<NAME>', 'dfl;sfgsjdfs', '3742934824', 'Malang', '16', '2', '00:00:09', '0', 0, '1'), ('T210616004', '2021-06-16 00:23:35', 10001, 1, NULL, '2', 'dimas', '26defrsdfs', '342', 'Malang', '27', '3', '00:00:07', '0', 0, '1'), ('T210616005', '2021-06-16 00:26:58', 26000, 1, NULL, '4', '<NAME>', 'hjdfabda', '37425', 'Malang', '15', '2', '00:00:07', '0', 0, '1'), ('T210616006', '2021-06-16 00:32:42', 10001, 1, NULL, '2', '<NAME>', 'gasda', '34234', 'Malang', '21', '2', '00:00:07', '0', 0, '1'), ('T210616007', '2021-06-16 00:42:14', 25200, 1, NULL, '2', 'dimas', 'dsissssssssss', '18731', 'Malang', '35', '4', '00:00:13', '0', 0, '1'), ('T210616008', '2021-06-16 00:46:49', 30000, 1, NULL, '2', '<NAME>', 'kdsfjdhfjds', '32780372472', 'Malang', '12', '2', '00:00:13', '0', 0, '1'), ('T210616009', '2021-06-16 09:36:31', 20000, 1, NULL, '4', 'Dimas', 'gads', '32424', 'Malang', '8', '1', '00:00:07', '0', 0, '1'), ('T210616010', '2021-06-16 09:42:48', 15200, 1, NULL, '2', '<NAME>', 'adahfs', '4624234', 'Malang', '17', '2', '00:00:07', '0', 0, '1'), ('T210616011', '2021-06-16 09:49:49', 10001, 1, NULL, '2', '<NAME>', 'sjgdsahvfs', '93842647612', 'Malang', '12', '2', '00:00:09', '0', 0, '1'), ('T210616012', '2021-06-16 13:30:38', 47500, 1, NULL, '1', 'dimmmmmmmmmmm', 'dfdfd', '32535325', 'Malang', '23', '3', '00:00:11', '0', 0, '1'), ('T210616013', '2021-06-16 16:57:14', 66300, 1, NULL, '1', 'vsdsmfbdsjf32432', 'gfgrggtrg\r\n', '4344', 'Malang', '9', '1', '00:00:19', '0', 0, '1'), ('T210617001', '2021-06-17 09:19:19', 34500, 1, NULL, '5', '<NAME>', 'sdsfadsdsadas', '902748217421732', 'Malang', '35', '4', '00:00:13', '0', 1, '0'), ('T210617002', '2021-06-17 09:35:04', 10001, 1, NULL, '2', '<NAME>', 'dfhdgfhsadas', '82374892342', 'Malang', '12', '2', '00:00:11', '0', 0, '2'), ('T210617003', '2021-06-17 10:06:25', 24700, 1, NULL, '1', '<NAME>', 'hdgfhfjg', '78574', 'Malang', '12', '2', '00:00:15', '0', 0, '1'), ('T210617004', '2021-06-17 10:22:34', 28700, 1, NULL, '1', 'ddd', 'fhsdcfvbhgcv', '75667', 'Malang', '44', '4', '00:00:17', '0', 0, '1'), ('T210617005', '2021-06-17 21:58:40', 15200, 1, NULL, '4', '<NAME>', 'gvg', '555', 'Malang', '8', '1', '00:00:09', '0', 0, '1'), ('T210617006', '2021-06-17 22:41:56', 10001, 1, NULL, '1', 's', 's', '2', 'Malang', '12', '2', '00:00:15', '0', 0, '1'), ('T210621001', '2021-06-21 10:05:35', 122500, 3, NULL, '5', '<NAME>', 'Ds. Bayemwetan RT 7 RW 2 Kec. Kartoharjo Kab .Magetan', '0972751468245', 'Malang', '9', '1', '00:00:13', '0', 1, '1'), ('T210703001', '2021-07-03 18:57:08', 66300, 1, NULL, '1', 'Dimas', 'Ds. Bayemwetan RT 7 RW 2 Kec. Kartoharjo Kab .Magetan', '1111111111', '2', '4', '4', '', '0', 0, '1'), ('T210703002', '2021-07-03 19:00:40', 56300, 1, NULL, '1', 'Dimas', 'Ds. Bayemwetan RT 7 RW 2 Kec. Kartoharjo Kab .Magetan', '1111111111', '2', '4', '4', '', '0', 0, ''), ('T210703003', '2021-07-03 19:01:09', 56300, 1, NULL, '1', 'Dimas', 'Ds. Bayemwetan RT 7 RW 2 Kec. Kartoharjo Kab .Magetan', '2222222222', '2', '3', '3', '', '0', 0, ''), ('T210703004', '2021-07-03 19:04:18', 56300, 1, NULL, '1', 'Dimas', 'Ds. Bayemwetan RT 7 RW 2 Kec. Kartoharjo Kab .Magetan', '2222222222', '2', '3', '3', '', '0', 0, ''), ('T210705001', '2021-07-05 09:15:03', 7000, 1, NULL, '1', 'Dimas', 'Ds. Bayemwetan RT 7 RW 2 Kec. Kartoharjo Kab .Magetan', '733342846', '1', '2', '2', '', '0', 0, ''), ('T210705002', '2021-07-05 09:28:19', 17000, 1, NULL, '1', '<NAME>', '22222222222222', '111111111', '1', '2', '2', ' 07:00 PM', '0', 0, ''), ('T210707001', '2021-07-07 23:36:53', 2500, 1, NULL, '1', 'dimssss', 'wakanda', '232323323', '1', '2', '2', ' 10:06 PM', NULL, 0, NULL), ('T210707002', '2021-07-07 23:38:24', 2500, 1, NULL, '1', 'dimssss', 'wakanda', '232323323', '1', '2', '2', ' 10:06 PM', NULL, 0, NULL), ('T210707003', '2021-07-07 23:40:41', 2500, 1, NULL, '1', 'dimssss', 'wakanda', '232323323', '1', '2', '2', ' 10:06 PM', NULL, 0, NULL), ('T210707004', '2021-07-07 23:42:13', 2500, 1, NULL, '1', 'dimsss', 'wakanda polepel', '231', '1', '2', '2', ' 05:25 PM', NULL, 0, NULL), ('T210707005', '2021-07-07 23:52:23', 2500, 1, NULL, '1', 'dimsss', 'wakanda polepel', '231', '1', '2', '2', ' 05:25 PM', NULL, 0, NULL), ('T210707006', '2021-07-07 23:53:03', 2500, 1, NULL, '1', 'dimsss', 'waku waku japan', '12345', '1', '2', '2', ' 07:00 PM', NULL, 0, NULL), ('T210708001', '2021-07-08 00:00:08', 2500, 1, NULL, '1', 'dimsss', 'waku waku japan', '12345', '1', '2', '2', ' 07:00 PM', NULL, 0, NULL), ('T210708002', '2021-07-08 00:47:09', 19000, 1, NULL, '1', 'jancuk', 'konoha', '450', '5', '7', '6', ' 01:00 PM', '1000', 0, 'dapa'), ('T210708003', '2021-07-08 00:51:39', 19000, 1, NULL, '1', 'asw', 'wkwkwk', '32313213', '2', '4', '4', ' 05:00 AM', '31000', 0, 'JNT atau JNE'), ('T210708004', '2021-07-08 01:18:33', 34200, 2, NULL, '1', 'Dimas', 'ehewdbwdemdednc', '555555555555', '2', '4', '4', ' 05:25 PM', '31000', 0, 'JNT atau JNE'), ('T210708005', '2021-07-08 01:44:12', 27500, 2, NULL, '1', 'dsfhgdsbfjdsn', 'sbafahgsfsf', '39627462172', '2', '4', '4', ' 01:00 PM', '31000', 0, 'JNT atau JNE'), ('T210708006', '2021-07-08 02:14:58', 4201, 2, NULL, '3', 'dnkgsahfdbdsa', 'asfghfba', '375864', '2', '4', '4', ' 07:00 PM', '0', 0, ''), ('T210708007', '2021-07-08 02:29:49', 27500, 2, NULL, '1', 'dsfhgdsbfjdsn', 'sbafahgsfsf', '39627462172', '1', '2', '2', ' 01:00 PM', '30000', 0, 'JNE'), ('T210708008', '2021-07-08 02:36:59', 3201, 2, NULL, '1', 'sngdhs', 'dsbfbsads', '32742', '5', '7', '6', ' 01:00 PM', '0', 0, ''), ('T210708009', '2021-07-08 02:42:20', 4201, 2, NULL, '1', 'ngryhs', 'jgdhfds', '367342', '1', '2', '2', ' 07:00 PM', '0', 0, ''), ('T210708010', '2021-07-08 02:45:56', 4201, 2, NULL, '1', 'ahgdhsdvsad', 'djkfbsf', '32532', '2', '4', '4', ' 07:00 PM', '31000', 0, 'JNT atau JNE'), ('T210708011', '2021-07-08 03:43:15', 1, 1, NULL, '1', 'rdfchgvhj', 'gkffghjk', '789', '1', '2', '2', ' 01:00 PM', '30000', 0, 'JNE'), ('T210708012', '2021-07-08 03:46:12', 36200, 1, NULL, '1', 'nhfgdcgvhb', 'fdcghjvbcfv', '53647890', '1', '2', '2', ' 07:00 PM', '30000', 0, 'JNE'), ('T210708013', '2021-07-08 10:36:59', 23500, 1, NULL, '1', 'djgdhs', 'dimas', '32486245', 'Malang', '2', '2', ' 07:00 PM', '0', 0, '1'), ('T210708014', '2021-07-08 10:42:56', 23500, 1, NULL, '1', 'djgdhs', 'dimas', '32486245', 'Malang', '2', '2', ' 07:00 PM', '0', 0, '1'), ('T210708015', '2021-07-08 10:43:55', 23500, 1, NULL, '1', 'djgdhs', 'dimas', '32486245', 'Malang', '2', '2', ' 07:00 PM', NULL, 0, '1'), ('T210708016', '2021-07-08 10:47:14', 10001, 1, NULL, '1', 'gebdhbasdn', 'cdafas', '3217561', 'Malang', '', '4', '13', '0', 0, '1'), ('T210708017', '2021-07-08 10:55:04', 23500, 1, NULL, '1', 'djgdhs', 'dimas', '32486245', 'Malang', '2', '2', ' 07:00 PM', NULL, 0, '1'), ('T210708018', '2021-07-08 11:06:28', 1, 1, NULL, '1', 'safhsa', 'dsfsf', '322', '1', '2', '2', ' 01:00 PM', '0', 0, ''), ('T210708019', '2021-07-08 11:10:50', 30001, 1, NULL, '1', 'shsjfbsa', 'dhsfhaj', '3242', '1', '2', '2', ' 01:00 PM', '30000', 0, 'JNE'), ('T210708020', '2021-07-08 11:12:23', 30001, 1, NULL, '1', 'dsf', 'dsfg', '333', '1', '2', '2', ' 05:25 PM', '30000', 0, 'JNE'), ('T210708021', '2021-07-08 11:33:29', 32500, 1, NULL, '1', 'jgdfjdhvfjsf35253', 'dgdsg', '4323', '1', '2', '2', ' 05:25 PM', '30000', 0, 'JNE'), ('T210708022', '2021-07-08 11:42:08', 1, 1, NULL, '1', 'sjdghsavdj', 'hgsdfafs', '36428748', '1', '2', '2', ' 01:00 PM', NULL, 0, NULL), ('T210708023', '2021-07-08 11:43:47', 30001, 1, NULL, '1', 'sasahdhsdsa', 'nsgfshaf', '37264', '1', '2', '2', ' 07:00 PM', '30000', 0, 'JNE'), ('T210708024', '2021-07-08 12:22:38', 4700, 1, NULL, '1', '<NAME>', 'Wakanda', '083555271863', '2', '4', '4', ' 10:06 PM', '0', 0, ''), ('T210708025', '2021-07-08 12:31:56', 7500, 1, NULL, '1', 'Dimasj', 'hsagdbshbdsc', '73282103', '5', '7', '6', ' 01:00 PM', '0', 0, ''), ('T210708026', '2021-07-08 12:38:16', 1, 1, NULL, '1', 'jancuk', 'bajingan', '450', '1', '2', '2', ' 05:00 AM', '0', 0, 'JNE'), ('T210708027', '2021-07-08 12:41:56', 24500, 1, NULL, '1', 'askjdsadbs', 'jdsgfhsabf', '39264327', '5', '7', '6', ' 10:06 PM', '0', 0, 'Go Send'), ('T210708028', '2021-07-08 12:48:55', 31001, 1, NULL, '1', 'hegefdsahjdskadjsj', 'jancukkk', '893624732', '2', '4', '4', ' 05:25 PM', '31000', 0, 'JNT atau JNE'), ('T210708029', '2021-07-08 12:50:25', 31018, 1, NULL, '1', 'assssssss', 'asbdvsadshajd', '8368237233823', '2', '4', '4', ' 01:00 PM', '31000', 0, 'JNT atau JNE'), ('T210708030', '2021-07-08 12:54:22', 2500, 1, NULL, '1', 'dimas', 'imanan', '837643263525', '2', '4', '4', ' 05:00 AM', NULL, 0, 'JNT atau JNE'), ('T210708031', '2021-07-08 12:58:02', 40700, 1, NULL, '1', 'sigdd', 'ahsdsajdnashdb', '7363626', '2', '4', '4', ' 10:06 PM', '31000', 0, 'JNT atau JNE'), ('T210708032', '2021-07-08 13:01:59', 9700, 1, NULL, '1', 'sigdd', 'ahsdsajdnashdb', '7363626', '2', '4', '4', ' 10:06 PM', '0', 0, 'JNT atau JNE'), ('T210708033', '2021-07-08 13:07:53', 9700, 1, NULL, '1', 'shyrasgfhsab', 'sndgsadvsa', '26371232191873', '2', '4', '4', ' 07:00 PM', '31000', 0, 'JNT atau JNE'), ('T210708034', '2021-07-08 13:23:35', 1, 1, NULL, '1', 'dimas', 'dimana', '123', '1', '2', '2', ' 05:00 AM', '30000', 0, 'JNE'), ('T210708035', '2021-07-08 13:35:01', 1, 1, NULL, '1', 'dimas', 'dimana', '123', '1', '2', '2', ' 05:00 AM', '30000', 0, 'JNE'), ('T210708036', '2021-07-08 13:45:35', 6200, 1, NULL, '1', 'dimas', 'disini', '12345', '5', '7', '6', ' 10:06 PM', '1000', 0, 'Go Send'), ('T210708037', '2021-07-08 13:46:27', 6200, 1, NULL, '1', 'dimas', 'disini', '12345', '5', '7', '6', ' 10:06 PM', '0', 0, 'Go Send'), ('T210708038', '2021-07-08 13:51:48', 32800, 1, NULL, '1', 'anjay', 'jadgsasa', '762817431', '2', '4', '4', ' 05:25 PM', '5000', 0, 'JNT atau JNE'), ('T210708039', '2021-07-08 14:09:55', 8500, 1, NULL, '1', 'wqdwsad', 'sffdfds', '32424', '5', '7', '6', ' 05:00 AM', '0', 0, 'Go Send'), ('T210708040', '2021-07-08 20:59:05', 15200, 1, NULL, '1', 'Dimas <NAME>', 'disana', '089333653842', '5', '7', '6', ' 01:00 PM', NULL, 0, 'Go Send'), ('T210708041', '2021-07-08 21:40:16', 1001, 1, NULL, '1', 'Dimas', 'dimana mana', '1234567', '5', '7', '6', ' 07:00 PM', '1000', 0, 'Go Send'), ('T210708042', '2021-07-08 21:42:22', 1001, 1, NULL, '4', 'Dimas', 'disana sini', '12345678', '5', '7', '6', ' 10:06 PM', '1000', 0, 'Go Send'), ('T210709001', '2021-07-09 14:54:06', 31001, 1, NULL, '1', 'dismsads', 'sdjksdbsa', '32523', '2', '4', '4', ' 07:00 PM', '31000', 0, 'JNT atau JNE'), ('T210709002', '2021-07-09 14:56:37', 36200, 1, NULL, '1', 'dims', 'dfhadvgfvasj', '73264372', '2', '4', '4', ' 01:00 PM', '31000', 0, 'JNT atau JNE'); -- -------------------------------------------------------- -- -- Struktur dari tabel `pemasukan` -- CREATE TABLE `pemasukan` ( `id_pemasukan` int(11) NOT NULL, `id_detail_order` int(11) NOT NULL, `jumlah_pemasukan` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Struktur dari tabel `produk` -- CREATE TABLE `produk` ( `id_produk` int(11) NOT NULL, `id_user` varchar(50) NOT NULL DEFAULT 'Admin', `kode_produk` varchar(20) NOT NULL, `nama_produk` varchar(255) NOT NULL, `id_menu` int(11) NOT NULL DEFAULT 1, `kategori_produk` int(11) NOT NULL, `harga` int(255) NOT NULL, `berat` int(11) NOT NULL, `stok_produk` varchar(20) DEFAULT NULL, `ket` text DEFAULT NULL, `deskripsi` text NOT NULL, `foto_produk1` varchar(50) DEFAULT NULL, `foto_produk2` varchar(50) NOT NULL, `foto_produk3` varchar(50) NOT NULL, `jumlah_stok` int(11) NOT NULL, `jumlah_terjual` int(11) DEFAULT NULL, `provinsi` int(11) NOT NULL DEFAULT 11, `kota` int(11) NOT NULL DEFAULT 255, `validasi` tinyint(1) NOT NULL DEFAULT 0, `pajak` double NOT NULL DEFAULT 5 ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `produk` -- INSERT INTO `produk` (`id_produk`, `id_user`, `kode_produk`, `nama_produk`, `id_menu`, `kategori_produk`, `harga`, `berat`, `stok_produk`, `ket`, `deskripsi`, `foto_produk1`, `foto_produk2`, `foto_produk3`, `jumlah_stok`, `jumlah_terjual`, `provinsi`, `kota`, `validasi`, `pajak`) VALUES (2004280004, 'Admin', 'H222', '<NAME> (1 kg)', 1, 6, 13500, 0, 'Ada', '', 'Kubis atau kol merupakan salah satu jenis sayuran yang cukup akrab di lidah masyarakat Indonesia. Memiliki tekstur renyah dan rasa yang ringan. Karena itulah, sayuran yang memiliki nama ilmiah Brassica oleracea var. capitata ini sering diolah menjadi beragam hidangan lezat; seperti sup, bakwan, hingga siomay.', 'sayurkol.jpg', '', '', 99, 1, 11, 255, 1, 0), (2004280005, 'Admin', '', '<NAME> (500 g)', 1, 6, 6400, 0, '', '', 'Gambas atau oyong (Luffa acutangula, suku labu-labuan atau Cucurbitaceae), adalah komoditas sayuran minor. Penanamannya biasanya dilakukan di pekarangan atau bagian ladang yang tidak digunakan untuk tanaman lain. Gambas dipanen buahnya ketika masih muda dan diolah sebagai sayur.', 'oyong.jpg', '', '', 100, 0, 11, 255, 1, 0), (2004280006, 'Admin', '', 'Selada <NAME> (500 g)', 1, 6, 10000, 0, 'Kosong', '', 'Selada <NAME> Dapat ditanam di dataran rendah sampai tinggi. Merupakan jenis tanaman sayuran dengan bentuk daun bergelombang berwarna hijau kekuningan. Tekstur daun renyah dan tahan penyakit busuk lunak. Selada sering dikonsumsi mentah sebagai lalapan maupun sebagai bahan pelengkap masakan lain. Umur panen ± 45 hari setelah pindah tanam. Kebutuhan benih 160 – 200 g/Ha.', 'seladakeriting.jpg', '', '', 99, 1, 11, 255, 1, 0), (2004280007, 'Admin', '', 'Labu Siam Besar (1 kg)', 1, 6, 6000, 0, '', '', 'Labu siam atau jipang (Sechium edule, bahasa Inggris: chayote) adalah tumbuhan suku labu-labuan (Cucurbitaceae) yang dapat dimakan buah dan pucuk mudanya. Tumbuhan ini merambat di tanah atau agak memanjat dan biasa dibudidayakan di pekarangan, biasanya di dekat kolam. Buah menggantung dari tangkai. Daunnya berbentuk mirip segitiga dan permukaannya berbulu.', 'labusiam.jpg', '', '', 100, 0, 11, 255, 1, 0), (2004280008, 'Admin', '', 'Tomat (500 g)', 1, 6, 7500, 0, 'Kosong', '', 'Tomat (Solanum lycopersicum syn. Lycopersicum esculentum) adalah tumbuhan dari keluarga Solanaceae, tumbuhan asli Amerika Tengah dan Selatan, dari Meksiko sampai Peru. Tomat merupakan tumbuhan siklus hidup singkat, dapat tumbuh setinggi 1 sampai 3 meter. Tumbuhan ini memiliki buah berawarna hijau, kuning, dan merah yang biasa dipakai sebagai sayur dalam masakan atau dimakan secara langsung tanpa diproses. Tomat memiliki batang dan daun yang tidak dapat dikonsumsi karena masih sekeluarga dengan kentang dan Terung yang mengadung Alkaloid.', 'tomat.jpg', '', '', 100, 0, 11, 255, 1, 0), (2004280009, 'Admin', '', 'Bumbu Racik Nasi Goreng [20 g]', 1, 7, 2125, 0, '', '', 'Sekarang ini urusan dapur pun jadi serba mudah dan praktis karena tidak sedikit ibu memilih masak dengan menggunakan bumbu instan. Terlepas dari aman atau tidaknya cara ini yang jelas proses memasak jelas akan lebih cepat dan ekonomis. Adapun soal rasa juga tidak jauh beda dengan bumbu racikan sendiri, bahkan ada yang menyebutkan jika memasak dengan bumbu instan itu jauh lebih gurih dan berasa.\r\n', 'bumburacik.jpg', '', '', 0, 100, 11, 255, 1, 0), (2004280010, 'Admin', '', 'Lengkuas Bubuk Bumbu Masak [22 g]\r\n', 1, 7, 3000, 0, '', '', 'Koepoe-koepoe Lengkuas Bubuk Bumbu Masak Instan [22 g], bumbu masak instan yang diproses dan dikemas secara higienis serta tidak mengandung pengawet sehingga dapat bertahan lama. Ideal untuk melengkapi bumbu dapur Anda.\r\n', 'lengkuasbubuk.jpg', '', '', 100, 0, 11, 255, 1, 0), (2004280011, 'Admin', '', 'Lada Putih Bubuk Bumbu Masak [38 g]\r\n', 1, 7, 10000, 0, '', '', 'Selain dikenal karena kearifan lokalnya ternyata Indonesia juga diperkaya dengan rempah-rempah, serta bumbu-bumbu khas nusantara yang disiap membuat olahan masakan menjadi semakin lezat dan sedap. Karena hal itu, banyak orang berbondong-bondong datang ke tanah air agar bisa mendapatkan rempah-rempah asli Indonesia. Ada banyak macam bumbu yang tentu sering dijadikan resep andalan untuk memasak, seperti halnya Bawang Merah, Bawang Putih, Jahe, Pala, Merica, Kencur, Kunyit, Cengkeh, Lada, Lengkuas, Cabai, Asam Jawa, Kemiri, Kayu Manis, Santan Kelapa, dll. Yang semua jenis bumbu dapur itu belum tentu ditemukan di luar Indonesia.\r\n', 'ladaputihbubuk.jpg', '', '', 100, 0, 11, 255, 1, 0), (2004280012, 'Admin', '', 'Kencur Super Bumbu Dapur [1 kg]\r\n', 1, 7, 90000, 0, 'Kosong', '', 'Kencur Super Bumbu Dapur [1 kg] adalah salah satu jenis bumbu dapur yang memiliki aroma khas yang segar dan menyeruak. Selain digunakan sebagai penambah cita rasa dalam masakan, manfaat kencur juga sudah lama dikenal sebagai obat alami. Netto 1 kg.\r\n', 'kencursuperbumbudapur.jpg', '', '', 100, 0, 11, 255, 1, 0), (2004280013, 'Admin', '', 'Italian Grill Bumbu Peredam Daging Khas Italia\r\n', 1, 7, 12500, 0, 'Kosong', '', 'Jay\'s Kitchen Grillmaster Italian Grill Bumbu Peredam Daging Khas Italia merupakan bumbu perendam barbeque dengan paduan bahan bawang putih, bawang bombay, dan paprika dengan sentuhan rempah-rempah. Cocok untuk semua jenis daging sapi, ayam, dan seafood. Dikemas dalam kemasan yang praktis, Anda kini dapat menyajikan masakan favorit Anda hanya dalam waktu 10 menit. Jay\'s Grill Master dibuat dari bahan-bahan pilihan tanpa MSG, yang tentunya membuat hidangan barbeque Anda lezat.\r\n', 'italiangrillbumbuperedamdagingkhasitalia.jpg', '', '', 100, 0, 11, 255, 1, 0), (2004280014, 'Admin', '', 'Bagelen Sisir Kue Kering [125 g]\r\n', 1, 8, 15500, 0, '', '', 'Moessy Snack Bagelen Sisir Kue Kering [125 g], kue kering yang terbuat dari bahan pilihan dan berkualitas. Bentuknya lucu, seperti roti tawar dalam bentuk mini. Rasa manis harum enak, gurih, renyah dan nikmat. Sangat cocok untuk acara santai bersama teman dan keluarga. Sudah terdapat ijin PIRT, merk terdaftar.\r\n', 'BagelenSisirKueKering.jpg', '', '', 99, 1, 11, 255, 1, 0), (2004280015, 'Admin', '', 'Pang Pang Makanan Ringan [500 g]\r\n', 1, 8, 25000, 0, '', '', 'Juara Snack Pang Pang Makanan Ringan [500 g] merupakan pang-pang atau disebut sebagai kue bantal, memiliki ukuran yang kecil dengan rasa yang enak, gurih dan renyah. Pang Pang dibuat dengan cara digoreng. Snack ini sangat disukai oleh masyarakat di Indonesia. Dikemas dengan plastik zipper sehingga mutunya tetap terjaga dengan baik.\r\n', 'PangPangMakananRingan.jpg', '', '', 100, 0, 11, 255, 1, 0), (2004280016, 'Admin', '', 'Rasa Vanilla Cemilan Kuping Gajah Kue Kering [75 g/ Mini]\r\n', 1, 8, 16000, 0, '', '', 'Josh Food Rasa Vanilla Cemilan Kuping Gajah Kue Kering [75 g/ Mini] merupakan salah satu makanan kering khas Indonesia yang banyak digemari oleh berbagai kalangan. Cemilan dengan nama yang unik ini memiliki rasa yang khas dan begitu nikmat ketika disantap. Kue kuping gajah bisa dinikmati sewaktu santai bersama dengan keluarga atau menjadi cemilan sewaktu menonton televisi. Cemilan yang telah ada sejak dahulu ini telah dihadirkan dengan inovasi baru yang tidak membosankan, yaitu Josh Food Cemilan Kuping Gajah Mini. Varian Rasa yang Menggugah Selera Cemilan tradisional khas Indonesia ini hadir dengan berbagai varian rasa yang menggugah selera, yakni pandan, strawberry, durian, blueberry, cokelat, vanilla, moka dan teh hijau. Memiliki bentuk mini atau bite size menjadikannya semakin terlihat unik. Sementara pembuatannya diproses secara higienis dengan standard mutu dan kualitas terbaik. Kini saatnya sebarkan cinta akan cemilan tradisional dengan sentuhan modern serta rasakan ke ajaiban di setiap gigitan kuping gajah mini josh.\r\n', 'RasaVanillaKupingGajahKueKering.jpg', '', '', 96, 4, 11, 255, 1, 0), (2004280017, 'Admin', '', 'Gatito Kue Lidah Kucing Sandwich Cokelat [10 Sachet/ Kotak]\r\n', 1, 8, 19000, 0, '', '', 'Gatito merupkan brand makanan ringan berupa kue lidah kucing sandwich pasta cokelat. Dikemas 1 kotak berisi 10 sachet dgn netto 32gr/sachet. Produksi PT. Kaldu Nabati Sari - Bandung, perusahaan multi konsumen produk yang merajai pasar lokal khususnya jawa barat hingga terkenal se nusantara. Nabati sebenarnya sudah sangat merambah lini jualan yang beragam. Mulai dari snack yang utama hingga konsorsium pemilik brand snack sarat penghargaan bergensi nasional hingga jaringan resto. Dan salah satu produk yang mereka punya adalah Gatito.\r\n', 'GatitoKueLidahKucingSandwichCoklat.jpg', '', '', 100, 0, 11, 255, 1, 0), (2004280018, 'Admin', '', 'Blackmond Camilan Sehat\r\n', 1, 8, 37500, 0, '', '', 'Ladang Lima Blackmond Camilan Sehat, Cemilan sehat tanpa rasa bersalah. Kue kering bebas gluten, perpaduan dark coklat dan kacang almond, buat kamu yang pengen cemilan sehat. \r\n', 'BlackmondCamilanSehat.jpg', '', '', 98, 3, 11, 255, 0, 0), (2004280019, 'Admin', '', 'Boss Topi Wanita\r\n', 1, 9, 650000, 0, '', '', 'Import Fashion Boss Topi Wanita merupakan topi yang terbuat dari bahan berkualitas yang didesain trendy dengan embroidery pada bagian depan dan adjustrable strap pada bagian belakang sehingga dapat disesuaikan dengan ukuran kepala Anda. Diameter 19cm. Dimensi : 28 x 14 x 15 cm\r\n', 'BossTopiWanita.jpg', '', '', 100, 0, 11, 255, 0, 0), (2004280020, 'Admin', '', '<NAME>\r\n', 1, 9, 55000, 0, '', '', '<NAME>anita merupakan backpack berbahan kulit sintetis yang didesain trendy. Kompartemen utama berdetail resleting, inner zipper pockets, front pocket, side pockets, handle strap, dan adjustable shoulder strap. Tas bisa digunakan sebagai backpack ataupun shoulder bag. Dimensi : 26 x 14 x 34 cm.\r\n', 'TasRanselWanita.jpg', '', '', 100, 0, 11, 255, 0, 0), (2004280021, 'Admin', '', 'Casual Sepatu Slip On Pria\r\n', 1, 9, 185000, 0, 'Kosong', '', 'Fashion Casual Sepatu Slip On Pria merupakan slip on shoes berbahan kanvas yang didesain trendy dengan detail neat stitching dan TPR outsole sehingga nyaman ketika digunakan.\r\n', 'CasualSepatuSlipOnPria.jpg', '', '', 100, 0, 11, 255, 0, 0), (2004280022, 'Admin', '', 'Tas Selempang Pria + Free Kabel USB\r\n', 1, 9, 67500, 0, '', '', 'Fashion Tas Selempang Pria + Free Kabel USB, sling bag berbahan kulit sintetis (water resistant) yang didesain trendy dengan kompartemen utama berdetail zipper opening, front zipper pocket dan adjustable strap. Ukuran : 18 x 9 x 34 cm. Terdapat 2 port USB dan earphone. Free kabel port USB\r\n', 'TasSelempangPria+FreeKabelUSB.jpg', '', '', 100, 0, 11, 255, 0, 0), (2004280023, 'Admin', '', 'Polos Kaos Polo Pria\r\n', 1, 9, 56000, 0, 'Kosong', '', 'Polos Kaos Polo Pria merupakan short sleeves polo shirt berbahan lacost PE yang didesain trendy dengan pointed collar dan front half button opening, sehingga sangat nyaman pada saat digunakan.\r\n', 'PolosKaosPoloPria.jpg', '', '', 100, 0, 11, 255, 0, 0), (2004280024, 'Admin', '', 'Care Health Hand Sanitizer\r\n', 1, 10, 45000, 0, 'Kosong', '', 'Care Health Hand Sanitizer, hand sanitizer dengan kadar alkohol 70% jadi sangat efektif membunuh kuman, bakteri dan virus dibanding yg 65%. Walau kadar alkohol tinggi tidak membuat tangan kering, gatal-gatal karena mengandung pelembab. Lebih irit dibandingkan model spray, karna hanya butuh 5 tetes bisa untuk bilas tangan keseluruhan. Bentuknya gel yang mengandung pelembab, sehingga tidak membuat tangan Kering.\r\n', 'CareHealthHandSanitizer.jpg', '', '', 100, 0, 11, 255, 0, 0), (2004280025, 'Admin', '', 'Hazmat / APD / Alat Pelindung Diri / Coverall - Putih\r\n', 1, 10, 300000, 0, 'Kosong', '', 'ENVIDE Suit Protector yang merupakan produk solusi kesehatan. Bahan yang kami gunakan untuk memproduksi ENVIDE Suit Protector adalah 100% POLYESTER non WOVEN, penggunaan dan klasifikasi bahan tersebut diantaranya digunakan untuk perlengkapan medis dan kesehatan, pakaian bedah, pakaian pelindung dan kain disinfektan\r\n', 'AlatPelindungDiri.jpg', '', '', 100, 0, 11, 255, 0, 0), (2004280026, 'Admin', '', 'Face shield / APD covid-19\r\n', 1, 10, 10000, 0, 'Kosong', '', 'Dengan memegang masker tersebut khususnya melalui tangan yang kotor, maka risiko terjangkit penyakit pun semakin besar. “Berbeda dengan face shield yang terpasang seperti topi di kepala kita, saat bergerak tidak akan menjadi masalah dan tetap nyaman. Kebiasaan menyentuh wajah pasti jadi terhalang juga lantaran bentuknya yang tidak memungkinkan untuk kita sentuh,” katanya. Meski begitu, face shield lebih baik jika dipakai oleh tenaga medis dan mereka yang intensitas bertemu dengan banyak orangnya tinggi. Misalnya super bus atau kasir di pasar swalayan. “Karena mereka yang paling berisiko untuk berbicara dengan orang sehingga lebih penting untuk memblokir penyebaran tetesan yang dapat mengenai wajah,” katanya.\r\n', 'Faceshield.jpg', '', '', 100, 0, 11, 255, 0, 0), (2004280027, 'Admin', '', 'Health Care Car Air Ion Counter Tester\r\n', 1, 10, 562000, 0, 'Kosong', '', 'Health Care Car Air Ion Tester adalah alat untuk menguji ion negatif dan positif di suatu ruangan atau di mobil Anda. Memiliki bentuk yang kecil dan ringan.\r\n', 'HealthCareCarAirIonCounterTester.jpg', '', '', 100, 0, 11, 255, 0, 0), (2005080001, 'Admin', '1', 'AGEO-1134000159', 1, 9, 1, 1, 'Ada', '0', ' -', 'foto_2005080001_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080002, 'Admin', '2', 'ANNABETH MPD-1314090190', 1, 9, 1, 1, 'Ada', '0', ' -', 'foto_2005080002_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080003, 'Admin', '3', 'B508.1-6182020288', 1, 9, 1, 1, 'Ada', '0', ' -', 'foto_2005080003_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080004, 'Admin', '4', 'BEATRICA-1313840170', 1, 9, 1, 1, 'Ada', '0', ' -', 'foto_2005080004_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080005, 'Admin', '5', 'BO 1177 C JEANS HS STRIPES-2220350193', 1, 9, 1, 1, 'Ada', '0', ' -', 'foto_2005080005_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080006, 'Admin', '6', 'CL 3660 JOGGER PWM-2520030963', 1, 9, 1, 1, 'Ada', '0', ' -', 'foto_2005080006_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080007, 'Admin', '7', 'CL 3671 JOGGER HSHL-2520031132', 1, 9, 1, 1, 'Ada', '0', ' -', 'foto_2005080007_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080008, 'Admin', '8', 'CLARINTA DRESS-6024510121', 1, 9, 1, 1, 'Ada', '0', ' -', 'foto_2005080008_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080009, 'Admin', '9', 'CLARINTA DRESS-6024510143', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080009_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080010, 'Admin', '10', 'CODE MALE-4091040620', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080010_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080011, 'Admin', '11', 'CODE MALE-4091050158', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080011_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080012, 'Admin', '12', 'CROSSBROW-4092540106', 1, 9, 1, 1, 'Ada', '0', '-', 'foto_2005080012_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080013, 'Admin', '13', 'DISA-6034060190', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080013_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080014, 'Admin', '14', 'FATHY-8704030101', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080014_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080015, 'Admin', '15', 'HAYDEN-4111610701', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080015_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080016, 'Admin', '16', 'INDITRO ONE-1132980151', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080016_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080017, 'Admin', '17', 'INDRITO TWO-1122970251', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080017_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080018, 'Admin', '18', 'JACEY-5031522970', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080018_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080019, 'Admin', '19', 'JKN 276-4091040572', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080019_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080020, 'Admin', '20', 'LOI-8600050212', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080020_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080021, 'Admin', '21', 'MILENA-1314310129', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080021_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080022, 'Admin', '22', 'NUVARE TWO-1127780339', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080022_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080023, 'Admin', '23', 'PALETTO TWO-6331051872', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080023_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080024, 'Admin', '24', 'PRENOWAR-6172050197', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080024_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080025, 'Admin', '25', 'REZIM-6330520561', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080025_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080026, 'Admin', '26', 'THEODORE-8702220252', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080026_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080027, 'Admin', '27', 'TROSIC-6202230211', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080027_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080028, 'Admin', '28', 'TROSIC-6202230311', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080028_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080029, 'Admin', '29', 'TS 1216 POLO PMW-3620020611', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080029_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080030, 'Admin', '30', 'TS 1221 C OBL HSHL-3721024011', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080030_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080031, 'Admin', '31', 'ZHAFAAR TWO-1024610139', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080031_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080032, 'Admin', '32', 'ZHAFAR TWO-1024630101', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080032_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080033, 'Admin', '33', 'ZHEVOY TWO-1129350195', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080033_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080034, 'Admin', '34', 'AGEO-1134000159', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080034_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080035, 'Admin', '35', 'B507.1-61711120820', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080035_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080036, 'Admin', '36', 'B507.4-6172750135', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080036_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080037, 'Admin', '37', 'B507.4-6172750139', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080037_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080038, 'Admin', '38', 'B508.1-6182020288', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080038_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080039, 'Admin', '39', 'B508B.2-6180520120', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080039_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080040, 'Admin', '40', 'BD 1174 C COTT HSHL-2220830221', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080040_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080041, 'Admin', '41', 'CL 3671 JOGGER HSHL-2520031132', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080041_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080042, 'Admin', '42', 'CONY-4022100157', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080042_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080043, 'Admin', '43', 'FATHY-8704020122', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080043_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080044, 'Admin', '44', 'FATHY-8704030101', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080044_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080045, 'Admin', '45', 'FATHY-8704040143', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080045_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080046, 'Admin', '46', 'FATHY-8704050122', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080046_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080047, 'Admin', '47', 'HARITH-6172260120', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080047_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080048, 'Admin', '48', 'HAYDEN-4111610701', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080048_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080049, 'Admin', '49', 'IDINTRO TWO-1122970251', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080049_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005080050, 'Admin', '50', 'JK 191 C SWEATER PWM-4420030911', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005080050_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090001, 'Admin', '51', 'JK 192 C SWEATER PWM-4420031031', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090001_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090002, 'Admin', '52', 'JKN 276-4091040572', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090002_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090003, 'Admin', '53', 'JONAS GOLD TWO-1121910101', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090003_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090004, 'Admin', '54', 'JOVINO-4021840259', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090004_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090005, 'Admin', '55', 'PHILOES-1133990194', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090005_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090006, 'Admin', '56', 'PJ 2678 DENIM DREAMBIG-1110080592', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090006_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090007, 'Admin', '57', 'PJ 2711 C POLOS HSHL-1121616121', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090007_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090008, 'Admin', '58', 'PRENOWAR-6172050197', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090008_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090009, 'Admin', '59', 'THEODORE-8702220252', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090009_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090010, 'Admin', '60', 'THEODORE-8702260228', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090010_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090011, 'Admin', '61', 'TROSIC-6172130171', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090011_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090012, 'Admin', '62', 'TROSIC-6202230271', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090012_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090013, 'Admin', '63', 'TROSIC-6202230336', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090013_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090014, 'Admin', '64', 'TS 1216 POLO PWM-3620020611', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090014_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090015, 'Admin', '65', 'TS 1218 C OBL PJG HSHL-3720024663', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090015_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090016, 'Admin', '66', 'TS 1230 OBL PJ HSSTRIPES-3720025301', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090016_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090017, 'Admin', '67', 'ZHAFAR TWO-1024630101', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090017_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090018, 'Admin', '68', 'ADISTY-2202270101', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090018_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090019, 'Admin', '69', 'ALBANI-1642100129', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090019_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090020, 'Admin', '70', 'ANINDITA-1314480118', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090020_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090021, 'Admin', '71', 'ANNABETH MPD-1314090190', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090021_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090022, 'Admin', '72', 'B508.2-6180460438', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090022_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090023, 'Admin', '73', 'BEATRICA-1313840118', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090023_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090024, 'Admin', '74', 'BREACHER-1139500150', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090024_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090025, 'Admin', '75', 'CARLEN-1130620401', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090025_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090026, 'Admin', '76', 'CEISYA GAMIS-6020110156', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090026_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090027, 'Admin', '77', 'CHER-1313820116', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090027_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090028, 'Admin', '78', 'CODE MALE-4091050158', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090028_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090029, 'Admin', '79', 'DISSA-6034060190', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090029_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090030, 'Admin', '80', 'ENEAS ONE-1080030131', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090030_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090031, 'Admin', '81', 'ERDO-2070061939', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090031_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090032, 'Admin', '82', 'ESHAL-1314420170', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090032_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090033, 'Admin', '83', 'JACEY-5031522918', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090033_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090034, 'Admin', '84', 'JACEY-5031522970', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090034_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090035, 'Admin', '85', 'JANE-5010110427', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090035_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090036, 'Admin', '86', 'MILENA-1314310129', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090036_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090037, 'Admin', '87', 'NUVARE TWO-1127780339', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090037_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090038, 'Admin', '88', 'PALETTO TWO-6331051872', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090038_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090039, 'Admin', '89', 'PIERO-1640760144', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090039_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090040, 'Admin', '90', 'REBEL-6172060189', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090040_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090041, 'Admin', '91', 'REZIM-6330520561', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090041_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090042, 'Admin', '92', 'SARITA-5033300118', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090042_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090043, 'Admin', '93', 'TROSIC-6202230227', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090043_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090044, 'Admin', '94', 'TROYES-6202100111', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090044_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090045, 'Admin', '95', 'TROYES-6202100130', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090045_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090046, 'Admin', '96', 'ZHEVOY TWO-1129350195', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090046_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090047, 'Admin', '97', 'ZIKON-3010016906', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090047_1.jpg', '', '', 4, NULL, 11, 255, 0, 0), (2005090048, 'Admin', '98', 'ZION-1640820127', 1, 9, 1, 1, 'Ada', '0', ' ', 'foto_2005090048_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090049, 'Admin', '001', '<NAME>', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090049_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090050, 'Admin', '002', '<NAME>', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090050_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090051, 'Admin', '003', 'B<NAME> Kobe', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090051_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090052, 'Admin', '004', 'Kentang Goreng', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090052_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090053, 'Admin', '005', 'merk bamboo', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090053_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090054, 'Admin', '006', 'sasa crispy', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090054_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090055, 'Admin', '007', 'sasa pisang goreng', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090055_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090056, 'Admin', '008', 'sasa serbaguna', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090056_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090057, 'Admin', '009', 'tempe sambal goreng', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090057_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090058, 'Admin', '010', 'kecap bango refill', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090058_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090059, 'Admin', '011', 'kecap cap sate', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090059_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090060, 'Admin', '012', 'kecap sedap refill', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090060_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090061, 'Admin', '013', 'mayonese dan tomat refill', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090061_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090062, 'Admin', '014', 'tomat abc,kechup,sambal botol', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090062_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090063, 'Admin', '015', 'beras 5 kg lahap', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090063_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090064, 'Admin', '016', 'beras bintang 5 kg', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090064_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090065, 'Admin', 'E001', 'bodi lotion', 1, 10, 1, 1, 'Ada', '0', ' ', 'foto_2005090065_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090066, 'Admin', 'E002', 'Hanasui-Animal-Mask', 1, 10, 1, 1, 'Ada', '0', ' ', 'foto_2005090066_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090067, 'Admin', 'E003', 'Hanasui-Anti-Acne', 1, 10, 1, 1, 'Ada', '0', ' ', 'foto_2005090067_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090068, 'Admin', 'E004', 'Hanasui-Bar-Soap', 1, 10, 1, 1, 'Ada', '0', ' ', 'foto_2005090068_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090069, 'Admin', 'E005', 'Hanasui-Body-Series', 1, 10, 1, 1, 'Ada', '0', ' ', 'foto_2005090069_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090070, 'Admin', 'E006', 'Hanasui-Body-Spa', 1, 10, 1, 1, 'Ada', '0', ' ', 'foto_2005090070_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090071, 'Admin', 'E007', 'Hanasui-Egg-White', 1, 10, 1, 1, 'Ada', '0', ' ', 'foto_2005090071_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090072, 'Admin', 'E008', 'Hanasui-Gold', 1, 10, 1, 1, 'Ada', '0', ' ', 'foto_2005090072_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090073, 'Admin', 'E009', 'Hanasui-Gold-Mask', 1, 10, 1, 1, 'Ada', '0', ' ', 'foto_2005090073_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090074, 'Admin', 'E010', 'Hanasui-Naturgo', 1, 10, 1, 1, 'Ada', '0', ' ', 'foto_2005090074_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090075, 'Admin', 'E011', 'Hanasui-Vitamin-C- gold', 1, 10, 1, 1, 'Ada', '0', ' ', 'foto_2005090075_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090076, 'Admin', 'E012', 'Hanasui-Vitamin-CCollagen', 1, 10, 1, 1, 'Ada', '0', ' ', 'foto_2005090076_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090077, 'Admin', 'E013', 'Hanasui-Xbeinoi', 1, 10, 1, 1, 'Ada', '0', ' ', 'foto_2005090077_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090078, 'Admin', 'E014', 'lightening', 1, 10, 1, 1, 'Ada', '0', ' ', 'foto_2005090078_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090079, 'Admin', 'E015', 'masker', 1, 10, 1, 1, 'Ada', '0', ' ', 'foto_2005090079_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090080, 'Admin', 'C001', 'kue lumpur', 1, 8, 1, 1, 'Ada', '0', ' ', 'foto_2005090080_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090081, 'Admin', 'C002', 'kue tok', 1, 8, 1, 1, 'Kosong', '0', ' ', 'foto_2005090081_1.jpg', '', '', 0, NULL, 11, 255, 0, 0), (2005090082, 'Admin', 'C003', 'onde onde', 1, 8, 1, 1, 'Ada', '0', ' ', 'foto_2005090082_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090083, 'Admin', '001', 'asparagus kaleng', 1, 11, 1, 1, 'Kosong', '0', ' ', 'foto_2005090083_1.jpg', '', '', 0, NULL, 11, 255, 0, 0), (2005090084, 'Admin', '002', 'bear nestle', 1, 11, 1, 1, 'Kosong', '0', ' ', 'foto_2005090084_1.jpg', '', '', -2, NULL, 11, 255, 0, 0), (2005090085, 'Admin', '003', 'carnation kaleng', 1, 11, 1, 1, 'Ada', '0', ' ', 'foto_2005090085_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090086, 'Admin', '004', 'enak susu coklat', 1, 11, 1, 1, 'Ada', '0', ' ', 'foto_2005090086_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090087, 'Admin', '005', 'green feas Ma Ling', 1, 11, 1, 1, 'Ada', '0', ' ', 'foto_2005090087_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090088, 'Admin', '006', 'indomilk coklat kaleng', 1, 11, 1, 1, 'Ada', '0', ' ', 'foto_2005090088_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090089, 'Admin', '007', 'jagung manis kaleng', 1, 11, 1, 1, 'Ada', '0', ' ', 'foto_2005090089_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090090, 'Admin', '008', '<NAME>', 1, 11, 1, 1, 'Ada', '0', ' ', 'foto_2005090090_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090091, 'Admin', '009', 'kara', 1, 11, 1, 1, 'Ada', '0', ' ', 'foto_2005090091_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090092, 'Admin', '010', 'kornet pronas', 1, 11, 1, 1, 'Ada', '0', ' ', 'foto_2005090092_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090093, 'Admin', '011', 'kornet sopini', 1, 11, 1, 1, 'Ada', '0', ' ', 'foto_2005090093_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090094, 'Admin', '012', 'leci kaleng', 1, 11, 1, 1, 'Ada', '0', ' ', 'foto_2005090094_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090095, 'Admin', '013', '<NAME>', 1, 11, 1, 1, 'Ada', '0', ' ', 'foto_2005090095_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090096, 'Admin', '014', 'nata decoco kara', 1, 11, 1, 1, 'Ada', '0', ' ', 'foto_2005090096_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090097, 'Admin', '015', 'sarden botan', 1, 11, 1, 1, 'Ada', '0', ' ', 'foto_2005090097_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090098, 'Admin', '016', 'sosis kimbo', 1, 11, 1, 1, 'Ada', '0', ' ', 'foto_2005090098_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090099, 'Admin', '017', 'mi sua', 1, 11, 1, 1, 'Ada', '0', ' ', 'foto_2005090099_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090100, 'Admin', '017', 'minyak gor bimoli reguler dan special', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090100_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090101, 'Admin', '018', 'minyak goreng filma', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090101_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090102, 'Admin', '019', 'minyak goreng tropical botol', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090102_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090103, 'Admin', '020', 'beras bintang 5 kg', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090103_1.jpg', '', '', 3, NULL, 11, 255, 0, 0), (2005090104, 'Admin', '021', 'beras hitam', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090104_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090105, 'Admin', '022', 'beras jagung', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090105_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090106, 'Admin', '023', 'beras ketan', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090106_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090107, 'Admin', '024', 'beras lahap 5 kg', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090107_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090108, 'Admin', '025', 'beras merah', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090108_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090109, 'Admin', '026', 'energen saset per renteng isi 10', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090109_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090110, 'Admin', '027', 'kacang hijau', 1, 6, 1, 1, 'Ada', '0', ' ', 'foto_2005090110_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090111, 'Admin', '252', 'kacang tanah', 1, 6, 29200, 1000, 'Ada', '0', ' harga per kg', 'foto_2005090111_1.jpg', '', '', 10000, NULL, 11, 255, 0, 0), (2005090112, 'Admin', '418', '<NAME>', 1, 12, 1, 1, 'Ada', '0', ' kosong', 'foto_2005090112_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090113, 'Admin', '417', 'by<NAME>(botol)', 1, 12, 16000, 1000, 'Ada', '0', ' perbotol plastik', 'foto_2005090113_1.jpg', '', '', 9999, NULL, 11, 255, 0, 0), (2005090114, 'Admin', '416', 'detergen ekonomi 5. kg', 1, 12, 56300, 5000, 'Ada', '0', ' per kaleng 5 kg', 'foto_2005090114_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090115, 'Admin', '415', 'softener molto', 1, 6, 14200, 1000, 'Ada', '0', ' per sachet isi ulanh', 'foto_2005090115_1.jpg', '', '', 10000, NULL, 11, 255, 0, 0), (2005090116, 'Admin', '414', 'molto pewangi', 1, 12, 12200, 1000, 'Ada', '0', ' per sachet isi ulang', 'foto_2005090116_1.jpg', '', '', 10000, NULL, 11, 255, 0, 0), (2005090117, 'Admin', '413', 'pemutih porselen Vixal', 1, 12, 15200, 1000, 'Ada', '0', ' botol plastik', 'foto_2005090117_1.jpg', '', '', 9999, NULL, 11, 255, 0, 0), (2005090118, 'Admin', '412', 'pemutih porselen Wpo', 1, 6, 1, 1, 'Ada', '0', ' kosong', 'foto_2005090118_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090119, 'Admin', '411', 'pemutih vanish', 1, 12, 20000, 1000, 'Ada', '0', ' harga per sachet', 'foto_2005090119_1.jpg', '', '', 10000, NULL, 11, 255, 0, 0), (2005090120, 'Admin', '410', 'porsteg', 1, 12, 18700, 1000, 'Ada', '0', 'harga per sachet isi ulang ', 'foto_2005090120_1.jpg', '', '', 10000, NULL, 11, 255, 0, 0), (2005090121, 'Admin', '409', 'sabun cair lifeboy refill', 1, 12, 24500, 1000, 'Ada', '0', ' per sachet isi ulang', 'foto_2005090121_1.jpg', '', '', 9999, NULL, 11, 255, 0, 0), (2005090122, 'Admin', '408', 'sabun cair refill lux', 1, 12, 24500, 1000, 'Ada', '0', ' harga per sachet isi ulang', 'foto_2005090122_1.jpg', '', '', 10000, NULL, 11, 255, 0, 0), (2005090123, 'Admin', '407', 'sabun cuci piring sunlight ', 1, 12, 15700, 1000, 'Ada', '0', ' per sachet isi ulang', 'foto_2005090123_1.jpg', '', '', 10000, NULL, 11, 255, 0, 0), (2005090124, 'Admin', '406', 'sabun mesin cuci soklin', 1, 12, 14700, 1000, 'Ada', '0', ' persachet isi ulang', 'foto_2005090124_1.jpg', '', '', 10000, NULL, 11, 255, 0, 0), (2005090125, 'Admin', '405', 'sabun pembersih Mr Muscle', 1, 12, 1, 1, 'Ada', '0', 'barang kosong ', 'foto_2005090125_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090126, 'Admin', '404', 'so klin biomatik serbuk', 1, 12, 1, 1, 'Ada', '0', 'kosong ', 'foto_2005090126_1.jpg', '', '', 1, NULL, 11, 255, 0, 0), (2005090127, 'Admin', '402', 'softener so klin dan pewangi', 1, 12, 11700, 1000, 'Ada', '0', ' per sachet', 'foto_2005090127_1.jpg', '', '', 10000, NULL, 11, 255, 0, 0), (2005090128, 'Admin', '401', 'super pell dan wipoll', 1, 12, 16300, 1000, 'Ada', '0', ' per sachet isi ulang', 'foto_2005090128_1.jpg', '', '', 10000, NULL, 11, 255, 0, 0), (2005090129, 'Admin', '251', 'baby corn', 1, 6, 12200, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090129_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090130, 'Admin', '250', 'bawang bombay', 1, 6, 17000, 500, 'Ada', '0', ' harga persetengah kg', 'foto_2005090130_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090131, 'Admin', '249', 'bawang putih biasa', 1, 6, 15000, 500, 'Ada', '0', ' harga persetengah kg', 'foto_2005090131_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090132, 'Admin', '249', 'bawang putih kating', 1, 6, 17000, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090132_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090133, 'Admin', '248', 'brokoli', 1, 6, 8700, 500, 'Ada', '0', ' harga persetngah kg', 'foto_2005090133_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090134, 'Admin', '247', 'daun bawang', 1, 6, 2500, 100, 'Ada', '0', ' Harga per ons', 'foto_2005090134_1.jpg', '', '', 10000, NULL, 11, 255, 0, 0), (2005090135, 'Admin', '246', 'daun prey', 1, 6, 1800, 100, 'Ada', '0', ' harga per ons', 'foto_2005090135_1.jpg', '', '', 10000, NULL, 11, 255, 0, 0), (2005090136, 'Admin', '245', 'da<NAME>', 1, 6, 2500, 100, 'Ada', '0', ' harga per ONS', 'foto_2005090136_1.jpg', '', '', 10000, NULL, 11, 255, 0, 0), (2005090137, 'Admin', '244', 'ercis', 1, 6, 25000, 500, 'Ada', '0', ' harga persetengah kg', 'foto_2005090137_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090138, 'Admin', '243', 'gambas', 1, 6, 5200, 500, 'Ada', '0', ' harga persengah kg', 'foto_2005090138_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090139, 'Admin', '242', 'jahe besar', 1, 6, 17300, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090139_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090140, 'Admin', '241', 'jamur kancing fress', 1, 6, 18500, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090140_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090141, 'Admin', '240', '<NAME>', 1, 6, 10200, 500, 'Ada', '0', ' harga per etengah kg', 'foto_2005090141_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090142, 'Admin', '239', '<NAME>', 1, 6, 8700, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090142_1.jpg', '', '', 5000000, NULL, 11, 255, 0, 0), (2005090143, 'Admin', '238', '<NAME>', 1, 6, 9000, 500, 'Ada', '0', ' jeruk lemon lokal, harga per setengah kg', 'foto_2005090143_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090144, 'Admin', '0237', '<NAME>', 1, 6, 5200, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090144_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090145, 'Admin', '0237', 'kacang bernebun', 1, 6, 21500, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090145_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090146, 'Admin', '0236', 'kacang panjang', 1, 6, 5200, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090146_1.jpg', '', '', 49999, NULL, 11, 255, 0, 0), (2005090147, 'Admin', '0235', 'kacang polong', 1, 6, 10000, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090147_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090148, 'Admin', '0234', 'kangkung', 1, 6, 1500, 250, 'Ada', '0', ' harga perikat', 'foto_2005090148_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090149, 'Admin', '0233', 'kecambah besar', 1, 6, 4200, 500, 'Ada', '0', ' harga persetengah kg', 'foto_2005090149_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090150, 'Admin', '0232', 'kencur', 1, 6, 37500, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090150_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090151, 'Admin', '0231', 'kentang biasa kecil', 1, 6, 6200, 500, 'Ada', '0', 'harga per setengah kg ', 'foto_2005090151_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090152, 'Admin', '0231', 'kentang merah', 1, 6, 9200, 500, 'Ada', '0', ' harga persetengah kg', 'foto_2005090152_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090153, 'Admin', '0230', 'kentang', 1, 6, 6200, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090153_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090154, 'Admin', '0229', 'kluwek', 1, 6, 13800, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090154_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090155, 'Admin', '0228', 'kubis jepang atau kol ungu', 1, 6, 11300, 500, 'Ada', '0', ' harga persetengah kg', 'foto_2005090155_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090156, 'Admin', '0227', 'kubis', 1, 6, 4700, 500, 'Ada', '0', ' harga persetengah kg', 'foto_2005090156_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090157, 'Admin', '0226', 'kunir', 1, 6, 6200, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090157_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090158, 'Admin', '0225', 'labu atau manisa', 1, 6, 4200, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090158_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090159, 'Admin', '0225', 'labu manis', 1, 6, 7200, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090159_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090160, 'Admin', '0224', 'laos', 1, 6, 8700, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090160_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090161, 'Admin', '0223', 'lobak', 1, 6, 12300, 500, 'Ada', '0', ' harga persetengah kg an', 'foto_2005090161_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090162, 'Admin', '0222', 'lombok hijau besar', 1, 6, 9700, 500, 'Ada', '0', 'harga per setengah kg', 'foto_2005090162_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090163, 'Admin', '0221', 'lombok hijau kecil', 1, 6, 2100, 100, 'Ada', '0', ' harga per ons', 'foto_2005090163_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090164, 'Admin', '0220', 'lombok merah besar', 1, 6, 9700, 500, 'Ada', '0', ' harga persetengah kg', 'foto_2005090164_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090165, 'Admin', '0219', 'lombok merah kerinting', 1, 6, 9700, 500, 'Ada', '0', ' Harga persetengah kg', 'foto_2005090165_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090166, 'Admin', '0219', 'mentimun acar atau salat ', 1, 6, 4200, 500, 'Ada', '0', ' Harga per setengah kg', 'foto_2005090166_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090167, 'Admin', '0219', 'mentimun besar', 1, 6, 2600, 500, 'Ada', '0', ' Harga persetengah kg', 'foto_2005090167_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090168, 'Admin', '0218', 'paprika 3 warna', 1, 6, 15200, 500, 'Ada', '0', ' harga persetengah kg', 'foto_2005090168_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090169, 'Admin', '0217', 'paprika hijau', 1, 6, 16700, 500, 'Ada', '0', ' harga persetengah kg', 'foto_2005090169_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090170, 'Admin', '0216', 'paprika kuning', 1, 6, 16700, 500, 'Ada', '0', ' harga persetangh kg', 'foto_2005090170_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090171, 'Admin', '0215', '<NAME>', 1, 6, 16700, 500, 'Ada', '0', ' harga persetegah kg', 'foto_2005090171_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090172, 'Admin', '0214', 'pare', 1, 6, 4700, 500, 'Ada', '0', ' harga persengah kg', 'foto_2005090172_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090173, 'Admin', '0213', '<NAME>', 1, 6, 2100, 100, 'Ada', '0', ' harga per ons', 'foto_2005090173_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090174, 'Admin', '0212', 'sawi daging', 1, 6, 4200, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090174_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090175, 'Admin', '0211', 'sawi', 1, 6, 4200, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090175_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090176, 'Admin', '0210', 'slada kriting', 1, 6, 170, 100, 'Ada', '0', ' harga per ons', 'foto_2005090176_1.jpg', '', '', 10000, NULL, 11, 255, 0, 0), (2005090177, 'Admin', '0209', 'terong hijau', 1, 6, 3200, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090177_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090178, 'Admin', '0208', 'terong ungu', 1, 6, 4700, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090178_1.jpg', '', '', 49999, NULL, 11, 255, 0, 0), (2005090179, 'Admin', '0207', 'tomat buah', 1, 6, 6700, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090179_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090180, 'Admin', '0206', 'tomat kecil hijau', 1, 6, 5200, 500, 'Ada', '0', ' harga per 500 gram', 'foto_2005090180_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090181, 'Admin', '0205', 'tomat sambel (kecil)', 1, 6, 5200, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090181_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090182, 'Admin', '0204', 'ucet', 1, 6, 5200, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090182_1.jpg', '', '', 50000, NULL, 11, 255, 0, 0), (2005090183, 'Admin', '0203', 'wortel manis', 1, 6, 10500, 500, 'Ada', '0', ' harga per setengah kg', 'foto_2005090183_1.jpg', '', '', 5000000, NULL, 11, 255, 0, 0), (2005090184, 'Admin', '0202', 'wortel lokal', 1, 6, 6600, 500, 'Ada', '0', ' satuan i/2 kg', 'foto_2005090184_1.jpg', '', '', 10, NULL, 11, 255, 0, 0), (2005090185, 'Admin', '0314', 'arlene', 1, 13, 1, 1, 'Ada', '0', ' pak', 'foto_2005090185_1.jpg', '', '', 9, NULL, 11, 255, 0, 0), (2005090186, 'Admin', '0313', 'danco 400 gram', 1, 13, 1, 1, 'Ada', '0', ' pak ', 'foto_2005090186_1.jpg', '', '', 10, NULL, 11, 255, 0, 0), (2005090187, 'Admin', '0312', 'danco', 1, 13, 1, 1, 'Ada', '0', ' pak', 'foto_2005090187_1.jpg', '', '', 10, NULL, 11, 255, 0, 0), (2005090189, 'Admin', '0311', 'kopimate', 1, 13, 1, 1, 'Ada', '0', ' pak', 'foto_2005090189_1.jpg', '', '', 10, NULL, 11, 255, 0, 0), (2005090190, 'Admin', '0310', 'max cream', 1, 13, 1, 1, 'Ada', '0', '1 pak ', 'foto_2005090190_1.jpg', '', '', 10, NULL, 11, 255, 0, 0), (2005090191, 'Admin', '0202', 'minyak gorang tropic', 1, 6, 1, 1000, 'Ada', '0', ' minyak goreng botol plastik', 'foto_2005090191_1.jpg', '', '', 10, NULL, 11, 255, 0, 0), (2005090192, 'Admin', '0309', 'pudding haan', 1, 13, 1, 1, 'Ada', '0', ' 1 pak pudding mix coklat/ manggo', 'foto_2005090192_1.jpg', '', '', 10, NULL, 11, 255, 0, 0), (2005090193, 'Admin', '0308', 'dancow coklat sachet kecil', 1, 13, 1, 1, 'Ada', '0', '1 renteng isi 10 sachet', 'foto_2005090193_1.jpg', '', '', 10, NULL, 11, 255, 0, 0), (2005090194, 'Admin', '0307', 'jahe keraton', 1, 13, 1, 1, 'Ada', '0', ' 1 pak isi 8 sachet', 'foto_2005090194_1.jpg', '', '', 10, NULL, 11, 255, 0, 0), (2005090195, 'Admin', '0306', 'teh 999', 1, 13, 1, 1, 'Ada', '0', ' ', 'foto_2005090195_1.jpg', '', '', 10, NULL, 11, 255, 0, 0), (2005090196, 'Admin', '0305', 'teh bandulan', 1, 13, 1, 1, 'Ada', '0', ' ', 'foto_2005090196_1.jpg', '', '', 10, NULL, 11, 255, 0, 0), (2005090197, 'Admin', '0304', 'teh naga rajang', 1, 13, 1, 1, 'Ada', '0', ' ', 'foto_2005090197_1.jpg', '', '', 10, NULL, 11, 255, 0, 0), (2005090198, 'Admin', '0303', 'teh satu', 1, 13, 1, 1, 'Ada', '0', ' ', 'foto_2005090198_1.jpg', '', '', 10, NULL, 11, 255, 0, 0), (2005090199, 'Admin', '0302', '<NAME> ', 1, 13, 1, 200, 'Ada', '0', ' 1 renteng 10 sachet', 'foto_2005090199_1.jpg', '', '', 10, NULL, 11, 255, 0, 0), (2005090200, 'Admin', '0201', 'minyak tropical', 1, 6, 1, 1000, 'Ada', '0', ' minyak tropical botol plastik', 'foto_2005090200_1.jpg', '', '', 10, NULL, 11, 255, 0, 0), (2005090201, 'Admin', '0301', 'nutrisari saset', 1, 13, 1, 200, 'Ada', '0', ' nutri sari sachet, isi 10', 'foto_2005090201_1.jpg', '', '', 10, NULL, 11, 255, 0, 0), (2005090202, 'Admin', '0103', 'chiken rice burger', 1, 6, 10, 170, 'Ada', '0', ' nasi dan daging burger ayam, sayur', 'foto_2005090202_1.jpg', '', '', 10, NULL, 11, 255, 0, 0), (2005090203, 'Admin', '0102', 'mie reguler bungkus atau mie reguler cup', 1, 6, 15, 200, 'Ada', '0', 'mie pangsit, ayam ', 'foto_2005090203_1.jpg', '', '', 10, NULL, 11, 255, 0, 0), (2005090204, 'Admin', '0101', 'nasi goreng hongkong', 1, 6, 18, 200, 'Ada', '0', 'nasi goreng hongkong, sayur mix, telur , daging ayam, udang ', 'foto_2005090204_1.jpg', '', '', 11, NULL, 11, 255, 0, 0), (2106070001, 'Admin', '20004577684', 'Dress Cantik', 1, 6, 2000, 100, 'Kosong', NULL, 'baju dress wanita cantik', 'foto_2106070001_1.JPG', '', '', 0, NULL, 11, 255, 0, 1000); INSERT INTO `produk` (`id_produk`, `id_user`, `kode_produk`, `nama_produk`, `id_menu`, `kategori_produk`, `harga`, `berat`, `stok_produk`, `ket`, `deskripsi`, `foto_produk1`, `foto_produk2`, `foto_produk3`, `jumlah_stok`, `jumlah_terjual`, `provinsi`, `kota`, `validasi`, `pajak`) VALUES (2106210001, 'Admin', '7341642887', 'Slondok Super', 1, 11, 20000, 100, 'Ada', NULL, ' Kripik Slondok Singkong Renyah, Gurih, Nikmat', 'foto_2106210001_1.png', 'foto_2106210001_2.jpg', 'foto_2106210001_3.png', 20, NULL, 11, 255, 0, 5); -- -------------------------------------------------------- -- -- Struktur dari tabel `slider` -- CREATE TABLE `slider` ( `id_slider` int(11) NOT NULL, `gambar` varchar(256) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `slider` -- INSERT INTO `slider` (`id_slider`, `gambar`) VALUES (26, 'slider_1590634804.jpg'), (27, 'slider_1623077558.jpg'), (30, 'slider_1623646849.jpg'); -- -------------------------------------------------------- -- -- Struktur dari tabel `status_order` -- CREATE TABLE `status_order` ( `id_status` int(11) NOT NULL, `desk_status` varchar(255) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Struktur dari tabel `submenu` -- CREATE TABLE `submenu` ( `id_sub` int(11) NOT NULL, `nama_sub` varchar(50) NOT NULL, `mainmenu_idmenu` int(11) NOT NULL, `active_sub` varchar(20) NOT NULL, `icon_class` varchar(100) NOT NULL, `link_sub` varchar(50) NOT NULL, `sub_akses` varchar(12) NOT NULL, `entry_date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(), `entry_user` varchar(20) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Struktur dari tabel `tab_akses_mainmenu` -- CREATE TABLE `tab_akses_mainmenu` ( `id` int(11) NOT NULL, `id_menu` int(11) NOT NULL, `id_level` int(11) NOT NULL, `c` int(11) DEFAULT 0, `r` int(11) DEFAULT 0, `u` int(11) DEFAULT 0, `d` int(11) DEFAULT 0, `entry_date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(), `entry_user` varchar(50) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `tab_akses_mainmenu` -- INSERT INTO `tab_akses_mainmenu` (`id`, `id_menu`, `id_level`, `c`, `r`, `u`, `d`, `entry_date`, `entry_user`) VALUES (1, 1, 1, NULL, 1, NULL, NULL, '2017-09-25 04:49:01', 'direktur'), (2, 2, 1, 0, 1, 0, 0, '2018-09-24 03:18:10', ''), (23, 3, 1, 0, 1, 0, 0, '2018-09-24 06:04:05', ''), (24, 4, 1, 0, 1, 0, 0, '2018-09-24 08:27:24', ''), (25, 5, 1, 0, 1, 0, 0, '2018-09-24 08:37:15', ''); -- -------------------------------------------------------- -- -- Struktur dari tabel `tab_akses_submenu` -- CREATE TABLE `tab_akses_submenu` ( `id` int(11) NOT NULL, `id_sub_menu` int(11) NOT NULL, `id_level` int(11) NOT NULL, `c` int(11) DEFAULT 0, `r` int(11) DEFAULT 0, `u` int(11) DEFAULT 0, `d` int(11) DEFAULT 0, `entry_date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(), `entry_user` varchar(30) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Struktur dari tabel `tb_about` -- CREATE TABLE `tb_about` ( `id_about` int(11) NOT NULL, `about_logo` varchar(30) CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT NULL, `about_deskripsi` text CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT NULL, `id_admin` int(11) DEFAULT NULL, `about_title_meta` varchar(200) CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT NULL, `about_deskripsi_meta` varchar(200) CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT NULL, `about_keyword_meta` varchar(200) CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `tb_about` -- INSERT INTO `tb_about` (`id_about`, `about_logo`, `about_deskripsi`, `id_admin`, `about_title_meta`, `about_deskripsi_meta`, `about_keyword_meta`) VALUES (1, 'logo2.png', 'MauGrafika adalah...', 1, '', '', ''); -- -------------------------------------------------------- -- -- Struktur dari tabel `tb_event` -- CREATE TABLE `tb_event` ( `id_event` varchar(20) NOT NULL, `value` int(255) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `tb_event` -- INSERT INTO `tb_event` (`id_event`, `value`) VALUES ('1', 5); -- -------------------------------------------------------- -- -- Struktur dari tabel `tb_foto` -- CREATE TABLE `tb_foto` ( `id_gallery` int(11) NOT NULL, `gallery_nama` varchar(30) CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT NULL, `gallery_gambar` varchar(30) CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT NULL, `id_admin` int(11) DEFAULT NULL, `id_album` int(11) DEFAULT NULL, `gallery_title_meta` varchar(200) CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT NULL, `gallery_deskripsi_meta` varchar(200) CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT NULL, `gallery_keyword_meta` varchar(200) CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `tb_foto` -- INSERT INTO `tb_foto` (`id_gallery`, `gallery_nama`, `gallery_gambar`, `id_admin`, `id_album`, `gallery_title_meta`, `gallery_deskripsi_meta`, `gallery_keyword_meta`) VALUES (1, 'Paket', '1.jpg', NULL, 1, NULL, NULL, NULL), (2, 'Paket', '2.jpg', NULL, 1, NULL, NULL, NULL), (3, 'Paket', '3.jpg', NULL, 1, NULL, NULL, NULL); -- -------------------------------------------------------- -- -- Struktur dari tabel `tb_kontak` -- CREATE TABLE `tb_kontak` ( `id_kontak` int(11) NOT NULL, `kontak_lat` varchar(100) DEFAULT NULL, `kontak_long` varchar(100) DEFAULT NULL, `kontak_deskripsi` text DEFAULT NULL, `kontak_judul` varchar(30) DEFAULT NULL, `kontak_title_meta` varchar(200) DEFAULT NULL, `kontak_deskripsi_meta` text DEFAULT NULL, `kontak_keyword_meta` varchar(200) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `tb_kontak` -- INSERT INTO `tb_kontak` (`id_kontak`, `kontak_lat`, `kontak_long`, `kontak_deskripsi`, `kontak_judul`, `kontak_title_meta`, `kontak_deskripsi_meta`, `kontak_keyword_meta`) VALUES (1, '-7.9735745', '112.658746', 'Mau Grafika Terletak di ......', NULL, NULL, NULL, NULL); -- -------------------------------------------------------- -- -- Struktur dari tabel `tema` -- CREATE TABLE `tema` ( `id_tema` int(11) NOT NULL, `tema` varchar(50) NOT NULL, `nama_tema` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `tema` -- INSERT INTO `tema` (`id_tema`, `tema`, `nama_tema`) VALUES (1, '', 'skin-black'); -- -------------------------------------------------------- -- -- Struktur dari tabel `t_detail_pengiriman` -- CREATE TABLE `t_detail_pengiriman` ( `id_detail_pengiriman` int(11) NOT NULL, `id_detail_order` int(11) NOT NULL, `tanggal_konfirmasi` date NOT NULL, `tanggal_kirim` date DEFAULT NULL, `status_kadaluarsa` int(1) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `t_detail_pengiriman` -- INSERT INTO `t_detail_pengiriman` (`id_detail_pengiriman`, `id_detail_order`, `tanggal_konfirmasi`, `tanggal_kirim`, `status_kadaluarsa`) VALUES (2, 2, '2017-01-31', '2017-01-31', 0); -- -------------------------------------------------------- -- -- Struktur dari tabel `user` -- CREATE TABLE `user` ( `id_user` varchar(20) NOT NULL, `nama` varchar(50) NOT NULL, `email` varchar(30) NOT NULL, `level` varchar(30) NOT NULL, `status` varchar(1) NOT NULL, `foto` text DEFAULT NULL, `password` varchar(100) NOT NULL, `provinsi` varchar(50) NOT NULL, `kota` varchar(50) NOT NULL, `id_ongkir` int(11) NOT NULL, `aktif_user` tinyint(1) NOT NULL, `nama_rek_user` varchar(255) NOT NULL, `no_rek_user` varchar(255) NOT NULL, `bank_rek_user` varchar(255) NOT NULL, `view_password` varchar(100) DEFAULT NULL, `admin_level` int(11) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data untuk tabel `user` -- INSERT INTO `user` (`id_user`, `nama`, `email`, `level`, `status`, `foto`, `password`, `provinsi`, `kota`, `id_ongkir`, `aktif_user`, `nama_rek_user`, `no_rek_user`, `bank_rek_user`, `view_password`, `admin_level`) VALUES ('Jess', 'Jess', '<EMAIL>', 'member', '', NULL, '<PASSWORD>', 'Jawa Timur', 'Malang', 255, 1, 'Jess', '0900841', 'BRI', NULL, NULL), ('Yeremia', 'Jess', '<PASSWORD>', 'member', '', '1', '<PASSWORD>', 'Jawa Timur', 'Malang', 256, 1, 'Yeremia', '021312', 'BRI', NULL, NULL); -- -------------------------------------------------------- -- -- Stand-in struktur untuk tampilan `vw_kecamatan` -- (Lihat di bawah untuk tampilan aktual) -- CREATE TABLE `vw_kecamatan` ( `id_kecamatan` int(11) ,`id_kota_fk` int(11) ,`nama_kecamatan` varchar(60) ,`id_kota` int(11) ,`nama_kota` varchar(50) ); -- -------------------------------------------------------- -- -- Stand-in struktur untuk tampilan `vw_kelurahan` -- (Lihat di bawah untuk tampilan aktual) -- CREATE TABLE `vw_kelurahan` ( `id_kelurahan` int(11) ,`id_kecamatan_fk` int(11) ,`nama_kelurahan` varchar(60) ,`id_kecamatan` int(11) ,`nama_kecamatan` varchar(60) ); -- -------------------------------------------------------- -- -- Struktur untuk view `vw_kecamatan` -- DROP TABLE IF EXISTS `vw_kecamatan`; CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `vw_kecamatan` AS SELECT `kecamatan`.`id_kecamatan` AS `id_kecamatan`, `kecamatan`.`id_kota_fk` AS `id_kota_fk`, `kecamatan`.`nama_kecamatan` AS `nama_kecamatan`, `kota`.`id_kota` AS `id_kota`, `kota`.`nama_kota` AS `nama_kota` FROM (`kecamatan` join `kota` on(`kecamatan`.`id_kota_fk` = `kota`.`id_kota`)) ; -- -------------------------------------------------------- -- -- Struktur untuk view `vw_kelurahan` -- DROP TABLE IF EXISTS `vw_kelurahan`; CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `vw_kelurahan` AS SELECT `kelurahan`.`id_kelurahan` AS `id_kelurahan`, `kelurahan`.`id_kecamatan_fk` AS `id_kecamatan_fk`, `kelurahan`.`nama_kelurahan` AS `nama_kelurahan`, `kecamatan`.`id_kecamatan` AS `id_kecamatan`, `kecamatan`.`nama_kecamatan` AS `nama_kecamatan` FROM (`kelurahan` join `kecamatan` on(`kelurahan`.`id_kecamatan_fk` = `kecamatan`.`id_kecamatan`)) ; -- -- Indexes for dumped tables -- -- -- Indeks untuk tabel `admin` -- ALTER TABLE `admin` ADD PRIMARY KEY (`id_admin`); -- -- Indeks untuk tabel `daerah_kirim` -- ALTER TABLE `daerah_kirim` ADD PRIMARY KEY (`id_daerah_kirim`); -- -- Indeks untuk tabel `data_bank` -- ALTER TABLE `data_bank` ADD PRIMARY KEY (`id_data`); -- -- Indeks untuk tabel `data_refund` -- ALTER TABLE `data_refund` ADD PRIMARY KEY (`id_refund`); -- -- Indeks untuk tabel `detail_order` -- ALTER TABLE `detail_order` ADD PRIMARY KEY (`id_detail_order`); -- -- Indeks untuk tabel `detail_pengiriman` -- ALTER TABLE `detail_pengiriman` ADD PRIMARY KEY (`id_detail_pengiriman`); -- -- Indeks untuk tabel `jadwal` -- ALTER TABLE `jadwal` ADD PRIMARY KEY (`id_jadwal`); -- -- Indeks untuk tabel `jam_kirim` -- ALTER TABLE `jam_kirim` ADD PRIMARY KEY (`id_jam`); -- -- Indeks untuk tabel `kategori_produk` -- ALTER TABLE `kategori_produk` ADD PRIMARY KEY (`id_kategori_produk`); -- -- Indeks untuk tabel `kecamatan` -- ALTER TABLE `kecamatan` ADD PRIMARY KEY (`id_kecamatan`), ADD KEY `id_kota_fk` (`id_kota_fk`); -- -- Indeks untuk tabel `kelurahan` -- ALTER TABLE `kelurahan` ADD PRIMARY KEY (`id_kelurahan`), ADD KEY `id_kecamatan_fk` (`id_kecamatan_fk`), ADD KEY `id_kota_fk` (`id_kota_fk`); -- -- Indeks untuk tabel `keranjang_belanja` -- ALTER TABLE `keranjang_belanja` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `klaim_detail_order` -- ALTER TABLE `klaim_detail_order` ADD PRIMARY KEY (`id_detail_order`); -- -- Indeks untuk tabel `komplain_barang` -- ALTER TABLE `komplain_barang` ADD PRIMARY KEY (`id_komplain`); -- -- Indeks untuk tabel `konfirmasi_bayar` -- ALTER TABLE `konfirmasi_bayar` ADD PRIMARY KEY (`id_konfirmasi`); -- -- Indeks untuk tabel `konfirmasi_penerimaan` -- ALTER TABLE `konfirmasi_penerimaan` ADD PRIMARY KEY (`id_penerimaan`); -- -- Indeks untuk tabel `konfirmasi_pengembalian_produk` -- ALTER TABLE `konfirmasi_pengembalian_produk` ADD PRIMARY KEY (`id_konfirmasi_pengembalian_produk`); -- -- Indeks untuk tabel `konten` -- ALTER TABLE `konten` ADD PRIMARY KEY (`id_konten`); -- -- Indeks untuk tabel `kota` -- ALTER TABLE `kota` ADD PRIMARY KEY (`id_kota`), ADD UNIQUE KEY `nama_kota` (`nama_kota`); -- -- Indeks untuk tabel `logo` -- ALTER TABLE `logo` ADD PRIMARY KEY (`id_logo`); -- -- Indeks untuk tabel `log_aktivitas` -- ALTER TABLE `log_aktivitas` ADD PRIMARY KEY (`id_log`); -- -- Indeks untuk tabel `mainmenu` -- ALTER TABLE `mainmenu` ADD PRIMARY KEY (`seq`); -- -- Indeks untuk tabel `menu` -- ALTER TABLE `menu` ADD PRIMARY KEY (`id_menu`); -- -- Indeks untuk tabel `ongkir_pembeli` -- ALTER TABLE `ongkir_pembeli` ADD PRIMARY KEY (`id_ongkir`); -- -- Indeks untuk tabel `order` -- ALTER TABLE `order` ADD PRIMARY KEY (`id_order`); -- -- Indeks untuk tabel `pemasukan` -- ALTER TABLE `pemasukan` ADD PRIMARY KEY (`id_pemasukan`); -- -- Indeks untuk tabel `produk` -- ALTER TABLE `produk` ADD PRIMARY KEY (`id_produk`); -- -- Indeks untuk tabel `slider` -- ALTER TABLE `slider` ADD PRIMARY KEY (`id_slider`); -- -- Indeks untuk tabel `status_order` -- ALTER TABLE `status_order` ADD PRIMARY KEY (`id_status`); -- -- Indeks untuk tabel `submenu` -- ALTER TABLE `submenu` ADD PRIMARY KEY (`id_sub`); -- -- Indeks untuk tabel `tab_akses_mainmenu` -- ALTER TABLE `tab_akses_mainmenu` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `tab_akses_submenu` -- ALTER TABLE `tab_akses_submenu` ADD PRIMARY KEY (`id`); -- -- Indeks untuk tabel `tb_about` -- ALTER TABLE `tb_about` ADD PRIMARY KEY (`id_about`); -- -- Indeks untuk tabel `tb_event` -- ALTER TABLE `tb_event` ADD PRIMARY KEY (`id_event`); -- -- Indeks untuk tabel `tb_foto` -- ALTER TABLE `tb_foto` ADD PRIMARY KEY (`id_gallery`); -- -- Indeks untuk tabel `tb_kontak` -- ALTER TABLE `tb_kontak` ADD PRIMARY KEY (`id_kontak`); -- -- Indeks untuk tabel `tema` -- ALTER TABLE `tema` ADD PRIMARY KEY (`id_tema`); -- -- Indeks untuk tabel `t_detail_pengiriman` -- ALTER TABLE `t_detail_pengiriman` ADD PRIMARY KEY (`id_detail_pengiriman`); -- -- Indeks untuk tabel `user` -- ALTER TABLE `user` ADD PRIMARY KEY (`id_user`); -- -- AUTO_INCREMENT untuk tabel yang dibuang -- -- -- AUTO_INCREMENT untuk tabel `admin` -- ALTER TABLE `admin` MODIFY `id_admin` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT untuk tabel `daerah_kirim` -- ALTER TABLE `daerah_kirim` MODIFY `id_daerah_kirim` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=38; -- -- AUTO_INCREMENT untuk tabel `data_bank` -- ALTER TABLE `data_bank` MODIFY `id_data` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT untuk tabel `data_refund` -- ALTER TABLE `data_refund` MODIFY `id_refund` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT untuk tabel `detail_order` -- ALTER TABLE `detail_order` MODIFY `id_detail_order` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=88; -- -- AUTO_INCREMENT untuk tabel `detail_pengiriman` -- ALTER TABLE `detail_pengiriman` MODIFY `id_detail_pengiriman` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18; -- -- AUTO_INCREMENT untuk tabel `jadwal` -- ALTER TABLE `jadwal` MODIFY `id_jadwal` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; -- -- AUTO_INCREMENT untuk tabel `jam_kirim` -- ALTER TABLE `jam_kirim` MODIFY `id_jam` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13; -- -- AUTO_INCREMENT untuk tabel `kategori_produk` -- ALTER TABLE `kategori_produk` MODIFY `id_kategori_produk` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16; -- -- AUTO_INCREMENT untuk tabel `kecamatan` -- ALTER TABLE `kecamatan` MODIFY `id_kecamatan` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT untuk tabel `kelurahan` -- ALTER TABLE `kelurahan` MODIFY `id_kelurahan` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT untuk tabel `keranjang_belanja` -- ALTER TABLE `keranjang_belanja` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=151; -- -- AUTO_INCREMENT untuk tabel `klaim_detail_order` -- ALTER TABLE `klaim_detail_order` MODIFY `id_detail_order` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT untuk tabel `komplain_barang` -- ALTER TABLE `komplain_barang` MODIFY `id_komplain` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT untuk tabel `konfirmasi_bayar` -- ALTER TABLE `konfirmasi_bayar` MODIFY `id_konfirmasi` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=35; -- -- AUTO_INCREMENT untuk tabel `konfirmasi_penerimaan` -- ALTER TABLE `konfirmasi_penerimaan` MODIFY `id_penerimaan` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT untuk tabel `konfirmasi_pengembalian_produk` -- ALTER TABLE `konfirmasi_pengembalian_produk` MODIFY `id_konfirmasi_pengembalian_produk` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT untuk tabel `kota` -- ALTER TABLE `kota` MODIFY `id_kota` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; -- -- AUTO_INCREMENT untuk tabel `logo` -- ALTER TABLE `logo` MODIFY `id_logo` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT untuk tabel `log_aktivitas` -- ALTER TABLE `log_aktivitas` MODIFY `id_log` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=39; -- -- AUTO_INCREMENT untuk tabel `mainmenu` -- ALTER TABLE `mainmenu` MODIFY `seq` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22; -- -- AUTO_INCREMENT untuk tabel `menu` -- ALTER TABLE `menu` MODIFY `id_menu` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT untuk tabel `ongkir_pembeli` -- ALTER TABLE `ongkir_pembeli` MODIFY `id_ongkir` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=109; -- -- AUTO_INCREMENT untuk tabel `pemasukan` -- ALTER TABLE `pemasukan` MODIFY `id_pemasukan` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT untuk tabel `produk` -- ALTER TABLE `produk` MODIFY `id_produk` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2106210002; -- -- AUTO_INCREMENT untuk tabel `slider` -- ALTER TABLE `slider` MODIFY `id_slider` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31; -- -- AUTO_INCREMENT untuk tabel `status_order` -- ALTER TABLE `status_order` MODIFY `id_status` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT untuk tabel `submenu` -- ALTER TABLE `submenu` MODIFY `id_sub` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT untuk tabel `tab_akses_mainmenu` -- ALTER TABLE `tab_akses_mainmenu` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=26; -- -- AUTO_INCREMENT untuk tabel `tab_akses_submenu` -- ALTER TABLE `tab_akses_submenu` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT untuk tabel `tb_about` -- ALTER TABLE `tb_about` MODIFY `id_about` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT untuk tabel `tb_foto` -- ALTER TABLE `tb_foto` MODIFY `id_gallery` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT untuk tabel `tb_kontak` -- ALTER TABLE `tb_kontak` MODIFY `id_kontak` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT untuk tabel `tema` -- ALTER TABLE `tema` MODIFY `id_tema` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT untuk tabel `t_detail_pengiriman` -- ALTER TABLE `t_detail_pengiriman` MODIFY `id_detail_pengiriman` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- Ketidakleluasaan untuk tabel pelimpahan (Dumped Tables) -- -- -- Ketidakleluasaan untuk tabel `kecamatan` -- ALTER TABLE `kecamatan` ADD CONSTRAINT `kecamatan_ibfk_1` FOREIGN KEY (`id_kota_fk`) REFERENCES `kota` (`id_kota`) ON DELETE CASCADE; -- -- Ketidakleluasaan untuk tabel `kelurahan` -- ALTER TABLE `kelurahan` ADD CONSTRAINT `kelurahan_ibfk_1` FOREIGN KEY (`id_kecamatan_fk`) REFERENCES `kecamatan` (`id_kecamatan`) ON DELETE CASCADE ON UPDATE CASCADE; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
<reponame>knonm/oracle-utils SET LINESIZE 300 COLUMN owner FORMAT A10 COLUMN r_owner FORMAT A10 COLUMN constraint_name FORMAT A25 COLUMN r_constraint_name FORMAT A25 COLUMN search_condition FORMAT A30 COLUMN column_name FORMAT A15 COLUMN table_name FORMAT A25 SELECT c.owner, c.constraint_name, c.constraint_type, c.table_name, c.r_owner, c.r_constraint_name, c.search_condition, c.status, cc.column_name FROM dba_constraints c, dba_cons_columns cc WHERE c.owner = cc.owner (+) AND c.constraint_name = cc.constraint_name (+) AND c.owner = 'OWNER' ORDER BY c.owner ASC, c.constraint_type ASC, c.constraint_name ASC, cc.position ASC;
<reponame>Thomas-S-B/sqltoolsservice insert top (10) into mytable values (10, 11);
<gh_stars>1-10 -- phpMyAdmin SQL Dump -- version 5.0.4 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Gegenereerd op: 02 dec 2020 om 18:24 -- Serverversie: 8.0.22 -- PHP-versie: 8.0.0RC4 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `obsdb` -- -- -------------------------------------------------------- -- -- Tabelstructuur voor tabel `host` -- CREATE TABLE `host` ( `hostname` varchar(255) NOT NULL, `port` varchar(5) NOT NULL, `pass` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Tabelstructuur voor tabel `schedules` -- CREATE TABLE `schedules` ( `id` bigint NOT NULL, `swtime` time NOT NULL, `swdate` date NOT NULL, `scene` varchar(255) NOT NULL, `transition` varchar(255) NOT NULL, `sourceoff` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `sourceon` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `duration` time NOT NULL, `repeattime` varchar(25) NOT NULL, `processed` tinyint(1) NOT NULL DEFAULT '0', `scenesourceoff` varchar(255) NOT NULL, `scenesourceon` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Tabelstructuur voor tabel `scenenames` -- CREATE TABLE `scenenames` ( `scene` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Tabelstructuur voor tabel `sourcenames` -- CREATE TABLE `sourcenames` ( `scene` varchar(255) NOT NULL, `source` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Tabelstructuur voor tabel `transitionnames` -- CREATE TABLE `transitionnames` ( `transition` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Indexen voor geëxporteerde tabellen -- -- -- Indexen voor tabel `host` -- ALTER TABLE `host` ADD PRIMARY KEY (`hostname`); -- -- Indexen voor tabel `schedules` -- ALTER TABLE `schedules` ADD UNIQUE KEY `id` (`id`); -- -- AUTO_INCREMENT voor geëxporteerde tabellen -- -- -- AUTO_INCREMENT voor een tabel `scedules` -- ALTER TABLE `schedules` MODIFY `id` bigint NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=56; 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 */;
-- SQL - PostgreSQL 9.6 SELECT MOD(number1, number2) FROM decimals ;
-- intpkey.test -- -- execsql { -- SELECT * FROM t1 WHERE b=='hello' -- } SELECT * FROM t1 WHERE b=='hello'
<filename>XFILES/xdbpm/XDBPM_XMLSCHEMA_SEARCH.sql /* ================================================ * Oracle XFiles Demonstration. * * Copyright (c) 2014 Oracle and/or its affiliates. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * ================================================ */ -- -- XDBPM_XMLSCHEMA_SEARCH should be created under XDBPM -- alter session set current_schema = XDBPM / create or replace package XDBPM_XMLSCHEMA_SEARCH authid CURRENT_USER as C_XDBPM_SCHEMAURL_XMLSCHEMA CONSTANT VARCHAR2(1024) := 'http://xmlns.oracle.com/xdb/xdbpm/XDBSchema.xsd'; C_XDBPM_SCHEMAURL_XDBRESOURCE CONSTANT VARCHAR2(1024) := 'http://xmlns.oracle.com/xdb/xdbpm/XDBResource.xsd'; C_XDBPM_XMLSCHEMA_NAMESPACE CONSTANT VARCHAR2(1024) := 'http://xmlns.oracle.com/xdb/xdbpm/XMLSchema'; C_XMLSCHEMA_TNS_PREFIX CONSTANT VARCHAR2(2) := 'xs'; function getRootNodeMap(P_SCHEMA_URL varchar2, P_SCHEMA_OWNER varchar2 default USER, P_GLOBAL_ELEMENT varchar2) return XMLType; function getChildNodeMap(P_PROPERTY_NUMBER number) return xmlType; function getSubstitutionGroup(P_HEAD_ELEMENT NUMBER) return XMLType; function getGlobalPrefixForNamespace(V_NAMESPACE VARCHAR2) return VARCHAR2; function getGlobalAttributeType(P_GLOBAL_ATTRIBUTE_NAME VARCHAR2, P_GLOBAL_ATTRIBUTE_REFERENCE REF XMLType, P_DEFAULT_PREFIX VARCHAR2, P_TARGET_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return VARCHAR2; function getNodeTypeMapping(P_NODE_TYPE VARCHAR2, P_BASE_TYPE VARCHAR2, P_DEFAULT_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return VARCHAR2; function getNodeNameMapping(P_NODE_NAME VARCHAR2, P_NODE_FORM VARCHAR2, P_TARGET_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return VARCHAR2; function getNodeRefMapping(P_NODE_REF VARCHAR2, P_DEFAULT_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return VARCHAR2; function getSchemaBaseType(P_TYPE_NAME VARCHAR2, P_TYPE_REFERENCE REF XMLType, P_XML_SCHEMA XMLType, P_DEFAULT_PREFIX VARCHAR2, P_TARGET_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return VARCHAR2; function mapGlobalPrefix(P_QNAME VARCHAR2, P_LOCAL_MAPPINGS XMLType) return VARCHAR2; function getXMLSchemaLocation return VARCHAR2; end; / show errors -- create or replace synonym XDB_XMLSCHEMA_SEARCH for XDBPM_XMLSCHEMA_SEARCH / grant execute on XDBPM_XMLSCHEMA_SEARCH to public / create or replace package body XDBPM_XMLSCHEMA_SEARCH as -- G_NS_PREFIX_MAPPINGS XMLType; G_SCHEMA_FOR_SCHEMAS XMLType; G_XMLSCHEMA_NS_PREFIX_MAPPINGS XMLType; G_XMLSCHEMA_DEFAULT_PREFIX VARCHAR2(32); G_XMLSCHEMA_TARGET_PREFIX VARCHAR2(32); -- function getXMLSchemaLocation return VARCHAR2 as begin return C_XDBPM_SCHEMAURL_XMLSCHEMA; end; -- function mapGlobalElement(P_GLOBAL_ELEMENT_NAME VARCHAR2, P_GLOBAL_ELEMENT_REF REF XMLType, P_ELEMENT_ID number, P_ELEMENT_NAME VARCHAR2, P_DEFAULT_PREFIX VARCHAR2, P_TARGET_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return XMLType; -- function mapComplexType(P_TYPE_NAME VARCHAR2, P_COMPLEX_TYPE XMLType, P_TYPE_REFERENCE REF XMLType, P_ELEMENT_NAME VARCHAR2, P_ELEMENT_ID NUMBER, P_XML_SCHEMA XMLType, P_DEFAULT_PREFIX VARCHAR2, P_TARGET_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return xmlType; -- function refToHex(P_REFERENCE REF XMLType) return VARCHAR2 as V_REFERENCE VARCHAR2(256); begin select REFTOHEX(P_REFERENCE) into V_REFERENCE from dual; return V_REFERENCE; end; -- function getSchemaNamespaceMappings(P_XML_SCHEMA XMLType) return XMLType -- -- Get the set of namespace prefix definitions declarations from the root tag of the XML schema -- as V_DOC dbms_xmldom.DOMDocument; V_ROOT dbms_xmldom.DOMElement; V_NODEMAP dbms_xmldom.DOMNamedNodeMap; V_ATTR dbms_xmldom.DOMAttr; V_PREFIX varchar2(512); V_SCHEMA_NAMESPACES XMLType; V_NAMESPACE XMLType; begin V_DOC := dbms_xmldom.newDomDocument(P_XML_SCHEMA); V_ROOT := dbms_xmldom.getDocumentElement(V_DOC); V_NODEMAP := dbms_xmldom.getAttributes(dbms_xmldom.MakeNode(V_ROOT)); V_SCHEMA_NAMESPACES := xmltype('<Namespaces/>'); for i in 0..dbms_xmldom.getLength(V_NODEMAP) - 1 loop V_ATTR := dbms_xmldom.MakeAttr(dbms_xmldom.Item(V_NODEMAP,i)); if (dbms_xmldom.getNamespace(V_ATTR) = 'http://www.w3.org/2000/xmlns/') or dbms_xmldom.getName(V_ATTR) = 'xmlns' then if (dbms_xmldom.getLocalName(V_ATTR) = 'xmlns') then V_NAMESPACE := xmltype('<Namespace>' || dbms_xmldom.getValue(V_ATTR) || '</Namespace>'); else V_NAMESPACE := xmltype('<Namespace Prefix="' || dbms_xmldom.getLocalName(V_ATTR) || '">' || dbms_xmldom.getValue(V_ATTR) || '</Namespace>'); end if; select appendChildXML ( V_SCHEMA_NAMESPACES, '/Namespaces', V_NAMESPACE ) into V_SCHEMA_NAMESPACES from dual; end if; end loop; return V_SCHEMA_NAMESPACES; end; -- function getNamespaceForPrefix(P_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return VARCHAR2 as V_NAMESPACE VARCHAR2(700); begin if (P_PREFIX is not null) then select NAMESPACE into V_NAMESPACE from xmltable ( '/Namespaces/Namespace[@Prefix=$p]' passing P_NS_PREFIX_MAPPINGS, P_PREFIX as "p" columns NAMESPACE VARCHAR2(700) path 'text()' ); else begin select NAMESPACE into V_NAMESPACE from xmltable ( '/Namespaces/Namespace[not(@Prefix)]' passing P_NS_PREFIX_MAPPINGS columns NAMESPACE VARCHAR2(700) path 'text()' ); exception when no_data_found then return null; when others then raise; end; end if; return V_NAMESPACE; end; -- function getPrefixForNamespace(P_NAMESPACE VARCHAR2, P_NAMESPACE_PREFIX_MAPPINGS XMLType) return VARCHAR2 as V_PREFIX VARCHAR2(32); begin if (P_NAMESPACE is NULL) then V_PREFIX := NULL; else if (P_NAMESPACE = C_XDBPM_XMLSCHEMA_NAMESPACE) then V_PREFIX := C_XMLSCHEMA_TNS_PREFIX; else select PREFIX into V_PREFIX from xmltable ( '/Namespaces/Namespace[text()=$ns]' passing P_NAMESPACE_PREFIX_MAPPINGS, P_NAMESPACE as "ns" columns PREFIX VARCHAR2(32) path '@Prefix' ); end if; end if; XDB_OUTPUT.writeLogFileEntry('getPrefixForNamespace() Namespace "' || P_NAMESPACE || '". Prefix "' || V_PREFIX || '"'); return V_PREFIX; end; -- function mapGlobalPrefix(P_QNAME VARCHAR2, P_LOCAL_MAPPINGS XMLType) return VARCHAR2 -- -- Convert from the Namespace prefix used in the XML Schema to the Global Namespace Prefix. -- as V_PREFIX VARCHAR2(32); V_LOCAL_NAME VARCHAR2(256); V_NAMESPACE VARCHAR2(700); begin V_PREFIX := substr(P_QNAME,1,instr(P_QNAME,':')-1); V_LOCAL_NAME := substr(P_QNAME,instr(P_QNAME,':')+1); V_NAMESPACE := getNamespaceForPrefix(V_PREFIX,P_LOCAL_MAPPINGS); if (V_NAMESPACE = C_XDBPM_XMLSCHEMA_NAMESPACE) then V_PREFIX := C_XMLSCHEMA_TNS_PREFIX; else V_PREFIX := getPrefixForNamespace(V_NAMESPACE,G_NS_PREFIX_MAPPINGS); end if; return V_PREFIX || ':' || V_LOCAL_NAME; end; -- function getGlobalPrefixForNamespace(V_NAMESPACE VARCHAR2) return VARCHAR2 -- -- Get the Global Namespace Prefix for a given Namespace -- as begin return getPrefixForNamespace(V_NAMESPACE,G_NS_PREFIX_MAPPINGS); end; -- function getGlobalPrefixForDefaultNS(P_LOCAL_PREFIX_MAPPINGS XMLType) return VARCHAR2 -- -- Get the Global Namespace Prefix for the XML Schema's Default Namespace. -- as begin return getGlobalPrefixForNamespace(getNamespaceForPrefix(NULL,P_LOCAL_PREFIX_MAPPINGS)); end; -- function getGlobalPrefixForTargetNS(P_XML_SCHEMA XMLTYPE) return VARCHAR2 -- -- get the Global Prefix for the target namesapce -- as V_NAMESPACE VARCHAR2(256); V_SCHEMA_PREFIX VARCHAR2(32) := NULL; begin select TARGET_NAMESPACE into V_NAMESPACE from xmltable ( xmlNamespaces ( 'http://xmlns.oracle.com/xdb' as "xdb" ), '$s/xs:schema' passing P_XML_SCHEMA as "s" columns TARGET_NAMESPACE varchar2(256) path '@targetNamespace' ); if (V_NAMESPACE is not null) then V_SCHEMA_PREFIX := getGlobalPrefixForNamespace(V_NAMESPACE); end if; XDB_OUTPUT.writeLogFileEntry('getGlobalPrefixForTargetNS() Namespace "' || V_NAMESPACE || '". Prefix "' || V_SCHEMA_PREFIX || '"'); return V_SCHEMA_PREFIX; end; -- function getNodeTypeMapping(P_NODE_TYPE VARCHAR2, P_BASE_TYPE VARCHAR2, P_DEFAULT_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return VARCHAR2 as V_NODE_TYPE VARCHAR2(256); begin if ((P_NODE_TYPE is null) and (P_BASE_TYPE is null)) then return null; end if; if (P_NODE_TYPE is not null) then V_NODE_TYPE := P_NODE_TYPE; else V_NODE_TYPE := P_BASE_TYPE; end if; if instr(V_NODE_TYPE,':') = 0 then if P_DEFAULT_PREFIX is not null then return P_DEFAULT_PREFIX || ':' || V_NODE_TYPE; else return V_NODE_TYPE; end if; else return mapGlobalPrefix(V_NODE_TYPE,P_NS_PREFIX_MAPPINGS); end if; end; -- function getNodeNameMapping(P_NODE_NAME VARCHAR2, P_NODE_FORM VARCHAR2, P_TARGET_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return VARCHAR2 as begin if (P_NODE_NAME is null) then return null; end if; if (P_NODE_FORM = 'qualified') then if (P_TARGET_PREFIX is not null) then return P_TARGET_PREFIX || ':' || P_NODE_NAME; else return P_NODE_NAME; end if; else return P_NODE_NAME; end if; end; -- function getNodeRefMapping(P_NODE_REF VARCHAR2, P_DEFAULT_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return VARCHAR2 as begin if (P_NODE_REF is null) then return null; end if; if instr(P_NODE_REF,':') = 0 then if (P_DEFAULT_PREFIX is not null) then return P_DEFAULT_PREFIX || ':' || P_NODE_REF; else return P_NODE_REF; end if; else return mapGlobalPrefix(P_NODE_REF,P_NS_PREFIX_MAPPINGS); end if; end; -- function getBaseTypeName(P_XML_SCHEMA XMLType, P_TYPE_NAME VARCHAR2, P_TYPE_NAMESPACE VARCHAR2) return VARCHAR2 as V_BASE_TYPE_NAME VARCHAR2(256); begin if (P_TYPE_NAMESPACE is not null) then select XMLCast(XMLQuery('/xs:schema/xs:simpleType[@name=$st]//@base' passing P_XML_SCHEMA, P_TYPE_NAME as "st" returning content) as VARCHAR2(256)) into V_BASE_TYPE_NAME from DUAL where XMLExists('declare namespace xdb = "http://xmlns.oracle.com/xdb"; /xs:schema[@targetNamespace=$tn]/xs:simpleType[@name=$st]' passing P_XML_SCHEMA, P_TYPE_NAMESPACE as "tn", P_TYPE_NAME as "st" ); else select XMLCast(XMLQuery('/xs:schema/xs:simpleType[@name=$st]//@base' passing P_XML_SCHEMA, P_TYPE_NAME as "st" returning content) as VARCHAR2(256)) into V_BASE_TYPE_NAME from DUAL where XMLExists('declare namespace xdb = "http://xmlns.oracle.com/xdb"; /xs:schema[not(@targetNamespace)]/xs:simpleType[@name=$st]' passing P_XML_SCHEMA, P_TYPE_NAME as "st" ); end if; return V_BASE_TYPE_NAME; end; -- function getSchemaBaseType(P_TYPE_NAME VARCHAR2, P_TYPE_REFERENCE REF XMLType, P_XML_SCHEMA XMLType, P_DEFAULT_PREFIX VARCHAR2, P_TARGET_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return VARCHAR2 as V_TYPE_PREFIX VARCHAR2(32); V_TYPE_NAMESPACE VARCHAR2(700); V_GLOBAL_TYPE_NAME VARCHAR2(256); V_XML_SCHEMA XMLType; V_BASE_TYPE_NAME VARCHAR2(256); V_NS_PREFIX_MAPPINGS XMLType; V_DEFAULT_PREFIX VARCHAR2(32); V_TARGET_PREFIX VARCHAR2(32); V_EXPANDED_MAPPING XMLType; V_TYPE_REFERENCE REF XMLType; begin if (instr(P_TYPE_NAME,':') > 0) then V_TYPE_PREFIX := substr(P_TYPE_NAME,1,instr(P_TYPE_NAME,':')-1); V_GLOBAL_TYPE_NAME := substr(P_TYPE_NAME,instr(P_TYPE_NAME,':')+1); else V_TYPE_PREFIX := null; V_GLOBAL_TYPE_NAME := P_TYPE_NAME; end if; -- Hack for pre-allocation of global namespace prefixes. If the prefix doesn't match the known prefixes for the XML Schema -- match the prefix in the global list of targetNamespaces begin V_TYPE_NAMESPACE := getNamespaceForPrefix(V_TYPE_PREFIX,P_NS_PREFIX_MAPPINGS); exception when no_data_found then V_TYPE_NAMESPACE := getNamespaceForPrefix(V_TYPE_PREFIX,G_NS_PREFIX_MAPPINGS); end; XDB_OUTPUT.writeLogFileEntry('SimpleType = ' || P_TYPE_NAME || '. Namespace = ' || V_TYPE_NAMESPACE); if (V_TYPE_NAMESPACE = XDB_NAMESPACES.XMLSCHEMA_NAMESPACE) then return C_XMLSCHEMA_TNS_PREFIX || ':' || V_GLOBAL_TYPE_NAME; else -- Find the Base Type for this type V_XML_SCHEMA := P_XML_SCHEMA; V_BASE_TYPE_NAME := NULL; select s.OBJECT_VALUE, XMLCast(XMLQuery('/xs:schema/xs:simpleType[@name=$st]//@base' passing s.OBJECT_VALUE, V_GLOBAL_TYPE_NAME as "st" returning content) as VARCHAR2(256)), ref(st) into V_XML_SCHEMA, V_BASE_TYPE_NAME, V_TYPE_REFERENCE from XDB.XDB$SCHEMA s, XDB.XDB$SIMPLE_TYPE st where ref(st) = P_TYPE_REFERENCE and st.XMLDATA.PARENT_SCHEMA = ref(s) and s.XMLDATA.SCHEMA_URL != XDB_NAMESPACES.XDBSCHEMA_LOCATION and s.XMLDATA.SCHEMA_URL != XDB_NAMESPACES.RESOURCE_LOCATION; V_XML_SCHEMA := V_XML_SCHEMA.createNonSchemaBasedXML(); V_TYPE_REFERENCE := P_TYPE_REFERENCE; V_NS_PREFIX_MAPPINGS := getSchemaNamespaceMappings(V_XML_SCHEMA); V_DEFAULT_PREFIX := getGlobalPrefixForDefaultNS(V_NS_PREFIX_MAPPINGS); V_TARGET_PREFIX := getGlobalPrefixForTargetNS(V_XML_SCHEMA); if (instr(V_BASE_TYPE_NAME,':') = 0) then V_BASE_TYPE_NAME := mapGlobalPrefix(V_BASE_TYPE_NAME,P_NS_PREFIX_MAPPINGS); end if; return getSchemaBaseType(V_BASE_TYPE_NAME, V_TYPE_REFERENCE, V_XML_SCHEMA, V_DEFAULT_PREFIX, V_TARGET_PREFIX, V_NS_PREFIX_MAPPINGS); end if; end; -- function mapSimpleType(P_TYPE_NAME VARCHAR2, P_SIMPLE_TYPE XMLType, P_SIMPLE_TYPE_REF REF XMLType, P_ELEMENT_NAME VARCHAR2, P_ELEMENT_ID number, P_XML_SCHEMA XMLType, P_DEFAULT_PREFIX VARCHAR2, P_TARGET_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return XMLType as V_MAPPING XMLType; V_BASE_TYPE VARCHAR2(256); begin XDB_OUTPUT.writeLogFileEntry('Processing simpleType ' || P_TYPE_NAME); V_BASE_TYPE := getSchemaBaseType(P_TYPE_NAME, P_SIMPLE_TYPE_REF, P_XML_SCHEMA, P_DEFAULT_PREFIX, P_TARGET_PREFIX, P_NS_PREFIX_MAPPINGS); select XMLElement ( "Element", xmlAttributes ( P_ELEMENT_ID as "ID", P_TYPE_NAME as "Type", V_BASE_TYPE as "BaseType", 'http://xmlns.oracle.com/xdb/pm/demo/search' as "xmlns" ), xmlElement ( "Name", P_ELEMENT_NAME ) ) into V_MAPPING from dual; return V_MAPPING; end; -- function convertQName(P_QNAME VARCHAR2, P_DEFAULT_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return VARCHAR2 as begin if instr(P_QNAME,':') > 0 then return mapGlobalPrefix(P_QNAME, P_NS_PREFIX_MAPPINGS); else if (P_DEFAULT_PREFIX is not NULL) then return P_DEFAULT_PREFIX || ':' || P_QNAME; else return P_QNAME; end if; end if; end; -- function getGlobalAttribute(P_GLOBAL_ATTRIBUTE_NAME VARCHAR2, P_XMLSCHEMA_REFERENCE REF XMLType, P_DEFAULT_PREFIX VARCHAR2, P_TARGET_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return XMLType as V_GLOBAL_ATTRIBUTE XMLType; V_PREFIX VARCHAR2(32); V_LOCAL_NAME VARCHAR2(256); V_TARGET_NAMESPACE VARCHAR2(700); begin V_PREFIX := substr(P_GLOBAL_ATTRIBUTE_NAME,1,instr(P_GLOBAL_ATTRIBUTE_NAME,':')-1); V_LOCAL_NAME := substr(P_GLOBAL_ATTRIBUTE_NAME,instr(P_GLOBAL_ATTRIBUTE_NAME,':')+1); V_TARGET_NAMESPACE := getNamespaceForPrefix(V_PREFIX,G_NS_PREFIX_MAPPINGS); return V_GLOBAL_ATTRIBUTE; end; -- function getGlobalAttributeType(P_GLOBAL_ATTRIBUTE_NAME VARCHAR2, P_GLOBAL_ATTRIBUTE_REFERENCE REF XMLType, P_DEFAULT_PREFIX VARCHAR2, P_TARGET_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return VARCHAR2 as V_XML_SCHEMA XMLType; V_GLOBAL_ATTRIBUTE XMLType; V_ATTRIBUTE_TYPE VARCHAR2(256); V_LOCAL_NAME VARCHAR2(256); V_NS_PREFIX_MAPPINGS XMLType; V_DEFAULT_PREFIX VARCHAR2(32); V_TARGET_PREFIX VARCHAR2(32); V_TYPE_REFERENCE REF XMLType; begin V_LOCAL_NAME := substr(P_GLOBAL_ATTRIBUTE_NAME,instr(P_GLOBAL_ATTRIBUTE_NAME,':')+1); select s.OBJECT_VALUE, XMLCast(XMLQuery('/xs:schema/xs:attribute[@name=$an]/@type' passing s.OBJECT_VALUE, V_LOCAL_NAME as "an" returning content) as VARCHAR2(256)), a.XMLDATA.TYPE_REF into V_XML_SCHEMA, V_ATTRIBUTE_TYPE, V_TYPE_REFERENCE from XDB.XDB$SCHEMA s, XDB.XDB$ATTRIBUTE a where ref(s) = a.XMLDATA.PARENT_SCHEMA and ref(a) = P_GLOBAL_ATTRIBUTE_REFERENCE; V_XML_SCHEMA := V_XML_SCHEMA.createNonSchemaBasedXML(); V_NS_PREFIX_MAPPINGS := getSchemaNamespaceMappings(V_XML_SCHEMA); V_DEFAULT_PREFIX := getGlobalPrefixForDefaultNS(V_NS_PREFIX_MAPPINGS); V_TARGET_PREFIX := getGlobalPrefixForTargetNS(V_XML_SCHEMA); if (V_ATTRIBUTE_TYPE is not NULL) then V_ATTRIBUTE_TYPE := convertQName(V_ATTRIBUTE_TYPE, V_DEFAULT_PREFIX, V_NS_PREFIX_MAPPINGS); V_ATTRIBUTE_TYPE := getSchemaBaseType(V_ATTRIBUTE_TYPE, V_TYPE_REFERENCE, V_XML_SCHEMA, V_DEFAULT_PREFIX, V_TARGET_PREFIX, V_NS_PREFIX_MAPPINGS); return V_ATTRIBUTE_TYPE; end if; end; -- function mapSimpleContent(P_TYPE_NAME VARCHAR2, P_COMPLEX_TYPE XMLType, P_TYPE_REFERENCE REF XMLType, P_ELEMENT_NAME VARCHAR2, P_ELEMENT_ID NUMBER, P_XML_SCHEMA XMLType, P_DEFAULT_PREFIX VARCHAR2, P_TARGET_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return xmlType as V_MAPPING XMLType; V_BASE_TYPE VARCHAR2(256); V_ATTRIBUTES XMLType; V_COMPLEX_TYPE XMLType; V_ATTRIBUTE_FORM_DEFAULT VARCHAR2(12); begin select XMLCast(XMLQuery('/xs:complexType/xs:simpleContent/xs:extension/@base' passing V_COMPLEX_TYPE returning content ) as VARCHAR2(256)) as "BaseType" into V_BASE_TYPE from dual; V_BASE_TYPE := getSchemaBaseType(V_BASE_TYPE, P_TYPE_REFERENCE, P_XML_SCHEMA, P_DEFAULT_PREFIX, P_TARGET_PREFIX, P_NS_PREFIX_MAPPINGS); -- Need to add handling for flattening AttributeGroups select XMLCast(XMLQuery('/xs:schema/@attributeFormDefault' passing P_XML_SCHEMA returning content) as VARCHAR2(12)) into V_ATTRIBUTE_FORM_DEFAULT from dual; if (V_ATTRIBUTE_FORM_DEFAULT is null) then V_ATTRIBUTE_FORM_DEFAULT := 'unqualified'; end if; select xmlElement ( "Attrs", xmlAgg ( xmlelement ( "Attr", xmlAttributes ( ID as "ID", ATTR_REF as "Ref", ATTR_TYPE as "Type", XDBPM.XDBPM_XMLSCHEMA_SEARCH.getSchemaBaseType(ATTR_TYPE, P_TYPE_REFERENCE, P_XML_SCHEMA, P_DEFAULT_PREFIX, P_TARGET_PREFIX, P_NS_PREFIX_MAPPINGS) as "BaseType" ), case when ATTR_NAME is not null then ATTR_NAME else ATTR_REF end ) ) ) into V_ATTRIBUTES from ( select ID, case when ATTR_REF is not NULL then XDBPM.XDBPM_XMLSCHEMA_SEARCH.getGlobalAttributeType(ATTR_REF, a.XMLDATA.PROPREF_REF, P_DEFAULT_PREFIX, P_TARGET_PREFIX, P_NS_PREFIX_MAPPINGS) else XDBPM.XDBPM_XMLSCHEMA_SEARCH.getNodeTypeMapping(ATTR_TYPE, ATTR_BASE_TYPE, P_DEFAULT_PREFIX, P_NS_PREFIX_MAPPINGS) end ATTR_TYPE, XDBPM.XDBPM_XMLSCHEMA_SEARCH.getNodeNameMapping(ATTR_NAME, V_ATTRIBUTE_FORM_DEFAULT, P_TARGET_PREFIX, P_NS_PREFIX_MAPPINGS) ATTR_NAME, XDBPM.XDBPM_XMLSCHEMA_SEARCH.getNodeRefMapping(ATTR_REF, P_DEFAULT_PREFIX, P_NS_PREFIX_MAPPINGS) ATTR_REF from XDB.XDB$ATTRIBUTE a, XMLTABLE ( xmlNamespaces('http://xmlns.oracle.com/xdb' as "xdb"), '/xs:complexType/xs:simpleContent/xs:extension/xs:attribute' passing V_COMPLEX_TYPE columns ID number(38) path '@xdb:propNumber', ATTR_TYPE varchar2(256) path '@type', ATTR_BASE_TYPE varchar2(256) path '//@base', ATTR_NAME varchar2(256) path '@name', ATTR_REF varchar2(256) path '@ref' ) where a.XMLDATA.PROP_NUMBER = ID ); select XMLElement ( "Element", xmlAttributes ( P_ELEMENT_ID as "ID", P_TYPE_NAME as "Type", V_BASE_TYPE as "BaseType", 'http://xmlns.oracle.com/xdb/pm/demo/search' as "xmlns" ), xmlElement ( "Name", P_ELEMENT_NAME ), V_ATTRIBUTES ) into V_MAPPING from dual; return V_MAPPING; end; -- function mapExtendedComplexType(P_MAPPING XMLType, P_TYPE_NAME VARCHAR2, P_COMPLEX_TYPE XMLType, P_TYPE_REFERENCE REF XMLType, P_ELEMENT_NAME VARCHAR2, P_ELEMENT_ID NUMBER, P_XML_SCHEMA XMLType, P_DEFAULT_PREFIX VARCHAR2, P_TARGET_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return XMLType as V_BASE_TYPE_NAME VARCHAR2(256); V_BASE_TYPE_REFERENCE REF XMLType; V_BASE_TYPE XMLType; V_XML_SCHEMA XMLType; V_GLOBAL_TYPE XMLType; V_NS_PREFIX_MAPPINGS XMLType; V_DEFAULT_PREFIX VARCHAR2(32); V_TARGET_PREFIX VARCHAR2(32); V_ATTRIBUTE_FORM_DEFAULT VARCHAR2(12); V_ELEMENT_FORM_DEFAULT VARCHAR2(12); V_SUBTYPE_MAPPING XMLType; V_ATTRIBUTES XMLType; V_ELEMENTS XMLType; begin select XMLCast(XMLQuery('/xs:complexType/xs:complexContent/xs:extension/@base' passing P_COMPLEX_TYPE returning content) as VARCHAR2(256)) into V_BASE_TYPE_NAME from DUAL; XDB_OUTPUT.writeLogFileEntry('mapExtendedComplexType() : "'|| P_TYPE_NAME || '" extends "' || V_BASE_TYPE_NAME || '"'); XDB_OUTPUT.flushLogFile(); if (instr(V_BASE_TYPE_NAME,':') > 0) then V_BASE_TYPE_NAME := substr(V_BASE_TYPE_NAME,instr(V_BASE_TYPE_NAME,':')+1); end if; /* ** ** Get the XML Schema and the ComplexType definition for the Base Type.. ** (May not be the same XMLSchema as the Extended Type) ** */ XDB_OUTPUT.writeLogFileEntry('mapExtendedComplexType() : Base Type Name = "'|| V_BASE_TYPE_NAME || '"'); XDB_OUTPUT.writeLogFileEntry('mapExtendedComplexType() : Type Reference = "'|| refToHex(P_TYPE_REFERENCE) || '"'); XDB_OUTPUT.flushLogFile(); select s.OBJECT_VALUE, XMLQuery('/xs:schema/xs:complexType[@name=$ct]' passing s.OBJECT_VALUE, V_BASE_TYPE_NAME as "ct" returning CONTENT), ct.XMLDATA.BASE_TYPE into V_XML_SCHEMA, V_BASE_TYPE, V_BASE_TYPE_REFERENCE from XDB.XDB$SCHEMA s, XDB.XDB$COMPLEX_TYPE bt, XDB.XDB$COMPLEX_TYPE ct where ref(s) = bt.XMLDATA.PARENT_SCHEMA and ref(bt) = ct.XMLDATA.BASE_TYPE and ref(ct) = P_TYPE_REFERENCE; V_XML_SCHEMA := V_XML_SCHEMA.createNonSchemaBasedXML(); V_NS_PREFIX_MAPPINGS := getSchemaNamespaceMappings(V_XML_SCHEMA); V_DEFAULT_PREFIX := getGlobalPrefixForDefaultNS(V_NS_PREFIX_MAPPINGS); V_TARGET_PREFIX := getGlobalPrefixForTargetNS(V_XML_SCHEMA); V_SUBTYPE_MAPPING := mapComplexType(V_BASE_TYPE_NAME, V_BASE_TYPE, V_BASE_TYPE_REFERENCE, P_ELEMENT_NAME, P_ELEMENT_ID, V_XML_SCHEMA, V_DEFAULT_PREFIX , V_TARGET_PREFIX, V_NS_PREFIX_MAPPINGS); XDB_OUTPUT.writeLogFileEntry('SubTypeMapping := '); XDB_OUTPUT.writeLogFileEntry(V_SUBTYPE_MAPPING); XDB_OUTPUT.flushLogFile(); select XMLCast(XMLQuery('/xs:schema/@attributeFormDefault' passing P_XML_SCHEMA returning content) as VARCHAR2(12)), XMLCast(XMLQuery('/xs:schema/@elementFormDefault' passing P_XML_SCHEMA returning content) as VARCHAR2(12)) into V_ATTRIBUTE_FORM_DEFAULT, V_ELEMENT_FORM_DEFAULT from dual; if (V_ATTRIBUTE_FORM_DEFAULT is null) then V_ATTRIBUTE_FORM_DEFAULT := 'unqualified'; end if; if (V_ELEMENT_FORM_DEFAULT is null) then V_ELEMENT_FORM_DEFAULT := 'qualified'; end if; V_ATTRIBUTES := P_MAPPING.extract('/Element/Attrs','xmlns="http://xmlns.oracle.com/xdb/pm/demo/search"'); V_ELEMENTS := P_MAPPING.extract('/Element/Elements','xmlns="http://xmlns.oracle.com/xdb/pm/demo/search"'); if (V_ATTRIBUTES is not null) then if (V_SUBTYPE_MAPPING.existsNode('/Element/Attrs','xmlns="http://xmlns.oracle.com/xdb/pm/demo/search"') = 0) then if (V_SUBTYPE_MAPPING.existsNode('/Element/Elements','xmlns="http://xmlns.oracle.com/xdb/pm/demo/search"') = 0) then select appendChildXML ( V_SUBTYPE_MAPPING, '/Element', V_ATTRIBUTES, 'xmlns="http://xmlns.oracle.com/xdb/pm/demo/search"' ) into V_SUBTYPE_MAPPING from DUAL; else select insertXMLBefore ( V_SUBTYPE_MAPPING, '/Element/Elements', V_ATTRIBUTES, 'xmlns="http://xmlns.oracle.com/xdb/pm/demo/search"' ) into V_SUBTYPE_MAPPING from DUAL; end if; else select appendChildXML ( V_SUBTYPE_MAPPING, '/Element/Attrs', V_ATTRIBUTES.extract('/Attrs/Attr','xmlns="http://xmlns.oracle.com/xdb/pm/demo/search"'), 'xmlns="http://xmlns.oracle.com/xdb/pm/demo/search"' ) into V_SUBTYPE_MAPPING from DUAL; end if; end if; if (V_ELEMENTS is not null) then if (V_SUBTYPE_MAPPING.existsNode('/Element/Elements','xmlns="http://xmlns.oracle.com/xdb/pm/demo/search"') = 0) then select appendChildXML ( V_SUBTYPE_MAPPING, '/Element', V_ELEMENTS, 'xmlns="http://xmlns.oracle.com/xdb/pm/demo/search"' ) into V_SUBTYPE_MAPPING from DUAL; else select appendChildXML ( V_SUBTYPE_MAPPING, '/Element/Elements', V_ELEMENTS.extract('/Elements/Element','xmlns="http://xmlns.oracle.com/xdb/pm/demo/search"'), 'xmlns="http://xmlns.oracle.com/xdb/pm/demo/search"' ) into V_SUBTYPE_MAPPING from DUAL; end if; end if; return V_SUBTYPE_MAPPING; end; -- function mapComplexType(P_TYPE_NAME VARCHAR2, P_COMPLEX_TYPE XMLType, P_TYPE_REFERENCE REF XMLType, P_ELEMENT_NAME VARCHAR2, P_ELEMENT_ID NUMBER, P_XML_SCHEMA XMLType, P_DEFAULT_PREFIX VARCHAR2, P_TARGET_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return xmlType -- -- Handle Local and Global complex types. If P_TYPE_NAME is not null then P_TYPE_REFERENCE points to the global complexType. -- as V_ATTRIBUTES XMLType; V_ELEMENTS XMLType; V_MAPPING XMLType; V_COMPLEX_TYPE XMLType; V_ATTRIBUTE_FORM_DEFAULT VARCHAR2(12); V_ELEMENT_FORM_DEFAULT VARCHAR2(12); begin XDB_OUTPUT.writeLogFileEntry('mapComplexType() : Processing "' || P_TYPE_NAME || '".'); if P_COMPLEX_TYPE.existsNode('/xsd:complexType/xsd:simpleContent',XDB_NAMESPACES.XDBSCHEMA_PREFIXES) = 1 then return mapSimpleContent(P_TYPE_NAME, P_COMPLEX_TYPE, P_TYPE_REFERENCE, P_ELEMENT_NAME, P_ELEMENT_ID, P_XML_SCHEMA, P_DEFAULT_PREFIX, P_TARGET_PREFIX, P_NS_PREFIX_MAPPINGS); end if; V_COMPLEX_TYPE := P_COMPLEX_TYPE; -- Remove amy embedded complexType elements .. if (V_COMPLEX_TYPE.existsNode('/xsd:complexType//xsd:complexType',XDB_NAMESPACES.XDBSCHEMA_PREFIXES) = 1) then select deleteXML ( P_COMPLEX_TYPE, '/xsd:complexType//xsd:complexType', XDB_NAMESPACES.XDBSCHEMA_PREFIXES ) into V_COMPLEX_TYPE from dual; end if; select XMLCast(XMLQuery('/xs:schema/@attributeFormDefault' passing P_XML_SCHEMA returning content) as VARCHAR2(12)), XMLCast(XMLQuery('/xs:schema/@elementFormDefault' passing P_XML_SCHEMA returning content) as VARCHAR2(12)) into V_ATTRIBUTE_FORM_DEFAULT, V_ELEMENT_FORM_DEFAULT from dual; if (V_ATTRIBUTE_FORM_DEFAULT is null) then V_ATTRIBUTE_FORM_DEFAULT := 'unqualified'; end if; if (V_ELEMENT_FORM_DEFAULT is null) then V_ELEMENT_FORM_DEFAULT := 'qualified'; end if; -- Need to add handling for flattening AttributeGroups select xmlElement ( "Attrs", xmlAttributes('http://xmlns.oracle.com/xdb/pm/demo/search' as "xmlns"), xmlAgg ( xmlelement ( "Attr", xmlAttributes ( ID as "ID", ATTR_REF as "Ref", ATTR_TYPE as "Type", XDBPM.XDBPM_XMLSCHEMA_SEARCH.getSchemaBaseType(ATTR_TYPE, P_TYPE_REFERENCE, P_XML_SCHEMA, P_DEFAULT_PREFIX, P_TARGET_PREFIX, P_NS_PREFIX_MAPPINGS) as "BaseType" ), case when ATTR_NAME is not null then ATTR_NAME else ATTR_REF end ) ) ) into V_ATTRIBUTES from ( select ID, case when ATTR_REF is not NULL then XDBPM.XDBPM_XMLSCHEMA_SEARCH.getGlobalAttributeType(ATTR_REF, a.XMLDATA.PROPREF_REF, P_DEFAULT_PREFIX, P_TARGET_PREFIX, P_NS_PREFIX_MAPPINGS) else XDBPM.XDBPM_XMLSCHEMA_SEARCH.getNodeTypeMapping(ATTR_TYPE, ATTR_BASE_TYPE, P_DEFAULT_PREFIX, P_NS_PREFIX_MAPPINGS) end ATTR_TYPE, XDBPM.XDBPM_XMLSCHEMA_SEARCH.getNodeNameMapping(ATTR_NAME, V_ATTRIBUTE_FORM_DEFAULT, P_TARGET_PREFIX, P_NS_PREFIX_MAPPINGS) ATTR_NAME, XDBPM.XDBPM_XMLSCHEMA_SEARCH.getNodeRefMapping(ATTR_REF, P_DEFAULT_PREFIX, P_NS_PREFIX_MAPPINGS) ATTR_REF from XDB.XDB$ATTRIBUTE a, XMLTABLE ( xmlNamespaces('http://xmlns.oracle.com/xdb' as "xdb"), '/xs:complexType//xs:attribute' passing V_COMPLEX_TYPE columns ID number(38) path '@xdb:propNumber', ATTR_TYPE varchar2(256) path '@type', ATTR_BASE_TYPE varchar2(256) path '//@base', ATTR_NAME varchar2(256) path '@name', ATTR_REF varchar2(256) path '@ref' ) where a.XMLDATA.PROP_NUMBER = ID ); select xmlElement ( "Elements", xmlAttributes('http://xmlns.oracle.com/xdb/pm/demo/search' as "xmlns"), xmlAgg ( xmlelement ( "Element", xmlAttributes ( ID as "ID", ELEMENT_REF as "Ref", ELEMENT_TYPE as "Type" ), case when ELEMENT_NAME is not null then ELEMENT_NAME else ELEMENT_REF end ) ) ) into V_ELEMENTS from ( select ID, XDBPM.XDBPM_XMLSCHEMA_SEARCH.getNodeTypeMapping(ELEMENT_TYPE, ELEMENT_BASE_TYPE, P_DEFAULT_PREFIX, P_NS_PREFIX_MAPPINGS) ELEMENT_TYPE, XDBPM.XDBPM_XMLSCHEMA_SEARCH.getNodeNameMapping(ELEMENT_NAME, V_ELEMENT_FORM_DEFAULT, P_TARGET_PREFIX, P_NS_PREFIX_MAPPINGS) ELEMENT_NAME, XDBPM.XDBPM_XMLSCHEMA_SEARCH.getNodeRefMapping(ELEMENT_REF, P_DEFAULT_PREFIX, P_NS_PREFIX_MAPPINGS) ELEMENT_REF from XMLTABLE ( xmlNamespaces('http://xmlns.oracle.com/xdb' as "xdb"), '/xs:complexType//xs:element' passing V_COMPLEX_TYPE columns ID number(38) path '@xdb:propNumber', ELEMENT_TYPE varchar2(256) path '@type', ELEMENT_BASE_TYPE varchar2(256) path '//@base', ELEMENT_NAME varchar2(256) path '@name', ELEMENT_REF varchar2(256) path '@ref' ) ); select XMLElement ( "Element", xmlAttributes ( P_ELEMENT_ID as "ID", P_TYPE_NAME as "Type", 'http://xmlns.oracle.com/xdb/pm/demo/search' as "xmlns" ), xmlElement ( "Name", P_ELEMENT_NAME ), V_ATTRIBUTES, V_ELEMENTS ) into V_MAPPING from dual; XDB_OUTPUT.writeLogFileEntry('Mapping := '); XDB_OUTPUT.writeLogFileEntry(V_MAPPING); if (V_COMPLEX_TYPE.existsNode('/xsd:complexType/xsd:complexContent/xsd:extension',XDB_NAMESPACES.XDBSCHEMA_PREFIXES) = 1) then return mapExtendedComplexType(V_MAPPING, P_TYPE_NAME, P_COMPLEX_TYPE, P_TYPE_REFERENCE, P_ELEMENT_NAME, P_ELEMENT_ID, P_XML_SCHEMA, P_DEFAULT_PREFIX , P_TARGET_PREFIX, P_NS_PREFIX_MAPPINGS); end if; return V_MAPPING; end; -- function mapLocalType(P_ELEMENT XMLType, P_INSTANCE_OF REF XMLType, P_ELEMENT_NAME VARCHAR2, P_ELEMENT_ID NUMBER, P_XML_SCHEMA XMLType, P_DEFAULT_PREFIX VARCHAR2, P_TARGET_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return XMLType as V_LOCAL_TYPE XMLType; begin if P_ELEMENT.existsNode('/xsd:element/xsd:complexType',XDB_NAMESPACES.XDBSCHEMA_PREFIXES) = 1 then V_LOCAL_TYPE := P_ELEMENT.extract('/xsd:element/xsd:complexType',XDB_NAMESPACES.XDBSCHEMA_PREFIXES); return mapComplexType(NULL, V_LOCAL_TYPE, P_INSTANCE_OF, P_ELEMENT_NAME, P_ELEMENT_ID, P_XML_SCHEMA, P_DEFAULT_PREFIX, P_TARGET_PREFIX, P_NS_PREFIX_MAPPINGS); else V_LOCAL_TYPE := P_ELEMENT.extract('/xsd:element/xsd:simpleType',XDB_NAMESPACES.XDBSCHEMA_PREFIXES); return mapSimpleType(NULL, V_LOCAL_TYPE, P_INSTANCE_OF, P_ELEMENT_NAME, P_ELEMENT_ID, P_XML_SCHEMA, P_DEFAULT_PREFIX, P_TARGET_PREFIX, P_NS_PREFIX_MAPPINGS); end if; end; -- function mapXMLSchemaType(P_ELEMENT_ID number, P_ELEMENT_NAME VARCHAR2, P_TYPE_NAME VARCHAR2,P_XML_SCHEMA XMLType) return XMLType as V_MAPPING XMLType; V_NS_PREFIX_MAPPINGS XMLType; V_TARGET_PREFIX VARCHAR2(32); V_DEFAULT_PREFIX VARCHAR2(32); V_GLOBAL_TYPE XMLType; begin V_NS_PREFIX_MAPPINGS := getSchemaNamespaceMappings(G_SCHEMA_FOR_SCHEMAS); V_DEFAULT_PREFIX := getGlobalPrefixForDefaultNS(V_NS_PREFIX_MAPPINGS); V_TARGET_PREFIX := getGlobalPrefixForTargetNS(G_SCHEMA_FOR_SCHEMAS); if (P_TYPE_NAME <> 'anyType') then if (G_SCHEMA_FOR_SCHEMAS.existsNode('/xsd:schema/xsd:complexType[@name="' || P_TYPE_NAME || '"]',XDB_NAMESPACES.XDBSCHEMA_PREFIXES) = 1 ) then V_GLOBAL_TYPE := G_SCHEMA_FOR_SCHEMAS.extract('/xsd:schema/xsd:complexType[@name="' || P_TYPE_NAME || '"]',XDB_NAMESPACES.XDBSCHEMA_PREFIXES); return mapComplexType(P_TYPE_NAME, V_GLOBAL_TYPE, NULL, P_ELEMENT_NAME, P_ELEMENT_ID, G_SCHEMA_FOR_SCHEMAS, V_DEFAULT_PREFIX, V_TARGET_PREFIX, V_NS_PREFIX_MAPPINGS); end if; if ( G_SCHEMA_FOR_SCHEMAS.existsNode('/xsd:schema/xsd:simpleType[@name="' || P_TYPE_NAME || '"]',XDB_NAMESPACES.XDBSCHEMA_PREFIXES) = 1 ) then V_GLOBAL_TYPE := G_SCHEMA_FOR_SCHEMAS.extract('/xsd:schema/xsd:simpleType[@name="' || P_TYPE_NAME || '"]',XDB_NAMESPACES.XDBSCHEMA_PREFIXES); return mapSimpleType(P_TYPE_NAME, V_GLOBAL_TYPE, NULL, P_ELEMENT_NAME, P_ELEMENT_ID, G_SCHEMA_FOR_SCHEMAS, V_DEFAULT_PREFIX, V_TARGET_PREFIX, V_NS_PREFIX_MAPPINGS); end if; end if; select XMLElement ( "Element", xmlAttributes ( P_ELEMENT_ID as "ID", C_XMLSCHEMA_TNS_PREFIX || ':' || P_TYPE_NAME as "Type", C_XMLSCHEMA_TNS_PREFIX || ':' || P_TYPE_NAME as "BaseType", 'http://xmlns.oracle.com/xdb/pm/demo/search' as "xmlns" ), xmlElement ( "Name", P_ELEMENT_NAME ) ) into V_MAPPING from dual; return V_MAPPING; end; -- function getGlobalType(P_XML_SCHEMA XMLType, P_TYPE_NAME varchar2, P_TYPE_NAMESPACE VARCHAR2) return XMLType as V_GLOBAL_TYPE XMLType; begin if (P_TYPE_NAMESPACE is not null) then begin select XMLQuery('/xs:schema[@targetNamespace=$tn]/xs:complexType[@name=$ct]' passing P_XML_SCHEMA, P_TYPE_NAMESPACE as "tn", P_TYPE_NAME as "ct" returning content) into V_GLOBAL_TYPE from DUAL where XMLExists('/xs:schema[@targetNamespace=$tn]/xs:complexType[@name=$ct]' passing P_XML_SCHEMA, P_TYPE_NAMESPACE as "tn", P_TYPE_NAME as "ct" ); exception when no_data_found then select XMLQuery('/xs:schema[@targetNamespace=$tn]/xs:simpleType[@name=$st]' passing P_XML_SCHEMA, P_TYPE_NAMESPACE as "tn", P_TYPE_NAME as "st" returning content ) into V_GLOBAL_TYPE from DUAL where XMLExists('/xs:schema[@targetNamespace=$tn]/xs:simpleType[@name=$st]' passing P_XML_SCHEMA, P_TYPE_NAMESPACE as "tn", P_TYPE_NAME as "st" ); when others then raise; end; else begin select XMLQuery('/xs:schema[not(@targetNamespace)]/xs:complexType[@name=$ct]' passing P_XML_SCHEMA, P_TYPE_NAME as "ct" returning content ) into V_GLOBAL_TYPE from DUAL where XMLExists('/xs:schema[not(@targetNamespace)]/xs:complexType[@name=$ct]' passing P_XML_SCHEMA, P_TYPE_NAME as "ct"); exception when no_data_found then select XMLQuery('/xs:schema[not(@targetNamespace)]/xs:simpleType[@name=$st]' passing P_XML_SCHEMA, P_TYPE_NAME as "st" returning content ) into V_GLOBAL_TYPE from DUAL where XMLExists('/xs:schema[not(@targetNamespace)]/xs:simpleType[@name=$st]' passing P_XML_SCHEMA, P_TYPE_NAME as "st" ); when others then raise; end; end if; return V_GLOBAL_TYPE; end; -- function mapGlobalTypeDefinition(P_TYPE_NAME VARCHAR2, P_TYPE_REFERENCE REF XMLTYPE, P_ELEMENT_NAME VARCHAR2, P_ELEMENT_ID number, P_XML_SCHEMA XMLType, P_DEFAULT_PREFIX VARCHAR2, P_TARGET_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return XMLType as V_TYPE_PREFIX VARCHAR2(32); V_TYPE_NAMESPACE VARCHAR2(700); V_GLOBAL_TYPE_NAME VARCHAR2(256); V_XML_SCHEMA XMLType; V_GLOBAL_TYPE XMLType; V_NS_PREFIX_MAPPINGS XMLType; V_DEFAULT_PREFIX VARCHAR2(32); V_TARGET_PREFIX VARCHAR2(32); V_EXPANDED_MAPPING XMLType; begin if (instr(P_TYPE_NAME,':') > 0) then V_TYPE_PREFIX := substr(P_TYPE_NAME,1,instr(P_TYPE_NAME,':')-1); V_GLOBAL_TYPE_NAME := substr(P_TYPE_NAME,instr(P_TYPE_NAME,':')+1); else V_TYPE_PREFIX := null; V_GLOBAL_TYPE_NAME := P_TYPE_NAME; end if; -- Hack for conversion to global namespace prefixes. If the prefix doesn't match the known prefixes for the XML Schema -- try to match the prefix in the global set of targetNamespaces begin V_TYPE_NAMESPACE := getNamespaceForPrefix(V_TYPE_PREFIX,P_NS_PREFIX_MAPPINGS); exception when no_data_found then V_TYPE_NAMESPACE := getNamespaceForPrefix(V_TYPE_PREFIX,G_NS_PREFIX_MAPPINGS); end; if (V_TYPE_NAMESPACE = DBMS_XDB_CONSTANTS.NAMESPACE_XMLSCHEMA) then V_TYPE_NAMESPACE := C_XDBPM_XMLSCHEMA_NAMESPACE; end if; XDB_OUTPUT.writeLogFileEntry('mapGlobalTypeDefinition() Type "' || V_GLOBAL_TYPE_NAME || '". Namespace "' || V_TYPE_NAMESPACE || '"'); if (V_TYPE_NAMESPACE = XDB_NAMESPACES.XMLSCHEMA_NAMESPACE) then return mapXMLSchemaType(P_ELEMENT_ID, P_ELEMENT_NAME, V_GLOBAL_TYPE_NAME,P_XML_SCHEMA); else V_XML_SCHEMA := P_XML_SCHEMA; V_GLOBAL_TYPE := NULL; begin select s.OBJECT_VALUE, XMLQuery('/xs:schema/xs:complexType[@name=$ct]' passing s.OBJECT_VALUE, V_GLOBAL_TYPE_NAME as "ct" returning content) into V_XML_SCHEMA, V_GLOBAL_TYPE from XDB.XDB$SCHEMA s, XDB.XDB$COMPLEX_TYPE ct where ref(ct) = P_TYPE_REFERENCE and ref(s) = ct.XMLDATA.PARENT_SCHEMA and s.XMLDATA.SCHEMA_URL != XDB_NAMESPACES.XDBSCHEMA_LOCATION and s.XMLDATA.SCHEMA_URL != XDB_NAMESPACES.RESOURCE_LOCATION; V_XML_SCHEMA := V_XML_SCHEMA.createNonSchemaBasedXML(); V_GLOBAL_TYPE := V_GLOBAL_TYPE.createNonSchemaBasedXML(); V_NS_PREFIX_MAPPINGS := getSchemaNamespaceMappings(V_XML_SCHEMA); V_DEFAULT_PREFIX := getGlobalPrefixForDefaultNS(V_NS_PREFIX_MAPPINGS); V_TARGET_PREFIX := getGlobalPrefixForTargetNS(V_XML_SCHEMA); exception when no_data_found then select s.OBJECT_VALUE, XMLQuery('/xs:schema/xs:simpleType[@name=$st]' passing s.OBJECT_VALUE, V_GLOBAL_TYPE_NAME as "st" returning content) into V_XML_SCHEMA, V_GLOBAL_TYPE from XDB.XDB$SCHEMA s, XDB.XDB$SIMPLE_TYPE st where ref(st) = P_TYPE_REFERENCE and ref(s) = st.XMLDATA.PARENT_SCHEMA and s.XMLDATA.SCHEMA_URL != XDB_NAMESPACES.XDBSCHEMA_LOCATION and s.XMLDATA.SCHEMA_URL != XDB_NAMESPACES.RESOURCE_LOCATION; V_XML_SCHEMA := V_XML_SCHEMA.createNonSchemaBasedXML(); V_GLOBAL_TYPE := V_GLOBAL_TYPE.createNonSchemaBasedXML(); V_NS_PREFIX_MAPPINGS := getSchemaNamespaceMappings(V_XML_SCHEMA); V_DEFAULT_PREFIX := getGlobalPrefixForDefaultNS(V_NS_PREFIX_MAPPINGS); V_TARGET_PREFIX := getGlobalPrefixForTargetNS(V_XML_SCHEMA); when others then raise; end; V_NS_PREFIX_MAPPINGS := P_NS_PREFIX_MAPPINGS; V_DEFAULT_PREFIX := P_DEFAULT_PREFIX ; V_TARGET_PREFIX := P_TARGET_PREFIX ; end if; if (V_GLOBAL_TYPE.existsNode('/xsd:complexType',XDB_NAMESPACES.XDBSCHEMA_PREFIXES) = 1) then V_EXPANDED_MAPPING := mapComplexType(P_TYPE_NAME, V_GLOBAL_TYPE, P_TYPE_REFERENCE, P_ELEMENT_NAME, P_ELEMENT_ID, V_XML_SCHEMA, V_DEFAULT_PREFIX, V_TARGET_PREFIX, V_NS_PREFIX_MAPPINGS); else V_EXPANDED_MAPPING := mapSimpleType(P_TYPE_NAME, V_GLOBAL_TYPE, P_TYPE_REFERENCE, P_ELEMENT_NAME, P_ELEMENT_ID, V_XML_SCHEMA, V_DEFAULT_PREFIX, V_TARGET_PREFIX, V_NS_PREFIX_MAPPINGS); end if; return V_EXPANDED_MAPPING; end; -- function convertName(P_NAME VARCHAR2, P_TARGET_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return VARCHAR2 as begin if (P_TARGET_PREFIX is not NULL) then return P_TARGET_PREFIX || ':' || P_NAME; else return P_NAME; end if; end; -- function mapElement( P_ELEMENT XMLType, P_XML_SCHEMA XMLType, P_HEAD_ELEMENT VARCHAR2, P_INSTANCE_OF REF XMLType default NULL, P_PROPERTY_NUMBER number default NULL) return xmltype -- -- P_INSTANCE_OF contains a REFERENCE to the ELEMENT or GLOBAL_TYPE that defines the structure of this element. -- as V_ELEMENT_ID NUMBER(32); V_ELEMENT_NAME VARCHAR2(256); V_ELEMENT_TYPE VARCHAR2(256); V_ELEMENT_REF VARCHAR2(256); V_NS_PREFIX_MAPPINGS XMLType; V_DEFAULT_PREFIX VARCHAR2(32); V_TARGET_PREFIX VARCHAR2(32); V_ELEMENT_DEFINITION XMLType; begin select ELEMENT_ID, ELEMENT_NAME, ELEMENT_TYPE, ELEMENT_REF into V_ELEMENT_ID, V_ELEMENT_NAME, V_ELEMENT_TYPE, V_ELEMENT_REF from xmltable ( xmlNamespaces('http://xmlns.oracle.com/xdb' as "xdb"), '$e/xs:element' passing P_ELEMENT as "e" columns ELEMENT_ID number(38) path '@xdb:propNumber', ELEMENT_NAME varchar2(256) path '@name', ELEMENT_TYPE varchar2(256) path '@type', ELEMENT_REF varchar2(256) path '@ref' ); V_NS_PREFIX_MAPPINGS := getSchemaNamespaceMappings(P_XML_SCHEMA); V_DEFAULT_PREFIX := getGlobalPrefixForDefaultNS(V_NS_PREFIX_MAPPINGS); V_TARGET_PREFIX := getGlobalPrefixForTargetNS(P_XML_SCHEMA); if (V_ELEMENT_TYPE is not NULL) then V_ELEMENT_TYPE := convertQName(V_ELEMENT_TYPE, V_DEFAULT_PREFIX, V_NS_PREFIX_MAPPINGS); end if; if (V_ELEMENT_REF is not NULL) then V_ELEMENT_REF := convertQName(V_ELEMENT_REF, V_DEFAULT_PREFIX, V_NS_PREFIX_MAPPINGS); end if; if (V_ELEMENT_NAME is not NULL) then V_ELEMENT_NAME := convertName(V_ELEMENT_NAME, V_TARGET_PREFIX, V_NS_PREFIX_MAPPINGS); else V_ELEMENT_NAME := V_ELEMENT_REF; end if; if (P_PROPERTY_NUMBER is not null) then V_ELEMENT_ID := P_PROPERTY_NUMBER; end if; if (V_ELEMENT_TYPE is not null) then V_ELEMENT_DEFINITION := mapGlobalTypeDefinition(V_ELEMENT_TYPE, P_INSTANCE_OF, V_ELEMENT_NAME, V_ELEMENT_ID, P_XML_SCHEMA, V_DEFAULT_PREFIX, V_TARGET_PREFIX, V_NS_PREFIX_MAPPINGS); else if (V_ELEMENT_REF is not null) then V_ELEMENT_DEFINITION := mapGlobalElement(V_ELEMENT_REF, P_INSTANCE_OF, V_ELEMENT_ID, V_ELEMENT_NAME, V_DEFAULT_PREFIX, V_TARGET_PREFIX, V_NS_PREFIX_MAPPINGS); else V_ELEMENT_DEFINITION := mapLocalType(P_ELEMENT, P_INSTANCE_OF, V_ELEMENT_NAME, V_ELEMENT_ID, P_XML_SCHEMA, V_DEFAULT_PREFIX, V_TARGET_PREFIX, V_NS_PREFIX_MAPPINGS); end if; end if; if (P_HEAD_ELEMENT is not null) then select insertChildXML ( V_ELEMENT_DEFINITION, '/Element', '@subGroupHead', P_HEAD_ELEMENT, 'xmlns="http://xmlns.oracle.com/xdb/pm/demo/search"' ) into V_ELEMENT_DEFINITION from dual; end if; return V_ELEMENT_DEFINITION; end; -- function mapGlobalElement(P_GLOBAL_ELEMENT_NAME VARCHAR2, P_GLOBAL_ELEMENT_REF REF XMLType, P_ELEMENT_ID number, P_ELEMENT_NAME VARCHAR2, P_DEFAULT_PREFIX VARCHAR2, P_TARGET_PREFIX VARCHAR2, P_NS_PREFIX_MAPPINGS XMLType) return XMLType -- -- Get Definition of Global Element in specific schema. -- Locate Element by ID -- -- A Global Element can be an instance of a specific global type or it can have a local complex or simple type definition. -- A Global Element cannot be defined as a REF to another global element defined else where. -- A Global Element can the head of a subtitution group. -- A Global Element can be a member of a subtitution group. -- -- Cannot perform affinity search of current schema due to need to check if element is head of a substitution group -- Does not work if Global Element is in XDB$RESOURCE schema or SCHEMA FOR SCHEMAS -- as V_TARGET_NAMESPACE VARCHAR2(700); V_PREFIX VARCHAR2(32); V_LOCAL_NAME VARCHAR2(256); V_ELEMENT XMLType; V_HEAD_ELEMENT NUMBER(38); V_XML_SCHEMA XMLType; V_GLOBAL_TYPE_REF REF XMLType := NULL; begin V_PREFIX := substr(P_GLOBAL_ELEMENT_NAME,1,instr(P_GLOBAL_ELEMENT_NAME,':')-1); V_LOCAL_NAME := substr(P_GLOBAL_ELEMENT_NAME,instr(P_GLOBAL_ELEMENT_NAME,':')+1); V_TARGET_NAMESPACE := getNamespaceForPrefix(V_PREFIX,G_NS_PREFIX_MAPPINGS); XDB_OUTPUT.writeLogFileEntry('Serching for Global Element ' || V_LOCAL_NAME || '. Namespace ' || V_TARGET_NAMESPACE); select s.OBJECT_VALUE, XMLQuery('/xs:schema/xs:element[@name=$en]' passing s.OBJECT_VALUE, V_LOCAL_NAME as "en" returning content ), case when e.XMLDATA.SUBS_GROUP_REFS is not null then e.XMLDATA.PROPERTY.PROP_NUMBER else null end HEAD_ELEMENT, E.XMLDATA.PROPERTY.TYPE_REF into V_XML_SCHEMA, V_ELEMENT, V_HEAD_ELEMENT, V_GLOBAL_TYPE_REF from XDB.XDB$SCHEMA s, XDB.XDB$ELEMENT e where ref(e) = P_GLOBAL_ELEMENT_REF and ref(s) = e.XMLDATA.PROPERTY.PARENT_SCHEMA and s.XMLDATA.SCHEMA_URL != XDB_NAMESPACES.XDBSCHEMA_LOCATION and s.XMLDATA.SCHEMA_URL != XDB_NAMESPACES.RESOURCE_LOCATION; if (V_ELEMENT is null) then -- Hack for PROPREF_REF pointing to head rather than member when REF element is member of substitution group. XDB_OUTPUT.writeLogFileEntry('Serching Substitution Group Members for ' || V_LOCAL_NAME || '. Namespace ' || V_TARGET_NAMESPACE); select s.OBJECT_VALUE, XMLQuery('/xs:schema/xs:element[@name=$en]' passing s.OBJECT_VALUE, V_LOCAL_NAME as "en" returning content ), case when sgm.XMLDATA.SUBS_GROUP_REFS is not null then sgm.XMLDATA.PROPERTY.PROP_NUMBER else null end HEAD_ELEMENT, sgm.XMLDATA.PROPERTY.TYPE_REF into V_XML_SCHEMA, V_ELEMENT, V_HEAD_ELEMENT, V_GLOBAL_TYPE_REF from XDB.XDB$ELEMENT he, XDB.XDB$ELEMENT sgm, XDB.XDB$SCHEMA s, TABLE (he.XMLDATA.SUBS_GROUP_REFS) se where ref(he) = P_GLOBAL_ELEMENT_REF and ref(sgm) = value(se) and sgm.XMLDATA.PROPERTY.NAME = V_LOCAL_NAME and ref(s) = sgm.XMLDATA.PROPERTY.PARENT_SCHEMA; end if; V_XML_SCHEMA := V_XML_SCHEMA.createNonSchemaBasedXML(); V_ELEMENT := V_ELEMENT.createNonSchemaBasedXML(); return mapElement(V_ELEMENT, V_XML_SCHEMA, V_HEAD_ELEMENT, V_GLOBAL_TYPE_REF, P_ELEMENT_ID); end; -- function getRootNodeMap(P_SCHEMA_URL varchar2, P_SCHEMA_OWNER varchar2 default USER, P_GLOBAL_ELEMENT varchar2) return XMLType -- -- Get Definition of Global Element in specific schema. -- Locate Element by Name given Schema URL and OWNER -- List the immediate children of the Global Element -- -- A Global Element can be an instance of a specific global type or it can have a local complex or simple type definition. -- A Global Element cannot be defined as a REF to another global element defined else where. -- A Global Element can the head of a subtitution group. -- A Global Element can be a member of a subtitution group. -- as V_ROOT_NODE_MAP XMLType := null; V_ROOT_NODE XMLType; V_NS_PREFIX_MAPPINGS XMLType; V_XML_SCHEMA XMLType; V_ELEMENT XMLType; V_HEAD_ELEMENT NUMBER(38); V_XML_SCHEMA_TYPE VARCHAR2(11); V_TYPE_REFERENCE REF XMLType := null; V_SCHEMA_URL VARCHAR2(1024) := P_SCHEMA_URL; V_SCHEMA_OWNER VARCHAR2(128) := P_SCHEMA_OWNER; begin XDB_OUTPUT.createLogFile(XDB_CONSTANTS.FOLDER_USER_HOME || '/xmlSchemaSearch.log'); XDB_OUTPUT.writeLogFileEntry('getRootNodeMap() : Processing Element "' || P_GLOBAL_ELEMENT || '" in Schema "' || P_SCHEMA_URL || '". (Owner = "' || P_SCHEMA_OWNER || '").'); if ((P_SCHEMA_URL = DBMS_XDB_CONSTANTS.SCHEMAURL_XDBSCHEMA) and (P_SCHEMA_OWNER = 'XDB')) then V_SCHEMA_URL := C_XDBPM_SCHEMAURL_XMLSCHEMA; V_SCHEMA_OWNER := 'XDBPM'; end if; if ((P_SCHEMA_URL = DBMS_XDB_CONSTANTS.SCHEMAURL_RESOURCE) and (P_SCHEMA_OWNER = 'XDB')) then V_SCHEMA_URL := C_XDBPM_SCHEMAURL_XDBRESOURCE; V_SCHEMA_OWNER := 'XDBPM'; end if; XDB_OUTPUT.writeLogFileEntry('getRootNodeMap() : Target Schema "' || P_SCHEMA_URL || '". (Owner = "' || P_SCHEMA_OWNER || '").'); XDB_OUTPUT.flushLogFile(); select s.OBJECT_VALUE, case when bitand(to_number(s.xmldata.flags, 'xxxxxxxx'), 128) = 12 then 'NONE' else case when bitand(to_number(s.xmldata.flags, 'xxxxxxxx'), 64) = 64 then 'RESMETADATA' else 'CONTENTS' end end HIER_TYPE, XMLQuery('/xs:schema/xs:element[@name=$en]' passing s.OBJECT_VALUE, P_GLOBAL_ELEMENT as "en" returning content ), case when e.XMLDATA.SUBS_GROUP_REFS is not null then e.XMLDATA.PROPERTY.PROP_NUMBER else NULL end HEAD_ELEMENT, E.XMLDATA.PROPERTY.TYPE_REF into V_XML_SCHEMA, V_XML_SCHEMA_TYPE, V_ELEMENT, V_HEAD_ELEMENT, V_TYPE_REFERENCE from XDB.XDB$SCHEMA s, XDB.XDB$ELEMENT e where e.XMLDATA.PROPERTY.NAME = P_GLOBAL_ELEMENT and e.XMLDATA.PROPERTY.GLOBAL = hexToRaw('01') and e.XMLDATA.PROPERTY.PARENT_SCHEMA = ref(s) and s.XMLDATA.SCHEMA_URL = V_SCHEMA_URL and s.XMLDATA.SCHEMA_OWNER = V_SCHEMA_OWNER; V_XML_SCHEMA := V_XML_SCHEMA.createNonSchemaBasedXML(); V_ELEMENT := V_ELEMENT.createNonSchemaBasedXML(); V_ROOT_NODE := mapElement(V_ELEMENT, V_XML_SCHEMA, V_HEAD_ELEMENT, V_TYPE_REFERENCE); select xmlElement( "NodeMap", xmlAttributes( 'http://xmlns.oracle.com/xdb/pm/demo/search' as "xmlns", V_XML_SCHEMA_TYPE as "schemaType" ), G_NS_PREFIX_MAPPINGS, V_ROOT_NODE ) into V_ROOT_NODE_MAP from dual; XDB_OUTPUT.flushLogFile(); return V_ROOT_NODE_MAP; end; -- function getChildNodeMap(P_PROPERTY_NUMBER number) return xmltype as V_ELEMENT XMLType; V_XML_SCHEMA XMLType; V_NS_PREFIX_MAPPINGS XMLType; V_HEAD_ELEMENT NUMBER(38); V_GLOBAL_ELEMENT_REF REF XMLType := null; V_GLOBAL_TYPE_REF REF XMLType := null; V_CHILD_NODE_MAP XMLType; begin XDB_OUTPUT.createLogFile(XDB_CONSTANTS.FOLDER_USER_HOME || '/xmlSchemaSearch.log'); XDB_OUTPUT.writeLogFileEntry('getChildMap() : Processing Element "' || P_PROPERTY_NUMBER || '").'); select s.OBJECT_VALUE, XMLQuery('declare namespace xdb = "http://xmlns.oracle.com/xdb"; /xs:schema//xs:element[@xdb:propNumber=$pn]'passing s.OBJECT_VALUE, P_PROPERTY_NUMBER as "pn" returning content ), case when e.XMLDATA.SUBS_GROUP_REFS is not null then e.XMLDATA.PROPERTY.PROP_NUMBER else null end HEAD_ELEMENT, e.XMLDATA.PROPERTY.PROPREF_REF, e.XMLDATA.PROPERTY.TYPE_REF into V_XML_SCHEMA, V_ELEMENT, V_HEAD_ELEMENT, V_GLOBAL_ELEMENT_REF, V_GLOBAL_TYPE_REF from XDB.XDB$SCHEMA s, XDB.XDB$ELEMENT e where e.XMLDATA.PROPERTY.PROP_NUMBER = P_PROPERTY_NUMBER and e.XMLDATA.PROPERTY.PARENT_SCHEMA = ref(s) and s.XMLDATA.SCHEMA_URL != XDB_NAMESPACES.XDBSCHEMA_LOCATION and s.XMLDATA.SCHEMA_URL != XDB_NAMESPACES.RESOURCE_LOCATION; V_XML_SCHEMA := V_XML_SCHEMA.createNonSchemaBasedXML(); V_ELEMENT := V_ELEMENT.createNonSchemaBasedXML(); if (V_GLOBAL_TYPE_REF is not null) then V_CHILD_NODE_MAP := mapElement(V_ELEMENT, V_XML_SCHEMA, V_HEAD_ELEMENT, V_GLOBAL_TYPE_REF, P_PROPERTY_NUMBER); else V_CHILD_NODE_MAP := mapElement(V_ELEMENT, V_XML_SCHEMA, V_HEAD_ELEMENT, V_GLOBAL_ELEMENT_REF, P_PROPERTY_NUMBER); end if; XDB_OUTPUT.flushLogFile(); return V_CHILD_NODE_MAP; end; -- function getSubstitutionGroup(P_HEAD_ELEMENT NUMBER) return XMLType as V_SUBSTITUTION_GROUP XMLType; begin XDB_OUTPUT.createLogFile(XDB_CONSTANTS.FOLDER_USER_HOME || '/xmlSchemaSearch.log'); XDB_OUTPUT.writeLogFileEntry('getSubstitutionGroup() : Processing Head Element "' || P_HEAD_ELEMENT || '").'); select xmlElement ( "SubGroup", xmlAttributes ( P_HEAD_ELEMENT as "Head", 'http://xmlns.oracle.com/xdb/pm/demo/search' as "xmlns" ), ( select xmlAgg ( xmlElement ( "Element", xmlAttributes(sgm.XMLDATA.PROPERTY.PROP_NUMBER as "ID"), XDBPM.XDBPM_XMLSCHEMA_SEARCH.getGlobalPrefixForNamespace(s.XMLDATA.TARGET_NAMESPACE) || ':' || sgm.XMLDATA.PROPERTY.NAME ) ) from XDB.XDB$ELEMENT he, XDB.XDB$ELEMENT sgm, XDB.XDB$SCHEMA s, TABLE (he.XMLDATA.SUBS_GROUP_REFS) se where ref(sgm) = value(se) and ref(s) = sgm.XMLDATA.PROPERTY.PARENT_SCHEMA and he.XMLDATA.PROPERTY.PROP_NUMBER = P_HEAD_ELEMENT ) ) into V_SUBSTITUTION_GROUP from DUAL; XDB_OUTPUT.flushLogFile(); return V_SUBSTITUTION_GROUP; end; -- procedure getNamespacePrefixMappings as begin select xmlElement ( "Namespaces", xmlagg ( xmlElement ( "Namespace", xmlAttributes(PREFIX as "Prefix"), NAMESPACE ) ) ) into G_NS_PREFIX_MAPPINGS from ( select 'ns' || rownum PREFIX, NAMESPACE from ( select distinct s.XMLDATA.TARGET_NAMESPACE NAMESPACE from XDB.XDB$SCHEMA s where s.XMLDATA.TARGET_NAMESPACE != 'http://www.w3.org/XML/1998/namespace' and s.XMLDATA.TARGET_NAMESPACE != XDB_NAMESPACES.XMLSCHEMA_NAMESPACE and s.XMLDATA.TARGET_NAMESPACE != XDB_NAMESPACES.ORACLE_XDB_NAMESPACE ) union all select 'xs' PREFIX, XDB_NAMESPACES.XMLSCHEMA_NAMESPACE NAMESPACE from DUAL union all select 'xdb' PREFIX, XDB_NAMESPACES.ORACLE_XDB_NAMESPACE NAMESPACE from DUAL order by NAMESPACE ); end; -- procedure loadSchemaForSchemas as begin select SCHEMA into G_SCHEMA_FOR_SCHEMAS from ALL_XML_SCHEMAS where OWNER = 'XDBPM' and SCHEMA_URL = XDBPM.XDBPM_XMLSCHEMA_SEARCH.getXMLSchemaLocation(); G_XMLSCHEMA_NS_PREFIX_MAPPINGS := getSchemaNamespaceMappings(G_SCHEMA_FOR_SCHEMAS); G_XMLSCHEMA_DEFAULT_PREFIX := getGlobalPrefixForDefaultNS(G_XMLSCHEMA_NS_PREFIX_MAPPINGS); G_XMLSCHEMA_TARGET_PREFIX := getGlobalPrefixForTargetNS(G_SCHEMA_FOR_SCHEMAS); end; -- begin XDB_OUTPUT.createLogFile(XDB_CONSTANTS.FOLDER_USER_HOME || '/xmlSchemaSearch.log'); XDB_OUTPUT.writeLogFileEntry('Package Initialization'); getNamespacePrefixMappings(); loadSchemaForSchemas(); XDB_OUTPUT.flushLogFile(); end; / show errors -- set define on -- alter session set current_schema = SYS /
GRANT select on test_db.test_table1 TO dbus; GRANT select on test_db.test_table2 TO dbus; GRANT select on test_db1.test1_table1 TO dbus; flush privileges;
/** Exercicio 3 **/ create database Empresa; Use Empresa; create table Departamento( IdDepartamento int not null, NomeDepartamento varchar(40), constraint PK_IdDepartamento primary key (IdDepartament) ) create table Cargo( IdCargo int not null, NomeCargo varchar(50), SalarioBase float, constraint PK_IdCargo primary key (IdCargo) ) create table Funcionario( IdFunc int not null, NomeFunc varchar(50), CPF int, IdCargo int, IdDepartamento int, constraint PK_IdFuncionario primary key (IdFunc), constraint FK_IdCargo foreign key (IdCargo) references Cargo (IdCargo), constraint FK_IdDepartamento foreign key (IdDepartamento) references Departamento (IdDepartamento) ) create table Projeto( IdProjeto int not null, NomeProjeto varchar(50), DataInicio date, IdDepartamento int, constraint PK_IdProjeto primary key (IdProjeto), constraint FK_IdDepartamentoProj foreign key (IdDepartamento) references Departamento (IdDepartamento) ) create table ProjetoFuncionario( IdFuncionario int, IdProjeto int, constraint FK_IdFuncionarioProjFunc foreign key (IdFuncionario) references Funcionario (IdFunc), constraint FK_IdProjetoProjFunc foreign key (IdProjeto) references Projeto (IdProjeto) ) /** Tabela Cargo **/ INSERT INTO `empresa`.`cargo` (`IdCargo`, `NomeCargo`, `SalarioBase`) VALUES ('1', 'Administrador', '3000'); INSERT INTO `empresa`.`cargo` (`IdCargo`, `NomeCargo`, `SalarioBase`) VALUES ('2', 'Desenvolvedor', '5000'); INSERT INTO `empresa`.`cargo` (`IdCargo`, `NomeCargo`, `SalarioBase`) VALUES ('3', 'Desenvolvedor', '5000'); INSERT INTO `empresa`.`cargo` (`IdCargo`, `NomeCargo`, `SalarioBase`) VALUES ('4', 'CEO', '7000'); INSERT INTO `empresa`.`cargo` (`IdCargo`, `NomeCargo`, `SalarioBase`) VALUES ('5', 'Investidor', '2500'); /** Tabela Departamento **/ INSERT INTO `empresa`.`departamento` (`IdDepartamento`, `NomeDepartamento`) VALUES ('100', 'Administração'); INSERT INTO `empresa`.`departamento` (`IdDepartamento`, `NomeDepartamento`) VALUES ('101', 'Desenvolvimento'); INSERT INTO `empresa`.`departamento` (`IdDepartamento`, `NomeDepartamento`) VALUES ('102', 'Presidencia'); INSERT INTO `empresa`.`departamento` (`IdDepartamento`, `NomeDepartamento`) VALUES ('103', 'Investimento'); INSERT INTO `empresa`.`departamento` (`IdDepartamento`, `NomeDepartamento`) VALUES ('104', 'Vendas'); /** Tabela Funcionario **/ INSERT INTO `empresa`.`funcionario` (`IdFunc`, `NomeFunc`, `CPF`, `IdCargo`, `IdDepartamento`) VALUES ('345', '<NAME>', '1234', '3', '101'); INSERT INTO `empresa`.`funcionario` (`IdFunc`, `NomeFunc`, `CPF`, `IdCargo`, `IdDepartamento`) VALUES ('346', '<NAME>', '12345', '4', '102'); INSERT INTO `empresa`.`funcionario` (`IdFunc`, `NomeFunc`, `CPF`, `IdCargo`, `IdDepartamento`) VALUES ('347', '<NAME>', '123456', '1', '100'); INSERT INTO `empresa`.`funcionario` (`IdFunc`, `NomeFunc`, `CPF`, `IdCargo`, `IdDepartamento`) VALUES ('348', '<NAME>', '123467', '4', '102'); INSERT INTO `empresa`.`funcionario` (`IdFunc`, `NomeFunc`, `CPF`, `IdCargo`, `IdDepartamento`) VALUES ('349', 'Lois Lane', '123456778', '4', '102'); INSERT INTO `empresa`.`funcionario` (`IdFunc`, `NomeFunc`, `CPF`, `IdCargo`, `IdDepartamento`) VALUES ('350', '<NAME>', '123444982', '1', '100'); /** Tabela Projeto **/ INSERT INTO `empresa`.`projeto` (`IdProjeto`, `NomeProjeto`, `DataInicio`, `IdDepartamento`) VALUES ('500', 'Voce sangra?', '2020-06-01', '102'); INSERT INTO `empresa`.`projeto` (`IdProjeto`, `NomeProjeto`, `DataInicio`, `IdDepartamento`) VALUES ('501', 'Investimento em "Rastreio seu pai"?', '2020-05-03', '103'); INSERT INTO `empresa`.`projeto` (`IdProjeto`, `NomeProjeto`, `DataInicio`, `IdDepartamento`) VALUES ('502', 'Jovens titans', '2020-05-07', '100'); INSERT INTO `empresa`.`projeto` (`IdProjeto`, `NomeProjeto`, `DataInicio`, `IdDepartamento`) VALUES ('503', 'Jornal online', '2020-12-06', '101'); INSERT INTO `empresa`.`projeto` (`IdProjeto`, `NomeProjeto`, `DataInicio`, `IdDepartamento`) VALUES ('504', 'Venada do Jornal online', '2020-11-10', '104'); /** Tabela ProjetoFuncionario **/ INSERT INTO `empresa`.`projetofuncionario` (`IdFuncionario`,`IdProjeto`) VALUES ('348','500'); INSERT INTO `empresa`.`projetofuncionario` (`IdFuncionario`,`IdProjeto`) VALUES ('345','500'); INSERT INTO `empresa`.`projetofuncionario` (`IdFuncionario`,`IdProjeto`) VALUES ('347','501'); INSERT INTO `empresa`.`projetofuncionario` (`IdFuncionario`,`IdProjeto`) VALUES ('346','501'); INSERT INTO `empresa`.`projetofuncionario` (`IdFuncionario`,`IdProjeto`) VALUES ('350','502'); INSERT INTO `empresa`.`projetofuncionario` (`IdFuncionario`,`IdProjeto`) VALUES ('345','504'); /** a **/ SELECT b.NomeFunc FROM projetofuncionario a INNER JOIN funcionario b ON a.IdFuncionario = b.IdFunc INNER JOIN projeto c ON a.IdProjeto = c.IdProjeto INNER JOIN departamento d ON d.IdDepartamento = c.IdDepartamento WHERE d.NomeDepartamento = 'Vendas' /** b **/ SELECT COUNT(*) FROM projetofuncionario a INNER JOIN funcionario b ON a.IdFuncionario = b.IdFunc WHERE b.NomeFunc = '<NAME>'; /** c **/ SELECT c.NomeProjeto, d.NomeDepartamento FROM projetofuncionario a INNER JOIN funcionario b ON a.IdFuncionario = b.IdFunc INNER JOIN projeto c ON a.IdProjeto = c.IdProjeto INNER JOIN departamento d ON c.IdDepartamento = d.IdDepartamento WHERE b.IdFunc = '345' /** d **/ SELECT * FROM cargo order by SalarioBase DESC LIMIT 3 /** e **/ SELECT b.NomeFunc FROM cargo a INNER JOIN funcionario b ON a.IdCargo = b.IdCargo order by SalarioBase DESC LIMIT 10 /** f **/ SELECT e.NomeCargo, b.NomeFunc, d.IdDepartamento, d.NomeDepartamento, c.NomeProjeto FROM projetofuncionario a INNER JOIN funcionario b ON a.IdFuncionario = b.IdFunc INNER JOIN projeto c ON c.IdProjeto = a.IdProjeto INNER JOIN departamento d ON c.IdDepartamento = d.IdDepartamento INNER JOIN cargo e ON b.IdCargo = e.IdCargo WHERE c.DataInicio between '2020-01-01' and '2020-10-01' ORDER BY NomeProjeto
<gh_stars>1-10 /*数据库1 demo1*/ CREATE TABLE `user_account` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '用户id', `name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '姓名', `age` int(4) DEFAULT NULL COMMENT '年龄', `creator` bigint(20) DEFAULT NULL COMMENT '创建人', `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', `modifier` bigint(20) DEFAULT NULL COMMENT '修改人', `gmt_modify` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间', `is_deleted` tinyint(1) NOT NULL DEFAULT '0' COMMENT '逻辑删除', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='用户表'; /*数据库2 demo2*/ CREATE TABLE `user_order` ( `id` bigint(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '订单id', `user_id` bigint(20) DEFAULT NULL COMMENT '用户id', `order_name` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '订单名称', `order_amount` bigint(20) DEFAULT NULL COMMENT '订单金额,单位分', `creator` bigint(20) DEFAULT NULL COMMENT '创建人', `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', `modifier` bigint(20) DEFAULT NULL COMMENT '修改人', `gmt_modify` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间', `is_deleted` tinyint(1) NOT NULL DEFAULT '0' COMMENT '逻辑删除', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='用户订单表';
<filename>Hello-World/hello_world_chandu6111.sql ''' LANGUAGE: MySQL AUTHOR: chandu6111 GITHUB: https://github.com/chandu6111 ''' mysql>select "Hello world" as message; ''' Output: +-------------+ | message | +-------------+ | Hello world | +-------------+ '''
INSERT INTO samply.configuration(name, setting, visible) values('EXPORT_TIMEOUT_IN_MINUTES', '360', false);
<filename>kata-files/lesson2/hsql/expected/MYLARGESCHEMA/sp/SP505.sql CREATE PROCEDURE SP505(OUT MYCOUNT INTEGER) SPECIFIC SP505_46658 LANGUAGE SQL NOT DETERMINISTIC READS SQL DATA NEW SAVEPOINT LEVEL BEGIN ATOMIC DECLARE MYVAR INT;SELECT COUNT(*)INTO MYCOUNT FROM TABLE245;SELECT COUNT(*)INTO MYCOUNT FROM TABLE90;SELECT COUNT(*)INTO MYCOUNT FROM TABLE191;SELECT COUNT(*)INTO MYCOUNT FROM VIEW71;SELECT COUNT(*)INTO MYCOUNT FROM VIEW56;SELECT COUNT(*)INTO MYCOUNT FROM VIEW45;CALL SP571(MYVAR);CALL SP58(MYVAR);CALL SP107(MYVAR);CALL SP781(MYVAR);END GO
CREATE TABLE test_broken ( id SMALLINT UNSIGNED NULL AUTO_INCREMENT, value1 VARCHAR(45) NOT NULL, value2 VARCHAR(45) NOT NULL, val_enum enum('postgresql','rocks') null, last_update TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY idx_actor_last_name (value2) )ENGINE=InnoDB DEFAULT CHARSET=utf8;
<filename>data/cityon.sql /* SQLyog Ultimate v10.42 MySQL - 5.5.38-0ubuntu0.12.04.1 : Database - cityon ********************************************************************* */ /*!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*/`cityon` /*!40100 DEFAULT CHARACTER SET utf8 */; USE `cityon`; /*Table structure for table `admin` */ DROP TABLE IF EXISTS `admin`; CREATE TABLE `admin` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `usertype` float unsigned DEFAULT '0' COMMENT '用户类型', `userid` char(30) NOT NULL DEFAULT '' COMMENT '用户登录ID', `pwd` char(54) NOT NULL DEFAULT '' COMMENT '用户密码', `uname` char(20) NOT NULL DEFAULT '' COMMENT '用户笔名', `tname` char(30) NOT NULL DEFAULT '' COMMENT '真实姓名', `email` char(30) NOT NULL DEFAULT '' COMMENT '电子邮箱', `typeid` text COMMENT '负责频道(0表示全部)', `logintime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '登录时间', `loginip` varchar(20) NOT NULL DEFAULT '' COMMENT '登录IP', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; /*Table structure for table `admintype` */ DROP TABLE IF EXISTS `admintype`; CREATE TABLE `admintype` ( `rank` float NOT NULL DEFAULT '1' COMMENT '组级别编号', `typename` varchar(30) NOT NULL DEFAULT '' COMMENT '组名称', `system` smallint(6) NOT NULL DEFAULT '0' COMMENT '是否为系统默认组', `purviews` text COMMENT '权限列表', PRIMARY KEY (`rank`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*Table structure for table `advert` */ DROP TABLE IF EXISTS `advert`; CREATE TABLE `advert` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(500) NOT NULL DEFAULT '', `link` text, `img` varchar(200) DEFAULT NULL, `is_show` tinyint(1) NOT NULL DEFAULT '1', `sequence` smallint(4) DEFAULT '1', `add_time` datetime DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8; /*Table structure for table `category` */ DROP TABLE IF EXISTS `category`; CREATE TABLE `category` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL DEFAULT '', `description` text, `parent_id` int(10) unsigned NOT NULL DEFAULT '0', `cat_path` varchar(200) DEFAULT NULL, `status` tinyint(1) unsigned NOT NULL DEFAULT '1', `order` int(10) unsigned NOT NULL DEFAULT '100', `add_time` datetime DEFAULT NULL, `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; /*Table structure for table `config` */ DROP TABLE IF EXISTS `config`; CREATE TABLE `config` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '全站配置信息自增id', `parent_id` smallint(5) NOT NULL DEFAULT '0' COMMENT '父节点id,取值于该表id字段的值', `code` varchar(30) NOT NULL COMMENT '全站配置信息列代码', `name` varchar(50) NOT NULL COMMENT '配置名称', `type` varchar(10) NOT NULL DEFAULT '' COMMENT '该配置的类型,text,文本输入框;password,密码输入框;textarea,文本区域;select,单选;options循环生成多选;file,文件上传;manual,手动生成多选;group,是标题分组;hidden,不在页面显示', `store_range` varchar(255) NOT NULL DEFAULT '' COMMENT '当语言包中的code字段对应的是一个数组时,那该处就是该数组的索引,如$_LANG[''cfg_range''] [''cart_confirm''][1];只有type字段为select,options时有值', `store_range_name` varchar(255) DEFAULT NULL COMMENT '与store_range一一对应', `store_dir` varchar(255) NOT NULL DEFAULT '' COMMENT '当type为file时才有值,文件上传后的保存目录', `value` varchar(255) DEFAULT NULL, `sort_order` tinyint(3) NOT NULL DEFAULT '1' COMMENT '显示顺序,数字越大越靠后', PRIMARY KEY (`id`), UNIQUE KEY `code` (`code`) ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='全站配置信息表'; /*Table structure for table `contact` */ DROP TABLE IF EXISTS `contact`; CREATE TABLE `contact` ( `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, `zh_title` varchar(100) NOT NULL DEFAULT '', `en_title` varchar(100) NOT NULL DEFAULT '', `zh_name` varchar(100) NOT NULL DEFAULT '' COMMENT '姓名(中文)', `en_name` varchar(200) NOT NULL DEFAULT '' COMMENT '姓名(英文)', `zh_position` varchar(100) NOT NULL DEFAULT '' COMMENT '职位(中文)', `en_position` varchar(200) NOT NULL DEFAULT '' COMMENT '职位(英文)', `zh_address` text, `en_address` text, `zip` char(6) NOT NULL DEFAULT '', `email` varchar(100) DEFAULT '', `tel` varchar(50) DEFAULT NULL, `fax` varchar(50) DEFAULT NULL, `sequence` tinyint(3) NOT NULL DEFAULT '1', `is_delete` tinyint(1) NOT NULL DEFAULT '0', `add_time` datetime DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; /*Table structure for table `guestbook` */ DROP TABLE IF EXISTS `guestbook`; CREATE TABLE `guestbook` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `user_name` varchar(30) NOT NULL DEFAULT '', `content` text NOT NULL, `email` varchar(100) NOT NULL DEFAULT '', `oicq` char(12) DEFAULT NULL, `weburl` varchar(100) DEFAULT NULL, `ip` varchar(15) DEFAULT NULL, `add_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `is_show` tinyint(1) NOT NULL DEFAULT '1', `reply` text, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8; /*Table structure for table `join_us` */ DROP TABLE IF EXISTS `join_us`; CREATE TABLE `join_us` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `zh_name` varchar(200) NOT NULL DEFAULT '' COMMENT '职位名称(中文)', `en_name` varchar(200) NOT NULL DEFAULT '' COMMENT '职位名称(英文)', `total` varchar(100) NOT NULL DEFAULT '' COMMENT '人数', `zh_position` varchar(60) NOT NULL DEFAULT '' COMMENT '工作地点(中文)', `en_position` varchar(60) NOT NULL DEFAULT '' COMMENT '工作地点(英文)', `zh_salary` varchar(100) NOT NULL DEFAULT '' COMMENT '薪水范围(中文)', `en_salary` varchar(100) DEFAULT '' COMMENT '薪水范围(英文)', `zh_experience` varchar(60) NOT NULL DEFAULT '' COMMENT '工作年限(中文)', `en_experience` varchar(60) NOT NULL DEFAULT '' COMMENT '工作年限(英文)', `edu` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '教育背景(1)', `zh_address` varchar(200) NOT NULL DEFAULT '' COMMENT '办公地点(中文)', `en_address` varchar(200) NOT NULL DEFAULT '' COMMENT '办公地点(英文)', `prescription` varchar(100) NOT NULL DEFAULT '' COMMENT 'prescrition', `is_delete` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否删除', `add_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT '添加时间', PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; /*Table structure for table `magazine` */ DROP TABLE IF EXISTS `magazine`; CREATE TABLE `magazine` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '编号', `zh_issue` varchar(200) NOT NULL DEFAULT '' COMMENT '期数(中文)', `en_issue` varchar(200) NOT NULL DEFAULT '' COMMENT '期数(英文)', `zh_title` varchar(200) NOT NULL DEFAULT '' COMMENT '刊名(中文)', `en_title` varchar(200) NOT NULL DEFAULT '' COMMENT '刊名(英文)', `cover_pic` varchar(100) NOT NULL DEFAULT '' COMMENT '封面', `is_delete` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '删除', `sequence` tinyint(3) NOT NULL DEFAULT '1' COMMENT '排序', `add_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT '添加时间', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; /*Table structure for table `magazine_items` */ DROP TABLE IF EXISTS `magazine_items`; CREATE TABLE `magazine_items` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `m_id` int(11) unsigned NOT NULL, `pic` varchar(100) NOT NULL DEFAULT '', `sequence` tinyint(3) NOT NULL DEFAULT '1', PRIMARY KEY (`id`), KEY `m_id` (`m_id`), CONSTRAINT `m_id` FOREIGN KEY (`m_id`) REFERENCES `magazine` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8; /*Table structure for table `post` */ DROP TABLE IF EXISTS `post`; CREATE TABLE `post` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `zh_title` varchar(255) NOT NULL DEFAULT '', `en_title` varchar(255) NOT NULL, `zh_summary` text, `en_summary` text, `pic` varchar(200) DEFAULT NULL COMMENT '列表页图片', `m_pic` varchar(200) DEFAULT NULL COMMENT '手机端详细页顶部图片', `zh_content` text NOT NULL, `en_content` text, `zh_author` varchar(255) NOT NULL DEFAULT '', `en_author` varchar(255) NOT NULL DEFAULT '', `zh_date` varchar(255) NOT NULL DEFAULT '' COMMENT '日期(中文)', `en_date` varchar(255) NOT NULL DEFAULT '' COMMENT '日期(英文)', `zh_source` varchar(255) DEFAULT 'CityOn', `en_source` varchar(255) DEFAULT 'CityOn', `post_type` tinyint(1) unsigned NOT NULL DEFAULT '1', `zh_tag` varchar(200) NOT NULL DEFAULT '' COMMENT '标签(中文)', `en_tag` varchar(200) NOT NULL DEFAULT '' COMMENT '标签(英文)', `show_subhead` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否显示(日期/来源)', `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '(0-已删除;1-显示;2-审核中)', `order` int(10) unsigned NOT NULL DEFAULT '100', `add_time` datetime NOT NULL, `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8; /*Table structure for table `region` */ DROP TABLE IF EXISTS `region`; CREATE TABLE `region` ( `region_id` int(11) unsigned NOT NULL AUTO_INCREMENT, `parent_id` int(11) unsigned NOT NULL DEFAULT '0', `region_name` varchar(120) NOT NULL DEFAULT '', `region_type` tinyint(1) NOT NULL DEFAULT '2', `agency_id` smallint(5) unsigned NOT NULL DEFAULT '0', `region_sn` varchar(20) NOT NULL, `zip` varchar(6) DEFAULT NULL, PRIMARY KEY (`region_id`), KEY `parent_id` (`parent_id`) USING BTREE, KEY `region_type` (`region_type`) USING BTREE, KEY `agency_id` (`agency_id`) USING BTREE, KEY `region_sn` (`region_sn`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=990101 DEFAULT CHARSET=utf8 COMMENT='地区表'; /*Table structure for table `site` */ DROP TABLE IF EXISTS `site`; CREATE TABLE `site` ( `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id', `code` varchar(60) NOT NULL COMMENT '代码', `zh_name` varchar(200) NOT NULL COMMENT '名称', `en_name` varchar(200) NOT NULL COMMENT '英文名称', `zh_keyword` varchar(200) DEFAULT NULL COMMENT '关键字', `en_keyword` varchar(200) DEFAULT NULL COMMENT '英文关键字', `zh_description` varchar(600) DEFAULT NULL COMMENT '中文描述', `en_description` varchar(600) DEFAULT NULL COMMENT '英文描述信息', `zh_content` text NOT NULL COMMENT '内容', `en_content` text NOT NULL COMMENT '英文内容', `m_pic` varchar(200) DEFAULT NULL COMMENT '手机端详细页顶部图片', `zh_author` varchar(60) DEFAULT NULL COMMENT '作者', `en_author` varchar(60) DEFAULT NULL COMMENT '英文作者', `zh_date` varchar(255) NOT NULL DEFAULT '' COMMENT '日期(中文)', `en_date` varchar(255) NOT NULL DEFAULT '' COMMENT '日期(英文)', `zh_source` varchar(100) DEFAULT NULL COMMENT '来源', `en_source` varchar(100) DEFAULT NULL COMMENT '英文来源', `is_show` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否显示', `is_delete` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否删除', `add_time` int(10) NOT NULL COMMENT '添加时间', `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8; /*Table structure for table `subscribe` */ DROP TABLE IF EXISTS `subscribe`; CREATE TABLE `subscribe` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `email` varchar(200) NOT NULL DEFAULT '', `is_delete` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否删除', `add_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; /*Table structure for table `sys_acl` */ DROP TABLE IF EXISTS `sys_acl`; CREATE TABLE `sys_acl` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `role_name` varchar(60) NOT NULL, `resource_name` varchar(60) NOT NULL, `add_time` datetime NOT NULL, KEY `AclID` (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=228 DEFAULT CHARSET=utf8; /*Table structure for table `sys_resource` */ DROP TABLE IF EXISTS `sys_resource`; CREATE TABLE `sys_resource` ( `module` varchar(60) NOT NULL, `controller` varchar(60) NOT NULL, `action` varchar(60) NOT NULL, `add_time` datetime NOT NULL, UNIQUE KEY `PR_action` (`module`,`controller`,`action`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*Table structure for table `sys_role` */ DROP TABLE IF EXISTS `sys_role`; CREATE TABLE `sys_role` ( `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(60) NOT NULL, `cn_name` varchar(60) DEFAULT NULL, `parent_name` varchar(60) DEFAULT NULL, `status` tinyint(1) unsigned NOT NULL DEFAULT '1', `add_time` datetime NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=42 DEFAULT CHARSET=utf8; /*!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 */;
SELECT relname as "Table", pg_size_pretty(pg_total_relation_size(relid)) As "Size", pg_size_pretty(pg_total_relation_size(relid) - pg_relation_size(relid)) as "External Size" FROM pg_catalog.pg_statio_user_tables ORDER BY pg_total_relation_size(relid) DESC;
-- type mismatch between first select item in select lilst and the attribute component in vclass foo_u autocommit off; create class foo ( component string, quantity integer ); create vclass foo_u ( component string, quantity integer ) as select set (select component from foo), quantity from foo; rollback work; rollback;
<filename>L2J_DataPack/sql/walker_routes.sql DROP TABLE IF EXISTS `walker_routes`; CREATE TABLE `walker_routes` ( `route_id` int(11) NOT NULL default '0', `npc_id` int(11) NOT NULL default '0', `move_point` int(9) NOT NULL, `chatText` varchar(255) default NULL, `move_x` int(9) NOT NULL default '0', `move_y` int(9) NOT NULL default '0', `move_z` int(9) NOT NULL default '0', `delay` int(9) NOT NULL default '0', `running` tinyint(1) NOT NULL default '0', PRIMARY KEY (`route_id`,`npc_id`,`move_point`) ); INSERT INTO `walker_routes` VALUES (1,31361,1,NULL,22418,10249,-3648,61,1), (1,31361,2,NULL,23423,11165,-3720,0,1), (1,31361,3,NULL,20182,11101,-3720,0,1), (1,31361,4,NULL,17327,13603,-3728,1,1), (1,31361,5,'The mass of darkness will start in a couple of days. Pay more attention to the guard!',17410,13038,-3736,10,1), (1,31361,6,NULL,20176,12902,-3712,0,1), (1,31361,7,NULL,21669,13378,-3616,0,1), (1,31361,8,NULL,20675,10401,-3712,0,1), (2,31360,1,NULL,10820,14770,-4240,62,0), (2,31360,2,NULL,10947,14642,-4240,0,0), (2,31360,3,NULL,11301,15844,-4584,0,0), (2,31360,4,NULL,12107,16431,-4584,0,0), (2,31360,5,'You''re a hard worker,Rayla!',15097,15662,-4376,6,0), (2,31360,6,NULL,15269,16281,-4376,7,0), (2,31360,7,NULL,12336,16921,-4584,0,0), (2,31360,8,NULL,11786,17663,-4564,0,0), (2,31360,9,NULL,11246,17650,-4568,0,0), (2,31360,10,NULL,10649,17284,-4584,0,0), (2,31360,11,'You''re a hard worker!',7692,18041,-4376,6,0), (2,31360,12,NULL,10549,16780,-4584,0,0), (2,31360,13,NULL,10722,16538,-4584,0,0), (2,31360,14,NULL,11008,15927,-4584,0,0), (3,31362,1,'Mr. Lid,Murdoc,and Airy! How are you doing?',114847,-180066,-877,30,0), (3,31362,2,NULL,114834,-179685,-877,2,0), (3,31362,3,NULL,116122,-179457,-1068,1,0), (3,31362,4,NULL,116798,-180391,-1200,2,0), (3,31362,5,NULL,116324,-181564,-1384,2,0), (3,31362,6,NULL,115797,-181563,-1336,0,0), (3,31362,7,'Care to go a round?',116054,-181575,-1352,0,0), (3,31362,8,NULL,116506,-181478,-1384,2,0), (3,31362,9,NULL,116634,-180029,-1160,1,0), (3,31362,10,NULL,115347,-178623,-928,1,0), (3,31362,11,NULL,115763,-177591,-888,2,0), (3,31362,12,'Have a nice day,Mr. Garita and Mion!',115801,-177342,-880,1,0), (3,31362,13,NULL,115869,-177340,-880,15,0), (3,31362,14,NULL,115788,-177482,-880,3,0), (3,31362,15,NULL,115124,-179821,-885,1,0), (3,31362,16,NULL,115103,-180065,-877,1,0), (4,31363,1,'Where is that fool hiding?',116731,-182477,-1512,10,1), (4,31363,2,NULL,115870,-183280,-1472,0,1), (4,31363,3,NULL,115746,-183428,-1472,1,1), (4,31363,4,NULL,115870,-183280,-1472,1,1), (4,31363,5,NULL,115999,-183246,-1480,0,1), (4,31363,6,NULL,116094,-183113,-1480,1,1), (4,31363,7,'Have you seen Torocco today?',116584,-184294,-1568,11,1), (4,31363,8,NULL,116392,-184100,-1560,1,1), (4,31363,9,NULL,117093,-182524,-1528,1,1), (4,31363,10,'Have you seen Torocco?',117789,-182540,-1528,11,1), (5,31359,1,NULL,45744,50561,-3065,61,0), (5,31359,2,NULL,46444,49742,-3065,2,0), (5,31359,3,'How can we save the Mother Tree?',46103,48798,-3065,5,0), (5,31359,4,'The Mother Tree is slowly dying',45403,48436,-3065,5,0), (5,31359,5,NULL,44444,49078,-3065,0,0), (5,31359,6,NULL,44414,50025,-3065,0,0), (5,31359,7,NULL,44957,50568,-3065,0,0), (5,31359,8,NULL,44414,50025,-3065,0,0), (5,31359,9,NULL,44444,49078,-3065,0,0), (5,31359,10,'The Mother Tree is slowly dying',45403,48436,-3065,5,0), (5,31359,11,'How can we save the Mother Tree?',46103,48798,-3065,5,0), (5,31359,12,NULL,46444,49742,-3065,2,0), (6,31358,1,'<NAME>,may the peace of the lake be with you!',47015,51278,-2992,65,0), (6,31358,2,NULL,47437,50441,-2992,0,0), (6,31358,3,NULL,47509,49038,-2992,0,0), (6,31358,4,NULL,46725,47755,-2992,0,0), (6,31358,5,'The Mother Tree is always so gorgeous!',45319,47339,-2992,5,0), (6,31358,6,NULL,43998,47672,-2992,0,0), (6,31358,7,NULL,43037,49310,-2992,0,0), (6,31358,8,NULL,43310,50382,-2992,0,0), (6,31358,9,NULL,43896,51060,-2992,0,0), (6,31358,10,NULL,43312,50362,-2992,0,0), (6,31358,11,NULL,43040,49311,-2992,0,0), (6,31358,12,NULL,44018,47645,-2992,0,0), (6,31358,13,'The Mother Tree is always so gorgeous!',45301,47340,-2992,5,0), (6,31358,14,NULL,46693,47752,-2992,0,0), (6,31358,15,NULL,47489,48976,-2992,0,0), (6,31358,16,NULL,47441,50455,-2992,0,0), (7,31357,1,'Where did he go?',-86328,241120,-3734,60,0), (7,31357,2,NULL,-86505,240727,-3704,0,0), (7,31357,3,NULL,-86081,240402,-3712,0,0), (7,31357,4,'Have you seen Windawood?',-86078,240853,-3720,15,0), (7,31357,5,NULL,-85957,241389,-3728,0,0), (7,31357,6,'Where has he gone?',-83993,242766,-3728,10,0), (7,31357,7,NULL,-82952,244461,-3728,0,0), (7,31357,8,NULL,-82370,244919,-3720,0,0), (7,31357,9,NULL,-82129,245020,-3720,0,0), (7,31357,10,NULL,-82198,245350,-3712,0,0), (7,31357,11,NULL,-82554,245137,-3716,1,0), (7,31357,12,NULL,-82198,245350,-3712,0,0), (7,31357,13,NULL,-82129,245020,-3720,0,0), (7,31357,14,NULL,-82370,244919,-3720,0,0), (7,31357,15,NULL,-82952,244461,-3728,0,0), (7,31357,16,'Where has he gone?',-83993,242766,-3728,10,0), (7,31357,17,NULL,-85957,241389,-3728,0,0), (7,31357,18,'Have you seen Windawood?',-86078,240853,-3720,15,0), (7,31357,19,NULL,-86081,240402,-3712,0,0), (7,31357,20,NULL,-86505,240727,-3704,0,0), (8,31356,1,'A delivery for <NAME>? Very good!',-81681,243384,-3712,61,1), (8,31356,2,NULL,-81915,243870,-3712,1,1), (8,31356,3,NULL,-82084,243659,-3712,0,1), (8,31356,4,NULL,-83148,243731,-3728,0,1), (8,31356,5,'I need a break!',-84497,243241,-3728,6,1), (8,31356,6,NULL,-85212,243184,-3728,0,1), (8,31356,7,NULL,-86161,242898,-3728,0,1), (8,31356,8,NULL,-86281,242963,-3720,0,1), (8,31356,9,'Hello,Mr. Lector! Long time no see,Mr. Jackson!',-86356,243201,-3720,7,1), (8,31356,10,NULL,-86491,242781,-3720,0,1), (8,31356,11,NULL,-86497,242585,-3728,0,1), (8,31356,12,NULL,-86114,241587,-3728,0,1), (8,31356,13,NULL,-85184,240679,-3728,0,1), (8,31356,14,'Lulu!',-84075,241282,-3728,3,1), (8,31356,15,'Lulu!',-84075,241282,-3728,3,1), (8,31356,16,'Lulu!',-83709,241238,-3728,0,1), (8,31356,17,NULL,-83182,241141,-3728,1,1), (8,31356,18,NULL,-82383,242926,-3720,1,1), (9,31364,1,NULL,-46506,-109402,-238,10,0), (9,31364,2,NULL,-45752,-111652,-240,0,0), (9,31364,3,NULL,-44028,-112688,-240,0,0), (9,31364,4,NULL,-44049,-114536,-240,0,0), (9,31364,5,NULL,-45540,-115415,-240,0,0), (9,31364,6,NULL,-46526,-117731,-240,0,0), (9,31364,7,NULL,-45540,-115415,-240,0,0), (9,31364,8,NULL,-44049,-114536,-240,0,0), (9,31364,9,NULL,-44028,-112688,-240,0,0), (9,31364,10,NULL,-45752,-111652,-240,0,0), (10,31365,1,NULL,-48807,-113489,-241,61,0), (10,31365,2,NULL,-48821,-113746,-232,1,0), (10,31365,3,NULL,-48823,-113505,-232,61,0), (10,31365,4,NULL,-47339,-113581,-232,1,0), (10,31365,5,NULL,-45740,-113562,-240,0,0), (10,31365,6,NULL,-44851,-112965,-240,0,0), (10,31365,7,NULL,-44308,-113207,-240,0,0), (10,31365,8,NULL,-44204,-113743,-240,0,0), (10,31365,9,NULL,-44659,-114171,-240,0,0), (10,31365,10,NULL,-45167,-114034,-224,0,0), (10,31365,11,NULL,-45658,-113633,-240,0,0), (10,31365,12,NULL,-47363,-113621,-224,0,0), (10,31365,13,NULL,-48829,-113746,-232,0,0), (10,31365,14,NULL,-47363,-113621,-224,0,0), (10,31365,15,NULL,-45658,-113633,-240,0,0), (10,31365,16,NULL,-45167,-114034,-224,0,0), (10,31365,17,NULL,-44659,-114171,-240,0,0), (10,31365,18,NULL,-44204,-113743,-240,0,0), (10,31365,19,NULL,-44308,-113207,-240,0,0), (10,31365,20,NULL,-44851,-112965,-240,0,0), (10,31365,21,NULL,-45740,-113562,-240,1,0), (11,32072,1,NULL,84429,-144065,-1542,10,0), (11,32072,2,NULL,84465,-142493,-1536,0,0), (11,32072,3,NULL,85234,-140963,-1536,0,0), (11,32072,4,NULL,87351,-140059,-1536,5,0), (11,32072,5,NULL,89343,-140746,-1536,0,0), (11,32072,6,NULL,90605,-143167,-1536,0,0), (11,32072,7,NULL,90271,-143869,-1536,10,0), (11,32072,8,NULL,90605,-143167,-1536,0,0), (11,32072,9,NULL,89343,-140746,-1536,0,0), (11,32072,10,NULL,87351,-140059,-1536,5,0), (11,32072,11,NULL,85234,-140963,-1536,0,0), (11,32072,12,NULL,84465,-142493,-1536,0,0), (12,32070,1,NULL,90271,-143869,-1547,10,1), (12,32070,2,NULL,90605,-143167,-1536,1,1), (12,32070,3,NULL,89343,-140746,-1536,1,1), (12,32070,4,NULL,87351,-140059,-1536,5,1), (12,32070,5,NULL,85234,-140963,-1536,1,1), (12,32070,6,NULL,84465,-142493,-1536,1,1), (12,32070,7,NULL,84434,-144061,-1528,10,1), (12,32070,8,NULL,84465,-142493,-1536,1,1), (12,32070,9,NULL,85234,-140963,-1536,1,1), (12,32070,10,NULL,87351,-140059,-1536,5,1), (12,32070,11,NULL,89343,-140746,-1536,1,1), (12,32070,12,NULL,90605,-143167,-1536,1,1); INSERT INTO `walker_routes` VALUES (13,29095,1,NULL,141569,-45908,-2387,10,0), (13,29095,2,NULL,142494,-45456,-2397,0,0), (13,29095,3,NULL,142922,-44561,-2395,0,0), (13,29095,4,NULL,143672,-44130,-2398,0,0), (13,29095,5,NULL,144557,-43378,-2325,0,0), (13,29095,6,NULL,145839,-43267,-2301,0,0), (13,29095,7,NULL,147044,-43601,-2307,0,0), (13,29095,8,NULL,148140,-43206,-2303,0,0), (13,29095,9,NULL,148815,-43434,-2328,5,0), (13,29095,10,NULL,149862,-44151,-2558,0,0), (13,29095,11,NULL,151037,-44197,-2708,5,0), (13,29095,12,NULL,152555,-42756,-2836,0,0), (13,29095,13,NULL,154808,-39546,-3236,0,0), (13,29095,14,NULL,155333,-39962,-3272,0,0), (13,29095,15,NULL,156531,-41240,-3470,0,0), (13,29095,16,NULL,156863,-43232,-3707,0,0), (13,29095,17,NULL,156783,-44198,-3764,0,0), (13,29095,18,NULL,158169,-45163,-3541,0,0), (13,29095,19,NULL,158952,-45479,-3473,0,0), (13,29095,20,NULL,160039,-46514,-3634,0,0), (13,29095,21,NULL,160244,-47429,-3656,3,0), (13,29095,22,NULL,159155,-48109,-3665,0,0), (13,29095,23,NULL,159558,-51027,-3523,0,0), (13,29095,24,NULL,159396,-53362,-3244,3,0), (13,29095,25,NULL,160872,-56556,-2789,0,0), (13,29095,26,NULL,160857,-59072,-2613,5,0), (13,29095,27,NULL,160410,-59888,-2647,0,0), (13,29095,28,NULL,158770,-60173,-2673,0,0), (13,29095,29,NULL,156368,-59557,-2638,3,0), (13,29095,30,NULL,155188,-59868,-2642,0,0), (13,29095,31,NULL,154118,-60591,-2731,0,0), (13,29095,32,NULL,153571,-61567,-2821,0,0), (13,29095,33,NULL,153457,-62819,-2886,3,0), (13,29095,34,NULL,152939,-63778,-3003,0,0), (13,29095,35,NULL,151816,-64209,-3120,0,0), (13,29095,36,NULL,147655,-64826,-3433,0,0), (13,29095,37,NULL,145422,-64576,-3369,0,0), (13,29095,38,NULL,144097,-64320,-3404,0,0), (13,29095,39,NULL,140780,-61618,-3096,0,0), (13,29095,40,NULL,139688,-61450,-3062,0,0), (13,29095,41,NULL,138267,-61743,-3056,3,0), (13,29095,42,NULL,138613,-58491,-3465,0,0), (13,29095,43,NULL,138139,-57252,-3517,5,0), (13,29095,44,NULL,139555,-56044,-3310,0,0), (13,29095,45,NULL,139107,-54537,-3240,0,0), (13,29095,46,NULL,139279,-53781,-3091,0,0), (13,29095,47,NULL,139810,-52687,-2866,0,0), (13,29095,48,NULL,139657,-52041,-2793,0,0), (13,29095,49,NULL,139215,-51355,-2698,0,0), (13,29095,50,NULL,139334,-50514,-2594,0,0), (13,29095,51,NULL,139817,-49715,-2449,0,0), (13,29095,52,NULL,139824,-48976,-2263,0,0), (13,29095,53,NULL,140130,-47578,-2213,0,0), (13,29095,54,NULL,140483,-46339,-2382,5,0), (13,29095,55,NULL,141569,-45908,-2387,0,0); -- Suspicious Merchant - Shanty Fortress INSERT INTO `walker_routes` VALUES (101,35659,1,NULL,-58672,154703,-2688,30,0), (101,35659,2,NULL,-57522,156523,-2576,15,0), (101,35659,3,NULL,-55226,157117,-2064,0,0), (101,35659,4,NULL,-57528,156515,-2576,0,0), (101,35659,5,NULL,-58660,154706,-2688,0,0), (101,35659,6,NULL,-60174,156182,-2832,0,0), (101,35659,7,NULL,-61834,157703,-3264,0,0), (101,35659,8,NULL,-62761,159101,-3584,0,0), (101,35659,9,NULL,-63472,159672,-3680,0,0), (101,35659,10,NULL,-64072,160631,-3760,0,0), (101,35659,11,NULL,-64387,161877,-3792,0,0), (101,35659,12,NULL,-63842,163092,-3840,15,0), (101,35659,13,NULL,-64397,161831,-3792,0,0), (101,35659,14,NULL,-64055,160587,-3760,0,0), (101,35659,15,NULL,-63461,159656,-3680,0,0), (101,35659,16,NULL,-62744,159095,-3584,0,0), (101,35659,17,NULL,-61831,157693,-3256,0,0), (101,35659,18,NULL,-60152,156167,-2824,0,0), (101,35659,19,NULL,-58652,154707,-2688,0,0), (101,35659,20,NULL,-58672,154703,-2688,0,0); -- Suspicious Merchant - Southern Fortress INSERT INTO `walker_routes` VALUES (102,35690,1,NULL,-28169,216864,-3544,30,0), (102,35690,2,NULL,-29028,215089,-3672,0,0), (102,35690,3,NULL,-30888,213455,-3656,0,0), (102,35690,4,NULL,-31937,211656,-3656,0,0), (102,35690,5,NULL,-30880,211006,-3552,0,0), (102,35690,6,NULL,-27690,210004,-3272,0,0), (102,35690,7,NULL,-25784,210108,-3272,0,0), (102,35690,8,NULL,-21682,211459,-3272,0,0), (102,35690,9,NULL,-18430,212927,-3704,0,0), (102,35690,10,NULL,-16247,212795,-3664,0,0), (102,35690,11,NULL,-16868,214267,-3648,0,0), (102,35690,12,NULL,-17263,215887,-3552,0,0), (102,35690,13,NULL,-18352,216841,-3504,60,0), (102,35690,14,NULL,-17263,215887,-3552,0,0), (102,35690,15,NULL,-16868,214267,-3648,0,0), (102,35690,16,NULL,-16247,212795,-3664,0,0), (102,35690,17,NULL,-18430,212927,-3704,0,0), (102,35690,18,NULL,-21682,211459,-3272,0,0), (102,35690,19,NULL,-25784,210108,-3272,0,0), (102,35690,20,NULL,-27690,210004,-3272,0,0), (102,35690,21,NULL,-30880,211006,-3552,0,0), (102,35690,22,NULL,-31937,211656,-3656,0,0), (102,35690,23,NULL,-30888,213455,-3656,0,0), (102,35690,24,NULL,-29028,215089,-3672,0,0), (102,35690,25,NULL,-28169,216864,-3544,30,0); -- Suspicious Merchant - Hive Fortress INSERT INTO `walker_routes` VALUES (103,35728,1,NULL,19408,189422,-3136,30,0), (103,35728,2,NULL,20039,187700,-3416,0,0), (103,35728,3,NULL,19016,185813,-3552,30,0), (103,35728,4,NULL,17959,181955,-3680,0,0), (103,35728,5,NULL,16440,181635,-3616,30,0), (103,35728,6,NULL,15679,182540,-3608,0,0), (103,35728,7,NULL,15310,182791,-3568,0,0), (103,35728,8,NULL,15242,184507,-3112,30,0), (103,35728,9,NULL,15310,182791,-3568,0,0), (103,35728,10,NULL,15679,182540,-3608,0,0), (103,35728,11,NULL,16440,181635,-3616,30,0), (103,35728,12,NULL,17959,181955,-3680,0,0), (103,35728,13,NULL,19016,185813,-3552,30,0), (103,35728,14,NULL,20039,187700,-3416,0,0), (103,35728,15,NULL,19408,189422,-3136,30,0); -- Suspicious Merchant - Valley Fortress INSERT INTO `walker_routes` VALUES (104,35759,1,NULL,123383,121093,-2864,30,0), (104,35759,2,NULL,122670,120890,-3088,0,0), (104,35759,3,NULL,124617,119069,-3088,0,0), (104,35759,4,NULL,126177,118273,-3080,0,0), (104,35759,5,NULL,125979,119528,-2728,60,0), (104,35759,6,NULL,126177,118273,-3080,0,0), (104,35759,7,NULL,124617,119069,-3088,0,0), (104,35759,8,NULL,122670,120890,-3088,0,0), (104,35759,9,NULL,123383,121093,-2864,30,0); -- Suspicious Merchant - Ivory Tower Fortress INSERT INTO `walker_routes` VALUES (105,35797,1,NULL,74725,1671,-3128,30,0), (105,35797,2,NULL,76651,1505,-3552,0,0), (105,35797,3,NULL,79421,4977,-3080,0,0), (105,35797,4,NULL,77357,7197,-3208,30,0), (105,35797,5,NULL,76287,9164,-3568,0,0), (105,35797,6,NULL,72447,8196,-3264,0,0), (105,35797,7,NULL,71780,7467,-3160,0,0), (105,35797,8,NULL,72447,8196,-3264,0,0), (105,35797,9,NULL,76287,9164,-3568,0,0), (105,35797,10,NULL,77357,7197,-3208,0,0), (105,35797,11,NULL,79421,4977,-3080,60,0), (105,35797,12,NULL,76651,1505,-3552,0,0), (105,35797,13,NULL,74725,1671,-3128,0,0); -- Suspicious Merchant - Narsell Fortress INSERT INTO `walker_routes` VALUES (106,35828,1,NULL,159377,52403,-3312,30,0), (106,35828,2,NULL,161177,54083,-3560,0,0), (106,35828,3,NULL,162152,54365,-3632,0,0), (106,35828,4,NULL,162703,55840,-3696,0,0), (106,35828,5,NULL,162370,58534,-3504,0,0), (106,35828,6,NULL,160099,60034,-3224,0,0), (106,35828,7,NULL,158048,62696,-3464,0,0), (106,35828,8,NULL,157220,63450,-3520,0,0), (106,35828,9,NULL,155076,63731,-3544,0,0), (106,35828,10,NULL,153893,64441,-3656,0,0), (106,35828,11,NULL,153085,62948,-3680,0,0), (106,35828,12,NULL,150866,58737,-3432,60,0), (106,35828,13,NULL,153085,62948,-3680,0,0), (106,35828,14,NULL,153893,64441,-3656,0,0), (106,35828,15,NULL,155076,63731,-3544,0,0), (106,35828,16,NULL,157220,63450,-3520,0,0), (106,35828,17,NULL,158048,62696,-3464,0,0), (106,35828,18,NULL,160099,60034,-3224,0,0), (106,35828,19,NULL,162370,58534,-3504,0,0), (106,35828,20,NULL,162703,55840,-3696,0,0), (106,35828,21,NULL,162152,54365,-3632,0,0), (106,35828,22,NULL,161177,54083,-3560,0,0), (106,35828,23,NULL,159377,52403,-3312,30,0); -- Suspicious Merchant - Bayou Fortress INSERT INTO `walker_routes` VALUES (107,35859,1,NULL,190423,43540,-3656,30,0), (107,35859,2,NULL,189579,45949,-4240,0,0), (107,35859,3,NULL,187058,43551,-4808,0,0), (107,35859,4,NULL,185916,41869,-4512,30,0), (107,35859,5,NULL,185292,39403,-4200,0,0), (107,35859,6,NULL,185167,38401,-4200,0,0), (107,35859,7,NULL,184984,36863,-4152,0,0), (107,35859,8,NULL,184377,36425,-4080,0,0), (107,35859,9,NULL,185314,35866,-3936,0,0), (107,35859,10,NULL,185781,35955,-3832,0,0), (107,35859,11,NULL,186686,35667,-3752,60,0), (107,35859,12,NULL,185781,35955,-3832,0,0), (107,35859,13,NULL,185314,35866,-3936,0,0), (107,35859,14,NULL,184377,36425,-4080,0,0), (107,35859,15,NULL,184984,36863,-4152,0,0), (107,35859,16,NULL,185167,38401,-4200,0,0), (107,35859,17,NULL,185292,39403,-4200,0,0), (107,35859,18,NULL,185916,41869,-4512,30,0), (107,35859,19,NULL,187058,43551,-4808,0,0), (107,35859,20,NULL,189579,45949,-4240,0,0), (107,35859,21,NULL,190423,43540,-3656,30,0); -- Suspicious Merchant - White Sands Fortress INSERT INTO `walker_routes` VALUES (108,35897,1,NULL,114436,202528,-3408,30,0), (108,35897,2,NULL,113809,200514,-3720,0,0), (108,35897,3,NULL,116035,199822,-3664,0,0), (108,35897,4,NULL,117017,199876,-3632,0,0), (108,35897,5,NULL,119959,201032,-3608,0,0), (108,35897,6,NULL,121849,200614,-3384,0,0), (108,35897,7,NULL,122868,200874,-3168,0,0), (108,35897,8,NULL,123130,202427,-3128,30,0), (108,35897,9,NULL,122427,204162,-3488,0,0), (108,35897,10,NULL,122661,204842,-3576,0,0), (108,35897,11,NULL,124051,205402,-3576,0,0), (108,35897,12,NULL,124211,206023,-3504,0,0), (108,35897,13,NULL,124948,206778,-3400,0,0), (108,35897,14,NULL,124483,207777,-3200,60,0), (108,35897,15,NULL,124948,206778,-3400,0,0), (108,35897,16,NULL,124211,206023,-3504,0,0), (108,35897,17,NULL,124051,205402,-3576,0,0), (108,35897,18,NULL,122661,204842,-3576,0,0), (108,35897,19,NULL,122427,204162,-3488,0,0), (108,35897,20,NULL,123130,202427,-3128,30,0), (108,35897,21,NULL,122868,200874,-3168,0,0), (108,35897,22,NULL,121849,200614,-3384,0,0), (108,35897,23,NULL,119959,201032,-3608,0,0), (108,35897,24,NULL,117017,199876,-3632,0,0), (108,35897,25,NULL,116035,199822,-3664,0,0), (108,35897,26,NULL,113809,200514,-3720,0,0), (108,35897,27,NULL,114436,202528,-3408,30,0); -- Suspicious Merchant - Borderland Fortress INSERT INTO `walker_routes` VALUES (109,35928,1,NULL,161876,-73407,-2984,30,0), (109,35928,2,NULL,161795,-75288,-3088,0,0), (109,35928,3,NULL,159678,-77671,-3584,0,0), (109,35928,4,NULL,158917,-78117,-3760,0,0), (109,35928,5,NULL,158989,-77130,-3720,0,0), (109,35928,6,NULL,158757,-75951,-3720,0,0), (109,35928,7,NULL,158157,-74161,-3592,30,0), (109,35928,8,NULL,157547,-73326,-3400,0,0), (109,35928,9,NULL,153815,-71497,-3392,0,0), (109,35928,10,NULL,153086,-70701,-3488,0,0), (109,35928,11,NULL,152262,-70352,-3568,0,0), (109,35928,12,NULL,155193,-69617,-3008,60,0), (109,35928,13,NULL,152262,-70352,-3568,0,0), (109,35928,14,NULL,153086,-70701,-3488,0,0), (109,35928,15,NULL,153815,-71497,-3392,0,0), (109,35928,16,NULL,157547,-73326,-3400,0,0), (109,35928,17,NULL,158157,-74161,-3592,30,0), (109,35928,18,NULL,158757,-75951,-3720,0,0), (109,35928,19,NULL,158989,-77130,-3720,0,0), (109,35928,20,NULL,158917,-78117,-3760,0,0), (109,35928,21,NULL,159678,-77671,-3584,0,0), (109,35928,22,NULL,161795,-75288,-3088,0,0), (109,35928,23,NULL,161876,-73407,-2984,30,0); -- Suspicious Merchant - Swamp Fortress INSERT INTO `walker_routes` VALUES (110,35966,1,NULL,71436,-58182,-2904,30,0), (110,35966,2,NULL,71731,-56949,-3080,0,0), (110,35966,3,NULL,72715,-56729,-3104,0,0), (110,35966,4,NULL,73277,-56055,-3104,30,0), (110,35966,5,NULL,73369,-55636,-3104,0,0), (110,35966,6,NULL,74136,-54646,-3104,0,0), (110,35966,7,NULL,73408,-54422,-3104,0,0), (110,35966,8,NULL,72998,-53404,-3136,0,0), (110,35966,9,NULL,71661,-52937,-3104,0,0), (110,35966,10,NULL,71127,-52304,-3104,0,0), (110,35966,11,NULL,70225,-52304,-3064,0,0), (110,35966,12,NULL,69668,-52780,-3064,0,0), (110,35966,13,NULL,68422,-52407,-3240,0,0), (110,35966,14,NULL,67702,-52940,-3208,0,0), (110,35966,15,NULL,67798,-52940,-3232,0,0), (110,35966,16,NULL,66667,-55841,-2840,60,0), (110,35966,17,NULL,67798,-52940,-3232,0,0), (110,35966,18,NULL,67702,-52940,-3208,0,0), (110,35966,19,NULL,68422,-52407,-3240,0,0), (110,35966,20,NULL,69668,-52780,-3064,0,0), (110,35966,21,NULL,70225,-52304,-3064,0,0), (110,35966,22,NULL,71127,-52304,-3104,0,0), (110,35966,23,NULL,71661,-52937,-3104,0,0), (110,35966,24,NULL,72998,-53404,-3136,0,0), (110,35966,25,NULL,73408,-54422,-3104,0,0), (110,35966,26,NULL,74136,-54646,-3104,0,0), (110,35966,27,NULL,73369,-55636,-3104,0,0), (110,35966,28,NULL,73277,-56055,-3104,30,0), (110,35966,29,NULL,72715,-56729,-3104,0,0), (110,35966,30,NULL,71731,-56949,-3080,0,0), (110,35966,31,NULL,71436,-58182,-2904,30,0); -- Suspicious Merchant - Archaic Fortress INSERT INTO `walker_routes` VALUES (111,36004,1,NULL,105447,-139845,-3120,30,0), (111,36004,2,NULL,104918,-140382,-3256,0,0), (111,36004,3,NULL,105507,-142515,-3648,0,0), (111,36004,4,NULL,106533,-143107,-3656,0,0), (111,36004,5,NULL,106714,-143825,-3656,0,0), (111,36004,6,NULL,107510,-144024,-3656,0,0), (111,36004,7,NULL,108092,-144888,-3656,30,0), (111,36004,8,NULL,109499,-145168,-3664,0,0), (111,36004,9,NULL,110064,-146169,-3456,0,0), (111,36004,10,NULL,110186,-147427,-3096,0,0), (111,36004,11,NULL,112389,-147779,-3256,60,0), (111,36004,12,NULL,110186,-147427,-3096,0,0), (111,36004,13,NULL,110064,-146169,-3456,0,0), (111,36004,14,NULL,109499,-145168,-3664,0,0), (111,36004,15,NULL,108092,-144888,-3656,30,0), (111,36004,16,NULL,107510,-144024,-3656,0,0), (111,36004,17,NULL,106714,-143825,-3656,0,0), (111,36004,18,NULL,106533,-143107,-3656,0,0), (111,36004,19,NULL,105507,-142515,-3648,0,0), (111,36004,20,NULL,104918,-140382,-3256,0,0), (111,36004,21,NULL,105447,-139845,-3120,30,0); -- Suspicious Merchant - Floran Fortress INSERT INTO `walker_routes` VALUES (112,36035,1,NULL,14186,149947,-3352,20,0), (112,36035,2,NULL,16180,150387,-3216,0,0), (112,36035,3,NULL,18387,151874,-3317,0,0), (112,36035,4,NULL,18405,154770,-3616,30,0), (112,36035,5,NULL,17655,156863,-3664,0,0), (112,36035,6,NULL,12303,153937,-2680,0,0), (112,36035,7,NULL,17655,156863,-3664,0,0), (112,36035,8,NULL,18405,154770,-3616,30,0), (112,36035,9,NULL,18387,151874,-3317,0,0), (112,36035,10,NULL,16180,150387,-3216,0,0), (112,36035,11,NULL,14186,149947,-3352,20,0); -- Suspicious Merchant - Cloud Mountain INSERT INTO `walker_routes` VALUES (113,36073,1,NULL,-56032,86017,-3259,30,0), (113,36073,2,NULL,-57329,86006,-3640,0,0), (113,36073,3,NULL,-57470,85306,-3664,0,0), (113,36073,4,NULL,-58892,85159,-3768,30,0), (113,36073,5,NULL,-59030,80150,-3632,0,0), (113,36073,6,NULL,-57642,77591,-3512,20,0), (113,36073,7,NULL,-53971,77664,-3224,40,0), (113,36073,8,NULL,-53271,85126,-3552,60,0), (113,36073,9,NULL,-53971,77664,-3224,40,0), (113,36073,10,NULL,-57642,77591,-3512,20,0), (113,36073,11,NULL,-59030,80150,-3632,0,0), (113,36073,12,NULL,-58892,85159,-3768,30,0), (113,36073,13,NULL,-57470,85306,-3664,0,0), (113,36073,14,NULL,-57329,86006,-3640,0,0), (113,36073,15,NULL,-56032,86017,-3259,30,0); -- Suspicious Merchant - Tanor Fortress INSERT INTO `walker_routes` VALUES (114,36111,1,NULL,58314,136319,-2000,30,0), (114,36111,2,NULL,57078,137124,-2216,0,0), (114,36111,3,NULL,54644,137366,-2600,0,0), (114,36111,4,NULL,58696,134202,-3096,30,0), (114,36111,5,NULL,60967,134154,-3416,0,0), (114,36111,6,NULL,62813,134744,-3592,0,0), (114,36111,7,NULL,65158,135007,-3728,0,0), (114,36111,8,NULL,64278,139384,-3176,30,0), (114,36111,9,NULL,63711,140599,-2720,0,0), (114,36111,10,NULL,63187,141192,-2440,0,0), (114,36111,11,NULL,62811,142466,-2064,60,0), (114,36111,12,NULL,63187,141192,-2440,0,0), (114,36111,13,NULL,63711,140599,-2720,0,0), (114,36111,14,NULL,64278,139384,-3176,30,0), (114,36111,15,NULL,65158,135007,-3728,0,0), (114,36111,16,NULL,62813,134744,-3592,0,0), (114,36111,17,NULL,60967,134154,-3416,0,0), (114,36111,18,NULL,58696,134202,-3096,30,0), (114,36111,19,NULL,54644,137366,-2600,0,0), (114,36111,20,NULL,57078,137124,-2216,0,0), (114,36111,21,NULL,58314,136319,-2000,30,0); -- Suspicious Merchant - Dragonspine Fortress INSERT INTO `walker_routes` VALUES (115,36142,1,NULL,9318,92253,-3536,30,0), (115,36142,2,NULL,9117,91645,-3656,0,0), (115,36142,3,NULL,9240,90149,-3592,0,0), (115,36142,4,NULL,11509,90093,-3720,20,0), (115,36142,5,NULL,13269,90004,-3840,20,0), (115,36142,6,NULL,14812,89578,-3832,20,0), (115,36142,7,NULL,14450,90636,-3680,0,0), (115,36142,8,NULL,14236,91690,-3656,0,0), (115,36142,9,NULL,13636,92359,-3480,60,0), (115,36142,10,NULL,14236,91690,-3656,0,0), (115,36142,11,NULL,14450,90636,-3680,0,0), (115,36142,12,NULL,14812,89578,-3832,20,0), (115,36142,13,NULL,13269,90004,-3840,20,0), (115,36142,14,NULL,11509,90093,-3720,20,0), (115,36142,15,NULL,9240,90149,-3592,0,0), (115,36142,16,NULL,9117,91645,-3656,0,0), (115,36142,17,NULL,9318,92253,-3536,30,0); -- Suspicious Merchant - Antharas Fortress INSERT INTO `walker_routes` VALUES (116,36173,1,NULL,74810,90814,-3344,30,0), (116,36173,2,NULL,75094,92951,-3104,0,0), (116,36173,3,NULL,75486,92906,-3072,0,0), (116,36173,4,NULL,75765,91794,-2912,0,0), (116,36173,5,NULL,77116,90455,-2896,0,0), (116,36173,6,NULL,77743,89119,-2896,15,0), (116,36173,7,NULL,77118,90457,-2896,0,0), (116,36173,8,NULL,75750,91811,-2912,0,0), (116,36173,9,NULL,75479,92904,-3072,0,0), (116,36173,10,NULL,75094,92943,-3104,0,0), (116,36173,11,NULL,74809,90794,-3344,0,0), (116,36173,12,NULL,76932,88297,-3296,0,0), (116,36173,13,NULL,77882,87441,-3408,0,0), (116,36173,14,NULL,78257,85859,-3632,0,0), (116,36173,15,NULL,80994,85866,-3472,0,0), (116,36173,16,NULL,82676,87519,-3360,0,0), (116,36173,17,NULL,83778,88414,-3376,0,0), (116,36173,18,NULL,83504,90378,-3120,0,0), (116,36173,19,NULL,84431,90379,-3264,0,0), (116,36173,20,NULL,85453,90117,-3312,0,0), (116,36173,21,NULL,85605,89708,-3296,0,0), (116,36173,22,NULL,84894,88975,-3344,0,0), (116,36173,23,NULL,83735,88382,-3376,0,0), (116,36173,24,NULL,82616,87485,-3360,0,0), (116,36173,25,NULL,80971,85855,-3472,0,0), (116,36173,26,NULL,78247,85853,-3632,0,0), (116,36173,27,NULL,77868,87463,-3408,0,0), (116,36173,28,NULL,76916,88304,-3280,0,0), (116,36173,29,NULL,75494,89865,-3200,0,0), (116,36173,30,NULL,74810,90814,-3344,30,0); -- Suspicious Merchant - Western Fortress INSERT INTO `walker_routes` VALUES (117,36211,1,NULL,114221,-18762,-1768,30,0), (117,36211,2,NULL,115920,-19177,-2120,0,0), (117,36211,3,NULL,117105,-19759,-2400,0,0), (117,36211,4,NULL,118417,-20135,-2632,30,0), (117,36211,5,NULL,118881,-20011,-2712,0,0), (117,36211,6,NULL,117210,-18329,-1816,60,0), (117,36211,7,NULL,118881,-20011,-2712,0,0), (117,36211,8,NULL,118417,-20135,-2632,30,0), (117,36211,9,NULL,117105,-19759,-2400,0,0), (117,36211,10,NULL,115920,-19177,-2120,0,0), (117,36211,11,NULL,114221,-18762,-1768,30,0); -- Suspicious Merchant - Hunters Fortress INSERT INTO `walker_routes` VALUES (118,36249,1,NULL,121072,93215,-2736,30,0), (118,36249,2,NULL,122718,92355,-2320,0,0), (118,36249,3,NULL,126171,91910,-2216,0,0), (118,36249,4,NULL,126353,90422,-2296,0,0), (118,36249,5,NULL,125796,87720,-2432,0,0), (118,36249,6,NULL,124803,85970,-2464,0,0), (118,36249,7,NULL,125036,83836,-2376,30,0), (118,36249,8,NULL,128886,83331,-1416,0,0), (118,36249,9,NULL,129697,84969,-1256,0,0), (118,36249,10,NULL,126291,86712,-2240,0,0), (118,36249,11,NULL,126599,88950,-2325,0,0), (118,36249,12,NULL,126847,90713,-2264,0,0), (118,36249,13,NULL,126599,88950,-2325,0,0), (118,36249,14,NULL,126291,86712,-2240,0,0), (118,36249,15,NULL,129697,84969,-1256,0,0), (118,36249,16,NULL,128886,83331,-1416,0,0), (118,36249,17,NULL,125036,83836,-2376,30,0), (118,36249,18,NULL,124803,85970,-2464,0,0), (118,36249,19,NULL,125796,87720,-2432,0,0), (118,36249,20,NULL,126353,90422,-2296,0,0), (118,36249,21,NULL,126171,91910,-2216,0,0), (118,36249,22,NULL,122718,92355,-2320,0,0), (118,36249,23,NULL,121072,93215,-2736,30,0); -- Suspicious Merchant - Aaru Fortress INSERT INTO `walker_routes` VALUES (119,36287,1,NULL,71692,188004,-2616,30,0), (119,36287,2,NULL,69326,187042,-3008,0,0), (119,36287,3,NULL,68627,185540,-2984,0,0), (119,36287,4,NULL,69077,184566,-2976,30,0), (119,36287,5,NULL,70642,182573,-2992,0,0), (119,36287,6,NULL,73647,181706,-3160,0,0), (119,36287,7,NULL,74283,181756,-3152,0,0), (119,36287,8,NULL,73655,182960,-2736,60,0), (119,36287,9,NULL,74283,181756,-3152,0,0), (119,36287,10,NULL,73647,181706,-3160,0,0), (119,36287,11,NULL,70642,182573,-2992,0,0), (119,36287,12,NULL,69077,184566,-2976,30,0), (119,36287,13,NULL,68627,185540,-2984,0,0), (119,36287,14,NULL,69326,187042,-3008,0,0), (119,36287,15,NULL,71692,188004,-2616,30,0); -- Suspicious Merchant - Demon Fortress INSERT INTO `walker_routes` VALUES (120,36318,1,NULL,104150,-57163,-848,30,0), (120,36318,2,NULL,106218,-59401,-1344,0,0), (120,36318,3,NULL,106898,-59553,-1664,30,0), (120,36318,4,NULL,107352,-60168,-2000,0,0), (120,36318,5,NULL,107651,-61177,-2400,0,0), (120,36318,6,NULL,109094,-62678,-3248,0,0), (120,36318,7,NULL,108266,-62657,-3104,0,0), (120,36318,8,NULL,105169,-61226,-2616,0,0), (120,36318,9,NULL,102968,-59982,-2384,0,0), (120,36318,10,NULL,100070,-60173,-2792,0,0), (120,36318,11,NULL,98764,-61095,-2768,0,0), (120,36318,12,NULL,94946,-60039,-2432,0,0), (120,36318,13,NULL,96103,-59078,-1992,0,0), (120,36318,14,NULL,96884,-59043,-1656,0,0), (120,36318,15,NULL,97064,-57884,-1256,30,0), (120,36318,16,NULL,96884,-59043,-1656,0,0), (120,36318,17,NULL,96103,-59078,-1992,0,0), (120,36318,18,NULL,94946,-60039,-2432,0,0), (120,36318,19,NULL,98764,-61095,-2768,0,0), (120,36318,20,NULL,100070,-60173,-2792,0,0), (120,36318,21,NULL,102968,-59982,-2384,0,0), (120,36318,22,NULL,105169,-61226,-2616,0,0), (120,36318,23,NULL,108266,-62657,-3104,0,0), (120,36318,24,NULL,109094,-62678,-3248,0,0), (120,36318,25,NULL,107651,-61177,-2400,0,0), (120,36318,26,NULL,107352,-60168,-2000,0,0), (120,36318,27,NULL,106898,-59553,-1664,30,0), (120,36318,28,NULL,106218,-59401,-1344,0,0), (120,36318,29,NULL,104150,-57163,-848,30,0); -- Suspicious Merchant - Monastic Fortress INSERT INTO `walker_routes` VALUES (121,36356,1,NULL,69553,-91746,-1488,30,0), (121,36356,2,NULL,70941,-89751,-2256,0,0), (121,36356,3,NULL,71104,-89094,-2368,0,0), (121,36356,4,NULL,73471,-91462,-2024,30,0), (121,36356,5,NULL,74532,-92202,-1776,0,0), (121,36356,6,NULL,74908,-93152,-1536,60,0), (121,36356,7,NULL,74532,-92202,-1776,0,0), (121,36356,8,NULL,73471,-91462,-2024,30,0), (121,36356,9,NULL,71104,-89094,-2368,0,0), (121,36356,10,NULL,70941,-89751,-2256,0,0), (121,36356,11,NULL,69553,-91746,-1488,30,0);
use emb2065; drop table if exists smartSolutionsContact; create table smartSolutionsContact( messageID int NOT NULL AUTO_INCREMENT primary key, firstName varchar(255) not null, lastName varchar(255) not null, email varchar(50) not null, phone varchar(20) not null, messageText varchar(255) not null );
insert into Customer values ('<NAME>', 24, '<EMAIL>'), ('<NAME>', 39, '<EMAIL>'), ('<NAME>', 42, '<EMAIL>'), ('<NAME>', 52, '<EMAIL>'),('<NAME>', 34, '<EMAIL>'), ('<NAME>',22,'<EMAIL>'),('<NAME>',28,'<EMAIL>'), ('<NAME>', 31, '<EMAIL>'),('<NAME>', 45, '<EMAIL>'), ('<NAME>', 27, '<EMAIL>'), ('<NAME>', 27, '<EMAIL>'), ('<NAME>', 33, '<EMAIL>'), ('<NAME>', 26, '<EMAIL>'), ('<NAME>', 23, '<EMAIL>'), ('<NAME>', 41, '<EMAIL>'); insert into Model values (1,'BMW X5', 'SUV', 415, 5),(2,'Mercedes E400', 'Luxury', 1848,4), (3,'Chevrolet Spark', 'Economy', 1521,4), (4, 'Dodge Grand Caravan', 'Mini Van',2210,7), (5,'Chevrolet Suburban','SUV',1121,8),(6,'Toyota Inception','Sports',1631,2), (7,'Volvo V231', 'Economy', 1737,4),(8,'T21','Economy',1221,4); insert into Rentalstation values (1001,'SuperCar College','333 College St','M5T1P7','Toronto'), (1002,'SuperCar Billy Bishop Airport','200 Spadina Ave','M5V1A1','Toronto'), (1003,' SuperCar York','220 Eglinton St',' M6E2G8','Toronto'), (1004,'SuperCar East Toronto','200 Richmond St E','M5A2P2','Toronto'), (1005,'SuperCar Parliament', '200 Wellington St','K1A0G9','Ottawa'), (1006,'SuperCar Ottawa Airport','216 Airport Rd','K1V9B4','Ottawa'), (1007,'SuperCar Central Station','895 Rue Mansfield','H3B4G1','Montreal'), (1008,'SuperCar North Montreal','2351 Rue Masson','H1Y1V8','Montreal'), (1009,'SuperCar West Montreal','7000 Avenue Van Horne', 'H3S2B2', 'Montreal'); insert into Car values (101,'torc566',1001,1), (102,'torc212',1001,8),(103,'torc631',1001,7), (104,'torc522',1001,4),(105,'torbb10',1002,2),(106,'torbb11',1002,7),(107,'torbb12',1002,8), (108,'tory011',1003,3),(109,'tory016',1003,4),(110,'tory017',1003,5),(111,'tory101',1004,5), (112,'tory102',1004,7),(113,'ottp111',1005,2),(114,'ottp112',1005,7),(115,'ottp113',1005,8), (116,'otta101',1006,1),(117,'otta102',1006,7),(118,'otta103',1006,6),(119,'mocs300',1007,3), (120,'mocs302',1007,7),(121,'mocs303',1007,7),(122,'mono201',1008,8),(123,'mono202',1008,4), (124,'mono203',1008,5),(125,'mowe501',1009,8),(126,'mowe502',1009,8),(127,'mowe503',1009,7), (128,'mowe504',1009,1); insert into Reservation values (22001,'2017-09-01 09:00:00','2017-09-03 17:00:00',101,null,'Completed'), (22002,'2018-03-17 16:00:00','2018-03-25 16:00:00',101,null,'Cancelled'), (22003,'2018-03-19 10:00:00','2018-03-23 20:00:00',101,22002,'Confirmed'), (22004,'2018-03-01 08:00:00','2018-03-10 20:00:00',101,null,'Ongoing'), (22005,'2017-12-15 13:30:00','2017-12-25 18:00:00',101,null,'Completed'), (22006,'2017-11-01 06:00:00','2017-11-04 12:00:00',102,null,'Completed'), (22007,'2018-02-23 10:00:00','2018-03-05 17:00:00',102,null,'Cancelled'), (22008,'2018-03-10 10:00:00','2018-03-16 20:00:00',102,22007,'Confirmed'), (22009,'2018-02-25 09:00:00','2018-03-10 21:00:00',103,null,'Ongoing'), (22010,'2017-12-09 14:00:00','2017-12-11 17:00:00',103,null,'Completed'), (22011,'2018-02-01 08:00:00','2018-02-05 16:00:00',104,null,'Cancelled'), (22012,'2017-12-25 09:00:00','2018-01-05 19:00:00',106,null,'Completed'), (22013,'2018-04-23 09:00:00','2018-05-01 14:00:00',106,null,'Confirmed'), (22014,'2018-02-19 08:00:00','2018-02-23 20:00:00',107,null,'Cancelled'), (22015,'2018-02-21 08:00:00','2018-03-10 20:00:00',107,22014,'Ongoing'), (22016,'2017-10-09 08:00:00','2017-10-09 21:00:00',107,null,'Completed'), (22017,'2018-06-03 07:00:00','2018-06-20 15:00:00',107,null,'Confirmed'), (22018,'2018-01-14 09:00:00','2018-01-20 14:00:00',109,null,'Cancelled'), (22019,'2018-02-01 09:00:00','2018-02-03 16:00:00',111,null,'Completed'), (22020,'2018-02-26 06:00:00','2018-03-07 12:00:00',113,null,'Cancelled'), (22021,'2018-02-28 11:00:00','2018-03-08 23:00:00',113,22020,'Ongoing'), (22022,'2017-07-02 09:00:00','2017-07-05 21:30:00',113,null,'Completed'), (22023,'2018-02-05 08:00:00','2018-02-08 18:00:00',114,null,'Completed'), (22024,'2018-04-02 16:00:00','2018-04-06 16:00:00',116,null,'Confirmed'), (22025,'2018-03-03 07:00:00','2018-03-15 23:30:00',116,null,'Ongoing'), (22026,'2018-01-01 07:00:00','2018-01-01 17:00:00',118,null,'Completed'), (22027,'2018-04-04 09:00:00','2018-04-06 15:00:00',119,null,'Cancelled'), (22028,'2018-02-14 13:00:00','2018-03-25 23:00:00',119,null,'Ongoing'), (22029,'2017-09-26 08:00:00','2017-10-03 20:00:00',119,null,'Completed'), (22030,'2018-03-26 10:00:00','2018-03-29 16:00:00',123,null,'Confirmed'), (22031,'2017-12-21 06:00:00','2017-12-28 22:00:00',124,null,'Completed'), (22032,'2017-09-22 16:00:00','2017-09-23 08:00:00',126,null,'Cancelled'), (22033,'2017-09-23 14:00:00','2017-09-23 17:00:00',126,22032,'Completed'), (22034,'2018-01-01 22:00:00','2018-04-05 14:00:00',127,null,'Ongoing'), (22035,'2017-12-07 09:00:00','2017-12-13 12:00:00',127,null,'Cancelled'), (22036,'2018-03-24 10:00:00','2018-04-02 21:00:00',128,null,'Confirmed'), (22037,'2017-09-25 09:00:00','2017-09-27 20:00:00',103,null,'Cancelled'), (22038,'2017-09-25 09:00:00','2017-09-27 20:00:00',104,22037,'Completed'); insert into Customer_reservation values ('<EMAIL>',22001),('<EMAIL>',22001), ('<EMAIL>',22002),('<EMAIL>',22003), ('<EMAIL>',22004),('<EMAIL>',22005), ('<EMAIL>',22006),('<EMAIL>',22006), ('<EMAIL>',22007),('<EMAIL>',22007), ('<EMAIL>',22008),('<EMAIL>',22008), ('<EMAIL>',22009),('<EMAIL>',22010), ('<EMAIL>',22011),('<EMAIL>',22012), ('<EMAIL>',22013),('<EMAIL>',22014), ('<EMAIL>',22015),('<EMAIL>',22016), ('<EMAIL>',22017),('<EMAIL>',22018), ('<EMAIL>',22019),('<EMAIL>',22020), ('<EMAIL>',22021),('<EMAIL>',22022), ('<EMAIL>',22023),('<EMAIL>',22024), ('<EMAIL>',22025),('<EMAIL>',22026), ('<EMAIL>',22027),('<EMAIL>',22028), ('<EMAIL>',22029),('<EMAIL>',22030), ('<EMAIL>',22030),('<EMAIL>',22030), ('<EMAIL>',22031),('<EMAIL>',22032), ('<EMAIL>',22032),('<EMAIL>',22033), ('<EMAIL>',22033),('<EMAIL>',22034), ('<EMAIL>',22035),('<EMAIL>',22036), ('<EMAIL>',22037),('<EMAIL>',22038);
CREATE TABLE [dbo].[Contact] ( [ContactID] INT IDENTITY (1, 1) NOT NULL, [Name] VARCHAR (255) NOT NULL, [EmailAddress] VARCHAR (255) NOT NULL, [LastModified] DATE NOT NULL, [LastModifiedBy] VARCHAR (255) NOT NULL, [AccountID] INT NOT NULL, CONSTRAINT [PK_dbo.Contact] PRIMARY KEY CLUSTERED ([ContactID] ASC), CONSTRAINT [FK_dbo.Contact_dbo.Account_AccountID] FOREIGN KEY ([AccountID]) REFERENCES [dbo].[Account] ([AccountID]) ); GO CREATE NONCLUSTERED INDEX [IX_AccountID] ON [dbo].[Contact]([AccountID] ASC);
<reponame>mkingopng/Jamaica<filename>queries/unique_ccs.sql SELECT DISTINCT GL52003 AS 'cc' FROM GL520120;
-- MySQL dump 10.13 Distrib 5.6.24, for osx10.10 (x86_64) -- -- Host: localhost Database: policeshootings -- ------------------------------------------------------ -- Server version 5.6.24 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `agencyAltnames` -- DROP TABLE IF EXISTS `agencyAltnames`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `agencyAltnames` ( `shortname` varchar(255) NOT NULL, `officialname` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `agencyAltnames` -- LOCK TABLES `agencyAltnames` WRITE; /*!40000 ALTER TABLE `agencyAltnames` DISABLE KEYS */; INSERT INTO `agencyAltnames` VALUES ('Atlantis PD','Atlantis Police Department'),('Belle Glade','Belle Glade Police Department'),('Boca Raton PD','Boca Raton Police Services Department'),('Boynton Beach PD','Boynton Beach Police Department'),('Delray Beach PD','Delray Beach Police Department'),('FAU PD','Florida Atlantic University Police Department'),('FBI',' FBI'),('Florida Highway Patrol','Florida Highway Patrol Training Academy'),('Fort Pierce PD','Fort Pierce Police Department'),('Greenacres PD','City Of Greenacres Department Of Public Safety'),('Juno Beach PD','Juno Beach Police Department'),('Jupiter PD','Jupiter Police Department'),('Lake Worth','Lake Worth Police Department'),('Lantana PD','Lantana Police Department'),('Martin County SO','Martin County Sheriff\'s Office'),('Okeechobee County SO','Okeechobee County Sheriff\'s Office'),('Palm Beach Gardens PD','Palm Beach Gardens Police Department'),('Palm Beach Shores PD','Palm Beach Shores Public Safety Department'),('Palm Springs PD','Palm Springs Public Safety Department'),('PBSO','Palm Beach County Sheriff\'s Office'),('Port St. Lucie PD','Port St. Lucie Police Department'),('Riviera Beach PD','Riviera Beach Police Department'),('St. Lucie County SO','St. Lucie County Sheriff\'s Office'),('Stuart PD','Stuart Police Department'),('U.S. Immigration and Customs Enforcement','U.S. Immigration and Customs Enforcement'),('U.S. Marshals Service','U.S. Marshals Service'),('West Palm Beach PD','West Palm Beach Police Department'); /*!40000 ALTER TABLE `agencyAltnames` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `incidentSubjectMap` -- DROP TABLE IF EXISTS `incidentSubjectMap`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `incidentSubjectMap` ( `incidentId` varchar(255) NOT NULL, `subjectId` int(11) NOT NULL, `injuryLevel` varchar(255) DEFAULT NULL, `weapons` varchar(255) DEFAULT NULL, `shotAtPolice` varchar(255) DEFAULT NULL, `wasSuicidal` varchar(255) DEFAULT NULL, `mentalIllness` tinyint(1) DEFAULT NULL, `shotSelf` tinyint(1) DEFAULT NULL, `arrestHistory` tinyint(1) DEFAULT NULL, `toxicologyD` varchar(255) DEFAULT NULL, `toxicologyS` varchar(255) DEFAULT NULL, `charges` varchar(255) DEFAULT NULL, `disposition` varchar(255) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `incidentSubjectMap` -- LOCK TABLES `incidentSubjectMap` WRITE; /*!40000 ALTER TABLE `incidentSubjectMap` DISABLE KEYS */; INSERT INTO `incidentSubjectMap` VALUES ('KL25',7,'Fatal','UNARMED','0','0',0,0,0,'Alcohol','','',''),('LM76',8,'Fatal','Rifle','0','0',0,0,0,'','','Aggravated assault/battery','Dropped'),('LM104',9,'Injury','UNARMED','0','0',1,0,0,'','','Aggravated assault/battery',''),('KL48',10,'No injuries','UNARMED','0','0',0,0,0,'','','Aggravated assault/battery, conspiracy to commit armed robbery','Dropped'),('LM155',11,'Injury','','0','0',0,1,0,'','','',''),('KL31',12,'Fatal','Vehicle','0','0',0,0,0,'','','',''),('LM167',13,'Injury','Vehicle','0','0',0,0,1,'','','Attempted murder, Aggravated assault/battery, Fleeing/eluding a police officer','Convicted'),('LM66',14,'Injury','Vehicle','0','0',1,0,0,'','','Resisting a police officer w/violence, Attempted murder','Acquitted'),('KL8',15,'Fatal','Handgun','0','0',0,0,0,'Opiates, Oxycodone','','',''),('LM116',16,'Fatal','Vehicle','0','0',0,0,1,'','','',''),('LM63',17,'Injury','Rifle','0','0',0,0,1,'','','Aggravated assault/battery','Convicted'),('KL14',18,'Fatal','Vehicle','0','0',0,0,1,'','','',''),('LM86',19,'No injuries','Handgun','0','0',0,0,0,'','','',''),('LM121',20,'Fatal','Handgun','0','0',0,0,1,'','','',''),('KL33',21,'Fatal','Knife or sword','0','0',1,0,0,'','','',''),('LM22',22,'No injuries','Vehicle','0','0',0,0,0,'','','',''),('LM6',23,'Injury','Handgun','0','0',0,0,0,'','','Aggravated assault/battery',''),('LM54',24,'Injury','Rifle','0','0',0,0,0,'','','',''),('LM54',25,'Fatal','Reached for or grabbed officer\'s weapon','0','0',0,0,1,'','','',''),('LM130',26,'Injury','Fists','0','0',0,0,1,'','','Resisting a police officer w/violence, Aggravated assault/battery','Convicted'),('LM125',27,'Injury','Vehicle','0','0',0,0,0,'','','',''),('KL72',28,'Injury','Handgun, Rifle','0','0',0,0,0,'','','',''),('KL45',29,'Fatal','UNARMED','0','0',0,0,0,'','','',''),('LM113',30,'Injury','Vehicle','0','0',0,0,1,'','','',''),('LM36',31,'Fatal','Handgun','0','1',1,0,1,'Alcohol, Cocaine','','',''),('LM42',32,'Fatal','Handgun','1','0',0,0,0,'','','',''),('LM124',33,'Fatal','Vehicle','0','0',0,0,1,'','','',''),('LM107',34,'Injury','Rifle','0','0',0,0,0,'','','Aggravated assault/battery','Acquitted'),('KL70',35,'No injuries','Handgun','1','0',0,0,0,'','','Attempted murder, Robbery with firearm','Convicted'),('KL62',36,'Fatal','Knife or sword','0','0',0,0,0,'','','',''),('LM140',37,'Fatal','Knife or sword','0','0',1,0,0,'Alcohol, Prescription drugs','','',''),('LM62',38,'Injury','Vehicle','0','0',0,0,1,'','','Resisting a police officer w/violence, Aggravated assault/battery','Convicted'),('LM99',39,'Fatal','Handgun','0','0',1,0,0,'','','',''),('LM122',40,'Fatal','UNARMED','0','0',0,0,0,'','','',''),('LM17',41,'No injuries','Handgun','0','0',0,0,1,'','','',''),('LM112',42,'Injury','UNARMED','0','0',0,0,0,'','','',''),('KL42',43,'No injuries','Rifle','0','0',0,0,1,'','','Aggravated assault/battery','Convicted'),('KL13',44,'Injury','Vehicle','0','0',0,0,1,'','','',''),('KL16',45,'No injuries','Vehicle','0','0',0,0,1,'','','Aggravated assault/battery, Fleeing/eluding a police officer, Grand theft Auto','Convicted'),('LM119',46,'Injury','UNARMED','0','0',0,0,0,'','','',''),('MM2',47,'Fatal','Rifle','0','0',0,0,0,'','','',''),('LM81',48,'Injury','UNARMED','0','0',0,0,0,'','','Obstructing a police officer','Dropped'),('LM55',49,'Injury','Vehicle','0','0',0,0,1,'','','Aggravated assault/battery','Convicted'),('KL1',50,'Injury','Vehicle','0','0',0,0,0,'','','Aggravated assault/battery','Convicted'),('KL11',51,'Injury','crow bar','0','0',0,0,1,'','Cocaine','Resisting a police officer w/out violence, Aggravated assault/battery, Larceny, burglary, breaking & entering, violation of probation','Convicted'),('KL22',52,'Fatal','hammer; tree trimmer','0','0',1,0,0,'','','',''),('KL55',53,'Fatal','Knife or sword','0','1',0,0,1,'Cocaine, Prescription drugs','','',''),('LM18',54,'Fatal','Rifle','0','0',0,0,0,'','','',''),('LM2',55,'Fatal','Handgun','1','0',0,0,1,'','','',''),('KL46',56,'No injuries','Handgun','0','0',0,0,0,'','','',''),('KL52',57,'No injuries','UNARMED','0','0',0,0,0,'','','',''),('LM114',58,'Fatal','Handgun, Reached for or grabbed officer\'s weapon','0','0',0,0,1,'','','',''),('LM111',59,'Injury','Handgun','0','1',0,0,1,'','','Aggravated assault/battery',''),('KL73',60,'Injury','Shotgun','0','0',0,0,1,'','','Attempted murder, Robbery armed w deadly weapon, planting a hoax bomb','Convicted'),('LM105',61,'Fatal','UNARMED','0','0',0,0,1,'','','',''),('LM37',62,'No injuries','Vehicle','0','0',0,0,1,'','','',''),('KL66',63,'','Handgun','0','0',0,0,1,'','','Aggravated assault/battery, Fleeing/eluding a police officer','Convicted'),('LM50',64,'Fatal','Handgun','0','0',0,0,1,'Alcohol, Prescription drugs','','',''),('DC1',65,'No injuries','Knife or sword, Vehicle','0','0',0,0,0,'','','Aggravated assault/battery, Fleeing/eluding a police officer, Carjacking (Deadly Weapon)','Convicted'),('LM102',66,'Injury','Handgun','0','1',0,0,0,'','Alcohol, Cocaine, Marijuana','Aggravated assault/battery',''),('KL71',67,'No injuries','Handgun','1','0',0,0,1,'','','Attempted murder, Aggravated assault/battery, Fleeing/eluding a police officer, Possession of Firearm, criminal mischief',''),('LM70',68,'Fatal','Vehicle','0','0',0,0,0,'','','',''),('LM92',69,'Injury','Handgun','0','0',0,0,0,'','','Aggravated assault/battery',''),('KL19',70,'Fatal','Knife or sword','0','0',0,0,0,'','','',''),('LM97',71,'Fatal','Handgun','0','1',1,0,0,'Alcohol, Prescription drugs','','',''),('LM30',72,'No injuries','UNARMED','0','0',0,0,0,'','Cocaine','Resisting a police officer w/violence','Acquitted'),('KL23',73,'Fatal','Handgun','1','0',0,0,0,'','','',''),('LM100',74,'Injury','Vehicle','0','0',0,0,0,'','','Aggravated assault/battery',''),('LM110',75,'Fatal','Handgun','0','0',0,0,1,'','','',''),('LM41',76,'Fatal','Knife or sword','0','0',1,0,0,'','','',''),('LM67',77,'Injury','UNARMED','0','0',0,0,0,'','','Fleeing/eluding a police officer','Dropped'),('LM51',78,'No injuries','Handgun','0','0',0,0,1,'','','Resisting a police officer w/violence, Aggravated assault/battery','Dropped'),('LM48',79,'Injury','Handgun','1','0',0,0,1,'','','Aggravated assault/battery','Convicted'),('KL21',80,'Fatal','Handgun','0','1',0,0,0,'','','',''),('LM73',81,'Injury','UNARMED','0','0',0,0,0,'','','',''),('KL53',82,'No injuries','Handgun','0','0',0,0,0,'','','Resisting a police officer w/out violence','Dropped'),('LM108',83,'Injury','Handgun','0','0',0,0,0,'','','Resisting a police officer w/violence, Aggravated assault/battery',''),('KL47',84,'Fatal','Handgun','0','1',0,0,0,'','','',''),('LM82',85,'Injury','Beat officer w/fists','0','0',0,0,1,'','','',''),('LM23',86,'No injuries','BB or toy gun','0','0',0,0,0,'','','',''),('LM26',87,'Fatal','Handgun','0','0',0,0,0,'','','',''),('KL15',88,'Injury','Vehicle','0','0',0,0,0,'','','Attempted murder, Aggravated assault/battery, Possession of cannabis, purchase of cannabis','Acquitted'),('LM34',89,'No injuries','Vehicle','0','0',0,0,0,'','','Aggravated assault/battery','Convicted'),('LM90',90,'Injury','Crowbar','0','0',0,0,1,'','','Aggravated assault/battery',''),('LM27',91,'No injuries','Vehicle','0','0',0,0,0,'','','Aggravated assault/battery, Fleeing/eluding a police officer','Dropped'),('KL35',92,'Injury','UNARMED','0','0',0,0,0,'','some type of hallucinogenic','Resisting a police officer w/out violence, escape while in lawful custody','Convicted'),('LM73',93,'Injury','Vehicle','0','0',0,0,1,'','','Aggravated assault/battery','Convicted'),('LM33',94,'Fatal','Handgun','0','1',0,0,0,'','','',''),('KL28',95,'Injury','Vehicle','0','0',0,0,1,'','','Aggravated assault/battery, Fleeing/eluding a police officer, reckless driving, grand theft','Convicted'),('LM28',96,'Injury','UNARMED','0','0',0,0,0,'','','',''),('KL70',97,'No injuries','Handgun','1','0',0,0,0,'','','Robbery with firearm; Possession of a firearm','Convicted'),('LM112',98,'Injury','Handgun','1','0',0,0,1,'','','',''),('KL68',99,'Fatal','Handgun','0','0',0,0,1,'','','',''),('LM80',100,'Fatal','Knife or sword','0','1',0,0,0,'','','',''),('LM166',101,'Fatal','Knife or sword','0','0',0,0,1,'','','',''),('LM32',102,'Fatal','Handgun','1','1',1,0,1,'','','',''),('LM129',103,'Injury','Vehicle','0','0',0,0,0,'','','Attempted murder','Pleaded to lesser crime'),('LM65',104,'Injury','BB or toy gun','0','0',0,0,0,'','','Aggravated assault/battery','Convicted'),('KL51',105,'Fatal','Reached for or grabbed officer\'s weapon','0','0',0,0,1,'Cocaine','','',''),('KL17',106,'Injury','Vehicle','0','0',0,0,1,'','','Aggravated assault/battery','Convicted'),('KL74',107,'Fatal','Knife or sword','0','0',0,0,0,'','','',''),('KL7',108,'No injuries','Vehicle','0','0',0,0,0,'','','Resisting a police officer w/violence, Aggravated assault/battery, Burglary, Grand Theft','Convicted'),('LM44',109,'Fatal','Handgun','1','0',0,0,0,'','','',''),('LM56',110,'Injury','UNARMED','0','0',0,0,0,'','','',''),('DC2',111,'Injury','Handgun','0','0',0,0,1,'','','Resisting a police officer w/out violence, Attempted murder, Aggravated assault/battery, Fleeing/eluding a police officer, Tampering with Evidence',''),('LM74',112,'Injury','Vehicle','0','0',0,0,0,'','','Aggravated assault/battery, Fleeing/eluding a police officer','Convicted'),('LM89',113,'Injury','Vehicle','0','0',0,0,1,'','','Aggravated assault/battery',''),('MM3',114,'Injury','Vehicle','0','0',0,0,0,'','','Aggravated assault/battery, Fleeing/eluding a police officer','Convicted'),('KL36',115,'No injuries','','0','0',0,0,0,'','','',''),('KL20',116,'Fatal','Handgun','0','0',0,0,1,'','','',''),('LM53',117,'Fatal','Fists, lawn ornament','0','0',0,0,1,'','','',''),('LM39',118,'Injury','Handgun','0','0',0,0,0,'','','Resisting a police officer w/violence, Aggravated assault/battery','Dropped'),('LM154',119,'Injury','UNARMED','0','0',0,0,0,'','','',''),('LM96',120,'Injury','Handgun','1','0',0,0,0,'','','Attempted murder, Aggravated assault/battery',''),('LM95',121,'Fatal','UNARMED','0','0',0,0,0,'','','',''),('MM1',122,'Injury','BB or toy gun','0','0',0,0,1,'','','Resisting a police officer w/violence, Aggravated assault/battery','Convicted'),('KL28',123,'No injuries','Vehicle','0','0',0,0,0,'','','Aggravated assault/battery, Fleeing/eluding a police officer, grand theft, kidnapping','Dropped'),('LM31',124,'Injury','Vehicle','0','0',0,0,0,'','','Aggravated assault/battery','Convicted'),('KL64',125,'Injury','Handgun','0','0',0,0,0,'','','Attempted murder, Carjacking with a firearm, shooting a police dog','Convicted'),('LM10',126,'Fatal','Handgun','0','0',0,0,1,'','','',''),('KL48',127,'Injury','UNARMED','0','0',0,0,0,'','','Conspiracy to commit home invasion','Convicted'),('KL12',128,'No injuries','Vehicle','0','0',0,0,0,'','','Resisting a police officer w/out violence, Aggravated assault/battery, Fleeing/eluding a police officer, Driving under influence, driving with suspended license, open container in vehicle',''),('LM77',129,'Fatal','BB or toy gun','0','0',0,0,0,'','','',''),('LM58',130,'No injuries','Handgun','0','0',0,0,1,'','','Aggravated assault/battery','Convicted'),('KL9',131,'Injury','Vehicle','0','0',0,0,1,'','','Resisting a police officer w/out violence, Aggravated assault/battery, Fleeing/eluding a police officer, Trespassing, disturbing the peace, grand theft, driving with suspended license',''),('KL6',132,'Fatal','Handgun','1','0',0,0,0,'Cocaine, Opiates','','',''),('LM43',133,'No injuries','Vehicle','0','0',0,0,1,'','','Aggravated assault/battery, Fleeing/eluding a police officer','Convicted'),('LM103',134,'Injury','Handgun, Vehicle','0','0',0,0,1,'','','Aggravated assault/battery','Convicted'),('LM57',135,'Fatal','Handgun','0','0',0,0,0,'Alcohol, Methamphetamine','','',''),('KL44',136,'Injury','Vehicle','0','0',0,0,0,'','','',''),('LM123',137,'Fatal','Vehicle','0','0',0,0,0,'','','',''),('LM35',138,'Fatal','Handgun','0','0',0,0,0,'','','',''),('KL50',139,'Fatal','Fought with officers','0','0',0,0,0,'','','',''),('LM20',140,'Injury','UNARMED','0','0',0,0,1,'','','',''),('LM77',141,'Injury','UNARMED','0','0',0,0,0,'','','',''),('KL67',142,'Injury','ATV','0','0',0,0,0,'','','Attempted murder, Aggravated assault/battery',''),('LM84',143,'Fatal','Knife or sword','0','0',0,0,0,'','','',''),('MM2',144,'Injury','Handgun','0','0',0,0,0,'','','BRANDISHING OF A FIREARM DURING AND IN RELATION TO A DRUG TRAFFICKING CRIME','Convicted'),('DC1',145,'No injuries','Knife or sword, Vehicle','0','0',0,0,0,'','','Aggravated assault/battery, Fleeing/eluding a police officer','Convicted'),('LM64',146,'No injuries','Vehicle','0','0',0,0,1,'','','Aggravated assault/battery, Fleeing/eluding a police officer',''),('KL27',147,'Fatal','Handgun, Knife or sword','1','0',0,0,0,'','','',''),('JE01',148,'No injuries','Handgun','0','0',0,0,1,'','','Aggravated assault/battery, possession of a firearm by a convicted felon',''),('KL32',149,'Injury','UNARMED','0','0',0,0,0,'','','home invasion, burglary, kidnapping','Convicted'),('LM69',150,'Injury','UNARMED','0','0',0,0,0,'','','',''),('KL61',151,'No injuries','','0','0',0,0,0,'','','Resisting a police officer w/violence, Aggravated assault/battery','Convicted'),('LM159',152,'No injuries','Vehicle','0','0',0,0,0,'','','Fleeing/eluding a police officer',''),('KL37',153,'Injury','Handgun','0','1',0,0,0,'','','Aggravated assault/battery, discharging a firearm in public','Dropped'),('LM128',154,'Fatal','Handgun','0','1',0,0,1,'','','',''),('LM120',155,'Injury','Reached for or grabbed officer\'s weapon','0','0',0,0,1,'','','Resisting a police officer w/violence','Convicted'),('LM79',156,'Fatal','UNARMED','0','0',0,0,0,'','','',''),('LM91',157,'Injury','Handgun','0','0',0,0,0,'','Alcohol','',''),('KL58',158,'Injury','Vehicle','0','0',0,0,1,'','','Grand Theft Auto','Dropped'),('MM5',159,'No injuries','Handgun','0','0',0,0,0,'','','Resisting a police officer w/violence, Aggravated assault/battery, Fleeing/eluding a police officer',''),('LM72',160,'Fatal','UNARMED','0','0',1,0,1,'','','',''),('LM146',161,'','','0','0',0,1,0,'','','',''),('LM118',162,'Injury','Handgun','0','0',0,0,0,'','Alcohol','',''),('LM21',163,'Injury','Vehicle','0','0',0,0,1,'','','Attempted murder, Aggravated assault/battery','Acquitted'),('LM98',164,'Fatal','Rifle','0','0',0,0,0,'Marijuana, Prescription drugs','','',''),('LM132',165,'Fatal','Screwdriver','0','0',1,0,1,'','','',''),('KL39',166,'No injuries','Handgun','1','0',0,0,1,'','','Discharging a firearm from a vehicle','Convicted'),('MM4',167,'Injury','UNARMED','0','0',0,0,0,'','','',''),('LM9',168,'Injury','Vehicle','0','0',0,0,1,'','','Aggravated assault/battery, Fleeing/eluding a police officer',''),('KL18',169,'Fatal','Knife or sword','0','0',0,0,1,'','','',''),('LM60',170,'Fatal','Knife or sword','0','0',1,0,1,'','','',''),('KL34',171,'Injury','Handgun','0','0',0,0,0,'','','Aggravated assault/battery, Fleeing/eluding a police officer, carjacking; felon in possession of firearm','Convicted'),('LM38',172,'Injury','Rifle','0','0',0,0,1,'','','Aggravated assault/battery','Convicted'),('KL48',174,'Injury','Handgun','1','0',0,0,1,'','','Aggravated assault/battery, grand theft auto, conspiracy to commit home invasion, possession of firearm by convicted felon','Convicted'),('LM131',175,'No injuries','Hammer','0','0',0,0,1,'','','',''),('LM127',176,'Injury','Knife or sword','0','0',0,0,1,'','','',''),('KL26',177,'Fatal','Knife or sword','0','1',0,0,1,'','','',''),('KL61',178,'Fatal','','0','0',0,0,0,'Alcohol','','',''),('LM115',179,'No injuries','Vehicle','0','0',0,0,1,'','','',''),('LM78',180,'Fatal','BB or toy gun, Knife or sword','1','0',0,0,0,'','','',''),('KL49',181,'No injuries','Handgun','1','0',0,0,1,'','','',''),('KL75',182,'No injuries','Handgun','0','0',0,0,0,'','','Resisting a police officer w/out violence, Aggravated assault/battery, dui, carry concealed weeapon',''),('KL60',183,'Fatal','Vehicle','0','0',0,0,0,'Cocaine','','',''),('LM5',184,'Injury','NA','0','0',0,0,0,'','','',''),('LM168',185,'Fatal','','0','0',0,0,1,'','','',''),('KL40',186,'No injuries','Handgun','0','0',0,0,0,'','','improper exhibition of firearm; felon in possession of firearm','Convicted'),('LM5',187,'No injuries','NA','0','0',0,0,0,'','','',''),('LM19',188,'Fatal','BB or toy gun','0','0',1,0,0,'Alcohol','','',''),('LM109',189,'Injury','Handgun','0','0',0,0,1,'','','Resisting a police officer w/out violence','Dropped'),('KL10',190,'Injury','Handgun','0','0',0,0,1,'','','Aggravated assault/battery','Pleaded to lesser crime'),('KL2',191,'Injury','Vehicle','0','0',0,0,0,'','','Resisting a police officer w/out violence, Fleeing/eluding a police officer, leaving the scene of an accident w/ property damage, reckless driving',''),('LM59',192,'Injury','Knife or sword','0','1',0,0,1,'','','Aggravated assault/battery','Convicted'),('LM151',193,'Fatal','Handgun','0','1',0,0,0,'','','Aggravated assault/battery','Dropped'),('LM106',194,'Injury','Knife or sword','0','1',0,0,0,'','','Aggravated assault/battery',''),('LM101',195,'Injury','UNARMED','0','0',0,0,1,'','','Failure to obey a lawful order',''),('LM124',196,'Injury','UNARMED','0','0',0,0,1,'','','',''),('KL54',197,'Injury','Handgun','0','0',0,1,0,'','','',''),('DC3',198,'Injury','Handgun','0','0',0,0,0,'','','Resisting a police officer w/violence, Aggravated assault/battery, Fleeing/eluding a police officer, Armed Robbery','Dropped'),('LM88',199,'Injury','UNARMED','0','0',0,0,0,'','','',''),('LM49',200,'Injury','Vehicle','0','0',0,0,1,'','','Aggravated assault/battery, Fleeing/eluding a police officer','Convicted'),('KL29',201,'Fatal','Rifle','1','1',0,0,0,'','','',''),('LM68',202,'Fatal','UNARMED','0','0',0,0,0,'','','',''),('KL65',203,'Fatal','','0','0',0,0,1,'','','',''),('KL58',204,'Fatal','Vehicle','0','0',0,0,1,'','','',''),('MM6',205,'No injuries','Vehicle','0','0',0,0,0,'','','Attempted murder','Convicted'),('KL59',206,'Injury','Vehicle','0','0',0,0,0,'','','Fleeing/eluding a police officer, Robbery by sudden snatching, Tampering with physical evidence, Petit Theft, reckless driving, leaving scene of crash with injury','Convicted'),('LM94',207,'Injury','Bottle','0','0',0,0,1,'','Alcohol','Aggravated assault/battery',''),('KL38',208,'No injuries','','0','0',0,0,0,'','','Possession of Cocaine','Convicted'),('MM7',209,'No injuries','Reached for or grabbed officer\'s weapon','0','0',0,0,0,'','','Resisting a police officer w/violence, Aggravated assault/battery',''),('LM83',210,'No injuries','Handgun','1','0',0,0,0,'','','Attempted murder','Dropped'),('LM136',211,'No injuries','Handgun','0','1',0,0,0,'','','',''),('LM117',212,'Injury','Knife or sword','0','0',0,0,0,'','','',''),('LM87',213,'No injuries','Vehicle','0','0',0,0,1,'','','',''),('KL57',214,'Fatal','','0','0',1,0,1,'Marijuana','','',''),('LM29',215,'No injuries','Vehicle','0','0',0,0,0,'','','Aggravated assault/battery, Fleeing/eluding a police officer','Dropped'),('LM16',216,'Fatal','Handgun','0','1',0,0,1,'','','',''),('LM71',217,'Injury','Rifle','0','0',0,0,0,'','','Attempted murder','Convicted'),('KL52',218,'No injuries','UNARMED','0','0',0,0,0,'','','',''),('LM45',219,'Fatal','Reached for or grabbed officer\'s weapon','0','0',0,0,1,'Cocaine','','',''),('LM1',220,'Fatal','Handgun','1','0',0,0,0,'','','',''),('KL24',221,'Injury','Handgun','1','0',0,0,1,'','','Attempted murder, Aggravated assault/battery, Fleeing/eluding a police officer, home invasion w firearm, burglary w firearm, felon in possession of firearm',''),('LM40',222,'Fatal','UNARMED','0','0',0,0,1,'Alcohol, Cocaine','','',''),('LM13',223,'Fatal','BB or toy gun','0','0',0,0,1,'','','',''),('LM52',224,'Injury','Shotgun','0','0',0,0,1,'','','Attempted murder','Acquitted'),('LM150',225,'No injuries','Vehicle','0','0',0,0,1,'','','Aggravated assault/battery, Fleeing/eluding a police officer',''),('LM25',226,'Injury','Vehicle','0','0',0,0,0,'','','Aggravated assault/battery','Convicted'),('LM93',227,'Fatal','Reached for or grabbed officer\'s weapon','0','0',1,0,1,'','','',''),('LM75',228,'Fatal','Handgun','0','0',0,0,1,'','','',''),('LM14',229,'Injury','UNARMED','0','0',0,0,1,'','','',''),('LM4',230,'Injury','Handgun','1','0',0,0,0,'','','Resisting a police officer w/violence, Attempted murder, Aggravated assault/battery, Fleeing/eluding a police officer','Convicted'),('LM46',231,'No injuries','Handgun','0','0',0,0,1,'','','Aggravated assault/battery','Convicted'),('MQ1',232,'Fatal','Reached for or grabbed officer\'s weapon','0','0',0,0,1,'','','Battery on a law enforcement officer','Dropped'),('MQ2',233,'Fatal','Handgun','1','0',0,0,1,'','','',''),('LM85',234,'No injuries','UNARMED','0','0',0,0,1,'','','',''),('MQ3',235,'Fatal','','0','0',0,0,0,'','','',''),('LM161',236,'No injuries','Vehicle','0','0',0,0,0,'','','Aggravated assault/battery','Dropped'),('MM2',237,'Injury','Handgun','0','0',0,0,0,'','','BRANDISHING OF A FIREARM DURING AND IN RELATION TO A DRUG TRAFFICKING CRIME','Convicted'),('LM138',238,'No injuries','Handgun','0','0',0,0,0,'','','',''),('KL56',239,'No injuries','Handgun','1','0',0,0,0,'','','Murder',''),('LM3',240,'No injuries','UNARMED','0','0',0,0,1,'','','Resisting a police officer w/violence, Resisting a police officer w/out violence, Aggravated assault/battery, Fleeing/eluding a police officer','Convicted'),('LM47',246,'No injuries','Vehicle','0','0',0,0,1,'','','Aggravated assault/battery, Fleeing/eluding a police officer','Convicted'),('LM61',247,'No injuries','Handgun','1','0',0,0,1,'','','',''),('LM24',248,'Fatal','Handgun','0','0',0,0,0,'','','',''),('LM126',249,'Fatal','UNARMED','0','0',0,0,0,'','','',''),('KL70',250,'No injuries','Handgun','0','0',0,0,0,'','','Robbery with firearm','Convicted'),('LM42',251,'Injury','UNARMED','0','0',0,0,0,'','','',''),('LM12',252,'Fatal','Handgun, fake pipe bomb','1','0',0,0,0,'','','',''),('LM163',256,'','','0','0',0,0,0,'','','',''),('LM15',257,'Unknown','Vehicle','0','0',0,0,0,'','','',''),('LM135',258,'Unknown','Handgun','1','0',0,0,0,'','','',''),('LM137',259,'No injuries','Vehicle','0','0',0,0,0,'','','',''),('LM141',260,'Unknown','Handgun','1','0',0,0,0,'','','',''),('LM158',261,'No injuries','Vehicle','0','0',0,0,0,'','','',''),('LM115',262,'Injury','UNARMED','0','0',0,0,0,'','','',''),('LM160',263,'Unknown','Vehicle','0','0',0,0,0,'','','',''),('KL43',264,'Injury','NA','0','0',0,0,0,'','','',''),('KL41',265,'','','0','0',0,0,0,'','','',''),('KL31',266,'No injuries','Handgun','0','0',0,0,0,'','','',''),('KL30',267,'NA','Vehicle','0','0',0,0,0,'','','',''),('JE02',268,'','Handgun','0','0',0,0,0,'','','',''); /*!40000 ALTER TABLE `incidentSubjectMap` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `incidents` -- DROP TABLE IF EXISTS `incidents`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `incidents` ( `id` varchar(255) NOT NULL, `caseNum` varchar(255) DEFAULT NULL, `hed` text, `summary` text, `date` date DEFAULT NULL, `location` varchar(255) DEFAULT NULL, `city` varchar(255) DEFAULT NULL, `zip` varchar(255) DEFAULT NULL, `injuryLevel` varchar(255) DEFAULT NULL, `manner` varchar(255) DEFAULT NULL, `shotsFired` int(11) DEFAULT NULL, `shotsHit` int(11) DEFAULT NULL, `copsFired` int(11) DEFAULT NULL, `suspectsInvolved` varchar(255) DEFAULT NULL, `initialContact` varchar(255) DEFAULT NULL, `callType` varchar(255) DEFAULT NULL, `isDomesticDispute` tinyint(1) DEFAULT NULL, `lessLethalForceUsed` varchar(255) DEFAULT NULL, `isSuicideByCop` tinyint(1) DEFAULT NULL, `shotIntoVehicle` tinyint(1) DEFAULT NULL, `isAccidental` tinyint(1) DEFAULT NULL, `footPursuit` tinyint(1) DEFAULT NULL, `carPursuit` tinyint(1) DEFAULT NULL, `physicalStruggle` tinyint(1) DEFAULT NULL, `lawsuitFiled` tinyint(1) DEFAULT NULL, `hasDiscrepancies` tinyint(1) DEFAULT NULL, `isModelCase` tinyint(1) DEFAULT NULL, `notes` text, `reviewBoard` tinyint(1) DEFAULT NULL, `otherOfficersInjured` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `incidents` -- LOCK TABLES `incidents` WRITE; /*!40000 ALTER TABLE `incidents` DISABLE KEYS */; INSERT INTO `incidents` VALUES ('DC1','8025720','Shooting started when 81-year-old\'s Camaro carjacked','An 81-year-old woman was carjacked as she was leaving a pool in Leisureville. She was about to turn the ignition on her white Chevy Camaro when she was approached by two men carrying a knife, so she handed them the keys. Police caught up with the car a short time later. A short chase ensued and the Camaro crashed. officer <NAME> approached the car but was nearly struck when the driver hit the gas and the front end swerved. Haugh fired several shots and officer <NAME> fired one shot. No one was hurt. Both suspects were arrested.','2008-05-29','NW 13th Ave and N. Seacreast Blvd','Boynton Beach','33435','No injuries','',11,0,2,'2','Call','Stolen vehicle',0,'',0,1,0,0,1,0,0,0,0,'There is video of the chase from the officer\'s dashcam.',0,NULL),('DC2','08-22372','Boynton Burger King robbery leads to chase; suspect shot in the leg','Boynton Beach police get a call about shots fired during an armed robbery at the Burger King at 1490 SW 8th St. Three suspects had gone into the restaurants wearing masks and holding guns.They ordered customers to the floor. Shots were fired as the suspects left, but no one was injured. Police spotted the suspects\' silver Saturn driving away from the fast food restaurant and chased them onto I-95. During a chase with speeds up to 95 mph, an officer said he saw five muzzle flashes from the suspects\' car. A bullet struck a Florida Highway Patrol car. The car chase ended when the suspects stopped and ran on foot in Deerfield Beach. Sgt. <NAME> and another officer encountered one of the armed men. He was \"blading\" toward them, meaning he turned his body as if to fire. He didn\'t shoot. Hawkins fired five shots, hitting him in the leg. The man wasn\'t arrested until a short time later. No gun was found. Hawkins had left his off-duty side job at Muvico to join the pursuit. By the time the chase ended, 20 Boynton Beach units were in Broward County. Despite criticism that the city was left under-covered and that there was no need for Hawkins to have joined the chase, the officers were commended.','2008-05-09','107 SW 2ND CT','Deerfield Beach','33441','Non-Fatal','',5,1,1,'1','Call','Robbery or robbery alarm',0,'',0,0,0,1,1,0,0,0,0,'Good example of protocol not being handled in a chase.',0,NULL),('DC3','08-03725','Carjacking suspect shot, bitten by dog','Boynton Beach officer <NAME> chased a car down I-95 that had been reported stolen in an armed carjacking. The chase ended near the Tri-Rail tracks off Okeechobee Boulevard in West Palm Beach. The officer chased the suspect on foot. He says the suspect, <NAME>, pointed a gun at him. Muhlheisen fired 11 times, hitting Steward once in the shoulder. Steward was bitten by a police dog and arrested.','2008-02-27','Clearwater Place and Clearwater Drive','West Palm Beach','33401','Non-Fatal','',11,1,1,'1','Call','Other',0,'',0,0,0,1,1,0,0,0,0,'',0,NULL),('JE01','13-111379','Passenger flees traffic stop with gun, deputy climbs fence, fires twice, misses','PBSO deputy <NAME> saw a suspicious vehicle on patrol near Gramercy Park outside Riviera Beach near Haverhill Road. The driver had no seat belt. He pulled the car over and a passenger carrying a handgun ran. Brookins chased. When he climbed a fence, he saw the man, Arthur \"Maurice\" Key, 32, on the ground, holding the gun and pointing it in his direction. He ordered Key to drop the weapon and fired two shots, both of which missed. Key got away but the gun was found nearby. Key was arrested with heroin and other drugs the next day at a hotel. He said he injured his leg climbing the fence and fell twice just before the deputy shot at him.','2013-08-22','4987 Caribbean Blvd.','West Palm Beach','33407','No injuries','',2,0,1,'1','Traffic stop','',0,'',0,0,0,1,0,0,0,0,0,'',0,NULL),('JE02','14-138652','Deputy investigating drug sales sees gun, fires single shot; suspects take off, avoid arrest','A PBSO deputy, suspecting drug sales in a Lake Worth neighborhood, approached a Mazda with three people inside. Deputy <NAME> said he saw a passenger reach for a gun and point it at him. Desir fired a single shot and the Mazda took off. Deputies found the car later but did not find the people inside.','2014-11-01','806 South N St.','Lake Worth','33460','No injuries','',1,0,1,'3','Call','Other',0,'',0,1,0,0,0,0,0,0,0,'',0,NULL),('KL1','06-2680','14-year-old shot after backing up car, hitting police motorcycle','Lantana police officer <NAME> was driving home when he smelled marijuana from a vehicle driven by <NAME>, 14. Shackelford followed the car to a cul-de-sac and stepped off his motorcycle. Clemons backed up, striking the motorcycle. Shackelford fired. As Clemons pulled away, Shackelford fired again. Clemons was shot once in the back and arrested at the scene.','2006-11-27','7100 block of Hyatt Ave., Lantana, FL','Lantana','33462','Non-Fatal','',4,1,1,'1','Traffic stop','',0,'',0,1,0,0,0,0,0,0,1,'Cop shot at vehicle while driving away. His second shooting in about two months - see Katie Lee Vest case. Has interesting personnel history.',0,NULL),('KL10','01-06-010077','Officer shoots gunman at St. Lucie fairground','Working off duty during a bikers event at the St. Lucie fairgrounds, St. Lucie County deputy <NAME> heard gunshots. When he went to investigate, he saw <NAME> shooting toward a large crowd. Stuhr ordered Smith to drop his gun. Smith turned toward him, and Stuhr fired three shots at Smith, striking him once in the abdomen. ','2006-08-03','15601 W. Midland Road, Fort Pierce, FL','Fort Pierce','34982','Non-Fatal','',3,1,1,'1','Other','Other',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('KL11','01-05-013085','Man armed with crowbar, tries to rob school vending machine; shot rushing at officer','<NAME> was seen on a surveillance video holding a crowbar about to rob a school vending machine. Deputy <NAME> and another officer were setting up a perimeter around the school when they started chasing Coberly. When they caught up to him, Coberly held up the crowbar and rushed at Barker, who fired one round, striking Coberly in the shoulder.','2005-09-17','1485 Cashmere Boulevard, Port St. Lucie, FL','Port St. Lucie','34986','Non-Fatal','',1,1,1,'1','Investigation','',0,'',0,0,0,1,0,0,1,0,0,'Coberly claims bullet was never removed from his shoulder.',0,NULL),('KL12','1-05-003603','Deputy shoots tire to stop fleeing suspect','St. Lucie County sheriff\'s deputies working an undercover weed and seed mission noticed <NAME>, 22, driving out of a heavy gang area with his hands out of the car. When deputies tried to stop Hernandez, he sped away and eventually struck another car. When deputy <NAME> ordered Hernandez out of the car, Hernandez started the car again and began to drive the damaged car. Hester fired one shot at a front tire to stop the car. Hernandez surrendered.','2005-03-16','North 21st street, avenue G, Fort Pierce','Fort Pierce','34950','No injuries','',1,0,1,'1','Traffic stop','',0,'',0,0,0,0,1,0,0,0,0,'',0,NULL),('KL13','1-01-002291','Suspect guns car\'s engine, shot three times','Port St. Lucie Detective <NAME> was investigating a series of aluminum hurricane shutter thefts when he came across a suspect at a recycling business. When Carmichael tried to speak with <NAME>, Canady started to drive away. Carmichael continued to try and speak with Canady when Canady stopped his car, gunned the engine and lurched toward the detective. Carmichael shot three times, striking Canady all three times and wounding him.','2003-02-25','3301 D Avenue','Fort Pierce','34946','Non-Fatal','',3,3,1,'1','Investigation','Other',0,'',0,1,0,0,0,0,1,0,0,'Port St. Lucie settled the case in 2008 for $750,000. In the lawsuit, Canady claimed Detective Carmichael was not in uniform and didn\'t identify himself as an officer. Canady was left paralyzed.',0,NULL),('KL14','01-12-012680','Drug deal gone bad: Suspect flees, drives toward cops, killed','Fort Pierce officer <NAME> noticed a drug deal. When he approached, one man fled on foot and the other, <NAME>, sped away in a pickup truck. Austgen ignored attempts to stop him and drove into an open field, where he struck two patrol cars and drove toward Holmes and St. Lucie County Sheriff\'s Detective Keith Pearson. Both men fired at him, killing him.','2012-12-19','South 11th Street , Fort Pierce, FL','Fort Pierce','34950','Fatal','Homicide',NULL,NULL,2,'2','Investigation','',0,'',0,1,0,0,1,0,0,0,0,'',0,NULL),('KL15','1-01-001064','Suspect flees undercover drug bust, drives toward Fort Pierce officers, wounded','Fort Pierce police went undercover as drug sellers. <NAME>air bought marijuana from them. When officers moved in to make an arrest, Hair fled in a car. He accelerated, almost hitting several officers in front of the car, then accelerated in reverse and narrowly missed several officers behind his car. Hair accelerated once again toward the officers at which time three officers -- Fort Pierce officers <NAME>, <NAME> and <NAME> -- fired. Hair was hit in the thigh and arrested. ','2001-01-26','3106 Avenue C, Fort Pierce, FL','Fort Pierce','34950','Non-Fatal','',3,1,3,'1','Investigation','',0,'',0,1,0,0,1,0,0,0,0,'',0,NULL),('KL16','37886','Five shots fired at driver of stolen car, none hit','A call came in about a stolen car seen leaving the Boynton Lakes Development. When officer <NAME>. tried to stop the car, police said the driver, Antwon (<NAME>, tried to run Merkle over. Merkle shot five rounds at the car. Other officers deployed stop sticks to stop the car. Bush fled on foot but was caught. He had not been shot. ','2000-08-18','36 Camden Lane','Boynton Beach','33426','No injuries','',5,0,1,'1','Call','Stolen vehicle',0,'',0,1,0,0,1,0,0,0,0,'',0,NULL),('KL17','00-159347','Driver fleeing arrest shot in hand','PBSO deputy <NAME> and another officer were conducting drug, vehicle and pedestrian stops in a high crime area of Lake Worth. While they were making an arrest, police said <NAME> tried to strike them with his car. Strivelli fired twice, striking Hunter in the hand.','2000-12-06','Price Street and Lake Worth Road','Lake Worth','33461','Non-Fatal','',2,1,1,'2','Traffic stop','',0,'',0,1,0,0,0,0,0,0,0,'Deputy featured in cops series after incident.',0,NULL),('KL18','13-052196','Man won\'t drop knife, shot four times','PBSO deputy <NAME> responded to a domestic violence calls and heard <NAME> yelling and banging a cane knife against a wall. Mercier told Rhodes to drop the knife but Rhodes moved toward the deputy. Mercier said he stepped back and repeated his commands but Rhodes kept moving toward him. Mercier fired four rounds striking Rhodes all four times and killing him.','2013-03-23','4049 Gun Club Road','West Palm Beach','33406','Fatal','Homicide',4,4,1,'1','Call','Assault/battery with a gun or other weapon',1,'',0,0,0,0,0,0,0,0,1,'<NAME>\' wife, Nina, spoke to media after incident and while admitting to Daniel\'s actions, she also said that the deputy did not have to kill her husband.',0,NULL),('KL19','13-023552','Wife shot to death trying to stab husband','Deputies <NAME> and <NAME>, responding to a domestic call in Lake Worth, found the caller, <NAME>, being chased by his wife, <NAME>. She was trying to stab him with a 13-inch butcher knife. Reza and Eley shot nine times at Falconi, striking her six times, after she refused to put down the knife. She was killed.','2013-01-08','1407 North J Street Unit 3','Lake Worth','33460','Fatal','Homicide',9,6,2,'1','Call','Family or domestic disturbance',1,'',0,0,0,0,0,0,0,0,0,'Deputy Reza was involved in a fatal deputy involved shooting in 2011 during a similar domestic disturbance call.',0,NULL),('KL2','2003-03','Jupiter officers shoot at fleeing driver after traffic stop','Jupiter Police Officer <NAME> stopped a Honda Civic driven by <NAME> for speeding. Officers <NAME> and <NAME> responded as backup. While they questioned him, Smith closed his door, locked it and accelerated in reverse, striking Lloyd\'s motorcycle. Kowalski tried to open the driver\'s door, but it was locked so he kicked the window out with his leg. Smith complied with orders to put his hands up, then dropped his hands to the wheel and drove away. Lloyd fired at the car eight times striking Smith in the neck, leg and lower back. The car went across Central Boulevard, across the median and hit a truck.Kowalski said he didn\'t think the shooting was necessary.','2003-06-05','17443 South Central Boulevard Jupiter, FL','Jupiter','33458','Non-Fatal','',8,4,1,'1','Traffic stop','',0,'',0,1,0,0,0,0,0,1,1,'Other officers on scene did not fear for their lives and questioned why Officer Lloyd used excessive force. IA ultimately concluded Officer Lloyd violated department rules/procedures for use of deadly force.',0,NULL),('KL20','12-513','Pot-smoking call leads to struggle, suspect\'s death','Responding to a \"suspicious vehicle\" call in which a neighbor said occupants were smoking pot, PBSO deputy <NAME>, his weapon drawn, ordered the passenger, <NAME>, to place his hands on the car. Jolicouer ran. Kushel grabbed him by the shirt and the two began to struggle. Sgt. <NAME> arrived to provide backup. As Kushel wrestled Jolicouer to the ground, Kushel says Jolicouer reached for a gun in his waistband. When Hightower tried to take it away, Jolicouer wouldn\'t release his grip. Kushel fired five times, killing Jolicouer.','2012-12-13','5723 Orchard Way','West Palm Beach','33417','Fatal','Homicide',5,5,1,'1','Call','Other',0,'',0,0,0,1,0,1,0,1,1,'Family members claimed Jolicouer was not armed when he was killed.',0,NULL),('KL21','312020976','Suicidal armed man confronts SWAT team, killed','<NAME> was dropped off at his parents\' house by his wife. After an argument, an extremely agitated Fuller told his parents he was going to kill himself and would shoot any officer who came to the house. Port St. Lucie police and the SWAT team responded. Fuller hid behind a shed. He came out and walked toward police aggressively holding a gun. Sgt. <NAME>, officer <NAME> and Detective <NAME>, three SWAT team members, fired multiple times at Fuller, killing him.','2012-11-03','2817 SE Peru Street ','Port St. Lucie','34984','Fatal','',NULL,NULL,3,'1','Call','Suicide or suicide attempt',0,'',1,0,0,0,0,0,0,0,0,'',0,1),('KL22','IR, 12-425; case #12-129124','Bipolar man off his meds throws rocks at deputy, killed','<NAME>\'s mom called 911 three times, saying her 18-year-old son, who was off his medicine for bipolar disorder, was out of control. Camberdella had choked his mom and hit his dad. She said her son would resist a deputy. When deputy <NAME> arrived, Camberdella was holding a hammer and tree trimmer. Goldstein told him to drop them. Camberdella did and started advancing toward the deputy . Then he reached into his pocket and started throwing rocks at the deputy. That\'s when Goldstein fired 11 rounds and one struck Michael in the chest, killing him. ','2012-10-04','9000 block of Tremezzo Lane','Boynton Beach','33472','Fatal','Homicide',11,1,1,'1','Call','Family or domestic disturbance',1,'',0,0,0,0,0,0,1,0,1,'Lots of media coverage. Goldstein was certified in crisis intervention. He\'s the son of a former PBSO deputy and received a free ride into the police academy.',0,NULL),('KL23','IR 12-246; Incident # 12-082913','Fleeing murderer kills K-9, dies as police open fire','<NAME> shot and killed his girlfriend and fled on foot. When deputies came across him, he fled behind a concrete wall. A K-9 dog went through a chain link fence at the end of the wall. Felipe shot the dog twice. Lt. <NAME> and deputies <NAME> and <NAME> opened fire, killing Felipe.','2012-06-04','6151 Forest Hill Boulevard','West Palm Beach','33415','Fatal','Homicide',35,NULL,3,'1','Call','Homicide',0,'',0,0,0,1,0,0,0,0,0,'',0,NULL),('KL24','12-243','Armed carjacking leads to shootout; suspect hit twice, captured','Deputies were in pursuit of armed carjacking suspect <NAME> when Wallach crashed a car and fled on foot, firing at deputies as he ran through a neighborhood. When Cpl. <NAME> and another deputy encountered Wallach, Wallach fired and Ellis fired back five times. Deputies <NAME> and <NAME> ran into Wallach, who shot at them. Walton returned fire but Crawford didn\'t because a civilian was nearby. Wallach took cover behind a Chevy Blazer. Deputy <NAME> fired at Wallach five times. Wallach dropped to the ground after Detective <NAME> came to the scene and fired three times. Wallach was hit in the shoulder and hip. He survived. ','2012-06-02','Cherokee Road and Congress Avenue','West Palm Beach','33406','Non-Fatal','',35,2,5,'1','Call','Other',0,'',0,0,0,1,1,0,0,0,0,'',0,NULL),('KL25','IR 12-221','Pickup vignette///','PBSO Sgt. <NAME> was conducting undercover surveillance parked in the parking lot of a plant nursery owned by the Adams family when <NAME> came home. Seth became verbally combative with Custer and grabbed Custer\'s neck At one point, Seth moved toward his truck to retrieve something despite verbal commands not to. As Seth was turning back around, Custer shot him four times. Seth proceeded to walk onto his family\'s property and call his brother twice before collapsing to the ground.','2012-05-17','1950 A Road','Loxahatchee','33470','Fatal','Homicide',4,4,1,'1','Investigation','',0,'',0,0,0,0,0,0,1,1,1,'Received a lot of media attention. Case was also reviewed by FDLE. Adams family is being represented by Wallace McCall (Ted Leopold firm) in civil suit.',0,NULL),('KL26','IA 12-04, SAO# 12-001109','Stabbing suspect emerges from bathroom with a knife, shot to death','<NAME> had just stabbed his girlfriend in Riviera Beach when he fled in a car. Officers followed him to his home in Palm Beach Gardens where they found his ex-wife in a wheelchair and blood everywhere. Once inside, Sahakian grabbed a knife and started cutting himself. Officers tried to use a Taser on him but missed when Sahakian locked himself in the bathroom. Just as officers were about to kick down the door, Sahakian opened it, waving a knife at them. Sgt. <NAME> and officer <NAME> fired shots at him and one fired a Taser. Sahakian died.','2012-04-06','9229 Sun Terrace ','Palm Beach Gardens','33403','Fatal','Undetermined',7,NULL,2,'1','Call','Person with a gun, knife or other weapon',0,'Taser',0,0,0,0,1,0,0,0,0,'',0,NULL),('KL27','12-3733','Shooting suspect confronts police with a sword','West Palm Beach police responded to a shooting at a gas station and an armed suspect. Officers went to a nearby apartment complex to find the suspect, <NAME>. He shot at officer <NAME> while he was still in his patrol car. The officer returned fire as he got out of his car. The suspect started to chase the officer with a sword. Officer <NAME> saw Neloms running after Momirovich and fired two shots, killing him. ','2012-03-05','5570 N. Haverhill Road','West Palm Beach','33407','Fatal','Homicide',NULL,NULL,2,'1','Call','Illegal shooting',0,'',0,1,0,1,0,0,0,0,0,'',0,NULL),('KL28','IR 12-193','Car theft suspect wounded when he fishtails truck toward cop and his dog','The PBSO auto theft unit was tracking a stolen vehicle. K-9 deputy <NAME> was on his way to a perimeter that had been set up when he spotted <NAME>. and his dad running to the truck. Hardy jumped out of his patrol car and told the two to stop. They ignored him and got into the truck. Justin Jr. revved up the engine and fishtailed toward the deputy and his canine because of the sugary sand. Hardy pulled his canine out of the way and started shooting, striking Justin Jr. once in the shoulder. He survived.','2012-04-24','80th Terrace South','Lantana','33467','Non-Fatal','',5,1,1,'2','Call','Stolen vehicle',0,'',0,1,0,0,1,0,0,0,0,'',0,NULL),('KL29','IR 12-071; 12-036402','Credit union shooting: Suspect who fired on police killed','<NAME> called police and told them that a man holding a rifle was in the parking lot of the credit union. Thompson also told police where he was standing. When Sgt. <NAME>, deputy <NAME> and another officer arrived, Thompson fired several shots that struck Gale\'s patrol car. Gale fired back. When they saw Thompson reach for his rifle, they fired multiple shots, killing him.','2012-02-10','3469 Summit Boulevard','West Palm Beach','33406','Fatal','Homicide',10,10,3,'1','Call','Person with a gun, knife or other weapon',0,'',0,0,0,0,0,0,0,0,0,'<NAME> is reported to have told officers, \"thank you\" after he was shot. The incident did not generate any controversy. Media reports indicate Thompson was shot 11 times. But total number of rounds fired is listed as 10 in report.',0,NULL),('KL3','10-56881','Accidental discharge in captain\'s office','Jupiter Sgt. <NAME> was in the office of Capt. <NAME>. While he handled Feeney\'s pistol, Scopelitis accidentally discharged a round, striking the floor. No injuries.','2010-12-13','210 Military Trail Jupiter, FL','Jupiter','33458','No injuries','',1,NULL,1,'0','Other','',0,'',0,0,1,0,0,0,0,0,0,'Sgt. <NAME> was found to have violated general orders: Unauthorized use of firearms; Use of handling of weapons. ',0,NULL),('KL30','IR-12-049','Deputy fires into car, suspect in shooting found drowned six days later','A vehicle with unknown occupants, being chased by deputies and suspected of involvement in a shooting, drove through the police tape at the shooting scene and toward deputy Reginal Bush. Bush fired his gun and the car crashed into a metal pole. The occupants fled on foot. Six days later, the body of <NAME>, thought to be in the car, was found in a nearby canal. The cause of death was drowning. None of Bush\'s shells were found. ','2012-02-03','304 Pope Court','Pahokee','33476','No injuries','',5,NULL,1,'1','Investigation','Other',0,'',0,0,0,0,0,0,0,0,0,'The body of <NAME>, who was believed to have been one of the occupants in the car, was found in a nearby canal. No gunshot wounds were found.',0,NULL),('KL31','IR 11-536; 11-144568','Fleeing burglary suspect revs engine, shot in neck','Deputies responded to a home invasion in progress in Royal Palm Beach. When they arrived, they saw two suspects climb a fence. Deputy <NAME> fired one shot at one of the suspects, who continued to run. The other suspect, <NAME>, had run outside of the house but retreated and got into a car with the engine running. Another deputy warned Anderson he would shoot. Bethel heard the deputy and came to assist. Anderson revved the engine as if he was going to accelerate. When Anderson lowered one of his hands, Bethel fired once, shooting him in the lower neck.','2011-11-12','135 Finch Court','Royal Palm Beach','33411','Fatal','Homicide',1,1,1,'2','Call','Robbery or robbery alarm',0,'',0,1,0,1,0,0,0,0,0,'Deptuty Bethel also shot and killed a 16 year old in 2008',0,NULL),('KL32','IR11-514; case 11-140040','Burglary suspect moves into defensive posture, shot once','Deput<NAME> was called to a home invasion in progress. He made his way to the back of the home when he saw <NAME> leave through a broken glass door. Norton\'s hands were hidden under some kind of black cloth. Walton demanded Norton put up his hands. Norton removed his hands quickly and moved to a defensive position. Walton shot Norton once in the lower torso. Norton survived.','2011-11-01','2938 Via Vizcaya','West Palm Beach','33461','Non-Fatal','',1,1,1,'1','Call','Burglary or burglary alarm',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('KL33','IR-11-508; case 11-137476; 11-137454','Schizophrenic refused to drop knife, says \'shoot me\' and deputy does ','Deputies, responding to a domestic call, were greeted by <NAME>, holding a knife. Deputies told him to drop the knife and he refused, saying, \"Shoot me, Shoot me.\" Barreto moved toward deputies when deputy <NAME> shot his Taser and and deputy <NAME> fired his gun. Barreto was struck in the chest and died. Barreto was a diagnosed schizophrenic on various prescriptions. One witness said Barreto had just been playing Call of Duty.','2011-10-25','820 South Federal Highway','Lake Worth','33460','Fatal','Homicide',NULL,NULL,1,'1','Call','Family or domestic disturbance',1,'',0,0,0,0,0,0,0,1,1,'Representatives of Barreto spoke out after incident saying the shooting was unnecessary. SA\'s report and media reports conflict over issue regarding when the taser was deployed. SA\'s final report indicated that taser and gun were fired simultaneously. Media reports indicate that taser was fired first, had no effect and that\'s when Reza fired. This was not Reza\'s first fatal shooting.',0,NULL),('KL34','IA11-15; 11-08228','Routine traffic stop results in chase, carjacking, police shooting','Riviera Beach officer <NAME> stopped a car for a traffic violation when <NAME> got out of driver side rear door and fled on foot. He dropped a magazine on the ground but the officer saw a gun in his hand. Robinson then carjacked a minivan and drove away. Officers pursued him until he abandoned the car. Morgan chased Robinson on foot when he approached a home. Morgan demanded Robinson get on the ground and drop his weapon. Robinson turned and pointed his gun at the officer. Morgan fired once and struck Robinson, wounding him.','2011-08-14','1525 west 37th street','Riviera Beach','33404','Non-Fatal','',1,1,1,'1','Traffic stop','',0,'',0,0,0,1,1,0,0,0,0,'',0,NULL),('KL35','IA12-010','Deputy fires twice in hospital at fleeing burglary suspect','Deputy Latoya Rouse was assigned to watch a burglary suspect who had been hospitalized at Wellington Regional Medical Center. When she put handcuffs on him after a bathroom trip, her key broke and the handcuffs were loose. She asked a hospital employee to watch <NAME> while she got coffee. Then Haulotte asked for his leg shackles to be adjusted. When Rouse adjusted them, he kicked at her and slipped out of the handcuffs. She chased him through the triage area and the waiting room. Rouse fired two shots, one in each area, striking him once in the thigh, injuring him.','2011-08-14','10101 Forest Hill Boulevard','Wellington ','33414','Non-Fatal','',2,1,1,'1','Other','Other',0,'',0,0,0,1,0,0,0,0,0,'',0,NULL),('KL36','11-009930','Warning shot fired despite policy','West Palm Beach officer <NAME> arrived at the Radio Shack to handle a confrontation between the manager and the father of the manager\'s baby. Coincidentally, there was another call about a fraud case involving <NAME>, who happened to walk in the store. Hatcher became increasingly upset when the officer asked for his identification. Hatcher reached for his backpack. Swiderski told him to keep his hands visible. The two then started to move around the store in a cat and mouse manner. When Hatcher went to reach inside his backpack, Swiderski fired a shot, later calling it a warning shot. Hatcher was not injured during the incident. Firing warning shots is against PBSO policy.','2011-06-15','848 Southern Boulevard','West Palm Beach','33405','No injuries','',1,0,1,'1','Call','Other',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('KL37','SA11002355','Suicidal woman shot in thigh','Susan Pacifici told police she drove to Lantana from Port St. Lucie to commit suicide in front of her ex-husband. While she was in her car, she shot one round in the air. She said she wanted deputies to kill her. Pacifici got out of the car, walked toward the \"stick team\" that was in place and pointed her weapon at officers. Deputy <NAME> fired one shot from his rifle, striking her in the thigh. She survived.','2011-04-24','South of Dixie Highway and Ocean Boulevard','Lantana ','33462','Non-Fatal','',1,1,1,'1','Call','Suicide or suicide attempt',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('KL38','11-005635','One shot fired, misses man with crack cocaine','West Palm Beach officers responded to a call about loitering and drug sales. When officers arrived, <NAME> and others fled, and officers <NAME> and <NAME> chased them. Richards dropped a plastic container of crack cocaine. As Jones approached, Richards turned and pointed an item at him. Jones fired one shot, missing Richards. The item Richards was holding was never found.','2011-04-03','4th street and Tamarind Avenue','West Palm Beach','33401','No injuries','',1,0,1,'1','Call','Other',0,'',0,0,0,1,0,0,0,0,0,'',0,NULL),('KL39','IR11-018','Pickup vignette///','<NAME> was off duty, driving his wife and 2-year-old child home from the grocery store in his own car when he was cut off by a driver. He suspected the driver was intoxicated and followed him. While calling 911, the occupants in the car fired at him. Rivera returned fire, shooting 5 rounds. Later, the driver, <NAME>, said he had just heard his brother had been shot. No one was injured.','2011-01-23','E Canal St. North and SE 7th St. North','Belle Glade','33430','No injuries','',5,0,1,'4','Self-initiated','',0,'',0,1,0,0,1,0,0,0,1,'Case was not investigated by IA because deputy was off-duty.',0,NULL),('KL4','11-013157','Sleeping officer reaches for cellphone, fires gun','Jupiter Officer <NAME> was sleeping when the alarm on his cellphone went off. He reached for the phone but picked up his firearm instead, somehow pulling the trigger and firing one shot into a bedroom wall. No one was injured.','2011-03-20','Jupiter, FL','Jupiter','33458','No injuries','',1,NULL,1,'0','Other','Other',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('KL40','case #10-21075; IA#10-016','Cop chases man loitering outside store, shoots when suspect picks up gun','West Palm Beach officer <NAME> and another officer were patroling a high-crime area on Broadway when they approached some men who were loitering outside a store. When Malta got out of the car, a few of them ran. Malta chased <NAME> when he saw Pierre drop a gun. Pierre went back to retrieve the gun and Malta commanded him not to touch the gun but Pierre retrieved it anyway. When Pierre picked up the gun, Malta said he saw Pierre raise the gun toward him so Malta fired one round. There were no injuries.','2010-12-20','5509 Broadway Avenue','West Palm Beach','33407','No injuries','',1,0,1,'0','Self-initiated','',0,'',0,0,0,1,0,0,0,0,0,'',0,NULL),('KL41','2010015223','Shots fired to free passenger in I-95 car fire','Boca Raton officer <NAME> responded to a car fire on I-95. A passenger was still inside the car. After several attempts to break a window using a fire extinguisher, Jalil advised over the radio that he had no other option but to fire his gun to smash the window and save the girl. He fired two rounds and was able to get the girl out of the car.','2010-12-01','2100 I-95 North','Boca Raton','33487','No injuries','',2,0,1,'0','Call','Other',0,'',0,1,0,0,0,0,0,0,0,'',0,NULL),('KL42','IR10-402','Four shots fired at wanted man armed with AR15 rifle','<NAME> and another deputy were assigned to locate <NAME> based on a felony probable cause affidavit. They found his car at a house in Palm Beach Gardens and called him, leaving a voice mail that his car could be forfeited because it was used during a felony. Burtschin came out of the home holding an AR15 assault rifle. Police say he ignored commands to put the rifle down. Schumm fired four rounds, all missing Burtschin, who dropped to the ground. Burtschin later told detectives he had been heading to his car to get his .45-calber gun.','2010-11-04','4402 Water Oak Court','Palm Beach Gardens','33410','No injuries','',4,0,1,'1','Serving warrant','',0,'',0,0,0,0,0,0,0,1,1,'Palm Beach Post article details how Detective Araujo first came into contact with Burtschin while he was off duty. Burtschin cut Araujo off while Araujo was off duty earlier that week. Araujo told him he could write him a ticket. Burtschin said, \"go ahead.\" Several nights later two deputies went to Burtschin\'s home to locate him. **CHECK TIME OF INCIDENT**',0,NULL),('KL43','','Detective defends home, shoots intruder','Someone tried to get into Det. William Saunders\' Loxahatchee-area home through the sliding glass door while he and his family slept. Saunders shot the intruder in the arm with his personal gun. PBSO responded but wouldn\'t let a Riviera Beach internal affairs lieutenant into the house. The intruder was not caught.','2010-10-16','16683 68th Street','Loxahatchee','33470','Non-Fatal','',NULL,NULL,1,'1','Other','',0,'',0,0,0,0,0,0,0,0,1,'In 2009, Saunders shot a 16 year old who struck him with a stolen car.\n\nOfficer Saunders was also investigated in 2005 when he reportedly attacked a TV delivery man. He was off duty but used his patrol car to track the delivery man down.\n\nIn 2002, a pick up truck pinned Saunders to his patrol car.',0,NULL),('KL44','IR10-350; 10-135291','Teen with Down Syndrome shot by PBSO deputy while driving mom\'s minivan','<NAME> responded to a call in Royal Palm Beach about a 17-year-old with Down Syndrome who stole his mom\'s minivan. He pulled up next to the stopped minivan in the middle of the busy intersection of Okeechobee and Royal Palm Beach boulevards. He positioned his squad car in front of the teen, <NAME>, who accelerated as Franqui got out of the car. The minivan bumped the patrol car and Franqui opened fire, shooting six rounds as the minivan turned into the intersection. Hutton, hit three times, survived. His family is suing the sheriff\'s office.','2010-10-10','Okechobee Boulevard and Royal Palm Beach','Royal Palm Beach','33411','Non-Fatal','',6,3,1,'1','Call','Other',0,'',0,1,0,0,1,0,1,0,1,'17 year old has down syndrome. Family sued Sheriff\'s office. Post has tape of 9-1-1 call. Also, report is a whitewash.',0,NULL),('KL45','IR10-288','Pickup vignette///','<NAME> responded to a call about a suspicious car. Upon arrival <NAME> did not comply with repeated orders to get out of the car. Bennett was moving his hands a lot. Rieger shot him several times after he says Bennett went to reach for something. Rieger feared it was a gun.','2010-09-09','4895 Windward Passage Drive','Boynton Beach','33436','Fatal','Homicide',NULL,NULL,1,'1','Call','Other',0,'',0,1,0,0,0,0,0,0,1,'media reports indicated that Bennett had a criminal history and the car he was in was stolen. SA ',0,NULL),('KL46','2010016384','Cops open fire on man in bedroom with tot','Cpl. <NAME> along with the special response team in Okeechobee County went into a home to serve a narcotics search warrant. Once he was inside, Ferrell saw a closed bedroom door. He was about to open the door when <NAME> opened it very quickly and pointed a handgun at Ferrell. Ferrall fired four rounds as he moved out of the way. No one was injured, but a 17-month-old child was also in the bedroom.The team had been aware that the child was in the house before launching their \"assault plan.\"','2010-08-26','1276 SW 18th terrace','Okeechobee ','34974','No injuries','',4,0,1,'1','Serving warrant','',0,'',0,0,0,0,0,0,0,0,0,'the suspect was holding a 17 month old at the time of the shooting',0,NULL),('KL47','IR 10-215; 10-102688','Man threatening suicide won\'t put down what\'s under towel, shot several times before taking his own life','The SWAT team responds to a man threatening to commit suicide in Boca Raton. After several hours of failed negotiations, <NAME> comes out of the house with a towel in his hands and lies down against the house. He sits up and points something under the towel at PBSO deputy <NAME>ove. Wildove fires several rounds and keeps firing when Geiserman doesn\'t put down what he\'s holding. Geiserman takes his own gun, puts it in his mouth and fires one round, killing himself. ','2010-07-20','7956 Mandarin Drive ','Boca Raton','33433','Fatal','Homicide',26,9,1,'1','Call','Suicide or suicide attempt',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('KL48','10085608','Sergeant hits passenger in moving car, who was pointing gun at her','While patrolling an area off Spanish Trail in Boca Raton, Sgt. <NAME> noticed a suspicious car and followed it. It pulled into a driveway and when she got out of her patrol car, the driver put the car in reverse, accelerating toward her and hitting her car. She said she saw the passenger pointing a gun at her. She fired multiple rounds, striking passenger <NAME> three times. Rosario survived and another passenger was arrested. The driver fled on foot.','2010-06-08','505 NE Spanish Trail','Boca Raton','33432','Non-Fatal','',NULL,3,1,'3','Traffic stop','',0,'',0,1,0,0,1,0,0,0,0,'',0,NULL),('KL49','IR10-178; 10-084021','Sergeant fires at moving car','While hearing a radio call of a homicide and suspect chase, PBSO Sgt. <NAME> positioned himself at an intersection nearby. He planned to use tire deflator devices but heard that the suspects were shooting at police. He armed himself with a shotgun and shot two rounds after the suspects shot at him as they came close. ','2010-06-04','12th Avenue South and 8th Street','Lake Worth','33463','Unknown','',2,0,1,'1','Call','Assault/battery with a gun or other weapon',0,'',0,1,0,0,1,0,0,0,0,'Sgt. Honkala was involved in another shooting in November 2013',0,NULL),('KL5','11-22422','Officer accidentally shoots suitcase','Jupiter officer <NAME> was assisting in a suicide call. When he attempted to make the handgun used in the apparant suicide safe, a round discharged, striking a piece of luggage. No injuries.','2011-12-17','NA','','NA','No injuries','',1,NULL,1,'0','Call','Suicide or suicide attempt',0,'',0,0,1,0,0,0,0,0,0,'',0,NULL),('KL50','IR10-098','Car in middle of intersection, suspect tangles with deputies and is killed','Deputies were called out about a car in the middle of an intersection. When deputies <NAME> and <NAME> arrived, <NAME> appeared to be drunk, slumped over on the wheel. Montero did not want his car to be towed and got angry. When deputies tried to handcuff Montero, he refused and struggled with both deputies. <NAME>, on the ground at this point, used his stun gun against Montero but it didn\'t work. The deputies grew tired, requested backup while struggling. They said Montero was grabbing at Nandlal\'s gunbelt. Eventually Nandlal shot Montero four times, killing him. ','2010-04-09','Summit Boulevard at Jog Road','West Palm Beach','33415','Fatal','Homicide',4,1,1,'1','Call','Other',0,'Taser',0,0,0,0,0,1,1,0,1,'lawsuit alleged excessive force. ',0,NULL),('KL51','IR10-083','Suspect takes baton, fights officer; another kills him','Deputies were serving a warrant when <NAME> said he was not going back to jail. He took a fighting stance when <NAME> used a baton to try and subdue him. Hunter took the baton and began to struggle with the officer. His partner, <NAME>, shot Hunter with her stun gun, but it didn\'t work. So Boiuso fired three rounds at Hunter, killing him.','2010-03-23','191 Hibiscus Tree Drive','Lantana ','33462','Fatal','Homicide',3,3,1,'1','Serving warrant','',0,'Baton or nightstick, Less-lethal shotgun',0,0,0,0,0,1,0,0,0,'',0,NULL),('KL52','IR10-067','Sergeant thinks he sees gun chasing murder suspects up stairs','A PBSO sergeant fired at two murder suspects as they were fleeing to their apartment. A drug deal involving <NAME> and <NAME> went bad, and Santiago ended up shooting and killing a man. Sgt. <NAME> saw them flee in a car and tried to pull them over. But they stopped near their apartment complex and fled on foot. While he was running up the stairs, Tranchant believed one of them turned and aimed a gun at him, and he fired five times, missing them. The gun had been tossed during the car pursuit and was found in the road.','2010-03-12','1068 Lake Victoria Drive','West Palm Beach','33411','No injuries','',5,0,1,'2','Investigation','Homicide',0,'',0,0,0,1,1,0,0,0,0,'Can\'t tell which one he was shooting at, but both were there at the same time.',0,NULL),('KL53','IA10-004','Suspects fired upon after fleeing shooting scene','Sgt. <NAME> and officer <NAME> responded to a call about a man having been shot. <NAME> and <NAME> then fled in a car, according to police. The car eventually crashed and the suspects fled on foot. One appeared to have a gun in his hand. The officers fired eight rounds between them, but no one was injured.The man, <NAME>, suffered multiple gunshot wounds.','2010-01-22','1100 block of 28th Street','Riviera Beach','33404','No injuries','',8,0,2,'1','Call','Homicide',0,'',0,0,0,1,1,0,0,0,0,'',0,NULL),('KL54','IA09-044','Off-duty officer wounds himself in forearm ','After arriving home from duty, officer <NAME> failed to properly follow the steps to make his weapon safe and left the magazine in the well of the firearm. He shot himself in the forearm. He was reprimanded in writing.','2009-12-20','5373 Cedar Lake Road','Boynton Beach','33437','Non-Fatal','',1,1,1,'1','Other','',0,'',0,0,1,0,0,0,0,0,0,'',0,NULL),('KL55','IA09-113','Man killed while slashing officer with large knives','On a domestic call, PBSO deputy <NAME>, Lt. <NAME> and Sgt. <NAME> found <NAME> behind a sliding glass door with large knives in each hand. The woman who had called police was inside. The deputies offered cigarettes if Collins would open the door. He did and Dempsey shot him with a stun gun. It only made Collins angry. He slashed Wise. The other officers fired, striking Collins 15 times and killing him. ','2009-11-19','6182 Wauconda Way Lake Worth ','','33463','Fatal','Homicide',15,15,3,'1','Call','Family or domestic disturbance',1,'Taser',0,0,0,0,0,0,0,0,0,'',0,NULL),('KL56','13-02178','Suspect confronted after officer slain, escapes gunshots','Port St. Lucie Sgt. <NAME> was trying to stop a speeding car when the car halted suddenly. Morales had to veer left to avoid a collision. That\'s when suspect <NAME> reportedly ran over to Morales\' car and shot him several times, killing him. Deputy <NAME> heard the shots. When he arrived, he saw the suspect pointing the gun at Morales, arm extended. Then the suspect turned and pointed his gun at Bennett. Bennett fired several times but the suspect ducked between cars and took off in his car. Bennett stayed to help Morales as other deputies chased Tisdale before catching him. ','2013-02-28','3219 Naylor Terrace ','Port St. Lucie','34982','No injuries','',NULL,NULL,1,'1','Traffic stop','Other',0,'',0,0,0,0,1,0,0,0,0,'Sgt. Morales was killed by subject',0,1),('KL57','IQ #07-26','At speeding stop, driver, deputy scuffle; driver shot dead','Martin County sheriff\'s deputy Brian Youngblood stopped <NAME>ow for speeding. When he got out of his patrol car, Vierow got out of his car, too, and started to approach the deputy. Youngblood ordered Vierow to get back in the car, but Vierow refused. The two ended up scuffling on the ground before Youngblood shot Vierow twice, killing him. ','2007-03-07','Lil Bit Lane','Jensen Beach','34957','Fatal','Homicide',2,2,1,'1','Traffic stop','',0,'',0,0,0,0,0,1,0,0,0,'Vierow\'s parents filed a complaint against the Deputy. Claimed he lied about several details. After a separate investigation no major issues were found.',0,NULL),('KL58','05-03840','Deputies approach Lexus SUV when they smelled pot, fatally shoot driver in chase','Martin County Sheriff\'s deputy Micah Skowronski approached a Lexus SUV in a Hobe Sound park and smelled marijuana. The driver fled, leading deputies on a chase through neighborhoods at speeds as high as 60 mph. The SUV tried to go through a yard but before it could, deputies tried to block it. The driver backed up and started heading toward Skowronski. That\'s when Skowronski and Deputy <NAME> fired several shots, killing the driver and injuring one of two passengers. The car had been stolen in Fort Lauderdale.','2005-03-17','7509 SE Eagle Avenue','Hobe Sound','33455','Fatal','Homicide',NULL,NULL,2,'3','Traffic stop','',0,'',0,1,0,0,1,0,0,0,0,'',0,NULL),('KL59','03-14612','53 shots: Deputies chase, fatally shoot purse-snatching suspect','Martin County sheriff\'s deputy Glenn Tuhey snatched a purse from someone at a gas station and fled. A gas station employee flagged down a deputy who started chasing the suspect. Several other deputies joined in. At one point, Tuhey hit a parked car and ejected a person sititng in it. Stop sticks were placed on the road but Tuhey continued to elude police. At one point deputy <NAME> fired several shots at Tuhey\'s front tire. Another deputy fired shots at Tuhey when he felt threatened. Eventually Tuhey stopped and deputies fearing Tuhey was pointing a gun at them continued to fire. A total of 53 shots were fired, Tuhey was struck eight times.','2003-10-26','Martin Luther King Boulevard','Stuart ','34994','Non-Fatal','',53,8,3,'1','Citizen contact','',0,'',0,1,0,0,1,0,1,0,0,'entire episode caught on police camera. <NAME> represented Tuhey in lawsuit against department.',0,NULL),('KL6','09-001','Man killed after chase, exchange of gunfire with cops','<NAME> was fighting with his girlfriend about his use of prescription drugs. He left the apartment and got a gun out of his pickup, firing a couple of shots. When police tried to stop him, he kept going. Police stopped him on Florida\'s Turnpike northbound about a mile south of the Beeline Highway. He put the car in reverse and tried to ram an officer\'s car. Eventually he opened his car door and fired at police. Sgt. <NAME> and officer <NAME>, returning fire, struck and killed Martinez.','2009-01-12','Florida Turnpike mile marker 106, Palm Beach Gardens, FL','Palm Beach Gardens ','unclear','Fatal','Homicide',NULL,NULL,2,'1','Call','Family or domestic disturbance',1,'',0,1,0,0,1,0,0,0,0,'the case was also investigated by PBSO',0,NULL),('KL60','','Deputy reaches for suspect\'s car keys, dragged 7 blocks, fatally shoots when car stops','Martin County sheriff\'s deputy George McLain stopped Stacey Scales for driving without headlights on. When McClain asked Scales for his driver\'s license, Scales put the car in motion. McLain reached into car to turn off ignition and take the keys, and that\'s when Scales accelerated, dragging McLain about seven blocks before stopping. McLain saw Scales reach down to the floor of car and that\'s when he shot Scales twice. McLain saw Scales move and continued firing. Scales died.','2001-04-14','Church Street and Central Avenue','Stuart','34994','Fatal','Homicide',8,7,1,'1','Traffic stop','',0,'',0,1,0,0,1,0,1,0,0,'case caused outrage in black community. mother settled case for under $35,000.',0,NULL),('KL61','','Deputy, punched and kicked during traffic stop at mall, fatally shoots passenger','At the Treasure Coast Mall, Martin County Sheriff\'s deputy Jason Howard had stopped a truck driven by <NAME>, who was driving erratically. When Howard starting running Pablo\'s license, his brother, Miguel, started jousting with Pablo. Howard went to break it up when Miguel jumped out and started punching him, at one point knocking Howard off his feet. Francisco and a friend also started kicking the officer. Howard eventually fired two shots, killing Miguel.','2008-01-01','3174 NW Federal Highway','Jensen Beach','34957','Fatal','Homicide',2,2,1,'2','Traffic stop','',0,'',0,0,0,0,0,1,0,0,0,'',0,NULL),('KL62','1-08-8239','Man asks officers to kill him, won\'t drop knife; he\'s shot in face','<NAME> was severely depressed after losing his job. He\'d said goodbye to his family. His family said he wanted St. Lucie deputies to kill him and when he encountered <NAME> and <NAME>, while they were looking for a burglary suspect, he got his chance. They tried to stop him for questioning but he drove away to his ex-girlfriend\'s home nearby. When Bryant got out of his truck, he wielded a large knife and was approaching the front door. Deputies told him to drop it, but he refused and told deputies to shoot him. Rhodes, who had been at the house on a domestic call previously, said he feared the ex-girlfriend would be in danger. What didn\'t get relayed to the deputies was the fact that she wasn\'t home. The person who called 911 had told them she wasn\'t. Rhodes fired and hit him in the face. He survived the shooting. ','2008-06-22','16 Galeria Way','Port St. Lucie','34952','Fatal','Homicide',1,1,1,'1','Call','Family or domestic disturbance',1,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('KL64','101-04-007787','Suspect downed by K-9 shot by deputy; dog dies','St. Lucie County K-9 Deputy <NAME> was assisting a call about shots fired. When he arrived, he saw <NAME> flee on foot. Colton released his K-9, Vasko, to catch Levy. Vasko had Levy down in an open field when Colton approached and heard shots. Levy then pointed the gun at Colton. Colton fired several shots. When Levy raised his hand again, Colton fired several more. Levy was struck several times. Vasko was also struck and died later. ','2004-06-24','Tropic Boulevard and Devonshire Drive','Fort Pierce ','34946','Non-Fatal','',NULL,5,1,'1','Call','Person with a gun, knife or other weapon',0,'',0,0,0,0,1,0,0,0,0,'K9 dog, Vasko, was shot by the suspect and killed during incident. Levy was sentenced to 3 life sentences. Deputy\'s father was State Attorney.',0,NULL),('KL65','1-03-011868','Deputy accidentally shoots attempted murder suspect during arrest','Deputy <NAME> saw a driver acting suspicious. When he ran the tag, he discovered the registrant was wanted for several felonies, including attempted first-degree murder. When he attempted to stop the car, the driver fled. When the car pulled to a stop, Stickney had his gun drawn and accidentally shot <NAME> while trying to take him into custody.','2003-10-10','1600 block of south US 1','Fort Pierce ','34950','Fatal','Homicide',1,1,1,'1','Self-initiated','',0,'',0,0,1,0,1,0,0,0,1,'Case went to grand jury. They deemed it accidental',0,NULL),('KL66','1-00-013647','Robbery suspect chased, pass by neighbors; deputy fires twice ','A \"be on the look for\" alert (BOLO) went out over a bank robbery.St. <NAME>y <NAME> saw subject\'s car and followed it into a neighborhood. Eventually, <NAME> stopped the car, which had bullet holes, and fled on foot. He looked back at the officers several times and pointed his gun at them before fleeing again. In the chase, Smith came upon Cox, who again pointed his gun directly at the officer. Smith fired twice. Cox ran again through a neighborhood where people were out working or walking around. One lady said hello to the suspect. Cox was eventually caught and taken into custody.','2000-07-18','5302 Suson Lane','Fort Pierce','34951','Unknown','',2,1,1,'1','Call','Robbery or robbery alarm',0,'',0,0,0,1,1,0,0,0,0,'Cox remains in prison',0,NULL),('KL67','','Officer shoots after ATV driver charges him, hoisting him onto handlebars','Belle Glade officer <NAME> saw an ATV driver driving erratically. Soon the driver, <NAME>, was on the sidewalk, headed straight for Seiler. The officer held his hand up to stop him, but Moseley hit him in the chest and Seiler ended up on the handle bars as the ATV headed into traffic. Seiler pulled out his gun, firing three times, wounding Moseley then fell off the ATV. Moseley drove away.','2000-07-04','Southwest Avenue E','Belle Glade','33430','Non-Fatal','',3,3,1,'1','Self-initiated','',0,'',0,0,0,0,0,1,0,0,0,'Officer Seiler transferred to PBSO during take over. Reports say he committed suicide in 2013 after dealing with \"issues.\" Report says he was on a last chance agreement when he took his own life.',0,NULL),('KL68','14-00572','Deputy wounds man in garage with gun; deputies try to talk to him for 4 hours, but he was dead ','Deputy <NAME> and <NAME> responded to a call one afternoon about loud music at a home that was across from an elementary school. When they arrived, the garage door opened and Newman saw <NAME> holding a handgun, appearing to raise it. Newman ordered him to drop the gun but he refused. Hill then began to close the garage; that\'s when Newman fired four shots, striking Hill three times. Police, not sure if they struck Hill, set up a barricade, attempting to talk to Hill for four hours before they realized he was dead.','2014-01-14','1501 Avenue Q','Fort Pierce','34950','Fatal','Homicide',4,3,1,'1','Call','Other',0,'',0,0,0,0,0,0,0,0,1,'Police entered into a 4 hour stand off before they realized that Hill was struck and killed by <NAME> when he fired 4 shots several hours earlier.',0,NULL),('KL69','Unknown','Accidental discharge at alarm call, officer shoots bathroom stall','While responding to an alarm call at a business, Stuart officer <NAME> unintentionally discharged his gun, causing damage to the door of a bathroom stall and the wall. The incident was not reported for three months.','2006-04-29','726 South Federal Highway','Stuart','34994','No injuries','',1,NULL,1,'','Other','Other',0,'',0,0,1,0,0,0,0,0,0,'The officer and his partner did not report this for 3 months!',1,NULL),('KL7','8029035','Van hit 14 times but suspects escape injury','Boynton Beach officers, responding to a burglary at CarMax on High Ridge Road, saw two or three men fleeing toward a maroon Dodge Caravan minivan, which they started with a screwdriver. Driver Gene Autry Hall drove toward the officers and ignored orders to stop. Officer <NAME> fired five shots from a .40-caliber Glock. Officer <NAME> fired 12 rounds from his Glock and officer <NAME> spent six rounds from an AR-15 rifle. They hit the van 14 times but none of its occupants. Hall was sentenced to three years for aggravated assault on a police officer and other charges.','2008-06-19','1974 High Ridge Road Boynton Beach, FL','Boynton Beach','33426','No injuries','',23,0,3,'0','Call','Burglary or burglary alarm',0,'',0,1,0,1,1,0,0,0,0,'',0,NULL),('KL70','10-05339','Officer opens fire on gas station robbers','Stuart officer <NAME> noticed a robbery when he stopped at a gas station. He went back to his patrol car to get his shotgun. Three black men in hoodies were leaving, He told them to stop. One of the men pointed a gun at him. He fired five times, hitting nothing. The men ran. They were caught in Palm Beach County. They admitted to being responsible for a string of robberies.','2010-05-01','1755 NW Federal Highway','Stuart','34994','No injuries','',5,0,1,'3','Self-initiated','Robbery or robbery alarm',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('KL71','2000-3283','','Detective Zenelovic responded to a bank robbery in process where Reginald Cox fired a gun and drove to a car wash. Several officers from Vero PD responded to the scene and when Cox was ordered to exit his car, Cox ignored those orders and kept driving. He eventually crashed into a police car. Several officers fired their guns at Cox. Cox fled south and was eventually caught in St. Lucie County.','2000-07-18','958 20th Place','Vero Beach','32960','No injuries','',13,NULL,3,'1','Call','Robbery or robbery alarm',0,'',0,1,0,0,1,0,0,0,0,'Vero PD has no IA file from the incident.',0,NULL),('KL73','07-66789','','Around 4pm, officers responded to the SunTrust Bank in Roseland in reference to an armed robbery. The suspect fled in a car. That\'s when officers pursued him to a dead end street. The suspect, <NAME> turned the car around and drove toward a road block formed by the officers. Two officers fired. The car chase continued and ended in Grant. Chaney was ordered out of the car, that\'s when he raised his shotgun. Deputy Garner fired three times injuring Chaney. ','2007-06-28','5120 Honey Lane ','Grant','32949','Non-Fatal','',8,NULL,3,'1','Call','Robbery or robbery alarm',0,'',0,1,0,0,1,0,0,0,0,'',0,NULL),('KL74','07-113177','','Several deputies responded to a disturbance. Upon arrival Byrus Green, who was intoxicated, was in his truck screaming. When he exited deputies asked him to put up both hands, Green put one of his hands behind his back. Deputies tried tasing him twice, once after a deputy tripepd over a piece of wood. Green eventually ran towards Luther with a knife, that\'s when the deputy fired. ','2007-11-16','4361 33rd avenue','Vero Beach','32967','Fatal','Homicide',1,1,1,'1','Call','Family or domestic disturbance',0,'Taser',0,0,0,0,0,0,0,0,0,'the case went to a grand jury- no true bill\n',0,NULL),('KL75','2008-27736','','Deputy initiated a traffic stop. Deputy said he asked Perry for his drivers license and registration. Perry seemed agitated and went to glove box. Deputies saw a gun in the glove box. Deputies told Perry to stay away form gun. Perry reached for the gun that\'s when deputy Garrison tried to grab Perry. Perry turned toward him with his hand on the gun. That\'s when Garrison fired one shot.','2008-03-02','2390 45th street','Vero Beach','32967','No injuries','',1,NULL,1,'','Traffic stop','',0,'',0,1,0,0,0,0,0,0,0,'',0,NULL),('KL8','IR12-257','Pickup vignette///','Deputy <NAME> was called to a fight at the First and Ten Sports Bar. When Suszczynski arrived, he saw <NAME> struggling on the ground with another deputy. Suszczynski pulled out a baton to strike Arango, but it is unclear whether he ever hit him. Suszczynski says he saw a gun in Arango\'s back waist ban and Arango\'s right elbow was pulling back, as if he were going for it. Suszczynski fired twice, killing Arango.','2012-06-07','4956 Le Chalet Boulevard','Boynton Beach','33436','Fatal','Homicide',2,2,1,'1','Call','Other',0,'',0,0,0,0,0,1,1,1,1,'Witness statements didn\'t match officer accounts. Suszczynski\'s older brother is also an officer with PBSO. WPTV profiled Suszczynski and found questionable conduct in past employment files. Suszczynski was also named in a civil suit in which he was alleged to have used excessive force in another case. That case was settled by PBSO.',0,NULL),('KL9','12-05544','Speeding suspect eludes police, rams 2 cars, shot several times','<NAME> was speeding away from a high drug area when deputy <NAME> attempted to stop him. A chase ensued. As the supervisor told officers to end the pursuit, Margolis rammed Speicker\'s car and as the pursuit continued, he struck another deputy\'s patrol car. Halted by stop sticks, Margolis accelerated as Speicker approached. That\'s when Speicker, deputy <NAME> and Detective <NAME> all fired. Margolis was struck several times but continued to flee before he crashed and tried to run on foot.','2012-05-23','15th street S/Citrus Avenue, Fort Pierce, FL','Fort Pierce','34950','Non-Fatal','',NULL,NULL,3,'1','Traffic stop','',0,'',0,1,0,0,1,0,0,0,0,'Multiple incident details missing.',0,NULL),('LM1','12-025100','Suspected bank robber shoots officer in foot; officers shoot him dead','Suspected bank robber <NAME> led Boynton Beach police on a chase after officer <NAME> tried to pull him over. Wallace eventually crashed into another car, opened his car door and fired at Reynolds, shooting him in the foot. Reynolds and officer <NAME> returned fire, killing him.','2012-06-12','900 N. Railroad Ave. and NE 9th Ave., Boynton Beach, FL','Boynton Beach','33435','Fatal','Homicide',32,NULL,2,'1','Call','Robbery or robbery alarm',0,'',0,1,0,0,1,0,0,0,0,'The investigator on the case was also a witness to it - highly unusual. A cop driving a paddy wagon was disciplined for stopping at the scene with a prisoner in the van. Suspect fired four times.',0,NULL),('LM10','2000-IA-1','Wanted man cornered, killed; fired one shot into his own head','<NAME>, wanted for running over and injuring an officer in November 1999, eluded police until Feb. 1, 2000, when he led police on a 15-mile chase that included driving the wrong way on Interstate 95. Boca Raton police Sgt. <NAME> and <NAME> cornered him at Powerline and Glades roads, where they saw him reach for and pull out a gun. They fired 18 times, killing him. Medical examiners found Lewis fired once, into his head, but the bullet didn\'t kill him.','2000-02-01','Powerline Road and Glades Road','Boca Raton','33433','Fatal','Homicide',18,7,2,'1','Self-initiated','',0,'',0,1,0,0,1,0,0,0,0,'Officers were not disciplined despite policy violations. Other people were hurt in the chase.',0,NULL),('LM100','','Man \'freaked out\' at DUI stop, puts car in reverse, drags officer; officers fire into car, hitting him','Boynton Beach police were helping at a DUI saturation patrol when <NAME> drove up. Officers noticed the smell of marijuana and told him to get out of the car. Flanagan said he \"freaked out\" and put the car in reverse. The car\'s door was open and it struck and dragged officer <NAME> and officers <NAME> and <NAME> fired into the car, hitting Flanagan. He stopped and was arrested.','2013-10-18','Royal Palm Beach Boulevard and Crestwood Boulevard','Royal Palm Beach','33411','Non-Fatal','',20,2,3,'1','Other','',0,'',0,1,0,0,0,0,0,0,0,'',0,NULL),('LM101','','Pickup vignette///','Palm Beach County deputy Adams Lin was on patrol when he spotted <NAME> on a bicycle and wanted to stop him. Lin followed him as Stephens went down a street, got off the bicycle and moved between two cars. Lin got out of his patrol car and moved toward Stephens, who had a hand in his pockets and probably trying to discard drugs before Lin caught up to him. The deputy, however, perceived Stephens as going for a gun, and he shot Stephens four times. Stephens was unarmed.','2013-09-13','5000 block of Norma Elaine Road','West Palm Beach','33417','Non-Fatal','',4,4,1,'1','Self-initiated','',0,'',0,0,0,0,0,0,0,0,1,'Another example of someone trying to discard something - not harm an officer.',0,NULL),('LM102','','Man in SWAT standoff urges deputies to kill him, steps outside with guns; deputy wounds him ','Boynton Beach man <NAME> was suicidal and shooting guns into the floor of his home, prompting family and friends to call police. Palm Beach County SWAT officers got into a 5-hour standoff with Dillon, who repeatedly said he wanted to die and urged deputies to kill him. At the end of the standoff, Dillon went outside with two handguns and pointed one at deputies. Deputy <NAME> shot at him four times, hitting him once. Dillon survived.','2013-08-17','7003 Brunswick Circle','Boynton Beach','33472','Non-Fatal','',4,1,1,'1','Call','Other',0,'',1,0,0,0,0,0,0,0,0,'',0,NULL),('LM103','','Man wanted on several warrants drives at officer, shot once','West Palm Beach police were trying to catch <NAME>, wanted on multiple warrants and for beating up his girlfriend, when they found him in a car outside a home. When they walked up to his car, McCray drove at the officers and pointed a gun at them. Sgt. <NAME> and officer <NAME> fired several times, hitting him once.','2013-07-31','1300 block of Alpha Street','West Palm Beach','33401','Non-Fatal','',7,1,2,'1','Call','Assault/battery with a gun or other weapon',0,'',0,1,0,0,0,0,0,0,0,'',0,NULL),('LM104','','Mentally ill neighbor confronts, punches deputy in garage; deputy wounds him','In a bizarre confrontation, a mentally ill <NAME> walked up to his neighbor, Palm Beach County deputy <NAME> while the deputy was outside his home. Alvarez became angry, balled up his fists and tried to punch McGehee, and the deputy walked back into his garage to get his gun. After repeated warnings to leave and Alvarez continuing to swing at him, McGehee shot Alvarez several times. Alvarez was charged with assault, but was found not mentally competent to stand trial.','2013-05-08','625 Garden Cress Trail','Royal Palm Beach','33411','Non-Fatal','',10,6,1,'1','Citizen contact','',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM105','','Suspected carjacker shot, killed at end of chase after he had hands around his waistband','<NAME> carjacked an idling pickup, shoving an 8-year-old out of the vehicle and sparking a police chase. Demps pulled over for a Palm Beach County deputy and got out of the vehicle with his hands up, but then took off running. He hid, crouching, behind a car in a Marriott Hotel parking lot when deputies caught up to him. Demps had his hands around his waistband and didn\'t show them after several orders. Deputy <NAME> then shot him twice, killing him, because he said he was afraid Demps was going to pull out a gun. Demps instead was holding a small baggie of drugs.','2013-04-20','1001 Okeechobee Blvd.','West Palm Beach','33401','Fatal','Homicide',2,2,1,'1','Call','Stolen vehicle',0,'',0,0,0,1,1,0,0,0,1,'Another case of someone reaching into the waistband - not for a gun, but for drugs.',0,NULL),('LM106','','FAU police shoot man pacing on roof who charged at them with knife','Two FAU police officers were called after a repairman saw student <NAME> on the roof of a science building on campus. He was pacing back and forth and looking over the edge of the roof as the officers tried to calm him down. At one point, Squire charged at them with a knife. One officer fired a Taser at the same time officer <NAME> shot Squire twice, wounding him.','2013-02-08','7301 FAU Blvd.','Boca Raton','33431','Non-Fatal','',2,2,1,'1','Call','Prowler',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM107','','Naked man wounded after pointing rifle at neighbor, neighbor\'s friend','Two Palm Beach Shores officers shot <NAME> after the man, who was naked, grabbed a rifle. Brown had appeared at a neighbor\'s door wearing only a towel around his waist and holding a rifle. He pointed the rifle at the neighbor\'s friend, then at the neighbor. The friend called police, who arrived a few minutes later. Brown had dropped the weapon, but after repeated warnings, grabbed it. Officers <NAME> and <NAME> fired 11 times, wounding him.','2012-12-12','143 Inlet Way','Palm Beach Shores','33404','Non-Fatal','',11,3,2,'1','Call','Person with a gun, knife or other weapon',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM108','','Suspect shot trying to rob undercover officer holding 20 pounds of pot','A plan by the West Palm Beach police narcotics squad went awry and led to one person being wounded. Several members of the undercover team planned to sell 20 pounds of marijuana to <NAME> and two other men for $18,000. But when Gavin met them in the Holiday Inn parking lot, he pulled out a gun and tried to rob the undercover officer. The officer said he was police, then pushed Gavin away before shooting three times. Gavin and the other men ran. Other members of the team who were hiding pursued, firing 37 times. Gavin collapsed nearby.','2012-10-29','1301 Belvedere Road','West Palm Beach','33405','Non-Fatal','',37,4,5,'1','Investigation','',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM109','','Officer wounds \'suspicious\' person who ran, tripped over pants, reached for gun','<NAME> was shot by a West Palm Beach officer after he fell and kept reaching for a handgun. Someone in the neighborhood called police, reporting Smalls as \"suspicious.\" Officer <NAME> responded and spotted him. Smalls told Williams he was looking for his aunt\'s house, then turned and ran. Smalls had a handgun in one hand and was holding up his pants with the other. But the pants fell around his ankles, tripping him, and the gun fell out of his hand. He kept reaching for the gun and Williams shot him once, wounding him.','2012-07-01','1800 block of North Congress Avenue','West Palm Beach','33401','Non-Fatal','',1,1,1,'1','Call','Prowler',0,'',0,0,0,1,0,0,0,0,0,'',0,NULL),('LM11','01-5335','Officer cleaning gun shoots out ceiling light fixture','Greenacres officer <NAME> returned from patrol duty on March 29, 2001. As he was unloading rounds from his shotgun in the department\'s roll call room, the weapon jammed. Assuming the gun was empty, he pulled the trigger to clear the jam. The shotgun wasn\'t empty, and it fired once into the ceiling, putting a hole through a light fixture. It\'s unclear whether he was disciplined.','2001-03-29','2995 S. Jog Road','Greenacres','33467','No injuries','',1,0,1,'0','','',0,'',0,0,1,0,0,0,0,0,0,'',0,NULL),('LM110','','Off-duty ICE agent shoots suspect holding up McDonald\'s','Immigration and Customs Enforcement agent <NAME> was off-duty and eating with his girlfriend at a McDonald\'s when <NAME> walked in dressed as a woman and held up the cashier at gunpoint. People fled the restaurant. The agent went to his car to get a gun, then came inside and told Fleming to drop the gun. Fleming pointed the gun at him and Pellot-Soto fired twice, hitting him once in the hip. He fled the restaurant and collapsed nearby.','2011-12-16','2421 Okeechobee Blvd.','West Palm Beach','33409','Fatal','Homicide',2,1,1,'1','Citizen contact','',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM111','','Murder suspect fleeing the scene shot after aiming gun at his head, then officer\'s','Murder suspect <NAME> was shot by a Boynton Beach officer while fleeing the scene of the crime, police said. Dabbs, who is accused of killing his boss, had led police on a chase that reached 100 mph. He slowed down at the intersection of Federal Highway and Hypoluxo Road, where officer <NAME> was waiting. Dabbs, who had stopped his van in traffic, pointed a handgun at his head and then at Llopis, the officer said. Llopis fired three times, wounding him.','2011-10-26','Federal Highway and Hypoluxo Road','Boynton Beach','33462','Non-Fatal','',3,NULL,1,'1','Call','Assault/battery with a gun or other weapon',0,'',0,1,0,0,1,0,0,0,0,'',0,NULL),('LM112','','Girlfriend of suspect struck five times in shoot-out with Marshals','U.S. Marshals accidentally shot a 30-year-old woman during a shootout with the woman\'s boyfriend. Deputy U.S. <NAME> and <NAME> plus supervisor <NAME> were trying to capture <NAME>, a violent felon, and were scoping out his Boynton Beach home when girlfriend <NAME> pulled up. Herrera came outside and got into the driver\'s seat, and the marshals decided to arrest him. Herrera pulled out a gun and started shooting, and the marshals returned fire, hitting him and Calderin. She was struck five times. Herrera drove away in the car and crashed nearby. Calderin has filed a lawsuit against the agents.Calderin was not mentioned at all in the state attorney\'s report.','2011-08-24','212 Lake Monterey Circle','Boynton Beach','33426','Non-Fatal','',NULL,NULL,3,'2','Serving warrant','',0,'',0,1,0,0,0,0,1,0,1,'SA\'s statement didn\'t even mention that the girlfriend was shot five times!',0,NULL),('LM113','','Juno officer fires at truck that rammed patrol car after chase; driver wounded','Bank robbery suspect <NAME> was shot after leading police on a chase. He finally stopped, and Juno Beach officer <NAME> pulled up behind him. Bittle backed up and rammed the patrol car with his truck. Andrews got out and Bittle backed up a second time, toward the officer, according to police. Andrews said he was afraid he was going to be hit, so he fired into the truck. As Bittle drove away, Andrews fired again because, he said, he believed Bittle was reaching for a gun in the truck.','2010-10-19','<NAME> and <NAME>','<NAME>','33408','Non-Fatal','',NULL,NULL,1,'1','Call','Robbery or robbery alarm',0,'',0,0,0,0,1,0,0,0,0,'',0,NULL),('LM114','10-006082','Man fatally shot after he beat officer with his own gun','A Palm Springs officer and Palm Beach County firefighter shot and killed a man who had beaten a fellow officer unconscious with the officer\'s own gun. Police were initially called when <NAME>, 35, stole keys from a nearby restaurant and ran away. Palm Springs officer <NAME> tried to stop him with a Taser, but it didn\'t stop Cruz. Cruz grabbed a planter and hit Rua in the head, knocking him to the ground. Cruz then grabbed the officer\'s gun and beat him in the head. Firefighter <NAME>\'Berry saw the struggle and fired at Cruz with his personal handgun after Cruz pointed the officer\'s gun at him. Officer <NAME> arrived and also fired several times, killing Cruz.','2009-04-08','3300 block of 2nd Avenue North','Palm Springs','33461','Fatal','Homicide',NULL,NULL,1,'1','Call','Robbery or robbery alarm',0,'Taser',0,0,0,1,0,0,0,0,0,'',0,1),('LM115','PBSO 08-115398','Deputy fires at car fleeing fatal hit-and-run, hits passenger','A Palm Beach County deputy shot at a driver in a fatal hit-and-run crash but hit the passenger instead. <NAME> had stolen a Jeep and during the escape, hit and killed a homeless man. Deputy <NAME> spotted the stolen car and chased it to a residential neighborhood. Perez backed the car into a driveway, then drove toward the officer. Paone said he commanded Perez to stop, but witnesses didn\'t hear it. He fired twice into the car, missing Perez but hitting a passenger in the buttocks. Perez was caught and convicted of hitting and killing the homeless man.','2008-08-24','<NAME> <NAME>','West Palm Beach','33406','Non-Fatal','',2,1,1,'2','Call','Stolen vehicle',0,'',0,1,0,0,1,0,0,0,1,'\"The deputy fired because he was justifiably in fear of his life,\" Barbera said. No mention that the deputy hit a passenger in the car. Nobody else heard the deputy\'s verbal commands.',0,NULL),('LM116','PBSO 05-004524','Teen trying to cash bad check at bank drive-through fatally shot as he tried to flee','A Palm Springs officer shot and killed a teenager who tried to cash a bad check and get away. Employees at a Bank of America called police while <NAME> was parked in one of the bank\'s drive-through ATM lanes. Officer <NAME> showed up and parked in front of the drive-through lanes. He got out of his car and Ariot quickly sped away. Rua felt Ariot\'s car was moving toward him and fired three shots, killing him. Evidence and witnesses, however, showed that he fired from the side of the car and behind it, indicating that the vehicle was not an immediate threat to him.','2005-09-09','1758 S. Congress Ave.','Palm Springs','33461','Fatal','Homicide',3,2,1,'1','Call','Other',0,'',0,1,0,0,0,0,1,0,1,'Evidence showed that he fired from the side and behind the car.',0,NULL),('LM117','08-000467','Officer wounds man wielding barbecue fork after roommate stabbed','A Lake Worth officer shot a man who advanced on him while wielding a barbecue fork. Police were called to the man\'s home for a stabbing and found <NAME>\'s roommate stabbed and bleeding in the street. Velasquez came out of his home with a barbecue fork and moved on officer <NAME> and his sergeant. They told him to drop the knife. When he didn\'t, Stull shot three times, wounding him.','2008-01-23','227 S. F St.','Lake Worth','33460','Non-Fatal','',3,2,1,'1','Call','Assault/battery with a gun or other weapon',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM118','06-003559','Palm Springs officer wounds man with gun outside taco stand','A Palm Springs officer shot and wounded a gun-wielding man outside a taco stand. Officers were on routine patrol when they heard a loud argument outside. One of the men, <NAME>, had a gun.The two men had been thrown out of a nightclub nearby for being drunk and arguing and happened to meet up at the taco stand. Police gave Pineda several orders to drop the gun. Officer <NAME> then shot him with a Taser, which didn\'t stop him. He then fired five times, hitting him twice.','2006-08-07','3400 block of Lake Worth Road','Palm springs','33461','Non-Fatal','',5,2,1,'1','Self-initiated','',0,'Taser',0,0,0,0,0,0,0,0,1,'\"This guy (officer) was in fear of his life, his partner\'s life. We have an armed adversary standing there with a loaded gun. I don\'t think it\'s fair to question at this point whether or not he should\'ve shot,\" Barbera said.',0,NULL),('LM119','','FAU officer wounds student on rampage in parking lot who lunged at and spat on her ','An FAU officer shot a student who was on a rampage in a dormitory parking lot. <NAME>, 21, was punching car windshields, breaking car mirrors and smashing a stop sign by the time two FAU officers arrived. They tried to calm him down, but he spat on officer <NAME> and lunged at her. She fired twice, wounding him.','2006-02-08','815 Indian River St.','Boca Raton','33431','Non-Fatal','',2,2,1,'1','Call','Other',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM12','01-358','Man who sought \'suicide by cop\' gets his wish','<NAME> was shot and killed in a wooded area after being seen robbing a Washington Mutual Bank. Palm Beach County Sheriff\'s Sgt. Scott Smith fired several times after he said Young threatened police with what appeared to be a pipe bomb. Young also shot himself. A note found in Young\'s motel room indicated he wanted to commit suicide by cop. ','2001-12-14','Okeechobee Boulevard and Haverhill Road','West Palm Beach','33417','Fatal','',NULL,4,1,'1','Call','Robbery or robbery alarm',0,'',1,0,0,0,1,0,0,0,0,'D/S Micochero (no first name given) also fired, but impossible to tell which deputy they\'re talking about. Location is unclear, manner of death is unclear. Don\'t know how many shots were fired.',0,NULL),('LM120','PBSO 05-005482','Atlantis officer shoots man trying to grab his gun','An Atlantis officer shot a man when he tried to grab the officer\'s weapon.Officer <NAME> saw a truck pulled over to the side of the road across from JFK Medical Center. When another officer arrived, he walked up to the car and saw beer bottles and a gun inside. He told the three people inside to get out of the car, and when he began handcuffing them, <NAME> tried to grab his gun. Sluman shot him once in the arm.','2005-11-12','5367 S. Congress Ave.','Atlantis','33462','Non-Fatal','',1,1,1,'1','Self-initiated','',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM121','PBSO 05-091224','Lake Worth officer kills man when he won\'t drop gun','A Lake Worth officer shot and killed a man who earlier pointed a gun at a motorist. The motorist had called police after <NAME> II drove past him and pointed a gun. The motorist followed him and saw what happened next. Barber got out of the car and started walking up the street. Officer <NAME> pulled up and told Barber several times to drop the gun. Barber didn\'t drop the gun and Moral fired twice. Barber ran and Moral fired a third time. Barber ran a short distance before he collapsed. Neither police nor prosecutors ever learned why Moral fired - on his lawyer\'s advice, he declined to give any statement to investigators.','2005-07-21','Boutwell Road and 2nd Avenue North','Lake Worth','33461','Fatal','Homicide',3,1,1,'1','Call','Assault/battery with a gun or other weapon',0,'',0,0,0,0,0,0,0,0,1,'The officer never gave a statement or walk-through statement to police.',0,NULL),('LM122','PBSO 05-004525','Jupiter officer kills unarmed man in drug sting','A Jupiter officer shot and killed an unarmed man during an undercover drug sting operation. Officer <NAME> was part of a multi-agency operation that included the Drug Enforcement Administration. They planned to arrest suspect <NAME> in a Days Inn parking lot by luring him with $80,000 in marijuana that he could buy. When Brooks arrived, officers swarmed in to arrest him. Bruno said Brooks made a move toward his waistband, prompting Bruno to shoot once, killing him. There were several problems with the investigation, however. Investigators didn\'t get a statement from Bruno until the next day because he left the crime scene. DEA agents also moved at least one vehicle from the crime scene and tampered with evidence.','2005-08-05','2300 45th St.','West Palm Beach','33407','Fatal','',1,1,1,'1','Investigation','',0,'',0,0,0,0,0,0,0,0,1,'There were many problems with the investigation. The officer went to the hospital before speaking to investigators. The DEA moved at least one vehicle at the crime scene and disturbed evidence.',0,NULL),('LM123','05-001131','Delray officer fatally shoots teen outside school dance when teen won\'t stop car','In one of the most controversial police shootings in the past 15 years, rookie Delray Beach officer <NAME> shot and killed 16-year-old <NAME> while the teen was driving through the parking lot of the Delray Full Service Center during a school dance. Miller didn\'t have a license. The teen tried to get away from Cogoni, who fired twice, hitting him once in the head and killing him. The officer said he fired to prevent Miller from driving into a large group of kids, but none of the 38 witnesses interviewed by police supported his statement. At the time, Cogoni was a probationary employee so he was fired. ','2005-02-26','301 SW 14th Ave.','Delray Beach','33444','Fatal','Homicide',2,1,1,'1','Self-initiated','',0,'',0,1,0,0,0,0,1,0,1,'Settled for $1 million. Krischer was scrambling to avoid prosecuting the cop. He avoided the inquest judge\'s decision, then sent it to a grand jury, where they didn\'t indict. THIS IS A LIE: Without a law enforcement agency\'s finding of criminal wrongdoing, Edmondson said, the office cannot file charges. Cogoni was dismissed without cause since he was still on probation.',0,NULL),('LM124','','2 drug dealers escape officers at $2 million home; police fire after car comes at them, killing driver','Delray Beach police shot and killed one man and wounded another while the men were trying to get away from police. Police were called to a $2 million home by its owner, who had previously bought drugs from two men but now wanted them off his property. Officers <NAME> and <NAME> arrived and the suspects, <NAME> and <NAME>, got in their car and tried to escape through the parking lot. In their escape, they drove toward Cramer, who thought he was going to be hit by the car. Cramer and Kology fired 16 times, killing Brown, who was driving, and wounding Stevens.','2004-10-16','715 S.E. 10th St.','Delray Beach','33483','Fatal','Homicide',16,8,2,'2','Call','Prowler',0,'',0,1,0,0,0,0,1,0,0,'If the officer had no place to go, how was he not hit?',0,NULL),('LM125','','Boca officers fire at fleeing vehicle from intersection; one officer hit in hand','Two Boca Raton officers tried to pull over suspects in a bank check scam and ended up shooting at them as they fled. <NAME> stopped the car at an intersection, but when officer <NAME> walked up to the car, Bell drove to the left to get out of the way. Wendlick fell trying to get out of the way, and she fired a single shot that missed. Officer <NAME> fired several more times at the fleeing vehicle, hitting Bell in the hand. The other rounds shot out the back window and a tire.','2003-04-25','Yamato Road and Dixie Highway','Boca Raton','33487','Non-Fatal','',NULL,1,2,'1','Call','Other',0,'',0,1,0,0,0,0,0,0,1,'Very scant details in this case. The justification is tenuous at best - the rounds were all into the back of the vehicle. NOTE: Time is just a wild guess.',0,NULL),('LM126','','Robber with umbrella disguised as gun shot, killed by officer','Delray Beach officer <NAME> shot and killed a man who used an umbrella disguised as a gun to rob a drug store. <NAME> had stolen $3,100 in Oxycontin using an umbrella wrapped in a jacket, which appeared to be a gun. He hopped into a cab, which was pulled over by Jacobson. When Vosburgh got out of the car, he turned toward the officer with the umbrella and coat. Jacobson, believing it to be a gun, fired once, hitting him in the stomach and killing him.','2002-07-12','1001 S. Congress Ave.','Delray Beach','33445','Fatal','Homicide',1,1,1,'1','Call','Robbery or robbery alarm',0,'',0,0,0,0,0,0,1,0,0,'The city later settled for $12,500.',0,NULL),('LM127','','Suspect chased into sugar field pulls out knife; officer shoots him','<NAME> stole shoes and fled, prompting police to chase him into a sugar cane field. Belle Glade officer <NAME> struck him with his patrol car. He pulled Royal off the car before Royal tried to run away. Keith grabbed him, and Royal spun around and pulled out a knife, Keith said. He shot Royal once and arrested him. Royal denied having a weapon.','2002-06-06','1100 block of South Main Street','Belle Glade','33430','Non-Fatal','',1,1,1,'1','Call','Burglary or burglary alarm',0,'',0,0,0,0,0,0,0,0,0,'Deputy was caught having sex with another deputy\'s wife while on-duty. IA busted him for standard of conduct, procedures and failure to report for duty.',0,NULL),('LM128','','Suicidal man surrounded by officers, shoots himself in chest; sergeant shoots him, killing him','<NAME>, a young father of three, was suicidal when his father called Lake Worth police. SWAT officers arrived and talked with Palmer for hours, until he walked outside his home with a handgun. At one point, he turned around, pointed the gun at his chest and pulled the trigger. The action prompted Sgt. <NAME> to fire once, hitting him in the chest and killing him. Kane said he didn\'t know Palmer had shot himself and was concerned he was shooting at police.','2002-01-02','1014 Cochran Dr.','Lake Worth','33461','Fatal','Homicide',1,1,1,'1','Call','Suicide or suicide attempt',0,'',0,0,0,0,0,0,0,0,0,'Krischer called it \"yet another classic case of \'suicide by cop,\'\" but it wasn\'t suicide by cop if he shot himself, does it?',0,NULL),('LM129','','Officer wounds driver who fled hit-and-run ','A West Palm Beach officer shot a hit-and-run driver who police said drove at him. Officer <NAME> was on the lookout for <NAME>\'s sedan, which had just fled a hit-and-run crash. He saw it stopped. When Spatara walked up to the car, he said Holman drove at him, causing him to shoot once, wounding Holman. Holman crashed and was arrested soon after.','2001-09-08','1100 block of Palm Beach Lakes Boulevard','West Palm Beach','33401','Non-Fatal','',1,1,1,'1','Call','Other',0,'',0,1,0,0,0,0,0,0,0,'',0,NULL),('LM13','02-027','Man armed with BB gun, later implicated in slaying, gunned down','An undercover FBI agent spotted murder and robbery suspect <NAME> in a shopping center and called police. PBSO deputies responded, and Lt. <NAME> shot Wegrich after he said Wegrich reached behind his back, as if for a weapon. A BB gun was in his back pocket. Lake Worth police later determined that Wegrich was responsible for his ex-girlfriend\'s strangling death a few months earlier.','2002-01-23','6300 Lantana Road','Lake Worth','33463','Fatal','Homicide',1,1,1,'1','Self-initiated','',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM130','','Officer wounds man who slammed him to the ground, kicked him in head','A Delray Beach officer shot a man in the arm after the man slammed the officer to the ground and kicked him in the head. Officer <NAME> was patrolling a housing development when he came across <NAME>. Beckham was sitting in a car that had the ignition punched out - a sign the car had been stolen. Beckham got out of the car as ordered, but while Kelley was patting him down, Beckham attacked him, throwing him to the ground and kicking him in the face. Kelley pulled out his gun and fired once, wounding Beckham. ','2001-07-22','507 NW 12th Ave.','Delray Beach','33444','Non-Fatal','',1,1,1,'1','Self-initiated','',0,'',0,0,0,0,0,1,0,0,0,'',0,NULL),('LM131','2013-6214','West Palm officer shoots at man nailing up yard sale signs with hammer','A West Palm Beach officer shot at and missed a man he thought was a burglar. Officer <NAME> was patrolling South Dixie Highway because the area had been hit by burglars recently. He came across <NAME>, who had just nailed to a light pole a sign advertising his yard sale. Picerno saw Oser with the hammer and believed the man might be a burglar. He shined his patrol car\'s spotlight on Oser, and Oser, wanting to be compliant with police, started walking toward the car. Picerno got out and said he shouted several times for Oser to stop and drop the hammer. Oser said he didn\'t hear anything until a gunshot rang out, and he dropped to the ground. West Palm Beach Internal Affairs said videos of the incident \"do not show Mr. Oser acting in an aggressive or threatening manner,\" and they ruled the shooting not justified. Picerno was told about the department\'s Employee Assistance Program and required to have an interview with the department psychologist before he returned to duty.','2013-04-13','400 block of Avenida Alegre','West Palm Beach','33405','No injuries','',1,0,1,'1','Self-initiated','',0,'',0,0,0,0,0,0,0,0,1,'West Palm actually found this shooting out of policy.',1,NULL),('LM132','','Man fatally shot after running at deputy with screwdriver','A PBSO deputy shot and killed a screwdriver-wielding man after police said he charged the deputy. Deputy <NAME> responded to a call of an \"armed disturbance\" at an apartment complex in suburban Boca Raton. He arrived and saw <NAME> standing next to a car with a \"very disturbed look on his face,\" according to a police press release. Pollow was asked to take everything out of his pockets and put it on the car, which he did. But as he walked toward Rosenthal, Pollow turned around and grabbed a screwdriver that he\'d just removed from his pants and rushed at the deputy. Rosenthal fired, killing him.','2014-04-02','23126 Post Gardens Way','Boca Raton','33433','Fatal','Homicide',NULL,NULL,1,'1','Call','Person with a gun, knife or other weapon',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM133','','Deputy holding suspect at gunpoint tries to holster it but accidentally hits trigger','Palm Beach County deputy <NAME> had a suspect at gunpoint before holstering his weapon. When he did, his gloved index finger slipped inside the trigger guard, causing it to shoot once into the ground. No one was hurt.','2009-01-05','5292 Pine Meadows Road','Lake Worth','33463','No injuries','',1,0,1,'0','Call','Prowler',0,'',0,0,1,0,1,0,0,0,0,'',0,NULL),('LM134','','Deputy\'s gun fires when he bumps it against table at home','Palm Beach County deputy R<NAME>-Rodriguez was at home when he said he bumped his department-issued weapon against the table, causing it to fire. He was disciplined for not immediately notifying a supervisor; he called Internal Affairs unit instead.','2009-01-08','(unknown)','','(unknown)','No injuries','',1,0,1,'0','','',0,'',0,0,1,0,0,0,0,0,0,'He did not comply with policy to report it immediately to supervisor',1,NULL),('LM135','','Gang task force deputy shoots at suspects who shot at police during car chase','A Palm Beach County deputy shot at a fleeing robbery suspect during a car chase. Deputy <NAME>, then a member of a gang task force, was riding with another deputy and a West Palm Beach officer when they heard West Palm Beach police were pursuing robbery suspects into Riviera Beach. Calabro was in an unmarked vehicle, and they decided to discretely follow the suspects when West Palm Beach police stopped pursuing them. The suspects shot at the officers during the pursuit, and Calabro fired back twice. It\'s unclear whether the suspects were ever found.','2007-02-17','Australian Avenue and W. 13th Street','Riviera Beach','33404','Unknown','',2,0,1,'1','Call','Robbery or robbery alarm',0,'',0,1,0,0,1,0,0,0,0,'',0,NULL),('LM136','','Deputy shoots out light at home of suicidal U.S. Customs agent ','Two Palm Beach County deputies fired their rifles during a standoff with a suicidal U.S. Customs and Border Protection agent. While outside the home, deputy <NAME> shot out a yard light with his AR-15 rifle, which could have gone through the walls of the house. The light was letting the suicidal agent see police. Lt. <NAME> shot at the agent when he came outside the home and pointed a handgun at deputies. Lamm shot at the light -- a violation of policy -- after Burdick told him to. Lamm also didn\'t immediately tell a supervisor he had fired the rifle, another violation of policy. The internal affairs division ultimately ruled that he did not violate policy. Burdick was found to have had an unauthorized accessory on his rifle. ','2009-12-27','Okeechobee Boulevard and Jog Road','West Palm Beach','33411','No injuries','',2,0,2,'1','Call','Suicide or suicide attempt',0,'',0,0,0,0,0,0,0,0,1,'This was a much more thorough review than for a normal shooting.',0,NULL),('LM137','','Deputy fires at suspect he says drove his way','Palm Beach County deputy <NAME> shot twice at a man he said drove at him. Carreiro had tried to pull over the unidentified suspect for speeding. The suspect fled and parked his car in a driveway. When Carreiro approached the car on foot, the suspect drove in the direction of the deputy. The deputy didn\'t hit the car with his gun.','2007-11-21','4782 Kirkwood Road','Lake Worth','33461','No injuries','',2,0,1,'1','Self-initiated','',0,'',0,1,0,0,1,0,0,0,0,'',0,NULL),('LM138','','Deputy fires at carjacking suspect during foot chase, misses','A Palm Beach County deputy shot at an armed carjacking suspect during a foot pursuit. During the chase, the unnamed deputy said he fired three times when <NAME> turned toward him with a handgun. Steward wasn\'t hit.','2007-05-14','1011 Old Dixie Highway','Riviera Beach','33404','No injuries','',3,0,1,'1','Citizen contact','',0,'',0,0,0,1,0,0,0,0,0,'',0,NULL),('LM139','','Deputy\'s gun goes off at home in struggle started by stowing it under pillow','Palm Beach County deputy <NAME> accidentally fired a round from his department-issued handgun during an argument with his brother-in-law. The incident started when Ramirez\'s wife didn\'t like the fact that Ramirez wanted to sleep with the gun under his pillow. Her brother, who was in the home, came to her aid and tried to get the gun from under the pillow. During a struggle over the gun, it went off harmlessly. When police arrived, they found Ramirez had also struck his wife, and he was arrested. He was fired for failing to complete his probationary period at the sheriff\'s office.','2009-11-29','(unknown)','','(unknown)','No injuries','',1,0,1,'0','','',0,'',0,0,1,0,0,0,0,0,0,'',1,NULL),('LM14','','Wanted man runs, fights, shot in head','PBSO Cpl. Dererk Savage pulled over <NAME> on a Belle Glade street on Sept. 15, 2002. Wilson, who was wanted on a warrant for contempt of court, tried to escape, and Savage grabbed him. They fought and Savage shot him in the back of the head. Wilson survived.','2002-09-15','300 SW 3rd St.','Belle Glade','33430','Non-Fatal','',1,1,1,'1','Traffic stop','',0,'',0,0,0,0,0,1,1,0,0,'',0,NULL),('LM140','','Off-duty deputy shoots, kills man in Miami Beach','Off-duty Palm Beach County deputy <NAME> shot and killed a man he said tried to rob him in Miami Beach. Clayton was with his girlfriend and in a lifeguard tower when <NAME> of Massachusetts approached them, pulled out a knife and demanded money. Clayton ended up shooting him in the stomach, killing him. The Palm Beach County Sheriff\'s office didn\'t investigate, saying Clayton was off-duty and acting as a citizen, not an officer. Miami-Dade prosecutors said the shooting was justified.','2009-03-16','8th Street and Ocean Drive','Miami Beach','33139','Fatal','Homicide',2,1,1,'1','Citizen contact','',0,'',0,0,0,0,0,0,1,0,0,'No investigation was done.',0,NULL),('LM141','','Suspect fires at deputy, hitting his protective vest; deputy fires back','Palm Beach County deputy Trevor Watson was shot in the chest while investigating a suspicious person. Watson spotted the suspect walking behind a trailer and stopped to investigate. When he looked around the trailer, the suspect fired once, hitting him in the chest. The round was stopped by his protective vest. Watson returned fire four times. It\'s unclear whether the suspect was hit. He was never found.','2007-05-18','7102 Seacrest Blvd.','Lantana','33462','Unknown','',4,0,1,'1','Self-initiated','',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM142','','Deputy in chase tries to holster gun, but it fires off a round','Palm Beach County deputy <NAME> accidentally fired his weapon while he was chasing a drug suspect. He was running with his gun in his hand when he stopped to holster it so he could climb a fence. While he was holstering it, the gun fired once. Nobody was injured.','2007-03-30','618 16th St. East','West Palm Beach','33407','No injuries','',1,0,1,'0','','',0,'',0,0,1,1,0,0,0,0,0,'',0,NULL),('LM143','','Deputy accidentally fires rifle into back of patrol car','Palm Beach County deputy <NAME> accidentally fired his AR-15 rifle while stowing it in the back of his patrol car after responding to a call. The round went through the back of the patrol car. No one was injured and Curci was recommended for remedial training.','2008-02-21','1035 Palm Beach Road','South Bay','33493','No injuries','',1,0,1,'0','','',0,'',0,0,1,0,0,0,0,0,0,'',1,NULL),('LM144','','Deputy cleaning shotgun at home accidentally fires into ceiling','Palm Beach County deputy George Long accidentally fired a round into the ceiling of his home while he was cleaning his handgun. No one was injured.','2008-11-20','(officer\'s home)','Riviera Beach','(officer\'s home)','No injuries','',1,0,1,'0','','',0,'',0,0,1,0,0,0,0,0,0,'',0,NULL),('LM145','','Deputy\'s rifle hits his Taser; gun goes off','While waiting for backup on a call, Palm Beach County deputy Vidal Rivera slung his AR-15 rifle across his body. The trigger of the rifle struck his Taser, causing the gun to fire once into the ground. Nobody was injured. Rivera was recommended for remedial training.','2009-08-01','100 Business Parkway','Royal Palm Beach','33411','No injuries','',1,0,1,'0','','',0,'',0,0,1,0,0,0,0,0,0,'',0,NULL),('LM146','','Deputy accidentally shoots himself in hand at home','Palm Beach County deputy <NAME> accidentally shot himself in the hand while at home. He was treated at a hospital.','2010-02-05','(officer\'s home)','Palm Beach Gardens','(officer\'s home)','Non-Fatal','',1,0,1,'0','','',0,'',0,0,1,0,0,0,0,0,0,'',0,NULL),('LM147','','Deputy trying to load rifle accidentally fires it','Palm Beach County deputy <NAME> accidentally fired a round from her AR-15 rifle while she was trying to load it. The round went into the driver\'s seat of her patrol car. No one was injured.','2008-12-11','600 4th St. SW','Pahokee','33476','No injuries','',1,0,1,'0','','',0,'',0,0,1,0,0,0,0,0,0,'',0,NULL),('LM148','','Accidental discharge by deputy at end of chase','At the end of a pursuit with Palm Beach Gardens officers, Palm Beach County deputy <NAME> accidentally fired a round from his weapon. He was recommended for remedial handgun training.','2001-01-26','(unknown)','','(unknown)','No injuries','',1,0,1,'0','','',0,'',0,0,0,0,0,0,0,0,0,'',1,NULL),('LM149','','Deputy checking shotgun points it at ceiling, pulls trigger','Palm Beach County deputy <NAME> thought he had unloaded his shotgun. He pointed it toward the ceiling and pulled the trigger to check in the department\'s motor pool. A round went into the ceiling. No one was injured. Falsia received a two-day suspension and remedial training.','2001-05-02','3350 Gun Club Road','West Palm Beach','33406','No injuries','',1,0,1,'0','','',0,'',0,0,1,0,0,0,0,0,0,'',1,NULL),('LM15','IA 03-002','Three shots fired, suspect never caught','Several West Palm Beach police officers responded to a burglary at The Cafe Joshua, where they found a man in a stolen white van behind the restaurant. The officers, including <NAME>, walked to the van. The driver backed up, almost hitting another officer, and Jenne fired three times at the driver, who sped away. It\'s unclear whether the driver was hit -- he was never caught.','2003-03-02','2808 N. Australian Ave.','West Palm Beach','33407','Unknown','',3,NULL,1,'1','Call','Burglary or burglary alarm',0,'',0,1,0,0,0,0,0,0,0,'',0,NULL),('LM150','','Deputy dragged by car, shoots 4 times; no one hit','A Palm Beach County deputy shot at a burglary suspect after the suspect dragged him with a car. Deputy <NAME> spotted <NAME> and a woman trying to break into a car. When he tried to stop them, Santiago got in a car and backed into the deputy, dragging him a short distance. Morency fired four times, with two rounds going into the car. No one was injured. Santiago was arrested after a 25-minute chase. ','2001-05-20','2677 Forest Hill Blvd.','West Palm Beach','33406','No injuries','',4,0,1,'1','Self-initiated','',0,'',0,1,0,0,0,0,0,0,0,'Morency\'s first name is spelled \"Jerard\" in clips.',0,NULL),('LM151','','Man with knife in chest, pointing gun at deputies, is killed ','A man accused of killing his ex-girlfriend was shot and wounded after he failed to show up for a court appearance. Palm Beach County deputies were called to his Boynton Beach apartment, where they found him in the bedroom with a knife in his chest. As they approached him, he grabbed a gun and pointed it at them. Deputy <NAME> fired once, hitting him in the torso. The wound eventually killed him.','2001-05-29','9873 Lawrence Road','Boynton Beach','33436','Fatal','Homicide',1,1,1,'1','Serving warrant','',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM152','','Deputy accidentally fires gun in police station parking lot','Palm Beach County deputy <NAME> accidentally fired his handgun in the parking lot of the South Bay police station. When he was holstering the weapon, his leather holster strap caught in the trigger, causing it to fire.','2001-06-20','335 SW 2nd Ave.','South Bay','33493','No injuries','',1,0,1,'0','','',0,'',0,0,1,0,0,0,0,0,0,'',0,NULL),('LM153','','Accidental discharge during struggle to arrest person','While he was struggling to arrest a suspect, Palm Beach County deputy <NAME> accidentally fired his handgun. The round damaged a window frame.','2002-03-27','(unknown)','','(unknown)','No injuries','',1,0,1,'0','','',0,'',0,0,1,0,0,0,0,0,0,'',0,NULL),('LM154','','Corrections officer pleads guilty to attempted manslaughter for shooting girlfriend','A Palm Beach County corrections officer shot his girlfriend while the two argued in his car. <NAME> said the shooting was accidental. The girlfriend first told police that he intentionally shot her after she said she was breaking up with him. Then she changed her story to say it was an accident. After his arrest, the sheriff\'s office fired him. He eventually pleaded guilty to attempted manslaughter.','2002-07-17','5349 Okeechobee Blvd.','West Palm Beach','33417','Non-Fatal','',1,1,1,'1','Self-initiated','',0,'',0,0,0,0,0,0,0,0,0,'',1,NULL),('LM155','','Deputy accidentally shoots himself in hand as he approached car','A member of the Palm Beach County Sheriff\'s office auto task force accidentally shot himself in the hand. <NAME> was walking up to a vehicle with someone sleeping inside when he drew his handgun and accidentally shot himself in his right hand.','2003-01-17','(unknown)','','(unknown)','Non-Fatal','',1,0,1,'0','','',0,'',0,0,1,0,0,0,0,0,0,'',0,NULL),('LM156','','Corporal\'s gun goes off during chase','A Palm Beach County corporal accidentally fired his weapon while running after a suspect. Cpl. <NAME> was trying to hop over a fence when he fell, causing the gun to fire. No one was injured.','2003-02-05','2644 Saginaw Ave.','West Palm Beach','33409','No injuries','',1,0,1,'0','','',0,'',0,0,1,1,0,0,0,0,0,'',0,NULL),('LM157','','Scant detail on deputy\'s accidental shooting','Palm Beach County deputy Claudia Labounty accidentally fired her weapon. Further information wasn\'t available on this incident.','2003-03-21','(unknown)','','(unknown)','No injuries','',NULL,NULL,1,'','','',0,'',0,0,1,0,0,0,0,0,0,'',0,NULL),('LM158','','Deputy fires 3 times at driver who tried to hit him','Palm Beach County deputy <NAME> shot three times at a vehicle whose driver allegedly tried to run over him during a traffic stop.','2003-05-26','(unknown)','','(unknown)','No injuries','',3,0,1,'1','Traffic stop','',0,'',0,1,0,0,0,0,0,0,0,'Possible subjects: SHUGARS, GREGORY J; MCFADDEN, MARCUS C; TOPPS, STEVEN W; ',0,NULL),('LM159','','Deputy fires at man who won\'t pull over','Palm Beach County deputy <NAME> shot at a man who didn\'t stop when he tried to pull him over. The man drove for a mile and then stopped. At some point, Propst said the man drove at him, prompting the deputy to fire four times into the car. He surrendered peacefully.','2003-05-31','26.719011, -80.088718','West Palm Beach','33409','No injuries','',4,0,1,'1','Traffic stop','',0,'',0,1,0,0,1,0,0,0,0,'',0,NULL),('LM16','03-321','Suicidal ex-boyfriend slain with one shot','Palm Beach County Sheriff\'s deputies were called to an apartment by a woman whose ex-boyfriend was trying to break in. The man, <NAME>, left, and police found him in the parking lot, where he was holding a gun to his head and threatening to kill himself. As a deputy was trying to calm him down, Lt. <NAME> saw Sanchez point a gun at the deputy, and he fired once, killing Sanchez.','2003-05-28','2892 Tennis Club Dr.','West Palm Beach','33417','Fatal','Homicide',1,1,1,'1','Call','Burglary or burglary alarm',0,'',0,0,0,0,0,0,0,0,0,'Name is WILMER, not Wilner, as reports stated.',0,NULL),('LM160','','Sheriff\'s sergeant shoots at moving vehicle','Palm Beach County Sgt. <NAME> shot at a moving vehicle. More information about this incident is not available.','2003-09-06','(unknown)','','(unknown)','Unknown','',NULL,NULL,1,'1','','',0,'',0,1,0,0,0,0,0,0,0,'',0,NULL),('LM161','','Man backs car into deputy; 2 fire on him as car drove away','Two Palm Beach County deputies fired on a man after he backed his car into one of them and drove away. Sgt. <NAME> and deputy <NAME> approached a car in a Walgreens parking lot that they suspected had drugs inside. <NAME> was in the passenger\'s seat, but when they approached, he shifted to the driver\'s seat and backed the car out of a parking space, striking Dempsey. Dempsey and Tramonte fired on the car as Simon was driving away.','2003-11-16','(unknown)','','(unknown)','No injuries','',NULL,0,2,'1','Self-initiated','',0,'',0,1,0,0,0,0,0,0,0,'Dempsey was in a 1998 fatal shooting.',0,NULL),('LM162','','Sergeant demoted over accidental shooting','Palm Beach County Sgt. <NAME> received a weeklong suspension and was demoted for an accidental shooting. The agency found he \"failed to handle his duty firearm in a careful and prudent manner.\"','2004-01-26','(unknown)','','(unknown)','No injuries','',NULL,0,1,'0','','',0,'',0,0,1,0,0,0,0,0,0,'',1,NULL),('LM163','','Deputy shoots at vehicle during \'felony traffic stop\'','Palm Beach County deputy Jose Martinez shot at a vehicle while conducting a \"felony traffic stop.\" The circumstances surrounding this shooting are unclear.','2004-03-29','(unknown)','','(unknown)','Unknown','',NULL,NULL,1,'','Traffic stop','',0,'',0,1,0,0,0,0,0,0,0,'',0,NULL),('LM164','','Deputy reports accidental discharge at home','Palm Beach County deputy <NAME> accidentally fired his weapon in his home. He was given counseling.','2006-03-30','(officer\'s home)','West Palm Beach','(officer\'s home)','No injuries','',1,0,1,'0','','',0,'',0,0,1,0,0,0,0,0,0,'',0,NULL),('LM165','','Deputy reprimanded for not reporting accidental shooting immediately','Palm Beach County deputy <NAME> received a written reprimand for not immediately reporting an accidental discharge of his duty weapon in his home. No further details available.','2006-07-27','(officer\'s home)','','(officer\'s home)','No injuries','',1,0,1,'0','','',0,'',0,0,1,0,0,0,0,0,0,'',1,NULL),('LM166','','Man walking out of garage with knife shot, killed','A West Palm Beach officer shot and killed a burglar who moved toward him with a knife. Officer <NAME> was responding to a call about a suspicious person when he came across <NAME> walking out of someone\'s garage armed with a knife. Leonard told Hollis to stop, but Hollis moved toward him, prompting the officer to fire once, killing him.','2001-07-12','109 Flagler Lane','West Palm Beach','33407','Fatal','Homicide',1,1,1,'1','Call','Prowler',0,'',0,0,0,0,0,0,0,0,1,'This was Leonard\'s third shooting and second fatal one.',0,NULL),('LM167','','Officer\'s story doubted by judge in suspect\'s trial','West Palm Beach police officer <NAME> shot <NAME> after the officer said Andrews drove at him. But the judge in Andrews\' criminal trial doubted MacVane\'s story and twice threw out criminal convictions against Andrews. The evidence showed MacVane shot Andrews while the man was driving away from him.','2000-01-06','430 21st St.','West Palm Beach','33407','Non-Fatal','',7,4,1,'1','Self-initiated','',0,'',0,1,0,0,0,0,0,0,1,'Krischer accused the judge of being biased. He said Andrews was shot twice, not four times.',0,NULL),('LM168','','Deputy shoots, kills son in their apartment','Palm Beach County deputy Shatara Shatara shot and killed his 21-year-old son in their Delray Beach apartment. The circumstances surrounding the incident have not been released.','2014-12-24','320 Franklin Club Dr.','Delray Beach','33483','Fatal','Homicide',NULL,NULL,1,'1','Self-initiated','',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM17','IA 03-004','Man escapes harm but mobile home hit when police start shooting','Several West Palm Beach police officers were working an extra duty detail at the Tunnel Club when a shooting broke out in the parking lot. Police saw <NAME>, 19, fleeing with a handgun, and officer <NAME> fired several times. Ellis continued to chase him on foot and fired several more times before Brown was caught. None of the rounds hit Brown, but one went through two mobile homes nearby. Brown was found guilty for shooting another teenager in the parking lot.','2003-06-08','4047 Okeechobee Blvd.','West Palm Beach','33409','No injuries','',7,0,1,'1','Self-initiated','',0,'',0,0,0,1,0,0,0,0,0,'',0,NULL),('LM18','03-313','SWAT team opens fire on man with submachine gun','The PBSO SWAT team was serving a warrant on the home of <NAME> Jr. when deputies <NAME> and <NAME> went through the door. Colombo was armed with a MAC-10 submachine gun and the deputies fired when they said he pointed the gun at them. The reports don\'t mention what weapons the deputies were using or how often they fired. Colombo was killed.','2003-07-18','4830 Arthur St.','Palm Beach Gardens','33418','Fatal','Homicide',NULL,NULL,2,'1','Serving warrant','',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM19','IA 03-339, 03-095142','Man off his meds waves pellet gun, shot off roof, killed','<NAME>, 18, was off his medications for bipolar disorder and had more than three times the legal driving limit for alcohol in his system when he made a profanity-laced call to 911 requesting medical help. He was waving a pellet gun from the roof of his mother\'s house when Palm Beach County Sheriff\'s deputies arrived. Cpl. <NAME> fired once from a shotgun when Skwierc pointed the pellet gun at him. Skwierc fell from the roof and died. McArdle said the pellet gun looked like a real handgun.','2003-07-29','8625 Burma Road','Lake Park','33403','Fatal','Homicide',1,1,1,'1','Call','Other',0,'',0,0,0,0,0,0,1,0,0,'',0,NULL),('LM2','01-024245','Teen fires twice at police through door, kills himself','Boynton Beach police were sent to the Medication Station drug store on East Woolbright Road after a burglary alarm was triggered by a suspect, later identified as <NAME>, 17. Officers yelled for anyone inside to come out, then went into the building. Officer <NAME>\' police dog, Zeus, indicated a suspect was behind a storage door. When Thomas grabbed the door handle, Connelly fired twice through the door, hitting Thomas\' hand and his protective vest. The officers retreated, and Zeus ran into the storage room door. Connelly shot himself in the head moments later, although medical examiners couldn\'t tell whether his actions were intentional or accidental. Zeus died in the building after SWAT officers fired nine cannisters of tear gas into the building, which sparked a fire and suffocated the dog.','2001-05-20','141 E. Woolbright Road, Boynton Beach, FL','Boynton Beach','33435','Fatal','',3,0,1,'1','Call','Burglary or burglary alarm',0,'',0,0,0,0,0,0,0,0,0,'Suspect fired twice',0,NULL),('LM20','03-379, 03-103675','Jailer reprimanded after shooting inmate who tried to escape','Palm Beach County jail inmate <NAME> was taken to Palms West hospital under the supervision of Sgt. <NAME>. When Nealy unclasped one of Monty\'s leg irons so he could to go to the bathroom, Monty \"attempted to grab her and then ... turned to exit the hospital room,\" according to a police report. Nealy fired twice at him to prevent his escape, and he was struck in the hand. A PBSO review board found she failed to secure him to the bed before unclasping his leg iron.','2003-08-20','13001 Southern Blvd.','Loxahatchee','33470','Non-Fatal','',2,1,1,'1','Self-initiated','',0,'',0,0,0,0,0,0,1,0,0,'',0,NULL),('LM21','IA 04-041, 04-031721, 04-031719','Rape suspect tries to run over police, shot in the arm','Palm Beach County Sheriff\'s deputies were called to the scene of a kidnapping after <NAME>, 23, grabbed a woman at gunpoint and raped her in his vehicle. When deputies confronted him, he tried to run them over. When his car stalled, deputy <NAME> reached in and tried to pull him out of the vehicle and eventually fired three times to stop Pledger from running him over. Pledger was hit once in the arm.','2004-02-11','Cherokee Road','West Palm Beach','33406','Non-Fatal','',3,1,1,'1','Call','Other',0,'',0,1,0,0,0,0,0,0,0,'',0,NULL),('LM22','04-082','Officer shoots car, causes crash, makes arrest','Undercover Riviera Beach police were selling marijuana out of a duplex when a man bought two bags for $20. The undercover detectives signaled to colleagues to arrest the man. But while the man was being arrested, his friend, <NAME>, jumped into their vehicle and drove toward uniformed officer <NAME>. Dodson, who thought the vehicle was going to hit him, fired once, into the car\'s hood. The car crashed and Battie was arrested.','2004-03-25','1157 W. 28th St.','Riviera Beach','33404','No injuries','',1,0,1,'1','Investigation','',0,'',0,1,0,0,0,0,0,0,1,'<NAME> was sentenced to a year of probation in 2011 for an October 2009 incident in which he got drunk and fired 15 shots from his service revolver while off-duty.',0,NULL),('LM23','04-9917','Police fire four times at man with pellet gun but miss','<NAME>, 28, went into a Delray Beach Publix and walked out with a cart full of groceries he hadn\'t paid for. When an employee tried to stop him, Sadras pulled out a pellet gun that looked like a handgun. Delray Beach police caught up to him pushing his cart at a nearby gas station. Officers <NAME> and <NAME> told him to drop his gun; instead, Sadras pointed it at the officers and they fired four times, missing him. He was arrested soon after.','2004-03-31','4525 W Atlantic Ave.','Delray Beach','33445','No injuries','',4,0,2,'1','Call','Robbery or robbery alarm',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM24','IA 04-109, 04-056958, 04-059110','Bank robber flees with $29,000, crashes, shot to death','Two Palm Beach County Sheriff\'s deputies followed bank robber <NAME> as he left a Wachovia Bank branch with more than $29,000 in cash. They followed him for three miles before he crashed his car near Southern Boulevard and Haverhill Road. Deputy <NAME> got out of his car and saw Vitt chamber a round. Barone shot him three times, killing him.','2004-04-16','Southern Boulevard and Haverhill Road','West Palm Beach','33415','Fatal','Homicide',NULL,3,1,'1','Call','Robbery or robbery alarm',0,'',0,1,0,0,1,0,0,0,0,'Barone was also in another shooting in 2002. As a rookie Boynton cop, violated the department\'s abuse-of-authority and courtesy rules during a citizen stop.',0,NULL),('LM25','IA 04-118','Teen burglary suspect drives toward police, shot in hip','Palm Beach County Sheriff\'s deputy <NAME> responded to a call of several teens peering into cars in a parking lot. When he arrived, <NAME> drove away, in his direction. Harrell fired once into the car, hitting Whitefield in the hip.','2004-04-26','1593 Quail Dr.','West Palm Beach','33409','Non-Fatal','',1,1,1,'1','Call','Other',0,'',0,1,0,0,0,0,0,0,1,'Over the years Harrell has been suspended five times and reprimanded twice for various sheriff\'s office policy violations, records show. In 1994, he was arrested on a charge of aggravated assault after Riviera Beach police say he threatened his girlfriend with a butcher knife.',0,NULL),('LM26','IA 04-158','Husband\'s odd behavior, move toward gun, leads to fatal shooting','Ste<NAME>\'s wife called 911 because her husband was behaving strangely. Palm Beach County Sheriff\'s deputy <NAME> responded to their apartment. Feldman had a handgun, which he placed on the kitchen counter after Caroscio told him to. But the deputy shocked him with a Taser, and shot him twice when he ran to the kitchen and grabbed the gun. Feldman died at the hospital.','2004-06-05','10328 Boca Entrada Blvd.','Boca Raton','33428','Fatal','Homicide',3,2,1,'1','Call','Family or domestic disturbance',0,'Taser',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM27','3-04-012867','Undercover drug buy results in missed shot into pickup truck, arrest','Undercover Port St. Lucie police were selling drugs in a Circle K parking lot when <NAME>, 39, drove up and made a buy. Several officers moved in to arrest him. Freeman, to escape, backed up and hit officer <NAME>, who fired a single shot into the cab of Freeman\'s pickup, missing him. Freeman escaped but was caught soon after.','2004-07-22','702 NW Airoso Blvd.','Port St. Lucie','34983','No injuries','',1,0,1,'1','Investigation','',0,'',0,1,0,0,0,0,0,0,1,'This seems like a cockamamie operation. Why were they selling drugs in the parking lot of a private business? Why approach the vehicle on foot?',0,1),('LM28','IA 04-236','Shot through windshield strikes man armed only with a bottle','During a joint undercover operation between police and Palm Beach County deputies, the driver of a Cadillac bought cocaine from officers. When officers moved in to arrest him, West Palm Beach officer <NAME> believed he saw the rear passenger holding a gun. He told the man to drop the gun and then fired a shot through the windshield, hitting the man, <NAME>, in the abdomen. Henry did not have a gun; what Fonseca saw was a bottle. Henry was hospitalized for two weeks. Fonseca was cleared because he \"perceived a threat,\" even though he was in error.','2004-08-27','8th St. and Henrietta Ave.','West Palm Beach','33401','Non-Fatal','',1,1,1,'1','Investigation','',0,'',0,1,0,0,0,0,0,0,1,'Fonseca in 2014 was arrested and charged with official misconduct, possession of cocaine and making false statements to a law enforcement officer during an investigation.',0,NULL),('LM29','IA 04-327, 04-131613','Police open fire on vehicle of fleeing suspect but miss','FBI agent <NAME> was following robbery suspect <NAME> when he called the Palm Beach County Sheriff\'s Office for help arresting him. They pulled over Sanchez\'s stolen SUV in a parking lot, and when they got out to arrest him, he backed up toward the officers. Capt. <NAME> fired once with a shotgun, deputy <NAME> fired several times with a handgun and an unidentified FBI agent, possibly Kuyrkendall, also fired. Sanchez, who wasn\'t hit, fled the scene and crashed nearby.','2004-11-08','4935 Southern Blvd.','West Palm Beach','33415','No injuries','',12,0,3,'1','Call','Other',0,'',0,1,0,0,0,0,0,0,1,'We need to get the name of the FBI agent from PBSO. There\'s no evidence the agent was working undercover.',0,NULL),('LM3','10007699','Shot fired, misses suspect in pickup truck','<NAME> took a woman\'s wallet outside a Boynton Beach Wendy\'s restaurant and fled in a stolen car, prompting police to chase him to a Delray Beach business park. Troutman tried to steal a pickup truck whose owner was working in the back seat. Officer Chad Shane fired one shot, missing, when Troutman reached into his waistband, Shane said. Troutman was sprayed with pepper spray and shocked with a Taser before being arrested.','2010-02-16','1395 NW 17th Ave, Delray Beach, FL','Delray Beach','33445','No injuries','',1,0,1,'1','Call','Robbery or robbery alarm',0,'',0,0,0,1,1,0,0,0,0,'No IA investigation included in report.',0,NULL),('LM30','IA 04-349, 04-138322','Cocaine-fueled escape attempt results in deputy accidentally shooting patrol car','Palm Beach County deputies responding to a burglary call found <NAME>, who was high on cocaine and had broken a neighbor\'s window trying to flee an imaginary person who was trying to kill him. Deputies handcuffed him, and he jumped into the driver\'s seat of a patrol car and tried to drive away. He was shocked with a Taser and pulled out, but a few minutes later he jumped in the driver\'s seat again. Deputies were trying to get him out when Desilio kicked deputy Christian Scerbo in the chest, knocking him to the ground. Scerbo accidentally pulled the trigger on his handgun, and the round went into the patrol car. Nobody was hit. Desilio was later found not guilty of resisting officers by reason of insanity.','2004-11-27','946 Laurel Dr.','Lake Park','33403','No injuries','',1,0,1,'1','Call','Burglary or burglary alarm',0,'Taser',0,1,1,0,0,0,0,0,1,'Not disciplined for letting a suspect into the driver\'s seat of a patrol car - twice??',0,NULL),('LM31','IA 05-028','Man with marijuana joint wounded by police after he backs into them','A team of Palm Beach County deputies were supposed to meet up for dinner before patrolling \"hot spots\" in north county. Six of the deputies were in a van. While they were driving through Riviera Beach, they saw some men drinking beer in front of a convenience store. They stopped and piled out of the van -- without telling their supervisor, their watch commander or Riviera Beach police. While talking to the men, they noticed <NAME>, 22, sitting in a car in the parking lot. A marijuana cigarette was sitting on the seat. When they started questioning Lester, he put the car in reverse and drove, hitting two deputies. Cpt. <NAME> and deputies <NAME> and <NAME> shot Lester several times, wounding him, and he crashed in the parking lot. Internal investigators cited the officers for not reporting their location on the radio.','2005-02-04','1241 Avenue U','Riviera Beach','33404','Non-Fatal','',NULL,NULL,3,'1','Self-initiated','',0,'Taser',0,1,0,0,0,0,0,0,1,'These guys idiotically stop in another jurisdiction to hassle some guys for drinking a beer outside? Sergeant/supervisor said they never did these activities without her present. They never notified Riviera Beach or their watch commander.',0,2),('LM32','03-05-001344','Man killed after he aims gun at his own head, then at SWAT-team member','<NAME>, 50, was acting suicidal and firing a gun in his house, prompting his family members to call police. After a six-hour standoff with police that included Grbic shooting at a police helicopter, Port St. Lucie SWAT members shot tear gas into Grbic\'s home and went inside. Detective <NAME> said Grbic had a gun to his head, then cursed police and pointed a gun at him. Beath fired once, hitting him in the head.','2005-01-24','4968 NW Foxworth Ave.','Port St. Lucie','34983','Fatal','Homicide',1,1,1,'1','Call','Other',0,'Gas',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM33','IA 05-038','Pickup vignette///','<NAME> Jr., distraught over his failed marriage, gave his estranged wife a suicide note. She called police, who found him parked in a condominium parking lot. Garczynski had a gun to his head. Rather than wait him out or call SWAT, three Palm Beach County deputies and a Boca Raton officer decided to approach him, demand that he show his hands and smash out the windows. Garczynski turned and pointed his gun at the officers, they said, prompting them to fire 30 rounds. He was struck 10 times and died at the scene. The shooting prompted <NAME> to implement crisis training for deputies.','2005-03-10','750 NE Spanish River Blvd.','Boca Raton','33431','Fatal','Homicide',30,10,4,'1','Call','Suicide or suicide attempt',0,'',0,1,0,0,0,0,1,0,1,'Police instigated the incident by approaching the vehicle and breaking the passenger side windows. Krischer chided the officers for failing to calm Garczynski.They decided not to call SWAT because they wanted to make sure Garczynski was in the vehicle. Withrow left the Sheriff\'s Office in January 1998 after an internal investigation determined that he initially did not tell the truth about not responding to a call, records show. He was rehired in May 2001.',0,NULL),('LM34','IA 05-043','Suspect in minivan theft drives toward cop, who fires into vehicle but hits nothing','Palm Beach County deputy <NAME> spotted a stolen minivan in a parking lot at 1900 Okeechobee Blvd. He placed a tire spike under one of the tires, then waited for the person driving the minivan to return. <NAME> got in the van and backed up over the spikes, puncturing a tire. Lentini ran up to tell him to get out, but Foulks kept backing up and forward in the car, nearly hitting Lentini, who fired several times at Foulks, then got out of the way. Foulks was arrested in the parking lot.','2005-04-02','1900 Okeechobee Blvd.','West Palm Beach','33409','No injuries','',NULL,0,1,'1','Self-initiated','',0,'',0,1,0,0,0,0,0,0,0,'Report doesn\'t mention if anyone was hit, how many shots were fired or what time the shooting happened. Pathetic report.',0,NULL),('LM35','20050514319','Shooting suspect killed by off-duty cop working security at apartment complex','Off-duty Riviera Beach officer <NAME> was helping a security guard at an apartment complex when he heard gunshots at a complex nearby. He ran to the scene to see <NAME> walking away from a shooting victim. When Eggers told him to show his hands, Monroe allegedly reached for a handgun in his pocket. That\'s when Eggers fired once, hitting Monroe in the head, killing him.','2005-11-14','4242 Leo Lane','Riviera Beach','33410','Fatal','Homicide',1,1,1,'1','Call','Illegal shooting',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM36','IA 05-057','Ex-NYC cop killed after waving gun at SWAT team','<NAME>, a former New York cop who was depressed and distraught, went to his estranged wife\'s house and threatened to kill himself. After a standoff with Palm Beach County deputies that lasted several hours and threats to kill anybody who went inside the home, Bodie walked outside and raised a gun toward SWAT deputies. Deputy <NAME> fired once, killing him.','2005-05-27','22436 Sea Bass Dr.','<NAME>','33428','Fatal','Homicide',1,1,1,'1','Call','Unknown trouble or 911 disconnect',0,'',1,0,0,0,0,0,0,0,0,'Bodie wanted to talk to two friends who worked for PBSO. They were called to the scene but not allowed to talk to him because they weren\'t \"trained negotiators.\" The wife of the former New York City detective killed by a SWAT sniper filed a police report Monday alleging that more than $4,000 in jewelry was taken from her home while sheriff\'s detectives investigated the May 27 shooting.',0,NULL),('LM37','IA 05-059','Man stopped for speeding takes off, striking deputy; five shots miss his vehicle','<NAME> was pulled over by Palm Beach County deputies for speeding. But he was evasive, claiming he lost his license. When one deputy reached in the car to grab a mysterious black bag Coleman was holding, he put the car in drive and took off, striking one deputy in the leg. The other fell out of the car. <NAME> fired five times at the fleeing vehicle, missing Coleman.','2005-06-07','3500 N. Military Trail','West Palm Beach','33409','No injuries','',5,0,1,'1','Traffic stop','',0,'',0,1,0,0,0,0,0,0,0,'',0,1),('LM38','2005016230','Armed wife-beating suspect says \'bring it on\' before cops shoot him ','<NAME> was drunk when he choked his wife to the point she blacked out. Okeechobee County deputies were called to the scene, and Rock was waiting for them with a rifle. He told deputies to \"bring it on,\" and started walking toward them. Cpl. <NAME> told him several times to drop the rifle, eventually firing twice as Rock kept walking toward them, wounding him.','2005-08-11','8612 SE 57th Dr.','Okeechobee','34974','Non-Fatal','',2,2,1,'1','Call','Family or domestic disturbance',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM39','05-26084','Man flees police, gets shot in the butt','West Palm Beach Sgt. <NAME>, who was with several officers in unmarked cars, approached several men who were behaving suspiciously in front of an apartment. When he walked up, several men went inside. <NAME>, who was locked out, ran. Roaf chased him down the street, until he said Jones turned and pointed a gun at him. Roaf fired once, hitting him in the buttocks. Jones was arrested for aggravated assault and resisting an officer, but was never prosecuted.','2005-11-11','807 N. Rosemary Ave.','West Palm Beach','33401','Non-Fatal','',1,1,1,'1','Self-initiated','',0,'Taser',0,0,0,1,0,0,0,0,0,'',0,NULL),('LM4','8038762','Suspect shoots sergeant after I-95 chase, is wounded','Suspect <NAME> shot at a group of people in front of a Boynton Beach home, fled and officers persued him on Interstate 95. The chase, which involved three agencies, went into Broward County before ending in a Delray Beach neighborhood. Wilson abandoned his car and fled on foot, shooting at officers and striking Boynton Beach Sgt. <NAME>, piercing his protective vest. A state attorney\'s investigation cleared the officers, citing four in the shooting: Delray Beach Sgt. <NAME>, Boynton Beach Sgt. <NAME> and Boynton officers <NAME> and <NAME>. Wilson gave up after he was wounded.','2008-08-17','117 SW 11th Ave Delray Beach, FL','Delray Beach','33444','Non-Fatal','',46,5,4,'1','Call','Assault/battery with a gun or other weapon',0,'',0,0,0,1,1,1,0,0,0,'',0,1),('LM40','IA 06-010','Belligerent man pulls out cellphone but deputy saw \'chrome-colored flash\'','Palm Beach County deputy Sgt. Dererk Savage responded to a call of a person with a gun and found two suspects in a car. The passenger was Chester Washington, 29. Several other deputies arrived and told Washington to get out of the car. He complied, but soon became belligerent. One deputy, on Savage\'s orders, used a Taser on him, causing Washington to fall face first. He began reaching into his pockets while on the ground, pulling out a cellphone and other items. Savage thought he saw a \"chrome-colored flash\" that could be a gun and fired twice, killing him. There was no gun, and other deputies did not see the flash.','2006-02-17','3rd Street and Limestone Creek Road','Jupiter','33458','Fatal','Homicide',2,2,1,'1','Call','Person with a gun, knife or other weapon',0,'Taser',0,0,0,0,0,0,1,0,1,'',0,NULL),('LM41','IA 06-024','Knife-wielding woman with schizophrenia gunned down in her home','In one of the more controversial shootings by a Palm Beach County officer, deputy Yun \"Jason\" Law shot and killed <NAME>, 56. Forrest was suffering from schizophrenia when her husband called police to have her hospitalized under the state\'s Baker Act. He told deputies his wife was wielding a knife. when Law and another deputy went in the home, Forrest was in the bathroom. Deputies said she held a knife over her head and moved toward them. Another deputy tried to shock her with a Taser, but it didn\'t work. Law fired once, hitting her in the chest.','2006-03-27','22751 Mandeville Place','Boca Raton','33433','Fatal','Homicide',1,1,1,'1','Call','Mentally ill person',0,'Taser',0,0,0,0,0,0,1,0,1,'',0,NULL),('LM42','IA 06-029','Carjacking kidnapper killed, carjacking victim wounded','<NAME> kidnapped his ex-girlfriend and her new boyfriend in Lantana, then led police on a chase into Broward County. He pulled into a strip mall with deputies from multiple agencies in pursuit, then got out of his car and tried to carjack a car owned by <NAME>, who was on her way to work. Three deputies opened fire on Bender, killing him. Sgt. <NAME> fired into White\'s car, believing White, who was ducking low in the front seat, was Bender. She was struck once in the hip.','2006-04-19','690 U.S. 441','Margate','33068','Fatal','Homicide',31,4,4,'2','Call','Assault/battery with a gun or other weapon',0,'',0,1,0,0,1,0,1,0,0,'',0,NULL),('LM43','06-8791','Off-duty cop on security detail at teen dance fires three times into car','West Palm Beach police Sgt. <NAME> was off-duty providing security, in uniform, at a teen dance party when he heard shots in the parking lot. He tried to stop three people in a white Cadillac, but the driver, <NAME>, kept going. Key fired three times at the car before it got away. No one was injured.','2006-04-23','1601 N. Tamarind Ave.','West Palm Beach','33407','No injuries','',3,0,1,'1','Self-initiated','',0,'',0,1,0,0,0,0,0,0,1,'The report on this case is excellent. It critiques both the officer and the investigation (they didn\'t inspect the officer\'s gun). Also, someone seized a lost police radio and said that an officer was down.',0,NULL),('LM44','06-068453','After chase, fusillade of 288 shots kills suspect','A confrontation at a West Palm Beach gas station prompted Antonio Isaias-Magdaleno to shoot in the air, leading to a 19-mile police chase to Delray Beach, where he fired several rounds at police after his car crashed. Nineteen Palm Beach County deputies and three Boynton Beach officers returned fire at least 288 times, killing him. Nineteen bullets were removed from his body. Police and prosecutors justified the shooting, but found that so many cars in pursuit of the suspect put civilians at risk.','2006-05-19','523 NE 2nd St.','Delray Beach','33483','Fatal','Homicide',288,18,22,'1','Call','Illegal shooting',0,'',0,1,0,0,1,0,0,0,1,'Blackman fired 4 rounds from a shotgun and 15 from a handgun. Tomassi fired 6 rounds from a shotgun and 7 from a handgun. Boynton Beach PD did NO INVESTIGATION into the shooting by their officers.',0,NULL),('LM45','06-041921','Crash on 95 leads to chase, struggle for cop\'s gun before officers open fire, kill suspect','<NAME>, who had a recurrence of cancer and a drug habit, crashed into a car at Interstate 95 and Gateway Boulevard and fled. Boynton Beach officers saw the crash and pursued him. Wallace bailed out of his car in the northbound lanes of I-95, then jumped the median into the southbound lanes, where an officer caught and tackled him. In their struggle, Wallace grabbed officer <NAME>\'s gun. Boynton officers <NAME> and <NAME> shot him five times, killing him.','2006-08-15','26.571232, -80.069669','Boynton Beach','33462','Fatal','Homicide',5,5,2,'1','Self-initiated','',0,'Taser',0,0,0,1,0,1,0,0,0,'',0,NULL),('LM46','06-0906118','Robbery suspect fired upon, fires back, no one hit','<NAME>, 15, was a suspect in several robberies of cab drivers. When Riviera Beach police moved in to arrest him, police said he reached into his waistband for a gun. Det. <NAME> fired once, missing him. Saulsby ran behind a house, where he fired one shot. No one was wounded.','2006-09-06','749 Michigan Ave,','Riviera Beach','33404','No injuries','',1,0,1,'1','Investigation','',0,'',0,0,0,0,0,0,0,0,0,'The officer was drug/alcohol-tested, which is unusual. It also misspells his name throughout the report.',0,NULL),('LM47','06-002059','Officer fires to stop fleeing motorist, misses','Lantana officer <NAME> tried to pull over <NAME> after he saw her driving erratically. She fled. Shackelford later saw her again, and pursued her into a cul-de-sac. Vest, trying to escape, drove at the officer, and he fired once at the front tire to disable the vehicle. He missed the vehicle and no one was hurt.','2012-10-04','1240 Lacosta Circle','Lantana','33462','No injuries','',1,0,1,'1','Traffic stop','',0,'',0,1,0,0,1,0,0,0,0,'Officer fired to disable the vehicle. ',0,NULL),('LM48','IA 06-004, 06-21399','Gas station robbery suspect shot five times, survives','<NAME>, 49, got the attention of police when he held up a man at gunpoint in a gas station, then made the man drive around the back of the store. The victim got out and ran to the front, where he found West Palm Beach officer <NAME>, who\'d been called to the scene by a witness. Gorski went behind the gas station to find Frierson, who pointed a gun at the officer and, at some point, fired it. Gorski fired six times, hitting Frierson five times. He survived.','2006-10-02','5300 45th St.','West Palm Beach','33407','Non-Fatal','',6,5,1,'1','Call','Other',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM49','06-22784','Man suspected of swiping Porsche drives into officers, is wounded','When a man got out of his Porsche SUV to get a soda at a gas station, <NAME> noticed the man left his keys in the ignition. Thevenin got in the car and took off, prompting a police chase. At one point he struck several parked police cars and in his haste to get away, struck West Palm Beach officer <NAME> and drove at officer <NAME>, who both fired several times. Thevenin was struck at least once. He survived.','2006-10-10','1100 N. Sapodilla Ave.','West Palm Beach','33401','Non-Fatal','',NULL,NULL,2,'1','Call','Stolen vehicle',0,'',0,1,0,0,1,0,0,0,1,'Report doesn\'t mention how many shots were fired. Officer Zangara went on to have a lot of problems.',0,NULL),('LM5','20110122','Trooper at training exercise shoots two colleagues','Florida Highway Patrol Lt. <NAME> accidentally shot fellow troopers Mellow Scheetz and <NAME> following a training exercise at a shooting range. Johnson was trying to demonstrate how to clean a handgun properly. To disassemble his Glock handgun, he pulled the trigger, not realizing a round was in the chamber. Johnson shot Scheetz in the left buttocks, and the round struck two handgun magazines in Rahming\'s right pants pocket. Scheetz was taken to the hospital and discharged the same day.','2011-03-14','38680 State Road 80 Belle Glade, Florida','Belle Glade','33430','Non-Fatal','',1,1,1,'2','Other','',0,'',0,0,1,0,0,0,0,0,1,'',1,NULL),('LM50','2006-21370 ','Man angry at ex, shoots self in the head as police fire upon him','<NAME>, drunk and upset with his ex-girlfriend, grabbed a gun and went to the bar where she worked. He knocked out the windows of the bar, and a friend of the ex-girlfriend called Boca Raton police. Sgt. <NAME> and another officer arrived and briefly pursued Diana into the parking lot, where he shot himself in the head. McGovern fired three rounds, hitting him once in the thigh, after seeing Diana raise the gun.','2006-12-16','1599 NW 1st Court','Boca Raton','33432','Fatal','Suicide',3,1,1,'1','Call','Family or domestic disturbance',0,'',0,0,0,0,0,0,0,0,0,'Could be a model report - does get into training issues. Was the officer\'s second shooting.',0,NULL),('LM51','07-002','Police fire, miss armed, fleeing erratic driver','Riviera Beach officer <NAME> noticed <NAME> driving erratically. When he tried to pull Dicocco over, he fled into a neighborhood, got out of his car and ran. Aguirre and officer <NAME> chased him on foot, firing several times when they said Dicocco turned toward them with a gun. He fled into a home and later was arrested.','2007-01-17','3400 block of Avenue J','Riviera Beach','33404','No injuries','',5,0,2,'1','Traffic stop','',0,'',0,0,0,1,1,0,0,0,0,'Piss-poor report. Doesn\'t mention how many shots were fired.',0,NULL),('LM52','07-012','Man going \'berserk\' grabs gun, shot by deputy before arrest','The father of <NAME>, 52, called police because his son was going \"berserk.\" Two Palm Beach County deputies responded and coaxed the younger Weiland to walk out of the home with them. But as they were walking out, Weiland darted into a room and grabbed a shotgun. Deputy <NAME> quickly fired off a round, hitting Weiland in the hand and thigh, before retreating. Weiland eventually came out of the room unarmed, and he was stunned with a Taser and arrested.','2007-04-06','4307 Fox Trace Road','Boynton Beach','33436','Non-Fatal','',1,1,1,'1','Call','Family or domestic disturbance',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM53','IA 07-007, 07-8976','Mumbling man attacks officer, withstands pepper spray, killed','An apartment complex security guard called police after <NAME>, 23, was seen barefoot and mumbling in the neighborhood. When West Palm Beach officer <NAME> arrived, Jones became enraged, immediately punching the officer and hitting him in the head with a lawn ornament. Phillips used pepper spray on Jones during the two-minute struggle, but it had no effect. He eventually pulled out his handgun and shot Jones three times, killing him. Jones might have been mentally ill and had numerous cases of domestic violence.','2007-04-14','6313 Paradise Cove','West Palm Beach','33411','Fatal','Homicide',3,3,1,'1','Call','Prowler',0,'Pepper spray',0,0,0,0,0,1,1,0,0,'Excellent report.',0,NULL),('LM54','IA 07-018','Bank robber brothers flee, both get shot, one killed','Brothers and serial bank robbers Brandon and <NAME> were fleeing a bank robbery in a car when Palm Beach County deputies caught up to them in Boynton Beach. They crashed their car into a fire hydrant and fled on foot, with deputies chasing on foot. Cpl. <NAME> chased Brandon, who was carrying a bag with cash and an AR-15 rifle sticking out. When Brandon made a move toward the bag, Kirkpatrick shot him. Sgt. <NAME> tackled the other brother, who was unarmed. But during the struggle, Joshua grabbed Hightower\'s gun, and he and three other deputies shot him. Joshua died at the scene.','2007-04-27','8200 Jog Road','Boynton Beach','33472','Fatal','Homicide',16,NULL,5,'2','Call','Robbery or robbery alarm',0,'',0,0,0,1,1,0,0,0,0,'Combs\' second shooting.',0,NULL),('LM55','IA 07-019','Strip-club drug suspect drives toward deputies, who open fire','Palm Beach County deputies received information from an informant that Jethro Clairvoyant would be selling drugs in the parking lot of Cheetah\'s strip club in West Palm Beach. When deputies moved in to arrest him, Clairvoyant tried to get away, driving at deputies in the process. Three deputies and a Boynton Beach K-9 officer fired a total of 33 rounds at him, hitting him three times. Clairvoyant got out of his car, fled on foot and was caught by the police dog.','2007-04-28','3342 Shawnee Ave.','West Palm Beach','33409','Non-Fatal','',33,3,4,'1','Investigation','',0,'',0,1,0,0,0,0,0,0,0,'Deputies were told Clairvoyant would try to run them over. So why didn\'t they try to arrest him another way?',0,NULL),('LM56','IA 07-030','Discipline recommended for deputy after accidental discharge strikes man in head','Palm Beach County deputy <NAME> and another deputy responded to a call of several suspicious men in a yard. While the other deputy asked the men for their IDs, Montesino crossed the street to look for other people. <NAME>, 22, was hiding behind a car. Montesino told him to stand with his hands up, and Jackson complied. But while putting his flashlight in his belt, Montesino fired his gun accidentally, hitting Jackson in the head. Multiple witnesses, including the other deputy, heard Montesino say immediately after that he didn\'t mean to shoot. Montesino also initially said it was an accident. But on a second interview, he said he intended to shoot Jackson when Jackson\'s arms dropped a few inches. Investigators didn\'t believe him and recommended discipline for the shooting. Jackson survived.','2007-06-09','6100 Arcade Court','Lake Worth','33463','Non-Fatal','',1,1,1,'1','Call','Other',0,'',0,0,1,0,0,0,1,0,1,'Multiple witnesses told police Montesino said he didn\'t mean to shoot him. Montesino himself changed the story.',1,NULL),('LM57','IA 07-030','Armed man near nightclub wouldn\'t drop his gun, officer shoots six times, killing him','Two Riviera Beach officers were working an off-duty detail providing security at a nightclub when they heard gunshots. They ran to a nearby parking lot, where they saw <NAME> with a gun. Officer <NAME> told him several times to drop his gun, but he didn\'t. Torres said he raised the gun toward him, and the officer fired six times, killing him.','2007-07-22','1009 Old Dixie Highway','Riviera Beach','33404','Fatal','Homicide',6,3,1,'1','Self-initiated','',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM58','709487','Police fire at armed robbery suspect, miss ','Riviera Beach Lts. <NAME> and <NAME> responded to a robbery call at a Metro PCS store. When they arrived, they saw <NAME> in a mask and gloves running out of the store. Holloman pointed a handgun at the officers, who each fired once, missing him. Holloman ran back into the store, and later surrendered to officers.','2007-07-30','80 E. Blue Heron Blvd.','Riviera Beach','33404','No injuries','',2,0,2,'1','Call','Robbery or robbery alarm',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM59','7042502','Police try gas, pepper spray, Taser, rubber bullets and bean bag shotgun before wounding suspect','<NAME>, 30, tried to kidnap a woman, then entered a nearby Boynton Beach home, where he set three fires and stabbed himself several times with a two-foot-long barbecue fork. Boynton Beach SWAT officers tried several times to arrest him, using tear gas, pepper spray, a Taser, rubber bullets and a bean bag shotgun over several hours. They went in a second time and found him submerged in the bathtub, telling police they\'d have to kill him. Sgt. <NAME> shot him twice, wounding him, when he lunged at officers with the barbecue fork. ','2007-08-30','507 Belmont Place','Boynton Beach','33436','Non-Fatal','',2,2,1,'1','Call','Other',0,'Taser, Pepper spray, Rubber or other bullets, Less-lethal shotgun',0,0,0,0,0,0,0,0,0,'Includes a pretty thorough after-action critique.',0,NULL),('LM6','10-25309','Hiding man wounded after cops search house for drugs','Delray Beach police SWAT officers served a search warrant for narcotics at the home of <NAME>, who ran into a bedroom when officers went inside. Sgt. <NAME> kicked in the door to the bedroom and found Bean inside, armed with a handgun. Police said Bean pointed the weapon at Jacobson, and the officer fired once from his rifle, grazing Bean\'s shoulder.','2010-09-13','618 SE 2nd Ave., Delray Beach, FL','Delray Beach','33483','Non-Fatal','',1,1,1,'1','Serving warrant','',0,'',0,0,0,0,0,0,0,0,1,'When the officer fired, his magazine fell to the floor. The officer was a department firearms trainer, and the situation could only have been prevented with \"repeated safety checks prior to entry.\"',0,NULL),('LM60','IA 07-009','Man wandering with machete killed','<NAME> was wandering in West Palm Beach while carrying a machete, leading passersby to call police. When officers arrived, he held the machete over his head and moved toward officer <NAME>, who shot twice, killing Niellas.','2007-09-05','1200 block of Summit Boulevard','West Palm Beach','33405','Fatal','Homicide',2,2,1,'1','Call','Person with a gun, knife or other weapon',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM61','IA 07-010','Cop chases suspects, trades gunfire','West Palm Beach officer <NAME> heard gunshots coming from an apartment complex near Haverhill Road and 45th Street and saw a car speeding away. Raja chased the vehicle for four miles on Haverhill before the car stopped at the entrance to an apartment complex and several people got out and started to run away. One of the suspects pointed a handgun at Raja and fired, prompting the officer to return fire. No one was injured. <NAME> and another man in the car were arrested and convicted for killing two people at the first apartment complex.','2007-09-18','1909 Haverhill Road North','West Palm Beach','33417','No injuries','',5,0,1,'1','Self-initiated','',0,'',0,0,0,0,1,0,0,0,0,'',0,NULL),('LM62','IA 07-050','Drug deal gone bad, suspect upends cop, is shot in the arm','Palm Beach County deputies set up Thomas Burgess to sell crack cocaine to a confidential informant. After Burgess arrived in the arranged location -- the parking lot of Paul\'s Motel -- deputies pounced. Burgess panicked and tried to drive away, striking one undercover deputy, who landed on his head and lost consciousness. Four other deputies opened fire. Burgess surrendered after he was shot once in the arm. Two deputies\' names were never released because they were working undercover. ','2007-09-19','5445 Lake Worth Road','Greenacres','33463','Non-Fatal','',20,1,4,'1','Investigation','',0,'',0,1,0,0,0,0,0,0,0,'',0,1),('LM63','IA 07-038, PBSO 07-131514','Cop shoots six times, hits once, wounding armed man','Riviera Beach police were called to the Stonybrook Apartments after a resident reported a person in the complex with a gun. Officers walked through the complex, then heard several gunshots. They found the gunman, <NAME>, wielding a rifle. Officer <NAME> yelled at him to drop the weapon, but Auguste stood with the gun facing the officer. Lee fired six times, hitting Auguste once in the hip. Auguste dropped the gun and ran away.','2007-10-14','1555 Martin Luther King Jr Blvd.','Riviera Beach','33404','Non-Fatal','',6,1,1,'1','Call','Person with a gun, knife or other weapon',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM64','IA 07-039','Suspect drives toward police, who shoot but miss','Riviera Beach police arrived quickly to the scene of a shooting at a house party, in time to see <NAME>, 21, shooting out of the window of a car. He sped away from police, but turned back and drove at officers <NAME> and <NAME>, who fired several times as he drove toward them and past them. He crashed soon after and was arrested. He was not struck by the officers\' rounds.','2007-10-28','3300 block of Avenue K','Riviera Beach','33404','No injuries','',12,0,2,'1','Call','Illegal shooting',0,'',0,1,0,0,1,0,0,0,0,'Fashaw\'s in-car camera wasn\'t working.',0,NULL),('LM65','07-074','Undercover agent chases, shoots man with BB gun','Palm Beach County investigators were investigating a drug operation in the Cinnamon Terrace apartments and assigned an undercover agent to hang out near the pool and watch people coming and going from a specific apartment. When the agent arrived, <NAME>, 18, asked him if he wanted drugs. The agent declined. Horne came back a second time with another person and asked the agent again. When the agent declined, Horne pulled out a BB gun and told him to go away. The agent then pulled out a handgun and badge and chased the two men to an apartment. When they were trying to get inside, Horne turned with the gun toward the agent, who fired three times, hitting him twice. He survived. The agent\'s name has never been released.','2007-12-17','5955 Ceylon Court','West Palm Beach','33415','Non-Fatal','',3,2,1,'1','Investigation','',0,'',0,0,0,1,0,0,0,0,1,'The story given to the public - that this was a robbery - does not at all match what\'s in the report. Also, there\'s no time of incident in the report.',0,NULL),('LM66','IA 08-004','Researcher pins cops between cars; eight shots all miss','Palm Beach County deputies pulled over <NAME>, a researcher at a diabetes clinic, after getting calls that he was driving slowly through a nearby apartment complex. They stopped him in the parking lot of a storage center and deputy <NAME> walked toward Antao\'s car. Antao backed into the deputy, pinning him. The deputy fired seven times into the car, and deputy <NAME> fired once. Antao sped off and was captured after a fight. He was found not guilty by reason of insanity. Tembeckjian was not seriously hurt.','2008-01-30','4390 Hypoluxo Road','Lake Worth','33462','Non-Fatal','',8,1,2,'1','Call','Other',0,'',0,1,0,0,0,0,0,0,0,'Tembeckjian is marked as a woman in FDLE\'s database.',0,NULL),('LM67','D-08-0365-L','Trooper misfires, shoots driver stopped for driving illegally in the carpool lane','Florida Highway Patrol trooper <NAME> accidentally shot 20-year-old <NAME> during a traffic stop. DeSilva was driving in the carpool lane illegally and didn\'t pull over when troopers told him to. When Radanof caught up to him, DeSilva pulled over. Radanof walked to his car with his gun pointed at him and yanked him out of the car. The trooper\'s gun went off and hit DeSilva in the shoulder. Radanof was given an 80-hour suspension for the incident.','2008-03-13','153 E. Cypress Creek Road','Oakland Park','33334','Non-Fatal','',1,1,1,'1','Traffic stop','',0,'',0,0,1,0,0,0,0,0,1,'Contrast this case with the accidental shooting by PBSO.',1,NULL),('LM68','IA 08-020','Deputy slays Guatemalan construction worker, commits suicide five weeks later','The circumstances surrounding this incident are still a mystery, but Palm Beach County deputy <NAME> stood to be the first officer in the county to be indicted for a police shooting since 1993 had he not committed suicide soon after the shooting. Peixoto pulled over a minivan because the driver was drunk. After the deputy handcuffed the driver and put him in the back seat of his patrol car, he went to the passenger\'s side to talk to <NAME>, a 35-year-old Guatemalan construction worker. Ramos was asleep. Peixoto said he woke the man up, and then Ramos slashed him several times with a butterfly knife, prompting the deputy to shoot him seven times, killing him. But Peixoto couldn\'t answer basic questions about the incident. An expert said the deputy\'s knife wounds appeared self-inflicted. And his fingerprint was the only one found on the knife. Peixoto killed himself five weeks later.','2008-03-15','6001 Forest Hill Blvd.','West Palm Beach','33415','Fatal','Homicide',8,7,1,'1','Call','Prowler',0,'',0,1,0,0,0,0,1,0,1,'Peixoto killed himself before the investigation finished. His second shooting (previous: IA 07-062, 07-140596). Brother also killed himself?',1,NULL),('LM69','IA 08-007','Innocent prank? Officer shoots wife in the arm','An innocent prank went awry when a Riviera Beach officer shot his wife in the arm. Officer <NAME> was watering his grass when his wife got home early and wanted to scare him by hiding in the laundry room. Lee heard a noise from the closet, went inside and grabbed his handgun. He said nothing and fired once through the door, hitting her in the arm. Lee drove her to the hospital and she recovered. Broward Sheriff\'s Office investigators never saw the inside of the home. Lee never consented to a search, based on his lawyer\'s advice, and prosecutors wouldn\'t grant a search warrant since the shooting appeared accidental.','2008-05-20','1425 SW 1st Terrace','Deerfield Beach','33441','Non-Fatal','',1,1,1,'1','Self-initiated','',0,'',0,0,0,0,0,0,0,0,0,'Officer says he opened the door before shooting. Wife says he shot through the door.',0,NULL),('LM7','11-025','Suspect in crack deal falls into officer who fires by accident','Delray Beach police narcotics officer <NAME> accidentally fired his weapon during an arrest. Chin and several other officers, guns pulled, swarmed the car of a man suspected of buying $100 of crack cocaine. When Chin pulled one of the suspects out of the car, the suspect tripped into the officer. Chin squeezed the trigger on his handgun. No one was injured, and Chin was issued a written reprimand.','2011-06-02','214 SE 5th St., Delray Beach, FL','Delray Beach','33483','No injuries','',1,1,1,'0','Investigation','',0,'',0,0,1,0,0,0,0,0,0,'',0,NULL),('LM70','IA 08-059','Pickup vignette///','Palm Beach County Sheriff\'s deputy <NAME> shot 16-year-old <NAME> in one of the county\'s most controversial police killings. Debrosse was driving a stolen rental car when he was stopped in a movie theater parking lot. The teen backed his car into the front of the police cruiser, then pulled forward and backed up again. Bethel, who got out of his car when it was first struck, fired once as the car backed up. Then he said he fired three more times as the car pulled forward again, away from him. The reports don\'t mention any justification for shooting at the car when it was moving away from him, however. The sheriff\'s office settled a lawsuit for $200,000.','2008-08-02','1003 N. State Road 7','Royal Palm Beach','33411','Fatal','Homicide',4,2,1,'1','Traffic stop','',0,'',0,1,0,0,0,0,1,0,1,'',0,NULL),('LM71','IA 08-080','Man shoots two, struggles with deputy who shoots him seven times','Palm Beach County deputies were called to a tow yard for an unruly man who wanted to get into a towed car. By the time deputy <NAME> arrived, <NAME> had shot up the business office, wounding two employees. Badala saw Voltz walking back to his car and ordered him to drop his rifle. Instead, Voltz opened his car door, and Badala grabbed him and tried to disarm him. During the ensuing struggle, Voltz pointed the rifle several times at Badala, who ended up shooting him seven times, wounding him.','2008-10-22','803 13th St.','Lake Park','33403','Non-Fatal','',7,6,1,'1','Call','Other',0,'',0,0,0,0,0,1,0,0,0,'',0,NULL),('LM72','IA 08-086','Mentally ill man killed when he wouldn\'t get out of mom\'s car','Palm Beach County Sheriff\'s Cpl. <NAME> mistakenly shot <NAME>, a 30-year-old with a history of drug abuse and mental illness, during a traffic stop. Phillips had stolen his mother\'s car, and deputies spotted it. Phillips never fled from cops, but stopped when the car broke down. He didn\'t get out of the car when told by deputies. When they approached the car, Logsdon said he saw Phillips make a \"furtive\" movement behind the car\'s heavily tinted windows and fired several times, killing Phillips instantly. Phillips was unarmed.','2008-12-01','515 S. Federal Highway','Boynton Beach','33435','Fatal','Homicide',5,4,1,'1','Traffic stop','',0,'',0,1,0,0,0,0,1,0,1,'Did internal investigators get a statement from the officer?? No mention of it in report.',0,NULL),('LM73','IA 09-010','Fleeing Walmart shoplifter, passenger wounded after driving toward deputy','Palm Beach County deputy <NAME> shot a driver and his passenger after the driver drove toward him. Laroche was providing off-duty security at a Walmart when <NAME>, 50, stole from the store and ran to his Jeep, which was idling in the parking lot. <NAME>, 42, was in the passenger seat. As Hay drove out of the parking lot, Laroche stood in his way, ordering him to stop. Hay didn\'t stop, instead turning to avoid hitting the deputy, and Laroche fired several times before jumping out of the way. The rounds wounded both Hay and Gamble.','2009-01-18','101 N. Congress Ave.','Lake Park','33404','Non-Fatal','',NULL,3,1,'2','Self-initiated','',0,'',0,1,0,1,0,0,1,0,1,'The deputy said he fired, then jumped out of the way. The report does not state how many shots were fired.',0,NULL),('LM74','IA 09-001','Teen rams cop with car, shot in shoulder','Riviera Beach officers pursued a gun-wielding suspect in a car to Avenue T, where the driver, <NAME>, 16, stopped abruptly. Officer William Saunders crashed into the back of the car and got out. A passenger in the suspect\'s vehicle got out and ran away. James put his vehicle into reverse and backed into Saunders, who was struck in the leg. The officer fired once to stop James, who was hit in the shoulder.','2009-01-21','1311 Avenue T','Riviera Beach','33404','Non-Fatal','',1,1,1,'1','Call','Person with a gun, knife or other weapon',0,'',0,1,0,0,1,0,0,0,0,'',0,NULL),('LM75','2009-0001571','Man who didn\'t belong in neighborhood gunned down during chase','West Palm Beach officer <NAME> shot and killed known gang associate <NAME> when Davis said the man pointed a gun at him during a foot chase. Davis was driving around in an undercover car with another officer when they saw Williams and another man walking in the neighborhood. Williams didn\'t belong in the neighborhood, Davis later said, and the two officers got out of the car to talk to them. Both men ran when they saw the officers, and during a foot chase, Davis said Williams pointed a handgun at him. Davis fired five times. Williams was expected to survive, but complications during surgery claimed his life. ','2009-01-25','719 5th St.','West Palm Beach','33401','Fatal','Homicide',5,4,1,'1','Self-initiated','',0,'',0,0,0,1,0,0,0,0,0,'',0,NULL),('LM76','IA 2009-020','Vietnam veteran opens door with rifle in hand, shot by deputies','A Delray Beach-area neighbor and friend called police to check on <NAME>, a 59-year-old Vietnam veteran, because he was suicidal. When three Palm Beach County deputies arrived, Adkins opened the door with a rifle in his hand. Sgt. <NAME> and deputy <NAME> fired several times, wounding him. Adkins died several months later in the hospital. Although police initially said Adkins fired on deputies, they later said he did not shoot.','2009-03-03','7000 W. Atlantic Ave.','Delray Beach','33446','Fatal','',7,NULL,2,'1','Call','Suicide or suicide attempt',0,'',0,0,0,0,0,0,0,0,1,'Atrocious report. Report has no mention of whether the person lived. No mention of how many shots were fired. Misspells the subject\'s name throughout the report.',0,NULL),('LM77','IA 09-021','Circle K robbery suspect with BB gun killed by shot to the head','One teen was shot and killed and another was wounded after police interrupted a robbery at a Circle K on Congress Avenue in Palm Beach County. A customer at the store called police after seeing the men don ski masks in the parking lot. PBSO deputies arrived, and <NAME> and <NAME>, both 18, ran out of the store after holding up the cashier. Holliday had a BB gun that looked like a handgun, and deputy <NAME> shot at him as he ran toward him. Holliday hid behind his getaway car, and Drummond fired a few more times when Holliday moved from behind the car. He was shot in the head and killed. Mortin was shot in the foot and survived. He was convicted of second-degree murder because he was with Holliday when Holliday was killed in the commission of a felony.','2009-03-09','1799 N. Congress Ave.','West Palm Beach','33409','Fatal','Homicide',4,3,2,'2','Call','Prowler',0,'',0,0,0,0,0,0,0,0,1,'The second-degree murder charge is really interesting.',0,NULL),('LM78','D-09-0225-L','Carjacking suspect killed after firing BB gun at cop','Florida Highway Patrol trooper <NAME> shot and killed a carjacking suspect in Vero Beach following a car chase. <NAME>, 32, had shoved a woman and taken her car at a Fort Pierce gas station, prompting a police chase north into Indian River County. Coulter was in the lead vehicle. The chase ended when Perez-Alonso drove into the median and jumped out of the car. He had a knife in one hand and a BB gun in the other. He pointed and fired the BB gun at Coulter at about the same time as Coulter fired six rounds from his handgun, killing him.','2009-03-19','27.624339, -80.515778','','32966','Fatal','Homicide',6,6,1,'1','Call','Stolen vehicle',0,'',0,0,0,0,1,0,0,0,0,'',0,NULL),('LM79','IR 09-116','Major defending home cleared after killing man who barged in','Off-duty Palm Beach County Maj. <NAME> was getting ready for work when <NAME>, 22, started banging on his door. The officer opened the door and Maldonado burst in and attacked him. The two were fighting when Jenkins got his department handgun and shot Maldonado once in the head, killing him. The department did not do an internal affairs investigation because prosecutors decided the shooting was off-duty and covered under the castle doctrine.','2009-03-20','600 block of South Palmway','Lake Worth','33460','Fatal','Homicide',1,1,1,'1','Citizen contact','',0,'',0,0,0,0,0,1,0,0,0,'Unusual that no internal affairs investigation was done.',0,NULL),('LM8','09-105','Officer reprimanded for firing during search of Goodwill store','Employees of a Goodwill store called Delray Beach police after discovering a door left open. While searching for a potential suspect inside the dark building, officer <NAME> accidentally pulled the trigger on her handgun, firing one round. Nobody was injured in the incident, and Robertson received a written reprimand.','2009-10-21','1640 N. Federal Highway, Delray Beach, FL','Delray Beach','33483','No injuries','',1,0,1,'0','Call','Other',0,'',0,0,1,0,0,0,0,0,0,'',0,NULL),('LM80','IA 09-045','Man holds knife to ex-girlfriend\'s throat, threatens to kill her if deputies don\'t kill him; they do','A woman called police after her daughter was kidnapped at knife-point by her estranged boyfriend. <NAME>, 21, made the ex-girlfriend drive his car, and Palm Beach County deputies stopped it at Forest Hill Boulevard and Jog Road. Gomez held a knife to his ex-girlfriend\'s throat. Although he told her he wouldn\'t hurt her, he told deputies he would kill her unless they shot him. Lt. <NAME> took him at his word and counted down, \"three, two, one.\" He, Cpl. <NAME> and Cpl. <NAME> each fired into the car, killing Gomez. The ex-girlfriend was not hurt. ','2009-05-15','Forest Hill Boulevard and Jog Road','West Palm Beach','33415','Fatal','Homicide',4,4,3,'1','Call','Unknown trouble or 911 disconnect',0,'',0,1,0,0,1,0,0,0,0,'',0,NULL),('LM81','IA 09-057','Cops investigating burglary awake man in car, shoot him','Palm Beach County deputy Marco Flores shot an unarmed man while investigating an early-morning burglary attempt in the West Palm Beach area. Flores and another deputy responded to the caller\'s home and went next door to a car parked in the driveway. Alens Charles, who lived in the house, was asleep in the front passenger seat and perked up when deputies arrived. Flores said he thought Charles had a gun and fired once, hitting him in the arm. Charles was unarmed.','2009-06-16','4070 Arthurium Ave.','West Palm Beach','33462','Non-Fatal','',1,1,1,'1','Call','Burglary or burglary alarm',0,'',0,1,0,0,0,0,1,0,1,'Clearly a mistake was made - they shot an unarmed man. And yet the agency finds nothing to fault? Case set for jury trial.',0,NULL),('LM82','IA 09-021, PBSO 09-106405','Man fights off officers, Taser before shot to abdomen','Riviera Beach officers responded to a Singer Island apartment after <NAME>\' mother called 911 after he attacked her. Gomez resisted arrest, at one point sending an officer through a window. A Taser failed to stop him. When he began pummeling an officer with his fists, officer <NAME> fired once, hitting him in the abdomen. He survived.','2009-07-18','2666 Park Ave.','Riviera Beach','33404','Non-Fatal','',1,1,1,'1','Call','Family or domestic disturbance',0,'Taser',0,0,0,0,0,1,0,0,0,'',0,1),('LM83','09-114115','Veteran defending home fires on police','Palm Beach County deputies briefly exchanged gunfire with a 62-year-old Vietnam veteran who suffered from extreme hearing and vision loss. Nobody was hurt in the firefight outside William Rives\' west county home. Rives\' wife had called 911 claiming her husband beat her and had access to guns. When deputies arrived, she was passed out on the porch. Rives came out with a handgun. Deputies identified themselves and fired on Rives when he pointed a handgun at them. Rives shot back, then went inside. He called 911 reporting strangers on his lawn, and surrendered when he learned they were police. He was arrested on four counts of attempted murder but the charges were dropped.','2009-08-05','23 W. Corkscrew Blvd.','Lake Harbor','33440','No injuries','',54,0,4,'1','Call','Family or domestic disturbance',1,'',0,0,0,0,0,0,0,0,1,'Report makes no mention of the fact that the man called 911 reporting intruders and was severely blind and hard of hearing.',0,NULL),('LM84','09-138168','Man killed outside grocery store when he lifted shirt to reveal knife','An off-duty Palm Beach County deputy shot a man after he thought the man was going for a gun. <NAME> was leaving the King Foods & Meat Bazaar in West Palm Beach when a shopper flagged him down in the parking lot. Smith was in plainclothes but had arrived in his patrol car. The shopper said that <NAME>, 28, had a gun in his waistband. Smith approached Murray, a frequent customer at the store, and told him to put his hands up. He then asked Murray if he had a gun. Murray lifted up his shirt and pulled out a knife. Smith said Murray\'s \"furtive movements\" caused him to fire twice, killing Murray.','2009-10-02','1000 36th St.','West Palm Beach','33407','Fatal','Homicide',2,2,1,'1','Citizen contact','',0,'',0,0,0,0,0,0,0,0,1,'Report is only three pages!! Not even 600 words. Also an excellent case of how the incident was reported vs. what investigators found.',0,NULL),('LM85','IA 07-062','Deputy fires blindly into woods,later kills himself','Palm Beach County deputy <NAME> might have been disciplined for firing blindly into the woods at a burglary suspect had he not killed himself before the investigation was over. Peixoto responded to a burglary call at the Bushel Stop nursery and heard someone run into the woods behind the store. The deputy said he saw a \"muzzle flash\" and believed a person in the woods was shooting at him. Although he didn\'t see anyone, he fired 12 times into the woods. <NAME> was found hiding in the woods and was arrested for the burglary, but police never found a gun. A few months later, Peixoto shot and killed a man and committed suicide soon after.','2007-11-05','8640 Lantana Road','Lake Worth','33467','No injuries','',12,0,1,'1','Call','Burglary or burglary alarm',0,'',0,0,0,0,0,0,0,0,1,'This was Peixoto\'s first shooting. He should have been off the streets.',0,NULL),('LM86','N/A','Deputy fires at robbery suspect, who escapes unwounded','Palm Beach County deputy <NAME> shot at and missed robbery suspect <NAME> after Austin didn\'t obey orders to surrender. Austin was later arrested. (Note: Police no longer have the report on this case.)','2002-10-24','1025 Drexel Road','West Palm Beach','33417','No injuries','',1,0,1,'1','Call','Robbery or robbery alarm',0,'',0,0,0,0,0,0,0,0,0,'Barone\'s first shooting.',0,NULL),('LM87','N/A','Police shoot at man suspected of beating his girlfriend','Palm Beach County deputy <NAME> shot at and missed a man after the man struck another deputy with a car. Mack and three other deputies were called to a Wellington home over a report that <NAME> was beating his girlfriend. The deputies surrounded him in his car, but Rossi took off, striking a deputy along the way. He was later arrested. (Note: Police no longer have records on this incident.)','2002-12-07','14048 Wellington Trace','Wellington','33414','No injuries','',1,0,1,'1','Call','Family or domestic disturbance',0,'',0,1,0,0,0,0,0,0,0,'',0,1),('LM88','N/A','Sergeant meeting man for sex shoots him after he takes his badge','Palm Beach County Sgt. <NAME> initially told police that while visiting a friend, someone stole his wallet and badge and drove away in a car. He said he fired at the car because it drove at him. But detectives eventually concluded that Seigfreid had intended to meet the man, <NAME>, for sex. When Stuckey didn\'t perform the sex act, Seigfreid chased after him, dropping his badge along the way. Stuckey took the badge and demanded money for it. Seigfreid refused, and when Stuckey drove away, the sergeant fired twice at the vehicle in retaliation, hitting Seigfreid in the arm.','2006-04-21','400 23rd St.','West Palm Beach','33407','Non-Fatal','',2,1,1,'1','Self-initiated','',0,'',0,1,0,0,0,0,0,0,1,'Seigfreid shot and killed a Lantana man in 1992, had a history of problems.',1,NULL),('LM89','N/A','Man shot after he drives toward deputy','Palm Beach County deputy <NAME> shot <NAME> in the face when Cabrera said Jett drove at him. Cabrera had tried to pull over Jett, but the man wouldn\'t stop. Jett pulled into an apartment complex parking lot, and Cabrera got out of his patrol car. Jett had no way of escape, so he turned around in his car and drove at the deputy, who shot into the car several times.','2014-10-10','3000 block of Westgate Ave.','West Palm Beach','33409','Non-Fatal','',NULL,NULL,1,'1','Traffic stop','',0,'',0,1,0,0,1,0,0,0,0,'',0,NULL),('LM9','08-004','Fleeing woman drives into detective, gets shot twice','Delray Beach police Detective <NAME> responded to a shoplifting call by stopping the car of fleeing suspect <NAME> at Linton Boulevard and SW 4th Avenue. Wintemute got out of his car and told Rawls to turn off hers. Instead, Rawls backed up and pulled forward to escape, striking the detective in the knee. Wintemute fired his weapon once, striking Rawls in the arm and abdomen. The detective was given a written reprimand for standing in front of Rawls\' car and placing himself in a situation where he could be struck.','2007-11-06','Linton Boulevard and SW 4 Avenue, Delray Beach, FL','Delray Beach','33444','Non-Fatal','',1,1,1,'1','Call','Burglary or burglary alarm',0,'',0,1,0,0,0,0,0,0,1,'Department decided that they wouldn\'t do IA until SA had completed investigation. SA Krischer noted: \"There remains the training issue regarding the wisdom of an officer stepping in front of a moving vehicle in an effort to arrest the occupants.\" Shooting officer wasn\'t interviewed until May 8, 2008 - seven months after the incident.',0,NULL),('LM90','NA','Man with crowbar accused of breaking into cars shot in the arm','Palm Beach County deputy <NAME> was patrolling a Lake Park neighborhood on a bike when he noticed <NAME> trying to break into a car with a crowbar. Hamilton fled, and when Turpin caught up to him, Hamilton refused orders to drop the crowbar, according to police. He raised the crowbar above his head, and Turpin shot him once in the arm.','2014-08-12','1100 block of Old Dixie Highway','Lake Park','33401','Non-Fatal','',NULL,1,1,'1','Self-initiated','',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM91','NA','Deputy shoots man he said pointed gun at him','Police were called to a Walgreens over a report of an armed robbery, and Palm Beach County deputy <NAME> caught up to the suspect, <NAME>, nearby. Brinson chased him on foot into an alley, where the deputy said Perez-Leon turned and pointed a gun at him. Brinson fired four times, hitting Perez-Leon three times but he survived. Perez-Leon, who was legally drunk, might have been trying to ditch the weapon -- it was found tossed over a backyard fence next to the alley.','2014-05-03','26.607560, -80.062972','Lake Worth','33460','Non-Fatal','',4,3,1,'1','Call','Robbery or robbery alarm',0,'',0,0,0,1,0,0,0,0,0,'Brinson is a problem cop. ',0,NULL),('LM92','','Man who ran stop sign raises gun even though ammo in car, gets shot','Two Boynton Beach officers patrolling in a car together tried to pull over a car after seeing it fail to completely stop at two stop signs. The car pulled into the driveway of a home, and officer <NAME> pulled in behind it and got out, expecting the people in the car to flee. One of the passengers, <NAME>, got out with a gun, and Herny shot him when he said Estime pointed the gun at him. Estime, who survived, had no intention of shooting the officer, however -- he left the ammunition in the car, fearing he would get in trouble for having a loaded weapon.','2014-06-19','450 NW 1st Ave.','Boynton Beach','33435','Non-Fatal','',3,1,1,'1','Traffic stop','',0,'',0,0,0,0,0,0,0,0,0,'Estime never intended to shoot officers - he left the magazine of the gun in the car.',0,NULL),('LM93','','Mentally ill man fights officer at burglary scene, is shot in the head','While at the scene of an apartment burglary, Palm Beach County deputy <NAME> saw someone he had arrested several times before: <NAME>, a mentally ill man who lived next door to the burglarized apartment. Williams asked the burglary victim if someone had broken into her apartment. Cantu told Williams to leave. Nearly two hours later, Williams returned. Cantu followed him inside and told him to get on the floor. Williams instead started fighting with the deputy, and during the struggle Williams grabbed his gun. Cantu fired twice -- the second time into Williams\' head, killing him. The gunshot was so close to Cantu\'s face that the gunpowder burned his eye.','2014-04-07','4803 Orleans Court','West Palm Beach','33415','Fatal','Homicide',2,2,1,'1','Call','Burglary or burglary alarm',0,'',0,0,0,0,0,1,0,0,0,'So was Williams the burglary suspect or not? Family has filed an \"intent to sue.\"',0,NULL),('LM94','','Off-duty cop shoots five times at man armed with wine bottle','Off-duty Palm Beach County deputy <NAME> shot a man while hanging out at his apartment complex pool. Alfonso said he saw a couple performing a \"sex act\" in the complex\'s hot tub pool and told them to leave, which they did. Later, Alfonso went back to the pool to smoke a cigar. The couple returned and confronted him. During the exchange, the man, <NAME>, raised a wine bottle above his head, Alfonso said. The deputy, fearing Ribeiro would hit him, backed up and shot him five times. He survived.','2014-03-29','5500 Pacific Blvd.','Boca Raton','33433','Non-Fatal','',5,5,1,'1','Other','',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM95','','Naked man attacks elderly man, bites teen in the face, lunges at deputies, who kill him ','In a bizarre case, a Palm Beach County deputy shot <NAME>, who was naked and attacked two people before he was killed. Joseph, who had no criminal record and was not on drugs, attacked a 66-year-old man, who fought him off with a bottle opener. Later, Joseph attacked an 18-year-old man, punching him and biting him in the face while the younger man stabbed him with a box cutter. When several deputies arrived, Joseph was still naked, sweaty and bent forward with a \"crazed\" look in his eyes. He pointed toward Sgt. <NAME>, said, \"I want you,\" and lunged forward. Raasch shot him twice, killing him. It\'s still unclear why Joseph went on the rampage.','2014-02-04','26.482564, -80.122305','Delray Beach','33484','Fatal','Homicide',2,2,1,'1','Call','Assault/battery with a gun or other weapon',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM96','','On dead-end street, man starts shooting; deputies return fire, hitting him twice','Police were called after security officers at an apartment complex spotted a man, later identified as <NAME>, with a gun. Joseph got in his car and drove away. Palm Beach County deputies <NAME> and <NAME> spotted the car and followed it down a dead-end street. Although both deputies were in uniform, they were driving an unmarked Jeep Cherokee. Joseph stopped his car and the deputies drove past it and turned around. That\'s when Joseph, who thought a man by the name of <NAME> was after him, got out of his car and started shooting. Joseph said he was shooting into the air; deputies thought he was shooting at them, and they returned fire. Joseph was shot twice. He said he didn\'t know they were police.','2013-11-23','600 block of SW 7th Street','Belle Glade','33430','Non-Fatal','',32,2,2,'1','Call','Person with a gun, knife or other weapon',0,'',0,0,0,0,0,0,0,0,1,'Being seen in police uniforms and vehicles are the best ways to prevent a shooting. Bradshaw: \"When they start firing at deputies that are clearly marked as deputies...\"',0,NULL),('LM97','','Mentally ill veteran points gun at woman, also points gun at deputies; they kill him','<NAME>, a mentally ill veteran, was drinking at a friend\'s house when he pulled out a gun and pointed it at his friend\'s wife, who called 911. After Palm Beach County deputies arrived, Fay came outside and pointed the gun at them. Sgt. <NAME> and <NAME> shot and killed him.','2013-11-18','6823 Camille St.','Boynton Beach','33437','Fatal','Homicide',7,2,2,'1','Call','Person with a gun, knife or other weapon',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('LM98','','SUV passenger points AK-47 at officer; officer kills him','West Palm Beach police were called to a drive-by shooting that left a woman wounded. When officer <NAME> arrived, witnesses said the shooter was in a blue SUV. Nebbeling found the SUV nearby and pursued it until it crashed. The driver got out and ran, the front passenger got out and immediately got on the ground and the backseat passenger, <NAME>, got out with an AK-47. Nebbeling said Polen pointed the gun at him, Nebbeling he fired several times, killing him. The AK-47 was the same gun used in the drive-by shooting.','2013-10-26','1300 block of Parker Avenue','West Palm Beach','33401','Fatal','Homicide',NULL,NULL,1,'1','Call','Assault/battery with a gun or other weapon',0,'',0,0,0,0,1,0,0,0,0,'',0,NULL),('LM99','','Just kill me\': Man who fatally shot wife reaches for handgun; officer kills him','<NAME> shot and killed his wife on A1A following months of a contentious divorce. Boca Raton officer <NAME> arrived at the scene and told Burlakoff to get on the ground. Burlakoff did so, then looked up and asked, \"Where\'s your backup?\" Then, \"Just kill me.\" He reached into his waistband for his handgun and Cohen fired several times, killing him.','2013-10-20','900 S. Ocean Blvd.','Boca Raton','33432','Fatal','Homicide',8,4,1,'1','Call','Family or domestic disturbance',1,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('MM1','','Man points BB gun at Martin deputy, who fires five times, grazing the suspect','Martin County deputy Angelo Minella Jr. went to investigate a domestic disturbance call between two men: <NAME> and his boyfriend, <NAME>. When he arrived at the house, Hebert was holding a BB gun modified to look like a rifle. Hebert pointed the gun at Minella and ran out of the front door. Minella shot at Hebert and missed. Hebert ran next door where two men were remodeling a house and then into the woods. He still had the gun raised, so Minella shot at him again. Minella pursued Hebert, firing a total of five shots, grazing him at least once. He then arrested him.','2005-02-27','1168 N.E. Cardinal Ave., near Baker Rd.','Stuart','34994','Non-Fatal','',5,1,1,'1','Call','Family or domestic disturbance',1,'',0,0,0,1,0,0,0,0,0,'This information was compiled from news stories. There are discrepancies regarding address location and also the amount of times Hebert was grazed by a bullet (2 times in earlier stories, 1 time in later story about Herbert\'s appeal.)',0,NULL),('MM2','','FBI kills man in sting on firearms','Four armed men went to a warehouse in West Palm Beach to rob a drug dealer of his cocaine. Unbeknownst to them, the operation was a combo WPB/FBI sting to get dangerous weapons off WPB streets. Feeling threatened when the men holding guns tried to run when they were ordered to stop, the FBI SWAT team members shot and killed one man and shot and wounded two other men. One man who remained in the car, fled the scene, crashed and was apprehended by police.','2008-07-01','1100 Okeechobee Rd.','West Palm Beach','33401','Fatal','',NULL,NULL,NULL,'3','Other','',0,'',0,0,0,1,0,0,0,0,0,'',0,NULL),('MM3','','Police shoot into car after teen rams them','Riviera Beach police stopped a stolen white, two-door Ford Escort. Officers say when they approached, <NAME>, a 17-year-old driving the car, tried to run them over and struck one of their cruisers. Officers <NAME> and <NAME> opened fire on Hall and two other teens in the car. Hall survived a shot to the ankle. He was charged with two counts of aggravated assault with a motor vehicle, grand theft and possession of cocaine. ','2003-04-08','1600 block of West 26th Court','Riviera Beach','33404','Non-Fatal','',NULL,NULL,2,'1','Traffic stop','',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('MM4','','','Riviera Beach police officer <NAME> was investigating a burglary when she walked into a back yard at 3115 Ave. F. Colbert was started by a rottweiler in the next yard (3107 Ave. F) and fired two shots at the dog. One bullet ricocheted, striking next door neighbor, <NAME> in his jaw as he walked into his yard to check on why the dog was barking. Colbert was put on paid leave.','2001-01-11','3107 Avenue F','Riviera Beach','33404','Non-Fatal','',2,1,1,'1','Call','Burglary or burglary alarm',0,'',0,0,0,0,0,0,0,0,0,'',0,NULL),('MM5','','','<NAME> robbed a Royal Palm Beach Walgreens of more than 300 OxyContin pills. As he fled, he pulled out a pistol and aimed it at Royal Palm Beach Police Sgt. <NAME>. Murphy then fired two shots into the driver\'s door of Mann\'s 1986 Oldsmobile, but Mann escaped uninjured. Mann was later caught and charged with armed robbery, aggravated assault on an officer, resisting arrest with violence and willfully fleeing. ','2003-01-06','12001 Southern Blvd','Royal Palm Beach','33470','No injuries','',2,0,1,'1','Call','Robbery or robbery alarm',0,'',0,1,0,0,1,0,0,0,0,'',0,NULL),('MM6','','','<NAME>, 15, a former Lake Worth Middle School student, went to the school to pick up his girlfriend. While he was waiting outside, the school\'s principal, <NAME>, asked Ramos why he was there and radioed school police officer <NAME>. Ramos fled, striking Austin as he approached in a golf cart. Hatcher and a police aide were nearby and had to jump out of the way to avoid being hit by Ramos. That\'s when Austin fired three shots at the truck and missed. Ramos was later caught and charged with three counts of attempted murder. He was sentenced to four years in prison.','2005-11-08','1300 Barnett Dr','Lake Worth','33461','No injuries','',3,0,1,'3','Other','Other',0,'',0,1,0,0,1,0,0,0,0,'',0,NULL),('MM7','','','<NAME> lost control of his truck and crashed near a shopping plaza in Palm Beach Gardens. When officers <NAME> and <NAME> arrived at the scene, Ripma refused to get out of the truck, so Guillen smashed a window. Ripma then grabbed Rigney\'s gun and it went off during the scuffle, striking Ripma\'s truck. Ripma fled, but was caught by Sgt. <NAME> and a witness. Guillen suffered a head injury and Corrao hurt a shoulder. Policearrested Ripma on charges of battery on an officer, resisting an officer with violence, obstructing police by depriving an officer of the means of protection, possession of cocaine and possession of narcotic equipment.','2007-06-30','8900 N Military Trail','Palm Beach Gardens','33410','Non-Fatal','',NULL,NULL,NULL,'','','',0,'',0,1,1,0,0,0,0,0,0,'',0,NULL),('MQ1','','DEA drug buy gone bad, suspect killed','U.S. Drug Enforcement agent <NAME> was making an undercover drug buy in Fort Pierce when <NAME> and several other men surrounded his car and became belligerent. Uhl chased Daughtry and shot him dead from less than a foot away as the two struggled.','2000-05-07','317 N. 13th St.','Fort Pierce','34950','Fatal','Homicide',NULL,NULL,1,'1','Other','',0,'',0,0,0,1,0,1,0,0,0,'',0,NULL),('MQ2','','Shootout in West Palm leaves suspect dead','West Palm Beach police officer <NAME> spotted <NAME> riding a bicycle the officer believed had been reported stolen. After Brown refused Barquin\'s order to stop, the two scuffled and Barquin shot his Taser. Brown pulled a semiautomatic handgun from his waistband and fired at Barquin, who returned fire, shooting and killing Brown.','2014-08-23','500 block of 15th Street','West Palm Beach','33401','Fatal','Homicide',9,3,1,'1','Investigation','Other',0,'Taser',0,0,0,0,0,0,0,0,0,'',0,NULL),('MQ3','','Carjacking suspect shot by Boca officer','Boca Raton officer <NAME> shot carjacking suspect <NAME> after a violent struggle. In response to public record requests, police did not provide an official report of the incident.','2013-03-08','4000 block of Military Trail','Boca Raton','33431','Fatal','Homicide',NULL,2,1,'1','Call','Stolen vehicle',0,'Taser',0,0,0,0,0,0,0,0,0,'',0,NULL); /*!40000 ALTER TABLE `incidents` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `officerIncidentMap` -- DROP TABLE IF EXISTS `officerIncidentMap`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `officerIncidentMap` ( `incidentId` varchar(255) NOT NULL, `officerId` int(11) NOT NULL, `agency` varchar(255) DEFAULT NULL, `agencyId` varchar(255) DEFAULT NULL, `officerAssignment` varchar(255) DEFAULT NULL, `PBSODistrict` varchar(255) DEFAULT NULL, `shotsfired` varchar(255) DEFAULT NULL, `weapon` varchar(255) DEFAULT NULL, `injuries` varchar(255) DEFAULT NULL, `DisciplinaryAction` varchar(255) DEFAULT NULL, `rank` varchar(255) DEFAULT NULL, `wasOffDuty` tinyint(1) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `officerIncidentMap` -- LOCK TABLES `officerIncidentMap` WRITE; /*!40000 ALTER TABLE `officerIncidentMap` DISABLE KEYS */; INSERT INTO `officerIncidentMap` VALUES ('LM1',248,'Boynton Beach PD','','','','18','Handgun','Shot','','Officer/Deputy',0),('LM1',209,'Boynton Beach PD','','','','14','Handgun','','','Officer/Deputy',0),('KL1',283,'Lantana PD','777','','','4','Handgun','','','Officer/Deputy',0),('LM2',314,'Boynton Beach PD','','Canine','','3','Handgun','Shot','','Officer/Deputy',0),('KL2',173,'Jupiter PD','','Traffic (motorcycle)','','8','Handgun','','terminated','Officer/Deputy',0),('KL3',280,'Jupiter PD','','','','1','Handgun','','letter or reprimand; remedial training in safe weapon handling','Sergeant',0),('KL4',267,'Jupiter PD','','','','1','Handgun','','letter of reprimand','Officer/Deputy',1),('KL5',77,'Jupiter PD','','','','1','Handgun','','officer advisory report and remedial training','Officer/Deputy',0),('LM3',284,'Boynton Beach PD','885','','','1','Handgun','','','Officer/Deputy',0),('LM4',197,'Boynton Beach PD','864','','','12','Handgun','','','Officer/Deputy',0),('LM4',12,'Boynton Beach PD','848','','','6','Rifle','','','Officer/Deputy',0),('LM4',65,'Boynton Beach PD','731','','','12','Rifle','','','Sergeant',0),('LM4',62,'Boynton Beach PD','','','','16','','','','Sergeant',0),('LM5',145,'Florida Highway Patrol','','','','','Handgun','','','Lieutenant',0),('KL6',347,'Palm Beach Gardens PD','','Patrol','','','Rifle','','','Sergeant',0),('LM6',140,'Delray Beach PD','','SWAT','','1','Rifle','','','Sergeant',0),('KL7',284,'Boynton Beach PD','885','Patrol','','6','Rifle','','','Officer/Deputy',0),('KL7',30,'Boynton Beach PD','886','Patrol','','12','Handgun','','','Officer/Deputy',0),('LM7',48,'Delray Beach PD','949','Narcotics','','1','Handgun','','Written reprimand','Officer/Deputy',0),('KL7',177,'Boynton Beach PD','881','Patrol','','5','Handgun','','','Officer/Deputy',0),('KL6',108,'Palm Beach Gardens PD','','Patrol','','unknown','Rifle','','','Officer/Deputy',0),('LM8',259,'Delray Beach PD','976','Patrol','','1','Handgun','','Written reprimand','Officer/Deputy',0),('LM9',344,'Delray Beach PD','','','','1','Handgun','Struck by vehicle','Written reprimand','Detective',0),('DC1',124,'Boynton Beach PD','','Patrol','','10','Handgun','','Address Training','Officer/Deputy',0),('DC1',71,'Boynton Beach PD','','Patrol','','1','Handgun','','Address Training','Officer/Deputy',0),('DC2',125,'Boynton Beach PD','','','','5','Handgun','','','Sergeant',1),('DC3',208,'Boynton Beach PD','','Patrol','','11','Handgun','','None','Officer/Deputy',0),('KL8',306,'PBSO','7775','Patrol','','2','Handgun','','','Officer/Deputy',0),('KL9',296,'St. Lucie County SO','264','Patrol','','','Handgun','','','Officer/Deputy',0),('KL9',28,'St. Lucie County SO','440','Criminal Apprehension Team','','','Handgun','','','Detective',0),('KL9',41,'St. Lucie County SO','351','Patrol','','','Handgun','','','Officer/Deputy',0),('KL10',302,'St. Lucie County SO','229','Traffic (motorcycle)','','3','Handgun','','','Officer/Deputy',1),('KL11',16,'St. Lucie County SO','','Robbery','','1','Handgun','','','Officer/Deputy',0),('KL12',129,'St. Lucie County SO','208','Narcotics','','1','Handgun','','','Officer/Deputy',0),('KL13',43,'Port St. Lucie PD','176','Robbery','','3','Handgun','','','Detective',0),('KL14',230,'St. Lucie County SO','314','Gangs','','','Handgun','','','Detective',0),('KL14',134,'Fort Pierce PD','','Gangs','','','Handgun','','','Officer/Deputy',0),('KL15',272,'Port St. Lucie PD','','Narcotics','','1','Handgun','','','Officer/Deputy',0),('KL15',286,'St. Lucie County SO','','Narcotics','','1','Handgun','','','Detective',0),('KL15',235,'St. Lucie County SO','','Narcotics','','1','Handgun','','','Officer/Deputy',0),('KL16',199,'Boynton Beach PD','702','Patrol','','5','Handgun','','','Officer/Deputy',0),('LM10',132,'Boca Raton PD','','','','','Handgun','','','Officer/Deputy',0),('LM10',97,'Boca Raton PD','','','','','Handgun','','','Sergeant',0),('LM11',202,'Greenacres PD','','Patrol','','1','Shotgun','','','Officer/Deputy',0),('KL17',300,'PBSO','5824','Narcotics','district 1','2','Handgun','','','Officer/Deputy',0),('LM12',293,'PBSO','','','','','Rifle','','','Sergeant',0),('KL18',198,'PBSO','8236','Patrol','','4','Handgun','','','Officer/Deputy',0),('LM13',38,'PBSO','3161','','','1','','','','Lieutenant',0),('KL19',249,'PBSO','9167','Patrol','','5','Handgun','','','Officer/Deputy',0),('KL19',86,'PBSO','9134','Patrol','','4','Handgun','','','Officer/Deputy',0),('LM14',275,'PBSO','4356','Patrol','District 13 - Belle Glade','1','Handgun','','','Corporal',0),('LM15',143,'West Palm Beach PD','1510','Patrol','','3','Handgun','','','Officer/Deputy',0),('LM16',185,'PBSO','2522','','','1','Rifle','','','Lieutenant',0),('LM17',88,'West Palm Beach PD','1112','','','7','Handgun','','','Officer/Deputy',0),('LM18',55,'PBSO','2777','SWAT','','','','','','Officer/Deputy',0),('LM18',318,'PBSO','','SWAT','','','','','','',0),('LM19',188,'PBSO','4647','','','1','Shotgun','','','Corporal',0),('LM20',215,'PBSO','3444','Corrections','','2','Handgun','','training','Sergeant',0),('LM21',264,'PBSO','','','','3','','','','Officer/Deputy',0),('LM22',78,'Riviera Beach PD','4606','','','1','Handgun','','','Detective',0),('LM23',123,'Delray Beach PD','','','','3','Handgun','','','Officer/Deputy',0),('LM23',83,'Delray Beach PD','','','','1','Handgun','','','Sergeant',0),('LM24',18,'PBSO','6728','SWAT','','','Handgun','','','Officer/Deputy',0),('LM25',122,'PBSO','3950','','','1','Handgun','','','Officer/Deputy',0),('LM26',44,'PBSO','6459','','District 7 - Boca Raton','3','Handgun','','','Corporal',0),('LM27',99,'Port St. Lucie PD','','Narcotics','','1','Handgun','Struck by vehicle','','Detective',0),('LM28',98,'PBSO','','','','1','Handgun','','','Officer/Deputy',0),('LM29',17,'PBSO','4051','','','1','Shotgun','','','Captain and above',0),('LM29',317,'PBSO','6989','Patrol','District 1 - West Palm Beach','','Handgun','','','Officer/Deputy',0),('LM30',276,'PBSO','7590','','District 10 - Lake Park','1','Handgun','','','Officer/Deputy',0),('KL20',160,'PBSO','8304','Patrol','','5','Handgun','','','Officer/Deputy',0),('LM32',20,'Port St. Lucie PD','','SWAT','','1','Handgun','','','Detective',0),('LM33',345,'PBSO','3388','','','5','Handgun','','','Officer/Deputy',0),('LM33',110,'PBSO','7510','Patrol','District 7 - Boca Raton','4','Handgun','','','Officer/Deputy',0),('LM33',180,'PBSO','7377','Patrol','District 7 - Boca Raton','7','Rifle','','','Officer/Deputy',0),('LM33',3,'Boca Raton PD','599','Canine','','14','Handgun','','','Officer/Deputy',0),('KL21',155,'Port St. Lucie PD','376','SWAT','','','Handgun','','','Sergeant',0),('KL21',350,'Port St. Lucie PD','454','SWAT','','','Rifle','','','Officer/Deputy',0),('KL21',174,'Port St. Lucie PD','467','SWAT','','','Rifle','','','Detective',0),('KL22',111,'PBSO','7531','Patrol','','11','Handgun','','','Officer/Deputy',0),('LM34',168,'PBSO','7321','Patrol','District 3 - North Palm','','Handgun','','','Officer/Deputy',0),('LM35',85,'Riviera Beach PD','','','','1','Handgun','','','Officer/Deputy',1),('KL23',157,'PBSO','5483','Canine','','16','Handgun','','','Officer/Deputy',0),('KL23',266,'PBSO','8060','Patrol','','1','Shotgun','','','Officer/Deputy',0),('KL23',34,'PBSO','2848','Patrol','','18','Rifle','Shot','','Lieutenant',0),('LM31',33,'PBSO','7306','','','','','','','Officer/Deputy',0),('LM31',312,'PBSO','3731','','District 3 - North Palm','','','','','Officer/Deputy',0),('LM31',224,'PBSO','5250','','District 3 - North Palm','','','','','Corporal',0),('LM36',120,'PBSO','6223','SWAT','','1','Rifle','','','Officer/Deputy',0),('KL24',89,'PBSO','5186','Patrol','','1','Handgun','','','Corporal',0),('KL24',334,'PBSO','6942','Patrol','','15','Rifle','','','Officer/Deputy',0),('KL24',63,'PBSO','8285','Patrol','','5','Rifle','','','Officer/Deputy',0),('KL24',106,'PBSO','6985','Patrol','','5','Handgun','','','Officer/Deputy',0),('LM37',311,'PBSO','5239','Traffic (motorcycle)','','5','Handgun','','','Officer/Deputy',0),('KL24',21,'PBSO','9549','','','3','Handgun','','','Detective',1),('LM38',95,'Okeechobee County SO','','','','2','Handgun','','','Corporal',0),('KL25',68,'PBSO','','','','4','Handgun','','','Sergeant',0),('LM39',258,'West Palm Beach PD','806','','','1','Handgun','','','Sergeant',0),('KL26',131,'Riviera Beach PD','5756','Canine','','4','Handgun','','','Officer/Deputy',0),('KL26',69,'Riviera Beach PD','4564','Patrol','','3','Shotgun','','','Sergeant',0),('KL27',201,'West Palm Beach PD','1794','Patrol','','','Handgun','Shot','','Officer/Deputy',0),('KL27',226,'West Palm Beach PD','1882','Patrol','','2','Handgun','','','Officer/Deputy',0),('KL28',121,'PBSO','6491','Canine','','5','Handgun','','','Officer/Deputy',0),('LM41',164,'PBSO','6276','','District 7 - Boca Raton','1','Handgun','','','Officer/Deputy',0),('LM42',313,'PBSO','2500','Canine','','14','Handgun','','','Officer/Deputy',0),('LM42',319,'PBSO','5472','','District 4 - Delray Beach','2','Shotgun','','','Sergeant',0),('LM42',96,'PBSO','8015','Patrol','District 4 - Delray Beach','14','Handgun','','','Officer/Deputy',0),('LM42',325,'PBSO','7879','Patrol','District 12 - Pahokee','1','Shotgun','','','Officer/Deputy',0),('LM40',275,'PBSO','4356','Patrol','District 3 - North Palm','2','Handgun','','','Sergeant',0),('LM43',154,'West Palm Beach PD','937','','','3','Handgun','','','Sergeant',1),('LM44',214,'PBSO','','','','16','Handgun','','','Officer/Deputy',0),('LM44',76,'PBSO','','','','24','Rifle','','','Captain and above',0),('LM44',8,'PBSO','','','','21','Handgun','','','Officer/Deputy',0),('LM44',206,'PBSO','','','','6','Handgun','','','Officer/Deputy',0),('LM44',287,'PBSO','','','','2','Handgun','','','Officer/Deputy',0),('LM44',116,'PBSO','','','','','','','','',0),('LM44',252,'PBSO','','Canine','','40','Handgun','','','Officer/Deputy',0),('LM44',234,'PBSO','','','','13','Handgun','','','Sergeant',0),('LM44',100,'PBSO','','','','','','','','Officer/Deputy',0),('LM44',299,'PBSO','','','','21','Handgun','','','Officer/Deputy',0),('LM44',40,'PBSO','','','','20','Handgun','','','Officer/Deputy',0),('LM44',11,'PBSO','','','','10','Rifle','','','Detective',0),('LM44',25,'PBSO','','','','19','Handgun','','','Officer/Deputy',0),('LM44',333,'PBSO','','','','','','','','Officer/Deputy',0),('LM44',323,'PBSO','','','','13','Handgun','','Endangering others through neglect of duty','Detective',0),('LM44',167,'PBSO','','','','','','','','Officer/Deputy',0),('LM44',64,'PBSO','','','','23','Handgun','','','Sergeant',0),('LM44',80,'PBSO','','','','8','Handgun','','','Detective',0),('LM44',346,'PBSO','','Canine','','','','','','Officer/Deputy',0),('LM44',352,'Boynton Beach PD','','','','','','','','Officer/Deputy',0),('LM44',104,'Boynton Beach PD','','','','','','','','Officer/Deputy',0),('LM44',82,'Boynton Beach PD','','','','','','','','Officer/Deputy',0),('LM45',51,'Boynton Beach PD','849','','','3','Handgun','','','Officer/Deputy',0),('LM45',329,'Boynton Beach PD','768','','','2','Handgun','','','Officer/Deputy',0),('KL29',102,'PBSO','5381','Patrol','','2','Shotgun','','','Sergeant',0),('KL29',27,'PBSO','12461','Patrol','','4','Handgun','','','Officer/Deputy',0),('KL29',299,'PBSO','','','','4','Rifle','','','Officer/Deputy',1),('KL30',35,'PBSO','7352','Patrol','','5','Handgun','','','Officer/Deputy',0),('KL31',23,'PBSO','8389','Patrol','District 9- Royal Palm Beach','2','Handgun','','','Officer/Deputy',0),('KL32',334,'PBSO','6942','Patrol','','1','Handgun','','','Officer/Deputy',0),('LM46',343,'Riviera Beach PD','','','','1','Handgun','','','Detective',0),('LM47',283,'Lantana PD','777','Traffic (motorcycle)','','1','Handgun','','','Officer/Deputy',0),('LM48',113,'West Palm Beach PD','1479','Patrol','','6','Handgun','','','Officer/Deputy',0),('LM49',273,'West Palm Beach PD','992','Traffic (motorcycle)','','','Handgun','Struck by vehicle','','Officer/Deputy',0),('LM49',351,'West Palm Beach PD','1673','Patrol','','','Handgun','','','Officer/Deputy',0),('LM50',192,'Boca Raton PD','','','','3','Handgun','','','Sergeant',0),('LM51',6,'Riviera Beach PD','','','','1','Handgun','','','Officer/Deputy',0),('LM51',305,'Riviera Beach PD','','','','4','Handgun','','','Officer/Deputy',0),('LM52',146,'PBSO','7655','Patrol','District 4 - Delray Beach','1','Handgun','','','Officer/Deputy',0),('LM54',156,'PBSO','4822','Patrol','District 9 - Royal Palm Beach','2','Handgun','','','Corporal',1),('LM54',130,'PBSO','4515','Patrol','District 1 - West Palm Beach','2','Handgun','','','Sergeant',0),('LM54',304,'PBSO','7953','Patrol','District 1 - West Palm Beach','2','Handgun','','','Officer/Deputy',0),('LM54',57,'PBSO','4219','','District 4 - Delray Beach','4','Handgun','','','Detective',0),('LM54',321,'PBSO','8063','Patrol','District 1 - West Palm Beach','6','Handgun','','','Officer/Deputy',0),('KL33',250,'PBSO','9167','Patrol','','','Handgun','','','Officer/Deputy',0),('LM53',236,'West Palm Beach PD','1591','Patrol','','3','Handgun','Beaten','','Officer/Deputy',0),('KL34',207,'Riviera Beach PD','5419','Patrol','','1','Handgun','','','Officer/Deputy',0),('LM55',247,'PBSO','7452','','District 3 - North Palm','1','Handgun','','','Officer/Deputy',0),('LM55',196,'PBSO','7944','','District 3 - North Palm','3','Handgun','','','Officer/Deputy',0),('LM55',237,'PBSO','7930','','District 1 - West Palm Beach','17','Handgun','','','Officer/Deputy',0),('LM55',294,'Boynton Beach PD','790','Canine','','12','Handgun','','','Officer/Deputy',0),('KL35',263,'PBSO','6673','Corrections','','2','Handgun','','','Officer/Deputy',0),('LM56',203,'PBSO','8287','Patrol','District 1 - West Palm Beach','1','Handgun','','','Officer/Deputy',0),('KL36',307,'West Palm Beach PD','1552','Patrol','','1','Handgun','','','Officer/Deputy',0),('LM57',324,'Riviera Beach PD','105','','','6','Handgun','','','',0),('LM58',290,'Riviera Beach PD','','','','1','Handgun','','','Lieutenant',0),('LM58',58,'Riviera Beach PD','','','','1','Handgun','','','Lieutenant',0),('KL37',320,'PBSO','','Patrol','','1','Rifle','','','Officer/Deputy',0),('KL38',148,'West Palm Beach PD','1770','Patrol','','1','Handgun','','','Officer/Deputy',0),('LM59',340,'Boynton Beach PD','','SWAT','','2','Handgun','','','Sergeant',0),('LM60',297,'West Palm Beach PD','1550','Patrol','','2','Handgun','','','Officer/Deputy',0),('LM61',243,'West Palm Beach PD','1663','Patrol','','5','Handgun','','','Officer/Deputy',0),('LM62',87,'PBSO','7718','','District 1 - West Palm Beach','4','Handgun','','','Officer/Deputy',0),('LM62',237,'PBSO','7930','','District 1 - West Palm Beach','10','Handgun','','','Officer/Deputy',0),('LM63',166,'Riviera Beach PD','4098','','','6','Handgun','','','Officer/Deputy',0),('LM64',93,'Riviera Beach PD','','','','9','Handgun','','','Corporal',0),('LM64',194,'Riviera Beach PD','','','','3','Handgun','','','Officer/Deputy',0),('LM65',109,'PBSO','6475','','','3','Handgun','','','Officer/Deputy',0),('LM66',91,'PBSO','6638','','District 4 - Delray Beach','1','Handgun','','','Officer/Deputy',0),('LM66',310,'PBSO','7741','','','7','Handgun','Struck by vehicle','','Officer/Deputy',0),('LM67',242,'Florida Highway Patrol','','Patrol','','1','Handgun','','80-hour suspension','Officer/Deputy',0),('LM68',231,'PBSO','8212','Patrol','District 1 - West Palm Beach','8','Handgun','Stabbed himself','','Officer/Deputy',0),('LM69',166,'Riviera Beach PD','','','','1','Handgun','','','Officer/Deputy',1),('LM70',23,'PBSO','8389','Patrol','District 9 - Royal Palm Beach','4','Handgun','','','Officer/Deputy',0),('LM71',14,'PBSO','8011','Patrol','District 10 - Lake Park','7','Handgun','','','Officer/Deputy',0),('KL39',257,'PBSO','8079','','','5','Handgun','','','Officer/Deputy',1),('KL40',182,'West Palm Beach PD','1740','Patrol','','1','Handgun','','','Officer/Deputy',0),('KL41',141,'Boca Raton PD','675','Patrol','','2','Handgun','','','Officer/Deputy',0),('KL42',277,'PBSO','8062','Criminal Apprehension Team','District 3 - North Palm','1','Handgun','','','Officer/Deputy',0),('LM72',175,'PBSO','6170','Canine','','5','Handgun','','','Corporal',0),('LM73',163,'PBSO','6510','Patrol','District 13 - Belle Glade','','Handgun','','','Officer/Deputy',1),('LM74',274,'Riviera Beach PD','4660','','','1','Handgun','Struck by vehicle','','Corporal',0),('LM75',70,'West Palm Beach PD','1492','','','5','Handgun','','','Officer/Deputy',0),('LM76',225,'PBSO','3172','Patrol','District 4 - Delray Beach','6','Handgun','','','Sergeant',0),('LM76',127,'PBSO','8230','Patrol','District 4 - Delray Beach','1','Shotgun','','','Officer/Deputy',0),('LM77',81,'PBSO','7454','','','3','Handgun','','','Officer/Deputy',0),('LM77',247,'PBSO','7452','Violent crimes/Homicide','','1','Handgun','','','Corporal',0),('LM78',60,'Florida Highway Patrol','','','','6','Handgun','','','Officer/Deputy',0),('LM79',142,'PBSO','','','','1','Handgun','','','Captain and above',1),('KL43',274,'Riviera Beach PD','unknown','','','unknown','','','','Officer/Deputy',1),('KL44',101,'PBSO','8402','Patrol','District 9 - Royal Palm Beach','6','Handgun','','','Officer/Deputy',0),('KL45',254,'PBSO','8355','Patrol','','unknown','Handgun','','','Officer/Deputy',0),('LM80',309,'PBSO','6342','Canine','','2','Handgun','','','Corporal',0),('LM80',346,'PBSO','6178','Canine','','1','Handgun','','','Corporal',0),('LM80',186,'PBSO','2522','','','1','Rifle','','','Lieutenant',0),('KL46',95,'Okeechobee County SO','','Narcotics','','4','Rifle','','','Corporal',0),('KL47',147,'PBSO','','SWAT','','26?','','','','',0),('LM81',96,'PBSO','8015','Patrol','District 6 - Western Boynton Beach','1','Handgun','','','Officer/Deputy',0),('LM82',262,'Riviera Beach PD','','','','1','Handgun','Beaten','','Officer/Deputy',0),('KL48',339,'Boca Raton PD','','Patrol','','at least 3','Handgun','','','Sergeant',0),('KL49',135,'PBSO','9074','Patrol','','2','Shotgun','','','Sergeant',0),('KL50',213,'PBSO','8483','Patrol','','4','Handgun','','','Officer/Deputy',0),('LM83',200,'PBSO','8237','','','2','Handgun','','','Officer/Deputy',0),('LM83',144,'PBSO','5608','','','5','Handgun','','','Sergeant',0),('LM83',90,'PBSO','8080','','','30','Rifle','','','Officer/Deputy',0),('LM83',220,'PBSO','8485','','','17','Rifle','','','Officer/Deputy',0),('KL51',26,'PBSO','8835','Patrol','','3','Handgun','','','Officer/Deputy',0),('KL52',327,'PBSO','5182','Patrol','','5','Handgun','','','Sergeant',0),('LM84',291,'PBSO','4274','Traffic (motorcycle)','','2','Handgun','','','Officer/Deputy',1),('KL53',343,'Riviera Beach PD','','','','3','Handgun','','','Sergeant',0),('KL53',193,'Riviera Beach PD','','Patrol','','5','Handgun','','','Officer/Deputy',0),('KL54',244,'Riviera Beach PD','','','','1','Handgun','Shot','written warning','Officer/Deputy',1),('KL55',186,'PBSO','2522','','','unknown','Handgun','','','Lieutenant',0),('KL55',73,'PBSO','5281','Patrol','','unknown','Handgun','','','Sergeant',0),('KL55',42,'PBSO','7865','Patrol','','unknown','Handgun','','','Officer/Deputy',0),('KL56',22,'St. Lucie County SO','359','Patrol','','5','Handgun','','','Sergeant',0),('LM85',231,'PBSO','8212','Patrol','District 1 - West Palm Beach','12','Handgun','','','Officer/Deputy',0),('LM86',18,'PBSO','6728','','','1','','','','Officer/Deputy',0),('LM87',179,'PBSO','','','','1','Handgun','','','Officer/Deputy',0),('LM88',281,'PBSO','','','','2','Handgun','','','Sergeant',1),('LM89',36,'PBSO','','','','','Handgun','','','Officer/Deputy',0),('LM90',330,'PBSO','','','','','Handgun','','','Officer/Deputy',0),('LM91',29,'PBSO','','Patrol','','4','Handgun','','','Officer/Deputy',0),('LM92',128,'Boynton Beach PD','','Patrol','','3','Handgun','','','Officer/Deputy',0),('LM93',42,'PBSO','7865','Patrol','','2','Handgun','Burned by gunpowder during scuffle','','Officer/Deputy',0),('LM94',7,'PBSO','8563','','','5','Handgun','','','Officer/Deputy',1),('LM95',241,'PBSO','5543','','','2','Handgun','','','Sergeant',0),('LM96',223,'PBSO','','','District 13 - Belle Glade','16','Handgun','','','Officer/Deputy',0),('LM96',27,'PBSO','','Patrol','District 13 - Belle Glade','16','Handgun','','','Officer/Deputy',0),('LM97',158,'PBSO','','','','','Handgun','','','Officer/Deputy',0),('LM97',135,'PBSO','','','','','Handgun','','','Sergeant',0),('LM98',216,'West Palm Beach PD','1830','','','','Handgun','','','Officer/Deputy',0),('LM99',53,'Boca Raton PD','','','','8','Rifle','','','Officer/Deputy',0),('LM100',209,'Boynton Beach PD','','','','','','Struck by vehicle','','Officer/Deputy',0),('LM100',117,'Boynton Beach PD','','','','','','','','Officer/Deputy',0),('LM100',115,'Boynton Beach PD','','','','','','','','Officer/Deputy',0),('LM101',171,'PBSO','7567','','','','','','','Officer/Deputy',0),('LM102',112,'PBSO','','SWAT','','4','Rifle','','','Officer/Deputy',0),('LM103',126,'West Palm Beach PD','','','','4','Handgun','','','Sergeant',0),('LM103',322,'West Palm Beach PD','','','','3','Handgun','','','Officer/Deputy',0),('LM104',190,'PBSO','9212','','','10','Handgun','','','Officer/Deputy',1),('LM105',332,'PBSO','','','','2','Handgun','','','Officer/Deputy',0),('LM106',114,'FAU PD','','','','2','Handgun','','','Officer/Deputy',0),('LM107',107,'Palm Beach Shores PD','','','','','Handgun','','','Officer/Deputy',0),('LM107',170,'Palm Beach Shores PD','','','','','Handgun','','','Officer/Deputy',0),('LM108',253,'West Palm Beach PD','','Narcotics','','3','Handgun','','','Officer/Deputy',0),('LM108',15,'West Palm Beach PD','','Narcotics','','','','','','Officer/Deputy',0),('LM108',270,'West Palm Beach PD','','Narcotics','','','','','','Officer/Deputy',0),('LM108',271,'West Palm Beach PD','','Narcotics','','','','','','Officer/Deputy',0),('LM108',342,'West Palm Beach PD','','Narcotics','','','','','','Lieutenant',0),('LM109',341,'West Palm Beach PD','','Patrol','','1','Handgun','','','Officer/Deputy',0),('LM110',232,'U.S. Immigration and Customs Enforcement','','','','2','Handgun','','','Officer/Deputy',0),('LM111',172,'Boynton Beach PD','','','','','','','','Detective',0),('LM112',269,'U.S. Marshals Service','','','','','','','','',0),('LM112',46,'U.S. Marshals Service','','','','','','','','',0),('LM112',240,'U.S. Marshals Service','','','','','','','','',0),('LM113',10,'Juno Beach PD','','','','','Handgun','','','Officer/Deputy',0),('LM114',74,'Palm Springs PD','','','','','','','','Officer/Deputy',0),('LM115',228,'PBSO','246482','','','2','Handgun','','','Officer/Deputy',0),('LM116',265,'Palm Springs PD','126','','','3','Handgun','','','Officer/Deputy',0),('KL57',349,'Martin County SO','','Patrol','','2','Handgun','','','Officer/Deputy',0),('LM117',303,'Lake Worth','','','','3','Handgun','','','Officer/Deputy',0),('LM118',72,'Palm Springs PD','','','','','','','','Officer/Deputy',0),('KL58',288,'Martin County SO','','Patrol','','Unknown','Handgun','','','Officer/Deputy',0),('KL58',210,'Martin County SO','','Patrol','','Unknown','Handgun','','','Officer/Deputy',0),('LM119',79,'FAU PD','','','','2','Handgun','','','Officer/Deputy',0),('LM120',289,'Atlantis PD','','','','1','Handgun','','','Officer/Deputy',0),('KL59',338,'Martin County SO','','Patrol','','Unknown','Handgun','','','Officer/Deputy',0),('KL59',279,'Martin County SO','','Patrol','','Unknown','Handgun','','','Officer/Deputy',0),('KL59',335,'Martin County SO','','Patrol','','Unknown','Handgun','','','Officer/Deputy',0),('KL59',268,'Martin County SO','','Patrol','','Unknown','Handgun','','','Officer/Deputy',0),('KL59',24,'Martin County SO','','','','Unknown','Handgun','','','Officer/Deputy',0),('KL60',195,'Stuart PD','','Patrol','','8','Handgun','dragged by subject\'s car','Counseling','Officer/Deputy',0),('KL61',137,'Martin County SO','','Patrol','','2','Handgun','Beaten','','Officer/Deputy',0),('KL62',251,'St. Lucie County SO','','Patrol','','1','Handgun','','','Officer/Deputy',0),('LM121',204,'Lake Worth','','','','3','Handgun','','','Officer/Deputy',0),('LM122',32,'Jupiter PD','','','','1','Handgun','','','Officer/Deputy',0),('LM123',52,'Delray Beach PD','','','','2','Handgun','','','Officer/Deputy',1),('LM124',159,'Delray Beach PD','','','','3','Handgun','','','Officer/Deputy',0),('LM124',61,'Delray Beach PD','','','','13','Handgun','','','Officer/Deputy',0),('LM125',5,'Boca Raton PD','','','','','Handgun','','','Officer/Deputy',0),('LM125',339,'Boca Raton PD','','','','1','Handgun','','','Officer/Deputy',0),('LM126',140,'Delray Beach PD','','Traffic (motorcycle)','','1','Handgun','','','Officer/Deputy',0),('LM127',152,'Belle Glade','525','','','1','Handgun','','','Officer/Deputy',0),('LM128',149,'Lake Worth','','SWAT','','1','Rifle','','','Sergeant',0),('LM129',295,'West Palm Beach PD','','','','1','Handgun','','','Officer/Deputy',0),('KL64',56,'St. Lucie County SO','308','Canine','','Unknown','Handgun','','','Officer/Deputy',0),('KL65',298,'St. Lucie County SO','','Patrol','','1','Handgun','','','Officer/Deputy',0),('KL66',292,'St. Lucie County SO','','Patrol','','2','Handgun','','','Officer/Deputy',0),('KL67',282,'Belle Glade','','Patrol','','3','Handgun','few scratches','','Officer/Deputy',0),('KL68',219,'St. Lucie County SO','','Patrol','','4','Handgun','','','Officer/Deputy',0),('LM130',153,'Delray Beach PD','','','','1','Handgun','Beaten','','Officer/Deputy',0),('LM131',238,'West Palm Beach PD','991','Patrol','','1','Handgun','','','Officer/Deputy',0),('LM132',261,'PBSO','','','','','Handgun','','','Officer/Deputy',0),('LM133',138,'PBSO','9001','Patrol','District 6 - Western Boynton Beach','1','Handgun','','','Officer/Deputy',0),('LM134',227,'PBSO','5416','Patrol','District 9 - Royal Palm Beach','1','Handgun','','','Officer/Deputy',0),('LM135',37,'PBSO','6457','','','2','Handgun','','','Officer/Deputy',0),('LM136',162,'PBSO','8827','','District 3 - North Palm','1','Rifle','','','Officer/Deputy',0),('LM136',34,'PBSO','2847','','','1','Rifle','','','Lieutenant',0),('LM137',45,'PBSO','7859','Patrol','District 1 - West Palm Beach','2','Handgun','','','Officer/Deputy',0),('LM139',245,'PBSO','9208','Patrol','District 1 - West Palm Beach','1','Handgun','','Fired after being arrested','Officer/Deputy',1),('LM140',50,'PBSO','9127','','District 14 - Lake Worth','2','Handgun','','','Officer/Deputy',1),('LM141',337,'PBSO','7874','Patrol','District 4 - Delray Beach','4','Handgun','Shot','','Officer/Deputy',0),('LM142',171,'PBSO','7567','Patrol','District 3 - North Palm','1','Handgun','','','Officer/Deputy',0),('LM143',66,'PBSO','8081','Patrol','District 11 - South Bay','1','Rifle','','retraining','Officer/Deputy',0),('LM144',176,'PBSO','8298','Patrol','District 7 - Boca Raton','1','Handgun','','','Officer/Deputy',0),('LM145',256,'PBSO','8424','Patrol','District 9 - Royal Palm Beach','1','Rifle','','retraining','Officer/Deputy',0),('LM146',187,'PBSO','6693','Violent crimes/Homicide','','1','Handgun','','','Detective',1),('LM147',139,'PBSO','5967','Patrol','District 8 - Wellington','1','Rifle','','','Officer/Deputy',0),('LM148',309,'PBSO','6342','Patrol','District 3 - North Palm','1','','','remedial training','Officer/Deputy',0),('LM149',92,'PBSO','1283','Patrol','District 3 - North Palm','1','Shotgun','','suspension, remedial training','Officer/Deputy',0),('LM150',205,'PBSO','4729','','District 1 - West Palm Beach','4','Handgun','Struck by vehicle','','Officer/Deputy',0),('LM151',278,'PBSO','5320','','','1','Handgun','','','Officer/Deputy',0),('LM152',315,'PBSO','6492','Patrol','District 7 - Boca Raton','1','Handgun','','','Officer/Deputy',0),('LM153',189,'PBSO','4958','','','1','Handgun','','','Sergeant',0),('LM154',136,'PBSO','2461','Corrections','','1','Handgun','','Fired after being arrested','Officer/Deputy',1),('LM155',9,'PBSO','','','','1','Handgun','','','Officer/Deputy',0),('LM156',212,'PBSO','','Patrol','District 3 - North Palm','1','Handgun','','','Corporal',0),('LM157',161,'PBSO','4753','','','','','','','Officer/Deputy',0),('LM158',217,'PBSO','3141','Traffic (motorcycle)','District 6 - Western Boynton Beach','3','Handgun','','','Officer/Deputy',0),('LM159',239,'PBSO','6891','Patrol','District 3 - North Palm','4','Handgun','','','Officer/Deputy',0),('LM160',183,'PBSO','5289','','District 3 - North Palm','','Handgun','','','Sergeant',0),('LM161',73,'PBSO','5281','','District 1 - West Palm Beach','','Handgun','Struck by vehicle','','Sergeant',0),('LM161',326,'PBSO','','','','','Handgun','','','Officer/Deputy',0),('LM162',328,'PBSO','3887','','District 4 - Delray Beach','','','','suspension, demotion','Sergeant',0),('LM163',184,'PBSO','7501','','District 7 - Boca Raton','','','','','Officer/Deputy',0),('LM164',316,'PBSO','3888','','District 3 - North Palm','1','','','','Officer/Deputy',1),('LM165',260,'PBSO','3482','','District 1 - West Palm Beach','1','Handgun','','written reprimand','Officer/Deputy',0),('LM166',169,'West Palm Beach PD','','Traffic (motorcycle)','','1','Handgun','','','Officer/Deputy',0),('LM167',181,'West Palm Beach PD','1363','','','7','Handgun','','','Officer/Deputy',0),('LM168',285,'PBSO','','','','','','','','Officer/Deputy',0),('JE01',31,'PBSO','','Patrol','','2','Handgun','','','Officer/Deputy',0),('JE02',75,'PBSO','','Patrol','District 14 - Lake Worth','1','Handgun','','','Officer/Deputy',0),('MQ1',331,'DEA','','Narcotics','','','Handgun','','','',0),('MQ2',19,'West Palm Beach PD','','Patrol','','','Handgun','','','Officer/Deputy',0),('MQ3',229,'Boca Raton PD','','Patrol','','','Handgun','','','Officer/Deputy',0),('KL69',233,'Stuart PD','','Patrol','','1','Handgun','','','Officer/Deputy',0),('KL70',191,'Stuart PD','','Patrol','','5','Shotgun','','','Officer/Deputy',0),('KL71',353,'Vero Beach PD','','','','several','Handgun','','','Detective',0),('MM2',246,'FBI','','','','','','','','',0),('MM2',84,'FBI','','','','','','','','',0),('MM2',119,'FBI','','','','','','','','',0),('MM2',165,'FBI','','','','','','','','',0),('MM2',308,'FBI','','','','','','','','',0),('MM2',133,'FBI','','','','','','','','',0),('MM2',222,'FBI','','','','','','','','',0),('MM2',336,'FBI','','','','','','','','',0),('MM2',348,'FBI','','','','','','','','',0),('MM2',49,'FBI','','','','','','','','',0),('MM2',221,'FBI','','','','','','','','',0),('MM2',94,'FBI','','','','','','','','',0),('MM2',301,'FBI','','','','','','','','',0),('MM2',150,'FBI','','','','','','','','',0),('MM3',47,'Riviera Beach PD','','','','','','','','Officer/Deputy',0),('MM3',166,'Riviera Beach PD','','','','','','','','Officer/Deputy',0),('MM4',54,'Riviera Beach PD','424','','','2','','','','Officer/Deputy',0),('MM5',211,'Royal Palm Beach PD','426','','','2','','','','Sergeant',0),('KL71',67,'Vero Beach PD','','Patrol','','4','Handgun','','','Lieutenant',0),('KL71',151,'Vero Beach PD','','Patrol','','3 or 4','Handgun','','','Sergeant',0),('KL71',218,'Vero Beach PD','','','','1-4','Handgun','','','Corporal',0),('KL72',39,'Indian River County SO','','Patrol','','1','Handgun','','','Officer/Deputy',0),('MM6',13,'Palm Beach County School District PD','396','','','3','','Struck by vehicle','','',0),('MM7',59,'Palm Beach Gardens PD','397','','','','','Hurt shoulder','','Sergeant',0),('MM7',255,'Palm Beach Gardens PD','397','','','0','Handgun','','','Officer/Deputy',0),('MM7',118,'Palm Beach Gardens PD','397','','','0','','Head injury','','Officer/Deputy',0),('KL73',103,'Indian River County SO','','Patrol','','3','Handgun','','','Officer/Deputy',0),('KL73',4,'Indian River County SO','','Patrol','','5','Handgun','','','Officer/Deputy',0),('KL74',178,'Indian River County SO','1344','Patrol','','','Shotgun','','','Officer/Deputy',0),('KL75',105,'Indian River County SO','','Patrol','','1','Handgun','','','Officer/Deputy',0),('LM29',512,'FBI','','','','','Handgun','','','',0),('LM62',513,'PBSO','','Narcotics','','4','Handgun','','','',0),('LM62',514,'PBSO','','Narcotics','','2','Handgun','','','',0),('LM138',515,'PBSO','','','','3','Handgun','','','Officer/Deputy',0); /*!40000 ALTER TABLE `officerIncidentMap` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `officers` -- DROP TABLE IF EXISTS `officers`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `officers` ( `Id` int(11) NOT NULL AUTO_INCREMENT, `lastName` varchar(255) DEFAULT NULL, `firstName` varchar(255) DEFAULT NULL, `middleName` varchar(255) DEFAULT NULL, `dob` date DEFAULT NULL, `ethnicity` varchar(255) DEFAULT NULL, `gender` varchar(255) DEFAULT NULL, `FDLEID` varchar(255) DEFAULT NULL, PRIMARY KEY (`Id`) ) ENGINE=InnoDB AUTO_INCREMENT=516 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `officers` -- LOCK TABLES `officers` WRITE; /*!40000 ALTER TABLE `officers` DISABLE KEYS */; INSERT INTO `officers` VALUES (3,'Adams','Robert','G.','1977-11-29','White','Male','157942'),(4,'Adamson','Ronald','',NULL,'','Male',''),(5,'Adrian','William','D.','1968-07-05','White','Male','146521'),(6,'Aguirre','Francisco','J.','1973-07-29','Hispanic/Latino','Male','220223'),(7,'Alfonso','Alex','','1984-07-28','Hispanic/Latino','Male','248581'),(8,'Allison','Brian','M.','1980-06-03','White','Male','233202'),(9,'Ammon','Donald','',NULL,'','Male',''),(10,'Andrews','Christopher','J.','1984-07-15','White','Male','243282'),(11,'Archambault','Joseph','W.','1972-07-31','White','Male','152389'),(12,'Arco','Michael','A.','1985-05-03','Hispanic/Latino','Male','237257'),(13,'Austin','Hans','J.','1954-01-03','Black, non-Hispanic/Latino','Male','220204'),(14,'Badala','William','','1971-07-17','White','Male','254414'),(15,'Bales','Douglas','','1971-07-06','White','Male','158170'),(16,'Barker','Steve','H','1958-01-01','White','Male','32710'),(17,'Barnes','Simon','','1963-06-03','Black, non-Hispanic/Latino','Male','52827'),(18,'Barone','John','A.','1972-02-21','White','Male','152700'),(19,'Barquin','Jason','',NULL,'','Male',''),(20,'Beath','Michael','Shane',NULL,'','Male',''),(21,'Bejarano','Rafael','',NULL,'','Male',''),(22,'Bennett','Clarence','','1977-12-24','Black, non-Hispanic/Latino','Male','227656'),(23,'Bethel','Eric','A.','1973-06-18','White','Male','217550'),(24,'Biasella','Anthony','A','1973-09-23','White','Male','120023'),(25,'Blackman','Stuart','A.','1969-12-20','White','Male','126759'),(26,'Boiuso','Ronald','J','1968-02-27','White','Male','293744'),(27,'Booth','Charles','',NULL,'','Male',''),(28,'Brady','John','E','1971-04-02','White','Male','96355'),(29,'Brinson','Russell','',NULL,'White','Male','12535'),(30,'Britto','David','A','1982-10-01','Hispanic/Latino','Male','276023'),(31,'Brookins','Willie','',NULL,'Black, non-Hispanic/Latino','Male',''),(32,'Bruno','Paul','M.','1978-09-16','White','Male','148530'),(33,'Bufano','Andrea','','1967-08-14','White','Female','196450'),(34,'Burdick','Richard','Z.','1961-06-04','White','Male','82309'),(35,'Bush','Reginal','B','1965-06-21','Black, non-Hispanic/Latino','Male','32855'),(36,'Cabrera','Christopher','',NULL,'','Male',''),(37,'Calabro','Steven','','1973-05-03','White','Male','134865'),(38,'Calise','Jeffrey','',NULL,'White','Male','2310'),(39,'Campbell','Kent','D','1965-01-28','White','Male','40672'),(40,'Campbell','Colin','S.','1969-06-14','White','Male','223215'),(41,'Cannon','Jason','E','1971-10-08','White','Male','196843'),(42,'Cantu ','Ernest Jr.','','1972-03-30','Hispanic/Latino','Male','233595'),(43,'Carmichael','Kevan','M','1963-01-23','White','Male','71097'),(44,'Caroscio','Joseph','Mario','1957-01-10','White','Male','150528'),(45,'Carreiro','Jose','V.','1976-04-08','Hispanic/Latino','Male','237319'),(46,'Cata','Danlee','',NULL,'','Male',''),(47,'Chaikin','Karl','Michael','1964-09-24','White','Male','158173'),(48,'Chin','Dave','M.','1976-12-24','Other','Male','231596'),(49,'Clark','Thomas','J.',NULL,'','Male',''),(50,'Clayton','Justin','E.','1982-06-10','Black, non-Hispanic/Latino','Male','271850'),(51,'Coffey','David','L.','1980-11-05','White','Male','224130'),(52,'Cogoni','Darren','M.','1982-01-07','White','Male','219155'),(53,'Cohen','Robert','M.','1984-06-13','White','Male','310516'),(54,'Colbert','Seretha','L','1965-12-19','Black, non-Hispanic/Latino','Female','56074'),(55,'Collister','Michael','L.','1959-10-24','White','Male','39631'),(56,'Colton','Michael','J','1967-05-05','White','Male','37836'),(57,'Combs','Donald','C.','1952-01-02','White','Male','75400'),(58,'Coppin','Robert','E.','1967-04-28','Black, non-Hispanic/Latino','Male','97750'),(59,'Corrao','Joseph','A','1964-09-08','White','Male','5287'),(60,'Coulter','Michael','E.',NULL,'','Male',''),(61,'Cramer','Daniel','E.','1967-12-22','White','Male','112191'),(62,'Crane-Baker','John','L.','1970-07-31','White','Male','112554'),(63,'Crawford','Leonard','L','1968-01-06','White','Male','251349'),(64,'Crossen','Trent','J.','1972-07-18','White','Male','142132'),(65,'Crowell','Henry','F.','1970-08-13','White','Male','93946'),(66,'Curci','Darren','','1977-01-25','White','Male','208600'),(67,'Currey','David','E','1964-12-21','White','Male','15159'),(68,'Custer','Michael','M','1969-07-08','White','Male','73245'),(69,'Dandria','Michael','R','1974-09-03','White','Male','149915'),(70,'Davis','Craig','M.','1972-01-14','White','Male','143402'),(71,'<NAME>','Rayner','','1978-07-07','Hispanic/Latino','Male','228424'),(72,'Dempsey','Brian','','1982-05-24','White','Male','225451'),(73,'Dempsey','Richard','K.','1969-09-12','White','Male','112199'),(74,'DeRogatis','Joseph','M.','1974-04-06','White','Male','218111'),(75,'Desir','Patrick','',NULL,'Black, non-Hispanic/Latino','Male',''),(76,'Diaz','Lauro','E.','1961-09-04','Hispanic/Latino','Male','43069'),(77,'<NAME>','Roberto','','1973-06-10','Hispanic/Latino','Male','263883'),(78,'Dodson','Michael','W.','1972-05-30','White','Male','130717'),(79,'Douglas','Mary','A.','1979-11-10','Black, non-Hispanic/Latino','Female','173134'),(80,'Drake','Robert','C.','1962-02-14','White','Male','90305'),(81,'Drummond','Kevin','W.','1975-12-10','White','Male','194894'),(82,'Dunlop','John','C.','1970-12-25','White','Male','136291'),(83,'Eberhart','David','M.','1962-01-06','White','Male','35745'),(84,'Effley','Michael','T',NULL,'','',''),(85,'Eggers','James','E.','1974-01-22','White','Male','188225'),(86,'Eley','Joshua','P','1980-04-11','White','Male','283540'),(87,'<NAME>','Melvin','J.','1981-12-24','Black, non-Hispanic/Latino','Male','227082'),(88,'Ellis','Anthony','B.','1960-04-27','Black, non-Hispanic/Latino','Male','55938'),(89,'Ellis','Paul','R','1967-04-06','White','Male','64818'),(90,'Escarra','Raul','J.','1970-11-08','Hispanic/Latino','Male','96888'),(91,'Evans','James','K.','1975-02-10','Black, non-Hispanic/Latino','Male','163032'),(92,'Falsia','James','J.','1954-09-28','White','Male','46862'),(93,'Fashaw','Bertram','B.','1969-06-04','Black, non-Hispanic/Latino','Male','105566'),(94,'Fenning','NA','',NULL,'','',''),(95,'Ferrell','Paul','F.','1973-03-12','White','Male','101102'),(96,'Flores','Marco','Y.','1973-09-24','Hispanic/Latino','Male','144707'),(97,'Floyd','Norman','C.','1952-07-30','White','Male','53563'),(98,'Fonseca','Joaquin','','1966-05-30','Hispanic/Latino','Male','13540'),(99,'Fonteyn','Robert','J.','1971-04-17','White','Male','145217'),(100,'Foster','Jarrod','R.','1979-11-20','White','Male','198053'),(101,'Franqui','Jason','M','1978-01-17','Hispanic/Latino','Male','218558'),(102,'Gale','William','C','1962-10-24','White','Male','108586'),(103,'Garner','Roberta','',NULL,'','Female',''),(104,'Garofalo','Gary','','1975-09-25','White','Male','148577'),(105,'Garrison','Ronald','',NULL,'','Male',''),(106,'Gay','Cleveland','D','1968-02-11','White','Male','107715'),(107,'Gilbert','Oscar','',NULL,'','Male',''),(108,'Gitto','Thomas','W','1961-12-17','White','Male','10607'),(109,'Glisson','Dan','E.','1976-12-27','White','Male','151606'),(110,'Goddard','Shawn','A.','1969-07-15','White','Male','128536'),(111,'Goldstein','William','L.','1979-09-04','White','Male','288413'),(112,'Gordon','Shawn','D.','1982-09-23','White','Male','218569'),(113,'Gorski','Keith','R.','1971-05-02','White','Male','127865'),(114,'Grande','Gary','C.','1977-05-07','White','Male','152328'),(115,'Gray','Cory','E.','1984-04-10','Black, non-Hispanic/Latino','Male','231137'),(116,'Grindey','James','E.','1961-11-08','White','Male','168407'),(117,'Griswold','Daniel','W.','1967-06-12','White','Male','87459'),(118,'Guillen','Eduardo','','1973-07-14','Hispanic/Latino','Male','160131'),(119,'Gumbinner','Gavin','',NULL,'','Male',''),(120,'Hansen','Michael','J.','1975-01-05','White','Male','144904'),(121,'Hardy ','Charles Jr.','R','1977-08-28','White','Male','155028'),(122,'Harrell','Anthony','D.','1965-02-24','Black, non-Hispanic/Latino','Male','10411'),(123,'Hart','Joseph','J.','1968-10-29','White','Male','95685'),(124,'Haugh','Connor','',NULL,'White','Male','242792'),(125,'Hawkins','Philip','L','1971-07-13','White','Male','127615'),(126,'Herb','Joseph','M.','1968-05-21','White','Male','10418'),(127,'Hernandez','Phil','F.','1984-04-20','Hispanic/Latino','Male','226580'),(128,'Herny','Cory','',NULL,'','Male',''),(129,'Hester','Brian','W','1971-12-17','White','Male','148290'),(130,'Hightower','James','M.','1968-01-06','White','Male','94342'),(131,'Hoffman','Joseph','K','1968-07-27','White','Male','101054'),(132,'Holland','Paul','M.','1962-08-14','White','Male','124910'),(133,'Hollinger','Paul','',NULL,'','Male',''),(134,'Holmes','Ralph','Keith','1973-11-17','White','Male','167400'),(135,'Honkala','Neil','M.','1965-08-19','White','Male','81265'),(136,'Horne','James','L.','1952-05-12','Black, non-Hispanic/Latino','Male','31516'),(137,'Howard','Jason','','1980-12-18','White','Male','217083'),(138,'Hubert','Martin','','1983-04-16','Black, non-Hispanic/Latino','Male','219625'),(139,'Hudson','Gwendolyn','D.','1974-11-23','Black, non-Hispanic/Latino','Female','159442'),(140,'Jacobson','Richard','L.','1963-05-19','White','Male','89325'),(141,'Jalil Jr.','Jimmy','','1978-09-16','Hispanic/Latino','Male','252235'),(142,'Jenkins','Richard','E.','1954-09-10','White','Male','46017'),(143,'Jenne','Darren','','1976-09-23','White','Male','134676'),(144,'Jimenez','Ramon','G.','1960-05-12','Hispanic/Latino','Male','110912'),(145,'Johnson','Jeffrey','',NULL,'','',''),(146,'Johnson','Michael','G.','1976-02-04','White','Male','169481'),(147,'Jonathan','Wildove','',NULL,'','Male',''),(148,'Jones','Eugene','E',NULL,'Black, non-Hispanic/Latino','Male','250746'),(149,'Kane','Charles','G.','1962-05-08','White','Male','27659'),(150,'Kapfer','NA','',NULL,'','',''),(151,'Karchefski','Jerome','R','1962-09-12','White','Male','63268'),(152,'Keith','Timothy','Lee','1970-08-29','White','Male','115323'),(153,'Kelley','Michael','',NULL,'','Male',''),(154,'Key','Gregory','A.','1960-03-03','Black, non-Hispanic/Latino','Male','68683'),(155,'Kilner','Reece','',NULL,'','Male',''),(156,'Kirkpatrick','William','R.','1970-02-10','White','Male','97521'),(157,'Klaysmat','Richard','J','1967-07-29','White','Male','88456'),(158,'Kneisley','Heather','',NULL,'','Female',''),(159,'Kology','Jeff','T.','1974-05-15','White','Male','165693'),(160,'Kushel','Joshua','S','1981-11-24','White','Male','219263'),(161,'Labounty','Claudia','R.','1950-04-02','White','Female','8798'),(162,'Lamm','Jerry','W.','1972-05-22','White','Male','244195'),(163,'Laroche','Thomas','R.','1971-02-13','White','Male','159807'),(164,'Law','Yun','','1967-08-09','Asian','Male','118946'),(165,'Lawler','Timothy','P',NULL,'','Male',''),(166,'Lee','Roosevelt','R.','1968-09-24','Black, non-Hispanic/Latino','Male','105263'),(167,'Lennertz','Paul','M.','1972-03-29','White','Male','131931'),(168,'Lentini','Nicholas','E.','1979-09-11','White','Male','196990'),(169,'Leonard','John','G.','1959-04-18','White','Male','11717'),(170,'Lerner','Gordon','E.','1958-10-30','White','Male','36442'),(171,'Lin','Adams','','1977-04-08','Asian','Male','176369'),(172,'Llopis','Jason','Paul','1978-03-08','Hispanic/Latino','Male','158131'),(173,'Llyod','Jonathan','D','1968-08-29','White','Male','97107'),(174,'Lodwick','Ryan','',NULL,'','Male',''),(175,'Logsdon','Richard','M.','1972-05-23','White','Male','149237'),(176,'Long','George','R.','1976-05-26','Black, non-Hispanic/Latino','Male','174117'),(177,'Lugo','Raymond','C','1972-09-09','Hispanic/Latino','Male','255755'),(178,'Luther','William','',NULL,'','Male',''),(179,'Mack','Joseph','',NULL,'','Male',''),(180,'Macleod','Dana','M.','1967-09-14','White','Male','113825'),(181,'MacVane','Ian','L.','1970-07-31','White','Male','134681'),(182,'Malta','Christian','T','1981-10-19','White','Male','270542'),(183,'Marks','Kevin','A.','1966-10-03','White','Male','28398'),(184,'Martinez','Jose','R.','1977-05-14','Hispanic/Latino','Male','143035'),(185,'Martinez','Marcos','J.','1966-06-24','Black, non-Hispanic/Latino','Male','57850'),(186,'Martinez','Marcos','J.','1966-06-24','Hispanic/Latino','Male','57850'),(187,'Mastics','George','E.','1965-04-23','White','Male','112181'),(188,'McArdle','William','M.','1962-04-09','White','Male','13421'),(189,'McCann','Timothy','P.','1968-08-04','White','Male','37035'),(190,'McGehee','Joshua','',NULL,'','Male',''),(191,'McGighan','William','T','1976-03-23','White','Male','213496'),(192,'McGovern','Sean','W.','1970-10-23','White','Male','112846'),(193,'McGrif','Cornelius','D','1981-02-10','Other','Male','256706'),(194,'McGriff','Cornelius','D.','1981-02-10','Other','Male','256706'),(195,'McLain','George','','1977-06-26','White','Male','144737'),(196,'McMichael','Sean','C.','1975-02-22','White','Male','228869'),(197,'Medeiros','Matthew','P.','1980-06-03','White','Male','246221'),(198,'Mercier','Daniel','M','1973-01-25','White','Male','253720'),(199,'Merkle','Frederick Jr.','J','1974-08-21','White','Male','116326'),(200,'Miller','Jesse','J.','1980-08-23','White','Male','241568'),(201,'Momirovich','Rade','T','1974-10-18','White','Male','268966'),(202,'Moncelli','Frank','W.','1986-01-17','White','Male','142566'),(203,'Montesino','Sergio','','1974-11-30','Hispanic/Latino','Male','237204'),(204,'Moral','Lonney','T.','1967-12-12','White','Male','106897'),(205,'Morency','Gerard','J.','1971-07-21','White','Male','97083'),(206,'Morgado','Daniel','F.','1973-05-30','Hispanic/Latino','Male','165767'),(207,'Morgan Jr','Everton','Wayne',NULL,'','Male',''),(208,'Muhleisen','William','','1978-02-01','White','Male','179943'),(209,'Munro','Christopher','A.','1984-04-24','White','Male','260302'),(210,'Munsey','Jack','R','1969-09-05','White','Male','128870'),(211,'Murphy','Thomas','E','1961-01-18','White','Male','26965'),(212,'Murray','Sean','P.','1968-06-28','White','Male','96846'),(213,'Nandlal','Ramesh','','1974-08-22','Other','Male','253400'),(214,'Navarro','Victor','N.','1976-09-25','Hispanic/Latino','Male','117647'),(215,'Nealy','Sandra','',NULL,'','Female',''),(216,'Nebbeling','Christopher','L.','1979-02-16','White','Male','248254'),(217,'Nebergall','Carlton','R.','1956-09-17','White','Male','60723'),(218,'Nelson','Terrance','T','1968-12-19','Black, non-Hispanic/Latino','Male','37280'),(219,'Newman','Christopher','Erik','1972-07-05','White','Male','150028'),(220,'Nielsen','Larry','E.','1978-11-16','White','Male','255763'),(221,'Nunez','NA','',NULL,'','',''),(222,'O\'Neil','Johnathan','',NULL,'','Male',''),(223,'Oliver','Corey','B.','1984-02-22','White','Male','263368'),(224,'Ostuni','Todd','D.','1965-01-26','White','Male','106900'),(225,'Otero','Celso','L.','1957-02-27','Hispanic/Latino','Male','68100'),(226,'Padgett','Covelle','',NULL,'Black, non-Hispanic/Latino','Male',''),(227,'Padilla-Rodriguez','Rafael','','1967-08-29','Hispanic/Latino','Male','118533'),(228,'Paone','Ralph','','1978-06-10','Hispanic/Latino','Male','246482'),(229,'Pare','Brian','','1982-02-09','White','Male',''),(230,'Pearson','Keith','','1983-06-07','White','Male','193570'),(231,'Peixoto','Samuel','S.','1970-03-03','Hispanic/Latino','Male','253406'),(232,'Pellot-Soto','Wilson','',NULL,'','Male',''),(233,'Pennachio','Mark','L','1965-05-17','White','Male','178460'),(234,'Penta','Louis','','1970-03-26','White','Male','149456'),(235,'Pettit','Robert','M','1971-06-12','White','Male','138750'),(236,'Phillips','Shawn','M.','1970-09-27','White','Male','139172'),(237,'Piatchek','Joseph','D.','1975-01-19','White','Male','249348'),(238,'Picerno','Gene','','1961-11-17','White','Male','12235'),(239,'Propst','Gerald','','1969-04-08','White','Male','95179'),(240,'Puri','Manny','',NULL,'','Male',''),(241,'Raasch','Richard','A.','1969-08-08','White','Male','114428'),(242,'Radanof','Barry','R.',NULL,'White','Male',''),(243,'Raja','Sanjay','O.','1977-01-14','Other','Male','153856'),(244,'Raja','Adnan','M','1975-04-29','Asian','Male','275703'),(245,'Ramirez','Arturo','','1987-12-31','Hispanic/Latino','Male','297212'),(246,'Regil','Joseph','A',NULL,'','',''),(247,'Reyes','Iris','I.','1979-06-10','Hispanic/Latino','Female','204908'),(248,'Reynolds','Eric','M','1969-10-21','Hispanic/Latino','Male','169045'),(249,'Reza','Ryan','T','1987-04-25','Hispanic/Latino','Male','265690'),(250,'Reza','Ryan','T','1987-04-25','White','Male','265690'),(251,'Rhodes','Brian','K',NULL,'White','Male','162456'),(252,'Richards','Keith','R.','1972-02-11','White','Male','148469'),(253,'Rideau','Gregory','B.','1969-12-31','Black, non-Hispanic/Latino','Male','129419'),(254,'Rieger','Timothy','','1987-02-23','White','Male','306951'),(255,'Rigney','Bethany','Lynne','1973-10-21','White','Female','243047'),(256,'Rivera','Vidal','','1965-03-09','Hispanic/Latino','Male','119231'),(257,'Rivera Jr.','Juvencio','','1978-02-08','Hispanic/Latino','Male','154231'),(258,'Roaf','Kerry','J.','1962-09-17','White','Male','49598'),(259,'Robertson','Roxanne','H.','1972-08-04','Black, non-Hispanic/Latino','Female','224464'),(260,'Robinson','Charles','',NULL,'White','Male',''),(261,'Rosenthal','Evan','',NULL,'White','Male',''),(262,'Rott','Richard','T.','1966-09-26','White','Male','197457'),(263,'Rouse','Latoya','Shakahn','1977-02-01','Black, non-Hispanic/Latino','Female','178240'),(264,'Roussel','Jamie','N.','1971-07-07','White','Male','96400'),(265,'Rua','Douglas','C.','1978-02-15','Hispanic/Latino','Male','142434'),(266,'Rutherford','David','D','1970-10-01','White','Male','247366'),(267,'Salvemini','Michael','','1987-04-20','White','Male',''),(268,'Sanders','James','R',NULL,'White','Male','128876'),(269,'Sandler','Sean','',NULL,'','Male',''),(270,'Santacruz','Augusto','','1980-05-21','Hispanic/Latino','Male','270556'),(271,'Santiago','Thomas','N.','1976-01-20','Hispanic/Latino','Male','142567'),(272,'Santos','Roberto','',NULL,'','Male',''),(273,'Saridakis','Jakovos','','1957-05-12','White','Male','58374'),(274,'Saunders','William','D.','1964-04-17','Black, non-Hispanic/Latino','Male','134319'),(275,'Savage','Dererk','A.','1967-02-27','Black, non-Hispanic/Latino','Male','62590'),(276,'Scerbo','Christian','A.','1977-03-12','White','Male','162115'),(277,'Schumm','Bryan','D','1982-05-24','White','Male','248612'),(278,'Schwab','Scott','','1957-11-01','White','Male','105582'),(279,'Sciandra','Carlo','A','1964-02-17','White','Male','7536'),(280,'Scopelitis','Nikitas','','1966-04-10','White','Male','10063'),(281,'Seigfreid','James','F.','1958-02-14','White','Male','76623'),(282,'Seiler','Harold','A','1974-01-08','White','Male','105735'),(283,'Shackelford','Joel','B.','1968-04-20','White','Male','152320'),(284,'Shane','Chad','M.','1981-07-19','White','Male','267876'),(285,'Shatara','Shatara','','1970-10-01','White','Male','116333'),(286,'Sheelar','Michael','J','1968-06-13','White','Male','12049'),(287,'Siew','Krishna','S.','1970-02-03','White','Male','166110'),(288,'Skowronski','Micah','J','1973-10-04','White','Male','158604'),(289,'Sluman','Richard','A.','1969-11-10','White','Male','69065'),(290,'Smith','Anthony','L.','1961-01-17','Black, non-Hispanic/Latino','Male','42579'),(291,'Smith','Donald','','1959-10-21','Black, non-Hispanic/Latino','Male','62767'),(292,'Smith','Tony','R','1966-11-15','White','Male','136838'),(293,'Smith','Scott','O.','1958-05-26','White','Male','6469'),(294,'Sohn','Mark','J.','1975-07-05','White','Male','170370'),(295,'Spatara','Anthony','J.','1971-09-15','White','Male','116337'),(296,'Speicker','Cory','Lee','1973-07-02','White','Male','127599'),(297,'Spinosa','Raymond','A.','1970-07-20','White','Male','150208'),(298,'Stickney','Ronald','M','2014-03-30','White','Male','28326'),(299,'Stokes','Keith','R.','1984-02-13','White','Male','226438'),(300,'Strivelli','Steven','M','1976-06-16','White','Male','141696'),(301,'Stuart','R.','M.',NULL,'','',''),(302,'Stuhr','Richard','S','1954-04-20','White','Male','66884'),(303,'Stull','Eric','C.','1969-10-08','White','Male','16113'),(304,'Suarez','James','','1969-01-29','Hispanic/Latino','Male','135769'),(305,'Summers','Jeremy','P.','1980-04-24','White','Male','169304'),(306,'Suszczynski','Michael','J','1968-02-24','White','Male','208711'),(307,'Swiderski','Joseph','C',NULL,'White','Male','139376'),(308,'Swinerton','Geoffrey','',NULL,'','Male',''),(309,'Tapia','Peter','','1967-04-11','Hispanic/Latino','Male','154190'),(310,'Tembeckjian','Lorin','H.','1979-04-30','White','','225917'),(311,'Theel','James','R.','1970-06-12','White','Male','94719'),(312,'Thomas','Dwayne','C.','1965-11-10','Black, non-Hispanic/Latino','Male','52775'),(313,'Thomas','Scott','R.','1962-12-13','White','Male','10004'),(314,'Thomas','Robert','L','1959-04-23','White','Male','63633'),(315,'Thomas','Brooke','L.','1972-07-05','Black, non-Hispanic/Latino','Male','106531'),(316,'Thompson','William','F.','1945-10-25','White','Male','29033'),(317,'Thompson','Angela','L.','1976-04-02','White','Female','149914'),(318,'Thompson','Trenton','J.','1971-06-08','White','Male','106906'),(319,'Thornton','Michael','W.','1964-02-23','White','Male','116338'),(320,'Tognacci','Michael ','D',NULL,'White','Male','235968'),(321,'Tognacci','Michael','D.','1983-01-13','White','Male','235968'),(322,'Tomas','Christian','M.','1977-12-08','Hispanic/Latino','Male','283968'),(323,'Tomassi','Ronald','J.','1952-04-05','White','Male','6568'),(324,'Torres','David','J.','1957-11-05','Black, non-Hispanic/Latino','Male','54639'),(325,'Torres','Edgardo','','1961-09-27','Hispanic/Latino','Male','176646'),(326,'Tramonte','Michael','R.','1974-05-01','White','Male','146734'),(327,'Tranchant','Michael','A','1960-01-21','White','Male','80165'),(328,'Trombley','Barry','J.','1959-03-18','White','Male','81163'),(329,'Turco','Charles','','1969-04-29','White','Male','164266'),(330,'Turpin','Matthew','S.','1971-10-28','White','Male','168163'),(331,'Uhl','Brad','',NULL,'','Male',''),(332,'Venner','Valran','O.','1981-07-07','Black, non-Hispanic/Latino','Male','229643'),(333,'Viti','Keith','D.','1976-10-06','White','Male','204937'),(334,'Walton','Thomas','Charles','1972-06-30','White','Male','150317'),(335,'Warren','James','J','1964-03-13','White','Male','65665'),(336,'Waterman','Brian','',NULL,'','Male',''),(337,'Watson','Trevor','R.','1981-05-18','White','Male','213335'),(338,'Weiss','William','R',NULL,'White','Male','79292'),(339,'Wendlick','Shannon','M.','1971-03-24','White','Female','109791'),(340,'Wier','David','S.','1968-07-23','White','Male','93756'),(341,'Williams','Phillip','R.','1962-09-06','Black, non-Hispanic/Latino','Male','13202'),(342,'Wills','Thomas','L.','1961-12-16','White','Male','83346'),(343,'Wilson','Garry','M.','1968-03-04','Black, non-Hispanic/Latino','Male','108476'),(344,'Wintemute','James','W.','1959-07-15','White','Male','14701'),(345,'Withrow','Rob-Roy','','1958-12-11','White','Male','61653'),(346,'Wolf','Christopher','C.','1976-01-24','White','Male','133629'),(347,'Wright','Glenn','','1962-01-03','White','Male','2744'),(348,'Yam','R.','Hilton',NULL,'','',''),(349,'Youngblood','Bryan','J','1967-11-16','White','Male','118461'),(350,'Zamoyski','Adrian','',NULL,'','Male',''),(351,'Zangara','Jason','','1973-05-17','White','Male','170914'),(352,'Zeller','Matthew','D.','1983-06-11','White','Male','208048'),(353,'Zenelovic','Naser','','1973-02-21','White','Male','115614'),(512,'Unknown','Unknown','',NULL,'','Male',''),(513,'Unknown','Unknown','',NULL,'','',''),(514,'Unknown','Unknown','',NULL,'','',''),(515,'Unknown','Unknown','',NULL,'','',''); /*!40000 ALTER TABLE `officers` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `rawincidents` -- DROP TABLE IF EXISTS `rawincidents`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `rawincidents` ( `Timestamp` varchar(255) DEFAULT NULL, `Incident ID` varchar(255) NOT NULL, `Police case number` varchar(255) DEFAULT NULL, `Summary of incident` text, `headlines` text, `Date` varchar(255) DEFAULT NULL, `Time` varchar(255) DEFAULT NULL, `Location` varchar(255) DEFAULT NULL, `ZIP code` varchar(255) DEFAULT NULL, `Injury level` varchar(255) DEFAULT NULL, `Manner of death` varchar(255) DEFAULT NULL, `Total shots fired by police` varchar(100) DEFAULT NULL, `Total shots that hit suspect` varchar(100) DEFAULT NULL, `Number of cops who fired` varchar(100) DEFAULT NULL, `Number of suspects shot or shot at` varchar(100) DEFAULT NULL, `Source of initial contact` varchar(255) DEFAULT NULL, `Call type` varchar(255) DEFAULT NULL, `Domestic dispute?` varchar(255) DEFAULT NULL, `Less-lethal force?` varchar(255) DEFAULT NULL, `Suicide by cop?` varchar(255) DEFAULT NULL, `Shots fired into vehicle?` varchar(255) DEFAULT NULL, `Accidental discharge?` varchar(255) DEFAULT NULL, `Foot pursuit?` varchar(255) DEFAULT NULL, `Car pursuit?` varchar(255) DEFAULT NULL, `Physical struggle?` varchar(255) DEFAULT NULL, `Lawsuit filed?` varchar(255) DEFAULT NULL, `Discrepancies?` varchar(255) DEFAULT NULL, `Model case?` varchar(255) DEFAULT NULL, `Notes` text, `Review board?` varchar(255) DEFAULT NULL, `City` varchar(255) DEFAULT NULL, `Other officer(s) injured?` varchar(255) DEFAULT NULL, PRIMARY KEY (`Incident ID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `rawincidents` -- LOCK TABLES `rawincidents` WRITE; /*!40000 ALTER TABLE `rawincidents` DISABLE KEYS */; INSERT INTO `rawincidents` VALUES ('12/4/2013 15:32:21','DC1','8025720','An 81-year-old woman was carjacked as she was leaving a pool in Leisureville. She was about to turn the ignition on her white Chevy Camaro when she was approached by two men carrying a knife, so she handed them the keys. Police caught up with the car a short time later. A short chase ensued and the Camaro crashed. officer <NAME> approached the car but was nearly struck when the driver hit the gas and the front end swerved. Haugh fired several shots and officer <NAME> fired one shot. No one was hurt. Both suspects were arrested.','Shooting started when 81-year-old\'s Camaro carjacked','5/29/2008','22:01:00','NW 13th Ave and N. Seacreast Blvd','33435','No injuries','','11','0','2','2','Call','Stolen vehicle','','','','Yes','','','Yes','','','','','There is video of the chase from the officer\'s dashcam.','','Boynton Beach',''),('12/18/2013 9:59:49','DC2','08-22372','Boynton Beach police get a call about shots fired during an armed robbery at the Burger King at 1490 SW 8th St. Three suspects had gone into the restaurants wearing masks and holding guns.They ordered customers to the floor. Shots were fired as the suspects left, but no one was injured. Police spotted the suspects\' silver Saturn driving away from the fast food restaurant and chased them onto I-95. During a chase with speeds up to 95 mph, an officer said he saw five muzzle flashes from the suspects\' car. A bullet struck a Florida Highway Patrol car. The car chase ended when the suspects stopped and ran on foot in Deerfield Beach. Sgt. <NAME> and another officer encountered one of the armed men. He was \"blading\" toward them, meaning he turned his body as if to fire. He didn\'t shoot. Hawkins fired five shots, hitting him in the leg. The man wasn\'t arrested until a short time later. No gun was found. Hawkins had left his off-duty side job at Muvico to join the pursuit. By the time the chase ended, 20 Boynton Beach units were in Broward County. Despite criticism that the city was left under-covered and that there was no need for Hawkins to have joined the chase, the officers were commended.','Boynton Burger King robbery leads to chase; suspect shot in the leg','5/9/2008','20:54:00','107 SW 2ND CT','33441','Injury','','5','1','1','1','Call','Robbery or robbery alarm','','','','','','Yes','Yes','','','','','Good example of protocol not being handled in a chase.','','Deerfield Beach',''),('12/18/2013 14:03:07','DC3','08-03725','Boynton Beach officer <NAME> chased a car down I-95 that had been reported stolen in an armed carjacking. The chase ended near the Tri-Rail tracks off Okeechobee Boulevard in West Palm Beach. The officer chased the suspect on foot. He says the suspect, <NAME>, pointed a gun at him. Muhlheisen fired 11 times, hitting Steward once in the shoulder. Steward was bitten by a police dog and arrested.','Carjacking suspect shot, bitten by dog','2/27/2008','13:08:00','Clearwater Place and Clearwater Drive','33401','Injury','','11','1','1','1','Call','Other','','','','','','Yes','Yes','','','','','','','West Palm Beach',''),('4/12/2015 13:12:15','JE01','13-111379','PBSO deputy Willie Brookins saw a suspicious vehicle on patrol near Gramercy Park outside Riviera Beach near Haverhill Road. The driver had no seat belt. He pulled the car over and a passenger carrying a handgun ran. Brookins chased. When he climbed a fence, he saw the man, Arthur \"Maurice\" Key, 32, on the ground, holding the gun and pointing it in his direction. He ordered Key to drop the weapon and fired two shots, both of which missed. Key got away but the gun was found nearby. Key was arrested with heroin and other drugs the next day at a hotel. He said he injured his leg climbing the fence and fell twice just before the deputy shot at him.','Passenger flees traffic stop with gun, deputy climbs fence, fires twice, misses','8/22/2013','9:27:00 AM','4987 Caribbean Blvd.','33407','No injuries','','2','0','1','1','Traffic stop','','','','','','','Yes','','','','','','','','West Palm Beach',''),('4/12/2015 13:59:08','JE02','14-138652','A PBSO deputy, suspecting drug sales in a Lake Worth neighborhood, approached a Mazda with three people inside. Deputy <NAME> said he saw a passenger reach for a gun and point it at him. Desir fired a single shot and the Mazda took off. Deputies found the car later but did not find the people inside.','Deputy investigating drug sales sees gun, fires single shot; suspects take off, avoid arrest','11/1/2014','5:05:00 AM','806 South N St.','33460','No injuries','','1','0','1','3','Call','Other','','','','Yes','','','','','','','','','','Lake Worth',''),('5/31/2013 8:13:32','KL1','06-2680','Lantana police officer <NAME> was driving home when he smelled marijuana from a vehicle driven by <NAME>, 14. Shackelford followed the car to a cul-de-sac and stepped off his motorcycle. Clemons backed up, striking the motorcycle. Shackelford fired. As Clemons pulled away, Shackelford fired again. Clemons was shot once in the back and arrested at the scene.','14-year-old shot after backing up car, hitting police motorcycle','11/27/2006','17:50:00','7100 block of Hyatt Ave., Lantana, FL','33462','Injury','','4','1','1','1','Traffic stop','','','','','Yes','','','','','','','Yes','Cop shot at vehicle while driving away. His second shooting in about two months - see Katie Lee Vest case. Has interesting personnel history.','','Lantana',''),('5/26/2014 11:29:58','KL10','01-06-010077','Working off duty during a bikers event at the St. Lucie fairgrounds, St. Lucie County deputy <NAME> heard gunshots. When he went to investigate, he saw <NAME> shooting toward a large crowd. Stuhr ordered Smith to drop his gun. Smith turned toward him, and Stuhr fired three shots at Smith, striking him once in the abdomen. ','Officer shoots gunman at St. Lucie fairground','8/3/2006','23:16:00','15601 W. Midland Road, Fort Pierce, FL','34982','Injury','','3','1','1','1','Other','Other','','','','','','','','','','','','','','Fort Pierce',''),('5/26/2014 12:04:35','KL11','01-05-013085','<NAME> was seen on a surveillance video holding a crowbar about to rob a school vending machine. Deputy <NAME> and another officer were setting up a perimeter around the school when they started chasing Coberly. When they caught up to him, Coberly held up the crowbar and rushed at Barker, who fired one round, striking Coberly in the shoulder.','Man armed with crowbar, tries to rob school vending machine; shot rushing at officer','9/17/2005','1:08:00','1485 Cash<NAME>, Port St. Lucie, FL','34986','Injury','','1','1','1','1','Investigation','','','','','','','Yes','','','Yes','','','Coberly claims bullet was never removed from his shoulder.','','Port St. Lucie',''),('5/26/2014 13:42:53','KL12','1-05-003603','St. Lucie County sheriff\'s deputies working an undercover weed and seed mission noticed <NAME>, 22, driving out of a heavy gang area with his hands out of the car. When deputies tried to stop Hernandez, he sped away and eventually struck another car. When deputy <NAME> ordered Hernandez out of the car, Hernandez started the car again and began to drive the damaged car. Hester fired one shot at a front tire to stop the car. Hernandez surrendered.','Deputy shoots tire to stop fleeing suspect','3/16/2005','18:51:00','North 21st street, avenue G, Fort Pierce','34950','No injuries','','1','0','1','1','Traffic stop','','','','','','','','Yes','','','','','','','Fort Pierce',''),('5/27/2014 8:40:41','KL13','1-01-002291','Port St. Lucie Detective <NAME> was investigating a series of aluminum hurricane shutter thefts when he came across a suspect at a recycling business. When Carmichael tried to speak with <NAME>, Canady started to drive away. Carmichael continued to try and speak with Canady when Canady stopped his car, gunned the engine and lurched toward the detective. Carmichael shot three times, striking Canady all three times and wounding him.','Suspect guns car\'s engine, shot three times','2/25/2003','12:09:00','3301 D Avenue','34946','Injury','','3','3','1','1','Investigation','Other','','','','Yes','','','','','Yes','','','Port St. Lucie settled the case in 2008 for $750,000. In the lawsuit, Canady claimed Detective Carmichael was not in uniform and didn\'t identify himself as an officer. Canady was left paralyzed.','','Fort Pierce',''),('6/20/2014 12:59:37','KL14','01-12-012680','Fort Pierce officer <NAME> noticed a drug deal. When he approached, one man fled on foot and the other, <NAME>, sped away in a pickup truck. Austgen ignored attempts to stop him and drove into an open field, where he struck two patrol cars and drove toward Holmes and St. Lucie County Sheriff\'s Detective <NAME>. Both men fired at him, killing him.','Drug deal gone bad: Suspect flees, drives toward cops, killed','12/19/2012','19:45:00','South 11th Street , Fort Pierce, FL','34950','Fatal','Homicide','','','2','2','Investigation','','','','','Yes','','','Yes','','','','','','','Fort Pierce',''),('6/20/2014 14:15:48','KL15','1-01-001064','Fort Pierce police went undercover as drug sellers. Jamel Hair bought marijuana from them. When officers moved in to make an arrest, Hair fled in a car. He accelerated, almost hitting several officers in front of the car, then accelerated in reverse and narrowly missed several officers behind his car. Hair accelerated once again toward the officers at which time three officers -- Fort Pierce officers <NAME>, <NAME> and <NAME> -- fired. Hair was hit in the thigh and arrested. ','Suspect flees undercover drug bust, drives toward Fort Pierce officers, wounded','1/26/2001','21:30:00','3106 Avenue C, Fort Pierce, FL','34950','Injury','','3','1','3','1','Investigation','','','','','Yes','','','Yes','','','','','','','Fort Pierce',''),('8/15/2014 11:16:21','KL16','37886','A call came in about a stolen car seen leaving the Boynton Lakes Development. When officer <NAME>. tried to stop the car, police said the driver, Antwon (<NAME>, tried to run Merkle over. Merkle shot five rounds at the car. Other officers deployed stop sticks to stop the car. Bush fled on foot but was caught. He had not been shot. ','Five shots fired at driver of stolen car, none hit','8/18/2000','1:28:00','36 Camden Lane','33426','No injuries','','5','0','1','1','Call','Stolen vehicle','','','','Yes','','','Yes','','','','','','','Boynton Beach',''),('8/15/2014 11:57:00','KL17','00-159347','PBSO deputy <NAME> and another officer were conducting drug, vehicle and pedestrian stops in a high crime area of Lake Worth. While they were making an arrest, police said <NAME> tried to strike them with his car. Strivelli fired twice, striking Hunter in the hand.','Driver fleeing arrest shot in hand','12/6/2000','5:02:00','Price Street and Lake Worth Road','33461','Injury','','2','1','1','2','Traffic stop','','','','','Yes','','','','','','','','Deputy featured in cops series after incident.','','Lake Worth',''),('8/15/2014 14:32:58','KL18','13-052196','PBSO deputy <NAME> responded to a domestic violence calls and heard <NAME> yelling and banging a cane knife against a wall. Mercier told Rhodes to drop the knife but Rhodes moved toward the deputy. Mercier said he stepped back and repeated his commands but Rhodes kept moving toward him. Mercier fired four rounds striking Rhodes all four times and killing him.','Man won\'t drop knife, shot four times','3/23/2013','21:45:00','4049 Gun Club Road','33406','Fatal','Homicide','4','4','1','1','Call','Assault/battery with a gun or other weapon','Yes','','','','','','','','','','Yes','<NAME>\' wife, Nina, spoke to media after incident and while admitting to Daniel\'s actions, she also said that the deputy did not have to kill her husband.','','West Palm Beach',''),('8/15/2014 15:01:09','KL19','13-023552','Deputies <NAME> and <NAME>, responding to a domestic call in Lake Worth, found the caller, <NAME>, being chased by his wife, <NAME>. She was trying to stab him with a 13-inch butcher knife. Reza and Eley shot nine times at Falconi, striking her six times, after she refused to put down the knife. She was killed.','Wife shot to death trying to stab husband','1/8/2013','2:45:00','1407 North J Street Unit 3','33460','Fatal','Homicide','9','6','2','1','Call','Family or domestic disturbance','Yes','','','','','','','','','','','Deputy Reza was involved in a fatal deputy involved shooting in 2011 during a similar domestic disturbance call.','','Lake Worth',''),('6/14/2013 12:33:46','KL2','2003-03','Jupiter Police Officer <NAME> stopped a Honda Civic driven by <NAME> for speeding. Officers <NAME> and <NAME> responded as backup. While they questioned him, Smith closed his door, locked it and accelerated in reverse, striking Lloyd\'s motorcycle. Kowalski tried to open the driver\'s door, but it was locked so he kicked the window out with his leg. Smith complied with orders to put his hands up, then dropped his hands to the wheel and drove away. Lloyd fired at the car eight times striking Smith in the neck, leg and lower back. The car went across Central Boulevard, across the median and hit a truck.Kowalski said he didn\'t think the shooting was necessary.','Jupiter officers shoot at fleeing driver after traffic stop','6/5/2003','8:15:00','17443 South Central Boulevard Jupiter, FL','33458','Injury','','8','4','1','1','Traffic stop','','','','','Yes','','','','','','Yes','Yes','Other officers on scene did not fear for their lives and questioned why Officer Lloyd used excessive force. IA ultimately concluded Officer Lloyd violated department rules/procedures for use of deadly force.','','Jupiter',''),('8/22/2014 8:26:19','KL20','12-513','Responding to a \"suspicious vehicle\" call in which a neighbor said occupants were smoking pot, PBSO deputy <NAME>, his weapon drawn, ordered the passenger, <NAME>, to place his hands on the car. Jolicouer ran. Kushel grabbed him by the shirt and the two began to struggle. Sgt. <NAME> arrived to provide backup. As Kushel wrestled Jolicouer to the ground, Kushel says Jolicouer reached for a gun in his waistband. When Hightower tried to take it away, Jolicouer wouldn\'t release his grip. Kushel fired five times, killing Jolicouer.','Pot-smoking call leads to struggle, suspect\'s death','12/13/2012','17:15:00','5723 Orchard Way','33417','Fatal','Homicide','5','5','1','1','Call','Other','','','','','','Yes','','Yes','','Yes','Yes','Family members claimed Jolicouer was not armed when he was killed.','','West Palm Beach',''),('8/22/2014 12:39:54','KL21','312020976','<NAME> was dropped off at his parents\' house by his wife. After an argument, an extremely agitated Fuller told his parents he was going to kill himself and would shoot any officer who came to the house. Port St. Lucie police and the SWAT team responded. Fuller hid behind a shed. He came out and walked toward police aggressively holding a gun. Sgt. <NAME>, officer <NAME> and Detective <NAME>, three SWAT team members, fired multiple times at Fuller, killing him.','Suicidal armed man confronts SWAT team, killed','11/3/2012','23:30:00','2817 SE Peru Street ','34984','Fatal','','','','3','1','Call','Suicide or suicide attempt','','','Yes','','','','','','','','','','','Port St. Lucie','1'),('8/22/2014 13:33:05','KL22','IR, 12-425; case #12-129124','<NAME>\'s mom called 911 three times, saying her 18-year-old son, who was off his medicine for bipolar disorder, was out of control. Camberdella had choked his mom and hit his dad. She said her son would resist a deputy. When deputy <NAME> arrived, Camberdella was holding a hammer and tree trimmer. Goldstein told him to drop them. Camberdella did and started advancing toward the deputy . Then he reached into his pocket and started throwing rocks at the deputy. That\'s when Goldstein fired 11 rounds and one struck Michael in the chest, killing him. ','Bipolar man off his meds throws rocks at deputy, killed','10/4/2012','9:30:00','9000 block of Tremezzo Lane','33472','Fatal','Homicide','11','1','1','1','Call','Family or domestic disturbance','Yes','','','','','','','','Yes','','Yes','Lots of media coverage. Goldstein was certified in crisis intervention. He\'s the son of a former PBSO deputy and received a free ride into the police academy.','','Boynton Beach',''),('8/22/2014 15:04:48','KL23','IR 12-246; Incident # 12-082913','<NAME> shot and killed his girlfriend and fled on foot. When deputies came across him, he fled behind a concrete wall. A K-9 dog went through a chain link fence at the end of the wall. Felipe shot the dog twice. Lt. <NAME> and deputies <NAME> and <NAME> opened fire, killing Felipe.','Fleeing murderer kills K-9, dies as police open fire','6/4/2012','22:00:00','6151 Forest Hill Boulevard','33415','Fatal','Homicide','35','','3','1','Call','Homicide','','','','','','Yes','','','','','','','','West Palm Beach',''),('8/29/2014 8:43:23','KL24','12-243','Deputies were in pursuit of armed carjacking suspect <NAME> when Wallach crashed a car and fled on foot, firing at deputies as he ran through a neighborhood. When Cpl. <NAME> and another deputy encountered Wallach, Wallach fired and Ellis fired back five times. Deputies <NAME> and <NAME> ran into Wallach, who shot at them. Walton returned fire but Crawford didn\'t because a civilian was nearby. Wallach took cover behind a Chevy Blazer. Deputy <NAME> fired at Wallach five times. Wallach dropped to the ground after Detective <NAME> came to the scene and fired three times. Wallach was hit in the shoulder and hip. He survived. ','Armed carjacking leads to shootout; suspect hit twice, captured','6/2/2012','19:15:00','Cherokee Road and Congress Avenue','33406','Injury','','35','2','5','1','Call','Other','','','','','','Yes','Yes','','','','','','','West Palm Beach',''),('8/29/2014 9:55:12','KL25','IR 12-221','PBSO Sgt. <NAME> was conducting undercover surveillance parked in the parking lot of a plant nursery owned by the Adams family when Seth Adams came home. Seth became verbally combative with Custer and grabbed Custer\'s neck At one point, Seth moved toward his truck to retrieve something despite verbal commands not to. As Seth was turning back around, Custer shot him four times. Seth proceeded to walk onto his family\'s property and call his brother twice before collapsing to the ground.','Pickup vignette///','5/17/2012','23:30:00','1950 A Road','33470','Fatal','Homicide','4','4','1','1','Investigation','','','','','','','','','','Yes','Yes','Yes','Received a lot of media attention. Case was also reviewed by FDLE. Adams family is being represented by Wallace McCall (Ted Leopold firm) in civil suit.','','Loxahatchee',''),('8/29/2014 11:53:47','KL26','IA 12-04, SAO# 12-001109','<NAME> had just stabbed his girlfriend in Riviera Beach when he fled in a car. Officers followed him to his home in Palm Beach Gardens where they found his ex-wife in a wheelchair and blood everywhere. Once inside, Sahakian grabbed a knife and started cutting himself. Officers tried to use a Taser on him but missed when Sahakian locked himself in the bathroom. Just as officers were about to kick down the door, Sahakian opened it, waving a knife at them. Sgt. <NAME> and officer <NAME> fired shots at him and one fired a Taser. Sahakian died.','Stabbing suspect emerges from bathroom with a knife, shot to death','4/6/2012','23:00:00','9229 Sun Terrace ','33403','Fatal','Undetermined','7','','2','1','Call','Person with a gun, knife or other weapon','','Taser','','','','','Yes','','','','','','','Palm Beach Gardens',''),('8/29/2014 12:57:36','KL27','12-3733','West Palm Beach police responded to a shooting at a gas station and an armed suspect. Officers went to a nearby apartment complex to find the suspect, <NAME>. He shot at officer <NAME> while he was still in his patrol car. The officer returned fire as he got out of his car. The suspect started to chase the officer with a sword. Officer <NAME> saw Neloms running after Momirovich and fired two shots, killing him. ','Shooting suspect confronts police with a sword','3/5/2012','22:00:00','5570 N. Haverhill Road','33407','Fatal','Homicide','','','2','1','Call','Illegal shooting','','','','Yes','','Yes','','','','','','','','West Palm Beach',''),('8/29/2014 15:13:30','KL28','IR 12-193','The PBSO auto theft unit was tracking a stolen vehicle. K-9 deputy <NAME> was on his way to a perimeter that had been set up when he spotted <NAME>. and his dad running to the truck. Hardy jumped out of his patrol car and told the two to stop. They ignored him and got into the truck. <NAME>. revved up the engine and fishtailed toward the deputy and his canine because of the sugary sand. Hardy pulled his canine out of the way and started shooting, striking <NAME>. once in the shoulder. He survived.','Car theft suspect wounded when he fishtails truck toward cop and his dog','4/24/2012','14:00:00','80th Terrace South','33467','Injury','','5','1','1','2','Call','Stolen vehicle','','','','Yes','','','Yes','','','','','','','Lantana',''),('9/5/2014 12:19:36','KL29','IR 12-071; 12-036402','<NAME> called police and told them that a man holding a rifle was in the parking lot of the credit union. Thompson also told police where he was standing. When Sgt. <NAME>, deputy <NAME> and another officer arrived, Thompson fired several shots that struck Gale\'s patrol car. Gale fired back. When they saw Thompson reach for his rifle, they fired multiple shots, killing him.','Credit union shooting: Suspect who fired on police killed','2/10/2012','17:30:00','3469 Summit Boulevard','33406','Fatal','Homicide','10','10','3','1','Call','Person with a gun, knife or other weapon','','','','','','','','','','','','<NAME> is reported to have told officers, \"thank you\" after he was shot. The incident did not generate any controversy. Media reports indicate Thompson was shot 11 times. But total number of rounds fired is listed as 10 in report.','','West Palm Beach',''),('6/14/2013 13:09:04','KL3','10-56881','Jupiter Sgt. <NAME> was in the office of Capt. <NAME>. While he handled Feeney\'s pistol, Scopelitis accidentally discharged a round, striking the floor. No injuries.','Accidental discharge in captain\'s office','12/13/2010','16:20:00','210 Military Trail Jupiter, FL','33458','No injuries','','1','','1','0','Other','','','','','','Yes','','','','','','','Sgt. <NAME> was found to have violated general orders: Unauthorized use of firearms; Use of handling of weapons. ','','Jupiter',''),('9/5/2014 12:33:28','KL30','IR-12-049','A vehicle with unknown occupants, being chased by deputies and suspected of involvement in a shooting, drove through the police tape at the shooting scene and toward deputy Reginal Bush. Bush fired his gun and the car crashed into a metal pole. The occupants fled on foot. Six days later, the body of <NAME>, thought to be in the car, was found in a nearby canal. The cause of death was drowning. None of Bush\'s shells were found. ','Deputy fires into car, suspect in shooting found drowned six days later','2/3/2012','22:47:00','304 Pope Court','33476','No injuries','','5','','1','1','Investigation','Other','','','','','','','','','','','','The body of <NAME>, who was believed to have been one of the occupants in the car, was found in a nearby canal. No gunshot wounds were found.','','Pahokee',''),('9/5/2014 13:02:41','KL31','IR 11-536; 11-144568','Deputies responded to a home invasion in progress in Royal Palm Beach. When they arrived, they saw two suspects climb a fence. Deputy <NAME> fired one shot at one of the suspects, who continued to run. The other suspect, <NAME>, had run outside of the house but retreated and got into a car with the engine running. Another deputy warned Anderson he would shoot. Bethel heard the deputy and came to assist. Anderson revved the engine as if he was going to accelerate. When Anderson lowered one of his hands, Bethel fired once, shooting him in the lower neck.','Fleeing burglary suspect revs engine, shot in neck','11/12/2011','22:03:00','135 Finch Court','33411','Fatal','Homicide','1','1','1','2','Call','Robbery or robbery alarm','','','','Yes','','Yes','','','','','','Deptuty Bethel also shot and killed a 16 year old in 2008','','Royal Palm Beach',''),('9/12/2014 8:27:24','KL32','IR11-514; case 11-140040','Deput<NAME> was called to a home invasion in progress. He made his way to the back of the home when he saw <NAME> leave through a broken glass door. Norton\'s hands were hidden under some kind of black cloth. Walton demanded Norton put up his hands. Norton removed his hands quickly and moved to a defensive position. Walton shot Norton once in the lower torso. Norton survived.','Burglary suspect moves into defensive posture, shot once','11/1/2011','13:45:00','2938 Via Vizcaya','33461','Injury','','1','1','1','1','Call','Burglary or burglary alarm','','','','','','','','','','','','','','West Palm Beach',''),('9/12/2014 9:02:22','KL33','IR-11-508; case 11-137476; 11-137454','Deputies, responding to a domestic call, were greeted by <NAME>, holding a knife. Deputies told him to drop the knife and he refused, saying, \"Shoot me, Shoot me.\" Barreto moved toward deputies when deputy <NAME> shot his Taser and and deputy <NAME> fired his gun. Barreto was struck in the chest and died. Barreto was a diagnosed schizophrenic on various prescriptions. One witness said Barreto had just been playing Call of Duty.','Schizophrenic refused to drop knife, says \'shoot me\' and deputy does ','10/25/2011','21:00:00','820 South Federal Highway','33460','Fatal','Homicide','','','1','1','Call','Family or domestic disturbance','Yes','','','','','','','','','Yes','Yes','Representatives of Barreto spoke out after incident saying the shooting was unnecessary. SA\'s report and media reports conflict over issue regarding when the taser was deployed. SA\'s final report indicated that taser and gun were fired simultaneously. Media reports indicate that taser was fired first, had no effect and that\'s when Reza fired. This was not Reza\'s first fatal shooting.','','Lake Worth',''),('9/12/2014 11:18:59','KL34','IA11-15; 11-08228','Riviera Beach officer <NAME> stopped a car for a traffic violation when <NAME> got out of driver side rear door and fled on foot. He dropped a magazine on the ground but the officer saw a gun in his hand. Robinson then carjacked a minivan and drove away. Officers pursued him until he abandoned the car. Morgan chased Robinson on foot when he approached a home. Morgan demanded Robinson get on the ground and drop his weapon. Robinson turned and pointed his gun at the officer. Morgan fired once and struck Robinson, wounding him.','Routine traffic stop results in chase, carjacking, police shooting','8/14/2011','15:00:00','1525 west 37th street','33404','Injury','','1','1','1','1','Traffic stop','','','','','','','Yes','Yes','','','','','','','Riviera Beach',''),('9/12/2014 12:31:32','KL35','IA12-010','Deputy Latoya Rouse was assigned to watch a burglary suspect who had been hospitalized at Wellington Regional Medical Center. When she put handcuffs on him after a bathroom trip, her key broke and the handcuffs were loose. She asked a hospital employee to watch <NAME> while she got coffee. Then Haulotte asked for his leg shackles to be adjusted. When Rouse adjusted them, he kicked at her and slipped out of the handcuffs. She chased him through the triage area and the waiting room. Rouse fired two shots, one in each area, striking him once in the thigh, injuring him.','Deputy fires twice in hospital at fleeing burglary suspect','8/14/2011','12:50:00','10101 Forest Hill Boulevard','33414','Injury','','2','1','1','1','Other','Other','','','','','','Yes','','','','','','','','Wellington ',''),('9/12/2014 14:03:06','KL36','11-009930','West Palm Beach officer <NAME> arrived at the Radio Shack to handle a confrontation between the manager and the father of the manager\'s baby. Coincidentally, there was another call about a fraud case involving <NAME>, who happened to walk in the store. Hatcher became increasingly upset when the officer asked for his identification. Hatcher reached for his backpack. Swiderski told him to keep his hands visible. The two then started to move around the store in a cat and mouse manner. When Hatcher went to reach inside his backpack, Swiderski fired a shot, later calling it a warning shot. Hatcher was not injured during the incident. Firing warning shots is against PBSO policy.','Warning shot fired despite policy','6/15/2011','15:35:00','848 Southern Boulevard','33405','No injuries','','1','0','1','1','Call','Other','','','','','','','','','','','','','','West Palm Beach',''),('9/12/2014 14:24:45','KL37','SA11002355','<NAME> told police she drove to Lantana from Port St. Lucie to commit suicide in front of her ex-husband. While she was in her car, she shot one round in the air. She said she wanted deputies to kill her. Pacifici got out of the car, walked toward the \"stick team\" that was in place and pointed her weapon at officers. Deputy <NAME> fired one shot from his rifle, striking her in the thigh. She survived.','Suicidal woman shot in thigh','4/24/2011','12:30:00','South of Dixie Highway and Ocean Boulevard','33462','Injury','','1','1','1','1','Call','Suicide or suicide attempt','','','','','','','','','','','','','','Lantana ',''),('9/12/2014 14:53:55','KL38','11-005635','West Palm Beach officers responded to a call about loitering and drug sales. When officers arrived, <NAME> and others fled, and officers <NAME> and <NAME> chased them. Richards dropped a plastic container of crack cocaine. As Jones approached, Richards turned and pointed an item at him. Jones fired one shot, missing Richards. The item Richards was holding was never found.','One shot fired, misses man with crack cocaine','4/3/2011','21:58:00','4th street and Tamarind Avenue','33401','No injuries','','1','0','1','1','Call','Other','','','','','','Yes','','','','','','','','West Palm Beach',''),('9/19/2014 7:39:38','KL39','IR11-018','<NAME> was off duty, driving his wife and 2-year-old child home from the grocery store in his own car when he was cut off by a driver. He suspected the driver was intoxicated and followed him. While calling 911, the occupants in the car fired at him. Rivera returned fire, shooting 5 rounds. Later, the driver, <NAME>, said he had just heard his brother had been shot. No one was injured.','Pickup vignette///','1/23/2011','18:31:00','E Canal St. North and SE 7th St. North','33430','No injuries','','5','0','1','4','Self-initiated','','','','','Yes','','','Yes','','','','Yes','Case was not investigated by IA because deputy was off-duty.','','Belle Glade',''),('6/14/2013 13:13:39','KL4','11-013157','Jupiter Officer <NAME> was sleeping when the alarm on his cellphone went off. He reached for the phone but picked up his firearm instead, somehow pulling the trigger and firing one shot into a bedroom wall. No one was injured.','Sleeping officer reaches for cellphone, fires gun','3/20/2011','5:51:00','Jupiter, FL','33458','No injuries','','1','','1','0','Other','Other','','','','','','','','','','','','','','Jupiter',''),('9/19/2014 8:17:21','KL40','case #10-21075; IA#10-016','West Palm Beach officer <NAME> and another officer were patroling a high-crime area on Broadway when they approached some men who were loitering outside a store. When Malta got out of the car, a few of them ran. Malta chased <NAME> when he saw Pierre drop a gun. Pierre went back to retrieve the gun and Malta commanded him not to touch the gun but Pierre retrieved it anyway. When Pierre picked up the gun, Malta said he saw Pierre raise the gun toward him so Malta fired one round. There were no injuries.','Cop chases man loitering outside store, shoots when suspect picks up gun','12/20/2010','18:27:00','5509 Broadway Avenue','33407','No injuries','','1','0','1','0','Self-initiated','','','','','','','Yes','','','','','','','','West Palm Beach',''),('9/19/2014 8:26:19','KL41','2010015223','Boca Raton officer <NAME> responded to a car fire on I-95. A passenger was still inside the car. After several attempts to break a window using a fire extinguisher, Jalil advised over the radio that he had no other option but to fire his gun to smash the window and save the girl. He fired two rounds and was able to get the girl out of the car.','Shots fired to free passenger in I-95 car fire','12/1/2010','19:51:00','2100 I-95 North','33487','No injuries','','2','0','1','0','Call','Other','','','','Yes','','','','','','','','','','Boca Raton',''),('9/19/2014 15:22:43','KL42','IR10-402','Deputy <NAME> and another deputy were assigned to locate <NAME> based on a felony probable cause affidavit. They found his car at a house in Palm Beach Gardens and called him, leaving a voice mail that his car could be forfeited because it was used during a felony. Burtschin came out of the home holding an AR15 assault rifle. Police say he ignored commands to put the rifle down. Schumm fired four rounds, all missing Burtschin, who dropped to the ground. Burtschin later told detectives he had been heading to his car to get his .45-calber gun.','Four shots fired at wanted man armed with AR15 rifle','11/4/2010','1:00:00','4402 Water Oak Court','33410','No injuries','','4','0','1','1','Serving warrant','','','','','','','','','','','Yes','Yes','Palm Beach Post article details how Detective Araujo first came into contact with Burtschin while he was off duty. Burtschin cut Araujo off while Araujo was off duty earlier that week. Araujo told him he could write him a ticket. Burtschin said, \"go ahead.\" Several nights later two deputies went to Burtschin\'s home to locate him. **CHECK TIME OF INCIDENT**','','Palm Beach Gardens',''),('9/24/2014 9:41:59','KL43','','Someone tried to get into Det. William Saunders\' Loxahatchee-area home through the sliding glass door while he and his family slept. Saunders shot the intruder in the arm with his personal gun. PBSO responded but wouldn\'t let a Riviera Beach internal affairs lieutenant into the house. The intruder was not caught.','Detective defends home, shoots intruder','10/16/2010','1:00:00','16683 68th Street','33470','Injury','','','','1','1','Other','','','','','','','','','','','','Yes','In 2009, Saunders shot a 16 year old who struck him with a stolen car.\n\nOfficer Saunders was also investigated in 2005 when he reportedly attacked a TV delivery man. He was off duty but used his patrol car to track the delivery man down.\n\nIn 2002, a pick up truck pinned Saunders to his patrol car.','','Loxahatchee',''),('9/24/2014 11:42:44','KL44','IR10-350; 10-135291','<NAME> responded to a call in Royal Palm Beach about a 17-year-old with Down Syndrome who stole his mom\'s minivan. He pulled up next to the stopped minivan in the middle of the busy intersection of Okeechobee and Royal Palm Beach boulevards. He positioned his squad car in front of the teen, <NAME>, who accelerated as Franqui got out of the car. The minivan bumped the patrol car and Franqui opened fire, shooting six rounds as the minivan turned into the intersection. Hutton, hit three times, survived. His family is suing the sheriff\'s office.','Teen with Down Syndrome shot by PBSO deputy while driving mom\'s minivan','10/10/2010','13:00:00','Okechobee Boulevard and Royal Palm Beach','33411','Injury','','6','3','1','1','Call','Other','','','','Yes','','','Yes','','Yes','','Yes','17 year old has down syndrome. Family sued Sheriff\'s office. Post has tape of 9-1-1 call. Also, report is a whitewash.','','Royal Palm Beach',''),('9/24/2014 13:47:02','KL45','IR10-288','<NAME> responded to a call about a suspicious car. Upon arrival <NAME> did not comply with repeated orders to get out of the car. Bennett was moving his hands a lot. Rieger shot him several times after he says Bennett went to reach for something. Rieger feared it was a gun.','Pickup vignette///','9/9/2010','6:15:00','4895 Windward Passage Drive','33436','Fatal','Homicide','','','1','1','Call','Other','','','','Yes','','','','','','','Yes','media reports indicated that Bennett had a criminal history and the car he was in was stolen. SA ','','Boynton Beach',''),('9/25/2014 12:52:15','KL46','2010016384','Cpl. <NAME> along with the special response team in Okeechobee County went into a home to serve a narcotics search warrant. Once he was inside, Ferrell saw a closed bedroom door. He was about to open the door when <NAME> opened it very quickly and pointed a handgun at Ferrell. Ferrall fired four rounds as he moved out of the way. No one was injured, but a 17-month-old child was also in the bedroom.The team had been aware that the child was in the house before launching their \"assault plan.\"','Cops open fire on man in bedroom with tot','8/26/2010','20:03:00','1276 SW 18th terrace','34974','No injuries','','4','0','1','1','Serving warrant','','','','','','','','','','','','','the suspect was holding a 17 month old at the time of the shooting','','Okeechobee ',''),('9/25/2014 13:37:44','KL47','IR 10-215; 10-102688','The SWAT team responds to a man threatening to commit suicide in Boca Raton. After several hours of failed negotiations, <NAME> comes out of the house with a towel in his hands and lies down against the house. He sits up and points something under the towel at PBSO deputy <NAME>. Wildove fires several rounds and keeps firing when Geiserman doesn\'t put down what he\'s holding. Geiserman takes his own gun, puts it in his mouth and fires one round, killing himself. ','Man threatening suicide won\'t put down what\'s under towel, shot several times before taking his own life','7/20/2010','22:00:00','7956 Mandarin Drive ','33433','Fatal','Homicide','26','9','1','1','Call','Suicide or suicide attempt','','','','','','','','','','','','','','Boca Raton',''),('9/26/2014 8:04:51','KL48','10085608','While patrolling an area off Spanish Trail in Boca Raton, Sgt. <NAME> noticed a suspicious car and followed it. It pulled into a driveway and when she got out of her patrol car, the driver put the car in reverse, accelerating toward her and hitting her car. She said she saw the passenger pointing a gun at her. She fired multiple rounds, striking passenger <NAME> three times. Rosario survived and another passenger was arrested. The driver fled on foot.','Sergeant hits passenger in moving car, who was pointing gun at her','6/8/2010','3:40:00','505 NE Spanish Trail','33432','Injury','','','3','1','3','Traffic stop','','','','','Yes','','','Yes','','','','','','','Boca Raton',''),('9/26/2014 8:47:10','KL49','IR10-178; 10-084021','While hearing a radio call of a homicide and suspect chase, PBSO Sgt. <NAME> positioned himself at an intersection nearby. He planned to use tire deflator devices but heard that the suspects were shooting at police. He armed himself with a shotgun and shot two rounds after the suspects shot at him as they came close. ','Sergeant fires at moving car','6/4/2010','1:00:00','12th Avenue South and 8th Street','33463','Unknown','','2','0','1','1','Call','Assault/battery with a gun or other weapon','','','','Yes','','','Yes','','','','','Sgt. Honkala was involved in another shooting in November 2013','','Lake Worth',''),('6/14/2013 14:26:07','KL5','11-22422','Jupiter officer <NAME> was assisting in a suicide call. When he attempted to make the handgun used in the apparant suicide safe, a round discharged, striking a piece of luggage. No injuries.','Officer accidentally shoots suitcase','12/17/2011','13:15:00','NA','NA','No injuries','','1','','1','0','Call','Suicide or suicide attempt','','','','','Yes','','','','','','','','','',''),('9/26/2014 11:31:41','KL50','IR10-098','Deputies were called out about a car in the middle of an intersection. When deputies <NAME> and <NAME> arrived, Richard Montero appeared to be drunk, slumped over on the wheel. Montero did not want his car to be towed and got angry. When deputies tried to handcuff Montero, he refused and struggled with both deputies. <NAME>, on the ground at this point, used his stun gun against Montero but it didn\'t work. The deputies grew tired, requested backup while struggling. They said Montero was grabbing at Nandlal\'s gunbelt. Eventually Nandlal shot Montero four times, killing him. ','Car in middle of intersection, suspect tangles with deputies and is killed','4/9/2010','6:30:00','Summit Boulevard at Jog Road','33415','Fatal','Homicide','4','1','1','1','Call','Other','','Taser','','','','','','Yes','Yes','','Yes','lawsuit alleged excessive force. ','','West Palm Beach',''),('9/26/2014 12:09:44','KL51','IR10-083','Deputies were serving a warrant when <NAME> said he was not going back to jail. He took a fighting stance when <NAME> used a baton to try and subdue him. Hunter took the baton and began to struggle with the officer. His partner, <NAME>, shot Hunter with her stun gun, but it didn\'t work. So Boiuso fired three rounds at Hunter, killing him.','Suspect takes baton, fights officer; another kills him','3/23/2010','10:40:00','191 Hibiscus Tree Drive','33462','Fatal','Homicide','3','3','1','1','Serving warrant','','','Baton or nightstick, Less-lethal shotgun','','','','','','Yes','','','','','','Lantana ',''),('9/26/2014 12:37:17','KL52','IR10-067','A PBSO sergeant fired at two murder suspects as they were fleeing to their apartment. A drug deal involving <NAME> and <NAME> went bad, and Santiago ended up shooting and killing a man. Sgt. <NAME> saw them flee in a car and tried to pull them over. But they stopped near their apartment complex and fled on foot. While he was running up the stairs, Tranchant believed one of them turned and aimed a gun at him, and he fired five times, missing them. The gun had been tossed during the car pursuit and was found in the road.','Sergeant thinks he sees gun chasing murder suspects up stairs','3/12/2010','10:08:00','1068 Lake Victoria Drive','33411','No injuries','','5','0','1','2','Investigation','Homicide','','','','','','Yes','Yes','','','','','Can\'t tell which one he was shooting at, but both were there at the same time.','','West Palm Beach',''),('9/26/2014 13:26:27','KL53','IA10-004','Sgt. <NAME> and officer <NAME> responded to a call about a man having been shot. <NAME> and <NAME> then fled in a car, according to police. The car eventually crashed and the suspects fled on foot. One appeared to have a gun in his hand. The officers fired eight rounds between them, but no one was injured.The man, <NAME>, suffered multiple gunshot wounds.','Suspects fired upon after fleeing shooting scene','1/22/2010','16:20:00','1100 block of 28th Street','33404','No injuries','','8','0','2','1','Call','Homicide','','','','','','Yes','Yes','','','','','','','Riviera Beach',''),('9/26/2014 13:38:35','KL54','IA09-044','After arriving home from duty, officer <NAME> failed to properly follow the steps to make his weapon safe and left the magazine in the well of the firearm. He shot himself in the forearm. He was reprimanded in writing.','Off-duty officer wounds himself in forearm ','12/20/2009','18:00:00','5373 Cedar Lake Road','33437','Injury','','1','1','1','1','Other','','','','','','Yes','','','','','','','','','Boynton Beach',''),('9/26/2014 13:58:53','KL55','IA09-113','On a domestic call, PBSO deputy Terry Wise, Lt. <NAME> and Sgt. <NAME> found <NAME> behind a sliding glass door with large knives in each hand. The woman who had called police was inside. The deputies offered cigarettes if Collins would open the door. He did and Dempsey shot him with a stun gun. It only made Collins angry. He slashed Wise. The other officers fired, striking Collins 15 times and killing him. ','Man killed while slashing officer with large knives','11/19/2009','7:12:00','6182 Wauconda Way Lake Worth ','33463','Fatal','Homicide','15','15','3','1','Call','Family or domestic disturbance','Yes','Taser','','','','','','','','','','','','',''),('','KL56','13-02178','Port St. Lucie Sgt. <NAME> was trying to stop a speeding car when the car halted suddenly. Morales had to veer left to avoid a collision. That\'s when suspect Eriese Tisdale reportedly ran over to Morales\' car and shot him several times, killing him. Deputy <NAME> heard the shots. When he arrived, he saw the suspect pointing the gun at Morales, arm extended. Then the suspect turned and pointed his gun at Bennett. Bennett fired several times but the suspect ducked between cars and took off in his car. Bennett stayed to help Morales as other deputies chased Tisdale before catching him. ','Suspect confronted after officer slain, escapes gunshots','2/28/2013','12:18:00','3219 Naylor Terrace ','34982','No injuries','',NULL,NULL,'1','1','Traffic stop','Other','','','','','','','Yes','','','','','Sgt. Morales was killed by subject','','Port St. Lucie','1'),('12/4/2014 11:43:22','KL57','IQ #07-26','Martin County sheriff\'s deputy <NAME> stopped <NAME> for speeding. When he got out of his patrol car, Vierow got out of his car, too, and started to approach the deputy. Youngblood ordered Vierow to get back in the car, but Vierow refused. The two ended up scuffling on the ground before Youngblood shot Vierow twice, killing him. ','At speeding stop, driver, deputy scuffle; driver shot dead','3/7/2007','23:20:00','Lil Bit Lane','34957','Fatal','Homicide','2','2','1','1','Traffic stop','','','','','','','','','Yes','','','','Vierow\'s parents filed a complaint against the Deputy. Claimed he lied about several details. After a separate investigation no major issues were found.','','Jensen Beach',''),('12/4/2014 13:44:35','KL58','05-03840','Martin County Sheriff\'s deputy <NAME> approached a Lexus SUV in a Hobe Sound park and smelled marijuana. The driver fled, leading deputies on a chase through neighborhoods at speeds as high as 60 mph. The SUV tried to go through a yard but before it could, deputies tried to block it. The driver backed up and started heading toward Skowronski. That\'s when Skowronski and <NAME> fired several shots, killing the driver and injuring one of two passengers. The car had been stolen in Fort Lauderdale.','Deputies approach Lexus SUV when they smelled pot, fatally shoot driver in chase','3/17/2005','12:00:00','7509 SE Eagle Avenue','33455','Fatal','Homicide',NULL,NULL,'2','3','Traffic stop','','','','','Yes','','','Yes','','','','','','','Hobe Sound',''),('12/4/2014 15:05:46','KL59','03-14612','Martin County sheriff\'s deputy <NAME> snatched a purse from someone at a gas station and fled. A gas station employee flagged down a deputy who started chasing the suspect. Several other deputies joined in. At one point, Tuhey hit a parked car and ejected a person sititng in it. Stop sticks were placed on the road but Tuhey continued to elude police. At one point deputy <NAME> fired several shots at Tuhey\'s front tire. Another deputy fired shots at Tuhey when he felt threatened. Eventually Tuhey stopped and deputies fearing Tuhey was pointing a gun at them continued to fire. A total of 53 shots were fired, Tuhey was struck eight times.','53 shots: Deputies chase, fatally shoot purse-snatching suspect','10/26/2003','22:40:00','<NAME>','34994','Injury','','53','8','3','1','Citizen contact','','','','','Yes','','','Yes','','Yes','','','entire episode caught on police camera. <NAME> represented Tuhey in lawsuit against department.','','Stuart ',''),('8/2/2013 8:20:53','KL6','09-001','<NAME> was fighting with his girlfriend about his use of prescription drugs. He left the apartment and got a gun out of his pickup, firing a couple of shots. When police tried to stop him, he kept going. Police stopped him on Florida\'s Turnpike northbound about a mile south of the Beeline Highway. He put the car in reverse and tried to ram an officer\'s car. Eventually he opened his car door and fired at police. Sgt. <NAME> and officer <NAME>, returning fire, struck and killed Martinez.','Man killed after chase, exchange of gunfire with cops','1/12/2009','10:50:00','Florida Turnpike mile marker 106, Palm Beach Gardens, FL','unclear','Fatal','Homicide','','','2','1','Call','Family or domestic disturbance','Yes','','','Yes','','','Yes','','','','','the case was also investigated by PBSO','','Palm Beach Gardens ',''),('12/5/2014 12:21:35','KL60','','Martin County sheriff\'s deputy George McLain stopped Stacey Scales for driving without headlights on. When McClain asked Scales for his driver\'s license, Scales put the car in motion. McLain reached into car to turn off ignition and take the keys, and that\'s when Scales accelerated, dragging McLain about seven blocks before stopping. McLain saw Scales reach down to the floor of car and that\'s when he shot Scales twice. McLain saw Scales move and continued firing. Scales died.','Deputy reaches for suspect\'s car keys, dragged 7 blocks, fatally shoots when car stops','4/14/2001','23:25:00','Church Street and Central Avenue','34994','Fatal','Homicide','8','7','1','1','Traffic stop','','','','','Yes','','','Yes','','Yes','','','case caused outrage in black community. mother settled case for under $35,000.','','Stuart',''),('12/5/2014 12:42:14','KL61','','At the Treasure Coast Mall, Martin County Sheriff\'s deputy J<NAME> had stopped a truck driven by <NAME>, who was driving erratically. When Howard starting running Pablo\'s license, his brother, Miguel, started jousting with Pablo. Howard went to break it up when Miguel jumped out and started punching him, at one point knocking Howard off his feet. Francisco and a friend also started kicking the officer. Howard eventually fired two shots, killing Miguel.','Deputy, punched and kicked during traffic stop at mall, fatally shoots passenger','1/1/2008','17:20:00','3174 NW Federal Highway','34957','Fatal','Homicide','2','2','1','2','Traffic stop','','','','','','','','','Yes','','','','','','Jensen Beach',''),('12/5/2014 13:28:46','KL62','1-08-8239','<NAME> was severely depressed after losing his job. He\'d said goodbye to his family. His family said he wanted St. Lucie deputies to kill him and when he encountered <NAME> and <NAME>, while they were looking for a burglary suspect, he got his chance. They tried to stop him for questioning but he drove away to his ex-girlfriend\'s home nearby. When Bryant got out of his truck, he wielded a large knife and was approaching the front door. Deputies told him to drop it, but he refused and told deputies to shoot him. Rhodes, who had been at the house on a domestic call previously, said he feared the ex-girlfriend would be in danger. What didn\'t get relayed to the deputies was the fact that she wasn\'t home. The person who called 911 had told them she wasn\'t. Rhodes fired and hit him in the face. He survived the shooting. ','Man asks officers to kill him, won\'t drop knife; he\'s shot in face','6/22/2008','1:00:00','16 Galeria Way','34952','Fatal','Homicide','1','1','1','1','Call','Family or domestic disturbance','Yes','','','','','','','','','','','','','Port St. Lucie',''),('12/11/2014 14:24:04','KL64','101-04-007787','St. Lucie County K-9 Deputy <NAME> was assisting a call about shots fired. When he arrived, he saw <NAME> flee on foot. Colton released his K-9, Vasko, to catch Levy. Vasko had Levy down in an open field when Colton approached and heard shots. Levy then pointed the gun at Colton. Colton fired several shots. When Levy raised his hand again, Colton fired several more. Levy was struck several times. Vasko was also struck and died later. ','Suspect downed by K-9 shot by deputy; dog dies','6/24/2004','23:40:00','Tropic Boulevard and Devonshire Drive','34946','Injury','',NULL,'5','1','1','Call','Person with a gun, knife or other weapon','','','','','','','Yes','','','','','K9 dog, Vasko, was shot by the suspect and killed during incident. Levy was sentenced to 3 life sentences. Deputy\'s father was State Attorney.','','Fort Pierce ',''),('12/11/2014 14:54:08','KL65','1-03-011868','Deputy <NAME> saw a driver acting suspicious. When he ran the tag, he discovered the registrant was wanted for several felonies, including attempted first-degree murder. When he attempted to stop the car, the driver fled. When the car pulled to a stop, Stickney had his gun drawn and accidentally shot <NAME> while trying to take him into custody.','Deputy accidentally shoots attempted murder suspect during arrest','10/10/2003','15:00:00','1600 block of south US 1','34950','Fatal','Homicide','1','1','1','1','Self-initiated','','','','','','Yes','','Yes','','','','Yes','Case went to grand jury. They deemed it accidental','','Fort Pierce ',''),('12/12/2014 14:10:36','KL66','1-00-013647','A \"be on the look for\" alert (BOLO) went out over a bank robbery.St. <NAME> <NAME> saw subject\'s car and followed it into a neighborhood. Eventually, <NAME> stopped the car, which had bullet holes, and fled on foot. He looked back at the officers several times and pointed his gun at them before fleeing again. In the chase, Smith came upon Cox, who again pointed his gun directly at the officer. Smith fired twice. Cox ran again through a neighborhood where people were out working or walking around. One lady said hello to the suspect. Cox was eventually caught and taken into custody.','Robbery suspect chased, pass by neighbors; deputy fires twice ','7/18/2000','12:45:00','5302 Suson Lane','34951','Unknown','','2','1','1','1','Call','Robbery or robbery alarm','','','','','','Yes','Yes','','','','','Cox remains in prison','','Fort Pierce',''),('12/12/2014 14:34:51','KL67','','Belle Glade officer <NAME> saw an ATV driver driving erratically. Soon the driver, <NAME>, was on the sidewalk, headed straight for Seiler. The officer held his hand up to stop him, but Moseley hit him in the chest and Seiler ended up on the handle bars as the ATV headed into traffic. Seiler pulled out his gun, firing three times, wounding Moseley then fell off the ATV. Moseley drove away.','Officer shoots after ATV driver charges him, hoisting him onto handlebars','7/4/2000','20:30:00','Southwest Avenue E','33430','Injury','','3','3','1','1','Self-initiated','','','','','','','','','Yes','','','','Officer Seiler transferred to PBSO during take over. Reports say he committed suicide in 2013 after dealing with \"issues.\" Report says he was on a last chance agreement when he took his own life.','','Belle Glade',''),('12/18/2014 12:53:01','KL68','14-00572','Deputy <NAME> and <NAME> responded to a call one afternoon about loud music at a home that was across from an elementary school. When they arrived, the garage door opened and Newman saw <NAME> holding a handgun, appearing to raise it. Newman ordered him to drop the gun but he refused. Hill then began to close the garage; that\'s when Newman fired four shots, striking Hill three times. Police, not sure if they struck Hill, set up a barricade, attempting to talk to Hill for four hours before they realized he was dead.','Deputy wounds man in garage with gun; deputies try to talk to him for 4 hours, but he was dead ','1/14/2014','15:23:00','1501 Avenue Q','34950','Fatal','Homicide','4','3','1','1','Call','Other','','','','','','','','','','','Yes','Police entered into a 4 hour stand off before they realized that Hill was struck and killed by Deputy Newman when he fired 4 shots several hours earlier.','','Fort Pierce',''),('4/15/2015 11:03:18','KL69','Unknown','While responding to an alarm call at a business, Stuart officer <NAME> unintentionally discharged his gun, causing damage to the door of a bathroom stall and the wall. The incident was not reported for three months.','Accidental discharge at alarm call, officer shoots bathroom stall','4/29/2006','2:24:00 AM','726 South Federal Highway','34994','No injuries','','1','','1','','Other','Other','','','','','Yes','','','','','','','The officer and his partner did not report this for 3 months!','Yes','Stuart',''),('8/2/2013 8:47:02','KL7','8029035','Boynton Beach officers, responding to a burglary at CarMax on High Ridge Road, saw two or three men fleeing toward a maroon Dodge Caravan minivan, which they started with a screwdriver. Driver Gene Autry Hall drove toward the officers and ignored orders to stop. Officer <NAME> fired five shots from a .40-caliber Glock. Officer <NAME> fired 12 rounds from his Glock and officer <NAME> spent six rounds from an AR-15 rifle. They hit the van 14 times but none of its occupants. Hall was sentenced to three years for aggravated assault on a police officer and other charges.','Van hit 14 times but suspects escape injury','6/19/2008','1:30:00','1974 High Ridge Road Boynton Beach, FL','33426','No injuries','','23','0','3','0','Call','Burglary or burglary alarm','','','','Yes','','Yes','Yes','','','','','','','Boynton Beach',''),('4/15/2015 11:35:49','KL70','10-05339','Stuart officer <NAME> noticed a robbery when he stopped at a gas station. He went back to his patrol car to get his shotgun. Three black men in hoodies were leaving, He told them to stop. One of the men pointed a gun at him. He fired five times, hitting nothing. The men ran. They were caught in Palm Beach County. They admitted to being responsible for a string of robberies.','Officer opens fire on gas station robbers','5/1/2010','5:28:00 AM','1755 NW Federal Highway','34994','No injuries','','5','0','1','3','Self-initiated','Robbery or robbery alarm','','','','','','','','','','','','','','Stuart',''),('4/17/2015 12:21:43','KL71','2000-3283','Detective Zenelovic responded to a bank robbery in process where Reginald Cox fired a gun and drove to a car wash. Several officers from Vero PD responded to the scene and when Cox was ordered to exit his car, Cox ignored those orders and kept driving. He eventually crashed into a police car. Several officers fired their guns at Cox. Cox fled south and was eventually caught in St. Lucie County.','','7/18/2000','12:33:00 PM','958 20th Place','32960','No injuries','','13 approximately','','3','1','Call','Robbery or robbery alarm','','','','Yes','','','Yes','','','','','Vero PD has no IA file from the incident.','','Vero Beach',''),('4/17/2015 20:08:12','KL73','07-66789','Around 4pm, officers responded to the SunTrust Bank in Roseland in reference to an armed robbery. The suspect fled in a car. That\'s when officers pursued him to a dead end street. The suspect, <NAME> turned the car around and drove toward a road block formed by the officers. Two officers fired. The car chase continued and ended in Grant. Chaney was ordered out of the car, that\'s when he raised his shotgun. Deputy Garner fired three times injuring Chaney. ','','6/28/2007','4:07:00 AM','5120 Honey Lane ','32949','Injury','','8-10','','3','1','Call','Robbery or robbery alarm','','','','Yes','','','Yes','','','','','','','Grant',''),('4/17/2015 20:30:15','KL74','07-113177','Several deputies responded to a disturbance. Upon arrival Byrus Green, who was intoxicated, was in his truck screaming. When he exited deputies asked him to put up both hands, Green put one of his hands behind his back. Deputies tried tasing him twice, once after a deputy tripepd over a piece of wood. Green eventually ran towards Luther with a knife, that\'s when the deputy fired. ','','11/16/2007','10:23:00 PM','4361 33rd avenue','32967','Fatal','Homicide','1','1','1','1','Call','Family or domestic disturbance','','Taser','','','','','','','','','','the case went to a grand jury- no true bill\n','','Vero Beach',''),('4/17/2015 20:44:05','KL75','2008-27736','Deputy initiated a traffic stop. Deputy said he asked Perry for his drivers license and registration. Perry seemed agitated and went to glove box. Deputies saw a gun in the glove box. Deputies told Perry to stay away form gun. Perry reached for the gun that\'s when deputy Garrison tried to grab Perry. Perry turned toward him with his hand on the gun. That\'s when Garrison fired one shot.','','3/2/2008','11:53:00 PM','2390 45th street','32967','No injuries','','1','','1','','Traffic stop','','','','','Yes','','','','','','','','','','Vero Beach',NULL),('5/19/2014 8:17:50','KL8','IR12-257','Deputy <NAME> was called to a fight at the First and Ten Sports Bar. When Suszczynski arrived, he saw <NAME> struggling on the ground with another deputy. Suszczynski pulled out a baton to strike Arango, but it is unclear whether he ever hit him. Suszczynski says he saw a gun in Arango\'s back waist ban and Arango\'s right elbow was pulling back, as if he were going for it. Suszczynski fired twice, killing Arango.','Pickup vignette///','6/7/2012','5:10:00','4956 Le Chalet Boulevard','33436','Fatal','Homicide','2','2','1','1','Call','Other','','','','','','','','Yes','Yes','Yes','Yes','Witness statements didn\'t match officer accounts. Suszczynski\'s older brother is also an officer with PBSO. WPTV profiled Suszczynski and found questionable conduct in past employment files. Suszczynski was also named in a civil suit in which he was alleged to have used excessive force in another case. That case was settled by PBSO.','','Boynton Beach',''),('5/26/2014 9:07:32','KL9','12-05544','<NAME> was speeding away from a high drug area when deputy Cory Speicker attempted to stop him. A chase ensued. As the supervisor told officers to end the pursuit, Margolis rammed Speicker\'s car and as the pursuit continued, he struck another deputy\'s patrol car. Halted by stop sticks, Margolis accelerated as Speicker approached. That\'s when Speicker, deputy <NAME> and Detective <NAME> all fired. Margolis was struck several times but continued to flee before he crashed and tried to run on foot.','Speeding suspect eludes police, rams 2 cars, shot several times','5/23/2012','10:21:00','15th street S/Citrus Avenue, Fort Pierce, FL','34950','Injury','','','','3','1','Traffic stop','','','','','Yes','','','Yes','','','','','Multiple incident details missing.','','Fort Pierce',''),('5/30/2013 15:52:42','LM1','12-025100','Suspected bank robber <NAME> led Boynton Beach police on a chase after officer <NAME> tried to pull him over. Wallace eventually crashed into another car, opened his car door and fired at Reynolds, shooting him in the foot. Reynolds and officer <NAME> returned fire, killing him.','Suspected bank robber shoots officer in foot; officers shoot him dead','6/12/2012','16:45:00','900 N. Railroad Ave. and NE 9th Ave., Boynton Beach, FL','33435','Fatal','Homicide','32','','2','1','Call','Robbery or robbery alarm','','','','Yes','','','Yes','','','','','The investigator on the case was also a witness to it - highly unusual. A cop driving a paddy wagon was disciplined for stopping at the scene with a prisoner in the van. Suspect fired four times.','','Boynton Beach',''),('8/15/2014 11:30:55','LM10','2000-IA-1','<NAME>, wanted for running over and injuring an officer in November 1999, eluded police until Feb. 1, 2000, when he led police on a 15-mile chase that included driving the wrong way on Interstate 95. Boca Raton police Sgt. <NAME> and <NAME> cornered him at Powerline and Glades roads, where they saw him reach for and pull out a gun. They fired 18 times, killing him. Medical examiners found Lewis fired once, into his head, but the bullet didn\'t kill him.','Wanted man cornered, killed; fired one shot into his own head','2/1/2000','11:07:00','Powerline Road and Glades Road','33433','Fatal','Homicide','18','7','2','1','Self-initiated','','','','','Yes','','','Yes','','','','','Officers were not disciplined despite policy violations. Other people were hurt in the chase.','','Boca Raton',''),('11/3/2014 15:27:57','LM100','','Boynton Beach police were helping at a DUI saturation patrol when <NAME> drove up. Officers noticed the smell of marijuana and told him to get out of the car. Flanagan said he \"freaked out\" and put the car in reverse. The car\'s door was open and it struck and dragged officer <NAME>. Munro and officers <NAME> and <NAME> fired into the car, hitting Flanagan. He stopped and was arrested.','Man \'freaked out\' at DUI stop, puts car in reverse, drags officer; officers fire into car, hitting him','10/18/2013','20:15:00','Royal Palm Beach Boulevard and Crestwood Boulevard','33411','Injury','','20','2','3','1','Other','','','','','Yes','','','','','','','','','','Royal Palm Beach',''),('11/3/2014 15:51:04','LM101','','Palm Beach County deputy Adams Lin was on patrol when he spotted Dontrell Stephens on a bicycle and wanted to stop him. Lin followed him as Stephens went down a street, got off the bicycle and moved between two cars. Lin got out of his patrol car and moved toward Stephens, who had a hand in his pockets and probably trying to discard drugs before Lin caught up to him. The deputy, however, perceived Stephens as going for a gun, and he shot Stephens four times. Stephens was unarmed.','Pickup vignette///','9/13/2013','8:25:00','5000 block of Norma Elaine Road','33417','Injury','','4','4','1','1','Self-initiated','','','','','','','','','','','','Yes','Another example of someone trying to discard something - not harm an officer.','','West Palm Beach',''),('11/4/2014 9:36:30','LM102','','Boynton Beach man <NAME> was suicidal and shooting guns into the floor of his home, prompting family and friends to call police. Palm Beach County SWAT officers got into a 5-hour standoff with Dillon, who repeatedly said he wanted to die and urged deputies to kill him. At the end of the standoff, Dillon went outside with two handguns and pointed one at deputies. Deputy <NAME> shot at him four times, hitting him once. Dillon survived.','Man in SWAT standoff urges deputies to kill him, steps outside with guns; deputy wounds him ','8/17/2013','18:40:00','7003 Brunswick Circle','33472','Injury','','4','1','1','1','Call','Other','','','Yes','','','','','','','','','','','Boynton Beach',''),('11/4/2014 11:12:02','LM103','','West Palm Beach police were trying to catch <NAME>, wanted on multiple warrants and for beating up his girlfriend, when they found him in a car outside a home. When they walked up to his car, McCray drove at the officers and pointed a gun at them. Sgt. <NAME> and officer <NAME> fired several times, hitting him once.','Man wanted on several warrants drives at officer, shot once','7/31/2013','22:38:00','1300 block of Alpha Street','33401','Injury','','7','1','2','1','Call','Assault/battery with a gun or other weapon','','','','Yes','','','','','','','','','','West Palm Beach',''),('11/4/2014 11:48:02','LM104','','In a bizarre confrontation, a mentally ill <NAME> walked up to his neighbor, Palm Beach County deputy <NAME> while the deputy was outside his home. Alvarez became angry, balled up his fists and tried to punch McGehee, and the deputy walked back into his garage to get his gun. After repeated warnings to leave and Alvarez continuing to swing at him, McGehee shot Alvarez several times. Alvarez was charged with assault, but was found not mentally competent to stand trial.','Mentally ill neighbor confronts, punches deputy in garage; deputy wounds him','5/8/2013','13:10:00','625 Garden Cress Trail','33411','Injury','','10','6','1','1','Citizen contact','','','','','','','','','','','','','','','Royal Palm Beach',''),('11/4/2014 12:14:09','LM105','','<NAME> carjacked an idling pickup, shoving an 8-year-old out of the vehicle and sparking a police chase. Demps pulled over for a Palm Beach County deputy and got out of the vehicle with his hands up, but then took off running. He hid, crouching, behind a car in a Marriott Hotel parking lot when deputies caught up to him. Demps had his hands around his waistband and didn\'t show them after several orders. <NAME> then shot him twice, killing him, because he said he was afraid Demps was going to pull out a gun. Demps instead was holding a small baggie of drugs.','Suspected carjacker shot, killed at end of chase after he had hands around his waistband','4/20/2013','11:50:00','1001 Okeechobee Blvd.','33401','Fatal','Homicide','2','2','1','1','Call','Stolen vehicle','','','','','','Yes','Yes','','','','Yes','Another case of someone reaching into the waistband - not for a gun, but for drugs.','','West Palm Beach',''),('11/24/2014 15:37:05','LM106','','Two FAU police officers were called after a repairman saw student <NAME> on the roof of a science building on campus. He was pacing back and forth and looking over the edge of the roof as the officers tried to calm him down. At one point, Squire charged at them with a knife. One officer fired a Taser at the same time officer <NAME> shot Squire twice, wounding him.','FAU police shoot man pacing on roof who charged at them with knife','2/8/2013','10:00:00','7301 FAU Blvd.','33431','Injury','','2','2','1','1','Call','Prowler','','','','','','','','','','','','','','Boca Raton',''),('11/25/2014 11:16:46','LM107','','Two Palm Beach Shores officers shot <NAME> after the man, who was naked, grabbed a rifle. Brown had appeared at a neighbor\'s door wearing only a towel around his waist and holding a rifle. He pointed the rifle at the neighbor\'s friend, then at the neighbor. The friend called police, who arrived a few minutes later. Brown had dropped the weapon, but after repeated warnings, grabbed it. Officers <NAME> and <NAME> fired 11 times, wounding him.','Naked man wounded after pointing rifle at neighbor, neighbor\'s friend','12/12/2012','2:50:00','143 Inlet Way','33404','Injury','','11','3','2','1','Call','Person with a gun, knife or other weapon','','','','','','','','','','','','','','Palm Beach Shores',''),('11/25/2014 11:53:47','LM108','','A plan by the West Palm Beach police narcotics squad went awry and led to one person being wounded. Several members of the undercover team planned to sell 20 pounds of marijuana to <NAME> and two other men for $18,000. But when Gavin met them in the Holiday Inn parking lot, he pulled out a gun and tried to rob the undercover officer. The officer said he was police, then pushed Gavin away before shooting three times. Gavin and the other men ran. Other members of the team who were hiding pursued, firing 37 times. Gavin collapsed nearby.','Suspect shot trying to rob undercover officer holding 20 pounds of pot','10/29/2012','14:00:00','1301 Belvedere Road','33405','Injury','','37','4','5','1','Investigation','','','','','','','','','','','','','','','West Palm Beach',''),('11/25/2014 12:24:18','LM109','','<NAME> was shot by a West Palm Beach officer after he fell and kept reaching for a handgun. Someone in the neighborhood called police, reporting Smalls as \"suspicious.\" Officer <NAME> responded and spotted him. Smalls told Williams he was looking for his aunt\'s house, then turned and ran. Smalls had a handgun in one hand and was holding up his pants with the other. But the pants fell around his ankles, tripping him, and the gun fell out of his hand. He kept reaching for the gun and Williams shot him once, wounding him.','Officer wounds \'suspicious\' person who ran, tripped over pants, reached for gun','7/1/2012','13:00:00','1800 block of North Congress Avenue','33401','Injury','','1','1','1','1','Call','Prowler','','','','','','Yes','','','','','','','','West Palm Beach',''),('8/15/2014 11:55:31','LM11','01-5335','Greenacres officer <NAME> returned from patrol duty on March 29, 2001. As he was unloading rounds from his shotgun in the department\'s roll call room, the weapon jammed. Assuming the gun was empty, he pulled the trigger to clear the jam. The shotgun wasn\'t empty, and it fired once into the ceiling, putting a hole through a light fixture. It\'s unclear whether he was disciplined.','Officer cleaning gun shoots out ceiling light fixture','3/29/2001','5:50:00','2995 S. Jog Road','33467','No injuries','','1','0','1','0','','','','','','','Yes','','','','','','','','','Greenacres',''),('11/25/2014 12:49:08','LM110','','Immigration and Customs Enforcement agent <NAME> was off-duty and eating with his girlfriend at a McDonald\'s when <NAME> walked in dressed as a woman and held up the cashier at gunpoint. People fled the restaurant. The agent went to his car to get a gun, then came inside and told Fleming to drop the gun. Fleming pointed the gun at him and Pellot-Soto fired twice, hitting him once in the hip. He fled the restaurant and collapsed nearby.','Off-duty ICE agent shoots suspect holding up McDonald\'s','12/16/2011','23:00:00','2421 Okeechobee Blvd.','33409','Fatal','Homicide','2','1','1','1','Citizen contact','','','','','','','','','','','','','','','West Palm Beach',''),('11/25/2014 13:26:45','LM111','','Murder suspect <NAME> was shot by a Boynton Beach officer while fleeing the scene of the crime, police said. Dabbs, who is accused of killing his boss, had led police on a chase that reached 100 mph. He slowed down at the intersection of Federal Highway and Hypoluxo Road, where officer <NAME> was waiting. Dabbs, who had stopped his van in traffic, pointed a handgun at his head and then at Llopis, the officer said. Llopis fired three times, wounding him.','Murder suspect fleeing the scene shot after aiming gun at his head, then officer\'s','10/26/2011','10:30:00','Federal Highway and Hypoluxo Road','33462','Injury','','3','','1','1','Call','Assault/battery with a gun or other weapon','','','','Yes','','','Yes','','','','','','','Boynton Beach',''),('11/25/2014 14:06:48','LM112','','U.S. Marshals accidentally shot a 30-year-old woman during a shootout with the woman\'s boyfriend. Deputy U.S. Marshal <NAME> and Sean Sandler plus supervisor <NAME> were trying to capture <NAME>, a violent felon, and were scoping out his Boynton Beach home when girlfriend <NAME> pulled up. Herrera came outside and got into the driver\'s seat, and the marshals decided to arrest him. Herrera pulled out a gun and started shooting, and the marshals returned fire, hitting him and Calderin. She was struck five times. Herrera drove away in the car and crashed nearby. Calderin has filed a lawsuit against the agents.Calderin was not mentioned at all in the state attorney\'s report.','Girlfriend of suspect struck five times in shoot-out with Marshals','8/24/2011','19:30:00','212 Lake Monterey Circle','33426','Injury','','','','3','2','Serving warrant','','','','','Yes','','','','','Yes','','Yes','SA\'s statement didn\'t even mention that the girlfriend was shot five times!','','Boynton Beach',''),('11/25/2014 14:25:07','LM113','','Bank robbery suspect <NAME> was shot after leading police on a chase. He finally stopped, and Juno Beach officer <NAME> pulled up behind him. Bittle backed up and rammed the patrol car with his truck. Andrews got out and Bittle backed up a second time, toward the officer, according to police. Andrews said he was afraid he was going to be hit, so he fired into the truck. As Bittle drove away, Andrews fired again because, he said, he believed Bittle was reaching for a gun in the truck.','Juno officer fires at truck that rammed patrol car after chase; driver wounded','10/19/2010','10:30:00','Ellison Wilson Road and Dillone Lane','33408','Injury','','','','1','1','Call','Robbery or robbery alarm','','','','','','','Yes','','','','','','','Juno Beach',''),('12/1/2014 13:02:28','LM114','10-006082','A Palm Springs officer and Palm Beach County firefighter shot and killed a man who had beaten a fellow officer unconscious with the officer\'s own gun. Police were initially called when <NAME>, 35, stole keys from a nearby restaurant and ran away. Palm Springs officer <NAME> tried to stop him with a Taser, but it didn\'t stop Cruz. Cruz grabbed a planter and hit Rua in the head, knocking him to the ground. Cruz then grabbed the officer\'s gun and beat him in the head. Firefighter <NAME> saw the struggle and fired at Cruz with his personal handgun after Cruz pointed the officer\'s gun at him. Officer <NAME> arrived and also fired several times, killing Cruz.','Man fatally shot after he beat officer with his own gun','4/8/2009','7:20:00','3300 block of 2nd Avenue North','33461','Fatal','Homicide','','','1','1','Call','Robbery or robbery alarm','','Taser','','','','Yes','','','','','','','','Palm Springs','1'),('12/1/2014 14:41:15','LM115','PBSO 08-115398','A Palm Beach County deputy shot at a driver in a fatal hit-and-run crash but hit the passenger instead. <NAME> had stolen a Jeep and during the escape, hit and killed a homeless man. Deputy <NAME> spotted the stolen car and chased it to a residential neighborhood. Perez backed the car into a driveway, then drove toward the officer. Paone said he commanded Perez to stop, but witnesses didn\'t hear it. He fired twice into the car, missing Perez but hitting a passenger in the buttocks. Perez was caught and convicted of hitting and killing the homeless man.','Deputy fires at car fleeing fatal hit-and-run, hits passenger','8/24/2008','2:20:00','<NAME> and <NAME>','33406','Injury','','2','1','1','2','Call','Stolen vehicle','','','','Yes','','','Yes','','','','Yes','\"The deputy fired because he was justifiably in fear of his life,\" Barbera said. No mention that the deputy hit a passenger in the car. Nobody else heard the deputy\'s verbal commands.','','West Palm Beach',''),('12/2/2014 15:46:29','LM116','PBSO 05-004524','A Palm Springs officer shot and killed a teenager who tried to cash a bad check and get away. Employees at a Bank of America called police while <NAME> was parked in one of the bank\'s drive-through ATM lanes. Officer <NAME> showed up and parked in front of the drive-through lanes. He got out of his car and Ariot quickly sped away. Rua felt Ariot\'s car was moving toward him and fired three shots, killing him. Evidence and witnesses, however, showed that he fired from the side of the car and behind it, indicating that the vehicle was not an immediate threat to him.','Teen trying to cash bad check at bank drive-through fatally shot as he tried to flee','9/9/2005','16:06:00','1758 S. Congress Ave.','33461','Fatal','Homicide','3','2','1','1','Call','Other','','','','Yes','','','','','Yes','','Yes','Evidence showed that he fired from the side and behind the car.','','Palm Springs',''),('12/4/2014 12:29:36','LM117','08-000467','A Lake Worth officer shot a man who advanced on him while wielding a barbecue fork. Police were called to the man\'s home for a stabbing and found <NAME>\'s roommate stabbed and bleeding in the street. Velasquez came out of his home with a barbecue fork and moved on officer <NAME> and his sergeant. They told him to drop the knife. When he didn\'t, Stull shot three times, wounding him.','Officer wounds man wielding barbecue fork after roommate stabbed','1/23/2008','0:40:00','227 S. F St.','33460','Injury','','3','2','1','1','Call','Assault/battery with a gun or other weapon','','','','','','','','','','','','','','Lake Worth',''),('12/4/2014 13:15:03','LM118','06-003559','A Palm Springs officer shot and wounded a gun-wielding man outside a taco stand. Officers were on routine patrol when they heard a loud argument outside. One of the men, <NAME>, had a gun.The two men had been thrown out of a nightclub nearby for being drunk and arguing and happened to meet up at the taco stand. Police gave Pineda several orders to drop the gun. Officer <NAME> then shot him with a Taser, which didn\'t stop him. He then fired five times, hitting him twice.','Palm Springs officer wounds man with gun outside taco stand','8/7/2006','5:30:00','3400 block of Lake Worth Road','33461','Injury','','5','2','1','1','Self-initiated','','','Taser','','','','','','','','','Yes','\"This guy (officer) was in fear of his life, his partner\'s life. We have an armed adversary standing there with a loaded gun. I don\'t think it\'s fair to question at this point whether or not he should\'ve shot,\" Barbera said.','','Palm springs',''),('12/4/2014 14:25:16','LM119','','An FAU officer shot a student who was on a rampage in a dormitory parking lot. <NAME>, 21, was punching car windshields, breaking car mirrors and smashing a stop sign by the time two FAU officers arrived. They tried to calm him down, but he spat on officer <NAME> and lunged at her. She fired twice, wounding him.','FAU officer wounds student on rampage in parking lot who lunged at and spat on her ','2/8/2006','0:30:00','815 Indian River St.','33431','Injury','','2','2','1','1','Call','Other','','','','','','','','','','','','','','Boca Raton',''),('8/15/2014 14:02:58','LM12','01-358','<NAME> was shot and killed in a wooded area after being seen robbing a Washington Mutual Bank. Palm Beach County Sheriff\'s Sgt. S<NAME> fired several times after he said Young threatened police with what appeared to be a pipe bomb. Young also shot himself. A note found in Young\'s motel room indicated he wanted to commit suicide by cop. ','Man who sought \'suicide by cop\' gets his wish','12/14/2001','22:30:00','Okeechobee Boulevard and Haverhill Road','33417','Fatal','','','4','1','1','Call','Robbery or robbery alarm','','','Yes','','','','Yes','','','','','D/S Micochero (no first name given) also fired, but impossible to tell which deputy they\'re talking about. Location is unclear, manner of death is unclear. Don\'t know how many shots were fired.','','West Palm Beach',''),('12/4/2014 15:04:47','LM120','PBSO 05-005482','An Atlantis officer shot a man when he tried to grab the officer\'s weapon.Officer <NAME> saw a truck pulled over to the side of the road across from JFK Medical Center. When another officer arrived, he walked up to the car and saw beer bottles and a gun inside. He told the three people inside to get out of the car, and when he began handcuffing them, <NAME> tried to grab his gun. Sluman shot him once in the arm.','Atlantis officer shoots man trying to grab his gun','11/12/2005','2:50:00','5367 S. Congress Ave.','33462','Injury','','1','1','1','1','Self-initiated','','','','','','','','','','','','','','','Atlantis',''),('12/8/2014 12:02:07','LM121','PBSO 05-091224','A Lake Worth officer shot and killed a man who earlier pointed a gun at a motorist. The motorist had called police after <NAME> II drove past him and pointed a gun. The motorist followed him and saw what happened next. Barber got out of the car and started walking up the street. Officer <NAME> pulled up and told Barber several times to drop the gun. Barber didn\'t drop the gun and Moral fired twice. Barber ran and Moral fired a third time. Barber ran a short distance before he collapsed. Neither police nor prosecutors ever learned why Moral fired - on his lawyer\'s advice, he declined to give any statement to investigators.','Lake Worth officer kills man when he won\'t drop gun','7/21/2005','22:00:00','Boutwell Road and 2nd Avenue North','33461','Fatal','Homicide','3','1','1','1','Call','Assault/battery with a gun or other weapon','','','','','','','','','','','Yes','The officer never gave a statement or walk-through statement to police.','','Lake Worth',''),('12/8/2014 12:39:08','LM122','PBSO 05-004525','A Jupiter officer shot and killed an unarmed man during an undercover drug sting operation. Officer <NAME> was part of a multi-agency operation that included the Drug Enforcement Administration. They planned to arrest suspect <NAME>oks in a Days Inn parking lot by luring him with $80,000 in marijuana that he could buy. When Brooks arrived, officers swarmed in to arrest him. Bruno said Brooks made a move toward his waistband, prompting Bruno to shoot once, killing him. There were several problems with the investigation, however. Investigators didn\'t get a statement from Bruno until the next day because he left the crime scene. DEA agents also moved at least one vehicle from the crime scene and tampered with evidence.','Jupiter officer kills unarmed man in drug sting','8/5/2005','1:00:00','2300 45th St.','33407','Fatal','','1','1','1','1','Investigation','','','','','','','','','','','','Yes','There were many problems with the investigation. The officer went to the hospital before speaking to investigators. The DEA moved at least one vehicle at the crime scene and disturbed evidence.','','West Palm Beach',''),('12/8/2014 14:34:10','LM123','05-001131','In one of the most controversial police shootings in the past 15 years, rookie Delray Beach officer <NAME> shot and killed 16-year-old <NAME> while the teen was driving through the parking lot of the Delray Full Service Center during a school dance. Miller didn\'t have a license. The teen tried to get away from Cogoni, who fired twice, hitting him once in the head and killing him. The officer said he fired to prevent Miller from driving into a large group of kids, but none of the 38 witnesses interviewed by police supported his statement. At the time, Cogoni was a probationary employee so he was fired. ','Delray officer fatally shoots teen outside school dance when teen won\'t stop car','2/26/2005','21:00:00','301 SW 14th Ave.','33444','Fatal','Homicide','2','1','1','1','Self-initiated','','','','','Yes','','','','','Yes','','Yes','Settled for $1 million. Krischer was scrambling to avoid prosecuting the cop. He avoided the inquest judge\'s decision, then sent it to a grand jury, where they didn\'t indict. THIS IS A LIE: Without a law enforcement agency\'s finding of criminal wrongdoing, Edmondson said, the office cannot file charges. Cogoni was dismissed without cause since he was still on probation.','','Delray Beach',''),('12/8/2014 15:38:02','LM124','','Delray Beach police shot and killed one man and wounded another while the men were trying to get away from police. Police were called to a $2 million home by its owner, who had previously bought drugs from two men but now wanted them off his property. Officers <NAME> and <NAME> arrived and the suspects, <NAME> and <NAME>, got in their car and tried to escape through the parking lot. In their escape, they drove toward Cramer, who thought he was going to be hit by the car. Cramer and Kology fired 16 times, killing Brown, who was driving, and wounding Stevens.','2 drug dealers escape officers at $2 million home; police fire after car comes at them, killing driver','10/16/2004','12:00:00','715 S.E. 10th St.','33483','Fatal','Homicide','16','8','2','2','Call','Prowler','','','','Yes','','','','','Yes','','','If the officer had no place to go, how was he not hit?','','Delray Beach',''),('12/8/2014 16:33:32','LM125','','Two Boca Raton officers tried to pull over suspects in a bank check scam and ended up shooting at them as they fled. <NAME> stopped the car at an intersection, but when officer <NAME> walked up to the car, Bell drove to the left to get out of the way. Wendlick fell trying to get out of the way, and she fired a single shot that missed. Officer <NAME> fired several more times at the fleeing vehicle, hitting Bell in the hand. The other rounds shot out the back window and a tire.','Boca officers fire at fleeing vehicle from intersection; one officer hit in hand','4/25/2003','10:00:00','Yamato Road and Dixie Highway','33487','Injury','','','1','2','1','Call','Other','','','','Yes','','','','','','','Yes','Very scant details in this case. The justification is tenuous at best - the rounds were all into the back of the vehicle. NOTE: Time is just a wild guess.','','Boca Raton',''),('12/9/2014 9:29:40','LM126','','Delray Beach officer <NAME> shot and killed a man who used an umbrella disguised as a gun to rob a drug store. <NAME> had stolen $3,100 in Oxycontin using an umbrella wrapped in a jacket, which appeared to be a gun. He hopped into a cab, which was pulled over by Jacobson. When Vosburgh got out of the car, he turned toward the officer with the umbrella and coat. Jacobson, believing it to be a gun, fired once, hitting him in the stomach and killing him.','Robber with umbrella disguised as gun shot, killed by officer','7/12/2002','12:00:00','1001 S. Congress Ave.','33445','Fatal','Homicide','1','1','1','1','Call','Robbery or robbery alarm','','','','','','','','','Yes','','','The city later settled for $12,500.','','Delray Beach',''),('12/9/2014 11:44:00','LM127','','Frederick Royal stole shoes and fled, prompting police to chase him into a sugar cane field. Belle Glade officer <NAME> struck him with his patrol car. He pulled Royal off the car before Royal tried to run away. Keith grabbed him, and Royal spun around and pulled out a knife, Keith said. He shot Royal once and arrested him. Royal denied having a weapon.','Suspect chased into sugar field pulls out knife; officer shoots him','6/6/2002','9:00:00','1100 block of South Main Street','33430','Injury','','1','1','1','1','Call','Burglary or burglary alarm','','','','','','','','','','','','Deputy was caught having sex with another deputy\'s wife while on-duty. IA busted him for standard of conduct, procedures and failure to report for duty.','','Belle Glade',''),('12/9/2014 12:19:50','LM128','','<NAME>, a young father of three, was suicidal when his father called Lake Worth police. SWAT officers arrived and talked with Palmer for hours, until he walked outside his home with a handgun. At one point, he turned around, pointed the gun at his chest and pulled the trigger. The action prompted Sgt. <NAME> to fire once, hitting him in the chest and killing him. Kane said he didn\'t know Palmer had shot himself and was concerned he was shooting at police.','Suicidal man surrounded by officers, shoots himself in chest; sergeant shoots him, killing him','1/2/2002','14:40:00','1014 Cochran Dr.','33461','Fatal','Homicide','1','1','1','1','Call','Suicide or suicide attempt','','','','','','','','','','','','Krischer called it \"yet another classic case of \'suicide by cop,\'\" but it wasn\'t suicide by cop if he shot himself, does it?','','Lake Worth',''),('12/9/2014 13:08:05','LM129','','A West Palm Beach officer shot a hit-and-run driver who police said drove at him. Officer <NAME> was on the lookout for <NAME>\'s sedan, which had just fled a hit-and-run crash. He saw it stopped. When Spatara walked up to the car, he said Holman drove at him, causing him to shoot once, wounding Holman. Holman crashed and was arrested soon after.','Officer wounds driver who fled hit-and-run ','9/8/2001','4:00:00','1100 block of Palm Beach Lakes Boulevard','33401','Injury','','1','1','1','1','Call','Other','','','','Yes','','','','','','','','','','West Palm Beach',''),('8/15/2014 14:38:51','LM13','02-027','An undercover FBI agent spotted murder and robbery suspect <NAME> in a shopping center and called police. PBSO deputies responded, and Lt. <NAME> shot Wegrich after he said Wegrich reached behind his back, as if for a weapon. A BB gun was in his back pocket. Lake Worth police later determined that Wegrich was responsible for his ex-girlfriend\'s strangling death a few months earlier.','Man armed with BB gun, later implicated in slaying, gunned down','1/23/2002','8:25:00','6300 Lantana Road','33463','Fatal','Homicide','1','1','1','1','Self-initiated','','','','','','','','','','','','','','','Lake Worth',''),('12/23/2014 7:23:55','LM130','','A Delray Beach officer shot a man in the arm after the man slammed the officer to the ground and kicked him in the head. Officer <NAME> was patrolling a housing development when he came across <NAME>. Beckham was sitting in a car that had the ignition punched out - a sign the car had been stolen. Beckham got out of the car as ordered, but while Kelley was patting him down, Beckham attacked him, throwing him to the ground and kicking him in the face. Kelley pulled out his gun and fired once, wounding Beckham. ','Officer wounds man who slammed him to the ground, kicked him in head','7/22/2001','13:45:00','507 NW 12th Ave.','33444','Injury','','1','1','1','1','Self-initiated','','','','','','','','','Yes','','','','','','Delray Beach',''),('12/29/2014 11:13:34','LM131','2013-6214','A West Palm Beach officer shot at and missed a man he thought was a burglar. Officer <NAME> was patrolling South Dixie Highway because the area had been hit by burglars recently. He came across <NAME>, who had just nailed to a light pole a sign advertising his yard sale. Picerno saw Oser with the hammer and believed the man might be a burglar. He shined his patrol car\'s spotlight on Oser, and Oser, wanting to be compliant with police, started walking toward the car. Picerno got out and said he shouted several times for Oser to stop and drop the hammer. Oser said he didn\'t hear anything until a gunshot rang out, and he dropped to the ground. West Palm Beach Internal Affairs said videos of the incident \"do not show Mr. Oser acting in an aggressive or threatening manner,\" and they ruled the shooting not justified. Picerno was told about the department\'s Employee Assistance Program and required to have an interview with the department psychologist before he returned to duty.','West Palm officer shoots at man nailing up yard sale signs with hammer','4/13/2013','6:30:00','400 block of Avenida Alegre','33405','No injuries','','1','0','1','1','Self-initiated','','','','','','','','','','','','Yes','West Palm actually found this shooting out of policy.','Yes','West Palm Beach',''),('1/14/2015 15:06:16','LM132','','A PBSO deputy shot and killed a screwdriver-wielding man after police said he charged the deputy. Deputy <NAME> responded to a call of an \"armed disturbance\" at an apartment complex in suburban Boca Raton. He arrived and saw <NAME> standing next to a car with a \"very disturbed look on his face,\" according to a police press release. Pollow was asked to take everything out of his pockets and put it on the car, which he did. But as he walked toward Rosenthal, Pollow turned around and grabbed a screwdriver that he\'d just removed from his pants and rushed at the deputy. Rosenthal fired, killing him.','Man fatally shot after running at deputy with screwdriver','4/2/2014','21:20:00','23126 Post Gardens Way','33433','Fatal','Homicide','','','1','1','Call','Person with a gun, knife or other weapon','','','','','','','','','','','','','','Boca Raton',''),('3/13/2015 14:40:39','LM133','','Palm Beach County deputy <NAME> had a suspect at gunpoint before holstering his weapon. When he did, his gloved index finger slipped inside the trigger guard, causing it to shoot once into the ground. No one was hurt.','Deputy holding suspect at gunpoint tries to holster it but accidentally hits trigger','1/5/2009','8:00:00 PM','5292 Pine Meadows Road','33463','No injuries','','1','0','1','0','Call','Prowler','','','','','Yes','','Yes','','','','','','','Lake Worth',''),('3/15/2015 10:18:48','LM134','','Palm Beach County deputy <NAME> was at home when he said he bumped his department-issued weapon against the table, causing it to fire. He was disciplined for not immediately notifying a supervisor; he called Internal Affairs unit instead.','Deputy\'s gun fires when he bumps it against table at home','1/8/2009','9:11:00 PM','(unknown)','(unknown)','No injuries','','1','0','1','0','','','','','','','Yes','','','','','','','He did not comply with policy to report it immediately to supervisor','Yes','',''),('3/16/2015 5:10:02','LM135','','A Palm Beach County deputy shot at a fleeing robbery suspect during a car chase. Deputy <NAME>, then a member of a gang task force, was riding with another deputy and a West Palm Beach officer when they heard West Palm Beach police were pursuing robbery suspects into Riviera Beach. Calabro was in an unmarked vehicle, and they decided to discretely follow the suspects when West Palm Beach police stopped pursuing them. The suspects shot at the officers during the pursuit, and Calabro fired back twice. It\'s unclear whether the suspects were ever found.','Gang task force deputy shoots at suspects who shot at police during car chase','2/17/2007','2:00:00 AM','Australian Avenue and W. 13th Street','33404','Unknown','','2','0','1','1','Call','Robbery or robbery alarm','','','','Yes','','','Yes','','','','','','','Riviera Beach',''),('3/16/2015 5:44:50','LM136','','Two Palm Beach County deputies fired their rifles during a standoff with a suicidal U.S. Customs and Border Protection agent. While outside the home, deputy <NAME> shot out a yard light with his AR-15 rifle, which could have gone through the walls of the house. The light was letting the suicidal agent see police. Lt. <NAME> shot at the agent when he came outside the home and pointed a handgun at deputies. Lamm shot at the light -- a violation of policy -- after Burdick told him to. Lamm also didn\'t immediately tell a supervisor he had fired the rifle, another violation of policy. The internal affairs division ultimately ruled that he did not violate policy. Burdick was found to have had an unauthorized accessory on his rifle. ','Deputy shoots out light at home of suicidal U.S. Customs agent ','12/27/2009','1:30:00 AM','Okeechobee Boulevard and Jog Road','33411','No injuries','','2','0','2','1','Call','Suicide or suicide attempt','','','','','','','','','','','Yes','This was a much more thorough review than for a normal shooting.','','West Palm Beach',''),('3/16/2015 5:57:29','LM137','','Palm Beach County deputy <NAME> shot twice at a man he said drove at him. Carreiro had tried to pull over the unidentified suspect for speeding. The suspect fled and parked his car in a driveway. When Carreiro approached the car on foot, the suspect drove in the direction of the deputy. The deputy didn\'t hit the car with his gun.','Deputy fires at suspect he says drove his way','11/21/2007','11:00:00 PM','4782 Kirkwood Road','33461','No injuries','','2','0','1','1','Self-initiated','','','','','Yes','','','Yes','','','','','','','Lake Worth',''),('3/16/2015 6:13:28','LM138','','A Palm Beach County deputy shot at an armed carjacking suspect during a foot pursuit. During the chase, the unnamed deputy said he fired three times when <NAME> turned toward him with a handgun. Steward wasn\'t hit.','Deputy fires at carjacking suspect during foot chase, misses','5/14/2007','1:37:00 AM','1011 Old Dixie Highway','33404','No injuries','','3','0','1','1','Citizen contact','','','','','','','Yes','','','','','','','','Riviera Beach',''),('3/16/2015 6:25:24','LM139','','Palm Beach County deputy <NAME> accidentally fired a round from his department-issued handgun during an argument with his brother-in-law. The incident started when Ramirez\'s wife didn\'t like the fact that Ramirez wanted to sleep with the gun under his pillow. Her brother, who was in the home, came to her aid and tried to get the gun from under the pillow. During a struggle over the gun, it went off harmlessly. When police arrived, they found Ramirez had also struck his wife, and he was arrested. He was fired for failing to complete his probationary period at the sheriff\'s office.','Deputy\'s gun goes off at home in struggle started by stowing it under pillow','11/29/2009','4:23:00 AM','(unknown)','(unknown)','No injuries','','1','0','1','0','','','','','','','Yes','','','','','','','','Yes','',''),('8/15/2014 15:26:03','LM14','','PBSO Cpl. Dererk Savage pulled over <NAME> on a Belle Glade street on Sept. 15, 2002. Wilson, who was wanted on a warrant for contempt of court, tried to escape, and Savage grabbed him. They fought and Savage shot him in the back of the head. Wilson survived.','Wanted man runs, fights, shot in head','9/15/2002','21:21:00','300 SW 3rd St.','33430','Injury','','1','1','1','1','Traffic stop','','','','','','','','','Yes','Yes','','','','','Belle Glade',''),('3/16/2015 6:48:07','LM140','','Off-duty Palm Beach County deputy <NAME> shot and killed a man he said tried to rob him in Miami Beach. Clayton was with his girlfriend and in a lifeguard tower when <NAME> of Massachusetts approached them, pulled out a knife and demanded money. Clayton ended up shooting him in the stomach, killing him. The Palm Beach County Sheriff\'s office didn\'t investigate, saying Clayton was off-duty and acting as a citizen, not an officer. Miami-Dade prosecutors said the shooting was justified.','Off-duty deputy shoots, kills man in Miami Beach','3/16/2009','10:00:00 PM','8th Street and Ocean Drive','33139','Fatal','Homicide','2','1','1','1','Citizen contact','','','','','','','','','','Yes','','','No investigation was done.','','Miami Beach',''),('3/16/2015 7:01:33','LM141','','Palm Beach County deputy Trevor Watson was shot in the chest while investigating a suspicious person. Watson spotted the suspect walking behind a trailer and stopped to investigate. When he looked around the trailer, the suspect fired once, hitting him in the chest. The round was stopped by his protective vest. Watson returned fire four times. It\'s unclear whether the suspect was hit. He was never found.','Suspect fires at deputy, hitting his protective vest; deputy fires back','5/18/2007','11:34:00 PM','7102 Seacrest Blvd.','33462','Unknown','','4','0','1','1','Self-initiated','','','','','','','','','','','','','','','Lantana',''),('3/16/2015 13:17:01','LM142','','Palm Beach County deputy <NAME> accidentally fired his weapon while he was chasing a drug suspect. He was running with his gun in his hand when he stopped to holster it so he could climb a fence. While he was holstering it, the gun fired once. Nobody was injured.','Deputy in chase tries to holster gun, but it fires off a round','3/30/2007','3:00:00 PM','618 16th St. East','33407','No injuries','','1','0','1','0','','','','','','','Yes','Yes','','','','','','','','West Palm Beach',''),('3/16/2015 13:41:06','LM143','','Palm Beach County deputy <NAME> accidentally fired his AR-15 rifle while stowing it in the back of his patrol car after responding to a call. The round went through the back of the patrol car. No one was injured and Curci was recommended for remedial training.','Deputy accidentally fires rifle into back of patrol car','2/21/2008','11:34:00 PM','1035 Palm Beach Road','33493','No injuries','','1','0','1','0','','','','','','','Yes','','','','','','','','Yes','South Bay',''),('3/16/2015 13:46:37','LM144','','Palm Beach County deputy George Long accidentally fired a round into the ceiling of his home while he was cleaning his handgun. No one was injured.','Deputy cleaning shotgun at home accidentally fires into ceiling','11/20/2008','6:35:00 PM','(officer\'s home)','(officer\'s home)','No injuries','','1','0','1','0','','','','','','','Yes','','','','','','','','','Riviera Beach',''),('3/16/2015 14:04:43','LM145','','While waiting for backup on a call, Palm Beach County deputy <NAME> slung his AR-15 rifle across his body. The trigger of the rifle struck his Taser, causing the gun to fire once into the ground. Nobody was injured. Rivera was recommended for remedial training.','Deputy\'s rifle hits his Taser; gun goes off','8/1/2009','1:15:00 AM','100 Business Parkway','33411','No injuries','','1','0','1','0','','','','','','','Yes','','','','','','','','','Royal Palm Beach',''),('3/16/2015 14:11:21','LM146','','Palm Beach County deputy George Mastics accidentally shot himself in the hand while at home. He was treated at a hospital.','Deputy accidentally shoots himself in hand at home','2/5/2010','3:30:00 PM','(officer\'s home)','(officer\'s home)','Injury','','1','0','1','0','','','','','','','Yes','','','','','','','','','Palm Beach Gardens',''),('3/16/2015 14:21:31','LM147','','Palm Beach County deputy <NAME> accidentally fired a round from her AR-15 rifle while she was trying to load it. The round went into the driver\'s seat of her patrol car. No one was injured.','Deputy trying to load rifle accidentally fires it','12/11/2008','4:35:00 PM','600 4th St. SW','33476','No injuries','','1','0','1','0','','','','','','','Yes','','','','','','','','','Pahokee',''),('3/16/2015 14:28:18','LM148','','At the end of a pursuit with Palm Beach Gardens officers, Palm Beach County deputy <NAME> accidentally fired a round from his weapon. He was recommended for remedial handgun training.','Accidental discharge by deputy at end of chase','1/26/2001','12:30:00 AM','(unknown)','(unknown)','No injuries','','1','0','1','0','','','','','','','','','','','','','','','Yes','',''),('3/16/2015 14:53:22','LM149','','Palm Beach County deputy <NAME> thought he had unloaded his shotgun. He pointed it toward the ceiling and pulled the trigger to check in the department\'s motor pool. A round went into the ceiling. No one was injured. Falsia received a two-day suspension and remedial training.','Deputy checking shotgun points it at ceiling, pulls trigger','5/2/2001','10:20:00 AM','3350 Gun Club Road','33406','No injuries','','1','0','1','0','','','','','','','Yes','','','','','','','','Yes','West Palm Beach',''),('8/18/2014 14:16:05','LM15','IA 03-002','Several West Palm Beach police officers responded to a burglary at The Cafe Joshua, where they found a man in a stolen white van behind the restaurant. The officers, including <NAME>, walked to the van. The driver backed up, almost hitting another officer, and Jenne fired three times at the driver, who sped away. It\'s unclear whether the driver was hit -- he was never caught.','Three shots fired, suspect never caught','3/2/2003','3:36:00','2808 N. Australian Ave.','33407','Unknown','','3','','1','1','Call','Burglary or burglary alarm','','','','Yes','','','','','','','','','','West Palm Beach',''),('3/16/2015 15:31:29','LM150','','A Palm Beach County deputy shot at a burglary suspect after the suspect dragged him with a car. Deputy <NAME> spotted <NAME> and a woman trying to break into a car. When he tried to stop them, Santiago got in a car and backed into the deputy, dragging him a short distance. Morency fired four times, with two rounds going into the car. No one was injured. Santiago was arrested after a 25-minute chase. ','Deputy dragged by car, shoots 4 times; no one hit','5/20/2001','4:25:00 AM','2677 Forest Hill Blvd.','33406','No injuries','','4','0','1','1','Self-initiated','','','','','Yes','','','','','','','','Morency\'s first name is spelled \"Jerard\" in clips.','','West Palm Beach',''),('3/16/2015 17:50:58','LM151','','A man accused of killing his ex-girlfriend was shot and wounded after he failed to show up for a court appearance. Palm Beach County deputies were called to his Boynton Beach apartment, where they found him in the bedroom with a knife in his chest. As they approached him, he grabbed a gun and pointed it at them. Deputy <NAME> fired once, hitting him in the torso. The wound eventually killed him.','Man with knife in chest, pointing gun at deputies, is killed ','5/29/2001','10:00:00 AM','9873 Lawrence Road','33436','Fatal','Homicide','1','1','1','1','Serving warrant','','','','','','','','','','','','','','','Boynton Beach',''),('3/16/2015 17:59:37','LM152','','Palm Beach County deputy <NAME> accidentally fired his handgun in the parking lot of the South Bay police station. When he was holstering the weapon, his leather holster strap caught in the trigger, causing it to fire.','Deputy accidentally fires gun in police station parking lot','6/20/2001','7:30:00 AM','335 SW 2nd Ave.','33493','No injuries','','1','0','1','0','','','','','','','Yes','','','','','','','','','South Bay',''),('3/16/2015 18:05:12','LM153','','While he was struggling to arrest a suspect, Palm Beach County deputy <NAME> accidentally fired his handgun. The round damaged a window frame.','Accidental discharge during struggle to arrest person','3/27/2002','12:00:00 PM','(unknown)','(unknown)','No injuries','','1','0','1','0','','','','','','','Yes','','','','','','','','','',''),('3/16/2015 18:22:30','LM154','','A Palm Beach County corrections officer shot his girlfriend while the two argued in his car. Deputy <NAME> said the shooting was accidental. The girlfriend first told police that he intentionally shot her after she said she was breaking up with him. Then she changed her story to say it was an accident. After his arrest, the sheriff\'s office fired him. He eventually pleaded guilty to attempted manslaughter.','Corrections officer pleads guilty to attempted manslaughter for shooting girlfriend','7/17/2002','6:50:00 PM','5349 Okeechobee Blvd.','33417','Injury','','1','1','1','1','Self-initiated','','','','','','','','','','','','','','Yes','West Palm Beach',''),('3/16/2015 18:39:22','LM155','','A member of the Palm Beach County Sheriff\'s office auto task force accidentally shot himself in the hand. <NAME> was walking up to a vehicle with someone sleeping inside when he drew his handgun and accidentally shot himself in his right hand.','Deputy accidentally shoots himself in hand as he approached car','1/17/2003','2:10:00 AM','(unknown)','(unknown)','Injury','','1','0','1','0','','','','','','','Yes','','','','','','','','','',''),('3/16/2015 18:47:08','LM156','','A Palm Beach County corporal accidentally fired his weapon while running after a suspect. Cpl. <NAME> was trying to hop over a fence when he fell, causing the gun to fire. No one was injured.','Corporal\'s gun goes off during chase','2/5/2003','1:30:00 PM','2644 Saginaw Ave.','33409','No injuries','','1','0','1','0','','','','','','','Yes','Yes','','','','','','','','West Palm Beach',''),('3/16/2015 18:52:59','LM157','','Palm Beach County deputy <NAME> accidentally fired her weapon. Further information wasn\'t available on this incident.','Scant detail on deputy\'s accidental shooting','3/21/2003','12:00:00 PM','(unknown)','(unknown)','No injuries','','','','1','','','','','','','','Yes','','','','','','','','','',''),('3/17/2015 8:25:46','LM158','','Palm Beach County deputy <NAME> shot three times at a vehicle whose driver allegedly tried to run over him during a traffic stop.','Deputy fires 3 times at driver who tried to hit him','5/26/2003','12:20:00 AM','(unknown)','(unknown)','No injuries','','3','0','1','1','Traffic stop','','','','','Yes','','','','','','','','Possible subjects: SHUGARS, GREGORY J; MCFADDEN, MARCUS C; TOPPS, STEVEN W; ','','',''),('3/17/2015 10:35:37','LM159','','Palm Beach County deputy Gerald Propst shot at a man who didn\'t stop when he tried to pull him over. The man drove for a mile and then stopped. At some point, Propst said the man drove at him, prompting the deputy to fire four times into the car. He surrendered peacefully.','Deputy fires at man who won\'t pull over','5/31/2003','12:00:00 PM','26.719011, -80.088718','33409','No injuries','','4','0','1','1','Traffic stop','','','','','Yes','','','Yes','','','','','','','West Palm Beach',''),('8/18/2014 15:26:30','LM16','03-321','Palm Beach County Sheriff\'s deputies were called to an apartment by a woman whose ex-boyfriend was trying to break in. The man, <NAME>, left, and police found him in the parking lot, where he was holding a gun to his head and threatening to kill himself. As a deputy was trying to calm him down, Lt. <NAME> saw Sanchez point a gun at the deputy, and he fired once, killing Sanchez.','Suicidal ex-boyfriend slain with one shot','5/28/2003','20:45:00','2892 Tennis Club Dr.','33417','Fatal','Homicide','1','1','1','1','Call','Burglary or burglary alarm','','','','','','','','','','','','Name is WILMER, not Wilner, as reports stated.','','West Palm Beach',''),('3/17/2015 10:49:28','LM160','','Palm Beach County Sgt. <NAME>s shot at a moving vehicle. More information about this incident is not available.','Sheriff\'s sergeant shoots at moving vehicle','9/6/2003','12:00:00 PM','(unknown)','(unknown)','Unknown','','','','1','1','','','','','','Yes','','','','','','','','','','',''),('3/17/2015 11:47:05','LM161','','Two Palm Beach County deputies fired on a man after he backed his car into one of them and drove away. Sgt. <NAME> and deputy <NAME> approached a car in a Walgreens parking lot that they suspected had drugs inside. <NAME> was in the passenger\'s seat, but when they approached, he shifted to the driver\'s seat and backed the car out of a parking space, striking Dempsey. Dempsey and Tramonte fired on the car as Simon was driving away.','Man backs car into deputy; 2 fire on him as car drove away','11/16/2003','5:50:00 PM','(unknown)','(unknown)','No injuries','','','0','2','1','Self-initiated','','','','','Yes','','','','','','','','Dempsey was in a 1998 fatal shooting.','','',''),('3/17/2015 11:56:50','LM162','','Palm Beach County Sgt. <NAME> received a weeklong suspension and was demoted for an accidental shooting. The agency found he \"failed to handle his duty firearm in a careful and prudent manner.\"','Sergeant demoted over accidental shooting','1/26/2004','4:45:00 PM','(unknown)','(unknown)','No injuries','','','0','1','0','','','','','','','Yes','','','','','','','','Yes','',''),('3/17/2015 12:22:38','LM163','','Palm Beach County deputy <NAME> shot at a vehicle while conducting a \"felony traffic stop.\" The circumstances surrounding this shooting are unclear.','Deputy shoots at vehicle during \'felony traffic stop\'','3/29/2004','12:00:00 PM','(unknown)','(unknown)','Unknown','','','','1','','Traffic stop','','','','','Yes','','','','','','','','','','',''),('3/17/2015 12:29:27','LM164','','Palm Beach County deputy <NAME> accidentally fired his weapon in his home. He was given counseling.','Deputy reports accidental discharge at home','3/30/2006','8:45:00 AM','(officer\'s home)','(officer\'s home)','No injuries','','1','0','1','0','','','','','','','Yes','','','','','','','','','West Palm Beach',''),('3/17/2015 12:41:21','LM165','','Palm Beach County deputy <NAME> received a written reprimand for not immediately reporting an accidental discharge of his duty weapon in his home. No further details available.','Deputy reprimanded for not reporting accidental shooting immediately','7/27/2006','10:00:00 PM','(officer\'s home)','(officer\'s home)','No injuries','','1','0','1','0','','','','','','','Yes','','','','','','','','Yes','',''),('3/17/2015 14:15:29','LM166','','A West Palm Beach officer shot and killed a burglar who moved toward him with a knife. Officer <NAME> was responding to a call about a suspicious person when he came across <NAME> walking out of someone\'s garage armed with a knife. Leonard told Hollis to stop, but Hollis moved toward him, prompting the officer to fire once, killing him.','Man walking out of garage with knife shot, killed','7/12/2001','7:45:00 AM','109 Flagler Lane','33407','Fatal','Homicide','1','1','1','1','Call','Prowler','','','','','','','','','','','Yes','This was Leonard\'s third shooting and second fatal one.','','West Palm Beach',''),('3/17/2015 17:15:23','LM167','','West Palm Beach police officer <NAME> shot <NAME> after the officer said Andrews drove at him. But the judge in Andrews\' criminal trial doubted MacVane\'s story and twice threw out criminal convictions against Andrews. The evidence showed MacVane shot Andrews while the man was driving away from him.','Officer\'s story doubted by judge in suspect\'s trial','1/6/2000','7:00:00 PM','430 21st St.','33407','Injury','','7','4','1','1','Self-initiated','','','','','Yes','','','','','','','Yes','Krischer accused the judge of being biased. He said Andrews was shot twice, not four times.','','West Palm Beach',''),('3/18/2015 9:33:29','LM168','','Palm Beach County deputy Shatara Shatara shot and killed his 21-year-old son in their Delray Beach apartment. The circumstances surrounding the incident have not been released.','Deputy shoots, kills son in their apartment','12/24/2014','8:00:00 AM','320 Franklin Club Dr.','33483','Fatal','Homicide','','','1','1','Self-initiated','','','','','','','','','','','','','','','Delray Beach',''),('8/18/2014 15:56:12','LM17','IA 03-004','Several West Palm Beach police officers were working an extra duty detail at the Tunnel Club when a shooting broke out in the parking lot. Police saw <NAME>, 19, fleeing with a handgun, and officer <NAME> fired several times. Ellis continued to chase him on foot and fired several more times before Brown was caught. None of the rounds hit Brown, but one went through two mobile homes nearby. Brown was found guilty for shooting another teenager in the parking lot.','Man escapes harm but mobile home hit when police start shooting','6/8/2003','3:45:00','4047 Okeechobee Blvd.','33409','No injuries','','7','0','1','1','Self-initiated','','','','','','','Yes','','','','','','','','West Palm Beach',''),('8/19/2014 9:01:54','LM18','03-313','The PBSO SWAT team was serving a warrant on the home of <NAME> Jr. when deputies <NAME> and <NAME> went through the door. Colombo was armed with a MAC-10 submachine gun and the deputies fired when they said he pointed the gun at them. The reports don\'t mention what weapons the deputies were using or how often they fired. Colombo was killed.','SWAT team opens fire on man with submachine gun','7/18/2003','8:30:00','4830 Arthur St.','33418','Fatal','Homicide','','','2','1','Serving warrant','','','','','','','','','','','','','','','Palm Beach Gardens',''),('8/19/2014 11:17:58','LM19','IA 03-339, 03-095142','<NAME>, 18, was off his medications for bipolar disorder and had more than three times the legal driving limit for alcohol in his system when he made a profanity-laced call to 911 requesting medical help. He was waving a pellet gun from the roof of his mother\'s house when Palm Beach County Sheriff\'s deputies arrived. Cpl. <NAME> fired once from a shotgun when Skwierc pointed the pellet gun at him. Skwierc fell from the roof and died. McArdle said the pellet gun looked like a real handgun.','Man off his meds waves pellet gun, shot off roof, killed','7/29/2003','4:00:00','8625 Burma Road','33403','Fatal','Homicide','1','1','1','1','Call','Other','','','','','','','','','Yes','','','','','Lake Park',''),('6/6/2013 9:07:07','LM2','01-024245','Boynton Beach police were sent to the Medication Station drug store on East Woolbright Road after a burglary alarm was triggered by a suspect, later identified as <NAME>, 17. Officers yelled for anyone inside to come out, then went into the building. Officer <NAME>\' police dog, Zeus, indicated a suspect was behind a storage door. When Thomas grabbed the door handle, Connelly fired twice through the door, hitting Thomas\' hand and his protective vest. The officers retreated, and Zeus ran into the storage room door. Connelly shot himself in the head moments later, although medical examiners couldn\'t tell whether his actions were intentional or accidental. Zeus died in the building after SWAT officers fired nine cannisters of tear gas into the building, which sparked a fire and suffocated the dog.','Teen fires twice at police through door, kills himself','5/20/2001','6:33:00','141 E. Woolbright Road, Boynton Beach, FL','33435','Fatal','','3','0','1','1','Call','Burglary or burglary alarm','','','','','','','','','','','','Suspect fired twice','','Boynton Beach',''),('8/19/2014 12:03:11','LM20','03-379, 03-103675','Palm Beach County jail inmate <NAME> was taken to Palms West hospital under the supervision of Sgt. <NAME>. When Nealy unclasped one of Monty\'s leg irons so he could to go to the bathroom, Monty \"attempted to grab her and then ... turned to exit the hospital room,\" according to a police report. Nealy fired twice at him to prevent his escape, and he was struck in the hand. A PBSO review board found she failed to secure him to the bed before unclasping his leg iron.','Jailer reprimanded after shooting inmate who tried to escape','8/20/2003','20:05:00','13001 Southern Blvd.','33470','Injury','','2','1','1','1','Self-initiated','','','','','','','','','','Yes','','','','','Loxahatchee',''),('8/19/2014 13:29:24','LM21','IA 04-041, 04-031721, 04-031719','Palm Beach County Sheriff\'s deputies were called to the scene of a kidnapping after <NAME>, 23, grabbed a woman at gunpoint and raped her in his vehicle. When deputies confronted him, he tried to run them over. When his car stalled, deputy <NAME> reached in and tried to pull him out of the vehicle and eventually fired three times to stop Pledger from running him over. Pledger was hit once in the arm.','Rape suspect tries to run over police, shot in the arm','2/11/2004','4:30:00','Cherokee Road','33406','Injury','','3','1','1','1','Call','Other','','','','Yes','','','','','','','','','','West Palm Beach',''),('8/19/2014 14:27:07','LM22','04-082','Undercover Riviera Beach police were selling marijuana out of a duplex when a man bought two bags for $20. The undercover detectives signaled to colleagues to arrest the man. But while the man was being arrested, his friend, <NAME>, jumped into their vehicle and drove toward uniformed officer <NAME>. Dodson, who thought the vehicle was going to hit him, fired once, into the car\'s hood. The car crashed and Battie was arrested.','Officer shoots car, causes crash, makes arrest','3/25/2004','14:55:00','1157 W. 28th St.','33404','No injuries','','1','0','1','1','Investigation','','','','','Yes','','','','','','','Yes','<NAME> was sentenced to a year of probation in 2011 for an October 2009 incident in which he got drunk and fired 15 shots from his service revolver while off-duty.','','Riviera Beach',''),('8/19/2014 15:22:22','LM23','04-9917','<NAME>, 28, went into a Delray Beach Publix and walked out with a cart full of groceries he hadn\'t paid for. When an employee tried to stop him, Sadras pulled out a pellet gun that looked like a handgun. Delray Beach police caught up to him pushing his cart at a nearby gas station. Officers <NAME> and <NAME> told him to drop his gun; instead, Sadras pointed it at the officers and they fired four times, missing him. He was arrested soon after.','Police fire four times at man with pellet gun but miss','3/31/2004','10:35:00','4525 W Atlantic Ave.','33445','No injuries','','4','0','2','1','Call','Robbery or robbery alarm','','','','','','','','','','','','','','Delray Beach',''),('8/20/2014 12:20:01','LM24','IA 04-109, 04-056958, 04-059110','Two Palm Beach County Sheriff\'s deputies followed bank robber <NAME> as he left a Wachovia Bank branch with more than $29,000 in cash. They followed him for three miles before he crashed his car near Southern Boulevard and Haverhill Road. Deputy <NAME> got out of his car and saw Vitt chamber a round. Barone shot him three times, killing him.','Bank robber flees with $29,000, crashes, shot to death','4/16/2004','18:14:00','Southern Boulevard and Haverhill Road','33415','Fatal','Homicide','','3','1','1','Call','Robbery or robbery alarm','','','','Yes','','','Yes','','','','','Barone was also in another shooting in 2002. As a rookie Boynton cop, violated the department\'s abuse-of-authority and courtesy rules during a citizen stop.','','West Palm Beach',''),('8/20/2014 12:46:42','LM25','IA 04-118','Palm Beach County Sheriff\'s deputy <NAME> responded to a call of several teens peering into cars in a parking lot. When he arrived, <NAME> drove away, in his direction. Harrell fired once into the car, hitting Whitefield in the hip.','Teen burglary suspect drives toward police, shot in hip','4/26/2004','2:30:00','1593 Quail Dr.','33409','Injury','','1','1','1','1','Call','Other','','','','Yes','','','','','','','Yes','Over the years Harrell has been suspended five times and reprimanded twice for various sheriff\'s office policy violations, records show. In 1994, he was arrested on a charge of aggravated assault after Riviera Beach police say he threatened his girlfriend with a butcher knife.','','West Palm Beach',''),('8/20/2014 13:45:12','LM26','IA 04-158','<NAME>\'s wife called 911 because her husband was behaving strangely. Palm Beach County Sheriff\'s deputy Joseph Caroscio responded to their apartment. Feldman had a handgun, which he placed on the kitchen counter after Caroscio told him to. But the deputy shocked him with a Taser, and shot him twice when he ran to the kitchen and grabbed the gun. Feldman died at the hospital.','Husband\'s odd behavior, move toward gun, leads to fatal shooting','6/5/2004','6:45:00','10328 Boca Entrada Blvd.','33428','Fatal','Homicide','3','2','1','1','Call','Family or domestic disturbance','','Taser','','','','','','','','','','','','Boca Raton',''),('8/20/2014 14:25:41','LM27','3-04-012867','Undercover Port St. Lucie police were selling drugs in a Circle K parking lot when <NAME>, 39, drove up and made a buy. Several officers moved in to arrest him. Freeman, to escape, backed up and hit officer <NAME>, who fired a single shot into the cab of Freeman\'s pickup, missing him. Freeman escaped but was caught soon after.','Undercover drug buy results in missed shot into pickup truck, arrest','7/22/2004','19:28:00','702 NW Airoso Blvd.','34983','No injuries','','1','0','1','1','Investigation','','','','','Yes','','','','','','','Yes','This seems like a cockamamie operation. Why were they selling drugs in the parking lot of a private business? Why approach the vehicle on foot?','','Port St. Lucie','1'),('8/20/2014 14:57:50','LM28','IA 04-236','During a joint undercover operation between police and Palm Beach County deputies, the driver of a Cadillac bought cocaine from officers. When officers moved in to arrest him, West Palm Beach officer <NAME> believed he saw the rear passenger holding a gun. He told the man to drop the gun and then fired a shot through the windshield, hitting the man, <NAME>, in the abdomen. Henry did not have a gun; what Fonseca saw was a bottle. Henry was hospitalized for two weeks. Fonseca was cleared because he \"perceived a threat,\" even though he was in error.','Shot through windshield strikes man armed only with a bottle','8/27/2004','21:21:00','8th St. and Henrietta Ave.','33401','Injury','','1','1','1','1','Investigation','','','','','Yes','','','','','','','Yes','Fonseca in 2014 was arrested and charged with official misconduct, possession of cocaine and making false statements to a law enforcement officer during an investigation.','','West Palm Beach',''),('8/21/2014 11:40:28','LM29','IA 04-327, 04-131613','FBI agent <NAME> was following robbery suspect <NAME> when he called the Palm Beach County Sheriff\'s Office for help arresting him. They pulled over Sanchez\'s stolen SUV in a parking lot, and when they got out to arrest him, he backed up toward the officers. Capt. <NAME> fired once with a shotgun, deputy <NAME> fired several times with a handgun and an unidentified FBI agent, possibly Kuyrkendall, also fired. Sanchez, who wasn\'t hit, fled the scene and crashed nearby.','Police open fire on vehicle of fleeing suspect but miss','11/8/2004','14:09:00','4935 Southern Blvd.','33415','No injuries','','12','0','3','1','Call','Other','','','','Yes','','','','','','','Yes','We need to get the name of the FBI agent from PBSO. There\'s no evidence the agent was working undercover.','','West Palm Beach',''),('7/12/2013 13:13:58','LM3','10007699','<NAME> took a woman\'s wallet outside a Boynton Beach Wendy\'s restaurant and fled in a stolen car, prompting police to chase him to a Delray Beach business park. Troutman tried to steal a pickup truck whose owner was working in the back seat. Officer Chad Shane fired one shot, missing, when Troutman reached into his waistband, Shane said. Troutman was sprayed with pepper spray and shocked with a Taser before being arrested.','Shot fired, misses suspect in pickup truck','2/16/2010','13:39:00','1395 NW 17th Ave, Delray Beach, FL','33445','No injuries','','1','0','1','1','Call','Robbery or robbery alarm','','','','','','Yes','Yes','','','','','No IA investigation included in report.','','Delray Beach',''),('8/21/2014 12:30:23','LM30','IA 04-349, 04-138322','Palm Beach County deputies responding to a burglary call found <NAME>, who was high on cocaine and had broken a neighbor\'s window trying to flee an imaginary person who was trying to kill him. Deputies handcuffed him, and he jumped into the driver\'s seat of a patrol car and tried to drive away. He was shocked with a Taser and pulled out, but a few minutes later he jumped in the driver\'s seat again. Deputies were trying to get him out when Desilio kicked deputy Christian Scerbo in the chest, knocking him to the ground. Scerbo accidentally pulled the trigger on his handgun, and the round went into the patrol car. Nobody was hit. Desilio was later found not guilty of resisting officers by reason of insanity.','Cocaine-fueled escape attempt results in deputy accidentally shooting patrol car','11/27/2004','4:10:00','946 Laurel Dr.','33403','No injuries','','1','0','1','1','Call','Burglary or burglary alarm','','Taser','','Yes','Yes','','','','','','Yes','Not disciplined for letting a suspect into the driver\'s seat of a patrol car - twice??','','Lake Park',''),('8/25/2014 11:42:02','LM31','IA 05-028','A team of Palm Beach County deputies were supposed to meet up for dinner before patrolling \"hot spots\" in north county. Six of the deputies were in a van. While they were driving through Riviera Beach, they saw some men drinking beer in front of a convenience store. They stopped and piled out of the van -- without telling their supervisor, their watch commander or Riviera Beach police. While talking to the men, they noticed <NAME>, 22, sitting in a car in the parking lot. A marijuana cigarette was sitting on the seat. When they started questioning Lester, he put the car in reverse and drove, hitting two deputies. Cpt. <NAME> and deputies <NAME> and <NAME> shot Lester several times, wounding him, and he crashed in the parking lot. Internal investigators cited the officers for not reporting their location on the radio.','Man with marijuana joint wounded by police after he backs into them','2/4/2005','21:30:00','1241 Avenue U','33404','Injury','','','','3','1','Self-initiated','','','Taser','','Yes','','','','','','','Yes','These guys idiotically stop in another jurisdiction to hassle some guys for drinking a beer outside? Sergeant/supervisor said they never did these activities without her present. They never notified Riviera Beach or their watch commander.','','Riviera Beach','2'),('8/22/2014 10:03:16','LM32','03-05-001344','<NAME>, 50, was acting suicidal and firing a gun in his house, prompting his family members to call police. After a six-hour standoff with police that included Grbic shooting at a police helicopter, Port St. Lucie SWAT members shot tear gas into Grbic\'s home and went inside. Detective <NAME> said Grbic had a gun to his head, then cursed police and pointed a gun at him. Beath fired once, hitting him in the head.','Man killed after he aims gun at his own head, then at SWAT-team member','1/24/2005','20:08:00','4968 NW Foxworth Ave.','34983','Fatal','Homicide','1','1','1','1','Call','Other','','Gas','','','','','','','','','','','','Port St. Lucie',''),('8/22/2014 12:23:42','LM33','IA 05-038','<NAME> Jr., distraught over his failed marriage, gave his estranged wife a suicide note. She called police, who found him parked in a condominium parking lot. Garczynski had a gun to his head. Rather than wait him out or call SWAT, three Palm Beach County deputies and a Boca Raton officer decided to approach him, demand that he show his hands and smash out the windows. Garczynski turned and pointed his gun at the officers, they said, prompting them to fire 30 rounds. He was struck 10 times and died at the scene. The shooting prompted <NAME> to implement crisis training for deputies.','Pickup vignette///','3/10/2005','1:10:00','750 NE Spanish River Blvd.','33431','Fatal','Homicide','30','10','4','1','Call','Suicide or suicide attempt','','','','Yes','','','','','Yes','','Yes','Police instigated the incident by approaching the vehicle and breaking the passenger side windows. Krischer chided the officers for failing to calm Garczynski.They decided not to call SWAT because they wanted to make sure Garczynski was in the vehicle. Withrow left the Sheriff\'s Office in January 1998 after an internal investigation determined that he initially did not tell the truth about not responding to a call, records show. He was rehired in May 2001.','','Boca Raton',''),('8/22/2014 13:16:38','LM34','IA 05-043','Palm Beach County deputy <NAME> spotted a stolen minivan in a parking lot at 1900 Okeechobee Blvd. He placed a tire spike under one of the tires, then waited for the person driving the minivan to return. <NAME> got in the van and backed up over the spikes, puncturing a tire. Lentini ran up to tell him to get out, but Foulks kept backing up and forward in the car, nearly hitting Lentini, who fired several times at Foulks, then got out of the way. Foulks was arrested in the parking lot.','Suspect in minivan theft drives toward cop, who fires into vehicle but hits nothing','4/2/2005','2:45:00','1900 Okeechobee Blvd.','33409','No injuries','','','0','1','1','Self-initiated','','','','','Yes','','','','','','','','Report doesn\'t mention if anyone was hit, how many shots were fired or what time the shooting happened. Pathetic report.','','West Palm Beach',''),('8/22/2014 14:24:31','LM35','20050514319','Off-duty Riviera Beach officer <NAME> was helping a security guard at an apartment complex when he heard gunshots at a complex nearby. He ran to the scene to see <NAME> walking away from a shooting victim. When Eggers told him to show his hands, Monroe allegedly reached for a handgun in his pocket. That\'s when Eggers fired once, hitting Monroe in the head, killing him.','Shooting suspect killed by off-duty cop working security at apartment complex','11/14/2005','23:51:00','4242 Leo Lane','33410','Fatal','Homicide','1','1','1','1','Call','Illegal shooting','','','','','','','','','','','','','','Riviera Beach',''),('8/26/2014 10:20:41','LM36','IA 05-057','<NAME>, a former New York cop who was depressed and distraught, went to his estranged wife\'s house and threatened to kill himself. After a standoff with Palm Beach County deputies that lasted several hours and threats to kill anybody who went inside the home, Bodie walked outside and raised a gun toward SWAT deputies. Deputy <NAME> fired once, killing him.','Ex-NYC cop killed after waving gun at SWAT team','5/27/2005','13:00:00','22436 Sea Bass Dr.','33428','Fatal','Homicide','1','1','1','1','Call','Unknown trouble or 911 disconnect','','','Yes','','','','','','','','','Bodie wanted to talk to two friends who worked for PBSO. They were called to the scene but not allowed to talk to him because they weren\'t \"trained negotiators.\" The wife of the former New York City detective killed by a SWAT sniper filed a police report Monday alleging that more than $4,000 in jewelry was taken from her home while sheriff\'s detectives investigated the May 27 shooting.','','Boca Raton',''),('8/29/2014 8:39:08','LM37','IA 05-059','<NAME> was pulled over by Palm Beach County deputies for speeding. But he was evasive, claiming he lost his license. When one deputy reached in the car to grab a mysterious black bag Coleman was holding, he put the car in drive and took off, striking one deputy in the leg. The other fell out of the car. Deputy <NAME> fired five times at the fleeing vehicle, missing Coleman.','Man stopped for speeding takes off, striking deputy; five shots miss his vehicle','6/7/2005','11:00:00','3500 N. Military Trail','33409','No injuries','','5','0','1','1','Traffic stop','','','','','Yes','','','','','','','','','','West Palm Beach','1'),('8/29/2014 9:28:37','LM38','2005016230','<NAME> was drunk when he choked his wife to the point she blacked out. Okeechobee County deputies were called to the scene, and Rock was waiting for them with a rifle. He told deputies to \"bring it on,\" and started walking toward them. Cpl. <NAME> told him several times to drop the rifle, eventually firing twice as Rock kept walking toward them, wounding him.','Armed wife-beating suspect says \'bring it on\' before cops shoot him ','8/11/2005','23:57:00','8612 SE 57th Dr.','34974','Injury','','2','2','1','1','Call','Family or domestic disturbance','','','','','','','','','','','','','','Okeechobee',''),('8/29/2014 10:02:14','LM39','05-26084','West Palm Beach Sgt. Kerry Roaf, who was with several officers in unmarked cars, approached several men who were behaving suspiciously in front of an apartment. When he walked up, several men went inside. <NAME>, who was locked out, ran. Roaf chased him down the street, until he said Jones turned and pointed a gun at him. Roaf fired once, hitting him in the buttocks. Jones was arrested for aggravated assault and resisting an officer, but was never prosecuted.','Man flees police, gets shot in the butt','11/11/2005','17:50:00','807 N. Rosemary Ave.','33401','Injury','','1','1','1','1','Self-initiated','','','Taser','','','','Yes','','','','','','','','West Palm Beach',''),('7/12/2013 15:16:30','LM4','8038762','Suspect <NAME> shot at a group of people in front of a Boynton Beach home, fled and officers persued him on Interstate 95. The chase, which involved three agencies, went into Broward County before ending in a Delray Beach neighborhood. Wilson abandoned his car and fled on foot, shooting at officers and striking Boynton Beach Sgt. <NAME>, piercing his protective vest. A state attorney\'s investigation cleared the officers, citing four in the shooting: Delray Beach Sgt. <NAME>, Boynton Beach Sgt. <NAME> and Boynton officers <NAME> and <NAME>. Wilson gave up after he was wounded.','Suspect shoots sergeant after I-95 chase, is wounded','8/17/2008','16:02:00','117 SW 11th Ave Delray Beach, FL','33444','Injury','','46','5','4','1','Call','Assault/battery with a gun or other weapon','','','','','','Yes','Yes','Yes','','','','','','Delray Beach','1'),('9/2/2014 15:16:26','LM40','IA 06-010','Palm Beach County deputy Sgt. Dererk Savage responded to a call of a person with a gun and found two suspects in a car. The passenger was <NAME>, 29. Several other deputies arrived and told Washington to get out of the car. He complied, but soon became belligerent. One deputy, on Savage\'s orders, used a Taser on him, causing Washington to fall face first. He began reaching into his pockets while on the ground, pulling out a cellphone and other items. Savage thought he saw a \"chrome-colored flash\" that could be a gun and fired twice, killing him. There was no gun, and other deputies did not see the flash.','Belligerent man pulls out cellphone but deputy saw \'chrome-colored flash\'','2/17/2006','22:45:00','3rd Street and Limestone Creek Road','33458','Fatal','Homicide','2','2','1','1','Call','Person with a gun, knife or other weapon','','Taser','','','','','','','Yes','','Yes','','','Jupiter',''),('9/2/2014 10:37:11','LM41','IA 06-024','In one of the more controversial shootings by a Palm Beach County officer, deputy Yun \"Jason\" Law shot and killed <NAME>, 56. Forrest was suffering from schizophrenia when her husband called police to have her hospitalized under the state\'s Baker Act. He told deputies his wife was wielding a knife. when Law and another deputy went in the home, Forrest was in the bathroom. Deputies said she held a knife over her head and moved toward them. Another deputy tried to shock her with a Taser, but it didn\'t work. Law fired once, hitting her in the chest.','Knife-wielding woman with schizophrenia gunned down in her home','3/27/2006','10:38:00','22751 Mandeville Place','33433','Fatal','Homicide','1','1','1','1','Call','Mentally ill person','','Taser','','','','','','','Yes','','Yes','','','Boca Raton',''),('9/2/2014 12:43:16','LM42','IA 06-029','<NAME> kidnapped his ex-girlfriend and her new boyfriend in Lantana, then led police on a chase into Broward County. He pulled into a strip mall with deputies from multiple agencies in pursuit, then got out of his car and tried to carjack a car owned by <NAME>, who was on her way to work. Three deputies opened fire on Bender, killing him. Sgt. <NAME> fired into White\'s car, believing White, who was ducking low in the front seat, was Bender. She was struck once in the hip.','Carjacking kidnapper killed, carjacking victim wounded','4/19/2006','2:42:00','690 U.S. 441','33068','Fatal','Homicide','31','4','4','2','Call','Assault/battery with a gun or other weapon','','','','Yes','','','Yes','','Yes','','','','','Margate',''),('9/2/2014 16:06:34','LM43','06-8791','West Palm Beach police Sgt. Gregory Key was off-duty providing security, in uniform, at a teen dance party when he heard shots in the parking lot. He tried to stop three people in a white Cadillac, but the driver, <NAME>, kept going. Key fired three times at the car before it got away. No one was injured.','Off-duty cop on security detail at teen dance fires three times into car','4/23/2006','2:10:00','1601 N. Tamarind Ave.','33407','No injuries','','3','0','1','1','Self-initiated','','','','','Yes','','','','','','','Yes','The report on this case is excellent. It critiques both the officer and the investigation (they didn\'t inspect the officer\'s gun). Also, someone seized a lost police radio and said that an officer was down.','','West Palm Beach',''),('9/3/2014 12:07:55','LM44','06-068453','A confrontation at a West Palm Beach gas station prompted <NAME> to shoot in the air, leading to a 19-mile police chase to Delray Beach, where he fired several rounds at police after his car crashed. Nineteen Palm Beach County deputies and three Boynton Beach officers returned fire at least 288 times, killing him. Nineteen bullets were removed from his body. Police and prosecutors justified the shooting, but found that so many cars in pursuit of the suspect put civilians at risk.','After chase, fusillade of 288 shots kills suspect','5/19/2006','20:25:00','523 NE 2nd St.','33483','Fatal','Homicide','288','18','22','1','Call','Illegal shooting','','','','Yes','','','Yes','','','','Yes','Blackman fired 4 rounds from a shotgun and 15 from a handgun. Tomassi fired 6 rounds from a shotgun and 7 from a handgun. Boynton Beach PD did NO INVESTIGATION into the shooting by their officers.','','Delray Beach',''),('9/3/2014 15:17:05','LM45','06-041921','<NAME>, who had a recurrence of cancer and a drug habit, crashed into a car at Interstate 95 and Gateway Boulevard and fled. Boynton Beach officers saw the crash and pursued him. Wallace bailed out of his car in the northbound lanes of I-95, then jumped the median into the southbound lanes, where an officer caught and tackled him. In their struggle, Wallace grabbed officer <NAME>\'s gun. Boynton officers <NAME> and <NAME> shot him five times, killing him.','Crash on 95 leads to chase, struggle for cop\'s gun before officers open fire, kill suspect','8/15/2006','19:34:00','26.571232, -80.069669','33462','Fatal','Homicide','5','5','2','1','Self-initiated','','','Taser','','','','Yes','','Yes','','','','','','Boynton Beach',''),('9/8/2014 14:20:24','LM46','06-0906118','<NAME>, 15, was a suspect in several robberies of cab drivers. When Riviera Beach police moved in to arrest him, police said he reached into his waistband for a gun. Det. <NAME> fired once, missing him. Saulsby ran behind a house, where he fired one shot. No one was wounded.','Robbery suspect fired upon, fires back, no one hit','9/6/2006','12:00:00','749 Michigan Ave,','33404','No injuries','','1','0','1','1','Investigation','','','','','','','','','','','','','The officer was drug/alcohol-tested, which is unusual. It also misspells his name throughout the report.','','Riviera Beach',''),('9/9/2014 10:42:02','LM47','06-002059','Lantana officer <NAME> tried to pull over <NAME> after he saw her driving erratically. She fled. Shackelford later saw her again, and pursued her into a cul-de-sac. Vest, trying to escape, drove at the officer, and he fired once at the front tire to disable the vehicle. He missed the vehicle and no one was hurt.','Officer fires to stop fleeing motorist, misses','10/4/2012','13:25:00','1240 Lacosta Circle','33462','No injuries','','1','0','1','1','Traffic stop','','','','','Yes','','','Yes','','','','','Officer fired to disable the vehicle. ','','Lantana',''),('9/9/2014 12:30:39','LM48','IA 06-004, 06-21399','<NAME>, 49, got the attention of police when he held up a man at gunpoint in a gas station, then made the man drive around the back of the store. The victim got out and ran to the front, where he found West Palm Beach officer <NAME>, who\'d been called to the scene by a witness. Gorski went behind the gas station to find Frierson, who pointed a gun at the officer and, at some point, fired it. Gorski fired six times, hitting Frierson five times. He survived.','Gas station robbery suspect shot five times, survives','10/2/2006','20:15:00','5300 45th St.','33407','Injury','','6','5','1','1','Call','Other','','','','','','','','','','','','','','West Palm Beach',''),('9/9/2014 16:21:14','LM49','06-22784','When a man got out of his Porsche SUV to get a soda at a gas station, <NAME> noticed the man left his keys in the ignition. Thevenin got in the car and took off, prompting a police chase. At one point he struck several parked police cars and in his haste to get away, struck West Palm Beach officer <NAME> and drove at officer <NAME>, who both fired several times. Thevenin was struck at least once. He survived.','Man suspected of swiping Porsche drives into officers, is wounded','10/10/2006','23:45:00','1100 N. Sapodilla Ave.','33401','Injury','','','','2','1','Call','Stolen vehicle','','','','Yes','','','Yes','','','','Yes','Report doesn\'t mention how many shots were fired. Officer Zangara went on to have a lot of problems.','','West Palm Beach',''),('7/15/2013 15:52:04','LM5','20110122','Florida Highway Patrol Lt. <NAME> accidentally shot fellow troopers Mellow Scheetz and <NAME> following a training exercise at a shooting range. Johnson was trying to demonstrate how to clean a handgun properly. To disassemble his Glock handgun, he pulled the trigger, not realizing a round was in the chamber. Johnson shot Scheetz in the left buttocks, and the round struck two handgun magazines in Rahming\'s right pants pocket. Scheetz was taken to the hospital and discharged the same day.','Trooper at training exercise shoots two colleagues','3/14/2011','21:30:00','38680 State Road 80 Belle Glade, Florida','33430','Injury','','1','1','1','2','Other','','','','','','Yes','','','','','','Yes','','Yes','Belle Glade',''),('9/10/2014 11:41:40','LM50','2006-21370 ','<NAME>, drunk and upset with his ex-girlfriend, grabbed a gun and went to the bar where she worked. He knocked out the windows of the bar, and a friend of the ex-girlfriend called Boca Raton police. Sgt. <NAME> and another officer arrived and briefly pursued Diana into the parking lot, where he shot himself in the head. McGovern fired three rounds, hitting him once in the thigh, after seeing Diana raise the gun.','Man angry at ex, shoots self in the head as police fire upon him','12/16/2006','0:52:00','1599 NW 1st Court','33432','Fatal','Suicide','3','1','1','1','Call','Family or domestic disturbance','','','','','','','','','','','','Could be a model report - does get into training issues. Was the officer\'s second shooting.','','Boca Raton',''),('9/10/2014 13:12:53','LM51','07-002','Riviera Beach officer <NAME> noticed <NAME> driving erratically. When he tried to pull Dicocco over, he fled into a neighborhood, got out of his car and ran. Aguirre and officer <NAME> chased him on foot, firing several times when they said Dicocco turned toward them with a gun. He fled into a home and later was arrested.','Police fire, miss armed, fleeing erratic driver','1/17/2007','0:21:00','3400 block of Avenue J','33404','No injuries','','5','0','2','1','Traffic stop','','','','','','','Yes','Yes','','','','','Piss-poor report. Doesn\'t mention how many shots were fired.','','Riviera Beach',''),('9/10/2014 13:59:02','LM52','07-012','The father of <NAME>, 52, called police because his son was going \"berserk.\" Two Palm Beach County deputies responded and coaxed the younger Weiland to walk out of the home with them. But as they were walking out, Weiland darted into a room and grabbed a shotgun. Deputy <NAME> quickly fired off a round, hitting Weiland in the hand and thigh, before retreating. Weiland eventually came out of the room unarmed, and he was stunned with a Taser and arrested.','Man going \'berserk\' grabs gun, shot by deputy before arrest','4/6/2007','17:56:00','4307 Fox Trace Road','33436','Injury','','1','1','1','1','Call','Family or domestic disturbance','','','','','','','','','','','','','','Boynton Beach',''),('9/12/2014 9:09:09','LM53','IA 07-007, 07-8976','An apartment complex security guard called police after <NAME>, 23, was seen barefoot and mumbling in the neighborhood. When West Palm Beach officer <NAME> arrived, Jones became enraged, immediately punching the officer and hitting him in the head with a lawn ornament. Phillips used pepper spray on Jones during the two-minute struggle, but it had no effect. He eventually pulled out his handgun and shot Jones three times, killing him. Jones might have been mentally ill and had numerous cases of domestic violence.','Mumbling man attacks officer, withstands pepper spray, killed','4/14/2007','23:04:00','6313 Paradise Cove','33411','Fatal','Homicide','3','3','1','1','Call','Prowler','','Pepper spray','','','','','','Yes','Yes','','','Excellent report.','','West Palm Beach',''),('9/11/2014 16:08:54','LM54','IA 07-018','Brothers and serial bank robbers Brandon and <NAME> were fleeing a bank robbery in a car when Palm Beach County deputies caught up to them in Boynton Beach. They crashed their car into a fire hydrant and fled on foot, with deputies chasing on foot. Cpl. <NAME> chased Brandon, who was carrying a bag with cash and an AR-15 rifle sticking out. When Brandon made a move toward the bag, Kirkpatrick shot him. Sgt. <NAME> tackled the other brother, who was unarmed. But during the struggle, Joshua grabbed Hightower\'s gun, and he and three other deputies shot him. Joshua died at the scene.','Bank robber brothers flee, both get shot, one killed','4/27/2007','10:30:00','8200 Jog Road','33472','Fatal','Homicide','16','','5','2','Call','Robbery or robbery alarm','','','','','','Yes','Yes','','','','','Combs\' second shooting.','','Boynton Beach',''),('9/12/2014 11:31:46','LM55','IA 07-019','Palm Beach County deputies received information from an informant that <NAME> would be selling drugs in the parking lot of Cheetah\'s strip club in West Palm Beach. When deputies moved in to arrest him, Clairvoyant tried to get away, driving at deputies in the process. Three deputies and a Boynton Beach K-9 officer fired a total of 33 rounds at him, hitting him three times. Clairvoyant got out of his car, fled on foot and was caught by the police dog.','Strip-club drug suspect drives toward deputies, who open fire','4/28/2007','4:00:00','3342 Shawnee Ave.','33409','Injury','','33','3','4','1','Investigation','','','','','Yes','','','','','','','','Deputies were told Clairvoyant would try to run them over. So why didn\'t they try to arrest him another way?','','West Palm Beach',''),('9/12/2014 12:38:08','LM56','IA 07-030','Palm Beach County deputy <NAME> and another deputy responded to a call of several suspicious men in a yard. While the other deputy asked the men for their IDs, Montesino crossed the street to look for other people. <NAME>, 22, was hiding behind a car. Montesino told him to stand with his hands up, and Jackson complied. But while putting his flashlight in his belt, Montesino fired his gun accidentally, hitting Jackson in the head. Multiple witnesses, including the other deputy, heard Montesino say immediately after that he didn\'t mean to shoot. Montesino also initially said it was an accident. But on a second interview, he said he intended to shoot Jackson when Jackson\'s arms dropped a few inches. Investigators didn\'t believe him and recommended discipline for the shooting. Jackson survived.','Discipline recommended for deputy after accidental discharge strikes man in head','6/9/2007','1:45:00','6100 Arcade Court','33463','Injury','','1','1','1','1','Call','Other','','','','','Yes','','','','Yes','','Yes','Multiple witnesses told police Montesino said he didn\'t mean to shoot him. Montesino himself changed the story.','Yes','Lake Worth',''),('9/12/2014 13:25:15','LM57','IA 07-030','Two Riviera Beach officers were working an off-duty detail providing security at a nightclub when they heard gunshots. They ran to a nearby parking lot, where they saw <NAME> with a gun. Officer <NAME> told him several times to drop his gun, but he didn\'t. Torres said he raised the gun toward him, and the officer fired six times, killing him.','Armed man near nightclub wouldn\'t drop his gun, officer shoots six times, killing him','7/22/2007','4:09:00','1009 Old Dixie Highway','33404','Fatal','Homicide','6','3','1','1','Self-initiated','','','','','','','','','','','','','','','Riviera Beach',''),('9/12/2014 13:44:54','LM58','709487','Riviera Beach Lts. <NAME> and <NAME> responded to a robbery call at a Metro PCS store. When they arrived, they saw <NAME> in a mask and gloves running out of the store. Holloman pointed a handgun at the officers, who each fired once, missing him. Holloman ran back into the store, and later surrendered to officers.','Police fire at armed robbery suspect, miss ','7/30/2007','12:10:00','80 E. Blue Heron Blvd.','33404','No injuries','','2','0','2','1','Call','Robbery or robbery alarm','','','','','','','','','','','','','','Riviera Beach',''),('9/15/2014 13:14:37','LM59','7042502','<NAME>, 30, tried to kidnap a woman, then entered a nearby Boynton Beach home, where he set three fires and stabbed himself several times with a two-foot-long barbecue fork. Boynton Beach SWAT officers tried several times to arrest him, using tear gas, pepper spray, a Taser, rubber bullets and a bean bag shotgun over several hours. They went in a second time and found him submerged in the bathtub, telling police they\'d have to kill him. Sgt. <NAME> shot him twice, wounding him, when he lunged at officers with the barbecue fork. ','Police try gas, pepper spray, Taser, rubber bullets and bean bag shotgun before wounding suspect','8/30/2007','14:02:00','507 Belmont Place','33436','Injury','','2','2','1','1','Call','Other','','Taser, Pepper spray, Rubber or other bullets, Less-lethal shotgun','','','','','','','','','','Includes a pretty thorough after-action critique.','','Boynton Beach',''),('8/2/2013 8:38:12','LM6','10-25309','Delray Beach police SWAT officers served a search warrant for narcotics at the home of <NAME>, who ran into a bedroom when officers went inside. Sgt. <NAME> kicked in the door to the bedroom and found Bean inside, armed with a handgun. Police said Bean pointed the weapon at Jacobson, and the officer fired once from his rifle, grazing Bean\'s shoulder.','Hiding man wounded after cops search house for drugs','9/13/2010','10:00:00','618 SE 2nd Ave., Delray Beach, FL','33483','Injury','','1','1','1','1','Serving warrant','','','','','','','','','','','','Yes','When the officer fired, his magazine fell to the floor. The officer was a department firearms trainer, and the situation could only have been prevented with \"repeated safety checks prior to entry.\"','','Delray Beach',''),('9/15/2014 13:49:46','LM60','IA 07-009','<NAME> was wandering in West Palm Beach while carrying a machete, leading passersby to call police. When officers arrived, he held the machete over his head and moved toward officer <NAME>, who shot twice, killing Niellas.','Man wandering with machete killed','9/5/2007','17:56:00','1200 block of Summit Boulevard','33405','Fatal','Homicide','2','2','1','1','Call','Person with a gun, knife or other weapon','','','','','','','','','','','','','','West Palm Beach',''),('9/15/2014 14:54:11','LM61','IA 07-010','West Palm Beach officer <NAME> heard gunshots coming from an apartment complex near Haverhill Road and 45th Street and saw a car speeding away. Raja chased the vehicle for four miles on Haverhill before the car stopped at the entrance to an apartment complex and several people got out and started to run away. One of the suspects pointed a handgun at Raja and fired, prompting the officer to return fire. No one was injured. <NAME> and another man in the car were arrested and convicted for killing two people at the first apartment complex.','Cop chases suspects, trades gunfire','9/18/2007','0:55:00','1909 Haverhill Road North','33417','No injuries','','5','0','1','1','Self-initiated','','','','','','','','Yes','','','','','','','West Palm Beach',''),('9/15/2014 16:08:09','LM62','IA 07-050','Palm Beach County deputies set up Thomas Burgess to sell crack cocaine to a confidential informant. After Burgess arrived in the arranged location -- the parking lot of Paul\'s Motel -- deputies pounced. Burgess panicked and tried to drive away, striking one undercover deputy, who landed on his head and lost consciousness. Four other deputies opened fire. Burgess surrendered after he was shot once in the arm. Two deputies\' names were never released because they were working undercover. ','Drug deal gone bad, suspect upends cop, is shot in the arm','9/19/2007','22:45:00','5445 Lake Worth Road','33463','Injury','','20','1','4','1','Investigation','','','','','Yes','','','','','','','','','','Greenacres','1'),('9/16/2014 8:06:19','LM63','IA 07-038, PBSO 07-131514','Riviera Beach police were called to the Stonybrook Apartments after a resident reported a person in the complex with a gun. Officers walked through the complex, then heard several gunshots. They found the gunman, <NAME>, wielding a rifle. Officer Roosevelt Lee yelled at him to drop the weapon, but Auguste stood with the gun facing the officer. Lee fired six times, hitting Auguste once in the hip. Auguste dropped the gun and ran away.','Cop shoots six times, hits once, wounding armed man','10/14/2007','2:22:00','1555 Martin Luther King Jr Blvd.','33404','Injury','','6','1','1','1','Call','Person with a gun, knife or other weapon','','','','','','','','','','','','','','Riviera Beach',''),('9/16/2014 10:00:47','LM64','IA 07-039','Riviera Beach police arrived quickly to the scene of a shooting at a house party, in time to see <NAME>, 21, shooting out of the window of a car. He sped away from police, but turned back and drove at officers <NAME> and <NAME>, who fired several times as he drove toward them and past them. He crashed soon after and was arrested. He was not struck by the officers\' rounds.','Suspect drives toward police, who shoot but miss','10/28/2007','0:45:00','3300 block of Avenue K','33404','No injuries','','12','0','2','1','Call','Illegal shooting','','','','Yes','','','Yes','','','','','Fashaw\'s in-car camera wasn\'t working.','','Riviera Beach',''),('9/16/2014 12:38:44','LM65','07-074','Palm Beach County investigators were investigating a drug operation in the Cinnamon Terrace apartments and assigned an undercover agent to hang out near the pool and watch people coming and going from a specific apartment. When the agent arrived, <NAME>, 18, asked him if he wanted drugs. The agent declined. Horne came back a second time with another person and asked the agent again. When the agent declined, Horne pulled out a BB gun and told him to go away. The agent then pulled out a handgun and badge and chased the two men to an apartment. When they were trying to get inside, Horne turned with the gun toward the agent, who fired three times, hitting him twice. He survived. The agent\'s name has never been released.','Undercover agent chases, shoots man with BB gun','12/17/2007','19:00:00','5955 Ceylon Court','33415','Injury','','3','2','1','1','Investigation','','','','','','','Yes','','','','','Yes','The story given to the public - that this was a robbery - does not at all match what\'s in the report. Also, there\'s no time of incident in the report.','','West Palm Beach',''),('9/16/2014 14:48:48','LM66','IA 08-004','Palm Beach County deputies pulled over <NAME>, a researcher at a diabetes clinic, after getting calls that he was driving slowly through a nearby apartment complex. They stopped him in the parking lot of a storage center and deputy <NAME> walked toward Antao\'s car. Antao backed into the deputy, pinning him. The deputy fired seven times into the car, and deputy <NAME> fired once. Antao sped off and was captured after a fight. He was found not guilty by reason of insanity. Tembeckjian was not seriously hurt.','Researcher pins cops between cars; eight shots all miss','1/30/2008','0:30:00','4390 Hypoluxo Road','33462','Injury','','8','1','2','1','Call','Other','','','','Yes','','','','','','','','Tembeckjian is marked as a woman in FDLE\'s database.','','Lake Worth',''),('9/17/2014 13:28:28','LM67','D-08-0365-L','Florida Highway Patrol trooper <NAME> accidentally shot 20-year-old Jarrett DeSilva during a traffic stop. DeSilva was driving in the carpool lane illegally and didn\'t pull over when troopers told him to. When Radanof caught up to him, DeSilva pulled over. Radanof walked to his car with his gun pointed at him and yanked him out of the car. The trooper\'s gun went off and hit DeSilva in the shoulder. Radanof was given an 80-hour suspension for the incident.','Trooper misfires, shoots driver stopped for driving illegally in the carpool lane','3/13/2008','16:54:00','153 E. Cypress Creek Road','33334','Injury','','1','1','1','1','Traffic stop','','','','','','Yes','','','','','','Yes','Contrast this case with the accidental shooting by PBSO.','Yes','Oakland Park',''),('9/17/2014 15:25:19','LM68','IA 08-020','The circumstances surrounding this incident are still a mystery, but Palm Beach County deputy <NAME> stood to be the first officer in the county to be indicted for a police shooting since 1993 had he not committed suicide soon after the shooting. Peixoto pulled over a minivan because the driver was drunk. After the deputy handcuffed the driver and put him in the back seat of his patrol car, he went to the passenger\'s side to talk to <NAME>, a 35-year-old Guatemalan construction worker. Ramos was asleep. Peixoto said he woke the man up, and then Ramos slashed him several times with a butterfly knife, prompting the deputy to shoot him seven times, killing him. But Peixoto couldn\'t answer basic questions about the incident. An expert said the deputy\'s knife wounds appeared self-inflicted. And his fingerprint was the only one found on the knife. Peixoto killed himself five weeks later.','Deputy slays Guatemalan construction worker, commits suicide five weeks later','3/15/2008','7:35:00','6001 Forest Hill Blvd.','33415','Fatal','Homicide','8','7','1','1','Call','Prowler','','','','Yes','','','','','Yes','','Yes','Peixoto killed himself before the investigation finished. His second shooting (previous: IA 07-062, 07-140596). Brother also killed himself?','Yes','West Palm Beach',''),('9/18/2014 13:09:24','LM69','IA 08-007','An innocent prank went awry when a Riviera Beach officer shot his wife in the arm. Officer <NAME> was watering his grass when his wife got home early and wanted to scare him by hiding in the laundry room. Lee heard a noise from the closet, went inside and grabbed his handgun. He said nothing and fired once through the door, hitting her in the arm. Lee drove her to the hospital and she recovered. Broward Sheriff\'s Office investigators never saw the inside of the home. Lee never consented to a search, based on his lawyer\'s advice, and prosecutors wouldn\'t grant a search warrant since the shooting appeared accidental.','Innocent prank? Officer shoots wife in the arm','5/20/2008','13:15:00','1425 SW 1st Terrace','33441','Injury','','1','1','1','1','Self-initiated','','','','','','','','','','','','','Officer says he opened the door before shooting. Wife says he shot through the door.','','Deerfield Beach',''),('8/2/2013 9:05:30','LM7','11-025','Delray Beach police narcotics officer <NAME> accidentally fired his weapon during an arrest. Chin and several other officers, guns pulled, swarmed the car of a man suspected of buying $100 of crack cocaine. When Chin pulled one of the suspects out of the car, the suspect tripped into the officer. Chin squeezed the trigger on his handgun. No one was injured, and Chin was issued a written reprimand.','Suspect in crack deal falls into officer who fires by accident','6/2/2011','21:44:00','214 SE 5th St., Delray Beach, FL','33483','No injuries','','1','1','1','0','Investigation','','','','','','Yes','','','','','','','','','Delray Beach',''),('9/18/2014 14:44:03','LM70','IA 08-059','Palm Beach County Sheriff\'s deputy <NAME> shot 16-year-old <NAME> in one of the county\'s most controversial police killings. Debrosse was driving a stolen rental car when he was stopped in a movie theater parking lot. The teen backed his car into the front of the police cruiser, then pulled forward and backed up again. Bethel, who got out of his car when it was first struck, fired once as the car backed up. Then he said he fired three more times as the car pulled forward again, away from him. The reports don\'t mention any justification for shooting at the car when it was moving away from him, however. The sheriff\'s office settled a lawsuit for $200,000.','Pickup vignette///','8/2/2008','2:15:00','1003 N. State Road 7','33411','Fatal','Homicide','4','2','1','1','Traffic stop','','','','','Yes','','','','','Yes','','Yes','','','Royal Palm Beach',''),('9/18/2014 15:17:25','LM71','IA 08-080','Palm Beach County deputies were called to a tow yard for an unruly man who wanted to get into a towed car. By the time deputy <NAME> arrived, <NAME> had shot up the business office, wounding two employees. Badala saw Voltz walking back to his car and ordered him to drop his rifle. Instead, Voltz opened his car door, and Badala grabbed him and tried to disarm him. During the ensuing struggle, Voltz pointed the rifle several times at Badala, who ended up shooting him seven times, wounding him.','Man shoots two, struggles with deputy who shoots him seven times','10/22/2008','9:23:00','803 13th St.','33403','Injury','','7','6','1','1','Call','Other','','','','','','','','Yes','','','','','','Lake Park',''),('9/19/2014 12:05:38','LM72','IA 08-086','Palm Beach County Sheriff\'s Cpl. <NAME> mistakenly shot <NAME>, a 30-year-old with a history of drug abuse and mental illness, during a traffic stop. Phillips had stolen his mother\'s car, and deputies spotted it. Phillips never fled from cops, but stopped when the car broke down. He didn\'t get out of the car when told by deputies. When they approached the car, Logsdon said he saw Phillips make a \"furtive\" movement behind the car\'s heavily tinted windows and fired several times, killing Phillips instantly. Phillips was unarmed.','Mentally ill man killed when he wouldn\'t get out of mom\'s car','12/1/2008','21:30:00','515 S. Federal Highway','33435','Fatal','Homicide','5','4','1','1','Traffic stop','','','','','Yes','','','','','Yes','','Yes','Did internal investigators get a statement from the officer?? No mention of it in report.','','Boynton Beach',''),('9/19/2014 13:00:35','LM73','IA 09-010','Palm Beach County deputy <NAME> shot a driver and his passenger after the driver drove toward him. Laroche was providing off-duty security at a Walmart when <NAME>, 50, stole from the store and ran to his Jeep, which was idling in the parking lot. <NAME>, 42, was in the passenger seat. As Hay drove out of the parking lot, Laroche stood in his way, ordering him to stop. Hay didn\'t stop, instead turning to avoid hitting the deputy, and Laroche fired several times before jumping out of the way. The rounds wounded both Hay and Gamble.','Fleeing Walmart shoplifter, passenger wounded after driving toward deputy','1/18/2009','14:12:00','101 N. Congress Ave.','33404','Injury','','','3','1','2','Self-initiated','','','','','Yes','','Yes','','','Yes','','Yes','The deputy said he fired, then jumped out of the way. The report does not state how many shots were fired.','','Lake Park',''),('9/19/2014 13:30:50','LM74','IA 09-001','Riviera Beach officers pursued a gun-wielding suspect in a car to Avenue T, where the driver, <NAME>, 16, stopped abruptly. Officer <NAME> crashed into the back of the car and got out. A passenger in the suspect\'s vehicle got out and ran away. James put his vehicle into reverse and backed into Saunders, who was struck in the leg. The officer fired once to stop James, who was hit in the shoulder.','Teen rams cop with car, shot in shoulder','1/21/2009','16:00:00','1311 Avenue T','33404','Injury','','1','1','1','1','Call','Person with a gun, knife or other weapon','','','','Yes','','','Yes','','','','','','','Riviera Beach',''),('9/19/2014 13:53:35','LM75','2009-0001571','West Palm Beach officer <NAME> shot and killed known gang associate <NAME> when Davis said the man pointed a gun at him during a foot chase. Davis was driving around in an undercover car with another officer when they saw Williams and another man walking in the neighborhood. Williams didn\'t belong in the neighborhood, Davis later said, and the two officers got out of the car to talk to them. Both men ran when they saw the officers, and during a foot chase, Davis said Williams pointed a handgun at him. Davis fired five times. Williams was expected to survive, but complications during surgery claimed his life. ','Man who didn\'t belong in neighborhood gunned down during chase','1/25/2009','16:56:00','719 5th St.','33401','Fatal','Homicide','5','4','1','1','Self-initiated','','','','','','','Yes','','','','','','','','West Palm Beach',''),('9/19/2014 14:45:43','LM76','IA 2009-020','A Delray Beach-area neighbor and friend called police to check on <NAME>, a 59-year-old Vietnam veteran, because he was suicidal. When three Palm Beach County deputies arrived, Adkins opened the door with a rifle in his hand. Sgt. <NAME> and deputy <NAME> fired several times, wounding him. Adkins died several months later in the hospital. Although police initially said Adkins fired on deputies, they later said he did not shoot.','Vietnam veteran opens door with rifle in hand, shot by deputies','3/3/2009','23:30:00','7000 W. Atlantic Ave.','33446','Fatal','','7','','2','1','Call','Suicide or suicide attempt','','','','','','','','','','','Yes','Atrocious report. Report has no mention of whether the person lived. No mention of how many shots were fired. Misspells the subject\'s name throughout the report.','','Delray Beach',''),('9/22/2014 13:33:00','LM77','IA 09-021','One teen was shot and killed and another was wounded after police interrupted a robbery at a Circle K on Congress Avenue in Palm Beach County. A customer at the store called police after seeing the men don ski masks in the parking lot. PBSO deputies arrived, and <NAME> and <NAME>, both 18, ran out of the store after holding up the cashier. Holliday had a BB gun that looked like a handgun, and deputy <NAME> shot at him as he ran toward him. Holliday hid behind his getaway car, and Drummond fired a few more times when Holliday moved from behind the car. He was shot in the head and killed. Mortin was shot in the foot and survived. He was convicted of second-degree murder because he was with Holliday when Holliday was killed in the commission of a felony.','Circle K robbery suspect with BB gun killed by shot to the head','3/9/2009','1:00:00','1799 N. Congress Ave.','33409','Fatal','Homicide','4','3','2','2','Call','Prowler','','','','','','','','','','','Yes','The second-degree murder charge is really interesting.','','West Palm Beach',''),('9/22/2014 14:28:07','LM78','D-09-0225-L','Florida Highway Patrol trooper <NAME> shot and killed a carjacking suspect in Vero Beach following a car chase. <NAME>, 32, had shoved a woman and taken her car at a Fort Pierce gas station, prompting a police chase north into Indian River County. Coulter was in the lead vehicle. The chase ended when Perez-Alonso drove into the median and jumped out of the car. He had a knife in one hand and a BB gun in the other. He pointed and fired the BB gun at Coulter at about the same time as Coulter fired six rounds from his handgun, killing him.','Carjacking suspect killed after firing BB gun at cop','3/19/2009','15:30:00','27.624339, -80.515778','32966','Fatal','Homicide','6','6','1','1','Call','Stolen vehicle','','','','','','','Yes','','','','','','','',''),('9/22/2014 14:57:36','LM79','IR 09-116','Off-duty Palm Beach County Maj. <NAME> was getting ready for work when <NAME>, 22, started banging on his door. The officer opened the door and Maldonado burst in and attacked him. The two were fighting when Jenkins got his department handgun and shot Maldonado once in the head, killing him. The department did not do an internal affairs investigation because prosecutors decided the shooting was off-duty and covered under the castle doctrine.','Major defending home cleared after killing man who barged in','3/20/2009','8:00:00','600 block of South Palmway','33460','Fatal','Homicide','1','1','1','1','Citizen contact','','','','','','','','','Yes','','','','Unusual that no internal affairs investigation was done.','','Lake Worth',''),('8/2/2013 9:41:01','LM8','09-105','Employees of a Goodwill store called Delray Beach police after discovering a door left open. While searching for a potential suspect inside the dark building, officer <NAME> accidentally pulled the trigger on her handgun, firing one round. Nobody was injured in the incident, and Robertson received a written reprimand.','Officer reprimanded for firing during search of Goodwill store','10/21/2009','8:30:00','1640 N. Federal Highway, Delray Beach, FL','33483','No injuries','','1','0','1','0','Call','Other','','','','','Yes','','','','','','','','','Delray Beach',''),('9/25/2014 6:35:17','LM80','IA 09-045','A woman called police after her daughter was kidnapped at knife-point by her estranged boyfriend. <NAME>, 21, made the ex-girlfriend drive his car, and Palm Beach County deputies stopped it at Forest Hill Boulevard and Jog Road. Gomez held a knife to his ex-girlfriend\'s throat. Although he told her he wouldn\'t hurt her, he told deputies he would kill her unless they shot him. Lt. <NAME> took him at his word and counted down, \"three, two, one.\" He, Cpl. <NAME> and Cpl. <NAME> each fired into the car, killing Gomez. The ex-girlfriend was not hurt. ','Man holds knife to ex-girlfriend\'s throat, threatens to kill her if deputies don\'t kill him; they do','5/15/2009','10:25:00','Forest Hill Boulevard and Jog Road','33415','Fatal','Homicide','4','4','3','1','Call','Unknown trouble or 911 disconnect','','','','Yes','','','Yes','','','','','','','West Palm Beach',''),('9/25/2014 13:46:36','LM81','IA 09-057','Palm Beach County deputy Marco Flores shot an unarmed man while investigating an early-morning burglary attempt in the West Palm Beach area. Flores and another deputy responded to the caller\'s home and went next door to a car parked in the driveway. Alens Charles, who lived in the house, was asleep in the front passenger seat and perked up when deputies arrived. Flores said he thought Charles had a gun and fired once, hitting him in the arm. Charles was unarmed.','Cops investigating burglary awake man in car, shoot him','6/16/2009','2:16:00','4070 Arthurium Ave.','33462','Injury','','1','1','1','1','Call','Burglary or burglary alarm','','','','Yes','','','','','Yes','','Yes','Clearly a mistake was made - they shot an unarmed man. And yet the agency finds nothing to fault? Case set for jury trial.','','West Palm Beach',''),('9/25/2014 14:19:48','LM82','IA 09-021, PBSO 09-106405','Riviera Beach officers responded to a Singer Island apartment after <NAME>\' mother called 911 after he attacked her. Gomez resisted arrest, at one point sending an officer through a window. A Taser failed to stop him. When he began pummeling an officer with his fists, officer <NAME> fired once, hitting him in the abdomen. He survived.','Man fights off officers, Taser before shot to abdomen','7/18/2009','14:10:00','2666 Park Ave.','33404','Injury','','1','1','1','1','Call','Family or domestic disturbance','','Taser','','','','','','Yes','','','','','','Riviera Beach','1'),('9/26/2014 11:37:32','LM83','09-114115','Palm Beach County deputies briefly exchanged gunfire with a 62-year-old Vietnam veteran who suffered from extreme hearing and vision loss. Nobody was hurt in the firefight outside William Rives\' west county home. Rives\' wife had called 911 claiming her husband beat her and had access to guns. When deputies arrived, she was passed out on the porch. Rives came out with a handgun. Deputies identified themselves and fired on Rives when he pointed a handgun at them. Rives shot back, then went inside. He called 911 reporting strangers on his lawn, and surrendered when he learned they were police. He was arrested on four counts of attempted murder but the charges were dropped.','Veteran defending home fires on police','8/5/2009','20:26:00','23 W. Corkscrew Blvd.','33440','No injuries','','54','0','4','1','Call','Family or domestic disturbance','Yes','','','','','','','','','','Yes','Report makes no mention of the fact that the man called 911 reporting intruders and was severely blind and hard of hearing.','','Lake Harbor',''),('9/26/2014 12:54:43','LM84','09-138168','An off-duty Palm Beach County deputy shot a man after he thought the man was going for a gun. Deputy <NAME> was leaving the King Foods & Meat Bazaar in West Palm Beach when a shopper flagged him down in the parking lot. Smith was in plainclothes but had arrived in his patrol car. The shopper said that <NAME>, 28, had a gun in his waistband. Smith approached Murray, a frequent customer at the store, and told him to put his hands up. He then asked Murray if he had a gun. Murray lifted up his shirt and pulled out a knife. Smith said Murray\'s \"furtive movements\" caused him to fire twice, killing Murray.','Man killed outside grocery store when he lifted shirt to reveal knife','10/2/2009','15:00:00','1000 36th St.','33407','Fatal','Homicide','2','2','1','1','Citizen contact','','','','','','','','','','','','Yes','Report is only three pages!! Not even 600 words. Also an excellent case of how the incident was reported vs. what investigators found.','','West Palm Beach',''),('10/14/2014 14:18:35','LM85','IA 07-062','Palm Beach County deputy <NAME> might have been disciplined for firing blindly into the woods at a burglary suspect had he not killed himself before the investigation was over. Peixoto responded to a burglary call at the Bushel Stop nursery and heard someone run into the woods behind the store. The deputy said he saw a \"muzzle flash\" and believed a person in the woods was shooting at him. Although he didn\'t see anyone, he fired 12 times into the woods. <NAME> was found hiding in the woods and was arrested for the burglary, but police never found a gun. A few months later, Peixoto shot and killed a man and committed suicide soon after.','Deputy fires blindly into woods,later kills himself','11/5/2007','22:12:00','8640 Lantana Road','33467','No injuries','','12','0','1','1','Call','Burglary or burglary alarm','','','','','','','','','','','Yes','This was Peixoto\'s first shooting. He should have been off the streets.','','Lake Worth',''),('10/15/2014 11:41:38','LM86','N/A','Palm Beach County deputy <NAME> shot at and missed robbery suspect <NAME> after Austin didn\'t obey orders to surrender. Austin was later arrested. (Note: Police no longer have the report on this case.)','Deputy fires at robbery suspect, who escapes unwounded','10/24/2002','22:42:00','1025 Drexel Road','33417','No injuries','','1','0','1','1','Call','Robbery or robbery alarm','','','','','','','','','','','','Barone\'s first shooting.','','West Palm Beach',''),('10/15/2014 12:10:12','LM87','N/A','Palm Beach County deputy <NAME> shot at and missed a man after the man struck another deputy with a car. Mack and three other deputies were called to a Wellington home over a report that <NAME> was beating his girlfriend. The deputies surrounded him in his car, but Rossi took off, striking a deputy along the way. He was later arrested. (Note: Police no longer have records on this incident.)','Police shoot at man suspected of beating his girlfriend','12/7/2002','0:05:00','14048 Wellington Trace','33414','No injuries','','1','0','1','1','Call','Family or domestic disturbance','','','','Yes','','','','','','','','','','Wellington','1'),('10/15/2014 12:45:51','LM88','N/A','Palm Beach County Sgt. <NAME> initially told police that while visiting a friend, someone stole his wallet and badge and drove away in a car. He said he fired at the car because it drove at him. But detectives eventually concluded that Seigfreid had intended to meet the man, <NAME>, for sex. When Stuckey didn\'t perform the sex act, Seigfreid chased after him, dropping his badge along the way. Stuckey took the badge and demanded money for it. Seigfreid refused, and when Stuckey drove away, the sergeant fired twice at the vehicle in retaliation, hitting Seigfreid in the arm.','Sergeant meeting man for sex shoots him after he takes his badge','4/21/2006','2:00:00','400 23rd St.','33407','Injury','','2','1','1','1','Self-initiated','','','','','Yes','','','','','','','Yes','Seigfreid shot and killed a Lantana man in 1992, had a history of problems.','Yes','West Palm Beach',''),('10/15/2014 13:44:45','LM89','N/A','Palm Beach County deputy <NAME> shot <NAME> in the face when Cabrera said Jett drove at him. Cabrera had tried to pull over Jett, but the man wouldn\'t stop. Jett pulled into an apartment complex parking lot, and Cabrera got out of his patrol car. Jett had no way of escape, so he turned around in his car and drove at the deputy, who shot into the car several times.','Man shot after he drives toward deputy','10/10/2014','2:15:00','3000 block of Westgate Ave.','33409','Injury','','','','1','1','Traffic stop','','','','','Yes','','','Yes','','','','','','','West Palm Beach',''),('8/9/2013 14:32:33','LM9','08-004','Delray Beach police Detective <NAME> responded to a shoplifting call by stopping the car of fleeing suspect <NAME> at Linton Boulevard and SW 4th Avenue. Wintemute got out of his car and told Rawls to turn off hers. Instead, Rawls backed up and pulled forward to escape, striking the detective in the knee. Wintemute fired his weapon once, striking Rawls in the arm and abdomen. The detective was given a written reprimand for standing in front of Rawls\' car and placing himself in a situation where he could be struck.','Fleeing woman drives into detective, gets shot twice','11/6/2007','9:15:00','Linton Boulevard and SW 4 Avenue, Delray Beach, FL','33444','Injury','','1','1','1','1','Call','Burglary or burglary alarm','','','','Yes','','','','','','','Yes','Department decided that they wouldn\'t do IA until SA had completed investigation. SA Krischer noted: \"There remains the training issue regarding the wisdom of an officer stepping in front of a moving vehicle in an effort to arrest the occupants.\" Shooting officer wasn\'t interviewed until May 8, 2008 - seven months after the incident.','','Delray Beach',''),('10/20/2014 13:16:53','LM90','NA','Palm Beach County deputy <NAME> was patrolling a Lake Park neighborhood on a bike when he noticed <NAME> trying to break into a car with a crowbar. Hamilton fled, and when Turpin caught up to him, Hamilton refused orders to drop the crowbar, according to police. He raised the crowbar above his head, and Turpin shot him once in the arm.','Man with crowbar accused of breaking into cars shot in the arm','8/12/2014','3:10:00','1100 block of Old Dixie Highway','33401','Injury','','','1','1','1','Self-initiated','','','','','','','','','','','','','','','Lake Park',''),('10/20/2014 14:24:53','LM91','NA','Police were called to a Walgreens over a report of an armed robbery, and Palm Beach County deputy <NAME> caught up to the suspect, <NAME>, nearby. Brinson chased him on foot into an alley, where the deputy said Perez-Leon turned and pointed a gun at him. Brinson fired four times, hitting Perez-Leon three times but he survived. Perez-Leon, who was legally drunk, might have been trying to ditch the weapon -- it was found tossed over a backyard fence next to the alley.','Deputy shoots man he said pointed gun at him','5/3/2014','1:25:00','26.607560, -80.062972','33460','Injury','','4','3','1','1','Call','Robbery or robbery alarm','','','','','','Yes','','','','','','Brinson is a problem cop. ','','Lake Worth',''),('10/30/2014 10:49:25','LM92','','Two Boynton Beach officers patrolling in a car together tried to pull over a car after seeing it fail to completely stop at two stop signs. The car pulled into the driveway of a home, and officer <NAME> pulled in behind it and got out, expecting the people in the car to flee. One of the passengers, <NAME>, got out with a gun, and Herny shot him when he said Estime pointed the gun at him. Estime, who survived, had no intention of shooting the officer, however -- he left the ammunition in the car, fearing he would get in trouble for having a loaded weapon.','Man who ran stop sign raises gun even though ammo in car, gets shot','6/19/2014','2:30:00','450 NW 1st Ave.','33435','Injury','','3','1','1','1','Traffic stop','','','','','','','','','','','','','Estime never intended to shoot officers - he left the magazine of the gun in the car.','','Boynton Beach',''),('10/30/2014 12:27:27','LM93','','While at the scene of an apartment burglary, Palm Beach County deputy <NAME> saw someone he had arrested several times before: <NAME>, a mentally ill man who lived next door to the burglarized apartment. Williams asked the burglary victim if someone had broken into her apartment. Cantu told Williams to leave. Nearly two hours later, Williams returned. Cantu followed him inside and told him to get on the floor. Williams instead started fighting with the deputy, and during the struggle Williams grabbed his gun. Cantu fired twice -- the second time into Williams\' head, killing him. The gunshot was so close to Cantu\'s face that the gunpowder burned his eye.','Mentally ill man fights officer at burglary scene, is shot in the head','4/7/2014','14:41:00','4803 Orleans Court','33415','Fatal','Homicide','2','2','1','1','Call','Burglary or burglary alarm','','','','','','','','Yes','','','','So was Williams the burglary suspect or not? Family has filed an \"intent to sue.\"','','West Palm Beach',''),('10/30/2014 14:10:50','LM94','','Off-duty Palm Beach County deputy <NAME> shot a man while hanging out at his apartment complex pool. Alfonso said he saw a couple performing a \"sex act\" in the complex\'s hot tub pool and told them to leave, which they did. Later, Alfonso went back to the pool to smoke a cigar. The couple returned and confronted him. During the exchange, the man, <NAME>, raised a wine bottle above his head, Alfonso said. The deputy, fearing Ribeiro would hit him, backed up and shot him five times. He survived.','Off-duty cop shoots five times at man armed with wine bottle','3/29/2014','0:23:00','5500 Pacific Blvd.','33433','Injury','','5','5','1','1','Other','','','','','','','','','','','','','','','Boca Raton',''),('10/30/2014 14:42:56','LM95','','In a bizarre case, a Palm Beach County deputy shot <NAME>, who was naked and attacked two people before he was killed. Joseph, who had no criminal record and was not on drugs, attacked a 66-year-old man, who fought him off with a bottle opener. Later, Joseph attacked an 18-year-old man, punching him and biting him in the face while the younger man stabbed him with a box cutter. When several deputies arrived, Joseph was still naked, sweaty and bent forward with a \"crazed\" look in his eyes. He pointed toward Sgt. <NAME>, said, \"I want you,\" and lunged forward. Raasch shot him twice, killing him. It\'s still unclear why Joseph went on the rampage.','Naked man attacks elderly man, bites teen in the face, lunges at deputies, who kill him ','2/4/2014','20:20:00','26.482564, -80.122305','33484','Fatal','Homicide','2','2','1','1','Call','Assault/battery with a gun or other weapon','','','','','','','','','','','','','','Delray Beach',''),('10/31/2014 10:35:54','LM96','','Police were called after security officers at an apartment complex spotted a man, later identified as <NAME>, with a gun. Joseph got in his car and drove away. Palm Beach County deputies <NAME> and <NAME> spotted the car and followed it down a dead-end street. Although both deputies were in uniform, they were driving an unmarked Jeep Cherokee. Joseph stopped his car and the deputies drove past it and turned around. That\'s when Joseph, who thought a man by the name of <NAME> was after him, got out of his car and started shooting. Joseph said he was shooting into the air; deputies thought he was shooting at them, and they returned fire. Joseph was shot twice. He said he didn\'t know they were police.','On dead-end street, man starts shooting; deputies return fire, hitting him twice','11/23/2013','18:00:00','600 block of SW 7th Street','33430','Injury','','32','2','2','1','Call','Person with a gun, knife or other weapon','','','','','','','','','','','Yes','Being seen in police uniforms and vehicles are the best ways to prevent a shooting. Bradshaw: \"When they start firing at deputies that are clearly marked as deputies...\"','','Belle Glade',''),('10/31/2014 12:30:04','LM97','','<NAME>, a mentally ill veteran, was drinking at a friend\'s house when he pulled out a gun and pointed it at his friend\'s wife, who called 911. After Palm Beach County deputies arrived, Fay came outside and pointed the gun at them. Sgt. <NAME> and <NAME> shot and killed him.','Mentally ill veteran points gun at woman, also points gun at deputies; they kill him','11/18/2013','20:30:00','6823 Camille St.','33437','Fatal','Homicide','7','2','2','1','Call','Person with a gun, knife or other weapon','','','','','','','','','','','','','','Boynton Beach',''),('10/31/2014 13:20:31','LM98','','West Palm Beach police were called to a drive-by shooting that left a woman wounded. When officer <NAME> arrived, witnesses said the shooter was in a blue SUV. Nebbeling found the SUV nearby and pursued it until it crashed. The driver got out and ran, the front passenger got out and immediately got on the ground and the backseat passenger, <NAME>, got out with an AK-47. Nebbeling said Polen pointed the gun at him, Nebbeling he fired several times, killing him. The AK-47 was the same gun used in the drive-by shooting.','SUV passenger points AK-47 at officer; officer kills him','10/26/2013','20:15:00','1300 block of Parker Avenue','33401','Fatal','Homicide','','','1','1','Call','Assault/battery with a gun or other weapon','','','','','','','Yes','','','','','','','West Palm Beach',''),('10/31/2014 14:44:24','LM99','','I<NAME> shot and killed his wife on A1A following months of a contentious divorce. Boca Raton officer <NAME> arrived at the scene and told Burlakoff to get on the ground. Burlakoff did so, then looked up and asked, \"Where\'s your backup?\" Then, \"Just kill me.\" He reached into his waistband for his handgun and Cohen fired several times, killing him.','Just kill me\': Man who fatally shot wife reaches for handgun; officer kills him','10/20/2013','18:00:00','900 S. Ocean Blvd.','33432','Fatal','Homicide','8','4','1','1','Call','Family or domestic disturbance','Yes','','','','','','','','','','','','','Boca Raton',''),('4/13/2015 13:38:14','MM1','','Martin County deputy Angelo Minella Jr. went to investigate a domestic disturbance call between two men: <NAME> and his boyfriend, <NAME>. When he arrived at the house, Hebert was holding a BB gun modified to look like a rifle. Hebert pointed the gun at Minella and ran out of the front door. Minella shot at Hebert and missed. Hebert ran next door where two men were remodeling a house and then into the woods. He still had the gun raised, so Minella shot at him again. Minella pursued Hebert, firing a total of five shots, grazing him at least once. He then arrested him.','Man points BB gun at Martin deputy, who fires five times, grazing the suspect','2/27/2005','11:00:00 AM','1168 N.E. Cardinal Ave., near Baker Rd.','34994','Injury','','5','1','1','1','Call','Family or domestic disturbance','Yes','','','','','Yes','','','','','','This information was compiled from news stories. There are discrepancies regarding address location and also the amount of times Hebert was grazed by a bullet (2 times in earlier stories, 1 time in later story about Herbert\'s appeal.)','','Stuart',''),('4/15/2015 11:44:58','MM2','','Four armed men went to a warehouse in West Palm Beach to rob a drug dealer of his cocaine. Unbeknownst to them, the operation was a combo WPB/FBI sting to get dangerous weapons off WPB streets. Feeling threatened when the men holding guns tried to run when they were ordered to stop, the FBI SWAT team members shot and killed one man and shot and wounded two other men. One man who remained in the car, fled the scene, crashed and was apprehended by police.','FBI kills man in sting on firearms','7/1/2008','10:45:00 PM','1100 Okeechobee Rd.','33401','Fatal','','','','','3','Other','','','','','','','Yes','','','','','','','','West Palm Beach',''),('4/16/2015 12:33:55','MM3','','Riviera Beach police stopped a stolen white, two-door Ford Escort. Officers say when they approached, Torrance M. Hall, a 17-year-old driving the car, tried to run them over and struck one of their cruisers. Officers <NAME> and <NAME> opened fire on Hall and two other teens in the car. Hall survived a shot to the ankle. He was charged with two counts of aggravated assault with a motor vehicle, grand theft and possession of cocaine. ','Police shoot into car after teen rams them','4/8/2003','5:00:00 PM','1600 block of West 26th Court','33404','Injury','',NULL,NULL,'2','1','Traffic stop','','','','','','','','','','','','','','','Riviera Beach',''),('4/17/2015 9:43:24','MM4','','Riviera Beach police officer <NAME> was investigating a burglary when she walked into a back yard at 3115 Ave. <NAME> was started by a rottweiler in the next yard (3107 Ave. F) and fired two shots at the dog. One bullet ricocheted, striking next door neighbor, <NAME> in his jaw as he walked into his yard to check on why the dog was barking. Colbert was put on paid leave.','','1/11/2001','12:00:00 PM','3107 Avenue F','33404','Injury','','2','1','1','1','Call','Burglary or burglary alarm','','','','','','','','','','','','','','Riviera Beach',''),('4/17/2015 10:53:31','MM5','','<NAME> robbed a Royal Palm Beach Walgreens of more than 300 OxyContin pills. As he fled, he pulled out a pistol and aimed it at Royal Palm Beach Police Sgt. <NAME>. Murphy then fired two shots into the driver\'s door of Mann\'s 1986 Oldsmobile, but Mann escaped uninjured. Mann was later caught and charged with armed robbery, aggravated assault on an officer, resisting arrest with violence and willfully fleeing. ','','1/6/2003','4:00:00 AM','12001 Southern Blvd','33470','No injuries','','2','0','1','1','Call','Robbery or robbery alarm','','','','Yes','','','Yes','','','','','','','Royal Palm Beach',''),('4/17/2015 15:29:38','MM6','','<NAME>, 15, a former Lake Worth Middle School student, went to the school to pick up his girlfriend. While he was waiting outside, the school\'s principal, <NAME>, asked Ramos why he was there and radioed school police officer <NAME>. Ramos fled, striking Austin as he approached in a golf cart. Hatcher and a police aide were nearby and had to jump out of the way to avoid being hit by Ramos. That\'s when Austin fired three shots at the truck and missed. Ramos was later caught and charged with three counts of attempted murder. He was sentenced to four years in prison.','','11/8/2005','3:50:00 PM','1300 Barnett Dr','33461','No injuries','','3','0','1','3','Other','Other','','','','Yes','','','Yes','','','','','','','Lake Worth',''),('4/17/2015 16:41:20','MM7','','<NAME> Ripma lost control of his truck and crashed near a shopping plaza in Palm Beach Gardens. When officers <NAME> and <NAME> arrived at the scene, Ripma refused to get out of the truck, so Guillen smashed a window. Ripma then grabbed Rigney\'s gun and it went off during the scuffle, striking Ripma\'s truck. Ripma fled, but was caught by Sgt. <NAME> and a witness. Guillen suffered a head injury and Corrao hurt a shoulder. Policearrested Ripma on charges of battery on an officer, resisting an officer with violence, obstructing police by depriving an officer of the means of protection, possession of cocaine and possession of narcotic equipment.','','6/30/2007','6:15:00 PM','8900 N Military Trail','33410','Injury','','','','','','','','','','','Yes','Yes','','','','','','','','','Palm Beach Gardens',''),('4/13/2015 12:54:23','MQ1','','U.S. Drug Enforcement agent <NAME> was making an undercover drug buy in Fort Pierce when <NAME> and several other men surrounded his car and became belligerent. Uhl chased Daughtry and shot him dead from less than a foot away as the two struggled.','DEA drug buy gone bad, suspect killed','5/7/2000','8:00:00 PM','317 N. 13th St.','34950','Fatal','Homicide','','','1','1','Other','','','','','','','Yes','','Yes','','','','','No','Fort Pierce',''),('4/13/2015 13:25:52','MQ2','','West Palm Beach police officer <NAME> spotted <NAME> riding a bicycle the officer believed had been reported stolen. After Brown refused Barquin\'s order to stop, the two scuffled and Barquin shot his Taser. Brown pulled a semiautomatic handgun from his waistband and fired at Barquin, who returned fire, shooting and killing Brown.','Shootout in West Palm leaves suspect dead','8/23/2014','7:00:00 PM','500 block of 15th Street','33401','Fatal','Homicide','9','3','1','1','Investigation','Other','','Taser','','','','','','','','','','','No','West Palm Beach',''),('4/15/2015 9:46:02','MQ3','','Boca Raton officer <NAME> shot carjacking suspect <NAME> after a violent struggle. In response to public record requests, police did not provide an official report of the incident.','Carjacking suspect shot by Boca officer','3/8/2013','9:00:00 PM','4000 block of Military Trail','33431','Fatal','Homicide','','2','1','1','Call','Stolen vehicle','','Taser','','','','','','','','','','','','Boca Raton',''); /*!40000 ALTER TABLE `rawincidents` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `rawofficers` -- DROP TABLE IF EXISTS `rawofficers`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `rawofficers` ( `Timestamp` varchar(255) DEFAULT NULL, `Incident ID` varchar(255) DEFAULT NULL, `Officer last name` varchar(255) DEFAULT NULL, `First name` varchar(255) DEFAULT NULL, `Middle name or initial` varchar(255) DEFAULT NULL, `DOB` varchar(255) DEFAULT NULL, `Age` varchar(100) DEFAULT NULL, `Ethnicity` varchar(255) DEFAULT NULL, `Gender` varchar(255) DEFAULT NULL, `FDLE ID number` varchar(255) DEFAULT NULL, `Agency` varchar(255) DEFAULT NULL, `Agency ID number` varchar(255) DEFAULT NULL, `Officer's assignment` varchar(255) DEFAULT NULL, `PBSO District` varchar(255) DEFAULT NULL, `Number of shots fired by officer` varchar(255) DEFAULT NULL, `Officer weapon` varchar(255) DEFAULT NULL, `Officer injuries?` varchar(255) DEFAULT NULL, `Did officer die?` varchar(255) DEFAULT NULL, `Discipline?` varchar(255) DEFAULT NULL, `Rank` varchar(255) DEFAULT NULL, `Off-duty?` varchar(255) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `rawofficers` -- LOCK TABLES `rawofficers` WRITE; /*!40000 ALTER TABLE `rawofficers` DISABLE KEYS */; INSERT INTO `rawofficers` VALUES ('5/30/2013 15:44:11','LM1','Reynolds','Eric','M','10/21/1969','','Hispanic/Latino','Male','169045','Boynton Beach PD','','','','18','Handgun','Shot','','','Officer/Deputy',''),('5/30/2013 15:46:04','LM1','Munro','Christopher','A','4/24/1984','','White','Male','260302','Boynton Beach PD','','','','14','Handgun','','','','Officer/Deputy',''),('5/31/2013 11:13:43','KL1','Shackelford','Joel','B','4/20/1968','','White','Male','152320','Lantana PD','777','','','4','Handgun','','','','Officer/Deputy',''),('6/6/2013 12:05:49','LM2','Thomas','Robert','L','4/23/1959','','White','Male','63633','Boynton Beach PD','','Canine','','3','Handgun','Shot','','','Officer/Deputy',''),('6/14/2013 15:34:04','KL2','Llyod','Jonathan','D','8/29/1968','','White','Male','97107','Jupiter PD','','Traffic (motorcycle)','','8','Handgun','','','terminated','Officer/Deputy',''),('6/14/2013 16:07:42','KL3','Scopelitis','Nikitas','','4/10/1966','','White','Male','10063','Jupiter PD','','','','1','Handgun','','','letter or reprimand; remedial training in safe weapon handling','Sergeant',''),('6/14/2013 16:19:20','KL4','Salvemini','Michael','','4/20/1987','','White','Male','','Jupiter PD','','','','1','Handgun','','','letter of reprimand','Officer/Deputy','Yes'),('6/14/2013 16:34:14','KL5','<NAME>','Roberto','','6/10/1973','','Hispanic/Latino','Male','263883','Jupiter PD','','','','1','Handgun','','','officer advisory report and remedial training','Officer/Deputy',''),('7/12/2013 16:14:10','LM3','Shane','Chad','M.','7/19/1981','','White','Male','267876','Boynton Beach PD','885','','','1','Handgun','','','','Officer/Deputy',''),('7/12/2013 17:46:00','LM4','Medeiros','Matthew','P.','6/3/1980','','White','Male','246221','Boynton Beach PD','864','','','12','Handgun','','','','Officer/Deputy',''),('7/12/2013 17:46:17','LM4','Arco','Michael','A.','5/3/1985','','Hispanic/Latino','Male','237257','Boynton Beach PD','848','','','6','Rifle','','','','Officer/Deputy',''),('7/12/2013 17:46:55','LM4','Crowell','Henry','F.','8/13/1970','','White','Male','93946','Boynton Beach PD','731','','','12','Rifle','','','','Sergeant',''),('7/12/2013 17:51:53','LM4','Crane-Baker','John','L.','7/31/1970','','White','Male','112554','Boynton Beach PD','','','','16','','','','','Sergeant',''),('7/15/2013 18:44:39','LM5','Johnson','Jeffrey','','','','','','','Florida Highway Patrol','','','','','Handgun','','','','Lieutenant',''),('8/2/2013 11:22:30','KL6','Wright','Glenn','','1/3/1962','','White','Male','2744','Palm Beach Gardens PD','','Patrol','','','Rifle','','','','Sergeant',''),('8/2/2013 11:38:28','LM6','Jacobson','Richard','L.','5/19/1963','','White','Male','89325','Delray Beach PD','','SWAT','','1','Rifle','','','','Sergeant',''),('8/2/2013 12:00:19','KL7','Shane','Chad','M','7/19/1981','','White','Male','267876','Boynton Beach PD','885','Patrol','','6','Rifle','','','','Officer/Deputy',''),('8/2/2013 12:02:28','KL7','Britto','David','A','10/1/1982','','Hispanic/Latino','Male','276023','Boynton Beach PD','886','Patrol','','12','Handgun','','','','Officer/Deputy',''),('8/2/2013 12:05:37','LM7','Chin','Dave','M.','12/24/1976','','Other','Male','231596','Delray Beach PD','949','Narcotics','','1','Handgun','','','Written reprimand','Officer/Deputy',''),('8/2/2013 12:07:16','KL7','Lugo','Raymond','C','9/9/1972','','Hispanic/Latino','Male','255755','Boynton Beach PD','881','Patrol','','5','Handgun','','','','Officer/Deputy',''),('8/2/2013 12:12:30','KL6','Gitto','Thomas','W','12/17/1961','','White','Male','10607','Palm Beach Gardens PD','','Patrol','','unknown','Rifle','','','','Officer/Deputy',''),('8/2/2013 12:40:53','LM8','Robertson','Roxanne','H.','8/4/1972','','Black, non-Hispanic/Latino','Female','224464','Delray Beach PD','976','Patrol','','1','Handgun','','','Written reprimand','Officer/Deputy',''),('8/9/2013 17:31:48','LM9','Wintemute','James','W.','7/15/1959','','White','Male','14701','Delray Beach PD','','','','1','Handgun','Struck by vehicle','','Written reprimand','Detective',''),('12/4/2013 18:51:52','DC1','Haugh','Connor','','','','White','Male','242792','Boynton Beach PD','','Patrol','','10','Handgun','','','Address Training','Officer/Deputy',''),('12/4/2013 18:59:50','DC1','De Los Rios','Rayner','','7/7/1978','','Hispanic/Latino','Male','228424','Boynton Beach PD','','Patrol','','1','Handgun','','','Address Training','Officer/Deputy',''),('12/18/2013 13:46:59','DC2','Hawkins','Philip','L','7/13/1971','','White','Male','127615','Boynton Beach PD','','','','5','Handgun','','','','Sergeant','Yes'),('12/18/2013 17:35:30','DC3','Muhleisen','William','','2/1/1978','','White','Male','179943','Boynton Beach PD','','Patrol','','11','Handgun','','','None','Officer/Deputy',''),('5/19/2014 11:06:19','KL8','Suszczynski','Michael','J','2/24/1968','','White','Male','208711','PBSO','7775','Patrol','','2','Handgun','','','','Officer/Deputy',''),('5/26/2014 12:07:28','KL9','Speicker','Cory','Lee','7/2/1973','','White','Male','127599','St. Lucie County SO','264','Patrol','','','Handgun','','','','Officer/Deputy',''),('5/26/2014 12:22:38','KL9','Brady','John','E','4/2/1971','','White','Male','96355','St. Lucie County SO','440','Criminal Apprehension Team','','','Handgun','','','','Detective',''),('5/26/2014 12:29:57','KL9','Cannon','Jason','E','10/8/1971','','White','Male','196843','St. Lucie County SO','351','Patrol','','','Handgun','','','','Officer/Deputy',''),('5/26/2014 14:30:02','KL10','Stuhr','Richard','S','4/20/1954','','White','Male','66884','St. Lucie County SO','229','Traffic (motorcycle)','','3','Handgun','','','','Officer/Deputy','Yes'),('5/26/2014 15:04:44','KL11','Barker','Steve','H','1/1/1958','','White','Male','32710','St. Lucie County SO','','Robbery','','1','Handgun','','','','Officer/Deputy',''),('5/26/2014 16:43:02','KL12','Hester','Brian','W','12/17/1971','','White','Male','148290','St. Lucie County SO','208','Narcotics','','1','Handgun','','','','Officer/Deputy',''),('5/26/2014 17:00:45','KL13','Carmichael','Kevan','M','1/23/1963','','White','Male','71097','Port St. Lucie PD','176','Robbery','','3','Handgun','','','','Detective',''),('6/20/2014 15:59:49','KL14','Pearson','Keith','','6/7/1983','','White','Male','193570','St. Lucie County SO','314','Gangs','','','Handgun','','','','Detective',''),('6/20/2014 16:06:27','KL14','Holmes','Ralph','Keith','11/17/1973','','White','Male','167400','Fort Pierce PD','','Gangs','','','Handgun','','','','Officer/Deputy',''),('6/20/2014 17:16:30','KL15','Santos','Roberto','','','','','Male','','Port St. Lucie PD','','Narcotics','','1','Handgun','','','','Officer/Deputy',''),('6/20/2014 17:21:11','KL15','Sheelar','Michael','J','6/13/1968','','White','Male','12049','St. Lucie County SO','','Narcotics','','1','Handgun','','','','Detective',''),('6/20/2014 17:23:29','KL15','Pettit','Robert','M','6/12/1971','','White','Male','138750','St. Lucie County SO','','Narcotics','','1','Handgun','','','','Officer/Deputy',''),('8/15/2014 14:11:53','KL16','Merkle','Frederick Jr.','J','8/21/1974','','White','Male','116326','Boynton Beach PD','702','Patrol','','5','Handgun','','','','Officer/Deputy',''),('8/15/2014 14:26:23','LM10','Holland','Paul','M.','8/14/1962','','White','Male','124910','Boca Raton PD','','','','','Handgun','','','','Officer/Deputy',''),('8/15/2014 14:31:50','LM10','Floyd','Norman','C.','7/30/1952','','White','Male','53563','Boca Raton PD','','','','','Handgun','','','','Sergeant',''),('8/15/2014 14:51:30','LM11','Moncelli','Frank','W.','1/17/1986','','White','Male','142566','Greenacres PD','','Patrol','','1','Shotgun','','','','Officer/Deputy',''),('8/15/2014 14:52:24','KL17','Strivelli','Steven','M','6/16/1976','','White','Male','141696','PBSO','5824','Narcotics','district 1','2','Handgun','','','','Officer/Deputy',''),('8/15/2014 17:02:52','LM12','Smith','Scott','O.','5/26/1958','','White','Male','6469','PBSO','','','','','Rifle','','','','Sergeant',''),('8/15/2014 17:27:49','KL18','Mercier','Daniel','M','1/25/1973','','White','Male','253720','PBSO','8236','Patrol','','4','Handgun','','','','Officer/Deputy',''),('8/15/2014 17:31:01','LM13','Calise','Jeffrey','','','','White','Male','2310','PBSO','3161','','','1','','','','','Lieutenant',''),('8/15/2014 17:52:18','KL19','Reza','Ryan','T','4/25/1987','','Hispanic/Latino','Male','265690','PBSO','9167','Patrol','','5','Handgun','','','','Officer/Deputy',''),('8/15/2014 18:03:49','KL19','Eley','Joshua','P','4/11/1980','','White','Male','283540','PBSO','9134','Patrol','','4','Handgun','','','','Officer/Deputy',''),('8/15/2014 18:26:11','LM14','Savage','Dererk','A.','2/27/1967','','Black, non-Hispanic/Latino','Male','62590','PBSO','4356','Patrol','District 13 - Belle Glade','1','Handgun','','','','Corporal',''),('8/18/2014 16:55:01','LM15','Jenne','Darren','','9/23/1976','','White','Male','134676','West Palm Beach PD','1510','Patrol','','3','Handgun','','','','Officer/Deputy',''),('8/18/2014 18:26:38','LM16','Martinez','Marcos','J.','6/24/1966','','Black, non-Hispanic/Latino','Male','57850','PBSO','2522','','','1','Rifle','','','','Lieutenant',''),('8/18/2014 18:56:25','LM17','Ellis','Anthony','B.','4/27/1960','','Black, non-Hispanic/Latino','Male','55938','West Palm Beach PD','1112','','','7','Handgun','','','','Officer/Deputy',''),('8/19/2014 12:02:01','LM18','Collister','Michael','L.','10/24/1959','43','White','Male','39631','PBSO','2777','SWAT','','','','','','','Officer/Deputy',''),('8/19/2014 12:02:27','LM18','Thompson','Trenton','J.','6/8/1971','31','White','Male','106906','PBSO','','SWAT','','','','','','','',''),('8/19/2014 14:18:04','LM19','McArdle','William','M.','4/9/1962','','White','Male','13421','PBSO','4647','','','1','Shotgun','','','','Corporal',''),('8/19/2014 15:03:17','LM20','Nealy','Sandra','','','','','Female','','PBSO','3444','Corrections','','2','Handgun','','','training','Sergeant',''),('8/19/2014 16:29:16','LM21','Roussel','Jamie','N.','7/7/1971','','White','Male','96400','PBSO','','','','3','','','','','Officer/Deputy',''),('8/19/2014 17:08:38','LM22','Dodson','Michael','W.','5/30/1972','','White','Male','130717','Riviera Beach PD','4606','','','1','Handgun','','','','Detective',''),('8/19/2014 18:22:41','LM23','Hart','Joseph','J.','10/29/1968','','White','Male','95685','Delray Beach PD','','','','3','Handgun','','','','Officer/Deputy',''),('8/19/2014 18:22:34','LM23','Eberhart','David','M.','1/6/1962','','White','Male','35745','Delray Beach PD','','','','1','Handgun','','','','Sergeant',''),('8/20/2014 15:20:07','LM24','Barone','John','A.','2/21/1972','','White','Male','152700','PBSO','6728','SWAT','','','Handgun','','','','Officer/Deputy',''),('8/20/2014 15:47:08','LM25','Harrell','Anthony','D.','2/24/1965','','Black, non-Hispanic/Latino','Male','10411','PBSO','3950','','','1','Handgun','','','','Officer/Deputy',''),('8/20/2014 16:45:21','LM26','Caroscio','Joseph','Mario','1/10/1957','','White','Male','150528','PBSO','6459','','District 7 - Boca Raton','3','Handgun','','','','Corporal',''),('8/20/2014 17:25:50','LM27','Fonteyn','Robert','J.','4/17/1971','','White','Male','145217','Port St. Lucie PD','','Narcotics','','1','Handgun','Struck by vehicle','','','Detective',''),('8/20/2014 17:57:55','LM28','Fonseca','Joaquin','','5/30/1966','','Hispanic/Latino','Male','13540','PBSO','','','','1','Handgun','','','','Officer/Deputy',''),('8/21/2014 14:40:37','LM29','Barnes','Simon','','6/3/1963','','Black, non-Hispanic/Latino','Male','52827','PBSO','4051','','','1','Shotgun','','','','Captain and above',''),('8/21/2014 14:40:50','LM29','(unknown)','(unknown)','','','','','Male','','FBI','','','','','Handgun','','','','',''),('8/21/2014 14:40:43','LM29','Thompson','Angela','L.','4/2/1976','','White','Female','149914','PBSO','6989','Patrol','District 1 - West Palm Beach','','Handgun','','','','Officer/Deputy',''),('8/21/2014 15:30:32','LM30','Scerbo','Christian','A.','3/12/1977','','White','Male','162115','PBSO','7590','','District 10 - Lake Park','1','Handgun','','','','Officer/Deputy',''),('8/22/2014 11:06:04','KL20','Kushel','Joshua','S','11/24/1981','','White','Male','219263','PBSO','8304','Patrol','','5','Handgun','','','','Officer/Deputy',''),('8/22/2014 13:03:22','LM32','Beath','Michael','Shane','','','','Male','','Port St. Lucie PD','','SWAT','','1','Handgun','','','','Detective',''),('8/22/2014 15:23:48','LM33','Withrow','Rob-Roy','','12/11/1958','','White','Male','61653','PBSO','3388','','','5','Handgun','','','','Officer/Deputy',''),('8/22/2014 15:23:54','LM33','Goddard','Shawn','A.','7/15/1969','','White','Male','128536','PBSO','7510','Patrol','District 7 - Boca Raton','4','Handgun','','','','Officer/Deputy',''),('8/22/2014 15:24:38','LM33','Macleod','Dana','M.','9/14/1967','','White','Male','113825','PBSO','7377','Patrol','District 7 - Boca Raton','7','Rifle','','','','Officer/Deputy',''),('8/22/2014 15:24:44','LM33','Adams','Robert','G.','11/29/1977','','White','Male','157942','Boca Raton PD','599','Canine','','14','Handgun','','','','Officer/Deputy',''),('8/22/2014 15:40:14','KL21','Kilner','Reece','','','','','Male','','Port St. Lucie PD','376','SWAT','','','Handgun','','','','Sergeant',''),('8/22/2014 15:44:19','KL21','Zamoyski','Adrian','','','','','Male','','Port St. Lucie PD','454','SWAT','','','Rifle','','','','Officer/Deputy',''),('8/22/2014 15:46:44','KL21','Lodwick','Ryan','','','','','Male','','Port St. Lucie PD','467','SWAT','','','Rifle','','','','Detective',''),('8/22/2014 16:12:09','KL22','Goldstein','William','L.','9/4/1979','33','White','Male','288413','PBSO','7531','Patrol','','11','Handgun','','','','Officer/Deputy',''),('8/22/2014 16:16:47','LM34','Lentini','Nicholas','E.','9/11/1979','','White','Male','196990','PBSO','7321','Patrol','District 3 - North Palm','','Handgun','','','','Officer/Deputy',''),('8/22/2014 17:24:38','LM35','Eggers','James','E.','1/22/1974','','White','Male','188225','Riviera Beach PD','','','','1','Handgun','','','','Officer/Deputy','Yes'),('8/22/2014 17:41:30','KL23','Klaysmat','Richard','J','7/29/1967','','White','Male','88456','PBSO','5483','Canine','','16','Handgun','','','','Officer/Deputy',''),('8/22/2014 17:53:45','KL23','Rutherford','David','D','10/1/1970','','White','Male','247366','PBSO','8060','Patrol','','1','Shotgun','','','','Officer/Deputy',''),('8/22/2014 17:59:11','KL23','Burdick','Richard','Z','6/4/1961','','White','Male','82309','PBSO','2848','Patrol','','18','Rifle','Shot','','','Lieutenant',''),('8/25/2014 14:42:11','LM31','Bufano','Andrea','','8/14/1967','','White','Female','196450','PBSO','7306','','','','','','','','Officer/Deputy',''),('8/25/2014 14:42:17','LM31','Thomas','Dwayne','C.','11/10/1965','','Black, non-Hispanic/Latino','Male','52775','PBSO','3731','','District 3 - North Palm','','','','','','Officer/Deputy',''),('8/25/2014 14:42:25','LM31','Ostuni','Todd','D.','1/26/1965','','White','Male','106900','PBSO','5250','','District 3 - North Palm','','','','','','Corporal',''),('8/26/2014 13:20:47','LM36','Hansen','Michael','J.','1/5/1975','','White','Male','144904','PBSO','6223','SWAT','','1','Rifle','','','','Officer/Deputy',''),('8/29/2014 11:08:54','KL24','Ellis','Paul','R','4/6/1967','','White','Male','64818','PBSO','5186','Patrol','','1','Handgun','','','','Corporal',''),('8/29/2014 11:28:04','KL24','Walton','Thomas','Charles','6/30/1972','','White','Male','150317','PBSO','6942','Patrol','','15','Rifle','','','','Officer/Deputy',''),('8/29/2014 11:30:34','KL24','Crawford','Leonard','L','1/6/1968','','White','Male','251349','PBSO','8285','Patrol','','5','Rifle','','','','Officer/Deputy',''),('8/29/2014 11:33:25','KL24','Gay','Cleveland','D','2/11/1968','','White','Male','107715','PBSO','6985','Patrol','','5','Handgun','','','','Officer/Deputy',''),('8/29/2014 11:38:54','LM37','Theel','James','R.','6/12/1970','','White','Male','94719','PBSO','5239','Traffic (motorcycle)','','5','Handgun','','','','Officer/Deputy',''),('8/29/2014 11:39:13','KL24','Bejarano','Rafael','','','','','Male','','PBSO','9549','','','3','Handgun','','','','Detective','Yes'),('8/29/2014 12:28:27','LM38','Ferrell','Paul','F.','3/12/1973','','White','Male','101102','Okeechobee County SO','','','','2','Handgun','','','','Corporal',''),('8/29/2014 12:44:47','KL25','Custer','Michael','M','7/8/1969','','White','Male','73245','PBSO','','','','4','Handgun','','','','Sergeant',''),('8/29/2014 13:02:21','LM39','Roaf','Kerry','J.','9/17/1962','','White','Male','49598','West Palm Beach PD','806','','','1','Handgun','','','','Sergeant',''),('8/29/2014 14:14:06','KL26','Hoffman','Joseph','K','7/27/1968','','White','Male','101054','Riviera Beach PD','5756','Canine','','4','Handgun','','','','Officer/Deputy',''),('8/29/2014 14:16:47','KL26','Dandria','Michael','R','9/3/1974','','White','Male','149915','Riviera Beach PD','4564','Patrol','','3','Shotgun','','','','Sergeant',''),('8/29/2014 15:24:23','KL27','Momirovich','Rade','T','10/18/1974','','White','Male','268966','West Palm Beach PD','1794','Patrol','','','Handgun','Shot','','','Officer/Deputy',''),('8/29/2014 15:32:36','KL27','Padgett','Covelle','','','','Black, non-Hispanic/Latino','Male','','West Palm Beach PD','1882','Patrol','','2','Handgun','','','','Officer/Deputy',''),('8/29/2014 17:51:02','KL28','Hardy ','Charles Jr.','R','8/28/1977','','White','Male','155028','PBSO','6491','Canine','','5','Handgun','','','','Officer/Deputy',''),('9/2/2014 13:34:13','LM41','Law','Yun','','8/9/1967','','Asian','Male','118946','PBSO','6276','','District 7 - Boca Raton','1','Handgun','','','','Officer/Deputy',''),('9/2/2014 15:43:25','LM42','Thomas','Scott','R.','12/13/1962','','White','Male','10004','PBSO','2500','Canine','','14','Handgun','','','','Officer/Deputy',''),('9/2/2014 15:43:21','LM42','Thornton','Michael','W.','2/23/1964','','White','Male','116338','PBSO','5472','','District 4 - Delray Beach','2','Shotgun','','','','Sergeant',''),('9/2/2014 15:43:31','LM42','Flores','Marco','Y.','9/24/1973','','Hispanic/Latino','Male','144707','PBSO','8015','Patrol','District 4 - Delray Beach','14','Handgun','','','','Officer/Deputy',''),('9/2/2014 15:43:28','LM42','Torres','Edgardo','','9/27/1961','','Hispanic/Latino','Male','176646','PBSO','7879','Patrol','District 12 - Pahokee','1','Shotgun','','','','Officer/Deputy',''),('9/2/2014 18:16:38','LM40','Savage','Dererk','A.','2/27/1967','','Black, non-Hispanic/Latino','Male','62590','PBSO','4356','Patrol','District 3 - North Palm','2','Handgun','','','','Sergeant',''),('9/2/2014 19:06:20','LM43','Key','Gregory','A.','3/3/1960','','Black, non-Hispanic/Latino','Male','68683','West Palm Beach PD','937','','','3','Handgun','','','','Sergeant','Yes'),('9/3/2014 15:08:32','LM44','Navarro','Victor','N.','9/25/1976','','Hispanic/Latino','Male','117647','PBSO','','','','16','Handgun','','','','Officer/Deputy',''),('9/3/2014 15:08:39','LM44','Diaz','Lauro','E.','9/4/1961','','Hispanic/Latino','Male','43069','PBSO','','','','24','Rifle','','','','Captain and above',''),('9/3/2014 15:08:46','LM44','Allison','Brian','M.','6/3/1980','','White','Male','233202','PBSO','','','','21','Handgun','','','','Officer/Deputy',''),('9/3/2014 15:08:53','LM44','Morgado','Daniel','F.','5/30/1973','','Hispanic/Latino','Male','165767','PBSO','','','','6','Handgun','','','','Officer/Deputy',''),('9/3/2014 15:08:57','LM44','Siew','Krishna','S.','2/3/1970','','White','Male','166110','PBSO','','','','2','Handgun','','','','Officer/Deputy',''),('9/3/2014 15:09:02','LM44','Grindey','James','E.','11/8/1961','','White','Male','168407','PBSO','','','','','','','','','',''),('9/3/2014 15:09:09','LM44','Richards','Keith','R.','2/11/1972','','White','Male','148469','PBSO','','Canine','','40','Handgun','','','','Officer/Deputy',''),('9/3/2014 15:09:14','LM44','Penta','Louis','','3/26/1970','','White','Male','149456','PBSO','','','','13','Handgun','','','','Sergeant',''),('9/3/2014 15:09:19','LM44','Foster','Jarrod','R.','11/20/1979','','White','Male','198053','PBSO','','','','','','','','','Officer/Deputy',''),('9/3/2014 15:09:23','LM44','Stokes','Keith','R.','2/13/1984','','White','Male','226438','PBSO','','','','21','Handgun','','','','Officer/Deputy',''),('9/3/2014 15:09:28','LM44','Campbell','Colin','S.','6/14/1969','','White','Male','223215','PBSO','','','','20','Handgun','','','','Officer/Deputy',''),('9/3/2014 15:09:33','LM44','Archambault','Joseph','W.','7/31/1972','','White','Male','152389','PBSO','','','','10','Rifle','','','','Detective',''),('9/3/2014 15:09:41','LM44','Blackman','Stuart','A.','12/20/1969','','White','Male','126759','PBSO','','','','19','Handgun','','','','Officer/Deputy',''),('9/3/2014 15:09:37','LM44','Viti','Keith','D.','10/6/1976','','White','Male','204937','PBSO','','','','','','','','','Officer/Deputy',''),('9/3/2014 15:09:53','LM44','Tomassi','Ronald','J.','4/5/1952','','White','Male','6568','PBSO','','','','13','Handgun','','','Endangering others through neglect of duty','Detective',''),('9/3/2014 15:10:03','LM44','Lennertz','Paul','M.','3/29/1972','','White','Male','131931','PBSO','','','','','','','','','Officer/Deputy',''),('9/3/2014 15:10:08','LM44','Crossen','Trent','J.','7/18/1972','','White','Male','142132','PBSO','','','','23','Handgun','','','','Sergeant',''),('9/3/2014 15:10:12','LM44','Drake','Robert','C.','2/14/1962','','White','Male','90305','PBSO','','','','8','Handgun','','','','Detective',''),('9/3/2014 15:10:16','LM44','Wolf','Christopher','C.','1/24/1976','','White','Male','133629','PBSO','','Canine','','','','','','','Officer/Deputy',''),('9/3/2014 15:10:29','LM44','Zeller','Matthew','D.','6/11/1983','','White','Male','208048','Boynton Beach PD','','','','','','','','','Officer/Deputy',''),('9/3/2014 15:10:25','LM44','Garofalo','Gary','','9/25/1975','','White','Male','148577','Boynton Beach PD','','','','','','','','','Officer/Deputy',''),('9/3/2014 15:10:34','LM44','Dunlop','John','C.','12/25/1970','','White','Male','136291','Boynton Beach PD','','','','','','','','','Officer/Deputy',''),('9/3/2014 18:16:51','LM45','Coffey','David','L.','11/5/1980','','White','Male','224130','Boynton Beach PD','849','','','3','Handgun','','','','Officer/Deputy',''),('9/3/2014 18:16:58','LM45','Turco','Charles','','4/29/1969','','White','Male','164266','Boynton Beach PD','768','','','2','Handgun','','','','Officer/Deputy',''),('9/5/2014 14:37:31','KL29','Gale','William','C','10/24/1962','','White','Male','108586','PBSO','5381','Patrol','','2','Shotgun','','','','Sergeant',''),('9/5/2014 15:16:11','KL29','Booth','Charles','','','','','Male','','PBSO','12461','Patrol','','4','Handgun','','','','Officer/Deputy',''),('9/5/2014 15:17:36','KL29','Stokes','Keith','R.','2/13/1984','','White','Male','226438','PBSO','','','','4','Rifle','','','','Officer/Deputy','Yes'),('9/5/2014 15:25:38','KL30','Bush','Reginal','B','6/21/1965','','Black, non-Hispanic/Latino','Male','32855','PBSO','7352','Patrol','','5','Handgun','','','','Officer/Deputy',''),('9/5/2014 15:42:11','KL31','Bethel','Eric','','6/18/1973','','White','Male','217550','PBSO','8389','Patrol','District 9- Royal Palm Beach','2','Handgun','','','','Officer/Deputy',''),('9/5/2014 17:16:06','KL32','Walton','Thomas','Charles','6/30/1972','','White','Male','150317','PBSO','6942','Patrol','','1','Handgun','','','','Officer/Deputy',''),('9/8/2014 17:20:31','LM46','Wilson','Garry','M.','3/4/1968','','Black, non-Hispanic/Latino','Male','108476','Riviera Beach PD','','','','1','Handgun','','','','Detective',''),('9/9/2014 13:41:57','LM47','Shackelford','Joel','B.','4/20/1968','','White','Male','152320','Lantana PD','777','Traffic (motorcycle)','','1','Handgun','','','','Officer/Deputy',''),('9/9/2014 15:30:05','LM48','Gorski','Keith','R.','5/2/1971','','White','Male','127865','West Palm Beach PD','1479','Patrol','','6','Handgun','','','','Officer/Deputy',''),('9/9/2014 19:21:19','LM49','Saridakis','Jakovos','','5/12/1957','','White','Male','58374','West Palm Beach PD','992','Traffic (motorcycle)','','','Handgun','Struck by vehicle','','','Officer/Deputy',''),('9/9/2014 19:21:27','LM49','Zangara','Jason','','5/17/1973','','White','Male','170914','West Palm Beach PD','1673','Patrol','','','Handgun','','','','Officer/Deputy',''),('9/10/2014 14:41:50','LM50','McGovern','Sean','W.','10/23/1970','','White','Male','112846','Boca Raton PD','','','','3','Handgun','','','','Sergeant',''),('9/10/2014 16:13:00','LM51','Aguirre','Francisco','J.','7/29/1973','','Hispanic/Latino','Male','220223','Riviera Beach PD','','','','1','Handgun','','','','Officer/Deputy',''),('9/10/2014 16:13:06','LM51','Summers','Jeremy','P.','4/24/1980','','White','Male','169304','Riviera Beach PD','','','','4','Handgun','','','','Officer/Deputy',''),('9/10/2014 16:58:36','LM52','Johnson','Michael','G.','2/4/1976','','White','Male','169481','PBSO','7655','Patrol','District 4 - Delray Beach','1','Handgun','','','','Officer/Deputy',''),('9/11/2014 19:09:02','LM54','Kirkpatrick','William','R.','2/10/1970','','White','Male','97521','PBSO','4822','Patrol','District 9 - Royal Palm Beach','2','Handgun','','','','Corporal','Yes'),('9/11/2014 19:09:09','LM54','Hightower','James','M.','1/6/1968','','White','Male','94342','PBSO','4515','Patrol','District 1 - West Palm Beach','2','Handgun','','','','Sergeant',''),('9/11/2014 19:09:14','LM54','Suarez','James','','1/29/1969','','Hispanic/Latino','Male','135769','PBSO','7953','Patrol','District 1 - West Palm Beach','2','Handgun','','','','Officer/Deputy',''),('9/11/2014 19:09:19','LM54','Combs','Donald','C.','1/2/1952','','White','Male','75400','PBSO','4219','','District 4 - Delray Beach','4','Handgun','','','','Detective',''),('9/11/2014 19:09:25','LM54','Tognacci','Michael','D.','1/13/1983','','White','Male','235968','PBSO','8063','Patrol','District 1 - West Palm Beach','6','Handgun','','','','Officer/Deputy',''),('9/12/2014 12:07:57','KL33','Reza','Ryan','T','4/25/1987','','White','Male','265690','PBSO','9167','Patrol','','','Handgun','','','','Officer/Deputy',''),('9/12/2014 12:09:15','LM53','Phillips','Shawn','M.','9/27/1970','','White','Male','139172','West Palm Beach PD','1591','Patrol','','3','Handgun','Beaten','','','Officer/Deputy',''),('9/12/2014 14:14:46','KL34','<NAME>','Everton','Wayne','','','','Male','','Riviera Beach PD','5419','Patrol','','1','Handgun','','','','Officer/Deputy',''),('9/12/2014 14:31:51','LM55','Reyes','Iris','I.','6/10/1979','','Hispanic/Latino','Female','204908','PBSO','7452','','District 3 - North Palm','1','Handgun','','','','Officer/Deputy',''),('9/12/2014 14:31:57','LM55','McMichael','Sean','C.','2/22/1975','','White','Male','228869','PBSO','7944','','District 3 - North Palm','3','Handgun','','','','Officer/Deputy',''),('9/12/2014 14:32:06','LM55','Piatchek','Joseph','D.','1/19/1975','','White','Male','249348','PBSO','7930','','District 1 - West Palm Beach','17','Handgun','','','','Officer/Deputy',''),('9/12/2014 14:32:15','LM55','Sohn','Mark','J.','7/5/1975','','White','Male','170370','Boynton Beach PD','790','Canine','','12','Handgun','','','','Officer/Deputy',''),('9/12/2014 15:28:37','KL35','Rouse','Latoya','Shakahn','2/1/1977','','Black, non-Hispanic/Latino','Female','178240','PBSO','6673','Corrections','','2','Handgun','','','','Officer/Deputy',''),('9/12/2014 15:38:12','LM56','Montesino','Sergio','','11/30/1974','','Hispanic/Latino','Male','237204','PBSO','8287','Patrol','District 1 - West Palm Beach','1','Handgun','','','','Officer/Deputy',''),('9/12/2014 15:54:17','KL36','Swiderski','Joseph','C','','','White','Male','139376','West Palm Beach PD','1552','Patrol','','1','Handgun','','','','Officer/Deputy',''),('9/12/2014 16:24:51','LM57','Torres','David','J.','11/5/1957','','Black, non-Hispanic/Latino','Male','54639','Riviera Beach PD','105','','','6','Handgun','','','','',''),('9/12/2014 16:45:01','LM58','Smith','Anthony','L.','1/17/1961','','Black, non-Hispanic/Latino','Male','42579','Riviera Beach PD','','','','1','Handgun','','','','Lieutenant',''),('9/12/2014 16:45:12','LM58','Coppin','Robert','E.','4/28/1967','','Black, non-Hispanic/Latino','Male','97750','Riviera Beach PD','','','','1','Handgun','','','','Lieutenant',''),('9/12/2014 17:19:59','KL37','Tognacci','Michael ','D','','','White','Male','235968','PBSO','','Patrol','','1','Rifle','','','','Officer/Deputy',''),('9/12/2014 17:54:04','KL38','Jones','Eugene','E','','','Black, non-Hispanic/Latino','Male','250746','West Palm Beach PD','1770','Patrol','','1','Handgun','','','','Officer/Deputy',''),('9/15/2014 16:14:32','LM59','Wier','David','S.','7/23/1968','','White','Male','93756','Boynton Beach PD','','SWAT','','2','Handgun','','','','Sergeant',''),('9/15/2014 16:49:37','LM60','Spinosa','Raymond','A.','7/20/1970','','White','Male','150208','West Palm Beach PD','1550','Patrol','','2','Handgun','','','','Officer/Deputy',''),('9/15/2014 17:54:20','LM61','Raja','Sanjay','O.','1/14/1977','','Other','Male','153856','West Palm Beach PD','1663','Patrol','','5','Handgun','','','','Officer/Deputy',''),('9/15/2014 19:08:17','LM62','<NAME>','Melvin','J.','12/24/1981','','Black, non-Hispanic/Latino','Male','227082','PBSO','7718','','District 1 - West Palm Beach','4','Handgun','','','','Officer/Deputy',''),('9/15/2014 19:08:13','LM62','Piatchek','Joseph','D.','1/19/1975','','White','Male','249348','PBSO','7930','','District 1 - West Palm Beach','10','Handgun','','','','Officer/Deputy',''),('9/15/2014 19:08:20','LM62','(unknown)','(unknown)','','','','','','','PBSO','','Narcotics','','4','Handgun','','','','',''),('9/15/2014 19:08:27','LM62','(unknown)','(unknown)','','','','','','','PBSO','','Narcotics','','2','Handgun','','','','',''),('9/16/2014 11:06:21','LM63','Lee','Roosevelt','R.','9/24/1968','','Black, non-Hispanic/Latino','Male','105263','Riviera Beach PD','4098','','','6','Handgun','','','','Officer/Deputy',''),('9/16/2014 13:00:56','LM64','Fashaw','Bertram','B.','6/4/1969','','Black, non-Hispanic/Latino','Male','105566','Riviera Beach PD','','','','9','Handgun','','','','Corporal',''),('9/16/2014 13:01:05','LM64','McGriff','Cornelius','D.','2/10/1981','','Other','Male','256706','Riviera Beach PD','','','','3','Handgun','','','','Officer/Deputy',''),('9/16/2014 15:38:53','LM65','Glisson','Dan','E.','12/27/1976','','White','Male','151606','PBSO','6475','','','3','Handgun','','','','Officer/Deputy',''),('9/16/2014 17:48:55','LM66','Evans','James','K.','2/10/1975','','Black, non-Hispanic/Latino','Male','163032','PBSO','6638','','District 4 - Delray Beach','1','Handgun','','','','Officer/Deputy',''),('9/16/2014 17:49:02','LM66','Tembeckjian','Lorin','H.','4/30/1979','','White','','225917','PBSO','7741','','','7','Handgun','Struck by vehicle','','','Officer/Deputy',''),('9/17/2014 16:28:36','LM67','Radanof','Barry','R.','','47','White','Male','','Florida Highway Patrol','','Patrol','','1','Handgun','','','80-hour suspension','Officer/Deputy',''),('9/17/2014 18:25:29','LM68','Peixoto','Samuel','S.','3/3/1970','','Hispanic/Latino','Male','253406','PBSO','8212','Patrol','District 1 - West Palm Beach','8','Handgun','Stabbed himself','','','Officer/Deputy',''),('9/18/2014 16:09:28','LM69','Lee','Roosevelt','R.','9/24/1968','','Black, non-Hispanic/Latino','Male','105263','Riviera Beach PD','','','','1','Handgun','','','','Officer/Deputy','Yes'),('9/18/2014 17:43:59','LM70','Bethel','Eric','A.','6/18/1973','','White','Male','217550','PBSO','8389','Patrol','District 9 - Royal Palm Beach','4','Handgun','','','','Officer/Deputy',''),('9/18/2014 18:17:31','LM71','Badala','William','','7/17/1971','','White','Male','254414','PBSO','8011','Patrol','District 10 - Lake Park','7','Handgun','','','','Officer/Deputy',''),('9/19/2014 10:28:29','KL39','Rivera Jr.','Juvencio','','2/8/1978','','Hispanic/Latino','Male','154231','PBSO','8079','','','5','Handgun','','','','Officer/Deputy','Yes'),('9/19/2014 11:14:42','KL40','Malta','Christian','T','10/19/1981','','White','Male','270542','West Palm Beach PD','1740','Patrol','','1','Handgun','','','','Officer/Deputy',''),('9/19/2014 11:23:34','KL41','<NAME>.','Jimmy','','9/16/1978','','Hispanic/Latino','Male','252235','Boca Raton PD','675','Patrol','','2','Handgun','','','','Officer/Deputy',''),('9/19/2014 14:14:07','KL42','Schumm','Bryan','D','5/24/1982','','White','Male','248612','PBSO','8062','Criminal Apprehension Team','District 3 - North Palm','1','Handgun','','','','Officer/Deputy',''),('9/19/2014 15:05:47','LM72','Logsdon','Richard','M.','5/23/1972','','White','Male','149237','PBSO','6170','Canine','','5','Handgun','','','','Corporal',''),('9/19/2014 16:00:41','LM73','Laroche','Thomas','R.','2/13/1971','','White','Male','159807','PBSO','6510','Patrol','District 13 - Belle Glade','','Handgun','','','','Officer/Deputy','Yes'),('9/19/2014 16:30:37','LM74','Saunders','William','D.','4/17/1964','','Black, non-Hispanic/Latino','Male','134319','Riviera Beach PD','4660','','','1','Handgun','Struck by vehicle','','','Corporal',''),('9/19/2014 16:53:44','LM75','Davis','Craig','M.','1/14/1972','','White','Male','143402','West Palm Beach PD','1492','','','5','Handgun','','','','Officer/Deputy',''),('9/19/2014 17:45:49','LM76','Otero','Celso','L.','2/27/1957','','Hispanic/Latino','Male','68100','PBSO','3172','Patrol','District 4 - Delray Beach','6','Handgun','','','','Sergeant',''),('9/19/2014 17:45:56','LM76','Hernandez','Phil','F.','4/20/1984','','Hispanic/Latino','Male','226580','PBSO','8230','Patrol','District 4 - Delray Beach','1','Shotgun','','','','Officer/Deputy',''),('9/22/2014 16:33:09','LM77','Drummond','Kevin','W.','12/10/1975','','White','Male','194894','PBSO','7454','','','3','Handgun','','','','Officer/Deputy',''),('9/22/2014 16:33:05','LM77','Reyes','Iris','I.','6/10/1979','','Hispanic/Latino','Female','204908','PBSO','7452','Violent crimes/Homicide','','1','Handgun','','','','Corporal',''),('9/22/2014 17:28:31','LM78','Coulter','Michael','E.','','','','Male','','Florida Highway Patrol','','','','6','Handgun','','','','Officer/Deputy',''),('9/22/2014 17:58:12','LM79','Jenkins','Richard','E.','9/10/1954','','White','Male','46017','PBSO','','','','1','Handgun','','','','Captain and above','Yes'),('9/24/2014 12:41:51','KL43','Saunders','William','D','4/17/1964','','Black, non-Hispanic/Latino','Male','134319','Riviera Beach PD','unknown','','','unknown','','','','','Officer/Deputy','Yes'),('9/24/2014 14:04:30','KL44','Franqui','Jason','M','1/17/1978','','Hispanic/Latino','Male','218558','PBSO','8402','Patrol','District 9 - Royal Palm Beach','6','Handgun','','','','Officer/Deputy',''),('9/24/2014 16:47:11','KL45','Rieger','Timothy','','2/23/1987','','White','Male','306951','PBSO','8355','Patrol','','unknown','Handgun','','','','Officer/Deputy',''),('9/25/2014 9:34:21','LM80','Tapia','Peter','','4/11/1967','','Hispanic/Latino','Male','154190','PBSO','6342','Canine','','2','Handgun','','','','Corporal',''),('9/25/2014 9:34:27','LM80','Wolf','Christopher','C.','1/24/1976','','White','Male','133629','PBSO','6178','Canine','','1','Handgun','','','','Corporal',''),('9/25/2014 9:34:36','LM80','Martinez','Marcos','J.','6/24/1966','','Hispanic/Latino','Male','57850','PBSO','2522','','','1','Rifle','','','','Lieutenant',''),('9/25/2014 15:39:41','KL46','Ferrell','Paul','F','3/12/1973','','White','Male','101102','Okeechobee County SO','','Narcotics','','4','Rifle','','','','Corporal',''),('9/25/2014 16:36:01','KL47','Jonathan','Wildove','','','','','Male','','PBSO','','SWAT','','26?','','','','','',''),('9/25/2014 16:46:42','LM81','Flores','Marco','Y.','9/24/1973','','Hispanic/Latino','Male','144707','PBSO','8015','Patrol','District 6 - Western Boynton Beach','1','Handgun','','','','Officer/Deputy',''),('9/25/2014 17:19:44','LM82','Rott','Richard','T.','9/26/1966','','White','Male','197457','Riviera Beach PD','','','','1','Handgun','Beaten','','','Officer/Deputy',''),('9/26/2014 10:49:10','KL48','Wendlick','Shannon','M','3/24/1971','','White','Female','109791','Boca Raton PD','','Patrol','','at least 3','Handgun','','','','Sergeant',''),('9/26/2014 11:23:01','KL49','Honkala','Neil','M','8/19/1965','','White','Male','81265','PBSO','9074','Patrol','','2','Shotgun','','','','Sergeant',''),('9/26/2014 12:11:11','KL50','Nandlal','Ramesh','','8/22/1974','','Other','Male','253400','PBSO','8483','Patrol','','4','Handgun','','','','Officer/Deputy',''),('9/26/2014 14:37:44','LM83','Miller','Jesse','J.','8/23/1980','','White','Male','241568','PBSO','8237','','','2','Handgun','','','','Officer/Deputy',''),('9/26/2014 14:37:39','LM83','Jimenez','Ramon','G.','5/12/1960','','Hispanic/Latino','Male','110912','PBSO','5608','','','5','Handgun','','','','Sergeant',''),('9/26/2014 14:37:48','LM83','Escarra','Raul','J.','11/8/1970','','Hispanic/Latino','Male','96888','PBSO','8080','','','30','Rifle','','','','Officer/Deputy',''),('9/26/2014 14:37:53','LM83','Nielsen','Larry','E.','11/16/1978','','White','Male','255763','PBSO','8485','','','17','Rifle','','','','Officer/Deputy',''),('9/26/2014 14:57:10','KL51','Boiuso','Ronald','J','2/27/1968','','White','Male','293744','PBSO','8835','Patrol','','3','Handgun','','','','Officer/Deputy',''),('9/26/2014 15:28:16','KL52','Tranchant','Michael','A','1/21/1960','','White','Male','80165','PBSO','5182','Patrol','','5','Handgun','','','','Sergeant',''),('9/26/2014 15:54:50','LM84','Smith','Donald','','10/21/1959','','Black, non-Hispanic/Latino','Male','62767','PBSO','4274','Traffic (motorcycle)','','2','Handgun','','','','Officer/Deputy','Yes'),('9/26/2014 16:08:43','KL53','Wilson','Garry','M','3/4/1968','','Black, non-Hispanic/Latino','Male','108476','Riviera Beach PD','','','','3','Handgun','','','','Sergeant',''),('9/26/2014 16:20:35','KL53','McGrif','Cornelius','D','2/10/1981','','Other','Male','256706','Riviera Beach PD','','Patrol','','5','Handgun','','','','Officer/Deputy',''),('9/26/2014 16:36:48','KL54','Raja','Adnan','M','4/29/1975','','Asian','Male','275703','Riviera Beach PD','','','','1','Handgun','Shot','','written warning','Officer/Deputy','Yes'),('9/26/2014 16:59:51','KL55','Martinez','Marcos','J','6/24/1966','','Hispanic/Latino','Male','57850','PBSO','2522','','','unknown','Handgun','','','','Lieutenant',''),('9/26/2014 17:03:12','KL55','Dempsey','Richard','K','9/12/1969','','White','Male','112199','PBSO','5281','Patrol','','unknown','Handgun','','','','Sergeant',''),('9/26/2014 17:04:56','KL55','Cantu ','Ernest Jr.','','3/30/1972','','Hispanic/Latino','Male','233595','PBSO','7865','Patrol','','unknown','Handgun','','','','Officer/Deputy',''),('9/26/2014 17:31:40','KL56','Bennett','Clarence','','12/24/1977','','Black, non-Hispanic/Latino','Male','227656','St. Lucie County SO','359','Patrol','','5','Handgun','','','','Sergeant',''),('10/14/2014 17:18:41','LM85','Peixoto','Samuel','S.','3/3/1970','','Hispanic/Latino','Male','253406','PBSO','8212','Patrol','District 1 - West Palm Beach','12','Handgun','','','','Officer/Deputy',''),('10/15/2014 14:41:45','LM86','Barone','John','A.','2/21/1972','','White','Male','152700','PBSO','6728','','','1','','','','','Officer/Deputy',''),('10/15/2014 15:10:29','LM87','Mack','Joseph','','','','','Male','','PBSO','','','','1','Handgun','','','','Officer/Deputy',''),('10/15/2014 15:45:56','LM88','Seigfreid','James','F.','2/14/1958','','White','Male','76623','PBSO','','','','2','Handgun','','','','Sergeant','Yes'),('10/15/2014 16:44:51','LM89','Cabrera','Christopher','','','','','Male','','PBSO','','','','','Handgun','','','','Officer/Deputy',''),('10/20/2014 16:16:56','LM90','Turpin','Matthew','S.','10/28/1971','','White','Male','168163','PBSO','','','','','Handgun','','','','Officer/Deputy',''),('10/20/2014 17:24:57','LM91','Brinson','Russell','','','40','White','Male','12535','PBSO','','Patrol','','4','Handgun','','','','Officer/Deputy',''),('10/30/2014 13:50:02','LM92','Herny','Cory','','','','','Male','','Boynton Beach PD','','Patrol','','3','Handgun','','','','Officer/Deputy',''),('10/30/2014 15:27:33','LM93','Cantu','Ernest','','3/30/1972','','Hispanic/Latino','Male','233595','PBSO','7865','Patrol','','2','Handgun','Burned by gunpowder during scuffle','','','Officer/Deputy',''),('10/30/2014 17:10:56','LM94','Alfonso','Alex','','7/28/1984','','Hispanic/Latino','Male','248581','PBSO','8563','','','5','Handgun','','','','Officer/Deputy','Yes'),('10/30/2014 17:42:58','LM95','Raasch','Richard','A.','8/8/1969','','White','Male','114428','PBSO','5543','','','2','Handgun','','','','Sergeant',''),('10/31/2014 13:35:57','LM96','Oliver','Corey','B.','2/22/1984','','White','Male','263368','PBSO','','','District 13 - Belle Glade','16','Handgun','','','','Officer/Deputy',''),('10/31/2014 13:35:54','LM96','Booth','Charles','','','','','Male','','PBSO','','Patrol','District 13 - Belle Glade','16','Handgun','','','','Officer/Deputy',''),('10/31/2014 15:30:13','LM97','Kneisley','Heather','','','','','Female','','PBSO','','','','','Handgun','','','','Officer/Deputy',''),('10/31/2014 15:30:09','LM97','Honkala','Neil','M.','8/19/1965','','White','Male','81265','PBSO','','','','','Handgun','','','','Sergeant',''),('10/31/2014 16:20:37','LM98','Nebbeling','Christopher','L.','2/16/1979','','White','Male','248254','West Palm Beach PD','1830','','','','Handgun','','','','Officer/Deputy',''),('10/31/2014 17:44:29','LM99','Cohen','Robert','M.','6/13/1984','','White','Male','310516','Boca Raton PD','','','','8','Rifle','','','','Officer/Deputy',''),('11/3/2014 18:28:05','LM100','Munro','Christopher','A.','4/24/1984','','White','Male','260302','Boynton Beach PD','','','','','','Struck by vehicle','','','Officer/Deputy',''),('11/3/2014 18:28:01','LM100','Griswold','Daniel','W.','6/12/1967','','White','Male','87459','Boynton Beach PD','','','','','','','','','Officer/Deputy',''),('11/3/2014 18:28:09','LM100','Gray','Cory','E.','4/10/1984','','Black, non-Hispanic/Latino','Male','231137','Boynton Beach PD','','','','','','','','','Officer/Deputy',''),('11/3/2014 18:51:09','LM101','Lin','Adams','','4/8/1977','','Asian','Male','176369','PBSO','7567','','','','','','','','Officer/Deputy',''),('11/4/2014 12:36:34','LM102','Gordon','Shawn','D.','9/23/1982','','White','Male','218569','PBSO','','SWAT','','4','Rifle','','','','Officer/Deputy',''),('11/4/2014 14:12:09','LM103','Herb','Joseph','M.','5/21/1968','','White','Male','10418','West Palm Beach PD','','','','4','Handgun','','','','Sergeant',''),('11/4/2014 14:12:06','LM103','Tomas','Christian','M.','12/8/1977','','Hispanic/Latino','Male','283968','West Palm Beach PD','','','','3','Handgun','','','','Officer/Deputy',''),('11/4/2014 14:48:08','LM104','McGehee','Joshua','','','','','Male','','PBSO','9212','','','10','Handgun','','','','Officer/Deputy','Yes'),('11/4/2014 15:14:16','LM105','Venner','Valran','O.','7/7/1981','','Black, non-Hispanic/Latino','Male','229643','PBSO','','','','2','Handgun','','','','Officer/Deputy',''),('11/24/2014 18:37:10','LM106','Grande','Gary','C.','5/7/1977','','White','Male','152328','FAU PD','','','','2','Handgun','','','','Officer/Deputy',''),('11/25/2014 14:16:52','LM107','Gilbert','Oscar','','','','','Male','','Palm Beach Shores PD','','','','','Handgun','','','','Officer/Deputy',''),('11/25/2014 14:16:50','LM107','Lerner','Gordon','E.','10/30/1958','','White','Male','36442','Palm Beach Shores PD','','','','','Handgun','','','','Officer/Deputy',''),('11/25/2014 14:53:53','LM108','Rideau','Gregory','B.','12/31/1969','','Black, non-Hispanic/Latino','Male','129419','West Palm Beach PD','','Narcotics','','3','Handgun','','','','Officer/Deputy',''),('11/25/2014 14:53:57','LM108','Bales','Douglas','','7/6/1971','','White','Male','158170','West Palm Beach PD','','Narcotics','','','','','','','Officer/Deputy',''),('11/25/2014 14:54:00','LM108','Santacruz','Augusto','','5/21/1980','','Hispanic/Latino','Male','270556','West Palm Beach PD','','Narcotics','','','','','','','Officer/Deputy',''),('11/25/2014 14:54:02','LM108','Santiago','Thomas','N.','1/20/1976','','Hispanic/Latino','Male','142567','West Palm Beach PD','','Narcotics','','','','','','','Officer/Deputy',''),('11/25/2014 14:54:05','LM108','Wills','Thomas','L.','12/16/1961','','White','Male','83346','West Palm Beach PD','','Narcotics','','','','','','','Lieutenant',''),('11/25/2014 15:24:23','LM109','Williams','Phillip','R.','9/6/1962','','Black, non-Hispanic/Latino','Male','13202','West Palm Beach PD','','Patrol','','1','Handgun','','','','Officer/Deputy',''),('11/25/2014 15:49:13','LM110','Pellot-Soto','Wilson','','','','','Male','','U.S. Immigration and Customs Enforcement','','','','2','Handgun','','','','Officer/Deputy',''),('11/25/2014 16:26:49','LM111','Llopis','Jason','Paul','3/8/1978','','Hispanic/Latino','Male','158131','Boynton Beach PD','','','','','','','','','Detective',''),('11/25/2014 17:06:56','LM112','Sandler','Sean','','','','','Male','','U.S. Marshals Service','','','','','','','','','',''),('11/25/2014 17:06:52','LM112','Cata','Danlee','','','','','Male','','U.S. Marshals Service','','','','','','','','','',''),('11/25/2014 17:07:02','LM112','Puri','Manny','','','','','Male','','U.S. Marshals Service','','','','','','','','','',''),('11/25/2014 17:25:12','LM113','Andrews','Christopher','J.','7/15/1984','','White','Male','243282','Juno Beach PD','','','','','Handgun','','','','Officer/Deputy',''),('12/1/2014 16:02:21','LM114','DeRogatis','Joseph','M.','4/6/1974','','White','Male','218111','Palm Springs PD','','','','','','','','','Officer/Deputy',''),('12/1/2014 17:41:09','LM115','Paone','Ralph','','6/10/1978','','Hispanic/Latino','Male','246482','PBSO','246482','','','2','Handgun','','','','Officer/Deputy',''),('12/2/2014 18:46:36','LM116','Rua','Douglas','C.','2/15/1978','','Hispanic/Latino','Male','142434','Palm Springs PD','126','','','3','Handgun','','','','Officer/Deputy',''),('12/4/2014 14:35:45','KL57','Youngblood','Bryan','J','11/16/1967','','White','Male','118461','Martin County SO','','Patrol','','2','Handgun','','','','Officer/Deputy',''),('12/4/2014 15:29:44','LM117','Stull','Eric','C.','10/8/1969','','White','Male','16113','Lake Worth','','','','3','Handgun','','','','Officer/Deputy',''),('12/4/2014 16:15:07','LM118','Dempsey','Brian','','5/24/1982','','White','Male','225451','Palm Springs PD','','','','','','','','','Officer/Deputy',''),('12/4/2014 16:40:03','KL58','Skowronski','Micah','J','10/4/1973','','White','Male','158604','Martin County SO','','Patrol','','Unknown','Handgun','','','','Officer/Deputy',''),('12/4/2014 16:41:43','KL58','Munsey','Jack','R','9/5/1969','','White','Male','128870','Martin County SO','','Patrol','','Unknown','Handgun','','','','Officer/Deputy',''),('12/4/2014 17:25:24','LM119','Douglas','Mary','A.','11/10/1979','','Black, non-Hispanic/Latino','Female','173134','FAU PD','','','','2','Handgun','','','','Officer/Deputy',''),('12/4/2014 18:04:34','LM120','Sluman','Richard','A.','11/10/1969','','White','Male','69065','Atlantis PD','','','','1','Handgun','','','','Officer/Deputy',''),('12/4/2014 18:06:00','KL59','Weiss','William','R','','','White','Male','79292','Martin County SO','','Patrol','','Unknown','Handgun','','','','Officer/Deputy',''),('12/5/2014 13:40:52','KL59','Sciandra','Carlo','A','2/17/1964','','White','Male','7536','Martin County SO','','Patrol','','Unknown','Handgun','','','','Officer/Deputy',''),('12/5/2014 13:42:42','KL59','Warren','James','J','3/13/1964','','White','Male','65665','Martin County SO','','Patrol','','Unknown','Handgun','','','','Officer/Deputy',''),('12/5/2014 14:32:52','KL59','Sanders','James','R','','','White','Male','128876','Martin County SO','','Patrol','','Unknown','Handgun','','','','Officer/Deputy',''),('12/5/2014 14:34:37','KL59','Biasella','Anthony','A','9/23/1973','','White','Male','120023','Martin County SO','','','','Unknown','Handgun','','','','Officer/Deputy',''),('12/5/2014 15:08:18','KL60','McLain','George','','6/26/1977','','White','Male','144737','Stuart PD','','Patrol','','8','Handgun','dragged by subject\'s car','','Counseling','Officer/Deputy',''),('12/5/2014 15:37:16','KL61','Howard','Jason','','12/18/1980','','White','Male','217083','Martin County SO','','Patrol','','2','Handgun','Beaten','','','Officer/Deputy',''),('12/5/2014 16:18:55','KL62','Rhodes','Brian','K','','','White','Male','162456','St. Lucie County SO','','Patrol','','1','Handgun','','','','Officer/Deputy',''),('12/8/2014 15:02:13','LM121','Moral','Lonney','T.','12/12/1967','','White','Male','106897','Lake Worth','','','','3','Handgun','','','','Officer/Deputy',''),('12/8/2014 15:39:05','LM122','Bruno','Paul','M.','9/16/1978','','White','Male','148530','Jupiter PD','','','','1','Handgun','','','','Officer/Deputy',''),('12/8/2014 17:34:16','LM123','Cogoni','Darren','M.','1/7/1982','','White','Male','219155','Delray Beach PD','','','','2','Handgun','','','','Officer/Deputy','Yes'),('12/8/2014 18:38:12','LM124','Kology','Jeff','T.','5/15/1974','','White','Male','165693','Delray Beach PD','','','','3','Handgun','','','','Officer/Deputy',''),('12/8/2014 18:38:07','LM124','Cramer','Daniel','E.','12/22/1967','','White','Male','112191','Delray Beach PD','','','','13','Handgun','','','','Officer/Deputy',''),('12/8/2014 19:33:40','LM125','Adrian','William','D.','7/5/1968','','White','Male','146521','Boca Raton PD','','','','','Handgun','','','','Officer/Deputy',''),('12/8/2014 19:33:49','LM125','Wendlick','Shannon','M.','3/24/1971','','White','Female','109791','Boca Raton PD','','','','1','Handgun','','','','Officer/Deputy',''),('12/9/2014 12:29:50','LM126','Jacobson','Richard','L.','5/19/1963','','White','Male','89325','Delray Beach PD','','Traffic (motorcycle)','','1','Handgun','','','','Officer/Deputy',''),('12/9/2014 14:44:05','LM127','Keith','Timothy','Lee','8/29/1970','','White','Male','115323','<NAME>','525','','','1','Handgun','','','','Officer/Deputy',''),('12/9/2014 15:19:55','LM128','Kane','Charles','G.','5/8/1962','','White','Male','27659','Lake Worth','','SWAT','','1','Rifle','','','','Sergeant',''),('12/9/2014 16:08:11','LM129','Spatara','Anthony','J.','9/15/1971','','White','Male','116337','West Palm Beach PD','','','','1','Handgun','','','','Officer/Deputy',''),('12/11/2014 17:24:16','KL64','Colton','Michael','J','5/5/1967','','White','Male','37836','St. Lucie County SO','308','Canine','','Unknown','Handgun','','','','Officer/Deputy',''),('12/11/2014 17:43:59','KL65','Stickney','Ronald','M','3/30/2014','','White','Male','28326','St. Lucie County SO','','Patrol','','1','Handgun','','','','Officer/Deputy',''),('12/12/2014 17:01:05','KL66','Smith','Tony','R','11/15/1966','','White','Male','136838','St. Lucie County SO','','Patrol','','2','Handgun','','','','Officer/Deputy',''),('12/12/2014 17:31:59','KL67','Seiler','Harold','A','1/8/1974','','White','Male','105735','Belle Glade','','Patrol','','3','Handgun','few scratches','','','Officer/Deputy',''),('12/18/2014 15:43:03','KL68','Newman','Christopher','Erik','7/5/1972','','White','Male','150028','St. Lucie County SO','','Patrol','','4','Handgun','','','','Officer/Deputy',''),('12/23/2014 10:24:04','LM130','Kelley','Michael','','','','','Male','','Delray Beach PD','','','','1','Handgun','Beaten','','','Officer/Deputy',''),('12/29/2014 14:13:39','LM131','Picerno','Gene','','11/17/1961','','White','Male','12235','West Palm Beach PD','991','Patrol','','1','Handgun','','','','Officer/Deputy',''),('1/14/2015 18:06:20','LM132','Rosenthal','Evan','','','','White','Male','','PBSO','','','','','Handgun','','','','Officer/Deputy',''),('3/13/2015 17:40:45','LM133','Hubert','Martin','','4/16/1983','','Black, non-Hispanic/Latino','Male','219625','PBSO','9001','Patrol','District 6 - Western Boynton Beach','1','Handgun','','','','Officer/Deputy',''),('3/15/2015 13:18:55','LM134','Padilla-Rodriguez','Rafael','','8/29/1967','','Hispanic/Latino','Male','118533','PBSO','5416','Patrol','District 9 - Royal Palm Beach','1','Handgun','','','','Officer/Deputy',''),('3/16/2015 8:10:09','LM135','Calabro','Steven','','5/3/1973','','White','Male','134865','PBSO','6457','','','2','Handgun','','','','Officer/Deputy',''),('3/16/2015 8:44:56','LM136','Lamm','Jerry','W.','5/22/1972','','White','Male','244195','PBSO','8827','','District 3 - North Palm','1','Rifle','','','','Officer/Deputy',''),('3/16/2015 8:45:01','LM136','Burdick','Richard','Z.','6/4/1961','','White','Male','82309','PBSO','2847','','','1','Rifle','','','','Lieutenant',''),('3/16/2015 8:57:35','LM137','Carreiro','Jose','V.','4/8/1976','','Hispanic/Latino','Male','237319','PBSO','7859','Patrol','District 1 - West Palm Beach','2','Handgun','','','','Officer/Deputy',''),('3/16/2015 9:13:37','LM138','(unknown)','(unknown)','','','','','','','PBSO','','','','3','Handgun','','','','Officer/Deputy',''),('3/16/2015 9:25:34','LM139','Ramirez','Arturo','','12/31/1987','','Hispanic/Latino','Male','297212','PBSO','9208','Patrol','District 1 - West Palm Beach','1','Handgun','','','Fired after being arrested','Officer/Deputy','Yes'),('3/16/2015 9:48:16','LM140','Clayton','Justin','E.','6/10/1982','','Black, non-Hispanic/Latino','Male','271850','PBSO','9127','','District 14 - Lake Worth','2','Handgun','','','','Officer/Deputy','Yes'),('3/16/2015 10:01:40','LM141','Watson','Trevor','R.','5/18/1981','','White','Male','213335','PBSO','7874','Patrol','District 4 - Delray Beach','4','Handgun','Shot','','','Officer/Deputy',''),('3/16/2015 16:17:11','LM142','Lin','Adams','','4/8/1977','','Asian','Male','176369','PBSO','7567','Patrol','District 3 - North Palm','1','Handgun','','','','Officer/Deputy',''),('3/16/2015 16:41:11','LM143','Curci','Darren','','1/25/1977','','White','Male','208600','PBSO','8081','Patrol','District 11 - South Bay','1','Rifle','','','retraining','Officer/Deputy',''),('3/16/2015 16:46:43','LM144','Long','George','R.','5/26/1976','','Black, non-Hispanic/Latino','Male','174117','PBSO','8298','Patrol','District 7 - Boca Raton','1','Handgun','','','','Officer/Deputy',''),('3/16/2015 17:04:47','LM145','Rivera','Vidal','','3/9/1965','','Hispanic/Latino','Male','119231','PBSO','8424','Patrol','District 9 - Royal Palm Beach','1','Rifle','','','retraining','Officer/Deputy',''),('3/16/2015 17:11:25','LM146','Mastics','George','E.','4/23/1965','','White','Male','112181','PBSO','6693','Violent crimes/Homicide','','1','Handgun','','','','Detective','Yes'),('3/16/2015 17:21:19','LM147','Hudson','Gwendolyn','D.','11/23/1974','','Black, non-Hispanic/Latino','Female','159442','PBSO','5967','Patrol','District 8 - Wellington','1','Rifle','','','','Officer/Deputy',''),('3/16/2015 17:28:23','LM148','Tapia','Peter','','4/11/1967','','Hispanic/Latino','Male','154190','PBSO','6342','Patrol','District 3 - North Palm','1','','','','remedial training','Officer/Deputy',''),('3/16/2015 17:53:26','LM149','Falsia','James','J.','9/28/1954','','White','Male','46862','PBSO','1283','Patrol','District 3 - North Palm','1','Shotgun','','','suspension, remedial training','Officer/Deputy',''),('3/16/2015 18:31:38','LM150','Morency','Gerard','J.','7/21/1971','','White','Male','97083','PBSO','4729','','District 1 - West Palm Beach','4','Handgun','Struck by vehicle','','','Officer/Deputy',''),('3/16/2015 20:51:13','LM151','Schwab','Scott','','11/1/1957','','White','Male','105582','PBSO','5320','','','1','Handgun','','','','Officer/Deputy',''),('3/16/2015 20:59:43','LM152','Thomas','Brooke','L.','7/5/1972','','Black, non-Hispanic/Latino','Male','106531','PBSO','6492','Patrol','District 7 - Boca Raton','1','Handgun','','','','Officer/Deputy',''),('3/16/2015 21:05:18','LM153','McCann','Timothy','P.','8/4/1968','','White','Male','37035','PBSO','4958','','','1','Handgun','','','','Sergeant',''),('3/16/2015 21:22:36','LM154','Horne','James','L.','5/12/1952','','Black, non-Hispanic/Latino','Male','31516','PBSO','2461','Corrections','','1','Handgun','','','Fired after being arrested','Officer/Deputy','Yes'),('3/16/2015 21:37:04','LM155','Ammon','Donald','','','','','Male','','PBSO','','','','1','Handgun','','','','Officer/Deputy',''),('3/16/2015 21:47:15','LM156','Murray','Sean','P.','6/28/1968','','White','Male','96846','PBSO','','Patrol','District 3 - North Palm','1','Handgun','','','','Corporal',''),('3/16/2015 21:53:08','LM157','Labounty','Claudia','R.','4/2/1950','','White','Female','8798','PBSO','4753','','','','','','','','Officer/Deputy',''),('3/17/2015 11:25:50','LM158','Nebergall','Carlton','R.','9/17/1956','','White','Male','60723','PBSO','3141','Traffic (motorcycle)','District 6 - Western Boynton Beach','3','Handgun','','','','Officer/Deputy',''),('3/17/2015 13:35:42','LM159','Propst','Gerald','','4/8/1969','','White','Male','95179','PBSO','6891','Patrol','District 3 - North Palm','4','Handgun','','','','Officer/Deputy',''),('3/17/2015 13:49:33','LM160','Marks','Kevin','A.','10/3/1966','','White','Male','28398','PBSO','5289','','District 3 - North Palm','','Handgun','','','','Sergeant',''),('3/17/2015 14:47:09','LM161','Dempsey','Richard','K.','9/12/1969','','White','Male','112199','PBSO','5281','','District 1 - West Palm Beach','','Handgun','Struck by vehicle','','','Sergeant',''),('3/17/2015 14:47:12','LM161','Tramonte','Michael','R.','5/1/1974','','White','Male','146734','PBSO','','','','','Handgun','','','','Officer/Deputy',''),('3/17/2015 14:56:55','LM162','Trombley','Barry','J.','3/18/1959','','White','Male','81163','PBSO','3887','','District 4 - Delray Beach','','','','','suspension, demotion','Sergeant',''),('3/17/2015 15:22:42','LM163','Martinez','Jose','R.','5/14/1977','','Hispanic/Latino','Male','143035','PBSO','7501','','District 7 - Boca Raton','','','','','','Officer/Deputy',''),('3/17/2015 15:29:34','LM164','Thompson','William','F.','10/25/1945','','White','Male','29033','PBSO','3888','','District 3 - North Palm','1','','','','','Officer/Deputy','Yes'),('3/17/2015 15:38:41','LM165','Robinson','Charles','','','','White','Male','','PBSO','3482','','District 1 - West Palm Beach','1','Handgun','','','written reprimand','Officer/Deputy',''),('3/17/2015 17:15:33','LM166','Leonard','John','G.','4/18/1959','','White','Male','11717','West Palm Beach PD','','Traffic (motorcycle)','','1','Handgun','','','','Officer/Deputy',''),('3/17/2015 20:15:29','LM167','MacVane','Ian','L.','7/31/1970','','White','Male','134681','West Palm Beach PD','1363','','','7','Handgun','','','','Officer/Deputy',''),('3/18/2015 12:35:33','LM168','Shatara','Shatara','','10/1/1970','','White','Male','116333','PBSO','','','','','','','','','Officer/Deputy',''),('4/12/2015 16:13:26','JE01','Brookins','Willie','','','','Black, non-Hispanic/Latino','Male','','PBSO','','Patrol','','2','Handgun','','','','Officer/Deputy',''),('4/12/2015 16:51:31','JE02','Desir','Patrick','','','','Black, non-Hispanic/Latino','Male','','PBSO','','Patrol','District 14 - Lake Worth','1','Handgun','','','','Officer/Deputy',''),('4/13/2015 15:37:29','MQ1','Uhl','Brad','','','','','Male','','DEA','','Narcotics','','','Handgun','','','','',''),('4/13/2015 16:17:26','MQ2','Barquin','Jason','','','30','','Male','','West Palm Beach PD','','Patrol','','','Handgun','','','','Officer/Deputy',''),('4/15/2015 12:54:03','MQ3','Pare','Brian','','2/9/1982','','White','Male','','Boca Raton PD','','Patrol','','','Handgun','','','','Officer/Deputy',''),('4/15/2015 13:43:19','KL69','Pennachio','Mark','L','5/17/1965','','White','Male','178460','Stuart PD','','Patrol','','1','Handgun','','','','Officer/Deputy',''),('4/15/2015 14:32:33','KL70','McGighan','William','T','3/23/1976','','White','Male','213496','Stuart PD','','Patrol','','5','Shotgun','','','','Officer/Deputy',''),('4/15/2015 15:25:32','KL71','Zenelovic','Naser','','2/21/1973','','White','Male','115614','Vero Beach PD','','','','several','Handgun','','','','Detective',''),('4/15/2015 15:40:12','MM2','Regil','Joseph','A','','','','','','FBI','','','','','','','','','',''),('4/15/2015 15:45:38','MM2','Effley','Michael','T','','','','','','FBI','','','','','','','','','',''),('4/15/2015 16:39:33','MM2','Gumbinner','Gavin','','','','','Male','','FBI','','','','','','','','','',''),('4/15/2015 16:41:23','MM2','Lawler','Timothy','P','','','','Male','','FBI','','','','','','','','','',''),('4/15/2015 16:42:06','MM2','Swinerton','Geoffrey','','','','','Male','','FBI','','','','','','','','','',''),('4/15/2015 16:42:47','MM2','Hollinger','Paul','','','','','Male','','FBI','','','','','','','','','',''),('4/15/2015 16:43:22','MM2','O\'Neil','Johnathan','','','','','Male','','FBI','','','','','','','','','',''),('4/15/2015 16:43:49','MM2','Waterman','Brian','','','','','Male','','FBI','','','','','','','','','',''),('4/15/2015 16:44:22','MM2','Yam','R.','Hilton','','','','','','FBI','','','','','','','','','',''),('4/15/2015 16:45:46','MM2','Clark','Thomas','J.','','','','Male','','FBI','','','','','','','','','',''),('4/15/2015 16:47:14','MM2','Nunez','NA','','','','','','','FBI','','','','','','','','','',''),('4/15/2015 16:47:32','MM2','Fenning','NA','','','','','','','FBI','','','','','','','','','',''),('4/15/2015 16:53:10','MM2','Stuart','R.','M.','','','','','','FBI','','','','','','','','','',''),('4/15/2015 16:55:06','MM2','Kapfer','NA','','','','','','','FBI','','','','','','','','','',''),('4/16/2015 15:48:10','MM3','Chaikin','Karl','Michael','9/24/1964','','White','Male','158173','Riviera Beach PD','','','','','','','','','Officer/Deputy',''),('4/16/2015 15:49:33','MM3','Lee','Roosevelt','','9/24/1968','','Black, non-Hispanic/Latino','Male','105263','Riviera Beach PD','','','','','','','','','Officer/Deputy',''),('4/17/2015 13:12:29','MM4','Colbert','Seretha','L','12/19/1965','','Black, non-Hispanic/Latino','Female','56074','Riviera Beach PD','424','','','2','','','','','Officer/Deputy',''),('4/17/2015 14:02:19','MM5','Murphy','Thomas','E','1/18/1961','','White','Male','26965','Royal Palm Beach PD','426','','','2','','','','','Sergeant',''),('4/17/2015 14:58:01','KL71','Currey','David','E','12/21/1964','','White','Male','15159','Vero Beach PD','','Patrol','','4','Handgun','','','','Lieutenant',''),('4/17/2015 15:04:00','KL71','Karchefski','Jerome','R','9/12/1962','','White','Male','63268','Vero Beach PD','','Patrol','','3 or 4','Handgun','','','','Sergeant',''),('4/17/2015 15:08:59','KL71','Nelson','Terrance','T','12/19/1968','','Black, non-Hispanic/Latino','Male','37280','Vero Beach PD','','','','1-4','Handgun','','','','Corporal',''),('4/17/2015 16:12:03','KL72','Campbell','Kent','D','1/28/1965','','White','Male','40672','Indian River County SO','','Patrol','','1','Handgun','','','','Officer/Deputy',''),('4/17/2015 18:35:46','MM6','Austin','Hans','J.','1/3/1954','','Black, non-Hispanic/Latino','Male','220204','Palm Beach County School District PD','396','','','3','','Struck by vehicle','','','',''),('4/17/2015 19:27:23','MM7','Corrao','Joseph','A','9/8/1964','','White','Male','5287','Palm Beach Gardens PD','397','','','','','Hurt shoulder','','','Sergeant',''),('4/17/2015 19:29:23','MM7','Rigney','Bethany','Lynne','10/21/1973','','White','Female','243047','Palm Beach Gardens PD','397','','','0','Handgun','','','','Officer/Deputy',''),('4/17/2015 19:31:31','MM7','Guillen','Eduardo','','7/14/1973','','Hispanic/Latino','Male','160131','Palm Beach Gardens PD','397','','','0','','Head injury','','','Officer/Deputy',''),('4/17/2015 22:59:02','KL73','Garner','Roberta','','','','','Female','','Indian River County SO','','Patrol','','3','Handgun','','','','Officer/Deputy',''),('4/17/2015 23:00:37','KL73','Adamson','Ronald','','','','','Male','','Indian River County SO','','Patrol','','5','Handgun','','','','Officer/Deputy',''),('4/17/2015 23:28:55','KL74','Luther','William','','','','','Male','','Indian River County SO','1344','Patrol','','','Shotgun','','','','Officer/Deputy',''),('4/17/2015 23:44:51','KL75','Garrison','Ronald','','','','','Male','','Indian River County SO','','Patrol','','1','Handgun','','','','Officer/Deputy',NULL); /*!40000 ALTER TABLE `rawofficers` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `rawsubjects` -- DROP TABLE IF EXISTS `rawsubjects`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `rawsubjects` ( `Timestamp` varchar(255) DEFAULT NULL, `Incident ID` varchar(255) DEFAULT NULL, `Subject last name` varchar(255) DEFAULT NULL, `First name` varchar(255) DEFAULT NULL, `Middle name or initial` varchar(255) DEFAULT NULL, `DOB` varchar(255) DEFAULT NULL, `Age` varchar(100) DEFAULT NULL, `Gender` varchar(255) DEFAULT NULL, `Ethnicity` varchar(255) DEFAULT NULL, `Injury level` varchar(255) DEFAULT NULL, `City of residence` varchar(255) DEFAULT NULL, `Subject weapon(s)` varchar(255) DEFAULT NULL, `Did subject shoot at police?` varchar(255) DEFAULT NULL, `Was subject behaving suicidal?` varchar(255) DEFAULT NULL, `History of mental illness?` varchar(255) DEFAULT NULL, `Arrest history?` varchar(255) DEFAULT NULL, `Toxicology (D)` varchar(255) DEFAULT NULL, `Toxicology (S)` varchar(255) DEFAULT NULL, `Charges?` varchar(255) DEFAULT NULL, `Crime charged with?` varchar(255) DEFAULT NULL, `Crime disposition` varchar(255) DEFAULT NULL, `Self-shooting?` varchar(255) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `rawsubjects` -- LOCK TABLES `rawsubjects` WRITE; /*!40000 ALTER TABLE `rawsubjects` DISABLE KEYS */; INSERT INTO `rawsubjects` VALUES ('3/16/2015 16:36:55','LM143','(no subject)','(no subject)','','','','','','No injuries','','','','','','','','','','','',''),('3/16/2015 16:46:53','LM144','(no subject)','(no subject)','','','','','','No injuries','','','','','','','','','','','',''),('3/16/2015 17:05:04','LM145','(no subject)','(no subject)','','','','','','No injuries','','','','','','','','','','','',''),('3/16/2015 17:21:25','LM147','(no subject)','(no subject)','','','','','','No injuries','','','','','','','','','','','',''),('3/16/2015 17:28:28','LM148','(no subject)','(no subject)','','','','','','No injuries','','','','','','','','','','','',''),('3/16/2015 17:53:34','LM149','(no subject)','(no subject)','','','','','','No injuries','','','','','','','','','','','',''),('3/16/2015 20:59:49','LM152','(no subject)','(no subject)','','','','','','No injuries','','','','','','','','','','','',''),('3/16/2015 21:05:26','LM153','(no subject)','(no subject)','','','','','','No injuries','','','','','','','','','','','',''),('3/16/2015 21:47:25','LM156','(no subject)','(no subject)','','','','','','No injuries','','','','','','','','','','','',''),('3/17/2015 14:57:02','LM162','(no subject)','(no subject)','','','','','','No injuries','','','','','','','','','','','',''),('3/17/2015 15:29:49','LM164','(no subject)','(no subject)','','','','','','No injuries','','','','','','','','','','','',''),('3/17/2015 15:41:05','LM165','(no subject)','(no subject)','','','','','','No injuries','','','','','','','','','','','',''),('3/16/2015 16:17:27','LM142','(no subject)','(no subject)','','','','','','','','','','','','','','','','','',''),('3/16/2015 9:25:41','LM139','(no subject)','(no subject)','','','','','','','','','','','','','','','','','',''),('3/15/2015 13:18:59','LM134','(no subject)','(no subject)','','','','','','','','','','','','','','','','','',''),('3/13/2015 17:40:51','LM133','(no subject)','(no subject)','(no subject)','','','','','','','','','','','','','','','','',''),('3/17/2015 15:22:47','LM163','(unknown)','(unknown)','','','','','','','','','','','','','','','','','',''),('8/18/2014 16:55:17','LM15','(unknown)','(unknown)','','','','Male','Black, non-Hispanic/Latino','Unknown','','Vehicle','','','','','','','','','',''),('3/16/2015 8:10:15','LM135','(unknown)','(unknown)','','','','Male','','Unknown','','Handgun','Yes','','','','','','','','',''),('3/16/2015 8:57:41','LM137','(unknown)','(unknown)','','','','Male','Hispanic/Latino','No injuries','','Vehicle','','','','','','','','','',''),('3/16/2015 10:01:51','LM141','(unknown)','(unknown)','','','','Male','Black, non-Hispanic/Latino','Unknown','','Handgun','Yes','','','','','','','','',''),('3/17/2015 11:25:57','LM158','(unknown)','(unknown)','','','','','','No injuries','','Vehicle','','','','','','','','','',''),('12/1/2014 17:41:38','LM115','(unknown)','(unknown)','','','','','','Injury','','UNARMED','','','','','','','','','',''),('3/17/2015 13:49:40','LM160','(unknown)','(unknown)','','','','','','Unknown','','Vehicle','','','','','','','','','',''),('8/29/2014 12:44:11','KL25','Adams','Seth','','4/19/1988','24','Male','White','Fatal','Loxahatchee','UNARMED','','','','','Alcohol','','','','',''),('9/19/2014 17:46:09','LM76','Adkins','Dallas','Roger','8/14/1949','','Male','White','Fatal','Delray Beach','Rifle','','','','','','','','Aggravated assault/battery','Dropped',''),('11/4/2014 14:48:17','LM104','Alvarez','Aldo','','11/26/1976','','Male','White','Injury','Royal Palm Beach','UNARMED','','','Yes','','','','','Aggravated assault/battery','',''),('9/26/2014 10:56:00','KL48','Alvarez','Robert','William','12/3/1990','','Male','White','No injuries','Greenacres','UNARMED','','','','','','','','Aggravated assault/battery, conspiracy to commit armed robbery','Dropped',''),('3/16/2015 21:36:25','LM155','Ammon','Donald','','10/29/1956','','Male','','Injury','','','','','','','','','','','','Yes'),('9/5/2014 15:58:35','KL31','Anderson','Jamar','F','','24','Male','Black, non-Hispanic/Latino','Fatal','Fort Lauderdale','Vehicle','','','','','','','','','',''),('3/17/2015 20:15:36','LM167','Andrews','Telly','L.','11/8/1973','','Male','Black, non-Hispanic/Latino','Injury','Riviera Beach','Vehicle','','','','Yes','','','','Attempted murder, Aggravated assault/battery, Fleeing/eluding a police officer','Convicted',''),('9/16/2014 17:49:09','LM66','Antao','Bronson','David','1/17/1982','','Male','White','Injury','Boynton Beach','Vehicle','','','Yes','','','','','Resisting a police officer w/violence, Attempted murder','Acquitted',''),('5/19/2014 11:25:59','KL8','Arango','Victor','A','11/15/1985','26','Male','Hispanic/Latino','Fatal','Lake Worth','Handgun','','','','','Opiates, Oxycodone','','','','',''),('12/2/2014 18:46:45','LM116','Ariot','Marc','C.','12/14/1986','','Male','Black, non-Hispanic/Latino','Fatal','Greenacres','Vehicle','','','','Yes','','','','','',''),('9/16/2014 11:06:27','LM63','Auguste','Eugene','Rony','10/20/1987','','Male','Black, non-Hispanic/Latino','Injury','Riviera Beach','Rifle','','','','Yes','','','','Aggravated assault/battery','Convicted',''),('6/20/2014 15:59:24','KL14','Austgen','<NAME>.','Donald','8/26/1965','47','Male','White','Fatal','Fort Pierce','Vehicle','','','','Yes','','','','','',''),('10/15/2014 14:41:51','LM86','Austin','Jonathan','D.','12/9/1984','','Male','Black, non-Hispanic/Latino','No injuries','Boynton Beach','Handgun','','','','','','','','','',''),('12/8/2014 15:02:20','LM121','Barber II','Charles','B.','4/3/1968','','Male','White','Fatal','Jupiter','Handgun','','','','Yes','','','','','',''),('9/12/2014 12:03:16','KL33','Barreto','Jesus','Emmanuel','','23','Male','Hispanic/Latino','Fatal','','Knife or sword','','','Yes','','','','','','',''),('8/19/2014 17:27:58','LM22','Battie','Latavius','','5/15/1981','','Male','Black, non-Hispanic/Latino','No injuries','Mangonia Park','Vehicle','','','','','','','','','',''),('8/2/2013 11:39:33','LM6','Bean','John','Henry','8/2/1990','','Male','Black, non-Hispanic/Latino','Injury','Delray Beach','Handgun','','','','','','','','Aggravated assault/battery','',''),('9/11/2014 19:09:43','LM54','Beasley','Brandon','Zachariah','','23','Male','Black, non-Hispanic/Latino','Injury','Lauderhill','Rifle','','','','','','','','','',''),('9/11/2014 19:09:35','LM54','Beasley','Joshua','','5/6/1981','25','Male','Black, non-Hispanic/Latino','Fatal','Lauderhill','Reached for or grabbed officer\'s weapon','','','','Yes','','','','','',''),('12/23/2014 10:24:10','LM130','Beckham','Robin','','8/25/1978','','Male','Black, non-Hispanic/Latino','Injury','<NAME>','Fists','','','','Yes','','','','Resisting a police officer w/violence, Aggravated assault/battery','Convicted',''),('12/8/2014 19:33:55','LM125','Bell','Damon','','7/25/1980','','Male','Black, non-Hispanic/Latino','Injury','','Vehicle','','','','','','','','','',''),('4/17/2015 19:19:01','KL72','Bell','Larry ','D','','','Male','Black, non-Hispanic/Latino','Injury','','Handgun, Rifle','','','','','','','','','',''),('9/24/2014 16:49:19','KL45','Bennett','David','Scott','1/26/1970','40','Male','White','Fatal','Jupiter','UNARMED','','','','','','','','','',''),('11/25/2014 17:25:15','LM113','Bittle','Robert','Harold','10/24/1966','','Male','White','Injury','','Vehicle','','','','Yes','','','','','',''),('8/26/2014 13:20:53','LM36','Bodie','Craig','','10/5/1958','46','Male','White','Fatal','Boca Raton','Handgun','','Yes','Yes','Yes','Alcohol, Cocaine','','','','',''),('9/2/2014 15:43:36','LM42','Bender III','William','R.','3/3/1952','54','Male','White','Fatal','Fort Myers','Handgun','Yes','','','','','','','','',''),('12/8/2014 18:38:18','LM124','Brown','Ralph','A.','9/4/1981','','Male','Black, non-Hispanic/Latino','Fatal','','Vehicle','','','','Yes','','','','','',''),('11/25/2014 14:16:59','LM107','Brown','Adam','L.','1/9/1963','','Male','White','Injury','Palm Beach Shores','Rifle','','','','','','','','Aggravated assault/battery','Acquitted',''),('4/15/2015 14:25:50','KL70','Bowen','Luke','Tafari','5/12/1989','','Male','Black, non-Hispanic/Latino','No injuries','Riviera Beach','Handgun','Yes','','','','','','','Attempted murder, Robbery with firearm','Convicted',''),('12/5/2014 16:29:15','KL62','Bryant','Stephen','','','','Male','White','Fatal','Port St. Lucie','Knife or sword','','','','','','','','','',''),('3/16/2015 9:48:24','LM140','Burdett','Nicholas','','','24','Male','White','Fatal','Needham, Massachusetts','Knife or sword','','','Yes','','Alcohol, Prescription drugs','','','','',''),('9/15/2014 19:08:34','LM62','Burgess','Thomas','W.','2/22/1985','','Male','Black, non-Hispanic/Latino','Injury','Lake Worth','Vehicle','','','','Yes','','','','Resisting a police officer w/violence, Aggravated assault/battery','Convicted',''),('10/31/2014 17:44:33','LM99','Burlakoff','Ian','','10/18/1971','','Male','White','Fatal','Boca Raton','Handgun','','','Yes','','','','','','',''),('12/8/2014 15:44:46','LM122','Brooks','Donovan','','4/17/1965','40','Male','Black, non-Hispanic/Latino','Fatal','','UNARMED','','','','','','','','','',''),('8/18/2014 18:56:48','LM17','Brown','Thomas','Markeith','','19','Male','Black, non-Hispanic/Latino','No injuries','','Handgun','','','','Yes','','','','','',''),('11/25/2014 17:07:16','LM112','Calderin','Janira','','','30','Female','Hispanic/Latino','Injury','Boynton Beach','UNARMED','','','','','','','','','',''),('9/19/2014 14:18:29','KL42','Burtschin','Andrew','Martin','3/8/1985','','Male','White','No injuries','Palm Beach Gardens','Rifle','','','','Yes','','','','Aggravated assault/battery','Convicted',''),('5/26/2014 17:00:30','KL13','Canady','Kenneth','Orrin','3/17/1961','','Male','Black, non-Hispanic/Latino','Injury','Port St. Lucie','Vehicle','','','','Yes','','','','','',''),('8/15/2014 14:12:00','KL16','Bush','Antwon','Denard','11/27/1982','','Male','Black, non-Hispanic/Latino','No injuries','Riviera Beach','Vehicle','','','','Yes','','','','Aggravated assault/battery, Fleeing/eluding a police officer, Grand theft Auto','Convicted',''),('12/4/2014 17:25:35','LM119','Carroll','Zachary','','','21','Male','White','Injury','Fort Lauderdale','UNARMED','','','','','','','','','',''),('4/15/2015 14:08:00','MM2','Caldwell','Cory','','8/22/1989','','Male','Black, non-Hispanic/Latino','Fatal','Deerfield Beach','Rifle','','','','','','','','','',''),('9/25/2014 16:46:46','LM81','Charles','Alens','','2/10/1987','','Male','Black, non-Hispanic/Latino','Injury','Lake Worth','UNARMED','','','','','','','','Obstructing a police officer','Dropped',''),('9/12/2014 14:32:27','LM55','Clairvoyant','Jethro','L.','4/29/1985','','Male','Black, non-Hispanic/Latino','Injury','Riviera Beach','Vehicle','','','','Yes','','','','Aggravated assault/battery','Convicted',''),('5/31/2013 11:13:47','KL1','Clemons','John','Earl','7/23/1992','','Male','Black, non-Hispanic/Latino','Injury','','Vehicle','','','','','','','','Aggravated assault/battery','Convicted',''),('5/26/2014 15:04:58','KL11','Coberly','Steven','Randolph','8/28/1965','','Male','White','Injury','Fort Pierce','crow bar','','','','Yes','','Cocaine','','Resisting a police officer w/out violence, Aggravated assault/battery, Larceny, burglary, breaking & entering, violation of probation','Convicted',''),('8/22/2014 15:58:09','KL22','Camberdella','Michael','','','18','Male','White','Fatal','Boynton Beach','hammer; tree trimmer','','','Yes','','','','','','',''),('9/26/2014 16:53:46','KL55','Collins','James','','4/28/1963','46','Male','','Fatal','Greenacres','Knife or sword','','Yes','','Yes','Cocaine, Prescription drugs','','','','',''),('8/19/2014 12:02:34','LM18','Colombo Jr.','Dennis','G.','6/26/1975','28','Male','White','Fatal','Palm Beach Gardens','Rifle','','','','','','','','','',''),('6/6/2013 12:05:58','LM2','Connelly','James','','8/23/1983','','Male','White','Fatal','','Handgun','Yes','','','Yes','','','','','',''),('9/25/2014 15:55:00','KL46','Carrillo','Jose','','5/22/1984','','Male','Black, non-Hispanic/Latino','No injuries','Okeechobee','Handgun','','','','','','','','','',''),('12/11/2014 17:35:24','KL52','Castillo','Wilfredo','','6/20/1964','','Male','Hispanic/Latino','No injuries','West Palm Beach','UNARMED','','','','','','','','','',''),('12/1/2014 16:02:15','LM114','Cruz','Mauricio','Nunez','3/25/1974','','Male','Hispanic/Latino','Fatal','Palm Springs','Handgun, Reached for or grabbed officer\'s weapon','','','','Yes','','','','','',''),('11/25/2014 16:26:53','LM111','Dabbs','William','P.','2/23/1957','','Male','White','Injury','Delray Beach','Handgun','','Yes','','Yes','','','','Aggravated assault/battery','',''),('4/17/2015 23:07:45','KL73','Chaney','James Jr.','Hayward','5/19/1954','','Male','White','Injury','Vero Beach','Shotgun','','','','Yes','','','','Attempted murder, Robbery armed w deadly weapon, planting a hoax bomb','Convicted',''),('11/4/2014 15:14:21','LM105','Demps','Craig','A.','1/23/1991','','Male','Black, non-Hispanic/Latino','Fatal','','UNARMED','','','','Yes','','','','','',''),('8/29/2014 11:39:03','LM37','Coleman','David','J.','10/21/1963','','Male','White','No injuries','Wellington','Vehicle','','','','Yes','','','','','',''),('12/12/2014 17:01:11','KL66','Cox','Ronald','J','7/29/1960','','Male','Black, non-Hispanic/Latino','','Fort Pierce','Handgun','','','','Yes','','','','Aggravated assault/battery, Fleeing/eluding a police officer','Convicted',''),('9/10/2014 14:41:56','LM50','Diana','Jesse','Michael','4/10/1973','','Male','White','Fatal','Ocala','Handgun','','','','Yes','Alcohol, Prescription drugs','','','','',''),('12/4/2013 18:45:29','DC1','Cox','Kyshaud','Triond','7/10/1989','','Male','Black, non-Hispanic/Latino','No injuries','','Knife or sword, Vehicle','','','','','','','','Aggravated assault/battery, Fleeing/eluding a police officer, Carjacking (Deadly Weapon)','Convicted',''),('11/4/2014 12:36:40','LM102','Dillon','Timothy','Charles','10/19/1969','','Male','White','Injury','Boynton Beach','Handgun','','Yes','','','','Alcohol, Cocaine, Marijuana','','Aggravated assault/battery','',''),('4/17/2015 15:14:47','KL71','Cox','Reginald','John','7/29/1959','','Male','Black, non-Hispanic/Latino','No injuries','Ft. Pierce','Handgun','Yes','','','Yes','','','','Attempted murder, Aggravated assault/battery, Fleeing/eluding a police officer, Possession of Firearm, criminal mischief','',''),('9/18/2014 17:43:55','LM70','Debrosse','Ruben','Charles','','16','Male','Black, non-Hispanic/Latino','Fatal','Royal Palm Beach','Vehicle','','','','','','','','','',''),('10/30/2014 13:50:11','LM92','Estime','Robens','','1/22/1994','','Male','Black, non-Hispanic/Latino','Injury','','Handgun','','','','','','','','Aggravated assault/battery','',''),('8/15/2014 17:58:24','KL19','Falconi','Angella','','','24','Female','White','Fatal','Lake Worth ','Knife or sword','','','','','','','','','',''),('10/31/2014 15:30:28','LM97','Fay','James','Steven','','55','Male','White','Fatal','Boynton Beach','Handgun','','Yes','Yes','','Alcohol, Prescription drugs','','','','',''),('8/21/2014 15:30:41','LM30','Desilio','Bernard','P.','5/3/1968','','Male','White','No injuries','','UNARMED','','','','','','Cocaine','','Resisting a police officer w/violence','Acquitted',''),('8/22/2014 17:59:39','KL23','Felipe','Armando','Gonzalez','6/13/1972','39','Male','Hispanic/Latino','Fatal','','Handgun','Yes','','','','','','','','',''),('11/3/2014 18:28:14','LM100','Flanagan','John','D.','6/3/1988','','Male','White','Injury','Royal Palm Beach','Vehicle','','','','','','','','Aggravated assault/battery','',''),('11/25/2014 15:49:16','LM110','Fleming','Keshaun','Lamont','7/16/1982','','Male','Black, non-Hispanic/Latino','Fatal','West Palm Beach','Handgun','','','','Yes','','','','','',''),('9/2/2014 13:36:55','LM41','Forrest','Marilou','','','56','Female','White','Fatal','Boca Raton','Knife or sword','','','Yes','','','','','','',''),('9/17/2014 16:28:42','LM67','DeSilva','Jarrett','B.','2/25/1988','20','Male','White','Injury','Tamarac','UNARMED','','','','','','','','Fleeing/eluding a police officer','Dropped',''),('9/10/2014 16:13:16','LM51','Dicocco','Brian','Michael','4/9/1985','','Male','Black, non-Hispanic/Latino','No injuries','','Handgun','','','','Yes','','','','Resisting a police officer w/violence, Aggravated assault/battery','Dropped',''),('9/9/2014 15:30:31','LM48','Frierson','Ira','Houston','5/18/1957','','Male','Black, non-Hispanic/Latino','Injury','','Handgun','Yes','','','Yes','','','','Aggravated assault/battery','Convicted',''),('8/22/2014 15:35:31','KL21','Fuller','Daniel','Ross','','46','Male','White','Fatal','Miami','Handgun','','Yes','','','','','','','',''),('9/19/2014 16:00:52','LM73','Gamble','Mary','Joyce','6/5/1956','42','Female','Black, non-Hispanic/Latino','Injury','Riviera Beach','UNARMED','','','','','','','','','',''),('9/26/2014 16:14:06','KL53','Duval','Rigoberto','','3/7/1989','','Male','Black, non-Hispanic/Latino','No injuries','Lake Park','Handgun','','','','','','','','Resisting a police officer w/out violence','Dropped',''),('11/25/2014 14:54:14','LM108','Gavin','Authneil','','9/5/1977','','Male','Black, non-Hispanic/Latino','Injury','','Handgun','','','','','','','','Resisting a police officer w/violence, Aggravated assault/battery','',''),('9/25/2014 16:35:11','KL47','Geiserman','Robert','','3/27/1941','69','Male','White','Fatal','Boca Raton','Handgun','','Yes','','','','','','','',''),('9/25/2014 17:20:11','LM82','Gomez','Ramon','I.','9/7/1989','','Male','Black, non-Hispanic/Latino','Injury','Riviera Beach','Beat officer w/fists','','','','Yes','','','','','',''),('8/19/2014 18:22:52','LM23','Emilcar','Sadras','','9/15/1975','28','Male','Black, non-Hispanic/Latino','No injuries','Delray Beach','BB or toy gun','','','','','','','','','',''),('8/20/2014 16:45:36','LM26','Feldman','Stephen','A.','4/21/1946','58','Male','White','Fatal','Boca Raton','Handgun','','','','','','','','','',''),('6/20/2014 17:34:25','KL15','Hair','Jamel','','12/3/1981','20','Male','Black, non-Hispanic/Latino','Injury','Vero Beach','Vehicle','','','','','','','','Attempted murder, Aggravated assault/battery, Possession of cannabis, purchase of cannabis','Acquitted',''),('8/22/2014 16:18:04','LM34','Foulks','Kareem','J.','5/22/1984','','Male','Black, non-Hispanic/Latino','No injuries','','Vehicle','','','','','','','','Aggravated assault/battery','Convicted',''),('10/20/2014 16:17:03','LM90','Hamilton','Perciel','Rashaund','1/10/1992','','Male','Black, non-Hispanic/Latino','Injury','','Crowbar','','','','Yes','','','','Aggravated assault/battery','',''),('8/20/2014 17:25:56','LM27','Freeman','Anthony','A.','7/6/1965','','Male','Black, non-Hispanic/Latino','No injuries','Port St. Lucie','Vehicle','','','','','','','','Aggravated assault/battery, Fleeing/eluding a police officer','Dropped',''),('9/12/2014 15:29:35','KL35','Haulotte','John','K','5/1/1988','23','Male','White','Injury','','UNARMED','','','','','','some type of hallucinogenic','','Resisting a police officer w/out violence, escape while in lawful custody','Convicted',''),('9/19/2014 16:00:47','LM73','Hay','Broderick','Fernando','6/19/1958','50','Male','Black, non-Hispanic/Latino','Injury','Riviera Beach','Vehicle','','','','Yes','','','','Aggravated assault/battery','Convicted',''),('8/22/2014 15:24:57','LM33','Garczynski Jr.','John','T.','6/12/1967','37','Male','White','Fatal','Boca Raton','Handgun','','Yes','','','','','','','',''),('8/29/2014 16:45:55','KL28','Heffernan ','Justin Jr.','Lawrence','8/3/1992','19','Male','White','Injury','Lantana','Vehicle','','','','Yes','','','','Aggravated assault/battery, Fleeing/eluding a police officer, reckless driving, grand theft','Convicted',''),('8/20/2014 17:50:36','LM28','Henry','Manu','H.','9/16/1977','27','Male','Black, non-Hispanic/Latino','Injury','West Palm Beach','UNARMED','','','','','','','','','',''),('4/15/2015 14:29:03','KL70','Gibson','Reginald','Cornelius','4/2/1987','','Male','Black, non-Hispanic/Latino','No injuries','West Palm Beach','Handgun','Yes','','','','','','','Robbery with firearm; Possession of a firearm','Convicted',''),('11/25/2014 17:07:09','LM112','Herrera','Samir','D.','10/12/1977','','Male','White','Injury','Miramar','Handgun','Yes','','','Yes','','','','','',''),('12/18/2014 15:45:11','KL68','Hill','Gregory','Vaughn','','30','Male','Black, non-Hispanic/Latino','Fatal','Fort Pierce','Handgun','','','','Yes','','','','','',''),('9/25/2014 9:34:43','LM80','Gomez','Gleen','Dean','','21','Male','Hispanic/Latino','Fatal','Miami','Knife or sword','','Yes','','','','','','','',''),('3/17/2015 17:15:39','LM166','Hollis','Gerald','J.','8/15/1969','','Male','Black, non-Hispanic/Latino','Fatal','','Knife or sword','','','','Yes','','','','','',''),('8/22/2014 13:03:30','LM32','Grbic','Boris','N.','','50','Male','White','Fatal','Port St. Lucie','Handgun','Yes','Yes','Yes','Yes','','','','','',''),('12/9/2014 16:08:19','LM129','Holman','Gregory','L.','9/21/1976','','Male','Black, non-Hispanic/Latino','Injury','West Palm Beach','Vehicle','','','','','','','','Attempted murder','Pleaded to lesser crime',''),('9/16/2014 15:39:03','LM65','Horne','Alexander','','5/8/1989','','Male','Black, non-Hispanic/Latino','Injury','West Palm Beach','BB or toy gun','','','','','','','','Aggravated assault/battery','Convicted',''),('9/26/2014 15:01:19','KL51','Hunter','Allen','H','5/20/1965','44','Male','Black, non-Hispanic/Latino','Fatal','Lantana','Reached for or grabbed officer\'s weapon','','','','Yes','Cocaine','','','','',''),('8/15/2014 14:56:28','KL17','Hunter Jr.','Morris','Lee','4/6/1964','','Male','White','Injury','Lake Worth','Vehicle','','','','Yes','','','','Aggravated assault/battery','Convicted',''),('4/17/2015 23:16:08','KL74','Green','Byruss','Devaughn','10/12/1964','','Male','Black, non-Hispanic/Latino','Fatal','Vero Beach','Knife or sword','','','','','','','','','',''),('8/2/2013 11:56:35','KL7','Hall','Gene','Autry','1/16/1988','','Male','Black, non-Hispanic/Latino','No injuries','West Palm Beach','Vehicle','','','','','','','','Resisting a police officer w/violence, Aggravated assault/battery, Burglary, Grand Theft','Convicted',''),('9/3/2014 15:10:42','LM44','Isaias-Magdaleno','Antonio','Gerardo','2/12/1985','21','Male','White','Fatal','Palm Springs','Handgun','Yes','','','','','','','','',''),('9/12/2014 15:38:49','LM56','Jackson','Andy','Lee','10/21/1985','','Male','Black, non-Hispanic/Latino','Injury','Lantana','UNARMED','','','','','','','','','',''),('12/18/2013 13:18:34','DC2','<NAME>.','Robert','Louis','2/11/1989','','Male','Black, non-Hispanic/Latino','Injury','Pompano Beach','Handgun','','','','Yes','','','','Resisting a police officer w/out violence, Attempted murder, Aggravated assault/battery, Fleeing/eluding a police officer, Tampering with Evidence','',''),('9/19/2014 16:30:42','LM74','James','Alexander','C.','3/22/1992','','Male','Black, non-Hispanic/Latino','Injury','Riviera Beach','Vehicle','','','','','','','','Aggravated assault/battery, Fleeing/eluding a police officer','Convicted',''),('10/15/2014 16:44:59','LM89','Jett','Joshua','','9/2/1986','','Male','White','Injury','','Vehicle','','','','Yes','','','','Aggravated assault/battery','',''),('4/16/2015 15:37:45','MM3','Hall','Torrance','M','9/10/1985','','Male','Black, non-Hispanic/Latino','Injury','Riviera Beach','Vehicle','','','','','','','','Aggravated assault/battery, Fleeing/eluding a police officer','Convicted',''),('9/12/2014 16:58:29','KL36','Hatcher','Towond','Eugene','8/29/1986','','Male','Black, non-Hispanic/Latino','No injuries','Lawrenceville, GA','','','','','','','','','','',''),('8/22/2014 11:07:48','KL20','Jolicoeur','Claude III','Devin','1/31/1995','17','Male','Black, non-Hispanic/Latino','Fatal','West Palm Beach','Handgun','','','','Yes','','','','','',''),('9/12/2014 12:09:30','LM53','Jones','Vernon','M.','2/5/1984','','Male','Black, non-Hispanic/Latino','Fatal','Royal Palm Beach','Fists, lawn ornament','','','','Yes','','','','','',''),('8/29/2014 13:02:33','LM39','Jones','Melvin','','3/1/1978','','Male','Black, non-Hispanic/Latino','Injury','','Handgun','','','','','','','','Resisting a police officer w/violence, Aggravated assault/battery','Dropped',''),('3/16/2015 21:22:42','LM154','Jordan','Tracy','C.','6/27/1970','','Female','Black, non-Hispanic/Latino','Injury','West Palm Beach','UNARMED','','','','','','','','','',''),('10/31/2014 13:36:01','LM96','Joseph','Lance','','7/26/1988','','Male','Black, non-Hispanic/Latino','Injury','','Handgun','Yes','','','','','','','Attempted murder, Aggravated assault/battery','',''),('10/30/2014 17:43:02','LM95','Joseph','Anesson','','','28','Male','Black, non-Hispanic/Latino','Fatal','','UNARMED','','','','','','','','','',''),('4/13/2015 17:23:19','MM1','Hebert','Kenneth','Nelson','7/16/1961','','Male','White','Injury','Stuart','BB or toy gun','','','','Yes','','','','Resisting a police officer w/violence, Aggravated assault/battery','Convicted',''),('8/29/2014 16:53:24','KL28','Heffernan','<NAME>. ','Lawrence','1/28/1976','','Male','White','No injuries','Lantana','Vehicle','','','','','','','','Aggravated assault/battery, Fleeing/eluding a police officer, grand theft, kidnapping','Dropped',''),('8/25/2014 14:24:11','LM31','Lester','Allen','G.','2/26/1982','22','Male','Black, non-Hispanic/Latino','Injury','West Palm Beach','Vehicle','','','','','','','','Aggravated assault/battery','Convicted',''),('12/11/2014 16:38:47','KL64','Levy','Barrington','','2/1/1986','18','Male','Black, non-Hispanic/Latino','Injury','Fort Pierce','Handgun','','','','','','','','Attempted murder, Carjacking with a firearm, shooting a police dog','Convicted',''),('8/15/2014 14:31:53','LM10','Lewis','Mark','E.','10/13/1968','31','Male','White','Fatal','Deerfield Beach','Handgun','','','','Yes','','','','','',''),('9/26/2014 11:00:30','KL48','Machado','Angel','','6/6/1989','','Male','White','Injury','Greenacres','UNARMED','','','','','','','','Conspiracy to commit home invasion','Convicted',''),('5/26/2014 16:43:05','KL12','Hernandez','Antonio','','8/23/1982','','Male','Black, non-Hispanic/Latino','No injuries','Fort Pierce','Vehicle','','','','','','','','Resisting a police officer w/out violence, Aggravated assault/battery, Fleeing/eluding a police officer, Driving under influence, driving with suspended license, open container in vehicle','',''),('9/22/2014 16:33:19','LM77','Holliday','Javery','','','18','Male','Black, non-Hispanic/Latino','Fatal','West Palm Beach','BB or toy gun','','','','','','','','','',''),('9/12/2014 16:45:19','LM58','Holloman','Kristopher','J.','1/19/1987','','Male','Black, non-Hispanic/Latino','No injuries','','Handgun','','','','Yes','','','','Aggravated assault/battery','Convicted',''),('5/26/2014 12:07:25','KL9','Margolis','Marco','Robert','12/22/1970','','Male','White','Injury','Port St. Lucie','Vehicle','','','','Yes','','','','Resisting a police officer w/out violence, Aggravated assault/battery, Fleeing/eluding a police officer, Trespassing, disturbing the peace, grand theft, driving with suspended license','',''),('8/2/2013 11:13:10','KL6','Martinez','Adalberto ','V','1/7/1981','','Male','Hispanic/Latino','Fatal','Palm Beach Gardens','Handgun','Yes','','','','Cocaine, Opiates','','','','',''),('9/2/2014 19:06:10','LM43','Hutchins','Patrick','','4/20/1986','','Male','Black, non-Hispanic/Latino','No injuries','','Vehicle','','','','Yes','','','','Aggravated assault/battery, Fleeing/eluding a police officer','Convicted',''),('11/4/2014 14:12:14','LM103','McCray','Moses','','11/18/1981','','Male','Black, non-Hispanic/Latino','Injury','','Handgun, Vehicle','','','','Yes','','','','Aggravated assault/battery','Convicted',''),('9/12/2014 16:25:09','LM57','McCullough','Tavaris','Jermaine','4/25/1986','','Male','Black, non-Hispanic/Latino','Fatal','','Handgun','','','','','Alcohol, Methamphetamine','','','','',''),('9/24/2014 14:44:07','KL44','Hutton','Jeremy','','','17','Male','White','Injury','Acreage','Vehicle','','','','','','','','','',''),('12/8/2014 17:34:23','LM123','Miller','Jerrod','Tramine','','16','Male','Black, non-Hispanic/Latino','Fatal','Delray Beach','Vehicle','','','','','','','','','',''),('8/22/2014 17:24:44','LM35','Monroe','Dexter','Eugene','','23','Male','Black, non-Hispanic/Latino','Fatal','','Handgun','','','','','','','','','',''),('9/26/2014 14:34:38','KL50','Montero','Richard','','9/3/1965','44','Male','White','Fatal','West Palm Beach','Fought with officers','','','','','','','','','',''),('8/19/2014 15:03:21','LM20','Monty','Paul','D.','7/24/1969','34','Male','White','Injury','Wellington','UNARMED','','','','Yes','','','','','',''),('9/22/2014 16:33:26','LM77','Mortin','Derrick','Antonio','5/28/1990','18','Male','Black, non-Hispanic/Latino','Injury','Mangonia Park','UNARMED','','','','','','','','','',''),('12/12/2014 17:43:37','KL67','Mosley','Simon','P','10/9/1970','29','Male','Black, non-Hispanic/Latino','Injury','Belle Glade','ATV','','','','','','','','Attempted murder, Aggravated assault/battery','',''),('9/26/2014 15:54:53','LM84','Murray','Jamil','Ramon','6/30/1981','','Male','Black, non-Hispanic/Latino','Fatal','West Palm Beach','Knife or sword','','','','','','','','','',''),('4/15/2015 14:14:19','MM2','Jackson','Anthony','Maurice','11/25/1971','','Male','Black, non-Hispanic/Latino','Injury','Pompano Beach','Handgun','','','','','','','','BRANDISHING OF A FIREARM DURING AND IN RELATION TO A DRUG TRAFFICKING CRIME','Convicted',''),('12/5/2013 11:59:57','DC1','Johnson','Marvin','Tristan','4/5/1990','','Male','Black, non-Hispanic/Latino','No injuries','Boynton Beach','Knife or sword, Vehicle','','','','','','','','Aggravated assault/battery, Fleeing/eluding a police officer','Convicted',''),('9/16/2014 13:01:23','LM64','Johnson','Michael','Bernard','10/18/1986','','Male','Black, non-Hispanic/Latino','No injuries','West Palm Beach','Vehicle','','','','Yes','','','','Aggravated assault/battery, Fleeing/eluding a police officer','',''),('8/29/2014 15:32:27','KL27','Neloms III','Marcus','Lee','','28','Male','Black, non-Hispanic/Latino','Fatal','West Palm Beach','Handgun, Knife or sword','Yes','','','','','','','','',''),('4/12/2015 16:24:46','JE01','Key','Arthur','L','2/12/1981','','Male','Black, non-Hispanic/Latino','No injuries','West Palm Beach ','Handgun','','','','Yes','','','','Aggravated assault/battery, possession of a firearm by a convicted felon','',''),('9/5/2014 18:22:01','KL32','Norton','Michael','Lee','1/31/1988','23','Male','White','Injury','','UNARMED','','','','','','','','home invasion, burglary, kidnapping','Convicted',''),('9/18/2014 16:09:31','LM69','Lee','Kathy','','11/30/1961','','Female','Black, non-Hispanic/Latino','Injury','Deerfield Beach','UNARMED','','','','','','','','','',''),('12/5/2014 15:46:26','KL61','Pablo','Francisco','','1/1/1990','','Male','Hispanic/Latino','No injuries','Indiantown','','','','','','','','','Resisting a police officer w/violence, Aggravated assault/battery','Convicted',''),('3/17/2015 13:35:49','LM159','Magdaleno','Antonio','G.','2/12/1985','','Male','White','No injuries','','Vehicle','','','','','','','','Fleeing/eluding a police officer','',''),('9/12/2014 17:18:47','KL37','Pacifici','Susan','Jayne','7/25/1960','50','Female','White','Injury','Port St. Lucie','Handgun','','Yes','','','','','','Aggravated assault/battery, discharging a firearm in public','Dropped',''),('12/9/2014 15:20:07','LM128','<NAME>.','Daniel','R.','8/8/1977','','Male','White','Fatal','Lake Worth','Handgun','','Yes','','Yes','','','','','',''),('12/4/2014 18:04:24','LM120','Maldonado','Salvadore','','10/27/1980','','Male','Hispanic/Latino','Injury','','Reached for or grabbed officer\'s weapon','','','','Yes','','','','Resisting a police officer w/violence','Convicted',''),('9/22/2014 17:58:19','LM79','Maldonado','Cesar','Domingo','','22','Male','Hispanic/Latino','Fatal','Lake Worth','UNARMED','','','','','','','','','',''),('10/20/2014 17:24:59','LM91','Perez-Leon','Byron','E.','','21','Male','Hispanic/Latino','Injury','Lake Worth','Handgun','','','','','','Alcohol','','','',''),('12/4/2014 16:22:26','KL58','Perry','Raymond ','','3/12/1975','','Male','White','Injury','Plantation','Vehicle','','','','Yes','','','yes','Grand Theft Auto','Dropped',''),('4/17/2015 13:57:37','MM5','Mann','Martin','T','8/1/1959','','Male','White','No injuries','Greenacres','Handgun','','','','','','','','Resisting a police officer w/violence, Aggravated assault/battery, Fleeing/eluding a police officer','',''),('9/19/2014 15:05:54','LM72','Phillips','Adam','','12/21/1977','30','Male','White','Fatal','','UNARMED','','','Yes','Yes','','','','','',''),('3/16/2015 17:11:45','LM146','Mastics','George','','','','Male','','','','','','','','','','','','','','Yes'),('12/4/2014 16:15:12','LM118','Pineda','Jaime','','11/18/1986','','Male','White','Injury','Greenacres','Handgun','','','','','','Alcohol','','','',''),('8/19/2014 16:29:56','LM21','Pledger','Charles','L.','9/4/1980','23','Male','Black, non-Hispanic/Latino','Injury','','Vehicle','','','','Yes','','','','Attempted murder, Aggravated assault/battery','Acquitted',''),('10/31/2014 16:20:45','LM98','Polen','Dimetri','Deion','10/6/1989','','Male','Black, non-Hispanic/Latino','Fatal','','Rifle','','','','','Marijuana, Prescription drugs','','','','',''),('1/14/2015 17:57:25','LM132','Pollow','Matthew','Troy','3/23/1986','','Male','White','Fatal','Boca Raton','Screwdriver','','','Yes','Yes','','','','','',''),('9/19/2014 10:28:54','KL39','Mila','Jean','C.','12/27/1983','','Male','Black, non-Hispanic/Latino','No injuries','Belle Glade','Handgun','Yes','','','Yes','','','','Discharging a firearm from a vehicle','Convicted',''),('4/17/2015 12:46:22','MM4','Moore','David','L','2/16/1975','','Male','Black, non-Hispanic/Latino','Injury','Riviera Beach','UNARMED','','','','','','','','','',''),('6/14/2013 16:57:24','KL5','NA','NA','','NA','NA','NA','NA','','NA','','','','','','','','','','',''),('8/9/2013 17:32:28','LM9','Rawls','Darlene','Anita','10/14/1970','','Female','Black, non-Hispanic/Latino','Injury','West Palm Beach','Vehicle','','','','Yes','','','','Aggravated assault/battery, Fleeing/eluding a police officer','',''),('8/15/2014 17:28:08','KL18','Rhodes','Daniel','Lee','5/9/1963','49','Male','Black, non-Hispanic/Latino','Fatal','West Palm Beach','Knife or sword','','','','Yes','','','','','',''),('6/14/2013 16:19:46','KL4','NA','NA','','NA','NA','NA','NA','','NA','','','','','','','','','','',''),('6/14/2013 16:08:45','KL3','NA','NA','','NA','NA','NA','NA','','NA','','','','','','','','','','',''),('9/15/2014 16:50:02','LM60','Niellas','Vladimir','Bernal','1/6/1962','','Male','Hispanic/Latino','Fatal','West Palm Beach','Knife or sword','','','Yes','Yes','','','','','',''),('9/12/2014 14:08:42','KL34','Robinson','Robert','Timothy','9/19/1991','','Male','Black, non-Hispanic/Latino','Injury','Riviera Beach','Handgun','','','','','','','','Aggravated assault/battery, Fleeing/eluding a police officer, carjacking; felon in possession of firearm','Convicted',''),('8/29/2014 12:28:18','LM38','Rock','Dennis','Keith','3/17/1968','','Male','White','Injury','Okeechobee','Rifle','','','','Yes','','','','Aggravated assault/battery','Convicted',''),('4/15/2015 14:03:48','KL69','No subject','No subject','','','','','','','','','','','','','','','','','',''),('9/26/2014 10:52:10','KL48','Rosario','Ramon','','7/5/1992','17','Male','White','Injury','Lake Worth','Handgun','Yes','','','Yes','','','','Aggravated assault/battery, grand theft auto, conspiracy to commit home invasion, possession of firearm by convicted felon','Convicted',''),('12/29/2014 14:13:49','LM131','Oser','Steven','','10/11/1962','','Male','White','No injuries','West Palm Beach','Hammer','','','','Yes','','','','','',''),('12/9/2014 14:44:11','LM127','Royal','Frederick','Jamal','5/10/1978','','Male','Black, non-Hispanic/Latino','Injury','Belle Glade','Knife or sword','','','','Yes','','','','','',''),('8/29/2014 14:37:09','KL26','Sahakian','Leon','A','10/23/1961','50','Male','White','Fatal','Palm Beach Gardens','Knife or sword','','Yes','','Yes','','','','','',''),('12/5/2014 15:39:34','KL61','Pablo','Miguel','','5/29/1987','','Male','Hispanic/Latino','Fatal','Indiantown','','','','','','Alcohol','','','','',''),('12/1/2014 17:41:32','LM115','Perez','Angelo','','7/8/1972','','Male','White','No injuries','','Vehicle','','','','Yes','','','','','',''),('9/22/2014 17:28:48','LM78','Perez-Alonso','Carlos','Javier','','32','Male','Hispanic/Latino','Fatal','Fort Pierce','BB or toy gun, Knife or sword','Yes','','','','','','','','',''),('9/26/2014 11:23:25','KL49','Perry','Marcus','','7/13/1990','','Male','Black, non-Hispanic/Latino','No injuries','Royal Palm Beach','Handgun','Yes','','','Yes','','','','','',''),('4/17/2015 23:49:03','KL75','Perry','Gene','A','9/18/1945','','Male','Black, non-Hispanic/Latino','No injuries','Vero Beach','Handgun','','','','','','','','Resisting a police officer w/out violence, Aggravated assault/battery, dui, carry concealed weeapon','',''),('12/5/2014 15:21:22','KL60','Scales','Stacey','Lee','','32','Male','Black, non-Hispanic/Latino','Fatal','Indiantown','Vehicle','','','','','Cocaine','','','','',''),('7/15/2013 18:22:33','LM5','Scheetz','Mellow','D.','10/1/1977','','Female','White','Injury','','NA','','','','','','','','','',''),('3/18/2015 12:35:43','LM168','Shatara','Khamis','','7/17/1993','','Male','White','Fatal','Delray Beach','','','','','Yes','','','','','',''),('9/19/2014 11:14:32','KL40','Pierre','Ralph','','12/7/1988','','Male','Black, non-Hispanic/Latino','No injuries','West Palm Beach','Handgun','','','','','','','','improper exhibition of firearm; felon in possession of firearm','Convicted',''),('7/15/2013 18:51:56','LM5','Rahming','Derrick','A.','7/2/1980','','Male','Black, non-Hispanic/Latino','No injuries','','NA','','','','','','','','','',''),('8/19/2014 14:18:08','LM19','Skwierc','Christopher','','12/31/1984','18','Male','White','Fatal','Lake Park','BB or toy gun','','','Yes','','Alcohol','','','','',''),('11/25/2014 15:24:28','LM109','Smalls','Dimitri','Delarius','5/23/1992','','Male','Black, non-Hispanic/Latino','Injury','','Handgun','','','','Yes','','','','Resisting a police officer w/out violence','Dropped',''),('5/26/2014 14:30:05','KL10','Smith','Chad','','8/14/1969','','Male','Black, non-Hispanic/Latino','Injury','Chicago','Handgun','','','','Yes','','','','Aggravated assault/battery','Pleaded to lesser crime',''),('6/14/2013 15:50:59','KL2','Smith','Clayton','','6/29/1986','16','Male','Black, non-Hispanic/Latino','Injury','Fort Lauderdale','Vehicle','','','','','','','','Resisting a police officer w/out violence, Fleeing/eluding a police officer, leaving the scene of an accident w/ property damage, reckless driving','',''),('9/15/2014 16:14:58','LM59','Soberon','Arthur','G.','9/6/1982','','Male','White','Injury','West Palm Beach','Knife or sword','','Yes','','Yes','','','','Aggravated assault/battery','Convicted',''),('3/16/2015 20:51:31','LM151','Speranzella','Steven','','10/19/1950','','Male','White','Fatal','Boynton Beach','Handgun','','Yes','','','','','','Aggravated assault/battery','Dropped',''),('11/24/2014 18:37:14','LM106','Squire','Nicholas','A.','3/25/1990','','Male','White','Injury','','Knife or sword','','Yes','','','','','','Aggravated assault/battery','',''),('11/3/2014 18:51:13','LM101','Stephens','Dontrell','','4/20/1993','','Male','Black, non-Hispanic/Latino','Injury','','UNARMED','','','','Yes','','','','Failure to obey a lawful order','',''),('12/8/2014 18:38:22','LM124','Stevens','Paul','E.','2/13/1983','','Male','Black, non-Hispanic/Latino','Injury','','UNARMED','','','','Yes','','','','','',''),('9/26/2014 16:37:15','KL54','Raja','Adnan','','','','Male','Asian','Injury','','Handgun','','','','','','','','','','Yes'),('12/18/2013 17:15:19','DC3','Steward','Sagon','Mickletoe','5/12/1988','','Male','Black, non-Hispanic/Latino','Injury','West Palm Beach','Handgun','','','','','','','','Resisting a police officer w/violence, Aggravated assault/battery, Fleeing/eluding a police officer, Armed Robbery','Dropped',''),('10/15/2014 15:46:08','LM88','Stuckey','Ira','Joe','5/11/1984','','Male','Black, non-Hispanic/Latino','Injury','','UNARMED','','','','','','','','','',''),('9/9/2014 19:21:35','LM49','Thevenin','Richard','','8/10/1978','','Male','Black, non-Hispanic/Latino','Injury','','Vehicle','','','','Yes','','','','Aggravated assault/battery, Fleeing/eluding a police officer','Convicted',''),('9/5/2014 15:16:18','KL29','Thompson','Christopher','','8/19/1993','18','Male','White','Fatal','Palm Springs','Rifle','Yes','Yes','','','','','','','',''),('9/17/2014 18:25:44','LM68','Ramos','Marino','Sarbelio','8/3/1972','35','Male','Hispanic/Latino','Fatal','West Palm Beach','UNARMED','','','','','','','','','',''),('12/11/2014 17:43:51','KL65','Tompkins','Nathan','Ramon','','35','Male','','Fatal','Unknown','','','','','Yes','','','','','',''),('12/4/2014 16:21:22','KL58','Treman','Brian','','11/5/1975','','Male','White','Fatal','Pompano Beach','Vehicle','','','','Yes','','','','','',''),('4/17/2015 18:32:10','MM6','Ramos','Giovany','','1/9/1990','','Male','Hispanic/Latino','No injuries','','Vehicle','','','','','','','','Attempted murder','Convicted',''),('12/4/2014 17:20:56','KL59','Tuhey','Glenn','S','2/27/1974','','Male','White','Injury','Stuart','Vehicle','','','','','','','','Fleeing/eluding a police officer, Robbery by sudden snatching, Tampering with physical evidence, Petit Theft, reckless driving, leaving scene of crash with injury','Convicted',''),('10/30/2014 17:11:00','LM94','Ribeiro','Anthony','Charles','2/27/1966','','Male','White','Injury','Boca Raton','Bottle','','','','Yes','','Alcohol','','Aggravated assault/battery','',''),('9/12/2014 17:50:51','KL38','Richards','Albert','Demarcus','4/17/1990','','Male','Black, non-Hispanic/Latino','No injuries','West Palm Beach','','','','','','','','','Possession of Cocaine','Convicted',''),('4/17/2015 19:10:58','MM7','Ripma','Gordon','Russell','3/18/1986','','Male','White','No injuries','Tequesta','Reached for or grabbed officer\'s weapon','','','','','','','','Resisting a police officer w/violence, Aggravated assault/battery','',''),('9/26/2014 14:38:01','LM83','Rives','William','Roe','9/19/1946','','Male','White','No injuries','Lake Harbor','Handgun','Yes','','','','','','','Attempted murder','Dropped',''),('3/16/2015 8:45:09','LM136','Rodriguez','Luis','Paul','','52','Male','Hispanic/Latino','No injuries','West Palm Beach','Handgun','','Yes','','','','','','','',''),('12/4/2014 15:29:55','LM117','Velasquez','Alfonzo','','5/1/1972','','Male','White','Injury','Lake Worth','Knife or sword','','','','','','','','','',''),('10/15/2014 15:10:35','LM87','Rossi','David','P.','10/23/1967','','Male','White','No injuries','West Palm Beach','Vehicle','','','','Yes','','','','','',''),('12/4/2014 14:36:12','KL57','Vierow','Gary','James','','43','Male','','Fatal','Jensen Beach','','','','Yes','Yes','Marijuana','','','','',''),('8/21/2014 14:40:57','LM29','Sanchez','Rodolfo','J.','7/4/1958','46','Male','Hispanic/Latino','No injuries','Lake Worth','Vehicle','','','','','','','','Aggravated assault/battery, Fleeing/eluding a police officer','Dropped',''),('8/18/2014 18:26:41','LM16','Sanchez','Wilmer','','','43','Male','White','Fatal','Lake Worth','Handgun','','Yes','','Yes','','','','','',''),('9/18/2014 18:17:35','LM71','Voltz','Edward','F.','7/28/1957','','Male','White','Injury','Loxahatchee','Rifle','','','','','','','','Attempted murder','Convicted',''),('9/26/2014 15:32:46','KL52','Santiago','Alexi','','10/6/1984','','Male','Hispanic/Latino','No injuries','West Palm Beach','UNARMED','','','','','','','','','',''),('9/3/2014 18:16:47','LM45','Wallace','Russell','','7/21/1970','','Male','White','Fatal','','Reached for or grabbed officer\'s weapon','','','','Yes','Cocaine','','','','',''),('5/30/2013 18:46:39','LM1','Wallace','Calvin','','5/20/1960','','Male','Black, non-Hispanic/Latino','Fatal','Boynton Beach','Handgun','Yes','','','','','','','','',''),('8/29/2014 11:27:49','KL24','Wallach','Michael','James','9/14/1989','22','Male','White','Injury','West Palm Beach','Handgun','Yes','','','Yes','','','','Attempted murder, Aggravated assault/battery, Fleeing/eluding a police officer, home invasion w firearm, burglary w firearm, felon in possession of firearm','',''),('9/2/2014 18:18:30','LM40','Washington','Chester','Otis','10/27/1976','29','Male','Black, non-Hispanic/Latino','Fatal','Jupiter','UNARMED','','','','Yes','Alcohol, Cocaine','','','','',''),('8/15/2014 17:34:29','LM13','Wegrich','John','A.','3/26/1947','54','Male','White','Fatal','West Palm Beach','BB or toy gun','','','','Yes','','','','','',''),('9/10/2014 16:58:31','LM52','Weiland','Christopher','J.','10/11/1954','52','Male','White','Injury','Boynton Beach','Shotgun','','','','Yes','','','','Attempted murder','Acquitted',''),('3/16/2015 18:31:48','LM150','Santiago','Jerickson','V.','11/16/1981','','Male','Hispanic/Latino','No injuries','West Palm Beach','Vehicle','','','','Yes','','','','Aggravated assault/battery, Fleeing/eluding a police officer','',''),('8/20/2014 15:47:15','LM25','Whitefield','Preston','','3/2/1987','17','Male','White','Injury','Lake Park','Vehicle','','','','','','','','Aggravated assault/battery','Convicted',''),('10/30/2014 15:27:40','LM93','Williams','Tinoris','T.','11/6/1982','','Male','Black, non-Hispanic/Latino','Fatal','West Palm Beach','Reached for or grabbed officer\'s weapon','','','Yes','Yes','','','','','',''),('9/19/2014 16:53:49','LM75','Williams','Dijon','','4/19/1985','','Male','Black, non-Hispanic/Latino','Fatal','Riviera Beach','Handgun','','','','Yes','','','','','',''),('8/15/2014 18:26:48','LM14','Wilson','Herbert','','1/3/1970','32','Male','Black, non-Hispanic/Latino','Injury','Belle Glade','UNARMED','','','','Yes','','','','','',''),('7/12/2013 18:16:40','LM4','Wilson','Tarvis','Merrell','4/2/1987','','Male','Black, non-Hispanic/Latino','Injury','','Handgun','Yes','','','','','','','Resisting a police officer w/violence, Attempted murder, Aggravated assault/battery, Fleeing/eluding a police officer','Convicted',''),('9/8/2014 17:20:40','LM46','Saulsby','Jenard','Corey','11/11/1990','','Male','Black, non-Hispanic/Latino','No injuries','Riviera Beach','Handgun','','','','Yes','','','','Aggravated assault/battery','Convicted',''),('4/13/2015 15:32:04','MQ1','Daughtry','Keith','','11/12/1980','19','Male','Black, non-Hispanic/Latino','Fatal','Ft. Pierce','Reached for or grabbed officer\'s weapon','','','','Yes','','','','Battery on a law enforcement officer','Dropped',''),('4/13/2015 16:12:43','MQ2','Brown','Anthony','L.','9/13/1974','39','Male','Black, non-Hispanic/Latino','Fatal','West Palm Beach','Handgun','Yes','','','Yes','','','','','',''),('10/14/2014 17:18:51','LM85','Shukas','Charles','W.','10/8/1982','','Male','White','No injuries','Lantana','UNARMED','','','','Yes','','','','','',''),('4/15/2015 12:39:22','MQ3','Donohue','Adam','Christian','7/13/1992','20','Male','','Fatal','Boca Raton','','','','','','','','','','',''),('3/17/2015 14:47:16','LM161','Simon','Rashard','R.','6/2/1982','','Male','Black, non-Hispanic/Latino','No injuries','West Palm Beach','Vehicle','','','','','','','','Aggravated assault/battery','Dropped',''),('4/15/2015 14:11:31','MM2','Singletary','Michael','A','12/20/1986','','Male','Black, non-Hispanic/Latino','Injury','Pompano Beach','Handgun','','','','','','','','BRANDISHING OF A FIREARM DURING AND IN RELATION TO A DRUG TRAFFICKING CRIME','Convicted',''),('3/16/2015 9:13:53','LM138','Steward','Marcus','','','','Male','Black, non-Hispanic/Latino','No injuries','Riviera Beach','Handgun','','','','','','','','','',''),('9/26/2014 17:31:46','KL56','Tisdale','Eriese','A','','','Male','Black, non-Hispanic/Latino','No injuries','Port St. Lucie','Handgun','Yes','','','','','','','Murder','',''),('7/12/2013 16:14:18','LM3','Troutman','Reggie','Devar','12/11/1985','','Male','Black, non-Hispanic/Latino','No injuries','Ft. Lauderdale','UNARMED','','','','Yes','','','','Resisting a police officer w/violence, Resisting a police officer w/out violence, Aggravated assault/battery, Fleeing/eluding a police officer','Convicted',''),('9/24/2014 12:42:30','KL43','unknown','unknown','','','','Male','NA','Injury','NA','NA','','','','','','','','','',''),('9/19/2014 11:23:41','KL41','unknown','unknown','','','','','','','','','','','','','','','','','',''),('9/5/2014 16:26:09','KL31','Unknown','Unknown','','2/12/2011','','Male','Black, non-Hispanic/Latino','No injuries','unknown','Handgun','','','','','','','','','',''),('9/5/2014 15:28:03','KL30','Unknown','Unknown','','','','NA','NA','NA','NA','Vehicle','','','','','','','','','',''),('4/12/2015 16:52:44','JE02','Unknown','Unknown','','','','Male','Black, non-Hispanic/Latino','','','Handgun','','','','','','','','','',''),('9/9/2014 13:41:51','LM47','Vest','Katie','Lee','9/30/1981','','Female','White','No injuries','','Vehicle','','','','Yes','','','','Aggravated assault/battery, Fleeing/eluding a police officer','Convicted',''),('9/15/2014 17:54:38','LM61','Vilsaint','Jacquelin','','4/20/1989','','Male','Black, non-Hispanic/Latino','No injuries','','Handgun','Yes','','','Yes','','','','','',''),('8/20/2014 15:22:47','LM24','Vitt','Gary','Lee','11/17/1959','44','Male','','Fatal','Belleview','Handgun','','','','','','','','','',''),('12/9/2014 12:30:00','LM126','Vosburgh','William','','1/1/1956','46','Male','','Fatal','Connecticut','UNARMED','','','','','','','','','',''),('4/15/2015 14:32:28','KL70','Walker','Jartarus','L','4/14/1987','','Male','Black, non-Hispanic/Latino','No injuries','Greenacres','Handgun','','','','','','','','Robbery with firearm','Convicted',''),('9/2/2014 15:43:39','LM42','White','Shirley','','','53','Female','NA','Injury','Margate','UNARMED','','','','','','','','','',''),('8/15/2014 17:03:28','LM12','Young','Michael','O.','10/14/1960','41','Male','','Fatal','Lantana','Handgun, fake pipe bomb','Yes','','','','','','','','',''); /*!40000 ALTER TABLE `rawsubjects` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `subjects` -- DROP TABLE IF EXISTS `subjects`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `subjects` ( `Id` int(11) NOT NULL AUTO_INCREMENT, `lastName` varchar(255) DEFAULT NULL, `firstName` varchar(255) DEFAULT NULL, `middleName` varchar(255) DEFAULT NULL, `dob` date DEFAULT NULL, `gender` varchar(255) DEFAULT NULL, `ethnicity` varchar(255) DEFAULT NULL, `city` varchar(255) DEFAULT NULL, PRIMARY KEY (`Id`) ) ENGINE=InnoDB AUTO_INCREMENT=269 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `subjects` -- LOCK TABLES `subjects` WRITE; /*!40000 ALTER TABLE `subjects` DISABLE KEYS */; INSERT INTO `subjects` VALUES (7,'Adams','Seth','','1988-04-19','Male','White','Loxahatchee'),(8,'Adkins','Dallas','Roger','1949-08-14','Male','White','Delray Beach'),(9,'Alvarez','Aldo','','1976-11-26','Male','White','Royal Palm Beach'),(10,'Alvarez','Robert','William','1990-12-03','Male','White','Greenacres'),(11,'Ammon','Donald','','1956-10-29','Male','',''),(12,'Anderson','Jamar','F',NULL,'Male','Black, non-Hispanic/Latino','Fort Lauderdale'),(13,'Andrews','Telly','L.','1973-11-08','Male','Black, non-Hispanic/Latino','Riviera Beach'),(14,'Antao','Bronson','David','1982-01-17','Male','White','Boynton Beach'),(15,'Arango','Victor','A','1985-11-15','Male','Hispanic/Latino','Lake Worth'),(16,'Ariot','Marc','C.','1986-12-14','Male','Black, non-Hispanic/Latino','Greenacres'),(17,'Auguste','Eugene','Rony','1987-10-20','Male','Black, non-Hispanic/Latino','Riviera Beach'),(18,'Austgen','<NAME>.','Donald','1965-08-26','Male','White','Fort Pierce'),(19,'Austin','Jonathan','D.','1984-12-09','Male','Black, non-Hispanic/Latino','Boynton Beach'),(20,'<NAME>','Charles','B.','1968-04-03','Male','White','Jupiter'),(21,'Barreto','Jesus','Emmanuel',NULL,'Male','Hispanic/Latino',''),(22,'Battie','Latavius','','1981-05-15','Male','Black, non-Hispanic/Latino','Mangonia Park'),(23,'Bean','John','Henry','1990-08-02','Male','Black, non-Hispanic/Latino','Delray Beach'),(24,'Beasley','Brandon','Zachariah',NULL,'Male','Black, non-Hispanic/Latino','Lauderhill'),(25,'Beasley','Joshua','','1981-05-06','Male','Black, non-Hispanic/Latino','Lauderhill'),(26,'Beckham','Robin','','1978-08-25','Male','Black, non-Hispanic/Latino','Delray Beach'),(27,'Bell','Damon','','1980-07-25','Male','Black, non-Hispanic/Latino',''),(28,'Bell','Larry ','D',NULL,'Male','Black, non-Hispanic/Latino',''),(29,'Bennett','David','Scott','1970-01-26','Male','White','Jupiter'),(30,'Bittle','Robert','Harold','1966-10-24','Male','White',''),(31,'Bodie','Craig','','1958-10-05','Male','White','Boca Raton'),(32,'<NAME>','William','R.','1952-03-03','Male','White','Fort Myers'),(33,'Brown','Ralph','A.','1981-09-04','Male','Black, non-Hispanic/Latino',''),(34,'Brown','Adam','L.','1963-01-09','Male','White','Palm Beach Shores'),(35,'Bowen','Luke','Tafari','1989-05-12','Male','Black, non-Hispanic/Latino','Riviera Beach'),(36,'Bryant','Stephen','',NULL,'Male','White','Port St. Lucie'),(37,'Burdett','Nicholas','',NULL,'Male','White','Needham, Massachusetts'),(38,'Burgess','Thomas','W.','1985-02-22','Male','Black, non-Hispanic/Latino','Lake Worth'),(39,'Burlakoff','Ian','','1971-10-18','Male','White','Boca Raton'),(40,'Brooks','Donovan','','1965-04-17','Male','Black, non-Hispanic/Latino',''),(41,'Brown','Thomas','Markeith',NULL,'Male','Black, non-Hispanic/Latino',''),(42,'Calderin','Janira','',NULL,'Female','Hispanic/Latino','Boynton Beach'),(43,'Burtschin','Andrew','Martin','1985-03-08','Male','White','Palm Beach Gardens'),(44,'Canady','Kenneth','Orrin','1961-03-17','Male','Black, non-Hispanic/Latino','Port St. Lucie'),(45,'Bush','Antwon','Denard','1982-11-27','Male','Black, non-Hispanic/Latino','Riviera Beach'),(46,'Carroll','Zachary','',NULL,'Male','White','Fort Lauderdale'),(47,'Caldwell','Cory','','1989-08-22','Male','Black, non-Hispanic/Latino','Deerfield Beach'),(48,'Charles','Alens','','1987-02-10','Male','Black, non-Hispanic/Latino','Lake Worth'),(49,'Clairvoyant','Jethro','L.','1985-04-29','Male','Black, non-Hispanic/Latino','Riviera Beach'),(50,'Clemons','John','Earl','1992-07-23','Male','Black, non-Hispanic/Latino',''),(51,'Coberly','Steven','Randolph','1965-08-28','Male','White','Fort Pierce'),(52,'Camberdella','Michael','',NULL,'Male','White','Boynton Beach'),(53,'Collins','James','','1963-04-28','Male','','Greenacres'),(54,'Colombo Jr.','Dennis','G.','1975-06-26','Male','White','Palm Beach Gardens'),(55,'Connelly','James','','1983-08-23','Male','White',''),(56,'Carrillo','Jose','','1984-05-22','Male','Black, non-Hispanic/Latino','Okeechobee'),(57,'Castillo','Wilfredo','','1964-06-20','Male','Hispanic/Latino','West Palm Beach'),(58,'Cruz','Mauricio','Nunez','1974-03-25','Male','Hispanic/Latino','Palm Springs'),(59,'Dabbs','William','P.','1957-02-23','Male','White','Delray Beach'),(60,'Chaney','James Jr.','Hayward','1954-05-19','Male','White','Vero Beach'),(61,'Demps','Craig','A.','1991-01-23','Male','Black, non-Hispanic/Latino',''),(62,'Coleman','David','J.','1963-10-21','Male','White','Wellington'),(63,'Cox','Ronald','J','1960-07-29','Male','Black, non-Hispanic/Latino','Fort Pierce'),(64,'Diana','Jesse','Michael','1973-04-10','Male','White','Ocala'),(65,'Cox','Kyshaud','Triond','1989-07-10','Male','Black, non-Hispanic/Latino',''),(66,'Dillon','Timothy','Charles','1969-10-19','Male','White','Boynton Beach'),(67,'Cox','Reginald','John','1959-07-29','Male','Black, non-Hispanic/Latino','Ft. Pierce'),(68,'Debrosse','Ruben','Charles',NULL,'Male','Black, non-Hispanic/Latino','Royal Palm Beach'),(69,'Estime','Robens','','1994-01-22','Male','Black, non-Hispanic/Latino',''),(70,'Falconi','Angella','',NULL,'Female','White','Lake Worth '),(71,'Fay','James','Steven',NULL,'Male','White','Boynton Beach'),(72,'Desilio','Bernard','P.','1968-05-03','Male','White',''),(73,'Felipe','Armando','Gonzalez','1972-06-13','Male','Hispanic/Latino',''),(74,'Flanagan','John','D.','1988-06-03','Male','White','Royal Palm Beach'),(75,'Fleming','Keshaun','Lamont','1982-07-16','Male','Black, non-Hispanic/Latino','West Palm Beach'),(76,'Forrest','Marilou','',NULL,'Female','White','Boca Raton'),(77,'DeSilva','Jarrett','B.','1988-02-25','Male','White','Tamarac'),(78,'Dicocco','Brian','Michael','1985-04-09','Male','Black, non-Hispanic/Latino',''),(79,'Frierson','Ira','Houston','1957-05-18','Male','Black, non-Hispanic/Latino',''),(80,'Fuller','Daniel','Ross',NULL,'Male','White','Miami'),(81,'Gamble','Mary','Joyce','1956-06-05','Female','Black, non-Hispanic/Latino','Riviera Beach'),(82,'Duval','Rigoberto','','1989-03-07','Male','Black, non-Hispanic/Latino','Lake Park'),(83,'Gavin','Authneil','','1977-09-05','Male','Black, non-Hispanic/Latino',''),(84,'Geiserman','Robert','','1941-03-27','Male','White','Boca Raton'),(85,'Gomez','Ramon','I.','1989-09-07','Male','Black, non-Hispanic/Latino','Riviera Beach'),(86,'Emilcar','Sadras','','1975-09-15','Male','Black, non-Hispanic/Latino','Delray Beach'),(87,'Feldman','Stephen','A.','1946-04-21','Male','White','Boca Raton'),(88,'Hair','Jamel','','1981-12-03','Male','Black, non-Hispanic/Latino','Vero Beach'),(89,'Foulks','Kareem','J.','1984-05-22','Male','Black, non-Hispanic/Latino',''),(90,'Hamilton','Perciel','Rashaund','1992-01-10','Male','Black, non-Hispanic/Latino',''),(91,'Freeman','Anthony','A.','1965-07-06','Male','Black, non-Hispanic/Latino','Port St. Lucie'),(92,'Haulotte','John','K','1988-05-01','Male','White',''),(93,'Hay','Broderick','Fernando','1958-06-19','Male','Black, non-Hispanic/Latino','Riviera Beach'),(94,'Garczynski Jr.','John','T.','1967-06-12','Male','White','Boca Raton'),(95,'Heffernan ','Justin Jr.','Lawrence','1992-08-03','Male','White','Lantana'),(96,'Henry','Manu','H.','1977-09-16','Male','Black, non-Hispanic/Latino','West Palm Beach'),(97,'Gibson','Reginald','Cornelius','1987-04-02','Male','Black, non-Hispanic/Latino','West Palm Beach'),(98,'Herrera','Samir','D.','1977-10-12','Male','White','Miramar'),(99,'Hill','Gregory','Vaughn',NULL,'Male','Black, non-Hispanic/Latino','Fort Pierce'),(100,'Gomez','Gleen','Dean',NULL,'Male','Hispanic/Latino','Miami'),(101,'Hollis','Gerald','J.','1969-08-15','Male','Black, non-Hispanic/Latino',''),(102,'Grbic','Boris','N.',NULL,'Male','White','Port St. Lucie'),(103,'Holman','Gregory','L.','1976-09-21','Male','Black, non-Hispanic/Latino','West Palm Beach'),(104,'Horne','Alexander','','1989-05-08','Male','Black, non-Hispanic/Latino','West Palm Beach'),(105,'Hunter','Allen','H','1965-05-20','Male','Black, non-Hispanic/Latino','Lantana'),(106,'Hunter Jr.','Morris','Lee','1964-04-06','Male','White','Lake Worth'),(107,'Green','Byruss','Devaughn','1964-10-12','Male','Black, non-Hispanic/Latino','Vero Beach'),(108,'Hall','Gene','Autry','1988-01-16','Male','Black, non-Hispanic/Latino','West Palm Beach'),(109,'Isaias-Magdaleno','Antonio','Gerardo','1985-02-12','Male','White','Palm Springs'),(110,'Jackson','Andy','Lee','1985-10-21','Male','Black, non-Hispanic/Latino','Lantana'),(111,'<NAME>.','Robert','Louis','1989-02-11','Male','Black, non-Hispanic/Latino','Pompano Beach'),(112,'James','Alexander','C.','1992-03-22','Male','Black, non-Hispanic/Latino','Riviera Beach'),(113,'Jett','Joshua','','1986-09-02','Male','White',''),(114,'Hall','Torrance','M','1985-09-10','Male','Black, non-Hispanic/Latino','Riviera Beach'),(115,'Hatcher','Towond','Eugene','1986-08-29','Male','Black, non-Hispanic/Latino','Lawrenceville, GA'),(116,'Jolicoeur','<NAME>','Devin','1995-01-31','Male','Black, non-Hispanic/Latino','West Palm Beach'),(117,'Jones','Vernon','M.','1984-02-05','Male','Black, non-Hispanic/Latino','Royal Palm Beach'),(118,'Jones','Melvin','','1978-03-01','Male','Black, non-Hispanic/Latino',''),(119,'Jordan','Tracy','C.','1970-06-27','Female','Black, non-Hispanic/Latino','West Palm Beach'),(120,'Joseph','Lance','','1988-07-26','Male','Black, non-Hispanic/Latino',''),(121,'Joseph','Anesson','',NULL,'Male','Black, non-Hispanic/Latino',''),(122,'Hebert','Kenneth','Nelson','1961-07-16','Male','White','Stuart'),(123,'Heffernan','<NAME>. ','Lawrence','1976-01-28','Male','White','Lantana'),(124,'Lester','Allen','G.','1982-02-26','Male','Black, non-Hispanic/Latino','West Palm Beach'),(125,'Levy','Barrington','','1986-02-01','Male','Black, non-Hispanic/Latino','Fort Pierce'),(126,'Lewis','Mark','E.','1968-10-13','Male','White','Deerfield Beach'),(127,'Machado','Angel','','1989-06-06','Male','White','Greenacres'),(128,'Hernandez','Antonio','','1982-08-23','Male','Black, non-Hispanic/Latino','Fort Pierce'),(129,'Holliday','Javery','',NULL,'Male','Black, non-Hispanic/Latino','West Palm Beach'),(130,'Holloman','Kristopher','J.','1987-01-19','Male','Black, non-Hispanic/Latino',''),(131,'Margolis','Marco','Robert','1970-12-22','Male','White','Port St. Lucie'),(132,'Martinez','Adalberto ','V','1981-01-07','Male','Hispanic/Latino','Palm Beach Gardens'),(133,'Hutchins','Patrick','','1986-04-20','Male','Black, non-Hispanic/Latino',''),(134,'McCray','Moses','','1981-11-18','Male','Black, non-Hispanic/Latino',''),(135,'McCullough','Tavaris','Jermaine','1986-04-25','Male','Black, non-Hispanic/Latino',''),(136,'Hutton','Jeremy','',NULL,'Male','White','Acreage'),(137,'Miller','Jerrod','Tramine',NULL,'Male','Black, non-Hispanic/Latino','Delray Beach'),(138,'Monroe','Dexter','Eugene',NULL,'Male','Black, non-Hispanic/Latino',''),(139,'Montero','Richard','','1965-09-03','Male','White','West Palm Beach'),(140,'Monty','Paul','D.','1969-07-24','Male','White','Wellington'),(141,'Mortin','Derrick','Antonio','1990-05-28','Male','Black, non-Hispanic/Latino','Mangonia Park'),(142,'Mosley','Simon','P','1970-10-09','Male','Black, non-Hispanic/Latino','Belle Glade'),(143,'Murray','Jamil','Ramon','1981-06-30','Male','Black, non-Hispanic/Latino','West Palm Beach'),(144,'Jackson','Anthony','Maurice','1971-11-25','Male','Black, non-Hispanic/Latino','Pompano Beach'),(145,'Johnson','Marvin','Tristan','1990-04-05','Male','Black, non-Hispanic/Latino','Boynton Beach'),(146,'Johnson','Michael','Bernard','1986-10-18','Male','Black, non-Hispanic/Latino','West Palm Beach'),(147,'Neloms III','Marcus','Lee',NULL,'Male','Black, non-Hispanic/Latino','West Palm Beach'),(148,'Key','Arthur','L','1981-02-12','Male','Black, non-Hispanic/Latino','West Palm Beach '),(149,'Norton','Michael','Lee','1988-01-31','Male','White',''),(150,'Lee','Kathy','','1961-11-30','Female','Black, non-Hispanic/Latino','Deerfield Beach'),(151,'Pablo','Francisco','','1990-01-01','Male','Hispanic/Latino','Indiantown'),(152,'Magdaleno','Antonio','G.','1985-02-12','Male','White',''),(153,'Pacifici','Susan','Jayne','1960-07-25','Female','White','Port St. Lucie'),(154,'<NAME>.','Daniel','R.','1977-08-08','Male','White','Lake Worth'),(155,'Maldonado','Salvadore','','1980-10-27','Male','Hispanic/Latino',''),(156,'Maldonado','Cesar','Domingo',NULL,'Male','Hispanic/Latino','Lake Worth'),(157,'Perez-Leon','Byron','E.',NULL,'Male','Hispanic/Latino','Lake Worth'),(158,'Perry','Raymond ','','1975-03-12','Male','White','Plantation'),(159,'Mann','Martin','T','1959-08-01','Male','White','Greenacres'),(160,'Phillips','Adam','','1977-12-21','Male','White',''),(161,'Mastics','George','',NULL,'Male','',''),(162,'Pineda','Jaime','','1986-11-18','Male','White','Greenacres'),(163,'Pledger','Charles','L.','1980-09-04','Male','Black, non-Hispanic/Latino',''),(164,'Polen','Dimetri','Deion','1989-10-06','Male','Black, non-Hispanic/Latino',''),(165,'Pollow','Matthew','Troy','1986-03-23','Male','White','Boca Raton'),(166,'Mila','Jean','C.','1983-12-27','Male','Black, non-Hispanic/Latino','Belle Glade'),(167,'Moore','David','L','1975-02-16','Male','Black, non-Hispanic/Latino','Riviera Beach'),(168,'Rawls','Darlene','Anita','1970-10-14','Female','Black, non-Hispanic/Latino','West Palm Beach'),(169,'Rhodes','Daniel','Lee','1963-05-09','Male','Black, non-Hispanic/Latino','West Palm Beach'),(170,'Niellas','Vladimir','Bernal','1962-01-06','Male','Hispanic/Latino','West Palm Beach'),(171,'Robinson','Robert','Timothy','1991-09-19','Male','Black, non-Hispanic/Latino','Riviera Beach'),(172,'Rock','Dennis','Keith','1968-03-17','Male','White','Okeechobee'),(174,'Rosario','Ramon','','1992-07-05','Male','White','Lake Worth'),(175,'Oser','Steven','','1962-10-11','Male','White','West Palm Beach'),(176,'Royal','Frederick','Jamal','1978-05-10','Male','Black, non-Hispanic/Latino','Belle Glade'),(177,'Sahakian','Leon','A','1961-10-23','Male','White','Palm Beach Gardens'),(178,'Pablo','Miguel','','1987-05-29','Male','Hispanic/Latino','Indiantown'),(179,'Perez','Angelo','','1972-07-08','Male','White',''),(180,'Perez-Alonso','Carlos','Javier',NULL,'Male','Hispanic/Latino','Fort Pierce'),(181,'Perry','Marcus','','1990-07-13','Male','Black, non-Hispanic/Latino','Royal Palm Beach'),(182,'Perry','Gene','A','1945-09-18','Male','Black, non-Hispanic/Latino','Vero Beach'),(183,'Scales','Stacey','Lee',NULL,'Male','Black, non-Hispanic/Latino','Indiantown'),(184,'Scheetz','Mellow','D.','1977-10-01','Female','White',''),(185,'Shatara','Khamis','','1993-07-17','Male','White','Delray Beach'),(186,'Pierre','Ralph','','1988-12-07','Male','Black, non-Hispanic/Latino','West Palm Beach'),(187,'Rahming','Derrick','A.','1980-07-02','Male','Black, non-Hispanic/Latino',''),(188,'Skwierc','Christopher','','1984-12-31','Male','White','Lake Park'),(189,'Smalls','Dimitri','Delarius','1992-05-23','Male','Black, non-Hispanic/Latino',''),(190,'Smith','Chad','','1969-08-14','Male','Black, non-Hispanic/Latino','Chicago'),(191,'Smith','Clayton','','1986-06-29','Male','Black, non-Hispanic/Latino','Fort Lauderdale'),(192,'Soberon','Arthur','G.','1982-09-06','Male','White','West Palm Beach'),(193,'Speranzella','Steven','','1950-10-19','Male','White','Boynton Beach'),(194,'Squire','Nicholas','A.','1990-03-25','Male','White',''),(195,'Stephens','Dontrell','','1993-04-20','Male','Black, non-Hispanic/Latino',''),(196,'Stevens','Paul','E.','1983-02-13','Male','Black, non-Hispanic/Latino',''),(197,'Raja','Adnan','',NULL,'Male','Asian',''),(198,'Steward','Sagon','Mickletoe','1988-05-12','Male','Black, non-Hispanic/Latino','West Palm Beach'),(199,'Stuckey','Ira','Joe','1984-05-11','Male','Black, non-Hispanic/Latino',''),(200,'Thevenin','Richard','','1978-08-10','Male','Black, non-Hispanic/Latino',''),(201,'Thompson','Christopher','','1993-08-19','Male','White','Palm Springs'),(202,'Ramos','Marino','Sarbelio','1972-08-03','Male','Hispanic/Latino','West Palm Beach'),(203,'Tompkins','Nathan','Ramon',NULL,'Male','','Unknown'),(204,'Treman','Brian','','1975-11-05','Male','White','Pompano Beach'),(205,'Ramos','Giovany','','1990-01-09','Male','Hispanic/Latino',''),(206,'Tuhey','Glenn','S','1974-02-27','Male','White','Stuart'),(207,'Ribeiro','Anthony','Charles','1966-02-27','Male','White','Boca Raton'),(208,'Richards','Albert','Demarcus','1990-04-17','Male','Black, non-Hispanic/Latino','West Palm Beach'),(209,'Ripma','Gordon','Russell','1986-03-18','Male','White','Tequesta'),(210,'Rives','William','Roe','1946-09-19','Male','White','Lake Harbor'),(211,'Rodriguez','Luis','Paul',NULL,'Male','Hispanic/Latino','West Palm Beach'),(212,'Velasquez','Alfonzo','','1972-05-01','Male','White','Lake Worth'),(213,'Rossi','David','P.','1967-10-23','Male','White','West Palm Beach'),(214,'Vierow','Gary','James',NULL,'Male','','Jensen Beach'),(215,'Sanchez','Rodolfo','J.','1958-07-04','Male','Hispanic/Latino','Lake Worth'),(216,'Sanchez','Wilmer','',NULL,'Male','White','Lake Worth'),(217,'Voltz','Edward','F.','1957-07-28','Male','White','Loxahatchee'),(218,'Santiago','Alexi','','1984-10-06','Male','Hispanic/Latino','West Palm Beach'),(219,'Wallace','Russell','','1970-07-21','Male','White',''),(220,'Wallace','Calvin','','1960-05-20','Male','Black, non-Hispanic/Latino','Boynton Beach'),(221,'Wallach','Michael','James','1989-09-14','Male','White','West Palm Beach'),(222,'Washington','Chester','Otis','1976-10-27','Male','Black, non-Hispanic/Latino','Jupiter'),(223,'Wegrich','John','A.','1947-03-26','Male','White','West Palm Beach'),(224,'Weiland','Christopher','J.','1954-10-11','Male','White','Boynton Beach'),(225,'Santiago','Jerickson','V.','1981-11-16','Male','Hispanic/Latino','West Palm Beach'),(226,'Whitefield','Preston','','1987-03-02','Male','White','Lake Park'),(227,'Williams','Tinoris','T.','1982-11-06','Male','Black, non-Hispanic/Latino','West Palm Beach'),(228,'Williams','Dijon','','1985-04-19','Male','Black, non-Hispanic/Latino','Riviera Beach'),(229,'Wilson','Herbert','','1970-01-03','Male','Black, non-Hispanic/Latino','Belle Glade'),(230,'Wilson','Tarvis','Merrell','1987-04-02','Male','Black, non-Hispanic/Latino',''),(231,'Saulsby','Jenard','Corey','1990-11-11','Male','Black, non-Hispanic/Latino','Riviera Beach'),(232,'Daughtry','Keith','','1980-11-12','Male','Black, non-Hispanic/Latino','Ft. Pierce'),(233,'Brown','Anthony','L.','1974-09-13','Male','Black, non-Hispanic/Latino','West Palm Beach'),(234,'Shukas','Charles','W.','1982-10-08','Male','White','Lantana'),(235,'Donohue','Adam','Christian','1992-07-13','Male','','Boca Raton'),(236,'Simon','Rashard','R.','1982-06-02','Male','Black, non-Hispanic/Latino','West Palm Beach'),(237,'Singletary','Michael','A','1986-12-20','Male','Black, non-Hispanic/Latino','Pompano Beach'),(238,'Steward','Marcus','',NULL,'Male','Black, non-Hispanic/Latino','Riviera Beach'),(239,'Tisdale','Eriese','A',NULL,'Male','Black, non-Hispanic/Latino','Port St. Lucie'),(240,'Troutman','Reggie','Devar','1985-12-11','Male','Black, non-Hispanic/Latino','Ft. Lauderdale'),(246,'Vest','Katie','Lee','1981-09-30','Female','White',''),(247,'Vilsaint','Jacquelin','','1989-04-20','Male','Black, non-Hispanic/Latino',''),(248,'Vitt','Gary','Lee','1959-11-17','Male','','Belleview'),(249,'Vosburgh','William','','1956-01-01','Male','','Connecticut'),(250,'Walker','Jartarus','L','1987-04-14','Male','Black, non-Hispanic/Latino','Greenacres'),(251,'White','Shirley','',NULL,'Female','NA','Margate'),(252,'Young','Michael','O.','1960-10-14','Male','','Lantana'),(256,'Unknown','Unknown','',NULL,'','',''),(257,'Unknown','Unknown','',NULL,'Male','Black, non-Hispanic/Latino',''),(258,'Unknown','Unknown','',NULL,'Male','',''),(259,'Unknown','Unknown','',NULL,'Male','Hispanic/Latino',''),(260,'Unknown','Unknown','',NULL,'Male','Black, non-Hispanic/Latino',''),(261,'Unknown','Unknown','',NULL,'','',''),(262,'Unknown','Unknown','',NULL,'','',''),(263,'Unknown','Unknown','',NULL,'','',''),(264,'Unknown','Unknown','',NULL,'Male','NA','NA'),(265,'Unknown','Unknown','',NULL,'','',''),(266,'Unknown','Unknown','','2011-02-12','Male','Black, non-Hispanic/Latino','unknown'),(267,'Unknown','Unknown','',NULL,'NA','NA','NA'),(268,'Unknown','Unknown','',NULL,'Male','Black, non-Hispanic/Latino',''); /*!40000 ALTER TABLE `subjects` 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 2015-04-19 22:53:22
<reponame>sadatmalik/Fusion -- 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='ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'; -- ----------------------------------------------------- -- Schema fusion -- ----------------------------------------------------- -- ----------------------------------------------------- -- Schema fusion -- ----------------------------------------------------- CREATE SCHEMA IF NOT EXISTS `fusion` DEFAULT CHARACTER SET utf8 ; USE `fusion` ; -- ----------------------------------------------------- -- Table `fusion`.`users` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`users` ( `user_id` INT NOT NULL AUTO_INCREMENT, `first_name` VARCHAR(45) NOT NULL, `last_name` VARCHAR(45) NOT NULL, `email` VARCHAR(45) NOT NULL, `timestamp` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`user_id`)) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`income` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`income` ( `income_id` INT NOT NULL AUTO_INCREMENT, `income_amount` DECIMAL(10,2) NOT NULL, `income_source` VARCHAR(100) NOT NULL, `income_weekly_interval` INT NOT NULL COMMENT 'Zero for one off income', `timestamp` DATETIME NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`income_id`)) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`users_income` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`users_income` ( `users_income_id` INT NOT NULL AUTO_INCREMENT, `user_id` INT NOT NULL, `income_id` INT NOT NULL, `active` TINYINT NOT NULL, PRIMARY KEY (`users_income_id`), INDEX `fk_users_income_user_id_idx` (`user_id` ASC) VISIBLE, INDEX `fk_users_income_income_id_idx` (`income_id` ASC) VISIBLE, CONSTRAINT `fk_users_income_user_id` FOREIGN KEY (`user_id`) REFERENCES `fusion`.`users` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `fk_users_income_income_id` FOREIGN KEY (`income_id`) REFERENCES `fusion`.`income` (`income_id`) ON DELETE NO ACTION ON UPDATE CASCADE) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`monthly_income` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`monthly_income` ( `monthly_income_id` INT NOT NULL AUTO_INCREMENT, `monthly_income_amount` DECIMAL(10,2) NOT NULL, `monthly_income_source` INT NOT NULL, `day_of_month_recvd` INT NOT NULL, `timestamp` DATETIME NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`monthly_income_id`)) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`users_monthly_income` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`users_monthly_income` ( `users_monthly_income_id` INT NOT NULL AUTO_INCREMENT, `user_id` INT NOT NULL, `monthly_income_id` INT NOT NULL, `active` TINYINT NOT NULL, PRIMARY KEY (`users_monthly_income_id`), INDEX `fk_users_monthly_income_monthly_income_idx` (`monthly_income_id` ASC) VISIBLE, INDEX `fk_users_monthly_income_user_id_idx` (`user_id` ASC) VISIBLE, CONSTRAINT `fk_users_monthly_income_user_id` FOREIGN KEY (`user_id`) REFERENCES `fusion`.`users` (`user_id`) ON DELETE RESTRICT ON UPDATE CASCADE, CONSTRAINT `fk_users_monthly_income_monthly_income` FOREIGN KEY (`monthly_income_id`) REFERENCES `fusion`.`monthly_income` (`monthly_income_id`) ON DELETE RESTRICT ON UPDATE CASCADE) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`account_types` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`account_types` ( `account_types_id` INT NOT NULL AUTO_INCREMENT, `description` VARCHAR(45) NOT NULL, PRIMARY KEY (`account_types_id`)) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`accounts` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`accounts` ( `account_id` INT NOT NULL AUTO_INCREMENT, `bank` VARCHAR(45) NOT NULL, `account_type` INT NOT NULL, `balance` DECIMAL(10,2) NOT NULL, `timestamp` DATETIME NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`account_id`), INDEX `fk_accounts_account_type_idx` (`account_type` ASC) VISIBLE, CONSTRAINT `fk_accounts_account_type` FOREIGN KEY (`account_type`) REFERENCES `fusion`.`account_types` (`account_types_id`) ON DELETE RESTRICT ON UPDATE CASCADE) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`users_accounts` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`users_accounts` ( `users_accounts_id` INT NOT NULL AUTO_INCREMENT, `user_id` INT NOT NULL, `account_id` INT NOT NULL, PRIMARY KEY (`users_accounts_id`), INDEX `fk_users_accounts_user_id_idx` (`user_id` ASC) VISIBLE, INDEX `fk_users_accounts_account_id_idx` (`account_id` ASC) VISIBLE, CONSTRAINT `fk_users_accounts_user_id` FOREIGN KEY (`user_id`) REFERENCES `fusion`.`users` (`user_id`) ON DELETE RESTRICT ON UPDATE CASCADE, CONSTRAINT `fk_users_accounts_account_id` FOREIGN KEY (`account_id`) REFERENCES `fusion`.`accounts` (`account_id`) ON DELETE RESTRICT ON UPDATE CASCADE) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`debt` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`debt` ( `debt_id` INT NOT NULL AUTO_INCREMENT, `lender` VARCHAR(45) NOT NULL, `total_owed` DECIMAL(10,2) NOT NULL, `total_borrowed` DECIMAL(10,2) NOT NULL, `day_of_month_paid` INT NOT NULL, `interest_rate` DECIMAL(10,2) NOT NULL, `date_borrowed` DATETIME NOT NULL, `intial_term_months` INT NOT NULL, `timestamp` DATETIME NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`debt_id`)) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`users_debt` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`users_debt` ( `users_debt_id` INT NOT NULL AUTO_INCREMENT, `user_id` INT NOT NULL, `debt_id` INT NOT NULL, PRIMARY KEY (`users_debt_id`), INDEX `fk_users_debt_user_id_idx` (`user_id` ASC) VISIBLE, INDEX `fk_users_debt_debt_id_idx` (`debt_id` ASC) VISIBLE, CONSTRAINT `fk_users_debt_user_id` FOREIGN KEY (`user_id`) REFERENCES `fusion`.`users` (`user_id`) ON DELETE RESTRICT ON UPDATE CASCADE, CONSTRAINT `fk_users_debt_debt_id` FOREIGN KEY (`debt_id`) REFERENCES `fusion`.`debt` (`debt_id`) ON DELETE RESTRICT ON UPDATE CASCADE) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`debt_accounts` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`debt_accounts` ( `debt_account_id` INT NOT NULL AUTO_INCREMENT, `account_id` INT NOT NULL, `debt_id` INT NOT NULL, PRIMARY KEY (`debt_account_id`), INDEX `fk_debt_debt_id_idx` (`debt_id` ASC) VISIBLE, INDEX `fk_debt_accounts_account_id_idx` (`account_id` ASC) VISIBLE, CONSTRAINT `fk_debt_accounts_debt_id` FOREIGN KEY (`debt_id`) REFERENCES `fusion`.`debt` (`debt_id`) ON DELETE RESTRICT ON UPDATE CASCADE, CONSTRAINT `fk_debt_accounts_account_id` FOREIGN KEY (`account_id`) REFERENCES `fusion`.`accounts` (`account_id`) ON DELETE RESTRICT ON UPDATE CASCADE) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`weekly_expenses` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`weekly_expenses` ( `weekly_expense_id` INT NOT NULL AUTO_INCREMENT, `name` VARCHAR(45) NOT NULL, `amount` DECIMAL(10,2) NOT NULL, `times_per_week` INT NOT NULL, `weekly_interval` INT NOT NULL, PRIMARY KEY (`weekly_expense_id`)) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`expense_category` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`expense_category` ( `expense_category_id` INT NOT NULL AUTO_INCREMENT, `category_name` VARCHAR(45) NOT NULL, PRIMARY KEY (`expense_category_id`)) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`weekly_expenses_expense_category` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`weekly_expenses_expense_category` ( `weekly_expenses_expense_category_id` INT NOT NULL AUTO_INCREMENT, `weekly_expense_id` INT NOT NULL, `expense_category_id` INT NOT NULL, PRIMARY KEY (`weekly_expenses_expense_category_id`), INDEX `fk_weekly_expenses_expense_category_weekly_expense_id_idx` (`weekly_expense_id` ASC) VISIBLE, INDEX `fk_weekly_expenses_expense_category_weekly_expense_category_idx` (`expense_category_id` ASC) VISIBLE, CONSTRAINT `fk_weekly_expenses_expense_category_weekly_expense_id` FOREIGN KEY (`weekly_expense_id`) REFERENCES `fusion`.`weekly_expenses` (`weekly_expense_id`) ON DELETE RESTRICT ON UPDATE CASCADE, CONSTRAINT `fk_weekly_expenses_expense_category_weekly_expense_category_id` FOREIGN KEY (`expense_category_id`) REFERENCES `fusion`.`expense_category` (`expense_category_id`) ON DELETE RESTRICT ON UPDATE CASCADE) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`monthly_expenses` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`monthly_expenses` ( `monthly_expense_id` INT NOT NULL AUTO_INCREMENT, `name` VARCHAR(45) NOT NULL, `amount` DECIMAL(10,2) NOT NULL, PRIMARY KEY (`monthly_expense_id`)) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`monthly_expenses_expense_category` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`monthly_expenses_expense_category` ( `monthly_expenses_expense_category_id` INT NOT NULL AUTO_INCREMENT, `monthly_expense_id` INT NOT NULL, `expense_category_id` INT NOT NULL, PRIMARY KEY (`monthly_expenses_expense_category_id`), INDEX `fk_monthly_expenses_expense_category_monthly_expense_id_idx` (`monthly_expense_id` ASC) VISIBLE, INDEX `fk_monthly_expenses_expense_category_expense_category_id_idx` (`expense_category_id` ASC) VISIBLE, CONSTRAINT `fk_monthly_expenses_expense_category_monthly_expense_id` FOREIGN KEY (`monthly_expense_id`) REFERENCES `fusion`.`monthly_expenses` (`monthly_expense_id`) ON DELETE RESTRICT ON UPDATE CASCADE, CONSTRAINT `fk_monthly_expenses_expense_category_expense_category_id` FOREIGN KEY (`expense_category_id`) REFERENCES `fusion`.`expense_category` (`expense_category_id`) ON DELETE RESTRICT ON UPDATE CASCADE) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`weekly_expenses_accounts` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`weekly_expenses_accounts` ( `weekly_expenses_accounts_id` INT NOT NULL AUTO_INCREMENT, `weekly_expense_id` INT NOT NULL, `account_id` INT NOT NULL, PRIMARY KEY (`weekly_expenses_accounts_id`), INDEX `fk_weekly_expenses_accounts_weekly_expense_id_idx` (`weekly_expense_id` ASC) VISIBLE, INDEX `fkweekly_expenses_accounts_account_id_idx` (`account_id` ASC) VISIBLE, CONSTRAINT `fk_weekly_expenses_accounts_weekly_expense_id` FOREIGN KEY (`weekly_expense_id`) REFERENCES `fusion`.`weekly_expenses` (`weekly_expense_id`) ON DELETE RESTRICT ON UPDATE CASCADE, CONSTRAINT `fkweekly_expenses_accounts_account_id` FOREIGN KEY (`account_id`) REFERENCES `fusion`.`accounts` (`account_id`) ON DELETE RESTRICT ON UPDATE CASCADE) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`monthly_expenses_accounts` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`monthly_expenses_accounts` ( `monthly_expenses_accounts_id` INT NOT NULL AUTO_INCREMENT, `monthly_expense_id` INT NOT NULL, `account_id` INT NOT NULL, PRIMARY KEY (`monthly_expenses_accounts_id`), INDEX `fk_monthly_expenses_accounts_monthly_expense_id_idx` (`monthly_expense_id` ASC) VISIBLE, INDEX `fkmonthly_expenses_accounts_account_id_idx` (`account_id` ASC) VISIBLE, CONSTRAINT `fk_monthly_expenses_accounts_monthly_expense_id` FOREIGN KEY (`monthly_expense_id`) REFERENCES `fusion`.`monthly_expenses` (`monthly_expense_id`) ON DELETE RESTRICT ON UPDATE CASCADE, CONSTRAINT `fkmonthly_expenses_accounts_account_id` FOREIGN KEY (`account_id`) REFERENCES `fusion`.`accounts` (`account_id`) ON DELETE RESTRICT ON UPDATE CASCADE) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`users_weekly_expenses` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`users_weekly_expenses` ( `users_weekly_expenses_id` INT NOT NULL AUTO_INCREMENT, `user_id` INT NOT NULL, `weekly_expense_id` INT NOT NULL, PRIMARY KEY (`users_weekly_expenses_id`), INDEX `fk_users_weekly_expenses_user_id_idx` (`user_id` ASC) VISIBLE, INDEX `fk_users_weekly_expenses_weekly_expense_id_idx` (`weekly_expense_id` ASC) VISIBLE, CONSTRAINT `fk_users_weekly_expenses_user_id` FOREIGN KEY (`user_id`) REFERENCES `fusion`.`users` (`user_id`) ON DELETE RESTRICT ON UPDATE CASCADE, CONSTRAINT `fk_users_weekly_expenses_weekly_expense_id` FOREIGN KEY (`weekly_expense_id`) REFERENCES `fusion`.`weekly_expenses` (`weekly_expense_id`) ON DELETE RESTRICT ON UPDATE CASCADE) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`users_monthly_expenses` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`users_monthly_expenses` ( `users_monthly_expenses_id` INT NOT NULL AUTO_INCREMENT, `user_id` INT NOT NULL, `monthly_expense_id` INT NOT NULL, PRIMARY KEY (`users_monthly_expenses_id`), INDEX `fk_users_monthly_expenses_user_id_idx` (`user_id` ASC) VISIBLE, INDEX `fk_users_monthly_expenses_monthly_expense_id_idx` (`monthly_expense_id` ASC) VISIBLE, CONSTRAINT `fk_users_monthly_expenses_user_id` FOREIGN KEY (`user_id`) REFERENCES `fusion`.`users` (`user_id`) ON DELETE RESTRICT ON UPDATE CASCADE, CONSTRAINT `fk_users_monthly_expenses_monthly_expense_id` FOREIGN KEY (`monthly_expense_id`) REFERENCES `fusion`.`monthly_expenses` (`monthly_expense_id`) ON DELETE RESTRICT ON UPDATE CASCADE) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`goals` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`goals` ( `goal_id` INT NOT NULL AUTO_INCREMENT, `name` VARCHAR(45) NOT NULL, `target` DECIMAL(10,2) NOT NULL, `acheived` DECIMAL(10,2) NOT NULL, `current_contribution` DECIMAL(10,2) NOT NULL, `contribute_weekly_monthly` TINYINT NOT NULL, PRIMARY KEY (`goal_id`)) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`users_goals` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`users_goals` ( `users_goals_id` INT NOT NULL AUTO_INCREMENT, `user_id` INT NOT NULL, `goal_id` INT NOT NULL, PRIMARY KEY (`users_goals_id`), INDEX `fk_users_goals_user_id_idx` (`user_id` ASC) VISIBLE, INDEX `fk_users_goals_goal_id_idx` (`goal_id` ASC) VISIBLE, CONSTRAINT `fk_users_goals_user_id` FOREIGN KEY (`user_id`) REFERENCES `fusion`.`users` (`user_id`) ON DELETE RESTRICT ON UPDATE CASCADE, CONSTRAINT `fk_users_goals_goal_id` FOREIGN KEY (`goal_id`) REFERENCES `fusion`.`goals` (`goal_id`) ON DELETE RESTRICT ON UPDATE CASCADE) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`goals_accounts` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`goals_accounts` ( `goals_accounts_id` INT NOT NULL AUTO_INCREMENT, `goal_id` INT NOT NULL, `account_id` INT NOT NULL, PRIMARY KEY (`goals_accounts_id`), INDEX `fk_goals_accounts_goal_id_idx` (`goal_id` ASC) VISIBLE, INDEX `fk_goals_accounts_account_id_idx` (`account_id` ASC) VISIBLE, CONSTRAINT `fk_goals_accounts_goal_id` FOREIGN KEY (`goal_id`) REFERENCES `fusion`.`goals` (`goal_id`) ON DELETE RESTRICT ON UPDATE CASCADE, CONSTRAINT `fk_goals_accounts_account_id` FOREIGN KEY (`account_id`) REFERENCES `fusion`.`accounts` (`account_id`) ON DELETE RESTRICT ON UPDATE CASCADE) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`income_accounts` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`income_accounts` ( `income_accounts_id` INT NOT NULL AUTO_INCREMENT, `income_id` INT NOT NULL, `account_id` INT NOT NULL, PRIMARY KEY (`income_accounts_id`), INDEX `fk_income_accounts_income_id_idx` (`income_id` ASC) VISIBLE, INDEX `fk_income_accounts_account_id_idx` (`account_id` ASC) VISIBLE, CONSTRAINT `fk_income_accounts_income_id` FOREIGN KEY (`income_id`) REFERENCES `fusion`.`income` (`income_id`) ON DELETE RESTRICT ON UPDATE CASCADE, CONSTRAINT `fk_income_accounts_account_id` FOREIGN KEY (`account_id`) REFERENCES `fusion`.`accounts` (`account_id`) ON DELETE NO ACTION ON UPDATE CASCADE) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `fusion`.`monthly_income_accounts` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `fusion`.`monthly_income_accounts` ( `monthly_income_accounts_id` INT NOT NULL AUTO_INCREMENT, `monthly_income_id` INT NOT NULL, `account_id` INT NOT NULL, PRIMARY KEY (`monthly_income_accounts_id`), INDEX `fk_monthly_income_accounts_monthly_income_id_idx` (`monthly_income_id` ASC) VISIBLE, INDEX `fk_monthly_income_accounts_account_id_idx` (`account_id` ASC) VISIBLE, CONSTRAINT `fk_monthly_income_accounts_monthly_income_id` FOREIGN KEY (`monthly_income_id`) REFERENCES `fusion`.`monthly_income` (`monthly_income_id`) ON DELETE RESTRICT ON UPDATE CASCADE, CONSTRAINT `fk_monthly_income_accounts_account_id` FOREIGN KEY (`account_id`) REFERENCES `fusion`.`accounts` (`account_id`) ON DELETE NO ACTION ON UPDATE CASCADE) ENGINE = InnoDB; SET SQL_MODE=@OLD_SQL_MODE; SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS; SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;
# Old category ID: 5 # New post type: 'grant' UPDATE wp_posts AS p INNER JOIN wp_term_relationships AS tr ON p.ID = tr.object_id INNER JOIN wp_term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id INNER JOIN wp_terms AS t ON t.term_id = tt.term_id SET p.post_type = 'grant' WHERE tt.taxonomy = 'category' AND t.term_id = 5; # Remove categories from posts DELETE FROM wp_term_relationships WHERE object_id IN ( SELECT ID FROM wp_posts WHERE post_type = 'grant' ) AND term_taxonomy_id IN ( SELECT term_taxonomy_id FROM wp_term_taxonomy WHERE taxonomy = 'category' )
<gh_stars>1-10 /* use tempdb go --This VIEW should be created as soon as TEMPDB is flushed and created again after SQL restart CREATE VIEW all_task_usage AS SELECT session_id, SUM(internal_objects_alloc_page_count) AS task_internal_objects_alloc_page_count, SUM(internal_objects_dealloc_page_count) AS task_internal_objects_dealloc_page_count FROM tempdb.sys.dm_db_task_space_usage GROUP BY session_id; GO CREATE VIEW all_request_usage AS SELECT session_id, request_id, SUM(internal_objects_alloc_page_count) AS request_internal_objects_alloc_page_count, SUM(internal_objects_dealloc_page_count)AS request_internal_objects_dealloc_page_count FROM sys.dm_db_task_space_usage GROUP BY session_id, request_id; GO ----This VIEW should be created as soon as TEMPDB is flushed and created again after SQL restart CREATE VIEW all_query_usage AS SELECT R1.session_id, R1.request_id, R1.request_internal_objects_alloc_page_count, R1.request_internal_objects_dealloc_page_count, R2.sql_handle, R2.statement_start_offset, R2.statement_end_offset, R2.plan_handle FROM all_request_usage R1 INNER JOIN sys.dm_exec_requests R2 ON R1.session_id = R2.session_id and R1.request_id = R2.request_id; GO */ -------------- Create above in TempDB database ------------------- /* create database tempdb_db go */ --To identify what is using the space in file use tempdb go SELECT GETDATE() as CURRENTDATE,* INTO tempdb_db..tbl_dm_db_file_space_usage from sys.dm_db_file_space_usage where 1=2 go --To identify session using space SELECT GETDATE() as CURRENTDATE,* INTO tempdb_db..tbl_dm_db_task_space_usage from sys.dm_db_task_space_usage where 1=2 go --The following query returns the total number of free pages and total free space in megabytes (MB) available in all files in tempdb. SELECT GETDATE() as CURRENTDATE,SUM(unallocated_extent_page_count) AS [free pages], (SUM(unallocated_extent_page_count)*1.0/128) AS [free space in MB] into tempdb_db..tbl_dm_db_file_space_usage_iden_totalfreepages FROM sys.dm_db_file_space_usage where 1=2 go --The following query returns the total number of pages used by the VERSION STORE and the total space in MB used by the version store in tempdb. SELECT GETDATE() as CURRENTDATE,SUM(version_store_reserved_page_count) AS [version store pages used], (SUM(version_store_reserved_page_count)*1.0/128) AS [version store space in MB] into tempdb_db..tbl_dm_db_file_space_usage_iden_versionstore FROM sys.dm_db_file_space_usage where 1=2 go --If the version store is using a lot of space in tempdb, you must determine what is the longest running transaction. Use this query to list the active transactions in order, by longest running transaction. SELECT GETDATE() as CURRENTDATE,transaction_id into tempdb_db..tbl_dm_tran_active_snapshot_database_transactions_iden_longrunning FROM sys.dm_tran_active_snapshot_database_transactions where 1=2 ORDER BY elapsed_time_seconds DESC go --The following query returns the total number of pages used by INTERNAL OBJECTS and the total space in MB used by internal objects in tempdb. SELECT GETDATE() as CURRENTDATE,SUM(internal_object_reserved_page_count) AS [internal object pages used], (SUM(internal_object_reserved_page_count)*1.0/128) AS [internal object space in MB] into tempdb_db..tbl_dm_db_file_space_usage_iden_internalobjects FROM sys.dm_db_file_space_usage where 1=2 go --The following query returns the total number of pages used by USER OBJECTS and the total space used by user objects in tempdb. SELECT GETDATE() as CURRENTDATE,SUM(user_object_reserved_page_count) AS [user object pages used], (SUM(user_object_reserved_page_count)*1.0/128) AS [user object space in MB] into tempdb_db..tbl_dm_db_file_space_usage_iden_userobjects FROM sys.dm_db_file_space_usage where 1=2 go --The following query returns the total amount of disk space used by all files in tempdb. SELECT GETDATE() as CURRENTDATE,SUM(size)*1.0/128 AS [size in MB] into tempdb_db..tbl_database_files FROM tempdb.sys.database_files where 1=2 go --When queried, it returns the space used by all internal objects running and completed tasks in tempdb. SELECT GETDATE() as CURRENTDATE,R1.session_id, R1.internal_objects_alloc_page_count + R2.task_internal_objects_alloc_page_count AS session_internal_objects_alloc_page_count, R1.internal_objects_dealloc_page_count + R2.task_internal_objects_dealloc_page_count AS session_internal_objects_dealloc_page_count into tempdb_db..tbl_dm_db_session_space_usage_usingView FROM sys.dm_db_session_space_usage AS R1 INNER JOIN all_task_usage AS R2 ON R1.session_id = R2.session_id where 1=2 GO --to obtain the query text: SELECT GETDATE() as CURRENTDATE,R1.sql_handle, R2.text into tempdb_db..tbl_all_query_usage_usingview FROM all_query_usage AS R1 OUTER APPLY sys.dm_exec_sql_text(R1.sql_handle) AS R2 where 1=2 go --plan handle and XML plan SELECT GETDATE() as CURRENTDATE,R1.plan_handle, R2.query_plan into tempdb_db..tbl_all_query_usage__usingview FROM all_query_usage AS R1 OUTER APPLY sys.dm_exec_query_plan(R1.plan_handle) AS R2 where 1=2 go SELECT GETDATE()as CURRENTDATE, * into tempdb_db..tbl_sysprocesses from master..sysprocesses where 1=2 go select GETDATE()as CURRENTDATE, * into tempdb_db..tbl_dm_exec_requests from sys.dm_exec_requests where 1=2 go select GETDATE()as CURRENTDATE, * into tempdb_db..tbl_dm_exec_sessions from sys.dm_exec_sessions where 1=2 go CREATE TABLE tempdb_db.[dbo].[sp_who4_output]( CURRENTDATE [datetime] NOT NULL, [session_id] [smallint] NOT NULL, [status] [nvarchar](30) NOT NULL, [BlockedBy] [smallint] NULL, [wait_type] [nvarchar](60) NULL, [wait_resource] [nvarchar](256) NOT NULL, [Wait_sec] [numeric](17, 6) NULL, [cpu_time] [int] NOT NULL, [logical_reads] [bigint] NOT NULL, [reads] [bigint] NOT NULL, [writes] [bigint] NOT NULL, [Elaps_Sec] [numeric](17, 6) NULL, [statement_text] [nvarchar](max) NULL, [command_text] [nvarchar](776) NULL, [command] [nvarchar](16) NOT NULL, [login_name] [nvarchar](128) NOT NULL, [host_name] [nvarchar](128) NULL, [program_name] [nvarchar](128) NULL, [last_request_end_time] [datetime] NULL, [login_time] [datetime] NOT NULL, [open_transaction_count] [int] NOT NULL ) ON [PRIMARY] GO
<reponame>GiveCampUK/GiveCRM<gh_stars>10-100 CREATE TABLE [dbo].[Donation] ( ID int identity(1,1) NOT NULL, MemberID int NOT NULL, [Date] date NOT NULL, Amount decimal(18,4) NOT NULL, CampaignID int NULL )
<gh_stars>1-10 -- DropIndex DROP INDEX "Component_fileId_key";
-- file:create_index.sql ln:15 expect:true CREATE INDEX onek_unique2 ON onek USING btree(unique2 int4_ops)
<reponame>Tovli/MadeiraToolbox USE [DB_DBA] GO IF SCHEMA_ID('Perfmon') IS NULL BEGIN DECLARE @Command NVARCHAR(MAX) = N'CREATE SCHEMA [Report]'; EXEC (@Command); END; GO -- ============================================= -- Author: <NAME> -- Create date: 11-11-2014 -- Description: the procedure evaluates Dynamic alerts -- ============================================= CREATE PROCEDURE [Perfmon].[usp_AlertEvaluation] @HTMLTable NVARCHAR(MAX) OUTPUT, @DebugMode BIT = 0, @LastNMinutes INT, --Last N minutes to test @CounterId INT, @Threshold INT, @ConditionId TINYINT, @OperatorId TINYINT, @Header NVARCHAR(200) AS BEGIN BEGIN TRY -----------------------------Create the result table----------------------------- IF OBJECT_ID ('tempdb..#Evaluation') IS NOT NULL BEGIN DROP TABLE #Evaluation RAISERROR('the #Evaluation table already exist',0,0) WITH NOWAIT; END CREATE TABLE #Evaluation ( [Start Date Time] DATETIME, [End Date Time] DATETIME, [Counter Name] NVARCHAR(4000), [Max Counter Value] DECIMAL(23,2), [Min Counter Value] DECIMAL(23,2), [AVG Counter Value] DECIMAL(23,2) ) --------------------------------------------------------------------------------- ------------------Generate the Insert command for all databases------------------ DECLARE @Command NVARCHAR(MAX) SELECT @Command = N'INSERT INTO #Evaluation ([Start Date Time],[End Date Time],[Counter Name],[Max Counter Value],[Min Counter Value],[AVG Counter Value])' +CHAR(10)+ N'SELECT ' +CHAR(10)+ N' [Start Date Time] = MIN([StartDateTime]),' +CHAR(10)+ N' [End Date Time] = MAX([StartDateTime]),' +CHAR(10)+ N' [Counter Name] = A.[CounterFullName],' +CHAR(10)+ N' [Max Counter Value] = CAST(MAX([CounterValue]) AS DECIMAL(23,2)),' +CHAR(10)+ N' [Min Counter Value] = CAST(MIN([CounterValue]) AS DECIMAL(23,2)),' +CHAR(10)+ N' [AVG Counter Value] = CAST(AVG([CounterValue]) AS DECIMAL(23,2))' +CHAR(10)+ N'FROM [Perfmon].[CounterCollector]' +CHAR(10)+ N'JOIN [Perfmon].[CounterCollectorProcesses] ON [CounterCollectorProcesses].[Id] = [CounterCollector].[ProcesseId]' +CHAR(10)+ N'JOIN [Perfmon].[Counters] ON [Counters].[Id] = [CounterCollector].[CounterId]' +CHAR(10)+ N'CROSS APPLY (SELECT [CounterFullName] = [Counters].[DisplayName]+CASE WHEN [Counters].[InstanceName] = N'''' OR [Counters].[InstanceName] IS NULL THEN N'''' ELSE N''(''+[Counters].[InstanceName]+N'')'' END) A' +CHAR(10)+ N'WHERE [CounterCollectorProcesses].[StartDateTime] > DATEADD(MINUTE,-1*@LastNMinutes,SYSDATETIME()) ' +CHAR(10)+ N' AND [CounterCollector].[CounterId] = @CounterId' +CHAR(10)+ N'GROUP BY [CounterCollector].[CounterId],A.[CounterFullName]' +CHAR(10)+ N'HAVING '+REPLACE([Conditions].[definition],N'$#@Expression$#@',N'[CounterValue]') + REPLACE([Operators].[definition],N'$#@[value]$#@',CAST(@Threshold AS NVARCHAR(10))) +CHAR(10) FROM [Perfmon].[Operators] CROSS JOIN [Perfmon].[Conditions] WHERE [Operators].[Id] = @OperatorId AND [Conditions].[Id] = @ConditionId IF @DebugMode = 1 SELECT @Command --------------------------------------------------------------------------------- ---------------------------------Execute command--------------------------------- EXEC SP_EXECUTESQL @Command,N'@LastNMinutes INT, @CounterId INT',@LastNMinutes=@LastNMinutes,@CounterId=@CounterId --------------------------------------------------------------------------------- ----------------------------------Return results--------------------------------- SELECT [Start Date Time],[End Date Time],[Counter Name],[Max Counter Value],[Min Counter Value],[AVG Counter Value] FROM #Evaluation --------------------------------------------------------------------------------- ----------------------------------Generate HTML---------------------------------- EXEC[dbo].[usp_GenerateHTMLFromTable] @tableName =N'#Evaluation', @Header = @Header, @HTML = @HTMLTable OUTPUT, @DebugMode = 0 --------------------------------------------------------------------------------- DROP TABLE #Evaluation END TRY BEGIN CATCH IF @@TRANCOUNT > 1 ROLLBACK; IF OBJECT_ID ('tempdb..#Evaluation') IS NOT NULL BEGIN DROP TABLE #Evaluation; END; DECLARE @ErrorMessage NVARCHAR(4000); DECLARE @ErrorSeverity INT; DECLARE @ErrorState INT; SELECT @ErrorMessage = ERROR_MESSAGE(), @ErrorSeverity = ERROR_SEVERITY(), @ErrorState = ERROR_STATE(); RAISERROR (@ErrorMessage,@ErrorSeverity, @ErrorState ); END CATCH END
CREATE PROCEDURE [dbo].[BugNet_Issue_UpdateLastUpdated] @IssueId Int, @LastUpdateUserName NVARCHAR(255) AS SET NOCOUNT ON DECLARE @LastUpdateUserId UNIQUEIDENTIFIER SELECT @LastUpdateUserId = UserId FROM Users WHERE UserName = @LastUpdateUserName BEGIN TRAN UPDATE BugNet_Issues SET LastUpdateUserId = @LastUpdateUserId, LastUpdate = GetDate() WHERE IssueId = @IssueId COMMIT TRAN
<gh_stars>0 CREATE VIEW [dbo].[vw_Kiroku_Log] AS SELECT [dt_event] AS [Timestamp] ,a.[nvc_blockname] AS [Block] ,[nvc_logtype] AS [Log Type] ,[nvc_logdata] AS [Log Data] ,c.[ui_applicationid] AS [Application] FROM [tbl_Kiroku_KLogs] a LEFT OUTER JOIN [tbl_Kiroku_KBlocks] b ON a.[ui_blockid] = b.[ui_blockid] LEFT OUTER JOIN [tbl_Kiroku_KInstances] c ON b.[ui_instanceid] = c.[ui_instanceid] WHERE a.[nvc_logtype] != 'Info'
<reponame>vskurikhin/daybook /* * This file was last modified at 2020.07.09 14:59 by <NAME>. * This is free and unencumbered software released into the public domain. * For more information, please refer to <http://unlicense.org> * changelogs-2020-04-15-db-999.db_record.postgresql.sql * $Id$ */ UPDATE db.db_record SET type = 'ArticleJdo' WHERE type = 'ArticleFullDto'; UPDATE db.db_record SET type = 'NewsEntryJdo' WHERE type = 'NewsEntryFullDto';
CREATE TABLE IF NOT EXISTS book ( aggregate_id uuid PRIMARY KEY, title text, price text, isbn text, publisher text );
<reponame>anubra266/codebase --! Previous: sha1:76e4653c56f8f3df86637ca87a9eec157114b0d1 --! Hash: sha1:d77754facf8a367b9e34eb82b9f8644f609a12ed -- Enter migration here ALTER TABLE question ALTER COLUMN help_text TYPE json USING help_text::json; ALTER TABLE matter_template DROP CONSTRAINT IF EXISTS matter_template_category_check; ALTER TABLE matter_template ADD CONSTRAINT matter_template_category_check CHECK ( category IN ( 'data-deletion', 'inmate-letter', 'litigation', 'estate', 'bar-prep', 'business' ) );
================================================================================ CREATE USER newuser if not exists WITH PASSWORD 'password'; ================================================================================ CREATE USER newuser if not exists WITH PASSWORD 'password'; -------------------------------------------------------------------------------- (source_file (ERROR (ERROR (user_name)) (user_name))) ================================================================================ CREATE USER newuser WITH PASSWORD 'password' superuser; ================================================================================ CREATE USER newuser WITH PASSWORD 'password' superuser; -------------------------------------------------------------------------------- (source_file (create_user (user_name) (user_with (user_password) (user_super_user)))) ================================================================================ CREATE USER newuser WITH PASSWORD 'password' nosuperuser; ================================================================================ CREATE USER newuser WITH PASSWORD 'password' nosuperuser; -------------------------------------------------------------------------------- (source_file (create_user (user_name) (user_with (user_password) (user_super_user))))
CREATE TABLE t1 (c1 integer primary key, c2 integer not null, c3 integer not null, c4 integer not null, c5 integer not null, c6 integer not null, unique (c2), constraint key_c3 unique (c3), foreign key (c4) references t3, grouping foreign key (c2) references t2 (c1), constraint fk_c5 foreign key (c5) references other.t5, constraint fk_c6 grouping foreign key (c6) references t6)
<gh_stars>0 ALTER TABLE `yjshop`.`yj_comment` CHANGE COLUMN `user_id` `member_id` int(11) NOT NULL DEFAULT 0, CHANGE COLUMN `user_ip` `user_ip` varchar(20) COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '用户ip' AFTER `member_id`, CHANGE COLUMN `entity` `entity` varchar(80) COLLATE utf8_general_ci NOT NULL, CHANGE COLUMN `content` `content` text COLLATE utf8_general_ci NOT NULL COMMENT '内容', CHANGE COLUMN `reply_uid` `reply_member_id` int(11) NULL DEFAULT 0 COMMENT '被回复的用户id,即回复的贴主id', ADD COLUMN `user_id` int(11) NULL DEFAULT NULL COMMENT '后台管理员id', COLLATE utf8_general_ci; ALTER TABLE `yjshop`.`yj_product_comment` CHANGE COLUMN `service_stars` `service_stars` int(11) NULL DEFAULT 5 COMMENT '服务评分'; ALTER TABLE `yjshop`.`yj_product_comment` CHANGE COLUMN `delivery_stars` `delivery_stars` int(11) NULL DEFAULT 5 COMMENT '物流评分'; ALTER TABLE `yjshop`.`yj_product_comment` CHANGE COLUMN `des_stars` `des_stars` int(11) NULL DEFAULT 5 COMMENT '描述相符'; ALTER TABLE `yjshop`.`yj_product_comment` CHANGE COLUMN `total_stars` `total_stars` int(11) NULL DEFAULT 5 COMMENT '总评'; ALTER TABLE `yjshop`.`yj_product` ADD COLUMN `prom_type` tinyint(3) NULL DEFAULT NULL COMMENT '0默认1抢购2团购3优惠促销4预售5虚拟(5其实没用)6拼团' AFTER `author`, ADD COLUMN `prom_id` int(11) NULL DEFAULT NULL; ALTER TABLE `yjshop`.`yj_flash_sale` ADD COLUMN `version` bigint(20) NULL DEFAULT 0 COMMENT '版本号'; ALTER TABLE `yj_order` DROP COLUMN `promotion_price`, CHANGE COLUMN `sku_price` `sku_price` DECIMAL(10,2) NOT NULL COMMENT '商品市场总价单位' , CHANGE COLUMN `sku_price_real` `sku_price_real` DECIMAL(10,2) NOT NULL COMMENT '商品销售价格单位' , CHANGE COLUMN `delivery_price` `delivery_price` DECIMAL(10,2) NOT NULL COMMENT '物流原价单位' , CHANGE COLUMN `delivery_price_real` `delivery_price_real` DECIMAL(10,2) NOT NULL COMMENT '物流支付价格单位' , CHANGE COLUMN `discount_price` `discount_price` DECIMAL(10,2) NOT NULL COMMENT '改价金额单位' , CHANGE COLUMN `order_price` `order_price` DECIMAL(10,2) NOT NULL COMMENT '订单总金额单位' ; ALTER TABLE `yj_order` ADD COLUMN `pay_amount` DECIMAL(10,2) NOT NULL COMMENT '应付总价,订单总价+邮费价格+改价金额+活动减价+积分抵扣' AFTER `order_price`, ADD COLUMN `integral` INT NULL COMMENT '使用积分' AFTER `paytime`, ADD COLUMN `integral_money` DECIMAL(10,2) NULL COMMENT '积分抵扣金额' AFTER `integral`, ADD COLUMN `prom_id` INT NULL COMMENT '活动id' AFTER `update_time`, ADD COLUMN `prom_type` TINYINT(2) NULL COMMENT '订单类型:0普通订单4预售订单5虚拟订单6拼团订单' AFTER `prom_id`, ADD COLUMN `order_prom_id` INT NULL COMMENT '订单活动(如满减活动)' AFTER `prom_type`, ADD COLUMN `order_prom_money` DECIMAL(10,2) NULL COMMENT '订单活动扣除金额' AFTER `order_prom_id`, ADD COLUMN `invoice_title` VARCHAR(145) NULL COMMENT '发票抬头' AFTER `is_del`, ADD COLUMN `taxpayer` VARCHAR(45) NULL COMMENT '税务识别号' AFTER `invoice_title`, ADD COLUMN `is_distribut` TINYINT(1) NULL COMMENT '是否已分成' AFTER `taxpayer`, ADD COLUMN `paid_money` DECIMAL(10,2) NULL COMMENT '订金' AFTER `is_distribut`; ALTER TABLE `yj_order` CHANGE COLUMN `coupons_id` `coupons_id` INT(11) NULL COMMENT '优惠券id', CHANGE COLUMN `coupons_price` `coupons_price` DECIMAL(10,2) NULL COMMENT '优惠券金额' AFTER `coupons_id`, CHANGE COLUMN `order_prom_id` `order_prom_id` INT(11) NULL DEFAULT NULL COMMENT '订单活动(如满减活动)' AFTER `coupons_price`, CHANGE COLUMN `order_prom_money` `order_prom_money` DECIMAL(10,2) NULL DEFAULT NULL COMMENT '订单活动扣除金额' AFTER `order_prom_id`, CHANGE COLUMN `integral` `integral` INT(11) NULL DEFAULT NULL COMMENT '使用积分' AFTER `order_prom_money`, CHANGE COLUMN `integral_money` `integral_money` DECIMAL(10,2) NULL DEFAULT NULL COMMENT '积分抵扣金额' AFTER `integral`, /*CHANGE COLUMN `prom_id` `prom_id` INT(11) NULL DEFAULT NULL COMMENT '活动id' AFTER `taxpayer`, CHANGE COLUMN `prom_type` `prom_type` TINYINT(2) NULL DEFAULT NULL COMMENT '订单类型:0普通订单4预售订单5虚拟订单6拼团订单' AFTER `prom_id`,*/ CHANGE COLUMN `pay_amount` `pay_amount` DECIMAL(10,2) NOT NULL COMMENT '应付总价,订单总价order_price+邮费价格deliver_price+改价金额+活动减价+积分抵扣-用户使用余额' , ADD COLUMN `payment_name` VARCHAR(45) NULL COMMENT '支付方式名称' AFTER `payment_id`, ADD COLUMN `delivery_name` VARCHAR(45) NULL COMMENT '快递名称' AFTER `delivery_id`, ADD COLUMN `user_money` DECIMAL(10,2) NULL COMMENT '用户使用余额' AFTER `integral_money`, ADD COLUMN `parent_sn` VARCHAR(80) NULL COMMENT '父单单号' AFTER `update_time`; ALTER TABLE `yj_member` CHANGE COLUMN `oauth_id` `oauth_id` VARCHAR(128) NOT NULL COMMENT '第三方平台授权id' , ADD COLUMN `mobile_validated` TINYINT(2) NULL DEFAULT 0 COMMENT '手机是否验证' AFTER `mobile`, ADD COLUMN `email_validated` INT NULL DEFAULT 0 COMMENT '邮箱验证' AFTER `email`, ADD COLUMN `pay_pwd` VARCHAR(250) NULL COMMENT '支付密码' AFTER `flag`, ADD COLUMN `user_money` DECIMAL(10,2) NULL COMMENT '用户余额' AFTER `pay_pwd`, ADD COLUMN `frozen_money` DECIMAL(10,2) NULL COMMENT '冻结资金' AFTER `user_money`, ADD COLUMN `distribut_money` DECIMAL(10,2) NULL COMMENT '累积分佣金额' AFTER `frozen_money`, ADD COLUMN `underling_number` VARCHAR(45) NULL COMMENT '分销下线人数' AFTER `distribut_money`, ADD COLUMN `total_amount` DECIMAL(10,2) NULL COMMENT '累积消费金额' AFTER `underling_number`, ADD COLUMN `is_distribut` INT NULL COMMENT '是否是分销商' AFTER `total_amount`, ADD COLUMN `distribut_level` INT NULL COMMENT '分销等级' AFTER `is_distribut`, ADD COLUMN `first_leader` INT NULL COMMENT '一级' AFTER `distribut_level`, ADD COLUMN `second_leader` INT NULL COMMENT '二级' AFTER `first_leader`, ADD COLUMN `third_leader` INT NULL COMMENT '三级' AFTER `second_leader`, ADD COLUMN `message_mask` VARCHAR(100) NULL COMMENT '消息掩码' AFTER `third_leader`, ADD COLUMN `push_id` VARCHAR(45) NULL COMMENT '推送id ' AFTER `message_mask`, ADD COLUMN `is_vip` INT NULL COMMENT '是否是vip' AFTER `push_id`; ALTER TABLE `yj_order_sku` ADD COLUMN `prom_id` INT NULL AFTER `shop_id`, ADD COLUMN `prom_type` INT NULL AFTER `prom_id`, CHANGE COLUMN `shop_id` `shop_id` INT(11) NULL DEFAULT '1' COMMENT '店铺id' ; alter table yj_product ADD COLUMN `prom_id` INT NULL AFTER `shop_id`, ADD COLUMN `prom_type` INT NULL AFTER `prom_id`; CREATE TABLE IF NOT EXISTS `yj_member_distribution` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `user_id` int(11) DEFAULT NULL COMMENT '分销会员id', `user_name` varchar(50) DEFAULT NULL COMMENT '会员昵称', `goods_id` int(11) DEFAULT NULL COMMENT '商品id', `goods_name` varchar(150) DEFAULT NULL COMMENT '商品名称', `cat_id` smallint(6) DEFAULT '0' COMMENT '商品分类ID', `brand_id` mediumint(8) DEFAULT '0' COMMENT '商品品牌', `share_num` int(10) DEFAULT '0' COMMENT '分享次数', `sales_num` int(11) DEFAULT '0' COMMENT '分销销量', `addtime` int(11) DEFAULT NULL COMMENT '加入个人分销库时间', PRIMARY KEY (`id`), KEY `goods_id` (`goods_id`), KEY `user_id` (`user_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='用户选择分销商品表' AUTO_INCREMENT=1 ; CREATE TABLE IF NOT EXISTS `yj_member_extend` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `user_id` int(11) unsigned DEFAULT '0', `invoice_title` varchar(200) CHARACTER SET utf8 DEFAULT NULL COMMENT '发票抬头', `taxpayer` varchar(100) CHARACTER SET utf8 DEFAULT NULL COMMENT '纳税人识别号', `invoice_desc` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT '不开发票/明细', `realname` varchar(100) CHARACTER SET utf8 DEFAULT NULL COMMENT '真实姓名', `idcard` varchar(100) CHARACTER SET utf8 DEFAULT NULL COMMENT '身份证号', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; drop table yj_order_log; CREATE TABLE IF NOT EXISTS `yj_order_log` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `order_id` int(11) unsigned NOT NULL COMMENT '订单id', `action_user` int(11) DEFAULT NULL COMMENT '操作人', `order_status` int(11) NOT NULL DEFAULT '0' COMMENT '订单状态 ', `shipping_status` int(11) NOT NULL DEFAULT '0' COMMENT '配送状态', `pay_status` int(11) NOT NULL DEFAULT '0' COMMENT '支付状态 ', `action_note` varchar(255) NOT NULL COMMENT '操作备注', `create_time` int(11) DEFAULT NULL COMMENT '记录时间', `status_desc` varchar(45) DEFAULT NULL COMMENT '状态描述', PRIMARY KEY (`id`), KEY `order_id` (`order_id`) USING BTREE ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='订单日志表' AUTO_INCREMENT=1 ; CREATE TABLE IF NOT EXISTS `yj_delivery_doc` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '发货单ID', `order_id` int(11) unsigned NOT NULL COMMENT '订单ID', `order_sn` varchar(64) NOT NULL DEFAULT '' COMMENT '订单编号', `user_id` int(11) unsigned NOT NULL COMMENT '用户ID', `admin_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '管理员ID', `consignee` varchar(64) NOT NULL DEFAULT '' COMMENT '收货人', `zipcode` varchar(6) DEFAULT NULL COMMENT '邮编', `mobile` varchar(20) NOT NULL DEFAULT '' COMMENT '联系手机', `country` int(11) unsigned NOT NULL COMMENT '国ID', `province` int(11) unsigned NOT NULL COMMENT '省ID', `city` int(11) unsigned NOT NULL COMMENT '市ID', `district` int(11) unsigned NOT NULL COMMENT '区ID', `address` varchar(255) NOT NULL DEFAULT '' COMMENT '地址', `shipping_code` varchar(32) DEFAULT NULL COMMENT '物流code', `shipping_name` varchar(64) DEFAULT NULL COMMENT '快递名称', `shipping_price` decimal(10,2) DEFAULT '0.00' COMMENT '运费', `invoice_no` varchar(255) NOT NULL DEFAULT '' COMMENT '物流单号', `tel` varchar(64) DEFAULT NULL COMMENT '座机电话', `note` text COMMENT '管理员添加的备注信息', `best_time` int(11) DEFAULT NULL COMMENT '友好收货时间', `create_time` int(11) NOT NULL COMMENT '创建时间', `is_del` tinyint(1) DEFAULT '0' COMMENT '是否删除', `send_type` tinyint(1) DEFAULT '0' COMMENT '发货方式0自填快递1在线预约2电子面单3无需物流', PRIMARY KEY (`id`), KEY `order_id` (`order_id`), KEY `user_id` (`user_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='发货单' AUTO_INCREMENT=1 ; CREATE TABLE IF NOT EXISTS `yj_flash_sale` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `title` varchar(200) NOT NULL DEFAULT '' COMMENT '活动标题', `goods_id` int(10) NOT NULL COMMENT '参团商品ID', `sku_id` varchar(255) DEFAULT NULL, `price` decimal(10,2) DEFAULT NULL COMMENT '活动价格', `goods_num` int(10) DEFAULT NULL COMMENT '商品参加活动数', `buy_limit` int(11) DEFAULT '0' COMMENT '每人限购数', `buy_num` int(11) DEFAULT '0' COMMENT '已购买人数', `order_num` int(10) DEFAULT '0' COMMENT '已下单数', `description` text COMMENT '活动描述', `start_time` int(11) DEFAULT NULL COMMENT '开始时间', `end_time` int(11) DEFAULT NULL COMMENT '结束时间', `status` tinyint(1) DEFAULT '1' COMMENT '状态:0禁用1启用', `goods_name` varchar(255) DEFAULT NULL COMMENT '商品名称', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;